/* My Furry Art order form. Phones first.
   Same colours and type as the main site (site/site.css). Change the variables below to try another look.

   Layout rules that keep every screen inside the phone at any width:
     - decorative shapes live in a fixed, clipped layer (.bg), never in the page's own flow
     - grid columns are minmax(0, 1fr); long words in answers may break anywhere
     - nothing relies on "overflow-x: hidden" on the page */

@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/poppins-700.woff2") format("woff2"); }
/* While Poppins is still downloading, text is drawn in Arial stretched to Poppins' proportions,
   so nothing on the page moves when the real font arrives. */
@font-face { font-family: "Poppins Fallback"; src: local("Arial"); size-adjust: 112.16%; ascent-override: 93.62%; descent-override: 31.21%; line-gap-override: 8.92%; }

:root {
  color-scheme: light;
  --pink: #e05ba2; --pink-strong: #d6006f; --pink-deep: #b0005c; --pink-soft: #fff0f7; --pink-line: #f6cfe3;
  --magenta: #c944b7; --orange: #f17b41; --mint: #e4f6ef;
  --ink: #0c0a0f; --text: #3a3740; --muted: #69656f; --line: #e7e3ed; --tint: #faf8fc;
  --error: #b3261e;
  --r: 20px; --r-sm: 14px; --gut: 20px;
  --shadow: 0 14px 34px rgba(40, 20, 60, 0.1); --shadow-sm: 0 2px 10px rgba(40, 20, 60, 0.06);
  --font: "Poppins", "Poppins Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (max-width: 359px) { :root { --gut: 14px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1.0625rem/1.55 var(--font); color: var(--text); background: #fff; min-height: 100dvh; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea { font: inherit; color: inherit; }
a { color: var(--pink-deep); text-underline-offset: 3px; }
h1, h2 { color: var(--ink); margin: 0; line-height: 1.2; text-wrap: balance; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.45rem, 5vw, 2rem); font-weight: 700; }
h1:focus { outline: none; }
p { margin: 0; }
/* No last line of one lonely word, where the browser knows how to avoid it. */
p, li, .opt-desc, .f-help, .size-says { text-wrap: pretty; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--pink-strong); outline-offset: 3px; border-radius: 8px; }
.muted { color: var(--muted); }
/* What is marked hidden is hidden, whatever its own rule says about how it is laid out. (A question's box is a grid,
   and a grid wins over the browser's own rule for "hidden": the day that is only asked of somebody who chose Priority
   was marked hidden and shown to everybody. The owner, 1 Dec 2026: "Which date shouldn't be shown unless they have
   chosen priority".) */
[hidden] { display: none !important; }
.center { text-align: center; }

/* soft shapes behind everything */
.bg { position: fixed; inset: 0; overflow: hidden; z-index: -1; pointer-events: none; }
.bg i { position: absolute; display: block; }
.bg i:first-child { width: 70vmax; height: 70vmax; right: -34vmax; top: -34vmax; background: var(--mint); border-radius: 43% 57% 62% 38% / 48% 41% 59% 52%; }
.bg i:last-child { width: 46vmax; height: 46vmax; left: -26vmax; bottom: -24vmax; background: var(--pink-soft); border-radius: 58% 42% 44% 56% / 52% 58% 42% 48%; }

/* ---------- the welcome: one calm screen before the first question ---------- */
.stage:has(.welcome) { max-width: 600px; }
.screen.welcome { justify-items: center; gap: 14px; text-align: center; }
.welcome > * { min-width: 0; max-width: 100%; }
.welcome-art { width: auto; height: clamp(96px, 19vh, 176px); }
.welcome h1 { font-size: clamp(1.5rem, 6vw, 2.2rem); max-width: 15em; }
.welcome-note { width: 100%; display: grid; gap: 12px; padding: 14px 16px 16px; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 6px var(--r) var(--r) var(--r); box-shadow: var(--shadow-sm); }
.welcome-lead { color: var(--ink); line-height: 1.5; }
.welcome-lead b { display: block; margin-bottom: 2px; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--pink-deep); }
.welcome-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.welcome-points li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: center; font-size: 0.94rem; line-height: 1.45; }
.welcome-points strong { color: var(--ink); }
.welcome-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--pink-soft); color: var(--pink-deep); }
.welcome-icon svg { width: 18px; height: 18px; }
.welcome-cta { position: sticky; bottom: 0; z-index: 2; width: 100%; display: grid; justify-items: center; padding: 10px 0 max(10px, env(safe-area-inset-bottom)); }
/* On a phone the words fade out behind the waiting button. The fade runs from edge to edge of the screen: stopping at
   the page's own margins, it showed as a pale box over the coloured shape behind. */
@media (max-width: 699px) {
  /* Solid white behind the button and under it, and a fade above it that is tall enough for a line of words to
     fade out in: with a short fade, a line was simply cut in half by the button. */
  .welcome-cta { width: auto; max-width: none; justify-self: stretch; margin: 0 calc(-1 * var(--gut)); padding: 26px var(--gut) max(10px, env(safe-area-inset-bottom)); background: linear-gradient(to top, #fff calc(100% - 26px), rgba(255, 255, 255, 0)); }
  .screen.welcome > .welcome-note { margin-bottom: -12px; }
}
/* A short phone (an iPhone SE held upright): a smaller mascot, so that the first words of the note are in sight. */
@media (max-height: 620px) and (max-width: 699px) {
  .welcome-art { height: 76px; }
  .screen.welcome { gap: 10px; }
}
.welcome-go { width: 100%; max-width: 380px; min-height: 58px; font-size: 1.1rem; }
.faq-fold { width: 100%; margin-top: 6px; text-align: left; border-top: 1px solid var(--line); }
.faq-fold > summary { list-style: none; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; font-size: 0.95rem; font-weight: 600; color: var(--pink-deep); cursor: pointer; }
.faq-fold > summary::-webkit-details-marker { display: none; }
.faq-fold > summary::after { content: "+"; font-size: 1.3rem; font-weight: 400; transition: transform 0.2s; }
.faq-fold[open] > summary::after { transform: rotate(45deg); }
.faq-fold .op-faq { margin-top: 0; padding-top: 0; border-top: 0; }
.welcome-ask { padding: 4px 0 8px; }

/* ---------- "Your details": the choices about the whole order ---------- */
/* Each is a card of its own, named by its question. A question that only follows from the one above it (the day,
   once they have said yes to a date) is set off by a line, so that it reads as a part of that answer. */
.about .field + .field { padding-top: 14px; border-top: 1px solid var(--line); }
/* On these two screens an answer is its name with its price beside it, and under both, across the whole row, what
   it means. (With the price standing beside the words, the words had half the row and ran to five lines.) */
.about .opt-body, .pay-choose .opt-body { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 12px; }
.about .opt-text, .pay-choose .opt-text { display: contents; }
.about .opt-name, .pay-choose .opt-name { grid-area: 1 / 1; }
.about .price, .pay-choose .price { grid-area: 1 / 2; }
.about .opt-desc, .pay-choose .opt-desc { grid-area: 2 / 1 / 3 / 3; }

/* ---------- top ---------- */
.test-banner { background: #fff4d6; color: #5a4100; font-size: 0.8rem; line-height: 1.35; text-align: center; padding: 6px var(--gut); }
/* Plain white, not frosted glass. Both bars stay on screen while the page scrolls, and blurring what is behind them
   on every frame is the dearest thing a browser can be asked for: on a tired computer the form "lagged" (the studio's
   admin, 28 Nov 2026), for an effect nobody could see through 94% white. */
.top { position: sticky; top: 0; z-index: 20; background: #fff; }
.top-in { max-width: 1120px; margin: 0 auto; padding: 6px var(--gut); padding-top: max(6px, env(safe-area-inset-top)); min-height: 56px; display: flex; align-items: center; gap: 12px; }
.logo { height: 26px; width: auto; flex: none; }
@media (max-width: 519px) { .where-name { display: none; } }
.where { flex: 1; min-width: 0; text-align: right; font-size: 0.82rem; font-weight: 600; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.linkbtn { flex: none; background: none; border: 0; padding: 10px 2px; min-height: 44px; font-size: 0.85rem; font-weight: 600; color: var(--pink-deep); cursor: pointer; white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; }
.progress { height: 5px; background: #f1eef5; }
.progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--orange), var(--magenta)); border-radius: 0 99px 99px 0; transition: width 0.35s ease; }

/* ---------- page ---------- */
.layout { max-width: 1120px; margin: 0 auto; padding: 20px var(--gut) 32px; display: grid; gap: 28px; }
body.has-bar .layout { padding-bottom: calc(104px + env(safe-area-inset-bottom)); }
.stage { min-width: 0; width: 100%; max-width: 680px; margin-inline: auto; }
.stage:has(.chooser) { max-width: 940px; }
.aside { display: none; }
@media (min-width: 1000px) {
  .layout.with-aside { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
  .layout.with-aside .stage { max-width: none; margin-inline: 0; }
  .aside:not([hidden]) { display: grid; gap: 14px; position: sticky; top: 84px; }
  /* The order card beside the questions already shows the total, so the strip does not repeat it. */
  .bar-total { visibility: hidden; }
}
.linkbtn.quiet { color: var(--muted); font-weight: 500; }
.screen { display: grid; gap: 16px; min-width: 0; }
.screen.enter { animation: enter 0.28s ease both; }
@keyframes enter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Archie says */
.say { display: flex; align-items: flex-start; gap: 12px; }
.say-face { width: 48px; height: 48px; border-radius: 50%; flex: none; background: var(--mint); }
.say-text { min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 4px 18px 18px 18px; padding: 12px 16px; box-shadow: var(--shadow-sm); font-size: 0.98rem; line-height: 1.5; color: var(--ink); overflow-wrap: anywhere; }
.say-text b { display: block; margin-bottom: 2px; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--pink-deep); }

/* ---------- a question ---------- */
.fields { display: grid; gap: 14px; min-width: 0; }
.field { margin: 0; min-width: 0; display: grid; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px; transition: border-color 0.15s, background 0.15s; }
fieldset.field > legend { float: left; width: 100%; padding: 0; }
fieldset.field > legend + * { clear: both; }
.field.appear { animation: appear 0.25s ease both; }
@keyframes appear { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.field.invalid { border-color: #e8a09a; background: #fffafa; }
.f-label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; font-size: 1.05rem; font-weight: 600; line-height: 1.35; color: var(--ink); white-space: pre-line; overflow-wrap: anywhere; }
.f-opt { font-size: 0.72rem; font-weight: 600; color: var(--muted); background: var(--tint); border: 1px solid var(--line); border-radius: 99px; padding: 1px 8px; white-space: nowrap; }
.saletag { font-size: 0.72rem; font-weight: 700; color: var(--pink-deep); background: var(--pink-soft); border-radius: 99px; padding: 2px 9px; white-space: nowrap; }
.f-help { font-size: 0.9rem; line-height: 1.45; color: var(--muted); white-space: pre-line; overflow-wrap: anywhere; }
.f-err { color: var(--error); font-weight: 600; font-size: 0.92rem; }
.control { display: grid; gap: 10px; min-width: 0; }
input[type="text"], input[type="email"], input[type="date"], textarea { width: 100%; padding: 13px 14px; font-size: 1.0625rem; line-height: 1.45; border: 2px solid var(--line); border-radius: var(--r-sm); background: #fff; transition: border-color 0.15s, box-shadow 0.15s; }
textarea { resize: vertical; min-height: 104px; }
textarea.small { min-height: 72px; }
input::placeholder, textarea::placeholder { color: #a7a3b0; }
input[type="text"]:focus, input[type="email"]:focus, input[type="date"]:focus, textarea:focus { outline: none; border-color: var(--pink-strong); box-shadow: 0 0 0 4px var(--pink-soft); }
.field.invalid input[type="text"], .field.invalid input[type="email"], .field.invalid input[type="date"], .field.invalid textarea { border-color: #e8a09a; }
/* A day: the phone's or the browser's own calendar, in a box like every other. (iPhones give it a height of its own unless told.) */
input[type="date"] { min-height: 54px; font-family: inherit; color: var(--ink); -webkit-appearance: none; appearance: none; text-align: left; }
input[type="date"]::-webkit-date-and-time-value { text-align: left; }
/* What is said under the address on the last screen: that the order is saved under it. */
.draft-note { margin-top: -4px; }

/* things to tap instead of type */
.hints { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.hints-label { font-size: 0.8rem; font-weight: 600; color: var(--muted); margin-right: 2px; }
.hints:has(.chip:nth-of-type(8)) .hints-label { flex-basis: 100%; }
.chip { min-height: 40px; padding: 6px 14px; border-radius: 99px; border: 1.5px solid var(--line); background: #fff; font-size: 0.9rem; font-weight: 600; color: var(--ink); cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.chip::before { content: "+ "; color: var(--pink-strong); }
.chip:hover { border-color: var(--pink); }
.chip[aria-pressed="true"] { background: var(--pink-soft); border-color: var(--pink-strong); color: var(--pink-deep); }
.chip[aria-pressed="true"]::before { content: "✓ "; }
.picked { font-size: 0.85rem; font-weight: 600; color: var(--pink-deep); }
.picked.over { color: #8a4b00; background: #fff6e5; border-radius: 10px; padding: 8px 12px; font-weight: 500; }
.picked:empty, .tip:empty { display: none; }
.tip { font-size: 0.88rem; line-height: 1.45; color: var(--muted); }
.tip-btn { max-width: 100%; min-height: 44px; padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--pink-line); background: var(--pink-soft); color: var(--pink-deep); font-size: 0.92rem; font-weight: 600; text-align: left; overflow-wrap: anywhere; cursor: pointer; }

/* choices */
.opts { display: grid; gap: 8px; }
/* Short answers with no price ("No / Maybe a bit risqué / Yes") sit side by side once there is room for all of them. */
@media (min-width: 600px) { .opts.compact { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); } }
.f-lead { font-weight: 600; color: var(--ink); }
.opt { position: relative; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 12px 14px; border: 2px solid var(--line); border-radius: var(--r-sm); background: #fff; cursor: pointer; transition: border-color 0.15s, background 0.15s, transform 0.1s; }
.opt:hover { border-color: var(--pink); }
.opt:active { transform: scale(0.99); }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #c9c4d3; background: #fff; }
.opt:has(input:checked) { border-color: var(--pink-strong); background: var(--pink-soft); }
.opt:has(input:checked)::before { border-color: var(--pink-strong); background: radial-gradient(circle, var(--pink-strong) 0 42%, #fff 46%); }
.opt:has(input:focus-visible) { outline: 3px solid var(--pink-strong); outline-offset: 3px; }
.opt-body { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.opt-text { display: flex; flex-direction: column; min-width: 0; }
.opt-name { font-weight: 600; line-height: 1.3; color: var(--ink); overflow-wrap: anywhere; }
.opt-desc { font-size: 0.86rem; color: var(--muted); }
.price { display: flex; flex-direction: column; align-items: flex-end; flex: none; line-height: 1.2; white-space: nowrap; }
.price strong { font-size: 1.1rem; font-weight: 700; color: var(--pink-deep); }
.price s { font-size: 0.8rem; color: var(--muted); }
.price small { font-size: 0.72rem; font-weight: 600; color: var(--muted); }
.price.quote, .price.free { font-size: 0.86rem; color: var(--muted); }
/* On the narrowest phones "Custom quote" goes on two lines, so the option's name keeps its room. */
@media (max-width: 379px) { .price.quote { white-space: normal; max-width: 4.4em; text-align: right; } }
.pics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pics .opt { flex-direction: column; align-items: stretch; gap: 8px; padding: 10px; }
/* On a picture, the round mark gets a white ring and a soft shadow so it stands clear of the artwork. */
.pics .opt::before { position: absolute; top: 14px; left: 14px; z-index: 1; box-shadow: 0 0 0 3px #fff, 0 1px 6px rgba(0, 0, 0, 0.25); }
.opt-img { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 10px; background: var(--tint); }
.pics .opt-body { flex-direction: column; text-align: center; gap: 2px; }
.pics .opt-text { align-items: center; }
.pics .price { flex-direction: row; align-items: baseline; gap: 6px; }

/* a tick box */
.check { position: relative; display: flex; align-items: flex-start; gap: 12px; min-height: 44px; padding: 6px 0; cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check-box { flex: none; width: 26px; height: 26px; margin-top: 1px; border-radius: 8px; border: 2px solid #c9c4d3; background: #fff; display: grid; place-items: center; transition: background 0.15s, border-color 0.15s; }
.check input:checked + .check-box { background: var(--pink-strong); border-color: var(--pink-strong); }
.check input:checked + .check-box::after { content: "✓"; color: #fff; font-weight: 700; font-size: 15px; line-height: 1; }
.check input:focus-visible + .check-box { outline: 3px solid var(--pink-strong); outline-offset: 3px; }
.check-text { font-weight: 600; line-height: 1.45; color: var(--ink); }
.field.kind-age_gate { background: #fffaf0; border-color: #f0dcae; }
.field.kind-age_gate.invalid, .field.kind-legal.invalid { background: #fffafa; border-color: #e8a09a; }

/* uploads */
.dropzone { display: flex; align-items: center; gap: 14px; padding: 14px; border: 2px dashed #cfc9d9; border-radius: var(--r-sm); background: #fff; cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.dropzone:hover, .dropzone.over { border-color: var(--pink-strong); background: var(--pink-soft); }
.upload input:focus-visible + .dropzone { outline: 3px solid var(--pink-strong); outline-offset: 3px; }
.drop-plus { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--pink-soft); color: var(--pink-deep); display: grid; place-items: center; font-size: 1.6rem; font-weight: 600; line-height: 1; }
.dropzone strong { display: block; color: var(--ink); }
.dropzone small { display: block; font-size: 0.84rem; color: var(--muted); }
.upload { display: grid; gap: 10px; min-width: 0; }
.files { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.file { display: flex; align-items: center; gap: 12px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: #fff; min-width: 0; }
.file.failed { border-color: #f1b8b3; background: #fff6f5; }
.thumb { flex: none; width: 48px; height: 48px; border-radius: 8px; object-fit: cover; background: var(--tint); }
.thumb.doc { display: grid; place-items: center; font-size: 0.75rem; font-weight: 700; color: var(--muted); }
.file-name { flex: 1; min-width: 0; font-size: 0.94rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-name small { display: block; font-size: 0.8rem; color: var(--muted); white-space: normal; }
.file-name .file-error { color: var(--error); }
.file-name progress { display: block; width: 100%; height: 6px; margin-top: 6px; accent-color: var(--pink-strong); }
.remove { flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; color: var(--muted); font-size: 1rem; cursor: pointer; }
.remove:hover { background: var(--tint); color: var(--ink); }

/* example artwork */
.examples { min-width: 0; }
.examples h2 { margin: 4px 0 8px; font-size: 0.9rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.strip { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 10px; scrollbar-width: thin; }
.example { flex: none; width: min(56vw, 220px); padding: 0; border: 0; background: none; text-align: left; cursor: zoom-in; scroll-snap-align: start; }
.example img { width: 100%; height: 160px; object-fit: contain; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--tint); }
.example span { display: block; padding: 4px 2px 0; font-size: 0.82rem; color: var(--muted); }
.lightbox { border: 0; border-radius: 18px; padding: 14px; max-width: min(94vw, 760px); box-shadow: var(--shadow); text-align: center; }
.lightbox::backdrop { background: rgba(20, 10, 30, 0.7); }
.lightbox img { max-height: 72vh; width: auto; margin: 0 auto; border-radius: 10px; }
.lightbox p { margin: 10px 0; font-size: 0.9rem; color: var(--muted); }

/* ---------- buttons and the bottom strip ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 10px 24px; border-radius: 99px; border: 2px solid transparent; font-size: 1rem; font-weight: 700; line-height: 1.2; text-align: center; cursor: pointer; transition: background 0.15s, border-color 0.15s, transform 0.1s; }
.btn:active { transform: scale(0.98); }
.btn.primary { background: var(--pink-strong); color: #fff; box-shadow: 0 8px 20px rgba(214, 0, 111, 0.22); }
.btn.primary:hover { background: var(--pink-deep); }
.btn.ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--pink); }
.btn:disabled { opacity: 0.65; cursor: progress; }
.btn.busy::after { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: #fff; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.bar[hidden] { display: none; }
.bar-in { max-width: 1120px; margin: 0 auto; padding: 10px var(--gut); display: flex; align-items: center; gap: 10px; }
.bar .btn { min-height: 50px; padding: 8px 18px; }
.bar .btn.primary { padding-inline: 26px; }
.bar-total { flex: 1; min-width: 0; text-align: center; }
.sum { display: block; font-size: 0.8rem; line-height: 1.25; color: var(--muted); }
.sum strong { display: block; font-size: 1.2rem; font-weight: 700; color: var(--ink); }

/* ---------- picking a service ---------- */
.chooser-head { display: flex; align-items: center; gap: 14px; }
.chooser-art { flex: none; width: clamp(84px, 24vw, 150px); }
.chooser h1 { font-size: clamp(1.45rem, 5.4vw, 2.3rem); }
.sale-banner { display: inline-block; margin-top: 10px; padding: 5px 14px; border-radius: 99px; background: var(--pink-soft); color: var(--pink-deep); font-size: 0.9rem; font-weight: 700; }
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 700px) { .services { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } }
.service { min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 10px 14px; border: 2px solid var(--line); border-radius: var(--r); background: #fff; text-align: center; cursor: pointer; box-shadow: var(--shadow-sm); transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s; }
.service:hover { border-color: var(--pink); transform: translateY(-3px); box-shadow: var(--shadow); }
.service.chosen { border-color: var(--pink-strong); background: var(--pink-soft); }
.service-img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.service-name { font-weight: 600; line-height: 1.25; color: var(--ink); }
/* Two cards share a row on phones: names keep room for two lines, so the prices under them line up. */
@media (max-width: 699px) { .service-name { min-height: 2.5em; display: flex; align-items: center; } }
.service-from { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 8px; font-size: 0.88rem; color: var(--muted); }
.service-from strong { color: var(--ink); font-size: 1.02rem; }

/* ---------- cards: the order, the last screen ---------- */
.card { min-width: 0; display: grid; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px; box-shadow: var(--shadow-sm); }
.card h2 { font-size: 1.1rem; letter-spacing: 0; }
.card .field { border: 0; border-radius: 0; padding: 0; background: none; }
.eyebrow { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pink-deep); }
.order-head { display: flex; align-items: center; gap: 12px; min-width: 0; }
.order-thumb { flex: none; width: 56px; height: 56px; border-radius: 12px; object-fit: contain; background: var(--tint); }
.order-head strong { display: block; color: var(--ink); line-height: 1.3; }
.order-head span { display: block; font-size: 0.9rem; color: var(--muted); overflow-wrap: anywhere; }
.order-lines ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.order-lines li, .order-sum { display: flex; justify-content: space-between; gap: 12px; }
.order-lines li span { min-width: 0; }
.order-lines li strong { font-weight: 600; white-space: nowrap; color: var(--ink); }
.order-sum { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 1.15rem; }
.order-sum strong { font-weight: 700; color: var(--pink-deep); }
.order-note { margin-top: 8px; font-size: 0.92rem; }
.promises { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 0.84rem; font-weight: 600; color: var(--ink); }
.promises li::before { content: "✓ "; color: var(--pink-strong); }
.side-quote { margin: 0; padding: 16px 18px; border-radius: var(--r); background: var(--pink-soft); }
.side-quote .eyebrow { margin: 0 0 6px; }
.side-quote blockquote { margin: 0; font-size: 0.92rem; line-height: 1.55; color: var(--ink); quotes: "\201C" "\201D"; }
.side-quote blockquote::before { content: open-quote; }
.side-quote blockquote::after { content: close-quote; }
.side-quote figcaption { margin-top: 8px; font-size: 0.8rem; color: var(--muted); }
.review { border-top: 1px solid var(--line); }
.review summary { list-style: none; display: flex; align-items: center; justify-content: space-between; min-height: 48px; font-weight: 600; color: var(--pink-deep); cursor: pointer; }
.review summary::-webkit-details-marker { display: none; }
.review summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; transition: transform 0.2s; }
.review[open] summary::after { transform: rotate(45deg); }
.review-group { padding: 10px 0; border-top: 1px solid var(--line); }
.review-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.review dl { margin: 0; }
.review dt { margin-top: 8px; font-size: 0.8rem; color: var(--muted); }
.review dd { margin: 0; color: var(--ink); white-space: pre-line; overflow-wrap: anywhere; }
.review dd.empty { color: #a7a3b0; }
.btn.pay { min-height: 64px; width: 100%; padding: 10px 26px; font-size: 1.12rem; justify-content: space-between; text-align: left; }
.pay-label { display: grid; line-height: 1.2; }
/* Full white: at 92% it fell just short of the contrast a small label needs on this pink. */
.pay-label small { font-size: 0.78rem; font-weight: 600; }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.field.kind-legal { gap: 6px; }
.field.kind-legal .f-help { font-size: 0.84rem; padding-left: 38px; }
.btn.pay:not(:has(strong)) { justify-content: center; }
.btn.pay strong { font-size: 1.25rem; white-space: nowrap; }
.btn.chat { width: 100%; min-height: 54px; }
.pay-methods, .guarantee { font-size: 0.85rem; line-height: 1.45; color: var(--muted); text-align: center; }
.error { color: var(--error); font-weight: 600; }
.notice { padding: 12px 14px; border-radius: 12px; background: var(--mint); color: #114b3a; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.turnstile:empty { display: none; }

/* ---------- endings ---------- */
.done { justify-items: center; text-align: center; padding-top: 12px; }
.done .btn { width: 100%; max-width: 420px; }
.hero { width: min(56vw, 240px); }
.spinner { width: 44px; height: 44px; margin-top: 40px; border-radius: 50%; border: 4px solid var(--pink-soft); border-top-color: var(--pink-strong); animation: spin 0.8s linear infinite; }

@media (max-width: 399px) {
  .field, .card { padding: 14px; }
  .bar .btn { padding-inline: 14px; }
  .bar .btn.primary { padding-inline: 20px; }
}
@media (min-width: 700px) {
  .layout { padding-top: 32px; }
  .pics { gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- the reference sheet builder ---------- */
.multi { display: grid; gap: 10px; min-width: 0; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 600px) { .tiles { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); } }
.tile { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 96px; padding: 10px 6px 9px; border: 2px solid var(--line); border-radius: var(--r-sm); background: #fff; text-align: center; cursor: pointer; transition: border-color 0.15s, background 0.15s, transform 0.1s; }
.tile:hover { border-color: var(--pink); }
.tile:active { transform: scale(0.98); }
.tile input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tile::after { content: "✓"; position: absolute; top: 6px; right: 6px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff; background: var(--pink-strong); transform: scale(0); transition: transform 0.12s; }
.tile:has(input:checked) { border-color: var(--pink-strong); background: var(--pink-soft); }
.tile:has(input:checked)::after { transform: scale(1); }
.tile:has(input:focus-visible) { outline: 3px solid var(--pink-strong); outline-offset: 3px; }
.tile-art { display: block; width: 34px; height: 34px; color: #b9b2c6; flex: none; }
.tile-art.tall { width: 38px; height: 57px; }
.tile:has(input:checked) .tile-art { color: var(--pink-strong); }
.tile-name { font-weight: 600; font-size: 0.9rem; line-height: 1.25; color: var(--ink); overflow-wrap: anywhere; }
.tile-note { font-size: 0.74rem; line-height: 1.3; color: var(--muted); }
.tiles-rule { font-size: 0.86rem; color: var(--muted); }
.unit strong { color: var(--pink-deep); font-weight: 700; }
.unit s { margin-left: 5px; font-size: 0.8rem; }
.tiles-sum { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; font-size: 0.92rem; color: var(--text); }
.tiles-sum strong { color: var(--ink); }
.tiles-amount { margin-left: auto; font-weight: 700; font-size: 1.05rem; color: var(--pink-deep); }

/* The ready-made sheets, biggest first. On a phone each is a row: its picture, what it is, what it costs.
   From 700px they sit side by side. */
.sizes { display: grid; gap: 10px; }
.sizes-label { font-size: 0.92rem; font-weight: 600; color: var(--ink); }
.sizes-row { display: grid; gap: 12px; }
.size { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr); grid-template-areas: "pic text" "pic cost"; align-items: center; column-gap: 12px; row-gap: 2px; min-height: 92px; padding: 10px 12px 10px 10px; font: inherit; border: 2px solid var(--line); border-radius: var(--r-sm); background: #fff; cursor: pointer; text-align: left; transition: border-color 0.15s, background 0.15s; }
.size:hover { border-color: var(--pink); }
.size.on { border-color: var(--pink-strong); background: var(--pink-soft); }
/* The chosen sheet says so with a tick, like a chosen pose: never by colour alone. */
.size::after { content: "✓"; position: absolute; top: 6px; right: 6px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff; background: var(--pink-strong); transform: scale(0); transition: transform 0.12s; }
.size.on::after { transform: scale(1); }
.size-img { grid-area: pic; width: 96px; aspect-ratio: 4 / 3; object-fit: contain; border-radius: 8px; background: var(--tint); }
.size-text { grid-area: text; align-self: end; display: grid; gap: 1px; min-width: 0; }
.size-name { font-weight: 700; font-size: 1rem; line-height: 1.25; color: var(--ink); }
.size-what { font-size: 0.82rem; font-weight: 600; line-height: 1.3; color: var(--text); }
.size-says { font-size: 0.8rem; line-height: 1.35; color: var(--muted); }
.size-cost { grid-area: cost; align-self: start; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; min-width: 0; }
.size-price { font-weight: 700; font-size: 1.1rem; color: var(--pink-deep); }
.size-today { font-size: 0.78rem; color: var(--muted); white-space: nowrap; }
.size-tag { display: none; position: absolute; top: -11px; left: 12px; padding: 1px 9px; border-radius: 99px; background: var(--pink-strong); color: #fff; font-size: 0.68rem; font-weight: 700; white-space: nowrap; }
.size.suggested .size-tag { display: block; }
.sizes-tip { color: var(--text); }
.sizes-own { font-size: 0.9rem; line-height: 1.45; color: var(--text); margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--line); }
@media (max-width: 359px) { .size { grid-template-columns: 76px minmax(0, 1fr); column-gap: 10px; } .size-img { width: 76px; } }
@media (min-width: 700px) {
  .sizes-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .size { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto; grid-template-areas: "pic" "text" "cost"; justify-items: center; row-gap: 6px; padding: 10px 10px 12px; text-align: center; }
  .size-img { width: 100%; }
  .size-text { align-self: start; justify-items: center; }
  .size-cost { justify-content: center; align-self: end; }
  .size-tag { left: 50%; transform: translateX(-50%); }
}

/* under the extras: what the next one costs, and what every sheet comes with at no cost
   (a diagram of the sheet stood here until 27 Nov 2026; its rules went on 1 Dec) */
.sheet { display: grid; gap: 8px; margin-top: 6px; min-width: 0; }
.sheet-cap { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--pink-deep); }
.sheet-nudge { font-size: 0.88rem; line-height: 1.45; color: #0a7a4b; background: #eaf7f0; border-radius: 10px; padding: 8px 12px; }
.sheet-nudge:empty { display: none; }
.sheet-incl { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 0.82rem; color: var(--muted); }
.sheet-incl li::before { content: "✓ "; color: var(--pink-strong); font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .tile::after { transition: none; } }

/* quick, low-stakes choices as a row of small rounded buttons */
.opts.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.opts.pills .opt { min-height: 44px; padding: 8px 16px; border-radius: 99px; }
.opts.pills .opt::before { display: none; }
.opts.pills .opt-name { font-size: 0.94rem; }

/* ---------- the thank-you screen is a receipt ---------- */
.muted.small, .small { font-size: 0.86rem; line-height: 1.5; }
.screen.done .card { width: 100%; text-align: left; }
.receipt-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.receipt-ref { display: block; font-size: 1.15rem; letter-spacing: 0.02em; color: var(--ink); overflow-wrap: anywhere; }
.pill { flex: none; padding: 4px 12px; border-radius: 99px; font-size: 0.8rem; font-weight: 700; white-space: nowrap; }
.pill.ok { background: #eaf7f0; color: #0a6b42; }
.pill.wait { background: #fff6e5; color: #8a4b00; }
.receipt-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.receipt-lines li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.receipt-lines li span { min-width: 0; overflow-wrap: anywhere; }
.receipt-lines li strong { flex: none; color: var(--ink); }
.next-steps { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.next-steps li { padding-left: 2px; }
.next-steps li::marker { font-weight: 700; color: var(--pink-strong); }
/* a long email address must wrap inside the card, not widen it */
.screen.done > * { min-width: 0; max-width: 100%; }
.screen.done .card { overflow-wrap: anywhere; }
.screen.done .hero { max-width: min(200px, 44vw); }

/* ---------- the customer's order page (/o/...) ---------- */
.order-page .stage { max-width: 620px; }
.op { gap: 16px; }
.op-head { display: grid; gap: 6px; }
.op-head.center, .center { text-align: center; }
.op-hero { justify-self: center; width: min(34vw, 150px); height: auto; }
/* Where the order stands: a row of steps joined by a line. */
.op-track { list-style: none; margin: 4px 0 6px; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.op-track li { position: relative; display: grid; justify-items: center; align-content: start; gap: 6px; font-size: 0.72rem; font-weight: 600; line-height: 1.2; text-align: center; color: var(--muted); }
.op-track li::before { content: ""; position: absolute; top: 9px; right: 50%; width: 100%; height: 2px; background: var(--line); }
.op-track li:first-child::before { display: none; }
.op-track i { position: relative; z-index: 1; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--line); }
.op-track li.is-done, .op-track li.is-now { color: var(--ink); }
.op-track li.is-done::before, .op-track li.is-now::before { background: var(--pink-strong); }
.op-track li.is-done i { background: var(--pink-strong); border-color: var(--pink-strong); }
.op-track li.is-done i::after { content: ""; position: absolute; left: 5px; top: 1.5px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.op-track li.is-now i { border-color: var(--pink-strong); box-shadow: 0 0 0 4px var(--pink-soft); }
.op-track li.is-now i::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--pink-strong); }
.pill.off { background: #efedf2; color: #55515c; }
.op-track li > span { padding: 0 2px; }
.op-track.five li { font-size: 0.68rem; }
@media (max-width: 359px) { .op-track li, .op-track.five li { font-size: 0.62rem; letter-spacing: -0.01em; } }
/* A badge that is also the shortcut to the pay button is big enough to tap. */
a.pill { text-decoration: none; display: inline-flex; align-items: center; min-height: 40px; padding: 4px 16px; }
.op .receipt-lines small { text-wrap: pretty; }
a.btn { text-decoration: none; }

/* The order number never breaks in two: on a narrow phone the badge drops under it instead. */
.order-page .receipt-head { flex-wrap: wrap; gap: 6px 12px; }
.order-page .receipt-ref { white-space: nowrap; overflow-wrap: normal; }
/* A message about what the customer just did sits inside the card it is about, and stands out from the page behind it. */
.order-page .notice { background: #f1fbf6; border: 1px solid #a9dcc8; }
.order-page .notice.bad { background: #fdecea; border-color: #f0b8b1; }
/* A jump from a button lands with the card clear of the sticky header. */
.order-page #pay, .order-page #updates, .order-page #note { scroll-margin-top: 72px; }
/* The mint shape stays off the words: beside the column on a wide screen, gone on a phone. */
@media (min-width: 700px) { .order-page .bg i:first-child { right: auto; left: calc(50% + 334px); } }
@media (max-width: 699px) { .order-page .bg i:first-child { display: none; } }
/* The header lines up with the column of cards. */
.order-page .top-in { max-width: 660px; }
.order-page .pay-methods, .order-page .guarantee, .order-page .op-head p, .op-half > span { text-wrap: balance; }
@media (max-width: 359px) { .op-half { padding-inline: 14px; } }
@media (min-width: 600px) { .op-remind-row input[type="date"] { flex: 0 1 220px; } }
.op-message textarea { resize: none; }
.op-why { padding: 10px 12px; border-radius: var(--r-sm); background: var(--tint); font-size: 0.95rem; line-height: 1.45; color: var(--text); }
.op-why b { color: var(--ink); }
.order-page .card.next .btn { justify-self: start; }
.op .receipt-lines li span { display: grid; gap: 2px; }
.op .receipt-lines small { font-size: 0.8rem; line-height: 1.4; color: var(--pink-deep); }
.op .receipt-lines s { margin-left: 6px; font-size: 0.82rem; font-weight: 400; color: var(--muted); }
.op-row { display: flex; justify-content: space-between; gap: 12px; color: var(--text); }
.op-row strong { color: var(--ink); }
.op-row.due { font-size: 1.1rem; font-weight: 600; color: var(--ink); }
.op-row.due strong { color: var(--pink-deep); }
.pill.part { background: #e8f0ff; color: #1d4a9c; }
.op-pay { gap: 10px; }
.op-pay form { display: grid; }
.op-big { font-size: 1.1rem; font-weight: 600; color: var(--ink); }
.op-half { min-height: 58px; display: grid; gap: 1px; justify-items: center; line-height: 1.25; }
.op-half small { font-size: 0.78rem; font-weight: 400; color: var(--muted); }
.op-later { display: grid; gap: 8px; margin-top: 4px; padding-top: 14px; border-top: 1px solid var(--line); }
.op-later-title { font-weight: 600; color: var(--ink); }
.op-later .linkbtn { justify-self: start; }
.op-remind { display: grid; gap: 8px; margin-top: 2px; font-size: 0.94rem; }
.op-remind label { font-weight: 600; color: var(--ink); }
.op-remind-row { display: flex; gap: 8px; flex-wrap: wrap; }
.op-remind-row input[type="date"] { flex: 1 1 150px; min-width: 0; min-height: 52px; padding: 10px 12px; font: inherit; border: 2px solid var(--line); border-radius: var(--r-sm); background: #fff; }
.op-remind-row input[type="date"]:focus { outline: none; border-color: var(--pink-strong); box-shadow: 0 0 0 4px var(--pink-soft); }
.op-remind-row .btn { flex: none; }
.op-note { padding: 12px 14px; border-radius: 4px 18px 18px 18px; background: var(--pink-soft); color: var(--ink); overflow-wrap: anywhere; white-space: pre-line; }
.op-note b { display: block; margin-bottom: 2px; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--pink-deep); }
.op-updates { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.op-updates li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 10px; font-size: 0.94rem; line-height: 1.45; overflow-wrap: anywhere; white-space: pre-line; }
.op-updates time { font-size: 0.8rem; color: var(--muted); padding-top: 2px; }
.op-updates li.mine span { padding: 8px 12px; border-radius: 14px 14px 4px 14px; background: var(--tint); }
.op-details { border-top: 0; }
.op-details summary { min-height: 44px; }
.order-page .card:has(> .op-details) { padding-top: 8px; padding-bottom: 8px; }
.order-page .top a { display: inline-flex; align-items: center; min-height: 44px; }
.op-message { display: grid; gap: 10px; }
.op-message .btn { justify-self: start; }
.notice.bad { background: #fdecea; color: #8a1c13; }
/* The way back to an order already sent from this device, on the form's first screens. */
.last-order { display: flex; flex-wrap: wrap; gap: 2px 14px; align-items: baseline; justify-content: space-between; margin: 0 0 4px; }
.last-order { align-items: center; padding-top: 4px; padding-bottom: 4px; background: #f1fbf6; border: 1px solid #a9dcc8; }
.last-order a { color: inherit; font-weight: 600; white-space: nowrap; display: inline-flex; align-items: center; min-height: 44px; }
.op-foot { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 4px 18px; }
.op-foot .linkbtn { display: inline-flex; align-items: center; }
@media print {
  .top, .bg, .test-banner, .op-pay form, .op-later, .guarantee, .pay-methods, #note, .op-foot, .op-hero, .notice { display: none !important; }
  .card { box-shadow: none; break-inside: avoid; }
  .op-details[open] summary::after, .op-details summary::after { content: ""; }
}

/* ---------- The order page: signing in, answers before paying, the studio's own look ---------- */
.studio-banner { background: #17141c; color: #fff; }
.op-faq { display: grid; margin-top: 4px; padding-top: 14px; border-top: 1px solid var(--line); }
.op-faq details { border-top: 1px solid var(--line); }
.op-faq details:first-of-type { border-top: 0; }
.op-faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; padding: 6px 0; font-size: 0.94rem; font-weight: 600; color: var(--ink); cursor: pointer; }
.op-faq summary::-webkit-details-marker { display: none; }
.op-faq summary::after { content: "+"; flex: none; font-size: 1.3rem; font-weight: 400; color: var(--pink-deep); transition: transform 0.2s; }
.op-faq details[open] summary::after { transform: rotate(45deg); }
.op-faq details p { padding: 0 0 14px; font-size: 0.92rem; line-height: 1.55; color: var(--text); }
.op-foot form { display: inline-flex; }
.order-page #art { scroll-margin-top: 72px; }
.op-message label:not(.sr-only) { font-weight: 600; color: var(--ink); }

/* ---------- The form's last screen: the order, one question, one button ---------- */
/* The order is one line that opens: what it is, for whom, what it comes to. On a phone that leaves the question and
   the button under it in sight without scrolling (the owner, 1 Dec 2026: "they have to scroll down to see the Not
   today option"). */
.pay-sum { display: block; padding: 0; }
.pay-sum > summary { list-style: none; display: flex; align-items: center; gap: 12px; min-height: 72px; padding: 10px 16px; border-radius: var(--r); cursor: pointer; }
.pay-sum > summary::-webkit-details-marker { display: none; }
.pay-sum > summary .order-head { flex: 1; }
.pay-sum .order-thumb { width: 48px; height: 48px; }
/* (A long name stays on its line: the line is there to be short.) */
.pay-sum .order-head > div { min-width: 0; }
.pay-sum .order-head span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pay-sum-end { flex: none; display: grid; justify-items: end; gap: 3px; }
.pay-sum-total { font-size: 1.2rem; font-weight: 700; line-height: 1.15; color: var(--ink); white-space: nowrap; }
.pay-sum-total.is-words { font-size: 0.92rem; }
.pay-sum-more { display: inline-flex; align-items: center; gap: 7px; font-size: 0.8rem; font-weight: 600; color: var(--pink-deep); }
.pay-sum-more::after { content: ""; flex: none; width: 7px; height: 7px; margin: -4px 2px 0; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform 0.2s; }
.pay-sum[open] .pay-sum-more::after { margin-top: 4px; transform: rotate(-135deg); }
.pay-sum-body { padding: 14px 16px 4px; border-top: 1px solid var(--line); }
.pay-sum-body .review { margin-top: 12px; }
@media (min-width: 1000px) {
  /* Beside this column stands the card that already shows the order, so the line is not said twice. */
  .layout.with-aside .pay-sum { display: none; }
  /* That card stays in sight while the page scrolls. With everything they told us opened inside it, it can be
     taller than the screen: then it scrolls with the page like anything else. */
  .aside:has(.review[open]) { position: static; }
  /* ... and it says "Unlimited revisions" and "Full money-back guarantee" itself. */
  .layout.with-aside .pay-promise { display: none; }
}
.aside .review { margin-top: 2px; }

.pay-slot { display: grid; gap: 12px; min-width: 0; }
.pay-slot:empty { display: none; }
.pay-choose h2 { font-size: 1.15rem; }
/* The button says what it does and where the money is taken, with a padlock: nothing is paid on this page. */
.pay-act .btn.pay { gap: 12px; }
.pay-act .btn.pay.is-plain .pay-label { text-align: center; }
.pay-lock { flex: none; display: grid; }
.pay-lock svg { width: 22px; height: 22px; }
@media (min-width: 700px) { .pay-act .btn.pay { max-width: 460px; justify-self: center; } }
.pay-notes { display: grid; gap: 6px; font-size: 0.85rem; line-height: 1.5; color: var(--muted); text-align: center; }
.pay-notes p { text-wrap: balance; }
.pay-notes b { font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
/* "Change", in the running text: a whole finger's height to tap, without pushing the lines apart. */
.pay-notes .linkbtn { margin: -13px 0; font-size: inherit; }
/* The address stands on a line of its own, whatever the width. */
.pay-to { display: block; }
.pay-notes .promises { justify-content: center; gap: 2px 14px; font-size: 0.8rem; }
/* On a phone the three answers and the button under them share the first screen: a little less air around each. */
@media (max-width: 699px) {
  .pay-sum > summary { min-height: 64px; padding-block: 8px; }
  .pay-choose .opt { min-height: 52px; padding-block: 10px; }
}
/* (It stood 6 pixels under the last button's note: "very crammed", the studio's admin. It is a part of its own.) */
.pay-faq { margin-top: 18px; padding-top: 22px; }

/* ---------- Pictures added from the order page ---------- */
.op-attach { display: grid; gap: 8px; justify-items: start; min-width: 0; }
.op-attach[hidden] { display: none; }
.op-files { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.op-files:empty { display: none; }
.op-files li { display: grid; gap: 2px; width: 96px; align-content: start; font-size: 0.76rem; line-height: 1.3; color: var(--muted); overflow-wrap: anywhere; }
.op-files img, .op-file-blank { display: grid; place-items: center; width: 96px; height: 96px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); background: var(--tint); font-weight: 700; color: var(--muted); }
.op-files .linkbtn { min-height: 32px; padding: 2px 0; justify-self: start; font-size: 0.8rem; }
.op-attach-btn { min-height: 46px; padding: 8px 18px; font-size: 0.94rem; cursor: pointer; }
.op-attach-btn:focus-within { outline: 3px solid var(--pink-strong); outline-offset: 3px; }
.op-more { display: grid; gap: 6px; padding-top: 14px; border-top: 1px solid var(--line); }

/* The art is the product: on a wide screen the order page gives it more room. */
@media (min-width: 900px) { .order-page .stage { max-width: 760px; } .order-page .top-in { max-width: 800px; } }
.op-updates li.theirs span { padding: 8px 12px; border-radius: 4px 14px 14px 14px; background: var(--pink-soft); color: var(--ink); }

/* A tip, once the finished artwork is theirs. One tap on an amount opens the payment page. */
.op-tip .op-big { margin-bottom: 2px; }
.tip-form { display: grid; gap: 10px; margin-top: 14px; }
.tip-picks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tip-picks .btn { min-height: 56px; font-size: 1.15rem; padding-left: 8px; padding-right: 8px; }
.tip-other { display: grid; gap: 6px; margin-top: 2px; }
.tip-pick-title { font-weight: 600; color: var(--ink); margin: 4px 0 -2px; }
.tip-form label { font-weight: 600; color: var(--ink); }
.tip-form label .muted { font-weight: 400; }
.tip-other .op-remind-row input[type="text"] { flex: 1 1 120px; min-width: 0; min-height: 52px; }
.tip-given { list-style: none; margin: 12px 0 0; padding: 12px 14px; border-radius: 12px; background: #f1fbf6; border: 1px solid #a9dcc8; color: #114b3a; display: grid; gap: 4px; overflow-wrap: anywhere; }
.tip-safe { margin: 0; }
.tip-form textarea { min-height: 64px; resize: vertical; }
/* Words without a tip: a quiet way out at the end of the card, never the first thing in it. */
.tip-words { margin: 4px 0 0; padding-top: 12px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.tip-words .btn { flex: 1 1 200px; min-width: 0; }
/* What they wrote to the artist already. */
.tip-said { margin: 12px 0 0; padding: 10px 14px; border-radius: 18px 18px 4px 18px; background: var(--tint); color: var(--ink); overflow-wrap: anywhere; line-height: 1.45; }
/* After a tip the form is folded away: the card is a thank-you then, not a second ask. */
.tip-more { margin-top: 10px; }
.tip-more > summary { list-style: none; display: inline-flex; align-items: center; min-height: 44px; font-size: 0.94rem; font-weight: 600; color: var(--pink-deep); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.tip-more > summary::-webkit-details-marker { display: none; }
.tip-more[open] > summary { text-decoration: none; color: var(--ink); }
/* The way to object, on a line of its own. (Kept on one line it was wider than a phone, and took the whole card with it.) */
.art-lead a { display: block; margin-top: 6px; }
@media print { .op-tip { display: none !important; } }

/* Under "Clothes on the poses?": the dressed view is an extra, offered where the question is asked. */
.also { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 12px 0 0; font-size: 0.92rem; line-height: 1.5; color: var(--text); }
.also > span { flex: 1 1 220px; min-width: 0; }
.also-btn { flex: none; min-height: 44px; padding: 8px 16px; font-size: 0.92rem; white-space: nowrap; }
