/* Rasuwa flood story map. Code written with SI assistance (Claude, Anthropic).
   Light, high-contrast layout: text in a solid column, map beside it. Colour is reserved for the data. */
:root {
  color-scheme: light;
  --paper: #ffffff;
  --wash: #eef2f4;      /* glacier-melt grey behind panels */
  --ink: #0f1a22;       /* 17.6:1 on paper */
  --ink-2: #46555f;     /* secondary text, 7.6:1 on paper */
  --rule: #d3dbe0;
  --rose: #b2182b;      /* radar echo rose (matches the tile ramp) */
  --fell: #2166ac;      /* radar echo fell */
  --col-w: 31rem;
  --profile-h: 112px;
  --display: "Archivo", "Segoe UI", system-ui, -apple-system, sans-serif;
  /* names kept for the text pages (page.css) */
  --text: var(--display); --slate-2: var(--rule); --mist: var(--ink-2); --silt: var(--ink);
}
* { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); scroll-behavior: smooth; }
body { margin: 0; font-family: var(--display); font-size: 17px; line-height: 1.55; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--fell); outline-offset: 2px; border-radius: 4px; }
button, select, input { font: inherit; color: inherit; }

/* ---------- layout: story column left, map right ---------- */
body:not(.page) { display: grid; grid-template-columns: minmax(0, var(--col-w)) minmax(0, 1fr); }
#story { grid-column: 1; grid-row: 1; background: var(--paper); border-right: 1px solid var(--rule); min-width: 0; }
#mappane { grid-column: 2; grid-row: 1; position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden; background: var(--wash); }
#map, #map2 { position: absolute; inset: 0 0 var(--profile-h) 0; }
#map2 { pointer-events: none; visibility: hidden; }
body.comparing #map2 { visibility: visible; }
.maplibregl-ctrl-attrib { font-family: var(--display); font-size: 11px; }
.maplibregl-cooperative-gesture-screen { font-family: var(--display); }

/* ---------- story ---------- */
.chapter { padding: 2.6rem clamp(1.1rem, 3vw, 2.4rem); border-bottom: 1px solid var(--rule); scroll-margin-top: 0; }
.chapter.is-title { padding-top: 3.2rem; }
.chapter:not(.is-title):not(.is-wide) { min-height: 62vh; }
.chapter.is-active:not(.is-title) { box-shadow: inset 4px 0 0 var(--ink); }
.kicker { margin: 0 0 0.7rem; color: var(--ink-2); font-weight: 600; font-size: 0.94rem; }
h1 { font-weight: 800; font-stretch: 112%; font-size: clamp(2rem, 3.4vw, 2.75rem); line-height: 1.05; letter-spacing: -0.015em; margin: 0 0 1.1rem; text-wrap: balance; }
h2 { font-weight: 750; font-stretch: 108%; font-size: 1.6rem; line-height: 1.15; margin: 0 0 0.8rem; text-wrap: balance; }
h3 { font-weight: 700; font-size: 1.06rem; margin: 1.8rem 0 0.4rem; }
.km { margin: 0 0 0.3rem; color: var(--ink-2); font-size: 0.9rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.km:empty { display: none; }
.lede { font-size: 1.12rem; line-height: 1.5; margin: 0 0 1.4rem; }

.howto { margin: 0 0 1.5rem; padding: 0; list-style: none; counter-reset: step; }
.howto li { counter-increment: step; position: relative; padding: 0.75rem 0 0.75rem 2.6rem; border-top: 1px solid var(--rule); }
.howto li::before { content: counter(step); position: absolute; left: 0; top: 0.78rem; width: 1.75rem; height: 1.75rem; border-radius: 50%;
  background: var(--ink); color: var(--paper); font-weight: 700; font-size: 0.95rem; display: grid; place-items: center; }
.inline-link { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 0.2em; font-weight: 600; }
.readme { background: var(--wash); border-radius: 12px; padding: 1rem 1.1rem 1.1rem; }
.readme h3 { margin: 0 0 0.35rem; }
.readme p { margin: 0; font-size: 0.98rem; }
.dot { display: inline-block; width: 0.72em; height: 0.72em; border-radius: 50%; margin: 0 0.3em 0 0.1em; }
.dot.rose, .sw.rose { background: var(--rose); } .dot.fell, .sw.fell { background: var(--fell); }

.user-text { font-size: 1.06rem; line-height: 1.6; }
.user-text p { margin: 0 0 0.9em; }
.user-text.is-empty { display: none; }
.user-text.is-empty.show-slot { display: block; border: 1px dashed var(--ink-2); border-radius: 8px; color: var(--ink-2); padding: 0.6rem 0.8rem; font-size: 0.88rem; margin-bottom: 1rem; }
.plain { margin: 0 0 0.9em; }
ul.plain { padding-left: 1.2rem; } ul.plain li { margin-bottom: 0.5em; }
.data-note { font-size: 0.9rem; color: var(--ink-2); margin: 0.9rem 0 0; }

/* the per-stop comparison: flood bar against ordinary bar */
.measure { margin: 1.1rem 0 0; }
.measure:empty { display: none; }
.measure .headline { margin: 0 0 0.8rem; font-size: 1.12rem; font-weight: 650; line-height: 1.35; text-wrap: pretty; }
.measure .headline b { font-weight: 800; }
.cmp { display: grid; grid-template-columns: 8.6rem 1fr 3.6rem; align-items: center; gap: 0.3rem 0.7rem; font-size: 0.93rem; }
.cmp .track { height: 16px; background: var(--wash); border-radius: 4px; overflow: hidden; }
.cmp .track i { display: block; height: 100%; min-width: 3px; border-radius: 0 4px 4px 0; }
.cmp .track .f { background: var(--rose); } .cmp .track .o { background: var(--ink-2); }
.cmp .val { font-weight: 750; font-variant-numeric: tabular-nums; text-align: right; }
.measure .fine { margin: 0.7rem 0 0; font-size: 0.86rem; color: var(--ink-2); }
.goto { margin-top: 0.9rem; background: var(--paper); border: 1.5px solid var(--ink); border-radius: 999px; padding: 0.5rem 1rem; min-height: 44px; font-weight: 650; font-size: 0.95rem; cursor: pointer; }
.goto:hover { background: var(--ink); color: var(--paper); }

.sources { margin-top: 1rem; font-size: 0.86rem; color: var(--ink-2); }
.sources summary { cursor: pointer; width: fit-content; padding: 0.3rem 0; }
.sources ul { margin: 0.3rem 0 0; padding-left: 1.1rem; } .sources li { margin-bottom: 0.3rem; }
.sources a { color: inherit; }

.timeline { list-style: none; margin: 1rem 0 0; padding: 0; border-left: 2px solid var(--rule); }
.timeline li { display: grid; grid-template-columns: 6.2rem 1fr; gap: 0.6rem; padding: 0.5rem 0 0.5rem 1rem; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 1rem; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
.timeline time { font-weight: 750; font-variant-numeric: tabular-nums; }

.tracks { width: 100%; border-collapse: collapse; font-size: 0.9rem; margin: 0.4rem 0 0; }
.tracks th, .tracks td { text-align: left; padding: 0.45rem 0.6rem 0.45rem 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.tracks th { color: var(--ink-2); font-weight: 600; }
.figure { margin: 0.8rem 0 0; } .figure svg { width: 100%; height: auto; display: block; }
.figure text { font-family: var(--display); fill: var(--ink-2); font-size: 13px; }
.figure .row-label { fill: var(--ink); font-size: 14px; font-weight: 600; }

.links { list-style: none; padding: 0; margin: 0.4rem 0 0; }
.links li { padding: 0.7rem 0; border-bottom: 1px solid var(--rule); }
.links a { font-weight: 650; }
.links span { display: block; color: var(--ink-2); font-size: 0.9rem; }
.foot { font-size: 0.88rem; color: var(--ink-2); } .foot p { margin: 0 0 0.8em; } .foot a { color: inherit; }

/* ---------- map controls ---------- */
#controls { position: absolute; z-index: 5; top: 12px; left: 12px; right: 56px; display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; }
.seg { display: inline-flex; background: var(--paper); border-radius: 12px; padding: 3px; box-shadow: 0 1px 2px rgba(15,26,34,.18), 0 4px 14px rgba(15,26,34,.12); }
.seg button { border: 0; background: none; padding: 0 0.95rem; min-height: 40px; border-radius: 9px; font-weight: 650; font-size: 0.95rem; cursor: pointer; white-space: nowrap; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.seg button:not([aria-pressed="true"]):hover { background: var(--wash); }
.pill, #more > summary { background: var(--paper); border: 0; border-radius: 12px; min-height: 46px; padding: 0 1rem; font-weight: 650; font-size: 0.95rem; cursor: pointer;
  box-shadow: 0 1px 2px rgba(15,26,34,.18), 0 4px 14px rgba(15,26,34,.12); display: inline-flex; align-items: center; gap: 0.5rem; }
.pill:hover, #more > summary:hover { background: var(--wash); }
.pill.play::before { content: ""; border-left: 10px solid var(--ink); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.pill.play.playing::before { border: 0; width: 10px; height: 12px; background: linear-gradient(90deg, var(--ink) 35%, transparent 35% 65%, var(--ink) 65%); }
#more { position: relative; }
#more > summary { list-style: none; } #more > summary::-webkit-details-marker { display: none; }
#more > summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg) translateY(-2px); }
#more[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
.more-body { position: absolute; top: 54px; left: 0; width: min(21rem, calc(100vw - 24px)); background: var(--paper); border-radius: 12px; padding: 0.9rem 1rem 1rem;
  box-shadow: 0 1px 2px rgba(15,26,34,.18), 0 8px 28px rgba(15,26,34,.18); display: grid; gap: 0.8rem; font-size: 0.92rem; }
.more-body .row { display: grid; gap: 0.25rem; font-weight: 600; }
.more-body select { width: 100%; min-height: 40px; border: 1px solid var(--rule); border-radius: 8px; background: var(--paper); padding: 0 0.5rem; font-weight: 400; }
.more-body .check { display: flex; gap: 0.5rem; align-items: center; min-height: 32px; cursor: pointer; }
.more-body input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--ink); }

#play-note { position: absolute; z-index: 5; top: 68px; left: 12px; max-width: min(30rem, calc(100% - 24px)); margin: 0; background: var(--ink); color: var(--paper);
  border-radius: 12px; padding: 0.7rem 0.95rem; font-size: 0.95rem; line-height: 1.4; }
#play-note b { display: block; font-size: 1.05rem; }
#play-note small { display: block; opacity: 0.8; margin-top: 0.25rem; font-size: 0.82rem; }

#legend { position: absolute; z-index: 4; left: 12px; bottom: calc(var(--profile-h) + 30px); background: rgba(255,255,255,.96); border-radius: 12px; padding: 0.55rem 0.9rem;
  box-shadow: 0 1px 2px rgba(15,26,34,.18), 0 4px 14px rgba(15,26,34,.12); font-size: 0.9rem; }
#legend .keys { display: flex; flex-wrap: wrap; gap: 0.25rem 1.1rem; font-weight: 600; }
#legend .keys span { display: flex; align-items: center; gap: 0.55rem; white-space: nowrap; }
#legend em { font-style: normal; margin-right: -0.55rem; }
.tracks td:nth-child(2), .tracks td:nth-child(3) { white-space: nowrap; }
.sw { display: inline-block; width: 18px; height: 12px; border-radius: 3px; flex: none; }
.sw.line { height: 4px; background: var(--ink); border-radius: 2px; }
#legend p { margin: 0.35rem 0 0; color: var(--ink-2); font-size: 0.84rem; line-height: 1.35; }

/* ---------- slide to compare ---------- */
#swipe { position: absolute; inset: 0 0 var(--profile-h) 0; z-index: 3; pointer-events: none; --x: 50%; }
#swipe[hidden] { display: none; }
#swipe-line { position: absolute; top: 0; bottom: 0; left: var(--x); width: 3px; margin-left: -1.5px; background: var(--ink); box-shadow: 0 0 0 1.5px #fff; }
#swipe-line i { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px; border-radius: 50%; background: var(--ink); border: 3px solid #fff;
  background-image: linear-gradient(#fff, #fff), linear-gradient(#fff, #fff); background-size: 2px 14px; background-repeat: no-repeat; background-position: 15px 50%, 23px 50%; }
#swipe-range { position: absolute; left: 0; right: 0; top: calc(50% - 30px); width: 100%; height: 60px; margin: 0; opacity: 0; cursor: ew-resize; pointer-events: auto; }
#swipe-range:focus-visible + #swipe-line i { outline: 3px solid var(--fell); outline-offset: 2px; }
.side-tag { position: absolute; top: 126px; background: var(--ink); color: var(--paper); font-weight: 650; font-size: 0.9rem; padding: 0.35rem 0.7rem; border-radius: 8px; white-space: nowrap; }
.side-tag.left { right: calc(100% - var(--x) + 14px); } .side-tag.right { left: calc(var(--x) + 14px); }

/* ---------- river profile strip ---------- */
#profile { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; height: var(--profile-h); background: var(--paper); border-top: 1px solid var(--rule); padding: 8px 14px 0; }
.profile-head { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.84rem; white-space: nowrap; overflow: hidden; }
#profile-title { font-weight: 650; } #profile-readout { color: var(--ink-2); font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; }
#profile-svg { width: 100%; height: calc(var(--profile-h) - 34px); display: block; cursor: pointer; }
#profile-svg text { font-family: var(--display); font-size: 12px; fill: var(--ink-2); }
#profile-svg .place { fill: var(--ink); font-weight: 600; }

.place-marker { font-family: var(--display); font-weight: 700; font-size: 13.5px; color: var(--ink); text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 6px #fff;
  padding-left: 15px; position: relative; white-space: nowrap; }
.place-marker::before { content: ""; position: absolute; left: 0; top: 50%; width: 9px; height: 9px; margin-top: -6px; border: 2.5px solid var(--ink); border-radius: 50%; background: #fff; }
.here-marker { width: 18px; height: 18px; border-radius: 50%; border: 3px solid #fff; background: var(--ink); box-shadow: 0 0 0 2px var(--ink); }

/* ---------- tabs, sub-bar, card ---------- */
#subbar { flex-basis: 100%; }
#subbar > div { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
#subbar > div[hidden] { display: none; }
.pill[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.pill.check { cursor: pointer; } .pill.check input { width: 18px; height: 18px; accent-color: var(--ink); margin: 0; }
.slider { background: var(--paper); border-radius: 12px; padding: 0.45rem 0.9rem 0.5rem; display: grid; gap: 0.15rem; min-width: min(24rem, 100%); flex: 0 1 26rem;
  box-shadow: 0 1px 2px rgba(15,26,34,.18), 0 4px 14px rgba(15,26,34,.12); font-size: 0.9rem; }
.slider b { font-weight: 750; margin-right: 0.35rem; }
.slider input { width: 100%; accent-color: var(--ink); height: 24px; margin: 0; }
#card { position: absolute; z-index: 5; top: 118px; right: 12px; width: min(22.5rem, calc(100% - 24px)); max-height: calc(100% - var(--profile-h) - 190px); overflow: auto;
  background: var(--paper); border-radius: 14px; padding: 0.9rem 1rem 1rem; box-shadow: 0 1px 2px rgba(15,26,34,.18), 0 10px 32px rgba(15,26,34,.22); font-size: 0.95rem; }
#card[hidden] { display: none; }
#card h3 { margin: 0 4.2rem 0.4rem 0; font-size: 1.02rem; line-height: 1.25; }
#card p { margin: 0.45rem 0 0; } #card .fine { font-size: 0.82rem; color: var(--ink-2); }
#card .figure { margin: 0.3rem 0 0; } #card .figure text { font-size: 11px; }
#card-close { position: absolute; top: 0.6rem; right: 0.6rem; border: 0; background: var(--wash); border-radius: 999px; padding: 0.25rem 0.7rem; min-height: 32px; font-size: 0.85rem; font-weight: 650; cursor: pointer; }
.goto.dl { display: inline-flex; align-items: center; text-decoration: none; margin-top: 0.7rem; }
.pin-marker { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid var(--ink); box-shadow: 0 0 0 2px #fff; }
.sw.ring { width: 13px; height: 13px; border-radius: 50%; border: 2.5px solid #0b7285; background: none; }
body[data-mode="water"] #map canvas, body[data-mode="flood"] #map canvas, body[data-mode="season"] #map canvas, body[data-mode="glacier"] #map canvas { cursor: crosshair; }

/* the headline finding */
#finding { margin: 0 0 1.5rem; padding: 1.1rem 1.1rem 1rem; border: 2px solid var(--ink); border-radius: 14px; }
#finding:empty { display: none; }
#finding h3 { margin: 0 0 0.4rem; font-size: 0.95rem; color: var(--ink-2); font-weight: 650; }
#finding .say { margin: 0 0 0.9rem; font-size: 1.22rem; line-height: 1.35; font-weight: 600; text-wrap: pretty; }
#finding .say b { font-weight: 800; }
.grids { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.grids figure { margin: 0; }
.grid100 { display: grid; grid-template-columns: repeat(10, 1fr); gap: 2px; max-width: 150px; }
.grid100 i { aspect-ratio: 1; background: var(--wash); border-radius: 2px; }
.grid100 i.f { background: var(--rose); } .grid100 i.o { background: var(--ink-2); }
.grids figcaption { margin-top: 0.5rem; font-size: 0.88rem; line-height: 1.3; color: var(--ink-2); }
.grids figcaption b { display: block; color: var(--ink); }
#finding .fine { margin: 0.9rem 0 0; font-size: 0.82rem; color: var(--ink-2); }

/* ---------- narrow screens: map on top, story below ---------- */
@media (max-width: 860px) {
  :root { --profile-h: 0px; }
  body:not(.page) { display: block; }
  #mappane { height: 48vh; height: 48dvh; z-index: 6; border-bottom: 1px solid var(--rule); }
  #story { border-right: 0; }
  #profile { display: none; }
  #legend p { display: none; }
  #legend .keys { gap: 0.1rem 0.8rem; }
  #legend { left: 8px; bottom: 8px; padding: 0.45rem 0.6rem; font-size: 0.78rem; }
  #controls { top: 8px; left: 8px; right: 8px; gap: 6px; }
  .seg button { padding: 0 0.6rem; font-size: 0.84rem; min-height: 38px; }
  .pill, #more > summary { min-height: 44px; font-size: 0.84rem; padding: 0 0.75rem; }
  #play-note { top: auto; bottom: 8px; left: 8px; right: 8px; max-width: none; z-index: 6; font-size: 0.84rem; }
  .side-tag { top: auto; bottom: 64px; font-size: 0.74rem; }
  #card { top: auto; bottom: 6px; left: 6px; right: 6px; width: auto; max-height: 62%; z-index: 7; font-size: 0.88rem; }
  .slider { min-width: 0; flex: 1 1 100%; font-size: 0.8rem; padding: 0.3rem 0.7rem 0.35rem; }
  #more { display: none; }
  .chapter:not(.is-title):not(.is-wide) { min-height: 46vh; }
  .chapter { scroll-margin-top: 48vh; }
  .cmp { grid-template-columns: 7.2rem 1fr 3.2rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- less text, bigger signals ---------- */
.key { display: flex; flex-wrap: wrap; gap: 0.3rem 1.1rem; align-items: center; margin: 0 0 0.9rem; font-size: 0.95rem; font-weight: 600; }
.key span { display: inline-flex; align-items: center; gap: 0.45rem; } .key span:last-child { font-weight: 400; color: var(--ink-2); }
.next { margin: 0; font-size: 0.95rem; color: var(--ink-2); }
.user-text { font-size: 1.08rem; line-height: 1.5; }
.measure .stat { margin: 0 0 0.7rem; display: flex; align-items: baseline; gap: 0.7rem; flex-wrap: wrap; }
.measure .stat b { font-size: 3rem; line-height: 1; font-weight: 800; font-stretch: 112%; font-variant-numeric: tabular-nums; }
.measure .stat span { font-size: 1.05rem; font-weight: 600; }
.measure .vs { margin: 0.6rem 0 0; font-size: 0.98rem; font-weight: 600; }
.cmp { grid-template-columns: 4.2rem 1fr 3.2rem; }
.checks { list-style: none; counter-reset: c; margin: 0 0 1.2rem; padding: 0; display: grid; gap: 0.6rem; }
.checks li { counter-increment: c; background: var(--wash); border-radius: 12px; padding: 0.75rem 0.9rem 0.8rem 3rem; position: relative; }
.checks li::before { content: counter(c); position: absolute; left: 0.85rem; top: 0.75rem; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; font-size: 0.9rem; display: grid; place-items: center; }
.sources p { margin: 0.5rem 0 0; } .sources table { margin-top: 0.4rem; }
#finding .sources { margin-top: 0.8rem; }
.chapter:not(.is-title):not(.is-wide) { min-height: 56vh; }
@media (max-width: 860px) { .cmp { grid-template-columns: 4.2rem 1fr 3.2rem; } .measure .stat b { font-size: 2.5rem; } }

/* ---------- stepper ---------- */
#stepper { position: sticky; top: 0; z-index: 4; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--rule); }
.step-row { display: flex; align-items: center; gap: 0.6rem; padding: 0.45rem clamp(0.7rem, 2vw, 1.4rem); }
.step-where { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 0.5rem; }
.step-where b { font-weight: 750; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.step-where small { color: var(--ink-2); font-size: 0.82rem; white-space: nowrap; }
#stepper button { border: 1.5px solid var(--ink); background: var(--paper); border-radius: 999px; min-height: 36px; padding: 0 0.85rem; font-weight: 650; font-size: 0.88rem; cursor: pointer; white-space: nowrap; }
#stepper #step-next { background: var(--ink); color: var(--paper); }
#stepper button:disabled { opacity: 0.35; cursor: default; }
#step-bar { height: 3px; background: var(--wash); } #step-bar i { display: block; height: 100%; background: var(--ink); transition: width .3s; }
@media (max-width: 860px) { #stepper { top: 48vh; top: 48dvh; } .step-where small { display: none; } #stepper button { padding: 0 0.65rem; font-size: 0.8rem; } }
@media (prefers-reduced-motion: reduce) { #step-bar i { transition: none; } }

/* ---------- things to try on the map, inside the story ---------- */
.try { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.9rem 0 0.2rem; }
.try button { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0 1rem 0 0.85rem; border-radius: 999px; border: 0; background: var(--ink); color: var(--paper); font: inherit; font-weight: 650; font-size: 0.93rem; cursor: pointer; transition: transform .15s, background .15s; }
.try button + button { background: var(--wash); color: var(--ink); }
.try button::before { content: ""; width: 0; height: 0; border-left: 8px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.try button:hover { transform: translateY(-1px); }
.try button:active { transform: scale(.97); }
.try button:focus-visible { outline: 3px solid #2166ac; outline-offset: 2px; }
.user-text + .try { margin-bottom: 1.1rem; }
@media (prefers-reduced-motion: reduce) { .try button { transition: none; } }
