/* T6: /atlas/. Phone first (390px): filters in a drawer, views stacked; from 900px the filters sit beside the views. */
.at{display:grid;gap:12px;grid-template-columns:minmax(0,1fr);margin:16px 0 0;position:relative}
.at.js .at-nojs,.at.js .at-static{display:none}.at:not(.js) .at-drawer,.at:not(.js) .at-tabs{display:none}
.at-drawer{background:var(--card);border:1px solid var(--line);border-radius:12px;padding:0 14px}
.at-drawer>summary{display:flex;gap:8px;align-items:center;min-height:44px;font-weight:700;list-style:none}
.at-drawer>summary::-webkit-details-marker{display:none}
.at-drawer>summary::after{content:"\25BE";margin-left:auto;color:var(--muted)}.at-drawer[open]>summary::after{content:"\25B4"}
.at-active{font-weight:600;color:var(--accent);font-size:13px}
.at-filters{display:grid;gap:10px;grid-template-columns:minmax(0,1fr);padding:0 0 14px}
.at-advanced{grid-column:1/-1;border-top:1px solid var(--line);padding-top:8px}
.at-advanced>summary{font-size:14px;font-weight:700;cursor:pointer;padding:4px 0}
.at-advanced-grid{display:grid;gap:10px;grid-template-columns:minmax(0,1fr);padding-top:10px}
.at-filters label{display:grid;gap:4px;font-size:14px;min-width:0}.at-filters label>span,.at-years legend{color:var(--muted);font-size:13px}
.at-filters label[hidden]{display:none}
.at-filters select{width:100%;min-width:0;max-width:100%;padding:8px;border:1px solid var(--line);border-radius:8px;font:inherit;background:var(--white)}
.at-filters .at-check{display:flex;gap:8px;align-items:center}
.at-years{border:0;padding:0;margin:0;min-width:0}.at-years legend{padding:0;margin:0 0 4px}.at-years output{color:var(--ink);font-weight:700}
.at-range{position:relative;height:32px}
.at-range input{position:absolute;left:0;right:0;top:6px;width:100%;margin:0;pointer-events:none;background:none;-webkit-appearance:none;appearance:none;height:20px}
.at-range input::-webkit-slider-runnable-track{height:4px;background:var(--line);border-radius:4px}
.at-range input::-moz-range-track{height:4px;background:var(--line);border-radius:4px}
.at-range input::-webkit-slider-thumb{pointer-events:auto;-webkit-appearance:none;width:20px;height:20px;margin-top:-8px;border-radius:50%;background:var(--accent);border:2px solid var(--white);box-shadow:0 0 0 1px var(--accent);cursor:pointer}
.at-range input::-moz-range-thumb{pointer-events:auto;width:18px;height:18px;border-radius:50%;background:var(--accent);border:2px solid var(--white);cursor:pointer}
.linkish{background:none;border:0;padding:4px 0;color:var(--accent);font:600 13px var(--sans);cursor:pointer;text-decoration:underline}
.at-fbtns{margin:4px 0 0}
.at-lede{margin:0;font-size:15px}
.at-tabs{display:flex;gap:6px;overflow-x:auto;-webkit-overflow-scrolling:touch;padding:2px 0 6px;scrollbar-width:thin}
.at-tabs a{flex:none;display:inline-flex;align-items:center;min-height:40px;padding:6px 14px;border:1px solid var(--line);border-radius:99px;background:var(--white);color:var(--ink2);font:600 14px var(--sans);text-decoration:none;white-space:nowrap}
.at-tabs a[aria-selected=true]{background:var(--navy);border-color:var(--navy);color:var(--white)}
.at-tabs a[hidden]{display:none}
.at-view{min-width:0}.at-view h2{margin:4px 0 4px}.at-view .sec-sub{margin-bottom:10px}
.at-ctl{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;margin:0 0 10px}.at-ctl:empty{display:none}
.at-ctl .seg{display:inline-flex;border:1px solid var(--line);border-radius:99px;overflow:hidden;background:var(--white)}
.at-ctl .seg button{border:0;background:none;padding:6px 14px;min-height:36px;font:600 13px var(--sans);color:var(--ink2);cursor:pointer}
.at-ctl .seg button[aria-pressed=true]{background:var(--navy);color:var(--white)}
.at-inl{display:inline-flex;gap:6px;align-items:center;font-size:14px;max-width:100%}.at-inl span{color:var(--muted)}
.at-inl select{max-width:100%;min-width:0;padding:6px 8px;border:1px solid var(--line);border-radius:8px;font:inherit;background:var(--white)}
.at-chart{width:100%;overflow:hidden}
.at-svg{display:block;max-width:100%;height:auto;font:11px var(--sans)}
.at-era0{fill:var(--cream)}.at-era1{fill:var(--tint-band)}.at-fcband{fill:var(--tint-fc)}
.at-iera0{fill:var(--iera-0)}.at-iera1{fill:var(--iera-1)}
.at-future{fill:var(--tint-future);fill-opacity:.7;stroke:var(--pale);stroke-dasharray:4 3}
.at-eral{fill:var(--muted);font-size:11px;font-weight:600;pointer-events:none}.at-futl{fill:var(--muted)}
.at-grid{stroke:var(--line-strong);stroke-width:1}.at-cut{stroke:var(--accent);stroke-dasharray:4 3}
.at-axl{fill:var(--muted);font-size:11px}.at-cutl{fill:var(--accent);font-weight:700}
.at-tick{stroke:var(--muted)}
.at-dot{fill-opacity:.78;stroke:var(--white);stroke-width:.6;cursor:pointer}.at-dot:hover{fill-opacity:1;stroke:var(--ink);stroke-width:1.5}
.at-cell{fill:var(--navy)}
.at-bar{fill:var(--navy);cursor:pointer}
.at-msb{cursor:pointer}
.at-mk0{fill:var(--band-breakout);background:var(--band-breakout)}.at-mk1{fill:var(--gold);background:var(--gold)}.at-mk2{fill:var(--band-strong);background:var(--band-strong)}
.at-mk3{fill:var(--violet);background:var(--violet)}.at-mk4{fill:var(--band-notable);background:var(--band-notable)}.at-mk5{fill:var(--danger);background:var(--danger)}.at-mk6{fill:var(--accent);background:var(--accent)}
.at-sw{display:inline-block;width:10px;height:10px;border-radius:2px;margin-right:6px}.at-sw.at-bar{background:var(--navy)}
.at-line{fill:none;stroke-width:1.4;stroke-opacity:.55;cursor:pointer}.at-line:hover{stroke-opacity:1;stroke-width:2.5}
.at-line.at-fc{stroke-dasharray:5 4;stroke-opacity:.8}
.at-median{fill:none;stroke:var(--ink);stroke-width:3}
.at-legend{list-style:none;padding:0;margin:8px 0;display:flex;flex-wrap:wrap;gap:4px 14px;font-size:13px}
.at-legend li{display:inline-flex;align-items:center;gap:6px}
.at-tip{position:fixed;left:0;top:0;z-index:40;pointer-events:none;background:var(--navy);color:var(--white);border-radius:12px;padding:10px 12px;font-size:13px;max-width:min(300px,calc(100vw - 24px));box-shadow:0 10px 30px rgba(0,0,0,.3)}
.at-tip b{display:block;font-size:14px}.at-tip span{display:block;color:var(--pale)}.at-tip .at-tsc{color:var(--white);font-weight:700}
.at-logo{float:right;margin:0 0 6px 10px;background:var(--white);border-radius:6px;padding:3px;object-fit:contain}
.at-llogo{vertical-align:middle;object-fit:contain;background:var(--white);border-radius:3px}
.at-table{min-width:560px}.at-table small{display:block;color:var(--muted);font-weight:400;font-size:12px;text-transform:none;letter-spacing:0}
.at-table th[scope=row] small{font-size:12.5px}
.at-sort{background:none;border:0;padding:0;font:inherit;color:inherit;text-transform:inherit;letter-spacing:inherit;cursor:pointer}
.at-pat td{min-width:96px;white-space:nowrap}.at-pbar{display:block;width:100%;height:8px;margin:0 0 4px}
.at-pbg{fill:var(--tint-bar)}.at-pfg{fill:var(--navy)}.at-fewc .at-pfg{fill:var(--pale)}.at-fewc{color:var(--muted)}
.at-few{color:var(--gold-dk);font-weight:700}
.at-basis{margin:0 0 10px;font-size:14px}
.at-tl{list-style:none;padding:0;margin:0;display:grid;gap:12px;grid-template-columns:minmax(0,1fr)}
.at-tl>li{border-top:1px solid var(--line);padding-top:8px}.at-tl h3{margin:0 0 4px;font-size:18px}
.at-tlh{margin:6px 0 2px;font-size:13px;color:var(--muted);font-weight:700}
.at-tli{padding-left:18px;margin:0}.at-tli li{margin:3px 0}
.at-mk{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:6px}
@media(min-width:700px){.at-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.at-advanced-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.at-tl{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:900px){.at-filters{grid-template-columns:repeat(auto-fill,minmax(210px,1fr))}.at-advanced-grid{grid-template-columns:repeat(auto-fill,minmax(210px,1fr))}.at-years{grid-column:span 2}}

/* ===== Landscape and Patterns: ported from BrandPulse's Explore (atlas-views.js) ===== */
.at{--q0:var(--div-0);--q1:var(--div-1);--q2:var(--div-2);--q3:var(--div-3);--q4:var(--div-4);--q5:var(--div-5);--q6:var(--div-6);--mkA:var(--coral-hot);--mkB:var(--navy);--namew:210px}
.at .q0{background:var(--q0)}.at .q1{background:var(--q1)}.at .q2{background:var(--q2)}.at .q3{background:var(--q3)}.at .q4{background:var(--q4)}.at .q5{background:var(--q5)}.at .q6{background:var(--q6)}
.at .na{background:repeating-linear-gradient(135deg,var(--white) 0 3px,var(--hatch) 3px 4.5px)}
.at svg text{font-family:var(--sans);fill:var(--ink2);font-size:12px}
.at svg .ax{stroke:var(--axis);stroke-width:1}.at svg .grid{stroke:var(--grid-cool);stroke-width:1}
.at svg .lbl{font-weight:700;fill:var(--ink);font-size:12px}.at svg .lbl.a{fill:var(--coral-deep)}.at svg .lbl-bg{fill:var(--white);fill-opacity:.88}
.at svg .axl{font-weight:700}
.at .mk{display:inline-block;width:14px;height:14px;border-radius:50%;flex:none;vertical-align:middle;background:var(--white);box-sizing:border-box}
.at .mk.a{box-shadow:inset 0 0 0 3px var(--mkA)}.at .mk.b{border:2.5px dashed var(--mkB)}
.at .flash{animation:pflash 1.4s ease-out}
@keyframes pflash{0%{box-shadow:0 0 0 3px var(--mkA)}100%{box-shadow:0 0 0 3px rgba(242,84,45,0)}}
@media (prefers-reduced-motion:reduce){.at .flash{animation:none}}
.at .lsel{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:var(--ink2)}
.at .lsel select{max-width:100%;min-width:0;padding:6px 8px;border:1px solid var(--line);border-radius:8px;font:inherit;background:var(--white)}
.at .lchk{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:var(--ink2)}.at .lchk input{width:18px;height:18px;accent-color:var(--navy)}
.at .seg button{border:0;background:none;padding:6px 12px;min-height:36px;font:600 13px var(--sans);color:var(--ink2);cursor:pointer}
.at .seg button[aria-pressed=true]{background:var(--navy);color:var(--white)}
.at .seg{display:inline-flex;flex-wrap:wrap;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--white);max-width:100%}
.at table.dt{border-collapse:collapse;font-size:13px;min-width:100%}
.at table.dt th,.at table.dt td{padding:6px 10px;border-top:0;border-bottom:1px solid var(--line2);text-align:left;white-space:nowrap;font-size:13px}
.at table.dt th{font-weight:700;color:var(--ink2);background:var(--tint-th);text-transform:none;letter-spacing:0}
.at table.dt td.n,.at table.dt th.n{text-align:right}
.at tr.mrow.a td{background:var(--coral-tint)}.at tr.mrow.b td{background:var(--tint-cool)}
.at .pdt summary{cursor:pointer;font-size:13px;font-weight:700;color:var(--ink2);min-height:32px;display:flex;align-items:center}

/* find your launch */
.at .pfind{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;width:100%}
.at .pcombo{position:relative;width:300px;max-width:100%;min-width:0}
.at .pcombo input{box-sizing:border-box;width:100%;height:38px;border-radius:9px;border:1.5px solid var(--field-line);background:var(--white);color:var(--ink);font:600 14px var(--sans);padding:0 10px}
.at .pcombo input:focus{outline:none;border-color:var(--focus);box-shadow:0 0 0 3px rgba(255,122,89,.25)}
.at .pcombo-list{position:absolute;z-index:40;top:100%;left:0;min-width:100%;width:max-content;max-width:min(420px,calc(100vw - 32px));margin:6px 0 0;padding:6px;list-style:none;background:var(--white);border-radius:12px;border:1px solid var(--line);box-shadow:0 18px 40px rgba(15,27,43,.22);max-height:340px;overflow:auto;box-sizing:border-box}
.at .pcombo-list[hidden]{display:none}
.at .pcombo-list li{display:flex;flex-direction:column;padding:8px 10px;border-radius:8px;cursor:pointer;font-size:14px}
.at .pcombo-list li span{font-size:12px;color:var(--muted)}
.at .pcombo-list li[aria-selected=true],.at .pcombo-list li:hover{background:var(--coral-tint2)}.at .pcombo-list li.none{cursor:default;color:var(--muted)}
.at .pchips{display:flex;flex-wrap:wrap;gap:6px 8px;align-items:center;font-size:13px;min-width:0}
.at .pchip{display:inline-flex;align-items:center;gap:6px;background:var(--tint-chip);border:1px solid var(--line);color:var(--ink);border-radius:999px;padding:0 2px 0 8px;height:32px;box-sizing:border-box;max-width:100%;min-width:0}
.at .pchip span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:24ch}
.at .pchip small{font-size:12px;color:var(--muted);font-weight:600}.at .pchip .mk{width:12px;height:12px}
.at .pchip button{all:unset;cursor:pointer;width:28px;height:28px;border-radius:50%;text-align:center;line-height:28px;font-size:17px;color:var(--muted);flex:none}
.at .pchip button:hover{background:var(--tint-chip2);color:var(--ink)}.at .pchip button:focus-visible{outline:3px solid var(--focus)}
.at .pchip.inline{padding:1px 8px;height:auto}
.at .pchip-empty{color:var(--muted);font-size:13px}
.at .pvs-add{font:700 12.5px var(--sans);color:var(--ink2);background:var(--white);border:1.5px dashed var(--field-line2);border-radius:999px;height:32px;padding:0 12px;cursor:pointer}

/* Landscape: the matrix */
.at .ltools{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;width:100%}
.at .hm-legend{display:flex;flex-wrap:wrap;align-items:center;gap:8px 22px;font-size:12px;color:var(--ink2);width:100%}
.at .hm-legend .ramp{display:flex;align-items:center;gap:6px}.at .hm-legend .ramp i{display:inline-block;width:22px;height:14px}
.at .hm-legend .ramp i:first-of-type{border-radius:3px 0 0 3px}.at .hm-legend .ramp i:last-of-type{border-radius:0 3px 3px 0}
.at .hm-legend .sw{display:inline-flex;align-items:center;gap:6px}.at .hm-legend .sw i{display:inline-block;width:14px;height:14px;border-radius:3px}
.at .hm-count{font-size:13px;color:var(--muted);margin:0 0 6px}
.at .hm-wrap{position:relative;overflow:auto;max-height:calc(100vh - 150px);min-height:320px;background:var(--card);border:1px solid var(--line);border-radius:12px;overscroll-behavior:contain}
.at table.hm{border-collapse:separate;border-spacing:0;font-size:11px;line-height:1;width:auto;min-width:0}
.at .hm th,.at .hm td{padding:0;border-top:0}
.at .hm thead th{position:sticky;background:var(--white);z-index:2;font-weight:700;color:var(--ink2);text-transform:none;letter-spacing:0}
.at .hm thead tr.dimrow th{top:0;height:30px;font-size:12px;text-align:left;padding:0 6px;border-bottom:1px solid var(--line);border-left:2px solid var(--white);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:0}
.at .hm thead tr.mrow th{top:30px;height:118px;vertical-align:bottom;border-bottom:1.5px solid var(--ink2)}
.at .hm thead tr.mrow th.m{width:24px;min-width:24px;max-width:24px}
.at .hm thead tr.mrow th.m button{all:unset;cursor:pointer;writing-mode:vertical-rl;transform:rotate(180deg);font:600 11px/1.1 var(--sans);color:var(--ink2);padding:6px 0;max-height:112px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;margin:0 auto}
.at .hm thead tr.mrow th.m button:hover,.at .hm thead tr.mrow th.m.sorted button{color:var(--ink);text-decoration:underline;text-decoration-color:var(--coral)}
.at .hm thead tr.mrow th.m button:focus-visible{outline:2px solid var(--focus)}
.at .hm .corner{position:sticky;left:0;z-index:4!important;background:var(--white);text-align:left;vertical-align:bottom;padding:0 8px 8px!important;font-size:12px;width:var(--namew);min-width:var(--namew);max-width:var(--namew)}
.at .hm .gap{border-left:2px solid var(--white)}
.at .hm tbody th{position:sticky;left:0;z-index:1;background:var(--white);text-align:left;font-weight:600;font-size:12px;height:24px;padding:0 8px 0 6px!important;width:var(--namew);min-width:var(--namew);max-width:var(--namew);border-right:1px solid var(--line);text-transform:none;letter-spacing:0;color:var(--ink)}
.at .hm tbody th .nm{display:flex;align-items:center;gap:6px;min-width:0}
.at .hm tbody th a{color:var(--ink);text-decoration:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.at .hm tbody th a:hover{text-decoration:underline}
.at .hm tbody th small{color:var(--muted);font-weight:500;flex:none;margin-left:auto}
.at .hm tbody th .mk{width:11px;height:11px}
.at .hm td{width:24px;min-width:24px;height:24px;text-align:center;font-size:11px;font-weight:700;color:transparent;border-bottom:1px solid var(--white);border-right:1px solid var(--white);position:relative;cursor:pointer;vertical-align:middle}
.at .hm.vals td{color:var(--ink)}
.at .hm.vals td.q0,.at .hm.vals td.q6{color:var(--white)}
/* q1 and q5 are mid-tones: dark ink reads 4.6:1 and 4.9:1 on them, white would not (3.8:1, 3.6:1) */
.at .hm td.sc{width:34px;min-width:34px;color:var(--ink)!important;font-size:11.5px}
.at .hm td.sc.q0,.at .hm td.sc.q6{color:var(--white)!important}
.at .hm td:focus{outline:2px solid var(--navy);outline-offset:-2px;z-index:1}
.at .hm td.on{box-shadow:inset 0 0 0 2px var(--coral)}
.at .hm tr.grp th{position:sticky;left:0;z-index:1;background:var(--tint-grp);text-align:left;height:40px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);width:auto;max-width:none}
.at .hm tr.grp td{background:var(--tint-grp);cursor:default;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.at .hm tr.more th{height:34px}.at .hm tr.more td{cursor:default}
.at .grp-b{all:unset;cursor:pointer;display:flex;align-items:center;gap:8px;font:700 13px var(--sans);color:var(--ink);padding:0 8px;min-height:40px;white-space:nowrap}
.at .grp-b:focus-visible{outline:2px solid var(--focus)}
.at .grp-b .car{display:inline-block;transition:transform .15s}.at .grp-b[aria-expanded=false] .car{transform:rotate(-90deg)}
.at .grp-b small{font-weight:600;color:var(--muted);font-size:12px}
.at .hm tbody tr:hover th{background:var(--coral-tint3)}
.at .hm tr.mrow.a th{box-shadow:inset 3px 0 0 var(--mkA)}.at .hm tr.mrow.b th{box-shadow:inset 3px 0 0 var(--mkB)}
@media (max-width:600px){.at{--namew:136px}}

/* the panel (a cell's launch) */
.at-panel{position:fixed;z-index:70;top:0;right:0;bottom:0;width:min(420px,100vw);background:var(--white);border-left:1px solid var(--line);box-shadow:-18px 0 44px rgba(15,27,43,.18);display:flex;flex-direction:column}
.at-panel[hidden]{display:none}
.at-panel-h{display:flex;align-items:center;gap:10px;padding:14px 16px;border-bottom:1px solid var(--line)}.at-panel-h h3{margin:0;font-size:18px;flex:1}
.at-x{all:unset;cursor:pointer;width:40px;height:40px;border-radius:50%;text-align:center;line-height:40px;font-size:22px;color:var(--muted)}.at-x:hover{background:var(--tint)}.at-x:focus-visible{outline:3px solid var(--focus)}
.at-panel-b{padding:12px 16px 20px;overflow:auto;font-size:14px}.at-panel-b h4{margin:12px 0 4px;font-size:14px}.at-panel-b ul{padding-left:18px;margin:0}
.at-big{font:600 34px/1.1 var(--serif);margin:6px 0}.at-big small{font:600 14px var(--sans);color:var(--muted)}

/* the hover card */
.at-card{position:fixed;z-index:65;width:268px;max-width:calc(100vw - 16px);background:var(--white);color:var(--ink);border-radius:14px;overflow:hidden;box-shadow:0 18px 44px rgba(15,27,43,.26);border:1px solid var(--line);pointer-events:none}
.at-card[hidden]{display:none}.at-card.pinned{pointer-events:auto}
.at-card .pc-body{padding:10px 14px 12px;display:flex;flex-direction:column;gap:3px}.at-card p{margin:0}
.at-card .pc-logo{float:right;margin:0 0 4px 8px;object-fit:contain;background:var(--white);border-radius:6px}
.at-card .pc-tag{align-self:flex-start;font-size:12px;font-weight:700;border-radius:999px;padding:1px 9px;margin-bottom:2px}
.at-card .pc-tag.a{background:var(--coral-chip);color:var(--coral-ink-dk)}.at-card .pc-tag.b{background:var(--tint-cool2);color:var(--navy)}
.at-card .pc-name{font:700 15.5px/1.3 var(--sans);overflow-wrap:anywhere}.at-card .pc-meta{font-size:12.5px;color:var(--muted)}
.at-card .pc-line{display:flex;align-items:baseline;gap:8px;font-size:13px;color:var(--ink2);flex-wrap:wrap;clear:both}
.at-card .pc-line b{font:600 20px/1.1 var(--serif);color:var(--ink)}.at-card .pc-line small{font-size:12px;color:var(--muted)}
.at-card .bchip{font-style:normal;font-size:11px;font-weight:700;border-radius:99px;padding:1px 7px;color:var(--ink)}
.at-card .bchip.q0,.at-card .bchip.q6{color:var(--white)}
.at-card .pc-hint{font-size:12px;color:var(--muted);margin-top:4px}.at-card.pinned .pc-hint{display:none}
.at-card .pc-open{display:none;margin-top:6px;font-weight:700;min-height:40px;align-items:center}.at-card.pinned .pc-open{display:inline-flex}

/* Patterns */
.at .psec{padding:18px 0 8px;border-top:1px solid var(--line);margin-top:10px}.at .psec:first-child{border-top:0;margin-top:0}
.at .psec>h3{margin:0 0 8px;font-size:19px;scroll-margin-top:76px}
.at .ptools{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin:0 0 10px}
.at .ptk-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.at .ptk{all:unset;position:relative;box-sizing:border-box;cursor:pointer;display:flex;flex-direction:column;gap:4px;background:var(--white);border:1px solid var(--line);border-left:4px solid var(--navy);border-radius:10px;padding:10px 12px 9px;min-width:0}
.at .ptk:hover{border-color:var(--pale);border-left-color:var(--mkA)}.at .ptk:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.at .ptk-top{display:flex;align-items:baseline;gap:8px;min-width:0}.at .ptk-fig{font:600 26px/1 var(--serif);color:var(--navy);flex:none}
.at .ptk-top small{font:600 12px/1.25 var(--sans);color:var(--muted);min-width:0}
.at .ptk-t{font:700 14px/1.3 var(--sans);color:var(--ink)}
.at .ptk-x{font-size:13px;line-height:1.4;color:var(--ink2);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.at .ptk-foot{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:auto;padding-top:2px}
.at .ptk-go{font-size:12.5px;font-weight:700;color:var(--accent)}.at .ptk:hover .ptk-go{text-decoration:underline}
.at .ptk-sure{font-size:12px;font-weight:600;color:var(--muted);text-decoration:underline dotted;text-underline-offset:3px;cursor:help;white-space:nowrap}
@media (max-width:1023px){.at .ptk-grid{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(240px,78%);overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:6px;overscroll-behavior-x:contain}.at .ptk{scroll-snap-align:start}}
@media (min-width:640px) and (max-width:1023px){.at .ptk-grid{grid-auto-columns:minmax(260px,42%)}}
.at .pkey{display:flex;flex-wrap:wrap;gap:6px 18px;font-size:12px;color:var(--ink2);align-items:center;margin:8px 0}
.at .pkey i{display:inline-block;vertical-align:middle;margin-right:6px}
.at .pkey .k-med{width:2px;height:14px;background:var(--ink)}.at .pkey .k-tq{width:0;height:14px;border-left:2px dashed var(--navy)}
.at .pkey .dot{width:10px;height:10px;border-radius:50%}.at .pkey .dot.ring{background:var(--white);box-shadow:inset 0 0 0 2px var(--navy)}
.at .bkey{display:inline-flex;flex-wrap:wrap;gap:4px 12px}.at .bkey i{width:12px;height:12px;border-radius:3px}
.at .pswarm{display:flex;flex-direction:column;border-radius:10px}
.at .psw-row{display:grid;grid-template-columns:150px minmax(0,1fr);gap:0 18px;align-items:center;border-top:1px solid var(--line2);padding:2px 0}
.at .psw-row.axis{border-top:1px solid var(--line)}.at .psw-row.strong{background:var(--tint-th)}.at .psw-row.on .psw-name b{box-shadow:inset 0 -2px var(--coral)}
.at .psw-name{display:flex;flex-direction:column;min-width:0}.at .psw-name b{font-size:14px;line-height:1.25}.at .psw-name span{font-size:12px;color:var(--muted)}
.at .pfew{font-style:normal;color:var(--gold-dk);font-weight:700}
.at .psw-plot{min-width:0}.at .psw-plot svg{display:block;overflow:visible}
.at .pz{fill:var(--muted);opacity:.035}.at .pz.z1,.at .pz.z3{opacity:.07}
.at .pmed{stroke:var(--ink);stroke-width:1.6}.at .ptq{stroke:var(--navy);stroke-width:1.4;stroke-dasharray:4 3}
.at .plab{font:600 12px var(--sans);fill:var(--ink2)}.at .plab.tq{fill:var(--navy)}
.at .pd{stroke:var(--white);stroke-width:.6;cursor:pointer}
.at .pd.q0{fill:var(--q0)}.at .pd.q1{fill:var(--q1)}.at .pd.q2{fill:var(--div-2-mark)}.at .pd.q3{fill:var(--div-3-mark)}.at .pd.q4{fill:var(--div-4-mark)}.at .pd.q5{fill:var(--q5)}.at .pd.q6{fill:var(--q6)}
.at .pd.tq{stroke:var(--navy);stroke-width:1.5}
.at .pd.m{stroke-width:3;fill-opacity:1}.at .pd.m.a{stroke:var(--mkA)}.at .pd.m.b{stroke:var(--mkB);stroke-dasharray:3 2}
.at .pd.on,.at .pd:focus-visible{stroke:var(--ink);stroke-width:2.6;outline:none}.at .pd:focus{outline:none}
.at .plead{stroke-width:1.2}.at .plead.a{stroke:var(--mkA)}.at .plead.b{stroke:var(--mkB);stroke-dasharray:2 2}
.at .pmark{font:700 12.5px var(--sans)}.at .pmark.a{fill:var(--coral-deep)}.at .pmark.b{fill:var(--mkB)}
.at .paxis text{font:500 12px var(--sans)}.at .paxis .n{font-weight:700;fill:var(--ink)}.at .paxis .bw{fill:var(--muted);font-weight:700}
.at .pkey .dot.q0,.at .bkey i.q0{background:var(--q0)}
@media (max-width:620px){.at .psw-row{grid-template-columns:minmax(0,1fr);gap:2px}.at .psw-row.axis>span{display:none}}
/* the medians heatmap */
.at .pheat-wrap{position:relative;min-width:0}
.at table.pheat{border-collapse:separate;border-spacing:3px;font-size:13px;min-width:100%;width:auto}
.at .pheat th{font-weight:700;color:var(--ink2);text-align:left;padding:4px 8px;white-space:nowrap;vertical-align:bottom;border-top:0;text-transform:none;letter-spacing:0;font-size:12.5px}
.at .pheat thead th small{display:block;font-weight:500;color:var(--muted);font-size:11.5px}
.at .pheat thead th.has-a{box-shadow:inset 0 -3px 0 var(--mkA)}
.at .pheat tbody th,.at .pheat thead th:first-child{position:sticky;left:0;z-index:1;background:var(--white)}
.at .pheat tr.on th{color:var(--ink);box-shadow:inset 3px 0 0 var(--navy)}
.at .pheat td{padding:0;min-width:70px;border-radius:6px;border-top:0}
.at .pheat td.na{background:var(--tint-na);text-align:center;color:var(--muted)}
.at .pheat td.on{outline:2.5px solid var(--navy);outline-offset:-1px}
.at .pheat td.few{opacity:.55}
.at .pheat td button{all:unset;cursor:pointer;box-sizing:border-box;display:flex;flex-direction:column;gap:4px;width:100%;padding:6px 8px 7px}
.at .pheat td button:focus-visible{outline:3px solid var(--focus);border-radius:6px}
.at .pheat td button:hover{background:rgba(255,255,255,.35)}
.at .pheat td b{font:700 15px/1 var(--sans);color:var(--ink)}
.at .pheat td.q0 b,.at .pheat td.q6 b{color:var(--white)}
.at .pheat td.me{text-align:center;font:700 15px var(--sans);padding:6px 8px}
.at .pheat td.me.a{box-shadow:inset 0 0 0 2.5px var(--mkA)}.at .pheat td.me.b{box-shadow:inset 0 0 0 2px var(--mkB)}
.at .pheat th.hc-me .mk{margin-right:5px;width:12px;height:12px}
.at svg.iqr{display:block;width:100%;min-width:48px;height:8px}
.at .iqr-bg{fill:rgba(15,27,43,.12)}.at .iqr-r{fill:var(--ink);opacity:.45}.at .iqr-m{fill:var(--ink)}
.at .ikey{display:inline-flex;align-items:center;gap:8px}.at .ikey svg.iqr{width:56px;min-width:56px}
/* where most fall short */
.at .opp{display:flex;flex-direction:column;container-type:inline-size}
.at .opp-h,.at .opp-r{display:grid;grid-template-columns:minmax(150px,1.3fr) minmax(120px,1fr) minmax(120px,1fr) 64px;gap:4px 18px;align-items:center;padding:6px 8px;font-size:13px}
.at .opp-h.has-a,.at .opp-r.has-a{grid-template-columns:minmax(150px,1.3fr) minmax(120px,1fr) minmax(120px,1fr) 64px 96px}
.at .opp-h{font-size:12px;font-weight:700;color:var(--muted);border-bottom:1.5px solid var(--line)}
.at .opp-d{border-bottom:1px solid var(--line2)}
.at .opp-r{cursor:pointer;list-style:none;min-height:40px}.at .opp-r::-webkit-details-marker{display:none}
.at .opp-r:hover{background:var(--warm-tint)}.at .opp-r:focus-visible{outline:3px solid var(--focus);outline-offset:-2px}
.at .opp-r .nm{display:flex;flex-direction:column;min-width:0;line-height:1.25}.at .opp-r .nm b{font-size:13.5px}.at .opp-r .nm small{color:var(--muted);font-size:12px}
.at .shr,.at .gp{display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:center;gap:8px;min-width:0}
.at .shr b,.at .gp b{font-size:13px;font-weight:800;color:var(--ink);text-align:right;white-space:nowrap}
.at svg.obar{display:block;width:100%;height:8px}.at .ob-bg{fill:var(--line2)}.at .ob-fg{fill:var(--navy)}.at .gp .ob-fg{fill:var(--div-1)}
.at .tg{font-weight:700;color:var(--ink2)}
.at .opp-body{padding:4px 8px 12px;font-size:13px}.at .opp-body p{margin:4px 0}.at .opp-body small{color:var(--muted)}
.at .psts{display:flex;flex-direction:column;gap:2px}.at .pst{display:inline-flex;align-items:center;gap:5px;font-size:12.5px;font-weight:700}
.at .pst .mk{width:11px;height:11px}.at .pst.ok{color:var(--ok-ink2)}.at .pst.lo{color:var(--accent-dk)}.at .pst.nv{color:var(--muted)}
@container (max-width:620px){
  .at .opp-h{display:none}
  .at .opp-r,.at .opp-r.has-a{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;grid-template-areas:"nm nm tg" "shr gp gp" "st st st";gap:5px 12px;padding:8px 6px}
  .at .opp-r .nm{grid-area:nm}.at .opp-r .tg{grid-area:tg}.at .opp-r .shr{grid-area:shr}.at .opp-r .gp{grid-area:gp}.at .opp-r .psts{grid-area:st;flex-direction:row;gap:12px}
}
/* the scatterplots */
.at .pscp{margin:0 0 8px}
.at .pleg{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 10px}
.at .pleg button{display:inline-flex;align-items:center;gap:6px;font:600 12.5px var(--sans);border:1.5px solid var(--field-line);background:var(--white);color:var(--ink);border-radius:999px;min-height:32px;padding:0 10px;cursor:pointer}
.at .pleg button[aria-pressed=false]{border-style:dashed;color:var(--muted);background:var(--tint-chip)}.at .pleg button[aria-pressed=false] svg{opacity:.3}
.at .psc-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}
.at .psc{position:relative;touch-action:pan-y;user-select:none;min-width:0}.at .psc svg{display:block;overflow:visible}
.at .sc-bg{fill:var(--white);cursor:crosshair}
.at .psc-side{font-size:13px;display:flex;flex-direction:column;gap:10px}.at .psc-side .rho{font:600 30px/1 var(--serif)}.at .psc-side .muted{color:var(--muted)}
.at svg .pt{stroke:var(--white);stroke-width:1;fill-opacity:.85;cursor:pointer}.at svg .pt.on,.at svg .pt:focus-visible{stroke:var(--ink);stroke-width:2;outline:none}
.at svg .pt.dim{fill-opacity:.2}.at svg .pt.sel{stroke:var(--ink);stroke-width:1.5}
.at svg .sc-ring{fill:none;stroke-width:2.5}.at svg .sc-ring.a{stroke:var(--mkA)}.at svg .sc-ring.b{stroke:var(--mkB);stroke-dasharray:3 2}
.at svg .brush{fill:rgba(15,27,43,.08);stroke:var(--navy);stroke-dasharray:4 3;pointer-events:none}
.at .ph{display:flex;align-items:center;gap:12px;margin:10px 0 4px}.at .ph h4{margin:0;font-size:15px}
.at .plist{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:minmax(0,1fr);gap:0 18px}
.at .plist li{display:flex;justify-content:space-between;gap:8px;padding:6px 0;border-bottom:1px solid var(--line2);font-size:13px}
.at .plist li a{font-weight:700;overflow-wrap:anywhere}.at .plist li .v{white-space:nowrap;color:var(--ink2)}
.at .plist li.a{background:var(--coral-tint)}.at .plist li.b{background:var(--tint-cool)}
@media (min-width:700px){.at .plist.cols{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:1100px){.at .psc-grid{grid-template-columns:minmax(0,1fr) 260px}.at .plist.cols{grid-template-columns:repeat(3,minmax(0,1fr))}}
.at .scroll{position:relative}
.at .pleg .pleg-more{border-style:dashed;color:var(--accent)}
.at .hm tr.grp th,.at .hm tr.more th{width:auto;min-width:0;max-width:none;border-right:0}
.at .hm tr.grp th .grp-b,.at .hm tr.more th button{position:sticky;left:0}
.at .hm tbody th .nm{width:calc(var(--namew) - 14px);overflow:hidden}
.at .pgrid{stroke:var(--line-strong);stroke-width:1}
.at .at-table tbody th{text-transform:none;letter-spacing:0;font-size:14px;color:var(--ink);font-weight:600}
.at .at-table td.n{white-space:nowrap}
.at-view h3{margin:18px 0 4px}
.at-card .pc-logo{float:none;display:block;width:auto;height:32px;max-width:120px;margin:0 0 6px}
.at-tp{stroke:var(--white);stroke-width:.8;cursor:pointer}.at-tp.at-fc{fill-opacity:.4;stroke-dasharray:2 2;stroke:var(--muted)}
/* Timeline time lens (redesign W1): the control is the shared .tl-seg (charts.css); collapsed empty spans */
.at-ctl .tl-bar{margin:0}
.at-gap{fill:var(--cream);stroke:var(--line);stroke-dasharray:3 3}
.at-gapl{font-size:11px;pointer-events:none}
/* W3 leaderboard: likely range as a small bar with the score's dot (hollow when an outcome is estimated) */
.at-rbar{position:relative;display:inline-block;width:64px;height:10px;margin-right:8px;vertical-align:-1px}
.at-rbar::before{content:"";position:absolute;left:0;right:0;top:4.5px;height:1px;background:var(--chart-grid)}
.at-rbar::after{content:"";position:absolute;top:2px;height:6px;left:var(--a);width:max(2px,calc(var(--b) - var(--a)));border-radius:3px;background:var(--band-breakout);opacity:.5}
.at-rbar.est::after{background:transparent;border:1px solid var(--band-breakout-ink);opacity:1;box-sizing:border-box}
.at-rbar i{position:absolute;top:1px;left:var(--v);width:8px;height:8px;margin-left:-4px;border-radius:50%;background:var(--navy)}
.at-rbar.est i{background:var(--white);border:2px solid var(--navy);box-sizing:border-box}
.at-pe{font-weight:600}
