:root{color-scheme:light;--ink:#17202a;--sub:#667483;--line:#dce3e9;--bg:#f4f6f8;--white:#fff;--gold:#db9b40;--danger:#8f2525;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif}
*{box-sizing:border-box}
body{margin:0;color:var(--ink);background:var(--bg);min-height:100dvh;display:flex;flex-direction:column}
.topbar{background:var(--ink);color:white;padding:19px clamp(18px,5vw,44px);display:flex;align-items:center;gap:12px;min-height:89px}
.brandmark{width:45px;height:45px;border:2px solid var(--gold);border-radius:13px;display:flex;align-items:center;justify-content:center;font-size:25px;font-weight:800;color:var(--gold);flex:none}
.brand{display:flex;flex-direction:column;gap:2px;line-height:1.12}.brand strong{font-size:18px;letter-spacing:-.3px}.brand span{font-size:12px;color:#c9d3dd}
.header-pill{margin-left:auto;display:flex;align-items:center;gap:8px;border:1px solid #637180;padding:7px 11px;border-radius:99px;color:#e8edf1;font-size:10px;font-weight:800;white-space:nowrap;letter-spacing:.05em}
.dot{height:7px;width:7px;border-radius:50%;background:var(--gold)}
main{width:min(100%,600px);margin:0 auto;padding:clamp(23px,6vw,44px) 18px 55px;flex:1}
.panel{background:white;border:1px solid var(--line);border-radius:20px;padding:clamp(22px,5vw,35px);box-shadow:0 8px 25px #1f293715}
.center{text-align:center}.eyebrow{text-transform:uppercase;letter-spacing:.11em;color:#8b6530;font-weight:800;font-size:11px;margin:0 0 13px}
h1{font-size:30px;line-height:1.16;letter-spacing:-.8px;margin:0 0 13px}h2{font-size:20px;letter-spacing:-.3px;margin:0 0 10px}p{line-height:1.55;margin:10px 0 20px}.muted{font-size:14px;color:var(--sub)}.compact{margin-top:0}
label{display:block;margin-bottom:7px;font-size:13px;font-weight:750}input{width:100%;border:1px solid #bdc8d1;border-radius:11px;min-height:49px;padding:11px 13px;background:#fff;color:var(--ink);font-size:16px;outline-offset:3px}
input:focus{border-color:#496888;outline:2px solid #dceaf6}.field{margin:18px 0}
button{border:0;border-radius:12px;background:var(--ink);color:#fff;min-height:48px;padding:12px 17px;font-weight:750;font-size:15px;cursor:pointer}button:hover{filter:brightness(1.14)}button:disabled{opacity:.6;cursor:wait}button.secondary{color:var(--ink);background:#eef1f4;border:1px solid #d9e0e6}button.full{width:100%}.buttons{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}.buttons button{flex:1}
.notice{padding:12px 14px;border-radius:11px;border:1px solid #cbd9e7;background:#f3f8fc;color:#38536c;font-size:14px;line-height:1.4;margin:19px 0}
.notice.warn{background:#fff8ea;border-color:#e8cf9c;color:#765420}.notice.error{background:#fff1f1;border-color:#e9b8b8;color:var(--danger)}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:22px 0}.step{padding:16px 9px;border:1px solid var(--line);border-radius:12px;text-align:center;color:#81909e;font-size:11px;font-weight:700;background:#f8f9fb}.step strong{display:block;font-size:20px;margin-bottom:4px}.step.active{color:var(--ink);background:#fefaf2;border-color:#e8c88f}
.check{background:#e5f3ec;color:#1f784e;border-radius:99px;display:inline-flex;padding:7px 11px;font-size:12px;font-weight:700;align-items:center;gap:7px}
.tilegrid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:18px 0}.tile{border:1px dashed #ccd5dd;border-radius:12px;padding:15px;text-align:center;color:#627180;font-size:14px;background:#f8fafb}.tile strong{display:block;color:#283542;margin-bottom:6px}
footer{font-size:11px;line-height:1.5;color:#7b8892;text-align:center;padding:18px 25px 28px}.sep{margin:0 7px}a{color:#235781}
code{font-size:13px;background:#f3f5f7;padding:2px 5px;border-radius:5px;overflow-wrap:anywhere}
@media(max-width:410px){.header-pill{font-size:9px;padding:6px}.brand strong{font-size:15px}.brand span{font-size:10px}.topbar{gap:9px;padding:15px}.brandmark{width:40px;height:40px}.tilegrid{grid-template-columns:1fr}}
@media print{.topbar{color:#111;background:white;border-bottom:2px solid #111}.brand span{color:#333}body{background:#fff}.panel{border:1px solid #aaa;box-shadow:none}.header-pill,button,form{display:none}footer{color:#333}}

.review{margin-top:28px;padding-top:21px;border-top:1px solid var(--line)}.request{border:1px solid var(--line);border-radius:12px;padding:14px;margin:12px 0;background:#f9fafb}.request strong,.request span,.request small{display:block;overflow-wrap:anywhere}.request span{font-size:14px;margin-top:3px}.request small{color:var(--sub);margin-top:7px}.request .buttons{margin-top:12px}

/* Mobile-first time clock MVP */
select{width:100%;border:1px solid #bdc8d1;border-radius:11px;min-height:50px;padding:10px;background:white;color:var(--ink);font-size:16px}
.mvpForm{margin:20px 0}.mvpForm button{margin-top:13px}.mvpPill{font-size:12px;background:#fff8ea;color:#8b6530;padding:7px 11px;border-radius:99px;display:inline-block;border:1px solid #e8cf9c}.mvpPill.ready{background:#e5f3ec;color:#20764c;border-color:#bfe2cc}
.mvpTotals{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:17px 0}.mvpTotals>div{padding:18px 10px;background:#f8fafb;border:1px solid var(--line);border-radius:12px;text-align:center}.mvpTotals strong,.mvpTotals small{display:block}.mvpTotals strong{font-size:24px}.mvpTotals small{font-size:11px;color:var(--sub);margin-top:6px}.mvpEntry{padding:12px 0;border-bottom:1px solid var(--line)}.mvpEntry strong,.mvpEntry span,.mvpEntry small{display:block;overflow-wrap:anywhere}.mvpEntry span{font-size:13px;margin-top:5px}.mvpEntry small{font-size:12px;color:var(--sub);margin-top:3px}.mvpHistory{margin-top:5px;margin-bottom:20px}
@media(max-width:400px){.mvpTotals strong{font-size:20px}}

/* V5.1: multi-line Scope of Work on mobile */
textarea{width:100%;border:1px solid #bdc8d1;border-radius:11px;min-height:104px;padding:12px 13px;background:#fff;color:var(--ink);font-size:16px;font-family:inherit;line-height:1.45;resize:vertical;outline-offset:3px}
textarea:focus{border-color:#496888;outline:2px solid #dceaf6}
.mvpScope{white-space:pre-wrap;line-height:1.45}

/* V5.2 weekly export: airy touch layout on narrow screens */
#weeklyExport .field{margin-top:15px;margin-bottom:15px}
#weeklyExport button{white-space:normal}

/* V5.3: branded SCD Home Screen mark, no changes to app layout or controls. */
.brandmark{border:0;background:transparent;overflow:hidden;border-radius:13px}
.brandmark img{display:block;width:45px;height:45px;object-fit:cover;border-radius:13px}

/* V5.4 job management actions; accessible tap targets on mobile */
.jobCard{margin:12px 0}.jobActions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}
.jobActions button{font-size:13px;min-height:46px;padding:10px;white-space:normal}
.jobActions .jobDelete{grid-column:1/-1}
.dangerSecondary{background:#fff1f1;color:#8f2525;border:1px solid #e0b7b7}
.jobEditArea{margin:18px 0;padding:17px;border:2px solid #d3b47d;border-radius:13px;background:#fffdf7;scroll-margin-top:16px}
.jobEditArea[hidden]{display:none}

/* V5.6: Owner/admin-only live employee snapshot */
.teamEntry{padding:15px 0;border-bottom:1px solid var(--line)}
.teamEntry:last-child{border-bottom:0}
.teamLine{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.teamLine strong{font-size:16px}
.teamEntry small{display:block;color:var(--sub);font-size:13px;margin-top:7px;line-height:1.35}
.teamStatus{display:inline-block;border-radius:99px;padding:7px 11px;font-size:12px;font-weight:750;border:1px solid #d9e0e6;background:#eef1f4;color:#4b5967;white-space:nowrap}
.teamStatus.online{border-color:#bfe2cc;background:#e5f3ec;color:#20764c}

/* V5.8: time approval actions and employee correction forms */
.timeReviewCard{margin:12px 0}
.reviewState{display:inline-block;margin-top:9px;padding:6px 10px;border-radius:30px;border:1px solid #bcdcca;background:#e7f3ec;color:#216e4b;font-size:12px;font-weight:700}
.reviewState.reviewNeedsCorrection{border-color:#e7cf91;background:#fff8e8;color:#82601f}
.reviewButtons{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:12px}
.reviewButtons button{white-space:normal;padding:12px 9px;font-size:14px;min-height:46px}
.reviewButtons .voidTime{grid-column:1/-1}
.correctionForm{margin:14px 0}
.correctionForm .field{margin-top:13px}
.correctionForm input[type="datetime-local"]{width:100%;max-width:100%;min-height:48px}
.correctionForm textarea{min-height:90px}

/* V5.8: admin-only warning for a continuous open shift over 10.5 hours */
.teamEntryOverdue{background:#fffaf1;border-left:3px solid #bb7527;padding-left:12px;padding-right:7px}
.teamStatus.overdue{border-color:#e7c68a;background:#fff1d6;color:#81531e}
.longShiftAlert{margin:14px 0 17px}
.longShiftAlert strong,.longShiftAlert small{display:block}
.longShiftAlert div{margin:8px 0;font-weight:700}
.longShiftAlert small{font-size:12px;line-height:1.5}


/* V5.9: six-digit PIN re-verification without leaving the current form. */
.pinReverifyBackdrop{position:fixed;inset:0;z-index:1000;background:rgba(15,25,36,.72);display:flex;align-items:center;justify-content:center;padding:18px;overflow:auto}
.pinReverifyDialog{background:#fff;width:min(100%,440px);border-radius:19px;padding:25px;box-shadow:0 18px 45px #0005;max-height:calc(100dvh - 36px);overflow:auto}
.pinReverifyDialog h2{margin-bottom:12px}
.pinReverifyDialog .field{margin:14px 0}
.pinReverifyDialog .notice{margin:12px 0}
.pinReverifyDialog .buttons{margin-top:13px}
@media(max-width:410px){.pinReverifyDialog{padding:22px 18px}}
@media print{.pinReverifyBackdrop{display:none}}

.check.pinStale{background:#fff2d9;color:#7d551b}

/* V5.9.1: mobile-friendly show/hide account password control. Never reveals PINs. */
.passwordReveal{display:flex;align-items:center;gap:10px;margin:-4px 0 19px;font-size:14px;font-weight:650;color:var(--ink);min-height:38px;cursor:pointer;user-select:none}
.passwordReveal input[type="checkbox"]{width:20px;height:20px;min-height:20px;margin:0;flex:none;accent-color:#17202a}
.passwordReveal span{line-height:1.3}


/* V5.9.2 printable job → employee weekly report. */
body.reportView main{width:min(100%,1020px)}
body.reportView .panel{padding:clamp(18px,3vw,32px)}
.reportIntro{border-bottom:2px solid #17202a;padding:0 0 16px;margin-bottom:18px}
.reportIntro h1{margin:5px 0 10px;font-size:26px}
.reportIntro p{margin:5px 0}
.reportIntro small{color:var(--sub)}
.reportSummary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:15px 0 24px}
.reportSummary>div{border:1px solid var(--line);background:#f7f9fb;border-radius:10px;padding:13px 12px}
.reportSummary span,.reportSummary strong,.reportSummary small{display:block}
.reportSummary span{font-size:12px;font-weight:750;color:var(--sub)}
.reportSummary strong{font-size:23px;margin-top:5px}
.reportSummary small{font-size:11px;color:var(--sub);margin-top:4px}
.reportWarning{border-left:3px solid #a36820;padding:10px 13px;background:#fff6e8;font-weight:650;font-size:13px}
.reportJob{margin:28px 0 19px;border-top:2px solid #17202a;padding-top:16px}
.reportJob>h2{font-size:20px;margin-bottom:12px}
.reportEmployee{margin:19px 0}
.reportEmployee h3{font-size:15px;margin:0 0 8px}
.reportTable{width:100%;border-collapse:collapse;table-layout:fixed;font-size:12px}
.reportTable th,.reportTable td{border-bottom:1px solid #dce3e9;text-align:left;padding:9px 5px;overflow-wrap:anywhere}
.reportTable th{background:#f0f3f6;font-size:11px;text-transform:uppercase;letter-spacing:.025em}
.reportTable th.num,.reportTable td.num{text-align:right;font-variant-numeric:tabular-nums}
.reportTable th:nth-child(1){width:18%}
.reportTable th:nth-child(2),.reportTable th:nth-child(3){width:16%}
.reportTable th:nth-child(4),.reportTable th:nth-child(5){width:13%}
.reportTable th:nth-child(6){width:24%}
.reportStatus{display:inline-block;border-radius:5px;font-size:11px;font-weight:650}
.reportStatus.approved{color:#216f48}
.reportStatus.voided{color:#883838;text-decoration:line-through}
.reportStatus.notApproved{color:#8d641e}
.reportSubtotal,.reportJobTotal{font-size:12px;margin:9px 0 4px;line-height:1.5}
.reportSubtotal{padding:7px 0;border-top:1px dashed #d4dce2}
.reportJobTotal{padding:11px 10px;background:#f0f3f6;font-weight:650}
.reportFootnote{font-size:11px;color:#53616d;line-height:1.55;border-top:1px solid var(--line);padding-top:13px}
.reportDownloads{border-top:2px solid var(--line);margin-top:25px;padding-top:18px}
.reportTopButtons{margin-top:0;margin-bottom:22px}
@media(max-width:650px){
 .reportSummary{grid-template-columns:1fr 1fr}
 .reportSummary>div:last-child{grid-column:1/-1}
 .reportTable{font-size:11px}
 .reportTable th,.reportTable td{padding:9px 3px}
 .reportTable th:nth-child(1){width:20%}
 .reportTable th:nth-child(2),.reportTable th:nth-child(3){width:16%}
 .reportTable th:nth-child(4),.reportTable th:nth-child(5){width:11%}
 .reportTable th:nth-child(6){width:26%}
}
@media print{
 @page{size:letter portrait;margin:.48in}
 .topbar,footer,.reportControls,.reportDownloads,#reportNotice{display:none !important}
 body.reportView{background:white;color:#111}
 body.reportView main{width:100%;max-width:none;padding:0;margin:0}
 body.reportView .panel{border:0;border-radius:0;box-shadow:none;padding:0}
 .reportSummary{grid-template-columns:repeat(3,minmax(0,1fr))}
 .reportSummary>div{background:#fff;border:1px solid #aaa}
 .reportSummary strong{font-size:17px}
 .reportJob{break-before:auto;break-inside:auto;margin-top:18px}
 .reportJob>h2,.reportEmployee h3{break-after:avoid}
 .reportEmployee{break-inside:auto}
 .reportTable{font-size:10px}
 .reportTable thead{display:table-header-group}
 .reportTable tr{break-inside:avoid}
 .reportTable th,.reportTable td{padding:5px 4px}
 .reportJobTotal,.reportSubtotal{break-inside:avoid}
 .reportStatus{color:#111 !important;text-decoration:none !important}
 .reportFootnote{font-size:9px}
}

/* V5.9.2 per-employee weekly reconciliation across all jobs */
.reportEmployeeSummary{margin-top:28px;padding-top:17px;border-top:2px solid #17202a}
.reportEmployeeSummary h2{font-size:19px;margin-bottom:12px}
.reportEmployeeSummary .reportTable{table-layout:auto}
.reportEmployeeSummary .reportTable th:first-child{width:auto}
.reportEmployeeSummary .reportTable th:not(:first-child){width:17%}
.reportGrandTotal{background:#f0f3f6}
@media print{.reportEmployeeSummary{break-before:auto}.reportGrandTotal{break-inside:avoid}}


/* V5.9.3 — Public-facing hero and recent projects, keeping existing private dashboard unchanged. */
.publicNav,.publicHero{display:none}
body.publicLanding .publicNav{display:flex}
body.publicLanding .publicHero{display:block}
.publicNav{gap:10px;justify-content:flex-end;background:#17202a;padding:0 clamp(18px,5vw,44px) 16px}
.publicNav button{min-height:42px;padding:8px 16px;font-size:13px;border:1px solid #a4b0bb;background:transparent;border-radius:25px;color:white}
.publicNav #openPublicGallery{background:#db9b40;color:#15202c;border-color:#db9b40}
.publicHero{height:clamp(260px,42vw,475px);position:relative;overflow:hidden;background:#18242c}
.heroImage,.heroShade{position:absolute;inset:0}
.heroImage{background-size:cover;background-position:center 53%;transform:scale(1.012)}
.heroAngled{background-image:url('/assets/carport-angle.webp');animation:heroOne 14s infinite ease-in-out}
.heroFront{background-image:url('/assets/carport-front.webp');opacity:0;animation:heroTwo 14s infinite ease-in-out}
.heroShade{background:linear-gradient(90deg,rgba(9,20,31,.88) 0%,rgba(9,20,31,.54) 53%,rgba(9,20,31,.16) 100%)}
.heroContent{position:relative;color:white;z-index:1;width:min(950px,100%);padding:clamp(32px,7vw,86px) clamp(24px,7vw,90px)}
.heroKicker{font-size:11px;letter-spacing:.14em;font-weight:850;color:#efc889}
.heroContent h1{font-size:clamp(29px,5vw,50px);line-height:1.05;letter-spacing:-.035em;margin:17px 0}
.heroContent p{font-size:clamp(14px,1.7vw,18px);max-width:490px;line-height:1.4;color:#f2f5f8}
.heroCaption{font-size:12px;font-weight:750;letter-spacing:.08em;color:#efc889}
body.publicLanding main{padding-top:28px}
body.galleryView main{width:min(100%,1100px)}
.showcaseGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:18px;margin:24px 0}
.showcaseTile{padding:0;overflow:hidden;text-align:left;display:block;border:1px solid var(--line);background:white;color:var(--ink);border-radius:16px;box-shadow:0 8px 20px #1111;min-height:0}
.showcaseTile img{display:block;width:100%;height:210px;object-fit:cover}
.showcaseTileInfo{display:block;padding:18px}
.showcaseTileInfo strong{display:block;font-size:17px}
.showcaseTileInfo small{display:block;color:var(--sub);font-size:13px;line-height:1.45;margin:8px 0}
.showcaseTileInfo>span{font-size:13px;font-weight:800;color:#805b20}
.showcasePhotoGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr));gap:16px}
.showcasePhotoGrid figure{padding:0;margin:0;border-radius:12px;overflow:hidden;background:#f5f6f7;border:1px solid var(--line)}
.showcasePhotoGrid img{display:block;width:100%;height:auto;max-height:570px;object-fit:contain}
.showcasePhotoGrid figcaption{font-size:13px;color:var(--sub);padding:10px 14px}
.archivedShortcut{padding:18px;margin:18px 0;background:#f7f9fb;border:1px solid var(--line);border-radius:14px}
.archivedShortcut h2{margin-top:0}
.archivedView main{width:min(100%,800px)}
.archivedView .jobActions{grid-template-columns:repeat(2,1fr)}
.archivedView .archiveRestoreBtn{grid-column:1/-1}
.showcasePhotoManage{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px}
.showcaseManagedPhoto{border:1px solid var(--line);border-radius:12px;padding:9px;overflow:hidden}
.showcaseManagedPhoto img{display:block;width:100%;height:125px;object-fit:cover;border-radius:8px}
.showcaseManagedPhoto small{display:block;min-height:30px;margin:8px 0;color:var(--sub)}
.showcaseManagedPhoto .buttons{margin:6px 0;gap:5px;flex-direction:column}
.showcaseManagedPhoto button{width:100%;padding:8px 6px;font-size:12px;min-height:38px}
.galleryPublishLabel{display:flex;align-items:center;gap:10px;font-size:15px;min-height:44px;margin-bottom:14px}
.galleryPublishLabel input{width:22px;height:22px;min-height:22px;flex:none}
@keyframes heroOne{0%,43%{opacity:1}50%,93%{opacity:0}100%{opacity:1}}
@keyframes heroTwo{0%,43%{opacity:0}50%,93%{opacity:1}100%{opacity:0}}
@media (prefers-reduced-motion:reduce){.heroAngled,.heroFront{animation:none}.heroAngled{opacity:1}.heroFront{display:none}}
@media (max-width:520px){.topbar{flex-wrap:wrap}.header-pill{font-size:8px}.publicHero{height:310px}.heroContent{padding:27px 22px}.heroContent h1{font-size:31px}.heroContent p{font-size:14px}.publicNav{justify-content:center}.publicNav button{flex:1;font-size:12px}}
@media print{.publicNav,.publicHero{display:none!important}body.galleryView .panel{box-shadow:none}.showcaseTile{break-inside:avoid}.archivedView .jobActions{display:none}}

.galleryMiniLabel{display:block;color:#596775;font-size:12px;font-weight:700;margin:7px 0 4px}
.galleryCaptionInput{width:100%;min-height:40px;box-sizing:border-box;padding:8px;font-size:14px}
.showcaseManagedPhoto .gallerySaveCaption{border-color:#ba9658}

/* V5.9.6 — Public company identity, services, contact; no private-dashboard changes. */
.publicNav{flex-wrap:wrap}
.publicNav button{flex:0 1 auto}
.publicNav #openPublicContact{border-color:#db9b40;color:#f6d7a4}
.publicNav #openPublicGallery{background:transparent;color:white;border-color:#8f9eac}
.heroTrust{display:block;margin:7px 0 12px;color:#ffdda8;font-size:12px;font-weight:800;line-height:1.55}
.heroTrust span{padding:0 4px}
.publicServices{display:none;background:#fff;border-top:1px solid #e0e5e9}
body.publicHome .publicServices{display:block}
.publicServicesInner{width:min(1050px,100%);margin:0 auto;padding:38px clamp(20px,5vw,50px) 48px}
.serviceEyebrow{display:block;font-size:12px;letter-spacing:.12em;color:#9b7038;font-weight:850;margin-bottom:12px}
.publicServices h2{font-size:clamp(23px,4vw,32px);line-height:1.2;margin-bottom:10px}
.publicServices p{font-size:15px;max-width:720px;color:#536475;line-height:1.6}
/* V5.9.8 — Plain, non-interactive stacked services; no button-like cards. */
.publicServices .serviceLocalRoots{color:#364959;font-weight:600;margin-top:18px}
.publicServices .serviceSmallJobs{font-size:clamp(19px,3vw,24px);line-height:1.3;margin:23px 0 7px;color:#17202a}
.publicServices .serviceSmallJobsCopy{margin:0 0 15px}
.serviceList{list-style:none;max-width:720px;margin:22px 0 29px;padding:0}
.serviceList li{position:relative;padding:10px 0 10px 23px;border-bottom:1px solid #e9eef1;font-size:16px;font-weight:700;line-height:1.55;color:#17202a}
.serviceList li:last-child{border-bottom:0}
.serviceList li::before{content:"";position:absolute;left:2px;top:20px;width:7px;height:7px;background:#b6813e;border-radius:50%}
.publicServiceContact{border-radius:13px;background:#182430;color:#fff;padding:18px;display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.publicServiceContact strong{margin-right:auto}
.publicServiceContact a{display:inline-flex;align-items:center;justify-content:center;background:#e8b467;color:#17202a;border-radius:9px;font-size:14px;font-weight:800;min-height:43px;padding:9px 14px;text-decoration:none}
.publicServices .serviceCredentials{font-size:13px;color:#58616b;font-weight:750;margin:17px 0 0}
body.contactView main{width:min(100%,760px)}
.contactDetails{background:#f8fafb;border:1px solid var(--line);border-radius:15px;padding:19px;display:grid;gap:16px;margin:23px 0}
.contactDetails strong{display:block;color:#17202a}
.contactDetails span{font-size:13px;color:#667483;display:block;margin-bottom:4px}
.contactCompany strong{font-size:19px;line-height:1.35}
.contactCompany span{margin:6px 0 0}
.contactRow{padding-top:12px;border-top:1px solid var(--line)}
.contactRow a{display:inline-block;color:#1c4d78;font-size:18px;line-height:1.5;font-weight:800;overflow-wrap:anywhere;padding:5px 0;min-height:41px}
.contactLicense{padding:14px 12px;border:1px solid #e4c88f;background:#fff8e9;border-radius:10px}
.contactLicense span{font-weight:750;color:#725321}
.contactLicense strong{color:#463415}
.contactServicesTitle{margin-top:23px}
.contactServiceList{padding-left:20px;margin:16px 0 23px;line-height:1.55}
.contactServiceList li{padding:5px 0;font-size:15px}
@media(max-width:520px){.publicNav{display:flex;display:grid!important;grid-template-columns:1fr 1fr;gap:8px;padding:0 18px 14px}.publicNav button{font-size:12px;padding:9px 7px;min-height:44px}.publicHero{height:360px}.heroContent{padding:24px 20px}.heroContent h1{font-size:30px;margin:12px 0}.heroContent p{font-size:13px;margin-bottom:8px}.heroTrust{font-size:11px}.publicServiceContact{display:grid;grid-template-columns:1fr 1fr}.publicServiceContact strong{grid-column:1/-1}.publicServiceContact a{font-size:12px}}
@media print{.publicServices{display:none!important}}

/* V5.9.7 — Home is for customers, Sign In is a dedicated navigation view. */
body.publicHome main {display:none}
body.signInView .publicHero {display:none}
body.signInView main {padding-top:28px}
.publicNav #openPublicLogin {border-color:#db9b40;color:#f6d7a4}
@media print {body.publicHome main {display:none !important}}

/* V5.9.9 — Public navigation has standard crawlable links, with identical UI. */
.publicNav a{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;min-height:42px;padding:8px 16px;font-size:13px;font-weight:750;border:1px solid #a4b0bb;background:transparent;border-radius:25px;color:white;line-height:1.4}
.publicNav a#openPublicContact{border-color:#db9b40;color:#f6d7a4}
.publicNav a#openPublicGallery{border-color:#8f9eac;color:#fff;background:transparent}
.publicNav a:focus-visible{outline:2px solid #f6d7a4;outline-offset:3px}
.serviceReadMore{margin-top:-8px;margin-bottom:28px!important;font-size:14px!important}
.serviceReadMore a{color:#6c4e24;text-decoration:underline;text-underline-offset:3px;font-weight:750}
footer a{color:inherit;text-decoration:underline;text-underline-offset:2px}
@media(max-width:520px){.publicNav a{font-size:12px;padding:9px 7px;min-height:44px;flex:1}}

/* V5.9.10: Per-job and per-employee print filing packet. No changes to screen report. */
#reportPrintContent{display:none}
.filingPrintHint{font-size:12px;margin:5px 0 17px}
.filingPrintActions{margin:8px 0 5px}
@media print{
  body.reportView #reportContent{display:none!important}
  body.reportView #reportPrintContent{display:block!important}
  body.reportView[data-weekly-print="jobs"] .weeklyPrintEmployees{display:none!important}
  body.reportView[data-weekly-print="employees"] .weeklyPrintJobs{display:none!important}
  body.reportView .weeklyPrintSheet{
    display:block;
    break-before:page;
    page-break-before:always;
    width:100%;
    padding:0;
    margin:0;
    color:#151c25;
    font-size:10px;
    line-height:1.35;
  }
  body.reportView .weeklyPrintJobs>.weeklyPrintSheet:first-child,
  body.reportView[data-weekly-print="employees"] .weeklyPrintEmployees>.weeklyPrintSheet:first-child{
    break-before:auto;
    page-break-before:auto;
  }
  body.reportView .filingHeader{border-bottom:2px solid #1e3042;padding-bottom:9px;margin-bottom:12px}
  body.reportView .filingBrand{font-size:11px;font-weight:700;display:flex;justify-content:space-between;gap:12px}
  body.reportView .filingBrand span{color:#53616d;font-size:9px;white-space:nowrap}
  body.reportView .filingHeader h1{font-size:17px;margin:10px 0 2px;line-height:1.2}
  body.reportView .filingHeader h2{font-size:15px;margin:3px 0 7px;line-height:1.25}
  body.reportView .filingHeader p{margin:3px 0;font-size:10px}
  body.reportView .filingHeader small{font-size:9px;color:#555}
  body.reportView .filingTotals{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:9px 0 14px;break-inside:avoid;page-break-inside:avoid}
  body.reportView .filingTotals>div{border:1px solid #bac5cf;padding:6px 7px;min-width:0}
  body.reportView .filingTotals span{display:block;color:#4d5b68;font-size:9px}
  body.reportView .filingTotals strong{display:block;font-size:13px;margin-top:2px}
  body.reportView .filingGroup{margin:10px 0}
  body.reportView .filingGroup h3,body.reportView .filingSectionTitle{font-size:11px;margin:8px 0 5px;break-after:avoid;page-break-after:avoid}
  body.reportView .filingGroup h3{border-bottom:1px solid #bac5cf;padding-bottom:3px}
  body.reportView .filingTable{width:100%;table-layout:fixed;border-collapse:collapse;font-size:11px;margin:5px 0}
  body.reportView .filingTable th,body.reportView .filingTable td{padding:4px 3px;border-bottom:1px solid #d4dce3;vertical-align:top;text-align:left;overflow-wrap:anywhere}
  body.reportView .filingTable th{font-size:9px;background:#eceff3}
  body.reportView .filingTable th.num,body.reportView .filingTable td.num{text-align:right;white-space:nowrap}
  body.reportView .filingTable thead{display:table-header-group}
  body.reportView .filingTable tr{break-inside:avoid;page-break-inside:avoid}
  body.reportView .filingJobTable th:nth-child(1){width:18%}
  body.reportView .filingJobTable th:nth-child(2),body.reportView .filingJobTable th:nth-child(3){width:17%}
  body.reportView .filingJobTable th:nth-child(4){width:14%}
  body.reportView .filingJobTable th:nth-child(5){width:11%}
  body.reportView .filingJobTable th:nth-child(6){width:23%}
  body.reportView .filingWithJob th:nth-child(1){width:25%}
  body.reportView .filingWithJob th:nth-child(2){width:16%}
  body.reportView .filingWithJob th:nth-child(3),body.reportView .filingWithJob th:nth-child(4){width:13%}
  body.reportView .filingWithJob th:nth-child(5){width:11%}
  body.reportView .filingWithJob th:nth-child(6){width:9%}
  body.reportView .filingWithJob th:nth-child(7){width:13%}
  body.reportView .filingWithJob td:first-child{max-width:140px}
  body.reportView .filingGroupTotal{font-size:10px;margin:4px 0 9px;break-inside:avoid;page-break-inside:avoid}
  body.reportView .filingBottomTotal{border-top:1px solid #1e3042;padding:8px 0;font-size:10px;break-inside:avoid;page-break-inside:avoid}
  body.reportView .filingFootnote{font-size:9px;color:#46515d;line-height:1.3;margin:11px 0 0;border-top:1px solid #ced6dd;padding-top:7px}
}

/* V5.9.11 — Daily subtotals on screen and on both printed filing sheets. */
.reportTable .reportDailyRow td,
.filingTable .filingDailyRow td{
  background:#eaf0f5;
  border-top:1px solid #b1c2ce;
  border-bottom:2px solid #9eafbd;
  padding:8px 9px;
  text-align:left;
  font-variant-numeric:tabular-nums;
}
.reportDailyRow strong,.filingDailyRow strong{display:block;font-weight:800;color:#1b344c}
.reportDailyRow span,.filingDailyRow span{display:block;color:#435567;font-size:11px;margin-top:2px}
@media print{
 body.reportView .filingTable .filingDailyRow{break-inside:avoid;page-break-inside:avoid}
 body.reportView .filingTable .filingDailyRow td{background:#e9edf0!important;padding:5px 6px;border-top:1px solid #8495a3;border-bottom:2px solid #8495a3}
 body.reportView .filingDailyRow strong{font-size:10px;color:#152738!important}
 body.reportView .filingDailyRow span{font-size:9px;color:#384b5d!important}
}

/* V5.9.12 — administrator corrections / semi-monthly accountant exports */
.reportAdminCorrection{margin:26px 0;padding:18px;border:2px solid #8c9aa5;border-radius:12px;background:var(--panel,#f6f8fa)}
.reportAdminCorrection h2{margin-top:0}
.adminImpactCheck{display:flex;align-items:flex-start;gap:10px;line-height:1.35;margin:15px 0;padding:12px;background:#fff6e5;border-radius:8px;color:#342b1e}
.adminImpactCheck input{width:20px;height:20px;flex:none;margin-top:2px}
.periodControls{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:end;margin-bottom:15px}
.periodControls button{grid-column:span 1}
.periodTable{margin-top:18px}
@media(max-width:600px){.periodControls{grid-template-columns:1fr}.periodControls button{grid-column:span 1}}
@media print{
  body.reportView[data-weekly-print="period"] #payPeriodPrintArea{display:block!important}
  body.reportView[data-weekly-print="period"] #payPeriodPrintArea .reportIntro{margin-top:0}
  body.reportView[data-weekly-print="period"] .periodTable{font-size:11px}
  body.reportView[data-weekly-print="period"] #payPeriodPrintArea .reportSummary{display:grid}
  body.reportView[data-weekly-print="period"] .reportControls{display:none!important}
}
