/* Executive report (A4 paper, printable to PDF) and About sheet */
#report.sheet { height:auto; min-height:0; gap:10px; }
.rptbar { display:flex; align-items:center; gap:14px; flex:none; }
.rptbar .lead { font-size:13px; color:var(--gray); }
.btn { background:var(--deep); color:#fff; border:0; border-radius:4px; padding:7px 16px; font:inherit; font-size:13px; font-weight:600; cursor:pointer; }
.btn:hover { background:var(--midnight); } .btn[disabled] { opacity:.6; cursor:progress; }
#pdfmsg { font-size:12px; color:var(--gray); }

/* the paper */
.paper { width:210mm; margin:0 auto 18px; display:flex; flex-direction:column; gap:14px; }
.rp-page { background:#fff; width:210mm; min-height:297mm; box-sizing:border-box; padding:11mm 12mm 9mm; border:1px solid var(--pebble); border-radius:4px; box-shadow:0 2px 14px rgba(24,39,69,.10); display:flex; flex-direction:column; gap:10px; color:var(--charcoal); font-size:11px; line-height:1.45; }
.rp-head { display:flex; align-items:center; gap:14px; padding-bottom:8px; border-bottom:2px solid #0b2a38; }
.rp-head img { height:64px; width:auto; flex:none; }
.rp-head .tt { flex:1; }
.rp-head h1 { margin:0; font-size:19px; color:#0b2a38; letter-spacing:-.01em; line-height:1.2; }
.rp-head .sb { font-size:11px; color:var(--gray); margin-top:2px; }
.rp-head .mt { text-align:right; font-size:10px; color:var(--gray); line-height:1.4; }
.rp-answer { background:#0b2a38; color:#fbf6df; border-radius:4px; padding:10px 14px; }
.rp-answer .k { font-size:10px; letter-spacing:.08em; text-transform:uppercase; opacity:.8; }
.rp-answer .t { font-size:13.5px; line-height:1.45; margin-top:3px; font-weight:500; }
.rp-answer b { color:#fff; }
.rp-kpis { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }
.rp-kpis .kpi { padding:6px 10px; }
.rp-kpis .kpi .v { font-size:19px; } .rp-kpis .kpi .l { font-size:10.5px; } .rp-kpis .kpi .d { font-size:10px; }
.rp-h { margin:2px 0 0; font-size:12px; letter-spacing:.07em; text-transform:uppercase; color:#0b2a38; border-bottom:1px solid var(--pebble); padding-bottom:3px; }
.rp-findings { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.rp-findings .finding { background:#fff; border:1px solid var(--pebble); border-radius:4px; padding:7px 10px; break-inside:avoid; }
.rp-findings .tag { font-size:10px; color:var(--green); font-weight:700; }
.rp-findings .big { font-size:21px; font-weight:700; color:var(--deep); letter-spacing:-.02em; line-height:1.15; }
.rp-findings .biglbl { font-size:10px; color:var(--gray); padding-bottom:3px; border-bottom:1px solid var(--pebble); margin-bottom:3px; }
.rp-findings .finding { font-size:10.5px; line-height:1.4; }
.rp-findings .finding:last-child:nth-child(odd) { grid-column:1 / -1; }
.rp-charts { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.rp-chart { border:1px solid var(--pebble); border-radius:4px; padding:6px 8px 2px; break-inside:avoid; }
.rp-chart h4 { margin:0; font-size:11px; color:var(--deep); line-height:1.3; min-height:29px; }
.rp-chart .rc { height:185px; width:100%; }
.rp-chart .src { font-size:9px; color:var(--gray); opacity:.85; font-style:italic; }
.rp-two { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.rp-box { border:1px solid var(--pebble); border-radius:4px; padding:7px 10px; background:var(--mist,#f1f7fb); break-inside:avoid; }
.rp-box h4 { margin:0 0 3px; font-size:11px; color:#0b2a38; } .rp-box ul { margin:3px 0 0; padding-left:15px; } .rp-box li { margin:1px 0; }
.rp-reco { margin:2px 0 0; padding:0; list-style:none; counter-reset:r; display:grid; gap:5px; }
.rp-reco li { counter-increment:r; display:grid; grid-template-columns:22px 1fr; gap:8px; align-items:start; font-size:11px; }
.rp-reco li::before { content:counter(r); background:#0b2a38; color:#fbf6df; border-radius:4px; width:22px; height:22px; text-align:center; line-height:22px; font-weight:700; font-size:12px; }
.rp-foot { margin-top:auto; border-top:1px solid var(--pebble); padding-top:5px; font-size:9px; color:var(--gray); display:flex; justify-content:space-between; gap:12px; }
.rp-foot i { opacity:.85; }

/* About sheet */
.ab-hero { display:flex; align-items:center; gap:22px; background:#fff; border:1px solid var(--pebble); border-radius:4px; padding:16px 22px; flex:none; }
.ab-hero img.q { height:44px; width:auto; flex:none; }
.ab-hero h2 { margin:0; font-size:22px; color:var(--deep); letter-spacing:-.01em; } .ab-hero p { margin:3px 0 0; font-size:13.5px; color:var(--charcoal); }
.ab-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; align-items:start; }
.ab-card { background:#fff; border:1px solid var(--pebble); border-radius:4px; padding:12px 16px; font-size:12.5px; line-height:1.5; color:var(--charcoal); }
.ab-card.w { grid-column:1 / -1; } .ab-card h3 { margin:0 0 6px; font-size:15px; color:var(--deep); }
.ab-card table { font-size:12px; } .ab-card td, .ab-card th { text-align:left; vertical-align:top; padding:4px 8px; } .ab-card td:first-child { white-space:nowrap; font-weight:600; color:var(--deep); }
.ab-card ul { margin:4px 0 0; padding-left:18px; } .ab-card li { margin:2px 0; }
.ab-flow { display:grid; grid-template-columns:repeat(5,1fr); gap:0; align-items:stretch; }
.ab-step { border:1px solid var(--pebble); border-radius:4px; padding:8px 10px; background:var(--mist,#f1f7fb); position:relative; margin-right:22px; font-size:12px; }
.ab-step:last-child { margin-right:0; } .ab-step:not(:last-child)::after { content:""; position:absolute; right:-17px; top:50%; border-left:11px solid var(--deep); border-top:7px solid transparent; border-bottom:7px solid transparent; transform:translateY(-50%); }
.ab-step b { display:block; color:var(--deep); font-size:12.5px; margin-bottom:2px; } .ab-step .n { font-size:10px; color:var(--green); font-weight:700; letter-spacing:.05em; }
.ab-model svg { width:100%; max-width:640px; height:auto; display:block; margin:0 auto; } .ab-model text { font-family:Inter, system-ui, sans-serif; }
.ab-derived { display:grid; grid-template-columns:1fr; gap:6px; margin-top:8px; }
.ab-derived div { border:1px dashed var(--deep); border-radius:4px; padding:6px 10px; font-size:12px; background:#fff; } .ab-derived b { color:var(--deep); }
.pill { display:inline-block; font-size:10.5px; border:1px solid var(--pebble); border-radius:4px; padding:1px 7px; margin:1px 3px 1px 0; background:var(--stone,#f6f7f8); }
.ab-foot { font-size:11px; color:var(--gray); text-align:center; padding:4px 0 8px; }

@media print {
  @page { size:A4; margin:0; }
  html, body { height:auto !important; overflow:visible !important; background:#fff !important; display:block !important; }
  header.top, nav, .filterbar, footer.page, #loading, .rptbar, .noprint, #err { display:none !important; }
  main { overflow:visible !important; padding:0 !important; }
  section.sheet { display:none !important; }
  section#report { display:block !important; height:auto !important; }
  .paper { width:210mm; margin:0; gap:0; }
  .rp-page { border:0; border-radius:0; box-shadow:none; height:296mm; min-height:0; overflow:hidden; page-break-after:always; break-after:page; }
  .rp-page:last-child { page-break-after:auto; break-after:auto; }
  * { -webkit-print-color-adjust:exact; print-color-adjust:exact; }
}

/* About: data model in a tall column on the right, text cards beside it, no page scroll */
#about.sheet { height:100%; min-height:0; gap:6px; }
.ab-wrap { flex:1; min-height:0; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr) 650px; grid-template-rows:auto auto minmax(0,1fr); gap:10px; }
.ab-wrap .ab-hero { grid-column:1 / -1; padding:10px 18px; } .ab-wrap .ab-hero h2 { font-size:20px; } .ab-wrap .ab-hero p { font-size:13px; } .ab-wrap .ab-hero img.q { height:36px; }
.ab-flowc { grid-column:1 / 3; grid-row:2; }
.ab-modelc { grid-column:3; grid-row:2 / 4; overflow:auto; min-height:0; }
.abcol { display:flex; flex-direction:column; gap:10px; min-height:0; overflow:auto; }
.ab-wrap .ab-card { padding:10px 14px; font-size:12px; line-height:1.45; } .ab-wrap .ab-card h3 { font-size:14px; margin-bottom:5px; }
.ab-wrap .ab-card table { font-size:11.5px; } .ab-wrap .ab-card td { padding:3px 6px; }
.ab-wrap .ab-step { font-size:11.5px; padding:7px 9px; margin-right:20px; }
.ab-wrap .ab-derived div { font-size:11.5px; padding:5px 9px; }
@media (max-height:880px) { .ab-wrap .ab-hero p { display:none; } .ab-wrap .ab-hero { padding:6px 16px; } }

/* selection bar (slim) and the filter drawer */
.filterbar { gap:12px; }
.fbmenu { display:flex; align-items:center; gap:8px; border:1px solid var(--pebble); background:#fff; border-radius:4px; padding:4px 12px 4px 10px; font:inherit; font-size:12.5px; font-weight:600; color:var(--deep); cursor:pointer; flex:none; }
.fbmenu:hover { background:var(--stone); }
.burger { display:inline-flex; flex-direction:column; gap:3px; } .burger i { display:block; width:15px; height:2px; background:var(--deep); border-radius:1px; }
.fbactive { display:flex; flex-wrap:wrap; gap:6px; flex:1; align-items:center; min-width:0; }
.fbnone { font-size:12px; color:var(--gray); }
.fbactive .chip .x { font-weight:700; opacity:.7; margin-left:2px; }
#scrim { position:fixed; inset:0; background:rgba(24,39,69,.28); opacity:0; pointer-events:none; transition:opacity .2s; z-index:70; }
#scrim.on { opacity:1; pointer-events:auto; }
#drawer { position:fixed; top:0; left:0; bottom:0; width:360px; max-width:92vw; background:#fff; z-index:80; transform:translateX(-102%); transition:transform .22s ease; box-shadow:2px 0 18px rgba(24,39,69,.25); display:flex; flex-direction:column; }
#drawer.open { transform:none; }
.dhead { display:flex; align-items:baseline; gap:10px; padding:14px 16px 10px; border-bottom:1px solid var(--pebble); background:linear-gradient(to left,#19426c,rgba(25,66,108,.0) 70%),#fff; }
.dhead b { font-size:16px; color:var(--deep); } .dsub { font-size:11px; color:var(--gray); flex:1; }
.dclose { border:0; background:none; font-size:26px; line-height:1; cursor:pointer; color:var(--deep); }
.dbody { flex:1; overflow:auto; padding:6px 16px 14px; }
.dsec { padding:10px 0 8px; border-bottom:1px solid var(--pebble); } .dsec h4 { margin:0 0 6px; font-size:12.5px; color:var(--deep); letter-spacing:.02em; }
.dcount { font-weight:600; color:var(--green); font-size:11px; margin-left:6px; }
.dchips { display:flex; flex-wrap:wrap; gap:5px; }
#drawer .chip { cursor:pointer; user-select:none; }
.chip.O { background:#fff; } .chip.X { background:#eef0f2; color:#9aa0a6; } .chip.S { background:var(--green); border-color:var(--green); color:#fff; }
.drange { margin-top:10px; } .dlbl { display:flex; gap:8px; justify-content:center; font-size:12px; font-weight:600; color:var(--deep); margin-bottom:2px; }
.dtrack { position:relative; height:26px; } .dtrack input[type=range] { position:absolute; left:0; right:0; width:100%; top:0; margin:0; pointer-events:none; background:none; accent-color:var(--deep); }
.dtrack input[type=range]::-webkit-slider-thumb { pointer-events:auto; }
.dfoot { padding:10px 16px; border-top:1px solid var(--pebble); }
/* Overview: findings and recommendation in three columns, the map in a tall fourth column */
#ovgrid { grid-template-columns:repeat(3,minmax(0,1fr)) minmax(0,1.08fr); }
#geocard { grid-column:4; grid-row:1 / span 2; }
#ovgrid .finding { font-size:14px; padding:12px 14px; line-height:1.5; } #ovgrid .finding .big { font-size:38px; } #ovgrid .reco { font-size:13.5px; line-height:1.5; padding:12px 14px; }
@media print { #drawer, #scrim, .fbmenu { display:none !important; } }

/* Atlas: dark poster in the logo's colours */
#atlas.sheet { background:radial-gradient(ellipse at 50% 40%, #12475e 0%, #0b2a38 58%, #061a24 100%); border-radius:4px; padding:12px 16px 8px; color:#fbf6df; gap:6px; overflow:hidden; position:relative; }
.atl-head { display:flex; align-items:center; gap:22px; flex:none; flex-wrap:wrap; }
.atl-title h2 { margin:0; font-size:24px; letter-spacing:-.01em; color:#fbf6df; } .atl-title p { margin:2px 0 0; font-size:12px; color:rgba(251,246,223,.7); max-width:430px; line-height:1.35; }
.atl-hero { display:flex; gap:26px; flex:1; justify-content:center; }
.atl-hero div { display:flex; flex-direction:column; align-items:flex-start; } .atl-hero b { font-size:30px; line-height:1.05; color:#fbf6df; letter-spacing:-.02em; text-shadow:0 0 18px rgba(16,207,201,.55); } .atl-hero span { font-size:11px; color:rgba(251,246,223,.72); max-width:190px; }
.atl-ctl { display:flex; align-items:center; gap:10px; }
.atl-seg { display:flex; border:1px solid rgba(251,246,223,.35); border-radius:4px; overflow:hidden; }
.atl-seg button { background:transparent; color:rgba(251,246,223,.85); border:0; padding:6px 12px; font:inherit; font-size:12px; cursor:pointer; border-right:1px solid rgba(251,246,223,.2); }
.atl-seg button:last-child { border-right:0; } .atl-seg button:hover { background:rgba(251,246,223,.1); } .atl-seg button.on { background:#fbf6df; color:#0b2a38; font-weight:700; }
.atl-tour { background:#10cfc9; color:#06303a; border:0; border-radius:4px; padding:7px 14px; font:inherit; font-size:12.5px; font-weight:700; cursor:pointer; box-shadow:0 0 16px rgba(16,207,201,.45); }
.atl-tour:hover { background:#4fe0db; }
.atl-wrap { flex:1; min-height:0; display:grid; grid-template-columns:minmax(300px,380px) minmax(0,1fr) minmax(300px,380px); gap:14px; position:relative; }
.atl-mid { min-width:0; min-height:0; position:relative; } .atl-mid .chart { position:absolute; inset:0; }
.atl-side { display:flex; flex-direction:column; gap:7px; min-height:0; position:relative; z-index:3; }
.atl-lines { position:absolute; left:0; top:0; pointer-events:none; z-index:2; overflow:visible; }
.atl-lines g { transition:opacity .25s; } .atl-lines path { transition:stroke .2s; filter:drop-shadow(0 0 3px rgba(16,207,201,.4)); }
.acard { flex:1; min-height:0; background:rgba(8,36,50,.72); border:1px solid rgba(251,246,223,.16); border-left:3px solid var(--acc,#fbf6df); border-radius:4px; padding:6px 10px; cursor:pointer; overflow:hidden;
  backdrop-filter:blur(2px); opacity:0; transform:translateY(8px); animation:acardIn .5s ease forwards; transition:background .2s, border-color .2s, opacity .25s, box-shadow .2s; display:flex; flex-direction:column; justify-content:center; }
@keyframes acardIn { to { opacity:1; transform:none; } }
.acard:hover, .acard.hot { background:rgba(14,58,78,.95); border-color:var(--acc); box-shadow:0 0 22px -4px var(--acc); }
.acard.dim { opacity:.35 !important; } .acard.sel { box-shadow:inset 0 0 0 1.5px #10cfc9; }
.ah { display:flex; justify-content:space-between; align-items:baseline; gap:8px; } .an { font-weight:700; font-size:13.5px; color:#fbf6df; } .ar { font-size:10px; color:rgba(251,246,223,.6); white-space:nowrap; }
.am { display:flex; align-items:center; gap:8px; } .av { font-size:24px; font-weight:800; color:var(--acc); letter-spacing:-.02em; text-shadow:0 0 14px color-mix(in srgb, var(--acc) 55%, transparent); } .al { font-size:10.5px; color:rgba(251,246,223,.7); flex:1; line-height:1.15; } .aspark { width:96px; height:26px; flex:none; }
.ai { font-size:11.5px; color:#fbf6df; line-height:1.3; } .ai.bad { color:#ffb47a; } .ai.good { color:#7fe9e4; }
.aw { font-size:10.5px; color:rgba(251,246,223,.7); } .at { display:flex; gap:5px; flex-wrap:wrap; } .at span { font-size:9.5px; padding:0 6px; border-radius:8px; border:1px solid currentColor; } .at .bad { color:#ffb47a; } .at .good { color:#7fe9e4; }
.atl-foot { display:flex; justify-content:space-between; gap:12px; font-size:10px; color:rgba(251,246,223,.55); flex:none; }
.atl-leg i { display:inline-block; width:10px; height:10px; border-radius:50%; vertical-align:-1px; } .atl-leg .g { background:#10cfc9; } .atl-leg .b { display:none; } .atl-leg .grad { width:46px; height:6px; border-radius:3px; background:linear-gradient(to right,#10cfc9,#fbf6df,#ff8a3d); vertical-align:1px; margin:0 3px; }
@media (max-height:900px) { .aw, .at { display:none; } .atl-title p { display:none; } .atl-hero b { font-size:24px; } .ai { font-size:11px; } }
@media (max-height:700px) { .ai { display:none; } .acard { padding:4px 8px; } }
@media print { #atlas .atl-tour { display:none; } }

.atl-panel { position:absolute; top:6px; width:min(500px, 62%); background:rgba(6,30,42,.93); border:1px solid rgba(251,246,223,.28); border-radius:6px; padding:10px 12px 8px; box-shadow:0 8px 34px rgba(0,0,0,.5), 0 0 30px -6px rgba(16,207,201,.4); opacity:0; transform:translateY(6px); pointer-events:none; transition:opacity .2s, transform .2s; z-index:9; backdrop-filter:blur(3px); }
.atl-panel.show { opacity:1; transform:none; } .atl-panel.left { left:6px; } .atl-panel.right { right:6px; }
.atl-panel h4 { margin:0 0 5px; font-size:16px; color:#fbf6df; letter-spacing:-.01em; }
.atl-panel table { width:100%; border-collapse:collapse; font-size:12px; color:#fbf6df; } .atl-panel th { font-size:9.5px; font-weight:600; letter-spacing:.03em; text-transform:uppercase; color:rgba(251,246,223,.6); text-align:right; padding:2px 5px; background:none; border-bottom:1px solid rgba(251,246,223,.22); }
.atl-panel th:first-child, .atl-panel td.nm { text-align:left; } .atl-panel td { padding:3px 5px; text-align:right; border-bottom:1px solid rgba(251,246,223,.08); font-weight:700; } .atl-panel td.nm { font-weight:600; color:#fbf6df; } .atl-panel td.na, .atl-panel td.pp { color:rgba(251,246,223,.6); font-weight:500; }
.atl-panel tr.tot td { background:rgba(251,246,223,.08); font-weight:800; } .atl-panel td.nm i { color:#fbf6df; font-style:normal; margin-right:4px; font-size:10px; opacity:.8; }
.atl-panel .pn { margin-top:5px; font-size:9.5px; color:rgba(251,246,223,.55); line-height:1.35; }
@media (max-height:700px) { .atl-panel { font-size:11px; } .atl-panel td { padding:2px 4px; } }

/* Atlas: zoom is clipped to the map column; selected cards light, the others dark; arrow to the Overview */
.atl-mid { overflow:hidden; border-radius:6px; } .atl-mid .chart { will-change:transform; }
.acard { position:relative; }
.acard.unsel { background:rgba(5,24,34,.78); border-color:rgba(251,246,223,.07); border-left-color:rgba(251,246,223,.18); filter:saturate(.45) brightness(.78); }
.acard.unsel:hover { filter:none; background:rgba(14,58,78,.92); border-left-color:var(--acc); }
.acard.sel { background:rgba(20,84,110,.96); border-color:rgba(16,207,201,.55); box-shadow:0 0 26px -5px var(--acc), inset 0 0 0 1px rgba(16,207,201,.35); }
.acard.sel .an::after { content:' \2713'; color:#10cfc9; }

/* Atlas: one big arrow to the next sheet, with a page-turn; the logo as a watermark */

.atl-logo { position:absolute; left:3%; bottom:3%; width:min(250px,26%); opacity:.3; filter:invert(1) sepia(.35); pointer-events:none; z-index:1; }
/* the page turn: the Start sheet swings away from its left edge, the Overview swings in from the right */

/* previous / next sheet arrows (every sheet) and the slide between sheets */
.navarrow { position:fixed; top:calc(50% + 50px); transform:translateY(-50%); z-index:60; width:26px; height:78px; border:0; padding:0; background:transparent; cursor:pointer; display:flex; align-items:center; }
.navarrow.next { right:2px; justify-content:flex-end; } .navarrow.prev { left:2px; } .navarrow.hide { display:none; }
.navarrow .chev { width:20px; height:70px; flex:none; background:linear-gradient(180deg,#59ece6,#10cfc9 50%,#0aa7b3); clip-path:polygon(0 0,55% 0,100% 50%,55% 100%,0 100%,45% 50%); filter:drop-shadow(0 0 7px rgba(16,207,201,.55)); transition:transform .35s cubic-bezier(.2,.9,.2,1), filter .3s; }
.navarrow.prev .chev { transform:scaleX(-1); }
.navarrow .lbl { position:absolute; top:50%; background:#10cfc9; color:#06303a; font:800 11px Inter,system-ui,sans-serif; letter-spacing:.1em; text-transform:uppercase; padding:8px 20px 8px 14px; white-space:nowrap; opacity:0; pointer-events:none; transition:opacity .25s, transform .4s cubic-bezier(.2,.9,.2,1); box-shadow:0 0 20px rgba(16,207,201,.5); overflow:hidden; }
.navarrow.next .lbl { right:14px; transform:translate(26px,-50%); border-radius:6px 0 0 6px; } .navarrow.prev .lbl { left:14px; transform:translate(-26px,-50%); border-radius:0 6px 6px 0; padding:8px 14px 8px 20px; }
.navarrow .lbl::after { content:""; position:absolute; inset:0; background:linear-gradient(105deg,transparent 30%,rgba(255,255,255,.65) 50%,transparent 70%); transform:translateX(-130%); }
.navarrow:hover .lbl { opacity:1; } .navarrow.next:hover .lbl { transform:translate(0,-50%); } .navarrow.prev:hover .lbl { transform:translate(0,-50%); }
.navarrow:hover .lbl::after { transform:translateX(130%); transition:transform .8s ease .1s; }
.navarrow.next:hover .chev { transform:translateX(3px) scale(1.08); filter:drop-shadow(0 0 14px rgba(16,207,201,.95)); } .navarrow.prev:hover .chev { transform:scaleX(-1) translateX(3px) scale(1.08); filter:drop-shadow(0 0 14px rgba(16,207,201,.95)); }
main.sliding { position:relative; overflow:hidden !important; }
section.sheet.leaving { display:flex !important; position:absolute; left:30px; right:30px; top:10px; bottom:6px; height:auto; overflow:hidden; z-index:2; }
section.sheet.out-left { animation:slideOutL .5s cubic-bezier(.65,0,.3,1) forwards; } section.sheet.out-right { animation:slideOutR .5s cubic-bezier(.65,0,.3,1) forwards; }
section.sheet.in-right { animation:slideInR .5s cubic-bezier(.65,0,.3,1) both; } section.sheet.in-left { animation:slideInL .5s cubic-bezier(.65,0,.3,1) both; }
@keyframes slideOutL { to { transform:translateX(-112%); } } @keyframes slideOutR { to { transform:translateX(112%); } }
@keyframes slideInR { from { transform:translateX(112%); } to { transform:none; } } @keyframes slideInL { from { transform:translateX(-112%); } to { transform:none; } }
@media print { .navarrow { display:none !important; } }

/* Start sheet: scrolling insight ticker (stock-exchange style) */
.atl-ticker { flex:none; display:flex; align-items:stretch; height:28px; margin:0 0 8px; border:1px solid rgba(63,180,212,.35); border-radius:6px; background:rgba(7,28,39,.72); overflow:hidden; }
.atl-ticker .tk-tag { display:flex; align-items:center; padding:0 12px; background:#10cfc9; color:#06303a; font:800 11px Inter,system-ui,sans-serif; letter-spacing:.14em; z-index:2; box-shadow:6px 0 12px rgba(7,28,39,.7); }
.atl-ticker .tk-view { flex:1; overflow:hidden; position:relative; display:flex; align-items:center; -webkit-mask-image:linear-gradient(90deg,transparent,#000 3%,#000 97%,transparent); mask-image:linear-gradient(90deg,transparent,#000 3%,#000 97%,transparent); }
.tk-trk { display:flex; white-space:nowrap; width:max-content; animation:tkScroll var(--dur,60s) linear infinite; }
.atl-ticker:hover .tk-trk { animation-play-state:paused; }
.tk-half { display:inline-flex; align-items:center; }
@keyframes tkScroll { to { transform:translateX(-50%); } }
.ti { font:500 12px Inter,system-ui,sans-serif; color:rgba(251,246,223,.8); padding:0 4px; } .ti em { font-style:normal; color:rgba(251,246,223,.75); } .ti b { color:#fbf6df; font-weight:800; margin:0 3px; } .ti u { text-decoration:none; font-weight:700; } .ti i { font-style:normal; margin-right:6px; font-size:10px; }
.ti.good i, .ti.good u { color:#4ade80; } .ti.bad i, .ti.bad u { color:#ff6b6b; } .ti.flat i, .ti.flat u { color:#9fb4be; }
.tsep { color:#3fb4d4; margin:0 18px; font-size:9px; }
@media print { .atl-ticker { display:none !important; } }

/* Help mode: header button, side panel, numbered badges on the objects, leader line */
#helpbtn { position:absolute; z-index:3; top:50%; transform:translateY(-50%); height:28px; padding:0 13px 0 6px; border:0; border-radius:14px; background:#10cfc9; color:#06303a; font:800 12px Inter,system-ui,sans-serif; letter-spacing:.04em; display:flex; align-items:center; gap:7px; cursor:pointer; box-shadow:0 0 12px rgba(16,207,201,.45); transition:box-shadow .2s, background .2s; }
#helpbtn:hover { box-shadow:0 0 18px rgba(16,207,201,.9); } #helpbtn .q { width:19px; height:19px; border-radius:50%; background:#06303a; color:#10cfc9; display:grid; place-items:center; font:800 12px Inter,sans-serif; font-style:normal; }
#helpbtn.on { background:#fff; }
/* while Help is open the whole sheet shrinks (zoom) so charts keep their shape in the space left of the panel */
body.helpopen main { zoom:var(--hz,.8); margin-right:calc(380px / var(--hz,.8)); } body.helpopen .navarrow.next { right:382px; }
#helppanel { position:fixed; right:0; width:380px; z-index:58; background:#fff; border-left:1px solid #d9dde2; box-shadow:-10px 0 28px rgba(0,0,0,.14); display:none; flex-direction:column; font-family:Inter,system-ui,sans-serif; }
body.helpopen #helppanel { display:flex; animation:hpIn .3s ease; } @keyframes hpIn { from { transform:translateX(40px); opacity:0; } to { transform:none; opacity:1; } }
#helppanel .hh { flex:none; display:flex; justify-content:space-between; align-items:flex-start; padding:14px 16px 10px; border-bottom:1px solid #e6e9ed; background:linear-gradient(135deg,#0b2a38,#19426c); color:#fff; }
#helppanel .hk { font-size:10px; font-weight:800; letter-spacing:.14em; text-transform:uppercase; color:#59ece6; } #helppanel h3 { margin:2px 0 0; font-size:18px; color:#fff; }
#helppanel .hx { border:0; background:transparent; color:#fff; font-size:26px; line-height:1; cursor:pointer; padding:0 4px; opacity:.8; } #helppanel .hx:hover { opacity:1; }
#helppanel .hb { flex:1; overflow:auto; padding:12px 16px 18px; }
#helppanel .hi { margin:0 0 12px; font-size:13.5px; line-height:1.45; color:#2a3340; font-weight:500; }
#helppanel ol { list-style:none; margin:0; padding:0; } #helppanel li { display:flex; gap:10px; padding:9px 8px; margin:0 -8px; border-radius:8px; border:1px solid transparent; transition:background .15s; }
#helppanel li.on, #helppanel li:hover { background:#e8fbfa; border-color:#10cfc9; } #helppanel li.flash { animation:hpFlash .9s ease; } @keyframes hpFlash { 30% { background:#bff3f0; } }
#helppanel .num { flex:none; width:22px; height:22px; border-radius:50%; background:#10cfc9; color:#06303a; font:800 12px Inter,sans-serif; display:grid; place-items:center; margin-top:1px; }
#helppanel h4 { margin:0 0 2px; font-size:13px; color:#19426c; } #helppanel li p { margin:0; font-size:12.5px; line-height:1.45; color:#3b4350; }
#helppanel h5 { margin:16px 0 6px; font-size:10.5px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:#6a7280; border-top:1px solid #e6e9ed; padding-top:12px; }
#helppanel dt { font-size:12.5px; font-weight:700; color:#19426c; margin-top:8px; } #helppanel dd { margin:1px 0 0; font-size:12.5px; line-height:1.45; color:#3b4350; }
#helppanel .ht { margin:16px 0 0; font-size:11.5px; color:#6a7280; font-style:italic; }
#hbadges { position:fixed; inset:0; pointer-events:none; z-index:57; }
.hbadge { position:fixed; width:22px; height:22px; border-radius:50%; background:#10cfc9; color:#06303a; font:800 12px Inter,sans-serif; display:grid; place-items:center; box-shadow:0 0 0 3px rgba(255,255,255,.95), 0 2px 8px rgba(0,0,0,.4); cursor:pointer; pointer-events:auto; animation:hbPop .35s cubic-bezier(.2,1.4,.4,1); }
@keyframes hbPop { from { transform:scale(0); } to { transform:scale(1); } }
#hlines { position:fixed; inset:0; width:100%; height:100%; pointer-events:none; z-index:59; }
.hhl { outline:2.5px solid #10cfc9 !important; outline-offset:-2px; box-shadow:0 0 0 5px rgba(16,207,201,.28) !important; }
@media print { #helpbtn, #helppanel, #hbadges, #hlines { display:none !important; } body.helpopen main { margin-right:0 !important; } }
