/* Envoi Planner · Maison Envoi. The app's own look: calm, white cards, one blue. (Tokens keep their old names: --gold is the accent.) */
:root {
  /* Envoi Planner has its own look, quieter than the website: stone white, white cards, one fountain-pen blue. */
  --paper: #f4f4f1; --paper-2: #ebebe6; --card: #ffffff; --ink: #1b1b19; --ink-2: #4a4944; --muted: #8b8982;
  --line: rgba(27,27,25,.08); --line-2: rgba(27,27,25,.16); --gold: #34507a; --gold-2: #9fb0c8; --gold-bg: #e9eef5;
  --sage: #4f6a55; --rust: #a5493a;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Geist", "Helvetica Neue", system-ui, sans-serif;
  --r: 18px; --r-s: 12px;
  --rail: 248px; --safe-b: env(safe-area-inset-bottom, 0px);
  --ease: cubic-bezier(.2,.7,.2,1);
}
* { box-sizing: border-box; font-feature-settings: "lnum" 1; }
html { -webkit-text-size-adjust: 100%; background: var(--paper); font-variant-numeric: lining-nums; }
html.lock { overflow: hidden; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 300 15px/1.55 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; flex: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
code { font: 400 12px/1.4 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .04em; color: var(--ink-2); }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; }
h1:focus { outline: none; }
.vh-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 99; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.sm { font-size: 12.5px; }
.gold-t { color: var(--gold); }

/* ---------- type ---------- */
.eyebrow { margin: 0; font: 500 10.5px/1.5 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.display { margin: 0; font: 300 clamp(40px, 9.4vw, 68px)/1 var(--serif); letter-spacing: -.012em; color: var(--ink); }
.display em, .display.sm em { font-style: italic; color: var(--gold); font-weight: 300; }
.display.xl { font-size: clamp(54px, 14.5vw, 116px); line-height: .92; letter-spacing: -.02em; }
.display.sm, p.display.sm { font-size: 23px; line-height: 1.12; letter-spacing: 0; font-weight: 400; }
p.display:not(.sm):not(.xl) { font-size: clamp(30px, 6.4vw, 40px); line-height: 1.05; }
.lede { margin: 14px 0 0; max-width: 36em; color: var(--ink-2); font-size: 15.5px; line-height: 1.6; }
.hint { margin: 8px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.hint code { background: var(--paper-2); padding: 1px 5px; }
.big-n { margin: 0; font: 300 clamp(44px, 11vw, 64px)/1 var(--serif); font-variant-numeric: lining-nums tabular-nums; }
.big-n small, .fig-n small { font-size: .5em; color: var(--muted); margin-left: 2px; }
.amt { margin: 0; font: 400 21px/1.1 var(--serif); font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.amt small { color: var(--muted); font-size: 15px; }

/* ---------- controls ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 11px 18px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); font: 500 10.5px/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; cursor: pointer; border-radius: 0; transition: background .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn svg { width: 16px; height: 16px; stroke-width: 1.4; }
.btn:hover { background: #2b2622; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--ink); background: rgba(21,19,17,.03); }
.btn.sm { min-height: 38px; padding: 8px 13px; font-size: 10px; }
.btn.on { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn.danger { color: var(--rust); border-color: rgba(154,71,51,.4); }
.btn.file { position: relative; overflow: hidden; }
.btn.file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.link { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0; background: none; border: 0; color: var(--gold); font: 500 10.5px/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.link svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.link:hover svg { transform: translateX(3px); }
.link.danger { color: var(--rust); }
.ic-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; text-decoration: none; flex: none; }
.ic-btn:hover { background: var(--paper-2); }
.row-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 16px 0 0; }
.tag { display: inline-block; font: 500 9.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; padding: 4px 7px; border: 1px solid var(--line-2); color: var(--ink-2); font-style: normal; }
.tag.ok { border-color: rgba(79,100,72,.45); color: var(--sage); }
.tag.soft { border-color: rgba(154,71,51,.35); color: var(--rust); }

/* fields */
.fld { display: block; margin: 0 0 18px; }
.fld > span { display: block; margin-bottom: 4px; font: 500 10px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=date], input[type=time], input[type=search], input:not([type]), select, textarea {
  width: 100%; min-width: 0; padding: 9px 0; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; background: transparent; color: var(--ink); font: 300 16px/1.4 var(--sans); -webkit-appearance: none; appearance: none; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); }
input::placeholder, textarea::placeholder { color: #aaa197; }
select { padding-right: 22px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23151311' stroke-width='1'/%3E%3C/svg%3E") right 2px center / 11px no-repeat; cursor: pointer; }
textarea { border: 1px solid var(--line-2); padding: 12px 14px; resize: vertical; line-height: 1.55; }
input[type=date], input[type=time] { min-height: 41px; }
input[type=number] { -moz-appearance: textfield; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.tick { display: inline-flex; align-items: center; gap: 11px; min-height: 36px; cursor: pointer; font-size: 14.5px; }
.tick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tick i { position: relative; width: 18px; height: 18px; border: 1px solid var(--ink); flex: none; transition: background .15s; }
.tick input:checked + i { background: var(--ink); }
.tick input:checked + i::after { content: ""; position: absolute; left: 5px; top: 1.5px; width: 5px; height: 10px; border: solid var(--paper); border-width: 0 1.3px 1.3px 0; transform: rotate(45deg); }
.tick input:focus-visible + i { outline: 1px solid var(--gold); outline-offset: 3px; }
.ticks { display: flex; flex-wrap: wrap; gap: 6px 26px; margin: 0 0 10px; }
.search { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; border-bottom: 1px solid var(--line-2); }
.search svg { color: var(--muted); }
.search input { border: 0; }
.pills { display: flex; gap: 4px 18px; flex-wrap: wrap; }
.pills.scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -20px 6px; padding: 0 20px; }
.pills.scroll::-webkit-scrollbar { display: none; }
.pills button { flex: none; min-height: 38px; padding: 6px 0; border: 0; border-bottom: 1px solid transparent; background: none; cursor: pointer; color: var(--muted); font: 500 10.5px/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.pills button span { color: var(--gold); margin-left: 3px; font-weight: 400; letter-spacing: .04em; }
.pills button[aria-pressed=true] { color: var(--ink); border-bottom-color: var(--ink); }

/* reply toggles */
.seg { display: inline-flex; border: 1px solid var(--line-2); flex: none; }
.seg button { display: grid; place-items: center; width: 36px; height: 34px; padding: 0; border: 0; background: transparent; color: #b3aaa0; cursor: pointer; transition: background .15s, color .15s; }
.seg button + button { border-left: 1px solid var(--line); }
.seg button svg { width: 15px; height: 15px; stroke-width: 1.6; }
.seg button b { font: 500 13px/1 var(--sans); }
.seg button:hover { color: var(--ink); }
.seg .r-yes[aria-pressed=true] { background: var(--sage); color: #fff; }
.seg .r-open[aria-pressed=true] { background: var(--paper-2); color: var(--ink); }
.seg .r-no[aria-pressed=true] { background: var(--rust); color: #fff; }

/* ---------- shell ---------- */
.demo-bar { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: center; justify-content: center; padding: 8px 16px; background: var(--ink); color: #e9e2d6; font: 400 12px/1.4 var(--sans); text-align: center; }
.demo-bar a { color: var(--gold-2); text-decoration: none; letter-spacing: .14em; text-transform: uppercase; font-size: 10px; font-weight: 500; }
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 2px; height: 56px; padding: 0 8px 0 20px; background: rgba(244,240,233,.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-brand { margin-right: auto; font: 400 21px/1 var(--serif); text-decoration: none; letter-spacing: .01em; }
.top-brand em { color: var(--gold); }
.saved { font: 500 9.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); opacity: 0; transition: opacity .3s; margin-right: 6px; }
.saved.on { opacity: 1; }
.view { padding: 26px 20px calc(110px + var(--safe-b)); max-width: 1120px; outline: none; }
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(5, 1fr); padding-bottom: var(--safe-b); background: rgba(244,240,233,.96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line-2); }
.tabbar a { position: relative; display: grid; justify-items: center; gap: 4px; padding: 10px 2px 11px; text-decoration: none; color: var(--muted); font: 500 9px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.tabbar a svg { width: 23px; height: 23px; stroke-width: 1.15; }
.tabbar a[aria-current=page] { color: var(--ink); }
.tabbar a[aria-current=page]::before { content: ""; position: absolute; top: -1px; left: 50%; width: 22px; height: 2px; margin-left: -11px; background: var(--gold); }
.rail { display: none; }
body.no-state .top, body.no-state .tabbar, body.no-state .rail { display: none !important; }
body.no-state .view { margin: 0 auto; padding-bottom: 60px; }

@media (min-width: 1024px) {
  .top, .tabbar { display: none; }
  .rail { position: fixed; top: 0; bottom: 0; left: 0; z-index: 20; display: flex; flex-direction: column; width: var(--rail); padding: 34px 26px 26px; border-right: 1px solid var(--line); background: var(--paper); overflow-y: auto; }
  .demo-bar ~ .rail { top: 0; }
  .rail-brand { text-decoration: none; }
  .rail-brand .eyebrow { color: var(--gold); }
  .rail-couple { margin: 18px 0 26px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
  .rail-couple .display { display: block; font-size: 32px; line-height: 1.02; }
  .rail-couple small { display: block; margin-top: 8px; color: var(--muted); font-size: 12.5px; }
  .rail-search { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 40px; padding: 0 0 0 2px; margin-bottom: 18px; border: 0; border-bottom: 1px solid var(--line-2); background: none; color: var(--muted); cursor: pointer; font-size: 13.5px; text-align: left; }
  .rail-search span { flex: 1; }
  .rail-search kbd { font: 400 11px var(--sans); color: var(--muted); }
  .rail-nav { display: grid; gap: 2px; }
  .rail-nav a { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 10px; min-height: 44px; padding: 0 10px 0 4px; text-decoration: none; color: var(--ink-2); font-size: 14.5px; border-left: 1px solid transparent; transition: background .2s; }
  .rail-nav a svg { width: 21px; height: 21px; color: var(--muted); }
  .rail-nav a small { color: var(--muted); font-size: 11.5px; font-variant-numeric: tabular-nums; }
  .rail-nav a:hover { background: rgba(21,19,17,.035); }
  .rail-nav a[aria-current=page] { color: var(--ink); border-left-color: var(--gold); background: var(--card); font-weight: 400; }
  .rail-nav a[aria-current=page] svg { color: var(--gold); }
  .rail-nav a:last-child { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 4px; }
  .rail-foot { margin: auto 0 0; padding-top: 24px; font: 400 italic 15px var(--serif); color: var(--muted); }
  .view { margin-left: var(--rail); padding: 56px 64px 110px; }
  .demo-bar { margin-left: var(--rail); }
  body.no-state .view { margin-left: auto; }
  body.no-state .demo-bar { margin-left: 0; }
}

/* ---------- view header & sub navigation ---------- */
.vh { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 28px; margin-bottom: 26px; }
.vh-t { flex: 1 1 340px; min-width: 0; }
.vh h1 { margin-top: 12px; }
.vh-side { flex: none; text-align: right; }
.vh-side .row-btns { margin: 0; justify-content: flex-end; }
@media (max-width: 640px) { .vh-side { text-align: left; } .vh-side .row-btns { justify-content: flex-start; } }
.sub { display: flex; gap: 26px; margin: 0 -20px 28px; padding: 0 20px; border-bottom: 1px solid var(--line-2); overflow-x: auto; scrollbar-width: none; }
.sub::-webkit-scrollbar { display: none; }
.sub a { flex: none; position: relative; padding: 12px 0 13px; text-decoration: none; color: var(--muted); font: 500 10.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; }
.sub a span { color: var(--gold); letter-spacing: .04em; margin-left: 2px; }
.sub a[aria-current=page] { color: var(--ink); }
.sub a[aria-current=page]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--ink); }
@media (min-width: 1024px) { .sub { margin: 0 0 32px; padding: 0; } .pills.scroll { margin: 0 0 6px; padding: 0; } }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 0 0 18px; }
.tb-r { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; }
@media (max-width: 640px) { .tb-r { margin-left: 0; } }
.crumb { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; font-size: 13px; color: var(--muted); }
.crumb a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--ink); }
.crumb svg { width: 16px; height: 16px; }

/* blocks */
.block { padding-top: 16px; border-top: 1px solid var(--ink); margin-bottom: 34px; min-width: 0; }
.bl-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; min-height: 32px; }
.bl-h.sp { margin-top: 26px; }
.eyebrow.sp { margin-top: 24px; margin-bottom: 8px; }
.cols { display: grid; gap: 0 48px; }
@media (min-width: 900px) { .cols { grid-template-columns: 1fr 1fr; } .cols.wide-l { grid-template-columns: 1.15fr .85fr; } }
.ph-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 30px 0 10px; }
.ph-h h2 { margin: 0; }
.ph-h > span { font: 400 16px var(--serif); color: var(--muted); font-variant-numeric: tabular-nums; }
.bar { display: flex; height: 3px; background: var(--line); overflow: hidden; }
.bar i { display: block; height: 100%; transition: width .6s var(--ease); }
.bar .gold { background: var(--gold); } .bar .ink { background: var(--ink); } .bar .soft { background: var(--gold-2); opacity: .45; } .bar .warn { background: var(--rust); }
.note { margin: 10px 0 34px; padding: 18px 20px; background: var(--card); border-left: 1px solid var(--gold); color: var(--ink-2); font-size: 14px; line-height: 1.6; }
.note p { margin: 6px 0 0; }
.note .eyebrow { margin: 0; color: var(--gold); }
.empty { padding: 40px 0; border-top: 1px solid var(--line); text-align: left; }
.empty p { margin: 8px 0 0; color: var(--muted); max-width: 30em; }
.empty .display.sm { color: var(--ink); font-size: 28px; }
.empty .btn { margin-top: 18px; }
.plain { list-style: none; margin: 0; padding: 0; }

/* figures */
.figs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; margin: 0 0 34px; }
@media (min-width: 900px) { .figs { grid-template-columns: repeat(4, 1fr); gap: 0 32px; } .figs.three { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 899px) { .figs.three > :last-child:nth-child(3) { grid-column: span 2; } }
.fig { display: block; min-width: 0; padding: 14px 0 18px; border-top: 1px solid var(--line-2); text-decoration: none; color: inherit; }
a.fig { transition: border-color .25s; }
a.fig:hover { border-top-color: var(--gold); }
.fig-n { margin: 6px 0 4px; font: 300 clamp(34px, 9vw, 46px)/1 var(--serif); font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fig-s { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.45; }

/* ---------- home ---------- */
.mast { margin: 4px 0 26px; }
.mast h1 { margin-top: 14px; }
.mast .btn { margin-top: 18px; }
.cover { display: grid; gap: 22px; margin-bottom: 26px; }
.plate { position: relative; margin: 0; padding: 9px; background: var(--card); border: 1px solid var(--line); }
.plate img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 92%; }
.plate.noimg img { display: none; }
.plate.noimg { min-height: 120px; }
.plate figcaption { padding: 12px 4px 3px; font: 400 italic 19px/1.2 var(--serif); }
.plate figcaption span { font: 500 10px/1.6 var(--sans); font-style: normal; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.count { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.num { font: 300 clamp(104px, 33vw, 196px)/.78 var(--serif); letter-spacing: -.04em; font-variant-numeric: lining-nums tabular-nums; color: var(--ink); }
.count .eyebrow { color: var(--gold); }
.count-s { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.count .link { margin-top: 6px; }
@media (min-width: 760px) {
  .cover { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: end; gap: 40px; }
  .cover .count { order: -1; padding-bottom: 12px; }
}
/* the long line */
.line { margin: 8px 0 42px; }
.ln-track { position: relative; height: 54px; }
.ln-track::before { content: ""; position: absolute; left: 0; right: 0; bottom: 12px; height: 1px; background: var(--line-2); }
.ln-track::after { content: ""; position: absolute; right: -1px; bottom: 6px; width: 13px; height: 13px; border: 1px solid var(--gold); border-radius: 50%; background: var(--paper); }
.tk { position: absolute; bottom: 12px; width: 1px; height: 8px; background: var(--line-2); }
.tk.done { height: 15px; background: var(--gold); }
.ln-fill { position: absolute; left: 0; bottom: 12px; height: 1px; background: var(--gold); }
.ln-now { position: absolute; bottom: 8px; width: 9px; height: 9px; margin-left: -4px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px var(--paper); }
.ln-now b { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); font: 500 9.5px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
.ln-now.edge-l b { left: 0; transform: none; } .ln-now.edge-r b { left: auto; right: 0; transform: none; }
.ln-labels { display: flex; justify-content: space-between; gap: 10px; margin-top: 10px; font-size: 12px; color: var(--muted); }
.ln-labels span:nth-child(2) { text-align: center; }
.ln-labels span:last-child { text-align: right; color: var(--ink); }
.att { list-style: none; margin: 0; padding: 0; }
.att a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; padding: 8px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 14.5px; }
.att li.warn a { color: var(--rust); }
.att svg { width: 16px; height: 16px; color: var(--gold); transition: transform .25s var(--ease); }
.att a:hover svg { transform: translateX(3px); }
.pay-next { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 14px; }
.pay-next .muted { margin: 4px 0 0; font-size: 13px; }
.pay-next .amt { font-size: 30px; font-weight: 300; }

/* wedding day */
.daytl { list-style: none; margin: 0; padding: 0; }
.daytl li { display: grid; grid-template-columns: 62px 1fr auto; gap: 14px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); }
.daytl time { font: 400 20px var(--serif); font-variant-numeric: tabular-nums; }
.daytl b { font-weight: 400; display: block; }
.daytl span { color: var(--muted); font-size: 13px; }
.daytl .past { opacity: .45; }
.daytl .now { background: var(--gold-bg); margin: 0 -12px; padding: 12px; border-bottom-color: transparent; }
.daytl .now time { color: var(--gold); }
.calls { list-style: none; margin: 0; padding: 0; }
.calls li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.calls b { display: block; font-weight: 400; }
.calls span { font-size: 12.5px; color: var(--muted); }

/* ---------- tasks ---------- */
.tasks { list-style: none; margin: 0; padding: 0; }
.task { display: grid; grid-template-columns: 34px 1fr; align-items: center; border-bottom: 1px solid var(--line); }
.task .box { display: grid; place-items: center; width: 34px; height: 46px; padding: 0; border: 0; background: none; cursor: pointer; }
.task .box svg { width: 20px; height: 20px; padding: 2px; border: 1px solid var(--ink); color: transparent; stroke-width: 1.7; transition: background .2s, color .2s; }
.task .box:hover svg { color: var(--line-2); }
.task.done .box svg { background: var(--ink); color: var(--paper); }
.task.just .box svg { animation: pop .4s var(--ease); }
@keyframes pop { 40% { transform: scale(1.18); } }
.task-t { display: block; width: 100%; min-width: 0; padding: 11px 0 11px 6px; border: 0; background: none; text-align: left; cursor: pointer; }
.task-t b { display: block; font-weight: 400; font-size: 15px; line-height: 1.35; }
.task-t span { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.task.done .task-t b { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--line-2); }
.task.late .task-t span { color: var(--rust); }
.phase .bar { margin-bottom: 4px; }
.vh-side .big-n { text-align: inherit; }

/* ---------- guests ---------- */
.ggroup { margin-bottom: 8px; }
.hhs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.hh { padding: 14px 0 10px; border-bottom: 1px solid var(--line); }
.hh-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; margin-bottom: 4px; }
.hh-n { padding: 0; border: 0; background: none; cursor: pointer; font: 400 21px/1.2 var(--serif); text-align: left; }
.hh-n:hover { color: var(--gold); }
.hh-m { font-size: 12px; color: var(--muted); }
.hh ul { list-style: none; margin: 0; padding: 0; }
.guest { display: flex; align-items: center; gap: 10px; padding: 4px 0; }
.g-n { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; min-height: 44px; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; }
.g-n > span:last-child { min-width: 0; }
.g-n b { display: block; font-weight: 400; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-n small { display: block; font-size: 12px; color: var(--muted); line-height: 1.35; }
.av { display: inline-grid; place-items: center; flex: none; width: 32px; height: 32px; border: 1px solid var(--line-2); border-radius: 50%; font: 400 italic 14px/1 var(--serif); color: var(--ink-2); background: var(--card); }
.guest.r-yes .av { border-color: var(--sage); color: var(--sage); }
.guest.r-no .av { border-style: dashed; color: var(--muted); }
.guest.r-no .g-n b { color: var(--muted); }
.allow { list-style: none; margin: 0; padding: 0; }
.allow li { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.allow li b { display: block; font-weight: 400; }
.allow li span { font-size: 12.5px; color: var(--muted); }
.allow li.over span { color: var(--rust); }
.allow .bar { grid-column: 1 / -1; }
.cards { list-style: none; margin: 0 0 34px; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card { display: flex; flex-direction: column; min-width: 0; background: var(--card); border: 1px solid var(--line); transition: border-color .25s; }
.card:hover { border-color: var(--line-2); }
.card-main { flex: 1; display: block; width: 100%; padding: 16px 18px 14px; border: 0; background: none; text-align: left; cursor: pointer; }
.card-main .display.sm { margin: 6px 0 4px; }
.card-main .muted { margin: 0; font-size: 13px; }
.card-foot { display: flex; align-items: center; gap: 4px; padding: 4px 8px 4px 18px; border-top: 1px solid var(--line); }
.card-foot code { margin-right: auto; letter-spacing: .2em; }
.card-foot .link { margin-left: auto; padding-right: 8px; }
.v-m { margin: 10px 0 0; font-size: 13px; color: var(--ink-2); }
.linkbox { margin: 6px 0 10px; padding: 10px 12px; background: var(--paper-2); overflow-wrap: anywhere; }
.people { list-style: none; margin: 0 0 4px; padding: 0; }
.people li { display: flex; align-items: center; gap: 8px; padding: 4px 0; border-bottom: 1px solid var(--line); }
.people input { flex: 1; border-bottom: 0; }
.people .seg button { width: 32px; height: 32px; }

/* seating */
.pool { padding: 16px 18px 18px; margin: 0 0 26px; background: var(--card); border: 1px solid var(--line); transition: border-color .2s, background .2s; }
.pool .ph-h { margin-top: 0; }
.pool.drop-on { border-color: var(--gold); background: var(--gold-bg); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 3px 12px 3px 4px; border: 1px solid var(--line-2); background: var(--paper); cursor: grab; font-size: 13.5px; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; touch-action: manipulation; transition: border-color .15s, background .15s, opacity .2s; }
.chip .av { width: 26px; height: 26px; font-size: 12px; }
.chip.r-open { border-style: dashed; color: var(--ink-2); }
.chip.sel { border-color: var(--gold); background: var(--gold-bg); box-shadow: 0 0 0 1px var(--gold); }
.chip.mini { min-height: 30px; padding: 2px 8px; font-size: 13px; border-color: transparent; background: none; }
.chip.mini.sel { border-color: var(--gold); }
.chip.ghost { position: fixed; left: 0; top: 0; z-index: 200; pointer-events: none; background: var(--card); border-color: var(--gold); box-shadow: 0 14px 30px -12px rgba(21,19,17,.45); }
html.dragging, html.dragging * { cursor: grabbing !important; }
html.dragging .chip:not(.ghost)[data-chip] { opacity: .55; }
.tables { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); margin-bottom: 36px; }
@media (max-width: 520px) { .tables { grid-template-columns: 1fr 1fr; gap: 10px; } }
.table { padding: 14px 14px 10px; background: var(--card); border: 1px solid var(--line); transition: border-color .2s, background .2s; min-width: 0; }
.table.can { border-color: var(--gold-2); border-style: dashed; cursor: copy; }
.table.drop-on { border-color: var(--gold); border-style: solid; background: var(--gold-bg); }
.tb-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.tb-h .display.sm { font-size: 21px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tsvg { display: block; width: 100%; max-width: 200px; height: auto; margin: 2px auto 4px; overflow: visible; }
.tsvg .tbl { fill: var(--paper-2); stroke: var(--line-2); stroke-width: .8; }
.tsvg .st circle { fill: var(--paper); stroke: var(--line-2); stroke-width: .8; transition: fill .2s, stroke .2s; }
.tsvg .st:hover circle { stroke: var(--gold); stroke-width: 1.4; }
.tsvg .st.on circle { fill: var(--ink); stroke: var(--ink); }
.tsvg .st.on.r-open circle { fill: #8f857a; stroke: #8f857a; }
.tsvg .st text { fill: var(--paper); font: 500 6.5px var(--sans); letter-spacing: .04em; pointer-events: none; }
.tsvg .tcount { fill: var(--muted); font: 400 17px var(--serif); }
.st.drop-on circle { fill: var(--gold) !important; stroke: var(--gold) !important; }
.seated { list-style: none; margin: 0; padding: 0; max-height: 220px; overflow-y: auto; }
.seated li { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); }
.seated .chip { flex: 1; min-width: 0; justify-content: flex-start; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; text-align: left; }
.seated .x { display: grid; place-items: center; width: 32px; height: 30px; padding: 0; border: 0; background: none; color: var(--muted); cursor: pointer; flex: none; }
.seated .x svg { width: 14px; height: 14px; }
.tb-f { margin: 6px 0 0; font-size: 11.5px; color: var(--muted); letter-spacing: .08em; }

/* catering & tallies */
.tally { list-style: none; margin: 0; padding: 0; }
.tally li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.tally li small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.tally b { font: 400 22px var(--serif); font-variant-numeric: tabular-nums; }
.tally .sum { border-bottom: 0; border-top: 1px solid var(--ink); }

/* sending */
.send .display { margin: 4px 0 6px; }
.letter { margin: 22px 0 6px; padding: 22px 22px 24px; background: var(--card); border: 1px solid var(--line); position: relative; }
.letter::before { content: ""; position: absolute; inset: 5px; border: 1px solid var(--line); pointer-events: none; }
.letter .eyebrow { color: var(--gold); margin-bottom: 10px; }
.letter-t { font: 400 18px/1.45 var(--serif); color: var(--ink); overflow-wrap: anywhere; }
.msg { min-height: 220px; font-size: 15px; }
.rem { list-style: none; margin: 0 0 34px; padding: 0; border-top: 1px solid var(--ink); }
.rem li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.rem b { display: block; font-weight: 400; }
.rem span { font-size: 12.5px; color: var(--muted); }

/* ---------- budget ---------- */
.money { display: grid; gap: 18px 40px; margin: 0 0 32px; }
@media (min-width: 900px) { .money { grid-template-columns: auto 1fr; align-items: end; } .bar3 { grid-column: 1 / -1; } }
.m-main .muted { margin: 6px 0 0; font-size: 13.5px; }
.m-main .big-n { margin-top: 8px; }
.m-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0; }
.m-row div { border-top: 1px solid var(--line-2); padding-top: 10px; min-width: 0; }
.m-row dt { font: 500 10px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.m-row dd { margin: 4px 0 0; font: 400 clamp(18px, 5vw, 26px)/1.1 var(--serif); font-variant-numeric: tabular-nums; white-space: nowrap; }
.bar3 .bar { height: 5px; }
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 10px 0 0; font-size: 12px; color: var(--muted); }
.legend .k { display: inline-block; width: 14px; height: 3px; margin-left: 10px; }
.legend .k:first-child { margin-left: 0; }
.k.gold { background: var(--gold); } .k.ink { background: var(--ink); } .k.soft { background: var(--gold-2); opacity: .5; }
.cats { list-style: none; margin: 0 0 10px; padding: 0; border-top: 1px solid var(--ink); }
.cat { padding: 14px 0 16px; border-bottom: 1px solid var(--line); }
.cat-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; }
.cat-n { min-width: 0; }
.cat-n b, .cat-a b { display: block; font: 400 21px/1.2 var(--serif); }
.cat-n small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cat-a { text-align: right; flex: none; }
.cat-a b { font-variant-numeric: tabular-nums; }
.cat-a small { font-size: 12px; color: var(--muted); }
.gbar { position: relative; height: 2px; margin-top: 12px; background: var(--line); }
.gbar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--ink); transition: width .6s var(--ease); }
.gbar em { position: absolute; top: -5px; width: 1px; height: 12px; background: var(--gold); }
.cat.over .gbar i { background: var(--rust); }
.warn-t { margin: 8px 0 0; color: var(--rust); font-size: 12.5px; }
.items { list-style: none; margin: 12px 0 0; padding: 0 0 0 14px; border-left: 1px solid var(--gold-2); }
.items button:not(.link) { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; min-height: 48px; padding: 6px 0; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; cursor: pointer; }
.items button b { font-weight: 400; font-variant-numeric: tabular-nums; }
.items button span b { display: block; }
.items small { display: block; font-size: 12px; color: var(--muted); }
.items .add { padding-top: 6px; }
.month { margin-bottom: 6px; }
.pays { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.pays li { display: grid; grid-template-columns: 50px minmax(0, 1fr) auto auto; align-items: center; gap: 8px 14px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.pays time { display: flex; flex-direction: column; align-items: flex-start; font: 500 9.5px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pays time b { font: 300 30px/1 var(--serif); letter-spacing: 0; color: var(--ink); }
.pays .p-n { min-width: 0; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; }
.pays .p-n b { display: block; font-weight: 400; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pays .p-n small { display: block; font-size: 12.5px; color: var(--muted); }
.pays li.paid .p-n b, .pays li.paid .amt { color: var(--muted); }
.pays li.late time b, .pays li.late small { color: var(--rust); }
@media (max-width: 640px) {
  .pays li { grid-template-columns: 50px minmax(0, 1fr) auto; }
  .pays li .btn { grid-column: 2 / -1; justify-self: start; }
}
.quotes { list-style: none; margin: 0 0 30px; padding: 0; border-top: 1px solid var(--ink); }
.quotes li { display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.quotes li .row-btns { grid-column: 1 / -1; margin-top: 6px; }
.quotes li.booked { background: linear-gradient(90deg, var(--gold-bg), transparent 70%); }
.q-t .muted { margin: 4px 0 0; font-size: 13.5px; }
.q-p { text-align: right; }
.q-p .amt { font-size: 26px; font-weight: 300; }
.q-p p.sm { margin: 4px 0 0; }
.thumb { display: block; width: 72px; height: 72px; margin-top: 10px; object-fit: cover; border: 1px solid var(--line); }
.quote-img { display: block; max-width: 100%; max-height: 320px; margin: 8px 0; border: 1px solid var(--line); }
.pay-ed { list-style: none; margin: 0 0 10px; padding: 0; }
.pay-ed li { display: grid; grid-template-columns: 1fr 92px; gap: 4px 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.pay-ed li input[type=date] { grid-column: 1; }
.pay-ed li .btn { justify-self: start; }
.pay-ed li .ic-btn { grid-column: 2; grid-row: 2; justify-self: end; }
.pay-ed li .btn { grid-column: 1; grid-row: 3; }
.pay-ed li input[type=number] { text-align: right; }

/* ---------- binder ---------- */
.useful { margin-bottom: 26px; }
.u3 { display: grid; gap: 12px; margin-top: 12px; }
@media (min-width: 700px) { .u3 { grid-template-columns: repeat(3, 1fr); } }
.u3 a { display: block; padding: 16px 18px 18px; background: var(--card); border: 1px solid var(--line); border-top: 2px solid var(--gold); text-decoration: none; transition: border-color .25s; }
.u3 a:hover { border-color: var(--line-2); border-top-color: var(--gold); }
.u3 small { display: block; margin-top: 6px; color: var(--muted); font-size: 12.5px; }
.bgroup { margin-bottom: 4px; }
.secs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); display: grid; column-gap: 40px; }
@media (min-width: 900px) { .secs { grid-template-columns: 1fr 1fr; } .secs li:nth-child(2) { border-top: 0; } }
.secs a { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; min-height: 50px; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.secs a span { font: 400 20px/1.2 var(--serif); }
.secs a:hover span { color: var(--gold); }
.secs small { color: var(--muted); font-size: 12px; white-space: nowrap; }
.dot { display: inline-block; width: 5px; height: 5px; margin-left: 4px; border-radius: 50%; background: var(--gold); vertical-align: middle; }
.bt { width: 100%; border-collapse: collapse; border-top: 1px solid var(--ink); }
.bt th { padding: 10px 10px 8px 0; text-align: left; font: 500 10px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line-2); }
.bt td { padding: 0 10px 0 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.bt input[type=text], .bt input[type=tel] { border-bottom: 0; padding: 12px 0; font-size: 15.5px; }
.bt-tl td:first-child input { font: 400 19px var(--serif); font-variant-numeric: tabular-nums; }
.bt-tl td:first-child { width: 86px; }
.bt-pp td:nth-child(3), .bt-tl td:nth-child(3) { color: var(--ink-2); }
.bt .c-x { width: 44px; padding-right: 0; text-align: right; }
.bt .c-ck { width: 34px; }
.bt .c-x .ic-btn { color: var(--muted); }
.bt .c-x svg { width: 16px; height: 16px; }
@media (max-width: 700px) {
  .bt thead { display: none; }
  .bt tr { display: grid; border-bottom: 1px solid var(--line); }
  .bt td { border: 0; padding: 0; width: auto !important; }
  .bt-tl tr { grid-template-columns: 70px 1fr 40px; }
  .bt-tl td:nth-child(3) { grid-column: 2; grid-row: 2; } .bt-tl td:nth-child(4) { grid-column: 3; grid-row: 1; }
  .bt-tl td:nth-child(3) input { padding-top: 0; font-size: 13.5px; color: var(--muted); }
  .bt-pp tr { grid-template-columns: 1fr 1fr 40px; column-gap: 10px; }
  .bt-pp td:nth-child(3) { grid-column: 1 / 3; grid-row: 2; } .bt-pp td:nth-child(4) { grid-column: 3; grid-row: 1; }
  .bt-pp td:nth-child(3) input { padding-top: 0; font-size: 13.5px; }
  .bt-ls tr { grid-template-columns: 1fr 40px; }
  .bt-ls td:nth-child(2) { grid-column: 1; grid-row: 2; } .bt-ls td:nth-child(3) { grid-column: 2; grid-row: 1; }
  .bt-ls td:nth-child(2) input { padding-top: 0; font-size: 13.5px; color: var(--muted); }
  .bt-ck tr { grid-template-columns: 34px 1fr 40px; align-items: center; }
}
.pn { display: flex; justify-content: space-between; gap: 16px; margin: 34px 0 10px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.pn a { display: flex; align-items: center; gap: 12px; text-decoration: none; max-width: 48%; }
.pn a.r { text-align: right; margin-left: auto; }
.pn small { display: block; font: 500 9.5px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.pn span { font: 400 18px/1.2 var(--serif); }
.pn svg { color: var(--gold); }

/* ---------- settings ---------- */
.set { display: grid; gap: 0 48px; }
@media (min-width: 1000px) { .set { grid-template-columns: 1fr 1fr; align-items: start; } }
.set .block > .eyebrow:first-child { margin-bottom: 18px; color: var(--ink); }
.th-prev { display: grid; grid-template-columns: 88px 1fr; gap: 16px; align-items: start; }
.th-prev img { width: 88px; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 90%; border: 1px solid var(--line); padding: 4px; background: var(--card); }
.th-prev .muted { margin: 0; font-size: 13px; }
.sides, .team { list-style: none; margin: 0 0 10px; padding: 0; }
.sides li { display: grid; grid-template-columns: 1fr 80px 40px; gap: 12px; align-items: center; }
.team li { display: grid; grid-template-columns: 1fr 1fr 110px 40px; gap: 10px; align-items: center; }
@media (max-width: 560px) { .team li { grid-template-columns: 1fr 1fr 40px; } .team li select { grid-column: 1 / 3; } .team li .ic-btn { grid-column: 3; grid-row: 1; } }

/* ---------- welcome ---------- */
.welcome { min-height: 100vh; display: grid; place-items: center; padding: 40px 0; }
.w-in { width: min(640px, 100%); }
.w-in .display.xl { margin: 18px 0 0; }
.ob { margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--ink); }
.ob .pills { margin: 4px 0 6px; }

/* ---------- sheet ---------- */
.sheet { position: fixed; inset: 0; z-index: 60; }
.sh-back { position: absolute; inset: 0; background: rgba(21,19,17,.38); opacity: 0; transition: opacity .25s; }
.sheet.on .sh-back { opacity: 1; }
.sh-card { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; max-height: 92vh; max-height: 92dvh; background: var(--paper); border-top: 1px solid var(--ink); transform: translateY(100%); transition: transform .32s var(--ease); }
.sheet.on .sh-card { transform: none; }
.sh-head { position: relative; padding: 20px 64px 10px 22px; }
.sh-head h3 { margin: 6px 0 0; font: 300 30px/1.08 var(--serif); overflow-wrap: anywhere; }
.sh-head .eyebrow { color: var(--gold); min-height: 15px; }
.sh-x { position: absolute; right: 10px; top: 12px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: none; cursor: pointer; }
.sh-body { flex: 1; overflow-y: auto; padding: 12px 22px 22px; overscroll-behavior: contain; }
.sh-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 22px calc(12px + var(--safe-b)); border-top: 1px solid var(--line-2); background: var(--paper); }
.sh-foot .btn { margin-left: auto; min-width: 120px; }
.sh-sec { margin: 22px 0; padding-top: 14px; border-top: 1px solid var(--line-2); }
.sh-sec > .eyebrow, .sh-sec > summary { margin-bottom: 10px; color: var(--ink); cursor: pointer; }
details.sh-sec > summary { list-style: none; display: flex; justify-content: space-between; min-height: 32px; align-items: center; }
details.sh-sec > summary::after { content: "+"; font: 300 22px/1 var(--serif); color: var(--gold); }
details.sh-sec[open] > summary::after { content: "–"; }
details.sh-sec > summary::-webkit-details-marker { display: none; }
@media (min-width: 760px) {
  .sh-card { left: auto; top: 0; width: 500px; max-height: none; border-top: 0; border-left: 1px solid var(--ink); transform: translateX(100%); }
  .sh-head { padding: 34px 70px 12px 34px; }
  .sh-head h3 { font-size: 36px; }
  .sh-body { padding: 14px 34px 30px; }
  .sh-foot { padding: 16px 34px; }
}
.search-sheet .sr-card { position: absolute; left: 0; right: 0; top: 0; padding: 18px 20px 14px; background: var(--paper); border-bottom: 1px solid var(--ink); transform: translateY(-12px); opacity: 0; transition: transform .25s var(--ease), opacity .25s; max-height: 86vh; overflow-y: auto; }
.search-sheet.on .sr-card { transform: none; opacity: 1; }
@media (min-width: 760px) { .search-sheet .sr-card { left: 50%; top: 10vh; width: 620px; margin-left: -310px; border: 1px solid var(--ink); padding: 22px 26px 16px; } }
.search.big input { font: 300 24px var(--serif); padding: 10px 0; }
.sr ul { list-style: none; margin: 8px 0 0; padding: 0; }
.sr button { display: grid; grid-template-columns: 82px 1fr; gap: 0 14px; width: 100%; padding: 10px 0; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; cursor: pointer; }
.sr button:hover, .sr button:focus-visible { background: var(--card); }
.sr small { grid-row: span 2; font: 500 9.5px/2 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.sr b { font-weight: 400; }
.sr span { font-size: 12.5px; color: var(--muted); }

/* toast */
.toast { position: fixed; left: 50%; bottom: calc(84px + var(--safe-b)); z-index: 90; max-width: calc(100% - 32px); padding: 12px 18px; background: var(--ink); color: var(--paper); font-size: 13.5px; transform: translate(-50%, 12px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 1024px) { .toast { bottom: 32px; left: calc(50% + var(--rail) / 2); } }

/* motion */
.rise.in { animation: rise .75s var(--ease) both; animation-delay: calc(var(--i, 0) * 55ms); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- print ---------- */
#print { display: none; }
@media print {
  @page { margin: 16mm 15mm; }
  body > *:not(#print) { display: none !important; }
  body { background: #fff; }
  #print { display: block; color: #151311; font: 300 10pt/1.45 var(--sans); }
  #print .eyebrow { font-size: 7.5pt; color: #8c6e3c; }
  .p-cover { min-height: 245mm; display: flex; flex-direction: column; justify-content: center; text-align: center; break-after: page; }
  .p-cover.sm { min-height: 0; text-align: left; break-after: auto; margin-bottom: 8mm; padding-bottom: 5mm; border-bottom: .5pt solid #151311; }
  .p-cover h1 { margin: 6mm 0 4mm; font: 300 44pt/1 var(--serif); }
  .p-cover.sm h1 { font-size: 30pt; margin: 2mm 0; }
  .p-cover h1 em { color: #8c6e3c; }
  .p-cover p { margin: 1mm 0; font-size: 11pt; }
  .p-small { color: #7a7066; font-size: 8.5pt !important; }
  .p-sec { margin: 0 0 9mm; break-inside: avoid-page; }
  .binder .p-sec { break-inside: auto; }
  .p-sec h2 { margin: 1mm 0 3mm; padding-bottom: 2mm; font: 400 19pt/1.1 var(--serif); border-bottom: .5pt solid #151311; }
  .p-sec h2 small { font-size: 11pt; color: #7a7066; }
  .p-sec table { width: 100%; border-collapse: collapse; table-layout: fixed; }
  .p-sec tr { break-inside: avoid; }
  .p-sec td { padding: 2.2mm 3mm 2.2mm 0; border-bottom: .3pt solid #d6cfc4; vertical-align: top; }
  .p-time { width: 20mm; font: 400 12pt var(--serif); }
  .p-box { width: 7mm; font-size: 11pt; }
  .p-box:empty::before { content: "☐"; }
  .p-r { text-align: right; white-space: nowrap; }
  .p-tables { columns: 2; column-gap: 10mm; }
  .p-tables .p-sec { break-inside: avoid; }
  .p-pre { white-space: pre-wrap; font: 300 9.5pt/1.5 var(--sans); }
}

/* ---------- weather on the day ---------- */
.wx { margin-bottom: 42px; }
.wx .display.sm { margin-top: 6px; }
.wx-yrs { list-style: none; margin: 22px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 0; }
.wx-yrs li { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; }
.wx-yrs b { font: 400 17px/1 var(--serif); font-variant-numeric: lining-nums tabular-nums; color: var(--ink); }
.wx-yrs i { display: block; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.wx-yrs li.wet i { width: 1px; height: 14px; margin: -2px 0 -3px; border-radius: 0; background: var(--ink-2); box-shadow: -4px 3px 0 0 var(--ink-2), 4px 3px 0 0 var(--ink-2); }
.wx-yrs span { font: 500 9.5px/1 var(--sans); letter-spacing: .08em; color: var(--muted); }
.wx-src { margin: 16px 0 0; font-size: 11.5px; line-height: 1.5; color: var(--muted); }
.pill-gap { display: inline-block; width: 14px; }
@media (max-width: 420px) { .wx-yrs b { font-size: 14px; } .wx-yrs span { font-size: 8.5px; letter-spacing: 0; } }


/* =====================================================================
   App look v2 (29.11.2026, Meli: „schöner, minimalistischer, nicht wie die Website“)
   Sentence case instead of spaced capitals, white rounded cards instead of rules,
   soft filled fields, pill buttons. Everything below overrides the first layer.
   ===================================================================== */
body { font: 400 15px/1.55 var(--sans); letter-spacing: -.003em; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.eyebrow, .fld > span, .m-row dt, .bt th, .pn small, .sr small, .pays time, .plate figcaption span, .wx-yrs span {
  font-family: var(--sans); font-weight: 500; font-size: 12.5px; letter-spacing: 0; text-transform: none; }
.eyebrow { color: var(--muted); }
.display { font-weight: 400; letter-spacing: -.01em; }
.display em, .display.sm em { font-weight: 400; }
.display.xl { letter-spacing: -.025em; line-height: .95; }
.display.sm, p.display.sm { font-size: 24px; line-height: 1.15; }
.lede { color: var(--ink-2); }
.btn { min-height: 44px; padding: 10px 20px; border-radius: 999px; font: 500 14px/1.2 var(--sans); letter-spacing: 0; text-transform: none; }
.btn.sm { min-height: 36px; padding: 7px 15px; font-size: 13px; }
.btn.ghost { background: var(--card); border-color: var(--line-2); }
.btn.ghost:hover { background: var(--card); border-color: var(--ink-2); }
.btn:hover { background: #333230; }
.link { font: 500 13.5px/1.2 var(--sans); letter-spacing: 0; text-transform: none; }
.tag { font: 500 11.5px/1 var(--sans); letter-spacing: 0; text-transform: none; padding: 5px 9px; border-radius: 999px; border-color: var(--line-2); }
.ic-btn { border-radius: 999px; }
.ic-btn:hover { background: var(--paper-2); }
.saved { font: 500 12px/1 var(--sans); letter-spacing: 0; text-transform: none; }
.demo-bar { background: var(--ink); color: #e6e6e2; }
.demo-bar a { color: #c9d4e4; letter-spacing: 0; text-transform: none; font-size: 12.5px; }

/* fields: soft filled boxes */
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=date], input[type=time], input[type=search], input:not([type]), select, textarea {
  padding: 11px 13px; border: 1px solid transparent; border-radius: var(--r-s); background: var(--paper); font: 400 15.5px/1.4 var(--sans); }
.sh-card input[type=text], .sh-card input[type=email], .sh-card input[type=tel], .sh-card input[type=number], .sh-card input[type=date], .sh-card input[type=time], .sh-card input:not([type]), .sh-card select, .sh-card textarea { background: var(--paper); }
input:focus, select:focus, textarea:focus { border-color: var(--gold); background: var(--card); }
select { padding-right: 34px; background-position: right 13px center; }
textarea { border: 1px solid transparent; }
.fld > span { margin-bottom: 6px; color: var(--ink-2); }
.search { border: 0; background: var(--card); border-radius: 999px; padding: 0 6px 0 14px; }
.search input { background: transparent; }
.people input, .search input { border: 0; }
.tick i { border-radius: 6px; border-color: var(--line-2); }
.tick input:checked + i { background: var(--gold); border-color: var(--gold); }
.pills { gap: 6px; }
.pills button { min-height: 34px; padding: 6px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--card); color: var(--ink-2); font: 500 13px/1.2 var(--sans); letter-spacing: 0; text-transform: none; }
.pills button[aria-pressed=true] { background: var(--ink); border-color: var(--ink); color: #fff; }
.pills button[aria-pressed=true] span { color: #c9d4e4; }
.seg { border-radius: 999px; overflow: hidden; background: var(--card); }

/* shell */
.top { background: rgba(244,244,241,.85); border-bottom: 0; }
.top-brand { font: 400 22px/1 var(--serif); }
.tabbar { left: 12px; right: 12px; bottom: calc(10px + var(--safe-b)); padding-bottom: 0; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.88); box-shadow: 0 10px 30px -14px rgba(27,27,25,.28); }
.tabbar a { padding: 9px 2px 8px; font: 500 10.5px/1 var(--sans); letter-spacing: 0; text-transform: none; }
.tabbar a svg { stroke-width: 1.35; }
.tabbar a[aria-current=page] { color: var(--gold); }
.tabbar a[aria-current=page]::before { top: auto; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; }
@media (min-width: 1024px) {
  .rail { background: var(--paper); border-right: 0; padding: 30px 18px 24px; }
  .rail-brand .eyebrow { color: var(--ink); font-family: var(--serif); font-size: 22px; font-weight: 400; }
  .rail-couple { border-bottom: 0; padding: 16px; margin: 16px 0 18px; background: var(--card); border-radius: var(--r); }
  .rail-couple .display { font-size: 28px; }
  .rail-search { border: 0; border-radius: 999px; background: var(--card); padding: 0 14px; min-height: 40px; }
  .rail-nav a { border-left: 0; border-radius: 12px; padding: 0 12px 0 10px; }
  .rail-nav a[aria-current=page] { background: var(--card); box-shadow: 0 1px 2px rgba(27,27,25,.05); font-weight: 500; }
  .rail-nav a:last-child { border-top: 0; }
  .rail-foot { font: 400 12.5px var(--sans); }
  .view { padding: 44px 56px 90px; }
}

/* sub navigation as a soft segmented bar */
.sub { gap: 4px; border-bottom: 0; margin-bottom: 24px; }
.sub a { padding: 9px 14px; border-radius: 999px; font: 500 13.5px/1 var(--sans); letter-spacing: 0; text-transform: none; }
.sub a[aria-current=page] { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(27,27,25,.06); }
.sub a[aria-current=page]::after { display: none; }
.sub a span { color: var(--muted); }

/* blocks become white cards */
.block { padding: 20px 20px 22px; border-top: 0; border-radius: var(--r); background: var(--card); margin-bottom: 16px; }
.cols { gap: 0 16px; }
.bl-h { margin-bottom: 10px; }
.figs { gap: 10px; margin-bottom: 16px; }
@media (min-width: 900px) { .figs { gap: 16px; } }
.fig { padding: 16px 18px 18px; border-top: 0; border-radius: var(--r); background: var(--card); }
a.fig:hover { box-shadow: 0 0 0 1px var(--line-2); }
.fig-n { font-weight: 400; }
.note { border-left: 0; border-radius: var(--r); background: var(--gold-bg); }
.note .eyebrow { color: var(--gold); }
.empty { border-top: 0; padding: 28px 22px; background: var(--card); border-radius: var(--r); }
.hhs, .rem, .cats, .pays, .quotes, .secs, .bt, .tally .sum { border-top-color: var(--line); }
.hhs, .rem, .cats, .pays, .quotes { background: var(--card); border-radius: var(--r); padding: 4px 18px; border-top: 0; }
.cards { gap: 12px; }
.card, .pool, .table, .letter, .u3 a { border-radius: var(--r); border-color: transparent; background: var(--card); }
.card:hover, .table:hover { border-color: var(--line-2); }
.card-foot { border-top-color: var(--line); }
.chip { border-radius: 999px; background: var(--card); }
.chip.sel { box-shadow: none; }
.av { background: var(--paper); border-color: transparent; font: 400 15px/1 var(--serif); }
.linkbox { border-radius: var(--r-s); }
.bar { height: 6px; border-radius: 99px; background: var(--paper-2); }
.bar i:first-child { border-radius: 99px 0 0 99px; }

/* home */
.plate { padding: 0; border: 0; background: none; }
.plate img { border-radius: var(--r); }
.plate figcaption { padding: 12px 4px 0; font: 400 italic 21px/1.2 var(--serif); }
.plate figcaption span { color: var(--muted); }
.count .eyebrow { color: var(--gold); font-size: 14px; }
.num { font-weight: 400; letter-spacing: -.035em; }
.line { padding: 18px 20px 16px; background: var(--card); border-radius: var(--r); margin: 0 0 16px; }
.ln-track::after { background: var(--card); }
.ln-now { box-shadow: 0 0 0 4px var(--card); }
.ln-now b { font: 500 11.5px/1 var(--sans); letter-spacing: 0; text-transform: none; }
.att a { border-bottom-color: var(--line); }
.att li:last-child a { border-bottom: 0; }
.task { border-bottom-color: var(--line); }
.task .box svg { border-radius: 7px; border-color: var(--line-2); }
.task.done .box svg { background: var(--gold); border-color: var(--gold); color: #fff; }
.daytl .now { background: var(--gold-bg); border-radius: var(--r-s); }
.wx { margin-bottom: 16px; }
.wx-yrs { border-top-color: var(--line); }
.wx-yrs span { font-size: 10.5px; color: var(--muted); }

/* ---------- ideas: colours, mood board, music ---------- */
.pal { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 18px; }
.pal li { display: grid; justify-items: center; gap: 6px; position: relative; }
.pal label { position: relative; display: block; width: 58px; height: 58px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(27,27,25,.1); cursor: pointer; }
.pal input[type=color] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; border: 0; padding: 0; }
.pal code { font-size: 10.5px; color: var(--muted); letter-spacing: .02em; }
.pal .ic-btn { position: absolute; top: -8px; right: -12px; width: 26px; height: 26px; background: var(--card); box-shadow: 0 1px 3px rgba(27,27,25,.15); opacity: 0; transition: opacity .2s; }
.pal .ic-btn svg { width: 13px; height: 13px; }
.pal li:hover .ic-btn, .pal li:focus-within .ic-btn { opacity: 1; }
@media (hover: none) { .pal .ic-btn { opacity: 1; } }
.mood { list-style: none; margin: 0; padding: 0; columns: 2 160px; column-gap: 12px; }
@media (min-width: 900px) { .mood { columns: 3 220px; column-gap: 16px; } }
.mood li { break-inside: avoid; margin: 0 0 12px; background: var(--card); border-radius: var(--r); overflow: hidden; }
.mood img { display: block; width: 100%; height: auto; }
.mood-c { display: flex; align-items: center; gap: 2px; padding: 4px 4px 4px 6px; }
.mood-c input { padding: 8px; background: transparent; font-size: 14px; }
.mood-c input:focus { background: var(--paper); }
.mood-c .ic-btn { width: 34px; height: 34px; color: var(--muted); }
.songs { list-style: none; margin: 0; padding: 0; }
.song { display: grid; grid-template-columns: 1fr 1fr 36px 36px; gap: 6px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line); }
.songs.moments .song { grid-template-columns: .8fr 1fr 1fr 36px 36px; }
.song:last-child { border-bottom: 0; }
.song input { padding: 9px 10px; font-size: 14.5px; }
.song .s-m { font-weight: 500; }
.song .ic-btn { width: 36px; height: 36px; color: var(--muted); }
.song a.ic-btn { color: var(--gold); }
@media (max-width: 640px) {
  .song { grid-template-columns: 1fr 36px 36px; }
  .song .s-s { grid-column: 1; } .song .s-a { grid-column: 1; grid-row: 2; }
  .song .ic-btn { grid-row: 1 / span 2; }
  .songs.moments .song { grid-template-columns: 1fr 36px 36px; }
  .songs.moments .s-m { grid-column: 1 / -1; background: transparent; padding-left: 0; }
  .songs.moments .s-s { grid-row: 2; } .songs.moments .s-a { grid-row: 3; } .songs.moments .ic-btn { grid-row: 2 / span 2; }
}
.wishes { list-style: none; margin: 0; padding: 0; }
.wishes li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.wishes li:last-child { border-bottom: 0; }
.wishes b { display: block; font-weight: 500; }
.wishes span:not(.tag) { font-size: 12.5px; color: var(--muted); }
/* gifts */
.gifts { list-style: none; margin: 0; padding: 6px 18px; background: var(--card); border-radius: var(--r); }
.gifts li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; gap: 8px 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.gifts li:last-child { border-bottom: 0; }
.gifts b { font-weight: 500; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 640px) { .gifts li { grid-template-columns: minmax(0, 1fr) auto; } .gifts li input { grid-column: 1 / -1; grid-row: 2; } }
/* golden hour */
.golden .eyebrow { display: flex; align-items: center; gap: 8px; }
.golden .eyebrow svg { width: 18px; height: 18px; }
.p-pre { white-space: pre-wrap; font: 11pt/1.6 var(--sans); }
/* six tabs on the phone */
.tabbar { grid-template-columns: repeat(6, 1fr); }
.tabbar a { font-size: 10px; }
.tabbar a svg { width: 22px; height: 22px; }
/* lighter song rows: text until you touch it */
.song input, .mood-c input, .gifts input { background: transparent; }
.song input:focus, .mood-c input:focus, .gifts input:focus { background: var(--paper); }
.song .s-s { font-weight: 500; }
.song .s-a { color: var(--ink-2); }
.songs.moments .s-m { color: var(--muted); font-weight: 500; font-size: 12.5px; }
@media (max-width: 640px) {
  .song input { padding: 4px 8px; }
  .songs.moments .s-m { padding: 6px 8px 0; }
  .pal { gap: 12px 14px; } .pal label { width: 46px; height: 46px; } .pal code { font-size: 9.5px; }
  .mood-c input { font-size: 13px; padding: 7px 6px; }
}
.gifts input { border: 1px solid var(--line); }
/* budget ring */
.ring { display: grid; gap: 20px 32px; align-items: center; }
@media (min-width: 700px) { .ring { grid-template-columns: 240px 1fr; } }
.ring-fig { position: relative; width: 220px; max-width: 100%; margin: 0 auto; }
.ring-fig svg { display: block; width: 100%; height: auto; }
.ring-fig circle { transition: stroke-dasharray .8s var(--ease); }
.ring-c { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 2px; }
.ring-c b { font: 400 30px/1 var(--serif); font-variant-numeric: lining-nums tabular-nums; }
.ring-c small { font-size: 11.5px; color: var(--muted); }
.ring-l ul { list-style: none; margin: 10px 0 0; padding: 0; columns: 2 180px; column-gap: 24px; }
.ring-l li { display: flex; align-items: center; gap: 10px; padding: 6px 0; break-inside: avoid; font-size: 13.5px; }
.ring-l li i { flex: none; width: 10px; height: 10px; border-radius: 50%; }
.ring-l li span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ring-l li b { font-weight: 500; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.gbar { height: 6px; border-radius: 99px; background: var(--paper-2); }
.gbar i { border-radius: 99px; }
.gbar em { top: -4px; height: 14px; width: 2px; margin-left: -1px; border-radius: 2px; background: var(--ink); }
.cat.over .gbar i { background: var(--rust) !important; }
.cats { padding: 4px 20px; }

/* ---------- dark ---------- */
@media screen {
  html[data-look=dark] {
    --paper: #141413; --paper-2: #262623; --card: #1d1d1b; --ink: #ecebe6; --ink-2: #c3c1ba; --muted: #8f8d86;
    --line: rgba(236,235,230,.08); --line-2: rgba(236,235,230,.17); --gold: #9fb6da; --gold-2: #4d6488; --gold-bg: #1f2836;
    --sage: #8db59a; --rust: #e0907c; color-scheme: dark;
  }
  html[data-look=dark] .btn { color: #141413; }
  html[data-look=dark] .btn:hover { background: #fff; }
  html[data-look=dark] .btn.ghost { color: var(--ink); background: var(--card); }
  html[data-look=dark] .top { background: rgba(20,20,19,.85); }
  html[data-look=dark] .tabbar { background: rgba(29,29,27,.9); box-shadow: 0 10px 30px -10px rgba(0,0,0,.6); }
  html[data-look=dark] .demo-bar { background: #000; }
  html[data-look=dark] .pills button[aria-pressed=true] { color: #141413; }
  html[data-look=dark] select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23ecebe6' stroke-width='1'/%3E%3C/svg%3E"); }
  html[data-look=dark] input::placeholder, html[data-look=dark] textarea::placeholder { color: #6d6b65; }
  html[data-look=dark] .plate img, html[data-look=dark] .mood img { filter: brightness(.92); }
  html[data-look=dark] .tick input:checked + i::after { border-color: #141413; }
  html[data-look=dark] .task.done .box svg { color: #141413; }
}

/* ---------- round 4: events, stay, appointments, helpers, papers ---------- */
.lk { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; cursor: pointer; }
.lk:hover { color: var(--gold); }
.figs.four-s { margin: 14px 0 6px; gap: 8px; }
.figs.four-s .fig { background: var(--paper); padding: 12px 14px 14px; }
@media (min-width: 900px) { .figs.four-s { grid-template-columns: repeat(4, 1fr); } }
.evhh { list-style: none; margin: 0 0 20px; padding: 4px 18px; background: var(--card); border-radius: var(--r); }
.evhh > li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.evhh > li:last-child { border-bottom: 0; }
.evhh > li:not(.on) .tick span { color: var(--muted); }
.evhh .tick b { font-weight: 500; }
.evhh .people { margin: 2px 0 6px 29px; }
.evhh .people li { justify-content: space-between; border-bottom: 0; padding: 2px 0; font-size: 14px; }
.arr { list-style: none; margin: 0; padding: 0; }
.arr li { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.arr li:last-child { border-bottom: 0; }
.arr time { font-weight: 500; font-size: 13.5px; }
.arr b { display: block; font-weight: 500; }
.arr span { font-size: 13px; color: var(--muted); }
.arr .lk { color: var(--ink-2); }
.block .eyebrow svg { width: 16px; height: 16px; vertical-align: -3px; }
.appts { list-style: none; margin: 0 0 22px; padding: 4px 8px; background: var(--card); border-radius: var(--r); }
.appts li { border-bottom: 1px solid var(--line); }
.appts li:last-child { border-bottom: 0; }
.appts button { display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; align-items: center; width: 100%; padding: 12px 10px; border: 0; background: none; text-align: left; cursor: pointer; border-radius: var(--r-s); }
.appts button:hover { background: var(--paper); }
.appts time { display: grid; justify-items: center; line-height: 1; }
.appts time b { font: 400 30px/1 var(--serif); font-variant-numeric: lining-nums; }
.appts time span { font-size: 11px; color: var(--muted); margin-top: 3px; text-transform: lowercase; }
.appts div b { display: block; font-weight: 500; }
.appts div span { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.appts.past { opacity: .6; }
.mini-t { list-style: none; margin: 10px 0 0; padding: 0; font-size: 13px; }
.mini-t li { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; color: var(--ink-2); }
.mini-t li span { color: var(--muted); flex: none; }
.task-t .who { font-style: normal; color: var(--gold); }
.wif-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 24px; margin-top: 14px; }
.wif-row .fld { width: 150px; margin: 0; }
.wif-r { margin: 0 0 4px; }
.wif-r b { display: block; font: 400 28px/1 var(--serif); font-variant-numeric: lining-nums; }
.wif-r span { font-size: 13px; color: var(--muted); }

@media print {
  #print.labels .p-labels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
  #print.labels .p-labels div { height: 36mm; padding: 6mm 5mm; font-size: 10pt; line-height: 1.35; overflow: hidden; }
  #print.place .p-place { display: grid; grid-template-columns: 1fr 1fr; }
  #print.place .pc { height: 66mm; border: .3pt dashed #bbb; break-inside: avoid; display: flex; flex-direction: column; }
  #print.place .pc-top { flex: 1; border-bottom: .3pt dashed #ddd; }
  #print.place .pc-in { flex: 1; display: flex; flex-direction: column; justify-content: center; text-align: center; }
  #print.place .pc-n { margin: 0; font: 400 22pt/1.1 var(--serif); }
  #print.place .pc-s { margin: 2mm 0 0; font-size: 8pt; letter-spacing: .08em; color: #777; }
  #print.tnum .p-tnum { height: 250mm; display: flex; flex-direction: column; justify-content: center; text-align: center; break-after: page; }
  #print.tnum .p-tnum h1 { margin: 6mm 0 0; font: 400 90pt/1 var(--serif); }
}
.card-main { display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; }
/* inside the phone on the sales page */
body.embed .tabbar { left: 8px; right: 8px; bottom: 8px; }
body.embed .demo-bar { display: none !important; }

/* ---------- from the competitor check (30.11.): buy button in the demo, swipe to tick, rain at the ceremony ---------- */
.demo-cta { position: fixed; right: 16px; bottom: calc(86px + var(--safe-b)); z-index: 31; display: inline-flex; align-items: center; min-height: 44px; padding: 10px 20px; border-radius: 999px; background: var(--gold); color: #fff; font: 500 14px/1 var(--sans); text-decoration: none; box-shadow: 0 12px 28px -12px rgba(27,27,25,.5); transition: transform .2s var(--ease); }
.demo-cta:hover { transform: translateY(-2px); }
@media (min-width: 1024px) { .demo-cta { right: 28px; bottom: 28px; } }
body.embed .demo-cta, body.no-state .demo-cta, body.printing .demo-cta { display: none; }
html[data-look=dark] .demo-cta { color: #141413; }
.task { touch-action: pan-y; transition: transform .25s var(--ease); background: var(--card); }
.task.swiping { transition: none; }
.task.swipe-ok .box svg { background: var(--gold); border-color: var(--gold); color: #fff; }
.swipe-hint { display: none; margin: -8px 0 14px; font-size: 12.5px; color: var(--muted); }
@media (hover: none) and (pointer: coarse) { .swipe-hint { display: block; } }
.wx-cer { margin-top: 12px; padding: 12px 14px; border-radius: var(--r-s); background: var(--paper); font-size: 14px; }
.wx-cer p { margin: 0; }
.wx-cer.wet { background: var(--gold-bg); }
.wx-cer .row-btns { margin-top: 10px; }

/* ---------- home as a summary of cards (30.11., after the competitor's summary) ---------- */
.home2 .mast { margin-bottom: 18px; }
.bento { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bento > *, .b-side > * { min-width: 0; }
.bc { display: block; padding: 18px 18px 20px; border-radius: var(--r); background: var(--card); color: inherit; text-decoration: none; grid-column: span 2; margin: 0; border: 0; text-align: left; font: inherit; }
a.bc { transition: box-shadow .2s; } a.bc:hover { box-shadow: 0 0 0 1px var(--line-2); }
.b-half { grid-column: span 1; }
.b-side { grid-column: span 2; display: grid; gap: 12px; align-content: start; }
.b-side .wx { margin: 0; }
.bc-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 6px; }
.bc-t { margin: 4px 0 0; font: 400 26px/1.1 var(--serif); }
.bc-t.sm { font-size: 21px; }
.bc-n { margin: 8px 0 2px; font: 400 32px/1 var(--serif); font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bc-n small { font: 400 13px var(--sans); color: var(--muted); }
.bc .bar { margin-top: 12px; }
.bar .sage { background: var(--sage); }
.bc-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; color: var(--gold); font-weight: 500; font-size: 13.5px; text-decoration: none; }
.bc-more svg { width: 15px; height: 15px; }
.bc-more.c { display: flex; justify-content: center; }
.chip-s { display: inline-block; margin-top: 12px; padding: 4px 10px; border-radius: 999px; background: var(--paper); font-size: 12px; color: var(--sage); font-weight: 500; }
.chip-s.warn { color: var(--rust); }
/* hero */
.b-hero { position: relative; padding: 0; overflow: hidden; min-height: 340px; display: flex; align-items: flex-end; background: linear-gradient(160deg, var(--gold-bg), var(--paper-2)); }
.b-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.b-hero:not(.noimg)::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.62)); }
.b-hero-t { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; width: 100%; padding: 22px 20px 20px; }
.b-hero:not(.noimg) .b-hero-t { color: #fff; }
.b-venue { margin: 0; font: italic 400 27px/1.05 var(--serif); }
.b-date { margin: 6px 0 0; font-size: 13px; opacity: .9; }
.b-add { margin: 10px 0 0; font-size: 13px; color: var(--gold); }
.b-count { margin: 0; display: grid; justify-items: end; flex: none; }
.b-count .num { font-size: clamp(76px, 22vw, 132px); line-height: .8; color: inherit; }
.b-count small { margin-top: 6px; font-size: 12.5px; opacity: .9; }
.b-cam { position: absolute; top: 12px; right: 12px; z-index: 2; background: rgba(255,255,255,.85); color: #1b1b19; cursor: pointer; overflow: hidden; }
.b-cam input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
/* tasks ring */
.ring-s { position: relative; display: grid; place-items: center; width: 54px; height: 54px; flex: none; }
.ring-s svg { position: absolute; inset: 0; width: 54px; height: 54px; }
.ring-s .r-bg { fill: none; stroke: var(--paper-2); stroke-width: 4; }
.ring-s .r-fg { fill: none; stroke: var(--gold); stroke-width: 4; stroke-linecap: round; }
.ring-s b { font-size: 11.5px; font-weight: 600; }
.b-tasks .tasks.compact .task:last-child { border-bottom: 0; }
/* big day, story */
.b-day, .b-story { display: flex; gap: 14px; align-items: flex-start; }
.b-day { background: var(--gold-bg); }
.b-day .btn { margin-top: 12px; }
.b-day .muted { margin: 4px 0 0; font-size: 13.5px; }
.b-ic { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--card); color: var(--gold); }
.b-day .b-ic { background: var(--card); }
.b-story { align-items: center; cursor: pointer; }
.b-story > span:nth-child(2) { flex: 1; }
.b-story b { display: block; font-weight: 500; }
.b-story small { display: block; margin-top: 3px; color: var(--muted); font-size: 13px; }
.b-story > svg { color: var(--gold); }
.b-story .b-ic { background: var(--paper); }
/* avatars */
.avs { display: flex; align-items: center; margin: 10px 0 0; }
.avs .av { width: 30px; height: 30px; margin-right: -7px; border: 2px solid var(--card); font: 600 10px/1 var(--sans); color: #fff; }
.avs .a0 { background: #6a83a8; } .avs .a1 { background: #4f6a55; } .avs .a2 { background: #9c7b58; } .avs .a3 { background: #34507a; }
.avs small { margin-left: 12px; font-size: 12px; font-weight: 500; color: var(--ink-2); }
/* next payment */
.pay-row { display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; align-items: center; margin-bottom: 14px; }
.pay-th { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: var(--paper); color: var(--gold); object-fit: cover; }
.pay-row .bc-t { margin: 2px 0 0; }
.pay-row .muted { margin: 2px 0 0; }
.btn.wide { width: 100%; }
/* attention */
.b-att .att { margin-top: 6px; }
.b-att .att a { justify-content: flex-start; }
.b-att .att a span { flex: 1; }
.b-att .att a i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: #c9a24e; }
.b-att .att li.warn a i { background: var(--rust); }
.b-line { padding-top: 14px; }
.b-line .ln-track::after { background: var(--card); }
@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .b-hero { grid-column: span 2; grid-row: span 2; min-height: 520px; }
  .b-side { grid-column: span 2; }
  .b-line, .b-pay, .b-att, .b-book { grid-column: span 2; }
  .b-day, .b-story { grid-column: span 2; }
}
@media (min-width: 1200px) { .b-count .num { font-size: 150px; } }
.b-side > .bc, .b-side > .block { grid-column: auto; }

/* ---------- summary cards, round 2 (30.11., after Meli's screenshot of the competitor's desktop) ---------- */
.bc-t.it { font-style: italic; font-size: 30px; }
.b-budget, .b-guests, .b-pays, .b-tables { grid-column: span 2; }
.bb { display: grid; grid-template-columns: 128px 1fr; gap: 18px; align-items: center; margin-top: 14px; }
.bb-ring { position: relative; width: 128px; height: 128px; }
.bb-ring svg { width: 100%; height: 100%; }
.bb-ring span { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.bb-ring b { font: 400 18px/1 var(--serif); font-variant-numeric: lining-nums; }
.bb-ring small { font-size: 10.5px; color: var(--muted); margin-top: 3px; }
.bb-l { list-style: none; margin: 0; padding: 0; font-size: 12.5px; }
.bb-l li { display: grid; grid-template-columns: 8px 1fr auto; gap: 8px; align-items: center; padding: 3px 0; }
.bb-l i { width: 8px; height: 8px; border-radius: 2px; }
.bb-l span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); }
.bb-l b { font-weight: 500; font-variant-numeric: tabular-nums; }
.g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 16px 0 0; }
.g3 p { margin: 0; }
.g3 b { display: block; font: 400 30px/1 var(--serif); font-variant-numeric: lining-nums; }
.g3 b.c-yes { color: var(--gold); }
.g3 span { font-size: 12px; color: var(--muted); }
.b-guests .avs { flex-wrap: wrap; margin-top: 16px; }
.b-guests .avs .sent { flex-basis: 100%; margin: 8px 0 0; font-weight: 400; color: var(--muted); }
.pl { list-style: none; margin: 14px 0 0; padding: 0; }
.pl li { position: relative; display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: start; padding: 8px 0; }
.pl li:not(:last-child)::before { content: ""; position: absolute; left: 8.5px; top: 28px; bottom: -6px; width: 1px; background: var(--line-2); }
.pl-dot { width: 18px; height: 18px; margin-top: 2px; padding: 0; border-radius: 50%; border: 1.5px solid #c9a24e; background: var(--card); cursor: pointer; }
.pl li.first .pl-dot { background: var(--gold); border-color: var(--gold); }
.pl li.late .pl-dot { border-color: var(--rust); }
.pl-dot:hover { box-shadow: 0 0 0 3px var(--gold-bg); }
.pl b { display: block; font-weight: 500; font-size: 14px; }
.pl span { font-size: 12px; color: var(--muted); }
.pl li.late span { color: var(--rust); }
.pl em { font-style: normal; font-weight: 500; font-variant-numeric: tabular-nums; }
.minis { list-style: none; margin: 16px 0 6px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 8px; }
.minis li { display: grid; justify-items: center; gap: 4px; min-width: 0; }
.minis svg { width: 64px; height: 64px; }
.minis .tb { fill: var(--paper-2); }
.minis circle:not(.tb) { fill: var(--paper-2); }
.minis circle.on { fill: var(--gold); }
.minis span { font-size: 12.5px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.minis small { font-size: 11px; color: var(--muted); }
.qchips { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; }
.qchips a { padding: 7px 13px; border-radius: 999px; background: var(--paper); color: var(--ink); text-decoration: none; font-size: 13px; }
.qchips a:hover { background: var(--paper-2); }
.rail-days { display: block; margin-top: 10px; font: italic 400 24px/1 var(--serif); color: var(--gold); }
@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .b-hero { grid-column: span 3; }
  .b-side { grid-column: span 3; }
  .b-line, .b-day { grid-column: span 3; }
  .b-budget, .b-guests, .b-pays { grid-column: span 2; }
  .b-tables, .b-book, .b-att, .b-story { grid-column: span 3; }
  .minis { grid-template-columns: repeat(6, 1fr); }
  .bb { grid-template-columns: 112px 1fr; } .bb-ring { width: 112px; height: 112px; }
}
@media (min-width: 900px) and (max-width: 1180px) { .b-budget, .b-guests, .b-pays { grid-column: span 3; } .b-pays { grid-column: span 6; } }
@media (min-width: 900px) {
  .b-hero { grid-row: auto; }
  .b-att { grid-column: span 6; }
  .b-att .att { columns: 2; column-gap: 32px; }
  .b-att .att li { break-inside: avoid; }
  .b-day, .b-story { grid-column: span 3; }
}
/* settings: cards flow in two columns without holes under the short ones (Meli 30.11.: too much space) */
@media (min-width: 1000px) {
  .set { display: block; columns: 2; column-gap: 16px; }
  .set > .block { display: inline-block; width: 100%; margin: 0 0 16px; break-inside: avoid; vertical-align: top; }
}
.set .hint + .fld, .set .hint + label { margin-top: 14px; }
.set .pills + .fld { margin-top: 14px; }
