:root{color-scheme:light dark;--bg:light-dark(#f4eff1,#141316);--card:light-dark(#fff,#221e23);--ink:light-dark(#2c2228,#fff3f6);--sub:light-dark(#674c58,#d9bcc9);--line:light-dark(#d8c5cf,#563e49);--link:light-dark(#852844,#ffb5c8)}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.55 system-ui,sans-serif}.wrap{width:min(1120px,calc(100% - 32px));margin:auto}
header,footer{background:#252126;color:#fff5f7;border-top:2px solid #b63d56;padding:12px 0}.bar,.brand,nav{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.bar{justify-content:space-between}.brand{font-weight:700;font-size:22px}header a,footer a{color:#fff5f7;text-decoration:none}a{color:var(--link)}.brand img{border-radius:8px}
.hero{padding:64px 0 42px}.hero h1{font-size:clamp(34px,7vw,66px);line-height:1.08;letter-spacing:-.035em;margin:0}.hero p{max-width:610px;color:var(--sub)}.eyebrow,.tag{font-size:13px;font-weight:700;letter-spacing:.05em}.button{display:inline-block;padding:9px 13px;border-radius:8px;background:#862b45;color:white;text-decoration:none;font-weight:600}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr));gap:12px}article,.request{background:var(--card);border:1px solid var(--line);border-radius:12px;padding:16px}article h3{margin:7px 0 4px}article p{color:var(--sub);margin:0}.tag{color:var(--link)}.request{margin:28px 0 34px}.request h2{margin-top:0}
footer{text-align:center;padding:24px 0}footer nav{justify-content:center}footer nav a{border:1px solid #885567;background:#402831;border-radius:16px;padding:6px 10px}
.site-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,265px);gap:20px;align-items:start}
.site-sidebar{display:grid;gap:12px;margin-top:22px}.network-status{background:var(--card);border:1px solid var(--line);border-radius:12px;padding:13px}
.network-status h2{font-size:17px;margin:0}.network-name{margin:4px 0 8px;font-weight:650}.network-status dl{display:grid;grid-template-columns:1fr auto;gap:4px 10px;margin:0;font-size:14px}.network-status dd{margin:0;font-weight:700}
.network-status ul{padding:0;margin:10px 0;list-style:none;font-size:13px}.network-status li{display:flex;justify-content:space-between;gap:6px;padding:3px 0;border-bottom:1px solid var(--line)}
.snapshot{color:var(--sub);margin:6px 0 0;font-size:12px}.site-ad{display:grid;place-items:center;border:1px dashed var(--line);border-radius:10px;color:var(--sub);font-size:13px;padding:10px}
.site-ad-rail{min-height:240px}.site-ad-banner{min-height:80px;margin:0 0 20px}
@media(max-width:720px){.site-layout{grid-template-columns:1fr}.site-sidebar{grid-row:1;margin-top:12px}.site-ad-rail{display:none}.hero{padding-top:24px}}
.subpage{padding:22px 0}.subpage h1{margin:0 0 8px}.status-table{overflow:auto;border:1px solid var(--line);border-radius:9px;background:var(--card);margin-bottom:18px}.status-table table{border-collapse:collapse;width:100%;text-align:left}.status-table th,.status-table td{padding:8px 12px;border-bottom:1px solid var(--line)}.status-table tr:last-child td{border-bottom:0}
.presence{display:inline-flex;align-items:center;gap:7px}.presence::before{content:"";width:8px;height:8px;flex:0 0 8px;border-radius:50%;background:#808090}.presence.online::before{background:#21965d;animation:status-pulse 2.2s ease-in-out infinite}.presence.offline::before{background:#d34155}.presence.maintenance::before{background:#d9a115}.legend{display:flex;flex-wrap:wrap;gap:12px;font-size:14px}
@keyframes status-pulse{50%{opacity:.55}}@media(prefers-reduced-motion:reduce){.presence.online::before{animation:none}}

[hidden] { display: none !important; }
.site-nav-tools, .command-filters, .hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.site-nav-tools { padding: .65rem 0; }
.site-nav-tools select, .command-filters select, .command-filters input { font: inherit; padding: .5rem; max-width: 100%; border: 1px solid currentColor; border-radius: .45rem; color: inherit; background: transparent; }
.site-nav-tools option, .command-filters option { color: #172238; background: #fff; }
.command-list { display: grid; gap: .65rem; }
.command-list article { padding: .85rem 1rem; border: 1px solid #718096; border-radius: .65rem; }
.command-list h2, .command-list p { margin: .3rem 0; }
.command-list h2 { font-size: 1rem; }
.command-list code { overflow-wrap: anywhere; }

.brand img { width: clamp(64px, 9vw, 84px); height: auto; flex-shrink: 0; }
header nav[aria-label="Main navigation"] a { display: inline-flex; align-items: center; gap: .4rem; }
header nav[aria-label="Main navigation"] svg { width: 1rem; height: 1rem; flex-shrink: 0; }

.auth-project-footer { background: var(--bg); color: var(--ink); border: 0; padding: 0 0 2rem; }
.auth-project-footer > .wrap { border-top: 1px solid var(--line); padding-top: 2rem; }
.auth-footer-heading h2 { margin: .35rem 0; font-size: 1.2rem; }
.auth-footer-heading p { margin: 0 0 1.25rem; color: var(--sub); font-size: .88rem; }
.auth-footer-heading .eyebrow { color: var(--link); }
.auth-project-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 195px), 1fr)); gap: .65rem; }
.auth-project-links a { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: .55rem; align-items: center; text-align: left; padding: .65rem; border: 1px solid var(--line); border-radius: .8rem; background: var(--card); color: var(--ink); }
.auth-project-links a:hover, .auth-project-links a:focus-visible { border-color: var(--link); }
.auth-project-links strong, .auth-project-links small { display: block; }
.auth-project-links strong { font-size: .8rem; }
.auth-project-links small, .auth-footer-note { color: var(--sub); font-size: .72rem; }
.auth-project-links b { color: var(--link); font-size: .8rem; }
.auth-project-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: .65rem; background: #eef3fc; color: #245dd4; }
.auth-project-icon img, .auth-project-icon svg { width: 28px; height: 28px; object-fit: contain; }
.auth-footer-note { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; margin-top: 1.2rem; }
