:root{font-family:system-ui,-apple-system,Segoe UI,sans-serif;color:#102c40;background:#edf3f6;font-size:16px}*{box-sizing:border-box}body{margin:0}header{background:#09283b;color:white;padding:15px 5%;display:flex;align-items:center;gap:14px;position:sticky;top:0;z-index:3}.brand{color:white;text-decoration:none;font-weight:900;letter-spacing:1px;margin-right:auto}.brand span{font-weight:400;letter-spacing:0}header button{background:#284558;color:white}main{max-width:1080px;margin:auto;padding:22px 18px 70px}.hero{background:linear-gradient(120deg,#0a2c43,#17617b);color:white;padding:28px;border-radius:18px;margin-bottom:18px}.eyebrow{font-size:12px;letter-spacing:2px;color:#bdd7e0}h1{font-size:30px;margin:8px 0}h2{font-size:23px;margin:0 0 12px}h3{font-size:18px}p{line-height:1.6}.card{background:white;border:1px solid #d6e2e9;border-radius:14px;padding:22px;margin:14px 0;box-shadow:0 5px 16px #0a2c4308}.actions{display:flex;flex-wrap:wrap;gap:10px}button,.button{border:0;border-radius:9px;background:#e2edf3;color:#123a51;padding:12px 17px;min-height:46px;font:inherit;font-weight:700;cursor:pointer;text-decoration:none}button:disabled{opacity:.55;cursor:default}button.primary{background:#62a917;color:white}.red{background:#b72f36;color:white}.danger{color:#a2212a}label{display:block;margin:14px 0;font-weight:600}input,select,textarea{display:block;width:100%;border:1px solid #bbcdd9;border-radius:8px;font:inherit;padding:12px;margin-top:7px;background:white;color:#102c40}textarea{min-height:100px;resize:vertical}input[type=checkbox]{display:inline-block;width:22px;height:22px;vertical-align:middle;margin:0 8px 0 0}.grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.muted,.hint{font-size:13px;color:#587386}.hint{padding:12px;border-left:3px solid #7aaac0;background:#e4eef4}.notice{padding:15px;background:#e0f2dc;border:1px solid #accfa0;border-radius:10px;white-space:pre-line;margin:12px 0}.error{background:#fff0e3;border-color:#efc290;color:#79380b}.badge{display:inline-block;padding:5px 10px;border-radius:99px;background:#e5edf3;font-size:13px}.badge.pending{background:#fff0be;color:#75500c}.badge.synced{background:#dff1df;color:#225929}.job{display:flex;align-items:center;gap:14px;justify-content:space-between}.job h3{margin:0 0 5px}.job p{margin:0;font-size:13px}.item{border-top:1px solid #dae4eb;padding:10px 0 15px}.item small{font-weight:400;color:#57788e}.photos{display:flex;flex-wrap:wrap;gap:12px}.photos img{width:125px;height:90px;object-fit:cover;border-radius:7px}.photos figure{margin:0}.photos button{padding:4px 10px;font-size:13px;min-height:32px}.signature{max-width:480px;width:100%;height:160px;touch-action:none;background:white;border:2px dashed #9bb5c4;border-radius:8px}.signature-preview{max-width:350px;width:100%;height:120px;object-fit:contain;border:1px solid #dde6ed}.sticky{position:sticky;bottom:0;background:#edf3f6ed;padding:12px 0;border-top:1px solid #cfdae2;display:flex;gap:10px;align-items:center;flex-wrap:wrap}.review{white-space:pre-wrap;overflow-wrap:anywhere}.save-state{margin-left:auto;font-size:13px}a{color:#126783}[hidden]{display:none!important}@media(max-width:650px){.grid{grid-template-columns:1fr}h1{font-size:25px}.hero,.card{padding:17px}.job{align-items:flex-start;flex-direction:column}header{padding:12px}.brand span{display:none}main{padding:14px 12px 50px}button{padding:12px}.sticky button{flex:1}.save-state{width:100%}}

.sync-progress{border-left:5px solid #17617b;padding:16px 20px}.sync-progress[data-state="sending"]{position:sticky;top:76px;z-index:2}.sync-heading{display:flex;align-items:center;gap:12px;justify-content:space-between}.sync-heading h2{font-size:18px;margin:0}.sync-heading strong{font-size:22px;white-space:nowrap}progress{display:block;width:100%;height:18px;margin:12px 0;accent-color:#62a917;border:0;border-radius:20px;overflow:hidden}progress::-webkit-progress-bar{background:#e4edf2}progress::-webkit-progress-value{background:#62a917}progress::-moz-progress-bar{background:#62a917}.sync-progress p{margin:6px 0}.sync-progress small{color:#587386}.sync-progress[data-state="pending"]{border-color:#c68818}.sync-progress[data-state="done"]{border-color:#62a917}summary{cursor:pointer;font-weight:700}details li{margin:12px 0;line-height:1.6}

.sync-progress[data-state="partial"],.sync-progress[data-state="offline"]{border-color:#c68818}.sync-progress[data-state="error"]{border-color:#ad3b32}

.field-heading{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.field-heading h1{margin:0;overflow-wrap:anywhere;min-width:0}.field-specialist{display:inline-block;background:#ffffff20;border:1px solid #ffffff55;color:#fff;padding:6px 10px;border-radius:99px;font-size:13px;white-space:nowrap}.hero .field-tagline{margin:10px 0 0;font-size:18px;color:#d7e8ee}

.mode-control{display:flex;gap:8px;align-items:center;margin:0;font-size:12px;font-weight:600}.mode-control select{width:auto;margin:0;padding:9px;font-size:14px;min-height:44px;background:#284558;color:white;border-color:#557384}header{flex-wrap:wrap}#modeHint{line-height:1.5}

.login-options{display:flex;flex-wrap:wrap;gap:8px 24px;margin:12px 0}.login-choice{display:inline-flex;align-items:center;gap:8px;min-height:44px;cursor:pointer}.login-choice input{width:20px;height:20px;margin:0;accent-color:#17617b}#passwordHelp{font-size:12px;line-height:1.45}
