:root{color-scheme:dark;--bg:#0e1217;--panel:#18212a;--muted:#aab8c7;--ink:#f0f3f7;--accent:#94d3de}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.55 system-ui,-apple-system,sans-serif}
a{color:var(--accent)}button{font:inherit}.profiles{max-width:1160px;margin:auto;padding:26px clamp(16px,4vw,52px) 70px}
.top{display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between;align-items:center;font-size:.78rem;letter-spacing:.05em;color:var(--muted)}
.top strong{font-weight:600}.intro{margin:60px 0 44px}.eyebrow{font-size:.82rem;letter-spacing:.08em;color:var(--accent)}
h1{max-width:900px;line-height:1.09;letter-spacing:-.035em;font-size:clamp(2.2rem,5vw,4.3rem);margin:.35em 0}h2{font-size:1.8rem}h3{font-size:1.15rem;margin:0 0 12px}
h4{font-size:1rem;margin:24px 0 4px}.intro>p:not(.eyebrow){max-width:860px;color:var(--muted)}
.note{border-left:3px solid var(--accent);padding-left:15px}.source-links{display:flex;flex-wrap:wrap;gap:14px 24px;margin-top:30px}
.inspector{background:var(--panel);border-radius:20px;padding:clamp(18px,3vw,38px)}.inspector>header{display:flex;justify-content:space-between;gap:14px;align-items:baseline;flex-wrap:wrap}
.inspector>header p,.profile-title p{color:var(--muted)}.switches{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0 36px}
.switches button{border:1px solid #667789;border-radius:11px;color:var(--ink);padding:14px 20px;min-height:48px;background:transparent;cursor:pointer}
.switches button[aria-pressed="true"]{background:#2c4655;border-color:var(--accent)}.switches button:focus-visible,a:focus-visible{outline:3px solid #f4cc6a;outline-offset:3px}
.profile-body{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,350px),1fr));gap:20px}
.profile-body>section,.profile-title{background:#111b24;padding:20px;border-radius:14px;min-width:0}
.profile-title,.status{grid-column:1/-1}.profile-title h3{font-size:1.7rem}
.status span{display:inline-block;margin:5px;padding:4px 9px;border-radius:5px;background:#283845}.status span.no{background:#413333}
.facts dl{display:grid;grid-template-columns:minmax(100px,1fr) 2fr;gap:12px}
.facts dt{color:var(--muted);text-transform:capitalize}.facts dd{margin:0;overflow-wrap:anywhere}
.cck ul{padding-left:19px}.cck li{margin-bottom:9px}
@media(max-width:650px){.facts dl{grid-template-columns:1fr;gap:2px}.facts dd{margin-bottom:12px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

.local-preview{background:#17242d;border-radius:16px;margin:0 0 28px;padding:20px}
.local-preview p{color:var(--muted)}.local-preview label{display:inline-grid;gap:7px;margin:10px 18px 10px 0}
.local-preview input{font:inherit;max-width:100%}.local-preview button{padding:10px 16px;min-height:48px;border-radius:10px;border:1px solid var(--accent);color:var(--ink);background:transparent;cursor:pointer}
.local-preview button:disabled{opacity:.5;cursor:default}.local-preview button:focus-visible,.local-preview input:focus-visible{outline:3px solid #f4cc6a;outline-offset:3px}
