/* V52: original TrailSurge blue, retaining the established layout rules. */
/* TrailSurge V42: Shopify-inspired staff surfaces. Screen-only; print layouts remain independent. */
@media screen {
html[data-staff-theme="42"] {
 --ink:#173952;--muted:#6c6c6c;--sub:#63768a;--dark:#0b233b;--blue:#173952;--blue2:#0b233b;--line:#e3e3e3;--border:#e3e3e3;--bg:#f4f7fb;--card:#fff;--navy:#173952;
 --ts27-navy:#173952;--ts27-blue:#194c76;--ts27-ink:#173952;--ts27-muted:#63768a;--ts27-line:#e3e3e3;--ts27-bg:#f4f7fb;--ts27-r:12px;
 --v22-navy:#173952;--v22-border:#e3e3e3;--v22-muted:#63768a;--v22-soft:#f7f7f7;
 --ts-surface:#fff;--ts-canvas:#f4f7fb;--ts-nav:#ebebeb;--ts-ink:#173952;--ts-muted:#63768a;--ts-line:#e3e3e3;--ts-green:#143c5d;--ts-soft-green:#e4ecf3;--ts-radius:12px;--ts-card-shadow:0 1px 0 #0000000d,0 0 0 1px #00000003;
}
html[data-staff-theme="42"] body{background:var(--ts-canvas)!important;color:var(--ts-ink)!important;font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;-webkit-font-smoothing:antialiased}
html[data-staff-theme="42"] body :is(button,input,select,textarea){font-family:inherit}
html[data-staff-theme="42"] body :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #7298b7!important;outline-offset:3px!important}
/* Identical shell treatment for both portals; their menus retain their own destinations. */
html[data-staff-theme="42"] body :is(.app .side,.cs-sidebar){background:var(--ts-nav)!important;border-right:1px solid #dedede!important}
html[data-staff-theme="42"] body :is(.app .brand,.cs-brand){padding-top:2px!important;padding-bottom:22px!important}
html[data-staff-theme="42"] body :is(.app .brand small,.cs-brand>span){font-size:10px!important;letter-spacing:1px!important;font-weight:600!important;color:#747474!important}
html[data-staff-theme="42"] body :is(.app .side-link,.cs-sidenav button){color:#505050!important;border-radius:8px!important;font-size:12px!important;font-weight:550!important;box-shadow:none!important}
html[data-staff-theme="42"] body :is(.app .side-link:hover,.cs-sidenav button:hover){background:#e1e1e1!important;color:#202020!important}
html[data-staff-theme="42"] body :is(.app .side-link.active,.cs-sidenav button.is-active){background:#fff!important;color:#252525!important;font-weight:650!important;box-shadow:0 1px 2px #0000000a!important}
html[data-staff-theme="42"] body :is(.app .side-link svg,.cs-nav-icon svg){stroke-width:1.65}
html[data-staff-theme="42"] body :is(.app .side-label,.cs-nav-heading,.ts-switch-title,.cs-switch-label){color:#838383!important;letter-spacing:1px!important;font-weight:650!important}
html[data-staff-theme="42"] body :is(.app .side-shortcuts a,.app .side-bottom,.cs-side-footer){color:#63768a!important}
html[data-staff-theme="42"] body :is(.app .side-shortcuts a:hover){background:#e0e0e0!important;color:#173952!important}
html[data-staff-theme="42"] body :is(.app .side-new-job){background:#fff!important;border:1px solid #d5d5d5!important;color:#173952!important;box-shadow:0 1px 0 #0000000a!important;font-weight:650!important;border-radius:8px!important}
html[data-staff-theme="42"] body :is(.app .top,.cs-topbar,.portal-workspace-top){background:#0b233b!important;color:#f7f7f7!important;border-bottom:1px solid #111!important;box-shadow:none!important}
html[data-staff-theme="42"] body :is(.app .top-title,.cs-top-left,.portal-top-label,.portal-back){color:#f5f5f5!important;font-weight:650!important}
html[data-staff-theme="42"] body :is(.app .top-sub,.app .verified,.cs-topbar #cs-identity,.portal-top-meta){color:#c6c6c6!important}
html[data-staff-theme="42"] body .app .staff-chip{background:#173952!important;border-color:#454545!important;border-radius:9px!important;padding:6px 12px 6px 6px!important}
html[data-staff-theme="42"] body .app .who{color:#f7f7f7!important;font-weight:600!important}
html[data-staff-theme="42"] body .app .avatar{background:#d8e2ea!important;color:#25445d!important;border-radius:7px!important}
html[data-staff-theme="42"] body :is(.app .logout,.cs-signout,.cs-mobile-switch,.portal-signout){background:#173952!important;border:1px solid #4a4a4a!important;color:#ededed!important;border-radius:7px!important;font-size:11px!important;font-weight:550!important}
html[data-staff-theme="42"] body :is(.app .mobile-header-logo,.cs-mobile-brand){background:#fff;border-radius:5px;padding:5px}
html[data-staff-theme="42"] body :is(.ts-workspace-switch,.cs-workspace-switch){background:#f7f7f7!important;border:1px solid #dedede!important;border-radius:10px!important;box-shadow:none!important}
html[data-staff-theme="42"] body :is(.ts-workshop-active,.cs-switch-current){background:#e3e8ec!important;color:#364856!important;border-radius:7px!important}
html[data-staff-theme="42"] body :is(.ts-workshop-active small,.cs-switch-current small){color:#698297!important}
html[data-staff-theme="42"] body :is(.ts-switch-target,.cs-switch-link){background:#fff!important;color:#404040!important;border-color:#ddd!important;font-weight:600!important;border-radius:7px!important}
html[data-staff-theme="42"] body .ts-mobile-switch{background:#e7ebee!important;border-color:#d6dde2!important;color:#455664!important;font-weight:600!important}
/* White cards sit on a soft grey canvas, with no lifted hover animations. */
html[data-staff-theme="42"] body :is(.app .panel,.app .stat,.app .action-card,.app .v22-home-schedule,.app .v22-suppliers,.app .v22-part-form-card,.app .v22-queue-card,.app .planner-calendar,.app .planner-jobs,.app .job-heading,.app .job-card,.app .v16-customer-card,.app .stat-card,.app .v20-job-main,.app .v20-job-aside .job-panel,.app .v30-tracking,.app .office-details,.app .ready-next,.app .v35-deleted-panel,.app .v30-notes-panel,.app .job-panel,.cs-panel,.cs-section,.cs-side-section){background:#fff!important;border-color:#e3e3e3!important;border-radius:12px!important;box-shadow:var(--ts-card-shadow)!important}
html[data-staff-theme="42"] body .app .v20-job-main>.job-panel{background:transparent!important;border-radius:0!important;box-shadow:none!important}
html[data-staff-theme="42"] body :is(.app .v22-part-row,.app .v21-dashboard-job,.app .v22-supplier-card,.cs-simple-case){background:#fff!important;border-color:#e6e6e6!important;border-radius:10px!important;box-shadow:none!important}
html[data-staff-theme="42"] body :is(.app .v22-supplier-card:hover,.cs-simple-case:hover){border-color:#bdbdbd!important;background:#fdfdfd!important}
html[data-staff-theme="42"] body .cs-active-panel .cs-simple-case{border-radius:0!important}
html[data-staff-theme="42"] body :is(.app .action-card:hover,.app .btn:hover){transform:none!important;box-shadow:none!important}
html[data-staff-theme="42"] body :is(.app h1,.cs-page-head h1){color:#173952!important;font-weight:650!important;letter-spacing:-.8px!important}
html[data-staff-theme="42"] body :is(.app h2,.app h3,.app .panel-head h3,.app .v22-section-title h2,.cs-panel-top h2,.cs-section-head h3){color:#173952!important;font-weight:650!important;letter-spacing:-.3px!important}
html[data-staff-theme="42"] body :is(.app .eyebrow,.app .panel-kicker,.app .mechanic-kicker,.app .v22-stage-ref,.cs-overline){color:#808080!important;font-weight:650!important;letter-spacing:1px!important}
html[data-staff-theme="42"] body :is(.app .stat .label,.app .date,.app .minor,.app .hint,.app .job-main small,.app .v22-heading p:not(.eyebrow),.cs-simple-case-meta){color:#757575!important}
html[data-staff-theme="42"] body .app .stat .mini{background:#f0f0f0!important;color:#63768a!important;border-radius:9px!important}
html[data-staff-theme="42"] body .app .stat .number{font-weight:650!important;color:#173952!important}
html[data-staff-theme="42"] body :is(.app .v22-shortcut,.app .action-card,.cs-hub-actions>button){background:#fff!important;border-color:#dedede!important;border-radius:10px!important;color:#343434!important;box-shadow:0 1px 0 #00000008!important;font-weight:600!important}
html[data-staff-theme="42"] body :is(.app .v22-shortcut:hover,.cs-hub-actions>button:hover){background:#fafafa!important;border-color:#bdbdbd!important;box-shadow:0 2px 5px #00000008!important}
html[data-staff-theme="42"] body :is(.app .v22-symbol,.app .action-icon,.cs-quick-icon){color:#506372!important}
html[data-staff-theme="42"] body .app .action-icon{background:#eef1f3!important}
/* Button hierarchy: charcoal primary, white secondary, coloured outcome/status badges retained. */
html[data-staff-theme="42"] body :is(.app .btn,.app .v22-outline,.app .v22-act,.app .v22-stage-shortcut,.app .v27-nav-context a,.app .v30-tool,.app .v30-menu>summary,.app .v34-tracking-quick a,.app .v34-tracking-quick button,.app .v34-print>summary,.app .v35-tracking-menu>summary,.app .v22-job-row-buttons a,.app .v34-step-actions button,.app .v26-hero-actions a,.cs-btn){border-radius:8px!important;border-color:#d1d1d1!important;background:#fff!important;color:#404040!important;font-weight:600!important;box-shadow:0 1px 0 #0000000d!important}
html[data-staff-theme="42"] body :is(.app .btn:hover,.app .v22-act:hover,.cs-btn:hover){background:#f7f7f7!important;border-color:#b5b5b5!important}
html[data-staff-theme="42"] body :is(.app .btn.primary,.app button.primary,.app .v22-primary,.app .v22-act.v22-approve,.app .v22-shortcut-primary,.app .v34-save-update,.app .v34-step-actions button.primary,.cs-btn.cs-primary){background:#173952!important;border-color:#173952!important;color:#fff!important;box-shadow:inset 0 1px 0 #ffffff24,0 1px 0 #00000024!important}
html[data-staff-theme="42"] body :is(.app .btn.primary:hover,.app button.primary:hover,.app .v22-primary:hover,.app .v22-act.v22-approve:hover,.app .v22-shortcut-primary:hover,.cs-btn.cs-primary:hover){background:#0b233b!important;border-color:#0b233b!important;color:#fff!important}
html[data-staff-theme="42"] body .app .v22-shortcut-primary .v22-symbol{color:#fff!important}
html[data-staff-theme="42"] body .cs-btn.cs-whatsapp{background:#edf2f6!important;border-color:#cfdbe4!important;color:#2b4d68!important;box-shadow:none!important}
html[data-staff-theme="42"] body .cs-btn.cs-resolve{background:#f0f3f6!important;border-color:#d0d9e1!important;color:#2b4d68!important;box-shadow:none!important}
html[data-staff-theme="42"] body .cs-btn.cs-quiet{background:transparent!important;border-color:transparent!important;box-shadow:none!important;color:#777!important}
html[data-staff-theme="42"] body :is(.app .text-link,.app .v22-sched-foot a,.cs-text-button,.cs-link-button){color:#4e6170!important;font-weight:600!important}
html[data-staff-theme="42"] body :is(.app input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="range"]):not([type="color"]),.app select,.app textarea,.cs-field input,.cs-field select,.cs-field textarea,.cs-filters input,.cs-filters select){border-color:#c9c9c9!important;border-radius:8px!important;background:#fff!important;color:#173952!important;box-shadow:0 1px 0 #00000004!important}
html[data-staff-theme="42"] body :is(.app input[readonly],.cs-field input[readonly]){background:#f6f6f6!important;color:#777!important}
html[data-staff-theme="42"] body :is(.app input,.app select,.app textarea,.cs-field input){accent-color:#1a507d}
html[data-staff-theme="42"] body>dialog{border-color:#dedede!important;border-radius:14px!important;box-shadow:0 20px 80px #0000002e!important}
html[data-staff-theme="42"] body :is(.booking-dialog,.v32-ready-dialog,.v15-quick-dialog,.handover-app) :is(button.primary,.btn.primary){background:#173952!important;color:#fff!important;border-color:#173952!important;border-radius:8px!important;box-shadow:inset 0 1px 0 #ffffff24,0 1px 0 #00000024!important}
html[data-staff-theme="42"] body :is(.app .btn.danger,.app button.danger,.app .booking-danger,.app .v22-act.v22-reject){background:#fff5f3!important;color:#aa3027!important;border-color:#e7c3be!important;box-shadow:none!important}
/* Calendar keeps appointment colours and geometry; only its surrounding controls are themed. */
html[data-staff-theme="42"] body .app .v35-calendar-toolbar .v16-layout-switch button{background:#f7f7f7!important;border-color:#ddd!important;color:#606060!important;border-radius:7px!important;font-weight:550!important}
html[data-staff-theme="42"] body .app .v35-calendar-toolbar .v16-layout-switch button.selected{background:#173952!important;border-color:#173952!important;color:white!important}
html[data-staff-theme="42"] body .app .planner-filters{background:#f8f8f8!important;border-color:#e3e3e3!important}
html[data-staff-theme="42"] body .app .planner-filters :is(input:not([type="checkbox"]),select,#clearFilters){border-color:#d0d0d0!important;color:#505050!important;background:white!important}
html[data-staff-theme="42"] body .app .v35-calendar-filters>summary{color:#606060!important;border-color:#d0d0d0!important;border-radius:8px!important;background:white!important}
html[data-staff-theme="42"] body :is(.cs-case-views button.selected,.cs-segment button.selected){background:#e9e9e9!important;color:#173952!important}
html[data-staff-theme="42"] body .cs-case-tabs button.selected{color:#274660!important;border-color:#274660!important}
html[data-staff-theme="42"] body .cs-detail-scroll{background:#f6f6f6!important}
html[data-staff-theme="42"] body :is(.cs-case-title,.cs-detail-top h2){color:#173952!important}
html[data-staff-theme="42"] body .cs-owner-pill{color:#526677!important}
html[data-staff-theme="42"] body .cs-simple-case-foot .cs-btn:first-child{background:#f4f4f4!important;color:#404040!important;border-color:#d8d8d8!important}
html[data-staff-theme="42"] body .cs-latest-update{border-left-color:#d6dde3!important}
html[data-staff-theme="42"] body :is(.cs-modal,.cs-case-modal,.app dialog){border-color:#dedede!important;border-radius:14px!important;box-shadow:0 20px 80px #0000002e!important}
/* Shopify lookup keeps its distinct blue treatment. */
html[data-staff-theme="42"] body .cs-shopify-start{position:relative;overflow:hidden;grid-template-columns:minmax(250px,.85fr) minmax(0,1.3fr);gap:10px 38px;background:radial-gradient(ellipse at 100% 0%,#ffffff80,transparent 58%),linear-gradient(110deg,#edf3f8 0%,#dee9f2 52%,#cfdeea 100%)!important;border:1px solid #c1d1de!important;border-radius:16px!important;padding:32px 34px!important;box-shadow:0 2px 0 #233c5106,0 9px 28px #233c5105!important;margin-bottom:26px}
html[data-staff-theme="42"] body .cs-shopify-start .cs-overline{display:inline-flex;align-items:center;gap:7px;background:#ffffff8c;color:#3d5c76!important;font-size:9px;letter-spacing:1px!important;padding:7px 10px;border:1px solid #bccbd880;border-radius:6px;margin-bottom:12px}
html[data-staff-theme="42"] body .cs-shopify-start .cs-overline::before{content:'';width:5px;height:5px;background:#4a7190;border-radius:50%}
html[data-staff-theme="42"] body .cs-shopify-start h2{font-size:29px!important;line-height:1.23!important;letter-spacing:-.9px!important;color:#21394c!important;font-weight:650!important;max-width:none;margin:0!important}
html[data-staff-theme="42"] body .cs-shopify-start .ts-order-search-description{font-size:12px;color:#5d7487;line-height:1.6;margin:12px 0 0}
html[data-staff-theme="42"] body .cs-order-start-search{align-items:stretch;gap:8px;padding:7px;background:#fff;border:1px solid #b3c5d4;border-radius:11px;box-shadow:0 6px 20px #1b3d5810;min-width:0}
html[data-staff-theme="42"] body .cs-order-start-search input{border:0!important;border-radius:7px!important;background:#fff!important;font-size:13px!important;color:#233544!important;box-shadow:none!important;min-height:46px;height:auto;padding:11px 12px}
html[data-staff-theme="42"] body .cs-order-start-search input::placeholder{color:#8196a8;opacity:1}
html[data-staff-theme="42"] body .cs-order-start-search .cs-btn.cs-primary{background:#143c5d!important;border-color:#143c5d!important;color:#fff!important;min-width:118px;font-size:12px;box-shadow:inset 0 1px 0 #ffffff29,0 1px 2px #18344b17!important}
html[data-staff-theme="42"] body .cs-order-start-search .cs-btn.cs-primary:hover{background:#0f2e48!important;border-color:#0f2e48!important}
html[data-staff-theme="42"] body .cs-shopify-start #cs-order-connection{font-size:10px!important;color:#5d7486!important;line-height:1.6;margin:0!important;padding-left:3px;align-self:start}
html[data-staff-theme="42"] body .cs-shopify-start>div{grid-row:1/3}
html[data-staff-theme="42"] body .cs-order-start-search{grid-column:2;grid-row:1;align-self:end}
html[data-staff-theme="42"] body .cs-shopify-start #cs-order-connection{grid-column:2;grid-row:2}
html[data-staff-theme="42"] body .cs-intake-selected{background:#edf2f7!important;border-color:#c5d4e0!important;border-radius:10px!important}
/* Counter check-in stays familiar, including its signed customer documents. */
html[data-staff-theme="42"] body #dropoffApp .v26-checkin-steps{background:#e9e9e9!important;border-color:#dedede!important}
html[data-staff-theme="42"] body #dropoffApp .v26-checkin-steps a{color:#63768a!important;font-weight:600!important}
html[data-staff-theme="42"] body #dropoffApp .v26-checkin-steps a[aria-current="step"]{background:white!important;color:#2f4b62!important}
html[data-staff-theme="42"] body #dropoffApp section{border-color:#e3e3e3!important;border-radius:12px!important;box-shadow:var(--ts-card-shadow)!important}
html[data-staff-theme="42"] body #dropoffApp section h2 b{background:#edf0f2!important;color:#576b7c!important;border-radius:7px!important}
html[data-staff-theme="42"] body :is(#dropoffApp input:not([type="checkbox"]):not([type="radio"]),#dropoffApp select,#dropoffApp textarea){border-color:#ccc!important;border-radius:8px!important}
html[data-staff-theme="42"] body #dropoffApp canvas{border-color:#afbcc7!important}
html[data-staff-theme="42"] body :is(.app .mobile-bar,.cs-mobile-nav){background:#fff!important;border-top-color:#ddd!important}
html[data-staff-theme="42"] body :is(.app .mobile-bar a.active,.cs-mobile-nav button.is-active){color:#2d4d68!important;background:#edf1f4!important}
@media(min-width:851px){
 html[data-staff-theme="42"] body :is(.app .side,.cs-sidebar){width:226px!important;padding-left:14px!important;padding-right:14px!important}
 html[data-staff-theme="42"] body :is(.app .brand img,.cs-brand img){width:172px!important;max-width:100%;height:auto}
 html[data-staff-theme="42"] body .app .top{min-height:64px!important;height:64px!important}
 html[data-staff-theme="42"] body .cs-topbar{height:64px}
 html[data-staff-theme="42"] body .app .main>div[class*="content"]{max-width:1560px!important}
}
@media(max-width:1200px){
 html[data-staff-theme="42"] body .cs-shopify-start{grid-template-columns:minmax(210px,.8fr) minmax(0,1.2fr);gap:10px 24px;padding:27px!important}
 html[data-staff-theme="42"] body .cs-shopify-start h2{font-size:25px!important}
 html[data-staff-theme="42"] body .cs-order-start-search input{font-size:12px!important}
}
@media(max-width:980px){
 html[data-staff-theme="42"] body .cs-shopify-start{grid-template-columns:1fr;gap:14px}
 html[data-staff-theme="42"] body .cs-shopify-start>div{grid-column:1;grid-row:1}
 html[data-staff-theme="42"] body .cs-order-start-search{grid-column:1;grid-row:2;align-self:auto}
 html[data-staff-theme="42"] body .cs-shopify-start #cs-order-connection{grid-column:1;grid-row:3}
 html[data-staff-theme="42"] body .cs-shopify-start h2 br{display:none}
 html[data-staff-theme="42"] body .cs-shopify-start h2 br::after{content:' '}
}
@media(max-width:760px){
 html[data-staff-theme="42"] body .cs-shopify-start{padding:23px!important;border-radius:13px!important}
 html[data-staff-theme="42"] body .cs-shopify-start h2{font-size:24px!important}
 html[data-staff-theme="42"] body .cs-shopify-start h2 br{display:initial}
 html[data-staff-theme="42"] body .cs-order-start-search input{font-size:14px!important}
 html[data-staff-theme="42"] body :is(.app .mobile-header-logo,.cs-mobile-brand){width:122px}
 html[data-staff-theme="42"] body .cs-case-modal{border-radius:0!important}
}
@media(max-width:450px){
 html[data-staff-theme="42"] body .cs-order-start-search{flex-direction:column;padding:7px}
 html[data-staff-theme="42"] body .cs-order-start-search input{min-height:45px;font-size:16px!important}
 html[data-staff-theme="42"] body .cs-order-start-search .cs-btn{min-height:43px}
 html[data-staff-theme="42"] body .cs-shopify-start h2{font-size:23px!important}
 html[data-staff-theme="42"] body .cs-shopify-start .ts-order-search-description{font-size:11px}
}
@media(prefers-reduced-motion:reduce){html[data-staff-theme="42"] body *{transition:none!important;scroll-behavior:auto!important}}
}

/* V46 · shared visual polish. Screen only; no workflow, visibility or print changes. */
@media screen {
html[data-staff-theme="42"]{--ts-canvas:#f4f7fb;--ts-nav:#edf3f9;--ts-ink:#173952;--ts-muted:#65788b;--ts-line:#dce5ef;--ts-green:#24445f;--ts-soft-green:#dfe8ef;--ts-radius:12px;--ts-card-shadow:0 1px 2px #1f2b3507,0 0 0 1px #1f2b3504;--bg:#f4f7fb;--border:#dce5ef;--line:#dce5ef;--ink:#173952;--muted:#65788b;--sub:#65788b}
html[data-staff-theme="42"] body{font-size:14px!important;letter-spacing:-.08px;color:#173952!important;background:#f4f7fb!important}
html[data-staff-theme="42"] body :is(h1,h2,h3,h4){text-wrap:balance}
html[data-staff-theme="42"] body :is(.content,.cs-content){padding:32px 36px 68px!important}
html[data-staff-theme="42"] body :is(.app .side,.cs-sidebar){background:#edf3f9!important;border-right:1px solid #d6dde2!important}
html[data-staff-theme="42"] body :is(.app .brand,.cs-brand){padding-bottom:25px!important}
html[data-staff-theme="42"] body :is(.app .side-link,.cs-sidenav button){font-size:13px!important;font-weight:500!important;line-height:1.4;border-radius:9px!important;padding-top:11px!important;padding-bottom:11px!important;min-height:41px;color:#4a5c6b!important;transition:background-color .15s,color .15s}
html[data-staff-theme="42"] body :is(.app .side-link:hover,.cs-sidenav button:hover){background:#dce3e9!important;color:#2c3d4a!important}
html[data-staff-theme="42"] body :is(.app .side-link.active,.cs-sidenav button.is-active){background:#fff!important;color:#314555!important;font-weight:600!important;box-shadow:inset 3px 0 #547590,0 1px 2px #202f3c10!important}
html[data-staff-theme="42"] body :is(.app .side-label,.cs-nav-heading){font-size:10px!important;letter-spacing:1.15px!important;color:#546879!important;margin-top:23px!important;margin-bottom:9px!important}
html[data-staff-theme="42"] body :is(.app .top,.cs-topbar,.portal-workspace-top){background:#20282e!important;border-bottom:1px solid #192025!important;min-height:63px!important;box-shadow:0 1px 0 #ffffff05!important}
html[data-staff-theme="42"] body :is(.page-head h1,.page-title,h1:not(.document h1):not(.print-document h1),.cs-page-head h1){font-size:31px!important;font-weight:580!important;letter-spacing:-1px!important;line-height:1.22!important;color:#2a343c!important}
html[data-staff-theme="42"] body :is(.page-head p,.page-subtitle,.cs-page-head p){font-size:13px!important;line-height:1.8!important;color:#4e6170!important;max-width:750px}
html[data-staff-theme="42"] body :is(.page-head,.cs-page-head){margin-bottom:26px!important;gap:20px!important}
html[data-staff-theme="42"] body :is(.card,.panel,.cs-panel,.ts27-card,.v22-card,.v24-panel,.job-card,.v30-card){border-color:#d9e0e5!important;border-radius:12px!important;box-shadow:0 1px 2px #1c2a3506!important}
html[data-staff-theme="42"] body :is(.card h2,.panel h2,.cs-panel h2){font-weight:600!important;letter-spacing:-.45px;line-height:1.4}
html[data-staff-theme="42"] body :is(.card-head,.panel-head,.cs-panel-top){border-bottom-color:#dde4ea!important}
html[data-staff-theme="42"] body :is(.btn,.cs-btn,button.primary,button.secondary,input[type=submit]){border-radius:8px!important;min-height:37px;box-shadow:0 1px 1px #18283505!important;font-size:12px!important;font-weight:550!important;line-height:1.4;letter-spacing:-.05px}
html[data-staff-theme="42"] body :is(.btn.primary,.cs-btn.cs-primary,button.primary,.side-new-job){background:#28333c!important;border-color:#28333c!important;color:#fff!important;box-shadow:0 1px 2px #18283515!important}
html[data-staff-theme="42"] body :is(.btn.primary:hover,.cs-btn.cs-primary:hover,button.primary:hover){background:#354857!important;border-color:#354857!important}
html[data-staff-theme="42"] body :is(.btn.secondary,.cs-btn.cs-light,button.secondary){background:#fff!important;border-color:#d4dce3!important;color:#546879!important}
html[data-staff-theme="42"] body :is(.btn.secondary:hover,.cs-btn.cs-light:hover,button.secondary:hover){background:#f2f6f9!important;border-color:#b0c1cf!important}
html[data-staff-theme="42"] body :is(.cs-field input,.cs-field select,.cs-field textarea,.field input,.field select,.field textarea,input[type=text],input[type=email],input[type=tel],input[type=search],input[type=date],input[type=datetime-local],input[type=number],select,textarea):not([type=checkbox]):not([type=radio]):not([type=hidden]){border-color:#d1dae1!important;border-radius:8px!important;background-color:#fff;box-shadow:0 1px 2px #18283503!important;font-size:13px!important;color:#37444f!important;line-height:1.6;transition:border-color .15s,box-shadow .15s}
html[data-staff-theme="42"] body :is(input[type=text],input[type=email],input[type=tel],input[type=search],input[type=date],input[type=datetime-local],input[type=number],select){min-height:40px}
html[data-staff-theme="42"] body :is(input,textarea)::placeholder{color:#576c7d!important;opacity:1}
html[data-staff-theme="42"] body :is(.cs-field,.field)>:is(span,small){line-height:1.7}
html[data-staff-theme="42"] body :is(.cs-field,.field){font-size:12px!important;color:#4f6271!important;gap:8px!important}
html[data-staff-theme="42"] body :is(input,textarea,select):focus-visible{border-color:#7e9cb4!important;outline:3px solid #a3bcd15c!important;outline-offset:1px!important;box-shadow:none!important}
html[data-staff-theme="42"] body :is(button,a,summary):focus-visible{outline:3px solid #7899b4!important;outline-offset:3px!important}
html[data-staff-theme="42"] body :is(.cs-modal,.cs-case-modal,dialog.modal){border:1px solid #d3dce4!important;border-radius:15px!important;box-shadow:0 24px 90px #1d2b3629!important}
html[data-staff-theme="42"] body :is(.cs-modal-head,.cs-detail-top){background:#f5f8fa!important;border-bottom:1px solid #d9e1e8!important;padding:25px 28px!important}
html[data-staff-theme="42"] body :is(.cs-modal-head h2,.cs-detail-top h2){font-weight:580!important;letter-spacing:-.8px!important;line-height:1.35!important;color:#2e3b45!important}
html[data-staff-theme="42"] body :is(.cs-modal-content,.cs-detail-scroll){padding:25px 28px!important}
html[data-staff-theme="42"] body :is(.cs-section,.cs-side-section){border-color:#d8e0e7!important;border-radius:11px!important;background:#fff;box-shadow:0 1px 2px #1c2a3504!important}
html[data-staff-theme="42"] body :is(.cs-section-head h3,.job-section h3){font-size:19px!important;font-weight:580!important;letter-spacing:-.4px!important}
html[data-staff-theme="42"] body :is(.cs-section-head p,.cs-panel-note){font-size:12px!important;line-height:1.8!important;color:#536778!important}
html[data-staff-theme="42"] body .cs-shopify-start{background:radial-gradient(ellipse at 100% 0%,#ffffff80,transparent 58%),linear-gradient(110deg,#edf3f8 0%,#dee9f2 52%,#cfdeea 100%)!important;border:1px solid #bfcfdc!important;border-radius:13px!important;padding:27px 28px!important;box-shadow:inset 0 1px 0 #fff8!important;gap:10px 28px!important}
html[data-staff-theme="42"] body .cs-shopify-start h2{font-size:25px!important;line-height:1.18!important;letter-spacing:-.8px!important;color:#344d62!important;font-weight:550!important}
html[data-staff-theme="42"] body .cs-shopify-start p{color:#465c6e!important;font-size:12px!important;line-height:1.7!important}
html[data-staff-theme="42"] body .cs-order-start-search input{min-height:45px!important;background:#fff!important;font-size:14px!important;border-color:#c0d0dd!important}
html[data-staff-theme="42"] body .cs-order-start-search .cs-primary{min-height:45px!important;background:#375268!important;border-color:#375268!important;font-size:12px!important}
html[data-staff-theme="42"] body :is(.cs-kpi strong,.stat-value,.kpi strong){font-size:28px!important;line-height:1.3!important;letter-spacing:-.9px!important;font-weight:550!important;color:#344655!important}
html[data-staff-theme="42"] body :is(.cs-kpi span,.cs-kpi small,.stat-label){font-size:11px!important;line-height:1.6!important;color:#506474!important}
html[data-staff-theme="42"] body .cs-kpi{padding:21px 23px!important;border-color:#d9e1e7!important}
html[data-staff-theme="42"] body :is(.cs-filters,.cs-follow-filters){gap:12px!important;padding:19px 23px!important}
html[data-staff-theme="42"] body .cs-case-views{padding:16px 23px 0!important;gap:6px!important;flex-wrap:wrap}
html[data-staff-theme="42"] body .cs-case-views button{padding:9px 12px!important;font-size:11px!important;border-radius:7px!important;line-height:1.5!important}
html[data-staff-theme="42"] body .cs-case-views button.selected{background:#e7eef3!important;color:#465e72!important}
html[data-staff-theme="42"] body .cs-simple-case{border-color:#dae2e8!important;padding:24px 25px!important;border-radius:11px!important}
html[data-staff-theme="42"] body .cs-case-title{font-size:17px!important;font-weight:600!important;letter-spacing:-.4px!important;color:#334452!important}
html[data-staff-theme="42"] body .cs-simple-case-meta{font-size:12px!important;color:#4c5f6e!important;line-height:1.8!important}
html[data-staff-theme="42"] body .cs-latest-update{background:#f1f5f9!important;border-color:#dfe8ef!important;border-radius:8px!important;padding:12px 14px!important}
html[data-staff-theme="42"] body .cs-latest-update p{font-size:13px!important;line-height:1.8!important;color:#4f6272!important}
html[data-staff-theme="42"] body .cs-owner-pill{background:#e9eff4!important;border:1px solid #d8e2ea!important;color:#435a6d!important;font-size:11px!important;padding:5px 9px!important;border-radius:20px!important}
html[data-staff-theme="42"] body .cs-case-tabs{gap:24px!important;border-bottom-color:#d6dfe6!important;margin-bottom:23px!important}
html[data-staff-theme="42"] body .cs-case-tabs button{padding:11px 2px!important;color:#506475!important;font-size:12px!important}
html[data-staff-theme="42"] body .cs-case-tabs button.selected{color:#395267!important;border-bottom-color:#50718c!important}
html[data-staff-theme="42"] body :is(.cs-timeline-event,.timeline-item,.activity-item){border-color:#dbe3ea!important}
html[data-staff-theme="42"] body :is(.cs-details,.details-card){border-color:#d8e1e8!important;border-radius:8px!important}
html[data-staff-theme="42"] body :is(.cs-details>summary,details.settings>summary){font-size:12px!important;font-weight:550!important;color:#4c6071!important;padding-top:12px!important;padding-bottom:12px!important}
html[data-staff-theme="42"] body :is(table.data,.jobs-table,.parts-table) th{padding:12px 14px!important;font-size:11px!important;letter-spacing:.3px!important;background:#f2f6f9!important;color:#4c6173!important;border-bottom:1px solid #d5dfe8!important}
html[data-staff-theme="42"] body :is(table.data,.jobs-table,.parts-table) td{padding:14px!important;font-size:13px!important;border-bottom-color:#e2e9ee!important;line-height:1.6!important}
html[data-staff-theme="42"] body :is(.cs-cal-toolbar,.calendar-toolbar,.planner-toolbar){gap:15px!important;border-color:#d7e0e7!important;flex-wrap:wrap}
html[data-staff-theme="42"] body .cs-cal-day{border-color:#dae2e8!important;border-radius:7px!important;background:#fff!important}
html[data-staff-theme="42"] body .cs-cal-day.selected{border-color:#7995ac!important;background:#ebf2f7!important}
html[data-staff-theme="42"] body .cs-cal-pill{font-size:10px!important;line-height:1.45!important;border-radius:4px!important;padding:5px 6px!important}
html[data-staff-theme="42"] body #cs-message{font-size:13px!important;border-radius:9px!important;padding:14px 17px!important;line-height:1.7!important}
html[data-staff-theme="42"] body .cs-help-card{background:#edf3f8!important;border-color:#d1dee8!important;box-shadow:none!important}
html[data-staff-theme="42"] body .cs-help-card p{font-size:11px!important;line-height:1.7!important;color:#4d6273!important}
html[data-staff-theme="42"] body :is(.cs-call-preview textarea,.cs-history-item){font-size:13px!important;line-height:1.8!important}
html[data-staff-theme="42"] body .cs-hello{padding-top:0!important;padding-bottom:14px!important}html[data-staff-theme="42"] body .cs-hello h2{font-size:20px!important}html[data-staff-theme="42"] body :is(.top,.portal-workspace-top) :is(h1,h2,h3){color:#f0f4f7!important}
/* Workshop surfaces use the same spacing and hierarchy as the service desk. */
html[data-staff-theme="42"] body .app :is(.v22-dashboard-heading,.v22-heading,.job-heading){gap:20px;margin-bottom:24px}
html[data-staff-theme="42"] body .app :is(.v22-quick-panel,.v22-home-schedule,.v22-part-form-card,.planner-jobs,.v16-customer-card,.job-panel,.v30-tracking,.v30-notes-panel,.office-details,.ready-next){border-color:#d9e0e5!important;box-shadow:0 1px 2px #1c2a3506!important}
html[data-staff-theme="42"] body .app .v22-shortcut{min-height:58px!important;padding:15px 18px!important;border-color:#d5dde3!important;line-height:1.5;transition:background-color .15s,border-color .15s}
html[data-staff-theme="42"] body .app .v22-shortcut-primary{background:#28333c!important;border-color:#28333c!important}
html[data-staff-theme="42"] body .app .v22-shortcut:not(.v22-shortcut-primary):hover{background:#f3f7fa!important;border-color:#9cb0c0!important}
html[data-staff-theme="42"] body .app :is(.v22-home-schedule,.stat){border-radius:12px!important}
html[data-staff-theme="42"] body .app .stat .number{font-size:30px!important;font-weight:580!important;letter-spacing:-1px!important;line-height:1.3;color:#2f4150!important}
html[data-staff-theme="42"] body .app .stat .label{font-size:12px!important;color:#516474!important}
html[data-staff-theme="42"] body .app :is(.v22-sched-col h3,.section-head h3,.job-panel h2,.v30-panel-head h2){font-weight:600!important;letter-spacing:-.4px!important;line-height:1.4}
html[data-staff-theme="42"] body .app :is(.v22-part-row,.v21-dashboard-job,.v22-supplier-card){border-color:#d9e1e7!important;border-radius:10px!important}
html[data-staff-theme="42"] body .app :is(.v22-sched-empty,.v22-mini-sub,.v22-sched-foot,.hint,.minor,.job-main small){color:#536778!important;line-height:1.7}
html[data-staff-theme="42"] body .app .planner-filters{background:#f3f6f9!important;border-color:#d8e0e7!important}
html[data-staff-theme="42"] body :is(.app .side-shortcuts a,.app .side-bottom,.cs-side-footer){color:#506474!important}
html[data-staff-theme="42"] body :is(.app .brand small,.cs-brand>span,.app .side-label,.cs-nav-heading,.ts-switch-title,.cs-switch-label){color:#526676!important}
html[data-staff-theme="42"] body .cs-shopify-start #cs-order-connection{color:#4f6271!important}
html[data-staff-theme="42"] body .app :is(.btn:disabled,button:disabled),html[data-staff-theme="42"] body .cs-btn:disabled{cursor:not-allowed}
@media(min-width:1700px){html[data-staff-theme="42"] body :is(.content,.cs-content){padding-left:44px!important;padding-right:44px!important}.cs-detail-grid{gap:25px!important}.cs-hub-layout{gap:26px!important}}
@media(max-width:1100px){html[data-staff-theme="42"] body :is(.content,.cs-content){padding:25px 24px 65px!important}html[data-staff-theme="42"] body .cs-shopify-start h2{font-size:22px!important}}
@media(max-width:760px){html[data-staff-theme="42"] body :is(.content,.cs-content){padding:23px 17px 100px!important}html[data-staff-theme="42"] body :is(.page-title,h1,.cs-page-head h1){font-size:26px!important}html[data-staff-theme="42"] body :is(.cs-modal-head,.cs-detail-top,.cs-modal-content,.cs-detail-scroll){padding:19px!important}html[data-staff-theme="42"] body :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),textarea,select){font-size:16px!important}html[data-staff-theme="42"] body .cs-shopify-start{padding:22px!important}html[data-staff-theme="42"] body .cs-kpi{padding:17px!important}html[data-staff-theme="42"] body .cs-simple-case{padding:19px!important}}
@media(prefers-reduced-motion:reduce){html[data-staff-theme="42"] body :is(button,a,input,textarea,select){transition:none!important}}
}

@media screen {
:root,html[data-staff-theme="42"]{--ink:#173952;--muted:#63788c;--sub:#63788c;--dark:#0b233b;--blue:#0a9dd5;--blue2:#0878b8;--line:#dce5ef;--border:#dce5ef;--bg:#f4f7fb;--card:#fff;--ts-canvas:#f4f7fb;--ts-nav:#102b42;--ts-ink:#173952;--ts-muted:#63788c;--ts-line:#dce5ef;--ts-green:#0878b8;--ts-soft-green:#e8f5fe;--ts27-blue:#0878b8;--ts27-navy:#102b42}
html body,html[data-staff-theme="42"] body{background:#f4f7fb!important;color:#173952!important;line-height:1.6}
html body :is(.app .side,.cs-sidebar,.sidebar),html[data-staff-theme="42"] body :is(.app .side,.cs-sidebar,.sidebar){background:#102b42!important;color:#dbe8f2!important;border-right:1px solid #193c58!important}
html body :is(.brand,.cs-brand)>img{filter:brightness(0) invert(1)}
html body :is(.app .brand small,.cs-brand>span,.sidebar .brand span),html[data-staff-theme="42"] body :is(.app .brand small,.cs-brand>span){color:#a9c3d7!important}
html body :is(.app .side-link,.cs-sidenav button),html[data-staff-theme="42"] body :is(.app .side-link,.cs-sidenav button){color:#c9dbea!important}
html body :is(.app .side-link:hover,.cs-sidenav button:hover),html[data-staff-theme="42"] body :is(.app .side-link:hover,.cs-sidenav button:hover){background:#1b405e!important;color:#fff!important}
html body :is(.app .side-link.active,.cs-sidenav button.is-active),html[data-staff-theme="42"] body :is(.app .side-link.active,.cs-sidenav button.is-active){background:#0878b8!important;color:#fff!important;box-shadow:inset 3px 0 #41c4f2!important}
html body :is(.side-label,.cs-nav-heading,.side-bottom,.side-end,.cs-sidebar-footer),html[data-staff-theme="42"] body :is(.app .side-label,.cs-nav-heading,.side-bottom,.cs-sidebar-footer){color:#a6bfd3!important}
html body :is(.app .top,.cs-topbar,.portal-workspace-top,.topbar),html[data-staff-theme="42"] body :is(.app .top,.cs-topbar,.portal-workspace-top){background:#0b233b!important;color:#edf7ff!important;border-bottom-color:#183c5a!important}
html body .topbar #identity{color:#c8dcec}
html body :is(.btn.primary,.btn.green,.cs-btn.cs-primary,button.primary,.side-new-job),html[data-staff-theme="42"] body :is(.btn.primary,.cs-btn.cs-primary,button.primary,.side-new-job){background:#0878b8!important;border-color:#0878b8!important;color:#fff!important}
html body :is(.btn.primary:hover,.btn.green:hover,.cs-btn.cs-primary:hover,button.primary:hover),html[data-staff-theme="42"] body :is(.btn.primary:hover,.cs-btn.cs-primary:hover,button.primary:hover){background:#07679e!important;border-color:#07679e!important}
html body :is(.ops-link-button,.text-link,.cs-link-button){color:#0878b8}
html body :is(button,a,summary):focus-visible,html[data-staff-theme="42"] body :is(button,a,summary):focus-visible{outline:3px solid #29a9e6!important;outline-offset:3px!important}
html body :is(input,textarea,select):focus-visible,html[data-staff-theme="42"] body :is(input,textarea,select):focus-visible{outline:3px solid #29a9e644!important;outline-offset:1px!important;border-color:#168ac4!important}
html body .ts-workspaces-button{border-color:#668aa566;background:#ffffff0a;color:#e4f0fa}
html body .ts-workspaces-button:hover{background:#235374}
html body .ts-workspace-mobile{background:#edf5fc;border-color:#d5e5f2;color:#173952}
html body .ts-workspace-mobile .ts-workspaces-button{background:#fff;color:#0878b8;border-color:#bad6e9}
html body .ts-workspace-dialog{background:#f8fbfe;color:#173952}
html body .ts-workspace-heading h2{color:#173952}
html body .ts-workspace-tile{color:#173952;border-color:#dae6f0}
html body .ts-workspace-tile:hover{background:#edf6fd;border-color:#99bfdc}
html body .ts-workspace-tile[aria-current=page]{background:#e8f4fd;border-color:#87b7dc}
html body .ts-workspace-icon{background:#e8f4fd;color:#0878b8}
html body .ts-workspace-badge{color:#0878b8}
html body .ts-workspace-footer{background:#edf4fa;border-color:#d9e6f1;color:#647b90}
html body .ts-workspace-footer>a{color:#0878b8}
html body .portal-card:hover{border-color:#168ac4}.portal-card span:last-child{color:#0878b8}
body[data-operations] .ops-content{padding:30px 34px 65px;max-width:1520px;width:100%;margin:0 auto}
body[data-operations] .ops-content>h1{font-size:31px;line-height:1.25;letter-spacing:-.8px;margin:6px 0 9px}
body[data-operations] .ops-content>p.ops-muted{margin:0 0 24px;font-size:14px;max-width:850px}
body[data-operations] .overline{color:#537a98;letter-spacing:.13em;font-size:10px;font-weight:750}
body[data-operations] .ops-panel{padding:25px;margin-bottom:22px;border:1px solid #dce5ef;border-radius:13px;box-shadow:0 2px 6px #183c5905;background:#fff}
body[data-operations] h2{font-size:20px;line-height:1.35;letter-spacing:-.35px;margin:0 0 9px}
body[data-operations] h3{font-size:15px;line-height:1.4;margin:0 0 12px}
body[data-operations] .ops-muted{color:#62788c;line-height:1.65;font-size:13px}
body[data-operations] .ops-toolbar{gap:18px;align-items:center;margin-bottom:20px}
body[data-operations] .ops-actions{gap:12px;align-items:center}
body[data-operations] .ops-actions>label:not(.ops-check),body[data-operations] .ops-fields>label{display:grid;gap:7px;font-size:12px;font-weight:650;color:#4c657b;align-items:start}
body[data-operations] .ops-fields{gap:20px 18px;margin:16px 0 20px}
body[data-operations] :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea){border:1px solid #cbdbe9;border-radius:8px;padding:10px 12px;min-height:43px;font:inherit;font-size:13px;background:#fff;color:#173952;max-width:100%;line-height:1.5}
body[data-operations] input[type=file]{font-size:12px;white-space:normal}
body[data-operations] textarea{resize:vertical;min-height:84px}
body[data-operations] .btn{min-height:42px;line-height:1.4;padding:10px 15px;font-size:12px;font-weight:650;border-radius:8px}
body[data-operations] .btn.light{background:#fff;border:1px solid #ccdce9;color:#295875}
body[data-operations] .btn.light:hover{background:#eff6fc}
body[data-operations] .ops-table :is(th,td){padding:16px 13px;line-height:1.5;vertical-align:top}
body[data-operations] .ops-table th{font-size:10px;text-transform:uppercase;letter-spacing:.065em;color:#637e93;background:#f6f9fc;white-space:nowrap}
body[data-operations] .ops-table td{font-size:13px;border-bottom:1px solid #e7edf4}
body[data-operations] .ops-table small{display:block;margin-top:5px;color:#6a8093;font-size:11px;line-height:1.5}
body[data-operations] .ops-table tbody tr:hover{background:#f8fbfe}
body[data-operations] .ops-dialog{border:1px solid #d7e4ef;border-radius:15px;padding:27px;max-height:calc(100dvh - 40px);overflow:auto;background:#fff;color:#173952;box-shadow:0 25px 90px #0b233b3b}
body[data-operations] .ops-dialog::backdrop{background:#102b425c;backdrop-filter:blur(2px)}
body[data-operations] .ops-dialog-head{gap:20px;margin-bottom:21px;align-items:flex-start}
body[data-operations] .ops-dialog-foot{display:flex;gap:12px;align-items:center;justify-content:space-between;border-top:1px solid #e0e9f2;margin-top:22px;padding-top:20px}
body[data-operations] .ops-dialog label:not(.pay-check){display:grid;gap:7px;font-size:12px;font-weight:650;color:#4c657b}
body[data-operations] .ops-stats{gap:16px;margin-bottom:22px}
body[data-operations] .ops-stat{padding:21px;border-radius:12px;border:1px solid #dce5ef;box-shadow:none}
body[data-operations] .ops-stat strong{font-size:28px;line-height:1.25;color:#173952;margin:9px 0}
body[data-operations] .ops-stat span{font-size:12px;line-height:1.5;color:#61798e}
body[data-operations] .ops-stat small{line-height:1.5;color:#71869a}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.staff-area-tabs,.ops-tabs{display:flex;gap:7px;margin:23px 0 25px;border-bottom:1px solid #d5e2ed;overflow-x:auto}
.staff-area-tabs>button,.ops-tabs>button{flex:none;border:0;border-bottom:3px solid transparent;background:transparent;color:#62788d;font:inherit;font-size:13px;font-weight:650;padding:13px 17px;cursor:pointer}
.staff-area-tabs>button[aria-selected=true],.ops-tabs>button[aria-selected=true]{border-bottom-color:#0878b8;background:#edf6fd;color:#0878b8}
.staff-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:23px}
.staff-section-head .overline{margin:0 0 5px}.staff-section-head p{margin:0}.staff-section-head select{max-width:360px}
.staff-pay-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.pay-summary-card{display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-width:0;background:#f3f8fd;border:1px solid #deebf5;padding:23px 20px;border-radius:10px}
.pay-summary-card>span{font-size:12px;line-height:1.5;color:#647e95}.pay-summary-card>strong{font-size:26px;line-height:1.3;font-weight:750;color:#123a59;letter-spacing:-.7px}.pay-summary-card>small{font-size:11px;line-height:1.6;color:#6a8195}
.pay-estimate-label{font-size:11px;line-height:1.7;color:#72869a;margin:17px 0 0}
.pay-calculation{margin-top:21px;border-top:1px solid #e2eaf2;padding-top:17px}.pay-calculation>summary,.pay-rate-history>summary{cursor:pointer;font-size:12px;font-weight:650;color:#1c6b9d}.pay-calculation .ops-table-wrap{margin-top:18px}
.pay-staff-message,.pay-recipient{padding:14px 16px;border-radius:8px;background:#edf6fd;color:#275f84;font-size:13px;line-height:1.6}
.pay-document{display:flex;align-items:center;gap:18px;padding:23px 0;border-top:1px solid #e3ebf3}.pay-document>div:first-of-type{flex:1;min-width:0}.pay-document h3{margin:0 0 5px!important;font-size:15px}.pay-document p{font-size:12px;margin:0 0 5px;color:#657e92}.pay-document small{font-size:11px;color:#72889b}.pay-pdf-icon{display:grid;place-items:center;flex:none;width:43px;height:51px;border:1px solid #cbe1f3;border-radius:7px;background:#f0f7fd;color:#0878b8;font-size:10px;font-weight:800;letter-spacing:.07em}
.pay-document .ops-actions{flex-wrap:wrap;justify-content:flex-end}.pay-empty{padding:32px 0;text-align:center}.pay-empty p{font-size:13px;color:#6e8497}.pay-year-label{display:grid;gap:6px;font-size:12px;color:#5c778d}
.pay-manager-tool{border-top:1px solid #dce7f1;padding:21px 0}.pay-manager-tool>summary{cursor:pointer;font-size:15px;font-weight:700;color:#224c6b}.pay-manager-tool[open]>summary{margin-bottom:20px}.pay-wide-label{display:grid;gap:7px;max-width:560px;font-size:12px;font-weight:650}.pay-check{display:flex!important;align-items:flex-start;gap:10px!important;font-size:12px;line-height:1.7;color:#566e83;margin:18px 0 21px;font-weight:400!important}.pay-check>input{flex:none;accent-color:#0878b8;margin-top:4px;width:16px;height:16px}.pay-rate-history{margin-top:22px}.pay-rate-history li{font-size:12px;line-height:1.8;color:#607b91}.pay-success{padding:13px 17px;border:1px solid #9fc9e9;border-radius:9px;background:#eaf5fe;color:#175a89;font-size:13px}
.sales-enquiry-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:22px}.sales-enquiry-stats>div{padding:21px 24px;border:1px solid #dce5ef;border-radius:11px;background:#fff;display:flex;flex-direction:column;gap:9px}.sales-enquiry-stats span{font-size:12px;color:#678096}.sales-enquiry-stats strong{font-size:27px;line-height:1.3;color:#173952}
.sales-view-row{display:flex;align-items:center;justify-content:space-between;gap:17px;margin-bottom:20px;flex-wrap:wrap}.sales-quick-views,.sales-view-toggle{display:flex;gap:6px;flex-wrap:wrap}.sales-quick-views button,.sales-view-toggle button{border:1px solid #dbe5ef;background:#f7fafc;color:#617d94;border-radius:7px;padding:9px 12px;font:inherit;font-size:11px;line-height:1.5;font-weight:650;cursor:pointer}.sales-quick-views button span{display:inline-block;margin-left:7px;font-size:10px;opacity:.8}.sales-quick-views button[aria-pressed=true],.sales-view-toggle button[aria-pressed=true]{border-color:#9cc5e3;color:#086fa9;background:#eaf5fd}
.sales-search-row{display:grid;grid-template-columns:minmax(240px,1fr) minmax(150px,.32fr) minmax(150px,.32fr);gap:12px;margin-bottom:13px}.sales-more-filters,.sales-report-options{margin:0 0 14px}.sales-more-filters>summary,.sales-report-options>summary{cursor:pointer;font-weight:650;font-size:12px;color:#2f6f99;padding:7px 0}.sales-more-filters[open]>.ops-actions,.sales-report-options[open]>.ops-actions{padding:16px 0 7px}.sales-result-row{display:flex;justify-content:space-between;gap:18px;align-items:center;margin:17px 0}.sales-result-row p{margin:0}.sales-customer-link{font-weight:700;font-size:13px;text-align:left}.sales-next-step{max-width:300px;overflow-wrap:anywhere}.sales-overdue{color:#a24d33!important;font-weight:650}.sales-priority{font-weight:650;color:#a26c32!important}.sales-leads-table td:first-child{min-width:180px}.sales-leads-table td:last-child .btn{white-space:nowrap}
.sales-board{display:flex;gap:15px;overflow-x:auto;padding:3px 0 18px;align-items:stretch;scroll-snap-type:x proximity}.sales-board[hidden]{display:none}.sales-board-column{flex:1 0 235px;max-width:340px;min-width:235px;border-radius:10px;padding:15px;background:#f1f6fb;scroll-snap-align:start}.sales-board-column>h3{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:12px!important;margin:0 0 16px!important}.sales-board-column>h3 span{color:#7b94a9;font-size:11px}.sales-board-card{display:flex;flex-direction:column;text-align:left;gap:9px;width:100%;padding:17px 15px;margin-bottom:12px;border:1px solid #d6e4ef;border-radius:9px;background:white;color:#244b67;font:inherit;cursor:pointer}.sales-board-card:hover{border-color:#79afd4;box-shadow:0 3px 10px #0e4d7910}.sales-board-card>strong{font-size:13px}.sales-board-card>span{font-size:11px;line-height:1.5;color:#6d859b}.sales-board-card>b{font-size:16px}.sales-board-card small{font-size:10px;line-height:1.7;color:#7d91a4}.sales-card-next{border-top:1px solid #edf1f5;padding-top:10px;width:100%;overflow-wrap:anywhere}.sales-card-next small{display:block}.sales-column-empty{font-size:11px;color:#8196aa}
body[data-operations] .sales-lead-dialog{width:min(1040px,calc(100vw - 40px));max-width:1040px}.sales-contact-bar{padding-bottom:20px;border-bottom:1px solid #dce7f1;margin-bottom:23px}.sales-detail-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(260px,1fr);gap:30px}.sales-next-action-form{background:#f5f9fd;border:1px solid #e1ebf4;border-radius:10px;padding:19px;margin:25px 0}.sales-next-action-form>label>textarea{width:100%}.sales-extra-details{margin-top:19px}.sales-extra-details>summary{cursor:pointer;font-size:13px;font-weight:650;color:#2a6e9d}.sales-activity{min-width:0;border-left:1px solid #dfebf3;padding-left:25px}.sales-activity form{padding-bottom:23px;border-bottom:1px solid #dfebf3;margin-bottom:22px}.sales-activity form>label{margin:0 0 14px}.sales-activity form>p{font-size:11px!important}.sales-activity-entry{border-left:2px solid #cbe0f0;padding:0 0 20px 14px;overflow-wrap:anywhere}.sales-activity-entry>strong{font-size:12px;display:block}.sales-activity-entry>small{font-size:10px;color:#7891a6;display:block;margin-top:3px}.sales-activity-entry>p{font-size:12px;color:#526f86;line-height:1.7;white-space:normal}
@media(max-width:1150px){body[data-operations] .ops-content{padding:26px 24px 60px}.staff-section-head{flex-direction:column}.staff-pay-grid{gap:12px}.pay-summary-card{padding:19px 15px}.pay-summary-card>strong{font-size:23px}.sales-detail-grid{gap:21px}}
@media(max-width:760px){body[data-operations] .ops-content{padding:23px 16px 70px}body[data-operations] .ops-panel{padding:20px 17px}body[data-operations] .ops-table :is(td,th){padding:14px 10px}body[data-operations] .ops-fields{gap:17px}.staff-pay-grid{grid-template-columns:1fr}.pay-summary-card{gap:8px}.staff-section-head .ops-actions{width:100%;align-items:stretch}.staff-section-head select{max-width:100%;width:100%}.staff-area-tabs>button,.ops-tabs>button{padding:12px 12px;font-size:12px}.sales-detail-grid{grid-template-columns:1fr}.sales-activity{border-left:0;border-top:1px solid #dfebf3;padding-left:0;padding-top:25px}.sales-search-row{grid-template-columns:1fr 1fr}.sales-search-row>input{grid-column:1/-1}.sales-enquiry-stats{gap:9px}.sales-enquiry-stats>div{padding:16px 12px}.sales-enquiry-stats strong{font-size:22px}.sales-enquiry-stats span{font-size:10px}.pay-document{gap:12px;flex-wrap:wrap}.pay-document .ops-actions{margin-left:55px;justify-content:flex-start}.sales-view-toggle{margin-left:auto}body[data-operations] .sales-lead-dialog{width:calc(100vw - 20px);padding:21px 17px;max-height:calc(100dvh - 20px)}}
@media(max-width:460px){.sales-enquiry-stats{grid-template-columns:1fr 1fr}.sales-enquiry-stats>div:last-child{grid-column:1/-1;flex-direction:row;align-items:center;justify-content:space-between}.sales-quick-views{gap:7px}.sales-quick-views button{font-size:10px;padding:8px 9px}.sales-search-row{grid-template-columns:1fr}.sales-search-row>input{grid-column:auto}.sales-board-column{flex-basis:250px}.staff-section-head .ops-actions{flex-direction:column}body[data-operations] .ops-fields{grid-template-columns:1fr}.pay-document>div:first-of-type{flex-basis:calc(100% - 60px)}}
}

@media screen{html[data-staff-theme="42"] body :is(.app .side-shortcuts a,.app .side-bottom,.cs-side-footer,.app .side-label,.cs-nav-heading,.ts-switch-title,.cs-switch-label){color:#abc6db!important}html[data-staff-theme="42"] body .app .side-shortcuts a:hover{background:#1b405e!important;color:#fff!important}body[data-operations] .ops-clock-state{background:#e6f3fd;color:#176590}.topbar .mobile-logo{filter:brightness(0) invert(1)}}
