:root{--bg: #f6f8fb;--surface: #ffffff;--surface-2: #f1f4f9;--surface-3: #e8edf5;--border: #e2e8f0;--border-strong: #cbd5e1;--text: #0f172a;--text-2: #334155;--muted: #64748b;--primary: #1d5bd8;--primary-hover: #174bb5;--primary-ink: #ffffff;--primary-soft: #e6eefc;--focus: rgba(29, 91, 216, .28);--green: #15803d;--green-soft: #e7f6ec;--green-ink: #166534;--red: #dc2626;--red-soft: #fdecec;--red-ink: #991b1b;--amber: #b45309;--amber-soft: #fdf3e1;--amber-ink: #92400e;--blue: #2563eb;--blue-soft: #e7effd;--blue-ink: #1e40af;--purple: #7c3aed;--purple-soft: #f1ecfe;--purple-ink: #5b21b6;--danger-btn: #dc2626;--danger-hover: #b91c1c;--success-btn: #15803d;--grey-soft: #f1f5f9;--grey-ink: #334155;--sidebar: #ffffff;--sidebar-ink: #334155;--sidebar-muted: #64748b;--sidebar-strong: #0f172a;--sidebar-line: #e7ecf3;--sidebar-hover: #f1f4f9;--sidebar-active: #e6eefc;--sidebar-active-ink: #174bb5;--backdrop: rgba(15, 23, 42, .45);--radius: 10px;--radius-sm: 7px;--shadow: 0 1px 2px rgba(15, 23, 42, .04);--shadow-md: 0 4px 12px rgba(15, 23, 42, .08);--shadow-lg: 0 20px 48px rgba(15, 23, 42, .18);--sidebar-w: 248px;--topbar-h: 56px;color-scheme:light}:root[data-theme=dark]{--bg: #0a0b0d;--surface: #121418;--surface-2: #1a1d23;--surface-3: #23272f;--border: #262a33;--border-strong: #353b47;--text: #f1f5f9;--text-2: #cbd5e1;--muted: #94a3b8;--primary: #3b78ea;--primary-hover: #5289ee;--primary-ink: #ffffff;--primary-soft: rgba(59, 120, 234, .16);--focus: rgba(59, 120, 234, .4);--green: #22c55e;--green-soft: rgba(34, 197, 94, .13);--green-ink: #86efac;--red: #f87171;--red-soft: rgba(248, 113, 113, .13);--red-ink: #fca5a5;--amber: #f59e0b;--amber-soft: rgba(245, 158, 11, .13);--amber-ink: #fcd34d;--blue: #60a5fa;--blue-soft: rgba(96, 165, 250, .13);--blue-ink: #93c5fd;--purple: #a78bfa;--purple-soft: rgba(167, 139, 250, .13);--purple-ink: #c4b5fd;--danger-btn: #dc2626;--danger-hover: #ef4444;--success-btn: #16a34a;--grey-soft: #1f232a;--grey-ink: #e2e8f0;--sidebar: #0f1114;--sidebar-ink: #cbd5e1;--sidebar-muted: #8b95a5;--sidebar-strong: #f8fafc;--sidebar-line: #20242b;--sidebar-hover: rgba(255, 255, 255, .05);--sidebar-active: rgba(59, 120, 234, .18);--sidebar-active-ink: #ffffff;--backdrop: rgba(0, 0, 0, .6);--shadow: 0 1px 2px rgba(0, 0, 0, .3);--shadow-md: 0 4px 12px rgba(0, 0, 0, .35);--shadow-lg: 0 20px 48px rgba(0, 0, 0, .55);color-scheme:dark}*{box-sizing:border-box}html,body,#root{height:100%}html{-webkit-text-size-adjust:100%}body{margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-size:14px;line-height:1.5;color:var(--text);background:var(--bg);font-feature-settings:"cv11","ss01";-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}a{color:var(--primary);text-decoration:none;font-weight:500}a:hover{text-decoration:underline;text-underline-offset:2px}h1,h2,h3,h4{color:var(--text);letter-spacing:-.011em}h1{font-size:22px;line-height:1.3;font-weight:600;margin:0;letter-spacing:-.018em}h2{font-size:17px;line-height:1.35;font-weight:600;margin:0}h3{font-size:15px;line-height:1.4;font-weight:600;margin:0}h4{font-size:12px;font-weight:600;margin:18px 0 8px;text-transform:uppercase;letter-spacing:.05em;color:var(--muted)}p{margin:0 0 10px}code{font-family:ui-monospace,SF Mono,Cascadia Mono,Consolas,monospace;font-size:12.5px;background:var(--surface-2);padding:1px 5px;border-radius:4px}.stat-value,.money,.num{font-variant-numeric:tabular-nums}:focus-visible{outline:2px solid var(--primary);outline-offset:2px}svg{flex:none}::selection{background:var(--primary-soft)}.shell{display:grid;grid-template-columns:var(--sidebar-w) minmax(0,1fr);min-height:100%}.sidebar{background:var(--sidebar);color:var(--sidebar-ink);border-right:1px solid var(--sidebar-line);display:flex;flex-direction:column;position:sticky;top:0;height:100vh;height:100dvh;z-index:40}.sidebar-head{padding:16px 14px 12px}.brand{display:flex;gap:10px;align-items:center;min-width:0}.brand>div{min-width:0}.brand strong{display:block;color:var(--sidebar-strong);font-size:14px;font-weight:600;line-height:1.3;letter-spacing:-.01em}.brand small{display:block;color:var(--sidebar-muted);font-size:12px;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.brand-mark{width:32px;height:32px;border-radius:8px;background:var(--primary);color:#fff;display:grid;place-items:center;font-weight:700;font-size:12.5px;letter-spacing:.02em;flex:none}.login-card .brand strong{color:var(--text);font-size:15px}nav{display:flex;flex-direction:column;gap:1px;flex:1;overflow-y:auto;padding:4px 10px 12px}.nav-group{display:flex;flex-direction:column;gap:1px;margin-bottom:12px}.section-label{font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--sidebar-muted);padding:8px 10px 4px}.nav-item{display:flex;align-items:center;gap:10px;height:34px;padding:0 10px;border-radius:var(--radius-sm);color:var(--sidebar-ink);font-weight:500;font-size:13.5px;transition:background .12s,color .12s}.nav-item svg{width:17px;height:17px;color:var(--sidebar-muted);transition:color .12s}.nav-item:hover{background:var(--sidebar-hover);color:var(--sidebar-strong);text-decoration:none}.nav-item:hover svg{color:var(--sidebar-strong)}.nav-item.active{background:var(--sidebar-active);color:var(--sidebar-active-ink);font-weight:600}.nav-item.active svg{color:var(--sidebar-active-ink)}.nav-badge{margin-left:auto;background:var(--red);color:#fff;border-radius:999px;font-size:11px;line-height:18px;min-width:18px;padding:0 6px;text-align:center;font-weight:600}.search-btn{display:flex;align-items:center;gap:8px;width:100%;height:34px;margin-top:14px;padding:0 10px;border:1px solid var(--sidebar-line);border-radius:var(--radius-sm);background:var(--surface-2);color:var(--sidebar-muted);font:inherit;font-size:13px;cursor:pointer;transition:border-color .12s}.search-btn:hover{border-color:var(--border-strong)}.search-btn span{flex:1;text-align:left}.search-btn svg{width:15px;height:15px}.search-btn kbd,.palette kbd{font:inherit;font-size:11px;color:var(--sidebar-muted);border:1px solid var(--sidebar-line);background:var(--surface);border-radius:4px;padding:0 5px;line-height:18px}.sidebar-foot{border-top:1px solid var(--sidebar-line);padding:10px 10px 12px;display:flex;flex-direction:column;gap:6px}.account .avatar{margin-right:4px}.account{display:flex;align-items:center;gap:6px;padding:4px;min-width:0}.account>div{flex:1;min-width:0}.account strong{display:block;color:var(--sidebar-strong);font-size:13px;font-weight:600;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account small{display:block;color:var(--sidebar-muted);font-size:12px;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.avatar{width:32px;height:32px;border-radius:50%;background:var(--primary-soft);color:var(--primary);display:grid;place-items:center;font-size:12px;font-weight:600;flex:none}.foot-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 4px}.main{min-width:0;display:flex;flex-direction:column}.content{width:100%;max-width:1440px;margin:0 auto;padding:28px 32px 56px}.topbar,.sidebar-backdrop{display:none}.row{display:flex;align-items:center}.wrap{flex-wrap:wrap}.gap-s{gap:8px}.grow{flex:1;min-width:0}.right{text-align:right;justify-content:flex-end}.nowrap{white-space:nowrap}.muted{color:var(--muted)}.small{font-size:12.5px}.w-full{width:100%}.truncate{max-width:320px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dim{opacity:.55}.center{text-align:center}.mt{margin-top:12px}.mb{margin-bottom:12px}.money{white-space:nowrap}.text-red{color:var(--red);font-weight:600}.clickable{cursor:pointer}.clickable:hover td{background:var(--surface-2)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:36px;border:1px solid transparent;border-radius:var(--radius-sm);padding:0 14px;font:inherit;font-size:13.5px;font-weight:500;line-height:1;cursor:pointer;white-space:nowrap;transition:background .12s,border-color .12s,color .12s,box-shadow .12s;-webkit-user-select:none;user-select:none}.btn svg{width:16px;height:16px}.btn:disabled{opacity:.5;cursor:not-allowed}.btn:active:not(:disabled){transform:translateY(.5px)}.btn-primary{background:var(--primary);color:var(--primary-ink);box-shadow:0 1px 2px #0f172a1f}.btn-primary:hover:not(:disabled){background:var(--primary-hover)}.btn-secondary{background:var(--surface);border-color:var(--border-strong);color:var(--text);box-shadow:var(--shadow)}.btn-secondary:hover:not(:disabled){background:var(--surface-2)}.btn-success{background:var(--success-btn);color:#fff}.btn-success:hover:not(:disabled){filter:brightness(.94)}.btn-danger{background:var(--danger-btn);color:#fff}.btn-danger:hover:not(:disabled){background:var(--danger-hover)}.btn-ghost{background:transparent;color:var(--primary)}.btn-ghost:hover:not(:disabled){background:var(--primary-soft)}.btn-sm{height:30px;padding:0 10px;font-size:13px}.icon-btn{display:inline-grid;place-items:center;width:32px;height:32px;border:0;background:transparent;cursor:pointer;padding:0;border-radius:var(--radius-sm);color:var(--muted);transition:background .12s,color .12s}.icon-btn svg{width:17px;height:17px}.icon-btn:hover{background:var(--surface-2);color:var(--text)}.icon-btn.danger:hover{color:var(--red);background:var(--red-soft)}.sidebar .icon-btn{color:var(--sidebar-muted)}.link-btn{border:0;background:none;padding:0;font:inherit;color:var(--primary);font-weight:500;cursor:pointer}.link-btn:hover{text-decoration:underline;text-underline-offset:2px}.input{width:100%;min-width:0;height:36px;border:1px solid var(--border-strong);border-radius:var(--radius-sm);padding:0 11px;font:inherit;font-size:14px;background:var(--surface);color:var(--text);transition:border-color .12s,box-shadow .12s}textarea.input{height:auto;min-height:84px;padding:8px 11px;line-height:1.5;resize:vertical}select.input{padding-right:32px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center;cursor:pointer}select[multiple].input{height:auto;background-image:none;padding:6px}.input::placeholder{color:var(--muted);opacity:.8}.input:hover:not(:disabled):not(:focus){border-color:var(--muted)}.input:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px var(--focus)}.input:disabled{background:var(--surface-2);color:var(--muted);cursor:not-allowed}input[type=checkbox],input[type=radio]{accent-color:var(--primary);width:16px;height:16px;margin:0;vertical-align:middle}input[type=range]{width:100%;accent-color:var(--primary)}input[type=file].input{height:auto;padding:6px}.filters .input,.page-head .input{width:auto;min-width:160px}.filters .search-wide{min-width:min(340px,100%)}.field{display:flex;flex-direction:column;gap:6px;margin-bottom:14px;min-width:0}.password-input{position:relative}.password-input .input{padding-right:40px}.password-input .icon-btn{position:absolute;right:2px;top:50%;transform:translateY(-50%)}.field-label{font-weight:500;font-size:13px;color:var(--text-2)}.field-hint{font-size:12px;color:var(--muted);line-height:1.4}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.form-col{display:flex;flex-direction:column}label:has(>input[type=checkbox]){display:inline-flex;align-items:center;gap:8px;cursor:pointer}.badge{display:inline-flex;align-items:center;gap:4px;border-radius:999px;padding:0 8px;height:22px;font-size:12px;font-weight:500;white-space:nowrap;line-height:1;vertical-align:middle}.badge-green{background:var(--green-soft);color:var(--green-ink)}.badge-red{background:var(--red-soft);color:var(--red-ink)}.badge-amber{background:var(--amber-soft);color:var(--amber-ink)}.badge-blue{background:var(--blue-soft);color:var(--blue-ink)}.badge-purple{background:var(--purple-soft);color:var(--purple-ink)}.badge-grey{background:var(--grey-soft);color:var(--grey-ink);box-shadow:inset 0 0 0 1px var(--border)}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:18px 20px;margin-bottom:16px;min-width:0}.card-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin:-2px 0 14px}.page-head{display:flex;justify-content:space-between;align-items:flex-end;gap:12px 16px;margin-bottom:22px;flex-wrap:wrap}.page-head>div:first-child{min-width:0}.page-head p{margin:4px 0 0;font-size:13.5px}.page-head .row{align-items:center}.filters{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:16px}.grid-2{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;margin-bottom:16px}.grid-2>.card{margin-bottom:0}.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin-bottom:16px}.stats-5{grid-template-columns:repeat(5,minmax(0,1fr))}.stats-4{grid-template-columns:repeat(4,minmax(0,1fr))}.stat{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:16px 18px;display:flex;flex-direction:column;gap:6px;box-shadow:var(--shadow);min-width:0;min-height:112px}.stat-label{color:var(--muted);font-size:13px;font-weight:500}.stat-value{font-size:24px;line-height:1.2;font-weight:600;letter-spacing:-.02em;color:var(--text)}.stat-sub{font-size:12.5px;color:var(--muted)}.stat-green .stat-value{color:var(--green)}.stat-red .stat-value{color:var(--red)}.stat-amber .stat-value{color:var(--amber)}.stat-blue .stat-value{color:var(--blue)}.table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:0 -20px;padding:0 20px}.table{width:100%;border-collapse:separate;border-spacing:0;font-size:13.5px}.table th{text-align:left;font-size:12px;color:var(--muted);font-weight:500;padding:9px 12px;background:var(--surface-2);border-bottom:1px solid var(--border);border-top:1px solid var(--border);white-space:nowrap}.table th:first-child{border-left:1px solid var(--border);border-top-left-radius:var(--radius-sm);border-bottom-left-radius:var(--radius-sm)}.table th:last-child{border-right:1px solid var(--border);border-top-right-radius:var(--radius-sm);border-bottom-right-radius:var(--radius-sm)}.table td{padding:11px 12px;border-bottom:1px solid var(--border);vertical-align:middle;color:var(--text)}.table td>strong:first-child,.table td>a:first-child>strong{white-space:nowrap}.table tbody tr:last-child td{border-bottom:0}.table.hover tbody tr{cursor:pointer}.table.hover tbody tr:hover td,.table tbody tr.clickable:hover td{background:var(--surface-2)}.table th.right,.table td.right{text-align:right}.empty{padding:36px 16px;text-align:center;color:var(--muted);display:flex;gap:8px;align-items:center;justify-content:center;font-size:13.5px}.warn-box,.notice{border-radius:var(--radius-sm);padding:10px 12px;margin:0 0 14px;background:var(--amber-soft);color:var(--amber-ink);font-size:13.5px}.warn-box p{margin:0 0 8px}.notice-blue{background:var(--blue-soft);color:var(--blue-ink)}.error-box{background:var(--red-soft);color:var(--red-ink);border-radius:var(--radius-sm);padding:10px 12px;margin:8px 0 12px;font-size:13.5px}.success-box{background:var(--green-soft);color:var(--green-ink);border-radius:var(--radius-sm);padding:10px 12px;margin:8px 0 12px;font-size:13.5px}.announcement{display:flex;gap:12px;align-items:flex-start;background:var(--blue-soft);color:var(--blue-ink);border-radius:var(--radius);padding:12px 14px;margin-bottom:16px;white-space:pre-line;font-size:13.5px}.announcement-warn{background:var(--amber-soft);color:var(--amber-ink)}.announcement .icon-btn{color:inherit;width:28px;height:28px}.announcement .icon-btn:hover{background:#0000000f}.spinner{width:14px;height:14px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;display:inline-block;animation:spin .7s linear infinite;flex:none}@keyframes spin{to{transform:rotate(360deg)}}.tabs{display:flex;gap:2px;margin-bottom:16px;border-bottom:1px solid var(--border);overflow-x:auto;scrollbar-width:none}.tabs::-webkit-scrollbar{display:none}.tab{border:0;background:transparent;padding:10px 12px;font:inherit;font-size:13.5px;font-weight:500;color:var(--muted);cursor:pointer;border-bottom:2px solid transparent;margin-bottom:-1px;white-space:nowrap;transition:color .12s}.tab:hover{color:var(--text)}.tab.active{color:var(--primary);border-bottom-color:var(--primary)}.progress{position:relative;height:22px;background:var(--surface-2);border-radius:6px;overflow:hidden;min-width:120px}.progress div{position:absolute;inset:0 auto 0 0;background:var(--green-soft)}.progress span{position:relative;font-size:12px;font-weight:500;padding-left:8px;line-height:22px}.progress-amber div{background:var(--amber-soft)}.progress-red div{background:var(--red-soft)}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:var(--backdrop);display:grid;place-items:center;z-index:50;padding:16px;animation:fade .15s ease-out}.modal{background:var(--surface);border:1px solid var(--border);border-radius:12px;width:min(560px,100%);max-height:calc(100dvh - 32px);display:flex;flex-direction:column;box-shadow:var(--shadow-lg);animation:rise .18s ease-out}.modal-wide{width:min(1080px,100%)}.modal-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 20px;border-bottom:1px solid var(--border)}.modal-head h2{font-size:16px}.modal-body{padding:18px 20px;overflow-y:auto}.modal-foot{display:flex;gap:8px;justify-content:flex-end;padding:14px 20px;border-top:1px solid var(--border);background:var(--surface-2);border-radius:0 0 12px 12px;flex-wrap:wrap}@keyframes fade{0%{opacity:0}}@keyframes rise{0%{opacity:0;transform:translateY(8px) scale(.99)}}.action-bar{display:flex;align-items:center;gap:12px;padding:12px 14px;margin-bottom:16px;border-radius:var(--radius);background:var(--amber-soft);color:var(--amber-ink);border:1px solid color-mix(in srgb,var(--amber) 35%,transparent);font-size:13.5px}.action-bar>svg{width:20px;height:20px}.action-bar .btn{text-decoration:none}@media (max-width: 640px){.action-bar{flex-wrap:wrap}.action-bar .btn{width:100%}}.picker{position:relative;display:inline-flex;min-width:0}.field .picker,.form-grid .picker{display:flex}.picker-trigger{display:inline-flex;align-items:center;gap:8px;text-align:left;cursor:pointer;min-width:150px;white-space:nowrap}.picker-trigger svg{width:16px;height:16px;color:var(--muted)}.picker-trigger:disabled{cursor:not-allowed}.picker-required{position:absolute;left:50%;bottom:0;width:1px;height:1px;opacity:0;pointer-events:none}.picker-pair{flex-wrap:wrap}.picker-panel{position:fixed;top:-9999px;left:0;width:296px;box-sizing:border-box;max-width:calc(100vw - 16px);background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-lg);padding:10px;animation:rise .12s ease-out}.cal{width:268px}.cal-nav{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}.cal-nav strong{font-size:14px}.cal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:2px}.month-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding:4px 0}.cal-dow{font-size:11.5px;color:var(--muted);text-align:center;padding:4px 0;font-weight:500}.cal-cell{height:34px;border:0;border-radius:var(--radius-sm);background:transparent;color:var(--text);font:inherit;font-size:13px;cursor:pointer;font-variant-numeric:tabular-nums}.cal-cell:hover:not(:disabled){background:var(--surface-2)}.cal-cell.today{box-shadow:inset 0 0 0 1px var(--primary)}.cal-cell.selected{background:var(--primary);color:var(--primary-ink);font-weight:600}.cal-cell:disabled{color:var(--muted);opacity:.4;cursor:not-allowed}.cal-foot{display:flex;justify-content:space-between;border-top:1px solid var(--border);margin-top:8px;padding:8px 4px 0}.cal-foot .link-btn:disabled{opacity:.4;cursor:not-allowed}.time-list{width:150px;max-height:260px;overflow-y:auto;display:flex;flex-direction:column;gap:1px;scrollbar-width:thin}.time-opt{border:0;background:transparent;text-align:left;padding:7px 10px;border-radius:var(--radius-sm);font:inherit;font-size:13.5px;color:var(--text);cursor:pointer;font-variant-numeric:tabular-nums}.time-opt:hover{background:var(--surface-2)}.time-opt.selected{background:var(--primary);color:var(--primary-ink)}@media (max-width: 640px){.filters .picker,.page-head .picker{flex:1 1 140px}.picker-trigger{width:100%;min-width:0}}.modal.dialog{width:min(440px,100%)}.dialog-message{margin:0 0 4px;color:var(--text-2);line-height:1.55}.notices{position:fixed;left:50%;bottom:20px;transform:translate(-50%);display:flex;flex-direction:column;gap:8px;z-index:70;width:min(440px,calc(100vw - 32px));pointer-events:none}.notice-toast{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border-radius:var(--radius);background:var(--text);color:var(--surface);box-shadow:var(--shadow-lg);font-size:13.5px;animation:rise .18s ease-out}.notice-toast svg{width:18px;height:18px;margin-top:1px}.notice-success svg{color:#4ade80}.notice-error svg{color:#f87171}.notice-info svg{color:#60a5fa}.list-card{padding:0;overflow:hidden}.list-card>.table-scroll{margin:0;padding:0}.list-card .table th{border-radius:0!important;border-left:0;border-right:0;border-top:0;padding-top:10px;padding-bottom:10px}.list-card .table th:first-child,.list-card .table td:first-child{padding-left:20px}.list-card .table th:last-child,.list-card .table td:last-child{padding-right:20px}.list-card .empty{padding:48px 16px}.list-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:14px 20px;border-bottom:1px solid var(--border)}.segmented{display:inline-flex;padding:3px;gap:2px;background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius-sm);overflow-x:auto;max-width:100%}.segmented button{display:inline-flex;align-items:center;gap:6px;border:0;background:transparent;color:var(--muted);font:inherit;font-size:13px;font-weight:500;height:28px;padding:0 12px;border-radius:5px;cursor:pointer;white-space:nowrap}.segmented button:hover{color:var(--text)}.segmented button[aria-pressed=true]{background:var(--surface);color:var(--text);box-shadow:var(--shadow)}.segmented .count{font-size:11.5px;color:var(--muted);font-variant-numeric:tabular-nums}.search-field{position:relative;flex:1 1 240px;max-width:360px}.search-field svg{position:absolute;left:10px;top:50%;transform:translateY(-50%);width:16px;height:16px;color:var(--muted);pointer-events:none}.search-field .input{padding-left:34px}.toggle-label{display:inline-flex;align-items:center;gap:8px;font-size:13px;color:var(--text-2);cursor:pointer;margin-left:auto;white-space:nowrap}.person-cell{display:flex;align-items:center;gap:12px;min-width:180px}.person-cell a{font-weight:600;color:var(--text)}.person-cell a:hover{color:var(--primary)}.avatar.sm{width:34px;height:34px;font-size:12px}.people-table td{padding-top:12px;padding-bottom:12px}.people-table tbody tr:hover td{background:var(--surface-2)}.profile-hero{display:flex;align-items:center;gap:18px;flex-wrap:wrap;padding:22px 24px}.profile-hero h1{font-size:22px;margin-bottom:6px}.hero-photo,.hero-initials{width:64px;height:64px;border-radius:50%;flex:none;object-fit:cover}.hero-initials{display:grid;place-items:center;background:var(--primary-soft);color:var(--primary);font-size:22px;font-weight:600}.hero-meta{display:flex;align-items:center;gap:6px 12px;flex-wrap:wrap;color:var(--muted);font-size:13.5px}.detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 20px;margin:0}.detail-grid dt{font-size:12px;color:var(--muted);margin-bottom:2px}.detail-grid dd{margin:0;font-weight:500;overflow-wrap:anywhere}.detail-grid .span-2{grid-column:1 / -1}.pay-table td{padding-top:9px;padding-bottom:9px}.pay-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:20px;align-items:start}.pay-group{margin-bottom:16px}.pay-group h4{margin:0 0 6px}.pay-group .pay-table{margin-bottom:6px}.pay-side{display:flex;flex-direction:column;gap:12px}.pay-side-box{border:1px solid var(--border);border-radius:var(--radius-sm);padding:12px 14px}.pay-side-box h4{margin:0 0 8px;font-size:13px}.pay-dl{margin:0;display:flex;flex-direction:column;gap:6px}.pay-dl>div{display:flex;justify-content:space-between;gap:10px;font-size:13px}.pay-dl dt{color:var(--muted)}.pay-dl dd{margin:0;font-weight:500;text-align:right;overflow-wrap:anywhere}.seg-green{background:var(--green)}.seg-bar{display:flex;height:10px;border-radius:999px;background:var(--surface-2);overflow:hidden;gap:2px}.seg-bar>span{display:block;height:100%}.pay-legend{list-style:none;margin:10px 0 0;padding:0;display:flex;flex-direction:column;gap:4px;font-size:13px}.pay-legend li{display:flex;align-items:center;gap:8px}.pay-legend li .muted{margin-left:auto}.pay-legend i{width:9px;height:9px;border-radius:3px}.extra-list{list-style:none;margin:0 0 8px;padding:0;display:flex;flex-direction:column;gap:8px}.extra-list li{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr) 150px 36px;gap:8px;align-items:center}.pay-actions{margin-top:16px}@media (max-width: 900px){.pay-layout{grid-template-columns:minmax(0,1fr)}.extra-list li{grid-template-columns:minmax(0,1fr) 110px}}.import-steps{list-style:none;counter-reset:step;margin:0 0 14px;padding:0;display:flex;flex-direction:column;gap:10px}.import-steps li{counter-increment:step;display:flex;align-items:flex-start;gap:12px;padding:12px 14px;border:1px solid var(--border);border-radius:var(--radius-sm)}.import-steps li:before{content:counter(step);flex:none;width:24px;height:24px;border-radius:50%;background:var(--primary-soft);color:var(--primary);display:grid;place-items:center;font-size:12px;font-weight:600}.import-steps .grow{display:flex;flex-direction:column;gap:4px}.drop-zone{display:flex;align-items:center;gap:10px;width:100%;margin-top:6px;padding:14px;border:1.5px dashed var(--border-strong);border-radius:var(--radius-sm);background:var(--surface-2);color:var(--text-2);font:inherit;font-size:13.5px;text-align:left;cursor:pointer;transition:border-color .12s,background .12s}.drop-zone svg{width:22px;height:22px;color:var(--primary)}.drop-zone:hover,.drop-zone.over{border-color:var(--primary);background:var(--primary-soft)}.drop-zone.has-file{border-style:solid}.notice-green{background:var(--green-soft);color:var(--green-ink)}.inline-icon{width:16px;height:16px;vertical-align:-3px;margin-right:4px}.import-errors{max-height:260px;overflow-y:auto}@media (max-width: 640px){.list-toolbar{padding:12px 16px}.search-field{max-width:none}.toggle-label{margin-left:0}.detail-grid{grid-template-columns:minmax(0,1fr)}.profile-hero{padding:18px}}.guide-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:16px;align-items:start}.guide-toc{position:sticky;top:16px;display:flex;flex-direction:column;gap:2px;padding:12px}.guide-toc .section-label{color:var(--muted);padding:4px 8px 8px}.guide-toc a{color:var(--text-2);font-weight:500;font-size:13.5px;padding:6px 8px;border-radius:var(--radius-sm)}.guide-toc a:hover{background:var(--surface-2);text-decoration:none}.guide-section{scroll-margin-top:16px}.guide-section h2{font-size:17px}.guide-section>p{margin-bottom:12px}.guide-steps{margin:0 0 12px;padding-left:22px;display:flex;flex-direction:column;gap:6px}.guide-steps li::marker{color:var(--primary);font-weight:600}.guide-notes{margin:0;padding:12px 14px 12px 30px;background:var(--surface-2);border-radius:var(--radius-sm);display:flex;flex-direction:column;gap:5px;font-size:13.5px;color:var(--text-2)}@media (max-width: 1200px){.stats-5,.stats-4{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}}@media (max-width: 960px){.guide-layout{grid-template-columns:minmax(0,1fr)}.guide-toc{position:static}}.form-section{border:1px solid var(--border);border-radius:var(--radius-sm);margin:0 0 12px;padding:0 14px}.form-section>summary{cursor:pointer;list-style:none;display:flex;gap:8px;align-items:center;padding:12px 0;font-weight:600;font-size:13.5px}.form-section>summary::-webkit-details-marker{display:none}.form-section>summary:before{content:"";width:7px;height:7px;border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);transform:rotate(-45deg);transition:transform .15s;margin-right:4px}.form-section[open]>summary:before{transform:rotate(45deg)}.form-section[open]>summary{border-bottom:1px solid var(--border);margin-bottom:14px}.grid-3{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px 24px}.map-box{height:420px;border-radius:var(--radius);overflow:hidden;border:1px solid var(--border);background:var(--surface-2)}.map-box.tall{height:380px;margin-top:12px}.map-box.live{height:calc(100dvh - 160px);min-height:420px}.map-box.route{margin-bottom:12px;border-radius:var(--radius);overflow:hidden}.place-editor{display:grid;grid-template-columns:360px minmax(0,1fr);gap:16px}.place-editor .map-box{height:100%;min-height:460px}.place-search{position:relative}.suggestions{position:absolute;z-index:5;left:0;right:0;top:100%;margin:4px 0 0;padding:4px;list-style:none;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);box-shadow:var(--shadow-md);max-height:260px;overflow-y:auto}.suggestions button{width:100%;text-align:left;border:0;background:transparent;padding:8px 10px;border-radius:6px;cursor:pointer;font:inherit;color:var(--text)}.suggestions button:hover,.suggestions button.active{background:var(--surface-2)}.suggestions-head{padding:6px 10px 4px;font-size:12px;color:var(--muted)}.city-picker .input{padding-right:34px;cursor:pointer}.city-picker .input:focus{cursor:text}.city-picker-chevron{position:absolute;right:10px;top:50%;width:16px;height:16px;transform:translateY(-50%);color:var(--muted);pointer-events:none}.legend{display:flex;gap:14px;flex-wrap:wrap;font-size:12.5px;color:var(--muted)}.legend i,.dot{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:5px;flex:none}.live-layout{display:grid;grid-template-columns:320px minmax(0,1fr);gap:16px}.live-list{margin:0;display:flex;flex-direction:column;gap:10px;max-height:calc(100dvh - 160px)}.live-list ul{list-style:none;margin:0 -8px;padding:0;overflow-y:auto}.live-list li{display:flex;gap:10px;align-items:center;padding:8px;border-radius:var(--radius-sm);cursor:pointer}.live-list li:hover,.live-list li.active{background:var(--surface-2)}.live-selected{display:flex;flex-direction:column;gap:10px;overflow-y:auto}.back-btn{display:inline-flex;align-items:center;gap:6px;align-self:flex-start}.page-back{margin:-4px 0 12px;font-size:13.5px}.back-btn svg{width:16px;height:16px}.live-name{margin:0;font-size:18px;font-weight:600}.live-sub{margin:6px 0 0;font-size:13px;font-weight:600;color:var(--muted)}.live-stops{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}.live-stops li{display:flex;align-items:center;gap:8px;padding:6px 8px;border:1px solid var(--border);border-radius:var(--radius-sm);cursor:default}.info{display:flex;flex-direction:column;gap:4px;font-size:13px;color:#111827}.rep-dot{display:block;width:18px;height:18px;border-radius:50%;background:var(--primary);border:3px solid #fff;box-shadow:0 0 0 2px var(--primary),0 2px 6px #00000059}.alert-list{list-style:none;margin:0;padding:0}.alert-list li{display:flex;gap:12px;align-items:flex-start;padding:12px 2px;border-bottom:1px solid var(--border)}.alert-list li:last-child{border-bottom:0}.alert-list li.read{opacity:.6}.alert-list.compact li{align-items:center;padding:10px 2px}.rp-holiday{display:flex;align-items:center;gap:8px;margin-bottom:12px}.rp-search{max-width:260px}.rp-list{list-style:none;margin:-6px 0;padding:0}.rp-row{display:grid;grid-template-columns:220px minmax(0,1fr);grid-template-rows:auto 1fr;column-gap:20px;row-gap:10px;align-items:start;padding:14px 0;border-top:1px solid var(--border)}.rp-row .rp-stops{grid-column:2;grid-row:1 / span 2}.rp-row .rp-actions{grid-column:1;grid-row:2}.rp-row:first-child{border-top:0}.rp-rep{display:flex;flex-direction:column;gap:3px;min-width:0}.rp-progress{display:flex;align-items:center;gap:8px;margin-top:4px}.rp-progress .mini-bar{flex:1;max-width:90px;margin-top:0}.rp-stops{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:6px;align-items:stretch;min-width:0}.rp-stop{display:flex;align-items:center;gap:8px;min-width:0;padding:6px 10px 6px 6px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);color:inherit;font:inherit;text-align:left;cursor:pointer}.rp-stop:hover:not(:disabled){background:var(--surface-2);border-color:var(--border-strong)}.rp-stop:disabled{cursor:default}.rp-num{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:11.5px;font-weight:700;flex:none}.rp-stop-text{display:flex;flex-direction:column;min-width:0}.rp-stop-text>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rp-stop-name{font-size:13px;font-weight:500}.rp-note{grid-column:1 / -1}.rp-actions{display:flex;flex-wrap:wrap;gap:4px;margin-left:-10px}@media (max-width: 640px){.rp-row{grid-template-columns:minmax(0,1fr);grid-template-rows:none}.rp-row .rp-stops,.rp-row .rp-actions{grid-column:1;grid-row:auto}.rp-stop{max-width:100%}.rp-search{max-width:none}}.stop-list{margin:0;padding-left:18px}.stop-list li{margin-bottom:4px}.stop-editor,.pick-list{list-style:none;margin:0 0 12px;padding:0}.stop-editor li,.pick-list li{display:flex;align-items:center;gap:8px;padding:8px 10px;border:1px solid var(--border);border-radius:var(--radius-sm);margin-bottom:6px;background:var(--surface)}.place-name{min-width:200px}.place-address{min-width:180px;max-width:320px}.cal-empty{background:transparent}.cal-empty .cal-label{color:var(--muted);font-size:12px}.cal-plan{border-style:dashed}.cal-plan .cal-label{color:var(--muted)}.cal-plan.planned{border-style:solid;background:var(--surface)}.cal-plan.planned .cal-label{color:var(--primary);font-weight:600}.cal-plan:not(:disabled):hover{border-color:var(--primary)}.date-nav{display:inline-flex;align-items:center;gap:4px;flex:none}.date-nav>:not(.icon-btn){flex:0 1 auto}.filters .search-select{min-width:220px}.filters .search-select .input{width:100%}.app-select{display:inline-flex;align-items:center;justify-content:space-between;gap:8px;text-align:left;cursor:pointer;min-width:120px}.app-select:disabled{cursor:not-allowed;opacity:.6}.app-select-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app-select svg{width:16px;height:16px;color:var(--muted);flex:none}.app-select[aria-expanded=true]{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-soft)}.app-select-panel{position:fixed;z-index:90;max-width:min(360px,calc(100vw - 16px));background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);box-shadow:var(--shadow-lg);padding:4px;animation:rise .12s ease-out}.app-select-panel ul{list-style:none;margin:0;padding:0;max-height:280px;overflow-y:auto;scrollbar-width:thin}.app-select-panel button{display:flex;align-items:center;gap:8px;width:100%;text-align:left;border:0;background:transparent;padding:8px 10px;border-radius:6px;font:inherit;font-size:13.5px;color:var(--text);cursor:pointer}.app-select-panel button.active{background:var(--surface-2)}.app-select-panel button[aria-selected=true]{color:var(--primary);font-weight:500}.app-select-panel button svg{width:15px;height:15px}.app-select-search{width:100%;margin-bottom:4px}.app-select-group{padding:8px 10px 2px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--muted)}.app-select-empty{padding:8px 10px;color:var(--muted);font-size:13px}.range-sep{color:var(--muted);font-size:13px;align-self:center}.repeat-head{margin:0 0 8px}.repeat-week{list-style:none;margin:0 0 14px;padding:0;display:flex;flex-direction:column;gap:4px}.repeat-week li{display:flex;align-items:center;gap:10px;padding:7px 10px;border:1px solid var(--border);border-radius:var(--radius-sm);min-width:0}.repeat-week li .grow{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.repeat-day{width:34px;font-weight:600;flex:none}.pick-main{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}.pick-name{font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pick-sub{color:var(--muted);font-size:12.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pick-done{color:var(--green-ink);font-size:13px;font-weight:500;padding:0 10px;flex:none}.pick-list .btn{flex:none}.pick-list{max-height:420px;overflow-y:auto;margin-top:8px}.pick-list li.pick-group{border:0;background:none;padding:10px 2px 2px;margin:0}.pick-group{margin:12px 0 4px;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--muted)}.seq{width:24px;height:24px;border-radius:50%;background:var(--primary);color:#fff;display:grid;place-items:center;font-size:12px;font-weight:600;flex:none}.import-result{margin-top:12px;display:flex;flex-direction:column;gap:10px}.timeline{list-style:none;padding:0;margin:0}.timeline li{padding:6px 0 6px 12px;border-left:2px solid var(--border)}.timeline li.bad{border-left-color:var(--red);color:var(--red-ink)}.timeline li.good{border-left-color:var(--green)}.timeline time{display:inline-block;width:72px;color:var(--muted)}.timeline li button{display:flex;gap:10px;align-items:flex-start;width:100%;text-align:left;background:none;border:0;border-radius:var(--radius-sm);padding:8px 6px;color:inherit;font:inherit;cursor:pointer}.timeline li button:hover:not(:disabled){background:var(--surface-2)}.timeline li button:disabled{cursor:default}.timeline li button .dot{margin-top:6px}.timeline li button .grow{display:flex;flex-direction:column;gap:2px;min-width:0}.timeline li:not(.passed){opacity:.72}.selfies{display:flex;gap:4px}.selfies img{width:40px;height:40px;object-fit:cover;border-radius:6px;border:1px solid var(--border)}.detail-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:14px}.kv-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:14px}.kv{display:flex;flex-direction:column;gap:3px;background:var(--surface-2);padding:10px 12px;border-radius:var(--radius-sm);min-width:0}.kv dt{font-size:12px;color:var(--muted)}.kv dd{margin:0;font-weight:500}.dl-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;margin:0}.selfie-thumb{width:32px;height:32px;border-radius:50%;object-fit:cover;display:block;border:1px solid var(--border)}.photo-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.photo{margin:0}.photo img,.photo-empty{width:100%;aspect-ratio:3 / 4;object-fit:cover;border-radius:var(--radius);background:var(--surface-2);display:grid;place-items:center;color:var(--muted);font-size:13px}.photo figcaption{font-size:12px;color:var(--muted);margin-top:6px;text-align:center}.facts{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:6px 16px;margin:0;font-size:13.5px}.facts dt{color:var(--muted)}.facts dd{margin:0;min-width:0;overflow-wrap:anywhere}.login-wrap{min-height:100%;display:grid;place-items:center;padding:24px 16px;background:var(--bg)}.login-card{width:min(400px,100%);background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:32px;box-shadow:var(--shadow-md)}.login-card-wide{width:min(460px,100%)}.login-card .brand{margin-bottom:24px}.login-card h1{font-size:20px;margin-bottom:4px}.login-card form .btn-primary{width:100%;height:40px}.login-top{display:flex;justify-content:flex-end;margin-bottom:8px}.powered-by{display:block;text-align:center;font-size:11.5px;font-weight:400;color:var(--sidebar-muted);padding:2px 0 0}.powered-by strong{font-weight:600}.powered-by:hover{color:var(--primary);text-decoration:none}.login-card .powered-by{color:var(--muted);margin-top:20px}.theme-switch{display:inline-flex;border:1px solid var(--border);border-radius:var(--radius-sm);padding:2px;background:var(--surface-2);gap:2px}.theme-switch button{display:inline-flex;align-items:center;gap:5px;border:0;background:transparent;color:var(--muted);font:inherit;font-size:12px;font-weight:500;height:24px;padding:0 8px;border-radius:5px;cursor:pointer}.theme-switch button svg{width:13px;height:13px}.theme-switch button[aria-pressed=true]{background:var(--surface);color:var(--text);box-shadow:var(--shadow)}.sidebar .theme-switch{border-color:var(--sidebar-line)}.toasts{position:fixed;right:16px;bottom:16px;display:flex;flex-direction:column;gap:8px;z-index:60}.toast{background:var(--surface);border:1px solid var(--border);border-left:3px solid var(--blue);border-radius:var(--radius-sm);padding:10px 14px;box-shadow:var(--shadow-lg);width:340px;display:flex;flex-direction:column;gap:2px;animation:rise .2s ease-out;font-size:13.5px}.toast-red{border-left-color:var(--red)}.toast-amber{border-left-color:var(--amber)}.toast-green{border-left-color:var(--green)}.key-box{font-family:ui-monospace,SF Mono,Cascadia Mono,Consolas,monospace;font-size:22px;font-weight:600;letter-spacing:.06em;text-align:center;padding:18px;border:1px dashed var(--primary);border-radius:var(--radius);background:var(--primary-soft);color:var(--text);-webkit-user-select:all;user-select:all}.steps{display:flex;gap:8px;margin-bottom:16px}.steps span{flex:1;height:4px;border-radius:999px;background:var(--border)}.steps span.on{background:var(--primary)}.steps-list{padding-left:18px}.qr{background:#fff;padding:8px;border-radius:var(--radius-sm)}.print-only{display:none}.invoice-actions{margin-bottom:16px}.invoice{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:40px;max-width:820px;box-shadow:var(--shadow)}.invoice-head{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;border-bottom:1px solid var(--border);padding-bottom:20px;margin-bottom:20px}.invoice-head h1{font-size:24px}.invoice-meta{display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap;margin-bottom:24px}.invoice-meta dl{display:grid;grid-template-columns:auto auto;gap:4px 16px;margin:0}.invoice-meta dt{color:var(--muted)}.invoice-meta dd{margin:0;font-weight:500;text-align:right}.invoice-lines tfoot td{border-top:1px solid var(--border-strong);padding-top:12px;font-weight:600}.invoice footer{margin-top:28px}.day-picker{display:flex;flex-wrap:wrap;gap:6px}.day-picker button{border:1px solid var(--border-strong);background:var(--surface);color:var(--muted);font:inherit;font-size:13px;font-weight:500;height:32px;padding:0 10px;border-radius:var(--radius-sm);cursor:pointer;min-width:48px}.day-picker button[aria-pressed=true]{background:var(--primary-soft);border-color:var(--primary);color:var(--primary)}.chips{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:14px}.chip{border:1px solid var(--border-strong);background:var(--surface);color:var(--text-2);font:inherit;font-size:13px;font-weight:500;height:30px;padding:0 12px;border-radius:999px;cursor:pointer;display:inline-flex;gap:6px;align-items:center;transition:background .12s,border-color .12s}.chip:hover{background:var(--surface-2)}.chip[aria-pressed=true]{border-color:var(--primary);background:var(--primary-soft);color:var(--primary)}.chip b{font-weight:600}.route-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:16px;align-items:start;margin-bottom:16px}.route-timeline{margin-bottom:0}.route-main{position:sticky;top:calc(var(--deskbar-h, 0px) + 16px)}.map-box.route{height:clamp(320px,calc(100vh - var(--deskbar-h, 0px) - 140px),560px)}.tl{list-style:none;margin:0;padding:0;position:relative}.tl:before{content:"";position:absolute;left:77px;top:12px;bottom:12px;width:2px;background:var(--border)}.tl-row{display:grid;grid-template-columns:56px 24px minmax(0,1fr);column-gap:10px;align-items:start;padding:5px 0;transition:opacity .15s}.tl-row.future{opacity:.55}.tl-time{font-size:12.5px;color:var(--muted);text-align:right;padding-top:8px;white-space:nowrap;font-variant-numeric:tabular-nums}.tl-mark{width:12px;height:12px;border-radius:50%;margin:9px auto 0;position:relative;z-index:1;box-shadow:0 0 0 3px var(--surface)}.tl-num{width:24px;height:24px;margin-top:4px;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:12px;font-weight:700;flex:none}.tl-event{display:flex;flex-direction:column;gap:2px;width:100%;text-align:left;background:none;border:0;border-radius:var(--radius-sm);padding:6px 8px;color:inherit;font:inherit;cursor:pointer}.tl-event:hover:not(:disabled),.tl-card-head:hover:not(:disabled),.tl-steps button:hover:not(:disabled){background:var(--surface-2)}.tl-event:disabled,.tl-card-head:disabled,.tl-steps button:disabled{cursor:default}.tl-row.current .tl-event{background:var(--primary-soft)}.tl-card{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);overflow:hidden;transition:border-color .15s,box-shadow .15s}.tl-row.current .tl-card{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-soft)}.tl-card-head{display:flex;flex-direction:column;gap:3px;width:100%;text-align:left;background:none;border:0;padding:9px 12px;color:inherit;font:inherit;cursor:pointer}.tl-card-title{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}.tl-card-title strong{min-width:0;overflow-wrap:anywhere}.tl-card-title .badge{flex:none}.tl-reason{display:flex;flex-direction:column;gap:1px;margin:0 12px 10px;padding:7px 10px;border-radius:var(--radius-sm);background:var(--amber-soft);color:var(--amber-ink);font-size:13px}.tl-reason .muted{color:inherit;opacity:.8}.tl-steps{list-style:none;margin:0;padding:4px;border-top:1px solid var(--border);background:var(--surface-2)}.tl-steps button{display:grid;grid-template-columns:58px 8px minmax(0,1fr);gap:8px;align-items:center;width:100%;text-align:left;background:none;border:0;border-radius:6px;padding:5px 8px;color:inherit;font:inherit;font-size:13px;cursor:pointer}.tl-steps .tl-step-time{color:var(--muted);font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap}.tl-steps .dot{width:8px;height:8px;border-radius:50%}.tl-steps li.bad{color:var(--red-ink)}.tl-steps li.future{opacity:.55}.tl-missed{margin-top:14px;padding-top:12px;border-top:1px solid var(--border)}.tl-missed h4{font-size:13px;font-weight:600;color:var(--muted);margin:0 0 8px}.tl-missed ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}.tl-missed li{display:flex;align-items:center;gap:10px;font-size:13.5px}.tl-missed li .grow{display:flex;flex-direction:column;min-width:0;flex:1}.tl-missed .small-num{width:20px;height:20px;margin:0;font-size:11px}.playback-speed{flex:0 0 180px}.route-summary{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);margin-bottom:16px;overflow:hidden}.route-summary-item{display:flex;flex-direction:column;gap:4px;padding:14px 18px;min-width:0;border-left:1px solid var(--border)}.route-summary-item:first-child{border-left:0}.route-summary-item .label{color:var(--muted);font-size:12.5px;font-weight:500;white-space:nowrap}.route-summary-item .value{font-size:20px;line-height:1.25;font-weight:600;color:var(--text);font-variant-numeric:tabular-nums;white-space:nowrap;min-height:25px;display:flex;align-items:center}.route-summary-item .sub{color:var(--muted);font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.route-summary-item.tone-green .value{color:var(--green)}.route-summary-item.tone-amber .value{color:var(--amber-ink)}.route-summary-item.tone-red .value{color:var(--red)}.mini-bar{display:block;height:6px;border-radius:3px;background:var(--surface-2);overflow:hidden;margin-top:4px}.mini-bar span{display:block;height:100%;background:var(--green);border-radius:3px}.route-main{min-width:0}.playback{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:12px 16px}.playback input[type=range]{min-width:160px;accent-color:var(--primary);flex:1}.profile-top{display:grid;grid-template-columns:300px minmax(0,1fr);gap:16px;align-items:start}.profile-card{display:flex;flex-direction:column;gap:14px}.profile-photo{width:100%;aspect-ratio:4 / 3;object-fit:cover;border-radius:var(--radius-sm);background:var(--surface-2)}.profile-initials{width:88px;height:88px;border-radius:50%;background:var(--primary-soft);color:var(--primary);display:grid;place-items:center;font-size:30px;font-weight:600;letter-spacing:.02em}.empty-photo{display:flex;align-items:center;justify-content:center;color:var(--muted);font-size:13px}.profile-stats{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}.calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}.cal-head{font-size:12px;font-weight:500;color:var(--muted);text-align:center;padding-bottom:2px}.cal-day{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-height:74px;padding:6px 8px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);color:var(--text);font:inherit;text-align:left;cursor:pointer;min-width:0;transition:border-color .12s}.cal-day:disabled{cursor:default;opacity:.55}.cal-day:not(:disabled):hover{border-color:var(--primary)}.cal-day.today{box-shadow:0 0 0 2px var(--primary)}.cal-num{font-weight:600;font-size:13px}.cal-label{font-size:12px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.cal-time{font-size:11px;opacity:.8}.cal-day.tone-green{background:var(--green-soft);color:var(--green-ink);border-color:transparent}.cal-day.tone-amber{background:var(--amber-soft);color:var(--amber-ink);border-color:transparent}.cal-day.tone-red{background:var(--red-soft);color:var(--red-ink);border-color:transparent}.cal-day.tone-blue{background:var(--blue-soft);color:var(--blue-ink);border-color:transparent}.cal-day.tone-purple{background:var(--purple-soft);color:var(--purple-ink);border-color:transparent}.cal-day.tone-grey{background:var(--grey-soft);color:var(--grey-ink);border-color:transparent}.pay-total{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;border-radius:var(--radius-sm);background:var(--primary-soft);margin:4px 0 14px}.pay-subtotal{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;border-radius:var(--radius-sm);background:var(--surface-2);margin:0 0 6px;font-size:13.5px}.pay-total .muted{margin-right:auto;margin-left:8px}.pay-total strong{font-size:18px;font-weight:600}.pay-table td:last-child,.pay-table th:last-child{text-align:right}.pay-table tfoot td{font-weight:600;border-top:1px solid var(--border-strong)}.org-tree{list-style:none;margin:0;padding:0}.org-node{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:8px 10px;border-left:2px solid var(--border);margin-bottom:4px;border-radius:0 var(--radius-sm) var(--radius-sm) 0}.org-node:hover{background:var(--surface-2)}.palette-backdrop{align-items:flex-start;padding-top:12vh}.palette{width:min(580px,calc(100vw - 32px));background:var(--surface);border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow-lg);overflow:hidden;animation:rise .15s ease-out}.palette-input{width:100%;border:0;border-bottom:1px solid var(--border);padding:16px 18px;font:inherit;font-size:15px;background:var(--surface);color:var(--text);outline:none}.palette-list{list-style:none;margin:0;padding:6px;max-height:50vh;overflow-y:auto}.palette-group{font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);padding:10px 10px 4px}.palette-list button{display:flex;flex-direction:column;align-items:flex-start;gap:2px;width:100%;text-align:left;border:0;background:none;color:var(--text);font:inherit;padding:8px 10px;border-radius:var(--radius-sm);cursor:pointer}.palette-list button.active{background:var(--primary-soft)}.palette-empty{padding:16px 10px}.palette-foot{border-top:1px solid var(--border);padding:8px 14px;background:var(--surface-2)}.res-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,420px),1fr));gap:16px;margin-bottom:16px}.res-grid>.card{margin-bottom:0;display:flex;flex-direction:column}.res-head{display:flex;align-items:center;gap:12px;margin-bottom:18px}.res-head-text{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}.res-head-text h3{font-size:15px}.res-icon{flex:none;width:36px;height:36px;border-radius:9px;display:grid;place-items:center;background:var(--primary-soft);color:var(--primary)}.res-meters{display:grid;gap:16px}.res-meter-head{display:flex;align-items:baseline;gap:10px;margin-bottom:7px;font-size:14px}.res-meter-head>span:first-child{font-weight:500;flex:1;min-width:0}.res-meter-head .muted{font-size:13px;text-align:right}.res-pct{min-width:38px;text-align:right;font-size:13px;font-variant-numeric:tabular-nums}.res-bar{height:6px;border-radius:999px;background:var(--surface-3);overflow:hidden}.res-bar>i{display:block;height:100%;border-radius:inherit;transition:width .4s ease}.res-bar>i.tone-green{background:var(--green)}.res-bar>i.tone-amber{background:var(--amber)}.res-bar>i.tone-red{background:var(--red)}.res-bar>i.tone-blue{background:var(--primary)}.backup-job{background:var(--surface-2);border-radius:var(--radius-sm);padding:14px 16px;margin-bottom:14px}.backup-job .res-foot{padding-top:8px}.restore-notes{margin:10px 0 14px;padding-left:18px;color:var(--text-2);font-size:14px;display:grid;gap:4px}.res-pct.tone-green{color:var(--green)}.res-pct.tone-amber{color:var(--amber)}.res-pct.tone-red{color:var(--red)}.res-list{margin:0}.res-row{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:9px 0;border-bottom:1px solid var(--border);font-size:14px}.res-row:first-child{padding-top:0}.res-row:last-child{border-bottom:0;padding-bottom:0}.res-row dt{color:var(--muted)}.res-row dd{margin:0;font-weight:500;text-align:right}.res-foot{margin:auto 0 0;padding-top:16px;font-size:13px;color:var(--muted);line-height:1.5}.res-stack{display:flex;height:10px;border-radius:999px;background:var(--surface-3);overflow:hidden;gap:2px}.res-stack>i{display:block;height:100%}.res-legend{margin-top:12px}.res-legend .res-row dt{display:flex;align-items:center;gap:8px;color:var(--text-2)}.res-dot{flex:none;width:9px;height:9px;border-radius:3px}.res-share{display:inline-block;min-width:36px;text-align:right}.seg-blue{background:var(--blue)}.seg-purple{background:var(--purple)}.seg-amber{background:var(--amber)}.seg-grey{background:var(--border-strong)}.seg-free{background:var(--surface-3);box-shadow:inset 0 0 0 1px var(--border-strong)}.res-subhead{font-size:13px;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.04em;margin:0 0 10px}.res-services{display:flex;flex-direction:column;margin:-4px 0}.res-service{display:grid;grid-template-columns:auto minmax(0,1.1fr) minmax(0,1.4fr) auto;align-items:center;gap:14px;width:100%;padding:12px 8px;margin:0 -8px;width:calc(100% + 16px);background:none;border:0;border-bottom:1px solid var(--border);font:inherit;color:inherit;text-align:left;cursor:pointer;border-radius:var(--radius-sm);transition:background .12s}.res-service:last-child{border-bottom:0}.res-service:hover{background:var(--surface-2)}.res-service:focus-visible{outline:2px solid var(--focus);outline-offset:-2px}.res-service-name{display:flex;flex-direction:column;gap:1px;min-width:0}.res-service-meter{display:flex;flex-direction:column;gap:6px;min-width:0}.res-service-bar{display:flex;align-items:center;gap:10px}.res-service-bar .res-bar{flex:1}.res-service-go{color:var(--muted)}.tone-text-green{color:var(--green)}.tone-text-blue{color:var(--blue)}.tone-text-red{color:var(--red)}@media (max-width: 640px){.res-service{grid-template-columns:auto minmax(0,1fr) auto}.res-service-meter{grid-column:2 / 3;grid-row:2}.res-service-go{grid-row:1;grid-column:3}}.tab-dot{display:inline-block;width:7px;height:7px;border-radius:50%;margin-left:6px;vertical-align:2px}.seg-red{background:var(--red)}.attention{display:flex;align-items:center;gap:12px;padding:14px 18px;border-radius:var(--radius);margin-bottom:16px}.attention>div{display:flex;flex-direction:column;gap:2px}.attention-ok{background:var(--green-soft);color:var(--green-ink)}.attention-ok .muted{color:var(--green-ink);opacity:.8}.attention-list{border-left:3px solid var(--amber)}.attention-title{display:flex;align-items:center;gap:8px;font-size:15px;margin-bottom:8px;color:var(--amber-ink)}.attention-row{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;width:calc(100% + 16px);margin:0 -8px;padding:9px 8px;background:none;border:0;border-bottom:1px solid var(--border);font:inherit;color:inherit;text-align:left;cursor:pointer;border-radius:var(--radius-sm)}.attention-row:last-child{border-bottom:0}.attention-row:hover{background:var(--surface-2)}.attention-row:focus-visible{outline:2px solid var(--focus);outline-offset:-2px}.res-columns{columns:2 240px;column-gap:32px}.res-columns .res-row{break-inside:avoid;padding:9px 0}.res-columns .res-row:first-child{padding-top:9px}.res-live{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.res-live-text{display:flex;flex-direction:column;gap:2px;min-width:0}.bar-chart{display:flex;align-items:flex-end;gap:3px;height:160px;padding-bottom:18px}.bar-col{position:relative;flex:1;height:100%;display:flex;align-items:flex-end;min-width:4px}.bar{width:100%;min-height:0;background:var(--blue-soft);border-top:2px solid var(--blue);border-radius:3px 3px 0 0}.bar-label{position:absolute;bottom:-18px;left:0;font-size:11px;color:var(--muted)}nav,.modal-body,.live-list ul,.pick-list,.route-timeline,.palette-list,.suggestions{scrollbar-width:thin;scrollbar-color:var(--border-strong) transparent}.map-unavailable{height:100%;min-height:320px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;text-align:center;padding:24px;border:1px dashed var(--border-strong);border-radius:var(--radius);background:var(--surface-2);color:var(--muted);font-size:13.5px}.map-unavailable svg{width:28px;height:28px;margin-bottom:4px}.map-unavailable strong{color:var(--text);font-weight:600}@media (max-width: 1200px){.content{padding:24px 24px 48px}.live-layout{grid-template-columns:280px minmax(0,1fr)}.route-layout{grid-template-columns:minmax(0,1fr) 300px}.route-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.route-summary-item:nth-child(4){border-left:0}.route-summary-item:nth-child(n+4){border-top:1px solid var(--border)}.place-editor{grid-template-columns:320px minmax(0,1fr)}}@media (max-width: 960px){.shell{grid-template-columns:minmax(0,1fr)}.sidebar{position:fixed;inset:0 auto 0 0;width:min(280px,86vw);transform:translate(-100%);transition:transform .22s ease}.menu-open .sidebar{transform:none;box-shadow:var(--shadow-lg)}.menu-open .sidebar-backdrop{display:block;position:fixed;top:0;right:0;bottom:0;left:0;background:var(--backdrop);z-index:39;animation:fade .15s ease-out}.topbar{display:flex;align-items:center;gap:10px;position:sticky;top:0;z-index:30;height:var(--topbar-h);padding:0 12px;background:var(--surface);border-bottom:1px solid var(--border)}.topbar .brand strong{color:var(--text)}.topbar .brand small{color:var(--muted)}.content{padding:18px 16px 40px}.grid-2,.place-editor,.live-layout,.route-layout,.profile-top,.form-grid{grid-template-columns:minmax(0,1fr)}.route-main{position:static}.route-timeline{margin-bottom:16px}.route-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.route-summary-item:nth-child(odd){border-left:0}.route-summary-item:nth-child(4){border-left:1px solid var(--border)}.route-summary-item:nth-child(n+3){border-top:1px solid var(--border)}.map-box.route{height:400px}.map-box.live{height:60vh;min-height:340px}.live-list{max-height:none}.live-list ul{max-height:280px}.place-editor .map-box{min-height:340px}.kv-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cal-day{min-height:56px;padding:4px}.cal-time{display:none}.toast{width:calc(100vw - 32px)}.card{padding:16px}.table-scroll{margin:0 -16px;padding:0 16px}}@media (max-width: 640px){h1{font-size:20px}.page-head{align-items:flex-start;margin-bottom:18px}.page-head>.row{width:100%}.page-head>.row>.input,.page-head>.row>select{flex:1;min-width:0}.page-head>.row>.btn{flex:1 1 auto}.page-head>.row>.date-nav{flex:1 1 100%}.date-nav>:not(.icon-btn){flex:1 1 auto}.filters>.input,.filters>select{flex:1 1 140px;min-width:0}.chips{flex-wrap:nowrap;overflow-x:auto;margin-left:-16px;margin-right:-16px;padding:0 16px 2px;scrollbar-width:none}.chips::-webkit-scrollbar{display:none}.chip{flex:none}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.stat{padding:12px 14px;min-height:0}.stats>.stat:last-child:nth-child(odd){grid-column:1 / -1}.stat-value{font-size:20px}.modal-backdrop{place-items:end center;padding:0}.modal,.modal-wide{width:100%;max-height:92dvh;border-radius:14px 14px 0 0;border-bottom:0;animation:sheet .22s ease-out}.modal-foot{border-radius:0;padding-bottom:max(14px,env(safe-area-inset-bottom))}.modal-foot .btn{flex:1}.photo-row{grid-template-columns:repeat(2,minmax(0,1fr))}.kv-grid{grid-template-columns:minmax(0,1fr)}.invoice{padding:20px}.login-card{padding:24px 20px}.truncate{max-width:180px}.calendar{gap:3px}.cal-label{display:none}}@keyframes sheet{0%{transform:translateY(24px);opacity:.6}}@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}@media print{:root[data-theme=dark]{--surface: #fff;--surface-2: #f3f4f6;--text: #000;--muted: #555;--border: #ddd;color-scheme:light}.sidebar,.topbar,.no-print,.toasts,.sidebar-backdrop{display:none!important}.shell{display:block}.content{padding:0;max-width:none}body{background:#fff}.invoice{border:0;padding:0;max-width:none;color:#000;background:#fff;box-shadow:none}}.public-page{min-height:100vh;background:var(--bg);display:flex;flex-direction:column}.public-head{display:flex;align-items:center;gap:10px;padding:14px 16px;border-bottom:1px solid var(--border);background:var(--surface)}.public-head strong{display:block;font-size:14px;color:var(--text)}.public-head small{display:block;font-size:12px;color:var(--muted)}.public-body{width:100%;max-width:760px;margin:0 auto;padding:24px 16px 40px;color:var(--text);font-size:15px;line-height:1.65;flex:1}.public-body h1{font-size:26px;line-height:1.25;margin:0 0 6px}.public-body h2{font-size:17px;margin:26px 0 6px}.public-body ul,.public-body ol{padding-left:20px;margin:6px 0 12px}.public-body li{margin:4px 0}.public-form{display:grid;gap:8px;max-width:360px;margin:16px 0 8px;padding:16px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface)}.public-form label{font-size:13px;font-weight:500;color:var(--text-2)}.public-foot{display:flex;flex-wrap:wrap;gap:8px 18px;justify-content:center;padding:16px;border-top:1px solid var(--border);font-size:13px;color:var(--muted)}.notice-ok{background:var(--green-soft);color:var(--green-ink)}@media (min-width: 720px){.public-body{padding-top:40px}.public-body h1{font-size:30px}}.err-row{cursor:pointer}.err-row:hover td{background:var(--surface-2)}.err-toggle{width:28px;color:var(--muted);padding-right:0!important}.err-title{font-weight:600;color:var(--text);overflow-wrap:anywhere}.err-detail-row td{background:var(--surface-2)}.err-facts{display:flex;flex-wrap:wrap;gap:8px 28px;margin:0 0 10px}.err-facts dt{font-size:12px;color:var(--muted)}.err-facts dd{margin:0;overflow-wrap:anywhere}.err-detail{margin:0;max-height:320px;overflow:auto;padding:10px 12px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);font-family:ui-monospace,SF Mono,Cascadia Mono,Consolas,monospace;font-size:12px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}.err-open{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border:0;border-radius:5px;background:transparent;color:inherit;cursor:pointer}.err-open:hover{background:var(--surface);color:var(--text)}@media (max-width: 640px){.err-table{min-width:0}.err-table thead{display:none}.err-table tr.err-row{display:grid;grid-template-columns:34px 1fr;column-gap:4px;padding:10px 0;border-top:1px solid var(--border)}.err-table tr.err-row td{display:block;border:0;padding:2px 0}.err-table tr.err-row td.err-toggle{grid-row:1 / span 4;padding-top:0}.err-table tr.err-detail-row{display:block}.err-table tr.err-detail-row td{display:block;padding:10px 12px}.err-table tr.err-detail-row td:first-child{display:none}}.err-fixed td{opacity:.6}.err-fixed td.err-toggle{opacity:1}.staging-strip{background:var(--amber);color:#fff;font-size:12.5px;font-weight:700;letter-spacing:.03em;text-align:center;padding:4px 8px}.rel-versions{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px;margin-bottom:16px}.rel-version{display:flex;flex-direction:column;gap:6px}.rel-version-head{display:flex;gap:8px;align-items:center}.rel-version-msg{font-size:15px;overflow-wrap:anywhere}.rel-version-runs{display:flex;flex-wrap:wrap;gap:6px 24px;margin:8px 0 0}.rel-version-runs dt{font-size:12px;color:var(--muted)}.rel-version-runs dd{margin:2px 0 0}.rel-approve{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:16px}.rel-approve h3{margin:0 0 4px}.rel-approve p{margin:0}.rel-approve-ready{border-color:var(--green);background:var(--green-soft)}.rel-checks{list-style:none;margin:0;padding:0;display:grid;gap:2px}.rel-check{display:grid;grid-template-columns:22px 1fr auto;gap:10px;align-items:start;padding:8px 0;border-bottom:1px solid var(--border)}.rel-check:last-child{border-bottom:0}.rel-areas{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}.rel-screens{list-style:none;margin:0 0 8px;padding:0;display:grid;gap:4px}.rel-screens li{display:flex;justify-content:space-between;gap:12px;padding:6px 10px;border-radius:var(--radius-sm);background:var(--surface-2)}.rel-screens-compact li{padding:3px 8px}.rel-commits{list-style:none;margin:0 0 8px;padding:0;display:grid;gap:10px}.rel-commit-body{white-space:pre-wrap;color:var(--text-2);margin-top:2px}.rel-files{border:1px solid var(--border);border-radius:var(--radius-sm);overflow:hidden}.rel-file+.rel-file{border-top:1px solid var(--border)}.rel-file-head{width:100%;display:flex;align-items:center;gap:8px;padding:8px 10px;border:0;background:var(--surface);color:var(--text);font:inherit;font-size:13px;text-align:left;cursor:pointer}.rel-file-head:hover{background:var(--surface-2)}.rel-file-name{flex:1;min-width:0;overflow-wrap:anywhere;font-family:ui-monospace,SF Mono,Cascadia Mono,Consolas,monospace}.rel-plus{color:var(--green);font-variant-numeric:tabular-nums}.rel-minus{color:var(--red);font-variant-numeric:tabular-nums}.rel-patch{margin:0;max-height:480px;overflow:auto;padding:8px 0;background:var(--surface-2);font-family:ui-monospace,SF Mono,Cascadia Mono,Consolas,monospace;font-size:12px;line-height:1.5}.rel-patch span{display:block;padding:0 12px;white-space:pre-wrap;overflow-wrap:anywhere}.rel-patch .add{background:var(--green-soft)}.rel-patch .del{background:var(--red-soft)}.rel-patch .hunk{color:var(--muted)}.rel-nopatch{padding:8px 12px;margin:0}.rel-warnings{display:grid;gap:6px;margin:10px 0 14px;padding:10px 12px;border-radius:var(--radius-sm);background:var(--amber-soft)}.spin{animation:rel-spin 1.2s linear infinite}@keyframes rel-spin{to{transform:rotate(360deg)}}.kpi-groups{display:grid;gap:16px;margin-bottom:16px}.kpi-group{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}.kpi-group-title{margin:0;padding:10px 18px;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);border-bottom:1px solid var(--border);background:var(--surface-2)}.kpi-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.kpi{padding:14px 18px 16px;display:flex;flex-direction:column;gap:6px;min-width:0}.kpi+.kpi{border-left:1px solid var(--border)}.kpi-label{font-size:13px;font-weight:500;color:var(--muted)}.kpi-value{display:flex;align-items:baseline;gap:6px;white-space:nowrap}.kpi-value .num{font-family:Manrope,system-ui,sans-serif;font-size:24px;line-height:1.15;font-weight:700;letter-spacing:-.02em;color:var(--text)}.kpi-of{font-size:13px;color:var(--muted);font-weight:500}.kpi-red .kpi-value .num{color:var(--red)}.kpi-amber .kpi-value .num{color:var(--amber)}.kpi-bar{height:4px;border-radius:4px;background:var(--surface-3);overflow:hidden;margin-top:2px}.kpi-bar>div{height:100%;border-radius:4px}.kpi-bar-green>div{background:var(--green)}.kpi-bar-blue>div{background:var(--blue)}.kpi-foot{font-size:12.5px;color:var(--muted);margin-top:auto}@media (max-width: 900px){.kpi-row{grid-template-columns:repeat(2,minmax(0,1fr))}.kpi+.kpi{border-left:0}.kpi:nth-child(2n){border-left:1px solid var(--border)}.kpi:nth-child(n+3){border-top:1px solid var(--border)}.kpi{padding:14px 16px}.kpi-value .num{font-size:21px}}.att-bar{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;margin-bottom:12px}.day-nav{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.day-nav .icon-btn{border:1px solid var(--border-strong);background:var(--surface);width:36px;height:36px}.day-nav .icon-btn:disabled{opacity:.4;cursor:default}.att-rep{min-width:220px;flex:1 1 220px;max-width:320px}.att-table td{vertical-align:middle}.thumb-btn{border:0;padding:0;background:none;cursor:pointer;border-radius:50%}.thumb-btn:focus-visible{outline:2px solid var(--primary)}.selfie-grid{display:flex;flex-wrap:wrap;gap:12px}.selfie-card{margin:0;width:150px}.selfie-card img,.selfie-none{width:150px;height:190px;object-fit:cover;border-radius:var(--radius-sm);border:1px solid var(--border);display:block;background:var(--surface-2)}.selfie-none{display:grid;place-items:center;color:var(--muted);font-size:12.5px}.selfie-card figcaption{font-size:12.5px;margin-top:6px}.selfie-visits{display:flex;flex-direction:column;gap:16px;margin-top:18px;padding-top:16px;border-top:1px solid var(--border)}.selfie-visit-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:8px}@media (max-width: 640px){.att-rep{max-width:none}.selfie-card,.selfie-card img,.selfie-none{width:calc(50vw - 40px)}.selfie-card img,.selfie-none{height:calc((50vw - 40px)/.8)}}.form-stack{display:flex;flex-direction:column;gap:4px}.att-table td.right{white-space:nowrap}.att-table td.right>.btn{vertical-align:middle;display:inline-flex;align-items:center;gap:6px}.selfie-pair{display:flex;gap:8px}.selfie-mini{display:flex;flex-direction:column;align-items:center;gap:2px}.selfie-mini img,.selfie-mini-none{width:36px;height:44px;object-fit:cover;border-radius:6px;border:1px solid var(--border);background:var(--surface-2);display:block}.selfie-mini small{font-size:10.5px;color:var(--muted);line-height:1}.visit-nav{display:flex;align-items:center;gap:6px}.vd-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap;margin-bottom:14px}.vd-who{display:flex;flex-direction:column;gap:6px;min-width:0}.vd-sub{font-size:14px}.vd-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.vd-strip{display:flex;gap:8px;overflow-x:auto;padding:2px 2px 8px;margin-bottom:14px;scrollbar-width:thin}.vd-stop{display:flex;align-items:center;gap:8px;flex:0 0 auto;max-width:210px;padding:7px 10px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);color:inherit;font:inherit;text-align:left;cursor:pointer}.vd-stop:hover{background:var(--surface-2)}.vd-stop.active{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-soft);cursor:default}.vd-stop-num{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:11.5px;font-weight:700;flex:none}.vd-stop-text{display:flex;flex-direction:column;min-width:0}.vd-stop-name{font-size:13px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.vd-section{margin-bottom:18px}.vd-section h4{margin:0 0 8px}.vd-section .kv-grid{margin-bottom:0}.kv-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.vd-reason{display:flex;flex-direction:column;gap:2px;margin-top:10px;padding:8px 12px;border-radius:var(--radius-sm);background:var(--amber-soft);color:var(--amber-ink)}.vd-reason .muted{color:inherit;opacity:.8}.vd-map-row{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:14px;align-items:start}.map-box.vd-map{height:340px;margin:0;border-radius:var(--radius-sm);overflow:hidden}.vd-timeline{margin:0}@media (max-width: 760px){.vd-map-row,.kv-grid.two{grid-template-columns:minmax(0,1fr)}.map-box.vd-map{height:280px}}.visit-nav .icon-btn{border:1px solid var(--border-strong);width:32px;height:32px}.visit-nav .icon-btn:disabled{opacity:.4;cursor:default}.visit-note{max-width:240px;margin-top:4px}.badge-btn{border:0;background:none;padding:0;cursor:pointer}.badge-btn:hover .badge{text-decoration:underline}.profile-month{margin-bottom:14px}.profile-month-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 18px;border-bottom:1px solid var(--border);background:var(--surface-2);flex-wrap:wrap}.kpi-row-5{grid-template-columns:repeat(5,minmax(0,1fr))}@media (max-width: 1100px){.kpi-row-5{grid-template-columns:repeat(3,minmax(0,1fr))}.kpi-row-5 .kpi:nth-child(4){border-left:0}.kpi-row-5 .kpi:nth-child(n+4){border-top:1px solid var(--border)}}@media (max-width: 900px){.kpi-row-5{grid-template-columns:repeat(2,minmax(0,1fr))}}.suggestions.up{top:auto;bottom:100%;margin:0 0 4px}.export-form .search-select{position:relative}.suggestions.up{max-height:200px}.kpi-row-6{grid-template-columns:repeat(6,minmax(0,1fr))}@media (max-width: 1250px){.kpi-row-6{grid-template-columns:repeat(3,minmax(0,1fr))}.kpi-row-6 .kpi:nth-child(4){border-left:0}.kpi-row-6 .kpi:nth-child(n+4){border-top:1px solid var(--border)}}@media (max-width: 900px){.kpi-row-6{grid-template-columns:repeat(2,minmax(0,1fr))}.kpi-row-6 .kpi:nth-child(odd){border-left:0}.kpi-row-6 .kpi:nth-child(4){border-left:1px solid var(--border)}.kpi-row-6 .kpi:nth-child(n+3){border-top:1px solid var(--border)}}.playback-note{flex-basis:100%;margin:0}.dash-people{list-style:none;margin:-4px 0;padding:0;max-height:320px;overflow-y:auto;scrollbar-width:thin}.dash-people li{display:grid;grid-template-columns:minmax(0,auto) minmax(0,1fr) auto;gap:10px;align-items:center;padding:8px 0;border-top:1px solid var(--border)}.dash-people li:first-child{border-top:0}.dash-people li>a{font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dash-people li>.muted{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.live-filters{display:flex;flex-direction:column;gap:8px;margin-bottom:14px}.live-filters .chips{margin:0;align-items:center}.chips-label{width:80px;flex:none;font-size:12px;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}.live-search{display:grid;grid-template-columns:minmax(0,1fr) 140px;gap:8px}.live-count{margin:8px 0 4px}@media (max-width: 640px){.chips-label{width:100%}}:root:not([data-theme=dark]){--bg: #eceff0;--surface: #fff;--surface-2: #eaf0ee;--surface-3: #dce6e2;--border: #d5dfdc;--border-strong: #b3c4be;--text: #172a2e;--text-2: #364f52;--muted: #566d70;--primary: #146e5d;--primary-hover: #0f5849;--primary-soft: #e0efe9;--focus: rgba(23, 123, 104, .25);--sidebar: #122a2e;--sidebar-ink: #bfd0d1;--sidebar-muted: #9ab2b4;--sidebar-strong: #f1f7f5;--sidebar-line: #30484b;--sidebar-hover: #203d41;--sidebar-active: #244c47;--sidebar-active-ink: #e0f6ed;--radius: 14px;--radius-sm: 8px;--shadow: 0 1px 3px rgba(18, 42, 46, .06);--shadow-md: 0 8px 24px rgba(18, 42, 46, .1)}:root[data-theme=dark]{--primary: #2f9d82;--primary-hover: #3cb293;--primary-soft: rgba(47, 157, 130, .16);--focus: rgba(47, 157, 130, .4);--sidebar-active: rgba(47, 157, 130, .2);--sidebar-active-ink: #e0f6ed}:root{--sidebar-w: 236px;--deskbar-h: 56px}body{font-family:DM Sans,system-ui,-apple-system,Segoe UI,Roboto,sans-serif}h1,h2,h3,.stat-value,.brand strong{font-family:Manrope,system-ui,sans-serif}h1,h2,h3,.stat-value{letter-spacing:-.035em}.sidebar-head{padding:18px 14px 12px}.brand{gap:10px}.brand-mark{position:relative;width:30px;height:32px;border-radius:9px;background:#d6eee5;color:#183e37;font-family:Manrope,system-ui,sans-serif;font-size:22px;font-weight:800;line-height:1;padding-bottom:3px}.brand-mark span{position:absolute;right:2px;top:1px;font-size:11px;font-weight:800}.brand strong{font-size:17px;font-weight:800;letter-spacing:-.04em;line-height:1.1}.brand small{font-size:9px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;margin-top:3px}.sidebar .brand strong{color:var(--sidebar-strong)}.sidebar .brand small{color:var(--sidebar-muted)}.workspace{display:flex;align-items:center;gap:10px;margin-top:14px;padding:8px 10px;border:1px solid var(--sidebar-line);border-radius:8px;min-width:0}.workspace>div{min-width:0}.workspace strong{display:block;color:var(--sidebar-strong);font-size:13px;font-weight:600;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace small{display:block;color:var(--sidebar-muted);font-size:11.5px;margin-top:2px}.workspace-icon{flex:none;display:grid;place-items:center;width:28px;height:28px;border-radius:7px;background:#ffffff17;color:var(--sidebar-strong);font-weight:600;font-size:13px}.sidebar .search-btn{margin-top:12px;background:transparent;color:var(--sidebar-ink);border-color:var(--sidebar-line);border-radius:8px;height:34px}.sidebar .search-btn kbd{background:transparent;border-color:var(--sidebar-line);color:var(--sidebar-muted)}.sidebar nav{padding:4px 10px 10px}.sidebar .nav-group{margin-bottom:8px}.sidebar .section-label{color:var(--sidebar-muted);font-size:10px;letter-spacing:.14em;margin-top:4px;padding:6px 10px 4px}.sidebar .nav-item{height:36px;gap:11px;padding:0 10px;border-radius:7px;font-size:13.5px;font-weight:500}.sidebar .nav-item svg{width:17px;height:17px}.sidebar .nav-item.active{font-weight:600}.sidebar .nav-badge{border-radius:5px;padding:0 6px}.sidebar-foot{padding:10px}.sidebar .account strong{color:var(--sidebar-strong)}.sidebar .account small,.sidebar .powered-by{color:var(--sidebar-muted)}.sidebar .icon-btn{color:var(--sidebar-ink)}.sidebar .icon-btn:hover{background:var(--sidebar-hover);color:var(--sidebar-strong)}.sidebar .avatar{width:32px;height:32px;background:#dceee5;color:#315d4f}.topbar .brand strong{font-size:18px}.topbar .brand-mark{width:32px;height:34px;font-size:25px;border-radius:9px}.topbar .brand-mark span{font-size:12px}.topbar .brand small{letter-spacing:.02em;text-transform:none;font-size:12px;font-weight:500}.deskbar{display:none}@media (min-width: 961px){.deskbar{display:flex;align-items:center;justify-content:space-between;gap:16px;position:sticky;top:0;z-index:30;height:var(--deskbar-h);padding:0 28px;background:var(--surface);border-bottom:1px solid var(--border)}}nav.crumbs{display:flex;flex-direction:row;flex:1;overflow:hidden;padding:0;align-items:center;gap:12px;min-width:0;font-size:13px;color:var(--muted)}.crumbs span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.crumbs strong{color:var(--text);font-weight:500;white-space:nowrap}.crumb-sep{color:var(--border-strong)}.deskbar-actions{display:flex;align-items:center;gap:16px;flex:none}.bell{position:relative;width:34px;height:34px;border-radius:50%}.bell svg{width:18px;height:18px}.bell i{position:absolute;right:8px;top:7px;width:7px;height:7px;border-radius:50%;background:#c88b53;box-shadow:0 0 0 2px var(--surface)}.avatar.small{width:32px;height:32px;font-size:12px;background:var(--surface-3);color:var(--text-2);border:1px solid var(--border)}.page-head{margin-bottom:18px}.page-head h1{font-size:22px;font-weight:700;line-height:1.25}.page-head p{font-size:13px;margin-top:4px}.card{box-shadow:var(--shadow);border-radius:var(--radius)}.card-head h3{font-size:15px}.card-head>.row{flex-wrap:wrap}.stats{gap:12px}.stat{padding:14px 16px;min-height:92px;border-radius:var(--radius)}.stat-label{font-size:13px;color:var(--muted);font-weight:400}.stat-value{font-size:24px;font-weight:700;line-height:1.15;margin:2px 0}.stat-sub{font-size:12px}.table th{font-size:11px;letter-spacing:.055em;text-transform:uppercase;font-weight:600;padding-top:10px;padding-bottom:10px}.table td{padding-top:11px;padding-bottom:11px}.btn{border-radius:8px;font-weight:500}.btn-primary{box-shadow:0 2px 3px #177b6814}.badge{border-radius:5px}input,select,textarea{border-radius:8px}.login-card{border-radius:20px;box-shadow:0 16px 60px #122a2e14}.login-card .brand strong{color:var(--text)}.login-card .brand small{color:var(--muted)}:focus-visible{outline-offset:3px}@media (min-width: 1000px){.content{padding:24px 28px 48px;max-width:1640px}.grid-2{gap:16px}}@media (max-width: 960px){.stat-value{font-size:22px}.search-btn kbd{display:none}}@media (max-width: 600px){.page-head h1{font-size:20px}.stat{padding:16px;min-height:0}.stat-value{font-size:20px}.table th{letter-spacing:.03em}}
