:root{--navy:#071a34;--gold:#d59b24;--cream:#f7f4ed;--ink:#0b1930;--muted:#657184;--line:#e1e6eb;--white:#fff;--green:#24734b;--red:#a23b32;--shadow:0 18px 48px rgba(7,26,52,.11)}
*{box-sizing:border-box}body{margin:0;color:var(--ink);background:#fff;font:400 16px/1.55 "DM Sans",Arial,sans-serif}button,input{font:inherit}.topbar{height:76px;display:flex;align-items:center;justify-content:space-between;padding:7px max(5vw,20px);border-bottom:1px solid var(--line);background:#fff}.topbar img{width:145px;height:60px;object-fit:contain}.topbar span{color:var(--muted);font-size:.8rem;font-weight:700}.topbar-actions{display:flex;align-items:center;gap:14px}.topbar-actions[hidden]{display:none}.home-button{display:grid;width:42px;height:42px;place-items:center;border:1px solid var(--line);border-radius:50%;color:var(--navy);background:#fff;cursor:pointer}.home-button:hover{border-color:var(--gold);color:var(--gold)}.home-button svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.shell{width:min(860px,calc(100% - 28px));margin:auto;padding:42px 0 80px}.heading{margin-bottom:28px}.heading>p{margin:0 0 8px;color:var(--gold);font-size:.74rem;font-weight:800;letter-spacing:.15em;text-transform:uppercase}.heading h1{margin:0 0 12px;color:var(--navy);font:800 clamp(2rem,6vw,3.45rem)/1.02 "Manrope",Arial,sans-serif;letter-spacing:-.045em}.heading>span{color:var(--muted)}.card{padding:clamp(20px,4vw,34px);border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:var(--shadow)}.scanner-card{max-width:620px}.camera-view{position:relative;display:grid;min-height:340px;place-items:center;overflow:hidden;border-radius:10px;color:#fff;background:var(--navy)}.camera-view video{position:absolute;width:100%;height:100%;object-fit:cover}.scan-frame{position:absolute;width:min(62%,250px);aspect-ratio:1;border:3px solid var(--gold);border-radius:16px;box-shadow:0 0 0 999px rgba(0,0,0,.24)}.camera-view p{z-index:1}.button{display:flex;width:100%;min-height:52px;align-items:center;justify-content:center;margin-top:14px;padding:0 22px;border:0;border-radius:6px;font:800 .78rem "Manrope",Arial,sans-serif;letter-spacing:.04em;text-transform:uppercase;cursor:pointer}.button[hidden]{display:none}.button.primary{color:#fff;background:var(--navy)}.button.secondary{border:2px solid var(--navy);color:var(--navy);background:#fff}.button:disabled{cursor:not-allowed;opacity:.45}.manual-entry{margin-top:18px;color:var(--muted)}.manual-entry summary{cursor:pointer;font-weight:700}.manual-entry label{display:grid;gap:6px;margin-top:12px}.manual-entry input{width:100%;min-height:48px;padding:10px 12px;border:1px solid var(--line);border-radius:6px}.status{min-height:22px;margin:12px 0 0;color:var(--muted);font-weight:600}.status.error{color:var(--red)}.status.success{color:var(--green)}.booking-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:22px;box-shadow:none}.booking-summary div{display:grid;gap:2px}.booking-summary span{color:var(--muted);font-size:.76rem}.booking-summary strong{overflow-wrap:anywhere}.luggage-list{display:grid;gap:22px}.luggage-card>header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.luggage-kicker{margin:0;color:var(--gold);font-size:.7rem;font-weight:800;text-transform:uppercase}.luggage-card h2{margin:2px 0 0;font:800 1.55rem "Manrope",Arial,sans-serif}.state{padding:7px 11px;border-radius:999px;color:#8a5700;background:#fff4d8;font-size:.75rem;font-weight:800}.luggage-card.complete .state{color:#fff;background:var(--green)}.customer-photo{width:100%;max-height:330px;margin-bottom:22px;border-radius:10px;object-fit:cover;background:var(--cream)}.completion{margin-top:26px;text-align:center}.completion p{color:var(--muted)}
.admin-return{padding:8px 12px;border:1px solid var(--gold);border-radius:6px;color:var(--navy);background:#fff;font-size:.75rem;font-weight:800;text-decoration:none;cursor:pointer}.admin-return:hover{color:#fff;background:var(--navy);border-color:var(--navy)}
.trustee-booking-selector{display:grid;gap:6px;max-width:440px;margin:0 0 22px;color:var(--navy);font-size:.78rem;font-weight:800}.trustee-booking-selector select{height:50px;padding:0 13px;border:1px solid var(--line);border-radius:7px;color:var(--navy);background:#fff;font-weight:700}.trustee-booking-selector select:focus{outline:3px solid rgba(213,155,36,.16);border-color:var(--gold)}
.trustee-booking-selector[hidden]{display:none}
.trustee-login-form{display:grid;gap:16px;max-width:520px}.trustee-login-form label{display:grid;gap:6px;color:var(--navy);font-size:.8rem;font-weight:800}.trustee-login-form input{height:50px;padding:0 12px;border:1px solid var(--line);border-radius:7px}.trustee-login-form .button{margin-top:4px}
.forgot-password{justify-self:center;padding:4px;border:0;color:var(--navy);background:transparent;font-weight:800;text-decoration:underline;cursor:pointer}
.luggage-progress{margin-bottom:22px;padding:16px 18px;border:1px solid var(--line);border-radius:10px;background:#fff}.luggage-progress>div:first-child{display:flex;justify-content:space-between;gap:12px;margin-bottom:10px;color:var(--navy)}.luggage-progress>div:first-child span{color:var(--muted)}.luggage-progress-track{height:8px;overflow:hidden;border-radius:999px;background:#e8edf2}.luggage-progress-track span{display:block;height:100%;width:0;border-radius:inherit;background:var(--gold);transition:width .25s ease}.luggage-recap .heading{margin:30px 0 18px}.luggage-recap .heading h2{margin:0 0 8px;color:var(--navy);font:800 1.8rem "Manrope",Arial,sans-serif}.luggage-recap-list{display:grid;gap:16px}.luggage-recap-card{padding:20px;border:1px solid var(--line);border-radius:12px;background:#fff}.luggage-recap-card header{display:flex;align-items:center;justify-content:space-between}.luggage-recap-card h3{margin:0;color:var(--navy)}.luggage-recap-card header span{padding:6px 10px;border-radius:999px;color:#fff;background:var(--green);font-size:.74rem;font-weight:800}.luggage-recap-images{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px}.luggage-recap-images figure{margin:0}.luggage-recap-images img{width:100%;aspect-ratio:4/3;border-radius:8px;object-fit:contain}.luggage-recap-images figcaption{margin-top:5px;color:var(--muted);font-size:.75rem;font-weight:700}
.dashboard-scan{max-width:280px;margin:0 0 24px}.dashboard-list{display:grid;gap:14px}.dashboard-booking{display:grid;grid-template-columns:1fr auto;gap:14px;padding:20px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 9px 28px rgba(7,26,52,.07);cursor:pointer;transition:border-color .16s,transform .16s,box-shadow .16s}.dashboard-booking:hover,.dashboard-booking:focus-visible{border-color:var(--gold);outline:none;transform:translateY(-1px);box-shadow:0 13px 34px rgba(7,26,52,.12)}.dashboard-booking h2{margin:0 0 5px;font:800 1.05rem "Manrope",Arial,sans-serif}.dashboard-booking p{margin:3px 0;color:var(--muted);font-size:.82rem}.dashboard-booking .state{align-self:start}.dashboard-empty{padding:28px;border:1px dashed var(--line);border-radius:12px;color:var(--muted);text-align:center}
.booking-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 20px}.booking-filter{padding:13px 10px;border:1px solid var(--line);border-radius:8px;color:var(--navy);background:#fff;font-weight:800;cursor:pointer}.booking-filter span{display:block;margin-top:2px;color:var(--muted);font-size:.72rem}.booking-filter.active{border-color:var(--navy);color:#fff;background:var(--navy)}.booking-filter.active span{color:#d9e1ea}.dashboard-booking[data-status="Pending"] .state{color:#8a5700;background:#fff4d8}.dashboard-booking[data-status="Confirmed"] .state{color:#fff;background:var(--green)}.dashboard-booking[data-status="Delivered"] .state{color:#fff;background:var(--navy)}.dashboard-booking[data-status="Incident"] .state{color:#fff;background:var(--red)}
@media(max-width:620px){.topbar img{width:112px;height:52px}.shell{padding-top:28px}.card{padding:20px 16px}.camera-view{min-height:300px}.booking-summary.customer-photo{max-height:260px}}
.booking-tools{display:grid;grid-template-columns:1.4fr .8fr;gap:14px;margin:0 0 18px}.booking-tools label{display:grid;gap:6px;color:var(--navy);font-size:.75rem;font-weight:800}.booking-tools input,.booking-tools select{width:100%;height:48px;padding:0 12px;border:1px solid var(--line);border-radius:7px;color:var(--navy);background:#fff}.booking-tools input:focus,.booking-tools select:focus{outline:3px solid rgba(213,155,36,.16);border-color:var(--gold)}.booking-customer{color:var(--navy)!important;font-weight:800}.dashboard-flight{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0;padding:14px;border-radius:8px;background:var(--cream)}.dashboard-flight div{min-width:0}.dashboard-flight dt{color:var(--muted);font-size:.67rem;font-weight:700;text-transform:uppercase}.dashboard-flight dd{margin:2px 0 0;overflow-wrap:anywhere;color:var(--navy);font-size:.78rem;font-weight:700}
.booking-trustee{display:inline-block!important;margin-bottom:7px!important;padding:5px 9px;border-radius:999px;font-weight:800}.booking-trustee.unassigned{color:#fff!important;background:var(--red)}.booking-trustee.assigned{color:var(--navy)!important;background:#dceeff}
.dashboard-actions{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:24px}.dashboard-actions .button{width:auto;max-width:none;margin:0}.trustee-dialog{width:min(720px,calc(100% - 24px));max-height:90vh;padding:0;border:0;border-radius:14px;box-shadow:0 24px 80px rgba(7,26,52,.25)}.trustee-dialog::backdrop{background:rgba(7,26,52,.55)}.trustee-form{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:28px}.trustee-form>header{display:flex;grid-column:1/-1;align-items:start;justify-content:space-between}.trustee-form header p{margin:0;color:var(--gold);font-size:.7rem;font-weight:800;text-transform:uppercase}.trustee-form h2{margin:3px 0 0;font:800 1.7rem "Manrope",Arial,sans-serif}.dialog-close{width:38px;height:38px;border:1px solid var(--line);border-radius:50%;color:var(--navy);background:#fff;font-size:1.5rem;cursor:pointer}.trustee-form label{display:grid;gap:6px;color:var(--navy);font-size:.78rem;font-weight:800}.trustee-form input,.trustee-form select{width:100%;height:48px;padding:0 12px;border:1px solid var(--line);border-radius:7px}.trustee-form .full{grid-column:1/-1}.type-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:4px 0;padding:18px;border:1px solid var(--line);border-radius:9px}.type-fields[hidden]{display:none}.type-fields legend{padding:0 7px;color:var(--gold);font-size:.75rem;font-weight:800}
.host-place-field{position:relative}.host-place-field small{color:var(--muted);font-weight:600}.host-place-results{position:absolute;z-index:10;top:74px;right:0;left:0;margin:0;padding:6px;overflow:hidden;border:1px solid var(--line);border-radius:8px;background:#fff;box-shadow:var(--shadow);list-style:none}.host-place-results button{width:100%;padding:11px 12px;border:0;border-radius:5px;color:var(--navy);background:#fff;text-align:left;cursor:pointer}.host-place-results button:hover,.host-place-results button:focus{outline:none;background:var(--cream)}.form-subheading{margin:12px 0 0;padding-top:18px;border-top:1px solid var(--line);color:var(--navy);font:800 1rem "Manrope",Arial,sans-serif}.trustee-form input[name="iban"]{text-transform:uppercase;letter-spacing:.04em}
@media(max-width:620px){.booking-tools{grid-template-columns:1fr}.dashboard-flight{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.trustee-form,.type-fields{grid-template-columns:1fr}.trustee-form{padding:22px 16px}.trustee-form label,.type-fields label{grid-column:1/-1}.dashboard-actions .button{width:100%}}
.onboarding-shell{max-width:720px}.onboarding-card{box-shadow:var(--shadow)}.onboarding-notice{margin:0 0 22px;padding:14px 16px;border-left:4px solid var(--gold);color:var(--muted);background:var(--cream)}.onboarding-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0 0 24px}.onboarding-details div{padding:13px;border:1px solid var(--line);border-radius:8px}.onboarding-details dt{color:var(--muted);font-size:.72rem;font-weight:700;text-transform:uppercase}.onboarding-details dd{margin:4px 0 0;overflow-wrap:anywhere;color:var(--navy);font-weight:800}@media(max-width:620px){.onboarding-details{grid-template-columns:1fr}}
.luggage-seal-images{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.luggage-seal-images figure{margin:0}.luggage-seal-images img{width:100%;aspect-ratio:4/3;margin:0;border-radius:10px;object-fit:contain;background:var(--cream)}.luggage-seal-images figcaption{margin-top:6px;color:var(--muted);font-size:.75rem;font-weight:700}.single-seal-camera{margin-top:16px;overflow:hidden;border-radius:10px;background:var(--navy)}.single-seal-camera[hidden]{display:none}.single-seal-camera video{display:block;width:100%;max-height:420px;object-fit:contain}.single-seal-actions{display:grid;gap:8px;margin-top:16px}.single-seal-actions .button{margin:0}.cancel-single-seal{padding:8px;border:0;color:#006fdf;background:transparent;font-weight:800;cursor:pointer}.cancel-single-seal[hidden]{display:none}.seal-figure[hidden]{display:none}@media(max-width:620px){.luggage-seal-images{grid-template-columns:1fr}}
.smart-seal-layout{display:grid;grid-template-columns:minmax(0,1fr) 42px minmax(0,1fr);align-items:stretch;gap:12px}.smart-media-panel{min-width:0;padding:15px;border:1px solid var(--line);border-radius:12px;background:#fafbfc}.panel-label{display:flex;align-items:center;gap:10px;margin-bottom:13px}.panel-label>span{display:grid;flex:0 0 28px;height:28px;place-items:center;border-radius:50%;color:#fff;background:var(--navy);font-size:.73rem;font-weight:800}.panel-label div{display:grid;line-height:1.25}.panel-label strong{color:var(--navy);font-size:.84rem}.panel-label small{color:var(--muted);font-size:.68rem}.smart-media-panel .customer-photo,.seal-picture-slot{display:block;width:100%;aspect-ratio:4/3;margin:0;border-radius:9px;object-fit:contain;background:var(--cream)}.smart-seal-link{display:grid;place-items:center}.smart-seal-link span{display:grid;width:34px;height:34px;place-items:center;border:1px solid #cbd5df;border-radius:50%;color:var(--navy);background:#fff;font-size:1.2rem;font-weight:800}.seal-picture-slot{overflow:hidden;border:2px dashed #b9c5d1}.seal-picture-slot.has-picture{aspect-ratio:auto;border-style:solid;border-color:#8bc6a5}.seal-picture-slot img{display:block;width:100%;height:auto;max-height:420px;object-fit:contain}.seal-placeholder{display:grid;height:100%;place-content:center;place-items:center;padding:18px;color:var(--muted);text-align:center}.seal-placeholder>span{display:grid;width:42px;height:42px;margin-bottom:8px;place-items:center;border-radius:50%;color:#fff;background:var(--navy);font-size:1.6rem}.seal-placeholder strong{color:var(--navy);font-size:.84rem}.seal-placeholder small{font-size:.7rem}.seal-task .status{margin-bottom:0;text-align:center}.luggage-card.complete .seal-task{border-color:#8bc6a5;background:#f2faf5}@media(max-width:700px){.smart-seal-layout{grid-template-columns:1fr}.smart-seal-link{height:28px}.smart-seal-link span{transform:rotate(90deg)}}
.smart-seal-layout.two-seals{grid-template-columns:minmax(220px,.8fr) 38px minmax(0,1.4fr)}.seal-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}@media(max-width:820px){.smart-seal-layout.two-seals{grid-template-columns:1fr}.seal-pair{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.seal-pair{grid-template-columns:1fr}}
.seal-hierarchy{display:grid;justify-items:center}.parent-luggage{width:min(100%,440px);padding:16px;border-color:#b9c5d1;background:#fff}.parent-luggage .customer-photo{display:block;width:100%;max-height:300px;aspect-ratio:4/3;margin:0;border-radius:9px;object-fit:cover}.hierarchy-branches{position:relative;width:52%;height:58px}.hierarchy-branches::before{position:absolute;top:0;left:50%;width:2px;height:29px;background:#bcc8d4;content:""}.hierarchy-branches::after{position:absolute;top:28px;right:0;left:0;height:2px;background:#bcc8d4;content:""}.hierarchy-branches span::before,.hierarchy-branches span::after{position:absolute;top:28px;width:2px;height:30px;background:#bcc8d4;content:""}.hierarchy-branches span::before{left:0}.hierarchy-branches span::after{right:0}.child-seals{width:100%;align-items:start}.child-seals .seal-task{position:relative}.child-seals .panel-label>span{background:var(--gold)}@media(max-width:560px){.hierarchy-branches{width:2px;height:32px;background:#bcc8d4}.hierarchy-branches::before,.hierarchy-branches::after,.hierarchy-branches span::before,.hierarchy-branches span::after{display:none}.child-seals{gap:16px}.child-seals .seal-task+ .seal-task::before{display:block;width:2px;height:16px;margin:-32px auto 16px;background:#bcc8d4;content:""}}
.seal-number-stage{display:grid;gap:9px;margin-top:14px;padding:13px;border:1px solid var(--line);border-radius:8px;background:#eef1f4;opacity:.58}.seal-number-stage.active{border-color:#b8c8d8;background:#fff;opacity:1}.seal-number-stage label{display:grid;gap:5px;color:var(--navy);font-size:.72rem;font-weight:800}.seal-number-input{width:100%;height:44px;padding:0 10px;border:1px solid var(--line);border-radius:6px;color:var(--navy);background:#fff;font-weight:800}.seal-number-input:disabled{cursor:not-allowed;color:#8a94a2;background:#e5e9ed}.seal-number-stage .button{margin:0}
.recap-state-actions{display:flex;align-items:center;gap:9px}.revise-seal{padding:6px 10px;border:1px solid var(--navy);border-radius:6px;color:var(--navy);background:#fff;font-size:.72rem;font-weight:800;cursor:pointer}.revise-seal:hover{color:#fff;background:var(--navy)}
.request-seal-cancellation{padding:6px 10px;border:1px solid var(--red);border-radius:6px;color:var(--red);background:#fff;font-size:.72rem;font-weight:800;cursor:pointer}.request-seal-cancellation:disabled{cursor:not-allowed;opacity:.6}.cancellation-panel{margin:0 0 24px;padding:22px;border:1px solid #ead6a7;border-radius:12px;background:#fffaf0}.cancellation-panel[hidden]{display:none}.cancellation-heading{display:flex;align-items:start;justify-content:space-between;gap:16px}.cancellation-heading p{margin:0;color:var(--gold);font-size:.7rem;font-weight:800;text-transform:uppercase}.cancellation-heading h2{margin:3px 0 18px;font:800 1.35rem "Manrope",Arial,sans-serif}.cancellation-panel>h3{margin:0 0 10px;font-size:.85rem}.cancellation-list{display:grid;gap:10px}.cancellation-card{display:grid;grid-template-columns:1fr 90px auto;align-items:center;gap:14px;padding:14px;border:1px solid var(--line);border-radius:9px;background:#fff}.cancellation-copy{display:grid;gap:3px}.cancellation-copy span,.cancellation-copy small{color:var(--muted);font-size:.72rem}.cancellation-copy p{margin:5px 0 0}.cancellation-card>img{width:90px;aspect-ratio:4/3;border-radius:6px;object-fit:cover}.cancellation-actions{display:grid;gap:7px}.cancellation-actions button{padding:7px 10px;border-radius:5px;font-weight:800;cursor:pointer}.approve-cancellation{border:0;color:#fff;background:var(--green)}.reject-cancellation{border:1px solid var(--red);color:var(--red);background:#fff}.cancellation-result{padding:6px 9px;border-radius:999px;color:#fff;font-size:.7rem;font-weight:800;text-transform:capitalize}.cancellation-result.approved{background:var(--green)}.cancellation-result.rejected{background:var(--red)}.cancellation-archive{margin-top:18px}.cancellation-archive summary{margin-bottom:12px;color:var(--navy);font-weight:800;cursor:pointer}@media(max-width:700px){.cancellation-card{grid-template-columns:1fr}.cancellation-card>img{width:100%;max-width:240px}.recap-state-actions{align-items:flex-end;flex-direction:column}}
.back-workflow{display:flex;min-width:130px;min-height:46px;align-items:center;justify-content:center;margin:24px 0 0;padding:0 20px;border:1px solid var(--navy);border-radius:6px;color:var(--navy);background:#fff;font-size:.75rem;font-weight:800;text-transform:uppercase;cursor:pointer}.back-workflow:hover{color:#fff;background:var(--navy)}.back-workflow:disabled{cursor:not-allowed;opacity:.5}
.delivery-panel { display: grid; gap: 24px; margin-top: 22px; }
.delivery-panel[hidden] { display: none !important; }
.delivery-panel .status { white-space: pre-line; }
.delivery-pin-entry { display: flex; gap: 12px; align-items: stretch; margin-top: 18px; }
.delivery-pin-entry input { width: 190px; padding: 14px; border: 1px solid #cad5e2; border-radius: 8px; color: #071a34; font-size: 1.35rem; font-weight: 800; letter-spacing: 6px; text-align: center; }
#deliveryOutcomeList { display: grid; gap: 16px; margin: 20px 0; }
.delivery-luggage { display: grid; gap: 14px; padding: 16px; border: 1px solid #dbe3ec; border-radius: 12px; background: #fff; }
.delivery-luggage-info { display: flex; gap: 14px; align-items: center; }
.delivery-luggage-info img { width: 88px; height: 88px; border-radius: 9px; object-fit: cover; }
.delivery-luggage-info div { display: grid; gap: 5px; }
.delivery-luggage-info small { color: #627185; }
.delivery-outcomes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.delivery-outcomes button { padding: 11px; border: 1px solid #94a7bd; border-radius: 8px; background: #fff; color: #153858; font-weight: 800; cursor: pointer; }
.delivery-outcomes button.active[data-outcome="delivered"] { border-color: #277a48; background: #e5f5eb; color: #176438; }
.delivery-outcomes button.active[data-outcome="missing"], .delivery-outcomes button.active[data-outcome="incident"] { border-color: #a92525; background: #b83232; color: #fff; box-shadow: 0 0 0 3px rgba(184,50,50,.16); }
.delivery-luggage[data-outcome="delivered"] .delivery-outcomes button[data-outcome="delivered"] { border-color: #277a48; background: #e5f5eb; color: #176438; box-shadow: 0 0 0 3px rgba(39,122,72,.13); }
.delivery-luggage[data-outcome="missing"] .delivery-outcomes button[data-outcome="missing"], .delivery-luggage[data-outcome="incident"] .delivery-outcomes button[data-outcome="incident"] { border-color: #a92525; background: #b83232; color: #fff; box-shadow: 0 0 0 3px rgba(184,50,50,.16); }
.delivery-report-item{display:grid;grid-template-columns:minmax(180px,240px) 1fr;gap:18px;align-items:center;margin:16px 0;padding:14px;border:1px solid var(--line);border-radius:10px;background:#fff}.delivery-report-item figure{margin:0}.delivery-report-item img,.delivery-report-photo-missing{display:block;width:100%;aspect-ratio:4/3;border-radius:8px;object-fit:cover;background:var(--cream)}.delivery-report-photo-missing{display:grid;place-items:center;padding:12px;color:var(--muted);font-size:.75rem;font-weight:800}.delivery-report-item figcaption{margin-top:6px;color:var(--navy);font-size:.72rem;font-weight:800}.delivery-report-item>span{display:grid;gap:6px}.delivery-report-item .cancellation-actions{margin-top:8px}
.booking-state-block{display:grid;justify-items:end;align-self:start;gap:7px}.booking-state-block time{max-width:145px;color:var(--muted);font-size:.7rem;font-weight:700;line-height:1.3;text-align:right}
.delivery-note { display: grid; gap: 7px; color: #9b2020; font-weight: 800; }
.delivery-note textarea { min-height: 90px; resize: vertical; padding: 11px; border: 1px solid #d58d8d; border-radius: 8px; font: inherit; }
@media (max-width: 620px) { .delivery-pin-entry { display: grid; } .delivery-pin-entry input { width: 100%; box-sizing: border-box; } .delivery-outcomes { grid-template-columns: 1fr; } .delivery-report-item { grid-template-columns: 1fr; } }
.luggage-card.complete .state,.luggage-recap-card header span{color:#8a5700;background:#fff4d8}

/* Responsive hardening */
html,body{max-width:100%;overflow-x:clip}button,input,select,textarea{max-width:100%;min-width:0}.topbar,.topbar nav{flex-wrap:wrap}.shell>*{min-width:0}.dashboard-booking>*{min-width:0}.luggage-recap-images figure{min-width:0}.single-seal-camera video{max-width:100%}
@media(max-width:700px){.dashboard-booking{grid-template-columns:1fr}.booking-state-block{justify-items:start}.booking-state-block time{text-align:left}.booking-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.luggage-recap-images{grid-template-columns:1fr}.cancellation-heading{flex-direction:column}.back-workflow{width:100%}}
@media(max-width:620px){.topbar{height:auto;min-height:70px;padding:8px 14px}.topbar nav{width:100%;gap:8px;padding-bottom:8px}.topbar nav>*{flex:1 1 120px;text-align:center}.shell{width:calc(100% - 20px);padding-top:20px}.booking-summary{grid-template-columns:1fr}.luggage-card>header,.luggage-recap-card header{align-items:flex-start;flex-direction:column}.delivery-luggage-info{align-items:flex-start}.delivery-luggage-info img{flex:0 0 72px;width:72px;height:72px}}
@media(max-width:390px){.booking-filters{grid-template-columns:1fr}.card{padding-inline:12px}.trustee-form{padding-inline:12px}.delivery-luggage-info{flex-direction:column}.delivery-luggage-info img{width:100%;height:auto;aspect-ratio:4/3}.luggage-progress>div:first-child{flex-direction:column}.panel-label{align-items:flex-start}}
.route-shell { max-width: 1100px; }
.route-list, .route-card, .route-luggage-list { display: grid; gap: 16px; }
.route-card { margin: 22px 0; padding: 20px; border: 1px solid var(--line, #d8dee6); border-radius: 18px; background: #f7f8fa; }
.route-card > header, .route-batch-heading { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.route-card p, .route-batch-heading p { margin: 0 0 4px; color: #9a6810; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; }
.route-card h2, .route-batch h3 { margin: 0; color: #071a34; }
.route-status { display: inline-block; padding: 6px 10px; border-radius: 999px; background: #e8eef5; color: #071a34; font-size: .78rem; font-weight: 800; text-transform: capitalize; }
.route-status-actions{display:flex;align-items:center;gap:8px}.batch-timeline-button{width:34px;height:34px;padding:0;border:1px solid #cbd6e2;border-radius:50%;background:#fff;color:#071a34;font-size:1.1rem;font-weight:800;cursor:pointer}.batch-timeline-button:hover,.batch-timeline-button:focus{border-color:#b9892f;color:#9a6810}.batch-timeline-dialog{width:min(520px,calc(100% - 24px));max-width:520px;max-height:88vh;overflow:auto}.timeline-kicker{margin:0;color:#9a6810;font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.batch-timeline{list-style:none;margin:22px 0;padding:0}.batch-timeline li{position:relative;margin-left:10px;padding:0 0 20px 30px;border-left:2px solid #d9e1e9}.batch-timeline li:last-child{border-left-color:transparent}.batch-timeline li::before{content:"";position:absolute;left:-8px;top:2px;width:14px;height:14px;border-radius:50%;background:#fff;border:2px solid #aab8c7}.batch-timeline li.done::before{background:#2d8158;border-color:#2d8158}.batch-timeline li.current::before{background:#c28c27;border-color:#c28c27;box-shadow:0 0 0 4px #f5e8cc}.batch-timeline li strong,.batch-timeline li span,.batch-timeline li small{display:block}.batch-timeline li span,.batch-timeline li small,.batch-timeline-events small{color:#667587}.batch-timeline-events{display:grid;gap:8px}.batch-timeline-event{padding:10px 12px;border-radius:8px;background:#f4f7fa}.batch-timeline-event strong,.batch-timeline-event small{display:block}
.route-batch { margin: 0; }
.route-shared-stop { display: grid; gap: 12px; padding: 16px; border: 2px solid #b9d1eb; border-radius: 14px; background: #f1f7fd; }
.route-shared-stop-heading { display: grid; gap: 4px; color: #123f6d; }
.route-shared-stop-heading strong { font-size: 1.08rem; }
.route-batch.selected-route-batch { border-color: #c58a22; box-shadow: 0 0 0 3px rgba(197, 138, 34, .16); scroll-margin-top: 20px; }
.route-address { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.route-customer-name { display: block; margin-top: 6px; color: #071a34; }
.route-luggage { display: grid; grid-template-columns: 72px minmax(120px, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line, #d8dee6); }
.route-luggage img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; background: #eef1f4; }
.route-luggage > div { display: grid; gap: 4px; }
.route-decisions { display: flex !important; flex-wrap: wrap; justify-content: flex-end; }
.route-controls { display: flex; justify-content: flex-end; margin-top: 16px; }
.route-batch .route-controls{flex-wrap:wrap;justify-content:flex-start;align-items:flex-end;gap:12px}.route-booking-action{display:grid;flex:0 1 240px;min-width:0;gap:4px}.route-booking-action strong,.route-booking-action span{overflow-wrap:anywhere}.route-booking-action span{color:#657487;font-size:.82rem}.route-booking-action .button{width:100%;min-height:52px;margin:8px 0 0}.route-batch .route-controls>button[data-action="custody"]{flex:0 1 240px;width:240px;min-height:52px;margin:0}@media(max-width:600px){.route-booking-action,.route-batch .route-controls>button[data-action="custody"]{flex:1 1 100%;width:100%}}
.reception-booking-tickets{display:grid;gap:10px;margin-top:22px;padding-top:18px;border-top:1px solid #d9e1e9}.reception-booking-tickets h3,.reception-booking-tickets p{margin:0}.reception-booking-tickets p{color:#657487;font-size:.86rem}.reception-booking-tickets figure{margin:0;padding:10px;border:1px solid #d9e1e9;border-radius:10px}.reception-booking-tickets img{display:block;width:100%;max-height:360px;object-fit:contain;background:#f4f7fa;border-radius:7px}.reception-booking-tickets figcaption{padding-top:5px;font-size:.82rem;font-weight:700}
.route-outcome { font-weight: 800; text-transform: capitalize; }.route-outcome.accepted { color: #23733d; }.route-outcome.refused, .route-outcome.incident { color: #a12b2b; }
.button.danger { border-color: #a12b2b; color: #a12b2b; }.button.warning { border-color: #9a6810; color: #805300; }
.route-create { margin-bottom: 24px; }.route-create-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }.route-create-form fieldset { grid-column: 1 / -1; }.route-candidates { display: grid; gap: 8px; }.route-candidates label { display: flex; align-items: center; gap: 10px; }.route-candidates span { display: grid; }.route-candidates small { color: #5c6875; }
.route-authorization { margin-bottom: 24px; border: 2px solid #d59b24; background: #fff8e8; }.route-authorization > p:first-child { color: #8a5700; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.route-operation-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:18px; }.route-operation-grid form { display:grid; gap:10px; align-content:start; padding:14px; border:1px solid var(--line,#d8dee6); border-radius:12px; }.route-operation-grid h3 { margin:0; }.driver-shift-item { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:12px 0; border-top:1px solid var(--line,#d8dee6); }
.operation-menu { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:18px; }.operation-menu a { color:inherit; text-decoration:none; }.operation-form { display:grid; grid-template-columns:repeat(auto-fit,minmax(210px,1fr)); gap:14px; margin-bottom:22px; }.operation-item { display:flex; justify-content:space-between; align-items:flex-start; gap:16px; }.operation-actions { display:flex; flex-wrap:wrap; gap:8px; }
.agenda-toolbar { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:20px 0; }.agenda-toolbar strong { flex:1; min-width:180px; text-align:center; }.agenda-calendar { display:grid; gap:10px; }.agenda-week { grid-template-columns:repeat(7,minmax(130px,1fr)); overflow-x:auto; }.agenda-month { grid-template-columns:repeat(7,minmax(110px,1fr)); overflow-x:auto; }.agenda-day { min-height:150px; padding:10px; border:1px solid #ddd7cc; border-radius:12px; background:#fff; }.agenda-day header { padding-bottom:8px; border-bottom:1px solid #eee8de; }.agenda-shift { display:grid; gap:4px; margin-top:8px; padding:8px; border-radius:9px; background:#f3eee5; }.agenda-shift small { display:block; }.agenda-shift span { display:flex; gap:6px; }.agenda-shift button { border:0; padding:0; color:#70522e; background:none; cursor:pointer; text-decoration:underline; }.agenda-empty { display:block; margin-top:10px; color:#83796d; }
@media (max-width:700px) { .agenda-week,.agenda-month { grid-template-columns:1fr; }.agenda-day { min-height:auto; }.agenda-toolbar strong { order:-1; flex-basis:100%; } }
.availability-form fieldset { min-width:0; border:0; padding:0; margin:0; }.availability-form legend { margin-bottom:8px; font-weight:600; }.date-add-row,.agenda-navigation { display:flex; align-items:center; gap:7px; }.compact-button { min-height:34px; padding:6px 11px; }.range-choices { display:flex; flex-wrap:wrap; gap:8px; }.range-choices label { display:flex; align-items:center; gap:5px; padding:8px 10px; border:1px solid #ddd7cc; border-radius:9px; cursor:pointer; }.range-choices small { color:#756b60; }.selected-dates { grid-column:1/-1; display:flex; flex-wrap:wrap; gap:7px; }.selected-dates button { border:1px solid #cdbfae; border-radius:999px; padding:6px 10px; background:#f7f2ea; cursor:pointer; }.agenda-filters { display:flex; flex-wrap:wrap; align-items:end; gap:12px; margin:20px 0; padding:12px 14px; }.agenda-filters label { min-width:130px; }.agenda-filters strong { flex:1; min-width:190px; text-align:right; }
.route-batch-times { display:flex; flex-wrap:wrap; gap:16px; margin-top:10px; }.route-batch-times span { display:grid; gap:2px; font-size:.9rem; }.route-batch-times strong { color:#766b5e; font-size:.72rem; letter-spacing:.04em; text-transform:uppercase; }
.route-header-window { display:flex; align-items:center; gap:8px; margin-top:7px; }.route-header-window strong { font-size:.72rem; letter-spacing:.04em; text-transform:uppercase; }.route-header-window span { font-weight:600; }
.driver-shift-overview { margin:20px 0; }.driver-shift-overview-heading,.driver-coming-shift { display:flex; align-items:center; justify-content:space-between; gap:14px; }.driver-shift-overview-heading h2 { margin:2px 0 0; }.driver-coming-shift { padding:14px 0; border-top:1px solid #e7dfd4; }.driver-coming-shift div { display:grid; gap:3px; }.driver-coming-shift span,.driver-coming-shift small { color:#74695c; }.driver-main-route { display:grid; gap:4px; margin:10px 0; padding:12px; border:1px solid #ded5c8; border-radius:10px; color:inherit; text-decoration:none; }.driver-main-route:hover { background:#f8f3eb; }.driver-main-route small { color:#74695c; }.driver-shift-overview details { margin-top:14px; }.driver-shift-overview details p { display:flex; justify-content:space-between; gap:12px; padding:7px 0; border-bottom:1px solid #eee7dc; }
.driver-home-links,.route-filters{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.route-filters{margin-bottom:20px}.route-filters[hidden],.booking-tools[hidden],.booking-filters[hidden],.dashboard-list[hidden]{display:none}.route-filters label{display:grid;flex:1 1 180px;gap:6px;color:#071a34;font-size:.75rem;font-weight:800}.route-filters input,.route-filters select{min-height:42px;padding:8px 10px;border:1px solid var(--line,#d8dee6);border-radius:7px;background:#fff}.route-filters .button{margin:0}
.route-qr-dialog { max-width: 440px; padding: 28px; border: 0; border-radius: 16px; box-shadow: 0 18px 60px #071a3440; }.route-qr-dialog::backdrop { background: #071a34aa; }.route-qr-dialog img { display: block; width: min(100%, 340px); margin: 18px auto; }.dialog-close { float: right; border: 0; background: none; font-size: 1.8rem; cursor: pointer; }
.route-qr-dialog video { display:block; width:100%; margin:16px 0; border-radius:12px; background:#071a34; }
.incident-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;width:100%;padding:14px;border:1px solid #e5caca;border-radius:10px;background:#fff7f7}.incident-actions strong,.incident-actions small{width:100%;display:block}.incident-actions small{color:#775b5b}.incident-actions .button{width:auto;margin:0}
.booking-timeline-link{display:inline-flex;align-items:center;justify-content:center;margin-top:6px;text-decoration:none}
.batch-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0}.batch-summary-grid span,.batch-booking-references{display:grid;gap:3px;padding:11px;border-radius:8px;background:#f4f7fa}.batch-summary-grid strong,.batch-booking-references strong{color:#657487;font-size:.7rem;text-transform:uppercase}.batch-booking-references{margin-bottom:8px}.batch-timeline-dialog .route-controls .button{width:auto}@media(max-width:520px){.batch-summary-grid{grid-template-columns:1fr}.batch-timeline-dialog .route-controls .button{width:100%}}
.reception-booking-dialog{width:min(680px,calc(100% - 24px));max-width:680px;max-height:min(90dvh,900px);padding:0;border:0;border-radius:16px;box-shadow:0 24px 70px #071a3459;overflow:auto;color:#071a34}.reception-booking-dialog::backdrop{background:#071a34bb}.reception-booking-header{position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:18px 22px;background:#fff;border-bottom:1px solid #d9e1e9}.reception-booking-header p{margin:0;color:#9a6810;font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.reception-booking-header h2{margin:3px 0 0;font:800 1.35rem Manrope,Arial,sans-serif}.reception-booking-header .dialog-close{float:none;flex:none;width:44px;height:44px;border:1px solid #cbd6e2;border-radius:50%;background:#fff;line-height:1}.reception-booking-dialog>.status{margin:18px 22px}.reception-booking-content{padding:20px 22px 28px}.reception-booking-reference{margin:0 0 18px;font-weight:800;font-size:1.1rem}.reception-booking-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0}.reception-booking-facts>div{min-width:0;padding:12px;border-radius:9px;background:#f4f7fa}.reception-booking-facts dt{color:#657487;font-size:.72rem;font-weight:800;text-transform:uppercase}.reception-booking-facts dd{margin:5px 0 0;overflow-wrap:anywhere}.reception-booking-gallery{display:grid;gap:18px;margin-top:22px}.reception-booking-gallery h3{margin:0}.reception-booking-bag{padding:14px;border:1px solid #d9e1e9;border-radius:12px}.reception-booking-bag>img{display:block;width:100%;max-height:320px;object-fit:contain;background:#f4f7fa;border-radius:8px}.reception-booking-seals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}.reception-booking-seals figure{margin:0;min-width:0}.reception-booking-seals img,.reception-booking-seal-placeholder{display:block;width:100%;height:140px;object-fit:contain;background:#f4f7fa;border-radius:8px}.reception-booking-seal-placeholder{display:grid;place-items:center;color:#657487}.reception-booking-seals figcaption{padding-top:5px;font-size:.82rem;overflow-wrap:anywhere}@media(max-width:600px){.reception-booking-dialog{position:fixed;inset:0;width:100vw;max-width:none;max-height:none;height:100dvh;margin:0;border-radius:0}.reception-booking-header{padding:calc(12px + env(safe-area-inset-top)) 16px 12px}.reception-booking-content{padding:16px 16px calc(20px + env(safe-area-inset-bottom))}.reception-booking-facts{grid-template-columns:1fr}.reception-booking-seals img,.reception-booking-seal-placeholder{height:112px}}
@media (max-width: 720px) { .route-luggage { grid-template-columns: 64px 1fr; }.route-decisions { grid-column: 1 / -1; justify-content: stretch; }.route-decisions .button { flex: 1; }.route-create-form { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .driver-shift-overview-heading { align-items:flex-start; flex-direction:column; }.driver-home-links { width:100%; }.driver-home-links .button { flex:1; }.route-filters .button { width:100%; } }
