/* search.css — only solution-smart-search.html uses these rules. The hero's «ask your knowledge» phone screen, and the
   owner's picks of 2026-10-22 (docs/superpowers/plans/2026-10-22-solutions-blocks.md): Inside a search = the answer and
   the papers it cites (W3), Why semantic = a map of meaning (Y2), How it works = the system map with both loops as
   routes inside your perimeter (P v2 · B). Tokens only; the rough panel (docs/EMPHASIS-PATTERNS.md); labels ≥11px. */

/* Smart Search hero — crisp in-focus "ask your knowledge" phone screen (data-sp) */
.fph-app.sph { filter: blur(3px); opacity: .92; transform: scale(1.02); gap: 10px; padding: 15px 17px 15px; }
.fph-app.sph .fph-foot { margin-top: 12px; }
.sph-bar { display: flex; align-items: center; gap: 8px; background: var(--s-tile); border: 1px solid var(--s-line); border-radius: 12px; padding: 10px 12px; min-height: 38px; }
.sph-bar svg { width: 16px; height: 16px; color: var(--accent-2); flex: 0 0 auto; }
.sph-q { font-family: var(--font-body); font-size: 12.5px; color: var(--s-text); line-height: 1.3; }
.sph-caret { display: inline-block; width: 1.5px; height: 13px; background: var(--accent-2); margin-left: 1px; vertical-align: -2px; animation: sphBlink 1s steps(1) infinite; }
@keyframes sphBlink { 50% { opacity: 0; } }
.sph-src { display: flex; flex-direction: column; }
.sph-src-h { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--s-faint); margin-bottom: 4px; }
.sph-srow { display: grid; grid-template-columns: auto 1fr auto; gap: 9px; align-items: center; padding: 7px 0; border-top: 1px solid var(--s-line); font-family: var(--font-mono); font-size: 11px; opacity: 0; transform: translateY(-5px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.sph-srow.in { opacity: 1; transform: none; }
.sph-srow .sc { color: var(--accent-2); font-size: 10px; padding: 2px 6px; border-radius: 6px; background: color-mix(in srgb, var(--accent-2) 14%, transparent); }
.sph-srow .ti { color: var(--s-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sph-srow .ty { color: var(--s-faint); font-size: 9px; text-transform: uppercase; letter-spacing: .06em; }
.sph-ans-wrap { display: flex; flex-direction: column; gap: 6px; }
.sph-ans-h { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--s-faint); }
.sph-grounded { text-transform: none; letter-spacing: .02em; color: var(--pos); font-size: 9.5px; opacity: 0; transition: opacity .4s var(--ease); }
.sph-grounded.in { opacity: 1; }
.sph-ans { font-family: var(--font-body); font-size: 12px; line-height: 1.5; color: var(--s-text); }
.sph-ans .w { opacity: 0; transition: opacity .25s var(--ease); }
.sph-ans .w.in { opacity: 1; }
.sph-ans .cite { color: var(--accent-2); font-family: var(--font-mono); font-size: 10px; opacity: 0; transition: opacity .25s var(--ease); padding: 0 1px; }
.sph-ans .cite.in { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .sph-caret { animation: none; } .sph-srow, .sph-ans .w, .sph-ans .cite, .sph-grounded { transition: none; }
}
@keyframes ssBlink { 50% { opacity: 0; } }

.ssx-panel {
  position: relative; isolation: isolate; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-card);
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 6%, transparent), transparent 38%), var(--surface-solid);
}
.ssx-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: var(--grain); background-size: 140px 140px; opacity: .05; mix-blend-mode: overlay; }
.nt, .nt * { transition: none !important; }
.ssx-ctx { font: 500 15px/1.25 var(--font-display); letter-spacing: -.01em; color: var(--text); }
.ssx-meta { font-size: 13px; color: var(--text-faint); font-variant-numeric: tabular-nums; white-space: nowrap; }
/* a citation: its number, the same chip wherever that source shows up */
.ssx-cite {
  position: relative; display: inline-grid; place-items: center; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 5px;
  font: 500 11px/1 var(--font-mono); font-variant-numeric: tabular-nums; color: var(--accent-text);
  border: 1px solid color-mix(in srgb, var(--accent-text) 45%, transparent); background: transparent;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.ssx-cite { margin: 0 1px; vertical-align: 1px; cursor: pointer; }
.ssx-cite::after { content: ""; position: absolute; inset: -8px -5px; }
.ssx-cite:hover, .ssx-cite.on { background: var(--accent-fill); border-color: var(--accent-fill); color: #fff; }
/* relevance as a short track and its value */
.ssx-sc { display: grid; grid-template-columns: 52px auto; gap: 10px; align-items: center; justify-content: end; }
.ssx-sc i { position: relative; height: 4px; border-radius: 2px; overflow: hidden; background: color-mix(in srgb, var(--text) 10%, transparent); }
.ssx-sc i::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--v) * 100%); border-radius: 2px; background: color-mix(in srgb, var(--text) 58%, transparent); transform-origin: left; transition: transform .6s var(--ease) var(--k, 0s); }
.ssx-sc b { font: 500 12.5px var(--font-mono); font-variant-numeric: tabular-nums; color: var(--text); }
/* a row with its value's bar behind the label */
.ssx-row { position: relative; isolation: isolate; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; height: 46px; padding: 0 14px; border-radius: 6px; }
.ssx-row .bar { position: absolute; left: 0; top: 0; bottom: 0; z-index: -1; width: calc(var(--v) * (100% - 64px)); border-radius: 6px; background: color-mix(in srgb, var(--text) 9%, transparent); transform-origin: left; transition: transform .7s var(--ease) var(--k, 0s); }
.ssx-row.rel .bar { background: color-mix(in srgb, var(--pos) 19%, transparent); }
.ssx-row .t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; color: var(--text); }
.ssx-row .v { flex: none; font: 500 12.5px var(--font-mono); font-variant-numeric: tabular-nums; color: var(--text-muted); }
.ssx-row.rel .v { color: var(--pos-text); }
.ssx-row u { text-decoration: underline; text-decoration-color: var(--warn-text); text-decoration-thickness: 1.5px; text-underline-offset: 4px; transition: text-decoration-color .4s var(--ease); }
/* leaders: from a source to the passage it gave, as in the AiDoc story */
.sw3-leads { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 3; }
.sw3-leads path { fill: none; stroke: color-mix(in srgb, var(--accent-text) 75%, transparent); stroke-width: 1.2; stroke-dasharray: 1; stroke-dashoffset: 0; }
.sw3-leads circle { fill: var(--accent-text); }
.sw3-leads .draw path { stroke-dashoffset: 1; }
.sw3-leads path { transition: stroke-dashoffset .5s var(--ease), opacity .3s var(--ease); }
.sw3-leads circle { transition: opacity .25s var(--ease) .3s; }
.sw3-leads .draw circle { opacity: 0; transition-delay: 0s; }

/* ================= W3 · the answer and the papers it cites ================= */
.sw3-a, .pv-a { border-radius: 3px; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-color .3s var(--ease), opacity .45s var(--ease) var(--k, 0s), filter .45s var(--ease) var(--k, 0s); }
.sw3-a.on { background: color-mix(in srgb, var(--accent) 13%, transparent); }
.sw3-kind { justify-self: start; padding: 2px 6px; border: 1px solid var(--border); border-radius: 4px; font: 400 11px/1.3 var(--font-mono); color: var(--text-muted); }
.sw3-paper mark { padding: 1px 0; border-radius: 2px; color: var(--text); background: color-mix(in srgb, var(--accent) 17%, transparent); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.sw3 { position: relative; display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 72px; align-items: center; }
.sw3-chat { padding-bottom: 18px; }
.sw3-chh { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 22px 14px; border-bottom: 1px solid var(--border); }
.sw3-qb { width: fit-content; max-width: 86%; margin: 18px 22px 0 auto; padding: 10px 14px; border-radius: 14px; background: color-mix(in srgb, var(--text) 7%, var(--surface-solid)); font-size: 14.5px; line-height: 1.5; color: var(--text); }
.sw3-ans { margin: 16px 22px 0; font-size: 15.5px; line-height: 1.72; color: var(--text); text-wrap: pretty; }
.sw3-gr { margin: 14px 22px 0; font-size: 13px; color: var(--text-faint); }
.sw3-srcs { margin: 10px 22px 0; border-top: 1px solid var(--border); }
.sw3-src { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 12px; align-items: center; height: 46px; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--text); transition: opacity .4s var(--ease) var(--k, 0s); }
.sw3-src .n { display: inline-grid; place-items: center; width: 20px; height: 19px; border-radius: 5px; font: 500 11px/1 var(--font-mono); color: var(--accent-text); border: 1px solid color-mix(in srgb, var(--accent-text) 45%, transparent); }
.sw3-src .t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sw3-desk { display: flex; flex-direction: column; gap: 20px; padding: 6px 4px; }
.sw3-paper { position: relative; padding: 16px 20px 18px; border: 1px solid var(--border-strong); border-radius: 3px; background: var(--surface-solid); filter: var(--shadow-paper); transform: rotate(var(--r)); transition: opacity .6s var(--ease) var(--k, 0s), transform .7s var(--ease) var(--k, 0s); }
.sw3-paper.k1 { margin-left: 40px; }
.sw3-paper.k2 { margin-left: 14px; }
.sw3-ph { display: flex; align-items: baseline; gap: 10px; padding-bottom: 9px; border-bottom: 1px solid var(--border); font-size: 12.5px; color: var(--text-faint); }
.sw3-ph > span:nth-child(2) { color: var(--text-muted); }
.sw3-pg { margin-left: auto; }
.sw3-paper .dh { margin: 12px 0 0; font: 500 14.5px/1.3 var(--font-display); letter-spacing: -.01em; color: var(--text); }
.sw3-lines i { display: block; height: 5px; margin-top: 9px; border-radius: 2px; background: color-mix(in srgb, var(--text) 12%, transparent); }
.sw3-paper p { margin: 9px 0 0; font-size: 14px; line-height: 1.6; }
.sw3-tag { position: absolute; right: 18px; bottom: 14px; display: flex; align-items: center; gap: 8px; font: 500 12px var(--font-mono); color: var(--text-muted); font-variant-numeric: tabular-nums; }
.sw3-tag b { display: inline-grid; place-items: center; width: 20px; height: 19px; border-radius: 5px; font-size: 11px; color: #fff; background: var(--accent-fill); }
.sw3-leads .dim path, .sw3-leads .dim circle { opacity: .28; }
.sw3-paper, .sw3-paper mark { transition-property: opacity, transform, background-color; }
.sw3.focus .sw3-paper:not(.hot) mark { background: color-mix(in srgb, var(--accent) 7%, transparent); }
.sw3.pre .sw3-paper { opacity: 0; transform: translateY(22px) rotate(var(--r)); }
.sw3.pre .sw3-src { opacity: 0; }
.sw3.pre-ans .sw3-a:not(.in) { opacity: 0; filter: blur(2px); }
.sw3-src { transition: opacity .4s var(--ease) var(--k, 0s), background-color .25s var(--ease); }
.sw3-src.hot { background: color-mix(in srgb, var(--text) 4%, transparent); }
.sw3-src.hot .n { background: var(--accent-fill); border-color: var(--accent-fill); color: #fff; }

/* ================= Y2 · a map of meaning ================= */
.sy2-v { display: flex; align-items: baseline; gap: 8px; font-size: 13.5px; color: var(--text-muted); }
.sy2-v b { font: 500 38px/1 var(--font-display); letter-spacing: -.03em; color: var(--text); font-variant-numeric: tabular-nums; }
.sy2-list.s .sy2-v b { color: var(--pos-text); }
.sy2 { display: grid; grid-template-columns: minmax(0, 1fr) 348px; }
.sy2-map { min-width: 0; padding: 18px 16px 14px 20px; border-right: 1px solid var(--border); }
.sy2-side { display: flex; flex-direction: column; min-width: 0; padding: 20px 24px 22px; }
.sy2-seg { display: inline-flex; align-self: flex-start; gap: 2px; margin-top: 14px; padding: 3px; border: 1px solid var(--border); border-radius: 999px; background: var(--bg-deep); }
.sy2-seg button { min-height: 34px; padding: 0 16px; border: 0; border-radius: 999px; background: none; cursor: pointer; font: 500 13.5px var(--font-body); color: var(--text-muted); transition: background-color .2s var(--ease), color .2s var(--ease), transform .16s var(--ease); }
.sy2-seg button:hover { color: var(--text); }
.sy2-seg button:active { transform: scale(.97); }
.sy2-seg button[aria-pressed="true"] { background: var(--surface-2); color: var(--text); }
.sy2-lists { display: grid; margin-top: 18px; }
.sy2-list { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 6px; transition: opacity .3s var(--ease); }
.sy2-list .sy2-v { margin-bottom: 10px; }
.sy2.mode-s .sy2-list.k, .sy2.mode-k .sy2-list.s, .sy2.mode-n .sy2-list { visibility: hidden; opacity: 0; }
.sy2-note { margin-top: auto; padding-top: 16px; font-size: 13px; line-height: 1.55; color: var(--text-faint); }
.sy2-svg .d { fill: color-mix(in srgb, var(--text) 30%, transparent); transition: opacity .5s var(--ease) var(--k, 0s); }
.sy2-svg .cl { font-size: 12px; }
.sy2-svg .e { fill: none; stroke-width: 1.3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .8s var(--ease), opacity .3s var(--ease); }
.sy2-svg .e.k { stroke: color-mix(in srgb, var(--warn-text) 80%, transparent); }
.sy2-svg .e.s { stroke: var(--pos-text); }
.sy2.mode-k .e.k, .sy2.mode-s .e.s { stroke-dashoffset: 0; }
.sy2-svg .h { stroke: var(--surface-solid); stroke-width: 2; transition: opacity .3s var(--ease); }
.sy2-svg .h.k { fill: var(--warn-text); }
.sy2-svg .h.s { fill: var(--pos-text); }
.sy2-svg .hl { paint-order: stroke; stroke: var(--surface-solid); stroke-width: 4px; stroke-linejoin: round; transition: opacity .35s var(--ease) .25s; }
.sy2-svg .hl .tt { font-size: 12.5px; }
.sy2-svg .hl .m { font-size: 12px; }
.sy2-svg .hl.k .m { fill: var(--warn-text); }
.sy2-svg .hl.s .m { fill: var(--pos-text); }
.sy2.mode-s .hl.k, .sy2.mode-k .hl.s, .sy2.mode-n .hl { opacity: 0; transition-delay: 0s; }
.sy2.mode-s .h.k, .sy2.mode-k .h.s { opacity: .35; }
.sy2.mode-n .h { opacity: 0; }
.sy2-svg .q rect { fill: var(--accent-text); stroke: var(--surface-solid); stroke-width: 2; }
.sy2-svg .q { transition: opacity .4s var(--ease); }
.sy2.pre .d, .sy2.pre .q, .sy2.pre .cl { opacity: 0; }
.sy2-svg .cl { transition: opacity .5s var(--ease) .2s; }

/* ================= the drawings' grammar (as on AI Agents and Anti-fraud) ================= */
.ssg { display: block; width: 100%; height: auto; overflow: visible; }
.ssg .t { font-family: var(--font-body); font-size: 12.5px; fill: var(--text-muted); }
.ssg .tt { font-family: var(--font-body); font-size: 13px; font-weight: 500; fill: var(--text); }
.ssg .th { font-family: var(--font-display); font-size: 14.5px; font-weight: 500; letter-spacing: -.01em; fill: var(--text); }
.ssg .tf { font-family: var(--font-body); font-size: 12px; fill: var(--text-faint); }
.ssg .m { font-family: var(--font-mono); font-size: 11.5px; fill: var(--text-muted); font-variant-numeric: tabular-nums; }
.ssg .lane { fill: var(--bg-deep); stroke: color-mix(in srgb, var(--text) 13%, transparent); transition: fill .3s var(--ease), stroke .3s var(--ease), opacity .3s var(--ease); }
.ssg .lane.focal ~ .tf { fill: var(--text-muted); }
.ssg .lane.focal { fill: color-mix(in srgb, var(--accent) 5%, var(--bg-deep)); stroke: color-mix(in srgb, var(--accent-text) 55%, transparent); }
.ssg .dot { fill: none; stroke: color-mix(in srgb, var(--text) 30%, transparent); stroke-dasharray: 1.5 3; stroke-linecap: round; }
.ssg .lit { fill: none; stroke: var(--accent-text); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; transition: opacity .3s var(--ease); }
.ssg .hair { fill: none; stroke: color-mix(in srgb, var(--text) 13%, transparent); }
.ssg .bar { fill: color-mix(in srgb, var(--text) 45%, transparent); }
.ssg .cut { fill: none; stroke: var(--text-muted); stroke-width: 1.2; }
.ssg .mk.ok { fill: var(--pos-text); } .ssg .mk.rv { fill: var(--warn-text); }
.ssg .tt.ok { fill: var(--pos-text); } .ssg .tt.rv { fill: var(--warn-text); }
.ssg .br path { fill: none; stroke: var(--text); stroke-width: 1; opacity: .75; }
.ssg .fade { transition: opacity .4s var(--ease), fill .3s var(--ease); }
.ssg .off { opacity: 0; }
.ssg .head { fill: var(--accent-text); opacity: 0; }
.ssg .per { fill: none; stroke: color-mix(in srgb, var(--text) 30%, transparent); stroke-width: 1; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s var(--ease-in-out); }

/* ================= P v2 · every question and every new document, inside your perimeter ================= */
.sp1-head { display: flex; align-items: baseline; gap: 16px; min-height: 50px; padding: 15px 24px 13px; border-bottom: 1px solid var(--border); }
.sp1-st { flex: none; font: 500 15px/1.3 var(--font-display); letter-spacing: -.01em; color: var(--text); }
.sp1-cap { font-size: 14px; line-height: 1.45; color: var(--text-muted); transition: opacity .3s var(--ease); }
.sp1-cap.swap, .sp1-st.swap { opacity: 0; }
.sp1-st { transition: opacity .3s var(--ease); }
.sp1-fig { padding: 22px 24px 16px; }
.pv .sp1-fig { padding: 20px 24px 14px; }
.pv-svg .tt.acc { fill: var(--accent-text); }
.pv-svg .new { transition: opacity .4s var(--ease); }
.pv-svg .lane.dash { fill: none; stroke-dasharray: 3 3; }
/* sources: the ones this person can open and the answer used light up; the closed ones dim behind a lock */
.pv-svg .srow text, .pv-svg .src rect, .pv-svg .src text { transition: opacity .3s var(--ease), fill .3s var(--ease), stroke .3s var(--ease); }
.pv-svg .srow.hot .t { fill: var(--accent-text); }
.pv-svg .srow.no text, .pv-svg .src.no rect, .pv-svg .src.no text { opacity: .45; }
.pv-svg .src.hot rect, .pv-svg .bx.hot .lane { fill: color-mix(in srgb, var(--accent) 6%, var(--bg-deep)); stroke: color-mix(in srgb, var(--accent-text) 55%, transparent); }
.pv-svg .src.hot .tf, .pv-svg .bx.hot .tf { fill: var(--text-muted); }
.pv-svg .lock path, .pv-svg .lock rect { fill: none; stroke: var(--warn-text); stroke-width: 1.3; stroke-linecap: round; }
/* the answers: one row per question; while the story plays, the current one is lit */
.pv-out { padding: 4px 24px 8px; border-top: 1px solid var(--border); }
.pv-o { display: grid; grid-template-columns: 128px 156px minmax(0, 1fr) 76px; gap: 18px; align-items: baseline; margin: 0 -12px; padding: 12px; border-bottom: 1px solid var(--border); border-radius: 6px; transition: background-color .4s var(--ease); }
.pv-o:last-child { border-bottom: 0; }
.pv.armed .pv-o.on { background: color-mix(in srgb, var(--text) 5%, transparent); }
.pv-o .who { font: 500 14px/1.3 var(--font-display); letter-spacing: -.01em; color: var(--text); }
.pv-o .tp { font-size: 13px; color: var(--text-faint); }
.pv-o p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--text); text-wrap: pretty; }
.pv-o .n { text-align: right; font-size: 13px; color: var(--text-faint); font-variant-numeric: tabular-nums; }
.pv-st { display: grid; min-width: 0; }
.pv-st > * { grid-area: 1 / 1; transition: opacity .35s var(--ease), visibility 0s linear .35s; }
.pv-st > :not(.on) { opacity: 0; visibility: hidden; }
.pv-st > .on { transition: opacity .35s var(--ease); }
.pv-st .none { color: var(--warn-text); }

/* ================= narrower ================= */
@media (max-width: 1240px) {
  .sw3 { gap: 56px; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); }
  .sy2 { grid-template-columns: minmax(0, 1fr) 316px; }
}
@media (max-width: 1080px) {
  .sw3-leads { display: none; }
  .sw3 { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .sw3-paper.k1, .sw3-paper.k2 { margin-left: 0; }
  .sy2 { grid-template-columns: minmax(0, 1fr); }
  .sy2-map { border-right: 0; border-bottom: 1px solid var(--border); }
  .pv .sp1-fig { overflow-x: auto; }
  .pv-svg { min-width: 820px; }
  .pv-o { grid-template-columns: 128px minmax(0, 1fr) 76px; }
  .pv-o .tp { display: none; }
}
@media (max-width: 760px) {
  .pv-o { grid-template-columns: minmax(0, 1fr) auto; row-gap: 4px; }
  .pv-o p, .pv-o .pv-st:not(.n) { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 640px) {
  .sy2-seg button { min-height: 44px; }
  .sw3-ph { flex-wrap: wrap; }
  /* the three papers: a row to swipe, the next one peeking; a tapped source brings its paper into view */
  .sw3-desk { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 8px; scroll-padding: 0 var(--gutter); }
  .sw3-desk::-webkit-scrollbar { display: none; }
  .sw3-paper { scroll-snap-align: start; margin: 0 !important; }
  .sw3-tag { position: static; margin-top: 10px; }
  .sp1-head { flex-direction: column; gap: 4px; }
  /* Why semantic on a phone: the map fits the width as dots and links only; the list under the switch carries the words */
  .sy2-map { overflow-x: visible; padding: 12px 8px; }
  .sy2-svg { min-width: 0; }
  .sy2-svg text, .sy2-svg .hl { display: none; }
  .sy2-svg .d { r: 4px; }
  .sy2-svg .h { r: 7px; }
  .sy2-svg .e { stroke-width: 2; }
  /* How it works on a phone: the map laid out top to bottom, nothing to scroll sideways */
  .pv .sp1-fig { overflow-x: visible; padding: 16px 12px 10px; }
  .pv-svg:not(.ph) { display: none; }
  .pv-svg.ph { display: block; min-width: 0; width: 100%; height: auto; }
  /* the citation chips keep their look; a phone's finger gets a 44px target around each */
  .ssx-cite { position: relative; }
  .ssx-cite::after { content: ""; position: absolute; inset: -13px; }
}
@media (min-width: 641px) { .pv-svg.ph { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .ssx-panel *, .sw3 *, .ssg * { transition: none !important; }
}
