.pay-summary{display:flex;gap:24px;flex-wrap:wrap;padding:24px;background:#edf2f8;border-radius:12px}.pay-summary strong{font-size:26px;display:block}.pay-tools{display:flex;justify-content:space-between;gap:16px;align-items:end;margin:20px 0}.pay-tools label{display:grid;gap:6px}.pay-job{background:white;border:1px solid #dbe3ed;padding:22px;border-radius:12px;margin:16px 0}.pay-job h2{font-size:21px;margin:0}.pay-job header{display:flex;align-items:start;justify-content:space-between;gap:16px}.pay-job dl{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin:22px 0}.pay-job dt{font-size:12px;color:#60738c}.pay-job dd{margin:5px 0;font-weight:bold}.pay-job ul{padding-left:20px}.pay-job .pay-state{font-weight:bold}.warning{background:#fff7df;border:1px solid #e6d7a7;padding:16px;border-radius:10px}.muted{color:#60738c}.pay-check{display:flex!important;align-items:start;gap:10px}.pay-check input{width:18px!important;min-width:18px;margin-top:4px}#pay-dialog{max-width:780px;width:calc(100% - 24px);max-height:94vh;overflow:auto;border:1px solid #dbe3ed;border-radius:14px;padding:24px}#pay-dialog::backdrop{background:#112c51a8}#pay-form label{display:grid;gap:6px;margin:12px 0}#pay-form input,#pay-form select,#pay-form textarea{max-width:100%;width:100%;box-sizing:border-box;padding:10px;border:1px solid #dbe3ed;border-radius:7px;font:inherit}#pay-form fieldset{border:1px solid #dbe3ed;border-radius:10px;margin:20px 0;padding:16px}#pay-form legend{font-weight:bold;padding:0 8px}.dialog-top,.dialog-bottom{display:flex;gap:16px;justify-content:space-between;align-items:center}.money-line{border-bottom:1px solid #dbe3ed;padding:8px 0 18px;display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.money-line .wide{grid-column:1/-1}#review-error,#pay-error{color:#8b2424}details summary{cursor:pointer;padding:8px 0}@media(max-width:600px){.pay-job header,.dialog-bottom{display:block}.pay-job header button{margin-top:12px}.pay-job dl{grid-template-columns:1fr 1fr}.pay-job{padding:16px}.money-line{grid-template-columns:1fr}.money-line .wide{grid-column:1}.pay-tools{align-items:center}.pay-summary strong{font-size:23px}#pay-dialog{padding:16px}.workspace-nav{flex-wrap:wrap}.pay-tools select{max-width:210px}}@media print{header.site-header,.workspace-bar,.pay-tools,.pay-job button,#refresh-pay,dialog{display:none!important}.pay-job{break-inside:avoid}.container{max-width:none}.pay-job dl{grid-template-columns:repeat(5,1fr)}.pay-job details>*{display:block!important}}
/* Crew-first weekly review, with completion and money reviewed in stages. */
body{background:#f5f7fa;color:#112c51}main.container{max-width:1160px;padding-bottom:70px}.hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:36px 0 22px;margin:0}.hero h1{font-size:40px;letter-spacing:-.04em;margin:0 0 12px;line-height:1.12}.hero p{font-size:16px;color:#647381;margin:0}.button{border-radius:8px;font-weight:650;min-height:44px;padding:11px 16px}.button.primary{background:#d91f32;color:white;border-color:#d91f32}.pay-source-card{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:20px 24px;background:#fff;border:1px solid #dbe3ed;border-radius:14px;margin:10px 0 24px}.source-tag{display:block;font-size:10px;font-weight:800;letter-spacing:.09em;color:#d91f32;margin-bottom:8px}.pay-source-card strong{font-size:15px}.pay-source-card p{font-size:12px;color:#647381;line-height:1.6;max-width:740px;margin:8px 0 0}.source-actions{flex:none;display:grid;justify-items:end;gap:8px}.pay-summary{display:grid;grid-template-columns:2fr 1fr 1fr;gap:32px;padding:30px;border:1px solid #dbe3ed;border-radius:18px;background:#fff;align-items:center}.pay-summary>div{display:grid;gap:7px}.pay-summary>div>span,.pay-summary small{font-size:12px;color:#647381}.pay-summary strong{font-size:36px;color:#112c51;letter-spacing:-.04em;line-height:1.1}.pay-summary .pay-total strong{font-size:44px;color:#d91f32}.pay-tools{display:flex;flex-wrap:wrap;align-items:center;gap:18px;justify-content:space-between;margin:28px 0}.pay-status-tabs{display:flex;background:#edf2f8;border-radius:10px;padding:5px;gap:4px}.pay-status-tabs button{font:inherit;font-size:12px;font-weight:650;color:#62717d;border:0;background:none;border-radius:7px;padding:12px 14px;cursor:pointer}.pay-status-tabs button.active{background:#fff;color:#112c51;box-shadow:0 2px 4px #112c5110}.pay-tools label{font-size:12px;color:#62717d}.pay-tools select{padding:11px;border:1px solid #dbe3ed;border-radius:8px;color:#112c51;background:white}.pay-crew{background:white;border:1px solid #dbe3ed;border-radius:18px;padding:28px;margin:26px 0}.pay-crew-heading{display:flex;align-items:center;justify-content:space-between;gap:28px;padding-bottom:22px;border-bottom:1px solid #dbe3ed}.eyebrow{font-size:10px;font-weight:800;letter-spacing:.09em;color:#647381}.pay-crew-heading h2{font-size:27px;letter-spacing:-.03em;margin:9px 0}.pay-crew-heading p{font-size:13px;color:#647381;margin:0}.crew-subtotal{text-align:right}.crew-subtotal span{font-size:12px;color:#647381;display:block}.crew-subtotal strong{font-size:32px;letter-spacing:-.03em;color:#d91f32;display:block;margin-top:9px}.pay-job{border:0;border-bottom:1px solid #dbe3ed;border-radius:0;padding:22px 0;margin:0}.pay-job:last-child{border-bottom:0;padding-bottom:0}.pay-job-main{display:flex;justify-content:space-between;align-items:center;gap:24px}.pay-job-main h3{font-size:19px;letter-spacing:-.02em;margin:10px 0}.pay-job-main p{font-size:13px;color:#647381;margin:8px 0}.pay-job-main small{font-size:12px;color:#647381;line-height:1.6}.pay-status-pill{display:inline-block;border-radius:20px;background:#fff3df;color:#8a621e;font-size:10px;padding:6px 10px;font-weight:750}.pay-status-pill.ready{color:#d91f32;background:#edf2f8}.pay-job-total{display:grid;justify-items:end;gap:8px;flex:none}.pay-job-total>span{color:#647381;font-size:11px}.pay-job-total>strong{font-size:25px;letter-spacing:-.03em}.pay-job-total .button{font-size:12px;padding:10px 14px}.pay-next-action{font-size:12px;background:#f8f6ee;color:#775b29;line-height:1.6;border-radius:8px;padding:12px 15px;margin:16px 0 4px}.pay-job-details{font-size:12px;color:#647381;margin-top:14px;line-height:1.7}.pay-job-details summary{color:#112c51;font-weight:650;cursor:pointer}.pay-job dl{grid-template-columns:repeat(4,minmax(0,1fr));padding:18px;background:#f5f7fa;border-radius:10px;margin:16px 0}.pay-job dd{color:#112c51}.pay-empty{text-align:center;padding:40px 20px;background:white;border:1px dashed #dbe3ed;border-radius:16px}.pay-empty h2{font-size:23px}.pay-empty p{color:#647381;font-size:14px;line-height:1.6}.pay-review-progress{background:#f5f7fa;padding:16px 18px;border-radius:10px;margin:20px 0;display:flex;justify-content:space-between;gap:20px;align-items:center}#pay-step-label{font-size:13px;font-weight:700}.pay-step-dots{display:flex;gap:6px}.pay-step-dots i{height:5px;width:28px;background:#dbe3ed;border-radius:4px}.pay-step-dots i.active{background:#d91f32}#pay-dialog{border-radius:18px;padding:28px;color:#112c51}#pay-dialog h2{font-size:25px;letter-spacing:-.025em;margin:0}#pay-form fieldset{padding:22px;border-radius:12px;border-color:#dbe3ed}#pay-form legend{font-size:16px}#pay-form label{font-size:13px;margin:16px 0}#pay-form input,#pay-form select,#pay-form textarea{padding:12px;border-radius:8px;border-color:#dbe3ed}#pay-form .muted{font-size:12px;line-height:1.6}.dialog-bottom{border-top:1px solid #dbe3ed;padding-top:20px;margin-top:24px;flex-wrap:wrap}.dialog-bottom>span{font-size:11px;color:#647381;width:100%}.final-pay-summary{background:#edf2f8;border:1px solid #dbe3ed;border-radius:14px;padding:24px;margin:22px 0}.final-pay-summary>span{font-size:13px;color:#647381}.final-pay-summary h3{font-size:36px;color:#d91f32;margin:12px 0;letter-spacing:-.03em}.final-pay-summary p{font-size:12px;line-height:1.6;color:#647381}#final-pay-preview>p{font-size:13px;line-height:1.7}.money-line{background:#f5f7fa;border:1px solid #dbe3ed;border-radius:10px;margin:18px 0;padding:16px}#population-dialog{max-width:820px;width:calc(100% - 32px);border:1px solid #dbe3ed;border-radius:18px;padding:28px;max-height:92vh;overflow:auto;color:#112c51}#population-dialog::backdrop{background:#112c51a0}#population-dialog>p{font-size:14px;line-height:1.7;color:#647381}#population-dialog label{display:grid;gap:10px;margin:20px 0;font-size:13px;font-weight:650}#population-json{width:100%;padding:16px;box-sizing:border-box;border:1px solid #dbe3ed;border-radius:10px;font-family:monospace;font-size:12px;color:#112c51}#population-error{color:#992d2d!important}#pay-status{font-size:12px;color:#647381;margin:10px 0 16px}[hidden]{display:none!important}
@media(max-width:700px){main.container{padding:22px 18px 50px}.hero{padding:22px 0;display:block}.hero h1{font-size:32px}.hero p{font-size:14px;line-height:1.6}.hero>button{margin-top:16px;font-size:12px}.pay-source-card{display:block;padding:18px}.source-actions{justify-items:start;margin-top:16px;gap:12px}.pay-summary{grid-template-columns:1fr 1fr;padding:24px;gap:24px}.pay-summary .pay-total{grid-column:1/-1}.pay-summary .pay-total strong{font-size:40px}.pay-summary strong{font-size:28px}.pay-tools{gap:14px}.pay-status-tabs{width:100%;overflow:hidden}.pay-status-tabs button{flex:1;padding:11px 8px;white-space:nowrap;font-size:11px}.pay-crew{padding:22px 18px}.pay-crew-heading{display:block}.pay-crew-heading h2{font-size:23px}.crew-subtotal{text-align:left;margin-top:18px}.crew-subtotal strong{font-size:30px}.pay-job-main{display:block}.pay-job-total{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:18px}.pay-job-total>span{width:100%}.pay-job dl{grid-template-columns:1fr 1fr;gap:18px}.pay-job-main h3{font-size:19px}.pay-job-total .button{font-size:12px}.dialog-top{align-items:start}#pay-dialog,#population-dialog{padding:22px 18px}.dialog-top h2{font-size:22px!important}.dialog-top>.button{font-size:12px;min-height:40px;padding:9px 12px}#pay-form fieldset{padding:18px}.pay-review-progress{padding:14px}.pay-step-dots i{width:18px}.dialog-bottom .button.primary{flex:1}.money-line{grid-template-columns:1fr;padding:14px}}
@media print{body{background:white}.hero>button,.pay-source-card .source-actions,.pay-tools,.pay-job button{display:none!important}.pay-summary{border-color:#bbb;grid-template-columns:2fr 1fr 1fr}.pay-crew{break-inside:auto;page-break-before:auto;border:1px solid #bbb}.pay-crew-heading{break-after:avoid;display:flex}.pay-job{break-inside:avoid}.crew-subtotal{text-align:right}.pay-job-main{display:flex}.pay-job-details>summary{display:none}.pay-job-details>*{display:block}.pay-job dl{display:grid!important;grid-template-columns:repeat(4,1fr)}.pay-crew-heading h2{font-size:23px}.hero{padding:16px 0}.hero h1{font-size:30px}#pay-summary strong{font-size:28px}.pay-source-card{display:block;font-size:11px}.pay-source-card p{font-size:10px}}
.pay-hero-actions{display:grid;justify-items:end;gap:12px;flex:none}.pay-hero-actions .text-button{font-size:12px}.hero{padding:26px 0 16px}.pay-source-card{padding:16px 20px;margin:4px 0 18px;align-items:start}.source-advanced{max-width:500px;font-size:12px;color:#647381}.source-advanced summary{padding:7px 0;color:#112c51;font-weight:650;cursor:pointer}.source-advanced .source-actions{justify-items:start;margin-top:14px}.pay-summary{padding:24px 28px;gap:26px}.pay-summary .pay-total .no-total{font-size:27px;letter-spacing:-.025em;line-height:1.2;color:#536978}.crew-subtotal .no-total{font-size:22px;letter-spacing:-.025em;color:#536978}.pay-job-total a.button{text-decoration:none;font-size:12px}.pay-job-total .text-button{font-size:11px}.pay-tools{margin:22px 0}.pay-crew{margin:20px 0}.final-pay-checks{border:1px solid #e5dfca;background:#fbf8ef;border-radius:12px;padding:18px;margin:20px 0}.final-pay-checks h4{margin:0 0 10px;font-size:15px}.final-pay-checks>div{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid #e8e2d3;padding:13px 0;font-size:12px;line-height:1.6}.final-pay-checks>div a,.final-pay-checks>div button{white-space:nowrap;color:#d91f32;font-size:12px}@media(max-width:700px){.pay-hero-actions{justify-items:start;margin-top:18px;gap:14px}.pay-hero-actions .primary{width:100%}.pay-source-card{padding:16px}.source-advanced{margin-top:8px}.pay-summary{padding:22px}.pay-summary .pay-total .no-total{font-size:25px}.final-pay-checks>div{display:block}.final-pay-checks>div button,.final-pay-checks>div a{display:block;margin-top:10px}.pay-job-total .text-button{width:100%;text-align:left}.hero{padding:18px 0 16px}}
/* Select one crew, then review its scheduled jobs. */
.crew-choices{margin:22px 0 34px}.crew-choices h2{font-size:20px;margin:0 0 18px;letter-spacing:-.02em}.crew-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.crew-choice{position:relative;display:grid;align-content:start;justify-items:start;gap:12px;background:#fff;border:1px solid #dbe3ed;border-radius:16px;padding:24px;min-height:170px;cursor:pointer;text-align:left;color:#112c51;font:inherit;transition:border-color .15s,box-shadow .15s}.crew-choice:hover,.crew-choice:focus-visible{border-color:#d91f32;box-shadow:0 4px 20px #112c5110;outline:2px solid transparent}.crew-avatar{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#f9e6e9;color:#b52030;font-size:14px;font-weight:750}.crew-choice strong{font-size:18px;line-height:1.4}.crew-choice>span:last-of-type{font-size:13px;color:#647381}.crew-choice-arrow{position:absolute;right:22px;top:30px;font-size:22px!important;color:#d91f32!important}.scheduled-pay{background:#fff;border:1px solid #dbe3ed;border-radius:16px;padding:26px;margin:20px 0}.scheduled-pay-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.scheduled-pay-heading h2{font-size:24px;margin:8px 0 22px;letter-spacing:-.025em}.scheduled-pay-heading>p{font-size:11px;color:#647381;max-width:225px;line-height:1.6}.scheduled-pay-labels,.scheduled-pay-job{display:grid;grid-template-columns:minmax(0,1fr) 100px 150px 165px;gap:18px;align-items:center}.scheduled-pay-labels{font-size:11px;color:#647381;padding:12px 0;border-bottom:1px solid #dbe3ed}.scheduled-pay-job{padding:22px 0;border-bottom:1px solid #dbe3ed}.scheduled-pay-job:last-child{border-bottom:0}.scheduled-job-name{min-width:0}.scheduled-job-name h3{font-size:17px;margin:0 0 8px;line-height:1.4;overflow-wrap:anywhere}.scheduled-job-name p{font-size:13px;color:#647381;margin:0 0 7px;line-height:1.6}.scheduled-job-name small{font-size:11px;color:#647381;display:block;line-height:1.6}.scheduled-sq{font-size:14px;font-weight:650}.scheduled-amount{display:grid;gap:8px;justify-items:start}.scheduled-amount strong{font-size:19px;letter-spacing:-.02em}.scheduled-amount .amount-pending{font-size:14px;color:#876023;letter-spacing:0}.scheduled-amount small{font-size:10px;color:#647381}.scheduled-amount button,.remove-pay{font-size:11px;text-align:left}.remove-pay{color:#647381;line-height:1.5}.remove-pay:hover{color:#b52030}.scheduled-evidence{grid-column:1/-1;font-size:12px}.scheduled-evidence>summary{color:#647381}.removed-pay-jobs{margin-top:22px;font-size:12px;color:#647381}.removed-pay-jobs>summary{font-weight:650;color:#112c51}.removed-pay-jobs>div{display:flex;gap:20px;justify-content:space-between;align-items:center;padding:15px 0;border-bottom:1px solid #dbe3ed}.removed-pay-jobs strong,.removed-pay-jobs small{display:block;line-height:1.6}.removed-pay-jobs button{font-size:12px}.financial-panel{border-top:1px solid #dbe3ed;padding:18px 0;margin-top:28px;font-size:13px}.financial-panel>summary{font-weight:650;color:#647381}.financial-panel .pay-source-card{margin-top:16px}#change-pay-crew{font-size:13px}.pay-tools{margin:16px 0}.pay-hero-actions #review-next-pay{display:none}.pay-summary .pay-total .no-total{font-size:29px;color:#876023}.financial-panel #financial-rows .pay-job{padding:20px;background:white;border:1px solid #dbe3ed;border-radius:12px;margin:16px 0}
@media(max-width:900px){.crew-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.scheduled-pay-labels,.scheduled-pay-job{grid-template-columns:minmax(0,1fr) 75px 135px;gap:16px}.scheduled-pay-labels>span:last-child{display:none}.remove-pay{grid-column:1/-1;justify-self:start}.scheduled-evidence{margin:0}.scheduled-pay-job{row-gap:12px}}
@media(max-width:600px){.crew-cards{grid-template-columns:1fr}.crew-choice{min-height:130px;padding:20px;grid-template-columns:42px 1fr;align-items:center;column-gap:14px}.crew-avatar{grid-row:1/3}.crew-choice strong{font-size:17px;padding-right:25px}.crew-choice>span:not(.crew-avatar):not(.crew-choice-arrow){grid-column:2}.crew-choice-arrow{right:20px;top:30px}.scheduled-pay{padding:20px 16px}.scheduled-pay-heading{display:block}.scheduled-pay-heading>p{max-width:none;margin:0 0 18px}.scheduled-pay-labels{display:none}.scheduled-pay-job{grid-template-columns:minmax(0,1fr) 1fr;gap:14px}.scheduled-job-name{grid-column:1/-1}.scheduled-sq{font-size:14px}.scheduled-amount{justify-items:end;text-align:right}.scheduled-amount button{text-align:right}.scheduled-evidence{grid-column:1/-1}.removed-pay-jobs>div{align-items:start;gap:10px}.removed-pay-jobs button{max-width:115px;text-align:right}.financial-panel .pay-source-card{padding:16px}.pay-hero-actions{margin-top:14px}.crew-choices{margin:14px 0 20px}.scheduled-pay-heading h2{font-size:22px}}
@media print{.crew-choices,.financial-panel,.remove-pay,.scheduled-evidence,.removed-pay-jobs,.scheduled-amount button{display:none!important}.scheduled-pay{padding:18px;border-color:#bbb}.scheduled-pay-job{break-inside:avoid;grid-template-columns:minmax(0,1fr) 100px 150px}.scheduled-pay-labels{grid-template-columns:minmax(0,1fr) 100px 150px}.scheduled-pay-labels>span:last-child{display:none}}
.site-header{justify-content:space-between;gap:20px;min-height:76px;height:auto;padding-top:14px;padding-bottom:14px}.site-header .brand img{width:156px}.site-header .workspace-week{flex:none;max-width:260px;width:auto!important;margin:0;font-size:9px!important;letter-spacing:.07em}.site-header .workspace-week select{width:auto;max-width:100%;font-size:13px;padding:8px 10px;min-height:36px;margin-top:2px}
@media(max-width:720px){.site-header{padding:14px 16px;gap:12px}.site-header .brand img{width:118px}.site-header .workspace-week{max-width:230px;min-width:0}.site-header .workspace-week select{font-size:12px;padding:7px;min-height:34px}}
@media(max-width:720px){.site-header .workspace-week{flex:0 1 210px;max-width:calc(100% - 130px)}.site-header .workspace-week select{width:100%}}
.hero.crew-selected{display:none}.pay-summary.compact-crew{display:grid;grid-template-columns:minmax(0,1fr) auto;padding:18px 22px;gap:12px;border-radius:12px;margin:12px 0}.compact-crew .pay-total{gap:5px}.pay-summary.compact-crew .pay-total strong,.pay-summary.compact-crew .pay-total .no-total{font-size:26px;line-height:1.2}.compact-crew .compact-counts{font-size:11px;color:#647381;text-align:right}.pay-summary.compact-crew small{font-size:11px;line-height:1.6}.scheduled-pay-heading{padding-bottom:10px}.scheduled-pay-heading h2{margin-bottom:10px}.pay-tools{gap:14px}#refresh-selected-pay{font-size:12px;margin-left:auto}
@media(max-width:600px){.pay-summary.compact-crew{display:block;padding:16px 18px;margin:6px 0 12px}.compact-crew .compact-counts{text-align:left;margin-top:8px}.compact-crew .pay-total{grid-column:auto}.pay-summary.compact-crew .pay-total strong{font-size:24px}.scheduled-pay{margin:12px 0}.scheduled-pay-heading>p{margin-bottom:4px}.scheduled-pay-heading h2{margin-bottom:8px}.pay-tools{margin:12px 0;gap:12px}.pay-tools>.button{font-size:11px;min-height:36px;padding:9px 12px}#change-pay-crew{font-size:12px}#refresh-selected-pay{font-size:11px}}

/* Make scheduled roof area and removing a postponed job easy to scan. */
.scheduled-sq{display:flex;align-items:baseline;gap:5px;flex-wrap:wrap}.scheduled-sq strong{font-size:26px;line-height:1.2;letter-spacing:-.025em}.scheduled-sq>span{font-size:13px;font-weight:600;color:#60738c}.scheduled-job-name h3{font-size:19px}.scheduled-job-name p{font-size:15px}.scheduled-job-name small{font-size:13px}.scheduled-pay-job .remove-pay{display:flex;align-items:center;gap:8px;min-height:44px;padding:10px 12px;border:1px solid #edbac3;border-radius:7px;background:#fff5f6;color:#bd2039;font-size:14px;font-weight:650;line-height:1.35;text-align:left}.scheduled-pay-job .remove-pay>span:first-child{font-size:24px;line-height:1}.scheduled-pay-job .remove-pay:hover{background:#fde9ed}.scheduled-pay-job .remove-pay:disabled{opacity:.5;cursor:default}
@media(max-width:720px){.scheduled-sq strong{font-size:24px}.scheduled-pay-job .remove-pay{grid-column:1/-1;justify-content:flex-end}.scheduled-job-name p{font-size:14px}}
