/* SLICED TORTURE visual refresh — additive overrides, preserving the existing dashboard. */
:root{--st-bg:#080d09;--st-panel:#101a13;--st-panel-2:#142118;--st-line:#2a4030;--st-muted:#a2b6a7;--st-text:#f2f8f2;--st-lime:#b7f58a;--st-mint:#79d9a0;--st-shadow:0 20px 60px rgba(0,0,0,.28)}
body{background:radial-gradient(ellipse at 78% -10%,rgba(104,190,120,.13),transparent 34%),radial-gradient(ellipse at 0% 52%,rgba(165,233,120,.045),transparent 32%),var(--st-bg);color:var(--st-text);font-size:14px;letter-spacing:.003em}
.shell{grid-template-columns:286px minmax(0,1fr);max-width:1920px;margin:0 auto}
.sidebar{padding:23px 16px 26px;background:rgba(8,14,10,.94);border-right-color:#25382a;scrollbar-width:thin;scrollbar-color:#3e5943 transparent}
.brand{gap:13px;padding:0 9px 22px}.brand img{width:46px;height:46px;border-radius:13px}.brand-name{font-size:14px;letter-spacing:.085em}.brand-sub{font-size:10px;color:#91a997;letter-spacing:.14em}
.sidebar-home{padding:12px 13px;font-size:10px;border-radius:11px;background:linear-gradient(120deg,#17291a,#101c13);border-color:#3e6042}
.nav-group{padding-bottom:7px;margin-bottom:8px}.nav-group>summary{padding:13px 10px 8px;font-size:10px;letter-spacing:.13em}.nav-item{font-size:12px;line-height:1.4;padding:10px 11px;border-radius:10px;gap:10px;color:#b8c7bb}.nav-dot{width:7px;height:7px;border-radius:50%}.nav-item.active{background:linear-gradient(100deg,rgba(183,245,138,.14),rgba(121,217,160,.055));border-color:#426949;color:#c7ff9f}
.sidebar-foot{font-size:11px;line-height:1.65;padding:14px;border-radius:13px;color:#a6b9aa}.sidebar-foot strong{font-size:10px;letter-spacing:.08em}
.main{padding:0 clamp(22px,3.6vw,58px) 52px;min-width:0}.topbar{min-height:82px;gap:18px;border-bottom-color:#26392b}.crumb{font-size:10px;letter-spacing:.13em;color:#9bb0a0}.top-actions{gap:9px}.top-link,.action{font-size:11px;padding:11px 14px;border-radius:11px;letter-spacing:.025em}.global-search-wrap{width:min(360px,28vw)}.global-search-wrap input{min-height:42px;font-size:12px;border-radius:11px;padding:11px 14px}
.hero{padding:42px 0 30px;max-width:1120px}.eyebrow{font-size:10px;letter-spacing:.2em}.hero h1{font-size:clamp(32px,4.4vw,54px);letter-spacing:-.055em;margin:16px 0 12px}.hero .subtitle{font-size:14px;color:#c0f69b;letter-spacing:.015em}.hero .intro{font-size:15px;line-height:1.75;max-width:850px;color:#bccbbf}.meta-row{margin-top:21px;gap:9px}.pill{font-size:10px;padding:7px 10px;letter-spacing:.04em}
.workspace-grid{gap:15px}.workspace-card,.panel{border-color:#2a4030;border-radius:16px;box-shadow:var(--st-shadow)}.workspace-card{padding:20px;min-height:182px;background:linear-gradient(150deg,rgba(19,33,22,.98),rgba(10,18,12,.98))}.workspace-card:hover{transform:translateY(-3px);border-color:#61845b}.workspace-card h3{font-size:15px;line-height:1.35;margin:15px 0 8px}.workspace-card p{font-size:12px;line-height:1.7;color:#aebfb2}.card-link{font-size:10px;letter-spacing:.07em}.symbol{width:38px;height:38px;border-radius:12px;font-size:13px}.mini-status{font-size:9px}.panel{padding:21px;margin-top:18px}.panel h2{font-size:13px;letter-spacing:.09em}.panel p{font-size:13px;line-height:1.75}.section-head{margin:30px 0 14px}.section-head h2{font-size:13px}.section-head p{font-size:12px}.route-card{padding:14px;border-radius:12px}.route-card-copy strong{font-size:12px}.route-card-copy small{font-size:11px}.route-card-mark{width:31px;height:31px}.route-card-status{font-size:9px}.empty-state{font-size:13px;padding:22px;border-radius:13px}
/* Batch 1–3 components: improve legibility without changing their data contracts. */
.b1-panel>h2{font-size:15px}.b1-stat-grid{gap:12px}.b1-stat-grid>div{padding:17px;border-radius:13px}.b1-stat-grid strong{font-size:28px}.b1-stat-grid span{font-size:10px;letter-spacing:.075em}.b1-record{padding:14px;border-radius:12px}.b1-record-main>strong{font-size:13px}.b1-record-main>small{font-size:11px}.b1-record-main>p{font-size:12px}.b1-record-actions .action,.b1-action-row .action{font-size:10px;padding:9px 11px}.b1-field>span{font-size:10px}.b1-field input,.b1-field textarea,.b1-field select,.b1-search-line input{font-size:13px;padding:12px 13px;border-radius:10px}.b1-help{font-size:11px;line-height:1.75}.b1-shortcut strong{font-size:12px}.b1-shortcut span{font-size:10px}.b1-pill{font-size:10px}.b1-graph-tag>strong{font-size:13px}.b1-graph-tag>small,.b1-graph-tag a{font-size:11px}.b1-status{font-size:11px}
/* New Batch 4 workspace surfaces. */
.b4-wrap{max-width:1300px;margin:0 auto 50px}.b4-content{display:grid;grid-template-columns:minmax(290px,.78fr) minmax(0,1.22fr);gap:18px;align-items:start}.b4-panel{min-width:0;border:1px solid #2b4231;border-radius:17px;background:linear-gradient(150deg,rgba(17,29,20,.96),rgba(10,17,12,.97));padding:21px;box-shadow:0 18px 48px rgba(0,0,0,.2);margin:0 0 17px}.b4-panel h2{font-size:14px;letter-spacing:.01em;margin:0 0 15px;color:#eaf5ec}.b4-eyebrow{font-size:9px;letter-spacing:.16em;text-transform:uppercase;color:var(--st-mint);font-weight:900;margin-bottom:8px}.b4-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.b4-field{display:grid;gap:7px;min-width:0}.b4-field>span{font-size:10px;font-weight:850;letter-spacing:.055em;text-transform:uppercase;color:#9fb5a4}.b4-field input,.b4-field textarea,.b4-field select,.b4-search{width:100%;min-width:0;border:1px solid #344e3a;border-radius:10px;background:#0a130c;color:#eef7f0;padding:11px 12px;font:inherit;font-size:13px;line-height:1.5;outline:none}.b4-field textarea{min-height:90px;resize:vertical}.b4-field input:focus,.b4-field textarea:focus,.b4-field select:focus,.b4-search:focus{border-color:var(--st-lime);box-shadow:0 0 0 3px rgba(183,245,138,.12)}.b4-field small{font-size:10px;color:#8ca291}.b4-form-actions,.b4-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:14px}.b4-button{appearance:none;border:1px solid #3b5841;border-radius:10px;padding:10px 13px;background:#18271c;color:#e4f2e7;font-size:11px;font-weight:800;cursor:pointer;transition:transform .15s,border-color .15s,background .15s}.b4-button:hover{transform:translateY(-1px);border-color:#8fb879}.b4-button.primary{background:#b7f58a;color:#142117;border-color:#b7f58a}.b4-button.danger{background:#291614;border-color:#68413b;color:#ffb9ad}.b4-button.quiet{background:transparent;color:#b6c8ba}.b4-message{min-height:18px;margin:10px 0 0;color:#a9dc9b;font-size:11px}.b4-search{margin:0 0 13px}.b4-list{display:grid;gap:10px}.b4-record{min-width:0;border:1px solid #2c4332;border-radius:12px;padding:14px;background:rgba(5,13,8,.43)}.b4-record-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.b4-record-head h3{font-size:13px;line-height:1.4;margin:0;color:#e5f3e7;overflow-wrap:anywhere}.b4-record-head p{font-size:10px;color:#91a899;margin:5px 0 0;line-height:1.5}.b4-record-body{font-size:12px;line-height:1.7;color:#c0d0c3;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:9px}.b4-record .b4-actions{margin-top:0;justify-content:flex-end}.b4-record .b4-actions .b4-button{font-size:9px;padding:7px 9px}.b4-tags{display:flex;flex-wrap:wrap;gap:5px;margin-top:10px}.b4-tags span{border:1px solid #38543d;background:#17281a;color:#c4e9b0;border-radius:999px;padding:4px 8px;font-size:9px}.b4-empty{padding:23px;border:1px dashed #3a5140;border-radius:12px;color:#9eb1a2;font-size:12px;text-align:center;line-height:1.65}.b4-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 18px}.b4-stat{padding:17px;border:1px solid #304735;border-radius:14px;background:linear-gradient(145deg,#15251a,#0d160f);min-width:0}.b4-stat strong{display:block;font-size:25px;line-height:1.2;letter-spacing:-.035em;color:var(--st-lime);overflow-wrap:anywhere}.b4-stat span{display:block;margin-top:7px;color:#9eb2a2;font-size:9px;font-weight:900;letter-spacing:.09em;line-height:1.45}.b4-module-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.b4-module{display:flex;align-items:center;gap:12px;min-width:0;padding:14px;border:1px solid #2d4433;border-radius:13px;background:#0d1710;transition:border-color .15s,transform .15s}.b4-module:hover{border-color:#6d965c;transform:translateY(-2px)}.b4-module-icon{flex:0 0 38px;width:38px;height:38px;display:grid;place-items:center;border:1px solid #3b5a40;background:#1b2d1e;color:#c1f49c;border-radius:11px;font-size:11px;font-weight:900}.b4-module>span:nth-child(2){display:grid;gap:4px;min-width:0;flex:1}.b4-module strong{font-size:12px;color:#e3f1e5;line-height:1.35}.b4-module small{font-size:10px;color:#91a697;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.b4-module>b{color:var(--st-lime);font-size:15px}.b4-callout{display:flex;flex-direction:column;gap:5px;padding:16px 18px;border:1px solid #425b36;border-radius:14px;background:linear-gradient(110deg,rgba(183,245,138,.09),rgba(121,217,160,.025));margin:0 0 16px}.b4-callout strong{font-size:12px;color:#d8f8be}.b4-callout span,.b4-copy{font-size:12px;line-height:1.7;color:#afc2b3}.b4-footnote{font-size:11px;line-height:1.7;color:#809686;border-top:1px solid #273a2b;padding-top:13px;margin-top:20px}.b4-inline-links{display:flex;gap:9px;flex-wrap:wrap}.b4-link{color:#c2f3a1;text-decoration:underline;text-decoration-color:#52754b;text-underline-offset:4px;font-size:12px;font-weight:750;margin-right:12px}.b4-file-button{display:inline-flex;align-items:center;position:relative;overflow:hidden}.b4-file-button input{position:absolute;inset:0;opacity:0;cursor:pointer}
@media(max-width:1250px){.shell{grid-template-columns:260px minmax(0,1fr)}.b4-content{grid-template-columns:1fr}.b4-content>.b4-panel{margin-bottom:14px}}
@media(max-width:850px){.shell{display:block}.sidebar{position:relative;height:auto;max-height:42vh;border-right:0;border-bottom:1px solid var(--st-line);padding:13px 13px 10px}.nav-group{display:inline-block;vertical-align:top;width:max-content;max-width:100%;margin:0 6px 4px 0;border:1px solid #273d2c;border-radius:10px;padding:0 7px}.nav-group>summary{padding:9px 5px}.nav-group .nav-list{max-height:240px;overflow:auto}.main{padding:0 16px 35px}.topbar{align-items:flex-start;flex-wrap:wrap;padding:12px 0}.topbar .crumb{width:100%}.top-actions{width:100%;display:flex;flex-wrap:wrap}.global-search-wrap{flex:1 1 220px;width:auto}.b4-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:580px){.hero{padding-top:30px}.hero h1{font-size:32px}.b4-fields,.b4-module-grid{grid-template-columns:1fr}.b4-stat-grid{gap:8px}.b4-stat{padding:13px}.b4-stat strong{font-size:21px}.b4-record-head{display:grid}.b4-record .b4-actions{justify-content:flex-start}.top-actions .top-link{flex:1}.b1-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.b4-module,.b4-button{transition:none}}

/* Navigation and reading refinements after reviewing the full multipage shell. */
.brand img{width:50px;height:50px;flex:0 0 50px;background:linear-gradient(145deg,#203a25,#0d180f);border:1px solid #416344;object-fit:contain;filter:drop-shadow(0 0 10px rgba(121,217,160,.12))}
.brand>span{display:block;min-width:0}.brand-name,.brand-sub{display:block;white-space:normal}.brand-name{line-height:1.25}.brand-sub{line-height:1.35;margin-top:5px}
.nav-group>summary{border-radius:9px;transition:background .15s,color .15s}.nav-group>summary:hover{background:#101b13;color:#b8e99a}.nav-item{min-height:38px}.nav-item.active{box-shadow:inset 3px 0 0 var(--st-lime);font-weight:850}.nav-item:focus-visible,.workspace-card:focus-visible,.route-card:focus-visible,.b4-module:focus-visible{outline:2px solid var(--st-lime);outline-offset:2px}
.topbar{position:sticky;top:0;z-index:18;background:rgba(8,13,9,.88);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
.hero h1{font-size:clamp(30px,3.7vw,48px);line-height:1.06;max-width:1100px}.hero .intro{max-width:900px}.main{padding-bottom:64px}
.workspace-card,.route-card,.panel,.b4-panel{transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.workspace-card:hover,.route-card:hover{box-shadow:0 24px 60px rgba(0,0,0,.34),0 0 0 1px rgba(183,245,138,.08)}
.global-search-wrap input:focus{border-color:#8bbd70!important;box-shadow:0 0 0 3px rgba(183,245,138,.12)}
button:disabled{cursor:not-allowed;opacity:.48}
@media(max-width:850px){.topbar{position:relative;backdrop-filter:none}.brand img{width:44px;height:44px;flex-basis:44px}.hero h1{font-size:clamp(28px,7vw,40px)}}
@media(prefers-reduced-motion:reduce){.workspace-card,.route-card,.panel,.b4-panel{transition:none}}
