:root { color-scheme: dark; --bg: #141818; --text: #f2f6f5; --muted: #aebcba; --line: #3b4b48; --accent: #73dfba; }
* { box-sizing: border-box; letter-spacing: 0; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.5 Arial, sans-serif; }
a { color: var(--accent); text-underline-offset: 4px; }
header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; border-bottom: 1px solid var(--line); padding: 22px max(20px, calc((100% - 1120px)/2)); }
.brand { color: var(--text); font-size: 24px; font-weight: 700; text-decoration: none; }
main { width: min(400px, calc(100% - 40px)); margin: 60px auto; }
main.manage { width: min(1120px, calc(100% - 40px)); margin-top: 36px; }
h1 { font-size: 28px; line-height: 1.25; margin: 8px 0 28px; overflow-wrap: anywhere; }
h2 { font-size: 21px; margin: 36px 0 16px; }
p { color: var(--muted); overflow-wrap: anywhere; }
.eyebrow { margin: 0; font-size: 13px; text-transform: uppercase; font-weight: 700; color: var(--accent); }
label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.field { margin-bottom: 20px; min-width: 0; }
input, select, button { font: inherit; border-radius: 6px; min-height: 46px; }
input, select { width: 100%; background: #202827; border: 1px solid #687b77; padding: 10px 12px; color: var(--text); }
button { border: 1px solid transparent; cursor: pointer; padding: 10px 18px; background: var(--accent); color: #10231c; font-weight: 700; overflow-wrap: anywhere; }
button:disabled { opacity: .55; cursor: wait; }
button.secondary { border-color: var(--line); color: var(--text); background: transparent; }
button.danger { color: #ffc3c3; }
form > button { width: 100%; }
:focus-visible { outline: 3px solid #8cc9ff; outline-offset: 3px; }
.note { font-size: 14px; }
.status { min-height: 24px; color: #ffb4b4; margin: 16px 0; }
.status.success { color: var(--accent); }
.invite-form { display: grid; grid-template-columns: 1fr 1.25fr auto; gap: 16px; align-items: end; }
.invite-form .field { margin: 0; }
.invite-result { margin-top: 20px; border-left: 3px solid var(--accent); padding-left: 16px; }
.invite-result button { margin-top: 12px; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; text-align: left; }
th { font-size: 13px; color: var(--muted); }
th, td { border-bottom: 1px solid var(--line); padding: 14px 12px 14px 0; vertical-align: top; overflow-wrap: anywhere; }
td:last-child { min-width: 160px; }
.row-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.row-actions button { font-size: 13px; padding: 8px 10px; }
[hidden] { display: none !important; }
@media (max-width: 650px) { main { margin-top: 36px; } .invite-form { grid-template-columns: minmax(0, 1fr); } table { min-width: 580px; } }
