/* A pillow at night. Amber is one parent, sea-green the other, violet the student; the person's colour is the only
   colour on the page. Optima speaks one sentence per page; everything to be read is Avenir Next. */
/* Where there is no Optima (Android, Windows) its open-licence cousin stands in, from this same place. */
@font-face { font-family: Marcellus; src: url(/marcellus.woff2) format('woff2'); font-display: swap; }
:root { --moon: #E9EDF3; --mist: #B3B2C0; --deep: rgba(8,6,12,.42); --line: rgba(255,245,240,.13); --edge: #8B8A9C; --dusk: #131017; --sheet: #1A161F; --a: #F4A95B; --b: #58C6C9; --c: #B9A2F2;
  --display: Optima, Marcellus, sans-serif; --text: "Avenir Next", "Segoe UI", Roboto, system-ui, sans-serif; color-scheme: dark; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--dusk); -webkit-text-size-adjust: 100%; scrollbar-color: #4a4552 var(--dusk); }
::selection { background: #E9EDF3; color: #000; }
::placeholder { color: var(--mist); opacity: 1; }
input, textarea { caret-color: var(--moon); }
body { margin: 0; background: none; color: var(--moon); font: 400 16px/1.5 var(--text); font-variant-numeric: tabular-nums; overflow-x: hidden; }
h1, h2, p, ul, dl, dd { margin: 0; padding: 0; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--moon); outline-offset: 2px; border-radius: 6px; }
/* The same three people in charts: a step deeper, checked for colour-blind readers against black. */
.seat-a { --seat: var(--a); --mark: #C97A2A; } .seat-b { --seat: var(--b); --mark: #1C9A98; } .seat-c { --seat: var(--c); --mark: #8B6BE0; }
.who, b.seat-a, b.seat-b, p.seat-a, p.seat-b { color: var(--seat); }
small { color: var(--mist); font-size: 14px; }
.lead, .aside { color: var(--mist); }
.aside { font-size: 14px; margin-top: 20px; }
html, body { overflow-x: clip; } main { max-width: 1080px; margin: 0 auto; padding: 0 20px calc(120px + env(safe-area-inset-bottom)); }

.sky { position: fixed; inset: -12vh -12vw; z-index: -1; pointer-events: none; overflow: hidden; background: radial-gradient(60% 46% at 50% 0, #211a24, transparent); }
.sky i { position: absolute; width: 88vmax; height: 88vmax; border-radius: 50%; will-change: transform; }
/* Two sides and what they make between them. Further down the page they have moved into one another. */
.sky .one { left: -26vmax; top: -22vmax; background: radial-gradient(closest-side, rgba(176,98,56,.46), rgba(140,74,52,.2) 48%, transparent); transform: translate3d(calc(var(--s, 0) * 34vw), calc(var(--s, 0) * 26vh), 0); opacity: calc(1 - var(--s, 0) * .3); }
.sky .two { right: -26vmax; top: -18vmax; background: radial-gradient(closest-side, rgba(38,122,134,.46), rgba(34,92,114,.2) 48%, transparent); transform: translate3d(calc(var(--s, 0) * -34vw), calc(var(--s, 0) * 44vh), 0); opacity: calc(1 - var(--s, 0) * .3); }
.sky .third { left: 50%; top: 30%; margin-left: -44vmax; background: radial-gradient(closest-side, rgba(104,82,168,.4), transparent); opacity: calc(.16 + var(--s, 0) * .84); }
select option { background: var(--sheet); }
.demo { display: flex; gap: 14px; align-items: center; justify-content: center; flex-wrap: wrap; padding: 8px 16px; font-size: 14px; color: var(--mist); background: var(--deep); }
.demo button { color: var(--seat); padding: 4px 2px; border-bottom: 2px solid transparent; }
.demo button[aria-pressed=true] { border-color: var(--seat); }
.bar { max-width: 1080px; margin: 0 auto; padding: calc(14px + env(safe-area-inset-top)) 20px 10px; display: flex; align-items: center; gap: 28px; }
.mark { font: 400 19px/1.2 var(--display); flex: 1; min-width: 0; min-height: 44px; display: flex; gap: 12px; align-items: center; } .mark img { width: 40px; height: 30px; flex: none; } .mark span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
nav { display: flex; gap: 24px; }
nav button { color: var(--mist); padding: 10px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
nav button[aria-current] { color: var(--moon); border-color: var(--moon); }
nav sup { color: #000; background: var(--moon); border-radius: 9px; padding: 0 6px; margin-left: 5px; font-size: 12px; font-weight: 600; }
.add, .go, .soft-go, .pill { min-height: 46px; border-radius: 999px; padding: 10px 26px; text-align: center; white-space: nowrap; transition: background .18s, border-color .18s, transform .18s; }
.add, .go { background: var(--moon); color: #000; font-weight: 600; } .add:hover, .go:hover { background: #fff; }
.soft-go, .pill { border: 1px solid var(--edge); font-weight: 500; } .soft-go:hover, .pill:hover { border-color: var(--moon); background: rgba(255,245,240,.06); }
.add:active, .go:active, .soft-go:active, .pill:active { transform: scale(.98); } .pill { padding: 10px 20px; }
.quiet { color: var(--moon); text-decoration: underline; text-decoration-color: #7b879c; text-underline-offset: 5px; padding: 10px 0; }
.quiet:hover { text-decoration-color: var(--moon); }

/* Two pillows, and the third between them */
.pillow { position: relative; width: min(660px, 100%); margin: 0 auto; } .pillow svg { display: block; width: 116%; margin: -3% -8% -2%; overflow: visible; }
.names { position: absolute; inset: 0; } .names b { position: absolute; top: 50%; transform: translate(-50%, -54%); font: 500 clamp(17px, 2.3vw, 24px)/1.2 var(--text); color: #FFFBF7; text-shadow: 0 1px 12px rgba(30,16,32,.5); max-width: 27%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .names b:nth-child(1) { left: 22%; } .names b:nth-child(2) { left: 50%; } .names b:nth-child(3) { left: 78%; }
.between { display: flex; gap: 10px 24px; align-items: center; justify-content: space-between; margin-top: 30px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); } .between b { font-weight: 500; } .between small { display: block; }
.greet { text-align: center; color: var(--mist); margin-top: 30px; } .greet + h1 { margin-top: 10px; }
.thanks { text-align: center; color: var(--c); margin: -18px auto 40px; }
.actions.mid { justify-content: center; }
h3 { font: 500 16px/1.4 var(--text); color: var(--mist); margin: 26px 0 0; } .cared:first-child h3 { margin-top: 10px; } .cared + .plans { margin-top: 30px; } .plannotes p { color: var(--mist); overflow-wrap: anywhere; } .plannotes p span { margin-right: 4px; } .gifts li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); } .quick { margin: 18px 0; align-items: center; } .quick small { width: 100%; } .amount-row.one { grid-template-columns: 1fr; }
h1 { font: 400 clamp(29px, 4.3vw, 46px)/1.14 var(--display); text-align: center; text-wrap: balance; margin: 22px 0 8px; }
.next { color: var(--mist); text-align: center; max-width: 60ch; margin: 0 auto; text-wrap: pretty; }
h2 { font: 600 17px/1.35 var(--text); }
.hero { margin-bottom: 44px; } .hero .actions.mid { margin-top: 18px; }
.cols { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 0 72px; }
section { margin-bottom: 48px; } section.hero { margin-bottom: 44px; } .hero .actions.mid { margin-top: 18px; }
section > header .quiet { margin: -10px 0; } section > header + .rows, section > header + .plans, h2 + .rows { margin-top: 6px; }
section > header { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }

.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--seat); box-shadow: 0 0 10px var(--seat); flex: none; display: inline-block; }
.rows { margin-top: 8px; }
.row button { display: flex; width: 100%; gap: 14px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); }
.row:hover button { border-color: #46516a; }
.what { flex: 1; min-width: 0; } .what b, .sum b { display: block; font-weight: 500; overflow-wrap: anywhere; } .what small, .sum small { display: block; }
.sum { text-align: right; white-space: nowrap; }
.gone b { text-decoration: line-through; color: var(--mist); }
.plans { margin-top: 8px; }
.plan { display: flex; align-items: center; gap: 18px; border-bottom: 1px solid var(--line); } .plan .open { flex: 1; min-width: 0; display: flex; gap: 14px; align-items: center; padding: 13px 0; } .plan:hover { border-color: #46516a; }
.plan.late small { color: var(--moon); font-weight: 500; } .dot.none { background: none; box-shadow: inset 0 0 0 1.5px #66728a; }
.acts { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 6px; align-items: center; }
.acts button:not(.pill) { padding: 10px 0; text-decoration: underline; text-decoration-color: #7b879c; text-underline-offset: 5px; }
.acts .soft { color: var(--mist); text-decoration-color: var(--edge); }
.acts button.go, .acts button.pill { text-decoration: none; } .acts .go:not(.x) { padding: 10px 26px; }
.accounts li { display: grid; grid-template-columns: 1fr auto; padding: 10px 0; border-bottom: 1px solid var(--line); } .accounts b { font-weight: 500; text-align: right; } .accounts small { grid-column: 2; text-align: right; }

.filters { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; margin: 14px 0 34px; }
.filters input[type=search] { flex: 1 1 200px; } .filters select { width: auto; }
.month header p { color: var(--mist); font-size: 14px; }
.empty { text-align: center; padding: 60px 0; color: var(--mist); }
.soon, .family { max-width: 720px; margin: 22px auto 0; } .soon .plans { margin-top: 30px; }
.people li, .devices li { display: flex; gap: 14px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); } .people span, .devices span { flex: 1; } .people b { font-weight: 500; } .people span small, .devices span small { display: block; }
.past li { padding: 9px 0; border-bottom: 1px solid var(--line); } .past small { display: block; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 0 16px; } .line { display: flex; gap: 18px; align-items: flex-end; } .line .field { flex: 1; } .line .quiet { margin-bottom: 14px; }
details.more { margin-top: 14px; } details.more summary { color: var(--mist); cursor: pointer; padding: 8px 0; } details.more summary:hover { color: var(--moon); }

input:not([type=checkbox]), select, textarea { width: 100%; background: var(--deep); border: 1px solid var(--edge); border-radius: 16px; padding: 11px 15px; min-height: 46px; }
input:focus, select:focus, textarea:focus { border-color: var(--moon); outline: 1px solid var(--moon); outline-offset: 0; }
select { appearance: none; -webkit-appearance: none; padding-right: 38px; text-overflow: ellipsis; 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='%23B3B2C0' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; background-size: 12px 8px; }
textarea { resize: vertical; white-space: pre; }
.field { display: block; margin: 16px 0; } .field > span { display: block; color: var(--mist); font-size: 14px; margin-bottom: 6px; } .field small { display: block; margin-top: 5px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; } .three { display: grid; grid-template-columns: 1.4fr .9fr 1fr; gap: 0 12px; }
.tick { display: flex; gap: 10px; align-items: center; color: var(--mist); padding: 8px 0; } .tick input { width: 19px; height: 19px; accent-color: var(--moon); }
.four { display: grid; grid-template-columns: 1.3fr 1.2fr .9fr 1fr; gap: 0 12px; } fieldset.person { border: 0; padding: 0; margin: 18px 0 0; } .person legend { font-weight: 500; padding: 0; } .person .field { margin: 8px 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--edge); border-radius: 999px; padding: 8px 15px; min-height: 44px; color: var(--mist); } .chip:hover { border-color: var(--moon); color: var(--moon); } .chip[aria-checked=true]:hover { color: #000; border-color: transparent; }
.chip[aria-checked=true] { color: #000; background: var(--seat, var(--moon)); border-color: transparent; font-weight: 500; }
.actions { display: flex; flex-wrap: wrap; gap: 12px 26px; align-items: center; margin-top: 24px; }

.sheet form > .actions { position: sticky; bottom: 0; margin: 12px -28px 0; padding: 18px 28px 6px; background: linear-gradient(transparent, var(--sheet) 30%); }
dialog { border: 0; padding: 0; margin: auto; width: min(560px, 100vw); max-height: min(92vh, 92dvh); background: var(--sheet); color: var(--moon); border-radius: 30px; overflow: auto; overscroll-behavior: contain; box-shadow: 0 0 0 1px var(--line), 0 30px 90px rgba(0,0,0,.9); }
dialog::backdrop { background: rgba(0,0,0,.72); }
.sheet { position: relative; padding: 30px 28px calc(28px + env(safe-area-inset-bottom)); }
.sheet h2 { font: 400 25px/1.25 var(--display); padding-right: 44px; margin-bottom: 6px; }
.sheet:focus { outline: none; } .twin { color: var(--moon); font-weight: 500; display: block; }
.x { position: absolute; right: 16px; top: 18px; width: 44px; height: 44px; font-size: 27px; line-height: 1; text-align: center; color: var(--mist); } .x:hover { color: var(--moon); }
.options { margin-top: 14px; } .option { display: block; width: 100%; padding: 14px 0; border-bottom: 1px solid var(--line); } .option b { display: block; font-weight: 500; font-size: 17px; } .option span { color: var(--mist); font-size: 14px; } .option:hover { border-color: var(--mist); }
.amount-row { display: grid; grid-template-columns: 1fr 104px; gap: 12px; margin: 18px 0 6px; }
input.amount:not([type=checkbox]) { font: 400 38px/1.1 var(--display); padding: 10px 14px; }
.preview { min-height: 48px; margin-top: 16px; color: var(--mist); } .preview b { color: var(--moon); font-weight: 500; }
.warn { border: 1px solid var(--edge); border-radius: 16px; padding: 12px 18px; margin-top: 12px; }
.entry .big { font: 400 46px/1.1 var(--display); } .entry h2 { margin-top: 8px; } .entry .lead { display: flex; gap: 10px; align-items: center; }
dl { margin-top: 20px; } dl div { display: flex; justify-content: space-between; gap: 24px; padding: 9px 0; border-bottom: 1px solid var(--line); } dt { color: var(--mist); } dd { text-align: right; }
.notes { margin-top: 18px; } .notes li { padding: 8px 0; } .notes p { white-space: pre-wrap; overflow-wrap: anywhere; }
.say { display: flex; gap: 16px; margin: 18px 0 10px; }
.lines { max-height: 300px; overflow: auto; margin: 14px 0; } .lines li { display: flex; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); align-items: center; } .lines .w { flex: 1; min-width: 0; overflow-wrap: anywhere; } .lines .d { color: var(--mist); width: 62px; flex: none; } .lines .guess { font-style: italic; } .lines b { font-weight: 500; white-space: nowrap; } .x2 { width: 44px; height: 44px; margin: -6px 0; text-align: center; color: var(--mist); }
.code { font: 400 26px/1.3 var(--display); margin: 12px 0; overflow-wrap: anywhere; user-select: all; } .code.link { font-size: 17px; }
#toast { width: max-content; position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); transform: translate(-50%, 16px); background: var(--moon); color: #000; border-radius: 999px; padding: 11px 24px; opacity: 0; pointer-events: none; transition: .22s; max-width: calc(100vw - 32px); z-index: 9; }
#toast.on { opacity: 1; transform: translate(-50%, 0); } #toast.bad { border-radius: 18px; font-weight: 500; }
.begin { max-width: 560px; } .begin h1 { text-align: left; margin: 4px 0 10px; } .begin h2 { margin-top: 40px; } .codein { text-align: center; }
.pillow.low { width: min(420px, 78%); } .count { color: var(--mist); font-size: 14px; margin-top: 6px; } .begin form { margin-top: 26px; } .begin dl { margin: 6px 0 26px; } .begin .actions { margin-top: 30px; }
.no { color: var(--moon); font-weight: 500; min-height: 1.5em; margin-top: 10px; } .gap { margin-top: 18px; }
.guide { margin: 0 auto; } .guide p { text-wrap: pretty; max-width: 58ch; } .guide p + p { margin-top: 12px; } .guide .big { font: 400 24px/1.3 var(--display); margin: 8px 0 12px; } .guide .done { margin-top: 18px; color: var(--moon); } .guide .moment { margin-top: 20px; }
.moment .line { justify-content: flex-start; flex-wrap: wrap; } .moment .line .field { flex: 0 0 150px; } .moment .line .soft-go { margin-bottom: 16px; } .moment .preview { min-height: 0; margin-top: 0; } .moment .preview a { color: var(--moon); }
.letter { margin: 18px 0 0; padding: 14px 18px; background: var(--deep); border-radius: 16px; } .steps3 { margin: 14px 0 6px; padding-left: 22px; } .steps3 li { padding: 5px 0 5px 6px; } .steps3 li::marker { color: var(--mist); }
.firststeps { max-width: 860px; margin: 0 auto 52px; } .firststeps > header span { color: var(--mist); font-size: 14px; } .firststeps .plan .open { padding: 14px 0; } .firststeps .done b { color: var(--mist); font-weight: 400; } .firststeps .pill { min-width: 104px; } .dot.lit { background: var(--moon); box-shadow: 0 0 10px rgba(255,255,255,.7); } .firststeps .acts { margin-top: 10px; gap: 4px 26px; }

/* The front page */
.door { max-width: 1080px; text-align: center; } .word { display: block; height: auto; width: 150px; } .word.big { width: clamp(264px, 48vw, 560px); margin: 0 auto; }
.logo { display: block; width: clamp(626px, 94.5vw, 1233px); max-width: none; height: auto; margin: clamp(-98px, -7.6vw, -34px) 0 clamp(-48px, -3.6vw, -6px); } .first { min-height: min(94svh, 880px); display: flex; flex-direction: column; align-items: center; justify-content: center; padding-bottom: 6vh; } .first h1 { margin: 0; line-height: 0; display: flex; justify-content: center; width: 100vw; }
.door .first .line { font: 400 clamp(20px, 2.5vw, 27px)/1.3 var(--display); text-wrap: balance; } .door .first .next { max-width: 60ch; margin-top: 12px; text-wrap: balance; font-size: 18px; } .wayin { margin-top: 30px; display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; } .wayin small { display: block; } .wayin > form, .wayin details { width: min(420px, 100%); } .wayin details summary { text-align: center; } .codeform .go { margin-top: 2px; }
.door > section { margin-bottom: 28px; } .door h2 { font: 400 clamp(25px, 3.2vw, 34px)/1.2 var(--display); text-wrap: balance; }
.fan > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; min-height: 44px; } .fan > summary::-webkit-details-marker { display: none; } .fan > summary::after { content: ''; flex: none; width: 9px; height: 9px; border: solid var(--mist); border-width: 0 1.6px 1.6px 0; transform: translateY(-3px) rotate(45deg); transition: transform .22s; } .fan[open] > summary::after { transform: translateY(2px) rotate(225deg); } .fan > summary:hover::after { border-color: var(--moon); }
.forus { margin-top: 18px; width: min(820px, 100%); scroll-margin: 24px; } .forus > summary { justify-content: center; width: max-content; max-width: 100%; margin: 0 auto; padding: 0 10px; color: var(--mist); } .forus > summary:hover { color: var(--moon); } .fan[open] > :not(summary) { animation: unfold .3s cubic-bezier(.2,.8,.2,1); }
.ask { position: relative; text-align: left; margin-top: 20px; padding-right: 54%; } .ask section { margin: 0 0 22px; } .door .ask h2 { font: 600 14px/1.4 var(--text); color: var(--mist); margin-bottom: 4px; }
.ask button { position: relative; width: 100%; min-height: 42px; padding: 6px 0 6px 24px; font-size: 18px; color: #D8D3DA; transition: color .2s, opacity .2s; } .ask button::before { content: ''; position: absolute; left: 3px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; box-shadow: inset 0 0 0 1.4px var(--edge); transition: background .2s, box-shadow .2s; }
.ask li.on button, .ask li.on p { color: #CDBBFA; } .ask li.on button::before { background: #CDBBFA; box-shadow: 0 0 12px 2px rgba(205,187,250,.45); } .ask:hover li:not(.on) button, .ask:focus-within li:not(.on) button { opacity: .62; }
.ask p { display: none; position: absolute; right: 0; top: 50%; width: 46%; transform: translateY(-50%); font: 400 25px/1.36 var(--display); color: var(--moon); text-wrap: pretty; } .ask li.on p { display: block; animation: unfold2 .35s cubic-bezier(.2,.8,.2,1); } @keyframes unfold2 { from { opacity: 0; filter: blur(4px); } }
@keyframes unfold { from { opacity: 0; transform: translateY(-6px); } }
.bring { margin: 0 0 20px; font-size: 14px; display: flex; flex-wrap: wrap; gap: 0 14px; justify-content: center; align-items: center; color: var(--mist); } .bring p { margin: 0; }
footer { margin-top: 72px; } .brandline { display: flex; gap: 14px; align-items: center; justify-content: center; opacity: .86; } .brandline img:first-child { width: 48px; height: auto; } .brandline .word { width: 112px; }
.invited { max-width: 620px; } .invited .word { margin: 4px auto 0; width: 132px; } .invited h1 { margin-top: 22px; } .promise { text-align: left; max-width: 460px; margin: 26px auto 0; } .promise li { padding: 12px 0; border-top: 1px solid var(--line); color: #D8D3DA; } .promise li:last-child { border-bottom: 1px solid var(--line); } .promise b { color: var(--moon); font-weight: 500; }

.only { color: var(--c); font-size: 14px; } .private:not(:empty) { border: 1px solid #6f5fa3; border-radius: 16px; padding: 12px 18px; margin: 18px 0; } .private .chips { margin-top: 8px; }
.catbars.still li { display: grid; grid-template-columns: 1fr auto; padding: 10px 0 12px; gap: 5px 14px; } .steps span { color: var(--mist); } .mine .headline h1 { font-size: clamp(34px, 6vw, 58px); } .small { font-size: 14px; } h2 + .lead { margin-top: 4px; }
.wishes { display: grid; gap: 30px; margin-top: 14px; } .wish .top { display: flex; gap: 16px; } .wish .track { display: block; margin: 8px 0 6px; background: var(--line); border-radius: 4px; height: 8px; } .wish .segs { border-radius: 4px; overflow: hidden; } .moonlit { background: #E9EDF3 !important; } .wish.full .track { box-shadow: 0 0 22px rgba(185,162,242,.55); }
.under { box-shadow: 0 0 34px rgba(255,255,255,.4); } .found { text-align: center; padding: 26px 0 10px; } .found > div + div { margin-top: 34px; } .found .big { font: 400 54px/1.1 var(--display); text-shadow: 0 0 50px rgba(185,162,242,.9); margin-bottom: 8px; }

/* What a parent wants to know in one look */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; margin: 40px 0 0; } .fact { border-top: 1px solid var(--line); padding-top: 12px; } .fact span, .fact b, .fact small { display: block; } .fact span { color: var(--mist); font-size: 14px; } .fact .dot { margin-right: 8px; } .fact b { font-weight: 500; font-size: 19px; line-height: 1.35; } 
.nudge { border: 1px solid var(--edge); border-radius: 20px; padding: 12px 22px; display: flex; gap: 6px 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; } .nudge p { color: var(--mist); } .nudge b { color: var(--moon); font-weight: 500; } section.nudge { max-width: 860px; margin: 0 auto 44px; }
.code.spare { font-size: clamp(20px, 5.4vw, 27px); letter-spacing: .02em; background: var(--deep); border-radius: 18px; padding: 16px 18px; text-align: center; line-height: 1.5; }

details.fold { border-bottom: 1px solid var(--line); } details.fold > summary { font-weight: 600; font-size: 17px; padding: 16px 0; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; } details.fold > summary::-webkit-details-marker { display: none; } details.fold > summary small { font-weight: 400; } details.fold[open] > summary small { visibility: hidden; } details.fold > div { padding-bottom: 26px; } .folds { border-top: 1px solid var(--line); } .family > p:first-child { margin-bottom: 26px; }

/* How it works */
.how { max-width: 680px; margin: 0 auto; } .how h1 { text-align: left; } .how section { margin: 40px 0; } .how section p { margin-top: 8px; color: #D8D3DA; } .plainlist { margin-top: 12px; } .plainlist li { padding: 9px 0; border-bottom: 1px solid var(--line); color: #D8D3DA; }
.sees { margin-top: 10px; } .sees th:first-child { color: #D8D3DA; padding-right: 16px; } .ladder { margin: 12px 0; } .ladder li { display: grid; grid-template-columns: 84px 1fr minmax(76px, auto); gap: 14px; align-items: center; padding: 4px 0; font-size: 16px; } .ladder span:first-child { color: var(--mist); } .ladder .track { grid-column: auto; height: 8px; } .ladder .segs { border-radius: 4px; overflow: hidden; } .ladder b { font-weight: 500; text-align: right; }

/* Importing */
.drop { display: block; width: 100%; text-align: center; border: 1.5px dashed var(--edge); border-radius: 22px; padding: 26px; margin: 16px 0 4px; } .drop b { display: block; font-weight: 500; font-size: 18px; } .drop span { color: var(--mist); } .drop:hover, .drop.over { border-color: var(--moon); }
.or { margin: 18px 0 10px; } dialog:has(.wide) { width: min(760px, 100vw); }
.import { margin: 16px 0; } .import li { display: flex; gap: 6px 12px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); } .import .tick { padding: 0; } .import .w { flex: 1; min-width: 0; } .import .w b, .import .w small { display: block; overflow-wrap: anywhere; } .import b { font-weight: 500; } .import .m { display: grid; grid-template-columns: auto 168px; gap: 12px; align-items: center; text-align: right; } .import select { min-height: 38px; padding: 6px 10px; border-radius: 12px; font-size: 16px; } .import .off .w, .import .off .m { opacity: .55; } .import .twin { display: inline; }
.tools { display: flex; flex-wrap: wrap; gap: 4px 28px; align-items: baseline; margin-top: 14px; color: var(--mist); font-size: 16px; } .tools a { color: var(--moon); text-decoration-color: #7b879c; text-underline-offset: 5px; } .when { text-align: center; color: var(--mist); font-size: 18px; } .when + h1 { margin-top: 2px !important; } .days { max-width: 420px; margin-top: 6px; } .go:disabled { opacity: .4; cursor: default; }

/* Cleaning up */
.restwho { flex-basis: 100%; display: flex; gap: 8px 16px; align-items: center; flex-wrap: wrap; color: var(--mist); } .clean > .nudge { margin-top: 18px; }
.clean { max-width: 820px; margin: 0 auto; } .clean h1 { text-align: left; } .clean > section > h2 { margin: 34px 0 10px; }
.block { border: 1px solid var(--line); border-radius: 22px; padding: 14px 20px 8px; margin-top: 14px; } .block.asks { border-color: var(--moon); } .block.off { opacity: .62; } .block .head { align-items: flex-start; color: var(--moon); } .block .head input { margin-top: 3px; flex: none; } .block .head b { display: block; font-weight: 500; font-size: 18px; } .block .head small { display: block; } .block .field { margin: 10px 0; } .ask { color: var(--moon) !important; font-weight: 500; } .block details.more { margin-top: 2px; }
.final { border-top: 1px solid var(--line); margin-top: 44px; padding-top: 30px; } .final .chips { margin: 14px 0; } .final table { margin: 18px 0 4px; }

/* Settling */
.strip { text-align: center; max-width: 64ch; margin: -14px auto 44px; color: var(--mist); } .strip .late { color: var(--moon); } .moved { border: 1px solid var(--edge); border-radius: 16px; padding: 14px 20px; margin-bottom: 16px; color: var(--moon); text-wrap: pretty; } .moved p + p { margin-top: 6px; color: var(--mist); }
.ways { display: grid; gap: 12px; margin: 18px 0; } .way { display: block; border: 1px solid var(--edge); border-radius: 16px; padding: 14px 18px; } .way span, .way b, .way small { display: block; } .way span { color: var(--mist); font-size: 14px; } .way b { font-weight: 500; margin: 2px 0 4px; } .way[aria-checked=true] { border-color: var(--moon); box-shadow: 0 0 0 1px var(--moon); }
.way-one { font-size: 19px; margin: 16px 0; }
table { width: 100%; border-collapse: collapse; font-size: 14px; } th, td { text-align: right; padding: 7px 0 7px 10px; border-bottom: 1px solid var(--line); font-weight: 400; } th { color: var(--mist); } th:first-child { text-align: left; padding-left: 0; }

/* The dashboard */
.dashtop { display: flex; flex-wrap: wrap; gap: 12px 18px; justify-content: space-between; margin-top: 14px; } .dashtop select { width: auto; } .headline { margin: 34px 0 48px; } .headline h1 { font-size: clamp(44px, 8vw, 76px); margin: 0 0 4px; }
.dash section > header { flex-wrap: wrap; } .legend { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; color: var(--mist); } .legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--mark); margin-right: 7px; }
.catbars { margin-top: 14px; } .catbars button { display: grid; grid-template-columns: 1fr auto; width: 100%; padding: 10px 0 12px; gap: 5px 14px; } .catbars .v b { font-weight: 500; } .catbars .v small { margin-left: 8px; }
.track { grid-column: 1 / -1; position: relative; height: 14px; display: block; } .segs { display: flex; gap: 2px; height: 100%; min-width: 2px; } .segs i { background: var(--mark); min-width: 2px; flex-basis: 0; } .segs i:last-child { border-radius: 0 4px 4px 0; } .track em { position: absolute; top: -3px; bottom: -3px; width: 2px; margin-left: -2px; background: var(--moon); } .catbars button:hover .segs i, .columns button:hover i { filter: brightness(1.22); } .catbars button:hover .n { text-decoration: underline; text-underline-offset: 4px; }
.months { padding: 26px 0 0 52px; } .plot { position: relative; height: 220px; } .tick-line { position: absolute; left: 0; right: 0; height: 1px; background: rgba(255,245,240,.1); } .tick-line.base { background: #46516a; } .tick-line span { position: absolute; right: calc(100% + 10px); top: -10px; font-size: 13px; color: var(--mist); white-space: nowrap; }
.columns { position: absolute; inset: 0; display: flex; } .columns button { flex: 1; position: relative; display: flex; align-items: flex-end; justify-content: center; min-width: 0; } .columns b { position: absolute; left: 50%; transform: translateX(-50%); font-size: 13px; font-weight: 500; padding-bottom: 5px; white-space: nowrap; } .col { display: flex; flex-direction: column; gap: 2px; width: min(24px, 62%); } .col i { background: var(--mark); flex-basis: 0; min-height: 1px; } .col i:first-child { border-radius: 4px 4px 0 0; }
.xs { display: flex; margin-top: 8px; font-size: 13px; color: var(--mist); } .xs span { flex: 1; text-align: center; white-space: nowrap; } h2.gap { margin-top: 40px; }
.payers li { display: grid; grid-template-columns: auto 1fr auto 48px; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); } .payers b { font-weight: 500; } .payers small { text-align: right; }
.tip { position: fixed; z-index: 20; pointer-events: none; background: #221D28; border: 1px solid #3a4458; border-radius: 12px; padding: 10px 14px; font-size: 14px; max-width: 260px; } .tip > b { display: block; font-size: 17px; font-weight: 500; } .tip > span { color: var(--mist); } .tip div { margin-top: 5px; color: var(--mist); } .tip div b { color: var(--moon); font-weight: 500; } .tip i { display: inline-block; width: 12px; height: 3px; border-radius: 2px; background: var(--mark); margin-right: 8px; vertical-align: middle; }

/* With nothing on one side yet, the other stands in the middle. */
.cols > div:empty { display: none; } .cols:has(> div:empty) { grid-template-columns: minmax(0, 860px); justify-content: center; }

.room { margin: 16px 0 -6px; } .betweenpage form { margin: 18px 0 34px; } .betweenpage textarea { white-space: pre-wrap; } .betweenpage .notes li { padding: 16px 0; border-top: 1px solid var(--line); } .betweenpage .notes header { display: flex; justify-content: space-between; gap: 14px; } .betweenpage .notes p { font-size: 18px; margin-top: 2px; } .betweenpage .about { display: inline-block; color: var(--mist); font-size: 14px; padding: 4px 0; } .betweenpage button.about { text-decoration: underline; text-decoration-color: #7b879c; text-underline-offset: 4px; } .betweenpage .fresh p { color: #fff; font-weight: 500; }
@media (max-width: 980px) and (min-width: 761px) { nav { gap: 16px; } .bar { gap: 16px; } }
@media (max-width: 760px) {
  nav .to-dash { display: none; } nav sup { margin-left: 3px; padding: 0 5px; }
  .four { grid-template-columns: 1fr 1fr; } .begin .two, .begin .three, .sheet .three { grid-template-columns: 1fr; } .begin .three { border-bottom: 1px solid var(--line); padding-bottom: 6px; margin-bottom: 8px; } .ask { padding-right: 0; } .ask p { position: static; width: auto; transform: none; font: 400 16px/1.5 var(--text); padding: 0 0 12px 24px; color: #D8D3DA; } .ask:hover li:not(.on) button, .ask:focus-within li:not(.on) button { opacity: 1; } .ask li.on p { color: #CDBBFA; } .ask button { min-height: 46px; } .door .first .next { font-size: 16px; } .mark img { width: 34px; height: 26px; } .strip { margin-top: -18px; }
  .clean .three { grid-template-columns: 1fr; } .block { padding: 14px 16px 8px; }
  .import li { align-items: flex-start; } .import .m { grid-template-columns: 1fr; width: 128px; gap: 4px; }
  .facts { grid-template-columns: 1fr; gap: 0; margin-top: 30px; } .fact { display: grid; grid-template-columns: 1fr auto; padding: 11px 0; gap: 0 14px; align-items: baseline; } .fact span { font-size: 16px; } .fact b { font-size: 16px; text-align: right; } .fact small { grid-column: 1 / -1; text-align: right; }
  .plan { flex-wrap: wrap; gap: 0; } .plan .open { flex-basis: 100%; } .plan:has(.pill) .open { padding-bottom: 8px; } .plan .pill { margin: 0 0 14px 23px; }
  .dashtop .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -20px; padding: 2px 20px; max-width: 100vw; scrollbar-width: none; } .dashtop .chip { flex: none; }
  .cols { grid-template-columns: minmax(0, 1fr); }
  .bar { padding-bottom: 4px; }
  nav { position: fixed; z-index: 5; left: 0; right: 0; bottom: 0; justify-content: space-around; gap: 0; padding: 6px 4px calc(8px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, rgba(19,16,23,.94) 30%); font-size: 14px; }
  nav button { padding: 14px 4px 10px; }
  dialog { margin: auto 0 0; width: 100vw; max-width: 100vw; border-radius: 30px 30px 0 0; max-height: 94dvh; }
  .sheet form > .actions { margin: 12px -20px 0; padding: 18px 20px 6px; }
  .sheet { padding: 26px 20px calc(24px + env(safe-area-inset-bottom)); }
  input, select, textarea { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } .fan > *, .ask p { animation: none !important; } }
