/* Simulation mounted straight in the Launch App shell (22 Nov 2026): no frame, one page, one scroll.
   The module's own stylesheet (simulation.css) lays it out and the shell skin (mit-skin.css, html.mit-skin) gives it the shell's type and
   colours. This file finishes it for the shell page: nothing inside scrolls on its own, and hairlines stand where boxes stood. Looks only. */

/* ---------- one page, one scroll ---------- */
#pSim #simulationPage{margin-top:26px}
#pSim .sm-wrap{width:100%;max-width:none;margin:0;padding:0 0 46px}
html.mit-skin #pSim .sm-ctl{position:static!important;max-height:none!important;overflow:visible!important}      /* the settings column no longer scrolls inside itself */
html.mit-skin #pSim .sm-out{overflow:visible!important;scroll-margin-top:96px}
html.mit-skin #pSim .sm-runbar{position:sticky!important;bottom:0!important;margin:14px 0 0!important;padding:14px 0 16px!important;background:#040404!important;background-image:none!important;border-top:1px solid var(--tl)!important;z-index:3}

/* ---------- heading ---------- */
#pSim .sm-head{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:10px clamp(24px,4vw,64px);align-items:end;margin-bottom:30px}
html.mit-skin #pSim .sm-h1{font-size:clamp(34px,4.6vw,68px)!important;line-height:1.02!important;margin:10px 0 0!important}
#pSim .sm-lead{font-size:16px;line-height:1.55;max-width:520px;justify-self:end}

/* ---------- hairlines in place of boxes ---------- */
#pSim .sm-grid{grid-template-columns:minmax(0,360px) minmax(0,1fr);gap:clamp(26px,4vw,64px)}
html.mit-skin #pSim :is(.sm-card,.sm-hero,.sm-panel,.sm-kpi){background-color:transparent!important;background-image:none!important;border:0!important;padding:0!important}
html.mit-skin #pSim .sm-ctl{border-top:1px solid var(--tl)!important}
#pSim .sm-sec{padding:20px 0 22px;border-bottom:1px solid var(--tl)}
#pSim .sm-sec:first-child{padding-top:20px}
#pSim .sm-sh{gap:12px;margin:0 0 16px;font-size:17px}
html.mit-skin #pSim .sm-sh span{width:auto!important;height:auto!important;background:none!important;border:0!important;font-family:var(--mk-mono)!important;font-size:10.5px!important;letter-spacing:.2em!important;color:var(--mk-a)!important}
#pSim .sm-sh span::before{content:"0"}
html.mit-skin #pSim .sm-sh span{display:inline-block!important;white-space:nowrap}
#pSim .sm-fld{margin-top:16px}
#pSim .sm-run{height:52px}

/* results: one column of ruled blocks */
html.mit-skin #pSim .sm-out{border-top:1px solid var(--tl)!important;min-height:0}
html.mit-skin #pSim .sm-hero{padding:24px 0 26px!important;border-bottom:1px solid var(--tl)!important;grid-template-columns:minmax(0,1fr) 168px;gap:24px}
html.mit-skin #pSim .sm-big{font-size:clamp(52px,7.4vw,112px)!important;font-weight:200!important;letter-spacing:-.04em!important;line-height:.95!important;margin-top:10px}
#pSim .sm-sub{margin-top:10px;color:var(--tm)}
#pSim .sm-chips{gap:8px;margin-top:18px}
html.mit-skin #pSim .sm-chip{background:none!important;border:1px solid var(--tl)!important;padding:7px 11px!important;font-family:var(--mk-mono)!important;font-size:10.5px!important;letter-spacing:.08em!important;color:var(--tm)!important}
html.mit-skin #pSim .sm-chip.my{color:var(--mk-a)!important}
#pSim .sm-ring{width:160px;height:160px}
#pSim .sm-ring circle{stroke-width:5;stroke-linecap:butt}
html.mit-skin #pSim .sm-ring .c b{font-size:30px!important;font-weight:200!important}
#pSim .sm-kpis{gap:0;border-bottom:1px solid var(--tl)}
html.mit-skin #pSim .sm-kpi{padding:20px 18px 22px!important;border-right:1px solid var(--tl)!important}
html.mit-skin #pSim .sm-kpi:first-child{padding-left:0!important}
html.mit-skin #pSim .sm-kpi:last-child{border-right:0!important}
#pSim .sm-kpi:hover{transform:none}
html.mit-skin #pSim .sm-kpi small{font-family:var(--mk-mono)!important;font-size:10px!important;letter-spacing:.2em!important;color:var(--mk-f)!important}
html.mit-skin #pSim .sm-kpi b{margin-top:10px;font-size:clamp(22px,2.2vw,32px)!important;font-weight:200!important;letter-spacing:-.02em!important}
html.mit-skin #pSim .sm-panel{padding:22px 0 24px!important;border-bottom:1px solid var(--tl)!important}
#pSim .sm-split{gap:0 clamp(24px,3.4vw,52px)}
#pSim .sm-notes{margin:18px 0 0;padding-left:18px;color:var(--tm);font-size:13.5px}

/* before a run: a calm empty state, no placeholder blocks */
#pSim .sm-empty .sm-skel{display:none}
#pSim .sm-empty,#pSim .sm-prog{padding:26px 0 0}
html.mit-skin #pSim .sm-empty-hd b,html.mit-skin #pSim .sm-prog-hd b{font-size:clamp(24px,2.6vw,36px)!important;font-weight:200!important;letter-spacing:-.03em!important;line-height:1.1}
#pSim .sm-empty-hd p{font-size:16px;margin-top:10px}
#pSim .sm-steps{margin-top:20px}

@media (max-width:1099px){
  #pSim .sm-grid{grid-template-columns:minmax(0,1fr)}
  #pSim .sm-head{grid-template-columns:minmax(0,1fr)}
  #pSim .sm-lead{justify-self:start}
  html.mit-skin #pSim .sm-runbar{position:static!important}
}
@media (max-width:640px){
  html.mit-skin #pSim .sm-hero{grid-template-columns:minmax(0,1fr)}
  #pSim .sm-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  html.mit-skin #pSim .sm-kpi{padding:16px 14px 18px!important}
  html.mit-skin #pSim .sm-kpi:nth-child(odd){padding-left:0!important}
  html.mit-skin #pSim .sm-kpi:nth-child(2n){border-right:0!important}
  html.mit-skin #pSim .sm-kpi:nth-child(-n+2){border-bottom:1px solid var(--tl)!important}
}

/* the walk-forward verdict (strategy.css): a ruled block like the rest, its colour kept only on the label */
html.mit-skin #pSim .cls-vd{background:none!important;border:0!important;border-bottom:1px solid var(--tl)!important;border-radius:0!important;padding:22px 0 24px!important;margin:0!important}
