:root {
    color-scheme: light;
    --ink: #193b30;
    --muted: #5b6b62;
    --green: #205b45;
    --paper: #f7f7f0;
    --line: #dce2d8;
    --must: #17613c;
    --no: #a13338;
    --neutral: #4e5e55;
    font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
    font-synthesis: none;
    -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); overflow-x: clip; background: radial-gradient(ellipse at 50% 0, #eaf0e4 0, transparent 520px), var(--paper); }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a, summary, select { -webkit-tap-highlight-color: transparent; }
button, summary, select { cursor: pointer; }
button { color: inherit; }
button:disabled { cursor: wait; opacity: .58; }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 3px solid #b27b12; outline-offset: 4px;
}
h1, h2, h3, p { margin-top: 0; }
h1:focus, main:focus { outline: none; }
svg { flex-shrink: 0; vertical-align: middle; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.muted { color: var(--muted); }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 100; padding: 14px; border-radius: 8px; background: white; }
.skip-link:focus { top: 10px; }

.site-header { max-width: 1080px; margin: auto; min-height: 82px; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 750; font-size: 18px; letter-spacing: -.7px; line-height: 1.1; }
.brand-light { font-weight: 450; }
.brand small { display: block; margin-top: 5px; font-size: 8px; font-weight: 600; letter-spacing: 2px; }
.brand-mark { width: 37px; height: 40px; border-radius: 13px 13px 13px 4px; background: var(--green); color: white; display: grid; place-items: center; }
.private-badge { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 11px; }
.person-pill { min-height: 44px; display: flex; align-items: center; gap: 8px; padding: 5px 10px 5px 5px; background: #fff; border: 1px solid var(--line); border-radius: 40px; text-decoration: none; font-size: 12px; font-weight: 650; }
.person-pill > span:nth-child(2) { max-width: 95px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.person-pill small { display: block; font-size: 9px; color: var(--muted); font-weight: 400; margin-top: 1px; }
.avatar { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #f1dfb2; color: #59451c; }
.main-content { max-width: 1060px; padding: 12px 20px 125px; margin: 0 auto; }
.bottom-nav { position: fixed; bottom: max(12px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); width: min(480px, calc(100% - 24px)); display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 7px; background: #fff; border: 1px solid #dfe5da; box-shadow: 0 8px 40px #193b3021; border-radius: 22px; z-index: 20; }
.bottom-nav a { min-height: 57px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; text-decoration: none; font-size: 10px; font-weight: 600; color: var(--muted); border-radius: 15px; }
.bottom-nav a.active { background: #eaf1e4; color: var(--green); }
.bottom-nav a:hover { background: #f2f5ee; }

.eyebrow { font-size: 9px; line-height: 1.6; letter-spacing: 1.7px; font-weight: 700; color: var(--muted); }
.page-heading { max-width: 560px; margin: 10px auto 23px; }
.page-heading h1 { margin: 7px 0 9px; font-size: clamp(29px, 5vw, 40px); line-height: 1.12; font-weight: 650; letter-spacing: -1.6px; }
.page-heading p { color: var(--muted); font-size: 13px; line-height: 1.65; margin: 0; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 12px 19px; border-radius: 12px; border: 1px solid transparent; font-size: 14px; font-weight: 650; text-decoration: none; transition: background .15s, transform .15s; }
.button:active { transform: scale(.98); }
.primary { background: var(--green); color: #fff; }
.primary:hover { background: #164632; }
.secondary { background: #fff; border-color: var(--line); color: var(--ink); }
.text-button { min-height: 44px; border: 0; background: transparent; padding: 8px; display: inline-flex; gap: 5px; align-items: center; font-size: 12px; font-weight: 650; }
.text-link { display: inline-block; padding: 14px; font-size: 13px; color: var(--green); }
select, input[type="search"] { width: 100%; min-width: 0; min-height: 48px; padding: 10px 12px; border-radius: 11px; border: 1px solid #cdd7c9; color: var(--ink); background: #fff; font-size: 16px; }
.checkbox-label { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); cursor: pointer; }
.checkbox-label input { width: 18px; height: 18px; accent-color: var(--green); }
.loading-state { min-height: 240px; display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 14px; color: var(--muted); }
.spinner { width: 20px; height: 20px; flex-shrink: 0; border: 2px solid #c9d8c6; border-top-color: var(--green); border-radius: 50%; animation: spin .7s linear infinite; }
.spinner.small { width: 12px; height: 12px; }
.error-notice { max-width: 560px; margin: 16px auto; padding: 20px; background: #fff0ed; border: 1px solid #e5bcb6; border-radius: 15px; color: #7d272b; }
.error-notice p { margin: 7px 0 12px; font-size: 13px; line-height: 1.6; }
.error-notice .button { min-height: 44px; }
#blazor-error-ui { display: none; position: fixed; bottom: 96px; left: 16px; right: 16px; max-width: 560px; margin: auto; padding: 16px 45px 16px 16px; background: #fff0e8; color: #722e23; border: 1px solid #deafa0; border-radius: 12px; z-index: 100; box-shadow: 0 8px 30px #0002; font-size: 13px; }
#blazor-error-ui .dismiss { position: absolute; right: 0; top: 0; width: 44px; height: 44px; border: 0; background: none; }
.empty-state { text-align: center; padding: 38px 23px; border: 1px dashed #cbd6c3; border-radius: 22px; background: #ffffff9e; }
.empty-state h2 { font-size: 23px; letter-spacing: -.8px; margin: 16px 0 10px; }
.empty-state p { font-size: 13px; color: var(--muted); line-height: 1.7; max-width: 330px; margin: 0 auto 20px; }
.empty-state .text-link { display: block; }
.empty-icon { width: 72px; height: 72px; display: grid; place-items: center; margin: auto; border-radius: 50%; color: var(--green); background: #e5eedc; }
.page-footnote, .section-description { font-size: 12px; color: var(--muted); line-height: 1.7; }
.page-footnote { margin: 22px 0; }

.welcome { max-width: 560px; margin: 25px auto 0; text-align: center; }
.welcome .eyebrow { display: flex; align-items: center; justify-content: center; gap: 10px; }
.tiny-line { width: 22px; height: 1px; background: #7b9275; }
.welcome h1 { margin: 18px 0 15px; font-size: clamp(32px, 6vw, 46px); line-height: 1.15; letter-spacing: -1.7px; font-weight: 620; }
.welcome h1 em { font-family: Georgia, serif; font-weight: 400; color: var(--green); }
.welcome-copy { color: var(--muted); font-size: 13px; line-height: 1.8; margin-bottom: 0; }
.destination-art { max-width: 380px; margin: 8px auto 25px; }
.destination-art svg { width: 100%; height: auto; }
.destination-label { font-size: 8px; letter-spacing: 2px; color: var(--muted); }
.name-picker { max-width: 400px; margin: auto; padding: 27px; background: white; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 12px 45px #28422a08; text-align: left; }
.name-picker h2 { font-size: 22px; letter-spacing: -.6px; margin-bottom: 7px; }
.name-picker p { font-size: 12px; color: var(--muted); margin-bottom: 23px; }
.name-picker label { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 600; }
.name-picker select { min-height: 52px; }
.name-picker .button { width: 100%; margin-top: 14px; min-height: 52px; }
.name-picker small { display: block; color: var(--muted); font-size: 10px; line-height: 1.7; text-align: center; margin-top: 15px; }
.welcome-couples { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px 16px; margin: 24px auto; font-size: 10px; color: var(--muted); }
.welcome-couples > span { display: inline-flex; align-items: center; gap: 5px; }
.couple-dot { width: 5px; height: 5px; border-radius: 50%; background: #68865c; }

.voting-progress, .view-toolbar, .filter-panel, .save-feedback { max-width: 540px; margin-left: auto; margin-right: auto; }
.voting-progress { margin-bottom: 18px; }
.voting-progress > div { display: flex; justify-content: space-between; align-items: baseline; font-size: 10px; color: var(--muted); margin-bottom: 7px; }
.voting-progress strong { font-size: 15px; color: var(--ink); font-weight: 700; }
.voting-progress strong span { font-size: 11px; color: var(--muted); font-weight: 400; }
progress { display: block; width: 100%; height: 5px; border: none; border-radius: 10px; overflow: hidden; background: #dfe6d6; }
progress::-webkit-progress-bar { background: #dfe6d6; }
progress::-webkit-progress-value { background: var(--green); border-radius: 10px; }
progress::-moz-progress-bar { background: var(--green); border-radius: 10px; }
.view-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.segmented { display: inline-flex; padding: 4px; border: 1px solid var(--line); background: #edf0e7; border-radius: 13px; gap: 2px; }
.segmented button { min-height: 40px; border: 0; display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: transparent; color: var(--muted); padding: 8px 13px; border-radius: 9px; font-size: 12px; font-weight: 550; }
.segmented button.selected { background: white; color: var(--ink); box-shadow: 0 1px 5px #1c362512; font-weight: 650; }
.filter-toggle { min-height: 44px; border: none; background: none; display: flex; align-items: center; gap: 5px; font-size: 11px; padding: 8px 4px; color: var(--muted); }
.filter-toggle.selected { color: var(--green); font-weight: 700; }
.filter-panel { border: 1px solid var(--line); border-radius: 15px; background: #fff; padding: 16px; margin-bottom: 10px; }
.search-field { display: flex; align-items: center; position: relative; }
.search-field > svg { position: absolute; left: 13px; color: var(--muted); }
.search-field input { padding-left: 39px; }
.filter-selects { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; margin-top: 12px; }
.filter-selects .filter-field { min-width: 0; }
.filter-selects label { display: block; font-size: 11px; color: var(--muted); }
.filter-selects .filter-field:last-child { grid-column: 1 / -1; }
.filter-selects select { display: block; margin-top: 5px; }
.filter-note { font-size: 11px; color: var(--muted); line-height: 1.6; margin: 12px 0 0; }
.save-feedback { display: flex; align-items: center; gap: 6px; min-height: 24px; font-size: 11px; color: var(--green); margin-bottom: 7px; }
.save-feedback .text-button { margin-left: auto; min-height: 28px; }
.feedback-check { display: grid; place-items: center; }
.swipe-deck { max-width: 540px; margin: auto; }
.vote-card { display: flex; flex-direction: column; position: relative; background: white; border: 1px solid #d8e0d1; border-radius: 23px; box-shadow: 0 8px 25px #283e2710; overflow: hidden; min-width: 0; }
.card-banner { min-height: 63px; display: flex; align-items: center; gap: 9px; padding: 13px 17px; background: linear-gradient(110deg, #e6eddd, #f3f5e9); }
.card-banner.food-banner { background: linear-gradient(110deg, #f5e8d0, #faf3e6); }
.category-stamp { display: flex; color: #36573c; }
.card-kicker { font-size: 8px; line-height: 1.7; letter-spacing: 1px; font-weight: 650; max-width: 112px; }
.suggested { margin-left: auto; display: inline-flex; align-items: center; justify-content: center; gap: 4px; font-size: 9px; font-weight: 600; white-space: nowrap; padding: 7px 8px; border-radius: 20px; background: #ffffffbf; }
.card-body { padding: 18px 20px 4px; position: relative; }
.photo-banner { position: relative; }
.photo-banner .suggested { position: absolute; right: 12px; top: 12px; background: #fffffff2; }
.photo-type { position: absolute; left: 12px; top: 12px; max-width: 48%; padding: 6px 8px; border-radius: 6px; background: #fffffff2; color: var(--ink); font-size: 9px; font-weight: 600; }
.item-photo { margin: 0; min-width: 0; }
.photo-image { position: relative; background: #dce5d2; }
.photo-image img { display: block; width: 100%; height: 170px; object-fit: cover; }
.photo-disclaimer { position: absolute; bottom: 6px; left: 8px; border-radius: 4px; padding: 3px 5px; background: #fffffff0; color: #35523c; font-size: 8px; }
.item-photo figcaption { display: flex; justify-content: space-between; gap: 8px; min-height: 21px; padding: 4px 10px; background: #f0f3e9; font-size: 8px; color: #4a5e4d; line-height: 1.6; }
.item-photo figcaption a:first-child { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; min-width: 0; }
.item-photo figcaption a:last-of-type { flex-shrink: 0; }
.has-photo .item-tags:empty { display: none; }
.card-info-row { position: relative; }
.card-info-row .item-details summary { padding-right: 103px; }
.maps-link { display: inline-flex; align-items: center; gap: 4px; position: absolute; right: 0; top: 0; min-height: 44px; padding: 7px 0 7px 10px; font-size: 10px; text-decoration: none; color: var(--green); }
.maps-link:hover, .result-map-link:hover { text-decoration: underline; }
.item-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 10px; }
.type-tag, .closed-tag { display: inline-block; font-size: 9px; font-weight: 650; padding: 5px 8px; line-height: 1.3; border-radius: 5px; color: #3d5845; background: #edf1e7; }
.closed-tag { background: #e7e8e4; color: #51594f; }
.vote-card h2 { font-size: 23px; line-height: 1.22; letter-spacing: -.8px; margin: 0 0 10px; font-weight: 660; overflow-wrap: anywhere; }
.area { display: flex; align-items: flex-start; gap: 4px; font-size: 10px; color: var(--muted); line-height: 1.5; margin-bottom: 12px; }
.area svg { margin-top: 1px; }
.price { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 8px; font-size: 16px; line-height: 1.5; }
.price > span { font-size: 11px; color: var(--muted); }
.price.free { color: var(--must); font-weight: 650; }
.price.unknown { color: #755413; font-size: 13px; font-weight: 600; }
.description { font-size: 13px; line-height: 1.7; color: #4d6154; margin: 12px 0 5px; }
.card-bottom { margin-top: auto; padding: 0 20px 18px; }
.item-details { margin-bottom: 12px; }
.item-details summary { display: flex; align-items: center; justify-content: space-between; min-height: 44px; font-size: 11px; color: var(--green); list-style: none; border-bottom: 1px solid #edf0e8; }
summary::-webkit-details-marker { display: none; }
details[open] > summary > svg:last-child { transform: rotate(180deg); }
.item-details p { margin: 12px 0; font-size: 12px; line-height: 1.7; color: var(--muted); }
.item-details strong { display: block; font-size: 11px; color: var(--ink); }
.voters-heading { display: flex; align-items: center; justify-content: space-between; font-size: 9px; color: var(--muted); margin-bottom: 9px; letter-spacing: .6px; }
.voters-heading span:last-child { letter-spacing: 0; }
.vote-chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.couple-votes { display: flex; flex-direction: column; gap: 5px; min-width: 0; padding-right: 7px; border-right: 1px solid #e6eadf; }
.couple-votes:last-child { border-right: 0; padding-right: 0; }
.name-chip { display: inline-flex; align-items: center; justify-content: flex-start; gap: 3px; border: 1px solid transparent; border-radius: 6px; padding: 4px 6px; font-size: 10px; line-height: 1.25; min-width: 0; overflow-wrap: anywhere; }
.name-chip > span { font-size: 12px; min-width: 10px; }
.name-chip.must, .vote-count.must { color: var(--must); background: #e7f2e7; }
.name-chip.no, .vote-count.no { color: var(--no); background: #fcecec; }
.name-chip.neutral, .vote-count.neutral { color: var(--neutral); background: #edf0ed; }
.name-chip.prefer-not, .vote-count.prefer-not { color: #825014; background: #faf0dc; }
.name-chip.interested, .vote-count.interested { color: #235b87; background: #e8f1fb; }
.name-chip.unvoted { border-color: #dce2d8; background: #fff; color: var(--muted); }
.first-vote-hint { color: var(--muted); font-size: 11px; margin: 0; line-height: 1.6; }
.vote-chips.voted-only { display: flex; flex-wrap: wrap; gap: 7px; }
.voted-only .couple-votes { flex-direction: row; flex-wrap: wrap; gap: 5px; }
.vote-actions { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; margin-top: 18px; }
.vote-button { min-width: 44px; min-height: 67px; border: 1px solid transparent; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 10px; font-weight: 650; line-height: 1.25; border-radius: 11px; transition: transform .12s, background .12s; padding: 7px 2px; }
.vote-button > span:last-child { display: flex; align-items: center; justify-content: center; min-height: 25px; }
.vote-symbol { font-size: 22px; line-height: 1; }
.vote-button:active { transform: scale(.95); }
.vote-button.must { background: #e7f1e4; color: var(--must); }
.vote-button.no { background: #faeeeb; color: var(--no); }
.vote-button.neutral { background: #f0f1ec; color: var(--neutral); }
.vote-button.prefer-not { background: #faf0dc; color: #825014; }
.vote-button.interested { background: #e8f1fb; color: #235b87; }
.vote-button.must.selected { background: var(--green); color: #fff; border-color: var(--green); }
.vote-button.no.selected { background: var(--no); color: #fff; border-color: var(--no); }
.vote-button.neutral.selected { background: var(--neutral); color: #fff; border-color: var(--neutral); }
.vote-button.prefer-not.selected { background: #825014; color: #fff; border-color: #825014; }
.vote-button.interested.selected { background: #235b87; color: #fff; border-color: #235b87; }
.vote-card.closed { background: #f0f1ec; box-shadow: none; border-color: #d9ddd5; }
.closed .card-banner { background: #e6e8e1; }
.closed .vote-button { cursor: not-allowed; }
.swipe-card { transform: translate(var(--drag-x, 0), var(--drag-y, 0)) rotate(var(--drag-angle, 0deg)); transition: transform .18s ease-out; animation: appear .2s ease-out; }
.swipe-card .swipe-surface { touch-action: none; cursor: grab; }
.swipe-card .swipe-surface img { -webkit-user-drag: none; user-select: none; }
.swipe-card.dragging { transition: none; user-select: none; z-index: 3; cursor: grabbing; }
.swipe-stamp { display: none; position: absolute; top: 50px; right: 16px; transform: rotate(-12deg); border: 3px solid currentColor; border-radius: 7px; padding: 12px; font-weight: 800; font-size: 23px; letter-spacing: 2px; background: #fffffff2; pointer-events: none; }
.swipe-card[data-intent] .swipe-stamp { display: block; }
.swipe-card[data-intent="must"] .swipe-stamp { color: var(--must); }
.swipe-card[data-intent="must"] .swipe-stamp::after { content: "MUST"; }
.swipe-card[data-intent="no"] .swipe-stamp { color: var(--no); }
.swipe-card[data-intent="no"] .swipe-stamp::after { content: "NO"; }
.swipe-card[data-intent="neutral"] .swipe-stamp { color: var(--neutral); font-size: 16px; }
.swipe-card[data-intent="neutral"] .swipe-stamp::after { content: "NO OPINION"; }
.swipe-card[data-intent="interested"] .swipe-stamp { color: #235b87; font-size: 18px; }
.swipe-card[data-intent="interested"] .swipe-stamp::after { content: "INTERESTED"; }
.gesture-legend { display: flex; justify-content: space-between; font-size: 10px; color: var(--muted); padding: 16px 7px 8px; }
.deck-note { text-align: center; font-size: 10px; line-height: 1.7; color: var(--muted); margin: 0; }
.browse-count { margin: 15px 0; font-size: 12px; color: var(--muted); }
.browse-count span { display: block; margin-top: 5px; font-size: 10px; }
.browse-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }

.results-page, .budget-page { max-width: 640px; margin: auto; }
.results-page .page-heading, .budget-page .page-heading { max-width: none; }
.results-overview { display: grid; grid-template-columns: repeat(3, 1fr); padding: 22px 0; background: #eef2e7; border: 1px solid #dce4d1; border-radius: 18px; margin-bottom: 22px; }
.results-overview > div { text-align: center; border-right: 1px solid #d5decd; }
.results-overview > div:last-child { border: 0; }
.results-overview strong { display: block; font-size: 28px; font-weight: 650; letter-spacing: -1px; }
.results-overview span { font-size: 11px; color: var(--muted); display: block; margin-top: 4px; }
.results-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 7px; flex-wrap: wrap; margin-bottom: 24px; }
.results-toolbar .checkbox-label { font-size: 11px; }
.verdict-group { margin: 0 0 25px; }
.verdict-group > h2 { display: flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 650; margin: 0 0 12px; }
.count-badge { font-size: 10px; font-weight: 500; color: var(--muted); background: #e9eee2; padding: 4px 7px; border-radius: 6px; }
.verdict-dot { width: 8px; height: 8px; border-radius: 50%; background: #899785; }
.verdict-dot.groupmust { background: var(--must); }
.verdict-dot.skip { background: var(--no); }
.verdict-dot.split { background: #ba8c32; }
.result-card { padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 10px; }
.result-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.result-overview-row { display: flex; align-items: flex-start; gap: 12px; }
.result-copy { flex: 1; min-width: 0; }
.result-overview-row .item-photo { flex: 0 0 82px; width: 82px; }
.item-photo.compact img { height: 70px; border-radius: 8px 8px 0 0; }
.item-photo.compact figcaption { display: block; padding: 3px 4px; border-radius: 0 0 6px 6px; }
.item-photo.compact figcaption a { display: block; font-size: 7px; }
.item-photo.compact .photo-disclaimer { font-size: 6px; padding: 2px 3px; left: 3px; bottom: 3px; }
.result-map-link { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; margin-top: 2px; font-size: 10px; text-decoration: none; color: var(--green); }
.result-title h3 { font-size: 14px; line-height: 1.5; font-weight: 600; margin-bottom: 12px; overflow-wrap: anywhere; }
.result-meta { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; font-size: 10px; }
.vote-count { border-radius: 5px; padding: 4px 6px; line-height: 1.4; }
.result-meta > .muted { margin-left: auto; font-size: 9px; padding: 4px 0; }
.result-voters { margin-top: 5px; }
.result-voters summary { min-height: 44px; font-size: 11px; display: flex; justify-content: space-between; align-items: center; color: var(--muted); list-style: none; }
.vote-chips.side-by-side { display: flex; flex-direction: column; margin-top: 8px; gap: 12px; }
.side-by-side .couple-votes { display: grid; grid-template-columns: 1fr 1fr; border: none; padding: 0; gap: 7px; }
.couple-label { grid-column: 1 / -1; font-size: 9px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.side-by-side .name-chip { display: flex; flex-wrap: wrap; font-size: 11px; padding: 8px; }
.side-by-side .name-chip small { display: block; width: 100%; padding-left: 14px; font-size: 9px; font-weight: 400; margin-top: 2px; }
.item-suggestions { margin-top: 12px; border-top: 1px solid var(--line); }
.item-suggestions > summary { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 8px; list-style: none; font-size: 12px; font-weight: 600; }
.item-suggestions > summary .count-badge { margin-left: 5px; }
.suggestion-content { padding: 4px 0 8px; }
.suggestion-intro, .suggestion-empty { font-size: 11px; line-height: 1.6; margin-bottom: 12px; color: var(--muted); }
.suggestion-feed-heading { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 11px; }
.suggestion-feed { list-style: none; padding: 0; margin: 0 0 16px; max-height: 320px; overflow-y: auto; overscroll-behavior: contain; }
.suggestion-feed li { padding: 12px 0; border-top: 1px solid #e8ede2; }
.suggestion-author { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 5px; font-size: 11px; }
.suggestion-author time { font-size: 9px; color: var(--muted); }
.suggestion-feed p { margin: 7px 0 0; font-size: 12px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.suggestion-content > label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 8px; }
.suggestion-content textarea { display: block; width: 100%; min-height: 90px; padding: 12px; border: 1px solid #cdd7c9; border-radius: 10px; color: var(--ink); background: #fff; font-size: 16px; line-height: 1.5; resize: vertical; }
.suggestion-limit { display: block; margin-top: 5px; text-align: right; font-size: 10px; color: var(--muted); }
.suggestion-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.suggestion-actions .button { min-height: 44px; font-size: 12px; padding: 9px 12px; }
.suggestion-feedback { margin: 8px 0 0; color: var(--must); font-size: 11px; min-height: 16px; }
.suggestion-error { margin: 10px 0; padding: 12px; border: 1px solid #e5bcb6; background: #fff0ed; color: #7d272b; border-radius: 10px; font-size: 12px; line-height: 1.6; }
.suggestion-error p { margin-bottom: 10px; }
.draft-note { font-size: 10px; line-height: 1.5; color: #825014; margin: 9px 0 0; }

.budget-hero { padding: 24px; background: var(--green); color: #fff; border-radius: 23px; box-shadow: 0 10px 30px #205b4514; }
.budget-hero-label { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 9px; letter-spacing: 1.2px; color: #e5efdc; }
.budget-big { font-size: clamp(31px, 7vw, 48px); line-height: 1.3; font-weight: 650; letter-spacing: -1.4px; margin-top: 23px; overflow-wrap: anywhere; }
.budget-big > span { font-size: 14px; font-weight: 450; letter-spacing: 0; }
.budget-jod { font-size: 16px; margin-top: 4px; color: #e2eddc; }
.budget-category-totals { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #ffffff3b; margin-top: 28px; padding-top: 21px; gap: 12px; }
.budget-category-totals > div { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.budget-category-totals > div:first-child { border-right: 1px solid #ffffff3b; padding-right: 8px; }
.budget-category-totals span { font-size: 10px; color: #e5efdc; }
.budget-category-totals strong { font-size: 15px; font-weight: 550; overflow-wrap: anywhere; }
.budget-category-totals small { font-size: 10px; color: #e5efdc; overflow-wrap: anywhere; }
.budget-table-card { margin: 25px 0 30px; background: #fff; border: 1px solid var(--line); padding: 22px 18px 10px; border-radius: 18px; }
.budget-page h2 { font-size: 18px; letter-spacing: -.5px; font-weight: 650; margin-bottom: 8px; }
.budget-table { width: 100%; border-collapse: collapse; margin-top: 20px; table-layout: fixed; }
.budget-table th, .budget-table td { padding: 14px 0; font-size: 12px; text-align: right; overflow-wrap: anywhere; }
.budget-table thead th { font-size: 9px; color: var(--muted); font-weight: 500; border-bottom: 1px solid var(--line); padding-top: 0; }
.budget-table th:first-child { text-align: left; }
.budget-table tbody th { font-size: 11px; font-weight: 550; }
.budget-table th small { display: block; color: var(--muted); font-size: 9px; font-weight: 400; margin-top: 4px; }
.budget-table tbody tr + tr { border-top: 1px solid #edf0e8; }
.budget-table tr:last-child td { font-weight: 650; }
.budget-list-section { margin: 25px 0; }
.budget-breakdown { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin: 10px 0; padding: 0 16px; }
.budget-breakdown > summary { min-height: 65px; display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; font-size: 12px; font-weight: 600; }
.budget-breakdown > summary > span:last-child { display: flex; align-items: center; gap: 6px; font-size: 11px; text-align: right; }
.budget-breakdown summary small { display: block; font-size: 10px; color: var(--muted); margin-top: 4px; font-weight: 400; }
.budget-items { list-style: none; padding: 0; margin: 0; }
.budget-items li { display: grid; grid-template-columns: minmax(0, 1fr) 105px; gap: 12px; align-items: start; padding: 15px 0; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.6; }
.budget-items .price { justify-content: flex-end; font-size: 11px; gap: 1px; text-align: right; }
.budget-items .price > span { width: 100%; font-size: 9px; }
.budget-items .price.free > span { display: none; }
.budget-items > li > a { text-decoration-color: #b6c8aa; text-underline-offset: 3px; }
.my-musts-card { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 15px; margin: 30px 0 22px; padding: 22px 18px 10px; border: 1px solid #d6dfcd; background: #edf2e6; border-radius: 19px; }
.my-musts-card h2 { margin-top: 6px; margin-bottom: 0; }
.my-musts-total { display: flex; flex-direction: column; justify-content: center; gap: 5px; text-align: right; font-size: 14px; }
.my-musts-total span { font-size: 11px; color: var(--muted); }
.my-musts-card .budget-breakdown { width: 100%; margin-top: 0; }
.estimate-note { display: flex; align-items: flex-start; gap: 8px; padding: 15px 16px; background: #f6edda; border-radius: 12px; color: #66501c; font-size: 11px; line-height: 1.7; }
.estimate-note svg { margin-top: 2px; }
.incomplete-note, .friendly-note { padding: 13px 15px; font-size: 12px; line-height: 1.7; background: #fff2d6; color: #705218; border-radius: 10px; margin: 14px 0; }
.friendly-note { background: #edf2e6; color: var(--green); }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes appear { from { opacity: .5; } to { opacity: 1; } }
@media (min-width: 700px) {
    .site-header { min-height: 100px; padding: 23px 28px; }
    .main-content { padding-top: 25px; }
    .browse-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .browse-count { text-align: center; margin: 20px 0; }
    .browse-count span { display: inline; margin-left: 10px; }
    .page-heading { margin-top: 15px; margin-bottom: 30px; }
    .card-body { padding-top: 22px; }
    .swipe-deck .vote-card h2 { font-size: 28px; }
    .swipe-deck .card-body { padding: 24px 28px 5px; }
    .swipe-deck .card-bottom { padding: 0 28px 24px; }
    .swipe-deck .description { font-size: 14px; }
    .swipe-deck .name-chip { font-size: 11px; }
    .bottom-nav { bottom: 20px; }
    .welcome { margin-top: 0; }
    .welcome .destination-art { margin-top: 0; margin-bottom: 20px; }
}
@media (max-width: 699px) {
    .site-header { min-height: 68px; padding-top: 12px; padding-bottom: 12px; }
    .main-content { padding-top: 0; }
    .swipe-mode .page-heading { margin-top: 0; margin-bottom: 10px; }
    .swipe-mode .page-heading .eyebrow { display: none; }
    .swipe-mode .page-heading h1 { margin-top: 0; margin-bottom: 5px; font-size: 30px; }
    .swipe-mode .page-heading p { font-size: 12px; }
    .swipe-mode .voting-progress { margin-bottom: 8px; }
    .swipe-mode .save-feedback { min-height: 14px; margin-bottom: 4px; }
    .swipe-mode .segmented { padding: 0; }
    .swipe-mode .segmented button { min-height: 44px; }
    .swipe-mode .view-toolbar { margin-bottom: 5px; }
    .swipe-mode .card-banner { min-height: 45px; padding-top: 6px; padding-bottom: 6px; }
    .swipe-mode .card-body { padding-top: 13px; }
    .swipe-mode .item-tags { margin-bottom: 7px; }
    .swipe-mode .vote-card h2 { font-size: 21px; margin-bottom: 7px; }
    .swipe-mode .area { margin-bottom: 8px; }
    .swipe-mode .description { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 12px; line-height: 1.6; margin-top: 9px; margin-bottom: 0; }
    .swipe-mode .item-details { margin-bottom: 6px; }
    .swipe-mode .voters-heading { margin-bottom: 7px; }
    .swipe-mode .vote-actions { margin-top: 10px; }
    .swipe-mode .vote-button { min-height: 60px; }
    .swipe-mode .card-bottom { padding-bottom: 12px; }
    .swipe-mode:has(.has-photo) .page-heading h1 { font-size: 24px; }
    .swipe-mode:has(.has-photo) .page-heading p { display: none; }
    .swipe-mode:has(.has-photo) .page-heading { margin-bottom: 8px; }
    .swipe-mode .photo-image img { height: 100px; }
    .swipe-mode .photo-banner .suggested { top: 8px; right: 8px; }
    .swipe-mode .photo-type { top: 8px; left: 8px; }
    .swipe-mode .has-photo .item-tags { margin-bottom: 0; }
}
@media (max-width: 699px) and (max-height: 800px) {
    .swipe-mode .description { -webkit-line-clamp: 2; }
    .swipe-mode .has-photo .description { -webkit-line-clamp: 1; }
}
@media (max-width: 380px) {
    .site-header { padding-left: 16px; padding-right: 16px; }
    .main-content { padding-left: 16px; padding-right: 16px; }
    .brand { font-size: 16px; }
    .brand-mark { width: 33px; height: 37px; }
    .card-kicker { max-width: 83px; font-size: 7px; }
    .card-body { padding-left: 17px; padding-right: 17px; }
    .card-bottom { padding-left: 17px; padding-right: 17px; }
    .vote-card h2 { font-size: 22px; }
    .results-toolbar { align-items: flex-start; }
    .results-toolbar .checkbox-label { font-size: 10px; gap: 4px; }
    .segmented button { padding-left: 10px; padding-right: 10px; }
    .person-pill { font-size: 11px; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
