/* Basket Household screens (mockup: Basket Households.pdf). Uses theme tokens from styles.css. */
.hh {
  --hh-bg: var(--paper);
  --hh-card: var(--surface);
  --hh-card-2: var(--surface-raised);
  --hh-line: var(--line);
  --hh-green: #2f4c3c;
  --hh-green-ink: #fff8eb;
  --hh-mint: #9fd1ac;
  --hh-orange: #e8a27c;
  --hh-butter: #ffd08a;
  --hh-clay: #a0573c;
  background: var(--hh-bg);
  color: var(--ink);
  min-height: 100dvh;
}
.hh-app { max-width: 480px; margin: auto; padding: max(22px, env(safe-area-inset-top)) 22px max(28px, env(safe-area-inset-bottom)); }
.hh-view { display: flex; flex-direction: column; gap: 14px; min-height: calc(100dvh - 60px); }
.hh-view[hidden] { display: none; }
.hh h1 { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; font-size: clamp(40px, 11vw, 50px); line-height: 1.02; letter-spacing: -.02em; margin: 4px 0 0; }
.hh-eyebrow { margin: 24px 0 0; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.hh-eyebrow a { color: inherit; text-decoration: none; }
.hh-lede { margin: 0; font-size: 17px; line-height: 1.45; color: var(--muted); }
.hh-lede strong { color: var(--ink); }
.hh-muted { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.4; }
.hh-fine { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; text-align: center; }
.hh-left { text-align: left; }
.hh-label { display: block; margin: 4px 0 0; font-weight: 750; font-size: 15px; }
.hh-signed-in { margin: 24px 0 0; color: var(--hh-mint); font-weight: 700; font-size: 14px; }
.hh-card { display: block; padding: 18px; border: 1px solid var(--hh-line); border-radius: 22px; background: var(--hh-card); color: inherit; text-align: left; text-decoration: none; }
.hh-stack { display: flex; flex-direction: column; gap: 10px; }
.hh-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hh-card-title { margin: 0; font-family: inherit; font-size: 19px; font-weight: 800; display: flex; gap: 10px; align-items: center; }
.hh-card-title span { color: var(--hh-orange); }
.hh-choice { border-color: #a4694b; background: linear-gradient(var(--hh-card-2), var(--hh-card)); }
.hh-checks { list-style: none; margin: 8px 0 18px; display: grid; gap: 14px; }
.hh-checks li { position: relative; padding-left: 34px; font-size: 16px; line-height: 1.4; }
.hh-checks li::before { content: "✓"; position: absolute; left: 4px; color: var(--hh-mint); font-weight: 800; }
.hh-input { width: 100%; min-height: 54px; padding: 12px 16px; border: 1px solid var(--control-line); border-radius: 16px; background: var(--hh-bg); color: var(--ink); font-size: 17px; }
.hh-code { text-align: center; font-size: 28px; font-weight: 750; letter-spacing: .32em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.hh-primary, .hh-secondary, .hh-clay { min-height: 54px; padding: 0 22px; border: 0; border-radius: 999px; font-weight: 800; font-size: 17px; }
.hh-primary { background: var(--hh-green); color: var(--hh-green-ink); }
.hh-secondary { background: var(--surface-muted); color: var(--ink); }
.hh-clay { background: var(--hh-clay); color: var(--hh-green-ink); min-width: 74px; }
.hh-primary:disabled, .hh-secondary:disabled { opacity: .6; }
.hh-quiet { align-self: center; margin-top: auto; padding: 12px; border: 0; background: none; color: var(--hh-orange); font-weight: 800; font-size: 16px; text-decoration: none; }
.hh-bottom { margin-top: auto; display: grid; justify-items: center; gap: 2px; }
.hh-bottom .hh-quiet { margin: 0; }
.hh-back { align-self: flex-start; margin-top: 18px; padding: 8px 0; border: 0; background: none; color: var(--ink); font-weight: 800; font-size: 16px; text-decoration: none; }
.hh-back::before { content: "‹  "; }
.hh-icon-tile { display: grid; place-items: center; width: 66px; height: 66px; border-radius: 18px; background: var(--surface-muted); color: var(--hh-orange); }
.hh-icon-tile svg { width: 28px; height: 28px; }
.hh-note { padding: 16px 18px; border-radius: 18px; background: var(--surface-muted); font-size: 15px; line-height: 1.45; }
.hh-sync { margin: -4px 0 0; color: var(--hh-mint); font-weight: 700; font-size: 15px; }
.hh-section { margin: 4px 0 8px; font-family: inherit; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.hh-list-entry { display: flex; justify-content: space-between; align-items: center; width: 100%; font: inherit; }
.hh-list-entry strong { display: block; font-size: 18px; }
.hh-list-entry small { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }
.hh-roster { list-style: none; margin: 0 0 12px; padding: 0; }
.hh-roster li + li { border-top: 1px solid var(--hh-line); }
.hh-roster button { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 70px; padding: 8px 0; border: 0; background: none; text-align: left; }
.hh-roster strong { display: block; font-size: 18px; }
.hh-roster small { display: block; color: var(--muted); font-size: 14px; }
.hh-roster .hh-chev { margin-left: auto; color: var(--muted); }
.hh-avatar { display: inline-grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--hh-orange); color: #2a2018; font-weight: 800; font-size: 17px; }
.hh-avatar-lg { width: 64px; height: 64px; font-size: 22px; }
.hh-av-1 { background: var(--hh-mint); } .hh-av-2 { background: var(--hh-butter); } .hh-av-3 { background: #c9b3e6; } .hh-av-4 { background: #9cc8e0; }
.hh-stacked-avatars { display: flex; }
.hh-stacked-avatars .hh-avatar { width: 34px; height: 34px; font-size: 13px; border: 2px solid var(--hh-bg); margin-left: -8px; }
.hh-dashed { width: 100%; min-height: 56px; border: 1.5px dashed var(--control-line); border-radius: 16px; background: none; color: var(--hh-orange); font-weight: 800; font-size: 16px; }
.hh-toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; }
.hh-toggle-row + .hh-toggle-row { border-top: 1px solid var(--hh-line); }
.hh-toggle-row strong { display: block; font-size: 16px; }
.hh-toggle-row small { display: block; color: var(--muted); font-size: 14px; }
.hh-switch-ui { flex: none; width: 52px; height: 32px; border-radius: 999px; background: #4b3e35; position: relative; opacity: .8; }
.hh-switch-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff8eb; }
.hh-switch-ui.on { background: var(--hh-green); opacity: 1; }
.hh-switch-ui.on::after { left: 23px; }
.hh-switch-input { appearance: none; flex: none; width: 52px; height: 32px; border-radius: 999px; background: #4b3e35; position: relative; margin: 0; }
.hh-switch-input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff8eb; transition: left .15s; }
.hh-switch-input:checked { background: var(--hh-green); }
.hh-switch-input:checked::after { left: 23px; }
.hh-danger-link { align-self: center; padding: 12px; border: 0; background: none; color: var(--danger); font-weight: 800; font-size: 16px; }
.hh-radio-card { display: flex; gap: 14px; align-items: flex-start; margin: 10px 0; padding: 16px; border: 1px solid var(--hh-line); border-radius: 18px; background: var(--hh-card); }
.hh-radio-card:has(input:checked) { border-color: var(--hh-orange); background: var(--hh-card-2); }
.hh-radio-card input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--hh-clay); }
.hh-radio-card strong { display: block; font-size: 17px; }
.hh-radio-card small { display: block; color: var(--muted); font-size: 15px; line-height: 1.4; }
#make-code { width: 100%; margin-top: 4px; }
.hh-code-card { text-align: center; }
.hh-big-code { margin: 8px 0; font-size: clamp(40px, 12vw, 52px); font-weight: 800; letter-spacing: .14em; }
.hh-split-buttons { display: grid; grid-template-columns: 1.5fr 1fr; gap: 10px; }
.hh-split-buttons button, .hh-req-actions button { padding: 0 12px; font-size: 16px; white-space: nowrap; }
.hh-member-head { display: flex; gap: 16px; align-items: center; }
.hh-member-head h1 { font-size: 38px; }
.hh-chip-row { display: flex; gap: 10px; }
.hh-chip { position: relative; min-height: 48px; padding: 0 18px; border: 1px solid var(--hh-line); border-radius: 16px; background: var(--hh-card); font-weight: 750; }
.hh-badge { display: inline-grid; place-items: center; min-width: 22px; height: 22px; margin-left: 6px; border-radius: 999px; background: var(--hh-butter); color: #2a2018; font-size: 13px; font-weight: 800; }
.hh-banner { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--hh-butter); border-radius: 18px; background: color-mix(in srgb, var(--hh-butter) 14%, var(--hh-card)); font-weight: 700; }
.hh-ask { display: flex; gap: 10px; }
.hh-ask .hh-input { flex: 1; }
.hh-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.hh-list li { display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 8px 14px; border-bottom: 1px solid var(--hh-line); background: var(--hh-card); }
.hh-list li:first-child { border-radius: 18px 18px 0 0; } .hh-list li:last-child { border-radius: 0 0 18px 18px; border-bottom: 0; }
.hh-list li:only-child { border-radius: 18px; }
.hh-list li.hh-new { box-shadow: inset 0 0 0 1.5px var(--hh-butter); background: color-mix(in srgb, var(--hh-butter) 10%, var(--hh-card)); }
.hh-list .hh-item-name { flex: 1; font-size: 17px; }
.hh-list .hh-done .hh-item-name { text-decoration: line-through; color: var(--muted); }
.hh-tag { display: inline-block; margin-top: 4px; padding: 2px 8px; border-radius: 8px; background: var(--hh-butter); color: #2a2018; font-size: 12px; font-weight: 800; }
.hh-check { appearance: none; flex: none; width: 28px; height: 28px; margin: 0; border: 2px solid var(--control-line); border-radius: 6px; background: var(--hh-bg); display: grid; place-items: center; }
.hh-check:checked { background: var(--hh-green); border-color: var(--hh-green); }
.hh-check:checked::after { content: "✓"; color: var(--hh-green-ink); font-weight: 900; }
.hh-check:disabled { opacity: .45; }
.hh-status { padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 800; white-space: nowrap; }
.hh-status-added { background: #2f4c3c; color: #c9ecd2; } .hh-status-no { background: var(--surface-muted); color: var(--ink); } .hh-status-wait { background: var(--hh-butter); color: #2a2018; }
.hh-requests { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.hh-requests li { padding: 18px; border: 1px solid var(--hh-line); border-radius: 22px; background: var(--hh-card); display: grid; gap: 12px; }
.hh-req-head { display: flex; gap: 12px; align-items: center; }
.hh-req-head strong { display: block; font-size: 18px; } .hh-req-head small { color: var(--muted); font-size: 14px; }
.hh-req-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hh-empty { justify-content: center; color: var(--muted); }
.hh-switch { min-height: 40px; max-width: 55%; padding: 0 12px; border: 1px solid var(--hh-line); border-radius: 12px; background: var(--hh-card); color: var(--ink); }
.hh-toast { position: fixed; left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 9; max-width: min(440px, 90vw); margin: 0; padding: 12px 16px; border-radius: 14px; background: var(--ink); color: var(--paper); font-weight: 700; box-shadow: 0 8px 30px #0006; }
.hh-toast[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .hh-switch-input::after { transition: none; } }

/* ---- Round 3: hub redesign, profile, updates ---- */
.hh-hub { position: relative; isolation: isolate; }
body.hh { overflow-x: hidden; }
.hh-app { overflow-x: clip; }
.hh-blob { position: absolute; z-index: -1; border-radius: 48% 52% 60% 40%; filter: blur(2px); pointer-events: none; }
.hh-blob-a { width: 70vw; max-width: 340px; height: 260px; left: -120px; top: -90px; background: var(--home-shape, #382821); }
.hh-blob-b { width: 60vw; max-width: 300px; height: 220px; right: -120px; top: 420px; background: var(--home-accent, #33242a); opacity: .8; }
.hh-topbar { margin-top: 14px; }
.hh-topbar .hh-back { margin-top: 0; }
.hh-gap { gap: 10px; }
.hh-me-button { padding: 0; border: 0; background: none; border-radius: 50%; }
.hh-hub-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 6px; }
.hh-hub-head h1 { font-size: clamp(42px, 12vw, 56px); }
.hh-stacked-lg .hh-avatar { width: 44px; height: 44px; font-size: 16px; margin-left: -12px; border-width: 3px; }
.hh-avatar { overflow: hidden; background-size: cover; background-position: center; }
.hh-avatar.has-photo { color: transparent; }
.hh-avatar-sm { width: 40px; height: 40px; font-size: 15px; }
.hh-avatar-xl { width: 96px; height: 96px; font-size: 34px; }
.hh-now { display: grid; gap: 6px; width: 100%; padding: 22px 22px 20px; border: 0; border-radius: 28px 30px 32px 26px; text-align: left;
  color: #fff8eb; background: radial-gradient(120% 140% at 100% 0%, #b8664a 0%, #8f3f2c 55%, #6f2f22 100%); box-shadow: 0 14px 30px #00000040; }
.hh-now-label { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.hh-now-main { display: flex; align-items: baseline; gap: 10px; }
.hh-now-main strong { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; font-size: 64px; line-height: .95; }
.hh-now-main span { font-size: 19px; font-weight: 700; }
.hh-now-sub { font-size: 15px; line-height: 1.4; opacity: .92; }
.hh-now-go { justify-self: start; margin-top: 6px; padding: 8px 14px; border-radius: 999px; background: #ffffff26; font-weight: 800; font-size: 14px; }
.hh-section-row { display: flex; align-items: baseline; justify-content: space-between; margin-top: 6px; }
.hh-section-row .hh-section { margin: 0; }
.hh-link { padding: 6px 0; border: 0; background: none; color: var(--hh-orange); font-weight: 800; font-size: 15px; }
.hh-strip { display: flex; gap: 16px; overflow-x: auto; padding: 4px 2px 8px; scrollbar-width: none; }
.hh-strip::-webkit-scrollbar { display: none; }
.hh-strip button { display: grid; justify-items: center; gap: 6px; flex: none; width: 72px; padding: 0; border: 0; background: none; color: inherit; }
.hh-strip .hh-avatar { width: 64px; height: 64px; font-size: 22px; box-shadow: 0 0 0 3px var(--hh-bg), 0 0 0 5px var(--hh-line); }
.hh-strip .owner .hh-avatar { box-shadow: 0 0 0 3px var(--hh-bg), 0 0 0 5px var(--hh-orange); }
.hh-strip small { max-width: 72px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 700; }
.hh-strip .hh-add .hh-avatar { background: none; border: 1.5px dashed var(--control-line); color: var(--hh-orange); box-shadow: none; }
.hh-activity { list-style: none; margin: 0; padding: 4px 16px; }
.hh-activity li { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 8px 0; }
.hh-activity li + li { border-top: 1px solid var(--hh-line); }
.hh-activity .hh-avatar { width: 36px; height: 36px; font-size: 14px; }
.hh-activity span:not(.hh-avatar) { flex: 1; font-size: 15px; line-height: 1.35; }
.hh-activity .hh-avatar { flex: none; }
.hh-activity small { color: var(--muted); font-size: 13px; white-space: nowrap; }
.hh-activity .hh-unread { font-weight: 800; }
.hh-activity .hh-unread::after { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: #e5544b; }
.hh-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hh-chips > * { padding: 7px 12px; border: 0; border-radius: 999px; font: inherit; font-size: 14px; font-weight: 700; line-height: 1.2; -webkit-appearance: none; appearance: none; }
.hh-chip-on { background: var(--hh-green); color: var(--hh-green-ink); }
.hh-chip-on::before { content: "✓ "; }
.hh-chip-off { border: 1px solid var(--hh-line) !important; background: none; color: var(--muted); }
.hh-bottom-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 6px; }
.hh-bottom-row button { min-height: 54px; border: 1px solid var(--hh-line); border-radius: 18px; background: var(--hh-card); font-weight: 800; font-size: 15px; }
.hh-bottom-row button[hidden] { display: none; }
.hh-tight { margin-top: 0; }
.hh-photo-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.hh-file { position: relative; display: inline-grid; place-items: center; overflow: hidden; }
.hh-file input { position: absolute; inset: 0; opacity: 0; }
.hh-update { display: grid; gap: 8px; border-color: var(--hh-mint); }
.hh-update h3 { margin: 0; font-size: 18px; }
.hh-update ul { margin: 0; padding-left: 20px; color: var(--muted); }
.hh-update .hh-new-dot { color: #e5544b; font-weight: 900; }

/* ---- Trips (mockup screens 7, 8, 10) ---- */
.hh-trip { display: grid; gap: 10px; padding: 18px 20px; border-radius: 26px; color: #fff8eb;
  background: radial-gradient(120% 140% at 100% 0%, #b8664a 0%, #8f3f2c 55%, #6f2f22 100%); box-shadow: 0 12px 26px #00000040; }
.hh-live { font-size: 14px; font-weight: 800; color: #c9ecd2; }
.hh-live::before { content: "● "; color: #7fd49a; }
.hh-trip-main { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hh-trip-where small { font-weight: 700; opacity: .85; }
.hh-trip-where h2 { margin: 2px 0 8px; font-family: "Instrument Serif", Georgia, serif; font-weight: 400; font-size: 34px; line-height: 1.05; }
.hh-chip-small { padding: 7px 12px; border: 0; border-radius: 999px; background: #ffffff2b; color: inherit; font-weight: 800; font-size: 13px; }
.hh-ring { position: relative; flex: none; width: 104px; height: 104px; }
.hh-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.hh-ring circle { fill: none; stroke-width: 10; }
.hh-ring-track { stroke: #ffffff30; }
.hh-ring-fill { stroke: #ffd08a; stroke-linecap: round; stroke-dasharray: 100; transition: stroke-dashoffset .3s; }
.hh-ring.over .hh-ring-fill { stroke: #ff8b7e; }
.hh-ring span { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.hh-ring strong { font-size: 20px; } .hh-ring small { font-size: 12px; opacity: .85; }
.hh-price-row { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.hh-price { width: 76px; min-height: 38px; padding: 4px 8px; border: 1px solid var(--control-line); border-radius: 10px; background: var(--hh-bg); color: var(--ink); text-align: right; font-size: 16px; }
.hh-snap { min-height: 34px; padding: 0 9px; border: 1px solid var(--hh-line); border-radius: 999px; background: none; color: var(--muted); font-size: 12px; font-weight: 800; }
.hh-snap[aria-pressed="true"] { background: var(--hh-butter); color: #2a2018; border-color: transparent; }
.hh-trip-bar { position: sticky; bottom: max(12px, env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 8px; padding: 12px 12px 12px 20px; border-radius: 999px; background: var(--surface-raised); box-shadow: 0 10px 30px #0007; }
.hh-trip-bar strong { display: block; font-size: 22px; } .hh-trip-bar small { color: var(--muted); font-size: 13px; }
.hh-trip-bar[hidden] { display: none; }
.hh-stepper { display: grid; grid-template-columns: 54px 1fr 54px; align-items: center; gap: 10px; }
.hh-stepper button { height: 54px; border: 0; border-radius: 50%; background: var(--surface-muted); font-size: 26px; font-weight: 700; }
.hh-stepper input { min-height: 54px; border: 0; background: none; color: var(--ink); text-align: center; font-family: "Instrument Serif", Georgia, serif; font-size: 44px; }
.hh-meter { display: flex; height: 10px; border-radius: 999px; overflow: hidden; background: var(--surface-muted); }
.hh-meter span:first-child { background: var(--hh-mint); } .hh-meter span:last-child { background: var(--hh-butter); }
.hh-quote { margin: 0; padding: 10px 14px; border-radius: 12px; background: var(--surface-muted); font-size: 15px; }
.hh-live-note::before { content: "● "; color: #7fd49a; }
.hh-list .hh-item-name { min-width: 0; }
.hh-price-row { flex: none; }
.hh-list input.hh-price { flex: none; width: 74px; max-width: 74px; }
#shared-list:has(#trip-bar:not([hidden])) { padding-bottom: 90px; }

/* H4: real sharing switches, shared-from cards, meals */
.hh-switch-input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
label.hh-toggle-row { position: relative; }
.hh-switch-ui { transition: background .2s ease; }
.hh-switch-ui::after { transition: left .2s ease; }
.hh-switch-input:checked + .hh-switch-ui { background: var(--hh-green); opacity: 1; }
.hh-switch-input:checked + .hh-switch-ui::after { left: 23px; }
.hh-switch-input:focus-visible + .hh-switch-ui { outline: 3px solid var(--hh-orange); outline-offset: 2px; }
label.hh-toggle-row { cursor: pointer; }
.hh-shared-card h3 { margin: 0 0 4px; font-size: 17px; display: flex; gap: 10px; align-items: center; }
.hh-shared-card h3 small { margin-left: auto; color: var(--muted); font-weight: 600; font-size: 13px; }
.hh-shared-card ul { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.hh-shared-card li { padding: 5px 10px; border-radius: 999px; background: var(--surface-muted); font-size: 14px; }
.hh-shared-card li small { color: var(--muted); }
.hh-money-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.hh-money-row span { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; font-weight: 800; }
.hh-money-row strong { font-size: 18px; }
.hh-money-row .over { color: var(--danger); }
.hh-meals-card { display: flex; flex-direction: column; gap: 10px; width: 100%; font: inherit; }
.hh-meals-head { display: flex; justify-content: space-between; align-items: baseline; }
.hh-meals-head strong { font-size: 18px; }
.hh-meals-card small { color: var(--muted); font-size: 14px; }
.hh-week-mini { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.hh-week-mini span { height: 30px; border-radius: 8px; background: var(--surface-muted); display: grid; place-items: center; font-size: 12px; font-weight: 800; color: var(--muted); }
.hh-week-mini span.on { background: var(--hh-green); color: var(--hh-green-ink); }
.hh-week-mini span.today { box-shadow: inset 0 0 0 2px var(--hh-orange); }
.hh-week-nav { display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: 14px; color: var(--muted); }
.hh-week-nav .hh-link { font-size: 24px; padding: 4px 10px; }
.hh-week { display: flex; flex-direction: column; gap: 8px; }
.hh-day { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--hh-line); border-radius: 16px; background: var(--hh-card); }
.hh-day.today { border-color: var(--hh-orange); }
.hh-day > b { flex: none; width: 42px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.hh-day > b small { display: block; font-size: 16px; color: var(--ink); letter-spacing: 0; }
.hh-day-meals { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.hh-day-meals .hh-muted { font-size: 14px; }
.hh-day-meal { display: flex; justify-content: space-between; gap: 8px; align-items: center; font-weight: 700; }
.hh-day-meal button { flex: none; border: 0; background: none; color: var(--muted); font-size: 13px; font-weight: 800; padding: 4px; }
.hh-meal-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.hh-meal { padding: 14px; border: 1px solid var(--hh-line); border-radius: 18px; background: var(--hh-card); display: flex; flex-direction: column; gap: 8px; }
.hh-meal-top { display: flex; gap: 10px; align-items: flex-start; }
.hh-meal-top > span:not(.hh-avatar) { flex: 1; min-width: 0; }
.hh-meal-top strong { display: block; font-size: 17px; }
.hh-meal-top small { display: block; color: var(--muted); font-size: 13px; }
.hh-meal-top .hh-avatar { flex: none; }
.hh-vote { flex: none; min-width: 54px; min-height: 40px; border-radius: 999px; border: 1px solid var(--hh-line); background: none; color: var(--ink); font-weight: 800; font-size: 15px; }
.hh-vote[aria-pressed="true"] { background: var(--hh-butter); color: #2a2018; border-color: transparent; }
.hh-meal-ings { font-size: 14px; color: var(--muted); }
.hh-meal-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.hh-meal-actions select, .hh-meal-actions button { min-height: 38px; border-radius: 12px; border: 1px solid var(--hh-line); background: var(--surface-muted); color: var(--ink); font: inherit; font-size: 14px; font-weight: 700; padding: 0 12px; }
.hh-meal-actions .hh-remove { background: none; color: var(--muted); }
.hh-meal.planned { border-color: var(--hh-green); }
textarea.hh-input { resize: vertical; min-height: 64px; padding-top: 12px; font: inherit; }

/* Fallback when view transitions are missing: the new screen slides in (styles.css has the wipe). */
.hh-view.hh-entering { animation: basket-enter .28s var(--wipe-ease) both; }
html[data-nav="back"] .hh-view.hh-entering { animation-name: basket-enter-back; }
@media (prefers-reduced-motion: reduce) { .hh-view.hh-entering { animation: none; } }

.hh-start-trip { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; border: 0; border-radius: 20px; background: var(--hh-butter); color: #2a2018; font: inherit; text-align: left; }
.hh-start-trip[hidden] { display: none; }
.hh-start-trip > span:first-child { font-size: 24px; }
.hh-start-trip > span:nth-child(2) { flex: 1; }
.hh-start-trip strong { display: block; font-size: 17px; }
.hh-start-trip small { display: block; font-size: 13px; opacity: .8; }
.hh-start-trip:active { transform: scale(.98); }

/* Suggestions with pictures */
.hh-suggest { display: grid; gap: 4px; margin-top: -6px; padding: 6px; border: 1px solid var(--hh-line); border-radius: 16px; background: var(--hh-card-2, var(--hh-card)); box-shadow: 0 10px 24px #0004; }
.hh-suggest[hidden] { display: none; }
.hh-suggest-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 6px; border: 0; border-radius: 12px; background: none; color: inherit; font: inherit; text-align: left; }
.hh-suggest-item:active, .hh-suggest-item:focus-visible { background: var(--surface-muted); }
.hh-suggest-item img { flex: none; width: 42px; height: 42px; border-radius: 10px; object-fit: cover; background: var(--surface-muted); }
.hh-suggest-item span { flex: 1; min-width: 0; }
.hh-suggest-item strong { display: block; font-size: 15px; }
.hh-suggest-item small { display: block; color: var(--muted); font-size: 13px; }
.hh-store-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.hh-store-chips:empty { display: none; }
.hh-store-chips button { min-height: 34px; padding: 0 12px; border: 1px solid var(--hh-line); border-radius: 999px; background: none; color: inherit; font: inherit; font-size: 14px; font-weight: 700; }
.hh-check-row { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.hh-check-row input { width: 20px; height: 20px; accent-color: var(--hh-green); }
.hh-day-meal.proposed { font-weight: 650; opacity: .85; }
.hh-day-meal.proposed span::before { content: "Proposed · "; color: var(--hh-orange); font-weight: 800; }
.hh-day { cursor: pointer; }
