:root{font-family:system-ui,sans-serif;color:#0B2236;background:#F4F8F8;font-size:16px}*{box-sizing:border-box}body{margin:0}header,main,nav{max-width:1100px;margin:auto;padding:24px}header{display:flex;align-items:center;justify-content:space-between;gap:24px}h1{font-size:1.5rem}h2{font-size:1.3rem}h3{font-size:1.05rem}.notice,.card{background:#fff;border:1px solid #E2EAEC;border-radius:20px;padding:24px;margin:0 0 20px}.notice{background:#E3F4EE}.row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px}label{display:flex;flex-direction:column;gap:6px;margin:12px 0;flex:1;min-width:180px}input,select,textarea,button{font:inherit;border:1px solid #657584;border-radius:10px;padding:10px}input,select,textarea{background:#fff;color:#0B2236;width:100%}textarea{min-height:90px}button{cursor:pointer;background:#137F82;color:#fff;margin:4px 4px 4px 0}button.secondary{background:#fff;color:#0B2236;border-color:#E2EAEC}button.danger{background:#A82B28}button:disabled{opacity:.6;cursor:default}:focus-visible{outline:3px solid #137F82;outline-offset:3px}nav{display:flex;gap:12px;border-top:1px solid #E2EAEC}nav button{flex:1}nav [aria-current=page]{background:#0B2236}blockquote{margin:12px 0;padding:16px;background:#F4F8F8;white-space:pre-wrap;overflow-wrap:anywhere}.muted{color:#657584}#status{min-height:1.5em}#error{color:#A82B28}article{overflow-wrap:anywhere}details{margin:14px 0}summary{cursor:pointer;padding:8px}form{margin:16px 0}p{line-height:1.5}pre{white-space:pre-wrap}

/* Travel Radar coastal theme: the application's existing controls and data remain unchanged. */
:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#102e47;background:#f8f3e9}
#app{min-height:100vh;padding-left:204px}
header{max-width:none;margin:0;padding:20px 36px;background:#fcf8f0;border-bottom:1px solid #e9dfcf}
header h1{font-family:Georgia,serif;font-size:1.55rem;margin:0;color:#0a2b43}
header label{flex:0 1 180px;margin:0;font-size:.8rem}
main{max-width:1240px;margin:auto;padding:28px 36px 48px}
nav{position:fixed;z-index:10;top:0;bottom:0;left:0;width:204px;max-width:none;margin:0;padding:100px 12px 24px;display:flex;flex-direction:column;gap:7px;background:#092b42;border:0}
nav button{flex:none;width:100%;margin:0;text-align:left;padding:14px 16px;border:0;background:transparent;color:#fff}
nav [aria-current=page]{background:#125270}
.card,.notice{border-color:#eee4d6;border-radius:16px;background:#fffdf9;box-shadow:0 8px 28px rgba(41,50,51,.045)}
.notice{background:#f2ede2}
button{background:#064970;border-color:#064970}button.secondary{color:#0b344c;background:#fffdf9;border-color:#c9d4d2}button.danger{background:#9b332d;border-color:#9b332d}
blockquote{background:#f7f3eb}input,select,textarea{border-color:#a4b5b4}
.trip-hero{position:relative;min-height:285px;padding:32px;overflow:hidden;background:linear-gradient(90deg,rgba(255,250,240,.95),rgba(255,250,240,.65) 35%,rgba(255,250,240,0) 68%),url('../../icons/santorini-hero.png') center 48% / cover no-repeat}
.trip-hero-content{position:relative;max-width:48%}.trip-hero h2{font:700 clamp(2rem,4vw,3.25rem)/1.08 Georgia,serif;margin:0 0 12px}.trip-hero p{color:#102e47;font-weight:600}
@media(max-width:760px){#app{padding-left:0}header{padding:14px 16px}header h1{font-size:1.25rem}header label{flex-basis:130px}main{padding:20px 16px 110px}nav{top:auto;right:0;bottom:0;width:auto;height:auto;flex-direction:row;padding:8px;gap:4px;box-shadow:0 -4px 20px rgba(8,35,54,.14)}nav button{flex:1;text-align:center;padding:11px 4px;font-size:.85rem}.trip-hero{min-height:360px;padding:24px;background:linear-gradient(180deg,rgba(255,250,240,.92),rgba(255,250,240,.45) 36%,rgba(255,250,240,0) 65%),url('../../icons/santorini-hero.png') 46% center / cover no-repeat}.trip-hero-content{max-width:100%}.grid{grid-template-columns:minmax(0,1fr)}.card,.notice{padding:20px}.trip-hero{padding:24px}}

/* Airy coastal layout: keep the selected picture and give the trip visual priority. */
:root{background:#edf7fa;color:#0b2e47}
header{background:#fff;border-bottom-color:#d9ebef}
main{max-width:1400px}
main[data-active-tab="home"]{display:flex;flex-direction:column}
main[data-active-tab="home"]>.trip-hero{order:-5}
main[data-active-tab="home"]>#section-title{order:-4;margin:4px 0 12px}
main[data-active-tab="home"]>#error:not(:empty){order:-7}
main[data-active-tab="home"]>#status:not(:empty){order:-6}
main[data-active-tab="home"]>.notice{order:3}
main[data-active-tab="home"]>#pwa-panel{order:4}
main[data-active-tab="home"]>[data-backup]{order:2}
main[data-active-tab="home"]>#error:empty,main[data-active-tab="home"]>#status:empty{display:none}
.card{background:#fff;border-color:#daebee;box-shadow:0 8px 24px rgba(9,74,96,.06)}
.notice{background:#e2f2f7;border-color:#cfe8ef}
.trip-hero{height:clamp(320px,42vh,520px);min-height:320px;margin-bottom:24px;background:linear-gradient(90deg,rgba(255,255,255,.76),rgba(255,255,255,.36) 28%,transparent 53%),url('../../icons/santorini-hero.png') center 54%/cover no-repeat}
.trip-hero-content{max-width:40%;padding:8px}.trip-hero h2{font-size:clamp(1.9rem,3vw,3rem)}
[data-overview]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:20px}
[data-overview]>h2{grid-column:1/-1;margin:8px 0 2px}
[data-overview]>.card,[data-overview]>[data-overview-hotel]{min-width:0;margin:0;padding:22px;background:#fff;border:1px solid #daebee;border-radius:16px;box-shadow:0 8px 24px rgba(9,74,96,.06)}
[data-overview] h3,[data-overview] h4{margin:0 0 12px;font-size:1.05rem}
[data-overview] p{margin:8px 0;line-height:1.4}
button.secondary{border-color:#bbd9df;color:#0b4564}nav [aria-current=page]{background:#12617b}
@media(max-width:1000px){[data-overview]{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){main{padding-top:16px}.trip-hero{height:clamp(360px,52vh,500px);min-height:360px;background:linear-gradient(180deg,rgba(255,255,255,.78),rgba(255,255,255,.30) 25%,transparent 46%),url('../../icons/santorini-hero.png') 47% center/cover no-repeat}.trip-hero-content{max-width:100%;padding:0}.trip-hero h2{font-size:2rem}[data-overview]{grid-template-columns:1fr}}
main[data-active-tab="home"]>#section-title{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
main[data-active-tab="home"]>#section-title:focus-visible{position:static;width:auto;height:auto;clip-path:none;white-space:normal}
main[data-active-tab="home"]>[data-overview]{position:relative;z-index:1;margin:-54px 18px 24px;padding:18px;background:rgba(255,255,255,.98);border:1px solid #dbecef;border-radius:18px;box-shadow:0 12px 30px rgba(9,74,96,.09)}
@media(max-width:760px){main[data-active-tab="home"]>[data-overview]{margin:-42px 8px 20px;padding:14px}}

/* Full-width travel image and navigation at the top. */
#app{padding-left:0;display:flex;flex-direction:column}
header{order:0;width:100%;padding:16px clamp(16px,3vw,40px)}
nav{order:1;position:static;inset:auto;width:100%;height:auto;max-width:none;display:flex;flex-direction:row;gap:8px;padding:8px clamp(16px,3vw,40px);background:#092b42;box-shadow:none;overflow-x:auto}
nav button{flex:0 0 auto;width:auto;min-height:44px;padding:10px 18px;white-space:nowrap}
main{order:2;width:100%}
main[data-active-tab="home"]{max-width:none;padding:0 0 48px}
main[data-active-tab="home"]>.trip-hero{width:100%;height:clamp(340px,48vh,620px);min-height:340px;margin:0;padding:clamp(24px,4vw,64px);border:0;border-radius:0;background-position:center 54%}
main[data-active-tab="home"]>[data-overview]{width:min(calc(100% - 64px),1300px);margin:-48px auto 24px}
main[data-active-tab="home"]>.notice,main[data-active-tab="home"]>#pwa-panel,main[data-active-tab="home"]>[data-backup],main[data-active-tab="home"]>#status,main[data-active-tab="home"]>#error{width:min(calc(100% - 64px),1300px);margin-left:auto;margin-right:auto}
@media(max-width:760px){header{padding:12px 16px}nav{position:static;top:auto;right:auto;bottom:auto;left:auto;width:100%;padding:6px 12px}nav button{flex:0 0 auto;padding:10px 14px;font-size:.9rem}main{padding:20px 16px 48px}main[data-active-tab="home"]{padding:0 0 40px}main[data-active-tab="home"]>.trip-hero{height:clamp(360px,50vh,520px);min-height:360px;padding:24px;background-position:47% center}main[data-active-tab="home"]>[data-overview]{width:calc(100% - 24px);margin:-32px auto 20px}main[data-active-tab="home"]>.notice,main[data-active-tab="home"]>#pwa-panel,main[data-active-tab="home"]>[data-backup],main[data-active-tab="home"]>#status,main[data-active-tab="home"]>#error{width:calc(100% - 32px)}}
/* Owner refinements: slim header, immersive hero, compact tools and full language list. */
header{padding-block:7px;min-height:54px}
header h1{font-size:1.35rem}
.language-picker{position:relative;margin:0;flex:0 0 auto}
.language-picker summary{cursor:pointer;list-style:none;padding:9px 14px;border:1px solid #bedce2;border-radius:10px;background:white;color:#103d56}
.language-picker summary::-webkit-details-marker{display:none}
.language-list{position:absolute;z-index:20;top:100%;right:0;width:180px;min-width:0;margin:4px 0 0;padding:10px;background:white;border:1px solid #bedce2;border-radius:12px;box-shadow:0 12px 30px #0b2e4724;font-size:.8rem}
.language-list select{height:auto;width:100%;padding:4px;border:0;overflow:visible}
.language-list option{padding:4px 6px}
main[data-active-tab="home"]>.trip-hero{height:clamp(480px,76vh,1000px);min-height:480px;background-image:linear-gradient(90deg,rgba(255,255,255,.38),transparent 40%),url('../../icons/santorini-hero.png')}
main[data-active-tab="home"]>[data-backup]{max-width:400px;margin:0 auto 24px;align-self:center}
.backup-card summary{font-weight:700;cursor:pointer;color:#0b4564}
.backup-card[open]{max-width:1300px!important}
@media(max-width:760px){header{padding-block:6px}.language-list{max-width:calc(100vw - 32px)}main[data-active-tab="home"]>.trip-hero{height:clamp(420px,68vh,700px);min-height:420px;background-image:linear-gradient(180deg,rgba(255,255,255,.35),transparent 35%),url('../../icons/santorini-hero.png')}main[data-active-tab="home"]>[data-backup]{max-width:calc(100% - 32px)}}
.trip-hero:not(:has(.trip-hero-content)){background-image:url('../../icons/santorini-hero.png')!important}
/* Owner: compact header, ocean-coloured background, backup within the grid. */
header{padding-block:2px;min-height:42px}
header h1{font-size:1.22rem}
.language-picker summary{padding:5px 12px}
main[data-active-tab="home"]{background:#287ea6}
main[data-active-tab="home"]>.trip-hero{height:clamp(340px,48vh,620px);min-height:340px}
main[data-active-tab="home"]>[data-overview]{background:transparent;border:0;box-shadow:none;margin-top:-50px}
main[data-active-tab="home"]>[data-overview]>h2{color:#fff;text-shadow:0 1px 4px #08344d}
[data-overview]>.backup-card{width:auto;max-width:none;margin:0;align-self:stretch}
[data-overview]>.backup-card[open]{grid-column:1/-1;max-width:none!important}
@media(max-width:760px){header{padding-block:2px}main[data-active-tab="home"]>.trip-hero{height:clamp(360px,50vh,520px);min-height:360px}main[data-active-tab="home"]>[data-overview]{margin-top:-32px}[data-overview]>.backup-card[open]{grid-column:auto}}
/* Keep the pool visible; softly echo its turquoise below the image. */
main[data-active-tab="home"]{background:#d5f2ef}
main[data-active-tab="home"]>.trip-hero{height:clamp(430px,65vh,850px);min-height:430px;background-position:center bottom}
main[data-active-tab="home"]>[data-overview]{margin-top:0}
main[data-active-tab="home"]>[data-overview]>h2{color:#103d56;text-shadow:none}
@media(max-width:760px){main[data-active-tab="home"]>.trip-hero{height:clamp(420px,62vh,700px);min-height:420px;background-position:55% bottom}main[data-active-tab="home"]>[data-overview]{margin-top:0}}
/* Bring the first overview cards slightly over the image while retaining the pool. */
main[data-active-tab="home"]>[data-overview]{margin-top:-30px}
@media(max-width:760px){main[data-active-tab="home"]>[data-overview]{margin-top:-20px}}
/* A consistent travel identity for the other existing sections. */
main:not([data-active-tab="home"]){max-width:1400px;padding-top:20px}
main:not([data-active-tab="home"])>#section-title{display:flex;align-items:flex-start;min-height:190px;margin:0 0 20px;padding:30px;border-radius:16px;color:#0b2e47;font:700 clamp(1.8rem,3vw,2.6rem)/1.1 Georgia,serif;background:linear-gradient(90deg,rgba(255,255,255,.88),rgba(255,255,255,.45) 34%,transparent 68%),url('../../icons/santorini-hero.png') center 62%/cover no-repeat}
main:not([data-active-tab="home"])>.card{padding:26px;border-color:#cfe7eb;box-shadow:0 8px 24px rgba(9,74,96,.07)}
main:not([data-active-tab="home"])>.card>h2{margin-top:0;font-family:Georgia,serif;color:#103d56}
main[data-active-tab="memory"] [data-album]{margin-top:18px;background:#f7fcfc}
main[data-active-tab="ai"] form[data-form="question"]{max-width:760px}
main[data-active-tab="ai"] .row button{border-radius:12px;background:#ecf8f8;border-color:#c7e5e8}
@media(max-width:760px){main:not([data-active-tab="home"])>#section-title{min-height:160px;padding:22px;background-position:50% 64%}main:not([data-active-tab="home"])>.card{padding:20px}}

/* Cohesive layouts for existing trips, documents, benefits, finance and memories. */
main:not([data-active-tab="home"]){background:#dff4f2;max-width:none;padding:24px max(24px,calc((100vw - 1360px)/2)) 56px}
main:not([data-active-tab="home"])>#section-title{min-height:230px;padding:32px 36px;border-radius:20px;background-position:center 58%;box-shadow:0 8px 25px rgba(9,74,96,.08)}
main:not([data-active-tab="home"])>.card,main:not([data-active-tab="home"])>[data-document-gate]{background:#fff;border:1px solid #d4e9e9;border-radius:20px;padding:28px;margin:0 0 18px;box-shadow:0 8px 24px rgba(9,74,96,.055)}
main:not([data-active-tab="home"]) h2,main:not([data-active-tab="home"]) h3{color:#103d56}
main:not([data-active-tab="home"]) .card>h2,main:not([data-active-tab="home"]) [data-document-gate]>h3{margin-top:0}
.trip-list-item,[data-journey-event],[data-checklist-item],[data-hotel-benefit],[data-hotel-deadline],[data-album-id],[data-finance-kind]{background:#f7fcfc;border:1px solid #d8eded;border-radius:14px;padding:18px;margin:12px 0;overflow-wrap:anywhere}
.trip-list-item h3,[data-journey-event] h4,[data-checklist-item] h4,[data-hotel-benefit] h4,[data-album-id] h4,[data-finance-kind] h3{margin:0 0 8px}
.trip-list-item p,[data-journey-event] p,[data-checklist-item] p,[data-hotel-benefit] p,[data-album-id] p,[data-finance-kind] p{margin:7px 0}
main:not([data-active-tab="home"]) form{border:1px solid #d8eded;background:#f8fcfc;border-radius:14px;padding:18px;margin:18px 0}
main:not([data-active-tab="home"]) form h3{margin-top:0}
main:not([data-active-tab="home"]) label{font-weight:600;font-size:.93rem;color:#315a6e}
main:not([data-active-tab="home"]) input,main:not([data-active-tab="home"]) select,main:not([data-active-tab="home"]) textarea{border-color:#b7d8dd;border-radius:10px}
main input[type="checkbox"],main input[type="radio"]{width:auto;min-width:18px;min-height:18px;margin:0 8px 0 0;accent-color:#12617b}
main:not([data-active-tab="home"]) details>summary{color:#0b4a66;font-weight:600}
main:not([data-active-tab="home"]) blockquote{border-left:3px solid #77c3c8;background:#edf8f8;border-radius:0 10px 10px 0}
.professor-panel .row button{color:#0b4564}
.memories-panel>[data-album]{background:#fff;border:0;box-shadow:none;padding:0}
@media(max-width:760px){main:not([data-active-tab="home"]){padding:16px 14px 48px}main:not([data-active-tab="home"])>#section-title{min-height:190px;padding:24px}main:not([data-active-tab="home"])>.card,main:not([data-active-tab="home"])>[data-document-gate]{padding:20px}main:not([data-active-tab="home"]) form{padding:14px}.trip-list-item,[data-journey-event],[data-checklist-item],[data-hotel-benefit],[data-hotel-deadline],[data-album-id],[data-finance-kind]{padding:14px}}
/* Each section has its own offline travel photograph. */
main:not([data-active-tab="home"])>#section-title{min-height:clamp(250px,40vh,430px)}
main[data-active-tab="trips"]>#section-title{background-image:linear-gradient(90deg,rgba(255,255,255,.88),rgba(255,255,255,.38) 35%,transparent 68%),url('../../icons/trips-hero.png')}
main[data-active-tab="ai"]>#section-title{background-image:linear-gradient(90deg,rgba(255,255,255,.88),rgba(255,255,255,.38) 35%,transparent 68%),url('../../icons/assistant-hero.png')}
main[data-active-tab="memory"]>#section-title{background-image:linear-gradient(90deg,rgba(255,255,255,.88),rgba(255,255,255,.38) 35%,transparent 68%),url('../../icons/asia-hero.png')}
@media(max-width:760px){main:not([data-active-tab="home"])>#section-title{min-height:clamp(240px,36vh,360px)}}
/* Large full-width destination images on every page. */
main[data-active-tab="home"]>[data-overview]{margin-top:-90px}
main[data-active-tab="home"]>[data-overview]>h2{justify-self:start;background:rgba(255,255,255,.96);border-radius:10px;padding:7px 12px}
main:not([data-active-tab="home"]){display:flex;flex-direction:column;--page-inset:max(24px,calc((100vw - 1360px)/2));padding-left:var(--page-inset);padding-right:var(--page-inset)}
main:not([data-active-tab="home"])>#section-title{order:-5;width:calc(100% + 2 * var(--page-inset));min-height:clamp(430px,65vh,850px);margin:-24px calc(-1 * var(--page-inset)) 24px;border-radius:0;box-shadow:none;padding:clamp(24px,4vw,64px)}
main:not([data-active-tab="home"])>#error:not(:empty){order:-7}
main:not([data-active-tab="home"])>#status:not(:empty){order:-6}
main:not([data-active-tab="home"])>.notice{order:3}
main:not([data-active-tab="home"])>#pwa-panel{order:4}
@media(max-width:760px){main[data-active-tab="home"]>[data-overview]{margin-top:-65px}main:not([data-active-tab="home"]){--page-inset:14px}main:not([data-active-tab="home"])>#section-title{min-height:clamp(420px,62vh,700px);margin-top:-16px;padding:24px}}
main:not([data-active-tab="home"])>#status:empty,main:not([data-active-tab="home"])>#error:empty{display:none}

/* Owner: remove the milky wash from Trips and Memories photographs. */
main[data-active-tab="trips"]>#section-title,main[data-active-tab="memory"]>#section-title{color:#fff;text-shadow:0 2px 8px rgba(0,0,0,.85);background-color:#12384a}
main[data-active-tab="trips"]>#section-title{background-image:url('../../icons/trips-hero.png')}
main[data-active-tab="memory"]>#section-title{background-image:url('../../icons/asia-hero.png')}

/* Four owner-approved feature cards; document tools stay inside their parent feature. */
main[data-active-tab="home"]>.trip-hero{height:280px;min-height:280px;padding:28px max(24px,calc((100vw - 1300px)/2));background-position:center 64%}
main[data-active-tab="trips"]>#section-title{height:280px;min-height:280px;padding:28px max(24px,calc((100vw - 1300px)/2));background-position:center 48%}
main[data-active-tab="home"]>.public-overview{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;width:min(calc(100% - 48px),1300px);margin:22px auto 20px;padding:0;background:transparent;border:0;box-shadow:none}
.public-overview>.feature-card{display:flex;flex-direction:column;align-items:flex-start;padding:22px;min-width:0;border-radius:18px;overflow-wrap:anywhere}
.public-overview>h2{margin:0 0 2px;padding:0!important;background:none!important;font-size:1rem;font-weight:500;color:#315a6e!important}
.public-overview .feature-card h3{font-size:1.2rem;margin:0 0 12px;line-height:1.25}
.feature-summary{flex:1;width:100%;font-size:.9rem;color:#315a6e}
.feature-open{min-height:44px;margin:16px 0 0;background:#0b4564!important;border-color:#0b4564!important;color:#fff!important}
.document-tools{width:100%;margin:14px 0 0;border-top:1px solid #d8e9e9;padding-top:8px;font-size:.85rem}
.document-tools>summary{min-height:44px;padding:10px 0;color:#315a6e;line-height:1.4}
.document-tools p{font-size:.85rem}
.document-tools .row{gap:6px;align-items:stretch}
.document-tools .row button{width:100%;min-height:44px;margin:3px 0;background:#fff;color:#0b4564;border-color:#bbd9df;text-align:left}
main[data-active-tab="home"]>.overview-utility{width:min(calc(100% - 48px),1300px);max-width:1300px;margin:0 auto 24px;border:0;box-shadow:none;padding:0}
.overview-utility>summary{min-height:44px;padding:10px 0;font-size:.9rem}
.overview-utility[open]{background:#fff;border:1px solid #d4e9e9;border-radius:16px;padding:20px!important}
@media(max-width:1100px){main[data-active-tab="home"]>.public-overview{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){main[data-active-tab="home"]>.trip-hero,main[data-active-tab="trips"]>#section-title{height:200px;min-height:200px;padding:24px}.trip-hero-content{max-width:100%}.trip-hero h2{font-size:1.75rem}main[data-active-tab="home"]>.public-overview{width:calc(100% - 28px);margin:16px auto;gap:12px}.public-overview>.feature-card{padding:18px}.public-overview .feature-card h3{font-size:1.1rem}main[data-active-tab="home"]>.overview-utility{width:calc(100% - 28px)}}
@media(max-width:520px){main[data-active-tab="home"]>.public-overview{grid-template-columns:minmax(0,1fr)}}
/* A keyboard landing marker must not move cards or utilities when focus leaves it. */
main[data-active-tab="home"]{position:relative}
main[data-active-tab="home"]>#section-title:focus-visible{position:absolute;top:12px;left:24px;z-index:3;width:auto;height:auto;padding:8px 12px;margin:0;clip-path:none;white-space:normal;background:#fff;color:#0b4564;border-radius:8px}

.benefit-entry>button{margin:4px 0;min-height:44px}
.benefit-entry>details>summary{cursor:pointer;min-height:44px;padding:10px 0}
.document-guide{margin:14px 0;padding:14px 18px;border:1px solid #bbd9df;border-radius:14px;background:#eef8f8}
.document-guide ol{margin:0;padding-left:22px;display:flex;flex-wrap:wrap;gap:12px 36px}
.document-guide li{padding-left:3px;max-width:100%;overflow-wrap:anywhere}
.document-guide p{margin:12px 0 0;font-size:.85rem;color:#315a6e}

.benefit-groups{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}
.benefit-groups button{font-size:.8rem;min-height:44px;padding:8px 10px;margin:0;border-radius:12px;max-width:100%;white-space:normal;text-align:left}

.feature-summary [data-overview-next-task]{overflow-wrap:anywhere}

[data-benefit-task-snapshot]{margin:12px 0;border:1px solid #d8e9e9;border-radius:12px;padding:0 12px;max-width:100%}
[data-benefit-task-snapshot]>summary{cursor:pointer;min-height:44px;padding:10px 0;color:#0b4564}
.saved-task-note{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}

.trip-workspace{position:sticky;top:0;z-index:4;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;background:#f7fcfc;border:1px solid #cce3e6;border-radius:14px;padding:10px 14px;margin:12px auto;max-width:1300px}
.trip-workspace nav{display:flex;flex-wrap:wrap;gap:6px;background:transparent;padding:0;margin:0}
.trip-workspace button{min-height:44px;margin:0;padding:10px 14px}
.trip-workspace nav button[aria-current="page"]{background:#0b4564;color:#fff;border-color:#0b4564}
.plan-document-actions{padding:10px 0 16px;border-bottom:1px solid #d8e9e9;margin-bottom:16px}
.plan-document-actions p{font-size:.9rem;color:#315a6e}
.plan-document-actions button{min-height:44px}
[data-trip-start] p{max-width:580px;font-size:1rem;line-height:1.5}
.feature-summary [data-overview-combined]{font-size:1.05rem;color:#0b4564}
.feature-summary select{max-width:100%}
@media(max-width:600px){.trip-workspace{padding:8px;gap:8px}.trip-workspace nav{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.trip-workspace nav button{white-space:normal;text-align:center}main[data-active-tab="home"]>.trip-hero:has([data-trip-start]){height:auto;min-height:260px}}
main[data-active-tab="trips"] [data-trip-area] :is(section,article,form){scroll-margin-top:110px}
@media(max-width:600px){main[data-active-tab="trips"] [data-trip-area] :is(section,article,form){scroll-margin-top:190px}}

/* Keep the active trip and the common actions easy to find. */
.trip-hero-content .trip-open{min-height:48px;padding:12px 20px;background:#0b4564;color:#fff;border:1px solid #0b4564;font-weight:650}
.trip-workspace{position:static}
.workspace-panel{border:1px solid #d8e9e9;border-radius:12px;margin:12px 0;background:#f7fcfc}
.workspace-panel>summary{min-height:48px;padding:13px 16px;color:#0b4564;cursor:pointer;font-weight:650}
.workspace-panel>div{padding:0 16px 14px;min-width:0}
.workspace-panel>div>.card{margin:8px 0}
main[data-active-tab="trips"] [data-trip-area] :is(section,article,form){scroll-margin-top:20px}

[data-compact-journey] .journey-event-kind{display:inline-block;color:#315a6e;font-size:.875rem;font-weight:650;margin-bottom:6px}
[data-compact-journey] [data-journey-event] h4{font-size:1.12rem;overflow-wrap:anywhere}
[data-compact-journey] .journey-event-time{font-weight:550;line-height:1.5;overflow-wrap:anywhere}

.plan-primary-actions{margin-bottom:20px}
.plan-primary-actions>.workspace-panel>summary{background:#edf7f7;border-radius:11px}
[data-workspace-panel="checklist-task"] form,[data-workspace-panel="addEvent"] form{margin:0}
[data-workspace-panel="addEvent"] .row>label{flex:1;min-width:0}
[data-event-clock][hidden]{display:none}
[data-plan-form-error]{font-weight:650;color:#103d56}
[data-plan-form-error]:empty{display:none}
@media(max-width:600px){[data-workspace-panel="addEvent"] .row{display:grid;grid-template-columns:minmax(0,1fr);gap:0}}

.benefit-evidence{margin-top:12px;border-top:1px solid #d8e9e9}
.benefit-evidence>summary,[data-document-finding-evidence]>summary{min-height:44px;padding:12px 0;color:#0b4564;cursor:pointer;font-weight:650}
[data-hotel-benefit]:has(>.benefit-evidence) [data-benefit-action]{font-weight:600}
.benefit-start{min-height:44px;padding:10px 16px;background:#0b4564;border-color:#0b4564;font-weight:650}
[data-compact-document-gate] [data-document-finding]{padding:16px;margin:12px 0;background:#fff;border:1px solid #d8e9e9;border-radius:12px;overflow-wrap:anywhere}
[data-compact-document-gate] [data-document-finding]>h4{margin:0;font-size:1.1rem}
[data-compact-document-gate] [data-benefit-action]{font-weight:650}

.hotel-booking-dates{margin:4px 0 12px;color:#315a6e}
.hotel-booking-details{margin:8px 0 18px}
.hotel-booking-details>summary{min-height:44px;padding:10px 0;color:#0b4564;cursor:pointer;font-weight:650}
[data-hotel-fixtures] form{margin:0}

[data-finance-workspace] form{margin:0}
[data-finance-workspace] label{min-width:0}
[data-finance-workspace]>[data-workspace-panel]>summary{background:#edf7f7;border-radius:11px}
.finance-totals{display:grid;gap:10px;padding:16px;border:1px solid #d8e9e9;border-radius:12px;background:#f7fcfc}
.finance-totals h3,.finance-totals p,.finance-totals label,.finance-totals details{margin:0}
.finance-totals>[data-money-combined]{font-size:1.25rem;color:#0b4564}
.finance-totals>label{max-width:280px}
.finance-amounts{display:flex;flex-wrap:wrap;gap:8px 16px;font-weight:650}
.finance-missing button{min-height:44px;white-space:normal}
.finance-currency-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.finance-expense-summary{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:6px 14px;font-weight:650}
.finance-expense-summary h3,.finance-expense-summary p{margin:0}

main[data-current-trip-workspace]>#section-title{min-height:0;height:auto;width:auto;margin:0 0 12px;padding:0;color:#103d56;background:none;text-shadow:none;font:700 1.3rem/1.25 system-ui,sans-serif}
.trip-workspace:has(.trip-picker){display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;width:100%;max-width:none;margin:0 0 12px}
.trip-workspace:has(.trip-picker)>nav{order:0;grid-column:1/-1;width:100%}
.trip-workspace:has(.trip-picker)>[data-action="workspace-home"]{justify-self:start}
.trip-workspace>[data-action="travel-import-open"]{grid-column:1/-1;order:1;justify-self:start}
.travel-import fieldset{min-width:0;margin:16px 0;padding:14px;border:1px solid #ccdee4;border-radius:12px;overflow-wrap:anywhere}
.travel-import legend{padding:0 5px;font-weight:700}
.travel-import details>summary,[data-imported-benefits] summary{cursor:pointer}
.travel-import details{margin:8px 0}
.travel-import textarea{width:100%;max-width:42rem}
.travel-import input[type="file"]{max-width:100%}
.travel-import [role="alert"]:not([hidden]){color:#85242a;font-weight:700}
.trip-picker{margin:0}
.trip-picker>summary{min-height:44px;padding:10px 14px;border:1px solid #bbd9df;border-radius:10px;background:#fff;line-height:22px}
.trip-picker[open]{grid-column:1/-1}
.trip-picker .trip-list{margin-top:10px}
.trip-picker label{min-width:0}
.trip-picker .trip-current-label{font-size:.875rem;color:#315a6e}
