.signin{max-width:520px;margin:10vh auto;padding:32px}.signin img{width:240px;max-width:100%}.signin-link{display:inline-block;padding:14px 20px;border-radius:10px;text-decoration:none}.crew-main{max-width:850px;margin:auto;padding:20px}.crew-logo{width:160px}.crew-main .panel{margin-bottom:20px}.crew-form details{margin:16px 0}.recovery{position:fixed;inset:0;background:#285713ee;z-index:10000;display:grid;place-items:center;padding:20px}.recovery .panel{max-width:600px;padding:28px}.shared-saving:after{content:'Saving to your location…';position:fixed;bottom:76px;left:50%;transform:translateX(-50%);background:#347219;color:white;padding:12px 20px;border-radius:10px;z-index:9999}.profile button{font-size:12px}.shared-status{background:#eef8e8;color:#17320d;padding:10px 24px;font-size:13px}.shared-status button{margin-left:12px}#members{margin-top:16px;overflow-wrap:anywhere}@media(max-width:600px){.signin{margin:24px 12px;padding:24px}.crew-main{padding:12px}.shared-status{padding:12px}.profile{gap:5px}.profile .avatar{display:none}}
.estimate-review-item{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}.estimate-review-item button{flex-shrink:0}.scope-table td:first-child button{margin-top:8px}

.daily-photo-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px}.daily-photo-grid figure{margin:0;overflow-wrap:anywhere}.daily-photo-grid img{width:100%;height:180px;object-fit:cover;border-radius:8px}.daily-photo-grid figcaption{padding:8px 0}.daily-photo-form{margin-bottom:20px}

.preserve-lines{white-space:pre-wrap}.job-print-frame{position:fixed;width:1px;height:1px;left:-9999px;border:0}

.project-section-select{display:none}.tabs{flex-wrap:wrap;gap:5px;border:1px solid var(--line);border-radius:12px;padding:8px;background:white}.tabs button{border-radius:8px}.mobile-more{display:grid;gap:12px}.mobile-more button{text-align:left}.panel-body>h2{margin-bottom:18px}.panel-body>details{padding:14px 0;border-bottom:1px solid var(--line)}.grid-form>p{grid-column:1/-1}.activity .grid-form{margin-top:16px}.activity [data-copy-note]{font-size:12px;margin-top:8px}.notification-tray{margin:12px 24px;padding:12px 16px;background:#fff;border:1px solid var(--line);border-radius:10px}.notification-tray p{margin:10px 0;font-size:14px}.notification-tray summary{cursor:pointer}
@media(max-width:700px){.project-section-select{display:flex;flex-direction:column;gap:8px;margin:18px 0}.tabs{display:none}.mobile-nav button{min-width:65px;padding:5px 10px}.panel-body .grid-form{gap:12px}.notification-tray{margin:10px 17px}}

.dashboard-filter{margin:0 0 22px}.dashboard-switch{display:inline-flex;gap:4px;padding:4px;background:#fff;border:1px solid var(--line);border-radius:12px}.dashboard-switch button{border:0;background:transparent;color:#35502d;min-height:44px;padding:10px 20px;border-radius:8px}.dashboard-switch button.active{background:#60b82d;color:#15330b;font-weight:700}.dashboard-switch button:focus-visible{outline:3px solid #245d43;outline-offset:2px}.dashboard-filter>p{margin:8px 0 0}@media(max-width:700px){.dashboard-switch{display:flex}.dashboard-switch button{flex:1;padding:10px 12px}}

.calendar-controls,.calendar-filters{display:flex;gap:10px;flex-wrap:wrap}.calendar-controls button{min-width:44px}.calendar-filters .field{flex:1;min-width:180px}.work-calendar>.panel-head{flex-wrap:wrap;gap:12px}.calendar-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin:20px 0}.calendar-day{border:1px solid var(--line);border-radius:10px;padding:10px;min-height:160px;background:#f8faf7}.calendar-day.today{border:2px solid #60b82d;background:#f1faed}.calendar-day h3{font-size:13px;margin:0 0 12px}.calendar-day time{display:block;margin-top:4px}.calendar-entry{display:flex;flex-direction:column;gap:6px;width:100%;padding:10px;text-align:left;background:#fff;border-left:4px solid #60b82d;margin:8px 0;overflow-wrap:anywhere;white-space:normal;font-size:12px}.calendar-entry.held{border-left-color:#e37614;background:#fff8ee}.calendar-entry span{display:block}.calendar-warning{display:block;color:#854100;font-size:11px}.calendar-backlog{margin:18px 0}.calendar-entry:hover{background:#edf7e7}@media(max-width:1100px){.calendar-week{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.calendar-week{grid-template-columns:1fr}.calendar-day{min-height:90px}.calendar-day h3 time{display:inline}.calendar-entry{font-size:14px}.calendar-controls{width:100%;justify-content:space-between}}

.check[data-locked-checkbox],label[data-locked-checkbox]{flex-wrap:wrap;cursor:help}.checkbox-lock-help{display:block;flex-basis:100%;margin:4px 0 4px 28px;color:#52624d;font-size:12px;line-height:1.5}[data-locked-checkbox]:focus-visible{outline:2px solid #347219;outline-offset:4px}input[type=checkbox]:disabled{cursor:not-allowed;opacity:.65}
.photo-download-all{display:inline-block;text-decoration:none;padding:12px 16px;border-radius:8px;background:#60b82d;color:#173f35;font-weight:700}.daily-photo-grid img:hover{outline:2px solid #60b82d}

.compliance-vendor{padding:20px 0;border-top:1px solid #dce4d9}.compliance-vendor>h3{margin:0 0 10px}.compliance-vendor details{margin-top:14px}
/* Shared job leadership editor */
.leadership-dialog{width:min(760px,calc(100% - 24px));max-height:90dvh;overflow:auto;border:1px solid #b7c5ae;border-radius:18px;padding:28px;color:#193b2d;background:#fff}
.leadership-dialog::backdrop{background:#13251bbc}
.leadership-dialog .heading{align-items:start;gap:12px;margin-bottom:12px}
.leadership-dialog .eyebrow{font-size:12px;letter-spacing:.08em;font-weight:700;color:#506546;margin:0 0 6px}
.leadership-fields{display:grid;gap:14px;margin:20px 0 10px}
.leadership-fields select{width:100%;min-width:0;min-height:44px}
.leadership-fields small{overflow-wrap:anywhere}
@media(min-width:760px){.leadership-fields{grid-template-columns:repeat(3,minmax(0,1fr))}.leadership-dialog textarea{min-height:75px}.leadership-dialog .heading h2{margin:0}}
.leadership-handoff{background:#f1f6ed;border:1px solid #d5e4c9;border-radius:12px;padding:16px;margin:20px 0}
.leadership-handoff h3{margin-top:0}.leadership-handoff .check{display:flex;align-items:start;gap:10px;font-weight:600}.leadership-handoff input{margin-top:4px;flex:none}
.leadership-dialog [role=status]:not(:empty){background:#fff3de;border-radius:8px;padding:12px;overflow-wrap:anywhere}
@media(max-width:600px){.leadership-dialog{padding:18px}.leadership-dialog h2{font-size:24px}.leadership-dialog .actions{display:flex;flex-wrap:wrap}.leadership-dialog .actions button{flex:1;min-height:44px}}

.customer-review{display:flex;align-items:center;gap:24px;flex-wrap:wrap}.customer-review>img{flex:none;background:white}.customer-review>div{flex:1;min-width:220px}.customer-review .primary{display:inline-block;padding:10px 16px;border-radius:8px;text-decoration:none}

.customer-owner-card{display:flex;gap:24px;align-items:center;flex-wrap:wrap}.customer-owner-card img{object-fit:cover;object-position:50% 35%;border-radius:16px}.customer-owner-card>div{flex:1;min-width:200px}

[data-preview-body]{margin-top:16px;border:2px solid #d6dfd2;border-radius:12px;padding:16px;max-height:75vh;overflow:auto;background:#f4f6f2}[data-preview-body] .customer-portal{max-width:100%;margin:0}[data-preview-body] [aria-disabled=true]{cursor:default}


.project-heading-link{font:inherit;color:inherit;background:transparent;border:0;padding:0;text-align:left;cursor:pointer}.project-heading-link:hover{text-decoration:underline}.project-heading-link:focus-visible{outline:2px solid #276327;outline-offset:5px}

/* Shared customer / office payment widgets */
.customer-ledger-totals{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin:16px 0}
.customer-ledger-totals>p{margin:0;padding:16px;border-radius:12px;background:#f0f6ec;color:#294123}
.customer-ledger-totals strong{display:block;font-size:1.5rem;margin-top:8px}
.customer-draw-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:16px;margin:16px 0}
.customer-draw-card{border:1px solid #d7dfd3;border-top:4px solid #a6b69e;border-radius:12px;padding:18px;min-width:0;background:#fff;overflow-wrap:anywhere}
.customer-draw-card.is-paid{border-top-color:#60b82d}.customer-draw-card.is-due{border-top-color:#c97b17}
.customer-draw-card header{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;font-size:.85rem;color:#52624b}
.customer-draw-card h4{font-size:1.1rem;margin:14px 0 6px}.draw-state{border-radius:20px;padding:4px 9px;background:#eef2eb}.is-due .draw-state{background:#fff1d9;color:#764a0f}
.customer-draw-card dl{margin:16px 0}.customer-draw-card dl>div{display:flex;justify-content:space-between;gap:12px;padding:7px 0;border-bottom:1px solid #edf0ea}.customer-draw-card dd{margin:0;font-weight:700}
.draw-payment{padding:12px 0;border-top:1px solid #edf0ea}.draw-payment p{margin:6px 0}
@media print{.customer-draw-card{break-inside:avoid}.customer-draw-grid{grid-template-columns:repeat(2,1fr)}}

.stat-link{font:inherit;text-align:left;cursor:pointer;width:100%}.stat-link:hover,.stat-link:focus-visible{outline:2px solid #60b82d;outline-offset:2px}.stat-link>span{display:block}.calendar-selected-order{outline:3px solid #60b82d;outline-offset:4px;background:#f0f6ec}
