/* Final desktop overrides: the map and search fit the visible workspace. */
@media(min-width:801px){
.szm-tour-workspace .szm-tour-map-layout{grid-template-columns:260px minmax(0,1fr);height:var(--tour-map-height,calc(100dvh - 250px));min-height:180px;align-items:stretch}
.szm-tour-workspace .szm-tour-left-column,.szm-tour-workspace .szm-tour-map-column{min-height:0;max-height:100%}
.szm-tour-workspace .szm-tour-left-content{min-height:0;gap:5px;overflow:hidden}
.szm-tour-workspace .szm-tour-left-content>.szm-tour-driver-list{flex:1;min-height:0;overflow:auto;padding:4px}
.szm-tour-workspace .szm-map-frame{min-height:0!important;flex:1}
.szm-tour-workspace .szm-pilot-map-section{height:100%;min-height:0;box-sizing:border-box}
.szm-tour-workspace .szm-tour-map-legend{min-height:0;padding:4px 8px;font-size:9px}
.szm-tour-workspace .szm-tour-driver-list>header{padding:0 3px 2px;min-height:19px}
.szm-tour-workspace .szm-tour-driver-list>header>small{display:none}
.szm-tour-workspace .szm-tour-driver-list h2{font-size:12px}
.szm-tour-workspace .szm-tour-all-drivers{min-height:22px;height:22px;margin:0 0 3px;padding:1px 6px;font-size:11px}
.szm-tour-workspace .szm-tour-driver-card{min-height:0;padding:3px 5px;margin:0 0 3px;box-sizing:border-box}
.szm-tour-workspace .szm-tour-driver-heading{gap:4px;min-height:21px;align-items:center}
.szm-tour-workspace .szm-tour-driver-select{min-height:21px;padding-right:29px}
.szm-tour-workspace .szm-tour-driver-select strong{font-size:12px;line-height:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.szm-tour-workspace .szm-tour-driver-select small{display:none}
.szm-tour-workspace .szm-tour-driver-metrics{display:flex!important;align-items:center;justify-content:space-between;gap:8px!important;margin:0 0 0 24px!important;padding:0!important;border:0!important;border-radius:0;background:transparent!important}
.szm-tour-workspace .szm-tour-driver-metrics>span{display:inline-flex;align-items:baseline;flex-wrap:nowrap;gap:4px;white-space:nowrap;font-size:10px!important}
.szm-tour-workspace .szm-tour-driver-metrics strong{font-size:17px!important;line-height:19px}
.szm-tour-workspace .szm-tour-driver-metrics small{font-size:10px!important;font-weight:500}
.szm-tour-workspace .szm-tour-driver-footer{top:3px;right:4px}
.szm-tour-workspace .szm-tour-driver-footer button{font-size:9px;min-height:18px}
.szm-tour-workspace .szm-tour-month-calendar{padding:5px;flex:none}
.szm-tour-workspace .szm-tour-month-calendar>header{margin:0 0 3px}
.szm-tour-workspace .szm-tour-month-calendar button{height:21px;min-height:21px;line-height:19px;font-size:11px}
.szm-tour-workspace .szm-month-weekday{line-height:17px;font-size:10px}
.szm-tour-workspace .szm-tour-month-calendar>small:last-child{display:none}
.szm-tour-workspace .szm-tour-month-legend{margin:4px 0 0}
.szm-tour-workspace .szm-tour-month-legend span{font-size:9px;padding:1px}
.szm-tour-workspace .szm-tour-month-grid button.is-today{font-size:13px;font-weight:850}
.szm-tour-workspace.szm-short-map .szm-tour-month-calendar button{height:18px;min-height:18px;line-height:16px}
.szm-tour-workspace.szm-short-map .szm-tour-month-grid{gap:1px}
.szm-tour-workspace.szm-short-map .szm-tour-driver-card{padding:2px 5px;margin-bottom:2px}
.szm-tour-workspace.szm-short-map .szm-tour-driver-metrics strong{font-size:16px!important;line-height:17px}
.szm-tour-workspace .szm-map-route-notes[open]{max-height:80px;overflow:auto;flex:none}
.szm-tour-workspace .szm-tour-search{margin:6px 0;padding:7px 10px;min-height:0}
.szm-tour-workspace .szm-tour-search input{min-height:34px;padding:6px 10px}
.szm-tour-workspace .szm-tour-primary-tabs{margin-bottom:7px}
.szm-tour-workspace .szm-tour-primary-tabs>button{min-height:35px;padding:7px 16px;font-size:13px}
.szm-tour-workspace .szm-tour-day-toolbar{flex:none;margin:0;padding:5px 7px}
.szm-tour-workspace .szm-pilot-map-heading{flex:none;min-height:27px;padding:3px 7px;box-sizing:border-box}
.szm-tour-workspace .szm-detour-status{font-size:11px;padding:4px 8px;max-height:70px;overflow:auto}
}
.szm-tour-focus-popup .leaflet-popup-content{max-height:min(300px,45vh);overflow-y:auto}.szm-tour-focus-popup .szm-route-popup{padding-top:3px;padding-right:18px}.szm-tour-focus-popup .szm-tour-focus-close{top:0}

.szm-point-approximate{position:absolute;top:-5px;right:-7px;background:#fff7d6;color:#713f12;border:1px solid #b7791f;border-radius:8px;padding:0 4px;font:700 15px/17px system-ui;z-index:4}
@media(min-width:801px){
.szm-tour-workspace .szm-tour-driver-toggle,.szm-tour-workspace .szm-tour-driver-passive-dot{height:21px;min-height:21px;width:22px;flex-basis:22px}
.szm-tour-workspace .szm-tour-driver-heading>.szm-tour-driver-select{height:21px;min-height:21px;line-height:16px}
.szm-tour-workspace .szm-tour-driver-select>span{line-height:16px}
.szm-tour-workspace .szm-tour-driver-metrics>span,.szm-tour-workspace .szm-tour-driver-metrics small{line-height:17px}
.szm-tour-workspace.szm-short-map .szm-tour-driver-heading,.szm-tour-workspace.szm-short-map .szm-tour-driver-heading>.szm-tour-driver-select,.szm-tour-workspace.szm-short-map .szm-tour-driver-toggle{height:18px;min-height:18px}
.szm-tour-workspace.szm-short-map .szm-tour-driver-card{padding:1px 5px}
.szm-tour-workspace.szm-short-map .szm-tour-driver-metrics>span,.szm-tour-workspace.szm-short-map .szm-tour-driver-metrics small{line-height:16px}
}
@media(min-width:801px){
.szm-tour-workspace.szm-short-map .szm-tour-month-calendar{padding:4px}
.szm-tour-workspace.szm-short-map .szm-tour-month-calendar button{height:16px;min-height:16px;line-height:14px}
.szm-tour-workspace.szm-short-map .szm-month-weekday{line-height:14px}
.szm-tour-workspace.szm-short-map .szm-tour-left-content{gap:3px}
.szm-tour-workspace.szm-short-map .szm-tour-driver-list>header{min-height:16px;padding-bottom:0}
.szm-tour-workspace.szm-short-map .szm-tour-driver-metrics>span{align-items:center}
}

.szm-tour-focus-popup.is-side .leaflet-popup-tip-container{display:none}

/* v74: shared, compact weighting and stop sequence controls. */
.szm-tour-balance-wrap.is-compact{display:flex;align-items:center;gap:6px;flex:0 1 250px;min-width:200px}
.szm-tour-balance-wrap.is-compact .szm-tour-balance-control{display:grid;grid-template-columns:1fr auto;gap:0 8px;font-size:10px;width:100%;margin:0}
.szm-tour-balance-wrap.is-compact .szm-tour-balance-control>span{grid-column:1/-1;white-space:nowrap;font-weight:600}
.szm-tour-balance-wrap.is-compact input[type=range]{min-height:18px;height:18px;padding:0;width:100%;margin:0}
.szm-tour-balance-wrap.is-compact output{font-size:10px;align-self:center;white-space:nowrap}
.szm-tour-balance-wrap.is-compact>button{padding:3px 7px;min-height:26px}
.szm-stop-order-control{display:flex;align-items:center;gap:6px;padding-top:5px;border-top:1px solid #cbd5e1;margin-top:5px;font-size:12px}
.szm-stop-order-control select{width:50px;min-height:26px;padding:2px 4px;border:1px solid #94a3b8;border-radius:5px;background:#fff}
.szm-stop-order-control small{font-size:10px;line-height:1.2;max-width:110px}

/* v86: compact day totals and damage categories; pin numbers stay unobstructed. */
.szm-tour-totals{flex:none;padding:6px 8px;border:1px solid #ccd9e3;border-radius:7px;background:#f4f8fb;color:#17324b}
.szm-tour-totals header{font-size:11px;font-weight:750;margin-bottom:4px}
.szm-tour-totals dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px 8px;margin:0}
.szm-tour-totals dl>div{min-width:0}.szm-tour-totals dt{font-size:9px;white-space:nowrap;color:#526477}.szm-tour-totals dd{margin:0;font-size:14px;font-weight:750;line-height:18px;white-space:nowrap}
.szm-tour-totals>small{display:block;font-size:9px;margin-top:4px;color:#7b5417}
.szm-map-retry-warning{display:flex;gap:12px;align-items:center;justify-content:space-between}.szm-map-retry-warning button{min-height:22px;padding:0 5px;font-size:18px;line-height:20px;background:transparent;border:0;color:inherit}
.szm-damage-badges{position:absolute;left:21px;top:-9px;display:grid;grid-template-columns:repeat(2,19px);gap:4px;z-index:5;pointer-events:auto}
.szm-damage-badge{display:block;position:relative;width:19px;height:19px;box-sizing:border-box;border:1px solid #73879a;border-radius:5px;background:#fff;color:#18334b;box-shadow:0 1px 3px #0003;font-style:normal}
.szm-route-pin .szm-damage-badge svg{position:static!important;display:block!important;width:17px!important;height:17px!important;filter:none}
.szm-damage-plausi{position:absolute;right:-5px;top:-7px;width:14px;height:15px;box-sizing:border-box;background:#b91c1c;color:#fff;border:1px solid #fff;border-radius:7px;box-shadow:0 1px 3px #0006;font:900 13px/13px system-ui;text-align:center}
.szm-route-pin.has-damage-badges .szm-route-completed-check{right:auto!important;left:-9px;top:-8px!important}
.szm-route-pin-wrapper:has(.szm-damage-badges)>.szm-point-approximate{right:auto;left:-8px;top:19px}
@media(min-width:801px){.szm-tour-workspace.szm-short-map .szm-tour-totals{padding:4px 6px}.szm-tour-workspace.szm-short-map .szm-tour-totals dl{gap:2px 6px}.szm-tour-workspace.szm-short-map .szm-tour-totals dd{font-size:12px;line-height:16px}}

/* Selected-pin motion is bundled with the always-loaded internal stylesheet. */
@keyframes szm-pin-hop-v88{0%,100%{transform:translate3d(0,0,0)}50%{transform:translate3d(0,-10px,0)}}
.szm-route-pin.is-search-bouncing{backface-visibility:hidden}
.leaflet-tile-container.szm-map-neutral-tiles,.szm-map-neutral-tiles{filter:none}
.szm-pilot-map{background:#f5f4f1}

/* v90: a single compact control row, with map controls inside the map. */
.szm-tour-workspace .szm-tour-toprow{flex-wrap:wrap;justify-content:flex-start;gap:4px 10px;padding:2px 0 4px}
.szm-tour-workspace .szm-tour-toprow>.szm-tour-day-toolbar{flex:1 1 590px;display:flex;flex-wrap:nowrap;align-items:center;gap:8px;margin:0;padding:0;border:0}
.szm-tour-workspace .szm-tour-toprow .szm-tour-primary-tabs>button{padding:6px 10px;min-height:31px;font-size:12px}
.szm-tour-workspace .szm-tour-toprow .szm-tour-date-controls{flex:none;align-items:center}
.szm-tour-workspace .szm-tour-toprow .szm-tour-date-controls input{width:128px}
.szm-tour-workspace .szm-tour-toprow .szm-tour-day-toolbar>.szm-pilot-actions{margin-left:auto;flex:none}
.szm-tour-workspace .szm-tour-toprow .szm-tour-balance-wrap{flex:1 1 230px;max-width:290px;min-width:195px}
.szm-tour-calendar-options{position:relative;flex:none;margin-left:auto;font-size:11px}
.szm-tour-calendar-options>summary{cursor:pointer;padding:5px 7px;color:#405d73}
.szm-tour-calendar-options>.szm-calendar-mode{position:absolute;right:0;top:100%;z-index:1200;display:flex;align-items:center;justify-content:flex-start;gap:10px;padding:12px;width:310px;max-width:85vw;border:1px solid #cbd5e1;border-radius:7px;background:#fff;box-shadow:0 6px 20px #172b4326}
.szm-tour-workspace .szm-tour-calendar-options .szm-calendar-mode>span{max-width:none;flex-basis:100%;font-size:12px}
.szm-map-top-controls{position:absolute;top:8px;right:8px;z-index:1000;display:flex;align-items:flex-start;gap:5px;max-width:calc(100% - 64px)}
.szm-tour-workspace .szm-map-top-controls>button,.szm-map-top-controls>.szm-map-appearance>summary{box-sizing:border-box;min-height:29px;height:29px;padding:4px 9px;border:1px solid #bccbd7;border-radius:6px;background:#fffffff2;color:#21445e;box-shadow:0 1px 5px #17324b20;font-size:11px;line-height:19px;white-space:nowrap;cursor:pointer}
.szm-map-top-controls .szm-map-appearance-panel{right:0;left:auto;max-width:calc(100vw - 80px)}
.szm-map-top-controls .szm-map-appearance-panel>label{display:flex!important;flex-direction:row!important;align-items:center;gap:7px}
.szm-map-top-controls .szm-map-appearance-panel input[type=radio]{width:14px;height:14px;min-height:14px;flex:0 0 14px;margin:0}
/* Three columns, with each checkbox beside its text, even under global form styles. */
.szm-tour-workspace .szm-tour-column-dropdown .szm-tour-column-panel{width:620px;max-width:calc(100vw - 40px);box-sizing:border-box;padding:8px;right:0;left:auto}
.szm-tour-workspace .szm-tour-column-panel>input[type=search]{min-height:29px;height:29px;font-size:12px;padding:4px 7px}
.szm-tour-workspace .szm-tour-column-panel>.szm-tour-column-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:1px 9px;max-height:min(270px,42vh);margin:6px 0;overflow-y:auto}
.szm-tour-workspace .szm-tour-column-panel .szm-tour-column-options>label{display:flex;flex-direction:row!important;align-items:center;justify-content:flex-start;gap:5px;width:auto;min-width:0;min-height:23px;padding:2px 3px;margin:0;font-size:11px;line-height:15px;text-align:left;cursor:pointer;border-radius:3px}
.szm-tour-workspace .szm-tour-column-options>label:hover{background:#eff6fb}
.szm-tour-workspace .szm-tour-column-panel .szm-tour-column-options input[type=checkbox]{appearance:auto;flex:0 0 13px;width:13px;max-width:13px;height:13px;min-height:13px;margin:0;padding:0}
.szm-tour-workspace .szm-tour-column-options>label>span{min-width:0;overflow-wrap:anywhere}
.szm-tour-workspace .szm-tour-column-panel>small{font-size:10px;line-height:14px}
.szm-tour-workspace .szm-tour-route-summary{display:block}
.szm-tour-route-summary td{font-variant-numeric:tabular-nums;white-space:nowrap}
.szm-tour-route-summary .szm-tour-text-button{display:inline-flex;align-items:center;gap:7px}
/* The entire 08–17 axis fits the available desktop width. */
.szm-tour-workspace .szm-tour-timeline-card{padding:10px 12px}
.szm-tour-workspace .szm-tour-timeline{min-width:850px}
.szm-tour-workspace .szm-tour-timeline-row{grid-template-columns:425px minmax(0,1fr);min-height:72px}
.szm-tour-workspace .szm-tour-timeline-row.is-header{min-height:30px}
.szm-tour-workspace .szm-tour-timeline-track{height:72px}
.szm-tour-workspace .szm-tour-timeline-row.is-header .szm-tour-timeline-track{height:25px}
.szm-timeline-metrics{display:grid;grid-template-columns:minmax(105px,1fr) 66px 72px 48px 61px;align-items:center;gap:6px;padding-right:12px;font-size:10px;line-height:15px;font-variant-numeric:tabular-nums}
.szm-timeline-metrics>strong{font-size:11px;overflow-wrap:anywhere}
.szm-timeline-metrics .szm-tour-color-dot{width:8px;height:8px;margin-right:5px}
.szm-tour-timeline-row.is-header .szm-timeline-metrics>strong{font-size:9px;color:#597386}
.szm-tour-workspace .szm-tour-timeline-stop{top:8px;height:56px;min-height:56px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:1px;padding:3px;font-size:10px;line-height:14px;text-align:left}
.szm-tour-workspace .szm-tour-timeline-stop>span{display:block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.szm-tour-workspace .szm-tour-timeline-stop .szm-timeline-plate{font-weight:750}
.szm-tour-workspace .szm-tour-time-tick.is-first{transform:none}.szm-tour-workspace .szm-tour-time-tick.is-last{transform:translateX(-100%)}
.szm-tour-workspace .szm-tour-timeline-card.is-live .szm-tour-timeline-row:not(.is-header),.szm-tour-workspace .szm-tour-timeline-card.is-live .szm-tour-timeline-row:not(.is-header) .szm-tour-timeline-track{min-height:128px;height:128px}
.szm-tour-workspace .szm-tour-timeline-stop.is-plan-outline{top:5px;height:56px}.szm-tour-workspace .szm-tour-timeline-stop.is-forecast{top:67px;height:56px}
.szm-tour-timeline-outside{font-size:11px;margin-top:8px}.szm-tour-timeline-outside>button{display:block!important;margin:4px 0;font-size:11px!important}
@media(max-width:1100px){.szm-tour-workspace .szm-tour-toprow>.szm-tour-day-toolbar{order:3;flex-basis:100%;flex-wrap:wrap}.szm-tour-workspace .szm-tour-toprow .szm-tour-balance-wrap{max-width:none}}
@media(max-width:600px){.szm-tour-workspace .szm-tour-column-dropdown .szm-tour-column-panel{width:calc(100vw - 48px)}.szm-tour-workspace .szm-tour-column-panel>.szm-tour-column-options{gap:2px 5px}.szm-tour-workspace .szm-tour-column-options>label{font-size:10px!important}.szm-map-top-controls{gap:3px;top:5px;right:5px}.szm-map-top-controls>.szm-map-appearance>summary,.szm-tour-workspace .szm-map-top-controls>button{font-size:10px;padding:4px 6px}}
/* Keep the requested pin shadow; remove only the legacy reduced-motion ring. */
.szm-route-pin.is-search-focus,.szm-route-pin.is-search-bouncing{outline:none!important;border-radius:0!important}
.szm-tour-timeline-track>i:last-of-type{transform:translateX(-1px)}
/* Short appointments retain their exact duration; full text opens on hover/focus. */
.szm-tour-workspace .szm-tour-timeline-stop:hover,.szm-tour-workspace .szm-tour-timeline-stop:focus-visible{min-width:160px;z-index:5;overflow:visible;box-shadow:0 3px 8px #17324b40}
.szm-tour-workspace .szm-tour-timeline-stop:hover>span,.szm-tour-workspace .szm-tour-timeline-stop:focus-visible>span{overflow:visible;max-width:none}

/* v91: three metrics on the existing row; no additional card height. */
.szm-tour-workspace .szm-tour-driver-metrics{display:grid!important;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:5px!important}
.szm-tour-workspace .szm-tour-driver-metrics>span{min-width:0;overflow:hidden}
.szm-tour-workspace .szm-tour-driver-metrics>span:last-child{justify-self:end;max-width:100%}
.szm-tour-workspace .szm-tour-driver-metrics strong{min-width:0;overflow:hidden;text-overflow:ellipsis}
.szm-tour-workspace .szm-tour-driver-metrics .szm-driver-travel{gap:2px;padding:0 3px;border-radius:3px;line-height:17px;font-variant-numeric:tabular-nums}
.szm-tour-workspace .szm-tour-driver-metrics .szm-driver-travel strong{font-size:14px!important;line-height:17px}
.szm-driver-travel.is-low{color:#166534;background:#ecfdf5}
.szm-driver-travel.is-medium{color:#854d0e;background:#fef08a}
.szm-driver-travel.is-high{color:#b91c1c;background:#fee2e2}
.szm-driver-travel.is-pending{color:#64748b;background:transparent}

.szm-detour-driver-comparison dl{margin:4px 0}.szm-detour-driver-comparison dl>div{display:grid;grid-template-columns:minmax(130px,180px) minmax(0,1fr);gap:8px;padding:2px 0}.szm-detour-driver-comparison dt{font-weight:600}.szm-detour-driver-comparison dd{margin:0}

/* The comparison expands into normal page flow; no nested scrolling. */
.szm-tour-workspace .szm-detour-status{max-height:none;overflow:visible;flex:none}
.szm-tour-workspace .szm-detour-status>summary{cursor:pointer;font-weight:600;padding:5px 0}
.szm-tour-workspace .szm-detour-status[open]{padding:8px 12px}
.szm-tour-workspace .szm-detour-status details{max-height:none;overflow:visible}
.staff-sidebar [data-nav][draggable=true]{cursor:grab}
.staff-sidebar [data-nav][draggable=true]:active{cursor:grabbing}
/* v96: compact comparable suggestions and an in-map composer. */
.proposal-grid{align-items:start;gap:10px!important}.szm-proposal-day{min-width:0;border:1px solid #dce3ed;border-radius:10px;background:#fff;padding:8px;text-align:left}.szm-proposal-day>header{display:flex;justify-content:space-between;align-items:center;gap:6px;padding:2px 2px 8px}.szm-proposal-day>header strong{font-size:14px}.szm-proposal-day>header span{font-size:10px;color:#63728a}.szm-proposal-day.is-today{border-color:#293bc0;box-shadow:inset 0 3px #293bc0}.szm-proposal-day.is-today>header strong{font-size:16px}.szm-proposal-option{display:block;width:100%;border:0;border-left:3px solid var(--driver-color);border-radius:5px;background:#f5f7fa;padding:7px;margin-bottom:6px;color:#17304c;text-align:left;cursor:pointer}.szm-proposal-option:hover,.szm-proposal-option.is-selected{background:#edf0ff;box-shadow:0 0 0 1px #4557c5}.szm-proposal-option-heading{display:flex;justify-content:space-between;gap:6px;align-items:start}.szm-proposal-option-heading>strong{font-size:12px;line-height:1.35;overflow-wrap:anywhere}.szm-proposal-minutes{font-size:15px;white-space:nowrap;color:#146c43}.szm-proposal-minutes.is-long{color:#a54a16}.szm-proposal-option-meta,.szm-proposal-option-drive{display:flex;justify-content:space-between;gap:4px;font-size:10px;margin-top:5px}.szm-proposal-option-meta{color:#64748b}.szm-proposal-option-drive{justify-content:flex-start;font-variant-numeric:tabular-nums}.szm-proposal-option.is-unavailable{background:#fafafa;color:#6b7280}.szm-proposal-option small{display:block;font-size:10px;margin-top:5px}.szm-proposal-more{width:100%;border:0;background:transparent;color:#293bc0;font-size:11px;padding:5px;cursor:pointer}.szm-proposal-no-result{font-size:11px;color:#64748b}.szm-proposal-legend{margin:8px 0;font-size:12px}.szm-proposal-legend>summary{cursor:pointer;color:#50617a}.proposal-selection{padding:18px!important}.proposal-selection .proposal-customer-fields{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}.proposal-selection .proposal-selection-footer{display:flex;align-items:end;flex-wrap:wrap;gap:12px}.proposal-selection-footer>p{flex:1 1 240px;font-size:11px}.szm-proposal-mode{min-width:200px}.szm-proposal-mode select,.szm-pin-proposal-select{border:1px solid #c8d2e3;border-radius:6px;padding:6px;background:white;max-width:100%;color:#17304c}.szm-pin-proposal-select{font-size:11px;width:100%;margin-top:5px}.szm-proposal-mail-inline{background:white;border:1px solid #dce3ed;border-radius:10px;padding:16px;margin:12px 0}.szm-proposal-mail-inline dl{display:grid;grid-template-columns:auto 1fr;gap:5px 12px;font-size:12px}.szm-proposal-mail-inline dd{margin:0;overflow-wrap:anywhere}.szm-proposal-mail-inline iframe{width:100%;height:290px;border:1px solid #e2e8f0;background:#fff}.szm-proposal-mail-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}.szm-proposal-mail-actions button{padding:8px 14px;border:1px solid #c8d2e3;border-radius:6px;background:white}.szm-proposal-mail-actions .is-primary{background:#293bc0;color:white}.szm-tour-map-column{position:relative}.szm-map-compose-backdrop{position:absolute!important;inset:4px!important;z-index:1100!important;padding:8px!important;background:#e9eef8d9!important;align-items:flex-start!important;overflow:auto!important;border-radius:12px}.szm-map-compose-backdrop .szm-pilot-dialog{width:100%!important;max-width:820px!important;max-height:none!important;overflow:visible!important;margin:0 auto!important;padding:14px!important}.szm-proposal-compact .proposal-selection{border:0!important;box-shadow:none!important;margin:0!important;padding:10px 0!important}.szm-proposal-compact .proposal-selection h2{font-size:18px}.szm-proposal-compact .proposal-selection-footer>p{font-size:10px}.szm-proposal-compact .staff-field input{min-height:34px!important}.szm-proposal-compact .proposal-email-preview{height:240px}.szm-proposal-compact .szm-proposal-mail-inline{margin:0;padding:10px}.szm-proposal-compact:has(.szm-proposal-mail-inline) .proposal-selection{display:none}.szm-proposal-compact .proposal-selection .tour-driving{font-size:11px}
@media(max-width:900px){.proposal-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.szm-proposal-day{grid-column:auto!important}.proposal-weekdays{display:none!important}}
@media(max-width:500px){.proposal-selection .proposal-customer-fields{grid-template-columns:1fr!important}.szm-proposal-option-drive{flex-wrap:wrap}}
.szm-map-compose-backdrop .szm-pilot-card-head{position:sticky;top:-14px;z-index:2;background:#fff;padding:5px 0 9px;margin-bottom:4px}.szm-proposal-compact .proposal-selection{padding:4px 0!important}.szm-proposal-compact .staff-kicker{display:none}.szm-proposal-compact .proposal-selection h2{margin:0 0 4px}.szm-proposal-compact .proposal-selection p{margin:4px 0;font-size:12px}.szm-proposal-compact .tour-driving-time{display:inline-block;margin-right:8px;padding:2px 5px!important;width:auto}.szm-proposal-compact .proposal-selection .proposal-customer-fields{gap:8px!important;margin-top:10px!important}.szm-proposal-compact .proposal-selection-footer{margin-top:10px!important;gap:8px!important}.szm-proposal-compact .proposal-selection-footer>p{flex-basis:100%;font-size:10px;line-height:1.3;margin:0}.szm-proposal-compact .proposal-selection-footer .szm-proposal-mode{flex:1}.szm-proposal-compact .staff-field{font-size:12px;gap:4px}.szm-proposal-compact .staff-field input{padding:6px 8px!important;height:34px!important;min-width:0}
@media(min-width:1100px){.szm-proposal-compact .proposal-selection .proposal-customer-fields{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
.szm-proposal-compact .proposal-selection-footer{display:grid!important;grid-template-columns:minmax(220px,1fr) auto!important;gap:6px 12px!important;align-items:end!important;margin-top:8px!important}.szm-proposal-compact .proposal-selection-footer>p{grid-column:1/-1!important}.szm-proposal-compact .proposal-selection-footer .szm-proposal-mode{width:100%!important;min-width:220px!important}.szm-proposal-compact .proposal-selection-footer select{width:100%;height:34px}.szm-proposal-compact .proposal-selection-footer button{height:34px;min-height:34px;padding:6px 12px;white-space:nowrap}
.szm-proposal-compact .proposal-selection{display:flex!important;flex-direction:column!important;gap:6px!important}.szm-proposal-compact .proposal-selection .proposal-customer-fields{margin-top:4px!important}.szm-proposal-compact .proposal-selection-footer>p{display:none!important}.szm-proposal-compact .proposal-selection-footer{margin-top:4px!important}
.szm-proposal-compact .proposal-selection .proposal-customer-fields{margin-bottom:0!important}
.proposal-search>.szm-tour-search.is-proposal-search{grid-column:1/-1;width:100%;margin:0 0 10px;padding:0;position:relative;overflow:visible}
.proposal-search .szm-tour-search-box{position:relative;flex:1;min-width:0}
.proposal-search .szm-tour-search-results{position:absolute;top:calc(100% + 4px);bottom:auto;left:0;right:0;max-height:min(320px,50vh);overflow:auto;z-index:1100;background:#fff;border:1px solid #b9c9db;border-radius:9px;box-shadow:0 6px 20px #172b4a20}
.proposal-search .szm-tour-search-results>button{display:grid;justify-content:stretch;justify-items:start;width:100%;text-align:left;padding:10px;border:0;border-bottom:1px solid #e4ebf3;background:#fff;color:#1e3048;white-space:normal}
.proposal-search .szm-tour-search-results>button[aria-selected=true],.proposal-search .szm-tour-search-results>button:hover{background:#edf4ff}
.proposal-search .szm-tour-search-results small{font-size:12px;color:#52647a}

/* The proposal search now shares the tour workspace. */
.szm-tour-proposals-panel>.proposal-planner>.staff-page-heading{display:none}
.szm-tour-map-panel{min-width:0}
.szm-tour-proposals-panel{min-width:0;padding-top:8px}

/* v100: proposal cards keep their own layout inside the tour workspace. */
.proposal-planner .szm-proposal-option{display:block;min-width:0;width:100%;min-height:0;border:0;border-left:3px solid var(--driver-color);border-radius:5px;background:#f5f7fa;padding:7px;margin-bottom:6px;color:#17304c;text-align:left;white-space:normal;line-height:1.35}
.proposal-planner .szm-proposal-option:hover,.proposal-planner .szm-proposal-option.is-selected{background:#edf0ff;box-shadow:0 0 0 1px #4557c5}
.proposal-planner .szm-proposal-option.is-unavailable{background:#fafafa;color:#6b7280}
.proposal-planner .szm-proposal-option-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:6px;width:100%}
.proposal-planner .szm-proposal-option-heading>strong{min-width:0;white-space:normal;word-break:normal;overflow-wrap:break-word}
.proposal-planner .szm-proposal-option-meta,.proposal-planner .szm-proposal-option-drive{width:100%;min-width:0;align-items:baseline;flex-wrap:wrap}
.proposal-planner .szm-proposal-option-drive>span,.proposal-planner .szm-proposal-option-drive>strong{white-space:nowrap}
.proposal-planner .szm-proposal-more{display:block;width:100%;min-height:30px;border:0;background:transparent;color:#293bc0;font-size:11px;padding:5px;text-align:center;white-space:normal}
/* v101: distinct tabs and one compact search above both planning views. */
.szm-tour-workspace .szm-tour-primary-tabs{gap:4px;flex-wrap:wrap}
.szm-tour-workspace .szm-tour-primary-tabs>button{--tab-color:#155eab;--tab-bg:#e9f2ff;--tab-border:#b7d4f4;display:inline-flex;align-items:center;gap:6px;color:var(--tab-color);background:var(--tab-bg);border:1px solid var(--tab-border);border-radius:7px;box-shadow:none;font-weight:650;white-space:nowrap}
.szm-tour-workspace .szm-tour-primary-tabs>button[data-tour-tab=proposals]{--tab-color:#6b36a1;--tab-bg:#f4ecff;--tab-border:#d9c5ed}
.szm-tour-workspace .szm-tour-primary-tabs>button[data-tour-tab=live]{--tab-color:#117451;--tab-bg:#e8f7ef;--tab-border:#afdcc6}
.szm-tour-workspace .szm-tour-primary-tabs>button[data-tour-tab=analysis]{--tab-color:#97520e;--tab-bg:#fff4e3;--tab-border:#edc994}
.szm-tour-workspace .szm-tour-primary-tabs>button:hover{border-color:var(--tab-color);filter:brightness(.97)}
.szm-tour-workspace .szm-tour-primary-tabs>button.is-active{color:#fff;background:var(--tab-color);border-color:var(--tab-color);box-shadow:inset 0 -2px #0002}
.szm-tour-primary-tabs>button>svg{flex:0 0 16px}
.szm-tour-workspace .szm-tour-toprow>.szm-tour-shared-toolbar{flex:1 1 870px;min-width:0}
.szm-tour-workspace .szm-tour-shared-toolbar>.szm-tour-day-toolbar{display:flex;align-items:center;flex-wrap:nowrap;gap:8px;border:0;margin:0;padding:0;min-width:0}
.szm-tour-workspace .szm-tour-toprow .szm-tour-balance-wrap{flex:0 0 260px;min-width:245px;max-width:260px}
.szm-tour-workspace .szm-tour-toprow .szm-tour-search.is-header-search{position:relative;flex:1 1 270px;min-width:210px;width:auto;max-width:none;margin:0;padding:0;background:none;border:0;overflow:visible;z-index:1300}
.szm-tour-workspace .is-header-search .szm-tour-search-box{position:relative;display:block;width:100%;min-width:0}
.szm-tour-workspace .is-header-search label{display:block;margin:0;font-size:10px;line-height:13px;color:#445970;font-weight:600}
.szm-tour-workspace .is-header-search input[type=search]{display:block;width:100%;height:29px;min-height:29px;padding:4px 28px 4px 8px;font-size:12px;line-height:19px;border:1px solid #bdcadb;border-radius:6px;background:#fff;color:#173355}
.szm-tour-workspace .is-header-search input::-webkit-search-cancel-button{display:none}
.szm-tour-workspace .is-header-search>.szm-search-clear{position:absolute;right:3px;top:15px;width:24px;height:24px;min-height:24px;border:0;padding:0;font-size:20px;line-height:20px;background:transparent;color:#63748b}
.szm-tour-workspace .is-header-search .szm-tour-search-results{position:absolute;top:calc(100% + 4px);bottom:auto;left:0;right:0;min-width:100%;max-height:min(360px,55vh);overflow:auto;z-index:1301;background:white;border:1px solid #bdcadb;border-radius:8px;box-shadow:0 8px 24px #1f365d26}
.szm-tour-workspace .is-header-search .szm-tour-search-results>button{display:grid;justify-content:stretch;justify-items:start;gap:3px;width:100%;min-height:0;padding:8px 10px;border:0;border-bottom:1px solid #e3e9f2;border-radius:0;text-align:left;white-space:normal;background:#fff;font-size:12px;color:#173355}
.szm-tour-workspace .is-header-search .szm-tour-search-results>button:hover,.szm-tour-workspace .is-header-search .szm-tour-search-results>button[aria-selected=true]{background:#eaf2ff}
.szm-tour-workspace .is-header-search .szm-tour-search-results small{font-size:11px;color:#56687d}
.szm-tour-workspace .is-header-search>small[role=status]{position:absolute;top:100%;left:0;background:#fff6e6;border:1px solid #dfbd86;border-radius:5px;padding:6px;font-size:11px}
@media(max-width:1500px){.szm-tour-workspace .szm-tour-toprow>.szm-tour-shared-toolbar{order:3;flex-basis:100%}.szm-tour-workspace .szm-tour-shared-toolbar>.szm-tour-day-toolbar{flex-wrap:wrap}}
@media(max-width:600px){.szm-tour-workspace .szm-tour-primary-tabs{flex:1 1 100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.szm-tour-workspace .szm-tour-toprow .szm-tour-primary-tabs>button{padding:6px;font-size:11px;justify-content:flex-start}.szm-tour-workspace .szm-tour-toprow .is-header-search{flex-basis:100%;min-width:0}.szm-tour-workspace .szm-tour-toprow .szm-tour-calendar-options{margin-left:0}}
/* Compact, expandable error message centered in the existing page header. */
.staff-topbar>.szm-header-notice-host{display:flex;flex:1 1 180px;min-width:0;max-width:640px;justify-content:center;margin:0 16px}
.szm-header-notice{position:relative;min-width:0;max-width:100%;font-size:12px;color:#9d3030}
.szm-header-notice>summary{display:flex;align-items:center;gap:6px;min-width:0;max-width:100%;height:28px;padding:3px 9px;background:#fff0f0;border:1px solid #ebc0c0;border-radius:7px;cursor:pointer;list-style:none}
.szm-header-notice>summary::-webkit-details-marker{display:none}
.szm-header-notice-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 16px;width:16px;height:16px;border:1px solid currentColor;border-radius:50%;font-weight:750}
.szm-header-notice-short{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.szm-header-notice .szm-header-notice-popover{position:absolute;top:calc(100% + 6px);left:50%;transform:translateX(-50%);z-index:1600;display:block;width:440px;max-width:calc(100vw - 32px);padding:12px;background:#fff;border:1px solid #ebc0c0;border-radius:8px;box-shadow:0 6px 20px #1d30412b;color:#7e2525}
.szm-header-notice-popover p{margin:0 0 10px;font-size:12px;line-height:1.45;overflow-wrap:anywhere;white-space:normal}
.szm-header-notice .szm-header-notice-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}
.szm-header-notice-actions button{font:inherit;font-size:11px;padding:5px 8px;border:1px solid #d9c4c4;border-radius:5px;background:white;color:#7e2525;cursor:pointer}
@media(max-width:700px){.staff-topbar>.szm-header-notice-host{flex:0 1 100px;margin:0 5px}.szm-header-notice .szm-header-notice-popover{position:fixed;left:16px;right:16px;top:65px;transform:none;width:auto}}
/* v103: separate Google location search beside the CSV search. */
.szm-tour-workspace .szm-tour-shared-toolbar>.szm-tour-day-toolbar{flex-wrap:wrap}
.szm-tour-workspace .szm-tour-toprow .szm-tour-search.is-header-search{flex:1 1 210px;min-width:180px}
.szm-tour-workspace .szm-location-search{position:relative;flex:1 1 210px;min-width:180px;margin:0;padding:0;z-index:1300}
.szm-tour-workspace .szm-location-search:focus-within,.szm-tour-workspace .szm-tour-search:focus-within{z-index:1302}
.szm-tour-workspace .szm-location-results{position:absolute;top:calc(100% + 4px);left:0;right:0;min-width:100%;max-height:min(360px,55vh);overflow:auto;background:white;border:1px solid #bdcadb;border-radius:8px;box-shadow:0 8px 24px #1f365d26;color:#173355}
.szm-tour-workspace .szm-location-results [role=option]{display:grid;gap:3px;justify-items:start;text-align:left;width:100%;min-height:0;white-space:normal;padding:8px 10px;border:0;border-bottom:1px solid #e3e9f2;border-radius:0;background:#fff;font-size:12px;color:#173355}
.szm-tour-workspace .szm-location-results [role=option]:hover,.szm-tour-workspace .szm-location-results [aria-selected=true]{background:#eaf2ff}
.szm-tour-workspace .szm-location-results small{font-size:11px;color:#56687d}
.szm-tour-workspace .szm-location-results p{margin:0;padding:8px 10px;font-size:11px;line-height:1.4}
.szm-tour-workspace .szm-location-results .address-attribution{padding:7px 10px;text-align:right;font:500 12px Arial,sans-serif;color:#5f6368;background:#f8fafc}
@media(max-width:600px){.szm-tour-workspace .szm-tour-toprow .szm-location-search{flex-basis:100%;min-width:0}}
/* v104: one shared search; source facts and Google corrections on its right. */
.szm-tour-workspace .szm-tour-shared-toolbar>.szm-tour-day-toolbar{flex-wrap:wrap}
.szm-tour-workspace .szm-tour-day-toolbar>.szm-pilot-actions{order:0}
.szm-tour-workspace .szm-unified-search{order:1;flex:1 1 100%;min-width:0;display:grid;grid-template-columns:minmax(220px,28%) minmax(0,1fr);gap:8px;align-items:start;margin-top:3px;font-size:12px}
.szm-unified-input label{display:block;font-size:11px;font-weight:600;color:#29445f}
.szm-unified-input input[type=search]{width:100%;height:32px;border:1px solid #aabbd0;border-radius:7px;padding:5px 9px;font:inherit;background:white;color:#173355}
.szm-unified-input input::-webkit-search-cancel-button{display:none}
.szm-unified-input-actions{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-top:4px}
.szm-unified-input-actions .szm-route-checkbox{display:flex;align-items:center;gap:5px;font-size:11px}
.szm-route-checkbox input{width:14px;height:14px;margin:0;accent-color:#1565a5}
.szm-unified-input-actions button{padding:0;width:22px;height:22px;min-height:0;background:white;border:1px solid #c1ccda;border-radius:4px;font-size:17px;line-height:18px}
.szm-unified-input>small{display:block;margin:4px 0;font-size:11px;color:#9c2432}
.szm-unified-input .szm-call-label{color:#185b9c;font-weight:700}
.szm-unified-results{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;min-width:0;align-items:start}
.szm-unified-orders{min-width:0}
.szm-search-customer{background:#f1f4f8;border:1px solid #b8c6d6;border-radius:7px;padding:6px 8px;min-width:0}
.szm-search-customer.is-valid{background:#e3f4e9;border-color:#68a982}
.szm-search-customer.is-invalid{background:#ffe5e6;border-color:#d4616c}
.szm-search-customer.is-unavailable{background:#fff4d9;border-color:#cdb774}
.szm-search-customer header{display:flex;justify-content:space-between;gap:5px;align-items:baseline;font-size:12px}
.szm-search-customer header small{font-size:9px;color:#4b6277}
.szm-search-edit-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(75px,100px);gap:6px;margin:3px 0}
.szm-search-edit-fields label{font-size:9px;color:#41576a}
.szm-search-edit-fields input{display:block;min-width:0;width:100%;height:23px;border:1px solid #aabbb4;border-radius:4px;background:#ffffffb8;padding:2px 4px;font:inherit;font-size:11px;color:#18384c}
.szm-search-customer .szm-selected-address{display:block;border:0;background:none;white-space:normal;text-align:left;padding:0;min-height:0;color:#173355;font-size:11px;font-weight:600}
.szm-search-customer>small{font-size:10px;display:block;margin-top:3px}
.szm-search-notes{margin:3px 0 0;font-size:10px;line-height:1.35;max-height:30px;overflow:auto}
.szm-search-customer .szm-save-customer{font-size:10px;padding:3px 6px;min-height:0;margin-top:4px}
.szm-order-options,.szm-google-options{max-height:145px;overflow:auto;min-width:0;scrollbar-width:thin}
.szm-order-options:empty{display:none}
.szm-unified-results button[role=option]{display:flex;flex-direction:column;align-items:flex-start;position:relative;width:100%;text-align:left;padding:5px 7px;gap:2px;margin:0 0 3px;border:1px solid #c1cddb;border-radius:5px;background:#fff;color:#173355;min-height:0;white-space:normal;overflow-wrap:anywhere;font-size:11px}
.szm-unified-results button[role=option] small,.szm-unified-results button[role=option] span{font-size:10px}
.szm-unified-results button[role=option][aria-selected=true],.szm-unified-results button[role=option]:hover{background:#e7f0ff;border-color:#789dc5}
.szm-google-heading{display:block;font-size:10px;margin-bottom:4px;color:#3e5a74}
.szm-google-options.has-correction-arrows button{padding-left:28px;border-color:#a8bda9;background:#f0faf2}
.szm-correction-arrow{position:absolute;left:5px;top:50%;transform:translateY(-50%);color:#b52937;font-size:22px!important;line-height:1}
.szm-google-options .address-attribution{text-align:right;font:500 11px Arial,sans-serif;color:#5f6368;padding:3px}
@media(max-width:1000px){.szm-tour-workspace .szm-unified-search{grid-template-columns:minmax(180px,25%) minmax(0,1fr)}}
@media(max-width:700px){.szm-tour-workspace .szm-unified-search{grid-template-columns:1fr}.szm-unified-results{grid-template-columns:1fr 1fr}}
.szm-tour-workspace .szm-unified-input-actions .szm-route-checkbox{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:5px;min-width:0;font-size:11px}
.szm-tour-workspace .szm-route-checkbox input[type=checkbox]{width:14px!important;height:14px!important;min-width:14px;min-height:14px;padding:0;margin:0}
.szm-tour-workspace .szm-unified-results button[role=option]{height:auto!important;min-height:0!important;line-height:1.3;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start}
.szm-tour-workspace .szm-search-edit-fields input{height:23px!important;min-height:23px!important;font-size:11px!important;padding:2px 4px!important}
.szm-tour-workspace .szm-unified-search .szm-search-edit-fields label{display:block;font-size:9px}
.szm-tour-workspace .szm-unified-search .szm-selected-address{height:auto;white-space:normal;line-height:1.35}
.szm-google-options button>span:last-child{display:grid;gap:2px;text-align:left}
.szm-unified-input{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 6px;align-items:start}
.szm-unified-input-actions{margin-top:18px;gap:6px}
.szm-tour-workspace .szm-unified-input-actions .szm-route-checkbox{font-size:0}
.szm-unified-input-actions .szm-route-checkbox::after{content:'Route';font-size:10px}
.szm-unified-input>small{grid-column:1/-1}
.szm-tour-workspace .szm-unified-results .szm-order-option.is-valid{background:#e3f4e9;border-color:#68a982}
.szm-tour-workspace .szm-unified-results .szm-order-option.is-invalid{background:#ffe5e6;border-color:#d4616c}
.szm-tour-workspace .szm-unified-results .szm-order-option.is-checking{background:#f1f4f8}
.szm-tour-workspace .szm-unified-results .szm-order-option[aria-selected=true]{outline:2px solid #2f6fa8;outline-offset:-2px}

/* v105: one aligned control row, followed by the full-width shared search. */
.szm-tour-workspace .szm-tour-toprow{display:grid;grid-template-columns:auto auto minmax(195px,1fr) auto auto;align-items:center;gap:8px 12px;padding:0 0 8px;position:relative}
.szm-tour-workspace .szm-tour-toprow>.szm-tour-primary-tabs{grid-column:1;grid-row:1;align-self:center;margin:0;flex-wrap:nowrap}
.szm-tour-workspace .szm-tour-toprow>.szm-tour-shared-toolbar:not([hidden]),.szm-tour-workspace .szm-tour-shared-toolbar>.szm-tour-day-toolbar{display:contents}
.szm-tour-workspace .szm-tour-toprow .szm-tour-date-controls{grid-column:2;grid-row:1;gap:4px;margin:0}
.szm-tour-workspace .szm-tour-toprow .szm-tour-balance-wrap{grid-column:3;grid-row:1;width:100%;min-width:0;max-width:280px;margin:0}
.szm-tour-workspace .szm-tour-toprow .szm-tour-day-toolbar>.szm-pilot-actions{grid-column:4;grid-row:1;margin:0;justify-content:flex-end}
.szm-tour-workspace .szm-tour-toprow>.szm-tour-calendar-options{grid-column:5;grid-row:1;margin:0;position:relative;align-self:center}
.szm-tour-workspace .szm-tour-calendar-options[open]>.szm-calendar-mode{position:absolute;right:0;top:100%;z-index:1500;width:320px;max-width:80vw;background:#fff;border:1px solid #c5d1e0;box-shadow:0 6px 20px #23334e25;border-radius:8px;padding:12px}
.szm-tour-workspace .szm-unified-search{grid-column:1/-1;grid-row:2;order:initial;grid-template-columns:minmax(270px,30%) minmax(0,1fr);align-items:start;gap:12px;margin:0;padding:8px 10px;background:#fff;border:1px solid #d9e2ed;border-radius:9px;box-sizing:border-box}
.szm-tour-workspace .szm-unified-search *{box-sizing:border-box}
.szm-tour-workspace .szm-unified-input{gap:6px;min-width:0}
.szm-tour-workspace .szm-unified-input>label{margin:0;line-height:16px;font-size:11px}
.szm-tour-workspace .szm-unified-input input[type=search]{display:block;height:34px;min-height:34px;font-size:12px;padding:6px 9px;margin:3px 0 0;line-height:20px}
.szm-tour-workspace .szm-unified-input input[type=search]:focus-visible{outline:2px solid #3c73b3;outline-offset:1px}
.szm-tour-workspace .szm-unified-input-actions{margin-top:19px;height:34px;justify-content:flex-start;gap:8px}
.szm-tour-workspace .szm-unified-input-actions button{width:26px;height:28px;min-height:28px;padding:0;font-size:19px}
.szm-tour-workspace .szm-unified-results{gap:12px;align-items:start;line-height:1.35}
.szm-tour-workspace .szm-search-column-heading{display:block;font-size:11px;font-weight:600;color:#29445f;line-height:16px;margin:0 0 3px}
.szm-tour-workspace .szm-order-options,.szm-tour-workspace .szm-google-options{max-height:115px;scrollbar-gutter:stable}
.szm-tour-workspace .szm-unified-results button[role=option]{border-radius:6px;padding:6px 8px;margin-bottom:4px;font-size:12px;line-height:1.35}
.szm-tour-workspace .szm-unified-results button[role=option] small,.szm-tour-workspace .szm-unified-results button[role=option] span{font-size:11px}
.szm-tour-workspace .szm-search-customer{padding:6px 8px;line-height:1.35}
.szm-tour-workspace .szm-search-customer header{flex-wrap:wrap;gap:2px 8px;line-height:16px}
.szm-tour-workspace .szm-unified-search .szm-search-edit-fields label{font-size:10px;line-height:14px;margin:0}
.szm-tour-workspace .szm-search-edit-fields input{height:26px!important;min-height:26px!important;font-size:12px!important;padding:3px 5px!important}
.szm-tour-workspace .szm-search-customer .szm-selected-address{font-size:12px}
.szm-tour-workspace .szm-google-options .szm-google-heading{display:none}
.szm-tour-workspace .szm-google-options.has-correction-arrows button{padding-left:28px}
.szm-tour-workspace .szm-search-empty{margin:0;font-size:11px;color:#62748b;line-height:1.5;padding:7px 8px;background:#f5f7fa;border-radius:6px}
@media(max-width:1450px){
 .szm-tour-workspace .szm-tour-toprow{grid-template-columns:auto minmax(195px,1fr) auto;gap:7px 10px}
 .szm-tour-workspace .szm-tour-toprow>.szm-tour-primary-tabs{grid-column:1/3}
 .szm-tour-workspace .szm-tour-toprow>.szm-tour-calendar-options{grid-column:3;justify-self:end}
 .szm-tour-workspace .szm-tour-toprow .szm-tour-date-controls{grid-column:1;grid-row:2}
 .szm-tour-workspace .szm-tour-toprow .szm-tour-balance-wrap{grid-column:2;grid-row:2}
 .szm-tour-workspace .szm-tour-toprow .szm-tour-day-toolbar>.szm-pilot-actions{grid-column:3;grid-row:2}
 .szm-tour-workspace .szm-unified-search{grid-row:3;grid-template-columns:minmax(230px,30%) minmax(0,1fr)}
}
@media(max-width:800px){
 .szm-tour-workspace .szm-unified-search{grid-template-columns:1fr}
 .szm-tour-workspace .szm-tour-toprow{grid-template-columns:1fr auto}
 .szm-tour-workspace .szm-tour-toprow>.szm-tour-primary-tabs{grid-column:1;flex-wrap:wrap}
 .szm-tour-workspace .szm-tour-toprow>.szm-tour-calendar-options{grid-column:2}
 .szm-tour-workspace .szm-tour-toprow .szm-tour-date-controls{grid-column:1;grid-row:2}
 .szm-tour-workspace .szm-tour-toprow .szm-tour-balance-wrap{grid-column:1;grid-row:3}
 .szm-tour-workspace .szm-tour-toprow .szm-tour-day-toolbar>.szm-pilot-actions{grid-column:2;grid-row:3}
 .szm-tour-workspace .szm-unified-search{grid-row:4}
}
@media(max-width:450px){.szm-tour-workspace .szm-unified-results{grid-template-columns:1fr}.szm-tour-workspace .szm-search-edit-fields{grid-template-columns:minmax(0,1fr) 85px}}

/* v106: compact shared search, without hiding editable customer information. */
.szm-tour-workspace .szm-unified-search{padding:5px 7px;gap:9px}
.szm-tour-workspace .szm-search-column-heading,.szm-tour-workspace .szm-unified-input>label{font-size:10px;line-height:13px;margin-bottom:2px}
.szm-tour-workspace .szm-unified-input input[type=search]{height:30px;min-height:30px;margin-top:2px;padding:4px 7px}
.szm-tour-workspace .szm-unified-input-actions{height:30px;margin-top:15px;gap:5px}
.szm-tour-workspace .szm-unified-results{gap:9px}
.szm-tour-workspace .szm-search-customer{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 7px;padding:5px 7px}
.szm-tour-workspace .szm-search-customer header{grid-column:1/-1;line-height:14px;min-height:0;margin:0;padding:0}
.szm-tour-workspace .szm-search-edit-fields{grid-column:1/-1;grid-template-columns:minmax(0,1fr) minmax(130px,32%);gap:8px;margin:0}
.szm-tour-workspace .szm-unified-search .szm-search-edit-fields label{display:flex;flex-direction:row;align-items:center;gap:4px;font-size:10px;line-height:14px;white-space:nowrap}
.szm-tour-workspace .szm-search-edit-fields input{flex:1 1 0;min-width:0;width:0;height:24px!important;min-height:24px!important;margin:0;padding:2px 4px!important;font-weight:500}
.szm-tour-workspace .szm-search-customer .szm-selected-address{grid-column:1/-1;font-size:11px;line-height:14px;height:auto!important;min-height:0!important;margin:0;padding:0;text-align:left;justify-content:flex-start}
.szm-tour-workspace .szm-search-customer>small{grid-column:1/-1;font-size:10px;line-height:12px;margin:0}
.szm-tour-workspace .szm-search-notes{grid-column:1/-1;font-size:10px;line-height:13px;margin:0;max-height:26px;overflow:auto}
.szm-tour-workspace .szm-search-customer .szm-save-customer{grid-column:1/-1;justify-self:start;margin:0;padding:2px 5px;min-height:22px;font-size:10px}
.szm-tour-workspace .szm-order-options,.szm-tour-workspace .szm-google-options{max-height:96px}
.szm-tour-workspace .szm-unified-results button[role=option]{padding:4px 6px;margin-bottom:3px;font-size:11px;gap:1px;line-height:1.3}
.szm-tour-workspace .szm-google-options.has-correction-arrows button{padding-left:26px}
.szm-tour-workspace .szm-google-options .address-attribution{padding:1px 3px;font-size:10px}
.szm-tour-workspace .szm-unified-input>.szm-route-hint{color:#54657c;font-size:10px;line-height:13px;margin:0}
@media(max-width:1100px){.szm-tour-workspace .szm-search-edit-fields{grid-template-columns:minmax(0,1fr) 98px;gap:5px}.szm-tour-workspace .szm-unified-search .szm-search-edit-fields label{display:block;font-size:9px;line-height:12px}.szm-tour-workspace .szm-search-edit-fields input{width:100%}}

/* v119: stable two-line search area, compact pin edits and structured details. */
@media(min-width:801px){
.szm-tour-workspace .szm-unified-search{height:88px;min-height:88px;max-height:88px;box-sizing:border-box;align-items:start;overflow:visible}
.szm-tour-workspace .szm-unified-orders,.szm-tour-workspace .szm-unified-google{height:74px;min-height:74px;max-height:74px;min-width:0;overflow:auto}
.szm-tour-workspace .szm-search-customer{height:56px;min-height:56px;max-height:56px;box-sizing:border-box;position:relative;display:grid;grid-template-columns:104px minmax(0,1fr);grid-template-rows:24px 18px;gap:2px 6px;padding:5px 7px;overflow:hidden}
.szm-tour-workspace .szm-search-customer>header{grid-column:1;grid-row:1;align-self:center;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.szm-tour-workspace .szm-search-customer>header>small,.szm-tour-workspace .szm-search-customer>.szm-search-notes{display:none}
.szm-tour-workspace .szm-search-customer .szm-search-edit-fields{grid-column:2;grid-row:1;grid-template-columns:minmax(0,1fr) 100px;gap:5px;margin:0}
.szm-tour-workspace .szm-search-customer .szm-search-edit-fields label{font-size:0!important;line-height:22px;display:flex}
.szm-tour-workspace .szm-search-customer .szm-search-edit-fields input{height:22px!important;min-height:22px!important;width:100%;font-size:11px!important}
.szm-tour-workspace .szm-search-customer .szm-selected-address{grid-column:1/-1;grid-row:2;display:block;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-right:130px}
.szm-tour-workspace .szm-search-customer>small{position:absolute;right:7px;bottom:5px;max-width:125px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:16px}
.szm-tour-workspace .szm-search-customer>.szm-save-customer{position:absolute;right:5px;bottom:3px;margin:0;min-height:20px;line-height:16px}
.szm-tour-workspace .szm-search-customer:has(.szm-save-customer)>small{display:none}
.szm-tour-workspace .szm-order-options,.szm-tour-workspace .szm-google-options{max-height:56px}
.szm-tour-workspace .szm-unified-input>small{max-height:28px;overflow:auto}
}
.szm-tour-workspace .szm-tour-month-grid button.is-empty-day,.szm-tour-workspace .szm-tour-month-grid button.is-empty-day.is-selected{background:#fff!important}
.szm-pin-edit-row{display:grid;grid-template-columns:minmax(0,1fr) 62px;gap:8px;align-items:start;margin-top:8px;border-top:1px solid #d8e0e8;padding-top:7px}
.szm-pin-edit-row .szm-pin-driver-control,.szm-pin-edit-row .szm-stop-order-control{margin:0!important;padding:0!important;border:0!important;min-width:0;display:flex;flex-direction:column;gap:4px;text-align:left}
.szm-pin-edit-row select{height:30px;min-height:30px;width:100%;box-sizing:border-box;font-size:11px;padding:3px}
.szm-pin-edit-row .szm-stop-order-control>small:not([role=alert]){display:none}
.szm-pin-edit-row small[role=alert]{white-space:normal;color:#a62635;font-size:10px}
.szm-tour-order-detail .szm-detail-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;border-bottom:1px solid #dce4ee;padding-bottom:10px;margin-bottom:14px}
.szm-detail-heading h3{margin:0}.szm-detail-heading>span{font-size:12px;color:#526984}
.szm-detail-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:14px}
.szm-detail-section{background:#f5f8fc;border:1px solid #e0e7ef;border-radius:8px;padding:12px;min-width:0}
.szm-detail-section h4{font-size:13px;margin:0 0 10px;color:#244d70}.szm-detail-section:last-child{grid-column:1/-1}
.szm-detail-section .szm-tour-detail-grid{display:grid;grid-template-columns:126px minmax(0,1fr);gap:7px 10px;margin:0;font-size:12px;line-height:1.5}
.szm-detail-section dd{margin:0;min-width:0;overflow-wrap:anywhere;white-space:pre-wrap}.szm-detail-section dt{font-weight:600;color:#536d88}
.szm-detail-original{margin-top:14px;border-top:1px solid #dce4ee;padding-top:12px}.szm-detail-original>summary{cursor:pointer;font-weight:600;font-size:12px}
.szm-recovery-compact{font-size:11px;margin:4px 0}.szm-recovery-compact>summary{cursor:pointer;color:#735d22}
@media(max-width:700px){.szm-detail-sections{grid-template-columns:1fr}.szm-detail-section .szm-tour-detail-grid{grid-template-columns:110px minmax(0,1fr)}}

/* v120: suggestions extend over the map without resizing it or nested scrolling. */
.szm-tour-workspace .szm-unified-search{position:relative;z-index:1400;overflow:visible}
.szm-tour-workspace .szm-unified-results{overflow:visible}
.szm-tour-workspace .szm-unified-orders,.szm-tour-workspace .szm-unified-google{position:relative;min-height:74px;overflow:visible}
.szm-tour-workspace .szm-order-options,.szm-tour-workspace .szm-google-options{position:absolute;left:0;right:0;top:auto;z-index:1;max-height:none;overflow:visible;scrollbar-gutter:auto;background:#fff;border:1px solid #c1cddb;border-radius:7px;padding:4px;box-shadow:0 8px 22px #17335529}
.szm-tour-workspace .szm-unified-input>small{max-height:none;overflow:visible}

.szm-tour-left-content>.szm-tour-date-controls{display:flex;flex:none;align-items:center;justify-content:space-between;gap:3px;padding:4px;background:#fff;border:1px solid #d5dfeb;border-radius:6px;min-width:0}
.szm-tour-left-content>.szm-tour-date-controls label{min-width:0;flex:1;font-size:0}
.szm-tour-left-content>.szm-tour-date-controls input[type=date]{width:100%;min-width:0;height:29px;font-size:11px;padding:2px}
.szm-tour-left-content>.szm-tour-date-controls button{min-height:28px;min-width:22px;padding:2px 5px;font-size:11px}

/* One-line status; explanation and repair tools open over the workspace. */
.szm-tour-workspace .szm-calendar-mode.szm-calendar-status{position:relative;display:block;flex:0 1 auto;min-width:0;max-width:min(430px,100%);margin:0;padding:0;font-size:11px;z-index:1400}
.szm-calendar-status>summary{cursor:pointer;min-height:28px;box-sizing:border-box;padding:6px 9px;border:1px solid #cbd5e1;border-radius:6px;background:#f8fafc;color:#334155;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:16px}
.szm-calendar-status>summary:focus-visible{outline:2px solid #2563eb;outline-offset:2px}
.szm-calendar-status.needs-attention>summary{color:#92400e;background:#fffbeb;border-color:#f3d388}
.szm-calendar-status-panel{position:absolute;right:0;top:calc(100% + 4px);width:500px;max-width:calc(100vw - 24px);max-height:65vh;overflow:auto;box-sizing:border-box;padding:12px;border:1px solid #cbd5e1;border-radius:7px;background:#fff;box-shadow:0 6px 20px #172b4326;white-space:normal;line-height:1.5}
.szm-tour-workspace .szm-calendar-status-panel>button{min-height:28px!important;padding:4px 8px!important;font-size:11px!important;margin:3px 5px 3px 0}
.szm-calendar-status-panel p{margin:6px 0}.szm-calendar-status-panel details{margin-top:7px}

.szm-tour-sync-footer{display:flex;justify-content:flex-end;margin-top:12px;padding-top:8px;border-top:1px solid #e2e8f0}
.szm-tour-workspace .szm-tour-sync-footer .szm-calendar-status{max-width:100%;z-index:auto}
.szm-tour-sync-footer .szm-calendar-status[open]{width:100%}
.szm-tour-sync-footer .szm-calendar-status-panel{position:static;max-width:100%;width:100%;margin-top:4px;box-shadow:none}

/* v147: no shared topbar on any tab; all account controls live in Settings. */
.staff-main>.staff-content{padding-top:10px}
.szm-mobile-menu-floating{display:none!important}
.szm-settings-account-actions,.szm-account-logout{display:flex;align-items:center;gap:8px}
.szm-account-logout{margin-top:18px}
.staff-footer>.szm-header-notice-host{display:flex;justify-content:flex-start;max-width:100%;margin:0 0 8px}
.staff-footer .szm-header-notice-popover{top:auto;bottom:100%;left:0;right:auto;max-width:min(680px,calc(100vw - 32px))}
.staff-app .staff-calendar-workspace>.staff-calendar-heading{display:flex;align-items:center;flex-wrap:nowrap;gap:6px;margin-bottom:6px;overflow-x:auto;scrollbar-width:thin;max-width:100%}
.staff-app .staff-calendar-workspace .staff-calendar-heading>h1{flex:0 0 auto;font-size:20px;margin:0 6px 0 0;white-space:nowrap}
.staff-calendar-heading>.staff-view-switch{flex:0 0 auto;display:flex;flex-wrap:nowrap;gap:4px;margin:0}
.staff-calendar-heading>.staff-calendar-actions-row{flex:0 0 auto;margin-left:auto}
.staff-calendar-heading .staff-card-actions{display:flex;flex-wrap:nowrap;gap:4px;margin:0}
.staff-calendar-heading button,.staff-calendar-heading .staff-view-switch button{min-height:30px;height:30px;padding:4px 7px;font-size:11px;white-space:nowrap}
.staff-calendar-heading>div{flex-shrink:0}
.szm-tour-workspace .szm-tour-toprow{flex-wrap:nowrap;gap:6px}
.szm-tour-workspace .szm-tour-shared-toolbar{min-width:0;flex:1}
.szm-tour-workspace .szm-tour-toprow .szm-tour-day-toolbar{display:flex;align-items:center;flex-wrap:nowrap;gap:6px;min-width:0}
@media(max-width:800px){.szm-mobile-menu-floating{display:flex!important;position:fixed;top:10px;left:10px;z-index:1250;align-items:center;justify-content:center;width:32px;height:32px;border:1px solid #cbd5e1;border-radius:6px;background:#fffffff2;box-shadow:0 1px 4px #0002}.staff-main>.staff-content{padding-top:48px}.staff-app .staff-calendar-workspace .staff-calendar-heading>h1{font-size:18px}.szm-tour-workspace .szm-tour-toprow{overflow-x:auto}.szm-tour-workspace .szm-tour-shared-toolbar{min-width:640px}}
/* v147: quieter navigation typography, without reducing status contrast. */
.staff-sidebar nav [data-nav],.staff-sidebar nav [data-nav]>span,.staff-sidebar nav [data-nav]>strong{font-family:inherit;font-size:13px;font-weight:500;letter-spacing:0;line-height:1.35}
.staff-sidebar nav [data-nav].active,.staff-sidebar nav [data-nav][aria-current=page]{font-weight:600}
.staff-sidebar .staff-nav-count,.staff-sidebar .staff-nav-alert{font-size:11px;font-weight:650}

.staff-app .staff-sidebar nav button[data-nav],.staff-app .staff-sidebar nav button[data-nav]>span{font-size:13px;font-weight:500;letter-spacing:0;line-height:1.35}
.staff-app .staff-sidebar nav button[data-nav].active,.staff-app .staff-sidebar nav button[data-nav].active>span{font-weight:600}

/* v147: compact contact enquiries, common action icons and attention badges. */
.staff-app .request-card.is-compact-contact{display:block!important;grid-template-columns:none!important;width:100%;min-width:0;box-sizing:border-box;padding:14px 18px!important}
.staff-app .request-card.is-compact-contact .request-list-summary{width:100%}
.szm-compact-request{width:100%;min-width:0;box-sizing:border-box;color:#172c45;font-size:13px;line-height:1.45}
.szm-compact-request .szm-request-heading{display:flex;flex-wrap:wrap;align-items:center;gap:6px 16px;margin:0 0 10px}
.szm-compact-request .szm-request-heading h2{font-size:18px;line-height:1.25;font-weight:650;margin:0}
.szm-compact-request .szm-request-reference{font-size:11px;color:#53657b}
.szm-compact-request .request-status{margin:0 0 0 auto;padding:3px 8px;font-size:12px;line-height:1.4;white-space:normal}
.szm-compact-request .szm-request-body{display:grid;grid-template-columns:minmax(180px,1fr) minmax(240px,2fr) minmax(130px,.7fr);gap:12px 22px;align-items:start}
.szm-compact-request .szm-request-contact{display:flex;flex-direction:column;gap:3px;overflow-wrap:anywhere;min-width:0}
.szm-compact-request .szm-request-message{min-width:0;overflow-wrap:anywhere}
.szm-compact-request .szm-request-message>small{font-size:10px;letter-spacing:.06em;color:#53657b}
.szm-compact-request p{margin:2px 0 5px;line-height:1.45}
.szm-compact-request .szm-request-message>p{white-space:pre-wrap}
.szm-compact-request .szm-request-waiting{font-size:12px;color:#506345}
.szm-compact-request .szm-request-delivery{font-size:11px;color:#53657b;overflow-wrap:anywhere}
.szm-compact-request .szm-request-delivery summary{cursor:pointer;font-size:12px}
.szm-compact-request .szm-request-footer{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px 16px;margin-top:10px;padding-top:10px;border-top:1px solid #dce1e6}
.szm-compact-request .szm-request-proposals{min-width:0}
.szm-compact-request .szm-contact-actions{margin:0;width:auto;flex-basis:auto}
.szm-compact-request .szm-contact-actions>small{font-size:9px;font-weight:600;letter-spacing:.08em;margin:0 0 5px}
.szm-compact-request .szm-contact-type-grid{display:flex;flex-wrap:wrap;gap:5px;max-width:none}
.szm-compact-request .szm-contact-type-grid button{padding:6px 9px;gap:5px;min-height:32px;font-size:12px;font-weight:550;border-radius:7px;white-space:nowrap}
.szm-compact-request .szm-contact-type-grid button svg{width:15px;height:15px;flex:none}
.szm-compact-request .szm-request-communications{display:flex;flex-wrap:wrap;gap:5px;align-items:center}
.szm-compact-request .szm-request-completion{margin-left:auto}
.szm-compact-request .szm-request-action,.szm-compact-request .tl-open{display:inline-flex;align-items:center;justify-content:center;gap:5px;box-sizing:border-box;min-height:32px;margin:0;padding:6px 9px;border:1px solid #aab8c8;border-radius:7px;background:#fff;color:#172c45;font:550 12px/1.4 system-ui,sans-serif;cursor:pointer;text-decoration:none;white-space:nowrap}
.szm-compact-request .szm-request-action:hover,.szm-compact-request .tl-open:hover{background:#f4f6ff;border-color:#1b287f}
.szm-compact-request .szm-request-action:disabled{opacity:.55;cursor:default}
.szm-compact-request .szm-request-action:focus-visible,.szm-compact-request .tl-open:focus-visible{outline:2px solid #1b287f;outline-offset:2px}
.staff-app .staff-sidebar nav button .szm-attention-badge{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:18px!important;min-width:18px!important;height:18px!important;min-height:18px!important;padding:0!important;border:1px solid #f59e0b!important;border-radius:50%!important;background:#fbbf24!important;color:#713f12!important;font:700 12px/1 system-ui,sans-serif!important;letter-spacing:0!important;box-shadow:none!important;flex:0 0 18px!important}
[data-szm-icon]::before{content:"";display:inline-block;width:14px;height:14px;flex:0 0 14px;vertical-align:-2px;margin-inline-end:5px;background:currentColor;-webkit-mask:var(--szm-action-icon) center/contain no-repeat;mask:var(--szm-action-icon) center/contain no-repeat;pointer-events:none}
.szm-compact-request [data-szm-icon]::before{margin-inline-end:0}
@media(max-width:1000px){.szm-compact-request .szm-request-body{grid-template-columns:minmax(150px,1fr) minmax(200px,2fr)}.szm-compact-request .szm-request-delivery{grid-column:1/-1}.szm-compact-request .szm-request-delivery[open]{display:block}.szm-compact-request .szm-request-delivery[open]>p{display:inline;margin-right:15px}}
@media(max-width:600px){.staff-app .request-card.is-compact-contact{padding:12px!important}.szm-compact-request .szm-request-body{grid-template-columns:minmax(0,1fr)}.szm-compact-request .request-status{margin-left:0}.szm-compact-request .szm-request-completion{margin-left:0}.szm-compact-request .szm-request-footer{align-items:flex-start;gap:10px}.szm-compact-request .szm-request-communications{width:100%}}

/* Decorative, monochrome action symbols; labels remain unchanged. */
[data-szm-icon="save"]{--szm-action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%203h12l4%204v14H3V3h2ZM7%203v6h10V3M7%2021v-8h10v8%22%2F%3E%3C%2Fsvg%3E")}
[data-szm-icon="send"]{--szm-action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m3%203%2019%209-19%209%204-9-4-9ZM7%2012h15%22%2F%3E%3C%2Fsvg%3E")}
[data-szm-icon="mail"]{--szm-action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%205h18v14H3V5Zm0%201%209%207%209-7%22%2F%3E%3C%2Fsvg%3E")}
[data-szm-icon="sms"]{--szm-action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%204h18v13H8l-5%204V4ZM7%208h10M7%2012h7%22%2F%3E%3C%2Fsvg%3E")}
[data-szm-icon="phone"]{--szm-action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%203h4l2%205-3%202a14%2014%200%200%200%206%206l2-3%205%202v4c0%202-2%203-4%202C9%2019%205%2015%203%207c-1-2%200-4%202-4Z%22%2F%3E%3C%2Fsvg%3E")}
[data-szm-icon="link"]{--szm-action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m10%2014%204-4M8%2016l-2%202a4%204%200%200%201-6-6l5-5a4%204%200%200%201%206%200M16%208l2-2a4%204%200%200%201%206%206l-5%205a4%204%200%200%201-6%200%22%2F%3E%3C%2Fsvg%3E")}
[data-szm-icon="copy"]{--szm-action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M8%208h13v13H8V8ZM16%208V3H3v13h5%22%2F%3E%3C%2Fsvg%3E")}
[data-szm-icon="open"]{--szm-action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M14%203h7v7M21%203l-11%2011M10%203H3v18h18v-7%22%2F%3E%3C%2Fsvg%3E")}
[data-szm-icon="download"]{--szm-action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203v12m-5-5%205%205%205-5M3%2016v5h18v-5%22%2F%3E%3C%2Fsvg%3E")}
[data-szm-icon="upload"]{--szm-action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%2016V3m-5%205%205-5%205%205M3%2016v5h18v-5%22%2F%3E%3C%2Fsvg%3E")}
[data-szm-icon="add"]{--szm-action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%204v16M4%2012h16%22%2F%3E%3C%2Fsvg%3E")}
[data-szm-icon="edit"]{--szm-action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m14%204%206%206M3%2021l2-7L17%202l5%205-12%2012-7%202Z%22%2F%3E%3C%2Fsvg%3E")}
[data-szm-icon="delete"]{--szm-action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%206h18M9%206V3h6v3M5%206l1%2015h12l1-15M10%2010v7M14%2010v7%22%2F%3E%3C%2Fsvg%3E")}
[data-szm-icon="calendar"]{--szm-action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M8%202v5M16%202v5M3%2010h18M3%205h18v16H3V5ZM7%2014h3M14%2014h3%22%2F%3E%3C%2Fsvg%3E")}
[data-szm-icon="search"]{--szm-action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M16%2016l5%205M18%2010a8%208%200%201%201-16%200%208%208%200%200%201%2016%200%22%2F%3E%3C%2Fsvg%3E")}
[data-szm-icon="filter"]{--szm-action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%204h18l-7%208v7l-4%202v-9L3%204Z%22%2F%3E%3C%2Fsvg%3E")}
[data-szm-icon="refresh"]{--szm-action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20%208a8%208%200%200%200-14-3L3%208m0-5v5h5M4%2016a8%208%200%200%200%2014%203l3-3m0%205v-5h-5%22%2F%3E%3C%2Fsvg%3E")}
[data-szm-icon="settings"]{--szm-action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%208a4%204%200%201%200%200%208%204%204%200%200%200%200-8ZM10%202h4l1%204%204%201%202%204-3%203%201%204-4%203-3-2-4%202-3-3%201-4-3-3%202-4%204-1%201-4Z%22%2F%3E%3C%2Fsvg%3E")}
[data-szm-icon="check"]{--szm-action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m4%2012%205%205L20%206%22%2F%3E%3C%2Fsvg%3E")}
[data-szm-icon="close"]{--szm-action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%205l14%2014M19%205%205%2019%22%2F%3E%3C%2Fsvg%3E")}
[data-szm-icon="arrow"]{--szm-action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2012h16m-6-6%206%206-6%206%22%2F%3E%3C%2Fsvg%3E")}
[data-szm-icon="back"]{--szm-action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20%2012H4m6-6-6%206%206%206%22%2F%3E%3C%2Fsvg%3E")}
[data-szm-icon="play"]{--szm-action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m7%203%2014%209-14%209V3Z%22%2F%3E%3C%2Fsvg%3E")}
[data-szm-icon="pause"]{--szm-action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M7%203v18M17%203v18%22%2F%3E%3C%2Fsvg%3E")}
[data-szm-icon="map"]{--szm-action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m3%205%206-3%206%203%206-3v17l-6%203-6-3-6%203V5Zm6-3v17m6-14v17%22%2F%3E%3C%2Fsvg%3E")}
[data-szm-icon="route"]{--szm-action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%206a3%203%200%201%200%200%20.01ZM19%2018a3%203%200%201%200%200%20.01ZM8%206h7a4%204%200%200%201%200%208H9a4%204%200%200%200%200%208h7%22%2F%3E%3C%2Fsvg%3E")}
[data-szm-icon="user"]{--szm-action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M16%206a4%204%200%201%201-8%200%204%204%200%200%201%208%200ZM3%2022v-3a9%209%200%200%201%2018%200v3%22%2F%3E%3C%2Fsvg%3E")}
[data-szm-icon="info"]{--szm-action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%2011v6M12%207v.01M22%2012a10%2010%200%201%201-20%200%2010%2010%200%200%201%2020%200%22%2F%3E%3C%2Fsvg%3E")}
[data-szm-icon="logout"]{--szm-action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M10%203H3v18h7M8%2012h13m-5-5%205%205-5%205%22%2F%3E%3C%2Fsvg%3E")}
[data-szm-icon="eye"]{--szm-action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M2%2012s4-7%2010-7%2010%207%2010%207-4%207-10%207-10-7-10-7ZM15%2012a3%203%200%201%201-6%200%203%203%200%200%201%206%200%22%2F%3E%3C%2Fsvg%3E")}
[data-szm-icon="file"]{--szm-action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%202h10l6%206v14H4V2Zm10%200v6h6M8%2012h8M8%2016h8%22%2F%3E%3C%2Fsvg%3E")}
[data-szm-icon="print"]{--szm-action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%208V2h12v6M6%2017H2V8h20v9h-4M6%2014h12v8H6v-8%22%2F%3E%3C%2Fsvg%3E")}
[data-szm-icon="money"]{--szm-action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%205h18v14H3V5ZM15%2012a3%203%200%201%201-6%200%203%203%200%200%201%206%200ZM6%209v6M18%209v6%22%2F%3E%3C%2Fsvg%3E")}
[data-szm-icon="car"]{--szm-action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m5%2010%202-6h10l2%206M3%2010h18v9H3v-9ZM6%2019v3M18%2019v3M6%2014h2M16%2014h2%22%2F%3E%3C%2Fsvg%3E")}
[data-szm-icon="home"]{--szm-action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m2%2011%2010-9%2010%209M5%209v13h14V9M10%2022v-8h4v8%22%2F%3E%3C%2Fsvg%3E")}
[data-szm-icon="video"]{--szm-action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%205h12v14H3V5Zm12%205%207-4v12l-7-4%22%2F%3E%3C%2Fsvg%3E")}
[data-szm-icon="chart"]{--szm-action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%203v18h18M7%2017v-4M12%2017V9M17%2017V5%22%2F%3E%3C%2Fsvg%3E")}
[data-szm-icon="lock"]{--szm-action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%2010V6a6%206%200%200%201%2012%200v4M4%2010h16v12H4V10ZM12%2014v4%22%2F%3E%3C%2Fsvg%3E")}

/* Full-width list in every customer enquiry tab, including To do. */
.staff-app .staff-content:has(.customer-request-list),.staff-app .staff-content:has(.request-compact-list){max-width:none;width:100%;box-sizing:border-box}
.staff-app .customer-request-list,.staff-app .proposal-request-cards.customer-request-list,.staff-app .request-compact-list{display:flex!important;flex-direction:column!important;gap:10px!important;width:100%;max-width:none;min-width:0}
.staff-app .customer-request-list>.request-card,.staff-app .request-compact-list>.request-card{width:100%;max-width:none;min-width:0;box-sizing:border-box}
.staff-app .customer-request-list>.request-card:not(.is-compact-contact){padding:14px 18px;gap:12px;grid-template-columns:minmax(0,1fr) minmax(280px,1fr)}
.staff-app .customer-request-list .request-info{max-width:none;min-width:0}
.staff-app .customer-request-list .request-info>h2{font-size:18px;margin:3px 0 5px}
.staff-app .customer-request-list .request-info>p{margin:3px 0;line-height:1.4;font-size:13px}
.staff-app .customer-request-list .staff-card-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}
.staff-app .customer-request-list .staff-card-actions>button,.staff-app .customer-request-list .staff-card-actions>a{min-height:32px;height:auto;padding:6px 9px;font-size:12px;font-weight:550}
@media(max-width:800px){.staff-app .customer-request-list>.request-card:not(.is-compact-contact){grid-template-columns:minmax(0,1fr);padding:12px}}

.staff-app .request-compact-list>.request-card.is-compact-contact{padding:0!important}
.staff-app .request-compact-list>.request-card.is-compact-contact>.szm-compact-request{padding:12px 18px;border-top:1px solid #d6deea}

[data-szm-icon-layout="overlay"]{position:relative;padding-inline-start:36px!important}
[data-szm-icon-layout="overlay"]::before{position:absolute;inset-inline-start:12px;top:50%;transform:translateY(-50%);margin:0}

/* v147: full-width CSV/Google fields and non-overlapping selected order details. */
.szm-tour-workspace .szm-tour-toprow{display:grid;grid-template-columns:minmax(0,1fr) minmax(120px,240px);gap:6px 12px;overflow:visible;align-items:center}
.szm-tour-workspace .szm-tour-toprow>.szm-tour-primary-tabs{grid-column:1;grid-row:1;min-width:0;flex-wrap:wrap}
.szm-tour-workspace .szm-tour-shared-toolbar:not([hidden]),.szm-tour-workspace .szm-tour-toprow .szm-tour-day-toolbar{display:contents;min-width:0}
.szm-tour-workspace .szm-tour-toprow .szm-tour-balance-wrap{grid-column:2;grid-row:1;width:100%;max-width:none;margin:0}
.szm-tour-workspace .szm-unified-search{grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,2fr);gap:10px;width:100%;height:auto;min-height:58px;max-height:none;margin:0;padding:7px 9px;align-items:start}
.szm-tour-workspace .szm-unified-results{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:12px;min-width:0;width:100%}
.szm-tour-workspace .szm-unified-orders,.szm-tour-workspace .szm-unified-google{position:relative;width:100%;height:auto;min-height:34px;max-height:none;overflow:visible}
.szm-tour-workspace .szm-search-customer{position:relative;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:none;gap:4px;width:100%;height:auto;min-height:0;max-height:none;overflow:visible;padding:6px 8px;line-height:1.35}
.szm-tour-workspace .szm-search-customer>header{grid-column:1;grid-row:auto;display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:2px 8px;min-width:0;white-space:normal;overflow:visible;line-height:15px}
.szm-tour-workspace .szm-search-customer>header>strong{overflow-wrap:anywhere}
.szm-tour-workspace .szm-search-customer>header>small{display:block;font-size:9px}
.szm-tour-workspace .szm-search-customer .szm-search-edit-fields{grid-column:1;grid-row:auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(65px,32%);gap:6px;margin:0}
.szm-tour-workspace .szm-search-customer .szm-search-edit-fields label{display:block;min-width:0;white-space:normal;font-size:10px!important;line-height:13px}
.szm-tour-workspace .szm-search-customer .szm-search-edit-fields input{display:block;flex:none;width:100%;min-width:0;height:25px!important;min-height:25px!important;margin:2px 0 0;padding:3px 5px!important;font-size:11px!important;box-sizing:border-box}
.szm-tour-workspace .szm-search-customer .szm-selected-address{grid-column:1;grid-row:auto;position:static;display:block;width:100%;height:auto!important;min-height:0!important;max-height:none;white-space:normal;overflow-wrap:anywhere;overflow:visible;text-overflow:clip;text-align:left;padding:0;line-height:15px}
.szm-tour-workspace .szm-search-customer>small{grid-column:1;grid-row:auto;position:static;max-width:none;white-space:normal;overflow:visible;line-height:13px;font-size:10px;margin:0}
.szm-tour-workspace .szm-search-customer>.szm-save-customer{grid-column:1;grid-row:auto;position:static;justify-self:start;min-height:26px;margin:0}
.szm-tour-workspace .szm-search-customer>.szm-search-notes{display:none}
.szm-tour-workspace .szm-google-options,.szm-tour-workspace .szm-order-options{min-width:100%;box-sizing:border-box}
.szm-tour-pilot .szm-map-planning-controls{position:absolute;right:10px;bottom:26px;z-index:650;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:7px;max-width:calc(100% - 20px);padding:6px 8px;background:#fffffff2;border:1px solid #aabac8;border-radius:6px;box-shadow:0 1px 5px #1233;pointer-events:auto}
.szm-tour-pilot .szm-map-planning-controls .szm-map-backlog-toggle{position:static;display:flex;max-width:none;padding:0;margin:0;border:0;box-shadow:none;background:transparent;white-space:normal;font-size:11px}
.szm-tour-pilot .szm-map-planning-controls>button{min-height:30px;height:auto;font-size:11px;padding:5px 8px;margin:0;white-space:normal}
@media(max-width:1100px){.szm-tour-workspace .szm-unified-search{grid-template-columns:minmax(0,1fr)}.szm-tour-workspace .szm-unified-input{grid-template-columns:minmax(0,1fr) auto}.szm-tour-workspace .szm-unified-results{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}}
@media(max-width:600px){.szm-tour-workspace .szm-tour-toprow{grid-template-columns:minmax(0,1fr)}.szm-tour-workspace .szm-tour-toprow .szm-tour-balance-wrap{grid-column:1;grid-row:2}.szm-tour-workspace .szm-unified-search{grid-row:3}.szm-tour-workspace .szm-unified-results{grid-template-columns:minmax(0,1fr)}.szm-tour-pilot .szm-map-planning-controls{bottom:24px;right:6px;max-width:calc(100% - 12px)}}

/* Deliberate old/new address comparison before any Google address replacement. */
.szm-address-confirmation{box-sizing:border-box;width:min(720px,calc(100vw - 32px));max-width:720px;max-height:85dvh;margin:auto;padding:24px;border:1px solid #d3dce8;border-radius:16px;background:#fff;color:#172c45;box-shadow:0 24px 80px #142f4b40;overflow:auto;font:14px/1.5 system-ui,sans-serif}
.szm-address-confirmation::backdrop{background:#11243c80;backdrop-filter:blur(2px)}
.szm-address-confirm-heading{display:flex!important;align-items:flex-start;justify-content:flex-start;gap:13px;margin:0 0 16px}
.szm-address-confirm-symbol{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:12px;background:#eaf2fc;color:#24619e}
.szm-address-confirm-symbol svg{width:24px;height:24px}
.szm-address-confirm-heading small{font-size:10px;letter-spacing:.1em;font-weight:650;color:#54718e}
.szm-address-confirm-heading h2{font-size:21px!important;font-weight:650;line-height:1.3!important;margin:2px 0 4px!important}
.szm-address-confirm-heading p{font-size:12px;margin:0;color:#52647b}
.szm-address-confirm-intro{font-size:13px;color:#52647b;margin:0 0 16px}
.szm-address-comparison{display:grid;grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr);gap:12px;align-items:stretch;margin:0 0 20px}
.szm-address-comparison>section{border:1px solid #dce3ec;border-radius:10px;background:#f6f8fb;padding:16px;min-width:0}
.szm-address-comparison>section.is-new{border-color:#79a9d7;background:#eff6ff}
.szm-address-comparison h3{font-size:11px;text-transform:uppercase;letter-spacing:.04em;font-weight:650;color:#52647b;margin:0 0 9px}
.szm-address-comparison .is-new h3{color:#235d95}
.szm-address-comparison p{font-size:15px;line-height:1.65;font-weight:550;margin:0;overflow-wrap:anywhere;white-space:pre-wrap}
.szm-address-comparison-arrow{align-self:center;text-align:center;font-size:23px;color:#7b94ae}
.szm-address-confirm-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px;margin:20px 0 0;padding-top:16px;border-top:1px solid #e4eaf1}
.szm-address-confirm-actions>button{min-height:38px;height:auto;padding:9px 13px;border:1px solid #b7c5d5;border-radius:8px;background:#fff;color:#172c45;font:550 13px/1.4 system-ui,sans-serif;cursor:pointer}
.szm-address-confirm-actions>button.is-primary{background:#1b5f96;color:#fff;border-color:#1b5f96}
.szm-address-confirm-actions>button:disabled{opacity:.55;cursor:wait}
.szm-address-confirm-actions>button:focus-visible{outline:2px solid #367fbf;outline-offset:3px}
@media(max-width:550px){.szm-address-confirmation{padding:18px}.szm-address-comparison{grid-template-columns:minmax(0,1fr);gap:8px}.szm-address-comparison-arrow{transform:rotate(90deg)}.szm-address-confirm-actions>button{flex:1}}

/* Delayed hover close: overlay stays mounted so it can glide back upwards. */
.szm-tour-workspace .szm-search-overlay{transform-origin:top center;transition:opacity .28s ease,transform .34s cubic-bezier(.22,1,.36,1),clip-path .34s cubic-bezier(.22,1,.36,1),visibility 0s;will-change:opacity,transform,clip-path}
.szm-tour-workspace .szm-search-overlay.is-open{opacity:1;transform:translate3d(0,0,0);clip-path:inset(-20px -30px -30px -30px);visibility:visible;pointer-events:auto}
.szm-tour-workspace .szm-search-overlay.is-closed{opacity:0;transform:translate3d(0,-10px,0);clip-path:inset(0 0 100% 0);visibility:hidden;pointer-events:none;transition:opacity .25s ease,transform .34s cubic-bezier(.22,1,.36,1),clip-path .34s cubic-bezier(.22,1,.36,1),visibility 0s .34s}
.szm-tour-workspace .szm-google-options.szm-search-overlay{top:19px}
@media(prefers-reduced-motion:reduce){.szm-tour-workspace .szm-search-overlay{transition:none!important}}
/* Fill the existing left column; the map dimensions remain unchanged. */
@media(min-width:801px){
.szm-tour-workspace .szm-tour-left-content>.szm-tour-driver-list{display:flex;flex-direction:column;gap:6px;padding:8px;min-height:0;overflow:auto}
.szm-tour-workspace .szm-tour-driver-list>header{flex:none;min-height:20px;padding:0 1px}
.szm-tour-workspace .szm-tour-driver-list h2{font-size:13px;line-height:18px}
.szm-tour-workspace .szm-tour-all-drivers{flex:none;min-height:28px;height:28px;padding:3px 8px;margin:0;font-size:12px}
.szm-tour-workspace .szm-tour-driver-card{flex:1 0 60px;display:flex;flex-direction:column;justify-content:center;gap:5px;min-height:60px;padding:8px 9px;margin:0;position:relative;box-sizing:border-box}
.szm-tour-workspace .szm-tour-driver-heading{min-height:20px;gap:6px}
.szm-tour-workspace .szm-tour-driver-select{min-height:20px;padding-right:50px}
.szm-tour-workspace .szm-tour-driver-select strong{font-size:13px;line-height:17px;font-weight:600;white-space:normal;overflow-wrap:anywhere}
.szm-tour-workspace .szm-tour-driver-metrics{gap:8px!important;margin-left:20px!important;align-items:baseline}
.szm-tour-workspace .szm-tour-driver-metrics>span{gap:3px;font-size:10px!important}
.szm-tour-workspace .szm-tour-driver-metrics strong{font-size:20px!important;line-height:24px;font-weight:650}
.szm-tour-workspace .szm-tour-driver-metrics small{font-size:10px!important}
.szm-tour-workspace .szm-tour-driver-footer{top:7px;right:6px}
.szm-tour-workspace .szm-tour-driver-footer button{min-height:22px;height:auto;padding:2px 3px;font-size:10px;line-height:16px}
.szm-tour-workspace .szm-tour-totals{flex:none;padding:10px 11px;min-height:115px;box-sizing:border-box}
.szm-tour-workspace .szm-tour-totals>header{font-size:13px;line-height:18px;margin:0 0 8px;font-weight:600}
.szm-tour-workspace .szm-tour-totals dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px 10px;margin:0}
.szm-tour-workspace .szm-tour-totals dt{font-size:10px;line-height:14px;white-space:normal}
.szm-tour-workspace .szm-tour-totals dd{font-size:17px;line-height:22px;font-weight:650;white-space:normal;overflow-wrap:anywhere}
.szm-tour-workspace.szm-short-map .szm-tour-left-content>.szm-tour-driver-list{gap:4px;padding:5px}
.szm-tour-workspace.szm-short-map .szm-tour-driver-card{flex-basis:49px;min-height:49px;padding:5px 7px;gap:2px}
.szm-tour-workspace.szm-short-map .szm-tour-driver-select strong{font-size:12px;line-height:15px}
.szm-tour-workspace.szm-short-map .szm-tour-driver-metrics strong{font-size:17px!important;line-height:20px}
.szm-tour-workspace.szm-short-map .szm-tour-totals{min-height:100px;padding:7px 9px}
.szm-tour-workspace.szm-short-map .szm-tour-totals dl{gap:6px 8px}
.szm-tour-workspace.szm-short-map .szm-tour-totals dd{font-size:15px;line-height:19px}
}

/* Outgoing customer status in one compact row; detailed notices remain expandable. */
.szm-customer-dispatch .dispatch-summary-line{display:flex;align-items:center;flex-wrap:nowrap;gap:10px 18px;min-width:0;padding:4px 0;font-size:11px;line-height:1.4}
.szm-customer-dispatch .dispatch-summary-line>.dispatch-count{margin:0;flex:0 1 auto;min-width:0}
.szm-customer-dispatch .dispatch-summary-note{position:relative;flex:0 0 auto;margin:0;color:#3f6591}
.szm-customer-dispatch .dispatch-summary-note>summary{cursor:pointer;white-space:nowrap;font-size:11px}
.szm-customer-dispatch .dispatch-summary-note[open]>p{position:absolute;top:100%;right:0;z-index:30;box-sizing:border-box;width:330px;max-width:calc(100vw - 32px);margin:5px 0 0;padding:12px;border:1px solid #c8d6e7;border-radius:8px;background:#fff;box-shadow:0 7px 20px #17335524;color:#29445f;white-space:normal}
@media(max-width:700px){.szm-customer-dispatch .dispatch-summary-line{flex-wrap:wrap}.szm-customer-dispatch .dispatch-summary-note[open]>p{left:0;right:auto}}

/* Incoming enquiries: a quiet, colored status rail on the left. */
.customer-requests-page .request-overview{display:grid;grid-template-columns:174px minmax(0,1fr);gap:10px 16px;align-items:start}
.customer-requests-page .request-overview>.szm-request-status-nav{grid-column:1;grid-row:1/span 2;display:flex;flex-direction:column;align-items:stretch;width:100%;height:auto;gap:7px;background:transparent;padding:0;border:0;border-radius:0}
.customer-requests-page .request-overview>.request-filters{grid-column:2;grid-row:1;margin:0;min-width:0}
.customer-requests-page .request-overview>[data-slot="tabs-content"]{grid-column:2;grid-row:2;margin:0;min-width:0}
.customer-requests-page .szm-request-status-nav .szm-request-status-tab{display:flex;justify-content:flex-start;align-items:center;gap:8px;width:100%;height:auto;min-height:43px;padding:9px 10px;border:1px solid var(--status-border);border-left:3px solid var(--status-color);border-radius:8px;background:var(--status-bg);color:var(--status-color);font:550 12px/1.4 system-ui,sans-serif;text-align:left;white-space:normal;box-shadow:none}
.customer-requests-page .szm-request-status-tab.is-todo{--status-bg:#fffbeb;--status-border:#f6d58c;--status-color:#986315}
.customer-requests-page .szm-request-status-tab.is-waiting{--status-bg:#eff6ff;--status-border:#b4d0ef;--status-color:#285c91}
.customer-requests-page .szm-request-status-tab.is-done{--status-bg:#edf9f1;--status-border:#acd8b9;--status-color:#296c44}
.customer-requests-page .szm-request-status-tab.is-all{--status-bg:#f3f1fb;--status-border:#ccc2e6;--status-color:#66528d}
.customer-requests-page .szm-request-status-nav .szm-request-status-tab[data-state="active"]{outline:2px solid var(--status-color);outline-offset:-1px;font-weight:650}
.customer-requests-page .szm-request-status-tab svg{flex:0 0 16px}
.customer-requests-page .szm-request-status-label{flex:1;min-width:0}
.customer-requests-page .szm-request-status-count{display:inline-grid;place-items:center;flex:none;min-width:24px;height:22px;padding:0 5px;border-radius:7px;background:#ffffffb8;color:inherit;font-size:11px;font-weight:650}
.customer-tab-label{display:inline-flex;align-items:center;gap:8px;min-width:0}
.customer-tab-label>svg{flex:0 0 18px}
@media(max-width:700px){.customer-requests-page .request-overview{grid-template-columns:136px minmax(0,1fr);gap:10px}.customer-requests-page .szm-request-status-nav .szm-request-status-tab{padding:8px 7px;gap:5px;font-size:11px}}
@media(max-width:480px){.customer-requests-page .request-overview{grid-template-columns:minmax(0,1fr)}.customer-requests-page .request-overview>.szm-request-status-nav{grid-column:1;grid-row:1;display:grid;grid-template-columns:1fr 1fr}.customer-requests-page .request-overview>.request-filters{grid-column:1;grid-row:2}.customer-requests-page .request-overview>[data-slot="tabs-content"]{grid-column:1;grid-row:3}}
/* Team calendar names: quieter text and one line, with more room beside counts. */
.staff-app .staff-calendar-workspace .staff-person-label .staff-person-name>strong,.staff-app .staff-calendar-workspace .staff-week-person .staff-person-name>strong,.staff-app .staff-calendar-workspace .staff-team-group-heading .staff-person-name>strong{font-size:12.5px!important;font-weight:700!important;line-height:17px!important;letter-spacing:0;white-space:nowrap!important;overflow-wrap:normal!important;overflow:hidden;text-overflow:ellipsis;color:#29435e}
.staff-app .staff-calendar-workspace .staff-person-name{min-width:0;white-space:nowrap}
.staff-app .staff-calendar-workspace .staff-timeline-row .staff-person-label:has(>.szm-month-insight-badge){grid-template-columns:minmax(0,1fr) 28px;gap:6px;padding-left:10px;padding-right:9px}
.staff-app .staff-calendar-workspace .staff-person-label>div{min-width:0}

/* v147: data controls are not action buttons; all four driver rows fit beside the map. */
@media(min-width:901px){
.szm-tour-workspace .szm-tour-left-content>.szm-tour-driver-list{overflow:visible;gap:4px;padding:5px;display:grid;grid-template-rows:20px 28px repeat(var(--szm-driver-count,4),minmax(42px,1fr));align-content:stretch}
.szm-tour-workspace .szm-tour-driver-card{min-height:0;flex:none;padding:4px 6px;gap:2px;overflow:visible}
.szm-tour-workspace .szm-tour-driver-heading{display:flex;min-width:0;height:19px;min-height:19px;gap:4px}
.szm-tour-workspace .szm-tour-driver-select{flex:1;min-width:0;padding-right:0;height:19px;min-height:19px}
.szm-tour-workspace .szm-tour-driver-select>span{min-width:0;display:block}
.szm-tour-workspace .szm-tour-driver-select strong{display:block;font-size:12px;font-weight:700;line-height:17px;white-space:nowrap;overflow-wrap:normal;overflow:hidden;text-overflow:ellipsis}
.szm-tour-workspace .szm-tour-driver-footer{position:static;margin-left:auto;flex:none;display:flex;justify-content:flex-end}
.szm-tour-workspace .szm-tour-driver-footer button{padding:0 2px;font-size:10px;min-height:18px;line-height:18px}
.szm-tour-workspace .szm-tour-driver-metrics{margin-left:0!important;grid-template-columns:auto auto auto;gap:4px!important;justify-content:space-between}
.szm-tour-workspace .szm-tour-driver-metrics strong{font-size:17px!important;line-height:19px;overflow:visible;text-overflow:clip}
.szm-tour-workspace .szm-tour-driver-metrics .szm-driver-travel strong{font-size:13px!important}
.szm-tour-workspace .szm-tour-driver-metrics>span{overflow:visible;gap:2px;font-size:9px!important}
.szm-tour-workspace .szm-tour-totals{padding:7px 9px;min-height:0}
.szm-tour-workspace .szm-tour-totals dl{gap:6px 8px}
.szm-tour-workspace .szm-tour-totals dd{font-size:15px;line-height:19px;white-space:nowrap;overflow-wrap:normal}
}
.staff-day-load.is-backoffice{display:flex;align-items:center;height:100%}
.staff-day-load.is-backoffice .staff-half-pair{width:100%}

/* v147: normal-flow children give the map control container its actual width. */
.szm-tour-pilot .szm-map-overlay-controls{right:10px;bottom:26px;left:auto;width:max-content;max-width:calc(100% - 20px);align-items:flex-end;pointer-events:none}
.szm-tour-pilot .szm-map-overlay-controls>label{pointer-events:auto}
.szm-tour-pilot .szm-map-overlay-controls>.szm-map-planning-controls{position:static;inset:auto;display:flex;flex-flow:row wrap;align-items:center;justify-content:flex-end;gap:8px 12px;width:max-content;max-width:100%;min-width:0;padding:7px 9px;pointer-events:auto;box-sizing:border-box}
.szm-tour-pilot .szm-map-planning-controls>.szm-map-backlog-toggle{position:static;inset:auto;display:inline-flex;flex:0 0 auto;flex-direction:row;align-items:center;gap:7px;width:auto;min-width:0;max-width:100%;padding:0;margin:0;white-space:nowrap;font-size:11px;line-height:18px;cursor:pointer}
.szm-tour-pilot .szm-map-backlog-toggle>input[type=checkbox]{display:block;visibility:visible;opacity:1;appearance:auto;flex:0 0 17px;width:17px;height:17px;min-width:17px;min-height:17px;max-width:17px;margin:0;padding:0;accent-color:var(--pilot-blue,#146eaa);cursor:pointer}
.szm-tour-pilot .szm-map-planning-controls>.szm-map-backlog-toggle>span{display:block;flex:0 1 auto;min-width:0;white-space:nowrap}
.szm-tour-pilot .szm-map-planning-controls>button{flex:0 0 auto;white-space:nowrap;min-height:30px;height:auto;font-size:11px;padding:5px 9px}
@media(max-width:600px){.szm-tour-pilot .szm-map-overlay-controls{right:6px;bottom:24px;max-width:calc(100% - 12px)}}
@media(max-width:300px){.szm-tour-pilot .szm-map-planning-controls>.szm-map-backlog-toggle{flex:1 1 auto;white-space:normal}.szm-tour-pilot .szm-map-planning-controls>.szm-map-backlog-toggle>span{white-space:normal}}

/* v147: compact inline symbols also apply inside portalled day/detail dialogs. */
.staff-appointment-heading{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;gap:5px!important;min-width:0;max-width:100%}
.staff-appointment-heading>strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.szm-calendar-damage{display:inline-flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;gap:3px!important;flex:0 0 auto!important;vertical-align:middle;max-width:none!important}
.szm-calendar-damage-icon{display:inline-flex!important;align-items:center!important;justify-content:center!important;position:relative;flex:0 0 auto!important;box-sizing:border-box;width:auto!important;min-width:16px!important;height:18px!important;min-height:18px!important;max-height:18px!important;padding:0!important;border:0!important;border-radius:3px!important;line-height:1!important;box-shadow:none!important}
.szm-calendar-damage-icon>svg{display:block!important;position:static!important;width:16px!important;height:16px!important;min-width:16px!important;max-width:16px!important;min-height:16px!important;max-height:16px!important;flex:0 0 16px!important;margin:0!important}
.szm-calendar-damage-code{display:inline!important;font-size:8px!important;font-weight:700!important;line-height:1!important;margin:0!important;padding:0!important}
.szm-calendar-damage-plausi{position:absolute;right:-3px;top:-4px;display:grid!important;place-items:center;width:9px!important;height:9px!important;border-radius:50%;background:#fef3c7;color:#92400e;border:1px solid #d97706;font-size:8px!important;font-weight:800;line-height:1!important;margin:0!important;padding:0!important}
.staff-week-entry-main .staff-appointment-heading>strong{flex:0 1 auto}
.staff-team-day-table .staff-appointment-heading>.staff-team-order-link{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* v147: time at top, two-line symbol beneath it, before appointment text. */
.szm-calendar-visit-time{align-self:flex-start!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;gap:2px!important;line-height:1.25!important}
.staff-dialog .staff-day-agenda>button>time.szm-calendar-visit-time{align-self:flex-start!important;min-width:44px!important;padding-top:0!important}
.szm-calendar-damage.szm-calendar-damage-under-time{display:flex!important;flex-wrap:wrap!important;align-items:flex-start!important;justify-content:flex-start!important;gap:4px!important;margin:3px 0 0!important;max-width:76px!important}
.szm-calendar-damage-under-time .szm-calendar-damage-icon{height:30px!important;min-height:30px!important;max-height:30px!important;min-width:28px!important}
.szm-calendar-damage-under-time .szm-calendar-damage-icon>svg{width:28px!important;height:28px!important;min-width:28px!important;max-width:28px!important;min-height:28px!important;max-height:28px!important;flex:0 0 28px!important}
.staff-app .staff-week-entry:has(.szm-calendar-damage-under-time){grid-template-columns:42px minmax(0,1fr)!important;align-items:start!important}
.staff-team-day-table td>.szm-calendar-damage-under-time{margin-top:4px!important}

/* v147: high-contrast Plausi question mark, kept distinct from warning badges. */
.szm-damage-plausi{display:grid!important;place-items:center;right:-7px;top:-9px;width:19px;height:19px;box-sizing:border-box;background:#b91c1c;color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 1px 4px #0008;font:900 16px/1 system-ui;text-align:center;z-index:2}
.szm-calendar-damage-plausi{display:grid!important;place-items:center;right:-7px;top:-8px;width:18px!important;height:18px!important;box-sizing:border-box;background:#b91c1c!important;color:#fff!important;border:2px solid #fff!important;border-radius:50%;box-shadow:0 1px 4px #0006;font:900 15px/1 system-ui!important;text-align:center;z-index:2}
.szm-calendar-damage:has(.szm-calendar-damage-plausi){gap:8px!important;padding-right:5px}
.szm-calendar-damage-under-time:has(.szm-calendar-damage-plausi){margin-top:8px!important}

.szm-tour-time-window>span{white-space:nowrap;font-variant-numeric:tabular-nums}

.szm-tour-readonly-heading{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:8px}
.szm-tour-readonly-heading>label{display:flex;align-items:center;gap:6px;margin-left:auto;font-size:12px}
.szm-tour-readonly-badge{display:inline-flex;padding:3px 8px;border-radius:12px;background:#e8eef7;color:#27496f;font-size:11px;font-weight:600}
.szm-tour-readonly-details{display:grid;gap:10px}.szm-tour-readonly-details>div{display:grid;grid-template-columns:150px minmax(0,1fr);gap:12px}.szm-tour-readonly-details dt{font-weight:600}.szm-tour-readonly-details dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.szm-tour-sync-settings{margin-top:16px}.szm-tour-sync-settings>.szm-package-stamp{display:block;margin-top:12px;color:#758294;font-size:11px}

/* v147: visible day actions, consistent small SVGs and semantic colors. */
.szm-day-action{--action-ink:#245d8c;--action-bg:#edf5fc;--action-border:#c6dced;display:inline-flex!important;align-items:center;justify-content:center;gap:6px!important;border:1px solid var(--action-border)!important;border-radius:7px;background:var(--action-bg)!important;color:var(--action-ink)!important;box-shadow:none;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-weight:600;font-size:12px;line-height:18px;box-sizing:border-box;height:34px!important;min-height:34px!important;padding:6px 10px!important;white-space:nowrap;cursor:pointer;text-decoration:none}
.szm-day-action svg{width:16px!important;height:16px!important;flex:0 0 16px}
.szm-day-action-map{--action-ink:#0369a1;--action-bg:#eaf6fd;--action-border:#a9d8f0}
.szm-day-action-print{--action-ink:#6550a0;--action-bg:#f3effb;--action-border:#d8c9ee}
.szm-day-action-work{--action-ink:#475569;--action-bg:#f1f5f9;--action-border:#cbd5e1}
.szm-day-action-lock{--action-ink:#9a5b13;--action-bg:#fff6e5;--action-border:#efcf96}
.szm-day-action-add{--action-ink:#167047;--action-bg:#ebf8ef;--action-border:#b7dec4}
.szm-day-action-absence{--action-ink:#9d4563;--action-bg:#fff0f4;--action-border:#e9bfd0}
.szm-day-action-back,.szm-day-action-details{--action-ink:#466477;--action-bg:#f0f5f8;--action-border:#ccdce5}
.szm-day-action:hover:not(:disabled){filter:brightness(.97);box-shadow:0 1px 4px #17324b15}
.szm-day-action:focus-visible{outline:2px solid var(--action-ink);outline-offset:2px}
.szm-day-action:disabled{opacity:.55;cursor:wait}
.staff-day-tools.is-expanded{padding:0;border:0;background:transparent;margin:0 0 10px}
.staff-day-tools.is-expanded>.staff-day-tools-grid{display:flex!important;align-items:flex-start;flex-wrap:wrap;gap:7px!important;padding:0!important}
.staff-day-tools.is-expanded .staff-day-dialog-actions,.staff-day-tools.is-expanded .staff-tour-print{margin:0;min-width:0}
.staff-day-tools.is-expanded .staff-tour-print .staff-card-actions{gap:7px}
.staff-day-tools.is-expanded .staff-tour-print p{max-width:360px;font-size:11px}
.staff-team-group-heading .szm-day-action{margin-left:12px;vertical-align:middle}
.staff-single-block{display:flex;align-items:center;justify-content:center;padding:3px;overflow:hidden;min-width:24px}
.staff-single-block .szm-calendar-damage{display:inline-flex!important;flex-wrap:wrap!important;justify-content:center;gap:2px!important;max-width:100%;max-height:34px;overflow:hidden}
.staff-single-block .szm-calendar-damage-icon{box-shadow:0 0 0 1px #ffffffb3}
.szm-timeline-event-icon{display:inline-flex;align-items:center;justify-content:center;color:#334e68;background:#edf2f7;border-radius:3px;padding:2px}
@media(max-width:600px){.staff-day-tools.is-expanded>.staff-day-tools-grid{gap:6px!important}.szm-day-action{font-size:11px;min-height:32px;padding:5px 7px}.staff-team-group-heading .szm-day-action{margin-left:6px;margin-top:4px}}

/* Driver map preparation and readable phone/status separation. */
.szm-driver-map-panel{min-width:0}.szm-driver-map-tools{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:8px 0;font-size:12px}.szm-driver-map-tools button{padding:7px 10px;border:1px solid #bdd7e7;border-radius:7px;background:#edf6fc;color:#245d80}.szm-driver-map-tools small{flex:1;min-width:180px;color:#526777}.szm-driver-map-issues{padding:8px 12px;border:1px solid #e7d19b;border-radius:8px;background:#fff8e7;color:#795521;font-size:12px;margin-bottom:8px}.szm-driver-map-issues p{margin:4px 0}.szm-driver-map-issues small{display:block;overflow-wrap:anywhere}.szm-driver-orders .szm-driver-phone{display:inline-flex;margin:0 10px 7px 0}.szm-driver-orders>li>small{display:inline-block;margin-bottom:7px}

/* v147: compact driver-only order list. Internal planning/map sizes are untouched. */
.szm-tour-driver-page.szm-driver-compact{max-width:760px;padding:10px 10px max(12px,env(safe-area-inset-bottom));min-height:100dvh;background:#f4f7fa;font:13px/1.35 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#213d54}
.szm-driver-compact .szm-driver-header{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:36px;margin:0 0 7px}
.szm-driver-compact .szm-driver-header h1{font-size:19px;letter-spacing:-.4px;margin:0;white-space:nowrap}
.szm-driver-tracking-inline{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap;min-width:0}
.szm-driver-gps-status{display:inline-flex;align-items:center;gap:5px;font-size:10px;white-space:nowrap;color:#617283}.szm-driver-gps-status i{height:6px;width:6px;border-radius:50%;background:#94a3b8}.szm-driver-gps-status.is-active{color:#17714d}.szm-driver-gps-status.is-active i{background:#1c9a64}
.szm-driver-compact .szm-driver-tracking-inline button{min-height:34px;padding:5px 9px;font-size:11px;border-radius:7px;white-space:nowrap}
.szm-driver-compact .szm-driver-end-tour{color:#a23a42;background:#fff1f2;border-color:#ecc8cd}.szm-driver-compact .szm-driver-start-tour{color:#fff;background:#176b9c;border-color:#176b9c}
.szm-driver-tracking-inline .szm-driver-inline-warning{flex-basis:100%;max-width:300px;margin:0;font-size:11px}
.szm-driver-day-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}.szm-driver-day-row>span{font-size:10px;color:#687b8b;white-space:nowrap}.szm-driver-compact .szm-driver-day-row>button{min-height:32px;padding:4px 7px;background:transparent;border-color:transparent;font-size:12px}
.szm-driver-compact .szm-driver-calendar-picker{padding:8px;margin:0 0 8px}
.szm-driver-compact .szm-driver-tabs{display:flex;gap:3px;margin:0 0 8px;padding:3px;background:#e6edf3;border-radius:8px}.szm-driver-compact .szm-driver-tabs button{min-height:36px;padding:5px 7px;gap:5px;font-size:11px;border:0;background:transparent;color:#5d7284;border-radius:6px}.szm-driver-compact .szm-driver-tabs button[aria-pressed=true]{background:#fff;color:#176b9c;box-shadow:0 1px 3px #213d5415;font-weight:650}
.szm-driver-order-list{list-style:none;display:flex;flex-direction:column;gap:7px;padding:0;margin:0}.szm-driver-order{min-width:0;background:#fff;border:1px solid #dce5ec;border-radius:9px;overflow:hidden}.szm-driver-order.is-current{border-color:#76b7d6;box-shadow:0 0 0 1px #76b7d629}.szm-driver-order.is-done{background:#f0f7f3;border-color:#d3e6db}
.szm-driver-compact .szm-driver-order-summary{display:flex;align-items:center;justify-content:flex-start;gap:9px;width:100%;min-height:60px;padding:9px 10px;text-align:left;border:0;border-radius:0;background:transparent;font-size:13px;color:#233e53}
.szm-driver-order-summary:focus-visible{position:relative;outline:2px solid #238bc0!important;outline-offset:-3px!important}.szm-driver-order-summary>svg{flex:0 0 auto;color:#93a3af;transition:transform .16s ease}.szm-driver-order.is-open .szm-driver-order-summary>svg{transform:rotate(90deg)}
.szm-driver-damage{display:flex;align-items:center;justify-content:center;flex:0 0 32px;min-width:32px;min-height:32px;color:#6e8394}.szm-driver-damage .szm-calendar-damage-under-time{margin:0!important}.szm-driver-damage .szm-calendar-damage{max-width:66px;flex-wrap:wrap!important}.szm-driver-damage .szm-calendar-damage-icon{border-radius:5px!important}
.szm-driver-order-title{display:flex;flex:1;flex-direction:column;gap:2px;min-width:0}.szm-driver-order-title>strong{display:flex;align-items:center;gap:5px;font-size:13px;font-weight:700;overflow-wrap:anywhere}.szm-driver-order-title>span{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#6b7e8c}
.szm-driver-order-time{display:flex;flex-direction:column;align-items:flex-end;gap:3px;flex:0 0 auto}.szm-driver-order-time>time{font-size:14px;font-weight:650;font-variant-numeric:tabular-nums}.szm-driver-order-time small{font-size:9px;color:#7c8b97}.szm-driver-order-time small.is-current{background:#e9f5fc;color:#18729e;border-radius:4px;padding:1px 5px}.szm-driver-order-time small.is-done{color:#27835a}
.szm-driver-order-body{display:flex;flex-direction:column;max-height:calc(100dvh - 230px);min-height:150px;border-top:1px solid #e6edf2}.szm-driver-order-details{flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain;padding:9px 12px 5px;scrollbar-width:thin;scrollbar-color:#bdccd8 transparent}
.szm-driver-facts{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:7px 14px;margin:0}.szm-driver-facts>div{min-width:0}.szm-driver-facts>div.is-wide{grid-column:1/-1}.szm-driver-facts dt{font-size:9px;color:#7c8e9c;font-weight:500;margin:0 0 2px}.szm-driver-facts dd{font-size:12px;line-height:1.35;margin:0;color:#29465b;overflow-wrap:anywhere;white-space:pre-wrap}.szm-driver-facts a{color:#176b9c;text-decoration:none}.szm-driver-facts a:hover{text-decoration:underline}
.szm-driver-extra{margin-top:9px;font-size:11px}.szm-driver-extra>summary{cursor:pointer;min-height:30px;padding:7px 0;color:#617a8e}.szm-driver-extra .szm-driver-facts{padding-top:6px}
.szm-driver-order-actions{flex:0 0 auto;display:grid;gap:6px;padding:8px 10px 10px;background:#fff;border-top:1px solid #edf2f5}.szm-driver-contact-actions{display:flex;gap:7px}.szm-driver-contact-actions>a{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:1;min-height:42px;padding:7px 9px;box-sizing:border-box;border-radius:7px;font-size:12px;font-weight:600;text-decoration:none}.szm-driver-contact-actions .szm-driver-navigation{background:#e9f4fb;color:#176b9c!important;border:1px solid #c5e0ee}.szm-driver-call{background:#edf8f1;color:#25714e!important;border:1px solid #cce6d7}
.szm-driver-compact .szm-driver-service-action{width:100%;min-height:42px;font-size:12px;font-weight:650;border-color:#176b9c;background:#176b9c;color:white;border-radius:7px}
.szm-driver-compact .szm-driver-reorder{display:flex;gap:7px;margin:0}.szm-driver-compact .szm-driver-reorder button{flex:1;min-height:32px;font-size:10px;padding:4px 7px;color:#6c7f8e;background:#f7f9fb;border-color:#e3eaf0}
.szm-driver-inline-warning{font-size:11px;color:#995c1e;background:#fff7e7;border-radius:5px;padding:6px 8px;margin:5px 0}
.szm-driver-compact .szm-driver-return{display:flex;align-items:center;justify-content:space-between;gap:9px;padding:10px;margin-top:8px;font-size:12px}.szm-driver-compact .szm-driver-return .szm-driver-navigation{min-height:36px;font-size:11px;padding:6px 9px;gap:5px}
.szm-driver-settings{padding:12px;background:white;border:1px solid #dce5ec;border-radius:9px}.szm-driver-settings h2{font-size:16px}.szm-driver-settings h3{font-size:13px;margin-top:18px}.szm-driver-settings>details{margin-top:14px;font-size:12px}.szm-driver-settings>details>summary{min-height:40px;cursor:pointer;display:list-item}.szm-driver-account{display:flex;justify-content:space-between;gap:10px;align-items:center}.szm-driver-account button{font-size:11px!important;min-height:36px!important;padding:6px 10px!important}
@media(max-width:370px){.szm-driver-compact .szm-driver-header h1{font-size:17px}.szm-driver-tracking-inline{gap:5px}.szm-driver-gps-status{font-size:9px}.szm-driver-compact .szm-driver-tracking-inline button{font-size:10px;padding:5px 7px}.szm-driver-compact .szm-driver-order-summary{gap:7px;padding:8px}.szm-driver-facts{gap:6px 10px}}
@media(prefers-reduced-motion:reduce){.szm-driver-order-summary>svg{transition:none}}

.szm-driver-compact .szm-driver-header{position:sticky;top:0;z-index:5;background:#f4f7fa;padding:3px 0}.szm-driver-order.is-current{scroll-margin-top:50px}

/* v147: symbol-only time slots. Hover never changes a booking's width or time. */
.szm-tour-workspace .szm-tour-timeline-stop,.szm-tour-workspace .szm-tour-timeline-stop:hover,.szm-tour-workspace .szm-tour-timeline-stop:focus-visible{min-width:0;min-height:32px;height:36px;top:10px;padding:2px;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:1px;overflow:hidden;border:1px solid #fff;border-radius:7px;box-shadow:0 1px 3px #17324b30;text-shadow:none}
.szm-tour-workspace .szm-tour-timeline-stop:hover,.szm-tour-workspace .szm-tour-timeline-stop:focus-visible{filter:brightness(1.07);z-index:5;outline:2px solid #234e70;outline-offset:1px}
.szm-tour-workspace .szm-tour-timeline-stop>.szm-calendar-damage,.szm-tour-workspace .szm-tour-timeline-stop .szm-calendar-damage{display:flex;flex-direction:row;align-items:center;justify-content:center;max-width:100%;min-width:0;margin:0;padding:0;gap:2px;overflow:hidden}
.szm-tour-workspace .szm-tour-timeline-stop svg{width:22px!important;height:22px!important;max-width:100%;flex-shrink:1}
.szm-tour-workspace .szm-tour-timeline-stop .szm-calendar-damage-symbol,.szm-tour-workspace .szm-tour-timeline-stop .szm-timeline-event-icon{background:#ffffffeb;border-radius:5px;display:inline-flex;align-items:center;justify-content:center;padding:1px;max-width:100%;min-width:0}
.szm-tour-workspace .szm-tour-timeline-stop.is-fixed{outline:1px solid #274d6780;outline-offset:1px}
.szm-tour-workspace .szm-tour-timeline-row:not(.is-header){min-height:58px}.szm-tour-workspace .szm-tour-timeline-track{height:56px}
.szm-route-pin.is-car{width:48px!important;height:38px!important;background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important}
.szm-route-pin.is-car>svg.szm-toy-car{width:48px!important;height:38px!important;overflow:visible;filter:drop-shadow(0 1px 1px #17354d66)}
/* Tagesansicht: Zeitflächen bleiben transparent; das Symbol füllt den Slot bis zur Zeilenhöhe. */
.staff-single-timeline .staff-single-block,.staff-single-timeline .staff-single-block:hover,.staff-single-timeline .staff-single-block:focus-visible{box-sizing:border-box;display:flex!important;align-items:center!important;justify-content:center!important;height:40px!important;min-height:0!important;min-width:0!important;padding:0!important;background:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important;border-radius:0!important;overflow:hidden!important;text-shadow:none!important}
.staff-single-timeline .staff-single-block:focus-visible{outline:2px solid #1b6591!important;outline-offset:2px}
.staff-single-timeline .staff-single-block .szm-calendar-damage{width:100%;height:100%;max-width:100%;display:flex!important;align-items:center!important;justify-content:center!important;gap:2px!important;flex:1 1 auto!important;overflow:hidden}
.staff-single-timeline .staff-single-block .szm-calendar-damage-icon{height:100%!important;min-height:0!important;max-height:40px!important;min-width:0!important;max-width:100%!important;aspect-ratio:1;flex:0 1 auto!important;background:transparent!important;border-radius:0!important}
.staff-single-timeline .staff-single-block svg{width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;max-width:40px!important;max-height:40px!important;flex:1 1 auto!important}
.staff-single-timeline .staff-single-block .szm-timeline-event-icon{display:flex;align-items:center;justify-content:center;width:min(100%,40px);height:100%;background:none}
.staff-single-timeline .staff-single-block .szm-calendar-damage-code{position:absolute;bottom:0;right:0;font-size:9px!important;background:#ffffffc9;border-radius:3px}
.szm-tour-workspace .szm-tour-timeline-stop .szm-calendar-damage-icon{background:#ffffffeb!important;height:26px!important;min-height:0!important;max-height:26px!important;min-width:0!important;flex:0 1 auto!important}
.szm-tour-workspace .szm-tour-timeline-stop svg{min-width:0!important;min-height:0!important;max-width:22px!important;max-height:22px!important;flex:0 1 auto!important}

.staff-single-timeline .staff-single-block .szm-calendar-damage{height:40px!important;max-height:100%!important;padding:0!important;box-sizing:border-box!important;line-height:1!important}
.staff-single-timeline .staff-single-block .szm-calendar-damage-icon{padding:0!important;box-sizing:border-box!important}
.szm-tour-workspace .szm-tour-timeline-stop .szm-calendar-damage{width:100%;flex:1 1 auto!important}
.szm-tour-workspace .szm-tour-timeline-stop .szm-calendar-damage-icon{max-width:100%!important;overflow:hidden}
.szm-tour-workspace .szm-tour-timeline-stop .szm-calendar-damage-icon svg{width:100%!important;flex:1 1 auto!important}
/* Driver progress: separate from the damage-type symbol. */
.szm-driver-order-time{position:relative;padding-left:37px;min-height:34px;justify-content:center}
.szm-driver-journey{position:absolute;left:0;top:50%;transform:translateY(-50%);display:inline-flex;align-items:center;justify-content:center;width:34px;height:30px;line-height:0}
.szm-driver-journey svg{display:block;width:34px;height:30px;overflow:visible}
.szm-driver-journey.is-driving .szm-driver-car-body{animation:szm-car-drive .65s ease-in-out infinite alternate;transform-origin:center}
.szm-driver-journey.is-driving .szm-driver-speed-lines{animation:szm-car-speed .85s linear infinite}
@keyframes szm-car-drive{from{transform:translateY(0)}to{transform:translateY(-1.3px)}}
@keyframes szm-car-speed{0%{opacity:.2;transform:translateX(2px)}65%{opacity:1}100%{opacity:.2;transform:translateX(-2px)}}
@media(prefers-reduced-motion:reduce){.szm-driver-journey.is-driving .szm-driver-car-body,.szm-driver-journey.is-driving .szm-driver-speed-lines{animation:none}}
.szm-driver-tracking-inline.has-swipe{display:flex;flex-wrap:wrap;justify-content:flex-end;width:100%;margin:2px 0 9px;padding:0}
.szm-tour-swipe-wrap{flex:0 0 100%;width:100%;margin-top:5px}
.szm-tour-swipe{position:relative;box-sizing:border-box;height:56px;min-height:56px;border:1px solid #bad3e3;border-radius:16px;background:linear-gradient(90deg,#e5f4fa,#f6fafc);overflow:hidden;touch-action:pan-y;user-select:none;cursor:grab}
.szm-tour-swipe:focus-visible{outline:3px solid #e8bb38;outline-offset:2px}.szm-tour-swipe[aria-disabled=true]{cursor:wait;opacity:.7}
.szm-tour-swipe-label{position:absolute;inset:0 8px 0 66px;display:flex;align-items:center;justify-content:center;color:#255c7c;font-size:14px;font-weight:650;pointer-events:none;opacity:calc(1 - var(--swipe-progress)*1.2)}
.szm-tour-swipe-car{position:absolute;top:3px;bottom:3px;left:calc(4px + (100% - 66px)*var(--swipe-progress));width:58px;display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid #cbdfeb;border-radius:12px;box-shadow:0 2px 5px #1b507319;touch-action:none;cursor:grab}
.szm-tour-swipe-car svg{width:54px;height:36px;display:block;pointer-events:none}.szm-tour-swipe.is-starting{opacity:.7}
