/*
 * clearowe.com guides and calculators (built by content.py), and the privacy, terms and support pages.
 * Calm reading pages in the home page's tokens (base.css): Red Hat Display headings, the signal blue
 * for links, and one blue card per page at most (a calculator's result, or the app at the end).
 * Radius rule, as on the home page: pills for controls, 28px for large surfaces, 18px for cards and
 * tables, 14px for inputs.
 */
* { box-sizing: border-box; }
[hidden] { display: none !important; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.65 var(--body); overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: var(--accent-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
button, input, select { font: inherit; color: inherit; }
.wrap { width: min(1200px, 100%); margin: 0 auto; padding-inline: 24px; }
.wrap.narrow { width: min(808px, 100%); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; color: var(--text); text-wrap: balance; }
.icon { display: inline-block; width: 1.2em; height: 1.2em; flex: none; }
.icon svg { width: 100%; height: 100%; display: block; }
.label { margin: 0; font: 700 12px/1.2 var(--body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }

/* Header: sticky, frosted. The blur sits on a layer behind it, so the phone menu's fixed sheet still
   measures from the window rather than from the header. */
header.site { --header-h: 64px; position: sticky; top: 0; z-index: 30; isolation: isolate; border-bottom: 1px solid var(--line); }
header.site::before { content: ''; position: absolute; inset: 0; z-index: -1; background: color-mix(in srgb, var(--bg) 84%, transparent); -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px); }
header.site .wrap { height: var(--header-h); display: flex; align-items: center; gap: 10px; }
.brand { display: flex; align-items: center; gap: 10px; margin-inline-end: auto; color: var(--text); text-decoration: none; font: 700 20px/1 var(--display); letter-spacing: -0.02em; }
.brand .disc { width: 32px; height: 32px; padding: 5px; border-radius: 50%; background: #fff; color: #1B2133; box-shadow: inset 0 0 0 1px var(--line); }
.brand .disc svg { width: 100%; height: 100%; display: block; overflow: visible; }
header.site nav.main { display: flex; align-items: center; gap: 2px; }
header.site nav.main > a, header.site .menu > summary { padding: 8px 12px; border-radius: 999px; color: var(--text-2); font-size: 15px; font-weight: 600; text-decoration: none; }
header.site nav.main > a:hover, header.site .menu > summary:hover, header.site .menu[open] > summary { color: var(--text); background: var(--raised); }
.actions { display: flex; align-items: center; gap: 8px; }
.mode { width: 38px; height: 38px; padding: 0; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--text-2); cursor: pointer; }
.mode:hover { color: var(--text); }
.mode .icon { width: 18px; height: 18px; }
header.site a.get { padding: 9px 16px; border-radius: 999px; background: var(--hero-b); color: #fff; font-size: 15px; font-weight: 700; text-decoration: none; white-space: nowrap; }
header.site a.get:hover { background: var(--hero-c); }
header.site .menu-mobile > summary { color: var(--text); background: var(--surface); border: 1px solid var(--line); }
@media (max-width: 880px) {
  header.site nav.main { display: none; }
  header.site .menu-mobile { display: block; }
}
@media (max-width: 520px) { header.site a.get { display: none; } }

/* Page */
main.page { padding-block: 28px 96px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--text-3); }
.crumbs a { color: var(--text-2); text-decoration: none; }
.crumbs a:hover { color: var(--text); text-decoration: underline; }
.page h1 { margin: 18px 0 14px; font-size: clamp(36px, 5.4vw, 56px); line-height: 1.04; letter-spacing: -0.035em; }
.byline { margin: 0; color: var(--text-3); font-size: 15px; }
.lede { font-size: 20px; line-height: 1.55; color: var(--text-2); }
.article .lede { margin: 24px 0 0; }
.toc { margin: 32px 0 0; padding: 20px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
.toc ol { margin: 10px 0 0; padding-inline-start: 22px; columns: 2 240px; column-gap: 36px; }
.toc li { margin: 0; padding-block: 3px; break-inside: avoid; color: var(--text-3); font-size: 15px; line-height: 1.45; }
.toc a { color: var(--text-2); text-decoration: none; }
.toc a:hover { color: var(--accent-ink); text-decoration: underline; }

/* Reading */
.prose { margin-top: 36px; }
.prose h2 { margin: 56px 0 14px; font-size: clamp(26px, 3vw, 32px); line-height: 1.15; letter-spacing: -0.02em; scroll-margin-top: 88px; }
.prose h3 { margin: 32px 0 8px; font-size: 20px; line-height: 1.25; letter-spacing: -0.01em; }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { margin: 0 0 20px; padding-inline-start: 24px; }
.prose li { margin: 8px 0; padding-inline-start: 4px; }
.prose li::marker { color: var(--text-3); }
.prose .lede { margin: 0 0 8px; }
.prose sup { font-size: 0.7em; line-height: 0; }
.prose .meta { color: var(--text-3); font-size: 15px; }
.prose div.card { margin: 24px 0; padding: 20px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
.prose div.card p:last-child { margin: 0; }
.prose > h1:first-child { margin-top: 0; }
.message { position: relative; margin: 14px 0; padding: 16px 20px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; border-end-start-radius: 6px; }
.message .label { margin-bottom: 6px; color: var(--accent-ink); }
.message p:last-child { margin: 0; }
.message .copy { position: absolute; top: 10px; inset-inline-end: 10px; padding: 5px 12px; font-size: 13px; }
.message:has(.copy:not([hidden])) .label { padding-inline-end: 84px; }
button.copy { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text-2); font-size: 14px; font-weight: 600; line-height: 1.2; cursor: pointer; }
button.copy:hover { color: var(--text); border-color: color-mix(in srgb, var(--text) 22%, transparent); }
button.copy .icon { width: 16px; height: 16px; }
button.copy.done { color: var(--owed); }
.table { margin: 20px 0 24px; overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; font-variant-numeric: tabular-nums; }
.prose th, .prose td { padding: 12px 16px; text-align: start; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose thead th { color: var(--text-3); font-size: 13px; font-weight: 700; white-space: nowrap; }
.prose tbody tr:last-child td { border-bottom: 0; }
.doc .prose th { color: var(--text-3); font-weight: 700; }
pre.template { margin: 16px 0 12px; padding: 22px 24px; overflow-x: auto; white-space: pre-wrap; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); color: var(--text); font: 15px/1.7 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.formula { margin: 18px 0 20px; padding: 16px 20px; overflow-x: auto; white-space: nowrap; border-radius: 14px; background: var(--accent-soft); color: var(--text); font-size: 17px; font-weight: 600; }

/* Questions, more reading, the app */
.faq { margin-top: 64px; }
.faq h2, .related h2, .also h2 { margin: 0 0 12px; font-size: clamp(24px, 2.6vw, 28px); line-height: 1.2; letter-spacing: -0.02em; }
.faq details { padding-block: 18px; border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; font-size: 18px; font-weight: 700; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; color: var(--accent); font-size: 24px; line-height: 1; transition: transform 0.25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 10px 0 0; max-width: 68ch; color: var(--text-2); }
.related { margin-top: 64px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.card { display: grid; align-content: start; gap: 8px; padding: 20px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); color: var(--text); text-decoration: none; transition: transform 0.25s var(--ease), border-color 0.25s; }
a.card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.card .kind { font: 700 12px/1.2 var(--body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-ink); }
.card b { font: 700 19px/1.25 var(--display); letter-spacing: -0.01em; }
.card span:last-child { color: var(--text-2); font-size: 15px; line-height: 1.5; }
.cta { margin-top: 64px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 32px; border-radius: var(--r-lg); color: var(--on-hero); background: linear-gradient(150deg, var(--hero-a), var(--hero-b) 55%, var(--hero-c)); }
.cta > div { display: grid; gap: 8px; max-width: 52ch; }
.cta .label { color: var(--on-hero-2); }
.cta .big { margin: 0; font: 700 clamp(26px, 3.2vw, 34px)/1.1 var(--display); letter-spacing: -0.025em; }
.cta p { margin: 0; color: var(--on-hero-2); }
.cta .button { padding: 12px 22px; border-radius: 999px; background: #fff; color: #1638B8; font-weight: 700; text-decoration: none; white-space: nowrap; transition: transform 0.25s var(--ease); }
.cta .button:hover { transform: translateY(-1px); }
.cta .button:active { transform: scale(0.98); }
.hub .lede { max-width: 62ch; margin: 0 0 32px; }
.also { margin-top: 56px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { padding: 9px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--text); font-size: 15px; font-weight: 600; text-decoration: none; }
.pill:hover { border-color: var(--accent); color: var(--accent-ink); }

footer.site { padding-block: 56px 64px; border-top: 1px solid var(--line); color: var(--text-3); }
footer.site .small { margin: 40px 0 0; font-size: 14px; }

/* Calculators: the inputs on a card, the answer on the blue card beside them (below, on phones). */
.calculator .prose { margin-top: 8px; }
.narrow-col { max-width: 760px; }
.prose.wide > :not(.calc) { max-width: 760px; }
.calc { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr); gap: 20px; align-items: start; margin: 28px 0 16px; }
.calc.trip { grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.75fr); }
.calc .inputs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; align-content: start; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.field { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
fieldset.field { display: block; }
.field.full { grid-column: 1 / -1; }
.field > label, .field > legend { padding: 0; color: var(--text-2); font-size: 14px; font-weight: 600; }
.field > legend { margin-bottom: 8px; }
.input { display: flex; align-items: center; gap: 8px; min-width: 0; height: 52px; padding-inline: 14px; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; transition: border-color 0.15s, box-shadow 0.15s; }
.input:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.input:has([aria-invalid='true']) { border-color: var(--owe); }
.input input { flex: 1; width: 100%; min-width: 0; height: 100%; padding: 0; border: 0; outline: none; background: transparent; color: var(--text); font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; }
.input input::placeholder { color: var(--text-3); font-weight: 500; }
.input .affix { color: var(--text-3); font-size: 15px; font-weight: 600; white-space: nowrap; }
.select { position: relative; display: inline-flex; align-items: center; height: 100%; }
.select.wide { flex: 1; min-width: 0; }
.select select { width: 100%; height: 100%; padding: 0 24px 0 0; border: 0; outline: none; background: transparent; color: var(--text); font-size: 16px; font-weight: 600; text-overflow: ellipsis; cursor: pointer; -webkit-appearance: none; appearance: none; }
.select .icon { position: absolute; inset-inline-end: 0; width: 16px; height: 16px; color: var(--text-3); pointer-events: none; }
.input .select:not(.wide) { padding-inline-start: 12px; border-inline-start: 1px solid var(--line); }
/* The currency: a small button at the start of the main amount ("$ USD"). The system's list opens
   from anywhere on it, as a native picker on phones. */
.input.money { gap: 12px; padding-inline-start: 7px; }
.currency { position: relative; flex: none; display: inline-flex; }
.currency .pick { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 10px 0 12px; border-radius: 10px; background: var(--surface); box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgba(20, 40, 110, 0.06); color: var(--text); font-size: 16px; font-weight: 700; white-space: nowrap; }
.currency .pick [data-code] { color: var(--text-2); font-size: 14px; letter-spacing: 0.02em; }
.currency .pick .icon { width: 14px; height: 14px; color: var(--text-3); }
.currency select { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; opacity: 0; font-size: 16px; cursor: pointer; -webkit-appearance: none; appearance: none; }
.currency:hover .pick { box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 55%, var(--line)); }
.currency:has(select:focus-visible) .pick { outline: 3px solid var(--accent); outline-offset: 2px; }
/* The trip's costs: "Costs" on one side and the currency on the other, in one row. */
.costs-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 12px; color: var(--text-2); font-size: 14px; font-weight: 600; }
.paid-in { display: inline-flex; align-items: center; gap: 8px; }
.segmented { display: inline-flex; gap: 4px; padding: 4px; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; }
.segmented label { position: relative; cursor: pointer; }
.segmented input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.segmented span { display: block; padding: 9px 20px; border-radius: 999px; color: var(--text-2); font-size: 15px; font-weight: 600; }
.segmented input:checked + span { background: var(--surface); color: var(--text); box-shadow: 0 1px 2px rgba(20, 40, 110, 0.1), 0 0 0 1px var(--line); }
.segmented input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.stepper { padding-inline: 6px; }
.stepper input { text-align: center; }
.stepper button { flex: none; width: 40px; height: 40px; padding: 0; display: grid; place-items: center; border: 0; border-radius: 10px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); color: var(--text); cursor: pointer; }
.stepper button:active { transform: scale(0.96); }
.stepper button .icon { width: 18px; height: 18px; }
.rows { display: grid; gap: 10px; }
.row.room { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr) auto 40px; gap: 10px; align-items: center; }
.row.head { padding-inline: 4px; color: var(--text-3); font-size: 13px; font-weight: 600; }
.check { display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); color: var(--text-2); font-size: 15px; font-weight: 600; white-space: nowrap; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); }
.check:has(input:checked) { border-color: color-mix(in srgb, var(--accent) 55%, transparent); background: var(--accent-soft); color: var(--accent-ink); }
.icon-button { flex: none; width: 40px; height: 40px; padding: 0; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--text-3); cursor: pointer; }
.icon-button:hover { background: var(--raised); color: var(--owe); }
.icon-button .icon { width: 18px; height: 18px; }
.row-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 14px; }
.aside { margin: 0; color: var(--text-3); font-size: 14px; }
.add { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--accent-ink); font-size: 15px; font-weight: 700; cursor: pointer; }
.add:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }
.add .icon { width: 18px; height: 18px; }
.people { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.person { display: inline-flex; align-items: center; height: 44px; padding-inline: 14px 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); }
.person:focus-within { border-color: var(--accent); }
.person input { width: 8ch; min-width: 3ch; max-width: 14ch; padding: 0; border: 0; outline: none; background: transparent; color: var(--text); font-size: 16px; font-weight: 600; }
@supports (field-sizing: content) { .person input { width: auto; field-sizing: content; } }
.person .icon-button { width: 34px; height: 34px; }
.row.cost { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 0.9fr) 40px; grid-template-areas: 'what payer amount remove' 'split split split split'; gap: 10px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.row.cost:last-child { padding-bottom: 0; border-bottom: 0; }
.row.cost .what { grid-area: what; }
.row.cost .payer { grid-area: payer; }
.row.cost .amount { grid-area: amount; }
.row.cost .remove { grid-area: remove; }
.row.cost .split { grid-area: split; }
.split { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { position: relative; display: inline-flex; cursor: pointer; }
.chip input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.chip span { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--text-3); font-size: 14px; font-weight: 600; text-decoration: line-through; }
.chip input:checked + span { border-color: transparent; background: var(--accent-soft); color: var(--accent-ink); text-decoration: none; }
.chip input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.result { position: sticky; top: 84px; display: grid; gap: 12px; padding: 26px; border-radius: var(--r-lg); color: var(--on-hero); background: linear-gradient(150deg, var(--hero-a), var(--hero-b) 55%, var(--hero-c)); box-shadow: var(--shadow); }
.result .label { color: var(--on-hero-2); }
.result .label:not(:first-child) { margin-top: 10px; }
.result .big { margin: 0; font: 700 clamp(40px, 4.6vw, 56px)/1.02 var(--display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.result dl { margin: 4px 0 0; display: grid; }
.result dl div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, 0.2); }
.result dt { color: var(--on-hero-2); }
.result dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; text-align: end; }
.result .note { margin: 0; color: var(--on-hero-2); font-size: 15px; }
.result .hint { margin: 0; padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.16); color: #fff; font-size: 15px; font-weight: 600; }
.result.invalid :is(.big, dd, ul, ol, .note, .bar, .legend) { opacity: 0.35; }
.bar { height: 10px; overflow: hidden; border-radius: 999px; background: rgba(255, 255, 255, 0.24); }
.bar span { display: block; height: 100%; border-radius: inherit; background: #fff; }
.legend { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--on-hero-2); font-size: 14px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend b { color: #fff; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.dot.loan { background: #fff; }
.dot.interest { background: rgba(255, 255, 255, 0.34); }
.result :is(ul, ol) { margin: 0; padding: 0; list-style: none; display: grid; }
.result li { margin: 0; }
.compare li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; border-radius: 12px; color: var(--on-hero-2); font-variant-numeric: tabular-nums; }
.compare li b { color: #fff; }
.compare li.on { background: rgba(255, 255, 255, 0.16); color: #fff; }
.shares li, .transfers li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, 0.2); }
.shares li:first-child, .transfers li:first-child { padding-top: 4px; border-top: 0; }
.shares span { min-width: 0; font-weight: 600; overflow-wrap: anywhere; }
.shares b { font: 700 26px/1.1 var(--display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.transfers li > span { min-width: 0; color: var(--on-hero-2); overflow-wrap: anywhere; }
.transfers li > span b { color: #fff; }
.transfers li > b { font: 700 22px/1.1 var(--display); letter-spacing: -0.015em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.transfers .done { color: #fff; font-weight: 600; }
.balances li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 6px 0; }
.balances li > span:first-child { min-width: 0; font-weight: 600; overflow-wrap: anywhere; }
.tag { padding: 4px 10px; border-radius: 999px; font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tag.owed { background: rgba(166, 242, 207, 0.2); color: #C2F7DE; }
.tag.owes { background: rgba(255, 196, 186, 0.2); color: #FFD6CF; }
.tag.even { background: rgba(255, 255, 255, 0.14); color: #fff; }

@media (max-width: 980px) {
  .calc, .calc.trip { grid-template-columns: minmax(0, 1fr); }
  .result { position: static; }
}
@media (max-width: 560px) {
  .wrap { padding-inline: 16px; }
  .lede { font-size: 18px; }
  .toc { padding: 16px 18px; }
  .calc .inputs { grid-template-columns: minmax(0, 1fr); padding: 18px; border-radius: 22px; }
  .result { padding: 22px; border-radius: 22px; }
  .row.room { grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr) 40px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
  .row.room.head { padding-bottom: 0; border-bottom: 0; }
  .row.room:last-child { padding-bottom: 0; border-bottom: 0; }
  .row.room .check { grid-column: 1 / 3; grid-row: 2; justify-self: start; height: 40px; }
  .row.room .icon-button { grid-column: 3; grid-row: 1; }
  .row.cost { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 40px; grid-template-areas: 'what what remove' 'payer amount amount' 'split split split'; }
  .cta { padding: 24px; border-radius: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
