:root{--dashboard-teal:#185b5b;--dashboard-ink:#153e40;--dashboard-paper:#f5f2eb;--dashboard-sand:#e8d5b4;background:var(--dashboard-paper);color:var(--dashboard-ink)}header{background:#123f42}header small{color:#ead9b9}nav{background:#fffdf8;border-bottom:1px solid #deded2}nav a,nav button{border-radius:24px;text-decoration:none}nav [aria-current=page]{background:var(--dashboard-teal);color:white}main:has(.dashboard74){max-width:1320px;margin:auto;padding:30px 32px}.dashboard-hero{display:flex;justify-content:space-between;gap:20px;align-items:center;margin:10px 0 24px}.dashboard-hero h2{font-size:clamp(30px,4vw,43px);letter-spacing:-1.2px;margin:8px 0 12px}.dashboard-hero p{color:#5b716c;margin:0;font-size:18px}.dashboard-eyebrow{font-size:11px;letter-spacing:2px;font-weight:700;color:#617776}.dashboard-beta{border-radius:24px;background:#e4eae0;color:#185b5b;padding:9px 14px;font-size:12px;font-weight:700;white-space:nowrap}.dashboard-actions{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:28px}.dashboard74 button{border-radius:10px;min-height:46px}.dashboard74 .primary{background:var(--dashboard-teal);color:white;border-color:var(--dashboard-teal)}.dashboard-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:30px}.dashboard-metric{background:#fffdf9;border:1px solid #dce2d7;border-radius:14px;padding:20px;display:flex;flex-direction:column;gap:10px}.dashboard-metric>span{font-size:13px;color:#5c716c}.dashboard-metric strong{font-size:25px;letter-spacing:-.6px;font-variant-numeric:tabular-nums}.dashboard-metric small{font-size:11px;letter-spacing:0;color:#70817a}.dashboard-list-header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px}.dashboard-list-header h3{font-size:23px;margin:0}.dashboard-list-header h3 span{font-size:13px;background:#e4e9de;border-radius:20px;padding:4px 10px;margin-left:6px}.dashboard-search{margin:0;display:block;font-size:12px;color:#60746b;width:270px}.dashboard-search input{margin-top:5px;background:#fffdf9;font-size:14px}.dashboard-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:22px}.dashboard-job{background:#fffdf9;border:1px solid #d5dfd7;border-radius:18px;overflow:hidden;box-shadow:0 4px 16px #153e4007;min-width:0}.dashboard-photo{height:180px;position:relative;background:#dfd6c1;overflow:hidden}.dashboard-photo>img{width:100%;height:100%;object-fit:cover}.dashboard-photo-empty{background:linear-gradient(135deg,#e6dcc5,#c4d5c9);display:flex;align-items:center;justify-content:center}.dashboard-photo-empty>.dashboard-photo-icon{width:68px;height:68px;opacity:.32;object-fit:contain}.dashboard-status{position:absolute;top:14px;left:14px;background:#fffdf3e8;padding:7px 10px;border-radius:18px;font-size:11px;font-weight:650;color:#153e40}.dashboard-ready{background:#185b5b;color:white}.dashboard74 .dashboard-photo-button{position:absolute;bottom:12px;right:12px;border:1px solid #ffffff77;background:#fffdf6ec;font-size:11px;padding:6px 10px;min-height:34px;border-radius:20px;color:#185b5b}.dashboard-job-body{padding:21px}.dashboard-job h3{font-size:21px;margin:0 0 6px;overflow-wrap:anywhere}.dashboard-job-name{font-size:12px;color:#6b7e73;margin:0 0 20px;min-height:16px}.dashboard-job-amount{display:flex;justify-content:space-between;align-items:center;gap:10px;padding-bottom:16px;border-bottom:1px solid #e2e5da}.dashboard-job-amount span{font-size:13px;color:#60756b}.dashboard-job-amount strong{font-size:22px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.dashboard-job-details{display:flex;flex-wrap:wrap;gap:12px;color:#688075;font-size:12px;margin:15px 0 20px}.dashboard-open{width:100%;display:flex;justify-content:space-between;align-items:center}.dashboard-empty{grid-column:1/-1;background:#fffdf9;border:1px dashed #afc1b0;border-radius:18px;padding:42px;text-align:center}.dashboard-empty p{color:#60746b;line-height:1.5}.dashboard-loading{padding:32px}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #b88641;outline-offset:3px}@media(max-width:900px){.dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){main:has(.dashboard74){padding:20px 16px}.dashboard-hero{align-items:flex-start}.dashboard-hero h2{font-size:30px}.dashboard-hero p{font-size:15px}.dashboard-beta{font-size:10px;padding:7px 10px}.dashboard-metrics{gap:10px}.dashboard-metric{padding:15px}.dashboard-metric strong{font-size:22px}.dashboard-list-header{display:block}.dashboard-search{width:100%;margin-top:16px}.dashboard-cards{grid-template-columns:1fr}.dashboard-photo{height:190px}.dashboard-actions button{flex:1;font-size:14px}.dashboard-empty{padding:28px 20px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
header,nav{padding-left:max(20px,calc((100vw - 1256px)/2));padding-right:max(20px,calc((100vw - 1256px)/2))}nav a{display:inline-flex;align-items:center;padding:12px 15px;min-height:46px}nav{align-items:center}@media(max-width:600px){nav{flex-wrap:nowrap;overflow-x:auto;gap:8px;padding:12px 16px}nav button,nav a{flex:0 0 auto;font-size:13px;white-space:nowrap}header{padding:16px}.dashboard-job-details{font-size:13px}}

.dashboard-invoice-alerts:empty{display:none}.dashboard-invoice-alerts{margin:18px 0}.dashboard-invoice-alerts h3{font-size:1rem;margin:0 0 8px}.dashboard-invoice-alert{display:flex;align-items:center;gap:10px;text-align:left;border:1px solid #a75e00;background:#fff5df;color:#4a2a00;width:100%;margin:6px 0;padding:12px;border-radius:12px}.dashboard-dollar{display:grid;place-items:center;font-size:19px;font-weight:800;border-radius:50%;width:28px;height:28px;flex-shrink:0;background:#a75e00;color:white}.dashboard-invoice-alert small{display:block;margin-top:4px}.dashboard-invoice-alert:focus-visible{outline:3px solid #176b83;outline-offset:3px}

.dashboard-paid-archive{margin:16px 0;padding:12px 16px;border:1px solid #b8c8ca;border-radius:12px;background:#fff}.dashboard-paid-archive summary{cursor:pointer;font-weight:700}.dashboard-paid-archive summary span{font-weight:400;margin-left:8px}.dashboard-paid-invoice{display:block;width:100%;text-align:left;margin-top:10px;padding:12px;border:1px solid #cad6d7;border-radius:8px;background:#f3f8f7;color:#163b3f}.dashboard-paid-invoice small{display:block;margin-top:4px}

.dashboard-photo>video{width:100%;height:100%;object-fit:cover;background:#172b2b}.dashboard-photo:has(video) .dashboard-photo-button{top:12px;bottom:auto}.dashboard-photo:has(video) .dashboard-status{pointer-events:none}

/* Swipeable job media, keeping video controls unobstructed. */
.job-album-strip{display:flex;width:100%;height:100%;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain}.job-album-strip::-webkit-scrollbar{display:none}.job-album-slide{flex:0 0 100%;min-width:0;height:100%;scroll-snap-align:start;scroll-snap-stop:always;display:flex;align-items:center;justify-content:center;background:#172b2b}.job-album-slide>img,.job-album-slide>video{display:block;width:100%;height:100%;object-fit:cover}.job-album-slide>img{cursor:zoom-in}.dashboard74 .dashboard-photo-button{top:12px;bottom:auto;z-index:2}.dashboard-status{pointer-events:none;max-width:48%}.job-album-dialog{box-sizing:border-box;width:min(1100px,96vw);height:min(850px,92dvh);max-width:96vw;max-height:92dvh;border:0;border-radius:14px;padding:16px;background:#f5f2eb;color:#153e40;overflow:hidden}.job-album-dialog[open]{display:flex;flex-direction:column;gap:12px}.job-album-dialog::backdrop{background:#000b}.job-album-header{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.job-album-header h2{flex:1;min-width:120px;font-size:20px;margin:0}.job-album-dialog button{min-height:44px;border-radius:8px}.job-album-viewer{flex:1;min-height:0;background:#172b2b;display:flex;align-items:center;justify-content:center;color:white;overflow:hidden;border-radius:8px}.job-album-dialog .job-album-slide>img,.job-album-dialog .job-album-slide>video{object-fit:contain;cursor:default}.job-album-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0}.job-album-error{margin:0;color:#922b21;font-size:14px}.job-album-error:empty{display:none}@media(max-width:600px){.job-album-dialog{width:96vw;height:88dvh;padding:10px}.job-album-header h2{font-size:18px;flex-basis:100%}.job-album-header button{flex:1}.job-album-footer button{font-size:14px}}
