.atlas-admin { --ink:#edeef2; --muted:#a3adbb; --panel:#121b27; --line:#2a3543; --accent:#efa44c; --warm:#f2b66b; --sidebar-width:264px; background:#0b111a; }
.atlas-admin a { text-underline-offset:4px; }
.atlas-admin :focus-visible { outline:2px solid #ffbb69; outline-offset:4px; }
.atlas-skip-link { position:fixed; left:280px; top:-80px; z-index:100; padding:12px 20px; background:#f5b35f; color:#111821; border-radius:6px; }
.atlas-skip-link:focus { top:12px; }
.atlas-sidebar { position:fixed; inset:0 auto 0 0; width:var(--sidebar-width); z-index:30; display:flex; flex-direction:column; padding:24px 18px 20px; overflow-y:auto; background:linear-gradient(160deg,#141d29,#0c131d 65%); border-right:1px solid #2a3543; }
.atlas-sidebar > * { flex-shrink:0; }
.atlas-brand { display:flex; align-items:center; gap:12px; min-height:80px; color:#f1f2f4 !important; text-decoration:none !important; padding-bottom:22px; border-bottom:1px solid #2a3543; }
.atlas-brand img { width:58px; height:58px; object-fit:contain; }
.atlas-brand strong { font-size:23px; letter-spacing:.15em; white-space:nowrap; }
.atlas-brand em { font-style:normal; color:#e98e32; letter-spacing:.02em; }
.atlas-brand small { display:block; font-size:8px; letter-spacing:.16em; margin-top:5px; color:#a3adbb; }
.atlas-nav-caption { color:#778393; font-size:10px; letter-spacing:.18em; font-weight:700; margin:28px 12px 12px; }
.atlas-cell-navigation { margin-top:20px; padding:14px 10px 10px; border:1px solid #72502e; border-radius:10px; background:#1d211f; text-align:left; }
.atlas-cell-heading { display:grid; gap:4px; padding:0 4px; }
.atlas-cell-heading > span { color:#efa44c; font:700 11px/1.5 system-ui,sans-serif; letter-spacing:.14em; text-transform:uppercase; }
.atlas-cell-heading > strong { color:#f1f2f4; font:700 16px/1.4 system-ui,sans-serif; overflow-wrap:anywhere; }
.atlas-cell-navigation a { display:block; min-height:44px; padding:11px 10px; border-radius:6px; color:#cbd4df; font:13px/1.6 system-ui,sans-serif; text-decoration:none; overflow-wrap:anywhere; }
.atlas-cell-navigation a:hover { background:#30382f; color:#fff0db; }
.atlas-cell-navigation a[aria-current=page] { color:#ffc27d; background:#b06b2229; box-shadow:inset 2px 0 #e58f35; font-weight:700; }
.atlas-cell-navigation .atlas-cell-exit { margin:8px 0; border-bottom:1px solid #46503f; border-radius:0; color:#f4bc79; }
.atlas-cell-more { margin:4px 0 0; }
.atlas-cell-more > summary { min-height:44px; padding:11px 10px; color:#aeb8c5; cursor:pointer; font:13px/1.6 system-ui,sans-serif; }
.atlas-cell-more[open] > summary { color:#f4bc79; }
.atlas-app-switcher .atlas-cell-navigation { margin:0; }
.atlas-app-switcher > nav { max-height:calc(100dvh - 110px); overflow-y:auto; }
.atlas-admin .atlas-navigation { width:100%; min-height:0; display:block; margin:0; }
.atlas-admin .atlas-nav-group { margin:6px 0; border-radius:9px; }
.atlas-nav-group > summary { display:flex; align-items:center; gap:12px; list-style:none; padding:14px 12px; min-height:50px; color:#b8c2cf; font-size:14px; font-weight:600; border-radius:8px; }
.atlas-nav-group > summary::-webkit-details-marker { display:none; }
.atlas-nav-group > summary:hover { background:#1c2734; color:#f1f2f4; }
.atlas-nav-group.is-current > summary { color:#ffc27d; background:#a35b191c; }
.atlas-nav-icon { width:20px; height:20px; flex:none; }
.atlas-chevron { margin-left:auto; font-size:18px; transition:transform .18s ease; }
.atlas-nav-group[open] > summary .atlas-chevron { transform:rotate(180deg); }
.atlas-nav-children { margin:5px 0 16px 22px; padding-left:18px; border-left:1px solid #34404e; }
.atlas-nav-children a { display:block; padding:10px 12px; min-height:42px; font-size:13px; color:#aeb8c5; border-radius:6px; margin:2px 0; text-decoration:none; }
.atlas-nav-children a:hover { background:#1b2633; color:#f3e8d9; }
.atlas-nav-children a[aria-current=page] { color:#ffc27d; background:#b06b221c; box-shadow:inset 2px 0 #e58f35; font-weight:600; }
.atlas-nav-context { color:#d6dce4; padding:15px 12px 6px; font-size:11px; font-weight:700; overflow-wrap:anywhere; }
.atlas-sidebar-foot { margin-top:auto; padding:32px 12px 0; display:flex; align-items:flex-start; gap:9px; font-size:11px; color:#c1cad5; }
.atlas-sidebar-foot small { display:block; color:#7f8c9d; margin-top:4px; }
.atlas-environment-dot { width:6px; height:6px; background:#ed9b41; border-radius:50%; flex:none; margin-top:6px; }
.atlas-admin > .atlas-admin-header { margin-left:var(--sidebar-width); background:#101924; min-height:82px; border-bottom:1px solid var(--line); }
.atlas-topbar { padding:17px 32px; display:flex; justify-content:space-between; align-items:center; gap:20px; }
.atlas-location { display:grid; gap:4px; min-width:0; }
.atlas-location > span { color:#8795a7; font-size:10px; font-weight:700; letter-spacing:.16em; }
.atlas-location strong { font-size:15px; color:#e5e9ef; font-weight:600; overflow-wrap:anywhere; }
.atlas-account { display:flex; align-items:center; gap:18px; font-size:12px; color:#b2becd; }
.atlas-account > span > small { display:block; color:#7e8d9f; font-size:10px; margin-top:3px; }
.atlas-account form { margin:0; }
.atlas-account > span { min-width:0; overflow-wrap:anywhere; }
.atlas-current-status { position:relative; flex:none; margin:0; font:12px/1.5 system-ui,sans-serif; color:#c9d2de; }
.atlas-current-status > summary { display:flex; align-items:center; justify-content:center; width:44px; min-height:44px; padding:10px; border:1px solid #465569; border-radius:8px; color:#dbe2eb; list-style:none; cursor:pointer; }
.atlas-current-status > summary::-webkit-details-marker { display:none; }
.atlas-current-status > summary:hover, .atlas-current-status[open] > summary { background:#1c2734; }
.atlas-status-bell { width:22px; height:22px; flex:none; }
.atlas-status-label { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.atlas-status-panel { position:absolute; right:0; top:calc(100% + 8px); z-index:70; width:min(360px,calc(100vw - 32px)); max-height:min(520px,calc(100dvh - 180px)); overflow-y:auto; padding:18px; border:1px solid #465569; border-radius:10px; background:#111b27; box-shadow:0 16px 40px #0008; white-space:normal; text-align:left; }
.atlas-status-panel h2 { margin:0 0 14px; font-size:18px; line-height:1.3; letter-spacing:normal; }
.atlas-status-panel p:first-child { margin-top:0; color:#eef2ff; }
.atlas-status-panel p:last-child { margin-bottom:0; }
.atlas-status-panel dl > div { display:flex; justify-content:space-between; gap:18px; padding:8px 0; border-bottom:1px solid #2a3543; }
.atlas-status-panel dd { margin:0; font-weight:700; }
.atlas-current-status :focus-visible { outline:2px solid #ffbb69; outline-offset:4px; }
.atlas-visual-status { display:flex; justify-content:flex-end; margin-bottom:18px; }
.atlas-visual-status[hidden] { display:none; }
.sv-account > span { min-width:0; overflow-wrap:anywhere; }
.atlas-overview-heading { max-width:900px; }
.atlas-record-state { color:#c4cfdd; font-size:13px; }
.atlas-overview-actions { display:flex; align-items:center; flex-wrap:wrap; gap:12px 20px; margin:16px 0; }
.atlas-overview-actions > a { display:inline-flex; align-items:center; min-height:44px; }
.atlas-primary-link { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:10px 16px; border:1px solid #9a622d; border-radius:8px; background:#4a301c; color:#ffe7c7; font-weight:700; }
.atlas-primary-link:hover { background:#604021; }
.atlas-action-note { font-size:13px; }
.atlas-admin .atlas-cell-grid { grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr)); align-items:start; }
.atlas-cell-card { min-width:0; }
.atlas-cell-card h3 { margin:0 0 14px; font-size:22px; overflow-wrap:anywhere; }
.atlas-cell-production { color:#d1dbe7; font-size:14px; }
.atlas-record-counts { display:grid; grid-template-columns:1fr 1fr; gap:14px 20px; padding:18px 0; margin:20px 0 0; border-top:1px solid var(--line); }
.atlas-record-counts > div { display:flex; flex-direction:column; gap:3px; min-width:0; }
.atlas-record-counts dt { color:var(--muted); font-size:12px; }
.atlas-record-counts dd { margin:0; font-size:24px; font-weight:700; font-variant-numeric:tabular-nums; }
.atlas-cell-details { border-top:1px solid var(--line); padding-top:12px; }
.atlas-cell-details > summary, .atlas-main > details > summary { color:#ced7e2; font-weight:600; padding:6px 0; }
.atlas-reference-list > div { display:flex; flex-wrap:wrap; gap:4px 12px; padding:6px 0; }
.atlas-reference-list dt { color:var(--muted); }
.atlas-reference-list dd { margin:0; overflow-wrap:anywhere; }
.atlas-secondary-label { display:block; margin-top:5px; color:var(--muted); font-size:12px; }
.atlas-row-details { margin:0; max-width:220px; }
.atlas-row-details > summary { min-height:32px; }
.atlas-row-details .hash { display:block; margin-top:8px; }
.atlas-admin .control-grid { grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr)); }
.atlas-admin .control-heading { flex-wrap:wrap; }
.atlas-admin .control-form { min-width:0; }
.atlas-admin button:disabled { opacity:.5; cursor:not-allowed; }
.atlas-overview-metrics { display:flex; flex-wrap:wrap; gap:12px 24px; margin:24px 0; padding:16px 0; border-block:1px solid var(--line); }
.atlas-overview-metrics > div { min-width:140px; }
.atlas-overview-metrics dt { color:var(--muted); font-size:12px; }
.atlas-overview-metrics dd { margin:4px 0 0; font-size:18px; font-weight:700; }
.atlas-admin .atlas-account button { font-size:12px; background:transparent; border-color:#344251; color:#cbd4df; font-weight:500; }
.atlas-admin main.atlas-main { margin:0 0 0 var(--sidebar-width); width:auto; max-width:none; padding:28px 32px 64px; min-width:0; }
.atlas-admin h1 { font-size:clamp(30px,2.4vw,44px); letter-spacing:-.035em; }
.atlas-admin .card { background:linear-gradient(145deg,#15202d,#111a25); border-radius:10px; }
.atlas-admin button:not(.secondary):not(.danger):not(.atlas-menu-toggle) { background:#5c371b; border-color:#9a622d; color:#ffe7c7; }
.atlas-admin button:not(.secondary):not(.danger):not(.atlas-menu-toggle):hover { background:#704522; }
.atlas-admin .strategy-button { background:#4a301c; border-color:#9a622d; color:#ffe7c7; }
.atlas-admin .strategy-tabs a.active { color:var(--accent); border-bottom-color:var(--accent); }
.atlas-admin .strategy-domain { border-left-color:#a66d36; }
.atlas-admin .strategy-opportunity { background:#182331; border-color:#374657; }
.atlas-admin .strategy-content :focus-visible { outline-color:#ffbb69; }
.atlas-admin .strategy-shell { grid-template-columns:minmax(0,1fr); gap:0; }
.atlas-admin .notice { margin:0 0 24px; background:#221c14; border-left-color:#d78c39; color:#d9c6ad; font-size:13px; }
.atlas-admin .strategy-content .notice { margin:16px 0; }
.atlas-admin .atlas-main > footer { color:#738398; font-size:11px; letter-spacing:.02em; }
.atlas-menu-toggle { display:none; }
.atlas-sidebar-close { display:none; }
.atlas-app-switcher { position:relative; margin:0; flex:none; z-index:60; color:#e9b87f; font:12px/1.5 system-ui,sans-serif; }
.atlas-app-switcher > summary { list-style:none; cursor:pointer; display:flex; align-items:center; gap:12px; padding:9px 12px; border:1px solid #72502e; border-radius:6px; color:#f4bc79; background:#151e28; }
.atlas-app-switcher > summary::-webkit-details-marker { display:none; }
.atlas-app-switcher > nav { position:absolute; right:0; top:calc(100% + 8px); display:block; width:220px; min-height:0; padding:8px; margin:0; border:1px solid #46505d; border-radius:8px; background:#111b27; box-shadow:0 16px 40px #0008; }
.atlas-app-switcher > nav > a { display:block; padding:12px; color:#dbe3ec; font:13px/1.4 system-ui,sans-serif; text-decoration:none; border-radius:5px; }
.atlas-app-switcher > nav > a:hover { background:#35271b; color:#ffbc74; }
.atlas-app-switcher :focus-visible { outline:2px solid #ffbb69; outline-offset:3px; }
@media(min-width:2000px) { .atlas-admin { --sidebar-width:284px; } .atlas-topbar { padding-inline:44px; } .atlas-admin main.atlas-main { padding:36px 44px 72px; } .atlas-admin .strategy-grid { gap:24px; } }
@media(max-width:1100px) { .atlas-admin { --sidebar-width:234px; } .atlas-sidebar { padding-inline:12px; } .atlas-brand { gap:8px; } .atlas-brand img { width:48px; height:48px; } .atlas-brand strong { font-size:20px; } .atlas-topbar { padding-inline:22px; } .atlas-admin main.atlas-main { padding-inline:22px; } }
@media(max-width:900px) {
    .atlas-admin.atlas-menu-open { overflow:hidden; }
    .atlas-sidebar { position:static; width:100%; max-height:none; border-right:0; border-bottom:1px solid var(--line); }
    .atlas-sidebar-foot { padding-top:18px; }
    .atlas-admin > .atlas-admin-header, .atlas-admin main.atlas-main { margin-left:0; }
    .atlas-admin.atlas-navigation-ready .atlas-sidebar { display:none; position:fixed; inset:0 auto 0 0; width:var(--sidebar-width); height:100dvh; box-shadow:20px 0 70px #000b; }
    .atlas-admin.atlas-navigation-ready.atlas-menu-open .atlas-sidebar { display:flex; }
    .atlas-navigation-ready .atlas-sidebar-close { display:block; position:absolute; top:8px; right:8px; min-width:44px; min-height:44px; padding:4px 10px; background:transparent; border-color:#455362; font-size:18px; }
    .atlas-navigation-ready .atlas-menu-toggle { display:inline-flex; align-items:center; padding:8px 10px; font-size:13px; background:#1a2735; border-color:#495969; }
    .atlas-topbar { gap:12px; padding:16px; flex-wrap:wrap; }
    .atlas-location { flex:1 1 calc(100% - 90px); }
    .atlas-account { gap:10px; flex-basis:100%; flex-wrap:wrap; }
    .atlas-account > span { flex:1 1 110px; }
    .atlas-account form { margin-left:auto; }
    .atlas-account .atlas-status-panel, .sv-account .atlas-status-panel { position:fixed; top:auto; right:16px; margin-top:8px; }
    .atlas-admin .grid { grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr)); }
    .atlas-admin main.atlas-main { width:100%; padding:22px 16px 48px; }
    .atlas-skip-link { left:16px; }
    .atlas-app-switcher > nav { max-width:calc(100vw - 28px); }
}
@media(prefers-reduced-motion:reduce) { .atlas-chevron { transition:none; } }
@media(max-width:760px) {
    .atlas-work-table, .atlas-work-table tbody { display:block; }
    .atlas-work-table thead { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
    .atlas-work-table tbody tr { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:14px; padding:18px 0; border-bottom:1px solid var(--line); }
    .atlas-work-table td { display:block; padding:0; border:0; min-width:0; overflow-wrap:anywhere; }
    .atlas-work-table td:first-child, .atlas-work-table td:last-child { grid-column:1 / -1; }
    .atlas-work-table td[data-label]::before { content:attr(data-label); display:block; margin-bottom:6px; color:var(--muted); font-size:12px; }
    .atlas-work-table .atlas-row-details { max-width:none; }
}
