/* =====================================================================================
   Pulse360 v7 — calmer, deeper, more editorial. Floating menu, page canvas with light atmosphere,
   cards without borders, bigger numbers, one accent per view.
   ===================================================================================== */
.v7 body{background:var(--paper)}
.v7 .app{background:var(--paper)}
/* floating menu */
.v7 .app{grid-template-columns:calc(var(--sb-w) + 16px) 1fr}
.v7 .sb{margin:12px;margin-inline-end:4px;border-radius:24px;border:0;box-shadow:0 1px 2px rgba(13,33,56,.05),0 18px 40px -24px rgba(13,33,56,.35);height:calc(100vh - 24px)}
.v7 .sb-item{border-radius:14px}
.v7.dock-navy .sb{background:linear-gradient(180deg,#0E3263 0%,#0A2547 100%);color:#C9D6E8}
.v7.dock-navy .sb-h{color:#7F98BA}.v7.dock-navy .sb-h::after{background:linear-gradient(90deg,rgba(255,255,255,.08),transparent)}
.v7.dock-navy .sb-item{color:#C9D6E8}.v7.dock-navy .sb-item .sb-ic{color:#8FA8C8}
.v7.dock-navy .sb-item:hover{background:rgba(255,255,255,.06)}
.v7.dock-navy .sb-item.on{background:rgba(255,255,255,.1);color:#fff}
.v7.dock-navy .sb-item.on .sb-ic{color:#F6A85A}
.v7.dock-navy .sb-item.on::before{background:#F6A85A}
.v7.dock-navy .sb-toggle{color:#7F98BA}
.v7.dock-navy .sb-word{filter:brightness(0) invert(1);opacity:.95}
.v7.dock-navy .sbn{background:linear-gradient(135deg,rgba(255,255,255,.18),rgba(246,168,90,.4))}
/* page header: no hard bar, a quiet glass strip */
.v7 .top.tb{background:transparent;border:0;backdrop-filter:none;height:76px;padding:0 26px}
.v7 .tb-title h1{font-size:24px;font-weight:800;letter-spacing:-.2px}
.v7 .tb-title p{font-size:13px}
.v7 .tb-search input{background:#fff;box-shadow:0 1px 2px rgba(13,33,56,.06)}
.v7 .tb-fac,.v7 .tb-live{background:#fff;border-color:transparent;box-shadow:0 1px 2px rgba(13,33,56,.06)}
.v7 .tb-btn{background:#fff;box-shadow:0 1px 2px rgba(13,33,56,.06);width:40px;height:40px;border-radius:13px}
.v7 .floors{background:#fff;box-shadow:0 1px 2px rgba(13,33,56,.06)}
.v7 .floor-tab.on{background:var(--acc-soft);color:var(--acc-2);box-shadow:none}
/* cards everywhere: no outline, layered soft depth */
.v7 .card,.v7 .dl-card,.v7 .al-c,.v7 .al-box,.v7 .al-k,.v7 .dl-k,.v7 .kb-stat,.v7 .kp-c,.v7 .ql-i,.v7 .kb-col,.v7 .rp-stage,.v7 .rp-bar,.v7 .rp-feed,.v7 .rp-side .rp-n,.v7 .plan-wrap{border:0!important;box-shadow:0 1px 2px rgba(13,33,56,.04),0 12px 32px -20px rgba(13,33,56,.28)!important}
.v7 .dl-card,.v7 .card{border-radius:22px}
.v7 .dl-card h3{font-size:17px;font-weight:800}
.v7 .kb-col{background:rgba(255,255,255,.55);box-shadow:none!important}
.v7 .page,.v7 .scroll>.page{padding:6px 26px 26px}
.v7 .cx,.v7 .mx{margin:0 18px 18px;border-radius:22px;overflow:hidden;box-shadow:0 1px 2px rgba(13,33,56,.04),0 12px 32px -20px rgba(13,33,56,.28);height:calc(100% - 18px)}
.v7 .kp-v{font-size:24px;font-weight:800}
.v7 .al-k b,.v7 .dl-k b{font-size:28px;font-weight:800}

/* ---------------------------------------------------------------- home */
.h7{display:flex;flex-direction:column;gap:18px}
.h7-hero{display:grid;grid-template-columns:minmax(260px,.85fr) 1.6fr minmax(320px,1.1fr);gap:0;border-radius:28px;overflow:hidden;background:#fff;box-shadow:0 1px 2px rgba(13,33,56,.04),0 24px 50px -30px rgba(13,33,56,.35)}
.h7-now{position:relative;padding:26px 28px;background:linear-gradient(160deg,#FFF6ED 0%,#FFFFFF 75%);color:var(--ink);border-inline-end:1px solid var(--line-2);display:flex;flex-direction:column;gap:10px;overflow:hidden}
.h7-now::after{display:none}
.h7-live{display:inline-flex;align-items:center;gap:8px;font-size:13px;color:var(--muted)}
.h7-live i{width:8px;height:8px;border-radius:50%;background:#3DDC97;box-shadow:0 0 0 4px rgba(61,220,151,.18);animation:tbp 2s infinite}
.h7-big{display:flex;align-items:baseline;gap:12px;margin-top:6px}
.h7-big b{color:var(--acc);font-size:92px;line-height:.95;font-weight:800;letter-spacing:-3px;font-variant-numeric:tabular-nums}
.h7-big span{font-size:16px;color:var(--ink-2);max-width:90px;line-height:1.35}
.h7-chips{position:relative;z-index:1;display:flex;flex-wrap:wrap;gap:8px;margin-top:auto}
.h7-chips span{font-size:12.5px;padding:5px 11px;border-radius:11px;background:#F3F5F8;color:var(--ink-2)}
.h7-chips b{color:var(--ink);font-weight:800}
.h7-chips .up{background:var(--acc-soft);color:var(--acc-2)}.h7-chips .dn{background:var(--good-t);color:var(--good)}
.h7-brief{padding:24px 28px;display:flex;flex-direction:column;gap:10px;background:radial-gradient(500px 220px at 100% 0%,#FFF4E9,transparent 70%)}
[dir=ltr] .h7-brief{background:radial-gradient(500px 220px at 0% 0%,#FFF4E9,transparent 70%)}
.h7-bh{display:flex;align-items:center;gap:10px}
.h7-bh img{width:40px;height:40px;border-radius:50%;object-fit:cover;object-position:50% 16%;box-shadow:0 0 0 3px #fff,0 0 0 4px var(--acc-line)}
.h7-bh span{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:700;color:var(--acc-2)}
.h7-bh svg.i{width:16px;height:16px}
.h7-brief h1{margin:2px 0 0;font-size:24px;line-height:1.45;font-weight:800;color:var(--ink);letter-spacing:-.2px}
.h7-brief p{margin:0;font-size:14.5px;line-height:1.9;color:var(--ink-2)}
.h7-brief p b{color:var(--ink)}
.h7-acts{display:flex;gap:8px;flex-wrap:wrap;margin-top:auto;padding-top:6px}
.h7-thumb{position:relative;display:block;padding:0;border:0;background:#E8EDF3;cursor:pointer;min-height:230px;overflow:hidden}
.h7-thumb>svg{position:absolute;inset:-6% -10%;width:120%;height:112%}
.h7-thumb>span{position:absolute;bottom:14px;inset-inline-start:14px;display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:12px;background:rgba(255,255,255,.9);backdrop-filter:blur(8px);font-size:12.5px;font-weight:700;color:var(--ink)}
.h7-thumb>span svg.i{width:15px;height:15px;color:var(--acc)}
.h7-ts{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.h7-t{position:relative;display:flex;flex-direction:column;gap:4px;padding:18px 20px 0;border-radius:22px;background:#fff;box-shadow:0 1px 2px rgba(13,33,56,.04),0 12px 32px -20px rgba(13,33,56,.28);overflow:hidden;min-height:168px}
.h7-th{display:flex;align-items:center;gap:10px}
.h7-th small{font-size:13px;color:var(--muted);font-weight:600}
.h7-th .kp-ic{width:36px;height:36px;border-radius:12px}
.h7-tv{display:flex;align-items:baseline;gap:6px;margin-top:6px}
.h7-tv b{font-size:40px;line-height:1;font-weight:800;letter-spacing:-1px;color:var(--ink);font-variant-numeric:tabular-nums}
.h7-tv em{font-style:normal;font-size:14px;color:var(--muted)}
.h7-t.warn .h7-tv b{color:#B77D00}.h7-t.bad .h7-tv b{color:var(--bad)}
.h7-t.warn .kp-ic{background:var(--warn-t);color:var(--warn)}.h7-t.bad .kp-ic{background:var(--bad-t);color:var(--bad)}
.h7-dl{font-size:12px;color:var(--muted);font-weight:600}
.h7-dl.good{color:var(--good)}.h7-dl.bad{color:var(--bad)}.h7-dl.eq{color:var(--faint);font-weight:500}
.h7-viz{margin:auto -20px 0;height:48px}
.h7-viz svg{width:100%;height:48px;display:block}
.h7-meter{margin:14px 20px 18px;height:10px;border-radius:5px;background:#EEF2F7;overflow:hidden}
.h7-meter i{display:block;height:100%;border-radius:5px;background:var(--acc-grad)}
.h7-g{display:grid;grid-template-columns:1.55fr 1fr;grid-auto-rows:auto;gap:16px}
.h7-c{border-radius:22px;background:#fff;padding:20px 22px;box-shadow:0 1px 2px rgba(13,33,56,.04),0 12px 32px -20px rgba(13,33,56,.28);min-width:0}
.h7-c>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}
.h7-c h3{margin:0;font-size:17px;font-weight:800;color:var(--ink)}
.h7-c header p{margin:3px 0 0;font-size:12.5px;color:var(--muted)}
.h7-pulse{grid-row:span 2}
.h7-d{display:flex;align-items:center;gap:12px;width:100%;padding:12px 12px;border-radius:16px;text-align:start;color:var(--ink);margin-bottom:6px;background:#F7F9FC}
.h7-d:hover{background:#F0F4F9}
.h7-d>i{width:10px;height:10px;border-radius:50%;flex:none;background:var(--idle)}
.h7-d.bad>i{background:var(--bad);box-shadow:0 0 0 4px var(--bad-t)}.h7-d.warn>i{background:var(--warn)}.h7-d.pred>i{background:#7C5CD6;box-shadow:0 0 0 4px #EFE9FF}
.h7-d span{flex:1;min-width:0}.h7-d b{display:block;font-size:13.5px}.h7-d small{display:block;font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.h7-d em{font-style:normal;font-size:11px;font-weight:800;padding:2px 8px;border-radius:8px;background:#EEF2F7;color:var(--ink-2)}
.h7-d.bad em{background:var(--bad-t);color:var(--bad)}.h7-d.pred em{background:#EFE9FF;color:#5B3FB8}.h7-d.warn em{background:var(--warn-t);color:#9A6A00}
.h7-calm{display:flex;align-items:center;gap:14px;padding:18px;border-radius:16px;background:var(--good-t);color:var(--good)}
.h7-calm svg.i{width:30px;height:30px;flex:none}.h7-calm b{display:block;color:var(--ink);font-size:14px}.h7-calm small{color:var(--ink-2);font-size:12.5px}
.h7-flow{display:flex;align-items:stretch;gap:6px}
.h7-st{flex:1;display:flex;flex-direction:column;align-items:center;gap:3px;padding:14px 6px;border-radius:16px;background:#F7F9FC;text-align:center;min-width:0}
.h7-st .kp-ic{width:34px;height:34px;border-radius:11px;margin-bottom:4px}
.h7-st b{font-size:26px;font-weight:800;line-height:1.1;font-variant-numeric:tabular-nums}
.h7-st small{font-size:12px;color:var(--ink-2);font-weight:600}
.h7-st em{font-style:normal;font-size:11.5px;color:var(--muted)}
.h7-st.hot{background:linear-gradient(180deg,#FFF4E9,#FFF9F3);box-shadow:inset 0 0 0 1.5px var(--acc-line)}
.h7-st.hot .kp-ic{background:#fff;color:var(--acc)}.h7-st.hot b{color:var(--acc-2)}
.h7-ar{display:grid;place-items:center;color:#C2CEDC}
.h7-ar svg.i{width:16px;height:16px}
[dir=rtl] .h7-ar svg.i{transform:scaleX(-1)}
.h7-cl{display:grid;grid-template-columns:150px 1fr 84px;gap:12px;align-items:center;width:100%;padding:8px 6px;border-radius:12px;text-align:start;color:var(--ink)}
.h7-cl:hover{background:#F5F8FB}
.h7-cl .nm b{display:block;font-size:13.5px}.h7-cl .nm small{display:block;font-size:11.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.h7-cl .bar{height:8px;border-radius:4px;background:#EEF2F7;overflow:hidden}.h7-cl .bar i{display:block;height:100%;border-radius:4px;background:var(--acc)}
.h7-cl.warn .bar i{background:var(--acc)}.h7-cl.bad .bar i{background:var(--bad)}
.h7-cl .v{text-align:end}.h7-cl .v b{font-size:15px;font-variant-numeric:tabular-nums}.h7-cl .v small{display:block;font-size:11px;color:var(--muted)}
.h7-nx{display:flex;flex-direction:column;gap:10px}
.h7-nxb{display:flex;align-items:baseline;gap:12px;padding:14px 16px;border-radius:16px;background:var(--acc-soft)}
.h7-nxb b{font-size:44px;font-weight:800;line-height:1;color:var(--acc);font-variant-numeric:tabular-nums}.h7-nxb span{font-size:13px;color:var(--ink-2)}
.h7-nxr{display:flex;justify-content:space-between;font-size:13px;color:var(--ink-2);padding:6px 4px;border-bottom:1px solid var(--line-2)}.h7-nxr b{color:var(--ink)}
.h7-nx .btn{margin-top:auto;align-self:flex-start}
@media (max-width:1500px){.h7-hero{grid-template-columns:minmax(240px,.8fr) 1.5fr}.h7-thumb{display:none}.h7-ts{grid-template-columns:repeat(2,1fr)}}

/* no dark blocks: Naseeh's reading and the simulator summary are light, with the orange accent */
.dl-ai{background:linear-gradient(160deg,#FFF6ED,#FFFFFF 70%)!important;color:var(--ink)!important}
.dl-ai h3{color:var(--ink)!important}.dl-ai h3 svg.i{color:var(--acc)!important}.dl-ai header p{color:var(--muted)!important}
.dl-ai li{background:#fff!important;box-shadow:0 1px 2px rgba(13,33,56,.05)}.dl-ai li b{color:var(--ink)!important}
.dl-ai li::before{background:var(--acc-soft)!important;color:var(--acc-2)!important}
.dl-ai .btn{background:#fff!important;border-color:var(--acc-line)!important;color:var(--acc-2)!important}
.sm-say{background:var(--acc-soft)!important;color:var(--ink)!important;border:1px solid var(--acc-line)}
.sm-say svg.i{color:var(--acc)!important}
.rp-side .rp-clock{background:#fff!important;color:var(--ink)!important}
.rp-side .rp-clock b{color:var(--acc)!important}.rp-side .rp-clock small{color:var(--muted)!important}
.rp-side .rp-clock .tag{background:var(--acc-soft)!important;color:var(--acc-2)!important}

/* ---------- Icon style C: white glyph on a gradient tile (approved) ---------- */
:root{--tile-acc:linear-gradient(145deg,#F39A45,#D9650F);--tile-good:linear-gradient(145deg,#2FB386,#14855E);--tile-warn:linear-gradient(145deg,#F2B544,#D98A0E);--tile-bad:linear-gradient(145deg,#EE6A6D,#C9302F);--tile-sh:0 8px 16px -10px rgba(217,101,15,.85),inset 0 1px 0 rgba(255,255,255,.35)}
.sb-item .sb-ic,.kp-ic,.ph2-ic,.ap-ic,.pl-ic,.fac-ic,.c-ic{background:var(--tile-acc)!important;color:#fff!important;border:0!important;box-shadow:var(--tile-sh)}
.sb-item .sb-ic{width:34px;height:34px;border-radius:11px}
.sb-item .sb-ic svg.i{width:19px;height:19px;stroke-width:1.9}
.sb.mini .sb-item .sb-ic{width:38px;height:38px;border-radius:12px}
.sb-item:not(.on) .sb-ic{filter:saturate(.85);opacity:.92}
.sb-item:hover .sb-ic{opacity:1;filter:none}
.sb-item.on .sb-ic{box-shadow:0 0 0 3px #fff,0 0 0 5px var(--acc-line,#F6D9BB),var(--tile-sh)}
.kp-ic svg.i,.ph2-ic svg.i,.ap-ic svg.i,.pl-ic svg.i,.c-ic svg.i,.fac-ic svg.i{stroke-width:1.9}
.sb-ic svg.i .d,.kp-ic svg.i .d,.ph2-ic svg.i .d,.ap-ic svg.i .d,.pl-ic svg.i .d,.c-ic svg.i .d,.fac-ic svg.i .d{display:none}
/* status tiles keep their meaning colours, as gradients */
.kp-c.good .kp-ic,.dl-k.good .kp-ic,.h7-t.good .kp-ic{background:var(--tile-good)!important;box-shadow:0 8px 16px -10px rgba(20,133,94,.8),inset 0 1px 0 rgba(255,255,255,.3)}
.kp-c.warn .kp-ic,.al-k.warn .kp-ic,.dl-k.warn .kp-ic,.h7-t.warn .kp-ic{background:var(--tile-warn)!important;box-shadow:0 8px 16px -10px rgba(217,138,14,.8),inset 0 1px 0 rgba(255,255,255,.3)}
.kp-c.bad .kp-ic,.al-k.bad .kp-ic,.dl-k.bad .kp-ic,.h7-t.bad .kp-ic{background:var(--tile-bad)!important;box-shadow:0 8px 16px -10px rgba(201,48,47,.8),inset 0 1px 0 rgba(255,255,255,.3)}
.h7-st .kp-ic{opacity:.55}.h7-st.hot .kp-ic{opacity:1}
@media (max-width:1280px){.kp-ic{display:grid}}

/* ---------- Side menu fills the screen height evenly ---------- */
.v7 .sb-scroll{display:flex;flex-direction:column;justify-content:space-between;gap:clamp(1px,.4vh,5px);padding-bottom:6px}
.v7 .sb-group{display:contents}
.v7 .sb-h{flex:none;padding-top:clamp(8px,1.6vh,18px);padding-bottom:clamp(2px,.5vh,6px)}
.v7 .sb-item,.v7 .sb.mini .sb-item{flex:1 1 0;height:auto;min-height:36px;max-height:72px}
.v7 .sb-item .sb-ic{width:clamp(30px,3.9vh,40px);height:clamp(30px,3.9vh,40px);border-radius:12px}
.v7 .sb-item .sb-ic svg.i{width:clamp(16px,2vh,21px);height:clamp(16px,2vh,21px)}
.v7 .sb-item{font-size:clamp(14px,1.55vh,15.5px)}

/* ---------- Heatmap: every number visible, over-limit cells framed ---------- */
.dl-heat td span{opacity:1}
.dl-heat td{color:#6B3F0E}
.dl-heat td.warn{color:#5A3208;box-shadow:inset 0 0 0 2px #E8A21A}
.dl-heat td.bad{color:#5A3208;box-shadow:inset 0 0 0 2.5px #D63B3F}

/* ---------- Brand line under the logo ---------- */
.v7 .sb-brand{height:auto;flex-direction:column;align-items:flex-start;gap:3px;padding:2px 10px 10px}
.sb-tagline{font-family:PlexNaseeh,system-ui;font-size:10.5px;font-weight:600;letter-spacing:.02em;color:#8796A8;white-space:nowrap;padding-inline-start:2px}
.v7 .sb-brand{align-items:stretch}
.v7 .sb-brand .sb-word{align-self:flex-start}
html[dir=rtl] .sb-tagline{text-align:right}
html[dir=ltr] .sb-tagline{text-align:left}

/* ---------- Naseeh findings (رصد نصيح) ---------- */
.ins-list{display:flex;flex-direction:column;gap:8px;margin-bottom:8px}
.ins-list.wide{margin:4px 0 14px}
.ins{position:relative;display:flex;gap:12px;align-items:flex-start;padding:12px 14px;border-radius:14px;background:#fff;border:1px solid var(--line);border-inline-start:4px solid #9AA9B8}
.ins.warn{border-inline-start-color:#E8A21A;background:linear-gradient(90deg,transparent,#FFFBF2)}
.ins.bad{border-inline-start-color:#D63B3F;background:linear-gradient(90deg,transparent,#FFF6F6)}
html[dir=rtl] .ins.warn{background:linear-gradient(270deg,transparent,#FFFBF2)}html[dir=rtl] .ins.bad{background:linear-gradient(270deg,transparent,#FFF6F6)}
.ins-k{width:34px;height:34px;flex:none;border-radius:11px;display:grid;place-items:center;color:#fff;background:var(--tile-acc);box-shadow:var(--tile-sh)}
.ins.warn .ins-k{background:var(--tile-warn)}.ins.bad .ins-k{background:var(--tile-bad)}
.ins-k svg.i{width:18px;height:18px;stroke-width:1.9}.ins-k svg.i .d{display:none}
.ins-b{flex:1;min-width:0}
.ins-t{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.ins-t b{font-size:14px}
.ins-t em{font-style:normal;font-size:11px;font-weight:700;color:#677A8E;background:#F1F3F6;border-radius:6px;padding:1px 7px}
.ins p{margin:4px 0 0;font-size:12.5px;line-height:1.7;color:var(--ink-2)}
.ins-why{display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:800;color:var(--acc-2,#B9600F);margin-inline-end:6px}
.ins-why svg.i{width:13px;height:13px}
.ins-a{display:flex;align-items:center;gap:10px;margin-top:8px;flex-wrap:wrap}.ins-a>span{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:600;color:var(--ink)}
.ins-a svg.i{width:15px;height:15px;color:var(--acc)}
.ins-go{flex:none;width:32px;height:32px;border-radius:10px;border:1px solid var(--line);background:#fff;display:grid;place-items:center;color:var(--ink-2);cursor:pointer}
.ins-go svg.i{width:16px;height:16px}.ins-go:hover{border-color:var(--acc);color:var(--acc)}
.al-gh i.ai{background:var(--acc)}
.sb-badge.ai{background:var(--acc);color:#fff}
.h7-why{display:flex;gap:8px;align-items:flex-start;margin:-4px 0 14px;padding:10px 12px;border-radius:12px;background:#FFF6ED;border:1px solid #F6D9BB;font-size:13px;line-height:1.7;color:var(--ink-2)}
.h7-why svg.i{width:16px;height:16px;flex:none;margin-top:3px;color:var(--acc)}.h7-why b{color:#B9600F}

/* ---------- TV: expected turn ---------- */
.tv-qr em.eta{color:var(--acc);font-weight:800}
.tv-q h3 small{display:inline-flex;align-items:center;gap:5px}.tv-q h3 small svg.i{width:13px;height:13px}

/* ---------- Day report ---------- */
.dr{display:flex;flex-direction:column;gap:16px}
.dr-hero{border-radius:22px;padding:22px 26px;background:linear-gradient(160deg,#FFF6ED 0%,#FFFFFF 70%);border:1px solid #F6E3CF;box-shadow:var(--sh-1)}
.dr-hh{display:flex;align-items:center;gap:10px;font-size:12.5px;font-weight:700;color:#B9600F}
.dr-hh img{width:34px;height:34px;border-radius:50%;object-fit:cover;box-shadow:0 0 0 2px #fff,0 0 0 4px #F6D9BB}
.dr-hh span{display:inline-flex;align-items:center;gap:6px}.dr-hh svg.i{width:15px;height:15px}
.dr-hero h2{margin:12px 0 6px;font-size:clamp(20px,1.7vw,26px);line-height:1.5;color:var(--ink)}
.dr-hero>p{margin:0 0 16px;color:var(--muted);font-size:13px}
.dr-acts{display:flex;gap:10px;flex-wrap:wrap}
.dr-ks{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.dr-k{background:#fff;border:1px solid var(--line);border-radius:18px;padding:14px 18px;box-shadow:var(--sh-1);display:flex;flex-direction:column;gap:4px}
.dr-k small{color:var(--muted);font-size:12.5px;font-weight:600}.dr-k b{font-size:30px;font-weight:800;line-height:1.1}.dr-k b em{font-style:normal;font-size:14px;color:var(--muted);margin-inline-start:3px}
.dr-g{display:grid;grid-template-columns:1.5fr 1fr;gap:16px;align-items:start}
.dr-side{display:flex;flex-direction:column;gap:16px}
.dr-c{display:flex;gap:12px;align-items:flex-start;padding:12px 0;border-top:1px solid var(--line)}
.dr-c:first-of-type{border-top:0}
.dr-c>div{flex:1}.dr-c b{font-size:14px}.dr-c p{margin:3px 0 0;font-size:12.5px;line-height:1.7;color:var(--ink-2)}
.dr-c small{display:inline-flex;align-items:center;gap:5px;margin-top:5px;font-size:12px;font-weight:600;color:var(--ink)}.dr-c small svg.i{width:14px;height:14px;color:var(--acc)}
.dr-at{flex:none;font-size:11.5px;font-weight:700;color:#fff;background:#9AA9B8;border-radius:7px;padding:2px 8px;margin-top:2px;font-variant-numeric:tabular-nums}
.dr-c.warn .dr-at{background:#E8A21A}.dr-c.bad .dr-at{background:#D63B3F}
.dr-r{display:grid;grid-template-columns:auto 1fr;gap:2px 12px;padding:10px 0;border-top:1px solid var(--line)}.dr-r:first-of-type{border:0}
.dr-r span{font-size:12.5px;color:var(--muted)}.dr-r b{grid-row:span 2;font-size:20px;text-align:end;align-self:center}.dr-r em{font-style:normal;font-size:12px;color:var(--ink-2)}
.dr-tm ol{margin:0 0 14px;padding-inline-start:20px;display:flex;flex-direction:column;gap:8px;font-size:13px;line-height:1.7}
@media (max-width:1280px){.dr-ks{grid-template-columns:repeat(2,1fr)}.dr-g{grid-template-columns:1fr}}

/* ---------- Side menu: collapse button beside the logo, no scroll ---------- */
.v7 .sb-brand{position:relative}
.sb-mini-btn{position:absolute;top:2px;inset-inline-end:6px;width:30px;height:30px;border-radius:9px;display:grid;place-items:center;color:#8796A8;background:transparent;border:1px solid transparent;cursor:pointer}
.sb-mini-btn:hover{background:#F4F6F9;border-color:var(--line);color:var(--ink)}
.sb-mini-btn svg.i{width:17px;height:17px}
.sb.mini .sb-brand{flex-direction:column;align-items:center;gap:8px}
.sb.mini .sb-mini-btn{position:static}
.v7 .sb-scroll{overflow:hidden}
.v7 .sb-item,.v7 .sb.mini .sb-item{min-height:30px}
.v7 .sbn{margin-top:6px;margin-bottom:4px}
html[dir=ltr] .v7 .sb-brand .sb-word{margin-inline-end:34px}
html[dir=rtl] .v7 .sb-brand .sb-word{margin-inline-end:34px}

/* ---------- Map: side rail sits high, never over the zoom; zoom works ---------- */
.map-bar .grp{top:22px;transform:none}
@media (max-height:900px){.map-bar .vt span,.map-bar .layer{padding:6px 4px 5px;font-size:10.5px}.map-bar .vt svg.i,.map-bar .layer svg.i{width:17px;height:17px}}
.plan-wrap>svg:first-child,.plan-wrap>.iso:first-child,.plan-wrap>div:first-child:not(.zoom){transform:translate(var(--zx,0),var(--zy,0)) scale(var(--z,1));transform-origin:50% 50%;transition:transform .25s ease}
.plan-wrap.zoomed{cursor:grab;overflow:hidden}
.plan-wrap.zoomed.panning{cursor:grabbing}
.plan-wrap.panning>:first-child{transition:none}
.zoom button[disabled]{opacity:.35;cursor:default}

/* ---------- Map header: floor tabs never wrap or touch the page title ---------- */
.top.tb .floors{flex:none;margin-inline-start:18px;align-self:center}
.top.tb .floor-tab{white-space:nowrap;display:inline-flex;align-items:center;gap:8px;height:36px;padding:0 14px}
.top.tb .floor-tab b{white-space:nowrap}
.top.tb .tb-title,.top.tb>div:first-child{min-width:0}
.top.tb>div:first-child p,.top.tb>div:first-child small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media (max-width:1700px){.top.tb .tb-search{max-width:240px}}
.top.tb .tb-title{flex:0 1 auto;min-width:0}.top.tb .tb-title h1{white-space:nowrap}
/* the page title never shrinks under the floor tabs; the search box gives way instead */
.top.tb .tb-title{flex:none;max-width:320px}
.top.tb .tb-title h1{overflow:visible}
.top.tb .tb-title p{max-width:320px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.top.tb .floors{margin-inline-start:24px}
.top.tb .tb-search{flex:1 1 160px;min-width:140px}
