:root {
  color-scheme: dark;
  --bg: #080d0b; --surface: #0c1410; --surface-raised: #111d16;
  --text: #eef5f0; --muted: #96aaa0; --mint: #a8e8cd; --mint-strong: #7ad9b0;
  --amber: #f0cf82; --line: #263b30; --danger: #f7aaa0;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 "Segoe UI", system-ui, sans-serif; }
a { color: var(--mint); text-underline-offset: 4px; }
button, input, select { font: inherit; }
.site-header { min-height: 88px; max-width: 1440px; margin: auto; padding: 24px 48px; display: flex; gap: 24px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { text-decoration: none; color: var(--text); font-size: 19px; font-weight: 650; white-space: nowrap; }
.brand-star, .mini-star { color: var(--mint); text-shadow: 0 0 16px #7ad9b066; }
.brand-star { margin-right: 9px; font-size: 26px; }
.quiet, .field-hint { color: var(--muted); }
.brand .quiet { font-weight: 400; margin-left: 10px; }
nav { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
nav a, .nav-button { color: var(--muted); background: none; text-decoration: none; border: 0; cursor: pointer; padding: 0; }
nav a:hover, .nav-button:hover { color: var(--mint); }
nav .nav-accent { color: var(--mint); }
.inline { display: inline; margin: 0; }
.page { max-width: 1280px; margin: 0 auto; padding: 44px 32px 96px; min-height: 75vh; }
.workspace-strip { color: var(--muted); display: flex; align-items: center; gap: 12px; margin-bottom: 48px; font-size: 14px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px #7ad9b0aa; }
.role-tag, .warning-badge { display: inline-block; font-size: 12px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--mint); white-space: nowrap; }
.warning-badge { border-color: #695737; color: var(--amber); }
.eyebrow { color: var(--mint-strong); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 20px; font-weight: 600; }
h1 { font-size: clamp(36px, 4.5vw, 62px); line-height: 1.13; letter-spacing: -.035em; margin: 0 0 28px; font-weight: 650; overflow-wrap: anywhere; }
h2 { font-size: 22px; line-height: 1.35; font-weight: 600; margin: 0 0 12px; }
h3 { font-size: 17px; font-weight: 600; margin: 0; }
p { margin: 0 0 16px; }
.lede { font-size: 18px; line-height: 1.7; color: var(--muted); max-width: 720px; margin-bottom: 30px; }
.mint { color: var(--mint); }
.hero { position: relative; padding: 36px 0 68px; overflow: hidden; }
.hero h1, .hero .lede, .hero .eyebrow, .hero .actions { position: relative; z-index: 1; max-width: 780px; }
.actions { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.button { display: inline-flex; gap: 18px; align-items: center; justify-content: center; min-height: 46px; border-radius: 8px; padding: 11px 20px; text-decoration: none; font-weight: 600; border: 1px solid var(--line); cursor: pointer; }
.button.primary { background: var(--mint); color: var(--bg); border-color: var(--mint); }
.button.primary:hover { background: #c8f4df; box-shadow: 0 0 22px #7ad9b022; }
.button.ghost { background: transparent; color: var(--mint); }
.button.ghost:hover { border-color: var(--mint-strong); background: var(--surface-raised); }
.button.small { font-size: 14px; min-height: 38px; padding: 8px 15px; }
.feature-grid, .usage-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 28px 0 36px; }
.panel { background: linear-gradient(135deg, #101a14aa, #0b120e); border: 1px solid var(--line); border-radius: 14px; padding: 28px; min-width: 0; }
.panel p { color: var(--muted); }
.glyph { display: block; color: var(--mint); font-size: 30px; margin-bottom: 20px; text-shadow: 0 0 18px #7ad9b055; }
.glyph.amber { color: var(--amber); }
.narrow { max-width: 690px; margin: 34px auto; }
.form-page { max-width: 590px; }
form label:not(.check) { display: block; margin: 18px 0 8px; color: var(--text); font-weight: 600; }
input:not([type=checkbox]):not([type=hidden]), select { width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: 6px; background: #0a120d; color: var(--text); padding: 11px 14px; }
input:focus, select:focus { outline: none; border-color: var(--mint-strong); background: #112017; box-shadow: 0 3px 0 -1px var(--mint-strong); }
button:focus-visible, a:focus-visible { outline: 2px solid var(--mint); outline-offset: 5px; }
.check { display: flex; gap: 10px; align-items: center; color: var(--muted); font-weight: 400; margin: 20px 0; }
input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--mint-strong); }
form .button { margin-top: 22px; }
.field-hint { margin-top: 8px; font-size: 13px; }
.validation { color: var(--danger); font-size: 14px; }
.validation:empty, .validation-summary-valid { display: none; }
.validation ul { padding-left: 18px; }
.input-validation-error { border-color: var(--danger) !important; }
.notice { padding: 22px 26px; border: 1px solid #375945; border-radius: 12px; background: #112117; color: var(--mint); margin-bottom: 30px; }
.notice p { color: var(--muted); margin: 10px 0; }
.notice.subdued { background: var(--surface); color: var(--muted); }
.notice.subdued strong { color: var(--mint); }
.text-link { display: inline-block; color: var(--mint); margin-top: 14px; }
.site-footer { max-width: 1280px; margin: auto; display: flex; justify-content: space-between; gap: 20px; padding: 28px 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.destination { color: var(--text); text-decoration: none; transition: border-color .2s, background .2s; }
.destination:hover { border-color: #60977c; background: var(--surface-raised); }
.metric { color: var(--mint) !important; font-size: 46px; line-height: 1.2; }
.management-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 32px 0; }
.role-guide { display: grid; grid-template-columns: 90px 1fr; gap: 13px 20px; font-size: 14px; }
.role-guide dt { color: var(--mint); }
.role-guide dd { color: var(--muted); margin: 0; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 30px 0 20px; }
.section-heading h2 { margin: 0; }
.person-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); padding: 22px 0; }
.person-identity { display: flex; gap: 16px; align-items: center; min-width: 0; overflow-wrap: anywhere; }
.person-identity p { font-size: 14px; margin: 3px 0 0; }
.mini-star { font-size: 24px; }
.mini-star.muted { color: var(--muted); text-shadow: none; }
.member-controls { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.member-controls select { width: 145px; min-height: 40px; }
.member-controls .button, .member-controls .check { margin: 0; }
.copy-row { display: flex; gap: 14px; align-items: center; }
input.companion-key { font-family: ui-monospace, Consolas, monospace; margin-bottom: 18px; color: var(--mint); }
.empty-sky { text-align: center; padding: 70px 32px; }
.empty-sky p { max-width: 580px; margin: 14px auto; }
.usage-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.usage-card .section-heading { margin: 0 0 16px; flex-wrap: wrap; }
.usage-details { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; font-size: 14px; margin: 28px 0; }
.usage-details dt { color: var(--muted); }
.usage-details dd { text-align: right; margin: 0; }
progress { width: 100%; height: 8px; border: 0; border-radius: 999px; overflow: hidden; accent-color: var(--mint-strong); }
progress::-webkit-progress-bar { background: #23352b; }
progress::-webkit-progress-value { background: var(--mint-strong); }
progress::-moz-progress-bar { background: var(--mint-strong); }
code { color: var(--mint); font-size: .9em; overflow-wrap: anywhere; }
.sky { position: absolute; right: 24px; top: 10px; width: 350px; height: 380px; opacity: .42; pointer-events: none; background: radial-gradient(ellipse at center, #345c4033, transparent 68%); }
.sky::before, .sky::after { content: ""; position: absolute; left: 75px; top: 85px; width: 200px; height: 180px; border: 1px solid #49745a; transform: rotate(40deg); border-radius: 50%; }
.sky::after { transform: rotate(-40deg); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.platform-search { display: flex; gap: 14px; align-items: center; margin: 20px 0 28px; max-width: 680px; }
.platform-search .button { margin-top: 0; }
.platform-company-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 22px; }
.platform-company-card h2 { overflow-wrap: anywhere; }
.platform-company-card .section-heading { margin: 0 0 18px; }
.platform-pagination { margin: 28px 0; justify-content: space-between; }
.platform-access summary { color: var(--mint); cursor: pointer; font-weight: 600; }
.platform-access[open] summary { margin-bottom: 20px; }
.work-record { margin: 16px 0; } .work-record summary { cursor: pointer; color: var(--mint); overflow-wrap: anywhere; }
.work-record pre { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13px; color: var(--muted); }
[hidden] { display: none !important; }
.platform-audit-row { display: grid; grid-template-columns: 170px 1fr; gap: 22px; border-top: 1px solid var(--line); padding: 18px 0; }
.platform-audit-row time { color: var(--muted); font-size: 13px; }
.platform-audit-row .field-hint { margin-bottom: 0; }
.sky-node { position: absolute; color: var(--mint); font-size: 12px; text-align: center; z-index: 1; }
.sky-node::before { content: "✦"; display: block; color: #dcffec; font-size: 23px; text-shadow: 0 0 16px var(--mint); }
.central { left: 137px; top: 42px; } .node-left { left: 20px; top: 180px; } .node-right { right: 0; top: 180px; } .node-bottom { left: 133px; bottom: 30px; }
@media (max-width: 1050px) { .sky { opacity: .18; } .site-header { padding: 22px 28px; flex-wrap: wrap; } .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .site-header { padding: 20px; } nav { gap: 18px; font-size: 14px; }
  .page { padding: 30px 20px 60px; } .feature-grid, .management-grid, .usage-grid { grid-template-columns: 1fr; }
  .panel { padding: 22px; } .person-row { align-items: flex-start; flex-direction: column; gap: 15px; }
  .copy-row { flex-wrap: wrap; } .usage-details { grid-template-columns: 1fr; gap: 6px; }
  .usage-details dd { text-align: left; margin-bottom: 12px; } .site-footer { flex-direction: column; padding: 24px 20px; }
  .role-guide { grid-template-columns: 75px 1fr; } .workspace-strip { flex-wrap: wrap; margin-bottom: 30px; } .sky { display: none; }
  .platform-audit-row { grid-template-columns: 1fr; gap: 8px; } .platform-search { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
