:root[data-theme=dark]{color-scheme:dark;--bg:#101719;--paper:#182225;--tint:#19322d;--ink:#e2eeea;--muted:#a0b5ad;--line:#2c3e3d;--green:#40b993;--blue:#86b8dc;--gold:#d1b978;--red:#ef929b}
[data-theme=dark] :is(.card,.sidebar,dialog,.dropdown,.secondary,input,select,textarea,button,.metric,.user-dropdown){background:#182225;color:#d9e9e2;border-color:var(--line)}
[data-theme=dark] :is(.admin,.toolbar,th,.hint,.notice,.form-note,.broadcast,.batch-bar){background:#141e21;color:#a8c2b6}
[data-theme=dark] :is(.featured,.tint,.admin-banner,.chips .active,.nav-group a.active){background:#19322d;color:#9ce3c7;border-color:var(--line)}
[data-theme=dark] :is(p,.eyebrow,.muted,.specs dt,.specs dd,.row-note,.footnote,.feed-meta,.detail-meta,.crumb,.prose,.readable,.form-grid label,.metric small,.metric strong,.nav-group summary,.nav-group a,td .row-title,td small,.activity li,.activity small,.bar-chart strong,.mini-spec,.summary,.local-strip,.site-nav,.site-footer){color:#a9bfb5}
[data-theme=dark] :is(h1,h2,h3,.identity h2,.metric strong,td .row-title){color:#edf5f1}
[data-theme=dark] :is(.text-link,.secondary,.number,.site-nav summary.active,.site-nav>a.active,.site-nav details[open]>summary,.up,.local-strip a){color:#68d3ac}
[data-theme=dark] :is(.home-board,.featured,.specs>div,.discovery-row,td,.feed-item,.activity li,.local-strip,dialog){border-color:var(--line)}
[data-theme=dark] :is(.discovery-row:hover,tr:hover td,.dropdown a:hover,.site-nav .dropdown a:hover,.site-nav .dropdown a:focus-visible,button:hover,.user-dropdown a:hover){background:#233934;color:#ddf6eb}
[data-theme=dark] :is(.primary,.button){background:#40b993;border-color:#40b993;color:#082b20;font-weight:600}
[data-theme=dark] :is(.primary:hover,.button:hover){background:#60cca7}
[data-theme=dark] .token{background:#24483b;color:#a6e7c5;border-color:#355b4b}
[data-theme=dark] .token.blue{background:#263b4c;color:#a7cde7}
[data-theme=dark] .token.gold{background:#423d28;color:#e5d396}
[data-theme=dark] .token.purple{background:#39334c;color:#cdc0ed}
[data-theme=dark] .tag{background:#293935;color:#bbcfc5}
[data-theme=dark] .tag.good{background:#244837;color:#9fe0b5}
[data-theme=dark] .tag.warn{background:#443b25;color:#e6cc8d}
[data-theme=dark] .chips :is(a,button){background:#182225;color:#b2c9bd}
[data-theme=dark] .trend line{stroke:#324740}[data-theme=dark] .trend text{fill:#a8c2b5}
[data-theme=dark] .trend polyline,[data-theme=dark] .spark{stroke:#63caa2}
[data-theme=dark] .bar-chart i{background:#2a3b33}[data-theme=dark] .bar-chart b{background:#63caa2}
[data-theme=dark] dialog::backdrop{background:#04090bd6}
.user-menu{position:relative}.user-menu summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:7px;font-size:12px}.user-menu summary>span:last-child{max-width:90px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.avatar{width:28px;height:28px;border-radius:50%;background:var(--tint);color:var(--green);display:grid;place-items:center;font-weight:700}.user-dropdown{position:absolute;right:0;top:100%;width:170px;z-index:40;background:var(--bg);border:1px solid var(--line);border-radius:8px;padding:12px;box-shadow:0 12px 30px #0002}.user-dropdown>*{display:block;padding:8px;width:100%;text-align:left}.user-menu:not([open]) .user-dropdown{display:none}.auth-intro{font-size:14px}.auth-notice{padding:12px;background:var(--tint);color:var(--muted);border-radius:7px;font-size:12px;margin:20px 0}.auth-label{display:grid;gap:8px;font-size:13px}.auth-submit{width:100%;margin:20px 0 12px}.auth-foot{font-size:11px}.header-actions{flex-wrap:wrap}.user-menu summary:focus-visible{outline:2px solid var(--green);outline-offset:4px}
@media(max-width:560px){.header-actions{gap:5px}.user-menu summary>span:last-child{max-width:60px}}

.page-return{max-width:1440px;margin:0 auto;padding:16px 34px 0}.page-return button{font-size:12px;padding:7px 12px}.page-return+.page{padding-top:14px}@media(max-width:1100px){.page-return{padding-left:23px;padding-right:23px}}@media(max-width:560px){.page-return{padding-left:16px;padding-right:16px}}

.token{position:relative;overflow:hidden}.token img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:inherit;background:var(--paper);z-index:1}

.brand{align-items:center;gap:10px}.brand-wordmark{display:inline-flex;flex-direction:column;gap:5px;text-align:left}.brand-name{display:block;line-height:1;letter-spacing:0}.brand .brand-wordmark small{display:flex;justify-content:space-between;width:100%;margin:0;letter-spacing:0;line-height:1;font-size:10px}.brand .brand-wordmark small span{display:block}
