:root{--ink:#101621;--muted:#667085;--line:#d8dee8;--paper:#f7f9fc;--navy:#061626;--navy-2:#10283f;--blue:#075fc4;--sky:#12a1ff;--red:#c82121;--red-2:#ef4a35;--amber:#d99505;--green:#2f8e3c;--white:#fff;--shadow:0 18px 45px #0f21371f}*{box-sizing:border-box}body{background:var(--paper);color:var(--ink);margin:0;font-family:Arial,Helvetica,sans-serif;overflow-x:hidden}button,input,textarea,select{font:inherit}button{cursor:pointer}main{min-width:0;min-height:100vh}.compliance-page{color:var(--ink);background:#f4f7fb;min-height:100vh}.compliance-header{background:var(--navy);color:var(--white);justify-content:space-between;align-items:center;padding:14px max(20px,50vw - 480px);display:flex}.compliance-header>span{color:#d7e5f4;font-size:14px;font-weight:700}.compliance-document{background:var(--white);border:1px solid var(--line);border-radius:6px;max-width:960px;margin:28px auto;padding:38px 44px;box-shadow:0 12px 30px #0f213714}.compliance-document h1{margin:0 0 8px;font-size:34px}.compliance-document h2{margin:28px 0 7px;font-size:19px}.compliance-document p{margin:0 0 12px;font-size:16px;line-height:1.55}.document-kicker{color:var(--blue);text-transform:uppercase;font-weight:800;font-size:12px!important}.effective-date{color:var(--muted);font-size:14px!important}.required-policy-statement{font-weight:700}.compliance-title-row{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.print-button{background:var(--blue);color:var(--white);border:0;border-radius:5px;padding:11px 18px;font-weight:700}.consent-fields,.signature-grid{grid-template-columns:2fr 1fr;gap:26px;margin:34px 0;display:grid}.consent-fields div,.signature-grid div{border-bottom:1px solid #263445;min-height:38px;position:relative}.consent-fields span,.signature-grid span{color:var(--muted);font-size:12px;position:absolute;bottom:-20px;left:0}.consent-check{border:1px solid var(--line);grid-template-columns:24px 1fr;align-items:flex-start;gap:12px;margin:48px 0 18px;padding:18px;line-height:1.5;display:grid}.paper-checkbox{border:2px solid #263445;width:20px;height:20px;margin-top:2px}.consent-note,.retention-note{color:#445268;font-size:14px!important}.compliance-footer{flex-wrap:wrap;justify-content:center;gap:22px;max-width:960px;margin:0 auto;padding:0 20px 34px;display:flex}.compliance-footer a,.compliance-document a{color:var(--blue)}@media (width<=680px){.compliance-header{padding:12px 16px}.compliance-header>span{display:none}.compliance-document{border-left:0;border-right:0;border-radius:0;margin:14px 0;padding:26px 20px}.compliance-document h1{font-size:28px}.compliance-title-row{flex-direction:column}.consent-fields,.signature-grid{grid-template-columns:1fr}}@media print{body,.compliance-page{background:var(--white)}.compliance-header,.compliance-footer,.print-button{display:none}.compliance-document{box-shadow:none;border:0;max-width:none;margin:0;padding:20px}}.topbar{color:var(--white);background:linear-gradient(90deg,#061321,#071d34 55%,#03101d);justify-content:space-between;align-items:center;gap:18px;min-width:0;padding:12px 22px;display:flex}.brand{align-items:center;gap:12px;min-width:220px;display:flex}.brand-logo{filter:drop-shadow(0 5px 10px #0000003d);object-fit:contain;width:62px;height:48px;display:block}.brand strong{font-size:19px;line-height:1;display:block}.brand span{color:var(--red-2)}.brand small{color:#d7e5f4;letter-spacing:.8px;text-transform:uppercase;margin-top:4px;font-size:10px;display:block}.board-heading p{color:var(--sky);letter-spacing:.8px;margin:0 0 4px;font-weight:800}.board-heading h2{margin:0;font-size:clamp(24px,2.4vw,34px);line-height:1}.clock{text-align:right;justify-self:end}.clock strong{font-size:23px;display:block}.clock span{color:#d5e6f8;font-size:13px}.view-switcher{background:var(--white);border-bottom:1px solid var(--line);flex-wrap:wrap;gap:8px;padding:10px 14px;display:flex}.view-switcher button,.filter-bar button,.tabs button,.choice-row button,.button-row button,.ghost-action{color:#1a2b3f;background:#eef2f7;border:1px solid #cfd7e3;border-radius:6px;min-height:38px;padding:8px 12px}.view-switcher button{align-items:center;gap:8px;display:inline-flex}.view-switcher button.active,.filter-bar button.selected,.tabs button.active,.choice-row button.selected{background:var(--blue);border-color:var(--blue);color:var(--white)}.view-switcher button.queue-alert-tab{color:#741515;background:#ffe7e4;border-color:#ffb8b1;font-weight:900}.view-switcher button.queue-alert-tab.active{color:var(--white);background:#cc2424;border-color:#cc2424}.nav-count{color:var(--white);background:#cc2424;border-radius:999px;justify-content:center;align-items:center;min-width:22px;height:22px;padding:0 6px;font-size:12px;display:inline-flex}.view-switcher button.queue-alert-tab.active .nav-count{background:var(--white);color:#cc2424}.price-alert-bar{color:#741515;text-align:left;background:#ffe7e4;border:0;border-bottom:1px solid #cc2424;border-radius:0;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 12px;width:100%;min-height:44px;padding:10px 18px;display:flex}.price-alert-bar strong{color:#741515}.price-alert-summary{align-items:center;gap:10px;display:flex}.price-alert-summary span:last-child{color:#741515;font-weight:800}.price-alert-summary>div{flex-wrap:wrap;align-items:baseline;gap:4px 10px;display:flex}.price-alert-icon{background:#cc2424;border-radius:999px;justify-content:center;align-items:center;width:24px;height:24px;font-size:14px;font-weight:900;display:inline-flex;color:var(--white)!important}.price-alert-list{flex-wrap:wrap;gap:8px;display:flex}.price-alert-item{background:var(--white);border:1px solid #ffb8b1;border-radius:6px;align-items:center;gap:6px;padding:4px;display:inline-flex}.price-alert-item button{color:#741515;background:0 0;border:0;min-height:28px;padding:4px 8px}.price-alert-item button:first-child{text-align:left;flex-direction:column;align-items:flex-start;gap:2px;font-weight:900;display:flex}.price-alert-item button:first-child span{color:#741515;white-space:normal;max-width:720px;margin:0;font-size:12px;font-weight:700}.price-alert-item .clear-alert{color:var(--white);background:#cc2424;border-radius:4px;font-weight:900}.board-screen{background:var(--navy);color:var(--white);min-height:calc(100vh - 118px);padding:20px 28px 28px}.board-heading{text-align:center;text-transform:uppercase}.date-sort-button{background:var(--white);border:1px solid var(--sky);color:var(--navy);cursor:pointer;text-transform:none;border-radius:4px;min-width:154px;margin-top:10px;padding:8px 12px;font-weight:800}.date-sort-button:hover{background:#e8f2fb}.date-sort-button:focus-visible{outline:3px solid var(--yellow);outline-offset:2px}.stats-grid{grid-template-columns:repeat(4,minmax(160px,1fr));gap:18px;max-width:1160px;margin:18px auto 16px;display:grid}.metric{border:1px solid #fff3;border-radius:7px;align-items:center;min-height:64px;display:flex;overflow:hidden}.metric strong{border-right:1px solid #ffffff3d;justify-content:center;align-items:center;min-width:86px;height:100%;font-size:33px;display:flex}.metric span{text-transform:uppercase;padding:0 18px;font-size:13px;font-weight:900}.metric.bad{background:linear-gradient(90deg,#a81419,#d72625)}.metric.warn{background:linear-gradient(90deg,#ba7b04,#e0a30a)}.metric.good{background:linear-gradient(90deg,#236f2e,#3b9c42)}.metric.total{background:linear-gradient(90deg,#142337,#213348)}.board-columns{grid-template-columns:1fr 1.08fr;gap:18px;display:grid}.monitor-panel{box-shadow:var(--shadow);background:linear-gradient(#0c2034,#091a2b);border:1px solid #ffffffa6;border-radius:7px;overflow:hidden}.panel-title{color:var(--sky);text-transform:uppercase;align-items:center;gap:10px;padding:16px 18px 8px;display:flex}.panel-title h3{margin:0;font-size:20px}.square-icon{background:var(--sky);border-radius:4px;width:22px;height:22px}table{border-collapse:collapse;width:100%}th{color:#fff;text-align:left;padding:10px 12px;font-size:13px}td{vertical-align:middle;background:#ffffff21;border-top:1px solid #ffffff1c;padding:12px;font-size:14px}td span{color:#d5e2ef;margin-top:3px;font-size:12px;display:block}.date-cell{text-align:center;white-space:nowrap;background:#b21e19;font-weight:900}.date-cell.hot{background:#8f1415}.pill{color:var(--white);text-transform:uppercase;border-radius:5px;justify-content:center;align-items:center;min-width:70px;min-height:34px;padding:8px 12px;font-size:12px;font-weight:900;display:inline-flex}.pill.good,.pill.pass{background:linear-gradient(#49a94d,#2f8739)}.pill.warn{background:linear-gradient(#f0b40e,#d49505)}.pill.bad,.pill.fail{background:linear-gradient(#ef493d,#cc2424)}.pill.idle{background:#697684}.pill.pending{background:linear-gradient(#2f88dc,#1265bd)}.pill.status-yes,.choice-row button.status-yes{color:var(--white);background:linear-gradient(#49a94d,#2f8739);border-color:#2f8739}.pill.status-no,.choice-row button.status-no,.pill.status-yes.inverted,.choice-row button.status-yes.inverted{color:var(--white);background:linear-gradient(#ef493d,#cc2424);border-color:#cc2424}.pill.status-no.inverted,.choice-row button.status-no.inverted{color:var(--white);background:linear-gradient(#49a94d,#2f8739);border-color:#2f8739}.pill.status-pending,.pill.status-scheduled,.choice-row button.status-pending,.choice-row button.status-scheduled{color:var(--white);background:linear-gradient(#f0b40e,#d49505);border-color:#d49505}.pill.status-na{background:#697684}.login-lite{flex-direction:column;justify-self:end;align-items:flex-end;gap:3px;min-width:240px;display:flex}.login-lite span{color:#d7e5f4;text-transform:uppercase;font-size:11px;font-weight:800}.login-lite strong{font-size:15px}.login-lite button{color:#9fd2ff;background:0 0;border:0;min-height:0;padding:0;text-decoration:underline}.view-as-control{align-items:center;gap:8px;min-width:0;margin-left:auto;display:flex}.view-as-control span{color:#d7e5f4;text-transform:uppercase;white-space:nowrap;font-size:11px;font-weight:800}.view-as-control select{color:var(--white);background:#ffffff1a;border:1px solid #d7e5f459;border-radius:6px;min-width:180px;padding:8px 10px}.view-as-control option{color:var(--ink)}.view-as-banner{color:#6b4a00;background:#fff4d6;border-bottom:1px solid #f0c76a;padding:10px 22px;font-weight:700}.login-page{background:linear-gradient(135deg,#061626,#0b2743 58%,#07111f);align-items:center;min-height:100vh;padding:28px;display:grid}.login-panel{background:var(--white);box-shadow:var(--shadow);border:1px solid #fff3;border-radius:8px;width:100%;max-width:440px;margin:0 auto;padding:24px}.login-panel .brand{color:var(--ink);margin-bottom:18px}.login-panel .brand small{color:var(--muted)}.login-panel h1{margin:0 0 18px;font-size:28px}.login-panel p{color:var(--muted);margin:14px 0 0;font-size:13px;line-height:1.45}.auth-error{color:var(--red);background:#ffe7e4;border:1px solid #ffb8b1;border-radius:6px;margin-bottom:12px;padding:10px 12px;font-size:13px;font-weight:800}.board-toolbar{background:var(--white);border-bottom:1px solid var(--line);grid-template-columns:repeat(4,minmax(170px,1fr)) minmax(220px,auto);align-items:center;gap:12px;padding:14px 24px;display:grid}.board-toolbar .metric{color:var(--white);min-height:54px}.board-toolbar .metric strong{min-width:62px;font-size:25px}.board-toolbar .metric span{font-size:11px}.toggle-line{color:#1a2b3f;white-space:nowrap;align-items:center;gap:8px;margin:0;font-size:13px;display:flex}.toggle-line input{width:auto;min-height:0;display:inline-block}.wide-panel{overflow-x:auto}.wide-panel table{min-width:1360px}.attention-row td{background:#ff6e5c33}.notes-cell{min-width:220px;max-width:280px}.monitor-empty-row{color:var(--muted);text-align:center;font-size:18px;font-weight:900;padding:28px!important}.clickable-row{cursor:pointer}.clickable-row:hover td{filter:brightness(1.08)}.inspection-screen{background:#081c2f}.management.no-sidebar{width:100%;max-width:100%;display:block}.no-sidebar .workspace{width:100%;min-width:0;max-width:none;display:block}.no-sidebar .management-head{align-items:flex-start;max-width:860px;display:block}.queue-page,.full-page{width:100%;min-height:calc(100vh - 118px);display:block}.full-page .workspace{width:100%;min-width:0;max-width:none}.full-page .management-head{align-items:flex-start;max-width:none;display:block}.queue-page .workspace{width:100%;min-width:0;max-width:none}.queue-page .management-head{align-items:flex-start;max-width:none;display:block}.management-head p{color:var(--muted);max-width:620px;margin:6px 0 0}.attention-grid,.archive-grid,.hardware-list{grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:14px;width:100%;display:grid}.users-layout{grid-template-columns:minmax(320px,420px) 1fr;align-items:start;gap:18px;display:grid}.user-form,.reset-form,.users-table{background:var(--white);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:7px}.user-form,.reset-form{padding:18px}.user-form h3,.reset-form h3{margin:0 0 14px}.reset-form{grid-column:1}.reset-form p{color:var(--muted);overflow-wrap:anywhere;margin:0 0 14px;font-size:13px;font-weight:800}.check-list{gap:8px;margin:8px 0 14px;display:grid}.check-list label{align-items:center;gap:8px;margin:0;display:flex}.check-list input{width:auto;min-height:0;margin:0}.users-table{overflow-x:auto}.users-table table{min-width:980px}.users-table th{color:#1a2b3f;background:#edf3fa}.users-table td{background:var(--white);border-color:var(--line);color:var(--ink)}.row-actions{flex-wrap:wrap;gap:8px;display:flex}.row-actions button{background:#eef2f7;border:1px solid #cfd7e3;border-radius:5px;min-height:32px;padding:6px 10px}.danger-action{font-weight:900;color:var(--red)!important;background:#fff0ef!important;border:1px solid #ffb8b1!important}.warning-action{font-weight:900;color:#6a4500!important;background:#fff8e1!important;border:1px solid #e0a000!important}.success-action{font-weight:900;color:var(--green)!important;background:#ebf8ed!important;border:1px solid #8bd093!important}.issue-card,.archive-card,.hardware-item,.access-card{background:var(--white);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:7px;padding:18px}.issue-card h3,.archive-card h3,.hardware-item h3,.access-card h2{margin:0 0 8px}.issue-card p,.archive-card p,.hardware-item p,.access-card p{color:var(--muted);margin:0 0 12px;line-height:1.45}.issue-card ul{color:var(--red);margin:0;padding-left:18px;font-weight:800}.archive-card div{align-items:center;gap:10px;margin-top:10px;display:flex}.section-title{margin:24px 0 12px}.spiff-approval-card{gap:12px;display:grid}.archive-card.spiff-approval-card>div,.archive-card.spiff-approval-card .spiff-card-grid,.archive-card.spiff-approval-card .queue-actions{align-items:initial;margin-top:0;display:grid}.archive-card.spiff-approval-card .queue-actions{display:flex}.spiff-person-groups{gap:22px;display:grid}.spiff-person-group{min-width:0}.spiff-person-heading{justify-content:space-between;align-items:baseline;gap:14px;margin-bottom:8px;display:flex}.spiff-person-heading h3{margin:0;font-size:20px}.spiff-person-heading span{color:var(--muted);font-size:13px;font-weight:800}.spiff-table-wrap{background:var(--white);border:1px solid var(--line);border-radius:6px;overflow-x:auto}.spiff-approval-table{min-width:1640px}.spiff-approval-table th{color:#1a2b3f;text-transform:uppercase;background:#e8eef6;font-size:11px}.spiff-approval-table td{background:var(--white);border-color:var(--line);color:var(--ink)}.spiff-approval-table td:first-child,.spiff-approval-table td:nth-child(5),.spiff-approval-table td:nth-child(6),.spiff-approval-table td:nth-child(7),.spiff-approval-table td:nth-child(8){white-space:nowrap}.spiff-status-cell{align-items:center;gap:8px;display:flex}.spiff-status-cell .status-pill{margin:0}.spiff-status-cell button{min-height:32px;padding:6px 10px}.spiff-approval-table input,.spiff-approval-table select,.spiff-approval-table textarea{width:100%;min-width:130px;padding:7px 8px}.spiff-approval-table textarea{resize:vertical;min-width:190px}.spiff-approval-table td:nth-child(2),.spiff-approval-table td:nth-child(3){min-width:175px}.spiff-status-cell{flex-wrap:wrap;min-width:250px}.light-panel{background:var(--white);color:var(--ink)}.light-panel th{color:#1a2b3f;background:#edf3fa}.light-panel td{background:var(--white);border-color:var(--line)}.rule-callout{color:#7a5200;background:#fff7df;border:1px solid #e4b642;border-radius:6px;padding:9px;font-size:12px;font-weight:800}.queue-item.revised{grid-template-columns:42px minmax(300px,2fr) minmax(130px,.65fr) minmax(140px,.65fr) minmax(190px,.8fr) minmax(190px,.8fr) minmax(150px,auto);width:100%}.queue-actions{flex-wrap:wrap;gap:8px;display:flex}.crew-panel{background:var(--white);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:7px;margin-top:18px;padding:18px}.crew-form{grid-template-columns:minmax(240px,420px) auto;align-items:end;gap:12px;margin:16px 0;display:grid}.crew-list{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:10px;display:grid}.crew-item{border:1px solid var(--line);border-radius:6px;gap:12px;padding:12px;display:grid}.crew-item>div:first-child{justify-content:space-between;align-items:center;gap:10px;display:flex}.spiff-settings-panel{min-width:0;max-width:none}.admin-settings-layout{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;width:100%;max-width:none}.muted-copy{color:#4f5f77;margin:0 0 16px}.spiff-settings-list{gap:12px;display:grid}.spiff-setting-row{border:1px solid var(--line);border-radius:8px;grid-template-columns:minmax(110px,1fr) minmax(90px,120px) auto auto;align-items:end;gap:14px;padding:14px;display:grid}.spiff-setting-row>*,.work-type-add-row>*,.work-type-setting-row>*{min-width:0}.spiff-setting-row input,.work-type-add-row input,.work-type-setting-row input{width:100%}.spiff-setting-row strong,.spiff-setting-row span{display:block}.spiff-setting-row span{color:#53637a;margin-top:4px;font-size:13px}.work-type-add-row,.work-type-setting-row{align-items:end;gap:10px;display:grid}.work-type-add-row{grid-template-columns:minmax(220px,1fr) auto;margin-bottom:12px}.work-type-setting-row{border:1px solid var(--line);background:#f8fafc;border-radius:6px;grid-template-columns:minmax(140px,1fr) auto auto auto;padding:10px}.work-type-add-row button,.work-type-setting-row button{min-height:38px}.checkbox-inline{align-items:center;gap:8px;display:flex}.sms-settings-panel{grid-column:1/-1;max-width:none}.sms-settings-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.sms-setting-row{border:1px solid var(--line);background:#f8fafc;border-radius:6px;gap:12px;padding:14px;display:grid}.sms-setting-row textarea{resize:vertical;width:100%;min-height:76px}.sms-setting-head{justify-content:space-between;align-items:center;gap:16px;display:flex}.sms-setting-head strong{font-size:18px}.notification-channel-controls{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.sales-question-compose .section-heading-row,.question-detail-heading,.page-heading{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.sales-question-compose h2,.sales-question-compose p,.question-detail-heading h2,.question-detail-heading p{margin:0}.sales-question-compose p,.question-detail-heading p,.page-heading p{color:var(--muted);margin-top:5px}.sales-question-form{grid-template-columns:1fr;gap:12px;margin-top:18px;display:grid}.sales-question-compose{align-self:start;position:sticky;top:16px}.sales-question-compose .section-heading-row{grid-template-columns:1fr;display:grid}.sales-question-compose .section-heading-row>button,.sales-question-form>button{justify-self:stretch;width:100%}.sales-question-compose h2{font-size:20px}.sales-question-form textarea,.question-reply-form textarea{resize:vertical;min-height:92px}.sold-job-questions-page{padding:22px}.sold-question-layout{grid-template-columns:minmax(360px,42%) minmax(480px,1fr);gap:18px;margin-top:18px;display:grid}.sold-question-list,.sold-question-detail{border:1px solid var(--border);min-height:420px}.sold-question-row{border:0;border-bottom:1px solid var(--border);color:var(--text);text-align:left;background:#fff;border-radius:0;grid-template-columns:minmax(130px,1.4fr) minmax(80px,.8fr) minmax(100px,1fr) minmax(135px,1fr) auto;align-items:center;gap:10px;width:100%;padding:14px;display:grid}.sold-question-row:hover,.sold-question-row.selected{background:#eef6ff}.sold-question-row.unread{border-left:4px solid #c62828}.sold-question-row.unread strong{color:#fff;background:#c62828;padding:3px 7px}.question-customer{font-weight:700}.sold-question-detail{padding:18px}.question-message-history{border-bottom:1px solid var(--border);border-top:1px solid var(--border);max-height:390px;margin:16px 0;padding:12px 0;overflow-y:auto}.question-message-history article{background:#f2f5f8;border-left:3px solid #8a98a8;max-width:86%;margin:0 0 10px;padding:10px 12px}.question-message-history article.mine{border-left-color:#0875d1;margin-left:auto}.question-message-history article>div{justify-content:space-between;gap:12px;display:flex}.question-message-history time{color:var(--muted);font-size:12px}.question-message-history p{white-space:pre-wrap;margin:7px 0 0}.question-reply-form{grid-template-columns:1fr auto;align-items:end;gap:12px;display:grid}@media (width<=900px){.sold-question-layout{grid-template-columns:1fr}.sold-question-row{grid-template-columns:1fr 1fr}.sales-question-form,.question-reply-form{grid-template-columns:1fr}}.field-label{margin-bottom:7px;font-weight:800;display:block}.sms-recipient-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px;display:grid}.sms-recipient-grid label>span{gap:2px;display:grid}.sms-recipient-grid small{color:var(--muted);font-size:11px;font-weight:400}@media (width<=1100px){.admin-settings-layout,.sms-settings-list{grid-template-columns:minmax(0,1fr)}}.sms-setting-row>button{justify-self:end}.form-message{color:#247730;background:#eef9ed;border-top:1px solid #b7ddb5;padding:10px 18px;font-size:13px;font-weight:800}.action-confirmation{border:1px solid #92cc9a;border-left:5px solid var(--green);color:#185d25;z-index:150;background:#ecf8ee;border-radius:6px;grid-template-columns:24px minmax(0,1fr) 28px;align-items:center;gap:10px;max-width:min(460px,100vw - 32px);padding:12px 14px;display:grid;position:fixed;top:126px;right:18px;box-shadow:0 12px 30px #0f213733}.action-confirmation>span{background:var(--green);color:var(--white);border-radius:50%;justify-content:center;align-items:center;width:22px;height:22px;font-size:14px;font-weight:900;display:inline-flex}.action-confirmation strong{font-size:14px;line-height:1.3}.action-confirmation button{color:currentColor;background:0 0;border:0;padding:0;font-size:22px;line-height:1}.action-confirmation.error{border-color:#e7a09a;border-left-color:var(--red);color:#8d1f1f;background:#fff0ef}.action-confirmation.error>span{background:var(--red)}@media (width<=680px){.action-confirmation{top:92px;left:12px;right:12px}}.sales-page{min-height:calc(100vh - 118px);padding:24px}.sales-shell{max-width:1040px;margin:0 auto}.sales-head{align-items:center;gap:22px;margin-bottom:18px;display:flex}.sales-head .brand{color:var(--ink)}.sales-head .brand small{color:var(--muted)}.sales-head p{color:var(--blue);letter-spacing:.8px;text-transform:uppercase;margin:0 0 4px;font-size:12px;font-weight:900}.sales-head h2{margin:0;font-size:30px}.sales-form{background:var(--white);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:8px;gap:0;display:grid;overflow:hidden}.form-section{background:var(--white);border-top:1px solid var(--line);grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px;padding:18px;display:grid}.form-section:first-child{border-top:0}.form-section h3{color:var(--blue);text-transform:uppercase;grid-column:1/-1;margin:0 0 9px;font-size:11px}label{margin-bottom:10px;font-size:13px;font-weight:800;display:block}.nested-field{margin-top:10px;display:block}input,textarea,select{background:var(--white);border:1px solid #cbd3de;border-radius:5px;width:100%;min-height:36px;margin-top:5px;padding:8px 10px;display:block}.readonly-field{background:#f3f7fb;border:1px solid #cbd3de;border-radius:5px;min-height:36px;margin-bottom:10px;padding:8px 10px;font-size:13px;display:block}.readonly-field span{color:var(--muted);text-transform:uppercase;font-size:11px;font-weight:900;display:block}.readonly-field strong{margin-top:4px;display:block}textarea{resize:vertical;min-height:70px}.upload-row{border:1px solid var(--line);border-radius:6px;grid-template-columns:54px 1fr auto;align-items:center;gap:10px;padding:8px;display:grid}.thumb{background:linear-gradient(135deg,#8aa575,#d8d0b6 55%,#777);border-radius:5px;height:44px}.upload-row span{color:var(--muted);font-size:12px;display:block}.selected-files,.photo-links{flex-wrap:wrap;gap:8px;display:flex}.photo-picker{gap:8px;display:grid}.photo-picker>span{font-size:13px;font-weight:800}.photo-picker small{color:var(--muted);margin-top:2px;font-size:11px;display:block}.photo-picker>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.file-action{color:#1a2b3f;background:#eef2f7;border:1px solid #cfd7e3;border-radius:6px;justify-content:center;align-items:center;min-height:42px;margin:0;padding:10px 12px;font-weight:900;display:flex}.file-action input,.legacy-file-input{display:none}.selected-files{align-content:start}.selected-files span,.photo-links a,.photo-chip{color:#173047;word-break:break-word;background:#eef4fb;border:1px solid #cfdceb;border-radius:5px;padding:7px 9px;font-size:12px;font-weight:800;line-height:1.25;text-decoration:none}.photo-chip{cursor:pointer}.photo-chip:hover{background:#ddeafa;border-color:#9fb9da}.photo-modal-backdrop{z-index:50;background:#061626b8;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.photo-modal-card{background:var(--white);border-radius:7px;gap:10px;width:max-content;max-width:min(960px,100vw - 32px);max-height:calc(100vh - 32px);padding:12px;display:grid;box-shadow:0 22px 60px #030c1661}.photo-modal-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.photo-modal-head strong{overflow-wrap:anywhere}.photo-modal-head button{background:#eef2f7;border:1px solid #cfd7e3;border-radius:5px;padding:6px 10px}.photo-modal-card img{object-fit:contain;border-radius:5px;max-width:calc(100vw - 56px);max-height:calc(100vh - 110px);display:block}.compact{min-height:30px;padding:6px 10px}.primary{border-radius:6px;min-height:38px;padding:9px 16px;font-weight:900;color:var(--white)!important;background:linear-gradient(#0a72da,#0755b5)!important;border:0!important}.secondary-action{background:var(--white);color:var(--blue);border:1px solid #9bb0c7;border-radius:6px;min-height:38px;padding:9px 16px;font-weight:900}.wide{border-radius:0;width:100%}.management{grid-template-columns:232px 1fr;min-height:calc(100vh - 132px);display:grid}.sidebar{color:var(--white);background:linear-gradient(#061626,#08233d);padding:20px 16px}.sidebar .brand{min-width:0;margin-bottom:26px}.sidebar .brand strong{font-size:16px}.sidebar .brand-logo{width:48px;height:45px}.sidebar button{color:#dce9f6;text-align:left;background:0 0;border:0;border-radius:6px;width:100%;min-height:42px;margin-bottom:8px;padding:10px 12px;display:block}.sidebar button.active{color:var(--white);background:#075fc4}.workspace{width:100%;min-width:0;padding:24px}.management-head,.detail-head{justify-content:space-between;align-items:center;margin-bottom:16px;display:flex}.management-head h2,.detail-head h2,.edit-card h2{margin:0;font-size:26px}.management-head span{color:var(--muted)}.filter-bar,.tabs,.button-row{gap:10px;display:flex}.queue-list{background:var(--white);border:1px solid var(--line);border-radius:7px;width:100%;max-width:100%;overflow-x:auto}.queue-header{border-bottom:1px solid var(--line);color:#1a2b3f;text-transform:uppercase;background:#edf3fa;grid-template-columns:42px minmax(300px,2fr) minmax(130px,.65fr) minmax(140px,.65fr) minmax(190px,.8fr) minmax(190px,.8fr) minmax(150px,auto);gap:14px;min-width:1120px;padding:10px 14px;font-size:11px;font-weight:900;display:grid}.queue-item{grid-template-columns:42px minmax(300px,2fr) minmax(130px,.65fr) minmax(140px,.65fr) minmax(190px,.8fr) minmax(190px,.8fr) minmax(150px,auto);align-items:center;gap:14px;min-width:1120px;padding:11px 14px;display:grid}.queue-item+.queue-item{border-top:1px solid var(--line)}.queue-item:first-child{background:#fff4f1}.rank{color:var(--red);font-weight:900}.queue-item span,.queue-item small,.detail-head p,.next-card p{color:var(--muted)}.queue-item>div{min-width:0}.queue-item strong,.queue-item span{overflow-wrap:anywhere}.queue-customer,.customer-summary{gap:4px;display:grid}.queue-customer strong,.customer-summary strong{color:var(--ink);font-size:15px;line-height:1.15}.customer-summary span{line-height:1.25;display:block}.customer-summary-address{color:#42526a!important}.customer-summary-phone{font-weight:850;color:#0b5fb8!important}.queue-sales-price,.customer-summary-price,.customer-summary-equipment{font-weight:800;color:var(--ink)!important}.customer-summary-equipment{font-size:13px}.queue-item small{text-transform:uppercase;font-size:11px;display:block}.queue-item em{color:var(--red);background:#ffe7e4;border:1px solid #ffb8b1;border-radius:5px;margin-top:6px;padding:3px 8px;font-style:normal;font-weight:900;display:inline-block}.stacked-status{flex-wrap:wrap;align-items:center;gap:6px 10px;display:flex}.stacked-status .pill{min-width:52px}.status-line{white-space:nowrap;align-items:center;gap:5px;display:inline-flex}.status-line small{color:var(--muted);min-width:auto;font-size:10px;display:inline}.monitor-status-note{flex-direction:column;align-items:flex-start;gap:5px;min-width:130px;display:inline-flex}.monitor-status-note small{color:#d5e6f7;text-transform:none;font-size:11px;font-weight:800;line-height:1.25}.light-panel .monitor-status-note small,.queue-item .monitor-status-note small{color:var(--muted)}.queue-callout{margin-bottom:12px}.sales-dashboard .workspace{max-width:980px;margin:0 auto}.sales-dashboard-head{justify-content:space-between;align-items:center;margin-bottom:16px;display:flex}.sales-dashboard-head p{color:var(--muted);text-transform:uppercase;margin:0 0 4px;font-size:12px;font-weight:800}.sales-dashboard-head h2{margin:0;font-size:30px}.sales-card-list{gap:12px;display:grid}.sales-workflow-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;display:grid}.sales-workflow-button{background:var(--white);border:1px solid var(--line);box-shadow:var(--shadow);color:var(--ink);text-align:left;border-radius:7px;align-items:flex-start;gap:8px;min-height:132px;padding:20px;display:grid}.sales-workflow-button strong{font-size:22px;line-height:1.1}.sales-workflow-button span{color:var(--muted);font-size:14px;line-height:1.35}.sales-workflow-button.primary-action{background:var(--blue);border-color:var(--blue);color:var(--white)}.sales-workflow-button.primary-action span{color:#ffffffdb}.sales-workflow-button.attention-action{color:#741515;background:#ffe7e4;border-color:#ffb8b1}.sales-workflow-button.attention-action span{color:#8d2525}.sales-workflow-button.pending-action{color:#6a4500;background:#fff8e1;border-color:#e0a000}.sales-workflow-button.pending-action span{color:#7a5408}.timesheet-dashboard-actions{grid-template-columns:minmax(220px,360px);margin-bottom:14px;display:grid}.lead-card{border-left:5px solid #e0a000}.lead-card:has(.status-yes){border-left-color:#2c933a}.lead-photo-strip{flex-wrap:wrap;gap:6px;display:flex}.lead-photo-strip a,.lead-photo-strip span{border:1px solid var(--line);color:var(--muted);background:#eef2f7;border-radius:999px;margin:0;padding:4px 8px;font-size:12px;display:inline-flex}.lead-photo-strip a{color:var(--blue);text-decoration:none}.lead-photo-strip a:hover{text-decoration:underline}.lead-notes{color:var(--muted);margin:0}.lead-status-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.lead-status-button{color:var(--ink);text-align:center;background:#f8fafc;border-radius:5px;justify-items:center;gap:4px;min-height:42px;padding:8px 10px;display:grid}.lead-status-button strong{font-size:16px;line-height:1.2;display:block}.lead-status-button-warning{color:#6a4500;border:1px solid #e0a000}.lead-status-button-danger{color:var(--red);border:1px solid #ffb8b1}.lead-status-button-success{color:var(--green);border:1px solid #8bd093}.lead-status-button.is-current{color:var(--white);border-width:2px;box-shadow:0 0 0 3px #0f1b2b24}.lead-status-button-warning.is-current{background:linear-gradient(#f4bd0a,#d99a00)}.lead-status-button-danger.is-current{background:linear-gradient(#ff4b43,#d31d1d)}.lead-status-button-success.is-current{background:linear-gradient(#41a94b,#268638)}.lead-status-current{letter-spacing:0;text-transform:uppercase;background:#ffffff38;border:1px solid #ffffff80;border-radius:999px;padding:3px 8px;font-weight:900;color:var(--white)!important;margin:0!important;font-size:11px!important;display:inline-flex!important}.lead-card-lost{border-left-color:var(--red)}.lead-card-sold,.lead-card-converted,.lead-card-scheduled{border-left-color:var(--green)}.sales-job-card,.sales-dashboard-edit,.modal-card{background:var(--white);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:7px;padding:18px}.sales-job-card{gap:14px;display:grid}.sales-job-card strong,.sales-job-card span{display:block}.sales-job-card span{color:var(--muted);margin-top:4px}.sales-status-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.spiff-total-card{border-left:5px solid var(--blue)}.paid-spiff-total{border-left-color:var(--green)}.spiff-total-card strong{font-size:26px}.spiff-card{border-left:5px solid var(--green)}.spiff-card-grid{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px;display:grid}.spiff-card-grid span{border:1px solid var(--line);color:var(--ink);background:#f5f8fb;border-radius:5px;gap:3px;margin:0;padding:8px 10px;display:grid}.spiff-card-grid small{color:var(--muted);text-transform:uppercase;font-size:11px;font-weight:900}.spiff-card-grid strong{overflow-wrap:anywhere;font-size:15px}.spiff-rollup-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin-bottom:16px;display:grid}.spiff-rollup-card{background:var(--white);border:1px solid var(--line);border-left:5px solid var(--green);box-shadow:var(--shadow);border-radius:7px;gap:5px;padding:14px;display:grid}.spiff-rollup-card small{color:var(--muted);text-transform:uppercase;font-size:12px;font-weight:900}.spiff-rollup-card strong{font-size:24px}.spiff-rollup-card span{color:#50617a}.manual-spiff-form{gap:16px;display:grid}.spiff-preview{background:#eff8f0;border:1px solid #bbdfc0;border-radius:7px;justify-self:start;gap:4px;min-width:180px;padding:12px 14px;display:inline-grid}.spiff-preview small{color:#31533a;text-transform:uppercase;font-size:11px;font-weight:800}.spiff-preview strong{color:var(--green);font-size:24px}.timesheet-shell{max-width:1160px}.manager-timesheet-shell{width:calc(100% - 24px);max-width:1900px;margin:0 auto;padding:16px}.week-picker{min-width:180px}.timesheet-week-header{justify-content:flex-start}.timesheet-approver-bar{grid-template-columns:minmax(220px,1fr) minmax(180px,1fr) auto;align-items:end;gap:12px;display:grid}.manager-timesheet-shell .timesheet-approver-bar{grid-template-columns:minmax(180px,.7fr) minmax(300px,1.6fr) minmax(250px,1fr) 230px}.manager-timesheet-shell .timesheet-approver-bar button{width:100%;height:42px}.manager-timesheet-shell .sales-job-card{gap:10px;padding:14px;box-shadow:0 8px 22px #0f213714}.timesheet-approver-bar small{color:var(--muted);text-transform:uppercase;font-size:11px;font-weight:900;display:block}.timesheet-approver-bar strong{font-size:16px;line-height:1.25;display:block}.timesheet-punch-card{grid-template-columns:minmax(180px,1fr) auto;align-items:center}.timesheet-punch-actions,.payroll-metric-grid,.piece-rate-form,.timesheet-entry{gap:10px;display:grid}.timesheet-punch-actions,.timesheet-punch-card.simple-hourly .timesheet-punch-actions{grid-template-columns:repeat(5,minmax(0,1fr))}.timesheet-punch-actions button{width:100%;min-width:0}.timesheet-punch-actions .missed-day-action{white-space:nowrap;font-size:12px}.manager-timesheet-shell .timesheet-punch-card{grid-template-columns:minmax(180px,1fr) minmax(560px,.85fr)}.manager-timesheet-shell .timesheet-punch-actions button,.manager-timesheet-shell .timesheet-punch-actions .timesheet-secondary{height:42px;padding:8px 10px}.timesheet-punch-actions .timesheet-secondary{color:#16395c;background:#eef4fb;border:1px solid #b9cbe0;border-radius:6px;padding:12px 14px;font-weight:800}.timesheet-punch-actions .timesheet-secondary:hover:not(:disabled){background:#dfeaf7}.timesheet-punch-actions .timesheet-secondary:disabled{cursor:not-allowed;opacity:.6}.payroll-summary-card{border-left:5px solid var(--blue)}.payroll-summary-card>div:first-child small{color:var(--muted);text-transform:uppercase;font-size:11px;font-weight:900}.payroll-summary-card>div:first-child strong{font-size:24px}.payroll-metric-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.manager-timesheet-shell .payroll-metric-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px}.payroll-metric-grid span{border:1px solid var(--line);background:#f5f8fb;border-radius:5px;margin:0;padding:10px 12px}.payroll-metric-grid small,.timesheet-entry small{color:var(--muted);text-transform:uppercase;font-size:11px;font-weight:900}.payroll-metric-grid strong{color:var(--ink);font-size:22px}.payroll-metric-grid .payroll-warning{background:#fff0f0;border-color:#ef9a9a}.payroll-metric-grid .payroll-warning strong{color:var(--red)}.timesheet-summary-actions{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:10px;margin-top:14px;display:grid}.timesheet-summary-actions .status-line{border:1px solid var(--line);background:#f5f8fb;border-radius:6px;grid-template-columns:minmax(74px,1fr) minmax(84px,1fr);align-items:center;gap:8px;padding:8px;display:grid}.timesheet-summary-actions .status-line .pill,.timesheet-summary-actions button{width:100%}.timesheet-summary-actions button{min-height:52px}.manager-timesheet-shell .timesheet-summary-actions{grid-template-columns:repeat(3,minmax(0,1fr))}.manager-timesheet-shell .timesheet-summary-actions>*{min-height:48px}.manager-timesheet-shell .payroll-summary-card>.button-row{grid-template-columns:repeat(2,minmax(180px,1fr));justify-self:end;gap:8px;width:min(100%,420px);margin-top:2px;display:grid}.manager-timesheet-shell .payroll-summary-card>.button-row button{width:100%;margin:0}.compact-head{justify-content:space-between;align-items:start;gap:12px;display:flex}.compact-head p{margin:4px 0 0}.manager-timesheet-shell .compact-head .button-row{grid-template-columns:repeat(3,minmax(190px,1fr));gap:8px;width:min(100%,720px);margin-top:0;display:grid}.manager-timesheet-shell .compact-head .button-row button{width:100%;min-height:42px;padding:8px 10px}.timesheet-entry-list{gap:12px;display:grid}.simple-time-day{border:1px solid var(--line);border-left:5px solid var(--blue);background:#f8fafc;border-radius:7px;padding:12px}.simple-time-day-summary{grid-template-columns:1.1fr repeat(4,minmax(100px,1fr)) auto;align-items:end;gap:12px;display:grid}.simple-time-day-summary div{gap:3px;display:grid}.simple-time-day-summary small{color:var(--muted);text-transform:uppercase;font-size:11px;font-weight:800}.simple-time-day-summary strong{color:var(--ink);font-size:14px}.simple-time-day-editor{border-top:1px solid var(--line);grid-template-columns:repeat(5,minmax(140px,1fr)) auto;align-items:end;gap:10px;margin-top:12px;padding-top:12px;display:grid}.simple-time-day-editor label{margin:0}@media (width<=900px){.simple-time-day-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.simple-time-day-summary button,.simple-time-day-editor button{width:100%}.simple-time-day-editor{grid-template-columns:1fr}}.completed-time-entry{border:1px solid var(--line);background:#eef3f8;border-radius:6px;overflow:hidden}.completed-time-entry>summary{color:#24415f;cursor:pointer;padding:11px 12px;font-size:14px;font-weight:900;list-style-position:inside}.completed-time-entry[open]>summary{border-bottom:1px solid var(--line)}.completed-time-entry .timesheet-entry{border:0;border-radius:0}.inspection-bonus-list{background:#edf8ef;border:1px solid #9bd6a3;border-radius:6px;gap:6px;padding:10px 12px;display:grid}.inspection-bonus-list>strong{color:var(--green);font-size:13px}.inspection-bonus-list>span{color:var(--ink);border-top:1px solid #c8e6cd;justify-content:space-between;align-items:center;gap:12px;margin:0;padding-top:7px;display:flex}.inspection-bonus-list span span,.inspection-bonus-list small{margin:0}.inspection-bonus-list small{color:var(--muted);margin-top:2px;font-size:12px;font-weight:400;display:block}.timesheet-entry{border:1px solid var(--line);background:#f8fafc;border-radius:7px;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));padding:12px}.timesheet-entry.hourly-entry{border-left:5px solid var(--blue)}.timesheet-entry.piece-entry{border-left:5px solid var(--green)}.manager-timesheet-table .timesheet-entry-list{gap:8px}.manager-timesheet-table .manager-entry{grid-template-columns:repeat(12,minmax(0,1fr));align-items:end;gap:8px;padding:10px}.manager-entry .entry-date,.manager-entry .entry-time,.manager-entry .entry-notes{grid-column:span 2}.manager-entry .entry-notes textarea{resize:vertical;width:100%;min-height:76px}.manager-entry .entry-pay-type,.manager-entry .entry-split,.manager-entry .entry-base-pay{grid-column:span 2}.manager-entry .entry-job{grid-column:span 6}.manager-entry .timesheet-row-actions{grid-column:span 4;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;display:grid}.manager-entry .timesheet-row-actions strong{grid-column:1/-1}.manager-entry .timesheet-row-actions button{width:100%}.manager-entry input,.manager-entry select,.manager-entry textarea{min-width:0}.timesheet-entry-head{grid-column:1/-1;justify-content:space-between;align-items:center;gap:12px;display:flex}.timesheet-entry-head strong{font-size:18px;display:block}.timesheet-entry-head span{border:1px solid var(--line);color:var(--muted);text-transform:uppercase;background:#eef3f8;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:900}.piece-entry .timesheet-entry-head span{color:var(--green);background:#ecf8ee;border-color:#9bd6a3}.piece-split-control{grid-template-columns:minmax(120px,1fr) 48px;align-items:center;gap:10px;min-height:40px;display:grid}.piece-split-control input[type=range]{accent-color:#086bc1;width:100%;margin:0}.piece-split-control strong{text-align:right;font-variant-numeric:tabular-nums}.timesheet-row-actions{align-content:end;gap:8px;display:grid}.timesheet-row-actions .status-line{border:1px solid var(--line);background:#eef3f8;border-radius:5px;grid-template-columns:72px 1fr;align-items:center;gap:6px;padding:8px;display:grid}.timesheet-row-actions .status-line .pill{width:100%}.piece-rate-form{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));align-items:end}.piece-preview{min-width:0}.piece-rate-list span{align-content:start}.piece-rate-list em,.spiff-card-grid em{color:#50617a;font-style:normal}.piece-rate-list button{margin-top:6px}.sales-dashboard-edit{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;display:grid}.sales-dashboard-edit h3,.sales-dashboard-edit .choice-row,.sales-dashboard-edit .button-row{grid-column:1/-1}.sales-dashboard-edit label:has(textarea){grid-column:1/-1}.finance-header,.finance-item{grid-template-columns:42px minmax(280px,2fr) minmax(140px,.8fr) minmax(150px,.8fr) minmax(160px,1fr) minmax(120px,auto);min-width:980px}.queue-empty-state{border-top:0;border-left:0;border-right:0;border-radius:0 0 7px 7px;min-width:1120px}.equipment-grid{gap:26px;display:grid}.equipment-panel h3{margin:0 0 10px;font-size:22px}.equipment-card-grid{align-items:start}.equipment-card p{overflow-wrap:anywhere}.failed-card-grid{align-items:start}.failed-card p{overflow-wrap:anywhere}.failed-card .failure-note{color:var(--red);background:#fff0ef;border:1px solid #ffb8b1;border-radius:6px;padding:10px;font-weight:900}.modal-backdrop{z-index:30;background:#0616267a;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.modal-card{width:100%;max-width:420px}.modal-card h3{margin:0 0 6px;font-size:22px}.modal-card p{color:var(--muted);margin:0 0 14px}button:disabled{cursor:not-allowed;opacity:.55}.date-filter{align-items:end;gap:10px;display:flex}.date-filter label{color:var(--muted);text-transform:uppercase;margin:0;font-size:11px}.date-filter input{min-width:150px}.empty-state{background:var(--white);color:var(--muted);border:1px dashed #b8c7d8;border-radius:7px;padding:18px;font-weight:800}.inline-alert{color:#7a4b00;background:#fff2d6;border:1px solid #f0bd43;border-radius:6px;margin-bottom:6px;padding:6px 8px;display:block}.two-col{grid-template-columns:minmax(320px,580px) minmax(260px,360px);align-items:start;gap:24px;display:grid}.job-editor{grid-template-columns:minmax(0,4fr) minmax(250px,1fr);align-items:start;gap:18px;display:grid}.job-editor.no-question-sidebar{grid-template-columns:1fr}.job-editor-main{gap:18px;min-width:0;display:grid}.inspection-editor{grid-template-columns:minmax(320px,440px) 1fr;align-items:start;gap:18px;display:grid}.edit-card,.next-card{background:var(--white);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:7px;padding:22px}.preinstall-edit-grid,.scheduling-edit-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;display:grid}.preinstall-edit-grid .choice-row,.edit-card>.choice-row,.sales-dashboard-edit .choice-row{align-items:stretch;margin-bottom:10px;display:block}.preinstall-edit-grid .choice-row>span,.edit-card>.choice-row>span,.sales-dashboard-edit .choice-row>span{margin-bottom:7px;display:block}.preinstall-edit-grid .choice-row div,.edit-card>.choice-row div,.sales-dashboard-edit .choice-row div{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.edit-card>.choice-row div,.sales-dashboard-edit .choice-row div{grid-template-columns:repeat(2,minmax(0,120px))}.crew-picker{background:#f8fafc;border:1px solid #cbd3de;border-radius:6px;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;padding:10px;display:grid}.crew-picker-unassigned{background:#fff7df;border-color:#e0a000;box-shadow:inset 4px 0 #e0a000}.crew-warning{color:#231600;text-transform:uppercase;background:#e0a000;border-radius:4px;grid-column:1/-1;padding:7px 9px;font-size:12px;font-weight:900}.crew-picker label{align-items:center;gap:8px;margin:0;display:flex}.crew-picker input{width:auto;min-height:auto;margin:0}.inspection-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;display:grid}.span-all{grid-column:1/-1}.success{color:#247730;background:#eef9ed;border:1px solid #b7ddb5;border-radius:5px;margin:14px 0;padding:12px;font-weight:800}.details-grid{grid-template-columns:110px 1fr;gap:10px 18px;margin-bottom:16px;display:grid}.details-grid span{color:var(--muted)}.button-row{justify-content:flex-end;margin-top:14px}.button-row.end{justify-content:flex-end}.mini-status{align-items:center;gap:10px;margin-top:14px;font-weight:800;display:flex}.mini-status span{background:var(--green);border-radius:50%;width:13px;height:13px}.detail-head{background:var(--white);border:1px solid var(--line);border-radius:7px;padding:18px}.detail-head p{margin:6px 0 0}.detail-head p span{margin-left:18px}.tabs{background:var(--white);border:1px solid var(--line);border-bottom:0;border-radius:7px 7px 0 0;padding:12px 16px 0}.tabs button{background:0 0;border:0;border-bottom:3px solid #0000;border-radius:0;flex:1}.inspection-form{background:var(--white);border:1px solid var(--line);border-radius:0 0 7px 7px;gap:4px;padding:22px;display:grid}.choice-row{grid-template-columns:230px 1fr;align-items:center;gap:16px;margin-bottom:10px;display:grid}.choice-row>span{font-size:13px;font-weight:800}.choice-row div{gap:8px;display:flex}@media (width>=1041px){.timesheet-summary-actions{grid-template-columns:minmax(190px,.65fr) minmax(190px,.65fr) minmax(220px,1fr)}}@media (width<=1040px){.topbar{text-align:left;flex-wrap:wrap}.brand,.clock{min-width:0}.board-columns,.inspection-editor,.job-editor,.management,.two-col{grid-template-columns:1fr}.sales-question-compose{position:static}.users-layout,.form-section{grid-template-columns:1fr}.sidebar{display:none}.stats-grid,.board-toolbar{grid-template-columns:repeat(2,minmax(150px,1fr))}.queue-item{grid-template-columns:28px 1fr;align-items:start;min-width:0}.queue-header{display:none}.queue-item>div:not(:first-child):not(:nth-child(2)),.queue-item .queue-actions,.queue-item button{grid-column:2}.crew-form{grid-template-columns:1fr}.spiff-setting-row{grid-template-columns:1fr;align-items:stretch}.work-type-setting-row{grid-template-columns:minmax(180px,1fr) auto auto auto}.timesheet-approver-bar,.timesheet-punch-card{grid-template-columns:1fr}.manager-timesheet-shell .timesheet-approver-bar{grid-template-columns:repeat(2,minmax(0,1fr))}.manager-timesheet-shell .timesheet-punch-card{grid-template-columns:1fr}.timesheet-punch-actions{grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.timesheet-summary-actions{grid-template-columns:repeat(3,minmax(0,1fr))}.manager-timesheet-table .manager-entry{grid-template-columns:repeat(2,minmax(0,1fr))}.manager-entry .entry-date,.manager-entry .entry-time,.manager-entry .entry-pay-type,.manager-entry .entry-split,.manager-entry .entry-base-pay{grid-column:span 1}.manager-entry .entry-notes,.manager-entry .entry-job,.manager-entry .timesheet-row-actions{grid-column:1/-1}.compact-head{flex-direction:column}.compact-head .button-row{justify-content:stretch;width:100%}.compact-head .button-row button{flex:100%}}@media (width<=720px){.work-type-add-row,.work-type-setting-row{grid-template-columns:1fr}.topbar,.workspace,.board-screen,.sales-page{padding-left:14px;padding-right:14px}.sales-head{flex-direction:column;align-items:flex-start}.topbar{justify-content:flex-start;align-items:flex-start;gap:10px}.brand{flex:180px;gap:8px}.brand-logo{width:46px;height:40px}.brand strong{font-size:16px;line-height:1.05}.brand small{font-size:9px}.login-lite{flex:120px;align-items:flex-start;min-width:0}.view-as-control{flex-direction:column;flex:100%;align-items:stretch;width:100%;margin-left:0}.view-as-control select{width:100%;min-width:0}.login-lite strong{overflow-wrap:anywhere;font-size:13px}.stats-grid{grid-template-columns:1fr}.monitor-panel{overflow-x:auto}table{min-width:720px}.choice-row,.inspection-form,.preinstall-edit-grid,.scheduling-edit-grid,.sales-dashboard-edit,.lead-status-actions,.spiff-card-grid,.sales-status-grid,.sales-workflow-grid,.crew-picker{grid-template-columns:1fr}.timesheet-shell{padding-left:8px;padding-right:8px}.manager-timesheet-shell{width:100%;margin:0}.manager-timesheet-shell .timesheet-approver-bar{grid-template-columns:1fr}.timesheet-shell .sales-job-card{gap:9px;padding:10px}.timesheet-shell .management-head,.timesheet-shell .detail-head{gap:7px}.timesheet-shell h1{margin-bottom:4px;font-size:25px}.timesheet-shell h2{margin:0;font-size:21px}.timesheet-shell .week-picker{width:100%;min-width:0}.timesheet-punch-card{gap:8px}.timesheet-punch-card>div:first-child{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.timesheet-punch-card>div:first-child span{margin:0;font-size:13px}.timesheet-punch-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.timesheet-punch-actions button,.timesheet-punch-actions .timesheet-secondary{min-height:42px;padding:8px 6px}.payroll-summary-card>div:first-child strong{font-size:19px}.payroll-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.payroll-metric-grid span{min-width:0;padding:7px 8px}.payroll-metric-grid small,.timesheet-entry small{font-size:9px}.payroll-metric-grid strong{font-size:18px}.timesheet-summary-actions{gap:6px;margin-top:4px}.timesheet-summary-actions .status-line{text-align:center;grid-template-columns:1fr;gap:4px;padding:6px}.timesheet-summary-actions .status-line>span:first-child{margin:0;font-size:10px}.timesheet-summary-actions .status-line .pill{min-height:28px;padding:5px 3px;font-size:10px}.timesheet-summary-actions button{min-height:0;padding:7px 5px;font-size:12px;line-height:1.15}.timesheet-shell .compact-head .button-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:2px;display:grid}.timesheet-shell .compact-head .button-row button{min-height:48px;padding:6px 4px;font-size:12px;line-height:1.15}.timesheet-entry-list{gap:8px}.timesheet-entry{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:9px}.timesheet-entry-head{gap:7px}.timesheet-entry-head strong{font-size:16px}.timesheet-entry-head span{padding:5px 7px;font-size:10px}.timesheet-entry label{min-width:0;font-size:12px}.timesheet-entry input,.timesheet-entry select{width:100%;min-width:0;padding:7px 6px;font-size:13px}.timesheet-row-actions{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.timesheet-row-actions strong{grid-column:1/-1;font-size:13px}.timesheet-row-actions button{width:100%;min-height:38px;padding:7px 5px}.sales-dashboard-head{flex-direction:column;align-items:flex-start;gap:12px}.sales-dashboard-head .primary{width:100%}.detail-head,.management-head,.date-filter{flex-direction:column;align-items:flex-start;gap:12px}.date-filter{width:100%}}.material-order-layout{grid-template-columns:minmax(0,3fr) minmax(320px,1fr);align-items:start;gap:18px;display:grid}.material-browser,.material-draft{background:#fff;border:1px solid #cad7e5;border-radius:6px;padding:16px}.material-filter-row{grid-template-columns:minmax(220px,.8fr) minmax(260px,1.2fr);gap:12px;margin-bottom:14px;display:grid}.material-filter-row label{gap:6px;font-weight:700;display:grid}.material-results{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:8px;display:grid}.material-results>button{text-align:left;justify-content:space-between;align-items:center;gap:10px;min-height:48px;display:flex}.material-results>button strong{color:#0768c9}.material-draft{position:sticky;top:12px}.material-draft-head,.material-draft-line{justify-content:space-between;align-items:center;gap:12px;display:flex}.material-draft-head{border-bottom:1px solid #dce5ee;padding-bottom:12px}.material-draft-head h3{margin:0 0 3px}.material-draft-head span,.material-draft-line span{color:#52667a;font-size:.82rem}.material-draft-lines{gap:0;max-height:58vh;display:grid;overflow:auto}.material-draft-line{border-bottom:1px solid #e4ebf2;padding:11px 0}.material-draft-line>div:first-child{gap:3px;min-width:0;display:grid}.quantity-stepper{flex:none;grid-template-columns:34px 36px 34px;align-items:center;display:grid}.quantity-stepper button{width:34px;height:34px;padding:0;font-size:1.2rem}.quantity-stepper>span{text-align:center;color:#102538;font-weight:800}.material-submit{width:100%;min-height:44px;margin-top:14px}@media (width<=850px){.material-order-layout,.material-filter-row{grid-template-columns:1fr}.material-draft{position:static}}.submitted-order-list{gap:10px;display:grid}.submitted-order-group+.submitted-order-group{margin-top:30px}.picked-up-order-group{border-top:1px solid #cad7e5;padding-top:24px}.material-history-toolbar{flex-wrap:wrap;align-items:end;gap:10px;margin:0 0 18px;display:flex}.material-history-toolbar label{gap:4px;font-size:12px;font-weight:800;display:grid}.material-history-toolbar input{min-width:155px}.picked-up-user-groups{gap:18px;display:grid}.picked-up-user-group{gap:9px;display:grid}.picked-up-user-heading{justify-content:space-between;align-items:baseline;padding:0 2px;display:flex}.picked-up-user-heading h3{margin:0}.picked-up-user-heading span{color:#52667a;font-size:13px;font-weight:700}.submitted-order-row{background:#fff;border:1px solid #cad7e5;border-radius:6px;overflow:hidden}.submitted-order-row-head{grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}.submitted-order-summary{text-align:left;background:#fff;border:0;grid-template-columns:1fr 1fr 38px;align-items:center;gap:16px;width:100%;padding:14px 16px;display:grid}.submitted-order-summary:hover{background:#f4f8fc}.submitted-order-summary>span:not(.submitted-order-toggle){gap:3px;display:grid}.submitted-order-summary small{color:#52667a}.submitted-order-toggle{text-align:center;font-size:1.35rem;font-weight:800}.submitted-order-lines{background:#f7f9fc;border-top:1px solid #dce5ee;padding:4px 16px}.submitted-order-lines>div{border-bottom:1px solid #e1e8ef;justify-content:space-between;align-items:center;gap:12px;padding:10px 0;display:flex}.submitted-order-lines>div:last-child{border-bottom:0}.submitted-order-lines span{gap:2px;display:grid}.submitted-order-lines small{color:#52667a}.fulfillment-quantity{align-items:center;gap:10px;display:flex}.fulfillment-quantity>b,.out-of-stock{color:var(--red);text-transform:uppercase;font-size:12px}.submitted-order-actions{justify-content:flex-end;gap:8px;padding:10px 16px 10px 8px;display:flex}@media (width<=650px){.submitted-order-summary{grid-template-columns:1fr 38px}.submitted-order-row-head{grid-template-columns:1fr}.submitted-order-actions{border-top:1px solid #dce5ee;padding:10px 12px}.submitted-order-summary>span:nth-child(2){grid-column:1}.submitted-order-toggle{grid-area:1/2/span 2}}.all-sales-page .workspace{gap:20px;display:grid}.all-sales-head{justify-content:space-between;align-items:end;display:flex}.all-sales-head label{gap:6px;min-width:min(420px,40vw);font-size:.78rem;font-weight:700;display:grid}.all-sales-head input{min-height:38px}.all-sales-section{border:1px solid #d2dbe5;border-radius:6px;overflow:hidden}.pending-finance-section{border-color:#dc8f8f}.section-heading-row{background:#eef3f8;justify-content:space-between;align-items:center;padding:12px 14px;display:flex}.pending-finance-section .section-heading-row{color:#8e1717;background:#fde7e7}.section-heading-row h3{margin:0;font-size:1rem}.section-heading-row>span{text-align:center;background:#fff;border:1px solid;border-radius:999px;min-width:28px;padding:3px 8px;font-size:.75rem;font-weight:800}.all-sales-table-wrap{overflow-x:auto}.all-sales-table{border-collapse:collapse;width:100%;min-width:1040px}.all-sales-table th,.all-sales-table td{text-align:left;vertical-align:middle;border-bottom:1px solid #dce3ea;padding:10px 12px}.all-sales-table th{color:#334155;text-transform:uppercase;background:#f7f9fb;font-size:.72rem}.all-sales-table td{font-size:.84rem}.all-sales-table td:nth-child(2) span{color:#64748b;margin-top:3px;font-size:.76rem;display:block}.all-sales-table tbody tr:last-child td{border-bottom:0}@media (width<=900px){.all-sales-head{flex-direction:column;align-items:stretch;gap:12px}.all-sales-head label{width:100%;min-width:0}}
