:root {
  --ink: #162321;
  --muted: #66706d;
  --paper: #fbf8f2;
  --sand: #f0e8da;
  --green: #123b3a;
  --green-2: #1e5a56;
  --coral: #df765d;
  --gold: #efc579;
  --white: #fffdf9;
  --line: rgba(22, 35, 33, .13);
  --shadow: 0 24px 70px rgba(18, 59, 58, .13);
  --radius: 24px;
  --radius-sm: 14px;
}

.privacy-page { min-height: 100vh; padding: clamp(1rem, 5vw, 4rem); background: linear-gradient(135deg, #f3ecdf, #fffdf9); }
.privacy-card { width: min(820px, 100%); margin: 0 auto; padding: clamp(1.5rem, 5vw, 4rem); border: 1px solid var(--line); border-radius: 30px; background: var(--white); box-shadow: var(--shadow); }
.privacy-card > .brand { display: inline-block; margin-bottom: 3rem; }
.privacy-card h1 { max-width: 700px; font-size: clamp(2.8rem, 8vw, 5.8rem); line-height: .94; }
.privacy-lead { max-width: 680px; margin-bottom: 2.5rem; color: var(--muted); font-size: 1.15rem; line-height: 1.6; }
.privacy-card section { margin-top: 2rem; }
.privacy-card section h2 { margin-bottom: .65rem; font-size: 1.4rem; }
.privacy-card section p, .privacy-card section li { color: var(--muted); line-height: 1.65; }
.privacy-card section p + p { margin-top: .85rem; }
.privacy-card section ul { padding-left: 1.25rem; }
.privacy-updated { margin: 2.5rem 0 1.25rem; color: var(--muted); font-size: .85rem; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.5; }
body.drawer-open { overflow: hidden; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
code { background: rgba(18, 59, 58, .08); border-radius: 6px; padding: .12em .38em; }

h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(2.7rem, 7vw, 6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.6rem); }
h3 { font-size: 1.45rem; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.eyebrow { margin-bottom: .65rem; color: var(--green-2); font-size: .74rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow--light { color: #f7d99e; }

.primary-button, .secondary-button, .ghost-button, .glass-button, .danger-button {
  appearance: none; border: 0; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; padding: .72rem 1.2rem; font-weight: 800; text-decoration: none; transition: transform .18s ease, background .18s ease, opacity .18s ease;
}
.primary-button:hover, .secondary-button:hover, .ghost-button:hover, .glass-button:hover, .danger-button:hover { transform: translateY(-1px); }
.primary-button { background: var(--coral); color: white; box-shadow: 0 12px 28px rgba(223, 118, 93, .28); }
.secondary-button { background: var(--green); color: white; }
.ghost-button { background: rgba(255, 255, 255, .11); color: white; border: 1px solid rgba(255,255,255,.26); }
.ghost-button--dark { color: var(--green); background: rgba(18,59,58,.08); border-color: transparent; }
.glass-button { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.34); color: white; backdrop-filter: blur(12px); }
.danger-button { background: #962f2f; color: white; }
.primary-button--wide, .secondary-button--wide, .danger-button--wide { width: 100%; }
.text-button { appearance: none; background: none; border: 0; padding: 0; color: var(--green-2); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
button:disabled { opacity: .55; cursor: wait; transform: none !important; }

input, textarea, select {
  width: 100%; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.8); color: var(--ink); padding: .82rem .9rem; outline: none; transition: border-color .18s, box-shadow .18s, background .18s;
}
input:focus, textarea:focus, select:focus { border-color: var(--green-2); background: white; box-shadow: 0 0 0 4px rgba(30,90,86,.11); }
label { font-weight: 750; color: var(--ink); }
label input, label textarea, label select { margin-top: .35rem; font-weight: 500; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

.full-screen { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.setup-view { background: radial-gradient(circle at top left, #265f5b, var(--green) 45%, #091f1f); }
.setup-card { width: min(700px, 100%); background: var(--white); padding: clamp(2rem, 5vw, 4.5rem); border-radius: 30px; box-shadow: var(--shadow); }
.setup-card h1 { font-size: clamp(2rem, 5vw, 4rem); }
.setup-card ol { margin: 1.5rem 0 2rem; padding-left: 1.3rem; }
.logo-mark { width: 48px; height: 48px; border-radius: 16px; display: inline-grid; place-items: center; background: var(--green); color: white; font-size: 1.25rem; font-weight: 900; margin-bottom: 1.5rem; }

.auth-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(380px, .75fr); background: var(--white); }
.oauth-login-notice { display: grid; gap: .25rem; margin-bottom: 1.25rem; padding: 1rem; border: 1px solid rgba(30,90,86,.18); border-radius: 14px; background: rgba(30,90,86,.08); color: var(--green); }
.oauth-login-notice span { color: var(--muted); font-size: .9rem; line-height: 1.45; }
.oauth-consent-view { padding: 1.5rem; background: linear-gradient(135deg, #f3ecdf, #fffdf9); }
.oauth-consent-card { width: min(680px, 100%); padding: clamp(1.5rem, 5vw, 3.5rem); border: 1px solid var(--line); border-radius: 30px; background: var(--white); box-shadow: var(--shadow); }
.oauth-consent-card h1 { margin-bottom: 1rem; font-size: clamp(2.35rem, 7vw, 4.6rem); line-height: .96; }
.oauth-consent-intro { color: var(--muted); font-size: 1.05rem; line-height: 1.55; }
.oauth-permissions { margin: 1.4rem 0 1rem; padding: 1.25rem; border-radius: 18px; background: var(--paper); }
.oauth-permissions h2 { margin-bottom: .65rem; font-size: 1.15rem; }
.oauth-permissions ul { margin: 0 0 .85rem; padding-left: 1.25rem; }
.oauth-permissions li + li { margin-top: .4rem; }
.oauth-permissions p { margin: 0; color: var(--muted); font-size: .9rem; }
.oauth-consent-actions { display: flex; justify-content: flex-end; gap: .75rem; margin-top: 1.25rem; }
.oauth-consent-card > .text-button { margin-top: 1rem; }
.auth-visual { min-height: 100vh; position: relative; background-image: url('https://unsplash.com/photos/NOyxfhv9EIg/download?force=true&w=1800'); background-size: cover; background-position: center; overflow: hidden; }
.auth-visual__overlay { position: absolute; inset: 0; background: linear-gradient(110deg, rgba(9,31,31,.88), rgba(18,59,58,.34) 65%, rgba(18,59,58,.55)); }
.auth-visual__content { position: absolute; inset: auto auto 9% 8%; width: min(740px, 82%); color: white; }
.auth-visual__content h1 { margin-bottom: 1rem; }
.auth-visual__content > p:not(.eyebrow) { max-width: 650px; font-size: 1.15rem; color: rgba(255,255,255,.82); }
.auth-pills, .hero__meta { display: flex; gap: .6rem; flex-wrap: wrap; }
.auth-pills span, .hero__meta span { border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.1); border-radius: 999px; padding: .5rem .82rem; font-size: .86rem; backdrop-filter: blur(8px); }
.auth-panel { display: grid; align-items: center; padding: 3rem clamp(2rem, 5vw, 5rem); }
.auth-panel__inner { width: min(460px, 100%); margin: 0 auto; }
.brand { display: inline-block; text-decoration: none; font-size: .82rem; font-weight: 900; letter-spacing: .18em; margin-bottom: 3.5rem; color: var(--green); }
.brand--light { color: white; margin: 0; }
.auth-panel h2 { font-size: 3rem; margin-bottom: .8rem; }
.stack-form { display: grid; gap: 1rem; margin: 1.7rem 0 1rem; }
.auth-links { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.auth-captcha { display: grid; gap: .35rem; margin-top: .2rem; }
.auth-captcha > div { min-height: 65px; }
.auth-captcha small { color: var(--muted); line-height: 1.35; }
.form-message { min-height: 1.4rem; margin-top: 1rem; color: var(--green-2); font-weight: 700; }
.form-message.is-error { color: #a12d2d; }

.trip-gate { background: linear-gradient(135deg, #f3ecdf, #fffdf9); }
.trip-gate__card { width: min(980px, 100%); background: white; border: 1px solid var(--line); border-radius: 30px; padding: clamp(1.5rem, 5vw, 4rem); box-shadow: var(--shadow); }
.trip-gate__top { display: flex; align-items: flex-start; justify-content: space-between; }
.trip-gate__card h1 { font-size: clamp(2.5rem, 6vw, 5rem); max-width: 730px; }
.gate-gpt-start { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: 1.3rem; padding: 1.5rem; border-radius: 22px; background: var(--green); color: white; }
.gate-gpt-start > div { max-width: 620px; }
.gate-gpt-start h2 { margin-bottom: .45rem; font-size: 1.8rem; color: white; }
.gate-gpt-start p { margin-bottom: .35rem; color: rgba(255,255,255,.78); }
.gate-gpt-start .eyebrow { color: var(--gold); }
.gate-gpt-start .primary-button { flex: 0 0 auto; text-decoration: none; white-space: nowrap; }
.gate-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.gate-grid article { border: 1px solid var(--line); border-radius: 22px; padding: 1.5rem; background: var(--paper); }
.gate-grid h2 { font-size: 1.6rem; }
.manual-trip-card details > summary { cursor: pointer; color: var(--green); font-size: 1.25rem; font-weight: 900; }
.manual-trip-card details[open] > summary { margin-bottom: 1rem; }
.join-form { display: grid; grid-template-columns: 1fr auto; gap: .6rem; }
.existing-trips { display: grid; gap: .7rem; margin-top: 1rem; }
.existing-trip { display: grid; grid-template-columns: 1fr auto; align-items: stretch; border: 1px solid var(--line); border-radius: 14px; background: white; overflow: hidden; }
.existing-trip__open { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-width: 0; padding: .9rem 1rem; border: 0; background: white; text-align: left; }
.existing-trip__open:hover { background: rgba(30,90,86,.05); }
.existing-trip__open span { display: grid; min-width: 0; }
.existing-trip__open small { color: var(--muted); }
.existing-trip__delete { border: 0; border-left: 1px solid var(--line); padding: .75rem 1rem; background: #fff6f3; color: #962f2f; font-weight: 850; }
.existing-trip__delete:hover { background: #ffe5de; }
.create-trip-form { display: grid; gap: .85rem; margin-top: 1.2rem; }
.date-fields { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.file-button { display: flex; align-items: center; justify-content: center; min-height: 44px; border: 1px dashed var(--green-2); border-radius: 12px; color: var(--green-2); background: white; cursor: pointer; }
.file-button:hover { background: rgba(30,90,86,.06); }
.empty-state { width: 100%; border: 1px dashed var(--line); border-radius: 14px; padding: 1rem; color: var(--muted); background: rgba(255,255,255,.55); }
.empty-state--large { padding: 2rem; }
.map-empty { min-height: 100%; display: grid; place-items: center; padding: 2rem; color: var(--muted); text-align: center; }

.app-header { position: sticky; top: 0; z-index: 50; min-height: 68px; padding: 0 clamp(1rem, 4vw, 4rem); display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; background: rgba(18,59,58,.96); color: white; backdrop-filter: blur(16px); }
.header-brand-group { display: flex; align-items: center; gap: .85rem; }
.app-header .brand { margin-bottom: 0; }
.header-home-button { display: inline-flex; align-items: center; gap: .4rem; min-height: 38px; padding: .45rem .7rem; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: rgba(255,255,255,.08); color: white; font-size: .78rem; font-weight: 850; }
.header-home-button:hover { background: rgba(255,255,255,.16); }
.header-home-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.desktop-nav { display: flex; align-items: center; gap: 1.25rem; }
.desktop-nav a { color: rgba(255,255,255,.78); text-decoration: none; font-size: .9rem; font-weight: 700; }
.desktop-nav a:hover { color: white; }
.header-actions { display: flex; align-items: center; gap: .7rem; }
.avatar-button { border: 1px solid rgba(255,255,255,.3); background: var(--gold); color: var(--green); width: 38px; height: 38px; border-radius: 50%; font-weight: 900; }
.save-status { color: rgba(255,255,255,.72); font-size: .8rem; min-width: 72px; text-align: right; }
.save-status.is-saving::before { content: ''; width: 8px; height: 8px; display: inline-block; border-radius: 50%; background: var(--gold); margin-right: 6px; animation: pulse 1s infinite; }
.save-status.is-error { color: #ffd1c7; }
@keyframes pulse { 50% { opacity: .35; } }
.online-users { display: flex; align-items: center; }
.online-avatar { width: 31px; height: 31px; border-radius: 50%; display: grid; place-items: center; color: var(--green); background: #dceec9; border: 2px solid var(--green); font-size: .72rem; font-weight: 900; margin-left: -7px; position: relative; }
.online-avatar:first-child { margin-left: 0; }
.online-avatar::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #45cf72; border: 2px solid var(--green); position: absolute; right: -1px; bottom: -1px; }

.drawer { position: fixed; z-index: 90; top: 0; right: 0; width: min(430px, 92vw); height: 100vh; padding: 2.4rem 1.7rem; background: var(--white); box-shadow: -25px 0 70px rgba(0,0,0,.2); transform: translateX(105%); transition: transform .25s ease; overflow-y: auto; }
.drawer.is-open { transform: translateX(0); }
.drawer__close { position: absolute; top: 1rem; right: 1rem; border: 0; background: rgba(18,59,58,.08); width: 38px; height: 38px; border-radius: 50%; font-size: 1.4rem; }
.drawer hr { border: 0; border-top: 1px solid var(--line); margin: 1.8rem 0; }
.drawer .primary-button--wide, .drawer .secondary-button--wide, .drawer .danger-button--wide { margin-top: .7rem; }
.drawer-file-button { margin-top: .7rem; font-size: .9rem; }
.drawer .form-message.small { min-height: 0; margin-bottom: 0; font-size: .8rem; }
.gpt-launch-button { margin-bottom: .2rem; }
.connection-status { margin: .75rem 0 0; padding: .7rem .8rem; border-radius: 12px; background: var(--sand); color: var(--muted); font-size: .82rem; font-weight: 750; }
.connection-status.is-connected { background: rgba(30,90,86,.1); color: var(--green-2); }
.secret-panel { margin-top: .8rem; padding: .85rem; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.secret-panel label { font-size: .78rem; }
.secret-panel input { min-width: 0; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .75rem; }
.gpt-setup-links { display: flex; flex-wrap: wrap; gap: .45rem .8rem; margin: .8rem 0; }
.gpt-setup-links a { color: var(--green-2); font-size: .78rem; font-weight: 800; text-underline-offset: 3px; }
.drawer-backdrop { position: fixed; z-index: 80; inset: 0; background: rgba(7,18,18,.58); backdrop-filter: blur(3px); }
.inline-form { display: grid; grid-template-columns: 1fr auto; gap: .5rem; margin-top: .35rem; }
.invite-code-box { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .6rem; background: var(--sand); border-radius: 14px; padding: .65rem; }
.invite-code-box strong { letter-spacing: .15em; padding-left: .5rem; }

.hero { min-height: calc(100vh - 68px); position: relative; display: flex; align-items: flex-end; background-image: url('https://unsplash.com/photos/NOyxfhv9EIg/download?force=true&w=2000'); background-size: cover; background-position: center; color: white; }
.hero__veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,31,31,.9), rgba(8,31,31,.25) 70%), linear-gradient(0deg, rgba(8,31,31,.7), transparent 55%); }
.hero__content { position: relative; z-index: 1; width: min(1500px, 100%); margin: 0 auto; padding: clamp(4rem, 8vw, 8rem) clamp(1rem, 5vw, 5rem); }
.hero__content h1 { max-width: 1050px; margin-bottom: 1.5rem; }
.hero__actions { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.4rem; }

.section { padding: clamp(4rem, 8vw, 8rem) clamp(1rem, 5vw, 5rem); }
.section > * { width: min(1500px, 100%); margin-left: auto; margin-right: auto; }
.section--compact { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.section--sand { background: var(--sand); }
.section--dark { background: var(--green); color: white; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 2.4rem; }
.section-heading h2 { margin-bottom: 0; }
.section-intro { max-width: 590px; margin-bottom: .35rem; color: var(--muted); }
.section-heading--light .section-intro { color: rgba(255,255,255,.68); }

.dashboard-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.metric-card { min-height: 155px; padding: 1.35rem; border: 1px solid var(--line); border-radius: var(--radius); background: white; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 14px 35px rgba(18,59,58,.05); }
.metric-card span { color: var(--muted); font-size: .83rem; font-weight: 750; }
.metric-card strong { font-size: clamp(1.8rem, 3vw, 3rem); letter-spacing: -.04em; }
.metric-card small { color: var(--muted); }
.metric-card--accent { background: var(--coral); color: white; border: 0; }
.metric-card--accent span, .metric-card--accent a { color: white; }
.progress { width: 100%; height: 5px; background: #e7e9e5; border-radius: 99px; overflow: hidden; }
.progress i { display: block; width: 0; height: 100%; background: var(--green-2); transition: width .25s ease; }
.reality-check { margin-top: 1rem; border-radius: var(--radius); background: #fff4d9; border: 1px solid rgba(175,124,22,.2); padding: 1.1rem 1.25rem; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; }
.reality-check p { margin: .22rem 0 0; color: #695b3f; }
.reality-check__icon { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); font-weight: 900; }
.switch { display: flex; align-items: center; gap: .6rem; font-size: .85rem; white-space: nowrap; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch span { width: 46px; height: 27px; background: #cabd9f; border-radius: 99px; position: relative; transition: background .2s; }
.switch span::after { content: ''; position: absolute; width: 21px; height: 21px; left: 3px; top: 3px; border-radius: 50%; background: white; box-shadow: 0 2px 6px rgba(0,0,0,.2); transition: transform .2s; }
.switch input:checked + span { background: var(--green-2); }
.switch input:checked + span::after { transform: translateX(19px); }
.switch em { font-style: normal; }

.route-layout { display: grid; grid-template-columns: .85fr 1.35fr; gap: 1.3rem; align-items: stretch; }
.route-list { display: grid; gap: .7rem; }
.route-item { display: grid; grid-template-columns: auto 1fr; gap: 1rem; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.72); padding: 1rem; }
.route-item__number { width: 38px; height: 38px; border-radius: 50%; background: var(--green); color: white; display: grid; place-items: center; font-weight: 900; }
.route-item h3 { font-size: 1.07rem; margin: 0 0 .2rem; }
.route-item p { margin: 0; color: var(--muted); }
.route-item small { color: var(--coral); font-weight: 800; }
.map { min-height: 550px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #d9dfd4; z-index: 1; }
.leaflet-control-attribution { font-size: 9px; }

.transport-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.transport-card { border: 1px solid var(--line); background: white; border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); box-shadow: 0 15px 40px rgba(18,59,58,.06); }
.transport-card--featured { background: #fff8ec; }
.transport-card__header { display: flex; justify-content: space-between; gap: 1rem; }
.transport-card__header h3 { margin-top: .75rem; }
.status-pill { display: inline-flex; padding: .3rem .62rem; border-radius: 999px; background: #f9d8cf; color: #8e3b2b; font-size: .7rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.status-pill--green { background: #d9eee8; color: var(--green-2); }
.plane-icon, .car-icon { font-size: 2rem; color: var(--coral); }
.transport-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin: 1rem 0; }
.transport-facts span { background: rgba(18,59,58,.06); padding: .75rem; border-radius: 12px; font-size: .85rem; }
.transport-facts b { display: block; margin-bottom: .2rem; }
.link-row { display: flex; flex-wrap: wrap; gap: .7rem 1rem; margin: 1rem 0; }
.link-row a, .hotel-card__links a, .activity-item a, .source-card a { color: var(--green-2); font-weight: 800; font-size: .84rem; }
.booking-toggle { display: flex; align-items: center; gap: .7rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1rem 0; margin: 1.1rem 0; }
.booking-toggle input, .car-option input, .activity-item input, .check-item input { width: 20px; height: 20px; accent-color: var(--green-2); flex: 0 0 auto; margin: 0; }
.booking-details { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.transport-notes { margin-top: 1rem; }
.transport-notes label { display: block; margin-bottom: .35rem; }
.transport-notes textarea { min-height: 105px; resize: vertical; background: rgba(255,255,255,.78); }
.transport-screenshots { margin-top: 1rem; border: 1px dashed rgba(30,90,86,.42); border-radius: 15px; padding: .9rem; background: rgba(255,255,255,.58); outline: none; transition: border-color .18s, background .18s, box-shadow .18s; }
.transport-screenshots:focus, .transport-screenshots:focus-within, .transport-screenshots.is-dragging { border-color: var(--green-2); background: white; box-shadow: 0 0 0 4px rgba(30,90,86,.1); }
.transport-screenshots__header { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .8rem; }
.transport-screenshots__header > div { display: grid; gap: .2rem; }
.transport-screenshots__header span { color: var(--muted); font-size: .76rem; font-weight: 600; }
.transport-screenshot-button { min-height: 38px; padding: .55rem .75rem; border-style: solid; font-size: .76rem; white-space: nowrap; }
.transport-screenshot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.transport-screenshot-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: white; }
.transport-screenshot-card a { display: block; aspect-ratio: 16 / 10; background: var(--sand); }
.transport-screenshot-card img { width: 100%; height: 100%; display: block; object-fit: cover; }
.transport-screenshot-card__meta { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .45rem; padding: .55rem .65rem; }
.transport-screenshot-card__meta span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: .7rem; font-weight: 650; }
.transport-screenshot-delete { appearance: none; border: 0; background: none; color: #962f2f; padding: .2rem; font-size: .7rem; font-weight: 850; text-decoration: underline; text-underline-offset: 2px; }
.car-options { display: grid; gap: .55rem; margin-top: 1rem; }
.car-option { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .7rem; border: 1px solid var(--line); border-radius: 13px; padding: .7rem; background: var(--paper); }
.car-option > span { display: grid; }
.car-option > span span { font-size: .78rem; color: var(--muted); font-weight: 500; }
.car-option a { font-size: .78rem; color: var(--green-2); }

.destination-block { padding: 0 0 4rem; }
.destination-block:last-child { padding-bottom: 0; }
.destination-header { display: grid; grid-template-columns: .8fr 1.2fr; min-height: 310px; border-radius: var(--radius); overflow: hidden; background: var(--green); color: white; margin-bottom: 1rem; }
.destination-header__image { min-height: 300px; }
.destination-header__image img { width: 100%; height: 100%; object-fit: cover; }
.destination-header__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(1.5rem, 4vw, 3rem); }
.destination-header__copy h3 { font-size: clamp(2.6rem, 5vw, 5rem); margin-bottom: .5rem; }
.destination-header__copy > p:not(.eyebrow) { color: rgba(255,255,255,.75); font-size: 1.05rem; }
.destination-meta { display: flex; flex-wrap: wrap; gap: .5rem; }
.destination-meta span { border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: .4rem .7rem; font-size: .76rem; }
.hotel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.hotel-card { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: white; padding: 1.35rem; transition: transform .2s, border-color .2s, box-shadow .2s; }
.hotel-card:hover { transform: translateY(-2px); box-shadow: 0 14px 38px rgba(18,59,58,.09); }
.hotel-card.is-selected { border: 2px solid var(--green-2); box-shadow: 0 16px 45px rgba(30,90,86,.16); }
.hotel-card__badge { position: absolute; right: 1rem; top: 1rem; border-radius: 999px; background: var(--gold); color: var(--green); padding: .3rem .6rem; font-size: .68rem; font-weight: 900; }
.hotel-card__tier { color: var(--coral); font-weight: 900; letter-spacing: .1em; }
.hotel-card h4 { font-size: 1.4rem; margin: .55rem 0; padding-right: 4rem; }
.hotel-card p { color: var(--muted); font-size: .9rem; flex: 1; }
.hotel-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: .5rem 0 1rem; }
.hotel-tags span { background: var(--sand); border-radius: 999px; padding: .3rem .55rem; font-size: .7rem; font-weight: 750; }
.hotel-card__links { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-bottom: 1rem; }
.hotel-select { width: 100%; border: 1px solid var(--green); border-radius: 12px; min-height: 44px; background: white; color: var(--green); font-weight: 900; }
.hotel-card.is-selected .hotel-select { background: var(--green); color: white; }
.destination-notes { margin-top: 1rem; min-height: 80px; background: rgba(255,255,255,.75); }

.activity-columns { columns: 3 320px; column-gap: 1rem; }
.activity-group { break-inside: avoid; display: inline-block; width: 100%; margin-bottom: 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: white; padding: 1.2rem; }
.activity-group h3 { color: var(--coral); }
.activity-item { display: grid; grid-template-columns: auto 1fr; gap: .7rem; border-top: 1px solid var(--line); padding: .8rem 0; }
.activity-item > span { display: grid; }
.activity-item > span > span { color: var(--muted); font-size: .8rem; font-weight: 500; margin-top: .15rem; }
.activity-item a { margin-top: .25rem; }

.budget-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 1.2rem; align-items: start; }
.budget-editor { display: grid; gap: .65rem; }
.budget-row { display: grid; grid-template-columns: 1fr 190px; align-items: center; gap: 1rem; border-bottom: 1px solid rgba(255,255,255,.15); padding: .7rem 0; }
.budget-row label { color: white; }
.budget-row label small { display: block; color: rgba(255,255,255,.58); font-weight: 500; }
.budget-row__input { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .4rem; background: rgba(255,255,255,.11); border: 1px solid rgba(255,255,255,.18); border-radius: 12px; padding-left: .7rem; }
.budget-row__input input { border: 0; background: transparent; color: white; text-align: right; }
.budget-row__input input:focus { box-shadow: none; }
.budget-summary { position: sticky; top: 90px; border-radius: var(--radius); background: var(--gold); color: var(--green); padding: 2rem; }
.budget-summary span, .budget-summary small { display: block; }
.budget-summary strong { display: block; font-size: clamp(2.4rem, 5vw, 4.5rem); letter-spacing: -.05em; margin: .35rem 0; }
.budget-summary p { margin: 1.7rem 0 0; }

.planning-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.checklist { display: grid; gap: .55rem; }
.check-item { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: flex-start; border: 1px solid var(--line); border-radius: 14px; padding: .85rem; background: white; }
.check-item small { display: block; color: var(--muted); font-weight: 500; }
.check-item.is-done span { text-decoration: line-through; color: var(--muted); }
.global-notes { min-height: 355px; background: #fffaf0; line-height: 1.7; }

.history-list { display: grid; gap: .55rem; }
.history-entry { display: grid; grid-template-columns: auto 1fr auto; gap: .8rem; align-items: center; border: 1px solid var(--line); border-radius: 14px; padding: .85rem 1rem; background: rgba(255,255,255,.72); }
.history-entry__avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: white; font-weight: 900; }
.history-entry p { margin: 0; }
.history-entry small { color: var(--muted); }
.history-empty { padding: 1.5rem; border: 1px dashed var(--line); border-radius: 16px; color: var(--muted); }

.sources-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.source-card { border: 1px solid var(--line); border-radius: 16px; padding: 1rem; background: white; }
.source-card h3 { font-size: 1rem; }
.source-card p { color: var(--muted); font-size: .82rem; }
footer { background: #091f1f; color: rgba(255,255,255,.65); padding: 1.4rem clamp(1rem, 5vw, 5rem); display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: .82rem; }
footer strong { color: white; }

.toast-region { position: fixed; z-index: 120; right: 1rem; bottom: 1rem; display: grid; gap: .6rem; width: min(380px, calc(100vw - 2rem)); }
.toast { border-radius: 14px; padding: .9rem 1rem; background: var(--green); color: white; box-shadow: 0 15px 40px rgba(0,0,0,.25); animation: toast-in .25s ease; }
.toast.is-error { background: #8d2f2f; }
@keyframes toast-in { from { transform: translateY(10px); opacity: 0; } }

@media (max-width: 1100px) {
  .desktop-nav { display: none; }
  .dashboard-grid { grid-template-columns: repeat(2, 1fr); }
  .hotel-grid { grid-template-columns: 1fr; }
  .destination-header { grid-template-columns: 1fr 1.2fr; }
  .sources-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 800px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-visual { min-height: max(560px, 70vh); }
  .auth-visual__content { inset: auto 1.2rem 1.6rem; width: auto; }
  .auth-visual__content h1 { font-size: 2.8rem; }
  .auth-panel { padding: 2rem 1.2rem 3rem; }
  .brand { margin-bottom: 2rem; }
  .gate-grid, .route-layout, .transport-grid, .budget-layout, .planning-grid { grid-template-columns: 1fr; }
  .gate-gpt-start { align-items: stretch; flex-direction: column; }
  .reality-check { grid-template-columns: auto 1fr; }
  .reality-check .switch { grid-column: 1 / -1; }
  .destination-header { grid-template-columns: 1fr; }
  .destination-header__image { min-height: 230px; }
  .budget-summary { position: static; }
  .transport-facts { grid-template-columns: 1fr; }
  .transport-screenshots__header { grid-template-columns: 1fr; }
  .transport-screenshot-button { width: 100%; }
  .activity-columns { columns: 1; }
  footer { flex-direction: column; align-items: flex-start; }
  .save-status { display: none; }
}

@media (max-width: 560px) {
  .app-header { padding: 0 .8rem; }
  .header-home-button span { display: none; }
  .brand--light { font-size: .7rem; letter-spacing: .12em; }
  .section { padding-left: 1rem; padding-right: 1rem; }
  .section-heading { display: block; }
  .section-intro { margin-top: .8rem; }
  .dashboard-grid, .sources-grid { grid-template-columns: 1fr; }
  .hero { min-height: calc(88vh - 68px); }
  .hero__content { padding-bottom: 3rem; }
  .hero__content h1 { font-size: 3rem; }
  .booking-details, .budget-row { grid-template-columns: 1fr; }
  .transport-screenshot-grid { grid-template-columns: 1fr; }
  .car-option { grid-template-columns: auto 1fr; }
  .car-option a { grid-column: 2; }
  .join-form, .inline-form, .date-fields { grid-template-columns: 1fr; }
  .history-entry { grid-template-columns: auto 1fr; }
  .history-entry time { grid-column: 2; }
  .map { min-height: 430px; }
}

@media print {
  .app-header, .hero__actions, .drawer, .drawer-backdrop, .hotel-select, .link-row, .hotel-card__links, .text-button, button { display: none !important; }
  .hero { min-height: 350px; }
  .section { padding: 28px 20px; break-inside: avoid; }
  .hotel-grid, .dashboard-grid, .sources-grid { grid-template-columns: repeat(2, 1fr); }
  .map { min-height: 350px; }
  body { background: white; }
}
