
/* Workshop Management: landscape PC-first; native BPH sidebar remains. */
.bph-workshop-main{max-width:none!important;width:100%!important;padding:22px 26px!important}
.wm-shell{background:#eef2f5;color:#243548;border-radius:18px;padding:24px;min-height:75vh}
.wm-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.wm-head small,.wm-detail-head small{font-size:11px;letter-spacing:1.5px;color:#82909e;font-weight:700}.wm-head h1{font-size:31px;line-height:1.2;margin:5px 0;color:#1b2c3c}.wm-head p{color:#728293;margin:4px 0}.wm-head-actions{display:flex;gap:10px}
.wm-gauges{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-bottom:22px}.wm-gauge{background:white;border:1px solid #dce4eb;border-radius:20px;min-height:230px;padding:14px;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 6px 18px #23364b09}.wm-gauge svg{height:166px;width:180px;max-width:100%}.wm-gauge strong{font-size:14px;color:#3e4f60;letter-spacing:.2px}.wm-gauge.selected,.wm-tile.selected{outline:3px solid #3b688b;outline-offset:1px}
.wm-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:25px}.wm-tile{min-height:130px;background:white;border:1px solid #dce4eb;border-radius:16px;padding:19px;display:grid;grid-template-columns:1fr auto;grid-template-rows:1fr auto;align-items:center;text-align:left;cursor:pointer;box-shadow:0 4px 14px #23364b08}.wm-tile-icon{font-size:26px;color:var(--wm-color)}.wm-tile-value{font-size:38px;font-weight:800;color:var(--wm-color)}.wm-tile-label{grid-column:1/3;color:#405266;font-weight:700;font-size:13px}
.wm-register{background:white;border:1px solid #dce4eb;border-radius:18px;padding:22px;box-shadow:0 5px 20px #23364b08}.wm-register-top{display:flex;justify-content:space-between;align-items:center;gap:15px}.wm-register h2{margin:0;color:#203245;font-size:21px}.wm-register-top span{color:#7b8999;font-size:12px}.wm-toolbar{display:flex;gap:10px;align-items:center;margin:20px 0}.wm-toolbar input{flex:1;min-width:150px;background:#f6f8fa;border:1px solid #d5dfe7;border-radius:9px;padding:13px;font-size:13px}.wm-loc,.wm-outline{background:#f1f5f8;border:1px solid #d4dfe8;border-radius:9px;padding:11px 15px;font-weight:700;color:#33485b;cursor:pointer}.wm-loc.green{background:#e2f6e8;color:#166b3e}.wm-loc.red{background:#fce6e6;color:#a22b2b}.wm-loc.selected{outline:2px solid #425a6d}.wm-black{background:#111!important;color:#fff!important;border:1px solid #111!important;border-radius:9px!important;padding:11px 17px!important;font-weight:700!important;cursor:pointer}.wm-black:disabled{opacity:.5}
.wm-table-scroll{overflow:auto;max-height:510px}.wm-table{border-collapse:separate;border-spacing:0;width:100%;font-size:13px;white-space:nowrap}.wm-table th{position:sticky;top:0;background:#edf2f6;color:#5b6d7d;font-size:10px;letter-spacing:.5px;text-align:left;padding:15px 12px;z-index:1}.wm-table td{padding:16px 12px;border-bottom:1px solid #e6ebef;color:#334456}.wm-table tbody tr{cursor:pointer}.wm-table tbody tr:hover{background:#f2f7fb}.wm-table td small{display:block;color:#81909d;margin-top:4px}.wm-empty{text-align:center;padding:40px!important}.wm-pill{display:inline-block;border-radius:7px;background:#e8edf2;color:#3e4d5a;font-size:11px;padding:7px 10px;font-weight:700}.wm-pill.green{background:#dff5e5;color:#17723b}.wm-pill.red{background:#fce3e3;color:#a32727}
.wm-overlay{position:fixed;inset:0;background:#0b1827a8;z-index:999999;display:flex;align-items:center;justify-content:center;padding:28px}.wm-modal{position:relative;width:min(1180px,96vw);max-height:92vh;overflow:auto;background:#fff;border-radius:18px;padding:32px;box-shadow:0 30px 90px #0004;color:#243548}.wm-close{position:absolute;right:18px;top:18px;background:#f1f4f7;border:0;border-radius:8px;padding:10px;cursor:pointer}.wm-detail-head{margin-bottom:20px}.wm-detail-head h2{font-size:25px;margin:6px 0}.wm-detail-head p{color:#63778a}.wm-detail-tabs{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:22px}.wm-detail-tabs button{border:0;background:#101820;color:white;border-radius:8px;padding:13px 16px;cursor:pointer}.wm-detail-tabs button.selected{background:#476983}.wm-detail-content{background:#f5f8fa;border-radius:14px;padding:22px}.wm-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:22px}.wm-detail-grid>div{background:white;border:1px solid #e0e8ef;border-radius:10px;padding:15px}.wm-detail-grid small{display:block;color:#81909e;margin-bottom:8px}.wm-detail-grid b{color:#27394a}.wm-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin:20px 0;padding:18px;background:white;border-radius:12px}.wm-form h3,.wm-form .wm-wide{grid-column:1/-1}.wm-form label{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:700;color:#506172}.wm-form input,.wm-form select,.wm-form textarea{width:100%;border:1px solid #d3dce5;border-radius:7px;padding:11px;background:#fff;color:#263746}.wm-form textarea{min-height:90px}.wm-form button{justify-self:start}.wm-log{background:white;border:1px solid #e1e8ed;border-radius:10px;padding:14px;margin:10px 0}.wm-log small{display:block;color:#82919e;margin-top:7px}.wm-log p{white-space:pre-wrap;margin:10px 0}.wm-note{color:#a64a31;font-weight:600}
/* Consistent black attachment actions across existing Courtesy Vehicles and Workshop */
button[onclick*="cvAttachment"],button[onclick*="wmUpload"],.cv-record-modal button[onclick*="cvAttachment"]{background:#111!important;color:#fff!important;border:1px solid #111!important;border-radius:8px!important}
@media(max-width:1100px){.wm-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.wm-gauges{gap:10px}.wm-gauge{min-height:190px}.wm-gauge svg{height:130px}.wm-toolbar{flex-wrap:wrap}}@media(max-width:700px){.wm-gauges{grid-template-columns:1fr}.wm-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.wm-detail-grid,.wm-form{grid-template-columns:1fr}.wm-head{flex-wrap:wrap}.wm-shell{padding:12px}.wm-modal{padding:20px}}

/* V1.0.88: compact, colourful Service Dashboard; more vehicle rows above fold. */
.bph-workshop-main{padding:10px 16px!important}
.wm-shell{padding:14px 18px;border-radius:13px;min-height:70vh;background:#f0f4f8}
.wm-head{margin-bottom:12px;gap:12px}
.wm-head h1{font-size:21px;line-height:1.15;margin:2px 0 0;font-weight:750}
.wm-head small{font-size:9px;letter-spacing:1px}
.wm-head p{font-size:11px;margin:2px 0 0}
.wm-head-actions .wm-black,.wm-head-actions .wm-outline{padding:8px 12px!important;font-size:12px}
.wm-gauges{gap:12px;margin-bottom:12px}
.wm-gauge{min-height:104px;padding:7px 12px;border-radius:12px;display:grid;grid-template-columns:86px 1fr;gap:10px;align-items:center;justify-content:stretch;text-align:left;box-shadow:0 3px 12px #23364b0b}
.wm-gauge svg{height:83px;width:86px;grid-row:1;grid-column:1}
.wm-gauge strong{font-size:12px;line-height:1.35;grid-row:1;grid-column:2}
.wm-gauge:nth-child(1){background:linear-gradient(110deg,#eaf3ff,#ffffff);border-color:#c6dcfa}
.wm-gauge:nth-child(2){background:linear-gradient(110deg,#fff4df,#ffffff);border-color:#f0d8a7}
.wm-gauge:nth-child(3){background:linear-gradient(110deg,#ffeded,#ffffff);border-color:#f2caca}
.wm-tiles{gap:12px;margin-bottom:13px}
.wm-tile{min-height:76px;padding:10px 13px;border-radius:12px;grid-template-rows:auto auto;box-shadow:0 3px 12px #23364b0b}
.wm-tile-icon{font-size:19px}.wm-tile-value{font-size:26px;line-height:1.1}.wm-tile-label{font-size:11px;margin-top:5px}
.wm-tile:nth-child(1){background:#fff5e5;border-color:#f0d9b5}
.wm-tile:nth-child(2){background:#eaf8f0;border-color:#c4e7d2}
.wm-tile:nth-child(3){background:#e9f2ff;border-color:#c8dcf7}
.wm-tile:nth-child(4){background:#fff1e8;border-color:#f1d4bf}
.wm-gauge:hover,.wm-tile:hover{filter:brightness(.985);transform:translateY(-1px)}
.wm-register{padding:14px 17px;border-radius:12px}
.wm-register h2{font-size:17px}
.wm-toolbar{margin:10px 0;gap:8px}.wm-toolbar input{padding:9px 11px}.wm-loc{padding:9px 11px;font-size:12px}
.wm-table th{padding:10px 10px}.wm-table td{padding:11px 10px}
.wm-table-scroll{max-height:calc(100vh - 395px);min-height:220px}
@media(max-width:1100px){.wm-gauge{grid-template-columns:70px 1fr;min-height:95px}.wm-gauge svg{height:70px;width:70px}.wm-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.wm-table-scroll{max-height:480px}}
@media(max-width:700px){.wm-gauges{grid-template-columns:1fr}.wm-head{flex-wrap:wrap}.wm-shell{padding:12px}.wm-table-scroll{max-height:480px}}

/* V1.0.89 automotive instrument cluster: single horizontal band */
.wm-instruments{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:8px;margin-bottom:8px}
.wm-instruments .wm-gauges,.wm-instruments .wm-tiles{display:contents}
.wm-instruments .wm-gauge,.wm-instruments .wm-tile{min-width:0;min-height:135px;height:135px;margin:0;padding:9px 5px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;text-align:center;border-radius:14px;box-shadow:0 4px 12px #18354b10;transition:transform .15s,box-shadow .15s}
.wm-instruments .wm-gauge{background:linear-gradient(145deg,#fff,#f4f8fc);border:1px solid #d5e0eb}
.wm-instruments .wm-gauge svg{height:91px;width:100%;max-width:110px;flex:none}
.wm-instruments .wm-gauge strong{font-size:11px;line-height:1.15;max-width:100%;min-height:28px;display:flex;align-items:center;justify-content:center}
.wm-instruments .wm-tile{gap:5px;justify-content:center;grid-template-columns:none;grid-template-rows:none}
.wm-instruments .wm-tile-icon{font-size:20px;line-height:1.1;display:block}
.wm-instruments .wm-tile-value{font-size:32px;line-height:1.1;display:block}
.wm-instruments .wm-tile-label{grid-column:auto;font-size:11px;line-height:1.2;min-height:27px;display:flex;align-items:center;justify-content:center}
.wm-instruments .wm-tile:nth-child(1){background:#fff5e6}.wm-instruments .wm-tile:nth-child(2){background:#e8f7ef}.wm-instruments .wm-tile:nth-child(3){background:#e8f2ff}.wm-instruments .wm-tile:nth-child(4){background:#fff2e6}.wm-instruments .wm-tile:nth-child(5){background:#ffeded}.wm-instruments .wm-tile:nth-child(6){background:#edf2fa}
.wm-instruments button:hover{transform:translateY(-2px);box-shadow:0 7px 20px #18354b20}
.wm-demo-bar{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin:0 0 9px;color:#617487;font-size:11px}.wm-demo-bar button{padding:5px 9px;font-size:11px}
.wm-shell{background:linear-gradient(135deg,#e9f0f7,#f6f8fa);padding:12px 16px}.wm-register{padding:13px 16px}
@media(max-width:1500px){.wm-instruments{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:800px){.wm-instruments{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:520px){.wm-instruments{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* V1.0.91 grouped digital instrument display; no circular gauges. */
.wm-kpi-groups{display:grid;grid-template-columns:1fr 1.7fr 1.7fr 1.7fr 1fr 1fr;gap:9px;margin:8px 0 10px;align-items:stretch}
.wm-kpi-group{border:1px solid #c9d1d9;background:#f7f9fb;border-radius:12px;padding:7px;min-width:0;box-shadow:0 2px 7px #18354b08}
.wm-kpi-group h3{font-size:10px;font-weight:800;letter-spacing:.4px;text-transform:uppercase;color:#52657a;margin:0 0 7px;padding:0 3px 5px;border-bottom:1px solid #d6dce2;white-space:nowrap}
.wm-kpi-items{display:flex;gap:6px;height:93px}
.wm-kpi{flex:1;min-width:0;border:1px solid transparent;border-radius:9px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;cursor:pointer;padding:8px 4px;box-shadow:inset 0 1px 0 #ffffff77;transition:transform .15s,box-shadow .15s}
.wm-kpi strong{font-size:32px;font-weight:800;line-height:1;letter-spacing:-.8px;font-variant-numeric:tabular-nums}
.wm-kpi span{font-size:10px;font-weight:700;line-height:1.2;text-align:center}
.wm-kpi-blue{background:#cbdffc;border-color:#aacaf3;color:#1252a2}
.wm-kpi-amber{background:#ffe0a9;border-color:#f3c67d;color:#945200}
.wm-kpi-red{background:#fac9cd;border-color:#eea9b0;color:#a51e2d}
.wm-kpi-green{background:#bdebd0;border-color:#94d9b1;color:#096a40}
.wm-kpi-slate{background:#d6e0ed;border-color:#b7c8dc;color:#364f70}
.wm-kpi.selected{outline:2px solid #294c71;outline-offset:1px;box-shadow:0 0 0 2px #fff inset}
.wm-kpi:hover{transform:translateY(-2px);filter:saturate(1.12)}
@media(max-width:1450px){.wm-kpi-groups{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:750px){.wm-kpi-groups{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:450px){.wm-kpi-groups{grid-template-columns:1fr 1fr}.wm-kpi-group h3{font-size:9px}.wm-kpi strong{font-size:26px}}

/* V1.0.92 compact grouped digital instruments */
.wm-kpi-groups{grid-template-columns:1fr 1.5fr 1.5fr 2fr 2.3fr;gap:8px}
.wm-kpi-group{border:1px solid #cbd3db;background:#f8fafc}
.wm-kpi-group .wm-kpi-items{display:flex;gap:5px}
.wm-kpi-group .wm-kpi{min-width:0;flex:1}
@media(max-width:1450px){.wm-kpi-groups{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:850px){.wm-kpi-groups{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* V1.0.93: active vehicle count beside compact page title; department-scoped history */
.wm-title-row{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.wm-title-row h1{margin:0;font-size:23px;line-height:1.2}
.wm-active-top .wm-kpi{min-width:155px;min-height:60px;flex-direction:row;gap:12px;padding:8px 13px}
.wm-active-top .wm-kpi strong{font-size:30px}
.wm-active-top .wm-kpi span{font-size:11px;max-width:85px;text-align:left}
.wm-subheading{font-size:12px;font-weight:750;color:#52657a;border-bottom:1px solid #d7dee5;padding:8px 0;margin:10px 0}
.wm-kpi-groups{grid-template-columns:1.35fr 1.35fr 1.8fr 2.2fr}
@media(max-width:1450px){.wm-kpi-groups{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){.wm-kpi-groups{grid-template-columns:1fr}}

/* V1.0.94 — left-aligned chat and pastel vehicle reminders */
.wm-chat-line{display:block;text-align:left;margin:0 0 15px;padding:0 0 12px;border-bottom:1px solid #e6eaf0}.wm-chat-name{font-size:13px;font-weight:750;color:#233447}.wm-chat-time{font-size:11px;color:#6c7b8a;margin:3px 0 6px}.wm-chat-message{font-size:13px;white-space:pre-wrap;color:#263648;line-height:1.5}
.wm-reminder-overlay{position:fixed;inset:0;z-index:999999;background:rgba(15,23,42,.45);display:flex;align-items:center;justify-content:center;padding:20px}.wm-reminder-card{background:white;color:#243347;border:1px solid #d5dbe3;border-radius:16px;box-shadow:0 20px 70px rgba(18,32,52,.28);width:min(480px,100%);overflow:hidden}.wm-reminder-top{display:flex;justify-content:space-between;gap:8px;padding:16px 19px;background:#f4f6f9;font-weight:750;font-size:14px}.wm-reminder-tag{color:#9b3333;background:#f9dddd;border-radius:20px;padding:3px 9px;font-size:11px}.wm-reminder-body{padding:20px}.wm-reminder-body small{display:block;font-size:10px;color:#748294;letter-spacing:.07em}.wm-reminder-body h2{font-size:22px;margin:5px 0 17px}.wm-reminder-details{display:grid;grid-template-columns:1fr 1fr;gap:15px}.wm-reminder-details b{display:block;font-size:13px;margin-top:3px}.wm-reminder-body p{margin:17px 0 0;font-size:13px}.wm-reminder-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:0 20px 20px}.wm-reminder-actions button{cursor:pointer;padding:12px;border-radius:9px;border:1px solid transparent;font-weight:750;font-size:13px}.wm-rem-snooze{background:#f9e6b9;color:#805600;border-color:#eed29b!important}.wm-rem-update{background:#d5f0df;color:#176b3d;border-color:#b6e4c6!important}.wm-rem-update-overdue{background:#f8d7d7;color:#9f2929;border-color:#efb4b4!important}.wm-reminder-edit{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:0 20px 18px}.wm-reminder-edit label{font-size:12px;font-weight:650}.wm-reminder-edit input,.wm-reminder-edit textarea{display:block;box-sizing:border-box;width:100%;margin-top:5px;padding:9px;border:1px solid #cbd5e1;border-radius:7px}.wm-reminder-comment{grid-column:1/-1}

/* V1.0.95: black Active Vehicles + live progress-only summary chips */
.wm-active-top .wm-kpi,.wm-active-top .wm-kpi-blue{background:#111820!important;border:1px solid #111820!important;color:#fff!important;box-shadow:0 3px 9px #0e172633!important}
.wm-active-top .wm-kpi strong,.wm-active-top .wm-kpi span{color:#fff!important}
.wm-title-row{gap:10px;align-items:center}
.wm-status-chips{display:flex;flex:1 1 400px;flex-wrap:wrap;gap:6px;align-items:center}
.wm-status-chip{display:flex;align-items:center;gap:7px;max-width:230px;min-height:42px;padding:6px 9px;border-radius:9px;border:1px solid #ccd7e3;cursor:pointer;box-shadow:0 1px 4px #263b5112;transition:transform .12s,box-shadow .12s}
.wm-status-chip strong{font-size:23px;line-height:1;font-weight:800;font-variant-numeric:tabular-nums}
.wm-status-chip span{font-size:10px;font-weight:700;line-height:1.15;text-align:left;overflow-wrap:anywhere}
.wm-status-chip-blue{background:#d4e4fc;color:#174e93;border-color:#aecbf2}
.wm-status-chip-amber{background:#ffe4b5;color:#855000;border-color:#f1cb87}
.wm-status-chip-green{background:#ccefdc;color:#0b6b42;border-color:#a2dbba}
.wm-status-chip-slate{background:#e1e6ed;color:#3a526d;border-color:#c8d3df}
.wm-status-chip-red{background:#f9d7d9;color:#9c2733;border-color:#e9b3b9}
.wm-status-chip:hover{transform:translateY(-1px);box-shadow:0 3px 9px #263b5120}
.wm-status-chip.selected{outline:2px solid #273d56;outline-offset:1px}
@media(max-width:850px){.wm-status-chips{flex-basis:100%}}

/* V1.0.97: consistent blue progress summary tiles and original status badges */
.wm-status-chip,.wm-status-chip-blue,.wm-status-chip-amber,.wm-status-chip-green,.wm-status-chip-slate,.wm-status-chip-red{background:#cbdffc!important;color:#164e96!important;border-color:#8db6ee!important}
.wm-status-chip:hover{background:#b9d4fb!important}
.wm-progress-badge{display:inline-block;border:1px solid;border-radius:7px;padding:5px 9px;font-size:12px;font-weight:700;line-height:1.3;white-space:normal}

/* V1.0.98 Live Vehicle Register */
.wm-table-vehicles{min-width:1650px;font-size:12px}.wm-table-vehicles th,.wm-table-vehicles td{padding:9px 10px;white-space:nowrap}.wm-table-vehicles .wm-work-cell{max-width:260px;overflow:hidden;text-overflow:ellipsis}.wm-date-cell,.wm-arrival{display:inline-block;border-radius:6px;padding:5px 9px;font-weight:700}.wm-date-green,.wm-arrival-appointment{background:#d7f2e3;color:#17653d}.wm-date-amber,.wm-arrival-walk{background:#ffebc4;color:#915c08}.wm-date-red{background:#f9dada;color:#aa3030}.wm-arrival-no{background:#eef0f2;color:#626b77}

/* V1.0.101 separate actions and read-only histories */
.wm-action-buttons{display:flex;flex-wrap:wrap;gap:7px;padding:12px 16px;border-bottom:1px solid #e5e7eb}.wm-action-buttons button{font-size:12px;padding:8px 11px}

/* V1.0.102: responsive View / Add action pairs */
.wm-action-buttons{display:flex;flex-wrap:wrap;align-items:stretch;gap:9px;padding:12px 16px;border-bottom:1px solid #e5e7eb}
.wm-action-pair{display:flex;align-items:center;gap:9px;border:1px solid #d9e1e9;border-radius:9px;padding:7px 9px;background:#f8fafc;min-height:38px}
.wm-action-pair>span{font-size:12px;font-weight:750;color:#243b53;white-space:nowrap}
.wm-action-pair>div{display:flex;gap:5px}
.wm-action-pair button{font-size:12px;font-weight:800;border-radius:6px;padding:8px 12px;border:1px solid transparent;cursor:pointer;line-height:1.2}
.wm-action-pair .wm-action-view{background:#1767bc!important;color:#fff!important;border-color:#135aa5!important}
.wm-action-pair .wm-action-update{background:#16834a!important;color:#fff!important;border-color:#126c3e!important}
.wm-action-pair .wm-action-view:hover{background:#0e539d!important}.wm-action-pair .wm-action-update:hover{background:#0c6a38!important}
.wm-complete-action{align-self:center}
@media(max-width:700px){.wm-action-buttons{display:grid;grid-template-columns:1fr;gap:8px;padding:10px}.wm-action-pair{justify-content:space-between;gap:8px}.wm-action-pair>span{white-space:normal;flex:1}.wm-action-pair>div{display:grid;grid-template-columns:1fr 1fr;gap:7px;flex:1}.wm-action-pair button{min-height:44px;padding:11px 9px;font-size:13px}.wm-complete-action{width:100%;min-height:44px}}

/* V1.0.103 - restrained action controls and dedicated mobile vehicle cards */
.wm-clean-actions{padding:12px 18px;border-bottom:1px solid #e5eaf0;background:#f9fbfd}
.wm-action-caption{font-size:10px;letter-spacing:.12em;color:#718096;font-weight:800;margin-bottom:8px}
.wm-action-controls{display:flex;gap:10px;align-items:end;flex-wrap:wrap}
.wm-action-select{display:flex;flex-direction:column;gap:4px;min-width:185px}
.wm-action-select>span{font-size:10px;font-weight:750;letter-spacing:.06em;color:#65758a}
.wm-action-select select{appearance:auto;min-height:37px;border:1px solid transparent;border-radius:7px;padding:7px 12px;font-size:13px;font-weight:750;cursor:pointer;color:#fff!important}
.wm-view-select select{background:#1767bc!important}.wm-edit-select select{background:#16834a!important}
.wm-action-select select option{color:#1b2a3b;background:white}
.wm-complete-minimal{min-height:37px;padding:8px 12px;border:1px solid #d6dee7;background:#fff;color:#40546a;border-radius:7px;font-weight:650;cursor:pointer}
.wm-mobile-vehicles{display:none}
@media(max-width:700px){
 .wm-table-scroll{display:none!important}
 .wm-mobile-vehicles{display:grid;gap:12px;padding:12px;background:#f4f7fa}
 .wm-vehicle-card{display:block;width:100%;text-align:left;background:#fff;border:1px solid #dce5ed;border-radius:13px;padding:0;overflow:hidden;box-shadow:0 2px 8px rgba(26,48,75,.045);color:#22364b;cursor:pointer}
 .wm-card-top{display:flex;justify-content:space-between;align-items:start;padding:15px 15px 11px}
 .wm-card-eyebrow{font-size:11px;font-weight:800;color:#687d91;letter-spacing:.05em}
 .wm-card-top h3{margin:4px 0;font-size:17px;line-height:1.2;color:#1d3044}
 .wm-card-vehicle{font-size:13px;color:#60758a}
 .wm-card-chevron{font-size:27px;color:#9aafbf;line-height:1}
 .wm-card-status{margin:0 15px 8px;padding:9px 11px;border-radius:7px;background:#eaf2fb;color:#2b5c89;font-size:12px;font-weight:800}
 .wm-card-location{margin:0 15px 11px;padding:6px 10px;border-radius:6px;font-size:12px;font-weight:750;display:inline-block}
 .wm-card-location.in{background:#e5f6eb;color:#187345}.wm-card-location.out{background:#ffeaeb;color:#a32938}
 .wm-card-dates{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 15px 12px}
 .wm-card-dates>div{padding:10px;border-radius:8px;background:#edf7ef;color:#237447;min-width:0}
 .wm-card-dates>div.amber,.wm-card-dates>div.wm-date-amber{background:#fff4d9;color:#936317}
 .wm-card-dates>div.red,.wm-card-dates>div.wm-date-red{background:#ffe9e9;color:#a42d38}
 .wm-card-dates small{display:block;font-size:9px;letter-spacing:.06em;font-weight:800;margin-bottom:4px}
 .wm-card-dates strong{font-size:12px;overflow-wrap:anywhere}
 .wm-card-bottom{display:flex;gap:8px;flex-wrap:wrap;padding:0 15px 12px;font-size:11px;color:#5f7184}
 .wm-card-bottom span{background:#f2f5f8;border-radius:5px;padding:5px 7px}
 .wm-card-open{border-top:1px solid #e9eef2;padding:10px 15px;font-size:12px;font-weight:800;color:#2766a1;display:flex;justify-content:space-between}
 .wm-clean-actions{padding:12px}.wm-action-controls{display:grid;grid-template-columns:1fr 1fr;gap:8px}.wm-action-select{min-width:0}.wm-action-select select{width:100%;min-height:44px;font-size:12px}.wm-complete-minimal{grid-column:1/-1;min-height:42px}
}

/* V1.0.104 — desktop register, mobile/tablet vehicle blocks; workshop only */
.wm-shell .wm-status-chip,.wm-shell .wm-status-chip-blue,.wm-shell .wm-status-chip-amber,.wm-shell .wm-status-chip-green,.wm-shell .wm-status-chip-slate,.wm-shell .wm-status-chip-red{background:#e7f0fc!important;color:#2d6095!important;border-color:#d2e2f5!important;box-shadow:none}
.wm-shell .wm-status-chip:hover{background:#dbeafb!important}
.wm-shell .wm-kpi-groups .wm-kpi-blue{background:#e8f1fb!important;border-color:#d8e5f5!important;color:#37658e!important}
.wm-shell .wm-kpi-groups .wm-kpi-amber{background:#fff4e2!important;border-color:#f4e7ce!important;color:#8a6835!important}
.wm-shell .wm-kpi-groups .wm-kpi-red{background:#fcebec!important;border-color:#f3dadd!important;color:#a45b60!important}
.wm-shell .wm-kpi-groups .wm-kpi-green{background:#e8f6ee!important;border-color:#d5eade!important;color:#3c7a58!important}
@media(max-width:1024px){
 .wm-shell .wm-active-top,.wm-shell .wm-status-chips,.wm-shell .wm-kpi-groups{display:none!important}
 .wm-shell .wm-table-scroll{display:none!important}
 .wm-shell .wm-mobile-vehicles{display:grid!important;gap:14px;padding:12px 0;background:transparent}
 .wm-shell .wm-vehicle-card{display:block;width:100%;text-align:left;background:#fff;border:1px solid #e0e0e0;border-radius:16px;padding:16px;box-shadow:none;color:#171717;overflow:hidden}
 .wm-shell .wm-card-top{display:block;padding:0 0 12px}
 .wm-shell .wm-card-top h3{font-size:21px;line-height:1.25;margin:0 0 8px;color:#171717;font-weight:750}
 .wm-shell .wm-card-plate{font-size:18px;color:#222;margin-bottom:6px}
 .wm-shell .wm-card-vin,.wm-shell .wm-card-job{font-size:14px;color:#6b6b6b;line-height:1.5;margin-top:4px}
 .wm-shell .wm-card-location,.wm-shell .wm-card-status{display:block!important;width:100%;box-sizing:border-box;text-align:center;border-radius:10px;margin:0 0 10px!important;padding:12px 10px!important;font-size:14px!important;font-weight:750!important;text-transform:uppercase;letter-spacing:.02em}
 .wm-shell .wm-card-location.in{background:#e1f8e9;color:#2d693f}
 .wm-shell .wm-card-location.out{background:#fbe4e4;color:#8c3030}
 .wm-shell .wm-card-actions{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;border:0;border-radius:11px;background:#111;color:#fff;padding:13px 12px;min-height:52px;font-size:16px;font-weight:700;cursor:pointer}
 .wm-shell .wm-card-actions span{font-size:21px;font-weight:400}
 .wm-shell .wm-register{overflow:visible}
}
@media(min-width:1025px){.wm-shell .wm-mobile-vehicles{display:none!important}.wm-shell .wm-table-scroll{display:block!important}}

/* V1.0.105: service mobile/PWA cards aligned with Courtesy dashboard visual language */
.wm-demo-mobile-toggle{display:none}
@media(max-width:1024px){
 .wm-shell .wm-head-actions{display:flex;flex-wrap:wrap;gap:8px;width:100%}
 .wm-shell .wm-demo-mobile-toggle{display:inline-flex!important;align-items:center;justify-content:center;background:#e7f1ff;color:#174d80;border:1px solid #c9dff5;font-weight:800}
 .wm-shell .wm-demo-bar{display:flex!important;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;background:#edf4fb;border:1px solid #d7e6f5;border-radius:10px;padding:10px 12px;margin:12px 0}
 .wm-shell .wm-demo-bar span{font-size:11px;font-weight:750;color:#35516e}
 .wm-shell .wm-demo-bar button{background:#fff!important;color:#204e7b!important;border:1px solid #c7d9ed!important;min-height:39px;padding:8px 12px!important}
 .wm-shell .wm-mobile-vehicles{gap:12px!important}
 .wm-shell .wm-vehicle-card{border:1px solid #d9e3ee!important;border-radius:14px!important;box-shadow:0 2px 9px rgba(15,39,69,.05)!important;padding:15px!important}
 .wm-shell .wm-card-top h3{font-size:19px!important;color:#122f4d!important}
 .wm-shell .wm-card-vehicle-model{font-size:13px;color:#60758a;margin:2px 0 6px}
 .wm-shell .wm-card-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px;border-top:1px solid #e8eef4;padding:12px 0;margin:0 0 6px}
 .wm-shell .wm-card-meta>div{min-width:0}
 .wm-shell .wm-card-meta small{display:block;color:#64758a;font-size:10px;letter-spacing:.035em;margin-bottom:4px;font-weight:650}
 .wm-shell .wm-card-meta b{display:block;color:#17314d;font-size:12px;overflow-wrap:anywhere}
 .wm-shell .wm-card-meta b.wm-date-amber{color:#a06b12}.wm-shell .wm-card-meta b.wm-date-red{color:#b63d43}.wm-shell .wm-card-meta b.wm-date-green{color:#207449}
 .wm-shell .wm-card-actions{margin-top:4px}
 .wm-shell .wm-toolbar{display:flex!important;flex-wrap:wrap}
 .wm-shell .wm-register-top{flex-wrap:wrap}
}

/* V1.0.108: Workshop-only desktop palette, mobile card separators and clean detail pop-up */
@media(min-width:1025px){
 .wm-shell .wm-status-chip,.wm-shell .wm-status-chip-blue,.wm-shell .wm-status-chip-amber,.wm-shell .wm-status-chip-green,.wm-shell .wm-status-chip-slate,.wm-shell .wm-status-chip-red{background:#d6e6fa!important;color:#20558f!important;border-color:#b5d0f0!important;box-shadow:0 1px 3px #20395412!important}
 .wm-shell .wm-kpi-groups .wm-kpi-blue{background:#d7e8fb!important;border-color:#bfd6f2!important;color:#265d91!important}
 .wm-shell .wm-kpi-groups .wm-kpi-amber{background:#ffebc8!important;border-color:#f3d9a9!important;color:#866023!important}
 .wm-shell .wm-kpi-groups .wm-kpi-red{background:#f8dbdf!important;border-color:#edc1c7!important;color:#9c454e!important}
 .wm-shell .wm-kpi-groups .wm-kpi-green{background:#d7efdf!important;border-color:#bce0c9!important;color:#286b47!important}
}
@media(max-width:1024px){
 .wm-shell .wm-mobile-vehicles{gap:0!important}
 .wm-shell .wm-vehicle-card{margin:0 0 15px!important;border:1px solid #d5dbe2!important;border-radius:13px!important;box-shadow:none!important;outline:0!important}
 .wm-shell .wm-vehicle-card:not(:last-child){border-bottom:2px solid #bfc8d2!important}
 .wm-overlay{padding:0!important;align-items:stretch!important;background:#f5f7fa!important}
 .wm-overlay .wm-modal{width:100%!important;max-width:none!important;max-height:100dvh!important;height:100dvh!important;border-radius:0!important;box-shadow:none!important;padding:17px 15px 32px!important;box-sizing:border-box!important;overscroll-behavior:contain}
 .wm-overlay .wm-detail-head{padding:7px 46px 12px 2px!important;margin:0!important;border-bottom:1px solid #e3e9ef}
 .wm-overlay .wm-detail-head small{font-size:10px;letter-spacing:.075em;color:#65778b}
 .wm-overlay .wm-detail-head h2{font-size:22px!important;line-height:1.25;margin:7px 0!important;color:#152b41}
 .wm-overlay .wm-detail-head p{font-size:13px;margin:0;color:#6a7887}
 .wm-overlay .wm-close{top:13px!important;right:13px!important;width:39px;height:39px;padding:0!important;border-radius:11px;background:#eef2f6!important;color:#26394d;font-size:19px;z-index:2}
 .wm-overlay .wm-clean-actions{margin:0!important;padding:14px 0 12px!important;background:#fff!important;border-bottom:1px solid #e4eaf0!important}
 .wm-overlay .wm-action-caption{margin:0 0 10px!important;color:#65768a;font-size:10px;letter-spacing:.1em}
 .wm-overlay .wm-action-controls{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:9px!important;align-items:stretch!important}
 .wm-overlay .wm-action-select{min-width:0!important;gap:6px!important}
 .wm-overlay .wm-action-select>span{font-size:10px!important;letter-spacing:.04em!important;color:#5e7083!important}
 .wm-overlay .wm-action-select select{width:100%!important;max-width:100%!important;min-width:0!important;min-height:46px!important;border-radius:9px!important;font-size:13px!important;font-weight:750!important;padding:9px 7px!important;text-align:left;box-sizing:border-box!important}
 .wm-overlay .wm-view-select select{background:#216db7!important;color:white!important}
 .wm-overlay .wm-edit-select select{background:#238450!important;color:white!important}
 .wm-overlay .wm-complete-minimal{grid-column:1/-1!important;min-height:38px!important;border:1px solid #d9e0e8!important;background:#f7f9fb!important;color:#47586a!important;font-size:12px!important;font-weight:650!important}
 .wm-overlay .wm-detail-tabs{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;gap:6px!important;margin:0!important;padding:13px 0!important;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
 .wm-overlay .wm-detail-tabs button{flex:0 0 auto!important;white-space:nowrap!important;background:#eef2f6!important;color:#405a73!important;border:1px solid #dce4ec!important;border-radius:8px!important;padding:10px 12px!important;font-size:12px!important;font-weight:700!important}
 .wm-overlay .wm-detail-tabs button.selected{background:#2d5d85!important;color:#fff!important;border-color:#2d5d85!important}
 .wm-overlay .wm-detail-content{background:#f7f9fb!important;border:1px solid #e5ebf0!important;border-radius:11px!important;padding:13px!important}
 .wm-overlay .wm-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 .wm-overlay .wm-detail-grid>div{min-width:0!important;padding:11px!important;border-radius:8px!important}
 .wm-overlay .wm-detail-grid b{overflow-wrap:anywhere;font-size:12px}
 .wm-overlay .wm-detail-grid small{font-size:10px;margin-bottom:5px}
 .wm-overlay .wm-form{grid-template-columns:1fr!important;padding:12px!important;gap:12px!important}
 .wm-overlay .wm-log{padding:12px!important}
}
@media(max-width:380px){.wm-overlay .wm-action-controls{grid-template-columns:1fr!important}.wm-overlay .wm-complete-minimal{grid-column:1!important}}

/* V1.0.109: vehicles already with customers have no due-out urgency */
.wm-with-customer{color:#245d88!important;background:#e8f2f9!important;border-radius:5px;padding:3px 7px;font-weight:700;}

/* Parts Control 1.0.111 */
.wm-parts-summary{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0 20px}.wm-parts-kpi{border:1px solid #c9d6e4;background:#e3effb;border-radius:9px;padding:10px 14px;color:#173b60;display:flex;align-items:center;gap:9px;cursor:pointer;font:inherit}.wm-parts-kpi b{font-size:21px}.wm-parts-kpi span{font-size:12px;font-weight:600}.wm-parts-kpi.active{border-color:#467bb4;box-shadow:inset 0 0 0 1px #467bb4}.wm-parts-register-title{display:flex;align-items:center;justify-content:space-between;gap:15px}.wm-parts-register-title input{min-width:250px;max-width:380px;width:100%;border:1px solid #ccd5df;border-radius:7px;padding:10px}.wm-part-badge{display:inline-block;padding:4px 9px;border-radius:20px;font-size:11px;font-weight:700;white-space:nowrap}.wm-part-blue{background:#dfe4ff;color:#302b7e}.wm-part-red{background:#f9dce0;color:#9a1f2a}.wm-part-green{background:#d9f1dc;color:#22612a}.wm-part-amber{background:#ffedc7;color:#76521a}.wm-part-pink{background:#f9dbe5;color:#913950}.wm-parts-mobile{display:none}.wm-parts-desktop{overflow:auto}.wm-parts-desktop th,.wm-parts-desktop td{white-space:nowrap}.wm-part-card{border:1px solid #d5d9df;border-radius:12px;padding:15px;margin:10px 0;display:flex;flex-direction:column;gap:9px;background:#fff}.wm-part-card small{color:#566475}.wm-part-card>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap}@media(max-width:1024px){.wm-parts-summary{display:none}.wm-parts-desktop{display:none}.wm-parts-mobile{display:block}.wm-parts-register-title{display:block}.wm-parts-register-title input{max-width:100%;margin:8px 0 12px}}

/* V1.0.112 Parts dashboard and mobile CEE contact */
.wm-parts-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.wm-parts-kpi{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-height:76px;min-width:0;padding:12px 14px;border-radius:10px;background:#dcebf8;border:1px solid #b8d0e5;color:#244a6c}.wm-parts-kpi b{font-size:24px;line-height:1.1}.wm-parts-kpi span{font-size:12px;line-height:1.3}.wm-parts-kpi-back,.wm-parts-kpi-delayed{background:#f8dfe0;border-color:#eac5c6;color:#8b333b}.wm-parts-kpi-approval,.wm-parts-kpi-outstanding{background:#f9ebce;border-color:#ead9b7;color:#7a571b}.wm-parts-kpi-transit{background:#e0e7fa;border-color:#c8d4ed;color:#3d5288}.wm-parts-kpi-arrived,.wm-parts-kpi-available,.wm-parts-kpi-issued{background:#dcefe1;border-color:#c4dfcb;color:#27603c}.wm-parts-kpi.active{outline:2px solid currentColor;outline-offset:-3px}
.wm-part-badge,.wm-source-badge{display:inline-block;border-radius:18px;padding:4px 9px;font-size:11px;font-weight:700;white-space:nowrap}.wm-part-blue{background:#39357e;color:white}.wm-part-red{background:#cf303a;color:white}.wm-part-green{background:#398500;color:white}.wm-part-amber{background:#ffebbd;color:#6c511c}.wm-part-pink{background:#f8c3cf;color:#a03b52}.wm-source-bentley{background:#00604e;color:white}.wm-source-red{background:#a51f31;color:white}.wm-source-orange{background:#c44b0b;color:white}.wm-source-gold{background:#b57c00;color:white}
.wm-card-phone{border:1px solid #d5e3ef;border-radius:8px;background:#f0f7fd;color:#17588b;font-weight:650;padding:9px 12px;display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;cursor:pointer}.wm-card-phone span{font-size:11px;font-weight:500}.wm-phone-overlay{position:fixed;inset:0;z-index:999999;background:rgba(15,25,40,.46);display:flex;align-items:flex-end;justify-content:center}.wm-phone-sheet{background:#fff;width:100%;max-width:480px;padding:22px;border-radius:18px 18px 0 0;display:flex;flex-direction:column;gap:12px;box-shadow:0 -4px 30px #0002}.wm-phone-sheet h3,.wm-phone-sheet p{margin:0}.wm-phone-sheet a{padding:14px;text-align:center;background:#e3effc;color:#124c7a;border-radius:10px;font-weight:700;text-decoration:none}.wm-phone-sheet a:nth-of-type(2){background:#e2f5e6;color:#1a6432}.wm-phone-sheet button{border:1px solid #ddd;background:white;padding:12px;border-radius:10px}
@media(max-width:1024px){.wm-parts-summary{display:none}}@media(min-width:1025px) and (max-width:1300px){.wm-parts-summary{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* V1.0.113: Compact single-row desktop Parts KPIs and working mobile phone sheet. */
@media (min-width:1025px){
 .wm-parts-shell .wm-parts-summary{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:6px;flex-wrap:nowrap;margin:10px 0 14px}
 .wm-parts-shell .wm-parts-kpi{min-width:0;min-height:66px;padding:8px 6px;align-items:center;text-align:center;gap:4px;border-radius:8px}
 .wm-parts-shell .wm-parts-kpi b{font-size:22px;line-height:1}
 .wm-parts-shell .wm-parts-kpi span{font-size:10px;line-height:1.18;overflow-wrap:anywhere}
}
.wm-phone-sheet .wm-phone-call{background:#dcecff;color:#124c7a}
.wm-phone-sheet .wm-phone-whatsapp{background:#dff3e4;color:#1a6432}

/* V1.0.114: Workshop-only department/location context */
.wm-org-context{display:inline-flex;align-items:center;gap:9px;margin:8px 0 4px;padding:7px 12px;border:1px solid #cdd8e4;border-radius:7px;background:#f0f5fa;color:#25445e;font-size:12px;font-weight:700;letter-spacing:.01em}.wm-org-context span{color:#9aa9b6}

/* V1.0.117: Individual parts-order workflow */
.wm-part-detail{padding:8px 4px;max-width:100%;color:var(--wm-ink,#20252c)}.wm-part-detail h2{margin:8px 0 14px}.wm-part-detail h3{margin:22px 0 10px}.wm-part-detail-grid,.wm-parts-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.wm-part-detail-grid>div{padding:12px;border:1px solid #e2e5e8;border-radius:8px;min-width:0}.wm-part-detail-grid small,.wm-part-linked small,.wm-related-part small{display:block;color:#687481;font-size:11px;margin-bottom:4px}.wm-part-detail-grid strong{display:block;overflow-wrap:anywhere}.wm-part-selected-status{display:flex;gap:8px;margin:10px 0 18px}.wm-part-linked{border:1px solid #cfdce9;background:#f5f9fc;border-radius:8px;padding:14px;margin:16px 0}.wm-parts-wide{grid-column:1/-1}.wm-related-part{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;background:white;border:1px solid #e0e4e8;border-radius:8px;padding:12px;text-align:left;margin:7px 0;cursor:pointer}.wm-related-part:hover{background:#f5f8fa}.wm-parts-form-grid label{display:flex;flex-direction:column;gap:5px}.wm-parts-form-grid input,.wm-parts-form-grid select,.wm-parts-form-grid textarea{width:100%;max-width:100%;box-sizing:border-box}@media(max-width:700px){.wm-part-detail-grid,.wm-parts-form-grid{grid-template-columns:1fr}.wm-parts-wide{grid-column:auto}}

/* Clinical, one-field-per-line Workshop event history */
.wm-clean-history{padding:15px 18px!important;margin:12px 0!important;border:1px solid #dfe5ed!important;border-radius:10px!important;background:#fff!important;line-height:1.45!important}
.wm-clean-history .wm-history-heading{font-weight:700;font-size:14px;margin-bottom:9px;color:#1f2937}
.wm-history-row{display:grid;grid-template-columns:125px minmax(0,1fr);gap:12px;padding:5px 0;border-bottom:1px solid #f1f3f5;font-size:13px}
.wm-history-row span,.wm-history-comment span{color:#64748b;font-size:12px}
.wm-history-row strong{font-weight:600;overflow-wrap:anywhere}
.wm-history-comment{padding-top:10px}.wm-history-comment p{margin:5px 0 0!important;white-space:pre-wrap;overflow-wrap:anywhere}

/* v1.0.131: compact iPhone QR checker. Intentionally scoped to Workshop only. */
.wm-checker-v131,.wm-checker-v131 *{box-sizing:border-box}
.wm-checker-v131 .wm-checker-center{width:100%!important;max-width:460px!important;margin:0 auto!important;padding:0 8px 16px!important;min-width:0!important}
.wm-checker-v131 #wmCheckerScanContainer{display:flex;justify-content:center;align-items:center;margin:14px auto 18px!important}
.wm-checker-v131 .wm-scan-button{display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;gap:9px!important;width:132px!important;height:132px!important;min-height:0!important;max-width:40vw!important;max-height:40vw!important;aspect-ratio:1!important;margin:0 auto!important;padding:12px!important;background:#090909!important;color:#fff!important;border:0!important;border-radius:16px!important;font-size:17px!important;font-weight:750!important;line-height:1.25!important;white-space:normal!important;text-align:center!important}
.wm-checker-v131 .wm-scan-button .wm-scan-icon{display:block!important;font-size:40px!important;line-height:1!important;color:#fff!important}
.wm-checker-v131 #wmCheckerCameraArea{width:100%!important;max-width:100%!important;min-width:0!important;overflow:hidden!important}
.wm-checker-v131 .wm-checker-camera-frame{position:relative!important;display:block!important;width:min(64vw,230px)!important;height:min(64vw,230px)!important;max-width:230px!important;max-height:230px!important;aspect-ratio:1!important;margin:8px auto!important;border-radius:14px!important;overflow:hidden!important;background:#111!important}
.wm-checker-v131 .wm-checker-camera-frame video{display:block!important;width:100%!important;height:100%!important;max-height:100%!important;object-fit:cover!important}
.wm-checker-v131 .wm-checker-camera-target{position:absolute!important;inset:15%!important;border:2px solid white!important;border-radius:12px!important;pointer-events:none!important}
.wm-checker-v131 .wm-checker-camera-actions{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;margin:10px 0 14px!important;font-size:12px!important;color:#53667b!important}
.wm-checker-v131 .wm-checker-stop{width:auto!important;min-height:38px!important;margin:0!important;padding:8px 14px!important;border-radius:9px!important;font-size:13px!important;background:#080808!important;color:#fff!important}
.wm-checker-v131 .wm-checker-fallback{margin:8px 0!important;font-size:13px!important;color:#475569!important}.wm-checker-v131 .wm-checker-fallback summary{cursor:pointer}.wm-checker-v131 .wm-checker-fallback input{width:100%;margin:8px 0;padding:10px;border:1px solid #cbd5e1;border-radius:9px}
.wm-checker-v131 #wmCheckerResult{margin:10px 0 0!important;width:100%!important;min-width:0!important}
.wm-checker-v131 .wm-checker-detail{display:block!important;width:100%!important;min-width:0!important;margin:0!important;padding:18px!important;border:1px solid #dce5ee!important;border-radius:18px!important;background:#fff!important;box-shadow:0 2px 12px rgba(14,34,58,.04)!important}
.wm-checker-v131 .wm-checker-detail-heading{display:block!important;margin:0 0 16px!important}.wm-checker-v131 .wm-checker-detail-heading>span{display:block!important;font-size:10px!important;letter-spacing:.12em!important;font-weight:800!important;color:#78889b!important}.wm-checker-v131 .wm-checker-detail-heading h2{display:block!important;margin:5px 0 2px!important;font-size:26px!important;line-height:1.15!important;color:#13283d!important}.wm-checker-v131 .wm-checker-detail-heading p{display:block!important;margin:0!important;font-size:15px!important;line-height:1.35!important;color:#53667b!important}
.wm-checker-v131 .wm-checker-priority{display:block!important;padding:16px!important;border:1px solid #e2e8f0!important;border-radius:13px!important;background:#f7f9fc!important;text-align:left!important}
.wm-checker-v131 .wm-checker-priority-label,.wm-checker-v131 .wm-checker-due-label{display:block!important;margin:0 0 7px!important;color:#64748b!important;font-size:11px!important;font-weight:800!important;letter-spacing:.09em!important;line-height:1.2!important}
.wm-checker-v131 .wm-checker-status{display:inline-block!important;max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important;padding:9px 13px!important;border-radius:10px!important;font-size:20px!important;font-weight:800!important;line-height:1.25!important}
.wm-checker-v131 .wm-checker-status-active{color:#155eab!important;background:#dbeafe!important}.wm-checker-v131 .wm-checker-status-complete{color:#166534!important;background:#dcfce7!important}.wm-checker-v131 .wm-checker-status-attention{color:#9a3412!important;background:#ffedd5!important}.wm-checker-v131 .wm-checker-status-pending{color:#854d0e!important;background:#fef3c7!important}
.wm-checker-v131 .wm-checker-due-label{margin:18px 0 7px!important}.wm-checker-v131 .wm-checker-due{display:block!important;font-size:22px!important;line-height:1.25!important;font-weight:850!important;color:#11283f!important;overflow-wrap:anywhere!important}
.wm-checker-v131 .wm-checker-info{display:block!important;margin:10px 0 0!important}.wm-checker-v131 .wm-checker-info-item{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:12px!important;padding:11px 0!important;border-bottom:1px solid #e9eef4!important;line-height:1.35!important}.wm-checker-v131 .wm-checker-info-item span{display:block!important;flex:0 0 35%!important;font-size:13px!important;font-weight:500!important;color:#64748b!important}.wm-checker-v131 .wm-checker-info-item strong{display:block!important;flex:1 1 auto!important;text-align:right!important;font-size:15px!important;font-weight:750!important;color:#142b43!important;overflow-wrap:anywhere!important}
.wm-checker-v131 .wm-checker-update{display:block!important;width:100%!important;min-height:48px!important;margin:16px 0 0!important;padding:11px 14px!important;border-radius:11px!important;background:#090909!important;color:#fff!important;font-size:15px!important;font-weight:750!important;text-align:center!important;white-space:normal!important}
@media(max-width:420px){.wm-checker-v131 .wm-checker-detail{padding:15px!important}.wm-checker-v131 .wm-checker-detail-heading h2{font-size:23px!important}.wm-checker-v131 .wm-checker-due{font-size:20px!important}.wm-checker-v131 .wm-checker-status{font-size:18px!important}}

/* V1.0.132 — readable, spacious mobile-first Vehicle Status Checker */
.wm-checker-v131 .wm-checker-center{max-width:640px!important;width:100%!important;padding:8px 12px 44px!important}
.wm-checker-v131 #wmCheckerScanContainer{margin:24px auto 30px!important}
.wm-checker-v131 .wm-scan-button{width:190px!important;height:190px!important;max-width:56vw!important;max-height:56vw!important;border-radius:23px!important;gap:15px!important;font-size:23px!important;padding:18px!important;box-shadow:0 8px 20px rgba(0,0,0,.12)!important}
.wm-checker-v131 .wm-scan-button .wm-scan-icon{font-size:56px!important}
.wm-checker-v131 .wm-checker-camera-frame{width:min(82vw,330px)!important;height:min(82vw,330px)!important;max-width:330px!important;max-height:330px!important;border-radius:22px!important;margin:20px auto!important}
.wm-checker-v131 .wm-checker-camera-actions{font-size:15px!important;line-height:1.45!important;gap:14px!important}
.wm-checker-v131 .wm-checker-stop{min-height:46px!important;font-size:16px!important;padding:10px 18px!important}
.wm-checker-v131 #wmCheckerResult{margin-top:24px!important}
.wm-checker-v131 .wm-checker-detail{padding:26px 22px!important;border-radius:22px!important;box-shadow:0 5px 22px rgba(14,34,58,.07)!important}
.wm-checker-v131 .wm-checker-detail-heading{margin-bottom:24px!important}
.wm-checker-v131 .wm-checker-detail-heading>span{font-size:13px!important;letter-spacing:.12em!important}
.wm-checker-v131 .wm-checker-detail-heading h2{font-size:36px!important;line-height:1.2!important;margin:9px 0!important}
.wm-checker-v131 .wm-checker-detail-heading p{font-size:19px!important;line-height:1.45!important}
.wm-checker-v131 .wm-checker-priority{padding:23px 20px!important;border-radius:18px!important;background:#f5f8fc!important}
.wm-checker-v131 .wm-checker-priority-label,.wm-checker-v131 .wm-checker-due-label{font-size:14px!important;margin-bottom:12px!important;letter-spacing:.08em!important}
.wm-checker-v131 .wm-checker-status{display:block!important;width:100%!important;text-align:center!important;font-size:26px!important;line-height:1.3!important;padding:17px 12px!important;border-radius:13px!important}
.wm-checker-v131 .wm-checker-due-label{margin-top:27px!important}
.wm-checker-v131 .wm-checker-due{font-size:30px!important;line-height:1.3!important;letter-spacing:-.02em!important}
.wm-checker-v131 .wm-checker-info{margin-top:22px!important}
.wm-checker-v131 .wm-checker-info-item{display:block!important;padding:18px 0!important;line-height:1.4!important}
.wm-checker-v131 .wm-checker-info-item span{display:block!important;width:100%!important;font-size:15px!important;margin-bottom:7px!important;font-weight:600!important}
.wm-checker-v131 .wm-checker-info-item strong{display:block!important;width:100%!important;text-align:left!important;font-size:21px!important;line-height:1.35!important;font-weight:750!important}
.wm-checker-v131 .wm-checker-update{min-height:60px!important;font-size:19px!important;margin-top:26px!important;padding:16px!important;border-radius:13px!important}
.wm-checker-v131 .wm-checker-fallback{font-size:15px!important;margin-top:20px!important}
@media(max-width:420px){.wm-checker-v131 .wm-checker-center{padding:8px 4px 32px!important}.wm-checker-v131 .wm-checker-detail{padding:22px 17px!important}.wm-checker-v131 .wm-checker-detail-heading h2{font-size:32px!important}.wm-checker-v131 .wm-checker-due{font-size:26px!important}.wm-checker-v131 .wm-checker-status{font-size:23px!important}}

/* V1.0.133 — mobile cleaning queue */
.wm-cleaning-dashboard{max-width:760px;margin:26px auto;padding:20px;background:#f1f5f9;border-radius:18px}
.wm-cleaning-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.wm-cleaning-heading h2{margin:0;font-size:25px}.wm-cleaning-dashboard>p{font-size:15px;color:#566579}
.wm-cleaning-card{background:#fff;border:1px solid #d8e1e8;border-radius:16px;padding:20px;margin:16px 0;box-shadow:0 2px 5px #142d4310}
.wm-cleaning-plate{font-size:31px;font-weight:800;color:#13253c}.wm-cleaning-model{font-size:20px;margin:3px 0 18px;color:#3c4b60}
.wm-cleaning-meta{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:18px}.wm-cleaning-meta small,.wm-cleaning-due small{display:block;font-size:12px;letter-spacing:.05em;font-weight:700;color:#607084;margin-bottom:5px}.wm-cleaning-meta strong{font-size:16px;display:block;overflow-wrap:anywhere}
.wm-cleaning-due{padding:18px;background:#edf5ff;border-radius:12px;margin-bottom:18px}.wm-cleaning-due strong{font-size:26px;display:block;color:#123b6d}.wm-cleaning-overdue{background:#fff0f0}.wm-cleaning-overdue strong{color:#b42318}
.wm-cleaning-done{display:block;width:100%;min-height:80px;background:#168448;color:#fff;border:0;border-radius:14px;font-size:22px;font-weight:800;cursor:pointer}.wm-cleaning-done:active{background:#106332}
.wm-cleaning-empty{padding:20px;background:white;border-radius:12px}
@media(max-width:480px){.wm-cleaning-dashboard{padding:16px 12px}.wm-cleaning-meta{grid-template-columns:1fr;gap:12px}.wm-cleaning-card{padding:18px}.wm-cleaning-due strong{font-size:24px}}

/* V1.0.136 Parts controls and history */
.wm-update-part-amber,.wm-issue-part-green{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:10px;padding:13px 20px;font-weight:700;cursor:pointer;color:#fff!important;min-height:48px}.wm-update-part-amber{background:#bf7600!important;margin:14px 12px 14px 0}.wm-issue-part-green{background:#168447!important;margin:14px 0}.wm-issue-toolbar{display:flex;align-items:center;gap:18px;flex-wrap:wrap;padding:14px;border:1px solid #d7e2ea;border-radius:12px;margin-bottom:15px;background:#f5f9fb}.wm-issue-toolbar label,.wm-issue-row{display:flex;align-items:center;gap:10px;font-weight:650}.wm-issue-check{width:20px;height:20px;accent-color:#168447}.wm-issue-row{padding:8px 0 14px;border-bottom:1px solid #e5ebef}.wm-history-search{padding:22px}.wm-history-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px;margin:16px 0 22px}.wm-history-fields label{display:flex;flex-direction:column;gap:7px;font-weight:600}.wm-history-fields input,.wm-history-fields select{width:100%;padding:11px;border:1px solid #cbd5df;border-radius:8px;background:white}.wm-history-search h3{margin:22px 0 12px}

/* V1.0.148: direct, clearly grouped vehicle action buttons */
.wm-action-buttons{display:flex;flex-direction:column;gap:8px;flex:1;min-width:0}.wm-action-buttons>span{font-size:11px;letter-spacing:.06em;color:#607189;font-weight:700}.wm-action-button-row{display:flex;flex-wrap:wrap;gap:8px}.wm-action-button-row button{background:#151b23;color:#fff;border:0;border-radius:7px;padding:11px 14px;cursor:pointer;font-weight:650;min-height:40px}.wm-action-button-row button:hover{background:#344457}.wm-action-controls{align-items:end;flex-wrap:wrap}

/* V1.0.149 — Workshop vehicle detail scroll and compact histories only */
#wmOverlay .wm-modal{max-height:92vh;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;}
#wmOverlay .wm-detail-content{overflow:visible;max-height:none;}
#wmOverlay .wm-history-stack{display:grid;gap:16px;padding:12px 0 20px;}
#wmOverlay .wm-history-section{border:1px solid #dbe4ec;border-radius:12px;background:#fff;padding:18px 20px;}
#wmOverlay .wm-history-section h3{font-size:16px;margin:0 0 14px;color:#213449;border-bottom:1px solid #e5ebf0;padding-bottom:12px;}
#wmOverlay .wm-history-entry{border-bottom:1px solid #edf1f4;padding:10px 0;}
#wmOverlay .wm-history-meta{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px;color:#253c54;font-size:12px;}
#wmOverlay .wm-history-meta time{color:#687b90;font-weight:400;}
#wmOverlay .wm-history-message{margin-top:6px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;}
#wmOverlay .wm-history-entry small{color:#677b8c;}
#wmOverlay .wm-history-empty{color:#788798;font-size:13px;}
#wmOverlay .wm-history-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;margin-top:15px;padding-top:12px;border-top:1px solid #edf1f4;}
#wmOverlay .wm-history-section>.wm-outline{margin-top:12px;}
#wmOverlay .wm-history-section [hidden]{display:none!important;}
@media(max-width:640px){#wmOverlay .wm-history-section{padding:14px}#wmOverlay .wm-history-actions>*{width:100%}}

/* V1.0.150 — centred dark live chat and clinical Workshop vehicle modal. */
.wc-chat-backdrop{position:fixed!important;inset:0!important;z-index:2147482000!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:20px!important;background:rgba(5,12,23,.68)!important;backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px)}
.wc-chat-panel{width:min(520px,100%)!important;max-height:min(86vh,850px)!important;overflow-y:auto!important;overscroll-behavior:contain;background:linear-gradient(145deg,#142238 0%,#090f1b 100%)!important;color:#f6f9ff!important;border:1px solid #4d6179!important;border-radius:22px!important;box-shadow:0 30px 90px #0009,0 0 0 1px #ffffff10!important}
.wc-chat-inner{padding:clamp(22px,4vw,34px)!important}.wc-chat-inner h3{color:#fff!important;font-size:23px!important;font-weight:750!important;letter-spacing:-.02em;margin:0 0 18px!important}.wc-chat-help{color:#c5d2e4!important;font-size:14px!important;line-height:1.5!important}
.wc-chat-inner input:not([type=checkbox]),.wc-chat-inner textarea{background:#1d2c42!important;border:1px solid #52677f!important;color:#fff!important;border-radius:11px!important;padding:13px!important;box-sizing:border-box!important;font-size:15px!important}.wc-chat-inner input::placeholder,.wc-chat-inner textarea::placeholder{color:#b2c0d0!important}
.wc-chat-inner .wcUser{display:flex!important;align-items:center!important;gap:12px!important;color:#f2f6ff!important;border-bottom:1px solid #34465c!important;padding:14px 8px!important;font-size:15px!important}.wc-chat-inner .wcUser input{accent-color:#66b6ff!important;width:19px!important;height:19px!important;flex-shrink:0!important}
.wc-chat-inner button{border-radius:10px!important;padding:12px 18px!important;font-weight:700!important;min-height:44px!important;margin-right:8px!important;margin-top:12px!important;cursor:pointer!important}.wc-chat-inner button:not(.wc-cancel){background:#2477c9!important;color:white!important;border:1px solid #3e91e0!important}.wc-chat-inner button[onclick^="wcLeave"]{background:#ad3347!important;border-color:#cb5266!important}.wc-chat-inner .wc-cancel{background:transparent!important;border:1px solid #6a7e94!important;color:#f1f5fc!important}
.wc-chat-inner #wcMessages{background:#17263b!important;border:1px solid #40536b!important;border-radius:13px!important;padding:10px 16px!important;max-height:45vh!important;overflow-y:auto!important}.wc-chat-inner #wcMessages>div{border-bottom:1px solid #40536b!important;padding:13px 0!important;color:#f6f9ff!important}.wc-chat-inner #wcMessages small{color:#b5c8df!important}.wc-chat-inner #wcMessages strong{color:#fff!important}.wc-chat-inner #wcMessages div div{margin-top:6px!important;line-height:1.5!important}
#wcWindow .wc-chat-inner>div:not(#wcMessages){color:#e9f1ff!important}
#wmOverlay{backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
#wmOverlay .wm-modal{border:1px solid #dbe4ec!important;border-radius:19px!important;box-shadow:0 24px 75px #1b2b4030!important;background:#fff!important;padding:clamp(18px,3vw,30px)!important}
#wmOverlay .wm-history-stack{gap:18px!important;padding:18px 0 24px!important}
#wmOverlay .wm-history-section{border:1px solid #d8e1e9!important;border-radius:15px!important;background:#fff!important;padding:22px 24px!important;box-shadow:0 2px 7px #16283c08!important}
#wmOverlay .wm-history-section h3{font-size:17px!important;font-weight:750!important;color:#182d44!important;border-bottom:1px solid #e5eaf0!important;padding-bottom:14px!important;margin-bottom:14px!important}
#wmOverlay .wm-history-actions{justify-content:flex-start!important;align-items:center!important;gap:10px!important;padding-top:16px!important}
#wmOverlay .wm-history-actions button{min-height:42px!important;border-radius:9px!important;font-weight:700!important}
#wmOverlay .wm-history-entry{padding:12px 0!important}
#wmOverlay .wm-history-message{line-height:1.55!important;color:#2c3c4e!important}
@media(max-width:640px){.wc-chat-backdrop{padding:12px!important}.wc-chat-panel{max-height:92vh!important}.wc-chat-inner{padding:22px!important}#wmOverlay .wm-history-section{padding:17px!important}#wmOverlay .wm-history-actions>*{width:auto!important;max-width:100%}}

/* V1.0.153 — bright, clinical workshop pop-up and white/blue live messaging */
.wc-chat-backdrop{background:rgba(15,31,52,.48)!important;backdrop-filter:blur(8px)!important}
.wc-chat-panel{width:min(610px,100%)!important;background:#fff!important;color:#1b2c40!important;border:1px solid #b8cce1!important;border-radius:20px!important;box-shadow:0 28px 90px #071b3560,0 0 0 5px #ffffff22!important}
.wc-chat-inner{padding:0!important}
.wc-chat-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;background:linear-gradient(120deg,#edf6ff,#fff 72%);border-bottom:1px solid #d7e5f2;padding:25px 28px 20px}
.wc-chat-heading h3{color:#142d4a!important;font-size:25px!important;margin:4px 0!important}
.wc-chat-heading p{margin:0;color:#57738d;font-size:13px}
.wc-eyebrow{font-size:10px;font-weight:850;letter-spacing:.16em;color:#2471b4}
.wc-minimize{border:1px solid #b7cfe7!important;background:white!important;color:#1e4d79!important;border-radius:10px!important;font-size:26px!important;width:43px!important;height:40px!important;min-height:40px!important;padding:0!important;margin:0!important;line-height:1!important}
.wc-chat-participants{display:flex;flex-wrap:wrap;gap:7px;padding:15px 28px 8px;background:#fff}
.wc-member-pill{font-size:12px;color:#1c588b;background:#eaf4fd;border:1px solid #c9e1f5;border-radius:20px;padding:6px 11px;font-weight:700}
.wc-chat-notice{margin:10px 28px;background:#eaf4ff;border:1px solid #9ac7ed;border-left:4px solid #2277bb;color:#1d4f79;padding:11px 14px;border-radius:9px;font-size:13px}
.wc-chat-notice[hidden]{display:none!important}
.wc-chat-inner #wcMessages{margin:12px 28px 0!important;background:#f7fafc!important;border:1px solid #d6e3ef!important;border-radius:12px!important;min-height:135px!important;max-height:37vh!important;padding:9px 16px!important}
.wc-chat-inner #wcMessages>div{color:#1b3047!important;border-bottom:1px solid #e0e9f1!important;padding:12px 0!important}
.wc-chat-inner #wcMessages strong{color:#173e66!important}.wc-chat-inner #wcMessages small{color:#647d94!important}
.wc-chat-inner #wcMessages div div{color:#273d51!important}
.wc-chat-empty{color:#73869a!important;font-size:13px!important}
.wc-compose{padding:18px 28px 25px!important;margin:0!important}
.wc-chat-inner input:not([type=checkbox]),.wc-chat-inner textarea{background:white!important;color:#162f46!important;border:1px solid #aec5da!important;border-radius:10px!important;padding:13px!important;font-size:14px!important}
.wc-chat-inner input::placeholder,.wc-chat-inner textarea::placeholder{color:#8497a8!important}
.wc-compose textarea{display:block;width:100%!important;min-height:85px!important;box-sizing:border-box!important;resize:vertical}
.wc-chat-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:flex-start;margin-top:12px}
.wc-chat-inner button{margin:0!important;border-radius:9px!important;min-height:42px!important;font-size:13px!important}
.wc-chat-inner button:not(.wc-cancel):not(.wc-leave):not(.wc-minimize){background:#155a98!important;color:#fff!important;border:1px solid #155a98!important}
.wc-chat-inner .wc-leave,.wc-chat-inner button[onclick^="wcLeave"]{background:#fff!important;color:#a52e38!important;border:1px solid #dba9b0!important}
.wc-chat-inner .wc-cancel{background:#fff!important;color:#214a70!important;border:1px solid #c6d7e6!important}
.wc-chat-inner .wc-chat-help{color:#4d6984!important}
.wc-chat-inner .wcUser{color:#20374d!important;border-bottom:1px solid #e3edf5!important;padding:13px!important}
.wc-chat-inner .wcUser input{accent-color:#1767aa!important}
.wc-chat-inner>h3,.wc-chat-inner>.wc-chat-help,.wc-chat-inner>#wcSearch,.wc-chat-inner>#wcUserList,.wc-chat-inner>button,.wc-chat-inner>h4{margin-left:28px!important;margin-right:28px!important}
.wc-chat-inner>h3{padding-top:24px;color:#193956!important}
.wc-chat-dock{position:fixed;right:22px;bottom:22px;z-index:2147482001;display:flex;align-items:center;gap:11px;padding:14px 19px;background:#153e67;color:white;border:1px solid #60a5da;border-radius:14px;box-shadow:0 10px 35px #001a3755;cursor:pointer;font-weight:750}
.wc-dock-dot{width:9px;height:9px;border-radius:50%;background:#46d39b;box-shadow:0 0 0 4px #46d39b2c}
.wc-dock-expand{font-size:11px;color:#c9e7ff;margin-left:15px}
#wmOverlay .wm-modal{border-top:5px solid #2372ae!important;background:#fff!important;box-shadow:0 30px 90px #071d3345!important}
#wmOverlay .wm-detail-head{padding:19px 23px!important;background:linear-gradient(110deg,#eff7ff,#fff)!important;border:1px solid #dce8f2!important;border-radius:13px!important}
#wmOverlay .wm-detail-head h2{color:#173653!important}
#wmOverlay .wm-detail-content{background:#f8fafc!important;border:1px solid #e6edf3!important}
#wmOverlay .wm-history-section{border:1px solid #ccdce9!important;border-left:4px solid #4b95cf!important;box-shadow:0 5px 20px #1c42600b!important;background:#fff!important}
#wmOverlay .wm-history-section h3{color:#173b5c!important}
#wmOverlay .wm-detail-tabs button{background:#173e63!important;border:1px solid #173e63!important}
#wmOverlay .wm-detail-tabs button.selected{background:#2677b5!important;border-color:#2677b5!important}
#wmOverlay .wm-complete-minimal{background:#08a64b!important;color:white!important;border:1px solid #078a3f!important;box-shadow:0 3px 9px #07954725!important;font-weight:800!important}
#wmOverlay .wm-complete-minimal:hover{background:#078a3f!important}
@media(max-width:640px){.wc-chat-heading{padding:20px!important}.wc-chat-participants{padding:12px 20px 4px!important}.wc-chat-inner #wcMessages{margin:10px 20px!important}.wc-compose{padding:14px 20px 22px!important}.wc-chat-dock{right:12px;bottom:12px}}

/* V1.0.153 — richer vehicle identity header and named chat transcript */
#wmOverlay .wm-detail-head{position:relative!important;overflow:hidden!important;background:linear-gradient(118deg,#12395e 0%,#1d5684 62%,#edf6ff 62.15%,#f6fbff 100%)!important;border:1px solid #9dbbd4!important;border-left:6px solid #2b91d2!important;border-radius:17px!important;padding:26px 30px!important;box-shadow:0 12px 32px rgba(16,54,89,.13)!important;min-height:135px!important}
#wmOverlay .wm-detail-head:after{content:'';position:absolute;right:18px;top:16px;width:112px;height:112px;border:2px solid rgba(40,122,182,.16);border-radius:50%;pointer-events:none;box-shadow:0 0 0 15px rgba(40,122,182,.055),0 0 0 31px rgba(40,122,182,.04)}
#wmOverlay .wm-detail-head h2{color:#fff!important;font-size:27px!important;font-weight:800!important;letter-spacing:-.4px!important;text-shadow:0 1px 2px rgba(0,0,0,.08)!important}
#wmOverlay .wm-detail-head p,#wmOverlay .wm-detail-head small,#wmOverlay .wm-detail-head .wm-eyebrow{color:#d9ebfb!important}
#wmOverlay .wm-detail-head>*,#wmOverlay .wm-detail-head>div{position:relative;z-index:1}
#wmOverlay .wm-detail-content{border-radius:16px!important;background:linear-gradient(#f7faff,#fff)!important}
#wmOverlay .wm-history-section{border:1px solid #d5e1ed!important;border-left:4px solid #408fc8!important;border-radius:16px!important;background:#fff!important;box-shadow:0 5px 20px rgba(22,66,103,.055)!important}
#wmOverlay .wm-history-section h3{color:#163c60!important;letter-spacing:.1px!important}
#wmOverlay .wm-history-meta strong{color:#13598f!important}
#wmOverlay .wm-history-actions{justify-content:flex-start!important}
#wmOverlay .wm-history-actions button{margin-left:0!important}
@media(max-width:680px){#wmOverlay .wm-detail-head{background:linear-gradient(115deg,#12395e,#25699c)!important;padding:22px!important}#wmOverlay .wm-detail-head h2{font-size:23px!important}}

/* V1.0.153: Premium CRM identity and parts status, Workshop vehicle pop-up only */
#wmOverlay .wm-detail-head.wm-detail-head-153{background:#fff!important;color:#162b43!important;border:1px solid #d7e3ef!important;border-left:5px solid #2578b8!important;box-shadow:0 8px 24px rgba(20,49,77,.07)!important;border-radius:16px!important;min-height:0!important;padding:23px 25px!important;overflow:visible!important}
#wmOverlay .wm-detail-head.wm-detail-head-153:after{display:none!important}
#wmOverlay .wm-detail-head-153 .wm-vehicle-identity{display:flex;gap:16px;align-items:center}
#wmOverlay .wm-detail-head-153 .wm-vehicle-icon{width:64px;height:64px;display:flex;align-items:center;justify-content:center;flex:none;border-radius:15px;background:#e4f0fc;font-size:31px}
#wmOverlay .wm-detail-head-153 .wm-vehicle-identity-main small{color:#64809c!important;letter-spacing:1px;font-weight:800;font-size:10px}
#wmOverlay .wm-detail-head-153 h2{color:#142f4d!important;text-shadow:none!important;font-size:29px!important;margin:5px 0!important}
#wmOverlay .wm-detail-head-153 .wm-vehicle-identity-main p{color:#5c738a!important;margin:0;font-size:14px}
#wmOverlay .wm-detail-head-153 .wm-vehicle-status-row{display:flex;flex-wrap:wrap;gap:8px;margin:17px 0 15px}
#wmOverlay .wm-detail-head-153 .wm-vehicle-status-row span{display:inline-flex;padding:7px 12px;border-radius:8px;font-size:12px;font-weight:800}
#wmOverlay .wm-detail-head-153 .wm-vehicle-location.in{background:#def6e7;color:#137541}
#wmOverlay .wm-detail-head-153 .wm-vehicle-location.out{background:#ffe7e4;color:#ac302b}
#wmOverlay .wm-detail-head-153 .wm-vehicle-repair{background:#fff1d8;color:#a35b0d}
#wmOverlay .wm-detail-head-153 .wm-vehicle-team{background:#e9f0fa;color:#28567e}
#wmOverlay .wm-detail-head-153 .wm-vehicle-header-info{display:flex;gap:28px;border-top:1px solid #e4ebf2;padding:14px 0}
#wmOverlay .wm-detail-head-153 .wm-vehicle-header-info>div{display:flex;flex-direction:column;gap:4px;min-width:120px}
#wmOverlay .wm-detail-head-153 .wm-vehicle-header-info small{color:#7890a5!important;font-size:10px;letter-spacing:.7px}
#wmOverlay .wm-detail-head-153 .wm-vehicle-header-info strong{color:#183a5b;font-size:13px}
#wmOverlay .wm-detail-head-153 .wm-vehicle-header-actions{display:flex;flex-wrap:wrap;gap:9px;border-top:1px solid #e4ebf2;padding-top:16px}
#wmOverlay .wm-detail-head-153 .wm-vehicle-header-actions button{border:0!important;border-radius:9px!important;padding:11px 16px!important;font-weight:800!important;font-size:12px!important;cursor:pointer}
#wmOverlay .wm-header-primary{background:#236da9!important;color:#fff!important}
#wmOverlay .wm-header-chat{background:#edf4fc!important;color:#1c5485!important;border:1px solid #c5d9ea!important}
#wmOverlay .wm-header-complete{background:#14a44d!important;color:#fff!important}
#wmOverlay .wm-parts-feature{--part-accent:#a45d11;--part-soft:#fff1d8;background:#fff;border:1px solid #d7e2ed;border-left:5px solid var(--part-accent);border-radius:16px;padding:22px;margin:18px 0;box-shadow:0 7px 24px rgba(18,55,89,.06)}
#wmOverlay .wm-parts-feature-red{--part-accent:#c73d38;--part-soft:#ffebea}
#wmOverlay .wm-parts-feature-green{--part-accent:#15965b;--part-soft:#e2f6ea}
#wmOverlay .wm-parts-feature-blue{--part-accent:#286db4;--part-soft:#e5f0ff}
#wmOverlay .wm-parts-feature-neutral{--part-accent:#69839c;--part-soft:#eef3f7}
#wmOverlay .wm-parts-feature-top{display:flex;align-items:center;gap:14px}
#wmOverlay .wm-parts-feature-icon{background:var(--part-soft);color:var(--part-accent);font-size:26px;width:53px;height:53px;border-radius:13px;display:flex;align-items:center;justify-content:center;flex:none}
#wmOverlay .wm-parts-feature-heading{flex:1}
#wmOverlay .wm-parts-feature-heading>span{font-size:10px;letter-spacing:1px;font-weight:800;color:#778ca2}
#wmOverlay .wm-parts-feature-heading h3{font-size:21px!important;color:var(--part-accent)!important;margin:4px 0!important}
#wmOverlay .wm-parts-feature-heading p{font-size:12px;color:#647d95;margin:0}
#wmOverlay .wm-parts-feature-pill{background:var(--part-soft);color:var(--part-accent);font-size:11px;font-weight:800;border-radius:20px;padding:8px 12px}
#wmOverlay .wm-parts-feature-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:20px 0 14px}
#wmOverlay .wm-parts-feature-stats>div{background:#f5f8fc;border:1px solid #e4edf5;border-radius:10px;padding:13px;display:flex;flex-direction:column;gap:3px}
#wmOverlay .wm-parts-feature-stats strong{font-size:24px;color:#173a5a}
#wmOverlay .wm-parts-feature-stats span{font-size:11px;color:#627b94}
#wmOverlay .wm-parts-feature-progress{height:8px;border-radius:20px;background:#e8eef4;overflow:hidden}
#wmOverlay .wm-parts-feature-progress span{display:block;height:100%;border-radius:20px;background:var(--part-accent)}
@media(max-width:600px){#wmOverlay .wm-detail-head.wm-detail-head-153{padding:17px!important}#wmOverlay .wm-detail-head-153 .wm-vehicle-header-info{flex-wrap:wrap}#wmOverlay .wm-parts-feature-stats{grid-template-columns:repeat(2,minmax(0,1fr))}#wmOverlay .wm-parts-feature-pill{display:none}}

/* V1.0.155 — restrained, complete light-grey outlines on Workshop pop-up sections only. */
#wmOverlay .wm-detail-head.wm-detail-head-153,
#wmOverlay .wm-history-section,
#wmOverlay .wm-parts-feature {
  border:1px solid #d8dee6!important;
  border-radius:14px!important;
  box-shadow:0 2px 10px rgba(30,50,70,.035)!important;
}
#wmOverlay .wm-detail-content {border:1px solid #e0e5eb!important;}
#wmOverlay .wm-detail-head-153 .wm-vehicle-header-info,
#wmOverlay .wm-detail-head-153 .wm-vehicle-header-actions {border-top:1px solid #e1e5ea!important;}

/* V1.0.155 — Workshop-only pop-up refinement. No Courtesy Vehicles selectors. */
#wmOverlay .wm-modal{background:#eaf3fc!important;border:1px solid #b9cddd!important;border-radius:20px!important;box-shadow:0 30px 90px rgba(12,39,65,.32)!important}
#wmOverlay .wm-detail-content{background:#eaf3fc!important;border:2px solid #ccd9e5!important;border-radius:16px!important}
#wmOverlay .wm-detail-head.wm-detail-head-153{border:2px solid #c4d0db!important;border-left:2px solid #c4d0db!important;box-shadow:0 4px 14px rgba(16,55,88,.05)!important}
#wmOverlay .wm-history-section,#wmOverlay .wm-parts-feature,#wmOverlay .wm-detail-grid>div,#wmOverlay .wm-form,#wmOverlay .wm-log{border:2px solid #c8d4df!important;border-left:2px solid #c8d4df!important;background:#fff!important;border-radius:14px!important}
#wmOverlay .wm-history-section{padding:20px 22px!important;margin-bottom:14px!important}
#wmOverlay .wm-history-section h3{display:flex;align-items:center;gap:9px;color:#173e63!important;font-size:17px!important;font-weight:800!important;border-bottom:2px solid #dbe5ed!important;padding:0 0 13px!important;margin:0 0 15px!important}
#wmOverlay .wm-history-section h3:before{content:'';width:5px;height:20px;background:#287cb6;border-radius:6px;display:inline-block;flex:none}
#wmOverlay .wm-history-section .wm-outline{background:#173e68!important;border:1px solid #173e68!important;color:#fff!important;border-radius:9px!important;font-weight:800!important;padding:11px 16px!important}
#wmOverlay .wm-history-section .wm-outline:hover{background:#23588b!important}
#wmOverlay .wm-vehicle-header-actions{background:#f8fbff!important;border:2px solid #ccd9e5!important;border-radius:12px!important;padding:14px!important;margin-top:7px!important;gap:10px!important;align-items:center!important}
#wmOverlay .wm-action-area-title{width:100%;font-size:11px;font-weight:900;color:#54718b;letter-spacing:1.2px;padding-bottom:5px}
#wmOverlay .wm-vehicle-status-row span{border-radius:10px!important;border:2px solid currentColor!important;padding:9px 14px!important;font-size:13px!important;font-weight:900!important;box-shadow:0 2px 6px rgba(18,52,78,.06)!important}
#wmOverlay .wm-vehicle-repair.wm-repair-red{background:#ffe6e4!important;color:#a62525!important}
#wmOverlay .wm-vehicle-repair.wm-repair-amber{background:#fff0cc!important;color:#945400!important}
#wmOverlay .wm-vehicle-repair.wm-repair-green{background:#dcf6e6!important;color:#126e3d!important}
#wmOverlay .wm-vehicle-repair.wm-repair-blue{background:#e1efff!important;color:#1c568f!important}
#wmOverlay .wm-detail-head-153 .wm-vehicle-location.in{background:#ddf7e6!important;color:#147440!important}
#wmOverlay .wm-detail-head-153 .wm-vehicle-location.out{background:#ffe2e0!important;color:#a62b2b!important}
#wmOverlay .wm-detail-head-153 .wm-vehicle-team{background:#e6f0fb!important;color:#245c8c!important}
#wmOverlay .wm-detail-tabs{padding:5px 0!important}
.wc-chat-panel{width:min(610px,calc(100vw - 28px))!important;border-radius:22px!important;overflow:hidden!important;border:2px solid #a8c3dc!important;box-shadow:0 28px 85px rgba(15,41,67,.34)!important}
.wc-chat-heading{background:#dcecff!important;border-bottom:2px solid #b6d0e8!important;border-radius:0!important}
.wc-chat-inner{background:#fff!important}
@media(max-width:640px){#wmOverlay .wm-modal{padding:16px!important}#wmOverlay .wm-vehicle-header-actions button{flex:1 1 150px!important}}

/* V1.0.156: Workshop vehicle details only; no Courtesy selectors. */
#wmOverlay .wm-detail-head-153,#wmOverlay .wm-history-section,#wmOverlay .wm-parts-feature,#wmOverlay .wm-parts-detail-card{border:3px solid #bccbd9!important}
#wmOverlay .wm-cee-detail{border:2px solid #b7cbdc!important;border-radius:13px!important;background:#e9f3ff!important;padding:16px 19px!important;margin-bottom:14px!important}
#wmOverlay .wm-cee-detail strong{display:block;font-size:11px!important;letter-spacing:1px;color:#41698d!important;margin-bottom:8px}
#wmOverlay .wm-cee-detail .wm-cee-name{font-size:22px;font-weight:900;color:#123a60;display:block}
#wmOverlay .wm-cee-detail select{font-size:19px!important;font-weight:800!important;color:#123a60!important;border:2px solid #91b4d3!important}
#wmOverlay .wm-vehicle-header-info{display:flex!important;gap:10px!important;align-items:stretch!important;flex-wrap:wrap!important}
#wmOverlay .wm-vehicle-header-info .wm-cee-head{border:2px solid #b9ccdf;border-radius:11px;background:#eef6ff;padding:12px 16px;min-width:180px}
#wmOverlay .wm-vehicle-header-info .wm-cee-head strong{font-size:18px!important;font-weight:900!important}
#wmOverlay .wm-header-deadline{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:5px!important;padding:12px 17px!important;border:2px solid currentColor!important;border-radius:12px!important;cursor:pointer;min-width:175px;text-align:left;transition:transform .15s,box-shadow .15s}
#wmOverlay .wm-header-deadline:hover{transform:translateY(-2px);box-shadow:0 5px 12px #123b6420}
#wmOverlay .wm-header-deadline strong{font-size:18px!important;font-weight:900!important;color:inherit!important}
#wmOverlay .wm-header-deadline small{font-size:10px!important;font-weight:900!important;color:inherit!important}
#wmOverlay .wm-header-deadline.wm-date-red{background:#ffe4e3!important;color:#a82121!important}
#wmOverlay .wm-header-deadline.wm-date-amber{background:#fff0ce!important;color:#925400!important}
#wmOverlay .wm-header-deadline.wm-date-green{background:#dcf6e5!important;color:#126a3d!important}
#wmOverlay .wm-header-deadline.wm-with-customer{background:#e6edf5!important;color:#375875!important}
#wmOverlay .wm-history-section .wm-history-actions{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;flex-wrap:wrap!important;margin-top:16px!important}
#wmOverlay .wm-history-section .wm-history-actions>button{min-width:178px!important;min-height:43px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;margin:0!important;padding:11px 16px!important;white-space:normal!important}
#wmOverlay .wm-parts-detail-section{background:#fff!important}
#wmOverlay .wm-parts-intro{color:#647b90;font-size:13px}
#wmOverlay .wm-parts-detail-list{display:grid;gap:12px}
#wmOverlay .wm-parts-detail-card{padding:15px!important;border-width:2px!important;border-radius:12px;background:#f9fcff!important}
#wmOverlay .wm-parts-detail-top{display:flex;justify-content:space-between;gap:12px;align-items:center}
#wmOverlay .wm-parts-detail-top strong{font-size:15px;color:#173c60}
#wmOverlay .wm-parts-detail-top small{display:block;margin-top:5px;color:#69829a}
#wmOverlay .wm-parts-detail-status{border:2px solid #a5bbd1;background:#e8f2fc;color:#174a7b;border-radius:9px;padding:7px 10px;font-weight:900;font-size:12px}
#wmOverlay .wm-parts-detail-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:14px 0}
#wmOverlay .wm-parts-detail-meta>div{background:white;border:1px solid #d7e2ed;border-radius:8px;padding:9px}
#wmOverlay .wm-parts-detail-meta small,#wmOverlay .wm-parts-detail-notes small{display:block;color:#71869a;font-size:10px;font-weight:800;letter-spacing:.5px}
#wmOverlay .wm-parts-detail-meta b{display:block;margin-top:5px;color:#1d3f5f;font-size:12px;overflow-wrap:anywhere}
#wmOverlay .wm-parts-detail-notes{background:#edf4fb;border-radius:9px;padding:11px}
#wmOverlay .wm-parts-detail-notes p{margin:6px 0 0;color:#2b465e;white-space:pre-wrap}
@media(max-width:650px){#wmOverlay .wm-parts-detail-meta{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* V1.0.157 - workshop-only quick deadline editor and coloured chat action */
#wmOverlay .wm-header-chat.wm-chat-colored{background:#155c9e!important;color:#fff!important;border:2px solid #0f477c!important;box-shadow:0 2px 5px #123b6424!important}
#wmOverlay .wm-header-chat.wm-chat-colored:hover{background:#0d477d!important}
#wmQuickDeadlineOverlay{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(12,31,52,.52);backdrop-filter:blur(5px)}
#wmQuickDeadlineOverlay .wm-quick-dialog{width:min(100%,480px);background:#fff;border:2px solid #aac4df;border-radius:18px;box-shadow:0 20px 70px #0b223d55;overflow:hidden;color:#173650}
#wmQuickDeadlineOverlay .wm-quick-head{background:#e1effe;padding:22px 24px 20px;border-bottom:2px solid #c0d8ed}
#wmQuickDeadlineOverlay .wm-quick-eyebrow{display:block;color:#34658e;font-weight:800;font-size:11px;letter-spacing:1px;margin-bottom:7px}
#wmQuickDeadlineOverlay .wm-quick-head h3{font-size:22px;font-weight:850;color:#143b5e;margin:0 0 6px}
#wmQuickDeadlineOverlay .wm-quick-head p{margin:0;color:#52718d;font-size:13px}
#wmQuickDeadlineOverlay .wm-quick-form{padding:24px;display:grid;gap:18px}
#wmQuickDeadlineOverlay label{display:grid;gap:8px;font-size:13px;font-weight:800;color:#1d4568}
#wmQuickDeadlineOverlay input,#wmQuickDeadlineOverlay textarea{width:100%;box-sizing:border-box;border:2px solid #c0d3e5;border-radius:10px;background:#fff;color:#183951;font:inherit;font-weight:500;padding:12px;outline:none}
#wmQuickDeadlineOverlay input:focus,#wmQuickDeadlineOverlay textarea:focus{border-color:#2775b5;box-shadow:0 0 0 3px #2775b520}
#wmQuickDeadlineOverlay .wm-quick-actions{display:flex;justify-content:flex-end;gap:10px}
#wmQuickDeadlineOverlay button{min-height:43px;padding:10px 18px;border-radius:9px;font-weight:800;cursor:pointer}
#wmQuickDeadlineOverlay .wm-quick-cancel{background:#fff;color:#214765;border:2px solid #c1d2e1}
#wmQuickDeadlineOverlay .wm-quick-save{background:#155c9e;color:white;border:2px solid #155c9e}
#wmQuickDeadlineOverlay .wm-quick-save:disabled{opacity:.6;cursor:wait}

/* V1.0.158: clear controls, working deadline actions, search-only chat suggestions */
#wcWindow #wcUserList .wcUser[hidden]{display:none!important}
#wcWindow #wcUserList .wcUser:not([hidden]){display:flex!important}
#wmOverlay .wm-history-section .wm-history-actions{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;flex-wrap:wrap!important;gap:12px!important}
#wmOverlay .wm-history-section .wm-history-actions>button{display:inline-flex!important;width:auto!important;min-width:182px!important;max-width:100%!important;flex:0 0 auto!important;margin:0!important;align-items:center!important;justify-content:center!important;min-height:44px!important}
#wmOverlay .wm-history-section>.wm-outline{display:none!important}
#wmOverlay .wm-vehicle-status-row button{font:inherit;line-height:1.2;cursor:pointer;transition:filter .15s,transform .15s}
#wmOverlay .wm-vehicle-status-row button:hover{filter:brightness(.96);transform:translateY(-1px)}
#wmOverlay .wm-vehicle-status-row button:focus-visible,#wmOverlay .wm-header-deadline:focus-visible{outline:3px solid #398bc5;outline-offset:3px}
#wmOverlay .wm-header-deadline small{letter-spacing:.08em}
@media(max-width:640px){#wmOverlay .wm-history-section .wm-history-actions{flex-direction:row!important}#wmOverlay .wm-history-section .wm-history-actions>button{min-width:0!important;flex:1 1 145px!important}}

/* V1.0.160: larger, readable Workshop vehicle header status buttons only. */
#wmOverlay .wm-detail-head-153 .wm-vehicle-status-row{gap:11px!important;margin:19px 0 17px!important}
#wmOverlay .wm-detail-head-153 .wm-vehicle-status-row button,
#wmOverlay .wm-detail-head-153 .wm-vehicle-status-row span{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  padding:11px 17px!important;min-height:43px!important;box-sizing:border-box!important;
  border-radius:10px!important;font-size:15px!important;font-weight:800!important;
  line-height:1.25!important;border:2px solid currentColor!important;
  box-shadow:0 2px 5px rgba(17,44,72,.08)!important;text-decoration:none!important;
}
@media(max-width:600px){#wmOverlay .wm-detail-head-153 .wm-vehicle-status-row button,#wmOverlay .wm-detail-head-153 .wm-vehicle-status-row span{font-size:14px!important;padding:10px 13px!important;min-height:42px!important}}

/* V1.0.161 — mobile-first Workshop PWA. Scoped to Workshop only. */
@media (max-width: 700px) {
  #wmOverlay{padding:0!important;align-items:stretch!important;justify-content:stretch!important;overflow:hidden!important;background:#eaf2fb!important}
  #wmOverlay .wm-modal{box-sizing:border-box!important;position:relative!important;width:100vw!important;max-width:100vw!important;min-width:0!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;padding:12px 12px calc(22px + env(safe-area-inset-bottom))!important;border:0!important;border-radius:0!important;overflow-x:hidden!important;overflow-y:auto!important;scrollbar-gutter:auto!important;background:#eaf3fc!important;-webkit-overflow-scrolling:touch!important}
  #wmOverlay .wm-modal *{box-sizing:border-box;max-width:100%;overflow-wrap:anywhere}
  #wmOverlay .wm-detail-head.wm-detail-head-153{padding:17px!important;border:1px solid #d4e0ec!important;border-radius:18px!important;background:#fff!important;box-shadow:0 4px 16px #16406612!important}
  #wmOverlay .wm-vehicle-identity{display:flex!important;gap:12px!important;align-items:center!important;min-width:0!important}
  #wmOverlay .wm-vehicle-icon{display:grid!important;place-items:center!important;flex:0 0 54px!important;width:54px!important;height:54px!important;border-radius:14px!important;background:#e8f2fc!important;font-size:26px!important}
  #wmOverlay .wm-vehicle-identity-main{min-width:0!important;flex:1!important}
  #wmOverlay .wm-vehicle-identity-main h2{font-size:23px!important;line-height:1.15!important;margin:5px 0!important}
  #wmOverlay .wm-vehicle-identity-main small{font-size:10px!important;letter-spacing:.055em!important}
  #wmOverlay .wm-vehicle-identity-main p{font-size:13px!important;line-height:1.4!important;margin:4px 0!important}
  #wmOverlay .wm-vehicle-status-row{display:flex!important;flex-wrap:wrap!important;gap:7px!important;margin:14px 0!important}
  #wmOverlay .wm-vehicle-status-row button{flex:0 1 auto!important;min-width:0!important;font-size:12px!important;min-height:36px!important;padding:7px 10px!important;border-radius:10px!important;line-height:1.25!important;white-space:normal!important}
  #wmOverlay .wm-vehicle-header-info{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;margin:12px 0!important}
  #wmOverlay .wm-cee-head{grid-column:1/-1!important;min-width:0!important;padding:10px 12px!important;border:1px solid #d8e5f1!important;border-radius:12px!important;background:#f7fbff!important}
  #wmOverlay .wm-cee-head strong{font-size:17px!important}
  #wmOverlay .wm-header-deadline{width:100%!important;min-width:0!important;min-height:78px!important;padding:11px 10px!important;border-radius:12px!important;text-align:left!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:6px!important}
  #wmOverlay .wm-header-deadline strong{font-size:14px!important;line-height:1.3!important;white-space:normal!important}
  #wmOverlay .wm-vehicle-header-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;padding:12px!important;border:1px solid #d7e2ed!important;border-radius:13px!important;background:#f8fbff!important}
  #wmOverlay .wm-action-area-title{grid-column:1/-1!important}
  #wmOverlay .wm-vehicle-header-actions button{width:100%!important;min-width:0!important;min-height:45px!important;margin:0!important;padding:9px 8px!important;font-size:12px!important;line-height:1.3!important;flex:none!important}
  #wmOverlay .wm-vehicle-header-actions .wm-header-complete{grid-column:1/-1!important;background:#17a454!important;color:#fff!important}
  #wmOverlay .wm-detail-tabs{display:flex!important;overflow-x:auto!important;max-width:100%!important;gap:6px!important;padding:12px 0!important;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch}
  #wmOverlay .wm-detail-tabs button{flex:0 0 auto!important;white-space:nowrap!important;scroll-snap-align:start!important;min-height:42px!important}
  #wmOverlay .wm-detail-content{min-width:0!important;padding:0!important;background:transparent!important;border:0!important}
  #wmOverlay .wm-history-stack{display:flex!important;flex-direction:column!important;gap:12px!important;padding:8px 0 24px!important}
  #wmOverlay .wm-history-section,#wmOverlay .wm-parts-feature,#wmOverlay .wm-parts-detail-card{width:100%!important;min-width:0!important;margin:0!important;padding:14px!important;border:1.5px solid #cbd9e6!important;border-radius:15px!important;background:#fff!important;box-shadow:0 2px 10px #153d5d0c!important}
  #wmOverlay .wm-history-section h3{font-size:16px!important;padding-bottom:10px!important;margin-bottom:10px!important}
  #wmOverlay .wm-history-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;align-items:stretch!important}
  #wmOverlay .wm-history-actions button{width:100%!important;min-width:0!important;max-width:none!important;min-height:44px!important;padding:9px 6px!important;font-size:12px!important;line-height:1.25!important;white-space:normal!important;flex:none!important}
  #wmOverlay .wm-detail-grid,#wmOverlay .wm-form-grid{grid-template-columns:minmax(0,1fr)!important}
  #wmOverlay input,#wmOverlay textarea,#wmOverlay select{max-width:100%!important;font-size:16px!important}
  .wc-chat-backdrop{padding:0!important;align-items:stretch!important;justify-content:stretch!important;backdrop-filter:none!important}
  .wc-chat-panel{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;min-height:0!important;margin:0!important;border:0!important;border-radius:0!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;background:#fff!important}
  .wc-chat-inner{width:100%!important;min-height:0!important;flex:1!important;display:flex!important;flex-direction:column!important;overflow-y:auto!important;padding-bottom:calc(16px + env(safe-area-inset-bottom))!important}
  .wc-chat-heading{position:sticky!important;top:0!important;z-index:3!important;padding:calc(17px + env(safe-area-inset-top)) 16px 15px!important;background:#e5f1ff!important;border-bottom:1px solid #c8dced!important}
  .wc-chat-heading h3{font-size:20px!important;margin:3px 0!important}.wc-chat-heading p{font-size:12px!important}
  .wc-chat-participants{padding:12px 16px!important}
  .wc-chat-inner #wcMessages{margin:10px 14px!important;min-height:160px!important;max-height:none!important;flex:1 1 auto!important;overflow-y:auto!important;border-radius:13px!important;background:#f7faff!important}
  .wc-chat-inner>h3,.wc-chat-inner>.wc-chat-help,.wc-chat-inner>#wcSearch,.wc-chat-inner>#wcUserList,.wc-chat-inner>button,.wc-chat-inner>h4{margin-left:16px!important;margin-right:16px!important}
  .wc-chat-inner input:not([type=checkbox]),.wc-chat-inner textarea{font-size:16px!important;min-width:0!important;width:100%!important}
  .wc-chat-inner button{min-height:46px!important}.wc-chat-actions{gap:8px!important}
  .wc-chat-dock{left:12px!important;right:12px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;justify-content:center!important}
  #wcWindow .wc-chat-inner *{box-sizing:border-box;overflow-wrap:anywhere}
}

/* V1.0.162 — CEE vehicle record header only: light grey identity block. */
#wmOverlay .wm-detail-head.wm-detail-head-153 .wm-vehicle-identity{background:#eef1f4!important;border:1px solid #d4dbe2!important;border-radius:14px!important;padding:14px 16px!important;}
#wmOverlay .wm-detail-head.wm-detail-head-153 .wm-vehicle-identity-main small{color:#53677a!important;}
@media(max-width:640px){#wmOverlay .wm-detail-head.wm-detail-head-153 .wm-vehicle-identity{padding:12px!important;gap:10px!important;}}

/* V1.0.163: Workshop record refinements */
#wmOverlay .wm-detail-head-153 .wm-vehicle-identity{background:#d5d9df!important;border-color:#b8c0c9!important}
#wmOverlay .wm-history-expanded{padding:8px 0 12px;margin:8px 0;border-top:1px solid #dce4ed}
#wmOverlay .wm-history-actions .wm-status-update{background:#d97706!important;color:white!important;border-color:#b45309!important}
.wm-part-alert-overlay{position:fixed;inset:0;z-index:2147483000;background:rgba(15,30,48,.42);display:flex;align-items:center;justify-content:center;padding:16px;backdrop-filter:blur(3px)}
.wm-part-alert-card{width:min(480px,100%);max-height:90dvh;overflow:auto;background:white;border-radius:18px;box-shadow:0 25px 70px #06192a55;border:1px solid #c4d2e1;color:#162c44}
.wm-part-alert-card header{background:#dceaf8;padding:15px 19px;display:flex;align-items:center;justify-content:space-between;font-weight:800;letter-spacing:.04em}
.wm-part-alert-card header button{border:0;background:transparent;font-size:26px;cursor:pointer;color:#183d62}
.wm-part-alert-body{padding:20px;display:grid;gap:12px}
.wm-part-alert-body h2{margin:0;font-size:23px}.wm-part-alert-body p{margin:0}
.wm-part-alert-status{background:#e9f2ff;color:#164e85;border:2px solid #4384bc;padding:12px;border-radius:10px;text-align:center;font-size:19px}
.wm-part-alert-details{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.wm-part-alert-details div{background:#f5f8fc;border:1px solid #d7e1eb;padding:10px;border-radius:9px;min-width:0;overflow-wrap:anywhere}
.wm-part-alert-details small{display:block;font-size:10px;color:#5d7287;font-weight:700;margin-bottom:4px}
.wm-part-alert-notes{font-size:13px;color:#465b71;white-space:pre-wrap}
.wm-part-alert-body>button{background:#173f6b;color:#fff;border:0;border-radius:9px;padding:13px;font-weight:700;cursor:pointer}

/* V1.0.168 — targeted CEE dashboard refinement. Existing workflows preserved. */
@media(min-width:851px){
 .wm-shell .wm-kpi-groups{gap:9px;margin:12px 0 16px;}
 .wm-shell .wm-kpi-group{border:1.5px solid #737f8b;background:#f7f9fb;border-radius:11px;padding:6px;box-shadow:none;}
 .wm-shell .wm-kpi-group h3{margin:-1px -1px 7px;padding:7px 5px;background:#d8dde3;border:1px solid #aab2bb;border-radius:6px;color:#293d50;text-align:center;font-size:11px;font-weight:700;letter-spacing:.035em;}
 .wm-shell .wm-kpi-items{height:86px;}
 .wm-shell .wm-kpi strong{font-size:25px;font-weight:650;letter-spacing:0;}
 .wm-shell .wm-kpi span{font-size:11px;font-weight:500;}
 .wm-shell .wm-register-top{margin-bottom:2px;}
}
.wm-shell .wm-status-chips{display:flex;flex-wrap:wrap;gap:7px;margin:9px 0 0;}
.wm-shell .wm-status-chip{background:#dceafb;border:1px solid #b5d0f1;border-radius:8px;padding:7px 11px;display:inline-flex;align-items:center;gap:8px;color:#235785;cursor:pointer;font-size:11px;}
.wm-shell .wm-status-chip strong{font-size:20px;font-weight:650;line-height:1;}
.wm-shell .wm-status-chip span{font-weight:600;}
.wm-shell .wm-status-chip.selected{outline:2px solid #3276b5;}

/* V1.0.169 — Workshop conversation UI refinement; scoped to chat only. */
@media(min-width:641px){
 .wc-chat-backdrop{padding:22px!important;background:rgba(25,43,62,.46)!important;backdrop-filter:blur(4px)!important}
 .wc-chat-panel{width:min(760px,calc(100vw - 44px))!important;max-height:min(88vh,850px)!important;min-height:430px!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;border:1px solid #aebcc9!important;border-radius:16px!important;box-shadow:0 24px 65px #1c30443b!important}
 .wc-chat-inner{display:flex!important;flex-direction:column!important;min-height:0!important;flex:1!important;overflow-y:auto!important}
 .wc-chat-heading{padding:17px 22px!important;background:linear-gradient(110deg,#4b5867,#334253)!important;border-bottom:1px solid #9cabb9!important}
 .wc-chat-heading h3{font-size:19px!important;font-weight:650!important;color:#fff!important}
 .wc-chat-heading p,.wc-eyebrow{color:#e1eaf4!important}
 .wc-chat-participants{padding:11px 22px 4px!important}
 .wc-chat-inner #wcMessages{flex:1 1 auto!important;max-height:none!important;min-height:210px!important;margin:10px 22px!important;padding:10px 16px!important;background:#f7f9fc!important}
 .wc-compose{padding:10px 22px 20px!important}
 .wc-compose textarea{min-height:74px!important;max-height:160px!important}
}
.wc-chat-inner{font-family:inherit!important;font-size:14px!important;color:#263b50!important}
.wc-chat-inner .wc-chat-actions{gap:10px!important}
.wc-chat-inner button:not(.wc-cancel):not(.wc-leave):not(.wc-minimize){background:#155d9c!important;border-color:#155d9c!important}
.wc-chat-inner #wcMessages>div{padding:12px 0!important}
.wc-chat-inner #wcMessages strong{display:inline-block!important;margin-bottom:3px!important;font-size:13px!important;font-weight:650!important}
.wc-chat-inner #wcMessages small{font-size:11px!important}
.wc-chat-inner #wcMessages div div{font-size:14px!important;line-height:1.55!important}
.wc-start-head{display:flex;align-items:center;gap:12px;padding:17px 22px;background:#485666;color:#fff}
.wc-start-symbol{display:grid;place-items:center;width:36px;height:36px;border:1px solid #b5c4d2;border-radius:10px;font-size:19px;flex:none}
.wc-start-head h3{font-size:19px!important;font-weight:650!important;color:#fff!important;margin:0 0 3px!important;padding:0!important}
.wc-start-head p{font-size:12px;color:#e3edf5;margin:0}
.wc-start-body{padding:18px 22px 8px}
.wc-search-label{display:block;font-size:12px;font-weight:650;color:#40566c;margin-bottom:7px}
.wc-chat-inner #wcSearch{width:100%!important;margin:0 0 12px!important;padding:11px 13px!important;min-height:42px!important}
.wc-chat-inner #wcUserList{max-height:280px;min-height:120px;overflow-y:auto;border:1px solid #d8e1e9;border-radius:10px;background:#fbfcfe}
.wc-chat-inner #wcUserList .wcUser{display:flex!important;align-items:center!important;gap:11px!important;margin:0!important;padding:11px 13px!important;border-bottom:1px solid #e7edf3!important;cursor:pointer;font-weight:450!important}
.wc-chat-inner #wcUserList .wcUser[hidden]{display:none!important}
.wc-chat-inner #wcUserList .wcUser:has(input:checked){background:#e8f2fc!important}
.wc-chat-inner #wcUserList .wcUser input{width:17px!important;height:17px!important;flex:none!important}
.wc-user-avatar{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#dcebf9;color:#245d91;font-size:13px;font-weight:650;flex:none}
.wc-user-name{font-size:14px;color:#243c52}
.wc-start-actions{display:flex;gap:10px;align-items:center;padding:15px 22px 20px;border-top:1px solid #e5ecf2;background:#fff}
.wc-start-actions button{margin:0!important;padding:11px 18px!important;min-height:41px!important}
@media(max-width:640px){
 .wc-start-head{padding:18px 16px}.wc-start-body{padding:16px 16px 8px}.wc-start-actions{padding:14px 16px 22px;flex-wrap:wrap}
 .wc-chat-inner #wcUserList{max-height:none;flex:1;min-height:150px}
 .wc-chat-heading{background:#485666!important}.wc-chat-heading h3{color:#fff!important}.wc-chat-heading p,.wc-eyebrow{color:#e5eef7!important}
}

/* V1.0.170: desktop vehicle details and chat. Scoped exclusively to workshop overlays. */
@media (min-width: 701px) {
 #wmOverlay .wm-modal {width:min(940px,calc(100vw - 48px))!important;max-height:88vh!important;padding:18px 22px 22px!important;border-radius:13px!important;background:#f5f8fb!important;border:1px solid #aebdca!important;box-shadow:0 18px 56px #102b4540!important;}
 #wmOverlay .wm-close{right:12px!important;top:10px!important;z-index:5!important;padding:5px 9px!important;font-size:15px!important;}
 #wmOverlay .wm-cee-detail{margin:0 40px 9px 0!important;padding:8px 12px!important;min-height:0!important;border-radius:8px!important;}
 #wmOverlay .wm-cee-detail strong{font-size:10px!important;letter-spacing:.04em!important;}
 #wmOverlay .wm-cee-detail select{min-height:34px!important;padding:5px 9px!important;font-size:13px!important;}
 #wmOverlay .wm-detail-head.wm-detail-head-153{padding:12px 14px!important;margin:0 0 9px!important;border:1px solid #c8d3dd!important;border-radius:10px!important;background:#fff!important;box-shadow:none!important;}
 #wmOverlay .wm-detail-head-153 .wm-vehicle-identity{padding:7px 9px!important;gap:10px!important;border:1px solid #e1e7ec!important;border-radius:8px!important;background:#f3f6f9!important;}
 #wmOverlay .wm-vehicle-icon{width:35px!important;height:35px!important;min-width:35px!important;font-size:19px!important;border-radius:7px!important;}
 #wmOverlay .wm-vehicle-identity-main small{font-size:9px!important;letter-spacing:.035em!important;font-weight:600!important;}
 #wmOverlay .wm-detail-head h2{font-size:19px!important;line-height:1.2!important;font-weight:650!important;margin:2px 0!important;}
 #wmOverlay .wm-detail-head p{font-size:12px!important;margin:1px 0!important;}
 #wmOverlay .wm-detail-head-153 .wm-vehicle-status-row{margin:9px 0!important;gap:6px!important;}
 #wmOverlay .wm-detail-head-153 .wm-vehicle-status-row button,#wmOverlay .wm-detail-head-153 .wm-vehicle-status-row span{padding:5px 10px!important;min-height:29px!important;border-width:1px!important;border-radius:6px!important;font-size:11px!important;font-weight:600!important;box-shadow:none!important;}
 #wmOverlay .wm-detail-head-153 .wm-vehicle-header-info{padding:8px 0!important;gap:8px!important;display:flex!important;flex-wrap:wrap!important;}
 #wmOverlay .wm-vehicle-header-info .wm-cee-head,#wmOverlay .wm-vehicle-header-info .wm-header-deadline{min-width:0!important;flex:0 1 auto!important;padding:6px 10px!important;min-height:42px!important;border-width:1px!important;border-radius:7px!important;box-shadow:none!important;}
 #wmOverlay .wm-detail-head-153 .wm-vehicle-header-info small{font-size:9px!important;letter-spacing:.03em!important;font-weight:600!important;}
 #wmOverlay .wm-detail-head-153 .wm-vehicle-header-info strong{font-size:12px!important;font-weight:650!important;}
 #wmOverlay .wm-vehicle-header-actions{padding:7px 9px!important;margin:2px 0 0!important;gap:7px!important;border:1px solid #d8e2eb!important;border-radius:8px!important;background:#f8fafc!important;}
 #wmOverlay .wm-action-area-title{font-size:10px!important;letter-spacing:.035em!important;font-weight:600!important;padding:0!important;margin:0!important;}
 #wmOverlay .wm-detail-head-153 .wm-vehicle-header-actions button{min-height:31px!important;padding:6px 10px!important;border-radius:6px!important;font-size:11px!important;font-weight:600!important;}
 #wmOverlay .wm-detail-tabs{gap:5px!important;margin:8px 0!important;padding:0!important;}
 #wmOverlay .wm-detail-tabs button{padding:7px 11px!important;font-size:12px!important;font-weight:550!important;border-radius:6px!important;}
 #wmOverlay .wm-detail-content{padding:12px!important;border:1px solid #d3dee8!important;border-radius:9px!important;background:#f8fafc!important;}
 #wmOverlay .wm-history-section{padding:12px 14px!important;margin-bottom:9px!important;border-width:1px!important;border-radius:8px!important;}
 #wmOverlay .wm-history-section h3{font-size:14px!important;font-weight:650!important;margin:0 0 9px!important;padding:0 0 8px!important;border-bottom-width:1px!important;}
 #wmOverlay .wm-history-section h3:before{height:15px!important;width:3px!important;}
 #wmOverlay .wm-history-section .wm-outline{padding:7px 10px!important;font-size:11px!important;font-weight:600!important;}
 #wmOverlay .wm-detail-grid{gap:8px!important;margin-bottom:10px!important;}
 #wmOverlay .wm-detail-grid>div,#wmOverlay .wm-form,#wmOverlay .wm-log,#wmOverlay .wm-parts-feature,#wmOverlay .wm-parts-detail-card{border-width:1px!important;border-radius:8px!important;box-shadow:none!important;}
 #wmOverlay .wm-detail-grid>div{padding:10px!important;}
 #wmOverlay .wm-form{padding:12px!important;gap:10px!important;margin:10px 0!important;}
 #wmOverlay .wm-clean-actions{margin:7px 0!important;padding:6px!important;}
 #wmOverlay .wm-modal [style*="padding:10px 20px"]{padding:6px 0!important;}
}
/* Messaging: a readable desktop conversation, not a narrow text form. */
@media(min-width:701px){
 #wcWindow.wc-chat-backdrop{padding:24px!important;align-items:center!important;justify-content:center!important;}
 #wcWindow .wc-chat-panel{width:min(850px,calc(100vw - 48px))!important;height:min(650px,calc(100dvh - 48px))!important;max-height:calc(100dvh - 48px)!important;min-height:470px!important;display:flex!important;flex-direction:column!important;border:1px solid #a9bacb!important;border-radius:13px!important;}
 #wcWindow .wc-chat-inner{display:flex!important;flex-direction:column!important;flex:1!important;min-height:0!important;overflow:hidden!important;}
 #wcWindow .wc-chat-heading{flex:0 0 auto!important;padding:14px 19px!important;background:#455567!important;border:0!important;}
 #wcWindow .wc-chat-heading h3{font-size:19px!important;font-weight:650!important;color:#fff!important;}
 #wcWindow .wc-chat-heading p,#wcWindow .wc-eyebrow{color:#dbe6f1!important;font-size:12px!important;}
 #wcWindow .wc-chat-participants{flex:0 0 auto!important;padding:10px 19px!important;background:#f8fafc!important;border-bottom:1px solid #e1e8ef!important;}
 #wcWindow #wcMessages{flex:1 1 auto!important;min-height:0!important;max-height:none!important;overflow-y:auto!important;margin:12px 19px!important;padding:14px!important;background:#f6f9fc!important;border:1px solid #e0e8ef!important;border-radius:9px!important;}
 #wcWindow .wc-compose{flex:0 0 auto!important;margin:0!important;padding:12px 19px 16px!important;border-top:1px solid #e2e9f0!important;background:#fff!important;}
 #wcWindow .wc-compose textarea{min-height:58px!important;max-height:115px!important;padding:10px 12px!important;resize:vertical!important;font-size:13px!important;}
 #wcWindow .wc-chat-actions{margin-top:8px!important;gap:8px!important;}
 #wcWindow .wc-chat-actions button{min-height:34px!important;padding:7px 13px!important;font-size:12px!important;font-weight:600!important;}
 #wcWindow #wcMessages .wc-message{width:fit-content;max-width:80%;min-width:160px;margin:0 0 12px!important;padding:10px 12px!important;background:#e1eefb!important;border:1px solid #cbdff1!important;border-radius:11px!important;color:#223b53!important;box-shadow:0 1px 3px #1536530a;}
 #wcWindow #wcMessages .wc-message.wc-own{margin-left:auto!important;background:#fff!important;border-color:#cad7e5!important;}
 #wcWindow #wcMessages .wc-message strong{display:block!important;font-size:12px!important;color:#214c74!important;}
 #wcWindow #wcMessages .wc-message small{display:block!important;font-size:10px!important;margin:2px 0 6px!important;color:#667e94!important;}
 #wcWindow #wcMessages .wc-message-text{font-size:13px!important;line-height:1.5!important;white-space:pre-wrap!important;}
 #wcWindow .wc-chat-empty{margin:auto!important;text-align:center!important;color:#6e8498!important;}
}
@media(max-width:700px){#wcWindow .wc-chat-heading{background:#455567!important}#wcWindow .wc-chat-heading h3{color:white!important}#wcWindow .wc-chat-heading p,#wcWindow .wc-eyebrow{color:#e4edf7!important}}

/* V1.0.172: two-column workshop messenger, scoped to chat window only */
@media(min-width:701px){
 #wcWindow .wc-chat-panel{width:min(980px,calc(100vw - 36px))!important;height:min(680px,calc(100dvh - 36px))!important;max-height:calc(100dvh - 36px)!important;}
 #wcWindow .wc-chat-layout{display:grid!important;grid-template-columns:250px minmax(0,1fr)!important;flex:1!important;min-height:0!important;overflow:hidden!important;}
 #wcWindow .wc-thread-sidebar{min-height:0!important;display:flex!important;flex-direction:column!important;background:#e9f1f9!important;border-right:1px solid #bdcfe0!important;}
 #wcWindow .wc-chat-main{display:flex!important;flex-direction:column!important;min-width:0!important;min-height:0!important;background:#f7f9fd!important;}
 #wcWindow #wcMessages{margin:0!important;border:0!important;border-radius:0!important;background:#eef3fb!important;padding:22px!important;}
 #wcWindow .wc-compose{padding:12px 16px!important;}
}
#wcWindow .wc-chat-heading{background:linear-gradient(105deg,#334c68,#435b83)!important;}
#wcWindow .wc-thread-sidebar-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:15px 13px;border-bottom:1px solid #c8d8e8;color:#183653;}
#wcWindow .wc-thread-sidebar-head button{background:#1769b4;border:0;border-radius:7px;color:white;padding:8px 11px;cursor:pointer;font-weight:600;}
#wcWindow .wc-thread-list{overflow-y:auto;min-height:0;padding:8px;}
#wcWindow .wc-thread{width:100%;display:flex;gap:10px;align-items:center;text-align:left;border:0;border-radius:9px;padding:11px 8px;background:transparent;color:#1b3857;cursor:pointer;margin:2px 0;}
#wcWindow .wc-thread:hover{background:#dce9f7;}
#wcWindow .wc-thread.is-active{background:#c8def5;border-left:3px solid #1475c6;}
#wcWindow .wc-thread-avatar{display:grid;place-items:center;width:36px;height:36px;flex:0 0 36px;border-radius:50%;background:#a9c9ea;color:#184675;font-size:15px;font-weight:700;}
#wcWindow .wc-thread-info{min-width:0;display:flex;flex-direction:column;gap:4px;}
#wcWindow .wc-thread-info strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
#wcWindow .wc-thread-info small{font-size:11px;line-height:1.35;color:#617991;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
#wcWindow .wc-chat-main #wcMessages .wc-message{max-width:78%;border-radius:13px 13px 13px 3px!important;background:#c9e7fb!important;border-color:#b4d7ef!important;}
#wcWindow .wc-chat-main #wcMessages .wc-message.wc-own{background:#c5f0d8!important;border-color:#a6dfbf!important;border-radius:13px 13px 3px 13px!important;}
#wcWindow .wc-compose{display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:wrap!important;background:#fff!important;}
#wcWindow .wc-compose textarea{flex:1!important;min-width:180px!important;min-height:44px!important;max-height:100px!important;border-radius:10px!important;}
#wcWindow .wc-chat-actions{margin:0!important;display:flex!important;align-items:center!important;gap:8px!important;}
#wcWindow .wc-send{background:#116dbb!important;color:white!important;border:0!important;border-radius:9px!important;min-height:44px!important;}
#wcWindow .wc-leave{font-size:11px!important;}
@media(max-width:700px){
 #wcWindow .wc-chat-layout{display:flex!important;flex-direction:column!important;flex:1!important;min-height:0!important;}
 #wcWindow .wc-thread-sidebar{background:#e9f1f9!important;flex:0 0 auto!important;max-height:112px!important;overflow:auto!important;}
 #wcWindow .wc-thread-sidebar-head{padding:6px 12px!important;}
 #wcWindow .wc-thread-list{display:flex!important;gap:6px!important;overflow-x:auto!important;padding:4px 8px!important;}
 #wcWindow .wc-thread{min-width:150px!important;width:150px!important;}
 #wcWindow .wc-chat-main{display:flex!important;flex:1!important;flex-direction:column!important;min-height:0!important;overflow:hidden!important;}
 #wcWindow .wc-chat-main #wcMessages{flex:1!important;min-height:0!important;overflow-y:auto!important;}
}

/* V1.0.173: lighter blue messenger, clearer vehicle-detail section boundaries. */
#wcWindow .wc-chat-heading{background:linear-gradient(110deg,#8ebde9,#b5d7f4)!important;border-bottom:1px solid #83b2db!important;}
#wcWindow .wc-chat-heading h3,#wcWindow .wc-chat-heading p,#wcWindow .wc-eyebrow{color:#163c63!important;}
#wcWindow .wc-chat-panel{border-color:#95b7d5!important;background:#f0f7ff!important;}
#wcWindow .wc-thread-sidebar{background:#e1f0ff!important;border-right-color:#b1cde6!important;}
#wcWindow .wc-thread-sidebar-head{background:#d5eaff!important;border-bottom-color:#a9c9e5!important;}
#wcWindow .wc-chat-main{background:#edf6ff!important;}
#wcWindow .wc-chat-main #wcMessages{background:#e8f3ff!important;}
#wcWindow .wc-thread.is-active{background:#badbf9!important;}
#wcWindow .wc-thread:hover{background:#cce6fd!important;}
#wcWindow .wc-compose{background:#f5faff!important;border-top-color:#bcd7ee!important;}
/* Distinct section borders within the vehicle record; leave status colours and controls intact. */
#wmOverlay .wm-detail-head.wm-detail-head-153,
#wmOverlay .wm-detail-content,
#wmOverlay .wm-history-section,
#wmOverlay .wm-vehicle-header-actions,
#wmOverlay .wm-detail-grid > div,
#wmOverlay .wm-form,
#wmOverlay .wm-log,
#wmOverlay .wm-parts-feature,
#wmOverlay .wm-parts-detail-card{
 border:2px solid #96a5b3!important;
}
#wmOverlay .wm-detail-head-153 .wm-vehicle-identity{border:1.5px solid #aab7c4!important;}
@media(max-width:700px){#wcWindow .wc-chat-heading{background:linear-gradient(110deg,#8ebde9,#b5d7f4)!important;}}


/* V1.0.174 — unified pastel blue workshop messenger. All rules scoped to chat. */
#wcWindow .wc-chat-panel{background:#e6f2ff!important;border:1.5px solid #697986!important;box-shadow:0 24px 65px rgba(26,51,77,.26)!important;}
#wcWindow .wc-chat-inner{background:#e6f2ff!important;color:#213c58!important;}
#wcWindow .wc-chat-heading,#wcWindow .wc-start-head{background:linear-gradient(115deg,#c9e3fb,#b6d9f6)!important;color:#1a3e60!important;border-bottom:1.5px solid #697986!important;}
#wcWindow .wc-chat-heading h3,#wcWindow .wc-chat-heading p,#wcWindow .wc-eyebrow,#wcWindow .wc-start-head h3,#wcWindow .wc-start-head p{color:#1a3e60!important;}
#wcWindow .wc-start-symbol{border:1px solid #697986!important;background:#e7f4ff!important;color:#1a4e79!important;}
#wcWindow .wc-start-body{background:#e6f2ff!important;}
#wcWindow .wc-search-label{color:#34516a!important;}
#wcWindow .wc-chat-inner #wcSearch,#wcWindow .wc-chat-inner input:not([type=checkbox]),#wcWindow .wc-chat-inner textarea{background:#f5faff!important;border:1px solid #7f8f9c!important;color:#233f59!important;box-shadow:none!important;}
#wcWindow .wc-chat-inner #wcSearch:focus,#wcWindow .wc-chat-inner textarea:focus{outline:2px solid #8dc1ed!important;outline-offset:1px!important;}
#wcWindow .wc-chat-inner #wcUserList{background:#eaf5ff!important;border:1.5px solid #697986!important;border-radius:11px!important;}
#wcWindow .wc-chat-inner #wcUserList .wcUser{background:#eaf5ff!important;border-bottom:1px solid #a6b3bf!important;color:#24435f!important;}
#wcWindow .wc-chat-inner #wcUserList .wcUser:nth-child(even){background:#e0effe!important;}
#wcWindow .wc-chat-inner #wcUserList .wcUser:has(input:checked){background:#c5e3fb!important;}
#wcWindow .wc-start-actions{background:#dceeff!important;border-top:1.5px solid #697986!important;}
#wcWindow .wc-chat-participants{background:#e0effe!important;border-bottom:1px solid #8999a6!important;}
#wcWindow .wc-chat-participants>span{background:#cfe6fc!important;border:1px solid #8999a6!important;color:#1b4d75!important;}
#wcWindow .wc-thread-sidebar{background:#deefff!important;border-right:1.5px solid #697986!important;}
#wcWindow .wc-thread-sidebar-head{background:#cde5fb!important;border-bottom:1px solid #8999a6!important;}
#wcWindow .wc-thread-list{background:#e4f2ff!important;}
#wcWindow .wc-thread{border:1px solid transparent!important;}
#wcWindow .wc-thread.is-active{background:#c3e0fa!important;border:1px solid #8c9fac!important;border-left:3px solid #2875ad!important;}
#wcWindow .wc-chat-main{background:#e7f3ff!important;}
#wcWindow .wc-chat-main #wcMessages,#wcWindow .wc-chat-inner #wcMessages{background:#e2f0ff!important;border:1px solid #8999a6!important;color:#29445e!important;}
#wcWindow .wc-chat-main #wcMessages .wc-message{background:#c7e5fc!important;border:1px solid #91a6b7!important;}
#wcWindow .wc-chat-main #wcMessages .wc-message.wc-own{background:#c7eedc!important;border:1px solid #93b4a3!important;}
#wcWindow .wc-compose{background:#dceeff!important;border-top:1.5px solid #697986!important;}
#wcWindow .wc-chat-actions button,#wcWindow .wc-start-actions button{box-shadow:none!important;}
@media(max-width:700px){#wcWindow .wc-chat-panel{border:0!important;}#wcWindow .wc-chat-heading{background:#c9e3fb!important;}}

/* V1.0.176 — readable, mobile-first PWA workshop messenger */
#wmChatRecent .wc-message{padding:9px 12px;margin:6px 0;background:#e5f2ff;border:1px solid #8295a5;border-radius:9px;color:#24435d}
#wmChatRecent .wc-message strong{display:block;font-size:12px}
#wmChatRecent .wc-message small{display:block;color:#647c90;font-size:11px;margin:2px 0}
#wmChatRecent .wc-message-text{font-size:13px;line-height:1.45;white-space:pre-wrap}
@media(max-width:700px){
 #wcWindow.wc-chat-backdrop{inset:0!important;padding:0!important;align-items:stretch!important;justify-content:stretch!important;background:#dceeff!important;backdrop-filter:none!important}
 #wcWindow .wc-chat-panel{position:relative!important;display:flex!important;flex-direction:column!important;width:100%!important;height:100dvh!important;min-height:0!important;max-height:100dvh!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;overflow:hidden!important;background:#e6f2ff!important}
 #wcWindow .wc-chat-inner{display:flex!important;flex:1!important;flex-direction:column!important;min-height:0!important;height:100%!important;overflow:hidden!important;padding:0!important}
 #wcWindow .wc-chat-heading{flex:0 0 auto!important;padding:12px 14px!important;min-height:66px!important;background:#c9e3fb!important;border-bottom:1px solid #748898!important}
 #wcWindow .wc-chat-heading h3{font-size:17px!important;line-height:1.25!important}
 #wcWindow .wc-chat-heading p{font-size:11px!important}
 #wcWindow .wc-chat-layout{display:flex!important;flex:1!important;flex-direction:column!important;min-height:0!important;overflow:hidden!important}
 #wcWindow .wc-thread-sidebar{flex:0 0 auto!important;max-height:105px!important;min-height:0!important;overflow:hidden!important;border-right:0!important;border-bottom:1px solid #8195a6!important;background:#dceeff!important}
 #wcWindow .wc-thread-sidebar-head{padding:5px 12px!important;min-height:34px!important;font-size:12px!important}
 #wcWindow .wc-thread-sidebar-head button{padding:5px 10px!important;font-size:12px!important}
 #wcWindow .wc-thread-list{display:flex!important;gap:7px!important;overflow-x:auto!important;overflow-y:hidden!important;padding:4px 10px 7px!important}
 #wcWindow .wc-thread{min-width:165px!important;max-width:195px!important;flex:0 0 auto!important;padding:6px 8px!important;margin:0!important;gap:7px!important}
 #wcWindow .wc-thread-avatar{width:29px!important;height:29px!important;flex-basis:29px!important;font-size:12px!important}
 #wcWindow .wc-chat-main{display:flex!important;flex:1!important;flex-direction:column!important;min-height:0!important;overflow:hidden!important;background:#e6f2ff!important}
 #wcWindow .wc-chat-participants{padding:7px 11px!important;min-height:0!important;gap:5px!important;flex-wrap:wrap!important}
 #wcWindow .wc-chat-main #wcMessages{display:flex!important;flex:1!important;flex-direction:column!important;min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain!important;margin:0!important;padding:12px!important;border:0!important;border-radius:0!important;background:#e4f1ff!important}
 #wcWindow #wcMessages .wc-message{max-width:88%!important;min-width:0!important;margin:0 0 10px!important;padding:9px 11px!important}
 #wcWindow .wc-compose{display:flex!important;flex:0 0 auto!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;gap:8px!important;padding:9px 10px max(10px,env(safe-area-inset-bottom))!important;margin:0!important;background:#dceeff!important;border-top:1px solid #8195a6!important}
 #wcWindow .wc-compose textarea{flex:1 1 auto!important;min-width:0!important;min-height:43px!important;max-height:85px!important;padding:10px!important;font-size:14px!important;resize:none!important}
 #wcWindow .wc-chat-actions{flex:0 0 auto!important;display:flex!important;flex-direction:column!important;gap:4px!important;margin:0!important}
 #wcWindow .wc-send{min-height:42px!important;padding:8px 10px!important;font-size:12px!important}
 #wcWindow .wc-leave{min-height:22px!important;padding:2px!important;font-size:10px!important;background:transparent!important}
 #wcWindow .wc-start-body{flex:1!important;min-height:0!important;overflow-y:auto!important;padding:14px!important}
 #wcWindow .wc-start-head{flex:0 0 auto!important;padding:15px!important}
 #wcWindow .wc-start-actions{flex:0 0 auto!important;padding:12px!important}
}

/* V1.0.177 — conversation and archive readability */
#wcWindow .wc-chat-main #wcMessages .wc-message{align-self:flex-start!important;margin-left:0!important;margin-right:auto!important;max-width:min(78%,540px)!important;box-sizing:border-box!important;}
#wcWindow .wc-chat-main #wcMessages .wc-message.wc-own{align-self:flex-end!important;margin-left:auto!important;margin-right:0!important;}
#wcWindow .wc-chat-main #wcMessages .wc-message strong{color:hsl(var(--wc-author-hue,210),58%,30%)!important;font-weight:700!important;}
#wcWindow .wc-chat-main #wcMessages .wc-message.wc-own strong{color:#176344!important;}
#wcWindow .wc-leave{background:#fff1f1!important;border:1.5px solid #c94949!important;color:#9d2020!important;font-weight:700!important;border-radius:9px!important;padding:10px 15px!important;min-height:40px!important;font-size:13px!important;}
.wc-history-group{border:1.5px solid #788793!important;border-radius:10px;background:#f7faff;margin:12px 0 16px;padding:0;overflow:hidden;box-shadow:0 1px 2px #1e344010;}
.wc-history-date{background:#e0e8f0;color:#24435f;font-size:13px;font-weight:700;padding:10px 14px;border-bottom:1px solid #9ca9b4;}
.wc-history-lines{padding:7px 14px 12px;}
.wc-history-line{padding:9px 0;border-bottom:1px solid #dbe3e9;font-size:13px;line-height:1.45;color:#263c51;}
.wc-history-line:last-child{border-bottom:0;}
.wc-history-time{font-size:11px;color:#617789;margin-right:10px;font-variant-numeric:tabular-nums;}
.wc-history-author{font-weight:650;color:#234f73;}
.wc-history-text{margin-top:3px;white-space:pre-wrap;overflow-wrap:anywhere;}
#wmChatHistoryInline .wc-history-group{width:100%;max-width:100%;}
@media(max-width:700px){
 #wcWindow .wc-chat-main #wcMessages .wc-message{max-width:84%!important;}
 #wcWindow .wc-compose{flex-wrap:wrap!important;align-items:stretch!important;}
 #wcWindow .wc-compose textarea{flex:1 1 100%!important;min-height:48px!important;}
 #wcWindow .wc-chat-actions{flex-direction:row!important;width:100%!important;justify-content:space-between!important;gap:9px!important;}
 #wcWindow .wc-send,#wcWindow .wc-leave{min-height:42px!important;font-size:13px!important;padding:9px 13px!important;}
 #wcWindow .wc-leave{background:#fff0f0!important;border:1.5px solid #b73d3d!important;color:#982121!important;}
 .wc-history-lines{padding:7px 11px 11px;}
}

/* V1.0.179: chat interaction and mobile legibility */
#wcWindow .wc-thread{position:relative!important;min-height:66px!important;min-width:0!important;max-width:100%!important;overflow:hidden!important;flex-shrink:0!important;border:1px solid #9eb3c4!important;margin:4px 0!important;background:#e9f4ff!important;}
#wcWindow .wc-thread.is-active,#wcWindow .wc-thread[aria-pressed="true"]{background:#b4d9f9!important;border:2px solid #176db2!important;box-shadow:inset 4px 0 #176db2!important;}
#wcWindow .wc-thread-info{flex:1!important;min-width:0!important;overflow:hidden!important;}
#wcWindow .wc-thread-info strong{display:block!important;white-space:normal!important;overflow-wrap:anywhere!important;line-height:1.3!important;font-size:13px!important;}
#wcWindow .wc-thread-info small{display:block!important;white-space:normal!important;overflow-wrap:anywhere!important;line-height:1.3!important;font-size:11px!important;max-height:3.9em!important;}
#wcWindow .wc-thread-list{overflow-y:auto!important;min-height:0!important;}
#wcWindow .wc-chat-heading p{white-space:normal!important;overflow-wrap:anywhere!important;}
@media(max-width:700px){
 #wcWindow .wc-chat-panel{height:100dvh!important;max-height:100dvh!important;}
 #wcWindow .wc-chat-inner{display:flex!important;flex-direction:column!important;min-height:0!important;height:100%!important;}
 #wcWindow .wc-chat-heading{flex:0 0 auto!important;padding:10px 13px!important;}
 #wcWindow .wc-chat-heading h3{font-size:17px!important;}
 #wcWindow .wc-chat-heading p{font-size:12px!important;line-height:1.3!important;}
 #wcWindow .wc-chat-layout{display:flex!important;flex-direction:column!important;flex:1 1 auto!important;min-height:0!important;}
 #wcWindow .wc-thread-sidebar{flex:0 0 auto!important;height:auto!important;max-height:164px!important;overflow:hidden!important;}
 #wcWindow .wc-thread-list{display:flex!important;flex-direction:row!important;overflow-x:auto!important;overflow-y:hidden!important;gap:7px!important;padding:5px 10px!important;scroll-snap-type:x proximity!important;}
 #wcWindow .wc-thread{min-width:170px!important;width:170px!important;max-width:170px!important;min-height:65px!important;scroll-snap-align:start!important;}
 #wcWindow .wc-chat-main{flex:1 1 auto!important;min-height:0!important;overflow:hidden!important;}
 #wcWindow .wc-chat-participants{flex:0 0 auto!important;max-height:45px!important;overflow:auto!important;}
 #wcWindow .wc-chat-main #wcMessages{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;padding:12px!important;}
 #wcWindow .wc-chat-main #wcMessages .wc-message{max-width:88%!important;font-size:13px!important;}
 #wcWindow .wc-compose{flex:0 0 auto!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:7px!important;padding:8px 10px max(8px,env(safe-area-inset-bottom))!important;}
 #wcWindow .wc-compose textarea{grid-column:1 / -1!important;width:100%!important;min-height:42px!important;max-height:70px!important;}
 #wcWindow .wc-chat-actions{grid-column:1 / -1!important;display:flex!important;gap:8px!important;align-items:center!important;}
 #wcWindow .wc-leave{background:#fff0f0!important;color:#a21c25!important;border:2px solid #c94b52!important;font-weight:700!important;min-height:40px!important;}
}

/* V1.0.180 – zero-count parts, legible active chat, sender alignment and PWA */
.wm-parts-shell .wm-parts-summary .wm-parts-kpi.wm-parts-kpi-zero{background:#d9efe1!important;border-color:#a9d6ba!important;color:#205d3c!important;}
#wcWindow .wc-thread,#wcWindow .wc-thread.is-active{color:#193b56!important;}
#wcWindow .wc-thread-info strong,#wcWindow .wc-thread.is-active .wc-thread-info strong{color:#183c59!important;text-shadow:none!important;opacity:1!important;}
#wcWindow .wc-thread-info small,#wcWindow .wc-thread.is-active .wc-thread-info small{color:#456781!important;opacity:1!important;}
#wcWindow .wc-thread.is-active{background:#b8dafa!important;border-color:#1d6aab!important;}
#wcWindow .wc-chat-main #wcMessages .wc-message{display:block!important;align-self:flex-start!important;margin-left:0!important;margin-right:auto!important;max-width:76%!important;}
#wcWindow .wc-chat-main #wcMessages .wc-message.wc-own{align-self:flex-end!important;margin-left:auto!important;margin-right:0!important;background:#c7eedc!important;}
#wcWindow .wc-chat-main #wcMessages .wc-message strong{color:hsl(var(--wc-author-hue,210),65%,29%)!important;}
#wcWindow .wc-chat-main #wcMessages .wc-message.wc-own strong{color:#176344!important;}
@media(max-width:700px){
 #wcWindow .wc-chat-main #wcMessages .wc-message{max-width:86%!important;}
 #wcWindow .wc-chat-main #wcMessages .wc-message.wc-own{margin-left:auto!important;margin-right:0!important;}
 #wcWindow .wc-leave{background:#fff0f0!important;color:#9e1e25!important;border:2px solid #c6454a!important;font-size:13px!important;font-weight:700!important;min-height:40px!important;padding:8px 12px!important;}
}

/* V1.0.181: mobile PWA message ownership and stable conversation layout. */
@media(max-width:700px){
 #wcWindow .wc-chat-main #wcMessages{display:flex!important;flex-direction:column!important;align-items:stretch!important;overflow-y:auto!important;min-height:0!important;}
 #wcWindow .wc-chat-main #wcMessages .wc-message{display:block!important;flex:0 0 auto!important;width:fit-content!important;max-width:84%!important;align-self:flex-start!important;margin-left:0!important;margin-right:auto!important;background:#c7e5fc!important;border:1px solid #91a6b7!important;border-radius:12px 12px 12px 3px!important;color:#223b53!important;}
 #wcWindow .wc-chat-main #wcMessages .wc-message.wc-own{align-self:flex-end!important;margin-left:auto!important;margin-right:0!important;background:#c7eedc!important;border:1px solid #93b4a3!important;border-radius:12px 12px 3px 12px!important;}
 #wcWindow .wc-chat-main #wcMessages .wc-message strong{color:#22527b!important;}
 #wcWindow .wc-chat-main #wcMessages .wc-message.wc-own strong{color:#176344!important;}
 #wcWindow .wc-chat-main #wcMessages .wc-message-text{white-space:pre-wrap!important;overflow-wrap:anywhere!important;}
}

/* V1.0.184 transient participant departure notice; not part of message history */
#wcWindow .wc-chat-notice{display:block;margin:10px 18px 0;padding:9px 12px;border:1px solid #8196a9;border-left:3px solid #3679b4;border-radius:7px;background:#d7eafd;color:#214a6a;font-size:12px;font-weight:600;line-height:1.4}
#wcWindow .wc-chat-notice[hidden]{display:none!important}

/* V1.0.185 active chat counter in workshop header */
.bph-active-chat-button{background:#d9eafd;border:1px solid #8499ab;color:#153c62;border-radius:8px;padding:8px 12px;font-size:12px;font-weight:600;white-space:nowrap;cursor:pointer}.bph-active-chat-button span{display:inline-block;min-width:21px;padding:2px 6px;margin-left:5px;border-radius:12px;background:#206ba7;color:white;text-align:center}

/* V1.0.187 non-blocking Workshop notifications */
#wmAdminAlertTray{position:fixed;right:20px;top:85px;z-index:100000;display:grid;gap:8px;width:min(360px,calc(100vw - 40px));pointer-events:none}.wm-admin-alert-item{pointer-events:auto;padding:13px 15px;border:1px solid #8ea4b7;border-left:4px solid #2b75b2;border-radius:8px;background:#e2f0fd;color:#1b3b56;box-shadow:0 5px 18px #193b5526;font-size:12px}.wm-admin-alert-item p{margin:6px 0}.wm-admin-alert-item button{background:#1c537d;color:white;border:0;border-radius:5px;padding:5px 10px;cursor:pointer}

.wm-admin-role{display:block;white-space:nowrap;padding:6px 0;color:#163b58;font-size:12px}.wm-admin-role input{margin-right:7px}

/* V1.0.190 — consistent mobile vehicle actions and readable tab filters. Desktop unchanged. */
@media (max-width:700px){
 #wmOverlay .wm-modal{box-sizing:border-box!important;max-width:100vw!important;}
 #wmOverlay .wm-vehicle-header-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;align-items:stretch!important;}
 #wmOverlay .wm-vehicle-header-actions .wm-action-area-title{grid-column:1/-1!important;}
 #wmOverlay .wm-detail-head-153 .wm-vehicle-header-actions button{box-sizing:border-box!important;width:100%!important;min-width:0!important;min-height:50px!important;height:50px!important;padding:8px!important;font-size:12px!important;font-weight:700!important;line-height:1.25!important;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;white-space:normal!important;}
 #wmOverlay .wm-vehicle-header-actions .wm-header-complete{grid-column:1/-1!important;}
 #wmOverlay .wm-clean-actions{box-sizing:border-box!important;width:100%!important;padding:12px!important;margin:8px 0!important;}
 #wmOverlay .wm-clean-actions .wm-action-controls{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important;width:100%!important;}
 #wmOverlay .wm-action-buttons{width:100%!important;min-width:0!important;}
 #wmOverlay .wm-action-button-row{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;width:100%!important;}
 #wmOverlay .wm-action-button-row button{box-sizing:border-box!important;width:100%!important;min-width:0!important;min-height:50px!important;height:50px!important;margin:0!important;padding:7px 8px!important;border-radius:8px!important;font-size:12px!important;font-weight:700!important;line-height:1.25!important;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;white-space:normal!important;background:#151b23!important;color:#fff!important;}
 #wmOverlay .wm-complete-minimal{box-sizing:border-box!important;width:100%!important;min-height:50px!important;height:50px!important;margin:0!important;}
 #wmOverlay .wm-detail-tabs{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;overflow:visible!important;width:100%!important;max-width:100%!important;padding:10px 0!important;margin:0!important;}
 #wmOverlay .wm-detail-tabs button{box-sizing:border-box!important;min-width:0!important;width:100%!important;min-height:48px!important;height:48px!important;margin:0!important;padding:8px 5px!important;border-radius:8px!important;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;white-space:normal!important;line-height:1.2!important;font-size:12px!important;font-weight:700!important;background:#e3edf7!important;color:#153b60!important;border:1.5px solid #8fa9c1!important;opacity:1!important;}
 #wmOverlay .wm-detail-tabs button.selected{background:#1d5e97!important;color:#fff!important;border-color:#154b79!important;}
 #wmOverlay .wm-detail-tabs button:not(.selected):hover{background:#d3e5f5!important;color:#123b60!important;}
}

/* V1.0.192: stronger module headings in mobile section selector */
@media(max-width:800px){
 .bph-mobile-menu select optgroup{background:#101820!important;color:#fff!important;font-size:14px!important;font-weight:700!important;}
 .bph-mobile-menu select option{background:#fff;color:#17324c;font-size:14px;font-weight:500;}
 .bph-mobile-menu select option.bph-mobile-module-header{background:#111820!important;color:#fff!important;font-size:14px!important;font-weight:700!important;}
}

/* V1.0.193: real mobile navigation sections (native select optgroups cannot be styled reliably on iOS). */
@media(max-width:767px){.bph-work-main>.bph-mobile-custom{display:block!important;margin:8px 12px 12px;padding:0!important;border:0!important;background:transparent!important}.bph-mobile-trigger{width:100%;background:#fff;color:#17324c;border:1px solid #91a5b8;border-radius:10px;padding:12px 14px;font-size:14px;font-weight:700;text-align:left;display:flex;justify-content:space-between;align-items:center}.bph-mobile-menu-panel{margin-top:8px;border:1px solid #b7c6d5;border-radius:12px;background:#fff;max-height:65vh;overflow-y:auto;box-shadow:0 8px 22px #122e4920}.bph-mobile-menu-panel[hidden]{display:none!important}.bph-mobile-module-heading{background:#101820!important;color:#fff!important;font-size:14px!important;font-weight:700!important;padding:11px 14px}.bph-mobile-module-link{display:block;width:100%;text-align:left;padding:12px 16px;border:0;border-bottom:1px solid #dbe5ef;background:#f4f8fc;color:#163e63;font-size:14px;font-weight:600}.bph-mobile-module-link:active{background:#dceafa}}
.wm-admin-alert-overlay{position:fixed;inset:0;z-index:999999;background:#102b4266;display:flex;align-items:center;justify-content:center;padding:20px}.wm-admin-alert-dialog{background:#fff;color:#18344e;border:2px solid #91a8bb;border-radius:14px;padding:24px;width:min(420px,100%);box-shadow:0 12px 45px #0004;display:flex;flex-direction:column;gap:12px}.wm-admin-alert-dialog h3{margin:0;font-size:19px}.wm-admin-alert-dialog strong{font-size:15px}.wm-admin-alert-dialog p{margin:0}.wm-admin-alert-dialog small{color:#52677a}.wm-admin-alert-dialog button{align-self:flex-end;border:0;border-radius:7px;padding:10px 25px;background:#153e65;color:white;font-weight:700;cursor:pointer}

/* V1.0.196 desktop vehicle QR inside the service detail header */
@media(min-width:701px){
 .wm-detail-head.wm-detail-head-153{position:relative!important;padding-right:192px!important;min-height:202px}
 .wm-detail-desktop-qr{position:absolute;right:20px;top:18px;width:158px;height:158px;background:#fff;border:1px solid #a2b2c0;border-radius:8px;display:flex;align-items:center;justify-content:center;overflow:hidden;color:#6c7e8f;font-size:12px;text-align:center}
 .wm-detail-desktop-qr img{display:block;width:150px;height:150px;object-fit:contain}
}
@media(max-width:700px){.wm-detail-desktop-qr{display:none!important}}

/* V1.0.197: pin desktop QR inside upper-right of vehicle record, not above it. */
@media(min-width:701px){
 #wmOverlay .wm-detail-head.wm-detail-head-153{position:relative!important;padding:12px 14px!important;min-height:0!important;isolation:isolate!important;}
 #wmOverlay .wm-detail-head-153 .wm-detail-desktop-qr{position:absolute!important;top:12px!important;right:18px!important;left:auto!important;bottom:auto!important;z-index:2!important;width:158px!important;height:158px!important;display:flex!important;margin:0!important;padding:3px!important;box-sizing:border-box!important;background:#fff!important;border:1px solid #a2b2c0!important;border-radius:5px!important;}
 #wmOverlay .wm-detail-head-153 .wm-detail-desktop-qr img{width:150px!important;height:150px!important;object-fit:contain!important;}
 #wmOverlay .wm-detail-head-153 .wm-vehicle-identity{margin-right:177px!important;min-height:62px!important;}
 #wmOverlay .wm-detail-head-153 .wm-vehicle-status-row,#wmOverlay .wm-detail-head-153 .wm-vehicle-header-info{max-width:calc(100% - 177px)!important;box-sizing:border-box!important;}
 #wmOverlay .wm-detail-head-153 .wm-vehicle-header-actions{position:relative!important;z-index:1!important;}
}
@media(max-width:700px){#wmOverlay .wm-detail-head-153 .wm-detail-desktop-qr{display:none!important;}}

/* V1.0.198: reserve a true QR column; never overlay or truncate section borders. */
@media(min-width:701px){
 #wmOverlay .wm-detail-head.wm-detail-head-153{display:grid!important;grid-template-columns:minmax(0,1fr) 158px!important;grid-template-rows:auto auto auto auto!important;column-gap:14px!important;row-gap:0!important;align-items:start!important;padding:12px 14px!important;min-height:0!important;}
 #wmOverlay .wm-detail-head-153 .wm-detail-desktop-qr{position:static!important;grid-column:2!important;grid-row:1 / 4!important;align-self:start!important;justify-self:end!important;width:158px!important;height:158px!important;margin:0!important;z-index:auto!important;}
 #wmOverlay .wm-detail-head-153 .wm-vehicle-identity{grid-column:1!important;grid-row:1!important;margin:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important;}
 #wmOverlay .wm-detail-head-153 .wm-vehicle-status-row{grid-column:1!important;grid-row:2!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important;}
 #wmOverlay .wm-detail-head-153 .wm-vehicle-header-info{grid-column:1!important;grid-row:3!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important;}
 #wmOverlay .wm-detail-head-153 .wm-vehicle-header-actions{grid-column:1/-1!important;grid-row:4!important;width:100%!important;box-sizing:border-box!important;margin-top:9px!important;border:1.5px solid #aab7c4!important;}
}
@media(max-width:700px){#wmOverlay .wm-detail-head.wm-detail-head-153{display:block!important;}#wmOverlay .wm-detail-head-153 .wm-vehicle-identity{margin-right:0!important;}#wmOverlay .wm-detail-head-153 .wm-vehicle-status-row,#wmOverlay .wm-detail-head-153 .wm-vehicle-header-info{max-width:100%!important;}}
