.trip-brand-switch{display:flex;align-items:end;gap:.6rem;background:white;border:1px solid var(--line);padding:1rem 1.4rem;margin-bottom:1rem}.trip-brand-switch label{min-width:280px}.trip-brand-switch button{padding:.8rem 1rem}
button:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:600px){.trip-brand-switch{align-items:stretch;flex-direction:column}.trip-brand-switch label{min-width:0}}

.warning{background:#fff6df;color:#785718}.secure-link-panel{display:grid;gap:1.2rem}.secure-link-head{display:flex;justify-content:space-between;gap:2rem;align-items:start}.secure-link-head h2{font-family:Georgia,serif;font-size:2rem;margin:.35rem 0}.secure-link-head dl{display:flex;gap:2rem;border:0;margin:0}.secure-link-head dl div{padding:0}.secure-link-head dd{font-size:.78rem}.persistent-link{display:grid;grid-template-columns:minmax(280px,1fr) auto;gap:.75rem;align-items:end;padding:1rem;background:#f6f8f6;border:1px solid var(--line)}.persistent-actions{display:flex;gap:.5rem}.persistent-actions .button{display:inline-flex;align-items:center;font-size:.8rem}.persistent-actions .whatsapp{background:#198754}.secure-link-panel .link-actions{padding-top:1rem;border-top:1px solid var(--line);justify-content:flex-end}
.link-analytics-panel{display:grid;gap:.75rem;padding:1.1rem 1.4rem}.analytics-heading{display:flex;justify-content:space-between;align-items:end;gap:1rem}.analytics-heading h2{font:700 1.25rem Georgia,serif;margin:.3rem 0 0}.analytics-heading>small,.analytics-note{color:var(--muted);font-size:.72rem}.analytics-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.7rem;margin:0}.analytics-grid div{padding:.7rem .8rem;background:#f6f8f6;border:1px solid var(--line)}.analytics-grid dt{font-size:.65rem;text-transform:uppercase;letter-spacing:.07em;color:var(--muted);font-weight:800}.analytics-grid dd{margin:.25rem 0 0;font-weight:800}.analytics-empty{margin:0;color:var(--muted)}
.journey-focus h2{font-family:Georgia,serif;font-size:clamp(2rem,6vw,3.1rem);margin:.45rem 0}.journey-focus>h3,.today .section-heading h3{font-size:1.25rem;margin:.5rem 0}.focus-city{color:var(--muted);font-weight:700}.first-service{margin-top:1.5rem;padding-top:1.2rem;border-top:1px solid var(--line);display:grid;gap:.35rem}.first-service small{font-size:.64rem;letter-spacing:.12em;color:var(--brand);font-weight:800}.compact-empty{color:var(--muted);background:#f5f7f5;padding:1rem;margin-top:1rem;border-left:3px solid var(--accent)}.remaining-services{margin-top:1.5rem;padding-top:1rem;border-top:1px solid var(--line)}.remaining-services>div{display:grid;grid-template-columns:90px 1fr;gap:1rem;padding:.8rem 0;border-bottom:1px solid #ffffff30}.itinerary-v2{padding-bottom:2rem}.itinerary-list{border-top:1px solid var(--line)}.itinerary-day{padding:2rem 0;border-bottom:1px solid var(--line)}.itinerary-day>header>span{font-size:.68rem;letter-spacing:.14em;color:var(--brand);font-weight:850}.itinerary-day>header h3{font-family:Georgia,serif;font-size:1.75rem;margin:.4rem 0}.itinerary-day>header p{color:var(--muted);margin:.25rem 0}.day-copy{color:#526168;line-height:1.65;max-width:680px}.day-copy .meal{font-size:.82rem}.timeline-service{display:grid;grid-template-columns:105px 1fr;gap:1rem;padding:1.35rem 0;border-top:1px solid var(--line);margin-top:.5rem}.timeline-service .service-time{color:var(--brand)}.service-detail>small{font-size:.64rem;letter-spacing:.1em;color:var(--muted);font-weight:800}.service-detail h4{font-size:1.05rem;margin:.3rem 0}.service-detail h4 em{font:700 .6rem Inter,sans-serif;text-transform:uppercase;color:#a06829;background:#fff2d9;padding:.2rem .35rem;margin-left:.5rem}.service-detail p{color:var(--muted);line-height:1.55}.service-detail p strong{color:var(--ink);font-size:.76rem}.inline-contact{display:flex;justify-content:space-between;gap:1rem;align-items:center;background:#f5f7f5;padding:.8rem 1rem;margin-top:.8rem}.inline-contact>div:first-child{display:grid}.inline-contact span,.inline-contact small{color:var(--muted);font-size:.72rem}.inline-contact>div:last-child{display:flex;gap:.5rem}.inline-contact a,.public-contacts a{color:var(--brand);font-size:.72rem;font-weight:850}.compact-section{padding-block:2.5rem}.public-contacts{display:grid;grid-template-columns:repeat(2,1fr);gap:1px;background:var(--line)}.public-contacts>div{background:white;padding:1rem;display:grid;gap:.3rem}.public-contacts>div>span{font-size:.68rem;text-transform:uppercase;color:var(--muted)}.public-contacts>div>div{display:flex;gap:1rem}.conditional-nav{grid-template-columns:repeat(3,1fr)}
@media(max-width:850px){.persistent-link{grid-template-columns:1fr}.persistent-actions{flex-wrap:wrap}.secure-link-head{flex-direction:column}.secure-link-head dl{width:100%}}
@media(max-width:520px){.persistent-actions{display:grid;grid-template-columns:1fr 1fr}.persistent-actions .whatsapp{grid-column:1/-1;justify-content:center}.secure-link-head dl{flex-direction:column;gap:.6rem}.timeline-service{grid-template-columns:78px 1fr}.itinerary-day>header h3{font-size:1.45rem}.inline-contact{align-items:start;flex-direction:column}.public-contacts{grid-template-columns:1fr}.conditional-nav{grid-template-columns:repeat(2,1fr)}}

/* Premium universal white-label voucher */
.voucher-app{max-width:1200px;margin:auto;background:#fff;box-shadow:0 0 0 1px #e7ebea;min-height:100vh}.voucher-top{min-height:92px;padding:1.15rem clamp(1.25rem,5vw,4rem);display:flex;align-items:center;justify-content:space-between;gap:1.5rem;border-top:4px solid var(--brand);border-bottom:1px solid var(--line);background:#fff;position:relative;z-index:3}.voucher-top .brand-lockup{display:grid;gap:.25rem}.voucher-top .brand-lockup img{display:block;max-height:48px;max-width:190px;object-fit:contain;object-position:left center}.voucher-top .brand-lockup strong{font-size:1.15rem}.voucher-top .brand-lockup small{color:var(--muted);font-size:.7rem}.voucher-top-actions{display:flex;align-items:center;gap:1rem}.voucher-top .secure{font-size:.64rem;letter-spacing:.13em;font-weight:850;color:#526168}.voucher-top .secure i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#287a58;margin-right:.35rem}.pdf-button{display:inline-flex;align-items:center;gap:.7rem;background:var(--brand);color:#fff;padding:.72rem 1rem;border-radius:8px;font-size:.78rem;font-weight:850;box-shadow:inset 0 0 0 1px #00000012}.voucher-summary{padding:clamp(2rem,6vw,4.5rem) clamp(1.25rem,7vw,5rem) 0;background:#fbfcfa;border-bottom:1px solid var(--line)}.voucher-destination>span{color:var(--brand);font-size:.7rem;font-weight:900;letter-spacing:.18em}.voucher-destination h1{font:clamp(2.7rem,7vw,5.4rem)/.98 Georgia,serif;letter-spacing:-.045em;margin:.6rem 0 1rem;max-width:800px}.voucher-destination p{color:var(--muted);font-weight:650}.voucher-destination p i{display:inline-block;width:4px;height:4px;background:var(--accent);border-radius:50%;margin:0 .45rem;vertical-align:middle}.voucher-meta{display:grid;grid-template-columns:repeat(2,minmax(0,260px));gap:1rem;margin:2.5rem 0}.voucher-meta div{border-left:3px solid var(--accent);padding-left:1rem}.voucher-meta dt{color:var(--muted);font-size:.68rem;text-transform:uppercase;letter-spacing:.1em}.voucher-meta dd{margin:.3rem 0 0;font-weight:800}.state-strip{margin:0 calc(clamp(1.25rem,7vw,5rem)*-1);padding:1.2rem clamp(1.25rem,7vw,5rem);border-top:1px solid var(--line);display:flex;align-items:center;gap:1rem;background:#fff}.state-strip span{color:var(--brand);font-size:.66rem;font-weight:900;letter-spacing:.14em}.state-strip strong{font-size:.92rem}.state-strip .progress{margin-left:auto;width:160px;height:3px;background:#e4e8e6}.state-strip .progress i{display:block;height:100%;background:var(--brand)}.voucher-app main>.section,.voucher-app main>.quick-grid{padding-left:clamp(1.25rem,7vw,5rem);padding-right:clamp(1.25rem,7vw,5rem)}.voucher-app .journey-focus{background:#f3f6f4}.voucher-app .today{background:#f2f6f4;color:var(--ink)}.voucher-app .next-card{background:#fff;border:1px solid var(--line);border-top:4px solid var(--brand);color:var(--ink);box-shadow:0 10px 30px #1b30300b}.voucher-app .next-label,.voucher-app .next-time{color:var(--brand)}.voucher-app .contact-actions a,.voucher-app .card-actions a{display:inline-flex;justify-content:center;align-items:center;min-height:42px;border:1px solid var(--brand);color:var(--brand);padding:.55rem .8rem;border-radius:7px;font-size:.72rem;font-weight:850}.voucher-app .quick-grid{background:#fff}.voucher-app .quick-grid a{min-height:120px}.voucher-app .itinerary-day{display:grid;grid-template-columns:minmax(190px,30%) 1fr;column-gap:3rem}.voucher-app .itinerary-day>header{grid-row:1/3}.voucher-app .timeline-service{grid-column:2}.voucher-app .timeline-service>time{font-weight:850;color:var(--brand);font-size:.82rem}.voucher-app .info-card,.voucher-app .flight-card{border:1px solid var(--line);box-shadow:none;border-radius:10px}.card-actions{display:flex;gap:.6rem;margin-top:1rem}.flight-card{display:block!important}.flight-card>header{display:flex;gap:.75rem;align-items:center;padding-bottom:1rem;border-bottom:1px solid var(--line)}.flight-card>header b{margin-left:auto;font-size:.7rem}.flight-route{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:1rem;padding:1.2rem 0}.flight-route>div{display:grid;gap:.25rem}.flight-route>div:last-child{text-align:right}.flight-route strong{font-size:1.35rem}.flight-route time{font-weight:850}.flight-route span,.flight-route small{color:var(--muted);font-size:.7rem}.emergency-card{margin-top:1.25rem;border:1px solid var(--line);border-left:4px solid var(--accent);padding:1.15rem;background:#fff}.emergency-card>span{font-size:.64rem;letter-spacing:.12em;font-weight:900;color:var(--brand)}.voucher-app footer{background:#f5f6f3;color:var(--ink);border-top:1px solid var(--line)}
@media(max-width:700px){.voucher-app{box-shadow:none}.voucher-top{min-height:72px;padding:.8rem 1rem;gap:.75rem;position:sticky;top:0}.voucher-top .brand-lockup img{max-height:34px;max-width:125px}.voucher-top .brand-lockup small{display:none}.voucher-top-actions{gap:.45rem}.voucher-top .secure{font-size:.52rem;letter-spacing:.08em}.pdf-button{padding:.6rem .7rem;font-size:.68rem}.pdf-button b{font-size:.9rem}.voucher-summary{padding-top:2.5rem}.voucher-destination h1{font-size:clamp(2.35rem,13vw,3.5rem)}.voucher-meta{margin:2rem 0;gap:.6rem}.state-strip{display:grid;gap:.35rem}.state-strip .progress{margin:0;width:100%}.voucher-app .itinerary-day{display:block}.voucher-app .timeline-service{grid-template-columns:72px 1fr}.voucher-app .quick-grid a{min-height:94px}.flight-route{gap:.55rem}.flight-route strong{font-size:1.05rem}.bottom-nav{grid-auto-flow:column;grid-auto-columns:1fr}.bottom-nav a{min-width:0}.voucher-app main{padding-bottom:68px}}
@media(max-width:430px){.voucher-top .secure{width:52px;line-height:1.2}.pdf-button{font-size:0;width:40px;height:40px;padding:0;justify-content:center}.pdf-button b{font-size:1rem}.voucher-meta{grid-template-columns:1fr}.voucher-app .timeline-service{grid-template-columns:1fr;gap:.35rem}.voucher-app .inline-contact{margin-left:0}.voucher-app .conditional-nav{grid-template-columns:repeat(2,1fr)}}
.voucher-app .pdf-button{color:var(--brand-text,#fff)}
.voucher-app .assistance{background:#f8f9f7;color:var(--ink)}.voucher-app .assistance .eyebrow{color:var(--brand)}.voucher-app .assistance p{color:var(--muted)}
.voucher-app .bottom-nav{display:none}@media(max-width:700px){.voucher-app .bottom-nav{display:grid}}
.doc-row{display:grid;grid-template-columns:45px 1fr auto;align-items:center;gap:1rem;padding:1rem 0;border-bottom:1px solid var(--line)}.doc-row>span{background:#e9efef;padding:.55rem .35rem;text-align:center;font-size:.65rem;font-weight:900}.doc-row>div:nth-child(2){display:grid}.doc-row small{color:var(--muted);text-transform:capitalize}.doc-actions{display:flex;gap:.8rem}.doc-actions a{color:var(--brand);font-size:.72rem;font-weight:850}@media(max-width:430px){.doc-row{grid-template-columns:38px 1fr}.doc-actions{grid-column:2}}
.voucher-app main,.voucher-app footer{width:min(1120px,100%)}.voucher-app main>.section{padding-top:2.35rem;padding-bottom:2.35rem}.voucher-app .journey-focus h2{font-size:clamp(1.75rem,4.2vw,2.65rem);margin-bottom:.65rem}.voucher-app .journey-focus>h3{margin:.35rem 0}.voucher-app .upcoming-focus>p{margin:.55rem 0;max-width:720px}.voucher-app .itinerary-day{padding:1.55rem 0}.voucher-app .itinerary-day>header h3{font-size:1.5rem}.voucher-app .quick-grid a{min-height:88px}
@media(max-width:700px){.voucher-app main>.section{padding-top:1.8rem;padding-bottom:1.8rem}.voucher-app .journey-focus h2{font-size:1.7rem}.voucher-app .itinerary-day{padding:1.25rem 0}.voucher-app .quick-grid a{min-height:78px}}

/* Trip operations workspace */
.trip-workspace{max-width:1500px}.compact-link{padding:1.15rem 1.4rem}.compact-link .persistent-link{padding:.75rem}.editor-tabs{position:sticky;top:0;z-index:10;display:flex;gap:.25rem;overflow:auto;margin:1rem 0;background:#fff;border:1px solid var(--line);padding:.4rem}.editor-tabs a{flex:1 0 auto;padding:.75rem 1rem;text-align:center;text-decoration:none;font-weight:800;border-radius:6px}.editor-tabs a:hover{background:#edf3f4;color:var(--nav)}.workspace-section{scroll-margin-top:80px;background:#fff;border:1px solid var(--line);padding:1.4rem;margin:1rem 0}.completion-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:.75rem}.completion-grid a{display:grid;gap:.25rem;padding:1rem;border:1px solid var(--line);text-decoration:none}.completion-grid strong{font:700 1.7rem Georgia,serif}.completion-grid span{color:var(--muted);font-size:.78rem}.admin-day-stack{display:grid;gap:.85rem}.ops-day{border:1px solid var(--line);background:#fff}.ops-day>summary{list-style:none;cursor:pointer;display:grid;grid-template-columns:100px 1fr auto;gap:1rem;align-items:center;padding:1.15rem}.ops-day>summary::-webkit-details-marker,.ops-record>summary::-webkit-details-marker{display:none}.ops-day>summary .day-index{font-size:.7rem;letter-spacing:.1em;color:var(--nav);font-weight:900}.ops-day>summary div{display:grid;gap:.25rem}.ops-day>summary small{color:var(--muted)}.ops-day>summary>b{font-size:.72rem;background:#edf3f4;padding:.4rem .6rem}.ops-day-body{border-top:1px solid var(--line);padding:1rem}.day-toolbar,.record-actions{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}.day-toolbar form,.record-actions form,.contact-admin-card form{margin:0}.danger{background:#fff;color:#a93333;border:1px solid #d8a9a9}.record-editor,.ops-record{margin-top:.8rem;border:1px solid var(--line)}.record-editor>summary{padding:.8rem 1rem;cursor:pointer;font-weight:800;background:#f7f8f7}.record-editor>.form-grid,.ops-record>.form-grid{padding:1rem}.day-subsection{margin-top:1.25rem}.day-subsection>h3{font-size:.75rem;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}.ops-record>summary{list-style:none;cursor:pointer;padding:1rem;display:grid;grid-template-columns:110px 1fr;gap:1rem}.ops-record>summary time{color:var(--nav);font-weight:900}.ops-record>summary div{display:grid;gap:.2rem}.ops-record>summary small{font-size:.62rem;letter-spacing:.06em;color:var(--muted)}.ops-record .record-actions{padding:0 1rem 1rem}.contact-admin-card{display:flex;justify-content:space-between;gap:1rem;padding:1rem;border:1px solid var(--line);margin:.6rem 0}.contact-admin-card>div:first-child{display:grid;gap:.2rem}.contact-admin-card small,.contact-admin-card span{color:var(--muted);font-size:.75rem}.contact-admin-card>div:last-child{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.contact-admin-card a{font-size:.72rem;font-weight:850;color:var(--nav)}.manage-grid,.contact-master{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem}.manage-card,.contact-master article{display:grid;gap:.45rem;border:1px solid var(--line);padding:1rem;min-width:0}.manage-card>span,.manage-card>small,.contact-master small,.contact-master span{color:var(--muted);font-size:.72rem}.manage-card form{display:inline}.document-manager{display:grid;gap:.5rem}.document-manager article{display:grid;grid-template-columns:minmax(180px,1fr) minmax(300px,2fr) auto;gap:.7rem;align-items:center;border-bottom:1px solid var(--line);padding:.75rem 0}.document-manager article>div{display:grid}.document-manager article span{color:var(--muted);font-size:.72rem}.document-manager form{display:flex;gap:.4rem}.activity-assignment{display:none}#contact-dialog:has([name="assignment"][value="service"]:checked) .activity-assignment{display:grid}.form-actions{text-align:right}
@media(max-width:900px){.completion-grid{grid-template-columns:repeat(3,1fr)}.manage-grid,.contact-master{grid-template-columns:repeat(2,1fr)}.document-manager article{grid-template-columns:1fr}.document-manager form{flex-wrap:wrap}}
@media(max-width:600px){.workspace-section{padding:.9rem;margin:.7rem 0}.completion-grid{grid-template-columns:repeat(2,1fr)}.ops-day>summary{grid-template-columns:1fr}.ops-day>summary>b{justify-self:start}.ops-record>summary{grid-template-columns:1fr}.contact-admin-card{flex-direction:column}.manage-grid,.contact-master{grid-template-columns:1fr}.editor-tabs a{padding:.65rem .8rem}.analytics-heading{align-items:start;flex-direction:column}.analytics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.derived-input{background:#f2f5f4!important;color:var(--muted);cursor:not-allowed}.inherited-date{display:block;margin-top:.3rem;color:var(--muted);font-size:.7rem}.form-more{border:1px solid var(--line);background:#f7f9f8}.form-more>summary{cursor:pointer;padding:.8rem 1rem;font-weight:800}.form-more>.form-grid{padding:0 1rem 1rem}.flight-form{display:grid;gap:1rem}.flight-form fieldset{border:1px solid var(--line);padding:1rem;margin:0}.flight-form legend{padding:0 .35rem;color:var(--nav);font-size:.72rem;font-weight:900;letter-spacing:.1em;text-transform:uppercase}.flight-form .three{grid-template-columns:repeat(3,1fr)}.flight-form textarea{min-height:90px}@media(max-width:600px){.flight-form .three{grid-template-columns:1fr}}
.trip-location-combobox{position:relative;display:block}.trip-location-panel{position:absolute;z-index:40;top:calc(100% + 4px);left:0;right:0;max-height:280px;overflow:auto;border:1px solid #cbd6d7;border-radius:9px;background:#fff;box-shadow:0 14px 34px #102e3c24;padding:.35rem}.trip-location-heading{padding:.5rem .6rem .3rem;color:var(--muted);font-size:.62rem;font-weight:900;letter-spacing:.1em;text-transform:uppercase}.trip-location-option{display:grid;grid-template-columns:24px 1fr;gap:.45rem;width:100%;padding:.6rem;border-radius:6px;background:#fff;color:var(--ink);text-align:left}.trip-location-option:hover,.trip-location-option.active{background:#eef3f3}.trip-location-option>span:last-child{display:grid;gap:.12rem}.trip-location-option strong{font-size:.78rem}.trip-location-option small{color:var(--muted);font-size:.66rem;font-weight:600}.trip-location-icon{font-size:.9rem}.trip-location-empty{padding:.75rem;color:var(--muted);font-size:.72rem;font-weight:600}
/* Team access and passenger editor */
.trip-passenger-form{display:grid;grid-template-columns:repeat(3,minmax(90px,1fr)) auto;gap:.7rem;align-items:end;margin-top:1rem;padding-top:1rem;border-top:1px solid var(--line)}
@media(max-width:700px){.trip-passenger-form{grid-template-columns:repeat(3,1fr)}.trip-passenger-form button{grid-column:1/-1}}

/* Compact admin trip workspace — presentation only. */
.trip-workspace{padding-top:1.35rem;padding-bottom:2rem}
.trip-workspace .trip-admin-head{margin-bottom:.9rem;min-height:0}
.trip-workspace .trip-admin-head>div{display:grid;grid-template-columns:auto 1fr;column-gap:.45rem;align-items:center}
.trip-workspace .trip-admin-head h1{grid-column:1/-1;margin:.12rem 0 .18rem;line-height:1.04}
.trip-workspace .trip-admin-head p{grid-column:1/-1;margin:.05rem 0;line-height:1.35}
.trip-workspace .trip-header-actions{display:flex;align-items:center;gap:.65rem;justify-self:end}
.trip-workspace .trip-header-actions button{padding:.65rem .85rem;white-space:nowrap}
.trip-workspace .form-note{margin:0;color:var(--muted);font-size:.78rem;line-height:1.45}
.trip-workspace .alert.warning{background:#fff7df;color:#745516;border:1px solid #edd89c}
.trip-workspace .compact-link{padding:.85rem 1rem;gap:.65rem;margin-bottom:.7rem}
.trip-workspace .secure-link-head{align-items:center;gap:1rem}
.trip-workspace .secure-link-head h2{font-size:1.65rem;line-height:1;margin:.2rem 0 0}
.trip-workspace .secure-link-head dl{gap:1.25rem;align-items:center}
.trip-workspace .secure-link-head dl div{display:grid;gap:.08rem}
.trip-workspace .persistent-link{padding:.55rem .65rem;gap:.55rem}
.trip-workspace .persistent-link label{gap:.3rem}
.trip-workspace .persistent-link input{padding:.67rem .75rem}
.trip-workspace .persistent-actions{gap:.4rem}
.trip-workspace .persistent-actions button,.trip-workspace .persistent-actions .button{padding:.67rem .85rem}
.trip-workspace .secure-link-panel .link-actions{padding-top:.6rem;gap:.4rem}
.trip-workspace .link-actions form{gap:.4rem}
.trip-workspace .link-actions label{display:flex;align-items:center;gap:.5rem;white-space:nowrap}
.trip-workspace .link-actions label input{width:190px;padding:.67rem .75rem}
.trip-workspace .link-actions button{padding:.67rem .9rem}
.trip-workspace .link-analytics-panel{padding:.75rem 1rem;gap:.5rem;margin-bottom:.7rem}
.trip-workspace .analytics-heading{align-items:center}
.trip-workspace .analytics-heading h2{font-size:1.15rem;margin:.15rem 0 0}
.trip-workspace .analytics-grid{gap:.45rem}
.trip-workspace .analytics-grid div{padding:.45rem .6rem;background:transparent}
.trip-workspace .analytics-grid dd{margin:.12rem 0 0;font-size:.82rem}
.trip-workspace .analytics-note{line-height:1.25}
.trip-workspace .editor-tabs{top:0;margin:.7rem 0;padding:.25rem;box-shadow:0 5px 16px #1738460d}
.trip-workspace .editor-tabs a{padding:.58rem .75rem}
.trip-workspace .workspace-section{padding:1rem;margin:.7rem 0;scroll-margin-top:62px}
.trip-workspace .panel-title h2{margin:.15rem 0 .65rem}
.trip-workspace .completion-grid{gap:.55rem}
.trip-workspace .completion-grid a{padding:.7rem .8rem}
.trip-workspace .completion-grid strong{font-size:1.45rem}
.trip-workspace .trip-brand-switch{padding:.7rem .9rem;margin-bottom:.7rem}
.trip-workspace .trip-passenger-form{margin-top:.7rem;padding-top:.7rem}
.trip-workspace .admin-day-stack{gap:.65rem}
.trip-workspace .ops-day>summary{padding:.8rem 1rem}
.trip-workspace .ops-day-body{padding:.75rem}
.trip-workspace .record-editor,.trip-workspace .ops-record{margin-top:.6rem}
.trip-workspace .record-editor>summary{padding:.65rem .8rem}
.trip-workspace .record-editor>.form-grid,.trip-workspace .ops-record>.form-grid{padding:.8rem}
.trip-workspace .day-subsection{margin-top:.9rem}
.trip-workspace .ops-record>summary{padding:.75rem .8rem}
.trip-workspace .ops-record .record-actions{padding:0 .8rem .8rem}
.trip-workspace .contact-admin-card{padding:.75rem;margin:.45rem 0}
.trip-workspace .manage-card,.trip-workspace .contact-master article{padding:.8rem}
.trip-workspace .document-manager article{padding:.55rem 0}
[data-document-context] [data-related-field][hidden],[data-document-edit][hidden]{display:none!important}.document-manager{gap:0}.document-manager .document-admin-card{display:block;border-bottom:1px solid var(--line);padding:.75rem 0}.document-summary{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:68px}.document-summary-copy{display:grid;gap:.18rem;min-width:0}.document-summary-copy strong{overflow-wrap:anywhere}.document-summary-copy span,.document-summary-copy small{color:var(--muted);font-size:.72rem}.document-summary-actions{display:flex;align-items:center;gap:.45rem;flex:none}.document-summary-actions form{margin:0}.document-summary-actions .button,.document-summary-actions button{padding:.62rem .8rem;font-size:.75rem}.document-edit-form{margin-top:.55rem;padding:.9rem;background:#f7f9f8;border:1px solid var(--line);display:grid;grid-template-columns:minmax(180px,1fr) minmax(160px,.7fr) minmax(160px,.7fr);gap:.7rem;align-items:end}.document-edit-form label{min-width:0}.document-edit-actions{display:flex;justify-content:flex-end;gap:.45rem;align-items:center}.document-context-label{font-size:.7rem;color:var(--muted);font-weight:850;letter-spacing:.06em}
.activity-documents{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:.75rem 0;display:grid;gap:.55rem}.activity-documents h4{margin:0;font-size:.68rem;letter-spacing:.09em;text-transform:uppercase;color:var(--muted)}.activity-documents>p{margin:0;color:var(--muted);font-size:.78rem}.activity-document-list{display:grid;gap:.35rem}.activity-document-row{display:flex;align-items:center;justify-content:space-between;gap:.8rem;padding:.42rem 0}.activity-document-row+.activity-document-row{border-top:1px solid var(--line)}.activity-document-row>span:first-child{display:grid;gap:.12rem;min-width:0}.activity-document-row strong{font-size:.8rem;overflow-wrap:anywhere}.activity-document-row small{font-size:.68rem;color:var(--muted)}.activity-document-row>span:last-child{display:flex;gap:.65rem;flex:none}.activity-document-row a{font-size:.75rem;font-weight:800}.activity-document-upload{justify-self:start;padding:.55rem .7rem;font-size:.74rem}.activity-document-context{display:grid;gap:.15rem;padding:.7rem .8rem;border:1px solid var(--line);background:#f7f9f8;border-radius:8px}.activity-document-context small{text-transform:uppercase;letter-spacing:.07em;color:var(--muted);font-weight:800}.activity-document-context strong{font-size:.85rem;overflow-wrap:anywhere}

@media(max-width:850px){
  .trip-workspace{padding-top:1rem}
  .trip-workspace .secure-link-head{align-items:flex-start}
  .trip-workspace .link-actions label{display:grid;white-space:normal}
  .trip-workspace .link-actions label input{width:100%}
}
@media(max-width:600px){
  .trip-workspace{padding:.8rem}
  .trip-workspace .trip-admin-head{align-items:flex-start;margin-bottom:.7rem}
  .trip-workspace .trip-admin-head h1{font-size:2rem}
  .trip-workspace .trip-header-actions{width:100%;justify-content:space-between;margin-top:.45rem}
  .trip-workspace .compact-link,.trip-workspace .link-analytics-panel{padding:.8rem}
  .trip-workspace .secure-link-head h2{font-size:1.5rem}
  .trip-workspace .secure-link-head dl{display:grid;grid-template-columns:1fr 1fr;gap:.6rem}
  .trip-workspace .persistent-actions{display:grid;grid-template-columns:1fr 1fr}
  .trip-workspace .persistent-actions .whatsapp{grid-column:1/-1}
  .trip-workspace .link-actions,.trip-workspace .link-actions form{width:100%;align-items:stretch}
  .trip-workspace .analytics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .trip-workspace .analytics-grid div{padding:.45rem 0}
  .trip-workspace .editor-tabs{top:0;margin:.55rem 0}
  .trip-workspace .editor-tabs a{padding:.58rem .7rem}
  .trip-workspace .workspace-section{padding:.8rem;margin:.55rem 0}
}
@media(max-width:700px){.document-summary{align-items:flex-start;flex-direction:column}.document-summary-actions{width:100%;flex-wrap:wrap}.document-edit-form{grid-template-columns:1fr}.document-edit-actions{justify-content:flex-start}.activity-document-row{align-items:flex-start;flex-direction:column}.activity-document-row>span:last-child{flex-wrap:wrap}}

/* Compact operations dashboard and creator filter. */
.status.upcoming{background:#e8f0f6;color:#245b78}
.dashboard-main{padding-top:1.4rem;max-width:1600px}
.dashboard-header{margin-bottom:1rem;align-items:end}
.dashboard-header h1{margin:.15rem 0;font-size:2.4rem;line-height:1.05}
.dashboard-stats{gap:.7rem;margin-bottom:.7rem}
.dashboard-stats>a{background:white;border:1px solid var(--line);padding:.85rem 1rem;display:grid;gap:.25rem;color:inherit;position:relative}
.dashboard-stats>a>b{position:absolute;right:.7rem;top:50%;color:var(--brand)}
.dashboard-stats article{padding:.85rem 1rem;gap:.25rem;min-height:82px}
.dashboard-stats strong{font-size:1.8rem;line-height:1}
.dashboard-panel{padding:1rem 1.1rem}
.dashboard-toolbar{display:flex;justify-content:space-between;align-items:end;gap:1rem;margin-bottom:.55rem}
.dashboard-toolbar h2{font-size:1.45rem;margin:0 0 .15rem}
.dashboard-toolbar small{color:var(--muted);font-size:.7rem}
.dashboard-controls,.creator-filter{display:flex;align-items:end;gap:.45rem}
.dashboard-search{width:220px;padding:.65rem .75rem}
.creator-filter label{gap:.25rem}
.creator-filter label>span{font-size:.66rem;text-transform:uppercase;letter-spacing:.07em;color:var(--muted)}
.creator-filter select{width:220px;padding:.65rem 2rem .65rem .75rem}
.creator-filter button{padding:.68rem .8rem}
.clear-filter{align-self:center;color:var(--brand);font-size:.75rem;font-weight:800;padding:.45rem}
.dashboard-table th,.dashboard-table td{padding:.72rem .75rem}
.dashboard-table td{font-size:.88rem}
.dashboard-table td:first-child strong{white-space:normal}
.dashboard-empty{text-align:center!important;color:var(--muted);padding:1.5rem!important}
@media(max-width:1100px){
  .dashboard-toolbar{align-items:stretch;flex-direction:column}
  .dashboard-controls{width:100%}
  .dashboard-search{flex:1}
}
@media(max-width:800px){
  html:has(.admin-mobile-nav),body:has(.admin-mobile-nav){height:100%;overflow:hidden}
  body:has(.admin-mobile-nav) .admin-main{height:calc(100dvh - 76px);overflow-y:auto;overscroll-behavior:contain}
  .dashboard-main{padding-top:.9rem}
  .dashboard-header{margin-bottom:.7rem}
  .dashboard-header h1{font-size:2rem}
  .dashboard-stats{grid-template-columns:repeat(2,1fr)}
  .dashboard-stats article{min-height:72px;padding:.75rem}
  .dashboard-panel{padding:.75rem}
  .dashboard-controls{display:grid;grid-template-columns:1fr;gap:.55rem}
  .dashboard-search,.creator-filter select{display:block;width:100%}
  .creator-filter{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:end}
  .dashboard-table th,.dashboard-table td{padding:.65rem}
}
.admin-mobile-nav .admin-nav-icon svg{width:1.05rem;height:1.05rem;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

.hotel-save-master{grid-column:1/-1;display:flex!important;align-items:flex-start;gap:.5rem;padding:.55rem .7rem;background:#f4f8f8;border:1px solid var(--line);border-radius:7px;font-size:.82rem;font-weight:750}.hotel-save-master input{margin-top:.15rem}.hotel-save-master small{display:block;margin-top:.15rem;color:var(--muted);font-size:.7rem;font-weight:500}

/* Compact Add Hotels layout; scoped to the batch modal only. */
.hotel-batch-dialog{max-height:min(90dvh,900px)}
.hotel-batch-dialog>form{max-height:min(90dvh,900px)}
.hotel-batch-dialog .hotel-batch-list{padding:.75rem 1rem;gap:.6rem}
.hotel-batch-dialog .hotel-entry>summary{padding:.65rem .8rem}
.hotel-batch-dialog .hotel-entry-fields{grid-template-columns:repeat(4,minmax(0,1fr));gap:.55rem .75rem;padding:.75rem .8rem}
.hotel-batch-dialog .hotel-entry-fields>label:nth-of-type(-n+10){grid-column:span 2}
.hotel-batch-dialog .hotel-entry-fields>label:nth-of-type(15){grid-column:span 2}
.hotel-batch-dialog .hotel-entry-fields>label.wide{grid-column:span 2}
.hotel-batch-dialog .hotel-entry-fields>label:nth-of-type(16),.hotel-batch-dialog .hotel-entry-fields>[data-hotel-error]{grid-column:1/-1}
.hotel-batch-dialog .hotel-entry-fields label{gap:.25rem}
.hotel-batch-dialog .hotel-entry-fields input,.hotel-batch-dialog .hotel-entry-fields select,.hotel-batch-dialog .hotel-entry-fields textarea{min-height:42px;padding:.55rem .65rem}
.hotel-batch-dialog .hotel-entry-fields textarea[data-field="address"]{min-height:42px;height:42px;resize:none}
.hotel-batch-dialog .hotel-entry-fields textarea[data-field="public_notes"]{min-height:66px;height:66px}
.hotel-batch-dialog .hotel-entry-fields label:nth-of-type(11),.hotel-batch-dialog .hotel-entry-fields label:nth-of-type(12),.hotel-batch-dialog .hotel-entry-fields label:nth-of-type(13),.hotel-batch-dialog .hotel-entry-fields label:nth-of-type(14){grid-column:span 1}
.hotel-batch-dialog footer{padding:.7rem 1rem}
@media(max-width:900px){.hotel-batch-dialog .hotel-entry-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.hotel-batch-dialog .hotel-entry-fields>label:nth-of-type(n){grid-column:span 1}.hotel-batch-dialog .hotel-entry-fields>label.wide,.hotel-batch-dialog .hotel-entry-fields>[data-hotel-error]{grid-column:1/-1}}
@media(max-width:600px){.hotel-batch-dialog .hotel-entry-fields{grid-template-columns:1fr}.hotel-batch-dialog .hotel-entry-fields .hotel-save-master{grid-column:1}.hotel-batch-dialog .hotel-batch-list{padding:.6rem}.hotel-batch-dialog footer{padding:.65rem}}

/* Compact Add Flights layout; scoped to the flight batch modal. */
.flight-batch-dialog{width:min(1060px,calc(100% - 2rem));overflow:hidden}
.flight-batch-dialog .flight-form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.55rem .7rem;min-width:0}
.flight-batch-dialog .flight-form fieldset,.flight-batch-dialog .flight-form fieldset>.form-grid{display:contents}
.flight-batch-dialog .flight-form legend{display:none}
.flight-batch-dialog .flight-form label{min-width:0;grid-column:span 1}
.flight-batch-dialog .flight-form label input,.flight-batch-dialog .flight-form label textarea{width:100%;min-width:0;box-sizing:border-box}
.flight-batch-dialog .flight-form fieldset:first-child label:nth-child(1){grid-column:span 1}
.flight-batch-dialog .flight-form fieldset:last-of-type label{grid-column:1/-1}
.flight-batch-dialog .flight-form textarea{min-height:58px;height:58px;resize:vertical}
.flight-batch-dialog .flight-form [data-flight-error]{grid-column:1/-1;margin:0;padding:.45rem .6rem;font-size:.75rem}
@media(max-width:900px){.flight-batch-dialog .flight-form{grid-template-columns:repeat(2,minmax(0,1fr))}.flight-batch-dialog .flight-form fieldset:last-of-type label,.flight-batch-dialog .flight-form [data-flight-error]{grid-column:1/-1}}
@media(max-width:600px){.flight-batch-dialog{width:calc(100% - 1rem)}.flight-batch-dialog .flight-form{grid-template-columns:1fr}.flight-batch-dialog .flight-form label{grid-column:1/-1}.flight-batch-dialog .flight-form fieldset:last-of-type label,.flight-batch-dialog .flight-form [data-flight-error]{grid-column:1}}

/* Mobile Admin operations shell. */
.mobile-dashboard-title,.mobile-dashboard-subtitle,.mobile-quick-actions,.mobile-recent-trips,.admin-mobile-nav,.admin-more-sheet{display:none}
@media(max-width:800px){
 body:has(.admin-mobile-nav){background:#f5f6f2}
 .admin-nav{position:fixed;z-index:55;inset:0 0 auto;width:100%;height:76px;min-height:0;padding:0 1rem;display:flex;flex-direction:row;align-items:center;background:#102e3c;border-radius:0}
 .admin-nav .wordmark{color:#fff}.admin-nav nav{display:none}.admin-nav .admin-user{display:block;margin:0 0 0 auto;text-align:right}.admin-nav .admin-user span{display:block;color:#fff;font-size:.78rem;font-weight:750}.admin-nav .admin-user small,.admin-nav .admin-user form{display:none}
 .admin-main{margin:0;padding:96px 1rem 86px}.mobile-dashboard-title{display:inline}.desktop-dashboard-title{display:none}.mobile-dashboard-subtitle{display:block;margin:0;color:var(--muted);font-size:.78rem}.dashboard-header>a{display:none}
 .mobile-quick-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:.4rem;margin:.7rem 0 1rem}.mobile-quick-actions a{display:flex;align-items:center;justify-content:center;min-height:42px;padding:.4rem .2rem;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--brand);font-size:.72rem;font-weight:800;white-space:nowrap}.mobile-quick-actions b,.admin-mobile-nav b{margin-left:3px;min-width:18px;padding:2px 4px;border-radius:10px;background:#c33b32;color:#fff;text-align:center;font-size:.65rem}
 .mobile-recent-trips{display:grid;gap:.45rem;margin-top:.75rem}.mobile-recent-trips a{position:relative;display:grid;gap:.15rem;padding:.75rem 2rem .75rem .8rem;border:1px solid var(--line);border-radius:9px;background:#fff}.mobile-recent-trips strong{font-size:.85rem}.mobile-recent-trips span{font-size:.78rem}.mobile-recent-trips small{color:var(--muted);font-size:.68rem}.mobile-recent-trips b{position:absolute;right:.8rem;top:50%;transform:translateY(-50%);font-size:1.4rem;color:var(--brand)}
 .dashboard-panel .table-wrap{display:none}
 .dashboard-controls .creator-filter{display:none}
 .admin-mobile-nav{position:fixed;z-index:60;display:grid;grid-template-columns:repeat(4,1fr);left:0;right:0;bottom:0;padding:5px 8px calc(5px + env(safe-area-inset-bottom));background:#fffffff7;border-top:1px solid var(--line);box-shadow:0 -6px 20px #18384614}.admin-mobile-nav a,.admin-mobile-nav button{display:grid;place-items:center;gap:2px;min-height:52px;padding:3px;border:0;border-radius:8px;background:transparent;color:var(--muted);font-size:.64rem;font-weight:800}.admin-mobile-nav a.active{background:#e8eff1;color:var(--brand)}.admin-mobile-nav span{font-size:1.05rem;line-height:1}
 .admin-more-sheet{width:min(420px,calc(100% - 20px));margin:auto;padding:0;border:1px solid var(--line);border-radius:14px}.admin-more-sheet::backdrop{background:#102e3c66}.admin-more-sheet[open]{display:block}.admin-more-sheet header{display:flex;justify-content:space-between;align-items:center;padding:.9rem 1rem;border-bottom:1px solid var(--line)}.admin-more-sheet header button{background:none;color:var(--ink);padding:.2rem .5rem}.admin-more-sheet>div{display:grid;gap:.4rem;padding:.7rem}.admin-more-sheet a,.admin-more-sheet form button{display:block;padding:.8rem;border-radius:8px;background:#f3f5f4;color:var(--ink);font-weight:750}.admin-more-sheet form{margin:0}.admin-more-sheet form button{width:100%;text-align:left;border:0}
}

/* Trip-level traveller important notes editor. */
.trip-important-notes-form{display:grid;gap:.6rem;margin-top:.8rem;padding-top:.8rem;border-top:1px solid var(--line)}
.trip-important-notes-form textarea{min-height:210px;line-height:1.5}
.trip-important-notes-form>div{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.trip-important-notes-form>div small{color:var(--muted);font-size:.72rem}
.destination-template-tools{display:flex;align-items:end;justify-content:space-between;gap:1rem;padding:.7rem;background:#f6f8f6;border:1px solid var(--line);border-radius:8px}
.destination-template-tools>label{flex:1}.destination-template-tools>div{display:flex;gap:.5rem;flex-wrap:wrap}.destination-notes-entry>small{color:var(--muted);font-weight:500;line-height:1.45}.destination-notes-form textarea{min-height:330px;line-height:1.5}
@media(max-width:600px){.trip-important-notes-form>div{align-items:stretch;flex-direction:column}}
@media(max-width:700px){.destination-template-tools{align-items:stretch;flex-direction:column}.destination-template-tools>div{display:grid}.destination-template-tools button{width:100%}}

/* Hotel library suggestions stay compact and keyboard/mouse friendly. */
.hotel-entry-fields label,.hotel-edit-dialog label{position:relative}.hotel-search-results{position:absolute;left:0;right:0;top:100%;z-index:20;background:#fff;border:1px solid var(--line);border-radius:7px;box-shadow:0 6px 18px #17252d22;max-height:230px;overflow:auto}.hotel-search-result{display:block;width:100%;text-align:left;background:#fff;border:0;border-bottom:1px solid var(--line);padding:.55rem .7rem;cursor:pointer}.hotel-search-result:hover,.hotel-search-result:focus{background:#f1f6f8}.hotel-search-result strong,.hotel-search-result small{display:block}.hotel-search-result small{color:var(--muted);font-size:.72rem}
/* Multi-hotel creation keeps full forms accessible without an excessively tall modal. */
.hotel-batch-dialog{width:min(860px,calc(100% - 2rem));max-height:calc(100vh - 2rem);overflow:hidden}.hotel-batch-dialog>form{padding:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;max-height:calc(100vh - 2rem)}.hotel-batch-dialog header{padding:1.1rem 1.4rem;border-bottom:1px solid var(--line);background:#fff;z-index:2}.hotel-batch-dialog header h2{margin:0}.hotel-batch-dialog header small{color:var(--muted)}.hotel-batch-list{overflow:auto;padding:1rem 1.4rem;display:grid;gap:.75rem;background:#f6f8f6}.hotel-entry{background:#fff;border:1px solid var(--line);border-radius:9px}.hotel-entry>summary{list-style:none;cursor:pointer;padding:.9rem 1rem;display:flex;justify-content:space-between;align-items:center;gap:1rem}.hotel-entry>summary::-webkit-details-marker{display:none}.hotel-entry>summary>div{display:grid;gap:.18rem}.hotel-entry>summary span{font-size:.62rem;letter-spacing:.1em;color:var(--nav);font-weight:900}.hotel-entry>summary small{color:var(--muted);font-size:.68rem}.hotel-entry-fields{padding:1rem;border-top:1px solid var(--line)}.hotel-remove{background:transparent;color:#a93333;padding:.4rem;font-size:.72rem}.hotel-entry-error,.hotel-date-warning{background:#fff0ee;color:#8f2f27;padding:.7rem;font-size:.75rem;font-weight:700}.hotel-date-warning{margin:0 1.4rem}.hotel-batch-dialog footer{position:sticky;bottom:0;margin:0;padding:.9rem 1.4rem;border-top:1px solid var(--line);background:#fff;z-index:2}.hotel-footer-spacer{flex:1}.hotel-add-another{margin-right:auto}
@media(max-width:600px){.hotel-batch-dialog{width:calc(100% - 1rem);max-height:calc(100vh - 1rem)}.hotel-batch-dialog>form{max-height:calc(100vh - 1rem)}.hotel-batch-list{padding:.7rem}.hotel-batch-dialog footer{padding:.7rem;flex-wrap:wrap}.hotel-footer-spacer{display:none}.hotel-add-another{width:100%}.hotel-entry>summary{align-items:flex-start}}

/* Day Builder reuses the proven batch-card shell while keeping day-level fields distinct. */
.day-builder-dialog{width:min(900px,calc(100% - 2rem))}.day-builder-body{overflow:auto;padding:1rem 1.4rem;background:#f6f8f6;display:grid;gap:1rem}.day-overview-card,.day-activities{background:#fff;border:1px solid var(--line);border-radius:9px;padding:1rem}.day-overview-card .section-heading,.day-activities>.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:.8rem;font-size:.7rem;font-weight:900;letter-spacing:.1em;color:var(--nav)}.day-activities>.hotel-batch-list{padding:0;background:transparent;overflow:visible}.day-builder-empty{margin:.25rem 0;color:var(--muted);font-size:.8rem}.day-activity-entry .trip-location-panel{z-index:6}.day-activity-entry .form-more>.form-grid{padding-top:.75rem}
@media(max-width:600px){.day-builder-body{padding:.7rem}.day-overview-card,.day-activities{padding:.75rem}}

/* Saved itinerary activities are summaries first; the unchanged editor opens on demand. */
.trip-workspace article.ops-record{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;margin-top:.45rem;border:1px solid var(--line);border-radius:7px;background:#fff}.trip-workspace article.ops-record>[data-activity-editor]{min-width:0}.trip-workspace article.ops-record>[data-activity-editor]>summary{list-style:none;cursor:pointer;padding:.7rem .8rem;display:grid;grid-template-columns:92px minmax(0,1fr);gap:.8rem;align-items:start}.trip-workspace article.ops-record>[data-activity-editor]>summary::-webkit-details-marker{display:none}.trip-workspace article.ops-record>[data-activity-editor]>summary time{color:var(--nav);font-weight:900}.trip-workspace article.ops-record>[data-activity-editor]>summary>div{display:grid;gap:.16rem;min-width:0}.trip-workspace article.ops-record>[data-activity-editor]>summary small{font-size:.62rem;letter-spacing:.06em;color:var(--muted)}.trip-workspace article.ops-record>[data-activity-editor]>summary strong{line-height:1.25}.trip-workspace article.ops-record>[data-activity-editor]>summary span{color:var(--muted);font-size:.78rem}.trip-workspace article.ops-record>[data-activity-editor]>form{padding:.8rem;border-top:1px solid var(--line)}.trip-workspace article.ops-record>.record-actions{padding:.55rem .7rem;flex-wrap:nowrap}.trip-workspace article.ops-record>[data-activity-editor][open]{grid-column:1/-1}.trip-workspace article.ops-record:has([data-activity-editor][open])>.record-actions{grid-column:1/-1;border-top:1px solid var(--line);justify-content:flex-end}.trip-workspace .ops-day-body{padding:.75rem}.trip-workspace .day-toolbar{gap:.4rem}.trip-workspace .record-editor{margin-top:.55rem}.trip-workspace .day-subsection{margin-top:.8rem}
/* The expanded traveller day header already carries the day title. */
@media(max-width:700px){.trip-workspace article.ops-record{grid-template-columns:1fr}.trip-workspace article.ops-record>.record-actions{border-top:1px solid var(--line);justify-content:flex-start}.trip-workspace article.ops-record>[data-activity-editor]>summary{grid-template-columns:1fr;gap:.25rem}.trip-workspace article.ops-record>[data-activity-editor]>summary time{font-size:.82rem}}

/* Summary-first itinerary refinements. */
.trip-workspace .ops-day>summary{grid-template-columns:86px minmax(0,1fr) auto;gap:.75rem}.trip-workspace .ops-day>summary strong{font-size:.96rem;line-height:1.25;overflow-wrap:anywhere}.trip-workspace .ops-day>summary small{font-size:.74rem}.trip-workspace .ops-day>summary>b{white-space:nowrap}.trip-workspace .day-toolbar button{min-height:38px}.trip-workspace .record-editor{border-color:#dfe5e7}.trip-workspace .record-editor>summary{font-size:.78rem}.trip-workspace .record-editor>summary:before{content:"▶";display:inline-block;margin-right:.42rem;font-size:.62rem}.trip-workspace .record-editor[open]>summary:before{content:"▼"}.trip-workspace article.ops-record>[data-activity-editor]>form:before{content:"ESSENTIAL DETAILS";grid-column:1/-1;color:var(--muted);font-size:.64rem;font-weight:900;letter-spacing:.09em}.trip-workspace article.ops-record>[data-activity-editor]>summary strong{font-size:.9rem;overflow-wrap:anywhere}.trip-workspace article.ops-record>[data-activity-editor]>summary span{line-height:1.35}.trip-workspace .form-more>summary{font-size:.76rem}.trip-workspace .activity-documents{margin-top:.15rem}.trip-workspace article.ops-record>[data-activity-editor]>form>.wide:last-child{text-align:right}
@media(max-width:700px){.trip-workspace .ops-day>summary{grid-template-columns:1fr}.trip-workspace .ops-day>summary>b{justify-self:start}.trip-workspace article.ops-record>[data-activity-editor]>form>.wide:last-child{text-align:left}}

/* Compact expanded activity editor. Presentation-only; field names and submit flow stay unchanged. */
.trip-workspace article.ops-record>[data-activity-editor]>form{gap:.6rem}
.trip-workspace article.ops-record>[data-activity-editor]>form>label{gap:.28rem}
.trip-workspace article.ops-record>[data-activity-editor]>form textarea[name="description"]{min-height:78px;height:78px;max-height:220px;line-height:1.4;resize:vertical}
.trip-workspace article.ops-record>[data-activity-editor]>form .form-more{margin-top:0}
.trip-workspace article.ops-record>[data-activity-editor]>form .form-more>summary{padding:.55rem .7rem}
.trip-workspace article.ops-record>[data-activity-editor]>form .form-more>.form-grid{padding:.55rem .7rem .7rem;gap:.6rem}
.trip-workspace article.ops-record>[data-activity-editor]>form .activity-documents{padding:.55rem 0;gap:.4rem}
.trip-workspace article.ops-record>[data-activity-editor]>form .activity-document-row{padding:.28rem 0;gap:.65rem}
.trip-workspace article.ops-record>[data-activity-editor]>form .activity-document-upload{padding:.45rem .65rem}
.trip-workspace article.ops-record>[data-activity-editor]>form>.activity-documents+label{align-self:center;display:flex;align-items:center;gap:.4rem;margin:0}
.trip-workspace article.ops-record>[data-activity-editor]>form>.wide:last-child{align-self:center;margin:0}
.trip-workspace article.ops-record>[data-activity-editor]>form>.wide:last-child button{margin:0}
@media(min-width:701px){.trip-workspace article.ops-record>[data-activity-editor]>form>.activity-documents+label{grid-column:1}.trip-workspace article.ops-record>[data-activity-editor]>form>.wide:last-child{grid-column:2;justify-self:end}}
@media(max-width:700px){.trip-workspace article.ops-record>[data-activity-editor]>form textarea[name="description"]{min-height:72px;height:72px}.trip-workspace article.ops-record>[data-activity-editor]>form>.activity-documents+label{margin-top:.15rem}.trip-workspace article.ops-record>[data-activity-editor]>form>.wide:last-child{justify-self:stretch}.trip-workspace article.ops-record>[data-activity-editor]>form>.wide:last-child button{width:100%}}
/* Compact, secondary itinerary-day actions. */
.trip-workspace .day-actions{position:relative;margin-left:auto}.trip-workspace .day-actions>summary{list-style:none;display:grid;place-items:center;width:40px;height:38px;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--nav);font-weight:900;letter-spacing:.08em;cursor:pointer}.trip-workspace .day-actions>summary::-webkit-details-marker{display:none}.trip-workspace .day-actions>summary:hover,.trip-workspace .day-actions>summary:focus-visible{background:#edf3f4;outline:2px solid color-mix(in srgb,var(--nav) 30%,transparent);outline-offset:2px}.trip-workspace .day-actions-popover{position:absolute;z-index:30;right:0;top:calc(100% + .35rem);width:max-content;min-width:225px;max-width:min(290px,calc(100vw - 2rem));padding:.4rem;background:#fff;border:1px solid var(--line);border-radius:7px;box-shadow:0 10px 28px rgba(21,39,50,.14)}.trip-workspace .day-actions-popover button{display:block;width:100%;min-height:36px;padding:.55rem .7rem;border:0;background:transparent;color:var(--ink);text-align:left;font-size:.78rem;border-radius:4px}.trip-workspace .day-actions-popover button:hover,.trip-workspace .day-actions-popover button:focus-visible{background:#edf3f4}.trip-workspace .day-actions-popover .danger{color:#a93333}.trip-workspace .day-actions-popover form{display:block}.trip-workspace .day-actions-popover hr{margin:.35rem 0;border:0;border-top:1px solid var(--line)}.insert-day-dialog form{width:min(540px,calc(100vw - 2rem))}.insert-day-dialog .muted{margin:0;font-size:.76rem}.ops-day:focus{outline:2px solid color-mix(in srgb,var(--nav) 35%,transparent);outline-offset:3px}
@media(max-width:600px){.trip-workspace .day-toolbar{flex-wrap:nowrap}.trip-workspace .day-toolbar>button{padding-inline:.65rem;white-space:nowrap}.trip-workspace .day-actions-popover{position:fixed;right:1rem;left:1rem;top:auto;bottom:1rem;width:auto;max-width:none}.trip-workspace .day-actions-popover button{min-height:44px}}
.notification-history{display:grid}.notification-history article{display:grid;grid-template-columns:135px minmax(0,1fr) auto;gap:16px;padding:12px 0;border-top:1px solid var(--line)}.notification-history article p{margin:3px 0;color:var(--muted)}.notification-history article>span{font-size:.65rem;font-weight:850;color:var(--muted)}
@media(max-width:700px){.notification-history article{grid-template-columns:1fr;gap:4px}}
.live-update-dialog{width:min(680px,calc(100vw - 24px))}.live-update-contact-fields{border:1px solid #dfe5e8;border-radius:8px;padding:12px}.live-update-contact-fields legend{font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#53646d}.live-update-notify{align-items:center;display:flex!important;gap:9px}.live-update-notify input{width:auto}.live-update-admin-list{display:grid;border:1px solid #e1e6e8;border-radius:8px;overflow:hidden}.live-update-admin-row{display:grid;grid-template-columns:110px minmax(0,1fr) auto;gap:18px;align-items:center;padding:14px 16px;border-bottom:1px solid #e8ecee}.live-update-admin-row:last-child{border-bottom:0}.live-update-admin-row time,.live-update-admin-row small{color:#687981;font-size:12px}.live-update-admin-row div:nth-child(2){display:grid;gap:3px;min-width:0}.live-update-admin-row div:nth-child(2)>small{font-weight:800;letter-spacing:.07em}.live-update-admin-row div:nth-child(2)>p{margin:0;color:#687981;font-size:13px}.live-update-admin-row.is-superseded,.live-update-admin-row.is-cancelled{opacity:.68}.live-update-admin-actions{display:flex;align-items:center;gap:7px}.live-update-admin-actions form{margin:0}.live-update-admin-actions button{white-space:nowrap;padding:8px 10px}.live-update-admin-actions .status{text-transform:capitalize}
@media(max-width:760px){.live-update-admin-row{grid-template-columns:1fr;gap:8px}.live-update-admin-actions{flex-wrap:wrap}.itinerary-head-actions{flex-wrap:wrap}.live-update-dialog .form-grid{grid-template-columns:1fr}}
.trip-workspace .ops-day .record-editor>form textarea[name="public_notes"]{grid-column:1/-1}
.trip-workspace .activity-drawer-open{position:fixed;z-index:120;top:0;right:0;bottom:0;width:min(480px,calc(100vw - 1rem));margin:0;background:#fff;border-left:1px solid var(--line);box-shadow:-18px 0 40px rgba(20,40,50,.2);overflow:auto;padding-top:3.2rem}.trip-workspace .activity-drawer-open:before{content:'Edit Activity';position:absolute;top:0;left:0;right:0;height:3.2rem;padding:1rem 1.1rem;border-bottom:1px solid var(--line);font-weight:900;font-size:1.05rem;background:#fff}.trip-workspace .activity-drawer-open>summary{display:none}.trip-workspace .activity-drawer-open>form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem;padding:1rem}.trip-workspace .activity-drawer-open>form>.wide{grid-column:1/-1}.trip-workspace .activity-drawer-open>form textarea{min-height:76px}.trip-workspace .activity-drawer-close{position:absolute;z-index:2;top:.65rem;right:.7rem;width:2rem;height:2rem;border:0;background:transparent;color:var(--ink);font-size:1.6rem;line-height:1;cursor:pointer}.trip-workspace .activity-drawer-visible:before{content:'';position:fixed;z-index:110;inset:0;background:rgba(20,35,42,.28)}body.activity-drawer-visible{overflow:hidden}.trip-workspace .activity-drawer-open>.form-actions,.trip-workspace .activity-drawer-open>form>.wide:last-child{position:sticky;bottom:0;background:#fff;padding-top:.65rem}
@media(max-width:700px){.trip-workspace .activity-drawer-open{width:100%;border-left:0}.trip-workspace .activity-drawer-open>form{grid-template-columns:1fr;padding:.85rem}.trip-workspace .activity-drawer-open>form>.wide{grid-column:auto}}
.trip-workspace .ops-day>summary{min-height:76px;padding:.7rem .9rem;position:relative}.trip-workspace .ops-day>summary .day-index{display:grid;gap:.2rem}.trip-workspace .ops-day>summary .day-index small{font-size:.68rem;font-weight:700;letter-spacing:0;color:var(--muted)}.trip-workspace .ops-day>summary>b{font-size:.72rem;background:#edf3f4;padding:.4rem .6rem;transform:none!important;writing-mode:horizontal-tb!important;white-space:nowrap}.trip-workspace .ops-day>summary:after{content:'⌄';font-size:1.05rem;color:var(--nav);padding:.2rem .35rem;transition:transform .15s ease}.trip-workspace .ops-day[open]>summary:after{transform:rotate(180deg)}.trip-workspace .itinerary-head-actions [data-itinerary-collapse-all],.trip-workspace .itinerary-head-actions [data-itinerary-expand-all]{font-size:.72rem;padding:.55rem .65rem}.trip-workspace .ops-day .record-editor>form{gap:.55rem}.trip-workspace .ops-day .record-editor>form>label{gap:.25rem}.trip-workspace .ops-day .record-editor>form textarea[name="description"]{min-height:76px;height:76px}.trip-workspace .ops-day .record-editor>form textarea[name="public_notes"]{min-height:82px;height:82px}.trip-workspace .ops-day .record-editor>form>label:nth-of-type(1),.trip-workspace .ops-day .record-editor>form>label:nth-of-type(2),.trip-workspace .ops-day .record-editor>form>label:nth-of-type(3),.trip-workspace .ops-day .record-editor>form>label:nth-of-type(4){min-width:0}.trip-workspace .ops-day .record-editor>form input:not([type="checkbox"]),.trip-workspace .ops-day .record-editor>form select{min-height:41px;padding:.55rem .65rem}.trip-workspace .ops-day .record-editor>form>label:nth-of-type(6),.trip-workspace .ops-day .record-editor>form>label:nth-of-type(7),.trip-workspace .ops-day .record-editor>form>label:nth-of-type(8){min-width:0}.trip-workspace .ops-day .day-subsection{margin-top:.65rem}.trip-workspace .ops-day .ops-record{margin-top:.35rem}.trip-workspace .ops-day .ops-record>[data-activity-editor]>summary{padding:.58rem .7rem}.trip-workspace .ops-day .ops-record>.record-actions{padding:.42rem .6rem}.trip-workspace .ops-day .contact-admin-card{padding:.65rem;margin:.35rem 0}@media(min-width:1100px){.trip-workspace .ops-day .record-editor>form{grid-template-columns:repeat(3,minmax(0,1fr))}.trip-workspace .ops-day .record-editor>form>label:nth-of-type(1),.trip-workspace .ops-day .record-editor>form>label:nth-of-type(2),.trip-workspace .ops-day .record-editor>form>label:nth-of-type(3),.trip-workspace .ops-day .record-editor>form>label:nth-of-type(4),.trip-workspace .ops-day .record-editor>form>label:nth-of-type(5),.trip-workspace .ops-day .record-editor>form>label:nth-of-type(6),.trip-workspace .ops-day .record-editor>form>label:nth-of-type(7),.trip-workspace .ops-day .record-editor>form>label:nth-of-type(8),.trip-workspace .ops-day .record-editor>form>label:nth-of-type(9){grid-column:auto}.trip-workspace .ops-day .record-editor>form>label:nth-of-type(5),.trip-workspace .ops-day .record-editor>form>label:nth-of-type(10){grid-column:1/-1}}
@media(max-width:700px){.trip-workspace .ops-day>summary{min-height:92px;grid-template-columns:1fr auto;gap:.35rem}.trip-workspace .ops-day>summary .day-index{grid-column:1/-1;display:flex;gap:.5rem;align-items:baseline}.trip-workspace .itinerary-head-actions [data-itinerary-collapse-all],.trip-workspace .itinerary-head-actions [data-itinerary-expand-all]{min-height:40px}.trip-workspace .ops-day .record-editor>form{grid-template-columns:1fr}.trip-workspace .ops-day .record-editor>form>label:nth-of-type(5),.trip-workspace .ops-day .record-editor>form>label:nth-of-type(10){grid-column:auto}}

/* Mobile Admin Trip Support viewport reservation. */
@media(max-width:800px){
  .admin-mobile-nav{--admin-mobile-nav-height:68px}
  .support-workspace{height:calc(100dvh - 76px);padding:16px 1rem calc(var(--admin-mobile-nav-height) + env(safe-area-inset-bottom) + 12px)!important;overflow:hidden;display:flex;flex-direction:column}
  .support-workspace .support-page-header{flex:0 0 auto;margin-bottom:12px}
  .support-workspace .support-inbox{height:auto!important;flex:1 1 auto;min-height:0}
  .support-workspace .support-inbox.has-conversation{display:flex!important;flex-direction:column!important;overflow:hidden}
  .support-workspace .support-thread{height:auto;flex:1 1 auto;min-height:0;display:flex;flex-direction:column;overflow:hidden}
  .support-workspace .support-thread>header{flex:0 0 auto}
  .support-workspace .support-thread .trip-chat-messages{flex:1 1 auto;min-height:0;overflow-y:auto}
  .support-workspace .support-thread form{flex:0 0 auto;position:relative;z-index:1}
}

/* Compact mobile operations dashboard. */
@media(max-width:800px){
 .dashboard-stats a{position:relative;display:grid;gap:.25rem;padding:.8rem;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);text-decoration:none}.dashboard-stats a b{position:absolute;right:.7rem;top:50%;color:var(--brand);font-size:1.3rem}.dashboard-stats strong{font-size:1.8rem}.mobile-attention{margin:.7rem 0;padding:.8rem;border:1px solid #f1caca;border-radius:12px;background:#fff4f3}.mobile-attention h2{margin:0 0 .5rem;color:#922d2d;font-size:1rem}.mobile-attention h2 b{display:inline-grid;place-items:center;min-width:22px;height:22px;margin-left:.3rem;border-radius:12px;background:#d63b3b;color:#fff;font-size:.72rem}.mobile-attention a{position:relative;display:block;padding:.7rem;border-radius:8px;background:#fff;color:var(--ink);font-size:.8rem}.mobile-attention a+a{margin-top:.35rem}.mobile-attention a strong{position:absolute;right:.7rem}.mobile-filter-button{display:block}.mobile-recent-trips{margin-top:.8rem}.mobile-recent-trips>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:.35rem}.mobile-recent-trips>header h2{margin:0;font-size:1.3rem}.mobile-recent-trips>header a{color:var(--brand);font-size:.75rem;font-weight:800}.mobile-recent-trips>a{display:grid;grid-template-columns:auto 1fr auto;column-gap:.55rem;row-gap:.15rem;padding:.8rem}.mobile-recent-trips>a strong{grid-column:2;font-size:.86rem}.mobile-recent-trips>a em{grid-column:2;font-style:normal;font-size:.78rem}.mobile-recent-trips>a small{grid-column:2;font-size:.68rem}.mobile-recent-trips>a time{grid-column:3;grid-row:1/4;align-self:start;color:var(--muted);font-size:.7rem}.mobile-recent-trips>a b{right:.55rem;bottom:.55rem;top:auto;transform:none}.mobile-trip-badge{grid-column:1;grid-row:1/4;align-self:start;padding:.3rem .45rem;border-radius:7px;font-size:.58rem;font-weight:900}.mobile-trip-badge.ongoing,.mobile-trip-badge.travelling{background:#dff4e5;color:#18733a}.mobile-trip-badge.upcoming{background:#dceefe;color:#165a99}.mobile-trip-badge.completed{background:#e7eaeb;color:#59656a}.mobile-trip-badge.active{background:#fff0c9;color:#8a5b00}.dashboard-filter-sheet{width:min(420px,calc(100% - 20px));margin:auto;padding:0;border:1px solid var(--line);border-radius:14px}.dashboard-filter-sheet[open]{display:block}.dashboard-filter-sheet form{padding:1rem}.dashboard-filter-sheet header,.dashboard-filter-sheet footer{display:flex;align-items:center;justify-content:space-between}.dashboard-filter-sheet header{margin:-1rem -1rem 1rem;padding:.8rem 1rem;border-bottom:1px solid var(--line)}.dashboard-filter-sheet header button{background:none;color:var(--ink);padding:.2rem .5rem}.dashboard-filter-sheet footer{margin-top:1rem}.dashboard-filter-sheet footer a{color:var(--muted);font-weight:700}.dashboard-filter-sheet::backdrop{background:#102e3c66}
}
@media(min-width:801px){.mobile-filter-button,.mobile-attention,.mobile-recent-trips{display:none!important}}

@media(max-width:800px){
  .admin-mobile-nav{pointer-events:auto}
  .admin-mobile-nav>a,.admin-mobile-nav>button{position:relative;z-index:1;pointer-events:auto}
  .mobile-attention a{display:flex;align-items:center;gap:.55rem}
  .mobile-attention a svg{width:1.15rem;height:1.15rem;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  .mobile-attention a strong{margin-left:auto;position:static}
}
