/*
 * /post: Paste-up's flyer tool. The steps' cards on the left; the event as
 * Cite will show it on the right, held in view while the form beside it
 * scrolls, with what the account sent before under it.
 *
 * Built on paste/tool.css (tcard, thead, why, steps, drop, inp, mapframe,
 * rows) and paste/components.css (btn, tag, kick, h2, mk, motif). What is
 * here is only /post's own arrangement and the preview. Every colour is a
 * Paste-up token, so the page follows the theme and the accent.
 */

body.post { min-height: 100vh; background: var(--ground); }
/* Room under the sticky bar at the top and the send bar at the foot, so a focused field is never behind either. */
html:has(body.post) { scroll-padding: 84px 0 132px; }
.p-boot { min-height: 100vh; }

/* ── The bar ────────────────────────────────────────────────────────────── */

.post-bar { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 18px; min-height: 68px; padding: 10px var(--tg); background: color-mix(in srgb, var(--ground) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.post-bar .brand { flex: none; }
.post-bar .brand .tool-name { color: var(--ink3); font-weight: 700; margin-left: 4px; }
.post-bar .steps { margin: 0 auto; }
.post-bar .end { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.who { display: flex; align-items: center; gap: 10px; }
.who .nm { display: grid; justify-items: start; font-weight: 700; font-size: 15px; line-height: 1.2; }
.who .nm button { padding: 2px 0; color: var(--ink3); font-weight: 600; font-size: 13.5px; }
@media (hover: hover) { .who .nm button:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; } }
.who .nm button:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* ── The grid ───────────────────────────────────────────────────────────── */

.post-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(340px, 1fr); gap: clamp(16px, 2vw, 36px); padding: 12px var(--tg) 56px; align-items: start; }
@media (min-width: 1700px) { .post-grid { grid-template-columns: minmax(0, 1.5fr) minmax(420px, 1fr); } }
.post-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(12px, 1.2vw, 18px); min-width: 0; align-content: start; }
.post-main:focus, .post-main h1:focus { outline: none; }
.post-side { position: sticky; top: 84px; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(12px, 1.2vw, 18px); min-width: 0; }
.post-head { padding: 18px 0 10px; }
.post-head .h2 { margin-top: 14px; }
.post-head .lede { margin-top: 12px; }
.post-legal { color: var(--ink3); font-size: 13px; padding: 0 4px; }
.post-legal a { color: var(--ink3); }
.p-gap { margin-top: 8px; }
.p-gap2 { margin-top: 14px; }

/* ── Choose ─────────────────────────────────────────────────────────────── */

.choose { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.choice { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: center; text-align: left; color: var(--ink); transition: box-shadow 180ms ease, transform 160ms var(--ease-out); }
.choice:active { transform: scale(.985); }
.choice b { display: block; font-weight: 800; font-size: 21px; letter-spacing: -.02em; }
.choice .why { display: block; }
.choice .ch-art { width: 96px; aspect-ratio: 1; border-radius: 8px; transform: rotate(-2deg); }
.choice[aria-pressed="true"] { box-shadow: 0 0 0 2.5px var(--ink), var(--shadow); }
.choice:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; }
@media (hover: hover) { .choice:hover { box-shadow: 0 0 0 1.5px var(--rule2), var(--shadow-lift); } .choice[aria-pressed="true"]:hover { box-shadow: 0 0 0 2.5px var(--ink), var(--shadow-lift); } }

/* ── Upload and reading ─────────────────────────────────────────────────── */

.up-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.up-grid .drop { min-height: 260px; }
.drop:focus-within { box-shadow: inset 0 0 0 2.5px var(--accent); }
.drop .small { max-width: 26em; }
.up-img { display: block; width: 140px; aspect-ratio: 3 / 4; border-radius: 8px; object-fit: cover; background: var(--oat); box-shadow: var(--shadow); transform: rotate(-2deg); }
.a-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; align-items: center; }
.reading { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 22px; align-items: center; }
.rd-art { position: relative; }
.rd-art .up-img { width: 160px; }
.scan { position: absolute; left: -6px; right: -6px; top: 0; height: 3px; border-radius: 3px; background: var(--green); box-shadow: 0 0 18px var(--green); animation: p-scan 1.6s var(--ease-io) infinite alternate; }
@keyframes p-scan { to { top: 100%; } }
.ticks { display: grid; gap: 10px; margin-top: 16px; padding: 0; }
.ticks li { list-style: none; display: flex; align-items: center; gap: 10px; font-size: 15.5px; font-weight: 700; color: var(--ink2); animation: p-look 1.8s ease-in-out infinite; animation-delay: calc(var(--i) * 600ms); }
.ticks li .ico { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--well); color: var(--ink3); }
@keyframes p-look { 0%, 100% { opacity: .55; } 40% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .scan, .ticks li { animation: none; } }

/* The page's one line of trouble, beside the button that caused it. */
.p-notice:empty { display: none; }
.p-notice, .notice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; color: var(--ink); font-weight: 600; font-size: 15px; }
.notice { background: color-mix(in srgb, var(--mustard) 35%, var(--sheet)); }
.notice b { font-weight: 800; }
.p-notice { margin-top: 12px; background: color-mix(in srgb, var(--danger) 14%, var(--sheet)); }
.p-notice .ico, .notice .ico { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.p-notice .ico { color: var(--danger); }

/* ── Check it ───────────────────────────────────────────────────────────── */

.check { display: grid; gap: clamp(12px, 1.2vw, 18px); }
.check .fgrid > div { min-width: 0; }
.p-when { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.where { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 16px; align-items: start; }
.find { display: flex; gap: 8px; }
.find .inp { min-width: 0; }
.find .btn { flex: none; height: 46px; }
.find .btn .ico, .cov .btn .ico, .send-row .btn .ico, .a-row .btn .ico { width: 16px; height: 16px; }
.p-map-wrap { background: var(--well); aspect-ratio: auto; height: clamp(240px, 22vw, 320px); }
.p-map { position: absolute; inset: 0; }
.p-map-pin { position: absolute; left: 50%; top: 50%; z-index: 2; pointer-events: none; }
.p-map-col { display: grid; gap: 16px; min-width: 0; }
/*
 * The venue ring, as the app draws it (PlaceEventAreaScreen): the accent's
 * dashed edge over a wash of it, round the pin's point. Fixed in the middle
 * like the pin; map.js sizes --d from metres at every zoom.
 */
.p-map-ring { position: absolute; left: 50%; top: 50%; z-index: 1; width: var(--d, 0px); height: var(--d, 0px); border-radius: 50%; transform: translate(-50%, -50%); background: color-mix(in srgb, var(--accent) 12%, transparent); border: 2px dashed color-mix(in srgb, var(--accent) 72%, transparent); pointer-events: none; }
/* Whether the pin counted, on the map itself: a paper tag in the corner that turns to "Pinned" the moment the ground stops. */
.p-map-state { position: absolute; left: 10px; top: 10px; z-index: 4; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 99px; background: #FBF8F1; color: #4A4842; font-size: 13.5px; font-weight: 750; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .5); pointer-events: none; transition: color 200ms ease; }
.p-map-state .ico { width: 15px; height: 15px; stroke-width: 2.6; color: #137A48; }
.p-map-state.is-on { color: #1D1F22; }

/* In person or online: two underlined halves, and the card each one asks for (the other is hidden). */
.p-mode-seg > button { font-size: 16.5px; }
.p-mode-seg > button .ico { width: 18px; height: 18px; }
.p-mode-why { margin-top: 8px; font-size: 14.5px; }
.check > [data-for][hidden] { display: none; }
.p-online .hint { display: block; font-size: 14px; }

/* How much ground: just the spot, or a ring and its size. */
.p-area { display: grid; gap: 6px; }
.p-area .lbl { margin-bottom: 0; }
.p-area-seg > button { font-size: 16px; }
.p-area-size { display: grid; gap: 6px; margin-top: 6px; }
.p-area-size[hidden] { display: none; }
.p-area-now { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.p-area-now b { font-size: 19px; font-weight: 800; letter-spacing: -.015em; }
.p-area-now span { color: var(--ink3); font-size: 15px; font-weight: 650; }
.p-area-stops { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.p-area-stops button { padding: 2px 0; border: 0; background: none; color: var(--ink3); font: inherit; font-size: 13.5px; font-weight: 650; line-height: 1.25; text-align: center; cursor: pointer; transition: color 160ms ease; }
.p-area-stops button:first-child { text-align: left; }
.p-area-stops button:last-child { text-align: right; }
.p-area-stops button.is-on { color: var(--ink); font-weight: 800; }
@media (hover: hover) { .p-area-stops button:hover { color: var(--ink); } }
.p-area-why { margin-top: 2px; font-size: 14.5px; }
.cov { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; cursor: pointer; }
.cov-img { display: grid; place-items: center; width: 92px; aspect-ratio: 3 / 4; border-radius: 8px; object-fit: cover; background: var(--well); color: var(--ink3); }
.cov-img.none .ico { width: 22px; height: 22px; }
.cov .hint { flex-basis: 100%; margin-top: 0; }
.cov:focus-within .btn { box-shadow: inset 0 0 0 1.5px var(--ink), 0 0 0 3px var(--accent); }
.p-cover.is-busy .cov-img { opacity: .55; }

/* Whose event: two chips that say what each one does. */
.p-who-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.p-who-opt { display: grid; gap: 4px; padding: 14px 16px; border-radius: 12px; background: var(--well); cursor: pointer; transition: background-color 160ms ease, box-shadow 160ms ease, transform 140ms var(--ease-out); }
.p-who-opt:active { transform: scale(.985); }
.p-who-t { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 16.5px; }
.p-who-t .ico { width: 18px; height: 18px; }
.p-who-s { color: var(--ink3); font-size: 14.5px; font-weight: 550; line-height: 1.45; }
.p-who-opt:has(input:checked) { background: var(--ink); color: var(--ground); }
.p-who-opt:has(input:checked) .p-who-s { color: color-mix(in srgb, var(--ground) 72%, transparent); }
.p-who-opt:has(input:focus-visible) { box-shadow: 0 0 0 2.5px var(--accent); }

.p-inline-preview-card { display: none; }
/*
 * The send bar: Back, what is still needed, and Send, held at the foot of the
 * window while the form scrolls. Each of the four needs ticks green as it is
 * filled; until all four are, Send sits flat in the well (aria-disabled, still
 * pressable, so pressing it says why and goes to the field) and the line
 * under the ticks says what is next. Once it can go, the line says what
 * pressing it does.
 */
.send-row { position: sticky; bottom: 14px; z-index: 30; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px 22px; margin-top: 4px; padding: 12px; border-radius: 20px; background: color-mix(in srgb, var(--sheet) 94%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow-lift); }
.p-ready { display: grid; gap: 6px; min-width: 0; }
.p-checks { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0; padding: 0; }
.p-checks li { list-style: none; display: inline-flex; align-items: center; gap: 7px; color: var(--ink3); font-weight: 700; font-size: 14.5px; transition: color 200ms ease; }
.p-checks li i { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; color: transparent; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--ink) 30%, transparent); transition: background-color 200ms ease, color 200ms ease, box-shadow 200ms ease; }
.p-checks li i .ico { width: 11px; height: 11px; stroke-width: 3; }
.p-checks li.is-done { color: var(--ink); }
.p-checks li.is-done i { background: var(--green); color: #fff; box-shadow: none; }
.p-hint { display: flex; align-items: flex-start; gap: 7px; color: var(--ink2); font-size: 15px; font-weight: 600; line-height: 1.4; }
.p-hint .ico { width: 16px; height: 16px; margin-top: 1px; color: var(--s-busy); }
.send-row:has([data-send]:not([aria-disabled])) .p-hint .ico { color: var(--green-ink); }
.send-row [data-send] { min-width: 200px; }
.send-row [data-send][aria-disabled="true"] { pointer-events: auto; }

/* ── Done ───────────────────────────────────────────────────────────────── */

.done-card { display: grid; gap: 14px; justify-items: start; padding: clamp(24px, 3vw, 44px); }
.done-card .motif { --ink: #1D1F22; }
.done-card .h2 { color: #1D1F22; }
.done-card .lede { color: rgba(29, 31, 34, .78); }
.done-list { display: grid; gap: 10px; padding: 0; }
.done-list li { list-style: none; display: flex; gap: 10px; align-items: center; font-weight: 650; color: var(--on-field); }
.done-list .ico { width: 20px; height: 20px; flex: none; }
.done-card .btn { background: #1D1F22; color: #FBF8F1; }
.done-card .btn.quiet { background: transparent; color: #1D1F22; box-shadow: inset 0 0 0 1.5px #1D1F22; }
.done-card .kick { color: rgba(29, 31, 34, .7); }
.nx { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.nx-i .art { border-radius: 8px; margin-bottom: 10px; aspect-ratio: 4 / 3; }
.nx-i b { display: block; font-weight: 800; }
.nx-i b { font-size: 16.5px; }
.nx-i small { color: var(--ink3); font-size: 14.5px; line-height: 1.45; display: block; margin-top: 2px; }
.p-track { display: grid; gap: 6px; padding: 0; }
.p-track li { list-style: none; display: flex; gap: 12px; align-items: center; min-height: 56px; padding: 8px 10px; border-radius: 10px; }
.p-track li:nth-child(odd) { background: color-mix(in srgb, var(--well) 55%, transparent); }
.p-track b { display: block; font-weight: 700; font-size: 15.5px; }
.p-track small { display: block; color: var(--ink3); font-size: 14px; }
.p-track-dot { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--well); color: var(--ink3); }
.p-track-dot .ico { width: 16px; height: 16px; }
.p-track li.is-done .p-track-dot { background: var(--s-open); color: #fff; }
.p-track li.is-on .p-track-dot { background: var(--s-busy); color: #1D1F22; }

/* ── Sent before ────────────────────────────────────────────────────────── */

.p-sent-pic { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 7px; object-fit: cover; background: var(--well); color: var(--ink3); }
.p-sent-pic .ico { width: 18px; height: 18px; }
.p-sent .row small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.p-sent .tag { flex: none; }
.p-sent .rows { grid-template-columns: minmax(0, 1fr); }
.p-sent .empty .art { width: 72px; aspect-ratio: 3 / 4; }

/* ── The preview: the ticket on the map, and the sheet it opens ─────────── */

.pv-map { position: relative; overflow: hidden; height: 210px; border-radius: 12px; background: var(--well); container-type: size; }
.pv-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.pv-bg.is-gone { visibility: hidden; }
.pv-pin { position: absolute; left: 50%; top: 56%; }
/*
 * The ring on the still, round the pin's point. preview.js gives its
 * diameter as a share of the still's width (--rw) and height (--rh); the
 * still covers the frame, so whichever share of the frame is larger is the
 * scale the picture was cropped at.
 */
.pv-ring { position: absolute; left: 50%; top: 56%; width: max(calc(var(--rw, 0) * 100cqw), calc(var(--rh, 0) * 100cqh)); aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); background: color-mix(in srgb, var(--accent) 12%, transparent); border: 2px dashed color-mix(in srgb, var(--accent) 72%, transparent); }
.pv-ticket, .p-map-pin .pv-ticket { position: absolute; left: 0; top: 0; display: flex; transform: translate(-50%, calc(-100% - 7px)); padding: 4px; border-radius: 10px; background: #FBF8F1; box-shadow: 0 10px 22px -10px rgba(0, 0, 0, .6); }
.pv-ticket::after { content: ''; position: absolute; left: 50%; bottom: -7px; width: 14px; height: 14px; background: #FBF8F1; transform: translateX(-50%) rotate(45deg); border-radius: 2px; }
.pv-tab { flex: none; display: grid; place-items: center; align-content: center; width: 40px; min-height: 46px; padding: 4px 0; border-radius: 7px; background: var(--green); color: #fff; line-height: 1; }
.pv-tab small { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.pv-tab b { margin-top: 2px; font-size: 18px; font-weight: 800; }
.pv-tab.is-long { width: auto; padding: 4px 8px; }
.pv-tab.is-long b { font-size: 13px; }
.pv-cover { flex: none; position: relative; z-index: 1; display: block; width: 40px; height: 46px; margin-left: 4px; border-radius: 6px; object-fit: cover; }
.pv-cover.none { display: grid; place-items: center; background: var(--hue, #E7E0D1); color: #fff; }
.pv-cover.none .ico { width: 16px; height: 16px; }
.pv-sheet { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 14px; margin-top: 14px; }
/* The sheet that opens on a tap, printed on paper and taped under the map
   (paste/paper.css .cut): cream with print type in both themes. */
.pv-sheet.cut { margin-top: 20px; padding: 16px; }
.pv-sheet.cut .pv-hero { background: var(--well); color: var(--ink3); }
.pv-sheet.cut .tag { background: transparent; color: var(--ink2); box-shadow: none; outline: 1.3px dashed rgba(29,31,34,.5); outline-offset: -1.3px; }
.pv-hero { display: grid; place-items: center; align-content: center; gap: 4px; width: 110px; aspect-ratio: 3 / 4; border-radius: 8px; object-fit: cover; background: var(--well); color: var(--ink3); font-size: 13px; text-align: center; }
.pv-hero .ico { width: 22px; height: 22px; }
.pv-body { min-width: 0; }
.pv-body h3 { margin-top: 8px; font-weight: 800; font-size: 22px; letter-spacing: -.025em; line-height: 1.15; overflow-wrap: anywhere; }
.pv-line { margin-top: 3px; color: var(--ink3); font-size: 14.5px; font-weight: 600; overflow-wrap: anywhere; }
.pv-by { margin-top: 6px; color: var(--ink2); font-size: 14px; font-weight: 650; }
.pv-about { margin-top: 8px; font-size: 15px; color: var(--ink2); overflow-wrap: anywhere; }
.pv-tix { display: flex; gap: 6px; align-items: center; margin-top: 8px; font-size: 14.5px; font-weight: 700; overflow-wrap: anywhere; }
.pv-tix .ico { width: 16px; height: 16px; flex: none; }
.pv-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pv-note { margin-top: 12px; color: var(--ink3); font-size: 13px; }
/* Online, where the map would be: the app's Online section row (OnlineEventsSection). */
.pv-online { padding: 14px 16px 16px; border-radius: 12px; background: var(--well); }
.pv-online-h { display: flex; align-items: center; gap: 6px; color: var(--ink2); font-size: 13.5px; font-weight: 750; }
.pv-online-h .ico { width: 15px; height: 15px; }
.pv-online-row { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; align-items: center; margin-top: 12px; }
.pv-online-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--sheet); color: var(--ink); }
.pv-online-ic .ico { width: 22px; height: 22px; }
.pv-online-t { display: grid; gap: 2px; min-width: 0; }
.pv-online-t b { font-size: 17px; font-weight: 800; letter-spacing: -.015em; overflow-wrap: anywhere; }
.pv-online-t small { color: var(--ink3); font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }

body.post .tag { height: 26px; font-size: 13px; }

/* ── Type scale ─────────────────────────────────────────────────────────────
   /post is a form somebody reads while filling it in, often on a phone in
   the sun, so it reads larger than the operator tools it shares paste/ with.
   Body and fields 17px (16 on a phone, where iOS zooms on anything smaller);
   labels 16px at 700; every hint and helper line 15px in --ink2, never the
   fainter --ink3; the checklist and Send's hint 15.5px; card titles 21px;
   buttons and segment tabs 16px. Only the footer and timestamps stay small.
   Scoped to body.post so the shared kit's own sizes are untouched. */
body.post { --t-body: 17px; --t-field: 17px; --t-label: 16px; --t-help: 15px; --t-check: 15.5px; font-size: var(--t-body); line-height: 1.5; }
body.post :is(.inp, .sel, .area, .cc-trigger) { font-size: var(--t-field); }
body.post .area { line-height: 1.5; }
body.post .lbl { margin-bottom: 8px; font-size: var(--t-label); font-weight: 700; color: var(--ink); }
body.post .lbl .muted { color: var(--ink2); font-weight: 550; }
body.post :is(.hint, .why, .small, .p-mode-why, .p-area-why, .nx-i small, .p-track small, .pv-line, .pv-online-t small, .p-area-now span, .p-online .hint) {
  font-size: var(--t-help); line-height: 1.5; color: var(--ink2);
}
/* Size only where a state sets the colour: a chosen card is ink on ground. */
body.post .p-who-s { font-size: var(--t-help); line-height: 1.5; }
body.post .p-who-opt:not(:has(input:checked)) .p-who-s { color: var(--ink2); }
body.post .p-who-opt:has(input:checked) .p-who-s { color: color-mix(in srgb, var(--ground) 84%, transparent); }
body.post .p-area-stops button { font-size: 14.5px; line-height: 1.45; }
body.post .p-area-stops button:not(.is-on) { color: var(--ink2); }
body.post .tcard.field :is(.why, .hint, .small, .muted) { color: var(--on-field2); }
body.post .tcard :is(h2, h3.t) { font-size: clamp(20px, 1.6vw, 22px); line-height: 1.25; }
body.post .tcard .why { font-size: 15.5px; }
body.post .p-checks li { font-size: var(--t-check); line-height: 1.45; color: var(--ink2); }
body.post .p-checks li.is-done { color: var(--ink); }
body.post .p-hint { font-size: var(--t-check); line-height: 1.5; }
body.post :is(.btn, .btn.lg, .btn.sm, .cx) { font-size: 16px; }
body.post .btn.sm { --bh: 42px; }
body.post .cx { height: 42px; }
body.post :is(.seg, .tabs) > :is(a, button), body.post .p-mode-seg > button, body.post .p-area-seg > button { font-size: 16px; height: 44px; }
body.post .p-who-t { font-size: 17.5px; }
body.post .choice b { font-size: 22px; }
body.post .ticks li { font-size: 16.5px; }
body.post :is(.p-notice, .notice) { font-size: 16px; line-height: 1.5; }
body.post .p-track b, body.post .row b { font-size: 16.5px; }
body.post .nx-i b { font-size: 17.5px; }
body.post .p-area-now b { font-size: 20px; }
body.post .cc-list li { font-size: 16.5px; }
body.post .cc-cal td button { font-size: 15.5px; }
body.post input[type="file"]:not(.sr), body.post input[type="file"]:not(.sr)::file-selector-button { font-size: 16px; }
body.post .who .nm { font-size: 16px; }
body.post .who .nm button { font-size: 14.5px; color: var(--ink2); }
body.post .post-bar .steps li { font-size: 15.5px; }
/* The preview reads like the app's event sheet, a step up with the form. */
body.post .pv-body h3 { font-size: 24px; line-height: 1.2; }
body.post .pv-by { font-size: 15px; color: var(--ink2); }
body.post .pv-about { font-size: 16px; line-height: 1.5; }
body.post .pv-tix { font-size: 16px; }
body.post .pv-hero { font-size: 14px; }
body.post .pv-online-h { font-size: 14.5px; }
body.post .pv-online-t b { font-size: 18.5px; }
body.post .pv-note { font-size: 14px; color: var(--ink2); }
/* The size card, under whose event it is. */
body.post .p-cap { margin-top: 18px; max-width: 320px; }
body.post .p-cap-full { margin-top: 12px; max-width: none; }
.p-cap .notice[hidden] { display: none; }
/* Footer and timestamps: the only lines left at 13 to 14px. */
body.post .row small { font-size: 14px; line-height: 1.45; color: var(--ink2); }
body.post .post-legal { font-size: 13.5px; line-height: 1.5; }

/* ── Narrow ─────────────────────────────────────────────────────────────── */

@media (max-width: 1100px) {
  .post-grid { grid-template-columns: minmax(0, 1fr); }
  .post-side { position: static; }
  .post-bar { flex-wrap: wrap; }
  .post-bar .steps { order: 3; margin: 0; width: 100%; justify-content: center; padding: 4px 0 2px; }
  /* On the check step the preview sits in the form, right above Send. */
  .post-grid[data-step="review"] .p-preview { display: none; }
  .p-inline-preview-card { display: block; }
}
@media (max-width: 720px) {
  .choose, .up-grid, .where, .p-who-opts { grid-template-columns: minmax(0, 1fr); }
  .choice { grid-template-columns: 72px minmax(0, 1fr); }
  .choice .ch-art { width: 72px; }
  .up-grid .drop { min-height: 200px; }
  .reading { grid-template-columns: 110px minmax(0, 1fr); gap: 16px; }
  .rd-art .up-img { width: 110px; }
  .who .avatar, .who .nm-t { display: none; }
  .post-bar .end { gap: 8px; }
  body.post { --t-body: 16px; --t-field: 16px; --t-label: 15.5px; --t-check: 15px; }
  body.post .who .nm button { font-size: 14.5px; }
  body.post .post-bar .steps li { font-size: 15px; gap: 8px; }
  body.post .p-cap { max-width: none; }
  .post-bar .steps li + li::before { width: 22px; margin: 0 10px 0 2px; }
  .send-row { grid-template-columns: auto minmax(0, 1fr); bottom: 10px; padding: 12px; border-radius: 18px; }
  .p-ready { order: -1; grid-column: 1 / -1; padding: 2px 4px; }
  .send-row [data-send] { min-width: 0; width: 100%; }
  .nx { grid-template-columns: 1fr; }
  .nx-i { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 0 12px; }
  .nx-i .art { grid-row: span 2; margin: 0; aspect-ratio: 1; }
}
@media (max-width: 420px) {
  body.post .post-bar .steps li:not([aria-current]) { font-size: 0; gap: 0; }
  .post-bar .steps li:not([aria-current]) i { font-size: 12px; }
  .post-bar .steps li + li::before { width: 18px; margin: 0 8px 0 0; }
  .post-bar .steps li[aria-current] + li::before, .post-bar .steps li.done + li[aria-current]::before { margin-left: 8px; }
  .pv-sheet { grid-template-columns: 84px minmax(0, 1fr); }
  .pv-hero { width: 84px; }
}
