:root { color-scheme: dark; --bg:#0b1020; --panel:#131b2e; --text:#e8edf7; --muted:#96a3ba; --line:#26324a; --accent:#60a5fa; --warn:#f59e0b; --ok:#22c55e; }
* { box-sizing: border-box; }
body { margin:0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, sans-serif; background: radial-gradient(circle at top left, #1b2a4a, var(--bg) 45%); color:var(--text); }
header, main { width:min(1120px, calc(100% - 32px)); margin:auto; }
header { display:flex; justify-content:space-between; gap:24px; align-items:flex-start; padding:40px 0 24px; }
h1 { margin:4px 0 8px; font-size:clamp(2rem, 5vw, 4rem); letter-spacing:-0.05em; }
h2 { margin:0 0 16px; }
.eyebrow,.label { color:var(--accent); text-transform:uppercase; letter-spacing:.14em; font-size:.75rem; font-weight:700; }
.muted { color:var(--muted); }
.pill { padding:8px 12px; border-radius:999px; border:1px solid var(--line); white-space:nowrap; }
.pill.ok { color:var(--ok); border-color:rgba(34,197,94,.5); }
.pill.warn { color:var(--warn); border-color:rgba(245,158,11,.5); }
.grid { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:16px; margin-bottom:16px; }
.card,.panel { background:rgba(19,27,46,.86); border:1px solid var(--line); border-radius:20px; box-shadow:0 20px 60px rgba(0,0,0,.25); }
.card { padding:20px; display:flex; flex-direction:column; gap:10px; }
.card strong { font-size:2.5rem; }
.panel { padding:24px; margin:16px 0; }
.hero-panel { display:grid; grid-template-columns:260px 1fr; gap:20px; align-items:start; }
.quick-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:14px; }
.quick-card { background:linear-gradient(180deg, rgba(96,165,250,.10), rgba(2,6,23,.78)); border:1px solid var(--line); border-radius:18px; padding:16px; min-height:190px; display:flex; flex-direction:column; gap:10px; }
.quick-card h3 { margin:0; font-size:1.15rem; }
.quick-card p { margin:0; color:var(--muted); line-height:1.45; flex:1; }
.quick-top { display:flex; justify-content:space-between; align-items:center; gap:8px; flex-wrap:wrap; }
.btn-link { display:inline-block; color:white; text-decoration:none; font-weight:900; background:var(--accent); padding:10px 12px; border-radius:12px; text-align:center; border:0; cursor:pointer; font:inherit; }
.btn-link:hover { filter:brightness(1.12); }
dl { display:grid; grid-template-columns:180px 1fr; gap:10px 16px; }
dt { color:var(--muted); }
dd { margin:0; }
table { width:100%; border-collapse:collapse; }
th,td { text-align:left; padding:10px 12px; border-bottom:1px solid var(--line); vertical-align:top; }
th { color:var(--muted); font-size:.85rem; }
.table-wrap { overflow-x:auto; }
ul { margin:0; padding-left:20px; }
li { margin:8px 0; }
.badge { display:inline-block; padding:4px 8px; border-radius:999px; font-size:.75rem; font-weight:800; text-transform:uppercase; }
.badge.ok { color:#86efac; background:rgba(34,197,94,.14); }
.badge.warn { color:#fcd34d; background:rgba(245,158,11,.16); }
.badge.bad { color:#fca5a5; background:rgba(239,68,68,.14); }
.badge.neutral { color:#cbd5e1; background:rgba(148,163,184,.16); }
.mini-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:14px; }
.mini-card { background:#020617; border:1px solid var(--line); border-radius:14px; padding:14px; }
.mini-card strong { display:block; margin-bottom:8px; }
.mini-card code { display:block; overflow-wrap:anywhere; color:#bae6fd; margin-bottom:8px; }
.mini-card p { margin:0; color:var(--muted); }
td a { overflow-wrap:anywhere; }
.code-block { background:#020617; border:1px solid var(--line); border-radius:14px; padding:14px; overflow:auto; white-space:pre-wrap; color:#dbeafe; }
.code-block.mini { margin:8px 0 0; font-size:.84rem; }
.script-category-grid { display:grid; gap:16px; }
.category-panel { background:rgba(2,6,23,.58); border:1px solid var(--line); border-radius:18px; padding:18px; }
.category-head { display:flex; justify-content:space-between; gap:16px; align-items:flex-start; flex-wrap:wrap; margin-bottom:14px; }
.category-head h3 { margin:4px 0 6px; overflow-wrap:anywhere; }
.script-list { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:12px; }
.script-card { background:#020617; border:1px solid var(--line); border-radius:14px; padding:14px; }
.script-title-row { display:flex; justify-content:space-between; gap:10px; align-items:center; }
.script-card p { overflow-wrap:anywhere; }
.script-meta { grid-template-columns:90px 1fr; font-size:.88rem; margin:8px 0; }
@media (max-width:1050px){ .grid{grid-template-columns:repeat(3,minmax(0,1fr));} .hero-panel{grid-template-columns:1fr;} }
@media (max-width:760px){ header{flex-direction:column;} .grid{grid-template-columns:repeat(2,minmax(0,1fr));} dl{grid-template-columns:1fr;} }

.service-nav { width:min(1120px, calc(100% - 32px)); margin:16px auto 22px; display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.service-nav a { color:#dbeafe; text-decoration:none; font-weight:850; font-size:13px; background:#0f172a; border:1px solid var(--line); border-radius:999px; padding:9px 12px; }
.service-nav a:hover { background:rgba(96,165,250,.18); border-color:rgba(96,165,250,.55); }
@media (max-width:760px){ .service-nav{margin-top:12px;} }
