/* TASK 127 — flat black workspace with one restrained violet data accent. */
:root{--bg:#08070a;--panel:#0e0c11;--raised:#151119;--border:#392f40;--text:#f3eff5;--secondary:#c7becb;--muted:#9f94a7;--focus:#dab9ed}
body{background:#08070a;color:var(--text)}
.sidebar{width:auto;background:#0a090d;border-color:#322938;padding:28px 18px 24px}
.app-shell{grid-template-columns:245px minmax(0,1fr)}
.brand,.mobile-brand{font-size:19px;letter-spacing:-.055em}
.brand-star{color:#c8a7da;text-shadow:none}
.brand strong,.mobile-brand strong,.app-footer strong{color:#c8a7da}
.nav-caption{font:700 10px ui-monospace,monospace;letter-spacing:.19em;color:#8f8299}
.side-nav{gap:2px}
.side-nav a{border-radius:2px;color:#bbb1c1;font-size:12px;letter-spacing:.015em}
.side-nav a span{color:#8d739c;font-size:17px}
.side-nav a:hover,.side-nav a[aria-current="page"]{background:#1b1421;color:#f9f4fc;border-color:transparent}
.side-nav a[aria-current="page"]{box-shadow:inset 2px 0 #c4a0dc}
.sidebar-note{border-radius:2px;border-color:#403148;background:#141019}
.sidebar-note .tiny-star{color:#c7a5dc}
.app-topbar{height:76px;background:#08070a;border-color:#322938}
.demo-chip,.state:not(.state-warn){border-radius:2px;background:#17111e;border-color:#493650;color:#c6a6d8}
.top-link,.button.primary{border-radius:2px;background:#bb9bce;color:#140d19;border-color:#c8abd8;box-shadow:none;text-transform:uppercase;letter-spacing:.04em}
.top-link:hover,.button.primary:hover{background:#ddc3e9}
.button.outline{border-radius:2px;background:#120e16;border-color:#5d4668;color:#e6d8ec}
.button.outline:hover{background:#24192c}
main{max-width:1600px;padding:33px 42px 68px}
.page-heading{margin-bottom:31px}
.eyebrow,.section-label{font:700 10px ui-monospace,monospace;letter-spacing:.17em;color:#b99acb}
.page-heading h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(43px,4.2vw,64px);font-weight:400;letter-spacing:-.058em;line-height:1.04}
.page-heading h1 em{font-family:inherit;font-style:italic;font-weight:400;color:#c5a3d9}
.page-heading p:last-child{font-size:13px;color:#bcb1c4}
.stat-grid{gap:1px;background:#3a2d41;border:1px solid #3a2d41;margin-bottom:20px}
.stat-card{min-height:151px;padding:22px;border:0;border-radius:0;background:#0e0c11;box-shadow:none}
.stat-card strong{font-family:Georgia,serif;font-size:30px;font-weight:400}
.stat-card small{color:#9e91a6}
.stat-icon{color:#c1a1d4;font-size:18px}
.overview-grid{gap:20px;margin-bottom:20px}
.panel{background:#0e0c11;border:1px solid #392f40;border-radius:2px;box-shadow:none;padding:24px}
.panel h2{font-family:Georgia,serif;font-size:23px;font-weight:400;letter-spacing:-.035em}
.panel p,.muted{color:#b8adbf}
.action-list a{border-radius:1px;background:#100d13;border-color:#302836}
.action-list a:hover{background:#1b1421}
.action-list a>span{border-radius:1px;background:transparent;color:#b690ce}
.empty-ring{border:1px solid #4a3459;box-shadow:none;width:105px;height:105px;font-family:Georgia,serif;font-size:42px}
.workspace-start{display:grid;grid-template-columns:1fr 1.5fr;gap:28px;margin-bottom:26px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.workspace-start-copy{padding:28px 0}
.workspace-start h2{font-family:Georgia,serif;font-size:clamp(28px,2.5vw,42px);font-weight:400;letter-spacing:-.045em}
.workspace-start-actions{gap:1px;background:#3d3045;border:1px solid #3d3045}
.workspace-start-actions a{min-height:165px;padding:21px;border:0;border-radius:0;background:#100d14;box-shadow:none}
.workspace-start-actions a:hover{transform:none;background:#1e1525}
.workspace-start-actions .start-icon{color:#c9a3de}
.workspace-start-actions strong{font-size:13px}
.resource-grid{gap:1px;background:#3a2d41;border:1px solid #3a2d41;margin-bottom:20px}
.resource{min-height:208px;margin:0;border:0}
.resource-icon{font-size:19px;color:#bf9ccf}
.resource h2{font-family:Georgia,serif;font-size:22px}
.listing-art{border-radius:0;background:#19111e}
.catalog-filters{border-radius:1px;background:#0e0c11}
.catalog-search-box,.catalog-filters select{border-radius:1px}
.luna-workspace iframe{border-radius:1px}
.dashboard-hero{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);min-height:385px;margin-bottom:31px;overflow:hidden;border:1px solid #584064;background:#100b16}
.dashboard-hero::before{content:'';position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,#120c19 0%,#120c19e8 36%,transparent 74%),radial-gradient(circle at 77% 45%,#69418160,transparent 56%)}
.dashboard-hero-copy{position:relative;z-index:2;align-self:center;padding:42px 0 48px 48px}
.dashboard-hero-kicker,.dashboard-hero-index{font:700 10px ui-monospace,monospace;letter-spacing:.17em;color:#c8a8d9}
.dashboard-hero h2{font-family:Georgia,serif;font-size:clamp(50px,5vw,84px);font-weight:400;letter-spacing:-.068em;line-height:.98;margin:22px 0}
.dashboard-hero h2 em{font-weight:400;color:#d2b4e5}
.dashboard-hero p{max-width:410px;color:#c5b9cf;font-size:13px;line-height:1.65}
.dashboard-hero-actions{display:flex;flex-wrap:wrap;gap:20px;margin-top:25px}
.dashboard-hero-actions a{padding-bottom:6px;border-bottom:1px solid #a98abc;font:700 11px ui-monospace,monospace;letter-spacing:.04em;color:#ead7f2}
.dashboard-hero-actions a:hover{color:#fff;border-color:#fff}
.dashboard-hero-image{position:absolute;z-index:-1;inset:0 0 0 26%;width:74%;height:100%;object-fit:cover;object-position:right center;filter:saturate(.85) contrast(1.06)}
.dashboard-hero-index{position:absolute;right:25px;bottom:20px;color:#d4c4dd}
.upgrade-layout{display:grid;grid-template-columns:minmax(300px,.88fr) minmax(0,1.12fr);gap:18px;align-items:start}
.upgrade-layout .panel{margin:0}
.upgrade-results{display:grid;gap:18px;min-width:0}
.upgrade-panel-heading{display:flex;justify-content:space-between;align-items:baseline;gap:15px;padding-bottom:20px;margin-bottom:19px;border-bottom:1px solid #46344e}
.upgrade-panel-heading span,.upgrade-evidence>div>span{font:700 10px ui-monospace,monospace;letter-spacing:.13em;color:#b896c9}
.upgrade-panel-heading strong{font-size:11px;color:#a89aaf;font-weight:500;text-align:right}
.upgrade-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.upgrade-fields label{display:block;min-width:0;font-size:12px;color:#e8ddeb}
.upgrade-fields label span{float:right;color:#9d8ba7;font-size:10px}
.upgrade-fields input,.upgrade-fields select{display:block;width:100%;min-height:42px;margin-top:7px;padding:9px 11px;color:#f5edf7;background:#08070a;border:1px solid #574161;border-radius:1px;font:12px ui-sans-serif,system-ui,sans-serif}
.upgrade-fields input::placeholder{color:#75687d}
.upgrade-fields input:focus,.upgrade-fields select:focus{border-color:#c5a3d8;outline:2px solid #ad83c55e;outline-offset:0}
.upgrade-fields label:first-child{grid-column:1/-1}
.upgrade-fit{margin:22px 0 0;padding:16px;border-left:2px solid #ac85c5;background:#1b1320;color:#d5c5df}
.upgrade-meter>div:first-child{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.upgrade-meter span{font:700 11px ui-monospace,monospace;letter-spacing:.1em;color:#b99acb}
.upgrade-meter strong{font-family:Georgia,serif;font-size:29px;font-weight:400;color:#ead6f2}
.upgrade-track{position:relative;height:34px;margin:18px 0 26px;border-bottom:1px solid #5e486a;background:repeating-linear-gradient(90deg,transparent 0 24%,#6e557b55 24.1% 24.2%,transparent 24.3% 25%)}
.upgrade-track i,.upgrade-track b{position:absolute;left:0;height:8px;transition:width .25s ease}
.upgrade-track i{top:4px;background:#746181}
.upgrade-track b{top:20px;background:#c29bd9}
.upgrade-deltas{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:#4b3855;border:1px solid #4b3855}
.upgrade-deltas>div{padding:15px;background:#120e17}
.upgrade-deltas small,.upgrade-money small{display:block;font:700 10px ui-monospace,monospace;letter-spacing:.04em;color:#9e90a6}
.upgrade-deltas strong{display:block;margin-top:9px;font-family:Georgia,serif;font-size:18px;font-weight:400;color:#e7d9ee}
.upgrade-capability>p,.upgrade-finance>p{font-size:11px;line-height:1.65;color:#a99ab0;margin:18px 0 0}
.upgrade-money{display:grid;grid-template-columns:repeat(2,1fr);gap:1px;margin-top:26px;background:#48344f;border:1px solid #48344f}
.upgrade-money>div{min-height:90px;padding:16px;background:#130e18}
.upgrade-money>div.upgrade-primary-result{background:#291a31}
.upgrade-money strong{display:block;margin-top:10px;color:#eedcf5;font-family:Georgia,serif;font-size:23px;font-weight:400}
.upgrade-evidence{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:20px;border-color:#5d4568;background:#17101c}
.upgrade-evidence h2{margin:8px 0}
.upgrade-evidence p{max-width:700px;margin:0}
.upgrade-evidence a{white-space:nowrap}
@media(max-width:1180px){.app-shell{grid-template-columns:210px minmax(0,1fr)}main{padding-inline:25px}.dashboard-hero h2{font-size:clamp(46px,5vw,67px)}.upgrade-layout{grid-template-columns:1fr}.upgrade-inputs .upgrade-fields{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.app-shell{display:block}.sidebar{position:static;height:auto;border-right:0;border-bottom:1px solid #362b3c;padding:13px 16px}.app-topbar{height:62px}main{padding:23px 17px 50px}.dashboard-hero{min-height:340px}.dashboard-hero-copy{padding:30px}.dashboard-hero-image{inset:0 0 0 15%;opacity:.75}.dashboard-hero::before{background:linear-gradient(90deg,#120c19 0%,#120c19df 55%,transparent 100%)}.workspace-start{grid-template-columns:1fr}.workspace-start-copy{padding:10px 0}.upgrade-inputs .upgrade-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.dashboard-hero{min-height:440px}.dashboard-hero-copy{padding:29px 23px;align-self:start}.dashboard-hero h2{font-size:clamp(48px,12vw,63px)}.dashboard-hero-image{inset:25% -50% 0 0;opacity:.56}.dashboard-hero::before{background:linear-gradient(180deg,#120c19 0%,#120c19b0 50%,#120c1920 100%)}.dashboard-hero-index{right:12px;bottom:13px;font-size:8px}.upgrade-fields,.upgrade-inputs .upgrade-fields{grid-template-columns:1fr 1fr;gap:12px}.upgrade-fields label:first-child{grid-column:1/-1}.upgrade-fields label{font-size:11px}.upgrade-deltas strong{font-size:14px}.upgrade-money{grid-template-columns:1fr}.upgrade-money>div{min-height:75px}.upgrade-evidence{display:block}.upgrade-evidence a{margin-top:18px}.stat-grid{grid-template-columns:repeat(2,1fr)}}
@media(prefers-reduced-motion:reduce){.upgrade-track i,.upgrade-track b{transition:none}}

/* Astra review: show usable readings in the first viewport. */
#overview>.page-heading{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#overview .workspace-start{display:none}
.page-heading h1{font-family:Arial,'Segoe UI',sans-serif;font-size:clamp(29px,2.6vw,36px);font-weight:750;letter-spacing:-.05em}
.page-heading h1 em{font-family:inherit;font-style:normal;font-weight:750}
.dashboard-hero{min-height:248px;grid-template-columns:1fr 1fr}
.dashboard-hero-copy{padding:28px 0 28px 35px}
.dashboard-hero h2{font-family:Arial,'Segoe UI',sans-serif;font-size:clamp(37px,3.6vw,55px);font-weight:800;letter-spacing:-.065em;line-height:.98;margin:14px 0}
.dashboard-hero h2 em{font-style:normal;font-weight:800}
.dashboard-hero p{font-size:11px;max-width:430px;margin:10px 0}
.dashboard-hero-actions{margin-top:15px}
.dashboard-hero-image{inset:0 0 0 23%;width:77%;object-position:right center}
.stat-card strong,.upgrade-money strong,.upgrade-deltas strong{font-variant-numeric:tabular-nums}
@media(max-width:520px){.dashboard-hero{min-height:370px}.dashboard-hero-copy{padding:26px 20px}.dashboard-hero h2{font-size:42px}.dashboard-hero-image{inset:20% -30% 0 0}}
.upgrade-inputs label:has(#upgrade-family){order:0}
.upgrade-inputs label:has(#upgrade-current-vram){order:1}
.upgrade-inputs label:has(#upgrade-target-vram){order:2}
.upgrade-inputs label:has(#upgrade-current-ram){order:3}
.upgrade-inputs label:has(#upgrade-target-ram){order:4}
.upgrade-inputs label:has(#upgrade-current-cpu){order:5}
.upgrade-inputs label:has(#upgrade-target-cpu){order:6}
.upgrade-inputs label:has(#upgrade-current-ssd){order:7}
.upgrade-inputs label:has(#upgrade-target-ssd){order:8}
.upgrade-inputs label:has(#upgrade-model){order:9;grid-column:1/-1}
.stat-card strong,.panel h2,.upgrade-meter strong,.upgrade-deltas strong,.upgrade-money strong{font-family:Arial,'Segoe UI',sans-serif;font-weight:700;letter-spacing:-.04em}
.upgrade-meter strong,.upgrade-money strong{font-variant-numeric:tabular-nums}
