/* SimuSite interface · light appearance. */

:root {
  --bg: #eef0f3; --card: #ffffff; --ink: #0d0f14; --ink2: #3d434f; --mut: #4f5562; --mut2: #5c6370;
  --line: rgba(13,15,20,.12); --line2: rgba(13,15,20,.22); --chip: rgba(255,255,255,.9);
  --inv: #0d0f14; --invfg: #ffffff; --red: #c42b24; --btn: #c92e27; --ok: #1f7a45; --miss: #9a5b00;
  --mock: #5b3f91; --mock-bg: #ece6f7; --view: #9ca2af; --paper: #ffffff;
  color-scheme: light;
}
:root { --sans: Inter, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif; --mono: "Space Mono", ui-monospace, Menlo, monospace; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; height: 100%; }
body { background: var(--bg); color: var(--ink); font: 15px/1.5 var(--sans); }
a { color: inherit; }
a:hover { color: var(--red); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0; }
.mono { font-family: var(--mono); }
.muted { color: var(--mut); }
.small { font-size: 13px; }
.red { color: var(--red); }

/* ---------- shell */
.top { position: sticky; top: 0; z-index: 20; min-height: 64px; display: flex; align-items: center; gap: 28px; padding: 10px 24px; background: var(--bg); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; }
.brand .logo { height: 30px; width: auto; display: block; }
.nav { display: flex; gap: 22px; flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--ink2); font-size: 14.5px; padding: 4px 0; }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--red); }
.top .right { margin-left: auto; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.proto { font: 700 10.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mock); background: var(--mock-bg); border-radius: 999px; padding: 4px 10px; }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--btn); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.top .menu-btn { display: none; }
main { min-height: calc(100% - 64px); }

/* ---------- common */
.wrap { max-width: 1240px; margin: 0 auto; padding: 48px 28px 96px; }
.eyebrow { font: 700 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mut); }
.kicker { display: flex; align-items: center; gap: 14px; font: 700 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.kicker b { color: var(--red); font-weight: 700; }
.kicker::after { content: ""; flex: 0 1 120px; height: 1px; background: var(--line2); }
.display { font-size: clamp(48px, 7vw, 108px); line-height: .95; letter-spacing: -0.055em; font-weight: 800; }
.display.md { font-size: clamp(40px, 5vw, 72px); line-height: .98; letter-spacing: -0.05em; }
.display.sm { font-size: clamp(32px, 3.8vw, 52px); line-height: 1; letter-spacing: -0.05em; }
.display span { color: var(--red); }
.lede { font-size: 17px; color: var(--ink2); max-width: 640px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; border: 1px solid var(--line2); background: transparent; color: var(--ink); border-radius: 999px; padding: 0 18px; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.btn:hover { border-color: var(--ink); color: var(--ink); }
.btn:disabled { opacity: .45; cursor: default; }
.btn.primary { background: var(--inv); color: var(--invfg); border-color: var(--inv); }
.btn.accent { background: var(--btn); color: #fff; border-color: var(--btn); }
.btn.accent:hover { color: #fff; }
.btn.ghost { border-color: transparent; }
.btn.sm { min-height: 34px; padding: 0 12px; font-size: 13px; }
.btn.lg { min-height: 54px; padding: 0 28px; font-size: 16px; }
.btn.danger { color: var(--red); }
.seg { display: inline-flex; border: 1px solid var(--line2); border-radius: 999px; padding: 3px; background: var(--chip); }
.seg button { border: 0; background: none; padding: 0 14px; min-height: 34px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--inv); color: var(--invfg); }
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pills button { min-height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line2); background: transparent; font-size: 14px; font-weight: 600; }
.pills button[aria-pressed="true"] { background: var(--inv); color: var(--invfg); border-color: var(--inv); }
.tag { display: inline-block; font: 700 10.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; border-radius: 999px; padding: 2px 9px; }
.tag.mock { color: var(--mock); background: var(--mock-bg); }
.tag.live { color: var(--ok); border: 1px solid currentColor; }
.tag.plan { color: var(--miss); border: 1px solid currentColor; }
.card { border: 1px solid var(--line); border-radius: 20px; padding: 20px; background: var(--card); }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
label.f { display: grid; gap: 4px; font-size: 12.5px; color: var(--mut); }
label.f input, label.f select, label.f textarea, .inp { border: 1px solid var(--line2); border-radius: 12px; padding: 8px 12px; background: var(--bg); font-size: 14px; color: var(--ink); width: 100%; min-height: 40px; }
.inp.round { border-radius: 999px; padding: 0 18px; min-height: 48px; }
.note { font-size: 13px; color: var(--mut); }
.notice { border: 1px solid var(--line2); background: var(--mock-bg); padding: 12px 14px; font-size: 13px; border-radius: 14px; }
.notice.warn { background: transparent; border-color: var(--miss); }
table.t { width: 100%; border-collapse: collapse; font-size: 14px; }
table.t th { text-align: left; font: 700 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mut); border-bottom: 1px solid var(--line2); padding: 10px 8px; }
table.t td { border-bottom: 1px solid var(--line); padding: 12px 8px; vertical-align: top; }
table.t td.n { font-family: var(--mono); text-align: right; white-space: nowrap; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--inv); color: var(--invfg); padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; z-index: 50; }
.numlist { list-style: none; margin: 0; padding: 0; display: grid; }
.numlist li { display: grid; grid-template-columns: 44px 1fr; gap: 8px; padding: 16px 0; border-top: 1px solid var(--line); }
.numlist li > span:first-child { font: 700 12px var(--mono); color: var(--red); padding-top: 3px; }
.numlist b { font-size: 16.5px; font-weight: 600; }
.numlist p { color: var(--mut); font-size: 14.5px; margin-top: 3px; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); column-gap: 40px; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 48px; align-items: end; }
.section { margin-top: 120px; }
.shot { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); position: relative; background: var(--view); }
.shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.chip { position: absolute; background: var(--chip); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font: 700 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }

/* ---------- home */
.hero { text-align: center; padding-top: 16px; }
.hero .lede { margin: 26px auto 0; font-size: 18px; }
.hero .cta { display: flex; gap: 12px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.badge-pill { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--line2); border-radius: 999px; padding: 8px 16px; font: 700 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.badge-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.hero .shot { margin-top: 48px; height: min(60vw, 600px); }
.figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; margin-top: 44px; }
.figs figure { margin: 0; }
.figs img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 18px; display: block; }
.figs figcaption { margin-top: 12px; } .figs figcaption b { font-size: 17px; font-weight: 600; } .figs figcaption span { display: block; font: 700 11.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mut2); margin-top: 4px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); border-top: 1px solid var(--line); margin-top: 28px; }
.stats div { padding: 22px 16px 22px 0; } .stats small { font: 700 11.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mut2); }
.stats b { display: block; font-size: 42px; font-weight: 800; letter-spacing: -0.04em; } .stats b em { font-style: normal; color: var(--red); } .stats b i { font-style: normal; font-size: 18px; color: var(--mut); }
.foot { max-width: 1240px; margin: 120px auto 0; padding: 28px; border-top: 1px solid var(--line); display: flex; gap: 20px; flex-wrap: wrap; justify-content: space-between; font-size: 13px; color: var(--mut); }
.foot .logo { height: 18px; color: var(--ink); }
.pcard h3 { font-size: 17px; margin-bottom: 4px; }
.pcard .meta { font: 700 11.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mut2); margin: 6px 0 14px; }
.pcard .acts { display: flex; gap: 8px; flex-wrap: wrap; }
.pcard .thumb { margin: -20px -20px 16px; height: 170px; background: var(--view); }
.pcard .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- workspace */
.ws { display: grid; grid-template-columns: 280px minmax(0, 1fr) 310px; height: calc(100vh - 64px); }
.ws > aside { overflow: auto; border-right: 1px solid var(--line); }
.ws > aside.r { border-right: 0; border-left: 1px solid var(--line); }
.pane { padding: 16px 18px; border-bottom: 1px solid var(--line); display: grid; gap: 10px; }
.pane h2 { font: 700 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mut); display: flex; justify-content: space-between; align-items: center; }
.stage { position: relative; background: var(--view); min-width: 0; }
.stage .vp { position: absolute; inset: 0; }
.stage .vp canvas { width: 100%; height: 100%; display: block; }
.stage .bar { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; gap: 8px; flex-wrap: wrap; z-index: 3; pointer-events: none; }
.stage .bar > * { pointer-events: auto; }
.stage .bar .btn { background: var(--chip); }
.stage .hint { position: absolute; right: 14px; bottom: 14px; background: var(--chip); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 12.5px; color: var(--ink2); max-width: 380px; }
.stage .badge { position: absolute; left: 14px; bottom: 14px; background: var(--chip); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font: 700 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.layer { border-top: 1px solid var(--line); }
.layer:first-child { border-top: 0; }
.layer .lh { display: grid; grid-template-columns: 14px 1fr auto auto auto; gap: 8px; align-items: center; padding: 7px 0; font-size: 13.5px; }
.layer .sw { width: 11px; height: 11px; border-radius: 3px; }
.layer .lh button { border: 0; background: none; padding: 2px 4px; color: var(--mut); font-size: 12px; border-radius: 6px; }
.layer .lh button:hover { color: var(--ink); }
.layer .lh .cnt { font: 11px var(--mono); color: var(--mut2); }
.layer.off .lh > span:not(.sw) { opacity: .45; }
.comps { display: grid; padding: 0 0 6px 22px; }
.comps button { text-align: left; border: 0; background: none; padding: 4px 8px; border-radius: 8px; font-size: 13px; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.comps button:hover { color: var(--ink); }
.comps button[aria-current="true"] { background: var(--mock-bg); color: var(--ink); font-weight: 600; box-shadow: inset 2px 0 0 var(--red); }
.dims { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.dims input { font-family: var(--mono) !important; }
.vrow { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.vrow:first-child { border-top: 0; }
.vrow .vn { font: 700 12px var(--mono); color: var(--mut); }
.vrow.cur .vn { color: var(--red); }
.vrow .vmeta { font: 11px var(--mono); color: var(--mut2); }
.dirty { color: var(--miss); font-size: 12.5px; }
.drop { border: 1.5px dashed var(--line2); border-radius: 16px; padding: 16px; text-align: center; font-size: 12.5px; color: var(--mut); }
.drop.over { border-color: var(--red); }

/* ---------- simulations */
.simgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 20px; margin-top: 28px; }
.sim { display: flex; flex-direction: column; gap: 8px; }
.sim .top2 { display: flex; justify-content: space-between; gap: 10px; font: 700 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.sim .top2 span:first-child { color: var(--red); } .sim .top2 span:last-child { color: var(--mut2); }
.sim h3 { font-size: 23px; letter-spacing: -0.03em; }
.sim .inputs { font: 700 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mut2); margin: 4px 0 10px; }
.sim .acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.run { display: grid; grid-template-columns: 300px minmax(0, 1fr) 330px; height: calc(100vh - 64px); }
.run > aside { overflow: auto; border-right: 1px solid var(--line); }
.run > aside.r { border-right: 0; border-left: 1px solid var(--line); }
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.kpis div { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; }
.kpis small { display: block; font: 700 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mut2); }
.kpis b { font-size: 28px; font-weight: 800; letter-spacing: -0.04em; }
.prog { height: 4px; background: var(--line); border-radius: 2px; overflow: hidden; } .prog i { display: block; height: 100%; width: 0; background: var(--red); transition: width .1s linear; }

/* ---------- results */
.cmp { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cmp .vp2 { position: relative; height: 320px; background: var(--view); border-radius: 20px; overflow: hidden; border: 1px solid var(--line); }
.cmp .vp2 .lab { position: absolute; left: 12px; top: 12px; background: var(--chip); border-radius: 999px; padding: 5px 12px; font: 700 11px var(--mono); letter-spacing: .1em; z-index: 2; }
.bars { display: grid; gap: 10px; }
.bars .b { display: grid; grid-template-columns: 44px 1fr 90px; gap: 12px; align-items: center; font: 700 12px var(--mono); }
.bars .b i { display: block; height: 10px; background: var(--mut); border-radius: 999px; }
.bars .b.v2 i { background: var(--red); }

/* ---------- pricing, login, account */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; margin-top: 48px; }
.pplan { display: flex; flex-direction: column; gap: 16px; border-radius: 22px; padding: 28px; background: var(--card); border: 1px solid var(--line); position: relative; }
.pplan.pro { background: var(--paper); color: #111; border-color: transparent; box-shadow: 0 0 0 1px var(--line2); }
.pplan.pro .muted, .pplan.pro .eyebrow { color: #5a5853; }
.pplan .price { font-size: 52px; font-weight: 800; letter-spacing: -0.04em; }
.pplan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 14.5px; }
.pplan .btn { margin-top: auto; }
.pplan.pro .btn:not(.accent) { color: #111; border-color: rgba(0,0,0,.25); }
.ribbon { position: absolute; right: 20px; top: 20px; background: var(--btn); color: #fff; border-radius: 999px; padding: 4px 12px; font: 700 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.auth { display: flex; flex-wrap: wrap; gap: 72px; align-items: center; justify-content: center; max-width: 1240px; margin: 0 auto; padding: 56px 28px 96px; }
.acct { max-width: 1240px; margin: 0 auto; padding: 40px 28px 96px; display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.acct nav { flex: 1 1 200px; max-width: 230px; display: grid; gap: 4px; position: sticky; top: 88px; }
.acct nav a { padding: 10px 14px; border-radius: 12px; text-decoration: none; color: var(--ink2); }
.acct nav a:hover { background: var(--card); color: var(--ink); }
.acct > div { flex: 999 1 640px; min-width: 0; display: grid; gap: 80px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.facts div { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; min-width: 0; }
.facts small { display: block; font: 700 10.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mut2); }
.facts b { display: block; margin-top: 4px; font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.facts span { display: block; font-size: 12px; color: var(--ok); } .facts span.miss { color: var(--miss); } .facts span.wait { color: var(--mut); }
.map { position: relative; height: 300px; border-radius: 18px; overflow: hidden; background: var(--view); border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.4); }
.results { display: grid; gap: 4px; margin-top: 8px; }
.results button { text-align: left; border: 1px solid var(--line); background: var(--card); border-radius: 12px; padding: 10px 14px; font-size: 14px; }
.results button:hover { border-color: var(--ink); }

/* ---------- responsive */
@media (max-width: 1080px) {
  .ws { grid-template-columns: 240px minmax(0, 1fr) 270px; }
  .run { grid-template-columns: 250px minmax(0, 1fr) 290px; }
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .top { gap: 10px; padding: 10px 16px; }
  .top .menu-btn { display: inline-flex; }
  .nav { display: none; width: 100%; flex-direction: column; gap: 0; order: 9; }
  .nav.open { display: flex; } .nav a { padding: 10px 0; border-top: 1px solid var(--line); }
  .top .right .proto { display: none; }
  .wrap { padding: 28px 16px 64px; }
  .g2, .g3, .g4, .cmp, .facts { grid-template-columns: 1fr; }
  .ws, .run { grid-template-columns: 1fr; height: auto; }
  .ws > aside, .run > aside { border-right: 0; border-bottom: 1px solid var(--line); }
  .ws .stage, .run .stage { height: 58vh; order: -1; }
  .stage .hint { display: none; }
  .section { margin-top: 80px; }
  .acct nav { position: static; max-width: none; display: flex; flex-wrap: wrap; }
}

/* ---------------------------------------------------------------- Workspace v2 (TEMP): Rhino-like layout */
.tag.temp { color: var(--red); border: 1px solid currentColor; margin-left: 4px; vertical-align: 1px; }
.w2 { display: grid; grid-template-columns: 48px 260px minmax(0, 1fr) 300px; grid-template-rows: minmax(0, 1fr) 30px; height: calc(100vh - 64px); }
.w2-rail { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 0; border-right: 1px solid var(--line); background: var(--bg); }
.w2-rail button { width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 10px; background: none; color: var(--mut); }
.w2-rail button:hover { color: var(--ink); background: var(--chip); }
.w2-rail button[aria-pressed="true"] { color: var(--ink); background: var(--chip); box-shadow: inset 2px 0 0 var(--red); }
.w2-rail button { position: relative; }
.card.sim .rdy { font-size: 12px; color: var(--mut); margin-left: auto; white-space: nowrap; }
.card.sim .rdy.no { color: var(--red); }
.w2-rail button.w2-next::after { content: ''; position: absolute; top: 5px; right: 5px; width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 2px var(--bg); }
.w2-rail .sp, .w2-status .sp { flex: 1; }
.w2-panel, .w2-right { overflow: auto; min-height: 0; }
.w2-panel { border-right: 1px solid var(--line); }
.w2-right { border-left: 1px solid var(--line); }
.w2-sec { display: grid; gap: 2px; }
.w2-sec h3 { font: 700 10.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mut2); margin: 8px 0 4px; }
.w2-item { text-align: left; border: 0; background: none; padding: 6px 8px; border-radius: 8px; font-size: 13px; color: var(--ink2); }
.w2-item:hover { background: var(--chip); color: var(--ink); }
.w2-cap { position: absolute; top: 12px; left: 12px; z-index: 4; display: flex; align-items: center; background: var(--chip); border: 1px solid var(--line2); border-radius: 999px; }
.w2-cap > div { position: relative; }
.w2-cap button { border: 0; background: none; padding: 7px 14px; font-size: 12.5px; font-weight: 600; color: var(--ink); border-radius: 999px; }
.w2-sep { width: 1px; height: 16px; background: var(--line2); }
.w2-menu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 210px; display: grid; gap: 2px; padding: 6px; background: var(--card); border: 1px solid var(--line2); border-radius: 12px; box-shadow: 0 16px 40px rgba(0,0,0,.3); }
.w2-menu[hidden] { display: none; }
.w2-menu button { display: flex; justify-content: space-between; gap: 12px; text-align: left; padding: 7px 10px; border-radius: 8px; font-weight: 500; }
.w2-menu button:hover { background: var(--chip); }
.w2-menu button[aria-checked="true"] { box-shadow: inset 2px 0 0 var(--red); font-weight: 700; }
.w2-menu small { font: 11px var(--mono); color: var(--mut2); }
.w2-mnote { font-size: 11.5px; color: var(--mut); padding: 6px 10px 2px; }
.w2-tr { position: absolute; top: 12px; right: 12px; z-index: 3; display: flex; gap: 6px; }
.w2-tr .btn { background: var(--chip); }
.w2-mini { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.w2-mini .btn[aria-pressed="true"] { background: var(--inv); color: var(--invfg); border-color: var(--inv); }
.w2-lhead, .w2-lrow { display: grid; grid-template-columns: 12px minmax(0, 1fr) 24px 28px 28px; gap: 6px; align-items: center; }
.w2-lhead { font: 700 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mut2); padding: 2px 0 4px; border-bottom: 1px solid var(--line); }
.w2-layer { border-bottom: 1px solid var(--line); }
.w2-lrow { padding: 5px 0; font-size: 13px; }
.w2-lrow .sw { width: 11px; height: 11px; border-radius: 3px; }
.w2-lrow .nm { text-align: left; border: 0; background: none; padding: 0; color: inherit; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w2-lrow .cnt { font: 11px var(--mono); color: var(--mut2); text-align: right; }
.w2-lrow .ic { width: 28px; height: 26px; display: grid; place-items: center; border: 0; background: none; border-radius: 6px; color: var(--mut); }
.w2-lrow .ic:hover { background: var(--chip); color: var(--ink); }
.w2-lrow .ic[aria-pressed="true"] { color: var(--red); }
.w2-lrow .ic svg { width: 16px; height: 16px; }
.w2-layer.off .nm, .w2-layer.off .cnt { opacity: .45; }
.w2-layer .comps button[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.w2-status { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; padding: 0 12px; border-top: 1px solid var(--line); background: var(--bg); font-size: 12px; color: var(--ink2); min-width: 0; overflow: hidden; white-space: nowrap; }
.w2-status label { display: inline-flex; align-items: center; gap: 5px; }
.w2-div { width: 1px; height: 14px; background: var(--line2); }
.w2-sw { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 0; font-size: 12px; color: var(--ink2); }
.w2-sw::before { content: ""; width: 24px; height: 13px; border-radius: 999px; background: var(--line2); box-shadow: inset -11px 0 0 2px var(--bg); transition: box-shadow .15s; }
.w2-sw[aria-checked="true"]::before { background: var(--red); box-shadow: inset 11px 0 0 2px var(--bg); }
.w2-state { color: var(--mut); overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 1080px) { .w2 { grid-template-columns: 44px 220px minmax(0, 1fr) 260px; } }
@media (max-width: 820px) {
  .w2 { grid-template-columns: 44px minmax(0, 1fr); grid-template-rows: 58vh auto auto auto; height: auto; }
  .w2-rail { grid-row: 1 / span 3; }
  .w2-stage { grid-column: 2; grid-row: 1; }
  .w2-panel { grid-column: 2; grid-row: 2; border-right: 0; border-top: 1px solid var(--line); }
  .w2-right { grid-column: 2; grid-row: 3; border-left: 0; border-top: 1px solid var(--line); }
  .w2-status { grid-row: 4; flex-wrap: wrap; white-space: normal; padding: 6px 12px; }
}

.w2-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.w2-card, .w2-tile { display: grid; gap: 4px; justify-items: start; text-align: left; border: 0; background: none; padding: 0; font-size: 12.5px; color: var(--ink2); }
.w2-card .im, .w2-tile .im { width: 100%; aspect-ratio: 1.3; display: grid; place-items: center; background: #f2f3f5; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.w2-tile .im { aspect-ratio: 1.6; }
.w2-card img { width: 92%; height: 92%; object-fit: contain; }
.w2-card.w3-impf .im { color: var(--mut); border-style: dashed; }
.w2-card.w3-impf:hover .im { color: var(--red); }
.w2-card .w3-mfx { font-style: normal; margin-left: 6px; color: var(--mut); cursor: pointer; padding: 0 3px; border-radius: 4px; }
.w2-card .w3-mfx:hover { color: var(--red); background: var(--chip); }
.w2-tile img, .w2-tile svg { width: 46px; height: 46px; object-fit: contain; }
.w2-card:hover .im, .w2-tile:hover .im { border-color: var(--red); }
.w2-card:hover, .w2-tile:hover { color: var(--ink); }
.w2-box { position: absolute; z-index: 5; pointer-events: none; border: 1.5px solid var(--red); background: rgba(216,64,42,.08); }
.w2-box.cross { border-style: dashed; border-color: #2f7ad8; background: rgba(47,122,216,.08); }
.w2-box[hidden] { display: none; }
.w2-xlabels { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.w2-xlabels span { position: absolute; transform: translate(-4px, -130%); font: 700 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; background: var(--chip); color: var(--ink); border: 1px solid var(--line2); border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.w2-xpanel { position: absolute; top: 60px; left: 12px; z-index: 4; width: 260px; display: grid; gap: 10px; padding: 14px; background: var(--card); border: 1px solid var(--line2); border-radius: 14px; box-shadow: 0 16px 40px rgba(0,0,0,.3); font-size: 13px; }
.w2-xpanel[hidden] { display: none; }
.w2-xpanel label { display: grid; gap: 4px; color: var(--ink2); }
.w2-xpanel label.ck { display: flex; align-items: center; gap: 6px; }
.w2-xpanel output { font: 11px var(--mono); color: var(--mut); }
.w2-xpanel .row, .w2-dlg .row { display: flex; gap: 8px; justify-content: flex-end; }
.w2-dlg { position: absolute; inset: 0; z-index: 6; display: grid; place-items: center; background: rgba(0,0,0,.35); }
.w2-dlg[hidden] { display: none; }
.w2-dlg-in { width: min(620px, calc(100% - 32px)); display: grid; gap: 10px; padding: 18px; background: var(--card); color: var(--ink); border: 1px solid var(--line2); border-radius: 16px; box-shadow: 0 24px 60px rgba(0,0,0,.4); }
.w2-dlg .hd { display: flex; justify-content: space-between; align-items: center; font-size: 15px; }
#wpSvg { width: 100%; aspect-ratio: 560 / 360; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
#wpSvg .wp-room { fill: #eceef1; }
#wpSvg .wp-rn { font: 600 11px Inter, sans-serif; fill: #8a8f98; text-anchor: middle; dominant-baseline: middle; pointer-events: none; }
#wpSvg .wp-hit { fill: transparent; cursor: pointer; }
#wpSvg .wp-solid { fill: #6e6a60; pointer-events: none; }
#wpSvg .wp-wall:hover .wp-solid, #wpSvg .wp-wall:focus .wp-solid { fill: #1f6fd1; }
#wpSvg .wp-wall.sel .wp-solid { fill: #d8402a; }
#wpSvg .wp-wall:focus { outline: none; }
.w2-exp { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.w2-exp .btn { justify-content: center; }
.w2-mlist { display: grid; gap: 2px; max-height: 220px; overflow: auto; }
.w2-mlist button { display: flex; justify-content: space-between; gap: 8px; text-align: left; border: 0; background: none; padding: 5px 8px; border-radius: 8px; font-size: 13px; color: var(--ink2); }
.w2-mlist button:hover { background: var(--chip); color: var(--ink); }
.w2-mlist small { font: 11px var(--mono); color: var(--mut2); }
.w2-mini { flex-wrap: wrap; }
.w2-card[aria-pressed="true"] .im { border-color: var(--red); box-shadow: 0 0 0 2px var(--red) inset; }
.w2-card[draggable="true"] { cursor: grab; }
.w2-fp { display: grid; gap: 8px; padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.w2-fp .ck { display: flex; align-items: center; gap: 6px; }
.w2-rot { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.w2-stage .hint { pointer-events: none; }
.w2-annot { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; overflow: visible; }
.w2-annot .pl-box { fill: none; stroke: #3498ff; stroke-width: 1.2; stroke-dasharray: 4 3; }
.w2-annot .pl-rl { stroke: #3498ff; stroke-width: 1; }
.w2-annot .pl-rot { fill: #fff; stroke: #3498ff; stroke-width: 1.6; pointer-events: all; cursor: grab; }
.w2-annot .pl-dim line { stroke: #6e7480; stroke-width: 1; }
.w2-annot .pl-lab { pointer-events: all; cursor: text; }
.w2-annot .pl-lab rect { fill: #eef4fd; stroke: #9fc0ea; stroke-width: 1; }
.w2-annot .pl-lab text { font: 500 12px ui-monospace, "SFMono-Regular", Menlo, monospace; fill: #1d2129; text-anchor: middle; }
.w2-annot .pl-lab:focus rect { stroke: #3498ff; stroke-width: 2; }
.w2-annot .pl-lab:focus { outline: none; }
.w2-annot .pl-clr { fill: none; stroke: #D8402A; stroke-width: 1.5; stroke-dasharray: 6 4; opacity: .8; }
.w2-inl { position: absolute; z-index: 7; width: 84px; height: 28px; padding: 2px 6px; border: 2px solid #3498ff; border-radius: 6px; font: 500 13px ui-monospace, Menlo, monospace; background: #fff; color: #1d2129; }
.w2-inl[hidden] { display: none; }
.w2-fp label.ck { display: flex; flex-direction: row; align-items: center; gap: 8px; } .w2-fp label.ck input { width: 16px; height: 16px; min-height: 0; padding: 0; margin: 0; flex: none; }
/* simulation pictures: catalogue cards and the home page list */
.sim .thumb { display: block; margin: -20px -20px 10px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: inherit; border-bottom-left-radius: 0; border-bottom-right-radius: 0; background: var(--view); }
.sim .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.sim:hover .thumb img { transform: scale(1.03); }
.simmini { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 22px 18px; }
.simmini a { display: grid; gap: 6px; color: inherit; text-decoration: none; }
.simmini img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; display: block; background: var(--view); }
.simmini .n { font: 700 11px var(--mono); letter-spacing: .12em; color: var(--red); margin-top: 4px; }
.simmini b { font-size: 16px; letter-spacing: -0.02em; }
.simmini p { font-size: 13px; color: var(--mut); margin: 0; }
.simmini a:hover b { color: var(--red); }
/* Live Toronto maquette replaces only the homepage hero image. */
.hero .home-hero-study{height:clamp(680px,68vw,1000px);width:calc(100vw - 48px);max-width:none;margin:20px 0 0 calc(50% - 50vw + 24px);background:transparent;border:0;border-radius:0;overflow:visible}
.home-hero-study iframe{display:block;width:100%;height:100%;border:0;background:var(--bg)}
.sim .thumb{aspect-ratio:4/3!important;height:auto!important;background:var(--card)}
.sim .thumb img{width:100%;height:100%;object-fit:contain!important}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:640px){.hero .home-hero-study{width:calc(100vw - 24px);height:560px;margin:16px 0 0 calc(50% - 50vw + 12px);border-radius:0}}
.nav a[hidden] { display: none !important; }
/* simulation pages that run a SimuSite engine: a slim bar over the engine */
.shx { display: grid; grid-template-rows: auto minmax(0, 1fr); height: calc(100vh - 64px); }
.shbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 6px 16px; border-bottom: 1px solid var(--line); background: var(--bg); font-size: 13px; }
.shbar .shname { font-size: 16px; letter-spacing: -0.02em; }
.shbar .shsel { display: inline-flex; align-items: center; gap: 6px; color: var(--mut); font-size: 12px; }
.shbar .shsel select { background: var(--chip); color: var(--ink); border: 1px solid var(--line2); border-radius: 999px; padding: 4px 10px; font-size: 12.5px; max-width: 200px; }
.shbar #shmsg { max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shbar .shsite { color: var(--ink2); border: 1px solid var(--line2); border-radius: 999px; padding: 5px 12px; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: min(560px, 46vw); }
.shbar .shsite::before { content: 'Account · '; color: var(--ink3, var(--ink2)); }
.shbar .shsite[href^="#/project-settings"]::before { content: ''; }
.shbar .sp { flex: 1; }
.shx iframe { width: 100%; height: 100%; border: 0; background: #fff; display: block; }
[data-pc-ui][data-pc-surface="site"] .shx { height: calc(100dvh - var(--pc-ui-shell-height, 64px)); }
/* Workspace · three panes (2026-10-24): Plan (Plan Studio 2D) | Perspective (Plan Studio 3D) | Shaded, with draggable splitters */
.w3-stage { display: flex; align-items: stretch; background: var(--line); }
.w3-pane { position: relative; min-width: 160px; display: flex; flex-direction: column; background: var(--view); flex: 1 1 0; }
.w3-hd { display: flex; align-items: center; gap: 8px; min-height: 36px; padding: 4px 10px; background: var(--bg); border-bottom: 1px solid var(--line); font-size: 12px; color: var(--ink2); flex-wrap: wrap; }
.w3-hd b { font-size: 12.5px; color: var(--ink); margin-right: 2px; }
.w3-hd .sp { flex: 1; }
.w3-meta { font: 11px var(--mono); color: var(--mut2); }
.w3-lv { display: inline-flex; align-items: center; gap: 5px; color: var(--mut); }
.w3-lv select { font: inherit; padding: 2px 6px; border: 1px solid var(--line2); border-radius: 6px; background: var(--card); color: var(--ink); }
.w3-seg { display: inline-flex; background: var(--chip); border-radius: 8px; padding: 2px; gap: 2px; }
.w3-seg button { border: 0; background: none; padding: 3px 9px; border-radius: 6px; font: 600 11.5px var(--body, inherit); color: var(--mut); }
.w3-seg button[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.12); }
.w3-pane > iframe, .w3-body { flex: 1; min-height: 0; width: 100%; border: 0; display: block; background: #f5f6f8; position: relative; }
.w3-body .vp { position: absolute; inset: 0; }
.w3-stage.dragging iframe { pointer-events: none; }
.w3-split { flex: 0 0 6px; cursor: col-resize; background: var(--line); position: relative; z-index: 2; }
.w3-split:hover, .w3-split.on, .w3-split:focus-visible { background: var(--red); outline: none; }
.w2-panel { position: relative; display: flex; flex-direction: column; }
.w3-props { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.w3-props[data-off="true"] { position: absolute; left: 0; top: 0; width: 2px; height: 2px; opacity: 0; pointer-events: none; overflow: hidden; }
.w3-props iframe { flex: 1; min-height: 360px; width: 100%; border: 0; background: #fff; }
.w3-ph2 { padding-bottom: 6px; }
.w3-crow { display: flex; align-items: center; gap: 2px; }
.w3-crow > button[data-sel] { flex: 1; min-width: 0; }
.w3-crow.hid > button[data-sel] { opacity: .5; text-decoration: line-through; }
.w3-crow .ic.sm { width: 24px; height: 22px; display: grid; place-items: center; border: 0; background: none; border-radius: 6px; color: var(--mut); padding: 0; }
.w3-crow .ic.sm svg { width: 14px; height: 14px; }
.w3-crow .ic.sm[aria-pressed="true"] { color: var(--red); }
.w3-hidn { font: 10.5px var(--mono); color: var(--red); }
.w2-tile em { font-style: normal; color: var(--mut2); font-size: 11px; }
.w2-tile[aria-pressed="true"] .im, .w2-card[aria-pressed="true"] .im { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
@media (max-width: 820px) { .w3-stage { flex-direction: column; height: 150vh; } .w3-split { display: none; } .w3-pane { min-height: 45vh; } }
/* Results (2026-10-24): batch runs, result cards, compare workbench */
.rs-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 56px 0 16px; }
.f.inline { display: inline-flex; align-items: center; gap: 8px; }
.bt { display: grid; gap: 10px; }
.bt-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; } .bt-top .sp, .bt-line .sp { flex: 1; }
.bt .ck { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; }
.bt-prog { display: grid; gap: 4px; } .bt-prog .bar { height: 6px; background: var(--chip); border-radius: 999px; overflow: hidden; } .bt-prog .bar i { display: block; height: 100%; width: 0; background: var(--red); transition: width .3s; }
.bt-row { border-top: 1px solid var(--line); padding: 8px 0; } .bt-row.hand .ck { opacity: .55; }
.bt-line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bt-fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px 12px; margin: 8px 0 4px 26px; }
.bt-fields small { display: block; color: var(--mut2); font-size: 11px; }
.bt-why { margin: 6px 0 0 26px; color: var(--red); font-size: 12.5px; }
.st { font: 700 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: var(--chip); color: var(--mut); display: inline-flex; align-items: center; gap: 6px; }
.st-running { color: var(--ink); } .st-done { background: rgba(47,168,79,.16); color: #2a8a46; } .st-failed { background: rgba(216,64,42,.16); color: var(--red); }
.spin { width: 9px; height: 9px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } }
#btFrames { position: fixed; left: 0; top: 0; width: 0; height: 0; overflow: visible; pointer-events: none; z-index: -1; }
.rcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.rcard { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--card); display: grid; }
.rcard img, .rcard .ph { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #f2f2ef; display: grid; place-items: center; color: var(--mut2); font-size: 12px; }
.rc-b { padding: 12px 14px; display: grid; gap: 6px; } .rc-b h3 { font-size: 15px; margin: 0; }
.rc-b dl { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; margin: 0; font-size: 12.5px; } .rc-b dt { color: var(--mut); } .rc-b dd { margin: 0; font: 600 12px var(--mono); }
.cw { display: grid; gap: 12px; }
.cw-bar { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: end; } .cw-bar .f { min-width: 150px; } .cw-bar .f[hidden], .cw-bar .ck[hidden] { display: none; }
.cw-bar .seg, .cw-ctl .seg { display: inline-flex; background: var(--chip); border-radius: 10px; padding: 3px; gap: 2px; }
.seg button { border: 0; background: none; padding: 6px 11px; border-radius: 8px; font-weight: 600; font-size: 12.5px; color: var(--mut); }
.seg button[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.14); }
.cw-main { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 14px; }
.cw-views { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cw-v { position: relative; height: 440px; background: var(--view); border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.cw-v .vp { position: absolute; inset: 0; } .cw-v .lab { position: absolute; left: 12px; top: 12px; background: var(--chip); border-radius: 999px; padding: 5px 12px; font: 700 11px var(--mono); letter-spacing: .1em; z-index: 3; }
.cw[data-scope="sim"] .cw-v .vp { display: none; }
.cw-miss { position: absolute; inset: 0; z-index: 2; background: var(--card); display: grid; }
.cw-miss .fcv, .cw-miss .fimg { width: 100%; height: 100%; display: block; object-fit: contain; background: #f4f3ef; }
.cw-miss .miss { place-self: center; text-align: center; display: grid; gap: 8px; justify-items: center; padding: 20px; }
.fleg { position: absolute; left: 12px; bottom: 10px; background: var(--chip); border-radius: 10px; padding: 5px 10px; font: 11px var(--mono); display: flex; align-items: center; gap: 8px; }
.fleg i { width: 80px; height: 8px; border-radius: 4px; display: inline-block; } .chgk { color: #b38f00; }
.cw-side { border: 1px solid var(--line); border-radius: 18px; padding: 14px; max-height: 520px; overflow: auto; display: grid; gap: 10px; align-content: start; background: var(--card); }
.cw-legend { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12.5px; font-weight: 600; } .cw-legend i, .cw-list i { width: 11px; height: 11px; border-radius: 3px; display: inline-block; margin-right: 5px; vertical-align: -1px; }
.cw-count { font: 600 12px var(--mono); margin: 0; }
.cw-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.cw-list button { width: 100%; text-align: left; border: 1px solid var(--line); background: none; border-radius: 10px; padding: 7px 9px; display: grid; grid-template-columns: auto 1fr; gap: 1px 4px; color: var(--ink); font-size: 13px; }
.cw-list button small, .cw-list button span { grid-column: 2; color: var(--mut); font-size: 11.5px; } .cw-list button span { font-family: var(--mono); }
.cw-list button[aria-current="true"] { border-color: #f2c200; box-shadow: inset 3px 0 0 #f2c200; }
.cw-ctl { display: grid; gap: 8px; } .cw-ctl input[type="range"] { width: 100%; accent-color: var(--red); }
.cw-tab td.chg { background: rgba(242,194,0,.28); font-weight: 700; }
@media (max-width: 1080px) { .cw-main { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .cw-views { grid-template-columns: 1fr; } .cw-v { height: 320px; } }
/* Compare: A | B on one row, then the simulation and the model changes in words, each with Copy */
.cw-views { grid-template-columns: 1fr 1fr; }
.cw-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.cw-card { display: grid; gap: 10px; align-content: start; }
.cw-ch { display: flex; align-items: center; gap: 10px; } .cw-ch h3 { font-size: 17px; margin: 0; }
.cw-copy { order: -1; }
.cw-txt p { margin: 0 0 8px; line-height: 1.55; }
.cw-card .cw-side { border: 0; padding: 0; max-height: none; background: none; border-radius: 0; }
.cw-gh { font-size: 14px; margin: 4px 0 2px; }
.cw-words { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 2px; }
.cw-words button { display: grid; grid-template-columns: 16px 1fr; align-items: baseline; width: 100%; border: 0; background: none; padding: 3px 6px; text-align: left; color: var(--ink); font-size: 14px; line-height: 1.5; border-radius: 6px; cursor: pointer; }
.cw-words button i { width: 9px; height: 9px; border-radius: 2px; display: inline-block; }
.cw-words button:hover { background: var(--chip); } .cw-words button[aria-current="true"] { background: rgba(242,194,0,.22); }
@media (max-width: 900px) { .cw-cards { grid-template-columns: 1fr; } }
/* Workspace: one view (2026-10-24, replaces the three panes) — the three views stay loaded on top of each other */
.w3-stage { display: block; position: relative; background: var(--view); }
.w3-stage .w3-pane { position: absolute; inset: 0; min-width: 0; opacity: 0; pointer-events: none; z-index: 0; display: block; }
.w3-stage .w3-pane.on { opacity: 1; pointer-events: auto; z-index: 1; }
.w3-stage .w3-pane > iframe, .w3-stage .w3-body { position: absolute; inset: 0; width: 100%; height: 100%; }
.w3-stage .w2-cap { z-index: 5; top: 10px; left: 50%; transform: none; left: 12px; }
.w3-stage .w2-tr { z-index: 5; }
.w3-stage .w2-cap button:disabled { opacity: .6; cursor: default; }
@media (max-width: 820px) { .w3-stage { height: 70vh; } }
/* Workspace (2026-10-24): Rhino-style panels on the right, nothing scrolls (long lists are paged) */
.w2-panel, .w2-right { overflow: hidden; }
.w2-right { display: flex; flex-direction: column; }
#panelBody { flex: 1; min-height: 0; display: flex; flex-direction: column; } #panelBody[hidden] { display: none; }
#panelBody > .pane.w2-tools { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 6px; overflow: hidden; }
.w2-tools .w2-sec { flex: none; } .w2-tools .w2-sec.w3-fit { flex: 0 1 auto; min-height: 0; overflow: hidden; display: flex; flex-direction: column; }
.w3-fit { min-height: 0; overflow: hidden; }
.w3-pghide { display: none !important; }
.w3-pager { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 6px 0 2px; font: 600 11.5px var(--mono); color: var(--mut); flex: none; }
.w3-pager button { width: 28px; height: 24px; border: 1px solid var(--line2); background: var(--chip); border-radius: 7px; color: var(--ink); font-size: 15px; line-height: 1; padding: 0; }
.w3-pager button:disabled { opacity: .35; }
.w3-acc { display: flex; justify-content: space-between; align-items: center; width: 100%; border: 0; background: none; padding: 6px 2px; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.w2-sec > .w3-acc { font: 700 10.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mut2); border-top: 1px solid var(--line); }
.w2-sec > .w3-acc[aria-expanded="true"] { color: var(--ink); }
.w3-acc small { font: 11px var(--mono); color: var(--mut2); letter-spacing: 0; }
.w2-panel > #panelBody > .w3-accp { gap: 8px; padding-top: 10px; padding-bottom: 10px; flex: none; }
.w2-panel > #panelBody > .w3-accp.on { flex: 0 1 auto; min-height: 0; overflow: hidden; }
.w3-accp h2 .w3-acc { font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; padding: 2px 0; }
.w3-accp.on h2 .w3-acc { color: var(--ink); }
.w3-accp:not(.on) > .w3-accb { display: none; }
.w3-accb { display: grid; gap: 10px; }
.w3-tabs { flex: none; display: flex; align-items: flex-end; gap: 2px; padding: 8px 8px 0; border-bottom: 1px solid var(--line); background: var(--bg); }
.w3-tlist { display: flex; gap: 2px; flex: 1; min-width: 0; }
.w3-tlist button { width: 42px; height: 36px; display: grid; place-items: center; border: 1px solid transparent; border-bottom: 0; border-radius: 9px 9px 0 0; background: none; color: var(--mut); margin-bottom: -1px; }
.w3-tlist button:hover { color: var(--ink); background: var(--chip); }
.w3-tlist button[aria-selected="true"] { color: var(--ink); background: var(--card, var(--bg)); border-color: var(--line); box-shadow: inset 0 2px 0 var(--red); }
.w3-gearw { position: relative; align-self: center; padding-bottom: 4px; }
.w3-gear { width: 30px; height: 30px; display: grid; place-items: center; border: 0; background: none; border-radius: 8px; color: var(--mut); }
.w3-gear:hover, .w3-gear[aria-expanded="true"] { color: var(--ink); background: var(--chip); }
.w3-gear svg { width: 17px; height: 17px; }
.w3-tabmenu { left: auto; right: 0; z-index: 20; min-width: 230px; }
.w3-tm { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 8px; font-size: 13px; cursor: pointer; }
.w3-tm:hover { background: var(--chip); } .w3-tm input { width: 15px; height: 15px; margin: 0; }
.w3-tbody { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.w3-tp { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 10px; overflow: hidden; border-bottom: 0; }
.w3-tp[hidden] { display: none; }
.w3-tp > * { flex: none; } .w3-tp > .w3-fit { flex: 1 1 0; }
.w3-tp .w3-fit + .btn { margin-top: 2px; }
.w3-selp { flex: none; border-top: 1px solid var(--line); border-bottom: 0; }
.w3-stat { font-size: 13px; font-weight: 600; color: var(--ink); }
.w3-btns { display: grid; gap: 6px; }
.w3-lrow { display: flex; justify-content: space-between; } .w3-lrow output { font: 11.5px var(--mono); color: var(--mut); }
.w3-ck { display: flex; align-items: center; gap: 8px; font-size: 13px; } .w3-ck input { width: 15px; height: 15px; margin: 0; }
.w3-keys { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; font-size: 12.5px; color: var(--ink2); } .w3-keys b { font: 600 11.5px var(--mono); color: var(--ink); }
.w3-tp input[type="range"] { width: 100%; }
@media (max-width: 820px) { .w2-panel, .w2-right { overflow: visible; } }
.w2-right .pane { padding: 12px 16px; gap: 8px; }
.w2-right .w2-lrow { padding: 3px 0; }
.w2-right .w3-crow > button[data-sel] { padding-top: 3px; padding-bottom: 3px; }
.w2-sec > .w3-acc { padding: 4px 2px; }
.w2-tools .w2-sec.w3-fit .w2-grid { flex: none; }
/* User side (2026-10-25): Dashboard, avatar menu, tabbed Account settings */
.who-w { position: relative; display: inline-block; }
.who-b { display: inline-flex; align-items: center; gap: 8px; }
.who-m { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 230px; display: grid; gap: 2px; padding: 6px; background: var(--card); border: 1px solid var(--line2); border-radius: 14px; box-shadow: 0 18px 44px rgba(0,0,0,.32); }
.who-m[hidden] { display: none; }
/* the menu keeps its own ink inside a dark site header, whose links inherit the header's white (2026-11-15) */
.who-m, header.top .who-m, :root[data-pc-ui] body > header.top .who-m :is(a, b, button) { color: var(--ink); }
.who-m a, .who-m button { text-align: left; padding: 9px 12px; border-radius: 9px; border: 0; background: none; color: var(--ink); text-decoration: none; font: inherit; font-size: 14px; cursor: pointer; }
.who-m a:hover, .who-m button:hover { background: var(--chip); }
.who-id { display: grid; padding: 8px 12px 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; } .who-id small { color: var(--mut2); font-size: 12px; }
/* the founder links and the sync line sit in the menu's column like the other items (2026-11-17) */
#adminMenuLink { display: grid; gap: 2px; } #adminMenuLink:empty { display: none; }
.who-sync { display: block; padding: 8px 12px 2px; margin-top: 4px; border-top: 1px solid var(--line); color: var(--mut2); font-size: 12px; }
.db { display: grid; gap: 40px; padding-top: 36px; }
.db-hi { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 32px; align-items: end; }
.db-go { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.db-gocard { display: grid; gap: 6px; padding: 18px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; min-width: 0; }
.db-gocard:hover { border-color: var(--red); transform: translateY(-2px); }
.db-gocard b { font-size: 20px; letter-spacing: -.02em; } .db-gocard small { color: var(--mut); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.db-h { font-size: 22px; letter-spacing: -.02em; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.db-n { font: 700 12px var(--mono); background: var(--red); color: #fff; border-radius: 999px; padding: 2px 9px; }
.db-attn:empty { display: none; }
.db-alist { display: grid; gap: 8px; margin-top: 14px; }
.db-aitem { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.db-aitem > i { width: 10px; height: 10px; border-radius: 50%; background: var(--red); }
.db-aitem[data-kind="backup"] > i, .db-aitem[data-kind="site"] > i { background: #e0a030; }
.db-aitem b { display: block; font-size: 14.5px; } .db-aitem small { color: var(--mut); font-size: 13px; }
.db-main { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
.db-bar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; } .db-bar .sp { flex: 1; }
.db-bar .inp { min-height: 40px; padding: 0 12px; border-radius: 12px; } .db-bar input.inp { width: 220px; }
.db-new { position: relative; }
.db-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; min-width: 260px; display: grid; gap: 2px; padding: 6px; background: var(--card); border: 1px solid var(--line2); border-radius: 14px; box-shadow: 0 18px 44px rgba(0,0,0,.3); }
.db-menu[hidden] { display: none; }
.db-menu button, .db-menu a { display: grid; gap: 2px; text-align: left; padding: 9px 12px; border: 0; background: none; border-radius: 9px; color: var(--ink); text-decoration: none; font: inherit; font-size: 14px; cursor: pointer; }
.db-menu button:hover, .db-menu a:hover { background: var(--chip); } .db-menu small { color: var(--mut2); font-size: 12px; } .db-menu .danger { color: var(--red); }
.db-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.db-p { padding: 0; overflow: visible; display: grid; grid-template-rows: auto 1fr; }
.db-th { display: block; height: 150px; background: var(--view); border-radius: 20px 20px 0 0; overflow: hidden; }
.db-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.db-pb { padding: 14px 16px 16px; display: grid; gap: 6px; align-content: start; }
.db-pt { display: flex; justify-content: space-between; align-items: start; gap: 8px; position: relative; } .db-pt h3 { font-size: 17px; margin: 0; }
.db-pt .db-menu { top: 28px; min-width: 190px; }
.db-dots { border: 0; background: none; color: var(--mut); font-size: 20px; line-height: 1; padding: 0 6px 4px; border-radius: 8px; cursor: pointer; } .db-dots:hover { background: var(--chip); color: var(--ink); }
.db-p .meta { font: 700 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mut2); margin: 0; }
.db-p .acts { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.db-empty { display: grid; gap: 6px; justify-items: start; }
.db-side { display: grid; gap: 14px; }
.db-card { display: grid; gap: 8px; padding: 18px; }
.db-h3 { font: 700 11.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mut); margin: 0; }
.db-big { font-size: 24px; font-weight: 800; letter-spacing: -.03em; margin: 0; }
.db-card .btn { justify-self: start; }
.db-meter { height: 8px; border-radius: 999px; background: var(--chip); overflow: hidden; } .db-meter i { display: block; height: 100%; background: var(--red); border-radius: 999px; }
.db-sim { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 10px; align-items: center; text-decoration: none; color: var(--ink); padding: 4px; border-radius: 10px; }
.db-sim:hover { background: var(--chip); } .db-sim img { width: 48px; height: 36px; object-fit: cover; border-radius: 6px; }
.db-sim b { display: block; font-size: 14px; } .db-sim small { color: var(--mut2); font-size: 12px; }
.db-feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.db-feed a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 10px; padding: 8px 6px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.db-feed a:hover { background: var(--chip); }
.db-feed b { font-size: 13.5px; font-weight: 600; } .db-feed small { grid-column: 1; color: var(--mut); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.db-feed time { grid-column: 2; grid-row: 1; font: 11px var(--mono); color: var(--mut2); white-space: nowrap; }
.acct nav a[aria-selected="true"] { background: var(--card); color: var(--ink); box-shadow: inset 2px 0 0 var(--red); }
.acct > div > section[hidden] { display: none; }
.acct-rows { display: grid; gap: 8px; }
.acct-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 12px 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.acct-sw { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 18px; cursor: pointer; } .acct-sw span { display: grid; gap: 2px; } .acct-sw input { width: 18px; height: 18px; flex: none; accent-color: var(--red); }
@media (max-width: 1080px) { .db-hi, .db-main { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .db-go { grid-template-columns: 1fr; } .acct-row { grid-template-columns: 1fr; } .db-bar input.inp { width: 100%; } }
.db-bar .inp { width: auto; flex: none; } .db-bar input.inp { width: 220px; }
/* New project from the map (2026-10-25) */
.ns { display: grid; grid-template-columns: minmax(0, 1fr) 400px; height: calc(100vh - 64px); }
.ns-map { position: relative; min-height: 0; background: var(--view); }
.ns-map .leaflet-container { font: inherit; }
.ns-hint { position: absolute; z-index: 500; left: 50%; top: 14px; transform: translateX(-50%); background: rgba(17,17,17,.88); color: #fff; padding: 8px 14px; border-radius: 10px; font-size: 13px; pointer-events: none; }
.ns-side { overflow: auto; padding: 18px 22px 28px; border-left: 1px solid var(--line); display: grid; gap: 14px; align-content: start; background: var(--bg); }
.ns-h { font-size: 24px; letter-spacing: -.03em; font-weight: 800; margin: 2px 0 0; }
.ns-step { display: grid; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.ns-step h2 { margin: 0; font: 700 11.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mut); display: flex; gap: 8px; align-items: center; }
.ns-step h2 b { width: 20px; height: 20px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-size: 11px; letter-spacing: 0; }
.ns-row { display: flex; gap: 6px; flex-wrap: wrap; } .ns-row .inp { flex: 1; min-width: 0; }
.ns-row .btn[aria-pressed="true"] { background: var(--inv); color: var(--invfg); border-color: var(--inv); }
.ns-hits { display: grid; gap: 2px; } .ns-hits button { text-align: left; border: 0; background: var(--card); padding: 8px 10px; border-radius: 8px; color: var(--ink); font-size: 13px; cursor: pointer; } .ns-hits button:hover { background: var(--chip); }
.ns-ck { display: flex; gap: 8px; align-items: center; font-size: 13px; } .ns-ck input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--red); }
.ns-n { width: 64px; display: inline-block; padding: 4px 6px; }
.ns-facts { display: grid; gap: 6px; } .ns-facts > div { display: grid; grid-template-columns: 1fr auto; gap: 0 10px; padding: 8px 10px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); }
.ns-facts small { color: var(--mut); font-size: 12px; } .ns-facts b { font: 700 14px var(--mono); text-align: right; } .ns-facts span { grid-column: 1 / -1; color: var(--mut2); font-size: 12px; }
.ns-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin: 0 4px 0 8px; vertical-align: -1px; }
@media (max-width: 900px) { .ns { grid-template-columns: 1fr; grid-template-rows: 55vh auto; height: auto; } .ns-side { border-left: 0; } }

/* A persistent action row; the study's own calculation and confirmations stay authoritative. */
.study-workflow { display:flex; align-items:center; gap:8px; flex:1 0 100%; min-width:0; flex-wrap:wrap; padding:6px 0 2px; border-top:1px solid var(--line); }
.study-workflow #studyState { color:var(--ink2); flex:1 1 230px; font-size:12px; line-height:1.5; }
.study-workflow #studyState[data-state="stale"] { color:var(--accent); }
.study-workflow #studyState[data-state="running"] { color:var(--ink); }
.study-workflow button { white-space:nowrap; }
.study-workflow button[hidden] { display:none; }
.study-workflow #shmsg:empty { display:none; }
.wb-shell.w2{grid-template-columns:48px 224px minmax(0,1fr) 280px;grid-template-rows:auto minmax(0,1fr) 34px}
.wb-shell>.wb-commandbar{grid-column:1/-1;grid-row:1}
.wb-shell>.w2-rail{grid-column:1;grid-row:2}
.wb-shell>.w2-panel{grid-column:2;grid-row:2}
.wb-shell>.w2-stage{grid-column:3;grid-row:2;min-height:0;height:auto}
.wb-shell>.w2-right{grid-column:4;grid-row:2;min-width:0}
.wb-shell>.w2-status{grid-column:1/-1;grid-row:3}
.wb-commandbar{display:flex;align-items:center;flex-wrap:wrap;gap:6px;padding:7px 10px;background:var(--bg);border-bottom:1px solid var(--line);z-index:8;min-width:0}
.wb-commandbar .w2-cap{position:static;transform:none;border-radius:4px;flex:none;background:var(--chip)}
.wb-commandbar .w2-cap>div{position:relative}
.wb-commandbar .w2-cap button{border-radius:3px;padding:6px 9px}
.wb-commandbar .w2-tr{position:static;display:flex;flex-wrap:wrap;margin-left:auto;gap:5px}
.wb-commandbar .w2-tr #fit{display:none}
.wb-commandbar #workspaceStudy{width:155px;min-width:0;background:var(--chip);color:var(--ink);border:1px solid var(--line2);border-radius:4px;padding:5px;font-size:12px}
.wb-commandbar .wb-edit{display:flex;flex-wrap:wrap;gap:3px}
.wb-commandbar .btn{border-radius:4px;font-size:12px;padding:6px 9px;min-height:30px}
.wb-commandbar .btn[aria-pressed=true]{border-color:var(--red);color:var(--red)}
.wb-extra{position:relative;font-size:12px;color:var(--ink)}
.wb-extra>summary{cursor:pointer;list-style:none;border:1px solid var(--line2);padding:6px 9px;border-radius:4px;min-height:30px;box-sizing:border-box}
.wb-extra:not([open])>.w2-menu{display:none}
.wb-extra .w2-menu{z-index:30}
.wb-extra button[hidden]{display:none!important}
.wb-commandbar .w3-gear{width:auto;min-height:30px;border:1px solid var(--line2);padding:5px 9px;border-radius:4px;font-size:12px;white-space:nowrap}
.wb-commandline{flex:1 0 100%;margin:0;font:12px var(--mono);color:var(--ink2);line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.wb-shell .w3-tlist{flex-wrap:wrap}
.wb-shell .w3-tlist button{width:auto;padding:5px 8px;font-size:12px;min-height:34px;height:auto;border-radius:4px 4px 0 0}
.wb-shell .w2-panel{overflow:hidden}
.wb-shell #panelBody{overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.wb-shell #panelBody>.pane.w2-tools{flex:none;overflow:visible}
.wb-shell .w2-tools .w2-sec.w3-fit{flex:none;overflow:visible}
.wb-shell .w3-tp{overflow:auto;overscroll-behavior:contain;min-width:0}
.wb-shell .w3-fit{flex:none;overflow:visible}
.wb-shell #panelBody>.w3-accp.on{flex:none;overflow:visible}
.wb-shell .wb-properties{padding:10px;position:relative}
.wb-shell .wb-properties .w3-props:not([data-off=true]){display:flex;flex-direction:column;flex:1;min-height:0;position:relative;inset:auto;width:100%}
.wb-shell .wb-properties .w3-props iframe{flex:1;min-height:320px;width:100%}
.wb-shell .w3-selp{max-height:200px;overflow:auto}
.wb-shell .w2-status{gap:9px;overflow:hidden}
.wb-shell .w2-status #state{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}
.wb-zoom{display:flex;gap:3px;align-items:center;flex:none;margin-left:auto}
.wb-zoom .btn{padding:3px 8px;border-radius:3px;font-size:12px}
.wb-zoom output{min-width:40px;text-align:center;font-size:12px}
.wb-shell.wb-library-closed{grid-template-columns:48px 0 minmax(0,1fr) 280px}
.wb-shell.wb-library-closed>.w2-panel{visibility:hidden;overflow:hidden}
.wb-shell .wb-library-search{width:100%;box-sizing:border-box;margin:4px 0 8px;border:1px solid var(--line2);background:var(--chip);color:var(--ink);padding:8px;border-radius:4px}
.wb-shell [data-library=furniture] .w2-sec:not(.w3-fit){display:none}
.wb-shell [data-library=furniture] [data-tool][hidden]{display:none!important}
.wb-shell #furnitureMatch:empty{display:none}
@media(max-width:820px){.wb-shell.w2{grid-template-columns:40px minmax(0,1fr);grid-template-rows:auto minmax(300px,1fr) 260px auto;height:auto;min-height:calc(100dvh - var(--pc-ui-shell-height,64px))}.wb-shell>.w2-stage{grid-column:2;grid-row:2;min-height:50vh}.wb-shell>.w2-right{grid-column:2;grid-row:3}.wb-shell>.w2-rail{grid-column:1;grid-row:2/4}.wb-shell>.w2-status{grid-row:4;grid-column:1/-1;flex-wrap:wrap}.wb-shell>.w2-panel{position:fixed;top:var(--pc-ui-shell-height,100px);bottom:40px;left:40px;width:240px;z-index:12;background:var(--bg);border:1px solid var(--line)}.wb-shell.wb-library-closed{grid-template-columns:40px minmax(0,1fr)}.wb-shell .wb-commandbar .w2-tr{margin-left:0}.wb-shell .w2-status #state{flex-basis:100%}}
@media(max-width:600px) { .study-workflow #studyState { flex-basis:100%; } }
/* Import explanations use the panel's continuous scroll; complete notes stay readable. */
.wb-shell .w3-accp,.wb-shell .w3-accb,.wb-shell .w3-accb .f,.wb-shell .w3-accb .grid{min-width:0;max-width:100%}
.wb-shell .w3-accb select{width:100%;min-width:0;max-width:100%}
.wb-shell .w3-accb .note,.study-import [role=status]{white-space:normal;overflow-wrap:anywhere;overflow:visible;text-overflow:clip}
.wb-shell #retryImport{justify-self:start}
.study-import{min-width:0;max-width:100%}.study-import details{max-width:600px}.study-import summary{cursor:pointer;font-size:12px}

.study-workflow progress{width:100px;height:8px;accent-color:var(--accent)}
.study-workflow progress[hidden]{display:none}
.study-workflow #studyState[data-state="error"]{color:var(--accent)}
