@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url("/fonts/inter-latin-400-normal.woff2") format("woff2")}
@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url("/fonts/inter-latin-500-normal.woff2") format("woff2")}
@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url("/fonts/inter-latin-600-normal.woff2") format("woff2")}
@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url("/fonts/inter-latin-700-normal.woff2") format("woff2")}
/* Fieldwork visual system. Existing data and action handlers remain in the app scripts. */
:root {
  --bg:#141b18;--surface:#1e2923;--surface-2:#26332b;--surface-3:#304036;
  --panel:var(--surface);--panel2:var(--surface-2);--line:#39483e;--border:var(--line);
  --text:#eef5ef;--muted:#abbab0;--text-muted:var(--muted);--text-subtle:#81968a;
  --accent:#8bd5a5;--accent-hover:#a0dfb6;--on-accent:#112b1c;--red:var(--accent);
  --green:#8bd5a5;--success:#9fdfb3;--warning:#f0bf73;--danger:#f49a94;
  --sidebar-bg:#101b16;--sidebar-text:#f2f7f2;--sidebar-border:#304238;
  --pill-bg:#263d2d;--pill-border:#426649;--pill-text:#c9dfce;
  --pill-ok-text:#a7e5b9;--pill-warn-text:#ffd396;--pill-warn-border:#8a6b3d;
  color-scheme:dark;
}
:root[data-theme="light"],:root[data-theme="system"][data-resolved-theme="light"] {
  --bg:#f8f8f5;--surface:#fff;--surface-2:#f4f6f2;--surface-3:#e5f1e9;
  --panel:var(--surface);--panel2:var(--surface-2);--line:#dfe5df;--border:var(--line);
  --text:#17211d;--muted:#68746d;--text-muted:var(--muted);--text-subtle:#819087;
  --accent:#185a3d;--accent-hover:#124a31;--on-accent:#fff;--red:var(--accent);
  --green:#2f8b5c;--success:#236b48;--warning:#8a5a13;--danger:#af3939;
  --sidebar-bg:#1c2522;--sidebar-text:#f5f9f5;--sidebar-border:#34473a;
  --pill-bg:#edf4ee;--pill-border:#d0e3d2;--pill-text:#345640;
  --pill-ok-text:#236b48;--pill-warn-text:#8a5a13;--pill-warn-border:#e7c99b;
  color-scheme:light;
}
@media (prefers-color-scheme:light) {
  :root[data-theme="system"]:not([data-resolved-theme]) {
    --bg:#f8f8f5;--surface:#fff;--surface-2:#f4f6f2;--surface-3:#e5f1e9;
    --panel:var(--surface);--panel2:var(--surface-2);--line:#dfe5df;--border:var(--line);
    --text:#17211d;--muted:#68746d;--accent:#185a3d;--accent-hover:#124a31;
    --on-accent:#fff;--red:var(--accent);--green:#2f8b5c;--success:#236b48;
    --warning:#8a5a13;--danger:#af3939;--sidebar-bg:#1c2522;--sidebar-text:#f5f9f5;
    --sidebar-border:#34473a;--pill-bg:#edf4ee;--pill-border:#d0e3d2;
    --pill-text:#345640;--pill-ok-text:#236b48;--pill-warn-text:#8a5a13;
    --pill-warn-border:#e7c99b;color-scheme:light;
  }
}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px;line-height:1.48;-webkit-font-smoothing:antialiased}
button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:var(--accent)}
h1,h2,h3,p{overflow-wrap:anywhere}h1,h2,h3{letter-spacing:-.025em;line-height:1.25}
.app{padding-bottom:calc(92px + env(safe-area-inset-bottom))}
.top{height:66px;padding:0 20px;background:var(--surface);border-bottom:1px solid var(--line);backdrop-filter:none;box-shadow:0 1px 4px #0e221008}
.top .brand{font-size:20px;font-weight:700;letter-spacing:-.05em;color:var(--accent)}
.top .brand span,.top .brand small{display:none}
.top .sub{font-size:11px;line-height:1.2;margin-top:1px;white-space:nowrap;max-width:60vw;overflow:hidden;text-overflow:ellipsis}
.header-account{display:flex;align-items:center;gap:10px;min-height:44px;padding:3px 3px 3px 12px;border:0;border-radius:999px;background:var(--surface-2);color:var(--muted);font-size:10px;font-weight:700;letter-spacing:.08em}
.avatar{display:grid;place-items:center;width:34px;height:34px;flex:none;border-radius:50%;background:var(--surface-3);color:var(--accent);font-size:12px;font-weight:800;letter-spacing:0}
.header-account .avatar{background:var(--accent);color:var(--on-accent)}
.page{max-width:1240px;padding:24px 18px 48px;margin:auto}
.hero{margin:2px 0 22px}.hero h1{margin:0 0 5px;font-size:clamp(25px,3.4vw,34px);font-weight:700;letter-spacing:-.045em}
.hero .muted,.muted,.sub{color:var(--muted)}.sub{font-size:12px}.label{font-size:11px;font-weight:700;letter-spacing:.04em;color:var(--muted)}
.section{margin-top:26px}.section h2,h2.section{font-size:18px;font-weight:730;letter-spacing:-.03em;margin-bottom:12px}.section h3{font-size:15px}
.grid,.grid4{gap:12px}.list{gap:10px}.project-grid{gap:14px}
.card,.row{background:var(--surface);border:1px solid var(--line);border-radius:15px;box-shadow:0 2px 8px #0d251008}
.card{padding:18px}.row{padding:15px 17px;min-height:66px}.rowmain b,.row b{font-weight:690}
.click-card{text-align:left;color:inherit;width:100%;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.click-card:hover{transform:translateY(-2px);border-color:color-mix(in srgb,var(--accent) 42%,var(--line));box-shadow:0 8px 20px #10321a14}
.summary-card{min-height:138px;display:flex;flex-direction:column;justify-content:space-between;gap:16px}.stat{font-size:32px;font-weight:700;letter-spacing:-.055em;line-height:1.1}
.summary-card .arrow{font-size:12px;font-weight:700;color:var(--accent)}
.btn{display:inline-flex;justify-content:center;align-items:center;gap:6px;min-height:42px;padding:9px 15px;background:var(--surface);border:1px solid var(--line);border-radius:10px;color:var(--text);font-weight:650;text-decoration:none;line-height:1.2;transition:background .16s ease,border-color .16s ease,transform .16s ease}
.btn:hover{background:var(--surface-2);border-color:color-mix(in srgb,var(--accent) 35%,var(--line))}.btn:active{transform:scale(.985)}
.btn.primary{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}.btn.primary:hover{background:var(--accent-hover);border-color:var(--accent-hover)}
.btn.small{min-height:36px;padding:7px 11px;font-size:12px}.btn.ghost{background:transparent}.btn.danger{color:var(--danger)}
.actions{gap:9px}.pill{border-radius:999px;padding:5px 10px;font-size:11px;font-weight:700;line-height:1.2}.pill.ok{background:var(--pill-bg);color:var(--pill-ok-text)}.pill.warn{background:color-mix(in srgb,var(--warning) 12%,var(--surface));border-color:var(--pill-warn-border);color:var(--pill-warn-text)}
.attention{border-color:var(--pill-warn-border)}.progress{height:7px;margin-top:12px}.progress i{background:var(--green)}
.field{gap:7px;margin:12px 0}.field label{font-size:12px;font-weight:680;color:var(--text)}
.field input,.field select,.field textarea,.search{min-height:44px;background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:10px 12px;color:var(--text);font-size:14px;outline:none}
.field textarea{min-height:112px;resize:vertical}.field input:focus,.field select:focus,.field textarea:focus,.search:focus{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 16%,transparent)}
.field input::placeholder,.search::placeholder{color:var(--muted)}
.tabs,.project-nav{gap:8px;scrollbar-width:thin}.tabs .btn,.project-nav .btn{white-space:nowrap}
.modal{background:#101a13a8;backdrop-filter:blur(4px)}.sheet{background:var(--surface);padding:22px 20px calc(18px + env(safe-area-inset-bottom));box-shadow:0 -15px 45px #071b1433}.sheet-actions{background:var(--surface)}
.login{background:var(--bg)}.loginbox{padding:30px;border-radius:20px;box-shadow:0 18px 54px #10271a15}.loginbox .brand{font-size:22px;color:var(--accent)}.loginbox .brand span{display:block;font-size:11px;letter-spacing:.14em;color:var(--muted)}
.project-card{min-height:214px;display:flex;flex-direction:column}.project-card .project-meta{margin:13px 0 0}.project-card .next-work{margin-top:auto;padding-top:17px}.project-card h3{margin:0 0 5px;font-size:18px}.project-meta{color:var(--muted);font-size:12px;display:flex;align-items:center;flex-wrap:wrap;gap:6px}.detail-head{align-items:flex-start;gap:15px}.project-toolbar{gap:12px}
.photo-card{overflow:hidden;padding:0}.photo-card .photo-thumb{object-fit:cover}.photo-card .photo-meta{padding:13px 15px}
.customer-hero{background:linear-gradient(120deg,var(--surface),var(--surface-2));padding:26px}.customer-hero h1{font-size:clamp(24px,4vw,36px)}.milestone-mark{color:var(--accent)}
.settings-grid{display:grid;gap:12px}.settings-grid .card{min-height:190px}.settings-grid h2{margin:18px 0 5px;font-size:18px}.settings-grid p{margin:0 0 20px}.settings-symbol{display:grid;place-items:center;width:40px;height:40px;border-radius:11px;background:var(--surface-3);color:var(--accent);font-size:22px}.settings-link{font-size:12px;font-weight:720;color:var(--accent)}
.portal-shell{max-width:960px;margin:auto}.portal-shell .hero .brand{color:var(--accent);font-size:16px}.portal-shell .hero .brand span{color:var(--muted);font-size:10px;letter-spacing:.08em}.portal-shell .hero{margin-bottom:16px}
.field-shell{max-width:960px;margin:auto}.field-shell .hero{margin-top:22px}.field-shell .employee-brand{font-size:11px;letter-spacing:.1em;color:var(--accent)}.field-shell .employee-brand small{display:inline-block;margin-left:8px;color:var(--muted)}
.field-shell>.card:first-of-type{border-color:var(--pill-border);background:var(--surface-2)}.field-shell>.card:first-of-type h2{margin:14px 0 7px}.field-shell>.card:first-of-type .btn{margin-top:16px}
.field-shell .row .btn{flex:none}.field-shell .actions label.btn{cursor:pointer}
body[data-role="employee"] .page>.list:last-child>.card{display:flex;flex-direction:column;align-items:flex-start;min-height:150px}
body[data-role="employee"] .page>.list:last-child>.card>.actions{margin-top:auto;padding-top:18px}
.nav{grid-template-columns:repeat(4,minmax(0,1fr));gap:2px;padding:7px 8px calc(8px + env(safe-area-inset-bottom));background:var(--surface);border-top:1px solid var(--line);box-shadow:0 -4px 18px #0f251009}
.nav button[data-tab]{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;min-height:54px;gap:3px;background:none;border:0;border-radius:10px;color:var(--muted);font-size:10px;font-weight:650;line-height:1.1;text-align:center}
.nav button[data-tab]:hover,.nav button[data-tab].active{background:var(--surface-3);color:var(--accent)}
.nav button[data-tab] b{display:block;width:21px;height:21px;margin:0;background:currentColor;mask:var(--nav-icon) center/contain no-repeat;-webkit-mask:var(--nav-icon) center/contain no-repeat}
.nav button[data-tab="home"]{--nav-icon:url('/icons/fieldwork-today.svg')}.nav button[data-tab="projects"]{--nav-icon:url('/icons/fieldwork-projects.svg')}
.nav button[data-tab="time"]{--nav-icon:url('/icons/fieldwork-time.svg')}.nav button[data-tab="takeoffs"]{--nav-icon:url('/icons/fieldwork-takeoffs.svg')}
.nav button[data-tab="employees"]{--nav-icon:url('/icons/fieldwork-employees.svg')}.nav button[data-tab="customers"]{--nav-icon:url('/icons/fieldwork-customers.svg')}
.nav button[data-tab="payroll"]{--nav-icon:url('/icons/fieldwork-payroll.svg')}.nav button[data-tab="crews"]{--nav-icon:url('/icons/fieldwork-crews.svg')}
.nav button[data-tab="settings"]{--nav-icon:url('/icons/fieldwork-settings.svg')}.nav button[data-tab="more"]{--nav-icon:url('/icons/fieldwork-more.svg')}
.nav button[data-tab="takeoffs"],.nav button[data-tab="employees"],.nav button[data-tab="customers"],.nav button[data-tab="payroll"],.nav button[data-tab="crews"],.nav button[data-tab="settings"]{display:none}
.side-brand,.nav-group-label,.new-project-nav,.nav-account{display:none}
@media(min-width:700px){.page{padding:32px 28px 64px}.grid4{grid-template-columns:repeat(4,minmax(0,1fr))}.project-grid,.settings-grid,body[data-role="employee"] .page>.list:last-child{grid-template-columns:repeat(2,minmax(0,1fr))}.modal{align-items:center}.sheet{border-radius:20px;max-height:88vh}.hero{margin-bottom:27px}}
@media(min-width:1050px){
  body[data-role="admin"] .app{padding-left:235px;padding-bottom:0}
  body[data-role="admin"] .top{height:64px;margin-left:0;padding:0 32px}
  body[data-role="admin"] .page{padding:30px 34px 80px}
  body[data-role="admin"] .nav{top:0;bottom:0;right:auto;width:235px;padding:24px 12px 16px;display:flex;flex-direction:column;align-items:stretch;gap:2px;background:var(--sidebar-bg);border:0;box-shadow:none;overflow-y:auto}
  .nav .side-brand{display:flex;flex-direction:column;padding:1px 13px 25px;color:var(--sidebar-text)}
  .side-brand b{font-size:26px;font-weight:700;letter-spacing:-.07em;line-height:1}.side-brand span{font-size:9px;letter-spacing:.15em;font-weight:700;margin-top:5px;color:#9bb4a3}
  .nav .new-project-nav{display:block;margin:0 5px 25px;min-height:42px;background:#e7f4e9;color:#185a3d;border:0;border-radius:9px;font-weight:730;font-size:13px}
  .nav .new-project-nav:hover{background:#fff}
  .nav .nav-group-label{display:block;margin:4px 13px 8px;color:#91a99a;font-size:10px;letter-spacing:.12em;font-weight:700}
  .nav .nav-group-label.management{margin-top:24px}
  .nav button[data-tab],.nav button[data-tab="takeoffs"],.nav button[data-tab="employees"],.nav button[data-tab="customers"],.nav button[data-tab="payroll"],.nav button[data-tab="crews"],.nav button[data-tab="settings"]{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;gap:12px;min-height:39px;padding:8px 12px;text-align:left;font-size:13px;font-weight:630;color:#b5c8ba}
  .nav button[data-tab] b{display:block;width:18px;height:18px;flex:none}
  .nav button[data-tab]:hover{background:#2b3d31;color:#fff}
  .nav button[data-tab].active{background:#365642;color:#fff}
  .nav button[data-tab="more"]{display:none}
  .nav .nav-account{display:flex;align-items:center;gap:9px;margin-top:auto;padding:14px 5px 2px;border-top:1px solid var(--sidebar-border);color:#f3f8f4;min-width:0}
  .nav-account .avatar{width:32px;height:32px;background:#365642;color:#e7f4e9}
  .nav-account>span:nth-child(2){display:flex;flex-direction:column;min-width:0;flex:1}
  .nav-account b{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nav-account small{font-size:10px;color:#9eb4a4}
  .nav-account .icon-btn{display:grid;place-items:center;min-width:30px;height:32px;padding:0;background:transparent;border:0;color:#d6e6da;font-size:18px}
}
@media(max-width:450px){.grid4{grid-template-columns:repeat(2,minmax(0,1fr))}.summary-card{min-height:118px}.stat{font-size:27px}.page{padding:21px 15px 42px}.card{padding:16px}.row{padding:13px}.header-account{gap:7px;padding-left:9px}}
@media(prefers-reduced-motion:reduce){.click-card,.btn{transition:none}.click-card:hover{transform:none}}

/* V26 supplied important rules; explicitly supersede those presentation rules. */
.top{height:66px!important;background:var(--surface)!important;border-color:var(--line)!important;margin-left:0!important;padding:0 20px!important}
.top .brand{display:block!important}.page{padding:24px 18px 48px!important}.hero{margin-bottom:22px!important}.hero h1{letter-spacing:-.045em!important}
.sub,.muted,.field-note{color:var(--muted)!important}.card,.row{border-color:var(--line)!important;border-radius:15px!important;box-shadow:0 2px 8px #0d251008!important}
.btn{background:var(--surface)!important;border-color:var(--line)!important;color:var(--text)!important;border-radius:10px!important;min-height:42px}
.btn.primary{background:var(--accent)!important;border-color:var(--accent)!important;color:var(--on-accent)!important}.btn.primary:hover{background:var(--accent-hover)!important;border-color:var(--accent-hover)!important}
.field input,.field select,.field textarea,.search{background:var(--surface)!important;border-color:var(--line)!important}
.empty{padding:22px!important;text-align:center!important}.empty:before{content:none}
.pill{background:var(--pill-bg)!important;border-color:var(--pill-border)!important;color:var(--pill-text)}.pill.ok{color:var(--pill-ok-text)!important}.pill.warn{color:var(--pill-warn-text)!important}
.progress i{background:var(--green)!important}.nav{background:var(--surface)!important;border-color:var(--line)!important;padding:7px 8px calc(8px + env(safe-area-inset-bottom))!important;gap:2px!important}
.nav button[data-tab]{color:var(--muted)!important;min-height:54px;border-radius:10px!important}.nav button[data-tab].active,.nav button[data-tab]:hover,.nav button[data-tab]:focus-visible{background:var(--surface-3)!important;color:var(--accent)!important}
.nav-account{border-color:var(--sidebar-border)!important}.nav-account .icon-btn{color:var(--sidebar-text)!important}
@media(min-width:700px){.page{padding:32px 28px 64px!important}}
@media(max-width:1049px){.nav{grid-template-columns:repeat(4,minmax(0,1fr))!important}.nav button[data-tab="payroll"],.nav button[data-tab="crews"],.nav button[data-tab="settings"]{display:none!important}.page{padding:24px 18px 48px!important}}
@media(min-width:1050px){
  body[data-role="admin"] .app{padding-left:235px!important}
  body[data-role="admin"] .top{height:64px!important;margin-left:0!important;padding:0 32px!important}
  body[data-role="admin"] .page{padding:30px 34px 80px!important}
  body[data-role="admin"] .nav{width:235px!important;padding:24px 12px 16px!important;gap:2px!important;background:var(--sidebar-bg)!important;border:0!important}
  body[data-role="admin"] .nav button[data-tab]{min-height:39px;color:#b5c8ba!important}
  body[data-role="admin"] .nav button[data-tab].active{background:#365642!important;color:#fff!important}
  body[data-role="admin"] .nav button[data-tab]:hover,body[data-role="admin"] .nav button[data-tab]:focus-visible{background:#2b3d31!important;color:#fff!important}
  body[data-role="admin"] .nav button[data-tab="more"]{display:none!important}
  body[data-role="admin"] .side-brand{display:flex}.side-brand b{color:var(--sidebar-text)}
  body[data-role="admin"] .nav-group-label{color:#91a99a!important}
  body[data-role="admin"] .nav .new-project-nav{background:var(--accent)!important;color:var(--on-accent)!important}
  body[data-role="admin"] .nav .new-project-nav:hover{background:var(--accent-hover)!important;color:var(--on-accent)!important}
  body[data-role="employee"] .app,body[data-role="customer"] .app{padding-left:0!important}
}
@media(max-width:450px){.page{padding:21px 15px 42px!important}.grid4{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* Dashboard layout follows the Fieldwork mobile and desktop artboards. */
.fieldwork-dashboard{position:relative;padding-bottom:84px}
.fieldwork-dashboard h1,.fieldwork-dashboard h2,.fieldwork-dashboard p{margin:0}
.fw-dashboard-head h1{font-size:25px;font-weight:700;letter-spacing:-.045em}
.fw-dashboard-head p{font-size:13px;color:var(--muted);margin-top:12px}
.fw-desktop-title,.fw-desktop-sub,.fw-desktop-label,.fw-admin-badge{display:none}
.fw-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:13px}
.fw-metric{position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-width:0;min-height:70px;padding:10px 11px;border:0;border-radius:14px;background:var(--surface-3);color:var(--text);text-align:left}
.fw-metric strong{font-size:25px;line-height:1.1;letter-spacing:-.04em;color:var(--accent)}
.fw-metric small{font-size:11px;color:var(--muted);margin-top:5px;white-space:nowrap}
.fw-metric-icon,.fw-fourth-metric{display:none}
.fieldwork-dashboard section{margin-top:16px}.fieldwork-dashboard section h2{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.02em;color:var(--muted);margin:0 0 11px}
.fieldwork-dashboard section h2 span{text-transform:none}
.fw-attention-card,.fw-progress-card,.fw-tasks-card,.fw-simple-card{background:var(--surface);border:1px solid var(--line);border-radius:14px;box-shadow:0 3px 12px #14261c0d;overflow:hidden}
.fw-attention-card{padding:5px 13px;border-left:3px solid #d2a441;background:color-mix(in srgb,var(--surface) 93%,#e9c478)}
.fw-attention-row,.fw-task,.fw-progress-project{width:100%;border:0;background:transparent;color:var(--text);text-align:left;cursor:pointer}
.fw-attention-row{display:flex;gap:9px;align-items:flex-start;min-height:50px;padding:8px 0;border-bottom:1px solid var(--line)}
.fw-attention-row:last-child{border-bottom:0}.fw-attention-dot{width:9px;height:9px;margin-top:6px;border-radius:50%;background:#8a5a13;flex:none}
.fw-attention-copy{min-width:0;flex:1}.fw-attention-copy b,.fw-task b,.fw-progress-title b{display:block;font-size:13px;font-weight:700;line-height:1.35}
.fw-attention-copy small,.fw-task small,.fw-progress-project small{display:block;font-size:11px;color:var(--muted);line-height:1.4;margin-top:2px}
.fw-attention-date{font-size:10px;color:#99651c;white-space:nowrap;margin-top:2px}
.fw-progress-card{padding:13px 15px}.fw-progress-project{display:block;padding:4px 0 11px;border-bottom:1px solid var(--line)}
.fw-progress-thumb{display:none}.fw-progress-body{display:block;min-width:0}
.fw-progress-project:last-child{padding-bottom:0;border:0}.fw-progress-project+.fw-progress-project{padding-top:12px}.fw-progress-title{display:flex;align-items:center;flex-wrap:wrap;gap:7px}
.fw-progress-title b{font-size:15px}.fw-progress-title .pill{font-size:9px;padding:3px 7px}
.fw-progress-project .progress{display:block;height:7px;margin:10px 0 7px;background:var(--line);border-radius:10px;overflow:hidden}.fw-progress-project .progress i{display:block;height:100%;border-radius:10px;background:var(--accent)}
.fw-tasks-card{padding:9px 15px}.fw-task{display:flex;align-items:flex-start;gap:11px;padding:6px 0;border-bottom:1px solid var(--line)}.fw-task:last-child{border:0}.fw-task-square{width:9px;height:9px;border:1.5px solid var(--text);margin-top:4px;flex:none}
.fw-simple-card{padding:15px}.fw-simple-card p{font-size:13px}.fw-simple-card p span{color:var(--muted)}.fw-text-action{display:inline-block;padding:0;border:0;background:transparent;color:var(--accent);font-size:11px;font-weight:700;text-align:left;cursor:pointer}
.fw-simple-card .fw-text-action{display:block;width:100%;border-top:1px solid var(--line);padding-top:10px;margin-top:10px}.fw-empty{padding:12px 0;color:var(--muted);font-size:12px}
.fw-team-section,.fw-schedule-section,.fw-all-projects{display:none}.fw-extra-section{margin-top:20px}.fw-extra-section .fw-attention-card{border-left:0}
.fw-fab{position:fixed;right:22px;bottom:calc(86px + env(safe-area-inset-bottom));z-index:5;width:54px;height:54px;border:0;border-radius:50%;background:var(--accent);color:var(--on-accent);font-size:29px;font-weight:350;box-shadow:0 5px 16px #10271a20}
@media(min-width:700px){
  .fw-dashboard-head{display:flex;align-items:flex-start;justify-content:space-between}.fw-desktop-title,.fw-desktop-sub,.fw-desktop-label,.fw-admin-badge{display:block}.fw-mobile-title,.fw-mobile-sub,.fw-mobile-label{display:none}
  .fw-dashboard-head h1{font-size:32px}.fw-dashboard-head p{font-size:14px;margin-top:20px}.fw-admin-badge{margin-top:2px;padding:5px 10px;border-radius:20px;background:#e5f1e9;color:#185a3d;font-size:11px;font-weight:700}
  .fw-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:20px}.fw-metric{min-height:92px;padding:17px 18px;background:var(--surface);border:1px solid var(--line);box-shadow:0 3px 12px #14261c0d}
  .fw-metric strong{font-size:27px}.fw-metric small{margin-top:7px;font-size:12px}.fw-metric-icon,.fw-fourth-metric{display:flex}.fw-metric-icon{position:absolute;right:21px;top:15px;align-items:center;justify-content:center;width:40px;height:40px;border-radius:10px;background:var(--surface-3);color:var(--accent);font-size:19px}
  .fw-dashboard-columns{display:grid;grid-template-columns:minmax(0,638fr) minmax(290px,399fr);gap:18px;margin-top:20px;align-items:start}.fieldwork-dashboard section{margin:0 0 14px}
  .fieldwork-dashboard section h2{font-size:16px;text-transform:none;letter-spacing:-.02em;color:var(--text);margin:0 0 9px}.fw-mobile-attention{order:3}.fw-dashboard-primary,.fw-dashboard-secondary{display:flex;flex-direction:column}
  .fw-progress-section{order:1}.fw-team-section{order:2;display:block}.fw-mobile-attention{display:none}.fw-schedule-section{display:block}.fw-all-projects{display:inline-block;margin-top:0}
  .fw-progress-card{min-height:165px}.fw-progress-project{display:flex;align-items:center;gap:12px;padding-bottom:11px}.fw-progress-thumb{display:block;width:56px;height:56px;object-fit:cover;border-radius:9px;flex:none}.fw-progress-body{flex:1}.fw-task{min-height:35px}.fw-tasks-card{min-height:136px}.fw-fab{display:none}
}

/* Project Detail groups the same operations into a clear overview and short nav. */
.fw-project-detail{padding-bottom:36px}.fw-detail-back button{border:0;padding:0;background:transparent;color:var(--muted);font-size:13px}.fw-detail-cover{display:flex;align-items:flex-end;height:124px;margin-top:14px;padding:12px;border-radius:10px;background:linear-gradient(120deg,#53684f,#9ba984 55%,#b88c60);color:#fff}.fw-detail-cover.has-cover{background-position:center;background-size:cover}.fw-detail-cover span{font-size:10px;letter-spacing:.12em;font-weight:800;opacity:.8}
.fw-detail-head{margin-top:14px}.fw-detail-head h1{font-size:25px;line-height:1.2;letter-spacing:-.045em;margin:0}.fw-detail-meta{margin-top:4px;color:var(--muted);font-size:12px}.fw-detail-state{display:flex;align-items:center;gap:10px;margin-top:12px;color:var(--muted);font-size:12px}.fw-detail-state .pill{padding:5px 10px}
.fw-detail-actions{display:none}.fw-detail-progress{height:7px;margin-top:15px;background:var(--line)}.fw-detail-tabs{display:flex;gap:7px;overflow-x:auto;scrollbar-width:none;margin-top:14px;padding-bottom:1px}.fw-detail-tabs button{flex:none;padding:5px 11px;border:0;border-radius:99px;background:var(--surface);color:var(--muted);font-size:11px;font-weight:700}.fw-detail-tabs button.active{background:var(--accent);color:var(--on-accent)}
.fw-detail-pane{margin-top:14px}.fw-detail-grid{display:flex;flex-direction:column;gap:14px}.fw-detail-main,.fw-detail-side{display:contents}.fw-detail-pane .card{padding:16px}.fw-detail-pane h2{font-size:17px;line-height:1.25;letter-spacing:-.025em;margin:0 0 11px}.fw-detail-pane p{margin:0 0 10px;color:var(--muted);font-size:13px}.fw-detail-pane .fw-detail-next{order:0}.fw-detail-pane .fw-detail-overview{order:1}.fw-detail-pane .fw-detail-work{order:2}.fw-detail-overview-image{display:none}
.fw-detail-next strong{display:block;font-size:18px;line-height:1.3}.fw-detail-next small{display:block;margin-top:6px;color:#99651c;font-size:12px}.fw-detail-next .btn{width:100%;margin-top:12px}.fw-detail-facts{display:grid;gap:8px;margin-top:16px;border-top:1px solid var(--line);padding-top:12px}.fw-detail-facts span{display:flex;gap:10px;color:var(--muted);font-size:12px}.fw-detail-facts b{color:var(--text);font-weight:650}
.fw-detail-work button{display:flex;gap:10px;width:100%;padding:9px 0;border:0;border-bottom:1px solid var(--line);background:transparent;text-align:left;color:var(--text)}.fw-detail-work button:last-child{border:0}.fw-detail-work button b{display:block;font-size:13px}.fw-detail-work button small{display:block;color:var(--muted);font-size:11px;margin-top:4px}
.fw-detail-side>.card:not(.fw-detail-next){display:none}.fw-detail-expanded{margin-top:22px;padding:13px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}.fw-detail-expanded summary{color:var(--accent);font-weight:700;cursor:pointer}.fw-detail-expanded .grid4{margin-top:15px}
@media(min-width:700px){
  .fw-detail-cover{display:none}.fw-detail-back{margin-bottom:17px}.fw-detail-head{display:flex;justify-content:space-between;margin:0}.fw-detail-head h1{font-size:27px}.fw-detail-state{margin-top:10px}.fw-detail-actions{display:flex;align-self:flex-start;align-items:center;gap:9px}.fw-detail-actions .btn{min-height:42px}.fw-detail-progress{margin-top:17px}.fw-detail-tabs{margin-top:16px}
  .fw-detail-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(290px,1fr);gap:14px}.fw-detail-main,.fw-detail-side{display:flex;flex-direction:column;gap:14px}.fw-detail-pane .card{padding:18px}.fw-detail-side>.card:not(.fw-detail-next){display:block}.fw-detail-overview{min-height:190px}.fw-detail-overview-image{display:block;float:right;width:176px;height:104px;margin:17px 0 0 15px;object-fit:cover;border-radius:8px}.fw-detail-facts{gap:7px}.fw-detail-work{min-height:160px}.fw-detail-expanded{margin-top:20px}
}
@media(min-width:1050px){body[data-role="admin"] .top{display:none!important}body[data-role="admin"] .page{width:100%;max-width:none;margin:0;padding:32px 40px 80px 30px!important}}

/* Project list uses the same filter and card rhythm as the Figma references. */
.fieldwork-projects{position:relative;padding-bottom:80px}.fieldwork-projects h1,.fieldwork-projects h2,.fieldwork-projects p{margin:0}
.fw-projects-head h1{font-size:29px;line-height:1.18;letter-spacing:-.045em}.fw-projects-head p,.fw-desktop-project-action{display:none}
.fw-project-filters{position:relative;margin-top:15px;padding:13px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}
.fw-project-search{display:flex;align-items:center;gap:10px;padding:0 2px 10px;border-bottom:1px solid var(--line);color:var(--muted);font-size:18px}
.fw-project-search input{width:100%;height:17px;min-height:17px;padding:0 38px 0 0;border:0;outline:0;background:transparent;color:var(--text);font-size:14px;line-height:17px}.fw-project-search input::placeholder{color:var(--muted)}
.fw-project-chips{display:flex;gap:8px;overflow:auto;scrollbar-width:none;padding-top:10px}.fw-project-chips::-webkit-scrollbar{display:none}
.fw-project-chips button{flex:none;padding:5px 10px;border:0;border-radius:99px;background:var(--bg);color:var(--muted);font-size:11px;font-weight:600;line-height:13px}
.fw-project-chips button.active{background:var(--accent);color:var(--on-accent)}
.fw-project-more-filters{margin:0;color:var(--muted);font-size:11px}.fw-project-more-filters summary{position:absolute;right:9px;top:3px;display:grid;place-items:center;width:44px;height:44px;cursor:pointer;list-style:none;border-radius:8px;font-size:22px;line-height:1;color:var(--muted)}.fw-project-more-filters summary::-webkit-details-marker{display:none}.fw-project-more-filters[open] summary{color:var(--accent);background:var(--surface-3)}.fw-filter-indicator{position:absolute;right:7px;top:8px;width:6px;height:6px;border-radius:50%;background:var(--accent)}
.fw-project-filter-fields{display:grid;gap:9px;padding:12px 0 2px}.fw-project-filter-fields label{display:flex;flex-direction:column;gap:4px}.fw-project-filter-fields select{min-height:38px;padding:6px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--text)}
.fw-projects-section-label{margin:14px 0!important;color:var(--muted);font-size:11px;font-weight:600;letter-spacing:0;text-transform:uppercase;line-height:13px}
.fw-project-list{display:grid;gap:14px}.fw-project-card{display:flex;flex-direction:column;width:100%;padding:15px;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--text);box-shadow:0 3px 12px #14261c0d;text-align:left}
.fw-project-cover{display:flex;align-items:flex-end;width:100%;height:88px;margin-bottom:10px;padding:10px;border-radius:9px;background:linear-gradient(135deg,#53684f,#8fa58a 48%,#b68c65);color:#fff;overflow:hidden}
.fw-project-cover.fw-cover-short{height:70px}
.fw-project-cover.has-cover{background-size:cover;background-position:center}
.fw-project-cover span{font-size:10px;font-weight:800;letter-spacing:.1em;opacity:.7}.fw-project-details{display:block;min-width:0;width:100%}
.fw-project-title{display:flex;align-items:center;justify-content:space-between;gap:8px}.fw-project-title b{min-width:0;font-size:16px;line-height:1.3;letter-spacing:-.02em}.fw-project-title .pill{flex:none;font-size:10px;padding:4px 9px}
.fw-project-location{display:block;margin-top:7px;color:var(--muted);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fw-project-progress{display:block;margin-top:7px}.fw-project-progress .progress{display:block;height:6px;margin:0 0 6px;background:var(--line);border-radius:8px;overflow:hidden}.fw-project-progress .progress i{display:block;height:100%;background:var(--accent)}.fw-project-progress small{color:var(--muted);font-size:11px}
.fw-project-next{display:block;margin-top:8px;padding-top:8px;border-top:1px solid var(--line);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fw-project-next small{font-size:11px;color:var(--muted);font-weight:700}
.fw-open-project{display:none}
@media(min-width:700px){
  .fw-projects-head{display:flex;justify-content:space-between;align-items:flex-start}.fw-projects-head h1{font-size:32px}.fw-projects-head p,.fw-desktop-project-action{display:block}.fw-projects-head p{margin-top:22px;color:var(--muted);font-size:14px}.fw-desktop-project-action{min-width:168px;min-height:48px!important}
  .fw-project-filters{margin-top:17px;padding:16px}.fw-project-search{padding:0 11px;border:1px solid var(--line);border-radius:10px;height:46px}.fw-project-search input{height:42px}.fw-project-chips{padding-top:14px}.fw-project-more-filters{margin-top:9px}.fw-project-filter-fields{grid-template-columns:repeat(3,1fr)}
  .fw-projects-section-label{margin:20px 0 15px!important}.fw-project-card{flex-direction:row;align-items:center;gap:16px;padding:12px 16px;min-height:116px}.fw-project-cover{width:100px;height:84px;flex:none;margin:0}.fw-project-details{flex:1}.fw-project-title{justify-content:flex-start}.fw-project-location{margin-top:3px}.fw-project-progress{max-width:540px;margin-top:5px}.fw-project-progress .progress{margin-bottom:2px}.fw-project-next{display:inline;border:0;margin:0 0 0 5px;padding:0;color:var(--muted)}.fw-project-next:before{content:'·  Next: '}.fw-project-next small{display:none}.fw-open-project{display:block;margin-left:auto;padding:12px 22px;border:1px solid var(--line);border-radius:10px;font-size:13px;font-weight:700;white-space:nowrap}
}

/* Employee Home keeps clock actions and every assignment within the mobile app rhythm. */
.fw-employee-home{max-width:760px;margin:0 auto 28px}.fw-employee-home h1,.fw-employee-home h2,.fw-employee-home h3,.fw-employee-home p{margin:0}
.fw-employee-home header h1{font-size:25px;line-height:1.2;letter-spacing:-.045em}.fw-employee-home header p{margin-top:12px;color:var(--muted);font-size:13px}
.fw-employee-home section{margin-top:18px}.fw-employee-home .card{border-radius:14px;box-shadow:0 3px 12px #14261c0d}
.fw-eyebrow{display:block;color:var(--muted);font-size:11px;font-weight:700;letter-spacing:.025em;text-transform:uppercase}
.fw-employee-clock{padding:16px}.fw-employee-clock h2{margin-top:10px;font-size:18px;line-height:1.3;letter-spacing:-.025em}.fw-employee-clock p{margin-top:8px;color:var(--muted);font-size:12px}.fw-employee-clock .btn{width:100%;min-height:48px;margin-top:12px;box-shadow:0 3px 10px #14261c17}
.fw-employee-home section>.fw-eyebrow{margin-bottom:10px}.fw-employee-task-card{padding:5px 15px}.fw-employee-task{display:flex;gap:12px;align-items:flex-start;min-height:60px;padding:11px 0;border-bottom:1px solid var(--line)}.fw-employee-task:last-child{border:0}
.fw-employee-task-check{width:11px;height:11px;margin:5px 0 0;padding:0;border:1.5px solid var(--text);background:transparent;flex:none}.fw-employee-task b{display:block;font-size:14px}.fw-employee-task small{display:block;margin-top:7px;color:var(--muted);font-size:11px}.fw-employee-task small span{margin:0 4px}.fw-employee-task em{font-style:normal}.fw-employee-task em.carried{color:var(--warning)}.fw-employee-empty{padding:15px 0;color:var(--muted);font-size:13px}
.fw-employee-project{padding:16px}.fw-employee-project h3{font-size:18px;line-height:1.25}.fw-employee-project p{margin-top:8px;color:var(--muted);font-size:12px}.fw-employee-project .progress{height:6px;margin:12px 0 7px;background:var(--line);border-radius:6px;overflow:hidden}.fw-employee-project .progress i{display:block;height:100%;border-radius:6px}.fw-employee-project-actions{display:flex;flex-wrap:wrap;align-items:center;gap:16px;margin-top:6px}.fw-employee-project-actions a,.fw-employee-project-actions button{padding:0;border:0;background:transparent;color:var(--accent);font-size:12px;font-weight:700;text-decoration:none}
.fw-employee-others>div{display:grid;gap:10px}

@media(min-width:700px){.fw-employee-home{padding-top:9px}.fw-employee-others>div{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Customer Portal shows only customer-visible project data. */
.fw-customer-home{max-width:960px;margin:0 auto 40px}.fw-customer-home h1,.fw-customer-home h2,.fw-customer-home p{margin:0}
.fw-customer-home header h1{font-size:28px;line-height:1.2;letter-spacing:-.045em}.fw-customer-home header p{margin-top:12px;color:var(--muted);font-size:13px}
.fw-customer-home section{margin-top:18px}.fw-customer-home .card{border-radius:14px;box-shadow:0 3px 12px #14261c0d}
.fw-customer-switcher{display:flex;gap:8px;overflow-x:auto;margin-top:16px}.fw-customer-switcher button{flex:none;padding:8px 11px;border:0;border-radius:99px;background:var(--surface-2);color:var(--muted);font-size:11px;font-weight:700}.fw-customer-switcher button.active{background:var(--accent);color:var(--on-accent)}
.fw-customer-summary{padding:16px}.fw-customer-cover{display:block;width:100%;height:122px;object-fit:cover;border-radius:9px}.fw-customer-summary h2{margin:10px 0;font-size:20px;line-height:1.25;letter-spacing:-.025em}.fw-customer-summary .pill{display:inline-block}.fw-customer-summary p{margin-top:9px;color:var(--muted);font-size:12px}.fw-customer-summary .progress{height:7px;margin-top:10px;border-radius:7px;background:var(--line);overflow:hidden}.fw-customer-summary .progress i{display:block;height:100%;border-radius:7px}.fw-customer-summary small{display:block;margin-top:7px;color:var(--muted);font-size:12px}
.fw-customer-section-head{display:flex;align-items:center;gap:12px;margin-bottom:8px}.fw-customer-section-head h2,.fw-customer-more h2{font-size:17px}.fw-customer-section-head button{border:0;padding:0;background:transparent;color:var(--text);font-size:14px;font-weight:700}.fw-customer-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.fw-customer-gallery button{height:77px;padding:0;border:0;border-radius:8px;overflow:hidden;background:var(--surface-2)}.fw-customer-gallery img{display:block;width:100%;height:100%;object-fit:cover}.fw-customer-empty{padding:18px;color:var(--muted);font-size:12px}
.fw-customer-milestone{padding:16px}.fw-customer-milestone h2{margin-top:8px;font-size:18px}.fw-customer-milestone p{margin-top:8px;color:var(--muted);font-size:13px}.fw-customer-updates>.fw-eyebrow{margin-bottom:10px}.fw-customer-updates .card{padding:16px}.fw-customer-updates strong{font-size:13px}.fw-customer-updates p{margin-top:9px;font-size:13px}.fw-customer-updates small{display:block;margin-top:10px;color:var(--muted);font-size:12px}
.fw-customer-more h2{margin-bottom:9px}.fw-customer-more .card{padding:8px 16px}.fw-customer-more .card>p{padding:12px 0;color:var(--muted);font-size:13px}.fw-customer-phase,.fw-customer-document{display:flex;align-items:center;gap:11px;min-height:50px;border-bottom:1px solid var(--line)}.fw-customer-phase:last-child,.fw-customer-document:last-child{border:0}.fw-customer-phase>span{color:var(--accent);font-size:17px}.fw-customer-phase b{flex:1;font-size:13px}.fw-customer-phase small,.fw-customer-document small{color:var(--muted);font-size:11px}.fw-customer-document{justify-content:space-between;text-decoration:none;color:var(--text)}.fw-customer-document span:first-child{display:flex;flex-direction:column}.fw-customer-document span:last-child{color:var(--accent);font-weight:700}
.fw-customer-help{padding:16px}.fw-customer-help h2{font-size:16px}.fw-customer-help p{margin-top:7px;color:var(--muted);font-size:12px}.fw-customer-photo-modal{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.fw-customer-photo-modal button{padding:0;border:0;background:transparent;color:var(--text);text-align:left}.fw-customer-photo-modal img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:8px}.fw-customer-photo-modal span{display:block;margin-top:5px;font-size:12px}

@media(min-width:700px){.fw-customer-home{padding-top:9px}.fw-customer-summary{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,.65fr);column-gap:22px;align-items:start}.fw-customer-cover{grid-column:2;grid-row:1/span 5;height:190px}.fw-customer-summary h2{grid-column:1;grid-row:1;margin:0 0 10px}.fw-customer-summary .pill,.fw-customer-summary p,.fw-customer-summary .progress,.fw-customer-summary small{grid-column:1}.fw-customer-summary .progress{width:100%}.fw-customer-gallery button{height:130px}}

#fwRoleNav{position:fixed;z-index:20;inset:auto 0 0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2px;padding:6px 0 calc(8px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:var(--surface);box-shadow:0 -4px 18px #0f251009}
#fwRoleNav button{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:4px;min-width:0;min-height:58px;margin:0;padding:7px 9px;border:0;border-radius:10px;background:transparent;color:var(--muted);font-size:10px;text-align:left}
#fwRoleNav button.active{background:var(--surface-3);color:var(--accent)}#fwRoleNav img{display:block;width:21px;height:21px;object-fit:contain}#fwRoleNav span{line-height:1.1}
@media(min-width:700px){#fwRoleNav{display:none}}

/* Figma parity: shared app chrome, native safe areas, and exact exported icons. */
.fw-metric-icon img{width:21px;height:21px;object-fit:contain}
@media(max-width:699px){
  .top{height:60px!important;box-shadow:none;border-bottom:0!important}
  .top .brand{font-size:21px;letter-spacing:0;font-weight:700}
  .top .sub{display:none}
  .header-account{background:transparent;gap:26px;padding:0;min-height:44px;font-size:10px;letter-spacing:0;font-weight:500}
  .header-account .avatar{width:36px;height:24px;border-radius:14px;background:var(--surface-3);color:var(--accent);font-size:11px;font-weight:600}
  .page{padding:21px 20px 42px!important}
  .nav{padding:0 0 calc(14px + env(safe-area-inset-bottom))!important;gap:0!important;box-shadow:none}
  .nav button[data-tab]{align-items:flex-start;min-height:58px;padding:7px 8px;gap:4px;text-align:left;font-weight:400}
  #fwRoleNav{padding:0 0 calc(14px + env(safe-area-inset-bottom));gap:0;box-shadow:none}
  .fw-fab{bottom:calc(90px + env(safe-area-inset-bottom))}
  .fw-dashboard-head h1,.fw-employee-home header h1{letter-spacing:-.025em}
  .fw-progress-title b{font-size:16px;font-weight:600}
  .fw-progress-project small{font-size:12px}
}
@media(min-width:1050px){
  body[data-role="admin"] .nav{padding:25px 24px 16px!important;gap:0!important}
  .nav .side-brand{padding:0;margin-bottom:27px;height:55px;flex:none}
  .side-brand b{font-size:30px;font-weight:700;letter-spacing:0;line-height:36px}
  .side-brand span{font-size:10px;font-weight:600;letter-spacing:0;line-height:12px;margin-top:7px;color:#a6b8ac}
  .nav .new-project-nav{margin:0 0 28px;min-height:48px;flex:none;border-radius:10px;font-size:14px;font-weight:600}
  .nav .nav-group-label{padding:0;margin:0 0 10px;font-weight:600;letter-spacing:0;line-height:12px}
  .nav .nav-group-label.management{margin-top:21px}
  body[data-role="admin"] .nav button[data-tab]{min-height:42px;margin-bottom:5px;padding:10px 13px;gap:10px;font-size:14px;font-weight:500;color:#ced8d1!important;flex:none}
  body[data-role="admin"] .nav button[data-tab].active{background:#2e493b!important;color:#fff!important}
  .nav .nav-account{padding:12px 0 0;flex:none}
}
@media(min-width:700px){
  .fw-dashboard-primary section,.fw-dashboard-secondary section{padding:19px;border:1px solid var(--line);border-radius:14px;background:var(--surface);box-shadow:0 3px 12px #14261c0d;margin-bottom:18px}
  .fieldwork-dashboard section h2{font-size:19px;margin-bottom:15px;font-weight:700}
  .fw-progress-card,.fw-tasks-card,.fw-simple-card{border:0;border-radius:0;box-shadow:none;padding:0;min-height:0}
  .fw-progress-project{gap:16px;padding-top:0;padding-bottom:15px;align-items:flex-start}
  .fw-progress-project+.fw-progress-project{padding-top:15px}
  .fw-progress-title b{font-size:15px;font-weight:600}
  .fw-progress-title .pill{font-size:11px;padding:5px 10px}
  .fw-progress-project .progress{margin:8px 0}
  .fw-progress-project small{font-size:11px}
}

/* Status and overview details use the same quiet hierarchy as the approved screens. */
.pill{border:0!important;font-weight:600}
.pill.warn{background:color-mix(in srgb,var(--surface) 85%,#edb645)!important}
.fw-detail-summary{display:none}
@media(max-width:699px){
  .fw-detail-next h2{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:0;color:var(--muted);margin-bottom:9px}
  .fw-detail-next .btn{min-height:48px}
  .fw-detail-overview .fw-detail-facts{display:none}
  .fw-detail-summary{display:block}
  .fw-detail-overview p:last-child{margin-bottom:0}
}
@media(max-width:699px){.sheet .grid{grid-template-columns:minmax(0,1fr)}.sheet{padding-top:20px}.sheet .field label{font-size:12px}}
/* Match the approved primary action alignment and progress color in every role. */
.fieldwork-dashboard .progress i,.fieldwork-projects .progress i,.fw-project-detail .progress i,.fw-employee-home .progress i,.fw-customer-home .progress i{background:var(--accent)!important}
@media(min-width:1050px){.nav .new-project-nav{display:flex!important;align-items:center;justify-content:center}.side-brand span{color:#a6b8ac!important}}

/* Project cards preserve the source image framing and use the reference card rhythm. */
.fieldwork-projects .progress{background:var(--line)!important}
.fw-employee-home .progress,.fw-customer-home .progress,.fw-project-detail .progress,.fieldwork-dashboard .progress{background:var(--line)!important}
.fw-project-title .pill{font-size:11px;padding:5px 10px}
.fw-project-location{margin-top:10px;line-height:15px}
.fw-project-progress{margin-top:10px;line-height:13px}
.fw-project-progress .progress{height:7px;margin-bottom:10px}
.fw-project-next{margin-top:10px;padding-top:10px;line-height:15px;font-weight:500}
.fw-project-next small{color:var(--text);font-weight:500}
.fw-project-search:focus-within{border-color:var(--accent)}
.fw-project-search>span{font-size:14px;line-height:17px}
.fieldwork-projects :is(button,summary):focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media(max-width:699px){
  .fw-employee-home header p{margin-top:14px;line-height:16px}
  .fw-employee-home section{margin-top:14px}
  .fw-eyebrow{line-height:13px}
  .fw-employee-clock h2{margin-top:12px;line-height:22px}
  .fw-employee-clock p{margin-top:12px;line-height:15px}
  .fw-employee-project h3{font-size:17px;line-height:21px}
  .fw-employee-project .progress{height:7px;margin-top:10px}
  .fw-employee-project-actions a,.fw-employee-project-actions button{font-size:13px;font-weight:600}
}
@media(min-width:700px){
  .fw-project-more-filters{margin-top:0}
  .fw-project-more-filters summary{top:18px;right:19px}
  .fw-project-card{padding:15px;gap:17px;min-height:118px}
  .fw-project-cover,.fw-project-cover.fw-cover-short{height:86px}
  .fw-project-title b{font-size:18px}
  .fw-project-location{margin-top:7px}
  .fw-project-progress{margin-top:7px}
  .fw-project-progress .progress{margin-bottom:7px}
  .fw-project-progress>small{font-size:12px}
  .fw-project-next{margin:0 0 0 5px;padding:0;line-height:15px;font-weight:400}
  .fw-open-project{width:175px;min-height:48px;display:grid;place-items:center;padding:10px;font-size:14px;font-weight:600}
}

.fw-employee-main,.fw-employee-side{display:contents}
.fw-employee-desktop-heading,.fw-employee-desktop-sub,.fw-employee-cover,.fw-employee-next,#fwEmployeeSidebar{display:none}
.fw-customer-grid{display:flex;flex-direction:column}
.fw-customer-main,.fw-customer-side,.fw-customer-project-title{display:contents}
.fw-customer-desktop,#fwCustomerAccountName{display:none}
.fw-customer-summary{order:0}.fw-customer-photos{order:1}.fw-customer-milestone{order:2}.fw-customer-updates{order:3}.fw-customer-more,.fw-customer-help{order:4}
.fw-form-back{display:none}.fw-form-section-label{margin:20px 0 12px;color:var(--muted);font-size:12px;font-weight:600}
.fw-form-sheet .field{position:relative}
.fw-form-sheet .field>label{padding-right:30px}
.fw-field-help summary{position:absolute;top:5px;right:5px;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;cursor:pointer;list-style:none;color:var(--muted);font-size:12px;font-weight:600}
.fw-field-help summary::-webkit-details-marker{display:none}
.fw-field-help summary:after{content:'';position:absolute;inset:8px;border:1px solid currentColor;border-radius:50%}
.fw-field-help[open] summary{color:var(--accent)}
.fw-field-help .field-note{margin:0;line-height:1.5}
.fw-field-help:not([open]){position:absolute;inset:0 0 auto;height:0}
.fw-operation-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}
.fw-operation-head h1{margin:0;font-size:26px;line-height:31px;letter-spacing:-.025em}
.fw-operation-head p{margin:5px 0 0;color:var(--muted);font-size:12px;line-height:15px}
.fw-operation-desktop-action{display:none}
.fw-operations-grid,.fw-operation-main,.fw-operation-side{display:flex;flex-direction:column;gap:14px}
.fw-operations .card{position:relative;padding:16px;border-radius:14px!important;box-shadow:0 3px 12px #14261c0d!important}
.fw-operations .card h2{margin:0 0 10px;font-size:17px;line-height:21px}
.fw-operations .card p{margin:0 0 12px;font-size:13px;line-height:17px}
.fw-operations .card p:last-child{margin-bottom:0}
.fw-operation-highlight{background:color-mix(in srgb,var(--surface) 94%,var(--accent))!important;border-color:color-mix(in srgb,var(--line) 75%,var(--accent))!important}
.fw-operation-highlight:before{content:'';position:absolute;left:0;top:12px;bottom:12px;width:3px;border-radius:3px;background:var(--accent)}
.fw-operation-item{display:flex;justify-content:space-between;gap:10px;width:100%;padding:6px 0;border:0;background:transparent;color:var(--text);font-size:13px;line-height:17px;text-align:left}
.fw-operation-item:first-child{padding-top:0}.fw-operation-item:last-child{padding-bottom:0}
.fw-operation-dot{margin:0 5px}.fw-operation-arrow{color:var(--muted)}
.fw-operation-mobile-actions{display:flex;gap:8px;margin-top:14px}.fw-operation-mobile-actions .btn{flex:1;min-height:48px;padding:10px 6px;font-size:14px}
.fw-operation-setting{text-align:left;color:var(--text);width:100%}.fw-operation-setting:hover{border-color:var(--accent)!important}
.fw-operation-muted{color:var(--muted);font-size:12px}
.fw-clock-person+.fw-clock-person{padding-top:10px;margin-top:10px;border-top:1px solid var(--line)}
.fw-time-person{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;padding:12px 0;border-bottom:1px solid var(--line)}
.fw-time-person:last-child{border-bottom:0;padding-bottom:0}.fw-time-person b{font-size:13px;font-weight:600}.fw-time-person small{display:block;margin-top:4px;color:var(--muted);font-size:11px}.fw-time-person .btn.small{font-size:11px;min-height:36px;padding:7px 9px}
.fw-operation-clock-meta{display:flex;flex-wrap:wrap;align-items:center;gap:10px;font-size:11px;color:var(--muted);margin-top:14px}
.fw-settings .actions{margin-top:14px}
@media(max-width:699px){
  .fw-time .fw-operation-main,.fw-time .fw-operation-side{display:contents}
  .fw-time .fw-operation-side>section{order:1}
  .fw-time-records{order:2}
  .fw-time .fw-operation-mobile-actions{position:fixed;z-index:19;bottom:calc(90px + env(safe-area-inset-bottom));left:20px;right:20px;margin:0}
  .fw-time{padding-bottom:104px}
}
@media(min-width:700px){
  .fw-operation-head{margin-bottom:20px}
  .fw-operation-head h1{font-size:32px;line-height:39px}
  .fw-operation-head p{margin-top:22px;font-size:14px;line-height:17px}
  .fw-operation-desktop-action{display:flex;gap:8px}
  .fw-operation-desktop-action .btn{min-height:48px}
  .fw-operations-grid{display:grid;grid-template-columns:minmax(0,638fr) minmax(0,399fr);gap:18px;align-items:start}
  .fw-operation-main,.fw-operation-side{gap:18px}
  .fw-operations .card{padding:20px}
  .fw-operations .card h2{font-size:19px;line-height:23px}
  .fw-operation-highlight{background:var(--surface)!important;border-color:var(--line)!important}
  .fw-operation-highlight:before{display:none}
  .fw-operation-mobile-actions{display:none}
}
@media(max-width:699px){
  .fw-form-modal{backdrop-filter:none;background:var(--bg)}
  .sheet.fw-form-sheet{height:100dvh;max-height:100dvh;width:100%;padding:88px 20px 100px;border:0;border-radius:0;box-shadow:none;background:var(--bg)!important;overscroll-behavior:contain}
  .fw-form-header{position:fixed;z-index:2;inset:0 0 auto;height:68px;padding:0 20px;background:var(--surface);justify-content:flex-start!important;gap:8px!important}
  .fw-form-header h2{font-size:20px;line-height:24px;letter-spacing:-.025em}
  .fw-form-header .btn{order:-1;margin-left:-12px;padding:0;width:44px;min-height:44px;border:0;background:transparent!important;box-shadow:none;font-size:28px;font-weight:400}
  .fw-form-back{display:inline}.fw-form-cancel-copy{display:none}
  .fw-form-section-label{margin:0 0 12px;line-height:15px}
  .fw-form-sheet .grid{display:contents}
  .fw-form-sheet .field{margin:0 0 12px;padding:13px;gap:11px;border:1px solid var(--line);border-radius:14px;background:var(--surface);box-shadow:0 3px 12px #14261c0d}
  .fw-form-sheet .field label{font-size:13px;line-height:16px;font-weight:600}
  .fw-form-sheet .field input,.fw-form-sheet .field select{min-height:46px}
  .fw-form-sheet .field textarea{min-height:82px}
  .fw-form-sheet .field :is(input,select,textarea):focus{outline:1px solid var(--accent)!important;outline-offset:0;box-shadow:none;border-color:var(--accent)!important}
  .fw-form-sheet .sheet-actions{position:fixed;z-index:2;inset:auto 0 0;display:flex;gap:12px;padding:18px 18px calc(14px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:var(--surface)}
  .fw-form-sheet .sheet-actions .btn{flex:1;min-height:48px;font-size:14px;font-weight:600}
  .fw-form-sheet .sheet-actions [data-action="cancel"]{order:0}
  .fw-form-sheet .sheet-actions .btn.primary{order:1}
  .fw-form-sheet .sheet-actions .btn.danger{order:2}
}
@media(min-width:1050px){
  body[data-role="employee"] .app{padding-left:235px!important;padding-bottom:0}
  body[data-role="employee"] .top{display:none!important}
  body[data-role="employee"] .page{max-width:none!important;width:100%;padding:32px 40px 64px 30px!important}
  #fwEmployeeSidebar{display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0;z-index:20;width:235px;padding:25px 24px 24px;background:var(--sidebar-bg);color:#ced8d1}
  #fwEmployeeSidebar .side-brand{display:flex;flex-direction:column;padding:0;height:55px;margin-bottom:40px;flex:none}
  #fwEmployeeSidebar .nav-group-label{display:block;margin:0 0 10px;font-size:10px;font-weight:600;color:#8da99a;text-transform:uppercase;line-height:12px}
  .fw-employee-nav{display:flex;align-items:center;gap:10px;min-height:42px;margin-bottom:5px;padding:10px 13px;border:0;border-radius:9px;background:transparent;color:#ced8d1;font-size:14px;font-weight:500;text-align:left}
  .fw-employee-nav.active{background:#2e493b;color:#fff}
  .fw-employee-nav:hover,.fw-employee-nav:focus-visible{background:#2b3d31;color:#fff}
  .fw-sidebar-icon{width:18px;height:18px;flex:none;background:currentColor;mask:var(--fw-icon) center/contain no-repeat;-webkit-mask:var(--fw-icon) center/contain no-repeat}
  .fw-employee-sidebar-bottom{margin-top:auto}
  .fw-employee-sidebar-bottom .avatar{width:28px;height:28px;background:#2e493b;color:#fff;font-size:10px}
  .fw-employee-sidebar-bottom small{display:block;margin-top:3px;font-size:10px;color:#a6b8ac}
  .fw-employee-home{max-width:none;margin:0;padding:0}
  .fw-employee-home header h1{font-size:31px;line-height:38px;letter-spacing:-.025em}
  .fw-employee-mobile-sub{display:none}
  .fw-employee-desktop-sub{display:block;margin-top:20px!important;font-size:14px!important;line-height:17px}
  .fw-employee-grid{display:grid;grid-template-columns:minmax(0,638fr) minmax(0,399fr);gap:18px;margin-top:20px}
  .fw-employee-main,.fw-employee-side{display:flex;flex-direction:column;gap:18px;min-width:0}
  .fw-employee-home section{margin-top:0}
  .fw-employee-clock{padding:20px}
  .fw-employee-clock .fw-eyebrow{line-height:13px}
  .fw-employee-clock h2{margin-top:13px;font-size:21px;line-height:26px}
  .fw-employee-clock p{margin-top:13px;font-size:13px;line-height:16px}
  .fw-employee-clock .btn{margin-top:13px;box-shadow:none}
  .fw-employee-work>.fw-eyebrow,.fw-employee-primary>.fw-eyebrow{display:none}
  .fw-employee-task-card{padding:20px}
  .fw-employee-desktop-heading{display:block;font-size:19px;line-height:23px;margin-bottom:11px!important}
  .fw-employee-work .fw-employee-desktop-heading{font-size:20px;line-height:24px;margin-bottom:3px!important}
  .fw-employee-task{padding:11px 0 14px}
  .fw-employee-task b{font-size:15px}
  .fw-employee-task small{font-size:12px}
  .fw-employee-project{padding:19px}
  .fw-employee-cover{display:block;width:100%;height:140px;object-fit:cover;border-radius:9px;margin-bottom:11px}
  .fw-employee-project h3{font-size:17px;line-height:21px}
  .fw-employee-project p{margin-top:11px;line-height:15px}
  .fw-employee-project .progress{margin:11px 0;height:7px}
  .fw-employee-project-actions{margin-top:11px}
  .fw-employee-project-actions button{font-size:13px;font-weight:600}
  .fw-employee-next{display:block;padding:19px}
  .fw-employee-next h2{font-size:19px;line-height:23px}
  .fw-employee-next p{margin-top:10px;color:var(--muted);font-size:13px}
  .fw-employee-others{grid-column:1/-1}
  body[data-role="customer"] .top{height:72px!important;padding:0 25px!important;border-bottom:0!important;box-shadow:none}
  body[data-role="customer"] .top .brand{display:flex!important;align-items:center;gap:16px;font-size:26px;letter-spacing:0}
  body[data-role="customer"] .top .brand:after{content:'Your project';font-size:15px;font-weight:500;color:var(--muted)}
  body[data-role="customer"] .top .sub{display:none}
  body[data-role="customer"] .header-account{padding:5px 10px;background:var(--surface-3);color:var(--accent);font-size:11px;font-weight:600;min-height:24px;letter-spacing:0}
  body[data-role="customer"] .header-account #headerRole,body[data-role="customer"] .header-account .avatar{display:none}
  #fwCustomerAccountName{display:inline}
  body[data-role="customer"] .page{padding:33px 28px 64px!important;max-width:none!important}
  .fw-customer-home{max-width:1190px;padding:0}
  .fw-customer-mobile{display:none}.fw-customer-desktop{display:inline}
  .fw-customer-home header h1{font-size:30px;line-height:36px;letter-spacing:-.025em}
  .fw-customer-home header p{margin-top:20px;font-size:14px;line-height:17px}
  .fw-customer-grid{display:grid;grid-template-columns:minmax(0,740fr) minmax(0,430fr);gap:20px;margin-top:20px}
  .fw-customer-main,.fw-customer-side{display:flex;flex-direction:column;gap:18px;min-width:0}
  .fw-customer-grid section{margin-top:0}
  .fw-customer-summary{display:block;padding:18px}
  .fw-customer-cover{height:205px;border-radius:10px}
  .fw-customer-project-title{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:14px}
  .fw-customer-summary h2{margin:0;font-size:21px;line-height:26px}
  .fw-customer-summary p{margin-top:14px;font-size:13px;line-height:16px}
  .fw-customer-summary .progress{margin-top:14px}
  .fw-customer-summary small{margin-top:14px;line-height:15px}
  .fw-customer-updates,.fw-customer-photos{padding:19px;border:1px solid var(--line);border-radius:14px;background:var(--surface);box-shadow:0 3px 12px #14261c0d}
  .fw-customer-updates>.fw-eyebrow{font-size:19px;line-height:23px;color:var(--text);text-transform:none;letter-spacing:-.025em;margin-bottom:12px}
  .fw-customer-updates>.card,.fw-customer-photos>.fw-customer-empty{padding:0;border:0;box-shadow:none!important}
  .fw-customer-updates strong{font-size:16px;font-weight:600}
  .fw-customer-updates p{font-size:14px;margin-top:12px}
  .fw-customer-milestone{order:-1;padding:19px}
  .fw-customer-milestone .fw-eyebrow{font-size:19px;line-height:23px;letter-spacing:-.025em;font-weight:700;text-transform:none;color:var(--text)}
  .fw-customer-milestone h2{display:inline-block;margin-top:12px;padding:5px 10px;border-radius:14px;background:var(--surface-3);color:var(--accent);font-size:11px;line-height:13px;font-weight:600;letter-spacing:0}
  .fw-customer-milestone p{margin-top:12px;font-size:14px}
  .fw-customer-section-head{margin-bottom:12px}
  .fw-customer-section-head h2{font-size:19px;line-height:23px}
  .fw-customer-gallery{gap:8px}
  .fw-customer-gallery button{height:93px}
  .fw-customer-more,.fw-customer-help{grid-column:1/-1}
}
.fw-project-section{padding-bottom:36px}
.fw-section-breadcrumb{font-size:12px;line-height:15px;color:var(--muted);margin-bottom:14px}
.fw-section-breadcrumb button{padding:0;border:0;background:transparent;color:inherit;font-size:inherit;text-align:left}
.fw-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
.fw-section-heading h1{font-size:24px;line-height:29px;letter-spacing:-.025em;margin:0}
.fw-section-description{color:var(--muted);font-size:12px;line-height:15px;margin:6px 0 18px}
.fw-section-tabs{display:flex;gap:7px;flex-wrap:wrap}
.fw-section-tabs button{border:0;border-radius:14px;padding:5px 10px;background:var(--surface);color:var(--muted);font-size:11px;line-height:14px;font-weight:600}
.fw-section-tabs button.active{background:var(--accent);color:var(--on-accent)}
.fw-section-desktop{display:none!important}
.fw-crew-grid{display:flex;flex-direction:column;gap:14px}
.fw-crew-grid>.card{position:relative;border-radius:14px!important;box-shadow:0 3px 12px #14261c0d!important}
.fw-project-section .fw-detail-pane h2{font-size:16px;line-height:19px;margin-bottom:9px}
.fw-crew-assigned p{color:var(--text)!important;line-height:20px;margin:0 0 9px!important}
.fw-crew-assigned p:last-child{margin-bottom:0!important}
.fw-crew-assigned p span{margin:0 5px}
.fw-crew-labor summary{list-style:none;cursor:pointer}
.fw-crew-labor summary::-webkit-details-marker{display:none}
.fw-crew-labor summary p{margin-bottom:0}
.fw-crew-labor .list{margin-top:12px}
.fw-crew-editor>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:center;min-height:48px;border-radius:10px;background:var(--accent);color:var(--on-accent);font-size:14px;font-weight:600}
.fw-crew-editor>summary::-webkit-details-marker{display:none}
.fw-crew-editor-fields{margin-top:16px}
.fw-crew-editor-fields .row{gap:14px}
.fw-crew-editor-fields input{width:20px;height:20px;flex:none;accent-color:var(--accent)}
.fw-category summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:29px;font-size:13px;cursor:pointer}
.fw-category summary::-webkit-details-marker{display:none}
.fw-category-status{margin-left:5px;color:var(--muted)}
.fw-category-manage{font-size:11px;color:var(--accent)}
.fw-category .actions{margin:10px 0 14px}
.fw-category-mobile-action .btn{width:100%;min-height:48px}
.fw-schedule-summary{margin:14px 0;padding:16px;border-radius:14px!important}
.fw-schedule-summary>b{font-size:15px;line-height:18px}
.fw-schedule-summary .progress{height:7px;margin:10px 0}
.fw-schedule-summary>small{font-size:12px;color:var(--muted)}
.fw-schedule-caption{margin:14px 0;color:var(--muted);font-size:11px;font-weight:600;text-transform:uppercase}
.fw-project-schedule .fw-detail-pane{margin-top:0}
.fw-schedule-grid{display:flex;flex-direction:column;gap:14px}
.fw-schedule-day{border-radius:14px!important;padding:15px!important}
.fw-project-schedule .fw-detail-pane .fw-schedule-day h2{font-size:17px;line-height:21px;margin-bottom:11px}
.fw-schedule-day>.pill{margin-bottom:11px}
.fw-schedule-task{display:flex;align-items:flex-start;gap:10px;width:100%;padding:12px 0;border:0;border-top:1px solid var(--line);background:transparent;color:var(--text);text-align:left}
.fw-schedule-task b{display:block;font-size:14px;font-weight:600;line-height:18px}
.fw-schedule-task small{display:block;margin-top:9px;color:var(--muted);font-size:12px;line-height:15px}
.fw-schedule-task .fw-task-square{margin-top:4px;width:10px;height:10px;flex:none}
.fw-schedule-task:last-child{padding-bottom:0}
.fw-takeoff-list{display:flex;flex-direction:column;gap:14px}
.fw-takeoff-card{position:relative;width:100%;padding:16px!important;color:var(--text);text-align:left;border-radius:14px!important}
.fw-takeoff-card h2{font-size:16px;line-height:19px;margin:0 0 9px!important}
.fw-takeoff-card p{font-size:13px;line-height:20px;margin:0 0 9px!important;color:var(--text)!important}
.fw-takeoff-card p:last-child{margin-bottom:0!important}
.fw-takeoff-mobile-action{margin-top:14px;padding:16px!important;border-radius:14px!important}
.fw-takeoff-mobile-action .btn{width:100%;min-height:48px}
.fw-takeoffs .fw-operation-side{display:none}
.fw-project-takeoff-grid .fw-operation-side .card{width:100%;border-radius:14px!important}
.fw-section-records-grid,.fw-photo-primary{display:flex;flex-direction:column;gap:14px}
.fw-section-records-grid .card{position:relative;width:100%;padding:16px!important;border-radius:14px!important;box-shadow:0 3px 12px #14261c0d!important}
.fw-section-records-grid h2{margin:0 0 9px!important}
.fw-section-records-grid p{font-size:13px;line-height:20px;color:var(--text);margin:0 0 9px}
.fw-section-records-grid p:last-child{margin-bottom:0}
.fw-section-records-grid .card .card.empty{padding:0!important;border:0;box-shadow:none!important;background:transparent!important;text-align:left}
.fw-record summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;cursor:pointer;min-height:29px;font-size:13px;line-height:20px}
.fw-record summary::-webkit-details-marker{display:none}
.fw-record summary small{font-size:11px;color:var(--accent)}
.fw-record-details{margin:9px 0 14px;padding-top:9px;border-top:1px solid var(--line)}
.fw-record-details .row{padding:0;border:0;background:transparent}
.fw-section-action-card{padding:16px!important;border-radius:14px!important;margin-top:14px}
.fw-section-action-card>.btn{width:100%;min-height:48px}
.fw-section-action-card .actions,.fw-section-action-card .photo-actions{display:flex;gap:8px}
.fw-section-action-card .actions>.btn,.fw-section-action-card .photo-actions>.btn{flex:1;min-height:48px;padding:10px 6px}
.fw-photo-preview{padding:14px!important}
.fw-photo-previews{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.fw-photo-previews .photo-open{border:0;padding:0;border-radius:8px;overflow:hidden}
.fw-photo-previews .photo-thumb{width:100%;height:88px;object-fit:cover}
.fw-photo-manage summary{list-style:none;cursor:pointer}
.fw-photo-manage summary::-webkit-details-marker{display:none}
.fw-photo-manage .photo-grid{margin-top:14px}
.fw-update-card>b{display:block;font-size:16px;line-height:20px;margin-bottom:9px}
.fw-update-card .sub{font-size:12px;line-height:18px}
.fw-project-schedule .fw-section-heading h1{font-size:26px;line-height:31px}
.fw-schedule-summary .progress{background:var(--line)!important}
.fw-access-record summary{list-style:none;cursor:pointer;font-size:13px;line-height:20px;padding:5px 0}
.fw-access-record summary::-webkit-details-marker{display:none}
.fw-access-record[open]>summary{font-weight:600}
.fw-access-record>.card,.fw-access-record>.row{margin:10px 0 14px}
.fw-access-record .card{background:var(--surface)!important;padding:12px!important}
.fw-access-record .field-error{font-size:12px}
.fw-access .field-error{margin:6px 0;font-size:12px}
.fw-access-projects p{color:var(--muted)}
.fw-payroll-options{margin:0 0 14px;color:var(--muted);font-size:12px}
.fw-payroll-options>summary{cursor:pointer}
.fw-payroll-options .actions{margin-top:12px}
.fw-payroll-records .fw-operation-item{min-height:29px}
.fw-payroll-actions>.actions{display:flex;gap:8px;margin:14px 0;padding:16px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}
.fw-payroll-actions .btn{min-height:48px;flex:1;padding:10px 6px}
.fw-payroll .pay-wrap{margin-top:14px;background:var(--surface)}
.fw-more{max-width:720px;padding-bottom:28px}
.fw-more h1{font-size:28px;line-height:34px;margin:0 0 14px}
.fw-more .card{border-radius:14px!important;box-shadow:0 3px 12px #14261c0d!important}
.fw-more-account{width:100%;padding:16px;text-align:left;color:var(--text)}
.fw-more-account h2{font-size:16px;line-height:19px;margin:0 0 6px}
.fw-more-account p{color:var(--muted);font-size:12px;line-height:15px;margin:0}
.fw-more-label{font-size:11px!important;line-height:13px;letter-spacing:0;text-transform:uppercase;color:var(--muted);margin:16px 0 13px}
.fw-more-menu{padding:13px!important}
.fw-more-menu>button{display:flex;align-items:center;gap:11px;width:100%;height:49px;border:0;border-bottom:1px solid var(--line);background:transparent;color:var(--text);font-size:14px;line-height:20px;text-align:left}
.fw-more-menu>button:last-child{border-bottom:0}
.fw-more-menu>button>span:nth-child(2){flex:1}
.fw-more-menu>button>span:last-child{font-size:19px;font-weight:600;color:var(--muted);margin-right:12px}
.fw-more-icon{display:flex;align-items:center;justify-content:center;width:30px;height:30px;flex:none;background:var(--surface-3);border-radius:8px}
.fw-more-icon img{display:block}
.fw-more-extra{margin:12px 0;color:var(--muted);font-size:12px}
.fw-more-extra>summary{min-height:32px;cursor:pointer;line-height:32px}
.fw-more-extra>.card{margin-top:8px}
.fw-quick-help h3{font-size:16px;margin:20px 0 8px}.fw-quick-help h3:first-child{margin-top:0}
.fw-quick-help p{font-size:14px;line-height:1.6;color:var(--muted)}
@media(max-width:1049px){
  :root:is([data-theme="light"],[data-resolved-theme="light"])[data-company-theme="fieldwork"] .fw-operation-highlight{background:#edf6ef!important;border-color:#cde0d1!important}
  :root:is([data-theme="light"],[data-resolved-theme="light"]) .fw-section-records-grid .fw-purchase-summary{background:#fff8e5!important}
}
@media(min-width:1050px){
  .fw-section-desktop{display:inline!important}.fw-section-mobile{display:none}
  .fw-section-breadcrumb{margin-bottom:18px}
  .fw-section-heading h1{font-size:29px;line-height:35px}
  .fw-section-heading{align-items:flex-start}
  .fw-section-heading .btn{display:flex!important;min-height:48px;width:190px}
  .fw-section-description{font-size:14px;line-height:17px;margin:18px 0}
  .fw-section-tabs{gap:9px}
  .fw-project-section .fw-detail-pane{margin-top:18px}
  .fw-crew-grid{display:grid;grid-template-columns:minmax(0,638fr) minmax(0,399fr);gap:18px;align-items:start}
  .fw-crew-grid .card{padding:19px}
  .fw-project-section .fw-crew-grid h2{font-size:19px;line-height:23px;margin-bottom:11px}
  .fw-crew-grid p{font-size:14px}
  .fw-crew-editor{grid-column:1/-1;display:none}
  .fw-crew-editor[open]{display:block}
  .fw-category summary{font-size:14px;min-height:31px}
  .fw-category-mobile-action{display:none}
  .fw-schedule-summary{max-width:638px;margin:18px 0}
  .fw-schedule-grid{display:grid;grid-template-columns:minmax(0,638fr) minmax(0,399fr);gap:18px;align-items:start}
  .fw-schedule-day{padding:19px!important}
  .fw-takeoff-card h2{font-size:19px;line-height:23px}
  .fw-project-section .fw-takeoff-card h2{font-size:19px;line-height:23px;margin-bottom:11px!important}
  .fw-takeoff-card{padding:19px!important}
  .fw-takeoff-card p{font-size:14px}
  .fw-takeoff-mobile-action{display:none}
  .fw-takeoffs .fw-operation-side{display:flex}
  .fw-project-takeoff-grid .fw-operation-main,.fw-project-takeoff-grid .fw-operation-side{display:contents}
  .fw-project-takeoff-grid .fw-operation-side>.card{grid-column:1}
  .fw-project-section{position:relative}
  .fw-section-records-grid{display:grid;grid-template-columns:minmax(0,638fr) minmax(0,399fr);gap:18px;align-items:start}
  .fw-section-records-grid .card{padding:19px!important}
  .fw-project-section .fw-section-records-grid h2{font-size:19px;line-height:23px;margin-bottom:11px!important}
  .fw-section-records-grid p,.fw-record summary{font-size:14px}
  .fw-update-card>b{font-size:19px;line-height:23px;margin-bottom:11px}
  :is(.fw-project-photos,.fw-project-updates,.fw-project-materials,.fw-project-documents) .fw-section-heading{min-height:48px}
  .fw-section-note{grid-column:1}
  .fw-section-action-card{position:absolute;right:0;top:33px;margin:0;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
  .fw-section-action-card>.btn{min-width:190px}
  .fw-section-action-card .btn{min-width:155px}
  .fw-financial-revenue{grid-column:1;grid-row:1}.fw-financial-profit{grid-column:1;grid-row:2}.fw-financial-costs{grid-column:2;grid-row:1}.fw-financial-note{grid-column:2;grid-row:2}
  .fw-photo-primary{gap:0;border:1px solid var(--line);border-radius:14px;background:var(--surface);padding:19px}
  .fw-photo-primary>.card{border:0;box-shadow:none!important;padding:0!important;background:transparent!important}
  .fw-photo-preview h2{display:block!important}
  .fw-photo-previews{gap:9px}.fw-photo-previews .photo-thumb{height:120px}
  .fw-photo-manage{margin-top:11px}
  .fw-photo-manage .photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .fw-access-projects,.fw-payroll-records{grid-column:1}
  .fw-access-record summary{font-size:14px;padding:6px 0}
  .fw-payroll-actions .btn{flex:none;min-width:180px}
  .fw-more h1{font-size:32px;line-height:39px}
}
.fw-takeoff-detail-grid{display:flex;flex-direction:column;gap:14px}
.fw-takeoff-detail-grid .fw-operation-mobile-actions{margin-top:0}
.fw-takeoff-detail .card h2,.fw-app-settings .card h2{font-size:16px;line-height:20px;margin-bottom:9px}
.fw-takeoff-detail .card p,.fw-app-settings .card p{line-height:20px}
.fw-takeoff-line{display:flex;align-items:baseline;justify-content:space-between;gap:12px;width:100%;padding:5px 0;background:none;border:0;color:var(--text);text-align:left;font-size:13px;line-height:20px}
.fw-takeoff-line span:last-child{white-space:nowrap}
.fw-takeoff-line:hover{color:var(--accent)}
.fw-takeoff-back{margin-top:16px}
.fw-takeoff-detail .fw-detail-expanded{margin-top:18px}
.fw-app-settings button.card{width:100%;color:var(--text);text-align:left}
.fw-app-settings .fw-app-account .fw-text-action{margin-top:10px}
.fw-app-install summary{cursor:pointer;font-size:13px;line-height:20px;list-style:none}
.fw-app-install summary::-webkit-details-marker{display:none}
.fw-app-install details[open] summary{margin-bottom:14px}
.fw-app-install .app-install-card{box-shadow:none!important;padding:0!important;border:0}
.fw-form-sheet .row .sub{display:block;margin-top:5px}
.fw-biweekly .hero h1{font-size:26px;line-height:32px;margin-top:18px}
.fw-biweekly>.actions{padding:16px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}
.fw-biweekly>.actions input{margin-left:8px;max-width:155px}
.fw-biweekly .stat{font-size:26px;letter-spacing:-.025em}
.fw-biweekly .section{margin-top:18px}
.fw-biweekly .row{align-items:flex-start}
.fw-biweekly .row .sub{max-width:45%;text-align:right}
@media(max-width:699px){
  .fw-biweekly .pay-wrap{overflow:visible}
  .fw-biweekly .pay-table{width:100%;display:block}
  .fw-biweekly .pay-table thead{position:absolute;clip:rect(0,0,0,0);clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap}
  .fw-biweekly .pay-table tbody{display:grid;gap:14px}
  .fw-biweekly .pay-table tr{display:block;padding:16px;border:1px solid var(--line);border-radius:14px;background:var(--surface);box-shadow:0 3px 12px #14261c0d}
  .fw-biweekly .pay-table td{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;text-align:right;padding:7px 0;border:0;font-size:13px;line-height:20px;overflow-wrap:anywhere}
  .fw-biweekly .pay-table td:before{content:attr(data-label);color:var(--muted);text-align:left}
  .fw-biweekly .pay-table td:first-child{font-weight:600}
  .fw-biweekly .pay-table td[colspan]{display:block;text-align:left}
}
@media(min-width:1050px){
  .fw-takeoff-detail-grid{display:grid;grid-template-columns:minmax(0,638fr) minmax(0,399fr);gap:18px;align-items:start}
  .fw-takeoff-detail .fw-operation-head h1,.fw-app-settings .fw-operation-head h1{font-size:30px;line-height:36px}
  .fw-takeoff-detail .card,.fw-app-settings .card{padding:19px}
  .fw-takeoff-summary{grid-column:1;grid-row:1}
  .fw-takeoff-category:nth-child(2){grid-column:2;grid-row:1}
  .fw-takeoff-category:nth-child(3){grid-column:1;grid-row:2}
  .fw-takeoff-detail .fw-operation-mobile-actions{display:none}
  .fw-takeoff-note{grid-column:2}
  .fw-takeoff-detail .card h2,.fw-app-settings .card h2{font-size:19px;line-height:23px;margin-bottom:11px}
  .fw-takeoff-detail .card p,.fw-app-settings .card p,.fw-takeoff-line,.fw-app-install summary{font-size:14px}
  .fw-app-appearance{grid-column:1;grid-row:1}
  .fw-app-account{grid-column:2;grid-row:1}
  .fw-app-company,.fw-app-install{grid-column:1}
}
.fw-task-detail-grid{display:flex;flex-direction:column;gap:14px}
.fw-task-detail .card{position:relative;padding:16px;border-radius:14px;box-shadow:0 3px 12px #14261c0d}
.fw-task-detail .card h2{font-size:16px;line-height:20px;margin:0 0 9px}
.fw-task-detail .card p{font-size:13px;line-height:20px;margin:0 0 9px;white-space:pre-wrap}
.fw-task-detail .card p:last-child{margin-bottom:0}
.fw-task-detail .fw-section-heading h1{font-size:24px;line-height:29px}
.fw-task-detail .fw-section-subtitle{font-size:12px;color:var(--muted);margin:5px 0 18px}
.fw-task-detail .fw-section-action-card{position:static;display:flex;margin:0}
.fw-task-detail .fw-section-action-card .btn{width:100%;min-height:48px}
.fw-task-detail .fw-detail-expanded{margin-top:18px}
@media(min-width:1050px){
  .fw-task-detail-grid{display:grid;grid-template-columns:minmax(0,638fr) minmax(0,399fr);gap:18px;align-items:start}
  .fw-task-status{grid-column:1;grid-row:1}
  .fw-task-schedule{grid-column:2;grid-row:1}
  .fw-task-assignment{grid-column:1;grid-row:2}
  .fw-task-description{grid-column:2;grid-row:2}
  .fw-task-detail .card{padding:19px}
  .fw-task-detail .card h2{font-size:19px;line-height:23px;margin-bottom:11px}
  .fw-task-detail .card p{font-size:14px}
  .fw-task-detail .fw-section-heading h1{font-size:30px;line-height:36px}
  .fw-task-detail .fw-section-subtitle{font-size:14px;margin-top:22px}
  .fw-task-detail .fw-section-action-card{display:none}
}
.fw-independent-primary,.fw-independent-secondary{display:contents}
@media(min-width:1050px){.fw-independent-primary,.fw-independent-secondary{display:flex;flex-direction:column;gap:18px;min-width:0}}
.fw-record-metadata{display:block;margin-top:4px;color:var(--muted);font-size:12px;line-height:18px}
