/* Approved courier168/169 presentation, on the existing live courier runtime. */
#courierApp{--bc-ink:#101441;--bc-muted:#51678f;--bc-blue:#006eff;--bc-gradient:linear-gradient(110deg,#00acff,#006eff);background:radial-gradient(ellipse at 20% 0,#d4edff,transparent 58%),linear-gradient(145deg,#f5faff,#e6f2ff);color:var(--bc-ink);font-family:Cabin,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
#courierApp .courier-main{max-width:900px;padding:0 15px calc(125px + env(safe-area-inset-bottom,0px))}
#courierApp .bc-header{max-width:900px;position:relative;padding-bottom:12px;padding-right:63px}
#courierApp .bc-theme170{position:absolute;right:13px;top:50%;transform:translateY(-50%);min-width:44px;height:44px;display:grid;place-items:center;padding:10px;border:1px solid #d6e7fc;border-radius:50%;color:#0075f8;background:#ffffffd9;box-shadow:0 3px 13px #567fa210;cursor:pointer}
#courierApp .bc-theme170 svg{width:21px;height:21px}
#courierApp .bc-night-logo170{display:none}
#courierApp :is(button,a,input,textarea,select):focus-visible{outline:3px solid #1679ef;outline-offset:3px}
#courierApp :is(button,a){touch-action:manipulation}
#courierApp .bc104-hero{margin:0 0 13px;min-height:228px;border-radius:26px;background:#d4eaff;box-shadow:0 7px 25px #779dc015}
#courierApp .bc104-hero-image{width:100%;object-position:right center}
#courierApp .bc104-hero:before{background:linear-gradient(90deg,#f4fafffc 0%,#f0f8fff2 28%,#e5f3ff9c 56%,#e6f4ff0d 82%),linear-gradient(0deg,#e5f3ffd9,transparent 45%)}
#courierApp .bc104-hero-content{padding:23px 21px 25px;gap:5px}
#courierApp .bc104-hero-kicker{display:flex;gap:9px;padding:8px 12px;border-radius:20px;background:#ffffffbd;border:1px solid #fff;color:#304e79;font-size:13px;margin:0 0 9px}
#courierApp .bc104-hero h2{font-size:34px;line-height:1.12;letter-spacing:-.8px;max-width:95%;color:#101441;margin:0 0 3px}
#courierApp .bc104-hero-date{font-size:14px;color:#51678f;margin:0}
#courierApp .bc170-tour-meta,#courierApp .bc170-picker-description{margin:3px 0 0;color:#51678f;font-size:14px;line-height:1.4}
#courierApp .bc104-hero .bc-evening-plan{margin-top:12px}
#courierApp .bc104-hero .bc-evening-plan>.btn{font-size:14px;min-height:44px;padding:11px 14px;border-color:#fff;background:#eaf4ffdf;border-radius:999px}
#courierApp .bc-tour-picker{padding:0}
#courierApp .bc-picker-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;padding:0;margin:0 0 13px;border:1px solid #fff;border-radius:20px;background:#ffffffa8;box-shadow:0 5px 20px #779dc00d}
#courierApp .bc-picker-tabs .btn{display:flex;align-items:center;justify-content:center;gap:10px;min-width:0;min-height:63px;border:0;border-radius:19px;background:transparent;color:#21385e;padding:10px 8px;box-shadow:none;font-size:15px;line-height:1.25}
#courierApp .bc-picker-tabs .btn svg{width:25px;height:25px;flex:0 0 auto;color:#53739e}
#courierApp .bc-picker-tabs .btn span{text-align:left}
#courierApp .bc-picker-tabs small{display:block;font-size:11px;font-weight:400;margin-top:3px}
#courierApp .bc-picker-tabs .primary{background:var(--bc-gradient);color:white;box-shadow:inset 0 1px 5px #c0eeff77,0 3px 16px #068bff20}
#courierApp .bc-picker-tabs .primary svg{color:white}
#courierApp .bc-route-card{display:grid;grid-template-columns:34px minmax(0,1fr);gap:4px 13px;align-items:center;padding:18px 16px 14px 13px;margin:0 0 12px;min-height:0;border:1px solid #fff;border-left:4px solid #00a5ff;border-radius:23px;background:linear-gradient(130deg,#fffffff7,#ffffffdb);box-shadow:0 6px 22px #789fc013;overflow:hidden}
#courierApp .bc-route-card .bc-route-icon{position:static;inset:auto;float:none;grid-column:1;grid-row:1/4;display:grid;place-items:center;width:33px;height:33px;padding:9px;border-radius:50%;background:var(--bc-gradient);color:#fff;margin:0}
#courierApp .bc-route-card .bc-route-icon svg{width:17px;height:17px}
#courierApp .bc-route-card h3{grid-column:2;font-size:23px;line-height:1.15;letter-spacing:-.4px;margin:0 0 5px;overflow-wrap:anywhere;color:var(--bc-ink)}
#courierApp .bc-route-schedule{grid-column:2;font-size:13px;color:var(--bc-muted);margin:0;line-height:1.5}
#courierApp .bc-route-state{grid-column:2;font-size:12px;color:#42638e;line-height:1.4;margin:2px 0 5px}
#courierApp .bc-route-card>.badge{grid-column:2}
#courierApp .bc-route-card>.primary{grid-column:2;width:100%;min-height:44px;margin:8px 0 0;background:var(--bc-gradient);border:0;border-radius:14px;color:#fff;display:flex;align-items:center;justify-content:center;gap:10px;font-size:14px;line-height:1.3;padding:11px 10px}
#courierApp .bc-route-card>.primary svg{width:17px;height:17px}
#courierApp .bc-route-card>.primary:disabled{background:#dceafa;color:#516b90;opacity:1;box-shadow:none}
#courierApp .bc170-taken{border-left-color:#08b999}
#courierApp .bc170-taken .bc-route-icon{background:#08b999}
#courierApp .bc170-unavailable{border-left-color:#a7b6cc}
#courierApp .bc-picker-help{border-radius:18px;font-size:13px;color:#51678f;background:#ffffff85}
#courierApp #journeyHost .bc104-stats{gap:8px;margin-bottom:13px}
#courierApp #journeyHost .bc104-stats .bc-stat{border:1px solid #fff;background:linear-gradient(140deg,#fffffffa,#ffffffde);border-radius:23px;padding:13px 7px 10px;min-height:145px;gap:4px;box-shadow:0 6px 20px #9abce812}
#courierApp #journeyHost .bc104-stats .bc104-stat-icon{width:41px;height:41px;margin:0 0 1px}
#courierApp #journeyHost .bc104-stats .bc104-stat-label{font-size:12px;white-space:normal;line-height:1.3;color:var(--bc-ink)}
#courierApp #journeyHost .bc104-stats b{font-size:28px;color:var(--bc-ink);margin:0}
#courierApp #journeyHost .bc104-stats small{font-size:12px;color:var(--bc-muted);margin:0}
#courierApp .bc170-timeline{position:static;inset:auto;z-index:auto;transform:none;backdrop-filter:none;justify-content:initial;display:flex;gap:0;border:1px solid #fff;border-radius:23px;padding:14px 7px;margin:0 0 13px;background:#ffffffde;box-shadow:0 5px 20px #9abce815}
#courierApp .bc170-timeline button{position:relative;flex:1;min-width:0;padding:0 3px;border:0;background:transparent;display:flex;align-items:center;gap:6px;flex-direction:column;cursor:pointer;color:#526d96}
#courierApp .bc170-timeline button:before{content:'';position:absolute;top:19px;left:-50%;right:50%;height:2px;background:#d6e7fa;pointer-events:none}
#courierApp .bc170-timeline button:first-child:before{display:none}
#courierApp .bc170-timeline-circle{position:relative;z-index:1;display:grid;place-items:center;width:39px;height:39px;border-radius:50%;border:1px solid #d7e8fb;background:linear-gradient(145deg,#f9fcff,#eaf4ff);box-shadow:inset 0 1px 4px #afd3fc40;font-size:15px}
#courierApp .bc170-timeline-circle svg{width:23px;height:23px}
#courierApp .bc170-timeline strong{font-size:11px;line-height:1.3;font-weight:500;overflow-wrap:anywhere;max-width:100%}
#courierApp .bc170-timeline time{font-size:11px}
#courierApp .bc170-timeline .current .bc170-timeline-circle{background:var(--bc-gradient);color:#fff;border-color:#0076ff;box-shadow:inset 0 1px 5px #d2f6ff60,0 3px 10px #0076ff25}
#courierApp .bc170-timeline .current strong,#courierApp .bc170-timeline .current time{color:#005de2;font-weight:700}
#courierApp .bc170-timeline .completed .bc170-timeline-circle{background:linear-gradient(135deg,#c3e5ff,#a6d1ff);color:#0071ff;border-color:#d8f3ff}
#courierApp #journeyHost .bc-stage{background:linear-gradient(135deg,#fffffff7,#ffffffeb);border:1px solid #fff;border-radius:25px;padding:17px 15px;box-shadow:0 6px 26px #8eafd81a;margin-bottom:13px}
#courierApp .bc-stage-top{gap:9px}
#courierApp .bc-step-badge{background:#edf4ff;color:#006bff;font-size:12px;border-radius:10px;padding:7px 9px;white-space:nowrap}
#courierApp .bc-step-time{font-size:12px;color:#546e99;line-height:1.3}
#courierApp .bc-map{min-width:44px;min-height:44px;border-radius:50%;background:#f4f9ff;border:1px solid #e3eeff}
#courierApp .bc-stage-place{margin:18px 0;gap:13px}
#courierApp .bc-stage-place h3{font-size:22px;line-height:1.25;letter-spacing:-.4px;color:var(--bc-ink)}
#courierApp .bc-stage-place p{font-size:14px;line-height:1.5;color:var(--bc-muted)}
#courierApp .bc-instructions{margin:13px 0}
#courierApp .bc-instructions summary{font-size:14px;color:#264d82}
#courierApp .bc-instructions p{border-radius:15px;padding:12px 13px;background:#edf5ff;color:#4e6590;font-size:14px;line-height:1.5;white-space:pre-wrap}
#courierApp #journeyHost .bc-stage-primary{border-radius:14px;background:var(--bc-gradient);font-size:15px;min-height:48px;margin-top:12px;display:flex;align-items:center;justify-content:center;gap:12px}
#courierApp .bc-contact{gap:8px;margin-top:9px}
#courierApp .bc-contact :is(a,button){min-height:44px;background:#f6faff;border:1px solid #9ac8ff;color:#0069f5;border-radius:13px;font-size:14px;min-width:0;overflow-wrap:anywhere}
#courierApp .bc-contact svg{width:22px;height:22px;flex-shrink:0}
#courierApp .bc-observation-bar{margin-top:17px;padding-top:12px;border-top:1px solid #e0ecfc;gap:6px}
#courierApp .bc-observation-link{font-size:13px;color:#1e365c}
#courierApp .bc-add-note{min-height:44px;font-size:13px;border-radius:12px;border-color:#b8d7ff;color:#0074ff}
#courierApp .bc104-nav.bc-bottom-nav{bottom:calc(12px + env(safe-area-inset-bottom,0px));width:min(600px,calc(100% - 24px));min-height:0;padding:6px 5px;border:1px solid #ffffffed;border-radius:40px;background:linear-gradient(120deg,#e9f5ffed,#f8fcfff0);box-shadow:inset 0 0 0 3px #ffffff70,0 5px 25px #7fb6e829;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);align-items:center}
#courierApp .bc104-nav.bc170-selection-nav{grid-template-columns:repeat(3,minmax(0,1fr))}
#courierApp .bc104-nav button{min-height:58px;padding:6px 3px;font-size:11px;color:#53678f;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;border:1px solid transparent;border-radius:32px;background:transparent;min-width:0}
#courierApp .bc104-nav button.selected{background:linear-gradient(125deg,#d1eaffbb,#f6fcff);color:#0075ff;box-shadow:inset 0 0 0 2px #ffffff90,0 3px 10px #83bbec18;border-color:#fff}
#courierApp .bc104-nav button svg{width:25px;height:25px}
#courierApp .bc104-nav .bc-scan-button{margin-top:-22px;align-self:center;width:66px;height:66px;min-width:66px;min-height:66px;max-width:66px;max-height:66px;aspect-ratio:1;flex-shrink:0;box-sizing:border-box;padding:0;background:transparent;border:0}
#courierApp .bc104-nav .bc-scan-circle{width:66px;height:66px;min-width:66px;min-height:66px;max-width:66px;max-height:66px;aspect-ratio:1;flex:0 0 66px;box-sizing:border-box;border-radius:50%;border:3px solid #fff;background:var(--bc-gradient);box-shadow:0 4px 17px #008cff35,inset 0 1px 5px #bbf1ff80;color:#fff;gap:2px}
#courierApp .bc104-nav .bc-scan-circle span{font-size:11px}
#courierApp .bc104-badge{border-radius:50%;min-width:19px;height:19px;aspect-ratio:1;display:grid;place-items:center;font-size:10px;border:1px solid #fff}
#courierApp .bc104-badge[hidden]{display:none}
#courierApp .bc-journey-footer{margin:15px 0;color:var(--bc-muted)}
#courierApp .bc104-sync{font-size:12px}
html[data-courier-theme170="dark"]{color-scheme:dark;background:#101f32}
html[data-courier-theme170="dark"] body{background:#101f32;color:#edf5ff}
html[data-courier-theme170="dark"] #courierApp{--bc-ink:#edf5ff;--bc-muted:#b4c9df;--bc-blue:#9bd4ff;--bc-gradient:linear-gradient(110deg,#0873c7,#0758ce);background:radial-gradient(ellipse at 20% 0,#34577488,transparent 60%),linear-gradient(150deg,#18364f,#101f32);color:#edf5ff}
html[data-courier-theme170="dark"] #courierApp .bc-logo{display:none}
html[data-courier-theme170="dark"] #courierApp .bc-night-logo170{display:block;width:100%;height:auto;max-width:258px;object-fit:contain}
html[data-courier-theme170="dark"] #courierApp :is(.bc104-tagline,.bc-identity,.bc-identity strong,#courierSync,.bc-picker-help,.bc-stage-place p,.bc-step-time,.bc-route-state,.bc104-sync){color:#b9cee5}
html[data-courier-theme170="dark"] #courierApp :is(.bc-theme170,#courierMenu149,.bc-map,.bc-tools button){background:#24445e;border-color:#53738e;color:#b1ddff}
html[data-courier-theme170="dark"] #courierApp .bc104-hero{background:#183249;border:1px solid #56769155}
html[data-courier-theme170="dark"] #courierApp .bc104-hero-image{filter:brightness(.53) saturate(.78)}
html[data-courier-theme170="dark"] #courierApp .bc104-hero:before{background:linear-gradient(90deg,#183249ff,#183249ed 30%,#18324999 60%,#18324910),linear-gradient(0deg,#183249ed,transparent 70%)}
html[data-courier-theme170="dark"] #courierApp .bc104-hero h2{color:#edf5ff}
html[data-courier-theme170="dark"] #courierApp :is(.bc104-hero-date,.bc170-tour-meta,.bc170-picker-description){color:#c3d6ea}
html[data-courier-theme170="dark"] #courierApp :is(.bc104-hero-kicker,.bc104-hero .bc-evening-plan>.btn){background:#284861e6;border-color:#8badc466;color:#b6e1ff}
html[data-courier-theme170="dark"] #courierApp :is(.bc-route-card,#journeyHost .bc-stage,#journeyHost .bc104-stats .bc-stat,.bc170-timeline,.bc-picker-tabs){background:linear-gradient(140deg,#1c384f,#183249);border-top-color:#53708a77;border-right-color:#53708a77;border-bottom-color:#53708a77;box-shadow:0 6px 24px #040e191c}
html[data-courier-theme170="dark"] #courierApp :is(.bc-picker-tabs,.bc170-timeline,#journeyHost .bc-stage,#journeyHost .bc104-stats .bc-stat){border-color:#53708a77}
html[data-courier-theme170="dark"] #courierApp .bc-picker-tabs .btn{color:#c7dbef}
html[data-courier-theme170="dark"] #courierApp .bc-picker-tabs .btn svg{color:inherit}
html[data-courier-theme170="dark"] #courierApp .bc-picker-tabs .primary{color:#fff;background:var(--bc-gradient)}
html[data-courier-theme170="dark"] #courierApp .bc-route-card>.primary:disabled{background:#2b4960;color:#c3d4e7}
html[data-courier-theme170="dark"] #courierApp .bc170-timeline button{color:#bed0e6}
html[data-courier-theme170="dark"] #courierApp .bc170-timeline button:before{background:#3a5772}
html[data-courier-theme170="dark"] #courierApp .bc170-timeline-circle{background:#1b344c;border-color:#4a6c8c;color:#c2d6ee}
html[data-courier-theme170="dark"] #courierApp .bc170-timeline .completed .bc170-timeline-circle{background:#254e70;border-color:#669fc9;color:#b6e3ff}
html[data-courier-theme170="dark"] #courierApp .bc170-timeline .current :is(strong,time){color:#b1e1ff}
html[data-courier-theme170="dark"] #courierApp .bc-step-badge{background:#254e72;color:#a5d7ff}
html[data-courier-theme170="dark"] #courierApp .bc-instructions summary{color:#c9def4}
html[data-courier-theme170="dark"] #courierApp :is(.bc-instructions p,.bc-note-card,.bc-picker-help){background:#18364d;color:#c2d6ec;border-color:#3c5d7d}
html[data-courier-theme170="dark"] #courierApp .bc-contact :is(a,button){background:#1d3b53;border-color:#5280a5;color:#a9dbff}
html[data-courier-theme170="dark"] #courierApp .bc-observation-bar{border-color:#45617b}
html[data-courier-theme170="dark"] #courierApp .bc-observation-link{color:#edf4ff}
html[data-courier-theme170="dark"] #courierApp .bc-add-note{background:#25445d;border-color:#587fa4;color:#b1ddff}
html[data-courier-theme170="dark"] #courierApp .bc104-nav{background:linear-gradient(115deg,#244964f5,#18364ff5,#1d3d57f5);border-color:#88adcc6b;box-shadow:inset 0 0 0 3px #9fd4ff0a,0 7px 30px #030e1e50}
html[data-courier-theme170="dark"] #courierApp .bc104-nav button{color:#c4d6ec}
html[data-courier-theme170="dark"] #courierApp .bc104-nav button.selected{background:linear-gradient(130deg,#345e81,#254967);color:#b1e1ff;border-color:#8fbadd6b;box-shadow:inset 0 1px 4px #b7dcff22}
/* Dialogs are siblings of the courier app. The root attribute is removed in management/login mode. */
html[data-courier-theme170="dark"] :is(#journeyModal,#detailModal .modal,#eveningModal .modal,#actionConfirm .modal,#qrScanModal .modal){background:#162f45;color:#edf5ff;border-color:#506f89}
html[data-courier-theme170="dark"] :is(#journeyModal,#detailModal,#eveningModal,#actionConfirm,#courierApp) :is(h1,h2,h3,h4,label,legend,.place-title,.bc-step132-copy strong){color:#edf5ff}
html[data-courier-theme170="dark"] :is(#journeyModal,#detailModal,#eveningModal,#actionConfirm,#courierApp) :is(.sub,.note,.bc-step132-copy>span,.bc-dialog-place p){color:#bed1e6}
html[data-courier-theme170="dark"] :is(#journeyModal,#detailModal,#eveningModal,#actionConfirm,#courierApp) :is(input,textarea,select){background:#142e43;color:#e9f3ff;border-color:#4d6b84;caret-color:#9bd4ff}
html[data-courier-theme170="dark"] :is(input,textarea)::placeholder{color:#adc3da;opacity:1}
html[data-courier-theme170="dark"] :is(#journeyModal,#detailModal,#eveningModal,#courierApp) :is(.bc-dialog-place,.bc-step132-action,.detailrow,.note,.card,.bc-account-person){background:#1c3a53;border-color:#466882;color:#edf5ff}
html[data-courier-theme170="dark"] :is(#journeyModal,#detailModal,#eveningModal,#courierApp) :is(.secondary,.btn:not(.primary),.bc-step132-cancel,.bc-back118-actions>button){background:#24445e;border-color:#587b98;color:#b4dfff}
html[data-courier-theme170="dark"] #journeyModal :is(.bc-back118-grip,.bc-step132-time){color:#bed1e6}
html[data-courier-theme170="dark"] #journeyModal .bc-back118-grip span{background:#8098b0}
html[data-courier-theme170="dark"] #courierApp :is(.bc-stat progress,.bc-stat progress::-webkit-progress-bar){background:#36516f}
html[data-courier-theme170="dark"] #courierSidebar149 :is(.cs149-link.selected,.cs149-scan){background:linear-gradient(135deg,#0873c7,#0758ce);color:#fff}
@media(max-width:899px){#courierApp.cs149>.courier-header{padding-right:63px;gap:9px;grid-template-columns:44px minmax(0,1fr) minmax(0,1fr)}#courierApp .bc104-tagline{display:none}}
@media(max-width:390px){#courierApp .bc104-hero h2{font-size:30px}#courierApp .bc104-hero-content{padding-inline:17px}#courierApp .bc-route-card h3{font-size:21px}#courierApp .bc170-timeline strong{font-size:10px}#courierApp .bc104-nav button{font-size:10px}#courierApp .bc104-stats .bc104-stat-label{font-size:11px}}
@media(min-width:680px){#courierApp .bc104-hero{min-height:285px}#courierApp .bc104-hero h2{font-size:42px}#courierApp .bc104-hero-content{padding:30px}#courierApp .bc-route-card{padding:23px 23px 19px 19px;grid-template-columns:42px minmax(0,1fr)}#courierApp .bc-route-card .bc-route-icon{width:40px;height:40px}#courierApp .bc-route-card h3{font-size:27px}#courierApp .bc170-timeline{padding:20px 16px}#courierApp .bc170-timeline strong,#courierApp .bc170-timeline time{font-size:13px}#courierApp #journeyHost .bc-stage{padding:24px}}
@media(prefers-reduced-motion:reduce){#courierApp *,#courierSidebar149 *,#journeyModal *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media(prefers-reduced-transparency:reduce),(prefers-contrast:more){#courierApp .bc104-nav{background:#f5faff;backdrop-filter:none;-webkit-backdrop-filter:none}html[data-courier-theme170="dark"] #courierApp .bc104-nav{background:#244760}}
@media print{#courierApp .bc-theme170,#courierApp .bc104-nav{display:none!important}}
html[data-courier-theme170="dark"] #courierApp :is(.offline86-status,.bc104-sync,.bc-picker-help){background:#24445e;color:#c7dbee;border-color:#4d6b84}
html[data-courier-theme170="dark"] #courierApp .bc104-actions button{background:#24445e;color:#c7dbee;border-color:#4d6b84}
html[data-courier-theme170="dark"] #courierApp :is(.bc-picker-help small,.bc104-sync span){color:#c7dbee}
html[data-courier-theme170="dark"] #courierApp :is(.stop,.shared-note,.pool-panel,.bc-request-card137,.bc-request-alert101,.fl-mine-card,.fl-card){background:#1c384f;border-color:#496782;color:#edf5ff}
html[data-courier-theme170="dark"] #courierApp :is(.stop p,.stop .sub,.shared-note p,.fl-muted){color:#bed1e6}
html[data-courier-theme170="dark"] #courierApp :is(.period-tabs,.filters){background:#183249}
html[data-courier-theme170="dark"] #courierApp :is(.period-tabs button,.filters button){color:#c7dbee;border-color:#4d6b84;background:#24445e}
html[data-courier-theme170="dark"] #courierApp :is(.period-tabs button.selected,.filters button.selected){background:#075eb5;color:#fff;border-color:#759cc6}
html[data-courier-theme170="dark"] #courierApp #journeyHost .bc104-actions button{background:#24445e;color:#c7dbee;border-color:#4d6b84}
html[data-courier-theme170="dark"] #courierApp #journeyHost .bc-add-note{background:#25445d;border-color:#587fa4;color:#b1ddff}
html[data-courier-theme170="dark"] #courierApp #journeyHost .bc104-hero .bc-evening-plan>.btn{background:#284861;border-color:#6b8da8;color:#b6e1ff}
/* Match the original step-sheet specificity, including checked choices. */
html[data-courier-theme170="dark"] body #journeyModal[open].bc-step132-sheet :is(.dialog-top h2,.place-title,.bc-step132-copy strong){color:#edf5ff}
html[data-courier-theme170="dark"] body #journeyModal[open].bc-step132-sheet :is(.bc-dialog-place .sub,.bc-step132-time,.bc-step132-copy>span){color:#bed1e6}
html[data-courier-theme170="dark"] body #journeyModal[open].bc-step132-sheet :is(.bc-step132-place,.bc-step132-action){background:#1c3a53;border-color:#466882;color:#edf5ff}
html[data-courier-theme170="dark"] body #journeyModal[open].bc-step132-sheet .note{background:#244760;color:#c7dbee}
html[data-courier-theme170="dark"] body #journeyModal[open].bc-step132-sheet .bc-step132-action:has(input:checked){background:#174c3c;border-color:#68d6a4;outline-color:#68d6a4;color:#edf5ff}
html[data-courier-theme170="dark"] body #journeyModal[open].bc-step132-sheet .bc-step132-action:has(input[value="no"]:checked){background:#513d25;border-color:#ffbe72;outline-color:#ffbe72}
html[data-courier-theme170="dark"] body #journeyModal[open].bc-step132-sheet .bc-back118-actions>.bc-step132-cancel{background:#254760;border-color:#5a80a1;color:#b4dfff}
html[data-courier-theme170="dark"] #eveningModal{background:#162f45;color:#edf5ff;border-color:#506f89}

/* Flash code: frosted panel around a clear, unfiltered camera preview. */
#qrScanModal{--scan-ink:#10183f;--scan-muted:#526b96;--scan-blue:#0069ff;--scan-glass:linear-gradient(135deg,#fffffffa,#e5eefff5);box-sizing:border-box;width:calc(100% - 28px);max-width:480px;max-height:calc(100dvh - 28px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));margin:auto;padding:20px;border:1px solid #ffffffd9;border-radius:27px;background:var(--scan-glass);color:var(--scan-ink);box-shadow:inset 0 1px 0 #fff,0 22px 70px #132e6555;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);overscroll-behavior:contain;scrollbar-width:thin;overflow-wrap:anywhere}
#qrScanModal::backdrop{background:#13274680;backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}
#qrScanModal .bc-scan-head{position:sticky;top:-20px;z-index:3;display:flex;align-items:center;gap:16px;margin:-1px 0 13px;padding:4px 0 6px;background:var(--scan-glass);border-radius:15px}
#qrScanModal .bc-scan-mark{width:35px;height:35px;flex:0 0 35px;color:var(--scan-blue)}
#qrScanModal h2{flex:1;min-width:0;margin:0;color:var(--scan-ink);font-size:25px;font-weight:700;letter-spacing:-.4px;line-height:1.15}
#qrScanModal .bc-scan-close{display:grid;place-items:center;width:44px;height:44px;min-width:44px;min-height:44px;flex:0 0 44px;padding:10px;border:1px solid #fff;border-radius:50%;background:linear-gradient(135deg,#ffffffd9,#dbe8ff);color:#526a96;box-shadow:0 0 0 2px #bad3ff85,0 2px 9px #3279f52b}
#qrScanModal .bc-scan-close svg{width:22px;height:22px}
#qrScanModal .bc-scan-point{display:block;padding:9px 12px;background:#e5effe;border-radius:12px;color:var(--scan-ink);font-size:14px}
#qrScanModal .bc-scan-sub{font-size:14px;line-height:1.48;color:var(--scan-muted);margin:0 0 12px}
#qrScanModal .bc-camera{aspect-ratio:1.18;margin:0 0 8px;border-radius:21px;background:linear-gradient(145deg,#30415c,#101d30);isolation:isolate}
#qrScanModal .bc-camera:after{display:none}
#qrScanModal .bc-scan-frame{position:absolute;inset:16%;z-index:1;pointer-events:none;border:1px solid #e5efff80;border-radius:21px;box-shadow:0 0 0 150vmax #06122655,inset 0 0 9px #51b4ff77,0 0 10px #56b5ff66}
#qrScanModal .bc-scan-frame svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible;filter:drop-shadow(0 0 4px #00a6ff)}
#qrScanModal .bc-scan-frame path{stroke:#fff;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
#qrScanModal .bc-scan-flash{position:absolute;top:12px;right:12px;z-index:2;display:grid;place-items:center;width:44px;height:44px;min-width:44px;min-height:44px;padding:10px;border:1px solid #e4efff80;border-radius:50%;background:#0b172bd9;color:#fff;box-shadow:0 2px 8px #0003}
#qrScanModal .bc-scan-flash svg{width:24px;height:24px}
#qrScanModal .bc-scan-flash[aria-pressed="true"]{background:#dceeff;color:#005dd9;border-color:#fff}
#qrScanModal .bc-scan-status{font-size:14px;line-height:1.45;color:var(--scan-muted);margin:8px 0 15px;min-height:21px}
#qrScanModal .bc-scan-status.error{color:#a52e28;background:#fff2f0;border:1px solid #f2c7c2;padding:10px;border-radius:12px}
#qrScanModal .bc-scan-actions:empty,#qrScanModal .bc-scan-actions:not(:has(button:not([hidden]))){display:none}
#qrScanModal .bc-scan-actions{gap:9px;margin-top:12px}
#qrScanModal .bc-scan-file,#qrScanModal .bc-scan-actions button{box-sizing:border-box;min-height:50px;border:1px solid #fff;border-radius:18px;background:linear-gradient(135deg,#ffffffe6,#dce9ffdf);color:var(--scan-blue);font-size:15px;font-weight:600;box-shadow:inset 0 1px 3px #fff,0 3px 14px #4273be1c;touch-action:manipulation}
#qrScanModal .bc-scan-file{position:relative;display:flex;align-items:center;justify-content:center;gap:14px;padding:13px 10px}
#qrScanModal .bc-scan-file svg{width:25px;height:25px;flex:0 0 25px}
#qrScanModal .bc-scan-privacy{display:flex;align-items:flex-start;gap:9px;margin:17px 0 0;color:var(--scan-muted);font-size:12px;line-height:1.5}
#qrScanModal .bc-scan-privacy svg{flex:0 0 19px;width:19px;height:19px;color:var(--scan-blue);margin-top:1px}
#qrScanModal :is(button,.bc-scan-file){cursor:pointer;-webkit-tap-highlight-color:transparent}
#qrScanModal button:focus-visible,#qrScanModal .bc-scan-file:focus-within{outline:3px solid #1679ef;outline-offset:3px}
#qrScanModal button:active,#qrScanModal .bc-scan-file:active{box-shadow:inset 0 0 0 2px #6eb9ff;opacity:.85}
#qrScanModal [hidden]{display:none!important}
html[data-courier-theme170="dark"] #qrScanModal{--scan-ink:#edf5ff;--scan-muted:#bed1e6;--scan-blue:#a3d7ff;--scan-glass:linear-gradient(135deg,#1c3a53fa,#122b42fa);border-color:#6485a3;box-shadow:inset 0 1px 0 #88a5c133,0 22px 70px #030d1c88}
html[data-courier-theme170="dark"] #qrScanModal .bc-scan-close{background:linear-gradient(135deg,#345575,#1c3a53);color:#d5eaff;border-color:#7c9dbd;box-shadow:0 0 0 2px #8abaff26}
html[data-courier-theme170="dark"] #qrScanModal .bc-scan-point{background:#274760}
html[data-courier-theme170="dark"] #qrScanModal :is(.bc-scan-file,.bc-scan-actions button){background:linear-gradient(135deg,#2b4d6d,#1b3b55);border-color:#6a8ead;box-shadow:inset 0 1px 1px #8cafcf33}
html[data-courier-theme170="dark"] #qrScanModal .bc-scan-status.error{color:#ffd1ca;background:#4a292e;border-color:#996266}
@media(max-width:360px){#qrScanModal{padding:16px;border-radius:23px}#qrScanModal .bc-scan-head{top:-16px;gap:12px}#qrScanModal h2{font-size:23px}#qrScanModal .bc-scan-sub{font-size:13px}#qrScanModal .bc-scan-file{font-size:14px;gap:9px}}
@media(prefers-reduced-transparency:reduce),(prefers-contrast:more){#qrScanModal{--scan-glass:#f1f6ff;backdrop-filter:none;-webkit-backdrop-filter:none}#qrScanModal::backdrop{background:#132746cc;backdrop-filter:none;-webkit-backdrop-filter:none}html[data-courier-theme170="dark"] #qrScanModal{--scan-glass:#18354d}}
