:root{color-scheme:dark;--bg:#050505;--panel:#0d0d0f;--line:rgba(255,255,255,.11);--muted:#8d8d93;--text:#f5f5f7;--blue:#2997ff;--purple:#bf5af2;--green:#30d158;--yellow:#ffd60a;--red:#ff453a;font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","Segoe UI",sans-serif}*{box-sizing:border-box}html{background:var(--bg)}body{margin:0;min-width:1120px;background:radial-gradient(circle at 50% -20%,#25252a 0,transparent 36%),var(--bg);color:var(--text);min-height:100vh}button,input,select{font:inherit}button,a{transition:.25s ease}a{color:inherit}.ambient{position:fixed;border-radius:50%;filter:blur(120px);pointer-events:none;opacity:.2}.ambient-one{width:520px;height:520px;background:#16498f;right:-180px;top:-210px}.ambient-two{width:420px;height:420px;background:#5d176b;left:-240px;bottom:-180px}.auth-shell{position:relative;z-index:1;display:grid;grid-template-columns:1.25fr .75fr;gap:96px;align-items:center;width:min(1280px,calc(100% - 120px));min-height:calc(100vh - 64px);margin:auto}.hero h1{font-size:clamp(64px,6.6vw,104px);letter-spacing:-.065em;line-height:.92;margin:26px 0}.hero h1 span{background:linear-gradient(90deg,#fff 10%,#8abfff 58%,#c89bff);-webkit-background-clip:text;color:transparent}.hero>p{font-size:21px;line-height:1.55;color:#a1a1a6;max-width:650px}.brand-mark,.wordmark i{display:grid;place-items:center;background:linear-gradient(145deg,#fff,#8dbdff);color:#050505;font-weight:800}.brand-mark{width:42px;height:42px;border-radius:13px;margin-bottom:26px}.eyebrow{font-size:11px;font-weight:700;letter-spacing:.2em;color:#7eb9ff}.hero-metrics{display:flex;gap:58px;margin-top:64px}.hero-metrics div{display:grid;gap:6px}.hero-metrics b{font-size:30px;letter-spacing:-.04em}.hero-metrics span{font-size:12px;color:var(--muted)}.glass{background:linear-gradient(160deg,rgba(24,24,27,.88),rgba(10,10,12,.96));border:1px solid var(--line);box-shadow:0 30px 100px rgba(0,0,0,.45);backdrop-filter:blur(24px)}.auth-card{border-radius:30px;padding:34px}.auth-card h2,.composer h1{font-size:36px;letter-spacing:-.04em;margin:10px 0}.auth-card>div>p,.composer>p,.section-head p{color:var(--muted);margin:0 0 28px;line-height:1.6}.tabs{display:flex;padding:4px;background:#050505;border-radius:12px;margin-bottom:40px}.tabs button{flex:1;border:0;background:transparent;color:var(--muted);padding:10px;border-radius:9px;cursor:pointer}.tabs button.active{background:#1d1d20;color:#fff}form{display:grid;gap:18px}label,legend{font-size:12px;color:#aaaab0;font-weight:600;letter-spacing:.02em}input,select{display:block;width:100%;margin-top:8px;padding:14px 15px;border:1px solid var(--line);border-radius:12px;background:#09090a;color:#fff;outline:none}input:focus,select:focus{border-color:#5faeff;box-shadow:0 0 0 3px rgba(41,151,255,.12)}.primary{border:0;border-radius:12px;padding:15px 18px;background:#f5f5f7;color:#080808;font-weight:700;cursor:pointer}.primary:hover{background:#cde4ff;transform:translateY(-1px)}button:disabled{opacity:.45;cursor:not-allowed}.form-message{min-height:20px;margin:0;color:#ffb6b1;font-size:12px;line-height:1.5}footer{height:64px;display:flex;align-items:center;justify-content:center;color:#666;font-size:12px}footer a{margin-left:6px;text-decoration:none}.topbar{height:72px;padding:0 38px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;background:rgba(5,5,5,.82);backdrop-filter:blur(24px);z-index:10}.wordmark{display:flex;align-items:center;gap:12px;text-decoration:none;font-weight:650;letter-spacing:-.02em}.wordmark i{width:30px;height:30px;border-radius:9px;font-style:normal}.account{display:flex;gap:15px;align-items:center;color:var(--muted);font-size:12px}.ghost{border:1px solid var(--line);background:#0c0c0e;color:#e8e8ed;border-radius:10px;padding:9px 13px;cursor:pointer}.ghost:hover{border-color:#555;background:#171719}.link-button{text-decoration:none}.workspace{display:grid;grid-template-columns:360px minmax(700px,1fr);gap:28px;padding:34px 38px;max-width:1600px;margin:auto}.composer{border-radius:24px;padding:28px;align-self:start;position:sticky;top:106px}.composer h1{font-size:30px}.composer fieldset{border:0;padding:0;margin:0;display:grid;grid-template-columns:1fr 1fr;gap:10px}.composer legend{margin-bottom:9px}.check{position:relative}.check input{position:absolute;opacity:0}.check span{display:block;border:1px solid var(--line);padding:12px;border-radius:11px;color:var(--muted);cursor:pointer;text-align:center}.check input:checked+span{border-color:#448ee9;background:rgba(41,151,255,.12);color:#fff}.dropzone{border:1px dashed #3a3a3f;border-radius:14px;padding:16px}.dropzone input{padding:0;border:0;background:none;font-size:12px}.dropzone span{display:block;margin-top:8px;color:#666;font-weight:400}.mission-panel{min-width:0}.section-head{display:flex;justify-content:space-between;align-items:end;margin:10px 0 24px}.section-head h1,.section-head h2{font-size:38px;letter-spacing:-.045em;margin:8px 0 4px}.section-head h2{font-size:34px}.table-shell{border:1px solid var(--line);border-radius:20px;overflow:auto;background:#09090a;min-height:560px}.task-table{border-collapse:collapse;width:100%;table-layout:fixed}.task-table th{font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:#6e6e73;text-align:left;padding:14px 18px;border-bottom:1px solid var(--line)}.task-table td{padding:16px 18px;border-bottom:1px solid rgba(255,255,255,.07);font-size:13px;color:#c7c7cc;vertical-align:middle}.task-table tr:hover td{background:rgba(255,255,255,.022)}.task-table th:nth-child(1){width:28%}.task-table th:nth-child(2){width:16%}.task-table th:nth-child(3){width:14%}.task-table th:nth-child(4){width:28%}.task-table th:nth-child(5){width:14%}.task-table small{display:block;color:#666;margin-top:6px}.mono{font-family:"SFMono-Regular",Consolas,monospace;letter-spacing:.03em}.status{display:inline-flex;align-items:center;gap:8px}.status i{width:7px;height:7px;border-radius:50%;background:#777}.status.queued i{background:var(--yellow)}.status.running i{background:var(--blue);box-shadow:0 0 12px var(--blue)}.status.done i{background:var(--green)}.status.failed i{background:var(--red)}.reason{color:#87878d!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.table-link{color:#77b9ff;text-decoration:none}.empty{text-align:center!important;color:#666!important;padding:80px 20px!important}.empty.error{color:#ff8b84!important}.report-shell{padding:28px 38px 48px;max-width:1680px;margin:auto}.report-frame{width:100%;height:calc(100vh - 210px);min-height:650px;border:1px solid var(--line);border-radius:18px;background:#fff}.report-loader{height:500px;border:1px solid var(--line);border-radius:20px;display:flex;align-items:center;justify-content:center;gap:14px;color:var(--muted)}.report-loader i{width:10px;height:10px;border-radius:50%;background:var(--blue);box-shadow:0 0 18px var(--blue);animation:pulse 1.2s infinite}@keyframes pulse{50%{opacity:.25;transform:scale(.7)}}@media(max-width:1250px){body{min-width:980px}.auth-shell{gap:50px;width:calc(100% - 70px)}.workspace{grid-template-columns:330px minmax(620px,1fr);padding:28px}.hero h1{font-size:68px}}
.report-actions{display:flex;align-items:center;gap:12px}.report-actions span{min-width:150px;color:var(--muted);font-size:12px;text-align:right}
.task-table{min-width:980px}.task-table th:nth-child(1){width:25%}.task-table th:nth-child(2){width:14%}.task-table th:nth-child(3){width:11%}.task-table th:nth-child(4){width:21%}.task-table th:nth-child(5){width:19%}.task-table th:nth-child(6){width:10%}.task-usage-list{display:grid;gap:8px}.task-usage-item span{display:block;color:#d7d7dc;line-height:1.4}.task-usage-item small{margin-top:3px;color:#777}.usage-pending{color:#777;font-size:12px}
.system-alert-shell{min-height:0;margin:0 0 28px;border-color:rgba(255,69,58,.3)}.system-alert-table{min-width:680px}.system-alert-table th:nth-child(1){width:14%}.system-alert-table th:nth-child(2){width:66%}.system-alert-table th:nth-child(3){width:20%}.system-alert-table strong{display:block;color:#f5f5f7}.system-alert-table small{line-height:1.5}

.report-workspace{display:grid;grid-template-columns:296px minmax(0,1fr);min-height:calc(100vh - 72px)}.report-sidebar{position:sticky;top:72px;height:calc(100vh - 72px);overflow-y:auto;padding:28px 18px 32px;border-right:1px solid var(--line);background:rgba(7,7,8,.94)}.report-product-card{display:grid;gap:7px;margin:0 4px 30px;padding:18px;border:1px solid var(--line);border-radius:16px;background:linear-gradient(150deg,#17171a,#0b0b0d)}.report-product-card span,.report-product-card small{color:var(--muted);font-size:11px}.report-product-card strong{overflow:hidden;color:#f5f5f7;font-size:16px;line-height:1.4;text-overflow:ellipsis;white-space:nowrap}.report-product-card small{line-height:1.45}.report-nav-label{margin:0 12px 10px;color:#66666c;font-size:11px;letter-spacing:.08em}.report-module-nav{display:grid;gap:4px}.report-module-button{display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;width:100%;min-height:46px;padding:9px 12px;border:0;border-radius:12px;background:transparent;color:#98989f;text-align:left;cursor:pointer}.report-module-button:hover{background:#151517;color:#e8e8ed}.report-module-button:focus-visible{outline:2px solid #5faeff;outline-offset:2px}.report-module-button.active{background:#f2f2f4;color:#09090a;box-shadow:0 8px 24px rgba(0,0,0,.28)}.module-number{color:#ff8f87;font-family:"SFMono-Regular",Consolas,monospace;font-size:12px;font-weight:800}.module-name{overflow:hidden;font-size:13px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.module-count{min-width:25px;padding:3px 7px;border-radius:999px;background:#d9d9dc;color:#303033;font-size:10px;font-weight:750;text-align:center}.report-module-button.active .module-count{background:#242426;color:#fff}.report-workspace .report-shell{width:100%;max-width:none;min-width:0;margin:0;padding:28px 38px 48px}.report-module-stage{overflow:hidden}.report-module-panel[hidden]{display:none}.module-breadcrumb{margin:4px 0 14px;color:#6e6e73;font-size:12px}.report-module-empty{display:grid;place-items:center;align-content:center;min-height:520px;padding:48px 24px;border:1px solid var(--line);border-radius:20px;background:linear-gradient(145deg,rgba(18,18,21,.82),rgba(8,8,10,.96));text-align:center}.report-module-empty>span{display:grid;place-items:center;width:54px;height:54px;margin-bottom:20px;border:1px solid rgba(255,143,135,.35);border-radius:17px;background:rgba(255,143,135,.08);color:#ff8f87;font-family:"SFMono-Regular",Consolas,monospace;font-weight:800}.report-module-empty h2{margin:0 0 10px;font-size:25px;letter-spacing:-.03em}.report-module-empty p{margin:0 0 8px;color:#aaaab0}.report-module-empty small{color:#66666c}.report-workspace .report-frame{display:block}.report-workspace .report-frame[hidden]{display:none}

.profile-button{display:grid;gap:2px;max-width:260px;padding:5px 8px;border:0;border-radius:9px;background:transparent;color:inherit;text-align:right;cursor:pointer}.profile-button:hover{background:#171719}.profile-button span,.profile-button small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-button span{color:#f5f5f7;font-weight:650}.profile-button small{color:var(--muted);font-size:10px}.profile-dialog{width:min(440px,calc(100% - 32px));padding:0;border:1px solid var(--line);border-radius:24px;background:linear-gradient(160deg,#18181b,#0a0a0c);color:var(--text);box-shadow:0 30px 100px rgba(0,0,0,.75)}.profile-dialog::backdrop{background:rgba(0,0,0,.72);backdrop-filter:blur(10px)}.profile-dialog form{padding:28px}.profile-dialog h2{margin:9px 0 6px;font-size:28px;letter-spacing:-.035em}.profile-dialog p{margin:0;color:var(--muted);line-height:1.55}.profile-dialog .form-message{color:#ffb6b1}.dialog-actions{display:flex;justify-content:flex-end;gap:10px}

.access-notice{margin:16px 0 0;color:#777;font-size:11px;line-height:1.55}.access-shell{display:grid;place-items:center;min-height:calc(100vh - 136px);padding:40px 20px}.access-card{width:min(620px,100%);padding:44px;border-radius:28px;text-align:center}.access-card h1{margin:18px 0 12px;font-size:40px;letter-spacing:-.045em}.access-card>p{color:var(--muted);line-height:1.7}.access-card>.access-state{display:inline-flex;margin-top:22px}.access-rules{display:grid;gap:8px;margin:28px 0;padding:20px;border:1px solid var(--line);border-radius:16px;background:#09090a;text-align:left}.access-rules p{margin:0;color:#aaaab0;font-size:13px}.access-state{display:inline-flex;padding:5px 9px;border-radius:999px;background:#242428;color:#d7d7dc;font-size:11px;font-weight:750}.access-state[data-status="active"]{background:rgba(48,209,88,.12);color:#73e28c}.access-state[data-status="pending"]{background:rgba(255,214,10,.11);color:#ffe052}.access-state[data-status="suspended"],.access-state[data-status="offboarded"],.access-state[data-status="error"]{background:rgba(255,69,58,.12);color:#ff8b84}
.admin-workspace{width:min(1720px,calc(100% - 76px));margin:auto;padding:34px 0 60px}.admin-panel{margin-top:34px;padding:26px;border:1px solid var(--line);border-radius:22px;background:#0a0a0c}.admin-table-shell{min-height:0}.admin-member-table{min-width:1500px}.admin-member-table th:nth-child(1){width:14%}.admin-member-table th:nth-child(2){width:8%}.admin-member-table th:nth-child(3){width:20%}.admin-member-table th:nth-child(4){width:42%}.admin-member-table th:nth-child(5){width:16%}.admin-member-table strong,.admin-grant-table strong{display:block;color:#f5f5f7}.member-organization{display:grid;gap:9px}.member-organization select{margin-top:5px;padding:9px}.admin-module-grid{display:grid;grid-template-columns:repeat(3,minmax(130px,1fr));gap:8px;margin:0;padding:0;border:0}.admin-module-grid legend{grid-column:1/-1;margin-bottom:4px}.admin-module-grid label{display:flex;align-items:center;gap:7px;color:#aaaab0;font-weight:500}.admin-module-grid input{width:auto;margin:0;accent-color:var(--blue)}.admin-module-grid .admin-module-all{grid-column:1/-1;color:#fff;font-weight:750}.permission-warning{display:block;margin-top:14px!important;color:#ffcf4a!important}.permission-banner{margin:-8px 0 20px;padding:14px 16px;border:1px solid rgba(255,214,10,.28);border-radius:12px;background:rgba(255,214,10,.06);color:#ffe052;font-size:13px;line-height:1.55}.admin-actions{display:grid;gap:8px}.compact{padding:8px 10px;font-size:11px}.danger{border:1px solid rgba(255,69,58,.35);border-radius:10px;background:rgba(255,69,58,.08);color:#ff8b84;cursor:pointer}.danger:hover{background:rgba(255,69,58,.16)}.directory-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.directory-grid h3{margin:0 0 14px;font-size:20px}.directory-form{display:grid;grid-template-columns:1fr auto;align-items:end;gap:10px;margin-bottom:14px}.directory-grid section:last-child .directory-form{grid-template-columns:1fr 110px auto}.directory-form .primary{height:48px}.directory-table-shell{min-height:0;max-height:360px}.directory-table{min-width:520px}.directory-table input{margin:0;padding:9px}.inline-check{display:flex;align-items:center;gap:7px}.inline-check input{width:auto;margin:0}.grant-form{display:grid;grid-template-columns:1fr 1fr auto;align-items:end;gap:14px;margin-bottom:20px}.grant-form .primary{height:48px}.admin-grant-table{min-width:900px}.admin-grant-table th:nth-child(1){width:35%}.admin-grant-table th:nth-child(2){width:30%}.admin-grant-table th:nth-child(3){width:20%}.admin-grant-table th:nth-child(4){width:15%}.report-module-button{text-decoration:none}.module-page .report-shell{max-width:none;width:100%;min-width:0;margin:0}.module-page .report-module-empty{min-height:calc(100vh - 240px)}

.admin-alert-link{display:inline-flex;align-items:center;gap:7px}.admin-alert-link.has-pending{border-color:rgba(255,69,58,.5)}.pending-count,.heading-pending-count{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:var(--red);color:#fff;font-weight:800}.pending-count{min-width:19px;height:19px;padding:0 5px;font-size:10px}.heading-pending-count{margin-left:10px;padding:5px 9px;vertical-align:middle;font-size:11px;letter-spacing:0}

@media(max-width:720px){
  body{min-width:0;overflow-x:hidden}
  .topbar{height:64px;padding:0 16px}
  .wordmark span{display:none}
  .account{gap:8px;min-width:0}
  .profile-button{max-width:150px}
  .profile-button small{display:none}
  footer{height:auto;min-height:56px;padding:16px;text-align:center}

  .auth-shell{display:flex;flex-direction:column;width:100%;min-height:auto;padding:18px 16px 8px;gap:24px;align-items:center}
  .auth-card{order:-1;width:100%;max-width:480px;padding:24px;border-radius:22px}
  .auth-card h2{font-size:30px}
  .tabs{margin-bottom:24px}
  .hero{width:100%;max-width:480px}
  .hero h1{font-size:38px;line-height:1;margin:18px 0}
  .hero>p,.hero-metrics{display:none}
  .brand-mark{margin-bottom:18px}

  .workspace{display:block;width:100%;padding:16px}
  .composer{position:static;width:100%;padding:20px;border-radius:20px}
  .composer h1{font-size:28px}
  .mission-panel{width:100%;min-width:0;margin-top:32px}
  .section-head{align-items:flex-start;gap:12px;flex-wrap:wrap}
  .section-head h1,.section-head h2{font-size:30px}
  .table-shell{width:100%;min-height:440px;overflow-x:auto;-webkit-overflow-scrolling:touch}

  .report-shell{width:100%;padding:16px 12px 32px}
  .report-page .section-head{display:block}
  .report-actions{width:100%;margin-top:16px;align-items:stretch;flex-direction:column}
  .report-actions span{min-width:0;text-align:left}
  .report-frame{width:100%;height:calc(100vh - 190px);min-height:520px}
  .report-workspace{display:block;min-height:calc(100vh - 64px)}
  .report-sidebar{position:sticky;z-index:9;top:64px;height:auto;overflow:hidden;padding:9px 12px;border-right:0;border-bottom:1px solid var(--line);background:rgba(5,5,5,.94);backdrop-filter:blur(20px)}
  .report-product-card,.report-nav-label{display:none}
  .report-module-nav{display:flex;gap:6px;overflow-x:auto;padding:1px 0 5px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .report-module-nav::-webkit-scrollbar{display:none}
  .report-module-button{display:flex;flex:0 0 auto;width:auto;min-height:40px;padding:8px 11px;gap:6px;border:1px solid var(--line);border-radius:999px;background:#0c0c0e}
  .report-module-button .module-name{max-width:190px;font-size:12px}
  .report-module-button.active{border-color:#f2f2f4;background:#f2f2f4}
  .module-count{margin-left:2px}
  .report-workspace .report-shell{padding:18px 12px 32px}
  .module-breadcrumb{margin-top:0}
  .report-module-empty{min-height:420px;padding:36px 18px}
  .report-module-empty h2{font-size:22px}
  .report-workspace .report-frame{height:calc(100vh - 260px);min-height:520px;border-radius:14px}
  .access-card{padding:28px 20px}.access-card h1{font-size:31px}.admin-workspace{width:100%;padding:20px 12px 40px}.admin-panel{padding:16px}.grant-form,.directory-grid,.directory-form,.directory-grid section:last-child .directory-form{grid-template-columns:1fr}.admin-module-grid{grid-template-columns:1fr 1fr}
}

/* SYSC Airtable-inspired skin. See ../DESIGN.md. */
:root{
  color-scheme:light;
  --bg:#fff;
  --panel:#fff;
  --surface-soft:#f8fafc;
  --surface-strong:#e0e2e6;
  --text:#181d26;
  --body-copy:#333840;
  --muted:#41454d;
  --line:#ddd;
  --line-strong:#9297a0;
  --blue:#1b61c9;
  --link:#1b61c9;
  --focus:#458fff;
  --purple:#5f42c6;
  --green:#006400;
  --yellow:#a96600;
  --red:#b42318;
  --signature-coral:#aa2d00;
  --signature-forest:#0a2e0e;
  --signature-cream:#f5e9d4;
  --signature-peach:#fcab79;
  --signature-mint:#a8d8c4;
  --signature-yellow:#f4d35e;
  --radius-control:6px;
  --radius-card:10px;
  --radius-major:12px;
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

html,
body{background:var(--bg);color:var(--text)}
body{background-image:none}
button,
a{transition:background-color .15s ease,border-color .15s ease,color .15s ease,box-shadow .15s ease}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
.ambient{display:none}

.auth-shell{grid-template-columns:minmax(0,1.1fr) minmax(360px,.7fr);gap:96px;width:min(1280px,calc(100% - 96px))}
.hero h1{font-size:clamp(48px,5vw,72px);font-weight:400;letter-spacing:-.045em;line-height:1.05}
.hero h1 span{background:none;color:var(--signature-forest);-webkit-background-clip:border-box}
.hero>p{color:var(--body-copy);font-size:18px}
.brand-mark,
.wordmark i{background:var(--text);color:#fff;font-weight:600}
.brand-mark{border-radius:var(--radius-control)}
.eyebrow{color:var(--blue);font-weight:500;letter-spacing:.15em}
.hero-metrics{gap:48px;margin-top:48px}
.hero-metrics b{font-weight:500}

.glass,
.auth-card,
.composer,
.access-card{background:var(--panel);border:1px solid var(--line);box-shadow:none;backdrop-filter:none}
.auth-card{border-radius:var(--radius-major);padding:32px}
.auth-card h2,
.composer h1{font-weight:500;letter-spacing:-.025em}
.auth-card>div>p,
.composer>p,
.section-head p{color:var(--muted)}
.tabs{background:var(--surface-soft);border:1px solid var(--line);border-radius:var(--radius-card);margin-bottom:32px}
.tabs button{color:var(--muted)}
.tabs button.active{background:var(--text);color:#fff}
label,
legend{color:var(--body-copy);font-weight:500}
input,
select{min-height:44px;border-color:var(--line);border-radius:var(--radius-control);background:var(--panel);color:var(--text)}
input:focus,
select:focus{border-color:var(--focus);box-shadow:0 0 0 3px rgba(69,143,255,.16)}
.primary{min-height:44px;background:var(--text);color:#fff;font-weight:500}
.primary:hover{background:#0d1218;transform:none}
.ghost{min-height:44px;border-color:var(--line);background:var(--panel);color:var(--text);font-weight:500}
.ghost:hover{border-color:var(--line-strong);background:var(--surface-soft)}
.form-message{color:var(--red)}
footer{color:var(--muted)}
footer a{color:var(--link,var(--blue))}

.topbar{height:64px;padding:0 32px;background:var(--panel);backdrop-filter:none}
.wordmark{font-weight:500}
.wordmark i{border-radius:var(--radius-control)}
.account{color:var(--muted)}
.profile-button:hover{background:var(--surface-soft)}
.profile-button span{color:var(--text);font-weight:500}

.workspace{grid-template-columns:344px minmax(700px,1fr);gap:24px;padding:32px;max-width:1600px}
.composer{top:96px;border-radius:var(--radius-major);padding:24px}
.composer h1{font-size:28px}
.check span{border-radius:var(--radius-control)}
.check input:checked+span{border-color:var(--focus);background:#edf5ff;color:var(--text)}
.dropzone{border-color:var(--line-strong);border-radius:var(--radius-card);background:var(--surface-soft)}
.dropzone span{color:var(--muted)}
.section-head{margin:8px 0 24px}
.section-head h1,
.section-head h2{font-weight:400;letter-spacing:-.025em}
.section-head h2{font-size:32px}

.table-shell{border-radius:var(--radius-card);background:var(--panel)}
.task-table th{background:var(--surface-soft);color:var(--muted);font-weight:500}
.task-table td{border-bottom-color:var(--line);color:var(--body-copy)}
.task-table tr:hover td{background:var(--surface-soft)}
.task-table small,
.reason,
.task-usage-item small,
.usage-pending{color:var(--muted)!important}
.task-usage-item span{color:var(--body-copy)}
.table-link{color:var(--blue)}
.empty{color:var(--muted)!important}
.empty.error{color:var(--red)!important}
.status.running i{box-shadow:none}
.system-alert-shell{border-color:#e8b4af}
.system-alert-table strong{color:var(--text)}

.report-shell{padding:32px;max-width:1680px}
.report-frame{border-radius:var(--radius-card)}
.report-loader{width:fit-content;max-width:100%;height:auto;min-height:44px;padding:10px 14px;justify-content:flex-start;border-radius:var(--radius-control);background:var(--surface-soft)}
.report-workspace .report-loader[hidden]{display:none}
.report-loader i{box-shadow:none}
.report-workspace{grid-template-columns:272px minmax(0,1fr);min-height:calc(100vh - 64px)}
.report-sidebar{top:64px;height:calc(100vh - 64px);padding:24px 16px;background:var(--panel)}
.report-product-card{border-radius:var(--radius-card);background:var(--signature-cream)}
.report-product-card strong{color:var(--text);font-weight:500}
.report-product-card span,
.report-product-card small,
.report-nav-label,
.module-breadcrumb{color:var(--muted)}
.report-module-button{border-radius:var(--radius-control);color:var(--muted)}
.report-module-button:hover{background:var(--surface-soft);color:var(--text)}
.report-module-button:focus-visible{outline-color:var(--focus)}
.report-module-button.active{background:var(--text);color:#fff;box-shadow:none}
.module-number{color:var(--signature-coral);font-weight:600}
.report-module-button.active .module-number{color:var(--signature-peach)}
.module-count{background:var(--surface-strong);color:var(--body-copy)}
.report-module-button.active .module-count{background:#fff;color:var(--text)}
.report-module-empty{border-radius:var(--radius-card);background:var(--surface-soft)}
.report-module-empty>span{border-color:#d99a83;background:#fff4ef;color:var(--signature-coral)}
.report-module-empty p{color:var(--body-copy)}
.report-module-empty small{color:var(--muted)}

.profile-dialog{border-radius:var(--radius-major);background:var(--panel);color:var(--text);box-shadow:0 24px 64px rgba(24,29,38,.2)}
.profile-dialog::backdrop{background:rgba(24,29,38,.45);backdrop-filter:none}
.profile-dialog .form-message{color:var(--red)}
.access-notice{color:var(--muted)}
.access-card{border-radius:var(--radius-major)}
.access-rules{border-radius:var(--radius-card);background:var(--surface-soft)}
.access-rules p{color:var(--body-copy)}
.access-state{background:var(--surface-strong);color:var(--body-copy)}
.access-state[data-status="active"]{background:#e8f4e8;color:#006400}
.access-state[data-status="pending"]{background:#fff3cf;color:#785000}
.access-state[data-status="suspended"],
.access-state[data-status="offboarded"],
.access-state[data-status="error"]{background:#fde8e7;color:#9b1c16}

.admin-panel{border-radius:var(--radius-major);background:var(--panel)}
.admin-member-table strong,
.admin-grant-table strong{color:var(--text)}
.admin-module-grid label{color:var(--body-copy)}
.admin-module-grid .admin-module-all{color:var(--text);font-weight:600}
.permission-warning{color:#785000!important}
.permission-banner{border-color:#e0c16c;background:#fff9e8;color:#6e4a00}
.danger{border-color:#d99a95;background:#fff;color:#9b1c16}
.danger:hover{background:#fde8e7}

@media(max-width:1250px){
  .workspace{grid-template-columns:320px minmax(620px,1fr);padding:24px}
}

@media(max-width:720px){
  .auth-card,
  .composer{border-radius:var(--radius-major)}
  .report-sidebar{background:var(--panel);backdrop-filter:none}
  .report-module-button{background:var(--panel)}
  .report-module-button.active{border-color:var(--text);background:var(--text);color:#fff}
  .report-workspace .report-frame{border-radius:var(--radius-card)}
}

.composer-help{margin:14px 0 18px;padding:12px 14px;border:1px solid var(--line);border-radius:var(--radius-control);background:var(--surface-soft);color:var(--muted);font-size:13px;line-height:1.55}
.composer-help a{color:var(--blue);font-weight:600;text-decoration:none}

/* Space-black atmosphere with Airtable typography and controls. */
body.auth-page{min-width:0;background:#050607;color:#f7f7f5;overflow-x:hidden}
.mission-sky{position:fixed;inset:0;z-index:0;width:100%;height:100%;pointer-events:none}
.skip-link{position:fixed;z-index:20;top:12px;left:12px;padding:10px 14px;border-radius:var(--radius-control);background:#fff;color:var(--text);transform:translateY(-160%)}
.skip-link:focus{transform:translateY(0)}
.auth-page .auth-shell{position:relative;z-index:1;grid-template-columns:minmax(0,1.05fr) minmax(360px,456px);gap:96px;width:min(1248px,calc(100% - 96px));min-height:calc(100vh - 64px)}
.auth-hero{max-width:680px}
.auth-brand{display:flex;align-items:center;gap:12px;margin-bottom:80px;color:#fff;font-size:16px;font-weight:500;letter-spacing:-.01em}
.auth-brand .brand-mark{width:36px;height:36px;margin:0;border:1px solid rgba(255,255,255,.46);border-radius:var(--radius-control);background:#fff;color:#181d26}
.auth-page .eyebrow{color:#c8ccd2;font-weight:500;letter-spacing:.16em}
.auth-page .hero h1{margin:24px 0 28px;color:#fff;font-size:clamp(52px,5.7vw,82px);font-weight:400;letter-spacing:-.052em;line-height:1.02}
.auth-page .hero h1 span{color:#fff}
.auth-page .hero>p{margin:0;color:#c8ccd2;font-size:17px;letter-spacing:.01em}
.signal-list{display:flex;flex-wrap:wrap;gap:12px 28px;margin-top:64px;padding-top:20px;border-top:1px solid rgba(255,255,255,.2);color:#e5e7ea;font-size:12px}
.signal-list span{display:flex;align-items:center;gap:9px}
.signal-list i{width:5px;height:5px;border-radius:50%;background:#fff}
.auth-page .auth-card{width:100%;padding:32px;border:1px solid #ddd;border-radius:var(--radius-major);background:#fff;color:var(--text)}
.auth-page .auth-card .tabs{margin-bottom:36px;background:#f8fafc}
.auth-page .tabs button{min-height:44px;color:var(--muted);font-weight:500}
.auth-page .tabs button.active{background:#181d26;color:#fff}
.auth-card-heading h2{margin:10px 0 12px;font-size:36px;font-weight:500;letter-spacing:-.035em}
.auth-card-heading>p{margin:0 0 28px;color:var(--muted);line-height:1.6}
.auth-page .auth-card label{color:var(--body-copy)}
.auth-page .auth-card input{background:#fff;color:var(--text)}
.auth-page .auth-card .eyebrow{color:var(--link)}
.auth-page .auth-card .access-notice{padding-top:16px;border-top:1px solid var(--line)}
.auth-footer{position:relative;z-index:1;color:#8f949c}
.auth-footer a{color:#c8ccd2}
.welcome-wordmark{display:flex;align-items:center;gap:10px;width:max-content;min-height:44px;margin:0 auto 24px;color:var(--text);text-decoration:none}
.welcome-wordmark .brand-mark{width:32px;height:32px;margin:0;border-radius:var(--radius-control)}
.welcome-wordmark strong{font-size:14px;font-weight:500}

/* Shared Airtable navigation shell. */
.topbar-primary{display:flex;align-items:center;gap:32px;min-width:0}
.wordmark{min-height:44px}
.site-nav{display:flex;align-items:center;gap:4px}
.site-nav a{display:flex;align-items:center;min-height:44px;padding:0 12px;border-radius:var(--radius-control);color:var(--muted);font-size:13px;text-decoration:none}
.site-nav a[aria-current="page"]{background:var(--surface-soft);color:var(--text);font-weight:500}
.account-identity{display:grid;gap:2px;max-width:240px;text-align:right}
.account-identity strong,.account-identity small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.account-identity strong{color:var(--text);font-size:12px;font-weight:500}
.account-identity small{color:var(--muted);font-size:10px}

/* Airtable editorial module dashboard. */
.module-workspace{width:min(1120px,calc(100% - 64px));margin:0 auto;padding:72px 0 96px}
.workspace-intro{display:grid;grid-template-columns:220px minmax(0,1fr);gap:48px;margin-bottom:96px;padding-bottom:48px;border-bottom:1px solid var(--line)}
.workspace-intro h1{max-width:720px;margin:0 0 20px;font-size:clamp(44px,5.2vw,72px);font-weight:400;letter-spacing:-.052em;line-height:1.03}
.workspace-intro p{max-width:680px;margin:0;color:var(--body-copy);font-size:17px;line-height:1.7}
.module-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;margin-bottom:32px}
.module-section-head h2{margin:8px 0 0;font-size:36px;font-weight:400;letter-spacing:-.035em}
.module-section-head>p{max-width:380px;margin:0;color:var(--muted);font-size:13px;line-height:1.55;text-align:right}
.section-index,.module-sequence{font-size:11px;font-weight:500;letter-spacing:.03em}
.section-index{color:var(--muted)}
.module-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.module-card{display:flex;min-height:244px;flex-direction:column;padding:28px;border:0;border-radius:var(--radius-major);color:var(--text);text-decoration:none}
.module-card h3{margin:6px 0 12px;font-size:32px;font-weight:400;letter-spacing:-.038em;line-height:1.08}
.module-card p{max-width:430px;margin:0;font-size:14px;line-height:1.65}
.module-card-action{display:flex;align-items:flex-end;min-height:44px;margin-top:auto;padding-top:24px;font-size:13px;font-weight:500}
.module-card:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
.module-card:active{transform:translateY(1px)}
.module-coral{background:var(--signature-coral);color:#fff}
.module-forest{background:var(--signature-forest);color:#fff}
.module-cream{background:var(--signature-cream)}
.module-peach{background:var(--signature-peach)}
.module-mint{background:var(--signature-mint)}
.module-yellow{background:var(--signature-yellow)}
.module-stone{background:#eef0f2;color:#1d2025}
.module-card[data-access="locked"] .module-card-action{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
.workspace-permission-note{display:grid;grid-template-columns:180px minmax(0,1fr);gap:40px;margin-top:64px;padding:24px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.workspace-permission-note span{font-size:12px;font-weight:500}
.workspace-permission-note p{margin:0;color:var(--muted);font-size:13px;line-height:1.65}
.faq-workspace{width:min(1040px,calc(100% - 64px));margin:0 auto;padding:72px 0 96px}
.faq-intro{margin-bottom:56px}
.faq-section{margin-top:34px;padding-top:34px;border-top:1px solid var(--line)}
.faq-section h2{margin:8px 0 18px;font-size:34px;font-weight:400;letter-spacing:-.035em}
.faq-card,.faq-mini-card{border:1px solid var(--line);border-radius:var(--radius-major);background:var(--panel);box-shadow:0 14px 38px rgba(24,29,38,.06)}
.faq-card{margin-top:14px;padding:26px}
.faq-card h3,.faq-mini-card h3{margin:0 0 12px;font-size:20px;font-weight:600;letter-spacing:-.02em}
.faq-card ol,.faq-card ul{margin:0;padding-left:22px;color:var(--body-copy);line-height:1.72}
.faq-card li{margin-bottom:10px}
.faq-card p,.faq-mini-card p{margin:12px 0 0;color:var(--muted);line-height:1.65}
.faq-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.faq-mini-card{padding:22px}

@media(max-width:900px){
  .auth-page .auth-shell{gap:48px;width:calc(100% - 48px)}
  .auth-brand{margin-bottom:56px}
  .module-workspace{width:calc(100% - 48px);padding-top:56px}
  .workspace-intro{grid-template-columns:1fr;gap:20px}
}

@media(max-width:720px){
  .auth-page .auth-shell{display:flex;width:100%;min-height:auto;padding:16px;gap:40px}
  .auth-page .auth-card{order:-1;max-width:480px;padding:24px}
  .auth-card-heading h2{font-size:30px}
  .auth-hero{width:100%;max-width:480px;padding:16px 4px 32px}
  .auth-brand{margin-bottom:48px}
  .auth-page .hero h1{font-size:42px}
  .auth-page .hero>p{display:block;font-size:15px}
  .signal-list{margin-top:36px}
  .topbar-primary{gap:8px}
  .site-nav{display:none}
  .workspace-page .account-identity{display:none}
  .module-workspace{width:100%;padding:48px 16px 64px}
  .workspace-intro{margin-bottom:64px;padding-bottom:36px}
  .workspace-intro h1{font-size:42px}
  .workspace-intro p{font-size:15px}
  .module-section-head{display:block}
  .module-section-head>p{margin-top:12px;text-align:left}
  .module-grid{grid-template-columns:1fr;gap:16px}
  .module-card{min-height:220px;padding:24px}
  .module-card h3{font-size:30px}
  .workspace-permission-note{grid-template-columns:1fr;gap:8px;margin-top:48px}
  .faq-workspace{width:100%;padding:48px 16px 64px}
  .faq-section h2{font-size:30px}
  .faq-card{padding:20px}
  .faq-grid{grid-template-columns:1fr}
}

@media(prefers-reduced-motion:reduce){
  .mission-sky{opacity:.62}
  .module-card:active{transform:none}
}
