/* session-guard.css */
.session-notice{position:fixed;top:12px;left:12px;right:12px;z-index:100000;display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:16px;background:#fff8e6;color:#332500;border:1px solid #b38200;border-radius:10px;box-shadow:0 4px 16px #0003;font-family:system-ui,sans-serif}.session-notice button,.session-notice a{padding:8px 12px;color:#061b36;background:#fff;border:1px solid #806300;border-radius:6px}.session-notice span{flex:1;min-width:200px}

/* styles.css */
:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#162033;background:#f4f7fb}*{box-sizing:border-box}body{margin:0}.shell{display:grid;grid-template-columns:250px 1fr;min-height:100vh}.side{background:#101a2c;color:white;padding:22px 16px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:10px;margin-bottom:28px}.brand img{width:145px;filter:brightness(0) invert(1)}.brand span{font-weight:800;border-left:1px solid #536076;padding-left:10px}.side nav{display:grid;gap:8px}.nav{border:0;background:transparent;color:#d9e2ef;text-align:left;padding:12px 14px;border-radius:10px;font-weight:650;cursor:pointer}.nav:hover,.nav.active{background:#1d2b44;color:white}.security{margin-top:auto;font-size:12px;color:#9fb0c7;padding:14px}.top{padding:24px 30px 14px;display:flex;justify-content:space-between;align-items:center}.top h1{margin:0;font-size:28px}.top p{margin:5px 0 0;color:#68758a}.user{display:flex;gap:9px;align-items:center;background:white;border:1px solid #dde4ee;padding:10px 13px;border-radius:12px}.user small{display:block;color:#718096}.dot{width:10px;height:10px;background:#2db36c;border-radius:50%}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;padding:0 30px 18px}.metrics div{background:#fff;border:1px solid #e0e6ef;border-radius:14px;padding:16px}.metrics span{display:block;color:#6b778b;font-size:13px}.metrics strong{font-size:27px}.panel{background:white;margin:0 30px 30px;border:1px solid #e0e6ef;border-radius:16px;overflow:hidden}.panelbar{padding:20px 22px;display:flex;justify-content:space-between;border-bottom:1px solid #edf0f4}.panelbar h2{margin:0}.panelbar p{margin:5px 0 0;color:#79869a}.primary{background:#1456d9;color:white;border:0;border-radius:10px;padding:11px 15px;font-weight:750;cursor:pointer}.filters{display:flex;gap:10px;padding:14px 18px;background:#fbfcfe;border-bottom:1px solid #edf0f4}.filters input,.filters select{border:1px solid #dce3ed;border-radius:9px;padding:10px 12px;background:white}.filters input{flex:1}.layout{display:grid;grid-template-columns:390px 1fr;min-height:620px}.orders{border-right:1px solid #e8edf3}.order{padding:15px 17px;border-bottom:1px solid #edf1f5;cursor:pointer}.order:hover,.order.active{background:#f1f6ff}.order .row{display:flex;justify-content:space-between;gap:10px}.order b{font-size:15px}.order small{color:#7d8998}.badge{font-size:11px;font-weight:800;border-radius:999px;padding:4px 8px;background:#eaf1ff;color:#1456d9}.detail{padding:24px}.detail h3{margin:0 0 4px;font-size:23px}.muted{color:#788598}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0}.field{border:1px solid #e2e7ee;border-radius:10px;padding:12px}.field span{display:block;font-size:11px;color:#7b8799;text-transform:uppercase;letter-spacing:.04em}.field b{display:block;margin-top:4px}.actions{display:flex;flex-wrap:wrap;gap:9px;margin:18px 0}.actions button{border:1px solid #cfd8e5;background:white;border-radius:9px;padding:9px 12px;font-weight:700;cursor:pointer}.actions button.primary{border-color:#1456d9;background:#1456d9;color:white}.timeline{border-top:1px solid #e9edf2;margin-top:20px;padding-top:16px}.event{padding:11px 0;border-bottom:1px solid #eef1f5}.event time{display:block;color:#8793a4;font-size:12px}.modal{position:fixed;inset:0;background:#0007;display:grid;place-items:center;padding:20px}.modal.hidden{display:none}.card{background:white;border-radius:16px;padding:22px;width:min(620px,100%);box-shadow:0 24px 70px #0004}.card h3{margin-top:0}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:11px}.formgrid input,.formgrid select{width:100%;padding:10px;border:1px solid #d5dde8;border-radius:9px}.formactions{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}.mobilebar,.mobilenav{display:none}@media(max-width:900px){.mobilebar{display:flex;position:sticky;top:0;z-index:30;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;background:#101a2c;color:#fff;box-shadow:0 2px 12px #101a2c22}.mobilebrand{display:flex;align-items:center;gap:8px;min-width:0}.mobilebrand img{width:132px;height:auto}.mobilebrand span{font-weight:800;border-left:1px solid #536076;padding-left:8px}.menubtn{border:1px solid #52617a;background:#1d2b44;color:#fff;border-radius:10px;padding:9px 13px;font-weight:800}.mobilenav{display:none;position:sticky;top:58px;z-index:29;background:#101a2c;padding:8px 14px 14px;grid-template-columns:1fr 1fr;gap:7px;box-shadow:0 10px 18px #101a2c22}.mobilenav.open{display:grid}.mobilenav .nav{background:#1d2b44;border:1px solid #2c3d59;text-align:center;padding:11px 8px}.mobilenav .nav.active{background:#1456d9}.shell{grid-template-columns:1fr}.shell{grid-template-columns:1fr}.side{display:none}.metrics{grid-template-columns:1fr 1fr;padding:0 14px 14px}.top{padding:18px 14px}.panel{margin:0 14px 20px}.layout{grid-template-columns:1fr}.orders{border-right:0}.detail{border-top:1px solid #e8edf3}.user{display:none}}
@media(max-width:600px){.top{padding:18px 18px 14px}.top h1{font-size:26px;line-height:1.08}.top p{font-size:15px;line-height:1.45}.metrics{gap:10px;padding:0 12px 12px}.metrics div{padding:14px 15px;min-width:0}.metrics strong{font-size:25px}.panel{margin:0 10px 18px;border-radius:14px}.panelbar{padding:18px 16px;display:grid;grid-template-columns:1fr;gap:14px}.panelbar h2{font-size:26px}.panelbar p{font-size:15px;line-height:1.4}.panelbar .primary{width:100%;min-height:48px;font-size:16px}.filters{display:grid;grid-template-columns:1fr;gap:9px;padding:12px}.filters input,.filters select{width:100%;min-width:0;min-height:46px;font-size:16px}.order{padding:15px}.order .row{align-items:flex-start}.detail{padding:18px 15px}.grid{grid-template-columns:1fr}.actions{display:grid;grid-template-columns:1fr}.actions button{min-height:44px}.formgrid{grid-template-columns:1fr}}

/* Mobile work-order cards */
button.order{display:block;width:100%;text-align:left;background:#fff;border:0;border-bottom:1px solid #edf1f5;font:inherit;color:inherit;-webkit-appearance:none;appearance:none;touch-action:manipulation}
button.order:active{background:#e7efff}
@media(max-width:900px){.orders button.order{min-height:96px}.detail.order-open{display:block;scroll-margin-top:78px;background:#fff}}

.ops{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}.ops label{font-size:12px;font-weight:800;color:#6f7c8f;text-transform:uppercase}.ops label.wide{grid-column:1/-1}.ops input,.ops select,.ops textarea{display:block;width:100%;margin-top:6px;border:1px solid #d5dde8;border-radius:10px;padding:11px 12px;background:#fff;color:#162033;font:inherit;text-transform:none}.ops textarea{resize:vertical;min-height:96px}@media(max-width:600px){.ops{grid-template-columns:1fr}.ops label.wide{grid-column:auto}.ops input,.ops select,.ops textarea{font-size:16px;min-height:48px}}

.hidden{display:none!important}.inboxbar{display:flex;gap:8px;padding:12px 18px;border-bottom:1px solid #e8edf3;background:#fbfcfe}.inboxbar input{margin-left:auto;min-width:280px;border:1px solid #dce3ed;border-radius:10px;padding:10px 12px}.inboxfilter{border:1px solid #d9e1ec;background:#fff;border-radius:999px;padding:8px 13px;font-weight:750;color:#536176;cursor:pointer}.inboxfilter.active{background:#162033;color:#fff;border-color:#162033}.inboxlayout{display:grid;grid-template-columns:380px minmax(0,1fr);min-height:650px}.threads{border-right:1px solid #e7ecf2;background:#fbfcfe}.thread{display:grid;width:100%;grid-template-columns:42px minmax(0,1fr) auto;gap:11px;padding:15px;border:0;border-bottom:1px solid #e8edf3;background:transparent;text-align:left;color:inherit;cursor:pointer}.thread:hover{background:#f1f6ff}.thread.unread{background:#f4f8ff}.thread.unread b:after{content:"";display:inline-block;width:7px;height:7px;margin-left:7px;border-radius:50%;background:#1456d9}.avatar{display:grid;place-items:center;width:40px;height:40px;border-radius:13px;background:#e6eeff;color:#1456d9;font-weight:850}.threadcopy{min-width:0}.threadcopy b,.threadcopy small,.threadcopy em{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.threadcopy small{color:#7c899b;margin:2px 0}.threadcopy em{font-style:normal;color:#59677a;font-size:12px}.thread time{font-size:11px;color:#8a96a6}.conversation{display:flex;flex-direction:column;background:#fff;min-width:0}.chathead{display:flex;justify-content:space-between;align-items:center;padding:17px 20px;border-bottom:1px solid #e8edf3}.chathead b,.chathead span{display:block}.chathead span{color:#748196;font-size:12px}.chatbody{flex:1;padding:22px;background:#f7f9fc;overflow:auto}.bubble{max-width:75%;margin:0 0 13px;padding:11px 13px;border-radius:16px 16px 16px 4px;background:#fff;border:1px solid #e1e7ef;box-shadow:0 2px 5px #16203308}.bubble.out{margin-left:auto;background:#1456d9;color:#fff;border-color:#1456d9;border-radius:16px 16px 4px 16px}.bubble time{display:block;margin-top:5px;font-size:10px;opacity:.68}.quickbar{display:flex;gap:7px;padding:10px 16px 0}.quickbar button{border:1px solid #d5deea;background:#fff;border-radius:999px;padding:7px 11px;font-weight:700;cursor:pointer}.composer{padding:12px 16px 16px;display:grid;grid-template-columns:1fr auto;gap:9px;border-top:1px solid #e7ecf2}.composer textarea{width:100%;resize:vertical;border:1px solid #cfd9e6;border-radius:12px;padding:12px;font:inherit}.composer small{grid-column:1/-1;color:#8490a0}.emptythread{display:flex;min-height:220px;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#8390a1;padding:25px}.emptythread b{color:#445166;margin-bottom:5px}.matchbox{margin:auto;width:min(520px,calc(100% - 30px));padding:22px;border:1px solid #dfe6ef;border-radius:14px}.matchbox select{width:100%;padding:11px;border:1px solid #d5dde8;border-radius:9px;margin:10px 0}.matchbox .primary{width:100%}
@media(max-width:800px){.inboxbar{display:grid;grid-template-columns:repeat(3,1fr);padding:10px}.inboxbar input{grid-column:1/-1;margin:0;min-width:0;font-size:16px}.inboxlayout{grid-template-columns:1fr;min-height:0}.threads{border-right:0}.conversation{border-top:1px solid #e7ecf2;min-height:560px}.thread{min-height:82px}.chatbody{min-height:300px}.bubble{max-width:88%}.composer{grid-template-columns:1fr}.composer .primary{min-height:48px}.quickbar{overflow:auto}.comms .panelbar{display:grid;gap:12px}.comms .panelbar .primary{width:100%}}

.chatidentity[data-open-order]{cursor:pointer;padding:4px 0}.chatidentity[data-open-order]:active{opacity:.65}.chathead-actions{display:flex;align-items:center;gap:8px}.openorder{border:1px solid #cbd6e5;background:#fff;color:#1456d9;border-radius:9px;padding:8px 10px;font-weight:800;cursor:pointer}@media(max-width:600px){.chathead{align-items:flex-start;gap:10px}.chathead-actions{flex-direction:column;align-items:flex-end}.openorder{min-height:40px}}

.worktitle{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.editbtn{border:1px solid #cbd6e5;background:#fff;color:#1456d9;border-radius:10px;padding:9px 12px;font-weight:800;cursor:pointer;white-space:nowrap}.editgrid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0;padding:16px;border:1px solid #dfe6ef;border-radius:14px;background:#f8faff}.editgrid label{font-size:12px;font-weight:800;color:#6f7c8f;text-transform:uppercase}.editgrid input{display:block;width:100%;margin-top:6px;border:1px solid #ccd7e5;border-radius:10px;padding:11px 12px;background:#fff;color:#162033;font:inherit;text-transform:none}@media(max-width:600px){.worktitle{align-items:center}.editgrid{grid-template-columns:1fr;padding:12px}.editgrid input{font-size:16px;min-height:48px}.editbtn{min-height:44px}}

.metriccard{display:block;width:100%;text-align:left;background:#fff;border:1px solid #e0e6ef;border-radius:14px;padding:16px;color:#162033;font:inherit;cursor:pointer;touch-action:manipulation}.metriccard span{display:block;color:#6b778b;font-size:13px}.metriccard strong{display:block;font-size:27px}.metriccard:active,.metriccard:hover{border-color:#9bb9ee;background:#f3f7ff}.metriccard:focus-visible{outline:3px solid #9fc0ff;outline-offset:2px}

/* Compact operational work-order detail */
@media(max-width:600px){
.detail.order-open{padding:14px 12px}.worktitle{position:sticky;top:70px;z-index:4;background:#fff;margin:-14px -12px 10px;padding:11px 12px;border-bottom:1px solid #e8edf3}.worktitle h3{font-size:21px;line-height:1.15}.worktitle .muted{font-size:11px;margin-top:3px}.editbtn{padding:7px 10px;min-height:38px;font-size:13px}
.detail .grid{grid-template-columns:1fr 1fr;gap:7px;margin:10px 0}.detail .field{padding:9px 10px;border-radius:9px;min-height:68px}.detail .field span{font-size:10px}.detail .field b{font-size:15px;line-height:1.25;margin-top:3px}.detail .field .vehiclemeta{display:block;margin-top:4px;font-size:11px;line-height:1.3;color:#68758a}
.detail .field:nth-child(3),.detail .field:nth-child(4),.detail .field:nth-child(5){grid-column:1/-1}.ops{gap:8px;margin:11px 0}.ops label{font-size:11px}.ops input,.ops select,.ops textarea{margin-top:4px;padding:9px 10px;min-height:43px}.ops textarea{min-height:72px}.actions{gap:7px;margin:11px 0}.actions button{min-height:42px;padding:8px 10px;font-size:14px}
.editgrid{gap:8px;margin:10px 0;padding:10px}.editgrid label{font-size:10px}.editgrid input{margin-top:4px;padding:9px 10px;min-height:43px}
}

.editgrid select{display:block;width:100%;margin-top:6px;border:1px solid #ccd7e5;border-radius:10px;padding:11px 12px;background:#fff;color:#162033;font:inherit;text-transform:none}@media(max-width:600px){.editgrid select{font-size:16px;min-height:43px;margin-top:4px;padding:9px 10px}}

.vendorbox{margin:12px 0;border:1px solid #dfe6ef;border-radius:12px;overflow:hidden;background:#fff}.vendorhead{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:11px 12px;background:#f8faff;border-bottom:1px solid #e5eaf1}.vendorhead b,.vendorhead small{display:block}.vendorhead small{color:#7c899b;margin-top:2px}.vendorhead button,.vendordistance button{border:1px solid #cbd6e5;background:#fff;color:#1456d9;border-radius:8px;padding:7px 9px;font-weight:800}.vendorresults>.muted{display:block;padding:13px}.vendorrow{display:grid;grid-template-columns:28px 1fr auto;gap:9px;align-items:center;padding:10px 12px;border-bottom:1px solid #edf1f5}.vendorrow:last-child{border-bottom:0}.vendorrank{display:grid;place-items:center;width:25px;height:25px;border-radius:8px;background:#eef4ff;color:#1456d9;font-weight:850;font-size:12px}.vendorrow b,.vendorrow small{display:block}.vendorrow small{color:#758297;font-size:11px;margin-top:2px}.vendordistance{text-align:right}.vendordistance strong{display:block;font-size:13px;margin-bottom:5px}.vendordistance button.selected{background:#1456d9;color:#fff;border-color:#1456d9}@media(max-width:600px){.vendorhead{padding:9px 10px}.vendorhead button{min-height:38px}.vendorrow{padding:9px 10px}.vendorrow b{font-size:13px}.vendordistance button{min-height:36px}}

/* Dense mobile work-order record */
@media(max-width:600px){
.detail.order-open{padding:10px 9px}
.worktitle{top:70px;margin:-10px -9px 7px;padding:8px 10px;gap:8px}.worktitle h3{font-size:20px}.worktitle .muted{font-size:10px;line-height:1.25;max-width:235px;overflow-wrap:anywhere}.editbtn{padding:6px 9px;min-height:36px;font-size:12px;border-radius:9px}
.detail .compactgrid{grid-template-columns:1fr 1fr;gap:5px;margin:6px 0 8px}
.detail .compactgrid .field{padding:7px 9px;min-height:0;border-radius:8px}
.detail .compactgrid .field span{font-size:9px;letter-spacing:.03em}
.detail .compactgrid .field b{font-size:14px;line-height:1.18;margin-top:2px}
.detail .compactgrid .field:nth-child(3),.detail .compactgrid .field:nth-child(4),.detail .compactgrid .field:nth-child(5){grid-column:1/-1}
.detail .compactgrid .field:nth-child(3){min-height:52px}.detail .compactgrid .field:nth-child(4),.detail .compactgrid .field:nth-child(5){min-height:48px}
.detail .compactgrid .vehiclemeta{font-size:10px!important;line-height:1.2!important;margin-top:2px!important}
.ops{gap:6px;margin:7px 0}.ops label{font-size:10px}.ops input,.ops select,.ops textarea{min-height:40px;padding:7px 9px}.ops textarea{min-height:58px}
.vendorbox{margin:8px 0}.actions{margin:8px 0;gap:5px}.actions button{min-height:40px}
}

.vendorphone{margin-top:4px!important;font-size:12px!important;font-weight:750}.vendorphone a{color:#1456d9;text-decoration:none}.vendorphone a:active{text-decoration:underline}

.partsbox{margin:8px 0;border:1px solid #dfe6ef;border-radius:12px;overflow:hidden;background:#fff}.partshead{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:9px 11px;background:#f8faff;border-bottom:1px solid #e5eaf1}.partshead b,.partshead small{display:block}.partshead small{font-size:11px;color:#788598;margin-top:2px}.partshead button{border:1px solid #cbd6e5;background:#fff;color:#1456d9;border-radius:8px;padding:7px 9px;font-weight:800}.partempty{padding:11px;color:#7c899b;font-size:12px}.partrow{display:flex;width:100%;justify-content:space-between;align-items:center;gap:10px;padding:9px 11px;border:0;border-bottom:1px solid #edf1f5;background:#fff;text-align:left;color:inherit}.partrow.exception{background:#fff7f5;border-left:4px solid #d84a3a}.partrow b,.partrow small{display:block}.partrow small{font-size:11px;color:#758297;margin-top:2px}.partrow>div:last-child{text-align:right}.partrow strong{display:block;font-size:12px;margin-top:3px}.partstatus{display:inline-block;font-size:10px;font-weight:850;background:#edf3ff;color:#1456d9;padding:3px 7px;border-radius:999px}.partrow.exception .partstatus{background:#ffe8e3;color:#b62e20}.parteditor{padding:10px;background:#fbfcfe;border-top:1px solid #e5eaf1}.partgrid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.partgrid label{font-size:10px;font-weight:800;color:#6f7c8f;text-transform:uppercase}.partgrid label.wide{grid-column:1/-1}.partgrid input,.partgrid select,.partgrid textarea{display:block;width:100%;margin-top:4px;border:1px solid #ccd7e5;border-radius:8px;padding:8px;font:inherit;background:#fff;color:#162033;text-transform:none}.partgrid textarea{min-height:60px}.partactions{display:flex;justify-content:flex-end;gap:7px;margin-top:9px}.partactions button{border:1px solid #cbd6e5;background:#fff;border-radius:8px;padding:8px 10px;font-weight:800}.partactions .primary{background:#1456d9;color:#fff}@media(max-width:600px){.partgrid{grid-template-columns:1fr 1fr}.partgrid input,.partgrid select,.partgrid textarea{font-size:14px;min-height:40px}.partshead small{max-width:235px}.partrow{padding:8px 9px}}

.exceptionmetrics{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:12px 16px;background:#fbfcfe;border-bottom:1px solid #e8edf3}.exceptionmetrics div{border:1px solid #e1e7ef;border-radius:10px;padding:10px;background:#fff}.exceptionmetrics span{display:block;font-size:11px;color:#748196}.exceptionmetrics strong{font-size:22px}.exceptionrow{display:flex;width:100%;justify-content:space-between;align-items:center;gap:10px;padding:12px 16px;border:0;border-bottom:1px solid #e9edf2;background:#fff;text-align:left;color:inherit}.exceptionrow:active{background:#f5f8fc}.exceptionrow b,.exceptionrow small{display:block}.exceptionrow small{color:#788598;margin-top:3px}.exceptionrow>div:last-child{text-align:right}.exceptionrow span{display:inline-block;background:#ffe8e3;color:#b62e20;border-radius:999px;padding:4px 7px;font-size:10px;font-weight:850}.exceptionrow strong{display:block;margin-top:4px}.exceptionempty{display:flex;flex-direction:column;align-items:center;padding:38px 18px;color:#788598}.exceptionempty b{color:#334155;margin-bottom:4px}@media(max-width:600px){.exceptionmetrics{grid-template-columns:1fr 1fr;padding:9px;gap:7px}.exceptionmetrics div{padding:8px}.exceptionmetrics strong{font-size:20px}.exceptionrow{padding:10px 11px}.exceptionrow b{font-size:13px}.exceptionrow small{font-size:10px}}

.techpick{margin:0 10px 9px 38px;padding:9px 10px;border:1px solid #dce5f0;border-radius:9px;background:#f8faff;display:flex;align-items:center;gap:7px;flex-wrap:wrap}.techpick>b{font-size:11px}.techpick>span{font-size:11px;color:#788598}.techpick select,.techform input{border:1px solid #ccd7e5;border-radius:8px;padding:7px 8px;background:#fff;font:inherit}.techpick select{flex:1;min-width:180px}.techpick button{border:1px solid #cbd6e5;background:#fff;color:#1456d9;border-radius:8px;padding:7px 9px;font-weight:800}.techform{display:grid;grid-template-columns:1fr 1fr auto;gap:6px;width:100%}.techform .primary{background:#1456d9;color:#fff}@media(max-width:600px){.techpick{margin-left:9px}.techform{grid-template-columns:1fr 1fr}.techform .primary{grid-column:1/-1}.techpick select{min-width:0;width:100%}}

.assignmentbar{display:flex;gap:6px;margin:7px 0}.assignmentbar:empty{display:none}.assignmentbar>div{flex:1;min-width:0;border:1px solid #dce5f0;border-radius:9px;padding:7px 9px;background:#f8faff}.assignmentbar span{display:block;font-size:9px;text-transform:uppercase;color:#788598}.assignmentbar b{display:block;font-size:12px;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:600px){.assignmentbar{display:grid;grid-template-columns:1fr 1fr}}

.localclock{display:block;margin-top:3px;font-size:10px!important;font-weight:750;color:#19724b!important}.localclock.quiet{color:#b54708!important;background:#fff3e0;border-radius:5px;padding:2px 5px;width:max-content;max-width:100%}

.assignedvendor{margin:7px 0;padding:8px 10px;border:1px solid #dce5f0;border-radius:9px;background:#f8faff}.assignedvendor span,.assignedvendor b,.assignedvendor small{display:block}.assignedvendor span{font-size:9px;text-transform:uppercase;color:#788598}.assignedvendor b{font-size:12px;margin-top:2px}.assignedvendor small{font-size:10px;color:#758297;margin-top:2px}

.assignedtech{margin:7px 0;padding:8px 10px;border:1px solid #dce5f0;border-radius:9px;background:#f8faff}.assignedtech span,.assignedtech b,.assignedtech small{display:block}.assignedtech span{font-size:9px;text-transform:uppercase;color:#788598}.assignedtech b{font-size:12px;margin-top:2px}.assignedtech small{font-size:10px;color:#758297}.techpicker{margin:0 9px 9px 38px;padding:8px;border:1px solid #dce5f0;border-radius:9px;background:#f8faff;display:grid;grid-template-columns:auto 1fr auto;gap:6px;align-items:center}.techpicker>b,.techpicker>span{font-size:11px}.techpicker select,.techpicker input,.techpicker button{min-height:36px;border:1px solid #cbd6e5;border-radius:8px;background:#fff;padding:6px 8px}.techpicker button{font-weight:800;color:#1456d9}.techpicker #techForm{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr auto;gap:6px}.techpicker #techForm.hidden{display:none}@media(max-width:600px){.techpicker{margin-left:9px;grid-template-columns:1fr}.techpicker #techForm{grid-template-columns:1fr 1fr}.techpicker #techForm button{grid-column:1/-1}}

.partsmini{margin:8px 0;border:1px solid #dfe6ef;border-radius:10px;overflow:hidden;background:#fff}.partsminihead{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:8px 10px;background:#f8faff;border-bottom:1px solid #e5eaf1}.partsminihead b,.partsminihead small{display:block}.partsminihead small{font-size:10px;color:#788598}.partsminihead button,.partformactions button{border:1px solid #cbd6e5;border-radius:8px;background:#fff;padding:7px 9px;font-weight:800}.partminirow{display:flex;width:100%;justify-content:space-between;align-items:center;gap:8px;padding:8px 10px;border:0;border-bottom:1px solid #edf1f5;background:#fff;text-align:left;color:inherit}.partminirow.exception{border-left:4px solid #d84a3a;background:#fff7f5}.partminirow b,.partminirow small{display:block}.partminirow small{font-size:10px;color:#758297}.partminirow>div:last-child{text-align:right}.partminirow span{font-size:10px;font-weight:800;color:#1456d9}.partminirow strong{display:block;font-size:11px;margin-top:2px}.partsempty{padding:9px 10px;font-size:11px;color:#788598}.partedit{padding:9px;background:#fbfcfe}.partform{display:grid;grid-template-columns:1fr 1fr;gap:7px}.partform label{font-size:9px;font-weight:800;text-transform:uppercase;color:#6f7c8f}.partform label.wide{grid-column:1/-1}.partform input,.partform select,.partform textarea{display:block;width:100%;margin-top:3px;min-height:38px;border:1px solid #ccd7e5;border-radius:8px;padding:7px;font:inherit;background:#fff;text-transform:none}.partform textarea{min-height:52px}.partformactions{display:flex;justify-content:flex-end;gap:6px;margin-top:8px}.partformactions .primary{background:#1456d9;color:#fff}.partedit.hidden{display:none}@media(max-width:600px){.partform{grid-template-columns:1fr 1fr}.partsminihead small{max-width:220px}}

.exceptionmetrics{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;padding:9px;background:#f8faff;border-bottom:1px solid #e6ebf1}.exceptionmetrics div{padding:8px;border:1px solid #e0e7ef;border-radius:9px;background:#fff}.exceptionmetrics span{display:block;font-size:9px;text-transform:uppercase;color:#788598}.exceptionmetrics strong{font-size:20px}.exceptionrow{display:flex;width:100%;justify-content:space-between;align-items:center;gap:8px;padding:10px 12px;border:0;border-bottom:1px solid #e9edf2;background:#fff;text-align:left;color:inherit}.exceptionrow b,.exceptionrow small{display:block}.exceptionrow small{font-size:10px;color:#788598;margin-top:2px}.exceptionrow>div:last-child{text-align:right}.exceptionrow span{display:inline-block;padding:3px 7px;border-radius:999px;background:#ffe8e3;color:#b62e20;font-size:9px;font-weight:850}.exceptionrow strong{display:block;font-size:11px;margin-top:3px}.exceptionempty{padding:28px 14px;text-align:center;color:#788598}.exceptionempty b,.exceptionempty span{display:block}.exceptionempty b{color:#334155;margin-bottom:3px}@media(max-width:600px){.exceptionmetrics{grid-template-columns:1fr 1fr}.exceptionrow{padding:9px 10px}}

.invoicepanel{margin-top:18px}.invoicecard{background:#fff;border:1px solid #d9e2ec;border-radius:18px;overflow:hidden;box-shadow:0 10px 30px rgba(15,35,55,.08)}.invoicebrand{display:flex;justify-content:space-between;align-items:center;padding:22px 24px;background:#102b46;color:#fff;border-bottom:5px solid #d9a928}.invoicebrand div{display:flex;flex-direction:column;gap:3px}.invoicebrand div b{font-size:22px;letter-spacing:.5px}.invoicebrand div span{font-size:11px;letter-spacing:1.5px;color:#dceaf5}.invoicebrand>strong{font-size:28px;color:#f4c84b}.invoicemeta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:20px 24px;background:#eef7fd}.invoicemeta span,.invoicevehicle,.invoiceservice{display:flex;flex-direction:column;gap:4px;color:#5b6b7a;font-size:12px}.invoicemeta b,.invoicevehicle b,.invoiceservice b{color:#13283b;font-size:15px}.invoicevehicle,.invoiceservice{margin:0 24px;padding:16px 0;border-bottom:1px solid #e6edf3}.invoiceamount{margin:20px 24px;display:flex;align-items:center;justify-content:space-between;background:#102b46;color:#fff;padding:18px 20px;border-radius:12px;font-weight:800;font-size:18px}.invoiceamount input{width:150px;text-align:right;font-size:24px;font-weight:800;border:0;border-radius:8px;padding:8px 10px}.invoicepay,.invoicenotes{margin:0 24px 18px;padding:16px;border-radius:12px;background:#f7fafc;display:flex;flex-direction:column;gap:7px}.invoicepay b,.invoicenotes b{color:#102b46}.invoicepay a{font-weight:700}.invoicefooter{display:flex;justify-content:space-between;gap:12px;padding:18px 24px;background:#eef7fd;color:#102b46}.invoicecard .partformactions{padding:0 24px 22px}@media(max-width:700px){.invoicemeta{grid-template-columns:1fr}.invoicebrand{align-items:flex-start}.invoicebrand>strong{font-size:22px}.invoicefooter{flex-direction:column}.invoiceamount input{width:120px}}/* Print only the invoice; hidden dashboard content must not occupy pages. */
@media print{
  @page{size:auto;margin:12mm}
  html,body{height:auto!important;min-height:0!important;background:#fff!important}
  body:has(#invoicePanel:not(.hidden))>*:not(.shell),
  body:has(#invoicePanel:not(.hidden)) .shell>*:not(main),
  body:has(#invoicePanel:not(.hidden)) main>*:not(#workPanel),
  body:has(#invoicePanel:not(.hidden)) #workPanel>*:not(.layout),
  body:has(#invoicePanel:not(.hidden)) #workPanel>.layout>*:not(#detail),
  body:has(#invoicePanel:not(.hidden)) #detail>*:not(#invoicePanel){display:none!important}
  body:has(#invoicePanel:not(.hidden)) .shell,
  body:has(#invoicePanel:not(.hidden)) main,
  body:has(#invoicePanel:not(.hidden)) #workPanel,
  body:has(#invoicePanel:not(.hidden)) #workPanel>.layout,
  body:has(#invoicePanel:not(.hidden)) #detail,
  #invoicePanel:not(.hidden){
    display:block!important;position:static!important;width:100%!important;
    height:auto!important;min-height:0!important;max-height:none!important;
    margin:0!important;padding:0!important;border:0!important;
    overflow:visible!important;box-shadow:none!important
  }
  .invoicecard{box-shadow:none;border:0;border-radius:0;break-inside:avoid;print-color-adjust:exact;-webkit-print-color-adjust:exact}
  .invoicebrand{padding:16px 20px;align-items:center}
  .invoicebrand div b{font-size:20px}
  .invoicebrand>strong{font-size:24px}
  .invoicemeta{grid-template-columns:repeat(2,minmax(0,1fr));padding:14px 20px;gap:10px}
  .invoicemeta b{overflow-wrap:anywhere}
  .invoicevehicle,.invoiceservice{margin:0 20px;padding:12px 0}
  .invoiceamount{margin:14px 20px;padding:12px 16px}
  .invoiceamount input{width:150px;font-size:22px}
  .invoicepay,.invoicenotes{margin:0 20px 12px;padding:12px;gap:5px}
  .invoicepay a{overflow-wrap:anywhere}
  .invoicefooter{flex-direction:row;padding:12px 20px;font-size:12px}
  .invoicecard .partformactions,.invoicepay button,#squareInvoiceMsg{display:none!important}
}

.invoiceemail{display:grid;gap:8px;margin:20px 0;padding:16px;background:#f4f7fa;border-radius:12px}.invoiceemail label{font-weight:700}.invoiceemail input{width:100%;box-sizing:border-box;padding:12px;border:1px solid #cbd5e1;border-radius:8px;font:inherit}.invoiceemail small{color:#526276}.invoiceemail p{margin:0;font-size:14px}.invoiceemail p:empty{display:none}@media print{#invoicePanel .invoiceemail{display:none!important}}

/* Dealer accounts */
#dealerContent{padding:20px}#dealerContent button:not(.primary),.dealerwork button{padding:10px 14px;min-height:42px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#172c46;font:inherit;font-weight:600;cursor:pointer}#dealerContent button:disabled,.dealerwork button:disabled{opacity:.6;cursor:wait}#dealerContent .dealeritem{text-align:left}#dealerContent .dealerform input,#dealerContent .dealerform textarea{width:100%}
.dealersearch,.dealerfilters label,.dealerform label{display:grid;gap:6px}.dealersearch{margin:16px 0}.dealersearch input,.dealerfilters input,.dealerfilters select,.dealerform input,.dealerform textarea,.dealerwork select,#existingDealer{padding:12px;border:1px solid #cbd5e1;border-radius:8px;font:inherit;max-width:100%;box-sizing:border-box}.dealeritem{display:flex;flex-direction:column;gap:7px;width:100%;text-align:left;background:#fff;border:1px solid #d9e1ea;border-radius:12px;padding:18px;margin:10px 0}.dealerhead,.dealeractions,.dealerfilters{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.dealerhead{justify-content:space-between;margin:16px 0}.dealerhead h3{font-size:25px;margin:0}.dealerhead p{line-height:1.7}.dealerstats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.dealerstats>div{display:grid;gap:6px;background:#f2f6fa;padding:18px;border-radius:12px}.dealerstats strong{font-size:25px}.dealerstats span{font-size:13px;color:#526276}.dealerfilters{margin:24px 0}.dealercar{display:grid;grid-template-columns:1fr auto;gap:20px;border:1px solid #d9e1ea;padding:20px;border-radius:12px;margin:12px 0}.dealercar h4{margin:0;font-size:18px}.dealercar p{line-height:1.6}.dealercar small{color:#526276}.dealercar button{margin:4px}.dealerform{padding:20px;background:#f2f6fa;border-radius:12px;margin:16px 0}.dealerform>label{margin:12px 0}.dealerform>.primary{margin-top:16px}.dealerwork{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:16px;background:#edf5ff;border:1px solid #c6ddf7;border-radius:12px;margin-bottom:20px}.dealerwork>div,.dealerwork label{display:grid;gap:6px}.dealerwork span,.dealerwork small{font-size:13px;color:#43566c}.dealerwork select{width:100%;background:white}.dealercandidate,.dealerpending{padding:14px;margin:10px 0;border:1px solid #d9e1ea;border-radius:10px}.dealercandidate{display:flex;align-items:center;justify-content:space-between;gap:12px}.dealerpending p{white-space:pre-wrap}
@media(max-width:700px){.dealerstats{grid-template-columns:repeat(2,minmax(0,1fr))}.dealercar{grid-template-columns:1fr}.dealerfilters{align-items:stretch;flex-direction:column}.dealerhead{align-items:flex-start}.dealerwork{align-items:stretch;flex-direction:column}.dealercandidate{align-items:stretch;flex-direction:column}}
@media print{.dealerwork,#dealersPanel{display:none!important}}

.financebox,.statementbox{margin:20px 0;padding:20px;border:1px solid #d6e0e9;border-radius:14px;background:#f7fafc}.financebox .editgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px}.financebox label,.statementbox label{display:flex;flex-direction:column;gap:6px;font-size:13px}.financebox input,.statementbox input{padding:10px;border:1px solid #bac9d8;border-radius:7px;max-width:100%;background:white}.financebox .financecomplete{flex-direction:row;align-items:center;margin:16px 0}.financecalc{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:12px;margin:16px 0}.financecalc div{display:flex;flex-direction:column;padding:12px;background:white;border-radius:8px}.financecalc b{font-size:22px;margin-top:6px}.financewarn{color:#a33c20}.statementtable{overflow-x:auto}.statementtable table{width:100%;border-collapse:collapse}.statementtable th,.statementtable td{text-align:left;padding:10px;border-bottom:1px solid #d6e0e9;vertical-align:top}.statementlink{display:inline-block;padding:10px}.financeInvoiceStatus{font-weight:bold}.statementbox #emailStatement{margin:12px 0}@media print{.financebox,.statementbox{display:none!important}}
.invoicepay.hidden{display:none!important}

.dashcards{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px;margin:18px 0 28px}.dashcard{padding:20px;background:#f2f7fb;border:1px solid #dce5ed;border-radius:12px;display:flex;flex-direction:column;gap:8px}.dashcard strong{font-size:26px;color:#102b46}.dashcard small{color:#526478;line-height:1.45}.dashfilter{display:flex;gap:12px;align-items:center;margin:15px 0}.dashfilter select,.dashtable input{padding:9px;border:1px solid #b7c7d5;border-radius:6px;background:white;max-width:100%}.dashtable{overflow-x:auto;margin:16px 0 26px}.dashtable table{width:100%;border-collapse:collapse;min-width:580px}.dashtable th,.dashtable td{text-align:left;padding:12px;border-bottom:1px solid #dce5ed;vertical-align:top}.dashtable button{margin-top:8px;padding:8px;border:1px solid #b7c7d5;border-radius:6px;background:white;cursor:pointer}#dashboardContent{padding:0 18px 20px}#dashboardContent h3{margin-top:28px}@media(max-width:600px){.dashcards{grid-template-columns:1fr 1fr}.dashcard{padding:13px}.dashcard strong{font-size:21px}.dashfilter{flex-wrap:wrap}}

/* 2026-10-02: compact costing + MMS attachments */
.mmsattachment{display:inline-flex;flex-direction:column;gap:4px;margin-top:8px;color:inherit;text-decoration:none}.mmsattachment img{display:block;max-width:220px;max-height:180px;object-fit:cover;border-radius:10px;border:1px solid #d9e2ec}.mmsattachment span{font-size:10px;font-weight:750}
.financebox{margin:10px 0;padding:10px 12px;border-radius:10px}.financebox .editgrid{grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:7px;margin:7px 0;padding:8px}.financebox label{gap:3px;font-size:10px}.financebox input{padding:7px 8px;font-size:13px;min-height:34px}.financebox .financecomplete{margin:8px 0;font-size:11px}.financecalc{grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:6px;margin:8px 0}.financecalc div{padding:7px 8px}.financecalc span{font-size:9px}.financecalc b{font-size:16px;margin-top:2px}.financebox h3,.financebox h4{margin:5px 0;font-size:14px}.financebox p,.financebox small{font-size:10px;line-height:1.3}
@media(max-width:600px){.financebox{margin:7px 0;padding:8px}.financebox .editgrid{grid-template-columns:1fr 1fr;gap:5px;padding:6px}.financebox input{font-size:12px;min-height:32px;padding:6px}.financecalc{grid-template-columns:1fr 1fr}.financecalc b{font-size:15px}.mmsattachment img{max-width:180px;max-height:150px}}

/* Duplicate review */
.duplicatereview{padding:16px}.dupewarning{display:flex;flex-direction:column;gap:4px;padding:12px 14px;margin-bottom:12px;border:1px solid #f0d38a;background:#fff9e8;border-radius:10px}.dupewarning span,.dupecard small,.dupeempty span{font-size:11px;color:#66758a}.dupecard{border:1px solid #dfe6ef;border-radius:12px;margin:10px 0;overflow:hidden}.dupecard header{padding:10px 12px;background:#f8faff}.dupecard header b,.dupecard header small{display:block}.dupeorders{display:grid}.dupeorder{display:grid;grid-template-columns:auto 1fr;gap:9px;align-items:flex-start;padding:10px 12px;border-top:1px solid #edf1f5;cursor:pointer}.dupeorder:hover{background:#f7faff}.dupeorder input{margin-top:4px}.dupeorder b,.dupeorder small{display:block}.dupeactions{display:flex;align-items:center;gap:10px;padding:10px 12px;background:#fbfcfe;border-top:1px solid #e8edf3}.dupeactions span{font-size:11px;color:#66758a}.dupeempty{display:flex;flex-direction:column;align-items:center;text-align:center;padding:32px 14px;gap:5px}@media(max-width:600px){.duplicatereview{padding:9px}.dupeactions{align-items:stretch;flex-direction:column}.dupeactions button{min-height:42px}}

.messagetemplate{grid-column:1/-1;display:grid;gap:7px;padding:12px;background:#eff5ff;border:1px solid #ccdcf8;border-radius:12px}.messagetemplate label{font-weight:800;color:#173966}.messagetemplate select{width:100%;padding:11px;border:1px solid #afc4e5;border-radius:9px;background:#fff;font:inherit;min-height:44px}.messagetemplate small{color:#536176}.worktitleactions{display:flex;flex-wrap:wrap;gap:8px}.worktitleactions button{min-height:44px}

/* Compact Office design; screen-only so printed invoices keep their layout. */
@media screen{
:root{font-size:13px;background:#f5f7fa;color:#243247}
button,input,select,textarea{font-family:inherit}
button{cursor:pointer;touch-action:manipulation}
button:focus-visible,summary:focus-visible{outline:2px solid #2563eb;outline-offset:3px}
.shell{grid-template-columns:210px minmax(0,1fr)}.side{padding:18px 12px}.brand{margin-bottom:20px;gap:7px}.brand img{width:120px}.brand span{font-size:12px}.side nav{gap:4px}.nav{padding:9px 11px;font-size:12px;border-radius:7px;min-height:40px}
.top{padding:18px 22px 12px}.top h1{font-size:22px;letter-spacing:-.5px}.top p{font-size:12px}.user{padding:7px 10px;border-radius:8px;font-size:12px}
.metrics{gap:9px;padding:0 22px 12px}.metriccard,.metrics div{padding:10px 12px;border-radius:9px}.metriccard span{font-size:11px}.metriccard strong,.metrics strong{font-size:22px}
.panel{margin:0 22px 18px;border-radius:10px}.panelbar{padding:12px 15px;align-items:center;gap:10px}.panelbar h2{font-size:18px;letter-spacing:-.3px}.panelbar p{font-size:11px;margin-top:3px}
.filters{padding:9px 12px;gap:7px}.filters input,.filters select{padding:8px 10px;font-size:13px;border-radius:7px}
.layout{grid-template-columns:330px minmax(0,1fr);min-height:420px}.order{padding:11px 12px}.order b{font-size:13px}.order small{font-size:10px}.badge{font-size:10px;padding:3px 7px;font-weight:650}
.detail,.detail.order-open{padding:15px}.detail h3,.worktitle h3{font-size:18px;letter-spacing:-.3px}.worktitle .muted{font-size:10px;overflow-wrap:anywhere}.worktitle{gap:9px}.worktitleactions{gap:5px}
.detail .grid,.detail .compactgrid{gap:6px;margin:10px 0;grid-template-columns:repeat(2,minmax(0,1fr))}.detail .field,.detail .compactgrid .field{padding:7px 9px;border-radius:7px;min-height:0}.detail .field span{font-size:9px}.detail .field b,.detail .compactgrid .field b{font-size:13px;font-weight:600;line-height:1.35;margin-top:2px;overflow-wrap:anywhere}
.ops{gap:7px;margin:10px 0}.ops label,.editgrid label{font-size:10px;font-weight:650;letter-spacing:.02em}.ops input,.ops select,.ops textarea,.editgrid input,.editgrid select{padding:7px 9px;border-radius:7px;font-size:13px;margin-top:4px;min-height:36px}.ops textarea{min-height:58px}
.editgrid{padding:10px;gap:8px;margin:10px 0;border-radius:8px}.actions{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}
.primary,.actions button,.editbtn,.worktitleactions button,.dealeractions button,#dealerContent button:not(.primary),.quickbar button,.partformactions button,.partactions button,.openorder,.panelbar button{padding:7px 10px;font-size:12px;font-weight:600;border-radius:7px;min-height:36px;line-height:1.2}
.icon-action{display:inline-flex;align-items:center;justify-content:center;gap:6px;vertical-align:middle}.nav.icon-action{justify-content:flex-start}.office-icon{width:17px;height:17px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.worktitleactions .primary{background:#eef4ff;color:#1e56b0;border:1px solid #cdddf5}
.partsmini,.vendorbox,.partsbox{border-radius:8px;margin:8px 0}.partsminihead,.vendorhead,.partshead{padding:8px 10px}.partsminihead small,.vendorhead small,.partshead small{font-size:10px}.partrow,.vendorrow{padding:8px 10px}.assignedvendor,.assignedtech{padding:8px 10px;font-size:12px}
.inboxlayout{grid-template-columns:310px minmax(0,1fr);min-height:480px}.inboxbar{padding:9px 12px}.inboxfilter{padding:6px 10px;font-size:11px}.thread{grid-template-columns:32px minmax(0,1fr) auto;gap:8px;padding:10px;min-height:68px}.avatar{width:32px;height:32px;border-radius:9px;font-size:12px}.threadcopy b{font-size:12px}.threadcopy small{font-size:10px}.chathead{padding:11px 13px}.chatbody{padding:14px}.bubble{font-size:13px;line-height:1.5;padding:9px 11px;box-shadow:none;border-radius:11px}.quickbar{padding:9px 12px 0}.composer{padding:10px 12px;gap:7px}.composer textarea{padding:9px;font-size:13px;border-radius:8px;min-height:70px}.composer small{font-size:10px}.messagetemplate{padding:8px 10px;gap:4px;border-radius:8px;background:#f6f9fe}.messagetemplate label{font-size:11px;font-weight:650}.messagetemplate select{padding:7px 9px;min-height:36px;font-size:12px}
.financebox,.statementbox{padding:10px;margin:10px 0;border-radius:8px}.financebox h3{font-size:14px}.financebox p{font-size:11px;line-height:1.45;margin:6px 0}.financecalc b{font-size:16px}.financecalc small{font-size:10px}.financebox .editgrid{margin:7px 0}.financebox input{font-size:13px}
.cost-details{margin:8px 0}.cost-details summary,.office-more summary{display:flex;align-items:center;gap:6px;cursor:pointer;list-style:none;padding:7px 9px;font-size:12px;border:1px solid #d5deea;border-radius:7px;min-height:36px;background:#fff;width:fit-content}.cost-details summary::-webkit-details-marker,.office-more summary::-webkit-details-marker{display:none}.cost-details summary:after{content:'＋';margin-left:8px;color:#75849a}.cost-details[open] summary:after{content:'−'}
.office-more{position:relative}.office-more summary{padding:7px 10px}.office-more #deleteWork{position:absolute;right:0;top:100%;z-index:8;white-space:nowrap;margin-top:4px;background:white;color:#b42318;border:1px solid #e2c9c6;box-shadow:0 5px 18px #16203320}
#dealerContent{padding:14px}.dealerhead h3{font-size:18px}.dealerhead,.dealerfilters{gap:8px;margin:12px 0}.dealeritem,.dealercar,.dealerform,.dealerwork{padding:12px;margin:9px 0;border-radius:8px;gap:10px}.dealercar h4{font-size:15px}.dealerstats{gap:8px}.dealerstats>div{padding:10px;border-radius:8px}.dealerstats strong{font-size:20px}.dealerstats span{font-size:11px}.dealerfilters input,.dealerfilters select,.dealerform input,.dealerform textarea,.dealerwork select{padding:8px;font-size:13px}
.dashcards{gap:8px;margin:12px 0 18px}.dashcard{padding:12px;border-radius:8px;gap:5px}.dashcard strong{font-size:21px}.dashtable th,.dashtable td,.statementtable th,.statementtable td{padding:8px;font-size:12px}#dashboardContent h3{font-size:16px;margin-top:18px}
.invoicecard{border-radius:10px;box-shadow:none}.invoicebrand{padding:13px 16px}.invoicebrand div b{font-size:18px}.invoicebrand>strong{font-size:22px}.invoicemeta{padding:12px 16px;gap:8px}.invoicemeta b,.invoicevehicle b,.invoiceservice b{font-size:13px}.invoicevehicle,.invoiceservice{margin:0 16px;padding:10px 0}.invoiceamount{margin:12px 16px;padding:11px 12px;font-size:15px;border-radius:8px}.invoiceamount input{font-size:19px;padding:6px}.invoicepay,.invoicenotes{margin:0 16px 12px;padding:10px;border-radius:8px;font-size:12px}.invoicefooter{padding:12px 16px;font-size:12px}.invoicecard .partformactions{padding:0 16px 14px}.invoiceemail{padding:10px;margin:12px 0}.invoiceemail input{padding:8px;font-size:13px}
.duplicatereview{padding:12px}.dupecard,.dupewarning{border-radius:8px}.dupeorder{padding:8px 10px}.dupeactions{padding:8px 10px}
@media(max-width:1100px) and (min-width:901px){.shell{grid-template-columns:180px minmax(0,1fr)}.layout{grid-template-columns:285px minmax(0,1fr)}}
@media(max-width:900px){.shell{grid-template-columns:minmax(0,1fr)}.layout{grid-template-columns:1fr}.orders button.order{min-height:72px}.top{padding:13px 12px}.metrics{padding:0 12px 10px}.panel{margin:0 10px 14px}.mobilebar{padding:8px 12px;min-height:54px}.mobilebrand img{width:115px}.mobilenav{top:54px;padding:7px 10px;gap:5px}.mobilenav .nav{padding:8px;font-size:12px;min-height:44px;justify-content:flex-start}.worktitle{top:54px}}
@media(max-width:800px){.inboxlayout{grid-template-columns:1fr}.conversation{min-height:400px}.chatbody{min-height:200px}.composer{grid-template-columns:minmax(0,1fr) auto}.composer .primary{min-height:44px;width:auto}.inboxbar input{min-width:0}.thread{min-height:68px}}
@media(max-width:600px){.top h1{font-size:20px}.top p{font-size:11px}.panelbar{display:flex;flex-wrap:wrap;padding:10px 12px;gap:8px}.panelbar h2{font-size:17px}.panelbar .primary{width:auto;font-size:12px;min-height:44px}.metriccard{padding:9px 10px}.metriccard strong{font-size:20px}.filters{grid-template-columns:minmax(0,1fr);padding:8px}.filters input,.filters select{font-size:14px;min-height:40px}.detail.order-open{padding:10px}.worktitle{align-items:flex-start;margin:-10px -10px 8px;padding:8px 10px;flex-wrap:wrap}.worktitle h3{font-size:17px}.worktitleactions{gap:5px}.worktitleactions button,.actions button,.icon-action,.cost-details summary,.office-more summary,.dealeractions button,#dealerContent button:not(.primary){min-height:44px;font-size:12px}.actions{display:flex;gap:5px}.detail .compactgrid .field:nth-child(3),.detail .compactgrid .field:nth-child(4),.detail .compactgrid .field:nth-child(5){min-height:0}.detail .compactgrid .field b{font-size:13px}.ops{grid-template-columns:1fr 1fr}.ops label.wide{grid-column:1/-1}.ops input,.ops select,.ops textarea,.editgrid input,.editgrid select,.partgrid input,.partgrid select{font-size:14px;min-height:40px}.composer textarea{font-size:14px}.messagetemplate select{font-size:14px;min-height:40px}.financebox .editgrid{grid-template-columns:1fr 1fr}.financebox input{font-size:14px;min-height:40px}.financecalc{grid-template-columns:1fr 1fr}.dealerwork{padding:10px}.dealerfilters{gap:7px}.dashcard{padding:10px}.dashcard strong{font-size:19px}.invoicebrand{padding:12px}.invoiceamount input{width:110px}.office-more #deleteWork{right:auto;left:0}.quickbar button{min-height:40px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
}

@media screen{
.financebox{padding:0!important;background:#fff;margin:8px 0!important;overflow:hidden}
.finance-drawer>summary{display:flex;align-items:center;gap:7px;min-height:38px;padding:7px 10px;cursor:pointer;list-style:none;font-size:12px;font-weight:600;color:#48586e}
.finance-drawer>summary::-webkit-details-marker{display:none}
.finance-drawer>summary .office-icon{width:15px;height:15px;color:#75869d}
.finance-drawer>summary:after{content:'+';margin-left:auto;font-size:16px;font-weight:400;color:#78889d}
.finance-drawer[open]>summary:after{content:'−'}
.finance-drawer[open]>summary{border-bottom:1px solid #e5eaf1}
.finance-drawer-body{padding:10px;background:#f8fafc}
.finance-drawer-body .financewarn:empty,.finance-drawer-body #costStatus:empty{display:none}
@media(max-width:600px){.finance-drawer>summary{min-height:44px;font-size:12px;padding:7px 10px}}
}

@media screen{
.message-schedule{margin-top:4px;border-top:1px solid #dce5f0;padding-top:5px}.message-schedule summary{cursor:pointer;font-size:12px;font-weight:600;padding:7px 0}.message-schedule label{display:block;margin:7px 0 4px}.message-schedule input{width:100%;padding:8px;border:1px solid #bdcde1;border-radius:7px;font:inherit;background:#fff}.message-schedule small{display:block;margin:5px 0}.message-schedule p{margin:5px 0;font-size:11px}.message-schedule p:empty{display:none}
}
@media screen{
.technician-office{border:1px solid #dfe6ef;border-radius:8px;margin:8px 0;padding:8px 10px;background:#fff}.technician-row{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.technician-row>span{margin-right:auto}.technician-row small,.technician-row b{display:block}.technician-row small{font-size:10px;color:#758297}.technician-row b{font-size:12px;font-weight:600}.technician-office button{display:inline-flex;align-items:center;gap:5px;padding:7px 9px;font-size:12px;min-height:36px;border:1px solid #cbd6e5;border-radius:7px;background:white;color:#2456a0}.technician-office button.primary{background:#1456d9;color:#fff}.technician-office button:disabled{opacity:.55;cursor:default}.tech-controls,.tech-dispatch{padding-top:9px;display:grid;gap:7px}.tech-controls label,.tech-dispatch label{display:grid;gap:4px;font-size:11px}.tech-controls input,.tech-controls select,.tech-dispatch textarea{width:100%;font:inherit;font-size:13px;border:1px solid #ccd7e5;border-radius:7px;padding:8px;background:#fff}.tech-controls small,.tech-dispatch small,.tech-status{font-size:11px;color:#596d83}.tech-status{margin:6px 0 0}.tech-status:empty{display:none}.tech-controls details summary{cursor:pointer;padding:7px 0}.tech-controls details label{margin:7px 0}.tech-dispatch textarea{min-height:140px}.tech-dispatch button{justify-self:start}@media(max-width:600px){.technician-office button{min-height:44px}.tech-controls input,.tech-controls select,.tech-dispatch textarea{font-size:14px}}
}
@media screen{
.office-notes{grid-column:1/-1;border:1px solid #dfe6ef;border-radius:8px;background:#fff;overflow:hidden}
.office-notes>summary{display:flex;align-items:center;gap:7px;list-style:none;cursor:pointer;min-height:38px;padding:7px 10px;font-size:12px;font-weight:600;color:#48586e}
.office-notes>summary::-webkit-details-marker{display:none}
.office-notes>summary .office-icon{width:15px;height:15px;color:#75869d}
.office-notes>summary:after{content:'+';margin-left:auto;font-size:16px;font-weight:400;color:#78889d}
.office-notes[open]>summary:after{content:'−'}
.office-notes[open]>summary{border-bottom:1px solid #e5eaf1}
.office-notes>label{display:block;padding:9px 10px;background:#f8fafc}
.office-notes textarea{min-height:72px;max-height:260px}
.detail .ops{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;margin:8px 0;gap:7px}
.detail .ops>label{min-width:0}
.detail .technician-office{margin:8px 0;padding:7px 10px}
.technician-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:6px}
.technician-row>span{min-width:0;overflow-wrap:anywhere}
.technician-row button{white-space:nowrap}
.partsminihead,.vendorhead{align-items:center;gap:8px}
.partsminihead>div,.vendorhead>div{min-width:0}
.partsminihead small,.vendorhead small{font-size:10px;line-height:1.3}
.partsempty,.vendorresults>.muted{padding:9px 10px;font-size:11px}
@media(max-width:600px){
.office-notes>summary{min-height:44px}
.detail .ops{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.detail .ops input,.detail .ops select{width:100%;min-width:0}
.partsminihead small{display:none}
.technician-row button{padding:7px 9px}
.detail .compactgrid .field:nth-child(3){grid-column:1/-1}
.detail .compactgrid .field:nth-child(4),.detail .compactgrid .field:nth-child(5){grid-column:auto}
}
}

@media screen{
.employee-next{display:flex;align-items:center;gap:8px;padding:8px 10px;margin:8px 0;border:1px solid #d9e4f4;border-radius:8px;background:#f3f7ff}
.employee-next>div{min-width:0;flex:1}.employee-next small{display:block;font-size:10px;color:#63748c}.employee-next b{display:block;font-size:12px;font-weight:600}
.employee-next button{white-space:nowrap;border:1px solid #b9cbee;border-radius:7px;background:#fff;color:#2456a0;padding:7px 9px;font-size:12px;min-height:36px}
.technician-progress{display:flex;align-items:center;gap:8px;margin-top:6px}.technician-progress label{display:flex;align-items:center;gap:7px;font-size:10px;color:#63748c}.technician-progress select{font:inherit;font-size:12px;padding:5px 6px;border:1px solid #cbd6e5;border-radius:6px;background:#fff;color:#243750;max-width:140px}.technician-progress small{font-size:10px;color:#758297}
@media(max-width:600px){.employee-next button,.technician-progress select{min-height:44px}.technician-progress{flex-wrap:wrap}}
}

@media screen{
.top{margin-bottom:10px!important;padding:0!important}.top h1{font-size:20px!important}.top p{font-size:12px!important;margin:3px 0 0!important}.top .user{font-size:11px}.metrics{display:none!important}
#workPanel{padding:12px!important}.work-queues{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;margin-bottom:12px}.work-queues button{display:flex;align-items:center;justify-content:space-between;gap:6px;border:1px solid #dce4ef;background:#fff;color:#526279;border-radius:7px;font-size:12px;padding:9px 10px;min-height:42px}.work-queues button.active{background:#eaf2ff;border-color:#87aeea;color:#174fa3}.work-queues b{font-size:12px}
#workPanel>.panelbar{margin-bottom:8px!important}#workPanel>.panelbar h2{font-size:16px}#workPanel>.panelbar p{display:none}#workPanel>.filters{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:7px;padding:0 0 10px;margin:0!important}#workPanel>.filters input,#workPanel>.filters select{min-height:40px;font-size:12px;padding:8px}
#workPanel>.layout{display:block!important}#orders{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;max-height:none!important;overflow:visible!important;background:transparent;border:none}#orders .order{margin:0!important;padding:10px 12px!important;border:1px solid #dfe6ef;border-radius:8px;background:#fff;min-width:0;text-align:left}#orders .order b{font-size:13px}#orders .order small{font-size:11px;line-height:1.4;display:block;overflow-wrap:anywhere}#orders .order .badge{font-size:10px;max-width:48%;white-space:normal;text-align:right}.order-next{margin-top:7px}.order-next>span{font-size:11px;font-weight:600;color:#2459a6}.empty-queue{grid-column:1/-1}
#detail{display:none}.job-back{display:none}body.job-view #workPanel>.work-queues,body.job-view #workPanel>.panelbar,body.job-view #workPanel>.filters,body.job-view #orders{display:none!important}body.job-view #detail{display:block;border:none;padding:0!important;max-width:900px;margin:auto}body.job-view .job-back{display:block;max-width:900px;margin:0 auto 10px}.job-back button{border:0;background:transparent;color:#2456a0;font-size:12px;padding:8px 0;min-height:36px}
.job-view .top{display:none}.worktitle .muted{display:none}.worktitle h3{font-size:18px;margin:0}.worktitleactions{display:none!important}.job-subtitle{font-size:12px;color:#64748b;margin:4px 0 10px;line-height:1.5}.job-tools{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:8px}.job-tools button{display:flex;align-items:center;gap:5px;font-size:12px;padding:7px 9px;border:1px solid #dce4ef;border-radius:7px;background:#fff;color:#475d7c;min-height:36px}.job-tools small{font-size:11px}.job-tools span{font-size:15px}
.job-drawer{border:1px solid #dfe6ef;border-radius:8px;background:#fff;margin:7px 0;overflow:hidden}.job-drawer>summary{padding:10px;font-size:12px;font-weight:600;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:7px}.job-drawer>summary:after{content:'+';color:#71839b}.job-drawer[open]>summary:after{content:'−'}.job-drawer[open]>summary{border-bottom:1px solid #e5eaf1}.job-drawer>summary::-webkit-details-marker{display:none}.job-drawer #readonlyWork{padding:8px}.job-history{max-height:400px;overflow:auto;padding:0 10px}.job-history>div{padding:9px 0;border-bottom:1px solid #eef1f5}.job-history small{font-size:10px;color:#71839b}.job-history p{font-size:12px;margin:3px 0;overflow-wrap:anywhere}
.follow-up-body{display:grid;gap:8px;padding:10px}.follow-up-body small{font-size:11px;color:#64748b}.follow-up-body label{display:flex;align-items:center;gap:7px;font-size:11px}.follow-up-body select{font:inherit;padding:7px;border:1px solid #ced9e8;border-radius:6px}.follow-actions{display:flex;gap:5px;flex-wrap:wrap}.follow-up-body button,.call-customer{font-size:12px;border:1px solid #cbd8eb;border-radius:7px;background:#fff;color:#2456a0;padding:8px;justify-self:start;text-decoration:none}.follow-up-body p:empty{display:none}.follow-up-body p{font-size:12px;margin:0}
body.job-view .assignedvendor{font-size:11px;margin:7px 0;padding:8px!important}body.job-view .actions{position:static!important;border-top:1px solid #e2e8f0;padding-top:8px;margin-top:8px}.job-section>section{border:0;margin:0!important}
@media(max-width:700px){.top p,.top .user{display:none}.top h1{font-size:17px!important}.work-queues{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.work-queues button{padding:7px;font-size:11px;min-height:44px;align-items:flex-start}.work-queues button span{max-width:80px}.work-queues b{padding-top:1px}#workPanel{padding:8px!important}#orders{grid-template-columns:1fr}#workPanel>.filters{grid-template-columns:minmax(0,1fr) 110px}#workPanel>.filters input,#workPanel>.filters select{font-size:12px;min-height:44px}#orders .order{padding:9px 10px!important}#orders .order b{font-size:13px}.job-tools{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}.job-tools button{flex-direction:column;padding:5px 2px;gap:2px;min-height:44px}.job-tools small{font-size:9px}.job-tools span{font-size:16px}.job-back button,.follow-up-body button,.call-customer{min-height:44px}.job-subtitle{font-size:11px}.employee-next{padding:8px!important}.employee-next b{font-size:12px}.job-drawer>summary{min-height:44px;align-items:center}.job-view main{padding-bottom:12px!important}}
}
@media screen{.queue-details{border-top:1px solid #eef1f5;margin-top:7px;padding-top:5px}.queue-details small{margin-top:3px;color:#526279}.follow-up-body input{min-width:0;width:100%;font:inherit;padding:7px;border:1px solid #ced9e8;border-radius:6px}.follow-up-body label:has(#requestedAppointment){display:grid;gap:5px}}

.photo-actions{display:flex;gap:8px;margin:8px 0}.photo-previews{display:flex;gap:8px;flex-wrap:wrap}.photo-previews>div{max-width:160px}.photo-previews img{width:100%;height:110px;object-fit:contain;background:#eef1f5;border-radius:6px}.photo-previews button{font-size:12px;min-height:40px}.photo-composer p{font-size:12px}.photo-composer input[hidden]{display:none}

/* Keep every part of the message composer on its own full-width row. */
.composer{grid-template-columns:minmax(0,1fr)}
.composer>*{min-width:0;grid-column:1/-1}
.composer #sendCustom{justify-self:end;min-width:110px;min-height:44px}
.composer p:empty,.photo-status:empty{display:none}
.message-tools>summary{cursor:pointer;color:#475d7c;font-size:13px;padding:10px 0;min-height:44px}
.inbox-back{display:none}
.photo-actions button{border:1px solid #cbd8eb;background:#fff;color:#2456a0;border-radius:8px;padding:10px 14px;min-height:44px;font:inherit;font-size:14px}
.photo-previews>div{width:140px;min-width:0}
.photo-previews button{width:100%;border:1px solid #d5deea;background:#fff;border-radius:7px;margin:4px 0;min-height:44px}
.photo-composer p{margin:5px 0}
@media screen and (max-width:800px){
 #messagesPanel:not(.mobile-thread-open) .conversation{display:none}
 #messagesPanel.mobile-thread-open>.panelbar,#messagesPanel.mobile-thread-open>.inboxbar,#messagesPanel.mobile-thread-open .threads{display:none}
 #messagesPanel .conversation{border-top:0;min-height:0}
 #messagesPanel .chathead{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:10px 12px}
 #messagesPanel .inbox-back{display:block;grid-column:1/-1;justify-self:start;border:0;background:transparent;color:#2456a0;padding:8px 0;min-height:44px;font-size:15px}
 #messagesPanel .chatidentity{min-width:0;overflow-wrap:anywhere}
 #messagesPanel .chatidentity b{font-size:15px;line-height:1.35}
 #messagesPanel .chatidentity span{font-size:11px;line-height:1.4}
 #messagesPanel .chathead-actions{display:grid;gap:6px;justify-items:end}
 #messagesPanel .openorder{min-height:44px;max-width:108px;white-space:normal}
 #messagesPanel .quickbar{flex-wrap:wrap;overflow:visible;padding:8px 12px}
 #messagesPanel .quickbar button{min-height:44px;font-size:13px}
 #messagesPanel .composer{padding:10px 12px;gap:8px}
 #messagesPanel .composer textarea{font-size:16px;min-height:96px;padding:12px;resize:vertical}
 #messagesPanel .composer #sendCustom{justify-self:stretch;width:100%;min-height:48px;font-size:16px}
 #messagesPanel .photo-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:0 0 8px}
 #messagesPanel .photo-actions button{padding:10px 6px;font-size:14px;min-height:48px}
 #messagesPanel .photo-previews{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 #messagesPanel .photo-previews>div{width:auto;max-width:none}
 #messagesPanel .composer small{font-size:12px;line-height:1.45}
 #messagesPanel .messagetemplate select,#messagesPanel .message-schedule input{font-size:16px;min-height:44px}
 #messagesPanel .chatbody{padding:12px;min-height:180px}
 #messagesPanel .bubble{max-width:92%;font-size:14px;overflow-wrap:anywhere}
}

@media screen and (max-width:800px){
 body:has(#messagesPanel:not(.hidden).mobile-thread-open) .top{display:none}
 #messagesPanel.mobile-thread-open{margin:0 6px 8px}
 #messagesPanel .chathead{grid-template-columns:minmax(0,1fr) auto;padding:4px 10px 8px;gap:4px 8px;scroll-margin-top:58px}
 #messagesPanel .chatidentity b{font-size:14px}
 #messagesPanel .chathead-actions .badge{display:none}
 #messagesPanel .inbox-back{min-height:44px;padding:6px 0}
 #messagesPanel .composer{padding:6px 10px 10px;gap:6px}
 #messagesPanel .message-tools>summary{padding:8px 0;min-height:44px}
 #messagesPanel .photo-composer>small{display:none}
 #messagesPanel .composer>small{font-size:11px}
 #messagesPanel .photo-previews img{height:82px}
 #messagesPanel .photo-status{font-size:11px;line-height:1.3}
 #messagesPanel #customerMessageStatus{margin:0;font-size:12px;line-height:1.4}
 #messagesPanel .chatbody{min-height:0}
 #messagesPanel .conversation{scroll-margin-top:58px}
}
.unmatched-composer #askMoreInfo{justify-self:start;min-height:44px;border:1px solid #cbd8eb;background:#fff;color:#2456a0;border-radius:8px;padding:10px;font:inherit;font-size:14px}.unmatched-composer #sendUnmatched{min-height:48px;font-size:16px}.unmatched-composer textarea{font-size:16px;min-height:96px}.unmatched-composer p{margin:0;font-size:12px}.unmatched-composer p:empty{display:none}

@media screen{
 #messagesPanel>.panelbar{display:flex;flex-wrap:nowrap;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px}
 #messagesPanel>.panelbar>div{min-width:0}
 #messagesPanel>.panelbar h2{font-size:15px}
 #messagesPanel>.panelbar p{display:none}
 #messagesPanel #refreshMessages{width:auto;min-height:28px;padding:4px 8px;font-size:11px;flex-shrink:0}
 #messagesPanel .inboxbar{display:flex;flex-wrap:nowrap;align-items:center;gap:4px;padding:6px 8px}
 #messagesPanel .inboxfilter{min-height:28px;padding:4px 7px;font-size:10px;flex-shrink:0}
 #messagesPanel .inboxbar input{width:100%;min-width:0;flex:1;padding:5px 7px;min-height:28px;font-size:12px;margin:0}
 .work-queues{grid-template-columns:repeat(6,minmax(0,1fr));gap:3px;margin-bottom:8px}
 .work-queues button{min-height:30px;padding:4px 6px;font-size:10px;gap:3px}
 .work-queues button span{min-width:0;max-width:none}
 .work-queues b{font-size:10px;padding:0}
 @media(max-width:700px){
  .work-queues{grid-template-columns:repeat(6,minmax(0,1fr));gap:3px}
  .work-queues button{flex-direction:column;justify-content:center;align-items:center;min-height:34px;padding:3px 1px;gap:1px;font-size:9px;line-height:1.1;text-align:center}
  .work-queues button span{max-width:none}
  .work-queues b{font-size:9px;padding:0}
  #messagesPanel .inboxbar input{font-size:16px;padding:4px 5px}
 }
}
@media screen{#workPanel>.panelbar{flex-wrap:nowrap;align-items:center;justify-content:space-between}#workPanel #newWork{width:28px;height:28px;min-width:28px;min-height:28px;padding:0;font-size:20px;line-height:1;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}#newWork .office-icon{display:none}}
@media screen{#newWork span{display:none}#newWork::after{content:"+";font-size:20px;line-height:1}}
@media screen{#messagesPanel .composer #sendCustom,#messagesPanel .composer #sendUnmatched{width:auto;min-width:0;min-height:28px;height:28px;justify-self:end;padding:4px 8px;font-size:10px;gap:4px}#sendCustom .office-icon,#sendUnmatched .office-icon,#messageCustomer .office-icon,#textTechnician .office-icon{width:13px;height:13px}.job-tools button[data-job-tool="messageCustomer"]{min-height:28px;font-size:10px;padding:3px}.job-tools button[data-job-tool="messageCustomer"] span{font-size:13px}.job-tools button[data-job-tool="messageCustomer"] small{font-size:8px}#messageCustomer,#textTechnician{font-size:10px;min-height:28px;padding:4px 7px}}
@media screen{#messagesPanel .composer #sendCustom,#messagesPanel .composer #sendUnmatched,#messageCustomer,#textTechnician,.job-tools button[data-job-tool="messageCustomer"]{background:#fff;color:#526279;border:1px solid #dce4ef;border-radius:7px;box-shadow:none}}
@media screen and (max-width:900px){.mobilebar{display:none!important}.shell>main{padding-top:44px}#mobileNav,#mobileNav.open{display:grid!important;grid-template-columns:repeat(8,minmax(0,1fr));position:fixed;inset:0 0 auto;top:0;z-index:40;padding:4px 6px;gap:3px;background:#f4f7fb;box-shadow:0 1px 4px #101a2c15}#mobileNav .nav{display:flex;align-items:center;justify-content:center;min-width:0;min-height:34px;height:34px;padding:3px 1px;font-size:9px;line-height:1.1;text-align:center;white-space:normal;border:1px solid #dce4ef;border-radius:7px;background:#fff;color:#526279}#mobileNav .nav.active{background:#eaf2ff;border-color:#87aeea;color:#174fa3}#mobileNav .office-icon{display:none}#mobileNav .nav span{min-width:0;overflow-wrap:normal}.worktitle{top:42px}#messagesPanel .conversation,#messagesPanel .chathead,.job-view{scroll-margin-top:44px}}
@media screen and (max-width:900px){.mobilebar{display:flex!important;position:fixed;inset:0 0 auto;top:0;height:54px;min-height:54px;z-index:41}.mobilebar #mobileMenu{display:none}.shell>main{padding-top:96px}#mobileNav,#mobileNav.open{top:54px}.top{display:none!important}.worktitle{top:96px}#messagesPanel .conversation,#messagesPanel .chathead,.job-view{scroll-margin-top:96px}}
@media screen and (max-width:900px){.mobilebar #mobileMenu{display:inline-flex;min-height:28px;padding:4px 7px;font-size:10px}.header-tools{display:flex;align-items:center;gap:6px}.header-search{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;padding:5px;border:1px solid #52617a;border-radius:7px;background:#1d2b44;color:#fff}.header-search svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2}.header-menu{position:absolute;right:6px;top:50px;display:grid;gap:3px;width:170px;padding:6px;background:#fff;border:1px solid #dce4ef;border-radius:8px;box-shadow:0 6px 18px #101a2c30}.header-menu[hidden]{display:none}.header-menu button{background:#fff;color:#526279;border:1px solid #dce4ef;border-radius:6px;padding:7px;text-align:left;font-size:11px}}
@media screen{#workPanel>.panelbar>div{display:none}#workPanel>.panelbar{justify-content:flex-end;padding:4px 0}}
@media screen{#workPanel>.panelbar{display:none}.header-tools #newWork{width:28px;height:28px;min-width:28px;min-height:28px;padding:0;border:1px solid #52617a;border-radius:7px;background:#1d2b44;color:#fff;display:inline-flex;align-items:center;justify-content:center}}
@media screen and (min-width:901px){#workPanel>.panelbar{display:flex}}
@media screen{#dealersPanel>.panelbar{padding:8px 10px;align-items:center}#dealersPanel>.panelbar h2{font-size:15px}#dealersPanel>.panelbar p{display:none}#newDealer{font-size:10px;min-height:28px;padding:4px 8px;border:1px solid #dce4ef;border-radius:7px;background:#fff;color:#526279}#dealerContent{padding:10px}#dealerContent button:not(.dealeritem){font-size:10px;min-height:28px;padding:4px 8px;border:1px solid #dce4ef;border-radius:7px;background:#fff;color:#526279}.dealeractions{display:flex;flex-wrap:nowrap;gap:4px}.dealerhead h3{font-size:16px}.dealerhead p{font-size:12px}.dealersearch input{width:100%;min-height:32px;font-size:16px}.dealer-routing{margin:12px 0;border:1px solid #dce4ef;border-radius:8px;padding:10px}.dealer-routing legend{font-size:12px}.dealer-routing p,.dealer-routing-summary{font-size:11px;color:#526279}.dealer-routing-summary{padding:8px;background:#fff;border:1px solid #dce4ef;border-radius:7px}.dealer-routing small{display:block;font-size:11px;margin-top:6px}.dealer-routing textarea,.dealer-routing select{width:100%;font:inherit;padding:7px;border:1px solid #dce4ef;border-radius:7px;background:#fff}.dealer-routing input[type=checkbox]{width:auto}}
@media screen and (max-width:900px){#workPanel:not(.search-open)>.filters{display:none}#workPanel.search-open>.filters{display:flex}}
@media screen{.order-name{justify-content:flex-start!important}.dealer-car-symbol{font-size:13px;vertical-align:middle}.order-contact-status{display:flex;align-items:center;justify-content:flex-start;gap:5px;margin:4px 0}.order-contact-status .badge{font-size:10px;padding:3px 6px}.message-alert{display:inline-flex;align-items:center;justify-content:center;width:19px;height:19px;border-radius:50%;font-size:13px;font-weight:800}.message-alert.red{background:#fee2e2;color:#b91c1c}.message-alert.yellow{background:#fef3c7;color:#92400e}.message-alert.green{background:#dcfce7;color:#15803d}}
@media screen{.order-card{position:relative}.order-card:has(.order-phone) .order-name{padding-right:108px;min-height:23px}.order-phone{position:absolute;top:9px;right:8px;z-index:2;display:inline-flex;align-items:center;gap:3px;border:1px solid #dce4ef;border-radius:6px;padding:3px 5px;font-size:10px;min-height:24px;background:#fff;color:#2456a0;cursor:pointer}.order-phone span{font-size:13px}}
.customer-note-dialog .call-number-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:end;gap:7px;margin:8px 0}.customer-note-dialog .call-number-row label{min-width:0;margin:0;font-size:11px}.customer-note-dialog .call-number-row input{width:100%;min-width:0;padding:6px;font-size:13px;min-height:32px}.customer-note-dialog .call-number-row button{min-width:0;min-height:32px;margin:0;padding:5px 6px;font-size:10px;border:1px solid #dce4ef;border-radius:7px;background:#fff;color:#526279}
@media screen{.order-contact-status .customer-note-icon{position:static;min-width:21px;min-height:21px;width:21px;height:21px;padding:2px;border-radius:5px;margin:0}.order-contact-status .customer-note-icon svg{width:14px;height:14px}.order-contact-status .customer-note-icon small{display:none}}
@media screen{.order-name{flex-wrap:wrap;align-items:center;gap:3px 7px!important}.order-address{font-size:10px;font-weight:400;color:#526279;overflow-wrap:anywhere}}
@media screen{.order-name{flex-wrap:nowrap!important;min-width:0}.order-name>b{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.order-name .order-address{flex:1 1 0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
@media screen{.order-name .order-price{flex:0 0 auto;font-size:10px;font-weight:650;color:#162033;white-space:nowrap}.order-card:has(.order-phone) .order-name{padding-right:0!important}.order-phone{top:38px}.order-contact-status{padding-right:108px;min-height:24px}.order-name>b{max-width:42%}.order-name .order-address{flex:1 1 auto}}
@media screen{.order-address[data-edit-field],.order-price[data-edit-field]{cursor:pointer;text-decoration:underline;text-decoration-color:#cbd5e1;text-underline-offset:3px}.order-address[data-edit-field]:focus-visible,.order-price[data-edit-field]:focus-visible{outline:2px solid #1456d9;outline-offset:2px}}
@media screen{.job-assignment-symbol{display:inline-flex;align-items:center;justify-content:center;width:21px;height:21px;min-height:21px;padding:2px;border:1px solid #cbd5e1;border-radius:5px;background:#fff;color:#526279;font-size:13px;cursor:pointer}.order-contact-status{gap:4px}}

.order-vehicle-row{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.order-vehicle-row>small{flex:0 1 auto}.order-vehicle-edit{font-size:10px;color:#245783;background:#fff;border:1px solid #dce3eb;border-radius:4px;padding:2px 4px;cursor:pointer;overflow-wrap:anywhere}.order-vehicle-edit:focus-visible{outline:2px solid #2474cf;outline-offset:2px}

.order-contact-status .customer-note-icon,.order-contact-status .job-assignment-symbol{width:16px;height:16px;min-width:16px;min-height:16px;padding:1px;font-size:10px;border-radius:3px}.order-contact-status .customer-note-icon svg,.order-contact-status .job-assignment-symbol svg{width:12px;height:12px}.order-contact-status{gap:3px}

#orders .order-contact-status .badge{font-size:9px;line-height:1.2;padding:2px 4px}.order-contact-status .customer-note-icon,.order-contact-status .job-assignment-symbol{width:23px;height:23px;min-width:23px;min-height:23px;padding:2px;font-size:15px;border-radius:4px}.order-contact-status .customer-note-icon svg,.order-contact-status .job-assignment-symbol svg{width:17px;height:17px}.order-contact-status .message-alert{font-size:15px}

.order-contact-status .customer-note-icon,.order-contact-status .job-assignment-symbol{width:29px;height:29px;min-width:29px;min-height:29px;padding:3px;font-size:20px}.order-contact-status .customer-note-icon svg,.order-contact-status .job-assignment-symbol svg{width:22px;height:22px}.order-contact-status .message-alert{width:25px;height:25px;font-size:19px}

#orders .expanded-job{grid-column:1/-1}#detail.inline-job.order-open{display:block;position:relative;margin:4px 0 8px;padding:9px!important;background:#fff;border:1px solid #dfe6ef;border-radius:8px;max-width:none}#detail.inline-job .worktitle,#detail.inline-job .job-subtitle,#detail.inline-job .employee-next{display:none}#detail.inline-job .job-tools{padding-right:25px;display:flex;flex-wrap:wrap;gap:4px}#detail.inline-job .job-tools button{background:#fff;border:1px solid #dfe6ef;padding:4px;min-width:35px;min-height:32px}#detail.inline-job .job-tools button span{font-size:18px}#detail.inline-job .job-tools button small{font-size:9px}#detail.inline-job .inline-job-close{position:absolute;right:7px;top:8px;width:24px;height:24px;min-height:24px;padding:0;font-size:20px;background:white;border:1px solid #dfe6ef}#detail.inline-job .fulfillment-steps{padding:6px}#detail.inline-job .vendorbox,#detail.inline-job .technician-office,#detail.inline-job .partsmini{margin:4px 0;padding:7px;border:1px solid #e4e9f0;border-radius:6px;background:#fff}#detail.inline-job .vendorhead b,#detail.inline-job .partsminihead b{font-size:12px}#detail.inline-job .vendorhead small,#detail.inline-job .partsminihead small{font-size:10px}#detail.inline-job .job-drawer>summary{padding:7px;font-size:11px}#detail.inline-job button{font-size:11px}#detail.inline-job .technician-row{display:flex;flex-wrap:wrap;gap:5px}#detail.inline-job .editgrid{grid-template-columns:repeat(2,minmax(0,1fr))}

#detail.inline-job .vendorresults{max-height:240px;overflow:auto}#detail.inline-job .assignedvendor{margin:0 0 7px;padding:5px;font-size:11px}#detail.inline-job .dealerwork{margin:0;padding:7px}#detail.inline-job .job-drawer .ops{padding:7px}

#orders .order-card>.order{height:auto!important}#orders .expanded-job{display:flex;flex-direction:column;align-self:start;min-width:0}#detail.inline-job{width:100%;min-width:0;flex:none;overflow:hidden}#detail.inline-job .job-tools{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:3px;padding-right:25px}#detail.inline-job .job-tools button{min-width:0;padding:3px 1px}#detail.inline-job .job-tools small{font-size:8px!important}#detail.inline-job .job-tools button span{font-size:17px}

#detail.inline-job> :not(.inline-job-close):not(.job-tools):not(.inline-active):not(#workMsg){display:none!important}#detail.inline-job>.job-tools{grid-template-columns:repeat(8,minmax(0,1fr))}#detail.inline-job .fulfillment-flow>summary{display:none}#detail.inline-job .fulfillment-flow{border:0;margin:0}#detail.inline-job .fulfillment-steps>section:not(.inline-active){display:none!important}#detail.inline-job .actions.inline-active{margin:5px 0}#detail.inline-job .actions.inline-active button:not(#saveWork){display:none}#detail.inline-job>.inline-active.job-drawer{display:block}#detail.inline-job .inline-active .partedit{padding:5px}#detail.inline-job .inline-active .partform{grid-template-columns:repeat(2,minmax(0,1fr))}

#detail.inline-job .inline-text{padding:8px}#detail.inline-job .inline-text label{display:grid;gap:6px;font-size:11px}#detail.inline-job .inline-text textarea{width:100%;padding:7px;border:1px solid #dfe6ef;border-radius:6px}#detail.inline-job .inline-text button{margin:5px 3px 0 0;padding:5px}

#orders .order-contact-status{padding-right:0;flex-wrap:wrap;gap:3px}#orders .order-card>.order{padding-bottom:7px!important}#orders .order-phone{position:static;float:right;margin:4px 5px 0 0}#orders .order-contact-status .badge{flex:0 0 auto}

#orders .order-card>.order-phone{position:absolute;top:38px;right:8px;float:none;margin:0}#orders .order-contact-status{padding-right:108px}

.vendor-tech-nav{display:flex;justify-content:space-between;gap:7px;margin:5px}.vendor-tech-nav[hidden]{display:none}#detail.inline-job .vendor-tech-nav button{padding:6px 10px;background:white;border:1px solid #dfe6ef;border-radius:5px}#detail.inline-job .tech-dispatch label{display:grid;gap:5px;margin:7px 0}#detail.inline-job .tech-dispatch textarea,#detail.inline-job .tech-dispatch select{width:100%;padding:7px;border:1px solid #dfe6ef;border-radius:5px}

#orders .order-contact-status{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;padding-right:0;align-items:center;margin-top:7px}#orders .order-contact-status .badge{grid-column:1/-1;justify-self:start;font-size:9px}#orders .order-contact-status .customer-note-icon,#orders .order-contact-status .job-assignment-symbol{width:58px;height:58px;min-width:58px;min-height:58px;max-width:100%;padding:6px;font-size:40px;justify-self:center;border-radius:8px;display:inline-flex;align-items:center;justify-content:center}#orders .order-contact-status .customer-note-icon svg,#orders .order-contact-status .job-assignment-symbol svg{width:44px;height:44px}#orders .order-contact-status .message-alert{width:50px;height:50px;font-size:38px;justify-self:center}#orders .order-card>.order-phone{top:37px;right:10px}#orders .order-vehicle-row{margin-top:8px}#detail.inline-job .job-tools{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding-right:28px;gap:7px}#detail.inline-job .job-tools button{min-height:64px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:5px}#detail.inline-job .job-tools button span{font-size:34px}#detail.inline-job .job-tools button small{font-size:10px!important}

#orders .order-contact-status{display:flex;flex-wrap:wrap;gap:5px}#orders .card-action-group{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;width:100%;padding-top:5px;border-top:1px solid #edf1f5}#orders .card-action-heading{grid-column:1/-1;font-size:9px!important;color:#6b778b;margin:0;line-height:1.2}#orders .card-action-group .job-assignment-symbol,#orders .card-action-group .customer-note-icon{width:100%;height:78px;min-width:0;min-height:78px;display:flex;flex-direction:column;gap:3px;padding:4px;background:#fff}#orders .card-action-icon{height:48px;display:flex;align-items:center;justify-content:center;font-size:40px}#orders .card-action-caption{font-size:9px;line-height:1.15;color:#526279;text-align:center;white-space:normal}#orders .card-action-group:last-child{grid-template-columns:repeat(4,minmax(0,1fr))}#orders .card-action-icon small{display:none!important}

#orders .card-action-group .job-assignment-symbol,#orders .card-action-group .customer-note-icon{height:55px;min-height:55px;padding:3px;gap:2px}#orders .card-action-icon{height:34px;font-size:28px}#orders .card-action-icon svg{width:31px;height:31px}#orders .order-contact-status .message-alert{width:35px;height:35px;font-size:27px}#detail.inline-job .job-tools button{min-height:45px}#detail.inline-job .job-tools button span{font-size:24px}

#orders .order-contact-status .card-action-group .job-assignment-symbol svg,#orders .order-contact-status .card-action-group .customer-note-icon svg{width:31px;height:31px}

#orders .card-action-group .job-assignment-symbol,#orders .card-action-group .customer-note-icon{height:50px;min-height:50px}#orders .card-action-icon{height:31px;font-size:25.2px}#orders .order-contact-status .card-action-group .job-assignment-symbol svg,#orders .order-contact-status .card-action-group .customer-note-icon svg{width:27.9px;height:27.9px}#orders .order-contact-status .message-alert{width:31.5px;height:31.5px;font-size:24.3px}#detail.inline-job .job-tools button{min-height:40.5px}#detail.inline-job .job-tools button span{font-size:21.6px}

#detail.inline-job .actions.inline-active .office-more{display:block;width:100%}#detail.inline-job .office-more #deleteWork{display:inline-block!important;position:static;margin:7px 0;color:#b91c1c;background:#fff1f2;border:1px solid #fecdd3;padding:8px 12px}#detail.inline-job .office-more summary{font-size:12px}

#orders .card-action-heading:empty{display:none}#orders .card-action-group{border-top:0;padding-top:2px}#orders .card-action-group:last-child{display:flex;justify-content:flex-end}#orders .card-action-group:last-child .job-assignment-symbol{width:auto;height:26px;min-height:26px;flex-direction:row;padding:3px 7px}#orders .card-action-group:last-child .card-action-icon{height:18px;font-size:19px}#orders .card-action-group:last-child .card-action-caption{font-size:9px}

#detail.inline-job.customer-mode>.customer-tools{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:5px 0}#detail.inline-job.customer-mode>.job-tools{display:none!important}#detail.inline-job:not(.customer-mode)>.customer-tools{display:none!important}#detail.inline-job .customer-tools button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:50px;background:#fff;border:1px solid #dfe6ef;border-radius:6px;padding:4px}#detail.inline-job .customer-tools button span{font-size:25px}#detail.inline-job .customer-tools button small{font-size:9px}

#orders #detail.inline-job.customer-mode>.customer-tools{display:grid!important}#orders #detail.inline-job.customer-mode>.job-tools{display:none!important}

#workPanel #orders #detail.inline-job.customer-mode>.customer-tools{display:grid!important}#workPanel #orders #detail.inline-job.customer-mode>.job-tools{display:none!important}

#workPanel #orders #detail.inline-job.vendor-mode>.vendor-tools{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:5px 0}#workPanel #orders #detail.inline-job.vendor-mode>.job-tools{display:none!important}#detail.inline-job:not(.vendor-mode)>.vendor-tools{display:none!important}#detail.inline-job .vendor-tools button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:50px;background:#fff;border:1px solid #dfe6ef;border-radius:6px;padding:4px}#detail.inline-job .vendor-tools button span{font-size:25px}#detail.inline-job .vendor-tools button small{font-size:9px}

#workPanel #orders #detail.inline-job.technician-mode>.technician-tools{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:5px 0}#workPanel #orders #detail.inline-job.technician-mode>.job-tools{display:none!important}#detail.inline-job:not(.technician-mode)>.technician-tools{display:none!important}#detail.inline-job .technician-tools button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:50px;background:#fff;border:1px solid #dfe6ef;border-radius:6px;padding:4px}#detail.inline-job .technician-tools button span{font-size:25px}#detail.inline-job .technician-tools button small{font-size:9px}

#workPanel #orders #detail.inline-job>.flow-back{display:inline-flex!important;align-items:center;gap:4px;background:white;border:1px solid #dfe6ef;border-radius:6px;padding:6px 10px;margin:0 0 6px;font-size:11px;color:#245783;min-height:30px}#detail.inline-job .job-tools{margin-top:2px}

#orders .job-glance{margin-top:7px;display:grid;gap:5px;clear:both;font-size:11px;color:#34465e}#orders .glance-part{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:5px 9px;border:1px solid #e3e9f1;background:#fff;border-radius:6px;padding:6px}#orders .glance-part-status{grid-column:1/-1;display:flex;gap:6px;justify-content:space-between;align-items:center;border:0;background:transparent;padding:0;min-height:22px;color:#245783;text-align:left;font-size:11px;cursor:pointer}#orders .glance-part-status b{font-size:11px!important;font-weight:600}#orders .glance-part>div{display:grid;gap:2px;min-width:0}#orders .job-glance small{display:block!important;color:#7b8797;font-size:9px!important;text-transform:uppercase;letter-spacing:.3px}#orders .glance-part span{white-space:normal;overflow-wrap:anywhere}#orders .glance-schedule{display:grid;grid-template-columns:70px minmax(0,1fr);gap:6px;align-items:center;padding:6px;border:1px solid #e3e9f1;border-radius:6px;background:white;text-align:left;font-size:11px;min-height:30px;color:#245783;cursor:pointer}#orders .glance-schedule span{white-space:normal;overflow-wrap:anywhere}#orders .glance-missing b,#orders .glance-missing>span{color:#947323!important}

#orders .order-vehicle-row{display:flex;flex-wrap:wrap;align-items:center;gap:3px;margin-top:3px!important;margin-bottom:0!important;padding:0!important}#orders .order-vehicle-row>.card-action-group{display:inline-flex!important;width:auto!important;flex:none!important;margin:0 0 0 auto!important;padding:0!important;border:0!important}#orders .order-vehicle-row .card-action-heading,#orders .order-vehicle-row .card-action-caption{display:none!important}#orders .order-vehicle-row .job-assignment-symbol{width:24px!important;height:20px!important;min-height:20px!important;padding:0!important;gap:0!important;border:0!important;background:transparent!important}#orders .order-vehicle-row .card-action-icon{font-size:18px!important;height:18px!important}#orders .job-glance{margin-top:3px;gap:2px}#orders .glance-part{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 9px;padding:3px 5px;border:0;border-radius:0;border-top:1px solid #edf0f5}#orders .glance-part-status{display:inline-flex;justify-content:flex-start;gap:3px;min-height:18px;flex:0 0 auto;font-size:10px}#orders .glance-part-status b{font-size:10px!important;font-weight:500}#orders .glance-part>div{display:inline-flex;align-items:baseline;gap:3px;min-width:0;max-width:100%;font-size:10px}#orders .job-glance small{font-size:9px!important;text-transform:none;letter-spacing:0;color:#788493}#orders .glance-part>div span{overflow-wrap:anywhere}#orders .glance-schedule{display:flex;flex-wrap:wrap;gap:3px 6px;padding:2px 5px;border:0;border-radius:0;min-height:20px;font-size:10px}#orders .order-contact-status{margin-bottom:2px!important}#orders .order-vehicle-row .order-vehicle-edit{font-size:9px!important;padding:1px 3px!important}

#orders .order-contact-status>.card-action-group:last-child{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));justify-content:normal}#orders .order-contact-status>.card-action-group:last-child .job-assignment-symbol{width:100%;height:50px;min-height:50px;flex-direction:column;padding:3px;gap:2px}#orders .order-contact-status>.card-action-group:last-child .card-action-icon{height:31px;font-size:25.2px}

/* Compact contact line above the main job actions. */
#orders .order-card>.order-phone{top:32px;right:8px;font-size:11px;padding:2px 5px;min-height:22px;max-width:55%}
#orders .order-contact-status{margin-top:3px!important;gap:3px!important}
#orders .order-contact-status>.badge{font-size:10px;padding:2px 5px}
#orders .order-contact-status>.message-alert{width:18px;height:18px;font-size:14px}
#orders .order-contact-status>.card-action-group{margin-top:2px!important;padding-top:0!important}
.quick-address-grid{display:grid;grid-template-columns:80px 1fr 55px;gap:6px}
.zip-address-preview{display:block;font-size:11px;color:#64748b;margin-top:3px}

/* Leads are intentionally separate from dispatch-ready work orders. */
.lead-layout{display:grid;grid-template-columns:minmax(260px,380px) minmax(0,1fr);gap:12px}.leads-list{display:grid;gap:8px;align-content:start}.lead-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px;text-align:left;border:1px solid #dce4ef;background:#fff;border-radius:9px;padding:11px;min-height:74px}.lead-card:hover,.lead-card:focus-visible,.lead-card.selected{border-color:#3b82f6;background:#eef6ff}.lead-card.selected{box-shadow:0 0 0 2px rgba(59,130,246,.18)}.lead-card b,.lead-card span,.lead-card small{grid-column:1}.lead-card .badge{grid-column:2;grid-row:1}.lead-detail{border:1px solid #dce4ef;border-radius:9px;background:#fff;padding:14px;min-width:0;scroll-margin-top:12px}.lead-detail h3{margin:0 0 4px}.lead-detail .editgrid{margin-top:12px}.lead-detail-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.lead-detail [role=status]{display:block;margin-top:8px}.lead-empty{padding:24px;text-align:center;color:#64748b}
@media(max-width:800px){.lead-layout{grid-template-columns:1fr}.lead-detail{padding:11px}.lead-detail-actions button{min-height:44px}}
.lead-translation{margin-top:12px;padding:12px;border:1px solid #dce4ef;border-radius:9px;background:#f8fafc}.lead-translation h4{margin:0 0 8px}.lead-translation label{display:grid;gap:5px;font-weight:700}.lead-translation-message{white-space:pre-wrap;margin:9px 0;color:#334155}.lead-translation-actions{display:flex;gap:8px;flex-wrap:wrap}.lead-translation-result{white-space:pre-wrap;margin:8px 0 0;font-weight:700;color:#0f5132}

.lead-detail h3{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.lead-language-toggle{min-height:30px;padding:4px 10px;border:1px solid #94a3b8;border-radius:999px;background:#fff;color:#334155;font-size:12px;font-weight:800}.lead-language-toggle.active{border-color:#15803d;background:#16a34a;color:#fff}.lead-language-history{display:grid;gap:8px}.lead-language-row{display:grid;gap:3px;padding:9px;border:1px solid #e2e8f0;border-radius:8px;background:#fff}.lead-language-row span,.lead-language-row small{white-space:pre-wrap}.lead-language-row small{color:#475569}

#orders .order-contact-status>.order-phone{position:static;float:none;margin:0 0 0 auto;font-size:11px;padding:2px 5px;min-height:22px;max-width:none}

/* Customer invoice inspired by the receipt layout. */
.invoicecard{background:#fff;max-width:760px;margin:auto}
.receipt-banner{background:#79cee2;color:#102b3c;font-weight:700;font-size:18px;padding:10px 18px}
.receipt-brand{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px;color:#243b53;font-size:12px}
.receipt-brand img{width:240px;max-width:55%;background:#10253d;border-radius:6px;padding:10px}
.receipt-meta{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:0 18px 16px}
.receipt-meta>div{display:flex;flex-direction:column;gap:4px;font-size:12px;overflow-wrap:anywhere}
.receipt-meta small,.receipt-vehicle small,.receipt-service small,.receipt-tech small{font-size:10px;color:#64748b;text-transform:uppercase;letter-spacing:.5px}
.receipt-vehicle{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 18px;border-top:1px solid #bacbd5;border-bottom:1px solid #bacbd5;padding:12px 0}
.receipt-vehicle>div,.receipt-service,.receipt-tech{display:flex;flex-direction:column;gap:4px;font-size:13px;overflow-wrap:anywhere}
.receipt-vehicle .receipt-vin{grid-column:1/-1}
.receipt-service,.receipt-tech{margin:0 18px;padding:12px 0}
.receipt-parts{width:calc(100% - 36px);margin:0 18px;border-collapse:collapse;font-size:12px;table-layout:fixed}
.receipt-parts th,.receipt-parts td{text-align:left;padding:8px 5px;border-bottom:1px solid #d7e2e9;overflow-wrap:anywhere}
.receipt-parts th{background:#edf7fa;color:#183c50}
.receipt-parts th:first-child{width:32px}
.receipt-tech{border-bottom:1px solid #bacbd5}
@media(max-width:480px){.receipt-brand{padding:12px}.receipt-meta{gap:10px}.receipt-brand img{width:180px}.receipt-meta>div{font-size:11px}}
@media print{.receipt-brand img{width:260px}.receipt-parts{font-size:11px}.receipt-banner{background:#79cee2!important}.invoiceamount input{border:0;background:transparent}}

/* Compact receipt body, matching the supplied auto glass receipt. */
.receipt-brand{padding:14px 18px}
.receipt-meta{grid-template-columns:1.2fr 1fr;gap:12px;padding-bottom:12px}
.receipt-meta>div{gap:3px}
.receipt-meta>div>small:first-child{font-size:12px;font-weight:700;color:#172f43}
.receipt-vehicle{padding:9px 0;gap:8px}
.receipt-vehicle b{font-size:14px}
.receipt-vehicle .receipt-vin{grid-column:1/-1;flex-direction:row;align-items:baseline;gap:9px}
.receipt-service{padding:9px 0;flex-direction:row;align-items:baseline;gap:8px}
.receipt-table-wrap{margin:0 18px}
.receipt-parts{width:100%;margin:0;font-size:11px}
.receipt-parts th,.receipt-parts td{padding:7px 3px;vertical-align:top}
.receipt-parts th:first-child{width:24px}
.receipt-parts th:nth-child(2){width:48px}
.receipt-parts th:nth-child(3){width:30%}
.receipt-parts th:nth-child(n+4){width:13%;text-align:right}
.receipt-parts td:nth-child(n+4){text-align:right}
.receipt-parts th{background:#f3f6f8;color:#152e40}
.receipt-pricing-note{display:block;margin:6px 18px;color:#64748b;font-size:10px}
.receipt-tech{flex-direction:row;gap:12px;align-items:baseline;padding:10px 0}
.receipt-tech small{font-weight:700;color:#172f43}
.invoiceamount{display:flex;justify-content:space-between;border-top:1px solid #c8d5de;border-bottom:1px solid #c8d5de;background:white;border-radius:0;margin:10px 18px;padding:10px 0}
.invoiceamount input{max-width:145px;text-align:right;font-weight:700}
@media print{.receipt-parts{font-size:10px}.receipt-pricing-note{font-size:9px}}

.part-vendor-search{display:flex;gap:6px;align-items:center}
.part-vendor-search input,#vendorSearchZip{max-width:100px}
#pcVendorResults{max-height:230px;overflow:auto}
#pcVendorResults>button{display:block;width:100%;text-align:left;margin:4px 0;padding:8px;font-size:12px}
#pcVendorResults small{display:block;font-size:11px;color:#64748b}
.removed-parts{margin:8px 0;font-size:12px}
.removed-parts>div{display:flex;justify-content:space-between;padding:6px;border-bottom:1px solid #e2e8f0}
#pcRemove{color:#a32929}

/* note-flags.css */
.order-card{position:relative;min-width:0}.order-card>.order{width:100%;height:100%;text-align:left}.order-card .order .row:first-child{padding-right:85px}.customer-note-icon{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-width:36px;min-height:36px;padding:5px;border-radius:8px;border:1px solid #cbd5e1;background:#f8fafc;color:#64748b;vertical-align:middle}.customer-note-icon svg{flex-shrink:0}.customer-note-icon small{font-size:10px;font-weight:650}.order-card>.customer-note-icon{position:absolute;top:10px;right:12px}.note-green{color:#166534;background:#f0fdf4;border-color:#86efac}.note-red{color:#854d0e;background:#fefce8;border-color:#facc15}.note-manager{color:#b91c1c;background:#fef2f2;border-color:#fca5a5}.worktitle h3{display:inline-block;margin-right:8px}.customer-note-dialog{width:min(420px,calc(100% - 32px));padding:18px;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 20px 60px #0f172a30}.customer-note-dialog::backdrop{background:#0f172a55}.note-dialog-head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:14px}.note-dialog-head button{min-width:36px;min-height:36px}.customer-note-dialog label{display:grid;gap:6px;margin:12px 0;font-size:12px;font-weight:600}.customer-note-dialog textarea,.customer-note-dialog select{box-sizing:border-box;width:100%;font-size:13px;padding:9px;border:1px solid #cbd5e1;border-radius:7px}.note-meta{font-size:11px;color:#64748b}.customer-note-dialog [role=status]{font-size:12px}.customer-note-dialog .note-save{min-height:40px}

/* calling-ui.css */
#myCallingPhone{font-size:11px;padding:6px;min-height:32px}.employee-call-phone{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:10px 0}.employee-call-phone label{display:grid;gap:4px;font-size:12px}.employee-call-phone input,.customer-note-dialog input{padding:8px;border:1px solid #cbd5e1;border-radius:7px;font-size:13px}.call-customer[role=button]{cursor:pointer}

/* job-activity.css */
.office-task-board{margin:6px 0 10px;border:1px solid #dfe6ef;border-radius:8px;background:#fff;padding:8px;font-size:12px}.office-task-board summary{cursor:pointer;color:#245783}.task-count{background:#edf3fc;border-radius:9px;padding:2px 6px}.board-toolbar,.activity-heading,.activity-tabs,.task-save-row{display:flex;align-items:center;gap:8px;justify-content:space-between}.board-toolbar{margin:8px 0}.board-tasks{display:grid;gap:6px;max-height:320px;overflow:auto}.board-task{text-align:left;display:grid;gap:4px;padding:10px;background:#fff;border:1px solid #e0e6ee;border-radius:7px}.board-task span,.board-task small,.task-item small{display:block;font-size:11px;color:#607086}.job-activity label{display:grid;gap:5px;margin:8px 0;font-size:12px}.job-activity textarea,.job-activity input,.job-activity select{width:100%;box-sizing:border-box;min-width:0;padding:8px;border:1px solid #dfe6ef;border-radius:6px;background:white;font-size:14px}.job-activity button,.office-task-board button,.office-task-board select{border:1px solid #dfe6ef;border-radius:6px;background:white;color:#245783;padding:7px 9px;font-size:12px;min-height:32px}.activity-tabs{justify-content:flex-start;margin:8px 0}.activity-tabs .active{background:#eaf2ff;color:#1765b0;border-color:#9dbfea}.task-assignment{display:grid;grid-template-columns:1fr 1fr;gap:8px}.note-timeline article,.task-item{border-top:1px solid #e5eaf1;margin-top:10px;padding-top:10px}.note-timeline small{color:#607086;font-size:11px}.note-timeline p{white-space:pre-wrap;font-size:13px;margin:5px 0}.task-item{display:flex;gap:8px;justify-content:space-between}.task-item b{font-size:13px}.task-item>div:last-child{display:flex;gap:5px;align-items:start}.task-overdue{border-left:3px solid #dc3939!important;padding-left:8px}.task-done b{text-decoration:line-through;color:#607086}.activity-status{font-size:11px;color:#607086}.job-activity [hidden]{display:none!important}.job-activity .muted{font-size:11px}.job-activity [disabled]{opacity:.55}

#partEdit .partform label[hidden]{display:none!important}.part-custody{color:#245783!important;font-weight:600;white-space:normal!important}

/* app-shell.css */
/* App shell: retain the existing job workspace and desktop navigation. */
.app-dock{display:none}
@media screen and (max-width:900px){
 html{scroll-padding-top:64px;scroll-padding-bottom:82px}
 .shell>main{padding-top:60px!important;padding-bottom:calc(76px + env(safe-area-inset-bottom))}
 #mobileNav,#mobileNav.open{display:none!important}
 .mobilebar{padding-top:env(safe-area-inset-top);height:calc(54px + env(safe-area-inset-top))!important}
 .app-dock{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));position:fixed;inset:auto 0 0;z-index:40;background:#fff;border-top:1px solid #dce4ef;padding:4px 8px calc(4px + env(safe-area-inset-bottom));box-shadow:0 -3px 12px #1620330a}
 .app-dock button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:52px;border:0;border-radius:9px;background:transparent;color:#65748a;cursor:pointer}
 .app-dock button>span{font-size:24px;line-height:26px}
 .app-dock small{font-size:10px;font-weight:600}
 .app-dock button.active{background:#edf4ff;color:#1857b5}
 .app-dock button[hidden]{display:none}
 .app-dock button:focus-visible{outline:2px solid #1857b5;outline-offset:-2px}
 .worktitle{top:54px!important}
 #messagesPanel .conversation,#messagesPanel .chathead,.job-view,.inline-job{scroll-margin-top:64px!important}
 .header-menu{max-height:calc(100dvh - 140px);overflow:auto}
 .inline-job{border-radius:12px;background:#fff}
 .flow-back,.inline-job-close{min-height:36px}
 button,input,select,textarea{-webkit-tap-highlight-color:transparent}
 input,select,textarea{font-size:16px}
}
@media(prefers-reduced-motion:no-preference){.inline-active{animation:office-panel-in .14s ease-out}@keyframes office-panel-in{from{opacity:.5;transform:translateY(4px)}to{opacity:1;transform:none}}}
@media print{.app-dock{display:none!important}}

/* job-guide.css */
/* One ordered section row, focused fields and a consistent action footer. */
#workPanel #orders #detail.inline-job>.guided-job{display:flex!important;flex-direction:column;gap:6px;margin:4px 0 10px;padding:0;border:0;background:white;width:100%}
.guide-icon-row{display:flex;gap:4px;overflow-x:auto;width:100%;padding:2px 0 5px;scrollbar-width:thin}
#detail .guide-icon-row button{display:flex;flex:1 0 48px;flex-direction:column;align-items:center;gap:3px;min-height:50px;padding:5px 2px;border:1px solid #e1e7ef;border-radius:8px;background:#fff;color:#65748a}
#detail .guide-icon-row button span{font-size:22px;line-height:24px}
#detail .guide-icon-row button small{font-size:9px}
#detail .guide-icon-row button.active{background:#eaf2ff;color:#1857b5;border-color:#87aeea}
.guide-title{font-size:12px;font-weight:600;color:#526279}
#workPanel #orders #detail[data-guide-step]>.job-tools,#workPanel #orders #detail[data-guide-step]>.customer-tools,#workPanel #orders #detail[data-guide-step]>.vendor-tools,#workPanel #orders #detail[data-guide-step]>.technician-tools,#workPanel #orders #detail[data-guide-step]>.flow-back:not(.guided-job):not(.guide-footer){display:none!important}
#detail[data-guide-step] #editFields>.guide-field-hidden{display:none!important}
#detail[data-guide-step] #editFields{gap:10px;margin:8px 0}
#detail[data-guide-step] #editFields label{font-size:11px;color:#65748a}
#detail[data-guide-step] #editFields input,#detail[data-guide-step] #editFields select{width:100%;min-height:40px;margin-top:4px;padding:8px;border:1px solid #dce4ef;border-radius:7px;background:#fff;color:#162033;font-size:14px}
#detail[data-guide-step] #editFields label:has(#editName),#detail[data-guide-step] #editFields label:has(#editAddress),#detail[data-guide-step] #editFields label:has(#editVin){grid-column:1/-1}
#detail[data-guide-step] .actions #saveWork{display:none!important}
#workPanel #orders #detail.inline-job>.guide-footer{display:flex!important;align-items:center;gap:8px;justify-content:space-between;width:100%;margin:10px 0 0;padding:8px;background:#fff;border:1px solid #dce4ef;border-radius:8px}
#detail .guide-footer>button{min-height:38px;border-radius:8px;padding:8px 16px;border:1px solid #cddbea;background:white;color:#2456a0}
#detail .guide-footer>button:nth-child(2){flex:1;background:#2456a0;color:white;border-color:#2456a0}
#detail .guide-footer button:disabled{opacity:.45}
.guide-more{position:relative}.guide-more>summary{list-style:none;cursor:pointer;font-size:24px;padding:4px 8px}.guide-more-menu{position:absolute;right:0;bottom:42px;display:grid;gap:4px;background:white;min-width:170px;border:1px solid #dce4ef;box-shadow:0 4px 18px #16203322;border-radius:8px;padding:6px;z-index:50}.guide-more-menu button{text-align:left;background:white;border:0;padding:9px;font-size:12px}
@media(max-width:900px){
 #workPanel #orders #detail.inline-job>.guide-footer{position:fixed;left:8px;right:8px;bottom:calc(66px + env(safe-area-inset-bottom));width:auto;z-index:39;box-shadow:0 -2px 10px #16203312}
 #workPanel #orders #detail.inline-job[data-guide-step]{padding-bottom:70px!important}
 #detail[data-guide-step] #editFields input,#detail[data-guide-step] #editFields select{font-size:16px}
}
@media print{.guided-job,.guide-footer{display:none!important}}

#detail[data-guide-step] .vendor-tech-nav,#detail[data-guide-step="5"] .ops .office-notes{display:none!important}

#detail .guide-icon-row{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:3px;overflow:visible}
#detail .guide-icon-row button{min-width:0;min-height:46px}
#workPanel #orders #detail.inline-job>.guided-job{width:calc(100% - 26px)}
@media(max-width:430px){#detail .guide-icon-row button small{font-size:7.5px}}

/* vehicle-picker.css */
.vehicle-picker-tools{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:6px}.vehicle-picker-tools button{padding:6px 9px;min-height:32px;border:1px solid #cddbea;border-radius:7px;background:white;color:#2456a0}.vehicle-picker-tools small{flex-basis:100%;font-size:11px;line-height:1.4;color:#65748a}#detail[data-guide-step] #editFields label:has(#editStyle){grid-column:1/-1}

/* customer-compact.css */
/* Compact customer editor: name/estimate, phones, and one address row. */
#detail[data-guide-step="0"] #editFields{display:grid!important;grid-template-columns:repeat(12,minmax(0,1fr));gap:5px 6px!important;padding:6px!important}
#detail[data-guide-step="0"] #editFields>label{min-width:0;margin:0!important;font-size:10px!important;line-height:1.2;letter-spacing:.02em;gap:2px!important}
#detail[data-guide-step="0"] #editFields>label:has(#editName){grid-column:span 9;grid-row:1}
#detail[data-guide-step="0"] #editFields>label:has(#editPrice){grid-column:span 3;grid-row:1}
#detail[data-guide-step="0"] #editFields>label:has(#editPhone),#detail[data-guide-step="0"] #editFields>label:has(#editAltPhone){grid-column:span 6;grid-row:2}
#detail[data-guide-step="0"] #editFields>label:has(#editEmail){grid-column:span 12;grid-row:3}
#detail[data-guide-step="0"] #editFields>label:has(#editAddress){grid-column:span 6;grid-row:4}
#detail[data-guide-step="0"] #editFields>label:has(#editCity){grid-column:span 3;grid-row:4}
#detail[data-guide-step="0"] #editFields>label:has(#editRegion){grid-column:span 1;grid-row:4}
#detail[data-guide-step="0"] #editFields>label:has(#editZip){grid-column:span 2;grid-row:4}
#detail[data-guide-step="0"] #editFields input{width:100%;min-width:0;height:30px!important;min-height:30px!important;padding:4px 5px!important;font-size:12px!important;border-radius:5px!important;box-sizing:border-box}
#detail[data-guide-step="0"] #editFields>.guide-field-hidden{display:none!important}
@media(max-width:480px){#detail[data-guide-step="0"] #editFields{gap:4px!important}#detail[data-guide-step="0"] #editFields>label:has(#editAddress){grid-column:span 5}#detail[data-guide-step="0"] #editFields>label:has(#editRegion){grid-column:span 2}#detail[data-guide-step="0"] #editFields>label:has(#editZip){grid-column:span 2}}

.billing-address-label{display:flex;align-items:center;justify-content:space-between;gap:3px;white-space:nowrap}
#detail[data-guide-step="0"] #editFields .billing-address-label{font-size:9px;letter-spacing:0}
#detail #editInstallationAddress{font-size:9px!important;line-height:1!important;min-height:0!important;padding:2px 3px!important;border:0!important;background:transparent!important;color:#1762a7;white-space:nowrap;border-radius:3px}
@media(max-width:480px){#detail[data-guide-step="0"] #editFields>label:has(#editAddress){grid-column:span 6}#detail[data-guide-step="0"] #editFields>label:has(#editCity){grid-column:span 2}}

/* Modern compact customer workspace */
#detail[data-guide-step="0"]{background:#fff!important;border:1px solid #e8edf3!important;border-radius:16px!important;padding:10px 10px 12px!important;box-shadow:0 3px 14px rgba(23,43,72,.04)!important}
#detail[data-guide-step="0"] #editFields{background:#fff!important;border:0!important;border-radius:0!important;padding:4px!important;gap:9px 8px!important;margin:5px 0!important}
#detail[data-guide-step="0"] #editFields>label{display:flex;flex-direction:column;gap:5px!important;color:#66758a!important;text-transform:none!important;font-size:11px!important;font-weight:500!important;letter-spacing:0!important;line-height:1.2!important}
#detail[data-guide-step="0"] #editFields input{background:#f5f7fa!important;color:#172b45!important;border:1px solid #e4eaf1!important;border-radius:8px!important;font-weight:500!important;font-size:13px!important;height:34px!important;min-height:34px!important;padding:6px 8px!important;box-shadow:none!important;transition:background .15s,border-color .15s,box-shadow .15s}
#detail[data-guide-step="0"] #editFields input::placeholder{color:#9aa6b5!important;font-weight:400!important}
#detail[data-guide-step="0"] #editFields input:focus{outline:none!important;background:#fff!important;border-color:#7ca6db!important;box-shadow:0 0 0 3px rgba(43,103,181,.09)!important}
#detail[data-guide-step="0"] #editName{font-weight:600!important}
#detail[data-guide-step="0"] .billing-address-label{font-size:10px!important;color:#66758a}
#detail[data-guide-step="0"] #editInstallationAddress{font-size:10px!important;color:#3978bc!important;padding:1px 2px!important}
#detail[data-guide-step="0"] .guided-job{margin-bottom:6px!important;border:0!important;box-shadow:none!important;background:transparent!important}
#detail[data-guide-step="0"] .guide-title{font-size:11px!important;font-weight:500!important;color:#8190a3!important}
#detail[data-guide-step="0"] .guide-icon-row{gap:4px!important}
#detail[data-guide-step="0"] .guide-icon-row button{border-radius:9px!important;border:1px solid #eef1f5!important;background:#fff!important;box-shadow:none!important}
#detail[data-guide-step="0"] .guide-icon-row button.active{background:#eef5fd!important;border-color:#d7e7fa!important;color:#245f9e!important}
#detail[data-guide-step="0"] .guide-footer{border-radius:12px!important;box-shadow:0 -2px 12px rgba(23,43,72,.03)!important;margin-top:6px!important;padding:6px!important}
#detail[data-guide-step="0"] .guide-footer>button{border-radius:9px!important;min-height:34px!important}
#detail[data-guide-step="0"]>details{margin:2px 0!important}
#detail[data-guide-step="0"]>details>summary{width:auto!important;min-height:24px!important;padding:3px 8px!important;border-radius:6px!important;font-size:11px!important}
@media(max-width:480px){#detail[data-guide-step="0"] #editFields{gap:8px 4px!important}#detail[data-guide-step="0"] #editFields input{padding:5px!important;font-size:12px!important}#detail[data-guide-step="0"] .billing-address-label,#detail[data-guide-step="0"] #editInstallationAddress{font-size:9px!important}}

.order-installation-row{display:flex;align-items:baseline;gap:6px;margin:3px 0 4px;min-width:0;font-size:11px;line-height:1.35}
.installation-caption{flex:none;color:#6c7b8e;font-size:10px;font-weight:500}
.order-installation-address{min-width:0;color:#2e659c;cursor:pointer;overflow-wrap:anywhere}
.order-installation-address:hover{text-decoration:underline}
.order-installation-address:focus-visible{outline:2px solid #7ca6db;outline-offset:2px;border-radius:3px}

.order-alt-phone{font-size:11px!important;line-height:1.3!important;min-height:0!important;padding:2px 4px!important;color:#3978bc!important;background:transparent!important;border:0!important;border-radius:4px!important;white-space:nowrap}
.order-alt-phone:hover{background:#eef5fd!important}
.order-alt-phone:focus-visible{outline:2px solid #7ca6db;outline-offset:2px}

.order-name>b[data-edit-field]{cursor:pointer}
.order-name>b[data-edit-field]:hover{text-decoration:underline}
.order-alt-contact{font-size:11px!important;color:#3978bc!important;padding:2px 4px!important;border:0!important;background:transparent!important;min-height:0!important;border-radius:4px!important}
.card-contact-editor{display:flex;flex-wrap:wrap;align-items:end;gap:8px;padding:10px;margin:4px 0 8px;background:#f7f9fc;border:1px solid #e4eaf1;border-radius:10px}
.card-contact-editor label{flex:1;min-width:120px;font-size:11px;color:#66758a}
.card-contact-editor input{width:100%;box-sizing:border-box;padding:7px;border:1px solid #dfe6ee;border-radius:7px;background:#fff;font-size:13px}
.card-contact-editor button{font-size:11px;padding:6px 9px;min-height:30px;border-radius:7px}
.card-contact-editor small{width:100%;color:#a63c3c}

.job-detail-rows{display:grid;gap:3px;margin-bottom:4px}
.job-data-row{display:grid;gap:4px;min-width:0}
.row-customer,.row-alternate{grid-template-columns:minmax(0,1fr) minmax(0,1.45fr) minmax(0,1fr)}
.row-vehicle{grid-template-columns:minmax(0,.55fr) minmax(0,.9fr) minmax(0,1fr) minmax(0,1.2fr)}
.row-fulfillment{grid-template-columns:minmax(0,1.5fr) minmax(0,.7fr) minmax(0,1fr) minmax(0,1fr)}
.job-data-row .job-row-field{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:2px!important;padding:4px 5px!important;background:#f8fafc!important;border:1px solid #edf1f6!important;border-radius:6px!important;min-width:0!important;min-height:34px!important;width:100%!important;text-align:left!important}
.job-row-field>small{font-size:9px!important;line-height:1.1;color:#8591a1;font-weight:400}
.job-row-field>span{font-size:11px!important;line-height:1.25;color:#233f5f;overflow-wrap:anywhere;white-space:normal!important;max-width:100%}
.row-customer .job-row-field:first-child>span{font-weight:600}
.job-row-field:hover{border-color:#bdd4ee!important}
.job-data-row .office-icon{display:none!important}
.row-fulfillment .job-row-field:first-child>span{font-size:10px!important}
@media(max-width:480px){.job-data-row{gap:3px}.job-data-row .job-row-field{padding:3px!important}.job-row-field>span{font-size:10px!important}}

.job-bottom-actions{display:flex!important;align-items:center;gap:5px;margin-top:7px;padding-top:6px;border-top:1px solid #edf1f6}
.job-bottom-actions .card-action-group{display:flex!important;align-items:center;gap:5px;margin:0!important;padding:0!important;flex:1}
.job-bottom-actions .card-action-group:last-child{flex:0}
.job-bottom-actions .card-action-heading{display:none}
.job-bottom-actions .job-assignment-symbol{flex:1!important;min-width:0!important;margin:0!important}
.job-bottom-actions .card-action-group:last-child .job-assignment-symbol{min-width:30px!important}

.customer-name-estimate{display:flex;gap:3px;min-width:0}.customer-name-estimate>.job-row-field:first-child{flex:1}.customer-name-estimate>.job-row-field:last-child{width:auto!important;flex:0 0 52px}
.row-alternate .job-row-field:has(span:first-child){min-height:22px!important}
.job-next-action{font-size:10px;color:#2865a4;background:#eef5fd;border-radius:5px;padding:3px 6px;margin:4px 0;font-weight:500}
.row-inline-editor{border:1px solid #dce8f5;background:#f5f9fe;border-radius:8px;padding:7px;margin:4px 0;grid-column:1/-1}
.row-inline-fields{display:flex;flex-wrap:wrap;gap:5px}.row-inline-fields label{flex:1;min-width:70px;font-size:10px;color:#687b91}.row-inline-fields label:has(#quickAddress){flex:2;min-width:140px}
.row-inline-fields input{width:100%;box-sizing:border-box;min-height:30px;border:1px solid #dce3ed;background:#fff;border-radius:6px;padding:5px;font-size:12px}
.row-inline-buttons{display:flex;gap:5px;margin-top:6px}.row-inline-buttons button{font-size:11px!important;padding:5px 10px!important;min-height:28px!important;border-radius:6px!important}.row-inline-buttons button[type=submit]{background:#2a65a8;color:#fff;border-color:#2a65a8}
.row-inline-editor>[role=status]{display:block;color:#a43b3b;font-size:11px}

/* Dense job rows: height follows readable text rather than a fixed tile. */
.job-detail-rows{gap:2px!important}
.job-data-row{gap:3px!important;align-items:stretch}
.job-data-row .job-row-field{min-height:0!important;height:auto!important;padding:2px 4px!important;gap:1px!important;border-radius:4px!important}
.job-row-field>small{font-size:8px!important;line-height:10px!important}
.job-row-field>span{font-size:11px!important;line-height:13px!important}
.row-fulfillment .job-row-field:first-child>span{font-size:10px!important;line-height:13px!important}
.order{padding:6px!important}
.job-next-action{margin:3px 0!important;padding:2px 5px!important;line-height:13px!important}
.order-contact-status{margin:2px 0!important;gap:4px!important}
.job-bottom-actions{margin-top:4px!important;padding-top:3px!important}
.job-bottom-actions .job-assignment-symbol{min-height:30px!important;height:auto!important;padding:3px!important}
.job-bottom-actions .card-action-icon{height:17px!important;line-height:17px!important}
.job-bottom-actions .card-action-icon svg{height:17px!important;width:17px!important}
.job-bottom-actions .card-action-caption{font-size:9px!important;line-height:11px!important}
.row-inline-fields input{min-height:26px!important;height:26px!important;padding:3px 5px!important;line-height:18px!important}
@media(max-width:480px){.job-data-row .job-row-field{padding:2px 3px!important}.job-row-field>span{font-size:10px!important;line-height:12px!important}}

/* Text-aware flexible widths; each requested row remains intact. */
.job-data-row{display:flex!important;gap:3px!important}
.job-data-row>.job-row-field,.job-data-row>.customer-name-estimate{flex:var(--fit-weight,1) 1 0%!important;width:auto!important;min-width:0!important}
.job-data-row>.order-phone{flex:1.1 1 0%!important}
.customer-name-estimate>.job-row-field:first-child{width:auto!important;min-width:0!important;flex:1 1 0%!important}
.customer-name-estimate>.job-row-field:last-child{flex:0 0 47px!important;width:47px!important}
.job-row-field>span{overflow-wrap:anywhere!important;word-break:normal!important}
@media(max-width:480px){.customer-name-estimate>.job-row-field:last-child{flex-basis:43px!important;width:43px!important}}

/* Keep every job action visible in a compact wrapping toolbar. */
.job-bottom-actions{flex-wrap:wrap}.job-bottom-actions .card-action-group{display:contents}.job-bottom-actions .job-assignment-symbol{flex:1 1 34px;min-width:34px}.job-bottom-actions .card-action-caption{font-size:9px;white-space:nowrap}

/* dispatch-ui.css */
/* Approved dispatch layout; existing authenticated workflow and controls. */
body.dispatch-office{background:#f7f9fc;color:#13263f;font-family:system-ui,-apple-system,Segoe UI,sans-serif}body.dispatch-office .shell{grid-template-columns:205px minmax(0,1fr);max-width:none;width:100%;margin:0}body.dispatch-office .side{background:#102b49;padding:26px 14px;width:auto}body.dispatch-office .side .brand{margin-bottom:28px}body.dispatch-office main{max-width:none;min-width:0;padding:0!important}body.dispatch-office .top{background:white;border-bottom:1px solid #dfe6ee;padding:20px 24px;margin:0;border-radius:0}body.dispatch-office .top h1{font-size:23px;color:#102b49}body.dispatch-office .top p{font-size:12px}body.dispatch-office .metrics{margin:0;padding:20px 24px;background:#f7f9fc;gap:12px}body.dispatch-office .metriccard{background:#edf5ff;color:#102b49;border:1px solid #d0e2fa;border-radius:8px;box-shadow:none}body.dispatch-office :is(#workPanel,#leadsPanel){padding:0;border:0;background:transparent;margin:0;box-shadow:none;border-radius:0}body.dispatch-office #workQueues{display:none}body.dispatch-office :is(#workPanel,#leadsPanel)>.panelbar{padding:0 24px 14px;display:flex!important;align-items:center}body.dispatch-office :is(#workPanel,#leadsPanel)>.filters{display:flex!important;padding:10px 24px 20px;max-width:none;margin:0;gap:12px}body.dispatch-office :is(#workPanel,#leadsPanel)>.filters #search{display:block!important;width:100%;background:white}body.dispatch-office :is(#workPanel,#leadsPanel)>.layout{display:grid!important;grid-template-columns:minmax(440px,1fr) minmax(480px,1fr);gap:0;align-items:start;overflow:visible}body.dispatch-office #orders{display:block;width:auto;min-width:0;padding:0 24px 24px;max-height:none;overflow:visible}body.dispatch-office :is(#detail,#leadDetail){position:sticky!important;top:0;display:block;min-width:0;width:auto!important;max-width:none!important;margin:0!important;padding:24px!important;transform:none!important;border-radius:0!important;box-shadow:none!important;border:0!important;border-left:1px solid #dfe6ee!important;background:white;overflow:visible!important;max-height:none!important;grid-column:auto!important}body.dispatch-office :is(#detail,#leadDetail):empty{display:none}body.dispatch-office :is(#workPanel,#leadsPanel)>.layout:has(:is(#detail,#leadDetail):empty){grid-template-columns:1fr}body.dispatch-office :is(#workPanel,#leadsPanel) .job-back{display:none}body.dispatch-office .dispatch-toolbar{padding:0 24px}.dispatch-view-tabs{display:flex;gap:20px;border-bottom:1px solid #dfe6ee;margin-bottom:12px}.dispatch-view-tabs button{border:0;background:transparent;border-radius:0;padding:10px 0;color:#65758b;font-weight:600}.dispatch-view-tabs button[aria-pressed=true]{color:#0969ed;border-bottom:3px solid #0969ed}.dispatch-filters{display:flex;gap:12px;align-items:end}.dispatch-filters label{font-size:11px;flex:1;color:#65758b}.dispatch-filters input,.dispatch-filters select{display:block;width:100%;margin-top:4px;font-size:12px;padding:9px;border:1px solid #ccd7e4;border-radius:6px;background:white}.dispatch-toolbar small{display:block;padding:8px 0;font-size:11px;color:#65758b}.dispatch-table-wrap{overflow:auto;border:1px solid #dfe6ee;border-radius:8px;background:white}.dispatch-table{width:100%;border-collapse:collapse;font-size:12px}.dispatch-table th{padding:12px 9px;text-align:left;font-size:11px;color:#65758b;background:#f3f6fa;font-weight:500}.dispatch-table td{padding:14px 9px;border-top:1px solid #dfe6ee;vertical-align:middle}.dispatch-table td:first-child{max-width:120px;overflow-wrap:anywhere}.dispatch-table strong{display:block;font-size:12px}.dispatch-table small{display:block;font-size:10px;color:#65758b;margin-top:2px}.dispatch-row{cursor:pointer}.dispatch-row:hover,.dispatch-row.selected{background:#edf5ff}.dispatch-row.selected{box-shadow:inset 3px 0 #0969ed}.dispatch-job-link{padding:0;border:0;background:none;color:#0969ed;font-size:11px;text-align:left;font-weight:700;overflow-wrap:anywhere}.dispatch-badge{display:inline-block;font-size:10px;padding:3px 6px;border-radius:5px;background:#e7ebf0;color:#52647d;white-space:nowrap}.dispatch-badge.scheduled{background:#deedff;color:#075ecc}.dispatch-badge.pending{background:#ffedcc;color:#a45500}.dispatch-badge.completed{background:#dcf3e8;color:#078157}.dispatch-badge.canceled{background:#fbe3e4;color:#a34953}.dispatch-calendar section{background:white;border:1px solid #dfe6ee;border-radius:8px;margin-bottom:12px;padding:14px}.dispatch-calendar h3{font-size:12px;margin:0 0 12px}.dispatch-calendar section>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.dispatch-calendar-job{display:grid;gap:6px;text-align:left;padding:12px;background:#edf5ff;border:1px solid #d5e6fb;border-radius:6px}.dispatch-calendar-job small,.dispatch-calendar-job span{font-size:11px}.dispatch-location{background:white;border:1px solid #dfe6ee;border-radius:7px;padding:14px;margin-bottom:10px;display:grid;gap:5px}.dispatch-location button{justify-self:start}.dispatch-location span,.dispatch-location a,.dispatch-map-note{font-size:12px}.dispatch-empty{padding:30px;text-align:center;color:#65758b}body.dispatch-office :is(#detail,#leadDetail) .worktitle{display:flex!important;align-items:center;gap:10px;padding:0;margin:0 0 16px;border:0;background:none}body.dispatch-office :is(#detail,#leadDetail) .worktitle h3{font-size:18px;overflow-wrap:anywhere}body.dispatch-office :is(#detail,#leadDetail) .worktitle .muted{font-size:10px}body.dispatch-office :is(#detail,#leadDetail) .worktitleactions{display:flex!important;margin-left:auto;gap:7px;align-items:center}body.dispatch-office :is(#detail,#leadDetail) .worktitleactions #editWork{display:none}body.dispatch-office :is(#detail,#leadDetail) .worktitleactions button{font-size:12px}body.dispatch-office :is(#detail,#leadDetail) .worktitleactions #messageCustomer{display:none}.dispatch-close{font-size:22px!important;border:0;background:white;color:#65758b}body.dispatch-office :is(#detail,#leadDetail) .dispatch-detail-tabs{display:flex!important;overflow:auto;gap:18px;border-bottom:1px solid #dfe6ee;margin-bottom:16px}body.dispatch-office :is(#detail,#leadDetail) .dispatch-detail-tabs button{border:0;border-radius:0;background:transparent;padding:9px 0;font-size:12px;color:#65758b;white-space:nowrap}body.dispatch-office :is(#detail,#leadDetail) .dispatch-detail-tabs .active{border-bottom:3px solid #0969ed;color:#0969ed}body.dispatch-office :is(#detail,#leadDetail) .dispatch-pane{display:block!important}body.dispatch-office :is(#detail,#leadDetail) .dispatch-pane[hidden]{display:none!important}body.dispatch-office :is(#detail,#leadDetail) [hidden]{display:none!important}body.dispatch-office :is(#detail,#leadDetail) .dispatch-pane>*{max-width:none}body.dispatch-office :is(#detail,#leadDetail) .dispatch-info-cards{display:grid!important;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:14px}body.dispatch-office :is(#detail,#leadDetail) .dispatch-info-card{border:1px solid #dfe6ee;border-radius:8px;padding:14px;display:grid;gap:8px}body.dispatch-office :is(#detail,#leadDetail) .dispatch-info-card h3{font-size:14px;margin:0 0 4px}body.dispatch-office :is(#detail,#leadDetail) label{font-size:11px;color:#65758b}body.dispatch-office :is(#detail,#leadDetail) input,body.dispatch-office :is(#detail,#leadDetail) select{padding:8px;font-size:12px;border:1px solid #ccd7e4;border-radius:6px;background:white;min-width:0;width:100%}body.dispatch-office :is(#detail,#leadDetail) .dispatch-info-card label{display:block!important;margin:0}body.dispatch-office :is(#detail,#leadDetail) .partsmini{display:block!important;border:1px solid #dfe6ee;border-radius:8px;padding:14px;margin:0 0 14px;background:white}body.dispatch-office :is(#detail,#leadDetail) .partsminihead{display:flex!important;justify-content:space-between;align-items:center}body.dispatch-office :is(#detail,#leadDetail) .part-entry{display:block!important;padding:12px 0;border:0;border-top:1px solid #dfe6ee;background:white;margin-top:10px}body.dispatch-office :is(#detail,#leadDetail) .part-line-fields{display:grid!important;grid-template-columns:1.2fr 1fr 1fr .65fr;gap:7px}body.dispatch-office :is(#detail,#leadDetail) .part-line-actions{display:flex!important;flex-wrap:wrap;gap:7px;margin-top:8px}body.dispatch-office :is(#detail,#leadDetail) .part-line-actions button,body.dispatch-office :is(#detail,#leadDetail) .partsminihead button{font-size:11px;padding:6px 9px}body.dispatch-office :is(#detail,#leadDetail) .partedit{display:block!important}body.dispatch-office :is(#detail,#leadDetail) .partedit.hidden{display:none!important}body.dispatch-office :is(#detail,#leadDetail) .ops{display:grid!important;grid-template-columns:1fr 1fr;border:1px solid #dfe6ee;border-radius:8px;padding:14px;margin:0 0 14px;gap:10px;background:white}body.dispatch-office :is(#detail,#leadDetail) .ops textarea{font-size:12px}body.dispatch-office :is(#detail,#leadDetail) .dispatch-cost-summary{display:grid!important;grid-template-columns:repeat(3,1fr);border:1px solid #dfe6ee;border-radius:8px;margin:14px 0;padding:14px;text-align:center;gap:8px}.dispatch-cost-summary small{font-size:10px;color:#65758b;display:block}.dispatch-cost-summary strong{font-size:20px;display:block}.dispatch-message-intro h3{font-size:16px}.dispatch-message-intro p{font-size:12px;color:#65758b}body.dispatch-office :is(#detail,#leadDetail) .actions{display:flex!important;flex-wrap:wrap;gap:8px}body.dispatch-office :is(#detail,#leadDetail) .actions button{font-size:11px;padding:8px 10px}body.dispatch-office :is(#detail,#leadDetail) .job-tools,body.dispatch-office :is(#detail,#leadDetail) .flow-back,body.dispatch-office :is(#detail,#leadDetail) .job-subtitle,body.dispatch-office :is(#detail,#leadDetail) .job-guide,body.dispatch-office :is(#detail,#leadDetail) .employee-next,body.dispatch-office :is(#detail,#leadDetail) .customer-tools,body.dispatch-office :is(#detail,#leadDetail) .vendor-tools,body.dispatch-office :is(#detail,#leadDetail) .technician-tools{display:none!important}body.dispatch-office :is(#detail,#leadDetail) .dispatch-pane .financebox,body.dispatch-office :is(#detail,#leadDetail) .dispatch-pane .vendorbox,body.dispatch-office :is(#detail,#leadDetail) .dispatch-pane .technician-office,body.dispatch-office :is(#detail,#leadDetail) .dispatch-pane .job-activity{display:block!important}body.dispatch-office :is(#detail,#leadDetail) .dispatch-pane #invoicePanel.hidden{display:none!important}body.dispatch-office :is(#detail,#leadDetail) .dispatch-pane .invoicecard{display:block!important}body.dispatch-office :is(#detail,#leadDetail) .fulfillment-flow,body.dispatch-office :is(#detail,#leadDetail)>.job-drawer{display:none!important}body.dispatch-office button:focus-visible,body.dispatch-office input:focus-visible,body.dispatch-office select:focus-visible{outline:3px solid #70aaff;outline-offset:2px}
@media(max-width:1200px){body.dispatch-office .shell{grid-template-columns:165px minmax(0,1fr)}body.dispatch-office :is(#workPanel,#leadsPanel)>.layout{grid-template-columns:1fr}body.dispatch-office :is(#detail,#leadDetail){position:static!important;border-left:0!important;border-top:1px solid #dfe6ee!important}}@media(max-width:700px){body.dispatch-office .shell{display:block}body.dispatch-office .side{display:none}body.dispatch-office .mobilebar{display:flex!important}body.dispatch-office .top{padding:16px}body.dispatch-office .metrics{padding:12px 15px;grid-template-columns:repeat(2,1fr)}body.dispatch-office :is(#workPanel,#leadsPanel)>.panelbar{padding:12px 15px}body.dispatch-office :is(#workPanel,#leadsPanel)>.filters{padding:10px 15px;flex-wrap:wrap}body.dispatch-office :is(#workPanel,#leadsPanel)>.filters #statusFilter{display:block!important}body.dispatch-office .dispatch-toolbar{padding:0 15px}.dispatch-filters{display:grid;grid-template-columns:1fr 1fr}.dispatch-filters label:first-child{grid-column:1/-1}body.dispatch-office #orders{padding:15px}body.dispatch-office :is(#detail,#leadDetail){padding:15px!important;display:none}body.dispatch-office.dispatch-detail-open :is(#detail,#leadDetail){display:block!important}body.dispatch-office.dispatch-detail-open #orders{display:none}body.dispatch-office :is(#detail,#leadDetail) .dispatch-info-cards{grid-template-columns:1fr}body.dispatch-office :is(#detail,#leadDetail) .part-line-fields{grid-template-columns:1fr 1fr}body.dispatch-office :is(#detail,#leadDetail) .worktitle{flex-wrap:wrap}body.dispatch-office :is(#detail,#leadDetail) .ops{grid-template-columns:1fr}.dispatch-cost-summary strong{font-size:17px}}

body.dispatch-office :is(#detail,#leadDetail).dispatch-job>:not(.worktitle):not(.dispatch-detail-tabs):not(.dispatch-pane){display:none!important}body.dispatch-office .metrics:not(.hidden){display:grid!important}body.dispatch-office :is(#detail,#leadDetail).dispatch-job .dispatch-pane .dispatch-info-card{display:grid!important}body.dispatch-office :is(#detail,#leadDetail).dispatch-job .dispatch-pane .dispatch-info-card label{position:static!important;display:block!important;grid-column:auto!important;width:auto!important}body.dispatch-office .dispatch-info-card input,body.dispatch-office .dispatch-info-card select{width:100%!important}

/* Phone jobs use cards instead of squeezing six columns into the viewport. */
@media(max-width:700px){
 body.dispatch-office .dispatch-table-wrap{overflow:visible;border:0;background:transparent}
 body.dispatch-office .dispatch-table,body.dispatch-office .dispatch-table tbody{display:block;width:100%}
 body.dispatch-office .dispatch-table thead{display:none}
 body.dispatch-office .dispatch-table tr.dispatch-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px 16px;padding:16px;margin-bottom:12px;background:white;border:1px solid #dfe6ee;border-radius:10px}
 body.dispatch-office .dispatch-table tr.dispatch-row.selected{background:#edf5ff}
 body.dispatch-office .dispatch-table td{display:block;min-width:0;max-width:none;padding:0;border:0;font-size:13px;overflow-wrap:break-word}
 body.dispatch-office .dispatch-table td::before{display:block;font-size:10px;color:#65758b;margin-bottom:4px}
 body.dispatch-office .dispatch-table td:nth-child(1){grid-column:1;grid-row:2}
 body.dispatch-office .dispatch-table td:nth-child(1)::before{content:'Job ID'}
 body.dispatch-office .dispatch-table td:nth-child(2){grid-column:1;grid-row:3}
 body.dispatch-office .dispatch-table td:nth-child(2)::before{content:'Appointment'}
 body.dispatch-office .dispatch-table td:nth-child(3){grid-column:1/-1;grid-row:1}
 body.dispatch-office .dispatch-table td:nth-child(3)>strong{font-size:16px}
 body.dispatch-office .dispatch-table td:nth-child(4){grid-column:1/-1;grid-row:4}
 body.dispatch-office .dispatch-table td:nth-child(4)::before{content:'Glass / Parts'}
 body.dispatch-office .dispatch-table td:nth-child(5){grid-column:2;grid-row:2}
 body.dispatch-office .dispatch-table td:nth-child(5)::before{content:'Status'}
 body.dispatch-office .dispatch-table td:nth-child(6){grid-column:2;grid-row:3}
 body.dispatch-office .dispatch-table td:nth-child(6)::before{content:'Technician'}
 body.dispatch-office .dispatch-job-link{display:block;width:100%;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;padding:4px 0}
 body.dispatch-office .dispatch-table small{font-size:11px;overflow-wrap:anywhere}
 body.dispatch-office .dispatch-table td:nth-child(4)>div+div{margin-top:8px}
 body.dispatch-office .dispatch-calendar section>div{grid-template-columns:1fr}
 body.dispatch-office .dispatch-filters>*{min-width:0}
}

@media(max-width:700px){body.dispatch-office :is(#detail,#leadDetail) .worktitle>div:first-child{min-width:0;flex:1}body.dispatch-office :is(#detail,#leadDetail) .worktitle .muted{overflow-wrap:anywhere}body.dispatch-office :is(#detail,#leadDetail) input,body.dispatch-office :is(#detail,#leadDetail) select,body.dispatch-office :is(#detail,#leadDetail) textarea{font-size:16px;min-height:44px}body.dispatch-office :is(#detail,#leadDetail) .dispatch-detail-tabs{gap:16px}body.dispatch-office :is(#detail,#leadDetail) .dispatch-detail-tabs button{min-height:44px}body.dispatch-office :is(#detail,#leadDetail) .part-line-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}

@media(max-width:700px){body.dispatch-office main{padding-top:60px!important;padding-bottom:calc(90px + env(safe-area-inset-bottom))!important}body.dispatch-office :is(#detail,#leadDetail){padding-bottom:105px!important}body.dispatch-office.dispatch-detail-open .metrics:not(.hidden),body.dispatch-office.dispatch-detail-open .dispatch-toolbar,body.dispatch-office.dispatch-detail-open :is(#workPanel,#leadsPanel)>.panelbar,body.dispatch-office.dispatch-detail-open :is(#workPanel,#leadsPanel)>.filters{display:none!important}}

@media(max-width:700px){body.dispatch-office :is(#detail,#leadDetail) .partformactions{display:flex!important;flex-wrap:wrap!important;justify-content:flex-start!important;gap:8px}body.dispatch-office :is(#detail,#leadDetail) .partformactions>button{flex:1 1 calc(50% - 8px);min-width:0;min-height:44px;white-space:normal;margin:0}body.dispatch-office :is(#detail,#leadDetail) .invoicecard{min-width:0;max-width:100%}body.dispatch-office :is(#detail,#leadDetail) .invoiceamount input{width:auto;max-width:60%}}
/* Reference dispatch layout: full-width list, details only when selected. */
body.dispatch-office .top{background:#009fbb;color:#fff;padding:12px 20px;min-height:54px}body.dispatch-office .top h1{font-size:18px;color:white}body.dispatch-office .top p:empty{display:none}body.dispatch-office .metrics:not(.hidden){display:none!important}body.dispatch-office :is(#workPanel,#leadsPanel)>.layout{grid-template-columns:minmax(0,1fr)!important}body.dispatch-office :is(#workPanel,#leadsPanel)>.panelbar{padding:10px 20px}body.dispatch-office :is(#workPanel,#leadsPanel)>.panelbar h2{font-size:14px}body.dispatch-office :is(#workPanel,#leadsPanel)>.filters{padding:6px 20px 10px}body.dispatch-office .dispatch-toolbar{padding:0 20px}.dispatch-filters{margin:5px 0 12px}.dispatch-filters label{min-width:0}.dispatch-date{display:flex;align-items:center;gap:4px}.dispatch-date input{min-width:0}.dispatch-date button{border:0;background:transparent;font-size:24px;padding:2px 6px}.dispatch-expanded{display:flex;align-items:center;gap:6px;white-space:nowrap}.dispatch-expanded input{width:auto}.dispatch-view-tabs{background:#009fbb;border:0;border-radius:4px;padding:0 12px;justify-content:space-around;margin:0}.dispatch-view-tabs button{color:white;flex:1;padding:10px 0;text-transform:uppercase;font-size:11px}.dispatch-view-tabs button[aria-pressed=true]{color:white;border-color:white}.dispatch-table{font-size:11px;min-width:1160px}.dispatch-table th{padding:7px 8px;font-size:10px;white-space:nowrap}.dispatch-table td{padding:8px;border-top:1px solid #e6ebf0}.dispatch-table td strong{font-size:11px}.dispatch-table small{font-size:10px}.dispatch-table td:nth-child(1){width:80px}.dispatch-table td:nth-child(2),.dispatch-table td:nth-child(3){width:105px}.dispatch-table td:nth-child(4){width:170px}.dispatch-table td:nth-child(5){width:55px}.dispatch-table td:nth-child(6){width:240px}.dispatch-table td:nth-child(7){width:95px}.dispatch-table td:nth-child(8){min-width:215px}.dispatch-job-link{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.dispatch-tags{display:flex;gap:4px;flex-wrap:wrap}.dispatch-tag{font-size:9px;line-height:16px;padding:1px 6px;border-radius:5px;background:#e3edf8;color:#0d59b7;white-space:nowrap}.dispatch-tag.warning{background:#ffe1a5;color:#875300}.dispatch-tag.insurance{background:#f9d3e8;color:#9b1d64}.dispatch-tag.vendor{background:#ddf4ee;color:#087c68}.dispatch-tag.part{background:#d6eed9;color:#27773b}.dispatch-tag.cash{background:#e4e6ea;color:#425066}body.dispatch-expanded-view .dispatch-table td{padding-top:15px;padding-bottom:15px}body.dispatch-office :is(#detail,#leadDetail){display:none!important}body.dispatch-office.dispatch-detail-open :is(#workPanel,#leadsPanel):not(.hidden) :is(#detail,#leadDetail){display:block!important;position:fixed!important;inset:70px 24px 24px auto!important;width:min(880px,calc(100vw - 48px))!important;max-height:calc(100dvh - 94px)!important;overflow:auto!important;z-index:45;border:1px solid #ccd7e4!important;border-radius:10px!important;box-shadow:0 10px 60px #102b4966!important;padding:22px!important}body.dispatch-office :is(#detail,#leadDetail) .worktitle{position:static!important}
@media(max-width:700px){body.dispatch-office .dispatch-toolbar{padding:0 15px}.dispatch-filters{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}body.dispatch-office .dispatch-table{min-width:0}body.dispatch-office .dispatch-table td:nth-child(n){width:auto;min-width:0;grid-row:auto;grid-column:auto}body.dispatch-office .dispatch-table td::before{content:attr(data-label)!important}body.dispatch-office .dispatch-table td:nth-child(6){grid-column:1/-1;grid-row:1}body.dispatch-office .dispatch-table td:nth-child(4),body.dispatch-office .dispatch-table td:nth-child(8){grid-column:1/-1}body.dispatch-office .dispatch-table td:nth-child(5),body.dispatch-office .dispatch-table td:nth-child(10){display:none}body.dispatch-office.dispatch-detail-open :is(#workPanel,#leadsPanel):not(.hidden) :is(#detail,#leadDetail){inset:54px 0 60px 0!important;width:100%!important;max-height:calc(100dvh - 114px)!important;border-radius:0!important;padding:15px 15px 105px!important}body.dispatch-office.dispatch-detail-open #orders{display:none}body.dispatch-office .dispatch-view-tabs button{font-size:10px}}
body.dispatch-office .office-task-board{margin:5px 20px;font-size:11px}body.dispatch-office .office-task-board>summary{padding:5px 8px}body.dispatch-office .dispatch-table{min-width:1080px}body.dispatch-office .shell{grid-template-columns:180px minmax(0,1fr)}body.dispatch-office .side{padding:18px 12px}body.dispatch-office .side .brand{margin-bottom:20px}body.dispatch-office .side .nav{padding:10px 12px;font-size:12px}

@media(max-width:700px){body.dispatch-office .dispatch-table{min-width:0}}

body.dispatch-office .dispatch-table td:nth-child(5){width:90px}
@media(max-width:700px){body.dispatch-office .dispatch-table td:nth-child(5){display:block;width:auto}}

.dispatch-tag.hold,#dispatchHoldCount{background:#e74c64;color:white;border-radius:12px;padding:2px 7px}.dispatch-hold-card{padding:12px;border:1px solid #d5dfea;border-radius:8px;margin-bottom:15px}.dispatch-hold-card p{margin:6px 0}.dispatch-hold-dialog{max-width:460px;width:calc(100% - 30px);border:0;border-radius:12px;padding:22px}.dispatch-hold-dialog textarea{width:100%;font-size:16px}.dispatch-hold-dialog button{min-height:44px}.dispatch-hold-dialog::backdrop{background:#102b4980}

.dispatch-tag.custom-blue{background:#dceaff;color:#1455a4}.dispatch-tag.custom-green{background:#dcf3df;color:#286b31}.dispatch-tag.custom-teal{background:#d5f4ef;color:#126d64}.dispatch-tag.custom-purple{background:#eadbff;color:#6a2ca3}.dispatch-tag.custom-pink{background:#fbd8ec;color:#952c62}.dispatch-tag.custom-red{background:#ffdedf;color:#a72d35}.dispatch-tag.custom-orange{background:#ffe9c2;color:#895717}.dispatch-tag.custom-gray{background:#e6e9ed;color:#475262}.dispatch-tags-dialog{max-width:540px;max-height:85dvh;overflow:auto}.dispatch-tag-edit{display:grid;grid-template-columns:minmax(0,1fr) 100px 44px;gap:8px;align-items:end;margin:10px 0}.dispatch-tag-edit input,.dispatch-tag-edit select{width:100%;min-height:44px;font-size:16px}.dispatch-tags-dialog form>div:last-child{display:flex;gap:10px;margin-top:15px}

/* Keep the account badge readable on the teal header and the brand within the sidebar. */
body.dispatch-office .top .user{color:#13263f}
body.dispatch-office .side .brand{gap:6px;min-width:0}
body.dispatch-office .side .brand img{width:105px;max-width:100%;flex-shrink:1}
body.dispatch-office .side .brand span{font-size:12px;padding-left:6px;white-space:nowrap}

body.dispatch-office .nav[hidden]{display:none!important}


/* Payment category and insurer remain visible before opening a job. */
.dispatch-payment{display:flex;flex-direction:column;gap:2px;margin:7px 0;padding:8px 10px;border:1px solid;border-radius:8px;font-size:12px;line-height:1.4;text-align:left;white-space:normal;overflow-wrap:anywhere}
.dispatch-payment b{font-size:12px}.dispatch-payment span,.dispatch-payment small{display:block;color:inherit;font-size:12px}
.dispatch-payment.insurance{background:#eef3ff;border-color:#afc3ed;color:#234477}
.dispatch-payment.cash{background:#eef8f0;border-color:#acd4b4;color:#235a33}
.dispatch-payment.unknown{background:#fff8e7;border-color:#dfc273;color:#755617}

.dispatch-policy-number,body :is(#leadsPanel,#workPanel) :is(#leadsList,#orders) .dispatch-table small.dispatch-policy-number{display:block;font-size:9px!important;line-height:1.25!important;color:#61758b;white-space:normal!important;overflow-wrap:anywhere}

/* operations-ui.css */
.opsfilters{display:flex;gap:12px;margin:0 0 16px}.opsfilters input{flex:1}.ops-table{display:grid;gap:8px}.ops-head,.ops-row{display:grid;grid-template-columns:1.4fr 1.15fr 1.1fr 1.1fr auto;gap:12px;align-items:center}.ops-head{padding:0 14px;color:#68758a;font-size:12px}.ops-row{padding:14px;border:1px solid #dce3ed;border-radius:12px;background:#fff}.ops-row span{display:grid;gap:3px;min-width:0}.ops-row small,.audit-event small{color:#68758a}.audit-list{display:grid;gap:8px}.audit-event{width:100%;display:flex;justify-content:space-between;gap:18px;text-align:left;padding:14px;border:1px solid #dce3ed;border-radius:12px;background:#fff}.audit-event span{display:grid;gap:4px}.ops-empty{padding:24px;text-align:center;color:#68758a}@media(max-width:800px){.opsfilters{display:grid}.ops-head{display:none}.ops-row{grid-template-columns:1fr 1fr}.ops-row button{grid-column:1/-1;min-height:44px}.audit-event{display:grid}}

/* accessibility.css */
:focus-visible{outline:3px solid #2563eb!important;outline-offset:2px}button,input,select,textarea{font-size:max(14px,1em)}.field small,.muted,.technician-office small,.queue-details small{font-size:12px;line-height:1.4}.tech-response{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:10px 0}.tech-response strong{margin-right:auto}.tech-response button{min-height:40px}.schedule-note{display:block;color:#526078;margin-top:5px}@media(max-width:800px){button,.nav,input,select{min-height:44px}.detail[role="dialog"]{outline:none}}

/* email-ui.css */
/* Email workspace: deliberately scoped above legacy Office styles. */
#officeModernPortal #emailPanel.email-workspace{--email-ink:#142d3c;--email-muted:#647986;--email-line:#e0e9ee;--email-accent:#009b91;background:#fff!important;border:1px solid var(--email-line)!important;border-radius:12px!important;overflow:hidden}
#officeModernPortal #emailPanel.email-workspace>.panelbar{padding:12px 18px!important;min-height:0!important;border-bottom:0!important;background:#fff!important}
#officeModernPortal #emailPanel.email-workspace>.panelbar h2{font-size:19px!important;letter-spacing:-.5px;margin:0!important;color:var(--email-ink)}
#officeModernPortal #emailPanel.email-workspace #emailMailbox{font-size:11px!important;color:var(--email-muted);margin:3px 0 0!important;display:block!important}
#officeModernPortal #emailPanel.email-workspace #emailConnect{background:transparent!important;border:0!important;font-size:11px!important;color:#70838e!important;padding:5px!important}
#officeModernPortal #emailPanel.email-workspace .email-folder-chips{display:flex;gap:4px;padding:0 18px 10px;border-bottom:1px solid var(--email-line)}
#officeModernPortal #emailPanel.email-workspace .email-folder-chips button{border:0!important;background:transparent!important;color:#5a7382!important;padding:6px 13px!important;min-height:30px!important;font-size:12px!important;border-radius:7px!important}
#officeModernPortal #emailPanel.email-workspace .email-folder-chips button.active{background:#d9f6ef!important;color:#007e73!important;font-weight:700!important}
#officeModernPortal #emailPanel.email-workspace .email-toolbar{margin:0!important;background:#f7fafb!important;padding:9px 16px!important;gap:8px!important;border-bottom:1px solid var(--email-line)}
#officeModernPortal #emailPanel.email-workspace .email-toolbar :is(input,select,button){min-height:34px!important;border-radius:7px!important;font-size:12px!important;padding:7px 10px!important}
#officeModernPortal #emailPanel.email-workspace .email-toolbar input{flex:1;min-width:140px;background:white!important}
#officeModernPortal #emailPanel.email-workspace .email-toolbar #emailCompose{background:#009b91!important;color:white!important;border-color:#009b91!important;font-weight:700!important}
#officeModernPortal #emailPanel.email-workspace .email-toolbar #emailFolder{max-width:145px;width:auto!important}
#officeModernPortal #emailPanel.email-workspace #emailStatus{font-size:12px!important;margin:0!important;padding:0 16px;color:#9b4a17}
#officeModernPortal #emailPanel.email-workspace #emailStatus:not(:empty){padding:8px 16px;background:#fff6e7}
#officeModernPortal #emailPanel.email-workspace .email-layout{display:grid!important;grid-template-columns:minmax(240px,32%) minmax(0,1fr)!important;gap:0!important;margin:0!important;min-height:560px}
#officeModernPortal #emailPanel.email-workspace .email-list{border:0!important;border-right:1px solid var(--email-line)!important;border-radius:0!important;overflow:auto;max-height:calc(100dvh - 285px)!important;min-height:420px;background:#fff!important}
#officeModernPortal #emailPanel.email-workspace button.email-item{display:block!important;width:100%!important;text-align:left!important;height:auto!important;min-height:81px!important;padding:12px 14px!important;border:0!important;border-bottom:1px solid #edf2f5!important;border-left:3px solid transparent!important;border-radius:0!important;box-shadow:none!important;line-height:1.4!important;background:#fff!important;overflow:hidden}
#officeModernPortal #emailPanel.email-workspace button.email-item.selected{background:#e9faf6!important;border-left-color:#00a78d!important}
#officeModernPortal #emailPanel.email-workspace button.email-item:hover{background:#f4fafb!important}
#officeModernPortal #emailPanel.email-workspace .email-item-top{display:flex;align-items:center;gap:7px;min-width:0;margin-bottom:4px}
#officeModernPortal #emailPanel.email-workspace .email-item-top b{font-size:11px!important;color:#3c5565;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
#officeModernPortal #emailPanel.email-workspace .email-item-top time{font-size:9px;color:#7b8b95;white-space:nowrap}
#officeModernPortal #emailPanel.email-workspace .email-avatar{display:inline-flex!important;width:23px;height:23px;border-radius:7px;background:#e0f4f1;color:#008675;font-size:11px;font-weight:700;align-items:center;justify-content:center;flex:none}
#officeModernPortal #emailPanel.email-workspace .email-subject{display:block;font-size:12px!important;font-weight:600;color:#183447;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-left:30px}
#officeModernPortal #emailPanel.email-workspace .email-snippet{display:block!important;font-size:11px!important;font-weight:400!important;line-height:1.5!important;color:#80919c!important;white-space:nowrap!important;text-overflow:ellipsis;overflow:hidden;margin-left:30px}
#officeModernPortal #emailPanel.email-workspace .email-item.unread .email-subject{font-weight:800;color:#006fcb}
#officeModernPortal #emailPanel.email-workspace .email-has-files{margin-left:30px;font-size:9px;color:#0c9187}
#officeModernPortal #emailPanel.email-workspace .email-detail{min-width:0;border:0!important;border-radius:0!important;padding:0!important;max-height:calc(100dvh - 285px);overflow:auto;background:#fff!important;font-size:12px!important}
#officeModernPortal #emailPanel.email-workspace .email-reader-head{padding:22px 24px 14px;border-bottom:1px solid var(--email-line);background:#fff}
#officeModernPortal #emailPanel.email-workspace .email-eyebrow{color:#00a28a;font-size:9px;letter-spacing:1.8px;font-weight:700}
#officeModernPortal #emailPanel.email-workspace .email-reader-head h3{font-size:20px!important;line-height:1.4;letter-spacing:-.5px;color:#142d3c;margin:7px 0 12px}
#officeModernPortal #emailPanel.email-workspace .email-reader-actions{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0 13px}
#officeModernPortal #emailPanel.email-workspace .email-reader-actions button,#officeModernPortal #emailPanel.email-workspace .email-compose-form button{min-height:30px!important;height:auto!important;padding:6px 10px!important;border-radius:6px!important;font-size:11px!important;border:1px solid #d9e4e9!important;background:white!important;color:#315c70!important;box-shadow:none!important}
#officeModernPortal #emailPanel.email-workspace button.primary{background:#009b91!important;color:white!important;border-color:#009b91!important}
#officeModernPortal #emailPanel.email-workspace .email-metadata p{font-size:11px!important;line-height:1.5;margin:3px 0!important;color:#627988}
#officeModernPortal #emailPanel.email-workspace .email-metadata small{font-size:10px;color:#92a2ac}
#officeModernPortal #emailPanel.email-workspace .email-reader-body{padding:20px 24px}
#officeModernPortal #emailPanel.email-workspace .email-body{font:13px/1.8 system-ui,sans-serif!important;white-space:pre-wrap;word-break:break-word;overflow-wrap:anywhere;margin:0;max-height:none!important;color:#283f4d}
#officeModernPortal #emailPanel.email-workspace .email-quote{margin-top:25px;color:#78909e;font-size:11px;border-top:1px solid #edf2f5;padding-top:12px}
#officeModernPortal #emailPanel.email-workspace .email-quote summary{cursor:pointer;margin-bottom:10px}
#officeModernPortal #emailPanel.email-workspace .email-attachments{padding:0 24px 20px;display:flex;gap:8px;flex-wrap:wrap}
#officeModernPortal #emailPanel.email-workspace .email-empty-reader{padding:100px 25px;text-align:center;font-size:13px;color:#7f929e}
#officeModernPortal #emailPanel.email-workspace .email-empty{padding:35px 20px;font-size:12px;color:#7f929e}
#officeModernPortal #emailPanel.email-workspace .email-compose-head{padding:16px 22px 12px;display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--email-line)}
#officeModernPortal #emailPanel.email-workspace .email-compose-head h3{font-size:18px!important;margin:0;flex:1;color:#142d3c}
#officeModernPortal #emailPanel.email-workspace .email-compose-head small{font-size:10px;color:#7c959f}
#officeModernPortal #emailPanel.email-workspace .email-compose-head button{font-size:10px!important;min-height:25px!important;padding:3px 7px!important}
#officeModernPortal #emailPanel.email-workspace .email-compose-form{display:flex;flex-direction:column;gap:0;padding:0 22px 18px}
#officeModernPortal #emailPanel.email-workspace .email-from{font-size:11px;color:#7d939e;padding:12px 0}
#officeModernPortal #emailPanel.email-workspace .email-field{display:flex!important;flex-direction:row!important;align-items:center;gap:10px;border-bottom:1px solid #e5edf1;padding:6px 0!important;margin:0!important}
#officeModernPortal #emailPanel.email-workspace .email-field[hidden]{display:none!important}
#officeModernPortal #emailPanel.email-workspace .email-field>span{min-width:46px;color:#7e929e;font-size:11px;font-weight:500}
#officeModernPortal #emailPanel.email-workspace .email-field input{flex:1;min-width:0;border:0!important;background:white!important;border-radius:0!important;padding:7px 0!important;font-size:12px!important;min-height:30px!important;box-shadow:none!important;width:auto!important;color:#234557}
#officeModernPortal #emailPanel.email-workspace .email-field-content{display:block!important;border:0!important}
#officeModernPortal #emailPanel.email-workspace .email-field-content>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
#officeModernPortal #emailPanel.email-workspace textarea{display:block;width:100%!important;resize:vertical;border:0!important;background:white!important;border-radius:0!important;padding:10px 0!important;min-height:200px!important;font:13px/1.7 system-ui,sans-serif!important;box-shadow:none!important}
#officeModernPortal #emailPanel.email-workspace .email-format-toolbar{display:flex;gap:5px;padding:10px 0 2px}
#officeModernPortal #emailPanel.email-workspace .email-format-toolbar button{font-size:10px!important;padding:4px 8px!important;min-height:25px!important;border:0!important;background:#f2f7f9!important}
#officeModernPortal #emailPanel.email-workspace .email-format-toolbar button:first-child{font-weight:800!important}
#officeModernPortal #emailPanel.email-workspace .email-format-toolbar button:nth-child(2){font-style:italic}
#officeModernPortal #emailPanel.email-workspace .email-format-preview{white-space:pre-wrap;border:1px solid #dfebe8;background:#f5fcf9;padding:14px;font:13px/1.7 system-ui,sans-serif}
#officeModernPortal #emailPanel.email-workspace .email-dropzone{padding:12px;border:1px dashed #bcd8d7;border-radius:8px;background:#f8fcfc;transition:background .15s}
#officeModernPortal #emailPanel.email-workspace .email-dropzone.dragging{background:#d9f8ec;border-color:#00ad8c}
#officeModernPortal #emailPanel.email-workspace .email-compose-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
#officeModernPortal #emailPanel.email-workspace .email-file-input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}
#officeModernPortal #emailPanel.email-workspace .email-attach-button{display:inline-flex!important;margin:0!important;align-items:center;min-height:30px;padding:5px 10px!important;border:1px solid #7dd9c4;border-radius:6px;background:#dff8ed;color:#007c67;font-size:11px!important;cursor:pointer;font-weight:650}
#officeModernPortal #emailPanel.email-workspace .email-file-input:focus-visible+.email-file-help{outline:2px solid #007dca}
#officeModernPortal #emailPanel.email-workspace .email-file-help{font-size:10px!important;color:#7b929d!important;line-height:1.6;margin:7px 0 0!important}
#officeModernPortal #emailPanel.email-workspace .email-file-list{display:flex;flex-direction:column;gap:6px;margin-top:8px}
#officeModernPortal #emailPanel.email-workspace .email-file-card{display:flex;align-items:center;gap:8px;padding:8px 10px;border:1px solid #d9e8ec;border-radius:7px;background:white;font-size:11px;overflow-wrap:anywhere;flex-wrap:wrap;text-decoration:none;color:#315c70}
#officeModernPortal #emailPanel.email-workspace .email-file-card>span{flex:1;min-width:100px}
#officeModernPortal #emailPanel.email-workspace .email-file-card small{font-size:10px;color:#8395a0}
#officeModernPortal #emailPanel.email-workspace .email-file-card button{min-height:22px!important;padding:3px 5px!important;font-size:9px!important}
#officeModernPortal #emailPanel.email-workspace .email-link-file{border-color:#b7d6fc;background:#f2f8ff}
#officeModernPortal #emailPanel.email-workspace .email-compose-footer{display:flex;align-items:center;gap:8px;margin-top:16px}
#officeModernPortal #emailPanel.email-workspace .email-compose-footer button.primary{padding:8px 18px!important;min-height:35px!important;font-size:12px!important}
#officeModernPortal #emailPanel.email-workspace .email-compose-status{font-size:11px;color:#8c551b;line-height:1.6;margin:8px 0 0!important}
#officeModernPortal #emailPanel.email-workspace .email-compose-job,#officeModernPortal #emailPanel.email-workspace .email-job-link{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:10px;color:#6c8390;margin-top:10px}
#officeModernPortal #emailPanel.email-workspace .email-paging{display:flex;justify-content:flex-start;gap:10px;padding:8px 16px!important;margin:0!important;border-top:1px solid var(--email-line);font-size:10px}
#officeModernPortal #emailPanel.email-workspace .email-paging button{font-size:10px!important;min-height:25px!important;padding:4px 8px!important}
#officeModernPortal #emailPanel.email-workspace .email-send-success{margin:25px;padding:24px;background:#e7f9ef;border:1px solid #b9e8cf;border-radius:9px;font-size:13px;color:#087c56}
.email-dialog{border:1px solid #d8e6eb;border-radius:12px;padding:20px;width:min(650px,90vw);max-height:80vh;overflow:auto;box-shadow:0 25px 100px #0f29394d;color:#18384a;background:#fff;font:13px system-ui,sans-serif}
.email-dialog::backdrop{background:#102c3c80;backdrop-filter:blur(3px)}
.email-dialog header{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:15px}.email-dialog h3{margin:0;font-size:19px}.email-dialog input{width:100%;padding:10px;border:1px solid #d8e6eb;border-radius:7px}.email-dialog p{font-size:12px;color:#708997}.email-dialog button{padding:7px 10px;border:1px solid #d8e6eb;background:white;border-radius:6px;color:#27566b;font-size:12px;cursor:pointer}.email-dialog .email-job-result,.email-dialog .email-draft-row{display:block;text-align:left;width:100%;padding:12px;margin:6px 0}.email-dialog .email-job-file{display:flex;align-items:center;gap:8px;padding:10px 0;border-bottom:1px solid #e8eff2}.email-dialog .email-job-file span{flex:1;overflow-wrap:anywhere}.email-dialog .email-job-file small{font-size:10px;color:#879ba6}
@media(max-width:850px){#officeModernPortal #emailPanel.email-workspace .email-layout{grid-template-columns:minmax(0,1fr)!important;min-height:0}#officeModernPortal #emailPanel.email-workspace .email-list{max-height:260px!important;min-height:150px;border-right:0!important;border-bottom:1px solid #dce8ed!important}#officeModernPortal #emailPanel.email-workspace .email-detail{max-height:none}#officeModernPortal #emailPanel.email-workspace .email-toolbar input{min-width:130px}#officeModernPortal #emailPanel.email-workspace .email-compose-head{flex-wrap:wrap}#officeModernPortal #emailPanel.email-workspace .email-reader-head,#officeModernPortal #emailPanel.email-workspace .email-reader-body{padding:15px}#officeModernPortal #emailPanel.email-workspace .email-compose-form{padding:0 15px 15px}}
#officeModernPortal #emailPanel.email-workspace .email-toolbar{display:flex!important;align-items:center!important;flex-wrap:wrap!important}
#officeModernPortal #emailPanel.email-workspace .email-toolbar input{width:auto!important}
#officeModernPortal #emailPanel.email-workspace .email-native-link{display:inline-flex;align-items:center;font-size:10px;color:#6e8a98;margin-left:auto;text-decoration:none}
#officeModernPortal #emailPanel.email-workspace .email-file-card>a{flex:1;min-width:100px;color:#007ba6;text-decoration:none}

/* softphone-ui.css */
.office-softphone{margin:16px 20px 0;border:1px solid #dce4ee;border-radius:12px;background:#fff;color:#13263f;font-size:13px}
.office-softphone [hidden]{display:none!important}
.phone-toolbar{display:flex;align-items:center;gap:18px;min-height:66px;padding:12px 16px}
.phone-heading{display:flex;align-items:center;gap:10px;flex-shrink:0}
.phone-heading strong,.phone-heading [data-extension]{display:block}
.phone-heading strong{font-size:13px;font-weight:750;line-height:1.4}
.phone-heading [data-extension]{margin-top:1px;font-size:11px;color:#718096}
.phone-mark{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#edf4ff;color:#1764d6}
.phone-mark svg{width:19px;height:19px;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.office-softphone [data-status]{display:flex;align-items:center;gap:7px;flex:1;min-width:0;margin:0;font-size:12px;line-height:1.45;color:#66758b;overflow-wrap:anywhere}
.office-softphone [data-status]::before{content:"";width:7px;height:7px;flex-shrink:0;border-radius:50%;background:#9aa7b8}
.office-softphone[data-state="ready"] [data-status]::before,.office-softphone[data-state="active"] [data-status]::before{background:#228651}
.office-softphone[data-state="ringing"] [data-status]::before,.office-softphone[data-state="connecting"] [data-status]::before{background:#d89624}
.office-softphone[data-state="error"] [data-status]{color:#a12c36}
.office-softphone[data-state="error"] [data-status]::before{background:#bd3541}
.phone-toolbar-actions,.phone-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.phone-toolbar-actions{flex-shrink:0}
.office-softphone button{min-height:40px;padding:9px 12px;border:1px solid #d5dfeb;border-radius:8px;background:#fff;color:#203550;font:inherit;font-weight:650;cursor:pointer;line-height:1.2}
.office-softphone button:hover:enabled{background:#f2f6fc;border-color:#b5c9e3}
.office-softphone button:disabled{opacity:.45;cursor:default}
.office-softphone [data-phone="enable"],.office-softphone [data-dial]{background:#1764d6;color:#fff;border-color:#1764d6}
.office-softphone [data-phone="enable"]:hover:enabled,.office-softphone [data-dial]:hover:enabled{background:#1257bf;border-color:#1257bf}
.office-softphone [data-phone-toggle]{display:flex;align-items:center;gap:8px}
.office-softphone [data-phone-toggle] svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;transition:transform .15s}
.phone-open [data-phone-toggle] svg{transform:rotate(180deg)}
.phone-drawer{position:fixed;right:24px;bottom:24px;z-index:60;width:min(360px,calc(100% - 32px));max-height:calc(100dvh - 48px);overflow:auto;padding:18px;border:1px solid #cbd8e8;border-radius:16px;background:#fff;box-shadow:0 12px 48px #12294424;overscroll-behavior:contain}
.phone-drawer-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:4px}
.phone-drawer-heading h2{margin:0;font-size:17px;font-weight:750;color:#13263f}
.phone-drawer-heading [data-phone-close]{display:grid;place-items:center;min-width:34px;min-height:34px;padding:0;border:0;color:#718096;background:#f3f6fa;font-size:23px;font-weight:400}
.phone-drawer-status{margin:0 0 16px;color:#66758b;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.phone-dial{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;align-items:end;margin:0 0 14px}
.phone-dial label,.phone-employee{display:block;min-width:0;color:#53647b;font-size:12px;font-weight:650}
.phone-dial input,.phone-employee select{display:block;width:100%;min-width:0;min-height:42px;margin-top:6px;padding:10px 11px;border:1px solid #ccd8e8;border-radius:8px;background:#fff;color:#13263f;font:inherit;font-size:14px}
.phone-dial [data-dial]{min-height:42px;padding-inline:16px}
.phone-call-actions{margin:0 0 14px}
.phone-call-actions button{flex:1}
.office-softphone [data-phone="answer"]:enabled,.office-softphone [data-action="complete-transfer"]:enabled{background:#207d4b;border-color:#207d4b;color:#fff}
.office-softphone [data-phone="end"]:enabled{background:#b13a46;border-color:#b13a46;color:#fff}
.office-softphone [data-phone="mute"][aria-pressed="true"]{background:#edf4ff;border-color:#91b6e6;color:#1759b5}
.phone-caller{margin:0 0 8px;font-size:13px;font-weight:650;overflow-wrap:anywhere}
.phone-matches{display:grid;gap:6px;margin-bottom:14px;color:#718096;font-size:12px}
.phone-matches button{text-align:left;overflow-wrap:anywhere;font-weight:500}
.phone-keypad-details,.phone-options,.phone-help{border-top:1px solid #e7edf4;margin-top:14px;padding-top:12px}
.phone-keypad-details summary,.phone-options summary,.phone-help summary{min-height:30px;cursor:pointer;color:#53647b;font-size:12px;font-weight:650}
.phone-keypad{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:8px 0 4px}
.office-softphone .phone-keypad button{min-height:44px;font-size:17px;background:#f6f8fc;font-weight:600}
.phone-conference{margin-top:16px;padding-top:16px;border-top:1px solid #e7edf4}
.phone-conference h3{margin:0 0 12px;font-size:13px;font-weight:750}
.phone-hold-controls{margin-bottom:14px}
.phone-hold-controls button{flex:1}
.office-softphone [data-action="hold"]:enabled{background:#fff8e8;border-color:#ecd6a2;color:#805711}
.phone-employee{margin-bottom:10px}
.phone-transfer-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.phone-transfer-controls [data-action="add-person"],.phone-transfer-controls [data-action="complete-transfer"],.phone-transfer-controls [data-action="cancel-transfer"]{grid-column:1/-1}
.phone-conference [data-conference-status]{margin:12px 0 0;font-size:12px;line-height:1.5;color:#53647b;overflow-wrap:anywhere}
.phone-help{margin-top:10px;padding-top:10px}
.phone-options .phone-controls{margin:4px 0 8px}
.office-softphone small{display:block;color:#718096;font-size:11px;line-height:1.55}
.phone-ringing{border-color:#69a886;box-shadow:0 0 0 2px #21814d0d}
.phone-ringing .phone-drawer{border-color:#69a886}
@media(max-width:900px){.office-softphone{margin:12px 15px 0}.phone-toolbar{gap:12px;padding:12px}.phone-drawer{right:16px;bottom:calc(88px + env(safe-area-inset-bottom));max-height:calc(100dvh - 160px)}}
@media(max-width:600px){.phone-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px}.phone-toolbar [data-status]{grid-column:1/-1;grid-row:2}.phone-heading{gap:8px}.phone-mark{width:30px;height:30px;border-radius:8px}.phone-toolbar-actions{gap:6px}.phone-toolbar-actions button{font-size:11px;min-height:38px;padding:8px}.phone-toolbar [data-phone-toggle] svg{display:none}.phone-drawer{right:12px;width:calc(100% - 24px);padding:16px}.phone-dial input,.phone-employee select{font-size:16px}.phone-drawer button{min-height:44px}.phone-drawer-heading [data-phone-close]{min-height:36px;min-width:36px}}
@media(max-width:420px){.phone-toolbar{grid-template-columns:minmax(0,1fr)}.phone-toolbar [data-status]{grid-row:2}.phone-toolbar-actions{grid-row:3;display:flex}.phone-toolbar-actions button{flex:1;font-size:12px;min-height:40px}}
@media(max-width:420px){.office-softphone:is([data-state="ready"],[data-state="active"],[data-state="connecting"],[data-state="ringing"]) .phone-toolbar{grid-template-columns:minmax(0,1fr) auto}.office-softphone:is([data-state="ready"],[data-state="active"],[data-state="connecting"],[data-state="ringing"]) .phone-toolbar-actions{grid-row:1;grid-column:2}}
@media(prefers-reduced-motion:reduce){.office-softphone [data-phone-toggle] svg{transition:none}}
@media print{.office-softphone{display:none!important}}

/* Keep phone shortcuts readable when the toolbar wraps on smaller screens. */
@media(max-width:600px){.phone-toolbar{grid-template-columns:minmax(0,1fr)}.phone-toolbar-actions{grid-column:1/-1;grid-row:3;flex-wrap:wrap}.phone-toolbar-actions button{flex:1 1 auto}.office-softphone:is([data-state="ready"],[data-state="active"],[data-state="connecting"],[data-state="ringing"]) .phone-toolbar .phone-toolbar-actions{grid-row:3;grid-column:1/-1}}
/* Waiting and held callers stay separate from the current conversation. */
.office-softphone [data-waiting-summary]{display:block;margin:8px 12px;padding:8px 12px;border:1px solid #d79b20;background:#fff4cf;color:#563d00;border-radius:4px;cursor:pointer}
.office-softphone [data-waiting-summary][hidden],.office-softphone [data-waiting-calls][hidden]{display:none}
.phone-waiting-row{border:1px solid #d8e3eb;border-left:4px solid #d79b20;border-radius:4px;padding:8px;margin:8px 0;display:flex;flex-wrap:wrap;gap:6px}.phone-waiting-row p{flex-basis:100%;margin:0 0 4px}.phone-waiting-row button{min-height:36px;padding:6px 9px}.phone-waiting-row button:disabled{opacity:.5}
/* Desk phone: visible call lamps, separate dial pad and conference station. */
.office-softphone .phone-drawer{box-sizing:border-box;width:min(880px,calc(100vw - 32px));padding:16px;border:2px solid #8c9eab;border-radius:8px;background:#edf1f3;display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:10px 18px;font:13px/1.45 Arial,sans-serif}
.office-softphone .phone-drawer>div,.office-softphone .phone-drawer>section,.office-softphone .phone-drawer>details,.office-softphone .phone-drawer>label,.office-softphone .phone-drawer>p{min-width:0;margin:0}
.office-softphone .phone-drawer-heading{grid-column:1/-1;grid-row:1}
.office-softphone .phone-drawer-status{grid-column:1/-1;grid-row:2;border:2px inset #90a798;border-radius:3px;padding:12px;background:#19392f;color:#d7ffe4;font:600 14px/1.5 Consolas,monospace;min-height:48px}
.office-softphone [data-waiting-calls]{grid-column:1/-1;grid-row:3}
.office-softphone .phone-drawer>label.phone-employee{grid-column:1;grid-row:4}
.office-softphone [data-line-status]{grid-column:1;grid-row:5;font-weight:700;color:#174b74}
.office-softphone .phone-dial{grid-column:1;grid-row:6;display:flex;flex-wrap:wrap}.office-softphone .phone-dial label{flex:1 1 190px}
.office-softphone .phone-call-actions{grid-column:1;grid-row:7}
.office-softphone .phone-caller{grid-column:1;grid-row:8}
.office-softphone .phone-matches{grid-column:1;grid-row:9}
.office-softphone .phone-keypad-details{grid-column:1;grid-row:10}
.office-softphone .phone-conference{grid-column:2;grid-row:4/span 7;padding:12px;border:1px solid #a7b8c3;border-radius:4px;background:#fff}
.office-softphone .phone-call-history,.office-softphone .phone-options{grid-column:1/-1}
.office-softphone .phone-drawer button{border-radius:4px;border:1px solid #91a6b6;box-shadow:0 2px 0 #ccd5dc;min-height:42px;font-size:12px}
.office-softphone .phone-drawer button:active:enabled{transform:translateY(1px);box-shadow:none}
.office-softphone .phone-drawer label{display:flex;flex-direction:column;gap:4px;font-weight:600}
.office-softphone .phone-drawer input:not([type=checkbox]),.office-softphone .phone-drawer select{box-sizing:border-box;min-width:0;width:100%;min-height:38px;padding:7px;border:1px solid #a9bdca;border-radius:3px;background:#fff;color:#173449;font:14px Arial,sans-serif}
.office-softphone .phone-drawer h3{font-size:13px;margin:0 0 8px;color:#163d57}
.phone-participants{list-style:none;padding:0;margin:0 0 10px;font:12px/1.5 Arial,sans-serif}.phone-participants li{padding:6px 8px;border-bottom:1px solid #dde6ec;overflow-wrap:anywhere}.phone-participants li::before{content:'●';color:#2d9460;margin-right:7px}
.phone-insurance{margin:14px 0;padding-top:12px;border-top:2px solid #d4e0e8}.phone-insurance>label{margin:8px 0}.phone-insurance [data-insurance-status]{padding:8px;background:#eef5fa;border-left:3px solid #287db0;font-size:12px}
.phone-insurance .phone-controls{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0}.phone-insurance [data-action=external-dial],.phone-insurance [data-action=external-merge]{grid-column:1/-1}.phone-insurance [data-action=external-dial]:enabled{background:#174e78;color:white}.phone-insurance [data-action=external-merge]:enabled{background:#257849;color:white}
.phone-insurance-keys{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:8px 0}.office-softphone .phone-insurance-keys button{min-height:32px;font:600 16px Consolas,monospace}.insurance-keypad p{font-size:11px;color:#526a7c}.phone-employee-tools{margin:12px 0;padding-top:10px;border-top:1px solid #d4e0e8}.phone-employee-tools summary{margin-bottom:10px}
.office-softphone .phone-options label{margin:8px 0;max-width:300px}.office-softphone .phone-options .phone-alert-setting{flex-direction:row;align-items:center}.phone-alert-setting input{width:18px;height:18px}
.phone-waiting-incoming{background:#fff8df}.phone-waiting-incoming p::before{content:'● ';color:#d08700;animation:phone-call-lamp 1.1s steps(2,end) infinite}.office-softphone:not([data-waiting="0"]) [data-waiting-summary]{animation:phone-waiting-alert 1.1s steps(2,end) infinite}
@keyframes phone-call-lamp{50%{opacity:.25}}@keyframes phone-waiting-alert{50%{background:#ffe39a;border-color:#a16c00}}
.office-softphone.phone-console-compact .phone-drawer{width:min(440px,calc(100vw - 24px));grid-template-columns:minmax(0,1fr)}.office-softphone.phone-console-compact .phone-drawer>*{grid-column:1!important;grid-row:auto!important}
@media(max-width:700px){.office-softphone .phone-drawer{width:calc(100vw - 24px);right:12px;padding:12px;grid-template-columns:minmax(0,1fr)}.office-softphone .phone-drawer>*{grid-column:1!important;grid-row:auto!important}.office-softphone .phone-drawer input:not([type=checkbox]){font-size:16px}}
@media(prefers-reduced-motion:reduce){.phone-waiting-incoming p::before,.office-softphone:not([data-waiting="0"]) [data-waiting-summary]{animation:none}}
.office-softphone .phone-drawer{display:block}.office-softphone .phone-drawer>.phone-drawer-heading{position:sticky;top:-16px;z-index:6;background:#edf1f3;padding:6px 0 10px;margin-bottom:8px}.office-softphone .phone-drawer>[data-drawer-status],.office-softphone .phone-drawer>[data-waiting-calls],.office-softphone .phone-drawer>.phone-call-history,.office-softphone .phone-drawer>.phone-options{margin:10px 0}
.phone-remote-transfer{margin:14px 0;padding:12px;border:1px solid #b2c9d7;border-left:4px solid #287db0;background:#f5f9fc}.phone-remote-transfer>label{margin:8px 0}.phone-remote-transfer .phone-controls{display:grid;gap:8px;margin:10px 0}.phone-remote-transfer [data-action=external-complete-transfer]:enabled{background:#257849;color:white}.phone-remote-transfer [data-remote-status]{font-size:12px;color:#34566f}
.phone-console-columns{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:18px;align-items:start}.phone-console-dial-station{display:flex;flex-direction:column;gap:12px;min-width:0}.phone-console-dial-station>*{margin:0!important}.phone-console-conference-station{min-width:0}.phone-console-dial-station .phone-keypad-details{margin-top:4px!important}.office-softphone.phone-console-compact .phone-console-columns{grid-template-columns:minmax(0,1fr)}
@media(max-width:700px){.phone-console-columns{grid-template-columns:minmax(0,1fr)}.office-softphone .phone-drawer>.phone-drawer-heading{top:-12px}}

/* Classic desk phone face */
.office-softphone .phone-classic-front{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(140px,.8fr);gap:12px;padding:12px;background:linear-gradient(#e9edf1,#cbd2d9);border:1px solid #8996a3;border-radius:6px}
.office-softphone .phone-classic-controls{display:flex;flex-direction:column;gap:8px}
.office-softphone .phone-classic-controls>button,.office-softphone .phone-classic-controls .phone-controls button{width:100%;min-height:42px;border:1px solid #8794a1;border-radius:3px;background:linear-gradient(#fff,#d8dee5);color:#172b40;font-weight:700}
.office-softphone .phone-line-keys{display:grid;grid-template-columns:1fr 1fr;gap:5px}
.office-softphone .phone-line-key{font-size:11px;min-height:38px;padding:4px;border:1px solid #8b98a5;border-radius:3px;background:#e9edf0;color:#334155;text-align:left}
.office-softphone .phone-line-key:before{content:'';display:inline-block;width:9px;height:9px;border-radius:50%;background:#85919b;margin-right:5px}
.office-softphone .phone-line-key[data-line-state=active]:before{background:#20b653}
.office-softphone .phone-line-key[data-line-state=held]:before{background:#e4a629}
.office-softphone .phone-line-key[data-line-state=ringing]:before{background:#ed4040;animation:phoneWaitingFlash 1s infinite}
.office-softphone .phone-classic-front .phone-keypad-details>summary{display:none}
.office-softphone .phone-classic-front .phone-keypad{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:10px}
.office-softphone .phone-classic-front .phone-keypad button{min-height:54px;background:linear-gradient(#fff,#d8dde3);border:1px solid #8996a3;border-radius:3px;color:#1a2b3c}
.office-softphone .phone-classic-front .phone-keypad button span{font-size:24px}
.office-softphone .phone-classic-front .phone-keypad button small{font-size:9px}
.office-softphone .phone-classic-front .phone-call-actions{display:flex;flex-direction:column;gap:8px}
.office-softphone .phone-classic-front .phone-call-actions[hidden]{display:none}
.office-softphone .phone-classic-front .phone-console-dial-station{min-width:0;padding:0;border:0;background:transparent}
.office-softphone .phone-classic-front select,.office-softphone .phone-classic-front input{min-width:0;width:100%;font-size:12px}
.office-softphone .phone-classic-workflows{display:block;margin-top:12px}
.office-softphone .phone-classic-controls>small{font-size:10px;color:#405266}
@media(prefers-reduced-motion:reduce){.office-softphone .phone-line-key:before{animation:none!important}}
@media(max-width:420px){.office-softphone .phone-classic-front{gap:8px;padding:8px;grid-template-columns:minmax(0,1fr) minmax(130px,.8fr)}.office-softphone .phone-line-keys{grid-template-columns:1fr}}

/* Destinations and transfer controls live beside the keypad. */
.office-softphone .phone-classic-front{grid-template-columns:minmax(180px,.8fr) minmax(260px,1.2fr)}
.office-softphone .phone-classic-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-content:start;gap:6px}
.office-softphone .phone-classic-controls>.phone-line-keys,.office-softphone .phone-classic-controls>small,.office-softphone .phone-classic-controls>.phone-call-actions,.office-softphone .phone-classic-controls>.phone-conference{grid-column:1/-1}
.office-softphone .phone-classic-controls>button{font-size:12px;padding:5px}
.office-softphone .phone-classic-controls .phone-conference{margin:0;padding:8px;background:#f7f9fb;min-width:0;border:1px solid #9caab7;border-radius:3px}
.office-softphone .phone-tool-tabs{display:flex;gap:4px;margin-bottom:8px}
.office-softphone .phone-tool-tabs button{flex:1;min-height:34px;padding:4px;font-size:11px;border:1px solid #9caab7;border-radius:3px;background:#e1e7ed;color:#233b51}
.office-softphone .phone-tool-tabs button[aria-pressed=true]{background:#173f63;color:#fff}
.office-softphone .phone-classic-controls .phone-conference>h3,.office-softphone .phone-classic-controls .phone-hold-controls,.office-softphone .phone-classic-controls .phone-help{display:none}
.office-softphone .phone-classic-controls .phone-participants{font-size:11px;margin:0 0 6px;padding:0;max-height:70px;overflow:auto}
.office-softphone .phone-classic-controls .phone-conference section,.office-softphone .phone-classic-controls .phone-employee-tools{padding:0;margin:0;border:0;background:transparent}
.office-softphone .phone-classic-controls .phone-conference h3{font-size:12px;margin:5px 0}
.office-softphone .phone-classic-controls .phone-conference p{font-size:11px;line-height:1.35;margin:5px 0}
.office-softphone .phone-classic-controls .phone-conference label{font-size:11px;margin:5px 0;gap:3px}
.office-softphone .phone-classic-controls .phone-conference input,.office-softphone .phone-classic-controls .phone-conference select{min-height:34px;padding:5px;font-size:12px}
.office-softphone .phone-classic-controls .phone-conference small{display:none}
.office-softphone .phone-classic-controls .phone-conference .phone-controls{display:grid;grid-template-columns:1fr;gap:5px;margin:6px 0}
.office-softphone .phone-classic-controls .phone-conference .phone-controls button{min-height:34px;font-size:11px;padding:5px}
.office-softphone [data-tool-view=remote] .phone-insurance,.office-softphone [data-tool-view=remote] .phone-employee-tools,
.office-softphone [data-tool-view=office] .phone-insurance,.office-softphone [data-tool-view=office] .phone-remote-transfer,
.office-softphone [data-tool-view=insurance] .phone-remote-transfer,.office-softphone [data-tool-view=insurance] .phone-employee-tools{display:none}
.office-softphone .phone-classic-workflows:empty{display:none}
@media(max-width:600px){.office-softphone .phone-classic-front{grid-template-columns:minmax(0,1fr)}.office-softphone .phone-classic-front .phone-console-dial-station{display:grid;grid-template-columns:1fr 1fr;gap:8px}.office-softphone .phone-classic-front .phone-keypad-details{grid-column:2;grid-row:1/5}.office-softphone .phone-classic-front .phone-keypad{margin-top:0;gap:4px}.office-softphone .phone-classic-front .phone-keypad button{min-height:40px}.office-softphone .phone-classic-front .phone-line-keys{grid-template-columns:repeat(4,1fr)}.office-softphone .phone-line-key{font-size:10px}.office-softphone .phone-classic-controls .phone-conference .phone-controls{grid-template-columns:1fr 1fr}.office-softphone .phone-classic-controls .phone-conference .phone-controls button:last-child{grid-column:1/-1}}

.office-softphone .phone-classic-controls .phone-hold-controls{display:flex;justify-content:flex-end;margin:0}.office-softphone .phone-classic-controls .phone-hold-controls [data-action]{display:none}.office-softphone .phone-classic-controls .phone-hold-controls [data-refresh]{min-height:26px;width:auto;font-size:10px;padding:3px 8px}

.office-softphone .phone-classic-controls>*{grid-row:auto}.office-softphone .phone-classic-controls>.phone-conference{grid-row:auto}.office-softphone .phone-classic-front .phone-console-dial-station>*{grid-row:auto}@media(max-width:600px){.office-softphone .phone-classic-front .phone-keypad-details{grid-column:2;grid-row:1/5}.office-softphone .phone-classic-front .phone-dial{grid-column:1;grid-row:auto}.office-softphone .phone-classic-front .phone-caller{grid-column:1/-1}}

.office-softphone .phone-drawer{width:min(700px,calc(100vw - 24px));padding:12px}
.office-softphone .phone-classic-controls .phone-call-actions{flex-direction:row;margin:0}
.office-softphone .phone-classic-controls .phone-call-actions button{min-height:34px}
.office-softphone .phone-classic-controls .phone-remote-transfer{display:grid;grid-template-columns:1fr 1fr;gap:4px 8px}
.office-softphone .phone-classic-controls .phone-remote-transfer>h3,.office-softphone .phone-classic-controls .phone-remote-transfer>p,.office-softphone .phone-classic-controls .phone-remote-transfer>label:first-of-type,.office-softphone .phone-classic-controls .phone-remote-transfer>.phone-controls{grid-column:1/-1}
.office-softphone .phone-classic-controls .phone-conference .phone-controls{grid-template-columns:1fr 1fr}
.office-softphone .phone-classic-controls .phone-conference .phone-controls button:last-child{grid-column:1/-1}
.office-softphone [data-tool-view=office] .phone-remote-transfer,.office-softphone [data-tool-view=insurance] .phone-remote-transfer{display:none}
.office-softphone .phone-classic-controls .phone-participants{max-height:48px}
.office-softphone .phone-classic-controls .phone-hold-controls{display:block;text-align:right}
.office-softphone .phone-classic-controls .phone-hold-controls [data-refresh]{display:inline-block}
@media(max-width:700px){.office-softphone .phone-drawer{width:calc(100vw - 24px)}}

.office-softphone .phone-quick-extensions{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin:6px 0 10px}
.office-softphone .phone-quick-extensions button{min-height:40px;padding:7px;border:1px solid #547c9e;border-radius:4px;background:#e5f0fa;color:#173f63;font-size:12px;font-weight:700;text-align:left;overflow-wrap:anywhere}
.office-softphone .phone-quick-extensions button:disabled{opacity:.5}
.office-softphone .phone-quick-extensions button:focus-visible{outline:3px solid #245fa4;outline-offset:2px}
@media(max-width:420px){.office-softphone .phone-quick-extensions{grid-template-columns:1fr}}
/* Shared switchboard: compact desk-phone lamps and clear remote team state. */
.desk-switchboard{margin:8px 0 12px;border:1px solid #cbd5dd;border-radius:12px;background:#f8fafb;color:#172731;overflow:hidden;font-size:12px}
.desk-switchboard>header{display:flex;align-items:center;gap:8px;padding:10px;background:#243540;color:white}
.desk-switchboard>header strong{font-size:11px;letter-spacing:.08em;flex:1}
.desk-switchboard select,.desk-switchboard textarea{min-width:0;max-width:100%;font:inherit;border:1px solid #bdcbd3;border-radius:6px;padding:6px;background:white;color:#172731}
.desk-switchboard button{font:inherit!important;min-height:30px!important;padding:5px 8px!important;border:1px solid #bdcbd3!important;border-radius:6px!important;background:#fff!important;color:#243540!important;white-space:nowrap}
.desk-switchboard button:disabled{opacity:.45;cursor:default}
.desk-switchboard [data-team-health]{margin:6px 10px;font-size:10px;color:#536773}
.desk-switchboard details{padding:8px 10px;border-top:1px solid #dce4e8}
.desk-switchboard summary{font-weight:700;cursor:pointer}
.desk-line-board{max-height:160px;overflow:auto;padding:0 8px}
.desk-line{display:grid;grid-template-columns:1fr auto;gap:3px 8px;margin:6px 0;padding:8px;border-radius:7px;border-left:4px solid #18865e;background:#eaf6f0}
.desk-line span{grid-column:1;font-size:11px}.desk-line time{grid-column:2;grid-row:1;font-variant-numeric:tabular-nums}.desk-line.held{border-color:#b77a0a;background:#fff3d8}.desk-empty{padding:5px;color:#65747c}
.desk-team-list{max-height:230px;overflow:auto}
.desk-person{display:flex;align-items:center;gap:4px;flex-wrap:wrap;padding:8px 0;border-bottom:1px solid #e0e7eb}
.desk-person>div{flex:1 0 100%;display:flex;align-items:center;gap:6px}.desk-person>div:before{content:'';height:8px;width:8px;border-radius:50%;background:#8c99a1;flex-shrink:0}.desk-person[data-presence="Available"]>div:before{background:#159268}.desk-person[data-presence="On a call"]>div:before{background:#c85142}.desk-person[data-presence="Ringing"]>div:before,.desk-person[data-presence="Away"]>div:before{background:#d29821}.desk-person small{margin-left:auto;color:#596c78;font-size:10px}
.desk-switchboard form{display:grid;gap:7px;margin-top:10px}.desk-switchboard label{display:grid;gap:4px}.desk-switchboard textarea{resize:vertical;width:100%;box-sizing:border-box}.desk-switchboard [data-team-messages]{max-height:200px;overflow:auto}.desk-message{padding:8px 0;border-top:1px solid #dbe4e9}.desk-message time{float:right;font-size:10px;color:#687d88}.desk-message p{white-space:pre-wrap;overflow-wrap:anywhere;margin:4px 0}.desk-stale{border-color:#b77a0a}.desk-stale [data-team-health]{color:#945f00}

.desk-switchboard{font-family:system-ui,-apple-system,Segoe UI,sans-serif}

.desk-quick-controls{display:flex;gap:5px;padding:8px;flex-wrap:wrap}.desk-quick-controls[hidden]{display:none}.desk-quick-controls button{flex:1}.desk-quick-controls [data-desk-control="end"]{color:#a62d35!important;border-color:#dfa4aa!important}
.phone-history-filters{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.phone-history-filters>*{max-width:100%;min-width:0;font:inherit}.phone-history-filters input{flex:1}.phone-history-entry{display:flex;gap:5px;flex-wrap:wrap;padding:10px 0;border-bottom:1px solid #d8e1e8}.phone-history-entry strong,.phone-history-entry span,.phone-history-entry small{flex-basis:100%;overflow-wrap:anywhere}.phone-history-entry small{color:#526574;font-size:11px}.phone-call-history [data-history-list]{max-height:340px;overflow:auto}.phone-history-entry button{font-size:11px;padding:5px 8px}

/* office-layout.css */
/* Office workspace presentation. Business workflows keep their existing controls. */
.shell>main{min-width:0}
body.dispatch-office .shell{grid-template-columns:200px minmax(0,1fr)}
body.dispatch-office .side{position:sticky;top:0;align-self:start;min-height:100dvh;padding:24px 14px;background:#132a46}
body.dispatch-office .side .brand{gap:8px;margin-bottom:28px}
body.dispatch-office .side .brand img{width:124px;max-width:100%}
body.dispatch-office .side .brand span{font-size:11px;padding-left:8px}
body.dispatch-office .side nav{gap:5px}
body.dispatch-office .side .nav{min-height:42px;padding:11px 12px;border-radius:8px;font-size:13px;line-height:1.35}
body.dispatch-office .side .nav.active{background:#284766;color:#fff}
body.dispatch-office .side .security{padding:14px 6px;font-size:10px;line-height:1.5}
body.dispatch-office .top{min-height:80px;padding:20px;background:#fff;color:#13263f;border-bottom:1px solid #e1e8f1;gap:16px}
body.dispatch-office .top h1{margin:0;font-size:23px;line-height:1.3;color:#13263f}
body.dispatch-office .top .user{background:#f7f9fc;border-color:#e1e8f1;border-radius:10px;padding:9px 12px;font-size:13px}
body.dispatch-office .top .user small{font-size:11px}
body.dispatch-office .metrics{padding:18px 20px;gap:12px}
body.dispatch-office .metriccard{padding:14px 16px;background:#fff;border:1px solid #dce5f0;border-radius:10px;color:#203550;text-align:left}
body.dispatch-office .metriccard span{font-size:12px;line-height:1.4;color:#718096}
body.dispatch-office .metriccard strong{margin-top:3px;font-size:25px;line-height:1.2}
body.dispatch-office .metriccard:hover{background:#f5f9ff;border-color:#a9c5e9}
body.dispatch-office :is(#workPanel,#leadsPanel)>.panelbar{padding:18px 20px 14px;gap:12px;justify-content:space-between}
body.dispatch-office :is(#workPanel,#leadsPanel)>.panelbar h2{font-size:19px;line-height:1.3}
body.dispatch-office :is(#workPanel,#leadsPanel)>.panelbar>div{display:block}
body.dispatch-office :is(#workPanel,#leadsPanel) #newWork{width:auto;height:auto;min-width:0;min-height:40px;padding:9px 14px;font-size:13px;line-height:1.3}
body.dispatch-office :is(#workPanel,#leadsPanel) #newWork span{display:inline}
body.dispatch-office :is(#workPanel,#leadsPanel) #newWork::after{content:none}
body.dispatch-office .app-dock{grid-template-columns:repeat(5,minmax(0,1fr))}
body.dispatch-office .app-dock button{min-width:0;padding-inline:2px}
body.dispatch-office :is(#workPanel,#leadsPanel)>.panelbar .primary{min-height:40px;border-radius:8px;font-size:13px}
body.dispatch-office :is(#workPanel,#leadsPanel)>.filters{padding:10px 20px 16px;gap:10px;background:transparent;border:0}
body.dispatch-office :is(#workPanel,#leadsPanel)>.filters input{min-width:0;font-size:13px}
body.dispatch-office .dispatch-toolbar{padding:0 20px}
body.dispatch-office .dispatch-filter-toggle{display:flex;width:auto;min-height:36px;margin:0 0 12px;padding:8px 12px;gap:16px;border:1px solid #d6e1ef;border-radius:8px;background:#fff;font-size:12px;font-weight:650}
body.dispatch-office .dispatch-filter-toggle b{font-size:11px;font-weight:600}
body.dispatch-office .dispatch-toolbar:has(.dispatch-filter-toggle):not(.filters-open) .dispatch-filters{display:none}
body.dispatch-office .dispatch-toolbar.filters-open .dispatch-filters{display:grid}
body.dispatch-office .dispatch-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 16px;padding:14px;background:#fff;border:1px solid #dce5f0;border-radius:10px}
body.dispatch-office .dispatch-filters label{min-width:0;font-size:12px}
body.dispatch-office .dispatch-filters input,body.dispatch-office .dispatch-filters select{min-width:0;min-height:38px;font-size:13px;border-radius:7px}
body.dispatch-office .dispatch-view-tabs{gap:22px;margin-bottom:10px;padding:0;background:transparent;border-radius:0;border-bottom:1px solid #dce5f0;justify-content:flex-start}
body.dispatch-office .dispatch-view-tabs button{flex:0 0 auto;min-height:40px;padding:10px 0;font-size:13px;color:#66758b;text-transform:none}
body.dispatch-office .dispatch-view-tabs button[aria-pressed=true]{color:#1764d6;border-color:#1764d6}
body.dispatch-office #dispatchResult{padding:6px 0 12px;font-size:12px}
body.dispatch-office #orders{padding:0 20px 24px;min-width:0}
body.dispatch-office .dispatch-table-wrap{border-color:#dce5f0;border-radius:10px;box-shadow:0 2px 4px #13263f03}
body.dispatch-office .dispatch-table{font-size:13px}
body.dispatch-office .dispatch-table th{padding:12px 10px;background:#f4f7fb;color:#66758b;font-size:11px;font-weight:650;line-height:1.4}
body.dispatch-office .dispatch-table td{padding:14px 10px;border-color:#e8eef5;line-height:1.45}
body.dispatch-office .dispatch-table strong{font-size:13px;font-weight:650}
body.dispatch-office .dispatch-table small{font-size:11px;line-height:1.4}
body.dispatch-office .dispatch-table td:nth-child(5){white-space:nowrap}
body.dispatch-office .dispatch-job-link{font-size:12px;line-height:1.4}
body.dispatch-office .dispatch-badge{font-size:11px;border-radius:6px;padding:4px 7px}
body.dispatch-office .panel:not(:is(#workPanel,#leadsPanel)){margin:0 20px 24px;border-color:#dce5f0;border-radius:12px}
body.dispatch-office .panel:not(:is(#workPanel,#leadsPanel)) .panelbar{padding:18px 20px;gap:12px;align-items:center}
body.dispatch-office .panel:not(:is(#workPanel,#leadsPanel)) .panelbar h2{font-size:20px;line-height:1.3}
body.dispatch-office .panel:not(:is(#workPanel,#leadsPanel)) .panelbar p{font-size:13px;line-height:1.5}
@media(max-width:1000px){body.dispatch-office .dispatch-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){body.dispatch-office .shell{display:block}body.dispatch-office .side{display:none}body.dispatch-office main{padding-top:calc(60px + env(safe-area-inset-top))!important;padding-bottom:calc(90px + env(safe-area-inset-bottom))!important}body.dispatch-office .top{min-height:70px;padding:16px 15px}body.dispatch-office .top h1{font-size:21px}body.dispatch-office .metrics{padding:16px 15px}body.dispatch-office :is(#workPanel,#leadsPanel)>.panelbar{padding:0 15px 12px}body.dispatch-office :is(#workPanel,#leadsPanel)>.filters{padding:8px 15px 14px}body.dispatch-office .dispatch-toolbar{padding:0 15px}body.dispatch-office #orders{padding:0 15px 22px}body.dispatch-office .panel:not(:is(#workPanel,#leadsPanel)){margin:0 15px 22px}}
@media(max-width:700px){body.dispatch-office .metrics{gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}body.dispatch-office .metriccard{padding:12px}body.dispatch-office .metriccard strong{font-size:23px}body.dispatch-office .dispatch-filter-toggle{min-height:40px}body.dispatch-office .dispatch-view-tabs{gap:18px;overflow:auto;white-space:nowrap}body.dispatch-office .dispatch-table td{padding:5px 7px;font-size:12px}body.dispatch-office .dispatch-table strong{font-size:13px}body.dispatch-office .dispatch-filters{padding:12px;gap:10px}body.dispatch-office .dispatch-filters input,body.dispatch-office .dispatch-filters select{font-size:16px}body.dispatch-office .panel:not(:is(#workPanel,#leadsPanel)) .panelbar{padding:16px}}
@media(max-width:420px){body.dispatch-office .mobilebrand span{display:none}body.dispatch-office .mobilebrand img{width:112px}}
@media print{body.dispatch-office .side{position:static;min-height:0}}


/* graphic-ui.css */
/* Colorful, consistent Office presentation shared by every workspace. */
:root{--office-blue:#2563eb;--office-ink:#17243b;--office-muted:#62718a;--office-line:#e4e9f2;--office-radius:16px}
body{background:#f5f7fc;color:var(--office-ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
body.dispatch-office .side{background:#fff;border-right:1px solid var(--office-line);color:var(--office-ink);padding:24px 12px}
body.dispatch-office .side .brand{background:#17243b;border-radius:12px;padding:12px 8px;min-height:54px}
body.dispatch-office .side .nav{display:flex;align-items:center;gap:10px;color:#55637b;font-weight:600;background:transparent;border:0;padding:9px 10px;min-height:46px}
body.dispatch-office .side .nav.active{background:#eff4ff;color:#245bd5;box-shadow:inset 3px 0 #2563eb}
body.dispatch-office .side .nav:hover:enabled{background:#f1f5fc}
.office-nav-icon{display:inline-grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border-radius:9px;background:#eaf1ff;color:#2563eb;vertical-align:middle;pointer-events:none}
.office-nav-icon svg{display:block;width:19px;height:19px}
.icon-leads,.icon-vendors{background:#fff3e2;color:#b9700b}
.icon-messages,.icon-dealers{background:#e6f7f0;color:#128365}
.icon-dashboard,.icon-email{background:#f0eaff;color:#7652cc}
.icon-audit,.icon-admin{background:#ffecee;color:#c64a64}
body.dispatch-office .side .security{color:#7a879b}
body.dispatch-office .top{border-bottom:1px solid var(--office-line);background:#fff}
body.dispatch-office .top h1{font-weight:750;letter-spacing:-.6px}
body.dispatch-office .metriccard{border-radius:var(--office-radius);box-shadow:0 4px 16px #24385b05;border-top:3px solid #5594f7;background:#fff}
body.dispatch-office .metriccard:nth-child(2){border-top-color:#edb451}
body.dispatch-office .metriccard:nth-child(3){border-top-color:#43b69b}
body.dispatch-office .metriccard:nth-child(4){border-top-color:#a08ae2}
body.dispatch-office .metriccard strong{color:var(--office-ink);font-size:28px;letter-spacing:-1px}
body.dispatch-office .panel:not(:is(#workPanel,#leadsPanel)){border:1px solid var(--office-line);border-radius:var(--office-radius);background:#fff;box-shadow:0 5px 24px #21395805}
body.dispatch-office .panelbar h2{letter-spacing:-.4px;color:var(--office-ink)}
body.dispatch-office .panelbar p{color:var(--office-muted)}
body.dispatch-office button.primary{background:var(--office-blue);border-color:var(--office-blue);border-radius:10px;box-shadow:0 3px 8px #2563eb17}
body.dispatch-office input,body.dispatch-office select,body.dispatch-office textarea{border-color:#dce3ee;border-radius:10px}
body.dispatch-office :is(button,input,select,textarea,summary):focus-visible{outline:3px solid #3978e7;outline-offset:3px}
body.dispatch-office .dispatch-table-wrap{border-radius:14px;border-color:var(--office-line);box-shadow:0 5px 18px #24385b04;background:#fff}
body.dispatch-office .dispatch-table th{background:#f7f9fd;color:#67758d;font-size:11px;letter-spacing:.4px}
body.dispatch-office .dispatch-table tbody tr:hover{background:#f8faff}
body.dispatch-office .dispatch-badge{border-radius:7px}
body.dispatch-office .dispatch-filter-toggle{border-radius:10px;background:#fff}
body.dispatch-office .app-dock button>span.office-nav-icon{width:28px;height:28px;flex-basis:auto;border-radius:8px;font-size:initial;line-height:initial}
body.dispatch-office .app-dock button.active{background:#f0f5ff;color:#2563eb}
body.dispatch-office .mobilebar{background:#17243b;border-bottom:1px solid #ffffff12}
.office-softphone{border-radius:16px;border-color:var(--office-line);box-shadow:0 4px 18px #23375b04}
.office-softphone .phone-mark{width:40px;height:40px;background:#e8f7f1;color:#159573;border-radius:13px}
.office-softphone .phone-mark svg{width:22px;height:22px}
.office-softphone .phone-drawer{width:min(340px,calc(100% - 24px));padding:22px;border:1px solid #dfe6f0;border-radius:22px;box-shadow:0 18px 60px #1a30562b;background:linear-gradient(160deg,#f0f5ff 0,#fff 150px)}
.phone-drawer-heading h2{font-size:20px;letter-spacing:-.5px}
.phone-drawer-status{margin-bottom:18px}
.office-softphone .phone-dial{grid-template-columns:1fr}
.office-softphone .phone-dial input{min-height:54px;font-size:21px;text-align:center;font-weight:600;letter-spacing:.5px;border-radius:13px;background:#fff}
.office-softphone [data-dial]{min-height:46px;border-radius:12px;background:#159573;border-color:#159573;color:#fff}
.office-softphone [data-dial]:hover:enabled{background:#10785c;border-color:#10785c}
.office-softphone [data-dial]::before{content:"";display:inline-block;width:16px;height:16px;margin-right:8px;vertical-align:-3px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 3H4a1 1 0 0 0-1 1c0 9.4 7.6 17 17 17a1 1 0 0 0 1-1v-3l-5-2-2 2a14 14 0 0 1-7-7l2-2-2-5Z'/%3E%3C/svg%3E") center/contain no-repeat}
.office-softphone .phone-keypad{grid-template-columns:repeat(3,64px);justify-content:center;gap:10px 18px;padding:8px 0}
.office-softphone .phone-keypad button{width:64px;min-height:58px;border-radius:18px;font-size:22px;font-weight:500;background:#f4f7fc;border-color:#e7edf5;color:#263957;opacity:1}
.office-softphone .phone-keypad button:disabled{color:#91a0b5;background:#f6f8fc}
.office-softphone .phone-keypad button:hover:enabled{background:#e8efff;border-color:#b9cef8}
.office-softphone .phone-keypad button small{font-size:8px;letter-spacing:1.5px;line-height:12px;color:inherit}
.office-softphone .phone-keypad-details summary,.office-softphone .phone-options summary{color:#596b86;font-weight:650}
.office-softphone .phone-call-actions button{border-radius:12px}
.office-softphone .phone-transfer-controls button{font-size:12px;min-height:44px;border-radius:10px}
@media(max-width:900px){.office-softphone .phone-drawer{right:12px;bottom:calc(84px + env(safe-area-inset-bottom));max-height:calc(100dvh - 150px)}body.dispatch-office .app-dock{border-top:1px solid var(--office-line);box-shadow:0 -5px 24px #24385b08}}
@media(max-width:600px){.office-softphone .phone-drawer{width:min(340px,calc(100% - 24px));padding:18px}.office-softphone .phone-dial input{font-size:20px}body.dispatch-office .panel:not(:is(#workPanel,#leadsPanel)){border-radius:14px}}
@media(max-width:350px){.office-softphone .phone-keypad{gap:8px 12px;grid-template-columns:repeat(3,58px)}.office-softphone .phone-keypad button{width:58px}}
@media print{body{background:#fff}.office-nav-icon{display:none}body.dispatch-office .side{display:none}}
.header-menu [data-graphic-view]{display:flex;align-items:center;gap:10px}
.auth{border:1px solid var(--office-line);border-radius:22px;background:#fff;box-shadow:0 18px 60px #2036560e}
.auth h2{font-size:26px;letter-spacing:-.6px;color:var(--office-ink)}
.auth label{font-size:13px;color:#566780;font-weight:600}
.auth input{border:1px solid #dce3ee;border-radius:10px;font:inherit;color:var(--office-ink)}
.auth .primary{background:var(--office-blue);border-radius:10px}
.auth a{color:var(--office-blue)}
.auth img{background:#17243b;padding:16px;border-radius:12px}
.meeting-card{border-radius:16px;border-color:var(--office-line);box-shadow:0 5px 24px #21395805}
/* One visual language for records, conversations, operations and meetings. */
@media screen{
body.dispatch-office #detail :is(.dispatch-info-card,.dispatch-hold-card,.dispatch-tags,.dispatch-expanded-view){border-color:var(--office-line);border-radius:14px;background:#fff}
body.dispatch-office #detail .dispatch-info-card{border-top:3px solid #43b69b;box-shadow:0 4px 16px #24385b05}
body.dispatch-office #detail .dispatch-info-card:nth-child(2){border-top-color:#edb451}
body.dispatch-office #detail .dispatch-info-card h3{display:flex;align-items:center;gap:9px;color:var(--office-ink)}
body.dispatch-office #detail .dispatch-info-card h3::before{content:"";width:30px;height:30px;flex:0 0 30px;border-radius:10px;background:#e6f7f0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23128365' stroke-width='1.7' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='3'/%3E%3Cpath d='M5 21v-2a7 7 0 0 1 14 0v2'/%3E%3C/svg%3E") center/20px no-repeat}
body.dispatch-office #detail .dispatch-info-card:nth-child(2) h3::before{background:#fff3e2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b9700b' stroke-width='1.7' stroke-linecap='round'%3E%3Cpath d='m5 7 2-4h10l2 4M3 9h18v9H3zM6 18v3M18 18v3M6 13h2M16 13h2'/%3E%3C/svg%3E") center/20px no-repeat}
body.dispatch-office #detail .dispatch-detail-tabs{gap:6px;border-color:var(--office-line);padding:8px 0}
body.dispatch-office #detail .dispatch-detail-tabs button{border-radius:10px;background:#f7f9fd;border:1px solid var(--office-line);padding:9px 12px;color:#596b86}
body.dispatch-office #detail .dispatch-detail-tabs button.active{background:#eaf1ff;color:#2563eb;border-color:#b9cef8}
body.dispatch-office #detail .dispatch-detail-tabs [data-dispatch-tab="Messages"]{background:#e6f7f0;color:#128365}
body.dispatch-office #detail .dispatch-detail-tabs [data-dispatch-tab="History"]{background:#f0eaff;color:#7652cc}
body.dispatch-office #detail .dispatch-detail-tabs [data-dispatch-tab="Vendors & Tech"]{background:#fff3e2;color:#b9700b}
body.dispatch-office :is(.dispatch-hold-card,.dispatch-tags){background:#f7f9fd}
body.dispatch-office :is(.dispatch-tag,.dispatch-badge){border-radius:7px}
}
.office-section-icon{display:inline-grid;place-items:center;width:36px;height:36px;margin-right:10px;border-radius:12px;vertical-align:middle;background:#eaf1ff;color:#2563eb}
.office-section-icon svg{width:21px;height:21px}
.office-section-icon.icon-messages{background:#e6f7f0;color:#128365}
.office-section-icon.icon-meetings{background:#f0eaff;color:#7652cc}
@media screen{
body.dispatch-office :is(.order-card,.lead-card,.dashcard,.dealeritem,.dupecard,.exception,.job-section,.financebox,.partsbox,.vendorbox,.audit-event){border-color:var(--office-line);border-radius:14px;background:#fff;box-shadow:0 4px 16px #24385b05}
body.dispatch-office :is(.order-card,.lead-card):hover{border-color:#b9cef8;background:#f8faff}
body.dispatch-office :is(.order-card,.lead-card).selected{border-color:#8eb2f4;background:#f0f5ff}
body.dispatch-office :is(.job-data-row,.job-row-field,.partrow,.ops-row){border-color:var(--office-line)}
body.dispatch-office .guide-title{color:var(--office-ink);letter-spacing:-.4px}
body.dispatch-office :is(.guide-icon-row,.job-glance,.assignmentbar){background:#f7f9fd;border-color:var(--office-line);border-radius:12px}
body.dispatch-office :is(.card-action-icon,.job-assignment-symbol,.dealer-car-symbol){background:#eaf1ff;color:#2563eb;border-radius:10px}
body.dispatch-office :is(.row-vehicle,.row-fulfillment) .card-action-icon{background:#fff3e2;color:#b9700b}
body.dispatch-office :is(.customer-tools,.technician-tools) .card-action-icon{background:#e6f7f0;color:#128365}
body.dispatch-office :is(.job-tools,.guide-footer,.job-bottom-actions){border-color:var(--office-line)}
body.dispatch-office :is(.job-tools,.guide-footer,.job-bottom-actions,.opsfilters,.dealeractions) button{border-radius:10px}
body.dispatch-office :is(.ops-table,.dashtable,.statementtable) th{background:#f7f9fd;color:#67758d}
body.dispatch-office :is(.badge,.partstatus){border-radius:7px}
body.dispatch-office :is(.modal,.job-drawer,.finance-drawer,.customer-note-dialog){border-color:var(--office-line);border-radius:20px;box-shadow:0 18px 60px #1a30562b}
body.dispatch-office #messagesPanel .inboxbar{background:#f7f9fd;border-color:var(--office-line)}
body.dispatch-office #messagesPanel .inboxfilter{border-radius:10px;min-height:36px}
body.dispatch-office #messagesPanel .inboxfilter.active{background:#e6f7f0;color:#128365;border-color:#acdccc}
body.dispatch-office #messagesPanel .threads{background:#fafbfe;border-color:var(--office-line)}
body.dispatch-office #messagesPanel .thread{border-color:var(--office-line);border-left:3px solid transparent}
body.dispatch-office #messagesPanel .thread:hover{background:#eef8f4}
body.dispatch-office #messagesPanel .thread.active{background:#eaf7f1;border-left-color:#159573}
body.dispatch-office #messagesPanel .avatar{background:#e6f7f0;color:#128365;border-radius:10px}
body.dispatch-office #messagesPanel .chathead{background:#fff;border-color:var(--office-line)}
body.dispatch-office #messagesPanel .chatbody{background:#f5f7fc}
body.dispatch-office #messagesPanel .bubble{border-radius:15px 15px 15px 4px;border-color:var(--office-line);box-shadow:0 3px 10px #23375b05}
body.dispatch-office #messagesPanel .bubble.out{background:#159573;border-color:#159573;border-radius:15px 15px 4px 15px;color:#fff}
body.dispatch-office #messagesPanel .composer{background:#fff;border-color:var(--office-line)}
body.dispatch-office #messagesPanel .composer .primary{background:#159573;border-color:#159573}
body.dispatch-office :is(.email-list,.email-detail){border-color:var(--office-line);border-radius:14px}
body.dispatch-office :is(.emptythread,.ops-empty,.lead-empty,.empty-queue){background:#f7f9fd;border-radius:14px;color:var(--office-muted)}
.office-meetings main{max-width:1180px}
.office-meetings header{background:#fff;padding:24px;border:1px solid var(--office-line);border-radius:18px;box-shadow:0 5px 24px #21395805}
.office-meetings header h1{letter-spacing:-.8px;color:var(--office-ink)}
.office-meetings .eyebrow{color:#7652cc}
.office-meetings #backOffice{background:#f0f5ff;border:1px solid #dbe6fb;border-radius:10px;padding:11px 14px;text-decoration:none;white-space:nowrap}
.office-meetings :is(.panel,.meeting-card){border-color:var(--office-line);border-radius:16px;box-shadow:0 5px 24px #21395805}
.office-meetings #createMeeting{border-top:3px solid #a08ae2}
.office-meetings .meeting-card{border-top:3px solid #a08ae2}
.office-meetings .badge{background:#f0eaff;color:#7652cc;border-radius:7px}
.office-meetings button{border-color:#dce3ee;border-radius:10px;min-height:42px}
.office-meetings .primary{background:#7652cc;border-color:#7652cc;box-shadow:0 3px 8px #7652cc17}
.office-meetings input{border-color:#dce3ee;border-radius:10px}
.office-meetings #callFrame{border:1px solid var(--office-line);border-radius:18px}
.office-meetings :is(button,input,a):focus-visible{outline:3px solid #3978e7;outline-offset:3px}
}
@media(max-width:600px){.office-meetings header{padding:18px;flex-wrap:wrap}.office-meetings header h1{font-size:24px}.office-meetings .office-section-icon{width:30px;height:30px;margin-right:7px}body.dispatch-office .office-section-icon{width:30px;height:30px}}

/* Main workspace: readable type, calm hierarchy, and clear queue controls. */
@media screen{
body.dispatch-office,body.office-meetings{font-family:"Segoe UI Variable Text","Segoe UI",Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,sans-serif;font-size:14px;line-height:1.5;font-weight:400}
body.dispatch-office :is(button,input,select,textarea),body.office-meetings :is(button,input,select,textarea){font-family:inherit;letter-spacing:normal}
body.dispatch-office :is(h1,h2,h3),body.office-meetings :is(h1,h2,h3){font-weight:700;line-height:1.3;text-wrap:balance}
body.dispatch-office :is(#workPanel,#leadsPanel)>.panelbar{margin:10px 20px 16px;padding:18px 20px;border:1px solid var(--office-line);border-radius:16px;background:linear-gradient(115deg,#fff,#f0f5ff);box-shadow:0 4px 18px #24385b04}
body.dispatch-office :is(#workPanel,#leadsPanel)>.panelbar h2{font-size:24px;letter-spacing:-.6px;line-height:1.3}
body.dispatch-office :is(#workPanel,#leadsPanel)>.panelbar p{font-size:14px;line-height:1.5}
body.dispatch-office :is(#workPanel,#leadsPanel)>.panelbar button{border-radius:10px;border-color:#dce3ee;font-size:13px;min-height:40px}
body.dispatch-office .dispatch-view-tabs{display:flex;gap:6px;border:1px solid var(--office-line);border-radius:12px;padding:5px;background:#edf1f8;margin-bottom:12px;overflow:auto}
body.dispatch-office .dispatch-view-tabs button{border:0;border-radius:8px;min-height:40px;padding:9px 13px;font-size:13px;line-height:1.4;font-weight:600;white-space:nowrap}
body.dispatch-office .dispatch-view-tabs button[aria-pressed=true]{background:#fff;color:#2563eb;border:0;box-shadow:0 2px 6px #24385b10}
body.dispatch-office #dispatchResult{font-size:13px;line-height:1.5;color:#62718a;padding:6px 0 14px}
body.dispatch-office :is(#workPanel,#leadsPanel)>.filters :is(input,select){font-size:14px;line-height:1.5;min-height:44px;padding:11px 13px;border:1px solid #dce3ee;border-radius:12px;background:#fff}
body.dispatch-office .dispatch-table{font-size:14px;line-height:1.5}
body.dispatch-office .dispatch-table th{font-size:12px;font-weight:600;letter-spacing:.15px;padding:14px 12px;color:#596b86}
body.dispatch-office .dispatch-table td{font-size:14px;padding:16px 12px;line-height:1.5;color:#43546d}
body.dispatch-office .dispatch-table strong{font-size:14px;font-weight:600;line-height:1.45;color:#17243b}
body.dispatch-office .dispatch-table small{font-size:12px;line-height:1.5;color:#62718a}
body.dispatch-office .dispatch-job-link{font-size:13px;font-weight:600;line-height:1.4}
body.dispatch-office .dispatch-badge{font-size:12px;font-weight:600;padding:4px 8px;line-height:1.4}
body.dispatch-office .dispatch-filter-toggle{font-size:13px;min-height:40px}
body.dispatch-office .dispatch-filter-toggle b{font-size:12px}
body.dispatch-office :is(#workPanel,#leadsPanel) .dispatch-calendar-job,body.dispatch-office :is(#workPanel,#leadsPanel) .dispatch-location{border-color:var(--office-line);border-radius:14px;background:#fff;box-shadow:0 4px 16px #24385b05}
body.dispatch-office :is(#workPanel,#leadsPanel) .dispatch-calendar-job :is(small,span),body.dispatch-office :is(#workPanel,#leadsPanel) .dispatch-location :is(span,a){font-size:13px;line-height:1.5}
body.dispatch-office .app-dock small{font-size:11px;font-weight:600}
body.dispatch-office #detail :is(input,select,textarea){font-family:inherit;line-height:1.5}
}
@media(max-width:900px){body.dispatch-office :is(#workPanel,#leadsPanel)>.panelbar{margin:10px 15px 14px;padding:16px}body.dispatch-office :is(#workPanel,#leadsPanel)>.panelbar h2{font-size:22px}}
@media(max-width:700px){
body.dispatch-office :is(#workPanel,#leadsPanel)>.panelbar{gap:12px;flex-wrap:wrap}
body.dispatch-office .dispatch-view-tabs{gap:4px}
body.dispatch-office .dispatch-view-tabs button{font-size:12px;padding:9px 10px}
body.dispatch-office .dispatch-table tr.dispatch-row{border-color:var(--office-line);border-radius:16px;gap:14px 16px;padding:18px;margin-bottom:14px;box-shadow:0 4px 18px #24385b05}
body.dispatch-office .dispatch-table td{font-size:13px;padding:0;line-height:1.55}
body.dispatch-office .dispatch-table td::before{font-size:12px;line-height:1.5;color:#62718a;font-weight:500;margin-bottom:5px}
body.dispatch-office .dispatch-table strong{font-size:15px;font-weight:600;line-height:1.45}
body.dispatch-office .dispatch-table td:nth-child(6)>strong{font-size:17px;letter-spacing:-.2px}
body.dispatch-office :is(#workPanel,#leadsPanel)>.filters :is(input,select){font-size:16px;min-height:46px}
}



/* typography.css */
/* Inter is served by Office itself, with no third-party font requests. */
@font-face{font-family:"Office Inter";src:url("./fonts/InterVariable.woff2") format("woff2");font-style:normal;font-weight:100 900;font-display:swap}
:root{--office-font:"Office Inter",Inter,system-ui,-apple-system,"Segoe UI",sans-serif}
html body,html body :is(button,input,select,textarea,summary,a,p,span,div,small,label,td,th,h1,h2,h3,h4,b,strong){font-family:var(--office-font)!important;font-optical-sizing:auto}
html body{font-weight:400;line-height:1.55}
html body :is(h1,h2,h3,h4){font-weight:600!important;line-height:1.35;letter-spacing:-.025em!important}
html body :is(b,strong){font-weight:600!important}
html body :is(button,summary,.nav,.badge,.dispatch-badge,.partstatus,.status){font-weight:500!important;letter-spacing:normal!important}
html body :is(label,th){font-weight:500!important;letter-spacing:normal!important;text-transform:none}
html body small{font-size:12px;line-height:1.5;font-weight:400}
html body.dispatch-office #workPanel>.panelbar h2{font-size:22px;font-weight:600!important;letter-spacing:-.035em!important}
html body.dispatch-office .top h1{font-size:24px;font-weight:600!important}
html body.dispatch-office .side .nav{font-size:13px;font-weight:500!important;line-height:1.5}
html body.dispatch-office .panelbar h2{font-size:22px;font-weight:600!important}
html body.dispatch-office :is(.threadcopy b,.dispatch-table strong,.order-name,.lead-card b){font-weight:600!important}
html body.dispatch-office :is(.threadcopy small,.chathead span,.dispatch-table small,.muted){font-size:12px;line-height:1.5}
html body.dispatch-office #detail :is(h3,.dispatch-info-card h3){font-size:16px;font-weight:600!important;line-height:1.4}
html body.dispatch-office #detail label{font-size:13px!important;font-weight:500!important}
html body.dispatch-office #detail :is(input,select,textarea){font-weight:400;letter-spacing:normal}
html body.dispatch-office .metriccard strong{font-weight:600!important;font-variant-numeric:tabular-nums}
html body :is(.phone-number,.phone-dial input,.phone-keypad button){font-variant-numeric:tabular-nums;font-weight:500!important}
html body .phone-drawer-heading h2{font-weight:600!important;letter-spacing:-.025em!important}
html body.office-meetings h1{font-size:30px;font-weight:600!important}
html body.office-meetings h2{font-size:20px;font-weight:600!important}
html body :is(.auth h2,.auth h1){font-weight:600!important}
@media(max-width:700px){html body.dispatch-office #workPanel>.panelbar h2{font-size:21px}html body.dispatch-office .dispatch-table td:nth-child(6)>strong{font-size:16px;font-weight:600!important}html body.office-meetings h1{font-size:26px}}
@media print{html body{font-family:var(--office-font)!important}}


/* portal-brand.css */
/* Match the public website brand while preserving Office navigation. */
body.dispatch-office .top{background:#061b36;color:#fff;min-height:88px;padding:12px 24px!important;border-bottom:1px solid #ffffff1a;margin-bottom:10px!important}
.portal-header-brand{display:flex;align-items:center;gap:18px;min-width:0}
.portal-header-brand img{display:block;width:270px;max-width:100%;height:auto;filter:none}
.portal-header-brand>span{font-size:13px;color:#d9e6f7;border-left:1px solid #ffffff40;padding-left:18px}
body.dispatch-office .top .user{background:#ffffff0d;color:#fff;border-color:#ffffff30}
body.dispatch-office .top .user small{color:#c6d5e7}
body.dispatch-office .side .brand{background:#061b36;border-radius:8px}
body.dispatch-office .side .brand img{filter:none}
body.dispatch-office .mobilebar{background:#061b36;border-bottom:1px solid #ffffff1a;box-shadow:none}
body.dispatch-office .mobilebrand img{width:205px!important;height:auto;filter:none}
body.dispatch-office .mobilebrand span{display:none}
body.dispatch-office .header-tools{gap:6px}
body.dispatch-office .header-search,body.dispatch-office .menubtn,body.dispatch-office .header-tools #newWork{background:#ffffff0d;border-color:#ffffff35;color:#fff}
body.dispatch-office .header-search:focus-visible,body.dispatch-office .menubtn:focus-visible,body.dispatch-office .header-tools #newWork:focus-visible{outline:2px solid #12b6dc;outline-offset:2px}
@media(max-width:900px){body.dispatch-office .mobilebar{padding-left:14px;padding-right:14px}body.dispatch-office .top{display:none!important}}
@media(max-width:380px){body.dispatch-office .mobilebrand img{width:180px!important}}
@media print{.portal-header-brand{display:none}}

/* Let the mobile logo shrink and reserve its full height, including safe areas. */
@media screen and (max-width:900px){
 body.dispatch-office .mobilebar{height:calc(72px + env(safe-area-inset-top))!important;min-height:calc(72px + env(safe-area-inset-top));padding:calc(6px + env(safe-area-inset-top)) 12px 6px!important;gap:10px;align-items:center}
 body.dispatch-office .mobilebrand{flex:1 1 205px;min-width:0}
 body.dispatch-office .mobilebrand img{width:100%!important;max-width:205px;max-height:60px;object-fit:contain;object-position:left center}
 body.dispatch-office .header-tools{flex:0 0 auto;gap:6px}
 body.dispatch-office .header-search,body.dispatch-office .header-tools #newWork,body.dispatch-office .mobilebar #mobileMenu{width:40px;height:40px;min-width:40px;min-height:40px;padding:8px!important;display:inline-flex;align-items:center;justify-content:center}
 body.dispatch-office .mobilebar #mobileMenu span{display:none}
 body.dispatch-office .mobilebar #mobileMenu .office-icon{width:20px;height:20px}
 body.dispatch-office main{padding-top:calc(80px + env(safe-area-inset-top))!important}
 body.dispatch-office .worktitle{top:calc(72px + env(safe-area-inset-top))!important}
 body.dispatch-office .header-menu{top:100%}
 html{scroll-padding-top:calc(80px + env(safe-area-inset-top))}
 #messagesPanel .conversation,#messagesPanel .chathead,.job-view,.inline-job{scroll-margin-top:calc(80px + env(safe-area-inset-top))!important}
}

/* document-layout.css */
#detail.row-work-order{background:#fff!important;color:#172331!important;padding:18px!important;border-radius:4px!important;max-width:1100px;margin:12px auto!important}
#detail.row-work-order .work-order-rows{display:block!important}
#detail.row-work-order .work-order-row{display:flex!important;flex-wrap:wrap;align-items:start;gap:8px 12px;padding:9px 0!important;border:0;border-bottom:1px solid #b7bdc3;border-radius:0;background:white}
#detail.row-work-order .work-order-row>h3{flex:0 0 115px;margin:6px 0;font-size:12px}
#detail.row-work-order .work-order-row>label{display:flex!important;flex-direction:column;flex:1 1 115px;min-width:80px;max-width:230px;margin:0!important;font-size:11px!important;gap:3px;text-transform:none!important;letter-spacing:0!important}
#detail.row-work-order .work-order-row input,#detail.row-work-order .work-order-row select,#detail.row-work-order .work-order-row textarea{box-sizing:border-box;width:100%!important;min-height:30px!important;padding:5px 6px!important;font-size:12px!important;background:#fff!important;border:1px solid #c4cbd1!important;border-radius:3px!important}
#detail.row-work-order .work-order-row label:has(#editAddress){flex:3 1 270px;max-width:none}
#detail.row-work-order .work-order-row label:has(#editRegion){flex:0 1 65px}
#detail.row-work-order .work-order-row label:has(#editZip){flex:0 1 90px}
#detail.row-work-order .work-order-row label:has(#editVin){flex:2 1 190px}
#detail.row-work-order .work-order-row label:has(#woNotes){max-width:none;flex:1 1 70%}
#detail.row-work-order .work-order-payment{display:flex;gap:6px;margin-bottom:7px}
#detail.row-work-order .work-order-payment button{padding:7px 15px!important;min-height:30px!important;font-size:12px!important;border:1px solid #8c9aa4;border-radius:3px}
#detail.row-work-order .work-order-payment button[aria-pressed=true]{background:#173e50!important;color:white!important}
#detail.row-work-order .work-order-installation{flex:1 0 100%;margin:0;font-size:11px;color:#52616c}
#detail.row-work-order .work-order-technician{display:flex;flex-direction:column;gap:3px;font-size:11px}
#detail.row-work-order .dispatch-job-glance{display:none!important}
#detail.row-work-order .partsmini{margin-top:10px!important;padding:8px 0!important;border-radius:0!important;border:0!important;border-bottom:1px solid #b7bdc3!important}
#detail.row-work-order .part-line-fields{display:flex!important;flex-wrap:wrap;gap:6px!important}
#detail.row-work-order .part-line-fields>label{flex:1 1 110px;font-size:11px!important}
#detail.row-work-order .part-line-fields input,#detail.row-work-order .part-line-fields select{min-height:30px!important;padding:5px!important;font-size:12px!important}
#detail.row-work-order .dispatch-cost-summary{display:flex!important;flex-wrap:wrap;gap:16px;background:white!important;padding:10px 0!important;border-radius:0!important}
#detail.row-work-order .dispatch-cost-summary>div{display:flex;align-items:baseline;gap:7px}
#detail.row-work-order .dispatch-cost-summary strong{font-size:14px!important}
#detail.row-work-order .work-order-row[hidden],#detail.row-work-order [hidden]{display:none!important}
@media(max-width:600px){#detail.row-work-order{padding:10px!important}#detail.row-work-order .work-order-row>h3{flex-basis:100%;margin:0}#detail.row-work-order .work-order-row>label{max-width:none;flex-basis:130px}}
/* Compact document layout, retaining the original editable controls. */
#detail.row-work-order{max-width:960px;color:#171717!important;font-family:Arial,sans-serif;box-shadow:0 2px 14px #00000012;border:1px solid #ddd}
#detail.row-work-order .work-order-rows{display:grid!important;grid-template-columns:1fr 1fr;gap:0 22px}
#detail.row-work-order .work-order-payment,#detail.row-work-order .work-order-masthead{grid-column:1/-1}
#detail.row-work-order .work-order-masthead{display:grid;grid-template-columns:1fr auto;padding:12px 0 16px;border-bottom:2px solid #222;align-items:end}
#detail.row-work-order .work-order-masthead strong{font-size:29px;font-style:italic;letter-spacing:-1px}
#detail.row-work-order .work-order-masthead div{font-size:16px;font-weight:700}
#detail.row-work-order .work-order-masthead small{grid-column:2;font-size:10px;margin-top:4px}
#detail.row-work-order .work-order-row{gap:5px 9px;padding:10px 0!important;border-color:#888}
#detail.row-work-order .work-order-row>h3{flex-basis:100%;margin:0 0 3px;font-size:12px}
#detail.row-work-order .work-order-row>label{max-width:none;flex:1 1 120px;font-size:10px!important;font-weight:600}
#detail.row-work-order .work-order-row input,#detail.row-work-order .work-order-row select,#detail.row-work-order .work-order-row textarea{min-height:27px!important;font-size:11px!important;border:0!important;border-bottom:1px solid #bbb!important;border-radius:0!important;padding:4px 2px!important;color:#111!important}
#detail.row-work-order .work-order-row input:focus,#detail.row-work-order .work-order-row select:focus{outline:2px solid #173e50;outline-offset:2px}
#detail.row-work-order .document-service{grid-column:2;grid-row:3/5}
#detail.row-work-order .document-customer,#detail.row-work-order .document-address{grid-column:1}
#detail.row-work-order .work-order-row:has(#editYear),#detail.row-work-order .work-order-insurance,#detail.row-work-order .document-parts,#detail.row-work-order .work-order-row:has(#woNotes){grid-column:1/-1}
#detail.row-work-order .work-order-insurance>label{flex-basis:190px}
#detail.row-work-order .document-parts{border-top:2px solid #333!important}
#detail.row-work-order .part-line-fields{display:grid!important;grid-template-columns:1.3fr 1.5fr 1.3fr .65fr 1fr;gap:8px!important;border-bottom:1px solid #888;padding:8px 0}
#detail.row-work-order .document-totals{grid-column:2;display:flex!important;flex-direction:column;gap:8px;border-top:2px solid #333!important}
#detail.row-work-order .document-totals>div{justify-content:space-between;border-bottom:1px solid #ccc;padding-bottom:4px}
#detail.row-work-order .document-authorization{grid-column:1/-1;border-top:1px solid #777;font-size:11px;padding:8px 0}
#detail.row-work-order .document-authorization h3{font-size:12px;margin:0}
#detail.row-work-order .document-authorization p{margin:18px 0}
@media(max-width:650px){#detail.row-work-order .work-order-rows{grid-template-columns:1fr}#detail.row-work-order .work-order-rows>*{grid-column:1!important;grid-row:auto!important}#detail.row-work-order .part-line-fields{grid-template-columns:1fr 1fr}#detail.row-work-order .work-order-masthead strong{font-size:24px}}
@media print{#detail.row-work-order{box-shadow:none;border:0;max-width:none;margin:0!important;padding:0!important}.work-order-payment,.dispatch-job-tabs,.dispatch-detail-actions{display:none!important}#detail.row-work-order .work-order-row input,#detail.row-work-order .work-order-row select{appearance:none;border:0!important}#detail.row-work-order .work-order-row{break-inside:avoid}.document-authorization{break-inside:avoid}}
#detail.row-work-order .work-order-extras{margin-top:22px;padding:12px;border:1px solid #bbb;background:#f7f8f9}
#detail.row-work-order .work-order-extras>summary{cursor:pointer;font-size:13px;font-weight:700;padding:4px}
#detail.row-work-order .work-order-extras>p{font-size:11px;color:#52616c;margin:10px 4px}
#detail.row-work-order .work-order-extras .dispatch-hold-card,#detail.row-work-order .work-order-extras .actions{margin:10px 0!important}
#detail.row-work-order .work-order-related{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px;border-top:1px solid #bbb;padding-top:12px}
#detail.row-work-order .work-order-related button{font-size:12px;padding:7px 12px}
@media print{#detail.row-work-order .work-order-extras{display:none!important}}



/* Clear, consistent Save controls in the job header and invoice toolbar. */
body.dispatch-office #detail #saveWork,
body.dispatch-office #detail .invoice-save-toolbar button[data-guide-save-invoice]{
 background:#123a63!important;color:#ffffff!important;border:1px solid #123a63!important;
 border-radius:7px!important;min-height:40px!important;padding:9px 14px!important;
 font-size:14px!important;font-weight:700!important;line-height:1.2!important;
 opacity:1!important;box-shadow:none!important;white-space:nowrap;cursor:pointer
}
body.dispatch-office #detail #saveWork:hover:enabled,
body.dispatch-office #detail .invoice-save-toolbar button[data-guide-save-invoice]:hover:enabled{
 background:#0b2947!important;border-color:#0b2947!important
}
body.dispatch-office #detail #saveWork:disabled,
body.dispatch-office #detail .invoice-save-toolbar button[data-guide-save-invoice]:disabled{
 background:#e4eaf0!important;color:#425466!important;border-color:#b8c6d3!important;
 opacity:1!important;cursor:default;box-shadow:none!important
}
body.dispatch-office #detail #saveWork:focus-visible,
body.dispatch-office #detail .invoice-save-toolbar button[data-guide-save-invoice]:focus-visible{
 outline:3px solid #1685d1!important;outline-offset:3px!important
}

/* Job sections retain the original editable fields and save handlers. */
#detail.row-work-order .work-order-rows{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)!important;gap:12px!important}
#detail.row-work-order .work-section-nav{grid-column:1/-1;display:flex;gap:6px;flex-wrap:wrap;padding:4px 0 10px;border-bottom:1px solid #dce5ee}
#detail.row-work-order .work-section-nav button{background:#eef4fa;color:#23496b;border:1px solid #cedce9;border-radius:6px;padding:8px 10px;font-size:12px;min-height:36px;white-space:nowrap}
#detail.row-work-order .work-section-nav button:hover,#detail.row-work-order .work-section-nav button[aria-current]{background:#123a63;color:#fff;border-color:#123a63}
#detail.row-work-order .work-section{grid-column:1/-1;min-width:0;padding:14px;border:1px solid #d6e1eb;border-radius:8px;background:#fff;scroll-margin-top:16px}
#detail.row-work-order .work-section-customer{grid-column:1}
#detail.row-work-order .work-section-vehicle{grid-column:2}
#detail.row-work-order .work-section>h2{font-size:15px!important;font-weight:700;color:#123a63;background:#eef4fa;padding:10px 12px;margin:-14px -14px 10px!important;border-bottom:1px solid #d6e1eb;border-radius:8px 8px 0 0}
#detail.row-work-order .work-section .work-order-row{border:0!important;padding:8px 0!important;gap:8px 12px}
#detail.row-work-order .work-section .work-order-row>h3{font-size:11px!important;color:#576d80;letter-spacing:.4px;text-transform:uppercase;margin:0 0 4px!important}
#detail.row-work-order .work-section .work-order-row>label{font-size:12px!important;font-weight:500;gap:5px}
#detail.row-work-order .work-section input,#detail.row-work-order .work-section select,#detail.row-work-order .work-section textarea{background:#fff!important;color:#17324e!important;border:1px solid #cbd8e4!important;border-radius:5px!important;padding:7px 8px!important;font-size:13px!important;min-height:34px!important}
#detail.row-work-order .work-section input[type=checkbox]{min-height:0!important}
#detail.row-work-order .work-section .document-parts,#detail.row-work-order .work-section .work-order-charges{border:0!important;padding:0!important;margin:0!important}
#detail.row-work-order .work-section-parts .partsminihead>div>b,#detail.row-work-order .work-section-charges .work-order-charges>h3,#detail.row-work-order .work-section-authorization .document-authorization>h3,#detail.row-work-order .work-section-notes .document-notes>h3,#detail.row-work-order .work-section-vehicle .vehicle-identification>h3,#detail.row-work-order .work-section-schedule .document-service>h3{display:none!important}
#detail.row-work-order .work-section .document-authorization{border:0!important;padding:0!important}
#detail.row-work-order .work-section .document-totals{margin:12px 0!important;padding:10px!important;background:#f4f8fc!important;border:1px solid #dbe5ef!important;border-radius:5px!important;flex-direction:row!important;justify-content:space-between!important;flex-wrap:wrap}
#detail.row-work-order .work-section .document-totals>div{border:0!important;padding:0!important}
#detail.row-work-order .work-section .work-order-financial-states{margin:10px 0;padding:10px 0}
#detail.row-work-order .work-section .charges-actions{margin-top:12px}
#detail.row-work-order .work-section .charges-scroll table{font-size:12px}
#detail.row-work-order .work-section-notes textarea{min-height:72px!important}
@media screen and (max-width:650px){
 #detail.row-work-order .work-order-rows{grid-template-columns:minmax(0,1fr)!important}
 #detail.row-work-order .work-section{grid-column:1!important;padding:12px}
 #detail.row-work-order .work-section>h2{margin:-12px -12px 10px!important}
 #detail.row-work-order .work-section-nav{flex-wrap:nowrap;overflow-x:auto;max-width:100%;padding-bottom:10px}
 #detail.row-work-order .work-section-nav button{min-height:42px}
 #detail.row-work-order .work-section input,#detail.row-work-order .work-section select,#detail.row-work-order .work-section textarea{font-size:16px!important;min-height:42px!important}
 #detail.row-work-order .work-section .work-order-row>label{flex-basis:140px}
}
@media print{
 #detail.row-work-order .work-section-nav{display:none!important}
 #detail.row-work-order .work-section{border:0;padding:0;break-inside:avoid}
 #detail.row-work-order .work-section>h2{background:#fff;margin:8px 0!important;padding:6px 0;border-bottom:1px solid #aaa}
}

/* Compact columns for purchasing and selling charges. */
@media screen and (min-width:701px){
 #detail.row-work-order .work-section-parts,#detail.row-work-order .work-section-authorization{grid-column:1}
 #detail.row-work-order .work-section-charges,#detail.row-work-order .work-section-notes{grid-column:2}
 #detail.row-work-order .work-section{align-self:start}
}
@media screen{
 #detail.row-work-order .work-section .part-line-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:7px!important}
 #detail.row-work-order .work-section .part-line-fields>label{min-width:0!important}
 #detail.row-work-order .work-section .document-estimate{display:flex!important;align-items:center!important;gap:10px!important;padding:0 0 10px!important}
 #detail.row-work-order .work-section .document-estimate>h3{flex:0 0 auto!important;margin:0!important}
 #detail.row-work-order .work-section .document-estimate>label{flex:0 1 140px!important;max-width:140px!important;font-size:0!important}
 #detail.row-work-order .work-section .document-estimate input{font-size:14px!important;font-weight:700}
 #detail.row-work-order .work-section .document-totals{gap:8px!important;margin:0 0 12px!important}
 #detail.row-work-order .work-section .document-totals>div{font-size:11px!important;flex:1 1 95px;display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:3px}
 #detail.row-work-order .work-section .document-totals strong{font-size:14px!important}
 #detail.row-work-order .work-section .part-entry{padding:8px 0!important;margin-top:8px!important}
 #detail.row-work-order .work-section .part-line-actions{gap:5px!important;flex-wrap:wrap}
 #detail.row-work-order .work-section .partsminihead{flex-wrap:wrap;gap:6px}
 #detail.row-work-order .work-section .partsminihead small{font-size:11px}
 /* Keep every charge field readable within one column. */
 #detail.row-work-order .work-section .charges-scroll{overflow:visible}
 #detail.row-work-order .work-section .work-order-charges table{display:block;width:100%}
 #detail.row-work-order .work-section .work-order-charges thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 #detail.row-work-order .work-section .work-order-charges tbody{display:block}
 #detail.row-work-order .work-section .work-order-charges tbody tr{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;padding:10px 0;border-top:1px solid #dce5ee}
 #detail.row-work-order .work-section .work-order-charges td{display:flex;flex-direction:column;gap:5px;padding:0;border:0;min-width:0!important;width:auto!important;grid-column:span 2}
 #detail.row-work-order .work-section .work-order-charges td:nth-child(1),#detail.row-work-order .work-section .work-order-charges td:nth-child(2){grid-column:span 3}
 #detail.row-work-order .work-section .work-order-charges td:before{font-size:11px;color:#576d80;font-weight:500}
 #detail.row-work-order .work-section .work-order-charges td:nth-child(1):before{content:'Description'}
 #detail.row-work-order .work-section .work-order-charges td:nth-child(2):before{content:'Part number'}
 #detail.row-work-order .work-section .work-order-charges td:nth-child(3):before{content:'Qty'}
 #detail.row-work-order .work-section .work-order-charges td:nth-child(4):before{content:'Selling price'}
 #detail.row-work-order .work-section .work-order-charges td:nth-child(5):before{content:'Line total'}
 #detail.row-work-order .work-section .work-order-charges td:nth-child(5){font-weight:700}
 #detail.row-work-order .work-section .work-order-charges td:nth-child(6){grid-column:1/-1;align-items:flex-end}
 #detail.row-work-order .work-section .work-order-charges input{min-width:0!important;max-width:100%}
 #detail.row-work-order .work-section .charges-totals{max-width:none;width:100%;margin:10px 0}
 #detail.row-work-order .work-section .charges-totals>label{font-size:12px}
 #detail.row-work-order .work-section .charges-totals input{width:100px!important}
 #detail.row-work-order .work-section .charges-totals div>div{padding:6px 0}
 #detail.row-work-order .work-section .charges-actions{flex-wrap:wrap;gap:6px}
 #detail.row-work-order .work-section .document-authorization p{margin:10px 0;line-height:1.5;overflow-wrap:anywhere}
 #detail.row-work-order .work-section .document-authorization button{max-width:100%;white-space:normal}
}
@media screen and (max-width:700px){
 #detail.row-work-order .work-order-rows{grid-template-columns:minmax(0,1fr)!important}
 #detail.row-work-order .work-section{grid-column:1!important}
}

/* One dispatch assignment row; all other part references are display-only. */
@media screen{
 #detail.row-work-order .work-section-parts,#detail.row-work-order .work-section-charges{grid-column:1/-1!important}
 #detail.row-work-order .work-section .assignment-fields{display:grid!important;grid-template-columns:minmax(100px,1fr) minmax(100px,1fr) minmax(100px,1fr) minmax(200px,1.6fr)!important;gap:10px!important;align-items:start}
 #detail.row-work-order .assignment-fields>label,#detail.row-work-order .assignment-fields>.work-order-technician{display:flex!important;flex-direction:column!important;min-width:0;gap:5px;font-size:12px;font-weight:500}
 #detail.row-work-order .assignment-fields>.work-order-technician button{margin:0;min-height:34px;padding:7px 8px;border:1px solid #cbd8e4;border-radius:5px;background:#fff;text-align:left;font-size:13px;color:#17324e}
 #detail.row-work-order .assignment-schedule{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px;min-width:0}
 #detail.row-work-order .assignment-schedule>label{display:flex!important;flex-direction:column;gap:5px;font-size:12px;font-weight:500;margin:0}
 #detail.row-work-order .assignment-schedule>label>small,#detail.row-work-order .assignment-schedule>label>span{display:none!important}
 #detail.row-work-order .assignment-extra-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:10px 0}
 #detail.row-work-order .assignment-extra-fields>label{display:flex!important;flex-direction:column;gap:4px;min-width:0}
 #detail.row-work-order .assignment-part-options{margin-top:8px;font-size:12px;color:#576d80}
 #detail.row-work-order .assignment-part-options summary{cursor:pointer}
 #detail.row-work-order .assignment-choose-vendor{align-self:flex-start;font-size:11px!important;padding:4px 8px!important}
 #detail.row-work-order .assignment-vendor-panel,#detail.row-work-order .assignment-tech-panel{margin-top:10px;font-size:12px}
 #detail.row-work-order .assignment-tech-panel .technician-row{display:none!important}
 #detail.row-work-order .work-section .document-estimate{display:none!important}
 #detail.row-work-order .linked-charge-part{font-weight:600;padding:7px 0;color:#17324e}
 #detail.row-work-order .assignment-vendor-panel:not([open]),#detail.row-work-order .assignment-tech-panel:not([open]){display:none!important}
}
@media screen and (max-width:700px){
 #detail.row-work-order .work-section .assignment-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
 #detail.row-work-order .assignment-schedule{grid-column:1/-1}
 #detail.row-work-order .assignment-extra-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
}
@media print{
 #detail.row-work-order .assignment-vendor-panel,#detail.row-work-order .assignment-tech-panel,.assignment-choose-vendor{display:none!important}
 #detail.row-work-order .assignment-part-options{display:block}
}


#detail.row-work-order .work-order-masthead{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;border-bottom:2px solid #222;padding:10px 0}
#detail.row-work-order .work-order-masthead strong{font-size:25px;white-space:nowrap}
#detail.row-work-order .work-order-masthead .work-order-payment{margin:0;display:flex;gap:4px}
#detail.row-work-order .work-order-number{display:flex;flex-direction:row;align-items:center;gap:8px;font-size:12px;font-weight:700;white-space:nowrap}
#detail.row-work-order .work-order-number input{width:190px;max-width:100%;font:12px Arial;padding:5px;border:0;border-bottom:1px solid #999;background:white;color:#111}
#detail.row-work-order .work-order-number input[readonly]{border-bottom-color:transparent}
@media(max-width:650px){#detail.row-work-order .work-order-masthead{gap:8px}#detail.row-work-order .work-order-number{flex-wrap:wrap}}

#detail.row-work-order .work-order-masthead{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(125px,1.15fr);gap:8px;align-items:center}
#detail.row-work-order .work-order-masthead strong{font-size:clamp(14px,2.3vw,24px)}
#detail.row-work-order .work-order-masthead .work-order-payment button{font-size:10px!important;padding:5px 6px!important;min-height:28px!important;white-space:nowrap}
#detail.row-work-order .work-order-number{font-size:10px;gap:4px;min-width:0}
#detail.row-work-order .work-order-number input{min-width:0;width:100%;font-size:10px;padding:4px 2px}
@media(max-width:420px){#detail.row-work-order .work-order-masthead{grid-template-columns:1fr auto}#detail.row-work-order .work-order-number{grid-column:1/-1}}

#detail.row-work-order .work-order-masthead .work-order-payment{grid-column:auto!important;width:auto!important}
#detail.row-work-order .work-order-masthead .work-order-number{flex-wrap:nowrap}

#detail.row-work-order .work-order-masthead .work-order-payment{display:grid!important;grid-template-columns:auto auto;gap:4px}
#detail.row-work-order .work-order-location{grid-column:1/-1;font-size:10px;color:#52616c;text-align:center;line-height:1.3;font-weight:400}

#detail.row-work-order .work-order-masthead .work-order-brand{min-width:0;display:flex;flex-direction:column;gap:4px}
#detail.row-work-order .work-order-brand .work-order-location{text-align:left}

#detail.row-work-order .work-order-status-save{font-size:10px;padding:4px 8px;margin-top:4px;align-self:flex-start}
#detail.row-work-order .work-order-status-feedback{font-size:10px;font-weight:400;color:#52616c;white-space:normal;line-height:1.3}

#detail.row-work-order .work-order-financial-states{display:flex;gap:18px;flex:1 0 100%;border-top:1px solid #ccc;margin-top:6px;padding-top:8px}
#detail.row-work-order .work-order-financial-states>div{display:flex;flex-direction:column;gap:4px;flex:1;font-size:11px}
#detail.row-work-order .work-order-financial-states strong{font-size:12px}
#detail.row-work-order .work-order-financial-states button{align-self:flex-start;font-size:10px;padding:4px 7px}

#detail.row-work-order .work-order-row .same-billing{flex:1 0 100%;flex-direction:row!important;align-items:center;gap:6px;font-weight:400}
#detail.row-work-order .work-order-row .same-billing input{width:auto!important;min-height:0!important}
#detail.row-work-order .document-address label:has(#serviceAddress-address){flex:3 1 270px}

#detail.row-work-order .vehicle-identification,#detail.row-work-order .vehicle-glass{grid-column:1/-1}
#detail.row-work-order .calibration-research{flex:1 0 100%;font-size:11px;border-top:1px solid #ccc;padding-top:8px}
#detail.row-work-order .calibration-research summary{cursor:pointer;font-weight:600}
#detail.row-work-order .calibration-research nav{display:flex;gap:16px;margin:8px 0;flex-wrap:wrap}
#detail.row-work-order .calibration-research>label{display:flex;flex-direction:column;gap:4px;margin:8px 0}
#detail.row-work-order .calibration-confirmation{font-size:10px;color:#52616c}

#detail.row-work-order .work-order-charges{grid-column:1/-1;border-top:2px solid #333;padding:10px 0}#detail.row-work-order .work-order-charges h3{font-size:12px;margin:0 0 8px}.charges-scroll{overflow:auto}.work-order-charges table{width:100%;border-collapse:collapse;font-size:11px}.work-order-charges th,.work-order-charges td{border-bottom:1px solid #bbb;padding:6px;text-align:left}.work-order-charges input{box-sizing:border-box;width:100%;min-width:60px;border:0;border-bottom:1px solid #ccc;padding:5px;font-size:11px}.work-order-charges td:first-child{min-width:160px}.work-order-charges td:nth-child(3){width:55px}.work-order-charges button{font-size:10px;padding:5px 8px}.charges-totals{margin:12px 0 0 auto;max-width:300px;font-size:11px}.charges-totals>label{display:flex;justify-content:space-between;align-items:center}.charges-totals input{width:95px}.charges-totals div>div{display:flex;justify-content:space-between;border-bottom:1px solid #ddd;padding:5px 0}.charges-actions{display:flex;gap:8px;margin-top:8px}

.work-order-navigation{display:flex;gap:8px;margin:12px 0;position:sticky;top:0;z-index:3;background:var(--panel,#fff);padding:8px;border-radius:6px}.work-order-navigation button:disabled{opacity:.45;cursor:default}

/* Assignment controls belong to their tab even after compact parts are rebuilt. */
@media screen{
 #detail.row-work-order [data-dispatch-pane="Vendors & Tech"] .assignment-vendor-panel,
 #detail.row-work-order [data-dispatch-pane="Vendors & Tech"] .assignment-tech-panel{display:block!important}
 #detail.row-work-order [data-dispatch-pane="Vendors & Tech"] .assignment-tech-panel .technician-row{display:grid!important}
 #detail.row-work-order .assignment-choose-vendor{display:inline-flex!important}
}

/* Keep the work-order text composer readable at phone and desktop widths. */
#detail .inline-text{box-sizing:border-box!important;display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;padding:14px!important}
#detail .inline-text>label{box-sizing:border-box!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:6px!important;width:100%!important;min-width:0!important;max-width:none!important;margin:0 0 12px!important;font-size:14px!important;color:#17324e}
#detail .inline-text textarea{box-sizing:border-box!important;display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;min-height:180px!important;padding:12px!important;font:16px/1.5 Arial,sans-serif!important;color:#17324e!important;background:#fff!important;border:1px solid #cbd8e4!important;border-radius:7px!important;resize:vertical!important}
#detail .inline-text select{box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-height:42px!important;padding:8px!important;font-size:16px!important;border:1px solid #cbd8e4!important;border-radius:6px!important;background:#fff!important;color:#17324e!important}
#detail .inline-text>div{display:flex!important;flex-wrap:wrap!important;gap:8px!important;align-items:center!important}
#detail .inline-text>div>button{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;min-height:42px!important;padding:8px 12px!important;border:1px solid #cbd8e4!important;border-radius:6px!important;background:#f4f8fc!important;color:#17324e!important;font-size:14px!important;line-height:1.3!important;white-space:normal!important}
#detail .inline-text .send-text-message{background:#123a63!important;border-color:#123a63!important;color:#fff!important;font-weight:600!important}
#detail .inline-text [role=status]{display:block!important;margin:12px 0 0!important;line-height:1.5!important;font-size:13px!important;overflow-wrap:anywhere!important}
#detail .inline-text [hidden]{display:none!important}
@media(max-width:600px){#detail .inline-text{padding:12px!important}#detail .inline-text>div>button{flex:1 1 auto!important}#detail .inline-text textarea{min-height:200px!important}}

/* Review and send appointment confirmations beside dispatch scheduling. */
#detail .schedule-confirmation{box-sizing:border-box;grid-column:1/-1;flex:1 0 100%;width:100%;min-width:0;padding:12px;margin-top:8px;border:1px solid #cbd8e4;border-radius:7px;background:#f4f8fc;color:#17324e}
#detail .schedule-confirmation[hidden]{display:none!important}
#detail .schedule-confirmation>strong{font-size:14px}
#detail .schedule-confirmation>p{margin:8px 0;font-size:13px;line-height:1.4;overflow-wrap:anywhere}
#detail .schedule-confirmation>label{display:flex!important;flex-direction:column;width:100%;max-width:none!important;gap:6px;font-size:13px}
#detail .schedule-confirmation textarea{box-sizing:border-box;width:100%!important;min-height:150px!important;padding:10px!important;font:16px/1.5 Arial,sans-serif!important;border:1px solid #cbd8e4!important;border-radius:6px;background:#fff;resize:vertical}
#detail .schedule-text-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
#detail .schedule-text-actions button{min-height:40px;padding:8px 12px;border:1px solid #cbd8e4;border-radius:6px;background:#fff;color:#17324e;font-size:14px}
#detail .schedule-text-actions .schedule-text-send{background:#123a63;color:#fff;border-color:#123a63}
#detail .schedule-text-actions button:disabled{opacity:.6;cursor:default}


/* Vendor, stock, part, technician, cost and status share the existing form row. */
@media screen {
 #detail.row-work-order .document-parts #partRows .part-entry{margin:0!important;padding:8px 0!important;border:0!important;border-bottom:1px solid var(--line,#dce5ed)!important;background:transparent!important}
 #detail.row-work-order .document-parts #partRows .part-entry[hidden]{display:none!important}
 #detail.row-work-order .document-parts #partRows .assignment-fields{display:grid!important;grid-template-columns:minmax(98px,.8fr) minmax(140px,1.25fr) minmax(105px,1fr) minmax(115px,1fr) minmax(90px,.7fr) minmax(105px,.85fr) auto!important;gap:8px!important;align-items:start!important;margin:0!important;padding:0!important;border:0!important}
 #detail.row-work-order .document-parts #partRows .assignment-fields>label,#detail.row-work-order .document-parts #partRows .work-order-technician{display:flex!important;flex-direction:column!important;gap:3px!important;margin:0!important;padding:0!important;min-width:0!important;font-size:11px!important;font-weight:500!important}
 #detail.row-work-order .document-parts #partRows .assignment-fields input,#detail.row-work-order .document-parts #partRows .assignment-fields select,#detail.row-work-order .document-parts #partRows .assignment-fields button{width:100%;min-width:0!important;min-height:32px!important;height:auto!important;margin:0!important;padding:5px 7px!important;font-size:12px!important;box-sizing:border-box}
 #detail.row-work-order .document-parts #partRows .assignment-source{grid-column:1;grid-row:1}
 #detail.row-work-order .document-parts #partRows .assignment-vendor{grid-column:2;grid-row:1;position:relative}
 #detail.row-work-order .document-parts #partRows .assignment-number{grid-column:3;grid-row:1}
 #detail.row-work-order .document-parts #partRows .work-order-technician{grid-column:4;grid-row:1}
 #detail.row-work-order .document-parts #partRows .assignment-cost{grid-column:5;grid-row:1}
 #detail.row-work-order .document-parts #partRows .assignment-status{grid-column:6;grid-row:1}
 #detail.row-work-order .document-parts #partRows .assignment-status button{text-align:left;white-space:normal}
 #detail.row-work-order .document-parts #partRows .assignment-vendor input{padding-right:34px!important}
 #detail.row-work-order .document-parts #partRows .assignment-choose-vendor{position:absolute;right:0;top:16px;width:30px!important;min-height:32px!important;justify-content:center}
 #detail.row-work-order .document-parts #partRows .assignment-part-options{grid-column:7;grid-row:1;margin:16px 0 0!important;position:static;font-size:12px}
 #detail.row-work-order .document-parts #partRows .assignment-part-options>summary{padding:7px 5px;cursor:pointer;white-space:nowrap}
 #detail.row-work-order .document-parts #partRows .assignment-part-options[open]{grid-column:1/-1;grid-row:2;margin:0!important}
 #detail.row-work-order .document-parts #partRows .assignment-extra-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px!important;padding:8px!important;background:var(--panel,#f5f8fa);border:1px solid var(--line,#dce5ed);border-radius:5px}
 #detail.row-work-order .document-parts #partRows .assignment-extra-fields .part-line-actions{grid-column:1/-1;display:flex!important;gap:8px;flex-wrap:wrap;margin:0!important}
 #detail.row-work-order .document-parts #partRows .assignment-extra-fields .part-line-actions button{width:auto}
 #detail.row-work-order .document-parts .partsminihead{display:flex!important;align-items:center;justify-content:flex-end;gap:6px!important;margin:0 0 4px!important;padding:0!important;flex-wrap:wrap}
 #detail.row-work-order .document-parts .partsminihead>div{margin-right:auto}
 #detail.row-work-order .document-parts .partsminihead small{display:none!important}
 #detail.row-work-order .document-parts .partsminihead button{min-height:30px!important;padding:4px 8px!important;font-size:12px!important}
 #detail.row-work-order .assignment-stock-location,#detail.row-work-order .assignment-vendor-branch,#detail.row-work-order .assignment-tech-response{font-size:10px;line-height:1.3;overflow-wrap:anywhere}
 #detail.row-work-order .assignment-vendor-panel>summary,#detail.row-work-order .assignment-tech-panel>summary{cursor:pointer;padding:6px 0;font-size:12px}
 #detail.row-work-order .assignment-vendor-panel:not([open]) .vendorbox,#detail.row-work-order .assignment-tech-panel:not([open]) .technician-office{display:none!important}
}
@media screen and (max-width:1000px){
 #detail.row-work-order .document-parts #partRows .assignment-fields{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 #detail.row-work-order .document-parts #partRows .assignment-fields>*{grid-column:auto!important;grid-row:auto!important}
 #detail.row-work-order .document-parts #partRows .assignment-part-options,#detail.row-work-order .document-parts #partRows .assignment-part-options[open]{grid-column:1/-1!important;margin:0!important}
}
@media screen and (max-width:600px){
 #detail.row-work-order .document-parts #partRows .assignment-fields{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 #detail.row-work-order .document-parts #partRows .assignment-fields input,#detail.row-work-order .document-parts #partRows .assignment-fields select{font-size:16px!important;min-height:40px!important}
 #detail.row-work-order .document-parts #partRows .assignment-extra-fields{grid-template-columns:1fr!important}
}

@media screen{#detail.row-work-order .document-parts #partRows .work-order-technician button{background:var(--panel,#fff);color:var(--ink,#17324e)}}

.message-delete{font-size:12px;padding:3px 8px;margin:4px 0 0 10px;min-height:30px;border:1px solid #cbd5e1;border-radius:6px;background:#fff;color:#475569}.message-delete:hover{color:#b91c1c;border-color:#b91c1c}.message-delete-status{padding:8px 12px;background:#eff6ff;border-radius:6px}
.office-ai{margin:10px 0;padding:12px;border:1px solid #cbdde9;border-radius:9px;background:#f7fbff}.office-ai summary{font-weight:650;cursor:pointer;color:#174963}.office-ai label{display:block;margin:10px 0}.office-ai textarea{display:block;width:100%;box-sizing:border-box;padding:10px;margin-top:5px;line-height:1.5}.office-ai-actions{display:flex;flex-wrap:wrap;gap:8px}.office-ai small{display:block;margin-top:10px;color:#526477}.office-ai [hidden]{display:none!important}
.ai-workflows table{width:100%;border-collapse:collapse;font-size:13px}.ai-workflows th,.ai-workflows td{border:1px solid #d6e2ea;padding:8px;text-align:left;overflow-wrap:anywhere;white-space:pre-wrap}.ai-workflows input[type=checkbox]{width:auto;margin-right:6px}.ai-workflows select{max-width:100%;width:100%;padding:8px}.ai-workflows .ai-review-warning{color:#92400e}.ai-workflows p{white-space:pre-wrap}.ai-workflows button{margin:4px 0}.ai-workflow-content{overflow-x:auto}
/* warranty-ui.css */
.warranty-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:10px 0}.warranty-toolbar h2{flex:1}.warranty-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.warranty-wide{grid-column:1/-1}.warranty-dialog{width:min(740px,92vw);max-height:88vh;overflow:auto;border:1px solid #cbd5e1;border-radius:12px;padding:20px;color:#15354b}.warranty-dialog::backdrop{background:#10273588}.warranty-dialog label,#warrantyPanel label{display:flex;flex-direction:column;gap:5px;margin:6px 0}.warranty-dialog label:has([type=checkbox]){display:block}.warranty-dialog input,.warranty-dialog textarea,.warranty-dialog select,#warrantyPanel input,#warrantyPanel textarea,#warrantyPanel select{padding:9px;border:1px solid #cbd5e1;border-radius:6px;width:100%;box-sizing:border-box;font:inherit}.warranty-dialog input[type=checkbox]{width:auto}#warrantyPanel button,.warranty-job button{padding:7px 11px;border:1px solid #b9cedd;border-radius:6px;background:#fff;color:#174963;cursor:pointer}#warrantyPanel button.primary{background:#086896;color:white}#warrantyPanel button:disabled{opacity:.55;cursor:wait}.warranty-table{overflow:auto}.warranty-table table{border-collapse:collapse;width:100%;font-size:13px}.warranty-table th,.warranty-table td{padding:10px;border-bottom:1px solid #dbe5ec;text-align:left;vertical-align:top}.warranty-table small{display:block;color:#516b7d;margin-top:4px}#warrantyDetail:not(:empty){padding:18px;margin:18px 0;border:1px solid #cbdde9;border-radius:10px;background:#fff}.warranty-smarty,.warranty-job{padding:12px;background:#f4f9fd;border:1px solid #cbdde9;border-radius:8px;margin:12px 0}.warranty-job summary,.warranty-smarty summary{font-weight:650;cursor:pointer}.warranty-job button{margin:8px 8px 0 0}#warrantyPanel pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#edf4f8;padding:12px}#warrantyPanel article{border-bottom:1px solid #dbe5ec;padding:8px 0;overflow-wrap:anywhere}#warrantyPanel [data-status]{white-space:pre-wrap}@media(max-width:650px){.warranty-grid{grid-template-columns:1fr}.warranty-dialog{padding:12px}#warrantyDetail:not(:empty){padding:12px}.warranty-toolbar{align-items:stretch}}

/* message-inbox.css */
/* Keep the conversation index scrollable while search stays above it. */
#messagesPanel .inboxbar{display:flex;flex-wrap:wrap;gap:8px;padding:12px}
#messagesPanel .inboxbar #messageSearch{order:-1;flex:0 0 100%;width:100%;min-height:44px;box-sizing:border-box;margin:0;padding:10px 12px;font-size:16px}
#messagesPanel .inboxfilter{min-height:36px;font-size:13px;padding:7px 14px}
#messagesPanel .inboxlayout{align-items:start;min-height:0}
#messagesPanel #threads{height:clamp(280px,calc(100dvh - 400px),760px);min-height:0;overflow-y:scroll;overflow-x:hidden;overscroll-behavior-y:contain;scrollbar-gutter:stable;scrollbar-width:auto;scrollbar-color:#64748b #e8edf3}
#messagesPanel #threads::-webkit-scrollbar{width:12px}
#messagesPanel #threads::-webkit-scrollbar-track{background:#e8edf3}
#messagesPanel #threads::-webkit-scrollbar-thumb{background:#64748b;border:3px solid #e8edf3;border-radius:8px}
#messagesPanel #threads:focus-visible{outline:2px solid #1456d9;outline-offset:-2px}
#messagesPanel .thread[aria-pressed="true"]{background:#e5efff;box-shadow:inset 4px 0 #1456d9}
#messagesPanel .threadcopy b{font-size:14px}
#messagesPanel .threadcopy small,#messagesPanel .threadcopy em{font-size:12px}
#messagesPanel .thread{min-height:76px;padding:12px}
@media(max-width:800px){
 #messagesPanel #threads{height:calc(100dvh - 240px);min-height:240px}
 #messagesPanel .inboxbar{gap:6px}
}

#messagesPanel #threads .office-contact-actions{display:inline-flex!important}

/* portal-compact.css */
/* Compact shared chrome; keep workflows and mobile touch targets intact. */
#scheduleRows .office-contact-actions{display:none!important}
@media(max-width:800px){body.dispatch-office .office-softphone .phone-toolbar{min-height:0;padding:8px 10px;gap:8px}}
@media screen and (min-width:901px){
 body.dispatch-office .top{min-height:54px!important;padding:6px 16px!important;margin-bottom:6px!important;gap:10px}
 body.dispatch-office .portal-header-brand img{width:170px!important;max-height:42px;object-fit:contain}
 body.dispatch-office .portal-header-brand{gap:10px}
 body.dispatch-office .portal-header-brand>span{padding-left:10px;font-size:12px}
 body.dispatch-office .top .user{padding:4px 8px!important;font-size:12px}
 body.dispatch-office.office-edge-tabs .side{top:0!important;height:100dvh!important;padding-top:12px!important}
 body.dispatch-office.office-edge-tabs .side .nav{min-height:36px!important;padding:7px 12px!important}
 body.dispatch-office .panel>.panelbar{min-height:44px!important;padding:8px 12px!important;gap:8px}
 body.dispatch-office .panel>.panelbar h2{font-size:16px!important;margin:0}
 body.dispatch-office .panel>.panelbar p:empty{display:none}
 body.dispatch-office .metrics{padding:8px 12px!important;gap:8px}
 body.dispatch-office .metriccard{padding:8px 12px!important}
 body.dispatch-office .metriccard strong{font-size:21px!important}
 body.dispatch-office .dispatch-toolbar{padding:8px 12px!important}
 body.dispatch-office .office-softphone .phone-toolbar{padding:8px 12px!important;min-height:48px!important}
}
body.dispatch-office .panelbar h2{line-height:1.25}
#schedulePanel .schedule-controls{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding:10px 12px;border-bottom:1px solid #e2e8f0}
.schedule-days{display:flex;gap:6px;flex-wrap:wrap}.schedule-days button,#refreshSchedule{border:1px solid #cbd5e1;background:#fff;color:#24485c;border-radius:6px;min-height:36px;padding:7px 12px;font:inherit;cursor:pointer}.schedule-days button[aria-pressed=true]{background:#e5f3f5;color:#0d6370;border-color:#409ba6}.schedule-days b{margin-left:6px}.schedule-controls label{display:flex;gap:8px;align-items:center;font-size:13px}.schedule-controls input{border:1px solid #cbd5e1;border-radius:6px;padding:9px;min-width:260px;font:inherit}.schedule-zone,#scheduleResult{font-size:12px;line-height:1.5;margin:8px 12px;color:#526477}.schedule-job{display:grid;grid-template-columns:150px minmax(150px,1.2fr) minmax(160px,1fr) 140px;gap:12px;align-items:start;width:100%;padding:12px;text-align:left;background:#fff;color:#17334b;border:0;border-bottom:1px solid #e2e8f0;cursor:pointer;font:inherit;font-size:13px}.schedule-job:hover{background:#f0f7fa}.schedule-job:focus-visible{outline:2px solid #1456d9;outline-offset:-2px}.schedule-job small{display:block;margin-top:4px;color:#526477;font-size:12px;overflow-wrap:anywhere}.schedule-time b{font-size:15px}.schedule-flags b{font-size:12px;color:#11636e}.schedule-empty{padding:24px;text-align:center;color:#526477}
@media(max-width:800px){.schedule-job{grid-template-columns:110px minmax(0,1fr);gap:10px;font-size:13px}.schedule-job>span:nth-child(3){grid-column:2}.schedule-flags{grid-column:2}.schedule-controls label{width:100%;flex-direction:column;align-items:stretch}.schedule-controls input{min-width:0;width:100%;box-sizing:border-box;min-height:44px;font-size:16px}.schedule-days button,#refreshSchedule{min-height:44px}.schedule-zone{font-size:11px}body.dispatch-office .panel>.panelbar{padding:8px 12px!important}body.dispatch-office .panel>.panelbar h2{font-size:17px!important}}

/* operations-polish.css */
.job-coordinator{display:grid;gap:2px;min-width:110px;max-width:170px;font-size:12px;color:var(--muted,#64748b);margin-left:auto}.job-coordinator select{font:inherit;font-size:14px;max-width:100%;min-height:32px;border:1px solid var(--line,#dbe3e9);border-radius:4px;background:var(--panel,#fff);color:var(--ink,#193247);padding:4px 6px}
.ew-dialog{font-size:14px}.ew-job span,.ew-task small{font-size:12px}.ew-hint,.ew-settings summary,.ew-routing label{font-size:12px}.ew-rules{margin:8px 0;padding:0;list-style:none}.ew-rules li{display:flex;justify-content:space-between;gap:8px;padding:5px 0;border-bottom:1px solid var(--line,#e5e7eb);font-size:12px}.ew-rules li small{color:var(--muted,#64748b)}
#officeAccounts fieldset{display:flex;flex-wrap:wrap;gap:8px 16px;margin:8px 0;padding:8px;border:1px solid var(--line,#dbe3e9);border-radius:5px}#officeAccounts fieldset label{display:flex;align-items:center;gap:6px;font-size:13px}#officeAccounts fieldset legend{font-size:13px;padding:0 4px}#officeAccounts fieldset [role=status]{font-size:12px}
body button:focus-visible,body input:focus-visible,body select:focus-visible,body textarea:focus-visible,body summary:focus-visible{outline:2px solid #2677ba;outline-offset:2px}
.employee-next b{font-size:14px}.employee-next small{font-size:12px}
@media(max-width:700px){.job-coordinator{min-width:105px;max-width:145px}.job-coordinator select{font-size:16px;min-height:44px}.ew-dialog button,.ew-header-tools button{min-height:44px}.ew-dialog input[type=checkbox]{min-width:24px;min-height:24px}.ew-head>span{font-size:12px}#officeAccounts fieldset label{min-height:44px}.compact-job :is(.office-contact-actions button,.compact-contact-button){min-width:44px;min-height:44px}}

body.dispatch-office #detail .job-next-action{display:flex!important;gap:8px;align-items:center;margin:5px 0;padding:5px 8px;min-height:36px;border-radius:5px}.job-next-action>div{flex:1;min-width:0}.job-next-action button{min-height:32px;white-space:nowrap}.work-evidence{border-top:1px solid var(--line,#dbe3e9);padding:8px 0;font-size:13px}.work-evidence>summary{font-weight:600;cursor:pointer}.work-evidence>p{font-size:12px;color:var(--muted,#64748b);line-height:1.5}.work-evidence-checks{display:flex;gap:8px 16px;flex-wrap:wrap;margin:8px 0}.work-evidence-checks label{display:flex;align-items:center;gap:5px}.work-evidence-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px}.work-evidence-fields label{display:grid;gap:3px}.work-evidence-fields input{font:inherit;min-height:32px;max-width:100%;min-width:0;padding:5px;border:1px solid var(--line,#dbe3e9);border-radius:4px;background:var(--panel,#fff);color:inherit}@media(max-width:700px){.work-evidence input{font-size:16px;min-height:44px}.work-evidence-checks input{min-width:24px;min-height:24px}.job-next-action button{min-height:44px}}

.sms-permission{font-size:12px;margin:4px 0}.sms-permission summary{cursor:pointer}.sms-permission form{display:grid;gap:6px;max-width:420px}.sms-permission label{display:grid;gap:2px}.sms-permission input,.sms-permission select{min-width:0;width:100%}.sms-permission small{line-height:1.4}.sms-permission p{margin:5px 0}

@media(min-width:701px){.compact-job>.worktitle .job-coordinator{display:flex;align-items:center;gap:5px;flex:0 0 auto;max-width:220px;margin-left:0}.compact-job>.worktitle .job-coordinator select{max-width:145px;min-width:100px}}

/* Account identity controls remain readable within the account cards. */
body.portal-proof #officeAccounts [data-edit-identity][hidden],body.portal-proof #officeAccounts [data-edit-identity-form][hidden]{display:none!important}
body.portal-proof #officeAccounts [data-edit-identity-form]:not([hidden]){display:grid!important;grid-template-columns:minmax(0,1fr);width:100%;min-width:0;box-sizing:border-box}
body.portal-proof #officeAccounts [data-edit-identity-form] label{display:grid;grid-template-columns:minmax(0,1fr);gap:4px;width:100%;min-width:0}
body.portal-proof #officeAccounts [data-edit-identity-form] input{width:100%;min-width:0;box-sizing:border-box}

body.portal-proof #officeAccounts fieldset{min-width:0;align-content:start}body.portal-proof #officeAccounts fieldset>div,body.portal-proof #officeAccounts fieldset>details{width:100%;min-width:0}body.portal-proof #officeAccounts fieldset>div{display:flex;flex-wrap:wrap;gap:6px}body.portal-proof #officeAccounts :is([data-account-password],[data-account-role]){display:grid;grid-template-columns:minmax(0,1fr);min-width:0}body.portal-proof #officeAccounts :is([data-account-password],[data-account-role]) label{display:grid;gap:4px;min-width:0}body.portal-proof #officeAccounts :is([data-account-password],[data-account-role]) :is(input,select){box-sizing:border-box;min-width:0;width:100%}body.portal-proof #officeAccounts [data-access-error]:empty{display:none}

/* customer-workspace-ui.css */
.op-dialog{position:fixed;inset:60px 12px auto auto;width:min(960px,calc(100vw - 24px));max-height:calc(100dvh - 85px);padding:0;border:1px solid #cbd5e1;border-radius:10px;background:var(--panel,#fff);color:var(--ink,#173247);box-shadow:0 10px 50px #10253d33;z-index:850;font:14px system-ui;overflow:auto;box-sizing:border-box}.op-dialog>header{position:sticky;top:0;background:inherit;z-index:2;padding:10px 14px;display:flex;align-items:center;gap:10px;border-bottom:1px solid #dbe3e9}.op-dialog h2{font-size:16px;margin:0;flex:1}.op-tabs{display:flex;gap:5px;padding:8px 12px;border-bottom:1px solid #dbe3e9;overflow-x:auto}.op-tabs button[aria-selected=true]{background:#174c75;color:white}.op-content{padding:12px}.op-dialog button,.partner-page button,.op-dialog input,.op-dialog select,.op-dialog textarea,.partner-page input,.partner-page select,.partner-page textarea{font:inherit;border:1px solid #b9c8d3;border-radius:5px;padding:6px 9px;box-sizing:border-box;background:var(--panel,#fff);color:inherit}.op-dialog button,.partner-page button{cursor:pointer;min-height:34px}.op-dialog button:disabled,.partner-page button:disabled{opacity:.6;cursor:default}.op-dialog small,.partner-page small{display:block;font-size:12px;color:var(--muted,#586d7b);line-height:1.5}.op-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:9px;margin:10px 0}.op-form label{display:grid;gap:3px;font-size:13px;min-width:0}.op-form :is(input,select,textarea){width:100%;min-width:0}.op-form .op-wide{grid-column:1/-1}.op-form button{align-self:end}.op-fold{border-top:1px solid #dbe3e9;padding:10px 0}.op-fold>summary{font-weight:600;cursor:pointer}.op-file,.op-row{display:flex;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid #e2e8f0;min-width:0}.op-row>div:first-child,.op-file>div:first-child{flex:1;min-width:0;overflow-wrap:anywhere}.op-small{font-size:12px}.op-file a{color:#12629b}.op-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px}.op-card{border:1px solid #dbe3e9;border-radius:6px;padding:10px}.op-card h3{font-size:14px;margin:0 0 8px}.op-card p{margin:5px 0}.op-table-wrap{overflow:auto}.op-table{border-collapse:collapse;width:100%;font-size:13px}.op-table th,.op-table td{text-align:left;padding:8px;border-bottom:1px solid #dbe3e9;white-space:nowrap}.op-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px}.op-metric{border:1px solid #dbe3e9;padding:10px;border-radius:5px}.op-metric b{display:block;font-size:19px}.op-pipeline{list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:6px}.op-pipeline li{padding:7px;border:1px solid #dbe3e9;border-radius:5px;font-size:13px}.op-pipeline li[data-done=true]{color:#245e45;background:#f0faf4}.op-alert{padding:8px;border-left:3px solid #ad6a08;background:#fff8e9;color:#654600}.op-dialog [role=status],.partner-page [role=status]{font-size:13px;overflow-wrap:anywhere}.op-dialog button:focus-visible,.partner-page :is(a,button,input,select,textarea):focus-visible{outline:2px solid #1672b8;outline-offset:2px}.partner-page{font:14px system-ui,sans-serif;color:#193247;background:#f3f6f8;margin:0}.partner-header{background:white;display:flex;align-items:center;gap:12px;padding:12px 20px;border-bottom:1px solid #dbe3e9}.partner-header a{font-weight:700;color:#153a56;text-decoration:none}.partner-header span{flex:1;color:#586d7b}.partner-page main{max-width:1000px;margin:18px auto;padding:0 14px}.partner-login{max-width:420px;margin:8vh auto;background:white;border:1px solid #dbe3e9;border-radius:8px;padding:22px}.partner-login h1{font-size:20px;margin-top:0}.partner-login form{grid-template-columns:1fr}.partner-workspace{background:white;border:1px solid #dbe3e9;border-radius:8px;padding:14px}.partner-heading{display:flex;align-items:center;gap:10px;margin-bottom:10px}.partner-heading h1{font-size:18px;flex:1;margin:0}.partner-job-actions{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0}.partner-contact{display:flex;flex-wrap:wrap;gap:12px}.partner-contact a{color:#175f94}.partner-evidence{padding:10px 0}.partner-evidence label:has(input[type=checkbox]){display:flex;align-items:center;gap:7px}.partner-evidence input[type=checkbox]{width:auto}.partner-page textarea{min-height:60px}.partner-page [hidden],.op-dialog [hidden]{display:none!important}@media(max-width:700px){.op-dialog{inset:55px 5px auto;width:calc(100vw - 10px);max-height:calc(100dvh - 70px)}.op-dialog :is(button,input,select),.partner-page :is(button,input,select){min-height:44px}.op-dialog :is(input,select,textarea),.partner-page :is(input,select,textarea){font-size:16px}.op-row,.op-file{flex-wrap:wrap}.op-file>div:first-child{flex-basis:100%}.op-tabs{padding:6px}.partner-header{padding:10px;flex-wrap:wrap}.partner-header span{font-size:12px}.op-form{grid-template-columns:1fr}.partner-login{margin:25px 0;padding:16px}.op-pipeline{grid-template-columns:1fr 1fr}.partner-page main{margin-top:10px;padding:0 8px}}

#openCustomerWorkspaceMobile{font:inherit;font-size:12px;min-height:34px;padding:5px 8px;border:1px solid #8da5b8;border-radius:5px;background:transparent;color:inherit;flex-shrink:0}@media(min-width:901px){#openCustomerWorkspaceMobile{display:none}}

.partner-action-status{font-size:13px;line-height:1.5;overflow-wrap:anywhere;grid-column:1/-1;color:#193247;background:#eef6fa;border-left:3px solid #146a8c;padding:8px 10px;margin:8px 0}.partner-action-status:empty{display:none}

/* office-planning.css */
.planning-board{padding:16px;background:#fff;border:1px solid #dce5ed;border-radius:8px}.planning-board h3{margin:0 0 8px;color:#173e50}.planning-board p,.planning-board small{line-height:1.5;color:#536c7e}.planning-summary,.planning-week{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px;margin:14px 0}.planning-summary span,.planning-week>div{display:flex;flex-direction:column;gap:5px;padding:12px;border-radius:6px;background:#eef6f7}.planning-week>div{background:#f4f7fb;font-size:12px}.planning-board label{display:flex;gap:10px;align-items:center;font-size:13px}.planning-board select{padding:8px;border:1px solid #cbd8e4;border-radius:5px}.planning-jobs{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:12px;margin-top:16px}.planning-jobs article{padding:14px;border:1px solid #dce5ed;border-radius:7px;min-width:0;overflow-wrap:anywhere}.planning-jobs article>div:first-child{display:flex;justify-content:space-between;align-items:center;gap:10px}.planning-jobs button{border:0;background:transparent;color:#126270;text-align:left;font-weight:650;min-height:40px;cursor:pointer}.planning-jobs strong{font-size:12px;padding:6px;background:#eef6f7;border-radius:4px}.planning-jobs li{font-size:12px;line-height:1.6;color:#765218}.planning-jobs p{font-size:12px;margin:6px 0}.planning-jobs [hidden],.planning-board [hidden]{display:none!important}
/* insurance-readiness.css */
.dispatch-billing-readiness{display:block;margin-top:3px;font-size:11px;line-height:1.4;color:var(--muted,#64748b)}
.dispatch-billing-readiness.needs-info{color:var(--warning-ink,#92400e)}
.dispatch-billing-readiness summary{cursor:pointer;font-weight:500;white-space:normal}
.dispatch-billing-readiness p{margin:4px 0;white-space:normal;max-width:230px}
.insurance-billing-readiness{margin:8px 0;padding:8px 10px;border:1px solid var(--line,#dbe3e9);border-radius:5px;background:var(--panel,#fff);color:var(--ink,#17324e);font-size:12px}
.insurance-billing-readiness[hidden]{display:none!important}.insurance-billing-readiness summary{cursor:pointer;font-weight:600}.insurance-billing-readiness p{line-height:1.5;margin:8px 0}.insurance-billing-readiness ul{padding-left:20px;margin:8px 0}.insurance-billing-readiness button{font:inherit;min-height:32px;padding:5px 8px;border:1px solid var(--line,#dbe3e9);border-radius:4px;background:var(--panel,#fff);color:var(--ink,#17324e)}
.invoice-billing-readiness{margin:8px 0;font-size:12px;line-height:1.5;color:var(--warning-ink,#92400e)}
@media print{.insurance-billing-readiness,.invoice-billing-readiness,.dispatch-billing-readiness{display:none!important}}

/* Shared insurance status: words and colors carry the same meaning in every job list. */
.insurance-overview{display:flex;flex-direction:column;gap:3px;align-items:flex-start;line-height:1.3;font-size:11px;white-space:normal}.insurance-overview .insurance-carrier{font-size:11px;font-weight:650;color:#564178;max-width:100%;overflow-wrap:anywhere}.insurance-overview small{display:block!important;font-size:10px!important;line-height:1.35!important;white-space:normal!important}.insurance-overview .insurance-claim.has-claim{color:#356777}.insurance-overview .missing-claim{color:#b35212;font-weight:600}.insurance-overview .insurance-coverage{padding:2px 5px;border-radius:4px;background:#edf0f4;color:#616e80;font-weight:600}.insurance-overview[data-coverage=verified] .insurance-coverage{background:#dbf4e7;color:#14633e}.insurance-overview[data-coverage=pending] .insurance-coverage{background:#fff0c8;color:#8d5900}.insurance-overview[data-coverage=denied] .insurance-coverage{background:#fde3e4;color:#b02635}.insurance-nonclaim{color:#82909c;font-size:10px}.insurance-status-legend{display:flex;flex-wrap:wrap;gap:5px 10px;font-size:10px;padding:4px 0;color:#657080}.insurance-status-legend span{white-space:nowrap}.insurance-status-legend .verified{color:#14633e}.insurance-status-legend .pending{color:#8d5900}.insurance-status-legend .denied{color:#b02635}

/* location-filters.css */
.location-controls{display:flex;flex-wrap:wrap;align-items:end;gap:6px;padding:5px 0;margin:0 0 5px;min-width:0}
.location-controls label{display:grid;gap:2px;margin:0;min-width:100px;font-size:11px;font-weight:600;color:inherit;flex:0 1 170px}
.location-controls select,.location-controls button{box-sizing:border-box;min-width:0;max-width:100%;height:30px;margin:0;padding:3px 7px;font:inherit;font-size:12px;border:1px solid #94a3b8;border-radius:5px;background:var(--card,#fff);color:inherit}
.location-controls button{cursor:pointer;flex:0 0 auto}
@media(max-width:600px){.location-controls label{flex:1 1 calc(50% - 6px)}.location-controls select,.location-controls button{height:36px}.location-controls{width:100%}}

/* company-dashboard.css */
#dashboardPanel{max-width:1600px;margin-inline:auto}#dashboardPanel .panelbar h2{color:#153650}.company-overview{color:#18364d;font-size:14px}.health-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:12px 0 20px}.health-heading h3{font-size:26px;line-height:1.2;margin:7px 0}.health-heading p{margin:0;color:#627589;font-size:12px}.health-eyebrow{font-size:10px;letter-spacing:1.5px;font-weight:750;color:#087c91}.health-heading label{font-size:12px;min-width:150px}.health-heading select{display:block;width:100%;margin-top:5px}.health-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:20px}.health-metric{background:#fff!important;border:1px solid #d9e4ed!important;border-top:3px solid #1685aa!important;border-radius:8px!important;padding:15px!important;display:flex;flex-direction:column;align-items:flex-start;text-align:left;color:#18364d!important;min-height:120px;box-shadow:0 2px 5px #11304d06;white-space:normal!important}.health-metric:hover{border-color:#1685aa!important;box-shadow:0 3px 10px #11304d12}.health-metric span{font-size:12px;font-weight:650;color:#536a7e}.health-metric strong{font-size:28px;line-height:1.25;margin:6px 0;letter-spacing:-.5px}.health-metric small{font-size:11px;color:#60758a;line-height:1.45}.health-columns{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:16px;margin-bottom:16px}.health-box{background:#fff;border:1px solid #d9e4ed;border-radius:9px;padding:18px;min-width:0}.health-box h3{font-size:16px;margin:0 0 9px;color:#153650}.health-box>p{color:#60758a;font-size:12px;margin:0 0 12px}.health-box small{display:block;font-size:11px;color:#64788b;line-height:1.5}.health-section-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px}.health-section-heading h3{margin:0}.health-section-heading h3 span{background:#eaf0f5;border-radius:20px;font-size:12px;padding:3px 7px}.health-section-heading select{font-size:12px;max-width:170px;padding:6px}.health-attention{list-style:none;margin:0 0 10px;padding:0;max-height:390px;overflow-y:auto}.health-attention li+li{border-top:1px solid #e9eff4}.health-attention li button{display:block;width:100%;border:0!important;border-radius:0!important;background:transparent!important;text-align:left;padding:11px 2px!important;white-space:normal!important;color:#18364d!important}.health-attention li button:hover{background:#f3f8fc!important}.health-attention strong{font-size:13px}.health-attention li button>span:last-child{display:block;font-size:12px;margin-top:5px;line-height:1.5;color:#465d70}.health-priority{display:inline-block;border-radius:4px;background:#eef4fa;color:#3b627e;font-size:10px;padding:2px 5px;margin-right:7px}.health-priority.urgent{background:#fff0dc;color:#89520b}.health-ai{background:linear-gradient(140deg,#f0f8fc,#fff 65%);border-color:#bcd9e7}.health-ai h3{font-size:21px;margin-top:7px}.health-ai label{font-size:12px}.health-ai textarea{display:block;width:100%;box-sizing:border-box;margin:5px 0 9px;background:#fff;resize:vertical}.health-ai-shortcuts{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:15px}.health-ai-shortcuts button{font-size:12px}.health-ai #healthAiStatus{font-size:11px;margin-top:10px;line-height:1.5}.health-ai-answer{white-space:pre-wrap;font-size:13px;line-height:1.65;max-height:430px;overflow:auto;color:#17344c}.health-table{overflow-x:auto}.health-table table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}.health-table th{font-size:10px;text-transform:uppercase;letter-spacing:.4px;color:#60758a;padding:9px 6px;border-bottom:1px solid #dae5ed}.health-table td{padding:10px 6px;border-bottom:1px solid #edf2f6;vertical-align:top}.health-job-link{border:0!important;background:transparent!important;color:#086b9f!important;padding:0!important;text-align:left;font-weight:650}.health-job-chip{font-size:12px;margin:4px;text-align:left;white-space:normal!important}.health-warning{color:#a03a17;font-weight:700}.health-notes{font-size:11px;color:#5e7488;line-height:1.6;padding:6px 0 18px}.company-finances{border:1px solid #d9e4ed;border-radius:8px;padding:16px;background:#fff}.company-finances>summary{cursor:pointer;color:#153650;font-size:15px;font-weight:650}.company-finances[open]>summary{margin-bottom:18px}#healthJobSection{margin-bottom:16px}.company-overview button:focus-visible{outline:3px solid #1785ba;outline-offset:3px}
@media(max-width:1050px){.health-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.health-columns{grid-template-columns:1fr}}
@media(max-width:560px){.health-heading{align-items:flex-start;flex-direction:column}.health-heading h3{font-size:23px}.health-heading label{width:100%}.health-metrics{gap:8px}.health-metric{padding:12px!important;min-height:125px}.health-metric strong{font-size:23px}.health-box{padding:13px}.health-section-heading{align-items:flex-start;flex-wrap:wrap}.health-table{max-width:100%}.health-table table{min-width:360px}}

.company-overview>.health-ai{margin-bottom:18px;padding:22px}.health-ai-tools{display:flex;gap:8px;margin:10px 0}.health-ai-tools button{font-size:12px}.health-ai-answer{max-height:650px;overflow-wrap:anywhere}.health-source{display:inline-block;padding:7px 10px;margin:7px 7px 0 0;border:1px solid #bcd9e7;border-radius:6px;color:#086896;font-size:12px;text-decoration:none;overflow-wrap:anywhere}#healthCoverage{margin-top:14px;font-size:12px;color:#516b7d}#healthCoverage summary{cursor:pointer}#healthCoverage div{white-space:pre-wrap;overflow-wrap:anywhere;padding:10px 0}.health-ai-tools button:disabled{opacity:.5}

.message-source-highlight{outline:3px solid #1685aa;outline-offset:3px;box-shadow:0 0 0 6px #1685aa20}.message-source-notice{background:#edf7ff;border:1px solid #b5d9ed;border-radius:6px;padding:10px;color:#154d70;font-size:13px;margin:10px 0}
.health-report-line{min-width:0;overflow-wrap:anywhere}.health-report-actions{white-space:normal;border-left:3px solid #1685aa;background:#edf7fc;border-radius:5px;padding:8px 10px;margin:7px 0 12px;max-width:100%;box-sizing:border-box}.health-report-record{display:block;font-size:12px;font-weight:650;overflow-wrap:anywhere}.health-report-links{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}.health-report-links .health-source{margin:0;background:#fff;min-height:40px;display:inline-flex;align-items:center;box-sizing:border-box;font-weight:650}.health-report-links .health-source:focus-visible{outline:3px solid #1685aa;outline-offset:2px}
.portal-record-actions{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0;white-space:normal}.portal-record-actions .health-source{display:inline-flex;align-items:center;min-height:40px;box-sizing:border-box;margin:0;background:#fff;line-height:1.35}.portal-record-actions a:focus-visible{outline:3px solid #1685aa;outline-offset:2px}.health-attention li>.portal-record-actions{padding:0 2px 10px}.collections-table .portal-record-actions{min-width:160px;max-width:280px}
.portal-more-actions{white-space:normal;max-width:100%;font-size:12px}.portal-more-actions>summary{cursor:pointer;padding:10px;border:1px solid #bcd9e7;border-radius:6px;min-height:40px;box-sizing:border-box;background:#fff;color:#086896}.portal-more-actions[open]{flex-basis:100%}.portal-more-actions[open] .health-source{margin:6px 6px 0 0}


/* address-suggestions.css */
.address-suggestions{position:relative;grid-column:1/-1}.address-suggestions [role=listbox]:empty{display:none}.address-suggestions [role=listbox]{background:#fff;border:1px solid #cbd5e1;border-radius:7px;box-shadow:0 4px 12px #0002;max-height:245px;overflow:auto;margin:4px 0}.address-suggestions [role=option]{display:block;width:100%;background:#fff;color:#14233b;border:0;border-bottom:1px solid #edf1f5;border-radius:0;padding:10px;text-align:left;font-size:13px;line-height:1.4;white-space:normal}.address-suggestions [role=option]:hover,.address-suggestions [aria-selected=true]{background:#eaf4ff}.address-suggestions small{font-size:11px;color:#64748b;display:block;margin-top:3px}.address-attribution{display:block;width:120px;max-width:100%;height:auto;margin:6px 8px}

/* insurance-ui.css */
.coverage-dialog{width:min(760px,94vw);max-height:90vh;border:1px solid #d6e1ee;border-radius:18px;padding:0;color:#101a2c;box-sizing:border-box}.coverage-dialog::backdrop{background:#101a2c99}.coverage-head{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid #d6e1ee;position:sticky;top:0;background:white;z-index:1}.coverage-head h2{font-size:1.2rem;margin:0}.coverage-body{padding:20px}.coverage-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:16px}.coverage-grid label{font-size:.85rem;display:block}.coverage-body input,.coverage-body select,.coverage-body textarea{width:100%;box-sizing:border-box;padding:11px;margin-top:5px;border:1px solid #c6d2e3;border-radius:9px;font:inherit;color:inherit;background:white}.coverage-body button{padding:10px 14px;margin:6px 6px 6px 0;border:1px solid #b9cce4;border-radius:9px;background:#edf4ff;color:#123665;font:inherit;cursor:pointer}.coverage-body button:disabled{opacity:.5}.coverage-body [hidden]{display:none!important}.coverage-check{display:flex;align-items:center;gap:8px;margin:12px 0}.coverage-check input{width:20px}.slot-row{border:1px solid #d6e1ee;border-radius:12px;padding:14px;margin:12px 0}.coverage-body p[role=status]{color:#8a351f;min-height:1em}@media(max-width:600px){.coverage-grid{grid-template-columns:1fr}.coverage-body{padding:14px}}

.part-entry{display:flex;align-items:center;gap:6px;margin:6px 0}.part-entry .partminirow{flex:1;min-width:0;margin:0}.part-entry .delete-part{color:#9a2222;border:1px solid #e5c5c5;border-radius:6px;background:#fff;padding:7px;min-height:36px}.part-entry .partminirow small{display:block}

.part-entry{display:block;padding:9px;border:1px solid #dfe6ef;border-radius:8px}.part-line-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px}.part-line-fields input,.part-line-fields select{width:100%;box-sizing:border-box;min-height:40px}.part-line-fields label{font-size:11px}.part-line-actions{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:6px}.new-part-entry{background:#f5f8ff}.invoice-part-editor{padding:12px;background:#f6f8fc;border-radius:8px}.invoice-part-editor h3{margin:0}.invoice-part-editor p{font-size:12px}@media print{.invoice-part-editor{display:none!important}}

/* job-status-ui.css */
#detail .job-location-status{display:flex;align-items:center;gap:12px;flex-wrap:wrap;min-width:0}
#detail .job-location-status .work-order-location{margin:0}
#detail .job-status-compact{display:flex;align-items:center;gap:5px;font-size:11px;margin:0;white-space:nowrap}
#detail .job-status-compact select{width:auto;min-width:100px;max-width:150px;min-height:27px;font-size:11px;padding:3px 6px;border-radius:6px}
#detail .job-location-status[data-status=Canceled] select{color:#9f1239;border-color:#fda4af;background:#fff1f2}
#detail .job-status-save-state{font-size:11px;white-space:normal;color:var(--muted,#526477)}
#detail .job-location-status[data-pending=true] .job-status-save-state{color:#92400e;font-weight:600}
#detail .job-location-status[data-pending=true] select{color:#92400e;border-color:#fbbf24;background:#fffbeb}
#detail .job-cancellation{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:8px 10px;margin:8px 0;border:1px solid #fda4af;border-radius:7px;font-size:12px;background:var(--surface,#fff)}
#detail .job-cancellation textarea{display:block;box-sizing:border-box;width:100%;font:inherit;margin-top:4px}
#detail .job-cancellation p{margin:6px 0;font-size:11px}
#detail .job-cancellation button{font-size:11px;min-height:28px;padding:4px 8px;margin-right:6px}
#detail .job-cancellation[hidden]{display:none!important}

#detail .job-cancellation [hidden]{display:none!important}
#detail .job-cancellation>label{flex:1 1 250px}
body.office-proof.dispatch-office #workPanel #detail.page-save-job>.job-cancellation:not([hidden]){display:flex!important}


/* invoice-professional.css */
.professional-invoice{font-family:Arial,sans-serif!important;color:#17324e!important;border:1px solid #dbe5ef!important;border-radius:8px!important;overflow:hidden!important;padding:0!important;background:#fff!important}.professional-invoice .receipt-banner{background:#fff!important;color:#102e50!important;font-size:25px!important;font-weight:700!important;letter-spacing:1px;padding:20px 26px!important;order:0}.professional-invoice .receipt-brand{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:22px!important;background:#102e50!important;color:#fff!important;margin:0!important;padding:24px 26px!important;border:0!important}.professional-invoice #invoiceReceiptBody{display:flex;flex-direction:column}.professional-invoice .receipt-brand{order:-1}.professional-invoice .receipt-brand img{width:290px!important;max-width:100%!important;height:auto!important;border:0!important;background:transparent!important}.professional-invoice .invoice-logo-block{display:flex;flex-direction:column;gap:8px!important}.professional-invoice .invoice-location{font-size:17px;color:#fff}.professional-invoice .invoice-logo-block small{font-size:11px;color:#c5d9eb}.professional-invoice .invoice-remit{display:flex;flex-direction:column!important;gap:5px;text-align:left;font-size:14px;flex-shrink:0}.professional-invoice .invoice-remit small{color:#b5cfe5;font-size:11px;font-weight:bold;letter-spacing:1px}.professional-invoice .receipt-meta,.professional-invoice .receipt-vehicle,.professional-invoice .receipt-service,.professional-invoice .receipt-table-wrap,.professional-invoice .receipt-tech,.professional-invoice .receipt-pricing-note{margin-left:26px!important;margin-right:26px!important}.professional-invoice .receipt-meta{padding:20px 0!important}.professional-invoice .receipt-meta>div{gap:5px!important}.professional-invoice small{color:#62758a}.professional-invoice .invoice-installation{margin:0 26px 22px;padding:14px 18px;background:#f0f5fb;display:flex;flex-direction:column;gap:6px}.professional-invoice .receipt-parts th{background:#102e50!important;color:#fff!important;padding:10px!important}.professional-invoice .receipt-parts td{padding:12px 10px!important}.professional-invoice .invoiceamount{margin:20px 26px!important;padding:16px!important;background:#eef5fc!important;font-size:20px!important;color:#1468bc!important}.professional-invoice .invoiceamount input{font-size:24px!important;font-weight:bold!important;color:#102e50!important}.professional-invoice .invoicepay,.professional-invoice .invoicenotes,.professional-invoice .invoicefooter,.professional-invoice .invoiceemail,.professional-invoice .partformactions{margin:20px 26px!important}.invoice-authorization{margin:22px 26px!important;border-top:1px solid #dbe5ef;padding-top:16px!important}.invoice-authorization h3{font-size:13px!important;color:#1468bc!important;letter-spacing:.6px}.invoice-auth-details{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:14px 0}.invoice-auth-details>div{display:flex;flex-direction:column;gap:5px;font-size:13px}.invoice-signature-box{border:1px solid #91a9bf;border-radius:5px;min-height:120px;padding:14px;display:flex;flex-direction:column;justify-content:space-between}.invoice-signature-box span{font-size:11px;color:#62758a;font-weight:bold}.invoice-signature-box small{font-size:12px}.invoice-authorization button,.invoice-authorization a{margin:6px 10px 6px 0!important;font-size:12px!important}.invoice-collection-terms{margin:20px 26px!important;font-size:11px;color:#63758a;border-top:1px solid #dbe5ef;padding-top:15px;line-height:1.65}.invoice-collection-terms b{font-size:11px;color:#17324e}@media(max-width:560px){.professional-invoice .receipt-brand{flex-direction:column!important}.professional-invoice .invoice-remit{border-top:1px solid #45627d;padding-top:12px;width:100%}.invoice-auth-details{grid-template-columns:1fr}}@media print{.invoice-authorization button,.invoice-authorization a,.invoice-authorization h4,.invoice-authorization>p{display:none!important}.professional-invoice .receipt-brand{print-color-adjust:exact;-webkit-print-color-adjust:exact}}

.invoice-saved-signature{width:100%;height:100px;object-fit:contain}

/* Keep the document below the portal header in its independently scrolling job window. */
@media screen{
body.dispatch-office.dispatch-detail-open #workPanel:not(.hidden) #detail:has(#invoicePanel:not(.hidden)){top:110px!important;max-height:calc(100dvh - 134px)!important;scroll-padding-top:14px}
#invoicePanel{scroll-margin-top:120px}
.professional-invoice .receipt-meta{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)!important;padding:22px 0!important}
.professional-invoice .receipt-meta>div{font-size:14px!important;line-height:1.5;min-width:0}
.professional-invoice .receipt-meta>div>small:first-child{font-size:11px!important;letter-spacing:.7px;color:#526b84!important}
.professional-invoice .invoice-number{font-size:22px!important;line-height:1.3;color:#102e50!important}
.professional-invoice .invoice-work-reference{font-size:12px;color:#526b84}
.professional-invoice .invoiceamount{display:grid!important;grid-template-columns:1fr auto minmax(100px,150px);gap:6px}
.professional-invoice .invoice-currency{font-size:24px;color:#102e50}
.professional-invoice .invoiceamount input{width:100%!important;max-width:100%!important;min-width:0}
.professional-invoice .partformactions{display:flex!important;flex-wrap:wrap;gap:8px!important;padding:0!important}
.professional-invoice .partformactions button,.professional-invoice .invoicepay button,.invoice-save-toolbar button,.invoice-authorization button{min-height:44px!important;padding:10px 14px!important;border:1px solid #cbd9e6;border-radius:7px;font:600 14px Arial,sans-serif;cursor:pointer}
.professional-invoice .partformactions button{flex:1 1 130px}
.professional-invoice .receipt-table-wrap{overflow:auto}
.professional-invoice .invoiceemail input{font-size:16px!important;min-height:44px}
}
@media screen and (max-width:900px){
body.dispatch-office.office-edge-tabs.dispatch-detail-open #workPanel:not(.hidden) #detail:has(#invoicePanel:not(.hidden)){top:calc(80px + env(safe-area-inset-top))!important;max-height:calc(100dvh - 80px - env(safe-area-inset-top))!important}
#invoicePanel{scroll-margin-top:12px}
.professional-invoice .receipt-brand{flex-wrap:wrap!important;gap:16px!important;padding:18px 16px!important}
.professional-invoice .receipt-brand img{width:240px!important}
.professional-invoice .receipt-meta,.professional-invoice .receipt-vehicle,.professional-invoice .receipt-service,.professional-invoice .receipt-table-wrap,.professional-invoice .receipt-tech,.professional-invoice .receipt-pricing-note{margin-left:16px!important;margin-right:16px!important}
.professional-invoice .invoice-installation,.professional-invoice .invoiceamount,.professional-invoice .invoicepay,.professional-invoice .invoicenotes,.professional-invoice .invoicefooter,.professional-invoice .invoiceemail,.professional-invoice .partformactions,.invoice-authorization,.invoice-collection-terms{margin:16px!important}
.professional-invoice .receipt-meta{grid-template-columns:1fr!important;gap:16px!important}
.professional-invoice .invoice-reference{border-top:1px solid #dbe5ef;padding-top:14px}
.professional-invoice .invoiceamount{font-size:16px!important;grid-template-columns:1fr auto minmax(80px,130px)}
.professional-invoice .receipt-parts{font-size:12px!important;min-width:460px}
.invoice-auth-details{grid-template-columns:1fr}
.invoice-save-toolbar{position:static}
}
@media print{
.professional-invoice .invoiceamount{display:flex!important;gap:6px}
.professional-invoice .invoice-currency{margin-left:auto;font-size:22px}
.professional-invoice .invoiceamount input{width:115px!important}
.professional-invoice .receipt-meta{grid-template-columns:1.2fr 1fr!important}
.professional-invoice .invoice-number{font-size:17px!important}
.professional-invoice .receipt-meta,.professional-invoice .invoice-installation,.professional-invoice .receipt-vehicle,.invoice-authorization{break-inside:avoid}
#invoicePanel .invoice-part-editor,#invoicePanel .financeInvoiceStatus{display:none!important}
}

.invoice-save-toolbar{display:flex;align-items:center;gap:16px;padding:14px 18px;margin:0 0 18px;background:#eef5fc;border:1px solid #cbdcec;border-radius:7px;position:sticky;top:0;z-index:3}.invoice-save-toolbar button{flex-shrink:0}.invoice-save-state{margin:0;font-size:13px;color:#17324e}.invoice-action-locked{opacity:.45!important;cursor:not-allowed!important}a.invoice-action-locked{pointer-events:none}@media(max-width:560px){.invoice-save-toolbar{align-items:flex-start;gap:10px;flex-direction:column}}@media print{.invoice-save-toolbar{display:none!important}}



/* A tall sticky save banner must not cover fields in the small job pane. */
@media screen{
body.dispatch-office #invoicePanel .invoice-save-toolbar{position:static;flex-wrap:wrap;gap:8px;padding:10px 12px;margin-bottom:10px}
body.dispatch-office #invoicePanel .financeInvoiceStatus{display:block!important;flex-basis:100%;margin:0;color:#17324e;font-weight:600}
body.dispatch-office #invoicePanel .financeInvoiceStatus:empty{display:none!important}
body.office-proof.portal-proof #workPanel>.layout>#detail.compact-job.proof-job:has(#invoicePanel:not(.hidden)){grid-template-rows:max-content max-content max-content minmax(0,1fr)!important}
body.office-proof.portal-proof #workPanel>.layout>#detail.compact-job.proof-job:has(#invoicePanel:not(.hidden))>.compact-communications{display:none!important}
body.dispatch-office #invoicePanel .invoice-save-state{flex:1;min-width:180px}
body.dispatch-office #invoicePanel .invoice-part-editor{display:none!important}
body.dispatch-office #invoicePanel .professional-invoice{max-width:900px;width:100%}
body.dispatch-office #invoicePanel .receipt-brand{padding:14px 20px!important;gap:12px!important}
body.dispatch-office #invoicePanel .invoice-logo-block img{max-width:190px!important;max-height:65px!important}
body.dispatch-office #invoicePanel .receipt-banner{padding:8px 20px!important;font-size:20px!important}
body.dispatch-office #invoicePanel .receipt-meta{padding:12px 0!important}
body.dispatch-office #invoicePanel .customer-invoice-link:not([hidden]){display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px;margin-bottom:12px;border:1px solid #cbdcec;background:white}
.customer-invoice-link input{flex:1;min-width:120px}.customer-invoice-link p{flex-basis:100%;margin:0;font-size:12px}
}
@media screen and (max-width:900px),screen and (max-height:600px){#detail.compact-job .invoice-save-toolbar{position:static!important;gap:8px;padding:8px 12px;margin-bottom:10px}}

body.dispatch-office #invoicePanel .financeInvoiceStatus[data-error="true"]{color:#9b2020}

/* collections-ui.css */
.collections-box{border:1px solid #cadce8;border-radius:9px;padding:14px;margin:12px 0;background:#f9fcff}.collections-box>summary{cursor:pointer;font-weight:650;color:#174963}.collections-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px}.collections-box label,.collections-filters label{display:flex;flex-direction:column;gap:5px;margin:8px 0;font-size:13px}.collections-box input,.collections-box select,.collections-box textarea,.collections-filters input,.collections-filters select{padding:8px;border:1px solid #cbd5e1;border-radius:6px;width:100%;box-sizing:border-box}.collections-box input[type=checkbox]{width:auto;align-self:flex-start}.collections-box fieldset{border:1px solid #d6e2ea;border-radius:7px;margin-top:12px}.collections-box details{margin-top:14px}.collections-box details summary{cursor:pointer;font-weight:600}.collections-box article{padding:8px 0;border-bottom:1px solid #d6e2ea}.collections-box article p{white-space:pre-wrap}.collections-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.collections-box button{margin:4px 0}.collections-warning{color:#92400e;font-weight:550}.collections-filters{display:flex;flex-wrap:wrap;gap:14px}.collections-filters label:first-child{flex:1;min-width:180px}.collections-table{overflow-x:auto}.collections-table table,.collections-box table{width:100%;border-collapse:collapse;font-size:13px}.collections-table th,.collections-table td,.collections-box th,.collections-box td{padding:9px;text-align:left;border-bottom:1px solid #d6e2ea;vertical-align:top}.collections-table small{display:block;margin-top:5px}.collections-table table{min-width:760px}.collections-draft p{white-space:pre-wrap}.collections-box [hidden]{display:none!important}

/* smarty-parts.css */
.office-ai:has(.smarty-parts){grid-column:1/-1;min-width:0}
.smarty-parts{margin:12px 0;padding:12px;border:1px solid #b9d7e7;border-radius:7px;background:#f6fbfe}.smarty-parts>summary{font-weight:700;color:#114768;cursor:pointer}.smarty-parts-body{padding-top:10px}.smarty-parts-status{font-size:12px;color:#3b607a;line-height:1.5}.parts-vehicle{display:flex;flex-direction:column;gap:4px;background:#eaf3f9;padding:12px;border-radius:6px;margin-bottom:12px}.parts-vehicle span,.parts-vehicle small{font-size:12px;color:#48677d}.parts-lookup-controls label,.parts-import label,.parts-results-filter label,.parts-result-heading label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:600}.parts-lookup-controls select{max-width:280px}.parts-method-content{margin:10px 0 16px}.parts-method-content>p,.parts-import>p{font-size:12px;line-height:1.6;color:#42627a}.parts-method-content>label{display:inline-flex;max-width:280px;margin:0 10px 10px 0}.parts-button-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:9px}.smarty-parts a{color:#086a9c;text-decoration:underline;font-size:12px}.smarty-parts small{display:block;font-size:11px;line-height:1.5;color:#60798c}.parts-import{border-top:1px solid #d3e3ed;padding-top:12px;margin-bottom:16px}.parts-import>summary{font-size:13px;font-weight:650;cursor:pointer}.parts-import label{margin-bottom:10px}.parts-import textarea{width:100%;box-sizing:border-box;resize:vertical;font-family:inherit}.parts-import-button{margin-bottom:8px}.parts-result-heading{display:flex;justify-content:space-between;gap:15px;align-items:center}.parts-result-heading h4{margin:5px 0;font-size:15px}.parts-result-heading input{width:75px}.parts-caution{font-size:12px;line-height:1.5;padding:9px;background:#fff3df;border-left:3px solid #c89227;color:#74500d}.parts-results-filter{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:10px}.parts-results-filter label{min-width:190px;max-width:100%}.parts-table{overflow:auto;max-height:560px;border:1px solid #d8e5ee;background:#fff;border-radius:5px}.parts-table table{width:100%;min-width:700px;border-collapse:collapse;text-align:left;font-size:12px}.parts-table th{background:#eaf2f8;font-size:10px;text-transform:uppercase;letter-spacing:.4px;padding:10px;position:sticky;top:0}.parts-table td{vertical-align:top;padding:12px 10px;border-bottom:1px solid #e4edf3}.parts-table td:first-child{max-width:300px}.parts-table .parts-cost{font-size:18px;font-weight:750;color:#114768;white-space:nowrap}.parts-table td:nth-child(3){font-size:15px;font-weight:650;white-space:nowrap}.parts-table button{white-space:normal;font-size:12px}.parts-table pre{white-space:pre-wrap;font-size:10px;max-width:280px}.parts-table summary{font-size:10px;cursor:pointer}.parts-price-results>small{margin-top:10px}.parts-empty{font-size:12px;color:#627b8c;padding:10px 0}.smarty-parts button:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:600px){.parts-result-heading{align-items:flex-start;flex-direction:column}.parts-results-filter{flex-direction:column}.parts-results-filter label{width:100%}.smarty-parts{padding:10px}.parts-button-row>*{max-width:100%}.parts-table{max-height:450px}}

/* mygrant-browser-ui.css */
.mygrant-browser-panel{padding:14px;border:1px solid #a8c3e7;background:#f6faff;border-radius:10px;margin:10px 0 18px}.mygrant-browser-panel h4{margin:0 0 8px}.mygrant-browser-panel .parts-button-row{display:flex;gap:8px;flex-wrap:wrap}.mygrant-browser-panel [data-search-branch]{width:85px}.mygrant-browser-panel [data-search-part]{max-width:200px}.mygrant-browser-choices{display:grid;gap:6px;max-height:320px;overflow:auto}.mygrant-browser-choices button{text-align:left;padding:10px;background:#fff;border:1px solid #c8d7eb;border-radius:6px;color:#153b68}.mygrant-browser-setup{margin:12px 0}.mygrant-browser-setup li{margin:8px 0}.mygrant-browser-setup [data-pair-key] input{width:100%;font-family:monospace}.mygrant-browser-setup a{color:#175fc1}.mygrant-browser-status{font-size:13px;font-weight:600}.mygrant-browser-panel button{min-height:38px}

/* message-notifications.css */
.office-message-notifications{position:fixed;top:calc(env(safe-area-inset-top,0px) + 72px);right:16px;z-index:9000;width:min(390px,calc(100vw - 24px));background:#fff;color:#152c43;border:1px solid #9cb9dd;border-radius:12px;box-shadow:0 10px 34px #102d4a38;overflow:hidden;font-family:inherit}
.office-message-notifications[hidden]{display:none!important}
.message-notification-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;background:#eaf3ff;border-bottom:1px solid #c9ddf4}
.message-notification-heading strong{font-size:14px}
.message-notification-heading button,.message-notification-dismiss{background:transparent;border:0;color:#315572;cursor:pointer;padding:6px;font:inherit;font-size:12px}
.message-notification-list{max-height:36vh;overflow:auto;overscroll-behavior:contain}
.message-notification-row{display:flex;align-items:flex-start;border-bottom:1px solid #e4ebf3}
.message-notification-open{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0;text-align:left;border:0;border-radius:0;background:#fff;color:#152c43;padding:12px;cursor:pointer;font:inherit}
.message-notification-open:hover,.message-notification-open:focus-visible{background:#f2f7ff}
.message-notification-open b{font-size:14px}
.message-notification-open span{font-size:13px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow-wrap:anywhere}
.message-notification-open small{color:#145dcc;font-size:12px}
.message-notification-dismiss{font-size:23px;min-width:40px;min-height:44px}
@media(max-width:600px){.office-message-notifications{right:12px;top:calc(env(safe-area-inset-top,0px) + 62px)}}

/* lead-flow.css */
.lead-fulfillment{margin:12px 0;padding:12px;background:#f1f7fd;border:1px solid #c9ddf2;border-radius:10px;color:#163451}.lead-fulfillment h4,.lead-fulfillment h5{margin:0 0 8px}.lead-ready-summary{font-weight:600;line-height:1.5}.lead-action-bar{display:flex;gap:6px;flex-wrap:wrap}.lead-fulfillment button{font-size:12px;padding:7px 9px;min-height:36px}.lead-fulfillment small{display:block;white-space:normal;line-height:1.4;color:#50657c}.lead-vendor-row{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #d7e3ef;padding:9px 0}.lead-vendor-row>div{min-width:0}.lead-vendor-row button{flex-shrink:0;max-width:140px}.lead-fulfillment h5{margin-top:14px}.lead-openings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:10px 0}.lead-openings button{text-align:left;background:white;white-space:normal}.lead-warning{color:#804900}.lead-fulfillment label{display:block;margin:8px 0;font-size:12px}.lead-fulfillment input:not([type=checkbox]),.lead-fulfillment select{display:block;box-sizing:border-box;width:100%;margin-top:4px;min-height:36px}.lead-fulfillment .lead-parts{overflow-x:auto}.lead-readiness{font-weight:600}.lead-card .lead-vendor-summary{color:#176095;white-space:normal}.lead-card.selected{border-color:#1e69bf;background:#eff6ff}.lead-detail-actions{position:sticky;bottom:0;background:#fff;padding:10px 0;z-index:2;display:flex;flex-wrap:wrap;gap:6px}@media(max-width:700px){.lead-layout{display:block!important}.leads-list{max-height:32vh;overflow:auto}.lead-detail{margin-top:12px;min-width:0}.lead-openings{grid-template-columns:1fr}.lead-vendor-row{align-items:flex-start}.lead-vendor-row button{max-width:118px}.lead-fulfillment{padding:10px}.lead-detail .editgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.lead-detail .editgrid input{min-width:0;width:100%;box-sizing:border-box}}

/* The lead owns the conversation while it is selected. */
#leadDetail .lead-chat-host{min-width:0;margin:14px 0;padding:12px;border:1px solid #d6e1eb;border-radius:8px;background:#fff}
#leadDetail .lead-chat-host>h4{margin:0 0 12px;color:#123a63;font-size:15px}
#leadDetail .lead-embedded-conversation{display:flex!important;flex-direction:column!important;width:100%!important;min-width:0!important;min-height:0!important;max-width:100%!important;height:auto!important;border:0!important;position:static!important}
#leadDetail .lead-embedded-conversation .chathead{position:static!important;flex-wrap:wrap;padding:8px 0}
#leadDetail .lead-embedded-conversation .chathead .inbox-back,#leadDetail .lead-embedded-conversation .openorder{display:none!important}
#leadDetail .lead-embedded-conversation .chatbody{min-height:100px!important;max-height:450px!important;overflow-y:auto!important;flex:none!important;padding:10px 0!important;order:0}
#leadDetail .lead-embedded-conversation .composer{position:static!important;min-width:0!important;width:100%!important;box-sizing:border-box;order:1;padding:10px 0!important}
#leadDetail .lead-embedded-conversation .composer textarea{box-sizing:border-box;width:100%!important;min-height:100px!important;font-size:16px!important;line-height:1.5}
#leadDetail .lead-embedded-conversation .composer button{min-height:40px}
#leadDetail .lead-embedded-conversation .message-tools{max-width:100%;min-width:0}
#leadDetail .lead-embedded-conversation .chatidentity{min-width:0;overflow-wrap:anywhere}
#leadDetail .lead-embedded-conversation .chatbody:empty:before{content:'No messages yet. Send a text below to start the conversation.';font-size:13px;color:#526477}
#leadDetail .lead-chat-host [hidden]{display:none!important}

/* technician-messages.css */
@media screen{
.tech-message-switch{display:flex;gap:5px;margin:6px 0 8px}.tech-message-switch button{font-size:11px!important;min-height:30px;padding:5px 10px!important;border:1px solid #dce3e8;border-radius:4px;background:#fff}.tech-message-switch [aria-pressed=true]{background:#e5f3fb;color:#157ca8}
.tech-conversation[hidden],.job-chat-host[hidden]{display:none!important}.tech-conversation{border:1px solid #dce3e8;border-radius:5px;background:#fff;overflow:hidden;font:12px/1.45 Arial,sans-serif}.tech-conversation-head{padding:8px 10px;background:#eef7f8;border-bottom:1px solid #dce3e8;color:#31636a;font-size:11px}
.tech-history{height:clamp(190px,38dvh,420px);overflow-y:scroll;overscroll-behavior:contain;padding:10px;background:#f6f9fa}.tech-bubble{max-width:80%;width:fit-content;border:1px solid #dce3e8;border-radius:5px;background:#fff;padding:7px 10px;margin:0 0 8px;overflow-wrap:anywhere}.tech-bubble.out{margin-left:auto;background:#e5f1fa}.tech-bubble.in{border-left:3px solid #1b9290}.tech-bubble>strong{font-size:10px;color:#287a7b}.tech-bubble p{white-space:pre-wrap;margin:4px 0}.tech-bubble time,.tech-review-row time{display:block;font-size:9px;color:#738897}.tech-reported{display:inline-block;background:#e1f0e7;border-radius:3px;padding:2px 5px;font-size:10px}.tech-match-reason{font-size:9px;color:#6c818f;margin-top:4px}.tech-match-reason summary{cursor:pointer}
.tech-photos{display:flex;gap:6px;flex-wrap:wrap}.tech-photos img{display:block;max-height:200px;max-width:100%;object-fit:contain}.tech-photos a{max-width:220px}.tech-composer{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;padding:10px}.tech-composer textarea{grid-column:1/-1;width:100%;box-sizing:border-box;min-height:65px;resize:vertical;padding:7px;font:12px Arial,sans-serif;border:1px solid #dce3e8;border-radius:4px}.tech-composer select{min-width:0;font-size:11px;padding:5px;border:1px solid #dce3e8}.tech-composer button{font-size:11px;min-height:30px;padding:5px 9px}.tech-composer small,.tech-message-status{grid-column:1/-1;font-size:10px;margin:0;color:#617d89}.tech-empty,.tech-help{font-size:11px;color:#6e8593;margin:8px}.tech-inbox{padding:10px}.tech-inbox h3{font-size:13px}.tech-review-row{border:1px solid #eadbb4;border-radius:4px;background:#fffcf5;padding:9px;margin:7px}.tech-review-row p{white-space:pre-wrap;margin:5px 0}.tech-review-row small{display:block;font-size:10px;margin:4px 0}.tech-review-row select{max-width:100%;font-size:11px;min-height:32px}.tech-review-row button{margin:5px;font-size:11px;min-height:30px}.tech-job-review>summary{padding:7px 10px;font-size:11px;cursor:pointer}
}
@media screen and (max-width:900px){.tech-history{height:32dvh;min-height:150px}.tech-bubble{max-width:90%}.tech-composer textarea,.tech-composer select{font-size:16px}.tech-composer button,.tech-message-switch button{min-height:36px}.tech-review-row select{font-size:16px;width:100%}}
@media print{.tech-conversation,.tech-message-switch,.tech-inbox{display:none!important}}

.tech-update-indicator{font-size:9px;line-height:1.2;background:#e1f2ef;color:#227d73;border-radius:3px;padding:2px 4px;margin-left:4px}

.tech-job-picker{padding:14px;max-width:calc(100vw - 24px)}.tech-job-picker h3{font-size:13px}.tech-job-picker select{max-width:100%;width:100%;margin:8px 0;padding:7px}.tech-job-picker button{margin:5px;font-size:12px;min-height:34px}

.tech-composer>select{grid-column:1/-1}.tech-composer>.tech-send{grid-column:2;justify-self:end;width:auto!important;background:#198dcc!important;border:1px solid #198dcc!important;color:#fff!important;border-radius:4px}.tech-composer>.tech-translate{grid-column:1;justify-self:start;width:auto!important}
.tech-job-review{flex:none;padding:5px 10px;border-top:1px solid #e2e9ef;background:#f8fafc}.tech-job-review[hidden]{display:none!important}.tech-job-review>button{font-size:11px;min-height:30px;color:#916116;background:#fff9eb;border:1px solid #ebd7ab;border-radius:5px;padding:5px 9px}
.tech-review-dialog{box-sizing:border-box;width:min(760px,calc(100vw - 24px));max-height:85dvh;overflow:auto;padding:16px;border:1px solid #dce3e8;border-radius:12px;color:#234252;background:#fff;font:13px/1.45 Arial,sans-serif}.tech-review-dialog::backdrop{background:#122d4666}.tech-review-dialog h3{margin:0 0 7px}.tech-review-dialog>button{position:sticky;top:0;z-index:1;min-height:34px;background:#e8f5fb;border:1px solid #b8d6e7;border-radius:5px;padding:6px 10px}.tech-review-dialog .tech-review-row select{width:100%}
@media print{.tech-review-dialog{display:none!important}}

/* invoice-center.css */
#invoicesPanel{padding:18px!important;background:var(--panel-bg,#fff)}
#invoicesPanel #invoiceCenterRoot{font-family:Inter,Arial,sans-serif;font-size:12px;color:var(--text,#18324a);--ic-border:#dfe7ef;--ic-blue:#0874f9}
#invoicesPanel #invoiceCenterRoot *{box-sizing:border-box}#invoicesPanel #invoiceCenterRoot button{font:inherit;min-height:32px;padding:5px 9px;border:1px solid var(--ic-border);border-radius:6px;background:var(--panel-bg,#fff);color:inherit;cursor:pointer}#invoicesPanel #invoiceCenterRoot button:disabled{opacity:.55;cursor:wait}#invoicesPanel #invoiceCenterRoot button:focus-visible,#invoicesPanel #invoiceCenterRoot input:focus-visible,#invoicesPanel #invoiceCenterRoot textarea:focus-visible,#invoicesPanel #invoiceCenterRoot select:focus-visible{outline:2px solid #0874f9;outline-offset:2px}#invoicesPanel #invoiceCenterRoot button.active,#invoicesPanel #invoiceCenterRoot .ic-primary{background:#0874f9;color:#fff;border-color:#0874f9}#invoicesPanel #invoiceCenterRoot h2{font-size:20px;margin:0}#invoicesPanel #invoiceCenterRoot h3{font-size:17px;margin:0 0 5px}#invoicesPanel #invoiceCenterRoot h4{font-size:13px;margin:0 0 8px}#invoicesPanel #invoiceCenterRoot p{font-size:12px;margin:6px 0;line-height:1.45}#invoicesPanel #invoiceCenterRoot small{display:block;font-size:11px;color:var(--muted,#65798d);line-height:1.45}#invoicesPanel #invoiceCenterRoot label{font-size:11px;display:grid;gap:5px;margin-bottom:9px}#invoicesPanel #invoiceCenterRoot input,#invoicesPanel #invoiceCenterRoot select,#invoicesPanel #invoiceCenterRoot textarea{width:100%;font:inherit;min-width:0;padding:7px 8px;min-height:33px;border:1px solid var(--ic-border);border-radius:5px;background:var(--panel-bg,#fff);color:inherit}#invoicesPanel #invoiceCenterRoot textarea{resize:vertical}
.ic-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.ic-admin{font-size:10px;font-weight:500;color:#62768b;margin-left:7px}.ic-head p{color:#65798d}.ic-summary{display:flex;align-items:center;gap:0;border:1px solid var(--ic-border);border-radius:7px;padding:10px 0;margin:0 0 12px;background:var(--card-bg,#f7faff)}.ic-summary>span{padding:0 16px;border-right:1px solid var(--ic-border);font-size:11px;color:#65798d}.ic-summary b{display:block;font-size:16px;color:var(--text,#123454);margin-top:3px}.ic-summary>small{margin-left:auto;padding:0 10px}.ic-search-label{max-width:700px}.ic-filters{display:flex;gap:5px;overflow-x:auto;padding:2px 0 8px}.ic-filters button{white-space:nowrap}.ic-message:empty{display:none}.ic-error,.ic-due{color:#ae293a!important}.ic-table-wrap{overflow:auto;border:1px solid var(--ic-border);border-radius:6px}.ic-table{width:100%;border-collapse:collapse;font-size:12px;text-align:left}.ic-table th{font-size:10px;font-weight:600;letter-spacing:.02em;color:#60768e;background:var(--card-bg,#f7faff);padding:10px}.ic-table td{padding:9px 10px;border-top:1px solid var(--ic-border);vertical-align:middle}.ic-table strong{font-size:12px;font-weight:600}.ic-table tr.selected{background:var(--selected-bg,#edf5ff)}.ic-table td:nth-child(3){max-width:170px}.ic-table td:nth-child(3) small{overflow:hidden;text-overflow:ellipsis;max-width:160px}.ic-table .ic-open{padding:0;min-height:28px;border:0;background:none;color:#0874f9;text-align:left;font-weight:600}.ic-money{font-weight:650;white-space:nowrap}.ic-badge{display:inline-block;white-space:nowrap;padding:4px 7px;border-radius:5px;font-size:10px;line-height:1.3}.ic-blue{background:#e9f2ff;color:#095bbf}.ic-green{background:#e6f6ed;color:#16724c}.ic-red{background:#fff0ee;color:#ae293a}.ic-gray{background:#eef1f5;color:#53647a}.ic-foot{color:#65798d}.ic-empty{padding:35px;text-align:center;color:#65798d}.ic-paused{font-size:11px;color:#806021}
.ic-drawer{position:fixed;top:12px;right:12px;bottom:12px;width:440px;max-width:calc(100vw - 24px);z-index:200;background:var(--panel-bg,#fff);border:1px solid var(--ic-border);border-radius:10px;box-shadow:-14px 0 50px #0b244226;display:flex;flex-direction:column}.ic-drawer-head{display:flex;justify-content:space-between;align-items:flex-start;padding:16px;border-bottom:1px solid var(--ic-border)}#invoicesPanel #invoiceCenterRoot .ic-work-link{min-height:24px;padding:0;border:0;color:#0874f9;background:none}.ic-drawer-head p{color:#65798d}.ic-drawer-body{overflow-y:auto;overscroll-behavior:contain;padding:15px}.ic-amounts,.ic-split{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:12px;border:1px solid var(--ic-border);border-radius:6px}.ic-amounts span,.ic-split span{font-size:10px;color:#65798d}.ic-amounts b,.ic-split b{display:block;font-size:19px;color:var(--text,#142d46);margin-top:4px}.ic-split{grid-template-columns:1fr 1fr;background:var(--card-bg,#f7faff);margin:10px 0}.ic-split b{font-size:14px}.ic-status-line{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:10px;margin:10px 0}.ic-actions{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0}.ic-warning{border-left:3px solid #e5a020;background:#fff8e9;color:#745326;padding:9px}.ic-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 10px}#invoicesPanel #invoiceCenterRoot .ic-checkbox{display:flex;align-items:center;gap:7px;font-size:11px}#invoicesPanel #invoiceCenterRoot .ic-checkbox input{width:15px;min-height:15px;flex:none}.ic-drawer details{border-top:1px solid var(--ic-border);margin-top:14px;padding-top:12px}.ic-drawer summary{font-size:12px;font-weight:650;cursor:pointer;margin-bottom:12px}.ic-note,.ic-activity article{border-left:2px solid #d7e7fb;padding:7px 10px;margin:8px 0;font-size:11px}.ic-note p,.ic-reply p{white-space:pre-wrap}.ic-reply{margin:8px 0 0 10px;padding:7px;background:var(--card-bg,#f7faff);border-radius:5px}.ic-note button{font-size:10px!important;min-height:24px!important}.ic-compose,.ic-payment-form{padding:12px;border:1px solid var(--ic-border);background:var(--card-bg,#f7faff);border-radius:7px;margin:10px 0}.ic-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.ic-preview{max-width:750px;width:calc(100vw - 24px);max-height:90vh;overflow:auto;border:1px solid #dce6f0;border-radius:10px;padding:20px;background:#fff;color:#18324a}.ic-preview::backdrop{background:#0d254559}.ic-preview-head{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #dfe7ef;padding-bottom:12px;margin-bottom:12px}.ic-preview-head button,.ic-preview-actions button{border:1px solid #dfe7ef;background:#fff;border-radius:5px;padding:8px;cursor:pointer}.ic-preview img{max-width:100%}.ic-document{font-size:12px}.ic-preview-actions{margin-top:15px}.ic-preview .receipt-banner{font-size:18px}.ic-preview .receipt-meta{display:grid;grid-template-columns:1fr 1fr}.ic-preview .receipt-meta span,.ic-preview .receipt-meta small,.ic-preview .receipt-meta b{display:block}
body:not(.office-admin) #createInvoice,body:not(.office-admin) #invoicePanel,body:not(.office-admin) [data-view="invoices"],body:not(.office-admin) #invoicesPanel,body:not(.office-admin) #payerCollections{display:none!important}
@media(min-width:1300px){#invoicesPanel #invoiceCenterRoot:has(.ic-drawer) .ic-table-wrap,#invoicesPanel #invoiceCenterRoot:has(.ic-drawer) .ic-toolbar,#invoicesPanel #invoiceCenterRoot:has(.ic-drawer) .ic-summary{margin-right:450px}.ic-table td{padding:7px 8px}}
@media(max-width:760px){#invoicesPanel{padding:12px!important}.ic-head h2{font-size:18px!important}.ic-head p{display:none}.ic-admin{display:block;margin:4px 0 0}.ic-summary>span{padding:0 9px;flex:1;font-size:9px}.ic-summary b{font-size:13px}.ic-summary>small{display:none}.ic-table thead{display:none}.ic-table tbody{display:block}.ic-table tr{display:grid;grid-template-columns:1fr auto;gap:2px 12px;padding:10px 12px;border-bottom:1px solid var(--ic-border)}.ic-table td{display:block;padding:0;border:0}.ic-table td:nth-child(1){grid-column:1;grid-row:2}.ic-table td:nth-child(2){grid-column:1;grid-row:1}.ic-table td:nth-child(2) small{font-size:10px}.ic-table td:nth-child(3){display:none}.ic-table td:nth-child(4){grid-column:2;grid-row:1;text-align:right}.ic-table td:nth-child(5){grid-column:2;grid-row:2;text-align:right}.ic-table td:nth-child(6){grid-column:1;grid-row:3;font-size:10px}.ic-table td:nth-child(7){grid-column:2;grid-row:3;text-align:right}.ic-table .ic-open{font-size:10px;min-height:24px}.ic-table td:nth-child(1)>small{display:inline;font-size:10px;margin-left:6px}.ic-drawer{inset:0;width:100%;max-width:100%;border-radius:0;z-index:500}.ic-drawer-head{padding-top:max(14px,env(safe-area-inset-top))}.ic-drawer-body{padding-bottom:max(18px,env(safe-area-inset-bottom))}#invoicesPanel #invoiceCenterRoot button{min-height:38px}.ic-actions{position:sticky;top:-15px;background:var(--panel-bg,#fff);padding:9px 0;z-index:1}.ic-form-grid{gap:0 8px}}

body:not(.office-admin) .work-order-financial-states,body:not(.office-admin) [data-dispatch-tab="Invoice"],body:not(.office-admin) [data-inline-view="Invoice"]{display:none!important}
@media(max-width:760px){
 #invoicesPanel #invoiceCenterRoot .ic-summary>small{display:none}
 #invoicesPanel #invoiceCenterRoot .ic-summary>span{min-width:0;padding:0 8px;font-size:9px;flex:1}
 #invoicesPanel #invoiceCenterRoot .ic-summary b{font-size:12px;white-space:nowrap}
 #invoicesPanel #invoiceCenterRoot .ic-table tr{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-auto-rows:min-content;height:auto!important;min-height:0!important;align-content:start;row-gap:2px;padding:10px 12px}
 #invoicesPanel #invoiceCenterRoot .ic-table td{min-height:0!important;height:auto!important;padding:0!important;margin:0!important}
 #invoicesPanel #invoiceCenterRoot .ic-table td:nth-child(3){display:none!important}
 #invoicesPanel #invoiceCenterRoot .ic-table .ic-open{border:0;background:none;padding:0;min-height:26px;text-align:left;font-size:10px}
 #invoicesPanel #invoiceCenterRoot .ic-table td:nth-child(7) button{min-height:30px;padding:3px 7px}
 #invoicesPanel #invoiceCenterRoot .ic-table td:nth-child(1)>small{display:inline;font-size:9px;margin-left:5px}
 #invoicesPanel #invoiceCenterRoot .ic-table td:nth-child(2) small{font-size:10px}
 #invoicesPanel #invoiceCenterRoot .ic-table td:nth-child(6){align-self:center}
 #invoicesPanel #invoiceCenterRoot .ic-table{min-width:0}
}
@media(max-width:760px){
 #invoicesPanel #invoiceCenterRoot .ic-table td:nth-child(7){display:none!important}
 #invoicesPanel #invoiceCenterRoot .ic-table .ic-open{min-height:26px!important;height:auto!important;padding:0!important;border:0!important;background:transparent!important}
 #invoicesPanel #invoiceCenterRoot .ic-table tr{cursor:pointer}
}

.ic-drawer-body{min-height:0;flex:1;scroll-padding-block:16px 60px;}
@media(max-width:760px){.ic-drawer-body{padding-bottom:max(60px,env(safe-area-inset-bottom));}}

/* usability-polish.css */
.dispatch-filter-toggle{display:none;width:100%;min-height:44px;margin:6px 0 10px;padding:10px 12px;border:1px solid #bfd0df;border-radius:8px;background:#fff;color:#17324d;font-weight:800;align-items:center;justify-content:space-between}.dispatch-filter-toggle b{color:#0969ed;font-size:12px}.dispatch-job-glance{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:12px;margin:0 0 10px;border:1px solid #c9d8e7;border-radius:9px;background:#f6faff}.dispatch-job-glance div{min-width:0}.dispatch-job-glance small,.dispatch-job-glance span{display:block;color:#65758b;font-size:10px;overflow-wrap:anywhere}.dispatch-job-glance strong{display:block;margin:2px 0;font-size:12px;overflow-wrap:anywhere}.dispatch-quick-actions{margin:0 0 12px;padding:10px;border:1px solid #dfe6ee;border-radius:9px;background:#fff}.dispatch-compact-controls{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:12px}.dispatch-compact-controls .dispatch-hold-card{margin:0;padding:10px}.dispatch-compact-controls .dispatch-hold-card p{font-size:11px}.dispatch-job .worktitle h3 small{display:block;margin-top:3px;color:#65758b;font-size:10px;font-weight:600}
.office-route-notice,.unmatched-alert,.opt-out-warning{margin:8px 0;padding:10px 12px;border:1px solid #bad2ea;border-radius:8px;background:#eef7ff;color:#17324d;font-size:12px;font-weight:800}.location-quality-warning{display:inline-block;margin-left:7px;padding:3px 6px;border-radius:999px;background:#fff3cd;color:#7a5100;font-size:10px;font-weight:800}[aria-disabled="true"]{color:#788493!important;cursor:not-allowed;text-decoration:none}.history-controls,.deleted-controls{position:sticky;top:0;z-index:2;display:flex;gap:8px;padding:8px 0;background:#fff}.history-controls input,.deleted-controls input{min-width:0;flex:1;padding:9px;border:1px solid #bfd0df;border-radius:7px}.history-controls button,.deleted-controls button{white-space:nowrap}.opt-out-warning{border-color:#e5a7a7;background:#fff0f0;color:#8b1d1d}.unmatched-alert{border-color:#e7c36f;background:#fff8df;color:#6b4a00}.dupeorder[hidden],.job-history>div[hidden]{display:none!important}
@media(max-width:700px){.dispatch-filter-toggle{display:flex}.dispatch-toolbar:not(.filters-open) .dispatch-filters{display:none}.dispatch-toolbar.filters-open .dispatch-filters{display:grid}.dispatch-job-glance{grid-template-columns:1fr 1fr}.dispatch-compact-controls{grid-template-columns:1fr 1fr}.dispatch-compact-controls .dispatch-hold-card p{display:none}.dispatch-compact-controls .dispatch-hold-card button{width:100%;min-height:40px}.dispatch-quick-actions{display:grid!important;grid-template-columns:1fr 1fr}.dispatch-quick-actions button{min-height:44px!important}.dispatch-job .worktitle h3{font-size:16px!important;line-height:1.25}.history-controls,.deleted-controls{position:static;flex-direction:column}}
@media(max-width:420px){.dispatch-job-glance,.dispatch-compact-controls{grid-template-columns:1fr}}

/* edge-navigation.css */
/* Readable Office navigation using the original controls and permissions. */
@media screen {
 body.dispatch-office.office-edge-tabs{--edge-rail:210px;--edge-gap:18px}
 body.dispatch-office.office-edge-tabs .shell{display:block!important}
 body.dispatch-office.office-edge-tabs main{margin-left:calc(var(--edge-rail) + var(--edge-gap))!important;min-width:0}
 body.dispatch-office.office-edge-tabs .side{display:flex!important;flex-direction:column;position:fixed!important;left:0;top:110px!important;bottom:0!important;height:calc(100dvh - 110px)!important;width:var(--edge-rail)!important;min-width:0;padding:16px 10px!important;background:#fff!important;border-right:1px solid #dce5ed!important;z-index:35;box-sizing:border-box;overflow-y:auto}
 body.dispatch-office.office-edge-tabs .side>.brand{display:flex!important;min-height:38px;padding:0 10px 12px;font-size:13px;color:#365066}
 body.dispatch-office.office-edge-tabs .side>.brand img{max-width:125px}
 body.dispatch-office.office-edge-tabs .side>.security{display:none!important}
 body.dispatch-office.office-edge-tabs .side>nav{display:flex;flex-direction:column;gap:4px;width:100%;height:auto!important;min-height:0;overflow:visible}
 body.dispatch-office.office-edge-tabs .side .nav{display:flex!important;align-items:center;justify-content:flex-start;flex:0 0 auto;width:100%!important;min-height:40px!important;max-height:none;margin:0!important;padding:10px 12px!important;box-sizing:border-box;border:0!important;border-radius:6px!important;background:transparent!important;color:#365066!important;box-shadow:none!important;cursor:pointer;font-size:13px;font-weight:550;line-height:1.3;gap:10px!important;text-decoration:none}
 body.dispatch-office.office-edge-tabs .side .nav[hidden]{display:none!important}
 body.dispatch-office.office-edge-tabs .side .nav.active{background:#e8f5f6!important;color:#11636e!important;box-shadow:inset 3px 0 #1496a5!important}
 body.dispatch-office.office-edge-tabs .side .nav:hover:enabled{background:#f0f5f9!important}
 body.dispatch-office.office-edge-tabs .side .nav:disabled{opacity:.55;cursor:default}
 body.dispatch-office.office-edge-tabs .side .nav:focus-visible,.office-shortcuts button:focus-visible{outline:3px solid #168c9c!important;outline-offset:-3px}
 body.dispatch-office.office-edge-tabs .side .nav>.office-nav-icon{display:none!important}
 body.dispatch-office.office-edge-tabs .side .nav>.office-icon{display:block!important;width:18px;height:18px;flex:0 0 18px;fill:none;stroke:currentColor;stroke-width:1.7}
 body.dispatch-office.office-edge-tabs .side .edge-tab-label{display:block!important;writing-mode:horizontal-tb!important;transform:none!important;white-space:normal;color:inherit!important;font-size:13px!important;padding:0!important;text-align:left}
 body.dispatch-office.office-edge-tabs .app-dock{display:none!important}
 .office-shortcuts{display:flex;flex-direction:column;gap:2px;padding:0 0 6px 28px}
 .office-shortcuts button{background:transparent;border:0;border-left:1px solid #cfdce5;color:#536c7e;text-align:left;padding:8px 12px;font-size:12px;min-height:36px;cursor:pointer}
 .office-shortcuts button[aria-pressed=true]{background:#e8f5f6;color:#11636e;border-left:3px solid #1496a5;font-weight:650}
 body.dispatch-office.office-edge-tabs.dispatch-detail-open #workPanel:not(.hidden) #detail{width:min(1080px,calc(100vw - var(--edge-rail) - var(--edge-gap) - 40px))!important;max-width:calc(100vw - var(--edge-rail) - var(--edge-gap) - 24px)!important}
 .office-flow-controls{grid-column:1/-1;display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:10px 0}
 .office-flow-controls button,.office-flow-footer button{min-height:38px;padding:8px 12px;border:1px solid #cbd8e4;border-radius:6px;background:#fff;color:#17324e;cursor:pointer}
 .office-flow-controls button[aria-pressed=true]{background:#11636e;color:white;border-color:#11636e}
 .office-flow-controls small{flex:1 1 240px;color:#536c7e;font-size:12px}
 .office-flow-footer{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0}
 .office-flow-footer[hidden]{display:none!important}
 .office-flow-footer button:disabled{opacity:.5;cursor:default}
 #detail.row-work-order.office-guided .work-section{grid-column:1/-1!important}
 #detail.row-work-order.office-guided .work-section:not(.office-current-step){display:none!important}
}
@media screen and (max-width:900px){
 body.dispatch-office.office-edge-tabs{--edge-rail:0px;--edge-gap:0px}
 body.dispatch-office.office-edge-tabs .side{position:relative!important;top:auto!important;left:auto!important;bottom:auto!important;width:100%!important;height:auto!important;min-height:0!important;padding:8px!important;border-right:0!important;border-bottom:1px solid #dce5ed!important;z-index:1;overflow:visible}
 body.dispatch-office.office-edge-tabs .side>.brand{display:none!important}
 body.dispatch-office.office-edge-tabs .side>nav{display:flex;flex-direction:row;overflow-x:auto;gap:4px;align-items:flex-start;padding-bottom:4px}
 body.dispatch-office.office-edge-tabs .side .nav{width:auto!important;flex:0 0 auto;min-height:44px!important;padding:10px!important;white-space:nowrap}
 body.dispatch-office.office-edge-tabs .side .edge-tab-label{white-space:nowrap}
 body.dispatch-office.office-edge-tabs .side .nav>.office-icon{display:none!important}
 body.dispatch-office.office-edge-tabs main{margin-left:0!important;max-width:100%;box-sizing:border-box}
 body.dispatch-office.office-edge-tabs .office-shortcuts{flex:0 0 auto;flex-direction:row;padding:0;gap:2px}
 body.dispatch-office.office-edge-tabs .office-shortcuts button{min-height:44px;white-space:nowrap;border-left:0;border-radius:6px}
 body.dispatch-office.office-edge-tabs.dispatch-detail-open #workPanel:not(.hidden) #detail{inset:calc(58px + env(safe-area-inset-top)) 0 0 0!important;width:100%!important;max-width:100%!important;max-height:calc(100dvh - 58px - env(safe-area-inset-top))!important;padding:12px 12px calc(18px + env(safe-area-inset-bottom))!important;border-radius:0!important}
}
@media print{body.office-edge-tabs main{margin-left:0!important}body.office-edge-tabs .side,.office-flow-controls,.office-flow-footer{display:none!important}#detail.row-work-order.office-guided .work-section{display:block!important}}

/* signout-ui.css */
.office-signout{white-space:nowrap;margin-left:12px;padding:8px 12px;border:1px solid #bcc9d8;border-radius:6px;background:#fff;color:#172b45;cursor:pointer;font:inherit}.header-menu .office-signout{margin-left:0;width:100%;text-align:left}.office-signout-status{position:fixed;bottom:20px;left:20px;right:20px;z-index:10000;background:#fff2f2;border:1px solid #be3030;padding:12px;border-radius:6px;color:#8b1818}.office-signout-status[hidden]{display:none}
/* phone-workspace.css */
/* Floating phone leaves the Office workspace at its normal width. */
.phone-call-bar{display:none}
@media screen and (max-width:999px){
 body.office-call-active{--office-call-bar-height:84px}
 body.office-call-active .shell>main{padding-bottom:calc(var(--office-call-bar-height) + env(safe-area-inset-bottom) + 12px)!important}
 body.office-call-active .office-softphone .phone-toolbar{display:none}
 .office-softphone .phone-call-bar:not([hidden]){display:flex;align-items:center;justify-content:space-between;gap:8px;position:fixed;left:calc(var(--edge-rail,0px) + var(--edge-gap,0px));right:0;bottom:0;z-index:60;min-height:84px;padding:8px 12px calc(8px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #cbd8e8;box-shadow:0 -3px 14px #12294412}
 .phone-call-bar p{margin:0;min-width:0;flex:1;color:#53647b;font-size:12px;overflow-wrap:anywhere}
 .phone-call-bar .phone-controls{flex-shrink:0;gap:5px}
 .office-softphone .phone-call-bar button{padding:8px;min-height:40px;font-size:12px}
 .office-softphone .phone-call-bar [data-mini-phone="end"]{background:#b13a46;color:#fff;border-color:#b13a46}
 .office-softphone .phone-call-bar [data-mini-phone="answer"]{background:#207d4b;color:#fff;border-color:#207d4b}
 body.office-call-active.dispatch-office.dispatch-detail-open #workPanel:not(.hidden) #detail,
 body.office-call-active.dispatch-office.office-edge-tabs.dispatch-detail-open #workPanel:not(.hidden) #detail{
  bottom:calc(var(--office-call-bar-height) + env(safe-area-inset-bottom))!important;
  max-height:calc(100dvh - 68px - var(--office-call-bar-height) - env(safe-area-inset-top) - env(safe-area-inset-bottom))!important
 }

}
@media screen and (max-width:520px){
 .office-softphone .phone-call-bar:not([hidden]){display:grid;grid-template-columns:minmax(0,1fr);gap:5px}
 .phone-call-bar p{font-size:11px}
 .phone-call-bar .phone-controls{flex-wrap:nowrap;justify-content:flex-end}
 .office-softphone .phone-call-bar button{min-height:36px}
}
@media print{.phone-call-bar{display:none!important}}

body.office-phone-open .office-softphone .phone-drawer{position:fixed;inset:auto 16px auto auto;top:84px;width:min(700px,calc(100vw - 16px));max-height:calc(100dvh - 100px);margin:0;padding:12px;border:2px solid #8c9eab;border-radius:8px;box-shadow:0 16px 48px #12294440;z-index:150;overflow:auto;overscroll-behavior:contain}
body.office-phone-open .office-softphone .phone-drawer>.phone-drawer-heading{cursor:grab;touch-action:none;user-select:none;top:-12px;position:sticky;z-index:6;flex-wrap:wrap}
.office-softphone .phone-drawer.phone-moving>.phone-drawer-heading{cursor:grabbing}
.office-softphone .phone-drawer-heading:focus-visible{outline:3px solid #245fa4;outline-offset:2px}
.office-softphone .phone-move-hint{display:block;font-size:10px;line-height:1.4;font-weight:400;color:#53647b}
.office-softphone .phone-drawer-heading [data-phone-title]{margin-right:auto}
.office-softphone .phone-drawer-heading [aria-label="Reset phone position"]{min-width:32px;min-height:32px;padding:4px;font-size:20px}
@media(max-width:600px){body.office-phone-open .office-softphone .phone-drawer{width:calc(100vw - 16px);padding:10px}body.office-phone-open .office-softphone .phone-drawer>.phone-drawer-heading{top:-10px;gap:6px}.office-softphone .phone-drawer-heading h2{font-size:15px}.office-softphone .phone-drawer-heading [data-console-power]{font-size:11px;padding:5px}}

body.office-phone-open .office-softphone.phone-console-compact .phone-drawer{width:min(440px,calc(100vw - 16px))}

.office-softphone.phone-console-compact .phone-classic-front{grid-template-columns:minmax(0,1fr)}
.office-softphone.phone-console-compact .phone-classic-front .phone-console-dial-station{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}
.office-softphone.phone-console-compact .phone-classic-front .phone-console-dial-station>*{grid-row:auto}
.office-softphone.phone-console-compact .phone-classic-front .phone-keypad-details{grid-column:2;grid-row:1/5}
.office-softphone.phone-console-compact .phone-classic-front .phone-keypad{margin-top:0;gap:4px}
.office-softphone.phone-console-compact .phone-classic-front .phone-keypad button{min-height:40px}
.office-softphone.phone-console-compact .phone-classic-front .phone-caller{grid-column:1/-1}
.office-softphone.phone-console-compact .phone-classic-front .phone-line-keys{grid-template-columns:repeat(2,minmax(0,1fr))}
body.office-phone-open .office-softphone .phone-drawer.phone-tabbed{display:flex;flex-direction:column;width:min(520px,calc(100vw - 16px));overflow:hidden;padding:10px;border-radius:14px;background:#f6f8fa}
.phone-tabbed[hidden]{display:none!important}
body.office-phone-open .office-softphone .phone-tabbed>.phone-drawer-heading{position:static;flex-shrink:0;margin:0 0 8px;padding:0;background:transparent}
.phone-main-tabs{display:flex;gap:4px;padding:4px;background:#e3eaf0;border-radius:9px;flex-shrink:0}
.office-softphone .phone-main-tabs button{flex:1;min-height:34px;padding:6px;border:0;background:transparent;border-radius:6px;color:#3a5365;font-size:12px}
.office-softphone .phone-main-tabs button[aria-selected="true"]{background:#fff;color:#172f40;box-shadow:0 1px 4px #182f4020;font-weight:700}
.phone-pinned-controls{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;padding:8px 0;flex-shrink:0}
.office-softphone .phone-pinned-controls button{padding:7px 3px;min-height:36px;font-size:11px;border-radius:7px;background:#fff;border:1px solid #c3d0d9;color:#193a50}
.office-softphone .phone-pinned-controls [data-pinned-control="end"]{color:#a72d3d;border-color:#dda8ae;background:#fff4f5}
.phone-tab-body{overflow:auto;min-height:0;flex:1;overscroll-behavior:contain;padding-right:3px}
.phone-tab-body>[hidden]{display:none!important}
.phone-tabbed .phone-classic-controls>[data-classic-hold],.phone-tabbed .phone-classic-controls>[data-classic-transfer],.phone-tabbed .phone-classic-controls>[data-classic-conference],.phone-tabbed .desk-quick-controls{display:none!important}
.phone-tabbed .phone-shared-lines{border:1px solid #d5e0e7;border-radius:8px;padding:8px;background:white;margin-bottom:7px;font-size:11px}
.phone-tabbed .phone-shared-lines>.desk-line-board{max-height:110px;padding:0}.phone-tabbed .desk-empty{margin:5px 0 0;padding:0}
.phone-tabbed .desk-switchboard{margin:0}.phone-tabbed .desk-team-list{max-height:none}.phone-tabbed .phone-call-history{margin:0}.phone-tabbed .phone-call-history>summary{font-size:12px}
.phone-tabbed .phone-classic-front{grid-template-columns:minmax(0,1fr)}
.phone-tabbed .phone-console-dial-station{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:7px}
.phone-tabbed .phone-console-dial-station>.phone-keypad-details{grid-column:2;grid-row:1/5}.phone-tabbed .phone-keypad{gap:4px;margin:0}.phone-tabbed .phone-keypad button{min-height:37px;padding:3px}.phone-tabbed .phone-caller{grid-column:1/-1}
.phone-tabbed .phone-drawer-status{margin:0 0 7px;padding:8px;font-size:11px}.phone-tabbed .phone-line-keys{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}.phone-tabbed .phone-line-key{min-height:30px;padding:4px;font-size:10px}


/* Keep work-order replies above the collapsed floating phone dock. */
@media screen {
 body.dispatch-office.office-proof.office-edge-tabs.dispatch-detail-open:not(.office-call-active) #workPanel:not(.hidden) #detail.proof-job:has([data-dispatch-pane="Messages"]:not([hidden])){
  bottom:calc(64px + env(safe-area-inset-bottom))!important;
  max-height:calc(100dvh - 106px - env(safe-area-inset-bottom))!important
 }
}

/* classic-phone.css */
body.office-phone-open .office-softphone .phone-drawer.wz-classic-phone{--phone-ink:#20262b;--phone-muted:#58616a;--phone-surface:#e6e6e6;--phone-key:linear-gradient(#fff,#d2d2d2);--phone-border:#b1b3b6;width:min(370px,calc(100vw - 16px));display:flex;flex-direction:column;gap:0;max-height:calc(100dvh - 24px)!important;padding:0;overflow:hidden;border:1px solid #898d91;border-radius:8px;background:linear-gradient(#f9f9f9,#d6d6d6);color:var(--phone-ink);box-shadow:0 12px 40px #0005;font:12px/1.25 system-ui,sans-serif;z-index:900}
body.office-phone-open .office-softphone .wz-classic-phone[data-theme="black"]{--phone-ink:#f1f1f1;--phone-muted:#bfc4c8;--phone-surface:#222;--phone-key:linear-gradient(#484848,#111);--phone-border:#52565a;background:linear-gradient(#4a4a4a,#080808)}
.office-softphone .wz-classic-phone[hidden]{display:none!important}
body.office-phone-open .office-softphone .wz-classic-phone>.phone-drawer-heading{position:static;top:auto;flex-shrink:0;min-height:34px;gap:4px;padding:4px 7px;margin:0;border:0;border-bottom:1px solid #96999c;background:linear-gradient(#f6f6f6,#b7b7b7);color:#1c252e;border-radius:7px 7px 0 0}
.office-softphone .wz-classic-phone .phone-drawer-heading h2{font:600 12px system-ui;margin:0 auto 0 0}.wz-classic-phone .phone-move-hint{display:none!important}
.office-softphone .wz-classic-phone .phone-drawer-heading button{font-size:10px;padding:3px 6px;min-height:24px;min-width:25px;border-radius:4px}.wz-classic-phone .phone-drawer-heading [data-console-power]{max-width:95px}
.wz-classic-phone .classic-face{display:flex;flex-direction:column;gap:4px;padding:5px;min-height:0;overflow:auto;color:var(--phone-ink)}
.wz-classic-phone .classic-presence{display:flex;justify-content:space-between;gap:8px;font-size:10px}.wz-classic-phone [data-classic-connection]{color:#16843d}
.wz-classic-phone .classic-screen{text-align:center;padding:7px 5px;background:linear-gradient(#fafafa,#dfdfdf);border:1px solid var(--phone-border);border-radius:4px;min-height:110px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px}
.wz-classic-phone[data-theme="black"] .classic-screen{background:linear-gradient(#373737,#090909)}
.classic-screen .classic-brand{font-size:20px;line-height:1.05;font-weight:750;color:#1686b8;letter-spacing:-.7px}.classic-brand span{color:var(--phone-muted);margin-left:3px}.classic-screen>strong{font-size:20px;line-height:1.15;max-width:100%;overflow-wrap:anywhere}.classic-screen>span{font-size:15px}.classic-screen>small{font-size:10px;color:var(--phone-muted)}
.office-softphone .wz-classic-phone button{font-family:inherit;color:var(--phone-ink);background:var(--phone-key);border:1px solid var(--phone-border);border-radius:4px;box-shadow:inset 0 1px 0 #ffffff65;min-height:28px;padding:4px;line-height:1.15;font-size:11px}
.office-softphone .wz-classic-phone button:disabled{opacity:.42;cursor:default}.office-softphone .wz-classic-phone button:focus-visible{outline:2px solid #0989de;outline-offset:1px}.office-softphone .wz-classic-phone [data-open-record]{font-size:10px;min-height:24px;padding:3px 10px}
.classic-status .phone-drawer-status{font-size:10px!important;min-height:14px!important;padding:1px!important;margin:0!important;background:transparent!important;color:var(--phone-ink)!important;border:0!important;overflow-wrap:anywhere}
.classic-lines{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px}.wz-classic-phone .classic-lines .phone-line-keys{display:contents}.office-softphone .wz-classic-phone .phone-line-key{font-size:9px!important;min-height:27px!important;padding:3px!important;white-space:normal!important}.wz-classic-phone .phone-line-key[data-line-state="active"]{background:linear-gradient(#d8ffd7,#81d87d)!important;color:#164719!important}.wz-classic-phone .phone-line-key[data-line-state="held"]{background:linear-gradient(#fff2b9,#e6bd4f)!important;color:#634500!important}.wz-classic-phone .phone-line-key[data-line-state="ringing"]{background:linear-gradient(#d8ecff,#6aaee7)!important;color:#103b60!important}
.classic-number{display:grid;grid-template-columns:1.1fr 1fr;gap:3px}.classic-number input,.classic-number select{box-sizing:border-box;min-width:0;width:100%;height:27px;font:11px system-ui;border:1px solid var(--phone-border);border-radius:3px;background:var(--phone-surface);color:var(--phone-ink);padding:3px}.classic-number [data-line-status]{grid-column:1/-1;font-size:9px;margin:0}.classic-number [data-line-status]:empty{display:none}
.wz-classic-phone .classic-keypad .phone-keypad{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px;margin:0!important}.office-softphone .wz-classic-phone .classic-keypad button{min-height:43px!important;padding:3px!important;border-radius:4px;font-size:20px!important;display:flex;flex-direction:column;align-items:center;justify-content:center}.classic-keypad button small{font-size:9px;line-height:1.05;color:var(--phone-muted)}
.classic-functions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px}.classic-call-buttons{display:flex;gap:3px}.classic-call-buttons>button{flex:1}.office-softphone .wz-classic-phone .classic-call-buttons [data-dial],.office-softphone .wz-classic-phone [data-phone="answer"]{background:linear-gradient(#5cde58,#139a23);color:white;font-weight:700;min-height:34px}.office-softphone .wz-classic-phone [data-phone="end"],.office-softphone .wz-classic-phone [data-phone="decline"]{background:linear-gradient(#ff6267,#cb111d);color:white;min-height:34px}.wz-classic-phone [hidden]{display:none!important}
.classic-speed-keys{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px;max-height:62px;overflow:auto}.office-softphone .wz-classic-phone .classic-speed-keys button{font-size:10px;overflow-wrap:anywhere;padding:4px 2px}.classic-speed-keys button:before{content:'● ';color:#8c949a}.classic-speed-keys [data-presence="Available"]:before{color:#21b93d}.classic-speed-keys [data-presence="On a call"]:before{color:#e33940}.classic-speed-keys [aria-pressed="true"]{outline:2px solid #198bd6;outline-offset:-2px}.classic-person-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2px}.office-softphone .wz-classic-phone .classic-person-actions button{font-size:9px}
.classic-face>footer{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;border-top:1px solid var(--phone-border);padding-top:3px}.office-softphone .wz-classic-phone footer button{font-size:10px;min-height:27px}
.classic-source{display:none!important}.classic-overlay{min-height:0;overflow:auto;padding:7px;background:var(--phone-surface);color:var(--phone-ink)}.classic-overlay>header{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-bottom:8px;position:sticky;top:-7px;background:var(--phone-surface);padding:5px 0;z-index:3}.classic-overlay [data-conference]{display:block!important}.classic-overlay .phone-console-columns,.classic-overlay .phone-classic-front,.classic-overlay .phone-classic-controls{display:block!important}.classic-overlay .phone-console-dial-station:empty,.classic-overlay .phone-keypad-details,.classic-overlay [data-line-keys],.classic-overlay [data-classic-hold],.classic-overlay [data-classic-transfer],.classic-overlay [data-classic-conference],.classic-overlay .phone-classic-controls>small,.classic-overlay .desk-quick-controls{display:none!important}.classic-overlay .phone-participants,.classic-overlay .desk-switchboard{color:#20303a}.classic-overlay .phone-conference{margin:0!important}.classic-overlay .phone-tool-tabs{display:flex}.classic-overlay .phone-history-filters{display:grid;grid-template-columns:1fr 1fr}.classic-overlay .phone-history-entry{font-size:11px}
.classic-mini{position:fixed;z-index:901;display:flex;align-items:center;gap:4px;max-width:calc(100vw - 16px);padding:6px;border:1px solid #777;border-radius:6px;background:linear-gradient(#454a50,#11151a);color:#fff;box-shadow:0 6px 22px #0005;font:11px system-ui;touch-action:none;cursor:move}.classic-mini[hidden]{display:none}.classic-mini>span{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.classic-mini button{background:#353e48;color:white;border:1px solid #73808b;padding:5px;border-radius:4px;font:10px system-ui;cursor:pointer}.classic-mini button:disabled{opacity:.4}.classic-mini [data-mini-classic="end"]{background:#bd2334}.classic-mini [data-mini-classic="answer"]{background:#16833d}
@media(max-height:720px){.wz-classic-phone .classic-face{gap:2px;padding:4px}.wz-classic-phone .classic-screen{min-height:82px;padding:3px;gap:1px}.classic-screen .classic-brand{font-size:16px}.classic-screen>strong{font-size:17px}.classic-screen>span{font-size:12px}.classic-screen>small{font-size:9px}.office-softphone .wz-classic-phone .classic-keypad button{min-height:31px!important;font-size:17px!important}.classic-keypad button small{font-size:8px}.office-softphone .wz-classic-phone .classic-functions button,.office-softphone .wz-classic-phone .classic-person-actions button{min-height:25px}.classic-speed-keys{max-height:52px}.classic-face>footer{padding-top:2px}.classic-face>footer button{min-height:25px!important}}

.office-softphone .wz-classic-phone .classic-screen>strong,.office-softphone .wz-classic-phone .classic-screen>span{color:var(--phone-ink)!important}.office-softphone .wz-classic-phone [data-classic-theme]{background:var(--phone-key)!important;color:var(--phone-ink)!important}.classic-mini>[data-mini-label]:before{content:"● ";color:#4cda63}

body.classic-phone-enabled .office-softphone .phone-call-bar{display:none!important}.classic-overlay .phone-classic-workflows{display:block!important}

.classic-face>footer{grid-template-columns:repeat(5,minmax(0,1fr))}.classic-overlay label:has([data-console-size]){display:none}

body .office-softphone .wz-classic-phone .classic-keypad .phone-keypad{width:100%!important;min-width:0!important;max-width:none!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}body .office-softphone .wz-classic-phone .classic-keypad .phone-keypad button{width:100%!important;max-width:none!important;letter-spacing:normal!important}body .office-softphone .wz-classic-phone .classic-speed-keys button{min-height:24px!important;height:24px;line-height:1.05!important}

.wz-classic-phone .classic-incoming{display:flex;gap:5px;margin:3px 0}.office-softphone .wz-classic-phone .classic-incoming button{flex:1;min-height:44px!important;font-size:16px!important;font-weight:750}.office-softphone .wz-classic-phone .classic-incoming [data-phone="answer"]{background:linear-gradient(#5cde58,#139a23)!important;color:#fff!important}.office-softphone .wz-classic-phone .classic-incoming [data-phone="decline"]{background:linear-gradient(#ff6267,#cb111d)!important;color:#fff!important}

/* Lift the phone host out of the work-order stacking level, not only its drawer. */
body.classic-phone-enabled .office-softphone{position:relative;z-index:10000!important}
body.classic-phone-enabled .classic-mini{z-index:10001!important}
/* One phone surface at a time: launcher, minimized call, or expanded phone. */
@media screen{
body.classic-phone-enabled:has(.classic-mini:not([hidden])) .office-softphone .phone-toolbar,
body.classic-phone-enabled.office-phone-open .office-softphone .phone-toolbar{display:none!important}
body.classic-phone-enabled .classic-mini{position:fixed!important;inset:auto 12px 12px auto!important;cursor:default!important;touch-action:auto!important;max-width:calc(100vw - 24px)!important}
}

/* phone-drafts.css */
body.office-phone-open .office-softphone .wz-classic-phone{height:min(580px,calc(100dvh - 24px))}.wz-classic-phone .classic-face{flex:1}.wz-classic-phone .classic-overlay{flex:1;min-height:0}
.compact-recents{display:none;width:100%;text-align:left;min-height:0}.classic-idle .classic-screen>.compact-recents{display:block}.classic-idle .classic-screen>:not(.compact-recents):not(.compact-recipient-actions){display:none!important}.wz-classic-phone:not(.classic-idle) .compact-recipient-actions{display:none!important}
.compact-recents>small{font-size:9px;letter-spacing:.06em;color:var(--phone-muted)}.compact-recents [data-recent-status]{font-size:10px;margin:3px 0}.compact-recents [data-recent-status]:empty{display:none}
body .office-softphone .wz-classic-phone button.compact-recent{width:100%!important;min-height:14px!important;height:14px!important;display:flex;align-items:center;justify-content:space-between;gap:5px;margin:0!important;padding:0 2px!important;background:transparent!important;box-shadow:none!important;border:0!important;border-radius:2px;font-size:10px!important;text-align:left}
.compact-recent>span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.compact-recent>small{white-space:nowrap;font-size:8px!important;color:var(--phone-muted)}.compact-recipient-actions{display:flex;gap:3px;width:100%;margin-top:3px}.compact-recipient-actions button{flex:1;font-size:9px!important;min-height:20px!important;padding:2px!important}
.compact-draft{display:flex;flex-direction:column;gap:7px}.compact-draft label{display:flex;flex-direction:column;gap:3px;font-size:10px;font-weight:600}.compact-draft input,.compact-draft select,.compact-draft textarea{box-sizing:border-box;width:100%;min-width:0;padding:6px;border:1px solid var(--phone-border);border-radius:4px;background:var(--phone-surface);color:var(--phone-ink);font:12px system-ui}.compact-draft textarea{resize:vertical;min-height:88px;max-height:170px;line-height:1.4}.compact-draft>small{font-size:10px;color:var(--phone-muted);overflow-wrap:anywhere}.compact-draft p{font-size:11px;margin:0;overflow-wrap:anywhere}.draft-actions{display:flex;gap:5px}.draft-actions button{flex:1}.wz-classic-phone .draft-actions [data-draft-send]{background:linear-gradient(#45bc56,#138b2b);color:white;font-weight:700}.wz-classic-phone .classic-person-actions{grid-template-columns:repeat(5,minmax(0,1fr))}.wz-classic-phone .classic-speed-keys{max-height:26px}.wz-classic-phone .classic-face>footer{grid-template-columns:repeat(5,minmax(0,1fr))}

.office-softphone .wz-classic-phone .compact-recipient-actions button:hover:enabled{background:var(--phone-key);color:var(--phone-ink)}

/* contact-actions.css */
.office-phone-number{display:inline;overflow-wrap:anywhere}
.office-contact-actions{display:inline-flex;gap:1px;margin-inline:3px;vertical-align:middle;flex-wrap:nowrap}
.office-contact-actions button{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:24px;height:24px;min-width:24px;min-height:24px;margin:0;padding:5px;border:0;border-radius:4px;background:transparent;color:#155b98;box-shadow:none;cursor:pointer;vertical-align:middle;flex:0 0 24px;line-height:1}
.office-contact-actions button svg{display:block;width:14px;height:14px;flex:none;pointer-events:none}
.office-contact-actions button:hover{background:#eaf2fa}
.office-contact-actions button:focus-visible{outline:2px solid #126ac1;outline-offset:1px}
@media print{.office-contact-actions{display:none!important}}

/* stock-ui.css */
.stock-dialog{width:min(1100px,95vw);max-height:90dvh;overflow:auto;padding:18px;border:1px solid #cbd5e1;border-radius:10px;color:#17334b}.stock-dialog::backdrop{background:#061b3699}.stock-dialog header,.stock-tools{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.stock-dialog h2{font-size:19px;margin:0}.stock-dialog label{display:flex;flex-direction:column;gap:5px;font-size:13px}.stock-dialog input,.stock-dialog textarea,.stock-dialog select,.stock-dialog button{font:inherit;font-size:13px;border:1px solid #cbd5e1;border-radius:5px;padding:8px;min-height:36px;box-sizing:border-box}.stock-dialog button{background:#f8fafc;color:#17475e;cursor:pointer}.stock-dialog button:disabled{opacity:.5;cursor:default}.stock-tools{margin:14px 0}.stock-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.stock-dialog .stock-internal{display:block;font-size:11px;line-height:1.45;white-space:pre-wrap;color:#5f6f7f;margin-top:5px}.stock-dialog #stockRows{max-height:55dvh;overflow:auto}.stock-dialog table{width:100%;border-collapse:collapse;font-size:13px}.stock-dialog th,.stock-dialog td{padding:10px;text-align:left;border-bottom:1px solid #dce5ed;vertical-align:top}.stock-dialog th{position:sticky;top:0;background:#f1f5f9}.stock-dialog input[type=number]{width:80px}.stock-dialog #stockForm:empty{display:none}.stock-dialog #stockForm{padding:12px;background:#f1f6fa;margin:12px 0}.stock-dialog #stockPickerRows button{display:block;width:100%;text-align:left;margin:6px 0}.stock-dialog #stockStatus,.stock-dialog #stockPickerStatus{font-size:12px;line-height:1.5}@media(max-width:600px){.stock-dialog{padding:12px}.stock-fields{grid-template-columns:1fr}.stock-dialog input,.stock-dialog select,.stock-dialog textarea{font-size:16px;min-height:44px}.stock-dialog textarea.stock-internal{font-size:12px}.stock-dialog button{min-height:44px}.stock-dialog table{min-width:680px}}


.stock-picker-tools{display:flex;align-items:flex-end;gap:8px;flex-wrap:wrap;margin:12px 0}.stock-picker-tools label{flex:1;min-width:160px}.stock-dialog #stockPickerRows button{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;margin:0;border-radius:0;border-width:0 0 1px;min-height:52px}.stock-availability{font-weight:600;color:inherit}.stock-dialog #stockPickerRows small{font-size:11px;color:inherit;grid-column:1/-1}.stock-dialog #stockPickerRows button:disabled{opacity:.65}.stock-dialog #stockPickerRows button:not(:disabled):hover{background:#e8f3f8}@media(max-width:600px){.stock-dialog #stockPickerRows button{grid-template-columns:1fr}.stock-picker-tools label{min-width:0;flex-basis:100%}}

/* prospects-workspace.css */
.prospects-dialog{position:fixed;inset:70px 20px 24px;margin:0 auto;width:min(1200px,calc(100vw - 40px));height:calc(100dvh - 94px);max-height:none;box-sizing:border-box;border:1px solid #cbd8e5;border-radius:12px;padding:18px;background:#f3f6fa;color:#20394f;box-shadow:0 18px 70px #142d5040;z-index:900;overflow:auto;font:13px Arial,sans-serif}.prospects-dialog *{box-sizing:border-box}.prospects-dialog header{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.prospects-dialog header small{font-size:10px;letter-spacing:1.2px;color:#71859a}.prospects-dialog h2{margin:4px 0 0;font-size:22px}.prospects-dialog h3{margin:5px 0;font-size:18px}.prospects-dialog h4{margin:6px 0}.prospects-dialog p{line-height:1.5}.prospects-dialog button,.prospects-dialog input,.prospects-dialog select,.prospects-dialog textarea{font:inherit;min-height:34px;border:1px solid #cfdae6;border-radius:6px;padding:7px 9px;max-width:100%;background:white;color:inherit}.prospects-dialog input,.prospects-dialog textarea{min-width:0;width:100%}.prospects-dialog textarea{resize:vertical}.prospects-dialog button{cursor:pointer}.prospects-dialog button:disabled{opacity:.5;cursor:wait}.prospects-dialog .prospect-primary{background:#176ac1;border-color:#176ac1;color:white}.prospects-dialog button:focus-visible,.prospects-dialog input:focus-visible,.prospects-dialog select:focus-visible,.prospects-dialog summary:focus-visible{outline:2px solid #2086e6;outline-offset:2px}.prospects-dialog label{display:flex;flex-direction:column;gap:5px;font-size:11px;color:#536b82}.prospects-dialog #prospectSearchForm{display:flex;flex-wrap:wrap;gap:9px;align-items:end;background:white;border:1px solid #dbe4ee;border-radius:8px;padding:13px}.prospects-dialog #prospectSearchForm>label{flex:1 1 190px}.prospects-dialog #prospectSearchForm>label:nth-child(3){flex:0 0 95px}.prospect-search-meta,.prospect-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:10px 0}.prospect-search-meta small{color:#6c8195;font-size:11px}.prospect-search-meta details{margin-left:auto;position:relative}.prospect-search-meta details[open]{background:white;padding:12px;border:1px solid #d7e1ed;border-radius:6px}.prospect-search-meta details p{max-width:360px;font-size:11px}.prospects-dialog summary{cursor:pointer;color:#35668f;font-size:12px}.prospects-dialog .prospect-micro{font-size:11px;color:#74889b;margin:8px 0}.prospect-toolbar #prospectFilter{flex:1 1 160px;width:auto}.prospects-dialog [role=status]{font-size:12px;color:#315e82;min-height:15px;margin:8px 0}.prospect-workspace{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:14px;align-items:start}.prospect-list{min-width:0;background:white;border:1px solid #dbe4ef;border-radius:8px;overflow:hidden}.prospect-list-caption{display:flex;justify-content:space-between;gap:8px;padding:12px;font-size:10px;color:#7a8ea3;background:#f8fafc}.prospects-dialog #prospectRows{max-height:none;overflow:visible}.prospects-dialog .prospect-row{display:grid;grid-template-columns:1.2fr 1fr .8fr;gap:10px;text-align:left;width:100%;border:0;border-bottom:1px solid #e4ebf3;border-radius:0;padding:14px 12px;align-items:center}.prospect-row>span{min-width:0;overflow-wrap:anywhere}.prospect-row b{font-size:12px}.prospects-dialog small{display:block;font-size:10px;color:#73879b;margin-top:4px}.prospect-row.selected{background:#edf5ff;box-shadow:inset 3px 0 #237acb}.prospect-pill{font-style:normal;font-size:10px;border-radius:20px;background:#eaf0f7;padding:4px 7px;display:inline-block}.prospect-empty{padding:24px;color:#73879b}.prospects-dialog #prospectDetail{min-width:0;padding:16px;background:white;border:1px solid #dbe4ef;border-radius:8px}.prospect-detail-heading p{font-size:12px;color:#6c8297;margin:7px 0}.prospect-detail-heading a{font-size:11px;color:#176ac1}.prospect-contact,.prospect-quick{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0}.prospect-contact button,.prospect-quick button{font-size:11px}.prospect-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}.prospects-dialog .prospect-review{display:flex;flex-direction:row;align-items:center;margin:14px 0}.prospects-dialog input[type=checkbox]{width:16px;min-height:16px;flex-shrink:0}.prospects-dialog #prospectEditor>label{margin:10px 0}.prospects-dialog #prospectEditor details{margin:12px 0}.prospects-dialog #prospectEditor details label{margin-top:8px}.prospect-convert,.prospect-history{border-top:1px solid #e4ebf3;margin-top:14px;padding-top:12px}.prospect-history p{font-size:11px;border-bottom:1px solid #edf1f7;padding:8px 0;margin:0;overflow-wrap:anywhere}.prospect-history span{display:block;white-space:pre-wrap}.prospects-dialog #prospectTextForm{border:1px solid #d5e4f4;background:#f7faff;border-radius:7px;padding:12px;margin:12px 0}.prospects-dialog #prospectTextForm label{margin:10px 0}.prospects-dialog #prospectOlder{margin:12px}.prospects-dialog.prospect-calling{right:auto;left:16px;width:min(1000px,calc(100vw - 410px))}.prospects-dialog.prospect-calling .prospect-workspace{grid-template-columns:minmax(0,1fr) 330px}@media(max-width:1000px){.prospect-workspace{grid-template-columns:minmax(0,1fr) 330px}.prospect-row{gap:5px!important}.prospects-dialog.prospect-calling{width:calc(100vw - 40px);right:20px;left:20px}}@media(max-width:740px){.prospects-dialog{inset:54px 8px 12px;width:calc(100vw - 16px);height:calc(100dvh - 66px);padding:12px}.prospect-workspace,.prospects-dialog.prospect-calling .prospect-workspace{grid-template-columns:1fr}.prospects-dialog.prospect-calling{left:8px;right:8px;width:calc(100vw - 16px)}.prospects-dialog #prospectSearchForm>label{flex:1 1 140px}.prospects-dialog #prospectSearchForm>label:nth-child(3){flex:1 1 80px}.prospects-dialog #prospectDetail{padding:13px}.prospect-search-meta details{margin-left:0}.prospect-toolbar select{max-width:48%}.prospects-dialog input,.prospects-dialog select,.prospects-dialog textarea{font-size:16px;min-height:40px}.prospects-dialog .prospect-row{font-size:11px;grid-template-columns:1.15fr 1fr .75fr}.prospects-dialog button{min-height:38px}.prospect-list-caption span:last-child{display:none}}

.prospects-dialog .prospect-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.prospects-dialog .prospect-fields>label{min-width:0}.prospects-dialog .prospect-fields select{width:100%;min-width:0}

/* Dense prospect contacts; extra information opens on demand. */
.prospects-dialog .prospect-row{padding:6px 10px;min-height:38px;grid-template-columns:minmax(0,1fr) 135px;gap:8px}
.prospects-dialog .prospect-row>span:last-child{display:none}
.prospects-dialog .prospect-row>span:nth-child(2)>small{display:none}
.prospects-dialog .prospect-row b{font-size:11px;font-weight:600}
.prospects-dialog .prospect-row small{font-size:9px;line-height:1.2;margin-top:2px}
.prospects-dialog .prospect-row>span:nth-child(2){font-size:11px;text-align:right;white-space:nowrap}
.prospects-dialog #prospectDetail{padding:10px 12px}
.prospects-dialog .prospect-detail-heading h3{font-size:13px;margin:0 0 3px}
.prospects-dialog .prospect-detail-heading p{font-size:10px;margin:3px 0}
.prospects-dialog .prospect-detail-heading a{font-size:9px}
.prospects-dialog #prospectDetail>.prospect-contact{gap:4px;margin:7px 0}
.prospects-dialog #prospectDetail>.prospect-contact button{font-size:10px;min-height:28px;padding:5px 7px}
.prospects-dialog #prospectDetail>.prospect-micro{display:none}
.prospects-dialog #prospectDetails{margin-top:7px}
.prospects-dialog #prospectDetail>details{margin-top:7px;padding-top:0}
.prospects-dialog #prospectDetail>details summary{font-size:10px}
.prospects-dialog .prospect-history,.prospects-dialog .prospect-convert{padding-top:7px!important}
@media(max-width:740px){.prospects-dialog .prospect-row{grid-template-columns:minmax(0,1fr) 112px!important}.prospects-dialog .prospect-row>span:nth-child(2){font-size:10px}}

/* compact-office.css */
/* One compact screen system. Printed documents keep their existing styles. */
@media screen{
body.office-studio{--studio-rail:46px;--studio-top:42px;background:#e9edf1!important;color:#344b5b!important}
body.office-studio.office-edge-tabs main{margin-left:var(--studio-rail)!important;padding:52px 14px 18px!important;max-width:none!important;width:calc(100% - var(--studio-rail))!important;box-sizing:border-box}
body.office-studio.office-edge-tabs .top{position:fixed!important;left:0;right:0;top:0;height:42px!important;min-height:42px!important;margin:0!important;padding:0 14px!important;background:#252c32!important;border:0!important;border-radius:0!important;z-index:50;display:flex!important;gap:14px!important;color:#dce5eb}
body.office-studio .portal-header-brand{flex:0 0 auto!important;gap:4px!important}body.office-studio .portal-header-brand img{width:143px!important;height:30px!important;max-height:30px!important;object-fit:contain!important}
body.office-studio .portal-header-brand>span{font-size:10px!important;color:#bbc9d3!important;padding-left:6px!important}
body.office-studio .top .user{margin-left:auto;font-size:10px!important;background:transparent!important;color:#c9d5de!important;padding:2px!important;order:3}
body.office-studio .top .user small{font-size:9px!important;color:#aebdca!important}
.studio-top-nav{display:flex;gap:18px;height:42px;align-items:stretch;order:2}
.studio-top-nav button{border:0!important;background:transparent!important;color:#c6d5df!important;font-size:11px!important;padding:0 2px!important;min-height:42px!important;border-radius:0!important}
.studio-top-nav button[aria-current=page]{border-bottom:2px solid #56b9e8!important;color:#8bd5f7!important}
body.office-studio .top>a{font-size:10px;color:#b8d9ec}
body.office-studio.office-edge-tabs .side{top:42px!important;bottom:0!important;height:calc(100dvh - 42px)!important;width:var(--studio-rail)!important;min-width:0!important;padding:8px 3px!important;overflow-x:hidden;background:#fff!important;z-index:40}
body.office-studio .side>.brand,body.office-studio .side>.security,body.office-studio .office-shortcuts{display:none!important}
body.office-studio.office-edge-tabs .side .nav{padding:6px!important;min-height:34px!important;height:34px!important;display:flex!important;justify-content:center!important;gap:0!important;border-radius:4px!important;position:relative;flex-shrink:0}
body.office-studio .side .nav[hidden]{display:none!important}
body.office-studio.office-edge-tabs .side .nav .edge-tab-label,body.office-studio.office-edge-tabs .side .nav .office-nav-icon,body.office-studio.office-edge-tabs .side .nav .office-icon{display:none!important}
body.office-studio .side .nav::before{content:attr(data-studio-glyph);display:block;font-size:17px;line-height:20px;color:#5f8ca6}
body.office-studio .side .nav.active{background:#e1f1fc!important;color:#2588be!important;box-shadow:none!important}
body.office-studio .side .nav:focus-visible{outline:2px solid #2086bb!important;outline-offset:-2px!important}
body.office-studio .panel{border:1px solid #dce3e8!important;border-radius:5px!important;box-shadow:0 1px 2px #263f5007!important;background:#fff}
body.office-studio .panel>.panelbar{min-height:39px!important;padding:8px 12px!important}
body.office-studio .panel>.panelbar h2{font-size:14px!important}
body.office-studio .panel>.panelbar p{font-size:11px!important;margin:4px 0 0!important;color:#6b8191}
body.office-studio button,body.office-studio input,body.office-studio select,body.office-studio textarea{font-size:12px}
body.office-studio button{border-radius:4px!important}
body.office-studio .metrics{padding:6px 0!important;gap:8px!important}
body.office-studio .metriccard{min-height:50px!important;padding:7px 12px!important;border-radius:4px!important}
body.office-studio .metriccard strong{font-size:18px!important}
body.office-studio .metriccard span{font-size:10px!important}
body.office-studio .dispatch-toolbar{padding:6px 10px!important;gap:6px!important;font-size:11px!important}
body.office-studio .dispatch-toolbar button{min-height:30px!important;padding:5px 9px!important;font-size:11px!important}
body.office-studio .dispatch-stats,body.office-studio .dispatch-view-stats{font-size:11px!important}
body.office-studio .office-softphone:not(.phone-expanded) .phone-toolbar{min-height:35px!important;padding:5px 10px!important;gap:8px!important}
body.office-studio .office-softphone .phone-toolbar h2{font-size:12px!important}
body.office-studio.office-edge-tabs.dispatch-detail-open :is(#workPanel,#leadsPanel):not(.hidden) :is(#detail,#leadDetail){width:100%!important;max-width:100%!important;margin:0!important}
body.office-studio :is(#detail,#leadDetail).studio-job{padding:0!important;background:#e9edf1!important;border:0!important;box-shadow:none!important}
body.office-studio :is(#detail,#leadDetail).studio-job .worktitle{padding:8px 10px!important;min-height:38px!important;background:#fff!important;gap:8px!important;margin:0!important}
body.office-studio :is(#detail,#leadDetail).studio-job .worktitle h3{font-size:13px!important}
body.office-studio :is(#detail,#leadDetail).studio-job .worktitle .muted{font-size:10px!important}
body.office-studio :is(#detail,#leadDetail).studio-job .worktitleactions button{font-size:11px!important;padding:5px 8px!important;min-height:28px!important}
body.office-studio :is(#detail,#leadDetail).studio-job .work-order-navigation{padding:0!important;margin:0!important}
body.office-studio :is(#detail,#leadDetail).studio-job .work-order-navigation button{min-height:26px!important;font-size:10px!important;padding:3px 7px!important}
body.office-studio :is(#detail,#leadDetail).studio-job .dispatch-tabs{padding:5px 8px!important;gap:5px!important;background:#fff!important;margin:0 0 8px!important}
body.office-studio :is(#detail,#leadDetail).studio-job .dispatch-tabs button{min-height:29px!important;font-size:11px!important;padding:5px 9px!important}
body.office-studio :is(#detail,#leadDetail).studio-job .work-order-rows{display:grid!important;grid-template-columns:minmax(0,1fr) 206px!important;gap:10px!important;background:transparent!important;padding:0!important;align-items:start}
body.office-studio :is(#detail,#leadDetail).studio-job .work-order-masthead{grid-column:1/-1!important;display:flex!important;background:#fff!important;padding:7px 10px!important;min-height:38px!important;border:1px solid #dce4e9!important;gap:12px!important;margin:0!important}
body.office-studio :is(#detail,#leadDetail).studio-job .work-order-brand>strong{font-size:13px!important}
body.office-studio :is(#detail,#leadDetail).studio-job .work-order-brand small{font-size:10px!important}
body.office-studio :is(#detail,#leadDetail).studio-job .work-order-number{margin-left:auto;font-size:10px!important}
body.office-studio :is(#detail,#leadDetail).studio-job .work-order-number input{height:26px!important;min-height:26px!important;font-size:11px!important;max-width:220px!important}
body.office-studio :is(#detail,#leadDetail).studio-job .studio-job-tools{grid-column:1/-1;display:flex;gap:6px;flex-wrap:wrap;background:#fff;border:1px solid #dce4e9;padding:6px 10px}
.studio-job-tools button{font-size:11px!important;min-height:28px!important;padding:4px 9px!important;border:1px solid #d0dfe8!important;background:#fff!important;color:#29688c!important}
.studio-job-tools button:first-child{background:#2996d2!important;color:white!important;border-color:#2996d2!important}
body.office-studio :is(#detail,#leadDetail).studio-job .work-section-nav,body.office-studio :is(#detail,#leadDetail).studio-job .office-flow-controls,body.office-studio :is(#detail,#leadDetail).studio-job .office-flow-footer{display:none!important}
body.office-studio :is(#detail,#leadDetail).studio-job .work-section{grid-column:1;min-width:0;margin:0!important;padding:0!important;border:1px solid #dce4e9!important;border-radius:4px!important;background:#fff!important}
body.office-studio :is(#detail,#leadDetail).studio-job .work-section>h2{font-size:12px!important;margin:0!important;padding:9px 11px!important;background:#fff!important;border-bottom:1px solid #e8edf1!important;line-height:1.3!important}
body.office-studio :is(#detail,#leadDetail).studio-job .work-section-customer{display:none!important}
body.office-studio :is(#detail,#leadDetail).studio-job .work-section .work-order-row{margin:0!important;border:0!important;padding:10px!important;gap:9px!important;background:#fff!important}
body.office-studio :is(#detail,#leadDetail).studio-job .work-order-row h3{font-size:11px!important;margin:0 0 4px!important}
body.office-studio :is(#detail,#leadDetail).studio-job .work-order-row label{font-size:10px!important;gap:4px!important;min-width:0}
body.office-studio :is(#detail,#leadDetail).studio-job input,body.office-studio :is(#detail,#leadDetail).studio-job select{font-size:12px!important;min-height:30px!important;height:30px!important;padding:5px 7px!important;border-radius:3px!important}
body.office-studio :is(#detail,#leadDetail).studio-job textarea{font-size:12px!important;padding:7px!important;min-height:52px!important}
.studio-job-cards{grid-column:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.studio-card{min-width:0;background:#fff;border:1px solid #dce4e9;border-radius:4px;overflow:hidden}
.studio-card>header{display:flex;align-items:center;justify-content:space-between;padding:9px 11px;border-bottom:1px solid #edf1f4}
.studio-card h3{font-size:12px!important;font-weight:600!important;margin:0!important}
.studio-card .studio-edit{border:0!important;background:transparent!important;color:#2583b5!important;padding:2px 4px!important;min-height:24px!important;font-size:11px!important}
.studio-card-body{padding:12px;min-height:125px;overflow-wrap:anywhere}
.studio-card-body strong{font-size:12px;font-weight:600;display:block;margin-bottom:9px}
.studio-card-body p{font-size:11px;line-height:1.5;margin:7px 0;color:#617c8e}
.studio-job-rail{grid-column:2;grid-row:3/span 10;background:#fff;border:1px solid #dce4e9;border-radius:4px;padding:12px;position:sticky;top:50px;min-width:0}
.studio-job-rail>h3{font-size:12px!important;margin:0 0 12px!important}
.studio-job-rail>button{display:block;width:100%;font-size:11px!important;text-align:left;min-height:30px!important;padding:5px!important;margin:6px 0;border:0!important;background:#f4f8fb!important;color:#2c7ba7!important}
body.office-studio :is(#detail,#leadDetail) .studio-job-rail .document-totals{padding:0!important;margin:0!important;display:block!important;border:0!important;background:transparent!important;font-size:11px!important}
body.office-studio :is(#detail,#leadDetail) .studio-job-rail .document-totals>*{margin:5px 0!important}
.studio-balance{padding:8px 0;border-top:1px solid #e5ecf1;margin-top:8px;font-size:11px;line-height:1.4}
.studio-balance p{margin:6px 0}
.studio-balance p:last-child{font-weight:600;color:#267fac}
body.office-studio :is(#detail,#leadDetail).studio-job .document-parts{padding:10px!important;margin:0!important;border:0!important}
body.office-studio :is(#detail,#leadDetail).studio-job .partsminihead{padding:0 0 8px!important}
body.office-studio :is(#detail,#leadDetail).studio-job .partsminihead b{font-size:12px!important}
body.office-studio :is(#detail,#leadDetail).studio-job .partsminihead small{font-size:10px!important}
body.office-studio :is(#detail,#leadDetail).studio-job #partRows .part-line-fields{gap:8px!important}
body.office-studio :is(#detail,#leadDetail).studio-job .work-order-extras{margin-top:10px;font-size:11px}
body.office-studio .studio-editor{width:min(480px,94vw);max-width:94vw;max-height:86dvh;border:1px solid #ccdce6;border-radius:6px!important;padding:0!important;color:#344b5b;box-shadow:0 14px 50px #20374738;overflow:auto;background:white;box-sizing:border-box}
.studio-editor::backdrop{background:#273b4c80}
body.office-studio .studio-editor>header{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;padding:12px 15px;background:#fff;border-bottom:1px solid #e0e8ee;z-index:2}
body.office-studio .studio-editor>header h2{font-size:14px!important;margin:0!important}
body.office-studio .studio-editor>footer{padding:10px 14px;border-top:1px solid #e0e8ee;display:flex;justify-content:flex-end;gap:8px;background:#fafcfd;align-items:center;position:sticky;bottom:0;flex-wrap:wrap}
.studio-editor-body{padding:14px}
.studio-editor .studio-help{flex:1 1 100%;margin:0 0 5px;line-height:1.5}
body.office-studio :is(#detail,#leadDetail) .studio-editor .work-order-row{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;padding:0!important;border:0!important;box-shadow:none!important;margin:0 0 14px!important}
body.office-studio :is(#detail,#leadDetail) .studio-editor .work-order-row>h3{grid-column:1/-1;font-size:12px!important;border-bottom:1px solid #e5ecf1;padding:8px 0!important}
body.office-studio :is(#detail,#leadDetail) .studio-editor .work-order-insurance[hidden],body.office-studio :is(#detail,#leadDetail) .studio-editor .work-order-row[hidden]{display:none!important}
body.office-studio :is(#detail,#leadDetail) .studio-editor .work-order-payment{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:12px}
body.office-studio :is(#detail,#leadDetail) .studio-editor .work-order-payment button{font-size:11px!important;min-height:30px!important}
body.office-studio :is(#detail,#leadDetail) .studio-editor .work-order-payment [aria-pressed=true]{background:#e4f3fb!important;color:#267ea9!important}
body.office-studio :is(#detail,#leadDetail) .studio-editor .work-order-financial-states{grid-column:1/-1;display:flex!important;gap:10px}
body.office-studio :is(#detail,#leadDetail) .studio-editor .assignment-schedule{display:grid!important;grid-template-columns:1fr 1fr!important;gap:9px!important;min-width:0}
body.office-studio :is(#detail,#leadDetail) .studio-editor .work-order-technician{margin:8px 0!important;display:flex;justify-content:space-between}
.studio-editor .work-order-row label{display:flex!important;flex-direction:column;gap:5px;min-width:0}
.studio-editor .work-order-row .same-billing{grid-column:1/-1;flex-direction:row!important}
.studio-editor .same-billing input{width:17px!important}
body.office-studio :is(#detail,#leadDetail).studio-fields-expanded .studio-job-cards{display:none}
body.office-studio :is(#detail,#leadDetail).studio-fields-expanded .studio-editor[data-studio-editor]{display:block;position:static;width:auto!important;max-width:none;max-height:none;grid-column:1;box-shadow:none;grid-row:auto;margin:0}
body.office-studio :is(#detail,#leadDetail).studio-fields-expanded .studio-editor[data-studio-editor]>header .studio-close,body.office-studio :is(#detail,#leadDetail).studio-fields-expanded .studio-editor[data-studio-editor]>footer{display:none}
body.office-studio .studio-smarty{font-size:11px!important;border:1px solid #cbdde9!important;background:#fff!important;color:#357490!important;border-radius:18px!important;padding:6px 12px!important;min-height:30px!important;box-shadow:0 2px 8px #3251661a;margin:8px 0}
body.office-studio .studio-smarty-dialog{width:min(620px,94vw)}
body.office-studio .studio-smarty-dialog .health-ai,body.office-studio .studio-smarty-dialog .office-ai{padding:0!important;border:0!important;box-shadow:none!important;margin:0!important;background:white!important}
body.office-studio .studio-smarty-dialog .health-ai h3{font-size:15px!important}
body.office-studio .studio-smarty-dialog .health-ai p{font-size:11px!important}
body.office-studio .studio-smarty-dialog .health-ai-shortcuts{display:flex;flex-wrap:wrap;gap:5px}
body.office-studio .studio-smarty-dialog .health-ai-shortcuts button{font-size:11px!important;min-height:30px!important;padding:5px 8px!important}
body.office-studio .studio-smarty-dialog textarea{width:100%;box-sizing:border-box;font-size:14px;min-height:90px}
.studio-widget-toolbar{display:flex;align-items:center;gap:8px;margin:10px 0 12px}
.studio-widget-toolbar>span:first-child{font-size:13px;font-weight:600}
.studio-widget-feedback{font-size:10px;color:#637f91;flex:1}
.studio-widget-toolbar button{font-size:11px!important;min-height:30px!important;padding:5px 9px!important}
.studio-widget-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.studio-widget{background:#fff;border:1px solid #dce5ec;border-radius:5px;min-width:0;overflow:hidden}
.studio-widget-wide{grid-column:span 2}
.studio-widget>header{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:10px 12px;border-bottom:1px solid #edf1f4}
.studio-widget>header h3{font-size:12px!important;font-weight:600!important;margin:0!important}
.studio-widget-body{padding:12px;min-width:0;overflow:auto;max-height:370px}
.studio-widget-controls{display:flex;gap:3px;flex-wrap:wrap}
.studio-widget-controls[hidden]{display:none!important}
.studio-widget-controls button{font-size:10px!important;min-height:25px!important;padding:2px 5px!important}
.studio-arranging .studio-widget{border-style:dashed;cursor:grab}
.studio-widget-number{font-size:27px;color:#39799d;margin:12px 0}
.studio-widget-body>p{font-size:11px;line-height:1.5}
.studio-help{font-size:10px;color:#6b8191;line-height:1.5}
.studio-bars{display:flex;align-items:flex-end;gap:12px;height:180px;padding:10px 4px 44px;box-sizing:border-box;background:repeating-linear-gradient(to top,#f2f5f8 0,#f2f5f8 1px,white 1px,white 34px);margin:8px 0 16px}
.studio-bars>div{position:relative;flex:1;height:100%;display:flex;align-items:flex-end;justify-content:center;min-width:0}
.studio-bars i{width:65%;max-width:44px;display:block;background:#55a5d1;border-radius:2px 2px 0 0}
.studio-bars b{position:absolute;top:calc(100% + 7px);font-size:9px;font-weight:400;text-align:center;white-space:normal}
.studio-bars small{position:absolute;top:calc(100% + 22px);font-size:8px;color:#7e94a3;white-space:nowrap}
.studio-widget-body .health-box{padding:0!important;border:0!important;box-shadow:none!important;background:transparent!important;margin:0!important}
.studio-widget-body .health-box>h3,.studio-widget-body .health-box>.health-section-heading>h3{display:none}
.studio-widget-body .health-attention{margin:0;padding:0;max-height:300px;overflow:auto}
.studio-widget-body .health-attention li button{font-size:11px!important;padding:8px!important}
.studio-widget-body .health-table{max-height:280px;overflow:auto}
.studio-widget-body table{font-size:11px!important;min-width:0!important;width:100%}
.studio-widget-body th,.studio-widget-body td{padding:8px 6px!important;font-size:11px!important}
.studio-widget-body small{font-size:10px!important}
.studio-widget-body .health-metrics{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px}
.studio-widget-body .health-metric{min-height:80px!important;padding:9px!important}
.studio-widget-body .health-metric strong{font-size:17px!important}
.studio-widget-body .health-metric span{font-size:10px!important}
.studio-widget-picker label{display:flex;align-items:center;gap:10px;padding:12px;border-bottom:1px solid #e9eef2;font-size:12px}
.studio-widget-picker input{width:17px;height:17px}
body.office-studio .company-overview .health-heading{margin:0!important;padding:0!important}
body.office-studio .company-overview .health-heading h3{font-size:15px!important}
body.office-studio .company-overview .health-heading .health-eyebrow{display:none}
body.office-studio .company-overview .health-heading p{font-size:10px!important}
body.office-studio .company-overview .health-heading label{font-size:10px}
body.office-studio .company-finances{font-size:11px;padding:10px;margin-top:10px}
body.office-studio .company-finances>summary{font-size:12px}
body.office-studio .health-notes{font-size:10px;margin-top:10px}
body.office-studio .dealerhead h3{font-size:17px!important}
body.office-studio .dealeritem{padding:10px!important}
body.office-studio .schedule-job{font-size:12px;padding:10px}
body.office-studio .schedule-time b{font-size:13px}
body.office-studio .schedule-controls{padding:8px!important}
body.office-studio .schedule-days button{font-size:11px!important;min-height:30px!important;padding:5px 9px!important}
body.office-studio .email-toolbar,body.office-studio .inboxbar{padding:8px!important}
body.office-studio .studio-parked[hidden]{display:none!important}
body.office-studio .studio-editor:not([open]){display:none}
}
@media screen and (max-width:1100px) and (min-width:901px){
.studio-top-nav{gap:12px}.studio-job-cards{grid-template-columns:repeat(3,minmax(0,1fr))}
body.office-studio :is(#detail,#leadDetail).studio-job .work-order-rows{grid-template-columns:minmax(0,1fr) 170px!important}
.studio-job-rail{padding:9px}.studio-card-body{padding:9px}
}
@media screen and (max-width:900px){
body.office-studio.office-edge-tabs main{margin-left:0!important;width:100%!important;padding:56px 8px 12px!important}
body.office-studio.office-edge-tabs .side,body.office-studio .top{display:none!important}
body.office-studio .mobilebar{position:fixed!important;top:0;left:0;right:0;min-height:46px!important;height:46px!important;background:#252c32!important;padding:6px 10px!important;z-index:50}
body.office-studio .mobilebrand img{width:140px!important;max-height:32px!important}
body.office-studio .mobilebrand span{font-size:11px!important;color:#d0dfe8!important}
body.office-studio .header-tools>button{min-width:38px!important;min-height:36px!important}
body.office-studio .header-menu{max-height:80dvh;overflow:auto;top:46px!important}
body.office-studio :is(#detail,#leadDetail).studio-job .work-order-rows{display:flex!important;flex-direction:column;gap:9px!important}
body.office-studio :is(#detail,#leadDetail).studio-job .work-order-rows>*{width:100%;min-width:0;box-sizing:border-box}
.studio-job-cards{grid-template-columns:1fr}
.studio-card-body{min-height:0;padding:10px 12px}
.studio-card-body p{margin:5px 0}
.studio-job-rail{position:static;order:10}
body.office-studio :is(#detail,#leadDetail).studio-job .studio-editor{width:min(480px,94vw)!important}
body.office-studio :is(#detail,#leadDetail).studio-job .studio-editor input,body.office-studio :is(#detail,#leadDetail).studio-job .studio-editor select,body.office-studio :is(#detail,#leadDetail).studio-job .studio-editor textarea{font-size:16px!important;min-height:44px!important;height:auto!important}
body.office-studio .studio-editor button{min-height:44px!important}
body.office-studio :is(#detail,#leadDetail).studio-job .studio-editor .work-order-row{grid-template-columns:1fr!important}
body.office-studio :is(#detail,#leadDetail).studio-job .studio-editor .assignment-schedule{grid-template-columns:1fr!important}
body.office-studio :is(#detail,#leadDetail).studio-job .studio-job-tools button{min-height:40px!important}
.studio-card .studio-edit{min-height:40px!important}
.studio-widget-grid{grid-template-columns:1fr}
.studio-widget-wide{grid-column:span 1}
.studio-widget-controls button,.studio-widget-toolbar button,.studio-widget-picker label{min-height:44px!important}
.studio-widget-toolbar{flex-wrap:wrap}
.studio-widget-feedback{order:4;flex-basis:100%}
body.office-studio .schedule-days button{min-height:44px!important}
body.office-studio :is(#detail,#leadDetail).studio-job input,body.office-studio :is(#detail,#leadDetail).studio-job select,body.office-studio :is(#detail,#leadDetail).studio-job textarea{font-size:16px!important;min-height:44px!important;height:auto!important}
body.office-studio :is(#detail,#leadDetail).studio-job .work-order-masthead{flex-wrap:wrap}
body.office-studio :is(#detail,#leadDetail).studio-job .work-order-number input{max-width:180px!important;min-height:36px!important}
.studio-bars{height:160px}
}
@media print{
.studio-job-cards,.studio-job-tools,.studio-job-rail,.studio-smarty,.studio-top-nav{display:none!important}
.studio-editor[data-studio-editor]{display:block!important;position:static!important;border:0!important;box-shadow:none!important;width:100%!important;max-height:none!important;overflow:visible!important}
.studio-editor[data-studio-editor]::backdrop,.studio-editor[data-studio-editor]>header,.studio-editor[data-studio-editor]>footer{display:none!important}
.studio-editor:not([data-studio-editor]){display:none!important}
}

@media screen and (min-width:901px){body.office-studio.office-edge-tabs.dispatch-detail-open :is(#workPanel,#leadsPanel):not(.hidden) :is(#detail,#leadDetail){inset:52px 14px 14px calc(var(--studio-rail) + 14px)!important;width:auto!important;max-width:none!important;max-height:calc(100dvh - 66px)!important;border:0!important;box-shadow:none!important;border-radius:4px!important}body.office-studio :is(#detail,#leadDetail) .dispatch-detail-tabs{min-height:32px!important;padding:4px 0!important;gap:5px!important}body.office-studio :is(#detail,#leadDetail) .dispatch-detail-tabs button{min-height:28px!important;font-size:11px!important;padding:5px 9px!important}}
@media screen and (max-width:900px){body.office-studio.office-edge-tabs.dispatch-detail-open :is(#workPanel,#leadsPanel):not(.hidden) :is(#detail,#leadDetail){inset:46px 0 0!important;width:100%!important;max-width:100%!important;max-height:calc(100dvh - 46px)!important;padding:8px!important}}

@media screen{body.office-studio #newFields.studio-new-fields{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;background:#e9edf1!important;padding:12px!important}.studio-new-card{display:grid;grid-template-columns:1fr 1fr;gap:10px;border:1px solid #dce4e9;border-radius:4px;padding:12px;background:#fff;align-content:start}.studio-new-card h3{grid-column:1/-1;font-size:12px;margin:0;padding:0 0 10px;border-bottom:1px solid #edf1f4}.studio-new-card label{min-width:0;font-size:11px!important}.studio-new-card input,.studio-new-card select{width:100%;min-height:32px;font-size:12px}.studio-new-card label:has(textarea){grid-column:1/-1}.studio-new-card textarea{width:100%;min-height:70px}.studio-new-card label.wide{grid-column:1/-1}}
@media screen and (max-width:900px){body.office-studio #newFields.studio-new-fields{grid-template-columns:1fr!important}.studio-new-card input,.studio-new-card select,.studio-new-card textarea{min-height:44px;font-size:16px!important}}

@media screen{body.office-studio.office-edge-tabs .side .nav{font-size:0!important}body.office-studio.dispatch-office :is(#detail,#leadDetail).studio-job .work-section{grid-column:1!important;min-height:0!important;min-width:0!important;max-width:100%!important;width:100%!important;box-sizing:border-box}body.office-studio.dispatch-office :is(#detail,#leadDetail).studio-job .work-order-rows{grid-auto-rows:min-content!important}body.office-studio.dispatch-office :is(#detail,#leadDetail).studio-job .document-parts{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box}body.office-studio :is(#detail,#leadDetail) .studio-job-tools{margin:0!important}body.office-studio :is(#detail,#leadDetail).studio-job .work-order-masthead{padding:4px 10px!important;min-height:32px!important}body.office-studio :is(#detail,#leadDetail).studio-job .work-order-brand>strong{font-size:12px!important}body.office-studio :is(#detail,#leadDetail).studio-job .worktitle{padding:5px 10px!important;min-height:34px!important}body.office-studio :is(#detail,#leadDetail).studio-job .dispatch-detail-tabs{margin:0 0 5px!important}}
@media screen and (max-width:900px){body.office-studio.office-edge-tabs .top{display:none!important}}

@media screen{html:has(body.office-studio){scroll-padding-top:54px}.studio-widget-toolbar{scroll-margin-top:54px}.studio-new-fields input,.studio-new-fields select{max-width:100%}}

@media screen{body.office-studio :is(#detail,#leadDetail).studio-job .studio-job-tools{border:0!important;padding:0!important;background:transparent!important;flex:0 0 auto;margin-left:6px!important}body.office-studio :is(#detail,#leadDetail).studio-job .studio-job-tools button{background:#f5f9fc!important;color:#377ca3!important;border:1px solid #cedee9!important}.studio-job-rail{grid-row:2/span 10!important}body.office-studio.dispatch-office .office-softphone .phone-toolbar{min-height:32px!important;height:auto!important;padding:3px 9px!important;gap:8px!important;border:0!important;box-shadow:none!important;border-radius:4px!important}body.office-studio .phone-toolbar .phone-heading .phone-mark{display:none!important}body.office-studio .phone-toolbar .phone-heading strong{font-size:11px!important}body.office-studio .phone-toolbar .phone-heading [data-extension]{display:none!important}body.office-studio .phone-toolbar [data-status]{font-size:10px!important}body.office-studio .phone-toolbar button{font-size:10px!important;min-height:25px!important;padding:3px 8px!important}body.office-studio.dispatch-office #dashboardPanel>.panelbar{min-height:34px!important;height:34px!important;padding:4px 10px!important;display:flex!important}body.office-studio #dashboardPanel>.panelbar p{display:none!important}body.office-studio #dashboardPanel>.panelbar h2{font-size:12px!important}body.office-studio #dashboardPanel>.panelbar .office-section-icon{display:none!important}body.office-studio .studio-dashboard>.health-heading>div h3{display:none!important}body.office-studio .studio-dashboard>.health-heading{align-items:center!important}body.office-studio .studio-dashboard>.health-heading p{margin:0!important}}
@media screen and (min-width:1000px){body.office-studio.office-phone-open.office-edge-tabs main{width:calc(100% - var(--studio-rail) - 352px)!important}body.office-studio.office-phone-open.office-edge-tabs.dispatch-detail-open :is(#workPanel,#leadsPanel):not(.hidden) :is(#detail,#leadDetail){right:364px!important}}
@media screen and (max-width:900px){body.office-studio .phone-toolbar button{min-height:36px!important}body.office-studio .phone-toolbar{height:auto!important}}

@media screen{.studio-catalogs{grid-column:1;display:flex;gap:8px;background:white;border:1px solid #dce4e9;border-radius:4px;padding:10px;flex-wrap:wrap}.studio-catalogs button{border:1px solid #d6e2e9!important;border-top:5px solid var(--catalog-color,#86a4b6)!important;border-radius:3px!important;background:#fff!important;font-size:10px!important;padding:9px!important;min-height:42px!important;min-width:83px}.studio-editor-body>button{margin:5px;min-height:36px}}
@media screen and (max-width:900px){.studio-catalogs button{min-height:44px!important;flex:1 1 90px}}
@media print{.studio-catalogs{display:none!important}}

@media screen{body.office-studio.dispatch-office :is(#detail,#leadDetail).studio-job>dialog.studio-editor[open]{display:block!important}}

@media screen{body.office-studio.dispatch-office :is(#detail,#leadDetail).studio-job>.studio-smarty{display:inline-flex!important}}

/* Keep every job control visible in narrow browser panels and on phones. */
@media screen and (max-width:900px){
body.office-studio :is(#detail,#leadDetail).studio-job .worktitle{position:static!important;display:flex!important;flex-wrap:wrap!important;align-items:flex-start!important;gap:6px!important;height:auto!important;min-height:0!important;padding:8px 10px!important}
body.office-studio :is(#detail,#leadDetail).studio-job .worktitle>div:has(>h3){display:flex!important;align-items:flex-start!important;gap:6px!important;flex:1 1 100%!important;min-width:0!important;max-width:100%!important}
body.office-studio :is(#detail,#leadDetail).studio-job .worktitle h3{display:block!important;flex:1!important;min-width:0!important;max-width:100%!important;margin:0!important;white-space:normal!important;overflow-wrap:anywhere!important;line-height:1.4!important}
body.office-studio :is(#detail,#leadDetail).studio-job .worktitle>div:has(>h3)>button{flex:0 0 auto!important;min-height:30px!important;margin:0!important}
body.office-studio :is(#detail,#leadDetail).studio-job .worktitleactions{flex:1 1 100%!important;min-width:0!important;margin:0!important;flex-wrap:wrap!important;justify-content:flex-end!important;gap:6px!important}
body.office-studio :is(#detail,#leadDetail).studio-job .worktitleactions button{min-height:36px!important;max-width:100%!important;white-space:normal!important;margin:0!important}
body.office-studio :is(#detail,#leadDetail).studio-job .dispatch-detail-tabs{flex-wrap:wrap!important;overflow:visible!important;gap:5px!important;padding:6px 0!important;max-width:100%!important}
body.office-studio :is(#detail,#leadDetail).studio-job .dispatch-detail-tabs button{flex:0 1 auto!important;min-width:0!important;min-height:36px!important;font-size:11px!important;padding:6px 8px!important;white-space:normal!important;overflow-wrap:anywhere}
body.office-studio :is(#detail,#leadDetail).studio-job .work-order-navigation{flex-wrap:wrap!important;gap:5px!important;max-width:100%!important}
body.office-studio :is(#detail,#leadDetail).studio-job .work-order-navigation button{min-height:36px!important;white-space:normal!important}
body.office-studio :is(#detail,#leadDetail).studio-job .actions{flex-wrap:wrap!important;gap:6px!important;max-width:100%!important;min-width:0!important;box-sizing:border-box}
body.office-studio :is(#detail,#leadDetail).studio-job .actions>button{flex:1 1 125px!important;min-width:0!important;max-width:100%!important;min-height:36px!important;white-space:normal!important;overflow-wrap:anywhere}
body.office-studio :is(#detail,#leadDetail).studio-job .work-order-masthead{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:6px!important}
body.office-studio :is(#detail,#leadDetail).studio-job .work-order-masthead .work-order-brand{grid-column:1/-1!important}
body.office-studio :is(#detail,#leadDetail).studio-job .work-order-number{grid-column:1!important;margin-left:0!important;max-width:100%!important;min-width:0!important;flex-wrap:nowrap!important}
body.office-studio :is(#detail,#leadDetail).studio-job .work-order-number input{flex:1!important;min-width:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box}
body.office-studio :is(#detail,#leadDetail).studio-job .work-order-masthead .studio-job-tools{grid-column:2!important;grid-row:2!important;margin-left:0!important}
}


/* proof-office.css */
/* Dimensions, hierarchy and color from the approved 1440 × 900 proof. */
@media screen{
body.office-proof{font-family:Arial,sans-serif!important;font-size:12px!important;--studio-rail:42px;background:#e9ecef!important;color:#34434e!important}
body.office-proof .top{padding:0 16px!important;gap:24px!important}
body.office-proof .studio-top-nav{gap:24px}
body.office-proof :is(#detail,#leadDetail).proof-job{font-family:Arial,sans-serif!important;background:#e9ecef!important;color:#34434e!important}
body.office-proof :is(#detail,#leadDetail).proof-job .worktitle{position:static!important;display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:8px!important;padding:5px 12px!important;min-height:36px!important;margin:0!important;border-bottom:1px solid #dce3e8!important}
body.office-proof :is(#detail,#leadDetail).proof-job .worktitleactions{order:0!important;margin:0!important;gap:6px!important;flex-wrap:wrap!important;position:relative}
body.office-proof :is(#detail,#leadDetail).proof-job .worktitleactions button,body.office-proof :is(#detail,#leadDetail).proof-job #saveWork{min-height:26px!important;height:26px!important;font-size:11px!important;font-weight:400!important;padding:4px 10px!important;border-radius:14px!important;line-height:1.2!important}
body.office-proof :is(#detail,#leadDetail).proof-job #saveWork{background:#2997d7!important;border-color:#2997d7!important;color:#fff!important}
body.office-proof :is(#detail,#leadDetail).proof-job .worktitle>div:has(>h3){order:2!important;display:flex!important;align-items:center!important;gap:6px!important;min-width:0;flex:1!important}
body.office-proof :is(#detail,#leadDetail).proof-job .worktitle h3{font-size:11px!important;line-height:1.35!important;font-weight:400!important;letter-spacing:0!important;margin:0!important;overflow-wrap:anywhere}
body.office-proof :is(#detail,#leadDetail).proof-job .worktitle h3 small{display:inline!important;margin-left:8px;font-size:9px!important;font-weight:400!important;color:#8395a2!important}
body.office-proof :is(#detail,#leadDetail).proof-job .worktitle>div:has(>h3)>button{min-height:25px!important;height:25px!important;width:26px!important;padding:3px!important}
body.office-proof :is(#detail,#leadDetail).proof-job .work-order-navigation{order:1!important;position:static!important;gap:3px!important;margin:0!important;padding:0!important}
body.office-proof :is(#detail,#leadDetail).proof-job .work-order-navigation button{min-height:25px!important;padding:3px 7px!important;font-size:10px!important;border:0!important;background:transparent!important}
body.office-proof :is(#detail,#leadDetail).proof-job .dispatch-close{font-size:17px!important;padding:2px 6px!important}
body.office-proof :is(#detail,#leadDetail).proof-job .worktitleactions>.studio-smarty{position:fixed!important;bottom:18px;left:54px;z-index:45;height:30px!important;min-height:30px!important;border:1px solid #d5e0e7!important;background:#fff!important;box-shadow:0 2px 8px #31445722!important}
body.office-proof :is(#detail,#leadDetail).proof-job .dispatch-detail-tabs{min-height:30px!important;padding:3px 12px!important;margin:0!important;gap:5px!important;background:#fff!important;border-bottom:1px solid #dce3e8!important;flex-wrap:wrap!important;overflow:visible!important}
body.office-proof :is(#detail,#leadDetail).proof-job .dispatch-detail-tabs button{font-size:10px!important;min-height:24px!important;padding:3px 8px!important;border-radius:3px!important;background:#fff!important;border:1px solid transparent!important}
body.office-proof :is(#detail,#leadDetail).proof-job .dispatch-detail-tabs button.active{background:#e8f4fb!important;border-color:#c4e1f2!important;color:#2588bc!important}
body.office-proof :is(#detail,#leadDetail).proof-job .work-order-rows{grid-template-columns:minmax(0,1fr) 220px!important;gap:10px 12px!important;padding:10px 16px 18px!important}
body.office-proof.dispatch-office.office-studio :is(#detail,#leadDetail).proof-job>.proof-context-bar{display:flex!important;align-items:center;gap:10px;background:#f5f7f8;border-bottom:1px solid #d9e0e5;padding:3px 16px;min-height:36px;box-sizing:border-box}
body.office-proof :is(#detail,#leadDetail).proof-job .proof-context-bar>.dispatch-detail-tabs{flex:0 0 auto!important;border:0!important;background:transparent!important;padding:0!important}
body.office-proof :is(#detail,#leadDetail).proof-job .proof-context-bar>.work-order-masthead{flex:1!important;min-width:0!important;border:0!important;padding:0!important}
body.office-proof :is(#detail,#leadDetail).proof-job .work-order-masthead{display:flex!important;flex-wrap:wrap!important;gap:8px!important;min-height:30px!important;padding:4px 10px!important;border:0!important;background:#f5f7f8!important;border-bottom:1px solid #d9e0e5!important}
body.office-proof :is(#detail,#leadDetail).proof-job .work-order-brand>strong{font-size:12px!important;font-weight:600!important;letter-spacing:0!important}
body.office-proof :is(#detail,#leadDetail).proof-job .work-order-location{font-size:9px!important}
body.office-proof :is(#detail,#leadDetail).proof-job .work-order-number{margin-left:auto!important;font-size:9px!important;flex-wrap:nowrap!important}
body.office-proof :is(#detail,#leadDetail).proof-job .work-order-number input{height:25px!important;min-height:25px!important;width:170px!important;max-width:100%!important;font-size:10px!important}
body.office-proof :is(#detail,#leadDetail).proof-job .studio-job-tools{margin-left:4px!important}
body.office-proof :is(#detail,#leadDetail).proof-job .studio-job-tools button{min-height:25px!important;padding:3px 8px!important;font-size:10px!important}
body.office-proof :is(#detail,#leadDetail).proof-job .studio-job-cards{gap:10px}
body.office-proof :is(#detail,#leadDetail).proof-job .studio-card{border:1px solid #dce2e7;border-radius:5px;box-shadow:0 1px 2px #24384608;display:flex;flex-direction:column}
body.office-proof :is(#detail,#leadDetail).proof-job .studio-card>header{padding:9px 12px!important;min-height:37px;box-sizing:border-box}
body.office-proof :is(#detail,#leadDetail).proof-job .studio-card h3{font-size:12px!important;font-weight:600!important}
body.office-proof :is(#detail,#leadDetail).proof-job .studio-card .studio-edit{font-size:17px!important;padding:0!important;min-height:20px!important;width:24px!important}
body.office-proof :is(#detail,#leadDetail).proof-job .studio-card-body{padding:11px 12px!important;min-height:0;flex:1}
body.office-proof :is(#detail,#leadDetail).proof-job .studio-card-body>.proof-name{font-size:12px!important;font-weight:400!important;margin:0 0 10px!important;line-height:1.4}
.proof-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 12px}
.proof-value{min-width:0;overflow-wrap:anywhere}
.proof-wide{grid-column:1/-1}
.proof-label{display:block;font-size:9px;color:#80909c;text-transform:uppercase;letter-spacing:.2px;margin-bottom:5px}
.proof-field-value{display:block;font-size:11px;line-height:1.45;color:#465965}
.proof-card-foot{padding:7px 12px;font-size:9px!important;line-height:1.4;background:#e7f3e9;color:#62846b;text-align:right}
.studio-card:nth-child(2) .proof-card-foot{background:#f4f7f9;color:#7b8e9a}
.studio-card:nth-child(3) .proof-card-foot{background:#f7f3d3;color:#8c8748}
body.office-proof :is(#detail,#leadDetail).proof-job .work-section{border:1px solid #dce2e7!important;border-radius:5px!important;box-shadow:0 1px 2px #24384608!important}
body.office-proof :is(#detail,#leadDetail).proof-job .work-section>h2{font-size:12px!important;font-weight:600!important;padding:10px 12px!important}
body.office-proof :is(#detail,#leadDetail).proof-job .work-section-vehicle{display:grid!important;grid-template-columns:minmax(250px,.95fr) minmax(0,1.55fr)!important;gap:0 10px!important;padding:0 12px 12px!important}
body.office-proof :is(#detail,#leadDetail).proof-job .work-section-vehicle>h2{grid-column:1/-1;margin:0 -12px 12px!important}
body.office-proof :is(#detail,#leadDetail).proof-job .work-section-vehicle>h2>button{float:right;border:0;background:transparent;color:#2588bc;font-size:10px!important;padding:0!important;min-height:16px!important}
body.office-proof :is(#detail,#leadDetail).proof-job .proof-glass-editor label{display:flex!important;flex-direction:column;gap:5px;margin-bottom:12px}
body.office-proof :is(#detail,#leadDetail).proof-job .proof-glass-editor .calibration-research{margin-top:12px}
body.office-proof :is(#detail,#leadDetail).proof-job .work-section-vehicle .work-order-row{background:#f4f6f7!important;border-radius:3px!important;padding:10px!important;align-content:start!important;gap:8px!important}
body.office-proof :is(#detail,#leadDetail).proof-job .vehicle-identification{grid-column:2!important;grid-row:2!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important}
body.office-proof :is(#detail,#leadDetail).proof-job .vehicle-glass{grid-column:1!important;grid-row:2!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
body.office-proof :is(#detail,#leadDetail).proof-job .vehicle-identification>label:has(#editService),body.office-proof :is(#detail,#leadDetail).proof-job .vehicle-identification>label:has(#jobCalibration){grid-column:span 2!important}
body.office-proof :is(#detail,#leadDetail).proof-job .vehicle-identification>.calibration-research{grid-column:1/-1!important}
body.office-proof :is(#detail,#leadDetail).proof-job .vehicle-glass button{min-height:25px!important;padding:4px 7px!important;font-size:10px!important}
body.office-proof :is(#detail,#leadDetail).proof-job .vehicle-identification>h3{display:block!important}
body.office-proof :is(#detail,#leadDetail).proof-job .vehicle-glass>h3{display:none!important}
body.office-proof :is(#detail,#leadDetail).proof-job .work-section-vehicle .work-order-row>h3{grid-column:1/-1;font-size:11px!important;padding:0!important;margin:0 0 4px!important;border:0!important}
body.office-proof :is(#detail,#leadDetail).proof-job .vehicle-glass>label:has(#editVin),body.office-proof :is(#detail,#leadDetail).proof-job .calibration-research{grid-column:1/-1!important}
body.office-proof :is(#detail,#leadDetail).proof-job .work-section-vehicle label{max-width:none!important;min-width:0!important;font-size:10px!important;font-weight:400!important}
body.office-proof :is(#detail,#leadDetail).proof-job .work-section-vehicle input,body.office-proof :is(#detail,#leadDetail).proof-job .work-section-vehicle select{height:30px!important;min-height:30px!important;font-size:11px!important;background:#fff!important;border:1px solid #dce3e8!important;border-radius:3px!important}
body.office-proof :is(#detail,#leadDetail).proof-job .studio-catalogs{padding:0 12px 12px!important;gap:8px!important;align-content:start}
.proof-catalog-heading{flex:1 0 100%;margin:0 -12px 4px;padding:10px 12px;border-bottom:1px solid #edf0f2;font-size:12px;font-weight:600}
body.office-proof :is(#detail,#leadDetail).proof-job .studio-catalogs>button{flex:0 0 83px!important;width:83px!important;min-width:0!important;padding:0!important;border:1px solid #dce3e8!important;border-radius:4px!important;background:#fff!important;overflow:hidden}
.proof-catalog-tile{display:grid;place-items:center;height:42px;color:#fff;background:var(--catalog-color);font-size:20px}
.proof-catalog-label{display:block;font-size:9px;color:#6f7f8a;padding:7px 3px;line-height:1.3}
body.office-proof :is(#detail,#leadDetail).proof-job .studio-job-rail{grid-column:2!important;grid-row:1/span 12!important;width:auto!important;padding:12px!important;border-radius:5px!important;top:52px!important;font-size:11px}
body.office-proof :is(#detail,#leadDetail).proof-job .studio-job-rail>h3{font-size:12px!important;font-weight:600;margin:0 0 8px!important}
.proof-financial{padding:10px 0;border-bottom:1px solid #e9edf0}
.proof-financial h4,.proof-cost-title{font-size:11px;font-weight:600;margin:0 0 8px}
.proof-total-row{display:flex;justify-content:space-between;gap:8px;font-size:11px;margin:8px 0}
.proof-total-row strong{font-weight:400;white-space:nowrap}
.proof-total-row:nth-child(2),.proof-total-row:last-child{color:#267ba8;font-weight:600}
.proof-total-row:nth-child(2) strong,.proof-total-row:last-child strong{font-weight:600;font-size:13px}
.proof-total-note{font-size:9px;color:#8395a2;line-height:1.4;margin:10px 0 0}
.proof-cost-title{padding-top:12px;color:#7d909e;font-weight:400}
body.office-proof :is(#detail,#leadDetail).proof-job .studio-job-rail .document-totals{font-size:10px!important;color:#7d909e}
body.office-proof :is(#detail,#leadDetail).proof-job .studio-job-rail .document-totals strong{font-size:11px!important;font-weight:400!important}
body.office-proof :is(#detail,#leadDetail).proof-job .studio-job-rail [hidden]{display:none!important}
body.office-proof :is(#detail,#leadDetail).proof-job .studio-balance{display:none!important}
body.office-proof :is(#detail,#leadDetail).proof-job .studio-job-rail>button{background:transparent!important;border-bottom:1px solid #edf0f2!important;font-size:10px!important;border-radius:0!important;padding:6px 0!important}
body.office-proof :is(#detail,#leadDetail).proof-job .work-order-charges>h3{display:none!important}
body.office-proof :is(#detail,#leadDetail).proof-job .work-order-charges table th{font-size:9px!important;font-weight:400!important;color:#81919c!important;padding:8px 10px!important;letter-spacing:.2px}
body.office-proof :is(#detail,#leadDetail).proof-job .work-order-charges table td{padding:9px 10px!important;font-size:11px!important;border-color:#edf1f4!important}
body.office-proof :is(#detail,#leadDetail).proof-job .work-order-charges table input{font-size:11px!important;min-height:28px!important;height:28px!important}
body.office-proof :is(#detail,#leadDetail).proof-job .proof-quick-actions{position:relative;border:1px solid #dce2e7;border-radius:14px;margin:0!important;background:white}
.proof-quick-actions>summary{padding:5px 10px;cursor:pointer;font-size:10px;color:#617c8e;list-style:none}
body.office-proof :is(#detail,#leadDetail).proof-job .proof-quick-actions[open]>.actions{position:absolute!important;left:0;top:30px;z-index:60;width:min(440px,80vw)!important;max-width:none!important;display:flex!important;flex-wrap:wrap!important;gap:6px!important;border:1px solid #dce2e7!important;border-radius:5px!important;box-shadow:0 8px 24px #24384620!important;background:white!important;margin:0!important;padding:10px!important}
body.office-proof :is(#detail,#leadDetail).proof-job .proof-quick-actions:not([open])>.actions{display:none!important}
body.office-proof :is(#detail,#leadDetail).proof-job .proof-quick-actions[open]>.actions>button{min-height:32px!important;height:auto!important;border-radius:4px!important;flex:1 1 125px!important;white-space:normal!important}
body.office-proof .studio-widget>header{padding:9px 12px!important}
body.office-proof .studio-widget>header h3{font-size:12px!important;font-weight:600!important}
body.office-proof.dispatch-office.office-studio #dashboardPanel>.panelbar{display:none!important}
body.office-proof #dashboardPanel{border:0!important;box-shadow:none!important;background:transparent!important;padding:0!important;margin:0!important}
body.office-proof #dashboardContent,body.office-proof #dashboardContent>.company-overview{padding:0!important;margin:0!important}
body.office-proof .studio-widget-toolbar{margin:4px 0 12px!important;min-height:32px!important}
body.office-proof .studio-widget-body{max-height:240px!important}
body.office-proof .studio-widget-grid{align-items:start}
.proof-report-filters{position:relative;font-size:10px;flex:0 0 auto}
.proof-report-filters>summary{cursor:pointer;border:1px solid #dce3e8;background:#fff;border-radius:4px;padding:7px 9px;list-style:none}
.proof-report-filters>.health-heading{position:absolute!important;z-index:30;right:0;top:34px;width:min(350px,75vw);padding:14px!important;border:1px solid #dce3e8;border-radius:5px;box-shadow:0 8px 24px #24384620;background:#fff;display:flex!important;flex-direction:column;gap:10px}
.proof-report-filters p{font-size:10px!important;line-height:1.5}
body.office-proof #dashboardContent>.studio-smarty{position:fixed!important;bottom:18px;left:54px;z-index:45}
body.office-proof .studio-editor>header h2{font-size:12px!important}
body.office-proof .studio-editor>header{padding:12px 16px!important}
body.office-proof .studio-editor-body{padding:16px!important}
.proof-job-chart{display:flex;gap:20px;align-items:center;justify-content:center;min-height:200px;flex-wrap:wrap;padding:12px 0}
.proof-ring{width:135px;height:135px;border-radius:50%;position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;isolation:isolate;flex-shrink:0}
.proof-ring:before{content:'';position:absolute;inset:24px;background:white;border-radius:50%;z-index:-1}
.proof-ring strong{font-size:22px;font-weight:400;color:#536a79}
.proof-ring small{font-size:9px;color:#81919c}
.proof-chart-legend{font-size:10px;min-width:125px}
.proof-chart-legend>div{display:flex;gap:7px;align-items:center;margin:9px 0}
.proof-chart-legend i{width:7px;height:7px;border-radius:50%}
.proof-chart-legend strong{margin-left:auto;font-weight:400}
.proof-revenue-chart svg{width:100%;height:205px;display:block}
.proof-revenue-chart text{fill:#81919c;font:10px Arial,sans-serif}
}
@media screen and (min-width:901px){
body.office-proof.office-edge-tabs main{padding:52px 18px 18px!important}
body.office-proof .office-softphone:not(.phone-expanded){position:fixed!important;right:14px;bottom:12px;z-index:44;width:auto!important;max-width:360px!important;margin:0!important}
body.office-proof .office-softphone:not(.phone-expanded) .phone-heading,body.office-proof .office-softphone:not(.phone-expanded) [data-status]{display:none!important}
body.office-proof .office-softphone:not(.phone-expanded) .phone-toolbar{border:1px solid #dce2e7!important;border-radius:16px!important;box-shadow:0 2px 8px #31445718!important;padding:4px 8px!important}
body.office-proof.office-edge-tabs.dispatch-detail-open :is(#workPanel,#leadsPanel):not(.hidden) :is(#detail,#leadDetail).proof-job{inset:42px 0 0 42px!important;width:auto!important;max-width:none!important;max-height:calc(100dvh - 42px)!important;border-radius:0!important;padding:0!important}
body.office-proof :is(#detail,#leadDetail).proof-job .worktitle{flex-wrap:nowrap!important}
body.office-proof :is(#detail,#leadDetail).proof-job .work-section .work-order-charges table{display:table!important;width:100%!important;table-layout:fixed}
body.office-proof :is(#detail,#leadDetail).proof-job .work-section .work-order-charges thead{display:table-header-group!important;position:static!important;width:auto!important;height:auto!important;clip-path:none!important;overflow:visible!important;white-space:normal!important}
body.office-proof :is(#detail,#leadDetail).proof-job .work-section .work-order-charges tbody{display:table-row-group!important}
body.office-proof :is(#detail,#leadDetail).proof-job .work-section .work-order-charges tr{display:table-row!important;padding:0!important}
body.office-proof :is(#detail,#leadDetail).proof-job .work-section .work-order-charges th,body.office-proof :is(#detail,#leadDetail).proof-job .work-section .work-order-charges td{display:table-cell!important;width:auto!important;vertical-align:middle!important;border-bottom:1px solid #edf1f4!important}
body.office-proof :is(#detail,#leadDetail).proof-job .work-section .work-order-charges td:before{display:none!important}
body.office-proof :is(#detail,#leadDetail).proof-job .work-section .work-order-charges th:first-child{width:35%!important}
body.office-proof :is(#detail,#leadDetail).proof-job .work-section .charges-totals{display:flex!important;align-items:start;gap:16px;padding:8px 12px;box-sizing:border-box;margin:0!important}
body.office-proof :is(#detail,#leadDetail).proof-job .work-section .charges-totals>div{margin-left:auto;width:280px}
body.office-proof :is(#detail,#leadDetail).proof-job .work-section .charges-totals>label{font-size:10px!important;gap:8px}
body.office-proof :is(#detail,#leadDetail).proof-job .charges-actions{padding:6px 12px 10px;display:flex;gap:6px}
}
@media screen and (min-width:1000px){body.office-proof.office-phone-open.office-edge-tabs.dispatch-detail-open :is(#workPanel,#leadsPanel):not(.hidden) :is(#detail,#leadDetail){right:352px!important}}
@media screen and (max-width:1100px) and (min-width:901px){body.office-proof :is(#detail,#leadDetail).proof-job .work-order-rows{grid-template-columns:minmax(0,1fr) 190px!important}body.office-proof :is(#detail,#leadDetail).proof-job .vehicle-identification{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media screen and (max-width:900px){
body.office-proof :is(#detail,#leadDetail).proof-job .worktitle{padding:6px 10px!important;gap:6px!important}
body.office-proof :is(#detail,#leadDetail).proof-job .work-order-navigation{order:0!important;flex:1 1 100%!important}
body.office-proof :is(#detail,#leadDetail).proof-job .worktitle>div:has(>h3){order:1!important;flex:1 1 100%!important}
body.office-proof :is(#detail,#leadDetail).proof-job .worktitleactions{order:2!important;flex:1 1 100%!important;justify-content:flex-start!important}
body.office-proof :is(#detail,#leadDetail).proof-job .worktitleactions button,body.office-proof :is(#detail,#leadDetail).proof-job #saveWork{min-height:36px!important;height:36px!important}
body.office-proof :is(#detail,#leadDetail).proof-job .worktitleactions>.studio-smarty{left:14px!important;bottom:12px!important}
body.office-proof :is(#detail,#leadDetail).proof-job .work-order-rows{display:flex!important;padding:8px 0 50px!important;gap:10px!important}
body.office-proof :is(#detail,#leadDetail).proof-job>.proof-context-bar{flex-wrap:wrap;padding:5px 0}
body.office-proof :is(#detail,#leadDetail).proof-job .proof-context-bar>.dispatch-detail-tabs,body.office-proof :is(#detail,#leadDetail).proof-job .proof-context-bar>.work-order-masthead{flex:1 1 100%!important}
body.office-proof :is(#detail,#leadDetail).proof-job .work-order-masthead{display:flex!important;padding:6px 10px!important}
body.office-proof :is(#detail,#leadDetail).proof-job .work-order-brand{flex:1 1 100%!important}
body.office-proof :is(#detail,#leadDetail).proof-job .work-order-number{flex:1!important;margin:0!important;width:auto!important}
body.office-proof :is(#detail,#leadDetail).proof-job .work-order-number input{flex:1!important;min-width:0!important;width:100%!important}
body.office-proof :is(#detail,#leadDetail).proof-job .studio-job-tools{flex:0 0 auto!important}
body.office-proof :is(#detail,#leadDetail).proof-job .studio-card-body{padding:11px 12px!important}
body.office-proof :is(#detail,#leadDetail).proof-job .studio-card .studio-edit{min-height:36px!important;width:36px!important}
body.office-proof :is(#detail,#leadDetail).proof-job .work-section-vehicle{grid-template-columns:minmax(0,1fr)!important}
body.office-proof :is(#detail,#leadDetail).proof-job .vehicle-glass,body.office-proof :is(#detail,#leadDetail).proof-job .vehicle-identification{grid-column:1!important;grid-row:auto!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
body.office-proof :is(#detail,#leadDetail).proof-job .vehicle-identification>label:has(#editService),body.office-proof :is(#detail,#leadDetail).proof-job .vehicle-identification>label:has(#jobCalibration){grid-column:auto!important}
body.office-proof :is(#detail,#leadDetail).proof-job .vehicle-glass{order:1}
body.office-proof :is(#detail,#leadDetail).proof-job .vehicle-identification{order:2;margin-top:10px!important}
body.office-proof :is(#detail,#leadDetail).proof-job .work-section-vehicle input,body.office-proof :is(#detail,#leadDetail).proof-job .work-section-vehicle select{font-size:16px!important;min-height:44px!important;height:auto!important}
body.office-proof :is(#detail,#leadDetail).proof-job .studio-job-rail{width:100%!important;position:static!important;order:10}
body.office-proof :is(#detail,#leadDetail).proof-job .studio-catalogs>button{flex:1 1 75px!important}
body.office-proof :is(#detail,#leadDetail).proof-job .dispatch-detail-tabs button{min-height:36px!important}
body.office-proof :is(#detail,#leadDetail).proof-job .proof-quick-actions>summary{min-height:36px;box-sizing:border-box;padding:10px}
body.office-proof :is(#detail,#leadDetail).proof-job .proof-quick-actions[open]>.actions{position:fixed!important;left:12px;right:12px;top:160px;width:auto!important;max-width:calc(100vw - 24px)!important}
body.office-proof #dashboardContent>.studio-smarty{left:14px!important;bottom:12px!important}
}
@media print{.proof-quick-actions,.proof-print,.proof-catalog-heading,.proof-card-foot{display:none!important}}
/* Final proof spacing: preserve the invoice rail and all original controls. */
@media screen and (min-width:901px){
body.office-proof.office-studio .top{gap:12px!important;padding:0 12px!important}
body.office-proof .studio-top-nav{gap:16px!important}
body.office-proof .portal-header-brand>span,body.office-proof .top .user small{display:none!important}
body.office-proof .top>a{font-size:9px!important;margin:0 3px!important}
body.office-proof :is(#detail,#leadDetail).proof-job .work-order-navigation button{font-size:9px!important;padding:3px 5px!important}
body.office-proof :is(#detail,#leadDetail).proof-job .work-section-vehicle{padding-bottom:9px!important;gap:0 8px!important}
body.office-proof :is(#detail,#leadDetail).proof-job .work-section-vehicle>h2{padding:8px 12px!important;margin-bottom:8px!important}
body.office-proof :is(#detail,#leadDetail).proof-job .work-section-vehicle .work-order-row{padding:8px!important;gap:5px!important}
body.office-proof :is(#detail,#leadDetail).proof-job .work-section-vehicle input,body.office-proof :is(#detail,#leadDetail).proof-job .work-section-vehicle select{height:28px!important;min-height:28px!important}
body.office-proof :is(#detail,#leadDetail).proof-job .work-order-charges table td{padding:6px 10px!important}
body.office-proof :is(#detail,#leadDetail).proof-job .work-order-charges table input{border-color:transparent!important;background:transparent!important;border-radius:2px!important;box-shadow:none!important}
body.office-proof :is(#detail,#leadDetail).proof-job .work-order-charges table input:hover{border-color:#dce3e8!important;background:#f8fbfd!important}
body.office-proof :is(#detail,#leadDetail).proof-job .work-order-charges table input:focus{border-color:#2997d7!important;background:#fff!important;outline:2px solid #2997d733!important;outline-offset:1px}
}
/* Named desktop shortcuts stay compact and retain their original click targets. */
@media screen and (min-width:901px){
body.office-proof{--studio-rail:64px}
body.office-proof.office-edge-tabs .side .nav{height:44px!important;min-height:44px!important;padding:4px 2px!important;flex-direction:column!important;gap:2px!important}
body.office-proof.office-edge-tabs .side .nav::before{font-size:16px;line-height:18px}
body.office-proof.office-edge-tabs .side .nav::after{content:attr(data-studio-nav-label);display:block;font:8px/12px Arial,sans-serif;color:#607b8c;max-width:58px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.office-proof .side .nav[data-view=dashboard]::after{content:'Overview'}
body.office-proof .side .nav[data-view=work]::after{content:'Jobs'}
body.office-proof .side .nav[data-view=schedule]::after{content:'Schedule'}
body.office-proof .side .nav[data-view=collections]::after{content:'Billing'}
body.office-proof .side .nav[data-view=vendors]::after{content:'Vendors'}
body.office-proof .side .nav[data-stock-nav]::after{content:'Stock'}
body.office-proof .side .nav[data-prospects-nav]::after{content:'Find leads'}
body.office-proof.office-edge-tabs.dispatch-detail-open :is(#workPanel,#leadsPanel):not(.hidden) :is(#detail,#leadDetail).proof-job{left:64px!important}
body.office-proof :is(#detail,#leadDetail).proof-job .worktitleactions>.studio-smarty,body.office-proof #dashboardContent>.studio-smarty{left:76px!important}
}
@media screen{
body.office-proof .insurance-company-picker{margin-top:5px;font-size:11px}
body.office-proof .insurance-company-picker>summary{cursor:pointer;color:#2588bc;padding:6px 0}
body.office-proof .insurance-company-results{display:flex;flex-direction:column;max-height:160px;overflow-y:auto;border:1px solid #dce3e8;border-radius:4px;background:#fff}
body.office-proof .insurance-company-results>button{text-align:left!important;border:0!important;border-radius:0!important;background:#fff!important;color:#344b5b!important;min-height:30px!important;padding:7px 10px!important;font-size:11px!important;flex-shrink:0}
body.office-proof .insurance-company-results>button:hover,body.office-proof .insurance-company-results>button:focus-visible{background:#e8f4fb!important}
body.office-proof .insurance-help{font-size:10px;color:#758997;line-height:1.4}
body.office-proof .insurance-use-customer{align-self:flex-start;font-size:10px!important;min-height:26px!important;padding:4px 7px!important;margin-top:5px}
body.office-proof .insurance-form-status{grid-column:1/-1;padding:10px 12px;background:#fff8e7;border:1px solid #eee2bd;border-radius:4px;margin:0 0 6px}
body.office-proof .insurance-form-status[data-complete=true]{background:#edf7ef;border-color:#c9e3ce}
body.office-proof .insurance-form-status strong{font-size:11px}
body.office-proof .insurance-form-status p{font-size:11px;line-height:1.5;margin:5px 0}
body.office-proof .insurance-form-status small{font-size:10px;color:#758997}
body.office-proof .work-order-insurance datalist{display:none!important}
}
@media screen and (max-width:900px){body.office-proof .insurance-company-results>button{min-height:44px!important}}
@media print{.insurance-company-picker,.insurance-help,.insurance-use-customer,.insurance-form-status{display:none!important}}
@media screen{
body.office-proof :is(#detail,#leadDetail).proof-new{background:#e9ecef!important;padding:0!important}
body.office-proof :is(#detail,#leadDetail).proof-new .worktitle{display:flex!important;align-items:center;gap:18px;min-height:36px!important;padding:5px 14px!important;border-bottom:1px solid #dce3e8;background:#fff}
body.office-proof :is(#detail,#leadDetail).proof-new .worktitle h3{font-size:12px!important;margin:0!important}
body.office-proof :is(#detail,#leadDetail).proof-new .worktitleactions{display:flex!important;gap:6px;margin:0!important}
body.office-proof :is(#detail,#leadDetail).proof-new .worktitleactions button{min-height:28px!important;padding:4px 12px!important;font-size:11px!important;border-radius:14px!important}
body.office-proof :is(#detail,#leadDetail).proof-new #newFields{display:grid!important;grid-template-columns:minmax(0,1fr) 220px!important;gap:10px 12px!important;padding:12px 16px!important;background:transparent!important;align-items:start}
body.office-proof :is(#detail,#leadDetail).proof-new #newFields>.studio-job-cards,body.office-proof :is(#detail,#leadDetail).proof-new #newFields>.work-section{grid-column:1;min-width:0}
body.office-proof :is(#detail,#leadDetail).proof-new .studio-job-cards{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px}
body.office-proof :is(#detail,#leadDetail).proof-new .studio-new-card{display:flex!important;flex-direction:column;padding:0!important;min-width:0;background:#fff;border:1px solid #dce2e7;border-radius:5px}
body.office-proof :is(#detail,#leadDetail).proof-new .studio-card header{display:flex;align-items:center;justify-content:space-between;padding:9px 12px;border-bottom:1px solid #edf0f2}
body.office-proof :is(#detail,#leadDetail).proof-new .studio-card h3{margin:0;padding:0;border:0;font-size:12px!important}
body.office-proof :is(#detail,#leadDetail).proof-new .studio-edit{padding:0!important;min-height:24px!important;width:24px!important;border:0!important;background:none!important;color:#2588bc!important}
body.office-proof :is(#detail,#leadDetail).proof-new .studio-card-body{padding:12px!important;min-height:145px;overflow-wrap:anywhere}
body.office-proof :is(#detail,#leadDetail).proof-new .proof-name{display:block;font-size:12px;font-weight:400;margin-bottom:12px}
.proof-new-line{font-size:11px;line-height:1.5;color:#758997;margin:8px 0}
body.office-proof :is(#detail,#leadDetail).proof-new .work-section{padding:0!important;background:#fff;border:1px solid #dce2e7;border-radius:5px}
body.office-proof :is(#detail,#leadDetail).proof-new .work-section>h2{font-size:12px!important;font-weight:600;padding:10px 12px!important;margin:0!important;border-bottom:1px solid #edf0f2}
body.office-proof :is(#detail,#leadDetail).proof-new .proof-new-vehicle{display:grid;grid-template-columns:minmax(240px,.95fr) minmax(0,1.55fr);gap:10px;padding:0 12px 12px!important}
body.office-proof :is(#detail,#leadDetail).proof-new .proof-new-vehicle>h2{grid-column:1/-1;margin:0 -12px!important}
.proof-new-vin,.proof-new-search{min-width:0;background:#f4f6f7;padding:10px;border-radius:3px}
.proof-new-search{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.proof-new-search>h3{grid-column:1/-1;font-size:10px;font-weight:400;text-transform:uppercase;margin:0}
body.office-proof :is(#detail,#leadDetail).proof-new label{font-size:10px!important;font-weight:400!important;min-width:0;display:flex;flex-direction:column;gap:5px}
body.office-proof :is(#detail,#leadDetail).proof-new input,body.office-proof :is(#detail,#leadDetail).proof-new select{font-size:11px!important;min-height:30px!important;height:30px!important;box-sizing:border-box;min-width:0;max-width:100%;width:100%}
body.office-proof :is(#detail,#leadDetail).proof-new .proof-new-vin button{min-height:25px!important;font-size:10px!important;padding:3px 7px!important}
body.office-proof :is(#detail,#leadDetail).proof-new .proof-new-vin small{font-size:9px;line-height:1.4}
body.office-proof :is(#detail,#leadDetail).proof-new .studio-catalogs{padding:12px!important;gap:8px!important}
body.office-proof :is(#detail,#leadDetail).proof-new .studio-catalogs>button{width:83px;padding:0!important;border:1px solid #dce3e8!important;border-radius:4px!important;overflow:hidden;background:#fff!important}
body.office-proof :is(#detail,#leadDetail).proof-new .proof-new-catalogs>p{font-size:11px;margin:0 12px 8px}
body.office-proof :is(#detail,#leadDetail).proof-new .proof-new-catalogs>button{margin:0 12px 12px;font-size:10px!important;min-height:26px!important}
body.office-proof :is(#detail,#leadDetail).proof-new .proof-new-notes>label{padding:10px 12px}
body.office-proof :is(#detail,#leadDetail).proof-new textarea{width:100%;box-sizing:border-box;min-height:55px;font-size:12px}
body.office-proof :is(#detail,#leadDetail).proof-new .proof-new-rail{grid-column:2;grid-row:1/span 6;position:sticky;top:10px;background:#fff;padding:12px;border:1px solid #dce2e7;border-radius:5px;min-width:0}
body.office-proof :is(#detail,#leadDetail).proof-new .proof-new-rail>h3{font-size:12px;margin:0 0 16px}
body.office-proof :is(#detail,#leadDetail).proof-new .proof-new-rail>.proof-total-row{margin-top:18px;padding-top:10px;border-top:1px solid #edf0f2}
body.office-proof :is(#detail,#leadDetail).proof-new .studio-editor-body.proof-new-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body.office-proof :is(#detail,#leadDetail).proof-new .dealerwork,body.office-proof :is(#detail,#leadDetail).proof-new .proof-new-form>.studio-help{grid-column:1/-1}
body.office-proof :is(#detail,#leadDetail).proof-new .dealerwork{padding:0;margin:0;background:transparent;border:0}
body.office-proof :is(#detail,#leadDetail).proof-new .work-order-payment{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:12px}
body.office-proof :is(#detail,#leadDetail).proof-new .work-order-payment button{min-height:30px!important;font-size:11px!important}
body.office-proof :is(#detail,#leadDetail).proof-new .work-order-payment button[aria-pressed=true]{background:#e8f4fb;color:#2588bc;border-color:#a9cfdf}
body.office-proof :is(#detail,#leadDetail).proof-new .work-order-insurance{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body.office-proof :is(#detail,#leadDetail).proof-new .work-order-insurance[hidden]{display:none!important}
}
@media screen and (min-width:901px){body.office-proof.office-edge-tabs.dispatch-detail-open :is(#workPanel,#leadsPanel):not(.hidden) :is(#detail,#leadDetail).proof-new{inset:42px 0 0 64px!important;width:auto!important;max-width:none!important;max-height:calc(100dvh - 42px)!important;border-radius:0!important}}
@media screen and (max-width:1100px) and (min-width:901px){.proof-new-search{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media screen and (max-width:900px){
body.office-proof :is(#detail,#leadDetail).proof-new #newFields{grid-template-columns:minmax(0,1fr)!important;padding:8px!important}
body.office-proof :is(#detail,#leadDetail).proof-new .studio-job-cards{grid-template-columns:minmax(0,1fr)!important}
body.office-proof :is(#detail,#leadDetail).proof-new .proof-new-rail{grid-column:1;grid-row:auto;position:static}
body.office-proof :is(#detail,#leadDetail).proof-new .proof-new-vehicle{grid-template-columns:minmax(0,1fr)}
.proof-new-search{grid-template-columns:repeat(2,minmax(0,1fr))}
body.office-proof :is(#detail,#leadDetail).proof-new input,body.office-proof :is(#detail,#leadDetail).proof-new select,body.office-proof :is(#detail,#leadDetail).proof-new textarea{font-size:16px!important;min-height:44px!important;height:auto!important}
body.office-proof :is(#detail,#leadDetail).proof-new .worktitle{flex-wrap:wrap!important}
body.office-proof :is(#detail,#leadDetail).proof-new .studio-editor-body.proof-new-form,body.office-proof :is(#detail,#leadDetail).proof-new .work-order-insurance{grid-template-columns:minmax(0,1fr)}
body.office-proof :is(#detail,#leadDetail).proof-new .studio-card-body{min-height:0}
}
@media screen{
body.office-proof :is(#detail,#leadDetail).proof-new{margin:0!important;border:0!important}
body.office-proof :is(#detail,#leadDetail).proof-new .worktitle{margin:0!important;justify-content:flex-start!important}
body.office-proof :is(#detail,#leadDetail).proof-new .worktitle>div:has(h3){flex:1;text-align:left}
body.office-proof :is(#detail,#leadDetail).proof-new .proof-new-rail{grid-row:1/span 6!important}
body.office-proof :is(#detail,#leadDetail).proof-new .work-section>h2{background:#fff!important}
body.office-proof :is(#detail,#leadDetail).proof-new .proof-new-search{align-content:start;gap:8px}
body.office-proof :is(#detail,#leadDetail).proof-new .proof-new-search>h3{font-size:10px!important;margin:0 0 10px!important}
}
@media screen and (max-width:900px){body.office-proof :is(#detail,#leadDetail).proof-new .proof-new-rail{grid-row:auto!important}}

/* Compact internal insurance notes in both existing and new job editors. */
body.office-proof .work-order-insurance .insurance-notes-field{grid-column:1/-1;min-width:0}
body.office-proof .work-order-insurance .insurance-notes-field textarea{box-sizing:border-box;width:100%;min-height:52px!important;max-height:150px;resize:vertical;font-size:11px!important;line-height:1.4;padding:6px 8px!important}


.vin-history{font-size:10px;color:#77718a;grid-column:1/-1;line-height:1.35;margin:-3px 0 2px}.vin-history summary{cursor:pointer;font-size:10px;font-weight:400}.vin-history[open]{padding:5px 8px;border:1px solid #ded6ef;border-radius:7px;background:#faf8ff}.vin-history p{margin:5px 0}.vin-history small{display:block;font-size:10px;color:#77718a}.vin-history strong{font-size:11px;color:#504264}


/* portal-proof.css */
/* Shared dimensions from the approved compact Office proof. Print documents retain their own rules. */
@media screen{
body.portal-proof{--portal-border:#dce3e8;--portal-muted:#7b8e9b;--portal-blue:#2588bc}
body.portal-proof main>.panel{border:1px solid var(--portal-border)!important;border-radius:5px!important;box-shadow:0 1px 2px #24384608!important;min-width:0}
body.portal-proof.office-studio main>.panel:not(#dashboardPanel)>.panelbar{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;padding:8px 12px!important;min-height:40px!important;box-sizing:border-box!important;border-bottom:1px solid #edf0f2!important;background:#fff!important}
body.portal-proof main>.panel>.panelbar>div:has(h2){flex:1!important;min-width:0!important;text-align:left!important;margin:0!important}
body.portal-proof main>.panel>.panelbar h2{font-size:12px!important;font-weight:600!important;line-height:1.4!important;margin:0!important;letter-spacing:0!important}
body.portal-proof main>.panel>.panelbar p{font-size:10px!important;line-height:1.4!important;color:var(--portal-muted)!important;margin:3px 0 0!important}
body.portal-proof main>.panel>.panelbar .office-section-icon{display:none!important}
body.portal-proof main>.panel>.panelbar>button{flex:0 0 auto!important}
body.portal-proof main>.panel>.panelbar>div:not(:has(h2)){display:flex;gap:6px;flex-wrap:wrap}
body.portal-proof main>.panel button:not(:is(#detail,#leadDetail) button):not(.office-contact-actions button){font-family:Arial,sans-serif!important;font-size:11px!important;font-weight:400!important;line-height:1.35!important;padding:5px 9px!important;min-height:28px!important;border:1px solid var(--portal-border)!important;border-radius:4px!important;background:#fff;color:#466577;box-shadow:none!important;max-width:100%;cursor:pointer}
body.portal-proof main>.panel button.primary:not(:is(#detail,#leadDetail) button){background:#2997d7!important;border-color:#2997d7!important;color:#fff!important}
body.portal-proof main>.panel button:disabled{opacity:.5;cursor:default}
body.portal-proof main>.panel input:not([type=checkbox]):not([type=radio]):not(:is(#detail,#leadDetail) input),body.portal-proof main>.panel select:not(:is(#detail,#leadDetail) select){font:11px Arial,sans-serif!important;min-height:30px!important;padding:5px 8px!important;border:1px solid var(--portal-border)!important;border-radius:4px!important;box-sizing:border-box;max-width:100%;color:#465965;background:#fff}
body.portal-proof main>.panel textarea:not(:is(#detail,#leadDetail) textarea){font:12px/1.5 Arial,sans-serif!important;border:1px solid var(--portal-border)!important;border-radius:4px!important;padding:8px!important;box-sizing:border-box;max-width:100%}
body.portal-proof main>.panel label:not(:is(#detail,#leadDetail) label){font-size:10px!important;font-weight:400!important;color:#657d8d}
body.portal-proof main>.panel table:not(:is(#detail,#leadDetail) table){font-size:11px!important;border-collapse:collapse}
body.portal-proof main>.panel table:not(:is(#detail,#leadDetail) table) th{font-size:9px!important;font-weight:400!important;text-transform:uppercase;color:var(--portal-muted);background:#f7f9fa;padding:8px 10px!important;border-bottom:1px solid var(--portal-border)!important}
body.portal-proof main>.panel table:not(:is(#detail,#leadDetail) table) td{font-size:11px!important;padding:8px 10px!important;border-color:#edf0f2!important}
body.portal-proof main>.panel table:not(:is(#detail,#leadDetail) table) td small{font-size:10px!important;line-height:1.4}
body.portal-proof .portal-action-menu{margin-top:5px;font-size:10px;max-width:100%}
body.portal-proof .portal-action-menu>summary{display:inline-block;cursor:pointer;padding:4px 8px;color:var(--portal-blue);background:#f5f9fc;border:1px solid var(--portal-border);border-radius:4px;list-style:none}
body.portal-proof .portal-action-menu>summary:after{content:' ▾'}
body.portal-proof .portal-action-menu>.portal-record-actions{display:flex!important;flex-wrap:wrap!important;gap:5px!important;margin:5px 0!important;padding:6px!important;background:#f7f9fa;border:1px solid var(--portal-border);border-radius:4px}
body.portal-proof .portal-action-menu:not([open])>.portal-record-actions{display:none!important}
body.portal-proof .portal-record-actions a,body.portal-proof .portal-record-actions summary{font-size:10px!important;padding:4px 7px!important;min-height:24px!important;line-height:1.4!important;border-radius:3px!important}
body.portal-proof .portal-admin-group{margin:10px 12px;border:1px solid var(--portal-border);border-radius:5px;background:#fff}
body.portal-proof .portal-admin-group>summary{padding:11px 12px;cursor:pointer;color:#466577;font-size:12px;font-weight:600;background:#f8fafb}
body.portal-proof .portal-admin-group>section,body.portal-proof .portal-admin-group>div{margin:0!important;padding:12px!important;border:0!important;border-top:1px solid #edf0f2!important;border-radius:0!important}
body.portal-proof .portal-admin-group>*>h3{display:none}
body.portal-proof #officeAccounts [data-account-list]{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:6px;margin:10px 0}
body.portal-proof #officeAccounts [data-account-list] p{font-size:11px;margin:0;padding:8px;background:#f7f9fa;border-radius:3px}
body.portal-proof #officeAccounts form{padding:10px!important;gap:10px!important;border-radius:4px!important;background:#f7f9fa!important}
body.portal-proof #adminPanel .dupecard,body.portal-proof #adminPanel .dupewarning{border-radius:5px;margin:8px 0}
body.portal-proof #adminPanel .dupeorder{padding:7px 10px;font-size:11px}
body.portal-proof #adminPanel .dupeorders{max-height:320px;overflow:auto;scrollbar-gutter:stable}
body.portal-proof #adminPanel .dupewarning{padding:8px 10px;font-size:10px}
body.portal-proof .lead-layout{gap:10px!important;padding:10px}
body.portal-proof .leads-list{gap:6px!important;max-height:calc(100dvh - 185px);overflow-y:auto;scrollbar-gutter:stable;align-content:start}
body.portal-proof #leadsPanel .lead-card{padding:8px 10px!important;gap:3px!important;font-size:11px!important;border-radius:4px!important;min-height:0!important;line-height:1.35!important}
body.portal-proof #leadsPanel .lead-card small,body.portal-proof #leadsPanel .lead-card span{font-size:10px!important;font-weight:400!important;line-height:1.35!important}
body.portal-proof #leadsPanel .lead-detail{border-radius:5px;padding:12px;font-size:11px}
body.portal-proof #leadsPanel .lead-detail h3,body.portal-proof #leadsPanel .lead-detail h4{font-size:12px!important}
body.portal-proof #messagesPanel .inboxbar{padding:8px 10px!important;gap:6px!important}
body.portal-proof #messagesPanel .thread{padding:9px 10px!important;font-size:11px!important}
body.portal-proof #messagesPanel .thread small{font-size:10px!important}
body.portal-proof #messagesPanel #threads{height:clamp(280px,calc(100dvh - 240px),850px)!important}
body.portal-proof #messagesPanel .composer{padding:8px 10px!important}
body.portal-proof #emailPanel .email-toolbar{gap:6px;margin:10px 12px}
body.portal-proof #emailPanel .email-layout{gap:10px;margin:10px 12px;grid-template-columns:minmax(230px,300px) minmax(0,1fr)}
body.portal-proof #emailPanel .email-list,body.portal-proof #emailPanel .email-detail{border-radius:5px;font-size:11px}
body.portal-proof #emailPanel .email-item{padding:9px 10px!important;gap:4px!important;border:0!important;border-bottom:1px solid #edf0f2!important;border-radius:0!important;text-align:left}
body.portal-proof #emailPanel .email-list{max-height:calc(100dvh - 230px)}
body.portal-proof #emailPanel .email-paging{margin:10px 12px;font-size:10px}
body.portal-proof .portal-compose{width:min(600px,94vw)!important}
body.portal-proof .portal-compose #emailDetail{padding:14px;border:0!important;border-radius:0!important;font-size:11px}
body.portal-proof .portal-compose #emailDetail>h3{display:none}
body.portal-proof .portal-compose input,body.portal-proof .portal-compose textarea{font:12px Arial,sans-serif;padding:8px;border:1px solid var(--portal-border);border-radius:4px;box-sizing:border-box;min-height:32px}
body.portal-proof .portal-compose textarea{min-height:180px}
body.portal-proof .portal-compose label{font-size:10px;color:#657d8d}
body.portal-proof .portal-compose-placeholder{padding:12px;border:1px solid var(--portal-border);border-radius:5px;font-size:11px}
body.portal-proof .stock-dialog,body.portal-proof .prospects-dialog,body.portal-proof .coverage-dialog,body.portal-proof .customer-note-dialog{border-radius:5px!important;font-family:Arial,sans-serif;font-size:11px;padding:12px!important}
body.portal-proof .stock-dialog h2,body.portal-proof .prospects-dialog h2,body.portal-proof .coverage-dialog h2{font-size:14px!important;margin:0}
body.portal-proof .stock-dialog label,body.portal-proof .prospects-dialog label,body.portal-proof .coverage-dialog label{font-size:10px!important}
body.portal-proof .stock-dialog button,body.portal-proof .stock-dialog input,body.portal-proof .stock-dialog select,body.portal-proof .prospects-dialog button,body.portal-proof .prospects-dialog input,body.portal-proof .prospects-dialog select{font-size:11px;min-height:30px;padding:5px 8px;border-radius:4px}
body.portal-proof .stock-dialog th,body.portal-proof .stock-dialog td{font-size:11px;padding:8px}
body.portal-proof .stock-dialog .stock-tools{margin:10px 0;justify-content:flex-start}
body.portal-proof .stock-dialog .stock-tools>label{flex:1 1 160px}
body.portal-proof .stock-dialog .stock-internal{font-size:11px}
body.portal-proof .prospects-dialog article{padding:9px 2px;font-size:11px}
body.portal-proof .coverage-head,body.portal-proof .coverage-body{padding:12px!important}
body.portal-proof #officeMeetingsOverlay{border-radius:5px!important;inset:48px 14px 14px 76px!important}
body.portal-proof #officeMeetingsOverlay>button{font-size:11px!important;padding:5px 9px!important;margin:6px 10px!important;border-radius:4px!important}
body.office-meetings{font-family:Arial,sans-serif;font-size:12px;background:#e9ecef}
body.office-meetings main{padding:14px!important;max-width:none!important}
body.office-meetings main>header{padding:12px!important;margin:0 0 12px!important;border-radius:5px!important;gap:12px!important}
body.office-meetings main>header h1{font-size:16px!important;margin:3px 0!important;letter-spacing:0!important}
body.office-meetings main>header p{font-size:11px!important}
body.office-meetings .eyebrow{font-size:9px;letter-spacing:1px}
body.office-meetings .panel,body.office-meetings .meeting-card{padding:14px!important;border-radius:5px!important}
body.office-meetings h2,body.office-meetings .meeting-card h3{font-size:13px!important;margin-bottom:12px}
body.office-meetings button,body.office-meetings input,body.office-meetings #backOffice{font-size:11px!important;padding:7px 10px!important;min-height:30px!important;border-radius:4px!important}
body.office-meetings .fields{gap:12px}
body.office-meetings label{font-size:10px;font-weight:400}
}
@media screen and (min-width:901px){body.portal-proof.office-edge-tabs main{padding:52px 16px 16px!important}body.portal-proof #messagesPanel #messageSearch{font-size:11px!important;min-height:30px!important;padding:6px 8px!important}}
@media screen and (max-width:900px){
body.portal-proof main>.panel>.panelbar{flex-wrap:wrap!important}
body.portal-proof main>.panel input:not([type=checkbox]):not([type=radio]):not(:is(#detail,#leadDetail) input),body.portal-proof main>.panel select:not(:is(#detail,#leadDetail) select),body.portal-proof main>.panel textarea:not(:is(#detail,#leadDetail) textarea){font-size:16px!important;min-height:44px!important}
body.portal-proof main>.panel button:not(:is(#detail,#leadDetail) button):not(.office-contact-actions button){min-height:40px!important}
body.portal-proof #emailPanel .email-layout{grid-template-columns:minmax(0,1fr)}
body.portal-proof .leads-list{max-height:32dvh}
body.portal-proof #messagesPanel #threads{height:clamp(240px,calc(100dvh - 360px),500px)!important}
body.portal-proof .portal-compose input,body.portal-proof .portal-compose textarea{font-size:16px;min-height:44px}
body.portal-proof .stock-dialog input,body.portal-proof .stock-dialog select,body.portal-proof .prospects-dialog input,body.portal-proof .prospects-dialog select{font-size:16px;min-height:44px}
body.portal-proof .stock-dialog button,body.portal-proof .prospects-dialog button{min-height:40px}
body.portal-proof #officeMeetingsOverlay{inset:48px 6px 6px!important}
body.office-meetings input{font-size:16px!important;min-height:44px!important}
}

@media screen{
body.portal-proof .portal-lead-fields{margin:10px 0;border:1px solid #dce3e8;border-radius:5px;background:#fff}
body.portal-proof .portal-lead-fields>summary{font-size:11px;padding:10px;cursor:pointer;color:#2588bc;background:#f7f9fa}
body.portal-proof .portal-lead-fields>.editgrid{margin:0!important;padding:10px!important;border:0!important;border-radius:0!important}
body.portal-proof .portal-lead-fields textarea{width:100%;display:block}
body.portal-proof .warranty-dialog{font-family:Arial,sans-serif;font-size:11px;padding:14px;border-radius:5px}
body.portal-proof .warranty-dialog h2{font-size:14px;margin:0}
body.portal-proof .warranty-dialog input,body.portal-proof .warranty-dialog select,body.portal-proof .warranty-dialog textarea{font-size:11px;padding:6px 8px;min-height:30px;border-radius:4px}
body.portal-proof .warranty-dialog button,body.portal-proof .portal-compose button{font-size:11px;padding:5px 9px;min-height:28px;border:1px solid #dce3e8;border-radius:4px;cursor:pointer}
body.portal-proof .warranty-dialog label{font-size:10px}
body.portal-proof #dealerForm .editgrid{gap:10px!important}
}
@media screen and (min-width:901px){body.portal-proof #dealerForm .editgrid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media screen and (max-width:900px){body.portal-proof .warranty-dialog input,body.portal-proof .warranty-dialog select,body.portal-proof .warranty-dialog textarea{font-size:16px;min-height:44px}}

@media screen{body.portal-proof main>.panel button.lead-card,body.portal-proof main>.panel button.email-item,body.portal-proof main>.panel button.thread{height:auto!important;max-height:none!important}body.portal-proof #leadsPanel .lead-card>b{font-size:11px!important;line-height:1.4!important}}

@media screen{body.portal-proof #leadsPanel .leads-list{grid-auto-rows:max-content!important}body.portal-proof main>.panel button.lead-card:not(:is(#detail,#leadDetail) button):not(.office-contact-actions button){height:auto!important;min-height:max-content!important}}


/* A job opens its own conversation in place, using the approved compact dimensions. */
@media screen{
body.portal-proof :is(#detail,#leadDetail) .dispatch-message-intro{display:inline-block;margin:0 10px 8px 0}
body.portal-proof :is(#detail,#leadDetail) .dispatch-message-intro h3{font:600 12px Arial,sans-serif;margin:0}
body.portal-proof :is(#detail,#leadDetail) .job-chat-host{width:100%;min-width:0}
body.portal-proof :is(#detail,#leadDetail) .job-embedded-conversation{display:flex!important;flex-direction:column;min-height:0;width:100%;border:1px solid #dce3e8;border-radius:5px;background:#fff;overflow:hidden}
body.portal-proof :is(#detail,#leadDetail) .job-embedded-conversation [hidden]{display:none!important}
body.portal-proof :is(#detail,#leadDetail) .job-embedded-conversation .chathead{padding:7px 10px;gap:8px;border-bottom:1px solid #edf0f2;min-width:0}
body.portal-proof :is(#detail,#leadDetail) .job-embedded-conversation .chatidentity{min-width:0;flex:1}
body.portal-proof :is(#detail,#leadDetail) .job-embedded-conversation .chatidentity b{font-size:12px}
body.portal-proof :is(#detail,#leadDetail) .job-embedded-conversation .chatidentity span{font-size:10px;overflow-wrap:anywhere}
body.portal-proof :is(#detail,#leadDetail) .job-embedded-conversation .chatbody{height:clamp(190px,38dvh,420px);min-height:0;flex:none;overflow-y:scroll;overscroll-behavior:contain;scrollbar-gutter:stable;padding:10px;background:#f7f9fa}
body.portal-proof :is(#detail,#leadDetail) .job-embedded-conversation .bubble{max-width:78%;padding:7px 10px;margin-bottom:8px;font:12px/1.45 Arial,sans-serif;border-radius:5px;overflow-wrap:anywhere}
body.portal-proof :is(#detail,#leadDetail) .job-embedded-conversation .bubble time{font-size:9px;margin-top:4px}
body.portal-proof :is(#detail,#leadDetail) .job-embedded-conversation .message-delete{font-size:9px;min-height:20px;padding:2px 5px}
body.portal-proof :is(#detail,#leadDetail) .job-embedded-conversation .composer{padding:8px 10px;gap:6px;min-width:0}
body.portal-proof :is(#detail,#leadDetail) .job-embedded-conversation .composer textarea{width:100%;font:12px/1.4 Arial,sans-serif;min-height:54px;padding:7px 9px;resize:vertical;border:1px solid #dce3e8;border-radius:4px;box-sizing:border-box}
body.portal-proof :is(#detail,#leadDetail) .job-embedded-conversation button{font-size:11px;min-height:28px;padding:4px 8px;border-radius:4px}
body.portal-proof :is(#detail,#leadDetail) .job-embedded-conversation .message-tools{margin:0;font-size:10px}
body.portal-proof :is(#detail,#leadDetail) .job-embedded-conversation .message-tools summary{padding:4px;cursor:pointer}
body.portal-proof :is(#detail,#leadDetail) .job-embedded-conversation .customer-text-control{margin:0!important;padding:4px 6px!important;border-radius:4px!important;font-size:10px!important}
body.portal-proof :is(#detail,#leadDetail) .job-embedded-conversation .photo-actions{margin:0;gap:5px}
body.portal-proof :is(#detail,#leadDetail) .job-embedded-conversation .composer>small{font-size:9px;line-height:1.4}
body.portal-proof :is(#detail,#leadDetail) .job-chat-empty{font-size:12px;color:#657d8d;padding:12px}
}
@media screen and (max-width:900px){
body.portal-proof :is(#detail,#leadDetail) .job-embedded-conversation .chathead{flex-wrap:wrap}
body.portal-proof :is(#detail,#leadDetail) .job-embedded-conversation .chatidentity{flex-basis:65%}
body.portal-proof :is(#detail,#leadDetail) .job-embedded-conversation .chatbody{height:32dvh;min-height:150px}
body.portal-proof :is(#detail,#leadDetail) .job-embedded-conversation .bubble{max-width:90%;font-size:13px}
body.portal-proof :is(#detail,#leadDetail) .job-embedded-conversation .composer textarea{font-size:16px;min-height:64px}
body.portal-proof :is(#detail,#leadDetail) .job-embedded-conversation button{min-height:36px}
}

@media screen{body.portal-proof :is(#detail,#leadDetail) .job-embedded-conversation .inbox-back{display:inline-flex!important;align-items:center}}

@media screen{body.portal-proof :is(#detail,#leadDetail) .job-embedded-conversation .chathead-actions{display:flex;flex-direction:row;align-items:center;gap:6px}body.portal-proof :is(#detail,#leadDetail) .job-embedded-conversation .bubble{width:fit-content}body.portal-proof :is(#detail,#leadDetail) .job-embedded-conversation .chathead button{border:1px solid #dce3e8;background:#fff;color:#466577;box-shadow:none}}
@media screen and (max-width:900px){body.portal-proof :is(#detail,#leadDetail) .job-embedded-conversation .chathead{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start}body.portal-proof :is(#detail,#leadDetail) .job-embedded-conversation .chathead-actions{grid-column:1/-1;justify-content:flex-end}body.portal-proof :is(#detail,#leadDetail) .job-embedded-conversation .chathead-actions .badge{display:none}body.portal-proof :is(#detail,#leadDetail) .job-embedded-conversation .chathead-actions button{min-height:28px;font-size:10px}}


/* Compact job overview: summaries first, charge table primary, details on demand. */
@media screen{
body.office-proof :is(#detail,#leadDetail).proof-compact-details .studio-job-cards{display:flex!important;flex-direction:column!important;gap:0!important;border:1px solid #dce3e8;border-radius:4px;background:#fff;overflow:hidden}
body.office-proof :is(#detail,#leadDetail).proof-compact-details .studio-card{display:grid!important;grid-template-columns:65px minmax(0,1fr) 26px!important;align-items:center!important;gap:7px!important;min-height:34px!important;padding:5px 9px!important;border:0!important;border-bottom:1px solid #edf0f2!important;border-radius:0!important;box-shadow:none!important}
body.office-proof :is(#detail,#leadDetail).proof-compact-details .studio-card:last-child{border-bottom:0!important}
body.office-proof :is(#detail,#leadDetail).proof-compact-details .studio-card>header{display:contents!important}
body.office-proof :is(#detail,#leadDetail).proof-compact-details .studio-card>header h3{grid-column:1;grid-row:1;font-size:10px!important;color:#7b8e9b;font-weight:400!important}
body.office-proof :is(#detail,#leadDetail).proof-compact-details .studio-card>header .studio-edit{grid-column:3;grid-row:1;min-height:24px!important;width:24px!important;font-size:14px!important}
body.office-proof :is(#detail,#leadDetail).proof-compact-details .studio-card-body{grid-column:2;grid-row:1;display:flex!important;align-items:center;flex-wrap:wrap;gap:4px 12px!important;min-height:0!important;padding:0!important;font-size:11px!important}
body.office-proof :is(#detail,#leadDetail).proof-compact-details .studio-card-body>.proof-name{display:inline!important;font-size:11px!important;line-height:1.4!important;margin:0!important;font-weight:600!important}
body.office-proof :is(#detail,#leadDetail).proof-compact-details .proof-name[role=button]{color:#2588bc;cursor:pointer}
body.office-proof :is(#detail,#leadDetail).proof-compact-details .proof-inline-value{font-size:11px;color:#526b7d;line-height:1.4;overflow-wrap:anywhere}
body.office-proof :is(#detail,#leadDetail).proof-compact-details .proof-card-foot{display:none!important}
body.office-proof :is(#detail,#leadDetail).proof-compact-details .proof-vehicle-summary{grid-column:1;display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;padding:6px 9px;border:1px solid #dce3e8;border-radius:4px;background:#fff;min-width:0}
body.office-proof :is(#detail,#leadDetail).proof-compact-details .proof-row-label{font-size:10px;color:#7b8e9b;flex:0 0 65px}
body.office-proof :is(#detail,#leadDetail).proof-compact-details .proof-vehicle-value{font-size:11px;flex:1;overflow-wrap:anywhere}
body.office-proof :is(#detail,#leadDetail).proof-compact-details .proof-vehicle-summary button{border:0;background:transparent;color:#2588bc;font-size:10px;min-height:24px;padding:3px 6px}
body.office-proof :is(#detail,#leadDetail).proof-compact-details .proof-vehicle-editor{width:min(700px,94vw)}
body.office-proof :is(#detail,#leadDetail).proof-compact-details .proof-fold{grid-column:1;border:1px solid #dce3e8;border-radius:4px;background:#fff;min-width:0}
body.office-proof :is(#detail,#leadDetail).proof-compact-details .proof-fold>summary{font-size:11px;padding:8px 10px;cursor:pointer;color:#526b7d}
body.office-proof :is(#detail,#leadDetail).proof-compact-details .proof-fold>.work-section{border:0!important;border-top:1px solid #edf0f2!important;border-radius:0!important}
body.office-proof :is(#detail,#leadDetail).proof-compact-details .proof-fold>.work-section>h2{display:none!important}
body.office-proof :is(#detail,#leadDetail).proof-compact-details .insurance-tax-assistant{margin:0!important;border:0!important;border-top:1px solid #edf0f2!important}
body.office-proof :is(#detail,#leadDetail).proof-compact-details .insurance-tax-assistant legend{display:none}
body.office-proof :is(#detail,#leadDetail).proof-compact-details .studio-catalogs{padding:5px 8px!important;gap:5px!important}
body.office-proof :is(#detail,#leadDetail).proof-compact-details .proof-catalog-heading{display:none!important}
body.office-proof :is(#detail,#leadDetail).proof-compact-details .studio-catalogs>button{display:flex!important;align-items:center;flex:0 1 auto!important;width:auto!important}
body.office-proof :is(#detail,#leadDetail).proof-compact-details .proof-catalog-tile{height:26px;width:25px;font-size:13px}
body.office-proof :is(#detail,#leadDetail).proof-compact-details .proof-catalog-label{padding:4px 6px;font-size:10px}
body.office-proof :is(#detail,#leadDetail).proof-compact-details .work-section-charges>h2{padding:7px 10px!important}
body.office-proof :is(#detail,#leadDetail).proof-compact-details .charges-standard-note{font-size:10px}
body.office-proof :is(#detail,#leadDetail).proof-compact-details .work-order-rows{gap:7px 10px!important}
body.office-proof :is(#detail,#leadDetail).proof-compact-details #payerCollections{grid-column:1;margin:0!important;border-radius:4px!important}
}
@media screen and (max-width:900px){
body.office-proof :is(#detail,#leadDetail).proof-compact-details .studio-card{grid-template-columns:54px minmax(0,1fr) 30px!important;padding:6px 8px!important}
body.office-proof :is(#detail,#leadDetail).proof-compact-details .studio-card>header .studio-edit{min-height:30px!important;width:30px!important}
body.office-proof :is(#detail,#leadDetail).proof-compact-details .studio-card-body{gap:3px 8px!important}
body.office-proof :is(#detail,#leadDetail).proof-compact-details .studio-job-cards{order:1}
body.office-proof :is(#detail,#leadDetail).proof-compact-details .proof-vehicle-summary{order:2}
body.office-proof :is(#detail,#leadDetail).proof-compact-details .studio-catalogs{order:3}
body.office-proof :is(#detail,#leadDetail).proof-compact-details .work-section-charges{order:4}
body.office-proof :is(#detail,#leadDetail).proof-compact-details .studio-job-rail{order:5}
body.office-proof :is(#detail,#leadDetail).proof-compact-details .work-order-rows>.proof-fold{order:6}
body.office-proof :is(#detail,#leadDetail).proof-compact-details #payerCollections{order:7}
}

@media screen{body.office-proof :is(#detail,#leadDetail).proof-compact-details .charges-totals>div{display:none!important}body.office-proof :is(#detail,#leadDetail).proof-compact-details .work-order-charges>p.muted{font-size:10px!important;line-height:1.4!important;margin:6px 10px!important}body.office-proof :is(#detail,#leadDetail).proof-compact-details .charges-totals{padding:6px 10px!important}body.office-proof :is(#detail,#leadDetail).proof-compact-details .work-order-charges td button{font-size:10px;min-height:26px;padding:4px 7px;border:1px solid #dce3e8;background:#fff;color:#526b7d}body.office-proof :is(#detail,#leadDetail).proof-compact-details .charges-actions button{font-size:11px;min-height:28px;padding:5px 8px;border:1px solid #dce3e8;background:#fff;color:#526b7d}}

@media print{.proof-vehicle-summary,.proof-fold>summary,.proof-fold:has(>.insurance-tax-assistant){display:none!important}.proof-fold{border:0!important}}

@media screen and (max-width:900px){
body.office-proof :is(#detail,#leadDetail).proof-compact-details .studio-catalogs{flex-wrap:nowrap!important;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin}
body.office-proof :is(#detail,#leadDetail).proof-compact-details .studio-catalogs>button{flex:0 0 auto!important}
body.office-proof :is(#detail,#leadDetail).proof-compact-details .charges-scroll{overflow-x:auto!important;scrollbar-gutter:stable;overscroll-behavior-x:contain}
body.office-proof :is(#detail,#leadDetail).proof-compact-details .work-order-charges table{display:table!important;min-width:620px!important;width:100%!important;table-layout:fixed}
body.office-proof :is(#detail,#leadDetail).proof-compact-details[data-payment-method=insurance] .work-order-charges table{min-width:850px!important}
body.office-proof :is(#detail,#leadDetail).proof-compact-details .work-order-charges thead{display:table-header-group!important;position:static!important;width:auto!important;height:auto!important;clip-path:none!important;overflow:visible!important;white-space:normal!important}
body.office-proof :is(#detail,#leadDetail).proof-compact-details .work-order-charges tbody{display:table-row-group!important}
body.office-proof :is(#detail,#leadDetail).proof-compact-details .work-order-charges tr{display:table-row!important;padding:0!important}
body.office-proof :is(#detail,#leadDetail).proof-compact-details .work-order-charges th,body.office-proof :is(#detail,#leadDetail).proof-compact-details .work-order-charges td{display:table-cell!important;width:auto!important;padding:6px!important;vertical-align:middle}
body.office-proof :is(#detail,#leadDetail).proof-compact-details .work-order-charges th:first-child{width:170px!important}
body.office-proof :is(#detail,#leadDetail).proof-compact-details .work-order-charges td:before{display:none!important}
}

/* One job draft, one Save. Fitment is grouped beside the vehicle. */
@media screen{
body.office-proof :is(#detail,#leadDetail).page-save-job [data-page-secondary-save]{display:none!important}
body.office-proof :is(#detail,#leadDetail).page-save-job .page-save-status{margin:0;padding:4px 12px;background:#f5f9fc;color:#39718d;font-size:11px}
body.office-proof :is(#detail,#leadDetail).page-save-job .page-save-status:empty{display:none}
body.office-proof :is(#detail,#leadDetail).page-save-job .proof-vehicle-summary{padding:8px 10px;gap:6px 10px}
body.office-proof :is(#detail,#leadDetail).page-save-job .page-fitment-grid{display:grid;grid-template-columns:minmax(180px,1.4fr) minmax(150px,1fr) minmax(130px,.8fr);gap:8px;flex:1 1 100%;width:100%;margin-top:3px}
body.office-proof :is(#detail,#leadDetail).page-save-job .page-fitment-field{display:flex;flex-direction:column;gap:4px;min-width:0;font:10px Arial,sans-serif;color:#7b8e9b}
body.office-proof :is(#detail,#leadDetail).page-save-job .page-fitment-field input,body.office-proof :is(#detail,#leadDetail).page-save-job .page-fitment-field select{width:100%!important;box-sizing:border-box;min-width:0;min-height:30px!important;height:30px!important;font:11px Arial,sans-serif!important;padding:5px 7px!important;border:1px solid #dce3e8!important;border-radius:4px!important;background:#fff}
body.office-proof :is(#detail,#leadDetail).page-save-job .page-catalog-picker{grid-column:1;border:1px solid #dce3e8;border-radius:4px;background:#fff;min-width:0}
body.office-proof :is(#detail,#leadDetail).page-save-job .page-catalog-picker>summary{padding:7px 10px;font-size:11px;color:#2588bc;cursor:pointer}
body.office-proof :is(#detail,#leadDetail).page-save-job .page-catalog-picker .studio-catalogs{border:0!important}
body.office-proof :is(#detail,#leadDetail).page-save-job .studio-card-body{gap:4px 10px!important}
body.office-proof :is(#detail,#leadDetail).page-save-job .studio-card:nth-child(3) .proof-inline-value{white-space:normal}
body.office-proof :is(#detail,#leadDetail).page-save-job .studio-editor footer .studio-help{font-size:10px}
}
@media screen and (max-width:900px){
body.office-proof :is(#detail,#leadDetail).page-save-job .page-fitment-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
body.office-proof :is(#detail,#leadDetail).page-save-job .page-fitment-field:first-child{grid-column:1/-1}
body.office-proof :is(#detail,#leadDetail).page-save-job .page-fitment-field input,body.office-proof :is(#detail,#leadDetail).page-save-job .page-fitment-field select{font-size:16px!important;min-height:40px!important;height:40px!important}
body.office-proof :is(#detail,#leadDetail).page-save-job .page-catalog-picker{order:3}
}
@media print{.page-save-status,.page-catalog-picker{display:none!important}}



@media screen{body.office-proof.dispatch-office :is(#workPanel,#leadsPanel) :is(#detail,#leadDetail).page-save-job>.page-save-status{display:block!important}body.office-proof.dispatch-office :is(#workPanel,#leadsPanel) :is(#detail,#leadDetail).page-save-job>.page-save-status:empty{display:none!important}}

/* Keep conversation history visible above the reply box in every workspace. */
@media screen{
body.portal-proof #messagesPanel .chatbody,body.portal-proof #leadDetail .lead-embedded-conversation .chatbody{height:clamp(190px,38dvh,420px);max-height:420px!important;min-height:0;flex:0 0 auto;overflow-y:scroll;overscroll-behavior:contain;scrollbar-gutter:stable}
body.portal-proof #messagesPanel .composer{padding:8px 10px;gap:6px}
body.portal-proof #messagesPanel .message-tools>summary{min-height:28px;padding:4px 0;font-size:11px}
body.portal-proof #messagesPanel .composer textarea{min-height:64px;padding:8px}
body.portal-proof #messagesPanel .photo-actions button{min-height:36px;padding:6px}
body.portal-proof #messagesPanel .photo-composer>small{display:none}
}
@media screen and (max-width:900px){body.portal-proof #messagesPanel .chatbody,body.portal-proof #leadDetail .lead-embedded-conversation .chatbody{height:32dvh;min-height:150px}}


/* Record identity watermark: visual only; never covers header controls. */
body.office-proof #detail.proof-job .worktitle{position:relative!important;isolation:isolate}
body.office-proof #detail.proof-job .worktitle>.record-type-watermark{position:absolute;right:18px;top:50%;transform:translateY(-50%);z-index:-1;pointer-events:none;user-select:none;font:800 clamp(25px,3vw,42px)/1 Arial,sans-serif;letter-spacing:.09em;color:currentColor;opacity:.13;white-space:nowrap}
@media(max-width:900px){body.office-proof #detail.proof-job .worktitle>.record-type-watermark{right:10px;font-size:25px;opacity:.12}}
@media print{.record-type-watermark{display:none!important}}

/* Compact lead phone and explicitly sourced location. */
body.office-proof #detail[data-lead-id] .lead-phone-summary{display:grid!important;grid-template-columns:max-content minmax(0,1fr);align-items:center;gap:3px 7px}
body.office-proof #detail[data-lead-id] .lead-phone-summary>.proof-label{grid-column:1/-1}
body.office-proof #detail[data-lead-id] .lead-phone-summary>.proof-inline-value{grid-column:1;width:auto!important}
body.office-proof #detail .lead-phone-place,body.dispatch-office #leadsList .lead-phone-place{font:9px/1.3 Arial,sans-serif;color:var(--night-muted,#718391);letter-spacing:0;text-transform:none;white-space:normal}
body.office-proof #detail[data-lead-id] .studio-editor label.lead-phone-field{grid-column:1/-1}
body.office-proof #detail .lead-phone-edit-line{display:flex;align-items:center;flex-wrap:wrap;gap:6px 9px;min-width:0}
body.office-proof #detail[data-lead-id] .studio-editor .lead-phone-edit-line>#editPhone{box-sizing:border-box;width:17ch!important;max-width:100%;min-width:0;flex:0 0 17ch}
body.office-proof #detail .lead-phone-edit-line>.lead-phone-place{flex:1;min-width:75px}
body.dispatch-office #leadsList .work-list-contact>.lead-phone-place{display:inline;flex:0 1 auto;min-width:0;max-width:100%}

/* Lead list: a fitted phone box beside location, with actions below. */
body.dispatch-office #leadsList .dispatch-sheet .dispatch-table{width:1980px;min-width:1980px}
body.dispatch-office #leadsList .dispatch-sheet .dispatch-table :is(th,td):first-child{width:240px}
body.dispatch-office #leadsList .lead-contact-identity{display:grid;gap:4px;min-width:0}
body.dispatch-office #leadsList .lead-contact-primary{display:flex;align-items:center;gap:8px;min-width:0}
body.dispatch-office #leadsList .dispatch-sheet .lead-phone-box{display:inline-flex;align-items:center;justify-content:center;flex:0 0 108px;width:108px;min-height:27px;height:27px;padding:3px 5px;font-size:11px;line-height:1.2;border:1px solid #dce5eb;border-radius:5px;background:var(--night-panel,#fff);color:var(--night-text,#36586c);font-variant-numeric:tabular-nums;white-space:nowrap}
body.dispatch-office #leadsList .lead-contact-primary>.lead-phone-place{flex:1;min-width:0;margin:0;font-size:10px;line-height:1.25;color:var(--night-muted,#647b8a);max-height:2.6em;overflow:hidden}
body.dispatch-office #leadsList .lead-contact-identity>.work-list-contact{gap:0;margin:0}
body.dispatch-office #leadsList .lead-person-name{min-height:20px!important;padding:0!important}
body.dispatch-office #leadsList .lead-contact-identity .work-list-received{font-size:10px;line-height:1.3}

body.dispatch-office #leadsList .dispatch-sheet .dispatch-table .lead-person-name{border:0!important;background:transparent!important;box-shadow:none!important;min-height:22px!important;height:auto!important;padding:0!important;font-size:12px!important;text-align:left}
body.dispatch-office #leadsList .dispatch-sheet .dispatch-table .lead-phone-box{width:108px!important;min-height:28px!important;height:28px!important;padding:3px 5px!important}

/* Never squeeze the phone-location label into a vertical strip. */
body.office-proof #detail[data-lead-id] .lead-phone-summary{display:flex!important;flex-wrap:wrap;align-items:center;gap:4px 8px}
body.office-proof #detail[data-lead-id] .lead-phone-summary>.proof-label{flex:0 0 100%}
body.office-proof #detail[data-lead-id] .lead-phone-summary>.proof-inline-value{flex:0 0 auto;width:auto!important;max-width:100%}
body.office-proof #detail[data-lead-id] .lead-phone-summary>.lead-phone-place{flex:1 0 105px;min-width:105px!important;max-width:100%;white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis;word-break:normal!important;overflow-wrap:normal!important}

/* lead-preview.css */
/* Layout plumbing only; tables, chips, cards and typography use the Jobs styles. */
@media screen {
body #leadsPanel .lead-layout{display:block!important;min-width:0}
body #leadsPanel #leadsList{display:block;max-height:none;margin:0;overflow:visible}
body #leadsPanel:not(.lead-record-open) #leadDetail{display:none!important}
body #leadsPanel.lead-record-open #leadsList,body #leadsPanel.lead-record-open>.filters,body #leadsPanel.lead-record-open>.dispatch-toolbar{display:none!important}
body #leadsPanel #leadDetail{margin:0;width:100%;box-sizing:border-box;min-width:0}
body.dispatch-office #leadsPanel.lead-record-open:not(.hidden) #leadDetail{display:block!important;position:fixed!important;inset:42px 0 0 64px!important;width:auto!important;max-width:none!important;max-height:calc(100dvh - 42px)!important;overflow:auto!important;z-index:45;border:0!important;border-radius:0!important;padding:0!important}
body #leadsPanel .lead-preview-header .worktitleactions{position:static;padding:0;background:transparent}
body #leadsPanel #leadDetail .lead-preview-identity>p{font-size:10px;color:#7b8e9b;margin:0}
body #leadsPanel #leadDetail .lead-list-back{margin:5px 12px;min-height:25px;font-size:10px}
body #leadDetail [hidden]{display:none!important}
body.dispatch-office #leadsPanel #leadDetail>.record-autosave{display:flex!important}
body.dispatch-office #leadsPanel #leadDetail>#leadResult:not(:empty){display:block!important;padding:4px 12px;margin:0;background:#f4f9fc;font-size:11px}
body #leadDetail .lead-preview-layout{display:grid}
body #leadDetail .lead-preview-summary{grid-row:1/span 10!important}
body #leadDetail .lead-preview-summary>label{display:flex;flex-direction:column;gap:4px;font-size:10px}
body #leadDetail .lead-preview-estimate{display:flex;justify-content:space-between;gap:8px}
body #leadDetail .lead-preview-checks{font-size:10px}
body #leadDetail .lead-preview-checks dt{color:#7b8e9b;margin-top:8px}
body #leadDetail .lead-preview-checks dd{margin:3px 0 8px;overflow-wrap:anywhere}
body #leadDetail .lead-preview-notes label{display:block;padding:10px}
body #leadDetail .lead-preview-notes textarea{width:100%;box-sizing:border-box}
body #leadDetail .lead-preview-extras>button{display:block;margin:8px;max-width:calc(100% - 16px)}
body #leadDetail .lead-preview-editor .editgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px}
body #leadDetail .lead-preview-editor label{display:flex;flex-direction:column;gap:5px;min-width:0}
body #leadDetail .lead-preview-editor input{width:100%;box-sizing:border-box}
body #leadDetail .lead-chat-host{margin:0;border:0;padding:0}
body #leadDetail #saveLead,body #leadDetail #convertLead{background:#2997d7!important;border-color:#2997d7!important;color:#fff!important}
body #leadsPanel #leadListResult{display:block;padding:3px 0 5px;color:#7b8e9b;font-size:12px}
}
@media screen and (max-width:900px){
body.dispatch-office #leadsPanel.lead-record-open:not(.hidden) #leadDetail{inset:46px 0 0!important;width:100%!important;max-height:calc(100dvh - 46px)!important;padding:8px!important}
body #leadDetail .lead-preview-summary{grid-row:auto!important;grid-column:1/-1}
body #leadDetail .lead-preview-editor input{font-size:16px;min-height:40px}
}

/* Compact lead queue: identity, arrival time and VIN stay together. */
@media screen {
body.dispatch-office #leadsList .dispatch-sheet .lead-compact-table{table-layout:fixed;width:900px;min-width:900px;font-size:12px}
body.dispatch-office #leadsList .lead-compact-table :is(th,td){padding:6px 8px;font-size:12px;height:auto;white-space:normal;overflow-wrap:anywhere;text-overflow:clip;overflow:visible}
body.dispatch-office #leadsList .lead-compact-table :is(th,td):nth-child(1){width:165px;position:static}
body.dispatch-office #leadsList .lead-compact-table th:nth-child(1){position:sticky;left:auto}
body.dispatch-office #leadsList .lead-compact-table :is(th,td):nth-child(2){width:95px}
body.dispatch-office #leadsList .lead-compact-table :is(th,td):nth-child(3){width:215px}
body.dispatch-office #leadsList .lead-compact-table :is(th,td):nth-child(4){width:145px}
body.dispatch-office #leadsList .lead-compact-table :is(th,td):nth-child(5){width:120px}
body.dispatch-office #leadsList .lead-compact-table :is(th,td):nth-child(6){width:160px}
body.dispatch-office #leadsList .lead-local-clock{display:block;font-size:11px;line-height:1.4;font-variant-numeric:tabular-nums;color:#526b7d}
body.dispatch-office #leadsList .lead-compact-table .lead-identity{white-space:normal;display:grid;gap:3px}
body.dispatch-office #leadsList .lead-compact-table .lead-open{width:fit-content;max-width:100%;min-height:24px;padding:2px 0;font-weight:600;white-space:normal;overflow-wrap:anywhere}
body.dispatch-office #leadsList .lead-compact-table .lead-contact-line{display:flex;align-items:center;flex-wrap:wrap;gap:3px 6px;font-size:10px;line-height:1.4;color:#526b7d}
body.dispatch-office #leadsList .lead-contact-line .office-contact-actions{display:inline-flex;gap:3px;flex:none}
body.dispatch-office #leadsList .lead-contact-line .office-contact-actions button{width:20px!important;height:20px!important;min-height:20px!important;padding:2px!important;background:transparent;border:0;color:#2588bc}
body.dispatch-office #leadsList .lead-contact-line button[data-message-state=sent]{color:#16834b}
body.dispatch-office #leadsList .lead-contact-line button[data-message-state=received]{color:#ad6500}
body.dispatch-office #leadsList .lead-contact-line button[data-message-state=failed]{color:#bd2739}
body.dispatch-office #leadsList .lead-contact-line button[data-message-state=empty]{color:#526b7d}
body.dispatch-office #leadsList .lead-contact-line button[data-lead-delete]{color:#7f8790}
body.dispatch-office #leadsList .lead-contact-line button[data-lead-delete]:hover{color:#bd2739}
#leadListActionStatus{display:block;margin:4px 0;font-size:12px}
#leadListActionStatus:empty{display:none!important}
body.dispatch-office #leadsList .lead-received{font-size:10px;white-space:normal}
body.dispatch-office #leadsList :is(.lead-vehicle,.lead-payment-status){display:grid;gap:3px;align-content:center;justify-items:start;min-width:0;white-space:normal}
body.dispatch-office #leadsList .lead-vin{font:10px/1.4 Arial,sans-serif;letter-spacing:.2px;white-space:normal;color:#526b7d;margin:0}
body.dispatch-office #leadsList .lead-row.selected td{background:#e4f2fc;border-bottom-color:#c3def0}
body.dispatch-office #leadsList .lead-row.selected td:first-child{box-shadow:inset 3px 0 #2588bc}
body.dispatch-office #leadsList .lead-compact-table :is(.dispatch-cell-text,.dispatch-payment-chip,.dispatch-badge){max-width:100%;white-space:normal;overflow-wrap:anywhere;overflow:visible;text-overflow:clip}

}
.lead-message-dialog{padding:0;border:1px solid #cbdce7;border-radius:8px;box-shadow:0 14px 60px #102b4944;width:min(780px,calc(100vw - 24px));max-width:calc(100vw - 24px);height:min(780px,90dvh);max-height:90dvh;box-sizing:border-box;background:#fff;color:#34434e;font:12px Arial,sans-serif}
.lead-message-dialog[open]{display:flex;flex-direction:column}
.lead-message-dialog::backdrop{background:#102b4966}
.lead-message-heading{display:flex;gap:8px;align-items:flex-start;padding:12px;border-bottom:1px solid #dce3e8;background:#f2f7fb;flex:none}
.lead-message-heading>div{min-width:0;flex:1;overflow-wrap:anywhere}
.lead-message-heading h2{font-size:14px;margin:0 0 5px;color:#174963}
.lead-message-heading p,.lead-message-heading small{display:block;margin:3px 0;font-size:11px;line-height:1.4;color:#526b7d}
.lead-message-heading button{min-height:32px;padding:5px 8px;font:12px Arial,sans-serif;border:1px solid #cbdce7;border-radius:4px;background:#fff;color:#2588bc}
.lead-message-body{min-height:0;min-width:0;display:flex;flex:1;overflow:hidden}
.lead-message-dialog #conversation{position:static!important;width:100%!important;min-width:0;min-height:0;height:100%;display:flex!important;flex-direction:column;border:0;box-sizing:border-box;background:#fff}
.lead-message-dialog #conversation [hidden]{display:none!important}
.lead-message-dialog #conversation .chathead{display:none!important}
.lead-message-dialog .chatidentity{min-width:0;flex:1;overflow-wrap:anywhere}
.lead-message-dialog .chatbody{order:0;flex:1;min-height:120px;max-height:none!important;overflow-y:auto;padding:12px;background:#f7f9fc;overscroll-behavior:contain}
.lead-message-dialog .composer{order:1;flex:none;position:static!important;padding:10px 12px;border-top:1px solid #dce3e8;min-width:0;max-height:48dvh;overflow:auto}
.lead-message-dialog .composer textarea{box-sizing:border-box;width:100%;font-size:14px;line-height:1.4;min-height:70px;padding:8px;border:1px solid #cbdce7;border-radius:4px}
.lead-message-dialog .composer>small{display:block;font-size:10px;color:#7b8e9b}
.lead-message-dialog .message-tools>summary{font-size:11px;cursor:pointer;margin:5px 0}
.lead-message-dialog .bubble{width:fit-content;max-width:88%;overflow-wrap:anywhere}
.lead-message-dialog .office-contact-actions{display:inline-flex;gap:3px}
@media(max-width:700px){.lead-message-dialog{width:calc(100vw - 12px);max-width:calc(100vw - 12px);height:94dvh;max-height:94dvh}.lead-message-heading{padding:9px;flex-wrap:wrap}.lead-message-heading>div{flex-basis:100%}.lead-message-heading h2{font-size:13px}.lead-message-dialog .composer textarea{font-size:16px}.lead-message-dialog .chathead{padding:7px 10px}.lead-message-dialog .chatidentity{flex-basis:100%}}

.message-attribution{display:block;font-size:10px;line-height:1.4;margin-top:5px;opacity:.85;overflow-wrap:anywhere}



/* Sending stays available while templates/photos scroll inside the lead popup. */
.lead-message-dialog{min-width:0!important;overflow:hidden}
.lead-message-dialog #conversation{max-width:100%!important;overflow:hidden;flex:1;min-height:0!important}
.lead-message-dialog .lead-message-body{width:100%;max-width:100%;box-sizing:border-box}
.lead-message-dialog #conversation .chatbody{min-height:40px;flex:1 1 80px;box-sizing:border-box}
.lead-message-dialog #conversation .composer{flex:0 1 auto;min-height:0;max-height:45dvh;overflow:auto;box-sizing:border-box;width:100%;grid-template-columns:minmax(0,1fr);overscroll-behavior:contain}
.lead-message-dialog :is(.composer,.message-tools,.messagetemplate,.message-schedule,.photo-composer,.photo-previews,.coord-message-work){min-width:0;max-width:100%;box-sizing:border-box;overflow-wrap:anywhere}
.lead-message-dialog :is(select,input,textarea){min-width:0!important;max-width:100%!important;box-sizing:border-box}
.lead-message-dialog .lead-message-heading{min-width:0;max-height:28dvh;overflow:auto;box-sizing:border-box}
.lead-message-dialog .lead-message-sendbar{order:2;flex:none;display:grid;gap:4px;padding:8px 12px;border-top:1px solid var(--night-line,#dce3e8);background:var(--night-panel,#fff);box-sizing:border-box;width:100%;min-width:0}
.lead-message-dialog .lead-message-sendbar #sendCustom{justify-self:end;min-height:44px;min-width:120px;max-width:100%;padding:8px 16px}
.lead-message-dialog .lead-message-sendbar #customerMessageStatus{margin:0;font-size:11px;line-height:1.4;overflow-wrap:anywhere}
.lead-message-dialog .lead-message-sendbar #customerMessageStatus:empty{display:none}
@media(max-width:700px){.lead-message-dialog .lead-message-sendbar #sendCustom{width:100%;justify-self:stretch}.lead-message-dialog .lead-message-heading{max-height:24dvh}}


/* The lead queue fits the viewport; each record occupies at most two lines. */
@media screen {
body.dispatch-office #leadsPanel:not(.lead-record-open)>.panelbar{min-height:30px!important;height:auto!important;margin:0!important;padding:3px 10px!important}
body.dispatch-office #leadsPanel>.panelbar h2{font-size:14px!important;margin:0!important}
body.dispatch-office #leadsPanel>.panelbar button{min-height:26px!important;padding:3px 8px!important;font-size:11px!important}
body.dispatch-office #leadsPanel>.dispatch-toolbar{margin:0!important;padding:3px 10px!important;gap:4px!important;min-height:0!important;flex-wrap:wrap!important}
body.dispatch-office #leadsPanel .dispatch-view-tabs button{min-height:26px!important;padding:3px 8px!important;font-size:11px!important}
body.dispatch-office #leadsPanel #leadListResult{display:inline!important;padding:0!important;font-size:10px!important}
body.dispatch-office #leadsPanel>.filters{margin:0!important;padding:3px 10px 5px!important;gap:6px!important}
body.dispatch-office #leadsPanel>.filters :is(input,select){min-height:30px!important;height:30px!important;padding:3px 8px!important;font-size:12px!important}
body.dispatch-office #leadsPanel .lead-layout{padding:0!important}
body.dispatch-office #leadsPanel #leadsList{padding:0 10px 8px!important;max-height:none!important;overflow:visible!important}
body.dispatch-office #leadsList .dispatch-sheet{max-height:none!important;min-height:0!important;height:auto!important;overflow:auto!important}
body.dispatch-office #leadsList .dispatch-sheet .lead-queue-table{width:100%!important;min-width:760px!important;table-layout:fixed!important}
body.dispatch-office #leadsList .lead-queue-table :is(th,td){font-size:11px!important;line-height:16px!important;padding:3px 7px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;height:42px!important}
body.dispatch-office #leadsList .lead-queue-table th{height:26px!important;position:static!important}
body.dispatch-office #leadsList .lead-queue-table :is(th,td):first-child{width:28%!important;position:static!important}
body.dispatch-office #leadsList .lead-queue-table :is(th,td):nth-child(2){width:23%!important}
body.dispatch-office #leadsList .lead-queue-table :is(th,td):nth-child(3){width:15%!important}
body.dispatch-office #leadsList .lead-queue-table :is(th,td):nth-child(4){width:12%!important}
body.dispatch-office #leadsList .lead-queue-table :is(th,td):nth-child(5){width:22%!important}
body.dispatch-office #leadsList .lead-queue-table :is(th,td):nth-child(6){width:36px!important;position:sticky!important;right:0!important;background:var(--night-panel,#fff)!important;z-index:2}
body.dispatch-office #leadsList .lead-queue-table .lead-contact-identity{display:block!important;margin:0!important;padding:0!important}
body.dispatch-office #leadsList .lead-contact-primary{display:flex!important;align-items:center!important;gap:5px!important;min-height:20px!important;min-width:0!important}
body.dispatch-office #leadsList .lead-phone-box{display:block!important;flex:0 1 auto!important;width:auto!important;max-width:100%!important;min-height:20px!important;height:20px!important;padding:0!important;border:0!important;background:transparent!important;font-size:11px!important;line-height:20px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
body.dispatch-office #leadsList .office-contact-actions{display:inline-flex!important;flex:none!important;gap:2px!important}
body.dispatch-office #leadsList .office-contact-actions button{width:20px!important;height:20px!important;min-height:20px!important;padding:2px!important}
body.dispatch-office #leadsList .lead-contact-secondary{display:flex!important;align-items:center!important;gap:5px!important;height:16px!important;overflow:hidden!important;font-size:10px!important}
body.dispatch-office #leadsList .lead-phone-place{display:block!important;min-width:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;font-size:10px!important;line-height:16px!important}
body.dispatch-office #leadsList .lead-phone-place br{display:none!important}
body.dispatch-office #leadsList .lead-queue-table :is(.dispatch-cell-text,.dispatch-payment-chip,.dispatch-badge){display:block!important;max-width:100%!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;font-size:11px!important}
body.dispatch-office #leadsList .lead-queue-table .lead-note-preview{display:block!important;width:100%!important;max-width:none!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;text-align:left!important;line-height:16px!important}
body.dispatch-office #leadsList .lead-queue-table .lead-note-preview>span,body.dispatch-office #leadsList .lead-queue-table .lead-note-preview>small{display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;margin:0!important;font-size:10px!important;line-height:16px!important}
body.dispatch-office #leadsList .lead-row-open{display:block!important;width:26px!important;min-height:28px!important;padding:0!important;font-size:22px!important;line-height:28px!important;background:transparent!important;border:0!important;color:inherit!important}
}
@media screen and (max-width:700px){
body.dispatch-office #leadsPanel>.filters :is(input,select){font-size:16px!important;min-width:0!important}
body.dispatch-office #leadsList .office-contact-actions button{width:28px!important;height:30px!important;min-height:30px!important}
body.dispatch-office #leadsList .lead-contact-primary{min-height:30px!important}
body.dispatch-office #leadsList .lead-row-open{min-height:44px!important}
}

/* record-autosave.css */
body.office-proof #workPanel #detail>.record-autosave,body.portal-proof #leadDetail>.record-autosave{display:flex!important;gap:8px;align-items:center;padding:4px 10px;background:#f4f9fc;border-bottom:1px solid #e3ebf1;color:#467087;font-size:10px;line-height:1.5;flex-wrap:wrap}
.record-autosave button,.record-autosave-resume button{font-size:11px;padding:5px 8px;border:1px solid #d9e4ec;border-radius:4px;background:white;color:#267fac}
.record-autosave-resume{margin:6px 10px;padding:6px;background:#f1f8fc;border:1px solid #d9e4ec;border-radius:4px}
@media print{.record-autosave,.record-autosave-resume{display:none!important}}
/* Recovery is a separate choice, never an invisible save blocker. */
body.office-proof.portal-proof #workPanel>.layout>#detail.compact-job.proof-job .record-autosave.has-recovery{display:flex!important;align-items:center;gap:4px!important;max-width:175px!important;flex-wrap:nowrap!important}
body.office-proof.portal-proof #workPanel>.layout>#detail.compact-job.proof-job .record-autosave.has-recovery>span{display:block;min-width:0;max-width:84px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.office-proof.portal-proof #workPanel>.layout>#detail.compact-job.proof-job .record-autosave.has-recovery>button{display:inline-flex!important;width:auto!important;min-width:0!important;min-height:24px!important;height:24px!important;font:10px/16px system-ui,sans-serif!important;padding:2px 5px!important;margin:0!important;white-space:nowrap!important;flex:none!important}
.record-recovery-dialog{width:min(660px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:85dvh;box-sizing:border-box;overflow:auto;padding:16px;border:1px solid var(--night-line,#c7d7e4);border-radius:8px;background:var(--night-panel,#fff);color:var(--night-text,#18334b);font:12px/1.5 system-ui,sans-serif;box-shadow:0 12px 40px #173a5433}
.record-recovery-dialog::backdrop{background:#152c4366}
.record-recovery-dialog h3{font-size:14px;margin:0 0 8px}
.record-recovery-dialog dl{max-height:42dvh;overflow:auto;overflow-wrap:anywhere}
.record-recovery-dialog dt{font-weight:600;margin-top:8px}
.record-recovery-dialog dd{margin:0;color:var(--night-muted,#60758a);white-space:pre-wrap}
.record-recovery-dialog button,.record-save-issue button{font:11px/18px system-ui,sans-serif;min-height:30px;padding:4px 8px;margin:4px 6px 0 0;border:1px solid var(--night-line,#c7d7e4);border-radius:4px;background:var(--night-panel,#fff);color:var(--night-link,#1769a9);cursor:pointer}
.record-save-issue{position:fixed;left:12px;bottom:58px;z-index:10000;width:min(560px,calc(100vw - 24px));max-width:calc(100vw - 24px);box-sizing:border-box;padding:12px;border:1px solid var(--night-danger,#bd4b4b);border-radius:6px;background:var(--night-panel,#fff);color:var(--night-text,#18334b);box-shadow:0 4px 20px #173a5433;font:12px/1.5 system-ui,sans-serif}
.record-save-issue p{margin:0 0 5px;overflow-wrap:anywhere}
@media(max-width:760px){body.office-proof.portal-proof #workPanel>.layout>#detail.compact-job.proof-job .record-autosave.has-recovery>span{display:none!important}}
@media print{.record-save-issue,.record-recovery-dialog{display:none!important}}
body.office-proof.portal-proof dialog.record-recovery-dialog{padding:14px!important;width:min(660px,calc(100vw - 24px))!important;max-width:calc(100vw - 24px)!important;max-height:85dvh!important;overflow:auto!important;border:1px solid var(--night-line,#c7d7e4)!important;border-radius:8px!important;background:var(--night-panel,#fff)!important;color:var(--night-text,#18334b)!important}
body.office-proof.portal-proof dialog.record-recovery-dialog h3{font-size:14px!important;margin:0 0 8px!important}
body.office-proof.portal-proof dialog.record-recovery-dialog>p{margin:8px 0!important}

/* A reviewed recovery needs an explicit save even while ordinary fields use autosave. */
body.office-proof.portal-proof #workPanel>.layout>#detail.compact-job.proof-job .record-autosave.has-reviewed-draft{flex:0 1 auto!important;width:auto!important;max-width:none!important;min-width:0!important;height:auto!important;overflow:visible!important;white-space:normal!important;}
body.office-proof.portal-proof #workPanel>.layout>#detail.compact-job.proof-job .record-autosave.has-reviewed-draft>span{display:none!important;}
body.office-proof.portal-proof #workPanel>.layout>#detail.compact-job.proof-job .record-autosave.has-reviewed-draft>button:not([hidden]){display:inline-flex!important;max-width:none!important;font-size:11px!important;min-height:28px!important;white-space:nowrap!important;}

/* form-layout.css */
/* Approved proof form contract: final screen styles shared by jobs, leads and tools. */
@media screen{
body.office-proof{--form-border:#d5e1e9;--form-ink:#344b5b;--form-blue:#2997d7}
body.office-proof dialog:not(.phone-device-dialog){border:1px solid var(--form-border);border-radius:5px!important;color:var(--form-ink);box-sizing:border-box;max-width:calc(100vw - 24px);max-height:calc(100dvh - 32px);padding:0;font:12px Arial,sans-serif}
body.office-proof dialog::backdrop{background:#273b4c80}
body.office-proof .studio-editor,body.office-proof .coverage-dialog{width:min(660px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;background:white}
body.office-proof .studio-editor>header,body.office-proof .coverage-head{position:sticky;top:0;z-index:3;display:flex;align-items:center;gap:8px;background:white;padding:8px 12px!important;min-height:38px;border-bottom:1px solid #e2eaf0}
body.office-proof .studio-editor>header h2,body.office-proof .coverage-head h2{font-size:12px!important;font-weight:600;margin:0;flex:1}
body.office-proof .studio-editor>header button,body.office-proof .coverage-head button{border:1px solid var(--form-border);background:white;color:#287eac;padding:4px 8px!important;min-height:26px;font:11px Arial,sans-serif;border-radius:3px}
body.office-proof .studio-editor-body,body.office-proof .coverage-body{padding:12px!important;min-width:0}
body.office-proof .studio-editor>footer{position:sticky;bottom:0;z-index:3;background:#f8fbfd;border-top:1px solid #e2eaf0;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px!important}
body.office-proof .studio-editor>footer button{background:var(--form-blue)!important;border:1px solid var(--form-blue)!important;color:white!important;padding:5px 12px!important;min-height:28px;font-size:11px;border-radius:3px}
body.office-proof .studio-help{font:10px/1.4 Arial,sans-serif!important;margin:0!important;color:#718696}
body.office-proof .studio-editor label,body.office-proof .coverage-dialog label{font:10px/1.35 Arial,sans-serif!important;color:#647c8e;min-width:0;display:flex;flex-direction:column;gap:4px}
body.office-proof .studio-editor input:not([type=checkbox]):not([type=radio]),body.office-proof .studio-editor select,body.office-proof .studio-editor textarea,body.office-proof .coverage-dialog input:not([type=checkbox]),body.office-proof .coverage-dialog select,body.office-proof .coverage-dialog textarea{box-sizing:border-box;width:100%!important;min-width:0;max-width:100%;height:30px!important;min-height:30px!important;margin:0!important;padding:5px 7px!important;border:1px solid var(--form-border)!important;border-radius:3px!important;background:white!important;color:var(--form-ink);font:12px Arial,sans-serif!important;box-shadow:none!important}
body.office-proof .studio-editor textarea,body.office-proof .coverage-dialog textarea{height:52px!important;min-height:52px!important;resize:vertical}
body.office-proof .studio-editor input:focus-visible,body.office-proof .studio-editor select:focus-visible,body.office-proof .studio-editor textarea:focus-visible,body.office-proof .coverage-dialog input:focus-visible{outline:2px solid #2997d755;outline-offset:1px}
body.office-proof .studio-editor .work-order-row,body.office-proof .studio-editor .proof-new-form,body.office-proof .coverage-grid{gap:8px 12px!important;margin:0!important;padding:0!important;background:white!important;border:0!important}
body.office-proof .studio-editor .work-order-insurance{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:10px!important}
body.office-proof .studio-editor .work-order-insurance[hidden],body.office-proof .office-form-group[hidden],body.office-proof .coverage-dialog [hidden]{display:none!important}
.office-form-group{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:8px 10px;min-width:0;margin:0;padding:10px;border:1px solid #e0e8ed;border-radius:4px}
.office-form-group legend{padding:0 4px;font-size:11px;font-weight:600;color:#435f72}
body.office-proof .work-order-insurance>.office-form-group:first-of-type{grid-column:1;grid-row:2/span 2}
body.office-proof .work-order-insurance>.office-form-group:last-of-type{grid-column:2}
body.office-proof .work-order-insurance .office-form-group .insurance-notes-field{grid-column:1/-1}
body.office-proof .work-order-insurance .insurance-help{display:none}
body.office-proof .work-order-insurance .insurance-company-picker{position:relative;font-size:10px;margin:0}
body.office-proof .work-order-insurance .insurance-company-results{position:absolute;top:100%;left:0;width:260px;max-width:70vw;max-height:180px;overflow:auto;z-index:4;background:white;border:1px solid var(--form-border);box-shadow:0 3px 10px #24384622}
body.office-proof .insurance-use-customer{align-self:flex-start;font-size:9px!important;padding:1px 4px!important;min-height:20px!important;margin:0!important;background:#f3f9fc;border:1px solid var(--form-border)}
body.office-proof .insurance-form-status{grid-column:1/-1;margin:0!important;padding:6px 8px!important;line-height:1.35}
body.office-proof .insurance-form-status strong,body.office-proof .insurance-form-status p{font-size:10px!important;margin:0 0 2px!important;line-height:1.35!important}
body.office-proof .insurance-form-status small{font-size:9px!important}
body.office-proof .studio-editor .document-customer,body.office-proof .studio-editor .document-address{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
body.office-proof .studio-editor label:has(#editName),body.office-proof .studio-editor label:has(#leadName),body.office-proof .studio-editor label:has(#newName),body.office-proof .studio-editor label:has(#serviceAddress-address),body.office-proof .studio-editor label:has(#newAddress){grid-column:1/-1}
body.office-proof .office-form-tabs{display:flex;gap:4px;border-bottom:1px solid #e1e9ef;padding:0 0 8px;margin-bottom:10px}
body.office-proof .office-form-tabs button{font:11px Arial,sans-serif;padding:6px 9px;margin:0;border:1px solid #dce7ee;background:white;border-radius:3px;color:#507083}
body.office-proof .office-form-tabs button[aria-pressed=true]{background:#e6f4fc;color:#207fb1;border-color:#b9dbee}
body.office-proof .office-coverage-editor #staffInsurance>.coverage-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
body.office-proof .office-coverage-editor .coverage-grid>.office-form-group{grid-column:1/-1}
body.office-proof .office-coverage-editor #thirdPartyHandlerFields{grid-column:1/-1;width:100%}
body.office-proof .office-coverage-editor .coverage-check{flex-direction:row;align-items:center;grid-column:1/-1}
body.office-proof .office-coverage-editor .coverage-head .office-form-primary{background:var(--form-blue);color:white;border-color:var(--form-blue)}
body.office-proof .coverage-body>p{font-size:11px;line-height:1.4;margin:4px 0 8px}
body.office-proof .coverage-body p[role=status]:empty{display:none}
body.office-proof .coverage-dialog .slot-row{padding:8px;margin:6px 0;border-radius:4px}
body.office-proof :is(#detail,#leadDetail).office-form-layout .studio-job-cards{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;border:0!important;border-radius:0!important;background:transparent!important;overflow:visible!important}
body.office-proof :is(#detail,#leadDetail).office-form-layout .studio-card{display:flex!important;flex-direction:column;gap:0!important;padding:0!important;border:1px solid #dce2e7!important;border-radius:4px!important;align-items:stretch!important;min-height:0!important}
body.office-proof :is(#detail,#leadDetail).office-form-layout .studio-card>header{display:flex!important;justify-content:space-between;align-items:center;border-bottom:1px solid #e8eef2;padding:7px 10px!important;min-height:30px!important}
body.office-proof :is(#detail,#leadDetail).office-form-layout .studio-card>header h3{font-size:11px!important;font-weight:600!important;color:#435d70}
body.office-proof :is(#detail,#leadDetail).office-form-layout .studio-card>header .studio-edit{min-height:22px!important;height:22px!important;width:24px!important}
body.office-proof :is(#detail,#leadDetail).office-form-layout .studio-card-body{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;align-items:start;gap:7px 10px!important;padding:9px 10px!important;min-height:0!important;flex:1}
body.office-proof :is(#detail,#leadDetail).office-form-layout .studio-card-body>.proof-value:first-child,body.office-proof :is(#detail,#leadDetail).office-form-layout .studio-card-body>.proof-value:last-child{grid-column:1/-1}
body.office-proof :is(#detail,#leadDetail).office-form-layout .proof-value .proof-label{display:block;font-size:9px;line-height:1.2;margin:0 0 3px;color:#8093a1;text-transform:uppercase;letter-spacing:.15px}
body.office-proof :is(#detail,#leadDetail).office-form-layout .proof-value .proof-name,body.office-proof :is(#detail,#leadDetail).office-form-layout .proof-value .proof-inline-value{display:block!important;margin:0!important;line-height:1.4!important;font-size:11px!important;font-weight:400!important;overflow-wrap:anywhere}
body.office-proof :is(#detail,#leadDetail).office-form-layout .proof-value .proof-name{font-size:12px!important;color:#287ca8}
body.office-proof :is(#detail,#leadDetail).proof-new.office-form-layout .studio-card-body{display:block!important}
body.office-proof :is(#detail,#leadDetail).proof-new.office-form-layout .studio-card-body p{font-size:11px;margin:4px 0;line-height:1.4}
}
@media screen and (max-width:900px){
body.office-proof :is(#detail,#leadDetail).office-form-layout .studio-job-cards{grid-template-columns:minmax(0,1fr)!important;gap:6px!important}
body.office-proof :is(#detail,#leadDetail).office-form-layout .studio-card-body{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media screen and (max-width:600px){
body.office-proof .studio-editor,body.office-proof .coverage-dialog{width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}
body.office-proof .studio-editor .work-order-insurance{grid-template-columns:minmax(0,1fr)!important}
body.office-proof .work-order-insurance>.office-form-group{grid-column:1!important;grid-row:auto!important}
body.office-proof .studio-editor input:not([type=checkbox]):not([type=radio]),body.office-proof .studio-editor select,body.office-proof .studio-editor textarea,body.office-proof .coverage-dialog input:not([type=checkbox]),body.office-proof .coverage-dialog select,body.office-proof .coverage-dialog textarea{font-size:16px!important;min-height:40px!important;height:40px!important}
body.office-proof .studio-editor textarea,body.office-proof .coverage-dialog textarea{min-height:64px!important}
body.office-proof .studio-editor>header button,body.office-proof .studio-editor>footer button,body.office-proof .office-form-tabs button{min-height:36px!important}
}

@media screen{body.office-proof .studio-editor{width:min(500px,calc(100vw - 24px))}body.office-proof .studio-editor.office-insurance-editor,body.office-proof .studio-editor.proof-vehicle-editor{width:min(680px,calc(100vw - 24px))}}

/* Match the proof's outlined fields even inside the older job-specific rules. */
@media screen{
body.office-proof :is(#detail,#leadDetail).office-form-layout .studio-editor :is(input:not([type=checkbox]):not([type=radio]),select,textarea){box-sizing:border-box;width:100%!important;min-width:0;max-width:100%;height:30px!important;min-height:30px!important;margin:0!important;padding:5px 7px!important;border:1px solid #d5e1e9!important;border-radius:3px!important;background:white!important;font:12px Arial,sans-serif!important;box-shadow:none!important}
body.office-proof :is(#detail,#leadDetail).office-form-layout .studio-editor textarea{height:52px!important;min-height:52px!important}
body.office-proof :is(#detail,#leadDetail).office-form-layout .studio-editor>footer{display:flex!important;align-items:center;justify-content:space-between;padding:8px 12px!important;gap:10px}
body.office-proof :is(#detail,#leadDetail).office-form-layout .studio-editor>footer>p{flex:1;min-width:0;margin:0!important}
body.office-proof :is(.customer-note-dialog,.card-contact-editor,.row-inline-editor,.dispatch-hold-dialog,.stock-dialog,.warranty-dialog,.prospects-dialog) :is(input:not([type=checkbox]):not([type=radio]),select,textarea){box-sizing:border-box;min-height:30px!important;border:1px solid #d5e1e9!important;border-radius:3px!important;padding:5px 7px!important;font:12px Arial,sans-serif!important;max-width:100%}
body.office-proof :is(.customer-note-dialog,.card-contact-editor,.row-inline-editor,.dispatch-hold-dialog,.stock-dialog,.warranty-dialog,.prospects-dialog) label{font-size:10px!important;line-height:1.4;min-width:0}
body.office-proof :is(.customer-note-dialog,.card-contact-editor,.row-inline-editor,.dispatch-hold-dialog,.stock-dialog,.warranty-dialog,.prospects-dialog) :is(h2,h3){font-size:12px!important;margin:6px 0 10px}
body.office-proof :is(.customer-note-dialog,.card-contact-editor,.row-inline-editor,.dispatch-hold-dialog,.stock-dialog,.warranty-dialog,.prospects-dialog) button{font-size:11px!important;min-height:28px;padding:5px 9px!important;border-radius:3px!important}
}
@media screen and (max-width:600px){
body.office-proof :is(#detail,#leadDetail).office-form-layout .studio-editor :is(input:not([type=checkbox]):not([type=radio]),select,textarea),body.office-proof :is(.customer-note-dialog,.card-contact-editor,.row-inline-editor,.dispatch-hold-dialog,.stock-dialog,.warranty-dialog,.prospects-dialog) :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:16px!important;min-height:40px!important;height:40px!important}
body.office-proof :is(#detail,#leadDetail).office-form-layout .studio-editor textarea{min-height:64px!important}
}


/* office-coordination.css */
.coord-dialog{box-sizing:border-box;width:min(680px,calc(100vw - 24px));max-height:90dvh;padding:0;border:1px solid #ccdae5;border-radius:7px;background:#fff;color:#354b5b;box-shadow:0 16px 60px #102b4955;font:12px/1.4 system-ui,-apple-system,Segoe UI,sans-serif}
.coord-dialog::backdrop{background:#112f4855}.coord-dialog-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;background:#f1f6fa;border-bottom:1px solid #dce5ed}.coord-dialog-head strong{font-size:13px}.coord-dialog-head small{display:block;font-size:10px;color:#6a7f90}.coord-dialog :is(button,input,textarea,select){font:inherit}.coord-dialog button,.coord-notes button,.coord-message-work button{border:1px solid #cbdbe6;border-radius:4px;background:white;color:#286c99;font-size:11px;line-height:1.3;min-height:26px;padding:4px 7px;cursor:pointer}.coord-dialog button:disabled,.coord-notes button:disabled{opacity:.6;cursor:wait}.coord-notes{box-sizing:border-box;padding:9px 12px;font:12px/1.4 system-ui,-apple-system,Segoe UI,sans-serif;color:#354b5b;min-width:0}.coord-notes-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:7px}.coord-notes-toolbar b{font-size:12px}.coord-notes-toolbar b span{font-size:10px;font-weight:400;color:#6b8495}.coord-note-list{max-height:48dvh;overflow:auto;overscroll-behavior:contain}.coord-thread{margin:0 0 8px}.coord-note{border:1px solid #e0e8ef;border-radius:4px;background:#fff;padding:7px 9px;margin:3px 0;overflow-wrap:anywhere}.coord-note.coord-important{border-left:3px solid #d99420;background:#fffcf4}.coord-note header{display:flex;gap:4px 7px;align-items:center;flex-wrap:wrap;font-size:10px;color:#768b9b}.coord-note header strong{font-size:11px;font-weight:600;color:#354b5b}.coord-note header time{margin-left:auto}.coord-note p,.coord-revisions p{font-size:12px;line-height:1.45;white-space:pre-wrap;margin:5px 0}.coord-note .coord-pin{font-size:9px;color:#9c6400;font-weight:600}.coord-note-actions{display:flex;gap:8px}.coord-note-actions button{border:0;background:transparent;padding:0;min-height:22px;font-size:10px}.coord-note>small{font-size:9px;color:#768b9b}.coord-subnote{margin-left:20px;border-left:2px solid #d5e1ec;background:#f8fbfd}.coord-revisions{font-size:10px;color:#6d8190}.coord-revisions section{padding:4px 0;border-top:1px dashed #dce5ed}.coord-revisions p{font-size:11px}.coord-note-form{border-top:1px solid #e1e8ef;margin-top:8px;padding-top:8px}.coord-note-form>label,.coord-resolve-dialog label{display:block;font-size:11px;color:#526b7d}.coord-note-input,.coord-resolve-dialog textarea{display:block;box-sizing:border-box;min-height:52px;width:100%;font:12px/1.4 system-ui,sans-serif;padding:7px 8px;margin:4px 0 6px;border:1px solid #cbdbe5;border-radius:4px;resize:vertical}.coord-note-form>div{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.coord-important-option{display:flex;align-items:center;gap:5px;font-size:10px;margin-right:auto}.coord-important-option input{width:13px;height:13px}.coord-status{font-size:11px;color:#955400;margin:4px 0;white-space:pre-wrap}.coord-status:empty{display:none}.coord-review-notice{padding:6px 8px;background:#fff6df;border:1px solid #eedba4;border-radius:4px;font-size:11px;margin:0 0 7px}.coord-review-button{margin-top:6px;background:#eaf4ff!important;color:#205c91!important}.coord-empty{font-size:11px;color:#7a8e9c}.coord-message-work{flex:none;order:0;padding:6px 10px;border-bottom:1px solid #dce6ee;background:#f7fafc;font:11px/1.4 system-ui,sans-serif}.coord-message-work p{margin:0 0 4px;font-size:11px;overflow-wrap:anywhere}.coord-message-work>div{display:flex;gap:5px;flex-wrap:wrap}.coord-resolve-dialog form{padding:0 12px 12px}.coord-resolve-dialog header{margin:0 -12px 10px}.coord-resolve-dialog select{box-sizing:border-box;width:100%;margin:4px 0 8px;padding:6px;border:1px solid #cbdbe5;border-radius:4px}.coord-history{padding:8px 12px}.coord-history p{border-bottom:1px solid #e4eaf0;padding-bottom:8px;font-size:11px}.coord-history small,.coord-history span{display:block;font-size:10px}.office-contact-actions .coord-note-icon{width:20px!important;height:20px!important;min-height:20px!important;padding:2px!important;border:0;background:transparent;color:#2584b6!important}.office-contact-actions .coord-note-unread{color:#ac6800!important;position:relative}.office-contact-actions .coord-note-unread::after{content:'';position:absolute;right:0;top:0;width:4px;height:4px;border-radius:50%;background:#d98a00}.office-contact-actions button.coord-unread{color:#ba7300!important;animation:coord-attention 1.8s ease-in-out infinite}.office-contact-actions button.coord-read{color:#a86900!important}.office-contact-actions button.coord-claimed{color:#2773b9!important}.office-contact-actions button.coord-handled{color:#19824e!important;position:relative}.office-contact-actions button.coord-handled::after{content:'✓';position:absolute;right:-2px;bottom:-2px;font-size:9px;font-weight:700;background:#fff;border-radius:50%;line-height:10px}.coord-unread-count{display:inline-block;margin-left:4px;padding:0 4px;border-radius:7px;background:#fff0c6;color:#8f5600;font:9px/14px system-ui,sans-serif;animation:coord-attention 1.8s ease-in-out infinite}.coord-alerts{width:min(420px,calc(100vw - 20px));max-height:75dvh}.coord-alert-list{padding:5px 8px}.coord-alert-list>button{display:block;width:100%;text-align:left;padding:8px;border:0;border-bottom:1px solid #e0e8ef;border-radius:0}.coord-alert-list :is(b,span,small){display:block}.coord-alert-list b{font-size:12px}.coord-alert-list span{font-size:11px;color:#526b7d}.coord-alert-list small{font-size:10px;color:#967023}body .coord-notes [hidden],body .coord-dialog [hidden]{display:none!important}@keyframes coord-attention{0%,100%{opacity:1}50%{opacity:.35}}@media(prefers-reduced-motion:reduce){.coord-unread-count,.office-contact-actions button.coord-unread{animation:none;outline:1px solid #ba7300}}@media(max-width:700px){.coord-dialog{width:calc(100vw - 12px);max-height:94dvh}.coord-note-list{max-height:45dvh}.coord-note-input,.coord-resolve-dialog textarea{font-size:16px}.coord-subnote{margin-left:12px}.coord-note header time{margin-left:0;flex-basis:100%}.coord-dialog-head{padding:9px}.coord-notes{padding:8px}.coord-message-work{padding:6px 8px}}

.coord-fresh-alert{position:fixed;right:12px;top:52px;z-index:70;display:flex;gap:8px;align-items:center;flex-wrap:wrap;max-width:calc(100vw - 40px);padding:8px 10px;border:1px solid #e1b85b;border-radius:6px;background:#fff8e4;box-shadow:0 4px 18px #213f5322;font:11px/1.4 system-ui,sans-serif;color:#875800}.coord-fresh-alert strong{font-size:11px}.coord-fresh-alert button{border:0;background:transparent;padding:4px;font:11px system-ui,sans-serif;color:#286c99;cursor:pointer}

.office-contact-actions button.coord-sent{color:#19824e!important}.office-contact-actions button.coord-failed{color:#bd2739!important}

.coord-unread-count[hidden]{display:none!important}.coord-review-complete{display:block;margin-top:6px;color:#287c60;font-size:10px;line-height:1.4}

.coord-header-notes{display:inline-flex;align-items:center;justify-content:center;flex:none;min-width:28px;min-height:28px;padding:5px!important;border:1px solid #cad9e5;border-radius:6px;background:transparent;color:inherit;cursor:pointer}
.coord-header-notes svg{width:16px;height:16px}.coord-header-notes.coord-note-unread{color:#ad6500;background:#fff5dc}
.coord-picker-search{display:grid;gap:5px;padding:12px}.coord-picker-search input{box-sizing:border-box;width:100%;padding:8px}
.coord-picker-list{display:grid;gap:5px;padding:0 12px 12px;max-height:60dvh;overflow:auto}.coord-picker-list button{text-align:left;padding:9px}
@media(max-width:900px){.coord-header-notes{min-width:34px;min-height:34px}}


/* Compact office-note preview on lead cards and spreadsheet rows. */
#leadsList .lead-note-preview{display:block;width:100%;min-width:0;max-width:300px;margin-top:5px;padding:5px 7px;text-align:left;border:1px solid var(--border,#dbe4ec);border-radius:5px;background:var(--panel,#f5f8fc);color:inherit;white-space:normal;font-size:11px;line-height:1.35;cursor:pointer}
#leadsList .lead-note-preview>span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:normal}
#leadsList .lead-note-preview>small{display:block;margin-top:3px;font-size:10px;opacity:.75;white-space:normal}
#leadsList .lead-note-preview:focus-visible{outline:2px solid #2563eb;outline-offset:2px}

.coord-glance{position:fixed;z-index:2147483000;width:min(440px,calc(100vw - 16px));box-sizing:border-box;padding:12px;border:1px solid var(--night-line,#cfd9e6);border-radius:8px;background:var(--night-panel,#fff);color:var(--night-text,#20364b);box-shadow:0 8px 30px #152c4933;font:12px/1.4 system-ui}.coord-glance>strong{display:block;margin-bottom:8px}.coord-glance-items{max-height:min(420px,65vh);overflow:auto}.coord-glance article+article{border-top:1px solid var(--night-line,#e4e9f2);padding-top:7px}.coord-glance p{white-space:pre-wrap;overflow-wrap:anywhere;margin:3px 0 9px}.coord-glance small{font-size:10px;color:var(--night-muted,#61758a)}

/* A customer STOP takes priority over read, unread, sent and handled colors. */
html body :is(#leadsList,#orders,#detail,#leadDetail,.office-contact-actions) :is(.customer-stop-blocked,[data-text-blocked="true"]),
html body :is(#leadsList,#orders,#detail,#leadDetail,.office-contact-actions) :is(.customer-stop-blocked,[data-text-blocked="true"]) *{color:var(--night-danger,#b42318)!important;-webkit-text-fill-color:currentColor!important;animation:none!important;opacity:1!important}
.coord-pinned-strip{grid-column:1/-1;min-width:0;color:#c52673;font-size:10px;line-height:16px}
body.portal-proof .coord-pinned-strip .coord-pinned-preview{display:inline-block;width:auto;max-width:100%;min-height:0!important;margin:0 12px 0 0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#c52673!important;font:10px/16px system-ui!important;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:middle;cursor:pointer}
.coord-pinned-preview:focus-visible{outline:2px solid #c52673;outline-offset:1px}
tr.coord-has-pins{position:relative}
tr.coord-has-pins>td{padding-bottom:24px!important}
tr.coord-has-pins>td:first-child{position:static!important}
tr.coord-has-pins .coord-pinned-strip{position:absolute;bottom:3px;left:12px;right:12px;display:flex;gap:8px;overflow:hidden;height:16px;z-index:2;background:transparent;border:0}
@media(max-width:900px){tr.coord-has-pins .coord-pinned-strip{left:8px;right:8px}tr.coord-has-pins>td{padding-bottom:8px!important}tr.coord-has-pins{padding-bottom:22px!important}}
html body.portal-proof :is(#schedulePanel#schedulePanel#schedulePanel,#orders#orders#orders,#detail#detail#detail) .coord-pinned-strip .coord-pinned-preview{font-size:10px!important;line-height:16px!important;height:16px!important;min-height:0!important;padding:0!important;border:0!important;background:transparent!important;color:#c52673!important}
/* Reserve a separate baseline below phone and received time in compact lists. */
html body#officeModernPortal.office-modern :is(#orders,#leadsList) tr.coord-has-pins>td{padding-bottom:30px!important}
html body#officeModernPortal.office-modern :is(#orders,#leadsList) tr.coord-has-pins .coord-pinned-strip{bottom:4px!important;height:16px!important}

/* office-theme.css */
/* Portal night palette; phone themes and customer-facing invoices stay independent. */
.office-theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:5px;flex:none;min-height:30px;padding:4px 7px;border:1px solid #607381;border-radius:5px;background:#303b44;color:#e8f0f4;font:11px/1.3 system-ui,sans-serif;cursor:pointer;white-space:nowrap}
.office-theme-toggle svg{flex:none}.office-theme-toggle:focus-visible{outline:2px solid #82cfff;outline-offset:2px}
body.office-studio .top .user .office-theme-toggle{min-height:30px!important;padding:4px 7px!important;color:#e8f0f4!important;background:#303b44!important;border:1px solid #607381!important}
.mobilebar .office-theme-toggle{margin-left:auto;min-width:34px;min-height:34px}.mobilebar .office-theme-toggle span{display:none}
.auth>.office-theme-toggle{display:flex;width:auto!important;margin:0 0 14px auto;padding:6px 9px!important}
@media screen {
html[data-office-theme="dark"]{--night-bg:#111719;--night-panel:#1c2429;--night-raised:#263138;--night-line:#3c4c56;--night-text:#e2ebef;--night-muted:#a8bbc7;--night-link:#82cfff;color-scheme:dark;background:var(--night-bg)}
html[data-office-theme="dark"] body{background:var(--night-bg)!important;color:var(--night-text)!important;--office-ink:var(--night-text);--office-muted:var(--night-muted);--office-line:var(--night-line);--office-blue:var(--night-link)}
html[data-office-theme="dark"] body :is(.shell,main,.layout,.lead-layout,#workPanel,#leadsPanel,#dashboardPanel,#messagesPanel){background:var(--night-bg)!important;color:var(--night-text)!important}
html[data-office-theme="dark"] body :is(.side,.mobilebar,.top,.mobilenav,.header-menu){background:#151e24!important;color:var(--night-text)!important;border-color:var(--night-line)!important}
html[data-office-theme="dark"] body :is(.panel,.detail,.auth,dialog,.studio-card,.studio-job-rail,.studio-widget,.dispatch-sheet,.lead-preview-summary,.lead-preview-editor,.lead-preview-notes,.coord-note,.coord-notes,.coord-dialog,.thread,.chat,.office-ai,.dispatch-info-card,.dispatch-location,.vendor-card,.metriccard){background:var(--night-panel)!important;color:var(--night-text)!important;border-color:var(--night-line)!important;box-shadow:none!important}
html[data-office-theme="dark"] body :is(#detail,#leadDetail).proof-job,
html[data-office-theme="dark"] body :is(#detail,#leadDetail).studio-job,
html[data-office-theme="dark"] body :is(#detail,#leadDetail) :is(.studio-card,.studio-card-head,.studio-card-body,.studio-card-foot,.studio-job-rail,.work-section,.dispatch-pane,.job-embedded-conversation,.lead-chat-host){background:var(--night-panel)!important;color:var(--night-text)!important;border-color:var(--night-line)!important}
html[data-office-theme="dark"] body :is(.panelbar,.filters,.dispatch-toolbar,.dispatch-view-tabs,.inboxbar,.chathead,.coord-dialog-head,.coord-message-work,.coord-notes-toolbar,.lead-preview-header,.dispatch-detail-tabs,.studio-widget-head,.studio-editor-head){background:var(--night-raised)!important;color:var(--night-text)!important;border-color:var(--night-line)!important}
html[data-office-theme="dark"] body :is(#orders,#leadsList) .dispatch-sheet .dispatch-table :is(th,td){background:var(--night-panel)!important;color:var(--night-text)!important;border-color:var(--night-line)!important}
html[data-office-theme="dark"] body :is(#orders,#leadsList) .dispatch-sheet .dispatch-table th{background:var(--night-raised)!important;color:var(--night-muted)!important}
html[data-office-theme="dark"] body :is(#orders,#leadsList) .dispatch-sheet .dispatch-table tr:is(:hover,.selected) td{background:#243e4c!important}
html[data-office-theme="dark"] body :is(#orders,#leadsList) :is(.work-list-received,.lead-received,.lead-local-clock,.lead-phone,.work-list-contact,.lead-contact-line){color:var(--night-muted)!important}
html[data-office-theme="dark"] body :is(input,select,textarea):not(:where(.office-softphone *,.professional-invoice *,.invoicecard *)){background:#111b22!important;color:var(--night-text)!important;border-color:#526674!important;accent-color:#82cfff}
html[data-office-theme="dark"] body :is(#detail,#leadDetail) :is(input,select,textarea):not(:where(.professional-invoice *,.invoicecard *)){background:#111b22!important;color:var(--night-text)!important;border-color:#526674!important}
html[data-office-theme="dark"] body :is(input,textarea)::placeholder{color:#91a8b7!important;opacity:1}
html[data-office-theme="dark"] body button:not(:where(.office-softphone *,.office-contact-actions *,.professional-invoice *,.invoicecard *,.primary,.coord-note-icon,.office-theme-toggle)){background:var(--night-raised)!important;color:var(--night-text)!important;border-color:var(--night-line)!important}
html[data-office-theme="dark"] body :is(h1,h2,h3,h4,label,dt,dd,p,b,strong):not(:where(.office-softphone *,.professional-invoice *,.invoicecard *,.dispatch-payment-chip *,.dispatch-badge *,.dispatch-tag *)){color:var(--night-text)!important}
html[data-office-theme="dark"] body :is(.muted,small,time,.proof-label,.proof-card-label,.proof-card-foot,.studio-card-label):not(:where(.office-softphone *,.professional-invoice *,.invoicecard *)){color:var(--night-muted)!important}
html[data-office-theme="dark"] body :is(a,.dispatch-job-link,.lead-open,.work-list-number):not(:where(.office-softphone *,.professional-invoice *,.invoicecard *)){color:var(--night-link)!important}
html[data-office-theme="dark"] body :is(.dispatch-badge,.dispatch-tag,.dispatch-payment-chip){background:#2d3b46!important;color:#d8e7f1!important;border-color:#526674!important}
html[data-office-theme="dark"] body :is(.dispatch-payment-chip.cash,.dispatch-badge.completed,.dispatch-tag.cash){background:#163d30!important;color:#a9efc5!important;border-color:#3f8060!important}
html[data-office-theme="dark"] body :is(.dispatch-payment-chip.unknown,.dispatch-badge.pending,.dispatch-tag.warning){background:#44351a!important;color:#ffd78b!important;border-color:#8c6c32!important}
html[data-office-theme="dark"] body :is(.dispatch-badge.canceled,.dispatch-tag.hold){background:#4a2530!important;color:#ffb7c2!important}
html[data-office-theme="dark"] body :is(.dispatch-payment-chip.insurance,.dispatch-tag.insurance,.dispatch-badge.scheduled){background:#23394f!important;color:#b9dcff!important}
html[data-office-theme="dark"] body :is(.chatbody,.composer,.coord-note-form,.lead-message-dialog,.studio-editor-body,.studio-editor-actions){background:var(--night-panel)!important;color:var(--night-text)!important;border-color:var(--night-line)!important}
html[data-office-theme="dark"] body :is(#detail,#leadDetail) .job-embedded-conversation :is(.chatbody,.composer,.chathead){background:var(--night-panel)!important;color:var(--night-text)!important;border-color:var(--night-line)!important}
html[data-office-theme="dark"] body .bubble{background:#293942!important;color:var(--night-text)!important;border-color:var(--night-line)!important}
html[data-office-theme="dark"] body .bubble.out{background:#173e51!important}
html[data-office-theme="dark"] body :is(.thread[aria-pressed="true"],.side .nav.active){background:#243e4c!important;color:var(--night-link)!important}
html[data-office-theme="dark"] body :is(.coord-note.coord-important,.coord-review-notice,.coord-fresh-alert){background:#352c1b!important;color:#ffda94!important;border-color:#8c6c32!important}
html[data-office-theme="dark"] body .coord-subnote{background:#202f37!important;border-left-color:#6d94ab!important}
html[data-office-theme="dark"] body .office-contact-actions button{color:#82cfff!important;background:transparent!important}
html[data-office-theme="dark"] body .office-contact-actions :is(.coord-unread,.coord-read,.coord-note-unread){color:#ffd079!important}
html[data-office-theme="dark"] body .office-contact-actions :is(.coord-sent,.coord-handled){color:#83e4ab!important}
html[data-office-theme="dark"] body .office-contact-actions .coord-failed{color:#ff9ba9!important}
html[data-office-theme="dark"] body .office-contact-actions button.coord-handled::after{background:var(--night-panel)!important}
html[data-office-theme="dark"] body :is(.coord-unread-count,.coord-pin){background:#44351a!important;color:#ffd079!important}
html[data-office-theme="dark"] body dialog::backdrop{background:#000a}
html[data-office-theme="dark"] body :is(button,input,textarea,select,a):focus-visible{outline:2px solid #82cfff!important;outline-offset:2px}
}
@media print{.office-theme-toggle{display:none!important}html[data-office-theme="dark"]{color-scheme:light!important;background:#fff!important}html[data-office-theme="dark"] body{background:#fff!important;color:#162033!important}}
@media screen {
html[data-office-theme="dark"] body{--panel:var(--night-panel);--ink:var(--night-text);--muted:var(--night-muted);--line:var(--night-line)}
html[data-office-theme="dark"] body.office-studio.office-edge-tabs .side,
html[data-office-theme="dark"] body.office-studio .mobilebar,
html[data-office-theme="dark"] body.office-studio.office-edge-tabs .side .nav{background:#151e24!important;color:var(--night-muted)!important;border-color:var(--night-line)!important}
html[data-office-theme="dark"] body.office-studio.office-edge-tabs .side .nav.active{background:#243e4c!important;color:var(--night-link)!important}
html[data-office-theme="dark"] body.portal-proof.office-studio main>.panel:not(#dashboardPanel)>.panelbar,
html[data-office-theme="dark"] body :is(#workPanel,#leadsPanel,#dashboardPanel,#messagesPanel)>.panelbar,
html[data-office-theme="dark"] body :is(.office-task-board,.work-order-navigation){background:var(--night-panel)!important;color:var(--night-text)!important;border-color:var(--night-line)!important}
html[data-office-theme="dark"] body.office-proof :is(#detail,#leadDetail) :is(.worktitle,.work-order-masthead,.studio-card-head,.studio-card-body,.studio-card-foot,.studio-job-tools,.studio-editor){background:var(--night-panel)!important;color:var(--night-text)!important;border-color:var(--night-line)!important}
html[data-office-theme="dark"] body.office-proof :is(#detail,#leadDetail) :is(h1,h2,h3,h4,label,p,b,strong,.proof-inline-value):not(:where(.professional-invoice *,.invoicecard *)){color:var(--night-text)!important}
html[data-office-theme="dark"] body .office-task-board>summary{color:var(--night-link)!important}
}
@media screen {
html[data-office-theme="dark"] body{--portal-border:var(--night-line);--portal-muted:var(--night-muted);--portal-blue:var(--night-link);--form-border:var(--night-line)}
html[data-office-theme="dark"] body.office-proof :is(#detail,#leadDetail).proof-job :is(section,details,summary,h2,h3,table,thead,tbody,tr,th,td,header,footer,nav,.proof-vehicle-summary,.proof-fold,.work-section,.work-order-charges,.proof-charge-section,.partsmini,.page-catalog-picker,.dispatch-detail-tabs):not(:where(.professional-invoice,.professional-invoice *,.invoicecard,.invoicecard *)){
 background:var(--night-panel)!important;color:var(--night-text)!important;border-color:var(--night-line)!important
}
html[data-office-theme="dark"] body.office-proof :is(#detail,#leadDetail).row-work-order.proof-job :is(input,select,textarea):not(:where(.professional-invoice *,.invoicecard *)),
html[data-office-theme="dark"] body.office-proof .studio-editor :is(input,select,textarea){background:#111b22!important;color:var(--night-text)!important;border-color:#526674!important}
html[data-office-theme="dark"] body.office-proof :is(#detail,#leadDetail).proof-job .dispatch-detail-tabs button{background:var(--night-raised)!important;color:var(--night-text)!important;border-color:var(--night-line)!important}
html[data-office-theme="dark"] body.office-proof :is(#detail,#leadDetail).proof-job .dispatch-detail-tabs button[aria-selected="true"]{background:#243e4c!important;color:var(--night-link)!important;border-color:#82cfff!important}
html[data-office-theme="dark"] body .office-task-board .task-count{background:var(--night-raised)!important;color:var(--night-text)!important}
}

/* inbox-layout.css */
/* Message status is shared with Leads/Jobs; read and linking are independent. */
#messagesPanel .inboxbar{display:flex;flex-wrap:wrap;gap:6px;min-width:0}
#messagesPanel .inboxbar input{flex:1 1 240px;min-width:0;max-width:100%;box-sizing:border-box}
#messagesPanel .inboxfilter{white-space:nowrap;min-height:34px}
#messagesPanel .inbox-assignment-summary{margin:0;padding:8px 12px;color:var(--night-muted,#526b7d);font-size:12px;border-bottom:1px solid var(--night-line,#dce3e8)}
#messagesPanel .inboxlayout{grid-template-columns:minmax(280px,370px) minmax(0,1fr)}
#messagesPanel .thread.inbox-thread{display:grid;grid-template-columns:30px minmax(0,1fr);gap:8px;padding:10px;border-color:var(--night-line,#dce3e8);box-sizing:border-box}
#messagesPanel .thread.inbox-thread .avatar{width:30px;height:30px;font-size:12px}
#messagesPanel .thread.inbox-thread time{grid-column:2;font-size:10px;white-space:normal;color:var(--night-muted,#526b7d)}
#messagesPanel .thread.inbox-thread .threadcopy b{font-size:13px;white-space:normal;overflow-wrap:anywhere}
#messagesPanel .thread.inbox-thread .threadcopy b:after{display:none!important}
#messagesPanel .thread.inbox-thread .threadcopy small{font-size:10px;line-height:1.4;white-space:normal;overflow-wrap:anywhere;color:var(--night-muted,#526b7d)}
#messagesPanel .thread.inbox-thread .threadcopy em{font-size:12px;line-height:1.4;color:var(--night-text,#34434e)}
.inbox-state{display:inline-block;width:8px;height:8px;border-radius:50%;vertical-align:middle;margin-left:4px}
.inbox-state-amber{background:#d99a20}.inbox-state-green{background:#219a65}.inbox-state-failed{background:#d54c55}.inbox-state-clear{background:transparent;border:1px solid #80939d}
.inbox-unread-label{display:inline-block;padding:1px 4px;margin-left:4px;border:1px solid #b88118;border-radius:3px;color:var(--night-text,#78520c);font-size:9px;font-weight:500}
.inbox-sendbar{order:3;flex:none;display:grid;gap:4px;padding:8px 12px;border-top:1px solid var(--night-line,#dce3e8);background:var(--night-panel,#fff);box-sizing:border-box;min-width:0}
.inbox-sendbar :is(#sendCustom,#sendUnmatched){justify-self:end;min-height:40px;min-width:110px;padding:7px 12px}
.inbox-sendbar p{margin:0;font-size:11px;line-height:1.4;overflow-wrap:anywhere}.inbox-sendbar p:empty{display:none}
.inbox-link-dialog{width:min(560px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:88dvh;box-sizing:border-box;padding:16px;border:1px solid #80939d;border-radius:8px;background:var(--night-panel,#fff);color:var(--night-text,#34434e);font:13px/1.4 Arial,sans-serif;overflow:auto}
.inbox-link-dialog header{display:flex;align-items:center;justify-content:space-between;gap:10px}.inbox-link-dialog h3{margin:0}.inbox-link-dialog label{display:grid;gap:5px;margin:12px 0}
.inbox-link-dialog :is(input,select){box-sizing:border-box;width:100%;max-width:100%;min-width:0;min-height:40px;padding:8px}.inbox-link-dialog button{min-height:36px;padding:7px 10px}
.inbox-link-dialog::backdrop{background:#0008}
@media screen and (max-width:1100px){
 body.portal-proof #messagesPanel .inboxlayout{display:block!important;min-height:0!important}
 body.portal-proof #messagesPanel:not(.mobile-thread-open) #conversation{display:none!important}
 body.portal-proof #messagesPanel .threads{width:100%;max-width:100%;border-right:0;box-sizing:border-box}
 body.portal-proof #messagesPanel.mobile-thread-open .inboxlayout{position:fixed;inset:0;z-index:1500;height:100dvh;width:100vw;background:var(--night-panel,#fff);overflow:hidden}
 body.portal-proof #messagesPanel.mobile-thread-open :is(.threads){display:none!important}
 body.portal-proof #messagesPanel.mobile-thread-open #conversation{display:flex!important;position:static!important;flex-direction:column;height:100%;width:100%;min-width:0!important;min-height:0!important;max-width:100%;box-sizing:border-box;overflow:hidden;background:var(--night-panel,#fff)}
 body.portal-proof #messagesPanel.mobile-thread-open :is(.panelbar,.inboxbar,.inbox-assignment-summary){display:none!important}
 body.portal-proof #messagesPanel #conversation .chathead{order:0;display:flex!important;flex-wrap:wrap;flex:none;padding:6px 10px;max-height:24dvh;overflow:auto;min-width:0;gap:5px}
 body.portal-proof #messagesPanel #conversation .inbox-back{display:block!important;min-height:36px;padding:5px 8px;font-size:13px}
 body.portal-proof #messagesPanel #conversation .chatidentity{flex:1;min-width:0;font-size:12px}.chatidentity span{overflow-wrap:anywhere}
 body.portal-proof #messagesPanel #conversation .chathead-actions{display:flex;gap:4px;flex-wrap:wrap}
 body.portal-proof #messagesPanel #conversation .coord-message-work{order:0;flex:none;max-height:20dvh;overflow:auto;box-sizing:border-box;font-size:11px;margin:0;padding:5px 10px}
 body.portal-proof #messagesPanel #conversation .chatbody{order:1;height:auto!important;max-height:none!important;flex:1 1 100px!important;min-height:40px!important;overflow-y:auto;overflow-x:hidden;padding:10px;box-sizing:border-box}
 body.portal-proof #messagesPanel #conversation .composer{order:2;flex:0 1 auto;max-height:42dvh;min-height:0!important;overflow:auto;padding:8px 10px!important;box-sizing:border-box;width:100%;grid-template-columns:minmax(0,1fr)}
 body.portal-proof #messagesPanel #conversation :is(input,select,textarea){min-width:0!important;max-width:100%;box-sizing:border-box}
 body.portal-proof #messagesPanel #conversation :is(.message-tools,.messagetemplate,.photo-composer){min-width:0;max-width:100%;box-sizing:border-box}
 body.portal-proof #messagesPanel #conversation .composer textarea{min-height:64px!important;font-size:16px}
 body.portal-proof #messagesPanel #conversation .inbox-sendbar :is(#sendCustom,#sendUnmatched){width:100%;min-height:44px;justify-self:stretch}
 body.portal-proof #messagesPanel #conversation .inbox-sendbar{order:3;flex:none}
}
@media screen and (max-width:1100px){.lead-message-dialog{position:fixed!important;inset:0!important;margin:0!important;width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border:0!important;border-radius:0!important}.lead-message-dialog .lead-message-heading{max-height:25dvh}.lead-message-dialog .lead-message-sendbar{padding-bottom:max(8px,env(safe-area-inset-bottom))}}
@media screen and (max-width:1100px){
 body:has(#messagesPanel:not(.hidden).mobile-thread-open) .office-softphone .phone-toolbar{display:none!important}
 body.office-call-active:has(#messagesPanel:not(.hidden).mobile-thread-open) #messagesPanel .inboxlayout{bottom:var(--office-call-bar-height,84px);height:calc(100dvh - var(--office-call-bar-height,84px))}
 body.portal-proof #messagesPanel>.panelbar{display:flex!important;flex-wrap:wrap!important;gap:6px!important;align-items:center!important}
 body.portal-proof #messagesPanel>.panelbar>div{flex:1 1 180px;min-width:0}
 body.portal-proof #messagesPanel>.panelbar h2{font-size:14px!important;line-height:1.35;white-space:normal;overflow-wrap:anywhere}
 body.portal-proof #messagesPanel>.panelbar button{flex:none;min-height:34px!important}
}
@media screen and (max-width:1100px){
 body.portal-proof #messagesPanel>.panelbar>div:has(h2){order:-1;flex:0 0 100%!important;width:100%!important;min-width:100%!important;box-sizing:border-box;display:block!important}
 body.portal-proof #messagesPanel>.panelbar h2{word-break:normal;overflow-wrap:normal;max-width:none}
}


/* Keep the standalone conversation compact; the same header owns contact actions. */
body.portal-proof:has(#messagesPanel.mobile-thread-open) #messagesPanel>.inboxlayout>#conversation .message-recipient-context{display:none!important}
@media screen and (max-width:1100px){
 body.portal-proof:has(#messagesPanel.mobile-thread-open) #messagesPanel.mobile-thread-open>.inboxlayout>#conversation{height:auto!important;max-height:calc(100dvh - var(--office-call-bar-height,0px));--inbox-text-size:14px;--inbox-control-size:38px;--inbox-meta-size:11px}
 body.portal-proof:has(#messagesPanel.mobile-thread-open) #messagesPanel.mobile-thread-open>.inboxlayout>#conversation .chatbody{flex:0 1 auto!important;min-height:0!important;max-height:45dvh!important;padding:6px 10px!important;scrollbar-width:thin}
 body.portal-proof:has(#messagesPanel.mobile-thread-open) #messagesPanel.mobile-thread-open>.inboxlayout>#conversation .bubble{font-size:var(--inbox-text-size)!important;line-height:1.45!important;max-width:92%!important;margin:3px 0!important;padding:6px 9px!important;border-radius:6px!important;overflow-wrap:anywhere}
 body.portal-proof:has(#messagesPanel.mobile-thread-open) #messagesPanel.mobile-thread-open>.inboxlayout>#conversation .bubble :is(time,small,.message-attribution){font-size:var(--inbox-meta-size)!important;line-height:1.4!important}
 body.portal-proof:has(#messagesPanel.mobile-thread-open) #messagesPanel.mobile-thread-open>.inboxlayout>#conversation .chatidentity b{font-size:var(--inbox-text-size)!important;line-height:1.4}
 body.portal-proof:has(#messagesPanel.mobile-thread-open) #messagesPanel.mobile-thread-open>.inboxlayout>#conversation .chatidentity span{font-size:var(--inbox-meta-size)!important;line-height:1.4}
 body.portal-proof:has(#messagesPanel.mobile-thread-open) #messagesPanel.mobile-thread-open>.inboxlayout>#conversation .chathead{gap:5px 8px!important;padding:6px 10px!important;align-items:center}
 body.portal-proof:has(#messagesPanel.mobile-thread-open) #messagesPanel.mobile-thread-open>.inboxlayout>#conversation .office-phone-number{display:flex;align-items:center;flex-wrap:wrap;gap:5px}
 body.portal-proof:has(#messagesPanel.mobile-thread-open) #messagesPanel.mobile-thread-open>.inboxlayout>#conversation .office-contact-actions{display:inline-flex;align-items:center;gap:3px}
 body.portal-proof:has(#messagesPanel.mobile-thread-open) #messagesPanel.mobile-thread-open>.inboxlayout>#conversation .chathead button{min-height:var(--inbox-control-size)!important;height:auto!important;min-width:var(--inbox-control-size)!important;padding:4px 7px!important;font-size:var(--inbox-meta-size)!important}
 body.portal-proof:has(#messagesPanel.mobile-thread-open) #messagesPanel.mobile-thread-open>.inboxlayout>#conversation .office-contact-actions button svg{width:20px!important;height:20px!important}
 body.portal-proof:has(#messagesPanel.mobile-thread-open) #messagesPanel.mobile-thread-open>.inboxlayout>#conversation .coord-message-work{font-size:var(--inbox-meta-size)!important;max-height:18dvh;padding:5px 10px!important}
 body.portal-proof:has(#messagesPanel.mobile-thread-open) #messagesPanel.mobile-thread-open>.inboxlayout>#conversation .coord-message-work button{font-size:var(--inbox-meta-size)!important;min-height:30px!important;padding:3px 7px!important}
 body.portal-proof:has(#messagesPanel.mobile-thread-open) #messagesPanel.mobile-thread-open>.inboxlayout>#conversation .composer{flex:none!important;padding:6px 10px!important;border-top:1px solid var(--night-line,#dce3e8);max-height:35dvh!important}
 body.portal-proof:has(#messagesPanel.mobile-thread-open) #messagesPanel.mobile-thread-open>.inboxlayout>#conversation .composer>textarea{font-size:max(16px,var(--inbox-text-size))!important;line-height:1.4!important;min-height:48px!important;height:54px;max-height:100px!important}
 body.portal-proof:has(#messagesPanel.mobile-thread-open) #messagesPanel.mobile-thread-open>.inboxlayout>#conversation .message-composer-toolbar{flex-wrap:wrap!important;gap:4px!important}
 body.portal-proof:has(#messagesPanel.mobile-thread-open) #messagesPanel.mobile-thread-open>.inboxlayout>#conversation .message-composer-toolbar>button,body.portal-proof:has(#messagesPanel.mobile-thread-open) #messagesPanel.mobile-thread-open>.inboxlayout>#conversation .message-composer-more>summary{font-size:var(--inbox-meta-size)!important;min-height:var(--inbox-control-size)!important;height:auto!important;padding:4px 7px!important}
 body.portal-proof:has(#messagesPanel.mobile-thread-open) #messagesPanel.mobile-thread-open>.inboxlayout>#conversation .inbox-sendbar{padding:4px 10px max(6px,env(safe-area-inset-bottom))!important}
 body.portal-proof:has(#messagesPanel.mobile-thread-open) #messagesPanel.mobile-thread-open>.inboxlayout>#conversation .message-draft-state{display:none!important}
}
/* Android Desktop site can retain a 980px viewport on a narrow touch screen. */
@media screen and (min-width:701px) and (max-width:1100px) and (any-pointer:coarse){
 body.portal-proof:has(#messagesPanel.mobile-thread-open) #messagesPanel.mobile-thread-open>.inboxlayout>#conversation{--inbox-text-size:14px;--inbox-control-size:40px;--inbox-meta-size:12px}
 body.portal-proof:has(#messagesPanel.mobile-thread-open) #messagesPanel.mobile-thread-open>.inboxlayout>#conversation .office-contact-actions button svg{width:30px!important;height:30px!important}
 body.portal-proof:has(#messagesPanel.mobile-thread-open) #messagesPanel.mobile-thread-open>.inboxlayout>#conversation .composer>textarea{min-height:82px!important;height:84px;max-height:160px!important}
 body.portal-proof:has(#messagesPanel.mobile-thread-open) #messagesPanel.mobile-thread-open>.inboxlayout>#conversation .coord-message-work button{min-height:44px!important}
}
/* The phone wrapper can span the viewport even when its toolbar is hidden. */
@media screen and (max-width:1100px){
 body:has(#messagesPanel:not(.hidden).mobile-thread-open) .office-softphone{pointer-events:none!important}
 body:has(#messagesPanel:not(.hidden).mobile-thread-open) .office-softphone :is(.phone-toolbar,.phone-drawer,.phone-call-bar,.classic-mini,.classic-overlay){pointer-events:auto!important}
}

/* Lead message popups follow their content instead of pinning an empty chat
   to the full viewport. History scrolls; the draft stays beside the messages. */
@media screen {
 body .lead-message-dialog{height:auto!important;max-height:calc(100dvh - 24px)!important;inset:12px 0 auto!important;margin:0 auto!important;border-radius:8px!important;--lead-history-limit:min(40dvh,320px)}
 body .lead-message-dialog .lead-message-body{flex:0 1 auto!important;min-height:0!important;overflow:auto!important}
 body :is(#workPanel #detail,#messagesPanel,.lead-message-dialog,#leadDetail).lead-message-dialog #conversation{height:auto!important;flex:0 0 auto!important;min-height:0!important;overflow:visible!important}
 body :is(#workPanel #detail,#messagesPanel,.lead-message-dialog,#leadDetail).lead-message-dialog #conversation.message-composer-ready .chatbody{height:auto!important;flex:0 1 auto!important;min-height:0!important;max-height:var(--lead-history-limit)!important;padding:6px 10px!important;overflow:auto!important}
 body :is(#workPanel #detail,#messagesPanel,.lead-message-dialog,#leadDetail).lead-message-dialog #conversation .chatbody>p{margin:6px 0!important;font-size:12px;line-height:1.4}
 body :is(#workPanel #detail,#messagesPanel,.lead-message-dialog,#leadDetail).lead-message-dialog #conversation.message-composer-ready .message-recipient-context>small{display:none!important}
}
@media screen and (max-width:1100px){
 body .lead-message-dialog{inset:8px 0 auto!important;width:calc(100vw - 16px)!important;max-width:calc(100vw - 16px)!important;max-height:calc(100dvh - 16px)!important}
 body .lead-message-dialog .lead-message-heading{padding:8px 10px!important;gap:6px!important;max-height:25dvh}
 body .lead-message-dialog .lead-message-heading h2{font-size:14px!important;line-height:1.35}
 body .lead-message-dialog .lead-message-heading button{min-height:36px!important}
 body :is(#workPanel #detail,#messagesPanel,.lead-message-dialog,#leadDetail).lead-message-dialog #conversation .chatbody .bubble{font-size:14px!important;line-height:1.45}
}



.inbox-record-actions{display:flex;flex-wrap:wrap;gap:6px;align-items:center;padding:8px 12px;background:var(--night-panel,#fff);border-bottom:1px solid var(--night-line,#dce3e8);flex:none}.inbox-record-actions>small{flex:1 0 100%;color:var(--night-muted,#526b7d)}.inbox-record-actions>p{margin:0;font-size:12px;flex:1 0 100%}.inbox-record-actions button{min-height:34px;font-size:12px}#saveMessageAppointment{display:block;margin:8px 0}
@media(min-width:1101px){body.portal-proof #messagesPanel>.inboxlayout{height:var(--inbox-height,calc(100dvh - 310px))!important;min-height:0!important;overflow:hidden!important}body.portal-proof #messagesPanel>.inboxlayout>.threads{height:100%;overflow:auto;min-height:0}body.portal-proof #messagesPanel>.inboxlayout>#conversation{display:flex!important;flex-direction:column!important;height:100%!important;min-height:0!important;overflow:hidden!important}body.portal-proof #messagesPanel>.inboxlayout>#conversation :is(.chathead,.inbox-record-actions,.coord-message-work,.dealerwork){flex:none}body.portal-proof #messagesPanel>.inboxlayout>#conversation .chatbody{flex:1 1 0!important;min-height:0!important;overflow:auto!important;order:2}body.portal-proof #messagesPanel>.inboxlayout>#conversation .composer{order:3!important;flex:none!important;max-height:40dvh;overflow:auto}body.portal-proof #messagesPanel>.inboxlayout>#conversation .inbox-sendbar{order:4!important;flex:none}}

/* work-list-compact.css */
/* Compact current Office list. Detail forms, calendar and location views keep their layouts. */
@media screen{
body.dispatch-office :is(:is(#workPanel,#leadsPanel),#leadsPanel)>.panelbar{margin:6px 16px;padding:8px 12px;gap:10px;border-radius:8px;box-shadow:none}
body.dispatch-office :is(:is(#workPanel,#leadsPanel),#leadsPanel)>.panelbar h2{font-size:18px;line-height:1.3}
body.dispatch-office :is(:is(#workPanel,#leadsPanel),#leadsPanel)>.panelbar p:empty{display:none}
body.dispatch-office :is(:is(#workPanel,#leadsPanel),#leadsPanel)>.panelbar button{min-height:36px;padding:6px 10px}
body.dispatch-office :is(:is(#workPanel,#leadsPanel),#leadsPanel) .office-section-icon{width:26px;height:26px;margin-right:6px;border-radius:7px}
body.dispatch-office .office-task-board{margin:4px 16px}
body.dispatch-office .dispatch-toolbar{padding:0 16px}
body.dispatch-office .dispatch-view-tabs{padding:3px;gap:4px;margin-bottom:4px;border-radius:8px}
body.dispatch-office .dispatch-view-tabs button{min-height:34px;padding:6px 10px;text-transform:none;font-size:12px}
body.dispatch-office :is(#dispatchResult,#leadListResult){padding:3px 0 5px;font-size:12px}
body.dispatch-office :is(:is(#workPanel,#leadsPanel),#leadsPanel)>.filters{padding:4px 16px 8px;gap:8px}
body.dispatch-office :is(:is(#workPanel,#leadsPanel),#leadsPanel)>.filters :is(input,select){min-height:36px;padding:6px 10px;font-size:13px;border-radius:7px}
body.dispatch-office :is(:is(#orders,#leadsList),#leadsList){padding:0 16px 16px}
body.dispatch-office .dispatch-sheet{overflow:auto;max-height:calc(100dvh - 290px);min-height:220px;border:1px solid #e4e9f2;border-radius:8px;background:#fff}
body.dispatch-office .dispatch-sheet .dispatch-table{display:table;table-layout:fixed;border-collapse:separate;border-spacing:0;width:1910px;min-width:1910px;font-size:13px;line-height:1.35}
body.dispatch-office .dispatch-sheet .dispatch-table thead{display:table-header-group}
body.dispatch-office .dispatch-sheet .dispatch-table tbody{display:table-row-group}
body.dispatch-office .dispatch-sheet .dispatch-table tr.dispatch-row{display:table-row;padding:0;margin:0;border:0;border-radius:0;box-shadow:none}
body.dispatch-office .dispatch-sheet .dispatch-table :is(th,td){box-sizing:border-box;width:auto;min-width:0;max-width:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal;vertical-align:middle;padding:6px 10px;font-size:13px;line-height:1.35;border:0;border-bottom:1px solid #e4e9f2}
body.dispatch-office .dispatch-sheet .dispatch-table td{display:table-cell;height:42px}
body.dispatch-office .dispatch-sheet .dispatch-table td::before{display:none!important}
body.dispatch-office .dispatch-sheet .dispatch-table th{position:sticky;top:0;z-index:2;height:36px;background:#f1f5fa;font-size:12px;color:#43546d}
body.dispatch-office .dispatch-sheet .dispatch-table :is(th,td):first-child{position:static;left:auto;z-index:auto;background:#fff;border-right:1px solid #e4e9f2}
body.dispatch-office .dispatch-sheet .dispatch-table th:first-child{position:sticky;left:auto;z-index:3;background:#f1f5fa}
body.dispatch-office .dispatch-sheet .dispatch-table tr:hover td{background:#f8faff}
body.dispatch-office .dispatch-sheet .dispatch-table tr.selected td{background:#edf5ff}
body.dispatch-office .dispatch-sheet .dispatch-table :is(th,td):nth-child(1){width:170px}
body.dispatch-office .dispatch-sheet .dispatch-table :is(th,td):nth-child(2){width:290px}
body.dispatch-office .dispatch-sheet .dispatch-table :is(th,td):nth-child(3){width:190px}
body.dispatch-office .dispatch-sheet .dispatch-table :is(th,td):nth-child(4){width:120px}
body.dispatch-office .dispatch-sheet .dispatch-table :is(th,td):nth-child(5){width:230px}
body.dispatch-office .dispatch-sheet .dispatch-table :is(th,td):nth-child(6){width:130px}
body.dispatch-office .dispatch-sheet .dispatch-table :is(th,td):nth-child(7){width:170px}
body.dispatch-office .dispatch-sheet .dispatch-table :is(th,td):nth-child(8){width:190px}
body.dispatch-office .dispatch-sheet .dispatch-table :is(th,td):nth-child(9){width:110px}
body.dispatch-office .dispatch-sheet .dispatch-table :is(th,td):nth-child(10){width:110px}
body.dispatch-office .dispatch-sheet .dispatch-table :is(th,td):nth-child(11){width:130px}
body.dispatch-office .dispatch-sheet .dispatch-table :is(th,td):nth-child(12){width:240px}
body.dispatch-office .dispatch-sheet .dispatch-job-link{display:block;width:100%;max-width:100%;min-height:30px;font-size:13px;padding:4px 0;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.dispatch-office .dispatch-cell-text{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.dispatch-office .dispatch-sheet :is(.dispatch-payment-chip,.dispatch-badge){display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;vertical-align:middle;white-space:nowrap;padding:3px 7px;border:1px solid transparent;border-radius:5px;font-size:12px;line-height:1.35;font-weight:600}
body.dispatch-office .dispatch-payment-chip.insurance{background:#eef3ff;border-color:#afc3ed;color:#234477}
body.dispatch-office .dispatch-payment-chip.cash{background:#eef8f0;border-color:#acd4b4;color:#235a33}
body.dispatch-office .dispatch-payment-chip.unknown{background:#fff8e7;border-color:#dfc273;color:#755617}
body.dispatch-office .dispatch-sheet .dispatch-tags{display:flex;gap:4px;flex-wrap:nowrap;overflow:hidden}
body.dispatch-office .dispatch-sheet .dispatch-tag{flex:none;font-size:11px;padding:2px 6px;line-height:1.35}
body.dispatch-office.dispatch-expanded-view .dispatch-sheet .dispatch-table td{height:50px;padding-top:10px;padding-bottom:10px}
}
@media screen and (max-width:900px){
body.dispatch-office .shell{display:block!important}
body.dispatch-office .side{display:none!important}
body.dispatch-office .mobilebar{display:flex!important}
body.dispatch-office .mobilebar{height:calc(58px + env(safe-area-inset-top))!important;min-height:calc(58px + env(safe-area-inset-top));padding:calc(4px + env(safe-area-inset-top)) 10px 4px!important}
body.dispatch-office .mobilebrand img{max-height:46px;max-width:180px}
body.dispatch-office main{padding-top:calc(64px + env(safe-area-inset-top))!important}
body.dispatch-office :is(:is(#workPanel,#leadsPanel),#leadsPanel)>.panelbar{margin:4px 10px;flex-wrap:nowrap;padding:6px 8px}
body.dispatch-office :is(:is(#workPanel,#leadsPanel),#leadsPanel)>.panelbar h2{font-size:16px}
body.dispatch-office .dispatch-toolbar{padding:0 10px}
body.dispatch-office :is(:is(#workPanel,#leadsPanel),#leadsPanel)>.filters{padding:4px 10px 6px;flex-wrap:nowrap}
body.dispatch-office :is(:is(#workPanel,#leadsPanel),#leadsPanel)>.filters #search{min-width:0}
body.dispatch-office :is(:is(#workPanel,#leadsPanel),#leadsPanel)>.filters #statusFilter{width:120px;flex:0 0 120px}
body.dispatch-office :is(:is(#workPanel,#leadsPanel),#leadsPanel)>.filters :is(input,select){font-size:16px;min-height:40px}
body.dispatch-office :is(:is(#orders,#leadsList),#leadsList){padding:0 10px 12px}
body.dispatch-office .dispatch-sheet{max-height:calc(100dvh - 285px - env(safe-area-inset-bottom))}
body.dispatch-office .dispatch-sheet .dispatch-table :is(th,td):first-child{width:150px}
body.dispatch-office .dispatch-sheet .dispatch-table td{height:44px}
}



/* Work-order identity matches the compact Leads queue. */
@media screen {
body.dispatch-office :is(#orders,#leadsList) .dispatch-sheet .dispatch-table{width:1905px;min-width:1905px}
body.dispatch-office :is(#orders,#leadsList) .dispatch-sheet .dispatch-table :is(th,td):first-child{width:240px}
body.dispatch-office :is(#orders,#leadsList) .work-list-identity{display:grid;gap:1px;white-space:normal}
body.dispatch-office :is(#orders,#leadsList) .work-list-identity .dispatch-job-link{min-height:22px;padding:1px 0;font-size:12px;font-weight:600;text-align:left}
body.dispatch-office :is(#orders,#leadsList) .work-list-contact{display:flex;align-items:center;gap:5px;font-size:11px;line-height:1.3;min-width:0}
body.dispatch-office :is(#orders,#leadsList) .work-list-contact .office-contact-actions{display:inline-flex;align-items:center;gap:4px;flex:none}
body.dispatch-office :is(#orders,#leadsList) .work-list-contact .office-contact-actions button{width:20px!important;height:20px!important;min-height:20px!important;padding:2px!important;border:0;background:transparent;color:#2588bc}
body.dispatch-office :is(#orders,#leadsList) .work-list-contact .office-contact-actions button:disabled{opacity:.4;cursor:default}
body.dispatch-office :is(#orders,#leadsList) .work-list-received{display:block;font-size:10px;line-height:1.3;color:#526b7d;font-variant-numeric:tabular-nums;white-space:nowrap}
body.dispatch-office :is(#orders,#leadsList) .work-list-number{display:inline-block;min-height:28px;padding:3px 0;border:0;background:transparent;color:#2588bc;font-family:inherit;font-size:12px;font-weight:600;line-height:1.3;max-width:100%;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}
body.dispatch-office :is(#orders,#leadsList) .dispatch-sheet .dispatch-table td{padding-top:4px;padding-bottom:4px;font-size:12px}
body.dispatch-office :is(#orders,#leadsList) .dispatch-sheet .dispatch-table :is(th,td):nth-child(5){width:210px}
body.dispatch-office :is(#orders,#leadsList) .dispatch-sheet .dispatch-table :is(th,td):nth-child(11){width:180px}
body.dispatch-office :is(#orders,#leadsList) .office-contact-actions button:focus-visible,body.dispatch-office :is(#orders,#leadsList) .work-list-number:focus-visible{outline:2px solid #2588bc;outline-offset:2px}
}
@media screen and (max-width:900px){
body.dispatch-office :is(#orders,#leadsList) .dispatch-sheet .dispatch-table :is(th,td):first-child{width:200px}
}

@media screen {
body.dispatch-office :is(#orders,#leadsList) .dispatch-sheet .dispatch-table :is(th,td):nth-child(2){width:240px}
body.dispatch-office :is(#orders,#leadsList) .dispatch-sheet .dispatch-table :is(th,td):nth-child(3){width:160px}
body.dispatch-office :is(#orders,#leadsList) .dispatch-sheet .dispatch-table :is(th,td):nth-child(4){width:95px}
body.dispatch-office :is(#orders,#leadsList) .dispatch-sheet .dispatch-table :is(th,td):nth-child(6){width:110px}
body.dispatch-office :is(#orders,#leadsList) .dispatch-sheet .dispatch-table :is(th,td):nth-child(7){width:145px}
body.dispatch-office :is(#orders,#leadsList) .dispatch-sheet .dispatch-table :is(th,td):nth-child(8){width:170px}
body.dispatch-office :is(#orders,#leadsList) .dispatch-sheet .dispatch-table :is(th,td):nth-child(9){width:95px}
body.dispatch-office :is(#orders,#leadsList) .dispatch-sheet .dispatch-table :is(th,td):nth-child(10){width:100px}
body.dispatch-office :is(#orders,#leadsList) .dispatch-sheet .dispatch-table :is(th,td):nth-child(12){width:160px}
}

/* Compact Jobs list. Expanded View restores the secondary dispatch columns. */
@media screen {
body.dispatch-office #leadsList .lead-contact-primary>.office-contact-actions{height:20px!important;min-height:0!important;line-height:20px!important;padding:0!important;margin:0!important;align-items:center!important}
body.dispatch-office :is(#workPanel,#leadsPanel)>.panelbar{height:30px!important;min-height:30px!important;margin:0!important;padding:2px 10px!important;gap:6px!important;border-radius:0!important}
body.dispatch-office :is(#workPanel,#leadsPanel)>.panelbar h2{font-size:12px!important;margin:0!important;line-height:18px!important}
body.dispatch-office :is(#workPanel,#leadsPanel)>.panelbar p{display:none!important}
body.dispatch-office :is(#workPanel,#leadsPanel)>.panelbar button{min-height:24px!important;height:24px!important;padding:2px 7px!important;font-size:11px!important}
body.dispatch-office :is(#workPanel,#leadsPanel) .office-task-board{margin:0 10px!important;padding:0 6px!important;font-size:10px!important;border-radius:3px!important}
body.dispatch-office :is(#workPanel,#leadsPanel) .office-task-board>summary{min-height:22px!important;line-height:22px!important;padding:0!important;font-size:10px!important}
body.dispatch-office :is(#workPanel,#leadsPanel)>.dispatch-toolbar{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:4px 8px!important;margin:0!important;padding:2px 10px!important}
body.dispatch-office :is(#workPanel,#leadsPanel) .dispatch-filter-toggle{flex:0 0 auto!important;min-height:24px!important;height:24px!important;margin:0!important;padding:2px 6px!important;gap:5px!important;font-size:10px!important;order:0}
body.dispatch-office :is(#workPanel,#leadsPanel) .dispatch-view-tabs{display:flex!important;flex-wrap:wrap!important;gap:3px!important;margin:0!important;padding:0!important;min-height:0!important;order:1}
body.dispatch-office :is(#workPanel,#leadsPanel) .dispatch-view-tabs button{min-height:24px!important;height:24px!important;padding:2px 7px!important;font-size:10px!important}
body.dispatch-office :is(#workPanel,#leadsPanel) :is(#dispatchResult,#leadListResult){margin:0!important;padding:0!important;font-size:10px!important;line-height:16px!important;order:2}
body.dispatch-office :is(#workPanel,#leadsPanel) .dispatch-filters{order:3;flex:1 1 100%;margin:0!important;padding:5px!important;gap:6px!important}
body.dispatch-office :is(#workPanel,#leadsPanel)>.filters{margin:0!important;padding:2px 10px 5px!important;gap:6px!important}
body.dispatch-office :is(#workPanel,#leadsPanel)>.filters :is(input,select){min-height:28px!important;height:28px!important;padding:3px 7px!important;font-size:12px!important}
body.dispatch-office :is(#workPanel,#leadsPanel)>#workOrderNavigation{display:none!important}
body.dispatch-office :is(#workPanel,#leadsPanel)>.layout{margin:0!important;padding:0!important}
body.dispatch-office :is(#workPanel,#leadsPanel) :is(#orders,#leadsList){padding:0 10px 8px!important;margin:0!important;max-height:none!important;overflow:visible!important}
body.dispatch-office :is(#orders,#leadsList) .dispatch-sheet{max-height:none!important;min-height:0!important;height:auto!important;overflow:auto!important}
body.dispatch-office:not(.dispatch-expanded-view) :is(#orders,#leadsList) .dispatch-table{table-layout:fixed!important;width:100%!important;min-width:1000px!important}
body.dispatch-office:not(.dispatch-expanded-view) :is(#orders,#leadsList) .dispatch-table :is(th,td):is(:nth-child(8),:nth-child(9),:nth-child(11),:nth-child(12)){display:none!important}
body.dispatch-office:not(.dispatch-expanded-view) :is(#orders,#leadsList) .dispatch-table :is(th,td):nth-child(1){width:24%!important}
body.dispatch-office:not(.dispatch-expanded-view) :is(#orders,#leadsList) .dispatch-table :is(th,td):nth-child(2){width:19%!important}
body.dispatch-office:not(.dispatch-expanded-view) :is(#orders,#leadsList) .dispatch-table :is(th,td):nth-child(3){width:12%!important}
body.dispatch-office:not(.dispatch-expanded-view) :is(#orders,#leadsList) .dispatch-table :is(th,td):nth-child(4){width:9%!important}
body.dispatch-office:not(.dispatch-expanded-view) :is(#orders,#leadsList) .dispatch-table :is(th,td):nth-child(5){width:12%!important}
body.dispatch-office:not(.dispatch-expanded-view) :is(#orders,#leadsList) .dispatch-table :is(th,td):nth-child(6){width:9%!important}
body.dispatch-office:not(.dispatch-expanded-view) :is(#orders,#leadsList) .dispatch-table :is(th,td):nth-child(7){width:10%!important}
body.dispatch-office:not(.dispatch-expanded-view) :is(#orders,#leadsList) .dispatch-table :is(th,td):nth-child(10){width:64px!important}
body.dispatch-office :is(#orders,#leadsList) .dispatch-sheet .dispatch-table th{height:25px!important;padding:3px 6px!important;font-size:10px!important}
body.dispatch-office:not(.dispatch-expanded-view) :is(#orders,#leadsList) .dispatch-sheet .dispatch-table td{height:42px!important;padding:3px 6px!important;font-size:11px!important;line-height:16px!important}
body.dispatch-office :is(#orders,#leadsList) .work-list-identity{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:20px 16px!important;align-items:center!important;gap:0 4px!important;min-width:0!important}
body.dispatch-office :is(#orders,#leadsList) .work-list-identity>.dispatch-job-link{grid-column:1;grid-row:1;width:100%!important;min-height:20px!important;height:20px!important;padding:0!important;border:0!important;background:transparent!important;font-size:11px!important;line-height:20px!important;text-align:left!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
body.dispatch-office :is(#orders,#leadsList) .work-list-contact{display:contents!important}
body.dispatch-office :is(#orders,#leadsList) .work-list-contact>span:not(.office-contact-actions){grid-column:1;grid-row:2;font-size:10px!important;line-height:16px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
body.dispatch-office :is(#orders,#leadsList) .work-list-contact>.office-contact-actions{grid-column:2;grid-row:1;display:inline-flex!important;gap:2px!important}
body.dispatch-office :is(#orders,#leadsList) .work-list-contact .office-contact-actions button{width:20px!important;min-height:20px!important;height:20px!important;padding:2px!important}
body.dispatch-office :is(#orders,#leadsList) .work-list-received{grid-column:2;grid-row:2;font-size:9px!important;line-height:16px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:160px!important}
body.dispatch-office :is(#orders,#leadsList) .dispatch-table :is(.dispatch-cell-text,.dispatch-payment-chip,.dispatch-badge){max-width:100%!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;font-size:11px!important;line-height:16px!important}
}
@media screen and (max-width:700px){
body.dispatch-office :is(#workPanel,#leadsPanel)>.filters :is(input,select){font-size:16px!important;min-height:36px!important;height:36px!important}
body.dispatch-office :is(#workPanel,#leadsPanel) .dispatch-view-tabs button,body.dispatch-office :is(#workPanel,#leadsPanel) .dispatch-filter-toggle{min-height:32px!important;height:32px!important}
body.dispatch-office :is(#orders,#leadsList) .work-list-contact .office-contact-actions button{min-height:28px!important;height:28px!important;width:28px!important}
body.dispatch-office :is(#orders,#leadsList) .work-list-identity{grid-template-rows:28px 16px!important}
}

.combined-work-list .work-vehicle-stack .work-vehicle-reference{display:block;font-size:12px!important;overflow-wrap:anywhere;white-space:normal!important}.combined-work-list .web-appointment-request{display:inline-block;font-size:12px;font-weight:600;color:#755015;background:#fff1d8;padding:2px 6px;border-radius:4px}

/* compact-job-workspace.css */
/* Last presentation layer, scoped to the approved open-job workspace. */
@media screen {
 body:has(#detail.compact-job.order-open) #workOrderNavigation{display:none!important}
 body.office-proof.portal-proof #workPanel>.layout>#detail.compact-job.proof-job{
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;min-width:0!important;grid-template-rows:auto auto auto minmax(100px,1fr) auto!important;
  height:auto!important;min-height:0!important;bottom:auto!important;align-content:start!important;
  max-height:calc(100dvh - var(--compact-job-top,90px) - 48px)!important;overflow:hidden!important;padding:0!important;gap:0!important;position:fixed!important;box-sizing:border-box!important;width:auto!important;
  background:var(--night-bg,#f5f8fb)!important;color:var(--night-text,#18334b);
  &>.worktitle{grid-row:1;display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:10px!important;padding:5px 10px!important;min-height:42px!important;height:44px!important;position:relative!important;top:auto!important;border-bottom:1px solid var(--night-line,#dce4ec)}
  &>.worktitle>div:has(>h3){order:0!important;flex:1 1 160px!important;min-width:80px!important}
  &>.worktitle h3{font-size:13px!important;line-height:1.25!important;margin:0!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  &>.worktitle h3 small,&>.worktitle .muted,& .record-type-watermark{display:none!important}
  &>.worktitle .worktitleactions{position:static!important;inset:auto!important;padding:0!important;order:0!important;flex:0 1 auto!important;gap:5px!important;margin:0!important;flex-wrap:nowrap!important}
  &>.worktitle button,&>.worktitle summary{height:30px!important;min-height:30px!important;padding:4px 9px!important;font-size:11px!important;white-space:nowrap!important;width:auto!important;}
  &>.worktitle .dispatch-close{display:none!important}
  &>.worktitle .job-location-status{display:flex!important;flex:0 1 auto;gap:6px!important;align-items:center;min-width:0}
  &>.worktitle .work-order-location{font-size:11px!important;white-space:nowrap!important;width:auto!important;}
  &>.worktitle .job-status-compact{font-size:0!important;display:block!important;min-width:0}
  &>.worktitle #woStatus{font-size:11px!important;height:30px!important;min-height:30px!important;width:110px!important;padding:3px 5px!important;margin:0!important}
  & .compact-job-number{position:relative;font-size:11px;flex:none}
  & .compact-job-number summary{cursor:pointer;list-style:none}
  & .compact-job-number[open] .work-order-number{position:absolute;top:100%;left:0;z-index:15;background:var(--night-panel,#fff);border:1px solid var(--night-line,#ccd7e2);padding:10px;width:250px}
  & .compact-job-number:not([open]) .work-order-number{display:none!important}
  &>.proof-context-bar>.work-order-masthead{display:none!important}
  &>.proof-context-bar{grid-row:2;display:block!important;padding:0!important;min-height:0!important;height:35px!important;border-bottom:1px solid var(--night-line,#dce4ec)}
  & .dispatch-detail-tabs{display:flex!important;gap:0!important;padding:0 8px!important;min-height:34px!important;height:34px!important;overflow-x:auto!important;overflow-y:hidden!important;flex-wrap:nowrap!important}
  & .dispatch-detail-tabs button{font-size:11px!important;min-height:34px!important;padding:5px 12px!important;white-space:nowrap!important;overflow-wrap:normal!important;flex:none!important;width:auto!important;min-width:max-content!important;max-width:none!important;height:34px!important}
  & .dispatch-tab-back{display:none!important}
  &>.proof-vehicle-summary{grid-row:3;display:flex!important;align-items:center!important;flex-wrap:nowrap!important;gap:8px!important;padding:5px 12px!important;margin:0!important;min-height:42px!important;border-radius:0!important;overflow-x:auto}
  &>.proof-vehicle-summary>.proof-row-label{display:none!important}
  &>.proof-vehicle-summary>.proof-vehicle-value{flex:0 1 280px!important;min-width:120px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px!important}
  &>.proof-vehicle-summary>button{flex:none;min-height:28px!important;font-size:10px!important;padding:3px 6px!important}
  & .page-fitment-grid{display:flex!important;flex:1 0 auto!important;gap:10px!important;align-items:center!important;margin:0!important;width:auto!important}
  & .page-fitment-field{display:flex!important;flex-direction:row!important;align-items:center;gap:5px!important;min-width:0!important;margin:0!important;font-size:10px!important}
  & .page-fitment-field>span:first-child{white-space:nowrap}
  & .page-fitment-field:has(#editService){display:none!important}
  & .compact-lookup-field{display:flex!important;align-items:center;gap:2px}
  & .page-fitment-field input{height:28px!important;min-height:28px!important;padding:3px 5px!important;font-size:11px!important;margin:0!important;width:165px!important}
  & #pagePartNumber{width:130px!important}
  & .compact-lookup{display:inline-flex;align-items:center;justify-content:center;min-width:28px!important;width:28px!important;min-height:28px!important;padding:3px!important;color:var(--night-link,#006de0)}
  &>[data-dispatch-pane]{grid-row:4;min-height:0!important;max-height:none!important;overflow:auto!important;padding:8px!important;box-sizing:border-box}
  &>[data-dispatch-pane][hidden]{display:none!important}
  & .work-order-rows{display:flex!important;flex-direction:column!important;gap:7px!important;padding:0!important;min-width:0}
  & .studio-job-cards{display:grid!important;width:100%!important;max-width:none!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:0!important;margin:0!important}
  & .studio-card{min-height:0!important;padding:8px 12px!important;box-shadow:none!important;border-radius:0!important}
  & .studio-card header{margin:0 0 4px!important;padding:0!important;min-height:20px!important}
  & .studio-card header h3{font-size:11px!important;margin:0!important}
  & .studio-card header button{min-height:22px!important;width:24px!important;padding:1px!important}
  & .studio-card-body{display:flex!important;flex-direction:column!important;gap:3px!important;padding:0!important}
  & .proof-value{display:flex!important;gap:6px!important;align-items:baseline;margin:0!important;min-height:0!important;font-size:11px!important;line-height:1.3!important}
  & .proof-value .proof-label{display:none!important}
  & .studio-card .lead-phone-place{display:none!important}
  & .compact-customer-actions{display:inline-flex;gap:2px;align-items:center}
  & .compact-customer-actions button{padding:1px!important;min-width:22px!important;min-height:22px!important;border:0!important;background:transparent!important;color:var(--night-link,#006de0)!important}
  & .job-location-status:has(.shared-lead-status) .job-status-compact{display:none!important}
  & .shared-lead-status{font-size:0!important;min-width:0!important;margin:0!important}
  & #sharedLeadStatus{height:28px!important;min-height:28px!important;font-size:11px!important;padding:3px!important;width:110px!important}
  & .proof-name,& .proof-inline-value{font-size:11px!important;line-height:1.35!important;margin:0!important;overflow-wrap:anywhere}
  & .studio-card:first-child .proof-value:has(.contact-actions){flex-wrap:wrap}
  & .work-section-charges{padding:0!important;margin:0!important;border-radius:4px!important}
  & .work-section-charges>h2{font-size:12px!important;padding:8px 10px!important;margin:0!important;min-height:0!important}
  & .charges-scroll table{margin:0!important}
  & .charges-scroll table :is(th,td){font-size:11px!important;padding:4px 6px!important;height:auto!important}
  & .charges-scroll table :is(input,select){font-size:11px!important;min-height:27px!important;height:27px!important;padding:3px 4px!important;margin:0!important}
  & .charges-actions{padding:4px 8px!important;gap:5px!important}
  & .charges-actions button{min-height:26px!important;font-size:10px!important;padding:3px 7px!important}
  & .compact-totals{padding:6px 10px!important;margin:0!important;border-top:1px solid var(--night-line,#dce4ec)}
  & .compact-totals>h4,& .compact-totals .proof-total-note{display:none!important}
  & .compact-totals .proof-financial-values{display:flex!important;flex-wrap:wrap;gap:5px 18px!important}
  & .compact-totals .proof-total-row{display:flex!important;gap:8px!important;align-items:center;border:0!important;padding:2px 0!important;font-size:11px!important;flex:1 0 auto}
  & .compact-totals .proof-total-row:last-child{color:var(--night-link,#006de0);font-weight:700}
  &>.page-save-status:empty{display:none!important}
  & .record-autosave{position:static!important;max-width:140px!important;margin:0!important;padding:3px!important;font-size:10px!important;min-height:0!important}
  & .record-autosave button{display:none!important}
  & .compact-cost-details,& .compact-insurance-intro{padding:10px}
  & .compact-cost-details .studio-job-rail{display:block!important;position:static!important;width:auto!important;max-width:none!important}
  & .compact-communications{grid-row:5;display:flex!important;flex-direction:column;min-height:0;height:var(--compact-dock-height,260px);background:var(--night-panel,#fff);border-top:2px solid var(--night-line,#cadce9);overflow:hidden;position:relative;z-index:2}
  & .compact-communications.is-collapsed{height:32px}
  & .compact-dock-resize{height:7px;flex:none;cursor:ns-resize;touch-action:none;text-align:center}
  & .compact-dock-resize:before{content:"";display:block;width:32px;height:3px;margin:2px auto;background:#9aafbd;border-radius:3px}
  & .compact-dock-resize:focus-visible{outline:2px solid #1676e9;outline-offset:-2px}
  & .compact-dock-header{display:flex;align-items:center;gap:10px;flex:none;min-height:25px;padding:0 10px}
  & .compact-dock-header strong{font-size:11px}
  & .compact-dock-header>button{margin-left:auto}
  & .compact-dock-header button,& .compact-communication-heading button{min-height:23px!important;padding:2px 6px!important;font-size:10px!important;border:0!important;background:transparent!important;color:var(--night-link,#006de0)!important}
  & .compact-dock-body{display:grid;width:100%;box-sizing:border-box;grid-template-columns:minmax(0,1fr) minmax(0,1fr);flex:1;min-height:0;gap:8px;padding:0 8px 6px}
  & .compact-dock-body[hidden]{display:none!important}
  & :is(.compact-dock-messages,.compact-dock-notes){display:flex;flex-direction:column;min-width:0;min-height:0;border:1px solid var(--night-line,#dce4ec);border-radius:4px;overflow:hidden}
  & .compact-communication-heading{display:flex;align-items:center;justify-content:space-between;min-height:25px;padding:0 8px;flex:none;border-bottom:1px solid var(--night-line,#e7edf2);font-size:11px}
  & .compact-communication-heading small{font-size:10px;color:var(--night-muted,#6d7c89)}
  & .job-chat-host{flex:1!important;min-height:0!important;height:auto!important;display:flex!important;padding:0!important;margin:0!important}
  & #conversation.job-embedded-conversation{display:flex!important;flex-direction:column!important;flex:1;min-height:0!important;height:auto!important;max-height:none!important;width:100%!important;padding:0!important;border:0!important;position:static!important;overflow:hidden!important}
  & .compact-dock-messages .dealerwork{flex:none!important;order:0!important;padding:2px 7px!important;margin:0!important;min-height:0!important;background:var(--night-panel,#fff)!important}
  & .compact-dock-messages .dealerwork label{display:flex!important;align-items:center;gap:6px!important;font-size:10px!important;margin:0!important}
  & .compact-dock-messages #threadVehicle{height:26px!important;min-height:26px!important;padding:2px 4px!important;margin:0!important;font-size:10px!important;width:auto!important;max-width:75%}
  & .compact-dock-messages .photo-composer{margin:0!important;padding:3px!important;font-size:10px!important}
  & .compact-dock-messages .compact-attach{padding:2px!important;min-height:28px!important;width:auto!important;min-width:36px!important;font-size:10px!important;}
  & .compact-dock-notes .document-notes{display:none!important}
  & .compact-dock-messages .chathead{display:none!important}
  & .compact-dock-messages .chatbody{flex:1 1 60px!important;min-height:40px!important;max-height:none!important;overflow:auto!important;padding:5px 8px!important;margin:0!important;order:1!important;scrollbar-width:thin}
  & .compact-dock-messages .bubble{font-size:11px!important;line-height:1.3!important;padding:5px 8px!important;margin:0 0 5px!important;max-width:85%!important;min-height:0!important}
  & .compact-dock-messages .bubble :is(small,time){font-size:9px!important;line-height:1.2!important;margin:2px 0 0!important}
  & .compact-dock-messages .bubble.out{margin-left:auto!important;background:var(--night-raised,#e8f2ff)!important;color:var(--night-text,#18334b)!important}
  & .compact-dock-messages .bubble.in{background:var(--night-raised,#edf1f5)!important;color:var(--night-text,#18334b)!important}
  & .compact-dock-messages .bubble .message-delete{display:none!important}
  & .compact-dock-messages .bubble:is(:hover,:focus-within) .message-delete{display:inline-flex!important}
  & .charges-totals{margin:0!important;padding:5px 8px!important;min-height:0!important}
  & .charges-totals label{margin:0!important;min-height:0!important;font-size:10px!important}
  & .charges-totals input{height:27px!important;min-height:27px!important;padding:3px!important;margin:0!important}
  & .work-order-charges>p:empty{display:none!important}
  & .compact-dock-messages .composer{display:flex!important;flex-wrap:wrap!important;align-items:center;gap:4px!important;flex:none!important;order:2!important;padding:4px 7px!important;margin:0!important;border-top:1px solid var(--night-line,#e7edf2)}
  & .compact-dock-messages .composer>small{display:none!important}
  & .compact-dock-messages .composer textarea{flex:1 1 60%!important;width:auto!important;min-height:32px!important;height:32px!important;max-height:90px;font-size:11px!important;padding:6px!important;margin:0!important;resize:vertical}
  & .compact-dock-messages .message-tools{flex:0 1 auto!important;margin:0!important;padding:0!important;font-size:10px!important}
  & .compact-dock-messages .message-tools[open]{flex:1 0 100%!important;max-height:135px;overflow:auto}
  & .compact-dock-messages .message-tools summary{min-height:22px!important;padding:3px!important}
  & .compact-dock-messages .inbox-sendbar{order:3!important;padding:3px 7px!important;display:flex!important;flex-wrap:wrap;justify-content:flex-end;align-items:center;flex:none!important}
  & .compact-dock-messages #sendCustom{min-height:28px!important;height:28px!important;min-width:65px!important;padding:3px 10px!important;font-size:11px!important}
  & .compact-dock-messages :is(#customerMessageStatus,.coord-message-work){font-size:10px!important;line-height:1.25!important;padding:2px 6px!important;margin:0!important;flex:none}
  & .compact-dock-messages .coord-message-work{order:0!important;max-height:45px;overflow:auto}
  & .compact-dock-messages .coord-message-work :is(p,button){font-size:10px!important;padding:1px 4px!important;min-height:20px!important;margin:0!important}
  & .compact-dock-notes .work-section-notes{display:flex!important;flex-direction:column;min-height:0!important;flex:1;padding:0!important;margin:0!important;border:0!important;overflow:hidden!important}
  & .compact-dock-notes .work-section-notes>h2,& .compact-dock-notes .work-section-notes>label{display:none!important}
  & .compact-dock-notes .coord-notes{display:flex!important;flex-direction:column!important;min-height:0!important;flex:1!important;padding:0!important;margin:0!important;overflow:hidden!important}
  & .compact-dock-notes .coord-notes-toolbar{display:flex!important;flex:none;min-height:20px!important;padding:0 7px!important}
  & .compact-dock-notes .coord-notes-toolbar>b{font-size:10px!important}
  & .compact-dock-notes .coord-note-list{flex:1!important;min-height:35px!important;overflow:auto!important;padding:3px 7px!important;max-height:none!important;scrollbar-width:thin}
  & .compact-dock-notes .coord-thread{margin:0 0 4px!important}
  & .compact-dock-notes .coord-note{padding:5px 7px!important;margin:0!important;border-radius:3px!important;background:var(--night-raised,#fffbf2)!important}
  & .compact-dock-notes .coord-subnote{margin:3px 0 0 16px!important;border-left:2px solid var(--night-line,#d8e1e9)!important}
  & .compact-dock-notes .coord-note :is(header,p,small,time,span,strong){font-size:10px!important;line-height:1.3!important;margin:0!important}
  & .compact-dock-notes .coord-note-actions{display:flex;gap:5px;margin:2px 0 0!important}
  & .compact-dock-notes button{min-height:20px!important;padding:2px 5px!important;font-size:10px!important}
  & .compact-dock-notes .coord-note-form{display:flex!important;flex-wrap:wrap;align-items:center;gap:4px;padding:4px 7px!important;flex:none;border-top:1px solid var(--night-line,#e7edf2);margin:0!important}
  & .compact-dock-notes .coord-note-form>label{font-size:10px!important;flex:1 1 60%;margin:0!important}
  & .compact-dock-notes .coord-note-input{font-size:11px!important;min-height:30px!important;height:30px!important;padding:5px!important;max-height:80px;resize:vertical;margin:0!important}
  & .compact-dock-notes .coord-important-option input{width:12px!important;height:12px!important;min-height:12px!important;margin:0 3px 0 0!important}
  & .compact-dock-notes .coord-important-option{font-size:9px!important;margin:0!important}
  & .compact-dock-notes :is(.coord-review-notice,.coord-review-complete,.coord-status){font-size:10px!important;margin:0!important;padding:1px 7px!important}
  & .compact-dock-notes .coord-status:empty{display:none!important}
  & .compact-dock-mobile-tabs{display:none}
 }
 @media(max-width:900px){
  body.classic-phone-enabled:has(#detail.compact-job.order-open) .office-softphone{position:fixed!important;inset:auto 8px 7px auto!important;margin:0!important;width:auto!important;max-width:calc(100vw - 16px)!important;max-height:40px!important;overflow:visible!important}
  body.classic-phone-enabled:has(#detail.compact-job.order-open) .office-softphone .phone-toolbar{display:flex!important;align-items:center;gap:4px!important;min-height:32px!important;padding:3px 6px!important;border:1px solid var(--night-line,#dce2e7)!important;border-radius:8px!important;background:var(--night-panel,#fff)!important}
  body.classic-phone-enabled:has(#detail.compact-job.order-open) .office-softphone .phone-toolbar :is(.phone-heading,[data-status]){display:none!important}
  body.classic-phone-enabled:has(#detail.compact-job.order-open) .office-softphone .phone-toolbar button{min-height:27px!important;padding:3px 6px!important;font-size:10px!important}
 }
 @media(max-width:760px){
  body.office-proof.portal-proof #workPanel>.layout>#detail.compact-job.proof-job{min-height:0!important;grid-template-rows:auto auto auto minmax(60px,1fr) auto!important;
   &>.worktitle{height:auto!important;flex-wrap:wrap!important;gap:3px 8px!important;padding:4px 7px!important}
   &>.worktitle>div:has(>h3){flex:1 1 50%!important}
   &>.worktitle .worktitleactions{flex:1 1 100%!important;justify-content:flex-start!important;min-width:0!important;max-width:100%!important;overflow-x:auto!important;}
   &>.worktitle .job-location-status{flex:1 1 auto}
   &>.worktitle .work-order-location{max-width:115px;overflow:hidden;text-overflow:ellipsis}
   & .compact-job-number{display:none}
   & .record-autosave{margin-right:auto!important;flex:0 0 86px!important;max-width:86px!important;min-width:0!important;height:24px!important;white-space:nowrap!important;overflow:hidden!important;}
   & .record-autosave>span{display:block;white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis;max-width:80px;}
   & .studio-job-cards{grid-template-columns:1fr!important}
   & .studio-card{padding:5px 8px!important}
   & .studio-card-body{display:flex!important;min-width:0;max-width:100%;flex-direction:row!important;flex-wrap:wrap;gap:3px 9px!important}
   & .compact-dock-body{grid-template-columns:minmax(0,1fr)}
   & .compact-dock-mobile-tabs{display:flex;gap:4px}
   & .compact-dock-mobile-tabs button[aria-pressed="true"]{border-bottom:2px solid #0879eb!important}
   & .compact-dock-header>strong{display:none}
   & .compact-dock-header{min-width:0;max-width:100%;box-sizing:border-box}
   & .compact-communications{width:100%;max-width:100%;min-width:0;box-sizing:border-box}
   & .compact-dock-notes .coord-note-form{min-width:0;max-width:100%;box-sizing:border-box}
   & .compact-dock-notes .coord-note-form>label{min-width:0;max-width:100%;flex:1 1 100%}
   & .compact-dock-notes .coord-note-input{width:100%;box-sizing:border-box}
   & .compact-dock-notes .coord-note-form>div{display:flex;flex-wrap:wrap;align-items:center;gap:3px;min-width:0;max-width:100%}
   & .proof-value{min-width:0;max-width:100%;flex-wrap:wrap;white-space:normal!important;overflow-wrap:anywhere}
   & .compact-communications[data-mobile-view="messages"] .compact-dock-notes,& .compact-communications[data-mobile-view="notes"] .compact-dock-messages{display:none}
   &>.proof-vehicle-summary{gap:5px!important}
   &>.proof-vehicle-summary>.proof-vehicle-value{flex:0 0 240px!important}
  }
 }
}
@media print{
 .compact-communications,.compact-job-back,.compact-job-number{display:none!important}
 #detail.compact-job{height:auto!important;overflow:visible!important}
}


/* Keep Smarty in the job menu instead of behind the activity feed. */
@media screen{body.office-proof #detail.compact-job .proof-quick-actions .actions>.studio-smarty{position:static!important;inset:auto!important;margin:0!important;box-shadow:none!important;display:block!important;text-align:left}}

/* Let tablet and landscape headers make room for notes and coordinator controls. */
@media screen and (min-width:761px) and (max-width:1000px){body.office-proof.portal-proof #workPanel>.layout>#detail.compact-job.proof-job>.worktitle{height:auto!important;flex-wrap:wrap!important;gap:4px 8px!important}body.office-proof.portal-proof #detail.compact-job>.worktitle .worktitleactions{flex:1 1 auto!important;flex-wrap:wrap!important;min-width:0!important;max-width:100%!important}}

/* Only the content panes scroll; focusing a field must not move the job header. */
@media screen{body.office-proof.portal-proof #workPanel>.layout>#detail.compact-job.proof-job{overflow:clip!important}}
@media screen and (max-height:600px){body.office-proof.portal-proof #workPanel>.layout>#detail.compact-job.proof-job{grid-template-rows:auto auto auto minmax(60px,1fr) auto!important}}
@media screen and (min-width:761px) and (max-width:900px){body.office-proof.portal-proof #workPanel>.layout>#detail.compact-job.proof-job{top:var(--compact-job-safe-top,72px)!important;max-height:calc(100dvh - var(--compact-job-safe-top,72px) - 48px)!important}}

@media screen{body.office-proof.portal-proof #detail.compact-job>.worktitle:has(.proof-quick-actions[open]){z-index:20!important}}

/* Preserve complete header rows and reserve the floating call controls on every tab. */
@media screen{body.office-proof.portal-proof #workPanel>.layout>#detail.compact-job.proof-job,body.office-proof.portal-proof #workPanel>.layout>#detail.compact-job.proof-job:has(#invoicePanel:not(.hidden)){grid-template-rows:max-content max-content max-content minmax(100px,1fr) max-content!important;max-height:calc(100dvh - var(--compact-job-top,90px) - var(--compact-job-bottom-space,48px))!important}}
@media screen and (max-width:760px),screen and (max-height:600px){body.office-proof.portal-proof #workPanel>.layout>#detail.compact-job.proof-job,body.office-proof.portal-proof #workPanel>.layout>#detail.compact-job.proof-job:has(#invoicePanel:not(.hidden)){grid-template-rows:max-content max-content max-content minmax(60px,1fr) max-content!important}}
@media screen and (min-width:761px) and (max-width:900px){body.office-proof.portal-proof #workPanel>.layout>#detail.compact-job.proof-job,body.office-proof.portal-proof #workPanel>.layout>#detail.compact-job.proof-job:has(#invoicePanel:not(.hidden)){top:var(--compact-job-safe-top,72px)!important}}

/* Anchor the desktop menu inward so its final actions do not extend offscreen. */
@media screen and (min-width:901px){body.office-proof.portal-proof #detail.compact-job .proof-quick-actions[open]>.actions{left:auto!important;right:0!important;max-width:calc(100vw - 24px)!important;max-height:calc(100dvh - 160px);overflow:auto}}

/* In a short call window, use the existing Messages/Notes tabs instead of a second activity strip. */
@media screen and (max-width:1000px) and (max-height:500px){body.office-proof.portal-proof.office-call-active #workPanel>.layout>#detail.compact-job.proof-job>.compact-communications{display:none!important}}

/* Landscape phones keep the form reachable; Messages still opens its composer. */
@media screen and (max-height:500px){
body.office-proof.portal-proof #workPanel>.layout>#detail.compact-job.proof-job,
body.office-proof.portal-proof #workPanel>.layout>#detail.compact-job.proof-job:has(#invoicePanel:not(.hidden)){grid-template-rows:max-content max-content max-content minmax(0,1fr)!important}
body.office-proof.portal-proof #workPanel>.layout>#detail.compact-job.proof-job>.compact-communications{display:none!important}
}

/* message-composer.css */
/* Shared compact messages. Loaded after the Office presentation layers. */
body :is(#workPanel #detail,#messagesPanel,.lead-message-dialog,#leadDetail) #conversation.message-composer-ready{min-width:0;min-height:0}
body :is(#workPanel #detail,#messagesPanel,.lead-message-dialog,#leadDetail) #conversation.message-composer-ready .composer{display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;align-items:stretch!important;gap:3px!important;padding:5px 8px!important;margin:0!important;flex:0 0 auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;position:relative!important;order:2!important}
body :is(#workPanel #detail,#messagesPanel,.lead-message-dialog,#leadDetail) #conversation.message-composer-ready .message-recipient-context{display:flex;align-items:center;gap:7px;min-width:0;font-size:10px;line-height:16px;color:var(--night-text,#24415a)}
body :is(#workPanel #detail,#messagesPanel,.lead-message-dialog,#leadDetail) #conversation.message-composer-ready .message-recipient-context>*{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0!important;font-size:10px!important}
body :is(#workPanel #detail,#messagesPanel,.lead-message-dialog,#leadDetail) #conversation.message-composer-ready .message-recipient-context>strong{max-width:35%}
body :is(#workPanel #detail,#messagesPanel,.lead-message-dialog,#leadDetail) #conversation.message-composer-ready .message-recipient-context>span{flex:none}
body :is(#workPanel #detail,#messagesPanel,.lead-message-dialog,#leadDetail) #conversation.message-composer-ready .message-recipient-context>small{flex:1;opacity:.7}
body :is(#workPanel #detail,#messagesPanel,.lead-message-dialog,#leadDetail) #conversation.message-composer-ready .composer>textarea{display:block!important;flex:none!important;box-sizing:border-box!important;width:100%!important;height:44px;min-height:42px!important;max-height:100px!important;padding:5px 7px!important;margin:0!important;font:12px/16px system-ui,sans-serif!important;resize:none!important;border:1px solid var(--night-line,#cbd8e5)!important;border-radius:4px!important;background:var(--night-panel,#fff)!important;color:var(--night-text,#20364b)!important}
body :is(#workPanel #detail,#messagesPanel,.lead-message-dialog,#leadDetail) #conversation.message-composer-ready .message-composer-toolbar{display:flex!important;align-items:center!important;gap:4px!important;flex-wrap:nowrap!important;min-width:0!important;min-height:28px!important;padding:0!important}
body :is(#workPanel #detail,#messagesPanel,.lead-message-dialog,#leadDetail) #conversation.message-composer-ready .message-composer-toolbar>button,body :is(#workPanel #detail,#messagesPanel,.lead-message-dialog,#leadDetail) #conversation.message-composer-ready .message-composer-more>summary{min-height:26px!important;height:26px!important;min-width:0!important;padding:3px 7px!important;margin:0!important;font:11px/18px system-ui,sans-serif!important;white-space:nowrap!important;border:1px solid var(--night-line,#d7e1eb)!important;border-radius:4px!important;cursor:pointer}
body :is(#workPanel #detail,#messagesPanel,.lead-message-dialog,#leadDetail) #conversation.message-composer-ready .message-composer-toolbar>button:not(.primary){color:var(--night-link,#1769a9)!important;background:var(--night-panel,#fff)!important}
body :is(#workPanel #detail,#messagesPanel,.lead-message-dialog,#leadDetail) #conversation.message-composer-ready .message-composer-toolbar :is(#sendCustom,#sendUnmatched){margin-left:auto!important;min-width:54px!important;background:#087be5!important;border-color:#087be5!important;color:#fff!important;flex:none!important}
body :is(#workPanel #detail,#messagesPanel,.lead-message-dialog,#leadDetail) #conversation.message-composer-ready .message-draft-state{flex:1;min-width:0;font:9px/12px system-ui,sans-serif!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:.7}
body :is(#workPanel #detail,#messagesPanel,.lead-message-dialog,#leadDetail) #conversation.message-composer-ready .message-fields-warning{font:10px/14px system-ui,sans-serif;color:var(--night-warning,#985c00)}
body :is(#workPanel #detail,#messagesPanel,.lead-message-dialog,#leadDetail) #conversation.message-composer-ready .message-fields-warning[hidden]{display:none!important}
body :is(#workPanel #detail,#messagesPanel,.lead-message-dialog,#leadDetail) #conversation.message-composer-ready .composer>small.message-fields-warning:not([hidden]){display:block!important}
body :is(#workPanel #detail,#messagesPanel,.lead-message-dialog,#leadDetail) #conversation.message-composer-ready .message-composer-more{position:relative;flex:none;margin:0;padding:0}
body :is(#workPanel #detail,#messagesPanel,.lead-message-dialog,#leadDetail) #conversation.message-composer-ready .message-composer-more>summary{display:block;list-style:none;background:var(--night-panel,#fff);color:var(--night-link,#1769a9)}
body :is(#workPanel #detail,#messagesPanel,.lead-message-dialog,#leadDetail) #conversation.message-composer-ready .message-composer-more-body{position:absolute;right:0;bottom:calc(100% + 5px);z-index:80;width:min(300px,75vw);max-height:240px;overflow:auto;box-sizing:border-box;padding:8px;background:var(--night-panel,#fff);color:var(--night-text,#20364b);border:1px solid var(--night-line,#cad7e3);box-shadow:0 3px 18px #173a5426;border-radius:5px}
body :is(#workPanel #detail,#messagesPanel,.lead-message-dialog,#leadDetail) #conversation.message-composer-ready .message-composer-more:not([open]) .message-composer-more-body{display:none!important}
body :is(#workPanel #detail,#messagesPanel,.lead-message-dialog,#leadDetail) #conversation.message-composer-ready .message-composer-more-body>button{display:block;width:100%;min-height:30px;font-size:11px;text-align:left;margin:3px 0}
body :is(#workPanel #detail,#messagesPanel,.lead-message-dialog,#leadDetail) #conversation.message-composer-ready .message-composer-more-body :is(input,select,textarea){box-sizing:border-box;max-width:100%}
body :is(#workPanel #detail,#messagesPanel,.lead-message-dialog,#leadDetail) #conversation.message-composer-ready .composer>.compact-attach,body :is(#workPanel #detail,#messagesPanel,.lead-message-dialog,#leadDetail) #conversation.message-composer-ready .composer>small:not(.message-fields-warning):not(.sms-segment-counter),body :is(#workPanel #detail,#messagesPanel,.lead-message-dialog,#leadDetail) #conversation.message-composer-ready .message-tools[hidden]{display:none!important}
body :is(#workPanel #detail,#messagesPanel,.lead-message-dialog,#leadDetail) #conversation.message-composer-ready :is(.inbox-sendbar,.lead-message-sendbar):empty{display:none!important}
body :is(#workPanel #detail,#messagesPanel,.lead-message-dialog,#leadDetail) #conversation.message-composer-ready :is(#customerMessageStatus,#unmatchedReplyStatus){font:10px/14px system-ui,sans-serif!important;margin:0!important;padding:2px 6px!important;min-height:0!important}
body :is(#workPanel #detail,#messagesPanel,.lead-message-dialog,#leadDetail) #conversation.message-composer-ready :is(#customerMessageStatus,#unmatchedReplyStatus):empty{display:none!important}
body :is(#workPanel #detail,#messagesPanel,.lead-message-dialog,#leadDetail) #conversation.message-composer-ready .chatbody{order:1!important;min-height:36px!important;flex:1 1 auto!important;overflow:auto!important}
body .message-template-dialog,body .message-drafts-dialog,body .message-template-editor{box-sizing:border-box;border:1px solid var(--night-line,#c5d4e2);border-radius:7px;padding:0;background:var(--night-panel,#fff);color:var(--night-text,#1c364e);width:min(720px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:90dvh;font:12px/1.4 system-ui,sans-serif;box-shadow:0 12px 48px #10294040}
body :is(.message-template-dialog,.message-drafts-dialog,.message-template-editor)::backdrop{background:#102d4859}
body :is(.message-template-dialog,.message-drafts-dialog,.message-template-editor)>header{display:flex;align-items:center;justify-content:space-between;padding:9px 12px;border-bottom:1px solid var(--night-line,#dce5ee)}
body :is(.message-template-dialog,.message-drafts-dialog,.message-template-editor) button{font:11px/16px system-ui,sans-serif;min-height:30px;padding:4px 8px;cursor:pointer;background:var(--night-panel,#fff);color:var(--night-link,#1669a9);border:1px solid var(--night-line,#cfdae5);border-radius:4px}
body :is(.message-template-dialog,.message-drafts-dialog,.message-template-editor) button:disabled{opacity:.5;cursor:default}
body .message-template-filters{display:flex;gap:6px;padding:9px 12px}
body .message-template-filters input{flex:1;min-width:0}
body :is(.message-template-dialog,.message-template-editor) :is(input,select,textarea){font:12px/18px system-ui,sans-serif;padding:6px;border:1px solid var(--night-line,#cad7e3);border-radius:4px;background:var(--night-panel,#fff);color:inherit;box-sizing:border-box}
body .message-template-grid{display:grid;grid-template-columns:230px minmax(0,1fr);gap:12px;padding:0 12px;min-height:230px;max-height:48dvh}
body .message-template-list{overflow:auto;min-height:0;display:flex;flex-direction:column;gap:4px}
body .message-template-item{display:block;text-align:left;flex:none;width:100%}
body .message-template-item[aria-pressed="true"]{border-color:#087be5;background:var(--night-raised,#eaf4ff)}
body .message-template-item>strong,body .message-template-item>small{display:block;font-size:11px}
body .message-template-item>small{font-size:10px;opacity:.7}
body .message-template-preview{padding:9px;border:1px solid var(--night-line,#d9e2ec);border-radius:4px;overflow:auto;min-width:0}
body .message-template-preview>p{white-space:pre-wrap;overflow-wrap:anywhere}
body .message-template-missing{color:var(--night-warning,#8b610d)}
body .message-template-dialog>footer{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:5px;padding:9px 12px;border-top:1px solid var(--night-line,#dce5ee)}
body .message-template-dialog>footer>button:last-child{background:#087be5;color:white;border-color:#087be5}
body .message-template-status{padding:2px 12px;font-size:10px;min-height:14px}
body .message-template-editor{width:min(480px,calc(100vw - 24px))}
body .message-template-editor form{display:grid;gap:8px;padding:12px}
body .message-template-editor label{display:grid;gap:3px;font-size:11px}
body .message-template-editor textarea{width:100%;resize:vertical}
body .message-drafts-dialog{width:min(520px,calc(100vw - 24px))}
body .message-drafts-list{padding:8px;max-height:65dvh;overflow:auto}
body .message-drafts-list>article{display:flex;gap:6px;align-items:center;border-bottom:1px solid var(--night-line,#e1e8ef);padding:5px 0}
body .message-drafts-list>article>button:first-child{flex:1;min-width:0;text-align:left;border:0}
body .message-drafts-list :is(strong,span,small){display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body .message-drafts-list small{font-size:10px;opacity:.7}
body .compact-dock-notes .coord-note:not(.coord-note-expanded)>p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body .compact-dock-notes .coord-thread-replies>summary{font-size:10px;cursor:pointer;color:var(--night-link,#1769a9);padding:2px 6px}
body .compact-dock-notes .coord-notes-toolbar>b{display:none}
body .compact-dock-notes .coord-notes-toolbar{justify-content:flex-end}
body .office-softphone .compact-draft{padding:8px!important;gap:6px!important}
body .office-softphone .compact-draft>label{font-size:10px!important;margin:2px 0!important}
body .office-softphone .compact-draft>textarea{min-height:50px!important;height:54px!important;font-size:12px!important;padding:6px!important;box-sizing:border-box;width:100%}
body .office-softphone .compact-draft .message-composer-toolbar{display:flex;align-items:center;gap:4px;flex-wrap:wrap}
body .office-softphone .compact-draft .message-composer-toolbar>button{min-height:28px;padding:3px 6px;font-size:10px}
body .office-softphone .compact-draft .message-draft-state{font-size:9px;flex:1;min-width:60px}
body .office-softphone .compact-draft .draft-actions:empty,body .office-softphone .compact-draft>[hidden]{display:none!important}
@media(max-width:700px){
body :is(#workPanel #detail,#messagesPanel,.lead-message-dialog,#leadDetail) #conversation.message-composer-ready .composer>textarea{font-size:16px!important;min-height:44px!important}
body :is(#workPanel #detail,#messagesPanel,.lead-message-dialog,#leadDetail) #conversation.message-composer-ready .message-composer-toolbar{flex-wrap:wrap!important}
body :is(#workPanel #detail,#messagesPanel,.lead-message-dialog,#leadDetail) #conversation.message-composer-ready .message-composer-toolbar>button,body :is(#workPanel #detail,#messagesPanel,.lead-message-dialog,#leadDetail) #conversation.message-composer-ready .message-composer-more>summary{min-height:32px!important;height:32px!important}
body :is(#workPanel #detail,#messagesPanel,.lead-message-dialog,#leadDetail) #conversation.message-composer-ready .message-draft-state{display:none}
body .message-template-grid{grid-template-columns:1fr;min-height:0;max-height:57dvh}
body .message-template-list{max-height:22dvh}
body .message-template-preview{max-height:24dvh}
body .message-template-filters input,body .message-template-editor :is(input,select,textarea){font-size:16px}
body .message-template-filters select{max-width:140px}
body .message-template-dialog>footer{padding:7px}
body .office-softphone .compact-draft>textarea{font-size:16px!important}
}

body :is(#workPanel #detail,#messagesPanel,.lead-message-dialog,#leadDetail) #conversation.message-composer-ready .message-composer-more-body[popover]{position:fixed;inset:auto 12px 70px auto;margin:0}
body :is(#workPanel #detail,#messagesPanel,.lead-message-dialog,#leadDetail) #conversation.message-composer-ready .message-composer-more-body[popover]:not(:popover-open){display:none!important}

body .message-inline-photos{margin:8px 0;padding:10px;border:1px solid var(--night-line,#d9e2ec);border-radius:6px;min-width:0}body .message-inline-photos[hidden]{display:none!important}body .message-inline-photos>.photo-actions,body .message-inline-photos>small{display:none}body .message-inline-photos .message-attachment-heading{display:block;margin-bottom:8px;font-size:13px}body .message-inline-photos .photo-status{margin:6px 0 0;font-size:13px}

body .message-inline-photos{flex:0 0 100%!important;width:100%!important;box-sizing:border-box!important}body .message-inline-photos .photo-previews{min-height:0!important;max-height:none!important;overflow:visible!important}

body#officeModernPortal.office-modern #workPanel #detail#detail #conversation.message-composer-ready .composer>.sms-segment-counter{display:block!important;flex:none!important;min-height:16px!important;max-height:none!important;margin:0!important;font:11px/16px system-ui!important;opacity:1!important}
body .sms-segment-counter[data-over-limit=true]{color:#b42318!important;font-weight:650!important}

/* activity-workspace.css */
/* A single activity list. Writing is on demand; the job remains interactive. */
@media screen {
 body.office-proof.portal-proof #workPanel>.layout>#detail.compact-job.proof-job {
  & .activity-workspace{height:var(--compact-dock-height,156px);border-top:1px solid var(--night-line,#dce4ec);background:var(--night-panel,#fff)}
  & .activity-workspace.is-collapsed{height:32px}
  & .activity-workspace .compact-dock-resize{height:5px}
  & .activity-workspace .compact-dock-header{gap:4px 7px;min-height:30px;height:auto!important;padding:0 12px;border-bottom:1px solid var(--night-line,#edf1f5);flex-wrap:wrap;overflow:visible}
  & .activity-workspace .compact-dock-header>strong{display:block;font-size:11px}
  & .activity-filters{display:flex;gap:2px;margin-right:auto;white-space:nowrap}
  & .activity-filters button[aria-pressed="true"]{color:var(--night-text,#18334b)!important;border-bottom:2px solid #087be5!important;font-weight:650}
  & .activity-workspace .compact-dock-header>button{margin-left:0;flex:none}
  & .activity-workspace .compact-dock-header button{font:11px/18px system-ui,sans-serif!important;border-radius:0!important}
  & .activity-workspace .compact-dock-header .activity-text-action{font-weight:650;color:var(--night-link,#076fcb)!important}
  & .activity-workspace [hidden],& .compact-activity-popup[hidden],& .compact-activity-popup [hidden]{display:none!important}
  & .activity-unread{color:var(--night-warning,#a15d00)!important;font-weight:650}
  & .activity-unread:before{content:'●';margin-right:4px}
  & .activity-review{color:var(--night-warning,#a15d00)!important}
  & .activity-workspace .compact-dock-body{display:block;padding:0;overflow:hidden}
  & .activity-feed{height:100%;overflow:auto;scrollbar-width:thin;padding:0 12px;box-sizing:border-box}
  & .activity-row{margin:0!important;padding:0!important;border:0!important;border-bottom:1px solid var(--night-line,#edf1f5)!important;background:transparent!important;border-radius:0!important;box-shadow:none!important}
  & .activity-row>summary{display:flex;align-items:center;gap:8px;min-height:29px;cursor:pointer;list-style:none;font:11px/17px system-ui,sans-serif!important;padding:2px 0!important;margin:0!important}
  & .activity-row>summary::-webkit-details-marker{display:none}
  & .activity-row>summary:after{content:'›';color:var(--night-muted,#6c7a89);width:12px;flex:none;text-align:center}
  & .activity-row[open]>summary:after{content:'⌄'}
  & .activity-row>summary:hover{background:var(--night-raised,#f5f9fd)}
  & .activity-row>summary:focus-visible{outline:2px solid #087be5;outline-offset:-2px}
  & .activity-kind{width:18px;flex:none;color:var(--night-link,#1676b6);font-size:12px;text-align:center}
  & .activity-row.is-important .activity-kind{color:var(--night-warning,#a15d00)}
  & .activity-meta{flex:0 1 190px;max-width:190px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  & .activity-preview{flex:1;min-width:30px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  & .activity-row>summary>time{color:var(--night-muted,#718091);font-size:10px;white-space:nowrap;flex:none}
  & .activity-row-detail{padding:3px 25px 8px;font:12px/1.5 system-ui,sans-serif;overflow-wrap:anywhere}
  & .activity-row-detail .bubble,& .activity-row-detail .coord-note{max-width:none!important;width:auto!important;display:block!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;color:inherit!important;padding:0!important;margin:0!important}
  & .activity-row-detail .bubble>div,& .activity-row-detail .coord-note>p{white-space:pre-wrap!important;display:block!important;-webkit-line-clamp:unset!important;max-height:none!important;overflow:visible!important;font-size:12px!important;margin:3px 0!important}
  & .activity-row-detail :is(.coord-note header,.message-attribution,time){font-size:10px!important;color:var(--night-muted,#6c7b8a)}
  & .activity-row-detail .coord-note header{display:flex;flex-wrap:wrap;gap:6px}
  & .activity-row-detail button,& .activity-row-actions button{padding:2px 5px!important;border:0!important;background:transparent!important;color:var(--night-link,#1769a9)!important;font-size:11px!important;min-height:26px!important}
  & .activity-replies{margin:3px 0 0 6px;border-left:1px solid var(--night-line,#d7e1eb);padding-left:12px}
  & .activity-replies>summary{font-size:11px;cursor:pointer;color:var(--night-link,#1769a9)}
  & .activity-note-detail{padding:2px 0}
  & .activity-empty{font:11px/20px system-ui,sans-serif;color:var(--night-muted,#718091);margin:6px 0}
  & .activity-empty-action{display:inline-block!important;margin-left:8px;border:0!important;background:transparent!important;color:var(--night-link,#1769a9)!important;font:inherit!important;min-height:28px!important;padding:2px 5px!important;text-decoration:underline;cursor:pointer}
  & .compact-activity-popup{position:fixed!important;right:16px!important;bottom:58px!important;top:auto!important;left:auto!important;z-index:110!important;display:flex!important;flex-direction:column!important;width:min(460px,calc(100vw - 32px))!important;max-width:calc(100vw - 32px)!important;height:min(430px,calc(100dvh - 130px))!important;max-height:calc(100dvh - 80px)!important;min-height:0!important;box-sizing:border-box!important;padding:0!important;margin:0!important;border:1px solid var(--night-line,#c6d5e2)!important;border-radius:9px!important;box-shadow:0 8px 32px #13334826!important;background:var(--night-panel,#fff)!important;color:var(--night-text,#18334b)!important;overflow:hidden!important}
  & .compact-activity-popup.is-expanded{width:min(760px,calc(100vw - 32px))!important;height:min(660px,calc(100dvh - 110px))!important}
  & .activity-popup-header{display:flex;align-items:center;gap:4px;padding:7px 10px;min-height:30px;flex:none;border-bottom:1px solid var(--night-line,#e7edf2);cursor:grab;touch-action:none}
  & .activity-popup-header:focus-visible{outline:2px solid #087be5;outline-offset:-2px}
  & .compact-activity-popup.is-dragging,& .compact-activity-popup.is-dragging .activity-popup-header{cursor:grabbing;user-select:none}
  & .activity-popup-identity{display:flex;align-items:center;gap:8px;flex:1;min-width:0;overflow:hidden}
  & .activity-popup-identity strong{font:600 12px/18px system-ui,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  & .activity-popup-identity small{font:10px/18px system-ui,sans-serif;color:var(--night-muted,#647687);white-space:nowrap}
  & .activity-popup-header button{min-height:28px!important;min-width:28px!important;padding:2px!important;border:0!important;background:transparent!important;color:inherit!important;font-size:17px!important}
  & .activity-popup-tabs{display:flex;flex:none;gap:12px;padding:0 12px;border-bottom:1px solid var(--night-line,#e7edf2)}
  & .activity-popup-tabs button{padding:5px 0!important;min-height:30px!important;background:transparent!important;color:var(--night-muted,#647687)!important;font-size:11px!important;border:0!important;border-radius:0!important}
  & .activity-popup-tabs button[aria-pressed="true"]{color:var(--night-link,#076fcb)!important;border-bottom:2px solid #087be5!important}
  & .activity-popup-body{display:flex;flex:1;min-height:0;overflow:hidden}
  & .compact-activity-popup .tech-conversation{display:flex;flex-direction:column;flex:1;min-width:0;min-height:0;border:0;overflow:auto;background:var(--night-panel,#fff);color:var(--night-text,#18334b)}
  & .compact-activity-popup .tech-history{height:auto;min-height:40px;flex:1 1 80px;background:var(--night-panel,#fff)}
  & .compact-activity-popup .tech-composer{flex:none;padding:8px 10px}
  & .compact-activity-popup .tech-conversation-head{flex:none;overflow-wrap:anywhere}
  & .compact-activity-popup :is(.compact-dock-messages,.compact-dock-notes){display:flex;flex:1;border:0!important;border-radius:0!important;min-width:0;min-height:0}
  & .compact-activity-popup #conversation.message-composer-ready .message-recipient-context{display:none!important}
  & .compact-activity-popup .compact-dock-messages .dealerwork{padding:2px 8px!important}
  & .compact-activity-popup .compact-dock-messages .chatbody{padding:6px 12px!important}
  & .compact-activity-popup .compact-dock-messages .bubble{max-width:none!important;border:0!important;border-bottom:1px solid var(--night-line,#edf1f5)!important;border-radius:0!important;background:transparent!important;margin:0!important;padding:6px 0!important;font-size:12px!important}
  & .compact-activity-popup .bubble.out{border-left:2px solid #74abe0!important;padding-left:8px!important}
  & .compact-activity-popup .bubble.in{border-left:2px solid #d4a357!important;padding-left:8px!important}
  & .compact-activity-popup .compact-dock-notes .coord-notes-toolbar{display:none!important}
  & .compact-activity-popup .coord-notes{overflow:auto!important;padding:8px 12px!important}
  & .compact-activity-popup .coord-note-list{flex:1!important;min-height:0!important;padding:0!important}
  & .compact-activity-popup .coord-note{background:transparent!important;border:0!important;border-bottom:1px solid var(--night-line,#edf1f5)!important;border-radius:0!important;padding:6px 0!important}
  & .compact-activity-popup .coord-note-form{border-top:1px solid var(--night-line,#e7edf2)!important;padding:8px 0!important;gap:6px!important}
  & .compact-activity-popup .coord-note-form>label{flex:1 1 100%!important;font-size:11px!important}
  & .compact-activity-popup .coord-note-input{width:100%!important;box-sizing:border-box!important;height:64px!important;min-height:64px!important;max-height:150px!important;font:12px/18px system-ui,sans-serif!important;border:0!important;border-bottom:1px solid var(--night-line,#bdcddc)!important;border-radius:0!important;background:transparent!important;padding:6px 0!important}
  & .compact-activity-popup #conversation.message-composer-ready .composer>textarea{border:0!important;border-bottom:1px solid var(--night-line,#bdcddc)!important;border-radius:0!important;background:transparent!important;padding:6px 2px!important}
  & .compact-activity-popup #conversation.message-composer-ready .message-composer-toolbar>button:not(#sendCustom),& .compact-activity-popup #conversation.message-composer-ready .message-composer-more>summary{border:0!important;background:transparent!important;padding:3px 5px!important;border-radius:0!important}
  & .compact-activity-popup #sendCustom{font-size:11px!important}
  & .compact-activity-popup .coord-note-form button[type="submit"]{background:#087be5!important;color:white!important;border:0!important;padding:4px 10px!important;border-radius:4px!important;min-height:28px!important}
 }
 @media(max-width:760px){
  body.office-proof.portal-proof #workPanel>.layout>#detail.compact-job.proof-job {
   & .activity-workspace .compact-dock-header{gap:4px;padding:0 7px;min-height:32px}
   & .activity-workspace .compact-dock-header>strong{display:none}
   & .activity-workspace .compact-dock-header button{font-size:10px!important;padding:3px!important}
   & .activity-workspace .compact-dock-header>button:last-child{font-size:0!important;width:22px}
   & .activity-workspace .compact-dock-header>button:last-child:after{content:'⌄';font-size:14px}
   & .activity-workspace.is-collapsed .compact-dock-header>button:last-child:after{content:'⌃'}
   & .activity-row>summary{flex-wrap:wrap;gap:0 5px;padding:4px 0!important}
   & .activity-meta{flex:1;max-width:none;font-size:10px}
   & .activity-row>summary>time{font-size:9px;max-width:50%;overflow:hidden;text-overflow:ellipsis}
   & .activity-preview{order:5;flex:1 1 calc(100% - 25px);margin-left:23px;font-size:11px}
   & .activity-row-detail{padding-left:23px}
   & .activity-feed{padding:0 8px}
   & .compact-activity-popup,& .compact-activity-popup.is-expanded{right:5px!important;bottom:52px!important;width:calc(100vw - 10px)!important;max-width:calc(100vw - 10px)!important;height:min(470px,calc(100dvh - 120px))!important;max-height:calc(100dvh - 64px)!important;border-radius:10px 10px 0 0!important}
   & .activity-popup-identity{flex-wrap:wrap;gap:0 6px}
   & .activity-popup-identity strong{max-width:170px}
  }
 }
 @media(min-width:901px){body.office-phone-open.office-proof.portal-proof #workPanel>.layout>#detail.compact-job.proof-job .compact-activity-popup{right:370px!important}}
}
@media print{.compact-activity-popup,.activity-workspace{display:none!important}}
/* Position, job context and shared follow-up ownership. */
@media screen {
 body.office-proof.portal-proof #workPanel>.layout>#detail.compact-job.proof-job {
  & .activity-popup-header button[aria-pressed="true"]{background:var(--night-raised,#e8f3ff)!important;color:var(--night-link,#087be5)!important;border-radius:3px!important}
  & .activity-popup-header button:disabled{opacity:.4;cursor:default}
  & .activity-popup-header{gap:2px;padding:5px 8px}
  & .activity-popup-identity{flex-wrap:wrap;gap:0 7px}
  & .activity-popup-identity strong{max-width:100%;font-size:11px}
  & .activity-job-context{display:flex;align-items:center;gap:8px;min-height:26px;flex:none;padding:0 10px;border-bottom:1px solid var(--night-line,#e7edf2);min-width:0;font:10px/16px system-ui,sans-serif}
  & .activity-job-link{flex:none;border:0!important;padding:1px!important;min-height:24px!important;background:transparent!important;color:var(--night-link,#1769a9)!important;font-size:10px!important}
  & .activity-vehicle-context{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--night-muted,#6c7b8a)}
  & .activity-quick-actions{display:flex;align-items:center;gap:10px;padding:2px 12px;flex:none;border-bottom:1px solid var(--night-line,#edf1f5)}
  & .activity-quick-actions button{border:0!important;background:transparent!important;color:var(--night-link,#1769a9)!important;padding:2px!important;min-height:24px!important;font-size:10px!important}
  & .activity-quick-actions button:disabled{opacity:.5}
  & .compact-activity-popup:not(.has-vehicle-choice) .dealerwork{display:none!important}
  & .compact-activity-popup .coord-message-work{display:flex!important;align-items:center;flex-wrap:wrap;gap:2px 6px;max-height:75px!important;padding:4px 10px!important;border-bottom:1px solid var(--night-line,#e7edf2)}
  & .compact-activity-popup .coord-message-work>p:not(.coord-status){display:none!important}
  & .compact-activity-popup .coord-work-label{font-size:10px;color:var(--night-warning,#9b6500)}
  & .compact-activity-popup .coord-work-owner{font-size:10px;color:var(--night-muted,#647687)}
  & .compact-activity-popup .coord-message-work>div{display:flex;flex-wrap:wrap;gap:4px;margin-left:auto}
  & .compact-activity-popup .coord-message-work button{border:0!important;background:transparent!important;color:var(--night-link,#1769a9)!important;font-size:10px!important;padding:2px!important;min-height:24px!important}
  & .activity-unread{max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  & .activity-unread:before{content:none}
  & .activity-unread.is-unread:before{content:'●';margin-right:4px}
  & .activity-unread.is-done{color:var(--night-success,#16824f)!important}
  & .message-delivery-hint{display:block;font:10px/14px system-ui,sans-serif;color:var(--night-muted,#68788b)}
  & [data-delivery-state="failed"] .message-delivery-hint,& [data-delivery-state="undelivered"] .message-delivery-hint{color:var(--night-danger,#b43232)}
 }
 @media(min-width:1100px){
  body.office-proof.portal-proof #workPanel>.layout>#detail.compact-job.proof-job.composer-can-reserve[data-composer-dock="right"]{padding-right:var(--activity-dock-width,436px)!important}
  body.office-proof.portal-proof #workPanel>.layout>#detail.compact-job.proof-job.composer-can-reserve[data-composer-dock="left"]{padding-left:var(--activity-dock-width,436px)!important}
 }
 @media(max-width:760px){body.office-proof.portal-proof #workPanel>.layout>#detail.compact-job.proof-job {
  & .activity-popup-header button{min-width:25px!important;width:25px!important;font-size:15px!important}
  & .activity-unread{max-width:105px;font-size:9px!important}
  & .activity-popup-identity strong{max-width:140px}
 }}
}
body .coord-message-work>.coord-work-label,body .coord-message-work>.coord-work-owner{font:11px/16px system-ui,sans-serif;margin-right:6px}
body #messagesPanel .inbox-work-filters{display:flex;gap:4px;min-width:0;max-width:100%;overflow-x:auto;scrollbar-width:thin;flex:1 1 auto}
body #messagesPanel .inbox-work-filters .inboxfilter{flex:none;font-size:11px;min-height:28px;padding:4px 7px}
@media(max-width:760px){body #messagesPanel .inbox-work-filters{flex-basis:100%}}
@media screen{body.office-proof.portal-proof #workPanel>.layout>#detail.compact-job.proof-job .activity-workspace .compact-dock-header>.activity-unread:not(.is-done){color:var(--night-warning,#9b6500)!important}}


/* Message text is always readable. Only internal note controls use disclosure rows. */
@media screen {
 body.office-proof.portal-proof #workPanel>.layout>#detail.compact-job.proof-job {
  & article.activity-row>.activity-message-header{display:flex!important;align-items:baseline!important;flex-wrap:wrap!important;gap:4px 8px!important;min-height:26px!important;margin:0!important;padding:5px 0 0!important;font:11px/1.4 system-ui,sans-serif!important;background:transparent!important;border:0!important;}
  & article.activity-row>.activity-message-header .activity-meta{flex:1 1 120px!important;max-width:none!important;min-width:0!important;white-space:normal!important;overflow:visible!important;overflow-wrap:anywhere!important;}
  & article.activity-row>.activity-message-header>time{font:10px/1.4 system-ui,sans-serif!important;color:var(--night-muted,#718091);white-space:normal!important;margin-left:auto!important;}
  & article.activity-row>.activity-row-detail{display:block!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;white-space:normal!important;padding:3px 6px 8px 26px!important;}
  & article.activity-row .activity-row-detail :is(.bubble,.tech-bubble){display:block!important;width:auto!important;max-width:100%!important;height:auto!important;max-height:none!important;margin:0!important;padding:0!important;overflow:visible!important;background:transparent!important;border:0!important;box-shadow:none!important;}
  & article.activity-row .activity-row-detail :is(.bubble>div,.tech-bubble>p){display:block!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important;word-break:normal!important;text-overflow:clip!important;overflow:visible!important;height:auto!important;max-height:none!important;-webkit-line-clamp:unset!important;line-clamp:unset!important;font:14px/1.5 system-ui,sans-serif!important;user-select:text;}
  & article.activity-row .activity-row-detail :is(.message-attribution,.bubble>time,.tech-bubble>strong,.tech-bubble>time){display:none!important;}
 }
}

/* insurance-compact.css */
/* Compact insurance summary, matching the existing job controls. */
.compact-insurance-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px 16px;font-size:12px;padding:6px 0}
.compact-insurance-summary>div{display:flex;gap:6px;min-width:0;align-items:baseline}
.compact-insurance-summary b{font-weight:500;color:var(--night-muted,#64748b);white-space:nowrap}
.compact-insurance-summary span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.compact-insurance-intro h3{font-size:13px!important;margin:0!important}
.compact-insurance-intro{display:flex!important;align-items:center;gap:8px;padding:0!important;margin:0!important}
.compact-insurance-intro button{min-height:26px!important;padding:3px 8px!important;font-size:11px!important}
.compact-insurance .insurance-billing-readiness{margin:0!important;padding:3px 0!important;border:0!important;background:transparent!important;font-size:11px!important}
.compact-insurance .insurance-billing-readiness summary{font-weight:400}
.compact-insurance .insurance-billing-readiness p,.compact-insurance .insurance-billing-readiness ul{margin:3px 0!important}
.compact-insurance .insurance-billing-readiness li{display:inline}.compact-insurance .insurance-billing-readiness li+li:before{content:' · '}
.compact-insurance .insurance-billing-readiness ul{padding:0!important;list-style:none}
@media(max-width:600px){.compact-insurance-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
.customer-work-order-preview{width:min(800px,94vw);max-height:94dvh;box-sizing:border-box;padding:14px;border:1px solid #b6c3cc;background:#fff;color:#172c3c}
.customer-work-order-preview::backdrop{background:#0008}.cwo-tools{display:flex;justify-content:flex-end;gap:8px;margin-bottom:12px}.cwo-tools button{font:13px Arial;padding:6px 10px}
.customer-work-order{font:12px/1.35 Arial,sans-serif;color:#111;background:#fff;max-width:760px;margin:auto}
.cwo-title{background:#8ed7e7;font-size:15px;font-weight:700;padding:7px 10px}.customer-work-order header{display:flex;justify-content:space-between;align-items:center;padding:12px 0}.customer-work-order header img{width:240px;max-width:55%;height:auto}
.customer-work-order section{padding:9px 0;border-bottom:1px solid #b5bdc3}.cwo-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px 18px}.customer-work-order b{display:block;font-size:10px;text-transform:uppercase;margin-bottom:2px}.customer-work-order span{overflow-wrap:anywhere}.customer-work-order table{width:100%;border-collapse:collapse}.customer-work-order th{text-align:left;font-size:10px}.customer-work-order th,.customer-work-order td{padding:4px 8px 4px 0;vertical-align:top}.customer-work-order h2{font-size:12px;margin:0 0 5px}.customer-work-order p{margin:5px 0}.cwo-signatures{display:grid;grid-template-columns:2fr 1fr;gap:18px 12px;padding-top:22px!important}.customer-work-order footer{padding-top:8px;font-size:10px;text-align:center}
@media print{
 body:has(>.customer-work-order-preview[open]){display:block!important;background:#fff!important;margin:0!important;padding:0!important;overflow:visible!important}
 body:has(>.customer-work-order-preview[open])>*:not(.customer-work-order-preview){display:none!important}
 body>.customer-work-order-preview[open]{display:block!important;position:static!important;width:100%!important;max-width:none!important;height:auto!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;overflow:visible!important}
 .customer-work-order-preview .cwo-tools{display:none!important}.customer-work-order-preview::backdrop{display:none!important}.customer-work-order{font-size:10pt}.customer-work-order section{break-inside:avoid}.cwo-title{print-color-adjust:exact}
}

/* Signature, printed name and date share one box in the link and both documents. */
.cwo-signatures{display:grid;grid-template-columns:2fr 1fr;gap:6px 18px;border:1px solid #b5bdc3!important;padding:10px!important;break-inside:avoid}
.cwo-signature-ink{grid-column:1/-1}.cwo-signature-ink svg{display:block;width:100%;max-width:420px;height:100px}.cwo-blank-signature{height:70px}.cwo-signatures b{display:block;font:700 10px Arial,sans-serif;text-transform:uppercase;margin-bottom:3px}.cwo-signatures span{display:block;font:12px Arial,sans-serif;overflow-wrap:anywhere}
.invoice-signature-box .cwo-signatures{width:100%;box-sizing:border-box;margin-top:5px;color:#17324e;background:#fff}.invoice-signature-box .cwo-signature-ink svg{max-width:420px;height:100px}
.signature-entry{border:1px solid #abbccd;padding:12px;margin:12px 0}.signature-entry legend{font-size:13px;font-weight:bold;padding:0 5px}
.insurance-signing main>header,.insurance-signing h1,.insurance-signing .intro{display:none}.insurance-signing .content{padding:16px}.insurance-signing main{max-width:820px}.insurance-signing .customer-work-order header{background:#fff;color:#111;padding:10px 0}.insurance-signing .customer-work-order th{background:#edf5f8;color:#111}.insurance-signing .customer-work-order th,.insurance-signing .customer-work-order td{text-align:left;white-space:normal}.insurance-signing .customer-work-order section{border-radius:0}.insurance-signing .cwo-signatures:has(#signForm){display:block}.insurance-signing #signForm{margin:0;padding:0;border:0}.insurance-signing #signForm h2{margin:0 0 8px}.insurance-signing #signed>h2{font-size:14px}.insurance-signing #signed{margin-top:12px}.insurance-signing #signatureDrawing{display:none}

.insurance-signing .cwo-signatures:has(#signForm){border:0!important;padding:0!important}.insurance-signing #signForm>h2{display:none}.insurance-signing #directionToPayText{display:none}.cwo-tools{flex-wrap:wrap;align-items:center}.cwo-tools [role="status"]{font:11px Arial,sans-serif;flex-basis:100%;text-align:right}

/* work-order-invoice.css */
.priced-work-order .cwo-title{text-transform:uppercase}.priced-work-order .cwo-invoice-table{overflow:auto}.priced-work-order .cwo-invoice-table table{min-width:480px}.priced-work-order .cwo-invoice-totals{margin-left:auto;max-width:320px}.priced-work-order .cwo-invoice-totals p{display:flex;justify-content:space-between;gap:16px}.priced-work-order .cwo-invoice-total{font-size:18px;background:#eaf6fa;padding:6px 10px}.priced-work-order .cwo-combined-price{font-size:11px;color:#617487}
#invoicePanel.work-order-invoice-panel>.invoicecard{display:none!important}.priced-invoice-preview{padding:18px;background:#fff;border:1px solid #ccd8e3;max-width:820px;margin:0 auto}.priced-invoice-actions{display:flex;align-items:start;flex-wrap:wrap;gap:8px;padding:10px;background:#fff;border:1px solid #ccd8e3;border-radius:6px;margin-bottom:12px}.priced-invoice-actions .invoiceemail{flex:1;min-width:190px;margin:0!important;padding:0!important;background:transparent}.priced-invoice-actions .invoiceemail input{padding:7px}.priced-invoice-actions .invoiceemail small{display:none}.priced-invoice-actions .partformactions{display:flex;flex-wrap:wrap;gap:6px;padding:0!important;margin:0!important}.priced-invoice-actions .partformactions button{min-height:32px!important;font-size:12px!important;padding:6px 10px!important}.priced-invoice-preview .customer-work-order header img{max-width:200px}.priced-invoice-preview .customer-work-order{font:12px/1.35 Arial,sans-serif}
@media(max-width:600px){.priced-invoice-preview{padding:12px}.priced-work-order .cwo-grid{gap:8px}.priced-work-order .cwo-invoice-totals{max-width:none}}
@media print{.priced-invoice-actions,.customer-invoice-link{display:none!important}.priced-invoice-preview{border:0;padding:0;max-width:none}.priced-work-order .cwo-invoice-table{overflow:visible}.priced-work-order .cwo-invoice-table table{min-width:0}}

/* Remittance address stays prominent in the invoice and print copy. */
.priced-work-order header{flex-wrap:wrap;gap:12px}.priced-work-order header .cwo-remit{display:flex;flex-direction:column;color:#b91c1c;font-size:12px;line-height:1.4;font-weight:700;text-align:left;print-color-adjust:exact;-webkit-print-color-adjust:exact}

/* Keep email delivery next to its recipient instead of in the secondary actions. */
.priced-invoice-actions .invoiceemail{flex:1 1 100%;min-width:0}.invoice-email-compose{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.invoice-email-compose #invoiceEmailTo{flex:1 1 220px;width:auto;min-width:0;margin:0}.invoice-email-compose #emailInvoice{flex:0 0 auto;min-height:36px;padding:8px 16px;border:1px solid #1d4ed8;border-radius:5px;background:#2563eb!important;color:#fff!important;font-weight:700;white-space:nowrap}.invoice-email-compose #emailInvoice:disabled{opacity:.65!important;cursor:not-allowed}.priced-invoice-actions>.invoice-billing-readiness{flex-basis:100%;margin:0;color:#9b2020;font-size:12px}.priced-invoice-actions>.partformactions{flex:1 1 100%}

/* Documents keep fixed printable columns; workspace column settings do not apply. */
.priced-invoice-preview,.priced-invoice-preview *{box-sizing:border-box}
.priced-invoice-preview .priced-work-order{width:100%;min-width:0}
.priced-work-order .cwo-invoice-table{overflow:visible}
.priced-work-order .cwo-invoice-table table{width:100%!important;min-width:0!important;max-width:100%;table-layout:fixed;border-collapse:collapse}
.priced-work-order .cwo-invoice-table th,.priced-work-order .cwo-invoice-table td{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere;vertical-align:top;padding:6px 4px;font-size:11px;line-height:1.35}
.priced-work-order .cwo-invoice-table th{background:#edf5f8;color:#172331;border-bottom:1px solid #b5bdc3}
.priced-work-order .cwo-invoice-table td{border-bottom:1px solid #dce5ed}
.priced-work-order .cwo-invoice-table th:nth-child(1){width:5%}
.priced-work-order .cwo-invoice-table th:nth-child(2){width:13%}
.priced-work-order .cwo-invoice-table th:nth-child(3){width:52%}
.priced-work-order .cwo-invoice-table th:nth-child(4),.priced-work-order .cwo-invoice-table th:nth-child(5){width:15%}
.priced-work-order .cwo-insurance-table th:nth-child(1){width:4%}
.priced-work-order .cwo-insurance-table th:nth-child(2){width:10%}
.priced-work-order .cwo-insurance-table th:nth-child(3){width:32%}
.priced-work-order .cwo-insurance-table th:nth-child(4){width:12%}
.priced-work-order .cwo-insurance-table th:nth-child(5){width:7%}
.priced-work-order .cwo-insurance-table th:nth-child(6){width:12%}
.priced-work-order .cwo-insurance-table th:nth-child(7){width:10%}
.priced-work-order .cwo-insurance-table th:nth-child(8){width:13%}
.priced-work-order .cwo-invoice-table th:nth-child(n+4),.priced-work-order .cwo-invoice-table td:nth-child(n+4){text-align:right}
.priced-work-order .cwo-invoice-table td:nth-child(3){white-space:pre-wrap!important}
.priced-work-order header{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.8fr) minmax(0,1fr);align-items:start;gap:14px}
.priced-work-order header>div{min-width:0;overflow-wrap:anywhere}
.priced-work-order header img{width:100%;height:auto;max-width:200px}
.priced-work-order .cwo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.priced-work-order .cwo-invoice-totals{width:100%;max-width:320px;margin:12px 0 12px auto}
.priced-work-order .cwo-invoice-totals p{align-items:baseline}
.priced-work-order .cwo-signatures{margin-top:12px;gap:6px 18px;padding:8px!important}
.priced-work-order .cwo-signature-ink svg{height:65px;max-width:320px}
.priced-work-order .office-contact-actions,.priced-work-order .column-tools,.priced-work-order .column-resizer{display:none!important}
@media screen and (max-width:600px){
 .priced-work-order header{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 .priced-work-order header>.cwo-remit{grid-column:1/-1}
 .priced-work-order .cwo-invoice-table th,.priced-work-order .cwo-invoice-table td{font-size:9px;padding:5px 2px}
 .priced-work-order .cwo-invoice-total{font-size:15px}
}
@media print{
 .priced-work-order .cwo-invoice-table thead{display:table-header-group}
 .priced-work-order .cwo-invoice-table tr,.priced-work-order .cwo-invoice-totals,.priced-work-order .cwo-signatures{break-inside:avoid}
 .priced-work-order .cwo-invoice-table{break-inside:auto}
}

/* work-items.css */
/* Service-management line items: glass identity stays beside the VIN. */
@media screen {
body.office-proof #workPanel #detail.compact-job .work-order-charges table th{background:#f6f8fa!important;color:#5c6d7c!important;font-size:10px!important;text-transform:none;letter-spacing:0;padding:9px 10px!important;border-bottom:1px solid #dce3e8}
body.office-proof #workPanel #detail.compact-job .work-order-charges table td{padding:9px 10px!important;border-bottom:1px solid #edf1f4;vertical-align:middle}
body.office-proof #workPanel #detail.compact-job .work-order-charges table td:first-of-type{min-width:170px}
body.office-proof #workPanel #detail.compact-job .work-order-charges table input[data-description]{font-weight:500!important}
body.office-proof #workPanel #detail.compact-job .work-order-charges .charges-actions{padding:8px 10px!important}
body.office-proof #workPanel #detail.compact-job .work-order-charges .charges-actions button{border:1px solid #d0dde6!important;border-radius:4px!important;background:white!important;color:#246d9a!important;font-size:11px!important}
body.office-proof #workPanel #detail.compact-job.proof-new .proof-new-search>label:has(#newService){grid-column:1/-1}
}

@media screen{body.office-proof.portal-proof #workPanel>.layout>#detail.compact-job.proof-job .page-fitment-field:has(#editService){display:flex!important}}

/* One vehicle identity row above Customer: original editable controls and handlers. */
@media screen{
body.office-proof.portal-proof #workPanel>.layout>#detail.compact-job.proof-job .vehicle-top-row>.proof-vehicle-value{display:none!important}
body.office-proof.portal-proof #workPanel>.layout>#detail.compact-job.proof-job .vehicle-top-row{padding:6px 10px!important;min-height:58px!important;overflow-x:auto!important;align-items:center!important}
body.office-proof.portal-proof #workPanel>.layout>#detail.compact-job.proof-job .vehicle-top-row .page-fitment-grid{display:grid!important;grid-template-columns:minmax(185px,1.5fr) 70px minmax(100px,1fr) minmax(120px,1.2fr) minmax(110px,1fr) minmax(145px,1.25fr) minmax(125px,1fr)!important;gap:8px!important;min-width:940px!important;flex:1!important}
body.office-proof.portal-proof #workPanel>.layout>#detail.compact-job.proof-job .vehicle-top-row .page-fitment-field{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:3px!important;min-width:0!important}
body.office-proof.portal-proof #workPanel>.layout>#detail.compact-job.proof-job .vehicle-top-row .page-fitment-field>span:first-child{font-size:9px!important;color:var(--night-muted,#687e91)}
body.office-proof.portal-proof #workPanel>.layout>#detail.compact-job.proof-job .vehicle-top-row .page-fitment-field :is(input,select){width:100%!important;min-width:0!important;box-sizing:border-box;height:29px!important;font-size:11px!important}
body.office-proof #detail.proof-new #newFields>.vehicle-top-row{grid-column:1/-1!important;grid-row:1!important;display:flex!important;gap:8px!important;align-items:center!important;padding:8px 10px!important;overflow-x:auto!important}
body.office-proof #detail.proof-new #newFields>.studio-job-cards{grid-row:2!important}
body.office-proof #detail.proof-new #newFields>.proof-new-rail{grid-row:2/span 6!important}
.vehicle-top-fields{display:grid;grid-template-columns:1.8fr 75px 1fr 1.2fr 1.1fr 1.4fr;gap:8px;flex:1;min-width:850px}
body.office-proof #detail.proof-new .vehicle-top-field{display:flex!important;flex-direction:column;gap:3px;min-width:0;font-size:9px!important;margin:0!important}
body.office-proof #detail.proof-new .vehicle-top-field :is(input,select){height:30px!important;min-height:30px!important;width:100%!important;min-width:0;box-sizing:border-box}
.vehicle-top-tools{flex:none;position:relative;font-size:10px;min-width:60px}.vehicle-top-tools>summary{cursor:pointer}.vehicle-top-tools[open]>.vehicle-picker-tools{display:flex;flex-wrap:wrap;max-width:250px}
}
@media screen and (max-width:900px){body.office-proof #detail.proof-new #newFields>.proof-new-rail{grid-row:auto!important}body.office-proof #detail.proof-new .vehicle-top-field :is(input,select){font-size:16px!important;min-height:40px!important}}

@media screen{body.office-proof.portal-proof #workPanel>.layout>#detail.compact-job.proof-job .vehicle-top-row .page-fitment-field{grid-column:auto!important;grid-row:auto!important}}

@media screen and (max-width:900px){body.office-proof.portal-proof #workPanel>.layout>#detail.compact-job.proof-job .vehicle-top-row .page-fitment-field :is(input,select){height:40px!important;min-height:40px!important;font-size:16px!important}body.office-proof.portal-proof #workPanel>.layout>#detail.compact-job.proof-job .vehicle-top-row .compact-lookup{height:40px!important;min-height:40px!important}}

.vehicle-vin-status{font-size:9px!important;line-height:1.3;color:#526f83;white-space:normal;max-width:240px}.vehicle-vin-status:empty{display:none}

@media screen{body.office-proof.portal-proof #workPanel>.layout>#detail.compact-job.proof-job .vehicle-top-row .page-fitment-grid{align-items:start!important}body.office-proof.portal-proof #workPanel>.layout>#detail.compact-job.proof-job .vehicle-top-row .page-fitment-field{align-self:start!important}}

/* Compact scope: one horizontal line per service; tax and add share a footer. */
@media screen{
body.office-proof.portal-proof #workPanel #detail.compact-job .work-order-charges{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:0!important}
body.office-proof.portal-proof #workPanel #detail.compact-job .work-order-charges>.charges-scroll{grid-column:1/-1!important;min-width:0;overflow-x:auto}
body.office-proof.portal-proof #workPanel #detail.compact-job .work-order-charges table :is(th,td){padding:3px 8px!important}
body.office-proof.portal-proof #workPanel #detail.compact-job .work-order-charges table input{height:26px!important;min-height:26px!important}
body.office-proof.portal-proof #workPanel #detail.compact-job .work-order-charges>.charges-totals{grid-column:1!important;grid-row:2!important;padding:4px 8px!important;align-items:center!important;min-height:34px!important}
body.office-proof.portal-proof #workPanel #detail.compact-job .work-order-charges>.charges-totals>label{display:flex!important;flex-direction:row!important;align-items:center!important;margin:0!important}
body.office-proof.portal-proof #workPanel #detail.compact-job .work-order-charges>.charges-actions{grid-column:2!important;grid-row:2!important;padding:4px 8px!important;margin:0!important;align-items:center!important}
body.office-proof.portal-proof #workPanel #detail.compact-job .work-order-charges>p{grid-column:1/-1}
body.office-proof.portal-proof #workPanel #detail.compact-job .work-order-charges>p:empty{display:none!important}
body.office-proof.portal-proof #workPanel #detail.compact-job .work-order-charges>p.muted{grid-row:3;font-size:10px!important}
}

/* structured-job-layout.css */
/* Screen presentation only: print and signed documents keep their layouts. */
@media screen{
body.office-proof.portal-proof #detail.structured-job .compact-insurance{padding:14px 16px!important}
body.office-proof.portal-proof #detail.structured-job .compact-insurance-intro{margin-bottom:12px!important}
body.office-proof.portal-proof #detail.structured-job .compact-insurance-summary{display:none!important}
body.office-proof.portal-proof #detail.structured-job .structured-insurance-layout{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:14px;align-items:start}
body.office-proof.portal-proof #detail.structured-job .structured-insurance-main{min-width:0;display:flex;flex-direction:column;gap:12px}
body.office-proof.portal-proof #detail.structured-job .structured-insurance-main .work-order-insurance{display:block!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important}
body.office-proof.portal-proof #detail.structured-job .structured-insurance-main .work-order-insurance[hidden]{display:none!important}
body.office-proof.portal-proof #detail.structured-job .work-order-insurance>h3{display:none!important}
body.office-proof.portal-proof #detail.structured-job .structured-insurance-groups{display:grid;grid-template-columns:1.2fr 1fr;gap:12px;align-items:start}
body.office-proof.portal-proof #detail.structured-job .structured-card,body.office-proof.portal-proof #detail.structured-job .structured-billing{border:1px solid var(--night-line,#d6e0e8)!important;border-radius:5px!important;background:var(--night-panel,#fff)!important;min-width:0;overflow:hidden}
body.office-proof.portal-proof #detail.structured-job .structured-card>h3,body.office-proof.portal-proof #detail.structured-job .structured-billing>h3{font-size:12px!important;font-weight:650!important;margin:0!important;padding:9px 12px!important;border-bottom:1px solid var(--night-line,#e2e8ed);background:var(--night-raised,#fafcfd)}
body.office-proof.portal-proof #detail.structured-job .structured-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px;padding:12px}
body.office-proof.portal-proof #detail.structured-job .structured-fields>label{display:flex!important;flex-direction:column!important;gap:4px!important;margin:0!important;font-size:10px!important;color:var(--night-muted,#647b8a);min-width:0!important}
body.office-proof.portal-proof #detail.structured-job .structured-fields :is(input,select,textarea){width:100%!important;min-width:0!important;box-sizing:border-box!important;height:31px!important;min-height:31px!important;font-size:12px!important;padding:6px 8px!important;border:1px solid var(--night-line,#ced9e2)!important;border-radius:4px!important}
body.office-proof.portal-proof #detail.structured-job .structured-fields textarea{height:65px!important;resize:vertical}
body.office-proof.portal-proof #detail.structured-job [data-structured-field]:is([data-structured-field=insurer],[data-structured-field=claimHandler],[data-structured-field=adjusterEmail],[data-structured-field=reviewNotes],[data-structured-field=damageCause]){grid-column:1/-1!important}
body.office-proof.portal-proof #detail.structured-job .structured-billing-values{padding:10px 12px}
body.office-proof.portal-proof #detail.structured-job .structured-billing-values>div{display:flex;justify-content:space-between;gap:12px;padding:7px 0;font-size:12px}
body.office-proof.portal-proof #detail.structured-job .structured-billing>button{margin:0 12px 12px;width:calc(100% - 24px)}
body.office-proof.portal-proof #detail.structured-job .structured-claim-status{margin:0!important;font-size:11px;color:var(--night-muted,#667c8d)}
body.office-proof.portal-proof #detail.structured-job .structured-insurance-main :is(.proof-fold,#payerCollections,.insurance-tax-assistant){margin:0!important;max-width:100%!important}
body.office-proof.portal-proof #detail.structured-job .studio-card{padding:10px 12px!important}
body.office-proof.portal-proof #detail.structured-job .work-section{border-radius:5px!important}
body.office-proof.portal-proof #detail.structured-job [data-dispatch-pane="Vendors & Tech"] .work-order-row{gap:10px!important;padding:12px!important}
body.office-proof.portal-proof #detail.structured-job [data-dispatch-pane="Vendors & Tech"] :is(input,select){min-height:31px!important;font-size:12px!important}
}
@media screen and (max-width:1000px){body.office-proof.portal-proof #detail.structured-job .structured-insurance-layout{grid-template-columns:1fr}.structured-billing{max-width:none}}
@media screen and (max-width:700px){body.office-proof.portal-proof #detail.structured-job .structured-insurance-groups{grid-template-columns:1fr}body.office-proof.portal-proof #detail.structured-job .structured-fields :is(input,select,textarea){min-height:40px!important;font-size:16px!important}}

@media screen{
body.office-proof.portal-proof #detail.structured-job .structured-context{font-size:11px;color:var(--night-muted,#567080);background:var(--night-panel,#fff);border:1px solid var(--night-line,#d6e0e8);border-radius:4px;padding:10px 12px;margin-bottom:12px;line-height:1.6}
body.office-proof.portal-proof #detail.structured-job .structured-documents{padding:14px 16px!important}
body.office-proof.portal-proof #detail.structured-job .structured-documents>h3{font-size:14px;margin:0 0 12px}
body.office-proof.portal-proof #detail.structured-job .structured-documents>.work-section{margin:0 0 12px!important;border:1px solid var(--night-line,#d6e0e8);padding:12px!important}
body.office-proof.portal-proof #detail.proof-new .studio-editor-body :is(input,select){min-height:31px;font-size:12px}
body.office-proof.portal-proof #detail.structured-job .studio-editor-body .structured-insurance-groups{grid-template-columns:1fr}
}

@media screen{
body.office-proof.portal-proof #detail.structured-job .structured-billing>.structured-card{margin:0 10px 12px!important}
body.office-proof.portal-proof #detail.structured-job .structured-billing>.insurance-form-status{margin:10px!important;padding:10px!important;font-size:10px!important}
body.office-proof.portal-proof #detail.structured-job .structured-insurance-layout[data-insured=false] .structured-billing{display:none}
body.office-proof.portal-proof #detail.structured-job .structured-billing .structured-fields{grid-template-columns:1fr}
}

/* Let the details use their content height and give the freed space to message history. */
@media screen and (min-height:501px){
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts.top-item-workspace{grid-template-rows:66px minmax(0,auto) auto minmax(0,max-content) minmax(100px,1fr) 132px!important;}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts.top-item-workspace>[data-dispatch-pane]{height:auto!important;min-height:0!important;max-height:min(45dvh,520px)!important;overflow:auto!important;align-self:stretch!important;}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts.top-item-workspace>.activity-workspace{align-self:stretch!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:hidden!important;}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts.top-item-workspace>.activity-workspace .compact-dock-body{display:flex!important;flex:1!important;min-height:0!important;overflow:hidden!important;}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts.top-item-workspace>.activity-workspace .activity-feed{max-height:none!important;min-height:0!important;overflow:auto!important;}
}
@media screen and (max-width:760px) and (min-height:501px){
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts.top-item-workspace>[data-dispatch-pane]{max-height:32dvh!important;}
}
@media screen{
body.office-proof #detail .studio-editor .document-address[hidden]{display:none!important;}
body.office-proof #detail .studio-editor #serviceAddress-address{pointer-events:auto;user-select:text;min-width:0;width:100%;box-sizing:border-box;}
body.office-proof #detail .studio-card [aria-label^="Service address:"][role="button"]{cursor:pointer;text-decoration:underline;text-decoration-color:#a5bdcf;text-underline-offset:3px;}
}

/* customer-local-time.css */
.customer-local-clock{display:block!important;flex-basis:100%;width:100%;margin-top:3px;font-size:10px!important;line-height:1.35;color:var(--night-muted,#607d91);font-weight:400!important;white-space:nowrap}.proof-value:has(>[data-customer-clock]){flex-wrap:wrap!important}.customer-local-clock:empty{display:none!important}
body.dispatch-office #leadsList .lead-contact-secondary:has(>[data-customer-clock]){display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;grid-template-rows:auto auto!important;height:auto!important;overflow:visible!important;gap:0 6px!important;align-items:start!important}body.dispatch-office #leadsList .lead-contact-secondary>[data-customer-clock]{grid-column:1/-1!important;margin-top:2px!important}

/* Office receipt and customer clock have distinct, nonoverlapping rows. */
body.dispatch-office :is(#orders,#leadsList) .work-list-received{color:#14763d!important}body.dispatch-office .customer-local-clock{color:#b42318!important}body.dispatch-office :is(#orders,#leadsList) .work-list-identity>[data-customer-clock]{grid-column:1/-1!important;grid-row:3!important;width:auto!important;min-width:0!important;max-width:100%!important;margin-top:2px!important;overflow:hidden!important;text-overflow:ellipsis!important}html[data-office-theme="dark"] body :is(#orders,#leadsList) .work-list-received{color:#77d99b!important}html[data-office-theme="dark"] body .customer-local-clock{color:#ffaba3!important}


/* Customer local time sits directly below vehicle/glass information. */
body.dispatch-office :is(#orders,#leadsList) .work-list-vehicle{display:flex;flex-direction:column;align-items:flex-start;min-width:0;gap:2px}
body.dispatch-office :is(#orders,#leadsList) .work-list-vehicle>[data-customer-clock]{display:block!important;width:auto!important;max-width:100%!important;margin:0!important;line-height:16px!important;color:#b42318!important;white-space:nowrap!important}
html[data-office-theme="dark"] body.dispatch-office :is(#orders,#leadsList) .work-list-vehicle>[data-customer-clock]{color:#ffaba3!important}

/* shared-work-lists.css */
/* Leads and jobs share the same compact column geometry. */
@media screen{
body.dispatch-office #leadsPanel{padding:12px!important}
body.dispatch-office #leadsList .dispatch-sheet table.dispatch-table.lead-queue-table{width:100%!important;min-width:1000px!important;table-layout:fixed!important;border-collapse:separate!important;border-spacing:0!important}
body.dispatch-office #leadsList .dispatch-sheet table.dispatch-table.lead-queue-table :is(th,td){position:static!important;right:auto!important;min-width:0!important;max-width:none!important;padding:3px 6px!important;font-size:11px!important;line-height:16px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;vertical-align:middle!important;border-bottom:1px solid var(--night-line,#e4e9f2)!important}
body.dispatch-office #leadsList .dispatch-sheet table.dispatch-table.lead-queue-table th{position:sticky!important;top:0!important;height:25px!important;font-size:10px!important;background:var(--night-raised,#f1f5fa)!important;z-index:2!important}
body.dispatch-office #leadsList .dispatch-sheet table.dispatch-table.lead-queue-table :is(th,td):first-child{position:static!important;left:auto!important;z-index:auto!important;background:var(--night-panel,#fff)!important;border-right:1px solid var(--night-line,#e4e9f2)!important}
body.dispatch-office #leadsList .dispatch-sheet table.dispatch-table.lead-queue-table th:first-child{position:sticky!important;left:auto!important;z-index:3!important;background:var(--night-raised,#f1f5fa)!important}
body.dispatch-office:not(.dispatch-expanded-view) #leadsList .dispatch-sheet table.dispatch-table.lead-queue-table :is(th,td):is(:nth-child(8),:nth-child(9),:nth-child(11),:nth-child(12)){display:none!important}
body.dispatch-office #leadsList .dispatch-sheet table.dispatch-table.lead-queue-table :is(th,td):nth-child(1){width:24%!important}
body.dispatch-office #leadsList .dispatch-sheet table.dispatch-table.lead-queue-table :is(th,td):nth-child(2){width:19%!important}
body.dispatch-office #leadsList .dispatch-sheet table.dispatch-table.lead-queue-table :is(th,td):nth-child(3){width:12%!important}
body.dispatch-office #leadsList .dispatch-sheet table.dispatch-table.lead-queue-table :is(th,td):nth-child(4){width:9%!important}
body.dispatch-office #leadsList .dispatch-sheet table.dispatch-table.lead-queue-table :is(th,td):nth-child(5){width:12%!important}
body.dispatch-office #leadsList .dispatch-sheet table.dispatch-table.lead-queue-table :is(th,td):nth-child(6){width:9%!important}
body.dispatch-office #leadsList .dispatch-sheet table.dispatch-table.lead-queue-table :is(th,td):nth-child(7){width:10%!important}
body.dispatch-office #leadsList .dispatch-sheet table.dispatch-table.lead-queue-table :is(th,td):nth-child(10){width:64px!important}
body.dispatch-office :is(#orders,#leadsList) .dispatch-sheet table.dispatch-table td{height:58px!important}
body.dispatch-office #leadsList .lead-contact-identity{display:block!important}
body.dispatch-office #leadsList .lead-contact-secondary{height:16px!important}
body.dispatch-office #leadsList .work-list-number{border:0!important;background:transparent!important;color:var(--night-link,#2588bc)!important;font-family:inherit!important;font-size:11px!important;font-weight:600!important;line-height:16px!important;padding:0!important;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-height:28px}
body.dispatch-office #leadsList .aligned-lead-note{margin-top:2px;font-size:10px;max-width:100%;overflow:hidden}
body.dispatch-office #leadsList .aligned-lead-note .lead-note-preview>span{font-size:10px!important}
body.dispatch-office #leadsList .aligned-lead-note .lead-note-preview>small{display:none!important}
body.dispatch-office #leadsPanel>.panelbar{margin:0!important;padding:2px 10px!important;border-radius:0!important;min-height:30px!important}
body.dispatch-office #leadsPanel>.panelbar h2{font-size:12px!important}
body.dispatch-office #leadsPanel>.filters{padding:2px 10px 5px!important}
}
@media screen and (max-width:700px){body.dispatch-office :is(#orders,#leadsList) .dispatch-sheet table.dispatch-table td{height:68px!important}}

@media screen{
body.dispatch-office #leadsPanel{padding:12px!important}
body.dispatch-office.dispatch-expanded-view #leadsList .dispatch-sheet table.dispatch-table.lead-queue-table{width:1905px!important;min-width:1905px!important}
body.dispatch-office.dispatch-expanded-view #leadsList .dispatch-sheet table.dispatch-table.lead-queue-table :is(th,td):nth-child(1){width:240px!important}
body.dispatch-office.dispatch-expanded-view #leadsList .dispatch-sheet table.dispatch-table.lead-queue-table :is(th,td):nth-child(2){width:240px!important}
body.dispatch-office.dispatch-expanded-view #leadsList .dispatch-sheet table.dispatch-table.lead-queue-table :is(th,td):nth-child(3){width:160px!important}
body.dispatch-office.dispatch-expanded-view #leadsList .dispatch-sheet table.dispatch-table.lead-queue-table :is(th,td):nth-child(4){width:95px!important}
body.dispatch-office.dispatch-expanded-view #leadsList .dispatch-sheet table.dispatch-table.lead-queue-table :is(th,td):nth-child(5){width:210px!important}
body.dispatch-office.dispatch-expanded-view #leadsList .dispatch-sheet table.dispatch-table.lead-queue-table :is(th,td):nth-child(6){width:110px!important}
body.dispatch-office.dispatch-expanded-view #leadsList .dispatch-sheet table.dispatch-table.lead-queue-table :is(th,td):nth-child(7){width:145px!important}
body.dispatch-office.dispatch-expanded-view #leadsList .dispatch-sheet table.dispatch-table.lead-queue-table :is(th,td):nth-child(8){width:170px!important}
body.dispatch-office.dispatch-expanded-view #leadsList .dispatch-sheet table.dispatch-table.lead-queue-table :is(th,td):nth-child(9){width:95px!important}
body.dispatch-office.dispatch-expanded-view #leadsList .dispatch-sheet table.dispatch-table.lead-queue-table :is(th,td):nth-child(10){width:100px!important}
body.dispatch-office.dispatch-expanded-view #leadsList .dispatch-sheet table.dispatch-table.lead-queue-table :is(th,td):nth-child(11){width:180px!important}
body.dispatch-office.dispatch-expanded-view #leadsList .dispatch-sheet table.dispatch-table.lead-queue-table :is(th,td):nth-child(12){width:160px!important}
}

@media screen and (max-width:700px){body.dispatch-office #leadsPanel{padding:8px!important}}


/* Use the Jobs toolbar arrangement above the shared rows. */
@media screen{body.dispatch-office #leadsPanel>.dispatch-toolbar{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:6px!important;padding:3px 10px!important}body.dispatch-office #leadsPanel .dispatch-view-tabs{display:flex!important;flex-wrap:wrap!important;gap:3px!important;margin:0!important;padding:0!important;min-height:0!important;order:1}body.dispatch-office #leadsPanel .dispatch-view-tabs button{min-height:24px!important;height:24px!important;padding:2px 7px!important;font-size:10px!important}body.dispatch-office #leadListResult{margin:0!important;padding:0!important;font-size:10px!important;line-height:16px!important;order:2}body.dispatch-office #leadsPanel>.filters{gap:6px!important}body.dispatch-office #leadsPanel>.filters :is(input,select){min-height:28px!important;height:28px!important;padding:3px 7px!important;font-size:12px!important}}
@media screen and (max-width:700px){body.dispatch-office #leadsPanel>.filters :is(input,select){font-size:16px!important;min-height:36px!important;height:36px!important}body.dispatch-office #leadsPanel .dispatch-view-tabs button{min-height:32px!important;height:32px!important}}

/* schedule-assignment.css */
.schedule-assignment{border-top:1px solid var(--night-line,#dfe7ef);padding:5px 8px;display:grid;gap:3px}.schedule-assignment>div{display:grid;grid-template-columns:58px minmax(0,1fr);align-items:center;gap:5px}.schedule-assignment small{font-size:10px;color:var(--night-muted,#61758a)}.schedule-assignment button{min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-height:25px!important;padding:2px 6px!important;text-align:left;font-size:11px!important;color:var(--night-link,#1679b5)}.schedule-assignment-part{overflow-wrap:anywhere}.schedule-assignment-dialog{width:min(510px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 32px);padding:0;border:1px solid var(--night-line,#dfe7ef);border-radius:9px;background:var(--night-panel,#fff);color:var(--night-text,#20364b);box-shadow:0 12px 45px #142d493d}.schedule-assignment-dialog::backdrop{background:#132b4855}.schedule-assignment-dialog>header,.schedule-assignment-dialog>footer{display:flex;justify-content:space-between;align-items:center;padding:9px 12px;border-bottom:1px solid var(--night-line,#dfe7ef);font-size:13px}.schedule-assignment-dialog>footer{justify-content:flex-end;border-top:1px solid var(--night-line,#dfe7ef);border-bottom:0}.schedule-assignment-body{max-height:calc(100dvh - 150px);overflow:auto;padding:10px;font-size:12px}.schedule-assignment-dialog .assignment-vendor-panel>summary,.schedule-assignment-dialog .assignment-tech-panel>summary{display:none!important}.schedule-assignment-dialog :is(.vendorbox,.technician-office){display:block!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important}.schedule-assignment-dialog .vendorrow{display:grid!important;grid-template-columns:20px minmax(0,1fr) 76px!important;gap:6px!important;padding:7px 0!important}.schedule-assignment-dialog .vendorrow small{display:block;font-size:10px;overflow-wrap:anywhere}.schedule-assignment-dialog .vendorrow b{font-size:11px}.schedule-assignment-dialog :is(input,select,button){max-width:100%;box-sizing:border-box;min-height:30px;font:inherit}.schedule-assignment-dialog :is(.tech-controls,.vendorsearch){max-width:100%;min-width:0}.schedule-assignment-dialog .tech-controls{display:grid;gap:6px}.schedule-assignment-dialog .tech-controls label{display:grid;gap:4px}.schedule-assignment-dialog .tech-controls.hidden{display:none}.schedule-assignment-dialog .vendorbox h3,.schedule-assignment-dialog .technician-office h3{display:none}.schedule-assignment-dialog .assignedvendor{font-size:11px}.schedule-assignment-dialog .tech-status{font-size:11px;white-space:normal}.schedule-assignment-dialog .technician-office .tech-response{font-size:11px}@media(max-width:600px){.schedule-assignment-dialog :is(input,select){font-size:16px}.schedule-assignment-dialog .vendorrow{grid-template-columns:16px minmax(0,1fr) 68px!important}}
body.dispatch-office #detail.compact-job>dialog.schedule-assignment-dialog[open]{display:block!important;visibility:visible!important}
body.dispatch-office #detail.compact-job dialog.schedule-assignment-dialog[open]{width:min(510px,calc(100vw - 24px))!important;max-width:calc(100vw - 24px)!important;max-height:calc(100dvh - 32px)!important}

body.dispatch-office #detail .schedule-assignment-dialog>header>button:not([aria-label="Close assignment window"]){display:none!important}.schedule-assignment-card .studio-card-body>.proof-value:has([aria-label^="Technician:"]){display:none!important}
body.dispatch-office #detail.compact-job dialog.schedule-assignment-dialog[open]{background:var(--night-panel,#fff)!important;opacity:1!important;color:var(--night-text,#20364b)!important}

.schedule-assignment>div.schedule-tech-line{grid-template-columns:58px minmax(0,1fr) auto}.schedule-tech-actions{display:inline-flex;gap:3px;align-items:center}.schedule-assignment .schedule-tech-actions button{display:inline-flex;align-items:center;justify-content:center;width:28px;min-width:28px;min-height:28px!important;padding:3px!important;border:1px solid var(--night-line,#d7e2ec);border-radius:4px;background:var(--night-panel,#fff)}.schedule-tech-actions button:disabled{opacity:.4;cursor:default}.schedule-contact-status{color:#a54816!important}@media(max-width:600px){.schedule-assignment .schedule-tech-actions button{width:32px;min-width:32px;min-height:32px!important}}
body.dispatch-office #detail .schedule-assignment-card .studio-card-body>.proof-value:has([aria-label^="Technician:"]){display:none!important}

.schedule-assignment>div.schedule-tech-drafts{display:flex;justify-content:flex-end;gap:4px}.schedule-tech-drafts button{font-size:10px!important;min-height:24px!important;padding:2px 6px!important}.schedule-tech-drafts button:disabled{opacity:.4}.tech-save-draft{font-size:11px;min-height:28px}

.schedule-tech-drafts button{display:inline-flex;align-items:center;gap:3px}

.schedule-tech-actions .schedule-tech-drafts{display:inline-flex;gap:3px;align-items:center}.schedule-tech-actions .schedule-tech-drafts button{min-height:28px!important;padding:3px!important}.schedule-tech-drafts button>span{font-size:10px;font-weight:700}@media(max-width:600px){.schedule-tech-actions .schedule-tech-drafts button{min-height:32px!important}}

/* invoice-document-modal.css */
dialog.invoice-document-dialog{width:min(880px,96vw);max-height:94dvh;padding:12px;overflow:auto;background:#fff;color:#17324e;border:1px solid #bdcbd7;border-radius:8px}dialog.invoice-document-dialog::backdrop{background:#13283e88}.invoice-dialog-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;background:white;position:sticky;top:-12px;z-index:5;padding:8px 0;border-bottom:1px solid #d5e0e9}.invoice-dialog-tools button{padding:7px 12px;min-height:32px}.invoice-document-dialog #invoicePanel{margin:10px 0!important;padding:0!important;overflow:visible!important;max-height:none!important;display:block!important}.invoice-document-dialog .invoice-save-toolbar{position:static!important;margin-bottom:8px;padding:8px;gap:8px}.invoice-document-dialog .priced-invoice-preview{padding:12px}.invoice-modal-signing{border-top:1px solid #d2dde7;padding:10px 0}.invoice-modal-signing h4{margin:0 0 8px}.invoice-modal-signing button,.invoice-modal-signing a{margin:4px;padding:7px;font-size:12px}.invoice-modal-signing .customer-signature-proof canvas{max-height:100px;width:auto}.invoice-modal-signing p{font-size:12px}.invoice-document-dialog .invoiceemail{font-size:12px}
@media print{body:has(#invoicePanel.invoice-modal-content)>*:not(.invoice-document-dialog){display:none!important}body:has(#invoicePanel.invoice-modal-content)>dialog.invoice-document-dialog[open]{display:block!important;position:static!important;max-width:none!important;width:100%!important;max-height:none!important;height:auto!important;overflow:visible!important;border:0!important;padding:0!important;margin:0!important}.invoice-dialog-tools,.invoice-modal-signing{display:none!important}.invoice-document-dialog::backdrop{display:none}}

html[data-office-theme="dark"] body .invoice-document-dialog :is(h4,label,p,strong,b){color:#17324e!important}html[data-office-theme="dark"] body .invoice-document-dialog input{background:#fff!important;color:#17324e!important}
@media screen{dialog.invoice-revision-review{width:min(520px,calc(100vw - 32px));padding:16px;border:1px solid #d8cbe9;border-radius:9px;color:#544365;background:#fff}dialog.invoice-revision-review p{line-height:1.5}dialog.invoice-revision-review button{padding:7px 10px;margin:5px;border:1px solid #d8cbe9;border-radius:6px;cursor:pointer}dialog.invoice-revision-review button:last-of-type{background:#69469c;color:white}dialog.invoice-revision-review::backdrop{background:#25203966}}

/* approved-workspace.css */
/* One compact workspace: record header, vehicle, tabs/assignments, details, activity. */
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:44px 44px 38px minmax(100px,1fr) auto!important;border:1px solid var(--night-line,#dce5ef);border-radius:6px!important;background:var(--night-panel,#fff)}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job>.worktitle{grid-row:1!important}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job>.proof-vehicle-summary{grid-row:2!important;min-height:0!important;height:44px!important;padding:3px 10px!important;overflow-x:auto;gap:10px!important}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job>.proof-context-bar{grid-row:3!important;display:flex!important;align-items:center;min-height:0!important;height:38px!important;gap:6px}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job>.proof-context-bar>.dispatch-detail-tabs{flex:1 1 auto;min-width:0;width:auto!important;padding:0!important}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job .dispatch-detail-tabs button{padding:4px 8px!important;font-size:12px!important}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job [data-dispatch-tab][hidden]{display:none!important}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job>.proof-context-bar>.schedule-assignment{display:flex!important;flex:0 1 auto;align-items:center;gap:8px;border:0;padding:0 5px;min-width:0;max-width:390px}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job .schedule-assignment>div{display:flex!important;align-items:center;gap:4px;min-width:0}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job .schedule-assignment button{max-width:135px;min-height:28px!important;font-size:11px!important;border:1px solid var(--night-line,#dce5ef);background:var(--night-panel,#fff);border-radius:4px}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job .schedule-assignment :is(.schedule-tech-actions,.schedule-assignment-part,.schedule-contact-status){display:none!important}
.approved-ask-smarty{flex:none;margin-right:6px;font:11px Arial,sans-serif!important;min-height:28px!important;padding:3px 7px!important;border:1px solid var(--night-line,#b7d7f6)!important;border-radius:4px;background:var(--night-panel,#f3f8ff);color:var(--night-link,#0969da)}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job>.proof-vehicle-summary .page-fitment-grid{display:flex!important;flex:1 1 auto;gap:12px!important}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job .page-fitment-field{font-size:11px!important}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job .proof-vehicle-value{flex:1 1 auto!important;max-width:360px}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job .studio-job-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job .studio-job-cards>.studio-card:nth-child(3){display:none!important}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job .studio-card{padding:6px 10px!important}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job .studio-card :is(.proof-inline-value,.proof-name,.proof-value){font-size:12px!important;line-height:1.45!important}
.approved-insurance-strip{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;padding:7px 10px;border-block:1px solid var(--night-line,#dce5ef);font-size:12px}
.approved-insurance-strip[hidden]{display:none!important}.approved-insurance-strip>.approved-edit{margin-left:auto}
.approved-adjuster{display:flex;align-items:center;gap:7px}.approved-insurance-strip :is(button,a){font:11px Arial,sans-serif;color:var(--night-link,#0969da)}
.approved-parts{font-size:12px;border-top:1px solid var(--night-line,#dce5ef)}.approved-parts>summary{padding:7px 10px;cursor:pointer;font-weight:600}.approved-parts .work-section-parts>h2{display:none!important}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job dialog.approved-section-editor[open]{display:flex!important;flex-direction:column!important;position:fixed!important;inset:12px 12px 12px auto!important;margin:0!important;width:min(520px,calc(100vw - 24px))!important;max-height:calc(100dvh - 24px)!important;height:auto!important;transform:none!important;overflow:hidden!important;background:var(--night-panel,#fff)!important;color:var(--night-text,#17324e);border:1px solid var(--night-line,#ccd8e6);border-radius:8px;padding:0!important}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job dialog.approved-section-editor>header{display:flex!important;align-items:center;gap:8px;padding:10px 12px!important;min-height:42px!important}
.approved-section-editor>header h2{font-size:15px!important;margin:0;flex:1}.approved-save-state{font-size:11px;max-width:150px;white-space:normal;color:var(--night-muted,#55728c)}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job dialog.approved-section-editor>.studio-editor-body{flex:1;overflow:auto!important;padding:12px!important;min-height:0;max-height:none!important}
.approved-section-editor :is(input,select,textarea){font-size:13px!important;min-height:32px!important;box-sizing:border-box;max-width:100%}
.approved-section-editor label{font-size:12px!important}.approved-section-editor footer{padding:9px 12px!important}.approved-section-editor .studio-help{font-size:11px!important}
.approved-queue{display:none}
@media(min-width:1200px){body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job{grid-template-columns:235px minmax(0,1fr)!important}body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job>:not(.approved-queue):not(dialog){grid-column:2!important}.approved-queue{display:flex;flex-direction:column;grid-column:1!important;grid-row:1/-1!important;min-height:0;border-right:1px solid var(--night-line,#dce5ef);overflow:hidden}.approved-queue>header{padding:12px;font-size:16px}.approved-queue>input{margin:0 10px 8px;width:calc(100% - 20px);min-height:30px;font-size:12px}.approved-queue-rows{overflow:auto;min-height:0}.approved-queue-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 5px;padding:9px 10px;border-bottom:1px solid var(--night-line,#e3eaf2);font-size:11px}.approved-queue-row.selected{background:var(--night-selected,#eaf3ff);border-left:3px solid #1680ff;padding-left:7px}.approved-queue-name{grid-column:1/-1;text-align:left;border:0;background:none;color:inherit;font-size:13px;font-weight:600;padding:0;min-height:22px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.approved-queue-row time{grid-column:1/-1;font-size:11px}.approved-queue-vehicle{grid-column:1/-1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.approved-queue-row .customer-local-clock{grid-column:1/-1;font-size:11px!important;margin:0}.approved-queue-status{font-size:10px;color:var(--night-muted,#55728c)}}
.approved-smarty-dialog{width:min(660px,calc(100vw - 24px));max-height:90dvh;border:1px solid var(--night-line,#ccd8e6);border-radius:8px;background:var(--night-panel,#fff);color:var(--night-text,#17324e);padding:0;overflow:hidden}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job>dialog.approved-smarty-dialog[open]{display:flex!important;flex-direction:column!important;position:fixed!important;inset:5dvh auto auto 50%!important;transform:translateX(-50%)!important;max-height:90dvh!important;margin:0!important}
.approved-smarty-dialog::backdrop{background:#102b4655}.approved-smarty-dialog>header{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;border-bottom:1px solid var(--night-line,#dce5ef)}.approved-smarty-shortcuts{display:flex;flex-wrap:wrap;gap:6px;padding:10px 12px 0}.approved-smarty-shortcuts button{font-size:12px;min-height:32px}.approved-smarty-status{font-size:11px;margin:8px 12px;color:var(--night-muted,#5b7186)}.approved-smarty-body{overflow:auto;padding:8px 12px;min-height:0}.approved-smarty-body>.office-ai{display:block!important;padding:0!important;border:0!important;box-shadow:none!important}.approved-smarty-body>.office-ai>summary{display:none!important}.approved-smarty-body :is(textarea,input,select){max-width:100%;box-sizing:border-box;font-size:13px}.approved-smarty-body table{width:100%;font-size:11px;border-collapse:collapse}.approved-smarty-body th,.approved-smarty-body td{padding:5px;border-bottom:1px solid #dce5ef}.approved-ai-more>summary{font-size:12px;padding:8px 0;cursor:pointer}
.approved-lead-menu{position:relative;display:inline-block}.approved-lead-menu>summary{list-style:none;cursor:pointer;font-size:18px;min-width:28px;min-height:28px;text-align:center}.approved-lead-menu>div{position:absolute;right:0;top:100%;z-index:80;background:var(--night-panel,#fff);border:1px solid var(--night-line,#dce5ef);padding:5px;box-shadow:0 4px 15px #1234;min-width:140px}.approved-lead-menu [data-lead-delete]{color:#b42318!important;width:100%;font-size:12px!important;min-height:34px!important;white-space:nowrap}
@media(max-width:1050px){body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job>.proof-context-bar{overflow-x:auto!important;flex-wrap:nowrap!important}body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job>.proof-context-bar>.dispatch-detail-tabs{flex:none}body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job>.proof-context-bar>.schedule-assignment{flex:none}.approved-ask-smarty{flex:none}}
@media(max-width:600px){body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job .studio-job-cards{grid-template-columns:1fr!important}.approved-section-editor :is(input,select,textarea){font-size:16px!important}.approved-insurance-strip{font-size:12px}.approved-smarty-body :is(input,select,textarea){font-size:16px}.approved-ask-smarty{min-height:32px!important}}

body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job>.approved-queue{display:none!important}
@media(min-width:1200px){body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job>.approved-queue{display:flex!important;grid-column:1!important;grid-row:1/-1!important}}

body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job>.proof-vehicle-summary>.proof-vehicle-value{display:block!important;min-width:180px;flex:1 1 320px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job>.worktitle{display:flex!important;overflow:hidden!important;gap:6px!important;align-items:center!important;position:relative!important;top:auto!important;height:44px!important;min-height:0!important;padding:4px 9px!important}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job>.worktitle .compact-job-number{display:none!important}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job>.worktitle .worktitleactions{display:flex!important;align-items:center;flex-wrap:nowrap!important;gap:5px!important}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job>.worktitle .job-location-status{display:flex!important;flex-wrap:nowrap!important;align-items:center;gap:6px;min-width:0!important}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job>.worktitle h3{font-size:14px!important;min-width:90px!important;max-width:230px!important}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job>.worktitle .record-autosave{white-space:nowrap;font-size:11px}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job .proof-value:has([aria-label^="Service address:"])>.proof-label{display:block!important;font-size:10px!important}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job>.proof-context-bar{position:relative!important;z-index:3!important;overflow-x:auto!important;overflow-y:hidden!important;white-space:nowrap}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job .dispatch-tab-back,body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job [data-dispatch-tab="Messages"],body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job [data-compact-notes]{display:none!important}
@media(max-width:900px){body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job>.worktitle .job-coordinator{display:none!important}body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job>.worktitle{overflow-x:auto!important;white-space:nowrap}body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job>.worktitle>*{flex-shrink:0}body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job>.worktitle .job-location-status .work-order-location{display:none!important}}

body .customer-stop-blocked,body [data-text-blocked="true"]{color:#b42318!important;background:#fff0f0!important;border-color:#e7aaaa!important}body [data-message-state="received"]:not(.customer-stop-blocked){color:#9a6200!important;background:#fff3cf!important}body [data-message-state="sent"]:not(.customer-stop-blocked){color:#16733f!important;background:#e9f8ed!important}body [data-message-state="failed"]:not(.customer-stop-blocked){color:#b42318!important;background:#fff0f0!important}body [data-message-state="empty"]:not(.customer-stop-blocked){background:transparent!important;color:var(--night-muted,#6b7c8c)!important}

body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job .approved-smarty-body .smarty-parts{display:block!important;margin-top:10px!important;padding:7px!important;border:1px solid var(--night-line,#dce5ef)!important}
.approved-smarty-dialog button{border:1px solid var(--night-line,#cbd9e8);border-radius:4px;padding:5px 9px;background:var(--night-panel,#fff);color:var(--night-link,#126db5);font:12px Arial,sans-serif;min-height:30px;cursor:pointer}.approved-smarty-dialog [data-ai=ask],.approved-smarty-dialog .primary{background:#1478ea;color:white;border-color:#1478ea}.approved-smarty-dialog .office-ai-actions{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:8px}.approved-smarty-dialog label{display:grid;gap:5px;font-size:12px;margin-block:8px}.approved-smarty-dialog textarea{padding:8px;border:1px solid #cbd9e8;border-radius:5px}
@media(max-width:1050px){body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job>.proof-context-bar>.dispatch-detail-tabs{flex:0 0 max-content!important;min-width:max-content!important;max-width:none!important;width:max-content!important;overflow:visible!important}body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job>.proof-context-bar>.schedule-assignment{flex:0 0 auto!important;max-width:none!important}}

.approved-queue-actions{display:flex;justify-content:flex-end;gap:4px;grid-column:2}.approved-queue-actions button{width:27px;min-height:27px;padding:2px;border:0;border-radius:3px;background:transparent;color:var(--night-link,#315d83);font-size:14px}.approved-queue-row>.approved-lead-menu{grid-column:2;justify-self:end}.approved-queue-row .approved-lead-menu>div{background:var(--night-panel,#fff);padding:6px;border:1px solid #dce5ef;border-radius:4px;z-index:100}

/* Approved mockup presentation, backed by the original record forms. */
@media screen {
body.mockup-office {--studio-rail:160px;--studio-top:48px;--night-bg:#fff;--night-panel:#fff;--night-text:#102343;--night-line:#dce5ef;--night-link:#0878f9;background:#fff!important;color:#102343!important;font-family:Arial,sans-serif!important}
body.mockup-office.office-studio.office-edge-tabs .top {position:fixed!important;inset:0 0 auto!important;height:48px!important;min-height:48px!important;padding:0 18px!important;background:#fff!important;color:#102343!important;border-bottom:1px solid #dce5ef!important;display:flex!important;align-items:center!important;gap:24px!important;overflow:visible!important;z-index:130!important}
.mockup-wordmark {width:220px;flex:none;line-height:1.1}.mockup-wordmark strong{font-size:20px;font-style:italic;letter-spacing:-.7px}.mockup-wordmark strong span{color:#0878f9}.mockup-wordmark small{display:block;font-size:12px;letter-spacing:3px;margin-top:3px}
.mockup-global-search{width:min(580px,50vw)!important;min-height:34px!important;border:1px solid #dce5ef!important;border-radius:5px!important;background:#f7f9fc!important;padding:7px 12px!important;font-size:13px!important;color:#102343!important;margin:auto!important}
.mockup-account{position:relative;flex:none}.mockup-account>summary{cursor:pointer;color:#284260;padding:8px;list-style:none;font-size:13px}.mockup-account>summary:after{content:' ⌄'}.mockup-account-tools{position:absolute;right:0;top:100%;width:330px;padding:12px;display:flex;flex-wrap:wrap;gap:8px;background:#fff;border:1px solid #dce5ef;box-shadow:0 5px 18px #20324b22;max-height:70vh;overflow:auto;color:#102343}.mockup-account:not([open])>.mockup-account-tools{display:none!important}
body.mockup-office.office-studio .side{top:48px!important;width:160px!important;bottom:32px!important;background:#f7faff!important;border-right:1px solid #dce5ef!important;overflow:auto!important;padding:12px 7px!important}
body.mockup-office.office-studio .side>nav{display:flex!important;flex-direction:column;min-height:100%;gap:10px!important}
.mockup-nav-group{display:grid;gap:4px}.mockup-nav-group>small{font-size:10px;letter-spacing:.4px;color:#49617e;padding:8px 10px}
body.mockup-office.office-studio.office-edge-tabs .side .nav{display:flex!important;align-items:center;gap:12px;width:100%!important;min-height:32px!important;padding:5px 9px!important;border:0!important;border-radius:5px!important;background:transparent!important;color:#183453!important;font-size:13px!important;justify-content:flex-start!important;text-align:left}
body.mockup-office.office-studio.office-edge-tabs .side .nav[hidden]{display:none!important}
body.mockup-office.office-studio.office-edge-tabs .side .nav.active{background:#dcecff!important;color:#0878f9!important;font-weight:600}
body.mockup-office.office-studio.office-edge-tabs .side .nav .edge-tab-label{display:inline!important;font-size:13px!important;position:static!important;width:auto!important;height:auto!important;clip:auto!important;opacity:1!important}
body.mockup-office.office-studio.office-edge-tabs .side .nav:before{font-size:17px!important;flex:none!important}
.mockup-nav-more>summary{cursor:pointer;padding:8px 12px;color:#49617e;font-size:12px}.mockup-admin-link{margin-top:auto!important}
body.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job{left:160px!important;top:48px!important;right:0!important;bottom:34px!important;width:auto!important;height:auto!important;max-height:none!important;border:0!important;border-radius:0!important;grid-template-rows:66px 40px 36px minmax(110px,auto) minmax(100px,1fr) 120px!important;background:#fff!important}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job>.worktitle{height:66px!important;display:block!important;padding:5px 12px!important;overflow:visible!important;background:#fff!important}
.mockup-record-line{display:flex!important;align-items:center!important;gap:12px!important;min-width:0!important;height:35px!important;width:100%}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job>.worktitle h3{font-size:18px!important;font-weight:700!important;max-width:350px!important;flex:none!important}
.mockup-record-right{margin-left:auto!important}.mockup-record-actions{display:flex;gap:15px;margin-top:7px}.mockup-record-actions button{background:transparent!important;border:0!important;color:#0878f9!important;font-size:13px!important;padding:2px 0!important;min-height:24px!important;height:24px!important}
.mockup-record-more{position:relative}.mockup-record-more>summary{font-size:12px;cursor:pointer;padding:5px}.mockup-record-more>div{position:absolute;top:100%;right:0;background:white;border:1px solid #dce5ef;padding:10px;min-width:280px;max-height:60vh;overflow:auto;z-index:50}.mockup-record-more:not([open])>div{display:none!important}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job>.proof-vehicle-summary{height:40px!important;margin:0 12px!important;padding:3px 8px!important;border:1px solid #dce5ef!important;border-radius:5px!important;background:#fff!important}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job>.proof-context-bar{height:36px!important;padding:0 12px!important;gap:12px;background:#fff!important}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job .dispatch-detail-tabs button{font-size:13px!important;min-height:36px!important;border-radius:0!important}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job .studio-card{padding:6px 12px!important;background:#fff!important;border-radius:0!important;box-shadow:none!important;border:0!important}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job .studio-card :is(.proof-inline-value,.proof-name,.proof-value){font-size:13px!important;line-height:1.4!important}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job>.activity-workspace{grid-row:5!important;height:auto!important;min-height:0!important;padding:0 12px!important;background:#fff!important}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job>.activity-workspace .compact-dock-header{min-height:38px!important;padding:0!important}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job>.activity-workspace .compact-dock-header>strong{font-size:17px!important}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job>.mockup-inline-composer:not(.is-expanded){grid-row:6!important;position:relative!important;inset:auto!important;width:100%!important;max-width:none!important;height:120px!important;max-height:120px!important;box-shadow:none!important;border:0!important;border-top:1px solid #dce5ef!important;border-radius:0!important;padding:3px 18px!important;z-index:5!important}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job>.mockup-inline-composer:not(.is-expanded) :is(.activity-popup-header,.activity-job-context,.activity-popup-tabs,.activity-quick-actions,.chathead,.chatbody,.coord-message-work,.dealerwork){display:none!important}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job>.mockup-inline-composer:not(.is-expanded) .activity-popup-body{display:flex!important;flex:1!important;min-height:0!important;overflow:auto!important}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job>.mockup-inline-composer:not(.is-expanded) .composer{width:100%!important;margin:0!important;border:0!important;padding:5px 0!important}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job>.mockup-inline-composer:not(.is-expanded) .composer>textarea{font-size:13px!important;height:43px!important;min-height:43px!important;border:1px solid #cbd9e8!important;border-radius:5px!important;padding:9px!important}
@media(min-width:1200px){body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job{grid-template-columns:280px minmax(0,1fr)!important}body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job>.approved-queue{display:flex!important;grid-column:1!important;grid-row:1/-1!important}body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job>:not(.approved-queue):not(dialog){grid-column:2!important}.approved-queue>header{font-size:15px!important;font-weight:700;padding:10px!important}.approved-queue-row{padding:7px 10px!important;gap:2px 5px!important}.approved-queue-name{font-size:14px!important}.approved-queue-vehicle{font-size:12px!important}}
@media(max-width:800px){body.mockup-office.office-studio .side{display:none!important}body.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job{left:0!important;top:48px!important;grid-template-rows:66px 40px 36px minmax(110px,auto) minmax(100px,1fr) 120px!important}.mockup-wordmark{width:155px}.mockup-wordmark strong{font-size:16px}.mockup-global-search{display:none!important}.mockup-account{margin-left:auto}.mockup-record-line{gap:8px!important}body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job>.worktitle h3{font-size:18px!important;max-width:190px!important}.mockup-record-line .job-location-status{display:none!important}.mockup-record-right .record-autosave{font-size:10px!important}.mockup-record-actions{gap:13px}.mockup-record-actions button{font-size:12px!important}body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job>.activity-workspace{height:auto!important;min-height:0!important}body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job .studio-card{padding:7px 12px!important}}
}

@media screen{
body.mockup-office.office-studio.office-edge-tabs .side .nav{flex-direction:row!important;white-space:nowrap!important}
body.mockup-office.office-studio.office-edge-tabs .side .nav .office-nav-icon{display:inline-flex!important;width:19px!important;height:19px!important;flex:none!important}
body.mockup-office.office-studio.office-edge-tabs .side .nav:has(.office-nav-icon):before{display:none!important}
body.mockup-office.office-studio.office-edge-tabs .side .nav>.office-icon{display:none!important}
body.mockup-office.office-studio.office-edge-tabs .side .nav[data-view=collections] .edge-tab-label{font-size:0!important}
body.mockup-office.office-studio.office-edge-tabs .side .nav[data-view=collections] .edge-tab-label:after{content:'Collections';font-size:13px}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job>.worktitle .mockup-record-right .job-coordinator{display:flex!important;align-items:center;gap:4px;font-size:11px!important;position:static!important}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job>.worktitle .mockup-record-right .job-coordinator select{max-width:100px!important;height:28px!important;font-size:11px!important}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job>.worktitle .mockup-record-right>.coord-header-notes{display:none!important}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job .studio-card .proof-name,body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job .studio-card .proof-value{color:#102343!important}
@media(max-width:800px){.mockup-wordmark{width:175px;white-space:nowrap}.mockup-wordmark strong{font-size:15px}.mockup-record-right .job-coordinator{display:none!important}body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job>.worktitle .mockup-record-right .job-coordinator{display:none!important}body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job>.worktitle h3{flex:1 1 auto!important;white-space:nowrap!important;font-size:17px!important;min-width:0!important}.mockup-record-right{flex:0 0 auto!important;max-width:145px!important}.mockup-record-right .record-autosave{max-width:80px;overflow:hidden}.mockup-record-line{overflow:visible!important}}
}
@media screen{body.mockup-office.office-proof.office-edge-tabs .side .nav::after{display:none!important}body.mockup-office.office-studio.office-edge-tabs .side .nav .office-nav-icon{color:#49617e!important}body.mockup-office.office-studio.office-edge-tabs .side .nav.active .office-nav-icon{color:#0878f9!important}}
@media screen{body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job>.worktitle .dispatch-close{display:inline-flex!important;align-items:center;justify-content:center;border:0!important;background:transparent!important;font-size:22px!important;padding:0 3px!important;min-width:24px!important}body.mockup-office.office-studio.office-edge-tabs main{padding-top:58px!important}body.mockup-office.office-studio.office-edge-tabs .side{height:auto!important}}
@media screen and (min-width:1000px){body.office-phone-open.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job{right:364px!important;grid-template-columns:minmax(0,1fr)!important}body.office-phone-open.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job>.approved-queue{display:none!important}body.office-phone-open.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job>:not(.approved-queue):not(dialog){grid-column:1!important}}
@media screen and (max-width:800px){body.mockup-office.office-studio.office-edge-tabs main{margin-left:0!important;width:100%!important}}

/* Keep both lead and job queues readable across the complete laptop breakpoint. */
@media screen and (min-width:1200px){
 body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job>.approved-queue{width:auto!important;min-width:0!important;max-width:none!important}
 .approved-queue-row{align-content:start;min-width:0}
 .approved-queue-row>time{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .approved-queue-row>.approved-queue-status{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .approved-queue-row>.approved-queue-actions{grid-row:auto}
}
@media screen{
 body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job>[data-dispatch-pane]{min-height:0!important;overflow:auto!important}
 body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job>.activity-workspace{display:flex!important;flex-direction:column!important;overflow:hidden!important}
 body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job>.activity-workspace .compact-dock-body{flex:1!important;min-height:0!important;height:auto!important}
}

@media screen and (min-width:1200px){
 .approved-queue-row{grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:28px 16px 16px!important}
 .approved-queue-row>.approved-queue-name{grid-column:1!important;grid-row:1!important;font-size:13px!important;min-width:0}
 .approved-queue-row>.approved-queue-actions{grid-column:2!important;grid-row:1!important;align-items:center}
 .approved-queue-row>.approved-queue-vehicle{grid-column:1!important;grid-row:2!important;font-size:11px!important}
 .approved-queue-row>.approved-queue-status{grid-column:2!important;grid-row:2!important;text-align:right}
 .approved-queue-row>time{grid-column:1!important;grid-row:3!important;font-size:10px!important}
 .approved-queue-row>.customer-local-clock{grid-column:2!important;grid-row:3!important;font-size:10px!important;white-space:nowrap}
 .approved-queue-actions>.approved-lead-menu{display:inline-flex;align-items:center}
}

/* One contact toolbar; vehicle fitment and assignment controls fit their sections. */
@media screen{
 body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job{
  grid-template-rows:66px auto auto minmax(100px,auto) minmax(100px,1fr) 120px!important;
 }
 body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job>.proof-vehicle-summary{
  display:grid!important;grid-template-columns:minmax(0,1fr) auto auto!important;
  grid-template-rows:auto auto!important;gap:3px 8px!important;
  height:auto!important;min-height:0!important;min-width:0!important;
  overflow:visible!important;padding:4px 8px!important;box-sizing:border-box!important;
 }
 body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job>.proof-vehicle-summary>.proof-vehicle-value{
  grid-column:1!important;grid-row:1!important;min-width:0!important;max-width:none!important;width:auto!important;
 }
 body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job>.proof-vehicle-summary>button{
  grid-row:1!important;min-width:0!important;white-space:nowrap!important;
 }
 body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job>.proof-vehicle-summary>.page-fitment-grid{
  grid-column:1/-1!important;grid-row:2!important;display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:4px 10px!important;
  min-width:0!important;width:100%!important;max-width:100%!important;
 }
 body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job .proof-vehicle-summary .page-fitment-field{
  display:flex!important;min-width:0!important;gap:5px!important;max-width:100%!important;
 }
 body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job .proof-vehicle-summary .compact-lookup-field{
  flex:1!important;min-width:0!important;max-width:100%!important;
 }
 body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job .proof-vehicle-summary .page-fitment-field input{
  flex:1!important;width:0!important;min-width:0!important;max-width:100%!important;height:28px!important;box-sizing:border-box!important;
 }
 body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job .proof-vehicle-summary .vehicle-vin-status:empty{display:none!important}
 body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job>.proof-context-bar{
  height:auto!important;min-height:36px!important;overflow:visible!important;flex-wrap:wrap!important;gap:3px 8px!important;
 }
 body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job>.proof-context-bar>.dispatch-detail-tabs{
  flex:1 1 260px!important;width:auto!important;min-width:0!important;max-width:100%!important;
  height:auto!important;min-height:32px!important;overflow:visible!important;flex-wrap:wrap!important;
 }
 body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job .dispatch-detail-tabs button{
  min-width:0!important;min-height:30px!important;height:30px!important;font-size:12px!important;padding:3px 7px!important;
 }
 body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job .studio-card>.schedule-assignment{
  display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:4px 10px!important;
  padding:4px 0!important;margin:0!important;border:0!important;min-width:0!important;max-width:100%!important;
 }
 body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job .studio-card .schedule-assignment>div{
  flex:1 1 130px!important;min-width:0!important;display:flex!important;align-items:center!important;gap:4px!important;
 }
 body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job .studio-card .schedule-assignment>div>small{font-size:10px!important;flex:none}
 body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job .studio-card .schedule-assignment>div>button{
  flex:1!important;min-width:0!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
 }
 body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job .studio-job-cards :is(.office-contact-actions,.compact-customer-actions){
  display:inline-flex!important;
 }
}
@media screen and (max-width:480px){
 body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job>.proof-vehicle-summary>.page-fitment-grid{
  grid-template-columns:minmax(0,1fr)!important;
 }
 body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job>.proof-vehicle-summary{
  grid-template-columns:minmax(0,1fr) auto!important;
 }
 body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job>.proof-vehicle-summary>button:nth-of-type(2){
  grid-row:3!important;grid-column:1/-1!important;justify-self:start;
 }
}

body.dispatch-office #leadsList .approved-lead-menu>[popover]>button[data-lead-delete]{display:block!important;width:100%!important;min-width:0!important;max-width:none!important;height:auto!important;min-height:34px!important;padding:6px 10px!important;text-align:left!important;font-size:12px!important;line-height:20px!important;white-space:nowrap!important;overflow:visible!important}

body.dispatch-office #orders .approved-lead-menu>[popover]>button[data-work-delete]{display:block!important;width:100%!important;min-width:0!important;max-width:none!important;height:auto!important;min-height:36px!important;padding:6px 10px!important;text-align:left!important;font-size:12px!important;line-height:20px!important;white-space:nowrap!important;color:#b42318!important}

/* mobile-workspace.css */
/* Mobile workspace owns flow; desktop grids must not position phone sections. */
@media screen and (min-width:801px){
body.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job{grid-template-rows:66px auto auto minmax(100px,auto) auto auto!important;align-content:start!important;}
body.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job>.activity-workspace:not(.is-collapsed){height:clamp(96px,24dvh,220px)!important;min-height:0!important;}
}
@media screen and (max-width:800px){
body.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job:has(#invoicePanel:not(.hidden)){display:block!important;height:auto!important;max-height:none!important;overflow-x:hidden!important;overflow-y:auto!important;}

body.mockup-office:has(#detail.mockup-job) .mobilebar{display:none!important}
body.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job{display:block!important;position:fixed!important;inset:48px 0 calc(68px + env(safe-area-inset-bottom,0px)) 0!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain;scroll-padding-block:12px 24px;padding:0 0 12px!important;box-sizing:border-box!important;}
body.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job>.approved-queue{display:none!important;}
body.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job>.worktitle{display:block!important;position:relative!important;inset:auto!important;height:auto!important;min-height:0!important;max-height:none!important;padding:7px 10px!important;overflow:visible!important;}
body.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job .mockup-record-line{display:flex!important;flex-wrap:wrap!important;height:auto!important;min-height:32px!important;gap:4px 8px!important;width:100%!important;min-width:0!important;}
body.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job>.worktitle h3{flex:1 1 120px!important;min-width:0!important;max-width:none!important;white-space:normal!important;overflow-wrap:anywhere!important;font-size:16px!important;line-height:1.3!important;}
body.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job>.worktitle .mockup-record-right{flex:0 1 auto!important;max-width:none!important;min-width:0!important;gap:4px!important;margin-left:auto!important;}
body.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job .mockup-record-actions{display:flex!important;flex-wrap:wrap!important;gap:4px 12px!important;margin:3px 0 0!important;}
body.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job .mockup-record-actions button{font-size:13px!important;min-height:36px!important;height:auto!important;padding:4px 0!important;}
body.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job>.proof-vehicle-summary{display:grid!important;position:static!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:auto auto auto!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;margin:4px 10px 8px!important;padding:7px 8px!important;gap:5px 8px!important;box-sizing:border-box!important;}
body.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job>.proof-vehicle-summary>.proof-vehicle-value{display:block!important;grid-column:1/-1!important;grid-row:1!important;min-width:0!important;max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important;font-size:14px!important;line-height:1.4!important;}
body.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job>.proof-vehicle-summary>.proof-vehicle-value:empty::before{content:'Vehicle not entered';color:#687e91;}
body.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job>.proof-vehicle-summary>button{grid-column:auto!important;grid-row:2!important;min-height:36px!important;height:auto!important;font-size:13px!important;justify-self:start!important;max-width:100%!important;}
body.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job>.proof-vehicle-summary>button:nth-of-type(2){grid-column:auto!important;grid-row:2!important;}
body.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job>.proof-vehicle-summary>.page-fitment-grid{display:grid!important;position:static!important;grid-column:1/-1!important;grid-row:3!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:none!important;min-width:0!important;width:100%!important;max-width:100%!important;height:auto!important;max-height:none!important;overflow:visible!important;gap:6px!important;}
body.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job .proof-vehicle-summary .page-fitment-field{display:flex!important;position:static!important;flex-direction:column!important;align-items:stretch!important;grid-column:auto!important;grid-row:auto!important;min-width:0!important;width:100%!important;height:auto!important;max-height:none!important;gap:3px!important;font-size:12px!important;}
body.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job .proof-vehicle-summary .page-fitment-field>span:first-child{font-size:12px!important;}
body.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job .proof-vehicle-summary .compact-lookup-field{display:flex!important;position:static!important;align-items:center!important;min-width:0!important;width:100%!important;max-width:100%!important;}
body.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job .proof-vehicle-summary .page-fitment-field input{position:static!important;flex:1 1 0!important;min-width:0!important;width:0!important;max-width:100%!important;height:40px!important;min-height:40px!important;font-size:16px!important;line-height:20px!important;padding:8px!important;}
body.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job .proof-vehicle-summary .compact-lookup{flex:0 0 40px!important;width:40px!important;min-width:40px!important;height:40px!important;min-height:40px!important;}
body.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job .vehicle-vin-status{max-width:100%!important;font-size:11px!important;white-space:normal!important;}
body.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job>.proof-context-bar{position:static!important;display:flex!important;flex-wrap:wrap!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;padding:0 10px 6px!important;gap:4px!important;}
body.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job>.proof-context-bar>.dispatch-detail-tabs{display:flex!important;flex:1 1 100%!important;flex-wrap:wrap!important;width:100%!important;min-width:0!important;max-width:100%!important;height:auto!important;min-height:0!important;overflow:visible!important;}
body.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job .dispatch-detail-tabs button{height:auto!important;min-height:38px!important;min-width:0!important;padding:6px 9px!important;font-size:14px!important;}
body.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job .approved-ask-smarty{margin-left:auto!important;min-height:36px!important;font-size:12px!important;}
body.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job>[data-dispatch-pane]:not([hidden]){display:block!important;position:static!important;inset:auto!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;padding:0 10px 8px!important;box-sizing:border-box!important;}
body.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job .work-order-rows{display:flex!important;position:static!important;flex-direction:column!important;gap:8px!important;width:100%!important;min-width:0!important;height:auto!important;max-height:none!important;overflow:visible!important;padding:0!important;}
body.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job .studio-job-cards{display:block!important;position:static!important;width:100%!important;min-width:0!important;height:auto!important;max-height:none!important;overflow:visible!important;}
body.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job .studio-card{display:block!important;position:static!important;inset:auto!important;width:100%!important;min-width:0!important;height:auto!important;min-height:0!important;max-height:none!important;padding:8px 4px!important;margin:0!important;overflow:visible!important;box-sizing:border-box!important;}
body.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job .studio-card>header{display:flex!important;position:static!important;justify-content:space-between!important;height:auto!important;min-height:32px!important;max-height:none!important;}
body.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job .studio-card>header h3{font-size:14px!important;line-height:1.4!important;}
body.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job .studio-card>header button{min-height:32px!important;min-width:32px!important;}
body.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job .studio-card-body{display:block!important;position:static!important;inset:auto!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;padding:0!important;overflow:visible!important;}
body.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job .studio-card-body>.proof-value{display:block!important;position:static!important;inset:auto!important;width:100%!important;min-width:0!important;height:auto!important;min-height:0!important;max-height:none!important;margin:4px 0!important;white-space:normal!important;overflow-wrap:anywhere!important;font-size:14px!important;line-height:1.45!important;}
body.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job .studio-card :is(.proof-name,.proof-inline-value,.proof-field-value){position:static!important;display:inline!important;white-space:normal!important;overflow-wrap:anywhere!important;font-size:14px!important;line-height:1.45!important;}
body.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job .studio-card .schedule-assignment{position:static!important;width:100%!important;max-width:100%!important;}
body.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job .studio-card .schedule-assignment>div{flex:1 1 100%!important;min-width:0!important;}
body.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job .studio-card .schedule-assignment>div>small{min-width:72px!important;font-size:12px!important;}
body.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job .studio-card .schedule-assignment>div>button{font-size:14px!important;height:40px!important;min-height:40px!important;}
body.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job .charges-scroll{width:100%!important;max-width:100%!important;overflow-x:auto!important;}
body.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job .work-order-charges .charges-scroll table{min-width:460px!important;}
body.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job>.activity-workspace{display:block!important;position:relative!important;inset:auto!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;padding:0 10px!important;overflow:hidden!important;box-sizing:border-box!important;}
body.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job>.activity-workspace .compact-dock-resize{display:none!important;}
body.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job>.activity-workspace .compact-dock-header{display:flex!important;flex-wrap:wrap!important;height:auto!important;min-height:36px!important;padding:4px 0!important;gap:4px 8px!important;}
body.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job>.activity-workspace .compact-dock-header button{font-size:12px!important;min-height:36px!important;height:auto!important;}
body.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job>.activity-workspace .activity-filters{flex:1 1 100%!important;flex-wrap:wrap!important;}
body.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job>.activity-workspace .compact-dock-body{display:block!important;flex:none!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:hidden!important;}
body.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job>.activity-workspace .activity-feed{height:auto!important;min-height:0!important;max-height:min(440px,55dvh)!important;overflow-y:auto!important;padding:0!important;}
body.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job .activity-row>summary{font-size:12px!important;line-height:1.4!important;min-height:36px!important;gap:3px 6px!important;flex-wrap:wrap!important;}
body.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job .activity-preview{min-width:0!important;white-space:normal!important;font-size:12px!important;}
body.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job>.mockup-inline-composer:not(.is-expanded){display:flex!important;position:relative!important;inset:auto!important;width:100%!important;max-width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;padding:6px 10px 10px!important;overflow:visible!important;box-sizing:border-box!important;}
body.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job>.mockup-inline-composer:not(.is-expanded) .activity-popup-body{display:block!important;flex:none!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;}
body.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job>.mockup-inline-composer:not(.is-expanded) :is(.compact-dock-messages,.compact-dock-notes,.job-chat-host,#conversation.job-embedded-conversation){position:static!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;flex:none!important;}
body.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job>.mockup-inline-composer:not(.is-expanded) .composer{display:flex!important;flex-wrap:wrap!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;gap:6px!important;padding:0!important;}
body.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job>.mockup-inline-composer:not(.is-expanded) .composer>#customMessage{flex:1 1 100%!important;width:100%!important;height:72px!important;min-height:72px!important;max-height:160px!important;font-size:16px!important;line-height:1.4!important;padding:8px!important;box-sizing:border-box!important;}
body.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job>.mockup-inline-composer:not(.is-expanded) #conversation :is(.message-composer-toolbar,.inbox-sendbar){position:static!important;display:flex!important;flex-wrap:wrap!important;min-width:0!important;max-width:100%!important;height:auto!important;padding:4px 0!important;gap:6px!important;}
body.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job>.mockup-inline-composer:not(.is-expanded) :is(#sendCustom,.message-composer-toolbar>button,.message-composer-more>summary){min-height:40px!important;font-size:13px!important;}
body.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job>.mockup-inline-composer:not(.is-expanded) #conversation :is(#customerMessageStatus,.customer-text-control){font-size:12px!important;line-height:1.4!important;min-height:0!important;padding:6px!important;margin:3px 0!important;}
body.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job .studio-job-cards>.studio-card:nth-child(3){display:none!important;}
body.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job [hidden]{display:none!important;}
body.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job>[data-dispatch-pane][hidden]{display:none!important;}
body.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job>.mockup-inline-composer[hidden]{display:none!important;}
}

/* Keep background list rows from showing below the fixed record workspace. */
@media screen{
 body.mockup-office:has(#workPanel:not(.hidden) #detail.mockup-job.order-open) #orders,
 body.mockup-office:has(#workPanel:not(.hidden) #detail.mockup-job.order-open) #leadsPanel{
  visibility:hidden!important;
  pointer-events:none!important;
 }
 body.mockup-office:has(#detail.mockup-job.order-open):not(.office-call-active) .office-softphone:not(.phone-expanded){
  bottom:calc(8px + env(safe-area-inset-bottom,0px))!important;
 }
}
@media screen and (min-width:801px){
 body.mockup-office:has(#detail.mockup-job.order-open) #workPanel>.layout>#detail.mockup-job{
  bottom:calc(60px + env(safe-area-inset-bottom,0px))!important;
 }
}


/* One scrolling work-order surface. Content determines row heights at every viewport. */
@media screen{
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:repeat(6,max-content)!important;grid-auto-rows:max-content!important;align-content:start!important;overflow-y:auto!important;overflow-x:hidden!important;scrollbar-gutter:stable;max-height:none!important;padding-bottom:12px!important;}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts>:not(.approved-queue):not(dialog){grid-column:1!important;}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts>.approved-queue{display:none!important;}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts>.worktitle{height:auto!important;min-height:66px!important;grid-row:1!important;}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts>.proof-vehicle-summary{height:auto!important;max-height:none!important;min-height:0!important;grid-row:2!important;}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts>.proof-context-bar{height:auto!important;min-height:36px!important;grid-row:3!important;}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts>[data-dispatch-pane]{grid-row:4!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts .work-order-rows{height:auto!important;max-height:none!important;overflow:visible!important;}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts>.activity-workspace{grid-row:5!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts>.activity-workspace .compact-dock-body{display:block!important;flex:none!important;height:auto!important;min-height:0!important;max-height:none!important;}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts>.activity-workspace .compact-dock-body[hidden]{display:none!important;}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts .activity-feed{height:auto!important;min-height:0!important;max-height:min(440px,55dvh)!important;overflow-y:auto!important;}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts>.mockup-inline-composer:not(.is-expanded){grid-row:6!important;position:relative!important;inset:auto!important;height:auto!important;min-height:110px!important;max-height:none!important;}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts .mockup-record-line{height:auto!important;min-height:32px!important;flex-wrap:wrap!important;gap:4px 10px!important;}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts .mockup-record-actions{flex-wrap:wrap!important;gap:4px 14px!important;margin:3px 0!important;}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts .mockup-record-actions>.compact-job-back{display:inline-flex!important;}
}
@media screen and (min-width:1600px){
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts{grid-template-columns:235px minmax(0,1fr)!important;}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts>.approved-queue{display:flex!important;grid-column:1!important;grid-row:1/-1!important;position:sticky!important;top:0!important;align-self:start!important;height:calc(100dvh - 148px)!important;min-height:0!important;}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts>:not(.approved-queue):not(dialog){grid-column:2!important;}
}

@media screen{
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts [hidden]{display:none!important;}
}
@media screen and (max-width:800px){
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts>.proof-vehicle-summary{grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:auto auto auto!important;}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts>.proof-vehicle-summary>.proof-vehicle-value{grid-column:1!important;grid-row:1!important;}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts>.proof-vehicle-summary>button{grid-column:2!important;grid-row:1!important;}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts .proof-vehicle-summary>.schedule-assignment{grid-column:1/-1!important;grid-row:2!important;width:100%!important;}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts>.proof-vehicle-summary>.page-fitment-grid{grid-column:1/-1!important;grid-row:3!important;width:100%!important;}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts>.proof-context-bar>.dispatch-detail-tabs{flex:1 1 auto!important;width:auto!important;}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts .dispatch-detail-tabs button{min-height:36px!important;font-size:12px!important;padding:5px 7px!important;}
}

@media screen and (max-width:800px){
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts .proof-vehicle-summary>.schedule-assignment>div{flex:1 1 100%!important;min-width:0!important;}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts .proof-vehicle-summary>.schedule-assignment>div>small{min-width:64px!important;}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts .proof-vehicle-summary>.schedule-assignment>div>button{min-width:100px!important;max-width:none!important;}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts .parts-assignment>header{display:flex!important;flex-wrap:wrap!important;align-items:center!important;}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts .work-order-charges td:before{content:attr(data-charge-label)!important;}
}

/* workflow-sections.css */
/* One parts workflow. Keep original fields and their save handlers. */
@media screen{
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.unified-parts .parts-assignment{order:2!important;min-width:0!important;max-width:100%!important;padding:7px 10px!important;border:1px solid var(--night-line,#dce5ef);border-radius:5px;background:var(--night-panel,#fff);box-sizing:border-box;}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.unified-parts .parts-assignment>header{display:flex!important;align-items:center;flex-wrap:wrap;gap:6px 12px;margin:0!important;padding:0!important;}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.unified-parts .parts-assignment>header>h3{flex:0 0 auto;margin:0!important;font-size:12px!important;line-height:1.4;}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.unified-parts .parts-assignment-controls{flex:1 1 350px;min-width:0;}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.unified-parts .parts-assignment-controls>.schedule-assignment{display:flex!important;flex-wrap:wrap;align-items:center;gap:5px 12px!important;margin:0!important;padding:0!important;border:0!important;min-width:0;max-width:100%;}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.unified-parts .parts-assignment-controls .schedule-assignment>div{display:flex!important;align-items:center;flex:1 1 160px;min-width:0;gap:5px;}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.unified-parts .parts-assignment-controls .schedule-assignment>div>small{flex:none;font-size:11px!important;}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.unified-parts .parts-assignment-controls .schedule-assignment>div>button{flex:1;min-width:0!important;max-width:210px!important;min-height:28px!important;font-size:12px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.unified-parts .parts-assignment-summary{display:block;font-size:11px;line-height:1.5;color:var(--night-muted,#61758a);overflow-wrap:anywhere;margin:4px 0;}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.unified-parts .parts-assignment>.approved-parts{border-top:1px solid var(--night-line,#dce5ef);margin-top:4px;min-width:0;}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.unified-parts .parts-assignment>.approved-parts>summary{padding:6px 0!important;font-size:12px;cursor:pointer;min-height:24px;}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.unified-parts :is(.work-order-technician,.assignment-choose-vendor){display:none!important;}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.unified-parts .parts-summary-edit{flex:none!important;width:auto!important;min-width:50px!important;min-height:28px!important;padding:3px 5px!important;font-size:11px!important;border:0!important;background:transparent!important;color:var(--night-link,#0878f9);white-space:nowrap;}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.unified-parts #pagePartNumber[readonly]{cursor:default;color:var(--night-muted,#526a7c)!important;background:var(--night-panel,#f7f9fc)!important;}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.unified-parts .document-parts #partRows .assignment-fields{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr) minmax(0,1.1fr) minmax(0,.8fr) minmax(0,1fr)!important;gap:6px!important;max-width:100%;}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.unified-parts .document-parts #partRows .assignment-fields>*{grid-column:auto!important;grid-row:auto!important;min-width:0!important;}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.unified-parts .document-parts #partRows .assignment-fields>.assignment-part-options{grid-column:1/-1!important;}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.unified-parts .work-evidence{order:6!important;min-width:0;max-width:100%;padding:7px 10px!important;}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.unified-parts .work-evidence>summary{min-height:28px;font-size:12px;cursor:pointer;}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.unified-parts .work-evidence-checks{display:flex;flex-wrap:wrap;gap:8px 14px;}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.unified-parts .work-evidence-checks label{display:flex!important;align-items:center;gap:6px;font-size:12px;}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.unified-parts .work-evidence-checks input[type=checkbox]{width:18px!important;min-width:18px!important;max-width:18px!important;height:18px!important;min-height:18px!important;flex:none!important;margin:0!important;}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.unified-parts .work-evidence-fields{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.unified-parts .work-evidence-fields label{min-width:0;}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.unified-parts .work-evidence-fields input{width:100%;box-sizing:border-box;}
}

/* Fit the complete job, activity and reply composer within the viewport. */
@media screen {
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts.top-item-workspace{display:grid!important;grid-template-rows:66px minmax(0,auto) auto minmax(0,1fr) minmax(84px,12%) 132px!important;overflow:hidden!important;min-height:0!important}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts.top-item-workspace>.worktitle{height:66px!important;min-height:0!important;box-sizing:border-box!important}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts.top-item-workspace>.proof-vehicle-summary{max-height:min(23dvh,190px)!important;overflow:auto!important;grid-template-columns:minmax(120px,1fr) minmax(220px,1.3fr) auto!important;grid-template-rows:auto auto auto!important}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts.top-item-workspace>.proof-vehicle-summary>.page-fitment-grid{grid-column:2!important;grid-row:1!important;grid-template-columns:minmax(0,1fr)!important;width:auto!important}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts.top-item-workspace>.proof-vehicle-summary>button{grid-column:3!important;grid-row:1!important}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts.top-item-workspace>.proof-vehicle-summary>.schedule-assignment{grid-column:1/-1!important;grid-row:2!important}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts.top-item-workspace>.proof-vehicle-summary>.parts-assignment{grid-row:3!important}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts.top-item-workspace>[data-dispatch-pane]{min-height:0!important;overflow:auto!important;align-content:start!important}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts.top-item-workspace>.proof-context-bar{overflow:visible!important;white-space:normal!important}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts.top-item-workspace>.proof-context-bar>.dispatch-detail-tabs{flex:1 1 280px!important;width:auto!important;min-width:0!important;max-width:100%!important;flex-wrap:wrap!important;overflow:visible!important}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts.top-item-workspace>.activity-workspace{height:auto!important;min-height:0!important;overflow:hidden!important}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts.top-item-workspace>.activity-workspace .activity-feed{flex:1!important;min-height:0!important;overflow:auto!important}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts.top-item-workspace>.mockup-inline-composer:not(.is-expanded){height:132px!important;min-height:0!important;max-height:132px!important;box-sizing:border-box!important}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts.top-item-workspace .studio-job-cards{gap:8px!important;align-items:start!important}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts.top-item-workspace .studio-card{min-height:0!important}
}
@media screen and (max-width:760px){
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts.top-item-workspace{grid-template-rows:66px minmax(0,auto) auto minmax(0,1fr) 84px 132px!important}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts.top-item-workspace>.proof-vehicle-summary{max-height:24dvh!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:auto auto auto auto!important}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts.top-item-workspace>.proof-vehicle-summary>.page-fitment-grid{grid-column:1/-1!important;grid-row:2!important}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts.top-item-workspace>.proof-vehicle-summary>button{grid-column:2!important}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts.top-item-workspace>.proof-vehicle-summary>.schedule-assignment{grid-row:3!important}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts.top-item-workspace>.proof-vehicle-summary>.parts-assignment{grid-row:4!important}
}
@media screen and (max-height:600px){
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts.top-item-workspace{grid-template-rows:58px minmax(0,auto) auto minmax(0,1fr) 44px 96px!important}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts.top-item-workspace>.worktitle{height:58px!important}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts.top-item-workspace>.proof-vehicle-summary{max-height:20dvh!important}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts.top-item-workspace>.mockup-inline-composer:not(.is-expanded){height:96px!important;max-height:96px!important}
}

@media screen and (max-width:800px){
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.unified-parts .parts-assignment>header{display:block!important;}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.unified-parts .parts-assignment-controls .schedule-assignment>div{flex:1 1 100%;}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.unified-parts .parts-assignment-controls .schedule-assignment>div>small{min-width:72px;font-size:12px!important;}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.unified-parts .parts-assignment-controls .schedule-assignment>div>button{max-width:none!important;min-height:40px!important;font-size:14px!important;}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.unified-parts .parts-assignment-summary{font-size:12px;}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.unified-parts .document-parts #partRows .assignment-fields{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.unified-parts .document-parts #partRows .assignment-fields :is(input,select){font-size:16px!important;min-height:40px!important;width:100%;box-sizing:border-box;}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.unified-parts .work-evidence-fields{grid-template-columns:minmax(0,1fr);}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.unified-parts .work-evidence-fields input{font-size:16px!important;min-height:40px!important;}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.unified-parts .parts-summary-edit{min-height:40px!important;font-size:12px!important;}
}
@media screen and (max-width:480px){
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.unified-parts .document-parts #partRows .assignment-fields{grid-template-columns:minmax(0,1fr)!important;}
}


/* Reviewed work-order layout: original controls, one editor per glass record. */
@media screen{
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.unified-parts.mockup-job .parts-assignment{order:1!important;}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.unified-parts.mockup-job .work-section-charges{order:2!important;}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.unified-parts.mockup-job .parts-assignment-summary,body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.unified-parts.mockup-job .parts-assignment-controls{display:none!important;}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.unified-parts.mockup-job .approved-parts{border:0!important;margin:0!important;}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.unified-parts.mockup-job .document-parts{margin:0!important;padding:0!important;border:0!important;}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.unified-parts.mockup-job .document-parts>h3{display:none!important;}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.unified-parts.mockup-job [hidden]{display:none!important;}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.unified-parts.mockup-job .document-parts #partRows .assignment-fields{grid-template-columns:minmax(130px,1.2fr) minmax(110px,1fr) minmax(130px,1.2fr) minmax(100px,.9fr)!important;}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.unified-parts.mockup-job .assignment-extra-fields{display:flex!important;flex-wrap:wrap;gap:8px!important;}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.unified-parts.mockup-job .assignment-extra-fields>label{flex:1 1 150px;min-width:0!important;}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.unified-parts.mockup-job .assignment-part-options{margin-top:2px!important;border-top:1px solid var(--night-line,#dce5ef)!important;}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.unified-parts.mockup-job .assignment-part-options>summary{padding:5px 0!important;cursor:pointer;font-size:11px!important;color:var(--night-muted,#526a7c)!important;}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.unified-parts.mockup-job>.proof-vehicle-summary{grid-template-columns:minmax(140px,1fr) auto minmax(280px,1.4fr)!important;overflow:visible!important;}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.unified-parts.mockup-job>.proof-vehicle-summary>.page-fitment-grid{grid-template-columns:minmax(0,1fr)!important;}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.unified-parts.mockup-job .schedule-assignment{grid-column:3!important;grid-row:1!important;display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:4px 8px!important;margin:0!important;padding:0!important;border:0!important;min-width:0!important;}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.unified-parts.mockup-job .schedule-assignment>div{display:flex!important;align-items:center!important;gap:4px!important;flex:1 1 130px!important;min-width:0!important;}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.unified-parts.mockup-job .schedule-assignment>div>small{font-size:10px!important;flex:none!important;}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.unified-parts.mockup-job .schedule-assignment>div>button{min-width:0!important;max-width:180px!important;flex:1!important;min-height:28px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:11px!important;}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.unified-parts.mockup-job .schedule-tech-line{flex-basis:250px!important;}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.unified-parts.mockup-job .schedule-tech-actions{flex:none!important;display:flex!important;align-items:center!important;gap:3px!important;}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.unified-parts.mockup-job .schedule-tech-actions button{min-width:24px!important;min-height:26px!important;padding:2px!important;}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.unified-parts.mockup-job .schedule-tech-drafts{display:flex!important;gap:2px!important;}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.unified-parts.mockup-job .schedule-assignment-part{font-size:10px!important;}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.unified-parts.mockup-job .linked-glass-description{display:block;font-size:12px;line-height:1.4;color:var(--night-text,#1b2940);}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.unified-parts.mockup-job [data-description][hidden]{display:none!important;}
}
@media screen and (max-width:1000px){
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.unified-parts.mockup-job>.proof-vehicle-summary{grid-template-columns:minmax(0,1fr) auto!important;}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.unified-parts.mockup-job .schedule-assignment{grid-column:1/-1!important;grid-row:2!important;width:100%!important;}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.unified-parts.mockup-job>.proof-vehicle-summary>.page-fitment-grid{grid-row:3!important;}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.unified-parts.mockup-job .document-parts #partRows .assignment-fields{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media screen and (max-width:480px){
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.unified-parts.mockup-job .document-parts #partRows .assignment-fields{grid-template-columns:minmax(0,1fr)!important;}
body.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job.unified-parts.mockup-job .schedule-assignment>div>button{min-height:40px!important;font-size:13px!important;max-width:none!important;}
}

@media screen{
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts .parts-assignment>header{justify-content:space-between!important;}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts .parts-assignment>header>.partsminihead{display:flex!important;flex-wrap:wrap!important;gap:5px!important;align-items:center!important;margin:0 0 0 auto!important;padding:0!important;min-height:0!important;border:0!important;background:transparent!important;}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts .parts-assignment>header>.partsminihead>div{display:none!important;}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts .parts-assignment>header :is(button,#addPart){height:auto!important;min-height:28px!important;padding:3px 7px!important;font-size:11px!important;}
}

/* Vehicle, assignment and canonical item rows share the top surface. */
@media screen{
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts.top-item-workspace>.proof-vehicle-summary>.parts-assignment{grid-column:1/-1!important;grid-row:3!important;order:0!important;border:0!important;border-top:1px solid var(--night-line,#dce5ef)!important;padding:5px 0 0!important;margin:3px 0 0!important;width:100%!important;max-width:none!important;min-width:0!important;background:transparent!important;}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts.top-item-workspace .document-parts #partRows .assignment-fields{grid-template-columns:minmax(0,1.2fr) minmax(0,1.2fr) minmax(0,.9fr)!important;}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts.top-item-workspace .studio-card .proof-value:has([aria-label^="Technician:"]){display:none!important;}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts.top-item-workspace [data-add-stock]{display:none!important;}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts.top-item-workspace .parts-assignment>header{display:flex!important;flex-wrap:wrap!important;align-items:center!important;}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts.top-item-workspace .assignment-part-options>summary{font-size:11px!important;padding:3px 0!important;}
}
@media screen and (max-width:1000px){
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts.top-item-workspace>.proof-vehicle-summary>.parts-assignment{grid-row:4!important;}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts.top-item-workspace .document-parts #partRows .assignment-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts.top-item-workspace .assignment-status{grid-column:1/-1!important;}
}
@media screen and (max-width:480px){
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts.top-item-workspace .document-parts #partRows .assignment-fields{grid-template-columns:minmax(0,1fr)!important;}
}

@media screen{
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts.top-item-workspace .parts-assignment :is(.work-section-parts,.document-parts,.approved-parts){width:100%!important;max-width:none!important;min-width:0!important;box-sizing:border-box!important;}
}

@media screen and (min-width:1001px){
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts.top-item-workspace .document-parts #partRows .assignment-fields{grid-template-columns:minmax(0,1.3fr) minmax(0,1.2fr) minmax(45px,.3fr) minmax(0,.9fr)!important;}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts.top-item-workspace .assignment-quantity{order:0!important;grid-column:3!important;grid-row:1!important;}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts.top-item-workspace .assignment-status{grid-column:4!important;grid-row:1!important;}
}
@media screen{
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts.top-item-workspace .assignment-quantity>output{display:flex;align-items:center;min-height:28px;padding:3px 6px;box-sizing:border-box;border:1px solid var(--night-line,#dce5ef);border-radius:4px;color:var(--night-text,#18334b);}
}

@media screen and (max-width:1000px){
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts.top-item-workspace .document-parts #partRows .assignment-status{grid-column:auto!important;}
}

@media screen{
body #detail .warehouse-tax-defaults{font-size:11px;margin:4px 8px;padding:4px 0;}
body #detail .warehouse-tax-defaults>summary{cursor:pointer;color:var(--night-link,#0878f9);}
body #detail .warehouse-tax-defaults p{margin:5px 0;font-size:11px;}
body #detail .warehouse-tax-defaults button{font-size:11px!important;min-height:28px!important;padding:3px 6px!important;margin:3px!important;}
body #detail .charges-totals output{font-size:12px;font-weight:600;padding:0 6px;color:var(--night-text,#18334b);}
}

@media screen{
body #detail .charges-totals input[aria-label="Sales tax rate (%)"]{width:88px!important;min-width:72px!important;max-width:100px!important;}
body #detail .warehouse-tax-defaults>div>div>div{display:flex;flex-wrap:wrap;align-items:center;gap:6px;}
}

@media screen and (max-width:760px){
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts.top-item-workspace .mockup-record-actions{gap:8px!important;flex-wrap:nowrap!important;margin-top:2px!important}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts.top-item-workspace .mockup-record-actions button{font-size:11px!important;white-space:nowrap!important}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts.top-item-workspace .mockup-record-actions button:last-child{display:none!important}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts.top-item-workspace>[data-dispatch-pane]{height:auto!important;max-height:100%!important}
}
@media screen{body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts.top-item-workspace dialog.studio-editor #saveWork{display:none!important}}

@media screen{
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts.top-item-workspace .mockup-inline-composer:not(.is-expanded) .composer>.sms-permission{flex:0 0 auto!important;width:100%!important;min-height:0!important;height:24px!important;max-height:24px!important;margin:0!important;padding:3px 7px!important;line-height:16px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts.top-item-workspace .mockup-inline-composer:not(.is-expanded) .composer>#customMessage{flex:0 0 43px!important;min-height:43px!important;height:43px!important;max-height:43px!important;margin:0!important}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts.top-item-workspace .mockup-inline-composer:not(.is-expanded) .message-composer-toolbar{min-height:40px!important;height:40px!important}
}

/* One accessible job menu: original handlers share one column instead of nested overlays. */
@media screen{
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job .mockup-record-more[open]{z-index:200!important;}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job .mockup-record-more>div{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:4px!important;min-width:220px!important;max-width:calc(100vw - 24px)!important;max-height:min(60dvh,500px)!important;overflow:auto!important;z-index:201!important;}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job .mockup-record-more:not([open])>div{display:none!important;}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job .mockup-record-more .worktitleactions,
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job .mockup-record-more .proof-quick-actions,
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job .mockup-record-more .proof-quick-actions>.actions{display:contents!important;position:static!important;}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job .mockup-record-more .proof-quick-actions>summary{display:none!important;}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job .mockup-record-more button{flex:none!important;position:static!important;text-align:left!important;justify-content:flex-start!important;min-height:32px!important;max-width:100%!important;margin:0!important;}
}
/* Scroll the job as one surface so details cannot squeeze message history. */
@media screen{
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts.top-item-workspace{grid-template-rows:repeat(6,max-content)!important;grid-auto-rows:max-content!important;align-content:start!important;height:calc(100dvh - var(--compact-job-top,64px) - var(--compact-job-bottom-space,60px))!important;overflow-y:auto!important;overflow-x:hidden!important;}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts.top-item-workspace>[data-dispatch-pane]{height:auto!important;max-height:none!important;overflow:visible!important;align-self:start!important;}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts.top-item-workspace>.activity-workspace{height:auto!important;max-height:none!important;min-height:0!important;overflow:visible!important;}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts.top-item-workspace>.activity-workspace .compact-dock-body{flex:none!important;height:auto!important;overflow:visible!important;}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts.top-item-workspace .activity-feed{height:clamp(240px,40dvh,440px)!important;min-height:240px!important;max-height:440px!important;flex:none!important;overflow:auto!important;}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts.top-item-workspace >.worktitle{height:auto!important;min-height:0!important;overflow:visible!important;}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts.top-item-workspace .proof-vehicle-summary{height:auto!important;max-height:none!important;overflow:visible!important;}
}

@media screen{
body.office-refresh #detail .mockup-record-more>div>button{width:100%!important;}
body.office-refresh #detail .mockup-record-more .office-more{position:static!important;width:100%!important;}
body.office-refresh #detail .mockup-record-more .office-more>summary{position:static!important;}
body.office-refresh #detail .mockup-record-more .office-more>button{position:static!important;width:100%!important;}
body.office-refresh #detail .mockup-record-more .office-more:not([open])>button{display:none!important;}
}

@media screen{
body.office-refresh #detail .mockup-record-more>div[popover]{position:fixed!important;inset:var(--job-menu-top,80px) auto auto var(--job-menu-left,12px)!important;width:220px!important;box-sizing:border-box!important;margin:0!important;max-height:var(--job-menu-height,60dvh)!important;}
body.office-refresh #detail>.worktitle:has(.mockup-record-more[open]){z-index:20!important;}
}

@media screen and (max-width:760px),screen and (max-height:600px){
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job .mockup-record-line{height:auto!important;min-height:35px!important;}
}

/* Let the compact reply form include its send toolbar on short screens. */
@media screen{
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts.top-item-workspace .mockup-inline-composer:not(.is-expanded){height:auto!important;min-height:140px!important;max-height:none!important;overflow:visible!important;}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts.top-item-workspace .mockup-inline-composer:not(.is-expanded) :is(.activity-popup-body,.compact-communications-messages,.compact-dock-messages,.job-chat-host,#conversation,.composer){height:auto!important;min-height:0!important;max-height:none!important;flex:0 0 auto!important;overflow:visible!important;}
}

/* accounting-workspace.css */
.accounting-entry{display:block;width:100%;text-align:left;background:transparent;border:0;padding:9px 12px;color:inherit;font:inherit;cursor:pointer}.accounting-entry[hidden]{display:none}.accounting-workspace{font-size:12px;line-height:1.4;min-width:0}.accounting-workspace h3{font-size:17px;margin:0}.accounting-workspace h4{font-size:13px;margin:12px 0 6px}.acct-heading,.acct-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.acct-actions{justify-content:flex-start;margin:8px 0}.acct-tabs{display:flex;gap:4px;flex-wrap:wrap;margin:10px 0;border-bottom:1px solid var(--border,#d8e2eb);padding-bottom:7px}.accounting-workspace button{padding:6px 9px;border:1px solid var(--border,#ccd8e2);border-radius:4px;background:var(--surface,#fff);color:var(--text,#234a68);font:inherit;cursor:pointer}.accounting-workspace button[aria-pressed=true]{background:#e4f3fd;border-color:#459bc6;color:#124c70}.accounting-workspace button:disabled{opacity:.5;cursor:wait}.accounting-workspace label{display:grid;gap:3px;font-size:11px;color:inherit}.accounting-workspace input,.accounting-workspace select{box-sizing:border-box;min-width:0;width:100%;border:1px solid var(--border,#cbd8e4);border-radius:4px;padding:6px;background:var(--surface,#fff);color:inherit;font:inherit}.acct-filters{display:flex;gap:7px;align-items:end;flex-wrap:wrap;margin-bottom:9px}.acct-filters[hidden]{display:none}.acct-filters label{flex:1 1 120px}.acct-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:7px;margin:9px 0}.acct-metrics>div{padding:8px;border-bottom:2px solid #d9e9f1;background:var(--surface,#f6fafc)}.acct-metrics small,.acct-metrics b{display:block}.acct-metrics b{font-size:17px;font-weight:600;margin-top:3px}.acct-table-wrap{overflow:auto;max-height:52vh;border:1px solid var(--border,#dce5ec);border-radius:4px}.accounting-workspace table{border-collapse:collapse;width:100%;font-size:11px;text-align:left}.accounting-workspace th{position:sticky;top:0;z-index:1;background:var(--surface,#f4f8fb);font-weight:600;white-space:nowrap}.accounting-workspace td,.accounting-workspace th{padding:7px 8px;border-bottom:1px solid var(--border,#e3eaf0);vertical-align:top}.accounting-workspace td small{display:block;color:var(--muted,#62788a);max-width:250px}.accounting-workspace td button{padding:2px 5px;white-space:nowrap}.acct-status{margin:5px 0;min-height:1em}.acct-review{border-left:3px solid #bf8125;padding:5px 10px;background:#fff8e9;color:#745019}.acct-review p{margin:3px 0}.acct-basis,.accounting-workspace>small{color:var(--muted,#62788a);font-size:11px}.acct-form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:8px;align-items:end}.acct-entry,.acct-detail{border:1px solid var(--border,#d4e0e9);background:var(--surface,#fafdff);padding:10px;margin:9px 0;border-radius:5px}.acct-expense-line{display:grid;grid-template-columns:1fr 1.5fr 1fr 100px auto;gap:7px;align-items:end;margin-top:8px}.acct-entry [hidden]{display:none}.acct-detail details{margin-top:8px}.acct-detail details p{font-size:11px;border-bottom:1px solid #e4ebf0;padding:5px}.accounting-workspace button:focus-visible,.accounting-entry:focus-visible{outline:2px solid #0784cf;outline-offset:2px}@media(max-width:700px){.acct-expense-line{grid-template-columns:1fr 1fr}.acct-expense-line>label:nth-child(2){grid-column:1/-1;grid-row:2}.acct-metrics{grid-template-columns:1fr 1fr}.accounting-workspace th,.accounting-workspace td{padding:6px}.accounting-workspace .acct-tabs button{min-height:36px}.acct-form-grid{grid-template-columns:1fr 1fr}.acct-filters label{flex-basis:42%}}@media(max-width:380px){.acct-form-grid{grid-template-columns:1fr}}
.acct-journal-line{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:7px;align-items:end;margin:8px 0}.accounting-workspace details>summary{cursor:pointer;font-weight:600}.accounting-workspace .acct-review[open]{max-height:190px;overflow:auto}.accounting-workspace .acct-filters label[hidden]{display:none}@media(max-width:700px){.acct-journal-line{grid-template-columns:1fr 1fr}.acct-journal-line>label:first-child{grid-column:1/-1}}

/* portal-refresh.css */
/* Shared visual system for the existing Office workflows. */
body.office-refresh{--ui-bg:#f3f6fc;--ui-panel:#fff;--ui-ink:#20314e;--ui-muted:#61708a;--ui-line:#dce5f1;--ui-blue:#255bc7;--ui-teal:#087f83;--ui-shadow:0 8px 28px #1e3a5f0a;font-family:Inter,ui-sans-serif,system-ui,-apple-system,sans-serif;color:var(--ui-ink);background:var(--ui-bg)!important}
body.office-refresh.office-studio.office-edge-tabs{--studio-rail:244px;--edge-rail:244px;--edge-gap:0px}
body.office-refresh.office-studio.office-edge-tabs .shell{display:block!important}
body.office-refresh.office-studio.office-edge-tabs main{margin-left:244px!important;width:calc(100% - 244px)!important;padding:90px 24px 70px!important;min-width:0;box-sizing:border-box}
body.office-refresh.office-studio.office-edge-tabs .top{display:flex!important;height:68px!important;min-height:68px!important;padding:10px 24px!important;background:var(--ui-panel)!important;color:var(--ui-ink)!important;border-bottom:1px solid var(--ui-line)!important;gap:18px!important;box-shadow:0 2px 12px #243e6405!important}
body.office-refresh .top .portal-header-brand{display:flex!important;align-items:center!important;margin:0!important;gap:10px!important}
body.office-refresh .top .portal-header-brand img{width:164px!important;height:42px!important;max-height:42px!important;object-fit:contain!important}
body.office-refresh .top .portal-header-brand>span{color:var(--ui-muted)!important;font-size:12px!important;border-left:1px solid var(--ui-line);padding-left:12px!important}
body.office-refresh .top>.studio-top-nav,body.office-refresh .top .studio-top-nav,body.office-refresh .mobilebar,body.office-refresh #mobileNav,body.office-refresh .app-dock{display:none!important}
body.office-refresh .office-header-tools{display:flex;align-items:center;gap:8px;margin-left:auto;min-width:0}
body.office-refresh .top .office-header-tools button{min-height:38px!important;border:1px solid var(--ui-line)!important;border-radius:10px!important;padding:8px 12px!important;background:var(--ui-bg)!important;color:var(--ui-ink)!important;font-size:12px!important}
body.office-refresh .office-profile{position:relative;flex:0 0 auto;margin-left:auto}
body.office-refresh .office-profile>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:9px;padding:10px 14px;min-height:40px;border:1px solid var(--ui-line);border-radius:12px;color:var(--ui-ink);font-size:13px;font-weight:650;box-sizing:border-box}
body.office-refresh .office-profile>summary::after{content:'⌄';color:var(--ui-muted)}
body.office-refresh .office-profile-tools{position:absolute;top:calc(100% + 12px);right:0;display:grid;gap:10px;width:280px;padding:18px;border:1px solid var(--ui-line);border-radius:16px;background:var(--ui-panel);box-shadow:0 16px 55px #18305226;max-height:calc(100dvh - 100px);overflow:auto;z-index:950;color:var(--ui-ink)}
body.office-refresh .office-profile:not([open])>.office-profile-tools{display:none!important}
body.office-refresh .office-profile-tools .user{display:flex!important;gap:8px;margin:0!important;color:var(--ui-ink)!important;font-size:14px!important;padding:0 0 12px!important;border-bottom:1px solid var(--ui-line)}
body.office-refresh .office-profile-tools .user small{font-size:12px!important;color:var(--ui-muted)!important}
body.office-refresh .office-profile-tools :is(button,a){font-size:13px!important;color:var(--ui-ink)!important;min-height:40px!important}
body.office-refresh #officeNavToggle{display:none}
body.office-refresh.office-studio.office-edge-tabs .side{position:fixed!important;top:68px!important;bottom:0!important;height:calc(100dvh - 68px)!important;width:244px!important;padding:20px 14px!important;background:var(--ui-panel)!important;border-right:1px solid var(--ui-line)!important;z-index:45;overflow-y:auto!important;overflow-x:hidden!important}
body.office-refresh .side>.brand,body.office-refresh .side>.security,body.office-refresh .office-shortcuts{display:none!important}
body.office-refresh.office-studio.office-edge-tabs .side>nav{display:flex!important;flex-direction:column!important;gap:18px!important;overflow:visible!important;width:100%!important;height:auto!important}
body.office-refresh .office-nav-group{display:flex;flex-direction:column;gap:4px;margin:0;padding:0;border:0}
body.office-refresh .office-nav-group[hidden]{display:none!important}
body.office-refresh .office-nav-group>h2{margin:0 12px 5px;font-size:10px;letter-spacing:1.2px;line-height:1.5;text-transform:uppercase;color:var(--ui-muted);font-weight:750}
body.office-refresh.office-studio.office-edge-tabs .side .office-nav-item{display:flex!important;align-items:center!important;justify-content:flex-start!important;flex-shrink:0;width:100%!important;height:auto!important;min-height:44px!important;padding:7px 10px!important;margin:0!important;gap:11px!important;border:1px solid transparent!important;border-radius:11px!important;background:transparent!important;color:var(--ui-ink)!important;text-align:left!important;text-decoration:none!important;font:550 13px/1.35 ui-sans-serif,system-ui!important;cursor:pointer;box-sizing:border-box;box-shadow:none!important}
body.office-refresh.office-studio.office-edge-tabs .side .office-nav-item::before{display:none!important;content:none!important}
body.office-refresh.office-studio.office-edge-tabs .side .office-nav-item::after{display:none!important;content:none!important}
body.office-refresh.office-studio.office-edge-tabs .side .office-nav-item .edge-tab-label{display:block!important;color:inherit!important;white-space:normal!important;text-align:left!important;font-size:13px!important;line-height:1.35!important;padding:0!important;writing-mode:horizontal-tb!important;transform:none!important}
body.office-refresh .office-nav-symbol{display:grid;place-items:center;width:30px;height:30px;flex:0 0 30px;border-radius:9px;background:#eaf1ff;color:#315cbd}
body.office-refresh.office-studio.office-edge-tabs .side .office-nav-symbol .office-icon{display:block!important;width:18px!important;height:18px!important;fill:none!important;stroke:currentColor!important;flex:none!important}
body.office-refresh [data-nav-tone=violet] .office-nav-symbol{background:#f1ebff;color:#7650b3}
body.office-refresh [data-nav-tone=teal] .office-nav-symbol{background:#e2f5f4;color:#087f83}
body.office-refresh [data-nav-tone=green] .office-nav-symbol{background:#e4f6e9;color:#237647}
body.office-refresh [data-nav-tone=amber] .office-nav-symbol{background:#fff2d9;color:#956013}
body.office-refresh [data-nav-tone=slate] .office-nav-symbol{background:#edf1f6;color:#596b85}
body.office-refresh.office-studio.office-edge-tabs .side .office-nav-item.active{background:#edf3ff!important;border-color:#dce7ff!important;color:#204fa4!important;font-weight:750!important;box-shadow:inset 3px 0 #3c70d8!important}
body.office-refresh.office-studio.office-edge-tabs .side .office-nav-item:hover:enabled{background:var(--ui-bg)!important}
body.office-refresh.office-studio.office-edge-tabs .side .office-nav-item[data-nav-key=newjob]{background:#245dc9!important;color:#fff!important;min-height:44px!important;box-shadow:0 4px 12px #255bc72b!important}
body.office-refresh [data-nav-key=newjob] .office-nav-symbol{background:#ffffff24;color:#fff}
body.office-refresh .office-nav-backdrop{display:none}
body.office-refresh .office-global-search{display:block!important;flex:1 1 240px!important;min-width:120px!important;max-width:480px!important;height:40px!important;padding:9px 14px!important;border:1px solid var(--ui-line)!important;border-radius:11px!important;background:var(--ui-bg)!important;color:var(--ui-ink)!important;font-size:13px!important}
body.office-refresh .side .ew-header-tools{display:grid!important;grid-template-columns:1fr 1fr;gap:6px;padding:6px 0}
body.office-refresh .side .ew-header-tools button{display:block!important;min-height:44px!important;padding:8px!important;font-size:12px!important;color:var(--ui-ink)!important;background:var(--ui-bg)!important;border:1px solid var(--ui-line)!important;border-radius:9px!important}
body.office-refresh :is(button,a,summary,input,select,textarea):focus-visible{outline:3px solid #507be1!important;outline-offset:3px!important}
body.office-refresh.office-studio .panel{border:1px solid var(--ui-line)!important;border-radius:16px!important;box-shadow:var(--ui-shadow)!important;background:var(--ui-panel)!important}
body.office-refresh.office-studio .panel>.panelbar{min-height:58px!important;padding:14px 18px!important}
body.office-refresh.office-studio .panel>.panelbar h2{font-size:19px!important;letter-spacing:-.4px}
body.office-refresh .company-overview{background:transparent!important;padding:0!important}
body.office-refresh .studio-widget-toolbar{padding:0 0 18px!important;gap:10px!important;align-items:center!important}
body.office-refresh .studio-widget-toolbar>strong{font-size:22px!important;letter-spacing:-.6px;color:var(--ui-ink)}
body.office-refresh .studio-widget-toolbar>span:first-child{font-size:22px!important;letter-spacing:-.6px;color:var(--ui-ink)}
body.office-refresh .studio-widget{border:1px solid var(--ui-line)!important;border-radius:16px!important;box-shadow:var(--ui-shadow)!important;background:var(--ui-panel)!important;overflow:hidden}
body.office-refresh .studio-widget>header{padding:16px 18px!important;border-bottom:1px solid var(--ui-line)!important;background:var(--ui-panel)!important}
body.office-refresh .studio-widget>header h3{font-size:14px!important;font-weight:700!important;color:var(--ui-ink)!important}
body.office-refresh .studio-widget-body{padding:16px 18px!important;font-size:13px!important}
body.office-refresh .studio-widget-body :is(p,small),body.office-refresh .studio-help{font-size:12px!important;line-height:1.6!important;color:var(--ui-muted)!important}
body.office-refresh .studio-widget-body :is(th,td){padding:9px!important;font-size:12px!important}
body.office-refresh .studio-widget-grid{gap:18px!important}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job{left:244px!important;top:68px!important;bottom:68px!important}
body.office-refresh .proof-ring{box-shadow:0 0 0 10px #f4f7fc;border-radius:50%}
body.office-refresh .proof-ring strong{color:var(--ui-ink)!important;font-size:30px!important}
body.office-refresh .proof-chart-legend{font-size:12px!important;gap:9px!important}
body.office-refresh .health-attention>li{border:1px solid var(--ui-line)!important;border-radius:12px!important;margin-bottom:10px!important;background:var(--ui-panel)!important}
body.office-refresh .health-priority{border-radius:6px;padding:3px 7px;background:#edf3ff;color:#2459b0}
body.office-refresh .health-priority.urgent{background:#fff1dc;color:#8e5a13}
body.office-refresh .health-notes{border-radius:12px!important;padding:14px!important;background:#edf3fc!important;color:var(--ui-muted)!important;font-size:12px!important}
body.office-refresh .proof-single-revenue{display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:150px;background:linear-gradient(135deg,#edf4ff,#f1fbfb);border-radius:12px;gap:8px}
body.office-refresh .proof-single-revenue b{font-size:36px;color:#2459ad;letter-spacing:-1.2px}
body.office-refresh .proof-single-revenue span{font-size:13px;color:var(--ui-muted)}
body.office-refresh .op-dialog{font-size:14px!important;background:var(--ui-panel)!important;color:var(--ui-ink)!important;border:1px solid var(--ui-line)!important;border-radius:18px!important;box-shadow:0 24px 80px #182f5326!important}
body.office-refresh .op-dialog>header{padding:17px 22px!important;background:var(--ui-panel)!important;border-bottom:1px solid var(--ui-line)!important}
body.office-refresh .op-dialog h2{font-size:21px!important;letter-spacing:-.6px}
body.office-refresh .op-dialog.finance-dialog{inset:86px 24px 74px 268px!important;top:86px!important;width:auto!important;height:auto!important;max-height:calc(100dvh - 160px)!important;margin:0!important}
body.office-refresh .finance-dialog>.op-tabs{display:none!important}
body.office-refresh .op-content{padding:20px 22px!important}
body.office-refresh .accounting-workspace{font-size:14px!important;line-height:1.55}
body.office-refresh .acct-heading{padding:0 0 15px;align-items:center}
body.office-refresh .acct-heading h3{font-size:18px!important;color:var(--ui-ink)}
body.office-refresh .acct-heading small{font-size:13px!important;margin-top:5px}
body.office-refresh .acct-tabs{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px;margin:0 0 20px;padding:0 0 17px;border-bottom:1px solid var(--ui-line)}
body.office-refresh .acct-tabs button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:82px!important;border:1px solid var(--ui-line)!important;border-radius:12px!important;padding:12px 7px!important;font-size:12px!important;line-height:1.3;background:var(--ui-panel);color:var(--ui-muted);font-weight:650!important;white-space:normal!important}
body.office-refresh .acct-tabs .office-icon{display:block;width:21px;height:21px;color:#3a65b3}
body.office-refresh .acct-tabs button:nth-child(2n) .office-icon{color:#13837d}
body.office-refresh .acct-tabs button:nth-child(3n) .office-icon{color:#7953b4}
body.office-refresh .acct-tabs button[aria-pressed=true]{background:#edf3ff!important;border-color:#88a8ea!important;color:#214f9d!important;box-shadow:inset 0 -3px #4274d3}
body.office-refresh .acct-filters{padding:14px;background:var(--ui-bg);border:1px solid var(--ui-line);border-radius:12px;margin-bottom:20px;gap:12px}
body.office-refresh .accounting-workspace label{font-size:12px!important;font-weight:600;gap:6px}
body.office-refresh .accounting-workspace :is(button,input,select){min-height:40px;font-size:13px!important;border-radius:9px!important}
body.office-refresh .accounting-workspace input,body.office-refresh .accounting-workspace select{background:var(--ui-panel)!important;border-color:var(--ui-line)!important;padding:9px 10px!important;color:var(--ui-ink)!important}
body.office-refresh .acct-metrics,body.office-refresh .op-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin:0 0 20px}
body.office-refresh .acct-metrics>div,body.office-refresh .op-metric{border:1px solid var(--ui-line);border-top:3px solid #5583da;border-radius:12px;padding:16px;background:var(--ui-panel)!important;box-shadow:0 3px 10px #1e3a5f04}
body.office-refresh .acct-metrics>div:nth-child(2n),body.office-refresh .op-metric:nth-child(2n){border-top-color:#36a592}
body.office-refresh .acct-metrics>div:nth-child(3n),body.office-refresh .op-metric:nth-child(3n){border-top-color:#a17ad6}
body.office-refresh .acct-metrics b,body.office-refresh .op-metric b{font-size:25px!important;letter-spacing:-.7px;font-weight:700;margin-top:7px;color:var(--ui-ink)}
body.office-refresh .acct-metrics small,body.office-refresh .op-metric small{font-size:12px!important;color:var(--ui-muted)!important}
body.office-refresh .accounting-workspace h4{font-size:16px!important;margin:24px 0 12px;color:var(--ui-ink)}
body.office-refresh :is(.acct-table-wrap,.op-table-wrap){overflow:auto;border:1px solid var(--ui-line);border-radius:12px;max-height:65vh}
body.office-refresh .accounting-workspace table,body.office-refresh .op-table{font-size:13px!important;width:100%;border-collapse:collapse}
body.office-refresh :is(.accounting-workspace,.op-table) th{padding:12px 14px!important;background:var(--ui-bg)!important;font-size:11px!important;text-transform:uppercase;letter-spacing:.5px;color:var(--ui-muted)!important;white-space:nowrap}
body.office-refresh :is(.accounting-workspace,.op-table) td{padding:12px 14px!important;font-size:13px!important;border-bottom:1px solid var(--ui-line)}
body.office-refresh .accounting-workspace tbody tr:hover{background:var(--ui-bg)}
body.office-refresh .acct-review{border-radius:10px;padding:12px 15px;background:#fff7e7;color:#825815;border:1px solid #f0dba9;font-size:13px!important;margin:14px 0}
body.office-refresh .acct-basis{font-size:12px!important;color:var(--ui-muted);margin:12px 0}
body.office-refresh .acct-basis>summary{cursor:pointer;color:var(--ui-blue);font-weight:600}
body.office-refresh .acct-entry,body.office-refresh .acct-detail{border-radius:12px;padding:18px;background:var(--ui-bg)}
body.office-refresh .acct-actions{gap:10px;margin:16px 0}
html[data-office-theme=dark] body.office-refresh{--ui-bg:#111b2d;--ui-panel:#1b2940;--ui-ink:#e5ecfa;--ui-muted:#a5b6d0;--ui-line:#33445e;--ui-blue:#9cbcff}
html[data-office-theme=dark] body.office-refresh .office-nav-symbol{background:#2a3e62!important;color:#b6d0ff!important}
html[data-office-theme=dark] body.office-refresh .acct-tabs button[aria-pressed=true],html[data-office-theme=dark] body.office-refresh.office-studio.office-edge-tabs .side .office-nav-item.active{background:#293f66!important;color:#d0e1ff!important;border-color:#4e70a5!important}
html[data-office-theme=dark] body.office-refresh .proof-single-revenue{background:#243955;color:#d3e5ff}
html[data-office-theme=dark] body.office-refresh .proof-single-revenue b{color:#bcd6ff}
html[data-office-theme=dark] body.office-refresh .health-notes{background:#22334e!important}
@media(max-width:1150px){body.office-refresh .acct-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}body.office-refresh .office-header-tools>button{max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
@media(max-width:1100px){
 body.office-refresh.office-studio.office-edge-tabs main{margin-left:0!important;width:100%!important;padding:80px 14px 86px!important}
 body.office-refresh.office-studio.office-edge-tabs .top{height:64px!important;min-height:64px!important;padding:8px 14px!important;gap:10px!important}
 body.office-refresh #officeNavToggle{display:flex;align-items:center;gap:7px;min-height:44px;padding:9px;border:1px solid var(--ui-line);border-radius:10px;background:var(--ui-panel);color:var(--ui-ink);font-size:13px!important}
 body.office-refresh #officeNavToggle .office-icon{width:20px;height:20px}
 body.office-refresh .top .portal-header-brand img{width:130px!important;height:36px!important}
 body.office-refresh .top .portal-header-brand>span,body.office-refresh .office-header-tools{display:none!important}
 body.office-refresh .office-global-search{display:none!important}
 body.office-refresh .office-profile>summary{padding:9px 10px;min-height:44px;font-size:12px}
 body.office-refresh.office-studio.office-edge-tabs .side{display:none!important;top:64px!important;width:min(290px,86vw)!important;height:calc(100dvh - 64px)!important;padding-bottom:calc(40px + env(safe-area-inset-bottom))!important;z-index:900}
 body.office-refresh.office-studio.office-edge-tabs.office-nav-open .side{display:flex!important}
 body.office-refresh.office-nav-open .office-nav-backdrop{display:block;position:fixed;inset:64px 0 0;border:0;background:#15264166;z-index:880;width:100%;height:100%;border-radius:0!important}
 body.office-refresh.office-studio.office-edge-tabs .side>nav{flex-direction:column!important}
 body.office-refresh .op-dialog.finance-dialog{inset:74px 8px 78px!important;top:74px!important;width:calc(100% - 16px)!important;max-height:calc(100dvh - 152px)!important;border-radius:14px!important}
 body.office-refresh .op-content{padding:16px!important}
 body.office-refresh .op-dialog>header{padding:14px 16px!important}
 body.office-refresh .op-dialog h2{font-size:18px!important}
 body.office-refresh .acct-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 body.office-refresh .acct-tabs button{flex-direction:row;min-height:48px!important;justify-content:flex-start;padding:10px 12px!important;gap:10px}
 body.office-refresh .acct-filters{display:grid;grid-template-columns:1fr 1fr;gap:10px}
 body.office-refresh .acct-metrics,body.office-refresh .op-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.office-refresh .acct-metrics>div,body.office-refresh .op-metric{padding:13px}
 body.office-refresh .acct-metrics b,body.office-refresh .op-metric b{font-size:22px!important}
 body.office-refresh .accounting-workspace :is(button,input,select){min-height:44px!important}
 body.office-refresh .accounting-workspace input,body.office-refresh .accounting-workspace select{font-size:16px!important}
 body.office-refresh .studio-widget-grid{display:flex!important;flex-direction:column!important;gap:16px!important}
 body.office-refresh .studio-widget{width:100%!important;min-height:0!important}
 body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job{left:0!important;top:64px!important}
}
@media(max-width:380px){body.office-refresh .top .portal-header-brand img{width:100px!important}body.office-refresh #officeNavToggle>span{display:none}body.office-refresh .acct-metrics,body.office-refresh .op-metrics{grid-template-columns:1fr}}
@media print{body.office-refresh .side,body.office-refresh .top,body.office-refresh .office-nav-backdrop{display:none!important}body.office-refresh.office-studio.office-edge-tabs main{margin:0!important;padding:0!important;width:100%!important}}

/* Visibility permissions must win over all desktop and responsive display rules. */
body.office-refresh.office-studio.office-edge-tabs .side .office-nav-item[hidden],body.office-refresh .accounting-workspace [hidden]{display:none!important}


/* Legacy icon decorators must not add a second symbol to the shared menu. */
body.office-refresh.office-studio.office-edge-tabs .side .office-nav-item>.office-nav-icon{display:none!important;}

/* Dock the toolbar without placing floating phone controls below the work surface. */
body.office-refresh.classic-phone-enabled .office-softphone:not(.phone-expanded){position:fixed!important;inset:auto 8px 7px auto!important;margin:0!important;width:auto!important;max-width:calc(100vw - 16px)!important;}
body.office-refresh .office-softphone:not(.phone-expanded) .phone-heading,body.office-refresh .office-softphone:not(.phone-expanded) .phone-toolbar>[data-status]{display:none!important;}

body.office-refresh.classic-phone-enabled .office-softphone:not(.phone-expanded){z-index:44!important;}
/* Raise the floating panel only while it is open; the collapsed toolbar must not cover navigation. */
body.office-refresh.classic-phone-enabled.office-phone-open .office-softphone:not(.phone-expanded){z-index:10000!important;}

/* night-workspace.css */
/* Important declarations in this layer outrank the older unlayered compact
   layout rules, regardless of their selector specificity. Screen only. */
@layer office-night {
 @media screen {
  html[data-office-theme="dark"] body {
   --night-bg:#111b2d!important;--night-panel:#1b2940!important;
   --night-raised:#263852!important;--night-line:#526784!important;
   --night-text:#e5ecfa!important;--night-muted:#b8c7dd!important;
   --night-link:#9ccaff!important;--night-warning:#ffd48a!important;
   --night-success:#94e8b2!important;--night-danger:#ffabb7!important;
   --ui-bg:var(--night-bg)!important;--ui-panel:var(--night-panel)!important;
   --ui-ink:var(--night-text)!important;--ui-muted:var(--night-muted)!important;
   --ui-line:var(--night-line)!important;--ui-blue:var(--night-link)!important;
   color:var(--night-text)!important;background:var(--night-bg)!important;
  }
  /* Shared components used by every portal module, including Overview,
     finance, scheduling, suppliers, messages and administration. */
  html[data-office-theme="dark"] :is(main,dialog)
  :is(.panel,.studio-widget,.health-box,.health-metric,.metriccard,.company-finances,
   .health-ai,.op-card,.op-metric,.acct-metrics>div,.email-list,.email-detail,
   .thread,.conversation,.chatbody,.composer,.coord-note,.coord-notes,
   .studio-new-card,.studio-job-rail,.dispatch-sheet,.dispatch-info-card,
   .vendor-card,.dealeritem,.exceptionrow,.office-task-board,.health-report-actions,
   .portal-more-actions,.health-source,.studio-widget-body,.studio-catalogs) {
   background:var(--night-panel)!important;color:var(--night-text)!important;
   border-color:var(--night-line)!important;
  }
  html[data-office-theme="dark"] :is(main,dialog)
  :is(table,thead,tbody,tr,th,td,details,summary,fieldset,legend,
   .panelbar,.filters,.inboxbar,.chathead,.studio-widget>header,
   .accounting-workspace,.company-finances,.op-dialog>header):not(:where(.professional-invoice,.professional-invoice *,.invoicecard,.invoicecard *)) {
   background:var(--night-panel)!important;color:var(--night-text)!important;border-color:var(--night-line)!important;
  }
  html[data-office-theme="dark"] :is(main,dialog)
  :is(h1,h2,h3,h4,h5,h6,p,b,strong,label,dt,dd,li,span,legend,caption,
   .company-overview,.studio-widget-number,.health-ai-answer,.health-report-record):not(:where(.professional-invoice *,.invoicecard *,.office-softphone *,.office-nav-symbol *)) {
   color:var(--night-text)!important;
  }
  html[data-office-theme="dark"] :is(main,dialog)
  :is(small,time,.muted,.studio-help,.health-heading p,.health-box>p,
   .health-notes,.studio-widget-feedback,.health-attention li button>span:last-child):not(:where(.professional-invoice *,.invoicecard *,.office-softphone *)) {
   color:var(--night-muted)!important;
  }
  html[data-office-theme="dark"] :is(main,dialog)
  :is(button,input,select,textarea):not(:where(.professional-invoice *,.invoicecard *,.office-softphone *,.top *,.side *)) {
   background:var(--night-raised)!important;color:var(--night-text)!important;
   -webkit-text-fill-color:var(--night-text)!important;border-color:var(--night-line)!important;
  }
  html[data-office-theme="dark"] :is(main,dialog) :is(input,select,textarea):not(:where(.professional-invoice *,.invoicecard *,.office-softphone *)) {
   background:#111d30!important;
  }
  html[data-office-theme="dark"] :is(main,dialog) :is(input,textarea)::placeholder {
   color:var(--night-muted)!important;-webkit-text-fill-color:var(--night-muted)!important;opacity:1!important;
  }
  html[data-office-theme="dark"] :is(main,dialog) :is(button,input,select,textarea):disabled {
   opacity:1!important;color:var(--night-muted)!important;-webkit-text-fill-color:var(--night-muted)!important;
  }
  html[data-office-theme="dark"] :is(main,dialog) :is(a,a.health-source,.health-job-link,.health-source) {
   color:var(--night-link)!important;-webkit-text-fill-color:currentColor!important;
  }
  html[data-office-theme="dark"] :is(main,dialog)
  :is(.primary,.primary *,button[type="submit"],button[type="submit"] *) {
   background:#245dc9!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:#75a9ff!important;
  }
  html[data-office-theme="dark"] :is(main,dialog)
  :is(button[aria-pressed="true"],button[aria-selected="true"],.thread[aria-pressed="true"]) {
   background:#293f66!important;color:#d0e1ff!important;-webkit-text-fill-color:currentColor!important;border-color:#88b8ff!important;
  }
  html[data-office-theme="dark"] :is(main,dialog)
  :is(.health-priority,.health-priority *, .health-warning,.acct-review) {
   background:#44351a!important;color:var(--night-warning)!important;-webkit-text-fill-color:currentColor!important;
  }
  html[data-office-theme="dark"] .health-attention li button:hover:enabled {
   background:var(--night-raised)!important;
  }
  html[data-office-theme="dark"] .proof-ring::before {background:var(--night-panel)!important;}
  html[data-office-theme="dark"] .proof-ring :is(strong,small) {color:var(--night-text)!important;}
  html[data-office-theme="dark"] .studio-bars {
   background:repeating-linear-gradient(to top,var(--night-line) 0,var(--night-line) 1px,var(--night-panel) 1px,var(--night-panel) 34px)!important;
  }
  html[data-office-theme="dark"] .office-softphone :is(.phone-toolbar,.phone-call-bar) {
   background:var(--night-panel)!important;color:var(--night-text)!important;border-color:var(--night-line)!important;
  }
  html[data-office-theme="dark"] .office-softphone :is(.phone-toolbar,.phone-call-bar) :is(button,p,span,small,strong) {
   background:var(--night-raised)!important;color:var(--night-text)!important;border-color:var(--night-line)!important;
  }
  html[data-office-theme="dark"] .office-softphone :is(.phone-toolbar,.phone-call-bar)
  :is([data-phone="enable"],[data-dial]) {background:#245dc9!important;color:#fff!important;}
  html[data-office-theme="dark"] .office-softphone :is(.phone-toolbar,.phone-call-bar)
  :is([data-phone="end"],[data-mini-phone="end"]) {background:#8a2639!important;color:#fff!important;}
  html[data-office-theme="dark"] .office-softphone :is(.phone-toolbar,.phone-call-bar)
  :is([data-phone="answer"],[data-mini-phone="answer"]) {background:#19643b!important;color:#fff!important;}
  html[data-office-theme="dark"] :is(#detail,#leadDetail,.approved-queue,.office-profile-tools,.op-dialog,.studio-editor) {
   background:var(--night-panel)!important;color:var(--night-text)!important;border-color:var(--night-line)!important;
  }
  html[data-office-theme="dark"] :is(#detail,#leadDetail,.op-dialog,.studio-editor)
  :is(section,header,footer,nav,details,summary,table,thead,tbody,tr,th,td,
   .work-order-rows,.studio-card-body,.studio-card-foot,.studio-job-cards,
   .proof-vehicle-summary,.proof-context-bar,.proof-fold,.mockup-record-more>div,
   .document-totals,.charges-totals,.partsmini,.parts-assignment-controls,
   .activity-workspace,.activity-feed,.activity-row-detail,.chatbody,.composer,
   .compact-activity-popup,.compact-dock-messages,.message-composer-toolbar,
   .studio-editor-body,.studio-editor-actions,.work-evidence-fields):not(:where(.professional-invoice,.professional-invoice *,.invoicecard,.invoicecard *)) {
   background:var(--night-panel)!important;color:var(--night-text)!important;border-color:var(--night-line)!important;
  }
  html[data-office-theme="dark"] :is(#detail,#leadDetail,.op-dialog,.studio-editor,.office-profile-tools)
  :is(h1,h2,h3,h4,p,b,strong,label,dt,dd,.proof-name,.proof-value,.proof-inline-value,
   .proof-vehicle-value,.activity-preview,.activity-meta,.mockup-record-line):not(:where(.professional-invoice *,.invoicecard *)) {color:var(--night-text)!important;}
  html[data-office-theme="dark"] :is(#detail,#leadDetail,.op-dialog,.studio-editor,.office-profile-tools)
  :is(small,time,.muted,.proof-label,.proof-card-label,.proof-card-foot,.activity-empty,
   .activity-vehicle-context,.message-delivery-hint,.parts-assignment-summary):not(:where(.professional-invoice *,.invoicecard *)) {color:var(--night-muted)!important;}
  html[data-office-theme="dark"] :is(#detail,#leadDetail,.op-dialog,.studio-editor,.office-profile-tools)
  :is(input,select,textarea,button):not(:where(.professional-invoice *,.invoicecard *,.office-softphone *)) {
   background:#111d30!important;color:var(--night-text)!important;border-color:var(--night-line)!important;
   -webkit-text-fill-color:var(--night-text)!important;
  }
  html[data-office-theme="dark"] :is(#detail,#leadDetail,.op-dialog,.studio-editor)
  :is(input,textarea)::placeholder {color:var(--night-muted)!important;-webkit-text-fill-color:var(--night-muted)!important;opacity:1!important;}
  html[data-office-theme="dark"] :is(#detail,#leadDetail,.op-dialog,.studio-editor)
  :is(a,.approved-edit,.parts-summary-edit,.activity-job-link,.activity-quick-actions button,
   .mockup-record-actions button,.activity-filters button,.dispatch-detail-tabs button) {
   color:var(--night-link)!important;-webkit-text-fill-color:currentColor!important;
  }
  html[data-office-theme="dark"] :is(#detail,#leadDetail,.op-dialog,.studio-editor)
  :is(.primary,#sendCustom,[type="submit"]) {
   background:#245dc9!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:#75a9ff!important;
  }
  html[data-office-theme="dark"] :is(.customer-stop-blocked,[data-text-blocked="true"],.coord-failed,
   [data-delivery-state="failed"],[data-delivery-state="undelivered"]) {
   color:var(--night-danger)!important;-webkit-text-fill-color:currentColor!important;
  }
  html[data-office-theme="dark"] :is(.coord-unread,.coord-read,.coord-note-unread,.activity-unread:not(.is-done)) {
   color:var(--night-warning)!important;-webkit-text-fill-color:currentColor!important;
  }
  html[data-office-theme="dark"] :is(.coord-sent,.coord-handled,.activity-unread.is-done) {
   color:var(--night-success)!important;-webkit-text-fill-color:currentColor!important;
  }
  html[data-office-theme="dark"] :is(#detail,#leadDetail,.op-dialog,.studio-editor) :is(button,input,select,textarea):disabled {
   opacity:1!important;color:var(--night-muted)!important;-webkit-text-fill-color:var(--night-muted)!important;
  }
  html[data-office-theme="dark"] :is(main,dialog)
  :is(.customer-stop-blocked,.customer-stop-blocked *,[data-text-blocked="true"],[data-text-blocked="true"] *,
   .coord-failed,.coord-failed *,[data-delivery-state="failed"] *,[data-delivery-state="undelivered"] *) {
   color:var(--night-danger)!important;-webkit-text-fill-color:currentColor!important;
  }
  html[data-office-theme="dark"] :is(main,dialog)
  :is(.coord-unread,.coord-unread *,.coord-read,.coord-read *,.coord-note-unread,.coord-note-unread *,.activity-unread:not(.is-done)) {
   color:var(--night-warning)!important;-webkit-text-fill-color:currentColor!important;
  }
  html[data-office-theme="dark"] :is(main,dialog)
  :is(.coord-sent,.coord-sent *,.coord-handled,.coord-handled *,.activity-unread.is-done) {
   color:var(--night-success)!important;-webkit-text-fill-color:currentColor!important;
  }
  html[data-office-theme="dark"] :is(main,dialog) button:disabled {
   background:var(--night-raised)!important;color:var(--night-muted)!important;
   -webkit-text-fill-color:var(--night-muted)!important;opacity:1!important;
  }
 }
}

/* STOP remains the highest-priority message state in the night-theme layer. */
@layer office-night{@media screen{html[data-office-theme="dark"] body :is(#leadsList,#orders,#detail,#leadDetail,.office-contact-actions) :is(.customer-stop-blocked,[data-text-blocked="true"]),html[data-office-theme="dark"] body :is(#leadsList,#orders,#detail,#leadDetail,.office-contact-actions) :is(.customer-stop-blocked,[data-text-blocked="true"]) *{color:var(--night-danger,#ffabb7)!important;-webkit-text-fill-color:currentColor!important;animation:none!important;opacity:1!important}}}

/* office-updates.css */
.office-updates-toggle{display:inline-flex!important;align-items:center;gap:7px;position:relative;min-height:36px!important;padding:6px 9px!important;color:var(--ui-ink,#20314e);background:var(--ui-panel,#fff);border:1px solid var(--ui-line,#dce5f1);border-radius:9px;font:12px system-ui;cursor:pointer}
.office-update-status{font-size:11px;white-space:nowrap}.office-update-status:before{content:'';display:inline-block;width:6px;height:6px;margin-right:5px;border-radius:50%;background:#16965f}.office-updates-toggle[data-state=waiting] .office-update-status:before{background:#d99b25}.office-updates-toggle[data-state=error] .office-update-status:before{background:#cc4355}
.office-alert-count{position:absolute;right:-5px;top:-5px;min-width:17px;padding:2px 4px;border-radius:20px;background:#c93651;color:white!important;font:700 10px system-ui;text-align:center}
.office-alert-panel{position:fixed;right:16px;top:74px;width:min(390px,calc(100vw - 24px));max-height:calc(100dvh - 155px);overflow:auto;background:var(--ui-panel,#fff);color:var(--ui-ink,#20314e);border:1px solid var(--ui-line,#dce5f1);border-radius:12px;box-shadow:0 12px 40px #10234333;z-index:1200;font:13px/1.4 system-ui}
.office-alert-panel>header{display:flex;align-items:center;justify-content:space-between;padding:11px 13px;border-bottom:1px solid var(--ui-line,#dce5f1)}.office-alert-panel>header button{border:0;background:transparent;color:inherit;font:22px system-ui;min-width:30px;cursor:pointer}
.office-alert-settings{display:flex;gap:5px;flex-wrap:wrap;padding:9px 12px 0}.office-alert-settings button{border:1px solid var(--ui-line,#dce5f1);border-radius:5px;background:var(--ui-bg,#f3f6fc);color:inherit;font:11px system-ui;padding:6px;min-height:30px;cursor:pointer}
.office-alert-hint,.office-alert-empty{margin:8px 12px;color:var(--ui-muted,#61708a);font-size:11px}.office-alert-panel[data-email-state=disconnected] .office-alert-hint:after{content:' Email alerts need the Zoho connection.'}.office-alert-panel[data-email-state=delayed] .office-alert-hint:after{content:' Email checks are delayed; text alerts continue.'}
.office-alert-panel .office-alert-row{display:grid;grid-template-columns:40px 1fr;gap:3px 8px;text-align:left;width:100%;padding:11px 12px;border:0;border-top:1px solid var(--ui-line,#dce5f1);border-radius:0;background:var(--ui-bg,#f3f6fc);color:var(--ui-ink,#20314e);font:12px/1.4 system-ui;cursor:pointer}.office-alert-row.is-read{background:var(--ui-panel,#fff);opacity:.75}.office-alert-kind{grid-row:1/3;align-self:start;display:inline-block;padding:3px;border-radius:4px;color:#06774c;background:#dff5e9;font-size:10px;text-align:center}.office-alert-preview{grid-column:2;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.office-alert-toast{position:fixed;right:18px;bottom:76px;z-index:1250;display:grid;gap:5px;width:min(340px,calc(100vw - 36px));padding:13px 15px;border:1px solid var(--ui-line,#dce5f1);border-left:4px solid #16965f;border-radius:9px;background:var(--ui-panel,#fff);color:var(--ui-ink,#20314e);box-shadow:0 8px 25px #10234333;text-align:left;font:12px/1.4 system-ui;cursor:pointer}.office-alert-toast span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.office-alert-toast b{font-size:12px}
.office-alert-panel[hidden],.office-alert-toast[hidden],.office-alert-count[hidden]{display:none!important}
.dispatch-pager{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:8px;font:11px system-ui;color:var(--ui-muted,#61708a)}.dispatch-pager button{min-height:30px;padding:4px 9px;border:1px solid var(--ui-line,#dce5f1);border-radius:5px;background:var(--ui-panel,#fff);color:var(--ui-ink,#20314e);font:11px system-ui}.dispatch-pager button:disabled{opacity:.55}
@media(max-width:900px){body.office-refresh .office-header-tools:has(.office-updates-toggle){display:flex!important}body.office-refresh .office-header-tools>.office-updates-toggle{min-width:36px!important;padding:7px!important}body.office-refresh .office-header-tools>:not(.office-updates-toggle){display:none!important}.office-update-status{display:none}.office-alert-panel{right:12px;top:70px}}
@media print{.office-alert-panel,.office-alert-toast,.office-updates-toggle{display:none!important}}

/* Visible data health stays in document flow above every workspace. */
body .office-data-status{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px;padding:10px 12px;border:1px solid #d49b35;border-radius:8px;background:#fff4d6;color:#583600;overflow-wrap:anywhere;font-size:13px;}
body .office-data-status[hidden]{display:none!important;}
body .office-data-status button{flex:none;min-height:36px;padding:5px 12px;}
html[data-office-theme=dark] body .office-data-status{background:#392c13;color:#ffe3a0;border-color:#b38538;}

/* marketing-results.css */
#marketingPanel{padding:20px;max-width:1600px;margin:auto}#marketingPanel .panelbar{margin-bottom:18px}.marketing-filters{display:flex;gap:12px;flex-wrap:wrap;align-items:end;padding:16px;background:#f0f5f9;border:1px solid #dbe4ed;border-radius:12px}.marketing-filters label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600}.marketing-filters input,.marketing-filters select{padding:10px;border:1px solid #bdcddd;border-radius:6px;min-height:42px;max-width:100%}.marketing-filters button{min-height:42px}.marketing-cards{display:grid;grid-template-columns:repeat(3,minmax(130px,1fr));gap:12px;margin:20px 0}.marketing-card{padding:18px;border:1px solid #dbe4ed;border-radius:12px;background:#fff;display:flex;flex-direction:column;gap:10px}.marketing-card span{font-size:13px;color:#465a70}.marketing-card strong{font-size:26px;color:#12304f}.marketing-table{overflow:auto;max-width:100%;margin:16px 0}.marketing-table table{width:100%;border-collapse:collapse;font-size:14px;white-space:nowrap}.marketing-table th{text-align:left;background:#edf3f8}.marketing-table th,.marketing-table td{padding:12px;border-bottom:1px solid #dbe4ed}.marketing-table caption{text-align:left;padding:8px;color:#465a70}.marketing-table button{color:#075c9b;text-decoration:underline;border:0;background:none;padding:4px;text-align:left;cursor:pointer}.marketing-note{padding:12px 16px;background:#eef5fc;border-left:4px solid #3178ad;line-height:1.6}.marketing-method,.marketing-ad-report{padding:16px;margin-top:18px;border:1px solid #dbe4ed;border-radius:10px;line-height:1.6}.marketing-method summary,.marketing-ad-report summary{font-weight:600;cursor:pointer}#marketingStatus{min-height:24px;color:#465a70}.marketing-table button:focus-visible{outline:2px solid #075c9b;outline-offset:3px}@media(max-width:800px){#marketingPanel{padding:12px}.marketing-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.marketing-filters label{width:100%}.marketing-card{padding:12px}.marketing-card strong{font-size:22px}}

.marketing-stage-grid,.marketing-timing-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:16px 0}.marketing-stage-grid .marketing-card{padding:12px}.marketing-stage-grid .marketing-card strong{font-size:22px}.marketing-timing-grid small{line-height:1.5;color:#465a70}.marketing-journey-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.marketing-journey-head h3{margin-bottom:5px}#marketingJourney:empty{display:none}#marketingJourney{margin-top:24px;padding:18px;border:1px solid #b7cce0;border-radius:12px;background:#fff}.marketing-timeline{list-style:none;padding:0;margin:24px 0}.marketing-timeline li{display:grid;grid-template-columns:200px 1fr;gap:16px;padding:14px 0;border-bottom:1px solid #dbe4ed}.marketing-timeline time{font-size:13px;color:#465a70}.marketing-timeline p{margin:6px 0;white-space:normal;line-height:1.5}.marketing-timeline small{color:#465a70}.marketing-outcome-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.marketing-outcome-form label{display:flex;flex-direction:column;gap:6px;font-size:13px}.marketing-outcome-form :is(input,select,textarea){padding:10px;border:1px solid #bdcddd;border-radius:6px;min-width:0;width:100%;box-sizing:border-box}.marketing-outcome-form button{min-height:42px}#journeyStatus{line-height:1.6}@media(max-width:800px){.marketing-stage-grid,.marketing-timing-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.marketing-timeline li,.marketing-outcome-form{grid-template-columns:1fr}.marketing-journey-head{align-items:start;flex-direction:column}#marketingJourney{padding:12px}}

/* branded-estimates.css */
.branded-estimates-dialog{width:min(1100px,96vw);max-height:94vh;border:1px solid #d5e2ed;border-radius:14px;padding:22px;color:#16344f;background:#f6f9fc}.branded-estimates-dialog::backdrop{background:#102e4c88}.branded-estimates-dialog header{display:flex;justify-content:space-between;align-items:center}.branded-estimates-dialog h2{margin:0}.branded-estimates-dialog [data-versions]{display:grid;gap:10px}.branded-estimates-dialog article{background:white;border:1px solid #d3e0eb;border-radius:8px;padding:15px}.branded-estimates-dialog article>span{display:block;font-size:12px;margin-top:5px}.estimate-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.branded-estimates-dialog form{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:15px;background:white}.branded-estimates-dialog label{display:grid;gap:5px}.branded-estimates-dialog label:has(textarea),.branded-estimates-dialog label:has(input[type=checkbox]),.branded-estimates-dialog form>p{grid-column:1/-1}.branded-estimates-dialog label:has(input[type=checkbox]){display:flex;align-items:center}.branded-estimates-dialog input,.branded-estimates-dialog textarea{width:100%;min-width:0;padding:10px}.branded-estimates-dialog input[type=checkbox]{width:auto}.branded-estimates-dialog [data-preview] img{display:block;max-width:100%;height:auto;margin:20px auto;border:1px solid #d2e0eb}.branded-estimates-dialog details{margin:20px 0}.branded-estimates-dialog [data-status]{font-weight:600;white-space:normal}@media(max-width:650px){.branded-estimates-dialog{padding:14px}.branded-estimates-dialog form{grid-template-columns:1fr}.branded-estimates-dialog h2{font-size:21px}.estimate-actions button,.estimate-actions a{min-height:40px}}
/* unified-workspace.css */
/* Working views share one compact toolbar; column labels remain visible. */
body .top{min-height:44px!important;padding:5px 12px!important;gap:10px!important}body .portal-header-brand{display:none!important}body .top .user{font-size:11px}body .top .user small{display:none}body .panelbar{min-height:35px!important;padding:7px 10px!important;gap:8px}body .panelbar h2{font-size:14px!important;margin:0}body .panelbar p{display:none}body .metrics{display:none!important}body .panel{margin-top:8px}body .metriccard{padding:5px 10px!important}body .dispatch-table th,body .dispatch-table td{padding:5px 8px!important;font-size:12px!important}.adjustable-table{table-layout:fixed!important;border-collapse:separate;border-spacing:0}.adjustable-table th{position:relative;padding-right:16px!important}.adjustable-table th,.adjustable-table td{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;box-sizing:border-box}.adjustable-table.columns-wrap td{white-space:normal;overflow-wrap:anywhere}.column-pinned{z-index:2;background:var(--card,#fff)!important}.column-resizer{position:absolute;right:0;top:0;bottom:0;width:9px;cursor:col-resize;touch-action:none;border-right:2px solid #b9c6cc}.column-resizer:focus-visible{outline:2px solid #147d94}.column-tools{display:flex;justify-content:flex-end;padding:3px 6px;position:sticky;left:0}.column-tools button{font-size:11px;padding:3px 9px}.column-settings{max-width:650px;width:96%;max-height:85vh;overflow:auto;border:1px solid #9aafb7;border-radius:8px}.column-settings label{display:flex;gap:8px;align-items:center;padding:5px}.column-settings label span{flex:1}.column-settings input[type=number]{width:70px}.column-settings input[type=checkbox]{width:auto}.column-settings button{margin:3px;padding:6px 10px}.ow-toolbar,.ow-tabs,.ow-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.ow-toolbar{padding:8px 0}.ow-toolbar input{min-width:130px}.ow-tabs button[aria-pressed=true]{background:#123f58;color:#fff}.ow-table-wrap{overflow:auto;max-width:100%}.ow-table{width:100%;text-align:left;border-collapse:collapse}.ow-table th,.ow-table td{padding:7px 9px;border-bottom:1px solid #dde5e9;font-size:12px;vertical-align:top}.ow-table small{display:block;color:#687c87;font-size:11px;margin-top:3px}.ow-summary{font-size:12px;padding:7px 0;color:#57707d}.ow-status{font-size:12px;white-space:pre-wrap}.ow-status.error{color:#a33d32}.ow-dialog{width:min(850px,96vw);max-height:90vh;overflow:auto;padding:16px;border:1px solid #b9c9d2;border-radius:9px}.ow-dialog header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.ow-dialog form{display:grid;gap:10px}.ow-dialog label{font-size:12px;display:grid;gap:4px}.ow-dialog input,.ow-dialog select,.ow-dialog textarea{padding:9px;border:1px solid #bbcbd4;border-radius:5px}.ow-dialog button{padding:8px 11px}.ow-quick{display:flex;flex-wrap:wrap;gap:6px}.ow-quick button[aria-pressed=true]{background:#194d61;color:white}.ow-question{border:1px solid #dce5e8;border-radius:6px;padding:10px;margin:8px 0}.ow-question blockquote{font-size:12px;white-space:pre-wrap;background:#f1f5f5;padding:8px;margin:7px 0;max-height:140px;overflow:auto}.ow-drop{padding:22px;border:2px dashed #b2c5ce;border-radius:8px;background:#f6f9f9;text-align:center}.ow-pill{font-size:10px;border-radius:4px;background:#e8f1ef;padding:3px 6px}.ow-overdue{color:#a74436}.ow-inline{display:flex;gap:6px;align-items:center}.ow-inline input{flex:1}.ow-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}body.office-night .ow-drop,body.office-night .ow-question blockquote{background:#152936}body.office-night .column-pinned{background:#152936!important}@media(max-width:700px){body .top{min-height:40px!important}.ow-form-grid{grid-template-columns:1fr}.ow-tabs button{padding:8px;font-size:11px}.ow-dialog button{min-height:40px}.column-settings label{flex-wrap:wrap}body .dispatch-table td{font-size:12px!important}}

.ow-dialog [hidden]{display:none!important}

.ow-bank-sources{max-height:38vh;overflow:auto;border:1px solid #dce5e8;border-radius:5px;padding:8px}.ow-dialog .ow-inline{display:flex;align-items:flex-start}.ow-dialog .ow-inline input[type=checkbox]{flex:0 0 auto;width:auto;margin-top:2px}.ow-bank-sources label{padding:6px 0;border-bottom:1px solid #e5ebee}

.ow-part-candidates{display:grid;gap:5px;margin:8px 0;padding:9px;background:#eef9ff;border:1px solid #9bd3ee;border-radius:6px;font-size:12px}.ow-part-candidates p{margin:2px 0;color:#496879}.ow-part-candidates button{text-align:left;white-space:normal;font-size:12px}

/* compact-workflow.css */
/* Final shared layout: one narrow header, one list toolbar, then records. */
body.office-refresh.office-studio.office-edge-tabs .top{height:38px!important;min-height:38px!important;padding:3px 10px!important;gap:8px!important;flex-wrap:nowrap!important;box-sizing:border-box!important}
body.office-refresh .top .portal-header-brand img{width:130px!important;height:30px!important;max-height:30px!important;box-sizing:border-box;padding:2px 5px!important;background:#061b36!important;border-radius:4px;object-fit:contain!important}
body.office-refresh .top .portal-header-brand>span{display:none!important}
body.office-refresh .top :is(#officeNavToggle,.office-profile>summary,.office-header-tools>button,.office-global-search){height:30px!important;min-height:30px!important;padding:3px 8px!important;font-size:11px!important;border-radius:4px!important;box-sizing:border-box!important;white-space:nowrap!important}
body.office-refresh .office-header-tools{gap:4px!important}
body.office-refresh .record-undo{display:inline-flex!important;align-items:center;flex:none}
body.office-refresh .record-undo:disabled{opacity:.45}
body.office-refresh .record-undo[hidden]{display:none!important}
body.office-refresh.office-studio.office-edge-tabs main{padding-top:44px!important}
body.office-refresh.office-studio.office-edge-tabs .side{top:38px!important;height:calc(100dvh - 38px)!important}
body.office-refresh .record-autosave-resume{padding:2px 8px!important;margin:0 0 3px!important;min-height:0!important;border:0!important;background:transparent!important}
body.office-refresh .record-autosave-resume button{font-size:10px!important;min-height:24px!important;padding:2px 6px!important}
body.office-refresh.office-studio :is(#workPanel,#leadsPanel).panel{border-radius:5px!important;padding-top:0!important;margin-top:0!important}
body.office-refresh.office-studio :is(#workPanel,#leadsPanel)>.panelbar.compact-list-toolbar{display:flex!important;align-items:center!important;flex-wrap:nowrap!important;gap:5px!important;padding:3px 6px!important;min-height:34px!important;height:34px!important;max-height:34px!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:thin;box-sizing:border-box!important}
body.office-refresh .compact-list-toolbar :is(.dispatch-toolbar,.lead-view-tabs,.dispatch-view-tabs,.filters,.location-controls){display:contents!important}
body.office-refresh .compact-list-toolbar>div:has(>h2),body.office-refresh .compact-list-toolbar .job-back{display:contents!important}
body.office-refresh .compact-list-toolbar .column-tools{display:contents!important}
body.office-refresh .compact-list-toolbar :is(h2,h3){font-size:12px!important;line-height:24px!important;white-space:nowrap!important;margin:0!important}
body.office-refresh .compact-list-toolbar p,.compact-list-toolbar .location-controls>label{font-size:0!important;margin:0!important;gap:0!important}
body.office-refresh .compact-list-toolbar :is(button,input,select,summary){height:26px!important;min-height:26px!important;max-height:26px!important;flex:0 0 auto!important;margin:0!important;padding:2px 6px!important;font-size:10px!important;line-height:20px!important;border-radius:3px!important;box-sizing:border-box!important;white-space:nowrap!important}
body.office-refresh .compact-list-toolbar input[type=search],body.office-refresh .compact-list-toolbar #search,body.office-refresh .compact-list-toolbar #leadSearch{width:180px!important;min-width:140px!important;order:2}
body.office-refresh .compact-list-toolbar select{width:auto!important;min-width:95px!important;max-width:135px!important}
body.office-refresh .compact-list-toolbar :is(.location-controls select,[data-location-clear]){order:3}
body.office-refresh .compact-list-toolbar :is(#dispatchResult,#leadListResult){font-size:10px!important;white-space:nowrap!important;flex:none!important;order:4}
body.office-refresh .compact-list-toolbar .dispatch-filters{display:none!important}
body.office-refresh .compact-list-toolbar .compact-more-filters{flex:none;order:4}
body.office-refresh .compact-list-toolbar .compact-more-filters[open] .dispatch-filters{display:flex!important;position:fixed!important;z-index:950;top:80px;right:12px;width:min(500px,calc(100vw - 24px));box-sizing:border-box;padding:12px!important;gap:8px!important;flex-wrap:wrap!important;background:var(--ui-panel,#fff);border:1px solid var(--ui-line,#dce5f1);box-shadow:0 5px 20px #20314e22}
body.office-refresh .compact-list-toolbar .compact-more-filters[open] .dispatch-filters label{font-size:11px!important;display:flex;gap:5px;align-items:center}
body.office-refresh :is(#orders,#leadsList){margin-top:0!important;padding-top:0!important}
body.office-refresh :is(#orders,#leadsList) .dispatch-sheet{margin-top:0!important;border-radius:0!important}
body.office-refresh :is(#orders,#leadsList) .dispatch-table thead th{height:24px!important;padding-top:3px!important;padding-bottom:3px!important;line-height:18px!important}
/* Do not display a mobile field caption as a second table header. */
body.office-refresh :is(#orders,#leadsList) .dispatch-table td:before{display:none!important}
body.office-refresh :is(#pcNumber,#pagePartNumber,[data-quick-number],[data-part-number],.linked-charge-part){text-transform:uppercase}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts{top:40px!important;grid-template-rows:repeat(6,max-content)!important;align-content:start!important}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts>.worktitle{display:flex!important;align-items:center!important;flex-wrap:nowrap!important;gap:8px!important;height:34px!important;min-height:34px!important;max-height:34px!important;padding:2px 7px!important;overflow:visible!important;grid-row:1!important}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts :is(.mockup-record-line,.mockup-record-actions){display:flex!important;align-items:center!important;flex-wrap:nowrap!important;height:28px!important;min-height:28px!important;gap:6px!important;margin:0!important;white-space:nowrap!important}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts .mockup-record-line{flex:1!important;min-width:0!important;overflow:visible!important}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts .worktitle h3{flex:0 1 auto!important;font-size:12px!important;line-height:26px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:180px!important}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts .worktitle :is(button,select,summary){font-size:10px!important;min-height:26px!important;height:26px!important;padding:2px 5px!important}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts .worktitle .record-autosave{max-width:130px!important;font-size:10px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts>.proof-context-bar{min-height:30px!important;height:auto!important;padding:1px 7px!important}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts .dispatch-detail-tabs button{min-height:26px!important;font-size:11px!important;padding:2px 6px!important}
/* Compose immediately after the information; recent activity follows it. */
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts>.mockup-inline-composer:not(.is-expanded){grid-row:5!important;position:relative!important;inset:auto!important;display:flex!important;height:auto!important;min-height:0!important;max-height:none!important;padding:6px 10px!important;overflow:visible!important}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts>.activity-workspace{grid-row:6!important;position:relative!important;inset:auto!important;min-height:0!important;height:auto!important;max-height:360px!important;overflow:auto!important}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts .activity-feed{min-height:0!important;height:auto!important;max-height:280px!important;overflow:auto!important}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts>.mockup-inline-composer:not(.is-expanded) :is(.activity-popup-body,.compact-dock-messages,.job-chat-host,#conversation.job-embedded-conversation){height:auto!important;min-height:0!important;max-height:none!important;flex:none!important;overflow:visible!important}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts>.mockup-inline-composer:not(.is-expanded) .chatbody{display:none!important}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts :is(.partsminihead>div,.document-parts>h3,.work-section-parts>h2){display:none!important}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts>.mockup-inline-composer[hidden]{display:none!important}
@media(max-width:799px){
 body.office-refresh .top .portal-header-brand{display:flex!important;flex:0 1 130px!important;min-width:0!important}
 body.office-refresh .top .office-global-search{display:none!important}
 body.office-refresh .top .office-header-tools{margin-left:0!important}
 body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts .worktitle .mockup-record-actions{display:none!important}
 body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts .worktitle h3{max-width:120px!important}
}
/* Match the specificity of the older Office layout rules at every viewport. */
body.office-refresh.office-proof.portal-proof.mockup-office.office-studio.office-edge-tabs :is(#workPanel,#leadsPanel)>.compact-list-toolbar{display:flex!important;align-items:center!important;flex-wrap:nowrap!important;gap:5px!important;height:34px!important;min-height:34px!important;max-height:34px!important;padding:3px 6px!important;overflow-x:auto!important;overflow-y:hidden!important;box-sizing:border-box!important}
body.office-refresh.office-proof.portal-proof.mockup-office.office-studio.office-edge-tabs :is(#workPanel,#leadsPanel)>.compact-list-toolbar :is(.dispatch-toolbar,.dispatch-view-tabs,.filters,.location-controls,.job-back,.column-tools){display:contents!important;position:static!important;transform:none!important}
body.office-refresh.office-proof.portal-proof.mockup-office.office-studio.office-edge-tabs :is(#workPanel,#leadsPanel)>.compact-list-toolbar :is(.dispatch-view-tabs>button,input,select,summary){display:inline-flex!important;position:static!important;inset:auto!important;transform:none!important;width:auto!important;min-width:max-content!important;max-width:none!important;height:26px!important;min-height:26px!important;max-height:26px!important;padding:2px 6px!important;line-height:20px!important;font-size:10px!important;flex:0 0 auto!important;box-sizing:border-box!important}
body.office-refresh.office-proof.portal-proof.mockup-office.office-studio.office-edge-tabs :is(#workPanel,#leadsPanel)>.compact-list-toolbar :is(#search,#leadSearch){width:160px!important;min-width:140px!important}
body.office-refresh.office-proof.portal-proof.mockup-office.office-studio.office-edge-tabs :is(#workPanel,#leadsPanel)>.compact-list-toolbar .location-controls>label{display:contents!important;font-size:0!important;line-height:0!important}
body.office-refresh.office-proof.portal-proof.mockup-office.office-studio.office-edge-tabs :is(#workPanel,#leadsPanel)>.compact-list-toolbar :is(.job-back[hidden],.dispatch-filter-toggle){display:none!important}
body.office-refresh.office-proof.portal-proof.mockup-office #detail.unified-parts .job-location-status{flex-wrap:nowrap!important;gap:5px!important;min-width:0!important}
body.office-refresh.office-proof.portal-proof.mockup-office #detail.unified-parts .job-location-status[data-pending=false] .job-status-save-state{display:none!important}
body.office-refresh.office-proof.portal-proof.mockup-office #detail.unified-parts .job-location-status[data-pending=true] .job-status-save-state{white-space:nowrap!important;max-width:180px!important;overflow:hidden!important;text-overflow:ellipsis!important}
body.office-refresh.office-proof.portal-proof.mockup-office #detail .work-section-charges>h2{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important}
body.office-refresh.office-proof.portal-proof.mockup-office #detail .work-section-charges>h2>.column-tools{display:flex!important;margin:0 0 0 auto!important;padding:0!important;min-height:0!important}

/* A compact row may wrap when the available record width cannot fit its controls. */
@media screen and (max-width:1199px){
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts>.worktitle{flex-wrap:wrap!important;height:auto!important;max-height:none!important;align-items:flex-start!important;gap:3px 8px!important;padding:4px 7px!important}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts .mockup-record-line{flex:1 1 100%!important;flex-wrap:wrap!important;height:auto!important;min-height:28px!important;max-width:100%!important;gap:4px 6px!important}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts .mockup-record-right{flex:0 1 auto!important;min-width:0!important;max-width:100%!important;flex-wrap:wrap!important;height:auto!important;margin-left:auto!important}
body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts .worktitle .mockup-record-actions{display:flex!important;flex:1 1 100%!important;flex-wrap:wrap!important;height:auto!important;min-height:28px!important;gap:4px 10px!important;max-width:100%!important}
body.office-refresh.office-proof.portal-proof.mockup-office #detail.unified-parts .job-location-status{flex-wrap:wrap!important;max-width:100%!important;height:auto!important}
body.office-refresh.office-proof.portal-proof.mockup-office #detail.unified-parts .job-location-status[data-pending=true] .job-status-save-state{white-space:normal!important;max-width:100%!important;overflow:visible!important;overflow-wrap:anywhere!important}
}


/* Keep the compact header inside the viewport, including Android desktop mode. */
@media screen{
 body.office-refresh.office-studio.office-edge-tabs .top{left:0!important;right:0!important;width:100%!important;max-width:100vw!important;min-width:0!important}
 body.office-refresh .top>.portal-header-brand{flex-shrink:1!important;min-width:0!important}
 body.office-refresh .top .office-global-search{min-width:0!important}
 body.office-refresh .top>.office-header-tools:empty{display:none!important}
 body.office-refresh .office-profile-tools{width:min(280px,calc(100vw - 24px));box-sizing:border-box}
}
@media screen and (max-width:799px){
 body.office-refresh.office-studio.office-edge-tabs .top{height:44px!important;min-height:44px!important;padding:4px 8px!important;gap:6px!important}
 body.office-refresh .top>.office-global-search,body.office-refresh .top>.office-header-tools{display:none!important}
 body.office-refresh .top :is(#officeNavToggle,.office-profile>summary){height:36px!important;min-height:36px!important;font-size:12px!important}
 body.office-refresh.office-studio.office-edge-tabs main{padding-top:50px!important}
 body.office-refresh.office-studio.office-edge-tabs .side{top:44px!important;height:calc(100dvh - 44px)!important}
 body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts{top:46px!important}
}

/* Keep list reset and refresh together beside the Customer heading. */
body.office-refresh #leadsList .dispatch-table th .lead-header-actions{display:inline-flex!important;align-items:center;gap:4px;margin-left:6px;vertical-align:middle;text-transform:none;letter-spacing:normal}
body.office-refresh #leadsList .dispatch-table th .lead-header-actions>button{display:inline-flex!important;align-items:center;justify-content:center;height:22px!important;min-height:22px!important;padding:1px 5px!important;font-size:10px!important;line-height:18px!important;white-space:nowrap;border:1px solid var(--ui-line,#dce5f1);border-radius:3px;background:var(--ui-panel,#fff);color:var(--ui-ink,#20314e);cursor:pointer}

/* Part cost stays visible beneath its number while extra fields are folded. */
body.office-refresh.office-proof.portal-proof #detail .assignment-number>[data-part-cost-summary]{display:block!important;width:auto!important;min-height:12px!important;margin:1px 0 0!important;padding:0!important;font-size:9px!important;line-height:12px!important;font-weight:400!important;color:#b42318!important;white-space:nowrap!important;text-transform:none!important}
html[data-office-theme="dark"] body.office-refresh.office-proof.portal-proof #detail .assignment-number>[data-part-cost-summary]{color:#ffaba3!important}
/* One click opens internal notes; the entry field comes before history. */
body.office-refresh.office-proof.portal-proof #workPanel>.layout>#detail.proof-job.compact-job.approved-job [data-compact-notes]{display:inline-flex!important;align-items:center;white-space:nowrap!important}
body.office-refresh.office-proof.portal-proof #detail .compact-activity-popup .coord-note-form{flex:0 0 auto!important;margin:0 0 10px!important;padding:8px 0!important;border-top:0!important;border-bottom:1px solid var(--night-line,#dce5ef)!important}
body.office-refresh.office-proof.portal-proof #detail .compact-activity-popup .coord-note-input{display:block!important;width:100%!important;height:96px!important;min-height:96px!important;max-height:240px!important;padding:8px!important;font-size:14px!important;line-height:20px!important;border:1px solid var(--night-line,#b8c9d8)!important;border-radius:5px!important;resize:vertical!important;box-sizing:border-box!important}
@media(max-width:800px){body.office-refresh.office-proof.portal-proof #detail .compact-activity-popup .coord-note-input{font-size:16px!important}}

/* Pink dispatch is a saved, shared technician status. */
body.office-refresh .technician-pink,body.office-refresh .technician-pink .dispatch-cell-text{color:#be185d!important;font-weight:650!important}
body.office-refresh .schedule-tech-drafts button[data-tech-draft="pink-dispatch"]{color:#db2777!important;border-color:#f9a8d4!important;background:#fff1f7!important}
body.office-refresh .schedule-tech-drafts button[data-tech-draft="pink-dispatch"] svg{stroke:currentColor!important}
html[data-office-theme="dark"] body.office-refresh .technician-pink,html[data-office-theme="dark"] body.office-refresh .technician-pink .dispatch-cell-text{color:#f9a8d4!important}
html[data-office-theme="dark"] body.office-refresh .schedule-tech-drafts button[data-tech-draft="pink-dispatch"]{color:#f9a8d4!important;background:#451329!important}

/* office-schedule.css */
/* Approved Schedule & Dispatch layout, scoped to the schedule screen. */
#schedulePanel.schedule-board{--schedule-line:#d3dde5;--schedule-ink:#102434;--schedule-muted:#526477;--schedule-paper:#fff;color:var(--schedule-ink);font-family:Inter,Arial,sans-serif;padding:10px;background:var(--schedule-paper);border-radius:8px;overflow:visible}
#schedulePanel .schedule-heading{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:10px}#schedulePanel .schedule-heading h2{font-size:24px;letter-spacing:-.7px;margin:0 auto 0 0;font-weight:750}#schedulePanel button,#schedulePanel input,#schedulePanel select{font:inherit;box-sizing:border-box}#schedulePanel .schedule-heading button,#schedulePanel .schedule-heading input{border:1px solid var(--schedule-line);border-radius:5px;background:var(--schedule-paper);color:var(--schedule-ink);padding:7px 12px;min-height:34px}#schedulePanel .schedule-date{display:flex;gap:0}#schedulePanel .schedule-date input{width:155px}#schedulePanel #scheduleToday{background:#dff5f5;color:#008784;border-color:#94dede;font-weight:700}
#schedulePanel .schedule-days{display:flex;flex-wrap:wrap;gap:2px;margin:0;border-bottom:1px solid var(--schedule-line)}#schedulePanel .schedule-days button{background:var(--schedule-paper);color:var(--schedule-ink);border:1px solid var(--schedule-line);border-bottom:0;border-radius:7px 7px 0 0;padding:9px 15px;font-size:13px;font-weight:650;min-height:36px}#schedulePanel .schedule-days button[aria-pressed=true]{background:#009a95;color:white;border-color:#009a95}#schedulePanel .schedule-days b{border-radius:20px;padding:1px 6px;margin-left:4px;background:#e5e9ed;color:#102434}#schedulePanel [data-schedule-day=Overdue] b{background:#ffd7db;color:#b6001d}#schedulePanel [data-schedule-day=Completed] b{background:#c7f3d2;color:#075923}
#schedulePanel .schedule-controls{display:flex;gap:8px;margin:9px 0;flex-wrap:wrap}#schedulePanel .schedule-controls input{flex:2;min-width:200px}#schedulePanel .schedule-controls select{flex:1;min-width:140px}#schedulePanel .schedule-controls :is(input,select){border:1px solid var(--schedule-line);border-radius:5px;padding:8px;background:var(--schedule-paper);color:var(--schedule-ink);font-size:12px}#schedulePanel .location-controls{font-size:11px;margin:6px 0}#schedulePanel .location-controls :is(select,button){font-size:11px;min-height:28px}#schedulePanel .schedule-follow-banner{background:#fff1cb;color:#684007;border:1px solid #ffc54e;border-radius:5px;padding:9px 12px;font-size:13px;font-weight:650;margin:9px 0}#schedulePanel #scheduleResult{font-size:11px;color:var(--schedule-muted);margin:5px 0}
#schedulePanel .schedule-content{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;align-items:start}#schedulePanel.has-followup .schedule-content{grid-template-columns:minmax(0,1fr) minmax(280px,330px)}#schedulePanel #scheduleRows{min-width:0}#schedulePanel .schedule-table-scroll{overflow:auto;border:1px solid var(--schedule-line);border-radius:6px}#schedulePanel .schedule-table{width:100%;min-width:650px;border-collapse:collapse;font-size:12px;table-layout:fixed}#schedulePanel .schedule-table th{text-align:left;font-weight:750;padding:10px 12px;background:#e9eef2;color:#102434;border-bottom:1px solid var(--schedule-line)}#schedulePanel .schedule-table th:nth-child(1){width:29%}#schedulePanel .schedule-table th:nth-child(2){width:20%}#schedulePanel .schedule-table th:nth-child(3){width:32%}#schedulePanel .schedule-table th:nth-child(4){width:19%}#schedulePanel .schedule-table td{padding:8px 12px;border-bottom:1px solid var(--schedule-line);border-right:1px solid var(--schedule-line);vertical-align:middle;overflow-wrap:anywhere;background:var(--schedule-paper);color:var(--schedule-ink)}#schedulePanel .schedule-table tr:last-child td{border-bottom:0}#schedulePanel .schedule-table td:last-child{border-right:0}#schedulePanel .schedule-table .schedule-section th{padding:9px 12px;background:#e4ebf0;font-size:12px;text-transform:none}#schedulePanel .schedule-table .is-selected td{background:#e0f6f5}#schedulePanel .schedule-table .is-selected td:first-child{box-shadow:inset 3px 0 #00a7a0}#schedulePanel td>span,#schedulePanel td>small{display:block}#schedulePanel td small{font-size:11px;margin-top:3px;line-height:1.4}#schedulePanel .schedule-customer{display:block;font-size:14px;font-weight:750;color:inherit;text-align:left}#schedulePanel :is(.schedule-customer,.schedule-tech,.schedule-history){background:none;border:0;padding:0;min-height:24px;cursor:pointer;text-align:left}#schedulePanel .schedule-local,#schedulePanel .schedule-overdue{color:#d00016;font-weight:550}#schedulePanel .schedule-status{max-width:100%;border:1px solid #cbd5e1;border-radius:4px;padding:4px 6px;font-size:12px;font-weight:650;color:#20364b;background:#f1f5f9;min-height:28px}#schedulePanel .schedule-status.scheduled{background:#def2ff;color:#005c9d;border-color:#9ad9ff}#schedulePanel .schedule-status.pending{background:#fff0ca;color:#69400e;border-color:#f6c45c}#schedulePanel .schedule-status.progress{background:#ddf6f4;color:#00747c;border-color:#95e2df}#schedulePanel .schedule-status.complete{background:#dcffe2;color:#075b2d;border-color:#95e5ad}#schedulePanel .schedule-tech-parts{display:flex;align-items:center;flex-wrap:wrap;gap:8px}#schedulePanel .schedule-tech{font-weight:700;color:inherit}#schedulePanel .technician-pink{color:#ec007a!important}#schedulePanel .schedule-part{font-size:11px;padding:4px 7px;border-radius:4px;border:1px solid #f4d89a;background:#fff1ce;color:#704813}#schedulePanel .schedule-part.ready{color:#075b2d;background:#e0ffe8;border-color:#b5efc7}
#schedulePanel .schedule-followup{border:1px solid var(--schedule-line);border-radius:7px;background:var(--schedule-paper);font-size:12px;min-width:0}#schedulePanel .schedule-followup>header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--schedule-line);padding:10px 12px}#schedulePanel .schedule-followup h3{margin:0;font-size:18px;font-weight:750}#schedulePanel .schedule-followup header button{background:none;border:0;font-size:22px;color:var(--schedule-muted)}#schedulePanel .schedule-follow-body{padding:12px}#schedulePanel .schedule-follow-body p{line-height:1.5;margin:8px 0 12px;overflow-wrap:anywhere}#schedulePanel .schedule-follow-title{display:flex;align-items:flex-start;gap:7px;flex-wrap:wrap;justify-content:space-between}#schedulePanel .schedule-follow-title p{margin:3px 0}#schedulePanel .schedule-follow-body>button{display:block;width:100%;padding:9px;border:1px solid var(--schedule-line);background:var(--schedule-paper);color:var(--schedule-ink);border-radius:5px;margin:8px 0;font-weight:650;font-size:13px}#schedulePanel .schedule-follow-body>button.schedule-primary{background:#008982;color:#fff;border-color:#008982}#schedulePanel .schedule-follow-body>button.schedule-pink{background:#fff0f7;color:#ec007a;border-color:#ec007a}#schedulePanel .schedule-follow-body h4{font-size:14px;border-top:1px solid var(--schedule-line);padding-top:13px}#schedulePanel .schedule-timeline{list-style:none;padding:0 0 0 12px;border-left:2px solid #d4dde3;margin-left:7px}#schedulePanel .schedule-timeline li{margin:0 0 15px;line-height:1.5;overflow-wrap:anywhere}#schedulePanel .schedule-carry-note{padding:10px;background:#fff1cf;color:#684007;border:1px solid #ffdb8d;border-radius:5px}#schedulePanel .schedule-empty{padding:28px;color:var(--schedule-muted)}#schedulePanel [hidden]{display:none!important}
html[data-office-theme=dark] #schedulePanel.schedule-board{--schedule-paper:#182329;--schedule-line:#39494f;--schedule-ink:#e5eff1;--schedule-muted:#acbdc3}html[data-office-theme=dark] #schedulePanel .schedule-table :is(th,.schedule-section th){background:#25373e;color:#e5eff1}html[data-office-theme=dark] #schedulePanel .schedule-table .is-selected td{background:#153e40}@media(max-width:1100px){#schedulePanel.has-followup .schedule-content{grid-template-columns:minmax(0,1fr)}#schedulePanel .schedule-followup{max-width:none}}@media(max-width:600px){#schedulePanel.schedule-board{padding:6px}#schedulePanel .schedule-heading h2{font-size:20px;width:100%}#schedulePanel .schedule-days button{padding:8px;font-size:11px}#schedulePanel .schedule-controls :is(input,select){font-size:16px}#schedulePanel .schedule-heading{gap:5px}#schedulePanel .schedule-heading button{padding:6px 9px}#schedulePanel .schedule-table :is(button,select){min-height:32px}}


/* Location and completion remain visible in their own columns. */
#schedulePanel .schedule-table{min-width:1190px;table-layout:fixed}#schedulePanel .schedule-table th:nth-child(1){width:19%}#schedulePanel .schedule-table th:nth-child(2){width:13%}#schedulePanel .schedule-table th:nth-child(3){width:17%}#schedulePanel .schedule-table th:nth-child(4){width:13%}#schedulePanel .schedule-table th:nth-child(5){width:18%}#schedulePanel .schedule-table th:nth-child(6){width:10%}#schedulePanel .schedule-table th:nth-child(7){width:10%}#schedulePanel [data-schedule-record]{cursor:pointer}#schedulePanel [data-schedule-record]:focus-visible{outline:2px solid #008982;outline-offset:-2px}#schedulePanel .schedule-table td{padding:7px 9px}#schedulePanel .schedule-done-button{width:auto;max-width:100%;height:auto;min-height:30px;min-width:0;margin:0;padding:4px 7px;border-radius:4px;font-size:11px;line-height:1.4;white-space:normal}#schedulePanel .schedule-table td .schedule-status{max-width:100%}

#schedulePanel .schedule-table th:last-child,#schedulePanel .schedule-table td:last-child{position:sticky;right:0;z-index:1;box-shadow:-2px 0 4px #10243410}#schedulePanel .schedule-table th:last-child{z-index:2}#schedulePanel .schedule-table .schedule-section th{position:static;box-shadow:none}@media(min-width:900px){#schedulePanel .schedule-table th:first-child,#schedulePanel .schedule-table td:first-child{position:sticky;left:0;z-index:1}#schedulePanel .schedule-table th:first-child{z-index:2}#schedulePanel .schedule-table .schedule-section th:first-child{position:static}}

/* Each appointment carries its time, location and direct customer shortcuts. */
#schedulePanel .schedule-heading h2{font-size:19px;letter-spacing:-.3px}
#schedulePanel .schedule-table th:nth-child(1){width:190px}
#schedulePanel .schedule-table th:nth-child(2){width:150px}
#schedulePanel .schedule-table th:nth-child(3){width:200px}
#schedulePanel .schedule-table th:nth-child(4){width:125px}
#schedulePanel .schedule-table th:nth-child(5){width:175px}
#schedulePanel .schedule-table th:nth-child(6){width:190px}
#schedulePanel .schedule-table th:nth-child(7){width:160px}
#schedulePanel .schedule-quick-actions{display:flex;gap:4px;flex-wrap:wrap}
#schedulePanel .schedule-quick-actions button,#schedulePanel .schedule-open-invoice{min-height:28px;padding:4px 7px;font-size:11px;border:1px solid var(--schedule-line);border-radius:4px;background:var(--schedule-paper);color:var(--schedule-ink);cursor:pointer}
#schedulePanel .schedule-quick-actions [data-schedule-action=zelle]{color:#6d1ed1;border-color:#c5b1e1}
#schedulePanel .schedule-quick-actions [data-schedule-action=square]{color:#005b9a;border-color:#a4cce6}
#schedulePanel .schedule-quick-actions [data-schedule-action=invoice]{color:#00746f;border-color:#8ed4ce}
#schedulePanel .schedule-reschedule,#schedulePanel .schedule-tech-text{display:inline-block;border:0;background:transparent;color:#087cb0;font-size:11px;padding:2px 5px 2px 0;min-height:25px;cursor:pointer}
#schedulePanel .schedule-tech-text{color:#c80068}
#schedulePanel .schedule-history{display:inline-block;font-size:10px;margin:0 0 0 5px;text-decoration:underline;text-underline-offset:2px}
#schedulePanel .schedule-table [data-label="Appointment"]>span{font-weight:650}
#schedulePanel .schedule-open-invoice{display:block;margin-top:5px}
#schedulePanel button:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:900px){
 #schedulePanel .schedule-table-scroll{overflow:visible;border:0}
 #schedulePanel .schedule-table{display:block;min-width:0!important;width:100%!important}
 #schedulePanel .schedule-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 #schedulePanel .schedule-table tbody{display:block}
 #schedulePanel .schedule-table colgroup{display:none}
 #schedulePanel .schedule-table .schedule-section{display:block;margin:12px 0 6px}
 #schedulePanel .schedule-table .schedule-section th{display:block!important;position:static!important;width:auto!important;min-width:0!important;padding:7px 9px;border-radius:5px;font-size:11px}
 #schedulePanel .schedule-table [data-schedule-record]{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);border:1px solid var(--schedule-line);border-radius:7px;overflow:hidden;margin-bottom:9px;background:var(--schedule-paper)}
 #schedulePanel .schedule-table [data-schedule-record]>td{display:block!important;position:static!important;min-width:0!important;width:auto!important;max-width:none!important;box-shadow:none!important;padding:7px 9px;border-right:0;border-bottom:1px solid var(--schedule-line)}
 #schedulePanel .schedule-table [data-schedule-record]>td[data-label]:before{content:attr(data-label);display:block;font-size:9px;font-weight:650;color:var(--schedule-muted);margin-bottom:4px}
 #schedulePanel .schedule-table [data-label="Customer / Vehicle"]{grid-column:1;grid-row:1}
 #schedulePanel .schedule-table [data-label="Appointment"]{grid-column:2;grid-row:1}
 #schedulePanel .schedule-table [data-label="Installation location"]{grid-column:1/-1;grid-row:2}
 #schedulePanel .schedule-table [data-label="Job status"]{grid-column:1;grid-row:3}
 #schedulePanel .schedule-table [data-label="Technician / Parts"]{grid-column:2;grid-row:3}
 #schedulePanel .schedule-table [data-label="Customer actions"]{grid-column:1/-1;grid-row:4}
 #schedulePanel .schedule-table [data-label="Done / Invoice"]{grid-column:1/-1;grid-row:5;border-bottom:0}
 #schedulePanel [data-schedule-complete-slot]{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
 #schedulePanel .schedule-open-invoice{margin:0}
 #schedulePanel .schedule-quick-actions button{min-height:34px;padding:6px 10px}
 #schedulePanel .schedule-customer{font-size:13px}
}

#schedulePanel .schedule-table .schedule-part-detail,#schedulePanel .schedule-money-summary small,#schedulePanel .schedule-table .schedule-installation :is(b,span),#schedulePanel .schedule-table .schedule-local{font-size:9px!important;line-height:1.35!important;font-weight:400!important;white-space:normal;overflow-wrap:anywhere}
#schedulePanel .schedule-money-summary{margin-bottom:5px}
#schedulePanel .schedule-money-summary small{display:block;color:var(--schedule-muted)}
#schedulePanel .schedule-money-summary .schedule-audit-pending{color:#986000;font-weight:650!important}
#schedulePanel .schedule-money-summary .schedule-audit-approved{color:#087448;font-weight:650!important}
#schedulePanel .schedule-work-complete{display:block;color:#087448;font-size:11px;margin-bottom:4px}
#schedulePanel .schedule-report-payment{display:block;min-height:28px;padding:4px 7px;font-size:10px;border:1px solid var(--schedule-line);border-radius:4px;background:var(--schedule-paper);color:var(--schedule-ink);cursor:pointer}
@media(max-width:900px){#schedulePanel .schedule-table [data-label="Work & payment"]{grid-column:1/-1;grid-row:5;border-bottom:0}}
/* Completed installations use one compact line; full details stay in the job. */
#schedulePanel .schedule-table.schedule-completed-table{min-width:0!important;table-layout:auto;width:100%!important}
#schedulePanel .schedule-completed-table thead th{width:auto!important;position:static;box-shadow:none}
#schedulePanel .schedule-table tr.schedule-completed-compact>td{position:static!important;box-shadow:none!important;max-width:none!important;padding:4px 7px!important}
#schedulePanel .schedule-completed-line{display:flex;align-items:center;gap:7px;min-height:32px;white-space:nowrap;overflow:hidden}
#schedulePanel .schedule-completed-line>*{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap!important;flex-shrink:1}
#schedulePanel .schedule-completed-line .schedule-completed-name{flex:1 1 110px;max-width:155px;font-size:11px!important;padding:2px 0;text-align:left}
#schedulePanel .schedule-completed-line small{display:block;margin:0;font-size:9px!important;line-height:1.3!important}
#schedulePanel .schedule-completed-ref{max-width:90px;color:var(--schedule-muted)}
#schedulePanel .schedule-completed-vehicle{flex:1 1 90px;max-width:145px}
#schedulePanel .schedule-completed-tech{max-width:100px}
#schedulePanel .schedule-completed-line .schedule-work-complete{max-width:125px;flex-shrink:0}
#schedulePanel .schedule-completed-money{max-width:150px}
#schedulePanel .schedule-completed-line .schedule-audit-pending{color:#986000}
#schedulePanel .schedule-completed-line .schedule-audit-approved{color:#087448}
#schedulePanel .schedule-completed-line :is(.schedule-report-payment,.schedule-completed-invoice){display:inline-block;flex:none;min-height:25px;margin:0;padding:3px 6px;font-size:10px;border:1px solid var(--schedule-line);border-radius:4px;background:var(--schedule-paper);color:var(--schedule-ink);cursor:pointer}
#schedulePanel .schedule-completed-line .coord-compact-pins{display:inline-flex;flex:0 1 90px;max-width:90px;padding:0;border:0;background:transparent}
#schedulePanel .coord-compact-pins .coord-pinned-preview{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px!important;padding:0!important}
@media(max-width:900px){
 #schedulePanel .schedule-table [data-schedule-record].schedule-completed-compact{display:block!important;margin-bottom:4px;border-radius:4px}
 #schedulePanel .schedule-table .schedule-completed-compact>td{display:block!important;grid-column:auto;padding:4px 6px!important;border:0}
 #schedulePanel .schedule-completed-line{gap:5px;min-height:30px}
 #schedulePanel .schedule-completed-line :is(.schedule-completed-ref,.schedule-completed-vehicle,.schedule-work-complete,.schedule-completed-tech,.schedule-completed-invoice){display:none!important}
 #schedulePanel .schedule-completed-line .schedule-completed-name{flex:1 1 90px;max-width:125px}
 #schedulePanel .schedule-completed-money{max-width:100px}
 #schedulePanel .schedule-completed-line :is(.schedule-audit-pending,.schedule-audit-approved){max-width:65px}
 #schedulePanel .schedule-completed-line .coord-compact-pins{flex-basis:35px;max-width:35px}
}

#schedulePanel .schedule-completed-name::before{content:"✓ ";color:#087448}

@media(max-width:900px){#schedulePanel .schedule-completed-line .schedule-completed-paylink{display:inline-block!important;font-size:9px;padding:3px 4px}#schedulePanel .schedule-completed-line .schedule-report-payment{font-size:9px;padding:3px 4px}}

/* job-completion.css */
.job-completion-check,#schedulePanel .job-completion-check{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;min-width:28px;min-height:28px;margin:0 5px 0 0;padding:0;border:1px solid #6fba94;border-radius:5px;color:#08723d;background:#f2fff6;font-size:20px;font-weight:700;cursor:pointer;vertical-align:middle}.job-completion-check.is-completed,#schedulePanel .job-completion-check.is-completed{color:#fff;background:#16834c;border-color:#16834c}.job-completion-check:disabled{opacity:.4;cursor:default}.job-completion-dialog{width:min(650px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 30px);padding:0;border:1px solid var(--night-line,#d3dde5);border-radius:9px;background:var(--night-panel,#fff);color:var(--night-text,#102434);font-family:Inter,Arial,sans-serif;box-shadow:0 14px 50px #10243444}.job-completion-dialog::backdrop{background:#10243466}.job-completion-dialog>header{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-bottom:1px solid var(--night-line,#d3dde5)}.job-completion-dialog h3{font-size:17px;margin:0}.job-completion-dialog header button{border:0;background:none;color:inherit;font-size:23px;padding:0 5px}.job-completion-body{padding:14px 16px;max-height:calc(100dvh - 110px);overflow:auto;font-size:12px;line-height:1.5}.job-completion-state{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.job-completion-state b{font-size:15px;color:#00867e}.job-completion-state span{color:var(--night-muted,#536b79)}.job-completion-explainer{margin:8px 0 12px}.job-completion-missing{background:#fff2d3;color:#70430b;border:1px solid #f4cd77;padding:10px;border-radius:6px}.job-completion-missing ul{margin:5px 0;padding-left:18px}.job-completion-steps{padding:0;list-style:none;margin:12px 0}.job-completion-steps li{display:flex;align-items:center;gap:10px;border-bottom:1px solid var(--night-line,#e0e7ed);padding:9px 0}.job-completion-steps li>span{font-size:20px;color:#9b6a11}.job-completion-steps .is-done>span{color:#09804b}.job-completion-steps li>div{flex:1;min-width:0}.job-completion-steps small{display:block;color:var(--night-muted,#536b79);overflow-wrap:anywhere}.job-completion-steps button,.job-completion-actions button{font:inherit;background:var(--night-panel,#fff);color:var(--night-text,#102434);border:1px solid var(--night-line,#cbd5e1);border-radius:5px;padding:6px 10px;min-height:30px}.job-completion-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:7px;margin:10px 0}.job-completion-actions .job-completion-confirm{background:#008982;color:#fff;border-color:#008982;font-weight:650}.job-completion-actions button:disabled{opacity:.5;cursor:default}.job-completion-feedback{color:#087045;font-weight:600}.job-completion-feedback.is-error{color:#b0311c}@media(max-width:600px){.job-completion-body{font-size:13px;padding:12px}.job-completion-check,#schedulePanel .job-completion-check{width:32px;height:32px;min-width:32px;min-height:32px}.job-completion-dialog>header{padding:10px}.job-completion-dialog h3{font-size:15px}}

#schedulePanel td:has(.job-completion-check)>.schedule-status{max-width:calc(100% - 36px)}


/* The schedule action is a labeled control, not the compact job-header checkbox. */
#schedulePanel .schedule-table button.job-completion-check.schedule-done-button{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:140px!important;min-width:140px!important;max-width:none!important;height:32px!important;min-height:32px!important;margin:0!important;padding:5px 8px!important;white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important;font-size:11px!important;line-height:20px!important;flex:0 0 140px!important;box-sizing:border-box!important}
#schedulePanel .schedule-table [data-schedule-completion-column],#schedulePanel .schedule-table [data-schedule-completion-cell]{min-width:160px!important;max-width:none!important;white-space:nowrap!important;overflow:visible!important;position:sticky;right:0;z-index:2;box-sizing:border-box}
#schedulePanel .schedule-table [data-schedule-completion-column]{z-index:3}#schedulePanel [data-schedule-complete-slot]{display:block;min-width:140px;width:140px;white-space:nowrap}

.job-completion-dialog fieldset{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;border:1px solid #d5dee9;border-radius:10px;margin:16px 0;padding:14px}.job-completion-dialog fieldset label{display:grid;gap:5px;font-size:14px}.job-completion-dialog fieldset input,.job-completion-dialog fieldset select{width:100%;box-sizing:border-box;min-height:42px;border:1px solid #aebdce;border-radius:6px;padding:8px;background:var(--surface,#fff);color:inherit}.job-completion-dialog fieldset small{grid-column:1/-1}.job-completion-collection-report{padding:12px;background:#f1f5f9;color:#18283d}@media(max-width:560px){.job-completion-dialog fieldset{grid-template-columns:1fr}}

.dispatch-customer-dialog textarea{display:block;box-sizing:border-box;width:100%;padding:10px;margin:8px 0;font:inherit}.dispatch-customer-dialog [data-dc-content]>button{margin:6px;padding:10px}.schedule-customer-actions{display:block;margin-top:8px;min-height:38px;white-space:normal}.dispatch-customer-dialog fieldset input[type=checkbox]{width:auto;min-height:0}
.job-completion-dialog [hidden]{display:none!important}

@media(max-width:900px){#schedulePanel .schedule-table [data-schedule-complete-slot]{display:flex;width:auto;min-width:0;gap:7px;align-items:center;flex-wrap:wrap}}

.payment-report-saved{padding:9px;border:1px solid #d9e3ed;border-radius:5px;background:#f6f8fb}.payment-report-saved small{display:block;font-size:10px}.payment-report-dialog fieldset>p{font-size:11px}.payment-report-dialog [data-pay-form]{margin-top:12px}

.dispatch-payment-dialog .job-completion-actions[hidden]{display:none!important}.dispatch-payment-dialog{width:min(520px,calc(100vw - 24px))}.dispatch-payment-summary{display:flex;flex-direction:column;gap:4px;margin:8px 0 16px;padding:14px;background:var(--night-selected,#eef7fc);border-radius:7px}.dispatch-payment-summary strong{font-size:28px;line-height:1.2}.dispatch-payment-summary small,.dispatch-payment-summary span{font-size:11px;color:var(--night-muted,#536b79)}.dispatch-payment-choices{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}.dispatch-payment-choices button{display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:14px;border:1px solid var(--night-line,#cad7e3);border-radius:7px;background:var(--night-panel,#fff);color:inherit;text-align:left;cursor:pointer}.dispatch-payment-choices button b{font-size:17px}.dispatch-payment-choices button small{font-size:11px}.dispatch-payment-choices button:disabled{opacity:.45;cursor:default}.dispatch-payment-warning{color:#985b00}.dispatch-payment-dialog [data-dc-body]{display:block;width:100%;box-sizing:border-box;margin:8px 0;font:13px/1.5 Arial,sans-serif;padding:10px;min-height:100px}.dispatch-payment-dialog [data-dc-send]{display:block;margin-top:12px;padding:9px 15px;border:1px solid #007d76;border-radius:5px;background:#008982;color:white;font:600 13px Arial,sans-serif}.dispatch-payment-dialog [data-dc-back],.dispatch-payment-dialog [data-dc-open-invoice]{margin:12px 0;padding:6px 9px;border:1px solid var(--night-line,#cad7e3);border-radius:5px;background:var(--night-panel,#fff);color:inherit}.dispatch-payment-dialog [data-dc-content]>small{display:block}@media(max-width:420px){.dispatch-payment-choices{grid-template-columns:1fr}}

/* job-navigation.css */
body.dispatch-office #detail>.job-origin-nav,#detail>.job-origin-nav{display:flex!important;grid-column:1/-1;align-items:center;flex-wrap:wrap;gap:8px;padding:7px 9px;margin:0 0 6px;border:1px solid var(--night-line,#b8dedb);border-radius:5px;background:var(--night-panel,#eaf8f6);color:var(--night-text,#103c42);font:12px Inter,Arial,sans-serif;visibility:visible!important}#detail>.job-origin-nav strong{flex:1;font-size:12px}#detail>.job-origin-nav button{min-height:30px;padding:4px 9px;border:1px solid var(--night-line,#b7d7d5);border-radius:4px;background:var(--night-panel,#fff);color:var(--night-text,#087b75);font:600 12px Inter,Arial,sans-serif;cursor:pointer}#detail>.job-origin-nav [data-job-origin-back]{font-weight:700}@media(max-width:600px){#detail>.job-origin-nav{gap:5px;padding:6px}#detail>.job-origin-nav button{min-height:34px;font-size:11px}}

#detail .job-origin-note{flex-basis:100%;margin:0;font-size:11px;color:#087045}#detail .job-origin-note.is-error{color:#b0311c}#detail .job-origin-note[hidden]{display:none!important}

/* calibration-work-order.css */
.calibration-assignment{display:block!important;flex:1 0 100%!important;width:100%;min-width:0;box-sizing:border-box;margin:0 0 6px;padding:7px 9px;border:1px solid var(--night-line,#cbdde9);border-radius:5px;background:var(--night-panel,#f7fbff);color:var(--night-text,#17324d);font:inherit}
.calibration-assignment .technician-row{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px}
.calibration-assignment .technician-row>span{display:flex;align-items:center;gap:8px}
.calibration-assignment .technician-row small{font-size:11px;font-weight:600}
.calibration-assignment .calibration-source{font-size:10px;overflow-wrap:anywhere;margin:0 0 5px}
.calibration-assignment p{margin:5px 0;font-size:11px;overflow-wrap:anywhere}
.calibration-assignment label{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:12px}
.calibration-assignment select{max-width:100%;min-height:30px}
.calibration-assignment [hidden]{display:none!important}
.calibration-assignment .calibration-missing-details{color:var(--night-warning,#9a6200)}

.calibration-assignment .calibration-delete{color:var(--night-danger,#b42318)!important;margin-left:auto}

/* modern-office.css */
/* Approved compact visual treatment. Screen-only: issued documents keep their print layout. */
@media screen {
html body.office-refresh.office-studio.office-edge-tabs {--ui-bg:#f5f7fb;--ui-panel:#fff;--ui-ink:#29405b;--ui-muted:#8092a9;--ui-line:#e0e7f0;--ui-blue:#3475c5;--ui-teal:#078f88;--studio-rail:224px;--edge-rail:224px;font-size:12px}
html body.office-refresh.office-studio.office-edge-tabs .top {height:48px!important;min-height:48px!important;padding:6px 18px!important;border-bottom:1px solid var(--ui-line)!important;box-shadow:none!important}
html body.office-refresh.office-studio.office-edge-tabs main {margin-left:224px!important;width:calc(100% - 224px)!important;padding:58px 18px 76px!important}
html body.office-refresh.office-studio.office-edge-tabs .side {width:224px!important;top:48px!important;height:calc(100dvh - 48px)!important;padding:14px 12px!important;background:#fff!important}
html body.office-refresh.office-studio.office-edge-tabs .side>nav {gap:14px!important}
html body.office-refresh.office-studio.office-edge-tabs .side .office-nav-item {flex-direction:row!important;min-height:34px!important;padding:5px 9px!important;gap:9px!important;border-radius:7px!important;font-size:12px!important;box-shadow:none!important}
html body.office-refresh.office-studio.office-edge-tabs .side .office-nav-item .edge-tab-label {font-size:12px!important;font-weight:500!important;line-height:1.3!important}
html body.office-refresh.office-studio.office-edge-tabs .side .office-nav-item .office-nav-symbol {width:23px!important;height:23px!important;flex:0 0 23px!important;background:transparent!important;border-radius:5px!important;color:#7d93af!important}
html body.office-refresh.office-studio.office-edge-tabs .side .office-nav-item.active {background:#edf3ff!important;color:#3475c5!important;border-color:transparent!important;box-shadow:none!important}
html body.office-refresh.office-studio.office-edge-tabs .side .office-nav-item.active .office-nav-symbol {color:#3475c5!important}
html body.office-refresh.office-studio.office-edge-tabs .side .office-nav-item[data-nav-key=newjob] {min-height:35px!important;background:#078f88!important;border-color:#078f88!important;color:#fff!important;margin-bottom:6px!important}
html body.office-refresh.office-studio.office-edge-tabs .side .office-nav-item[data-nav-key=newjob] .office-nav-symbol {color:#fff!important}
html body.office-refresh .office-nav-group>h2 {font-size:9px!important;letter-spacing:1px!important;font-weight:600!important;margin:0 9px 4px!important;color:#96a4b7!important}
html body.office-refresh .modern-all-tools {border-top:1px solid #e8edf4;padding-top:9px}
html body.office-refresh .modern-all-tools>summary {display:flex;align-items:center;gap:10px;cursor:pointer;padding:8px 10px;font-size:12px;color:#647d99;list-style:none;border-radius:7px}
html body.office-refresh .modern-all-tools>summary .office-icon {width:17px;height:17px}
html body.office-refresh .modern-all-tools>summary::after {content:'⌄';margin-left:auto}
html body.office-refresh .modern-all-tools[open]>summary {background:#f5f7fb;margin-bottom:10px}
html body.office-refresh .modern-all-tools:not([open])>.office-nav-group {display:none!important}
html body.office-refresh .modern-all-tools>.office-nav-group {margin-bottom:12px}
html body.office-refresh .top :is(.office-profile>summary,.office-header-tools>button,.office-global-search) {border-radius:7px!important;font-size:11px!important;min-height:32px!important;height:32px!important}
html body.office-refresh .office-global-search {background:#f7f9fc!important;border-color:#e8edf4!important;max-width:540px!important}
html body.office-refresh.office-studio .panel {border-radius:10px!important;border-color:#e0e7f0!important;box-shadow:0 2px 6px #25486903!important}
html body.office-refresh.office-studio :is(#workPanel,#leadsPanel).panel {border-radius:10px!important}
html body.office-refresh.office-studio :is(#workPanel,#leadsPanel,#schedulePanel) .panelbar {background:#fff!important;border-color:#e8edf4!important}
html body.office-refresh.office-studio :is(#orders,#schedulePanel) :is(td,th) {border-color:#e8edf4!important}
html body.office-refresh.office-studio :is(#orders,#schedulePanel) th {background:#f8fafc!important;color:#899bb0!important;font-size:10px!important;font-weight:500!important}
html body.office-refresh.office-studio :is(#orders,#schedulePanel) td {font-size:12px!important;color:#3d5672!important}
html body.office-refresh.office-studio :is(#orders,#schedulePanel) button {border-radius:6px!important;font-size:11px!important}
html body.office-refresh.office-studio #detail.proof-job.compact-job.approved-job.mockup-job {background:#fff!important;color:#29405b!important;border-radius:9px!important}
html body.office-refresh.office-studio #detail.proof-job.compact-job.approved-job.mockup-job .worktitle {border-color:#e0e7f0!important;background:#fff!important;padding:9px 12px!important}
html body.office-refresh.office-studio #detail.proof-job.compact-job.approved-job.mockup-job .worktitle h3 {font-size:18px!important;letter-spacing:-.4px!important;color:#253c58!important}
html body.office-refresh.office-studio #detail.proof-job.compact-job.approved-job.mockup-job :is(.mockup-record-actions,.dispatch-detail-tabs) {gap:7px!important;background:#fff!important;border-color:#e0e7f0!important}
html body.office-refresh.office-studio #detail.proof-job.compact-job.approved-job.mockup-job :is(.mockup-record-actions button,.dispatch-detail-tabs button) {font-size:11px!important;min-height:30px!important;border-radius:6px!important;padding:4px 9px!important}
html body.office-refresh.office-studio #detail.proof-job.compact-job.approved-job.mockup-job .dispatch-detail-tabs button {border:0!important;border-radius:0!important;background:transparent!important;color:#8092a9!important}
html body.office-refresh.office-studio #detail.proof-job.compact-job.approved-job.mockup-job .dispatch-detail-tabs button[aria-selected=true] {color:#3475c5!important;box-shadow:inset 0 -2px #4b8bd5!important}
html body.office-refresh.office-studio #detail.proof-job.compact-job.approved-job.mockup-job :is(.studio-card,.parts-assignment,.compact-insurance) {border-color:#e0e7f0!important;border-radius:8px!important;box-shadow:none!important}
html body.office-refresh.office-studio #detail.proof-job.compact-job.approved-job.mockup-job :is(.studio-card h4,.studio-card h3) {font-size:12px!important;font-weight:600!important;color:#405975!important}
html body.office-refresh.office-studio #detail.proof-job.compact-job.approved-job.mockup-job :is(input,select,textarea) {border-radius:6px!important;border-color:#dce5ef!important;font-size:12px!important}
html body.office-refresh .office-icon {stroke-width:1.6}
html body.office-refresh :is(button,summary,a):focus-visible {outline:2px solid #3475c5!important;outline-offset:2px!important}
html body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts {left:224px!important;top:50px!important}
@media(max-width:1100px) {
html body.office-refresh.office-studio.office-edge-tabs main {margin-left:0!important;width:100%!important}
html body.office-refresh.office-proof.portal-proof.mockup-office #workPanel>.layout>#detail.proof-job.compact-job.approved-job.mockup-job.unified-parts {left:0!important}
html body.office-refresh.office-nav-open .office-nav-backdrop {top:48px!important;height:calc(100dvh - 48px)!important}
}
@media(max-width:800px) {
html body.office-refresh.office-studio.office-edge-tabs main {margin-left:0!important;width:100%!important;padding:57px 8px 80px!important}
html body.office-refresh.office-studio.office-edge-tabs .top {padding:6px 8px!important;gap:6px!important}
html body.office-refresh.office-studio.office-edge-tabs .side {width:224px!important;top:48px!important;height:calc(100dvh - 48px)!important}
html body.office-refresh .top .portal-header-brand {display:none!important}
html body.office-refresh .office-global-search {min-width:80px!important}
}
}

/* schedule-approved.css */
/* The real board and previews share this layout. Keep portal-wide button/table
   decorators from changing the schedule's controls and compact completed rows. */
@media screen {
html body #schedulePanel#schedulePanel[data-schedule-layout="approved-v2"] {--schedule-line:#d3dde5;--schedule-ink:#102434;--schedule-muted:#526477;--schedule-paper:#fff;padding:10px!important;background:var(--schedule-paper)!important;border:1px solid var(--schedule-line)!important;border-radius:8px!important;color:var(--schedule-ink)!important;font:12px/1.4 Inter,Arial,sans-serif!important;min-width:0!important}
html body #schedulePanel#schedulePanel .schedule-heading {display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:7px!important;margin:0 0 10px!important;padding:0!important;min-height:34px!important;background:none!important}
html body #schedulePanel#schedulePanel .schedule-heading h2 {font-size:21px!important;letter-spacing:-.5px!important;color:var(--schedule-ink)!important;margin:0 auto 0 0!important}
html body #schedulePanel#schedulePanel :is(button,input,select) {box-sizing:border-box!important;font-family:inherit!important;letter-spacing:normal!important;text-transform:none!important;box-shadow:none!important}
html body #schedulePanel#schedulePanel .schedule-heading :is(button,input) {width:auto!important;min-width:0!important;min-height:32px!important;height:32px!important;padding:5px 9px!important;border:1px solid var(--schedule-line)!important;border-radius:5px!important;background:var(--schedule-paper)!important;color:var(--schedule-ink)!important;font-size:12px!important;line-height:20px!important}
html body #schedulePanel#schedulePanel .schedule-heading #scheduleDate {width:139px!important}
html body #schedulePanel#schedulePanel #scheduleToday {background:#dff5f5!important;color:#008784!important;border-color:#94dede!important}
html body #schedulePanel#schedulePanel .schedule-days {display:flex!important;flex-wrap:wrap!important;gap:2px!important;border-bottom:1px solid var(--schedule-line)!important;margin:0!important}
html body #schedulePanel#schedulePanel .schedule-days button {width:auto!important;min-width:0!important;min-height:32px!important;height:auto!important;border:1px solid var(--schedule-line)!important;border-bottom:0!important;border-radius:6px 6px 0 0!important;padding:6px 9px!important;background:var(--schedule-paper)!important;color:var(--schedule-ink)!important;font-size:12px!important;font-weight:550!important;line-height:20px!important}
html body #schedulePanel#schedulePanel .schedule-days button[aria-pressed=true] {background:#009a95!important;border-color:#009a95!important;color:#fff!important}
html body #schedulePanel#schedulePanel .schedule-controls {display:flex!important;gap:8px!important;flex-wrap:wrap!important;margin:10px 0!important;padding:0!important}
html body #schedulePanel#schedulePanel .schedule-controls :is(input,select) {width:auto!important;min-height:34px!important;height:34px!important;padding:6px 9px!important;border:1px solid var(--schedule-line)!important;border-radius:5px!important;background:var(--schedule-paper)!important;color:var(--schedule-ink)!important;font-size:12px!important}
html body #schedulePanel#schedulePanel .schedule-controls input {flex:2 1 200px!important;min-width:180px!important}
html body #schedulePanel#schedulePanel .schedule-controls select {flex:1 1 140px!important;min-width:130px!important}
html body #schedulePanel#schedulePanel .schedule-table-scroll {overflow:auto!important;min-width:0!important;border:1px solid var(--schedule-line)!important;border-radius:6px!important}
html body #schedulePanel#schedulePanel .schedule-table {border-collapse:collapse!important;table-layout:fixed!important;min-width:905px!important;font-size:12px!important}
html body #schedulePanel#schedulePanel .schedule-table :is(th,td) {padding:8px 9px!important;color:var(--schedule-ink)!important;border-color:var(--schedule-line)!important;background:var(--schedule-paper)!important;font-size:12px!important;line-height:1.4!important;vertical-align:middle!important}
html body #schedulePanel#schedulePanel .schedule-table thead th {background:#e9eef2!important;font-size:11px!important;font-weight:600!important;text-transform:none!important;letter-spacing:0!important}
html body #schedulePanel#schedulePanel .schedule-section th {background:#e4ebf0!important;padding:7px 9px!important;font-size:11px!important;font-weight:500!important;text-transform:none!important}
html body #schedulePanel#schedulePanel .schedule-table th:nth-child(1) {width:15.5%}
html body #schedulePanel#schedulePanel .schedule-table th:nth-child(2) {width:11.6%}
html body #schedulePanel#schedulePanel .schedule-table th:nth-child(3) {width:13.8%}
html body #schedulePanel#schedulePanel .schedule-table th:nth-child(4) {width:9.7%}
html body #schedulePanel#schedulePanel .schedule-table th:nth-child(5) {width:15.5%}
html body #schedulePanel#schedulePanel .schedule-table th:nth-child(6) {width:17.7%}
html body #schedulePanel#schedulePanel .schedule-table th:nth-child(7) {width:16.2%}
html body #schedulePanel#schedulePanel .schedule-table :is(.schedule-customer,.schedule-tech,.schedule-history,.schedule-reschedule,.schedule-tech-text) {display:inline-block!important;width:auto!important;max-width:100%!important;min-width:0!important;min-height:23px!important;height:auto!important;padding:1px 0!important;margin:0!important;background:none!important;border:0!important;border-radius:0!important;white-space:normal!important;text-align:left!important;font-size:12px!important;line-height:1.4!important;color:inherit!important}
html body #schedulePanel#schedulePanel .schedule-table .schedule-customer {font-weight:600!important}
html body #schedulePanel#schedulePanel .schedule-table .schedule-reschedule {color:#087cb0!important;font-size:11px!important}
html body #schedulePanel#schedulePanel .schedule-table .schedule-history {font-size:10px!important;margin-left:6px!important;text-decoration:underline!important}
html body #schedulePanel#schedulePanel .schedule-table .schedule-tech-text {color:#c80068!important;font-size:10px!important}
html body #schedulePanel#schedulePanel .schedule-status {width:100%!important;min-width:0!important;min-height:29px!important;padding:4px 5px!important;font-size:11px!important;border-radius:4px!important}
html body #schedulePanel#schedulePanel .schedule-quick-actions {display:flex!important;flex-wrap:wrap!important;gap:4px!important}
html body #schedulePanel#schedulePanel :is(.schedule-quick-actions button,.schedule-open-invoice,.schedule-report-payment,.schedule-completed-invoice,.schedule-done-button) {display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;min-width:0!important;max-width:100%!important;min-height:28px!important;height:auto!important;flex:0 0 auto!important;padding:4px 7px!important;margin:0!important;border:1px solid var(--schedule-line)!important;border-radius:4px!important;background:var(--schedule-paper)!important;color:var(--schedule-ink)!important;font-size:11px!important;line-height:18px!important;white-space:normal!important;cursor:pointer!important}
html body #schedulePanel#schedulePanel .schedule-done-button {color:#00816c!important;border-color:#8ed4bc!important;background:#f2fcf7!important}
html body #schedulePanel#schedulePanel .schedule-open-invoice {margin-top:5px!important}
html body #schedulePanel#schedulePanel [data-schedule-complete-slot] {width:auto!important;min-width:0!important;white-space:normal!important}
html body #schedulePanel#schedulePanel .schedule-table .schedule-part {font-size:10px!important;padding:3px 5px!important}
html body #schedulePanel#schedulePanel :is(.schedule-part-detail,.schedule-money-summary small,.schedule-local,.schedule-installation b,.schedule-installation span) {font-size:9px!important;line-height:1.4!important;font-weight:400!important}
html body #schedulePanel#schedulePanel .schedule-table .schedule-completed-compact>td {position:static!important;width:auto!important;min-width:0!important;max-width:none!important;padding:4px 7px!important;box-shadow:none!important}
html body #schedulePanel#schedulePanel .schedule-completed-line {display:flex!important;align-items:center!important;gap:7px!important;min-height:31px!important;white-space:nowrap!important;overflow:visible!important}
html body #schedulePanel#schedulePanel .schedule-completed-line .schedule-completed-name {flex:1 1 120px!important;width:auto!important;min-width:85px!important;max-width:155px!important;height:auto!important;padding:1px 0!important;font-size:11px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
html body #schedulePanel#schedulePanel .schedule-completed-line small {font-size:9px!important;line-height:1.3!important;margin:0!important}
html body #schedulePanel#schedulePanel .schedule-completed-line :is(.schedule-report-payment,.schedule-completed-invoice) {flex:0 0 auto!important;min-height:25px!important;padding:3px 6px!important;font-size:10px!important;white-space:nowrap!important}
html body #schedulePanel#schedulePanel .schedule-completed-table {min-width:0!important;width:100%!important}
html body #schedulePanel#schedulePanel [hidden] {display:none!important}
@media(max-width:900px) {
html body #schedulePanel#schedulePanel .schedule-table {min-width:0!important;width:100%!important}
html body #schedulePanel#schedulePanel .schedule-table-scroll {overflow:visible!important;border:0!important}
html body #schedulePanel#schedulePanel .schedule-table [data-schedule-record]>td {position:static!important;width:auto!important;min-width:0!important;max-width:none!important}
html body #schedulePanel#schedulePanel .schedule-completed-line {overflow:hidden!important;gap:5px!important}
html body #schedulePanel#schedulePanel .schedule-completed-line .schedule-completed-name {min-width:65px!important;max-width:125px!important}
html body #schedulePanel#schedulePanel .schedule-completed-line .schedule-completed-paylink {font-size:9px!important;padding:3px 4px!important}
}
}

/* portal-modern.css */
/* One visual system for the production portal, including its real preview.
   Issued documents retain their print styles and original contents. */
@media screen {
#officeModernPortal.office-modern {--modern-bg:#eef1f4;--modern-paper:#fff;--modern-ink:#162b38;--modern-muted:#71838d;--modern-line:#dce4e8;--modern-teal:#007f75;--modern-rail:#14232e;--ui-bg:var(--modern-bg);--ui-panel:var(--modern-paper);--ui-ink:var(--modern-ink);--ui-muted:var(--modern-muted);--ui-line:var(--modern-line);--ui-blue:#007f75;--ui-teal:#007f75;--night-panel:var(--modern-paper);--night-text:var(--modern-ink);--night-line:var(--modern-line);--night-muted:var(--modern-muted);--studio-rail:204px;--edge-rail:204px;background:var(--modern-bg)!important;color:var(--modern-ink)!important;font:12px/1.45 Inter,ui-sans-serif,system-ui,sans-serif!important}
#officeModernPortal.office-modern .shell {display:block!important}
#officeModernPortal.office-modern .side {position:fixed!important;inset:0 auto 0 0!important;display:flex!important;flex-direction:column!important;width:204px!important;height:100dvh!important;padding:0!important;overflow:hidden!important;background:var(--modern-rail)!important;border:0!important;box-shadow:none!important;z-index:60!important}
#officeModernPortal.office-modern .side>.brand {display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:4px!important;flex:0 0 76px!important;min-height:76px!important;margin:0!important;padding:14px 18px!important;background:none!important;border:0!important;border-bottom:1px solid #ffffff10!important;color:#8297a6!important;font-size:9px!important;line-height:1.2!important;box-sizing:border-box!important}
#officeModernPortal.office-modern .side>.brand img {display:block!important;width:164px!important;max-height:35px!important;object-fit:contain!important;margin:0!important}
#officeModernPortal.office-modern .side>.brand strong {font-size:13px!important;color:#fff!important}
#officeModernPortal.office-modern .side>.security {display:none!important}
#officeModernPortal.office-modern .side>nav {display:flex!important;flex-direction:column!important;flex:1 1 auto!important;min-height:0!important;height:auto!important;overflow-y:auto!important;overflow-x:hidden!important;padding:12px 10px 22px!important;gap:17px!important;scrollbar-width:thin;scrollbar-color:#42525d transparent;box-sizing:border-box!important}
#officeModernPortal.office-modern .side .office-shortcuts {display:none!important}
#officeModernPortal.office-modern .office-nav-group {gap:3px!important;margin:0!important;padding:0!important;background:none!important;border:0!important}
#officeModernPortal.office-modern .office-nav-group>h2 {color:#728896!important;font-size:9px!important;letter-spacing:1.5px!important;font-weight:600!important;margin:0 10px 5px!important}
#officeModernPortal.office-modern .side .office-nav-item {display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:9px!important;min-height:32px!important;height:32px!important;width:100%!important;padding:5px 10px!important;margin:0!important;border:0!important;border-radius:5px!important;background:none!important;color:#b8c8d2!important;font:500 12px/1.3 Inter,system-ui,sans-serif!important;text-align:left!important;box-shadow:none!important}
#officeModernPortal.office-modern .side .office-nav-item .edge-tab-label {color:inherit!important;font-size:12px!important;line-height:1.3!important;font-weight:500!important;white-space:nowrap!important;text-overflow:ellipsis!important;overflow:hidden!important}
#officeModernPortal.office-modern .side .office-nav-item::before,#officeModernPortal.office-modern .side .office-nav-item::after {content:none!important;display:none!important}
#officeModernPortal.office-modern .side .office-nav-symbol {display:grid!important;place-items:center!important;width:20px!important;height:20px!important;flex:0 0 20px!important;background:none!important;color:#819aa9!important;border-radius:0!important}
#officeModernPortal.office-modern .side .office-nav-symbol svg {width:17px!important;height:17px!important;stroke-width:1.6!important}
#officeModernPortal.office-modern .side .office-nav-item.active {background:#1d4948!important;color:#a2f0dc!important;border:0!important;box-shadow:inset 2px 0 #50cfb0!important}
#officeModernPortal.office-modern .side .office-nav-item.active .office-nav-symbol {color:#75d8c0!important}
#officeModernPortal.office-modern .side .office-nav-item:hover:enabled {background:#ffffff0b!important;color:#fff!important}
#officeModernPortal.office-modern .side .office-nav-item[data-nav-key=newjob] {height:34px!important;min-height:34px!important;background:#06a38d!important;color:#fff!important;border:0!important;margin:0 0 7px!important;box-shadow:none!important}
#officeModernPortal.office-modern .side .office-nav-item[data-nav-key=newjob] .office-nav-symbol {color:#fff!important}
#officeModernPortal.office-modern .modern-all-tools {border-top:1px solid #ffffff13!important;padding-top:10px!important}
#officeModernPortal.office-modern .modern-all-tools>summary {color:#99b2c0!important;padding:7px 10px!important;font-size:12px!important}
#officeModernPortal.office-modern .modern-all-tools[open]>summary {background:#ffffff08!important}
#officeModernPortal.office-modern .side .ew-header-tools {grid-template-columns:1fr!important}
#officeModernPortal.office-modern .side .ew-header-tools button {min-height:30px!important;padding:5px 10px!important;border:1px solid #ffffff17!important;background:#ffffff08!important;color:#b8c8d2!important;border-radius:5px!important;font-size:11px!important}
#officeModernPortal.office-modern .side :is(.office-nav-item,.office-nav-group)[hidden] {display:none!important}
#officeModernPortal.office-modern .top {position:fixed!important;inset:0 0 auto 204px!important;width:calc(100% - 204px)!important;max-width:none!important;height:58px!important;min-height:58px!important;padding:8px 20px!important;gap:16px!important;background:var(--modern-paper)!important;border:0!important;border-bottom:1px solid var(--modern-line)!important;box-shadow:none!important;z-index:55!important;display:flex!important;align-items:center!important;box-sizing:border-box!important}
#officeModernPortal.office-modern .top>.portal-header-brand {display:none!important}
#officeModernPortal.office-modern .modern-page-heading {display:flex;flex-direction:column;gap:2px;min-width:150px;flex:0 1 210px}
#officeModernPortal.office-modern .modern-page-heading small {font-size:8px;letter-spacing:1.4px;color:#91a0a9;white-space:nowrap}
#officeModernPortal.office-modern .modern-page-heading strong {font-size:16px;line-height:1.3;font-weight:650;letter-spacing:-.4px;color:var(--modern-ink);white-space:nowrap}
#officeModernPortal.office-modern .top .office-global-search {display:block!important;flex:1 1 260px!important;min-width:130px!important;max-width:430px!important;height:32px!important;min-height:32px!important;padding:5px 11px!important;background:var(--modern-bg)!important;border:1px solid transparent!important;border-radius:5px!important;font-size:11px!important;color:var(--modern-ink)!important}
#officeModernPortal.office-modern .top .office-header-tools {display:flex!important;gap:5px!important;margin-left:auto!important}
#officeModernPortal.office-modern .top .office-header-tools>button {min-height:30px!important;height:30px!important;padding:4px 8px!important;border-radius:5px!important;background:var(--modern-paper)!important;border-color:var(--modern-line)!important;color:var(--modern-muted)!important;font-size:10px!important}
#officeModernPortal.office-modern .office-profile>summary {height:32px!important;min-height:32px!important;padding:5px 9px!important;border:1px solid var(--modern-line)!important;border-radius:5px!important;font-size:11px!important;background:var(--modern-paper)!important;color:var(--modern-ink)!important}
#officeModernPortal.office-modern main {margin-left:204px!important;width:calc(100% - 204px)!important;padding:76px 20px 90px!important;min-width:0!important;box-sizing:border-box!important;background:var(--modern-bg)!important}
#officeModernPortal.office-modern .panel {background:var(--modern-paper)!important;border:1px solid var(--modern-line)!important;border-radius:8px!important;box-shadow:0 2px 5px #152b3804!important;color:var(--modern-ink)!important}
#officeModernPortal.office-modern .panel>.panelbar {min-height:49px!important;padding:11px 14px!important;background:var(--modern-paper)!important;border-bottom:1px solid var(--modern-line)!important}
#officeModernPortal.office-modern .panel>.panelbar h2 {font-size:18px!important;letter-spacing:-.4px!important;color:var(--modern-ink)!important}
#officeModernPortal.office-modern .panel>.panelbar p {font-size:10px!important;color:var(--modern-muted)!important;margin:3px 0 0!important}
#officeModernPortal.office-modern .panel>.panelbar button {min-height:30px!important;padding:5px 9px!important;font-size:11px!important;border-radius:4px!important}
#officeModernPortal.office-modern :is(#workbenchPanel,#vendorsPanel,#dealersPanel,#collectionsPanel,#marketingPanel,#warrantyPanel,#adminPanel) table th,#officeModernPortal.office-modern :is(.op-dialog,.ew-dialog) table th {background:#233744!important;color:#dce8ed!important;border-color:#354955!important;font-size:10px!important;font-weight:550!important;padding:9px 10px!important}
#officeModernPortal.office-modern :is(#workbenchPanel,#vendorsPanel,#dealersPanel,#collectionsPanel,#marketingPanel,#warrantyPanel,#adminPanel) table td,#officeModernPortal.office-modern :is(.op-dialog,.ew-dialog) table td {background:var(--modern-paper)!important;color:var(--modern-ink)!important;border-color:var(--modern-line)!important;font-size:11px!important;padding:8px 10px!important}
#officeModernPortal.office-modern :is(#workPanel,#leadsPanel,#schedulePanel,#messagesPanel,#emailPanel,#collectionsPanel,#vendorsPanel,#adminPanel,#dashboardPanel) {border-radius:8px!important;box-shadow:none!important}
#officeModernPortal.office-modern :is(#workPanel,#leadsPanel)>.compact-list-toolbar {min-height:43px!important;height:auto!important;max-height:none!important;padding:7px 10px!important;border-bottom:1px solid var(--modern-line)!important;background:var(--modern-paper)!important;gap:7px!important}
#officeModernPortal.office-modern :is(#workPanel,#leadsPanel)>.compact-list-toolbar h2 {font-size:16px!important;letter-spacing:-.4px!important;color:var(--modern-ink)!important}
#officeModernPortal.office-modern :is(#workPanel,#leadsPanel)>.compact-list-toolbar :is(input,select,button,summary) {min-height:28px!important;height:28px!important;font-size:11px!important;line-height:18px!important;border-radius:4px!important}
#officeModernPortal.office-modern :is(#workPanel,#leadsPanel)>.compact-list-toolbar {display:flex!important;align-items:center!important;flex-wrap:nowrap!important;height:45px!important;min-height:45px!important;max-height:45px!important;overflow-x:auto!important;overflow-y:hidden!important}
#officeModernPortal.office-modern :is(#workPanel,#leadsPanel)>.compact-list-toolbar :is(.dispatch-toolbar,.filters,.column-tools) {display:contents!important}
#officeModernPortal.office-modern .compact-list-toolbar>div>h2 {display:block!important;white-space:nowrap!important;margin:0!important;padding:0!important;font-size:14px!important}
#officeModernPortal.office-modern .modern-toolbar-popup {flex:0 0 auto!important;margin:0!important;padding:0!important;border:0!important;white-space:nowrap!important}
#officeModernPortal.office-modern .modern-toolbar-popup>summary {display:inline-flex!important;align-items:center!important;gap:7px!important;list-style:none!important;cursor:pointer!important;padding:4px 8px!important;border:1px solid var(--modern-line)!important;background:var(--modern-paper)!important;color:#526f7e!important;font-size:11px!important;border-radius:4px!important;box-sizing:border-box!important}
#officeModernPortal.office-modern .modern-toolbar-popup>summary::after {content:'⌄';color:#86a09f}
#officeModernPortal.office-modern .modern-toolbar-surface {position:fixed!important;z-index:1000!important;width:250px!important;max-height:65vh!important;overflow:auto!important;padding:10px!important;border:1px solid var(--modern-line)!important;border-radius:7px!important;background:var(--modern-paper)!important;box-shadow:0 14px 45px #102b3e26!important;box-sizing:border-box!important}
#officeModernPortal.office-modern .modern-toolbar-popup:not([open])>.modern-toolbar-surface {display:none!important}
#officeModernPortal.office-modern .modern-toolbar-surface :is(.dispatch-view-tabs,.location-controls) {display:grid!important;grid-template-columns:1fr!important;gap:6px!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;padding:0!important;margin:0!important;border:0!important;overflow:visible!important;box-sizing:border-box!important}
#officeModernPortal.office-modern .modern-toolbar-surface .dispatch-view-tabs button {display:flex!important;align-items:center!important;justify-content:flex-start!important;width:100%!important;min-width:0!important;max-width:none!important;padding:5px 8px!important;margin:0!important;background:var(--modern-paper)!important;border:1px solid transparent!important;color:#526f7e!important;font-size:11px!important}
#officeModernPortal.office-modern .modern-toolbar-surface .dispatch-view-tabs button[aria-pressed=true] {background:#e2f2ec!important;color:#007466!important;border-color:#c8e2d7!important}
#officeModernPortal.office-modern .modern-toolbar-surface .location-controls :is(label,select) {display:grid!important;width:100%!important;min-width:0!important;max-width:none!important;margin:0!important;white-space:normal!important}
#officeModernPortal.office-modern .modern-toolbar-surface .location-controls label {height:auto!important;font-size:10px!important;gap:4px!important;color:var(--modern-muted)!important}
#officeModernPortal.office-modern .modern-toolbar-surface [hidden],#officeModernPortal.office-modern .modern-toolbar-surface :is(button,select,input)[hidden] {display:none!important}
#officeModernPortal.office-modern :is(#orders,#leadsList) .dispatch-table {background:var(--modern-paper)!important;border-collapse:collapse!important}
#officeModernPortal.office-modern :is(#orders,#leadsList) .dispatch-table thead th,#officeModernPortal.office-modern #schedulePanel .schedule-table thead th {background:#233744!important;color:#dce8ed!important;font-size:10px!important;font-weight:550!important;letter-spacing:.35px!important;text-transform:none!important;border-color:#354955!important;min-height:32px!important;padding:9px 10px!important}
#officeModernPortal.office-modern :is(#orders,#leadsList) .dispatch-table td {background:var(--modern-paper)!important;color:var(--modern-ink)!important;border-color:var(--modern-line)!important;padding:9px 10px!important;font-size:12px!important}
#officeModernPortal.office-modern :is(#orders,#leadsList) .dispatch-table tr:hover>td {background:#f1faf7!important}
#officeModernPortal.office-modern :is(#orders,#leadsList) .dispatch-table td :is(button,input,select) {font-size:11px!important;border-radius:4px!important;min-height:27px!important}
#officeModernPortal.office-modern :is(#orders,#leadsList) .dispatch-table small {font-size:9px!important;color:var(--modern-muted)!important}
#officeModernPortal.office-modern #schedulePanel {--schedule-line:var(--modern-line);--schedule-paper:var(--modern-paper);--schedule-ink:var(--modern-ink);--schedule-muted:var(--modern-muted);padding:14px!important;background:var(--modern-paper)!important;border-radius:8px!important}
#officeModernPortal.office-modern #schedulePanel .schedule-heading h2 {font-size:18px!important;font-weight:650!important;letter-spacing:-.4px!important}
#officeModernPortal.office-modern #schedulePanel .schedule-days {border:0!important;gap:5px!important;padding:0 0 10px!important}
#officeModernPortal.office-modern #schedulePanel .schedule-days button {border:1px solid var(--modern-line)!important;border-radius:5px!important;background:var(--modern-paper)!important;font-size:11px!important;padding:4px 8px!important;min-height:29px!important;height:29px!important}
#officeModernPortal.office-modern #schedulePanel .schedule-days button[aria-pressed=true] {background:#007f75!important;border-color:#007f75!important;color:#fff!important}
#officeModernPortal.office-modern #schedulePanel .schedule-controls {margin-top:0!important}
#officeModernPortal.office-modern #schedulePanel .schedule-section th {background:#e9f0f2!important;color:#50717c!important;font-size:10px!important;letter-spacing:.5px!important;text-transform:uppercase!important}
#officeModernPortal.office-modern #schedulePanel .schedule-table-scroll {border-radius:5px!important}
#officeModernPortal.office-modern #schedulePanel .schedule-quick-actions button {border-color:#d3e2e5!important;border-radius:4px!important;background:#fff!important;color:#285965!important}
#officeModernPortal.office-modern #schedulePanel .schedule-quick-actions [data-schedule-action=payment] {background:#e9f7f1!important;border-color:#b9ddcf!important;color:#006e5d!important}
#officeModernPortal.office-modern #schedulePanel .schedule-done-button {background:#007f75!important;border-color:#007f75!important;color:#fff!important}
#officeModernPortal.office-modern #schedulePanel .column-tools {background:var(--modern-paper)!important;padding:4px 0!important;border:0!important}
#officeModernPortal.office-modern #workPanel>.layout>#detail.proof-job {left:204px!important;top:60px!important;bottom:62px!important;background:var(--modern-bg)!important;border:0!important;border-radius:0!important;padding:12px!important;box-sizing:border-box!important}
#officeModernPortal.office-modern #workPanel #detail .worktitle {display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:9px!important;background:var(--modern-paper)!important;border:1px solid var(--modern-line)!important;border-radius:7px!important;padding:13px 15px!important;height:auto!important;min-height:0!important;max-height:none!important;box-shadow:none!important}
#officeModernPortal.office-modern #workPanel #detail .mockup-record-line {display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:8px 13px!important;min-height:29px!important;height:auto!important}
#officeModernPortal.office-modern #workPanel #detail .worktitle h3 {font-size:20px!important;letter-spacing:-.5px!important;font-weight:650!important;line-height:1.3!important;max-width:360px!important;color:var(--modern-ink)!important;white-space:normal!important;margin:0!important}
#officeModernPortal.office-modern #workPanel #detail .mockup-record-right {margin-left:auto!important;gap:7px!important;display:flex!important;flex-wrap:wrap!important}
#officeModernPortal.office-modern #workPanel #detail .mockup-record-actions {display:flex!important;flex-wrap:wrap!important;gap:6px!important;padding:0!important;margin:0!important}
#officeModernPortal.office-modern #workPanel #detail .mockup-record-actions button {display:inline-flex!important;align-items:center!important;gap:6px!important;width:auto!important;min-height:29px!important;height:29px!important;padding:4px 9px!important;background:var(--modern-paper)!important;color:#416171!important;border:1px solid var(--modern-line)!important;border-radius:4px!important;font-size:11px!important;line-height:18px!important}
#officeModernPortal.office-modern #workPanel #detail .mockup-record-actions svg {width:14px!important;height:14px!important}
#officeModernPortal.office-modern #workPanel #detail .mockup-record-actions .modern-job-complete {background:#007f75!important;border-color:#007f75!important;color:#fff!important;margin-left:auto!important}
#officeModernPortal.office-modern #workPanel #detail .mockup-record-actions .modern-job-payment {background:#e9f7f1!important;border-color:#b9ddcf!important;color:#006e5d!important}
#officeModernPortal.office-modern #workPanel #detail .worktitle .job-completion-check {display:none!important}
#officeModernPortal.office-modern #workPanel #detail .dispatch-detail-tabs {display:flex!important;gap:5px!important;background:transparent!important;border:0!important;padding:7px 0!important;margin:0!important;overflow-x:auto!important}
#officeModernPortal.office-modern #workPanel #detail .dispatch-detail-tabs button {background:transparent!important;color:#6d838f!important;border:1px solid transparent!important;border-radius:5px!important;padding:5px 10px!important;min-height:29px!important;height:29px!important;font-size:11px!important;white-space:nowrap!important;box-shadow:none!important}
#officeModernPortal.office-modern #workPanel #detail .dispatch-detail-tabs button[aria-selected=true] {background:#e2f2ec!important;color:#007466!important;border-color:#c8e2d7!important;font-weight:600!important;box-shadow:none!important}
#officeModernPortal.office-modern #workPanel #detail :is(.studio-card,.parts-assignment,.compact-insurance,.proof-vehicle-summary,.activity-workspace) {background:var(--modern-paper)!important;border:1px solid var(--modern-line)!important;border-radius:7px!important;box-shadow:none!important;color:var(--modern-ink)!important}
#officeModernPortal.office-modern #workPanel #detail :is(.studio-card>header,.parts-assignment>header) {padding:9px 12px!important;border-bottom:1px solid var(--modern-line)!important;background:#f8fafb!important}
#officeModernPortal.office-modern #workPanel #detail :is(.studio-card h3,.studio-card h4,.parts-assignment h3) {font-size:12px!important;color:#3f5a68!important;font-weight:650!important;margin:0!important}
#officeModernPortal.office-modern #workPanel #detail :is(.editgrid,.approved-parts,.studio-editor,.assignment-fields) :is(input,select,textarea) {min-height:30px!important;padding:5px 8px!important;border:1px solid #d5e0e5!important;border-radius:4px!important;background:var(--modern-paper)!important;color:var(--modern-ink)!important;font-size:12px!important;line-height:18px!important}
#officeModernPortal.office-modern #workPanel #detail .approved-queue {background:#e8edf1!important;border:0!important;border-radius:7px!important}
#officeModernPortal.office-modern #workPanel #detail .approved-queue-row {border-color:#d6e0e5!important;font-size:10px!important}
#officeModernPortal.office-modern #workPanel #detail .approved-queue-row.selected {background:#d9eee6!important;border-left-color:#009a81!important}
#officeModernPortal.office-modern .studio-widget {background:var(--modern-paper)!important;border:1px solid var(--modern-line)!important;border-radius:8px!important;box-shadow:none!important;overflow:hidden!important}
#officeModernPortal.office-modern .modern-overview-summary {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 19px;padding:0}
#officeModernPortal.office-modern .modern-overview-summary article {position:relative;background:var(--modern-paper);border:1px solid var(--modern-line);border-radius:7px;padding:16px 17px;min-width:0;min-height:113px;box-sizing:border-box}
#officeModernPortal.office-modern .modern-overview-summary article>span:not(.modern-summary-icon) {display:block;font-size:10px;letter-spacing:.7px;text-transform:uppercase;color:#7b909b;margin-bottom:7px}
#officeModernPortal.office-modern .modern-overview-summary strong {display:block;color:#006d61;font-size:31px;font-weight:650;line-height:1.2;letter-spacing:-1px}
#officeModernPortal.office-modern .modern-overview-summary small {display:block;color:#84969f;font-size:9px;line-height:1.4;margin-top:6px}
#officeModernPortal.office-modern .modern-summary-icon {position:absolute;right:15px;top:15px;color:#82afa4}
#officeModernPortal.office-modern .modern-summary-icon svg {width:19px;height:19px;stroke-width:1.4}
#officeModernPortal.office-modern .studio-widget-toolbar {padding:0 0 10px!important;margin:0!important;border:0!important}
#officeModernPortal.office-modern .studio-widget>header {background:#f8fafb!important;border-bottom:1px solid var(--modern-line)!important;padding:11px 14px!important}
#officeModernPortal.office-modern .studio-widget h3 {font-size:12px!important;letter-spacing:.15px!important;color:#3d5867!important;font-weight:650!important}
#officeModernPortal.office-modern .studio-widget-body {padding:14px!important}
#officeModernPortal.office-modern :is(.op-dialog,.acct-dialog,.ew-dialog,.coord-dialog,.studio-editor,.job-completion-dialog,.dispatch-customer-dialog,.payment-report-dialog,.column-settings) {border:1px solid var(--modern-line)!important;border-radius:9px!important;box-shadow:0 22px 85px #0c233743!important;background:var(--modern-paper)!important;color:var(--modern-ink)!important}
#officeModernPortal.office-modern dialog::backdrop {background:#10273570;backdrop-filter:blur(3px)}
#officeModernPortal.office-modern :is(.op-dialog,.ew-dialog,.coord-dialog,.studio-editor,.job-completion-dialog,.dispatch-customer-dialog,.payment-report-dialog)>header {padding:14px 18px!important;background:#f8fafb!important;border-bottom:1px solid var(--modern-line)!important}
#officeModernPortal.office-modern :is(.op-dialog,.ew-dialog,.coord-dialog,.studio-editor,.job-completion-dialog,.dispatch-customer-dialog,.payment-report-dialog) :is(h2,h3) {font-size:17px!important;letter-spacing:-.35px!important;color:var(--modern-ink)!important}
#officeModernPortal.office-modern :is(.op-dialog,.ew-dialog,.coord-dialog,.studio-editor,.job-completion-dialog,.dispatch-customer-dialog,.payment-report-dialog) :is(button,input,select,textarea) {border-radius:5px!important;font-size:12px!important}
#officeModernPortal.office-modern :is(.primary,button.primary) {background:#007f75!important;border-color:#007f75!important;color:#fff!important}
#officeModernPortal.office-modern :is(button,summary,a,input,select,textarea):focus-visible {outline:2px solid #0ba58b!important;outline-offset:2px!important}
#officeModernPortal.office-modern .office-softphone {border-color:#cedce2!important;border-radius:9px!important;box-shadow:0 15px 60px #0c23372e!important}
#officeModernPortal.office-modern .phone-dock {border-color:#cedce2!important;border-radius:7px!important;box-shadow:0 4px 18px #0c233715!important}
#officeModernPortal.office-modern .phone-toolbar-actions [data-phone=enable] {background:#007f75!important;border-color:#007f75!important;color:#fff!important}
#officeModernPortal.office-modern :is(#invoicesPanel,#messagesPanel,#emailPanel,#adminPanel,#warrantyPanel)>.panelbar {padding:12px 15px!important;min-height:52px!important;background:var(--modern-paper)!important;border-bottom:1px solid var(--modern-line)!important}
#officeModernPortal.office-modern :is(#invoicesPanel,#messagesPanel,#emailPanel,#adminPanel,#warrantyPanel) h2 {font-size:18px!important;font-weight:650!important;letter-spacing:-.4px!important;color:var(--modern-ink)!important}
#officeModernPortal.office-modern :is(#messagesPanel,#emailPanel) .panelbar p {font-size:10px!important;color:var(--modern-muted)!important;margin:3px 0 0!important}
#officeModernPortal.office-modern #messagesPanel .inboxbar {padding:10px 13px!important;gap:7px!important;border-bottom:1px solid var(--modern-line)!important;background:#f8fafb!important}
#officeModernPortal.office-modern #messagesPanel #messageSearch {height:32px!important;min-height:32px!important;padding:6px 10px!important;font-size:12px!important;border:1px solid var(--modern-line)!important;border-radius:5px!important;background:var(--modern-paper)!important;color:var(--modern-ink)!important}
#officeModernPortal.office-modern #messagesPanel .inboxfilter {min-height:28px!important;padding:4px 9px!important;font-size:11px!important;border:1px solid var(--modern-line)!important;border-radius:4px!important;background:var(--modern-paper)!important;color:#647d8b!important}
#officeModernPortal.office-modern #messagesPanel .inboxfilter.active {background:#dff1e9!important;border-color:#b9ddcf!important;color:#006e5d!important}
#officeModernPortal.office-modern #messagesPanel .thread {min-height:67px!important;padding:10px 12px!important;background:var(--modern-paper)!important;border-color:var(--modern-line)!important;border-radius:0!important;box-shadow:none!important}
#officeModernPortal.office-modern #messagesPanel .thread[aria-pressed=true] {background:#e6f4ee!important;box-shadow:inset 3px 0 #0a9d82!important}
#officeModernPortal.office-modern #messagesPanel .threadcopy b {font-size:12px!important;color:var(--modern-ink)!important}
#officeModernPortal.office-modern #messagesPanel .threadcopy :is(small,em) {font-size:10px!important;color:var(--modern-muted)!important}
#officeModernPortal.office-modern #messagesPanel .conversation {background:var(--modern-paper)!important;border-color:var(--modern-line)!important}
#officeModernPortal.office-modern #emailPanel .email-toolbar {padding:10px 13px!important;gap:7px!important;background:#f8fafb!important;border-color:var(--modern-line)!important}
#officeModernPortal.office-modern #emailPanel .email-toolbar :is(input,select,button) {min-height:31px!important;padding:5px 8px!important;font-size:11px!important;border-radius:4px!important;border-color:var(--modern-line)!important}
#officeModernPortal.office-modern #emailPanel :is(.email-list,.email-detail) {border-color:var(--modern-line)!important;background:var(--modern-paper)!important}
#officeModernPortal.office-modern #invoicesPanel #invoiceCenterRoot {--ic-border:var(--modern-line);--ic-blue:#007f75;color:var(--modern-ink)!important}
#officeModernPortal.office-modern #invoicesPanel .ic-head h2 {font-size:19px!important;letter-spacing:-.4px!important}
#officeModernPortal.office-modern #invoicesPanel .ic-summary {background:#e9f2ef!important;border-color:#cfe0da!important;border-radius:6px!important;padding:11px 0!important}
#officeModernPortal.office-modern #invoicesPanel .ic-summary strong {color:#006d5e!important;font-size:20px!important}
#officeModernPortal.office-modern #invoicesPanel #invoiceCenterRoot button {border-radius:4px!important;font-size:11px!important;min-height:29px!important}
#officeModernPortal.office-modern #invoicesPanel #invoiceCenterRoot :is(button.active,.ic-primary) {background:#007f75!important;border-color:#007f75!important;color:#fff!important}
#officeModernPortal.office-modern #invoicesPanel .ic-table th {background:#233744!important;color:#dce8ed!important;font-size:10px!important;border-color:#354955!important;font-weight:550!important}
#officeModernPortal.office-modern #invoicesPanel .ic-table td {padding:10px!important;border-color:var(--modern-line)!important;background:var(--modern-paper)!important;font-size:11px!important}
#officeModernPortal.office-modern .op-dialog.finance-dialog {inset:72px 18px 75px 222px!important;top:72px!important;width:auto!important;max-height:calc(100dvh - 147px)!important}
#officeModernPortal.office-modern .acct-tabs {display:flex!important;flex-wrap:wrap!important;gap:5px!important;padding:10px!important;background:#f5f8f9!important;border-bottom:1px solid var(--modern-line)!important}
#officeModernPortal.office-modern .acct-tabs button {display:inline-flex!important;flex-direction:row!important;align-items:center!important;gap:6px!important;min-height:32px!important;padding:5px 9px!important;font-size:11px!important;border-radius:4px!important}
#officeModernPortal.office-modern .acct-tabs button svg {width:15px!important;height:15px!important}
#officeModernPortal.office-modern #adminPanel details {border:1px solid var(--modern-line)!important;border-radius:6px!important;background:var(--modern-paper)!important;margin:9px 12px!important}
#officeModernPortal.office-modern #adminPanel summary {padding:10px 12px!important;font-size:12px!important;font-weight:600!important;color:#405d6b!important;background:#f7fafb!important;border-radius:6px!important}
html[data-office-theme=dark] #officeModernPortal.office-modern {--modern-bg:#111c25;--modern-paper:#1a2933;--modern-ink:#e1ebef;--modern-muted:#91a5b0;--modern-line:#344651;--modern-rail:#0b151e}
html[data-office-theme=dark] #officeModernPortal.office-modern :is(.studio-widget>header,.studio-card>header) {background:#20323e!important}
html[data-office-theme=dark] #officeModernPortal.office-modern #messagesPanel .thread[aria-pressed=true] {background:#23473d!important}
html[data-office-theme=dark] #officeModernPortal.office-modern :is(#orders,#leadsList) .dispatch-table tr:hover>td {background:#203c3b!important}
@media(max-width:1100px) {
#officeModernPortal.office-modern .top {left:0!important;width:100%!important;padding:8px 12px!important;gap:10px!important}
#officeModernPortal.office-modern main {margin-left:0!important;width:100%!important;padding:72px 12px 86px!important}
#officeModernPortal.office-modern .side {display:none!important;width:218px!important;z-index:960!important}
#officeModernPortal.office-modern.office-nav-open .side {display:flex!important}
#officeModernPortal.office-modern #officeNavToggle {display:inline-flex!important;height:32px!important;min-height:32px!important;align-items:center!important;padding:5px 7px!important;border-radius:4px!important;font-size:11px!important}
#officeModernPortal.office-modern .office-nav-backdrop {inset:0!important;height:100dvh!important;z-index:950!important;background:#0b233877!important}
#officeModernPortal.office-modern #workPanel>.layout>#detail.proof-job {left:0!important;top:60px!important}
#officeModernPortal.office-modern .modern-page-heading {min-width:140px;flex-basis:180px}
#officeModernPortal.office-modern .top .office-header-tools {display:none!important}
#officeModernPortal.office-modern .op-dialog.finance-dialog {inset:70px 10px 78px!important;width:auto!important}
}
@media(max-width:700px) {
#officeModernPortal.office-modern .modern-overview-summary {grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:14px}
#officeModernPortal.office-modern .modern-overview-summary article {padding:12px;min-height:105px}
#officeModernPortal.office-modern .modern-page-heading {display:none!important}
#officeModernPortal.office-modern .top .office-global-search {min-width:80px!important;max-width:none!important}
#officeModernPortal.office-modern main {padding:68px 7px 88px!important}
#officeModernPortal.office-modern #schedulePanel {padding:9px!important}
#officeModernPortal.office-modern #schedulePanel .schedule-days button {font-size:10px!important;padding:4px 6px!important}
#officeModernPortal.office-modern #workPanel #detail .worktitle {padding:10px!important}
#officeModernPortal.office-modern #workPanel #detail .worktitle h3 {font-size:17px!important}
#officeModernPortal.office-modern #workPanel #detail .mockup-record-actions button {font-size:10px!important;padding:3px 6px!important}
}
}

/* Shadow-root dispatch workspace owns its approved compact layout. */
#officeModernPortal #schedulePanel.dispatch-workspace-host{padding:14px!important;background:#fff!important;overflow:visible!important;min-width:0}#officeModernPortal .dispatch-payer-dialog{width:min(950px,95vw);max-height:90dvh;overflow:auto}

/* inbox-workspace.css */
/* Focused, two-pane inbox. Existing message IDs, drafts and sender controls stay intact. */
#officeModernPortal.office-modern #messagesPanel.simplified-inbox{display:flex!important;flex-direction:column!important;height:var(--inbox-workspace-height,calc(100dvh - 150px))!important;min-height:320px!important;max-height:none!important;padding:0!important;overflow:hidden!important;border:1px solid #cddfea!important;border-radius:12px!important;background:#fff!important}
#officeModernPortal.office-modern #messagesPanel.simplified-inbox.hidden{display:none!important}
#officeModernPortal #messagesPanel.simplified-inbox>.panelbar{padding:13px 18px!important;min-height:62px!important;gap:12px!important;flex:none!important;border-bottom:1px solid #dce7ef!important;background:#fff!important}
#officeModernPortal #messagesPanel.simplified-inbox>.panelbar h2{font-size:19px!important;color:#153d53!important;margin:0!important;letter-spacing:-.4px}
#officeModernPortal #messagesPanel.simplified-inbox>.panelbar p{display:block!important;font-size:11px!important;color:#607d8d!important;margin:3px 0 0!important}
#officeModernPortal #messagesPanel.simplified-inbox>.panelbar button{font-size:11px!important;min-height:32px!important;padding:5px 10px!important;border:1px solid #cddfea!important;background:#f6fbff!important;color:#28617c!important}
#officeModernPortal #messagesPanel.simplified-inbox>.panelbar .office-screen-back{display:none!important}
#officeModernPortal #messagesPanel.simplified-inbox>#inboxAssignmentSummary{display:none!important}
#officeModernPortal #messagesPanel.simplified-inbox>.inboxlayout{display:grid!important;grid-template-columns:minmax(260px,32%) minmax(0,1fr)!important;flex:1!important;min-height:0!important;height:auto!important;overflow:hidden!important;align-items:stretch!important;gap:0!important;background:#fff!important}
#officeModernPortal #messagesPanel.simplified-inbox .inbox-list-pane{display:flex!important;flex-direction:column!important;min-width:0;min-height:0;overflow:hidden;border-right:1px solid #dce7ef;background:#f7fafc}
#officeModernPortal #messagesPanel.simplified-inbox .inboxbar{display:flex!important;flex-direction:column!important;flex:none!important;gap:9px!important;padding:12px!important;border-bottom:1px solid #dce7ef!important;background:#f7fafc!important}
#officeModernPortal #messagesPanel.simplified-inbox #messageSearch{order:0!important;width:100%!important;flex:none!important;height:36px!important;min-height:36px!important;font-size:12px!important;padding:8px 10px!important;background:#fff!important;border:1px solid #c6dbe8!important;border-radius:7px!important;margin:0!important}
#officeModernPortal #messagesPanel.simplified-inbox .inbox-work-filters{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:4px!important}
#officeModernPortal #messagesPanel.simplified-inbox .inboxfilter,#officeModernPortal #messagesPanel.simplified-inbox .inbox-extra-filters>summary{font-size:10px!important;min-height:28px!important;line-height:1.4!important;padding:5px 7px!important;border:0!important;border-radius:5px!important;background:transparent!important;color:#4c6c80!important;white-space:nowrap!important;cursor:pointer;list-style:none}
#officeModernPortal #messagesPanel.simplified-inbox .inboxfilter.active,#officeModernPortal #messagesPanel.simplified-inbox .inbox-extra-filters>summary.selected-view{color:#fff!important;background:#008e92!important;font-weight:600!important}
.inbox-extra-views[popover],.inbox-handling-popover[popover]{inset:unset;margin:0;padding:10px;border:1px solid #bfd6e5;border-radius:9px;box-shadow:0 12px 35px #173a5926;background:white;color:#274e63;max-width:min(340px,90vw)}
.inbox-extra-views[popover]{top:205px;left:max(16px,calc(var(--office-sidebar-width,204px) + 40px))}
.inbox-extra-views:popover-open{display:flex;flex-direction:column;gap:5px}.inbox-extra-views button{padding:8px 12px;text-align:left;background:#fff;color:#28516b;border:1px solid #d5e4ed;border-radius:5px;min-height:32px}
#officeModernPortal #messagesPanel.simplified-inbox #threads{flex:1!important;height:auto!important;min-height:0!important;max-height:none!important;overflow-y:auto!important;overflow-x:hidden!important;scrollbar-gutter:stable;scrollbar-width:thin;overscroll-behavior:contain;padding:0!important;background:#fff!important}
#officeModernPortal #messagesPanel.simplified-inbox .inbox-row{position:relative;border-bottom:1px solid #e4edf3;background:#fff}
#officeModernPortal #messagesPanel.simplified-inbox .thread.inbox-thread{display:grid!important;grid-template-columns:30px minmax(0,1fr)!important;gap:9px!important;width:100%!important;min-height:88px!important;padding:11px 12px!important;margin:0!important;border:0!important;border-left:3px solid transparent!important;border-radius:0!important;text-align:left!important;box-shadow:none!important;background:transparent!important}
#officeModernPortal #messagesPanel.simplified-inbox .thread.inbox-thread[aria-pressed=true]{background:#e5f6f5!important;border-left-color:#00a39c!important}
#officeModernPortal #messagesPanel.simplified-inbox .thread.inbox-thread:hover{background:#f0f8fc!important}
#officeModernPortal #messagesPanel.simplified-inbox .thread .avatar{display:grid!important;place-items:center!important;width:29px!important;height:29px!important;background:#e3f1f5!important;color:#13778b!important;border-radius:9px!important;font-size:12px!important;grid-row:1/3;align-self:start}
#officeModernPortal #messagesPanel.simplified-inbox .threadcopy{display:block!important;min-width:0!important;padding:0!important}
#officeModernPortal #messagesPanel.simplified-inbox .threadcopy b{display:block!important;font-size:12px!important;line-height:1.4!important;color:#193c51!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;padding-right:4px}
#officeModernPortal #messagesPanel.simplified-inbox .threadcopy em{display:block!important;font-size:11px!important;line-height:1.5!important;color:#41657b!important;font-style:normal!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;margin:2px 0!important}
#officeModernPortal #messagesPanel.simplified-inbox .threadcopy small{display:block!important;font-size:10px!important;line-height:1.35!important;color:#6a8596!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
#officeModernPortal #messagesPanel.simplified-inbox .threadcopy .inbox-link-state{font-size:9px!important;color:#728b9c!important;margin-top:2px}
#officeModernPortal #messagesPanel.simplified-inbox .thread time{grid-column:2!important;display:block!important;position:static!important;font-size:9px!important;color:#8296a2!important;margin:0!important;padding-right:55px;white-space:nowrap!important}
#officeModernPortal #messagesPanel.simplified-inbox .inbox-row-contact{position:absolute;right:8px;bottom:8px;display:flex;gap:3px}
#officeModernPortal #messagesPanel.simplified-inbox .inbox-row-contact button{display:grid;place-items:center;min-height:25px!important;width:25px!important;padding:3px!important;background:#f0f8fc!important;color:#16758c!important;border:1px solid #d6e6ee!important;border-radius:5px!important}
#officeModernPortal #messagesPanel.simplified-inbox #conversation{display:flex!important;flex-direction:column!important;height:100%!important;min-height:0!important;min-width:0!important;overflow:hidden!important;border:0!important;border-radius:0!important;background:#fff!important;padding:0!important}
#officeModernPortal #messagesPanel.simplified-inbox #conversation>.chathead{order:0!important;display:flex!important;align-items:center!important;gap:10px!important;flex:none!important;padding:13px 16px!important;min-height:64px!important;border-bottom:1px solid #deebf2!important;background:#fff!important;margin:0!important}
#officeModernPortal #messagesPanel.simplified-inbox .chatidentity{display:flex!important;flex-direction:column!important;min-width:0!important;flex:1!important;gap:2px!important}
#officeModernPortal #messagesPanel.simplified-inbox .chatidentity b{font-size:15px!important;color:#1a3f55!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#officeModernPortal #messagesPanel.simplified-inbox .chatidentity span{font-size:11px!important;color:#5c7d90!important}
#officeModernPortal #messagesPanel.simplified-inbox .chathead-actions{display:none!important}
#officeModernPortal #messagesPanel.simplified-inbox .inbox-thread-tools{display:flex!important;gap:5px!important;flex:none}
#officeModernPortal #messagesPanel.simplified-inbox .inbox-thread-tools button{display:flex;align-items:center;justify-content:center;gap:5px;min-height:32px!important;padding:6px 9px!important;font-size:11px!important;color:#256079!important;border:1px solid #cee1eb!important;background:#fff!important;border-radius:6px!important}
#officeModernPortal #messagesPanel.simplified-inbox .inbox-thread-tools button:last-child{color:#007c85!important;background:#ecfafa!important;border-color:#b4dedf!important}
#officeModernPortal #messagesPanel.simplified-inbox .inbox-job-summary{order:1!important;flex:none;padding:7px 16px;background:#f0f7fc;border-bottom:1px solid #e0ebf3;font-size:10px;line-height:1.4;color:#51758c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#officeModernPortal #messagesPanel.simplified-inbox .inbox-vehicle-choice{order:2!important;flex:none;padding:7px 14px!important;background:#fff7e6!important;border-bottom:1px solid #f2ddb2!important;margin:0!important;font-size:11px!important}
#officeModernPortal #messagesPanel.simplified-inbox .inbox-vehicle-choice select{height:30px!important;min-height:30px!important;font-size:11px!important}
#officeModernPortal #messagesPanel.simplified-inbox .coord-message-work{order:3!important;flex:none!important;margin:0!important;padding:7px 13px!important;border:0!important;border-bottom:1px solid #e1ebf2!important;background:#fff!important;font-size:10px!important}
#officeModernPortal #messagesPanel.simplified-inbox .inbox-handling-line{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:7px!important}
#officeModernPortal #messagesPanel.simplified-inbox .coord-work-label{font-size:10px!important;padding:3px 7px;background:#fff3d8;color:#946000;border-radius:4px}
#officeModernPortal #messagesPanel.simplified-inbox .coord-work-owner{flex:1;font-size:10px;color:#587a8e;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#officeModernPortal #messagesPanel.simplified-inbox .inbox-handling-line :is(button,summary){font-size:10px!important;padding:4px 7px!important;min-height:27px!important;background:#f7fbfd!important;color:#33677f!important;border:1px solid #d2e2ec!important;border-radius:4px!important;cursor:pointer;list-style:none}
#officeModernPortal #messagesPanel.simplified-inbox .inbox-handling-line [data-resolve]{color:#00764d!important;background:#edf9f2!important;border-color:#bce5d0!important}
.inbox-handling-popover[popover]{right:30px;top:220px;font-size:12px;line-height:1.5}.inbox-handling-popover button{margin:5px;padding:7px 10px;border:1px solid #cfdee8;border-radius:4px;background:#fff}
#officeModernPortal #messagesPanel.simplified-inbox #conversation>.chatbody{order:4!important;flex:1 1 0!important;height:auto!important;min-height:60px!important;max-height:none!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;padding:18px!important;scrollbar-width:thin;background:#f7fafc!important;margin:0!important}
#officeModernPortal #messagesPanel.simplified-inbox .chatbody .bubble{font-size:13px!important;line-height:1.5!important;padding:10px 13px!important;max-width:85%!important;min-width:0!important;border-radius:11px!important;box-shadow:0 1px 3px #284b6810!important;margin:0 0 12px!important;overflow-wrap:anywhere}
#officeModernPortal #messagesPanel.simplified-inbox .chatbody .bubble.in{background:#fff!important;border:1px solid #dce7ef!important;color:#24465b!important}
#officeModernPortal #messagesPanel.simplified-inbox .chatbody .bubble.out{background:#e2f5f2!important;border:1px solid #bfe4dc!important;color:#17594f!important}
#officeModernPortal #messagesPanel.simplified-inbox .chatbody .bubble :is(time,small){font-size:9px!important;color:#6c8797!important}
#officeModernPortal #messagesPanel.simplified-inbox #conversation>.composer{order:5!important;flex:none!important;display:flex!important;flex-direction:column!important;gap:7px!important;padding:12px 14px!important;border:0!important;border-top:1px solid #d7e5ee!important;background:#fff!important;max-height:38dvh!important;overflow-y:auto!important;margin:0!important;border-radius:0!important}
#officeModernPortal #messagesPanel.simplified-inbox .message-recipient-context{display:none!important}
#officeModernPortal #messagesPanel.simplified-inbox #conversation>.composer>textarea{display:block!important;flex:none!important;width:100%!important;min-height:50px!important;height:58px;max-height:100px!important;resize:vertical!important;padding:10px 11px!important;font-size:13px!important;line-height:1.4!important;border:1px solid #bbd4e3!important;border-radius:7px!important;background:#fff!important;margin:0!important}
#officeModernPortal #messagesPanel.simplified-inbox .message-composer-toolbar{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:5px!important;padding:0!important;margin:0!important}
#officeModernPortal #messagesPanel.simplified-inbox .message-composer-toolbar :is(button,summary){font-size:10px!important;min-height:30px!important;padding:5px 8px!important;border:1px solid #cfdfeb!important;border-radius:5px!important;background:#f5faff!important;color:#32657f!important;line-height:1.3!important}
#officeModernPortal #messagesPanel.simplified-inbox .message-composer-toolbar :is(#sendCustom,#sendUnmatched){font-size:12px!important;padding:6px 17px!important;min-width:75px!important;background:#00918d!important;color:#fff!important;border-color:#00918d!important;margin-left:auto!important}
#officeModernPortal #messagesPanel.simplified-inbox .message-draft-state{font-size:9px!important;color:#6a8798!important;margin-left:auto!important}
#officeModernPortal #messagesPanel.simplified-inbox .message-fields-warning{font-size:10px!important;margin:0!important}
#officeModernPortal #messagesPanel.simplified-inbox #conversation>.inbox-sendbar{order:6!important;flex:none!important;min-height:0!important;padding:0 14px!important;background:#fff!important;border:0!important;display:block!important}
#officeModernPortal #messagesPanel.simplified-inbox #conversation>.inbox-sendbar:empty{display:none!important}
#officeModernPortal #messagesPanel.simplified-inbox .inbox-sendbar :is(#customerMessageStatus,#unmatchedReplyStatus){font-size:11px!important;margin:0!important;padding:0 0 7px!important;white-space:normal!important}
#officeModernPortal #messagesPanel.simplified-inbox .composer>small:not(.message-fields-warning),#officeModernPortal #messagesPanel.simplified-inbox .sms-optout-status{font-size:10px!important;line-height:1.3!important;padding:4px 7px!important;margin:0!important}
#officeModernPortal #messagesPanel.simplified-inbox .emptythread{height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;text-align:center;color:#6b8596;font-size:12px;padding:25px}
#officeModernPortal #messagesPanel.simplified-inbox .emptythread>b{font-size:17px;color:#1b556b}.inbox-empty-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:18px;background:#e1f4f4;color:#00968f}.inbox-empty-icon svg{width:25px;height:25px}
#officeModernPortal #messagesPanel.simplified-inbox .inbox-back{display:none!important}
body .inbox-context-dialog{width:min(640px,94vw);max-height:85dvh;padding:0;border:1px solid #c2d9e7;border-radius:12px;color:#24485f;background:#fff;box-shadow:0 24px 75px #17354e33}
.inbox-context-dialog::backdrop{background:#14364b4d;backdrop-filter:blur(2px)}.inbox-context-dialog>header{display:flex;align-items:center;justify-content:space-between;padding:15px 18px;border-bottom:1px solid #d7e5ee}.inbox-context-dialog>header strong{font-size:17px}.inbox-context-dialog>header small{display:block;margin-top:3px;color:#728c9b}.inbox-context-dialog>header button{font-size:21px;border:0;background:transparent;cursor:pointer}.inbox-context-body{padding:16px;display:flex;flex-direction:column;gap:12px}.inbox-context-body .inbox-record-actions{display:flex;flex-wrap:wrap;padding:12px;background:#f4f9fd;border:1px solid #d6e5ee;border-radius:7px}.inbox-context-body .dealerwork{padding:12px;border:1px solid #d5e4ed;border-radius:7px}.inbox-context-body>button{padding:9px 12px;background:#fff;border:1px solid #cbdfea;border-radius:6px;text-align:left;color:#28657f;font-size:12px}
body.inbox-workspace-active .classic-mini[data-call-active="false"]{display:none!important}
@media(max-width:800px){#officeModernPortal #messagesPanel.simplified-inbox>.panelbar p{display:none!important}#officeModernPortal #messagesPanel.simplified-inbox>.panelbar{min-height:48px!important;padding:8px 10px!important}#officeModernPortal #messagesPanel.simplified-inbox>.panelbar h2{font-size:16px!important}#officeModernPortal #messagesPanel.simplified-inbox>.inboxlayout{display:block!important}#officeModernPortal #messagesPanel.simplified-inbox .inbox-list-pane{height:100%;border:0}#officeModernPortal #messagesPanel.simplified-inbox #conversation{display:none!important}#officeModernPortal #messagesPanel.simplified-inbox.mobile-thread-open .inbox-list-pane{display:none!important}#officeModernPortal #messagesPanel.simplified-inbox.mobile-thread-open #conversation{display:flex!important}#officeModernPortal #messagesPanel.simplified-inbox .inbox-back{display:block!important;padding:6px!important;font-size:11px!important;min-height:34px!important}#officeModernPortal #messagesPanel.simplified-inbox .chatidentity b{font-size:13px!important}#officeModernPortal #messagesPanel.simplified-inbox .inbox-thread-tools button{padding:6px!important;min-height:34px!important}#officeModernPortal #messagesPanel.simplified-inbox .inbox-thread-tools button span{display:none}#officeModernPortal #messagesPanel.simplified-inbox #conversation>.chathead{padding:9px!important;gap:5px!important}#officeModernPortal #messagesPanel.simplified-inbox .coord-work-owner{max-width:110px}#officeModernPortal #messagesPanel.simplified-inbox .thread.inbox-thread{min-height:94px!important}#officeModernPortal #messagesPanel.simplified-inbox .inbox-row-contact button{min-height:30px!important;width:30px!important}#officeModernPortal #messagesPanel.simplified-inbox .chatbody .bubble{font-size:14px!important;max-width:93%!important}#officeModernPortal #messagesPanel.simplified-inbox #conversation>.composer>textarea{font-size:16px!important}.inbox-extra-views[popover]{left:15px;top:180px}}

/* Override the old embedded-job composer ordering only in the main inbox. */
body#officeModernPortal.office-modern #messagesPanel.simplified-inbox #conversation.focused-conversation.message-composer-ready>.chatbody{order:4!important}
body#officeModernPortal.office-modern #messagesPanel.simplified-inbox #conversation.focused-conversation.message-composer-ready>.composer{order:5!important}
body#officeModernPortal.office-modern #messagesPanel.simplified-inbox #conversation.focused-conversation.message-composer-ready .message-composer-toolbar :is(#sendCustom,#sendUnmatched){background:#00918d!important;border-color:#00918d!important;color:white!important}

body#officeModernPortal.office-modern #messagesPanel.simplified-inbox .inboxlayout>#conversation{position:static!important;inset:auto!important;max-height:none!important;width:auto!important;box-sizing:border-box!important}
@media(max-width:800px){body#officeModernPortal.office-modern #messagesPanel.simplified-inbox>.inboxlayout{position:relative!important;inset:auto!important;width:100%!important;height:auto!important;flex:1 1 0!important;padding:0!important;z-index:auto!important}body#officeModernPortal.office-modern #messagesPanel.simplified-inbox .inboxlayout>#conversation.focused-conversation.message-composer-ready{height:100%!important;min-height:0!important;flex:none!important;max-height:none!important}}
/* Technician review replaces the customer inbox, including on narrow screens. */
body#officeModernPortal.office-modern #messagesPanel.simplified-inbox>.inboxlayout.hidden{display:none!important}
body#officeModernPortal.office-modern #messagesPanel.simplified-inbox>.tech-inbox:not(.hidden){flex:1;min-height:0;overflow:auto}
/* Dense conversation layout with clear customer / office message colors. */
#officeModernPortal #messagesPanel.simplified-inbox>.panelbar{padding:7px 12px!important;min-height:40px!important}
#officeModernPortal #messagesPanel.simplified-inbox>.panelbar h2{font-size:16px!important}
#officeModernPortal #messagesPanel.simplified-inbox>.panelbar p{display:none!important}
#officeModernPortal #messagesPanel.simplified-inbox .inboxbar{padding:8px!important;gap:5px!important}
#officeModernPortal #messagesPanel.simplified-inbox .thread.inbox-thread{min-height:68px!important;padding:7px 9px!important;gap:6px!important;grid-template-columns:24px minmax(0,1fr)!important}
#officeModernPortal #messagesPanel.simplified-inbox .thread .avatar{width:24px!important;height:24px!important;border-radius:6px!important}
#officeModernPortal #messagesPanel.simplified-inbox #conversation>.chathead{padding:7px 12px!important;min-height:42px!important;gap:6px!important}
#officeModernPortal #messagesPanel.simplified-inbox .inbox-job-summary{padding:4px 12px!important}
#officeModernPortal #messagesPanel.simplified-inbox .coord-message-work{padding:4px 10px!important}
#officeModernPortal #messagesPanel.simplified-inbox #conversation>.chatbody{padding:10px 12px!important;min-height:130px!important;overflow-anchor:none}
#officeModernPortal #messagesPanel.simplified-inbox .chatbody .bubble{padding:6px 9px!important;margin:0 0 7px!important;border-radius:7px!important;line-height:1.4!important;max-width:88%!important}
#officeModernPortal #messagesPanel.simplified-inbox #conversation>.composer{padding:7px 10px!important;gap:4px!important;max-height:30dvh!important}
#officeModernPortal #messagesPanel.simplified-inbox #conversation>.composer>textarea{min-height:44px!important;height:48px;padding:7px 9px!important}
#officeModernPortal #messagesPanel.simplified-inbox [data-inbox-latest]{flex:none;font-size:11px;padding:5px 8px;min-height:28px;border:1px solid #9ad3d6;border-radius:5px;background:#e9f8f7;color:#007e85}
#officeModernPortal #messagesPanel.simplified-inbox [data-inbox-latest][hidden]{display:none!important}
@media(hover:hover){#officeModernPortal #messagesPanel.simplified-inbox .chatbody .message-delete{opacity:0!important}#officeModernPortal #messagesPanel.simplified-inbox .chatbody .bubble:is(:hover,:focus-within) .message-delete{opacity:1!important}}

#officeModernPortal #messagesPanel.simplified-inbox .chatbody .office-contact-actions{display:none!important}

/* operations-layout.css */
/* Shared proportions for intake, leads and work orders. Original controls and
   document/print layouts remain owned by their existing components. */
@media screen {
 #officeModernPortal.office-modern .side .nav .edge-tab-label::after {content:none!important;display:none!important}
 #officeModernPortal.office-modern #workPanel #detail {
  --field-height:32px;
 }
 #officeModernPortal.office-modern #workPanel #detail .worktitle {padding:9px 12px!important;gap:6px!important;flex-wrap:nowrap!important;overflow:visible!important}
 #officeModernPortal.office-modern #workPanel #detail :is(.mockup-record-line,.mockup-record-actions) {flex:0 0 auto!important;width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
 #officeModernPortal.office-modern #workPanel #detail .worktitle h3 {font-size:18px!important}
 #officeModernPortal.office-modern #workPanel #detail .proof-vehicle-summary {
  display:grid!important;grid-template-columns:minmax(240px,1fr) minmax(260px,360px) auto!important;
  gap:6px 12px!important;padding:10px 12px!important;margin:0!important;min-height:0!important;overflow:visible!important;align-items:start!important;
 }
 #officeModernPortal.office-modern #workPanel #detail .proof-vehicle-value {display:block!important;min-width:0!important;max-width:none!important;width:auto!important;white-space:normal!important;overflow:visible!important;font-size:13px!important;line-height:1.5!important;align-self:center!important}
 #officeModernPortal.office-modern #workPanel #detail .page-fitment-grid {display:block!important;min-width:0!important;width:100%!important;margin:0!important;grid-column:auto!important;grid-row:auto!important}
 #officeModernPortal.office-modern #workPanel #detail .page-fitment-field:has(#editVin) {display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:3px!important;width:100%!important}
 #officeModernPortal.office-modern #workPanel #detail .page-fitment-field:has(#editVin) input {width:100%!important;max-width:none!important;font:13px/1.4 ui-monospace,monospace!important;letter-spacing:.3px}
 #officeModernPortal.office-modern #workPanel #detail .schedule-assignment {grid-column:1/-1!important;display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:flex-start!important;gap:8px 24px!important;padding:0!important;margin:0!important;min-height:0!important}
 #officeModernPortal.office-modern #workPanel #detail .schedule-assignment>div {flex:0 1 auto!important;min-width:0!important}
 #officeModernPortal.office-modern #workPanel #detail .schedule-assignment button {max-width:240px!important;min-height:30px!important;font-size:12px!important}
 #officeModernPortal.office-modern #workPanel #detail .proof-vehicle-summary>.parts-assignment {grid-column:1/-1!important;grid-row:auto!important;padding:6px 0 0!important;margin:0!important;border:0!important;border-top:1px solid var(--modern-line)!important;border-radius:0!important}
 #officeModernPortal.office-modern #workPanel #detail .parts-assignment>header {padding:3px 0 6px!important;min-height:0!important;border:0!important;background:transparent!important}
 #officeModernPortal.office-modern #workPanel #detail .document-parts #partRows .assignment-fields {display:grid!important;grid-template-columns:minmax(180px,260px) minmax(140px,210px) 56px minmax(110px,170px)!important;gap:6px 12px!important;justify-content:start!important;padding:0!important;align-items:start!important}
 #officeModernPortal.office-modern #workPanel #detail .document-parts #partRows .assignment-fields>label {grid-column:auto!important;grid-row:auto!important;min-width:0!important;margin:0!important;font-size:11px!important;line-height:1.4!important}
 #officeModernPortal.office-modern #workPanel #detail .document-parts #partRows .assignment-fields>label:has([data-quick-glass]) {grid-column:1!important}
 #officeModernPortal.office-modern #workPanel #detail .document-parts #partRows .assignment-fields>label:has([data-quick-number]) {grid-column:2!important}
 #officeModernPortal.office-modern #workPanel #detail .document-parts #partRows .assignment-fields>label:has([data-quick-qty]) {grid-column:3!important}
 #officeModernPortal.office-modern #workPanel #detail .assignment-status {grid-column:4!important}
 #officeModernPortal.office-modern #workPanel #detail .approved-parts :is(input,select),
 #officeModernPortal.office-modern #workPanel #detail .page-fitment-field input {height:var(--field-height)!important;min-height:var(--field-height)!important;box-sizing:border-box!important;padding:5px 8px!important;font-size:13px!important}
 #officeModernPortal.office-modern #workPanel #detail [data-quick-number] {font-family:ui-monospace,monospace!important}
 #officeModernPortal.office-modern #workPanel #detail .studio-job-cards {grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)!important;gap:10px!important}
 #officeModernPortal.office-modern #workPanel #detail .studio-card {padding:0!important;min-width:0!important}
 #officeModernPortal.office-modern #workPanel #detail .studio-card>header {padding:7px 10px!important;min-height:28px!important;box-sizing:border-box!important}
 #officeModernPortal.office-modern #workPanel #detail .studio-card-body {padding:8px 10px!important;gap:5px!important}
 #officeModernPortal.office-modern #workPanel #detail :is(.proof-value,.proof-name,.proof-inline-value,.proof-new-line) {font-size:13px!important;line-height:1.5!important;white-space:normal!important;overflow-wrap:anywhere!important}
 /* One action bar owns customer communication. The card displays contact data. */
 #officeModernPortal.office-modern #workPanel #detail .compact-customer-actions {display:none!important}
 #officeModernPortal.office-modern #workPanel #detail .studio-card .office-contact-actions {display:none!important}
 #officeModernPortal.office-modern #workPanel #detail .activity-feed .office-contact-actions {display:none!important}
 #officeModernPortal.office-modern #workPanel #detail .dispatch-detail-tabs>[data-dispatch-tab=notes] {display:none!important}
 #officeModernPortal.office-modern #workPanel #detail .dispatch-detail-tabs>[data-compact-notes] {display:none!important}
 #officeModernPortal.office-modern #workPanel #detail .work-order-charges table {table-layout:fixed!important;min-width:540px!important}
 #officeModernPortal.office-modern #workPanel #detail .work-order-charges table :is(th,td) {box-sizing:border-box!important;padding:6px 8px!important;font-size:12px!important;min-width:0!important}
 #officeModernPortal.office-modern #workPanel #detail .work-order-charges table input {height:32px!important;min-height:32px!important;font-size:13px!important;width:100%!important;box-sizing:border-box!important}
 #officeModernPortal.office-modern #workPanel #detail .work-order-charges [data-description] {white-space:normal!important}
 /* Names and vehicle descriptions get full rows; icons no longer squeeze names. */
 #officeModernPortal.office-modern :is(#orders,#leadsList) .dispatch-table {table-layout:fixed!important;min-width:980px!important}
 #officeModernPortal.office-modern :is(#orders,#leadsList) .dispatch-table :is(th,td) {min-width:0!important;max-width:none!important;width:auto!important;padding:7px 10px!important;line-height:1.45!important}
 #officeModernPortal.office-modern :is(#orders,#leadsList) .dispatch-table th {font-size:11px!important;height:34px!important}
 #officeModernPortal.office-modern :is(#orders,#leadsList) .dispatch-table td {height:auto!important;font-size:12px!important;vertical-align:top!important}
 #officeModernPortal.office-modern :is(#orders,#leadsList) .dispatch-table.adjustable-table :is(th,td) {display:table-cell!important}
 #officeModernPortal.office-modern :is(#orders,#leadsList) .dispatch-table.adjustable-table :is(th,td)[hidden] {display:none!important}
 #officeModernPortal.office-modern :is(#orders,#leadsList) :is(.lead-contact-primary,.work-contact-primary) {display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:3px 8px!important;height:auto!important;max-height:none!important}
 #officeModernPortal.office-modern :is(#orders,#leadsList) .dispatch-job-link {display:block!important;flex:1 0 100%!important;width:100%!important;max-width:100%!important;min-height:24px!important;padding:0!important;border:0!important;background:transparent!important;text-align:left!important;font-size:13px!important;line-height:1.45!important;white-space:normal!important;overflow:visible!important;overflow-wrap:anywhere!important}
 #officeModernPortal.office-modern :is(#orders,#leadsList) :is(.dispatch-cell-text,.dispatch-payment-chip,.dispatch-badge) {white-space:normal!important;overflow:visible!important;font-size:12px!important;line-height:1.5!important;overflow-wrap:anywhere!important}
 #officeModernPortal.office-modern :is(#orders,#leadsList) :is(.lead-contact-secondary,.work-contact-secondary) {height:auto!important;min-height:16px!important}
 #officeModernPortal.office-modern :is(#orders,#leadsList) .work-list-identity {grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto!important;gap:3px!important}
 #officeModernPortal.office-modern :is(#orders,#leadsList) .work-list-identity>.dispatch-job-link {grid-column:1!important;grid-row:auto!important;height:auto!important}
 #officeModernPortal.office-modern :is(#orders,#leadsList) .work-list-contact {display:flex!important;flex-wrap:wrap!important;gap:4px 10px!important;align-items:center!important}
 #officeModernPortal.office-modern :is(#orders,#leadsList) .work-list-contact>span {grid-column:auto!important;grid-row:auto!important}
 #officeModernPortal.office-modern :is(#orders,#leadsList) .work-list-received {grid-column:1!important;grid-row:auto!important;max-width:none!important;font-size:10px!important}
 /* Intake: enter essentials directly, without opening a second form. */
 #officeModernPortal.office-modern #workPanel>.layout>#detail.proof-new {position:fixed!important;inset:60px 0 58px 204px!important;width:auto!important;max-width:none!important;height:auto!important;max-height:none!important;overflow:auto!important;padding:12px!important;box-sizing:border-box!important;background:var(--modern-bg)!important;z-index:45!important}
 #officeModernPortal.office-modern #workPanel #detail.proof-new>.worktitle {display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;position:sticky!important;top:-12px!important;z-index:5!important}
 #officeModernPortal.office-modern #workPanel #detail.proof-new>.worktitle>div:has(h3) {order:-1!important;flex:1!important}
 #officeModernPortal.office-modern #workPanel #detail.proof-new :is(.ow-quick-entry,.wb-record-request) {display:none!important}
 #officeModernPortal.office-modern #workPanel #detail.proof-new #newFields {display:grid!important;grid-template-columns:minmax(0,1fr)!important;padding:0!important;margin:10px 0!important}
 #officeModernPortal.office-modern #workPanel>.layout>#detail.proof-new {scroll-padding-top:80px!important}
 #officeModernPortal.office-modern #workPanel>.layout>#detail.proof-new {bottom:0!important;padding-bottom:80px!important}
 #officeModernPortal.office-modern #workPanel:has(#detail.proof-new) #orders {visibility:hidden!important}
 #officeModernPortal.office-modern #workPanel #detail.proof-new :is(input,select,textarea) {scroll-margin-top:80px!important}
 #officeModernPortal.office-modern #workPanel #detail.proof-new #newFields>:is(.vehicle-top-row,.studio-job-cards,.proof-new-notes,.proof-new-rail) {grid-column:1!important;grid-row:auto!important;width:auto!important;min-width:0!important}
 #officeModernPortal.office-modern #workPanel #detail.proof-new #newFields {gap:10px!important}
 #officeModernPortal.office-modern #workPanel #detail.proof-new .vehicle-top-fields {min-width:0!important;display:grid!important;grid-template-columns:minmax(200px,1.5fr) 80px minmax(110px,1fr) minmax(140px,1fr) minmax(130px,1fr) minmax(150px,1fr)!important;gap:10px!important}
 #officeModernPortal.office-modern #workPanel #detail.proof-new .vehicle-top-row {overflow:visible!important;display:block!important;padding:12px!important}
 #officeModernPortal.office-modern #workPanel #detail.proof-new .studio-job-cards {display:grid!important;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)!important;align-items:start!important}
 #officeModernPortal.office-modern #workPanel #detail.proof-new .intake-customer-card {grid-row:auto!important}
 #officeModernPortal.office-modern #workPanel #detail.proof-new .intake-secondary {display:grid;gap:10px;align-content:start;min-width:0}
 #officeModernPortal.office-modern #workPanel #detail.proof-new .proof-new-rail {position:static!important;padding:12px!important;max-width:none!important}
 #officeModernPortal.office-modern #workPanel #detail.proof-new .proof-new-rail>label {max-width:220px!important}
 #officeModernPortal.office-modern #workPanel #detail.proof-new .intake-customer :is(label,input) {align-content:start!important;min-height:0!important;height:auto!important}
 #officeModernPortal.office-modern #workPanel #detail.proof-new .intake-customer .studio-editor-body {display:grid!important;grid-template-columns:repeat(12,minmax(0,1fr))!important;gap:10px 12px!important;padding:0!important}
 #officeModernPortal.office-modern #workPanel #detail.proof-new .intake-customer label {grid-column:span 6!important}
 #officeModernPortal.office-modern #workPanel #detail.proof-new .intake-customer label:has(#newZip) {grid-column:span 3!important}
 #officeModernPortal.office-modern #workPanel #detail.proof-new .intake-customer label:has(#newCity) {grid-column:span 7!important}
 #officeModernPortal.office-modern #workPanel #detail.proof-new .intake-customer label:has(#newRegion) {grid-column:span 2!important}
 #officeModernPortal.office-modern #workPanel #detail.proof-new .intake-account {grid-column:1/-1;order:10;font-size:12px;padding-top:8px;border-top:1px solid var(--modern-line)}
 #officeModernPortal.office-modern #workPanel #detail.proof-new .intake-account>summary {cursor:pointer;color:var(--modern-muted)}
 #officeModernPortal.office-modern #workPanel #detail.proof-new .work-order-payment {display:flex!important;flex-wrap:wrap!important;gap:6px!important;margin-bottom:10px!important}
 #officeModernPortal.office-modern #workPanel #detail.proof-new .work-order-payment button {min-height:32px!important;padding:5px 9px!important;font-size:12px!important}
 #officeModernPortal.office-modern #workPanel #detail.proof-new button {border:1px solid var(--modern-line)!important;border-radius:5px!important;padding:5px 9px!important;background:var(--modern-paper)!important;color:var(--modern-ink)!important;font:inherit!important;cursor:pointer}
 #officeModernPortal.office-modern #workPanel #detail.proof-new :is(button.primary,.work-order-payment button[aria-pressed=true]) {background:var(--modern-teal)!important;border-color:var(--modern-teal)!important;color:white!important}
 #officeModernPortal.office-modern #workPanel #detail.proof-new .intake-schedule .studio-editor-body {display:grid!important;gap:10px!important;padding:0!important}
 #officeModernPortal.office-modern #workPanel #detail.proof-new :is(.intake-customer,.intake-schedule) label {display:grid!important;gap:4px!important;font-size:12px!important;margin:0!important;min-width:0!important}
 #officeModernPortal.office-modern #workPanel #detail.proof-new .intake-customer :is(.dealerwork,label:has(#newAddress),label:has(#newEmail),fieldset) {grid-column:1/-1!important}
 #officeModernPortal.office-modern #workPanel #detail.proof-new :is(input,select) {min-width:0!important;width:100%!important;height:34px!important;min-height:34px!important;font-size:13px!important;box-sizing:border-box!important;padding:5px 8px!important}
 #officeModernPortal.office-modern #workPanel #detail.proof-new textarea {min-height:80px!important;font-size:13px!important}
 #officeModernPortal.office-modern #workPanel #detail.proof-new .proof-new-notes {padding:10px 12px!important}
 #officeModernPortal.office-modern #workPanel #detail.proof-new .proof-new-notes>label {display:block!important;font-size:0!important}
 @media(max-width:1250px) {
  #officeModernPortal.office-modern #workPanel #detail.proof-new .vehicle-top-fields {grid-template-columns:minmax(190px,1.5fr) 80px minmax(110px,1fr)!important}
 }
 @media(max-width:1100px) {
  #officeModernPortal.office-modern #workPanel>.layout>#detail.proof-new {left:0!important}
 }
 @media(max-width:760px) {
  #officeModernPortal.office-modern #workPanel #detail {--field-height:40px}
  #officeModernPortal.office-modern #workPanel #detail .proof-vehicle-summary {grid-template-columns:minmax(0,1fr) auto!important;padding:10px!important}
  #officeModernPortal.office-modern #workPanel #detail .proof-vehicle-value {grid-column:1/-1!important}
  #officeModernPortal.office-modern #workPanel #detail .page-fitment-grid {grid-column:1!important}
  #officeModernPortal.office-modern #workPanel #detail .document-parts #partRows .assignment-fields {grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:8px!important}
  #officeModernPortal.office-modern #workPanel #detail .document-parts #partRows .assignment-fields>label {grid-column:auto!important}
  #officeModernPortal.office-modern #workPanel #detail .studio-job-cards,
  #officeModernPortal.office-modern #workPanel #detail.proof-new .studio-job-cards {grid-template-columns:minmax(0,1fr)!important}
  #officeModernPortal.office-modern #workPanel #detail.proof-new .intake-customer-card {grid-row:auto!important}
  #officeModernPortal.office-modern #workPanel #detail.proof-new .vehicle-top-fields {grid-template-columns:repeat(2,minmax(0,1fr))!important}
  #officeModernPortal.office-modern #workPanel #detail.proof-new .vehicle-top-field:has(#newVin) {grid-column:1/-1!important}
  #officeModernPortal.office-modern #workPanel #detail.proof-new :is(input,select),
  #officeModernPortal.office-modern #workPanel #detail .approved-parts :is(input,select) {font-size:16px!important;min-height:40px!important;height:40px!important}
 }
}

/* employee-job-workflow.css */
@media screen {
 #officeModernPortal.office-modern #workPanel>.layout>#detail.employee-workspace {
  display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:10px!important;
  overflow:auto!important;scroll-padding:16px!important;padding:14px!important;background:#f2f5f8!important;
 }
 #officeModernPortal.office-modern #workPanel #detail.employee-workspace>* {flex:none!important;box-sizing:border-box!important;min-width:0!important}
 #officeModernPortal.office-modern #workPanel #detail.employee-workspace>.worktitle {order:0!important;border-radius:8px!important;padding:10px 14px!important;gap:7px!important}
 #officeModernPortal.office-modern #workPanel #detail.employee-workspace .worktitle h3 {font-size:20px!important;font-weight:650!important;letter-spacing:-.4px!important}
 #officeModernPortal.office-modern #workPanel #detail.employee-workspace .worktitle :is(button,summary,select),
 #officeModernPortal.office-modern #workPanel #detail.employee-workspace .proof-context-bar>button {
  min-height:32px!important;height:auto!important;padding:5px 10px!important;font:500 12px/1.4 Inter,system-ui,sans-serif!important;
  background:var(--modern-paper)!important;border:1px solid var(--modern-line)!important;border-radius:5px!important;color:#385969!important;box-shadow:none!important;
 }
 #officeModernPortal.office-modern #workPanel #detail.employee-workspace #sharedLeadStatus {width:auto!important;min-width:150px!important;max-width:190px!important}
 #officeModernPortal.office-modern #workPanel #detail.employee-workspace #editOwner {width:140px!important;min-width:140px!important;max-width:180px!important}
 #officeModernPortal.office-modern #workPanel #detail.employee-workspace .mockup-record-actions {gap:6px!important}
 #officeModernPortal.office-modern #workPanel #detail.employee-workspace>.employee-workflow {order:1!important;display:block!important;padding:0!important;border:1px solid #d4e2e7!important;border-radius:8px!important;background:var(--modern-paper)!important;overflow:hidden}
 #officeModernPortal.office-modern #workPanel #detail.employee-workspace .employee-steps {display:flex;list-style:none;gap:0;padding:0;margin:0;background:#f8fafb;border-bottom:1px solid #e0e8ec}
 #officeModernPortal.office-modern #workPanel #detail.employee-workspace .employee-steps li {display:flex;align-items:center;gap:8px;flex:1;min-width:0;padding:10px 14px;font-size:12px;font-weight:500;color:#6c8090;border-bottom:2px solid transparent}
 #officeModernPortal.office-modern #workPanel #detail.employee-workspace .employee-step-number {display:grid;place-items:center;width:22px;height:22px;flex:none;border-radius:50%;border:1px solid #d5e0e6;font-size:11px;background:white}
 #officeModernPortal.office-modern #workPanel #detail.employee-workspace .employee-steps .is-current {color:#006f65;background:#eaf7f3;border-bottom-color:#008676;font-weight:650}
 #officeModernPortal.office-modern #workPanel #detail.employee-workspace .is-current .employee-step-number {background:#008676;color:white;border-color:#008676}
 #officeModernPortal.office-modern #workPanel #detail.employee-workspace .employee-next-step {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px}
 #officeModernPortal.office-modern #workPanel #detail.employee-workspace .employee-next-copy {min-width:0;flex:1}
 #officeModernPortal.office-modern #workPanel #detail.employee-workspace .employee-record-kind {font-size:10px;font-weight:650;letter-spacing:.6px;text-transform:uppercase;color:#6a8191}
 #officeModernPortal.office-modern #workPanel #detail.employee-workspace .employee-next-copy h2 {font-size:17px;line-height:1.4;font-weight:650;letter-spacing:-.2px;margin:3px 0;color:#173a48}
 #officeModernPortal.office-modern #workPanel #detail.employee-workspace .employee-next-copy p {font-size:12px;line-height:1.5;color:#516c7b;margin:2px 0}
 #officeModernPortal.office-modern #workPanel #detail.employee-workspace .employee-needed {display:block;font-size:11px;line-height:1.5;color:#89652c;margin-top:5px}
 #officeModernPortal.office-modern #workPanel #detail.employee-workspace .employee-stage-actions {display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:7px;flex:0 1 330px}
 #officeModernPortal.office-modern #workPanel #detail.employee-workspace .employee-stage-actions button {min-height:36px!important;height:auto!important;width:auto!important;padding:8px 12px!important;border:1px solid #c5d9df!important;border-radius:6px!important;background:white!important;color:#285665!important;font:600 12px/1.4 Inter,system-ui,sans-serif!important;cursor:pointer;box-shadow:none!important;margin:0!important}
 #officeModernPortal.office-modern #workPanel #detail.employee-workspace .employee-stage-actions .employee-primary {background:#007f75!important;color:white!important;border-color:#007f75!important}
 #officeModernPortal.office-modern #workPanel #detail.employee-workspace>.employee-overview {display:block!important;order:2!important;margin:0!important;padding:0!important}
 #officeModernPortal.office-modern #workPanel #detail.employee-workspace .employee-overview .studio-job-cards {display:grid!important;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)!important;gap:10px!important}
 #officeModernPortal.office-modern #workPanel #detail.employee-workspace .employee-overview .studio-card {border-radius:8px!important;overflow:hidden!important}
 #officeModernPortal.office-modern #workPanel #detail.employee-workspace .employee-overview .studio-card-body {padding:10px 12px!important}
 #officeModernPortal.office-modern #workPanel #detail.employee-workspace>.proof-vehicle-summary {order:3!important;display:grid!important;grid-template-columns:minmax(200px,1fr) minmax(240px,340px) auto!important;padding:12px 14px!important;border-radius:8px!important;gap:8px 14px!important;margin:0!important;overflow:visible!important}
 #officeModernPortal.office-modern #workPanel #detail.employee-workspace .proof-vehicle-value {font-weight:600!important;font-size:14px!important}
 #officeModernPortal.office-modern #workPanel #detail.employee-workspace .proof-vehicle-summary>.parts-assignment {padding-top:8px!important}
 #officeModernPortal.office-modern #workPanel #detail.employee-workspace .parts-assignment>header {padding:0 0 7px!important}
 #officeModernPortal.office-modern #workPanel #detail.employee-workspace .parts-assignment header h3 {font-size:12px!important;color:#426474!important}
 #officeModernPortal.office-modern #workPanel #detail.employee-workspace .document-parts #partRows .assignment-fields {grid-template-columns:minmax(180px,250px) minmax(140px,195px) 56px minmax(110px,170px)!important;gap:6px 12px!important}
 #officeModernPortal.office-modern #workPanel #detail.employee-workspace .assignment-fields>label {font-size:11px!important;line-height:1.4!important;color:#637c8b!important}
 #officeModernPortal.office-modern #workPanel #detail.employee-workspace .assignment-fields :is(input,select,button) {min-height:34px!important;font-size:13px!important}
 #officeModernPortal.office-modern #workPanel #detail.employee-workspace .employee-duplicate-glass,
 #officeModernPortal.office-modern #workPanel #detail.employee-lead [data-part-cost-summary] {display:none!important}
 #officeModernPortal.office-modern #workPanel #detail.employee-workspace .employee-dispatch-tools {grid-column:1/-1!important;border-top:1px solid #e2e9ed;padding:8px 0 0;margin:0;font-size:12px}
 #officeModernPortal.office-modern #workPanel #detail.employee-workspace .employee-dispatch-tools>summary {cursor:pointer;color:#476b7d;font-size:12px;font-weight:550;padding:3px 0}
 #officeModernPortal.office-modern #workPanel #detail.employee-workspace .employee-dispatch-tools[open]>.schedule-assignment {padding-top:9px!important}
 #officeModernPortal.office-modern #workPanel #detail.employee-workspace .schedule-tech-actions button:disabled {display:none!important}
 #officeModernPortal.office-modern #workPanel #detail.employee-workspace>.proof-context-bar {order:4!important;padding:0!important;min-height:0!important;height:auto!important;display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:5px!important;border:0!important;background:transparent!important}
 #officeModernPortal.office-modern #workPanel #detail.employee-workspace .dispatch-detail-tabs {padding:0!important;min-height:0!important;height:auto!important;gap:5px!important;flex:1}
 #officeModernPortal.office-modern #workPanel #detail.employee-workspace .dispatch-detail-tabs button {font-size:12px!important;min-height:34px!important;padding:6px 12px!important}
 #officeModernPortal.office-modern #workPanel #detail.employee-workspace>[data-dispatch-pane] {order:5!important;overflow:visible!important;padding:0!important;min-height:0!important}
 #officeModernPortal.office-modern #workPanel #detail.employee-workspace>.mockup-inline-composer {order:6!important}
 #officeModernPortal.office-modern #workPanel #detail.employee-workspace>.activity-workspace {order:7!important}
 #officeModernPortal.office-modern #workPanel #detail.employee-workspace :is([data-dispatch-pane][hidden],.employee-needed[hidden],.employee-stage-actions button[hidden]) {display:none!important}
 #officeModernPortal.office-modern #workPanel #detail.employee-workspace .dispatch-detail-tabs button[hidden] {display:none!important}
 #officeModernPortal.office-modern #workPanel #detail.employee-workspace:has(>[data-dispatch-pane]:not([hidden]):not([data-dispatch-pane="Details"]))>:is(.employee-overview,.proof-vehicle-summary) {display:none!important}
 #officeModernPortal.office-modern #workPanel #detail.employee-workspace:has(>[data-dispatch-pane]:not([hidden]):not([data-dispatch-pane="Details"])) .employee-next-step {display:none!important}
 #officeModernPortal.office-modern #workPanel #detail.employee-workspace .employee-tools {font-size:12px!important}
 #officeModernPortal.office-modern #workPanel #detail.employee-workspace :is(.work-section-charges,.parts-assignment) button {border:1px solid #d3e1e7!important;border-radius:5px!important;background:var(--modern-paper)!important;color:#346777!important;min-height:30px!important;padding:5px 9px!important;font:500 12px/1.4 Inter,system-ui,sans-serif!important;box-shadow:none!important}
 #officeModernPortal.office-modern #workPanel #detail.employee-workspace .employee-tools button {display:block!important;width:100%!important;text-align:left!important;min-height:34px!important;padding:7px 10px!important;border-radius:5px!important;font-size:12px!important;margin:3px 0!important}
 #officeModernPortal.office-modern #workPanel #detail.employee-workspace .employee-tools button[hidden] {display:none!important}
 @media(max-width:760px){
  #officeModernPortal.office-modern #workPanel>.layout>#detail.employee-workspace {padding:9px!important;gap:8px!important}
  #officeModernPortal.office-modern #workPanel #detail.employee-workspace .employee-steps {overflow-x:auto}
  #officeModernPortal.office-modern #workPanel #detail.employee-workspace .employee-steps li {flex:0 0 auto;padding:8px 10px;font-size:11px;gap:5px}
  #officeModernPortal.office-modern #workPanel #detail.employee-workspace .employee-next-step {display:block;padding:12px}
  #officeModernPortal.office-modern #workPanel #detail.employee-workspace .employee-next-copy h2 {font-size:16px}
  #officeModernPortal.office-modern #workPanel #detail.employee-workspace .employee-stage-actions {justify-content:flex-start;margin-top:10px}
  #officeModernPortal.office-modern #workPanel #detail.employee-workspace .employee-stage-actions button {min-height:40px!important}
  #officeModernPortal.office-modern #workPanel #detail.employee-workspace .employee-overview .studio-job-cards {grid-template-columns:minmax(0,1fr)!important}
  #officeModernPortal.office-modern #workPanel #detail.employee-workspace>.proof-vehicle-summary {grid-template-columns:minmax(0,1fr) auto!important;padding:12px!important}
  #officeModernPortal.office-modern #workPanel #detail.employee-workspace .proof-vehicle-value {grid-column:1/-1!important}
  #officeModernPortal.office-modern #workPanel #detail.employee-workspace .document-parts #partRows .assignment-fields {grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:8px!important}
  #officeModernPortal.office-modern #workPanel #detail.employee-workspace .assignment-fields :is(input,select) {font-size:16px!important;min-height:40px!important}
 }
}

/* compact-shell.css */
/* Screen-only density and on-demand navigation. Documents retain print sizing. */
@media screen {
body#officeModernPortal.office-modern.office-compact-shell{--studio-rail:0px;--edge-rail:0px;--edge-gap:0px}
body#officeModernPortal.office-modern.office-compact-shell main{margin-left:0!important;width:100%!important;padding:60px 12px 64px!important}
body#officeModernPortal.office-modern.office-compact-shell .top{left:0!important;width:100%!important;height:48px!important;min-height:48px!important;padding:6px 12px!important;gap:12px!important}
body#officeModernPortal.office-modern.office-compact-shell .modern-page-heading small{display:none!important}
body#officeModernPortal.office-modern.office-compact-shell .modern-page-heading{min-width:100px!important}
body#officeModernPortal.office-modern.office-compact-shell .top .office-global-search{max-width:480px!important}
body#officeModernPortal.office-modern.office-compact-shell .side{width:238px!important;max-width:85vw!important;z-index:1001!important;transform:translateX(-100%);visibility:hidden;transition:transform .16s ease,visibility .16s}
body#officeModernPortal.office-modern.office-compact-shell.office-menu-open .side{display:flex!important;transform:translateX(0);visibility:visible;box-shadow:8px 0 32px #14232e30!important}
body#officeModernPortal.office-modern.office-compact-shell .compact-menu-toggle,body#officeModernPortal.office-modern.office-compact-shell .compact-menu-close{display:inline-flex!important;align-items:center;justify-content:center;min-height:34px!important;padding:6px 11px!important;border:1px solid #cbd8de!important;border-radius:6px!important;background:#fff!important;color:#214454!important;font:600 12px/1.3 Inter,system-ui,sans-serif!important;cursor:pointer}
body#officeModernPortal.office-modern.office-compact-shell .compact-menu-close{margin:10px 12px 0!important;align-self:flex-end}
body#officeModernPortal.office-modern.office-compact-shell .compact-menu-backdrop{position:fixed;inset:0;z-index:1000;background:#14232e55;border:0;border-radius:0;width:100%;height:100%;margin:0;padding:0}
body#officeModernPortal.office-modern.office-compact-shell .compact-menu-backdrop[hidden]{display:none!important}
body#officeModernPortal.office-modern.office-compact-shell :is(.mobilebar,.mobilenav,.app-dock){display:none!important}
body#officeModernPortal.office-modern.office-compact-shell #workPanel>.layout>#detail.proof-job{left:0!important;top:49px!important;bottom:40px!important;width:100%!important;max-width:none!important;padding:10px 12px!important}
body#officeModernPortal.office-modern.office-compact-shell #workPanel #detail.employee-workspace{gap:8px!important}
body#officeModernPortal.office-modern.office-compact-shell #workPanel #detail.employee-workspace .worktitle{padding:8px 12px!important;gap:5px!important}
body#officeModernPortal.office-modern.office-compact-shell #workPanel #detail.employee-workspace .worktitle h3{font-size:18px!important;line-height:1.25!important}
body#officeModernPortal.office-modern.office-compact-shell #workPanel #detail.employee-workspace .mockup-record-line{gap:6px 10px!important;min-height:26px!important}
body#officeModernPortal.office-modern.office-compact-shell #workPanel #detail.employee-workspace .employee-steps li{padding:7px 12px!important;font-size:11px!important}
body#officeModernPortal.office-modern.office-compact-shell #workPanel #detail.employee-workspace .employee-step-number{width:19px!important;height:19px!important;font-size:10px!important}
body#officeModernPortal.office-modern.office-compact-shell #workPanel #detail.employee-workspace .employee-next-step{padding:8px 12px!important;gap:8px!important}
body#officeModernPortal.office-modern.office-compact-shell #workPanel #detail.employee-workspace .employee-next-copy h2{font-size:15px!important;margin:2px 0!important}
body#officeModernPortal.office-modern.office-compact-shell #workPanel #detail.employee-workspace .employee-next-copy p{font-size:11px!important;margin:2px 0!important}
body#officeModernPortal.office-modern.office-compact-shell #workPanel #detail.employee-workspace .employee-record-kind{font-size:9px!important}
body#officeModernPortal.office-modern.office-compact-shell #workPanel #detail.employee-workspace .employee-needed{margin-top:2px!important;font-size:10px!important}
body#officeModernPortal.office-modern.office-compact-shell #workPanel #detail.employee-workspace .employee-stage-actions button{min-height:30px!important;padding:5px 10px!important}
body#officeModernPortal.office-modern.office-compact-shell #workPanel #detail.employee-workspace .employee-overview .studio-card-body{padding:7px 11px!important;font-size:12px!important;line-height:1.45!important}
body#officeModernPortal.office-modern.office-compact-shell #workPanel #detail.employee-workspace .employee-overview .studio-card-body p{margin:3px 0!important}
body#officeModernPortal.office-modern.office-compact-shell #workPanel #detail.employee-workspace .studio-card h3{padding:7px 10px!important;font-size:11px!important}
}
@media screen and (max-width:700px){
body#officeModernPortal.office-modern.office-compact-shell .top{gap:7px!important;padding-inline:8px!important}
body#officeModernPortal.office-modern.office-compact-shell .modern-page-heading{display:none!important}
body#officeModernPortal.office-modern.office-compact-shell .top .office-global-search{min-width:80px!important}
body#officeModernPortal.office-modern.office-compact-shell #workPanel #detail.employee-workspace .employee-steps{overflow-x:auto}
body#officeModernPortal.office-modern.office-compact-shell #workPanel #detail.employee-workspace .employee-steps li{flex:0 0 auto!important;padding:8px!important}
body#officeModernPortal.office-modern.office-compact-shell #workPanel #detail.employee-workspace .employee-overview .studio-job-cards{grid-template-columns:1fr!important}
body#officeModernPortal.office-modern.office-compact-shell #workPanel #detail.employee-workspace .employee-next-step{flex-wrap:wrap!important}
body#officeModernPortal.office-modern.office-compact-shell #workPanel #detail.employee-workspace :is(input,select,textarea){font-size:16px!important}
}
@media(prefers-reduced-motion:reduce){body.office-compact-shell .side{transition:none!important}}
@media print{.compact-menu-toggle,.compact-menu-close,.compact-menu-backdrop{display:none!important}}

/* combined-work.css */
@media screen{
body#officeModernPortal.office-modern.combined-work-enabled .side [data-nav-key=leads],body#officeModernPortal.office-modern.combined-work-enabled #workPanel>.compact-list-toolbar,body#officeModernPortal.office-modern.combined-work-enabled #workPanel>.panelbar,body#officeModernPortal.office-modern.combined-work-enabled #workPanel>.filters,body#officeModernPortal.office-modern.combined-work-enabled #workPanel>.dispatch-toolbar,body#officeModernPortal.office-modern.combined-work-enabled #workQueues,body#officeModernPortal.office-modern.combined-work-enabled .metrics{display:none!important}
body#officeModernPortal.office-modern.combined-work-enabled #workPanel #orders{padding:0!important}
body#officeModernPortal.office-modern.combined-work-enabled:not(.dispatch-detail-open) #workPanel>.layout{display:block!important}
body#officeModernPortal.office-modern.combined-work-enabled #workPanel #detail:not(.order-open):not(:has(#newFields)){display:none!important}
#officeModernPortal.office-modern .combined-work-list{font:12px/1.4 Inter,system-ui,sans-serif;color:var(--modern-ink);width:100%;min-width:0}
.combined-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:0 0 9px}.combined-toolbar h2{font-size:17px;margin:0}.combined-toolbar>small{color:var(--modern-muted)}.combined-toolbar input{margin-left:auto;width:250px;max-width:100%;min-width:100px}.combined-toolbar select{width:155px;max-width:100%}
#officeModernPortal .combined-toolbar :is(input,select,button),#officeModernPortal .combined-pagination button{min-height:32px!important;padding:5px 9px!important;font-size:12px!important;border:1px solid var(--modern-line)!important;border-radius:5px!important;background:var(--modern-paper)!important;color:var(--modern-ink)!important}
.combined-stages{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:8px}#officeModernPortal .combined-stages button{padding:6px 9px!important;min-height:30px!important;font-size:12px!important;border:1px solid transparent!important;border-radius:5px!important;color:var(--modern-muted)!important;background:transparent!important}.combined-stages small{margin-left:3px}#officeModernPortal .combined-stages button[aria-pressed=true]{background:var(--modern-paper)!important;color:var(--modern-teal)!important;border-color:var(--modern-line)!important}
.combined-table-wrap{overflow:auto;border:1px solid var(--modern-line);border-radius:5px;background:var(--modern-paper)}.combined-work-list table{width:100%;border-collapse:collapse;table-layout:fixed;min-width:1020px}.combined-work-list th{text-align:left;font-size:10px;color:var(--modern-muted);background:var(--modern-bg);padding:8px}.combined-work-list td{border-top:1px solid var(--modern-line);padding:7px 8px!important;font-size:12px!important;line-height:1.4!important;vertical-align:middle;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-height:52px}.combined-work-list th[data-column="0"]{width:16%}.combined-work-list th[data-column="1"]{width:22%}.combined-work-list th[data-column="2"]{width:12%}.combined-work-list th[data-column="3"]{width:11%}.combined-work-list th[data-column="4"]{width:12%}.combined-work-list th[data-column="5"]{width:9%}.combined-work-list th[data-column="6"]{width:9%}.combined-work-list th[data-column="7"]{width:130px}.combined-work-list td small{display:block;font-size:10px!important;color:var(--modern-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.combined-work-list tbody tr:hover{background:var(--modern-bg)}#officeModernPortal .combined-work-list td [data-combined-open]{padding:0!important;min-height:19px!important;font-size:12px!important;border:0!important;background:transparent!important;color:var(--modern-ink)!important;font-weight:600!important;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.combined-stage{color:var(--modern-teal);font-size:11px}.combined-contact{display:flex;gap:2px}#officeModernPortal .combined-contact button{font-size:10px!important;padding:3px 5px!important;min-height:28px!important;border:0!important;background:transparent!important;color:var(--modern-teal)!important}.combined-pagination{display:flex;gap:6px;align-items:center;padding:8px 0;font-size:11px;color:var(--modern-muted)}.combined-pagination>span{margin-right:auto}
}
@media(max-width:650px){.combined-toolbar input{margin-left:0;width:100%}.combined-toolbar select{flex:1}.combined-work-list .combined-contact button{min-height:44px!important}}
@media screen{
body#officeModernPortal.office-modern #workPanel .combined-work-list table{width:100%!important;min-width:850px!important;table-layout:fixed!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list col{width:auto!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list :is(th,td)[data-column="7"]{display:none!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list th[data-column="0"]{width:23%!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list th[data-column="1"]{width:24%!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list th[data-column="2"]{width:13%!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list th[data-column="3"]{width:11%!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list th[data-column="4"]{width:12%!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list th[data-column="5"]{width:9%!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list th[data-column="6"]{width:8%!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list td{padding:5px 9px!important;height:auto!important;min-height:0!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list .work-list-identity{display:block!important;text-align:left!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list .work-list-contact{display:flex!important;gap:7px!important;align-items:center!important;min-height:25px!important;font-size:11px!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list .office-contact-actions{position:static!important;display:inline-flex!important;gap:4px!important;opacity:1!important;visibility:visible!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list .office-contact-actions button{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:26px!important;height:26px!important;min-height:26px!important;padding:3px!important;border:0!important;border-radius:5px!important;box-shadow:none!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list [data-work-call]{color:#168bb7!important;background:transparent!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list [data-message-state=received]:not(.customer-stop-blocked){color:#9a6200!important;background:#fff3cf!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list [data-message-state=sent]:not(.customer-stop-blocked){color:#16733f!important;background:#e9f8ed!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list [data-message-state=failed],body#officeModernPortal.office-modern #workPanel .combined-work-list .customer-stop-blocked{color:#b42318!important;background:#fff0f0!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list [data-message-state=empty]:not(.customer-stop-blocked){color:var(--modern-muted)!important;background:transparent!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list .work-list-received{display:block!important;font-size:10px!important;color:#00856c!important;margin:0!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list [data-combined-open]{display:inline!important;border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important;font-weight:400!important;text-align:left!important}
}
/* Dense two-line list with the original operational colors. */
@media screen{
body#officeModernPortal.office-modern #workPanel .combined-work-list table :is(th,td){padding:3px 7px!important;line-height:1.2!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list tbody tr{height:39px!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list td{font-size:11px!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list td small{font-size:9px!important;line-height:12px!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list .work-list-identity{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:16px 18px!important;gap:0 5px!important;align-items:center!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list [data-combined-open]{grid-column:1!important;grid-row:1!important;min-height:0!important;height:auto!important;font-size:11px!important;line-height:15px!important;overflow:hidden!important;text-overflow:ellipsis!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list .work-list-contact{grid-column:1/-1!important;grid-row:2!important;min-height:18px!important;height:18px!important;gap:6px!important;line-height:18px!important;font-size:10px!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list .work-list-received{grid-column:2!important;grid-row:1!important;font-size:9px!important;line-height:15px!important;white-space:nowrap!important;color:#00856c!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list .office-contact-actions{gap:4px!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list .office-contact-actions button{width:21px!important;height:18px!important;min-height:18px!important;min-width:0!important;padding:2px!important;border-radius:4px!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list .office-contact-actions svg{width:13px!important;height:13px!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list .combined-stage{display:inline-block!important;padding:2px 5px!important;font-size:10px!important;line-height:13px!important;border-radius:4px!important;background:#e6ebf0!important;color:#4d6175!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list .combined-stage[data-stage=Scheduled]{background:#e8f6ee!important;color:#18724a!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list .combined-stage[data-stage=Completed]{background:#dcf3e6!important;color:#14673f!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list .combined-stage[data-stage=Closed]{background:#f1e8e8!important;color:#855252!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list .combined-payment-type{display:inline-block!important;max-width:100%!important;overflow:hidden;text-overflow:ellipsis;font-size:9px!important;line-height:13px!important;padding:2px 4px!important;border-radius:4px!important;background:#fff3cf;color:#946000}
body#officeModernPortal.office-modern #workPanel .combined-work-list .combined-payment-type[data-payment=insurance],body#officeModernPortal.office-modern #workPanel .combined-work-list .combined-payment-type[data-payment=company]{background:#edf2ff!important;color:#204f9f!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list .combined-payment-type[data-payment=self-pay],body#officeModernPortal.office-modern #workPanel .combined-work-list .combined-payment-type[data-payment=cash]{background:#e8f6ed!important;color:#18734b!important}
body#officeModernPortal.office-modern #workPanel .combined-stages button{min-height:25px!important;padding:4px 7px!important;font-size:11px!important}
body#officeModernPortal.office-modern #workPanel .combined-toolbar{padding-bottom:5px!important}
}
@media(pointer:coarse){body#officeModernPortal.office-modern #workPanel .combined-work-list .office-contact-actions button{width:40px!important;height:40px!important;min-height:40px!important}body#officeModernPortal.office-modern #workPanel .combined-work-list .work-list-contact{height:auto!important}body#officeModernPortal.office-modern #workPanel .combined-work-list .work-list-identity{grid-template-rows:auto auto!important}}
@media screen{
body#officeModernPortal.office-modern #workPanel .combined-work-list :is(th,td)[data-column="2"]{display:table-cell!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list th[data-column="0"]{width:38%!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list th[data-column="1"]{width:24%!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list th[data-column="3"]{width:11%!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list th[data-column="4"]{width:11%!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list th[data-column="5"]{width:8%!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list th[data-column="6"]{width:8%!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list .combined-customer-location{margin-left:auto!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;min-width:0!important;color:var(--modern-muted)!important;font-size:10px!important;max-width:48%!important}
}

.combined-work-list th{position:relative;cursor:grab}.combined-work-list th:active{cursor:grabbing}.combined-work-list .column-resizer{position:absolute;right:-1px;top:0;bottom:0;width:9px;cursor:col-resize;touch-action:none;z-index:2;border-right:2px solid #b8c7d1}.combined-work-list .column-resizer:hover,.combined-work-list .column-resizer:focus{background:#00869b44;outline:1px solid #00869b}.combined-work-list [data-reset-columns]{font-size:10px!important;padding:4px 7px!important;min-height:26px!important}

.new-phone-matches{grid-column:1/-1;padding:8px 10px;background:#eff8fc;border:1px solid #c5e5f4;border-radius:6px;display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:12px}.new-phone-matches strong{flex-basis:100%}.new-phone-matches button{min-height:28px!important;font-size:11px!important;padding:4px 8px!important}.new-phone-matches input{width:300px;max-width:100%}.new-phone-matches small{flex-basis:100%;color:#007d70}
body#officeModernPortal.office-modern #workPanel .combined-work-list .combined-customer-location{display:inline-flex!important;align-items:center!important;gap:5px!important;min-width:0!important;flex:1 1 auto!important;}
body#officeModernPortal.office-modern #workPanel .combined-work-list .combined-place-label{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list .combined-customer-location [data-customer-clock]{display:inline!important;flex:none!important;width:auto!important;min-width:0!important;font-size:9px!important;line-height:18px!important;color:#c3262d!important;text-transform:none!important;white-space:nowrap!important}

.combined-work-list th,.combined-work-list td{box-sizing:border-box!important}
.combined-work-list [data-fit-columns]{font-size:10px!important;padding:4px 7px!important;min-height:26px!important}
@media screen{body#officeModernPortal.office-modern #workPanel .combined-work-list .combined-table-wrap{max-height:calc(100dvh - 230px)!important;overflow:auto!important;scrollbar-gutter:stable}body#officeModernPortal.office-modern #workPanel .combined-work-list thead{position:sticky;top:0;z-index:3;background:var(--modern-bg,#f3f6fa)}}

/* compact-record-controls.css */
@media screen{
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record>.worktitle{padding:6px 10px!important;gap:4px!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record>.employee-workflow{display:none!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record>.compact-dispatch-strip{order:1!important;display:flex!important;align-items:center;flex-wrap:wrap;gap:8px 14px;background:var(--modern-paper);border:1px solid var(--modern-line);border-radius:5px;padding:8px 10px!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .compact-dispatch-strip .job-location-status{margin:0!important;font-size:11px!important;flex:0 1 auto}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .compact-dispatch-strip .employee-dispatch-tools{border:0!important;padding:0!important;margin:0!important;flex:1 1 330px}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .compact-dispatch-strip .employee-dispatch-tools>summary{display:none!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .compact-dispatch-strip .schedule-assignment{display:flex!important;flex-wrap:wrap;gap:6px 12px!important;margin:0!important;padding:0!important;border:0!important;align-items:center}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .compact-dispatch-strip .schedule-assignment>div{display:flex;align-items:center;gap:5px;min-width:0}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .compact-dispatch-strip .page-fitment-grid{display:flex!important;gap:8px!important;flex-wrap:wrap!important;width:auto!important;margin:0!important;padding:0!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record #editVin{width:20ch!important;max-width:100%!important;min-width:0!important;font-family:ui-monospace,monospace!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record #pagePartNumber{width:11ch!important;min-width:0!important;max-width:100%!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .employee-overview{order:2!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record>.compact-record-billing{order:3!important;display:flex!important;align-items:center;gap:7px;flex-wrap:wrap;padding:8px 10px;background:var(--modern-paper);border:1px solid var(--modern-line);border-radius:5px;font-size:12px}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record>.compact-record-billing button{min-height:30px!important;padding:5px 10px!important;font-size:12px!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record>.compact-record-billing button[hidden]{display:none!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record>.compact-record-billing strong{margin-right:auto}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .employee-overview .studio-card-body{padding:6px 10px!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .employee-overview .studio-card header{padding:6px 10px!important}
}
@media print{.compact-dispatch-strip,.compact-record-billing{display:none!important}}
@media screen{
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .worktitle .work-order-location{display:none!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .compact-record-location{font-size:12px;font-weight:600}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record>.proof-vehicle-summary{order:2!important;padding:8px 10px!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record>.employee-overview{order:3!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record>.compact-record-billing{order:4!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .employee-overview .studio-card-body{display:flex!important;flex-wrap:wrap;gap:4px 14px;align-items:center}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .employee-overview .studio-card-body>*{margin:0!important;font-size:12px!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .employee-overview .studio-card header{min-height:26px!important;padding:4px 10px!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .part-row input[data-part-field=partNumber]{width:11ch!important;min-width:0!important}
}
@media screen{
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record>.employee-overview{order:4!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record>.compact-record-billing{order:3!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .employee-overview .studio-card-body>.proof-value{display:block!important;flex:0 1 auto!important;width:auto!important;min-width:0!important;padding:0!important;margin:0!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .employee-overview .proof-value :is(.proof-name,.proof-inline-value){display:inline!important;font-size:12px!important;line-height:1.4!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record input[data-quick-number]{width:11ch!important;min-width:0!important}
}
@media screen{
body#officeModernPortal.office-modern.combined-work-enabled #workPanel>.layout{display:block!important}
body#officeModernPortal.office-modern.combined-work-enabled #workPanel #orders{display:block!important;position:static!important;width:100%!important}
body#officeModernPortal.office-modern.combined-work-enabled #workPanel .combined-work-list #detail.inline-work-entry{position:static!important;inset:auto!important;width:100%!important;max-width:none!important;max-height:none!important;overflow:visible!important;margin:0!important;box-shadow:none!important;border:1px solid var(--modern-line)!important;border-radius:0!important;padding:8px!important;display:flex!important;flex-direction:column!important;gap:7px!important}
.combined-work-list.has-inline-entry tbody tr:not(.inline-selected){display:none!important}
.combined-work-list.has-inline-entry .combined-pagination{display:none!important}
body#officeModernPortal.office-modern #workPanel #detail.inline-work-entry>.employee-overview{display:none!important}
body#officeModernPortal.office-modern #workPanel #detail.inline-work-entry>.inline-entry-fields{order:1!important;display:grid!important;grid-template-columns:2fr 1fr 1fr;gap:10px;background:var(--modern-paper);padding:8px}
#officeModernPortal #detail.inline-work-entry .inline-entry-group{min-width:0}
#officeModernPortal #detail.inline-work-entry .inline-entry-group h4{margin:0 0 5px;font-size:11px;color:var(--modern-teal)}
body#officeModernPortal.office-modern #workPanel #detail.inline-work-entry .inline-entry-group :is(.document-customer,.document-address,.document-service,.vehicle-picker-grid){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:5px 8px!important;padding:0!important;margin:0!important;border:0!important}
body#officeModernPortal.office-modern #workPanel #detail.inline-work-entry .inline-entry-group label{font-size:10px!important;min-width:0!important;margin:0!important;display:flex!important;flex-direction:column;gap:2px}
body#officeModernPortal.office-modern #workPanel #detail.inline-work-entry .inline-entry-group :is(input,select){min-height:29px!important;padding:4px 6px!important;width:100%!important;font-size:12px!important}
body#officeModernPortal.office-modern #workPanel #detail.inline-work-entry .inline-entry-group :is(h2,h3,.studio-help){display:none!important}
body#officeModernPortal.office-modern #workPanel #detail.inline-work-entry>.compact-dispatch-strip{order:2!important}
body#officeModernPortal.office-modern #workPanel #detail.inline-work-entry>.proof-vehicle-summary{order:3!important;padding:6px 8px!important}
body#officeModernPortal.office-modern #workPanel #detail.inline-work-entry>.compact-record-billing{order:4!important}
body#officeModernPortal.office-modern #workPanel #detail.inline-work-entry .mockup-record-actions #saveWork{margin-left:auto!important}
body#officeModernPortal.office-modern .combined-work-list td{padding:4px 8px!important;font-size:12px!important}
body#officeModernPortal.office-modern .combined-work-list td button{min-height:24px!important;padding:2px 5px!important;font-size:11px!important}
body#officeModernPortal.office-modern .combined-work-list td [data-combined-open]{border:0!important;background:transparent!important;padding:0!important;box-shadow:none!important}
}
@media(max-width:850px){body#officeModernPortal.office-modern #workPanel #detail.inline-work-entry>.inline-entry-fields{grid-template-columns:1fr!important}}
@media screen{body#officeModernPortal.office-modern.combined-work-enabled #workPanel #orders{visibility:visible!important;pointer-events:auto!important;opacity:1!important}body#officeModernPortal.office-modern.combined-work-enabled #workPanel .combined-work-list #detail.inline-work-entry{visibility:visible!important}}
@media screen{
body#officeModernPortal.office-modern #workPanel #detail.inline-work-entry>.inline-entry-fields{grid-template-columns:1fr!important}
body#officeModernPortal.office-modern #workPanel #detail.inline-work-entry .inline-entry-group{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px 10px!important}
body#officeModernPortal.office-modern #workPanel #detail.inline-work-entry .inline-entry-group>h4{grid-column:1/-1!important}
body#officeModernPortal.office-modern #workPanel #detail.inline-work-entry .inline-entry-group :is(.document-customer,.document-address,.document-service,.assignment-schedule){display:contents!important}
body#officeModernPortal.office-modern #workPanel #detail.inline-work-entry .inline-entry-group label{grid-column:auto!important;width:auto!important;max-width:100%!important}
body#officeModernPortal.office-modern #workPanel #detail.inline-work-entry .inline-entry-group :is(.work-order-financial-states,.schedule-note,.lead-phone-place,.address-zone,.work-order-address-note){display:none!important}
body#officeModernPortal.office-modern #workPanel #detail.inline-work-entry .inline-entry-group input[type=checkbox]{width:auto!important;min-height:0!important}
body#officeModernPortal.office-modern #workPanel #detail.inline-work-entry .inline-entry-group .document-address:not(:has(#differentBillingAddress:checked)) .document-billing-address{display:none!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list.has-inline-entry :is(.combined-toolbar,.combined-stages,.combined-table-wrap){visibility:visible!important}
}
@media(max-width:650px){body#officeModernPortal.office-modern #workPanel #detail.inline-work-entry .inline-entry-group{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media screen{
body#officeModernPortal.office-modern #workPanel #detail.inline-work-entry [hidden]{display:none!important}
body#officeModernPortal.office-modern #workPanel #detail.inline-work-entry .inline-entry-group{align-items:start!important}
body#officeModernPortal.office-modern #workPanel #detail.inline-work-entry .inline-entry-group button{align-self:end!important;min-height:29px!important;padding:4px 6px!important;font-size:11px!important}
body#officeModernPortal.office-modern #workPanel #detail.inline-work-entry #saveWork{width:auto!important;min-width:85px!important;display:inline-flex!important;gap:4px!important}
body#officeModernPortal.office-modern #workPanel #detail.inline-work-entry #saveWork span{display:inline!important}
body#officeModernPortal.office-modern #workPanel #detail.inline-work-entry[data-lead-id] .job-status-compact{display:none!important}
body#officeModernPortal.office-modern #workPanel #detail.inline-work-entry .proof-vehicle-summary>button{display:none!important}
}
@media screen{body#officeModernPortal.office-modern.combined-work-enabled #workPanel #detail.inline-work-entry{position:static!important;inset:auto!important;width:100%!important;max-width:none!important;max-height:none!important;overflow:visible!important;margin:0!important;visibility:visible!important;display:flex!important;flex-direction:column!important;gap:7px!important;padding:8px!important;box-shadow:none!important}body#officeModernPortal.office-modern #workPanel #detail.inline-work-entry>.inline-entry-fields{order:1!important;display:grid!important;grid-template-columns:1fr!important;gap:8px;background:var(--modern-paper);padding:8px}body#officeModernPortal.office-modern #workPanel #detail.inline-work-entry .inline-entry-group [hidden]{display:none!important}}
@media screen{
body#officeModernPortal.office-modern #workPanel #detail.inline-work-entry .inline-entry-group:first-child{grid-template-columns:repeat(6,minmax(0,1fr))!important}
body#officeModernPortal.office-modern #workPanel #detail.inline-work-entry .inline-entry-group :is(p,.office-contact-actions,.schedule-note,.work-order-financial-states){display:none!important}
body#officeModernPortal.office-modern #workPanel #detail.inline-work-entry .inline-entry-group label{align-self:start!important;min-height:0!important;padding:0!important}
body#officeModernPortal.office-modern #workPanel #detail.inline-work-entry .inline-entry-group label input{min-height:28px!important;margin:0!important}
body#officeModernPortal.office-modern #workPanel #detail.inline-work-entry .inline-save-entry{margin-left:auto!important;display:inline-flex!important;width:auto!important;min-height:30px!important;font-size:12px!important;padding:5px 10px!important}
}
@media(max-width:850px){body#officeModernPortal.office-modern #workPanel #detail.inline-work-entry .inline-entry-group:first-child{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media screen{
body#officeModernPortal.office-modern #workPanel{text-transform:uppercase}
body#officeModernPortal.office-modern #workPanel :is(input,select,button){text-transform:uppercase}
body#officeModernPortal.office-modern #workPanel :is(input[type=email],textarea,.activity-workspace,.activity-workspace *,.chatbody,.chatbody *,.conversation,.conversation *,[data-studio-editor="bill to"] input[type=email]){text-transform:none!important}
body#officeModernPortal.office-modern #workPanel #detail.inline-work-entry{gap:4px!important;padding:5px!important}
body#officeModernPortal.office-modern #workPanel #detail.inline-work-entry>.worktitle{padding:4px 7px!important}
body#officeModernPortal.office-modern #workPanel #detail.inline-work-entry .inline-entry-fields{padding:5px!important;gap:5px!important}
body#officeModernPortal.office-modern #workPanel #detail.inline-work-entry .inline-entry-group{gap:3px 8px!important}
body#officeModernPortal.office-modern #workPanel #detail.inline-work-entry .inline-entry-group h4{margin:0 0 2px!important}
body#officeModernPortal.office-modern #workPanel #detail.inline-work-entry .inline-entry-group :is(input,select){min-height:25px!important;padding:3px 5px!important}
body#officeModernPortal.office-modern #workPanel #detail.inline-work-entry :is(.compact-dispatch-strip,.compact-record-billing){padding:4px 7px!important;gap:5px!important}
body#officeModernPortal.office-modern #workPanel #detail.inline-work-entry .proof-vehicle-summary{padding:4px 7px!important}
body#officeModernPortal.office-modern #workPanel #detail.inline-work-entry .proof-vehicle-summary .proof-items-header{padding:3px!important;min-height:24px!important}
body#officeModernPortal.office-modern #workPanel #detail.inline-work-entry .inline-entry-group :is(.address-timezone,.address-feedback,.address-locality-note,.address-result,.lead-phone-place){display:none!important}
}
/* Compact messaging dialog: presentation only, original composer and actions. */
@media screen{
body#officeModernPortal.office-modern dialog.lead-message-dialog{width:min(680px,calc(100vw - 32px))!important;max-width:680px!important;height:auto!important;max-height:calc(100dvh - 48px)!important;inset:24px 0 auto!important;margin:0 auto!important;padding:0!important;border:1px solid var(--modern-line)!important;border-radius:12px!important;box-shadow:0 16px 48px #102d3f33!important;background:var(--modern-paper)!important;color:var(--modern-ink)!important;--lead-history-limit:min(38dvh,280px)}
body#officeModernPortal.office-modern dialog.lead-message-dialog::backdrop{background:#0d23394d!important;backdrop-filter:blur(2px)!important}
body#officeModernPortal.office-modern dialog.lead-message-dialog .lead-message-heading{padding:10px 12px!important;gap:7px!important;background:var(--modern-paper)!important;align-items:flex-start!important;border-bottom:1px solid var(--modern-line)!important}
body#officeModernPortal.office-modern dialog.lead-message-dialog .lead-message-heading h2{font-size:14px!important;line-height:1.3!important;margin:0 0 4px!important;font-weight:600!important}
body#officeModernPortal.office-modern dialog.lead-message-dialog .lead-message-heading p{font-size:11px!important;line-height:1.4!important;margin:0!important}
body#officeModernPortal.office-modern dialog.lead-message-dialog .lead-message-heading small{display:block!important;font-size:10px!important;line-height:1.4!important;margin-top:3px!important;color:var(--modern-muted)!important}
body#officeModernPortal.office-modern dialog.lead-message-dialog button{min-height:28px!important;padding:4px 7px!important;font-size:11px!important;border-radius:6px!important}
body#officeModernPortal.office-modern dialog.lead-message-dialog #conversation#conversation .chatbody{padding:10px 12px!important;max-height:var(--lead-history-limit)!important;background:var(--modern-bg)!important}
body#officeModernPortal.office-modern dialog.lead-message-dialog #conversation#conversation .bubble{max-width:85%!important;min-width:0!important;padding:8px 10px!important;margin:5px 0!important;font-size:13px!important;line-height:1.45!important;border-radius:12px!important;box-shadow:none!important}
body#officeModernPortal.office-modern dialog.lead-message-dialog #conversation#conversation .bubble :is(small,time,.message-attribution){font-size:10px!important;line-height:1.4!important;margin-top:3px!important}
body#officeModernPortal.office-modern dialog.lead-message-dialog #conversation#conversation .bubble button{min-height:22px!important;padding:2px 5px!important;font-size:10px!important;margin-top:4px!important}
body#officeModernPortal.office-modern dialog.lead-message-dialog #conversation#conversation .composer{padding:7px 10px!important;gap:4px!important}
body#officeModernPortal.office-modern dialog.lead-message-dialog #conversation#conversation .message-recipient-context{display:none!important}
body#officeModernPortal.office-modern dialog.lead-message-dialog #conversation#conversation .composer>textarea{height:48px!important;min-height:48px!important;max-height:110px!important;padding:8px!important;font:13px/1.4 system-ui,sans-serif!important;border-radius:8px!important}
body#officeModernPortal.office-modern dialog.lead-message-dialog #conversation#conversation .message-composer-toolbar{gap:4px!important;flex-wrap:wrap!important}
body#officeModernPortal.office-modern dialog.lead-message-dialog #conversation#conversation :is(.sms-consent-status,.sms-permission-status,[data-sms-permission-status],.customer-texting-status){padding:4px 7px!important;font-size:11px!important;line-height:1.4!important;margin:0!important}
body#officeModernPortal.office-modern dialog.lead-message-dialog .lead-message-sendbar{padding:5px 10px!important;min-height:0!important}
}
@media(max-width:550px){body#officeModernPortal.office-modern dialog.lead-message-dialog{width:calc(100vw - 16px)!important;max-width:calc(100vw - 16px)!important;inset:8px 0 auto!important;max-height:calc(100dvh - 16px)!important}body#officeModernPortal.office-modern dialog.lead-message-dialog #conversation#conversation .composer>textarea{font-size:16px!important}}

@media screen{.billing-primary-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.invoice-dialog-tools{flex-wrap:wrap}.compact-billing-extra{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.compact-billing-extra>.quote-outcome{width:100%}}
@media screen{body.office-proof #detail.page-save-job .billing-primary-actions [data-page-secondary-save]{display:inline-flex!important}}

/* portal-crm-theme.css */
/* Consistent CRM surfaces; operational colors and document print rules stay intact. */
@media screen{
body#officeModernPortal.office-modern.office-crm-theme{--modern-bg:#f5f6fa;--modern-paper:#fff;--modern-ink:#283747;--modern-muted:#6b768b;--modern-line:#e1e5ef;--modern-teal:#00869b;--ui-bg:var(--modern-bg);--ui-panel:var(--modern-paper);--ui-ink:var(--modern-ink);--ui-line:var(--modern-line);--ui-teal:var(--modern-teal);--night-panel:var(--modern-paper);--night-text:var(--modern-ink);--night-muted:var(--modern-muted);--night-line:var(--modern-line);background:var(--modern-bg)!important;color:var(--modern-ink)!important}
body#officeModernPortal.office-crm-theme .top{background:var(--modern-paper)!important;border-bottom:1px solid var(--modern-line)!important;box-shadow:none!important;padding:7px 12px!important;gap:9px!important;min-height:48px!important}
body#officeModernPortal.office-crm-theme .office-global-search{background:#f1f2f7!important;border:1px solid transparent!important;border-radius:18px!important;min-height:32px!important;padding:5px 13px!important;font-size:12px!important}
body#officeModernPortal.office-crm-theme .top button,body#officeModernPortal.office-crm-theme .top summary{border-radius:6px!important;box-shadow:none!important}
body#officeModernPortal.office-crm-theme .office-header-tools .crm-add-entry{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:none!important;width:32px!important;height:32px!important;min-height:32px!important;padding:0!important;background:#00869b!important;border:1px solid #00869b!important;color:#fff!important;font:23px/1 system-ui,sans-serif!important;order:-1!important}
body#officeModernPortal.office-crm-theme .office-header-tools .crm-add-entry[hidden]{display:none!important}
body#officeModernPortal.office-crm-theme #newWork,body#officeModernPortal.office-crm-theme [data-combined-new],body#officeModernPortal.office-crm-theme .side [data-nav-key=newjob]{display:none!important}
body#officeModernPortal.office-crm-theme .side{background:#fff!important;border-right:1px solid var(--modern-line)!important;box-shadow:8px 0 28px #28374718!important}
body#officeModernPortal.office-crm-theme .side>.brand{background:#173140!important}
body#officeModernPortal.office-crm-theme .side .office-nav-group{border-color:var(--modern-line)!important}
body#officeModernPortal.office-crm-theme .side .office-nav-group>h2{color:#748095!important;font-size:9px!important;letter-spacing:.08em!important}
body#officeModernPortal.office-crm-theme .side .office-nav-item{color:#5b6579!important;background:transparent!important;border:0!important;border-radius:6px!important;min-height:34px!important;padding:7px 10px!important;font-size:12px!important}
body#officeModernPortal.office-crm-theme .side .office-nav-item.active,body#officeModernPortal.office-crm-theme .side .office-nav-item:hover{background:#e1f2f5!important;color:#126d7d!important}
body#officeModernPortal.office-crm-theme .side .office-nav-symbol{color:inherit!important;background:transparent!important}
body#officeModernPortal.office-crm-theme .side .compact-menu-close{color:#386078!important;background:#f3f6f9!important;border-color:var(--modern-line)!important}
body#officeModernPortal.office-crm-theme main>.panel{border:1px solid var(--modern-line)!important;border-radius:9px!important;background:var(--modern-paper)!important;box-shadow:none!important}
body#officeModernPortal.office-crm-theme .combined-work-list .combined-toolbar{padding:0 0 7px!important;gap:8px!important}
body#officeModernPortal.office-crm-theme .combined-work-list .combined-stages{border-bottom:1px solid var(--modern-line)!important;padding-bottom:5px!important;margin-bottom:7px!important}
body#officeModernPortal.office-crm-theme .combined-work-list .combined-stages button{border:0!important;border-bottom:2px solid transparent!important;border-radius:0!important;background:transparent!important;color:#657187!important}
body#officeModernPortal.office-crm-theme .combined-work-list .combined-stages button[aria-pressed=true]{color:#007d90!important;border-bottom-color:#00869b!important;background:transparent!important}
body#officeModernPortal.office-crm-theme .combined-table-wrap{border-radius:5px!important;border-color:#dfe4ef!important;border-left:3px solid #00869b!important}
body#officeModernPortal.office-crm-theme .combined-work-list th{background:#f8f9fc!important;color:#748096!important;font-weight:500!important;border-bottom:1px solid #dfe4ef!important}
body#officeModernPortal.office-crm-theme .combined-work-list td{border-top-color:#e9ecf3!important}
body#officeModernPortal.office-crm-theme .combined-work-list tbody tr:hover{background:#f0f8fa!important}
body#officeModernPortal.office-crm-theme #detail.inline-work-entry{background:#f5f6fa!important;border:1px solid var(--modern-line)!important;border-radius:8px!important}
body#officeModernPortal.office-crm-theme #workPanel #detail.inline-work-entry>.worktitle{background:#fff!important;border:1px solid var(--modern-line)!important;border-radius:7px!important;box-shadow:none!important}
body#officeModernPortal.office-crm-theme #workPanel #detail.inline-work-entry :is(.inline-entry-fields,.compact-dispatch-strip,.compact-record-billing,.proof-vehicle-summary){border:1px solid var(--modern-line)!important;border-radius:7px!important;background:#fff!important;box-shadow:none!important}
body#officeModernPortal.office-crm-theme #workPanel #detail.inline-work-entry .inline-entry-group :is(input,select){border:1px solid #dfe4ed!important;border-radius:5px!important;background:#fafbfe!important;padding:3px 6px!important;min-height:26px!important;box-shadow:none!important}
body#officeModernPortal.office-crm-theme #workPanel #detail.inline-work-entry .inline-entry-group label{color:#6b768b!important}
body#officeModernPortal.office-crm-theme #workPanel #detail.inline-work-entry .inline-entry-group h4{color:#007e90!important;font-size:10px!important}
body#officeModernPortal.office-crm-theme :is(.studio-card,.schedule-assignment-card,.schedule-quick-panel,.coord-dialog,.message-template-dialog,.message-template-editor){border-color:var(--modern-line)!important;border-radius:8px!important;box-shadow:none!important;background:#fff!important;color:var(--modern-ink)!important}
body#officeModernPortal.office-crm-theme :is(.studio-card,.schedule-quick-panel,.coord-dialog,.message-template-dialog,.message-template-editor)>header{background:#fafbfe!important;border-bottom:1px solid var(--modern-line)!important;padding:8px 10px!important}
body#officeModernPortal.office-crm-theme :is(.coord-dialog,.message-template-dialog,.message-template-editor) button{min-height:28px!important;padding:4px 8px!important;font-size:11px!important;border-radius:5px!important;box-shadow:none!important}
body#officeModernPortal.office-crm-theme :is(.primary,button[type=submit]):not([disabled]){border-radius:5px!important;box-shadow:none!important}
body#officeModernPortal.office-crm-theme button.primary:not([data-contact-kind]):not(.customer-stop-blocked){background:#00869b!important;border-color:#00869b!important;color:#fff!important}
body#officeModernPortal.office-crm-theme .message-template-item[aria-pressed=true]{background:#e8f5f7!important;border-color:#8dc4cf!important;color:#126d7d!important}
body#officeModernPortal.office-crm-theme :is(.dispatch-detail-tabs,.activity-filters){gap:4px!important;border-color:var(--modern-line)!important}
body#officeModernPortal.office-crm-theme .dispatch-detail-tabs [aria-selected=true]{color:#007d90!important;border-color:#00869b!important;background:#edf8fa!important}
}
@media print{.crm-add-entry{display:none!important}}

/* Compact record workspace: original fields and handlers, contained scrolling. */
@media screen{
body#officeModernPortal.office-modern.combined-work-enabled #workPanel #detail.compact-work-record.inline-work-entry{position:fixed!important;inset:20px 24px 48px!important;width:min(1200px,calc(100vw - 48px))!important;height:auto!important;max-height:calc(100dvh - 68px)!important;max-width:1200px!important;margin:0 auto!important;overflow:auto!important;overscroll-behavior:contain!important;z-index:120!important;background:#f6f7fb!important;border:1px solid #d8deeb!important;border-radius:12px!important;padding:0 12px 12px!important;gap:8px!important;box-shadow:0 18px 65px #17233d40,0 0 0 100vmax #17233d45!important;font:12px/1.35 Arial,system-ui,sans-serif!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record>.worktitle{position:sticky!important;top:0!important;z-index:5!important;order:-3!important;margin:0 -12px!important;padding:10px 14px 7px!important;border:0!important;border-radius:0!important;border-bottom:1px solid #e3e6ef!important;background:#fff!important;min-height:0!important;gap:5px!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .worktitle :is(h2,h3){font-size:18px!important;line-height:1.3!important;margin:0!important;font-weight:600!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .worktitle :is(button,select){min-height:27px!important;height:27px!important;padding:3px 7px!important;font-size:11px!important;border-radius:5px!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .inline-save-entry{display:none!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record>.compact-record-tabs{order:-2!important;display:flex!important;gap:15px!important;background:#fff!important;margin:-8px -12px 0!important;padding:0 14px!important;border-bottom:1px solid #dce0ec!important;position:sticky!important;top:76px!important;z-index:4!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record>.compact-record-tabs button{border:0!important;border-bottom:2px solid transparent!important;border-radius:0!important;background:transparent!important;font:12px/1.4 Arial,system-ui,sans-serif!important;padding:8px 3px!important;min-height:32px!important;color:#60677c!important;text-transform:none!important;box-shadow:none!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record>.compact-record-tabs button[aria-pressed=true]{color:#00859b!important;border-bottom-color:#00859b!important;font-weight:600!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record>.inline-entry-fields{display:grid!important;grid-template-columns:minmax(0,2fr) minmax(240px,1fr)!important;gap:10px!important;background:transparent!important;padding:0!important;border:0!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .inline-entry-group{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;padding:9px!important;gap:5px 8px!important;background:#fff!important;border:1px solid #e0e4ee!important;border-radius:7px!important;align-content:start!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .inline-entry-group[data-entry-section=schedule]{grid-template-columns:repeat(2,minmax(0,1fr))!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .inline-entry-group[data-entry-section=vehicle]{grid-column:1/-1!important;grid-template-columns:repeat(4,minmax(0,1fr))!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .inline-entry-group label{font:10px/1.3 Arial,system-ui,sans-serif!important;gap:2px!important;color:#68728a!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .inline-entry-group :is(input,select){height:28px!important;min-height:28px!important;font:12px/1.3 Arial,system-ui,sans-serif!important;padding:3px 6px!important;border:1px solid #e1e5ef!important;border-radius:4px!important;background:#fff!important;color:#29354a!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .inline-entry-group :is(input[type=checkbox],input[type=radio]){height:14px!important;min-height:14px!important;width:14px!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .inline-entry-group h4{font-size:10px!important;font-weight:600!important;color:#00859b!important;margin:0 0 3px!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .inline-entry-group :is(.address-suggestion,.address-selected,.address-location,.address-display){display:none!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record :is(.compact-dispatch-strip,.proof-vehicle-summary,.compact-record-billing){background:#fff!important;border:1px solid #e0e4ee!important;border-radius:7px!important;padding:7px 9px!important;font-size:11px!important;gap:6px!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .compact-dispatch-strip :is(button,input,select){min-height:27px!important;height:27px!important;font-size:11px!important;padding:3px 6px!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record :is(.compact-record-billing,.proof-vehicle-summary) button{min-height:27px!important;font-size:11px!important;padding:3px 7px!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record[data-record-view=overview]>:not(.worktitle,.compact-record-tabs,.inline-entry-fields,.compact-dispatch-strip,.proof-vehicle-summary,.compact-record-billing,.page-save-status,dialog){display:none!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record[data-record-view=activity]>:not(.worktitle,.compact-record-tabs,.activity-workspace,.compact-activity-popup,dialog){display:none!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record[data-record-view=activity]>.activity-workspace{display:block!important;order:1!important;margin:0!important;min-height:250px!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .proof-vehicle-summary :is(h2,h3){font-size:12px!important;margin:0!important}
}
@media screen and (max-width:760px){body#officeModernPortal.office-modern.combined-work-enabled #workPanel #detail.compact-work-record.inline-work-entry{inset:8px 8px 48px!important;width:calc(100vw - 16px)!important;max-height:calc(100dvh - 56px)!important}body#officeModernPortal.office-modern #workPanel #detail.compact-work-record>.inline-entry-fields{grid-template-columns:1fr!important}body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .inline-entry-group{grid-template-columns:repeat(2,minmax(0,1fr))!important}body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .inline-entry-group[data-entry-section=vehicle]{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

@media screen and (min-width:761px){
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry>.inline-entry-fields{grid-template-columns:minmax(240px,1fr) minmax(0,2fr)!important;gap:6px!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry .inline-entry-group[data-entry-section=customer]{grid-column:1/-1!important;grid-template-columns:repeat(5,minmax(0,1fr))!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry .inline-entry-group[data-entry-section=vehicle]{grid-column:auto!important;grid-template-columns:repeat(4,minmax(0,1fr))!important}
}
@media screen{
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry{gap:5px!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry .inline-entry-group[data-entry-section]{padding:6px 8px!important;gap:3px 8px!important;border-radius:4px!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry .inline-entry-group[data-entry-section] :is(input,select){height:24px!important;min-height:24px!important;font-size:11px!important;padding:2px 5px!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry .inline-entry-group[data-entry-section] label{font-size:9px!important;line-height:1.2!important;gap:1px!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry .inline-entry-group .zip-address-preview{display:none!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry .inline-entry-group[data-entry-section=schedule] button{min-height:24px!important;height:auto!important;font-size:10px!important;padding:2px 5px!important;border:1px solid #dce1ea!important;background:#fff!important;border-radius:4px!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry .proof-vehicle-summary :is(td,th){padding:3px 5px!important;font-size:11px!important;line-height:1.25!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry .proof-vehicle-summary :is(input,select){min-height:24px!important;height:24px!important;font-size:11px!important;padding:2px 5px!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry :is(.compact-dispatch-strip,.compact-record-billing,.proof-vehicle-summary){border-radius:4px!important;padding:5px 8px!important}
}

@media screen{
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry .inline-entry-group[data-entry-section=schedule] h4{order:0!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry .inline-entry-group[data-entry-section=schedule] label{order:1!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry .inline-entry-group[data-entry-section=schedule] :is(#insuranceCoverage,#textCustomerSchedule){order:2!important;min-height:22px!important;max-width:100%!important;white-space:nowrap!important;font-size:9px!important;justify-self:start!important;align-self:end!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry .inline-entry-group :is(.schedule-text-feedback:empty,.zip-feedback:empty){display:none!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry :is(button,input,select){min-height:24px!important;font-size:11px!important;padding:2px 6px!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry :is(input[type=checkbox],input[type=radio]){min-height:14px!important;padding:0!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry :is(.dispatch-pane,.job-drawer,.activity-workspace,.work-order-charges,.employee-tools){padding:6px 8px!important;margin:3px 0!important;gap:5px!important;font-size:11px!important;min-height:0!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry :is(h2,h3,h4,summary){font-size:12px!important;line-height:1.3!important;margin:2px 0 4px!important;padding:2px 0!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry :is(td,th){padding:3px 5px!important;font-size:11px!important;line-height:1.3!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry textarea{min-height:48px!important;font-size:12px!important;padding:5px!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry .worktitle :is(h2,h3){font-size:17px!important;margin:0!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry .activity-workspace :is(.bubble,article){font-size:12px!important;line-height:1.35!important;padding:6px 8px!important;margin:4px 0!important}
}

@media screen{body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .worktitle .record-autosave{display:flex!important;align-items:center!important;gap:4px!important;margin:0!important;padding:0 4px!important;border:0!important;background:transparent!important;font-size:9px!important;min-height:14px!important;width:auto!important}body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .worktitle .record-undo{display:inline-flex!important;min-height:24px!important;font-size:11px!important}}
@media print{.compact-record-tabs{display:none!important}}

@media screen{body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry .inline-entry-group[data-entry-section=schedule] #insuranceCoverage{grid-column:1!important;order:2!important}body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry .inline-entry-group[data-entry-section=schedule] #textCustomerSchedule{grid-column:2!important;order:2!important;justify-self:end!important}body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .worktitle .compact-undo{display:inline-flex!important;font-size:11px!important;min-height:24px!important}}

@media screen{body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry .inline-entry-group[data-entry-section=schedule]>h4{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:5px!important;margin:0!important;min-height:22px!important}body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry .compact-schedule-tools{display:inline-flex!important;align-items:center!important;gap:3px!important}body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry .inline-entry-group[data-entry-section=schedule] .compact-schedule-tools button{font-size:8px!important;min-height:20px!important;height:20px!important;padding:1px 4px!important;white-space:nowrap!important}body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry .inline-entry-group[data-entry-section=schedule] .schedule-text-feedback{grid-column:1/-1!important;min-height:0!important}}

/* Section editors alongside the Work table, without a blocking overlay. */
@media screen{
body#officeModernPortal.office-modern.combined-work-enabled #workPanel #detail.compact-work-record.inline-work-entry{inset:65px 12px auto auto!important;width:min(690px,calc(100vw - 24px))!important;max-height:calc(100dvh - 120px)!important;height:auto!important;margin:0!important;border-radius:9px!important;box-shadow:0 8px 30px #17233d35!important;padding:0 10px 10px!important;font-size:13px!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list.has-inline-entry tbody tr:not(.inline-selected){display:table-row!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list.has-inline-entry .combined-pagination{display:flex!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record>.worktitle{position:relative!important;top:auto!important;margin:0 -10px!important;padding:8px 10px!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record>.compact-record-tabs{position:relative!important;top:auto!important;flex-wrap:wrap!important;gap:4px 10px!important;padding:0 10px!important;margin:-5px -10px 0!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record>.compact-record-tabs button{font-size:12px!important;padding:6px 2px!important;min-height:30px!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry>.inline-entry-fields{display:contents!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry .inline-entry-group[data-entry-section]{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-column:auto!important;padding:7px!important;gap:6px 10px!important;order:1!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry .inline-entry-group[data-entry-section] :is(input,select){font-size:13px!important;min-height:30px!important;height:30px!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry .inline-entry-group[data-entry-section] label{font-size:11px!important;line-height:1.3!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry .inline-entry-group label:has(#editAddress){grid-column:1/-1!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry .compact-undo{width:28px!important;height:28px!important;font-size:20px!important;line-height:1!important;justify-content:center!important;padding:0!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry .compact-record-location{white-space:normal!important;line-height:1.4!important;font-size:12px!important;flex-basis:100%!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry .proof-vehicle-summary :is(input,select){height:30px!important;min-height:30px!important;font-size:13px!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry:not([data-record-view=details])>:not(.worktitle,.compact-record-tabs,.inline-entry-fields,dialog){display:none!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry:not([data-record-view=details]) .inline-entry-group{display:none!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry[data-record-view=customer] .inline-entry-group[data-entry-section=customer],body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry[data-record-view=parts] .inline-entry-group[data-entry-section=vehicle],body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry[data-record-view=schedule] .inline-entry-group[data-entry-section=schedule]{display:grid!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry[data-record-view=parts]>:is(.compact-dispatch-strip,.proof-vehicle-summary){display:block!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry[data-record-view=parts]>.compact-dispatch-strip{display:flex!important;flex-wrap:wrap!important;order:2!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry[data-record-view=billing]>.compact-record-billing{display:flex!important;order:1!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record>.compact-record-billing>.work-section-charges{display:block!important;flex:0 0 100%;min-width:0;width:100%;box-sizing:border-box}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry[data-record-view=activity]>.activity-workspace{display:block!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry[data-record-view=activity]>.compact-activity-popup:not([hidden]){display:flex!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry>.compact-activity-popup[hidden]{display:none!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry[data-record-view=details] :is(input,select){font-size:13px!important;min-height:30px!important}
}

@media screen{body#officeModernPortal.office-modern.combined-work-enabled #workPanel #detail.compact-work-record.inline-work-entry{min-height:0!important}body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry .inline-entry-group label:has(#serviceAddress-address){grid-column:1/-1!important}body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry .compact-undo{font:21px/1 system-ui,sans-serif!important;width:28px!important;height:28px!important;padding:0!important}}

/* Keep the expanded parts section compact without shrinking customer editors. */
@media screen and (min-width:761px){
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry[data-record-view=parts] .inline-entry-group[data-entry-section=vehicle]{grid-template-columns:80px minmax(0,1fr) minmax(0,1fr) minmax(0,1fr)!important;gap:4px 7px!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry[data-record-view=parts]>.compact-dispatch-strip{display:grid!important;grid-template-columns:minmax(0,1fr) 220px!important;align-items:end!important;gap:5px 8px!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry[data-record-view=parts] .compact-record-location{grid-column:1/-1!important;font-size:11px!important;line-height:1.3!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry[data-record-view=parts] .compact-record-location button{display:inline-flex!important;min-height:23px!important;padding:2px 5px!important;margin-left:6px!important;font-size:10px!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry[data-record-view=parts] .compact-dispatch-strip .employee-dispatch-tools{min-width:0!important;width:auto!important;display:block!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry[data-record-view=parts] .compact-dispatch-strip .page-fitment-grid{width:220px!important;min-width:0!important;display:flex!important;align-items:end!important;gap:3px!important;flex-wrap:wrap!important;margin:0!important;padding:0!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry[data-record-view=parts] .page-fitment-grid label{width:174px!important;max-width:174px!important;font-size:10px!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry[data-record-view=parts] #editVin{width:174px!important;min-width:174px!important;height:27px!important;min-height:27px!important;font-size:12px!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry[data-record-view=parts] .assignment-extra-fields{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr) 140px 105px!important;gap:5px 7px!important;padding:6px!important;align-items:start!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry[data-record-view=parts] .assignment-extra-fields>label{grid-column:auto!important;min-width:0!important;width:auto!important;font-size:10px!important;line-height:1.3!important;margin:0!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry[data-record-view=parts] .assignment-extra-fields>.assignment-cost{grid-column:4!important;grid-row:1!important;max-width:105px!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry[data-record-view=parts] .assignment-extra-fields .part-line-actions{grid-column:1/-1!important;justify-content:flex-end!important;margin:0!important;padding:0!important}
}
@media screen{
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry[data-record-view=parts] .inline-entry-group[data-entry-section=vehicle] label{display:flex!important;flex-direction:column!important;font-size:10px!important;gap:1px!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry[data-record-view=parts] :is(.inline-entry-group[data-entry-section=vehicle],.compact-dispatch-strip,.proof-vehicle-summary){padding:5px 7px!important;margin:0!important;gap:4px!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry[data-record-view=parts] .proof-vehicle-summary>.vehicle-title{display:none!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry[data-record-view=parts] .proof-vehicle-summary :is(input,select){height:27px!important;min-height:27px!important;font-size:12px!important;padding:2px 5px!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry[data-record-view=parts] :is(.part-line-fields,.assignment-fields){gap:4px 7px!important;padding:0!important;margin:0!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry[data-record-view=parts] .assignment-part-options{padding:0!important;margin:3px 0 0!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry[data-record-view=parts] .assignment-part-options summary{font-size:10px!important;line-height:1.25!important;padding:2px!important;margin:0!important;min-height:18px!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry[data-record-view=parts] .assignment-cost input{width:100%!important;max-width:105px!important}
}

@media screen and (min-width:761px){
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry[data-record-view=parts] .compact-dispatch-strip .employee-dispatch-tools{grid-column:1!important;grid-row:2!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry[data-record-view=parts] .compact-dispatch-strip .page-fitment-grid{grid-column:2!important;grid-row:2!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry[data-record-view=parts] .assignment-part-options{position:relative!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry[data-record-view=parts] .assignment-extra-fields .part-line-actions{position:absolute!important;right:3px!important;top:-1px!important;min-height:20px!important;height:20px!important;max-width:140px!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry[data-record-view=parts] .assignment-extra-fields .part-line-actions button{min-height:20px!important;height:20px!important;font-size:9px!important;padding:1px 5px!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry[data-record-view=parts] .assignment-part-options summary{padding-right:140px!important}
}
@media screen{
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry[data-record-view=parts] .inline-entry-group[data-entry-section=vehicle]>h4{display:none!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry[data-record-view=parts] .proof-vehicle-summary .proof-items-header{min-height:25px!important;margin:0!important;padding:2px 0!important}
}

@media screen{
body#officeModernPortal.office-modern.combined-work-enabled #workPanel #detail.compact-work-record.inline-work-entry[data-record-view=parts]{top:8px!important;max-height:calc(100dvh - 65px)!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry[data-record-view=parts] .proof-vehicle-summary>:is(.proof-row-label,.proof-vehicle-value){display:none!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry[data-record-view=parts] .proof-items-header{min-height:22px!important;height:25px!important;padding:0!important;margin:0!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry[data-record-view=parts] .parts-assignment{padding:0!important;margin:0!important}
}

body#officeModernPortal.office-modern .smarty-picked,body#officeModernPortal.office-modern button.smarty-picked.technician-pink{background-image:linear-gradient(95deg,#af245e,#9b4700,#187438,#00738c,#5144ae,#a12480)!important;background-clip:text!important;-webkit-background-clip:text!important;color:transparent!important;-webkit-text-fill-color:transparent!important;text-decoration:underline;text-decoration-color:#8d5cc7;text-underline-offset:3px}
@media print{.smarty-picked{color:#29354a!important;-webkit-text-fill-color:#29354a!important;background:none!important}}
/* Work Messages is one complete chat: history above a visible reply composer. */
@media screen{
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry:has(>.compact-activity-popup[data-mode=messages]:not([hidden]))>.activity-workspace{display:none!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry[data-record-view=activity]>.compact-activity-popup[data-mode=messages]:not([hidden]){position:relative!important;inset:auto!important;display:flex!important;flex-direction:column!important;width:100%!important;max-width:100%!important;height:min(490px,calc(100dvh - 290px))!important;min-height:240px!important;max-height:none!important;grid-column:1/-1!important;margin:0!important;padding:0!important;border:1px solid #d5e2eb!important;border-radius:7px!important;box-shadow:none!important;overflow:hidden!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry .compact-activity-popup[data-mode=messages]>.activity-popup-header{display:flex!important;flex:none!important;align-items:center!important;min-height:34px!important;padding:4px 9px!important;gap:6px!important;border-bottom:1px solid #dce7ef!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry .compact-activity-popup[data-mode=messages] .activity-popup-identity{flex:1!important;min-width:0!important;display:flex!important;gap:7px!important;align-items:center!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry .compact-activity-popup[data-mode=messages] .activity-popup-header button{width:auto!important;font-size:11px!important;padding:3px 6px!important;min-height:25px!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry .compact-activity-popup[data-mode=messages] .activity-popup-header button:not(.activity-latest){display:none!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry .compact-activity-popup[data-mode=messages]>:is(.activity-job-context,.activity-popup-tabs,.activity-quick-actions){display:none!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry .compact-activity-popup[data-mode=messages] :is(.activity-popup-body,.compact-dock-messages,.job-chat-host,#conversation){display:flex!important;flex:1 1 0!important;flex-direction:column!important;width:100%!important;max-width:100%!important;min-width:0!important;min-height:0!important;height:auto!important;margin:0!important;padding:0!important;overflow:hidden!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry .compact-activity-popup[data-mode=messages] :is(.chathead,.coord-message-work,.dealerwork,.message-recipient-context){display:none!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry .compact-activity-popup[data-mode=messages] .chatbody{display:block!important;flex:1 1 0!important;min-height:100px!important;height:auto!important;max-height:none!important;overflow:auto!important;padding:8px 10px!important;background:#f5f8fb!important;overflow-anchor:none}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry .compact-activity-popup[data-mode=messages] .chatbody .bubble{font-size:13px!important;line-height:1.4!important;padding:5px 8px!important;margin:0 0 6px!important;border-radius:6px!important;max-width:90%!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry .compact-activity-popup[data-mode=messages] .chatbody .bubble.in{background:#fff!important;border:1px solid #d5e2ed!important;color:#24465b!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry .compact-activity-popup[data-mode=messages] .chatbody .bubble.out{background:#e2f5ef!important;border:1px solid #bfe1d7!important;color:#17594f!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry .compact-activity-popup[data-mode=messages] .composer{display:flex!important;flex:0 0 auto!important;flex-direction:column!important;width:100%!important;max-height:160px!important;overflow:auto!important;padding:6px 9px!important;margin:0!important;gap:4px!important;border-top:1px solid #d5e2ed!important;background:#fff!important;box-sizing:border-box!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry .compact-activity-popup[data-mode=messages] .composer>textarea{display:block!important;height:46px!important;min-height:46px!important;max-height:80px!important;width:100%!important;box-sizing:border-box!important;padding:6px 8px!important;margin:0!important;font-size:13px!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry .compact-activity-popup[data-mode=messages] :is(.message-composer-toolbar,.sms-optout-status){margin:0!important;padding:2px 0!important;font-size:10px!important}
}

body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry .compact-activity-popup[data-mode=messages] .chatbody .office-contact-actions{display:none!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry .compact-activity-popup[data-mode=messages] .chatbody .bubble.out{margin-left:auto!important}

/* One recipient and one scrolling history in the Work communication workspace. */
@media screen{
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry[data-record-view=activity]{display:flex!important;flex-direction:column!important;height:calc(100dvh - 100px)!important;overflow:hidden!important;min-height:0!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record[data-record-view=activity]>.worktitle{position:relative!important;top:auto!important;flex:none!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record[data-record-view=activity]>.compact-record-tabs{position:relative!important;top:auto!important;flex:none!important;gap:12px!important;overflow-x:auto!important;white-space:nowrap!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry:has(>.compact-activity-popup:not([hidden]))>.activity-workspace{display:none!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry[data-record-view=activity]>.compact-activity-popup:not([hidden]){position:relative!important;inset:auto!important;display:flex!important;flex:1 1 0!important;flex-direction:column!important;width:100%!important;max-width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;padding:0!important;overflow:hidden!important;box-shadow:none!important;border:1px solid #d5e2eb!important;border-radius:6px!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry .compact-activity-popup[data-mode]>.activity-popup-tabs{display:flex!important;flex:none!important;gap:4px!important;padding:4px 8px!important;border-bottom:1px solid #dce7ef!important;background:#fff!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .activity-popup-tabs button{width:auto!important;min-height:26px!important;padding:3px 9px!important;font-size:11px!important;border:1px solid #dce7ef!important;border-radius:4px!important;background:#fff!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .activity-popup-tabs button[aria-pressed=true]{color:#007e91!important;background:#e8f6f7!important;border-color:#81c5cd!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .compact-activity-popup>.activity-popup-header{display:flex!important;flex:none!important;min-height:30px!important;padding:4px 8px!important;gap:6px!important;border-bottom:1px solid #dce7ef!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .compact-activity-popup .activity-popup-identity{flex:1!important;display:flex!important;align-items:center!important;gap:8px!important;min-width:0!important;font-size:12px!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .activity-popup-header button:not(.activity-latest){display:none!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .compact-activity-popup>:is(.activity-job-context,.activity-quick-actions){display:none!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .compact-activity-popup .activity-popup-body{display:flex!important;flex:1 1 0!important;min-height:0!important;overflow:hidden!important;padding:0!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .compact-activity-popup .activity-popup-body>[hidden]{display:none!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .compact-activity-popup[data-mode=messages] .tech-conversation,
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .compact-activity-popup[data-mode=technician] .compact-dock-messages,
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .compact-activity-popup:not([data-mode=notes]) .compact-dock-notes{display:none!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .compact-activity-popup[data-mode=technician] .tech-conversation{display:flex!important;flex:1 1 0!important;flex-direction:column!important;min-height:0!important;overflow:hidden!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .compact-activity-popup .tech-conversation-head{display:none!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .compact-activity-popup .tech-history{flex:1 1 0!important;min-height:80px!important;max-height:none!important;overflow:auto!important;padding:8px 10px!important;background:#f5f8fb!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .compact-activity-popup .tech-composer{display:flex!important;flex:none!important;flex-flow:row wrap!important;gap:5px!important;padding:7px 9px!important;background:#fff!important;border-top:1px solid #dce7ef!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .tech-composer :is(select,textarea,.tech-message-status){width:100%!important;flex-basis:100%!important;margin:0!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .tech-composer textarea{height:70px!important;min-height:55px!important;max-height:110px!important;font-size:12px!important;resize:vertical!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .tech-composer button{width:auto!important;flex:none!important;min-height:27px!important;padding:3px 9px!important;border:1px solid #cfdde6!important;border-radius:4px!important;font-size:11px!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .tech-composer .tech-send{margin-left:auto!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .tech-composer small{font-size:10px!important;line-height:1.3!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .tech-composer .tech-message-status:empty{display:none!important}
}
/* Keep secondary billing actions out of the primary workflow. */
.compact-billing-more{position:relative}
.compact-billing-more>summary,.invoice-delivery-more>summary{cursor:pointer;padding:7px 12px;border:1px solid #cbd8e3;border-radius:5px;background:#fff;list-style:none;font-size:12px}
.compact-billing-more:not([open])>.compact-billing-extra,.invoice-delivery-more:not([open])>:not(summary){display:none!important}
.compact-billing-extra{position:absolute;right:0;top:100%;z-index:20;min-width:190px;padding:8px;background:var(--modern-paper,#fff);border:1px solid #cbd8e3;border-radius:5px;box-shadow:0 5px 16px #162c4820}
.compact-billing-extra>button{display:block!important;width:100%;margin:3px 0;text-align:left}
.compact-billing-extra>button[hidden]{display:none!important}
.invoice-delivery-more{width:100%}.invoice-delivery-more>summary{width:max-content;margin-left:auto}.invoice-delivery-more[open]>:not(summary){margin-top:12px}
@media screen{body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.inline-work-entry[data-record-view=insurance]>[data-dispatch-pane=Insurance]:not([hidden]){display:block!important;order:1!important;width:100%!important;min-width:0!important}.compact-customer-work-order{margin:6px 0!important}.compact-insurance .structured-fields [data-structured-field=policyNumber]{grid-column:1/-1!important}.compact-insurance .structured-fields [data-structured-field=policyNumber] input{width:100%!important;min-width:0!important}}

/* header-shortcuts.css */
/* Compact search and a colorful command strip, scoped to the office header. */
@media screen {
body#officeModernPortal.office-modern.office-compact-shell .top{background:linear-gradient(100deg,#fff 10%,#f2f5ff 64%,#f1fbfa)!important;border-bottom:1px solid #d9e1f3!important;box-shadow:0 3px 18px #3444770a!important;gap:10px!important}
body#officeModernPortal.office-modern.office-compact-shell .top .office-global-search{display:block!important;flex:0 1 210px!important;width:210px!important;max-width:210px!important;min-width:110px!important;height:32px!important;border:1px solid #d9dfef!important;border-radius:12px!important;background:#fff!important}
body#officeModernPortal.office-modern.office-compact-shell .top .office-global-search:focus{outline:2px solid #7d83ef!important;outline-offset:2px!important}
body#officeModernPortal.office-modern.office-compact-shell .top .office-header-tools{display:flex!important;gap:8px!important;margin-left:0!important;flex:1 1 auto!important}
body#officeModernPortal.office-modern.office-compact-shell .top .office-quick-nav{display:flex!important;align-items:center!important;gap:5px!important;order:-2!important;flex-shrink:0!important}
body#officeModernPortal.office-modern.office-compact-shell .top .office-quick-nav .office-quick-link{--quick-ink:#3153b4;--quick-soft:#eaf0ff;--quick-bright:#5376e8;display:inline-flex!important;align-items:center!important;gap:6px!important;white-space:nowrap!important;height:34px!important;min-height:34px!important;max-width:none!important;padding:3px 10px 3px 4px!important;border:1px solid transparent!important;border-radius:11px!important;background:var(--quick-soft)!important;color:var(--quick-ink)!important;font:600 11px/1.2 Inter,system-ui,sans-serif!important;cursor:pointer;transition:transform .15s,box-shadow .15s}
body#officeModernPortal.office-modern.office-compact-shell .top .office-quick-link[data-quick-view=schedule]{--quick-ink:#087569;--quick-soft:#e3f7ef;--quick-bright:#16a58a}
body#officeModernPortal.office-modern.office-compact-shell .top .office-quick-link[data-quick-view=email]{--quick-ink:#7640ad;--quick-soft:#f3eaff;--quick-bright:#a266dd}
body#officeModernPortal.office-modern.office-compact-shell .top .office-quick-link[data-quick-view=messages]{--quick-ink:#a34435;--quick-soft:#fff0e8;--quick-bright:#ef8864}
body#officeModernPortal.office-modern.office-compact-shell .top .office-quick-icon{display:grid;place-items:center;width:25px;height:25px;border-radius:8px;background:linear-gradient(145deg,var(--quick-bright),var(--quick-ink));color:#fff;box-shadow:0 2px 4px #172b4220,inset 0 1px #ffffff55;transform:rotate(-5deg)}
body#officeModernPortal.office-modern.office-compact-shell .top .office-quick-icon svg{width:16px!important;height:16px!important;transform:rotate(5deg)}
body#officeModernPortal.office-modern.office-compact-shell .top .office-quick-link[aria-current=page]{border-color:var(--quick-bright)!important;box-shadow:0 2px 7px #26387615!important}
body#officeModernPortal.office-modern.office-compact-shell .top .office-quick-link:hover:enabled{transform:translateY(-1px);box-shadow:0 3px 8px #26387620!important}
body#officeModernPortal.office-modern.office-compact-shell .top .office-quick-link:focus-visible{outline:2px solid var(--quick-bright)!important;outline-offset:2px!important}
body#officeModernPortal.office-modern.office-compact-shell .top .office-quick-link[hidden]{display:none!important}
}
@media screen and (max-width:1200px){body#officeModernPortal.office-modern.office-compact-shell .top .office-quick-label{display:none!important}body#officeModernPortal.office-modern.office-compact-shell .top .office-quick-nav .office-quick-link{padding:3px!important}}
@media screen and (max-width:700px){body#officeModernPortal.office-modern.office-compact-shell .top .office-global-search{flex:1 1 110px!important;width:110px!important;min-width:65px!important}body#officeModernPortal.office-modern.office-compact-shell .top .office-header-tools{flex:0 0 auto!important}body#officeModernPortal.office-modern.office-compact-shell .top .office-quick-nav{gap:3px!important}body#officeModernPortal.office-modern.office-compact-shell .top{gap:5px!important}}
@media(prefers-reduced-motion:reduce){.office-quick-link{transition:none!important}}
@media print{.office-quick-nav{display:none!important}}
@media screen and (max-width:900px){
body#officeModernPortal.office-modern.office-compact-shell .top .modern-page-heading{display:none!important}
body#officeModernPortal.office-modern.office-compact-shell .top .office-header-tools>:not(.office-quick-nav):not(.compact-menu-toggle):not(.crm-add-entry){display:none!important}
}
@media screen and (max-width:700px){
body#officeModernPortal.office-modern.office-compact-shell .top .office-profile>summary{width:32px!important;min-width:32px!important;padding:5px!important;overflow:hidden!important;white-space:nowrap!important;font-size:0!important}
body#officeModernPortal.office-modern.office-compact-shell .top .office-profile>summary::before{content:'●';font-size:16px;color:#6658af}
body#officeModernPortal.office-modern.office-compact-shell .top .compact-menu-toggle{font-size:0!important;width:32px!important;min-width:32px!important;padding:5px!important}
body#officeModernPortal.office-modern.office-compact-shell .top .compact-menu-toggle::before{content:'☰';font-size:16px!important}
}
@media screen and (max-width:700px){body#officeModernPortal.office-modern.office-compact-shell .top>#officeNavToggle{display:none!important}}
@media screen {
body#officeModernPortal.office-modern.office-compact-shell[data-office-workspace=schedule] main{padding:48px 0 40px!important}
body#officeModernPortal.office-modern.office-compact-shell[data-office-workspace=schedule] .top .modern-page-heading{display:none!important}
body#officeModernPortal.office-modern.office-compact-shell #schedulePanel.dispatch-workspace-host{padding:0!important;margin:0!important;border:0!important;border-radius:0!important}
body#officeModernPortal.office-modern.office-compact-shell .top .office-schedule-tools{display:none!important}
body#officeModernPortal.office-modern.office-compact-shell[data-office-workspace=schedule] .top .office-schedule-tools{display:inline-flex!important;align-items:center!important;min-height:32px!important;padding:5px 9px!important;border:1px solid #a7d3d3!important;border-radius:9px!important;background:#e5f7f3!important;color:#086e68!important;font-size:11px!important;font-weight:600!important}
}
@media screen{body#officeModernPortal.office-modern.office-compact-shell .top .office-quick-link[data-quick-view=insurance]{--quick-ink:#a66a13;--quick-soft:#fff3d9;--quick-bright:#e4ac43}}

@media screen and (max-width:1400px){body#officeModernPortal.office-modern.office-compact-shell .top .office-quick-label{display:none!important}body#officeModernPortal.office-modern.office-compact-shell .top .office-quick-nav .office-quick-link{padding:3px!important}}

/* prism-portal.css */
/* Prism: shared screen-only presentation for Office. */
@media screen {
body#officeModernPortal.office-modern{--modern-bg:#f2f1fa;--modern-paper:#fff;--modern-ink:#272547;--modern-muted:#686680;--modern-line:#e4e1f0;--modern-teal:#6650ce;--ui-bg:#f2f1fa;--ui-panel:#fff;--ui-ink:#272547;--ui-muted:#686680;--ui-line:#e4e1f0;--ui-blue:#6650ce;--ui-teal:#087e86;background:radial-gradient(ellipse at 95% 0,#e3f6f2 0,transparent 35%),radial-gradient(ellipse at 0 50%,#eae5ff 0,transparent 45%),#f3f2fa!important;color:#272547!important}
body#officeModernPortal.office-modern.office-compact-shell .top{background:linear-gradient(110deg,#202140,#343064 62%,#214c60)!important;border-bottom:1px solid #68648b!important;box-shadow:0 3px 14px #29234d25!important;color:#fff!important}
body#officeModernPortal.office-modern .top .modern-page-heading strong{color:#f4f0ff!important;font-weight:650!important;letter-spacing:-.3px!important}
body#officeModernPortal.office-modern.office-compact-shell .top .office-global-search{background:#ffffff12!important;color:#fff!important;border-color:#ffffff28!important;border-radius:11px!important}
body#officeModernPortal.office-modern .top .office-global-search::placeholder{color:#d5d4e9!important}
body#officeModernPortal.office-modern.office-compact-shell .top .office-global-search:focus{background:#ffffff20!important;outline-color:#b9a6ff!important}
body#officeModernPortal.office-modern.office-compact-shell .top .office-header-tools>button,body#officeModernPortal.office-modern.office-compact-shell .top .compact-menu-toggle,body#officeModernPortal.office-modern.office-compact-shell .top .office-profile>summary{background:#ffffff0e!important;border:1px solid #ffffff26!important;color:#f4f3ff!important;border-radius:10px!important}
body#officeModernPortal.office-modern.office-compact-shell .top .office-quick-nav .office-quick-link{--quick-ink:#d9e6ff;--quick-soft:#4e6fa52b;--quick-bright:#7fa7ff;background:var(--quick-soft)!important;color:var(--quick-ink)!important;border-color:#ffffff13!important}
body#officeModernPortal.office-modern.office-compact-shell .top .office-quick-link[data-quick-view=schedule]{--quick-ink:#aaf3dc;--quick-soft:#2acfac1b;--quick-bright:#3be0b4}
body#officeModernPortal.office-modern.office-compact-shell .top .office-quick-link[data-quick-view=email]{--quick-ink:#ebccff;--quick-soft:#b97eff23;--quick-bright:#c695ff}
body#officeModernPortal.office-modern.office-compact-shell .top .office-quick-link[data-quick-view=messages]{--quick-ink:#ffdbc4;--quick-soft:#f5a27920;--quick-bright:#ffa97b}
body#officeModernPortal.office-modern.office-compact-shell .top .office-quick-icon{background:linear-gradient(140deg,var(--quick-bright),#ffffff16)!important;color:#202444!important;box-shadow:0 2px 6px #12142e45,inset 0 1px #ffffff70!important;border-radius:8px!important}
body#officeModernPortal.office-modern.office-compact-shell .top .office-quick-link[aria-current=page]{background:#ffffff1c!important;border-color:var(--quick-bright)!important;box-shadow:inset 0 -2px var(--quick-bright)!important}
body#officeModernPortal.office-modern.office-compact-shell[data-office-workspace=schedule] .top .office-schedule-tools{background:#3be0b41b!important;color:#aaf3dc!important;border-color:#71d7bd55!important}
body#officeModernPortal.office-modern .office-profile-tools{background:#fff!important;border-color:#e4dff1!important;border-radius:16px!important;box-shadow:0 18px 60px #24204430!important;color:#272547!important}
body#officeModernPortal.office-modern.office-compact-shell .side{background:linear-gradient(170deg,#252340,#293854)!important;border:0!important;color:#e5e0ff!important;box-shadow:12px 0 60px #1e1a4735!important}
body#officeModernPortal.office-modern .side>.brand{background:#ffffff08!important;border-bottom:1px solid #ffffff13!important}
body#officeModernPortal.office-modern .side .office-nav-group>h2{color:#b9b3d5!important;letter-spacing:1.4px!important}
body#officeModernPortal.office-modern .side .office-nav-item{color:#e0dcee!important;border-radius:10px!important;background:transparent!important;gap:10px!important;min-height:36px!important}
body#officeModernPortal.office-modern .side .office-nav-symbol{--symbol:#8baaff;width:25px!important;height:25px!important;flex-basis:25px!important;border-radius:8px!important;background:linear-gradient(135deg,var(--symbol),#ffffff18)!important;color:#222442!important;box-shadow:inset 0 1px #ffffff50!important}
body#officeModernPortal.office-modern .side [data-nav-tone=teal] .office-nav-symbol{--symbol:#58e3c2}
body#officeModernPortal.office-modern .side [data-nav-tone=violet] .office-nav-symbol{--symbol:#c49aff}
body#officeModernPortal.office-modern .side [data-nav-tone=amber] .office-nav-symbol{--symbol:#ffc181}
body#officeModernPortal.office-modern .side [data-nav-tone=green] .office-nav-symbol{--symbol:#b3e590}
body#officeModernPortal.office-modern .side .office-nav-item.active{background:#a99bff25!important;color:#fff!important;box-shadow:inset 3px 0 #c5afff!important}
body#officeModernPortal.office-modern .side .office-nav-item:hover{background:#ffffff0c!important;color:#fff!important}
body#officeModernPortal.office-modern .side .compact-menu-close{background:#ffffff0d!important;color:#f4f0ff!important;border-color:#ffffff22!important;border-radius:9px!important}
body#officeModernPortal.office-modern main>.panel:not(#schedulePanel){border:1px solid #e4e1f0!important;border-radius:14px!important;box-shadow:0 5px 24px #41366a08!important;background:#fff!important}
body#officeModernPortal.office-modern main>.panel>.panelbar{background:linear-gradient(105deg,#f3efff,#f8fbff)!important;border-bottom-color:#e5dff1!important}
body#officeModernPortal.office-modern main>.panel>.panelbar h2{color:#42317e!important;letter-spacing:-.4px!important}
body#officeModernPortal.office-modern main :is(input,select,textarea):focus-visible{outline:2px solid #9875e5!important;outline-offset:2px!important}
body#officeModernPortal.office-modern :is(.modern-overview-summary article,.health-box,.studio-widget){border-color:#e5e0ef!important;border-radius:14px!important;box-shadow:0 5px 18px #40326a08!important}
body#officeModernPortal.office-modern .modern-overview-summary article:nth-child(4n+1){background:linear-gradient(130deg,#eee6ff,#fff)!important;border-top:3px solid #9c73e5!important}
body#officeModernPortal.office-modern .modern-overview-summary article:nth-child(4n+2){background:linear-gradient(130deg,#def9ef,#fff)!important;border-top:3px solid #28b69b!important}
body#officeModernPortal.office-modern .modern-overview-summary article:nth-child(4n+3){background:linear-gradient(130deg,#ffeadb,#fff)!important;border-top:3px solid #ef9868!important}
body#officeModernPortal.office-modern .modern-overview-summary article:nth-child(4n){background:linear-gradient(130deg,#e0efff,#fff)!important;border-top:3px solid #6e9de8!important}
body#officeModernPortal.office-modern .health-ai{background:linear-gradient(135deg,#eeebff,#e9fbf6 85%)!important;border-color:#cbc2ee!important}
body#officeModernPortal.office-modern .health-eyebrow{color:#7752bf!important}
/* Work: soft column bands, clear status colors, compact rows. */
body#officeModernPortal.office-modern #workPanel .combined-toolbar h2{color:#55399a!important;letter-spacing:-.5px!important;font-weight:750!important}
body#officeModernPortal.office-modern #workPanel .combined-toolbar>small{color:#827197!important;letter-spacing:1px!important}
body#officeModernPortal.office-modern #workPanel .combined-toolbar :is(input,select,button){border-color:#e2dced!important;border-radius:9px!important;background:#fcfbff!important;color:#51476c!important}
body#officeModernPortal.office-modern #workPanel .combined-stages{gap:5px!important;border-bottom:0!important;padding-bottom:5px!important}
body#officeModernPortal.office-modern #workPanel .combined-stages button{--stage-color:#6650b0;--stage-bg:#f0eaff;background:var(--stage-bg)!important;color:var(--stage-color)!important;border:1px solid transparent!important;border-radius:9px!important;padding:5px 10px!important;min-height:30px!important}
body#officeModernPortal.office-modern #workPanel .combined-stages [data-combined-stage="New inquiries"]{--stage-color:#4165a3;--stage-bg:#eaf1ff}
body#officeModernPortal.office-modern #workPanel .combined-stages [data-combined-stage="Quotes"]{--stage-color:#956027;--stage-bg:#fff0dc}
body#officeModernPortal.office-modern #workPanel .combined-stages [data-combined-stage="To schedule"]{--stage-color:#ae4774;--stage-bg:#ffeaf3}
body#officeModernPortal.office-modern #workPanel .combined-stages [data-combined-stage="Scheduled"]{--stage-color:#087b71;--stage-bg:#e1f7ef}
body#officeModernPortal.office-modern #workPanel .combined-stages [data-combined-stage="In progress"]{--stage-color:#7751b9;--stage-bg:#f0e7ff}
body#officeModernPortal.office-modern #workPanel .combined-stages [data-combined-stage="Completed"]{--stage-color:#327649;--stage-bg:#e8f6dc}
body#officeModernPortal.office-modern #workPanel .combined-stages button[aria-pressed=true]{border-color:var(--stage-color)!important;box-shadow:inset 0 -2px var(--stage-color)!important;font-weight:700!important}
body#officeModernPortal.office-modern #workPanel .combined-stages small{display:inline-block;border-radius:5px;padding:1px 4px;background:#ffffff85!important;font-weight:700!important}
body#officeModernPortal.office-modern #workPanel .combined-table-wrap{border:1px solid #ded6ed!important;border-radius:10px!important;border-left:3px solid #9a7bd7!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list th{background:#efe9fa!important;color:#594378!important;border-bottom:1px solid #dbd0ed!important;font-weight:650!important;letter-spacing:.4px!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list th:nth-child(3n+2){background:#e7f3f4!important;color:#296b72!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list th:nth-child(3n){background:#fff0e5!important;color:#895332!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list td{border-color:#ece7f3!important;color:#3b3550!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list tbody tr:nth-child(even){background:#faf8fe!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list tbody tr:hover{background:#eee9fa!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list [data-combined-open]{color:#473577!important}
body#officeModernPortal.office-modern #workPanel .combined-stage{display:inline-block;padding:3px 7px;border-radius:6px;background:#eee7ff;color:#6d46ad;font-size:10px!important;font-weight:700;letter-spacing:.2px}
body#officeModernPortal.office-modern #workPanel .combined-stage[data-stage="Scheduled"]{background:#def5ef;color:#137c6c}
body#officeModernPortal.office-modern #workPanel .combined-stage[data-stage="Completed"]{background:#e5f2d9;color:#46762a}
body#officeModernPortal.office-modern #workPanel .combined-stage[data-stage="New inquiries"]{background:#e3eeff;color:#446bb3}
body#officeModernPortal.office-modern #workPanel .combined-payment-type{border-radius:5px!important;background:#f0ebfb!important;color:#6d4e9c!important;padding:3px 6px!important}
/* Job record: distinct cards and a rich identity band. */
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record>.worktitle{background:linear-gradient(115deg,#eee8ff,#e7f8f7)!important;border-bottom:1px solid #d8cfee!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record>.worktitle h3{color:#493380!important;font-weight:750!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .compact-record-tabs{background:#f8f5ff!important;border-color:#ded4ed!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .compact-record-tabs button{color:#6c5b86!important;border-radius:8px 8px 0 0!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .compact-record-tabs button[aria-selected=true],body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .compact-record-tabs button.active{background:#e9e0fb!important;color:#59349a!important;border-color:#9771d8!important}
body#officeModernPortal.office-modern #workPanel #detail :is(.studio-card,.compact-dispatch-strip,.compact-record-section){border-color:#e3dded!important;border-radius:10px!important;box-shadow:0 3px 10px #4f3b7005!important}
body#officeModernPortal.office-modern #workPanel #detail .studio-card>h3{background:#f1ecfb!important;color:#654295!important;border-bottom-color:#e5dcee!important}
body#officeModernPortal.office-modern #workPanel #detail .studio-card:nth-child(even)>h3{background:#eaf6f4!important;color:#22766e!important}
/* Conversations and email. */
body#officeModernPortal.office-modern #messagesPanel.simplified-inbox>.panelbar{background:linear-gradient(110deg,#fff0e4,#fff8ef 65%,#f2e9fb)!important;border-bottom-color:#ecdacb!important;min-height:48px!important}
body#officeModernPortal.office-modern #messagesPanel.simplified-inbox>.panelbar h2{color:#9a5137!important}
body#officeModernPortal.office-modern #messagesPanel.simplified-inbox .inboxbar{background:#f8f4fc!important;border-bottom-color:#e6dcf1!important}
body#officeModernPortal.office-modern #messagesPanel.simplified-inbox .inboxfilter.active{background:linear-gradient(120deg,#8155bf,#a166b8)!important;color:#fff!important}
body#officeModernPortal.office-modern #messagesPanel.simplified-inbox .thread .avatar{background:linear-gradient(140deg,#b893ef,#8b6dc5)!important;color:#fff!important;border-radius:10px!important;box-shadow:0 3px 7px #6d4b9a1c!important}
body#officeModernPortal.office-modern #messagesPanel.simplified-inbox .inbox-row:nth-child(3n+2) .avatar{background:linear-gradient(140deg,#51cbb9,#298e91)!important}
body#officeModernPortal.office-modern #messagesPanel.simplified-inbox .inbox-row:nth-child(3n) .avatar{background:linear-gradient(140deg,#f0ad7c,#c67d63)!important}
body#officeModernPortal.office-modern #messagesPanel.simplified-inbox .thread.inbox-thread[aria-pressed=true]{background:#f1eafb!important;border-left-color:#9a71d4!important}
body#officeModernPortal.office-modern #messagesPanel.simplified-inbox #conversation{background:radial-gradient(ellipse at 100% 100%,#edf7f5,transparent 70%),#fbf9ff!important}
body#officeModernPortal.office-modern :is(#sendCustom,#emailCompose,.tech-send){background:linear-gradient(120deg,#7255bd,#9b5bb6)!important;color:#fff!important;border-color:#8054b3!important;border-radius:9px!important;box-shadow:0 3px 8px #7950a423!important}
body#officeModernPortal.office-modern #emailPanel.email-workspace{--email-accent:#8752bf;--email-line:#e6ddf0;--email-ink:#473062;--email-muted:#7d6d8a}
body#officeModernPortal.office-modern #emailPanel.email-workspace>.panelbar{background:linear-gradient(110deg,#f1e4ff,#faeff8)!important}
body#officeModernPortal.office-modern #emailPanel.email-workspace .email-toolbar{background:#f8f3fc!important;border-color:#e5dcee!important}
body#officeModernPortal.office-modern #emailPanel.email-workspace .email-folder-chips button.active{background:#eee0fb!important;color:#7e3eaa!important}
body#officeModernPortal.office-modern :is(.op-dialog,dialog:not(.document-dialog)){border-color:#d7c8eb!important;border-radius:15px!important;box-shadow:0 22px 80px #28204438!important}
body#officeModernPortal.office-modern .op-dialog>header{background:linear-gradient(110deg,#f0e9fb,#edf8f5)!important;color:#573782!important;border-bottom-color:#dfd2ee!important}
body#officeModernPortal.office-modern .office-contact-actions button{border-radius:7px!important}
body#officeModernPortal.office-modern .office-contact-actions [data-call],body#officeModernPortal.office-modern [data-work-call]{color:#137b94!important;background:#e3f7fa!important}
body#officeModernPortal.office-modern .office-contact-actions [data-notes]{color:#896326!important;background:#fff2d7!important}
body#officeModernPortal.office-modern .compact-menu-backdrop{background:#22203d66!important;backdrop-filter:blur(3px)}
body#officeModernPortal.office-modern ::-webkit-scrollbar{width:8px;height:8px}
body#officeModernPortal.office-modern ::-webkit-scrollbar-thumb{background:#c9bfdd;border:2px solid #f7f4fc;border-radius:10px}
body#officeModernPortal.office-modern button{transition:background-color .14s,border-color .14s,box-shadow .14s}
body#officeModernPortal.office-modern button:focus-visible{outline:2px solid #a587df!important;outline-offset:2px!important}
}
@media(prefers-reduced-motion:reduce){body#officeModernPortal.office-modern button{transition:none!important}}
@media screen{
body#officeModernPortal.office-modern :is(.acct-tabs,.dispatch-detail-tabs,.compact-record-tabs){border-color:#e3daef!important;background:#faf7fe!important}
body#officeModernPortal.office-modern :is(.acct-tabs,.dispatch-detail-tabs,.compact-record-tabs) button{color:#77638b!important;border-radius:8px 8px 0 0!important}
body#officeModernPortal.office-modern :is(.acct-tabs,.dispatch-detail-tabs,.compact-record-tabs) :is(button.active,button[aria-selected=true],button[aria-pressed=true]){color:#7546ab!important;background:#eee3fc!important;border-bottom-color:#a67bd6!important}
body#officeModernPortal.office-modern :is(.acct-card,.acct-box,.vendor-card,.customer-card,.studio-card,.studio-job-card){border-color:#e2d9ef!important;border-radius:12px!important;box-shadow:0 4px 14px #4a34750a!important}
body#officeModernPortal.office-modern #workPanel #detail :is(.studio-card,.studio-job-card)>h3,body#officeModernPortal.office-modern #workPanel #detail .studio-card>header{background:linear-gradient(110deg,#f0e9fb,#f7f3fc)!important;color:#6a468d!important;border-bottom-color:#e1d6ec!important}
body#officeModernPortal.office-modern #workPanel #detail :is(.studio-card,.studio-job-card):nth-child(2n)>h3{background:linear-gradient(110deg,#e5f6f0,#f4fbf7)!important;color:#287769!important}
body#officeModernPortal.office-modern main>.panel :is(.filters,.dispatch-toolbar,.acct-toolbar){background:#f7f3fc!important;border-color:#e3d9ee!important;border-radius:10px!important}
body#officeModernPortal.office-modern main>.panel :is(.filters,.dispatch-toolbar,.acct-toolbar) :is(button,input,select){border-radius:8px!important;border-color:#ddd2eb!important}
body#officeModernPortal.office-modern .health-metric:nth-child(4n+1){border-top-color:#a47bd4!important;background:#f6f0ff!important}
body#officeModernPortal.office-modern .health-metric:nth-child(4n+2){border-top-color:#56bba2!important;background:#edf9f2!important}
body#officeModernPortal.office-modern .health-metric:nth-child(4n+3){border-top-color:#e8a36e!important;background:#fff4e9!important}
body#officeModernPortal.office-modern .health-metric strong{color:#4d3877!important}
}
@media screen{
body#officeModernPortal.office-modern.office-compact-shell .top .modern-page-heading{flex:0 1 140px!important;max-width:140px!important;min-width:80px!important}
body#officeModernPortal.office-modern .top .modern-page-heading strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body#officeModernPortal.office-modern .top .office-profile>summary{background:#ffffff12!important;border-color:#ffffff25!important;color:#eee8ff!important;border-radius:10px!important}
body#officeModernPortal.office-modern .top .office-profile>summary::after{color:#c9bedf!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list :is(th,td,button,input,select){text-transform:none!important}
body#officeModernPortal.office-modern #workPanel .combined-stages button small{background:#ffffff8a!important;border-radius:5px!important;padding:1px 4px!important;margin-left:5px!important}
body#officeModernPortal.office-modern #workPanel .combined-stages button[aria-pressed=true]{border-color:var(--stage-color)!important;box-shadow:inset 0 -2px var(--stage-color)!important;font-weight:700!important}
body#officeModernPortal.office-modern #workPanel .combined-stage[data-stage=Completed]{background:#e4f2d5;color:#426d2a}
body#officeModernPortal.office-modern #workPanel .combined-stage[data-stage=Quotes]{background:#fff0d8;color:#956227}
body#officeModernPortal.office-modern #workPanel .combined-stage[data-stage="To schedule"]{background:#ffe7f1;color:#a74472}
body#officeModernPortal.office-modern #workPanel .combined-stage[data-stage=Closed]{background:#ece9ef;color:#71677c}
}
@media screen and (max-width:1100px){body#officeModernPortal.office-modern.office-compact-shell .top .modern-page-heading{display:none!important}}

/* prism-phone.css */
/* Prism phone: presentation only; existing call and routing controls remain mounted. */
@media screen{
body.office-phone-open .office-softphone .phone-drawer.wz-classic-phone{--phone-ink:#39304f;--phone-muted:#7a6b8c;--phone-surface:#fff;--phone-key:linear-gradient(140deg,#fff,#f0eafb);--phone-border:#e0d5ee;background:linear-gradient(150deg,#f7f1ff,#edf8f5)!important;border:1px solid #cfc0e6!important;border-radius:18px!important;box-shadow:0 20px 70px #2b204b40!important;font-family:Inter,system-ui,sans-serif!important}
body.office-phone-open .office-softphone .phone-drawer.wz-classic-phone[data-theme=black]{--phone-ink:#eee9fa;--phone-muted:#b3a6cb;--phone-surface:#2c2846;--phone-key:linear-gradient(140deg,#393151,#28253e);--phone-border:#514362;background:linear-gradient(150deg,#27233f,#20363e)!important;border-color:#594c73!important}
body.office-phone-open .office-softphone .wz-classic-phone>.phone-drawer-heading{background:linear-gradient(115deg,#23213f,#383064 65%,#245061)!important;border-bottom:1px solid #ffffff16!important;border-radius:17px 17px 0 0!important;padding:8px 10px!important;min-height:42px!important;color:#f1eaff!important}
body.office-phone-open .office-softphone .wz-classic-phone .phone-drawer-heading h2{color:#f1eaff!important;font-weight:700!important;font-size:12px!important;letter-spacing:.1px}
body.office-phone-open .office-softphone .wz-classic-phone .phone-drawer-heading button{background:#ffffff10!important;color:#e6dcff!important;border:1px solid #ffffff22!important;border-radius:8px!important;box-shadow:none!important}
body.office-phone-open .office-softphone .wz-classic-phone .classic-face{gap:6px!important;padding:9px!important}
body .office-softphone .wz-classic-phone .classic-presence{padding:0 2px!important;align-items:center;font-size:10px!important;color:var(--phone-muted)!important;min-height:16px}
body .office-softphone .wz-classic-phone [data-classic-connection]{color:#15816d!important;font-weight:650!important}
body .office-softphone .wz-classic-phone .classic-screen{position:relative;background:radial-gradient(ellipse at 100% 0,#dcefe9,transparent 65%),linear-gradient(140deg,#f0e8fc,#fcfaff)!important;border:1px solid #ded0ef!important;border-radius:13px!important;padding:10px 8px!important;min-height:96px!important;box-shadow:inset 0 1px #fff!important;overflow:hidden}
body .office-softphone .wz-classic-phone[data-theme=black] .classic-screen{background:radial-gradient(ellipse at 100% 0,#2b5e57,transparent 65%),linear-gradient(140deg,#39304f,#28243e)!important;border-color:#66527f!important;box-shadow:inset 0 1px #ffffff14!important}
body .office-softphone .wz-classic-phone .classic-brand{font-size:19px!important;color:#8554b5!important;letter-spacing:-.6px!important}
body .office-softphone .wz-classic-phone[data-theme=black] .classic-brand{color:#c5a0f4!important}
body .office-softphone .wz-classic-phone .classic-brand span{color:#2b9a8b!important}
body .office-softphone .wz-classic-phone [data-classic-direction]{font-size:8px!important;letter-spacing:1.2px!important;font-weight:700!important;color:var(--phone-muted)!important}
body .office-softphone .wz-classic-phone [data-classic-name]{font-size:20px!important;letter-spacing:-.5px!important}
body .office-softphone .wz-classic-phone [data-classic-number]{font-variant-numeric:tabular-nums;font-size:15px!important;letter-spacing:.3px!important}
body .office-softphone .wz-classic-phone [data-classic-time]{font-variant-numeric:tabular-nums;color:var(--phone-muted)!important}
body .office-softphone[data-state=ringing] .wz-classic-phone .classic-screen{border-color:#ad7bdf!important;box-shadow:0 0 0 3px #b486df22,inset 0 1px #ffffff55!important}
body .office-softphone[data-state=active] .wz-classic-phone .classic-screen{border-color:#6dc9b0!important;box-shadow:0 0 0 3px #54bd9b1a!important}
body .office-softphone[data-state=error] .wz-classic-phone .classic-screen{border-color:#dd879e!important}
body .office-softphone .wz-classic-phone button{background:var(--phone-key)!important;border:1px solid var(--phone-border)!important;border-radius:8px!important;color:var(--phone-ink)!important;box-shadow:0 2px 3px #37224f06,inset 0 1px #ffffff50!important;font-family:Inter,system-ui,sans-serif!important;transition:background .12s,box-shadow .12s,border-color .12s}
body .office-softphone .wz-classic-phone button:hover:enabled{border-color:#ad8bce!important;box-shadow:0 2px 8px #7a50a51f!important}
body .office-softphone .wz-classic-phone button:focus-visible{outline:2px solid #a27add!important;outline-offset:2px!important}
body .office-softphone .wz-classic-phone button:disabled{opacity:.38!important;box-shadow:none!important}
body .office-softphone .wz-classic-phone .classic-lines{gap:4px!important}
body .office-softphone .wz-classic-phone .phone-line-key{border-radius:7px!important;font-size:9px!important;min-height:28px!important}
body .office-softphone .wz-classic-phone .phone-line-key[data-line-state=active]{background:linear-gradient(140deg,#c9f4e5,#9bddc5)!important;color:#125c4a!important;border-color:#7ac9ab!important;box-shadow:inset 0 -2px #329b79!important}
body .office-softphone .wz-classic-phone .phone-line-key[data-line-state=held]{background:linear-gradient(140deg,#fff0ce,#f1c98f)!important;color:#825116!important;border-color:#e7b56e!important;box-shadow:inset 0 -2px #cd9139!important}
body .office-softphone .wz-classic-phone .phone-line-key[data-line-state=ringing]{background:linear-gradient(140deg,#e5d6ff,#c9a7ef)!important;color:#643994!important;border-color:#b48bda!important;box-shadow:inset 0 -2px #9a69c5!important}
body .office-softphone .wz-classic-phone .classic-number{gap:5px!important}
body .office-softphone .wz-classic-phone .classic-number :is(input,select){height:31px!important;background:var(--phone-surface)!important;color:var(--phone-ink)!important;border:1px solid var(--phone-border)!important;border-radius:8px!important;padding:5px 7px!important;font-size:11px!important}
body .office-softphone .wz-classic-phone .classic-keypad .phone-keypad{gap:5px!important}
body .office-softphone .wz-classic-phone .classic-keypad .phone-keypad button{border-radius:10px!important;min-height:40px!important;font-size:20px!important;font-weight:550!important;color:var(--phone-ink)!important}
body .office-softphone .wz-classic-phone .classic-keypad .phone-keypad button small{color:var(--phone-muted)!important;font-size:8px!important;letter-spacing:1px!important;margin-top:2px!important}
body .office-softphone .wz-classic-phone .classic-keypad .phone-keypad button:hover:enabled{background:linear-gradient(140deg,#eee3ff,#e5f5ee)!important;color:#64408b!important}
body .office-softphone .wz-classic-phone .classic-functions{gap:5px!important}
body .office-softphone .wz-classic-phone .classic-functions button{font-weight:650!important;min-height:30px!important}
body .office-softphone .wz-classic-phone [data-classic-function=hold]{background:#fff0d8!important;color:#916023!important;border-color:#ecd2a6!important}
body .office-softphone .wz-classic-phone [data-classic-function=transfer]{background:#e9e1fa!important;color:#7a4dac!important;border-color:#d5c0e9!important}
body .office-softphone .wz-classic-phone [data-classic-function=conference]{background:#e1effc!important;color:#4d74a9!important;border-color:#bcd2ed!important}
body .office-softphone .wz-classic-phone .classic-call-buttons{gap:5px!important}
body .office-softphone .wz-classic-phone :is([data-dial],[data-phone=answer],[data-draft-send]){background:linear-gradient(120deg,#2ab898,#118a79)!important;border-color:#189d83!important;color:#fff!important;font-weight:750!important;box-shadow:0 3px 9px #239f7e20!important}
body .office-softphone .wz-classic-phone :is([data-phone=end],[data-phone=decline]){background:linear-gradient(120deg,#e9758c,#cc4d70)!important;border-color:#cd5878!important;color:#fff!important;font-weight:700!important}
body .office-softphone .wz-classic-phone [data-phone=mute][aria-pressed=true]{background:#f0dcf7!important;color:#974b9d!important;border-color:#d7acd9!important}
body .office-softphone .wz-classic-phone .classic-call-buttons button{min-height:34px!important;border-radius:10px!important}
body .office-softphone .wz-classic-phone .classic-incoming{gap:7px!important;margin:5px 0!important}
body .office-softphone .wz-classic-phone .classic-incoming button{min-height:44px!important;border-radius:11px!important;font-size:15px!important}
body .office-softphone .wz-classic-phone .classic-speed-keys{gap:4px!important}
body .office-softphone .wz-classic-phone .classic-speed-keys button{background:#e9e3f7!important;color:#705099!important;border-color:#dccfed!important;border-radius:7px!important}
body .office-softphone .wz-classic-phone .classic-speed-keys button[aria-pressed=true]{background:#d9c5f2!important;border-color:#b28bda!important;color:#603a8b!important}
body .office-softphone .wz-classic-phone .classic-person-actions{gap:4px!important}
body .office-softphone .wz-classic-phone .classic-face>footer{gap:4px!important;border-top:1px solid var(--phone-border)!important;padding-top:7px!important;margin-top:1px!important}
body .office-softphone .wz-classic-phone .classic-face>footer button{background:transparent!important;box-shadow:none!important;border-color:transparent!important;color:var(--phone-muted)!important;font-size:9px!important}
body .office-softphone .wz-classic-phone .classic-face>footer button:hover:enabled{background:#a48ace16!important;color:var(--phone-ink)!important}
body .office-softphone .wz-classic-phone .classic-overlay{background:var(--phone-surface)!important;color:var(--phone-ink)!important;padding:10px!important;overflow:auto!important}
body .office-softphone .wz-classic-phone .classic-overlay>header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:2px 0 9px;border-bottom:1px solid var(--phone-border);margin-bottom:9px;color:var(--phone-ink)}
body .office-softphone .wz-classic-phone .compact-draft :is(input,select,textarea){border-color:var(--phone-border)!important;border-radius:8px!important;background:var(--phone-surface)!important;color:var(--phone-ink)!important}
body .office-softphone .wz-classic-phone button.compact-recent{border-radius:5px!important;color:var(--phone-ink)!important}
body .office-softphone .wz-classic-phone button.compact-recent:hover:enabled{background:#aa8bd51c!important}
body .office-softphone .wz-classic-phone .desk-person{border-color:var(--phone-border)!important;border-radius:9px!important;background:var(--phone-surface)!important;color:var(--phone-ink)!important}
body .office-softphone .wz-classic-phone .desk-person strong{color:var(--phone-ink)!important}
body.classic-phone-enabled .classic-mini{background:linear-gradient(115deg,#292340,#393361,#24525c)!important;border:1px solid #81719f!important;border-radius:13px!important;box-shadow:0 10px 30px #251e4733!important;padding:7px 9px!important;color:#eee7ff!important}
body.classic-phone-enabled .classic-mini button{background:#ffffff12!important;border-color:#ffffff22!important;border-radius:8px!important;color:#eee7ff!important;padding:6px 8px!important}
body.classic-phone-enabled .classic-mini [data-mini-classic=end]{background:#c95576!important;color:#fff!important;border-color:#d87993!important}
body.classic-phone-enabled .classic-mini [data-mini-classic=answer]{background:#219f88!important;color:#fff!important;border-color:#59c5ab!important}
body.classic-phone-enabled .classic-mini [data-mini-classic=hold]{color:#ffda9b!important}
body .office-softphone .phone-toolbar-actions{background:linear-gradient(110deg,#2c2949,#35355e,#254a57)!important;border:1px solid #6f668c!important;border-radius:13px!important;box-shadow:0 6px 22px #30264924!important;padding:5px!important}
body .office-softphone .phone-toolbar-actions button{background:#ffffff0c!important;border:1px solid #ffffff1e!important;color:#e9e3f8!important;border-radius:8px!important}
body .office-softphone .phone-toolbar-actions [data-phone=enable]{background:#279e8a!important;border-color:#49b7a1!important;color:white!important}
body .office-softphone .phone-toolbar-actions [data-open-messages]{background:#b87cdb20!important;color:#edceff!important}
body .office-softphone .phone-toolbar-actions [data-open-call]{background:#3bc3a217!important;color:#b7eddb!important}
}
@media screen and (max-height:720px){body .office-softphone .wz-classic-phone .classic-face{gap:4px!important;padding:7px!important}body .office-softphone .wz-classic-phone .classic-screen{min-height:76px!important;padding:6px!important}body .office-softphone .wz-classic-phone .classic-keypad .phone-keypad button{min-height:31px!important;font-size:18px!important}body .office-softphone .wz-classic-phone .classic-face>footer{padding-top:4px!important}}
@media(prefers-reduced-motion:reduce){body .office-softphone .wz-classic-phone button{transition:none!important}}
@media screen{
body.office-phone-open .office-softphone .phone-drawer.wz-classic-phone{height:min(660px,calc(100dvh - 24px))!important}
body.office-phone-open .office-softphone .wz-classic-phone .classic-incoming [data-phone=answer]{background:linear-gradient(120deg,#2ab898,#118a79)!important;color:#fff!important;border-color:#169b81!important}
body.office-phone-open .office-softphone .wz-classic-phone .classic-incoming [data-phone=decline]{background:linear-gradient(120deg,#e9758c,#cc4d70)!important;color:#fff!important;border-color:#cd5878!important}
body .office-softphone[data-state=ringing] .wz-classic-phone .phone-line-key[data-line-state=active]{background:linear-gradient(140deg,#e5d6ff,#c9a7ef)!important;color:#643994!important;border-color:#b48bda!important;box-shadow:inset 0 -2px #9a69c5!important}
body .office-softphone .wz-classic-phone[data-theme=black] [data-classic-connection]{color:#79dec2!important}
}
@media screen and (max-height:720px){body .office-softphone .wz-classic-phone .classic-face{gap:3px!important;padding:6px!important}body .office-softphone .wz-classic-phone .classic-screen{min-height:72px!important}body .office-softphone .wz-classic-phone .classic-keypad .phone-keypad{gap:4px!important}}

/* job-workspace.css */
.work-priority-views{display:flex;gap:6px;overflow-x:auto;padding:7px 0}.work-priority-views button{white-space:nowrap;border-radius:12px!important;background:#f1edff!important;color:#5e3b94!important;border:1px solid #dfd2f6!important}.work-priority-views button[aria-pressed=true]{background:#5f3e98!important;color:white!important}.work-priority-views b{margin-left:5px}.work-action-context{display:grid;gap:3px;padding-top:5px;font-size:11px}.work-next-action{text-align:left!important;white-space:normal!important;height:auto!important;min-height:0!important;padding:3px 5px!important;background:#fff0d9!important;color:#87500b!important;border-radius:5px!important;font-size:11px!important}.work-overdue{color:#b42332!important}.combined-work-list tr[data-priority=attention]>td:first-child{border-left:3px solid #db9b35!important}
body#officeModernPortal.office-modern #workPanel #detail.job-command-workspace[data-record-view=details]>.job-command-summary,body#officeModernPortal.office-modern #workPanel #detail.job-command-workspace[data-record-view=details]>.job-expandable-workspace{display:block!important;order:1!important}
body#officeModernPortal.office-modern #workPanel #detail.job-command-workspace>:not(.worktitle,.job-command-summary,.job-expandable-workspace,dialog,.record-save-issue){display:none!important}
.job-command-summary{padding:10px!important;background:linear-gradient(110deg,#eef9f7,#f4edff)!important;border-radius:10px;border:1px solid #d8d9ee}.job-command-facts{display:grid;grid-template-columns:1fr 2fr 1.4fr auto;gap:12px;align-items:center}.job-command-facts small{display:block;font-size:10px;color:#6f7186;text-transform:uppercase}.job-command-facts strong{font-size:12px}.job-next-button{background:#167f82!important;color:#fff!important;border-radius:8px!important}.job-section-jumps{display:flex;gap:5px;overflow:auto;margin-top:9px}.job-section-jumps button{white-space:nowrap;font-size:11px!important;border-radius:7px!important}
.job-expandable-workspace{padding:0!important}.job-expand-section{border:1px solid #dcdcec!important;border-radius:10px!important;background:var(--modern-paper,#fff)!important;margin:8px 0!important;overflow:visible!important}.job-expand-section>summary{cursor:pointer;font-weight:650;padding:12px!important;font-size:13px;background:#f1ecfc;color:#603b95;border-radius:10px}.job-expand-section:nth-child(3n+2)>summary{background:#e4f5f2;color:#1c7774}.job-expand-section:nth-child(3n)>summary{background:#fff0dd;color:#946225}.job-expand-body{padding:10px!important;min-width:0}.job-expand-section:not([open])>.job-expand-body{display:none!important}
body#officeModernPortal.office-modern #workPanel #detail.job-command-workspace .job-expand-body>.inline-entry-group{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;padding:0!important}
body#officeModernPortal.office-modern #workPanel #detail.job-command-workspace .job-expand-body>.compact-record-billing{display:flex!important;flex-wrap:wrap!important;gap:7px!important}.job-expand-body .compact-record-billing>.work-section-charges{flex:1 0 100%}.job-expand-body>[data-dispatch-pane=Insurance]{display:block!important}.job-expand-body>.compact-dispatch-strip{display:flex!important;flex-wrap:wrap!important}.job-expand-body>.activity-workspace{display:block!important}
body#officeModernPortal.office-modern #workPanel #detail.job-command-workspace .compact-activity-popup:not([hidden]){position:relative!important;inset:auto!important;transform:none!important;width:100%!important;max-width:none!important;max-height:none!important;box-shadow:none!important;display:flex!important;min-height:280px!important}.job-command-workspace .compact-activity-popup .activity-drag-handle{cursor:default}.job-task-tools{display:flex;gap:6px}.job-task-row{display:grid!important;grid-template-columns:2fr 1.3fr 1fr!important;gap:8px!important;width:100%;text-align:left!important;padding:10px!important;margin:5px 0!important;background:#f5f6fc!important}.job-task-row small{font-size:11px!important}
@media(max-width:700px){.job-command-facts{grid-template-columns:1fr 1fr}.job-command-facts>div:nth-child(2){grid-column:1/-1;grid-row:2}.job-task-row{grid-template-columns:1fr!important}body#officeModernPortal.office-modern #workPanel #detail.job-command-workspace .job-expand-body>.inline-entry-group{grid-template-columns:1fr!important}}
body#officeModernPortal.office-modern #workPanel #detail.job-command-workspace .job-expandable-workspace>.job-expand-section>summary{padding:11px 12px!important;min-height:40px!important;font-size:13px!important;line-height:18px!important;font-weight:650!important;list-style-position:inside!important}
body#officeModernPortal.office-modern #workPanel #detail.job-command-workspace .job-section-jumps{flex-wrap:wrap!important;overflow:visible!important}
body#officeModernPortal.office-modern #workPanel #detail.job-command-workspace .job-section-jumps button{border:1px solid #d7d1e7!important;border-radius:8px!important;padding:5px 8px!important;min-height:30px!important;background:#fff!important;color:#60428e!important;font-size:11px!important;font-weight:550!important;box-shadow:none!important}
body#officeModernPortal.office-modern #workPanel #detail.job-command-workspace .job-next-button{border:0!important;padding:8px 10px!important;min-height:32px!important;font-size:11px!important}
body#officeModernPortal.office-modern #workPanel .work-priority-views{position:relative!important;z-index:3!important;min-height:42px!important;margin:0 0 4px!important;flex-wrap:wrap!important;overflow:visible!important}
body#officeModernPortal.office-modern #workPanel .work-priority-views button{padding:5px 9px!important;min-height:30px!important;font-size:11px!important;box-shadow:none!important}
@media print{.job-section-jumps,.job-task-tools,.work-priority-views{display:none!important}.job-expand-section>.job-expand-body{display:block!important}}
body#officeModernPortal.office-modern #workPanel #detail.job-command-workspace .job-task-tools button{border:1px solid #cfc9e1!important;border-radius:8px!important;padding:7px 10px!important;min-height:34px!important;font:600 12px/1.3 system-ui!important;background:#f2edfc!important;color:#674194!important;box-shadow:none!important}
body#officeModernPortal.office-modern #workPanel #detail.job-command-workspace .job-task-tools [data-job-task-new]{background:#197f80!important;color:#fff!important;border-color:#197f80!important}
body#officeModernPortal.office-modern #workPanel #detail.job-command-workspace .job-task-row{display:grid!important;grid-template-columns:2fr 1.3fr 1fr!important;min-height:54px!important;height:auto!important;border:1px solid #ded9ec!important;border-radius:8px!important;padding:10px!important;white-space:normal!important;align-items:center!important;box-shadow:none!important;font:12px/1.4 system-ui!important}
/* Compact job drawer: preserve original controls and autosave handlers. */
@media screen{
body#officeModernPortal.office-modern.combined-work-enabled #workPanel #detail.compact-work-record.inline-work-entry.job-command-workspace{width:min(620px,calc(100vw - 24px))!important;max-width:620px!important;inset:65px 12px auto auto!important;padding:0 8px 8px!important;gap:5px!important}
body#officeModernPortal.office-modern.combined-work-enabled #workPanel #detail.compact-work-record.inline-work-entry.job-command-workspace.job-panel-expanded{width:min(1100px,calc(100vw - 24px))!important;max-width:1100px!important}
body#officeModernPortal.office-modern #workPanel #detail.job-command-workspace>.worktitle{margin:0 -8px!important;padding:6px 8px!important;gap:4px!important;display:flex!important;flex-wrap:wrap!important;align-items:center!important}
body#officeModernPortal.office-modern #workPanel #detail.job-command-workspace .worktitle :is(h2,h3){font-size:14px!important;line-height:18px!important}
body#officeModernPortal.office-modern #workPanel #detail.job-command-workspace .worktitle :is(button,select){min-height:26px!important;height:26px!important;font-size:10px!important;padding:3px 6px!important;max-width:180px!important}
body#officeModernPortal.office-modern #workPanel #detail.job-command-workspace .job-coordinator{font-size:0!important;gap:0!important;margin:0!important}
body#officeModernPortal.office-modern #workPanel #detail.job-command-workspace .job-coordinator select{max-width:130px!important}
body#officeModernPortal.office-modern #workPanel #detail.job-command-workspace .job-command-summary{padding:6px 8px!important;border-radius:6px!important;margin:0!important}
body#officeModernPortal.office-modern #workPanel #detail.job-command-workspace .job-command-facts{grid-template-columns:1fr 1.8fr 1.4fr auto!important;gap:6px!important;align-items:center!important}
body#officeModernPortal.office-modern #workPanel #detail.job-command-workspace .job-command-facts small{font-size:9px!important;line-height:12px!important}
body#officeModernPortal.office-modern #workPanel #detail.job-command-workspace .job-command-facts strong{font-size:10px!important;line-height:13px!important;display:block!important}
body#officeModernPortal.office-modern #workPanel #detail.job-command-workspace .job-next-button{font-size:10px!important;min-height:26px!important;padding:3px 7px!important}
body#officeModernPortal.office-modern #workPanel #detail.job-command-workspace .job-next-button:after{content:none!important}
body#officeModernPortal.office-modern #workPanel #detail.job-command-workspace .job-section-jumps{margin-top:5px!important}
body#officeModernPortal.office-modern #workPanel #detail.job-command-workspace .job-section-picker{width:100%!important;min-height:27px!important;height:27px!important;padding:3px 7px!important;font-size:11px!important;border:1px solid #d7d1e7!important;background:white!important;border-radius:5px!important}
body#officeModernPortal.office-modern #workPanel #detail.job-command-workspace .job-expand-section{margin:4px 0!important;border-radius:6px!important}
body#officeModernPortal.office-modern #workPanel #detail.job-command-workspace .job-expandable-workspace>.job-expand-section>summary{padding:6px 8px!important;min-height:28px!important;font-size:11px!important;line-height:16px!important;border-radius:5px!important}
body#officeModernPortal.office-modern #workPanel #detail.job-command-workspace .job-expand-body{padding:7px!important}
body#officeModernPortal.office-modern #workPanel #detail.job-command-workspace .job-expand-body>.inline-entry-group{gap:5px 8px!important;border:0!important;padding:0!important}
body#officeModernPortal.office-modern #workPanel #detail.job-command-workspace .job-expand-body>.inline-entry-group[data-entry-section=customer]>h4{display:none!important}
body#officeModernPortal.office-modern #workPanel #detail.job-command-workspace .inline-entry-group label{font-size:10px!important;line-height:13px!important;gap:2px!important;margin:0!important}
body#officeModernPortal.office-modern #workPanel #detail.job-command-workspace .inline-entry-group :is(input:not([type=checkbox]):not([type=radio]),select){height:28px!important;min-height:28px!important;padding:4px 6px!important;font-size:12px!important}
}
@media screen and (max-width:520px){body#officeModernPortal.office-modern #workPanel #detail.job-command-workspace .job-command-facts{grid-template-columns:1fr 2fr!important}.job-command-facts>div:nth-child(2){grid-column:auto!important;grid-row:auto!important}}

body#officeModernPortal.office-modern #workPanel #detail.job-command-workspace .job-section-jumps{display:flex!important;flex-wrap:nowrap!important;gap:5px!important}
body#officeModernPortal.office-modern #workPanel #detail.job-command-workspace .job-section-picker{flex:1!important;min-width:0!important;width:auto!important}
body#officeModernPortal.office-modern #workPanel #detail.job-command-workspace .job-panel-expand{font-size:10px!important;min-height:27px!important;padding:3px 7px!important;flex:none!important}
body#officeModernPortal.office-modern #workPanel #detail.job-command-workspace .worktitle>.mockup-record-line{display:grid!important;grid-template-columns:minmax(0,1fr) 110px auto!important;gap:5px!important;width:100%!important;align-items:center!important}
body#officeModernPortal.office-modern #workPanel #detail.job-command-workspace .mockup-record-line>h3{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
body#officeModernPortal.office-modern #workPanel #detail.job-command-workspace .mockup-record-line>.job-location-status{width:auto!important;min-width:0!important;margin:0!important}
body#officeModernPortal.office-modern #workPanel #detail.job-command-workspace .mockup-record-line>.mockup-record-right{grid-column:auto!important;flex-wrap:nowrap!important;width:auto!important;gap:4px!important;margin:0!important}
body#officeModernPortal.office-modern #workPanel #detail.job-command-workspace .worktitle .job-coordinator select{width:100px!important;max-width:100px!important}
body#officeModernPortal.office-modern #workPanel #detail.job-command-workspace .worktitle .mockup-record-actions{margin:0!important;padding:0!important;gap:4px!important;min-height:26px!important}
@media(max-width:520px){body#officeModernPortal.office-modern #workPanel #detail.job-command-workspace .worktitle>.mockup-record-line{grid-template-columns:minmax(0,1fr) 100px!important}body#officeModernPortal.office-modern #workPanel #detail.job-command-workspace .mockup-record-line>.mockup-record-right{grid-column:1/-1!important}}
/* Keep sideways section tabs visible while only the selected panel scrolls. */
@media screen{
body#officeModernPortal.office-modern #workPanel #detail.job-command-workspace.job-tabbed-workspace{display:grid!important;grid-template-rows:auto auto minmax(0,1fr)!important;overflow:hidden!important;height:calc(100dvh - 126px)!important;max-height:calc(100dvh - 126px)!important}
body#officeModernPortal.office-modern #workPanel #detail.job-tabbed-workspace>.job-command-summary{position:relative!important;order:0!important;padding-right:8px!important}
body#officeModernPortal.office-modern #workPanel #detail.job-tabbed-workspace>.job-expandable-workspace{min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain;order:0!important}
body#officeModernPortal.office-modern #workPanel #detail.job-tabbed-workspace .job-section-jumps{display:flex!important;flex-wrap:wrap!important;overflow:visible!important;gap:4px!important;padding-right:0!important}
body#officeModernPortal.office-modern #workPanel #detail.job-tabbed-workspace .job-section-tab{flex:1 0 auto!important;font-size:10px!important;min-height:28px!important;padding:4px 7px!important}
body#officeModernPortal.office-modern #workPanel #detail.job-tabbed-workspace .job-section-tab[aria-selected=true]{background:#63469b!important;color:white!important;border-color:#63469b!important;box-shadow:inset 0 -2px 0 #a8e6db!important}
body#officeModernPortal.office-modern #workPanel #detail.job-tabbed-workspace .job-section-tab:focus-visible{outline:2px solid #168c92!important;outline-offset:1px}
body#officeModernPortal.office-modern #workPanel #detail.job-tabbed-workspace .job-expand-section>summary{display:none!important}
body#officeModernPortal.office-modern #workPanel #detail.job-tabbed-workspace .job-expand-section[hidden]{display:none!important}
body#officeModernPortal.office-modern #workPanel #detail.job-tabbed-workspace .job-panel-expand{position:absolute!important;right:8px;top:4px}
body#officeModernPortal.office-modern #workPanel #detail.job-tabbed-workspace .job-command-facts{padding-right:58px!important}
}
/* Approved studio layout: one navigation row, original forms, visible insurance actions. */
@media screen{
body#officeModernPortal.office-modern.combined-work-enabled #workPanel #detail#detail.office-job-studio.job-command-workspace{inset:76px 16px 70px 290px!important;width:auto!important;max-width:none!important;height:auto!important;max-height:none!important;background:#f7f8fc!important;border:1px solid #dde2ed!important;border-radius:12px!important;box-shadow:0 12px 40px #17223b25!important;padding:0 18px 16px!important;gap:0!important;grid-template-rows:auto auto minmax(0,1fr)!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .worktitle{background:#fff!important;border-bottom:0!important;padding:18px 18px 8px!important;margin:0 -18px!important;box-shadow:none!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .worktitle h3{font:700 23px/1.25 system-ui!important;color:#18243b!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .studio-vehicle-line{font:400 13px/1.4 system-ui!important;margin:5px 0 0!important;color:#66728a!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .mockup-record-line{grid-template-columns:minmax(0,1fr) 120px auto!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .worktitle .mockup-record-actions{background:#fff!important;border:0!important;justify-content:flex-end!important;margin-top:4px!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .job-command-summary{background:#fff!important;border:0!important;border-radius:0!important;padding:0 0 14px!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .job-command-facts{display:none!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .job-panel-expand{display:none!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .job-section-jumps{flex-wrap:nowrap!important;overflow-x:auto!important;gap:5px!important;margin:0 0 16px!important;border-bottom:1px solid #dce1eb!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .job-section-tab{flex:1 0 auto!important;border:0!important;border-radius:0!important;padding:12px 8px!important;font:500 12px system-ui!important;color:#4d586e!important;background:transparent!important;box-shadow:none!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .job-section-tab[aria-selected=true]{color:#6b32ad!important;border-bottom:3px solid #6b32ad!important;background:transparent!important;box-shadow:none!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .studio-primary-actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .studio-primary-actions[hidden]{display:none!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .studio-primary-actions button{border:1px solid #6b32ad!important;color:#6b32ad!important;background:#fff!important;min-height:40px!important;border-radius:7px!important;font:600 12px system-ui!important;padding:8px!important;white-space:normal!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .studio-primary-actions .studio-primary-payment{background:#087e81!important;color:#fff!important;border-color:#087e81!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio>.job-expandable-workspace{display:grid!important;grid-template-columns:minmax(0,1fr) 260px!important;gap:16px!important;padding-top:14px!important;align-content:start!important;align-items:start!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .job-expand-section{grid-column:1!important;grid-row:1!important;margin:0!important;border:1px solid #dde2ed!important;background:#fff!important;border-radius:9px!important;min-width:0!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .job-expand-body{padding:14px!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .studio-job-summary{grid-column:2!important;grid-row:1!important;display:grid!important;gap:12px!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .studio-summary-card{background:#fff!important;border:1px solid #dde2ed!important;border-radius:9px!important;padding:14px!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .studio-summary-card h3{font:650 15px system-ui!important;color:#1c273b!important;margin:0 0 12px!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .studio-summary-row{display:flex!important;justify-content:space-between!important;align-items:start!important;gap:12px!important;padding:9px 0!important;border-bottom:1px solid #edf0f5!important;font:12px/1.4 system-ui!important;color:#637088!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .studio-summary-row strong{color:#1d293f!important;text-align:right!important;overflow-wrap:anywhere!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .studio-summary-note{background:#edf4ff!important;border-radius:6px!important;color:#435774!important;font:11px/1.5 system-ui!important;padding:9px!important;margin:10px 0 0!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .claim-summary{padding:8px 0!important;background:#fff!important;border:0!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .claim-field-grid{gap:10px 14px!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .claim-field-grid label{font-size:11px!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .claim-field-grid :is(input,select){height:34px!important;min-height:34px!important;font-size:12px!important;border-radius:5px!important}
}
@media screen and (max-width:1100px){body#officeModernPortal.office-modern.combined-work-enabled #workPanel #detail#detail.office-job-studio.job-command-workspace{left:20px!important}body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio>.job-expandable-workspace{grid-template-columns:minmax(0,1fr) 220px!important}}
@media screen and (max-width:760px){body#officeModernPortal.office-modern.combined-work-enabled #workPanel #detail#detail.office-job-studio.job-command-workspace{inset:65px 6px 65px!important;padding:0 10px 10px!important}body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio>.job-expandable-workspace{grid-template-columns:1fr!important}body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .studio-job-summary{grid-column:1!important;grid-row:2!important}body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .studio-primary-actions{gap:5px!important}}

@media screen{body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .studio-summary-row strong{flex:0 1 auto!important;min-width:74px!important;word-break:normal!important;overflow-wrap:normal!important;text-transform:none!important}body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .studio-summary-row:first-of-type strong{white-space:nowrap!important}body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .studio-vehicle-line{margin:0 0 8px!important;color:#65718a!important;font:400 12px/1.4 system-ui!important}}

@media screen {
body#officeModernPortal.office-modern #workPanel #detail#detail .job-glass-lookup{display:block!important;background:var(--modern-paper,#fff);border:1px solid var(--modern-line,#dde2ed);border-radius:8px;padding:12px;margin-bottom:12px;min-width:0}
body#officeModernPortal.office-modern #workPanel #detail#detail .job-glass-lookup header{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:10px}
body#officeModernPortal.office-modern #workPanel #detail#detail .job-glass-lookup h3{font:650 14px system-ui;margin:0}
body#officeModernPortal.office-modern #workPanel #detail#detail .job-glass-identifiers{display:grid!important;grid-template-columns:minmax(190px,1.5fr) minmax(160px,1.2fr) minmax(130px,1fr) minmax(110px,.8fr);gap:10px;align-items:start}
body#officeModernPortal.office-modern #workPanel #detail#detail .job-glass-identifiers :is(.page-fitment-field,.job-plate-field){display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:5px;min-width:0;margin:0!important;font-size:12px}
body#officeModernPortal.office-modern #workPanel #detail#detail .job-glass-identifiers :is(input,.work-plate-reference){width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box;min-height:36px!important;margin:0!important;text-transform:none}
body#officeModernPortal.office-modern #workPanel #detail#detail .job-glass-identifiers .compact-lookup-field{width:100%;min-width:0}
body#officeModernPortal.office-modern #workPanel #detail#detail .job-glass-lookup-status{font:12px/1.5 system-ui;color:var(--modern-muted,#637088);margin:10px 0 0;text-transform:none!important}
body#officeModernPortal.office-modern #workPanel #detail#detail .job-glass-lookup [data-lookup-field=pagePartNumber] input{font-family:ui-monospace,monospace}
}
@media screen and (max-width:1200px){body#officeModernPortal.office-modern #workPanel #detail#detail .job-glass-identifiers{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media screen and (max-width:480px){body#officeModernPortal.office-modern #workPanel #detail#detail .job-glass-identifiers{grid-template-columns:minmax(0,1fr)}body#officeModernPortal.office-modern #workPanel #detail#detail .job-glass-lookup header button{width:100%}}

@media screen {
body#officeModernPortal.office-modern #workPanel #detail#detail .job-glass-lookup :is(#editVin,#pagePartNumber,#pagePartCost){width:100%!important;font-size:12px!important;height:36px!important;padding:6px!important}
body#officeModernPortal.office-modern #workPanel #detail#detail #pageSystemCost{display:none!important}
body#officeModernPortal.office-modern #workPanel #detail#detail .page-fitment-field[hidden]{display:none!important}
body#officeModernPortal.office-modern #workPanel #detail#detail .job-glass-identifiers small{text-transform:none!important;font:12px/1.4 system-ui!important}
body#officeModernPortal.office-modern #workPanel #detail#detail .job-glass-lookup header button{border:1px solid var(--modern-line,#dde2ed)!important;border-radius:5px!important;background:#067e83!important;color:white!important;padding:8px 12px!important;min-height:36px!important;font:600 12px system-ui!important}
}

@media screen{body#officeModernPortal.office-modern #workPanel #detail#detail .parts-assignment [data-quick-number]{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}}

/* dispatch-actions.css */
body#officeModernPortal dialog.wb-dialog.wb-dispatch-dialog{box-sizing:border-box!important;width:min(760px,calc(100vw - 32px))!important;max-width:760px!important;max-height:90dvh!important;padding:20px!important;border:1px solid #d5cbea!important;border-radius:18px!important;background:#fbfaff!important;color:#344758!important;font:14px/1.45 Arial,sans-serif!important;overflow:auto!important}
body#officeModernPortal .wb-dispatch-dialog>header{display:flex!important;justify-content:space-between!important;align-items:center!important;margin:0 0 12px!important;padding:0!important;font-size:19px!important;color:#57408a!important}
body#officeModernPortal .wb-dispatch-dialog .wb-dispatch-form{display:grid!important;gap:12px!important;padding:0!important}
body#officeModernPortal .wb-dispatch-dialog label{font-size:12px!important;display:grid!important;gap:5px!important;color:#536579!important}
body#officeModernPortal .wb-dispatch-dialog :is(input,select,textarea,button){font:14px/1.4 Arial,sans-serif!important;box-sizing:border-box!important;min-width:0!important}
body#officeModernPortal .wb-dispatch-dialog :is(input:not([type=checkbox]),select,textarea){width:100%!important;padding:9px 11px!important;border:1px solid #d4dcea!important;border-radius:9px!important;background:#fff!important;color:#344758!important}
body#officeModernPortal .wb-dispatch-dialog textarea{min-height:126px!important;resize:vertical!important}
body#officeModernPortal .wb-dispatch-dialog :is(.wb-dispatch-intro,.wb-dispatch-context p,.wb-dispatch-result p){margin:0!important}
body#officeModernPortal .wb-dispatch-dialog .wb-dispatch-context{border:1px solid #c7e5e0;border-left:4px solid #168f86;border-radius:10px;padding:12px;background:#edf9f6}
body#officeModernPortal .wb-dispatch-dialog .wb-dispatch-context small{font-size:12px!important;color:#547274}
body#officeModernPortal .wb-dispatch-dialog .wb-job-flags{margin-top:5px!important;color:#926119;font-size:12px}
body#officeModernPortal .wb-dispatch-dialog .wb-playbooks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;border:0;padding:0;margin:0;min-width:0}
body#officeModernPortal .wb-dispatch-dialog .wb-playbooks legend{font-size:12px;font-weight:bold;padding:0;margin-bottom:7px}
body#officeModernPortal .wb-dispatch-dialog .wb-playbooks button{min-height:42px!important;padding:7px!important;border:1px solid #dcd3ed!important;border-radius:9px!important;color:#674397!important;background:#f0eafa!important;text-align:left!important;font-size:12px!important;cursor:pointer}
body#officeModernPortal .wb-dispatch-dialog .wb-playbooks [data-tone=teal]{background:#e5f7f1!important;color:#15756b!important;border-color:#b7e4d9!important}
body#officeModernPortal .wb-dispatch-dialog .wb-playbooks [data-tone=amber]{background:#fff3de!important;color:#916013!important;border-color:#f0d9ac!important}
body#officeModernPortal .wb-dispatch-dialog .wb-playbooks [data-tone=rose]{background:#fce8ef!important;color:#a53760!important;border-color:#edbbce!important}
body#officeModernPortal .wb-dispatch-dialog .wb-playbooks [aria-pressed=true]{outline:2px solid currentColor!important;outline-offset:1px;box-shadow:0 2px 7px #30425422!important;font-weight:bold!important}
body#officeModernPortal .wb-dispatch-dialog .wb-dispatch-result{padding:9px 12px;border-radius:9px;background:#eeeaf7;font-size:12px;color:#5d4b7a}
body#officeModernPortal .wb-dispatch-dialog .wb-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px!important}
body#officeModernPortal .wb-dispatch-dialog .wb-check{display:flex!important;align-items:center!important;gap:8px!important}
body#officeModernPortal .wb-dispatch-dialog [hidden]{display:none!important}
body#officeModernPortal .wb-dispatch-dialog .wb-primary{padding:11px!important;border-radius:9px!important;border:0!important;background:linear-gradient(110deg,#744ac4,#008f8b)!important;color:#fff!important;font-weight:bold!important}
@media(max-width:600px){body#officeModernPortal .wb-dispatch-dialog .wb-playbooks{grid-template-columns:repeat(2,minmax(0,1fr))}body#officeModernPortal .wb-dispatch-dialog .wb-grid{grid-template-columns:1fr!important}body#officeModernPortal .wb-dispatch-dialog :is(input,select,textarea){font-size:16px!important}}

/* work-row-density.css */
/* Restore the dense Work table; actions stay clickable without large banners. */
@media screen{
body#officeModernPortal.office-modern #workPanel .combined-work-list :is(th,td){padding:3px 7px!important;line-height:1.2!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list tbody tr{height:auto!important;min-height:0!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list td{vertical-align:middle!important;font-size:11px!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list .work-action-context{display:flex!important;flex-wrap:wrap!important;align-items:baseline!important;gap:1px 6px!important;padding-top:1px!important;margin:0!important;font-size:9px!important;line-height:12px!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list .work-next-action{display:inline!important;width:auto!important;max-width:100%!important;min-width:0!important;min-height:0!important;height:auto!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#b42332!important;font-size:10px!important;font-weight:400!important;line-height:12px!important;text-align:left!important;white-space:normal!important;text-transform:none!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list .work-next-action:hover{color:#8f1826!important;text-decoration:underline!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list .work-next-action:focus-visible{outline:2px solid #8861c2!important;outline-offset:2px!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list .work-context-owner[data-unassigned=true],body#officeModernPortal.office-modern #workPanel .combined-work-list .work-action-context [hidden]{display:none!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list .work-action-context :is(span,small){font-size:9px!important;line-height:12px!important;margin:0!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list .work-website-state{color:#7a708d!important;white-space:nowrap!important}
body#officeModernPortal.office-modern #workPanel .combined-toolbar{gap:4px!important;padding-bottom:4px!important}
body#officeModernPortal.office-modern #workPanel .combined-toolbar :is(button,input,select){min-height:27px!important;padding:4px 7px!important;font-size:11px!important}
body#officeModernPortal.office-modern #workPanel .work-priority-views{min-height:0!important;gap:4px!important;padding:3px 0!important;margin-bottom:3px!important}
body#officeModernPortal.office-modern #workPanel .work-priority-views button,body#officeModernPortal.office-modern #workPanel .combined-stages button{min-height:26px!important;padding:4px 7px!important;font-size:10px!important;border-radius:6px!important}
body#officeModernPortal.office-modern #workPanel .combined-stages{gap:4px!important;margin-bottom:4px!important;padding-bottom:2px!important}
}

@media screen{
body#officeModernPortal.office-modern #workPanel .combined-work-list table{width:100%!important;min-width:760px!important;table-layout:fixed!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list :is(th,td)[data-column="2"]{display:none!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list th{font-size:10px!important;white-space:normal!important}
body#officeModernPortal.office-modern #workPanel .work-vehicle-stack{display:flex!important;flex-direction:column!important;gap:0!important;min-width:0!important;line-height:12px!important}
body#officeModernPortal.office-modern #workPanel .work-vehicle-stack .work-vehicle-make{font-size:10px!important;line-height:12px!important;overflow-wrap:anywhere!important}
body#officeModernPortal.office-modern #workPanel .work-vehicle-stack strong{font-size:11px!important;font-weight:500!important;line-height:13px!important;white-space:normal!important;overflow-wrap:anywhere!important}
body#officeModernPortal.office-modern #workPanel .work-vehicle-stack small{font-size:9px!important;line-height:10px!important;white-space:normal!important;overflow-wrap:anywhere!important}
body#officeModernPortal.office-modern #workPanel .work-dispatch-stack{display:flex!important;flex-direction:column!important;gap:2px!important;min-width:0!important}
body#officeModernPortal.office-modern #workPanel .work-dispatch-stack .work-dispatch-button{display:flex!important;align-items:baseline!important;gap:5px!important;min-height:0!important;height:auto!important;min-width:0!important;max-width:100%!important;width:100%!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;margin:0!important;padding:0!important;text-align:left!important;line-height:13px!important}
body#officeModernPortal.office-modern #workPanel .work-dispatch-button>span{width:25px!important;flex:none!important;font-size:9px!important;color:#8a8199!important}
body#officeModernPortal.office-modern #workPanel .work-dispatch-button>b{min-width:0!important;font-size:10px!important;font-weight:400!important;color:#5d4d76!important;white-space:normal!important;overflow-wrap:anywhere!important;line-height:13px!important}
body#officeModernPortal.office-modern #workPanel .work-dispatch-button:hover>b{text-decoration:underline!important}
body#officeModernPortal.office-modern #workPanel .work-dispatch-button:focus-visible{outline:2px solid #8861c2!important;outline-offset:2px!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list td[data-column="4"]{white-space:normal!important;overflow-wrap:anywhere!important;font-size:10px!important}
}

@media screen{
body#officeModernPortal.office-modern #workPanel .combined-work-list .work-list-contact{flex-wrap:nowrap!important;overflow:hidden!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list .combined-customer-location{height:18px!important;min-height:0!important;max-width:none!important;line-height:18px!important;flex:1 1 auto!important;margin-left:auto!important;overflow:hidden!important}
}

@media screen{body#officeModernPortal.office-modern #workPanel .work-vehicle-stack small{display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden!important}body#officeModernPortal.office-modern #workPanel .work-vehicle-stack strong{display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden!important}}

/* portal-consistency.css */
/* Shared compact visual language. Screen-only: printed documents retain their layout. */
@media screen{
body#officeModernPortal.office-modern.office-compact-shell{--office-font:Arial,system-ui,sans-serif;--office-text:11px;--office-caption:10px;--office-control:28px;--office-radius:5px;--office-purple:#5d4195;--office-teal:#167f82;--office-border:#e2dced;--office-soft:#faf8ff}
body#officeModernPortal.office-modern.office-compact-shell :is(main>.panel,#messagesPanel,#emailPanel,#workbenchPanel,#schedulePanel,dialog,[role=dialog]){font-family:var(--office-font)!important;font-size:var(--office-text)!important;line-height:1.35!important}
body#officeModernPortal.office-modern.office-compact-shell :is(main>.panel,#messagesPanel,#emailPanel,#workbenchPanel,#schedulePanel,dialog,[role=dialog]) :is(button,input,select,textarea,summary){font-family:var(--office-font)!important;text-transform:none!important;letter-spacing:normal!important}
body#officeModernPortal.office-modern.office-compact-shell :is(main>.panel,#messagesPanel,#emailPanel,#workbenchPanel,#schedulePanel,dialog,[role=dialog]) :is(button,select,input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=file])){font-size:var(--office-text)!important;min-height:var(--office-control)!important;line-height:1.3!important;border-radius:var(--office-radius)!important}
body#officeModernPortal.office-modern.office-compact-shell :is(main>.panel,#messagesPanel,#emailPanel,#workbenchPanel,#schedulePanel,dialog,[role=dialog]) :is(button,select){padding:4px 7px!important}
body#officeModernPortal.office-modern.office-compact-shell :is(main>.panel,#messagesPanel,#emailPanel,#workbenchPanel,#schedulePanel,dialog,[role=dialog]) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),textarea){padding:4px 6px!important;border-color:var(--office-border)!important;box-shadow:none!important}
body#officeModernPortal.office-modern.office-compact-shell :is(main>.panel,#messagesPanel,#emailPanel,#workbenchPanel,#schedulePanel,dialog,[role=dialog]) :is(label,.field>span){font-size:var(--office-caption)!important;line-height:1.3!important;color:#766b88!important}
body#officeModernPortal.office-modern.office-compact-shell :is(main>.panel,#messagesPanel,#emailPanel,#workbenchPanel,#schedulePanel,dialog,[role=dialog]) textarea{font-size:var(--office-text)!important;line-height:1.45!important}
body#officeModernPortal.office-modern.office-compact-shell :is(main>.panel,#messagesPanel,#emailPanel,#workbenchPanel,#schedulePanel,dialog,[role=dialog]) :is(h2,h3,h4){font-family:var(--office-font)!important;text-transform:none!important;letter-spacing:normal!important;line-height:1.3!important}
body#officeModernPortal.office-modern.office-compact-shell :is(main>.panel,#messagesPanel,#emailPanel,#workbenchPanel,#schedulePanel,dialog,[role=dialog]) h2{font-size:15px!important}
body#officeModernPortal.office-modern.office-compact-shell :is(main>.panel,#messagesPanel,#emailPanel,#workbenchPanel,#schedulePanel,dialog,[role=dialog]) h3{font-size:13px!important}
body#officeModernPortal.office-modern.office-compact-shell :is(main>.panel,#messagesPanel,#emailPanel,#workbenchPanel,#schedulePanel,dialog,[role=dialog]) h4{font-size:11px!important}
body#officeModernPortal.office-modern.office-compact-shell :is(main>.panel,#messagesPanel,#emailPanel,#workbenchPanel,#schedulePanel,dialog,[role=dialog]) :is(.panelbar,.studio-card-header){padding:7px 9px!important}
body#officeModernPortal.office-modern.office-compact-shell :is(main>.panel,#messagesPanel,#emailPanel,#workbenchPanel,#schedulePanel,dialog,[role=dialog]) :is(.panelbar p,.muted){font-size:10px!important;line-height:1.35!important}
body#officeModernPortal.office-modern.office-compact-shell :is(main>.panel,#messagesPanel,#emailPanel,#workbenchPanel,#schedulePanel,dialog,[role=dialog]) :is(.studio-card,.coord-dialog,.schedule-quick-panel,.job-expand-section){border-radius:6px!important;border-color:var(--office-border)!important;box-shadow:none!important}
body#officeModernPortal.office-modern.office-compact-shell :is(main>.panel,#messagesPanel,#emailPanel,#workbenchPanel,#schedulePanel,dialog,[role=dialog]) :is(.dispatch-detail-tabs,.activity-filters,.acct-tabs) button{font-size:11px!important;min-height:28px!important}
/* Work detail uses the same 11px body type as its neighboring job rows. */
body#officeModernPortal.office-modern.office-compact-shell #workPanel #detail.compact-work-record.job-command-workspace{font:11px/1.35 var(--office-font)!important;background:var(--office-soft)!important;color:#544665!important}
body#officeModernPortal.office-modern.office-compact-shell #workPanel #detail.compact-work-record.job-command-workspace :is(input,select,textarea,button,summary,label){font-family:var(--office-font)!important;text-transform:none!important;letter-spacing:normal!important}
body#officeModernPortal.office-modern.office-compact-shell #workPanel #detail.compact-work-record.job-command-workspace .inline-entry-group :is(input:not([type=checkbox]):not([type=radio]),select){font:11px/1.3 var(--office-font)!important;height:28px!important;min-height:28px!important;border:1px solid var(--office-border)!important;border-radius:5px!important;background:#fff!important;color:#544665!important;padding:4px 6px!important}
body#officeModernPortal.office-modern.office-compact-shell #workPanel #detail.compact-work-record.job-command-workspace .inline-entry-group label{font:10px/1.3 var(--office-font)!important;color:#766b88!important;gap:2px!important}
body#officeModernPortal.office-modern.office-compact-shell #workPanel #detail.compact-work-record.job-command-workspace .worktitle :is(h2,h3){font:600 14px/1.3 var(--office-font)!important;text-transform:none!important;color:var(--office-purple)!important}
body#officeModernPortal.office-modern.office-compact-shell #workPanel #detail.compact-work-record.job-command-workspace .worktitle :is(button,select){font:11px/1.3 var(--office-font)!important;text-transform:none!important;height:28px!important;min-height:28px!important;border-radius:5px!important}
body#officeModernPortal.office-modern.office-compact-shell #workPanel #detail.compact-work-record.job-command-workspace .job-command-summary{background:#f7f3ff!important;border-color:var(--office-border)!important;padding:6px 8px!important}
body#officeModernPortal.office-modern.office-compact-shell #workPanel #detail.compact-work-record.job-command-workspace .job-command-facts :is(strong,small){text-transform:none!important;font-family:var(--office-font)!important;letter-spacing:normal!important}
body#officeModernPortal.office-modern.office-compact-shell #workPanel #detail.compact-work-record.job-command-workspace .job-command-facts strong{font-size:10px!important;font-weight:500!important;line-height:13px!important}
body#officeModernPortal.office-modern.office-compact-shell #workPanel #detail.compact-work-record.job-command-workspace .job-command-facts small{font-size:9px!important;line-height:12px!important;color:#766b88!important}
body#officeModernPortal.office-modern.office-compact-shell #workPanel #detail.compact-work-record.job-command-workspace .job-command-facts .job-next-button{font:11px/1.3 var(--office-font)!important;min-height:28px!important;padding:4px 8px!important;text-transform:none!important}
body#officeModernPortal.office-modern.office-compact-shell #workPanel #detail.compact-work-record.job-command-workspace .job-next-button:after{content:none!important}
body#officeModernPortal.office-modern.office-compact-shell #workPanel #detail.compact-work-record.job-command-workspace :is(.job-section-picker,.job-panel-expand){font:11px/1.3 var(--office-font)!important;text-transform:none!important;height:28px!important;min-height:28px!important}
body#officeModernPortal.office-modern.office-compact-shell #workPanel #detail.compact-work-record.job-command-workspace .job-expandable-workspace>.job-expand-section>summary{font:600 11px/16px var(--office-font)!important;text-transform:none!important;letter-spacing:normal!important;padding:5px 8px!important;min-height:28px!important}
body#officeModernPortal.office-modern.office-compact-shell #workPanel #detail.compact-work-record.job-command-workspace .job-expand-body{padding:7px!important}
body#officeModernPortal.office-modern.office-compact-shell #workPanel #detail.compact-work-record.job-command-workspace .job-expand-body>.inline-entry-group{gap:5px 8px!important}
body#officeModernPortal.office-modern.office-compact-shell #workPanel #detail.compact-work-record.job-command-workspace :is(.compact-dispatch-strip,.proof-vehicle-summary,.compact-record-billing){font:11px/1.35 var(--office-font)!important;border-radius:5px!important;border-color:var(--office-border)!important}
body#officeModernPortal.office-modern.office-compact-shell #workPanel #detail.compact-work-record.job-command-workspace :is(.compact-dispatch-strip,.proof-vehicle-summary,.compact-record-billing) :is(button,input,select){font:11px/1.3 var(--office-font)!important;min-height:28px!important;text-transform:none!important}
body#officeModernPortal.office-modern.office-compact-shell #workPanel #detail.compact-work-record.job-command-workspace .job-task-row{font:11px/1.35 var(--office-font)!important;padding:6px 8px!important;min-height:40px!important}
/* Do not enlarge inline phone, note or row links to form-control height. */
body#officeModernPortal.office-modern.office-compact-shell #workPanel .combined-work-list tbody :is(button,.work-next-action){min-height:0!important;height:auto!important}
body#officeModernPortal.office-modern.office-compact-shell #workPanel .combined-work-list tbody button{padding:0!important}
body#officeModernPortal.office-modern.office-compact-shell :is(main>.panel,#messagesPanel,#emailPanel,#workbenchPanel,#schedulePanel,dialog,[role=dialog]) :focus-visible{outline:2px solid #9270cd!important;outline-offset:2px!important}
body#officeModernPortal.office-modern.office-compact-shell #messagesPanel.simplified-inbox :is(.inboxbar,.conversation-actions,.inbox-work-filters){gap:5px!important;padding:7px!important}
body#officeModernPortal.office-modern.office-compact-shell :is(#messagesPanel,#emailPanel)>.panelbar{min-height:0!important;padding:7px 9px!important}
body#officeModernPortal.office-modern.office-compact-shell :is(#messagesPanel,#emailPanel) :is(.panelbar h2,.conversation-header h2){font-size:15px!important}
body#officeModernPortal.office-modern.office-compact-shell :is(#messagesPanel,#emailPanel) :is(.conversation-header,.email-detail-header){padding:7px 9px!important}
body#officeModernPortal.office-modern.office-compact-shell #workbenchPanel :is(.wb-task strong,.wb-task>span){font-size:11px!important;line-height:1.35!important}
body#officeModernPortal.office-modern.office-compact-shell #workbenchPanel .wb-task small{font-size:10px!important}
body#officeModernPortal.office-modern.office-compact-shell #schedulePanel table button{height:auto!important;min-height:0!important;padding:0!important}
}
@media screen and (pointer:coarse){body#officeModernPortal.office-modern.office-compact-shell :is(main>.panel,#messagesPanel,#emailPanel,#workbenchPanel,#schedulePanel,dialog,[role=dialog]) :is(button,select,input:not([type=checkbox]):not([type=radio])){min-height:36px!important}body#officeModernPortal.office-modern.office-compact-shell #workPanel #detail.compact-work-record.job-command-workspace .inline-entry-group :is(input:not([type=checkbox]):not([type=radio]),select){min-height:36px!important;height:36px!important}}
@media screen{
body#officeModernPortal.office-modern [data-schedule-tech-contact=text][data-message-state=empty]{color:#788193!important;background:#f0f1f5!important}
body#officeModernPortal.office-modern [data-schedule-tech-contact=text][data-message-state=sent]{color:#16733f!important;background:#e9f8ed!important}
body#officeModernPortal.office-modern [data-schedule-tech-contact=text][data-message-state=received]{color:#9a6200!important;background:#fff3cf!important}
body#officeModernPortal.office-modern [data-schedule-tech-contact=text][data-message-state=failed]{color:#b42318!important;background:#fff0f0!important}
}

/* insurance-claim-workspace.css */
@media screen{
/* This workspace already scrolls inside the job panel. Nested sticky layers
   covered the amounts and made deductible actions appear unresponsive. */
body#officeModernPortal.office-modern #workPanel #detail .claim-workspace .claim-summary,
body#officeModernPortal.office-modern #workPanel #detail .claim-workspace .claim-tabs{position:static!important;top:auto!important}
body#officeModernPortal.office-modern #workPanel #detail .claim-workspace-host{display:block!important;padding:0!important;min-width:0!important}
body#officeModernPortal.office-modern #workPanel #detail .claim-workspace-host>:not(.claim-workspace){display:none!important}
body#officeModernPortal.office-modern #workPanel #detail .claim-workspace{display:block!important;grid-column:1/-1!important;min-width:0!important;background:#fff!important;color:#34485e!important}
body#officeModernPortal.office-modern #workPanel #detail .claim-summary{display:flex!important;flex-wrap:wrap!important;gap:6px 12px!important;padding:10px!important;background:#f5f8fc!important;border:1px solid #dce4ef!important;border-radius:7px!important;position:sticky!important;top:0!important;z-index:2!important}
body#officeModernPortal.office-modern #workPanel #detail .claim-summary>strong{font-size:14px!important;color:#35486a!important}
body#officeModernPortal.office-modern #workPanel #detail .claim-summary>small{flex-basis:100%!important;font-size:10px!important;color:#677d91!important}
.claim-coverage{font-size:10px!important;padding:3px 6px!important;border-radius:4px;background:#edf0f4;color:#66768a}.claim-coverage[data-coverage=verified]{background:#def4e8;color:#14633e}.claim-coverage[data-coverage=pending]{background:#fff0c8;color:#8d5900}.claim-coverage[data-coverage=denied]{background:#fde3e4;color:#b02635}
body#officeModernPortal.office-modern #workPanel #detail .claim-tabs{display:flex!important;gap:0!important;position:sticky!important;top:72px!important;background:white!important;border-bottom:1px solid #dce4ef!important;z-index:2!important;margin:6px 0 0!important;padding:0!important}
body#officeModernPortal.office-modern #workPanel #detail .claim-tabs>button{flex:1!important;min-width:0!important;background:transparent!important;border:0!important;border-bottom:3px solid transparent!important;border-radius:0!important;min-height:34px!important;font-size:12px!important;color:#65758c!important;box-shadow:none!important}
body#officeModernPortal.office-modern #workPanel #detail .claim-tabs>button[aria-selected=true]{color:#54448c!important;border-bottom-color:#7156ad!important;font-weight:650!important}
body#officeModernPortal.office-modern #workPanel #detail .claim-panel{display:block!important;padding:10px 4px!important;min-width:0!important}
body#officeModernPortal.office-modern #workPanel #detail .claim-panel[hidden],body#officeModernPortal.office-modern #workPanel #detail .claim-actions[hidden]{display:none!important}
body#officeModernPortal.office-modern #workPanel #detail .claim-panel>h3{font:650 12px/1.4 system-ui!important;text-transform:none!important;color:#35486a!important;margin:0 0 10px!important;padding:0!important}
body#officeModernPortal.office-modern #workPanel #detail .claim-field-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px 14px!important;min-width:0!important}
body#officeModernPortal.office-modern #workPanel #detail .claim-field-grid>label{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:4px!important;min-width:0!important;width:auto!important;font:11px/1.4 system-ui!important;color:#62748a!important;padding:0!important;margin:0!important}
body#officeModernPortal.office-modern #workPanel #detail .claim-field-grid>label.claim-wide{grid-column:1/-1!important}
body#officeModernPortal.office-modern #workPanel #detail .claim-field-grid label :is(input,select,textarea){display:block!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important;height:34px!important;min-height:34px!important;border:1px solid #d5deeb!important;border-radius:5px!important;background:white!important;font:12px/1.4 system-ui!important;padding:6px 8px!important;color:#34485e!important}
body#officeModernPortal.office-modern #workPanel #detail .claim-field-grid label textarea{height:82px!important;resize:vertical!important}
body#officeModernPortal.office-modern #workPanel #detail .claim-field-grid .insurance-company-picker{max-height:170px;overflow:auto}
body#officeModernPortal.office-modern #workPanel #detail .claim-field-grid .insurance-help{display:none!important}
body#officeModernPortal.office-modern #workPanel #detail .claim-actions{display:flex!important;flex-wrap:wrap!important;gap:6px!important;margin:12px 0!important}
body#officeModernPortal.office-modern #workPanel #detail .claim-actions>button{border:1px solid #d5deeb!important;background:#f7f9fc!important;color:#335878!important;border-radius:5px!important;min-height:32px!important;padding:6px 9px!important;font-size:11px!important;white-space:normal!important}
body#officeModernPortal.office-modern #workPanel #detail .claim-amounts{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:1px!important;background:#dfe6ee!important;border:1px solid #dfe6ee!important;border-radius:6px!important;overflow:hidden!important;margin-top:14px!important}
body#officeModernPortal.office-modern #workPanel #detail .claim-amounts>div{padding:9px!important;background:#f8fafc!important;display:flex!important;flex-direction:column!important;gap:4px!important}.claim-amounts small{font-size:10px!important;color:#6a7c90}.claim-amounts strong{font-size:14px!important;color:#34485e}.claim-warning{color:#a54c20!important;font-size:11px}.claim-hint,.claim-status{font-size:11px!important;line-height:1.5!important;color:#6a7c90!important}.claim-status:empty{display:none}
body#officeModernPortal.office-modern #workPanel #detail .claim-payer-settings{display:block!important;border:1px solid #dce4ef!important;padding:8px!important;margin-top:12px!important;border-radius:6px!important}.claim-payer-settings>summary{font:600 11px system-ui;cursor:pointer}.claim-payer-settings:not([open])>:not(summary){display:none!important}
body#officeModernPortal.office-modern #workPanel #detail .claim-payer-settings .collections-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}.claim-payer-settings input,.claim-payer-settings select{min-width:0!important;width:100%;box-sizing:border-box}.claim-timeline article{border-left:2px solid #d3dce9;padding:5px 10px;margin:9px 0}.claim-timeline small{display:block;font-size:10px;color:#7b8b9c}.claim-timeline p{font-size:11px;white-space:pre-wrap}
.claim-review{width:min(560px,calc(100vw - 36px));max-height:85dvh;overflow:auto;box-sizing:border-box;padding:18px;border:1px solid #dce4ef;border-radius:10px;color:#34485e;background:white;font:13px/1.5 system-ui}.claim-review::backdrop{background:#182b4466;backdrop-filter:blur(3px)}.claim-review header{display:flex;justify-content:space-between;align-items:center;gap:12px}.claim-review h3{font-size:16px;margin:0}.claim-review label{display:block;margin:10px 0}.claim-review input:not([type=checkbox]),.claim-review textarea{box-sizing:border-box;width:100%;padding:8px;border:1px solid #d5deeb;border-radius:5px;font:13px/1.5 system-ui}.claim-review button{padding:8px 12px;background:#edf3f9;color:#335878;border:1px solid #cbd7e6;border-radius:6px;cursor:pointer}.claim-review button[type=submit]{background:#605097;color:white;border-color:#605097}.claim-review [role=status]{color:#a54c20}
}
@media screen{body#officeModernPortal.office-modern #workPanel #detail .claim-field-grid>label{grid-column:auto!important}body#officeModernPortal.office-modern #workPanel #detail .claim-field-grid>label.claim-wide{grid-column:1/-1!important}}

/* Keep signature and deductible tasks visible on every claim subtab. */
@media screen{
body#officeModernPortal.office-modern #workPanel #detail#detail .claim-workspace .claim-service-workflow{display:block!important;border:1px solid #cbdfe0!important;border-radius:8px!important;background:#f5fbfa!important;padding:12px!important;margin:10px 0!important;min-width:0!important;text-transform:none!important}
body#officeModernPortal.office-modern #workPanel #detail#detail .claim-service-workflow h3{font:650 14px/1.4 system-ui!important;margin:0 0 9px!important;text-transform:none!important;color:#1d4850!important}
body#officeModernPortal.office-modern #workPanel #detail#detail .claim-service-steps{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
body#officeModernPortal.office-modern #workPanel #detail#detail .claim-service-step{display:flex!important;flex-direction:column!important;min-width:0!important;padding:10px!important;border:1px solid #d7e3e8!important;border-radius:6px!important;background:#fff!important;text-transform:none!important}
body#officeModernPortal.office-modern #workPanel #detail#detail .claim-service-step[data-complete=true]{border-color:#8dcbb4!important;background:#f2fbf6!important}
body#officeModernPortal.office-modern #workPanel #detail#detail .claim-service-step h4{font:650 13px/1.4 system-ui!important;margin:0 0 5px!important;text-transform:none!important;color:#234551!important}
body#officeModernPortal.office-modern #workPanel #detail#detail .claim-service-step :is(p,label,small){font:12px/1.4 system-ui!important;text-transform:none!important;color:#455e70!important;margin:3px 0!important;white-space:normal!important;overflow-wrap:anywhere!important}
body#officeModernPortal.office-modern #workPanel #detail#detail .claim-service-step>label{display:flex!important;flex-direction:column!important;gap:4px!important;width:100%!important;min-width:0!important}
body#officeModernPortal.office-modern #workPanel #detail#detail .claim-service-step input{width:100%!important;min-width:0!important;box-sizing:border-box!important;min-height:36px!important;padding:6px 8px!important;font:14px system-ui!important;border:1px solid #cbd8e3!important;border-radius:5px!important}
body#officeModernPortal.office-modern #workPanel #detail#detail .claim-service-workflow .claim-actions{display:flex!important;flex-wrap:wrap!important;gap:6px!important;margin:9px 0 0!important}
body#officeModernPortal.office-modern #workPanel #detail#detail .claim-service-workflow .claim-actions>button{font:600 12px/1.3 system-ui!important;padding:8px 10px!important;min-height:34px!important;white-space:normal!important;text-transform:none!important;border-radius:5px!important;border:1px solid #b9d5d7!important;background:#eff8f7!important;color:#086c72!important}
body#officeModernPortal.office-modern #workPanel #detail#detail .claim-service-workflow .claim-actions>button.primary{background:#087e81!important;color:#fff!important;border-color:#087e81!important}
body#officeModernPortal.office-modern #workPanel #detail#detail .claim-service-workflow [hidden]{display:none!important}
body#officeModernPortal.office-modern #workPanel #detail#detail .claim-insurance-setup{background:#fff3d9!important;border:1px solid #edd4a1!important;border-radius:6px!important;padding:10px!important;margin-bottom:10px!important;font:12px/1.5 system-ui!important;text-transform:none!important}
body#officeModernPortal.office-modern #workPanel #detail#detail .claim-summary,body#officeModernPortal.office-modern #workPanel #detail#detail .claim-summary *{text-transform:none!important}
}
@media screen and (max-width:760px){body#officeModernPortal.office-modern #workPanel #detail#detail .claim-service-steps{grid-template-columns:1fr!important}}

/* One Insurance page: no nested claim tabs or separate billing screen. */
@media screen{
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .job-expandable-workspace:has(>[data-job-section=insurance]:not([hidden])){grid-template-columns:minmax(0,1fr)!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .job-expandable-workspace:has(>[data-job-section=insurance]:not([hidden]))>.studio-job-summary{display:none!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio:has([data-job-section=insurance]:not([hidden])) .studio-primary-actions{display:none!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .claim-workspace .claim-panels{display:grid!important;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)!important;gap:8px 14px!important;align-items:start!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .claim-workspace .claim-panel{padding:6px 0!important;margin:0!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .claim-workspace .claim-panel[data-claim-panel=billing],body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .claim-workspace .claim-panel[data-claim-panel=activity]{grid-column:1/-1!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .claim-workspace .claim-panel[data-claim-panel=claim] .claim-field-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .claim-workspace .claim-field-grid{gap:5px 8px!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .claim-workspace .claim-field-grid>label{font:11px/1.25 system-ui!important;gap:2px!important;text-transform:none!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .claim-workspace .claim-field-grid label :is(input,select){height:28px!important;min-height:28px!important;padding:3px 6px!important;font-size:12px!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .claim-workspace .claim-panel h3{margin:0 0 5px!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .claim-workspace .claim-panel[data-claim-panel=billing]{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,2fr)!important;gap:6px 12px!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .claim-workspace .claim-panel[data-claim-panel=billing]>:is(h3,.claim-actions,.claim-payer-settings){grid-column:1/-1!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .claim-workspace .claim-amounts{margin:0!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .claim-workspace .claim-amounts>div{padding:5px 7px!important;gap:1px!important;text-transform:none!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .claim-workspace .claim-amounts>div strong{font-size:12px!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .claim-workspace .claim-actions{margin:5px 0!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .claim-workspace .claim-actions>button{min-height:28px!important;padding:5px 8px!important;font-size:11px!important;text-transform:none!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .claim-workspace .claim-field-grid label textarea{height:42px!important;min-height:42px!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .claim-workspace .claim-service-workflow{padding:8px!important;margin:6px 0!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .claim-workspace .claim-service-step{padding:7px!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .claim-workspace .claim-service-step>label{font-size:11px!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .claim-workspace .claim-service-step input{min-height:28px!important;height:28px!important;font-size:12px!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .claim-workspace .claim-service-workflow .claim-actions>button{min-height:30px!important;padding:6px 8px!important;font-size:11px!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .claim-workspace .claim-payer-settings{margin-top:0!important;padding:5px 8px!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .claim-workspace .claim-timeline{max-height:90px!important;overflow:auto!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .claim-workspace .claim-status{white-space:normal!important;text-transform:none!important}
}
@media screen and (max-width:900px){body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .claim-workspace .claim-panels{grid-template-columns:minmax(0,1fr)!important}body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .claim-workspace .claim-panel[data-claim-panel=claim] .claim-field-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .claim-workspace .claim-panel[data-claim-panel=billing]{grid-template-columns:minmax(0,1fr)!important}}

@media screen{
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .claim-workspace .claim-service-workflow{padding:7px!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .claim-workspace .claim-service-workflow h3{margin-bottom:5px!important;font-size:12px!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .claim-workspace .claim-service-steps{align-items:start!important;gap:8px!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .claim-workspace .claim-service-step{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:3px 8px!important;padding:7px!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .claim-workspace .claim-service-step h4{grid-column:1!important;margin:0!important;font-size:12px!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .claim-workspace .claim-service-step .claim-step-state{grid-column:1!important;font-size:11px!important;margin:0!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .claim-workspace .claim-service-step>.claim-actions{grid-column:1/-1!important;margin:3px 0 0!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .claim-workspace .claim-service-step>label{grid-column:2!important;grid-row:1/span 2!important;width:110px!important;font:11px/1.2 system-ui!important;margin:0!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .claim-workspace .claim-service-step>label small{display:none!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .claim-workspace .claim-service-step input{height:28px!important;min-height:28px!important;font-size:12px!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .claim-workspace .claim-hint{font:10px/1.3 system-ui!important;text-transform:none!important;margin:3px 0!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .claim-workspace .claim-field-grid>label{min-height:0!important;margin:0!important;padding:0!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .claim-workspace .claim-panel[data-claim-panel=activity]{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:4px 12px!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .claim-workspace .claim-panel[data-claim-panel=activity]>.claim-timeline{grid-column:2!important;grid-row:1/span 2!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .claim-workspace .claim-panel[data-claim-panel=activity]>.claim-actions{grid-column:1/-1!important}
}
@media screen and (max-width:760px){body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .claim-workspace .claim-panel[data-claim-panel=activity]{grid-template-columns:1fr!important}body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .claim-workspace .claim-panel[data-claim-panel=activity]>.claim-timeline{grid-column:1!important;grid-row:auto!important}}

@media screen and (min-width:1100px){
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .claim-workspace .claim-panels{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) minmax(0,1.2fr)!important;gap:6px 12px!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .claim-workspace .claim-panel[data-claim-panel=billing]{grid-column:3!important;grid-row:1!important;display:block!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .claim-workspace .claim-panel[data-claim-panel=claim]{grid-column:1!important;grid-row:1!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .claim-workspace .claim-panel[data-claim-panel=adjuster]{grid-column:2!important;grid-row:1!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .claim-workspace .claim-panel[data-claim-panel=activity]{grid-column:1/-1!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .claim-workspace .claim-panel[data-claim-panel=billing]>.claim-amounts{margin-top:7px!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .claim-workspace .claim-panel[data-claim-panel=billing]>.claim-actions{gap:4px!important}
}

@media screen{body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .claim-workspace .claim-amounts>.claim-warning{grid-column:1/-1!important;display:block!important;font:11px/1.3 system-ui!important;text-transform:none!important;margin:0!important;padding:5px 7px!important}}

/* global-job-search.css */
.office-global-results{position:fixed;z-index:5000;width:min(600px,calc(100vw - 16px));max-height:min(490px,70dvh);overflow-y:auto;background:#fff;border:1px solid #d4deec;border-radius:9px;box-shadow:0 12px 36px #172d4933;padding:5px;box-sizing:border-box;color:#34485e;font:12px/1.4 system-ui}.office-global-results[hidden]{display:none!important}.office-global-results>header{position:sticky;top:-5px;background:#f3f6fb;padding:8px;font-size:11px;font-weight:600;border-bottom:1px solid #dce4ef}.office-global-results .global-job-result{display:flex;flex-direction:column;gap:3px;width:100%;text-align:left;background:white;border:0;border-bottom:1px solid #e7ecf3;padding:9px 10px;cursor:pointer;white-space:normal;color:#34485e}.global-job-result strong{font-size:12px;color:#514080}.global-job-result span{font-size:11px}.global-job-result small{font-size:10px;color:#687b91}.office-global-results .global-job-result:hover,.office-global-results .global-job-result.is-selected{background:#eef6fa}.office-global-results>p{font-size:11px;margin:10px;padding:4px}

/* job-message-layout.css */
/* One bounded job window. Forms scroll in the selected tab; chat scrolls only
   its history. The summary rail must never set the message panel's height. */
@media screen {
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .worktitle{height:auto!important;min-height:0!important;padding:10px 18px 6px!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .job-command-summary{padding-bottom:6px!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .studio-vehicle-line{margin:0 0 4px!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .job-section-jumps{margin-bottom:5px!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .job-section-tab{padding:9px 8px!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .studio-summary-row{flex-wrap:wrap!important;text-transform:none!important;gap:3px 10px!important;padding:7px 0!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .studio-summary-row strong{white-space:normal!important;flex:1 1 120px!important;overflow-wrap:anywhere!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .studio-summary-card[hidden]{display:none!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .worktitle .job-location-status{display:flex!important;min-width:0!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio:not([data-lead-id]) .worktitle .job-status-compact{display:block!important;min-width:0!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .job-cancellation:not([hidden]){display:flex!important;position:static!important;min-width:0!important;width:auto!important;max-height:none!important;overflow:visible!important;margin:0 0 12px!important;padding:12px!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .job-cancellation label{display:block!important;flex:1 0 100%!important;min-width:0!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .job-cancellation textarea{width:100%!important;min-height:72px!important;height:auto!important;font:14px/1.4 system-ui!important;box-sizing:border-box!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .job-cancellation .job-status-save-state{display:block!important;position:static!important;flex:1 0 100%!important;white-space:normal!important;width:auto!important;max-width:none!important;overflow-wrap:anywhere!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .job-cancellation [hidden]{display:none!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .job-cancellation :is(label,p,.job-status-save-state){text-transform:none!important;font:12px/1.4 system-ui!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .job-cancellation>button{background:#087e81!important;color:white!important;border:1px solid #087e81!important;border-radius:6px!important;min-height:34px!important;padding:6px 12px!important;margin-left:auto!important;font:600 12px/1.4 system-ui!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .job-save-feedback:empty{display:none!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .job-save-feedback .record-autosave{display:flex!important;position:static!important;align-items:center!important;flex-wrap:wrap!important;gap:6px!important;width:100%!important;max-width:none!important;min-height:24px!important;height:auto!important;padding:5px 0!important;margin:0!important;box-sizing:border-box!important;white-space:normal!important;font:12px/1.4 system-ui!important;text-transform:none!important;overflow:visible!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .job-save-feedback .record-autosave>span{white-space:normal!important;overflow-wrap:anywhere!important;min-width:0!important}
body#officeModernPortal.office-modern #workPanel #detail#detail .tech-composer>.sms-segment-counter{display:block!important;min-height:16px!important;max-height:none!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio #textCustomerSchedule[hidden]{display:none!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .job-text-appointment{display:inline-flex!important;align-items:center!important;margin-left:10px!important;padding:5px 8px!important;min-height:28px!important;white-space:nowrap!important;border:1px solid #bcdfe0!important;border-radius:5px!important;background:#eaf8f7!important;color:#08777b!important;font:600 12px/1.3 system-ui!important;cursor:pointer}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .studio-summary-card>h3{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:5px!important;flex-wrap:wrap!important}
body#officeModernPortal.office-modern.combined-work-enabled #workPanel #detail#detail.office-job-studio.job-tabbed-workspace{display:flex!important;flex-direction:column!important;overflow:hidden!important;min-height:0!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio>:is(.worktitle,.job-command-summary){flex:0 0 auto!important;min-width:0!important;align-self:stretch!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio>.job-expandable-workspace{flex:1 1 0!important;height:auto!important;min-height:0!important;min-width:0!important;overflow:auto!important;grid-template-rows:auto!important;align-content:start!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .job-expand-section{min-height:0!important;max-height:none!important;overflow:visible!important;align-self:start!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .job-expand-body{height:auto!important;max-height:none!important;overflow:visible!important;min-width:0!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio>.job-expandable-workspace:has(>[data-job-section=activity]:not([hidden])){grid-template-rows:minmax(0,1fr)!important;align-content:stretch!important;align-items:stretch!important;overflow:hidden!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio [data-job-section=activity]:not([hidden]){position:relative!important;height:100%!important;min-height:0!important;overflow:hidden!important;align-self:stretch!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio [data-job-section=activity]:not([hidden])>.job-expand-body{position:absolute!important;inset:0!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;padding:7px!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio [data-job-section=activity] .compact-activity-popup:not([hidden]){flex:1 1 0!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .job-expandable-workspace:has(>[data-job-section=activity]:not([hidden]))>.studio-job-summary{height:100%!important;min-height:0!important;overflow:auto!important;align-content:start!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio:has(>.job-expandable-workspace>[data-job-section=activity]:not([hidden])) .studio-primary-actions{display:none!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio [data-job-section=activity] .compact-activity-popup[data-mode=messages] .chatbody{min-height:0!important;padding-top:0!important;padding-bottom:0!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .work-order-charges{display:block!important;min-width:0!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .charges-totals{width:100%!important;box-sizing:border-box!important;height:auto!important;min-height:0!important;overflow:visible!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .charges-totals>label{display:flex!important;flex-wrap:wrap!important;gap:6px!important;height:auto!important;min-height:36px!important;position:static!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .charges-totals input:not([type=hidden]){width:95px!important;min-width:80px!important;flex:0 0 95px!important;height:32px!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .compact-billing-more{flex:1 0 100%!important;width:100%!important;min-width:0!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .compact-billing-more>.compact-billing-extra{position:static!important;min-width:0!important;width:auto!important;margin-top:6px!important;box-shadow:none!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .job-restored-history{display:block!important}
}
@media screen and (max-width:760px){
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .job-section-jumps{flex-wrap:wrap!important;overflow:visible!important;gap:0!important;margin-bottom:8px!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .job-section-tab{flex:1 0 24%!important;padding:9px 4px!important;font-size:11px!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio>.job-expandable-workspace{display:block!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .studio-job-summary{position:static!important;margin-top:14px!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio>.job-expandable-workspace:has(>[data-job-section=activity]:not([hidden])){display:flex!important;flex-direction:column!important;overflow:auto!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio [data-job-section=activity]:not([hidden]){flex:1 0 340px!important;min-height:340px!important}
body#officeModernPortal.office-modern #workPanel #detail#detail.office-job-studio .job-expandable-workspace:has(>[data-job-section=activity]:not([hidden]))>.studio-job-summary{height:auto!important;flex:none!important;overflow:visible!important}
}
/* The composer now lives inside the horizontal Messages tab, not beside it. */
@media screen {
body#officeModernPortal.office-modern.combined-work-enabled #workPanel #detail.compact-work-record.inline-work-entry.job-command-workspace.job-tabbed-workspace{height:calc(100dvh - var(--compact-job-top,65px) - 64px)!important;max-height:calc(100dvh - var(--compact-job-top,65px) - 64px)!important;grid-template-rows:auto auto minmax(0,1fr)!important;align-content:stretch!important}
body#officeModernPortal.office-modern #workPanel #detail.job-command-workspace.job-tabbed-workspace>.job-expandable-workspace{align-self:stretch!important;height:100%!important;box-sizing:border-box!important}
body#officeModernPortal.office-modern #workPanel #detail.job-command-workspace.job-tabbed-workspace .job-expandable-workspace:has(>[data-job-section=activity]:not([hidden]) .compact-activity-popup:not([hidden])){overflow:hidden!important}
body#officeModernPortal.office-modern #workPanel #detail.job-tabbed-workspace [data-job-section=activity]:has(.compact-activity-popup:not([hidden])){position:relative!important;height:100%!important;min-height:0!important;margin:0!important;overflow:hidden!important}
body#officeModernPortal.office-modern #workPanel #detail.job-tabbed-workspace [data-job-section=activity]:has(.compact-activity-popup:not([hidden]))>.job-expand-body{position:absolute!important;inset:0!important;display:flex!important;flex-direction:column!important;height:auto!important;min-height:0!important;box-sizing:border-box!important;padding:3px!important;overflow:hidden!important}
body#officeModernPortal.office-modern #workPanel #detail.job-tabbed-workspace [data-job-section=activity]:has(.compact-activity-popup:not([hidden])) .activity-workspace{display:none!important}
body#officeModernPortal.office-modern #workPanel #detail.job-command-workspace.job-tabbed-workspace [data-job-section=activity] .compact-activity-popup:not([hidden]){position:relative!important;inset:auto!important;transform:none!important;display:flex!important;flex-direction:column!important;flex:1 1 0!important;width:100%!important;height:100%!important;min-height:0!important;max-height:100%!important;overflow:hidden!important;padding:0!important;margin:0!important;box-sizing:border-box!important}
body#officeModernPortal.office-modern #workPanel #detail.job-tabbed-workspace [data-job-section=activity] .compact-activity-popup>.activity-popup-body{display:flex!important;flex-direction:column!important;flex:1 1 0!important;min-height:0!important;overflow:hidden!important}
body#officeModernPortal.office-modern #workPanel #detail.job-tabbed-workspace #job-panel-activity .compact-activity-popup>.activity-popup-body{display:flex!important;flex-direction:column!important;flex:1 1 0!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:hidden!important}
body#officeModernPortal.office-modern #workPanel #detail.job-tabbed-workspace [data-job-section=activity] .compact-activity-popup :is(.activity-popup-header,.activity-popup-tabs){flex:none!important}
body#officeModernPortal.office-modern #workPanel #detail.job-tabbed-workspace [data-job-section=activity] .compact-activity-popup[data-mode=messages] :is(.compact-dock-messages,.job-chat-host,#conversation){display:flex!important;flex-direction:column!important;flex:1 1 0!important;min-height:0!important;height:auto!important;overflow:hidden!important;margin:0!important;padding:0!important}
body#officeModernPortal.office-modern #workPanel #detail.job-tabbed-workspace [data-job-section=activity] .compact-activity-popup[data-mode=messages] .chatbody{flex:1 1 0!important;min-height:0!important;overflow:auto!important}
body#officeModernPortal.office-modern #workPanel #detail.job-tabbed-workspace [data-job-section=activity] .compact-activity-popup[data-mode=technician] .tech-conversation{display:flex!important;flex-direction:column!important;flex:1 1 0!important;min-height:0!important;height:auto!important;overflow:hidden!important}
body#officeModernPortal.office-modern #workPanel #detail.job-tabbed-workspace [data-job-section=activity] .compact-activity-popup .tech-history{flex:1 1 0!important;min-height:0!important;overflow:auto!important}
body#officeModernPortal.office-modern #workPanel #detail.job-tabbed-workspace [data-job-section=activity] .compact-activity-popup :is(.composer,.tech-composer){flex:0 1 auto!important;min-height:0!important;max-height:70%!important;overflow:auto!important}
body#officeModernPortal.office-modern #workPanel #detail.job-tabbed-workspace [data-job-section=activity] .compact-activity-popup .activity-popup-body>[hidden]{display:none!important}
body#officeModernPortal.office-modern #workPanel #detail.job-tabbed-workspace [data-job-section=activity] .compact-activity-popup[data-mode=notes] .compact-dock-notes{overflow:auto!important;min-height:0!important}
body#officeModernPortal.office-modern #workPanel #detail.job-tabbed-workspace [data-job-section=activity] .compact-activity-popup .tech-composer{flex:0 0 auto!important;max-height:none!important;overflow:visible!important}
body#officeModernPortal.office-modern #workPanel #detail.job-tabbed-workspace [data-job-section=activity] .compact-activity-popup .tech-composer textarea{height:46px!important;min-height:40px!important;max-height:70px!important}
body#officeModernPortal.office-modern #workPanel #detail.job-tabbed-workspace [data-job-section=activity] .compact-activity-popup .tech-composer>select{height:26px!important;min-height:26px!important;padding:3px 6px!important;font-size:11px!important}
body#officeModernPortal.office-modern #workPanel #detail.job-tabbed-workspace [data-job-section=activity] .compact-activity-popup .tech-composer>small{display:none!important}
body#officeModernPortal.office-modern #workPanel #detail.job-tabbed-workspace [data-job-section=activity] .compact-activity-popup .tech-message-status{max-height:36px!important;overflow:auto!important}
}

/* vendor-facts.css */
.vendor-micro-facts{display:flex!important;flex-wrap:wrap!important;gap:2px 7px!important;margin:2px 0!important;font:10px/1.3 system-ui!important;color:#7a8496!important;text-transform:none!important;letter-spacing:0!important;white-space:normal!important}.vendor-micro-facts span{font:inherit!important}.vendor-micro-facts span+span:before{content:'· ';color:#aab0bb}
.vendor-picker-context{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px;background:linear-gradient(120deg,#f2edfb,#edf8f8);padding:12px;border:1px solid #e3dcf1;border-radius:9px}.vendor-picker-context strong{font-size:14px}.vendor-picker-context span{font-size:12px;color:#6b7990}.vendor-picker-context small{width:100%;font-size:11px;color:#8590a3}.vendor-picker-search{display:flex;align-items:end;gap:8px;margin:12px 0}.vendor-picker-search label{flex:1;min-width:0;font-size:11px;color:#7b8295;display:flex;flex-direction:column;gap:4px}.vendor-picker-search input,.vendor-picker-search select{box-sizing:border-box;min-width:0;width:100%;height:34px;padding:6px 9px;border:1px solid #dcd9e8;border-radius:7px;background:white;color:#40566e;font:12px system-ui}.vendor-picker-search button{height:34px;white-space:nowrap;border:1px solid #c9dfe2;border-radius:7px;background:#edf8f8;color:#267d83;font:12px system-ui;padding:6px 10px}.vendor-current{display:flex;align-items:center;flex-wrap:wrap;gap:4px 10px;padding:8px 10px;border:1px dashed #ddd6ed;border-radius:7px}.vendor-current>small{font-size:10px;color:#8a819b}.vendor-current>strong{font-size:12px;color:#68538c}.vendor-current .vendor-micro-facts{margin-left:auto!important}.vendor-picker-note,.vendor-assignment-note{font:10px/1.5 system-ui;color:#8a91a0;margin:8px 0}.vendor-branch-list{display:flex;flex-direction:column;gap:7px;max-height:42dvh;overflow:auto;padding:2px}.vendor-branch-card{display:grid!important;grid-template-columns:16px minmax(0,1fr) auto!important;align-items:start!important;gap:10px!important;border:1px solid #e2e5ef!important;padding:11px!important;background:white!important;border-radius:9px!important;cursor:pointer}.vendor-branch-card:has(input:checked){border-color:#a493ce!important;background:linear-gradient(120deg,#f6f2fd,#f1fafb)!important;box-shadow:0 0 0 1px #b6a5d9}.vendor-branch-card>input{margin:3px 0!important;width:14px!important;height:14px!important;min-height:14px!important;accent-color:#7a5dad}.vendor-branch-main{display:flex;flex-direction:column;gap:4px;min-width:0}.vendor-branch-main strong{font:650 13px/1.4 system-ui;color:#465672}.vendor-branch-main strong span{font-weight:500;color:#7b6996}.vendor-branch-main small{font:11px/1.4 system-ui;color:#8a93a5;white-space:normal}.vendor-branch-main a{font:10px/1.4 system-ui;color:#268c9b;text-decoration:none;width:max-content}.vendor-branch-metrics{display:flex;flex-direction:column;align-items:end;gap:3px;white-space:nowrap}.vendor-branch-metrics strong{font:700 15px/1.3 system-ui;color:#447e8a}.vendor-branch-metrics span{font:600 11px/1.3 system-ui;color:#7e699d;margin-top:5px}.vendor-branch-metrics small{font:9px/1.3 system-ui;color:#a1a7b5}[data-vendor-status]{font:11px/1.5 system-ui;color:#7d8a9d}
@media(max-width:600px){.vendor-picker-search{flex-wrap:wrap}.vendor-picker-search label{flex:1 1 40%}.vendor-picker-search button{order:3;width:100%}.vendor-branch-card{gap:6px!important;padding:8px!important}.vendor-branch-main strong{font-size:12px}.vendor-branch-list{max-height:35dvh}}

/* work-contact.css */
/* Five shared work columns; legacy cells stay hidden for existing record actions. */
@media screen{
body#officeModernPortal.office-modern #workPanel .combined-work-list .insurance-status-legend{display:none!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list :is(th,td)[hidden]{display:none!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list table{table-layout:fixed!important;width:100%!important;min-width:760px!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list th[data-column="9"]{background:#e5f0f1!important;color:#245763!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list th[data-column="3"]{background:#fff0e5!important;color:#8b5226!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list :is(th,td)[data-column="9"]{white-space:normal!important;overflow-wrap:anywhere!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list td[data-column="3"]{white-space:normal!important;font-size:12px!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list td[data-column="3"]>.combined-stage+small{display:none!important}
body#officeModernPortal.office-modern #workPanel .work-appointment-summary{margin-top:6px!important;white-space:normal!important;overflow-wrap:anywhere!important;font-size:12px!important;line-height:1.35!important}
body#officeModernPortal.office-modern #workPanel .work-appointment-summary small{font-size:11px!important;white-space:normal!important;display:block!important;overflow:visible!important;text-overflow:clip!important}
body#officeModernPortal.office-modern #workPanel .work-appointment-summary button{font-size:12px!important;white-space:normal!important;height:auto!important}
body#officeModernPortal.office-modern #workPanel .work-vehicle-stack .work-vehicle-reference{display:block!important;-webkit-line-clamp:unset!important;overflow:visible!important;font-size:11px!important;line-height:1.3!important;overflow-wrap:anywhere!important}
body#officeModernPortal.office-modern #workPanel .work-vehicle-stack strong{font-size:13px!important;line-height:1.3!important}
body#officeModernPortal.office-modern #workPanel .work-dispatch-stack .work-dispatch-button>b{font-size:11px!important;line-height:1.35!important}
body#officeModernPortal.office-modern #workPanel .work-dispatch-stack .vendor-facts{display:none!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list .work-contact-summary{display:block!important;width:100%!important;max-width:100%!important;height:auto!important;min-height:0!important;padding:3px 0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;text-align:left!important;color:#3c4058!important;white-space:normal!important;line-height:1.3!important}
body#officeModernPortal.office-modern #workPanel .work-contact-line{display:block!important;margin-bottom:7px!important;white-space:normal!important}
body#officeModernPortal.office-modern #workPanel .work-contact-line strong{display:block!important;font-size:12px!important;font-weight:600!important;line-height:1.3!important;white-space:normal!important}
body#officeModernPortal.office-modern #workPanel .work-contact-line small{display:block!important;font-size:11px!important;line-height:1.35!important;color:#69768a!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
body#officeModernPortal.office-modern #workPanel .work-contact-label{display:inline-block!important;font-size:10px!important;text-transform:uppercase;letter-spacing:.04em;color:#6d6484!important;margin-right:5px!important}
body#officeModernPortal.office-modern #workPanel .work-contact-line[data-quote-state="provided"] strong{color:#176247!important}
body#officeModernPortal.office-modern #workPanel .work-contact-line[data-contact-state="active"] strong{color:#8d570e!important}
body#officeModernPortal.office-modern #workPanel .work-contact-empty{font-size:12px!important;color:#6a7280!important}
body#officeModernPortal.office-modern #workPanel .work-contact-history-label{font-size:11px!important;text-decoration:underline;color:#5d4488!important}
body#officeModernPortal.office-modern #workPanel .work-contact-followup{display:block!important;font-size:11px!important;white-space:normal!important;color:#755b33!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list .work-billing-summary{display:block!important;width:100%!important;max-width:100%!important;margin-top:7px!important;padding:0!important;height:auto!important;min-height:0!important;text-align:left!important;border:0!important;background:transparent!important;box-shadow:none!important;white-space:normal!important;color:#566379!important}
body#officeModernPortal.office-modern #workPanel .work-billing-summary small{display:block!important;font-size:11px!important;line-height:1.35!important;white-space:normal!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list .work-coverage-summary{font-size:11px!important;line-height:1.35!important;padding:2px 5px!important;height:auto!important;min-height:0!important;white-space:normal!important;margin-top:3px!important;background:#fff0c8!important;color:#83520b!important;border:0!important;box-shadow:none!important}
body#officeModernPortal.office-modern #workPanel .work-coverage-summary[data-coverage="verified"]{color:#176247!important;background:#dff3e7!important}
body#officeModernPortal.office-modern #workPanel .work-coverage-summary[data-coverage="denied"]{color:#a12c36!important;background:#fde7e9!important}
}
.work-contact-dialog{width:min(640px,calc(100vw - 24px));max-height:85vh;overflow:auto;padding:22px;border:1px solid #d9d7e5;border-radius:14px;background:#fff;color:#344155;box-shadow:0 18px 60px #1d1c3b33;font:14px/1.45 system-ui,sans-serif}
.work-contact-dialog::backdrop{background:#17213c66}.work-contact-dialog header{display:flex;align-items:center;justify-content:space-between;gap:16px}.work-contact-dialog h2{font-size:18px;margin:0}.work-contact-dialog button{font:inherit;cursor:pointer;padding:8px 12px;border:1px solid #d8d5e6;border-radius:6px;background:#f4f0fb;color:#523983}.work-contact-help{font-size:12px;color:#69768a}.work-contact-history article{padding:10px 0;border-bottom:1px solid #ebe8f0}.work-contact-history p{font-size:12px;margin:4px 0;color:#69768a}.work-contact-dialog details{margin-top:18px}.work-contact-dialog summary{cursor:pointer;font-weight:600}.work-contact-dialog form{display:grid;gap:12px;margin-top:12px}.work-contact-dialog label{display:block}.work-contact-dialog label>input:not([type=checkbox]),.work-contact-dialog label>select{display:block;width:100%;margin-top:4px;padding:9px;font:inherit;border:1px solid #d6d6e2;border-radius:5px;background:#fff;color:#344155}.work-contact-dialog form p{font-size:12px;margin:0}.work-contact-dialog [type=submit]{justify-self:start;background:#5c4293;color:white}.work-contact-dialog [data-save-status]{color:#97412e}
@media screen and (max-width:700px){
body#officeModernPortal.office-modern #workPanel .combined-work-list table{display:block!important;min-width:0!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list thead{display:none!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list tbody{display:block!important;width:100%!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list tbody tr{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:10px!important;padding:14px 8px!important;border-bottom:1px solid #d9d5e5!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list tbody td:not([hidden]){display:block!important;width:auto!important;min-width:0!important;max-width:100%!important;height:auto!important;max-height:none!important;min-height:0!important;padding:0!important;border:0!important;overflow:visible!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list td[data-column="0"]{grid-column:1/-1;order:0}
body#officeModernPortal.office-modern #workPanel .combined-work-list td[data-column="9"]{grid-column:1/-1;order:1}
body#officeModernPortal.office-modern #workPanel .combined-work-list td[data-column="1"]{order:2}
body#officeModernPortal.office-modern #workPanel .combined-work-list td[data-column="3"]{order:3}
body#officeModernPortal.office-modern #workPanel .combined-work-list td[data-column="5"]{grid-column:1/-1;order:4}
body#officeModernPortal.office-modern #workPanel .combined-work-list td[data-column="1"]::before{content:'Vehicle / glass';display:block;color:#77628e;margin-bottom:5px;font-size:11px}
body#officeModernPortal.office-modern #workPanel .combined-work-list td[data-column="3"]::before{content:'Stage / appointment';display:block;color:#77628e;margin-bottom:5px;font-size:11px}
body#officeModernPortal.office-modern #workPanel .combined-work-list td[data-column="5"]::before{content:'Assignment / payment';display:block;color:#77628e;margin-bottom:5px;font-size:11px}
body#officeModernPortal.office-modern #workPanel .combined-work-list .work-list-contact{flex-wrap:wrap!important;overflow:visible!important;max-width:100%!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list .work-list-identity{height:auto!important;max-height:none!important;grid-template-rows:auto auto!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list .combined-customer-location{margin-left:0!important;flex-basis:100%!important;height:auto!important;overflow:visible!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list .work-contact-line strong{font-size:14px!important}
body#officeModernPortal.office-modern #workPanel .combined-work-list .work-contact-line small{font-size:12px!important}
}

/* qp-glass.css */
.qp-vin-line{display:flex!important;align-items:center!important;gap:5px!important;flex-wrap:wrap!important}.qp-vin-line .work-vehicle-reference{margin:0!important;min-width:0!important}.qp-vin-line .qp-work-button{flex:0 0 auto!important;min-height:20px!important;min-width:26px!important}.qp-work-button:focus-visible{outline:2px solid #008880;outline-offset:2px}
.qp-work-button{display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:1px 5px!important;margin:0!important;border:1px solid #8060b3!important;background:#f4effb!important;color:#58388b!important;border-radius:6px!important;font-size:10px!important;line-height:1.4!important;white-space:nowrap!important;cursor:pointer}.qp-work-summary{display:block!important;font-size:12px!important;line-height:1.45!important;color:#765117!important;margin-top:4px!important;white-space:normal!important}
.qp-glass-dialog{width:min(1120px,96vw);max-width:96vw;max-height:92vh;padding:0;border:1px solid #d9d4e6;border-radius:15px;color:#283449;background:#fff;box-shadow:0 18px 65px #1e183944}.qp-glass-dialog::backdrop{background:#20203d80;backdrop-filter:blur(3px)}.qp-dialog-head{position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:20px 24px;background:#f8f9fb;border-bottom:1px solid #e3dfec}.qp-dialog-head small{font-size:11px;letter-spacing:1px;color:#008880}.qp-dialog-head h2{margin:3px 0 0;font-size:21px}.qp-dialog-head button{font-size:25px;min-width:42px}.qp-dialog-body{padding:20px 24px}.qp-glass-dialog [data-qp-status]{margin:0 0 14px;color:#604199;overflow-wrap:anywhere}.qp-glass-dialog small{display:block;font-size:12px;line-height:1.5;color:#647087}.qp-glass-dialog h3{font-size:16px;margin:0 0 7px}.qp-glass-dialog h4{margin:10px 0 5px}.qp-glass-dialog p{margin:6px 0 10px;line-height:1.5}.qp-vehicle{margin-bottom:17px}.qp-fitment-warning{background:#fff6df;color:#745018;padding:13px 15px;border-radius:8px;margin-bottom:20px}.qp-fitment-warning p{margin-bottom:0;font-size:13px}.qp-section-title{display:flex;gap:12px;justify-content:space-between;flex-wrap:wrap}.qp-table-scroll{overflow-x:auto}.qp-glass-dialog table{width:100%;border-collapse:collapse;font-size:13px}.qp-glass-dialog th{text-align:left;background:#f3f1f8;color:#655978;padding:10px;font-weight:600}.qp-glass-dialog td{padding:12px 10px;border-bottom:1px solid #e3dfec;vertical-align:top;max-width:320px;overflow-wrap:anywhere}.qp-glass-dialog td a{display:inline-block;margin-top:5px}.qp-number{white-space:nowrap;font-variant-numeric:tabular-nums}.qp-excluded{background:#f8f8fb;color:#6b7183}.qp-glass-dialog td button{display:block;margin-top:8px;font-size:12px}.qp-explanation{display:grid;grid-template-columns:210px 1fr;gap:22px;margin:22px 0}.qp-cost-card{background:#e8f7f3;border-radius:8px;padding:17px;align-self:start}.qp-cost-card small{color:#00766e;font-size:11px;letter-spacing:.4px}.qp-cost-card strong{display:block;font-size:31px;margin:5px 0;font-variant-numeric:tabular-nums}.qp-cost-card span,.qp-source-choice{font-size:12px}.qp-glass-dialog .qp-validation{color:#a84812}.qp-glass-dialog details{padding:14px 0;border-top:1px solid #e3dfec}.qp-glass-dialog summary{cursor:pointer;font-weight:600;color:#4d367f}.qp-tools>p{font-size:13px;color:#647087}.qp-supplier-links{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:13px 0}.qp-supplier-links a{display:inline-flex;border:1px solid #d8d0e7;border-radius:6px;padding:8px 10px;font-size:13px}.qp-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:end;margin:12px 0}.qp-fields label{display:flex;flex-direction:column;gap:5px;font-size:12px}.qp-fields input,.qp-fields select,.qp-review-note textarea{width:100%;min-width:0;padding:9px;border:1px solid #d9d2e6;border-radius:6px;background:#fff;color:#283449;font-size:14px}.qp-fields .qp-wide{grid-column:span 2}.qp-connected{padding:10px 0}.qp-review-note{display:flex;flex-direction:column;gap:7px;margin:12px 0;font-size:13px}.qp-dialog-footer{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:19px}.qp-dialog-footer>div{margin-right:auto}.qp-glass-dialog .qp-save{background:#008880;color:#fff;border-color:#008880}.qp-glass-dialog button{min-height:35px;padding:7px 11px;border:1px solid #d8d0e7;border-radius:6px;background:#fff;color:#344156;cursor:pointer}.qp-glass-dialog button:disabled{opacity:.55;cursor:default}.qp-glass-dialog input[type=checkbox]{width:auto;margin-right:5px}.qp-empty{padding:12px 0;color:#647087}
@media(max-width:760px){.qp-glass-dialog{width:97vw;max-width:97vw;max-height:95vh}.qp-dialog-body,.qp-dialog-head{padding:15px}.qp-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.qp-explanation{grid-template-columns:1fr;gap:12px}.qp-glass-dialog table{min-width:650px}.qp-dialog-footer button{flex:1}.qp-fields input,.qp-fields select,.qp-review-note textarea{font-size:16px}.qp-glass-dialog button{min-height:42px}}

.qp-chrome{border:1px solid #73b6b0;background:#f2faf8;border-radius:10px;padding:14px;margin-bottom:18px}.qp-chrome h3{margin:0 0 8px}.qp-chrome [hidden]{display:none!important}.qp-chrome button{margin-bottom:8px}.qp-chrome details{margin-top:8px}

.work-plate-reference{display:block!important;width:auto!important;max-width:100%;min-height:20px!important;margin:1px 0!important;padding:0!important;border:0!important;background:transparent!important;color:#647087!important;font-size:11px!important;line-height:1.5!important;text-align:left!important;white-space:normal!important;overflow-wrap:anywhere;cursor:pointer}.work-plate-reference:hover{text-decoration:underline}.work-plate-reference:focus-visible{outline:2px solid #008880;outline-offset:2px}.qp-vehicle [data-qp-vehicle]{margin-top:6px;font-size:12px}

/* agent-center.css */
.agent-center{width:min(1180px,calc(100vw - 24px));color:var(--text,#17394b);background:var(--surface,#fff);font:13px/1.5 system-ui;padding:18px;overflow:auto}.agent-center header{display:flex;justify-content:space-between;align-items:center}.agent-center h2{margin:0}.agent-center form{display:flex;flex-wrap:wrap;gap:10px;align-items:end;border-block:1px solid #d9e2e8;padding:12px 0}.agent-center label{display:grid;gap:4px}.agent-center input,.agent-center select,.agent-center button{font:inherit;padding:7px;border:1px solid #aabac5;border-radius:5px;background:var(--surface,#fff);color:inherit}.agent-center button{cursor:pointer}.agent-center button:disabled{opacity:.55;cursor:wait}.agent-center-grid{display:grid;grid-template-columns:300px minmax(0,1fr);gap:20px}.agent-center article{padding:10px 0;border-bottom:1px solid #dce5ec}.agent-center article small,.agent-center article strong{display:block}.agent-center pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:400px;overflow:auto}.agent-controls{display:flex;gap:8px}.agent-center iframe{width:100%;height:500px;border:1px solid #c4d1dc}.agent-center [hidden]{display:none!important}[data-agent-center][hidden]{display:none!important}@media(max-width:750px){.agent-center-grid{grid-template-columns:1fr}.agent-center form label{flex:1 1 140px}}

.tech-money-dialog{width:min(850px,calc(100vw - 24px));max-height:90vh;overflow:auto;padding:18px}.tech-money-totals{display:flex;flex-wrap:wrap;gap:12px}.tech-money-totals article{padding:12px;border:1px solid #ccd8e0;border-radius:8px;flex:1 1 150px}.tech-money-totals strong{display:block;font-size:22px}.tech-money-dialog form,[data-money-body] form{display:grid;gap:10px;padding:12px 0}[data-money-body] label{display:grid;gap:4px}[data-money-body] small{display:block}

/* technician-account-quick.css */
body#officeModernPortal.office-modern dialog.tech-account-quick{box-sizing:border-box;width:min(440px,calc(100vw - 24px))!important;max-height:min(620px,calc(100dvh - 40px))!important;padding:12px!important;border:1px solid #cbd5e1;border-radius:10px;color:#26364b;background:#fff;overflow:auto;font:12px/1.4 system-ui,sans-serif}body#officeModernPortal.office-modern dialog.tech-account-quick::backdrop{background:#18213745}body#officeModernPortal.office-modern dialog.tech-account-quick header{display:flex;justify-content:space-between;align-items:start;gap:8px}body#officeModernPortal.office-modern dialog.tech-account-quick small{display:block;color:#58687b}body#officeModernPortal.office-modern dialog.tech-account-quick nav{display:flex;gap:5px;margin:9px 0}body#officeModernPortal.office-modern dialog.tech-account-quick button{font:inherit;min-height:30px;padding:4px 9px;border:1px solid #cbd5e1;border-radius:5px;background:#f8fafc;color:#254460;cursor:pointer}body#officeModernPortal.office-modern dialog.tech-account-quick nav button{flex:1}body#officeModernPortal.office-modern dialog.tech-account-quick button[aria-pressed=true],body#officeModernPortal.office-modern dialog.tech-account-quick button[type=submit]{background:#127a85;color:white;border-color:#127a85}body#officeModernPortal.office-modern dialog.tech-account-quick form{display:grid;grid-template-columns:1fr 1fr;gap:7px}body#officeModernPortal.office-modern dialog.tech-account-quick label{display:grid;gap:3px;min-width:0}body#officeModernPortal.office-modern dialog.tech-account-quick .wide{grid-column:1/-1}body#officeModernPortal.office-modern dialog.tech-account-quick :is(input,select){font:inherit;box-sizing:border-box;width:100%;min-width:0;height:31px;padding:4px 6px;border:1px solid #ccd6e2;border-radius:4px}body#officeModernPortal.office-modern dialog.tech-account-quick input[type=checkbox]{width:16px;height:16px}body#officeModernPortal.office-modern dialog.tech-account-quick [hidden]{display:none!important}body#officeModernPortal.office-modern dialog.tech-account-quick article{padding:7px 0;border-bottom:1px solid #e4e9ef}body#officeModernPortal.office-modern dialog.tech-account-quick footer{margin-top:8px}body#officeModernPortal.office-modern dialog.tech-account-quick p[role=status]{min-height:16px;margin:7px 0;color:#22586c}body#officeModernPortal.office-modern dialog.tech-account-quick details{margin-top:9px}
/* portal-shared-theme.css */
/* One internal Office palette; status colors retain their operational meaning. */
@media screen{
:root{--office-surface:#fff;--office-canvas:#f5f3fa;--office-raised:#f0ebfa;--office-ink:#344054;--office-muted:#667085;--office-line:#d9d2eb;--office-accent:#604397;--office-action:#137f86;--office-focus:#8c75bd}
html[data-office-theme=dark]{--office-surface:var(--night-panel,#1c2429);--office-canvas:var(--night-bg,#111719);--office-raised:var(--night-raised,#263138);--office-ink:var(--night-text,#e2ebef);--office-muted:var(--night-muted,#a8bbc7);--office-line:var(--night-line,#3c4c56);--office-accent:#bea6ec;--office-action:#157f88;--office-focus:#bda2ef}
body#officeModernPortal.office-modern{background:var(--office-canvas)!important;color:var(--office-ink)}
body#officeModernPortal.office-modern :is(.panel,.detail,.studio-card,.work-section,.lead-preview-summary,.op-row){border-color:var(--office-line)}
body#officeModernPortal.office-modern :is(dialog,.coord-dialog,.studio-editor,.lead-preview-editor){background:var(--office-surface)!important;color:var(--office-ink)!important;border-color:var(--office-line)!important;border-radius:10px;font-family:Inter,system-ui,sans-serif}
body#officeModernPortal.office-modern dialog::backdrop{background:#25204466;backdrop-filter:blur(2px)}
body#officeModernPortal.office-modern dialog :is(h2,h3){color:var(--office-accent)}
body#officeModernPortal.office-modern dialog>header{border-color:var(--office-line);background:var(--office-raised);color:var(--office-ink)}
body#officeModernPortal.office-modern dialog :is(input,select,textarea){box-sizing:border-box;max-width:100%;background:var(--office-surface);color:var(--office-ink);border-color:var(--office-line);border-radius:6px}
body#officeModernPortal.office-modern dialog :is(input,select,textarea):focus-visible{outline:2px solid var(--office-focus);outline-offset:1px}
body#officeModernPortal.office-modern dialog button:not(.primary):not(.danger):not([aria-pressed=true]):not([type=submit]){background:var(--office-surface);color:var(--office-accent);border-color:var(--office-line)}
body#officeModernPortal.office-modern dialog :is(button.primary,button[type=submit],button[aria-pressed=true]){background:var(--office-action);border-color:var(--office-action);color:#fff}
body#officeModernPortal.office-modern dialog.tech-account-quick{width:min(580px,calc(100vw - 24px))!important;max-height:calc(100dvh - 36px)!important;padding:16px!important;font-size:14px!important;line-height:1.45}
body#officeModernPortal.office-modern dialog.tech-account-quick header{padding:9px 10px;border-radius:7px;margin:-2px -2px 10px}
body#officeModernPortal.office-modern dialog.tech-account-quick small{color:var(--office-muted)}
body#officeModernPortal.office-modern dialog.tech-account-quick :is(input,select){height:42px;min-height:42px;font-size:15px!important;padding:8px 10px;background:var(--office-surface);color:var(--office-ink);border-color:var(--office-line)}
body#officeModernPortal.office-modern dialog.tech-account-quick input[type=number]{font-size:20px!important;font-variant-numeric:tabular-nums;min-width:150px}
body#officeModernPortal.office-modern dialog.tech-account-quick input[type=checkbox]{min-width:18px;width:18px;min-height:18px;height:18px}
body#officeModernPortal.office-modern dialog.tech-account-quick textarea{width:100%;font:inherit;min-height:60px;padding:8px 10px}
body#officeModernPortal.office-modern dialog.tech-account-quick form{gap:11px}
body#officeModernPortal.office-modern dialog.tech-account-quick button{min-height:36px;font-size:13px}
body#officeModernPortal.office-modern dialog.tech-account-quick .dispatch-money-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0}
body#officeModernPortal.office-modern dialog.tech-account-quick .dispatch-money-grid article{min-width:0;background:var(--office-raised);border:1px solid var(--office-line);border-radius:7px;padding:10px}
body#officeModernPortal.office-modern dialog.tech-account-quick .dispatch-money-grid strong{display:block;font-size:22px;line-height:1.35;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;color:var(--office-ink)}
body#officeModernPortal.office-modern dialog.tech-account-quick .dispatch-money-warning{padding:9px;border:1px solid #ddb667;border-radius:6px;color:var(--office-ink);background:var(--office-raised)}
body#officeModernPortal.office-modern dialog.tech-account-quick .cash-entry summary{cursor:pointer;color:var(--office-accent);font-weight:600;padding:9px 0}
@media(max-width:480px){body#officeModernPortal.office-modern dialog.tech-account-quick form{grid-template-columns:1fr}body#officeModernPortal.office-modern dialog.tech-account-quick .dispatch-money-grid strong{font-size:19px}body#officeModernPortal.office-modern dialog.tech-account-quick input[type=number]{min-width:0;width:100%}}
}

@media screen{body#officeModernPortal.office-modern dialog.tech-account-quick label{font-size:13px!important}body#officeModernPortal.office-modern dialog.tech-account-quick small{font-size:12px!important}body#officeModernPortal.office-modern dialog.tech-account-quick textarea{font-size:15px!important}}

body#officeModernPortal.office-modern dialog.tech-account-quick{--office-text:15px}

@media screen{
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .compact-dispatch-strip .page-fitment-grid.vehicle-identifiers{display:grid!important;grid-template-columns:minmax(190px,1.5fr) minmax(135px,1fr) minmax(110px,.7fr)!important;width:100%!important;flex:1 0 100%;gap:8px!important;padding-top:8px!important;border-top:1px solid var(--modern-line)}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .vehicle-identifiers .page-fitment-field:has(:is(#editVin,#pagePartNumber,#pagePartCost,#pageSystemCost)){display:flex!important;flex-direction:column!important;align-items:stretch!important;position:static!important;width:auto!important;min-width:0!important;gap:4px!important;font-size:11px!important;color:var(--modern-muted,#716b84)}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .vehicle-identifiers :is(#editVin,#pagePartNumber,#pagePartCost,#pageSystemCost){display:block!important;width:100%!important;max-width:none!important;box-sizing:border-box!important;min-height:34px!important;border:1px solid var(--modern-line)!important;border-radius:7px!important;background:var(--modern-paper)!important;font-size:13px!important;padding:6px 8px!important;color:var(--modern-ink,#29263b)}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record #editVin{letter-spacing:.2px!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .vehicle-vin-status{font-size:10px!important;line-height:1.4!important;white-space:normal!important}
body#officeModernPortal.office-modern #workPanel #detail .vehicle-entry-card{padding:10px!important;border:1px solid var(--modern-line);border-radius:9px;background:var(--modern-paper)}
body#officeModernPortal.office-modern #workPanel #detail .vehicle-entry-card:has(#editStyle){grid-template-columns:repeat(2,minmax(0,1fr))!important}
body#officeModernPortal.office-modern #workPanel #detail .vehicle-entry-card label:has(#editStyle){grid-column:auto!important}
body#officeModernPortal.office-modern #workPanel #detail .proof-vehicle-value{font-size:13px!important;font-weight:600!important;text-transform:none!important;line-height:1.4!important;overflow-wrap:anywhere}
@media(max-width:600px){body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .compact-dispatch-strip .page-fitment-grid.vehicle-identifiers{grid-template-columns:minmax(0,1fr) minmax(100px,.8fr)!important}body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .vehicle-identifiers .page-fitment-field:has(#editVin){grid-column:1/-1!important}}
}

/* Dense vehicle workspace: preserve all original controls and save handlers. */
@media screen{
body#officeModernPortal.office-modern #workPanel #detail .vehicle-entry-card:has(#editStyle){grid-template-columns:70px minmax(100px,1fr) minmax(110px,1.2fr)!important;gap:4px 7px!important;padding:6px 8px!important}
body#officeModernPortal.office-modern #workPanel #detail .vehicle-entry-card>h4{display:none!important}
body#officeModernPortal.office-modern #workPanel #detail .vehicle-entry-card label:has(#editStyle){grid-column:1/-1!important}
body#officeModernPortal.office-modern #workPanel #detail .vehicle-entry-card :is(label,input,select){font-size:11px!important;line-height:1.25!important}
body#officeModernPortal.office-modern #workPanel #detail .vehicle-entry-card :is(input,select){height:26px!important;min-height:26px!important;padding:3px 5px!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .compact-dispatch-strip{padding:6px 8px!important;gap:4px 8px!important;border-radius:7px!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .compact-record-location{font-size:10px!important;line-height:1.3!important;font-weight:500!important;text-transform:none!important;width:100%}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .compact-record-location button{font-size:10px!important;min-height:23px!important;padding:2px 5px!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .compact-dispatch-strip .schedule-assignment{display:flex!important;flex-wrap:wrap!important;gap:3px 10px!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .compact-dispatch-strip .schedule-assignment>div{width:auto!important;flex:0 1 auto!important;font-size:10px!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .compact-dispatch-strip .schedule-assignment button{min-height:24px!important;padding:2px 5px!important;font-size:11px!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .compact-dispatch-strip .page-fitment-grid.vehicle-identifiers{grid-template-columns:minmax(175px,1.5fr) minmax(105px,1fr) minmax(90px,.7fr)!important;gap:5px!important;padding-top:5px!important;align-items:start!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .vehicle-identifiers .page-fitment-field:has(:is(#editVin,#pagePartNumber,#pagePartCost,#pageSystemCost)){font-size:10px!important;gap:2px!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .vehicle-identifiers :is(#editVin,#pagePartNumber,#pagePartCost,#pageSystemCost){height:28px!important;min-height:28px!important;font-size:11px!important;padding:3px 5px!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .vehicle-identifiers .compact-lookup{min-height:25px!important;height:25px!important;width:25px!important;padding:3px!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record .work-plate-reference{font-size:10px!important;min-height:20px!important;padding:0!important;margin:0!important}
body#officeModernPortal.office-modern #workPanel #detail.job-command-workspace .job-expand-section[data-job-section=parts] .proof-vehicle-summary>.proof-row-label,
body#officeModernPortal.office-modern #workPanel #detail.job-command-workspace .job-expand-section[data-job-section=parts] .proof-vehicle-summary>.proof-vehicle-value{display:none!important}
body#officeModernPortal.office-modern #workPanel #detail .parts-assignment :is(label,input,select,button){font-size:11px!important}
body#officeModernPortal.office-modern #workPanel #detail .parts-assignment :is(input,select,button){min-height:26px!important;padding:3px 5px!important}
body#officeModernPortal.office-modern #workPanel #detail .parts-assignment :is(header,h3){margin:0!important;padding-top:2px!important;padding-bottom:2px!important}
body#officeModernPortal.office-modern #workPanel #detail .vehicle-vin-status{font-size:9px!important;line-height:1.2!important}
}

@media screen{
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.job-command-workspace .vehicle-entry-card:has(#editStyle){grid-template-columns:108px minmax(90px,1fr) minmax(100px,1.2fr)!important;padding:4px 6px!important;gap:3px 6px!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.job-command-workspace .vehicle-entry-card :is(input,select){height:25px!important;min-height:25px!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.job-command-workspace .compact-record-location{display:flex!important;align-items:center!important;gap:5px!important;flex-wrap:wrap!important;min-height:22px!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.job-command-workspace .compact-record-location button{height:22px!important;min-height:22px!important;padding:1px 4px!important;line-height:1.2!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.job-command-workspace .vehicle-vin-status:empty{display:none!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.job-command-workspace .compact-dispatch-strip{padding:4px 6px!important;gap:3px 6px!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.job-command-workspace .parts-assignment>header{min-height:23px!important;height:auto!important;padding:0!important;margin:0!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.job-command-workspace .parts-assignment>header button{min-height:22px!important;height:22px!important;padding:1px 5px!important;font-size:10px!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.job-command-workspace .parts-assignment .part-entry{padding:3px 0!important;margin:0!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.job-command-workspace .parts-assignment .assignment-fields{display:grid!important;grid-template-columns:minmax(115px,1fr) minmax(100px,1fr) 32px 90px!important;gap:3px 6px!important;padding:0!important;align-items:start!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.job-command-workspace .parts-assignment .assignment-fields>label{grid-column:auto!important;grid-row:auto!important;width:auto!important;margin:0!important;min-width:0!important;font-size:10px!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.job-command-workspace .parts-assignment .assignment-fields [data-part-cost-summary]{display:none!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.job-command-workspace .parts-assignment .assignment-part-options{grid-column:1/-1!important;margin:0!important;padding:0!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.job-command-workspace .parts-assignment .assignment-part-options>summary{min-height:18px!important;padding:1px 0!important;font-size:10px!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.job-command-workspace .proof-vehicle-summary{padding:3px 6px!important;gap:2px!important}
}

@media screen{
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.job-command-workspace .compact-dispatch-strip .page-fitment-grid.vehicle-identifiers{grid-template-columns:minmax(150px,1.6fr) minmax(90px,1fr) minmax(65px,.65fr) minmax(75px,.8fr)!important;gap:4px!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.job-command-workspace .vehicle-identifiers :is(#editVin,#pagePartNumber,#pagePartCost,#pageSystemCost){font-size:10px!important;min-height:25px!important;height:25px!important;padding:2px 4px!important;letter-spacing:0!important}
body#officeModernPortal.office-modern #workPanel #detail.compact-work-record.job-command-workspace .vehicle-identifiers .page-fitment-field{font-size:9px!important;gap:2px!important}
}

#officeModernPortal #workPanel .qp-vin-line{flex-wrap:wrap;align-items:center;gap:4px}
#officeModernPortal #workPanel .work-vin-request{display:inline-flex!important;align-items:center;justify-content:center;width:27px!important;height:27px!important;min-height:27px!important;padding:4px!important;border:1px solid #d8cee9!important;border-radius:6px!important;color:#63469b!important;background:#f8f5ff!important;cursor:pointer}
#officeModernPortal #workPanel .work-vin-request[data-state=sent]{color:#14784e!important;background:#e4f6eb!important;border-color:#91cfa9!important;opacity:1!important}
#officeModernPortal #workPanel .work-vin-request[data-state=review]{color:#9a5916!important;background:#fff3de!important;border-color:#e7c58c!important;opacity:1!important}
#officeModernPortal #workPanel .work-vin-request[data-state=blocked]{opacity:.45!important;cursor:default}
#officeModernPortal #workPanel .work-vin-send-status{font-size:10px;max-width:190px;white-space:normal;line-height:1.3;color:var(--modern-muted,#716b84)}

/* portal-browser.css */
.portal-browser-window{width:calc(100vw - 28px);max-width:none;height:calc(100dvh - 32px);max-height:none;padding:0;border:1px solid #d6ccea;border-radius:14px;background:#faf9ff;color:#403162;box-shadow:0 20px 70px #21183a50;overflow:hidden}.portal-browser-window::backdrop{background:#17213965}.portal-browser-window[open]{display:flex;flex-direction:column}.portal-browser-window header{display:flex;align-items:center;gap:10px;padding:10px 14px;background:linear-gradient(110deg,#eee7fb,#e5f3f4);border-bottom:1px solid #d6ccea;font-size:13px}.portal-browser-window header strong{font-size:16px}.portal-browser-window header span{flex:1;color:#716781;font-size:12px}.portal-browser-window header button{font:inherit;padding:6px 12px;border:1px solid #cfc3e4;border-radius:7px;background:white;color:#604396;cursor:pointer}.portal-browser-window header button:disabled{opacity:.5}.portal-browser-window p{margin:0;padding:6px 14px;font-size:12px;color:#655b76}.portal-browser-window iframe{flex:1;width:100%;min-height:0;border:0;background:#282333}.portal-browser-window iframe[hidden]{display:none}@media(max-width:600px){.portal-browser-window header span{display:none}.portal-browser-window header{gap:5px;padding:8px}.portal-browser-window header button{padding:6px}}

.portal-browser-dock{position:fixed;right:0;top:42%;z-index:20010;writing-mode:vertical-rl;transform:rotate(180deg);border:1px solid #7860a7;border-radius:0 9px 9px 0;background:linear-gradient(135deg,#51417f,#65509a);color:#fff;padding:15px 10px;font:600 13px system-ui;letter-spacing:.2px;box-shadow:0 3px 14px #271c4535;cursor:pointer;min-width:36px;min-height:96px}.portal-browser-dock:hover{background:#4f367f}.portal-browser-dock:focus-visible{outline:3px solid #17a5a9;outline-offset:3px}.portal-browser-dock[hidden]{display:none}@media(max-width:600px){.portal-browser-dock{padding:12px 7px;min-width:30px;min-height:82px}}

/* insurance-order.css */
.insurance-ro{font:14px/1.45 Arial,sans-serif;color:#17324e;background:#fff;padding:22px;max-width:1100px;margin:auto;text-align:left}.insurance-ro *{box-sizing:border-box}.insurance-ro header{display:flex;justify-content:space-between;align-items:start;gap:24px;background:#fff;color:#17324e;padding:0 0 14px;border-bottom:2px solid #17324e}.insurance-ro header img{width:260px;max-width:100%;height:auto}.insurance-ro h2{font-size:23px;margin:0 0 8px}.insurance-ro h3{font:bold 12px Arial;background:#17324e;color:#fff;padding:8px;margin:0 0 10px}.insurance-ro section{border:1px solid #d9e3eb;margin:14px 0;padding:0 10px 10px;min-width:0}.insurance-ro section>h3{margin:0 -10px 10px}.insurance-ro p{font-size:12px;white-space:pre-line;margin:8px 0}.insurance-ro small{display:block;font-size:11px;color:#617286}.insurance-ro strong{display:block;font-size:13px;overflow-wrap:anywhere}.insurance-ro .ro-two{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px 20px}.insurance-ro .ro-two>div{margin-bottom:8px}.insurance-ro .ro-scroll{overflow:auto}.insurance-ro table{border-collapse:collapse;width:100%;font-size:12px}.insurance-ro th,.insurance-ro td{border:1px solid #d9e3eb;padding:7px;text-align:left;white-space:normal}.insurance-ro th{background:#edf3f7;color:#17324e;font-size:11px}.insurance-ro th:first-child{width:auto}.insurance-ro .ro-totals{max-width:300px;margin:12px 0 12px auto;display:grid;gap:8px}.insurance-ro .ro-signature-ink{display:block;width:100%;max-width:400px;border:1px solid #d9e3eb;margin:8px 0}.insurance-ro footer{font-size:11px;border-top:1px solid #d9e3eb;margin-top:15px;padding-top:10px}.insurance-stage-dialog [hidden]{display:none!important}.insurance-stage-dialog{width:min(1200px,96vw);max-height:94vh;border:1px solid #ccd9e5;border-radius:8px;padding:14px}.insurance-stage-tools{display:flex;flex-wrap:wrap;gap:8px;align-items:center;position:sticky;top:0;background:white;padding:8px;z-index:1}.insurance-stage-tools button{min-height:36px}.insurance-stage-status{padding:8px;font-size:13px}.insurance-profile-form{display:grid;gap:10px;padding:12px;border:1px solid #d9e3eb}.insurance-profile-form label{display:grid;gap:5px}.insurance-profile-form textarea{min-height:75px}.insurance-stage-fields{border:1px solid #d9e3eb;padding:16px}.insurance-stage-fields label{display:block;margin:8px 0;font-size:14px}.insurance-stage-fields :is(input:not([type=checkbox]),textarea,select){width:100%;padding:9px;box-sizing:border-box;font:inherit}.insurance-stage-fields textarea{min-height:90px}.insurance-stage-history a{display:block;margin:6px}.insurance-signing-staged [hidden]{display:none!important}.insurance-signing-staged header.remit{display:none}@media(max-width:650px){.insurance-ro{padding:10px}.insurance-ro header{flex-direction:column}.insurance-ro .ro-two{grid-template-columns:1fr}.insurance-stage-dialog{width:98vw;padding:5px}.insurance-ro table{min-width:460px}}@media print{body:has(.insurance-stage-dialog[open])>*:not(.insurance-stage-dialog){display:none!important}.insurance-stage-dialog{position:static;width:100%;max-height:none;border:0;padding:0;overflow:visible}.insurance-stage-tools,.insurance-stage-status,.insurance-profile-form,.insurance-stage-history{display:none!important}.insurance-ro{font-size:11px;padding:0}.insurance-ro section{break-inside:avoid}.insurance-ro .ro-scroll{overflow:visible}.insurance-ro table{min-width:0}.insurance-stage-dialog::backdrop{display:none}}
body#officeModernPortal.office-modern .insurance-stage-dialog .insurance-ro h3{color:#fff!important;background:#17324e!important}body#officeModernPortal.office-modern .insurance-stage-dialog .insurance-ro h2{color:#17324e!important}body#officeModernPortal.office-modern .insurance-stage-dialog .insurance-stage-tools button{border:1px solid #b6c8d8!important;border-radius:5px!important;background:#f4f8fb!important;color:#17324e!important;padding:7px 12px!important;font:600 12px Arial,sans-serif!important}body#officeModernPortal.office-modern .insurance-stage-dialog .insurance-stage-tools button[aria-pressed=true]{background:#17324e!important;color:white!important}.insurance-stage-dialog [data-stage-actions]{padding:12px;background:#f4f8fb;border:1px solid #d9e3eb;display:flex;flex-wrap:wrap;gap:10px;align-items:center}.insurance-stage-dialog [data-stage-actions] p{flex:1 0 100%;margin:0 0 5px}.insurance-stage-dialog [data-stage-actions] button{padding:8px 12px;border:1px solid #b6c8d8;border-radius:5px;cursor:pointer}.insurance-stage-dialog [data-stage-actions] label{flex:1 0 100%;font-size:13px}

/* Familiar customer work-order layout: readable at normal zoom and in print. */
.insurance-ro-classic{font:16px/1.5 Arial,sans-serif;padding:28px;max-width:1000px}
.insurance-ro-classic .ro-document-title{background:#8ed6e2;color:#102e50;font-size:24px;font-weight:700;padding:12px 16px;margin-bottom:24px}
.insurance-ro-classic header{gap:24px;border-bottom:1px solid #cbd5e1;padding-bottom:20px}
.insurance-ro-classic header img{width:280px}
.insurance-ro-classic h2{font-size:21px}
.insurance-ro-classic section{border:0;border-bottom:1px solid #d9e3eb;padding:16px 0;margin:0 0 12px}
.insurance-ro-classic section>h3{margin:0 0 16px;padding:0;background:#fff;color:#17324e;font:bold 16px/1.4 Arial,sans-serif}
.insurance-ro-classic p{font-size:15px;line-height:1.55;margin:12px 0}
.insurance-ro-classic small{font-size:13px;color:#52677c;margin-bottom:4px}
.insurance-ro-classic strong{font-size:16px}
.insurance-ro-classic .ro-two{gap:16px 28px}
.insurance-ro-classic .ro-two>div{margin-bottom:12px}
.insurance-ro-classic table{font-size:14px}
.insurance-ro-classic th{font-size:13px}
.insurance-ro-classic th,.insurance-ro-classic td{padding:10px 8px}
.insurance-ro-classic footer{font-size:13px}
.insurance-stage-dialog .insurance-stage-tools button{font-size:14px}
.insurance-stage-dialog .insurance-aob-draft{padding:18px;border:1px dashed #8c9dac;background:#f8fafc;font:15px/1.55 Arial,sans-serif;color:#17324e;margin:18px 0}
.insurance-aob-draft summary{cursor:pointer;font-weight:bold}
body#officeModernPortal.office-modern .insurance-stage-dialog .insurance-ro-classic h3{color:#17324e!important;background:#fff!important}
body#officeModernPortal.office-modern .insurance-stage-dialog .insurance-stage-tools button{font-size:14px!important}
@media(max-width:650px){.insurance-ro-classic{padding:14px}.insurance-ro-classic .ro-document-title{font-size:21px}.insurance-ro-classic .ro-two{grid-template-columns:1fr}.insurance-ro-classic header img{width:250px}}
@media print{.insurance-ro-classic{font-size:12pt;padding:0}.insurance-ro-classic p{font-size:11pt}.insurance-ro-classic strong{font-size:12pt}.insurance-ro-classic small,.insurance-ro-classic footer{font-size:10pt}.insurance-ro-classic section{break-inside:auto}.insurance-ro-classic tr,.insurance-ro-classic header{break-inside:avoid}.insurance-aob-draft{display:none!important}}

.customer-work-order-unpriced{font:15px/1.5 Arial,sans-serif}.customer-work-order-unpriced .cwo-title{font-size:21px;padding:10px 12px}.customer-work-order-unpriced b{font-size:12px}.customer-work-order-unpriced h2{font-size:16px}.customer-work-order-unpriced th{font-size:13px}.customer-work-order-unpriced td{font-size:15px}.customer-work-order-unpriced footer{font-size:12px}.customer-work-order-unpriced section{padding:12px 0}.customer-work-order-unpriced .cwo-signature-ink p{font-size:12px;font-weight:normal}.insurance-signing [hidden]{display:none!important}@media print{.customer-work-order-unpriced{font-size:11pt}.customer-work-order-unpriced td{font-size:11pt}}
