:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#13241f;background:#f3f6f4;font-synthesis:none;text-rendering:optimizeLegibility;--ink: #13241f;--muted: #68756f;--line: #dfe6e2;--surface: #ffffff;--green: #166f4b;--green-soft: #e5f3ec;--blue: #2f6fed;--amber: #c37a14;--red: #b93a43}*{box-sizing:border-box}html{min-height:100%;background:#f3f6f4}body{margin:0;min-width:320px;min-height:100vh;background:#f3f6f4}button,input,select,textarea{font:inherit}button{-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid rgba(47,111,237,.3);outline-offset:2px}.app-shell{min-height:100vh;padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom)}.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 18px 12px;background:#ffffffe0;border-bottom:1px solid var(--line);backdrop-filter:blur(18px);position:sticky;top:0;z-index:20}.topbar h1{margin:1px 0 0;font-size:19px;line-height:1.15;letter-spacing:-.02em}.eyebrow{color:var(--green);text-transform:uppercase;font-weight:800;font-size:10px;letter-spacing:.14em}.topbar-actions{display:flex;align-items:center;gap:10px}.avatar{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#173e31;color:#fff;font-size:12px;font-weight:800}.avatar-button{padding:0;border:0;cursor:pointer}.language-switch{display:inline-flex;gap:2px;padding:3px;border:1px solid var(--line);border-radius:12px;background:#edf1ef}.language-switch button{display:grid;place-items:center;width:34px;height:28px;padding:4px;border:0;border-radius:8px;background:transparent;opacity:.55}.language-switch button.selected{background:#fff;opacity:1;box-shadow:0 2px 8px #142f2621}.language-switch img{display:block;width:23px;height:15px;border-radius:2px;object-fit:cover;box-shadow:0 0 0 1px #0000001f}.status-banner{padding:9px 18px;text-align:center;font-size:13px;font-weight:650}.status-banner.offline{color:#745213;background:#fff0ca}.status-banner.auth-required{display:flex;align-items:center;justify-content:center;gap:10px;color:#7d2b32;background:#fae6e7}.status-banner.auth-required button{min-height:32px;padding:5px 10px;border:1px solid #b93a43;border-radius:9px;color:#fff;background:#b93a43;font-weight:800}.status-banner.pwa-install{display:flex;align-items:center;justify-content:center;gap:9px;color:#244b3d;background:#e4f1eb}.status-banner.pwa-install>span{line-height:1.35}.status-banner.pwa-install button{flex:0 0 auto;min-height:31px;padding:5px 9px;border:1px solid #77ac93;border-radius:9px;color:#fff;background:var(--green);font-size:12px;font-weight:800}.status-banner.pwa-install .pwa-dismiss{width:29px;padding:0;border-color:transparent;color:#4c655b;background:transparent;font-size:20px}.sync-banner{width:100%;display:flex;align-items:center;justify-content:center;gap:8px;min-height:36px;padding:7px 18px;border:0;border-bottom:1px solid #d9e8df;color:#315649;background:#eaf5ef;font-size:12px;font-weight:700}.sync-banner.blocked{color:#862e35;background:#fae6e7;border-color:#f1ced1}.sync-dot{width:7px;height:7px;border-radius:50%;background:#35a374}.sync-dot.spinning{background:transparent;border:2px solid #8ac7aa;border-top-color:var(--green);width:13px;height:13px;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.content{width:min(100%,680px);margin:0 auto;padding:18px 16px 40px}.date-row{display:flex;align-items:baseline;justify-content:space-between;margin:2px 2px 14px;color:var(--muted);font-size:13px}.date-row strong{color:var(--ink);font-weight:700;text-transform:capitalize}.current-card{padding:20px;border:1px solid var(--line);border-radius:24px;background:var(--surface);box-shadow:0 10px 30px #1633290f}.current-card.active{color:#fff;background:linear-gradient(135deg,#173f32,#176547);border-color:transparent}.current-card-head{display:flex;justify-content:space-between;color:var(--muted);font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.active .current-card-head{color:#b9d6ca}.live-pill{color:#bff4d7;font-size:10px;letter-spacing:.05em}.current-card h2{margin:15px 0 3px;font-size:clamp(22px,6vw,30px);letter-spacing:-.04em}.current-card p{margin:5px 0;color:var(--muted)}.current-card.active p{color:#d4e6de}.current-card small{display:block;margin-top:12px;color:inherit;opacity:.74}.elapsed{display:flex;align-items:end;justify-content:space-between;margin-top:20px;padding-top:16px;border-top:1px solid rgba(255,255,255,.16)}.elapsed span{color:#b9d6ca;font-size:12px}.elapsed strong{font-variant-numeric:tabular-nums;font-size:26px;letter-spacing:.02em}.actions-section,.tasks-section{margin-top:26px}.actions-section>h2,.tasks-section h2{margin:0 0 12px 2px;font-size:17px;letter-spacing:-.02em}.activity-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.activity-button{display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;min-height:104px;padding:15px;border:1px solid transparent;border-radius:20px;font-weight:800;text-align:left}.activity-button .icon{width:30px;height:30px}.activity-button.green{color:#0f6240;background:#dff3e9;border-color:#c8e8d8}.activity-button.blue{color:#2458bb;background:#e4ecff;border-color:#cfddff}.activity-button.amber{color:#925a0e;background:#fff0d4;border-color:#f7dfb4}.activity-button.neutral{color:#47534e;background:#e9edeb;border-color:#dce2df}.activity-button.red{color:#9d3039;background:#fae4e6;border-color:#f2d1d4}.icon{display:inline-block;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.section-head{display:flex;justify-content:space-between;align-items:center}.section-head span{display:grid;place-items:center;min-width:25px;height:25px;border-radius:50%;color:var(--green);background:var(--green-soft);font-size:12px;font-weight:800}.task-list{display:grid;gap:8px}.task-card{display:grid;grid-template-columns:58px 1fr;gap:13px;padding:14px;border:1px solid var(--line);border-radius:17px;background:#fff}.task-card time{color:var(--green);font-weight:850;font-variant-numeric:tabular-nums}.task-card div{display:grid;gap:3px;min-width:0}.task-card strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.task-card span,.task-card small,.task-note,.empty-copy{color:var(--muted)}.task-note{margin:12px 2px 0;font-size:12px;line-height:1.5}.task-card .handover-issued{width:fit-content;min-height:34px;margin-top:5px;padding:5px 8px;border:0;border-radius:9px;color:#176547;background:#e8f4ee;font-size:12px;font-weight:800;text-align:left}.task-handover-button{width:fit-content;min-height:38px;margin-top:8px;padding:7px 11px;border:1px solid #b8dbc9;border-radius:11px;color:#0f6240;background:#e5f3ec;font-size:12px;font-weight:800;text-align:left}.sheet-backdrop{position:fixed;inset:0;z-index:100;display:flex;align-items:flex-end;justify-content:center;padding-top:env(safe-area-inset-top);background:#0c1c1785;backdrop-filter:blur(4px)}.composer-sheet{display:grid;grid-template-rows:auto minmax(0,1fr) auto;width:min(100%,720px);max-height:calc(100vh - max(14px,env(safe-area-inset-top)));border-radius:26px 26px 0 0;background:#f7f9f8;box-shadow:0 -15px 60px #07161140}.sheet-handle{width:42px;height:5px;margin:8px auto 2px;border-radius:5px;background:#c7ceca}.sheet-head{display:flex;align-items:center;justify-content:space-between;padding:13px 18px;border-bottom:1px solid var(--line)}.sheet-head h2{margin:0;font-size:20px;letter-spacing:-.03em}.sheet-head>button{width:38px;height:38px;border:0;border-radius:50%;color:#52615b;background:#e9eeeb;font-size:24px;line-height:1}.sheet-body{overflow-y:auto;overscroll-behavior:contain;padding:16px 16px 26px}.form-grid{display:grid;gap:12px;padding:15px;border:1px solid var(--line);border-radius:18px;background:#fff}.form-grid label,.field-label{display:grid;gap:6px;color:#53615b;font-size:12px;font-weight:750}select,textarea,input:not([type=checkbox]):not([type=radio]){width:100%;border:1px solid #ccd6d1;border-radius:12px;color:var(--ink);background:#fff}select,input:not([type=checkbox]):not([type=radio]){height:46px;padding:0 12px}textarea{resize:vertical;min-height:82px;padding:11px 12px;line-height:1.45}.checkbox-label{display:flex!important;grid-column:1/-1;flex-direction:row;align-items:center;gap:9px!important;color:var(--ink)!important;font-size:14px!important}.checkbox-label input{width:20px;height:20px;accent-color:var(--green)}.privacy-notice{margin:14px 2px;padding:12px;border-radius:13px;color:#53665e;background:#eaf0ed;font-size:12px;line-height:1.5}.boundary-card{min-width:0;margin:12px 0 0;padding:14px;border:1px solid var(--line);border-radius:18px;background:#fff}.boundary-card legend{padding:0 7px;color:var(--green);font-size:13px;font-weight:850}.composer-tools{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.soft-button{display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:7px 11px;border:1px solid #d8e0dc;border-radius:12px;color:#385348;background:#f1f5f3;font-size:12px;font-weight:750}.soft-button .icon{width:19px;height:19px}.soft-button.recording{color:#a42e38;background:#fee7e9;border-color:#f5c8cc;animation:pulse 1.3s ease-in-out infinite}@keyframes pulse{50%{opacity:.68}}.photo-strip{display:flex;gap:8px;overflow-x:auto;padding-top:12px}.photo-strip figure{position:relative;flex:0 0 82px;width:82px;height:82px;margin:0}.photo-strip img{width:100%;height:100%;object-fit:cover;border-radius:12px}.photo-strip button{position:absolute;top:-5px;right:-5px;display:grid;place-items:center;width:25px;height:25px;padding:0;border:2px solid white;border-radius:50%;color:#fff;background:#a8323b;font-size:18px;line-height:1}.sheet-actions{display:grid;grid-template-columns:1fr 2fr;gap:10px;padding:12px 16px calc(12px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fff}.primary-button,.secondary-button{min-height:48px;padding:10px 16px;border-radius:14px;font-weight:800}.primary-button{border:1px solid var(--green);color:#fff;background:var(--green)}.secondary-button{border:1px solid var(--line);color:#435149;background:#fff}.primary-button:disabled,.secondary-button:disabled{opacity:.55}.queue-dialog{width:min(calc(100% - 24px),560px);max-height:80vh;overflow:auto;margin:auto;padding:0 16px 16px;border-radius:22px;background:#fff}.queue-dialog .sheet-head{margin:0 -16px 12px}.queue-dialog ol{margin:0 0 16px;padding:0;list-style:none}.queue-dialog li{display:grid;grid-template-columns:58px 1fr;gap:4px 10px;padding:11px 2px;border-bottom:1px solid var(--line)}.queue-dialog li span{color:var(--green);font-weight:800}.queue-dialog li small{grid-column:2;color:var(--muted)}.queue-dialog .primary-button{width:100%}.error-copy{color:var(--red);font-size:13px}.handover-sheet{max-height:calc(100vh - max(6px,env(safe-area-inset-top)))}.handover-sheet .sheet-head>div{min-width:0}.handover-sheet .sheet-head h2{overflow:hidden;max-width:min(70vw,530px);text-overflow:ellipsis;white-space:nowrap}.sheet-eyebrow{display:block;margin-bottom:2px;color:var(--green);font-size:10px;font-weight:850;letter-spacing:.1em;text-transform:uppercase}.handover-body{display:grid;gap:14px;background:#f3f6f4}.handover-form-fields{display:grid;min-width:0;margin:0;padding:0;border:0;gap:14px}.handover-retry-lock{margin:0;padding:12px;border:1px solid #c7dcf2;border-radius:13px;color:#294f72;background:#edf5fc;font-size:12px;font-weight:700;line-height:1.5}.handover-actions.three{grid-template-columns:1fr 2fr}.handover-actions.three .correction-button{grid-column:1 / -1;grid-row:1}.handover-state{margin:0;padding:28px 12px;color:var(--muted);text-align:center}.handover-section{padding:15px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:0 5px 18px #16332909}.handover-section>h3,.handover-section-head h3{margin:0 0 12px;font-size:16px;letter-spacing:-.02em}.handover-section-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.handover-section-head>button{flex:0 0 auto;min-height:36px;padding:6px 9px;border:1px solid #cce2d6;border-radius:10px;color:#155f42;background:#e9f5ef;font-size:11px;font-weight:800}.handover-section-head>button:disabled{opacity:.5}.contact-preview{display:grid;gap:2px;margin:10px 0 0;padding:11px;border-radius:12px;color:var(--muted);background:#f2f5f3;font-size:12px}.contact-preview strong{color:var(--ink)}.handover-items{display:grid;gap:10px}.handover-item{display:grid;gap:10px;padding:13px;border:1px solid #e0e7e3;border-radius:15px;background:#fbfcfb}.handover-item-head{display:flex;align-items:center;justify-content:space-between}.handover-item-head strong{color:#2e4f43;font-size:13px}.handover-item-head button{display:grid;place-items:center;width:31px;height:31px;padding:0;border:0;border-radius:50%;color:#9d3039;background:#fae4e6;font-size:20px}.handover-item-head button:disabled{opacity:.35}.quantity-row{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(90px,.75fr);gap:9px}.handover-photo-list{display:grid;gap:10px}.handover-photo-list article{display:grid;grid-template-columns:76px minmax(0,1fr);gap:8px 10px;align-items:end;padding:10px;border:1px solid var(--line);border-radius:14px;background:#fafcfb}.handover-photo-list img{grid-row:1 / span 2;width:76px;height:76px;border-radius:11px;object-fit:cover}.handover-photo-list article>button{grid-column:2;width:fit-content;padding:5px 8px;border:0;border-radius:8px;color:#9d3039;background:#fae4e6;font-size:11px;font-weight:800}.signature-section{display:grid;gap:12px}.signature-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:7px;font-size:13px}.signature-head button{padding:5px 8px;border:0;border-radius:8px;color:#9d3039;background:#fae4e6;font-size:11px;font-weight:800}.signature-head button:disabled{opacity:.4}.signature-canvas-wrap{position:relative;height:180px;overflow:hidden;border:2px dashed #b8c6bf;border-radius:14px;background:#fff}.signature-canvas-wrap.signed{border-style:solid;border-color:#9dc9b4}.signature-canvas-wrap canvas{position:absolute;inset:0;display:block;width:100%;height:100%;touch-action:none}.signature-canvas-wrap span{position:absolute;left:50%;bottom:14px;transform:translate(-50%);width:max-content;max-width:90%;color:#8b9691;font-size:11px;pointer-events:none}.handover-confirm{display:grid;grid-template-columns:23px minmax(0,1fr);gap:9px;align-items:start;padding:12px;border:1px solid #d2e5db;border-radius:13px;color:#29483d;background:#edf7f2;font-size:12px;line-height:1.45}.handover-confirm input{width:21px;height:21px;margin:0;accent-color:var(--green)}.signature-section>p{margin:0;color:var(--muted);font-size:11px;line-height:1.5}.handover-submit-error{position:sticky;bottom:0;z-index:2;margin:0;padding:12px;border:1px solid #f0c5c8;border-radius:13px;color:#8c2e35;background:#fdebed;box-shadow:0 6px 20px #5a151c1a;font-size:12px;font-weight:700}.handover-success{display:grid;justify-items:center;gap:9px;margin:auto;padding:34px 22px;text-align:center}.handover-success>span{display:grid;place-items:center;width:68px;height:68px;border-radius:50%;color:#fff;background:var(--green);font-size:34px;font-weight:900;box-shadow:0 12px 30px #166f4b38}.handover-success h3{margin:8px 0 0;font-size:21px;letter-spacing:-.03em}.handover-success>strong{color:var(--green);font-size:17px}.handover-success>p:not(.handover-submit-error){max-width:430px;margin:0;color:var(--muted);font-size:13px;line-height:1.55}.toast{position:fixed;z-index:200;left:50%;bottom:calc(20px + env(safe-area-inset-bottom));width:min(calc(100% - 32px),520px);transform:translate(-50%);padding:13px 16px;border-radius:14px;color:#fff;background:#142620f0;box-shadow:0 12px 35px #00000038;font-size:13px;text-align:center}.loading-screen,.error-screen{min-height:100vh;display:grid;place-content:center;justify-items:center;gap:12px;padding:28px;text-align:center;background:radial-gradient(circle at 50% 25%,#e0f1e8,#f5f7f6 52%)}.brand-mark{display:grid;place-items:center;width:68px;height:68px;border-radius:22px;color:#fff;background:#173f32;font-size:32px;font-weight:900;box-shadow:0 12px 32px #173f3233}.loading-screen p,.error-screen p{max-width:440px;color:var(--muted);line-height:1.55}.error-screen h1{margin:6px 0 -5px}.error-screen .language-switch{margin-top:10px}@media(min-width:560px){.activity-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.activity-button{min-height:118px}.form-grid{grid-template-columns:1fr 1fr}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.001ms!important;animation-iteration-count:1!important}}
