:root {
  --ink: #1b1b1b;
  --paper: #f8f3e9;
  --cream: #fffaf1;
  --coral: #ff654a;
  --violet: #9b78ff;
  --yellow: #ffd949;
  --mint: #8ce7b4;
  --pink: #ffb3c7;
  --line: rgba(27, 27, 27, 0.16);
  --shadow: 5px 6px 0 var(--ink);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
.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; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 18%, rgba(255, 217, 73, .35), transparent 24rem),
    radial-gradient(circle at 92% 50%, rgba(155, 120, 255, .18), transparent 30rem),
    var(--paper);
  font-family: ui-rounded, "Avenir Next", "Segoe UI", system-ui, sans-serif;
  min-height: 100vh;
}

button, input, textarea, select { font: inherit; }
button, summary { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
.noise {
  position: fixed;
  inset: 0;
  opacity: .035;
  pointer-events: none;
  z-index: 20;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.topbar {
  max-width: 1180px;
  margin: auto;
  min-height: 76px;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 9px; font-weight: 900; font-size: 20px; text-decoration: none; letter-spacing: -.04em; }
.brand-mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--coral); border: 2px solid var(--ink); }
.beta { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; border: 1.5px solid var(--ink); border-radius: 99px; padding: 6px 10px; transform: rotate(2deg); background: var(--yellow); }

.home-view { max-width: 1180px; margin: auto; padding: 58px 28px 100px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 76px; align-items: center; }
.hero-copy h1, .trip-title-wrap h1 { font-size: clamp(58px, 8vw, 104px); line-height: .88; letter-spacing: -.075em; margin: 12px 0 28px; max-width: 760px; }
.hero-copy h1 em { color: var(--coral); font-style: normal; display: inline-block; transform: rotate(-2deg); }
.eyebrow, .card-kicker { margin: 0; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .15em; }
.eyebrow::before { content: "✦ "; color: var(--coral); }
.lede { max-width: 590px; font-size: 21px; line-height: 1.45; margin: 0 0 30px; }
.social-proof { display: flex; align-items: center; font-size: 14px; font-weight: 800; }
.avatar { width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--ink); display: inline-grid; place-items: center; font-weight: 900; margin-left: -8px; }
.social-proof .avatar:first-child { margin-left: 0; }
.social-proof > span:last-child { margin-left: 12px; }
.peach { background: #ff9a77; }.violet { background: var(--violet); }.yellow { background: var(--yellow); }.mint { background: var(--mint); }

.create-card, .panel {
  position: relative;
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.create-card { padding: 34px; display: grid; gap: 20px; transform: rotate(1deg); }
.create-card h2, .section-heading h2 { margin: 4px 0 0; font-size: 29px; letter-spacing: -.04em; }
.sticker { position: absolute; top: -22px; right: -20px; background: var(--violet); border: 2px solid var(--ink); border-radius: 50%; width: 92px; height: 92px; display: grid; place-items: center; text-align: center; font-size: 12px; font-weight: 900; transform: rotate(12deg); }
label { display: grid; gap: 7px; font-size: 13px; font-weight: 850; }
.optional { color: #777; font-weight: 600; }
input, textarea, select { width: 100%; color: var(--ink); background: #fff; border: 1.5px solid var(--ink); border-radius: 11px; padding: 13px 14px; outline: none; resize: vertical; }
input:focus, textarea:focus, select:focus { box-shadow: 0 0 0 3px var(--yellow); }
.two-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.three-fields { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 13px; }
.button { border: 1.7px solid var(--ink); border-radius: 999px; padding: 11px 18px; font-weight: 900; cursor: pointer; transition: transform .16s, box-shadow .16s; }
.button:hover { transform: translateY(-2px); box-shadow: 2px 3px 0 var(--ink); }
.button:active { transform: translateY(0); box-shadow: none; }
.button:focus-visible, summary:focus-visible, a:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }
.button.primary { background: var(--coral); }
.button.dark { color: white; background: var(--ink); }
.button.is-loading { display: inline-flex; align-items: center; justify-content: center; gap: 9px; }
.button.is-loading::before { content: ""; width: 14px; height: 14px; border: 2px solid rgba(255,255,255,.4); border-top-color: white; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.button.paper { background: var(--cream); }
.button.jumbo { padding: 15px 20px; display: flex; justify-content: space-between; font-size: 16px; border-radius: 13px; }
.button[disabled] { opacity: .55; cursor: wait; }
.fine-print { margin: -8px 0 0; color: #666; font-size: 11px; text-align: center; }
.how-it-works { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 55px; }
.how-it-works article { padding: 24px 8px; border-top: 1.5px solid var(--ink); }
.how-it-works strong { color: var(--coral); font-size: 13px; }
.how-it-works h3 { font-size: 22px; margin: 18px 0 8px; }
.how-it-works p { color: #555; line-height: 1.5; margin: 0; }

.trip-view { max-width: 1180px; margin: auto; padding: 20px 28px 110px; }
.loading { min-height: 50vh; display: grid; place-items: center; font-size: 18px; font-weight: 900; }
.trip-hero { position: relative; overflow: hidden; min-width: 0; min-height: 460px; padding: 34px 40px; border: 2px solid var(--ink); border-radius: 30px; background: var(--violet); box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: space-between; }
.trip-actions { display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 2; }
.live-pill { display: inline-flex; align-items: center; gap: 7px; max-width: min(70%, 520px); background: rgba(255,255,255,.8); border: 1.5px solid var(--ink); border-radius: 99px; padding: 7px 11px; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.live-pill i { width: 8px; height: 8px; background: #22ac61; border-radius: 50%; box-shadow: 0 0 0 3px rgba(34,172,97,.2); }
.live-pill span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trip-title-wrap { position: relative; z-index: 2; padding: 65px 0 40px; }
.trip-title-wrap h1 { font-size: clamp(50px, 8vw, 94px); margin-bottom: 18px; }
.trip-vibe { font-size: 20px; max-width: 660px; line-height: 1.45; margin: 0; }
.hero-orb { position: absolute; border: 2px solid var(--ink); border-radius: 50%; }
.orb-one { width: 280px; height: 280px; background: var(--yellow); right: -70px; top: 95px; }
.orb-two { width: 160px; height: 160px; background: var(--coral); right: 150px; bottom: -85px; }
.trip-stats { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 10px; }
.stat { min-width: 150px; padding: 11px 15px; background: rgba(255,250,241,.9); border: 1.5px solid var(--ink); border-radius: 14px; }
.stat small { display: block; font-weight: 800; color: #555; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.stat strong { display: block; margin-top: 3px; font-size: 17px; overflow-wrap: anywhere; }

.trip-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 30px; margin-top: 34px; align-items: start; }
.main-column { min-width: 0; display: grid; gap: 38px; }
.side-column { display: grid; gap: 28px; position: sticky; top: 20px; }
.panel { padding: 26px; box-shadow: 3px 4px 0 var(--ink); }
.join-panel { background: var(--yellow); }
.joined-note { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.joined-note h2 { margin: 0 0 6px; font-size: 26px; letter-spacing: -.04em; }
.joined-note p { margin: 0; }
.join-panel form { display: grid; gap: 14px; }
.join-panel h2 { margin: 4px 0 2px; font-size: 27px; }
.rsvp-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.rsvp-picker button { padding: 11px 8px; background: white; border: 1.5px solid var(--ink); border-radius: 10px; cursor: pointer; font-weight: 900; }
.rsvp-picker button:hover, .rsvp-picker button:focus-visible { background: var(--coral); box-shadow: 2px 2px 0 var(--ink); }
.rsvp-picker button:disabled { opacity: .55; cursor: wait; }
body.rsvp-pending .trip-layout, body.rsvp-declined .trip-layout { grid-template-columns: minmax(0, 680px); justify-content: center; }
body.rsvp-pending .main-column > :not(#join-section), body.rsvp-pending .side-column,
body.rsvp-declined .main-column > :not(#join-section), body.rsvp-declined .side-column,
body.rsvp-declined .trip-hero { display: none; }
.section-block { scroll-margin-top: 22px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.section-heading > div:first-child { min-width: 0; }
.section-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; }
.mio-button { padding: 8px 12px; font-size: 11px; }
.section-heading.small h2 { font-size: 25px; }
.count-pill { min-width: 34px; height: 34px; padding: 0 9px; border: 1.5px solid var(--ink); border-radius: 99px; display: grid; place-items: center; background: var(--yellow); font-size: 12px; font-weight: 900; }
.option-section + .option-section { margin-top: 12px; }
.option-section { border: 1.5px solid var(--ink); border-radius: 15px; background: rgba(255,255,255,.42); overflow: hidden; }
.option-section > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; cursor: pointer; list-style: none; }
.option-section > summary::-webkit-details-marker { display: none; }
.option-section > summary span { display: grid; gap: 2px; }
.option-section > summary strong { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; }
.option-section > summary small { color: #666; }
.option-section > summary b { transition: transform .2s; }
.option-section[open] > summary b { transform: rotate(180deg); }
.option-mio { padding: 0 14px 10px; text-align: right; }
.option-section .option-grid { padding: 0 14px 14px; }
.option-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.option-card { position: relative; background: var(--cream); border: 1.7px solid var(--ink); border-radius: 17px; padding: 18px; display: grid; gap: 13px; min-height: 170px; }
.option-card.locked { background: var(--mint); box-shadow: 3px 4px 0 var(--ink); }
.option-top { display: flex; justify-content: space-between; gap: 10px; }
.option-card h4 { font-size: 20px; line-height: 1.15; margin: 0; letter-spacing: -.03em; overflow-wrap: anywhere; }
.mio-source { display: inline-block; margin-top: 5px; color: #6f55d9; font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.option-link { font-size: 11px; font-weight: 800; text-decoration: none; color: #555; }
.option-link:hover { text-decoration: underline; }
.option-note { margin: 5px 0 0; color: #555; font-size: 13px; line-height: 1.4; }
.option-price { background: #fff; border: 1px solid var(--ink); border-radius: 9px; padding: 8px 10px; font-size: 12px; white-space: nowrap; align-self: start; }
.option-price strong { display: block; font-size: 16px; }
.option-footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 9px; margin-top: auto; }
.vote-button { background: white; }
.vote-button.voted { background: var(--violet); }
.lock-button { border: 0; background: transparent; padding: 8px 0; cursor: pointer; font-size: 11px; font-weight: 900; text-decoration: underline; }
.empty-state { border: 1.5px dashed var(--ink); border-radius: 16px; padding: 28px; text-align: center; color: #666; }
.add-card { margin-top: 16px; border: 1.7px dashed var(--ink); border-radius: 17px; background: rgba(255,255,255,.45); overflow: hidden; }
.add-card summary { list-style: none; cursor: pointer; padding: 16px 18px; font-weight: 900; }
.add-card summary::-webkit-details-marker { display: none; }
.add-card summary span { display: inline-grid; place-items: center; width: 28px; height: 28px; background: var(--yellow); border: 1.5px solid var(--ink); border-radius: 50%; margin-right: 8px; }
.add-card form { border-top: 1.5px dashed var(--ink); padding: 18px; display: grid; gap: 13px; background: var(--cream); }
.add-card.compact { margin-top: 12px; }
.import-card { margin: 0; background: rgba(255,255,255,.45); }
.import-help { margin: 0; color: #666; font-size: 12px; line-height: 1.5; }
.import-help code { color: var(--ink); font-weight: 700; }
.discover-panel { background: #f3edff; }
.discover-form { display: grid; gap: 14px; }
.interest-picker { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.interest-picker legend { width: 100%; margin-bottom: 7px; font-size: 13px; font-weight: 850; }
.interest-picker label { display: block; }
.interest-picker input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.interest-picker span { display: block; padding: 8px 11px; border: 1.5px solid var(--ink); border-radius: 99px; background: white; cursor: pointer; font-size: 12px; }
.interest-picker input:checked + span { background: var(--yellow); box-shadow: 2px 2px 0 var(--ink); }
.destination-guide { display: grid; gap: 18px; margin-top: 22px; }
.known-for { padding: 16px; background: white; border: 1.5px solid var(--ink); border-radius: 13px; }
.known-for p, .guide-note { margin: 7px 0 0; color: #555; font-size: 13px; line-height: 1.5; }
.guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.guide-card { display: grid; align-content: start; gap: 8px; padding: 15px; background: var(--cream); border: 1.5px solid var(--ink); border-radius: 14px; }
.guide-card > div:first-child { display: flex; justify-content: space-between; gap: 8px; }
.guide-kind, .confidence { font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.confidence { padding: 3px 6px; border: 1px solid var(--ink); border-radius: 99px; }
.confidence.high { background: var(--mint); }.confidence.medium { background: var(--yellow); }.confidence.low { background: #ddd; }
.guide-card h3 { margin: 0; font-size: 18px; line-height: 1.15; }
.guide-card p { margin: 0; color: #555; font-size: 12px; line-height: 1.45; }
.guide-card small { color: #666; }
.guide-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.guide-actions a { font-size: 11px; font-weight: 800; }
.guide-actions .button { padding: 7px 10px; font-size: 10px; }
.booking-advice { display: grid; gap: 9px; }
.booking-advice h3 { margin: 5px 0; font-size: 20px; }
.booking-advice article { display: grid; grid-template-columns: 78px 1fr; gap: 11px; align-items: start; padding: 12px; background: white; border: 1.5px solid var(--ink); border-radius: 12px; }
.booking-advice small { display: block; margin-top: 2px; color: #666; }
.booking-advice p { margin: 5px 0 0; color: #555; font-size: 12px; line-height: 1.4; }
.booking-action { padding: 6px 7px; border: 1px solid var(--ink); border-radius: 8px; text-align: center; font-size: 9px; font-weight: 900; text-transform: uppercase; }
.booking-action.book_now { background: var(--coral); }.booking-action.monitor { background: var(--yellow); }.booking-action.wait { background: var(--mint); }
.locked-panel { background: var(--mint); }
.celebrate { font-size: 40px; color: var(--coral); }
.locked-list { display: flex; flex-wrap: wrap; gap: 9px; }
.locked-choice { padding: 10px 13px; background: white; border: 1.5px solid var(--ink); border-radius: 10px; }
.locked-choice small { display: block; color: #666; text-transform: uppercase; font-weight: 800; font-size: 9px; letter-spacing: .1em; }
.locked-choice strong { display: block; margin-top: 2px; }

.itinerary-list { display: grid; gap: 10px; }
.date-warnings { margin-bottom: 12px; padding: 12px 14px; background: var(--yellow); border: 1.5px solid var(--ink); border-radius: 12px; }
.date-warnings p { margin: 4px 0 0; font-size: 12px; line-height: 1.45; }
.itinerary-item { display: grid; grid-template-columns: 92px 1fr; gap: 15px; background: var(--cream); border: 1.5px solid var(--ink); border-radius: 14px; padding: 14px; }
.itinerary-when { font-size: 11px; font-weight: 900; text-transform: uppercase; line-height: 1.5; }
.itinerary-item strong { font-size: 16px; }
.itinerary-item p { margin: 4px 0; color: #555; font-size: 12px; }
.itinerary-meta { display: block; margin-top: 3px; color: #666; font-size: 10px; text-transform: capitalize; }
.itinerary-range { display: block; margin-top: 3px; color: #6f55d9; font-size: 11px; font-weight: 900; }
.itinerary-item a { display: block; color: #666; font-size: 11px; margin-top: 3px; }
.budget-panel { background: var(--yellow); }
.budget-mark { display: grid; place-items: center; width: 42px; height: 42px; border: 1.5px solid var(--ink); border-radius: 50%; background: var(--mint); font-size: 22px; font-weight: 900; }
.budget-totals { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.budget-totals > div { padding: 16px; background: white; border: 1.5px solid var(--ink); border-radius: 13px; }
.budget-totals small { display: block; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.budget-totals strong { display: block; margin-top: 4px; font-size: 28px; }
.budget-breakdown { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 11px; }
.budget-breakdown span { padding: 7px 9px; background: var(--cream); border: 1px solid var(--ink); border-radius: 8px; font-size: 11px; }
.budget-note { margin: 11px 0 0; color: #555; font-size: 11px; }
.checklist-tabs { display: flex; gap: 7px; padding-bottom: 10px; overflow-x: auto; }
.checklist-tabs button { flex: 0 0 auto; padding: 8px 11px; border: 1.5px solid var(--ink); border-radius: 99px; background: white; font-weight: 850; cursor: pointer; }
.checklist-tabs button.active { background: var(--violet); box-shadow: 2px 2px 0 var(--ink); }
.checklist-list { display: grid; gap: 9px; }
.checklist-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; }
.checklist-item { display: flex; align-items: center; gap: 11px; padding: 13px 15px; background: var(--cream); border: 1.5px solid var(--ink); border-radius: 12px; cursor: pointer; }
.checklist-item input { width: 20px; height: 20px; margin: 0; accent-color: var(--coral); }
.checklist-item.done span { color: #666; text-decoration: line-through; }
.checklist-row > button { border: 0; background: transparent; padding: 8px; font-size: 11px; font-weight: 900; text-decoration: underline; cursor: pointer; }
.checklist-edit-form { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; }
.checklist-edit-form .button { padding: 9px 12px; }
.checklist-form { display: flex; align-items: end; gap: 10px; margin-top: 12px; }
.checklist-input { flex: 1; }
.checklist-note { margin: 8px 0 0; color: #666; font-size: 11px; }
.copilot-panel { background: #f3edff; }
.side-column .copilot-panel { padding: 20px; }
.side-column .copilot-panel .section-heading { align-items: flex-start; }
.side-column .chat-list { max-height: 280px; }
.side-column .chat-message { max-width: 100%; }
.side-column .chat-form { flex-direction: column; }
.copilot-spark { display: grid; place-items: center; width: 34px; height: 34px; background: var(--violet); border: 1.5px solid var(--ink); border-radius: 50%; }
.chat-list { display: grid; gap: 10px; max-height: 340px; overflow-y: auto; }
.chat-message { max-width: 86%; padding: 11px 13px; border: 1.5px solid var(--ink); border-radius: 14px; background: white; }
.chat-message.user { justify-self: end; background: var(--yellow); }
.chat-message strong { display: block; margin-bottom: 3px; font-size: 11px; text-transform: uppercase; }
.chat-message p { margin: 0; white-space: pre-wrap; }
.chat-sources { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chat-sources a { font-size: 10px; font-weight: 800; overflow-wrap: anywhere; }
.chat-actions { display: grid; gap: 7px; margin-top: 10px; }
.chat-actions button { padding: 8px 10px; border: 1px solid var(--ink); border-radius: 9px; background: var(--mint); text-align: left; font-size: 11px; font-weight: 800; cursor: pointer; }
.chat-actions button:disabled { background: #eee; color: #666; cursor: default; }
.chat-form { display: flex; gap: 9px; margin-top: 12px; }
.chat-form input { flex: 1; }
.chat-note { margin: 8px 0 0; color: #666; font-size: 11px; }
.import-dialog { width: min(760px, calc(100% - 24px)); max-height: calc(100vh - 30px); padding: 0; color: var(--ink); background: var(--paper); border: 2px solid var(--ink); border-radius: 20px; box-shadow: 7px 8px 0 var(--ink); }
.import-dialog::backdrop { background: rgba(27,27,27,.62); }
.import-dialog > form { padding: 24px; }
.dialog-heading, .dialog-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.dialog-heading h2 { margin: 4px 0 0; font-size: 28px; }
.dialog-close { border: 0; background: transparent; font-size: 34px; cursor: pointer; }
.import-summary { color: #555; line-height: 1.5; }
.import-questions { padding: 12px 14px; background: var(--yellow); border: 1.5px solid var(--ink); border-radius: 12px; font-size: 12px; }
.import-questions:empty { display: none; }
.import-questions ul { margin: 7px 0 0; padding-left: 20px; }
.import-preview-list { display: grid; gap: 12px; margin: 16px 0; }
.import-preview-item { display: grid; gap: 11px; padding: 15px; background: var(--cream); border: 1.5px solid var(--ink); border-radius: 14px; }
.import-preview-item.suggestion { background: #f3edff; }
.import-select { display: flex; align-items: center; gap: 8px; }
.import-select input { width: 20px; height: 20px; margin: 0; accent-color: var(--coral); }
.import-preview-item > small { color: #666; }
.dialog-actions { position: sticky; bottom: 0; padding-top: 12px; background: var(--paper); }
.guest-list { display: grid; gap: 12px; }
.guest { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 10px; }
.guest .avatar { width: 38px; height: 38px; margin: 0; font-size: 13px; }
.guest strong { display: block; font-size: 14px; }
.guest small { display: block; color: #666; font-size: 10px; margin-top: 2px; }
.rsvp-status { font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; padding: 5px 7px; border-radius: 99px; border: 1px solid var(--ink); }
.rsvp-yes { background: var(--mint); }.rsvp-maybe { background: var(--yellow); }.rsvp-no { background: #ddd; }
.nudge-panel { background: var(--coral); }
.nudge-panel h3 { font-size: 24px; line-height: 1.05; letter-spacing: -.04em; margin: 15px 0 8px; }
.nudge-panel p { line-height: 1.45; font-size: 13px; }
.nudge-panel .button { width: 100%; background: var(--cream); }
.nudge-icon { width: 42px; height: 42px; display: grid; place-items: center; border: 1.5px solid var(--ink); background: var(--yellow); border-radius: 50%; font-weight: 900; }
.mobile-nav { display: none; }
.toast { position: fixed; left: 50%; bottom: 28px; max-width: calc(100vw - 24px); transform: translate(-50%, 20px); background: var(--ink); color: white; padding: 11px 18px; border-radius: 99px; font-weight: 800; font-size: 13px; text-align: center; overflow-wrap: anywhere; opacity: 0; pointer-events: none; transition: .2s; z-index: 50; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 850px) {
  .home-view { grid-template-columns: 1fr; padding-top: 38px; gap: 52px; }
  .create-card { transform: none; }
  .how-it-works { grid-template-columns: 1fr; margin-top: 10px; }
  .trip-layout { grid-template-columns: 1fr; }
  .side-column { position: static; }
  .crew-panel { scroll-margin-top: 20px; }
}

@media (max-width: 600px) {
  body.trip-open { padding-bottom: 68px; }
  .topbar { min-height: 64px; padding: 14px 17px; }
  .home-view { padding: 34px 17px 80px; }
  .hero-copy h1 { font-size: 58px; }
  .lede { font-size: 18px; }
  .create-card { padding: 24px 18px; border-radius: 19px; }
  .sticker { width: 72px; height: 72px; right: -4px; top: -40px; }
  .two-fields { grid-template-columns: 1fr; }
  .three-fields { grid-template-columns: 1fr; }
  .trip-view { padding: 8px 12px 50px; }
  .trip-hero { min-height: 440px; padding: 21px 18px; border-radius: 22px; }
  .trip-title-wrap { padding: 58px 0 24px; }
  .trip-title-wrap h1 { font-size: 54px; }
  .trip-vibe { font-size: 17px; }
  .trip-actions .button { font-size: 11px; padding: 9px 12px; }
  .trip-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { min-width: 0; }
  .trip-layout { margin-top: 25px; gap: 35px; }
  .section-heading { align-items: flex-start; }
  .section-actions { max-width: 58%; }
  .panel { padding: 20px 17px; }
  .option-grid { grid-template-columns: 1fr; }
  .guide-grid { grid-template-columns: 1fr; }
  .joined-note { align-items: flex-start; }
  .itinerary-item { grid-template-columns: 74px 1fr; }
  .checklist-form { align-items: stretch; flex-direction: column; }
  .checklist-edit-form { grid-template-columns: 1fr 1fr; }
  .checklist-edit-form input { grid-column: 1 / -1; }
  .chat-form { flex-direction: column; }
  .budget-totals { grid-template-columns: 1fr; }
  .mobile-nav { position: fixed; display: grid; grid-template-columns: repeat(5, 1fr); left: 8px; right: 8px; bottom: 8px; height: 61px; background: var(--ink); color: white; border-radius: 18px; padding: 7px; z-index: 30; box-shadow: 0 5px 20px rgba(0,0,0,.25); }
  .mobile-nav a { display: grid; place-items: center; align-content: center; gap: 2px; text-decoration: none; font-size: 9px; font-weight: 800; }
  .mobile-nav span { font-size: 17px; line-height: 1; }
  .toast { bottom: 82px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .button.is-loading::before { animation: none; }
}
