:root {
  --ink: #172b32;
  --muted: #6c7d82;
  --navy: #173b47;
  --navy-2: #225463;
  --lake: #2d7f82;
  --lake-soft: #dceced;
  --sky: #eaf2f6;
  --sand: #d99a59;
  --sand-soft: #f7eadb;
  --paper: #f7f9f8;
  --card: #ffffff;
  --line: #dfe7e6;
  --success: #2e7964;
  --warning: #b56f2c;
  --shadow: 0 18px 45px rgba(25, 58, 65, 0.08);
  --radius: 18px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html, body { overflow-x: hidden; }
[hidden] { display: none !important; }
.visually-hidden { position: fixed !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; }
body { margin: 0; min-width: 320px; background: var(--paper); }
button, input, select { font: inherit; }
button { color: inherit; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.auth-gate { position:fixed; inset:0; z-index:100; display:grid; place-items:center; overflow:auto; padding:32px; background:radial-gradient(circle at 6% 12%,rgba(66,145,198,.18),transparent 28%),radial-gradient(circle at 93% 88%,rgba(227,108,76,.13),transparent 24%),#f5f1e9; }
.auth-layout { width:min(1180px,100%); min-height:min(720px,calc(100vh - 64px)); display:grid; grid-template-columns:minmax(0,1.18fr) minmax(380px,.82fr); overflow:hidden; border:1px solid rgba(42,101,137,.16); border-radius:30px; background:#fffdf9; box-shadow:0 34px 90px rgba(40,79,108,.19); }
.auth-hero { position:relative; isolation:isolate; display:flex; flex-direction:column; overflow:hidden; padding:48px 54px; color:#173f5b; background:linear-gradient(145deg,#fffdf9 0%,#f6f1e8 100%); }
.auth-hero::before { content:""; position:absolute; z-index:-1; width:940px; height:250px; right:-350px; bottom:54px; border-radius:52% 0 0 52%; background:linear-gradient(135deg,#74b1dd 0%,#347fb9 45%,#22699e 100%); box-shadow:0 -104px 0 -42px rgba(78,151,204,.22); transform:rotate(-13deg); }
.auth-hero::after { content:""; position:absolute; z-index:-1; top:202px; left:18%; width:90px; height:90px; border:22px solid #e76e4c; border-radius:52% 52% 52% 4px; box-shadow:0 12px 22px rgba(204,83,53,.18); transform:rotate(-45deg); }
.auth-brand-lockup { position:relative; z-index:1; display:flex; align-items:center; gap:14px; }
.auth-brand-mark { width:52px; height:52px; display:grid; place-items:center; flex:0 0 auto; overflow:hidden; border:1px solid rgba(42,101,137,.16); border-radius:16px; background:#fffdf9; box-shadow:0 8px 20px rgba(54,101,132,.11); }
.auth-brand-mark img { width:100%; height:100%; border-radius:15px; object-fit:cover; }
.auth-brand-name { display:grid; gap:3px; }
.auth-brand-name strong { color:#174661; font-family:Georgia,serif; font-size:22px; letter-spacing:.1px; }
.auth-brand-name small { color:#4e87b0; font-size:9px; font-weight:800; letter-spacing:1.8px; text-transform:uppercase; }
.auth-hero-copy { position:relative; z-index:1; max-width:560px; margin:auto 0; padding:58px 0; }
.auth-hero .eyebrow { color:#df694a; }
.auth-hero h1 { margin:13px 0 20px; color:#174661; font-family:Georgia,serif; font-size:clamp(48px,5vw,72px); font-weight:700; line-height:.99; letter-spacing:-2.4px; }
.auth-hero-description { max-width:500px; margin:0; color:#4a6e7f; font-size:16px; line-height:1.65; }
.auth-feature-list { display:grid; gap:17px; margin-top:38px; }
.auth-feature { display:grid; grid-template-columns:38px 1fr; align-items:start; gap:14px; }
.auth-feature-number { padding-top:3px; color:#e16c4b; font-size:10px; font-weight:850; letter-spacing:1px; }
.auth-feature > span:last-child { display:grid; gap:3px; }
.auth-feature strong { color:#1a4b68; font-size:13px; }
.auth-feature small { color:#5d7986; font-size:11px; line-height:1.5; }
.auth-credit { position:relative; z-index:1; margin:0; color:#52788e; font-size:9px; font-weight:750; letter-spacing:1.2px; text-transform:uppercase; }
.auth-card { width:100%; max-width:470px; align-self:center; justify-self:center; padding:56px; background:#fffdf9; text-align:left; }
.auth-logo { width:68px; height:68px; display:grid; place-items:center; margin:0 0 26px; overflow:hidden; border:1px solid rgba(42,101,137,.15); border-radius:20px; background:#fff; box-shadow:0 12px 28px rgba(47,103,142,.15); }
.auth-logo img { width:100%; height:100%; border-radius:19px; object-fit:cover; }
.auth-card .eyebrow { margin-bottom:8px; color:#df694a; }
.auth-card h2 { margin:0 0 15px; color:#174661; font-family:Georgia,serif; font-size:38px; line-height:1.08; letter-spacing:-.8px; }
.auth-card > #authMessage { margin:0 0 30px; color:#5d7784; font-size:13px; line-height:1.65; }
.google-sign-in { width:100%; min-height:54px; display:flex; align-items:center; justify-content:center; gap:11px; border:1px solid #b9d4e4; border-radius:14px; color:#174661; background:white; font-size:13px; font-weight:750; cursor:pointer; box-shadow:0 10px 24px rgba(43,105,143,.09); transition:border-color .2s ease,background .2s ease,transform .2s ease,box-shadow .2s ease; }
.google-sign-in:hover { border-color:#5897c3; background:#f4f9fc; box-shadow:0 13px 28px rgba(43,105,143,.14); transform:translateY(-1px); }
.google-sign-in span { width:27px; height:27px; display:grid; place-items:center; border-radius:50%; color:#4285f4; background:#f3f6fb; font-size:15px; font-weight:850; }
.auth-card > .auth-privacy { margin:21px 0 0; padding-top:20px; border-top:1px solid var(--line); color:#819095; font-size:10px; font-weight:650; letter-spacing:.15px; text-align:center; }
.auth-gate.error #authMessage { color:#8b4034; }
.auth-gate.intro-active { background:linear-gradient(145deg,#f9f5ed,#e7f2f7); }
.auth-gate.intro-active .auth-layout { opacity:0; transform:scale(.985); pointer-events:none; transition:opacity .28s ease,transform .28s ease; }
.app-intro { position:absolute; inset:0; display:grid; place-items:center; align-content:center; overflow:hidden; color:#174661; text-align:center; }
.app-intro-sky { position:absolute; inset:0; z-index:-2; background:radial-gradient(circle at 16% 15%,#fffdf7 0 13%,transparent 13.5%),linear-gradient(135deg,#f8f3e9 0%,#e8f3f8 100%); }
.app-intro::before { content:""; position:absolute; z-index:-1; width:130vw; height:220px; right:-32vw; bottom:-70px; border-radius:60% 0 0 60%; background:linear-gradient(120deg,#78b4de,#2f7eb7 62%,#22669c); transform:rotate(-11deg); }
.app-intro-brand { display:grid; justify-items:center; }
.app-intro-logo { width:92px; height:92px; border:1px solid rgba(42,101,137,.14); border-radius:28px; box-shadow:0 18px 38px rgba(44,102,140,.16); animation:intro-logo 4.2s cubic-bezier(.22,.8,.28,1) both; }
.app-intro-copy { display:grid; justify-items:center; animation:intro-copy 4.2s cubic-bezier(.22,.8,.28,1) both; }
.app-intro p { margin:22px 0 8px; color:#e06a4b; font-size:11px; font-weight:850; letter-spacing:2.8px; }
.app-intro h1 { margin:0; color:#174661; font-family:Georgia,serif; font-size:clamp(29px,4vw,48px); font-weight:600; letter-spacing:-1px; }
.app-intro small { margin-top:17px; color:#5a7a8d; font-size:11px; font-weight:700; letter-spacing:.5px; }
.auth-gate.intro-exit { opacity:0; transition:opacity .42s ease; }
@keyframes intro-logo { 0%,10% { opacity:0; transform:translateY(14px) scale(.92); } 30%,86% { opacity:1; transform:translateY(0) scale(1); } 100% { opacity:0; transform:translateY(-7px) scale(1.02); } }
@keyframes intro-copy { 0%,40% { opacity:0; transform:translateY(11px); } 60%,86% { opacity:1; transform:translateY(0); } 100% { opacity:0; transform:translateY(-7px); } }
.auth-layout.auth-signin { display:block; width:min(440px,100%); min-height:0; border:1px solid rgba(42,101,137,.15); border-radius:30px; background:#fffdf9; box-shadow:0 28px 72px rgba(40,79,108,.16); }
.auth-signin .auth-card { max-width:none; padding:58px 54px; text-align:center; }
.auth-signin .auth-logo { margin:0 auto 26px; }
.auth-signin .auth-card h1 { margin:0 0 15px; color:#174661; font-family:Georgia,serif; font-size:40px; line-height:1.05; letter-spacing:-1px; }
.auth-signin .auth-card > #authMessage { margin-bottom:30px; }
.auth-signin .auth-privacy { margin-top:22px; }
.invite-panel { display:grid; gap:10px; margin:-8px 0 18px; text-align:left; }
.invite-panel label { color:#52717e; font-size:11px; font-weight:750; }
.invite-panel input { width:100%; min-height:48px; padding:0 14px; border:1px solid #b9d4e4; border-radius:13px; color:#174661; background:#fff; font:inherit; font-size:14px; letter-spacing:.7px; outline:none; text-transform:uppercase; }
.invite-panel input:focus { border-color:#5897c3; box-shadow:0 0 0 3px rgba(88,151,195,.16); }
.invite-panel .google-sign-in { min-height:50px; }
@media (max-width:520px) { .auth-layout.auth-signin { width:100%; border:0; border-radius:0; box-shadow:none; }.auth-signin .auth-card { padding:46px 27px; }.auth-signin .auth-card h1 { font-size:34px; } }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 248px 1fr; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 248px; z-index: 20; display: flex; flex-direction: column; padding: 28px 18px 18px; color: #dce9e9; background: linear-gradient(175deg, #173d49 0%, #122f38 68%, #102a32 100%); }
.brand { display: flex; align-items: center; gap: 11px; margin: 0 8px 38px; color: white; text-decoration: none; }
.brand-mark { width: 39px; height: 39px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid rgba(255,255,255,.28); border-radius: 12px; background: rgba(255,255,255,.08); }
.brand-mark img { width:100%; height:100%; border-radius:11px; object-fit:cover; }
.brand strong, .brand small { display: block; }
.brand strong { font-family: Georgia, serif; font-size: 17px; letter-spacing: .2px; }
.brand small { margin-top: 2px; color: #9eb8bc; font-size: 10px; letter-spacing: 1.15px; text-transform: uppercase; }
.nav-list { display: grid; gap: 5px; }
.nav-item { position: relative; width: 100%; display: grid; grid-template-columns: 27px 1fr auto; align-items: center; gap: 10px; padding: 11px 12px; border: 0; border-radius: 11px; color: #afc4c7; background: transparent; cursor: pointer; text-align: left; transition: .18s ease; }
.nav-item:hover { color: white; background: rgba(255,255,255,.06); }
.nav-item.active { color: white; background: rgba(236,249,248,.12); box-shadow: inset 2px 0 0 #7fc0bb; }
.nav-icon { display: grid; place-items: center; }
.nav-icon svg { width: 20px; height: 20px; }
.nav-badge { min-width: 20px; height: 20px; display: grid; place-items: center; border-radius: 20px; color: #173b47; background: #91c9c3; font-size: 11px; font-weight: 800; }
.sidebar-foot { margin-top: auto; }
.sync-row { display: grid; grid-template-columns: 10px 1fr auto; align-items: center; gap: 7px; padding: 12px 12px 16px; color: #aec2c5; font-size: 11px; border-bottom: 1px solid rgba(255,255,255,.09); }
.sync-row small { color: #6f9297; }
.sync-dot { width: 7px; height: 7px; border-radius: 50%; background: #6cc7a4; box-shadow: 0 0 0 4px rgba(108,199,164,.1); }
.sync-row[data-status="loading"] .sync-dot,.sync-row[data-status="saving"] .sync-dot { background:#d7a05f; box-shadow:0 0 0 4px rgba(215,160,95,.12); }
.sync-row[data-status="error"] .sync-dot { background:#d47765; box-shadow:0 0 0 4px rgba(212,119,101,.12); }
.profile-card { width: 100%; display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 10px; margin-top: 14px; padding: 8px; color: white; border: 0; background: transparent; text-align: left; cursor: pointer; }
.profile-card strong, .profile-card small { display: block; }
.profile-card strong,.profile-card small { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.profile-card strong { font-size: 12px; }.profile-card small { margin-top: 3px; color: #88a4a8; font-size: 10px; }
.avatar { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: #173b47; background: #cfdfdc; font-size: 11px; font-weight: 800; }
.chevron { color: #87a4a8; }

.main-area { grid-column: 2; min-width: 0; }
.topbar { height: 76px; display: flex; align-items: center; justify-content: space-between; padding: 0 38px; background: rgba(255,255,255,.86); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.trip-switcher { display: flex; align-items: center; gap: 10px; padding: 7px 10px 7px 7px; border: 0; border-radius: 12px; background: transparent; cursor: pointer; text-align: left; }
.trip-switcher:hover { background: #f2f6f5; }
.trip-switcher small, .trip-switcher strong { display: block; }.trip-switcher small { color: var(--muted); font-size: 9px; letter-spacing: .9px; text-transform: uppercase; }.trip-switcher strong { margin-top: 2px; font-size: 13px; }
.trip-thumbnail { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; color: white; background: linear-gradient(145deg, #345e58, #9a754b); font-family: Georgia, serif; }
.topbar-actions { display: flex; gap: 7px; }.icon-button { position: relative; width: 39px; height: 39px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 11px; background: white; cursor: pointer; }.icon-button:hover { background: var(--sky); }.icon-button svg { width: 19px; }
.icon-button.has-alert::after { content: ""; position: absolute; top: 7px; right: 7px; width: 6px; height: 6px; border: 2px solid white; border-radius: 50%; background: #d26d52; }
.icon-button.notifications-active { color:var(--success); border-color:#b8d7cf; background:#edf7f3; }
.mobile-brand { display: none; }

.view { display: none; padding: 38px; animation: enter .28s ease; }.view.active { display: block; }
@keyframes enter { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.eyebrow { margin: 0 0 7px; color: var(--lake); font-size: 10px; font-weight: 800; letter-spacing: 1.4px; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 8px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(30px, 3vw, 42px); line-height: 1.05; font-weight: 500; letter-spacing: -.7px; }
.subhead { margin: 0; color: var(--muted); font-size: 14px; }
.weather-pill { display: flex; align-items: center; gap: 11px; min-width: 180px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: 0 5px 20px rgba(32,69,75,.04); }
.weather-icon { font-size: 25px; color: #d79544; }.weather-pill strong, .weather-pill small { display: block; }.weather-pill strong { font-size: 16px; }.weather-pill small { margin-top: 2px; color: var(--muted); font-size: 10px; }
.today-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, .75fr); gap: 25px; }
.hero-card, .side-card, .review-panel, .inbox-list-panel, .trip-card { border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow); }
.hero-card { padding: 25px; border-radius: var(--radius); background: linear-gradient(135deg, #fff 48%, #eff6f4 100%); }
.hero-topline { display: flex; justify-content: space-between; align-items: center; }.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 20px; font-size: 9px; font-weight: 800; letter-spacing: .45px; }.status-pill.live { color: #236b59; background: #e0f0ea; }.status-pill.live span { width: 6px; height: 6px; border-radius: 50%; background: #3f9c7e; box-shadow: 0 0 0 4px rgba(63,156,126,.1); }.status-pill.review { color: #9b5b1f; background: var(--sand-soft); }.status-pill.confirmed { color: #236b59; background: #e0f0ea; }.status-pill.planning { color: #2d6472; background: #e4eff4; }
.time-note { color: var(--muted); font-size: 10px; }
.hero-content { display: flex; align-items: center; gap: 17px; padding: 24px 0 21px; }.hero-icon { width: 61px; height: 61px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 17px; color: white; background: var(--navy); }.hero-icon svg { width: 39px; height: 39px; }.hero-content .label { margin-bottom: 5px; color: var(--lake); font-size: 9px; font-weight: 800; letter-spacing: 1.35px; }.hero-content h2 { margin-bottom: 4px; font-family: Georgia, serif; font-size: 25px; font-weight: 500; }.location { margin: 0; color: var(--muted); font-size: 12px; }
.progress-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 15px; padding: 15px 0 20px; border-top: 1px solid var(--line); }.progress-row div:not(.progress-track) span { display: block; }.progress-row div:not(.progress-track) span:first-child { font-size: 12px; font-weight: 800; }.progress-row div:not(.progress-track) span:last-child { margin-top: 2px; color: var(--muted); font-size: 9px; }.progress-row .right { text-align: right; }.progress-track { position: relative; height: 4px; border-radius: 5px; background: #dce6e4; }.progress-track span { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: var(--lake); }.progress-track i { position: absolute; top: 50%; width: 10px; height: 10px; border: 2px solid white; border-radius: 50%; background: var(--lake); box-shadow: 0 0 0 2px var(--lake); transform: translate(-50%,-50%); }
.hero-actions { display: flex; gap: 9px; }.button { min-height: 40px; padding: 0 16px; border: 1px solid transparent; border-radius: 10px; font-size: 11px; font-weight: 750; cursor: pointer; transition: .18s ease; }.button:hover { transform: translateY(-1px); }.button.primary { color: white; background: var(--lake); box-shadow: 0 8px 16px rgba(45,127,130,.2); }.button.primary:hover { background: #256f72; }.button.secondary { border-color: var(--line); background: white; }.button.secondary:hover { border-color: #bfcfcd; background: #f9fbfa; }.button.quiet { color: var(--muted); background: transparent; }.button.dark { color: white; background: var(--navy); }.button.full { width: 100%; display: flex; align-items: center; justify-content: space-between; }.button.small { min-height: 34px; padding: 0 12px; font-size: 10px; }
.button:disabled { cursor: not-allowed; opacity: .62; transform: none; box-shadow: none; }
.section-title { display: flex; align-items: flex-end; justify-content: space-between; margin: 29px 2px 14px; }.section-title h2 { margin: 0; font-family: Georgia, serif; font-size: 21px; font-weight: 500; }.text-button { padding: 0; border: 0; color: var(--lake); background: transparent; font-size: 11px; font-weight: 750; cursor: pointer; }.text-button span { margin-left: 5px; }
.timeline { display: grid; }.timeline-item { display: grid; grid-template-columns: 46px 20px 1fr; min-height: 92px; }.timeline-time { padding-top: 17px; text-align: right; }.timeline-time strong, .timeline-time small { display: block; }.timeline-time strong { font-size: 13px; }.timeline-time small { margin-top: 1px; color: var(--muted); font-size: 8px; }.timeline-line { position: relative; }.timeline-line::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: #d9e3e2; }.timeline-line span { position: absolute; top: 23px; left: 50%; z-index: 1; width: 9px; height: 9px; border: 2px solid var(--paper); border-radius: 50%; background: #8fa8aa; box-shadow: 0 0 0 1px #8fa8aa; transform: translateX(-50%); }.timeline-card { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 0 0 10px 8px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 13px; background: white; }.timeline-card h3 { margin: 5px 0 3px; font-size: 13px; }.timeline-card p { margin: 0; color: var(--muted); font-size: 10px; }.type-tag { font-size: 8px; font-weight: 850; letter-spacing: 1px; }.type-tag.drive { color: #4f7181; }.type-tag.dining { color: #a46729; }.type-tag.stay { color: #357267; }.circle-button { width: 33px; height: 33px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 50%; background: white; cursor: pointer; }.attention-dot { width: 9px; height: 9px; flex: 0 0 auto; border-radius: 50%; background: var(--sand); box-shadow: 0 0 0 5px var(--sand-soft); }.checkmark { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--success); font-size: 11px; }.new-booking { border-color: #a9d1c9; background: #f5fbf8; animation: flash 1s ease; }@keyframes flash { 50% { box-shadow: 0 0 0 5px rgba(68,145,123,.1); } }
.today-aside { display: grid; align-content: start; gap: 16px; }.side-card { padding: 20px; border-radius: 16px; box-shadow: 0 9px 30px rgba(25,58,65,.05); }.side-card-head { display: flex; align-items: center; justify-content: space-between; }.side-card h3 { margin: 0; font-family: Georgia, serif; font-size: 18px; font-weight: 500; }.ring { --size: 58px; position: relative; width: var(--size); height: var(--size); display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--lake) calc(var(--progress)*1%), #e3ecea 0); }.ring::before { content: ""; position: absolute; width: 46px; height: 46px; border-radius: 50%; background: white; }.ring b { position: relative; font-size: 11px; }.mini-stats { display: grid; grid-template-columns: repeat(3,1fr); margin: 18px 0; padding: 14px 0; border-block: 1px solid var(--line); }.mini-stats div { padding-left: 10px; border-left: 1px solid var(--line); }.mini-stats div:first-child { padding-left: 0; border-left: 0; }.mini-stats strong, .mini-stats span { display: block; }.mini-stats strong { font-size: 15px; }.mini-stats span { margin-top: 3px; color: var(--muted); font-size: 8px; }.budget-progress > div:first-child { display: flex; justify-content: space-between; color: var(--muted); font-size: 9px; }.budget-progress strong { color: var(--ink); font-size: 10px; }.budget-progress strong small { color: var(--muted); font-weight: 500; }.bar { height: 5px; margin-top: 8px; border-radius: 5px; background: #e1e9e8; }.bar span { display: block; height: 100%; border-radius: inherit; background: var(--sand); }
.inbox-nudge { display: grid; grid-template-columns: 42px 1fr; gap: 13px; }.nudge-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; color: var(--lake); background: var(--lake-soft); }.nudge-icon svg { width: 21px; }.inbox-nudge p:not(.eyebrow) { margin: 7px 0 16px; color: var(--muted); font-size: 10px; line-height: 1.5; }.inbox-nudge .full { grid-column: 1 / -1; }.insight-card { border: 0; color: #eaf3f1; background: var(--navy); }.insight-head { display: flex; align-items: center; gap: 8px; color: #9ed1c9; font-size: 9px; font-weight: 800; letter-spacing: .9px; text-transform: uppercase; }.spark { font-size: 16px; }.insight-card p { margin: 13px 0; font-family: Georgia, serif; font-size: 14px; line-height: 1.45; }.insight-card .text-button { color: #a9d7d1; }

.inbox-heading { align-items: center; }.inbox-layout { display: grid; grid-template-columns: minmax(340px,.9fr) minmax(460px,1.15fr); gap: 22px; }.inbox-list-panel, .review-panel { border-radius: var(--radius); box-shadow: 0 10px 32px rgba(25,58,65,.05); }.inbox-list-panel { padding: 18px; }.upload-zone { display: flex; align-items: center; gap: 12px; padding: 15px; border: 1px dashed #a7bfbd; border-radius: 13px; background: #f6faf9; cursor: pointer; }.upload-zone:hover { border-color: var(--lake); background: #f0f8f6; }.upload-zone > div { min-width: 0; flex: 1; }.upload-zone strong, .upload-zone small { display: block; }.upload-zone strong { font-size: 11px; }.upload-zone small { margin-top: 3px; color: var(--muted); font-size: 9px; }.upload-icon { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 10px; color: var(--lake); background: var(--lake-soft); font-weight: 800; }.filter-row { display: flex; align-items:center; justify-content: space-between; gap: 12px; margin: 20px 0 10px; border-bottom: 1px solid var(--line); }.queue-label { padding:9px 7px; border-bottom:2px solid var(--lake); color:var(--ink); font-size:9px; font-weight:750; }.queue-label span { margin-left:4px; padding:2px 5px; border-radius:8px; background:var(--sand-soft); }.sort-button { border: 0; color: var(--muted); background: transparent; font-size: 9px; }.document-list { display: grid; gap: 8px; }.document-card { width: 100%; display: grid; grid-template-columns: 62px 1fr; gap: 12px; padding: 11px; border: 1px solid transparent; border-radius: 13px; background: transparent; cursor: pointer; text-align: left; }.document-card:hover { background: #f7faf9; }.document-card.active { border-color: #bfd5d2; background: #f2f8f7; }.doc-preview { width: 62px; height: 72px; display: grid; place-items: center; border-radius: 8px; color: white; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }.hotel-preview { background: linear-gradient(155deg,#315b58,#9a7448); font-family: Georgia,serif; }.car-preview { background: linear-gradient(155deg,#4e6272,#a4adb2); font-size: 25px; }.doc-copy { min-width: 0; }.doc-copy > strong, .doc-copy > span, .doc-copy > small { display: block; }.doc-top { display: flex !important; align-items: center; justify-content: space-between; gap:8px; margin-bottom: 7px; }.doc-top-actions { display:flex; align-items:center; gap:7px; }.doc-top small { color: var(--muted); font-size: 8px; }.remove-draft { padding:2px 5px; border:0; border-radius:6px; color:#965044; background:transparent; font-size:8px; font-weight:750; cursor:pointer; }.remove-draft:hover { background:#f8e6e1; }.doc-copy > strong { overflow: hidden; margin-bottom: 4px; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }.doc-copy > span:not(.doc-top) { color: #516468; font-size: 9px; }.doc-copy > small { margin-top: 6px; color: var(--muted); font-size: 8px; }
.upload-zone.dragging { border-color: var(--lake); background: #eaf6f3; box-shadow: inset 0 0 0 2px rgba(45,127,130,.12); }.upload-zone.uploading { pointer-events:none; }.uploaded-preview { background-color:#536d74; background-position:center; background-size:cover; font-size:9px; font-weight:800; letter-spacing:.6px; }.document-card.just-added { animation: flash 1s ease; }.status-pill.error { color:#8b4034; background:#f7dcd6; }.review-panel.loading { opacity:.62; pointer-events:none; }
.review-panel[hidden], .source-strip[hidden], .confidence-score[hidden], .empty-inbox-state[hidden], .blank-page-state[hidden], #todayUserContent[hidden] { display:none; }.empty-inbox-state { min-height:260px; display:grid; place-content:center; justify-items:center; padding:30px; color:var(--muted); text-align:center; }.empty-inbox-state > span { width:46px; height:46px; display:grid; place-items:center; margin-bottom:13px; border-radius:13px; color:var(--lake); background:var(--lake-soft); font-size:19px; }.empty-inbox-state strong { color:var(--ink); font-size:12px; }.empty-inbox-state small { max-width:230px; margin-top:6px; font-size:9px; line-height:1.5; }.schedule-warning { display:block; margin-top:5px; color:#9a5c1d; font-size:8px; font-weight:750; }.confirmed-chip.outside-trip { color:#935616; background:#f9ead7; }
.review-panel { padding: 24px; }.review-head { display: flex; justify-content: space-between; gap: 20px; }.review-head h2 { margin-bottom: 5px; font-family: Georgia,serif; font-size: 25px; font-weight: 500; }.review-head p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 10px; }.review-head-actions { display:flex; align-items:center; gap:12px; }.review-head-actions .button { white-space:nowrap; }.confidence-score { width: 60px; height: 60px; display: grid; place-content: center; flex:0 0 auto; border: 5px solid #d9ebe7; border-top-color: var(--success); border-radius: 50%; text-align: center; }.confidence-score strong, .confidence-score small { display: block; }.confidence-score strong { font-size: 12px; }.confidence-score small { color: var(--muted); font-size: 7px; }.source-strip { display: flex; align-items: center; gap: 10px; margin: 20px 0; padding: 10px; border-radius: 12px; background: #eef3f2; }.source-image { min-width: 0; flex: 1; padding: 10px 14px; border-radius: 8px; color: #e6efed; background: linear-gradient(120deg,#25454a,#44635e); }.source-image span, .source-image b, .source-image small { display: block; }.source-image span { font-family: Georgia,serif; font-size: 9px; }.source-image b { margin: 5px 0 2px; color: white; font-size: 11px; }.source-image small { color: #b9ceca; font-size: 8px; }.icon-button.light { background: white; }.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }.field.full { grid-column: 1/-1; }.field > span { display: flex; justify-content: space-between; margin-bottom: 6px; color: #4d6064; font-size: 9px; font-weight: 750; }.field span i { padding: 2px 6px; border-radius: 8px; color: var(--warning); background: var(--sand-soft); font-size: 7px; font-style: normal; }.field input, .field select { width: 100%; height: 40px; padding: 0 11px; border: 1px solid var(--line); border-radius: 9px; outline: 0; color: var(--ink); background: white; font-size: 10px; }.field input:focus, .field select:focus { border-color: var(--lake); box-shadow: 0 0 0 3px rgba(45,127,130,.1); }.field > small { display: block; margin-top: 5px; color: var(--muted); font-size: 8px; }.warning-field select { border-color: #e1bb8e; background: #fffaf5; }.review-note { display: flex; gap: 10px; margin: 17px 0; padding: 12px; border-radius: 11px; color: #315f54; background: #edf7f3; }.review-note > span { font-size: 15px; }.review-note p { margin: 0; font-size: 9px; line-height: 1.5; }.review-note strong { display: block; margin-bottom: 2px; }.review-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }.review-actions > div { display: flex; gap: 8px; }
.trip-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }.trip-card { overflow: hidden; border-radius: var(--radius); }.trip-image { position: relative; height: 230px; display: flex; align-items: flex-end; padding: 23px; color: white; background-size: cover; }.trip-image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,rgba(9,32,36,.05),rgba(9,32,36,.82)); }.trip-image > * { position: relative; }.trip-image .status-pill { position: absolute; top: 17px; left: 17px; }.trip-image p { margin-bottom: 6px; color: #d2e0dd; font-size: 9px; font-weight: 800; letter-spacing: 1px; }.trip-image h2 { margin: 0; font-family: Georgia,serif; font-size: 27px; font-weight: 500; }.glacier { background: linear-gradient(155deg,#446e6b 0%,#6e8b80 35%,#9c8059 70%,#2b4c50 100%); }.olympic { background: linear-gradient(150deg,#23444a,#58786c 38%,#9b8871 70%,#34515a); }.trip-card-body { display: flex; align-items: center; gap: 20px; padding: 18px; }.traveler-stack { display: flex; align-items: center; }.traveler-stack > span { width: 29px; height: 29px; display: grid; place-items: center; margin-right: -7px; border: 2px solid white; border-radius: 50%; color: white; background: var(--navy-2); font-size: 8px; }.traveler-stack small { margin-left: 13px; color: var(--muted); font-size: 9px; white-space: nowrap; }.trip-facts { display: flex; gap: 15px; margin-left: auto; color: var(--muted); font-size: 9px; }.trip-facts b { color: var(--ink); }.placeholder-view { min-height: calc(100vh - 76px); place-items: center; text-align: center; }.placeholder-view.active { display: grid; }.placeholder-view > div { max-width: 430px; }.placeholder-view > div > span { width: 70px; height: 70px; display: grid; place-items: center; margin: 0 auto 20px; border-radius: 20px; color: var(--lake); background: var(--lake-soft); font-family: Georgia,serif; font-size: 25px; }.placeholder-view p { margin: 0 0 20px; color: var(--muted); }
.map-heading { align-items:center; }.map-heading .budget-trip-select { min-width:220px; }.map-summary-card { display:flex; align-items:center; justify-content:space-between; gap:26px; padding:20px 23px; border:1px solid #cfe1de; border-radius:var(--radius); background:linear-gradient(135deg,#f6fbfa,#e9f4f2); }.map-summary-card > div { display:flex; align-items:baseline; gap:9px; }.map-summary-card strong { color:var(--lake); font-family:Georgia,serif; font-size:34px; font-weight:500; }.map-summary-card span { font-size:13px; font-weight:750; }.map-summary-card p { max-width:520px; margin:0; color:var(--muted); font-size:11px; line-height:1.5; }.map-filter-row { display:flex; gap:10px; margin:21px 0 13px; }.map-filter-row label { display:grid; gap:5px; color:var(--muted); font-size:9px; font-weight:800; letter-spacing:.8px; text-transform:uppercase; }.map-filter-row select { min-width:155px; padding:9px 30px 9px 10px; border:1px solid var(--line); border-radius:9px; color:var(--ink); background:white; font-size:11px; font-weight:650; text-transform:none; }.map-place-list { display:grid; gap:10px; }.map-place-card { display:grid; grid-template-columns:42px minmax(0,1fr) auto; align-items:center; gap:15px; padding:16px 18px; border:1px solid var(--line); border-radius:14px; background:white; box-shadow:0 7px 20px rgba(25,58,65,.035); }.map-place-icon { width:38px; height:38px; display:grid; place-items:center; border-radius:11px; color:white; background:var(--navy); font-size:14px; font-weight:800; }.map-place-icon.booking-type-lodging { background:#357267; }.map-place-icon.booking-type-flight { background:#4f7181; }.map-place-icon.booking-type-car_rental { background:#5a7184; }.map-place-icon.booking-type-activity,.map-place-icon.booking-type-dining { background:#a46729; }.map-place-kicker { margin-bottom:4px; color:var(--lake); font-size:9px; font-weight:800; letter-spacing:.75px; text-transform:uppercase; }.map-place-copy h2 { margin:0 0 4px; font-size:14px; }.map-place-location,.map-place-route { margin:0; color:var(--muted); font-size:11px; line-height:1.45; }.map-place-route { display:flex; align-items:center; gap:7px; }.map-place-route b { color:var(--lake); }.map-place-actions { display:flex; align-items:center; gap:13px; }.map-place-actions .button { text-decoration:none; white-space:nowrap; }

.itinerary-panel { margin-top: 28px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.blank-page-state { min-height:calc(100vh - 140px); display:grid; place-content:center; justify-items:center; padding:40px; text-align:center; }.blank-page-state > span { width:64px; height:64px; display:grid; place-items:center; margin-bottom:18px; border-radius:18px; color:var(--lake); background:var(--lake-soft); font-size:25px; }.blank-page-state h1,.blank-page-state h2 { margin:0; font-family:Georgia,serif; font-weight:500; }.blank-page-state h1 { font-size:34px; }.blank-page-state h2 { font-size:27px; }.blank-page-state > p:not(.eyebrow) { max-width:420px; margin:10px 0 20px; color:var(--muted); font-size:11px; line-height:1.6; }.blank-page-state.compact { min-height:430px; border:1px dashed var(--line); border-radius:var(--radius); background:white; }.user-trip-section { margin-bottom:24px; }.user-trip-summary { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:22px 25px; border-radius:var(--radius) var(--radius) 0 0; color:white; background:linear-gradient(130deg,#244c53,#52796f); }.user-trip-summary h2 { margin:4px 0 0; font-family:Georgia,serif; font-size:25px; font-weight:500; }.user-trip-summary p { margin:0; color:#c8dcda; font-size:9px; font-weight:750; letter-spacing:.8px; }.user-trip-summary small { color:#d8e5e3; }.user-trip-summary-actions { display:flex; align-items:center; gap:8px; }.user-trip-summary-actions button { padding:6px 9px; border:1px solid rgba(255,255,255,.28); border-radius:8px; color:white; background:rgba(255,255,255,.08); font-size:9px; font-weight:750; cursor:pointer; }.user-trip-summary-actions button:hover { background:rgba(255,255,255,.17); }.user-trip-summary-actions .danger-link { color:#ffe1da; }.user-trip-bookings { display:grid; gap:10px; padding:18px; border:1px solid var(--line); border-top:0; border-radius:0 0 var(--radius) var(--radius); background:white; }
.trip-list-item { cursor:pointer; border-radius:var(--radius); box-shadow:var(--shadow); transition:.18s ease; }.trip-list-item:hover { transform:translateY(-2px); box-shadow:0 20px 48px rgba(25,58,65,.13); }.trip-list-item:focus-visible { outline:3px solid rgba(45,127,130,.28); outline-offset:3px; }.trip-list-item .user-trip-summary { min-height:130px; border-radius:var(--radius); }.trip-open-label { display:block; margin-top:12px; color:#b8d8d3; font-size:9px; font-weight:750; }.back-link { margin-bottom:20px; padding:0; border:0; color:var(--lake); background:transparent; font-size:10px; font-weight:750; cursor:pointer; }.back-link:hover { text-decoration:underline; }.trip-detail-hero { display:flex; align-items:flex-end; justify-content:space-between; gap:25px; padding:32px; border-radius:var(--radius); color:white; background:linear-gradient(130deg,#244c53,#52796f); box-shadow:var(--shadow); }.trip-detail-hero h1 { margin-bottom:10px; }.trip-detail-hero > div > p:last-child { margin:0; color:#c8dcda; font-size:11px; }.trip-detail-actions { display:flex; gap:9px; }.trip-detail-actions .button.secondary { border-color:rgba(255,255,255,.32); color:white; background:rgba(255,255,255,.1); }.button.danger { border-color:rgba(255,220,212,.42); color:#ffe1da; background:rgba(112,44,35,.28); }.trip-detail-bookings { margin-top:22px; padding:24px; border:1px solid var(--line); border-radius:var(--radius); background:white; box-shadow:var(--shadow); }.trip-detail-section-head { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:18px; }.trip-detail-section-head h2 { margin:0; font-family:Georgia,serif; font-size:25px; font-weight:500; }.trip-detail-add-actions,.empty-booking-actions { display:flex; gap:9px; }.trip-detail-booking-list { display:grid; gap:10px; }
.itinerary-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 23px 25px; border-bottom: 1px solid var(--line); }
.itinerary-head h2 { margin-bottom: 5px; font-family: Georgia,serif; font-size: 25px; font-weight: 500; }.itinerary-head p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 10px; }
.saved-count { padding: 8px 11px; border-radius: 10px; color: var(--muted); background: #f1f6f5; font-size: 9px; }.saved-count b { color: var(--ink); }
.itinerary-day { display: grid; grid-template-columns: 100px 1fr; min-height: 145px; }.day-label { padding: 23px; border-right: 1px solid var(--line); background: #f8faf9; text-align: center; }.day-label strong,.day-label span,.day-label small { display: block; }.day-label strong { color: var(--lake); font-size: 9px; letter-spacing: 1px; }.day-label span { margin: 6px 0; font-family: Georgia,serif; font-size: 18px; }.day-label small { color: var(--muted); font-size: 9px; }.day-content { min-width: 0; padding: 18px; }
.empty-booking-state { min-height: 108px; display: flex; align-items: center; gap: 12px; padding: 17px; border: 1px dashed #bfd0ce; border-radius: 13px; background: #fafcfb; }.empty-booking-state > span { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 10px; color: var(--lake); background: var(--lake-soft); }.empty-booking-state > div { min-width: 0; flex: 1; }.empty-booking-state strong,.empty-booking-state small { display: block; }.empty-booking-state strong { font-size: 11px; }.empty-booking-state small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.saved-booking-card { display: grid; grid-template-columns: 43px 1fr auto; align-items: center; gap: 13px; padding: 15px; border: 1px solid #b8d7d1; border-radius: 13px; background: #f4faf8; }.saved-booking-icon { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 11px; color: white; background: var(--navy); font-family: Georgia,serif; }.saved-booking-copy { min-width: 0; }.saved-booking-copy strong,.saved-booking-copy span,.saved-booking-copy small { display: block; }.saved-booking-copy strong { margin-bottom: 4px; font-family: Georgia,serif; font-size: 16px; font-weight: 500; }.saved-booking-copy span { color: #50686a; font-size: 9px; }.saved-booking-copy small { margin-top: 5px; color: var(--muted); font-size: 8px; }.saved-booking-actions { display: flex; align-items: center; gap: 9px; }.confirmed-chip { padding: 5px 8px; border-radius: 20px; color: var(--success); background: #dfeee9; font-size: 8px; font-weight: 800; }.modify-booking,.remove-booking { border:0; background:transparent; font-size:9px; cursor:pointer; }.modify-booking { color:var(--lake); }.remove-booking { color:#9b5a4c; }.modify-booking:hover,.remove-booking:hover { text-decoration:underline; }
.booking-day-heading { display:flex; align-items:center; gap:12px; margin:10px 0 2px; color:var(--muted); font-size:9px; font-weight:800; letter-spacing:.7px; text-transform:uppercase; }.booking-day-heading::after { content:""; height:1px; flex:1; background:var(--line); }.saved-booking-copy .booking-type-label { margin-bottom:3px; color:var(--lake); font-size:7px; font-weight:850; letter-spacing:1px; text-transform:uppercase; }.saved-booking-copy .booking-detail-line { margin-bottom:4px; color:#3e5b60; font-weight:650; }.booking-type-flight { border-color:#b9cfdf; background:#f3f8fb; }.booking-type-flight .saved-booking-icon { background:#315f79; }.booking-type-car_rental { border-color:#d8c7aa; background:#fbf8f2; }.booking-type-car_rental .saved-booking-icon { background:#806a46; }.booking-type-activity { border-color:#cdbedb; background:#f8f5fb; }.booking-type-activity .saved-booking-icon { background:#725b87; }.booking-type-dining { border-color:#dfc2ba; background:#fcf6f4; }.booking-type-dining .saved-booking-icon { background:#8a5c50; }.booking-type-other .saved-booking-icon { background:#607176; }
.modal-open { overflow:hidden; }.modal-backdrop { position:fixed; inset:0; z-index:60; display:grid; place-items:center; padding:20px; background:rgba(10,32,38,.54); backdrop-filter:blur(4px); }.modal-card { width:min(520px,100%); padding:25px; border:1px solid var(--line); border-radius:18px; background:white; box-shadow:0 24px 70px rgba(8,34,40,.28); }.modal-head { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; margin-bottom:22px; }.modal-head h2 { margin:0; font-family:Georgia,serif; font-size:27px; font-weight:500; }.modal-close { width:34px; height:34px; border:1px solid var(--line); border-radius:9px; color:var(--muted); background:white; font-size:22px; line-height:1; cursor:pointer; }.trip-date-fields { display:grid; grid-template-columns:1fr 1fr; gap:13px; margin-top:15px; }.modal-actions { display:flex; justify-content:flex-end; gap:9px; margin-top:24px; padding-top:18px; border-top:1px solid var(--line); }
.notification-modal-card { width:min(560px,100%); }
.notification-toggle,.notification-rule { display:grid; grid-template-columns:1fr auto; align-items:center; gap:18px; padding:15px; border:1px solid var(--line); border-radius:13px; background:#f8fbfa; }
.notification-toggle { margin-bottom:12px; }
.notification-rule { grid-template-columns:minmax(0,1fr) 145px; margin-top:10px; }
.notification-toggle > span,.notification-rule > label:first-child { display:flex; align-items:flex-start; gap:10px; }
.notification-toggle strong,.notification-toggle small,.notification-rule strong,.notification-rule small { display:block; }
.notification-toggle small,.notification-rule small { margin-top:3px; color:var(--muted); font-size:9px; line-height:1.4; }
.notification-toggle input,.notification-rule input[type="checkbox"] { width:18px; height:18px; accent-color:var(--lake); }
.notification-rule .field > span { margin-bottom:5px; }
.notification-status { min-height:18px; margin:14px 2px 0; color:var(--muted); font-size:9px; line-height:1.5; }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 50; display: flex; align-items: center; gap: 12px; min-width: 300px; padding: 14px 16px; border-radius: 13px; color: white; background: #173b47; box-shadow: 0 16px 40px rgba(14,39,46,.3); opacity: 0; pointer-events: none; transform: translateY(20px); transition: .3s ease; }.toast.show { opacity: 1; transform: translateY(0); }.toast.error { background: #713c34; }.toast.error > span { color: #713c34; background: #f3c5b9; }.toast > span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: #173b47; background: #8fcdb9; font-weight: 900; }.toast strong,.toast small { display: block; }.toast strong { font-size: 11px; }.toast small { margin-top: 3px; color: #afc5c7; font-size: 9px; }

@media (max-width: 1060px) { .today-grid { grid-template-columns: 1fr; }.today-aside { grid-template-columns: repeat(2,1fr); }.insight-card { grid-column: 1/-1; }.inbox-layout { grid-template-columns: 1fr; }.inbox-list-panel { order: 2; }.review-panel { order: 1; } }
@media (max-width: 780px) { .app-shell { display: block; width:100vw; padding-bottom:calc(70px + env(safe-area-inset-bottom)); }.sidebar { inset: auto 0 0; width: auto; height:calc(68px + env(safe-area-inset-bottom)); display: block; padding:7px 10px calc(7px + env(safe-area-inset-bottom)); }.brand,.sidebar-foot { display:none; }.nav-list { height: 100%; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 2px; }.nav-item { display: flex; flex-direction: column; justify-content: center; gap: 2px; min-width:0; padding: 3px 1px; font-size: 8px; text-align: center; white-space:nowrap; }.nav-item.active { box-shadow: inset 0 -2px 0 #7fc0bb; }.nav-badge { position:absolute; margin: -25px 0 0 20px; }.nav-icon svg { width: 18px; height:18px; }.main-area { grid-column:auto; width:100vw; min-width:0; max-width:100vw; }.topbar { width:100vw; height:calc(64px + env(safe-area-inset-top)); padding:env(safe-area-inset-top) 18px 0; }.mobile-brand { display:none; }.view { width:100vw; max-width:100vw; padding: 25px 18px; }.page-heading { width:100%; align-items: flex-start; }.page-heading h1 { overflow-wrap:anywhere; }.weather-pill { min-width: auto; }.today-aside { grid-template-columns:1fr; }.insight-card { grid-column:auto; }.trip-cards { grid-template-columns:1fr; }.inbox-layout,.inbox-list-panel,.review-panel { width:100%; min-width:0; max-width:100%; }.inbox-layout { display:block; }.review-panel { margin-bottom:18px; }.field-grid { grid-template-columns:1fr; }.field.full { grid-column:auto; }.review-actions,.review-actions>div { align-items:stretch; flex-direction:column; }.review-actions .button { width:100%; }.trip-switcher strong { max-width: 180px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.itinerary-day { grid-template-columns:76px 1fr; }.day-label { padding:18px 10px; }.empty-booking-state { align-items:flex-start; flex-wrap:wrap; }.empty-booking-state .text-button { width:100%; text-align:left; }.empty-booking-actions,.trip-detail-add-actions { width:100%; flex-direction:column; }.empty-booking-actions .button,.trip-detail-add-actions .button { width:100%; }.saved-booking-card { grid-template-columns:40px 1fr; }.saved-booking-actions { grid-column:1/-1; justify-content:flex-end; }.trip-detail-hero { align-items:flex-start; flex-direction:column; }.trip-detail-actions { width:100%; }.trip-detail-actions .button { flex:1; }.trip-detail-section-head { align-items:flex-start; flex-direction:column; }.trip-detail-section-head .button { width:100%; } }
@media (max-width: 520px) { .page-heading { display:block; }.page-heading > .button,.weather-pill { margin-top:17px; }.hero-content { align-items:flex-start; }.hero-icon { width:50px;height:50px; }.hero-content h2 { font-size:21px; }.progress-row { grid-template-columns:auto auto; }.progress-track { grid-column:1/-1; grid-row:2; }.hero-actions { flex-wrap:wrap; }.hero-actions .primary,.hero-actions .secondary { flex:1; }.timeline-item { grid-template-columns:38px 16px 1fr; }.timeline-card { padding:12px; }.inbox-heading .button { width:100%; }.upload-zone { flex-wrap:wrap; }.upload-zone .button { width:100%; }.document-card { grid-template-columns:52px 1fr; }.doc-preview { width:52px;height:64px; }.review-panel { padding:18px; }.review-head { align-items:flex-start; }.review-head-actions { flex-direction:column; align-items:flex-end; }.review-head-actions .button { min-height:34px; padding:0 10px; }.source-strip { align-items:stretch; }.trip-switcher small { display:none; }.topbar { padding:0 12px; }.topbar-actions .icon-button:first-child { display:none; }.trip-facts { display:none; }.user-trip-summary { align-items:flex-start; flex-direction:column; }.user-trip-summary-actions { width:100%; flex-wrap:wrap; }.user-trip-summary-actions small { margin-right:auto; }.trip-date-fields { grid-template-columns:1fr; }.modal-actions .button { flex:1; }.toast { right:12px;bottom:80px;left:12px;min-width:0; } }

.trip-overview-timeline { margin-top:22px; padding:24px; overflow:hidden; border:1px solid var(--line); border-radius:var(--radius); background:white; box-shadow:var(--shadow); }
.trip-overview-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:18px; }
.trip-overview-heading h2 { margin:0; font-family:Georgia,serif; font-size:25px; font-weight:500; }
.trip-overview-heading > small { color:var(--muted); font-size:9px; }
.trip-coverage-summary { display:flex; flex-wrap:wrap; gap:8px; margin:17px 0 20px; }
.coverage-chip { padding:7px 10px; border-radius:18px; font-size:8px; font-weight:800; }
.coverage-chip.complete { color:#266453; background:#e2f1eb; }
.coverage-chip.attention { color:#8b5a24; background:#faecd9; }
.trip-timeline-scroll { overflow-x:auto; padding-bottom:7px; scrollbar-width:thin; }
.trip-timeline-inner { padding-right:8px; }
.trip-timeline-axis { display:grid; margin-left:126px; border-bottom:1px solid var(--line); color:var(--muted); font-size:8px; text-align:center; }
.trip-timeline-axis span { padding:0 3px 8px; border-left:1px solid #e8efed; }
.trip-timeline-lane { display:grid; grid-template-columns:116px 1fr; align-items:center; gap:10px; min-height:66px; }
.trip-timeline-lane > strong { color:#40585d; font-size:9px; }
.trip-timeline-track { position:relative; height:61px; overflow:hidden; border-radius:9px; background-color:#f5f8f7; background-image:linear-gradient(to right,#e4ecea 1px,transparent 1px); background-size:calc(100% / var(--trip-days)) 100%; }
.trip-timeline-track > small { position:absolute; right:7px; bottom:3px; color:#8a7161; font-size:7px; }
.trip-timeline-block { position:absolute; z-index:1; height:22px; display:flex; align-items:center; justify-content:center; padding:0 6px; border-radius:7px; color:white; background:#607176; box-shadow:0 2px 5px rgba(25,58,65,.16); white-space:nowrap; }
.trip-timeline-icon { display:grid; place-items:center; line-height:0; }
.trip-timeline-icon svg { width:15px; height:15px; stroke-width:1.9; }
.trip-timeline-block.is-point { width:24px !important; height:24px; padding:0; border-radius:50%; transform:translateX(-50%); }
.trip-timeline-block:focus-visible { outline:3px solid rgba(45,127,130,.3); outline-offset:3px; }
.trip-timeline-tooltip { position:fixed; z-index:90; width:max-content; max-width:min(340px,calc(100vw - 24px)); padding:8px 10px; border-radius:8px; color:white; background:#173b47; box-shadow:0 10px 28px rgba(10,32,38,.25); font-size:9px; font-weight:650; line-height:1.45; pointer-events:none; }
.trip-timeline-block.booking-type-flight { background:#315f79; }.trip-timeline-block.booking-type-car_rental { background:#806a46; }.trip-timeline-block.booking-type-lodging { background:#2e7568; }.trip-timeline-block.booking-type-activity { background:#725b87; }.trip-timeline-block.booking-type-dining { background:#8a5c50; }
.trip-detail-booking-list { gap:20px; }
.booking-category-group { display:grid; gap:10px; }
.booking-category-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; padding-bottom:9px; border-bottom:1px solid var(--line); }
.booking-category-heading h3 { margin:0; font-family:Georgia,serif; font-size:19px; font-weight:500; }
.booking-category-heading span { color:var(--muted); font-size:8px; font-weight:750; }
.booking-category-list { display:grid; gap:10px; }

@media (max-width:780px) {
  .trip-overview-timeline { padding:18px; }
  .trip-overview-heading { align-items:flex-start; flex-direction:column; }
  .trip-overview-heading > small { display:none; }
  .trip-timeline-axis { margin-left:100px; }
  .trip-timeline-lane { grid-template-columns:90px 1fr; }
  .trip-timeline-lane > strong { font-size:8px; }
  .notification-rule { grid-template-columns:1fr; }
}

.field:has(.place-suggestions) { position:relative; }
.place-suggestions { position:absolute; z-index:45; top:calc(100% - 1px); right:0; left:0; overflow:hidden; padding:5px; border:1px solid #b8ccc9; border-radius:10px; background:white; box-shadow:0 14px 35px rgba(17,54,62,.16); }
.place-suggestion { width:100%; display:grid; gap:3px; padding:9px 10px; border:0; border-radius:7px; color:var(--ink); background:transparent; cursor:pointer; text-align:left; }
.place-suggestion:hover,.place-suggestion.active { background:#edf7f5; }
.place-suggestion strong { font-size:10px; }
.place-suggestion small { overflow:hidden; color:var(--muted); font-size:8px; line-height:1.4; text-overflow:ellipsis; white-space:nowrap; }
.place-suggestion-heading { display:flex; align-items:center; justify-content:space-between; gap:10px; min-width:0; }
.place-suggestion-heading strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.place-suggestion-kind { flex:0 0 auto; padding:2px 5px; border-radius:8px; color:#65777b; background:#edf2f1; font-size:7px; font-weight:800; letter-spacing:.25px; }
.place-suggestion-kind.is-address,.place-suggestion-kind.is-poi { color:#286455; background:#e1f0ea; }

@media (max-width:900px) {
  .auth-gate { align-items:center; min-height:100dvh; padding:0; background:#fff; }
  .auth-layout { min-height:100vh; grid-template-columns:1fr; border:0; border-radius:0; box-shadow:none; }
  .auth-hero { min-height:auto; padding:30px 28px 35px; }
  .auth-hero-copy { margin:40px 0 0; padding:0; }
  .auth-hero h1 { font-size:42px; letter-spacing:-1.3px; }
  .auth-hero-description { font-size:14px; }
  .auth-feature-list,
  .auth-credit { display:none; }
  .auth-card { max-width:560px; padding:42px 28px 54px; }
}

@media (max-width:520px) {
  .auth-hero { padding:24px 22px 28px; }
  .auth-brand-mark { width:44px; height:44px; border-radius:12px; }
  .auth-brand-mark img { border-radius:11px; }
  .auth-brand-name strong { font-size:20px; }
  .auth-hero-copy { margin-top:34px; }
  .auth-hero h1 { font-size:36px; letter-spacing:-1px; }
  .auth-hero-description { font-size:13px; }
  .auth-card { padding:36px 22px 46px; }
  .auth-card h2 { font-size:32px; }
}
.today-v1 { display: grid; gap: 22px; }
.today-v1-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.today-v1-heading h1 { margin: 4px 0 7px; font-family: Georgia, serif; font-size: 42px; font-weight: 500; }
.today-v1-heading p:not(.eyebrow), .today-v1-heading > span { margin: 0; color: var(--muted); font-size: 10px; }
.today-v1-heading > span { padding: 8px 11px; border-radius: 20px; background: #eaf3f1; font-weight: 750; }
.today-focus-card { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 24px; border-radius: var(--radius); color: white; background: linear-gradient(130deg, #244c53, #52796f); box-shadow: var(--shadow); }
.today-focus-icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: rgb(255 255 255 / 12%); font-size: 25px; }
.today-focus-copy h2 { margin: 4px 0 7px; font-family: Georgia, serif; font-size: 27px; font-weight: 500; }
.today-focus-copy > p:last-child { margin: 0; color: #d4e3e1; font-size: 10px; }
.today-focus-card .eyebrow { color: #a9d8d2; }
.today-agenda-panel, .today-no-plans { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.today-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.today-section-heading h2 { margin: 4px 0 0; font-family: Georgia, serif; font-size: 25px; font-weight: 500; }
.today-conflict-summary { padding: 6px 9px; border-radius: 16px; color: #8b4b3d; background: #f8e5df; font-size: 8px; font-weight: 800; }
.today-agenda-list { display: grid; }
.today-agenda-item { display: grid; grid-template-columns: 92px 42px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.today-agenda-item:last-child { border-bottom: 0; padding-bottom: 0; }
.today-agenda-item.has-conflict { margin: 0 -12px; padding-right: 12px; padding-left: 12px; border-radius: 11px; background: #fff8f5; }
.today-agenda-time { color: #40585d; font-size: 9px; font-weight: 800; }
.today-agenda-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; color: white; background: var(--navy); font-size: 18px; }
.today-agenda-kicker { color: var(--lake); font-size: 7px; font-weight: 850; letter-spacing: .8px; text-transform: uppercase; }
.today-agenda-copy { min-width: 0; }
.today-agenda-copy h3 { margin: 3px 0 4px; font-family: Georgia, serif; font-size: 17px; font-weight: 500; }
.today-agenda-copy p { margin: 0; color: var(--muted); font-size: 8px; line-height: 1.5; overflow-wrap: anywhere; }
.today-agenda-copy .today-conflict { margin-top: 4px; color: #9b4f40; font-weight: 750; }
.today-agenda-actions { display: flex; align-items: center; justify-content: flex-end; gap: 9px; }
.today-status-chip { padding: 5px 8px; border-radius: 16px; font-size: 8px; font-weight: 800; white-space: nowrap; }
.today-status-chip.is-active { color: #fff; background: #2e7568; }
.today-status-chip.is-future { color: #2e665e; background: #e0efea; }
.today-status-chip.is-scheduled { color: #7a603a; background: #f6ead7; }
.today-status-chip.is-past { color: #66777a; background: #edf1f0; }
.today-text-link { padding: 0; border: 0; color: var(--lake); background: transparent; font: inherit; font-size: 8px; font-weight: 750; text-decoration: none; cursor: pointer; white-space: nowrap; }
.today-text-link:hover { text-decoration: underline; }
.today-no-plans { min-height: 180px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.today-no-plans h2 { margin: 4px 0 7px; font-family: Georgia, serif; font-size: 27px; font-weight: 500; }
.today-no-plans p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 10px; }

@media (max-width: 780px) {
  .today-v1-heading { align-items: flex-start; }
  .today-focus-card { grid-template-columns: 50px minmax(0, 1fr); }
  .today-focus-card > .button { grid-column: 1 / -1; width: 100%; }
  .today-agenda-item { grid-template-columns: 75px 38px minmax(0, 1fr); align-items: start; }
  .today-agenda-actions { grid-column: 2 / -1; justify-content: flex-start; flex-wrap: wrap; }
}

@media (max-width: 520px) {
  .today-v1-heading { align-items: flex-start; flex-direction: column; }
  .today-v1-heading h1 { font-size: 34px; }
  .today-section-heading { align-items: flex-start; flex-direction: column; }
  .today-agenda-item { grid-template-columns: 38px minmax(0, 1fr); gap: 8px; }
  .today-agenda-time { grid-column: 1 / -1; }
  .today-agenda-actions { grid-column: 2; justify-content: flex-start; }
  .today-no-plans { align-items: flex-start; flex-direction: column; }
  .today-no-plans .button { width: 100%; }
}

/* Budget */
.budget-view {
  padding-bottom: 64px;
}

.budget-heading {
  align-items: flex-end;
  gap: 24px;
}

.budget-heading-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.budget-trip-select {
  min-width: 230px;
  height: 44px;
  padding: 0 38px 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

#budgetRoot {
  margin-top: 30px;
}

.budget-root {
  display: grid;
  gap: 20px;
}

.budget-settings,
.budget-progress-panel,
.budget-breakdown,
.budget-expenses {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.budget-settings {
  padding: 26px;
}

.budget-settings-head,
.budget-section-head,
.budget-progress-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.budget-settings-head h2,
.budget-section-head h2 {
  margin: 6px 0 0;
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: 500;
}

.budget-settings-head p {
  margin: 0;
  color: var(--muted);
}

.budget-settings-grid {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(140px, 0.55fr) auto;
  align-items: end;
  gap: 14px;
  margin-top: 20px;
}

.budget-settings-grid label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.budget-settings-grid input,
.budget-settings-grid select {
  width: 100%;
  height: 44px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.budget-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.budget-metric {
  display: grid;
  gap: 7px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}

.budget-metric span,
.budget-metric small {
  color: var(--muted);
}

.budget-metric span {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.budget-metric strong {
  font-family: Georgia, serif;
  font-size: 27px;
  font-weight: 500;
}

.budget-metric small {
  font-size: 9px;
}

.budget-metric.over {
  border-color: #dfb4aa;
  background: #fff8f6;
}

.budget-progress-panel {
  padding: 20px 24px;
}

.budget-progress-header span {
  color: var(--muted);
  font-size: 10px;
}

.budget-progress-header strong {
  font-size: 12px;
}

.budget-progress-track {
  height: 12px;
  margin-top: 13px;
  overflow: hidden;
  border-radius: 999px;
  background: #e7eeed;
}

.budget-progress-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--lake), #67a89e);
}

.budget-progress-fill.over {
  background: #b75b47;
}

.budget-warning {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid #ecd3a8;
  border-radius: 14px;
  background: #fff8e9;
  color: #795122;
}

.budget-warning strong {
  font-size: 11px;
}

.budget-warning span {
  font-size: 9px;
  line-height: 1.5;
}

.budget-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: 20px;
}

.budget-breakdown,
.budget-expenses {
  padding: 24px;
}

.budget-category-list {
  display: grid;
  gap: 17px;
  margin-top: 18px;
}

.budget-category-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.budget-category-icon {
  flex: 0 0 38px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 11px;
  background: #e6f1ef;
  color: var(--lake);
  font-weight: 800;
}

.budget-category-copy {
  flex: 1;
  min-width: 0;
}

.budget-category-copy > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 10px;
}

.budget-category-copy strong {
  font-size: 10px;
}

.budget-category-bar {
  height: 6px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 6px;
  background: #e7eeed;
}

.budget-category-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--lake);
}

.budget-expense-list {
  display: grid;
  margin-top: 16px;
}

.budget-expense-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.budget-expense-main {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.budget-expense-main strong {
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.budget-expense-main span,
.budget-expense-empty span {
  color: var(--muted);
  font-size: 9px;
}

.budget-expense-amount {
  font-size: 11px;
}

.budget-expense-actions {
  display: flex;
  gap: 8px;
}

.budget-expense-actions button {
  border: 0;
  background: transparent;
  color: var(--lake);
  font: inherit;
  font-size: 9px;
  font-weight: 700;
  cursor: pointer;
}

.budget-expense-actions button.danger {
  color: #9b5a4c;
}

.budget-expense-empty {
  display: grid;
  min-height: 180px;
  place-items: center;
  text-align: center;
}

.budget-expense-empty strong {
  margin-bottom: 5px;
  font-size: 12px;
}

.budget-empty {
  display: grid;
  min-height: 360px;
  padding: 36px;
  place-items: center;
  border: 1px dashed #b8cbc8;
  border-radius: var(--radius);
  background: #f8fbfa;
  text-align: center;
}

.budget-empty-icon {
  display: grid;
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  place-items: center;
  border-radius: 16px;
  background: var(--lake-soft);
  color: var(--lake);
  font-size: 24px;
  font-weight: 800;
}

.budget-empty h2 {
  margin: 0 0 7px;
  font-family: Georgia, serif;
  font-size: 26px;
  font-weight: 500;
}

.budget-empty p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

@media (max-width: 980px) {
  .budget-layout {
    grid-template-columns: 1fr;
  }

  .budget-settings-grid {
    grid-template-columns: 1fr 1fr;
  }

  .budget-settings-grid .button {
    grid-column: 1 / -1;
  }
}

@media (max-width: 780px) {
  .budget-heading {
    align-items: stretch;
  }

  .budget-heading-actions,
  .budget-settings-head {
    align-items: stretch;
    flex-direction: column;
  }

  .budget-trip-select {
    width: 100%;
  }

  .budget-metrics,
  .budget-settings-grid {
    grid-template-columns: 1fr;
  }

  .budget-expense-row {
    grid-template-columns: auto 1fr auto;
  }

  .budget-expense-actions {
    grid-column: 2 / -1;
  }
}

@media (max-width: 780px) {
  .map-heading .budget-trip-select { width:100%; min-width:0; margin-top:16px; }
  .map-summary-card { align-items:flex-start; flex-direction:column; gap:9px; }
  .map-place-card { grid-template-columns:38px minmax(0,1fr); align-items:start; }
  .map-place-actions { grid-column:1/-1; justify-content:flex-end; }
}

@media (max-width: 520px) {
  .map-filter-row { flex-direction:column; }
  .map-filter-row select { width:100%; }
  .map-place-actions { align-items:stretch; flex-direction:column; }
  .map-place-actions .button,.map-place-actions .text-button { width:100%; text-align:center; }
}

/* Trip itinerary refinements */
.trip-detail-hero { padding:36px 38px; }
.trip-detail-hero h1 { font-size:clamp(36px,4vw,48px); letter-spacing:-1px; }
.trip-detail-hero > div > p:last-child { font-size:13px; line-height:1.5; }
.trip-detail-bookings { padding:30px; }
.trip-detail-section-head { margin-bottom:24px; }
.trip-detail-section-head h2 { font-size:29px; }
.booking-category-heading { padding-bottom:12px; }
.booking-category-heading h3 { font-size:21px; }
.booking-category-heading span { font-size:10px; }
.booking-day-heading { margin:14px 0 5px; font-size:10px; }
.saved-booking-card { grid-template-columns:52px minmax(0,1fr) auto; gap:17px; padding:19px 20px; border-radius:15px; }
.saved-booking-icon { width:52px; height:52px; border-radius:14px; font-size:17px; }
.saved-booking-copy strong { margin-bottom:6px; font-size:19px; line-height:1.25; }
.saved-booking-copy span { font-size:11px; line-height:1.55; }
.saved-booking-copy small { margin-top:7px; font-size:9px; line-height:1.45; }
.saved-booking-copy .booking-type-label { margin-bottom:5px; font-size:8px; }
.saved-booking-copy .booking-detail-line { color:#34575d; font-size:12px; }
.saved-booking-actions { align-self:stretch; justify-content:center; gap:10px; }
.confirmed-chip { padding:6px 9px; font-size:9px; }
.booking-map-link { display:inline-flex; align-items:center; min-height:32px; padding:0 10px; border:1px solid #9bc7c1; border-radius:8px; color:var(--lake); background:white; font-size:10px; font-weight:800; text-decoration:none; white-space:nowrap; }
.booking-map-link:hover { border-color:var(--lake); background:#edf7f5; }
.modify-booking,.remove-booking { font-size:10px; font-weight:700; }
.trip-map-panel { margin-top:22px; padding:30px; border:1px solid var(--line); border-radius:var(--radius); background:white; box-shadow:var(--shadow); }
.trip-map-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; margin-bottom:20px; }
.trip-map-heading h2 { margin:0 0 5px; font-family:Georgia,serif; font-size:29px; font-weight:500; }
.trip-map-heading p:not(.eyebrow) { margin:0; color:var(--muted); font-size:11px; }
.trip-map-layout { display:grid; grid-template-columns:minmax(0,1.55fr) minmax(220px,.75fr); min-height:342px; overflow:hidden; border:1px solid var(--line); border-radius:14px; background:#f6f9f8; }
.trip-map-frame-wrap { min-height:342px; background:#dbe9e7; }
.trip-map-frame-wrap iframe { width:100%; height:100%; min-height:342px; border:0; }
.trip-map-place-list { display:grid; align-content:start; max-height:342px; overflow:auto; padding:8px; border-left:1px solid var(--line); background:white; }
.trip-map-place { width:100%; display:grid; grid-template-columns:34px minmax(0,1fr); align-items:center; gap:10px; padding:10px; border:0; border-radius:10px; color:var(--ink); background:transparent; cursor:pointer; text-align:left; }
.trip-map-place:hover,.trip-map-place.active { background:#edf7f5; }
.trip-map-place.active { box-shadow:inset 3px 0 0 var(--lake); }
.trip-map-place-icon { width:32px; height:32px; display:grid; place-items:center; border-radius:9px; color:white; background:var(--navy); font-size:11px; font-weight:800; }
.trip-map-place-icon.booking-type-lodging { background:#357267; }.trip-map-place-icon.booking-type-flight { background:#315f79; }.trip-map-place-icon.booking-type-car_rental { background:#806a46; }.trip-map-place-icon.booking-type-activity { background:#725b87; }.trip-map-place-icon.booking-type-dining { background:#8a5c50; }
.trip-map-place strong,.trip-map-place small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.trip-map-place strong { font-size:11px; }.trip-map-place small { margin-top:3px; color:var(--muted); font-size:9px; }
.daily-map-shell { display:grid; grid-template-columns:minmax(0,1.65fr) minmax(230px,.7fr); min-height:560px; overflow:hidden; border:1px solid var(--line); border-radius:var(--radius); background:white; box-shadow:var(--shadow); }.daily-map-shell #dailyMapCanvas { min-height:560px; }.daily-map-stops { display:grid; align-content:start; gap:5px; padding:14px; border-left:1px solid var(--line); }.daily-map-stops > div { display:grid; grid-template-columns:26px 1fr; gap:9px; align-items:start; padding:10px; border-radius:10px; background:#f6f9f8; }.daily-map-stops b { width:24px; height:24px; display:grid; place-items:center; border-radius:50%; color:white; background:var(--lake); font-size:10px; }.daily-map-stops strong,.daily-map-stops small { display:block; }.daily-map-stops strong { font-size:11px; }.daily-map-stops small { margin-top:3px; color:var(--muted); font-size:9px; line-height:1.4; }.map-config-state { padding:38px; border:1px dashed #bfd0ce; border-radius:var(--radius); background:white; }.map-config-state h2 { margin:0 0 9px; font-family:Georgia,serif; font-size:25px; font-weight:500; }.map-config-state p { max-width:650px; margin:0; color:var(--muted); font-size:12px; line-height:1.65; }.map-config-state code { padding:2px 5px; border-radius:4px; color:#315f54; background:#edf7f3; }
.map-transport-card { display:flex; align-items:center; gap:11px; margin-bottom:12px; padding:12px 15px; border:1px solid #d8c7aa; border-radius:12px; color:#5f5037; background:#fbf8f2; }.map-transport-card > span { width:34px; height:34px; display:grid; place-items:center; border-radius:10px; background:#eee4d2; }.map-transport-card strong,.map-transport-card small { display:block; }.map-transport-card strong { font-size:11px; }.map-transport-card small { margin-top:3px; color:#806f55; font-size:9px; }.map-transport-card.is-neutral { border-color:var(--line); color:var(--ink); background:white; }.map-transport-card.is-neutral > span { color:var(--lake); background:var(--lake-soft); }.map-transport-card.is-neutral small { color:var(--muted); }

@media (max-width:780px) {
  .trip-detail-hero { padding:27px 24px; }
  .trip-detail-bookings { padding:21px 18px; }
  .saved-booking-card { grid-template-columns:46px minmax(0,1fr); gap:13px; padding:16px; }
  .saved-booking-icon { width:46px; height:46px; }
  .saved-booking-copy strong { font-size:17px; }
  .saved-booking-actions { grid-column:1/-1; align-self:auto; justify-content:flex-end; flex-wrap:wrap; padding-top:4px; }
  .trip-map-panel { padding:21px 18px; }
  .trip-map-heading { align-items:flex-start; flex-direction:column; }
  .trip-map-layout { grid-template-columns:1fr; }
  .trip-map-frame-wrap,.trip-map-frame-wrap iframe { min-height:270px; }
  .trip-map-place-list { max-height:220px; border-top:1px solid var(--line); border-left:0; }
  .daily-map-shell { grid-template-columns:1fr; }.daily-map-shell #dailyMapCanvas { min-height:390px; }.daily-map-stops { border-top:1px solid var(--line); border-left:0; }
}

.expense-import-modal { max-width: 720px; max-height: 90vh; overflow-y: auto; }
.expense-import-row { margin: 16px 0; padding: 16px; border: 1px solid var(--border, #d7dee8); border-radius: 12px; }
.expense-import-row fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.expense-import-row[data-state="confirmed"] { border-color: var(--success); }
.expense-import-row[data-state="ignored"] { opacity: .65; }
.expense-import-row p { font-size: 13px; color: #77552c; }
.expense-import-row[data-collapsed="true"] { padding: 12px 16px; }
.expense-import-row [data-purchase-summary] { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.expense-import-row [data-purchase-summary] > div { min-width: 0; }
.expense-import-row [data-purchase-summary] strong,.expense-import-row [data-purchase-summary] span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.expense-import-row [data-purchase-summary] span { margin-top: 3px; color: var(--muted); font-size: 12px; }

.budget-reconciliation { margin: 22px 0; }
.reconciliation-case { margin-top: 18px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; }
.reconciliation-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.reconciliation-record { padding: 12px 0; border-bottom: 1px solid var(--line); }
.reconciliation-record button { display: block; margin-top: 10px; white-space: normal; }
.reconciliation-case .modal-actions { flex-wrap: wrap; }
.reconciliation-case [data-reconcile-error] { color: #9b3434; }
@media (max-width: 640px) { .reconciliation-columns { grid-template-columns: 1fr; } }

.expense-review-actions { position: sticky; top: -25px; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; background: white; border-bottom: 1px solid var(--line); }
.expense-review-actions button { flex-shrink: 0; }

.expense-upload-zone { margin-top: 10px; }
.inbox-review-stack { min-width: 0; }
.expense-inbox-panel { max-height: 76vh; overflow-y: auto; }
.expense-inbox-panel > .field { margin: 18px 0 12px; }
#expenseImportStatus { color: var(--muted); font-size: 10px; line-height: 1.5; }
#inboxReconciliationRoot { margin-top: 22px; }
#inboxReconciliationRoot:empty { display: none; }

button.budget-category-row { width: 100%; padding: 10px; border: 1px solid transparent; border-radius: 12px; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
button.budget-category-row:hover { background: var(--lake-soft); }
button.budget-category-row.selected { background: var(--lake-soft); border-color: var(--lake); }
button.budget-category-row:focus-visible { outline: 2px solid var(--lake); outline-offset: 2px; }
#budgetCategoryDetails { align-self: start; min-width: 0; }
#budgetCategoryDetails .budget-section-head p { color: var(--muted); font-size: 12px; }
