/* CareCheck design tokens and components */
:root {
  --bg: #EDF0F7; --card: #FBFCFF; --float: #FCFDFF; --ink: #151925; --navy: #111627;
  --blue: #2446EC; --blue2: #697FDC; --lav: #737FC5; --text2: #697080; --text3: #7A849A;
  --line: #DCE1EB; --muted: #E7EAF2; --sel: #E8EDFF;
  --pos-bg: #E2F2E8; --pos: #34734E; --warn-bg: #F8F0D8; --warn: #876C28; --neg: #A84F41; --neg-bg: #F7E9E6;
  --c1: #2446EC; --c2: #697FDC; --c3: #919FEA; --c4: #ACB7ED; --c5: #B1BCDF; --c6: #C2CBED; --c7: #D6DDF2;
  --r-ctl: 7px; --r-card: 11px; --r-dlg: 14px;
  --sh: 0 1px 2px rgba(17,22,39,.03), 0 8px 24px rgba(17,22,39,.05);
  --sh-float: 0 2px 4px rgba(17,22,39,.05), 0 14px 34px rgba(17,22,39,.10);
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --t: 160ms ease;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 13.5px; line-height: 1.55; font-weight: 400; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, select, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.num, .tnum, .rank-v, .kpi-big, .m-val, table td.n, .g-val, .tick, .kv b { font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* type */
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.15; }
.h-main { font-weight: 300; font-size: clamp(28px, 4.4vw, 40px); letter-spacing: -0.02em; margin: 6px 0 12px; }
.h-sect { font-weight: 300; font-size: clamp(22px, 3vw, 27px); letter-spacing: -0.015em; margin: 4px 0 14px; }
.h-panel { font-weight: 500; font-size: 16px; }
h1 em, h2 em, .h-main em, .h-sect em, .ins-h em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--lav); letter-spacing: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--text3); font-weight: 500; margin: 0 0 6px; }
.eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.lede { font-size: 15px; color: var(--text2); max-width: 540px; margin: 0 0 18px; }
.label { font-size: 12px; font-weight: 500; color: var(--text2); }
.quiet { font-size: 12px; color: var(--text3); margin: 8px 0 0; }
.note { font-size: 11.5px; color: var(--text3); line-height: 1.5; margin: 8px 0 0; }
p { margin: 0 0 .7em; }
.mt { margin-top: 18px; }
.row { display: flex; align-items: center; }
.row.gap { gap: 10px; flex-wrap: wrap; }
.row.between { justify-content: space-between; }

/* header */
.hdr { height: 86px; display: flex; align-items: center; gap: 24px; padding: 0 38px; border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 30; }
.hdr-l { display: flex; align-items: center; min-width: 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.mark { width: 32px; height: 32px; flex: none; }
.logo { height: 30px; width: auto; display: block; }
@media (max-width: 719px) { .logo { height: 26px; } }
.brand-name { font-weight: 500; font-size: 15px; }
.brand-desc { font-weight: 300; font-size: 13px; color: var(--text2); margin-left: 4px; white-space: nowrap; }
@media (max-width: 1000px) { .brand-desc { display: none; } }
.hdr-nav { display: none; margin: 0 auto; gap: 4px; }
body.has-data .hdr-nav { display: flex; }
.tab { height: 34px; padding: 0 14px; border-radius: 8px; border: 0; background: transparent; color: var(--ink); font-size: 13px; font-weight: 500; transition: background var(--t), color var(--t); }
.tab:hover { background: var(--muted); }
.tab.on { background: var(--navy); color: #fff; }
.hdr-r { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.ic { width: 36px; height: 36px; border-radius: 8px; border: 1px solid transparent; background: transparent; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); transition: background var(--t); }
.ic:hover { background: var(--muted); }
.ic svg, .ctl svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--sel); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; letter-spacing: .5px; margin-left: 6px; }
.avatar.lg { width: 44px; height: 44px; font-size: 14px; margin: 0; background: var(--navy); color: #fff; }
.hdr-link { font-size: 13px; font-weight: 500; color: var(--ink); text-decoration: none; padding: 0 12px; }
.hdr-link:hover { text-decoration: underline; }
a.btn { text-decoration: none; }
.dash-only { display: none; }
.in-app-only { display: none; }
body.in-app .in-app-only { display: inline; }
body.in-app #btn-print, body.in-app [data-act="print"] { display: none !important; }
body.in-app .hdr { padding-top: max(0px, env(safe-area-inset-top)); }
body.in-app .foot { padding-bottom: calc(40px + env(safe-area-inset-bottom)); }
body.has-data .dash-only { display: inline-flex; }
body.has-data .home-only { display: none; }
@media (max-width: 719px) { .hdr-link { display: none; } }

/* buttons & controls */
.btn { height: 40px; padding: 0 18px; border-radius: 9px; border: 1px solid transparent; font-size: 13.5px; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; transition: background var(--t), border-color var(--t), transform 80ms ease; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.navy { background: var(--navy); color: #fff; }
.btn.navy:hover:not(:disabled) { background: #1c233a; }
.btn.ghost { background: var(--float); border-color: var(--line); }
.btn.ghost:hover { border-color: #c5ccdb; }
.btn.white { background: #fff; color: var(--navy); }
.btn.sm { height: 34px; padding: 0 14px; font-size: 12.5px; }
.btn.xs { height: 30px; padding: 0 10px; font-size: 12px; border-radius: 7px; }
.ctl { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 10px; background: var(--float); border: 1px solid var(--line); border-radius: var(--r-ctl); font-size: 12.5px; color: var(--ink); }
.ctl svg { width: 16px; height: 16px; color: var(--text2); }
.ctl select, .ctl input { border: 0; background: transparent; outline: none; font-size: 12.5px; padding: 0; height: 100%; min-width: 0; }
.ctl input { width: 160px; }
.ctl.on { background: var(--sel); border-color: #c9d3ff; }
.badge { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border-radius: 6px; font-size: 11px; font-weight: 500; white-space: nowrap; background: var(--muted); color: var(--text2); }
.badge.blue { background: var(--sel); color: var(--blue); }
.badge.pos { background: var(--pos-bg); color: var(--pos); }
.badge.warn { background: var(--warn-bg); color: var(--warn); }
.badge.neg { background: var(--neg-bg); color: var(--neg); }
.badge i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* layout */
.page { max-width: 1720px; margin: 0 auto; padding: 30px 38px 60px; }
.narrow { max-width: 600px; margin: 0 auto; padding-top: 10px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px; box-shadow: var(--sh); }
.err { color: var(--neg); background: var(--neg-bg); padding: 10px 14px; border-radius: var(--r-ctl); font-size: 13px; }
.view { animation: rise .25s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* landing */
.hero { display: grid; gap: 28px; padding: 26px 0 8px; align-items: center; }
.hero-card { max-width: 360px; }
.hero-rows { display: grid; gap: 8px; font-size: 13px; margin-top: 4px; }
.hero-rows div { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 8px; }
.hero-rows span { color: var(--text2); }
.hero-rows b { font-weight: 500; }
.hero-q { font-family: var(--serif); font-style: italic; font-size: 19px; margin: 14px 0 0; color: var(--ink); }
.hero-q span { font-family: var(--font); font-style: normal; font-size: 11px; color: var(--text3); }
.strip3 { display: grid; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--card); margin: 26px 0 10px; overflow: hidden; }
.strip3 div { padding: 14px 18px; border-top: 1px solid var(--line); }
.strip3 div:first-child { border-top: 0; }
.strip3 b { display: block; font-weight: 500; font-size: 14px; }
.strip3 span { font-size: 12.5px; color: var(--text3); }
.sect { padding: 40px 0 6px; }
.cols3 { display: grid; gap: 14px; }
.num-l { font-size: 11px; letter-spacing: 1.2px; color: var(--blue); font-weight: 500; display: block; margin-bottom: 8px; }
.step h3 { font-size: 15px; margin-bottom: 4px; }
.step p { color: var(--text2); margin: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 12px 0; font-weight: 500; list-style: none; display: flex; justify-content: space-between; }
.faq summary::after { content: '+'; color: var(--text3); }
.faq details[open] summary::after { content: '–'; }
.faq p { color: var(--text2); padding-bottom: 12px; }
.cta { margin: 40px 0 0; background: var(--navy); color: #fff; border-radius: var(--r-dlg); padding: 28px 24px; display: grid; gap: 14px; }
.cta .h-sect { color: #fff; }
.cta .h-sect em { color: #a9b5f5; }
.cta p { color: rgba(255,255,255,.7); margin: 0; }
.check { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); color: var(--text2); cursor: pointer; }
.check:first-child { border-top: 0; padding-top: 0; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--navy); flex: none; }
.drop { text-align: center; cursor: pointer; border: 1.5px dashed #c9d0de; box-shadow: none; display: grid; justify-items: center; gap: 4px; padding: 26px 20px; transition: border-color var(--t), background var(--t); }
.drop:hover, .drop.over, .drop:focus-visible { border-color: var(--blue); background: #f6f8ff; }
.drop svg { width: 30px; height: 30px; color: var(--blue); }
.drop b { font-weight: 500; }
.drop span { font-size: 12px; color: var(--text3); }
.disc { margin-top: 12px; color: var(--text2); }
.disc summary { cursor: pointer; color: var(--blue); font-size: 13px; }
.disc textarea { width: 100%; margin: 10px 0; font-size: 12.5px; padding: 10px; border-radius: var(--r-ctl); border: 1px solid var(--line); background: var(--float); resize: vertical; }
#pick { margin-top: 28px; }
.who { display: grid; grid-template-columns: 1fr auto auto; gap: 0 14px; align-items: center; }
.who .h { font-size: 10.5px; letter-spacing: 1px; color: var(--text3); text-transform: uppercase; padding-bottom: 8px; text-align: center; }
.who .h:first-child { text-align: left; }
.who .r { display: contents; }
.who .r > * { border-top: 1px solid var(--line); padding: 10px 0; }
.who .n { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.who .n small { color: var(--text3); font-weight: 400; margin-left: 6px; }
.who input { width: 18px; height: 18px; accent-color: var(--navy); margin: 0 auto; display: block; }

/* dashboard title row + status */
.title-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 24px; }
.title-row .h-main { margin-bottom: 4px; }
.controls { display: flex; gap: 8px; flex-wrap: wrap; }
.status { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 10px 14px; margin: 18px 0 20px; border: 1px solid var(--line); border-radius: var(--r-ctl); background: var(--card); font-size: 12px; color: var(--text2); }
.status a { color: var(--blue); text-decoration: none; margin-left: auto; font-weight: 500; }
.status a:hover { text-decoration: underline; }

/* overview composition */
.overview { display: grid; gap: 18px; grid-template-columns: minmax(255px, .85fr) minmax(315px, 1.58fr) minmax(300px, .98fr); align-items: stretch; }
.rail { display: grid; gap: 14px; grid-template-rows: auto 1fr 1fr 1fr; }
.rail .metric { padding: 16px 18px; }
.rail .note { font-size: 11px; }
.id-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.id-name { font-weight: 500; font-size: 15px; }
.id-sub { font-size: 12px; color: var(--text3); }
.kpi-big { display: flex; align-items: baseline; gap: 6px; margin: 2px 0 6px; }
.kpi-big .n { font-size: 44px; font-weight: 300; letter-spacing: -0.03em; line-height: 1; }
.kpi-big .d { font-size: 16px; color: var(--text3); font-weight: 300; }
.kpi-big .badge { margin-left: 8px; }
.kpi-sub { font-size: 12.5px; color: var(--text2); margin-bottom: 12px; }
.kpi-sub b { font-weight: 500; color: var(--ink); }
.lvl { display: flex; gap: 4px; margin: 8px 0 12px; }
.lvl i { flex: 1; height: 8px; border-radius: 4px; background: var(--muted); }
.lvl i.on.l1, .lvl i.on.l2 { background: var(--blue); }
.lvl i.on.l3 { background: #c9a227; }
.lvl i.on.l4 { background: #d98a5f; }
.lvl i.on.l5 { background: var(--neg); }
.prog { height: 11px; border-radius: 6px; overflow: hidden; background: repeating-linear-gradient(135deg, #e3e7f0 0 3px, #f3f5fa 3px 7px); }
.prog i { display: block; height: 100%; background: var(--navy); border-radius: 6px; transition: width var(--t); }
.prog-note { font-size: 11.5px; color: var(--text3); margin: 6px 0 14px; }
.metric { display: flex; flex-direction: column; justify-content: space-between; }
.metric .m-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.metric .m-lab { font-size: 12px; color: var(--text2); font-weight: 500; }
.metric .m-val { font-size: 32px; font-weight: 300; letter-spacing: -0.02em; line-height: 1; margin: 6px 0 4px; }
.metric .m-val small { font-size: 13px; color: var(--text3); letter-spacing: 0; margin-left: 4px; }
.metric .m-vis { min-width: 90px; display: flex; justify-content: flex-end; align-items: center; }
.meter-wrap { width: 100%; }
.meter { position: relative; height: 10px; border-radius: 5px; background: repeating-linear-gradient(135deg, #e3e7f0 0 3px, #f3f5fa 3px 7px); overflow: visible; }
.meter .fill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--blue); border-radius: 5px; }
.meter .mark { position: absolute; top: -7px; width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 6px solid var(--ink); transform: translateX(-50%); }
.meter-labels { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--text3); margin-top: 6px; }
.meter-labels .mid { color: var(--ink); }
.gauge { width: 84px; height: 48px; }
.gauge .g-bg { fill: none; stroke: var(--muted); stroke-width: 7; stroke-linecap: round; }
.gauge .g-fg { fill: none; stroke: var(--blue); stroke-width: 7; stroke-linecap: round; }
.gauge .g-val { font-size: 12px; font-weight: 500; fill: var(--ink); font-family: var(--font); }
.segs { display: flex; gap: 3px; }
.segs i { width: 14px; height: 8px; border-radius: 2px; background: var(--muted); }
.segs i.on { background: var(--blue); }
.segs.warn i.on { background: #c9a227; }
.segs.neg i.on { background: var(--neg); }
.spark { width: 120px; height: 34px; }
.spark .line { fill: none; stroke: var(--blue); stroke-width: 1.5; }
.spark .mk { fill: var(--blue); }

/* stage (central visual) */
.stage { position: relative; overflow: hidden; padding: 0; min-height: 520px; background: var(--card); }
.stage .grid-dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(21,25,37,.09) .8px, transparent .9px); background-size: 10px 10px; }
.stage .art { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage .conn { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.stage .conn line { stroke: #9aa8e6; stroke-width: 1; vector-effect: non-scaling-stroke; }
.hot { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 5px rgba(36,70,236,.14), 0 0 0 10px rgba(36,70,236,.06); }
.callout { position: absolute; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 10px 0 9px; border-radius: 8px; background: rgba(252,253,255,.82); border: 1px solid rgba(255,255,255,.9); box-shadow: var(--sh-float); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 12.5px; font-weight: 500; transition: background var(--t), border-color var(--t); cursor: pointer; }
.callout svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; color: var(--blue); }
.callout .chev { color: var(--text3); }
.callout:hover { background: #fff; }
.callout.on { border-color: #b9c6ff; background: #fff; }
.callout small { font-weight: 400; color: var(--text3); font-size: 11px; }
.spot { position: absolute; left: 18px; right: 18px; bottom: 18px; margin: 0 auto; max-width: 340px; padding: 14px 16px; border-radius: 10px; background: rgba(252,253,255,.9); border: 1px solid rgba(255,255,255,.9); box-shadow: var(--sh-float); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.spot .eyebrow { margin-bottom: 2px; }
.spot .s-name { font-weight: 500; font-size: 14px; }
.spot .s-val { font-size: 40px; font-weight: 300; letter-spacing: -0.03em; line-height: 1; margin: 4px 0 2px; }
.spot .s-val small { font-size: 12px; letter-spacing: 0; color: var(--text3); font-weight: 400; margin-left: 6px; }
.spot .s-den { font-size: 11.5px; color: var(--text3); }
.spot .row { margin-top: 10px; justify-content: space-between; }
.conceptual { position: absolute; top: 14px; left: 16px; font-size: 10.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--text3); }
.callout-row { display: none; }

/* right analytical panel */
.panel { padding: 0; display: flex; flex-direction: column; }
.panel section { padding: 16px 20px; border-top: 1px solid var(--line); }
.panel section:first-child { border-top: 0; }
.panel .p-head { display: flex; align-items: center; gap: 8px; }
.panel .p-head svg { width: 18px; height: 18px; fill: none; stroke: var(--blue); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.panel .p-head .ic { margin-left: auto; width: 30px; height: 30px; }
.p-title { font-size: 12.5px; font-weight: 500; margin-bottom: 8px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.sec-kpi { display: flex; align-items: baseline; gap: 8px; }
.sec-kpi .n { font-size: 34px; font-weight: 300; letter-spacing: -0.03em; line-height: 1; }
.sec-kpi .u { color: var(--text3); font-size: 12px; }
.rank { display: grid; grid-template-columns: minmax(0, 1.3fr) 1fr auto; gap: 10px; align-items: center; width: 100%; padding: 6px 4px; border: 0; background: transparent; border-radius: 6px; text-align: left; font-size: 12.5px; transition: background var(--t); }
.rank:hover { background: var(--muted); }
.rank.on { background: var(--sel); }
.rank-l { display: flex; align-items: center; gap: 8px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--ink); }
.rank-l .dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.rank-bar { height: 6px; background: var(--muted); border-radius: 3px; overflow: hidden; }
.rank-bar i { display: block; height: 100%; background: var(--blue); border-radius: 3px; }
.rank-v { text-align: right; color: var(--text2); min-width: 44px; }
.link { color: var(--blue); font-weight: 500; font-size: 12.5px; text-decoration: none; background: none; border: 0; padding: 0; }
.link:hover { text-decoration: underline; }

/* charts */
.chart { width: 100%; height: auto; display: block; }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.chart .tick { font-size: 10.5px; fill: var(--text3); font-family: var(--font); }
.chart .line { fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.chart .line2 { fill: none; stroke: var(--lav); stroke-width: 1.5; stroke-linejoin: round; }
.chart .area { fill: var(--blue); opacity: .07; }
.chart .mk { fill: var(--blue); stroke: #fff; stroke-width: 1.5; opacity: 0; transition: opacity var(--t); }
.chart .mk2 { fill: var(--lav); }
.chart .pt:hover .mk { opacity: 1; }
.chart .bar { fill: var(--blue2); }
.chart .bar-late { fill: var(--c5); }
.chart-empty { color: var(--text3); font-size: 12.5px; }
.legend { display: flex; gap: 14px; font-size: 11px; color: var(--text3); margin-top: 6px; flex-wrap: wrap; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.sw { width: 14px; height: 2px; background: var(--blue); display: inline-block; }
.sw2 { background: var(--lav); }
.tip { position: fixed; z-index: 60; background: var(--navy); color: #fff; font-size: 11.5px; padding: 6px 9px; border-radius: 6px; pointer-events: none; white-space: nowrap; box-shadow: var(--sh-float); }

/* insight strip */
.insights { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 26px 0; }
.insights > div { padding: 18px 20px; border-top: 1px solid var(--line); }
.insights > div:first-child { border-top: 0; }
.ins-h { font-weight: 300; font-size: 22px; letter-spacing: -0.015em; margin-top: 2px; }
.ins-n { font-size: 10.5px; letter-spacing: 1.2px; color: var(--blue); font-weight: 500; margin-bottom: 6px; }
.ins-t { font-weight: 500; font-size: 13.5px; margin-bottom: 4px; }
.ins-b { color: var(--text2); font-size: 12.5px; margin-bottom: 8px; }
.ins-kind { font-size: 10.5px; color: var(--text3); letter-spacing: .6px; text-transform: uppercase; margin-right: 6px; }

/* lower */
.lower { display: grid; gap: 18px; }
.card-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.card-h h3 { font-size: 15px; }
.seg-ctl { display: inline-flex; border: 1px solid var(--line); border-radius: var(--r-ctl); overflow: hidden; }
.seg-ctl button { border: 0; background: var(--float); padding: 6px 10px; font-size: 12px; color: var(--text2); }
.seg-ctl button.on { background: var(--sel); color: var(--blue); font-weight: 500; }
.deep-status { display: flex; align-items: center; gap: 12px; color: var(--text2); }
.spinner { width: 16px; height: 16px; border: 2px solid var(--line); border-top-color: var(--blue); border-radius: 50%; animation: spin .8s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.progress { height: 5px; background: var(--muted); border-radius: 3px; overflow: hidden; margin-top: 10px; }
.progress i { display: block; height: 100%; width: 8%; background: var(--blue); transition: width .4s ease; }
.deep-sum { font-size: 13.5px; color: var(--ink); }
.deep-sum b { font-weight: 500; }

/* signals (report) */
.report { display: grid; gap: 14px; }
.finding { border-top: 1px solid var(--line); padding: 12px 0; }
.finding:first-of-type { border-top: 0; padding-top: 0; }
.finding b { font-weight: 500; display: block; margin-bottom: 4px; }
.finding p { color: var(--text2); margin: 0 0 6px; }
.finding .sev { font-size: 10.5px; letter-spacing: 1px; text-transform: uppercase; margin-left: 8px; font-weight: 500; }
.sev-watch .sev { color: var(--blue); } .sev-attention .sev { color: var(--warn); } .sev-urgent .sev { color: var(--neg); }
.quote { display: block; border-left: 2px solid var(--c4); padding: 3px 0 3px 12px; margin: 6px 0; font-size: 12.5px; color: var(--text2); }
.quote i { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--ink); }
.quote small { display: block; font-size: 11px; color: var(--text3); margin-top: 2px; }
.list { margin: 0; padding-left: 18px; color: var(--text2); }
.list li { margin: 4px 0; }
.action { display: grid; grid-template-columns: 74px 1fr; gap: 12px; border-top: 1px solid var(--line); padding: 12px 0; }
.action:first-of-type { border-top: 0; padding-top: 0; }
.action .when { font-size: 10.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--blue); padding-top: 3px; font-weight: 500; }
.action b { font-weight: 500; display: block; }
.action p { color: var(--text2); margin: 2px 0 0; }
.crisis { border-color: #ecc9c2; background: #fff8f6; }
.crisis h3 { color: var(--neg); }
.helplines { font-size: 12.5px; color: var(--text2); margin-top: 10px; }
.helplines b { font-weight: 500; color: var(--ink); }

/* explore */
.explore { display: grid; gap: 18px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: 12.5px; min-width: 560px; }
th { text-align: left; font-weight: 500; font-size: 10.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--text3); padding: 8px 10px; border-bottom: 1px solid var(--line); }
td { padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th.n, td.n { text-align: right; }
tr.sel td { background: var(--sel); }
tbody tr:hover td { background: var(--muted); }
tr.sel:hover td { background: var(--sel); }
td .th { display: inline-block; font-size: 10.5px; color: var(--blue); background: var(--sel); border-radius: 4px; padding: 1px 6px; margin: 2px 4px 0 0; }
.pager { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 12px; color: var(--text3); }
.detail dt { font-size: 10.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--text3); margin-top: 12px; }
.detail dd { margin: 2px 0 0; color: var(--text2); }
.detail dd b { color: var(--ink); font-weight: 500; }
.empty { padding: 30px 20px; text-align: center; color: var(--text3); }

/* methodology */
.method dl { margin: 0; }
.method dt { font-weight: 500; margin-top: 12px; }
.method dd { margin: 2px 0 0; color: var(--text2); }

/* footer */
.foot { max-width: 1720px; margin: 0 auto; padding: 22px 38px 40px; font-size: 12px; color: var(--text3); border-top: 1px solid var(--line); display: grid; gap: 6px; }
.foot b { color: var(--ink); font-weight: 500; }
.foot a { margin-left: 8px; }

/* responsive */
@media (min-width: 720px) {
  .hero { grid-template-columns: 1.2fr 1fr; padding: 40px 0 10px; }
  .hero-card { justify-self: end; width: 100%; }
  .strip3 { grid-template-columns: repeat(3, 1fr); }
  .strip3 div { border-top: 0; border-left: 1px solid var(--line); }
  .strip3 div:first-child { border-left: 0; }
  .cols3 { grid-template-columns: repeat(3, 1fr); }
  .cta { grid-template-columns: 1fr auto; align-items: center; padding: 32px 36px; }
  .lower { grid-template-columns: 1fr 1fr; }
  .insights { grid-template-columns: 1.1fr 1fr 1fr 1fr; }
  .insights > div { border-top: 0; border-left: 1px solid var(--line); }
  .insights > div:first-child { border-left: 0; }
  .explore { grid-template-columns: 1.6fr 1fr; align-items: start; }
  .report { grid-template-columns: 1fr 1fr; }
  .report .span2 { grid-column: 1 / -1; }
}
@media (max-width: 1180px) and (min-width: 720px) {
  .overview { grid-template-columns: minmax(240px, .9fr) minmax(300px, 1.4fr); }
  .overview .panel { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
  .overview .panel section:first-child { grid-column: 1 / -1; }
  .overview .panel section { border-top: 1px solid var(--line); }
  .overview .panel section:nth-child(2) { border-right: 1px solid var(--line); }
}
@media (max-width: 719px) {
  .hdr { height: auto; min-height: 64px; padding: 10px 16px; flex-wrap: wrap; gap: 8px 12px; }
  .brand-desc { display: none; }
  .hdr-nav { order: 3; width: 100%; overflow-x: auto; margin: 0; padding-bottom: 2px; }
  .tab { flex: none; }
  .ic.dash-only:not(#btn-export) { display: none; }
  .page { padding: 20px 16px 50px; }
  .h-main { font-size: 28px; }
  .overview { grid-template-columns: 1fr; }
  .rail { grid-template-rows: auto; grid-template-columns: 1fr 1fr; }
  .rail .id-card { grid-column: 1 / -1; }
  .rail .metric:last-child { grid-column: 1 / -1; }
  .stage { min-height: 400px; }
  .callout { display: none; }
  .conn, .hot { display: none; }
  .spot { position: static; max-width: none; margin: 0; border-radius: 0; box-shadow: none; border: 0; border-top: 1px solid var(--line); background: var(--card); }
  .stage .art { height: 300px; position: relative; }
  .stage .grid-dots { height: 300px; }
  .callout-row { display: flex; gap: 8px; padding: 12px 14px 0; flex-wrap: wrap; }
  .callout-row .callout { position: static; display: inline-flex; height: 34px; }
  .status a { margin-left: 0; }
  .metric .m-val { font-size: 28px; }
  .foot { padding: 20px 16px 36px; }
}
@media (min-width: 1600px) { .overview, .lower { gap: 24px; } }

/* print */
@media print {
  body { background: #fff; }
  .hdr, .foot, .controls, .btn, .tip, .ic { display: none !important; }
  .card { box-shadow: none; break-inside: avoid; }
  .page { max-width: none; padding: 0; }
  .dview[hidden] { display: block !important; }
}

/* ===== snapshot (visual) ===== */
.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ill { display: block; width: 100%; max-width: 100%; height: auto; }
.snap { display: grid; gap: 14px; }
.snap-hero { display: grid; grid-template-columns: 1fr; gap: 18px; align-items: center; padding: 22px; }
.snap-people { width: 100%; max-width: 280px; margin: 0 auto; }
.snap-name { font-weight: 500; font-size: 20px; letter-spacing: -0.01em; }
.snap-rel { font-size: 12.5px; color: var(--text3); margin-bottom: 10px; }
.snap-head { font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.25; color: var(--ink); margin: 0 0 10px; }
.snap-ring { display: grid; justify-items: center; gap: 6px; }
.ring { width: 150px; height: 150px; }
.ring-seg { fill: none; stroke: var(--muted); stroke-width: 12; stroke-linecap: round; }
.ring-seg.on.l1, .ring-seg.on.l2 { stroke: var(--blue); }
.ring-seg.on.l3 { stroke: #c9a227; }
.ring-seg.on.l4 { stroke: #d98a5f; }
.ring-seg.on.l5 { stroke: var(--neg); }
.ring-n { font-size: 46px; font-weight: 300; fill: var(--ink); font-family: var(--font); letter-spacing: -0.03em; }
.ring-d { font-size: 11px; fill: var(--text3); font-family: var(--font); }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 14px 16px; box-shadow: var(--sh); position: relative; }
.tile-ic { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border-radius: 8px; background: var(--sel); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; }
.tile.neg .tile-ic { background: var(--neg-bg); color: var(--neg); }
.tile.warn .tile-ic { background: var(--warn-bg); color: var(--warn); }
.tile.pos .tile-ic { background: var(--pos-bg); color: var(--pos); }
.tile-v { font-size: 30px; font-weight: 300; letter-spacing: -0.03em; line-height: 1.05; margin-top: 4px; }
.tile-l { font-size: 12.5px; font-weight: 500; margin-top: 4px; }
.tile-n { font-size: 11px; color: var(--text3); margin-top: 2px; }
.grid2 { display: grid; gap: 14px; margin-top: 14px; }
.deltas { display: grid; gap: 4px; }
.delta { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; padding: 8px 6px; border-radius: 8px; }
.delta:hover { background: var(--muted); }
.d-ic { width: 34px; height: 34px; border-radius: 9px; background: var(--sel); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; }
.d-body { min-width: 0; display: grid; }
.d-body b { font-weight: 500; font-size: 13.5px; }
.d-body span { font-size: 11.5px; color: var(--text3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.d-dir .ico { width: 13px; height: 13px; }
.sigs { display: grid; gap: 8px; }
.sig { border: 1px solid var(--line); border-radius: 10px; background: var(--float); }
.sig summary { list-style: none; display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; cursor: pointer; }
.sig summary::-webkit-details-marker { display: none; }
.s-ic { width: 34px; height: 34px; border-radius: 9px; background: var(--sel); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; }
.s-t { font-weight: 500; font-size: 13.5px; }
.s-sev { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--text3); }
.s-sev i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.sev-attention .s-sev i { background: #c9a227; } .sev-urgent .s-sev i { background: var(--neg); }
.sev-attention .s-ic { background: var(--warn-bg); color: var(--warn); } .sev-urgent .s-ic { background: var(--neg-bg); color: var(--neg); }
.sig .q, .sig .s-d { margin: 0 12px 10px 56px; }
.sig .s-d { font-size: 12.5px; color: var(--text2); }
.q { border-left: 2px solid var(--c4); padding: 2px 0 2px 10px; margin: 6px 0; }
.q i { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--ink); display: block; }
.q small { font-size: 11px; color: var(--text3); }
.bubbles { display: grid; gap: 10px; }
.bubble { position: relative; background: var(--sel); border-radius: 14px 14px 14px 4px; padding: 10px 14px; display: grid; gap: 2px; }
.bubble b { font-weight: 500; font-size: 13.5px; display: flex; align-items: center; gap: 8px; color: var(--navy); }
.bubble b .ico { color: var(--blue); width: 16px; height: 16px; }
.bubble i { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--ink); }
.bubble small { font-size: 11px; color: var(--text3); }
.todos { display: grid; gap: 6px; }
.todo { border-radius: 10px; border: 1px solid var(--line); background: var(--float); }
.todo summary { list-style: none; display: grid; grid-template-columns: 22px 30px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; cursor: pointer; }
.todo summary::-webkit-details-marker { display: none; }
.t-n { width: 22px; height: 22px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 11px; font-weight: 500; display: inline-flex; align-items: center; justify-content: center; }
.t-ic { color: var(--blue); display: inline-flex; }
.t-t { font-weight: 500; font-size: 13.5px; }
.todo p { margin: 0 12px 10px 74px; font-size: 12.5px; color: var(--text2); }
.waiting { display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: center; }
.waiting .ill { width: 120px; }
.waiting b { display: block; font-weight: 500; }
.waiting span { font-size: 12px; color: var(--text3); }
.calm { display: flex; align-items: center; gap: 10px; color: var(--pos); font-size: 13px; }
.calm .ico { color: var(--pos); }
.lifts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lift { background: var(--pos-bg); border-radius: 10px; padding: 12px; display: grid; gap: 2px; }
.l-ic { width: 30px; height: 30px; border-radius: 8px; background: #fff; color: var(--pos); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.lift b { font-weight: 500; font-size: 13px; color: #1f5a37; }
.lift span { font-size: 11.5px; color: #3f7a55; }
.rhythm .chart { max-height: 90px; }
.r-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.r-stats > div { display: grid; grid-template-columns: 18px 1fr; gap: 2px 8px; align-items: center; background: var(--bg); border-radius: 8px; padding: 8px 10px; }
.r-stats .ico { grid-row: 1 / span 2; color: var(--blue); }
.r-stats b { font-weight: 500; font-size: 14px; }
.r-stats span { font-size: 11px; color: var(--text3); }
.r-week { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 11px; color: var(--text3); }
.r-week .spark { width: 160px; }
.deep-line { margin-top: 14px; font-size: 13px; color: var(--text2); }
.deep-line .ico { vertical-align: -4px; color: var(--pos); margin-right: 6px; }
.msgs { display: grid; gap: 8px; }
.msg { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: var(--float); }
.msg.sel { border-color: #b9c6ff; background: var(--sel); }
.msg-t { font-size: 13px; }
.msg-m { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 6px; font-size: 11px; color: var(--text3); }
.msg-m .th { font-size: 10.5px; color: var(--blue); background: var(--sel); border-radius: 4px; padding: 1px 6px; }
.side { display: grid; gap: 14px; align-content: start; }
.kv3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 8px; }
.kv3 div { background: var(--bg); border-radius: 8px; padding: 8px 10px; }
.kv3 b { display: block; font-size: 18px; font-weight: 400; }
.kv3 span { font-size: 11px; color: var(--text3); }
.hero-stage { position: relative; width: 100%; max-width: 520px; margin: 0 auto; aspect-ratio: 520 / 640; border-radius: 18px; overflow: hidden; background: linear-gradient(180deg, #F6F8FD, #E9EDF7); }
.hero-stage .ill-hero { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: auto; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%; display: block; }
/* hero carousel */
.carousel { position: relative; width: 100%; max-width: 520px; margin: 0 auto; border-radius: 18px; overflow: hidden; box-shadow: var(--sh-float); background: var(--sel); }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.slides::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; position: relative; margin: 0; aspect-ratio: 4 / 5; scroll-snap-align: start; }
.slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.slide figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 22px 26px; background: linear-gradient(180deg, rgba(17,22,39,0) 0%, rgba(17,22,39,.55) 45%, rgba(17,22,39,.78) 100%); color: #fff; }
.slide h3 { font-weight: 300; font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -0.02em; line-height: 1.15; margin: 10px 0 0; max-width: 20ch; }
.slide h3 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: #C9D3FF; }
.slide .tag { display: inline-flex; align-items: center; gap: 8px; height: 26px; padding: 0 10px; border-radius: 7px; background: rgba(252,253,255,.92); color: var(--navy); font-size: 11.5px; font-weight: 500; }
.slide .tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.arrow { position: absolute; top: 44%; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.7); background: rgba(252,253,255,.85); color: var(--navy); display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--sh-float); backdrop-filter: blur(6px); opacity: 0; transition: opacity var(--t); }
.arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.arrow.prev { left: 12px; } .arrow.next { right: 12px; }
.carousel:hover .arrow, .arrow:focus-visible { opacity: 1; }
.dots { position: absolute; top: 14px; right: 14px; display: flex; gap: 6px; }
.dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,.55); box-shadow: 0 0 0 1px rgba(17,22,39,.15); transition: transform var(--t), background var(--t); }
.dots button.on { background: var(--blue); transform: scale(1.2); box-shadow: 0 0 0 2px rgba(255,255,255,.8); }
.conceptual.light { color: rgba(17,22,39,.55); position: absolute; top: 16px; left: 16px; }
/* photo headers on snapshot cards */
.card-photo { padding-top: 0; overflow: hidden; }
.photo-head { position: relative; height: 96px; margin: 0 -20px 16px; }
.photo-head img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; display: block; }
.photo-head span { position: absolute; left: 20px; bottom: 10px; font-size: 11px; letter-spacing: 1.1px; text-transform: uppercase; color: #fff; text-shadow: 0 1px 6px rgba(17,22,39,.5); font-weight: 500; }
.photo-head::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,22,39,0) 40%, rgba(17,22,39,.45)); }
.snap-img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 40% 50%; border-radius: 14px; }
.cta-art img { display: block; width: 150px; height: 150px; object-fit: cover; object-position: 50% 20%; border-radius: 14px; }
.hero-stage .conceptual { position: absolute; left: 14px; top: 12px; z-index: 2; }
.hero-stage .conn, .hero-stage .hot, .hero-stage .callout { z-index: 2; }
.hero-stage .callout { white-space: nowrap; }
.hero-stage .callout small { margin-left: 4px; }
.hero-spot { z-index: 3; padding: 12px 14px; left: auto; right: 14px; bottom: 14px; width: min(320px, calc(100% - 28px)); }
.hero-spot .s-den { font-size: 11px; }
.hero-spot .s-val { font-size: 30px; margin: 0; }
.hero-spot .s-val small { display: block; margin: 0; }
.hero-spot .s-name { font-size: 14px; }
.hero-spot .row { margin-top: 2px; gap: 12px; }
@media (max-width: 719px) {
  .arrow { opacity: 1; width: 32px; height: 32px; }
  .slide { aspect-ratio: 4 / 4.6; }
  .slide h3 { font-size: 22px; }
}
/* landing: editorial rhythm */
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; padding: 22px 0 10px; font-size: 13px; color: var(--text2); border-top: 1px solid var(--line); margin-top: 26px; }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust .ico { color: var(--blue); }
.flow { padding: 44px 0 10px; }
.flow-head { text-align: center; }
.flow-head .eyebrow { justify-content: center; }
.flow-line { position: relative; height: 300px; margin-top: 10px; }
.flow-path { position: absolute; inset: 0; width: 100%; height: 100%; }
.flow-path path { fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-dasharray: 4 6; vector-effect: non-scaling-stroke; opacity: .7; }
.flow-node { position: absolute; width: 230px; display: grid; gap: 4px; }
.flow-node .f-num { font-size: 11px; letter-spacing: 1.2px; color: var(--blue); font-weight: 500; }
.flow-node .f-ic { width: 44px; height: 44px; border-radius: 50%; background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh-float); display: inline-flex; align-items: center; justify-content: center; color: var(--blue); margin: 2px 0 6px; }
.flow-node .f-ic .ico { width: 20px; height: 20px; }
.flow-node b { font-weight: 500; font-size: 15px; }
.flow-node > span:last-child { font-size: 12.5px; color: var(--text3); }
.flow-node.n1 { left: 0; top: 108px; }
.flow-node.n2 { left: 50%; transform: translateX(-50%); top: 0; text-align: center; justify-items: center; }
.flow-node.n3 { right: 0; top: 108px; text-align: right; justify-items: end; }
.feature { display: grid; gap: 28px; padding: 48px 0 20px; align-items: center; }
.feat-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.feat-list li { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 400; }
.feat-list .ico { width: 30px; height: 30px; padding: 6px; border-radius: 8px; background: var(--sel); color: var(--blue); }
.feature-mock { position: relative; height: 380px; border-radius: 18px; background: linear-gradient(180deg, #F6F8FD, #E9EDF7); overflow: hidden; }
.feature-mock .m { position: absolute; box-shadow: var(--sh-float); }
.feature-mock .m-ring { left: 6%; top: 8%; display: grid; justify-items: center; gap: 4px; background: var(--card); border-radius: 16px; padding: 12px 18px 14px; transform: rotate(-3deg); }
.feature-mock .m-ring .ring { width: 120px; height: 120px; }
.feature-mock .m-tile { left: 54%; top: 6%; width: 170px; transform: rotate(2deg); padding: 12px 14px; }
.feature-mock .m-delta { left: 46%; top: 44%; width: 220px; background: var(--card); border-radius: 10px; padding: 8px 10px; transform: rotate(-1.5deg); }
.feature-mock .m-bubble { left: 6%; top: 62%; width: 200px; transform: rotate(1.5deg); box-shadow: var(--sh-float); }
.feature-mock .m-todo { left: 40%; top: 76%; width: 240px; transform: rotate(-2deg); background: var(--card); }
.feature-mock .m-out { left: 58%; top: 26%; width: 210px; transform: rotate(1deg); background: var(--card); display: none; }
@media (min-width: 1100px) { .feature-mock .m-out { display: grid; } .feature-mock .m-delta { top: 50%; } }
.band { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; background: var(--blue); color: #fff; border-radius: 6px; padding: 14px 24px; margin-top: 34px; }
.band-l { font-size: 22px; font-weight: 300; color: rgba(255,255,255,.7); letter-spacing: -0.01em; }
.band-c { font-size: 13px; text-align: center; color: rgba(255,255,255,.9); }
.band-r { font-size: 24px; }
.band-r em { font-family: var(--serif); font-style: italic; color: #fff; }
.band-words { display: flex; justify-content: center; gap: 40px; padding: 26px 0 6px; font-size: 24px; font-weight: 300; letter-spacing: -0.01em; color: var(--text3); }
.band-words span:nth-child(2) { color: var(--text2); }
.band-words span:nth-child(3) { color: var(--ink); }
.faq2 { display: grid; gap: 20px; padding: 44px 0 10px; align-items: start; }
.cta { position: relative; overflow: hidden; }
.cta-art { width: 150px; }
@media (min-width: 720px) {
  .feature { grid-template-columns: 1fr 1.25fr; }
  .faq2 { grid-template-columns: 1fr 1.6fr; }
  .cta { grid-template-columns: 150px 1fr auto; align-items: center; }
}
@media (max-width: 719px) {
  .flow-line { height: auto; display: grid; gap: 18px; padding-left: 26px; border-left: 2px dashed #b9c6ff; }
  .flow-path { display: none; }
  .flow-node { position: static; width: auto; transform: none !important; text-align: left !important; justify-items: start !important; }
  .feature-mock { height: 320px; }
  .feature-mock .m-delta { left: 40%; width: 200px; }
  .feature-mock .m-todo { left: 30%; width: 230px; top: 74%; }
  .band { grid-template-columns: 1fr; text-align: center; gap: 6px; }
  .band-words { gap: 22px; font-size: 18px; }
  .cta-art { display: none; }
}
/* reading model section */
.model { padding: 48px 0 10px; }
.model-head { max-width: 640px; }
.model-grid { display: grid; gap: 12px; margin-top: 22px; }
.mtile { display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; gap: 2px 14px; padding: 16px 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); }
.mtile .m-ic { grid-row: 1 / span 2; width: 40px; height: 40px; border-radius: 10px; background: var(--sel); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; }
.mtile b { font-weight: 500; font-size: 14px; }
.mtile span:last-child { font-size: 12.5px; color: var(--text2); }
@media (min-width: 720px) { .model-grid { grid-template-columns: repeat(3, 1fr); } }
/* deep read banner */
.deep-banner { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 12px 16px; border-radius: var(--r-card); border: 1px solid #c9d3ff; background: var(--sel); margin-bottom: 14px; }
.deep-banner b { display: block; font-weight: 500; font-size: 14px; }
.deep-banner span { font-size: 12.5px; color: var(--text2); }
.deep-banner .progress { margin-top: 8px; max-width: 420px; }
.deep-banner .ico { color: var(--pos); width: 22px; height: 22px; }
.deep-banner.done { background: var(--pos-bg); border-color: #bfe3cb; grid-template-columns: auto 1fr; }
.deep-banner.err { background: var(--neg-bg); border-color: #efc4bc; }
.deep-banner.err .ico { color: var(--neg); }
.deep-banner.reading .spinner { width: 22px; height: 22px; border-width: 3px; }
@media (max-width: 719px) { .deep-banner { grid-template-columns: auto 1fr; } .deep-banner > .badge { grid-column: 2; justify-self: start; } }
/* deep-read permission card */
.ask-deep { border-color: #c9d3ff; background: linear-gradient(180deg, var(--sel), var(--card) 60%); margin-bottom: 14px; }
.ask-head { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; margin-bottom: 14px; }
.ask-ic { width: 44px; height: 44px; border-radius: 12px; background: #fff; color: var(--blue); display: inline-flex; align-items: center; justify-content: center; }
.ask-ic .ico { width: 22px; height: 22px; }
.ask-grid { display: grid; gap: 12px; margin-bottom: 12px; }
.ask-box { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.ask-k { font-size: 10.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--text3); font-weight: 500; margin-bottom: 8px; }
.ask-box .list { font-size: 12.5px; }
.ask-box .list li { margin: 6px 0; }
.ask-box .note { margin-top: 8px; }
.ask-remember { border-top: 1px solid var(--line); margin-bottom: 12px; font-size: 12.5px; }
.deep-banner .db-ic { width: 22px; height: 22px; color: var(--blue); display: inline-flex; }
@media (min-width: 720px) { .ask-grid { grid-template-columns: 1fr 1fr; } }
/* group scan */
.group-only { display: none; }
body.is-group .group-only { display: inline-flex; }
.group-intro { display: grid; gap: 14px; }
.group-top { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--bg); border-radius: 10px; }
.group-top b { font-weight: 500; }
.group-top span:last-child { color: var(--text3); font-size: 12.5px; }
.group-list { display: grid; gap: 10px; margin-top: 12px; }
.group-row { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; }
.group-row.hot { border-color: #f0c9b5; }
.g-name { font-weight: 500; font-size: 15px; }
.g-name small { font-weight: 400; color: var(--text3); font-size: 12px; margin-left: 8px; }
.g-level { display: flex; align-items: center; gap: 10px; margin: 6px 0; }
.g-level .lvl { width: 120px; margin: 0; }
.g-themes { display: flex; flex-wrap: wrap; gap: 6px; }
.gp-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
.gp-row:first-of-type { border-top: 0; }
.gp-row input { width: 18px; height: 18px; accent-color: var(--navy); }
@media (min-width: 720px) { .group-intro { grid-template-columns: 1fr auto; align-items: center; } }
@media (max-width: 719px) { .group-row { grid-template-columns: 44px 1fr; } .group-row .btn { grid-column: 2; justify-self: start; } }
/* paste path */
.paste-call { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; margin-top: 22px; background: var(--sel); border-color: #cdd6ff; }
.paste-call h3 { font-size: 16px; margin: 0 0 4px; }
.paste-call h3 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--blue); }
.paste-call p { margin: 0; color: var(--text2); font-size: 13px; }
.pc-ic { width: 44px; height: 44px; border-radius: 12px; background: #fff; color: var(--blue); display: inline-flex; align-items: center; justify-content: center; }
.paste-call .btn { justify-self: start; grid-column: 2; }
@media (min-width: 720px) { .paste-call { grid-template-columns: 44px 1fr auto; } .paste-call .btn { grid-column: auto; } }
.or { display: flex; align-items: center; gap: 12px; margin: 16px 0; color: var(--text3); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.paste-box h3 { font-size: 16px; margin: 0 0 2px; }
.paste-box h3 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--blue); }
.paste-box textarea { width: 100%; font: inherit; font-size: 13px; padding: 10px 12px; border-radius: var(--r-ctl); border: 1px solid var(--line); background: var(--float); resize: vertical; }
/* export guide */
.xp-head { max-width: 640px; padding-top: 10px; }
.xp-grid { display: grid; gap: 14px; margin-top: 24px; }
.xp h3 { font-size: 16px; margin: 0 0 4px; }
.xp-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.xp-mark { width: 40px; height: 40px; border-radius: 11px; color: #fff; font-weight: 600; font-size: 17px; display: inline-flex; align-items: center; justify-content: center; flex: none; object-fit: cover; }
.xp ol { margin: 0; padding-left: 20px; color: var(--text2); font-size: 13px; }
.xp ol li { margin: 4px 0; }
.xp ol b, .xp-cols b { color: var(--ink); font-weight: 500; }
.xp-cols { display: grid; gap: 12px; }
.xp-cols > div > b { display: block; font-size: 12px; letter-spacing: .6px; text-transform: uppercase; color: var(--text3); margin-bottom: 4px; }
.fmt { background: var(--bg); border-radius: 8px; padding: 10px 12px; font-size: 12px; overflow-x: auto; margin: 8px 0; color: var(--ink); }
@media (min-width: 720px) { .xp-grid { grid-template-columns: repeat(2, 1fr); } .xp-cols { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .xp-grid { grid-template-columns: repeat(3, 1fr); } }
/* outlook & infographic pieces */
.outlook { display: grid; gap: 16px; }
.o-rows { display: grid; gap: 8px; }
.o-row { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; background: var(--bg); }
.o-row .o-ic { width: 38px; height: 38px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: var(--sel); color: var(--blue); }
.o-row.neg .o-ic { background: var(--neg-bg); color: var(--neg); }
.o-row.pos .o-ic { background: var(--pos-bg); color: var(--pos); }
.o-row .o-k { font-size: 10.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--text3); }
.o-row .o-v { font-size: 14px; font-weight: 500; line-height: 1.3; }
.journey { display: flex; align-items: flex-start; margin-top: 14px; padding: 0 4px; }
.journey .j { flex: 1; position: relative; text-align: center; font-size: 11px; color: var(--text3); }
.journey .j::before { content: ''; position: absolute; left: 50%; right: -50%; top: 6px; height: 2px; background: var(--line); }
.journey .j:last-child::before { display: none; }
.journey .j i { position: relative; z-index: 1; display: block; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid var(--c4); margin: 0 auto 6px; }
.journey .j.now i { border-color: var(--blue); background: var(--blue); }
.journey .j.next i { border-color: var(--blue); border-style: dashed; }
.journey .j b { display: block; color: var(--ink); font-weight: 500; font-size: 12px; }
.journey .j.next b { color: var(--blue); }
mark, .hl { background: linear-gradient(transparent 55%, #dfe6ff 55%); color: inherit; padding: 0 2px; border-radius: 2px; }
.chart-traj .future { fill: var(--sel); opacity: .5; }
.chart-traj .trend { fill: none; stroke: var(--navy); stroke-width: 1.5; }
.chart-traj .proj { fill: none; stroke: var(--navy); stroke-width: 1.5; stroke-dasharray: 4 4; }
.chart-traj .now { stroke: var(--blue); stroke-width: 1; stroke-dasharray: 2 3; }
.sw-dash { background: repeating-linear-gradient(90deg, var(--navy) 0 3px, transparent 3px 6px); }
.chart-radar .web { fill: none; stroke: var(--line); stroke-width: 1; }
.chart-radar .r-now { fill: var(--blue); fill-opacity: .16; stroke: var(--blue); stroke-width: 1.6; }
.chart-radar .r-usual { fill: none; stroke: var(--lav); stroke-width: 1.4; stroke-dasharray: 4 3; }
.chart-radar .mk.on { opacity: 1; }
.donut { width: 118px; height: 118px; }
.donut .d-n { font-size: 20px; font-weight: 300; fill: var(--ink); font-family: var(--font); letter-spacing: -0.02em; }
.donut .d-l { font-size: 7.5px; fill: var(--text3); font-family: var(--font); }
.mood { display: grid; grid-template-columns: 118px 1fr; gap: 14px; align-items: center; }
.mood-l { display: grid; gap: 8px; font-size: 12.5px; }
.mood-l div { display: flex; align-items: center; gap: 8px; }
.mood-l i { width: 10px; height: 10px; border-radius: 3px; }
.mood-l b { font-weight: 500; margin-left: auto; }
.heat { display: grid; grid-template-columns: repeat(26, 1fr); gap: 3px; margin-top: 10px; }
.heat i { display: block; aspect-ratio: 1; border-radius: 3px; }
.heat-l { display: flex; justify-content: space-between; font-size: 11px; color: var(--text3); margin-top: 6px; }
.todo .t-lead { grid-column: 3 / span 2; font-size: 12px; color: var(--text2); margin-top: -4px; padding-bottom: 6px; }
.todo .t-lead .ico { width: 13px; height: 13px; color: var(--pos); vertical-align: -2px; margin-right: 4px; }
.todo summary { grid-template-columns: 22px 30px 1fr auto; grid-auto-rows: auto; }
@media (min-width: 720px) { .outlook { grid-template-columns: 1.4fr 1fr; align-items: start; } .outlook.no-chart { grid-template-columns: 1fr; } .outlook .journey-wrap { grid-column: 1 / -1; } }
.snap-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.snap-top .snap-ring { flex: none; }
@media (min-width: 720px) {
  .snap-hero { grid-template-columns: 300px 1fr; }
  .snap-img { aspect-ratio: 3 / 2; }
  .tiles { grid-template-columns: repeat(4, 1fr); }
  .grid2 { grid-template-columns: 1fr 1fr; }
  .hero-art, .carousel { justify-self: end; width: 100%; }
}
@media (max-width: 719px) {
  .snap-hero { padding: 0 0 16px; gap: 12px; overflow: hidden; }
  .snap-people { max-width: none; }
  .snap-img { border-radius: 0; aspect-ratio: 16 / 10; object-position: 50% 45%; }
  .snap-id { padding: 0 16px; }
  .snap-top { align-items: center; }
  .snap-name { font-size: 18px; }
  .snap-rel { margin-bottom: 0; }
  .snap-ring .ring { width: 92px; height: 92px; }
  .snap-ring .badge { display: none; }
  .snap-head { font-size: 19px; margin: 10px 0 8px; }
  .tile-v { font-size: 26px; }
  .trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 16px 0 6px; font-size: 11.5px; text-align: center; }
  .trust span { flex-direction: column; gap: 6px; }
  .flow { padding: 30px 0 0; }
  .flow-line { padding-left: 0; border-left: 0; gap: 10px; }
  .flow-node { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; gap: 0 12px; align-items: center; padding: 10px 12px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
  .flow-node .f-num { display: none; }
  .flow-node .f-ic { grid-row: 1 / span 2; width: 40px; height: 40px; margin: 0; box-shadow: none; background: var(--sel); border: 0; }
  .flow-node b { font-size: 14px; }
  .flow-node > span:last-child { font-size: 12px; }
  .waiting { grid-template-columns: 90px 1fr; }
  .waiting .ill { width: 90px; }
  .sig .q, .sig .s-d, .todo p { margin-left: 12px; }
}

/* --- Up-front notice about the optional third-party deep read (consent screen) --- */
.card.notice { margin-top: 14px; border-left: 3px solid var(--blue); background: var(--sel); }
.card.notice p { margin: 0 0 9px; font-size: 12.5px; color: var(--ink); }
.card.notice p:last-child { margin-bottom: 0; }
.card.notice .notice-h { font-weight: 600; font-size: 13px; margin-bottom: 8px; }
.card.notice a.link { color: var(--blue); }

/* --- "Try it with a sample conversation" --- */
.sample-line { margin: 12px 0 0; font-size: 12.5px; color: var(--text2); }
.linkbtn { border: 0; background: none; padding: 0; font: inherit; font-weight: 600; color: var(--blue); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.linkbtn:hover { color: var(--navy); }

/* --- Landing-page disclosure of the optional third-party deep read --- */
.ai-band { max-width: 980px; margin: 6px auto 0; padding: 14px 18px; background: var(--sel); border: 1px solid var(--line); border-left: 3px solid var(--blue); border-radius: var(--r-card); }
.ai-band p { margin: 0; font-size: 12.5px; line-height: 1.6; color: var(--ink); }
.ai-band a.link { color: var(--blue); }
@media (max-width: 720px) { .ai-band { margin: 6px 16px 0; padding: 13px 15px; } }
.sample-line.note-ai { color: var(--ink); background: var(--sel); border-radius: var(--r-ctl); padding: 10px 12px; }
