:root{--xt-bg: #f4f6f8;--xt-surface: #ffffff;--xt-surface-soft: #f8fafc;--xt-border: #dbe3ea;--xt-text: #172033;--xt-muted: #64748b;--xt-primary: #2563eb;--xt-primary-strong: #1d4ed8;--xt-primary-soft: #dbeafe;--xt-primary-hover: rgba(37, 99, 235, .1);--xt-accent: #0f766e;--xt-accent-soft: #ccfbf1;--xt-warning: #b45309;--xt-warning-soft: #fef3c7;--xt-danger: #b91c1c;--xt-danger-soft: #fee2e2;--xt-radius: 6px;--xt-shadow: 0 1px 2px rgba(15, 23, 42, .06);--xt-shell: #2563eb;--xt-shell-strong: #1d4ed8;--xt-shell-border: #93c5fd;--xt-shell-soft: rgba(219, 234, 254, .14);--xt-shell-hover: rgba(219, 234, 254, .22);--xt-shell-accent: #eff6ff;--xt-button: #2563eb;--xt-button-hover: #1d4ed8;--xt-button-soft: #dbeafe;--xt-export: #0f766e;--xt-export-hover: #115e59;--xt-ink: var(--xt-text);--xt-line: var(--xt-border);--xt-soft: var(--xt-surface-soft);--xt-card: var(--xt-surface);font-family:Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif}*{box-sizing:border-box}html,body{min-height:100%;margin:0;background:var(--xt-bg);color:var(--xt-text)}button,input,textarea{font:inherit}button{border:0}.mobile-shell{width:min(100%,430px);min-height:100dvh;margin:0 auto;padding:18px}.home-shell,.auth-shell{display:flex;flex-direction:column;justify-content:center;gap:18px}.page-shell{padding:0;background:#eef2f6}.brand-panel,.app-bar{display:flex;align-items:center;gap:12px;color:#fff;background:linear-gradient(135deg,#2563ebeb,#174a78eb),url(/banner.png) center / cover;border-radius:12px;padding:14px;box-shadow:var(--xt-shadow)}.brand-panel.compact{padding:12px}.brand-mark{display:grid;width:54px;height:54px;place-items:center;border:2px solid rgba(255,255,255,.8);border-radius:999px;font-weight:900;letter-spacing:0}.brand-panel h1,.brand-panel p,.app-bar strong,.app-bar span{margin:0}.brand-panel h1{font-size:1.65rem;line-height:1;letter-spacing:0}.brand-panel p,.app-bar span{font-size:.78rem;opacity:.9}.app-bar{position:sticky;top:0;z-index:10;border-radius:0}.app-bar div{display:grid;gap:2px;min-width:0;flex:1}.app-logo{width:38px;height:38px;object-fit:contain;border-radius:8px;background:#fff;padding:4px}.icon-button{display:grid;width:42px;height:38px;place-items:center;border-radius:8px;color:#fff;background:#ffffff29;font-weight:800}.icon-button svg,.square-action svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.hero-illustration,.phone-illustration{position:relative;min-height:220px;overflow:hidden;border-radius:18px;background:radial-gradient(circle at 50% 42%,#ddecfb 0 38%,transparent 39%),linear-gradient(180deg,#fff,#f8fbff);box-shadow:inset 0 0 0 1px var(--xt-line)}.cargo-stack{position:absolute;background:linear-gradient(#8b95aa 0 0) 0 0 / 48px 28px,linear-gradient(#727d94 0 0) 50px 0 / 48px 28px,linear-gradient(#6b7488 0 0) 25px 30px / 48px 28px;background-repeat:no-repeat;width:130px;height:74px;bottom:44px;left:62px}.cargo-stack.stack-b{left:152px;bottom:58px;transform:scale(.9)}.worker-shape{position:absolute;right:84px;bottom:42px;width:42px;height:92px;border-radius:28px 28px 12px 12px;background:#2878d7}.worker-shape:before{position:absolute;top:-22px;left:10px;width:22px;height:22px;content:"";border-radius:50%;background:#f3b18c}.cart-shape{position:absolute;right:145px;bottom:38px;width:92px;height:10px;border-radius:999px;background:#2b3448}.phone-frame{position:absolute;left:72px;top:24px;width:124px;height:196px;border:10px solid #e5e7eb;border-radius:32px;background:#fff}.phone-frame span{display:block;width:68px;height:8px;margin:38px auto 0;border-radius:999px;background:#dbeafe}.person-mark{position:absolute;right:74px;bottom:28px;width:42px;height:92px;border-radius:28px 28px 12px 12px;background:#3281e7}.action-stack,.bottom-actions{display:grid;gap:12px}.bottom-actions{position:sticky;bottom:0;padding:12px;background:#eef2f6f0;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.primary-action,.ghost-action,.text-button,.square-action,.mini-action{min-height:44px;border-radius:8px;font-weight:800;letter-spacing:0}.primary-action{color:#fff;background:var(--xt-primary);box-shadow:0 8px 18px #2f6fa640;text-transform:uppercase}.primary-action.secondary{background:var(--xt-primary-strong)}.primary-action:disabled,.square-action:disabled{cursor:wait;opacity:.65}.ghost-action{color:var(--xt-ink);background:#f8fafc;border:1px solid var(--xt-line)}.form-card,.status-card,.summary-card,.empty-card,.operation-card,.notice{border:1px solid var(--xt-line);border-radius:12px;background:var(--xt-card);box-shadow:0 8px 24px #0f172a14}.form-card{display:grid;gap:14px;padding:16px}.form-card label{display:grid;gap:6px;color:var(--xt-muted);font-size:.78rem;font-weight:800;text-transform:uppercase}.form-card input,.search-row input,.tool-panel input{width:100%;min-height:46px;border:1px solid var(--xt-line);border-radius:8px;padding:0 12px;color:var(--xt-ink);background:#fff;outline:none}.form-card input:focus,.search-row input:focus,.tool-panel input:focus,.tool-panel textarea:focus{border-color:var(--xt-primary);box-shadow:0 0 0 3px #2f6fa624}.notice{display:grid;gap:4px;padding:12px;font-size:.86rem}.notice.danger{color:#991b1b;background:#fff1f2;border-color:#fecdd3}.notice.success{color:#065f46;background:#ecfdf5;border-color:#a7f3d0}.status-card,.summary-card,.counter-strip,.search-row,.operation-list,.notice{margin:12px}.status-card{display:flex;align-items:center;gap:10px;padding:12px}.status-card p,.status-card strong{margin:0}.status-card p{color:var(--xt-muted);font-size:.75rem;text-transform:uppercase}.status-card strong{display:block;color:var(--xt-ink);line-height:1.25}.location-coordinates{display:block;margin-top:3px;color:var(--xt-muted);font-size:.76rem;font-weight:800}.status-dot{width:14px;height:14px;border-radius:50%;background:var(--xt-accent);box-shadow:0 0 0 6px #12a87a1f}.summary-card{overflow:hidden}.summary-header{display:flex;align-items:center;justify-content:space-between;padding:12px;border-bottom:1px solid var(--xt-line);font-weight:900}.text-button{min-height:30px;color:var(--xt-primary);background:#eef6ff;padding:0 10px}.metric-grid,.counter-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:12px}.metric-grid div,.counter-strip div{display:grid;gap:4px;min-height:62px;align-content:center;border-radius:10px;background:var(--xt-soft);padding:8px}.counter-strip{grid-template-columns:repeat(2,minmax(0,1fr));padding:0}.metric-grid span,.counter-strip span{color:var(--xt-muted);font-size:.72rem;font-weight:800;text-transform:uppercase}.metric-grid strong,.counter-strip strong{font-size:1.2rem}.loading-line,.empty-state{padding:28px 12px;color:var(--xt-muted);text-align:center;font-weight:800}.modal-backdrop{position:fixed;inset:0;z-index:20;display:grid;place-items:center;padding:20px;background:#0f172a80}.confirm-modal{width:min(100%,330px);border-radius:14px;background:#fff;padding:18px;box-shadow:var(--xt-shadow)}.confirm-modal h2{margin:0 0 8px;font-size:1.1rem}.confirm-modal p{margin:0 0 18px;color:var(--xt-muted)}.modal-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.search-row{display:grid;grid-template-columns:minmax(0,1fr) 48px;gap:8px}.square-action{display:grid;place-items:center;color:#fff;background:var(--xt-primary)}.empty-card{display:grid;place-items:center;gap:10px;margin:12px;padding:26px 12px;color:var(--xt-muted);text-transform:uppercase}.empty-illustration{width:90px;height:90px;border:10px solid #dbeafe;border-radius:28px;background:#fff}.operation-list{display:grid;gap:12px;padding-bottom:14px}.operation-card{display:grid;grid-template-columns:minmax(0,1fr) 70px;overflow:hidden;border:1px solid #dbe7f3;box-shadow:0 10px 22px #0f172a12}.operation-body{display:grid;gap:5px;padding:12px;background:#fffaf2}.operation-body p{margin:0;color:#172033;font-size:.8rem;line-height:1.25}.time-grid{display:grid;gap:3px;margin-top:7px;color:var(--xt-muted);font-size:.72rem}.time-grid span:nth-child(n+4){display:none}.operation-actions{display:grid;gap:6px;padding:8px 7px;background:#f1f5f9;align-content:start}.mini-action{min-height:78px;color:#fff;font-size:.7rem}.flow-action{display:grid;gap:6px;place-items:center}.flow-action svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.mini-action.green{background:#16a34a}.mini-action.amber{background:#d97706}.mini-action.blue{background:#2563eb}.done-pill{display:grid;gap:5px;min-height:50px;place-items:center;border-radius:8px;color:#0f766e;background:#ccfbf1;font-size:.66rem;font-weight:900;text-transform:uppercase}.done-pill svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2.4}.flow-status{grid-column:1 / -1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:10px;border-top:1px solid var(--xt-line);background:#f8fafc}.flow-status span{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:5px;min-height:38px;border:1px solid #e2e8f0;border-radius:8px;padding:6px 7px;color:#64748b;background:#fff;font-size:.68rem;font-weight:800;line-height:1.15}.flow-status span.done{color:#0f766e;border-color:#99f6e4;background:#f0fdfa}.flow-status svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.pdf-inline-action{min-height:36px;border-radius:8px;color:#1d4ed8;background:#dbeafe;font-size:.7rem;font-weight:900}.operation-tools{grid-column:1 / -1;display:grid;gap:8px;padding:10px;border-top:1px solid var(--xt-line);background:#fff}.report-locked{grid-column:1 / -1;display:grid;grid-template-columns:minmax(0,1fr) 128px;gap:8px;align-items:center;padding:10px 12px 12px;border-top:1px solid var(--xt-line);background:#fff}.report-locked span{color:#0f766e;font-size:.72rem;font-weight:900;line-height:1.2}.tool-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.tool-tabs button{display:grid;min-height:38px;place-items:center;border:1px solid var(--xt-line);border-radius:8px;color:var(--xt-muted);background:#f8fafc}.tool-tabs button.active{color:#fff;border-color:var(--xt-primary);background:var(--xt-primary)}.tool-tabs svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.tool-panel{display:grid;gap:7px;min-height:78px;border:1px solid var(--xt-line);border-radius:8px;background:#f8fafc;padding:10px}.tool-panel label{display:grid;gap:5px}.tool-panel strong{font-size:.78rem;text-transform:uppercase}.tool-panel span,.tool-panel small,.worker-list span,.report-grid span,.report-grid a{color:var(--xt-muted);font-size:.76rem;line-height:1.3}.report-grid{display:grid;grid-template-columns:1fr;gap:4px;border-left:3px solid #bfdbfe;padding-left:8px}.readonly-report{display:grid;gap:3px}.readonly-report strong{margin-bottom:6px;border:1px solid var(--xt-line);border-radius:8px;background:#fff;padding:10px;color:var(--xt-ink);font-size:.82rem;text-transform:none}.report-grid a{color:var(--xt-primary);font-weight:900}.file-action{display:grid;min-height:42px;place-items:center;border:1px dashed #93c5fd;border-radius:8px;color:var(--xt-primary);background:#eff6ff;font-size:.8rem;font-weight:900}.file-action input{display:none}.evidence-preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.evidence-preview img{width:100%;aspect-ratio:1;object-fit:cover;border:1px solid var(--xt-line);border-radius:8px;background:#fff}.worker-list{display:grid;gap:4px;max-height:96px;overflow:auto}.rating-row{display:grid;grid-template-columns:repeat(5,34px);gap:6px}.rating-row button{min-height:34px;border-radius:8px;color:#94a3b8;background:#fff;font-size:1rem}.rating-row button.active{color:#b45309;background:#fef3c7}.tool-panel textarea{width:100%;resize:vertical;border:1px solid var(--xt-line);border-radius:8px;padding:8px;color:var(--xt-ink);background:#fff;outline:none}.signature-box{display:block;width:100%;min-height:132px;border:1px dashed #cbd5e1;border-radius:8px;background:#fff;touch-action:none}.report-actions{display:grid;grid-template-columns:minmax(0,1fr) 96px;gap:8px}.save-report-action,.pdf-report-action{min-height:42px;border-radius:8px;font-size:.8rem;font-weight:900;text-transform:uppercase}.save-report-action{color:#fff;background:#0f766e}.pdf-report-action{color:var(--xt-primary);background:#e0ecff}.icon-text-action{display:grid;grid-template-columns:17px minmax(0,auto);justify-content:center;align-items:center;gap:6px}.icon-text-action svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.save-report-action:disabled,.pdf-report-action:disabled{cursor:wait;opacity:.7}@media(min-width:720px){.mobile-shell{max-width:520px}}
