.sf-units-page{display:grid;gap:18px}.sf-units-toolbar,.sf-units-filterbar,.sf-today-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px;border:1px solid var(--line);border-radius:16px;background:var(--panel);box-shadow:var(--shadow)}.sf-units-context,.sf-units-primary-actions,.sf-today-head-actions,.sf-task-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.sf-units-context label{display:flex;align-items:center;gap:9px;color:var(--muted);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.sf-units-context .select{min-width:230px;color:var(--text);font-size:14px;font-weight:750;text-transform:none;letter-spacing:0}.sf-units-filterbar{align-items:stretch;box-shadow:none}.sf-units-filterbar .search{max-width:420px}.sf-status-filters{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none}.sf-status-filters::-webkit-scrollbar{display:none}.sf-status-filters button{min-height:42px;display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid var(--line);border-radius:11px;color:var(--muted);background:var(--panel2);font-weight:750;white-space:nowrap}.sf-status-filters button b{min-width:22px;padding:2px 6px;border-radius:999px;color:var(--text);background:var(--panel3);font-size:10px}.sf-status-filters button.active{color:#3730a3;border-color:#a5b4fc;background:#eef2ff}[data-theme=dark] .sf-status-filters button.active{color:#e0e7ff;border-color:#6366f1;background:#6366f133}.sf-units-result{margin:-6px 2px 0;color:var(--muted);font-size:12px;font-weight:700}.sf-floor-group{display:grid;gap:11px}.sf-floor-group>header{display:flex;align-items:center;justify-content:space-between;padding:0 3px}.sf-floor-group>header span{display:block;color:var(--muted);font-size:9px;font-weight:850;letter-spacing:.1em;text-transform:uppercase}.sf-floor-group>header h2{margin:1px 0 0;color:var(--text);font-size:18px}.sf-floor-group>header b{min-width:32px;padding:5px 8px;border-radius:999px;color:var(--muted);background:var(--panel3);text-align:center;font-size:11px}.sf-unit-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px}.sf-unit-card{min-width:0;overflow:hidden;border:1px solid var(--line);border-top:4px solid #CBD5E1;border-radius:14px;background:var(--panel);box-shadow:0 1px 3px #0f172a0d}.sf-unit-card.status-in_progress{border-top-color:#4f46e5}.sf-unit-card.status-blocked{border-top-color:#ef4444}.sf-unit-card.status-awaiting_inspection{border-top-color:#f59e0b}.sf-unit-card.status-completed{border-top-color:#10b981}.sf-unit-card-main{width:100%;min-height:156px;display:grid;grid-template-rows:auto auto auto 6px auto;gap:7px;padding:14px;border:0;color:var(--text);background:transparent;text-align:left}.sf-unit-card-main:hover{background:color-mix(in srgb,var(--panel3) 55%,transparent)}.sf-unit-card-top{display:flex;flex-direction:row-reverse;align-items:flex-start;justify-content:space-between;gap:8px}.sf-unit-card-top strong{color:var(--text);font-size:28px;line-height:1;letter-spacing:-.04em}.sf-unit-status{max-width:120px;overflow:hidden;padding:4px 7px;border-radius:999px;color:#475569;background:#f1f5f9;font-size:9px;font-weight:850;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.status-in_progress .sf-unit-status{color:#3730a3;background:#eef2ff}.status-blocked .sf-unit-status{color:#b91c1c;background:#fef2f2}.status-awaiting_inspection .sf-unit-status{color:#92400e;background:#fffbeb}.status-completed .sf-unit-status{color:#047857;background:#ecfdf5}.sf-unit-current{min-height:20px;overflow:hidden;color:var(--text);font-size:13px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.sf-unit-meta,.sf-unit-progress-label{overflow:hidden;color:var(--muted);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.sf-unit-progress{overflow:hidden;height:6px;border-radius:999px;background:var(--panel3)}.sf-unit-progress span{display:block;height:100%;border-radius:inherit;background:#4f46e5}.status-completed .sf-unit-progress span{background:#10b981}.status-blocked .sf-unit-progress span{background:#ef4444}.status-awaiting_inspection .sf-unit-progress span{background:#f59e0b}.sf-unit-progress-label{display:flex;justify-content:space-between;gap:8px}.sf-unit-card-actions{display:flex;gap:7px;padding:10px 12px 12px;border-top:1px solid var(--line)}.sf-unit-card-actions .btn{flex:1}.btn.success{color:#047857;border-color:#a7f3d0;background:#ecfdf5}[data-theme=dark] .btn.success{color:#a7f3d0;border-color:#34d39959;background:#10b9811f}.sf-today-head{margin-bottom:12px;padding:22px;background:radial-gradient(circle at 90% 0,rgba(79,70,229,.12),transparent 38%),var(--panel)}.sf-today-head>div:first-child>span{color:var(--brand);font-size:10px;font-weight:900;letter-spacing:.11em;text-transform:uppercase}.sf-today-head h1{margin:3px 0 4px;color:var(--text);font-size:30px;letter-spacing:-.045em}.sf-today-head p{margin:0;color:var(--muted)}.sf-quick-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:16px}.sf-quick-strip button{min-height:52px;padding:10px;border:1px solid var(--line);border-radius:12px;color:var(--text);background:var(--panel);font-weight:800}.sf-quick-strip button:hover{border-color:#a5b4fc;background:#eef2ff}[data-theme=dark] .sf-quick-strip button:hover{background:#6366f124}.sf-task-actions{margin-top:12px}.sf-job-card{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid var(--line)}.sf-job-card:last-child{border-bottom:0}.sf-job-card strong,.sf-job-card span,.sf-job-card small{display:block}.sf-job-card span,.sf-job-card small{margin-top:3px;color:var(--muted);font-size:10px}.sf-job-card>div:last-child{display:flex;justify-content:flex-end;gap:6px;flex-wrap:wrap}.sf-notification-launch{position:relative}.sf-notification-launch b{position:absolute;top:-5px;right:-5px;min-width:18px;height:18px;display:grid;place-items:center;padding:0 4px;border:2px solid var(--panel);border-radius:999px;color:#fff;background:#ef4444;font-size:9px}.sf-notification-list{padding:8px 18px}.sf-notification-item{width:100%;display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;padding:14px 4px;border:0;border-bottom:1px solid var(--line);color:var(--text);background:transparent;text-align:left}.sf-notification-item:last-child{border-bottom:0}.sf-notification-item.unread{background:color-mix(in srgb,#EEF2FF 65%,transparent)}[data-theme=dark] .sf-notification-item.unread{background:#6366f114}.sf-notification-dot{width:9px;height:9px;margin-top:5px;border-radius:50%;background:#cbd5e1}.sf-notification-item.unread .sf-notification-dot{background:#4f46e5}.sf-notification-item strong,.sf-notification-item small,.sf-notification-item time{display:block}.sf-notification-item small{margin-top:3px;color:var(--muted)}.sf-notification-item time{margin-top:5px;color:var(--muted2);font-size:9px}.sf-mode-option{display:flex;align-items:flex-start;gap:10px;padding:13px;border:1px solid var(--line);border-radius:12px;cursor:pointer}.sf-mode-option:has(input:checked){border-color:#a5b4fc;background:#eef2ff}[data-theme=dark] .sf-mode-option:has(input:checked){background:#6366f121}.sf-mode-option input{margin-top:3px;accent-color:#4F46E5}.sf-mode-option strong,.sf-mode-option small{display:block}.sf-mode-option small{margin-top:2px;color:var(--muted)}.sf-reason-chips{display:flex;gap:7px;flex-wrap:wrap}.sf-reason-chips button{min-height:36px;padding:7px 10px;border:1px solid #FECACA;border-radius:999px;color:#b91c1c;background:#fef2f2;font-size:11px;font-weight:750}.sf-voice-launch{color:#4338ca}.sf-voice-open{overflow:hidden}.sf-voice-backdrop{position:fixed;inset:0;z-index:150;display:grid;place-items:center;padding:18px;background:#0f172a85;backdrop-filter:blur(7px)}.sf-voice-sheet{width:min(620px,100%);overflow:hidden;border:1px solid var(--line);border-radius:20px;color:var(--text);background:var(--panel);box-shadow:0 32px 90px #0f172a47}.sf-voice-sheet>header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:20px;border-bottom:1px solid var(--line)}.sf-voice-sheet>header span{color:var(--brand);font-size:9px;font-weight:900;letter-spacing:.11em;text-transform:uppercase}.sf-voice-sheet>header h2{margin:3px 0;color:var(--text);font-size:24px}.sf-voice-sheet>header p{margin:0;color:var(--muted);font-size:12px}.sf-voice-body{display:grid;gap:13px;padding:20px}.sf-voice-body>label{display:grid;gap:6px;color:var(--muted);font-size:11px;font-weight:800}.sf-voice-capture{display:flex;align-items:center;gap:13px;padding:14px;border:1px solid #C7D2FE;border-radius:15px;background:#eef2ff}[data-theme=dark] .sf-voice-capture{border-color:#818cf859;background:#6366f11f}.sf-voice-mic{width:54px;height:54px;flex:0 0 auto;border:0;border-radius:50%;color:#fff;background:#4f46e5;box-shadow:0 10px 24px #4f46e545}.sf-voice-mic.listening{animation:sfVoicePulse 1s ease-in-out infinite}@keyframes sfVoicePulse{50%{box-shadow:0 0 0 12px #4f46e524}}.sf-voice-capture strong,.sf-voice-capture span{display:block}.sf-voice-capture strong{color:var(--text)}.sf-voice-capture span{margin-top:3px;color:var(--muted);font-size:10px}.sf-voice-examples{display:flex;gap:6px;overflow-x:auto;padding-bottom:2px}.sf-voice-examples button{padding:7px 10px;border:1px solid var(--line);border-radius:999px;color:var(--muted);background:var(--panel2);font-size:10px;white-space:nowrap}.sf-voice-confirm{display:grid;gap:4px;padding:14px;border:1px solid #A7F3D0;border-radius:14px;background:#ecfdf5}[data-theme=dark] .sf-voice-confirm{border-color:#34d3994d;background:#10b9811a}.sf-voice-confirm>span{color:#047857;font-size:9px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.sf-voice-confirm strong{color:var(--text);font-size:17px}.sf-voice-confirm p,.sf-voice-confirm small{margin:0;color:var(--muted)}.sf-voice-confirm .btn{margin-top:10px}[data-theme=light] .sf-unit-flow-summary,[data-theme=light] .sf-unit-flow-section,[data-theme=light] .sf-unit-flow-section.presets,[data-theme=light] .sf-unit-flow-task,[data-theme=light] .sf-unit-flow-activity,[data-theme=light] .sf-unit-flow-save,[data-theme=light] .sf-dispatch-group,[data-theme=light] .sf-dispatch-summary{color:#0f172a;border-color:#d8e1ec;background:#fff}[data-theme=light] .sf-unit-flow-section.presets{background:linear-gradient(135deg,#eef2ff,#f8fafc)}[data-theme=light] .sf-unit-flow-summary{background:linear-gradient(135deg,#f0fdfa,#eef2ff)}[data-theme=light] .sf-unit-flow-save{background:#fffffff7;box-shadow:0 -10px 30px #0f172a17}[data-theme=light] .sf-unit-flow-task-title>span,[data-theme=light] .sf-unit-flow-activity-icon{color:#4338ca;border-color:#c7d2fe;background:#eef2ff}[data-theme=light] .sf-unit-flow-choice span{color:#475569;border-color:#cbd5e1;background:#f8fafc}[data-theme=light] .sf-unit-flow-choice .done input:checked+span{color:#047857;border-color:#6ee7b7;background:#ecfdf5}[data-theme=light] .sf-unit-flow-choice .next input:checked+span{color:#3730a3;border-color:#a5b4fc;background:#eef2ff}.sf-unit-flow-modal .modal-body{padding-bottom:0}.sf-unit-flow-form{padding-bottom:18px}.sf-unit-flow-save{position:static;bottom:auto}.sf-dispatch-empty{grid-column:1 / -1;min-height:220px;display:grid;place-items:center;align-content:center;gap:7px;padding:28px;border:1px dashed var(--line);border-radius:15px;color:var(--muted);background:var(--panel2);text-align:center}.sf-dispatch-empty svg{width:36px;color:var(--success)}.sf-dispatch-empty strong{color:var(--text);font-size:16px}@media(max-width:900px){.sf-units-toolbar,.sf-units-filterbar,.sf-today-head{align-items:stretch;flex-direction:column}.sf-units-primary-actions>.btn,.sf-today-head-actions>.btn{flex:1}.sf-units-filterbar .search{max-width:none}.sf-status-filters{margin-inline:-2px}.sf-quick-strip{grid-template-columns:repeat(2,1fr)}}@media(max-width:620px){.sf-unit-grid{grid-template-columns:1fr}.sf-units-context,.sf-units-context label{align-items:stretch;flex-direction:column}.sf-units-context .select{min-width:0}.sf-units-primary-actions{display:grid;grid-template-columns:1fr 1fr}.sf-units-primary-actions .btn.primary{grid-column:1 / -1}.sf-today-head-actions{display:grid;grid-template-columns:1fr 1fr}.sf-job-card{flex-direction:column}.sf-job-card>div:last-child{width:100%;justify-content:flex-start}.sf-notification-launch{display:inline-flex!important}.sf-voice-backdrop{align-items:end;padding:0}.sf-voice-sheet{border-radius:20px 20px 0 0}.sf-voice-body{padding-bottom:calc(20px + env(safe-area-inset-bottom))}}
