:root {
  --tc-bg: #f3f1ee;
  --tc-bg-soft: #ebe8e3;
  --tc-card: #fff;
  --tc-text: #3d3a37;
  --tc-muted: #7a756f;
  --tc-muted-quiet: #9a948c;
  --tc-border: #e4e0da;
  --tc-border-focus: #ddd8d1;
  --tc-sage: #d8e8d4;
  --tc-sage-text: #4a6b45;
  --tc-apricot: #f3e0c9;
  --tc-apricot-text: #8a6230;
  --tc-coral: #f0d4cf;
  --tc-coral-text: #8b4a45;
  --tc-neutral-chip: #eceae6;
  --tc-radius: 18px;
  --tc-radius-sm: 12px;
  --tc-radius-xs: 10px;
  --tc-shadow: 0 6px 24px rgba(55, 50, 45, .07);
  --tc-shadow-soft: 0 2px 10px rgba(55, 50, 45, .05);
  --tc-shadow-card: 0 5px 18px rgba(55, 50, 45, .07);
  --tc-shadow-focus: 0 8px 28px rgba(55, 50, 45, .09);
  --tc-font: Handlee, "Segoe Print", "Bradley Hand", Georgia, serif;
}
.advisor-page{min-height:100vh;margin:0;padding:28px 24px;color:#202124;background:#f8fafd;font-family:Arial,sans-serif}.advisor-dialog-shell{width:100%;max-width:560px;margin:0 auto;padding:28px 32px;background:#fff;border:1px solid #dadce0;border-radius:16px;box-shadow:0 4px 16px rgba(60,64,67,.12)}.advisor-dialog-shell>h1{margin:0 0 18px;font-size:22px;font-weight:500;text-align:center}.advisor-actions{display:flex;justify-content:flex-end;margin-top:18px}.advisor-close-button{display:inline-flex;min-width:88px;height:40px;padding:0 20px;align-items:center;justify-content:center;color:#1a73e8;background:#fff;border:1px solid #dadce0;border-radius:8px;font-size:14px;font-weight:500;text-decoration:none}.advisor-error{margin:0 0 14px;padding:12px;color:#990000;background:#fce8e6;border:1px solid #f5c6c2;border-radius:8px;font-size:13px}.ja-status-line{margin:0 0 8px;font-size:15px;font-weight:600}.ja-outcome{margin:0 0 14px;padding:14px;border-radius:8px;font-size:14px;line-height:1.45}.ja-outcome.green,.ja-outcome.non_schengen,.ja-outcome.free_movement{color:#274e13;background:#e6f4ea;border:1px solid #ceead6}.ja-outcome.amber{color:#7f6000;background:#fff2cc;border:1px solid #f1e0a0}.ja-outcome.red{color:#900;background:#fce8e6;border:1px solid #f5c6c2}.ja-outcome.pending{color:#3c4043;background:#f8fafd;border:1px solid #dadce0}.ja-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:14px}.ja-metric{padding:10px 8px;text-align:center;background:#f8fafd;border:1px solid #dadce0;border-radius:8px}.ja-metric-label{display:block;margin-bottom:4px;color:#5f6368;font-size:10px;font-weight:600;text-transform:uppercase}.ja-metric-value{font-size:16px;font-weight:600}.ja-forecast,.ja-explain{margin-top:12px;background:#fff;border:1px solid #dadce0;border-radius:8px}.ja-forecast summary,.ja-explain summary{padding:12px 14px;cursor:pointer;font-size:13px;font-weight:600;list-style:none}.ja-forecast summary::-webkit-details-marker,.ja-explain summary::-webkit-details-marker{display:none}.ja-forecast-body,.ja-explain-body{padding:0 14px 14px;color:#3c4043;font-size:13px;line-height:1.45}.ja-forecast-summary-line{margin:0 0 8px;color:#5f6368;font-size:12px}.ja-fact-list{margin:8px 0 0;padding-left:18px}.ja-fact-list li+li{margin-top:4px}.ja-muted{color:#5f6368;font-size:13px}.ja-recommendations{margin-top:16px}.ja-recommendations>h2{margin:0 0 8px;font-size:15px}.ja-reco-card{margin-top:10px;padding:12px;background:#f8fafd;border:1px solid #dadce0;border-radius:8px}.ja-reco-rank{margin-bottom:4px;font-size:13px;font-weight:700}.ja-reco-title{font-size:14px;font-weight:600}.ja-reco-summary{margin-top:6px;color:#5f6368}.ja-reco-card .ja-muted{margin:10px 0}.ja-explain.is-nested{margin-top:8px;border:0;background:transparent}.ja-explain.is-nested summary{padding:8px 0}.ja-explain.is-nested .ja-explain-body{padding:0}.ja-planning-notice{margin:18px 0 0;padding-top:12px;color:#5f6368;border-top:1px solid #e8eaed;font-size:12px;line-height:1.45}@media(max-width:600px){.advisor-page{padding:18px 12px}.advisor-dialog-shell{padding:22px 18px}.ja-metrics{grid-template-columns:1fr}}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
.tc-app { min-height: 100vh; padding: 32px 24px; color: var(--tc-text); background: var(--tc-bg); font-family: var(--tc-font); }
.tc-app-compact { padding: 18px 20px 14px; }
.tc-shell { width: min(92vw, 760px); margin: 0 auto; }
.tc-card { background: var(--tc-card); border: 1px solid var(--tc-border); border-radius: 18px; box-shadow: 0 6px 24px rgba(55, 50, 45, .07); }
.tc-title { margin: 0 0 20px; font-size: 34px; font-weight: 400; }
.tc-body { color: var(--tc-text); font-size: 16px; line-height: 1.5; }
.tc-input { width: 100%; margin-top: 5px; padding: 11px 12px; color: var(--tc-text); background: #fff; border: 1px solid var(--tc-border); border-radius: 10px; font: inherit; }
.tc-input:focus { outline: 2px solid #bbb3a9; outline-offset: 1px; }
.tc-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border: 1px solid transparent; border-radius: 999px; font: inherit; cursor: pointer; }
.tc-btn-primary { color: #fff; background: var(--tc-text); }
.tc-btn-secondary { color: var(--tc-text); background: #fff; border-color: var(--tc-border); text-decoration: none; }
.tc-btn:disabled { cursor: wait; opacity: .65; }
.form-message { min-height: 1.5em; margin: 14px 0 0; color: var(--tc-muted); }
.form-message.is-success { color: var(--tc-sage-text); }
.form-message.is-error { color: var(--tc-coral-text); }
a { color: var(--tc-text); text-underline-offset: 3px; }
.page-header { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; margin-bottom: 24px; }
.page-header .tc-title { margin-bottom: 6px; }
.eyebrow { margin: 0 0 5px; color: var(--tc-muted); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.page-lede { margin: 0; color: var(--tc-muted); font-size: 17px; }
.hub-toolbar { display: flex; gap: 12px; align-items: center; margin-bottom: 22px; }
.hub-search { flex: 1; margin: 0; }
.hub-status { padding: 28px; text-align: center; }
.hub-status h2 { margin-top: 0; }
.hub-status.is-error { color: var(--tc-coral-text); }
.journey-section { margin: 0 0 26px; }
.section-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.section-heading h2 { margin: 0; font-size: 20px; font-weight: 400; }
.section-heading span { color: var(--tc-muted); font-size: 14px; }
.journey-grid { display: grid; gap: 12px; }
.journey-card { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 18px 20px; background: #fff; border: 1px solid var(--tc-border); border-radius: 16px; box-shadow: 0 3px 14px rgba(55, 50, 45, .05); }
.journey-card h3 { margin: 6px 0 3px; font-size: 20px; font-weight: 400; }
.journey-card p { margin: 0; color: var(--tc-muted); font-size: 14px; }
.journey-chip { display: inline-block; padding: 3px 8px; color: var(--tc-muted); background: var(--tc-bg-soft); border-radius: 999px; font-size: 12px; }
.text-button { padding: 4px 8px; color: var(--tc-text); background: transparent; border: 0; font: inherit; text-decoration: underline; cursor: pointer; }
.empty-message { padding: 24px; text-align: center; color: var(--tc-muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Dashboard — migrated from the approved Apps Script Home screen. */
.dashboard-body { min-height: 100vh; margin: 0; color: var(--tc-text); background: var(--tc-bg); font-family: var(--tc-font); -webkit-font-smoothing: antialiased; }
.dashboard-shell { display:grid; width:100%; min-height:100vh; padding:16px; grid-template-columns:minmax(250px,2fr) minmax(0,8fr); gap:16px; }
.dashboard-rail { display:flex; height:calc(100vh - 32px); padding:4px 7px 4px 4px; flex-direction:column; overflow-y:auto; scrollbar-width:thin; scrollbar-color:#d4cec6 transparent; }
.dashboard-welcome { position:relative; padding:2px 4px 14px; }
.dashboard-brand-row { display:flex; gap:12px; align-items:center; }
.dashboard-home-button { width:100%; padding:0; color:var(--tc-text); background:transparent; border:0; font:inherit; text-align:left; cursor:pointer; }
.dashboard-signout { display:block; margin:12px 2px 4px auto; padding:3px 8px; color:var(--tc-muted); background:transparent; border:0; font:inherit; font-size:12px; cursor:pointer; }
.dashboard-welcome h1 { margin: 0; font-size: clamp(34px, 3.5vw, 44px); font-weight: 400; line-height: 1.1; }
.dashboard-greeting { margin: 14px 0 0; font-size: 23px; line-height: 1.25; }
.dashboard-date { margin: 8px 0 0; color: var(--tc-muted); font-size: 15px; }
.dashboard-message { margin: 7px 0 0; font-size: 15px; }
.line-icon { display: block; width: 25px; height: 25px; color: var(--tc-text); }
.line-icon-lg { width: 34px; height: 34px; margin-top: 5px; color: var(--tc-muted); }
.line-icon svg { display: block; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.55; }
.overview-card { margin-bottom:12px; padding:12px 14px 14px; background:#fff; border:1px solid #dcd7d0; border-radius:18px; box-shadow:var(--tc-shadow); }
.overview-card h2 { margin: 0 0 10px; font-size: 17px; font-weight: 400; }
.overview-grid { display:grid; grid-template-columns:1fr; gap:8px; }
.overview-tile { display:flex; min-height:88px; padding:10px 12px; flex-direction:column; color:var(--tc-text); border-radius:11px; text-decoration:none; transition:transform .15s ease,box-shadow .15s ease; }
.overview-tile:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(55, 50, 45, .08); }
.overview-tile-muted { background: #f2f0ed; }
.overview-tile-sage { min-height:88px; justify-content:center; background:#d8e8d4; }
.overview-label { color: var(--tc-muted); font-size: 12px; line-height: 1.2; }
.overview-tile-sage .overview-label, .overview-tile-sage strong { color: var(--tc-sage-text); }
.overview-tile.is-sage { color:var(--tc-sage-text); background:var(--tc-sage); }
.overview-tile.is-apricot { color:var(--tc-apricot-text); background:var(--tc-apricot); }
.overview-tile.is-coral { color:var(--tc-coral-text); background:var(--tc-coral); }
.overview-tile.is-accent { background:var(--tc-bg-soft); }
.overview-tile.is-sage .overview-label,.overview-tile.is-sage .overview-note,.overview-tile.is-apricot .overview-label,.overview-tile.is-apricot .overview-note,.overview-tile.is-coral .overview-label,.overview-tile.is-coral .overview-note { color:inherit; }
.overview-tile strong { margin-top: 3px; font-size: 20px; font-weight: 400; line-height: 1.15; }
.overview-note { min-height: 1em; margin-top: 5px; color: var(--tc-muted); font-size: 12px; }
.readiness-track { display: block; height: 8px; margin: 9px 0 9px; overflow: hidden; background: #e8e5e1; border-radius: 999px; }
.readiness-track span { display: block; width: 0; height: 100%; background: var(--tc-sage-text); opacity: .55; transition: width .35s ease; }
.readiness-chip { align-self: flex-start; padding: 5px 11px; color: var(--tc-muted); background: #ebe9e6; border-radius: 999px; font-size: 12px; }
.dashboard-countdown { display:flex; flex:1; min-height:62px; flex-direction:column; align-items:center; justify-content:center; gap:3px; text-align:center; }
.dashboard-countdown b { font-size:28px; line-height:1.05; }
.dashboard-countdown b:empty { display:none; }
.dashboard-countdown small { font-size:13px; }
.dashboard-nav { display:grid; grid-template-columns:1fr; gap:8px; }
.dashboard-nav-card { display:grid; min-height:78px; padding:12px 14px; grid-template-columns:25px minmax(0,1fr) auto; gap:11px; align-items:center; color:var(--tc-text); background:#fff; border:1px solid var(--tc-border); border-radius:16px; box-shadow:var(--tc-shadow-card); text-decoration:none; transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease,background .15s ease; }
.dashboard-nav-card:hover { transform: translateY(-2px); box-shadow: var(--tc-shadow-focus); }
.dashboard-nav-card.is-active { background:#f8faf7; border-color:#bfcfbb; }
.dashboard-nav-card[aria-disabled="true"] { cursor:default; }
.dashboard-nav-card[aria-disabled="true"]:hover { transform:none; box-shadow:var(--tc-shadow-card); }
.dashboard-nav-card.is-active .dashboard-nav-arrow { color:var(--tc-sage-text); transform:translateX(2px); }
.dashboard-nav-title { display:block; font-size:18px; line-height:1.1; }
.dashboard-nav-copy { display:block; margin-top:4px; color:var(--tc-muted); font-size:12px; line-height:1.25; }
.dashboard-nav-arrow { color:var(--tc-muted); font-size:18px; transition:transform .15s ease; }
.dashboard-footer { margin: 11px 0 0; color: #a19a92; font-size: 12px; text-align: center; }
.dashboard-review { margin:0 0 12px; padding:16px; }
.dashboard-review h2 { margin:0 0 5px; font-size:19px; font-weight:400; }
.dashboard-review>p { margin:0 0 12px; color:var(--tc-muted); font-size:13px; }
.dashboard-review-item { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:12px 0; color:var(--tc-text); border-top:1px solid var(--tc-border); text-decoration:none; }
.dashboard-review-item span,.dashboard-review-item strong,.dashboard-review-item small { display:block; }
.dashboard-review-item small { margin-top:3px; color:var(--tc-muted); }
.dashboard-review-item em { color:var(--tc-sage-text); font-style:normal; white-space:nowrap; }
.dashboard-error { max-width: 680px; margin: 12px auto 0; padding: 10px 12px; color: var(--tc-coral-text); background: #f0d4cf; border-radius: 10px; text-align: center; }
.dashboard-mobile-toggle,.dashboard-rail-backdrop { display:none; }
.dashboard-workspace { position:relative; display:flex; height:calc(100vh - 32px); min-width:0; overflow:hidden; flex-direction:column; background:var(--tc-card); border:1px solid var(--tc-border); border-radius:22px; box-shadow:var(--tc-shadow); }
.dashboard-workspace-welcome { position:relative; display:flex; min-height:100%; padding:40px 40px 10%; flex-direction:column; align-items:center; justify-content:flex-end; text-align:center; background-image:linear-gradient(180deg,rgba(255,252,246,.08) 35%,rgba(255,252,246,.28) 100%),url('/assets/welcome-back-travel.jpg'); background-position:center; background-size:cover; }
.dashboard-welcome-brand { display:none; }
.dashboard-workspace-welcome .dashboard-greeting { margin:0; font-size:30px; }
.dashboard-workspace-welcome .dashboard-greeting,.dashboard-workspace-welcome .dashboard-date,.dashboard-workspace-welcome .dashboard-message { color:#403731; font-weight:600; text-shadow:0 1px 2px rgba(255,250,240,.8); }
.dashboard-workspace-welcome .dashboard-date { font-size:17px; }
.dashboard-workspace-welcome .dashboard-message { max-width:720px; font-size:17px; line-height:1.45; white-space:pre-line; }
.dashboard-workspace-welcome .dashboard-greeting .welcome-name { margin-left:.25em; }
.welcome-message-line { display:block; }
.welcome-message-part { display:inline; }
.dashboard-workspace-header { display:flex; min-height:68px; padding:11px 18px; align-items:center; gap:16px; background:rgba(255,255,255,.96); border-bottom:1px solid var(--tc-border); }
.dashboard-workspace-header h2 { margin:1px 0 0; font-size:24px; font-weight:400; line-height:1.1; }
.dashboard-workspace-eyebrow { color:var(--tc-muted); font-size:10px; letter-spacing:.08em; text-transform:uppercase; }
.dashboard-workspace-back { margin-left:auto; }
.dashboard-workspace-frame { width:100%; min-height:0; flex:1; background:var(--tc-bg); border:0; }
.dashboard-workspace-loading { position:absolute; inset:68px 0 0; z-index:2; display:grid; place-items:center; color:var(--tc-muted); background:var(--tc-bg); }
.tc-embedded.tc-app { padding:24px 20px; }
.tc-embedded .tc-shell { width:min(100%,1180px); }
.tc-embedded a[href="/"] { display:none!important; }

/* About — migrated from the Apps Script About dialog. */
.about-shell { width:min(96vw,1100px); max-width:1100px; }
.about-page-header { display:flex; align-items:flex-start; gap:14px; margin-bottom:14px; }
.about-logo { display:block; width:34px; height:34px; flex:0 0 34px; color:var(--tc-muted); }
.about-logo svg { display:block; width:100%; height:100%; fill:none; stroke:currentColor; stroke-linecap:round; stroke-linejoin:round; stroke-width:1.55; }
.about-page-header h1 { margin:0; font-size:24px; font-weight:400; letter-spacing:.01em; line-height:1.2; }
.about-page-header p { max-width:36em; margin:6px 0 0; color:var(--tc-muted); font-size:14px; line-height:1.35; }
.about-panel { padding:14px 16px 12px; border-color:var(--tc-border-focus); box-shadow:var(--tc-shadow-focus); }
.about-panel h2 { margin:0 0 10px; font-size:16px; font-weight:400; line-height:1.2; }
.about-important { margin-bottom:14px; }
.about-copy { margin:0 0 12px; color:var(--tc-muted); font-size:clamp(.9375rem,.9rem + .2vw,1rem); line-height:1.45; }
.about-important .about-copy:last-child { margin-bottom:0; }
.about-colour-intro { margin:0 0 14px; }
.about-guide-lede { margin:0 0 12px; color:var(--tc-muted); font-size:14px; line-height:1.45; }
.about-colour-intro ul { margin:0; padding-left:1.15em; color:var(--tc-muted); font-size:14px; line-height:1.45; }
.about-colour-intro li { margin:0 0 4px; }
.about-colour-intro li:last-child { margin-bottom:0; }
.about-guide-stack { display:flex; flex-direction:column; gap:14px; margin-bottom:8px; }
.about-columns { display:grid; grid-template-columns:minmax(0,2fr) minmax(0,3fr); gap:14px; align-items:stretch; }
.about-columns .about-panel { display:flex; height:100%; flex-direction:column; }
.about-lede { margin:0 0 12px; color:var(--tc-text); font-size:clamp(1.2rem,1.05rem + .5vw,1.35rem); line-height:1.35; }
.about-credit { margin-top:auto; padding-top:12px; border-top:1px solid var(--tc-border); }
.about-credit p { margin:0 0 6px; color:var(--tc-muted); font-size:clamp(.875rem,.85rem + .15vw,.9375rem); line-height:1.4; }
.about-credit p:last-child { margin-bottom:0; color:var(--tc-muted-quiet); font-size:12px; }
.about-status-lede { margin:0 0 10px; color:var(--tc-muted); font-size:13px; line-height:1.4; }
.about-status-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.about-status-list-three { grid-template-columns:repeat(3,minmax(0,1fr)); }
.about-status-list-six { grid-template-columns:repeat(6,minmax(0,1fr)); }
.about-status-item { display:flex; padding:10px 12px; flex-direction:column; align-items:flex-start; gap:6px; border-radius:var(--tc-radius-xs); }
.about-status-item.is-sage { color:var(--tc-sage-text); background:var(--tc-sage); }
.about-status-item.is-apricot { color:var(--tc-apricot-text); background:var(--tc-apricot); }
.about-status-item.is-coral { color:var(--tc-coral-text); background:var(--tc-coral); }
.about-status-item.is-accent { color:var(--tc-text); background:var(--tc-bg-soft); }
.about-status-item.is-neutral { color:var(--tc-muted); background:var(--tc-neutral-chip); }
.about-status-item .tc-chip { align-self:flex-start; }
.about-status-item p { margin:0; color:inherit; font-size:12px; line-height:1.35; }
.about-footer { display:flex; justify-content:flex-end; margin-top:12px; }
@media(max-width:1100px){.about-status-list-six{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.about-status-list-three{grid-template-columns:1fr}.about-status-list-six{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.about-columns{grid-template-columns:1fr}.about-status-list,.about-status-list-six{grid-template-columns:1fr}.about-page-header{align-items:center}.about-shell{width:min(100%,680px)}}

/* Traveller Profile — parity with the Apps Script profile surface. */
.profile-shell { max-width: 680px; margin: 0 auto; padding: 24px; }
.profile-title, .profile-lede { text-align: center; }
.profile-title { margin-bottom: 8px; }
.profile-lede { margin: 0 0 16px; color: var(--tc-muted); font-size: 14px; }
.profile-loading { margin: 40px auto; text-align: center; color: var(--tc-muted); }
.profile-alert { max-width: 680px; margin: 0 auto 12px; padding: 12px 14px; border-radius: 10px; }
.profile-alert.is-error { color: var(--tc-coral-text); background: #f0d4cf; }
.profile-alert.is-success { color: var(--tc-sage-text); background: #d8e8d4; }
.profile-privacy { margin: 0 0 18px; padding: 12px 14px; color: #3c4840; background: #e8f0ea; border: 1px solid #d0ddd4; border-radius: 10px; font-size: 13px; line-height: 1.45; }
.profile-section { margin: 0 0 22px; }
.profile-section h2 { margin: 0 0 6px; font-size: 18px; font-weight: 600; }
.profile-section h2 small { color: var(--tc-muted); font-size: 13px; font-weight: 400; }
.profile-section > p, .profile-empty { margin: 0 0 14px; color: var(--tc-muted); font-size: 13px; line-height: 1.4; }
.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.profile-field { display: block; margin: 0 0 14px; color: var(--tc-text); font-size: 13px; }
.profile-field input, .profile-field select, .profile-field textarea { display: block; width: 100%; min-height: 42px; margin-top: 6px; padding: 8px 12px; color: var(--tc-text); background: #fff; border: 1px solid #bdc1c6; border-radius: 8px; font: inherit; }
.profile-field textarea { min-height: 72px; resize: vertical; }
.profile-field input:focus, .profile-field select:focus, .profile-field textarea:focus { outline: 2px solid rgba(74,107,69,.25); border-color: var(--tc-sage-text); }
.profile-fieldset { padding: 0; border: 0; }
.profile-fieldset legend { margin-bottom: 9px; }
.profile-radios { display: flex; gap: 36px; }
.profile-radios input { display: inline; width: auto; min-height: 0; margin: 0 5px 0 0; }
.document-card { margin: 0 0 12px; padding: 14px; background: #f8fafd; border: 1px solid #e2e6eb; border-radius: 12px; }
.document-card header { display: flex; justify-content: space-between; margin-bottom: 10px; }
.document-card header button { padding: 5px 10px; color: var(--tc-muted); background: #fff; border: 1px solid var(--tc-border); border-radius: 8px; font: inherit; cursor: pointer; }
.profile-add { height: 36px; padding: 0 12px; color: var(--tc-sage-text); background: #fff; border: 1px dashed #b9cbb5; border-radius: 8px; font: inherit; cursor: pointer; }
.profile-actions { display: flex; justify-content: flex-end; gap: 12px; padding-top: 8px; }
.reminder-list { margin: 0 0 18px; padding: 0; list-style: none; }
.reminder-item { margin-bottom: 8px; padding: 12px 14px; border-radius: 10px; font-size: 13px; }
.reminder-item.is-urgent { color: var(--tc-coral-text); background: #f0d4cf; }
.reminder-item.is-warning { color: #7a5a20; background: #f7ebd2; }
.reminder-item.is-attention { color: #3c4840; background: #e8f0ea; }

/* Journey lifecycle and per-journey hub. */
.journey-hub { width:min(92vw,1100px); max-width:none; }
.journey-hub-top { display:grid; grid-template-columns:minmax(280px,1fr) minmax(0,2fr); gap:14px; margin-bottom:14px; align-items:start; }
.journey-hub-header { display:flex; align-items:flex-start; gap:14px; padding:2px 0; }
.journey-hub-header .tc-title { margin:0; font-size:clamp(30px,1.2rem + 1.6vw,34px); line-height:1.15; }
.journey-header-mark { flex:0 0 42px; color:var(--tc-muted); }
.journey-header-mark .journey-line-icon { width:42px; height:42px; margin-top:2px; }
.journey-hub-type { margin:10px 0 0; font-size:17px; line-height:1.3; }
.journey-hub-dates { margin:8px 0 0; color:var(--tc-muted); font-size:14px; }
.journey-overview { padding:16px; }
.journey-overview h2, .journey-hub-section h2, .journey-form-card h2 { margin:0 0 12px; font-size:18px; font-weight:400; }
.journey-overview-grid { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.journey-overview-grid>div { min-height:60px; padding:10px 12px; background:var(--tc-bg-soft); border-radius:11px; }
.journey-overview-grid span { display:block; color:var(--tc-muted); font-size:12px; }
.journey-overview-grid strong { display:block; margin-top:5px; font-size:17px; font-weight:400; }
.journey-overview-grid .journey-countdown-tile { min-height:96px; }
.journey-countdown-tile.is-sage { color:var(--tc-sage-text); background:var(--tc-sage); }
.journey-countdown-tile.is-apricot { color:var(--tc-apricot-text); background:var(--tc-apricot); }
.journey-countdown-tile.is-coral { color:var(--tc-coral-text); background:var(--tc-coral); }
.journey-countdown-tile.is-sage>span,.journey-countdown-tile.is-apricot>span,.journey-countdown-tile.is-coral>span { color:inherit; }
.journey-countdown-hero { display:flex; min-height:62px; flex-direction:column; align-items:center; justify-content:center; gap:3px; text-align:center; }
.journey-countdown-hero strong { margin:0; font-size:28px; font-weight:700; line-height:1.05; }
.journey-countdown-hero strong:empty { display:none; }
.journey-countdown-hero small { font-size:13px; line-height:1.3; }
.journey-hub-section { margin-bottom:22px; }
.journey-share-panel { margin-bottom:16px; padding:18px; }
.journey-share-row { display:flex; flex-wrap:wrap; align-items:flex-start; justify-content:space-between; gap:12px 16px; }
.journey-share-copy { flex:1 1 220px; min-width:0; }
.journey-share-copy h2 { margin:0 0 6px; font-size:18px; font-weight:400; }
.journey-share-copy p { margin:0; color:var(--tc-muted); font-size:13px; line-height:1.45; }
.journey-share-actions { display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.journey-share-actions .tc-btn { min-height:36px; padding:0 14px; font-size:13px; text-decoration:none; }
.tc-access-notice { margin:0 0 16px; padding:11px 14px; color:var(--tc-apricot-text); background:var(--tc-apricot); border-radius:var(--tc-radius-sm); font-size:13px; line-height:1.4; }
.tc-read-only #add-flight,.tc-read-only #add-cruise,.tc-read-only #ground-add,.tc-read-only #accommodation-add,.tc-read-only #ferry-add,.tc-read-only #place-add,.tc-read-only #activity-add,.tc-read-only #point-add,.tc-read-only #workspace-edit,.tc-read-only #add-port,.tc-read-only #destination-picker,.tc-read-only [data-empty-add],.tc-read-only [data-empty],.tc-read-only form button[type="submit"],.tc-read-only [id*="delete"] { display:none!important; }
.tc-read-only form :disabled { color:var(--tc-text); opacity:1; cursor:default; }
.tc-record-state { display:block; margin-top:6px; color:var(--tc-muted); font-size:12px; font-weight:400; }
.tc-record-hidden { opacity:.62; border-style:dashed!important; }
.tc-record-personalised { border-color:var(--tc-sage-text)!important; }
.tc-record-actions { display:flex; justify-content:flex-end; margin:-5px 6px 10px; }
.tc-record-actions .tc-btn { min-height:32px; padding:0 12px; font-size:12px; }
.flight-collaboration-panel { padding:13px 15px; margin:0 0 14px; background:var(--tc-apricot); border-radius:var(--tc-radius-sm); }
.flight-collaboration-panel.is-personalised { background:var(--tc-sage); }
.flight-collaboration-panel strong { display:block; margin-bottom:4px; font-size:14px; }
.flight-collaboration-panel p { margin:0 0 10px; color:var(--tc-muted); font-size:12px; line-height:1.4; }
.flight-collaboration-panel .tc-btn { min-height:34px; padding:0 12px; font-size:12px; }
.journey-component-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.journey-component-card { min-height:138px; padding:16px; color:var(--tc-text); background:#fff; border:1px solid var(--tc-border); border-radius:16px; box-shadow:var(--tc-shadow-card); text-decoration:none; }
.journey-component-card strong,.journey-component-card span,.journey-component-card em { display:block; }
.journey-component-card strong { margin:7px 0 5px; font-size:19px; font-weight:400; }
.journey-component-card span { color:var(--tc-muted); font-size:13px; line-height:1.35; }
.journey-component-card em { margin-top:10px; color:var(--tc-sage-text); font-size:13px; font-style:normal; }
.journey-component-icon { display:block; width:24px; height:24px; color:var(--tc-text)!important; }
.journey-line-icon { display:block; width:24px; height:24px; fill:none; stroke:currentColor; stroke-linecap:round; stroke-linejoin:round; stroke-width:1.55; }
.journey-line-icon .icon-dot { fill:currentColor; stroke:none; }
.journey-danger { margin:18px 0; padding-top:10px; border-top:1px solid var(--tc-border); }
.tc-btn-ghost { color:var(--tc-coral-text); background:transparent; border-color:transparent; }
.journey-hub-actions { display:flex; justify-content:flex-end; gap:8px; }
.confirm-overlay { position:fixed; inset:0; display:grid; place-items:center; padding:20px; background:rgba(40,37,34,.35); }
.confirm-card { max-width:520px; padding:28px; background:#fff; border-radius:18px; box-shadow:var(--tc-shadow-focus); }
.confirm-card h2 { margin-top:0; }.confirm-card div { display:flex; justify-content:flex-end; gap:10px; }.danger-copy { color:var(--tc-coral-text); }
.tc-btn-danger { color:#fff; background:var(--tc-coral-text); }
.journey-form-shell { max-width:760px; }.journey-form-card { padding:24px; }.profile-field > span { display:block; margin-top:4px; color:var(--tc-muted); font-size:12px; }
@media(max-width:560px){.journey-share-actions{width:100%}.journey-share-actions .tc-btn{width:100%}}

/* Flights — mirrors the Apps Script type picker, list and progressive editor. */
.flight-shell { max-width:760px; }
.flight-toolbar { display:flex; justify-content:flex-end; margin-bottom:16px; }
.flight-list { display:grid; gap:12px; }
.flight-list-card { display:flex; width:100%; padding:17px 19px; align-items:center; justify-content:space-between; color:var(--tc-text); text-align:left; font:inherit; cursor:pointer; }
.flight-list-card span,.flight-list-card strong,.flight-list-card em,.flight-list-card small { display:block; }
.flight-list-card strong { font-size:19px; font-weight:400; }.flight-list-card em { margin-top:5px; font-style:normal; }.flight-list-card small { margin-top:5px; color:var(--tc-muted); font-size:13px; }.flight-list-card b { font:28px/1 sans-serif; color:var(--tc-muted); }
.flight-empty { padding:28px; text-align:center; }.flight-empty h2 { margin:0 0 8px; font-size:21px; font-weight:400; }.flight-empty p { margin:0; color:var(--tc-muted); }
.flight-type-grid { display:grid; gap:12px; margin-bottom:18px; }.flight-type-card { display:block; width:100%; padding:22px; color:var(--tc-text); text-align:left; font:inherit; cursor:pointer; }.flight-type-card strong,.flight-type-card span { display:block; }.flight-type-card strong { font-size:20px; font-weight:400; }.flight-type-card span { margin-top:6px; color:var(--tc-muted); }
.flight-form-section { margin-bottom:14px; padding:20px; }.flight-form-section h2 { margin:0 0 14px; font-size:19px; font-weight:400; }.field-help { margin:-4px 0 14px; color:var(--tc-muted); font-size:13px; }
.flight-editor-actions { display:grid; grid-template-columns:auto 1fr auto auto; gap:10px; align-items:center; margin-top:18px; }
.flight-page-head{display:flex;align-items:flex-start;gap:14px;margin-bottom:18px}.flight-page-head .tc-title{margin:0 0 4px}.flight-page-icon{display:grid;flex:0 0 42px;width:42px;height:42px;place-items:center;color:var(--tc-text);font:25px/1 sans-serif;border:1px solid var(--tc-border);border-radius:12px;background:#fff}.flight-footer,.flight-editor-footer{display:flex;justify-content:space-between;gap:10px;margin-top:16px}.flight-choice-grid,.flight-section-list,.flight-item-list{display:grid;gap:10px}.flight-choice-card,.flight-section-card,.flight-item-card{display:flex;width:100%;padding:15px 17px;flex-direction:column;align-items:flex-start;color:var(--tc-text);background:var(--tc-card);border:1px solid var(--tc-border);border-radius:var(--tc-radius);box-shadow:var(--tc-shadow-card);font:inherit;text-align:left;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.flight-choice-card:hover,.flight-section-card:hover,.flight-item-card:hover{border-color:#d5d0c8;box-shadow:var(--tc-shadow);transform:translateY(-1px)}.flight-choice-card strong,.flight-section-card strong,.flight-item-card strong{font-size:17px;font-weight:400}.flight-choice-card span,.flight-section-card span,.flight-item-card span{margin-top:4px;color:var(--tc-muted);font-size:13px;line-height:1.4}.flight-section-card small,.flight-item-card small{margin-top:5px;color:var(--tc-sage-text);font-size:12px}.flight-empty-icon{display:block;margin-bottom:8px;font:28px/1 sans-serif}.flight-empty .tc-btn{margin-top:16px}.flight-summary-card{padding:16px 18px;background:var(--tc-card);border:1px solid var(--tc-border);border-radius:var(--tc-radius);box-shadow:var(--tc-shadow-card)}.flight-summary-kicker{margin:0 0 9px;color:var(--tc-muted);font-size:13px}.flight-summary-kicker:not(:first-child){margin-top:14px}.flight-summary-row{display:flex;width:100%;padding:9px 0;flex-direction:column;align-items:flex-start;color:inherit;background:transparent;border:0;border-bottom:1px solid var(--tc-border);font:inherit;text-align:left;cursor:pointer}.flight-summary-row small{color:var(--tc-muted);font-size:12px}.flight-summary-row strong{margin-top:2px;font-size:16px;font-weight:400}.flight-summary-row strong.is-placeholder{color:var(--tc-muted)}.flight-summary-arrow{display:block;margin:2px 0;color:var(--tc-muted);font-size:14px}.flight-section-list{margin-top:12px}.flight-section-fields{padding:20px;background:var(--tc-card);border:1px solid var(--tc-border);border-radius:var(--tc-radius);box-shadow:var(--tc-shadow-card)}.flight-section-fields .profile-field:last-child{margin-bottom:0}.flight-delete-link{margin-top:12px;color:var(--tc-coral-text)}
.airport-picker-input { cursor:pointer; background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%237a756f' stroke-linecap='round'%3E%3Ccircle cx='7' cy='7' r='4.5'/%3E%3Cpath d='m10.5 10.5 3 3'/%3E%3C/svg%3E") no-repeat right 12px center!important; padding-right:38px!important; }
.airport-finder { position:fixed; inset:0; z-index:20; display:grid; place-items:center; padding:18px; background:rgba(40,37,34,.42); }
.airport-finder-panel { display:flex; width:min(620px,100%); max-height:min(720px,calc(100vh - 36px)); overflow:hidden; flex-direction:column; background:var(--tc-bg); border-radius:20px; box-shadow:var(--tc-shadow-focus); }
.airport-finder-panel header { padding:22px 22px 14px; }.airport-finder-panel h2 { margin:0; font-size:25px; font-weight:400; }.airport-finder-panel header p { margin:5px 0 12px; color:var(--tc-muted); }
.airport-finder-results { min-height:180px; padding:4px 22px 16px; overflow-y:auto; }.airport-finder-empty,.airport-finder-label { color:var(--tc-muted); text-align:center; }.airport-finder-label { margin:4px 0 10px; text-align:left; font-size:13px; }
.airport-finder-result { display:block; width:100%; margin-bottom:8px; padding:13px 14px; color:var(--tc-text); background:#fff; border:1px solid var(--tc-border); border-radius:12px; text-align:left; font:inherit; cursor:pointer; }.airport-finder-result strong,.airport-finder-result span { display:block; }.airport-finder-result strong { font-size:17px; font-weight:400; }.airport-finder-result span { margin-top:3px; color:var(--tc-muted); font-size:12px; }
.airport-finder-panel footer { display:flex; justify-content:space-between; gap:10px; padding:14px 22px 20px; border-top:1px solid var(--tc-border); }
.destination-picker { display:block; width:100%; padding:14px 16px; color:var(--tc-text); background:#fff; border:1px solid var(--tc-border); border-radius:12px; text-align:left; font:inherit; cursor:pointer; }
.destination-picker span.is-placeholder { color:var(--tc-muted); }
.profile-field small { margin-top:6px; color:var(--tc-muted); font-size:12px; line-height:1.45; }
.timeline-shell { max-width:760px; }
.flight-page-icon svg { width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.timeline-day { margin:0 0 18px; }.timeline-day h2 { margin:0 0 8px; font-size:17px; font-weight:400; }
.timeline-event { display:flex; flex-direction:column; align-items:flex-start; gap:3px; margin:0 0 8px; padding:14px 16px; background:var(--tc-card); border:1px solid var(--tc-border); border-radius:var(--tc-radius); box-shadow:var(--tc-shadow-soft); }
.timeline-event strong { font-size:17px; font-weight:400; }.timeline-event p,.timeline-event small { margin:0; color:var(--tc-muted); }.timeline-event p { font-size:13px; }.timeline-event small { font-size:12px; }.timeline-event a { margin-top:5px; color:var(--tc-muted); font-size:12px; text-decoration:none; }.timeline-event a:hover { color:var(--tc-text); text-decoration:underline; }
.timeline-footer { display:flex; justify-content:flex-end; margin-top:18px; }
.ground-shell{max-width:760px}.ground-form{padding:20px;background:var(--tc-card);border:1px solid var(--tc-border);border-radius:var(--tc-radius);box-shadow:var(--tc-shadow-card)}.ground-form .profile-field:last-child{margin-bottom:0}.flight-item-card .ground-provider{display:inline-block;margin-top:7px;padding:4px 9px;color:var(--tc-muted);background:#f3f1ee;border-radius:999px;font-size:12px}
.accommodation-shell{max-width:760px}.accommodation-form{padding:20px;background:var(--tc-card);border:1px solid var(--tc-border);border-radius:var(--tc-radius);box-shadow:var(--tc-shadow-card)}.accommodation-form .profile-field:last-child{margin-bottom:0}.accommodation-nights{min-height:18px;margin:0 0 14px;color:var(--tc-muted);font-size:13px}.accommodation-nights.is-error{color:var(--tc-coral-text)}.flight-item-card .accommodation-type-chip{display:inline-block;margin-top:7px;padding:4px 9px;color:var(--tc-muted);background:#f3f1ee;border-radius:999px;font-size:12px}
.ferry-shell{max-width:760px}.ferry-form{padding:20px;background:var(--tc-card);border:1px solid var(--tc-border);border-radius:var(--tc-radius);box-shadow:var(--tc-shadow-card)}.ferry-form>.profile-field:last-child{margin-bottom:0}.ferry-section-title{margin:4px 0 10px;color:var(--tc-muted);font-size:13px;font-weight:600}.ferry-check{display:flex;align-items:center;gap:8px;margin:0 0 14px;font-size:13px}.ferry-check input{width:auto;height:auto}.flight-item-card .ferry-overnight-chip{display:inline-block;margin-top:7px;padding:4px 9px;color:var(--tc-muted);background:#f3f1ee;border-radius:999px;font-size:12px}
.places-shell{max-width:760px}.places-form{padding:20px;background:var(--tc-card);border:1px solid var(--tc-border);border-radius:var(--tc-radius);box-shadow:var(--tc-shadow-card)}.places-form>.profile-field:last-child{margin-bottom:0}.places-meta{margin:0 0 12px;color:var(--tc-muted);font-size:13px;line-height:1.4}.places-workspace-edit{display:flex;justify-content:flex-end;margin-bottom:18px}.places-section-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin:0 0 8px}.places-section-toolbar h2{margin:0;font-size:19px;font-weight:400}.places-poi-heading{margin-top:24px}.places-hint{margin:0 0 10px;color:var(--tc-muted);font-size:13px}.places-empty-line{margin:0 0 12px;color:var(--tc-muted);font-size:13px}.places-record-list{display:grid;gap:10px}.places-record-card{padding:15px 17px;background:var(--tc-card);border:1px solid var(--tc-border);border-radius:var(--tc-radius);box-shadow:var(--tc-shadow-card)}.places-record-card.is-hidden{opacity:.88}.places-record-main{display:flex;width:100%;padding:0;flex-direction:column;align-items:flex-start;color:var(--tc-text);background:transparent;border:0;font:inherit;text-align:left;cursor:pointer}.places-record-main strong{font-size:17px;font-weight:400}.places-record-main span{margin-top:4px;color:var(--tc-muted);font-size:13px}.places-record-state{margin-top:6px;color:var(--tc-muted);font-size:12px}.places-activity-action{min-height:32px;margin-top:9px;padding:0 12px;font-size:12px}.places-participation-note{margin:12px 0 0;color:var(--tc-muted);font-size:13px}.places-participation{margin-top:8px}
.schengen-shell{width:min(94vw,1180px);max-width:1180px}.schengen-header-actions{display:flex;gap:8px}.sd-top{display:grid;grid-template-columns:1.85fr 1fr;gap:10px;margin-bottom:10px}.sd-top.is-solo{grid-template-columns:1fr}.sd-mid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:10px}.sd-hero,.sd-panel{padding:16px;border:1px solid var(--tc-border);border-radius:var(--tc-radius);background:var(--tc-card);box-shadow:var(--tc-shadow-soft)}.sd-hero.is-green{background:var(--tc-sage)}.sd-hero.is-amber{background:var(--tc-apricot)}.sd-hero.is-red{background:var(--tc-coral)}.sd-hero-status{margin:0 0 14px;font-size:20px}.sd-metrics{display:grid;grid-template-columns:1fr 1fr;gap:8px}.sd-metrics>div{display:flex;flex-direction:column;padding:10px 12px;border-radius:10px;background:rgba(255,255,255,.55)}.sd-metrics small{color:var(--tc-muted);font-size:11px;text-transform:uppercase}.sd-metrics strong{font-size:22px}.sd-panel h2,.sd-guide h2{margin:0 0 10px;font-size:16px}.sd-panel h3{margin:0 0 5px;font-size:16px}.sd-panel p{margin:5px 0}.sd-empty{padding:10px;background:var(--tc-bg-soft);border-radius:10px;color:var(--tc-muted)}.sd-contrib-list{display:grid;gap:6px}.sd-contrib-list>div{display:flex;justify-content:space-between;gap:10px;padding:8px 10px;background:var(--tc-bg-soft);border-radius:9px}.sd-advisor{padding:11px;border-radius:10px}.sd-advisor.is-ok{background:var(--tc-sage)}.sd-advisor.is-caution{background:var(--tc-apricot)}.sd-advisor.is-warning{background:var(--tc-coral)}.sd-tools .tc-nav-card{display:flex;flex-direction:column;margin-top:10px;padding:11px;text-decoration:none}.sd-tools .tc-nav-card span{color:var(--tc-muted);font-size:12px}.sd-guide{padding:14px}.sd-guide>p{color:var(--tc-muted)}.sd-guide-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.sd-guide-grid article{padding:10px;background:var(--tc-bg-soft);border-radius:10px}.sd-guide-grid p{margin:8px 0 0;font-size:12px;color:var(--tc-muted)}.schengen-stays-shell{max-width:760px}@media(max-width:850px){.sd-mid,.sd-guide-grid{grid-template-columns:1fr 1fr}.sd-top{grid-template-columns:1fr}}@media(max-width:600px){.sd-mid,.sd-guide-grid{grid-template-columns:1fr}.schengen-header-actions{flex-direction:column}}
.cruise-shell{max-width:760px}.cruise-summary-edit{margin-top:2px;color:var(--tc-muted);font-size:12px}.cruise-notice{margin:0 0 12px;padding:12px 14px;color:var(--tc-apricot-text);background:var(--tc-apricot);border:1px solid #e8d4b0;border-radius:var(--tc-radius-xs);font-size:13px;line-height:1.45}.cruise-day{margin-bottom:16px}.cruise-day>header{display:flex;justify-content:space-between;gap:12px;margin-bottom:8px}.cruise-day>header strong{font-size:18px;font-weight:400}.cruise-day>header span{color:var(--tc-muted);font-size:13px}.cruise-event-card{display:flex;width:100%;padding:14px 16px;flex-direction:column;gap:8px;color:var(--tc-text);background:var(--tc-card);border:1px solid var(--tc-border);border-radius:var(--tc-radius);box-shadow:var(--tc-shadow-soft)}.cruise-event-card+.cruise-event-card{margin-top:8px}.cruise-event-card>div:first-child{display:flex;flex-direction:column}.cruise-event-card strong{font-size:17px;font-weight:400}.cruise-event-card span{margin-top:3px;color:var(--tc-muted);font-size:12px}.cruise-event-meta{display:flex;flex-wrap:wrap;gap:4px 16px;color:var(--tc-muted);font-size:13px;line-height:1.4}.cruise-event-meta span{margin:0}.cruise-event-actions{display:flex;flex-wrap:wrap;gap:8px}.cruise-event-actions .tc-btn{min-height:34px;padding:0 12px;font-size:13px}.cruise-fixed-day{margin:0;color:var(--tc-muted)}.cruise-checkbox{display:flex;align-items:center;gap:10px;margin:4px 0 14px}.cruise-checkbox input{width:18px;height:18px;margin:0;accent-color:var(--tc-sage-text)}

@media (max-width: 540px) {
  .tc-app { padding: 18px 12px; }
  #journey-form > div[style*="display:flex"] { flex-direction: column; }
  .page-header, .journey-card { align-items: stretch; flex-direction: column; }
  .hub-toolbar { align-items: stretch; flex-direction: column; }
  .hub-toolbar .tc-btn { width: 100%; }
}

@media (max-width: 820px) {
  .dashboard-body { overflow:hidden; }
  .dashboard-shell { width:100%; height:100vh; min-height:0; margin:0; padding:0; grid-template-columns:58px minmax(0,1fr); gap:0; }
  .dashboard-rail { position:relative; z-index:20; width:58px; height:100vh; padding:8px 6px; overflow:hidden; background:var(--tc-bg); border-right:1px solid var(--tc-border); transition:width .2s ease,box-shadow .2s ease; }
  .dashboard-mobile-toggle { display:flex; width:44px; height:44px; margin:0 auto 8px; align-items:center; justify-content:center; color:var(--tc-text); background:#fff; border:1px solid var(--tc-border); border-radius:13px; box-shadow:var(--tc-shadow-soft); font:24px/1 var(--tc-font); cursor:pointer; }
  .dashboard-welcome { display:none; padding:0; }
  .dashboard-home-button { width:44px; height:44px; margin:0 auto; justify-content:center; }
  .dashboard-signout,.overview-card,.dashboard-review,.dashboard-footer,.dashboard-error { display:none; }
  .dashboard-home-button .line-icon-lg { width:27px; height:27px; margin:0; }
  .dashboard-nav { gap:8px; margin-top:12px; }
  .dashboard-nav-card { display:flex; width:44px; min-height:44px; height:44px; margin:0 auto; padding:0; align-items:center; justify-content:center; border-radius:13px; }
  .dashboard-nav-card:hover { transform:none; }
  .dashboard-nav-card>span:nth-child(2),.dashboard-nav-arrow { display:none; }
  .dashboard-nav-card .line-icon { width:23px; height:23px; }
  .dashboard-workspace { height:100vh; min-height:0; border-width:0; border-radius:0; box-shadow:none; }
  .dashboard-workspace-header { min-height:58px; padding:9px 14px; }
  .dashboard-workspace-header h2 { font-size:21px; }
  .dashboard-workspace-loading { inset:58px 0 0; }
  .dashboard-workspace-welcome { padding:22px 18px; }
  .dashboard-workspace-welcome .dashboard-greeting { font-size:25px; }
  .dashboard-workspace-welcome .dashboard-date,.dashboard-workspace-welcome .dashboard-message { font-size:14px; }
  .tc-embedded.tc-app { padding:18px 12px; }
  .dashboard-shell.is-mobile-nav-open .dashboard-rail { position:fixed; inset:0 auto 0 0; width:min(88vw,340px); padding:10px 12px 18px; overflow-y:auto; border-right:1px solid var(--tc-border); box-shadow:14px 0 32px rgba(55,50,45,.18); }
  .dashboard-shell.is-mobile-nav-open .dashboard-mobile-toggle { margin:0 0 8px auto; }
  .dashboard-shell.is-mobile-nav-open .dashboard-welcome { display:block; padding:2px 4px 14px; }
  .dashboard-shell.is-mobile-nav-open .dashboard-home-button { width:100%; height:auto; margin:0; justify-content:flex-start; }
  .dashboard-shell.is-mobile-nav-open .dashboard-home-button h1 { display:block; }
  .dashboard-shell.is-mobile-nav-open .dashboard-home-button .line-icon-lg { width:34px; height:34px; margin-top:5px; }
  .dashboard-shell.is-mobile-nav-open .dashboard-signout { display:block; margin:16px 4px 4px auto; }
  .dashboard-shell.is-mobile-nav-open .overview-card { display:block; }
  .dashboard-shell.is-mobile-nav-open .dashboard-review:not([hidden]) { display:block; }
  .dashboard-shell.is-mobile-nav-open .dashboard-footer { display:block; }
  .dashboard-shell.is-mobile-nav-open .dashboard-error:not([hidden]) { display:block; }
  .dashboard-shell.is-mobile-nav-open .dashboard-nav { margin-top:0; }
  .dashboard-shell.is-mobile-nav-open .dashboard-nav-card { display:grid; width:100%; min-height:78px; height:auto; margin:0; padding:12px 14px; grid-template-columns:25px minmax(0,1fr) auto; gap:11px; justify-content:initial; border-radius:16px; }
  .dashboard-shell.is-mobile-nav-open .dashboard-nav-card>span:nth-child(2),.dashboard-shell.is-mobile-nav-open .dashboard-nav-arrow { display:block; }
  .dashboard-rail-backdrop:not([hidden]) { position:fixed; inset:0; z-index:15; display:block; padding:0; background:rgba(43,40,37,.25); border:0; }
  .journey-hub-top { grid-template-columns:1fr; }
}

@media (min-width:561px) and (max-width:820px) {
  .overview-grid { grid-template-columns:1fr 1fr; }
}

@media (max-width:820px) {
  .dashboard-shell { display:flex; height:100vh; min-height:0; flex-direction:column; }
  .dashboard-rail { width:100%; height:58px; min-height:58px; padding:7px 10px; flex:0 0 58px; flex-direction:row; align-items:center; gap:8px; overflow-x:auto; overflow-y:hidden; border-right:0; border-bottom:1px solid var(--tc-border); }
  .dashboard-mobile-toggle { flex:0 0 44px; margin:0; }
  .dashboard-nav { display:flex; flex:1; min-width:0; gap:8px; margin:0; overflow-x:auto; }
  .dashboard-nav-card { flex:0 0 44px; margin:0; }
  .dashboard-workspace { height:auto; min-height:0; flex:1; }
  .dashboard-workspace-welcome { padding:22px 18px 35%; background-image:linear-gradient(180deg,rgba(255,252,246,.08) 35%,rgba(255,252,246,.28) 100%),url('/assets/welcome-back-travel.jpg'); background-position:center; background-size:cover; }
  .dashboard-welcome-brand { display:none; }
  .dashboard-workspace-welcome .dashboard-greeting { z-index:2; font-size:26px; }
  .dashboard-workspace-welcome .dashboard-greeting .welcome-name { display:block; }
  .dashboard-workspace-welcome .dashboard-greeting .welcome-name { margin-left:0; }
  .dashboard-workspace-welcome .dashboard-date,.dashboard-workspace-welcome .dashboard-message { color:#403731; font-size:15px; font-weight:600; }
  .dashboard-workspace-welcome .dashboard-message { max-width:320px; }
  .dashboard-workspace-welcome .welcome-message-line { display:block; }
  .dashboard-shell.is-mobile-nav-open .dashboard-rail { position:fixed; inset:0; z-index:20; width:100%; height:100vh; min-height:100vh; padding:10px 12px 18px; flex-direction:column; align-items:stretch; overflow-y:auto; border-right:1px solid var(--tc-border); border-bottom:0; }
  .dashboard-shell.is-mobile-nav-open .dashboard-mobile-toggle { flex:0 0 44px; margin:0 0 8px auto; }
  .dashboard-shell.is-mobile-nav-open .dashboard-nav { display:grid; flex:none; margin-top:0; overflow:visible; }
  .dashboard-shell.is-mobile-nav-open .dashboard-nav-card { width:100%; min-height:78px; height:auto; padding:12px 14px; grid-template-columns:25px minmax(0,1fr) auto; }
}

@media (max-width:600px) {
  .dashboard-workspace-welcome { padding-bottom:65%; background-image:linear-gradient(180deg,rgba(255,252,246,.04) 55%,rgba(255,252,246,.2) 100%),url('/assets/welcome-back-mobile.jpg'); background-position:center top; background-size:cover; }
  .dashboard-workspace-welcome .dashboard-greeting,.dashboard-workspace-welcome .dashboard-date,.dashboard-workspace-welcome .dashboard-message { color:#1d1713; font-weight:800; text-shadow:0 1px 2px rgba(255,250,240,.98); }
  .dashboard-workspace-welcome .welcome-message-part { display:block; }
}

@media (max-width: 560px) {
  .overview-grid { grid-template-columns:1fr; }
  .overview-tile-sage { min-height: 92px; }
  .dashboard-nav-card { min-height:44px; }
  .profile-grid { grid-template-columns: 1fr; }
  .profile-actions { align-items: stretch; flex-direction: column; }
  .journey-component-grid,.journey-overview-grid { grid-template-columns:1fr; }
  .flight-editor-actions { grid-template-columns:1fr; }.flight-editor-actions span { display:none; }.flight-editor-actions .tc-btn { width:100%; }
}
.eligibility-shell{max-width:700px}.eligibility-result{margin-top:14px;padding:16px}.eligibility-result.green{background:var(--tc-sage)}.eligibility-result.amber{background:var(--tc-apricot)}.eligibility-result.red{background:var(--tc-coral)}
.notes-shell{max-width:760px}.notes-page-icon svg{width:30px;height:30px}.notes-intro{padding:14px 16px;margin-bottom:14px}.notes-intro p{margin:0;color:var(--tc-muted);font-size:13px;line-height:1.45}.jn-category{position:relative;padding:16px;margin-bottom:14px}.jn-category-header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.jn-category-title{margin:0;color:var(--tc-muted);font-size:14px;line-height:1.3}.jn-category-title-input{width:100%;min-height:36px;padding:6px 10px;color:var(--tc-text);background:var(--tc-card);border:1px solid var(--tc-border);border-radius:var(--tc-radius-xs);font:14px inherit}.jn-note-list{display:flex;flex-direction:column;gap:10px;margin-bottom:10px}.jn-note-card{position:relative;padding:14px 16px;background:var(--tc-bg-soft)}.jn-note-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.jn-note-title{margin:0;font-size:15px;line-height:1.3}.jn-note-body{margin:6px 0 0;color:var(--tc-muted);font-size:13px;line-height:1.45;white-space:pre-wrap}.jn-note-empty{margin:0 0 10px;color:var(--tc-muted);font-size:13px}.jn-item-actions{position:relative;flex:0 0 auto}.jn-icon-btn{min-width:32px;min-height:32px;padding:0;color:var(--tc-muted);background:transparent;border:0;border-radius:8px;font:18px/1 inherit;cursor:pointer}.jn-icon-btn:hover,.jn-icon-btn[aria-expanded="true"]{color:var(--tc-text);background:var(--tc-bg-soft)}.jn-menu{position:absolute;top:34px;right:0;z-index:20;min-width:180px;padding:6px;background:var(--tc-card);border:1px solid var(--tc-border);border-radius:var(--tc-radius-sm);box-shadow:var(--tc-shadow)}.jn-menu button{display:block;width:100%;padding:8px 10px;color:var(--tc-text);background:transparent;border:0;border-radius:8px;font:13px inherit;text-align:left;cursor:pointer}.jn-menu button:hover{background:var(--tc-bg-soft)}.jn-editor{display:flex;flex-direction:column;gap:8px;margin-bottom:10px;padding:14px 16px;background:var(--tc-card);border:1px solid var(--tc-border);border-radius:var(--tc-radius);box-shadow:var(--tc-shadow-soft)}.jn-editor .tc-input{min-height:44px}.jn-editor textarea.tc-input{min-height:96px;padding:12px 14px;resize:vertical}.jn-editor-error{margin:0;color:var(--tc-coral-text);font-size:12px}.jn-editor-actions,.notes-editor-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.jn-editor-actions .tc-btn{min-height:36px;padding:0 14px;font-size:13px}.jn-add-btn,.jn-add-category-btn{min-height:40px;padding:0 14px;font-size:13px}.jn-add-category-wrap{margin:4px 0 12px}.jn-actions{display:flex;justify-content:flex-end;margin:8px 0 4px}.jn-actions .tc-btn{min-height:40px;padding:0 16px;font-size:14px}.notes-editor-card{width:min(92vw,560px)}.notes-editor-actions{margin-top:14px}.confirm-detail{display:block;margin:-8px 0 18px;color:var(--tc-muted)}@media(max-width:650px){.jn-note-top{align-items:flex-start}.jn-editor-actions{justify-content:stretch}.jn-editor-actions .tc-btn{flex:1}}
.readiness-shell{max-width:760px}.readiness-page-icon svg{width:30px;height:30px}.readiness-panel{padding:18px;margin-bottom:14px}.readiness-panel h2{margin:0 0 8px;font-size:18px;font-weight:400}.jr-score-value{margin:0 0 8px;font-size:22px;line-height:1.2}.jr-progress{height:10px;margin:0 0 12px;overflow:hidden;background:var(--tc-bg-soft);border-radius:999px}.jr-progress-fill{display:block;height:100%;width:0;background:var(--tc-sage-text);opacity:.55;border-radius:999px;transition:width .35s ease}.jr-help{margin:0 0 12px;color:var(--tc-muted);font-size:13px;line-height:1.45}.jr-check-list,.jr-personal-list{padding:0;margin:0;list-style:none}.jr-check-list li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid var(--tc-border)}.jr-check-list li:last-child{border-bottom:0}.jr-check-label{font-size:14px;line-height:1.35}.jr-status{padding:4px 10px;color:var(--tc-muted);background:var(--tc-bg-soft);border-radius:999px;font-size:12px}.jr-status.is-done{color:#496848;background:var(--tc-sage)}.jr-section-title{margin:16px 0 8px;color:var(--tc-muted);font-size:14px}.jr-section:first-child .jr-section-title{margin-top:0}.jr-item{display:grid;grid-template-columns:28px 1fr auto;gap:8px;align-items:center;padding:8px 0;border-bottom:1px solid var(--tc-border)}.jr-item:last-child{border-bottom:0}.jr-item input[type="checkbox"]{width:18px;height:18px;accent-color:var(--tc-sage-text);cursor:pointer}.jr-item-label{width:100%;min-height:36px;padding:6px 10px;color:var(--tc-text);background:transparent;border:1px solid transparent;border-radius:var(--tc-radius-xs);font-family:inherit;font-size:14px}.jr-item-label:focus{outline:0;background:var(--tc-card);border-color:var(--tc-border);box-shadow:0 0 0 3px rgba(61,58,55,.06)}.jr-item-actions{position:relative;display:flex;gap:4px}.jr-icon-btn{min-width:32px;min-height:32px;padding:0;color:var(--tc-muted);background:transparent;border:0;border-radius:8px;font-family:inherit;font-size:18px;line-height:1;cursor:pointer}.jr-icon-btn:hover,.jr-icon-btn[aria-expanded="true"]{color:var(--tc-text);background:var(--tc-bg-soft)}.jr-menu{position:absolute;top:34px;right:0;z-index:20;min-width:168px;padding:6px;background:var(--tc-card);border:1px solid var(--tc-border);border-radius:var(--tc-radius-sm);box-shadow:var(--tc-shadow)}.jr-menu button{display:block;width:100%;padding:8px 10px;color:var(--tc-text);background:transparent;border:0;border-radius:8px;font-family:inherit;font-size:13px;text-align:left;cursor:pointer}.jr-menu button:hover{background:var(--tc-bg-soft)}.jr-suggestion-card{padding:14px 16px;margin-bottom:10px;background:var(--tc-bg-soft)}.jr-suggestion-card:last-child{margin-bottom:0}.jr-suggestion-title{margin:0;font-size:15px;line-height:1.3}.jr-suggestion-reason{margin:4px 0 0;color:var(--tc-muted);font-size:12px}.jr-suggestion-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.jr-suggestion-actions .tc-btn{min-height:36px;padding:0 14px;font-size:13px}.jr-actions{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;margin:8px 0 4px}.jr-actions .tc-btn{min-height:40px;padding:0 16px;font-size:14px}.jr-add-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.jr-add-row .tc-input{flex:1 1 180px}.jr-add-row .tc-btn{min-height:48px}@media(max-width:600px){.jr-item{grid-template-columns:28px minmax(0,1fr) auto}.jr-add-row{flex-direction:column}.jr-add-row .tc-btn{width:100%}}
.readiness-centre-shell{width:min(92vw,1100px);max-width:1100px}.jrc-page-icon svg{width:30px;height:30px}.jrc-stack{display:flex;flex-direction:column;gap:12px}.jrc-panel{padding:18px}.jrc-panel h2{margin:0 0 10px;font-size:18px;font-weight:400}.jrc-score-value{margin:0 0 8px;font-size:22px;line-height:1.2}.jrc-progress{height:10px;margin:0 0 12px;overflow:hidden;background:var(--tc-bg-soft);border-radius:999px}.jrc-progress-fill{display:block;height:100%;width:0;background:var(--tc-sage-text);opacity:.55;border-radius:999px;transition:width .35s ease}.jrc-status-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 10px}.jrc-status-chip{display:inline-block;padding:5px 10px;background:rgba(255,255,255,.52);border-radius:999px;font-size:12px}.jrc-status-chip.is-sage{color:var(--tc-sage-text);background:var(--tc-sage)}.jrc-status-chip.is-apricot{color:var(--tc-apricot-text);background:var(--tc-apricot)}.jrc-status-chip.is-coral{color:var(--tc-coral-text);background:var(--tc-coral)}.jrc-status-chip.is-neutral{color:var(--tc-muted);background:var(--tc-neutral-chip)}.jrc-metrics{display:flex;flex-wrap:wrap;gap:16px 24px;margin:0}.jrc-metric{display:flex;min-width:0;flex-direction:column;gap:2px}.jrc-metric-label{color:var(--tc-muted);font-size:12px}.jrc-metric strong{font-size:16px;font-weight:600}.jrc-priority-line{margin:10px 0 0;font-size:13px;line-height:1.4}.jrc-overall-actions{margin-top:12px}.jrc-link-btn{display:inline-flex;align-items:center;gap:4px;padding:0;color:var(--tc-muted);background:transparent;border:0;font:13px inherit;text-decoration:underline;text-underline-offset:2px;cursor:pointer}.jrc-link-btn:hover{color:var(--tc-text)}.jrc-help{margin:0 0 10px;color:var(--tc-muted);font-size:13px;line-height:1.4}.jrc-journey-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:stretch;padding:0;margin:0;list-style:none}.jrc-journey-card{display:flex;height:100%;padding:14px 14px 12px;flex-direction:column;gap:8px;border:1px solid transparent;border-radius:var(--tc-radius);box-shadow:var(--tc-shadow-soft)}.jrc-journey-card.is-sage,.jrc-guide .is-sage{color:var(--tc-sage-text);background:var(--tc-sage)}.jrc-journey-card.is-apricot,.jrc-guide .is-apricot{color:var(--tc-apricot-text);background:var(--tc-apricot)}.jrc-journey-card.is-coral,.jrc-guide .is-coral{color:var(--tc-coral-text);background:var(--tc-coral)}.jrc-journey-name{margin:0;color:var(--tc-text);font-size:16px;line-height:1.3;font-weight:600}.jrc-journey-type,.jrc-journey-dates,.jrc-journey-stats p{margin:0;color:inherit;font-size:13px;line-height:1.35}.jrc-journey-score{margin:4px 0 0;color:var(--tc-text);font-size:15px;font-weight:600}.jrc-journey-status{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0}.jrc-journey-card .jrc-status-chip{background:rgba(255,255,255,.52)}.jrc-journey-progress{height:8px;margin:0;overflow:hidden;background:rgba(255,255,255,.55);border-radius:999px}.jrc-journey-stats{display:flex;flex-direction:column;gap:2px}.jrc-journey-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px;margin-top:auto;padding-top:4px}.jrc-journey-footer .tc-btn{min-height:40px;padding:0 16px;font-size:13px}.jrc-tasks-panel{margin-top:4px;padding-top:18px}.jrc-tasks-panel>header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}.jrc-tasks-panel>header h2{margin:0}.jrc-task-group{margin:0 0 14px;padding:0 0 12px;border-bottom:1px solid var(--tc-border)}.jrc-task-group:last-child{margin-bottom:0;padding-bottom:0;border-bottom:0}.jrc-task-group h3{margin:0 0 8px;font-size:14px;font-weight:600}.jrc-task-group ul{margin:0;padding-left:18px}.jrc-task-group li{margin:0 0 4px;font-size:13px;line-height:1.4}.jrc-guide{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.jrc-guide article{display:flex;padding:10px 12px;flex-direction:column;align-items:flex-start;gap:6px;border-radius:var(--tc-radius-xs)}.jrc-guide p{margin:0;color:inherit;font-size:12px;line-height:1.35}.jrc-empty{margin:0;color:var(--tc-muted);font-size:13px;line-height:1.4}.jrc-footer{display:flex;justify-content:space-between;gap:10px;margin-top:12px}@media(max-width:900px){.jrc-journey-list{grid-template-columns:1fr}}@media(max-width:700px){.jrc-guide{grid-template-columns:1fr}}
.auth-body{min-height:100vh;background:var(--tc-bg)}.auth-shell{display:grid;min-height:100vh;place-items:center;padding:24px}.auth-card{width:min(100%,430px);padding:30px}.auth-card h1{margin:8px 0 5px;text-align:center;font-size:32px}.auth-mark{width:42px;height:34px;margin:auto;border:1.5px solid var(--tc-text);border-radius:5px;text-indent:-9999px}.auth-lede,.auth-provider-note,.auth-privacy{text-align:center;color:var(--tc-muted);font-size:13px}.auth-social{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:20px}.auth-social button:disabled{opacity:.58;cursor:not-allowed}.auth-provider-note{margin:8px 0 0;font-size:11px}.auth-divider{display:flex;align-items:center;gap:10px;margin:18px 0;color:var(--tc-muted);font-size:12px}.auth-divider:before,.auth-divider:after{content:"";height:1px;flex:1;background:var(--tc-border)}.auth-name-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.auth-submit{width:100%;margin-top:8px}.auth-switch{display:block;margin:15px auto 0;padding:0;color:var(--tc-muted);background:transparent;border:0;text-decoration:underline;font:inherit;cursor:pointer}.auth-privacy{margin:22px 0 0}@media(max-width:520px){.auth-social,.auth-name-grid{grid-template-columns:1fr}.auth-card{padding:22px}}
.travel-group-shell{max-width:820px}.tg-panel{padding:18px;margin-bottom:14px}.tg-panel h2{margin:0 0 10px;font-size:18px}.tg-component-list{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin:12px 0}.tg-component-list label{padding:11px;background:var(--tc-bg-soft);border-radius:var(--tc-radius-xs)}.tg-personal-note{padding:13px;margin:14px 0;background:var(--tc-sage);border-radius:var(--tc-radius-sm)}.tg-personal-note p{margin:5px 0 0;color:var(--tc-muted);font-size:13px}.tg-shared-chips{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}.tg-shared-chips span{padding:6px 10px;background:var(--tc-sage);border-radius:999px;font-size:12px}.tg-member-list{padding:0;margin:0;list-style:none}.tg-member-list li{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--tc-border)}.tg-member-list div{display:flex;flex-direction:column}.tg-member-list small{color:var(--tc-muted)}.tg-invite-result{padding:13px;margin-top:14px;background:var(--tc-apricot);border-radius:var(--tc-radius-sm)}.tg-invite-result p{font-size:13px}.tg-invite-result input{width:100%;box-sizing:border-box;padding:9px;margin-bottom:8px;border:1px solid var(--tc-border);border-radius:8px}.tg-invite-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}@media(max-width:600px){.tg-component-list{grid-template-columns:1fr}}
.tg-member-list .tg-member-card{display:block;margin:0 0 10px;padding:14px;border:1px solid var(--tc-border);border-radius:var(--tc-radius-sm);background:var(--tc-card)}
.jrc-link-btn{font-family:inherit;font-size:13px}
.jn-category-title-input{font-family:inherit;font-size:14px}.jn-icon-btn{font-family:inherit;font-size:18px;line-height:1}.jn-menu button{font-family:inherit;font-size:13px}
.tg-member-heading{display:flex!important;flex-direction:row!important;align-items:flex-start;justify-content:space-between;gap:12px}.tg-member-heading>div{display:flex;flex-direction:column}.tg-role-chip{flex:0 0 auto;padding:5px 9px;color:var(--tc-muted);background:var(--tc-bg-soft);border-radius:999px;font-size:12px}
.tg-member-editor{display:block!important;margin-top:14px;padding-top:12px;border-top:1px solid var(--tc-border)}.tg-member-editor .profile-field{max-width:260px}.tg-permission-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.tg-permission-grid label{display:flex;flex-direction:column;gap:6px;padding:10px;background:var(--tc-bg-soft);border-radius:var(--tc-radius-xs);font-size:13px}.tg-permission-grid select{min-height:38px;padding:7px 9px;border:1px solid var(--tc-border);border-radius:8px;background:#fff;font:inherit}.tg-member-actions{display:flex!important;flex-direction:row!important;justify-content:space-between;gap:8px;margin-top:14px}.tg-pending-card .tg-cancel-invite{margin-top:10px}.tg-panel>form>.tc-btn{margin-top:4px}@media(max-width:600px){.tg-permission-grid{grid-template-columns:1fr}.tg-member-actions{align-items:stretch;flex-direction:column!important}.tg-member-actions .tc-btn{width:100%}}
