:root{--measure-work-height:680px}
.workflow-mobile .pilot-bottom{display:flex!important;grid-template-columns:none!important}
@media(max-width:760px){.workflow-mobile #field-booking-content>p:not(#field-selection-count){display:none!important}.workflow-mobile .field-worker-switch input:checked{background:#cf3038!important}.workflow-mobile .field-worker-switch input:checked:before{background:#fff}}
@media(max-width:760px){.workflow-mobile .single-clock-out{display:none!important}}
.dev-features{display:grid;grid-template-columns:1fr 1fr;gap:14px}.dev-features fieldset{border:1px solid var(--pilot-line);padding:12px;border-radius:10px}.dev-features .inline-check{display:flex;align-items:center;gap:10px;font-size:13px}.dev-features input[type=checkbox]{width:20px;height:20px;flex:0 0 20px}
#field-booking{display:none}.field-actions{display:flex;flex-wrap:wrap;align-items:end;gap:10px;margin:14px 0}.field-actions label{margin:0}.field-actions button{min-height:44px}.photo-folder-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px}.photo-folder{display:flex;flex-direction:column;gap:10px;align-items:flex-start;text-align:left;padding:20px!important;min-height:145px}.photo-folder>span{font-size:32px;color:var(--pilot-yellow)}.photo-folder small{line-height:1.6}.office-tools{padding:16px;border:1px solid var(--pilot-line);border-radius:12px;margin:18px 0;background:var(--pilot-card)}.office-tools details{padding:15px 0}.office-tools summary{cursor:pointer;font-weight:650}.office-tools p{font-size:12px;line-height:1.7}.office-tools .status-missing{border-left:4px solid #e05252;padding:8px 12px;background:#fff0ed}.absence-row{display:flex;justify-content:space-between;gap:20px;align-items:center;border:1px solid var(--pilot-line);border-radius:10px;padding:16px;margin:12px 0}.absence-row p{font-size:13px;margin:8px 0}.pilot [data-pilot-screen=absences] form{background:var(--pilot-card);border:1px solid var(--pilot-line);border-radius:12px;padding:18px}#measure-canvas-wrap{max-height:var(--measure-work-height)!important;overflow:auto!important}#measure-canvas{max-height:var(--measure-work-height)!important;width:auto!important;max-width:100%!important;display:block;margin:auto}#report-dialog.large-measurement{width:98vw!important;max-width:1600px!important}#report-dialog.large-measurement #measure-canvas-wrap,#report-dialog.large-measurement #measure-canvas{max-height:85vh!important}.field-summary{display:grid;grid-template-columns:1fr;gap:8px}.field-summary dt{font-weight:700;margin-top:12px}.field-summary dd{margin:0;line-height:1.8}
:root[data-theme="dark"]{--pilot-bg:#111214;--pilot-card:#202225;--pilot-line:#42454a;--pilot-ink:#fff;--pilot-muted:#d5d6d8;--pilot-navy:#36393f;--workspace-bg:#111214;--surface:#202225;--line:#42454a;color:#fff!important;background:#111214!important}
:root[data-theme="dark"] body,:root[data-theme="dark"] body.pilot{background:#111214!important;color:#fff!important}
:root[data-theme="dark"] :is(.topbar,.pilot-rail,.pilot-bottom,dialog,.auth-card,.site-card,.report-card,.master-card,.empty,.address-suggestions,.address-option,.project-overview,.report-dialog .actions,.pilot-screen>details,.office-tools,.booking-sort-toolbar,.worker-choice-group,.master-role-group,.report-form-section,.attendance-column,.measurements-panel,.master-data,.attendance-admin,.quantity-row,.quantity-editor,.pilot-dashboard-card,.pilot-stat,.time-kpis>div,.workflow-measurement-tools,.field-worker-role,[data-pilot-screen=absences] form){background:#202225!important;border-color:#42454a!important;color:#fff!important}
:root[data-theme="dark"] :is(input,textarea,select,option){background:#17191c!important;color:#fff!important;border-color:#55585f!important}
:root[data-theme="dark"] :is(.secondary,.master-tabs button,.time-view-tabs button,.workspace-nav button,.project-team span,.time-kind,.version-badge,.report-worker-tile,.attendance-worker-tile,.field-worker-switch,.field-site-choice,.entry-table th,.saved-table th,.month-time-table .weekend,.worker-choice-group>summary,.master-role-group>summary,.change-database-note){background:#2c2f34!important;border-color:#484c52!important;color:#fff!important}
:root[data-theme="dark"] :is(.primary,.pilot-rail button.active,.pilot-rail button:hover,.workspace-nav button.active,.master-tabs button.active,.time-view-tabs button.active,.field-steps button.active,.pilot-notice){background:#3b3e44!important;border-color:#65686f!important;color:#fff!important}
:root[data-theme="dark"] :is(.pilot-hero,.pilot-hero-art,.project-panel,.quantity-totals,.project-time-row,.photo-folder){background:#202225!important;color:#fff!important;border-color:#42454a!important}
:root[data-theme="dark"] :is(.site-missing-warning,.status-missing){background:#3b2528!important;border-color:#df7d86!important;color:#fff!important}
.workflow-mobile .pilot-bottom{overflow-x:auto;justify-content:flex-start}.workflow-mobile .pilot-bottom button{min-width:64px;flex:1}.workflow-mobile #field-booking{display:block}.workflow-mobile [data-pilot-screen=booking] #workspace-times{display:none!important}.workflow-mobile [data-pilot-screen=booking] .booking-sort-toolbar>label,.workflow-mobile [data-pilot-screen=booking] #refresh-booking-location,.workflow-mobile [data-pilot-screen=booking] #booking-gps-status{display:none!important}.workflow-mobile .booking-sort-toolbar:has(#mobile-admin-settings[hidden]){display:none}.field-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;margin:4px 0 24px}.field-steps button{display:flex;flex-direction:column;align-items:center;gap:6px;border:1px solid var(--pilot-line);background:var(--pilot-card);color:var(--pilot-ink);padding:10px 3px;border-radius:8px;font-size:10px;min-width:0}.field-steps button span{font-weight:750;font-size:18px}.field-steps button.active{background:var(--pilot-navy);color:white;border-color:var(--pilot-navy)}.field-worker-role{border:1px solid var(--pilot-line);border-radius:10px;overflow:hidden;margin:14px 0;background:var(--pilot-card)}.field-worker-role summary{padding:12px;font-weight:700;text-align:center;cursor:pointer}.field-worker-switch{display:flex!important;align-items:center;justify-content:space-between;gap:16px;padding:14px!important;margin:0!important;border-top:1px solid var(--pilot-line);min-height:62px}.field-worker-switch b{font-size:15px}.field-worker-switch small{display:block;font-size:11px;margin-top:5px}.field-worker-switch input{appearance:none!important;-webkit-appearance:none!important;min-width:44px!important;width:44px!important;height:26px!important;border:0!important;border-radius:20px!important;background:#8b8e94!important;position:relative;flex:0 0 44px;cursor:pointer}.field-worker-switch input:before{content:'';position:absolute;width:20px;height:20px;border-radius:50%;top:3px;left:3px;background:white;transition:transform .15s}.field-worker-switch input:checked{background:#b5821c!important}.field-worker-switch input:checked:before{transform:translateX(18px)}.field-worker-switch input:focus-visible{outline:3px solid #d4a12d;outline-offset:4px}.field-sites{display:grid;gap:10px;margin:15px 0}.field-site-choice{display:flex!important;gap:12px;align-items:center;border:1px solid var(--pilot-line);border-radius:10px;background:var(--pilot-card);padding:14px!important;margin:0!important;min-height:84px}.field-site-choice input{width:22px!important;height:22px!important;flex:0 0 22px}.field-site-choice small{display:block;margin-top:6px;font-size:12px}.sticky-field-actions{position:sticky;bottom:76px;background:var(--pilot-bg);padding:12px 0;margin:14px 0;z-index:3}.sticky-field-actions .primary{flex:1}.workflow-mobile #field-booking-content h2{font-size:23px;margin:12px 0 20px}.workflow-mobile #field-booking-content p{font-size:13px;line-height:1.7}#field-booking-status{font-size:13px;line-height:1.7;font-weight:600}.workflow-mobile .dev-features{grid-template-columns:1fr}.workflow-mobile .absence-row{display:block}
