/* WorkSnap desktop layout. All changes are limited to desktop widths. */
@media (min-width:1024px){
 html body[data-page] main{max-width:1180px!important;padding:104px 36px 40px!important}
 html body[data-page] header{padding-left:max(36px,calc((100vw - 1108px)/2))!important;padding-right:max(36px,calc((100vw - 1108px)/2))!important}
 html body[data-page] .page-heading{margin:0 0 26px}
 html body[data-page] .page-heading h1{font-size:36px!important}
 html body[data-page] header{display:grid!important;grid-template-columns:230px minmax(0,1fr) 140px;gap:18px!important}
 html body[data-page] header>.brand{justify-self:start}
 html body[data-page] header>.header-actions{justify-self:end}
 html body[data-page] header>.bottom-nav{position:static!important;inset:auto!important;transform:none!important;width:100%!important;max-width:470px;margin:0 auto;padding:4px!important;border:1px solid var(--nav-line);border-radius:12px;box-shadow:none!important;background:var(--nav-bg);gap:3px;grid-template-columns:repeat(4,minmax(0,1fr))}
 html body[data-page] .bottom-nav button{flex-direction:row;gap:7px;font-size:12px;min-height:38px;position:relative;padding:7px 8px;white-space:nowrap}
 html body[data-page] .bottom-nav button[aria-current=page]{background:var(--nav-card);box-shadow:0 1px 5px #00000009}
 html body[data-page] .bottom-nav button[aria-current=page]:before{display:none}
 html body[data-page] .bottom-nav svg{width:18px;height:18px;flex-shrink:0}
 html body[data-page] :is(input,select,textarea){font-size:14px!important}
 html body[data-page=details] main{display:grid!important;grid-template-columns:minmax(280px,.8fr) minmax(0,1.25fr);gap:0 28px;align-items:start}
 html body[data-page=details] .page-heading{grid-column:1/-1}
 html body[data-page=details] .details-intro{grid-column:1;grid-row:2;margin:0!important;padding:38px 32px!important;min-height:340px;display:flex!important;flex-direction:column;justify-content:center;border-radius:22px}
 html body[data-page=details] .details-intro h2{font-size:48px!important;line-height:1.07!important;letter-spacing:-1.8px!important;margin:22px 0 0!important}
 html body[data-page=details] .intro-kicker{font-size:11px;letter-spacing:2.4px}
 html body[data-page=details] .basics{grid-column:2;grid-row:2;padding:28px!important;border-radius:22px!important}
 html body[data-page=details] .basics .grid.three{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important}
 html body[data-page=details] .basics .grid.three>:is(label,.week-choice-row,.foreman-row){grid-column:1/-1}
 html body[data-page=details] .basics .mobile-detail-actions{margin-top:24px!important;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important}
 html body[data-page=details] .workspace{display:none!important}
 html body[data-page=photos] .work-card{display:grid!important;grid-template-columns:minmax(240px,.85fr) minmax(0,1.2fr);gap:22px 28px;padding:28px!important}
 html body[data-page=photos] .photo-explainer{grid-column:1/-1;grid-row:1;align-self:start;max-width:none!important;width:100%;margin:0!important;grid-template-columns:minmax(240px,.85fr) minmax(0,1.2fr)!important;grid-template-rows:auto auto;background:var(--nav-bg)}
 html body[data-page=photos] .photo-explainer-copy{grid-column:1;grid-row:1;padding:24px 26px 12px!important;min-width:0}
 html body[data-page=photos] .photo-explainer-image{grid-column:2;grid-row:1/3;min-height:240px!important;height:100%!important;max-height:300px;overflow:hidden}
 html body[data-page=photos] .photo-explainer-image img{width:100%;height:100%;object-fit:cover;object-position:center 55%}
 html body[data-page=photos] .photo-explainer h2{font-size:23px!important;margin-bottom:18px!important}
 html body[data-page=photos] .photo-explainer li{font-size:14px;line-height:1.5}
 html body[data-page=photos] .photo-explainer ol{gap:14px}
 html body[data-page=photos] .photo-optional{grid-column:1!important;grid-row:2;padding:12px 26px 22px!important;font-size:12px!important;border-top:0!important;background:none!important}
 html body[data-page=photos] .photo-day-picker{grid-column:1;grid-row:2;margin:0!important;align-self:start}
 html body[data-page=photos] #days{flex-wrap:wrap;gap:7px!important}
 html body[data-page=photos] #days button{flex:1 1 40px!important;min-width:40px!important}
 html body[data-page=photos] .upload-box{grid-column:2;grid-row:2/5;padding:26px 20px!important;min-width:0}
 html body[data-page=photos] .photo-actions{display:flex;justify-content:center;gap:12px}
 html body[data-page=photos] .photo-actions>*{flex:1;max-width:220px}
 html body[data-page=photos] .analyse-actions{grid-column:1;grid-row:3;margin:0!important;align-self:start}
 html body[data-page=photos] #analysisStatus{grid-column:1;grid-row:4;margin:0!important}
 html body[data-page=photos] #review{grid-column:1/-1;grid-row:5;min-width:0}
 html body[data-page=photos] #photoContinue{display:none!important}
 html body[data-page=week] .draft-card{display:grid!important;grid-template-columns:minmax(0,1fr) 290px;gap:18px 26px;align-items:start;padding:28px!important}
 html body[data-page=week] .timesheet-panel{grid-column:1;grid-row:1/5;min-width:0;margin:0!important}
 html body[data-page=week] .timesheet-signoff{grid-column:2;grid-row:1;margin:0!important;padding:20px!important;border:1px solid var(--nav-line);border-radius:14px;background:var(--nav-bg)!important}
 html body[data-page=week] .export-actions{grid-column:2;grid-row:2;display:grid!important;grid-template-columns:1fr!important;gap:12px!important;margin:0!important;position:static!important;padding:0!important;background:none!important;box-shadow:none!important}
 html body[data-page=week] #saveState{grid-column:2;grid-row:3;margin:0!important;font-size:12px;line-height:1.6}
 html body[data-page=week] .timesheet-signoff button{width:100%}
 html body[data-page=tools] .tools-page{display:grid!important;grid-template-columns:minmax(0,1.1fr) minmax(280px,.8fr);gap:16px 30px;padding:30px!important}
 html body[data-page=tools] .tools-page>h2{grid-column:1;grid-row:1}
 html body[data-page=tools] .tools-page>.small{grid-column:1;grid-row:2;margin:0}
 html body[data-page=tools] #toolsGrid{grid-column:1;grid-row:3;grid-template-columns:1fr 1fr!important;margin:0!important}
 html body[data-page=tools] .review-invitation{grid-column:2;grid-row:1/4;border:1px solid var(--nav-line);border-radius:14px;background:var(--nav-bg);padding:22px;margin:0;align-self:start}
 html body[data-page=tools] .review-invitation>p:not(.tools-version){white-space:normal}
 html body[data-page=tools] .tools-help{grid-column:1/-1;grid-template-columns:1fr 1fr;gap:16px}
 html body[data-page] dialog{max-width:min(880px,calc(100vw - 80px))!important}
}

@media(min-width:1024px){
html body[data-page=details] .details-intro{flex-direction:row;align-items:center;justify-content:space-between;gap:20px;padding:32px!important}
html body[data-page=details] .details-intro h2{font-size:clamp(40px,4.2vw,64px)!important;margin:0!important;line-height:1.08!important}
html body[data-page=details] .intro-portrait{width:clamp(80px,9vw,130px);height:clamp(80px,9vw,130px);flex-basis:clamp(80px,9vw,130px)}
}
@media(min-width:1024px){html body[data-page=photos] .work-card #photoContinue{display:none!important}}
