:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--color-text-primary:#1d1d1f;--color-text-secondary:#6e6e73;--color-surface:#fff;--color-surface-secondary:#f5f5f7;--color-border:#d2d2d7;--color-border-strong:#a1a1a6;--color-accent:#0071e3;--color-accent-hover:#0077ed;--color-focus:#0071e3;--color-error:#b42318;--color-error-surface:#fff1f0;background:var(--color-surface-secondary);color:var(--color-text-primary);font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,SF Pro Display,Helvetica Neue,Arial,sans-serif;line-height:1.5}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--color-text-primary:#f5f5f7;--color-text-secondary:#a1a1a6;--color-surface:#2c2c2e;--color-surface-secondary:#1c1c1e;--color-border:#3a3a3c;--color-border-strong:#636366;--color-accent:#2997ff;--color-accent-hover:#409cff;--color-focus:#2997ff;--color-error:#ff7b72;--color-error-surface:#3a1717}}*{box-sizing:border-box;margin:0;padding:0}body{min-height:100vh}.app{max-width:1280px;margin:0 auto;padding:24px}.header{border-bottom:1px solid #e2e8f0;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px;padding-bottom:16px;display:flex}.header h1{color:#0f172a;font-size:28px;font-weight:700}.header .meta{color:#64748b;font-size:14px}.header-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.btn-estimate,.btn-job{cursor:pointer;border:none;border-radius:8px;padding:10px 18px;font-size:14px;font-weight:600;transition:transform .1s}.btn-estimate{color:#fff;background:#2563eb}.btn-job{color:#fff;background:#0f766e}.btn-estimate:hover,.btn-job:hover{transform:translateY(-1px)}.date-badge{color:#475569;background:#f1f5f9;border-radius:20px;padding:8px 14px;font-size:13px;font-weight:500}.primary-nav{background:#fff;border:1px solid #e2e8f0;border-radius:12px;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px;padding:10px 12px;display:flex;box-shadow:0 2px 6px #0f172a0a}.nav-links{flex-wrap:wrap;gap:4px;display:flex}.nav-link{color:#475569;cursor:pointer;background:0 0;border:0;border-radius:8px;padding:9px 12px;font-size:14px;font-weight:600}.nav-link:hover{color:#0f172a;background:#f1f5f9}.nav-link.active{color:#1e40af;background:#dbeafe}.global-search{min-width:260px}.global-search input{border:1px solid #cbd5e1;border-radius:8px;width:100%;padding:9px 12px;font-size:13px}.page-placeholder{background:#fff;border:1px solid #e2e8f0;border-radius:12px;margin-bottom:20px;padding:20px}.page-placeholder h2{color:#0f172a;margin-bottom:4px}.page-placeholder p{color:#64748b}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.customers-mode .stats-row,.customers-mode .filters,.customers-mode .calendar-section,.customers-mode .appointments-section,.customers-mode .footer-note,.customer-profile-mode .stats-row,.customer-profile-mode .filters,.customer-profile-mode .calendar-section,.customer-profile-mode .appointments-section,.customer-profile-mode .footer-note{display:none}.customers-page{background:#fff;border:1px solid #e2e8f0;border-radius:12px;margin-top:24px;overflow:hidden}.estimates-mode .records-page,.invoices-mode .records-page,.reports-mode .page-placeholder{margin-top:24px}.customers-page-header{border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;gap:16px;padding:20px;display:flex}.customers-page-header h2{color:#0f172a}.customers-page-header p{color:#64748b;margin-top:2px;font-size:13px}.customers-page-actions{align-items:center;gap:10px;display:flex}.customer-filter{border:1px solid #cbd5e1;border-radius:8px;width:min(380px,100%);height:37px;padding:0 12px;font-size:13px}.modal-backdrop{z-index:60;background:#141c2d57;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.customer-create-modal{background:#fff;border:1px solid #dce2eb;border-radius:14px;width:min(620px,100%);padding:24px;box-shadow:0 24px 70px #121f3738}.modal-heading{justify-content:space-between;align-items:start;gap:16px;margin-bottom:20px;display:flex}.modal-heading h2{color:#172033;margin:4px 0 0}.modal-close{color:#667085;cursor:pointer;background:0 0;border:0;font-size:24px;line-height:1}.customer-create-grid{grid-template-columns:1fr 1fr;gap:14px;display:grid}.customer-create-grid label{color:#526075;gap:6px;font-size:12px;font-weight:700;display:grid}.customer-create-grid input{color:#172033;min-height:40px;font:inherit;background:#fff;border:1px solid #cfd7e3;border-radius:8px;padding:0 10px}.customer-create-wide{grid-column:1/-1}.form-error{color:#a33b3b;margin-top:14px;font-size:13px}.modal-actions{justify-content:end;gap:10px;margin-top:22px;display:flex}.customer-list{flex-direction:column;display:flex}.customer-row{cursor:pointer;border-bottom:1px solid #f1f5f9;align-items:center;gap:14px;padding:16px 20px;display:flex}.customer-row:hover,.customer-row:focus{outline-offset:-2px;background:#f8fafc;outline:2px solid #bfdbfe}.customer-row:last-child{border-bottom:0}.customer-avatar{color:#1e40af;background:#dbeafe;border-radius:50%;flex:0 0 42px;place-items:center;width:42px;height:42px;font-weight:700;display:grid}.customer-main{flex:1;min-width:0}.customer-main h3{color:#0f172a;font-size:15px}.customer-contact{color:#64748b;overflow-wrap:anywhere;font-size:13px}.customer-summary{color:#64748b;flex-direction:column;align-items:flex-end;gap:4px;font-size:12px;display:flex}.customer-balance{color:#047857;font-weight:600}.customer-balance.outstanding{color:#b91c1c}.customer-profile-page{background:#fff;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden}.profile-back{color:#2563eb;cursor:pointer;background:0 0;border:0;margin:16px 20px 0;font-weight:600}.customer-balance-banner{color:#991b1b;background:#fef2f2;border:1px solid #fecaca;border-left:5px solid #dc2626;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;margin:14px 20px 0;padding:12px 14px;display:flex}.customer-balance-banner strong{font-size:14px}.customer-balance-banner span{font-size:13px}.profile-header{align-items:center;gap:16px;padding:20px;display:flex}.profile-avatar{flex-basis:56px;width:56px;height:56px;font-size:20px}.profile-header h2{color:#0f172a}.profile-header p{color:#64748b;margin-top:2px;font-size:13px}.customer-contact-link{color:#2563eb;text-decoration:none}.customer-contact-link:hover,.customer-contact-link:focus-visible{outline-offset:2px;border-radius:3px;outline:2px solid #bfdbfe;text-decoration:underline}.profile-info-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;padding:0 20px 20px;display:grid}.profile-info-grid div{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;min-width:0;padding:10px 12px}.profile-info-grid span{color:#64748b;text-transform:uppercase;letter-spacing:.04em;font-size:11px;display:block}.profile-info-grid strong{color:#0f172a;text-overflow:ellipsis;margin-top:4px;font-size:13px;display:block;overflow:hidden}.profile-tabs{border-bottom:1px solid #e2e8f0;gap:4px;padding:0 20px;display:flex}.profile-tabs button{color:#64748b;cursor:pointer;background:0 0;border:0;border-bottom:3px solid #0000;padding:10px 14px;font-weight:700}.profile-tabs button.active{color:#1e40af;border-bottom-color:#2563eb}.profile-records .record-row{padding-left:20px;padding-right:20px}.profile-empty{padding:18px 20px;font-size:13px}.estimates-mode .stats-row,.estimates-mode .filters,.estimates-mode .calendar-section,.estimates-mode .appointments-section,.estimates-mode .footer-note,.invoices-mode .stats-row,.invoices-mode .filters,.invoices-mode .calendar-section,.invoices-mode .appointments-section,.invoices-mode .footer-note,.record-detail-mode .stats-row,.record-detail-mode .filters,.record-detail-mode .calendar-section,.record-detail-mode .appointments-section,.record-detail-mode .footer-note{display:none}.record-row-clickable{cursor:pointer}.record-row-clickable:hover,.record-row-clickable:focus{outline-offset:-2px;background:#f8fafc;outline:2px solid #bfdbfe}.record-detail-page{background:#fff;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden}.record-detail-header{border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;gap:16px;padding:20px;display:flex}.record-detail-header h2,.record-detail-header p{color:#0f172a}.record-detail-header p{color:#64748b;margin-top:4px}.customer-record-link{color:#1d4ed8;cursor:pointer;text-align:left;background:0 0;border:0;margin-top:5px;padding:0;font-size:15px;font-weight:700;display:block}.record-customer-summary{color:#64748b;flex-wrap:wrap;align-items:center;gap:10px;margin-top:5px;font-size:12px;display:flex}.edit-customer-btn{color:#2563eb;cursor:pointer;background:0 0;border:0;padding:0;font-weight:600}.profile-edit-button{border-radius:.375rem;justify-content:center;align-items:center;width:2rem;height:2rem;margin-left:auto;display:inline-flex}.profile-edit-button:hover,.profile-edit-button:focus-visible{background:#eff6ff}.profile-edit-button svg{display:block}.customer-profile-edit{background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;gap:10px;margin:0 20px 20px;padding:14px;display:grid}.customer-profile-edit input{border:1px solid #cbd5e1;border-radius:6px;max-width:520px;padding:9px}.customer-profile-edit .secondary-btn{margin-left:8px}.record-detail-total{color:#0f172a;font-size:20px}.record-detail-body{padding:20px}.financial-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.financial-summary-grid span{color:#334155;background:#f8fafc;border-radius:10px;gap:5px;padding:12px;display:grid}.financial-summary-grid strong{color:#64748b;text-transform:uppercase;letter-spacing:.04em;font-size:11px}.payment-entry{flex-wrap:wrap;align-items:end;gap:8px;margin:14px 0;display:flex}.payment-entry h4{flex-basis:100%;margin:0}.payment-entry input,.payment-entry select{border:1px solid #cbd5e1;border-radius:7px;min-width:130px;padding:9px}.payment-history{gap:8px;margin:0;padding:0;list-style:none;display:grid}.payment-history li{color:#334155;background:#f8fafc;border-radius:8px;grid-template-columns:1fr auto auto;align-items:center;gap:14px;padding:10px 12px;display:grid}.payment-history em{color:#64748b;font-size:12px;font-style:normal}.record-detail-body h4{color:#334155;margin:18px 0 8px}@media (width<=760px){.app{padding:0;display:block}.app-sidebar{border-bottom:1px solid #e7ebf2;border-right:0;height:auto;padding:14px 16px 0;display:block;position:static}.sidebar-company,.sidebar-label,.sidebar-bottom{display:none}.sidebar-brand{margin-bottom:12px}.sidebar-nav{gap:5px;padding-bottom:12px;display:flex;overflow-x:auto}.sidebar-link{border-radius:9px;flex:none;width:auto;padding:8px 11px}.sidebar-link span:first-child{display:none}.app-main{padding:0 16px 24px}.header{margin-bottom:12px;padding:14px 0}.header h1{font-size:22px}.header-actions{gap:6px}.header-actions .btn-estimate,.header-actions .btn-job,.header-actions .date-badge,.primary-nav{display:none}.concept-page-heading{display:block}.concept-primary-actions{margin-top:14px}.concept-metric-grid{grid-template-columns:1fr 1fr;gap:10px}.concept-dashboard-grid{grid-template-columns:1fr;gap:12px}.concept-metric-card{min-height:122px;padding:14px}.concept-page-heading h2{font-size:28px}.auth-gate{margin:28px auto;padding:28px 20px}}.app{background:#f7f8fa;grid-template-columns:13.75rem minmax(0,1fr);gap:0;max-width:none;min-height:100vh;padding:0;display:grid}.app-main{min-width:0;padding:0 2rem 1.75rem}.app-sidebar{box-sizing:border-box;z-index:30;background:#fff;border-right:1px solid #e7ebf2;flex-direction:column;width:13.75rem;height:100vh;padding:1.25rem .75rem 1rem;display:flex;position:fixed;top:0;left:0;overflow-y:auto}.app-main{grid-column:2}.sidebar-brand,.sidebar-company,.sidebar-user{align-items:center;gap:10px;display:flex}.sidebar-brand{padding:0 8px 22px}.brand-mark,.auth-gate-mark{color:#fff;background:#1683f8;border-radius:11px;place-items:center;width:34px;height:34px;font-size:12px;font-weight:800;display:grid}.sidebar-brand strong,.sidebar-company strong,.sidebar-user strong{color:#252a35;font-size:13px;display:block}.sidebar-brand small,.sidebar-company small,.sidebar-user small{color:#9aa2b1;margin-top:2px;font-size:10px;display:block}.sidebar-company{border:1px solid #e7ebf2;border-radius:11px;margin:0 0 20px;padding:12px 10px}.sidebar-label{color:#a1a8b5;letter-spacing:.14em;text-transform:uppercase;margin:0 10px 8px;font-size:9px;font-weight:800}.sidebar-nav{gap:3px;display:grid}.sidebar-link{color:#687285;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:9px;align-items:center;gap:10px;width:100%;padding:10px 11px;font-size:12px;font-weight:600;display:flex}.sidebar-link:hover{color:#1d6ed8;background:#f3f7fd}.sidebar-link.active{color:#0878ec;background:#eaf3ff;border:1px solid #c7e1ff;box-shadow:0 0 0 1px #c7e1ff73}.sidebar-link span:first-child{width:20px;height:20px;color:inherit;text-align:center;flex:0 0 20px;place-items:center;display:grid}.sidebar-nav-icon{width:18px;height:18px;display:block}.sidebar-bottom{margin-top:auto}.sidebar-user{border-top:1px solid #edf0f4;margin-top:18px;padding:13px 7px 0}.user-initials{color:#5e6778;background:#edf0f5;border-radius:50%;place-items:center;width:28px;height:28px;font-size:10px;font-weight:800;display:grid}.app-main>.header{background:#fff;border-bottom:1px solid #e7ebf2;margin:0 -32px 22px;padding:18px 32px 16px}.app-main>.header h1{font-size:24px}.app-main>.header .meta{color:#9aa2b1}.auth-gate{text-align:center;background:#fff;border:1px solid #e7ebf2;border-radius:18px;max-width:520px;margin:100px auto;padding:40px;box-shadow:0 12px 32px #1a253a0f}.auth-gate-mark{margin:0 auto 14px}.auth-gate h2{color:#252a35;margin:4px 0 8px}.auth-gate>p:not(.concept-eyebrow){color:#8b94a4;margin-bottom:20px;font-size:13px}.auth-gate label{color:#687285;text-align:left;gap:6px;font-size:12px;font-weight:700;display:grid}.auth-gate select{background:#fff;border:1px solid #d9e0ea;border-radius:9px;padding:10px 12px}.auth-gate .primary{width:100%;margin-top:14px}.unauthenticated .header-actions .btn-estimate,.unauthenticated .header-actions .btn-job,.unauthenticated .header-actions .date-badge,.unauthenticated .app-main>.primary-nav,.unauthenticated .app-main>.dashboard-summary,.unauthenticated .app-main>.footer-note,.unauthenticated .app-main>:not(.header):not(.auth-gate){display:none}.concept-dashboard{max-width:1180px;margin:0 auto}.concept-page-heading{justify-content:space-between;align-items:end;gap:20px;margin:28px 0 22px;display:flex}.concept-page-heading h2{color:#252a35;letter-spacing:-.04em;margin:4px 0 6px;font-size:31px}.concept-page-heading>div>p:last-child{color:#8b94a4;font-size:13px}.concept-primary-actions,.concept-panel-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.concept-secondary-action,.concept-primary-action{cursor:pointer;border-radius:9px;padding:10px 15px;font-weight:700}.concept-primary-action,.primary{color:#fff;cursor:pointer;background:#1683f8;border:0;border-radius:9px;padding:10px 15px;font-weight:700}.concept-metric-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.concept-metric-card{text-align:left;cursor:pointer;background:#fff;border:1px solid #e7ebf2;border-radius:15px;min-height:126px;padding:17px;box-shadow:0 6px 20px #1a253a09}.concept-metric-card:hover{border-color:#badbff;transform:translateY(-1px)}.concept-metric-card strong{color:#252a35;letter-spacing:-.04em;margin:12px 0 6px;font-size:28px;display:block}.concept-metric-card small,.concept-muted{color:#9aa2b1;font-size:11px}.concept-metric-card.paid-up{background:#f0fdf4;border-color:#bbf7d0}.concept-metric-card.paid-up .concept-card-label,.concept-metric-card.paid-up strong{color:#15803d}.concept-dashboard-grid{grid-template-columns:1.45fr 1fr;gap:14px;margin-top:14px;display:grid}.concept-panel{background:#fff;border:1px solid #e7ebf2;border-radius:15px;min-height:220px;padding:18px;box-shadow:0 6px 20px #1a253a09}.concept-panel h3{color:#252a35;font-size:16px}.concept-panel-heading>button{color:#0878ec;cursor:pointer;background:0 0;border:0;font-size:11px;font-weight:700}.concept-panel-total{color:#252a35;margin:24px 0 13px;font-size:24px;font-weight:800}.concept-pipeline-bar span{min-width:4px}.concept-pipeline-legend button{color:#8a94a5;text-align:left;cursor:pointer;background:#f7f9fb;border:0;border-radius:9px;gap:4px;padding:10px;font-size:10px;display:grid}.concept-pipeline-legend strong{color:#252a35;font-size:18px}.concept-attention-list,.concept-technician-list{margin-top:12px;display:grid}.concept-attention-list button,.concept-technician-list button{color:#596477;text-align:left;cursor:pointer;background:0 0;border:0;border-bottom:1px solid #eef1f5;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;padding:12px 0;display:grid}.attention-icon{color:#d28a21;background:#fff2d9;border-radius:8px;place-items:center;width:26px;height:26px;font-weight:800;display:grid}.concept-count-badge{color:#c78320;background:#fff2d9;border-radius:20px;padding:4px 8px;font-size:10px;font-weight:800}.concept-revenue-total{color:#252a35;margin:25px 0 3px;font-size:25px;font-weight:800}.concept-segmented{background:#f2f4f7;border-radius:8px;gap:3px;padding:3px;display:flex}.concept-segmented button{color:#8a94a5;cursor:pointer;background:0 0;border:0;border-radius:6px;padding:5px 8px;font-size:10px}.concept-segmented button.active{color:#4d586a;background:#fff;box-shadow:0 1px 3px #00000014}.concept-chart-empty{color:#a4adba;border-top:1px solid #eef1f5;place-items:center;min-height:100px;margin-top:16px;font-size:11px;display:grid}.concept-technician-list button{grid-template-columns:auto 1fr auto}.technician-name{gap:2px;display:grid}.technician-name strong{color:#3f4858;font-size:12px}.technician-status{color:#32916e;background:#eaf8f2;border-radius:20px;padding:4px 8px;font-size:10px;font-weight:700}.technician-status.off_today{color:#8a94a5;background:#f0f2f5}@media (width<=760px){.app{display:block}.app-sidebar{border-bottom:1px solid #e7ebf2;border-right:0;height:auto;padding:14px 16px 0;display:block;position:static}.sidebar-company,.sidebar-label,.sidebar-bottom{display:none}.sidebar-brand{margin-bottom:12px}.sidebar-nav{gap:5px;padding-bottom:12px;display:flex;overflow-x:auto}.sidebar-link{flex:none;width:auto;padding:8px 11px}.sidebar-link span:first-child{display:none}.app-main{padding:0 16px 24px}.app-main>.header{margin:0 -16px 12px;padding:14px 16px}.header h1{font-size:22px}.header-actions{gap:6px}.header-actions .btn-estimate,.header-actions .btn-job,.header-actions .date-badge,.primary-nav{display:none}.concept-page-heading{display:block}.concept-primary-actions{margin-top:14px}.concept-metric-grid{grid-template-columns:1fr 1fr;gap:10px}.concept-dashboard-grid{grid-template-columns:1fr;gap:12px}.concept-metric-card{min-height:122px;padding:14px}.concept-page-heading h2{font-size:28px}.concept-pipeline-legend{grid-template-columns:1fr 1fr}.auth-gate{margin:28px auto;padding:28px 20px}}.detail-section{border-bottom:1px solid #e2e8f0;margin-bottom:20px;padding-bottom:20px}.detail-section h3{color:#0f172a;margin-bottom:12px}.detail-section-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.secondary-btn{color:#1e40af;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:6px;padding:7px 11px;font-weight:600}.line-item-row{grid-template-columns:minmax(0,2fr) 110px 140px auto;align-items:end;gap:10px;margin-bottom:10px;display:grid}.line-item-row label{color:#475569;font-size:12px;font-weight:600}.line-item-row input,.detail-section textarea{box-sizing:border-box;border:1px solid #cbd5e1;border-radius:6px;width:100%;margin-top:5px;padding:9px;display:block}.remove-line-btn{color:#b91c1c;cursor:pointer;background:0 0;border:0;padding:9px 0}.detail-empty{color:#64748b;font-size:13px}.detail-section textarea{resize:vertical;min-height:100px}.attachment-picker{color:#1e40af;cursor:pointer;border:1px dashed #94a3b8;border-radius:7px;padding:12px;font-weight:600;display:inline-block}.attachment-picker input{margin-top:6px;display:block}.attachment-list{color:#334155;margin:12px 0 0 18px}.attachment-thumb{object-fit:cover;vertical-align:middle;border:1px solid #cbd5e1;border-radius:6px;width:72px;height:54px;margin-right:8px}.record-detail-actions{justify-content:flex-end;display:flex}.reports-page.presentation-mode{z-index:100;background:#f8fafc;padding:32px 5vw;position:fixed;inset:0;overflow:auto}.reports-page.presentation-mode .report-card{min-height:300px}.reports-header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:20px;display:flex}.reports-header h2{color:#0f172a;font-size:28px}.reports-header p:not(.concept-eyebrow){color:#64748b;margin-top:4px;font-size:13px}.report-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.report-card{background:#fff;border:1px solid #dbe5f0;border-radius:12px;min-height:250px;padding:18px}.report-card.report-wide{grid-column:span 2}.report-card h3{color:#1769aa;font-size:17px}.report-card p{color:#64748b;margin:5px 0 12px;font-size:12px}.report-line-chart{width:100%;height:170px;display:block;overflow:visible}.report-line-chart line{stroke:#cbd5e1;stroke-width:1px}.report-line-chart polyline{fill:none;stroke:#2563eb;stroke-width:2.5px;vector-effect:non-scaling-stroke}.report-axis{color:#64748b;justify-content:space-between;margin:-2px 8% 0;font-size:11px;display:flex}.report-bars{justify-content:space-around;align-items:end;gap:10px;height:190px;padding-top:8px;display:flex}.report-bar-item{flex-direction:column;flex:1;justify-content:end;align-items:center;gap:5px;height:100%;display:flex}.report-bar-track{background:#f1f5f9;border-radius:7px 7px 0 0;align-items:end;width:min(44px,80%);height:145px;display:flex;overflow:hidden}.report-bar-track span{border-radius:7px 7px 0 0;width:100%;display:block}.report-bar-item strong{color:#0f172a;font-size:13px}.report-bar-item small{color:#64748b;text-align:center;font-size:10px}.report-table{gap:2px;display:grid}.report-table div{color:#475569;border-bottom:1px solid #e2e8f0;justify-content:space-between;gap:12px;padding:13px 2px;font-size:13px;display:flex}.report-table strong{color:#0f172a}@media (width<=720px){.reports-page{padding:16px}.reports-header{flex-direction:column}.report-grid{grid-template-columns:1fr}.report-card.report-wide{grid-column:auto}}.records-page{background:#fff;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden}.records-page-header{border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;gap:16px;padding:20px;display:flex}.records-page-header h2{color:#0f172a}.records-page-header p{color:#64748b;margin-top:2px;font-size:13px}.records-open-summary{color:#1e40af;font-size:13px;font-weight:700}.record-analytics{background:#f8fafc;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:20px 20px 6px;display:grid}.record-analytics article{background:#fff;border:1px solid #dbe5f0;border-radius:10px;gap:3px;min-height:64px;padding:10px 14px;display:grid}.record-analytics.estimate-analytics{grid-template-columns:repeat(4,minmax(0,1fr))}.record-analytics span{color:#64748b;font-size:12px;font-weight:700}.record-analytics strong{color:#0f172a;font-size:24px;line-height:1.1}.record-analytics .analytics-balance-critical{color:#dc2626;background:#fef2f2;border-color:#fecaca}.record-analytics .analytics-balance-warning{color:#d97706;background:#fff7ed;border-color:#fed7aa}.record-analytics .analytics-balance-clear{color:#16a34a;background:#f0fdf4;border-color:#bbf7d0}.record-analytics article.analytics-balance-critical strong,.record-analytics article.analytics-balance-warning strong,.record-analytics article.analytics-balance-clear strong{color:inherit}.record-analytics small{color:#94a3b8;font-size:11px}@media (width<=720px){.record-analytics{grid-template-columns:1fr}}.record-row{border-bottom:1px solid #f1f5f9;justify-content:space-between;gap:16px;padding:16px 20px;display:flex}.record-row:last-child{border-bottom:0}.record-main{min-width:0}.record-main h3{color:#0f172a;font-size:15px}.record-customer{color:#334155;margin-top:2px;font-size:14px}.record-meta,.record-notes{color:#64748b;margin-top:3px;font-size:12px}.record-side{white-space:nowrap;flex-direction:column;align-items:flex-end;gap:6px;display:flex}.record-side strong{color:#0f172a}.record-status{text-transform:uppercase;border-radius:999px;padding:3px 9px;font-size:11px;font-weight:700}.record-status.status-open{color:#1e40af;background:#dbeafe}.record-status.status-accepted{color:#065f46;background:#d1fae5}.record-status.status-expired,.record-status.status-rejected{color:#64748b;background:#f1f5f9}.record-status.status-paid{color:#065f46;background:#d1fae5}.record-status.status-partial{color:#92400e;background:#fef3c7}.record-status.status-unpaid,.record-status.status-overdue{color:#b91c1c;background:#fee2e2}.record-balance{color:#64748b;font-size:12px}.record-balance.invoice-balance-partial{color:#d97706;font-weight:700}.record-balance.invoice-balance-open{color:#dc2626;font-weight:700}.schedule-mode .stats-row,.schedule-mode .filters,.schedule-mode .appointments-section,.schedule-mode .footer-note,.schedule-mode .page-placeholder{display:none}.schedule-mode .full-screen-calendar{margin-top:3rem;margin-inline:.5rem;min-height:calc(100vh - 10.625rem);margin-bottom:0;padding:1.5rem}.slot-actions{background:#eff6ff;border:1px solid #bfdbfe;border-radius:10px;flex-wrap:wrap;align-items:center;gap:10px;margin-top:16px;padding:14px 16px;display:flex}.slot-actions strong{color:#1e3a8a;margin-right:auto}.stats-row{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:16px;margin-bottom:24px;display:grid}.stat{text-align:center;background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:16px}.stat-value{color:#0f172a;font-size:28px;font-weight:700}.stat-value.blue{color:#1e40af}.stat-value.amber{color:#92400e}.stat-value.green{color:#065f46}.stat-label{color:#64748b;text-transform:uppercase;letter-spacing:.5px;margin-top:4px;font-size:12px}.filters{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;display:flex}.filter-group{flex-wrap:wrap;gap:8px;display:flex}.filter-group button{cursor:pointer;color:#475569;background:#fff;border:1px solid #e2e8f0;border-radius:20px;padding:8px 14px;font-size:13px;transition:all .1s}.filter-group button.active{color:#1e40af;background:#eff6ff;border-color:#3b82f6;font-weight:500}.date-filter{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:8px 12px;font-size:13px}.appointments-section h2{color:#0f172a;margin-bottom:16px;font-size:18px;font-weight:600}.appointment-list{flex-direction:column;gap:12px;display:flex}.appointment-clickable{cursor:pointer}.appointment-clickable:hover,.appointment-clickable:focus{outline-offset:-2px;outline:2px solid #bfdbfe}.appointment{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:18px;transition:box-shadow .2s}.appointment:hover{box-shadow:0 4px 12px #0000000f}.appointment-header{justify-content:space-between;align-items:flex-start;margin-bottom:12px;display:flex}.appointment-time{color:#1e40af;font-size:18px;font-weight:700}.appointment-date{color:#94a3b8;font-size:12px}.appointment-status{text-transform:uppercase;letter-spacing:.6px;border-radius:999px;padding:4px 12px;font-size:11px;font-weight:600}.status-scheduled{color:#1e40af;background:#dbeafe}.status-enroute{color:#92400e;background:#fef3c7}.status-on-site{color:#065f46;background:#d1fae5}.status-completed{color:#3730a3;background:#e0e7ff}.appointment-details{margin-bottom:10px}.customer{color:#0f172a;font-size:15px;font-weight:600}.address,.phone{color:#64748b;margin-top:2px;font-size:13px}.job-meta{align-items:center;gap:8px;margin:8px 0;display:flex}.job-type{color:#475569;background:#f1f5f9;border-radius:4px;padding:2px 8px;font-size:12px;font-weight:500;display:inline-block}.balance-pill{color:#b91c1c;background:#fef2f2;border-radius:4px;padding:2px 8px;font-size:12px;font-weight:600;display:inline-block}.technician-assignment{color:#475569;align-items:center;gap:8px;margin-top:10px;font-size:12px;font-weight:600;display:flex}.technician-assignment select{color:#0f172a;background:#fff;border:1px solid #cbd5e1;border-radius:6px;padding:6px 8px}.technician{color:#475569;margin-top:8px;font-size:13px}.notes{color:#475569;background:#f8fafc;border-left:3px solid #94a3b8;border-radius:6px;margin-top:10px;padding:10px 12px;font-size:13px}.card-actions{align-items:center;gap:10px;margin-top:14px;display:flex}.status-select{background:#fff;border:1px solid #e2e8f0;border-radius:6px;flex:1;max-width:160px;padding:6px 10px;font-size:13px}.note-btn{cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:6px;padding:6px 14px;font-size:13px}.note-input-row{gap:8px;margin-top:10px;display:flex}.note-input-row input{border:1px solid #e2e8f0;border-radius:6px;flex:1;padding:8px 12px;font-size:13px}.note-input-row button{color:#fff;cursor:pointer;background:#10b981;border:none;border-radius:6px;padding:8px 16px;font-size:13px}.note-input-row button:disabled{color:#9ca3af;cursor:not-allowed;background:#e5e7eb}.schedule-modal{z-index:100;background:#fff;border-radius:16px;width:92%;max-width:620px;max-height:90vh;padding:0;position:fixed;top:50%;left:50%;overflow-y:auto;transform:translate(-50%,-50%);box-shadow:0 20px 60px #00000040}.schedule-header{border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;padding:20px 24px;display:flex}.schedule-header h2{color:#0f172a;font-size:20px;font-weight:700}.close-btn{cursor:pointer;color:#94a3b8;background:0 0;border:none;font-size:28px;line-height:1}.stepper{background:#f8fafc;border-bottom:1px solid #e2e8f0;justify-content:space-between;padding:16px 24px;display:flex}.step{color:#94a3b8;font-size:13px;font-weight:500}.step.active{color:#1e40af;font-weight:600}.workflow-step{padding:24px}.search-section label{color:#475569;margin-bottom:8px;font-size:13px;font-weight:500;display:block}.search-input{border:1px solid #e2e8f0;border-radius:10px;width:100%;padding:12px 16px;font-size:15px}.search-input:focus{border-color:#3b82f6;outline:none;box-shadow:0 0 0 3px #3b82f61a}.customer-results{flex-direction:column;gap:8px;margin-top:12px;display:flex}.customer-result{text-align:left;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:10px;width:100%;padding:14px 16px;transition:all .1s}.customer-result:hover{background:#f8fafc;border-color:#3b82f6}.cust-name{color:#0f172a;font-weight:600}.cust-meta{color:#64748b;margin-top:2px;font-size:13px}.balance-warning{color:#b91c1c;margin-top:6px;font-size:12px;font-weight:600}.balance-warning.inline{margin-top:8px}.no-results{color:#94a3b8;text-align:center;padding:16px;font-size:14px}.divider{text-align:center;color:#94a3b8;margin:20px 0;font-size:13px}.new-customer-btn{color:#475569;cursor:pointer;background:#f8fafc;border:2px dashed #cbd5e1;border-radius:10px;width:100%;padding:14px;font-size:15px;font-weight:600}.new-customer-btn:hover{background:#f1f5f9}.new-customer-form{gap:10px;margin-top:16px;display:grid}.new-customer-form input{border:1px solid #e2e8f0;border-radius:8px;padding:12px 14px;font-size:14px}.new-customer-form button.primary{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:10px;margin-top:8px;padding:14px;font-size:15px;font-weight:600}.new-customer-form button.primary:disabled{color:#9ca3af;cursor:not-allowed;background:#e5e7eb}.customer-banner{background:#f8fafc;border-radius:10px;margin-bottom:20px;padding:14px 16px}.customer-banner strong{color:#0f172a;display:block}.customer-banner span{color:#64748b;font-size:13px}.calendar-time-grid{grid-template-columns:1fr 1.4fr;gap:20px;display:grid}@media (width<=560px){.calendar-time-grid{grid-template-columns:1fr}}.calendar-panel label,.time-panel label{color:#475569;margin-bottom:8px;font-size:13px;font-weight:500;display:block}.calendar-panel input[type=date]{border:1px solid #e2e8f0;border-radius:8px;width:100%;padding:10px 12px;font-size:15px}.calendar-hint{color:#94a3b8;margin-top:6px;font-size:12px}.time-slots{grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:8px;display:grid}.time-slot{color:#1e40af;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:12px;font-size:14px;font-weight:600;transition:all .1s}.time-slot:hover{background:#eff6ff;border-color:#3b82f6}.time-slot.after-hours{color:#64748b;background:#eef0f2;border-color:#d7dce2}.time-slot.after-hours:hover{color:#475569;background:#e3e7eb;border-color:#aeb8c4}.time-slot.selected{color:#fff;background:#1e40af;border-color:#1e40af}.no-slots{text-align:center;color:#94a3b8;background:#f8fafc;border-radius:8px;padding:20px;font-size:14px}.quick-add{border-top:1px solid #e2e8f0;margin-top:16px;padding-top:16px}.qa-label{color:#64748b;margin-bottom:8px;font-size:12px}.quick-btn{color:#fff;cursor:pointer;background:#10b981;border:none;border-radius:8px;width:100%;padding:12px;font-size:14px;font-weight:600}.job-type-row{margin-top:20px}.job-type-row label{color:#475569;margin-bottom:6px;font-size:13px;font-weight:500;display:block}.job-type-row select{background:#fff;border:1px solid #e2e8f0;border-radius:8px;width:100%;padding:12px 14px;font-size:15px}.back-btn{color:#475569;cursor:pointer;background:0 0;border:1px solid #e2e8f0;border-radius:8px;margin-top:20px;padding:10px 18px;font-size:14px}.confirm-step{padding-bottom:8px}.confirm-card{background:#f8fafc;border-radius:12px;margin-bottom:20px;padding:18px}.confirm-row{border-bottom:1px solid #e2e8f0;justify-content:space-between;padding:8px 0;font-size:14px;display:flex}.confirm-row:last-child{border-bottom:none}.confirm-row.warning{color:#b91c1c;font-weight:600}.confirm-row span{color:#64748b}.confirm-row strong.warn{color:#b91c1c}.confirm-step textarea{resize:vertical;border:1px solid #e2e8f0;border-radius:8px;width:100%;min-height:90px;margin-bottom:16px;padding:12px;font-size:14px}.confirm-actions{gap:12px;display:flex}.confirm-actions .primary{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:10px;flex:1;padding:14px;font-size:15px;font-weight:600}.confirm-actions .primary:hover{background:#1e40af}.empty-state{text-align:center;color:#94a3b8;background:#fff;border:1px dashed #cbd5e1;border-radius:12px;padding:60px 20px}.footer-note{color:#713f12;text-align:center;background:#fefce8;border-radius:8px;margin-top:40px;padding:16px;font-size:12px}@media (width<=640px){.app{padding:16px}.header{flex-direction:column;align-items:flex-start}.header-actions{width:100%}.btn-estimate,.btn-job{flex:1}.stats-row{grid-template-columns:repeat(2,1fr)}.filters{flex-direction:column;align-items:stretch}.filter-group{justify-content:flex-start}.date-filter{width:100%}.schedule-modal{width:96%;max-height:95vh}.calendar-time-grid{grid-template-columns:1fr}.primary-nav{flex-direction:column;align-items:stretch}.nav-links{flex-wrap:nowrap;width:100%;overflow-x:auto}.nav-link{white-space:nowrap}.global-search{width:100%;min-width:0}.customers-page-header,.customers-page-actions{flex-direction:column;align-items:stretch}.customer-filter{width:100%}.customer-row{align-items:flex-start}.customer-summary{margin-left:auto}.records-page-header{flex-direction:column;align-items:stretch}.record-detail-header{flex-direction:column;align-items:flex-start}.line-item-row{grid-template-columns:1fr 1fr}.line-item-row label:first-child{grid-column:1/-1}.remove-line-btn{justify-self:start}.profile-header{align-items:flex-start}.customer-balance-banner{flex-direction:column;align-items:flex-start}.profile-info-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-tabs{overflow-x:auto}.record-row{align-items:flex-start}.record-side{margin-left:auto}}.modal-overlay{z-index:2000;background:#0009;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.job-detail-modal{background:#fff;border-radius:16px;width:100%;max-width:520px;max-height:90vh;overflow-y:auto;box-shadow:0 20px 60px #0000004d}.modal-header{border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;padding:20px 24px;display:flex}.modal-header h2{color:#1e293b;margin:0;font-size:20px}.detail-section{padding:20px 24px}.detail-row{border-bottom:1px solid #f1f5f9;padding:10px 0;display:flex}.detail-row:last-child{border-bottom:none}.detail-row .label{color:#64748b;flex-shrink:0;width:140px;font-size:13px}.detail-row .value{color:#1e293b;flex:1;font-size:14px}.detail-row.warning .value.warn{color:#dc2626;font-weight:600}.status-badge{border-radius:12px;padding:2px 10px;font-size:12px;font-weight:600;display:inline-block}.detail-actions{background:#f8fafc;border-top:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0;flex-wrap:wrap;gap:10px;padding:16px 24px;display:flex}.action-btn{cursor:pointer;text-align:center;border:none;border-radius:10px;flex:1;min-width:140px;padding:12px 16px;font-size:14px;font-weight:600;text-decoration:none;display:inline-block}.call-btn{color:#fff;background:#10b981}.nav-btn{color:#fff;background:#3b82f6}.history-btn{color:#fff;background:#8b5cf6}.customer-profile-summary{background:#f8fafc;border-bottom:1px solid #e2e8f0;padding:20px 24px}.customer-profile-summary h3{color:#475569;margin:0 0 14px;font-size:15px}.profile-grid{grid-template-columns:1fr 1fr;gap:10px;font-size:13px;display:grid}.profile-grid div{color:#334155}.profile-grid .warn{color:#dc2626;font-weight:600}.job-history-panel{background:#fefce8;border-bottom:1px solid #fde047;padding:20px 24px}.job-history-panel h3{color:#713f12;margin:0 0 14px;font-size:15px}.history-list{flex-direction:column;gap:10px;display:flex}.history-entry{background:#fff;border:1px solid #fde047;border-radius:8px;padding:12px}.history-header{gap:10px;margin-bottom:6px;font-size:13px;display:flex}.history-date{color:#854d0e;font-weight:600}.history-type{color:#a16207}.history-amount{color:#166534;margin-left:auto;font-weight:600}.history-desc{color:#334155;margin-bottom:4px;font-size:13px}.history-tech{color:#64748b;font-size:12px}.fixture-note{color:#854d0e;margin-top:12px;font-size:12px;font-style:italic}.status-update-section{padding:20px 24px}.status-update-section label{color:#475569;margin-bottom:8px;font-size:13px;font-weight:500;display:block}.status-select.wide{border:1px solid #e2e8f0;border-radius:8px;width:100%;padding:12px 14px;font-size:15px}.modal-footer{text-align:right;border-top:1px solid #e2e8f0;padding:16px 24px}.safe-action-link{color:#2563eb;font-weight:500;text-decoration:none}.safe-action-link:hover{text-decoration:underline}.address-text{color:#64748b;margin-top:4px;font-size:12px;display:block}.detail-btn{color:#3730a3;cursor:pointer;background:#e0e7ff;border:none;border-radius:6px;padding:6px 12px;font-size:12px;font-weight:500}.detail-btn:hover{background:#c7d2fe}.calendar-section{background:#fff;border:1px solid #e2e8f0;border-radius:12px;margin-bottom:32px;padding:20px}.calendar-section h2{color:#0f172a;margin-bottom:16px;font-size:18px;font-weight:600}.calendar-view{width:100%}.calendar-header{border-bottom:1px solid #e2e8f0;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;padding-bottom:12px;display:flex}.calendar-nav{gap:8px;display:flex}.nav-btn{cursor:pointer;color:#475569;background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:8px 14px;font-size:14px;transition:all .1s}.nav-btn:hover{background:#f8fafc;border-color:#cbd5e1}.nav-btn.today-btn{color:#1e40af;font-weight:600}.view-toggle{border:1px solid #e2e8f0;border-radius:8px;display:flex;overflow:hidden}.view-toggle button{cursor:pointer;color:#475569;background:#fff;border:none;padding:8px 16px;font-size:13px;transition:all .1s}.view-toggle button.active{color:#fff;background:#1e40af}.calendar-title{color:#0f172a;font-size:14px;font-weight:600}.calendar-grid{background:#e2e8f0;border:1px solid #e2e8f0;border-radius:8px;grid-template-columns:90px repeat(1,1fr);gap:1px;display:grid;overflow:visible}.calendar-grid.week{grid-template-columns:90px repeat(7,1fr)}.time-labels{background:#f8fafc;grid-template-rows:52px repeat(7,56px);display:grid}.time-label-header{color:#64748b;text-transform:uppercase;letter-spacing:.5px;border-bottom:1px solid #e2e8f0;align-items:center;height:auto;padding:6px 8px;font-size:11px;font-weight:600;display:flex}.time-label{color:#475569;border-bottom:1px solid #e2e8f0;align-items:center;height:100%;min-height:0;padding:6px 8px;font-size:12px;font-weight:600;display:flex;position:relative}.date-column{background:#fff;grid-template-rows:52px repeat(7,56px);display:grid;position:relative}.date-column.today{background:#fefce8}.date-column.weekend{background:#f1f3f5}.date-column.weekend .date-header,.date-column.weekend .time-block{background:#eef0f2}.date-header{text-align:center;background:#f8fafc;border-bottom:1px solid #e2e8f0;flex-direction:column;justify-content:center;height:auto;padding:5px 6px;display:flex}.date-weekday{color:#64748b;text-transform:uppercase;font-size:11px;font-weight:600}.date-day{color:#0f172a;margin-top:2px;font-size:16px;font-weight:700}.today-badge{color:#1d4ed8;letter-spacing:.02em;background:#dbeafe;border-radius:999px;align-self:center;margin-top:3px;padding:2px 7px;font-size:10px;font-weight:700;display:inline-flex}.current-time-reference{pointer-events:none;z-index:18;border-top:1px solid #dc262638;position:absolute;top:0;left:0;right:0;transform:translateY(-50%)}.current-time-reference.prominent{z-index:24;border-top:2px solid #dc2626}.current-time-dot{background:#dc2626;border-radius:50%;width:8px;height:8px;position:absolute;top:-5px;left:-4px;box-shadow:0 0 0 2px #ffffffe6}.current-time-axis-label{z-index:25;color:#b91c1c;white-space:nowrap;pointer-events:none;background:#fee2e2;border-radius:4px;padding:2px 4px;font-size:10px;font-weight:700;position:absolute;right:4px;transform:translateY(-50%)}.calendar-appointment-layer{z-index:20;pointer-events:none;position:absolute;inset:0}.calendar-appointment-layer.mobile{height:336px;position:absolute;inset:0 0 auto}.calendar-appointment-card{pointer-events:auto;cursor:grab;z-index:21;border:1px solid;border-left-width:4px;border-radius:6px;flex-direction:column;gap:2px;min-height:24px;padding:6px 8px;display:flex;position:absolute;overflow:hidden;box-shadow:0 1px 3px #0f172a1f}.calendar-appointment-card.block-appt-mini{position:absolute}.calendar-appointment-card:active{cursor:grabbing;opacity:.72}.calendar-appointment-card:not(.segment-start){border-top-left-radius:2px;border-top-right-radius:2px}.calendar-appointment-card:not(.segment-end){border-bottom-right-radius:2px;border-bottom-left-radius:2px}.calendar-card-time{color:#0c4a6e;white-space:nowrap;font-size:.72rem;font-weight:800}.calendar-card-customer{color:#172033;text-overflow:ellipsis;white-space:nowrap;font-size:.82rem;line-height:1.2;overflow:hidden}.calendar-card-type{color:#52657f;white-space:nowrap;text-overflow:ellipsis;font-size:.7rem;overflow:hidden}.calendar-card-meta{justify-content:space-between;align-items:center;gap:5px;min-width:0;display:flex}.calendar-card-meta .technician-name{white-space:nowrap;text-overflow:ellipsis;font-size:.7rem;overflow:hidden}.calendar-appointment-card .appointment-reschedule-button{opacity:0}.calendar-appointment-card:hover .appointment-reschedule-button,.calendar-appointment-card:focus-within .appointment-reschedule-button,.calendar-appointment-card .appointment-reschedule-button:focus-visible{opacity:1}.legacy-hidden,.legacy-mobile-content .mobile-agenda-appointment{display:none!important}:root[data-resolved-theme=dark] .dispatch-title-row h2,:root[data-resolved-theme=dark] .technician-toolbar,:root[data-resolved-theme=dark] .calendar-header,:root[data-resolved-theme=dark] .calendar-view .calendar-title,:root[data-resolved-theme=dark] .calendar-view .calendar-nav button,:root[data-resolved-theme=dark] .calendar-view .view-toggle button,:root[data-resolved-theme=dark] .calendar-view .density-toggle,:root[data-resolved-theme=dark] .dispatch-title-row h2{color:var(--theme-text)}@media (width<=680px){.calendar-appointment-card{padding:5px 7px}.calendar-appointment-card .calendar-card-time{font-size:.72rem}.calendar-appointment-card .calendar-card-customer{font-size:.82rem}.calendar-appointment-card .calendar-card-meta{display:block}.calendar-appointment-card .appointment-status-label,.calendar-appointment-card .appointment-reschedule-button{display:none}.calendar-appointment-layer.mobile .calendar-appointment-card{z-index:60;box-shadow:0 1px 3px #0f172a3d;background:#e7efff!important}:root[data-resolved-theme=dark] .calendar-appointment-layer.mobile .calendar-appointment-card{background:#29476b!important}.calendar-appointment-layer.mobile .calendar-card-meta{display:block;position:absolute;top:5px;right:7px}.calendar-appointment-layer.mobile .calendar-card-meta .technician-name{font-size:.68rem}.calendar-appointment-layer.mobile .appointment-resize-handle{background:#2563eb;border-radius:3px;width:14px;height:4px;padding:0;font-size:0;position:absolute;bottom:3px;right:6px}}@media (width<=680px){.reschedule-modal{border-radius:18px 18px 12px 12px;align-self:end;width:calc(100vw - 16px);max-height:min(88vh,680px);margin-bottom:8px;padding:20px}.reschedule-modal .record-detail-actions{flex-direction:column-reverse}.reschedule-modal .record-detail-actions button{width:100%;min-height:44px}.customer-profile-edit{grid-template-columns:1fr}.customer-profile-edit input:first-child,.customer-profile-edit input:nth-child(4),.customer-profile-edit>div{grid-column:auto}}@media (width<=640px){.person-row{flex-direction:column;align-items:flex-start}.person-row .settings-value{align-self:flex-start}.settings-actions button,.person-actions button{width:100%}}.work-order-detail-page .lifecycle-grid .settings-card:first-child,.work-order-detail-page .lifecycle-grid .settings-card:nth-child(4){grid-column:1/-1}@media (width<=760px){.work-order-detail-page{padding:16px 14px 32px}.work-order-section-nav{margin:0 -14px;padding:4px 14px 12px}.work-order-detail-page .lifecycle-card{display:block}.work-order-detail-page .lifecycle-card .settings-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.work-order-detail-page .lifecycle-grid{flex-direction:column;gap:12px;display:flex}.work-order-detail-page .lifecycle-grid .settings-card,.work-order-detail-page .lifecycle-grid .settings-card:first-child,.work-order-detail-page .lifecycle-grid .settings-card:nth-child(4){width:100%}.work-order-detail-page .work-order-next-action{z-index:4;align-items:center;gap:12px;padding:14px;display:flex;position:sticky;bottom:10px}.work-order-detail-page .work-order-next-action button{flex:none;min-height:48px}.work-order-detail-page input,.work-order-detail-page textarea,.work-order-detail-page select{font-size:16px}.work-order-detail-page .work-order-job-header{padding:18px}.work-order-detail-page .work-order-job-header h2{font-size:24px}}@media (prefers-reduced-motion:reduce){.current-time-reference{transition:none!important}}.time-block{cursor:pointer;z-index:1;border-bottom:1px solid #e2e8f0;flex-direction:column;justify-content:flex-start;height:100%;min-height:0;padding:4px 5px;transition:background .1s;display:flex;position:relative}.time-block:hover{background:#f1f5f9}.time-block.selected{z-index:30;background:#dbeafe;border:2px solid #3b82f6}.time-block.after-hours{background:#eef0f2;border-color:#d7dce2}.after-hours-text{color:#7a8491;letter-spacing:.01em;text-transform:none;margin-top:3px;font-size:.68rem;font-weight:600;line-height:1.1;display:block}.time-block.after-hours:hover{background:#d1d5db}.time-block.has-appointments{background:#f0f9ff}.block-appointments{flex-direction:column;gap:2px;display:flex}.block-appt-mini{cursor:pointer;background:#bae6fd;border-radius:4px;flex-direction:column;gap:1px;max-height:50px;padding:3px 5px;font-size:10px;display:flex;position:relative;overflow:hidden}.block-appt-mini:hover,.block-appt-mini:focus-visible{outline-offset:1px;background:#7dd3fc;outline:2px solid #0369a1}.block-appt-mini[draggable=true]{cursor:grab}.block-appt-mini[draggable=true]:active{cursor:grabbing;opacity:.65}.drag-preview{outline-offset:-2px;outline:2px dashed #2563eb;background:#2563eb21!important}.appointment-reschedule-button,.appointment-resize-handle{color:#155e75;cursor:pointer;background:#ffffffb3;border:0;border-radius:4px;padding:2px 5px;font-size:10px}.appointment-reschedule-button{opacity:0;transition:opacity .1s;position:absolute;top:3px;right:3px}.block-appt-mini:hover .appointment-reschedule-button,.block-appt-mini:focus-within .appointment-reschedule-button,.appointment-reschedule-button:focus-visible{opacity:1}.appointment-resize-handle{cursor:ns-resize;align-self:flex-end}.mini-time{color:#0369a1;font-weight:700}.more-indicator{color:#0369a1;margin-top:2px;font-size:10px;font-weight:600}.empty-block{color:#cbd5e1;text-align:center;padding:8px 0;font-size:14px}.slot-popover{z-index:20;background:#fff;border:1px solid #93c5fd;border-radius:10px;width:220px;padding:10px;position:absolute;top:8px;left:calc(100% + 8px);box-shadow:0 10px 24px #0f172a2e}.slot-popover-title{color:#1e3a8a;margin-bottom:8px;font-size:13px;font-weight:700}.slot-popover button{color:#1e40af;text-align:left;cursor:pointer;background:#eff6ff;border:0;border-radius:7px;width:100%;margin-top:6px;padding:8px 10px;font-size:12px;font-weight:600;display:block}.slot-popover button:hover{background:#dbeafe}.selected-slot-indicator{color:#1e40af;background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;justify-content:space-between;align-items:center;margin-top:12px;padding:10px 14px;font-size:13px;display:flex}.clear-btn{cursor:pointer;color:#1e40af;background:#fff;border:1px solid #bfdbfe;border-radius:6px;padding:4px 10px;font-size:12px}.btn-toggle{cursor:pointer;color:#475569;background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:8px 14px;font-size:13px}.btn-toggle:hover{background:#f8fafc}@media (width<=768px){.calendar-grid.week{grid-template-columns:84px repeat(7,minmax(108px,1fr));min-width:0}.calendar-grid{overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;width:100%;min-width:0;max-width:100%;overflow:auto hidden}.time-label{padding:6px 4px;font-size:10px}.time-labels,.date-column{grid-template-rows:48px repeat(7,minmax(48px,1fr))}.time-block{min-height:44px;padding:4px}.block-appt-mini{padding:2px 4px;font-size:9px}.calendar-header{flex-direction:column;align-items:flex-start}}.calendar-view.density-comfortable .time-labels,.calendar-view.density-comfortable .date-column{grid-template-rows:52px repeat(7,144px)}.calendar-view.density-compact .time-labels,.calendar-view.density-compact .date-column{grid-template-rows:52px repeat(7,120px)}.calendar-view.density-comfortable .technician-time-labels,.calendar-view.density-comfortable .technician-day-column{grid-template-rows:48px repeat(7,144px)}.calendar-view.density-compact .technician-time-labels,.calendar-view.density-compact .technician-day-column{grid-template-rows:48px repeat(7,120px)}.density-toggle{color:#64748b;background:#f8fafc;border:1px solid #dbe3ee;border-radius:8px;align-items:center;gap:3px;padding:3px;font-size:.7rem;display:inline-flex}.density-toggle span{padding:0 4px;font-weight:700}.density-toggle button{color:#64748b;cursor:pointer;background:0 0;border:0;border-radius:5px;padding:4px 7px;font-size:.7rem}.density-toggle button.active{color:#1d4ed8;background:#dbeafe;font-weight:800}@media (width<=768px){.calendar-view.density-comfortable .time-labels,.calendar-view.density-comfortable .date-column,.calendar-view.density-compact .time-labels,.calendar-view.density-compact .date-column{grid-template-rows:48px repeat(7,48px)}.calendar-view.density-comfortable .technician-time-labels,.calendar-view.density-comfortable .technician-day-column,.calendar-view.density-compact .technician-time-labels,.calendar-view.density-compact .technician-day-column{grid-template-rows:48px repeat(7,60px)}.density-toggle{justify-content:space-between;width:100%}.density-toggle button{flex:1}.calendar-appointment-card{padding:5px 7px}.calendar-card-type{display:none}}.technician-toolbar{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;flex-wrap:wrap;align-items:center;gap:8px;margin:12px 0;padding:10px 12px;display:flex}.technician-filter{color:#334155;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:999px;align-items:center;gap:5px;padding:5px 9px;display:inline-flex}.technician-filter.active{outline-offset:1px;outline:2px solid #2563eb}.technician-swatch{border-radius:50%;width:10px;height:10px;display:inline-block}.mini-technician{border-left:4px solid;flex-direction:column;margin-top:3px;padding-left:5px;line-height:1.15;display:flex}.technician-name{color:#0f172a;font-weight:700}.appointment-status-label{color:#475569;font-size:.85em}.dashboard-summary{background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;padding:20px}.dashboard-summary-header{justify-content:space-between;align-items:center;gap:16px;display:flex}.dashboard-metric-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:16px;display:grid}.dashboard-metric{background:#fff;border:1px solid #e2e8f0;border-radius:10px;flex-direction:column;gap:4px;padding:14px;display:flex}.dashboard-metric strong{color:#0f172a;font-size:1.6rem}.dashboard-metric span,.dashboard-data-note{color:#475569}@media (width<=768px){.dashboard-summary-header{flex-direction:column;align-items:flex-start}.dashboard-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.technician-toolbar{align-items:flex-start}}.concept-dashboard{color:#172033;max-width:1180px;margin:0 auto;padding:28px 8px 48px}.concept-page-heading{justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:26px;display:flex}.concept-eyebrow{color:#7b879a;letter-spacing:.08em;text-transform:uppercase;font-size:.74rem;font-weight:700}.concept-page-heading h2{letter-spacing:-.04em;margin:5px 0 8px;font-size:clamp(1.8rem,3vw,2.55rem)}.concept-page-heading p:not(.concept-eyebrow),.concept-muted{color:#718096}.concept-primary-actions{gap:10px;display:flex}.concept-primary-action,.concept-secondary-action{cursor:pointer;border-radius:9px;padding:11px 16px;font-weight:700}.concept-primary-action{color:#fff;background:#2563eb;border:1px solid #2563eb}.concept-secondary-action{color:#2563eb;background:#fff;border:1px solid #cbd5e1}.concept-metric-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:16px;display:grid}.concept-metric-card{text-align:left;cursor:pointer;background:#fff;border:1px solid #e5eaf1;border-radius:14px;flex-direction:column;align-items:flex-start;gap:8px;min-height:150px;padding:18px;display:flex;box-shadow:0 5px 22px #0f172a0f}.concept-metric-card:hover,.concept-metric-card:focus-visible{border-color:#93b4f8;box-shadow:0 7px 26px #2563eb21}.concept-card-label{color:#66758a;align-items:center;gap:8px;font-size:.84rem;font-weight:700;display:flex}.concept-metric-card strong{letter-spacing:-.04em;color:#172033;font-size:2rem}.concept-metric-card small{color:#8793a5;font-size:.74rem;line-height:1.35}.concept-metric-card.attention{background:#fffaf0;border-color:#f6d89b}.concept-metric-card.revenue{background:#f4f8ff;border-color:#cbdcfb}.concept-dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.concept-panel{background:#fff;border:1px solid #e5eaf1;border-radius:14px;min-width:0;padding:20px;box-shadow:0 5px 22px #0f172a0d}.concept-panel-heading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.concept-panel h3{letter-spacing:-.02em;margin-top:4px;font-size:1.08rem}.concept-panel button{color:#2563eb;cursor:pointer;background:0 0;border:0;font-weight:700}.concept-panel-total{color:#3d4b60;margin:18px 0 12px;font-weight:700}.concept-pipeline-bar{background:#edf1f7;border-radius:999px;gap:3px;height:10px;display:flex;overflow:hidden}.concept-pipeline-bar span{border-radius:999px;min-width:4px}.pipeline-unscheduled{background:#9aa7b9}.pipeline-scheduled{background:#6ea2f6}.pipeline-progress{background:#f1b84b}.pipeline-invoice{background:#54b995}.concept-pipeline-legend{grid-template-columns:repeat(2,1fr);gap:9px;margin-top:16px;display:grid}.concept-pipeline-legend button{color:#65748a;text-align:left;grid-template-columns:auto 1fr auto;align-items:center;gap:6px;font-size:.78rem;display:grid}.concept-pipeline-legend strong{color:#172033}.pipeline-dot{border-radius:50%;width:8px;height:8px}.concept-count-badge{color:#9b6500;background:#fff0c7;border-radius:999px;place-items:center;min-width:25px;height:25px;font-size:.78rem;display:inline-grid}.concept-attention-list,.concept-technician-list{gap:8px;margin-top:18px;display:grid}.concept-attention-list button,.concept-technician-list button{color:#34445b;text-align:left;align-items:center;gap:10px;width:100%;padding:10px 0;display:flex}.concept-attention-list button>span:nth-child(2){flex:1}.attention-icon{color:#a56a00;background:#fff0c7;border-radius:50%;place-items:center;width:23px;height:23px;display:grid}.concept-segmented{background:#f2f5f9;border-radius:8px;padding:3px;display:flex}.concept-segmented button{color:#7b879a;padding:5px 9px;font-size:.75rem}.concept-segmented button.active{color:#2563eb;background:#fff;border-radius:6px;box-shadow:0 1px 4px #0f172a14}.concept-revenue-total{color:#172033;letter-spacing:-.04em;margin:18px 0 3px;font-size:2rem;font-weight:750}.concept-chart-empty{color:#8a96a7;text-align:center;background:repeating-linear-gradient(135deg,#f7f9fc,#f7f9fc 8px,#f2f5f9 8px 16px);border-radius:10px;place-items:center;min-height:86px;margin-top:16px;font-size:.78rem;display:grid}.concept-technician-list button{border-bottom:1px solid #eef1f5}.technician-initials{color:#2857a8;background:#e8f0ff;border-radius:50%;place-items:center;width:32px;height:32px;font-size:.72rem;font-weight:800;display:grid}.technician-name{flex:1;gap:2px;display:grid}.technician-name small{color:#8793a5;font-size:.74rem}.technician-status{border-radius:999px;padding:4px 8px;font-size:.72rem;font-weight:700}.technician-status.on_job{color:#9b6500;background:#fff0c7}.technician-status.enroute{color:#245ea8;background:#e7f0ff}.technician-status.available{color:#157052;background:#ddf6ec}.concept-empty,.concept-dashboard-loading{color:#8793a5;padding:22px 0}@media (width<=900px){.concept-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=680px){.concept-dashboard{padding:20px 0 34px}.concept-page-heading{flex-direction:column;align-items:flex-start}.concept-primary-actions{width:100%}.concept-primary-action,.concept-secondary-action{flex:1}.concept-dashboard-grid{grid-template-columns:1fr}.concept-metric-grid{grid-template-columns:1fr 1fr;gap:9px}.concept-metric-card{min-height:128px;padding:13px}.concept-metric-card strong{font-size:1.55rem}.concept-page-heading h2{font-size:1.8rem}}.dispatch-heading{justify-content:space-between;align-items:flex-end;gap:20px;margin:4px 0 22px;display:flex}.dispatch-kicker{color:#7b879a;letter-spacing:.08em;text-transform:uppercase;font-size:.74rem;font-weight:800}.dispatch-title-row{align-items:center;gap:10px;margin-top:5px;display:flex}.dispatch-title-row h2{color:#252a35;letter-spacing:-.04em;margin:4px 0 6px;font-size:31px;font-weight:700}.dispatch-context-badge{color:#65748a;background:#f1f4f8;border-radius:999px;padding:5px 9px;font-size:.72rem;font-weight:700}.dispatch-heading-actions{gap:9px;display:flex}.dispatch-primary-action,.dispatch-secondary-action{cursor:pointer;border-radius:9px;padding:10px 14px;font-weight:750}.dispatch-primary-action{color:#fff;background:#2563eb;border:1px solid #2563eb}.dispatch-secondary-action{color:#2563eb;background:#fff;border:1px solid #cbd5e1}.schedule-mode .full-screen-calendar,.schedule-mode .full-screen-calendar *{font-family:inherit}.full-screen-calendar .calendar-section{box-shadow:none}.calendar-header{background:#fff;border-radius:10px}.view-toggle button.active{background:#2563eb}.technician-toolbar{background:#f8fafc;border-color:#e5eaf1}.technician-filter.active{color:#1d4ed8;background:#e7efff;border-color:#9dbaf1;outline:0}.block-appt-mini{background:#e9f1ff;border:1px solid #cbdcfb;border-left:4px solid;border-radius:8px;padding:7px 8px;box-shadow:0 2px 7px #2563eb14}.block-appt-mini:hover,.block-appt-mini:focus-visible{background:#dbeafe;outline:2px solid #2563eb}.mini-time{color:#52657f;font-size:.72rem}.mini-customer{color:#172033;font-weight:750}.mini-technician{border-left-width:0;padding-left:0}.appointment-status-label{color:#52657f;background:#f1f4f8;border-radius:999px;width:fit-content;padding:2px 6px;font-size:.7rem;display:inline-flex}.appointment-status-label.status-enroute{color:#245ea8;background:#e1efff}.appointment-status-label.status-on-site{color:#9b6500;background:#fff0c7}.appointment-status-label.status-completed{color:#157052;background:#ddf6ec}.appointment-status-label.status-cancelled{color:#a33b3b;background:#fde7e7}@media (width<=680px){.dispatch-heading{flex-direction:column;align-items:flex-start}.dispatch-heading-actions{width:100%}.dispatch-primary-action,.dispatch-secondary-action{flex:1}.dispatch-title-row h2{font-size:28px}.dispatch-context-badge{font-size:.66rem}.calendar-header{align-items:stretch}.calendar-nav,.view-toggle{width:100%}.calendar-nav>button,.view-toggle button{flex:1}.slot-popover{width:min(220px,100vw - 32px);left:8px}}.technician-day-grid{background:#e5eaf1;border:1px solid #e5eaf1;border-radius:12px;grid-template-columns:86px repeat(auto-fit,minmax(150px,1fr));grid-auto-rows:minmax(0,1fr);gap:1px;display:grid;overflow:visible}.technician-time-labels,.technician-day-column{background:#fff;grid-template-rows:48px repeat(7,56px);min-width:0;display:grid;position:relative}.technician-grid-header,.technician-column-header{color:#65748a;background:#f8fafc;border-bottom:1px solid #e5eaf1;align-items:center;gap:7px;padding:10px;font-size:.74rem;font-weight:800;display:flex}.technician-column-header{color:#34445b;white-space:nowrap;text-overflow:ellipsis;justify-content:center;overflow:hidden}.technician-time-label{color:#8793a5;background:#fff;border-bottom:1px solid #eef1f5;justify-content:flex-end;align-items:flex-start;padding:12px 8px;font-size:.7rem;font-weight:700;display:flex;position:relative}.after-hours-label{background:#f1f3f5}.technician-time-block{cursor:pointer;background:#fff;border-bottom:1px solid #eef1f5;min-width:0;padding:7px;position:relative}.technician-time-block:hover{background:#f7faff}.technician-time-block.after-hours{background:#f1f3f5}.technician-time-block.selected{z-index:30;outline-offset:-2px;background:#e7efff;outline:2px solid #2563eb}.technician-time-block.has-appointments{background:#f7faff}@media (width<=680px){.technician-day-grid{overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;grid-template-columns:68px repeat(auto-fit,minmax(180px,180px));width:max-content;min-width:100%;max-width:100%;overflow-x:auto}.technician-time-labels,.technician-day-column{grid-template-rows:48px repeat(7,minmax(60px,1fr))}.technician-grid-header,.technician-column-header{padding:7px 5px;font-size:.67rem}.technician-time-label{padding:8px 5px;font-size:.63rem}.technician-time-block{padding:4px}.appointment-reschedule-button{opacity:1}.mobile-agenda-appointment span{display:none}.mobile-agenda-appointment small{font-size:.66rem}}.technician-mobile-agenda{display:none}.mobile-technician-section{background:#fff;border:1px solid #e5eaf1;border-radius:12px;overflow:hidden}.mobile-technician-header{color:#34445b;background:#f8fafc;border-bottom:1px solid #e5eaf1;align-items:center;gap:8px;padding:12px 14px;font-weight:800;display:flex}.mobile-agenda-slots{display:grid;position:relative}.mobile-agenda-slot{border-bottom:1px solid #eef1f5;grid-template-columns:92px 1fr;min-height:48px;display:grid}.mobile-agenda-slot:last-child{border-bottom:0}.mobile-agenda-slot.after-hours{background:#eef0f2}.mobile-agenda-window{color:#8793a5;padding:8px;font-size:.7rem;font-weight:700}.mobile-agenda-content{align-items:stretch;padding:4px 8px;display:flex;position:relative}.mobile-agenda-appointment,.mobile-agenda-available{text-align:left;cursor:pointer;border:0;border-radius:8px;width:100%}.mobile-agenda-appointment{background:#e9f1ff;border-left:4px solid #5b8bd9;gap:1px;min-height:0;max-height:48px;padding:4px 8px;display:grid;position:relative;overflow:hidden}.mobile-agenda-appointment strong{color:#172033;white-space:nowrap;text-overflow:ellipsis;font-size:.74rem;overflow:hidden}.mobile-agenda-appointment span,.mobile-agenda-appointment small{color:#52657f;font-size:.68rem}.mobile-agenda-available{color:#8793a5;background:0 0;padding:8px 10px;font-size:.72rem}.mobile-agenda-available:hover,.mobile-agenda-available:focus-visible{color:#2563eb;outline-offset:-2px;background:#e7efff;outline:2px solid #2563eb}.mobile-agenda-appointment .appointment-resize-handle{width:auto;padding:0 3px;position:absolute;bottom:2px;right:4px}@media (width<=680px){.technician-day-grid{display:none}.technician-mobile-agenda{gap:12px;display:grid}.mobile-agenda-slot{grid-template-columns:96px 1fr}}.app-main{padding:0 2.5rem 2.5rem}.top-toolbar{z-index:20;background:#fffffff0;border-bottom:1px solid #edf0f4;justify-content:space-between;align-items:center;gap:1.5rem;min-height:4.375rem;margin:0 -2.5rem;padding:0 2.5rem;display:flex;position:sticky;top:0}.toolbar-breadcrumb,.toolbar-actions{align-items:center;gap:12px;display:flex}.toolbar-breadcrumb{color:#9aa3b2;font-size:12px}.toolbar-breadcrumb strong{color:#3f4858;font-weight:700}.toolbar-company{color:#7b8798}.toolbar-search{color:#9ca6b5;background:#f7f9fb;border:1px solid #edf0f4;border-radius:9px;align-items:center;gap:8px;width:238px;padding:8px 11px;display:flex}.toolbar-search input{color:#3f4858;width:100%;min-width:0;font:inherit;background:0 0;border:0;outline:0;font-size:12px}.toolbar-icon,.toolbar-profile{cursor:pointer;background:0 0;border:0}.toolbar-icon{color:#7b8798;flex:0 0 32px;place-items:center;width:32px;height:32px;padding:0;font-size:0;line-height:1;display:inline-grid}.toolbar-bell-icon{flex:0 0 18px;width:18px;height:18px;display:block}.toolbar-profile{align-items:center;gap:5px;padding:3px;display:flex}.toolbar-profile .user-initials{flex:0 0 28px;width:28px;height:28px;font-size:10px}.profile-caret{color:#9aa3b2;font-size:12px}.profile-menu-container{position:relative}.profile-menu{z-index:80;background:#fff;border:1px solid #e3e8f0;border-radius:14px;width:220px;padding:8px;position:absolute;top:calc(100% + 10px);right:0;box-shadow:0 16px 36px #1b2b4624}.profile-menu-identity{border-bottom:1px solid #edf0f4;align-items:center;gap:10px;padding:10px 9px 12px;display:flex}.profile-menu-identity strong,.profile-menu-identity small{display:block}.profile-menu-identity strong{color:#252a35;font-size:13px}.profile-menu-identity small{color:#929baa;text-transform:capitalize;margin-top:3px;font-size:11px}.profile-menu button{color:#596579;width:100%;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:9px;align-items:center;gap:10px;margin-top:4px;padding:10px 9px;font-size:12px;font-weight:700;display:flex}.profile-menu button:hover,.profile-menu button:focus-visible{color:#1674dd;background:#f3f7fd;outline:none}.profile-menu .sidebar-nav-icon{width:18px;height:18px}.profile-menu-logout{color:#b42335!important}.profile-menu-logout:hover,.profile-menu-logout:focus-visible{color:#b42335!important;background:#fff1f2!important}.profile-menu-logout-icon{place-items:center;width:18px;height:18px;font-size:18px;line-height:1;display:inline-grid}.toolbar-error{color:#9b2c2c;max-width:1180px;margin:12px auto;font-size:12px;display:block}.toolbar-quick-action{color:#2875c9;cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #d9e6f5;border-radius:8px;padding:7px 10px;font-size:11px;font-weight:700}.toolbar-quick-action.primary{color:#fff;background:#1683f8;border-color:#1683f8}.sidebar-company{text-align:left;cursor:pointer;justify-content:space-between}.sidebar-company>span:last-child{color:#9aa3b2;font-size:14px}.sidebar-brand{padding-bottom:18px}.sidebar-brand strong{font-size:12px}.sidebar-brand small{font-size:9px}.concept-dashboard{max-width:1180px}.concept-page-heading{margin-top:34px}.concept-metric-grid{gap:16px}.concept-metric-card,.concept-panel{box-shadow:0 8px 24px #1c2b460a}.concept-metric-card{min-height:140px;padding:20px}.concept-panel{min-height:250px;padding:22px}.concept-metric-card strong{font-size:32px}.concept-panel h3{font-size:17px}.concept-revenue-chart{border-top:1px solid #eef1f5;align-items:end;gap:9px;height:108px;margin-top:17px;padding:12px 4px 0;display:flex}.revenue-bar-wrap{flex:1;grid-template-rows:1fr auto;align-items:end;gap:6px;min-width:0;height:100%;display:grid}.revenue-bar{background:linear-gradient(#72a9f7,#2d74df);border-radius:5px 5px 2px 2px;width:100%;min-height:3px}.revenue-bar-wrap span{color:#9aa5b4;text-align:center;font-size:9px}.concept-segmented button:disabled{cursor:not-allowed;opacity:.5}.mobile-bottom-nav{display:none}.mobile-nav-item{color:#7d8ba3;border-radius:14px;min-height:52px;padding:7px 6px 6px;transition:background .16s,color .16s}.mobile-nav-item span{place-items:center;width:25px;height:25px;font-size:19px;font-weight:500;line-height:1;display:grid}.mobile-nav-item small{color:inherit;letter-spacing:-.01em;font-size:10px}.mobile-nav-item.active{color:#2464c5;background:#e5f0ff}.standalone-login{background:var(--color-surface-secondary);min-height:100vh;color:var(--color-text-primary);place-items:center;padding:32px 24px;display:grid}.login-card{background:var(--color-surface);border:1px solid var(--color-border);border-radius:18px;width:min(448px,100%);padding:48px 40px 40px;box-shadow:0 20px 60px #0000001a}.login-mark{background:var(--color-text-primary);width:48px;height:48px;color:var(--color-surface);letter-spacing:-.02em;border-radius:14px;place-items:center;margin-bottom:32px;font-size:14px;font-weight:750;display:grid}.login-card h1{color:var(--color-text-primary);letter-spacing:-.035em;margin:8px 0;font-size:clamp(28px,4vw,34px);line-height:1.12}.login-subtitle{max-width:34ch;color:var(--color-text-secondary);margin-bottom:32px;font-size:15px;line-height:1.45}.login-card form{gap:10px;display:grid}.login-card label{color:var(--color-text-primary);font-size:13px;font-weight:650}.login-card input,.login-card select{border:1px solid var(--color-border);background:var(--color-surface);width:100%;min-height:46px;color:var(--color-text-primary);font:inherit;border-radius:10px;padding:0 13px;font-size:15px;transition:border-color .16s,box-shadow .16s,background-color .16s}.login-card input::placeholder{color:var(--color-text-secondary);opacity:1}.login-card input:hover,.login-card select:hover{border-color:var(--color-border-strong)}.login-card input:focus,.login-card select:focus{border-color:var(--color-focus);box-shadow:0 0 0 3px color-mix(in srgb, var(--color-focus) 22%, transparent);outline:0}.login-submit{background:var(--color-accent);color:#fff;min-height:46px;font:inherit;cursor:pointer;border:0;border-radius:10px;margin-top:14px;font-weight:650;transition:background-color .16s,transform 80ms}.login-submit:hover:not(:disabled){background:var(--color-accent-hover)}.login-submit:active:not(:disabled){transform:scale(.99)}.login-submit:focus-visible,.login-card select:focus-visible,.login-card input:focus-visible,.login-forgot:focus-visible{outline:3px solid color-mix(in srgb, var(--color-focus) 45%, transparent);outline-offset:2px}.login-forgot{width:100%;color:var(--color-accent);font:inherit;cursor:pointer;background:0 0;border:0;margin-top:20px;font-size:14px;font-weight:600;display:block}.login-forgot:hover{color:var(--color-accent-hover);text-decoration:underline}.login-error{border:1px solid color-mix(in srgb, var(--color-error) 28%, transparent);background:var(--color-error-surface);color:var(--color-error);border-radius:10px;margin-top:14px;padding:11px 12px;font-size:13px;line-height:1.4}.login-mfa-hint{background:color-mix(in srgb, var(--color-accent) 12%, var(--color-surface));color:var(--color-text-primary);border-radius:10px;margin:8px 0 2px;padding:11px 12px;font-size:13px}.login-submit:disabled{opacity:.6;cursor:wait}@media (width<=520px),(height<=680px){.standalone-login{place-items:start center;padding:20px 16px;overflow-y:auto}.login-card{border-radius:16px;margin:16px auto;padding:32px 24px 28px}}@media (prefers-reduced-motion:reduce){.login-submit{transition:none}}.pipeline-mode .app-main{background:#f7f8fa}.pipeline-mode .pipeline-page{background:0 0}.sidebar-company select{color:#64748b;cursor:pointer;background:0 0;border:0;max-width:24px}.sidebar-company select option{color:#172033}.toolbar-search{position:relative}.toolbar-search kbd{color:#8a94a6;border:1px solid #dce2eb;border-radius:4px;padding:2px 4px;font-size:10px}.notification-button{position:relative}.notification-dot{color:#fff;background:#e35d6a;border-radius:99px;min-width:16px;height:16px;font:10px/16px system-ui;position:absolute;top:-4px;right:-4px}.command-search-backdrop{z-index:50;background:#141c2d47;place-items:start center;padding-top:11vh;display:grid;position:fixed;inset:0}.command-search{background:#fff;border:1px solid #dce2eb;border-radius:16px;width:min(640px,100vw - 32px);overflow:hidden;box-shadow:0 24px 70px #121f3738}.command-search-heading,.notification-heading{border-bottom:1px solid #edf0f4;justify-content:space-between;align-items:center;padding:16px 18px;display:flex}.command-search-heading button,.notification-heading button{cursor:pointer;background:0 0;border:0;font-size:22px}.command-search-input{box-sizing:border-box;border:0;outline:0;width:100%;padding:18px;font-size:17px}.command-search-results button{text-align:left;cursor:pointer;background:#fff;border:0;border-top:1px solid #f0f2f6;grid-template-columns:90px 1fr;gap:3px 12px;width:100%;padding:12px 18px;display:grid}.command-search-results button:hover,.command-search-results button[aria-selected=true]{background:#f4f7fb}.command-search-results button span{color:#667085;grid-row:span 2;font-size:12px}.command-search-results button small{color:#667085}.command-search-hint,.command-search-empty,.notification-empty{color:#667085;padding:18px}.notification-popover{z-index:45;background:#fff;border:1px solid #dce2eb;border-radius:14px;width:min(390px,100vw - 28px);position:fixed;top:68px;right:28px;box-shadow:0 18px 50px #121f372e}.notification-item{width:100%;color:inherit;text-align:left;cursor:pointer;background:#fff;border:0;border-top:1px solid #edf0f4;align-items:flex-start;gap:12px;padding:14px 18px;display:flex}.notification-item:hover,.notification-item:focus-visible{background:#f7faff;outline:none}.notification-icon{color:#9a6200;text-align:center;background:#fff0d6;border-radius:50%;flex:0 0 24px;width:24px;height:24px;font-weight:700;line-height:24px}.notification-content{gap:4px;min-width:0;display:grid}.notification-content strong{color:#172033;font-size:14px}.notification-content>span{color:#667085;font-size:13px;line-height:1.45}.notification-item small{color:#98a2b3}.pipeline-page,.settings-page,.work-order-detail-page{padding:28px clamp(18px,4vw,48px)}.pipeline-page-heading{justify-content:space-between;align-items:end;gap:24px;margin-bottom:24px;display:flex}.pipeline-page-actions{align-items:center;gap:10px;display:flex}.pipeline-collapse-toggle{color:#475569;cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #cbd5e1;border-radius:9px;padding:10px 12px;font-size:12px;font-weight:700}.pipeline-collapse-toggle:hover,.pipeline-collapse-toggle:focus-visible{outline-offset:1px;background:#f8fafc;border-color:#93c5fd;outline:2px solid #bfdbfe}.pipeline-page-heading h2,.settings-heading h2,.detail-header h2{margin:4px 0}.pipeline-page-heading p,.settings-heading p,.detail-header p{color:#667085}.pipeline-search{background:#fff;border:1px solid #dce2eb;border-radius:9px;align-items:center;gap:8px;width:min(360px,100%);padding:0 12px;display:flex}.pipeline-search input{border:0;outline:0;width:100%;padding:11px 0}.pipeline-board{align-items:start;gap:14px;padding-bottom:14px;display:flex;overflow-x:auto}.pipeline-column{background:#f5f7fa;border:1px solid #e5e9f0;border-radius:12px;flex:0 0 260px;min-height:390px;padding:12px}.pipeline-column.collapsed{flex-basis:84px;min-height:390px;padding:12px 8px}.pipeline-column.collapsed header{flex-direction:column;justify-content:space-between;align-items:center;min-height:360px;margin:0}.pipeline-column.collapsed header>div{flex:1;align-items:center;display:flex}.pipeline-column.collapsed header h3{writing-mode:vertical-rl;text-align:center;white-space:nowrap;transform:rotate(180deg)}.pipeline-column.collapsed header small{display:none}.pipeline-column.collapsed header>span{flex:none}.pipeline-column.unsupported{opacity:.78}.pipeline-column header{justify-content:space-between;align-items:start;margin-bottom:12px;display:flex}.pipeline-column header h3{margin:0;font-size:14px}.pipeline-column header small,.pipeline-card small{color:#8993a5;font-size:11px}.pipeline-column header>span{background:#e7ebf2;border-radius:99px;padding:3px 8px;font-size:11px}.pipeline-card-list{gap:9px;display:grid}.pipeline-card{text-align:left;cursor:pointer;background:#fff;border:1px solid #e2e7ef;border-radius:9px;width:100%;padding:12px}.pipeline-card:hover{background:#fbfdff;border-color:#9fb4d4}.pipeline-card-top,.pipeline-card-meta{justify-content:space-between;align-items:center;gap:6px;display:flex}.pipeline-card h4{margin:9px 0 3px;font-size:14px}.pipeline-card p{color:#667085;margin:0 0 10px;font-size:12px}.pipeline-card-meta{margin-bottom:9px;font-size:12px}.pipeline-status{color:#4c6b9f;text-transform:capitalize;font-size:10px}.pipeline-empty,.pipeline-unsupported{color:#8993a5;font-size:12px}.pipeline-clear-filter{color:#4c6b9f;cursor:pointer;background:0 0;border:0;margin:-10px 0 14px}.settings-heading{margin-bottom:24px}.settings-card{background:#fff;border:1px solid #e2e7ef;border-radius:12px;max-width:760px;overflow:hidden}.settings-row{border-bottom:1px solid #edf0f4;justify-content:space-between;gap:20px;padding:18px 20px;display:flex}.settings-row:last-child{border-bottom:0}.settings-row strong,.settings-row small{display:block}.settings-row small{color:#667085;margin-top:4px}.settings-value{color:#4c6b9f;white-space:nowrap}.future-settings{margin-top:16px;padding:18px 20px}.future-settings h3{margin-top:0}.future-settings p{color:#667085;line-height:1.5}@media (width<=720px){.pipeline-page-heading{display:block}.pipeline-search{width:auto;margin-top:18px}.notification-popover{top:62px;right:14px}.settings-row{display:block}.settings-value{margin-top:8px;display:block}}@media (width<=900px) and (width>=761px){body{padding-bottom:calc(74px + env(safe-area-inset-bottom))}.app{display:block}.app-sidebar{border-bottom:1px solid #e7ebf2;border-right:0;height:auto;padding:14px 20px 0;display:block;position:static}.sidebar-nav,.sidebar-company,.sidebar-label,.sidebar-bottom{display:none}.sidebar-brand{margin-bottom:10px;padding-bottom:10px}.mobile-bottom-nav{z-index:50;padding:8px 8px calc(8px + env(safe-area-inset-bottom));background:#fffffff7;border-top:1px solid #e7ebf2;grid-template-columns:repeat(5,1fr);display:grid;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -8px 24px #1b2b4612}.app-main{min-width:0;padding:0 24px 34px}.top-toolbar{gap:12px;min-height:64px;margin:0 -24px;padding:0 24px}.toolbar-company{display:none}.toolbar-search{width:220px}.toolbar-quick-action{display:none}}@media (width<=760px){body{padding-bottom:calc(74px + env(safe-area-inset-bottom))}.app-main{padding:0 16px 28px}.top-toolbar{gap:10px;min-height:62px;margin:0 -16px;padding:0 16px}.toolbar-breadcrumb{gap:7px;font-size:11px}.mobile-back-button{color:#667085;cursor:pointer;background:#f3f4f6;border:0;border-radius:.5rem;place-items:center;width:2rem;height:2rem;padding:0;font-size:1.25rem;line-height:1;display:inline-grid}.mobile-back-button:hover,.mobile-back-button:focus-visible{outline-offset:1px;background:#eef4fc;outline:2px solid #bfdbfe}.toolbar-company{display:none}.toolbar-search{width:140px}.toolbar-search input{font-size:11px}.toolbar-search kbd,.toolbar-quick-action{display:none}.toolbar-icon{flex:0 0 28px;width:28px;height:28px;padding:0;font-size:0}.toolbar-bell-icon{width:17px;height:17px}.toolbar-profile .user-initials{flex-basis:26px;width:26px;height:26px}.app-sidebar{border:0;height:0;padding:0;display:block;overflow:visible}.sidebar-brand,.sidebar-nav,.sidebar-company,.sidebar-label,.sidebar-bottom{display:none}.toolbar-search{cursor:pointer;background:0 0;border:0;justify-content:center;width:2rem;height:2rem;padding:0}.toolbar-search-input,.toolbar-search kbd{display:none}.toolbar-search-icon{color:#7b8798;place-items:center;display:grid}.toolbar-search-icon svg{display:block}.mobile-bottom-nav{z-index:50;padding:8px 8px calc(8px + env(safe-area-inset-bottom));background:#fffffff5;border-top:1px solid #e7ebf2;grid-template-columns:repeat(5,1fr);display:grid;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -8px 24px #1b2b4612}.mobile-nav-item{color:#929dad;background:0 0;border:0;justify-items:center;gap:3px;font-size:16px;display:grid}.mobile-nav-icon{flex:0 0 20px;width:20px;height:20px;display:block}.mobile-nav-item small{font-size:9px;font-weight:700}.mobile-nav-item.active{color:#1683f8}.mobile-more-wrapper{position:relative}.mobile-more-menu{background:#fff;border:1px solid #e2e8f0;border-radius:12px;gap:4px;min-width:170px;padding:8px;display:grid;position:absolute;bottom:calc(100% + 10px);right:0;box-shadow:0 12px 30px #1b2b4629}.mobile-more-menu button{color:#526075;width:100%;font:inherit;text-align:left;background:0 0;border:0;border-radius:8px;align-items:center;gap:9px;padding:10px 11px;font-size:12px;font-weight:700;display:flex}.mobile-more-menu button:hover,.mobile-more-menu button.active{color:#1683f8;background:#eaf3ff}.mobile-more-menu .sidebar-nav-icon{width:18px;height:18px}.concept-dashboard{padding:8px 0 22px}.concept-page-heading{margin:22px 0 16px}.concept-page-heading h2{font-size:26px}.concept-primary-actions{width:100%}.concept-metric-card{min-height:126px;padding:14px}.concept-metric-card strong{font-size:25px}.concept-panel{min-height:0;padding:17px}.concept-revenue{min-height:210px}.concept-technicians{min-height:230px}}@media (width>=761px){.concept-page-heading .concept-primary-actions{display:none}}@media (width>=901px){.top-toolbar{box-sizing:border-box;margin:0;position:fixed;top:0;left:13.75rem;right:0}.app-main{padding-top:4.375rem}}@media (width<=900px){.top-toolbar{box-sizing:border-box;margin:0;position:fixed;top:0;left:0;right:0}.app-main{padding-top:4rem}}.profile-company-switch{border-bottom:1px solid #edf0f4;padding:10px 9px 8px}.profile-company-switch label{color:#929baa;text-transform:uppercase;letter-spacing:.04em;margin-bottom:6px;font-size:10px;font-weight:700;display:block}.profile-company-switch select{color:#3f4858;width:100%;min-height:34px;font:inherit;background:#fff;border:1px solid #dce2eb;border-radius:7px;padding:0 8px;font-size:11px}@media (width<=900px) and (width>=761px){.mobile-back-button{color:#667085;cursor:pointer;background:#f3f4f6;border:0;border-radius:.65rem;place-items:center;width:2.75rem;height:2.75rem;padding:0;font-size:1.5rem;line-height:1;display:inline-grid}.mobile-back-button:hover,.mobile-back-button:focus-visible{outline-offset:1px;background:#eef4fc;outline:2px solid #bfdbfe}}@media (width>=901px){.mobile-back-button{color:#667085;cursor:pointer;background:#f3f4f6;border:0;border-radius:.65rem;place-items:center;width:2.75rem;height:2.75rem;padding:0;font-size:1.5rem;line-height:1;display:inline-grid}.mobile-back-button:hover,.mobile-back-button:focus-visible{outline-offset:1px;background:#eef4fc;outline:2px solid #bfdbfe}}@media (width>=761px){.toolbar-search,.toolbar-quick-action,.mobile-back-button{box-sizing:border-box;height:42px;min-height:42px}.toolbar-quick-action{padding-top:0;padding-bottom:0}}.customers-page-actions>.primary{white-space:nowrap;min-width:112px;height:37px;padding:0 14px}.records-page-actions{flex-wrap:wrap;align-items:end;gap:8px;display:flex}.records-page-actions label{color:#64748b;text-transform:uppercase;letter-spacing:.04em;gap:4px;font-size:10px;font-weight:700;display:grid}.records-page-actions select,.records-page-actions input{color:#334155;height:36px;font:inherit;text-transform:none;background:#fff;border:1px solid #cbd5e1;border-radius:8px;padding:0 9px;font-size:12px}.records-page-actions .filter-clear{color:#526075;height:36px;font:inherit;cursor:pointer;background:#f8fafc;border:1px solid #cbd5e1;border-radius:8px;padding:0 10px;font-size:12px;font-weight:700}.records-page-actions .filter-clear:hover,.records-page-actions .filter-clear:focus-visible{outline-offset:1px;background:#eef4fc;border-color:#9dbaf1;outline:2px solid #bfdbfe}@media (width<=720px){.records-page-actions{align-items:stretch;width:100%}.records-page-actions label{flex:1}.records-page-actions select,.records-page-actions input{width:100%}.records-page-actions .filter-clear{align-self:end}}.pipeline-card[draggable=true]{cursor:grab;touch-action:none}.pipeline-card[draggable=true]:active{cursor:grabbing}.pipeline-status-selector{color:#245ea8;max-width:116px;font:inherit;cursor:pointer;background:#f8fbff;border:1px solid #cbdcfb;border-radius:999px;padding:3px 5px;font-size:.68rem;font-weight:700}.pipeline-status-selector:focus-visible{outline-offset:1px;outline:2px solid #2563eb}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}:root[data-resolved-theme=dark],:root[data-resolved-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}@media (prefers-color-scheme:light){:root[data-resolved-theme=dark]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}}:root[data-resolved-theme=dark],:root[data-resolved-theme=dark]{--theme-bg:#111827;--theme-surface:#1f2937;--theme-surface-2:#273449;--theme-border:#374151;--theme-text:#e5e7eb;--theme-muted:#a8b3c5;--theme-accent-bg:#183b68}:root[data-resolved-theme=dark] body,:root[data-resolved-theme=dark] body{background:var(--theme-bg);color:var(--theme-text)}:root[data-resolved-theme=dark] .app,:root[data-resolved-theme=dark] .app{background:var(--theme-bg)}:root[data-resolved-theme=dark] .app-sidebar,:root[data-resolved-theme=dark] .app-sidebar,:root[data-resolved-theme=dark] .top-toolbar,:root[data-resolved-theme=dark] .top-toolbar,:root[data-resolved-theme=dark] .concept-metric-card,:root[data-resolved-theme=dark] .concept-metric-card,:root[data-resolved-theme=dark] .concept-panel,:root[data-resolved-theme=dark] .concept-panel,:root[data-resolved-theme=dark] .settings-card,:root[data-resolved-theme=dark] .settings-card,:root[data-resolved-theme=dark] .records-page,:root[data-resolved-theme=dark] .records-page,:root[data-resolved-theme=dark] .customer-profile,:root[data-resolved-theme=dark] .customer-profile,:root[data-resolved-theme=dark] .pipeline-column,:root[data-resolved-theme=dark] .pipeline-column,:root[data-resolved-theme=dark] .pipeline-card,:root[data-resolved-theme=dark] .pipeline-card,:root[data-resolved-theme=dark] .mobile-bottom-nav,:root[data-resolved-theme=dark] .mobile-bottom-nav{background:var(--theme-surface);color:var(--theme-text);border-color:var(--theme-border)}:root[data-resolved-theme=dark] h1,:root[data-resolved-theme=dark] h2,:root[data-resolved-theme=dark] h3,:root[data-resolved-theme=dark] h4,:root[data-resolved-theme=dark] strong,:root[data-resolved-theme=dark] h1,:root[data-resolved-theme=dark] h2,:root[data-resolved-theme=dark] h3,:root[data-resolved-theme=dark] h4,:root[data-resolved-theme=dark] strong{color:var(--theme-text)}:root[data-resolved-theme=dark] p,:root[data-resolved-theme=dark] small,:root[data-resolved-theme=dark] label,:root[data-resolved-theme=dark] .settings-value,:root[data-resolved-theme=dark] p,:root[data-resolved-theme=dark] small,:root[data-resolved-theme=dark] label,:root[data-resolved-theme=dark] .settings-value{color:var(--theme-muted)}:root[data-resolved-theme=dark] input,:root[data-resolved-theme=dark] select,:root[data-resolved-theme=dark] textarea,:root[data-resolved-theme=dark] input,:root[data-resolved-theme=dark] select,:root[data-resolved-theme=dark] textarea{background:var(--theme-surface-2);color:var(--theme-text);border-color:var(--theme-border)}:root[data-resolved-theme=dark] .settings-row,:root[data-resolved-theme=dark] .settings-row{border-color:var(--theme-border)}:root[data-resolved-theme=dark] .settings-row select,:root[data-resolved-theme=dark] .settings-row select{min-width:190px}.mobile-more-wrapper{position:relative}@media (width<=760px){.settings-row select{width:100%;min-height:40px}}.work-order-job-header{background:var(--theme-surface,#fff);border:1px solid var(--theme-border,#e2e7ef);border-radius:16px;justify-content:space-between;align-items:flex-start;gap:18px;padding:20px 22px;display:flex}.work-order-job-header h2{letter-spacing:-.03em;margin:4px 0 8px;font-size:30px}.work-order-job-header p{color:#667085;margin:0}.status-pill{white-space:nowrap;color:#1769e0;background:#e8f1ff;border-radius:999px;align-items:center;padding:7px 11px;font-size:12px;font-weight:800;display:inline-flex}.status-pill.status-completed{color:#147a52;background:#e5f5ed}.status-pill.status-waiting,.status-pill.status-on_hold{color:#a55b00;background:#fff2dc}.status-pill.status-cancelled{color:#b42318;background:#ffebe9}.work-order-next-action{background:#e8f1ff;border-radius:14px;justify-content:space-between;align-items:center;gap:18px;margin:16px 0;padding:16px 18px;display:flex}.work-order-next-action strong{font-size:18px;display:block}.work-order-next-action small{color:#526075;margin-top:3px;display:block}.work-order-next-action .concept-eyebrow{margin-bottom:4px}.work-order-next-action button{color:#fff;cursor:pointer;background:#1769e0;border:0;border-radius:10px;flex:none;min-height:44px;padding:0 16px;font-weight:800}@media (width<=760px){.work-order-job-header{padding:16px;display:block}.work-order-job-header .status-pill{margin-top:12px}.work-order-job-header h2{font-size:24px}.work-order-next-action{flex-direction:column;align-items:flex-start}.work-order-next-action button{width:100%}}.pipeline-card{transition:transform .18s,opacity .18s,box-shadow .18s}.pipeline-card.is-dragging{opacity:.28;transform:scale(.98)}.pipeline-card-list{min-height:32px;position:relative}.pipeline-column{transition:background-color .18s,box-shadow .18s,border-color .18s}.pipeline-column.drop-target{background:#2563eb1a;border-color:#60a5fa;box-shadow:inset 0 0 0 2px #2563eb6b}.pipeline-column.drop-target-disallowed{background:#dc262614;border-color:#f87171;box-shadow:inset 0 0 0 2px #dc262659}.pipeline-column.drop-target .pipeline-card-list:before{content:"Release to move here";color:#1d4ed8;text-align:center;background:#dbeafe85;border:2px dashed #60a5fa;border-radius:10px;margin:4px 0 8px;padding:12px;font-size:12px;font-weight:800;animation:.18s both pipeline-placeholder-in;display:block}.pipeline-drag-ghost{z-index:1000;color:#172033;pointer-events:none;opacity:.94;background:#fffffff0;border:1px solid #93c5fd;border-left:4px solid #2563eb;border-radius:10px;gap:5px;width:260px;min-height:82px;padding:12px;animation:.18s both pipeline-lift;display:grid;position:fixed;transform:rotate(1deg);box-shadow:0 16px 36px #0f172a47}.pipeline-drag-ghost span{font-weight:800}.pipeline-drag-ghost small{color:#52657f;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}@keyframes pipeline-lift{0%{opacity:0;transform:translateY(5px)rotate(0)}to{opacity:.94;transform:translateY(0)rotate(1deg)}}@keyframes pipeline-placeholder-in{0%{opacity:0;transform:scale(.98)}to{opacity:1;transform:scale(1)}}:root[data-resolved-theme=dark] .pipeline-drag-ghost{color:var(--theme-text);background:#273449f5;border-color:#60a5fa}:root[data-resolved-theme=dark] .pipeline-drag-ghost small{color:var(--theme-muted)}:root[data-resolved-theme=dark] .pipeline-column.drop-target{background:#2563eb2e}@media (prefers-reduced-motion:reduce){.pipeline-card,.pipeline-column,.pipeline-drag-ghost{transition:none;animation:none}}.calendar-appointment-card.block-appt-mini{box-sizing:border-box;min-height:24px;max-height:none;position:absolute}.calendar-appointment-card.lane-crowded{padding:0}.calendar-appointment-card.lane-crowded>*{display:none!important}.overlap-more-button{z-index:35;color:#1d4ed8;cursor:pointer;background:#eff6ff;border:1px solid #93c5fd;border-radius:999px;padding:4px 7px;font-size:10px;font-weight:800;position:absolute;top:4px;right:4px}.overlap-popover{z-index:40;background:#fff;border:1px solid #bfdbfe;border-radius:8px;gap:4px;width:min(260px,100% - 8px);max-height:260px;padding:8px;display:grid;position:absolute;top:30px;right:4px;overflow:auto;box-shadow:0 8px 24px #0f172a38}.overlap-popover button{color:#172033;text-align:left;cursor:pointer;background:#f8fbff;border:1px solid #dbeafe;border-radius:6px;gap:2px;min-width:0;padding:7px;display:grid}.overlap-popover button:hover,.overlap-popover button:focus-visible{background:#e0efff;outline:2px solid #60a5fa}.overlap-popover span{text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:700;overflow:hidden}.overlap-popover small{color:#52657f}:root[data-resolved-theme=dark] .full-screen-calendar{background:var(--theme-surface);color:var(--theme-text)}:root[data-resolved-theme=dark] .overlap-popover{background:var(--theme-surface-2);border-color:var(--theme-border)}:root[data-resolved-theme=dark] .overlap-popover button{background:var(--theme-surface);border-color:var(--theme-border);color:var(--theme-text)}:root[data-resolved-theme=dark] .dispatch-title-row h2,:root[data-resolved-theme=dark] .technician-toolbar,:root[data-resolved-theme=dark] .calendar-header,:root[data-resolved-theme=dark] .calendar-view .calendar-title,:root[data-resolved-theme=dark] .calendar-view .calendar-nav button,:root[data-resolved-theme=dark] .calendar-view .view-toggle button,:root[data-resolved-theme=dark] .calendar-view .density-toggle,:root[data-resolved-theme=dark] .dispatch-title-row h2{color:var(--theme-text)}:root[data-resolved-theme=dark] .technician-toolbar,:root[data-resolved-theme=dark] .calendar-header,:root[data-resolved-theme=dark] .density-toggle{background:var(--theme-surface-2);border-color:var(--theme-border)}:root[data-resolved-theme=dark] .calendar-view .calendar-nav button,:root[data-resolved-theme=dark] .calendar-view .view-toggle button,:root[data-resolved-theme=dark] .calendar-view .density-toggle button{color:var(--theme-text);background:var(--theme-surface-2);border-color:var(--theme-border)}:root[data-resolved-theme=dark] .calendar-view .calendar-nav button.active,:root[data-resolved-theme=dark] .calendar-view .view-toggle button.active,:root[data-resolved-theme=dark] .calendar-view .density-toggle button.active{color:#fff;background:#2563eb}:root[data-resolved-theme=dark] .calendar-view .technician-filter{color:var(--theme-text);background:var(--theme-surface-2);border-color:var(--theme-border)}:root[data-resolved-theme=dark] .calendar-view .date-column,:root[data-resolved-theme=dark] .calendar-view .time-labels,:root[data-resolved-theme=dark] .calendar-view .technician-day-column,:root[data-resolved-theme=dark] .calendar-view .technician-time-labels,:root[data-resolved-theme=dark] .calendar-view .time-block,:root[data-resolved-theme=dark] .calendar-view .technician-time-block,:root[data-resolved-theme=dark] .calendar-view .time-label,:root[data-resolved-theme=dark] .calendar-view .technician-time-label{background:var(--theme-surface);color:var(--theme-muted);border-color:var(--theme-border)}:root[data-resolved-theme=dark] .calendar-view .date-column.today{background:#24364a}:root[data-resolved-theme=dark] .calendar-view .date-column.weekend,:root[data-resolved-theme=dark] .calendar-view .after-hours{background:#17212f}:root[data-resolved-theme=dark] .calendar-card-customer,:root[data-resolved-theme=dark] .calendar-card-type,:root[data-resolved-theme=dark] .calendar-card-time{color:var(--theme-text)}:root[data-resolved-theme=dark] .calendar-view .empty-block{color:var(--theme-muted)}@media (width<=680px){.calendar-appointment-card{padding:5px 7px}.calendar-appointment-card .calendar-card-time{font-size:.72rem}.calendar-appointment-card .calendar-card-customer{font-size:.82rem}.calendar-appointment-card .calendar-card-meta{display:block}.calendar-appointment-card .appointment-status-label,.calendar-appointment-card .appointment-reschedule-button{display:none}.calendar-appointment-layer.mobile .calendar-appointment-card{z-index:60;box-shadow:0 1px 3px #0f172a3d;background:#e7efff!important}:root[data-resolved-theme=dark] .calendar-appointment-layer.mobile .calendar-appointment-card{background:#29476b!important}.calendar-appointment-layer.mobile .calendar-card-meta{display:block;position:absolute;top:5px;right:7px}.calendar-appointment-layer.mobile .calendar-card-meta .technician-name{font-size:.68rem}.calendar-appointment-layer.mobile .appointment-resize-handle{background:#2563eb;border-radius:3px;width:14px;height:4px;padding:0;font-size:0;position:absolute;bottom:3px;right:6px}}:root[data-resolved-theme=dark] .concept-attention-list button{color:#e5e7eb}:root[data-resolved-theme=dark] .concept-attention-list button:hover,:root[data-resolved-theme=dark] .concept-attention-list button:focus-visible{color:#fff;outline-offset:2px;background:#273449;border-radius:8px;outline:2px solid #60a5fa}:root[data-resolved-theme=dark] .concept-attention-list button>span:nth-child(2){color:#e5e7eb}:root[data-resolved-theme=dark] .concept-attention-list button>span:last-child{color:#9dbaf1}:root[data-resolved-theme=dark] .concept-attention-list .attention-icon{color:#3b2600;background:#ffd978}:root[data-resolved-theme=dark] .toolbar-search{color:#b8c4d6;background:#273449;border-color:#46556d}:root[data-resolved-theme=dark] .toolbar-search input{color:#f5f7fb;caret-color:#7db5ff}:root[data-resolved-theme=dark] .toolbar-search input::placeholder{color:#b8c4d6;opacity:1}:root[data-resolved-theme=dark] .toolbar-search:focus-within{border-color:#60a5fa;outline:3px solid #60a5fa47}:root[data-resolved-theme=dark] .toolbar-search kbd{color:#d7e1ef;background:#1f2937;border-color:#52637d}:root[data-resolved-theme=dark] .toolbar-profile{color:#d7e1ef}:root[data-resolved-theme=dark] .toolbar-profile .user-initials{color:#1f2937;background:#e5e7eb}:root[data-resolved-theme=dark] .profile-caret{color:#c5d0df}:root[data-resolved-theme=dark] .profile-menu{color:#e5e7eb;background:#1f2937;border-color:#52637d;box-shadow:0 18px 48px #0000006b}:root[data-resolved-theme=dark] .profile-menu-identity{border-color:#46556d}:root[data-resolved-theme=dark] .profile-menu-identity strong{color:#f5f7fb}:root[data-resolved-theme=dark] .profile-menu-identity small{color:#b8c4d6}:root[data-resolved-theme=dark] .profile-menu button{color:#d7e1ef}:root[data-resolved-theme=dark] .profile-menu button:hover,:root[data-resolved-theme=dark] .profile-menu button:focus-visible{color:#fff;outline-offset:-2px;background:#33435d;outline:2px solid #60a5fa}:root[data-resolved-theme=dark] .profile-menu .profile-company-switch{border-color:#46556d}:root[data-resolved-theme=dark] .profile-menu .profile-company-switch label{color:#b8c4d6}:root[data-resolved-theme=dark] .profile-menu .profile-company-switch select{color:#f5f7fb;background:#273449;border-color:#52637d}:root[data-resolved-theme=dark] .profile-menu-logout{color:#ff8f8f!important}:root[data-resolved-theme=dark] .profile-menu-logout:hover,:root[data-resolved-theme=dark] .profile-menu-logout:focus-visible{background:#4a252a;color:#ffd0d0!important}:root[data-resolved-theme=dark] .command-search-backdrop{background:#00000094}:root[data-resolved-theme=dark] .command-search{color:#e5e7eb;background:#1f2937;border-color:#52637d;box-shadow:0 24px 70px #0000007a}:root[data-resolved-theme=dark] .command-search-heading{border-color:#46556d}:root[data-resolved-theme=dark] .command-search-heading strong{color:#f5f7fb}:root[data-resolved-theme=dark] .command-search-heading button{color:#c5d0df}:root[data-resolved-theme=dark] .command-search-heading button:hover,:root[data-resolved-theme=dark] .command-search-heading button:focus-visible{color:#fff;background:#33435d;border-radius:7px;outline:2px solid #60a5fa}:root[data-resolved-theme=dark] .command-search-input{color:#f5f7fb;caret-color:#7db5ff;background:#273449}:root[data-resolved-theme=dark] .command-search-input::placeholder{color:#c5d0df;opacity:1}:root[data-resolved-theme=dark] .command-search-results button{color:#e5e7eb;background:#1f2937;border-color:#46556d}:root[data-resolved-theme=dark] .command-search-results button:hover,:root[data-resolved-theme=dark] .command-search-results button[aria-selected=true]{background:#33435d}:root[data-resolved-theme=dark] .command-search-results button strong{color:#f5f7fb}:root[data-resolved-theme=dark] .command-search-results button span,:root[data-resolved-theme=dark] .command-search-results button small,:root[data-resolved-theme=dark] .command-search-hint,:root[data-resolved-theme=dark] .command-search-empty{color:#b8c4d6}:root[data-resolved-theme=dark] .pipeline-mode .app-main{background:#111827}:root[data-resolved-theme=dark] .pipeline-page-heading h2{color:#f5f7fb}:root[data-resolved-theme=dark] .pipeline-page-heading p{color:#b8c4d6}:root[data-resolved-theme=dark] .pipeline-search{color:#c5d0df;background:#273449;border-color:#52637d}:root[data-resolved-theme=dark] .pipeline-search input{color:#f5f7fb;background:0 0}:root[data-resolved-theme=dark] .pipeline-search input::placeholder{color:#b8c4d6;opacity:1}:root[data-resolved-theme=dark] .pipeline-collapse-toggle{color:#e5e7eb;background:#273449;border-color:#52637d}:root[data-resolved-theme=dark] .pipeline-collapse-toggle:hover,:root[data-resolved-theme=dark] .pipeline-collapse-toggle:focus-visible{background:#33435d;border-color:#7db5ff;outline:2px solid #60a5fa}:root[data-resolved-theme=dark] .pipeline-column{color:#e5e7eb;background:#1f2937;border-color:#52637d}:root[data-resolved-theme=dark] .pipeline-column header h3{color:#f5f7fb}:root[data-resolved-theme=dark] .pipeline-column header small{color:#b8c4d6}:root[data-resolved-theme=dark] .pipeline-card{color:#e5e7eb;background:#273449;border-color:#52637d}:root[data-resolved-theme=dark] .pipeline-card strong,:root[data-resolved-theme=dark] .pipeline-card h4{color:#f5f7fb}:root[data-resolved-theme=dark] .pipeline-card p,:root[data-resolved-theme=dark] .pipeline-card small{color:#c5d0df}:root[data-resolved-theme=dark] .pipeline-card select{color:#f5f7fb;background:#33435d;border-color:#52637d}:root[data-resolved-theme=dark] .pipeline-column.collapsed header h3{color:#f5f7fb}:root[data-resolved-theme=dark] .pipeline-column.drop-target .pipeline-card-list:before{color:#b8d5ff;background:#2563eb38;border-color:#7db5ff}:root[data-resolved-theme=dark] .customers-page,:root[data-resolved-theme=dark] .customer-profile-page{background:#1f2937;border-color:#52637d}:root[data-resolved-theme=dark] .customers-page-header,:root[data-resolved-theme=dark] .profile-tabs{border-color:#46556d}:root[data-resolved-theme=dark] .customers-page-header h2,:root[data-resolved-theme=dark] .profile-header h2{color:#f5f7fb}:root[data-resolved-theme=dark] .customers-page-header p,:root[data-resolved-theme=dark] .profile-header p,:root[data-resolved-theme=dark] .customer-summary,:root[data-resolved-theme=dark] .profile-empty{color:#b8c4d6}:root[data-resolved-theme=dark] .profile-header .customer-contact-link{color:#9dc8ff}:root[data-resolved-theme=dark] .customer-filter{color:#f5f7fb;background:#273449;border-color:#52637d}:root[data-resolved-theme=dark] .customer-filter::placeholder{color:#b8c4d6;opacity:1}:root[data-resolved-theme=dark] .customer-row{color:#e5e7eb;background:#1f2937;border-color:#46556d}:root[data-resolved-theme=dark] .customer-row:hover,:root[data-resolved-theme=dark] .customer-row:focus{background:#273449;outline-color:#60a5fa}:root[data-resolved-theme=dark] .customer-main h3{color:#f5f7fb}:root[data-resolved-theme=dark] .customer-contact{color:#c5d0df}:root[data-resolved-theme=dark] .customer-balance{color:#7ee2ae}:root[data-resolved-theme=dark] .customer-balance.outstanding{color:#ff9b9b}:root[data-resolved-theme=dark] .profile-back,:root[data-resolved-theme=dark] .edit-customer-btn{color:#7db5ff}:root[data-resolved-theme=dark] .profile-info-grid div{background:#273449;border-color:#52637d}:root[data-resolved-theme=dark] .profile-info-grid span{color:#b8c4d6}:root[data-resolved-theme=dark] .profile-info-grid strong{color:#f5f7fb}:root[data-resolved-theme=dark] .profile-tabs button{color:#b8c4d6}:root[data-resolved-theme=dark] .profile-tabs button.active{color:#9dc8ff;border-bottom-color:#60a5fa}:root[data-resolved-theme=dark] .profile-records .record-row{border-color:#46556d}:root[data-resolved-theme=dark] .customer-profile-edit{color:#e5e7eb;background:#183b68;border-color:#60a5fa}:root[data-resolved-theme=dark] .customer-profile-edit input{color:#f5f7fb;background:#273449;border-color:#52637d}:root[data-resolved-theme=dark] .modal-backdrop{background:#0000009e}:root[data-resolved-theme=dark] .modal-backdrop .settings-card,:root[data-resolved-theme=dark] .modal-backdrop .lifecycle-create-modal,:root[data-resolved-theme=dark] .schedule-modal,:root[data-resolved-theme=dark] .job-detail-modal{color:#e5e7eb;background:#1f2937;border-color:#52637d}:root[data-resolved-theme=dark] .modal-backdrop h2,:root[data-resolved-theme=dark] .modal-backdrop p,:root[data-resolved-theme=dark] .schedule-modal h2,:root[data-resolved-theme=dark] .job-detail-modal h2{color:#f5f7fb}:root[data-resolved-theme=dark] .modal-backdrop label,:root[data-resolved-theme=dark] .schedule-modal label,:root[data-resolved-theme=dark] .job-detail-modal .label{color:#b8c4d6}:root[data-resolved-theme=dark] .modal-backdrop input,:root[data-resolved-theme=dark] .modal-backdrop select,:root[data-resolved-theme=dark] .modal-backdrop textarea,:root[data-resolved-theme=dark] .schedule-modal input,:root[data-resolved-theme=dark] .schedule-modal select,:root[data-resolved-theme=dark] .schedule-modal textarea{color:#f5f7fb;background:#273449;border-color:#52637d}:root[data-resolved-theme=dark] .modal-backdrop input::placeholder,:root[data-resolved-theme=dark] .modal-backdrop textarea::placeholder{color:#b8c4d6;opacity:1}:root[data-resolved-theme=dark] .modal-backdrop button:not(.primary),:root[data-resolved-theme=dark] .schedule-modal button:not(.primary){color:#d7e1ef;background:#273449;border-color:#52637d}:root[data-resolved-theme=dark] .modal-backdrop button:not(.primary):hover,:root[data-resolved-theme=dark] .modal-backdrop button:not(.primary):focus-visible,:root[data-resolved-theme=dark] .schedule-modal button:not(.primary):hover,:root[data-resolved-theme=dark] .schedule-modal button:not(.primary):focus-visible{background:#33435d;outline:2px solid #60a5fa}:root[data-resolved-theme=dark] .schedule-header,:root[data-resolved-theme=dark] .stepper,:root[data-resolved-theme=dark] .modal-header{background:#273449;border-color:#52637d}:root[data-resolved-theme=dark] .step.active{color:#9dc8ff}:root[data-resolved-theme=dark] .detail-row{border-color:#46556d}:root[data-resolved-theme=dark] .detail-row .value{color:#e5e7eb}:root[data-resolved-theme=dark] .close-btn,:root[data-resolved-theme=dark] .modal-close{color:#c5d0df}.reschedule-modal{border-radius:16px;width:min(520px,100vw - 32px);padding:24px}.reschedule-modal h2{letter-spacing:-.02em;margin:0;font-size:22px}.reschedule-modal>p{color:var(--color-text-secondary);margin:6px 0 22px;font-size:13px}.reschedule-modal>label{color:var(--color-text-secondary);gap:7px;margin-top:14px;font-size:12px;font-weight:700;display:grid}.reschedule-modal>label input,.reschedule-modal>label select{border:1px solid var(--color-border);background:var(--color-surface-secondary);min-height:42px;color:var(--color-text-primary);font:inherit;border-radius:9px;padding:0 12px}.reschedule-modal .record-detail-actions{border-top:1px solid var(--color-border);justify-content:flex-end;gap:10px;margin-top:24px;padding-top:18px;display:flex}.customer-profile-edit{border-radius:12px;grid-template-columns:repeat(2,minmax(0,1fr));padding:18px}.customer-profile-edit input{background:var(--color-surface);width:100%;max-width:none;min-height:42px;color:var(--color-text-primary);font:inherit}.customer-profile-edit input:first-child,.customer-profile-edit input:nth-child(4){grid-column:1/-1}.customer-profile-edit>div{grid-column:1/-1;align-items:center;gap:10px;display:flex}@media (width<=680px){.reschedule-modal{border-radius:18px 18px 12px 12px;align-self:end;width:calc(100vw - 16px);max-height:min(88vh,680px);margin-bottom:8px;padding:20px}.reschedule-modal .record-detail-actions{flex-direction:column-reverse}.reschedule-modal .record-detail-actions button{width:100%;min-height:44px}.customer-profile-edit{grid-template-columns:1fr}.customer-profile-edit input:first-child,.customer-profile-edit input:nth-child(4),.customer-profile-edit>div{grid-column:auto}}:root[data-resolved-theme=dark] .reschedule-modal>p{color:#b8c4d6}:root[data-resolved-theme=dark] .reschedule-modal .record-detail-actions{border-color:#46556d}.work-order-detail-page{color:#1d1d1f}.work-order-detail-page .work-order-job-header,.work-order-detail-page .settings-card{background:#fff;border-color:#e2e7ef}.work-order-detail-page .work-order-job-header h2,.work-order-detail-page .settings-card h3,.work-order-detail-page .settings-card h4,.work-order-detail-page .settings-card strong{color:#172033}.work-order-detail-page .work-order-job-header p,.work-order-detail-page .settings-card p,.work-order-detail-page .settings-card small{color:#526075}.work-order-detail-page .work-order-next-action strong{color:#172033}.work-order-detail-page .work-order-next-action small{color:#526075}.work-order-detail-page .settings-row{border-color:#edf0f4}:root[data-resolved-theme=dark] .work-order-detail-page{color:#e5e7eb}:root[data-resolved-theme=dark] .work-order-detail-page .work-order-job-header,:root[data-resolved-theme=dark] .work-order-detail-page .settings-card{background:#1f2937;border-color:#52637d}:root[data-resolved-theme=dark] .work-order-detail-page .work-order-job-header h2,:root[data-resolved-theme=dark] .work-order-detail-page .settings-card h3,:root[data-resolved-theme=dark] .work-order-detail-page .settings-card h4,:root[data-resolved-theme=dark] .work-order-detail-page .settings-card strong{color:#f5f7fb}:root[data-resolved-theme=dark] .work-order-detail-page .work-order-job-header p,:root[data-resolved-theme=dark] .work-order-detail-page .settings-card p,:root[data-resolved-theme=dark] .work-order-detail-page .settings-card small{color:#c5d0df}:root[data-resolved-theme=dark] .work-order-detail-page .work-order-next-action{background:#183b68}:root[data-resolved-theme=dark] .work-order-detail-page .work-order-next-action strong{color:#f5f7fb}:root[data-resolved-theme=dark] .work-order-detail-page .work-order-next-action small{color:#c5d0df}:root[data-resolved-theme=dark] .work-order-detail-page .settings-row{border-color:#46556d}.people-access-card .settings-heading{margin-bottom:18px}.settings-actions{flex-wrap:wrap;gap:10px;margin-bottom:18px;display:flex}.people-list{background:var(--border-subtle);border:1px solid var(--border-subtle);border-radius:14px;gap:1px;display:grid;overflow:hidden}.person-row{background:var(--surface-card);justify-content:space-between;align-items:center;gap:16px;padding:14px 16px;display:flex}.person-row small{color:var(--text-secondary);margin-top:4px;display:block}.technician-access-card{border-color:color-mix(in srgb,var(--accent) 38%,var(--border-subtle));background:color-mix(in srgb,var(--accent) 7%,var(--surface-card))}.person-form{border:1px solid var(--border-subtle);background:var(--surface-raised);border-radius:16px;gap:14px;margin-top:18px;padding:18px;display:grid}.person-form label{gap:7px;font-weight:600;display:grid}.person-form input,.person-form select{box-sizing:border-box;width:100%;min-height:44px}.modal-heading,.modal-actions{justify-content:space-between;align-items:center;gap:12px;display:flex}.modal-close{cursor:pointer;color:var(--text-secondary);background:0 0;border:0;font-size:24px;line-height:1}.form-error{color:var(--danger,#b42318);margin:0;font-weight:600}.future-settings p,.technician-access-card p{max-width:760px;line-height:1.55}.person-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.form-success{color:#147d4b;margin:0;font-weight:600}@media (width<=640px){.person-row{flex-direction:column;align-items:flex-start}.person-row .settings-value{align-self:flex-start}.settings-actions button,.person-actions button{width:100%}}.work-order-detail-page .technician-hidden-financial{display:none!important}.work-order-section-nav{scrollbar-width:none;z-index:3;background:var(--surface-page,#f7f8fa);gap:8px;padding:4px 0 14px;display:flex;position:sticky;top:0;overflow-x:auto}.work-order-section-nav a{border:1px solid var(--border-subtle);background:var(--surface-card);color:var(--text-secondary);box-sizing:border-box;border-radius:999px;flex:none;min-height:40px;padding:9px 12px;font-size:12px;font-weight:700;text-decoration:none}.work-order-section-nav a:hover,.work-order-section-nav a:focus-visible{color:var(--accent);border-color:var(--accent);outline:3px solid color-mix(in srgb,var(--accent) 22%,transparent);outline-offset:2px}.work-order-detail-page .work-order-job-header{margin-bottom:14px}.work-order-detail-page .work-order-next-action{border:1px solid color-mix(in srgb,var(--accent) 30%,var(--border-subtle));margin-bottom:18px;box-shadow:0 8px 24px #1e40af14}.work-order-detail-page .lifecycle-card{grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin-bottom:18px;display:grid}.work-order-detail-page .lifecycle-card .settings-row{min-height:76px;padding:14px 18px}.work-order-detail-page .lifecycle-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:16px;display:grid}.work-order-detail-page .lifecycle-grid .settings-card{min-width:0}.work-order-detail-page .lifecycle-grid .settings-card h3{margin-top:0}.work-order-detail-page .lifecycle-grid .settings-card input,.work-order-detail-page .lifecycle-grid .settings-card textarea,.work-order-detail-page .lifecycle-grid .settings-card select{box-sizing:border-box;min-height:44px}.work-order-detail-page .lifecycle-grid .settings-card button{min-height:44px}.work-order-detail-page .lifecycle-grid .settings-card:first-child,.work-order-detail-page .lifecycle-grid .settings-card:nth-child(4){grid-column:1/-1}@media (width<=760px){.work-order-detail-page{padding:16px 14px 32px}.work-order-section-nav{margin:0 -14px;padding:4px 14px 12px}.work-order-detail-page .lifecycle-card{display:block}.work-order-detail-page .lifecycle-card .settings-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.work-order-detail-page .lifecycle-grid{flex-direction:column;gap:12px;display:flex}.work-order-detail-page .lifecycle-grid .settings-card,.work-order-detail-page .lifecycle-grid .settings-card:first-child,.work-order-detail-page .lifecycle-grid .settings-card:nth-child(4){width:100%}.work-order-detail-page .work-order-next-action{z-index:4;align-items:center;gap:12px;padding:14px;display:flex;position:sticky;bottom:10px}.work-order-detail-page .work-order-next-action button{flex:none;min-height:48px}.work-order-detail-page input,.work-order-detail-page textarea,.work-order-detail-page select{font-size:16px}.work-order-detail-page .work-order-job-header{padding:18px}.work-order-detail-page .work-order-job-header h2{font-size:24px}}
