/* Hallmark · shape: app screen · genre: modern-minimal · theme: brand (Zonuru, DESIGN.md) · redesign: full · surface: absolute
 * paper: #FBFAF7 · accent: #FF4520 · display: Hanken Grotesk · body: Hanken Grotesk
 * nav: kept, a top bar with the mark and the wordmark · signature: the three most-made occasions as real photographs, and the finished page as a link card · states: empty, filled, error, saving, done
 * axes: light/grotesk-sans/warm · posture: settled · contrast: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: P, three occasions have photographs and five do not; the five sit in a plain list under them so no tile is left empty */
/* Hallmark · waive 7b · card #FFFFFF on paper #FBFAF7 · Zonuru's colour system keeps white for cards and fields on its warm paper */
/* Hallmark · waive 39b · the occasion tiles 310px, list rows 72px · the three occasions are photographs you tap, a picture picker, not toolbar buttons */
/* Hallmark · finish-review: subagent · 8 findings · 8 resolved (share chips to a list, no empty thumb, unboxed switches, font tiles one line, tile sub-lines, selection in ink recorded in DESIGN.md, phone sheet height with Done in view, desktop done and error captured) */
/* Hallmark · dismissed 40 · the white label on the orange button is 19px bold, large text, which passes at 3.43:1 */
/* avoid-ai-design-ignore: SD4d (Hallmark's stamp uses middle dots by design) */
@import url("./tokens.css?v=51f9aa6mwpg4uq7");

/* Create page, docs/DESIGN.md Part 4. Screens 1 and 3 and every sheet are Zonuru's own (DESIGN.md).
   Screen 2 is the event page itself (design.css), in the host's photo colours and fonts, with inputs in place of text. */

html, body { overflow-x: clip; }

/* ---------- Zonuru's own screens: paper, ink, Hanken Grotesk ---------- */
body.z[data-screen="pick"], body.z[data-screen="package"], body.z[data-screen="done"] { --page: var(--z-paper); background: var(--z-paper); color: var(--z-ink); font-family: var(--z-sans); letter-spacing: normal; caret-color: var(--z-orange); }
body.z[data-screen="pick"] :focus-visible, body.z[data-screen="package"] :focus-visible, body.z[data-screen="done"] :focus-visible, .sheet :focus-visible, .c-logo:focus-visible { outline: 2px solid var(--z-orange); outline-offset: 2px; }

/* Bar: the mark and the Jost wordmark, on every screen */
.c-bar { max-width: 720px; height: 72px; padding: 0 var(--z-5); }
body[data-screen="edit"] .c-bar { max-width: 880px; }
body[data-screen="package"] .c-bar { max-width: 1120px; }
.c-logo { display: inline-flex; align-items: center; gap: var(--z-2); text-decoration: none; color: var(--ink); border-radius: var(--z-r-tag); }
body[data-screen="pick"] .c-logo, body[data-screen="package"] .c-logo, body[data-screen="done"] .c-logo { color: var(--z-ink); }
.c-logo img { width: 32px; height: 32px; border-radius: var(--z-r-tag); }
.c-logo span { font-family: var(--z-mark); font-weight: 500; font-size: 24px; letter-spacing: -0.01em; }

.c-shell { max-width: 720px; margin: 0 auto; padding: var(--z-6) var(--z-5) var(--z-24); }
.c-h1 { margin: 0; font-size: var(--z-h1); line-height: var(--z-h1-lh); font-weight: var(--z-w-display); letter-spacing: var(--z-track-display); overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
.c-lead { margin: var(--z-3) 0 0; font-size: var(--z-body-lg); line-height: var(--z-body-lg-lh); color: var(--z-ink-2); text-wrap: pretty; }
.c-h2 { text-wrap: balance; margin: var(--z-10) 0 var(--z-3); font-size: var(--z-h3); line-height: var(--z-h3-lh); font-weight: var(--z-w-strong); letter-spacing: -0.01em; }

/* ---------- Screen 1: the three most-made occasions as photographs, the rest as a list ---------- */
.c-feat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--z-3); margin-top: var(--z-8); }
.c-tile { display: grid; align-content: start; gap: var(--z-3); padding: 0; border: 0; background: none; color: var(--z-ink); text-align: left; cursor: pointer; border-radius: var(--z-r-card); }
.c-tile span { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--z-r-card); background: var(--z-paper-2); }
.c-tile img { width: 100%; height: 100%; object-fit: cover; }
.c-tile span { transition: transform .15s var(--z-ease); }
.c-tile:active span { transform: scale(.99); }
.c-tile b { font-size: var(--z-h3); line-height: var(--z-h3-lh); font-weight: var(--z-w-strong); letter-spacing: -0.01em; }
.c-tile small { margin-top: calc(-1 * var(--z-2)); font-size: var(--z-small); line-height: var(--z-small-lh); color: var(--z-ink-2); }
.c-tile:hover b { text-decoration: underline; text-underline-offset: 0.16em; text-decoration-thickness: 1px; }

.c-list { list-style: none; margin: 0; padding: var(--z-1) var(--z-5); border-radius: var(--z-r-card); background: var(--z-card); }
.c-list li + li button { border-top: 1px solid var(--z-line); }
.c-list button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--z-4); min-height: 72px; padding: var(--z-3) 0; border: 0; background: none; color: var(--z-ink); font: inherit; text-align: left; cursor: pointer; }
.c-list button:hover b { text-decoration: underline; text-underline-offset: 0.16em; text-decoration-thickness: 1px; }
.c-list button:active { transform: scale(.995); }
.c-list button:focus-visible { outline-offset: -2px; border-radius: var(--z-r-tag); }
.c-list b { display: block; font-size: 17px; font-weight: var(--z-w-strong); }
.c-list small { display: block; margin-top: 2px; font-size: var(--z-small); line-height: var(--z-small-lh); color: var(--z-ink-2); }
.c-list i { flex: none; font-style: normal; font-size: 22px; color: var(--z-ink-3); }

/* ---------- Screen 2: the page, ready to fill in ---------- */
.c-edit-shell { font-family: var(--sans); }
.c-back { max-width: 880px; margin: 0 auto; padding: 0 max(20px, env(safe-area-inset-right)) 4px max(20px, env(safe-area-inset-left)); }
.c-back .z-link { font-size: 15px; }

/* Cover slot (Luma: photo with a camera button in the corner) */
.c-cover { position: relative; display: block; cursor: pointer; background: var(--fill); }
.c-cover input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.c-cover-empty { position: absolute; inset: 0; display: grid; place-content: center; gap: var(--z-2); padding: 24px; text-align: center; }
.c-cover-empty b { font-size: 17px; font-weight: 600; color: var(--ink); }
.c-cover-empty small { font-size: 14px; color: var(--muted); max-width: 220px; justify-self: center; }
.c-cam { position: absolute; right: 12px; bottom: 12px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--z-deep); color: var(--z-deep-ink); pointer-events: none; }
.c-cover:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Typed in place: the title in the event's font, the rest as quiet fields */
.c-head { display: grid; gap: var(--z-3); }
.c-title { display: block; width: 100%; border: 0; padding: 0; margin: 0; background: transparent; color: var(--ink); resize: none; overflow: hidden; outline: none; }
.c-title::placeholder { color: var(--muted); opacity: .55; }
/* The name box reads as a place to type: a label, and a blinking cursor while it is empty (owner, 30 October) */
.c-name { display: block; margin-bottom: var(--z-1); font: var(--z-w-strong) 13px var(--sans); color: var(--muted); }
.c-namebox { position: relative; font-size: 34px; line-height: 38px; }
@media (min-width: 900px) { .c-namebox { font-size: 42px; line-height: 50px; } }
.c-namebox:has(.c-title:placeholder-shown):not(:focus-within)::before { content: ""; position: absolute; left: 0; top: .1em; width: 3px; height: .95em; border-radius: 2px; background: var(--accent); animation: c-caret 1.1s steps(1) infinite; pointer-events: none; }
.c-namebox:has(.c-title:placeholder-shown):not(:focus-within) .c-title { text-indent: 8px; }
@keyframes c-caret { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .c-namebox::before { animation: none; } }
.c-in { width: 100%; min-width: 0; height: 48px; padding: 0 var(--z-4); border: 0; border-radius: var(--z-r-field); background: var(--material); color: var(--ink); font: 400 16px var(--sans); letter-spacing: -0.011em; -webkit-appearance: none; appearance: none; }
.c-in::placeholder { color: var(--muted); opacity: .8; }
.c-in:focus, .c-tz:focus { outline: 0; box-shadow: 0 0 0 2px var(--accent); }
.c-title:focus { box-shadow: none; }
.c-hostrow { display: flex; align-items: center; gap: var(--z-1); font: 400 15px var(--sans); color: var(--muted); }
.c-hostrow span { flex: none; }
.c-hostin { background: transparent; padding: 0; height: 30px; font-size: 15px; color: var(--ink); border-radius: 0; }
.c-hostin:focus { box-shadow: none; }
.c-years { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 17px; }
.c-years .c-in { width: 76px; text-align: center; padding: 0 var(--z-2); }
.c-years .c-in:last-child { width: 58px; }

/* Parts of the event: Luma's grouped date block, with our calendar tile */
.c-parts { display: grid; gap: var(--z-3); }
.c-part { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: var(--z-4); align-items: start; padding: var(--z-4); border-radius: var(--z-r-card); background: var(--fill); }
.c-part:has(.c-x) { padding-right: 44px; }
.c-part-f { display: grid; gap: 8px; min-width: 0; }
.c-pname { font-weight: 600; }
.c-dt { display: grid; grid-template-columns: minmax(0, 1fr) 136px; gap: 8px; }
.c-f { display: grid; gap: var(--z-1); min-width: 0; }
.c-f { position: relative; }
/* An empty date or time field shows a hint: Android draws an empty one as a blank box (owner, 30 October) */
.c-hint { position: absolute; left: var(--z-3); bottom: 0; height: 48px; line-height: 48px; font-style: normal; font-size: 15px; color: var(--muted); pointer-events: none; }
.c-f:has(input:valid) .c-hint, .c-f:has(input:focus) .c-hint { display: none; }
.c-f input:invalid:not(:focus)::-webkit-datetime-edit { color: transparent; }
.c-f > span { font-size: 13px; font-weight: var(--z-w-strong); color: var(--muted); padding-left: 2px; }
.c-cal-empty { opacity: .45; }
.c-dt .c-in { line-height: 48px; padding: 0 var(--z-3); font-size: 15px; }
.c-dt .c-in::-webkit-calendar-picker-indicator { margin-left: 2px; }
@media (max-width: 420px) { .c-part { padding: var(--z-3); gap: var(--z-3); grid-template-columns: 40px minmax(0, 1fr); } .c-part .z-cal { width: 40px; } .c-dt { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .c-dt .c-in { padding: 0 8px; font-size: 15px; } }
.c-x { position: absolute; top: 12px; right: 8px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: none; color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.c-x:hover { background: var(--fill-2); color: var(--ink); }
.c-parts-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 2px 2px 0; }
.c-parts-foot .z-link { font-size: 15px; text-align: left; }
.c-tz { flex: none; border: 0; background: none; color: var(--muted); font: 500 14px var(--sans); padding: var(--z-2) 0; cursor: pointer; text-align: right; }

/* Details and Look: grouped rows with the value on the right (Luma's Event Options) */
.c-group { gap: var(--z-3); }
.c-rows { display: grid; }
.c-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-width: 0; min-height: 56px; padding: 0; border: 0; border-top: 1px solid var(--hair); background: none; color: var(--ink); font: 400 16px var(--sans); letter-spacing: -0.011em; text-align: left; cursor: pointer; }
.c-row:first-child { border-top: 0; }
.c-row-k { flex: 0 1 auto; min-width: 0; font-weight: 600; }
.c-row-v { flex: 1 1 0; justify-content: flex-end; display: inline-flex; align-items: center; gap: 8px; min-width: 0; color: var(--muted); font-size: 15px; white-space: nowrap; }
.c-row-v > :not(i) { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.c-row-v em { font-style: normal; font-size: 18px; color: var(--ink); }
.c-row-v i { font-style: normal; font-size: 20px; color: var(--muted); }
.c-row:hover .c-row-k { text-decoration: underline; text-underline-offset: 0.16em; text-decoration-thickness: 1px; }
.c-row:focus-visible { outline-offset: -2px; border-radius: var(--z-r-tag); }

/* Look sits under the photo on desktop, after Details on phones */
.c-look-side { display: none; }
@media (min-width: 900px) { .c-look-side { display: grid; } .c-look-main { display: none; } .c-back { padding-top: 4px; } }

.c-err { margin: 0; font: 600 14px var(--sans); color: var(--z-err); }
body.z[data-mode="dark"] .c-err { color: var(--z-err-on-deep); }
.c-fine { margin: -4px 0 0; font: 400 14px/20px var(--sans); color: var(--muted); text-align: center; }
.c-edit .z-main:disabled { background: var(--fill-2); color: var(--muted); cursor: progress; transform: none; }

/* ---------- Sheets: always Zonuru's own, whatever the page looks like ---------- */
.sheet-wrap { background: color-mix(in oklab, var(--z-deep) 45%, transparent); }
.sheet { padding: var(--z-3) var(--z-6) calc(var(--z-6) + env(safe-area-inset-bottom)); border-radius: var(--z-r-card) var(--z-r-card) 0 0; background: var(--z-card); color: var(--z-ink); font-family: var(--z-sans); letter-spacing: normal; caret-color: var(--z-orange); animation: c-sheet-up .28s var(--z-ease); }
@keyframes c-sheet-up { from { transform: translateY(32px); opacity: .6; } }
.sheet { max-height: 92dvh; overflow: auto; }
.sheet > .btn.block:last-child { position: sticky; bottom: 0; box-shadow: 0 0 0 var(--z-3) var(--z-card); }
.sheet .grab { width: 36px; height: 4px; margin: 0 auto var(--z-4); border-radius: 2px; background: var(--z-line); }
.sheet h3 { margin: 0 0 var(--z-1); font-size: var(--z-h2); line-height: var(--z-h2-lh); font-weight: var(--z-w-display); letter-spacing: var(--z-track-heading); }
.sheet .sub { margin: 0 0 var(--z-5); color: var(--z-ink-2); font-size: 15px; }
.sheet .form { gap: var(--z-4); margin-bottom: var(--z-5); }
.sheet .form label { gap: var(--z-2); font-size: var(--z-body); font-weight: var(--z-w-regular); color: var(--z-ink); }
.sheet .fine { font-size: var(--z-small); color: var(--z-ink-2); letter-spacing: normal; }
.sheet .form input:not([type=checkbox]):not([type=color]), .sheet .form select, .sheet .form textarea { height: var(--z-control); padding: 0 var(--z-4); border: 0; border-radius: var(--z-r-field); background: var(--z-card); box-shadow: inset 0 0 0 1px var(--z-edge); color: var(--z-ink); font-size: 17px; -webkit-appearance: none; appearance: none; }
.sheet .form select { padding-right: var(--z-10); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%235E5852' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.sheet .form textarea { height: auto; min-height: 120px; padding: var(--z-3) var(--z-4); resize: vertical; }
.sheet .form input::placeholder, .sheet .form textarea::placeholder { color: var(--z-ink-3); }
.sheet .form input:hover, .sheet .form select:hover, .sheet .form textarea:hover { box-shadow: inset 0 0 0 1px var(--z-ink-2); }
.sheet .form input:focus, .sheet .form select:focus, .sheet .form textarea:focus { outline: 2px solid var(--z-ink); outline-offset: -2px; box-shadow: none; }
.sheet .two { gap: var(--z-3); }

/* The sheet's one action is the view's one orange */
.sheet .btn.block { height: var(--z-control); padding: 0 28px; border-radius: var(--z-r-pill); background: var(--z-orange); color: var(--z-on-orange); font: var(--z-w-display) 19px/1 var(--z-sans); letter-spacing: -0.01em; transition: background-color .15s var(--z-ease), transform .15s var(--z-ease); }
.sheet .btn.block:hover { background: var(--z-orange-2); }
.sheet .btn.block:active { transform: scale(.98); }

.c-colours { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--z-2); }
.c-colour { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: var(--z-2); align-items: center; }
.c-colour input[type=color] { width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; overflow: hidden; box-shadow: inset 0 0 0 1px var(--z-edge); background: none; cursor: pointer; }
.c-colour input[type=color]::-webkit-color-swatch-wrapper { padding: 0; }
.c-colour input[type=color]::-webkit-color-swatch { border: 0; border-radius: 50%; }
.c-fonts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--z-2); margin-bottom: var(--z-5); }
.c-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: var(--z-2); margin-bottom: var(--z-5); }
.c-fonts button, .c-opts button { display: grid; gap: var(--z-1); place-items: center; min-height: 76px; padding: var(--z-3); border: 0; border-radius: var(--z-r-field); background: var(--z-card); box-shadow: inset 0 0 0 1px var(--z-line); color: var(--z-ink); text-align: center; cursor: pointer; transition: box-shadow .15s var(--z-ease); }
.c-fonts button:hover, .c-opts button:hover { box-shadow: inset 0 0 0 1px var(--z-edge); }
.c-fonts button:active, .c-opts button:active { transform: scale(.98); }
.c-fonts span { max-width: 100%; font-size: clamp(17px, 5vw, 22px); line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-fonts small, .c-opts small { font: var(--z-w-regular) 13px var(--z-sans); color: var(--z-ink-2); }
.c-opts span { font-size: var(--z-body); font-weight: var(--z-w-strong); }
.c-fonts button[aria-pressed="true"], .c-opts button[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--z-ink); }

.sheet .sp { margin-bottom: var(--z-5); border: 0; border-radius: 0; background: none; }
.sheet .sp-row { gap: var(--z-4); padding: var(--z-3) 0; border-bottom: 0; border-top: 1px solid var(--z-line); }
.sheet .sp-row:first-child { border-top: 0; }
.sheet .sp-row b { font-size: var(--z-body); font-weight: var(--z-w-strong); }
.sheet .sp-row small { font-size: var(--z-small); color: var(--z-ink-2); }
.sheet .sp-row input { width: 48px !important; background: var(--z-line); transition: background-color .2s var(--z-ease); }
.sheet .sp-row input::after { top: 3px; left: 3px; width: 22px; height: 22px; background: var(--z-card); box-shadow: 0 1px 3px color-mix(in oklab, var(--z-ink) 25%, transparent); transition: transform .2s var(--z-ease); }
.sheet .sp-row input:checked { background: var(--z-ink); }
.sheet .sp-row input:checked::after { transform: translateX(20px); }

@media (min-width: 700px) {
  .sheet-wrap { align-items: center; }
  .sheet { border-radius: var(--z-r-card); max-height: 86vh; padding-top: var(--z-6); }
  .sheet .grab { display: none; }
}

.toast { bottom: calc(var(--z-8) + env(safe-area-inset-bottom)); padding: var(--z-3) var(--z-5); border-radius: var(--z-r-pill); background: var(--z-deep); color: var(--z-deep-ink); font: var(--z-w-strong) 15px var(--z-sans); backdrop-filter: none; }

/* ---------- Screen 3: your page is ready ---------- */
.c-done { display: grid; grid-template-columns: minmax(0, 1fr); }
.c-linkcard { display: flex; align-items: center; gap: var(--z-4); margin-top: var(--z-8); padding: var(--z-3); border-radius: var(--z-r-card); background: var(--z-card); color: var(--z-ink); text-decoration: none; }
.c-linkcard:not(:has(img)) { padding: var(--z-5); }
.c-linkcard img { width: 88px; height: 110px; flex: none; border-radius: var(--z-r-field); object-fit: cover; background: var(--z-paper-2); }
.c-linkcard span { display: grid; gap: var(--z-1); min-width: 0; }
.c-linkcard b { font-size: var(--z-h3); line-height: var(--z-h3-lh); font-weight: var(--z-w-display); letter-spacing: -0.01em; overflow-wrap: break-word; }
.c-linkcard small { font-size: 15px; color: var(--z-ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-linkcard:hover b { text-decoration: underline; text-underline-offset: 0.16em; text-decoration-thickness: 1px; }
.c-linkcard:active { transform: scale(.995); }

/* One orange action, then quiet pills */
.c-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--z-2); border: 0; border-radius: var(--z-r-pill); font-family: var(--z-sans); text-decoration: none; cursor: pointer; transition: background-color .15s var(--z-ease), transform .15s var(--z-ease); }
.c-btn:active { transform: scale(.98); }
.c-btn svg { width: 18px; height: 18px; flex: none; }
.c-btn-primary { width: 100%; height: var(--z-control); margin-top: var(--z-4); padding: 0 28px; background: var(--z-orange); color: var(--z-on-orange); font-size: 19px; font-weight: var(--z-w-display); letter-spacing: -0.01em; }
.c-btn-primary:hover { background: var(--z-orange-2); }
.c-btn-primary svg { width: 20px; height: 20px; }
.c-btn-2 { position: relative; height: var(--z-control-sm); padding: 0 var(--z-4); background: var(--z-card); color: var(--z-ink); box-shadow: inset 0 0 0 1px var(--z-edge); font-size: 15px; font-weight: var(--z-w-strong); white-space: nowrap; }
.c-btn-2::after { content: ""; position: absolute; inset: -2px 0; }
.c-btn-2:hover { background: var(--z-paper-2); }
.c-ways { list-style: none; margin: var(--z-4) 0 0; padding: var(--z-1) var(--z-5); border-radius: var(--z-r-card); background: var(--z-card); }
.c-ways li + li button { border-top: 1px solid var(--z-line); }
.c-ways button { width: 100%; display: flex; align-items: center; gap: var(--z-4); min-height: 64px; padding: var(--z-3) 0; border: 0; background: none; color: var(--z-ink); font: inherit; text-align: left; cursor: pointer; }
.c-ways button:hover b { text-decoration: underline; text-underline-offset: 0.16em; text-decoration-thickness: 1px; }
.c-ways button:active { transform: scale(.995); }
.c-ways button:focus-visible { outline-offset: -2px; border-radius: var(--z-r-tag); }
.c-ways b { flex: 1; font-weight: var(--z-w-strong); }
.c-ways i { flex: none; font-style: normal; font-size: 22px; color: var(--z-ink-3); }
.c-ic { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--z-paper-2); }
.c-ic svg { width: 18px; height: 18px; }

.c-keep { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--z-3); margin-top: var(--z-12); padding-top: var(--z-8); border-top: 1px solid var(--z-line); }
.c-keep h2 { margin: 0; text-wrap: balance; font-size: var(--z-h3); line-height: var(--z-h3-lh); font-weight: var(--z-w-strong); letter-spacing: -0.01em; }
.c-keep p { margin: 0; color: var(--z-ink-2); }
.c-keep-row { display: flex; align-items: center; justify-content: space-between; gap: var(--z-3); padding: var(--z-2) var(--z-2) var(--z-2) var(--z-4); border-radius: var(--z-r-field); background: var(--z-card); box-shadow: inset 0 0 0 1px var(--z-line); }
.c-keep-row span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; font-variant-numeric: tabular-nums; }
.c-open { justify-self: start; margin-top: var(--z-1); color: var(--z-ink); font-weight: var(--z-w-strong); text-decoration: underline; text-underline-offset: 0.16em; text-decoration-thickness: 1px; }
.c-open:hover { text-decoration-thickness: 2px; }
.c-qr { display: grid; place-items: center; padding: var(--z-2) 0 var(--z-5); }

@media (max-width: 560px) {
  .c-h1 { font-size: 34px; }
  .c-feat { gap: var(--z-2); margin-top: var(--z-6); }
  .c-tile { gap: var(--z-2); }
  .c-tile span { border-radius: var(--z-r-field); }
  .c-tile b { font-size: 17px; }
  .c-h2 { margin-top: var(--z-8); }
  .c-tile small { display: none; }
}
@media (prefers-reduced-motion: reduce) { .c-tile span, .c-btn, .sheet { transition: none; animation: none; } }

/* Buttons share one shape across Zonuru (owner, 30 October): a rounded key with a light top edge and a darker bottom edge */
.c-btn { border-radius: var(--z-r-btn-sm); }
.c-btn-primary, .sheet .btn.block { border-radius: var(--z-r-btn); box-shadow: var(--z-key); }
.c-btn-primary:active, .sheet .btn.block:active { transform: translateY(1px); box-shadow: var(--z-key-down); }

/* Phones and tablets: the page rises 56px over the photo, so the camera button sits above that edge */
@media (max-width: 899px) { .c-cam { bottom: 72px; } }

.c-stg-lede { margin: 0 0 var(--z-2); font-size: 15px; color: var(--muted); }
/* Before, on the day, after (owner, 30 October; reference: Apple Invites, docs/references/stages) */
.stg { display: grid; gap: var(--z-3); }
.stg-row { display: grid; gap: var(--z-3); padding: var(--z-4) var(--z-5); border-radius: var(--z-r-card); background: var(--z-card); box-shadow: inset 0 0 0 1px var(--z-line); cursor: pointer; }
.stg-row.off { background: transparent; }
.stg-top { display: flex; align-items: center; justify-content: space-between; gap: var(--z-4); }
.stg-top b { display: block; font-size: 17px; font-weight: var(--z-w-strong); color: var(--z-ink); }
.stg-top small { display: block; margin-top: 2px; font-size: 14px; color: var(--z-ink-2); }
.stg-top input { -webkit-appearance: none; appearance: none; flex: none; position: relative; width: 50px; height: 30px; margin: 0; border-radius: var(--z-r-pill); background: var(--z-line); cursor: pointer; transition: background-color .2s var(--z-ease); }
.stg-top input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--z-card); box-shadow: var(--z-knob-shadow); transition: transform .2s var(--z-ease); }
.stg-top input:checked { background: var(--z-ink); }
.stg-top input:checked::after { transform: translateX(20px); }
.stg-top input:focus-visible { outline: 2px solid var(--z-orange); outline-offset: 2px; }
.stg-parts { display: flex; flex-wrap: wrap; gap: 6px; }
.stg-parts i { font-style: normal; font-size: 13px; font-weight: var(--z-w-strong); padding: 5px 10px; border-radius: var(--z-r-pill); background: var(--z-paper-2); color: var(--z-ink); }
.stg-when { font-size: 13px; color: var(--z-ink-2); }
.stg-row.off .stg-parts, .stg-row.off .stg-when { display: none; }
@media (prefers-reduced-motion: reduce) { .stg-top input, .stg-top input::after { transition: none; } }
.c-save { margin-top: var(--z-4); font-size: 15px; color: var(--z-ink-2); }
.c-save a { color: var(--z-ink); font-weight: var(--z-w-strong); text-underline-offset: 4px; }

/* Registration on the create page (docs/DESIGN.md Part 14): the where switch, seats and price, two plain checkboxes. */
.c-reg { display: grid; gap: var(--z-4); }
.c-reg .c-dt { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.c-note { font-style: normal; font-size: 13px; color: var(--muted); padding-left: 2px; }
.c-check { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: var(--z-3); align-items: start; cursor: pointer; }
.c-check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); }
.c-check input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.c-check span { display: grid; gap: 2px; }
.c-check b { font-weight: var(--z-w-strong); font-size: 15px; }
.c-check small { color: var(--muted); font-size: 14px; }
.c-reg .c-in { box-shadow: inset 0 0 0 1px var(--edge); }
.c-reg .c-in:focus { box-shadow: 0 0 0 2px var(--accent); }

/* The two parts of "What are you planning?" (docs/DESIGN.md Part 15): each with its heading, one line, photo cards, then a list. */
.c-kind { margin-top: var(--z-12); }
.c-kind-h { margin: 0; font-size: var(--z-h2); line-height: var(--z-h2-lh); font-weight: var(--z-w-display); letter-spacing: var(--z-track-heading); text-wrap: balance; }
.c-kind-l { margin: var(--z-2) 0 0; color: var(--z-ink-2); font-size: var(--z-body); }
.c-kind .c-feat { margin-top: var(--z-5); }
.c-kind .c-list { margin-top: var(--z-4); }
@media (max-width: 480px) { .c-kind { margin-top: var(--z-10); } .c-kind-h { font-size: 24px; } .c-kind .c-feat { margin-top: var(--z-4); } }

/* The exact spot (owner, 6 November 2026): find the venue on Google Maps or pin where you stand, as quiet links. */
.c-loc { display: flex; flex-wrap: wrap; align-items: center; gap: var(--z-2) var(--z-4); font-size: 14px; color: var(--z-ink-2); }
.c-loc-b { padding: var(--z-1) 0; border: 0; background: none; color: var(--z-ink); font: inherit; font-weight: var(--z-w-strong); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; border-radius: var(--z-r-tag); }
.c-loc-b:disabled { color: var(--z-ink-2); text-decoration: none; cursor: wait; }
.c-loc-b:focus-visible { outline: 2px solid var(--z-ink); outline-offset: 3px; }

/* ---------- Shared pieces (owner, 9 November 2026), the guest page's detail spec on this surface too ---------- */
.c-in { height: 48px; border-radius: var(--z-r-field); background: color-mix(in srgb, var(--ink) 3.5%, var(--material)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 9%, transparent); transition: box-shadow .15s; }
.c-in:hover { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 20%, transparent); }
.c-in:focus, .c-tz:focus { outline: 0; background: var(--material); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 28%, transparent), 0 0 0 4px color-mix(in srgb, var(--ink) 7%, transparent); }
.c-btn-primary { height: 48px; border-radius: var(--z-r-btn); font-size: 17px; font-weight: var(--z-w-strong); box-shadow: none; }
.c-btn-2 { border-radius: var(--z-r-btn-sm); box-shadow: inset 0 0 0 1px var(--z-hair-strong); }

/* The host's name box: the sample name fits on a small phone. */
@media (max-width: 400px) { .c-hostrow, .c-hostin { font-size: 14px; } }
.c-hostin { min-width: 0; text-overflow: ellipsis; }
/* Small phones: the years row keeps to one line, the day and time stack so neither is squeezed under its icon, and the
   title box allows for tall letters in display fonts. */
.c-years { flex-wrap: nowrap; min-width: 0; } .c-years span { white-space: nowrap; }
@media (max-width: 380px) { .c-years { gap: 6px; font-size: 15px; } .c-years .c-in { width: 64px; } .c-years .c-in:last-child { width: 48px; }
  .c-dt { grid-template-columns: minmax(0, 1fr) !important; } }
body[data-screen="edit"] .c-title { padding-block: 4px; }
/* Four photo tiles now (church programmes first, owner 9 November 2026): two by two on a phone, four across on a laptop. */
.c-kind .c-feat:has(> :nth-child(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .c-kind .c-feat:has(> :nth-child(4)) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---- Your page is ready, design round 7 (10 November 2026): the page itself, live, in a phone ---- */
.c-done-live { display: grid; gap: var(--z-6); }
.c-phone { --w: 236px; --s: calc((var(--w) - 16px) / 390px); justify-self: center; width: var(--w); height: calc(844px * (var(--w) - 16px) / 390px + 16px); margin: 0; padding: 8px; box-sizing: border-box; border-radius: 38px; background: var(--z-ink); box-shadow: 0 30px 60px -34px rgb(0 0 0 / .5); overflow: hidden; }
.c-phone iframe { display: block; width: 390px; height: 844px; border: 0; border-radius: 30px; transform: scale(calc((236 - 16) / 390)); transform-origin: 0 0; pointer-events: none; background: var(--z-card); }
.c-done-copy { display: grid; gap: var(--z-4); min-width: 0; align-content: start; }
.c-done-copy > * { margin-top: 0; }
@media (max-width: 759px) { .c-done-live .c-phone { order: 0; } .c-done-live .c-done-copy { order: 1; } .c-done-live .c-h1 { text-align: center; } .c-done-live .c-lead { text-align: center; } }
@media (min-width: 760px) {
  .c-done-live { grid-template-columns: minmax(0, 1fr) 300px; column-gap: var(--z-12); align-items: start; max-width: 1000px; }
  .c-done-live .c-phone { --w: 300px; order: 2; position: sticky; top: var(--z-6); }
  .c-done-live .c-phone iframe { transform: scale(calc((300 - 16) / 390)); }
  .c-done-live .c-done-copy { order: 1; }
}
@media (max-width: 759px) { .c-done-live .c-linkcard img { display: none; } }

/* "Hosted by": the name sits inside its box like every other field (it touched the box's edge; design round 7). */
.c-hostrow { gap: var(--z-2); }
.c-hostrow .c-hostin { flex: 1; height: 40px; padding: 0 var(--z-3); }
/* Per-type forms (11 November 2026). A launch's three kinds in one row; an online part says where people join. */
.c-opts-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.c-opts-3 button { min-height: 56px; }
.c-online { margin: var(--z-2) 0 0; }

/* The programme sheet (owner, 16 November 2026): a time and an activity on each line, a cross to remove it. */
.c-tls { display: grid; gap: var(--z-2); }
.c-tl { display: grid; grid-template-columns: 140px minmax(0, 1fr) 32px; gap: var(--z-2); align-items: center; }
.c-tl input { min-width: 0; }
.c-tl-rm { width: 36px; height: 36px; border: 0; border-radius: 50%; background: none; color: var(--z-ink-2); font-size: 22px; line-height: 1; cursor: pointer; }
.c-tl-rm:hover { background: var(--z-paper-2); color: var(--z-ink); }
.c-tl-add { justify-self: start; margin-top: var(--z-3); padding: 0; border: 0; background: none; color: var(--z-ink); font: var(--z-w-strong) 15px var(--z-sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
/* "Your plan" beside the Create button (owner, 19 November 2026): one row per plan, the price on the right. */
.c-plan-list { display: grid; gap: 8px; }
.c-plan { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: var(--material, #fff); box-shadow: inset 0 0 0 1px var(--edge, rgba(0,0,0,.12)); cursor: pointer; }
.c-plan input { position: absolute; opacity: 0; pointer-events: none; }
.c-plan:has(input:checked), .c-plan.is-on { box-shadow: inset 0 0 0 2px var(--ink, #111); }
button.c-plan { width: 100%; border: 0; text-align: left; font: inherit; color: inherit; -webkit-appearance: none; appearance: none; transition: box-shadow .15s ease; }
@media (hover: hover) { button.c-plan:hover { box-shadow: inset 0 0 0 1px var(--ink, #111); } }
button.c-plan:focus-visible { outline: 2px solid var(--ink, #111); outline-offset: 2px; }
.c-plan:has(input:focus-visible) { outline: 2px solid var(--ink, #111); outline-offset: 2px; }
.c-plan-t { flex: 1; min-width: 0; display: grid; gap: 2px; }
.c-plan-t b { font: 600 16px/22px var(--sans); color: var(--ink, #111); }
.c-plan-t small { font: 400 14px/20px var(--sans); color: var(--muted, #6e6e73); }
.c-plan-p { flex: none; font: 600 15px/20px var(--sans); color: var(--ink, #111); font-variant-numeric: tabular-nums; }

/* The design choice on Create (owner, 19 November 2026): the dashboard picker's pictures (design round 6), as radios. */
.c-dz-set + .c-dz-set { margin-top: 24px; }
.c-dz-h { margin: 0 0 12px; font: 600 15px/20px var(--sans); color: var(--ink, #111); }
.c-dz-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 12px; }
.c-dz-card { position: relative; display: grid; gap: 8px; align-content: start; min-width: 0; cursor: pointer; }
.c-dz-card input { position: absolute; opacity: 0; pointer-events: none; }
.c-dz-shot { display: block; aspect-ratio: 180 / 277; border-radius: 14px; overflow: hidden; background: var(--z-paper-2, #f5f5f7); box-shadow: inset 0 0 0 1px var(--edge, rgba(0,0,0,.12)); }
.c-dz-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.c-dz-card.is-on .c-dz-shot { box-shadow: 0 0 0 2px var(--z-card, #fff), 0 0 0 4px var(--ink, #111); }
.c-dz-card:has(input:focus-visible) .c-dz-shot { outline: 2px solid var(--ink, #111); outline-offset: 4px; }
.c-dz-meta { display: grid; gap: 1px; min-width: 0; }
.c-dz-meta b { font: 600 14px/19px var(--sans); color: var(--ink, #111); overflow-wrap: break-word; }
.c-dz-meta small { font: 400 13px/18px var(--sans); color: var(--muted, #6e6e73); }
.c-dz-more { margin-top: 16px; }
.c-dz-more > summary { cursor: pointer; font: 600 15px/20px var(--sans); color: var(--ink, #111); list-style: none; }
.c-dz-more > summary::-webkit-details-marker { display: none; }
.c-dz-more[open] > summary { margin-bottom: 16px; }
.c-dz-more > summary:focus-visible { outline: 2px solid var(--ink, #111); outline-offset: 2px; border-radius: 4px; }
button.c-dz-card { padding: 0; border: 0; background: none; text-align: left; font: inherit; color: inherit; -webkit-appearance: none; appearance: none; }
button.c-dz-card:focus-visible .c-dz-shot { outline: 2px solid var(--ink, #111); outline-offset: 4px; }

/* Screen 0: the package first (owner, 19 November 2026). The pricing page's cards (round 8), with a few of each
   package's designs, then "Start free" or "Get Basic". */
.c-shell.c-shell-wide { max-width: 1120px; }
.c-back-top { margin: 0 0 var(--z-4); }
.c-pkg-tabs { display: inline-flex; gap: 4px; margin-top: var(--z-6); padding: 4px; border-radius: 999px; background: var(--z-paper-2, #ececef); }
.c-pkg-tabs button { min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: none; font: 600 15px/20px var(--sans, inherit); color: var(--z-ink-2, #6e6e73); cursor: pointer; }
.c-pkg-tabs button[aria-selected="true"] { background: var(--z-card, #fff); color: var(--z-ink, #111); box-shadow: 0 1px 2px rgb(0 0 0 / .08); }
.c-pkg-tabs button:focus-visible { outline: 2px solid var(--z-ink, #111); outline-offset: 2px; }
.c-pkgs { display: grid; gap: var(--z-4); margin-top: var(--z-6); }
@media (min-width: 760px) { .c-pkgs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .c-pkgs-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .c-pkgs-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.c-pkg { display: flex; flex-direction: column; min-width: 0; padding: var(--z-6) var(--z-5); border-radius: 22px; background: var(--z-card, #fff); box-shadow: inset 0 0 0 1px var(--z-line, rgba(0,0,0,.1)); }
.c-pkg.is-picked { box-shadow: inset 0 0 0 2px var(--z-ink, #111); }
.c-pkg h2 { margin: 0; font-size: 22px; line-height: 28px; font-weight: var(--z-w-display, 700); overflow-wrap: break-word; }
.c-pkg-d { margin: 6px 0 0; font-size: 15px; line-height: 21px; color: var(--z-ink-2, #6e6e73); min-height: 42px; }
.c-pkg-p { margin: var(--z-4) 0 0; font-size: 32px; line-height: 38px; font-weight: var(--z-w-display, 700); font-variant-numeric: tabular-nums; }
.c-pkg-per { margin: 2px 0 0; font-size: 14px; line-height: 20px; color: var(--z-ink-2, #6e6e73); }
.c-pkg-shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: var(--z-4); }
.c-pkg-shots span { display: block; aspect-ratio: 180 / 277; border-radius: 10px; overflow: hidden; background: var(--z-paper-2, #f5f5f7); box-shadow: inset 0 0 0 1px var(--z-line, rgba(0,0,0,.1)); }
.c-pkg-shots img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.c-pkg-go { height: 44px; margin-top: var(--z-5); border: 0; border-radius: var(--z-r-btn-sm); background: var(--z-card); color: var(--z-ink); box-shadow: inset 0 0 0 1px var(--z-edge); font: var(--z-w-strong) 16px/20px var(--z-sans); cursor: pointer; transition: transform .15s ease, opacity .15s ease; }
.c-pkg-go.is-main { background: var(--z-orange); color: var(--z-on-orange); box-shadow: none; }
@media (hover: hover) { .c-pkg-go:hover { box-shadow: inset 0 0 0 1px var(--z-ink); } .c-pkg-go.is-main:hover { filter: brightness(1.05); box-shadow: none; } }
.c-pkg-go:active { transform: scale(.98); }
.c-pkg-go:disabled { opacity: .6; cursor: default; }
.c-pkg-go:focus-visible { outline: 2px solid var(--z-ink, #111); outline-offset: 3px; }
.c-pkg-inc { margin: var(--z-5) 0 var(--z-2); font-size: 14px; line-height: 20px; font-weight: 600; }
.c-pkg ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; align-content: start; }
.c-pkg li { position: relative; padding-left: 22px; font-size: 14px; line-height: 20px; color: var(--z-ink-2, #3a3a3c); }
.c-pkg li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 10px; height: 6px; border-left: 2px solid var(--z-ink, #111); border-bottom: 2px solid var(--z-ink, #111); transform: rotate(-45deg); }
.c-dz-change { font-size: inherit; }
@media (prefers-reduced-motion: reduce) { .c-pkg-go { transition: none; } }
/* Wide screens: each card's parts line up across the row (name, description, price, designs, button, list). */
@media (min-width: 1040px) { .c-pkg { display: grid; grid-row: span 8; grid-template-rows: subgrid; row-gap: 0; } .c-pkg-d { min-height: 0; } .c-pkg-shots:empty { margin: 0; } }
.c-pkg-shots-note { display: block; margin: var(--z-4) 0 0; font-size: 14px; line-height: 20px; color: var(--z-ink-2, #6e6e73); }
/* The whole design in a phone-sized frame (tap a design to see it). */
.c-pv-sheet .sheet { max-width: 460px; margin: 0 auto; }
.c-pv { display: block; width: 100%; height: min(70vh, 720px); border: 0; border-radius: var(--z-r-field); background: var(--z-paper-2); margin: var(--z-3) 0 var(--z-4); }
.c-pv-sheet .btn.block { width: 100%; }
.c-dz-meta small { font-size: 13px; line-height: 18px; color: var(--z-ink-2, #6e6e73); }
@media (hover: hover) { button.c-dz-card:hover .c-dz-shot { box-shadow: 0 14px 28px -18px rgb(0 0 0 / .45), inset 0 0 0 1px var(--edge, rgba(0,0,0,.12)); } button.c-dz-card.is-on:hover .c-dz-shot { box-shadow: 0 0 0 2px var(--z-card, #fff), 0 0 0 4px var(--ink, #111); } }
.c-pkg-shots button { display: block; width: 100%; padding: 0; border: 0; aspect-ratio: 180 / 277; border-radius: 10px; overflow: hidden; background: var(--z-paper-2, #f5f5f7); box-shadow: inset 0 0 0 1px var(--z-line, rgba(0,0,0,.1)); cursor: pointer; }
.c-pkg-shots button:focus-visible { outline: 2px solid var(--z-orange); outline-offset: 2px; }

/* Live preview (owner, 19 November 2026): the guest page as it's being filled in. Wide screens: a phone beside the
   form, after the side-by-side editors of page builders; phones: "Preview" in the top bar opens it in a sheet. */
.c-back { display: flex; align-items: center; justify-content: space-between; gap: var(--z-3); }
.c-live-open { font-weight: 600; }
.c-live { display: none; }
@media (min-width: 1180px) {
  body.c-has-live { padding-right: 420px; }
  body.c-has-live .c-live-open { display: none; }
  .c-live { display: grid; position: fixed; top: 88px; right: 40px; bottom: 24px; width: 346px; align-content: start; gap: var(--z-3); z-index: 5; }
  .c-live-h { margin: 0; font: 600 15px/20px var(--z-sans); color: var(--z-ink-2); }
  .c-live-phone { position: relative; width: 346px; height: min(748px, calc(100vh - 140px)); border-radius: 36px; overflow: hidden; background: var(--z-card); box-shadow: 0 0 0 1px var(--z-line), 0 24px 48px -32px rgb(0 0 0 / .45); }
  .c-live-frame { position: absolute; top: 0; left: 0; width: 390px; height: calc(100% / .8872); border: 0; transform: scale(.8872); transform-origin: 0 0; }
}
