:root { --bg:#09090b; --panel:#121215; --panel-hover:#18181c; --surface:#18181b; --line:#27272a; --line-light:#3f3f46; --text:#fafafa; --text-secondary:#a1a1aa; --muted:#71717a; --brand:#10b981; --brand-glow:rgba(16,185,129,.15); --cyan:#38bdf8; --amber:#f59e0b; --red:#ef4444; --radius-sm:6px; --radius-md:10px; --radius-lg:14px; --mono:"JetBrains Mono",ui-monospace,SFMono-Regular,Consolas,monospace; --sans:Inter,-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif; }
* { box-sizing:border-box; } body { min-width:320px; margin:0; background:radial-gradient(ellipse 80% 50% at 50% -20%,rgba(16,185,129,.08),transparent),radial-gradient(ellipse 60% 40% at 80% 0%,rgba(56,189,248,.05),transparent),var(--bg); color:var(--text); font:13.5px/1.5 var(--sans); -webkit-font-smoothing:antialiased; }
button,input,select { font:inherit; color:var(--text); transition:.15s ease; } button { display:inline-flex; align-items:center; justify-content:center; gap:6px; cursor:pointer; padding:7px 13px; border:1px solid var(--line-light); border-radius:var(--radius-sm); background:var(--surface); font-size:13px; font-weight:500; white-space:nowrap; } button:hover:not(:disabled) { border-color:#52525b; background:#27272a; } button:active:not(:disabled) { transform:translateY(1px); } button:disabled { cursor:not-allowed; opacity:.5; }
input,select { width:100%; padding:8px 11px; border:1px solid var(--line); border-radius:var(--radius-sm); outline:0; background:#09090b; font-size:13px; } input::placeholder { color:var(--muted); } input:hover,select:hover { border-color:var(--line-light); } input:focus,select:focus { border-color:var(--brand); box-shadow:0 0 0 3px var(--brand-glow); }
h1,h2,p { margin:0; } small { display:block; margin-top:2px; color:var(--muted); font-size:11.5px; } .muted { color:var(--muted); } .permanent { color:#6ee7b7; } .eyebrow { margin-bottom:4px; color:var(--brand); font:600 10px/1.2 var(--mono); letter-spacing:1.2px; text-transform:uppercase; }
.brand-mark { display:grid; width:34px; height:34px; place-items:center; border:1px solid rgba(16,185,129,.4); border-radius:8px; background:linear-gradient(135deg,rgba(16,185,129,.2),rgba(16,185,129,.05)); box-shadow:0 0 20px rgba(16,185,129,.15); color:#34d399; font:800 12px var(--mono); }
.primary { border-color:rgba(16,185,129,.4); background:var(--brand); box-shadow:0 1px 2px rgba(0,0,0,.2),inset 0 1px 0 rgba(255,255,255,.2); color:#022c22; font-weight:600; }.primary:hover:not(:disabled) { border-color:#34d399; background:#34d399; }.ghost { border-color:transparent; background:transparent; color:var(--text-secondary); }.ghost:hover:not(:disabled) { background:var(--surface); color:var(--text); }
.topbar-wrap { position:sticky; top:0; z-index:20; border-bottom:1px solid var(--line); background:rgba(9,9,11,.8); backdrop-filter:blur(12px); }.topbar { display:flex; align-items:center; justify-content:space-between; width:min(1400px,100%); height:60px; margin:auto; padding:0 24px; gap:20px; }.brand { display:flex; align-items:center; gap:11px; }.brand b { display:block; font-size:14px; font-weight:600; letter-spacing:-.2px; }.brand small { margin:0; font:10px var(--mono); }.nav-tabs { display:flex; align-items:center; gap:4px; border:1px solid var(--line); border-radius:8px; background:var(--panel); padding:4px; }.nav-tab { border:0; border-radius:5px; background:transparent; color:var(--text-secondary); padding:5px 12px; font-size:12.5px; }.nav-tab:hover { background:transparent; color:var(--text); }.nav-tab.active { background:var(--surface); box-shadow:0 1px 3px rgba(0,0,0,.3); color:var(--text); }.identity { display:flex; align-items:center; gap:10px; }.identity-user { color:var(--text-secondary); font:12.5px var(--mono); }
.role-badge,.status,.outcome { display:inline-flex; align-items:center; gap:6px; height:22px; border:1px solid var(--line-light); border-radius:999px; padding:0 9px; font-size:11.5px; font-weight:500; }.status::before,.outcome::before { width:6px; height:6px; border-radius:50%; background:currentColor; content:""; }.role-badge,.status.active,.outcome.success,.outcome.ok { border-color:rgba(16,185,129,.35); background:rgba(16,185,129,.1); color:#6ee7b7; }.status.unused { border-color:rgba(245,158,11,.35); background:rgba(245,158,11,.1); color:#fcd34d; }.status.disabled,.status.revoked,.outcome.failed,.outcome.denied { border-color:rgba(239,68,68,.35); background:rgba(239,68,68,.1); color:#fca5a5; }
.shell { width:min(1400px,100%); margin:auto; padding:24px 24px 64px; }.page-head { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; margin-bottom:20px; }.page-head h1 { font-size:22px; font-weight:600; letter-spacing:-.3px; }.page-head p:last-child { margin-top:4px; color:var(--text-secondary); font-size:13px; }.metrics { display:grid; grid-template-columns:repeat(5,1fr); gap:12px; margin-bottom:20px; }.metric-card { position:relative; overflow:hidden; border:1px solid var(--line); border-radius:var(--radius-md); background:var(--panel); padding:16px 18px; }.metric-card::before { position:absolute; top:0; right:0; left:0; height:2px; background:var(--line-light); content:""; opacity:.5; }.metric-card.is-brand::before { background:var(--brand); opacity:1; }.metric-card.is-cyan::before { background:var(--cyan); opacity:1; }.metric-card.is-amber::before { background:var(--amber); opacity:1; }.metric-card span { display:block; color:var(--text-secondary); font-size:12px; font-weight:500; }.metric-card b { display:block; margin-top:8px; font:600 26px/1.1 var(--mono); letter-spacing:-.5px; }
.quick-creator { margin-bottom:20px; border:1px solid var(--line); border-radius:var(--radius-md); background:linear-gradient(180deg,rgba(24,24,27,.7),rgba(18,18,21,.9)); padding:16px 20px; }.quick-creator-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:12px; }.quick-creator-head h2,.surface-head h2 { font-size:15px; font-weight:600; }.creator-form { display:grid; grid-template-columns:160px 120px 1fr auto; align-items:end; gap:12px; }.creator-form label,.stack-form label { display:grid; gap:5px; color:var(--text-secondary); font-size:12px; }.output-box { margin-top:14px; border:1px solid rgba(16,185,129,.3); border-radius:var(--radius-sm); background:rgba(16,185,129,.05); padding:12px; }.output-bar { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:8px; color:#6ee7b7; font-size:12px; }.code-output { display:block; max-height:140px; overflow:auto; border:1px solid var(--line); border-radius:4px; background:#050507; color:#a7f3d0; padding:10px 12px; white-space:pre-wrap; font:12px/1.6 var(--mono); user-select:all; }
.surface { overflow:hidden; border:1px solid var(--line); border-radius:var(--radius-md); background:var(--panel); }.surface-head { display:flex; align-items:center; justify-content:space-between; gap:16px; border-bottom:1px solid var(--line); padding:16px 20px; }.filters { display:flex; align-items:center; gap:8px; }.filters input { width:240px; }.filters select { width:130px; }.table-wrap { overflow-x:auto; } table { width:100%; min-width:920px; border-collapse:collapse; } th { border-bottom:1px solid var(--line); background:#0d0d10; color:var(--muted); padding:11px 16px; font:600 11px var(--mono); letter-spacing:.5px; text-align:left; text-transform:uppercase; } td { border-bottom:1px solid rgba(39,39,42,.6); color:#e4e4e7; padding:12px 16px; font-size:13px; vertical-align:middle; white-space:nowrap; } tbody tr:last-child td { border-bottom:0; } tbody tr:hover td { background:rgba(255,255,255,.02); } td code { border:1px solid var(--line); border-radius:4px; background:#18181b; color:#7dd3fc; padding:2px 6px; font:12px var(--mono); }.actions { display:flex; align-items:center; gap:6px; }.actions button { border-radius:5px; padding:4px 9px; font-size:11.5px; }.actions .warn { border-color:rgba(245,158,11,.35); background:rgba(245,158,11,.08); color:#fde68a; }.actions .danger { border-color:rgba(239,68,68,.35); background:rgba(239,68,68,.08); color:#fecdd3; }.empty { color:var(--muted); padding:48px 20px !important; font-size:13px; text-align:center; }.team-card { max-width:460px; padding:24px; }.stack-form { display:grid; gap:15px; }
.toast { position:fixed; right:24px; bottom:24px; z-index:50; max-width:420px; border:1px solid rgba(16,185,129,.4); border-radius:var(--radius-md); background:rgba(18,24,22,.95); box-shadow:0 12px 32px rgba(0,0,0,.4); color:#d1fae5; padding:12px 16px; backdrop-filter:blur(8px); font-size:13px; }.toast.error { border-color:rgba(239,68,68,.45); background:rgba(28,16,18,.95); color:#fee2e2; }
.auth-page { display:grid; min-height:100dvh; place-items:center; padding:20px; }.auth-card { width:min(390px,100%); border:1px solid var(--line); border-radius:var(--radius-lg); background:rgba(18,18,21,.85); box-shadow:0 24px 60px rgba(0,0,0,.5),inset 0 1px 0 rgba(255,255,255,.05); padding:32px 28px; backdrop-filter:blur(16px); }.auth-card .brand-mark { margin-bottom:18px; }.auth-card h1 { margin-bottom:6px; font-size:20px; font-weight:600; }.auth-card > p.muted { margin-bottom:24px; }.message { margin:0; border:1px solid rgba(239,68,68,.3); border-radius:var(--radius-sm); background:rgba(239,68,68,.1); color:#fca5a5; padding:8px 12px; font-size:12.5px; }
@media (max-width:960px) { .topbar { flex-wrap:wrap; height:auto; padding:12px 16px; }.nav-tabs { order:3; width:100%; overflow-x:auto; }.shell { padding:16px 16px 48px; }.metrics { grid-template-columns:repeat(2,1fr); }.creator-form { grid-template-columns:1fr 1fr; }.creator-form button { grid-column:1/-1; }.surface-head { align-items:stretch; flex-direction:column; }.filters { flex-wrap:wrap; }.filters input,.filters select { min-width:140px; flex:1; } }
