
body.page-4u-tech{background:#f5f7fb}
.fouru-tech-shell{max-width:760px;margin:0 auto;padding:18px;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:#0f172a}
.fouru-tech-top{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:8px 0 18px}
.fouru-tech-top small{font-weight:900;letter-spacing:.12em;color:#64748b}
.fouru-tech-top h1{margin:3px 0;font-size:28px}
.fouru-tech-user{font-weight:800}
.fouru-tech-job,.fouru-tech-card,.fouru-tech-login{display:block;background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:18px;margin:14px 0;text-decoration:none!important;color:#0f172a!important;box-shadow:0 8px 24px rgba(15,23,42,.06)}
.fouru-tech-job h3{font-size:22px;margin:14px 0 6px}
.fouru-tech-job p{margin:6px 0}
.fouru-tech-job-head,.fouru-tech-actions{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.fouru-tech-brand,.fouru-tech-status{display:inline-block;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:900}
.fouru-tech-brand.cleaning{background:#ecfeff;color:#155e75}
.fouru-tech-brand.floors{background:#fff7ed;color:#9a3412}
.fouru-tech-status{background:#f1f5f9;color:#334155}
.fouru-tech-address{color:#475569}
.fouru-tech-btn{appearance:none;border:0;background:#1d4ed8;color:white!important;border-radius:12px;padding:12px 16px;font-weight:900;text-decoration:none!important;display:inline-block;cursor:pointer}
.fouru-tech-btn.secondary{background:#e2e8f0;color:#0f172a!important}
.fouru-tech-btn.active{outline:3px solid #93c5fd}
.fouru-tech-inline{display:inline-block;margin:4px 4px 4px 0}
.fouru-tech-card h2{margin-top:0}
.fouru-tech-card label{display:block;font-weight:800;margin:14px 0}
.fouru-tech-card input[type=text],.fouru-tech-card input[type=file],.fouru-tech-card select,.fouru-tech-card textarea{width:100%;box-sizing:border-box;padding:11px;border:1px solid #cbd5e1;border-radius:10px;margin-top:6px}
.fouru-tech-success{background:#ecfdf5;color:#047857;padding:12px 14px;border-radius:12px;font-weight:800}
.fouru-tech-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:15px}
.fouru-tech-thumb{position:relative;display:block;border-radius:12px;overflow:hidden;background:#e2e8f0;aspect-ratio:1/1}
.fouru-tech-thumb img{width:100%;height:100%;object-fit:cover}
.fouru-tech-thumb span{position:absolute;left:6px;bottom:6px;background:rgba(15,23,42,.8);color:#fff;padding:3px 7px;border-radius:999px;font-size:11px}
.fouru-sign-wrap{border:2px dashed #94a3b8;border-radius:12px;background:#fff;margin:10px 0;overflow:hidden}
.fouru-sign-canvas{display:block;width:100%;height:180px;touch-action:none}
.fouru-check{display:flex!important;align-items:center;gap:8px}
.fouru-check input{width:auto!important}
.fouru-tech-copy{color:#475569;line-height:1.6}
.fouru-tech-sign-list>div{padding:10px 0;border-top:1px solid #e2e8f0}
.fouru-tech-sign-list small{display:block;color:#64748b;margin-top:3px}
.fouru-tech-back{font-weight:800;text-decoration:none}
.fouru-tech-empty{text-align:center;background:#fff;border-radius:16px;padding:40px;color:#64748b}
@media(max-width:600px){
  .fouru-tech-shell{padding:10px}
  .fouru-tech-top{align-items:flex-start}
  .fouru-tech-gallery{grid-template-columns:repeat(2,1fr)}
}


/* v1.9.4 Technician mobile app cleanup */
html:has(body.fouru-tech-app-body){background:#f5f7fb}
body.fouru-tech-app-body{margin:0!important;background:#f5f7fb!important;min-height:100vh}
body.fouru-tech-app-body #wpadminbar{display:none!important}
body.fouru-tech-app-body #fouru-tech-app-main{min-height:100vh;padding-bottom:84px}
body.fouru-tech-app-body .wp-site-blocks,
body.fouru-tech-app-body header.wp-block-template-part,
body.fouru-tech-app-body footer.wp-block-template-part{display:none!important}

.fouru-tech-shell{max-width:760px;margin:0 auto;padding:14px 14px 92px}
.fouru-tech-top{background:#0f172a;color:#fff;padding:16px;border-radius:18px;margin:0 0 14px;box-shadow:0 8px 24px rgba(15,23,42,.12)}
.fouru-tech-top small{color:#cbd5e1}
.fouru-tech-top h1{color:#fff;font-size:26px}
.fouru-tech-user{color:#fff}
.fouru-tech-overview{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:14px 0}
.fouru-tech-overview>div{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:12px;text-align:center;box-shadow:0 4px 12px rgba(15,23,42,.04)}
.fouru-tech-overview span,.fouru-tech-overview small{display:block;color:#64748b;font-size:11px;font-weight:800}
.fouru-tech-overview strong{display:block;font-size:28px;line-height:1.1;color:#0f172a;margin:4px 0}
.fouru-tech-section-title{display:flex;align-items:end;justify-content:space-between;gap:8px;margin:18px 2px 8px}
.fouru-tech-section-title h2{font-size:20px;margin:0}
.fouru-tech-section-title span{font-size:12px;color:#64748b}
.fouru-tech-job{padding:16px;margin:10px 0}
.fouru-tech-job h3{font-size:20px;margin:10px 0 4px}
.fouru-tech-card{padding:16px;margin:12px 0;border-radius:16px}
.fouru-tech-card h2{font-size:20px}
.fouru-tech-workflow{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:12px 0}
.fouru-tech-workflow>div{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:10px 6px;text-align:center;color:#64748b}
.fouru-tech-workflow>div.done{background:#ecfdf5;border-color:#a7f3d0;color:#047857}
.fouru-tech-workflow span{display:block;font-size:22px;font-weight:900}
.fouru-tech-workflow small{display:block;font-size:10px;font-weight:800;line-height:1.2;margin-top:4px}
.fouru-tech-bottom-nav{position:fixed;z-index:9999;left:50%;bottom:max(10px,env(safe-area-inset-bottom));transform:translateX(-50%);width:min(720px,calc(100% - 20px));display:grid;grid-template-columns:repeat(4,1fr);gap:4px;background:#0f172a;padding:8px;border-radius:16px;box-shadow:0 12px 30px rgba(15,23,42,.28)}
.fouru-tech-bottom-nav a{color:#fff!important;text-decoration:none!important;text-align:center;padding:10px 4px;border-radius:10px;font-size:12px;font-weight:800}
.fouru-tech-bottom-nav a:active{background:#1e293b}
.fouru-tech-expense-wrap{scroll-margin-top:12px}
#job-status,#photos,#signature,#today,#expenses{scroll-margin-top:16px}
@media(max-width:600px){
  .fouru-tech-shell{padding:10px 10px 92px}
  .fouru-tech-top{align-items:center;padding:14px}
  .fouru-tech-top h1{font-size:22px}
  .fouru-tech-user{font-size:13px;max-width:42%;text-align:right}
  .fouru-tech-job,.fouru-tech-card{border-radius:15px}
  .fouru-tech-actions .fouru-tech-btn,
  .fouru-tech-inline .fouru-tech-btn{min-height:46px}
  .fouru-tech-inline{display:block;margin:8px 0}
  .fouru-tech-inline .fouru-tech-btn{width:100%;text-align:center}
  .fouru-tech-actions{display:grid;grid-template-columns:1fr 1fr}
  .fouru-tech-actions .fouru-tech-btn{text-align:center}
  .fouru-sign-canvas{height:150px}
}


/* v1.9.6 Technician money balance */
.fouru-tech-money-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0}
.fouru-tech-money-grid>div{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:10px}
.fouru-tech-money-grid span{display:block;font-size:11px;color:#64748b;font-weight:700}
.fouru-tech-money-grid strong{display:block;font-size:20px;margin-top:4px}
.fouru-tech-money-net{padding:12px;border-radius:12px;margin-top:10px}
.fouru-tech-money-net b,.fouru-tech-money-net small{display:block}
.fouru-tech-money-net small{margin-top:4px}
.fouru-tech-money-net.owes-company{background:#fff7ed;color:#9a3412}
.fouru-tech-money-net.company-owes{background:#eff6ff;color:#1d4ed8}
.fouru-tech-money-net.settled{background:#ecfdf5;color:#047857}
.fouru-tech-bottom-nav.five{grid-template-columns:repeat(5,1fr)}
@media(max-width:600px){
 .fouru-tech-money-grid{grid-template-columns:1fr}
 .fouru-tech-bottom-nav.five a{font-size:10px;padding:10px 2px}
}


/* v2.8.0 payment state */
.fouru-tech-card .fouru-mini-status{display:inline-block;padding:4px 8px;border-radius:999px;font-size:11px;font-weight:800;background:#eef2f7;color:#334155}

/* v3.1.8 Technician attendance & shift clock */
.fouru-attendance-card{border:2px solid #dbeafe}
.fouru-attendance-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.fouru-attendance-head small{font-size:10px;letter-spacing:.12em;font-weight:900;color:#64748b}
.fouru-attendance-head h2{margin:3px 0 0}
.fouru-attendance-status{display:inline-flex;align-items:center;padding:7px 10px;border-radius:999px;font-size:11px;font-weight:900;white-space:nowrap;background:#f1f5f9;color:#334155}
.fouru-attendance-status.working{background:#ecfdf5;color:#047857}
.fouru-attendance-status.clocked_out{background:#eff6ff;color:#1d4ed8}
.fouru-attendance-status.needs_clock_in{background:#fff7ed;color:#9a3412}
.fouru-attendance-alert{display:flex;flex-direction:column;gap:4px;margin:14px 0;padding:13px 14px;border-radius:12px}
.fouru-attendance-alert.warning{background:#fff7ed;color:#9a3412;border:1px solid #fed7aa}
.fouru-attendance-alert.danger{background:#fef2f2;color:#b91c1c;border:1px solid #fecaca}
.fouru-attendance-alert span{font-size:13px;line-height:1.45}
.fouru-attendance-times{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:14px 0}
.fouru-attendance-times>div{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:10px;text-align:center}
.fouru-attendance-times span{display:block;font-size:10px;color:#64748b;font-weight:800}
.fouru-attendance-times strong{display:block;font-size:18px;margin-top:4px}
.fouru-attendance-window{font-size:12px;color:#475569}
.fouru-attendance-action .fouru-tech-btn{width:100%;text-align:center;min-height:48px}
.fouru-attendance-action .clock-out{background:#b91c1c}
.fouru-attendance-complete{background:#ecfdf5;color:#047857;border-radius:12px;padding:12px;text-align:center;font-weight:900}
.fouru-tech-bottom-nav.six{grid-template-columns:repeat(6,1fr)}
@media(max-width:600px){
 .fouru-attendance-times{grid-template-columns:repeat(3,1fr)}
 .fouru-attendance-times strong{font-size:15px}
 .fouru-tech-bottom-nav.six a{font-size:9px;padding:10px 1px}
}


/* v3.5.4 PREPAID + full field workflow */
.fouru-tech-prepaid-badge{display:inline-flex;margin-top:8px;padding:6px 10px;border-radius:999px;background:#dcfce7;color:#166534;font-size:11px;font-weight:950;letter-spacing:.03em}
.fouru-tech-prepaid-banner{display:flex;flex-direction:column;gap:4px;margin:10px 0 14px;padding:14px 16px;border:1px solid #86efac;background:#f0fdf4;color:#166534;border-radius:16px;box-shadow:0 6px 18px rgba(22,101,52,.08)}
.fouru-tech-prepaid-banner strong{font-size:16px}.fouru-tech-prepaid-banner span{font-size:12px;line-height:1.45}
.fouru-tech-prepaid-note{padding:12px 14px;border-radius:12px;background:#f0fdf4;color:#166534;border:1px solid #bbf7d0;margin:12px 0}
.fouru-live-payment{background:#fff;border:1px solid #dbe3ee;border-radius:16px;padding:14px 16px;margin:12px 0;box-shadow:0 6px 18px rgba(15,23,42,.05)}
.fouru-live-payment.is-prepaid{background:#f0fdf4;border-color:#86efac}.fouru-live-payment.is-deposit{background:#eff6ff;border-color:#93c5fd}.fouru-live-payment.is-paid{background:#ecfdf5;border-color:#a7f3d0}
.fouru-live-payment-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.fouru-live-payment-head strong{font-size:13px;letter-spacing:.03em}
.fouru-live-dot{width:9px;height:9px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 4px rgba(34,197,94,.14);animation:fouruLivePulse 1.5s infinite}
@keyframes fouruLivePulse{50%{box-shadow:0 0 0 8px rgba(34,197,94,0)}}
.fouru-live-payment-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}.fouru-live-payment-grid span{background:rgba(255,255,255,.7);border:1px solid rgba(148,163,184,.28);border-radius:12px;padding:9px 10px}.fouru-live-payment-grid small{display:block;color:#64748b;font-size:10px;text-transform:uppercase;font-weight:800}.fouru-live-payment-grid b{font-size:17px}
.fouru-live-payment-links{display:flex;gap:10px;margin-top:10px}.fouru-live-payment-links a{font-size:12px;font-weight:850;text-decoration:none}


/* v3.5.5 guided field workflow */
.fouru-tech-guidance{display:flex;flex-direction:column;gap:5px;margin:12px 0;padding:14px 16px;border-radius:14px;border:1px solid #bfdbfe;background:#eff6ff;color:#1e3a8a}
.fouru-tech-guidance.error{border-color:#fed7aa;background:#fff7ed;color:#9a3412}.fouru-tech-guidance strong{font-size:14px}.fouru-tech-guidance span{font-size:12px;line-height:1.45}
.fouru-tech-current-state{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:10px 12px;margin:12px 0}.fouru-tech-current-state small{font-size:10px;font-weight:900;color:#64748b;letter-spacing:.08em}.fouru-tech-current-state strong{font-size:14px}
.fouru-tech-next-step{display:flex;flex-direction:column;gap:6px;margin:12px 0;padding:14px;border-radius:14px;background:#f8fafc;border:1px solid #e2e8f0}.fouru-tech-next-step strong{font-size:15px}.fouru-tech-next-step span{font-size:12px;line-height:1.5;color:#475569}.fouru-tech-next-step.attention{background:#fff7ed;border-color:#fdba74;color:#9a3412}.fouru-tech-next-step.attention span{color:#9a3412}.fouru-tech-next-step.ready{background:#f0fdf4;border-color:#86efac;color:#166534}.fouru-tech-next-step.ready span{color:#166534}.fouru-tech-next-step .fouru-tech-btn{margin-top:6px;text-align:center}
.fouru-tech-btn.disabled,.fouru-tech-btn:disabled{opacity:.55;cursor:not-allowed;filter:grayscale(.15)}


/* v3.5.6 focused technician wizard */
.fouru-tech-workflow.focused{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.fouru-tech-workflow.focused>div{flex:0 1 auto;min-width:104px;padding:9px 12px}
.fouru-tech-workflow.focused>div.current{background:#eff6ff;border:2px solid #60a5fa;color:#1d4ed8;box-shadow:0 5px 16px rgba(37,99,235,.10)}
.fouru-tech-workflow.focused>div.current span{font-size:19px}
.fouru-tech-wizard-card{border:2px solid #dbeafe;box-shadow:0 8px 22px rgba(30,64,175,.06)}
.fouru-tech-current-task{border:2px solid #bfdbfe;box-shadow:0 8px 22px rgba(30,64,175,.08)}
.fouru-tech-bottom-nav.focused-nav{grid-template-columns:repeat(3,minmax(0,1fr))}
.fouru-tech-bottom-nav.focused-nav:has(a:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:600px){
 .fouru-tech-workflow.focused{display:flex;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none}
 .fouru-tech-workflow.focused::-webkit-scrollbar{display:none}
 .fouru-tech-workflow.focused>div{min-width:112px}
 .fouru-tech-current-task .fouru-tech-btn{width:100%;text-align:center;min-height:50px}
}


/* v3.6.0 exact agreement snapshot */
.fouru-tech-agreement-scope{display:flex;flex-direction:column;gap:4px;margin:10px 0 12px;padding:12px 14px;border-radius:12px;background:#f8fafc;border:1px solid #dbe3ee}
.fouru-tech-agreement-scope strong{font-size:12px;text-transform:uppercase;letter-spacing:.05em;color:#475569}
.fouru-tech-agreement-scope span{font-size:13px;line-height:1.45;color:#0f172a;font-weight:750}
.fouru-tech-agreement-text{padding:13px 14px;border-left:4px solid #2563eb;background:#f8fbff;border-radius:0 12px 12px 0}
.fouru-sign-form .fouru-check{align-items:flex-start;line-height:1.5}
