:root{color:#15213f;background:#f5f7fb;font-family:Aptos,Segoe UI Variable,Segoe UI,system-ui,-apple-system,Helvetica Neue,Arial,sans-serif;font-feature-settings:"cv11","ss01","ss03","cv03","cv04";font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-tap-highlight-color:transparent;--brand-blue: #20419a;--brand-blue-strong: #173078;--brand-orange: #f26522;--brand-orange-soft: #fff0e8;--ink: #15213f;--muted: #667085;--line: #dbe3f1;--panel: rgba(255, 255, 255, .97);--accent: var(--brand-blue);--accent-strong: var(--brand-blue-strong);--orange: var(--brand-orange);--orange-soft: var(--brand-orange-soft);--danger: #b42342;--surface-app: #f5f7fb;--surface-card: #ffffff;--surface-raised: #ffffff;--surface-subtle: #f8fafc;--surface-inset: #eef3ff;--success: #087443;--success-soft: #ecfdf5;--warning: #b45309;--warning-soft: #fff7ed;--shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);--shadow-md: 0 8px 24px rgba(21, 33, 63, .08);--shadow-lg: 0 18px 45px rgba(32, 65, 154, .12);--focus-ring: 0 0 0 3px rgba(242, 101, 34, .45);--focus-ring-color: #f26522;--radius-sm: 10px;--radius-md: 14px;--radius-lg: 18px;--radius-pill: 999px;--motion-fast: .12s;--motion-base: .18s;color-scheme:light}*{box-sizing:border-box}::selection{background:#20419a2e;color:var(--ink)}*{scrollbar-width:thin;scrollbar-color:rgba(32,65,154,.35) transparent}*::-webkit-scrollbar{width:10px;height:10px}*::-webkit-scrollbar-track{background:transparent}*::-webkit-scrollbar-thumb{background:#20419a47;border-radius:999px;border:2px solid transparent;background-clip:padding-box}*::-webkit-scrollbar-thumb:hover{background:#20419a8c;background-clip:padding-box}body{margin:0;min-width:320px;min-height:100vh;background:var(--surface-app);color:var(--ink)}:where(button,a,input,select,textarea,summary,[role=button],[tabindex]):focus-visible{outline:none;box-shadow:var(--focus-ring);border-radius:10px}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}}button,input,select{font:inherit}button{border:0;border-radius:14px;background:var(--accent);color:#fff;cursor:pointer;font-weight:700;padding:.78rem 1rem;transition:transform .12s ease,background .12s ease}button:hover:not(:disabled){background:var(--accent-strong);transform:translateY(-1px)}button:disabled{cursor:not-allowed;opacity:.48}.ghost-button{background:#eef3ff;color:var(--accent-strong);padding:.55rem .75rem}.ghost-button:hover:not(:disabled){background:#dfe8ff}.link-button:hover:not(:disabled){background:none;color:var(--accent-strong);transform:none}.secondary-button:hover:not(:disabled){background:#f1f5f9;border-color:var(--accent);color:var(--ink);transform:none}.batch-mode-toggle button:hover:not(:disabled){background:transparent;color:var(--accent-strong);transform:none}.batch-mode-toggle .batch-mode-active:hover:not(:disabled){background:#fff;color:var(--accent-strong);transform:none}.partial-group:hover:not(:disabled){background:#f8fafc;color:var(--ink);transform:none}.partial-group-selected:hover:not(:disabled){background:#eef6ff;color:var(--ink);transform:none}input,select{width:100%;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);padding:.72rem .78rem}label{color:var(--muted);display:grid;font-size:.86rem;font-weight:700;gap:.35rem}.shell{display:grid;grid-template-columns:minmax(340px,420px) minmax(0,1fr);min-height:100vh;margin:0 auto;max-width:1680px}.sidebar{background:radial-gradient(circle at 0 0,rgba(242,101,34,.12),transparent 28%),radial-gradient(circle at 100% 12%,rgba(32,65,154,.12),transparent 34%),linear-gradient(160deg,#fff,#f4f7ff);border-bottom:0;border-right:1px solid var(--line);display:flex;flex-direction:column;gap:.8rem;max-height:100vh;overflow:auto;padding:1rem}.simple-header{align-items:center;display:flex;gap:.85rem;margin-bottom:1rem}.simple-header h1{font-size:1.25rem;margin:0}.simple-header p{color:var(--muted);font-size:.85rem;margin:.2rem 0 0}.environment-badge{align-items:center;background:#fff1e8;border:1px solid #ffc6a7;border-radius:999px;color:#9a3b0c;display:inline-flex;font-size:.68rem;font-weight:850;letter-spacing:.04em;line-height:1;margin-top:.35rem;padding:.35rem .55rem;text-transform:uppercase;width:max-content}html[data-theme=dark] .environment-badge{background:#462514;border-color:#c95b22;color:#ffd7c2}.main-control-panel{flex:1}.step-indicator{display:flex;gap:.5rem;margin-bottom:1.5rem}.step{align-items:center;background:var(--line);border-radius:20px;color:var(--muted);display:flex;flex:1;flex-direction:column;gap:.25rem;padding:.75rem .5rem;text-align:center;transition:all .2s ease}.step.active{background:var(--accent);color:#fff}.step.completed{background:#10b981;color:#fff}.step.pending{background:var(--orange);color:#fff}.step.disabled{opacity:.4}.step-number{font-size:1.2rem;font-weight:900}.step-label{font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em}.control-section h3{color:var(--ink);font-size:1.1rem;margin:0 0 1rem}.load-section,.optimize-section,.save-section{display:grid;gap:1rem}.load-controls{display:grid;gap:.8rem;grid-template-columns:1fr 1fr}.readonly-filter-card{border:1px solid var(--line);border-radius:12px;display:grid;gap:.35rem;padding:.85rem .9rem}.readonly-filter-card span{color:var(--muted);font-size:.82rem;font-weight:700}.readonly-filter-card strong{color:var(--ink);font-size:.95rem}.access-status{align-items:center;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:12px;display:flex;justify-content:space-between;padding:.75rem}.load-feedback{background:#eff6ff;border:1px solid #bfdbfe;border-radius:12px;color:var(--accent);font-size:.88rem;font-weight:700;line-height:1.35;margin:0;padding:.85rem .9rem}.link-button{background:none;border:none;color:var(--accent);cursor:pointer;font-size:.85rem;font-weight:700;text-decoration:underline}.primary-button{background:var(--accent);border:none;border-radius:12px;color:#fff;cursor:pointer;font-size:1rem;font-weight:700;padding:.9rem 1.2rem;transition:all .15s ease}.primary-button:hover:not(:disabled){background:var(--accent-strong);transform:translateY(-1px)}.primary-button:disabled{cursor:not-allowed;opacity:.6}.secondary-button{background:#f8fafc;border:1px solid var(--line);border-radius:12px;color:var(--ink);cursor:pointer;font-size:.9rem;font-weight:700;padding:.7rem 1rem;transition:all .15s ease}.secondary-button:hover{background:#f1f5f9;border-color:var(--accent)}.optimize-stats,.save-stats{display:grid;gap:.75rem;grid-template-columns:repeat(3,1fr)}.stat,.metric{text-align:center}.stat strong,.metric strong{display:block;font-size:1.5rem;color:var(--accent-strong)}.stat span,.metric span{color:var(--muted);font-size:.8rem;font-weight:700}.warning-banner{background:#fff7ed;border:1px solid #fed7aa;border-radius:12px;color:#9a3412;font-weight:700;padding:.75rem;text-align:center}.success-banner,.info-banner{border-radius:12px;display:grid;gap:.25rem;padding:.8rem;text-align:center}.success-banner{background:#ecfdf5;border:1px solid #a7f3d0;color:#065f46}.success-banner strong,.info-banner strong{font-size:.92rem}.success-banner span,.info-banner{font-size:.82rem;font-weight:700}.info-banner{background:#eff6ff;border:1px solid #bfdbfe;color:#20419a}.panel-copy{color:var(--muted);font-size:.88rem;margin:.35rem 0 0}.load-actions{display:flex;justify-content:stretch}.optimize-actions{display:grid;gap:.5rem;grid-template-columns:1fr auto}.agent-assignments{display:grid;gap:.75rem;max-height:200px;overflow-y:auto}.agent-assignment{align-items:center;display:grid;gap:.5rem;grid-template-columns:1fr 2fr}.agent-assignment span{font-weight:700}.route-summary-panel{margin-top:1rem}.route-metrics{display:grid;gap:.75rem;grid-template-columns:repeat(3,1fr)}.map-workspace{height:100vh;display:grid;grid-template-rows:auto 1fr}.map-header{background:#fffffff2;border-bottom:1px solid var(--line);padding:.75rem 1rem}.map-stats{display:flex;gap:1.5rem;font-size:.9rem;color:var(--muted)}.map-header-actions{align-items:center;display:flex;gap:.75rem;margin-top:.85rem}.route-selected-label{color:var(--ink);font-weight:700}.map-stats span{font-weight:700}.map-container{position:relative}.optimize-settings{display:grid;gap:.8rem;grid-template-columns:1fr}.section-heading-row{align-items:center;display:flex;gap:.8rem}.back-button{background:#eef3ff;color:var(--accent-strong);padding:.55rem .75rem}.back-button:hover:not(:disabled){background:#dfe8ff}.optimize-settings label,.route-item{display:grid;gap:.45rem}.optimize-settings input{border:1px solid var(--line);border-radius:12px;padding:.9rem;width:100%}.optimize-settings input[aria-invalid=true]{border-color:#f26522;box-shadow:0 0 0 3px #f2652224}.batch-mode-toggle{background:#f3f6fb;border:1px solid var(--line);border-radius:16px;display:grid;gap:.35rem;grid-template-columns:1fr 1fr;padding:.3rem}.batch-mode-toggle button{background:transparent;border:0;border-radius:12px;color:var(--muted);cursor:pointer;font-weight:900;padding:.72rem .5rem}.batch-mode-toggle .batch-mode-active{background:#fff;color:var(--accent-strong);box-shadow:0 6px 18px #0f172a14}.field-help{color:var(--muted);font-size:.8rem;font-weight:700}.field-help-error{color:#9a3412}.route-list{display:grid;gap:.65rem;margin:.75rem 0 0}.route-item{background:#f8fafc;border:1px solid rgba(148,163,184,.35);border-radius:14px;color:var(--ink);display:grid;gap:.65rem;padding:.9rem 1rem;text-align:left;transition:transform .15s ease,border-color .15s ease,background .15s ease}.route-item:hover{background:#eef2ff;border-color:var(--accent);transform:translateY(-1px)}.route-item.selected{background:#eef7ff;border-color:#2563eb}.route-item-main{align-items:center;background:transparent;border:0;color:inherit;cursor:pointer;display:grid;gap:.75rem;grid-template-columns:1fr auto;padding:0;text-align:left}.route-item-main:hover,.route-item-main:hover:not(:disabled){background:transparent;color:var(--ink);transform:none}.route-item-main:hover strong,.route-item-main:hover span{color:inherit}.route-item strong{display:block;font-size:.98rem}.route-item span{color:var(--muted);font-size:.85rem}.route-item-actions{align-items:center;border-top:1px solid rgba(148,163,184,.25);display:grid;gap:.5rem;grid-template-columns:repeat(2,minmax(0,1fr));padding-top:.62rem}.route-item-actions a,.route-item-actions button,.map-action-link{align-items:center;background:#fff;border:1px solid var(--line);border-radius:12px;color:var(--accent-strong);display:inline-flex;font-weight:900;justify-content:center;min-height:44px;padding:.55rem .6rem;text-decoration:none;white-space:normal;width:100%}.route-item-actions button:hover:not(:disabled),.route-item-actions a:hover{background:#eef3ff;transform:none}.share-helper{background:#f8fbff;border:1px dashed #b8c7e6;border-radius:14px;color:var(--muted);display:grid;gap:.25rem;padding:.7rem}.share-helper strong{color:var(--accent-strong)}.share-helper span{font-size:.82rem;font-weight:800;line-height:1.35}.map-action-link{display:inline-flex}h2{font-size:1.08rem}h3{font-size:1rem}.panel,.stats article,.route-card{background:var(--panel);border:1px solid rgba(219,227,241,.95);border-radius:18px;box-shadow:0 8px 24px #15213f0d}.panel{display:grid;gap:.75rem;padding:.9rem}.access-panel{gap:1rem}.step-intro{display:grid;gap:.2rem}.access-ready{align-items:center;background:#f4faf6;border:1px solid #d7e9df;border-radius:16px;display:flex;justify-content:space-between;padding:.75rem}.access-ready div{display:grid;gap:.15rem}.access-ready strong{color:var(--ink)}.access-ready span{color:var(--muted);font-size:.8rem;font-weight:700}.grid-two{display:grid;gap:.8rem;grid-template-columns:1fr 1fr}.stats{display:grid;gap:.7rem;grid-template-columns:repeat(2,minmax(0,1fr))}.stats article{display:grid;gap:.2rem;padding:.9rem}.stats span{color:var(--muted);font-size:.78rem;font-weight:700}.stats strong{font-size:1.28rem}.advanced-settings{border:1px dashed var(--line);border-radius:16px;padding:.75rem}.advanced-settings summary{color:var(--accent-strong);cursor:pointer;font-weight:900}.advanced-settings .grid-two{margin-top:.75rem}.queue-panel{gap:.9rem}.partial-batch-panel{gap:.85rem;margin-top:1rem}.partial-summary{display:grid;gap:.5rem;grid-template-columns:repeat(4,minmax(0,1fr))}.partial-summary span{background:#f8fafc;border:1px solid var(--line);border-radius:14px;color:var(--muted);font-size:.75rem;font-weight:800;padding:.62rem;text-align:center}.partial-summary strong{color:var(--accent-strong);display:block;font-size:1.2rem}.strategy-card{background:#fff8e7;border:1px solid #ffd9a8;border-radius:16px;color:#8a5200;display:grid;gap:.18rem;padding:.75rem}.strategy-card strong{color:#7c3f00}.strategy-card span{font-size:.82rem;font-weight:800;line-height:1.35}.strategy-warning{background:#fff0e8;border:1px solid #f8b48c;border-radius:16px;color:#9a3412;display:grid;gap:.18rem;padding:.75rem}.strategy-warning strong{color:#7c2d12}.strategy-warning span{font-size:.82rem;font-weight:800;line-height:1.35}.partial-actions{display:grid;gap:.5rem;grid-template-columns:1fr .62fr .62fr}.partial-actions .primary-button,.partial-actions .secondary-button{padding-left:.55rem;padding-right:.55rem}.batch-agent-picker{background:#f8fbff;border:1px solid var(--line);border-radius:16px;display:grid;gap:.45rem;padding:.72rem}.batch-agent-picker small{color:var(--muted);font-size:.78rem;font-weight:800;line-height:1.35}.partial-filters{display:grid;gap:.6rem;grid-template-columns:1fr 1fr}.partial-filters label{display:grid;gap:.35rem}.partial-search{grid-column:1 / -1}.partial-group-list{display:grid;gap:.5rem;max-height:330px;overflow-y:auto;padding-right:.15rem}.partial-group{align-items:center;background:#fff;border:1px solid var(--line);border-radius:14px;color:var(--ink);cursor:pointer;display:grid;gap:.65rem;grid-template-columns:auto 1fr;padding:.7rem;text-align:left}.partial-group:hover{background:#f8fafc;transform:none}.partial-group-selected{background:#eef6ff;border-color:#20419a57}.partial-group strong,.partial-group small{display:block}.partial-group small{color:var(--muted);font-size:.78rem;font-weight:800;margin-top:.12rem}.show-more-groups{width:100%}.queue-eyebrow{margin-bottom:.15rem}.queue-copy{color:var(--muted);font-size:.82rem;font-weight:700;line-height:1.35;margin-top:.2rem}.queue-summary{display:grid;gap:.4rem;grid-template-columns:repeat(3,minmax(0,1fr))}.queue-summary span{background:#f4faf6;border:1px solid #d7e9df;border-radius:14px;color:var(--muted);font-size:.78rem;font-weight:800;padding:.62rem}.queue-summary strong{color:var(--ink);display:block;font-size:1.1rem;margin-top:.1rem}.queue-actions{display:grid;gap:.45rem;grid-template-columns:repeat(3,minmax(0,1fr))}.planner-controls{display:grid;gap:.7rem;grid-template-columns:1fr 1fr}.planner-search{grid-column:1 / -1}.priority-list{display:flex;flex-wrap:wrap;gap:.45rem}.priority-chip,.priority-button{background:#fff8e7;color:#8a5200;padding:.48rem .62rem}.priority-button-active{background:var(--orange);color:#fff}.group-helper{background:#f8fbf9;border:1px dashed #cfe2da;border-radius:14px;color:var(--muted);display:grid;gap:.2rem;padding:.72rem}.group-helper strong{color:var(--ink);font-size:.92rem}.group-helper span{font-size:.82rem;font-weight:700;line-height:1.35}.danger-ghost{color:var(--danger)}.process-panel{gap:.55rem}.process-steps{display:grid;gap:.45rem}.process-steps span{align-items:center;background:#fff;border:1px solid var(--line);border-radius:14px;display:flex;justify-content:space-between;padding:.62rem .72rem}.process-steps strong{color:var(--ink)}.process-steps em{color:var(--muted);font-size:.78rem;font-style:normal;font-weight:800}.process-steps .step-done{background:#edf8f2;border-color:#bce3d0}.process-guide-button{justify-self:stretch}.dispatch-summary{gap:.75rem}.dispatch-summary section{border-bottom:1px solid var(--line);display:grid;gap:.55rem;padding-bottom:.75rem}.dispatch-summary section:last-child{border-bottom:0;padding-bottom:0}.dispatch-heading{align-items:center;display:flex;justify-content:space-between}.dispatch-heading strong{color:var(--accent-strong);font-size:1.25rem}.dispatch-metrics{display:grid;gap:.55rem;grid-template-columns:1fr 1fr}.dispatch-metrics span{background:#f4faf6;border:1px solid #d7e9df;border-radius:14px;color:var(--muted);font-size:.78rem;font-weight:900;padding:.65rem}.dispatch-metrics strong{color:var(--ink);display:block;font-size:1.08rem;margin-top:.1rem}.provider-note{background:#f8fbf9;border:1px dashed #cfe2da;border-radius:14px;color:var(--muted);font-size:.78rem;font-weight:800;line-height:1.35;padding:.68rem}.monthly-planner-header{align-items:flex-start}.ready-panel{gap:.9rem}.readiness-pill{background:#eef3ff;border:1px solid #d7e2ff;border-radius:999px;color:var(--accent-strong);font-size:.76rem;font-weight:900;padding:.38rem .62rem;white-space:nowrap}.readiness-pill-ready{background:#edf8f2;border-color:#bce3d0;color:#087443}.readiness-pill-warning{background:var(--orange-soft);border-color:#f2652247;color:#a84912}.ready-metrics{display:grid;gap:.55rem;grid-template-columns:repeat(3,minmax(0,1fr))}.ready-metrics span,.ready-recommendation{background:#f7f9ff;border:1px solid #e1e8fb;border-radius:16px;color:var(--muted);font-size:.8rem;font-weight:900;padding:.78rem}.ready-metrics strong{color:var(--ink);display:block;font-size:1.18rem;margin-top:.12rem}.ready-recommendation{display:grid;gap:.22rem}.ready-recommendation strong{color:var(--ink);font-size:.94rem}.ready-recommendation span{line-height:1.35}.route-alerts-panel{background:var(--orange-soft);border:1px solid rgba(242,101,34,.28);border-radius:16px;color:#8d3c0d;display:grid;gap:.35rem;padding:.78rem}.route-alerts-panel strong{color:#7a3209}.route-alerts-panel p{font-size:.82rem;font-weight:850;line-height:1.35;margin:0}.ready-actions{display:grid;gap:.6rem;grid-template-columns:1fr}.optimize-button{background:var(--accent);color:#fff;font-size:1rem;font-weight:900;padding:.9rem 1.2rem;transition:all .15s ease}.optimize-button-ready{background:linear-gradient(135deg,var(--orange),#e55a1a);box-shadow:0 4px 16px #f265224d;font-size:1.1rem;transform:scale(1.02)}.optimize-button-ready:hover:not(:disabled){background:linear-gradient(135deg,#e55a1a,#d14f17);box-shadow:0 6px 20px #f2652266;transform:scale(1.04)}.compact-disclosure{gap:.75rem}.compact-disclosure>summary{color:var(--accent-strong);cursor:pointer;font-weight:900;list-style-position:inside}.compact-disclosure>.panel{border:0;box-shadow:none;padding:0}.route-review-panel{margin-top:0}.operational-next-step{min-height:120px}.planning-panel{gap:1rem}.planning-panel-heading{align-items:start;display:flex;gap:.8rem;justify-content:space-between}.planning-focus,.planning-note{background:#f8fbf9;border:1px solid #dceae3;border-radius:16px;display:grid;gap:.2rem;padding:.82rem}.planning-focus strong,.planning-note strong{color:var(--ink)}.planning-focus span,.planning-note span{color:var(--muted);font-size:.82rem;font-weight:800;line-height:1.35}.planning-kpis,.execution-metrics{display:grid;gap:.55rem;grid-template-columns:repeat(2,minmax(0,1fr))}.planning-kpis span,.execution-metrics span,.execution-strip span{background:#f4faf6;border:1px solid #d7e9df;border-radius:14px;color:var(--muted);font-size:.8rem;font-weight:900;padding:.72rem}.planning-kpis strong,.execution-metrics strong,.execution-strip strong{color:var(--ink);display:block;font-size:1.08rem;margin-top:.1rem}.planning-grid{display:grid;gap:.65rem;grid-template-columns:1fr 1fr}.planning-inline-card{background:#f8fbf9;border:1px solid #dceae3;border-radius:16px;display:grid;gap:.18rem;padding:.85rem}.planning-inline-card span,.planning-inline-card small{color:var(--muted);font-size:.8rem;font-weight:800;line-height:1.35}.planning-inline-card strong{color:var(--ink);font-size:1.2rem}.planning-actions{display:grid;gap:.75rem}.warning-list{display:grid;gap:.55rem}.warning-list p{background:var(--orange-soft);border:1px solid rgba(242,101,34,.28);border-radius:14px;color:#8d3c0d;font-size:.82rem;font-weight:900;line-height:1.35;margin:0;padding:.72rem}.warning-list-inline{grid-template-columns:repeat(2,minmax(0,1fr))}.group-list{display:grid;gap:.55rem;max-height:420px;overflow:auto;padding-right:.15rem}.group-row{align-items:stretch;background:#fff;border:1px solid var(--line);border-radius:16px;color:var(--ink);display:grid;gap:.5rem;grid-template-columns:1fr;padding:.62rem;text-align:left}.group-row:hover{background:#f4faf6;transform:none}.group-main{align-items:center;background:transparent;color:var(--ink);display:grid;gap:.7rem;grid-template-columns:auto minmax(0,1fr);padding:0;text-align:left}.group-main:hover:not(:disabled){background:transparent;transform:none}.group-row-selected{border-color:#20419a57;box-shadow:inset 0 0 0 1px #20419a1a}.fake-check{align-items:center;border:2px solid #b9c9c3;border-radius:8px;color:#fff;display:inline-flex;font-size:.84rem;font-weight:900;height:24px;justify-content:center;width:24px}.fake-check-full,.fake-check-partial{background:var(--accent);border-color:var(--accent)}.group-copy{display:grid;gap:.1rem;min-width:0}.group-copy strong{color:var(--ink);font-size:.94rem;line-height:1.2;overflow-wrap:anywhere}.group-copy em,.group-copy small{color:var(--muted);font-size:.82rem;font-style:normal;font-weight:900}.group-copy small{font-weight:800}.group-state{background:#eef5f2;border-radius:999px;color:var(--muted);font-size:.75rem;font-weight:900;justify-self:start;padding:.34rem .56rem}.group-state-selected{background:#dff5ea;color:var(--accent-strong)}.group-row .priority-button{justify-self:stretch}.group-density-row{display:flex;flex-wrap:wrap;gap:.4rem}.group-density-row span{background:#f4faf6;border:1px solid #d7e9df;border-radius:999px;color:var(--muted);font-size:.72rem;font-weight:900;padding:.26rem .5rem}.density-pill{color:#fff}.density-pill-dense{background:#0f766e!important;border-color:#0f766e!important}.density-pill-balanced{background:#c0841a!important;border-color:#c0841a!important}.density-pill-dispersed{background:#b45309!important;border-color:#b45309!important}.destination-preview{display:none}.destination-preview-expanded{max-height:300px;overflow:auto}.destination-item{background:#fff;border:1px solid #e4eee9;border-radius:12px;display:grid;gap:.08rem;padding:.52rem .6rem}.destination-item strong{color:var(--ink);font-size:.86rem;line-height:1.2}.destination-item span{color:var(--muted);font-size:.76rem;font-weight:800;line-height:1.25;overflow-wrap:anywhere}.destination-item em{color:var(--accent-strong);font-size:.72rem;font-style:normal;font-weight:900}.destination-empty{color:var(--muted);font-size:.82rem;font-weight:800;margin:0}.group-actions{display:grid;gap:.45rem;grid-template-columns:repeat(3,minmax(0,1fr))}.group-select-button{background:#e8f6ef;color:var(--accent-strong)}.floating-detail-backdrop{align-items:center;background:#081b1875;display:flex;inset:0;justify-content:center;padding:1.2rem;position:fixed;z-index:2100}.floating-detail-card{background:#fff;border:1px solid rgba(15,118,110,.14);border-radius:26px;box-shadow:0 28px 90px #081b184d;color:var(--ink);display:grid;gap:1rem;max-height:88vh;max-width:1040px;overflow:auto;padding:1.1rem;width:min(1040px,calc(100vw - 2.4rem))}.floating-detail-header{align-items:start;border-bottom:1px solid var(--line);display:flex;gap:1rem;justify-content:space-between;padding-bottom:.9rem}.floating-detail-header h2{font-size:1.65rem;margin:.12rem 0}.floating-detail-header span{color:var(--muted);font-weight:900}.floating-detail-summary{display:grid;gap:.65rem;grid-template-columns:repeat(3,minmax(0,1fr))}.floating-detail-summary span{background:#f4faf6;border:1px solid #d7e9df;border-radius:16px;color:var(--muted);font-size:.82rem;font-weight:900;padding:.75rem}.floating-detail-summary strong{color:var(--ink);display:block;font-size:1.22rem;margin-top:.12rem}.floating-detail-actions{display:grid;gap:.65rem;grid-template-columns:1fr 1fr}.detail-table{border:1px solid var(--line);border-radius:18px;overflow:hidden}.detail-table-head,.detail-table-row{display:grid;gap:.8rem;grid-template-columns:1.1fr 1.8fr .45fr .7fr}.detail-table-head{background:#0f766e;color:#fff;font-size:.78rem;font-weight:900;letter-spacing:.03em;padding:.72rem .85rem;text-transform:uppercase}.detail-table-body{display:grid;max-height:44vh;overflow:auto}.detail-table-row{align-items:start;border-bottom:1px solid var(--line);padding:.78rem .85rem}.detail-table-row:last-child{border-bottom:0}.detail-table-row strong{color:var(--ink);font-size:.9rem;line-height:1.25}.detail-table-row span{color:var(--muted);font-size:.82rem;font-weight:800;line-height:1.3;overflow-wrap:anywhere}.detail-table-row em,.detail-table-row small{color:var(--accent-strong);font-size:.8rem;font-style:normal;font-weight:900}.operational-guide-card{max-width:980px}.operational-rule{background:#fff8e7;border:1px solid #f2d590;border-radius:16px;color:#7a4b00;font-weight:900;padding:.9rem 1rem}.operational-timeline{display:grid;gap:.7rem;grid-template-columns:repeat(2,minmax(0,1fr));max-height:52vh;overflow:auto;padding-right:.2rem}.operational-timeline article{background:#f8fbf9;border:1px solid #dceae3;border-radius:16px;display:grid;gap:.28rem;padding:.85rem}.operational-timeline strong{color:var(--ink);font-size:.92rem}.operational-timeline span{color:var(--muted);font-size:.82rem;font-weight:800;line-height:1.35}.operational-statuses{background:#edf8f2;border:1px solid #bce3d0;border-radius:16px;display:grid;gap:.25rem;padding:.85rem}.operational-statuses p{color:var(--muted);font-size:.86rem;font-weight:800;line-height:1.35}.geo-panel{border-color:#b423422e}.geo-panel h2{color:var(--danger)}.geo-list{display:grid;gap:.55rem;max-height:260px;overflow:auto}.geo-list article{align-items:center;background:#fff7f7;border:1px solid rgba(180,35,66,.14);border-radius:14px;display:grid;gap:.65rem;grid-template-columns:1fr auto;padding:.68rem}.geo-list article div{display:grid;gap:.2rem}.geo-list strong{color:var(--ink)}.geo-list span{color:var(--muted);font-size:.82rem;font-weight:700}.geo-list em{color:var(--danger);font-size:.82rem;font-style:normal;font-weight:900}.status-board h2{margin-bottom:.2rem}.status-board p{color:var(--muted);font-size:.85rem;font-weight:700}.status-list{display:flex;flex-wrap:wrap;gap:.45rem}.status-pill{background:#edf5f0;border:1px solid #d7e9df;border-radius:999px;color:var(--ink);font-size:.82rem;font-weight:800;padding:.42rem .6rem}.overview-panel{gap:.7rem}.overview-grid{display:grid;gap:.45rem;grid-template-columns:repeat(2,minmax(0,1fr))}.overview-grid span,.overview-steps span{background:#f4faf6;border:1px solid #d7e9df;border-radius:14px;color:var(--muted);font-size:.78rem;font-weight:900;padding:.62rem}.overview-grid strong{color:var(--ink);display:block;font-size:1.05rem;margin-top:.08rem}.overview-steps{display:grid;gap:.4rem;grid-template-columns:repeat(2,minmax(0,1fr))}.overview-status-details{border:1px dashed var(--line);border-radius:14px;padding:.72rem}.overview-status-details summary{color:var(--accent-strong);cursor:pointer;font-weight:900}.overview-note{color:var(--muted);font-size:.8rem;font-weight:800;line-height:1.35}.routes-panel{min-height:0}.panel-heading,.route-card-header{align-items:center;display:flex;justify-content:space-between;gap:1rem}.panel-heading button{padding:.55rem .8rem}.empty,.more{color:var(--muted);font-size:.9rem}.route-list{display:grid;gap:.65rem;max-height:calc(100vh - 230px);overflow:auto;padding-right:.2rem}.route-filter-button{background:var(--accent-strong)}.route-card{border-left-width:6px;display:grid;gap:.6rem;padding:.8rem}.route-card-active{box-shadow:0 0 0 2px #20419a24,0 10px 30px #15213f14}.route-card-header p,.route-card li span{color:var(--muted);font-size:.84rem}.route-card-header{cursor:pointer}.route-card h3{align-items:center;display:flex;gap:.45rem}.route-dot{border-radius:999px;display:inline-block;height:.75rem;width:.75rem}.route-status-row{display:flex;flex-wrap:wrap;gap:.35rem}.route-status-row span{background:#edf5f0;border:1px solid #d7e9df;border-radius:999px;color:var(--accent-strong);font-size:.76rem;font-weight:900;padding:.32rem .52rem}.route-status-row .route-status-warning{background:#fff8e7;border-color:#f2d590;color:#8a5200}.route-mini-metrics{display:grid;gap:.45rem;grid-template-columns:1fr 1fr}.route-mini-metrics span{background:#f8fbf9;border:1px solid #dceae3;border-radius:12px;color:var(--muted);font-size:.78rem;font-weight:900;padding:.58rem}.route-mini-metrics strong{color:var(--ink);display:block;font-size:.96rem;margin-top:.08rem}.route-edit-button{width:auto}.pickup-card{display:none}.pickup-card>span{align-items:center;background:#fff;border:2px solid var(--accent);border-radius:999px;color:var(--accent);display:inline-flex;font-size:.78rem;font-weight:900;height:28px;justify-content:center;width:28px}.pickup-card div{display:grid;gap:.1rem}.pickup-card em{color:var(--muted);font-size:.8rem;font-style:normal;font-weight:800}.route-card a{color:var(--accent-strong);font-weight:800;text-decoration:none}.route-open-indicator{color:var(--muted);font-size:.78rem;font-weight:800}.route-card-actions{display:grid;gap:.6rem}.route-inline-actions{align-items:center;display:flex;gap:.55rem;justify-content:space-between}.route-preview-line{color:var(--muted);font-size:.82rem;font-weight:700;line-height:1.35;margin:0}.route-card:not(.route-card-active) ol,.route-card:not(.route-card-active) .more{display:none}.route-card:not(.route-card-active){background:#ffffffe0}.route-card-active .route-edit-button{width:100%}.route-card ol{display:grid;gap:.45rem;list-style:none;margin:0;padding:0}.route-card li{display:grid;gap:.16rem}.workspace{display:grid;grid-template-rows:auto 1fr;min-width:0;max-height:100vh;overflow:auto}.workspace-grid{display:grid;gap:.85rem;grid-template-columns:1fr;min-height:0;overflow:visible;padding:1rem}.map-stage,.workspace-side{display:grid;gap:1rem;min-height:0}.workspace-side{overflow:visible;padding-right:0}.topbar{align-items:start;background:#fffffff5;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;min-height:64px;padding:.75rem 1rem}.topbar span{color:var(--muted);font-weight:700}.topbar-copy{display:grid;gap:.15rem}.topbar-label{color:var(--accent);font-size:.78rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.topbar-copy small{color:var(--muted);font-size:.84rem;font-weight:700}.topbar-status{align-items:center;display:flex;gap:.75rem}.topbar-pill,.execution-balance{background:#eef3ff;border:1px solid #d7e2ff;border-radius:999px;color:var(--accent-strong);font-size:.78rem;font-weight:900;padding:.42rem .7rem}.topbar strong{color:var(--accent-strong)}.workflow-status{font-size:1.05rem;font-weight:900}.status-loading{color:var(--muted)}.status-warning{color:var(--orange)}.status-action{color:var(--accent-strong)}.status-success{color:#087443}.panel-heading-stack{align-items:start}.execution-panel{gap:1rem}.execution-strip{display:grid;gap:.55rem;grid-template-columns:repeat(5,minmax(0,1fr))}.execution-empty{color:var(--muted);display:grid;gap:.25rem;font-size:.86rem;font-weight:800;line-height:1.4}.execution-empty strong{color:var(--ink)}.routes-empty-state{background:#f8fbf9;border:1px dashed #cfe2da;border-radius:16px;color:var(--muted);display:grid;gap:.35rem;padding:1rem}.routes-empty-state strong{color:var(--ink)}.route-editor-card{max-width:1180px;max-height:calc(100vh - 2.4rem)}.route-editor-layout{display:grid;gap:1rem;grid-template-columns:minmax(0,1.7fr) minmax(280px,.9fr)}.route-editor-stops,.route-editor-pool,.route-editor-detached-list{display:grid;gap:.75rem}.route-editor-stops{max-height:54vh;overflow:auto;padding-right:.2rem}.route-editor-pool,.route-editor-detached-list{max-height:54vh;overflow:auto;padding-right:.15rem}.route-editor-row{background:#f8fbf9;border:1px solid #dceae3;border-radius:18px;display:grid;gap:.75rem;padding:.85rem}.route-editor-copy{display:grid;gap:.18rem}.route-editor-copy strong{color:var(--ink)}.route-editor-copy span{color:var(--muted);font-size:.82rem;font-weight:800;line-height:1.35}.route-editor-copy em{color:var(--accent-strong);font-size:.78rem;font-style:normal;font-weight:900}.route-editor-actions{display:grid;gap:.55rem;grid-template-columns:repeat(auto-fit,minmax(96px,1fr))}.route-editor-detached-list .destination-item button{margin-top:.25rem}.map{border:1px solid var(--line);border-radius:22px;min-height:540px;overflow:hidden;touch-action:none;width:100%}.map .leaflet-container{touch-action:none}.leaflet-popup-content{color:#18312f;line-height:1.35}.agent-page{background:radial-gradient(circle at 15% 12%,rgba(242,101,34,.12),transparent 30rem),radial-gradient(circle at 85% 20%,rgba(32,65,154,.12),transparent 34rem),linear-gradient(135deg,#f8fbff,#f3f7ff 52%,#fff8f3);color:var(--ink);min-height:100vh;padding:1.1rem}.agent-login-card,.agent-dashboard{margin:0 auto;max-width:1120px}.agent-login-card{background:#fffffff0;border:1px solid var(--line);border-radius:30px;box-shadow:0 26px 78px #20419a29;display:grid;gap:1.15rem;margin-top:9vh;max-width:420px;padding:2rem}.agent-login-card img{max-width:220px}.agent-login-card h1,.agent-topbar h1,.agent-route-summary h2{color:var(--ink);margin:0}.agent-login-card p{color:var(--muted);font-weight:700;margin:0}.agent-login-form{display:grid;gap:.65rem}.agent-login-form label{color:var(--muted);font-weight:900}.agent-login-form input{border:1px solid var(--line);border-radius:20px;color:var(--ink);font-size:1.75rem;font-weight:900;letter-spacing:.14em;padding:1rem;text-align:center}.agent-login-form button,.agent-topbar button,.agent-route-summary a,.agent-segments a,.agent-stop-actions a{border:0;border-radius:16px;cursor:pointer;font-weight:900;text-align:center;text-decoration:none}.agent-login-form button,.agent-stop-actions .primary{background:var(--accent);color:#fff;padding:1.05rem}.agent-login-form button:disabled{cursor:wait;opacity:.78}.agent-topbar{align-items:center;background:#fffffff2;border:1px solid var(--line);border-radius:26px;box-shadow:0 18px 55px #20419a1f;display:flex;justify-content:space-between;gap:1rem;padding:1rem}.agent-topbar-actions{align-items:center;display:flex;gap:.65rem;justify-content:flex-end}.agent-topbar span,.agent-route-summary span,.agent-route-card span,.agent-route-card small,.agent-stop-card small{color:var(--muted);font-weight:800}.agent-topbar button{background:#eef4ff;color:var(--accent-strong);padding:.75rem 1rem}.agent-status{border-radius:999px;font-size:.82rem;padding:.5rem .7rem;white-space:nowrap}.agent-status.online{background:#ecfdf3;color:#047857}.agent-status.offline{background:#fff7ed;color:#9a3412}.agent-notice,.agent-message{border-radius:18px;font-weight:850;margin:1rem auto 0;max-width:1120px;padding:.85rem 1rem}.agent-notice,.agent-message{background:#fff7ed;border:1px solid #fed7aa;color:#9a3412}.agent-command-center{display:grid;gap:1rem;grid-template-columns:minmax(280px,.9fr) minmax(360px,1.4fr);margin:1rem auto 0;max-width:1120px}.agent-progress-panel,.agent-next-panel{background:#fffffff5;border:1px solid var(--line);border-radius:26px;box-shadow:0 18px 45px #20419a1a;min-width:0;padding:1rem}.agent-progress-panel{align-items:center;display:flex;gap:1rem}.agent-progress-ring{align-items:center;border-radius:999px;display:inline-flex;flex:0 0 86px;height:86px;justify-content:center;position:relative;width:86px}.agent-progress-ring:after{background:#fff;border-radius:999px;content:"";height:66px;position:absolute;width:66px}.agent-progress-ring span{color:var(--accent-strong);font-size:1.05rem;font-weight:950;position:relative;z-index:1}.agent-progress-panel h2,.agent-next-panel h2{color:var(--ink);line-height:1.1;margin:.1rem 0}.agent-progress-panel span,.agent-next-panel span{color:var(--muted);font-weight:850}.agent-next-actions{display:flex;flex-wrap:wrap;gap:.65rem;margin-top:.8rem}.agent-next-actions a{background:#eef4ff;border-radius:16px;color:var(--accent-strong);font-weight:900;padding:.85rem 1rem;text-decoration:none}.agent-next-actions .primary{background:var(--orange);color:#fff}.agent-route-chip{align-items:center;background:color-mix(in srgb,var(--route-tone, var(--accent)) 12%,#fff);border:1px solid color-mix(in srgb,var(--route-tone, var(--accent)) 34%,#dbe3f1);border-radius:999px;color:var(--route-tone, var(--accent-strong));display:inline-flex;font-size:.88rem;font-weight:950;margin-bottom:.65rem;padding:.45rem .7rem;width:max-content}.agent-layout{display:grid;gap:1rem;grid-template-columns:minmax(260px,330px) 1fr;margin:1rem auto 0;max-width:1120px}.agent-layout.single-route{grid-template-columns:1fr}.agent-route-list,.agent-route-detail{display:grid;gap:.75rem}.agent-route-list{align-self:start;max-height:calc(100vh - 14rem);overflow:auto;position:sticky;top:1rem}.agent-route-list-label{color:var(--muted);font-size:.76rem;font-weight:950;letter-spacing:.08em;text-transform:uppercase}.agent-route-card{background:#fffffff0;border:1px solid var(--line);border-radius:20px;color:var(--ink);display:grid;gap:.25rem;padding:1rem;text-align:left}.agent-route-card.active{background:#eef4ff;border-color:var(--route-tone, var(--accent));box-shadow:inset 6px 0 0 var(--route-tone, var(--accent))}.agent-route-card-head,.agent-route-title{align-items:center;display:flex;gap:.65rem;min-width:0}.agent-route-card-head strong,.agent-route-title h2{min-width:0;overflow-wrap:anywhere}.agent-route-code{align-items:center;background:var(--route-tone, var(--accent));border-radius:14px;color:#fff;display:inline-flex;flex:0 0 auto;font-size:.82rem;font-weight:950;justify-content:center;letter-spacing:.04em;min-width:52px;padding:.42rem .55rem}.agent-route-code.large{border-radius:16px;font-size:.95rem;min-width:62px;padding:.55rem .7rem}.agent-route-summary,.agent-stop-card{background:#fffffff5;border:1px solid var(--line);border-radius:24px;box-shadow:0 18px 45px #20419a1a}.agent-route-summary{align-items:center;display:flex;justify-content:space-between;gap:1rem;padding:1rem}.agent-route-summary a,.agent-segments a,.agent-stop-actions a{background:#eef4ff;color:var(--accent-strong);padding:.8rem 1rem}.agent-route-summary a:hover,.agent-segments a:hover,.agent-stop-actions a:hover,.agent-next-actions a:hover{filter:brightness(.98);transform:translateY(-1px)}.agent-route-progress{background:#e6edf8;border-radius:999px;height:12px;overflow:hidden}.agent-route-progress span{background:linear-gradient(90deg,var(--accent),var(--orange));border-radius:inherit;display:block;height:100%;transition:width .18s ease}.agent-current-route-banner{align-items:center;background:color-mix(in srgb,var(--route-tone, var(--accent)) 10%,#fff);border:1px solid color-mix(in srgb,var(--route-tone, var(--accent)) 28%,#dbe3f1);border-left:7px solid var(--route-tone, var(--accent));border-radius:18px;display:grid;gap:.2rem .65rem;grid-template-columns:auto 1fr;padding:.8rem .9rem}.agent-current-route-banner span{align-items:center;background:var(--route-tone, var(--accent));border-radius:12px;color:#fff;display:inline-flex;font-size:.82rem;font-weight:950;grid-row:1 / 3;justify-content:center;min-width:54px;padding:.45rem .55rem}.agent-current-route-banner strong{color:var(--ink);line-height:1.15}.agent-current-route-banner small{color:var(--muted);font-weight:850}.agent-segments{display:grid;gap:.65rem;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.agent-stops{display:grid;gap:.8rem}.agent-stop-card{display:grid;gap:.65rem;padding:1rem}.agent-stop-card.done{background:#ecfdf3;border-color:#86efac;box-shadow:inset 7px 0 #16a34a,0 14px 34px #16a34a24}.agent-stop-heading{align-items:center;display:flex;justify-content:space-between;gap:1rem}.agent-stop-heading>strong{align-items:center;background:var(--accent-strong);border-radius:16px;color:#fff;display:inline-flex;font-size:1.3rem;height:46px;justify-content:center;min-width:46px}.agent-stop-heading label{align-items:center;background:#eef4ff;border:1px solid #c5d3f5;border-radius:999px;color:var(--accent-strong);display:inline-flex;gap:.5rem;font-weight:900;padding:.55rem .75rem}.agent-done-toggle input{height:1px;opacity:0;position:absolute;width:1px}.agent-done-toggle.active{background:#dcfce7;border-color:#86efac;color:#047857}.agent-done-box{align-items:center;background:#fff;border:2px solid #b7c7e8;border-radius:8px;color:#fff;display:inline-flex;font-weight:950;height:28px;justify-content:center;width:28px}.agent-done-toggle.active .agent-done-box{background:#16a34a;border-color:#16a34a}.agent-affiliation{background:#eef4ff;border:1px solid #c5d3f5;border-radius:14px;color:var(--accent-strong);display:inline-flex;font-size:1.1rem;font-weight:950;padding:.55rem .75rem;user-select:all;width:max-content;-webkit-user-select:all}.agent-stop-meta{align-items:center;display:flex;flex-wrap:wrap;gap:.5rem}.agent-stop-card h3,.agent-stop-card p{margin:0}.agent-stop-card p{color:#344054;font-weight:750}.agent-stop-actions{display:grid;gap:.65rem;grid-template-columns:1fr 1fr}.numbered-marker{align-items:center;display:flex;justify-content:center}.numbered-marker span{align-items:center;border:3px solid #fff;border-radius:999px;box-shadow:0 8px 20px #0f312f47;color:#fff;display:inline-flex;font-size:.78rem;font-weight:900;height:30px;justify-content:center;line-height:1;min-width:30px;padding:0 .25rem}.modal-backdrop{align-items:center;background:#081b1885;display:flex;inset:0;justify-content:center;padding:1.2rem;position:fixed;z-index:2000}.modal-card{background:#fff;border-radius:24px;box-shadow:0 24px 80px #081b1847;color:var(--ink);display:grid;gap:1rem;max-height:92vh;max-width:920px;overflow:auto;padding:1.2rem;width:min(920px,100%)}.modal-heading,.modal-actions{align-items:center;display:flex;justify-content:space-between;gap:1rem}.correction-layout{display:grid;gap:1rem;grid-template-columns:1fr 1.1fr}.correction-details,.correction-form{display:grid;gap:.7rem}.correction-details{background:#fff7f7;border:1px solid rgba(180,35,66,.14);border-radius:18px;padding:1rem}.correction-details strong{font-size:1.08rem}.correction-details span,.correction-details p{color:var(--muted);font-weight:700;margin:0}.correction-details em{color:var(--danger);font-style:normal;font-weight:900}.correction-map{border:1px solid var(--line);border-radius:18px;min-height:300px;overflow:hidden}@media(max-width:720px){.agent-page{padding:.7rem}.agent-login-card{border-radius:24px;margin-top:8vh;padding:1.2rem}.agent-login-card img{max-width:170px}.agent-login-form input{font-size:1.55rem}.agent-topbar,.agent-route-summary{align-items:stretch;flex-direction:column}.agent-topbar-actions,.agent-next-actions{align-items:stretch;display:grid;grid-template-columns:1fr 1fr}.agent-route-title{align-items:flex-start;flex-direction:column}.agent-route-chip{max-width:100%;width:fit-content}.agent-status{align-items:center;display:flex;justify-content:center;grid-column:1 / -1}.agent-command-center{grid-template-columns:1fr}.agent-progress-panel,.agent-next-panel{border-radius:22px}.agent-progress-ring{flex-basis:74px;height:74px;width:74px}.agent-progress-ring:after{height:56px;width:56px}.agent-layout{grid-template-columns:1fr}.agent-route-list{max-height:none;grid-auto-flow:column;grid-auto-columns:minmax(220px,78vw);overflow-x:auto;padding-bottom:.25rem;position:static}.agent-stop-heading{align-items:center;flex-direction:row}.agent-stop-heading label{justify-content:center;min-width:132px}.agent-stop-actions,.correction-layout{grid-template-columns:1fr}.modal-actions{align-items:stretch;flex-direction:column-reverse}.floating-detail-backdrop{align-items:stretch;padding:.7rem}.floating-detail-card{max-height:calc(100vh - 1.4rem);width:100%}.floating-detail-header{align-items:stretch;flex-direction:column}.floating-detail-summary,.floating-detail-actions,.operational-timeline,.detail-table-head,.detail-table-row,.planning-grid,.planning-kpis,.execution-metrics,.execution-strip,.warning-list-inline,.route-mini-metrics,.route-item-actions,.route-editor-layout,.route-editor-actions{grid-template-columns:1fr}.detail-table-head{display:none}.detail-table-row{gap:.2rem}}@media(max-width:900px){.shell{grid-template-columns:1fr}.sidebar{max-height:none}.workspace-grid{grid-template-columns:1fr}.workspace-side{overflow:visible;padding-right:0}.map{min-height:72vh}}input[aria-invalid=true],select[aria-invalid=true],textarea[aria-invalid=true]{border-color:var(--orange);background-color:var(--orange-soft)}input[aria-invalid=true]:focus-visible,select[aria-invalid=true]:focus-visible,textarea[aria-invalid=true]:focus-visible{box-shadow:0 0 0 3px #f2652259}input:hover:not(:disabled):not([aria-invalid=true]),select:hover:not(:disabled):not([aria-invalid=true]),textarea:hover:not(:disabled):not([aria-invalid=true]){border-color:#20419a73}button,.primary-button,.secondary-button,.ghost-button{min-height:44px}[title]{cursor:help}button[title],a[title],input[title],select[title]{cursor:pointer}button[aria-busy=true]{position:relative;color:transparent!important;pointer-events:none}button[aria-busy=true]:after{content:"";position:absolute;top:50%;left:50%;width:18px;height:18px;margin:-9px 0 0 -9px;border-radius:50%;border:2px solid rgba(255,255,255,.4);border-top-color:#fff;animation:dl-spin .72s linear infinite}@keyframes dl-spin{to{transform:rotate(360deg)}}@media print{body{background:#fff!important;color:#000!important}.topbar,.sidebar,.map,button,.agent-topbar-actions{display:none!important}.route-card{break-inside:avoid;box-shadow:none!important;border:1px solid #ccc!important}}html[data-theme=dark]{color:#e7ecf7;background:#0b1530;color-scheme:dark;--ink: #e7ecf7;--muted: #9fb0d4;--line: #2a3a6e;--panel: rgba(24, 36, 78, .95);--accent: #5b7dd9;--accent-strong: #8fa6ec;--orange: #ff8246;--orange-soft: rgba(242, 101, 34, .16);--danger: #ff5577;--surface-app: #0b1530;--surface-card: #18244a;--surface-raised: #1f2c58;--surface-subtle: #14204a;--surface-inset: #1a2855;--success: #34d399;--success-soft: rgba(16, 185, 129, .14);--warning: #fbbf24;--warning-soft: rgba(245, 158, 11, .14);--shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);--shadow-md: 0 10px 26px rgba(0, 0, 0, .45);--shadow-lg: 0 22px 52px rgba(0, 0, 0, .55)}html[data-theme=dark] body{background:var(--surface-app);color:var(--ink)}html[data-theme=dark] .sidebar{background:radial-gradient(circle at 0 0,rgba(242,101,34,.18),transparent 28%),radial-gradient(circle at 100% 12%,rgba(91,125,217,.22),transparent 34%),linear-gradient(160deg,#16224a,#0f1a3d);border-right-color:var(--line)}html[data-theme=dark] .topbar,html[data-theme=dark] .map-header,html[data-theme=dark] .panel,html[data-theme=dark] .stats article,html[data-theme=dark] .route-card{background:var(--surface-card);border-color:var(--line);box-shadow:var(--shadow-md)}html[data-theme=dark] button{background:var(--accent);color:#0b1530}html[data-theme=dark] button:hover:not(:disabled){background:var(--accent-strong)}html[data-theme=dark] .ghost-button,html[data-theme=dark] .back-button,html[data-theme=dark] .secondary-button{background:var(--surface-inset);color:var(--accent-strong);border-color:var(--line)}html[data-theme=dark] .ghost-button:hover:not(:disabled),html[data-theme=dark] .back-button:hover:not(:disabled),html[data-theme=dark] .secondary-button:hover:not(:disabled){background:var(--surface-raised)}html[data-theme=dark] .primary-button{background:var(--accent);color:#0b1530}html[data-theme=dark] .primary-button:hover:not(:disabled){background:var(--accent-strong)}html[data-theme=dark] .link-button{color:var(--accent-strong)}html[data-theme=dark] .link-button:hover:not(:disabled){background:none;color:var(--accent-strong)}html[data-theme=dark] .batch-mode-toggle button:hover:not(:disabled){background:transparent;color:var(--accent-strong)}html[data-theme=dark] .batch-mode-toggle .batch-mode-active:hover:not(:disabled){background:var(--surface-card);color:var(--accent-strong)}html[data-theme=dark] .partial-group:hover:not(:disabled){background:var(--surface-inset);color:inherit}html[data-theme=dark] .partial-group-selected:hover:not(:disabled){background:var(--surface-inset);color:inherit}html[data-theme=dark] input,html[data-theme=dark] select,html[data-theme=dark] textarea{background:var(--surface-raised);color:var(--ink);border-color:var(--line)}html[data-theme=dark] input::placeholder,html[data-theme=dark] textarea::placeholder{color:#9fb0d499}html[data-theme=dark] .success-banner,html[data-theme=dark] .access-status,html[data-theme=dark] .access-ready{background:var(--success-soft);border-color:#34d39959;color:#6ee7b7}html[data-theme=dark] .access-ready strong,html[data-theme=dark] .access-status strong{color:var(--ink)}html[data-theme=dark] .info-banner,html[data-theme=dark] .load-feedback{background:#5b7dd929;border-color:#5b7dd959;color:#bcd0ff}html[data-theme=dark] .warning-banner,html[data-theme=dark] .strategy-warning,html[data-theme=dark] .agent-notice,html[data-theme=dark] .agent-message{background:var(--warning-soft);border-color:#fbbf2459;color:#fbbf24}html[data-theme=dark] .strategy-card{background:#fbbf241a;border-color:#fbbf244d;color:#fde68a}html[data-theme=dark] .route-alerts-panel,html[data-theme=dark] .warning-list p{background:#f2652224;border-color:#f265225c;color:#fdba74}html[data-theme=dark] .step{background:#2a3a6e;color:var(--muted)}html[data-theme=dark] .step.active{background:var(--accent);color:#0b1530}html[data-theme=dark] .step.completed{background:#16a34a;color:#fff}html[data-theme=dark] .step.pending{background:var(--orange);color:#0b1530}html[data-theme=dark] .topbar-pill,html[data-theme=dark] .execution-balance,html[data-theme=dark] .readiness-pill,html[data-theme=dark] .route-status-row span{background:var(--surface-inset);border-color:var(--line);color:var(--accent-strong)}html[data-theme=dark] .readiness-pill-ready{background:var(--success-soft);border-color:#34d39959;color:#6ee7b7}html[data-theme=dark] .readiness-pill-warning{background:var(--orange-soft);border-color:#f2652266;color:#fdba74}html[data-theme=dark] .route-item,html[data-theme=dark] .partial-group,html[data-theme=dark] .group-row,html[data-theme=dark] .process-steps span,html[data-theme=dark] .route-editor-row{background:var(--surface-raised);border-color:var(--line);color:var(--ink)}html[data-theme=dark] .route-item:hover,html[data-theme=dark] .partial-group:hover,html[data-theme=dark] .group-row:hover{background:var(--surface-inset)}html[data-theme=dark] .route-item.selected,html[data-theme=dark] .partial-group-selected,html[data-theme=dark] .group-row-selected{background:#5b7dd938;border-color:var(--accent)}html[data-theme=dark] .partial-summary span,html[data-theme=dark] .queue-summary span,html[data-theme=dark] .dispatch-metrics span,html[data-theme=dark] .planning-kpis span,html[data-theme=dark] .execution-metrics span,html[data-theme=dark] .execution-strip span,html[data-theme=dark] .overview-grid span,html[data-theme=dark] .overview-steps span,html[data-theme=dark] .floating-detail-summary span,html[data-theme=dark] .planning-focus,html[data-theme=dark] .planning-note,html[data-theme=dark] .planning-inline-card,html[data-theme=dark] .ready-metrics span,html[data-theme=dark] .ready-recommendation,html[data-theme=dark] .group-helper,html[data-theme=dark] .provider-note,html[data-theme=dark] .share-helper,html[data-theme=dark] .batch-agent-picker{background:var(--surface-subtle);border-color:var(--line);color:var(--muted)}html[data-theme=dark] .partial-summary strong,html[data-theme=dark] .queue-summary strong,html[data-theme=dark] .dispatch-metrics strong,html[data-theme=dark] .planning-kpis strong,html[data-theme=dark] .execution-metrics strong,html[data-theme=dark] .execution-strip strong,html[data-theme=dark] .overview-grid strong,html[data-theme=dark] .floating-detail-summary strong,html[data-theme=dark] .ready-metrics strong,html[data-theme=dark] .planning-inline-card strong,html[data-theme=dark] .ready-recommendation strong,html[data-theme=dark] .stat strong,html[data-theme=dark] .metric strong{color:var(--ink)}html[data-theme=dark] .modal-backdrop,html[data-theme=dark] .floating-detail-backdrop{background:#000000a6}html[data-theme=dark] .modal-card,html[data-theme=dark] .floating-detail-card{background:var(--surface-card);color:var(--ink);border-color:var(--line);box-shadow:var(--shadow-lg)}html[data-theme=dark] .detail-table-head{background:var(--accent-strong);color:#0b1530}html[data-theme=dark] .detail-table-row{border-bottom-color:var(--line)}html[data-theme=dark] .detail-table-row strong{color:var(--ink)}html[data-theme=dark] .detail-table-row span{color:var(--muted)}html[data-theme=dark] .agent-page{background:radial-gradient(circle at 15% 12%,rgba(242,101,34,.18),transparent 30rem),radial-gradient(circle at 85% 20%,rgba(91,125,217,.2),transparent 34rem),linear-gradient(135deg,#0b1530,#101b40 52%,#1a1430);color:var(--ink)}html[data-theme=dark] .agent-login-card,html[data-theme=dark] .agent-topbar,html[data-theme=dark] .agent-progress-panel,html[data-theme=dark] .agent-next-panel,html[data-theme=dark] .agent-route-card,html[data-theme=dark] .agent-route-summary,html[data-theme=dark] .agent-stop-card{background:var(--surface-card);border-color:var(--line);box-shadow:var(--shadow-lg);color:var(--ink)}html[data-theme=dark] .agent-route-card.active{background:var(--surface-inset)}html[data-theme=dark] .agent-status.online{background:var(--success-soft);color:#6ee7b7}html[data-theme=dark] .agent-status.offline{background:var(--warning-soft);color:#fbbf24}html[data-theme=dark] .agent-progress-ring:after{background:var(--surface-card)}html[data-theme=dark] .agent-route-progress{background:#2a3a6e}html[data-theme=dark] .agent-stop-heading label,html[data-theme=dark] .agent-affiliation,html[data-theme=dark] .agent-topbar button,html[data-theme=dark] .agent-next-actions a,html[data-theme=dark] .agent-route-summary a,html[data-theme=dark] .agent-segments a,html[data-theme=dark] .agent-stop-actions a{background:var(--surface-inset);color:var(--accent-strong);border-color:var(--line)}html[data-theme=dark] .agent-stop-card.done{background:var(--success-soft);border-color:#34d39959}html[data-theme=dark] .agent-stop-card p{color:#d4dcf2}html[data-theme=dark] .leaflet-tile{filter:brightness(.78) saturate(1.05) contrast(1.05) hue-rotate(195deg) invert(.92)}html[data-theme=dark] .leaflet-popup-content-wrapper,html[data-theme=dark] .leaflet-popup-tip{background:var(--surface-card);color:var(--ink)}html[data-theme=dark] .leaflet-popup-content{color:var(--ink)}html[data-theme=dark] .leaflet-control-zoom a{background:var(--surface-card);color:var(--ink);border-color:var(--line)}html[data-theme=dark] .advanced-settings,html[data-theme=dark] .overview-status-details{border-color:var(--line)}html[data-theme=dark] .advanced-settings summary,html[data-theme=dark] .overview-status-details summary,html[data-theme=dark] .compact-disclosure>summary{color:var(--accent-strong)}html[data-theme=dark] .batch-mode-toggle{background:var(--surface-subtle);border-color:var(--line)}html[data-theme=dark] .batch-mode-toggle .batch-mode-active{background:var(--surface-card);color:var(--accent-strong)}html[data-theme=dark] .priority-chip,html[data-theme=dark] .priority-button{background:#fbbf2429;color:#fde68a}html[data-theme=dark] .priority-button-active{background:var(--orange);color:#0b1530}html[data-theme=dark] .route-item-actions a,html[data-theme=dark] .route-item-actions button,html[data-theme=dark] .map-action-link{background:var(--surface-card);border-color:var(--line);color:var(--accent-strong)}html[data-theme=dark] .route-item-actions a:hover,html[data-theme=dark] .route-item-actions button:hover:not(:disabled){background:var(--surface-inset)}html[data-theme=dark] .routes-empty-state,html[data-theme=dark] .destination-item{background:var(--surface-subtle);border-color:var(--line);color:var(--muted)}html[data-theme=dark] .destination-item strong{color:var(--ink)}html[data-theme=dark] .geo-list article{background:#ff55771a;border-color:#ff55774d}html[data-theme=dark] .group-state{background:var(--surface-inset);color:var(--muted)}html[data-theme=dark] .group-state-selected{background:var(--success-soft);color:#6ee7b7}html[data-theme=dark] .status-success{color:#34d399}html[data-theme=dark] .status-warning{color:#fbbf24}html[data-theme=dark] .status-action{color:var(--accent-strong)}html[data-theme=dark] .status-loading{color:var(--muted)}html[data-theme=dark] .topbar-label{color:var(--accent-strong)}html[data-theme=dark] .simple-header h1,html[data-theme=dark] h1,html[data-theme=dark] h2,html[data-theme=dark] h3{color:var(--ink)}html[data-theme=dark] .stat strong,html[data-theme=dark] .metric strong,html[data-theme=dark] .dispatch-heading strong{color:var(--accent-strong)}html[data-theme=dark] .operational-rule{background:#fbbf241a;border-color:#fbbf244d;color:#fde68a}html[data-theme=dark] .operational-timeline article,html[data-theme=dark] .operational-statuses{background:var(--surface-subtle);border-color:var(--line)}html[data-theme=dark] strong{color:var(--ink)}html,body{font-family:Aptos,Segoe UI Variable,Segoe UI,system-ui,-apple-system,Helvetica Neue,Arial,sans-serif;font-feature-settings:"cv11","ss01","cv03","cv04";-webkit-font-smoothing:antialiased}body{font-size:15px;line-height:1.45;font-weight:400;letter-spacing:-.005em}h1,.topbar h1,.agent-topbar h1,.agent-route-title h2{font-size:clamp(1.35rem,1.05rem + 1vw,1.75rem);font-weight:700;line-height:1.15;letter-spacing:-.02em}h2{font-size:clamp(1.05rem,.95rem + .4vw,1.2rem);font-weight:700;line-height:1.25;letter-spacing:-.01em}h3{font-size:clamp(.98rem,.92rem + .25vw,1.1rem);font-weight:600;line-height:1.3}p{line-height:1.5}.simple-header p,.topbar span,.topbar-copy small,.muted,.panel-copy,.field-help,.route-card-header p,.route-card li span,.route-item span,.route-card a,.agent-topbar span,.agent-route-summary span,.agent-route-card span,.agent-route-card small,.agent-stop-card small,.agent-stop-card p,.share-helper span,.group-copy small,.group-copy em,.destination-item span,.destination-item em,.provider-note,.overview-note,.readiness-pill,.topbar-pill,.execution-balance,.route-status-row span,.route-mini-metrics span,.partial-summary span,.queue-summary span,.dispatch-metrics span,.planning-kpis span,.execution-metrics span,.execution-strip span,.overview-grid span,.overview-steps span,.floating-detail-summary span,.floating-detail-header span,.planning-focus span,.planning-note span,.planning-inline-card span,.planning-inline-card small,.ready-metrics span,.ready-recommendation span,.group-helper span,.group-state,.group-density-row span,.detail-table-row span,.operational-timeline span,.operational-statuses p,.process-steps em,.agent-route-progress span~*,small,em{font-weight:500!important;letter-spacing:0}label,.stats span,.stats strong,.route-item strong,.route-card h3,.partial-summary strong,.queue-summary strong,.dispatch-metrics strong,.planning-kpis strong,.execution-metrics strong,.execution-strip strong,.overview-grid strong,.floating-detail-summary strong,.ready-metrics strong,.planning-inline-card strong,.ready-recommendation strong,.group-copy strong,.destination-item strong,.route-mini-metrics strong,.detail-table-row strong,.agent-topbar h1,.agent-route-card-head strong,.agent-route-title h2,.agent-stop-heading>strong{font-weight:600!important;letter-spacing:-.005em}button,.primary-button,.secondary-button,.ghost-button,.agent-login-form button,.agent-topbar button,.agent-route-summary a,.agent-segments a,.agent-stop-actions a,.agent-next-actions a,.map-action-link,.route-item-actions a,.route-item-actions button{font-weight:600;letter-spacing:.005em}.primary-button,.optimize-button{font-weight:700}.readiness-pill,.topbar-pill,.execution-balance,.route-status-row span,.group-state,.agent-status,.agent-affiliation{font-weight:600!important;letter-spacing:.01em}.topbar-label,.queue-eyebrow{font-weight:700;letter-spacing:.12em}.panel,.stats article,.route-card,.agent-login-card,.agent-topbar,.agent-progress-panel,.agent-next-panel,.agent-route-card,.agent-route-summary,.agent-stop-card{border-radius:20px}.modal-card,.floating-detail-card{border-radius:22px}.agent-login-form button{letter-spacing:.01em}html[data-theme=dark] .agent-route-chip{background:#5b7dd92e;border-color:#8fa6ec73;color:#c7d6ff}html[data-theme=dark] .agent-topbar button{background:#5b7dd92e;border:1px solid rgba(143,166,236,.3);color:#c7d6ff}html[data-theme=dark] .agent-topbar button:hover{background:#5b7dd947;color:#fff}html[data-theme=dark] .agent-status.online{background:#34d3992e;color:#6ee7b7;border:1px solid rgba(52,211,153,.35)}html[data-theme=dark] .agent-status.offline{background:#fbbf242e;color:#fde68a;border:1px solid rgba(251,191,36,.35)}.agent-progress-ring span{font-size:1.15rem;font-weight:700}html[data-theme=dark] .agent-progress-ring span{color:#fff}html[data-theme=dark] .agent-notice,html[data-theme=dark] .agent-message{background:#fbbf241a;border-color:#fbbf244d;color:#fde68a;font-weight:500}html[data-theme=dark] .agent-route-summary,html[data-theme=dark] .agent-progress-panel,html[data-theme=dark] .agent-next-panel{background:linear-gradient(180deg,#1f2c58f2,#18244af2);border-color:#8fa6ec2e}html[data-theme=dark] .agent-next-actions a{background:#5b7dd933;border:1px solid rgba(143,166,236,.3);color:#d6e1ff}html[data-theme=dark] .agent-next-actions a:hover{background:#5b7dd952;color:#fff;transform:translateY(-1px)}html[data-theme=dark] .agent-next-actions .primary{background:linear-gradient(135deg,#f26522,#e55a1a);border:1px solid rgba(242,101,34,.5);color:#0b1530}#dl-theme-toggle{width:48px;height:48px;bottom:calc(14px + env(safe-area-inset-bottom,0px));right:calc(14px + env(safe-area-inset-right,0px))}@supports (padding: env(safe-area-inset-top)){body{padding-top:env(safe-area-inset-top);padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}.agent-page{padding-bottom:max(1.1rem,env(safe-area-inset-bottom))}.sidebar{padding-bottom:max(1rem,env(safe-area-inset-bottom))}}@media(display-mode:standalone),(display-mode:fullscreen){html,body{overscroll-behavior-y:none}body{-webkit-user-select:none;user-select:none}input,textarea,select,[contenteditable]{-webkit-user-select:text;user-select:text}button,a{-webkit-touch-callout:none}.topbar{position:sticky;top:0;z-index:50;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.agent-topbar{position:sticky;top:env(safe-area-inset-top,0px);z-index:40}}@supports (-webkit-touch-callout: none){input:not([type=checkbox]):not([type=radio]),select,textarea{font-size:max(16px,1rem)}}@media(max-width:1024px){.agent-command-center{grid-template-columns:1fr}.agent-layout{grid-template-columns:minmax(220px,280px) 1fr}}@media(max-width:720px){body{font-size:14.5px}.agent-topbar{flex-direction:column;align-items:stretch;gap:.65rem;padding:.85rem .9rem}.agent-topbar h1{font-size:clamp(1.2rem,.9rem + 2vw,1.5rem);line-height:1.2}.agent-topbar>div:first-child{min-width:0}.agent-topbar-actions{grid-template-columns:auto 1fr 1fr;align-items:center;gap:.5rem}.agent-topbar button{padding:.6rem .7rem;font-size:.88rem}.agent-status{justify-self:start}.agent-progress-panel,.agent-next-panel,.agent-route-summary,.agent-stop-card,.agent-route-card{padding:.9rem;border-radius:18px}.agent-progress-panel{gap:.9rem}.agent-progress-panel h2{font-size:1.1rem}.agent-next-actions{grid-template-columns:1fr;gap:.5rem}.agent-next-actions a{padding:.85rem 1rem;min-height:48px;text-align:center}.agent-notice,.agent-message{font-size:.88rem;line-height:1.4;padding:.75rem .9rem;border-radius:14px;text-align:left}.agent-route-chip{font-size:.82rem;padding:.4rem .65rem;width:max-content;max-width:100%}.agent-progress-ring{flex:0 0 78px;height:78px;width:78px}.agent-progress-ring:after{height:60px;width:60px}.agent-progress-ring span{font-size:1.05rem}.sidebar{padding:.75rem;gap:.65rem}.panel{padding:.78rem;border-radius:16px}.stats{grid-template-columns:1fr 1fr;gap:.55rem}#dl-theme-toggle{width:44px;height:44px;bottom:calc(72px + env(safe-area-inset-bottom,0px))}}@media(max-width:420px){.agent-topbar-actions{grid-template-columns:1fr 1fr}.agent-status{grid-column:1 / -1;justify-content:center;display:flex}.agent-progress-panel{flex-direction:column;text-align:center;align-items:center}.agent-progress-panel>div{display:contents}.stats{grid-template-columns:1fr}}@media(prefers-reduced-motion:no-preference){.panel,.route-card,.agent-route-card,.agent-stop-card,.agent-progress-panel,.agent-next-panel,.agent-route-summary,.modal-card,.floating-detail-card{transition:transform .22s cubic-bezier(.2,.7,.2,1),box-shadow .22s cubic-bezier(.2,.7,.2,1),background-color .2s ease}.modal-card,.floating-detail-card{animation:dl-card-enter .22s cubic-bezier(.2,.7,.2,1)}@keyframes dl-card-enter{0%{opacity:0;transform:translateY(6px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}.modal-backdrop,.floating-detail-backdrop{animation:dl-fade-in .16s ease-out}@keyframes dl-fade-in{0%{opacity:0}to{opacity:1}}}@media(max-width:720px){.agent-page{background:#f6f8fc;padding:.72rem}.agent-dashboard{max-width:100%}.agent-topbar{border-radius:18px;box-shadow:0 10px 26px #20419a1a;gap:.5rem;padding:.85rem;position:static}.agent-topbar .eyebrow{font-size:.68rem;letter-spacing:.08em}.agent-topbar h1{font-size:1.12rem;line-height:1.2}.agent-topbar span{font-size:.78rem}.agent-topbar-actions{display:grid;gap:.45rem;grid-template-columns:1fr 1fr}.agent-status{border-radius:12px;font-size:.72rem;grid-column:1 / -1;padding:.42rem .55rem}.agent-topbar button{border-radius:12px;font-size:.78rem;min-height:40px;padding:.55rem .65rem}.agent-command-center,.agent-layout{gap:.65rem;grid-template-columns:1fr;margin-top:.65rem;max-width:100%}.agent-progress-panel,.agent-next-panel,.agent-route-summary,.agent-stop-card{border-radius:18px;box-shadow:0 10px 24px #20419a14;padding:.88rem}.agent-progress-panel{align-items:center;display:grid;grid-template-columns:58px 1fr;text-align:left}.agent-progress-ring{flex-basis:58px;height:58px;width:58px}.agent-progress-ring:after{height:44px;width:44px}.agent-progress-ring span{font-size:.82rem}.agent-progress-panel h2,.agent-next-panel h2{font-size:1rem;line-height:1.2}.agent-progress-panel span,.agent-next-panel span{font-size:.78rem;line-height:1.3}.agent-next-panel{display:grid;gap:.45rem}.agent-next-actions{display:grid;gap:.45rem;grid-template-columns:1fr 1fr;margin-top:.3rem}.agent-next-actions a,.agent-route-summary a,.agent-segments a,.agent-stop-actions a{border-radius:12px;font-size:.78rem;min-height:40px;padding:.65rem .7rem}.agent-notice,.agent-message{border-radius:14px;font-size:.75rem;line-height:1.3;margin-top:.65rem;padding:.6rem .7rem}.agent-route-list{display:flex;gap:.55rem;max-height:none;overflow-x:auto;padding-bottom:.15rem;position:static;scroll-snap-type:x mandatory;width:100%}.agent-route-list-label{align-items:center;background:#f6f8fc;color:#475467;display:inline-flex;flex:0 0 auto;font-size:.68rem;padding:0 .25rem}.agent-route-card{border-radius:16px;flex:0 0 min(230px,78vw);gap:.18rem;padding:.75rem;scroll-snap-align:start}.agent-route-card-head{gap:.45rem}.agent-route-card-head strong{font-size:.9rem;line-height:1.15}.agent-route-card span,.agent-route-card small{font-size:.72rem}.agent-route-code{border-radius:11px;font-size:.68rem;min-width:44px;padding:.34rem .45rem}.agent-route-detail{gap:.55rem;min-width:0;width:100%}.agent-layout.single-route .agent-route-detail{gap:.7rem}.agent-route-summary{align-items:stretch;border-left:6px solid var(--route-tone, var(--blue));display:grid;gap:.65rem}.agent-route-title{align-items:center;flex-direction:row;gap:.5rem}.agent-route-code.large{border-radius:12px;font-size:.72rem;min-width:48px;padding:.38rem .5rem}.agent-route-title h2{font-size:1.08rem;line-height:1.2}.agent-route-summary span{font-size:.76rem}.agent-route-progress{height:8px}.agent-current-route-banner{border-left-width:5px;border-radius:15px;gap:.15rem .5rem;padding:.65rem;position:sticky;top:.4rem;z-index:3}.agent-layout.single-route .agent-current-route-banner{display:none}.agent-current-route-banner span{border-radius:10px;font-size:.7rem;min-width:44px;padding:.35rem .42rem}.agent-current-route-banner strong{font-size:.9rem}.agent-current-route-banner small{font-size:.7rem}.agent-segments{display:flex;gap:.45rem;overflow-x:auto;padding-bottom:.1rem}.agent-segments a{flex:0 0 auto;white-space:nowrap}.agent-stops{display:grid;gap:.65rem;width:100%}.agent-stop-card{gap:.48rem;min-width:0;padding:.9rem;width:100%}.agent-stop-heading{align-items:center;display:grid;gap:.5rem;grid-template-columns:42px 1fr}.agent-stop-heading>strong{border-radius:12px;font-size:1.05rem;height:42px;min-width:42px}.agent-done-toggle{justify-content:center;justify-self:end;min-width:118px;padding:.42rem .55rem}.agent-done-box{border-radius:7px;height:22px;width:22px}.agent-stop-meta{gap:.35rem}.agent-affiliation{border-radius:11px;font-size:.92rem;padding:.38rem .55rem}.agent-stop-card small{font-size:.7rem}.agent-stop-card h3{font-size:1.02rem;line-height:1.15}.agent-stop-card p{font-size:.84rem;line-height:1.28}.agent-stop-actions{display:grid;gap:.45rem;grid-template-columns:1fr}}body.agent-portal-active #dl-theme-toggle{display:none!important}.agent-brand-row{align-items:flex-start;display:grid;flex:1 1 auto;gap:.55rem;min-width:0}.agent-brand-logo{display:block;height:auto;max-width:min(190px,54vw);width:176px}.agent-meta-row{align-items:center;display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.18rem}.agent-menu{flex:0 0 auto;position:relative}.agent-menu summary{align-items:center;background:#eef4ff;border:1px solid #c5d3f5;border-radius:16px;cursor:pointer;display:inline-flex;flex-direction:column;gap:4px;height:46px;justify-content:center;list-style:none;width:46px}.agent-menu summary::-webkit-details-marker{display:none}.agent-menu summary span{background:var(--accent-strong);border-radius:999px;display:block;height:2px;width:18px}.agent-menu-panel{background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 18px 45px #20419a2e;display:grid;gap:.4rem;min-width:190px;padding:.5rem;position:absolute;right:0;top:calc(100% + .45rem);z-index:50}.agent-menu-panel button{background:#f6f8fc;border:0;border-radius:13px;color:var(--ink);cursor:pointer;font-weight:900;min-height:42px;padding:.7rem .8rem;text-align:left}.agent-menu-panel button:hover:not(:disabled){background:#eef4ff;color:var(--accent-strong)}.agent-menu-panel button:disabled{cursor:wait;opacity:.7}.agent-route-card.active{background:linear-gradient(135deg,var(--route-tone, var(--accent)) 0%,#17327d 100%);border-color:color-mix(in srgb,var(--route-tone, var(--accent)) 72%,var(--orange));box-shadow:inset 6px 0 0 var(--orange),0 14px 32px #20419a2e;color:#fff}.agent-route-card.active strong,.agent-route-card.active span,.agent-route-card.active small{color:#fff}.agent-route-card.active .agent-route-code{background:#fff;color:var(--route-tone, var(--accent))}.agent-notice{background:#f2652214;border-color:#f2652247;box-shadow:none;color:#8a330d}.agent-stop-actions .primary{background:var(--orange);color:#fff}html[data-theme=dark] .agent-brand-logo{filter:drop-shadow(0 6px 18px rgba(0,0,0,.24))}html[data-theme=dark] .agent-menu summary,html[data-theme=dark] .agent-menu-panel,html[data-theme=dark] .agent-menu-panel button{background:var(--surface-card);border-color:var(--line);color:var(--ink)}html[data-theme=dark] .agent-menu summary span{background:var(--accent-strong)}html[data-theme=dark] .agent-menu-panel button:hover:not(:disabled){background:var(--surface-inset);color:var(--accent-strong)}html[data-theme=dark] .agent-route-card.active{background:linear-gradient(135deg,#20419a,#122865);box-shadow:inset 6px 0 0 var(--orange),0 16px 36px #00000057}html[data-theme=dark] .agent-notice{background:#f2652224;border-color:#f2652261;color:#fed7aa}@media(max-width:720px){.agent-topbar{align-items:flex-start;display:flex;flex-direction:row;position:sticky;top:.45rem;z-index:30}.agent-brand-logo{width:138px}.agent-brand-row{gap:.48rem}.agent-meta-row{gap:.42rem}.agent-meta-row>span:first-child{font-size:.76rem}.agent-menu{margin-left:auto}.agent-menu summary{border-radius:14px;height:42px;width:42px}.agent-menu-panel{min-width:174px}.agent-topbar-actions{display:none!important}.agent-notice{font-size:.72rem;margin-top:.55rem;padding:.48rem .65rem}.agent-route-card.active{box-shadow:inset 5px 0 0 var(--orange),0 12px 26px #20419a2e}.agent-stop-actions .primary,.agent-next-actions .primary{background:var(--orange);color:#fff}.agent-next-actions a,.agent-stop-actions a{align-items:center;display:inline-flex;justify-content:center;white-space:nowrap}}html[data-theme=dark] ::selection{background:#8fa6ec4d;color:#fff}html[data-theme=dark] :where(button,a,input,select,textarea,summary,[role=button],[tabindex]):focus-visible{box-shadow:0 0 0 3px #ff82468c}a{text-underline-offset:3px;text-decoration-thickness:1.5px}.brand-app-icon{background:#fff;border:1px solid rgba(32,65,154,.14);border-radius:15px;box-shadow:0 10px 26px #20419a1f;display:block;flex:0 0 auto;height:48px;object-fit:cover;width:48px}.partial-group-list{max-height:min(43vh,360px);overflow-y:auto;padding-right:.55rem;scrollbar-gutter:stable}.partial-group{gap:.7rem;grid-template-columns:32px minmax(0,1fr);min-height:62px;overflow:hidden;padding:.68rem .78rem}.partial-group>span:last-child{min-width:0}.partial-group strong{color:var(--ink);line-height:1.12;overflow-wrap:anywhere}.partial-group small{line-height:1.2}.fake-check{align-self:center;border-radius:10px;height:28px;min-width:28px;width:28px}.agent-route-scroller{display:grid;gap:.75rem}@media(max-width:720px){.simple-header{gap:.72rem;margin-bottom:.7rem}.brand-app-icon{border-radius:13px;height:42px;width:42px}.simple-header h1{font-size:1.12rem;line-height:1.12}.simple-header p{font-size:.78rem;line-height:1.25}.partial-group-list{max-height:min(42vh,380px);padding-right:.5rem}.partial-group{border-radius:15px;min-height:60px;padding:.62rem .7rem}.partial-group strong{font-size:.94rem}.partial-group small{font-size:.76rem}.agent-page{padding:.68rem .72rem max(1rem,env(safe-area-inset-bottom,0px))}.agent-topbar{align-items:flex-start;border-radius:20px;display:flex;flex-direction:row;padding:.82rem;position:static!important;top:auto!important;z-index:auto}.agent-brand-logo{width:128px}.agent-topbar h1{font-size:1.08rem;letter-spacing:-.01em}.agent-meta-row{gap:.35rem .42rem}.agent-meta-row>span{font-size:.73rem;line-height:1.15}.agent-status{padding:.35rem .52rem}.agent-command-center{margin-top:.58rem}.agent-next-panel{border-left:5px solid var(--orange);gap:.46rem;padding:.9rem}.agent-next-panel .eyebrow{font-size:.72rem;letter-spacing:.02em;text-transform:none}.agent-next-panel h2{font-size:1.08rem;line-height:1.14}.agent-next-actions{grid-template-columns:1fr 1fr}.agent-route-list{display:grid;gap:.42rem;max-height:none;overflow:visible;padding:0;position:static}.agent-route-list-label{background:transparent;color:var(--muted);display:block;font-size:.7rem;letter-spacing:.1em;padding:.05rem .15rem 0}.agent-route-scroller{display:flex;gap:.58rem;overflow-x:auto;padding:0 .15rem .4rem;scroll-snap-type:x mandatory}.agent-route-card{flex:0 0 min(214px,76vw);min-height:104px;scroll-snap-align:start}.agent-route-card.active{box-shadow:inset 5px 0 0 var(--orange),0 12px 28px #20419a33}.agent-route-summary{border-left:5px solid var(--route-tone, var(--accent));gap:.58rem;padding:.86rem}.agent-route-summary .eyebrow{display:none}.agent-route-summary a{justify-self:start;min-height:40px;min-width:min(230px,100%)}.agent-route-title h2{font-size:1.05rem}.agent-segments{margin-top:.05rem}.agent-segments a{background:#fff;border:1px solid var(--line)}.agent-stop-card{border-left:5px solid color-mix(in srgb,var(--route-tone, var(--accent)) 72%,#ffffff);gap:.52rem}.agent-stop-card.done{border-left-color:#16a34a}.agent-stop-heading{grid-template-columns:auto auto}.agent-done-toggle{min-width:112px}.agent-stop-actions{grid-template-columns:1fr 1fr}.agent-stop-actions a{min-height:42px}.agent-message{margin-top:.55rem}}body.agent-portal-active{overflow-x:hidden}body.agent-portal-active .agent-progress-panel,body.agent-portal-active .agent-notice{display:none!important}.agent-dashboard{width:min(1120px,100%)}.agent-next-panel,.agent-route-summary,.agent-stop-card,.agent-route-card{max-width:100%}.agent-next-panel h2,.agent-stop-card h3,.agent-stop-card p{overflow-wrap:anywhere}@media(max-width:720px){body.agent-portal-active{min-width:0}.agent-page{overflow-x:hidden;width:100%}.agent-login-card{border-radius:22px;margin:8vh auto 0;max-width:100%;overflow:hidden;padding:1.2rem;width:100%}.agent-login-card img{max-width:176px}.agent-login-form input{font-size:1.35rem;letter-spacing:.22em;min-width:0;width:100%}.agent-login-form button{width:100%}.agent-dashboard{display:grid;gap:.72rem;max-width:100%;width:100%}.agent-topbar,.agent-command-center,.agent-layout,.agent-route-detail{max-width:100%;min-width:0;width:100%}.agent-command-center{display:block;margin:0}.agent-next-panel{box-shadow:0 12px 30px #20419a1a;overflow:hidden}.agent-next-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);width:100%}.agent-next-actions a{min-width:0;overflow:hidden;text-overflow:ellipsis;width:100%}.agent-layout{display:grid;gap:.72rem;grid-template-columns:1fr;margin:0}.agent-route-list{gap:.42rem;width:100%}.agent-route-scroller{display:grid;gap:.48rem;overflow:visible;padding:0;width:100%}.agent-route-card{border-radius:17px;display:grid;flex:none;min-height:72px;padding:.72rem;width:100%}.agent-route-card-head{align-items:center;display:grid;gap:.5rem;grid-template-columns:auto minmax(0,1fr)}.agent-route-card-head strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agent-route-card span,.agent-route-card small{line-height:1.18}.agent-route-summary{display:grid;margin-top:0;overflow:hidden}.agent-route-summary a{justify-self:stretch;width:100%}.agent-route-progress{margin:-.15rem 0 .1rem}.agent-segments{max-width:100%;overflow-x:auto}.agent-stops{gap:.72rem}.agent-stop-card{overflow:hidden}.agent-stop-actions{display:grid;grid-template-columns:minmax(0,1fr)}.agent-stop-actions a{width:100%}}@media(max-width:380px){.agent-page{padding-left:.58rem;padding-right:.58rem}.agent-topbar,.agent-next-panel,.agent-route-summary,.agent-stop-card{border-radius:17px}.agent-next-actions{grid-template-columns:1fr}.agent-topbar h1{font-size:1rem}.agent-brand-logo{width:118px}}body.agent-portal-active .agent-command-center,body.agent-portal-active .agent-next-panel,body.agent-portal-active .agent-route-list-label{display:none!important}body.agent-portal-active .agent-page{background:radial-gradient(circle at 8% 0%,rgba(242,101,34,.055),transparent 18rem),linear-gradient(180deg,#f8fafc,#eef3fb)}.agent-route-workspace{display:grid;gap:.85rem;margin:.85rem auto 0;max-width:1120px;min-width:0;width:min(1120px,100%)}.agent-route-switcher{display:flex;gap:.65rem;min-width:0;overflow-x:auto;padding:.12rem .1rem .45rem;scroll-padding-inline:.1rem;scroll-snap-type:x mandatory;scrollbar-width:none}.agent-route-switcher::-webkit-scrollbar{display:none}.agent-route-tab{align-items:center;background:#ffffffdb;border:1px solid #d9e2f2;border-radius:18px;box-shadow:0 8px 24px #15213f0e;color:var(--ink);display:grid;flex:0 0 min(264px,78vw);gap:.6rem;grid-template-columns:auto minmax(0,1fr);min-height:76px;padding:.72rem;scroll-snap-align:start;text-align:left}.agent-route-tab:hover:not(:disabled){background:#fff;transform:none}.agent-route-tab.active{background:#fff;border-color:#f2652275;box-shadow:inset 0 0 0 1px #f2652229,0 14px 32px #20419a1a}.agent-route-tab .agent-route-code{background:#eef4ff;border:1px solid #ccd9f6;color:var(--accent-strong)}.agent-route-tab.active .agent-route-code{background:#fff1e9;border-color:#f2652259;color:#c2410c}.agent-route-tab-copy{display:grid;gap:.12rem;min-width:0}.agent-route-tab-copy strong{color:var(--ink);font-size:.96rem;line-height:1.18;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agent-route-tab-copy small{color:var(--muted);font-size:.78rem;font-weight:850}.agent-route-tab.active .agent-route-tab-copy strong{color:var(--accent-strong)}.agent-route-navigator{background:#fffffff0;border:1px solid #d9e2f2;border-radius:20px;box-shadow:0 12px 34px #15213f12;display:grid;gap:.78rem;padding:.82rem}.agent-route-position{display:grid;gap:.12rem}.agent-route-position span{color:var(--muted);font-size:.78rem;font-weight:900;letter-spacing:.06em;text-transform:uppercase}.agent-route-position strong{color:var(--ink);font-size:1rem;line-height:1.2}.agent-route-position small{color:var(--muted);font-size:.8rem;font-weight:850}.agent-route-select-row{align-items:end;display:grid;gap:.58rem;grid-template-columns:auto minmax(240px,1fr) auto}.agent-route-select-wrap{display:grid;gap:.28rem;min-width:0}.agent-route-select-wrap span{color:var(--muted);font-size:.74rem;font-weight:900}.agent-route-select,.agent-route-step-button{border:1px solid #cbd8f4;border-radius:15px;color:var(--accent-strong);font-weight:900;min-height:46px}.agent-route-select{appearance:auto;background:#eef4ff;font-size:.9rem;min-width:0;padding:0 .82rem;width:100%}.agent-route-step-button{background:#fff;color:var(--accent-strong);cursor:pointer;padding:0 .9rem;transform:none}.agent-route-step-button:hover:not(:disabled),.agent-route-step-button:active:not(:disabled),.agent-route-step-button:focus-visible{background:#eef4ff;border-color:#9fb4ea;color:var(--accent-strong);transform:none}.agent-route-step-button:disabled{background:#f6f8fc;border-color:#d9e2f2;color:#98a2b3;cursor:not-allowed;opacity:1}.agent-route-summary{background:#ffffffed;border-color:#d9e2f2;box-shadow:0 12px 34px #15213f12}.agent-route-summary .agent-route-code.large{background:#fff1e9;color:#c2410c}.agent-route-progress{background:#edf2fa;height:9px}.agent-route-progress span{background:linear-gradient(90deg,#20419a,#f26522)}.agent-stop-card{border-color:#d9e2f2;box-shadow:0 10px 28px #15213f12}.agent-stop-card.done{background:linear-gradient(180deg,#fff,#f0fdf7);border-color:#b9efd2;box-shadow:inset 4px 0 #16a34a,0 10px 28px #15213f0f}.agent-stop-heading>strong{background:#1f3f97}.agent-done-toggle{color:var(--accent-strong)}.agent-done-toggle.active{background:#eafaf1;border-color:#9ee6bd;color:#087443}.agent-stop-actions a{background:#eef4ff;color:var(--accent-strong)}.agent-stop-actions .primary{background:#f26522;box-shadow:0 8px 18px #f265222e}@media(max-width:720px){body.agent-portal-active .agent-page{padding:.78rem .78rem max(1rem,env(safe-area-inset-bottom,0px))}.agent-dashboard{gap:.68rem}.agent-topbar{background:#fffffff0;border-radius:21px;box-shadow:0 12px 32px #15213f14;padding:.85rem}.agent-brand-logo{width:132px}.agent-topbar .eyebrow{color:#475467;font-size:.7rem;letter-spacing:.04em;text-transform:none}.agent-topbar h1{font-size:1.08rem;line-height:1.16}.agent-route-workspace{gap:.66rem;margin-top:0}.agent-route-switcher{margin-inline:-.1rem;padding:.05rem .1rem .28rem}.agent-route-tab{border-radius:17px;flex-basis:min(238px,74vw);min-height:70px;padding:.66rem}.agent-route-code{border-radius:12px;font-size:.72rem;min-width:46px;padding:.34rem .46rem}.agent-route-tab-copy strong{font-size:.92rem}.agent-route-tab-copy small{font-size:.74rem}.agent-route-navigator{border-radius:18px;gap:.64rem;padding:.72rem}.agent-route-position strong{font-size:.96rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agent-route-select-row{gap:.42rem;grid-template-columns:1fr 1fr}.agent-route-select-wrap{grid-column:1 / -1;order:-1}.agent-route-select,.agent-route-step-button{border-radius:14px;min-height:42px}.agent-route-step-button{padding-inline:.65rem}.agent-route-summary{border-left:0;border-radius:19px;box-shadow:0 10px 28px #15213f12;gap:.6rem;padding:.82rem}.agent-route-title{gap:.52rem}.agent-route-title h2{font-size:1.03rem;overflow-wrap:anywhere}.agent-route-summary span{font-size:.76rem}.agent-route-summary a,.agent-segments a,.agent-stop-actions a{border-radius:14px;font-size:.82rem;min-height:42px}.agent-segments{padding-bottom:.05rem}.agent-segments a{background:#ffffffd1}.agent-stop-card{border-left:0!important;border-radius:19px;gap:.58rem;padding:.9rem}.agent-stop-heading{display:grid;grid-template-columns:auto auto}.agent-stop-heading>strong{border-radius:13px;font-size:1rem;height:42px;min-width:42px}.agent-done-toggle{justify-self:end;min-width:106px;padding:.42rem .56rem}.agent-done-box{height:21px;width:21px}.agent-stop-meta{align-items:center;display:flex;gap:.36rem}.agent-affiliation{font-size:.94rem}.agent-stop-card h3{font-size:1.02rem;line-height:1.18}.agent-stop-card p{color:#344054;font-size:.84rem;line-height:1.32}.agent-stop-actions{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}@media(max-width:420px){.agent-meta-row{align-items:flex-start;display:grid;gap:.28rem}.agent-route-tab{flex-basis:min(220px,72vw)}.agent-stop-actions{grid-template-columns:1fr}}.agent-menu-trigger{align-items:center;background:#eef4ff;border:1px solid #c5d3f5;border-radius:16px;cursor:pointer;display:inline-flex;flex-direction:column;gap:4px;height:48px;justify-content:center;padding:0;width:48px}.agent-menu-trigger span{background:var(--accent-strong);border-radius:999px;display:block;height:2px;width:18px}.agent-menu.open .agent-menu-trigger,.agent-menu-trigger:hover{background:#e7efff;border-color:#b8c9f1}@media(max-width:720px){.agent-menu-trigger{border-radius:14px;height:42px;width:42px}}html[data-theme=dark] body.agent-portal-active{background:#0b1226;color:#eef4ff}html[data-theme=dark] body.agent-portal-active .agent-page{background:radial-gradient(circle at 10% 0%,rgba(242,101,34,.12),transparent 18rem),radial-gradient(circle at 90% 10%,rgba(95,126,220,.18),transparent 22rem),linear-gradient(180deg,#0b1226,#111b34);color:#eef4ff}html[data-theme=dark] body.agent-portal-active .agent-topbar,html[data-theme=dark] body.agent-portal-active .agent-route-summary,html[data-theme=dark] body.agent-portal-active .agent-stop-card,html[data-theme=dark] body.agent-portal-active .agent-login-card{background:linear-gradient(180deg,#172344f7,#101a33f7);border-color:#94a3b83d;box-shadow:0 16px 36px #00000057;color:#eef4ff}html[data-theme=dark] body.agent-portal-active .agent-brand-logo,html[data-theme=dark] body.agent-portal-active .agent-login-card img{background:#fff;border:1px solid rgba(255,255,255,.72);border-radius:14px;box-shadow:0 12px 28px #00000042;padding:.34rem .48rem}html[data-theme=dark] body.agent-portal-active .agent-topbar h1,html[data-theme=dark] body.agent-portal-active .agent-route-summary h2,html[data-theme=dark] body.agent-portal-active .agent-stop-card h3,html[data-theme=dark] body.agent-portal-active .agent-route-tab-copy strong{color:#f8fbff}html[data-theme=dark] body.agent-portal-active .agent-topbar .eyebrow,html[data-theme=dark] body.agent-portal-active .agent-meta-row>span,html[data-theme=dark] body.agent-portal-active .agent-route-summary span,html[data-theme=dark] body.agent-portal-active .agent-route-tab-copy small,html[data-theme=dark] body.agent-portal-active .agent-stop-card small,html[data-theme=dark] body.agent-portal-active .agent-stop-card p{color:#c9d6f0}html[data-theme=dark] body.agent-portal-active .agent-status.online{background:#10b98129;border:1px solid rgba(16,185,129,.32);color:#7ee7b5}html[data-theme=dark] body.agent-portal-active .agent-status.offline{background:#fbbf2424;border:1px solid rgba(251,191,36,.3);color:#fde68a}html[data-theme=dark] body.agent-portal-active .agent-route-tab{background:#131f3ceb;border-color:#94a3b83d;box-shadow:0 10px 26px #00000038;color:#eef4ff}html[data-theme=dark] body.agent-portal-active .agent-route-tab.active{background:linear-gradient(180deg,#1f3567fa,#182a54fa);border-color:#f2652294;box-shadow:inset 0 0 0 1px #f265222e,0 14px 30px #00000047}html[data-theme=dark] body.agent-portal-active .agent-route-code,html[data-theme=dark] body.agent-portal-active .agent-route-tab .agent-route-code{background:#eef4ff1a;border-color:#c9d6f03d;color:#d9e6ff}html[data-theme=dark] body.agent-portal-active .agent-route-tab.active .agent-route-code,html[data-theme=dark] body.agent-portal-active .agent-route-summary .agent-route-code.large{background:#f2652229;border-color:#f2652266;color:#ffb084}html[data-theme=dark] body.agent-portal-active .agent-route-tab.active .agent-route-tab-copy strong{color:#fff}html[data-theme=dark] body.agent-portal-active .agent-route-navigator{background:linear-gradient(180deg,#172344f2,#101a33f2);border-color:#94a3b83d;box-shadow:0 14px 32px #00000047;color:#eef4ff}html[data-theme=dark] body.agent-portal-active .agent-route-position span,html[data-theme=dark] body.agent-portal-active .agent-route-position small,html[data-theme=dark] body.agent-portal-active .agent-route-select-wrap span{color:#aebde0}html[data-theme=dark] body.agent-portal-active .agent-route-position strong{color:#f8fbff}html[data-theme=dark] body.agent-portal-active .agent-route-select,html[data-theme=dark] body.agent-portal-active .agent-route-step-button{background:#eef4ff1a;border-color:#c9d6f038;color:#dce6ff}html[data-theme=dark] body.agent-portal-active .agent-route-step-button:hover:not(:disabled),html[data-theme=dark] body.agent-portal-active .agent-route-step-button:active:not(:disabled),html[data-theme=dark] body.agent-portal-active .agent-route-step-button:focus-visible{background:#8aa7ff2e;border-color:#8aa7ff6b;color:#fff;transform:none}html[data-theme=dark] body.agent-portal-active .agent-route-step-button:disabled{background:#eef4ff0d;border-color:#c9d6f01f;color:#dce6ff94}html[data-theme=dark] body.agent-portal-active .agent-route-progress{background:#c9d6f01f}html[data-theme=dark] body.agent-portal-active .agent-route-progress span{background:linear-gradient(90deg,#8aa7ff,#f26522)}html[data-theme=dark] body.agent-portal-active .agent-stop-card.done{background:linear-gradient(180deg,#0a3b30f5,#0c2d2af5);border-color:#34d39957;box-shadow:inset 4px 0 #34d399,0 14px 32px #00000047}html[data-theme=dark] body.agent-portal-active .agent-stop-card.done h3,html[data-theme=dark] body.agent-portal-active .agent-stop-card.done p,html[data-theme=dark] body.agent-portal-active .agent-stop-card.done small{color:#eafff5}html[data-theme=dark] body.agent-portal-active .agent-affiliation{background:#8aa7ff24;border-color:#8aa7ff57;color:#dce6ff}html[data-theme=dark] body.agent-portal-active .agent-done-toggle{background:#eef4ff14;border-color:#c9d6f033;color:#dce6ff}html[data-theme=dark] body.agent-portal-active .agent-done-toggle.active{background:#34d39929;border-color:#34d39961;color:#b6f7d5}html[data-theme=dark] body.agent-portal-active .agent-done-box{background:#ffffff14;border-color:#c9d6f06b}html[data-theme=dark] body.agent-portal-active .agent-done-toggle.active .agent-done-box{background:#18a566;border-color:#18a566}html[data-theme=dark] body.agent-portal-active .agent-stop-actions a,html[data-theme=dark] body.agent-portal-active .agent-route-summary a,html[data-theme=dark] body.agent-portal-active .agent-segments a{background:#eef4ff1a;color:#dce6ff}html[data-theme=dark] body.agent-portal-active .agent-stop-actions .primary{background:#f26522;color:#fff;box-shadow:0 10px 22px #f2652238}html[data-theme=dark] body.agent-portal-active .agent-message,html[data-theme=dark] body.agent-portal-active .agent-notice{background:#f265221a;border-color:#f265224d;color:#ffd0b5}html[data-theme=dark] body.agent-portal-active .agent-menu-trigger{background:#eef4ff1a;border-color:#c9d6f03d}html[data-theme=dark] body.agent-portal-active .agent-menu.open .agent-menu-trigger,html[data-theme=dark] body.agent-portal-active .agent-menu-trigger:hover{background:#eef4ff29;border-color:#c9d6f057}html[data-theme=dark] body.agent-portal-active .agent-menu-trigger span{background:#dce6ff}html[data-theme=dark] body.agent-portal-active .agent-menu-panel{background:#121d38fa;border-color:#94a3b840;box-shadow:0 22px 44px #0000006b}html[data-theme=dark] body.agent-portal-active .agent-menu-panel button{background:transparent;color:#eef4ff}html[data-theme=dark] body.agent-portal-active .agent-menu-panel button:hover:not(:disabled){background:#eef4ff1a;color:#fff}.agent-segments-card{background:#ffffffeb;border:1px solid #d9e2f2;border-radius:19px;box-shadow:0 10px 28px #15213f0f;display:grid;gap:.72rem;padding:.82rem}.agent-segments-copy{display:grid;gap:.18rem}.agent-segments-copy strong{color:var(--ink);font-size:.96rem}.agent-segments-copy span{color:var(--muted);font-size:.84rem;font-weight:750}.agent-segments-card .agent-segments{display:grid;gap:.58rem;grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}.agent-segments-card .agent-segments a{align-items:flex-start;background:#eef4ff;border:1px solid #cbd8f4;color:var(--accent-strong);display:grid;gap:.16rem;justify-content:stretch;min-height:62px;padding:.72rem .82rem;text-align:left}.agent-segments-card .agent-segments a span{font-size:.9rem;font-weight:900}.agent-segments-card .agent-segments a small{color:#5f6f8f;font-size:.75rem;font-weight:800}@media(max-width:720px){.agent-segments-card{border-radius:18px;padding:.72rem}.agent-segments-card .agent-segments{display:grid;grid-template-columns:1fr;overflow:visible;padding-bottom:0}.agent-segments-card .agent-segments a{white-space:normal}}html[data-theme=dark] body.agent-portal-active .agent-segments-card{background:linear-gradient(180deg,#172344f0,#101a33f0);border-color:#94a3b83d;box-shadow:0 14px 32px #00000047}html[data-theme=dark] body.agent-portal-active .agent-segments-copy strong{color:#f8fbff}html[data-theme=dark] body.agent-portal-active .agent-segments-copy span{color:#c9d6f0}html[data-theme=dark] body.agent-portal-active .agent-segments-card .agent-segments a{background:#eef4ff1a;border-color:#c9d6f038;color:#dce6ff}html[data-theme=dark] body.agent-portal-active .agent-segments-card .agent-segments a small{color:#aebde0}@keyframes dl-shimmer{0%{background-position:-700px 0}to{background-position:700px 0}}.skeleton{animation:dl-shimmer 1.5s ease-in-out infinite;background:linear-gradient(90deg,var(--line) 25%,#e4eaf8 50%,var(--line) 75%);background-size:700px 100%;border-radius:var(--radius-sm);display:block}.skeleton-title{height:1.35em;width:52%;margin-bottom:.55rem}.skeleton-text{height:.95em;margin-bottom:.35rem}.skeleton-text-sm{height:.8em;width:70%;margin-bottom:.3rem}.skeleton-chip{height:2.1em;width:90px;border-radius:var(--radius-pill);display:inline-block}.skeleton-card{height:76px;margin-bottom:.55rem;border-radius:var(--radius-md)}.skeleton-row{height:58px;margin-bottom:.45rem;border-radius:var(--radius-sm)}.skeleton-button{height:44px;width:155px;border-radius:var(--radius-sm)}.skeleton-load-section{display:grid;gap:1rem;padding:.25rem 0}.skeleton-load-section .skeleton-period-row{display:flex;gap:.6rem;align-items:flex-end}.skeleton-load-section .skeleton-period-row .skeleton{flex:1;height:40px;border-radius:var(--radius-sm)}.agent-skeleton-list{display:grid;gap:.6rem;padding:.25rem 0}.agent-skeleton-stop{border-radius:var(--radius-md);height:80px}html[data-theme=dark] .skeleton{background:linear-gradient(90deg,#ffffff12 25%,#ffffff26,#ffffff12 75%);background-size:700px 100%}.empty-state{align-items:center;display:flex;flex-direction:column;gap:.85rem;padding:2.8rem 1.5rem 3rem;text-align:center}.empty-state-icon{color:var(--muted);flex-shrink:0;height:52px;opacity:.5;width:52px}.empty-state h3{color:var(--ink);font-size:1.08rem;font-weight:750;margin:0}.empty-state p{color:var(--muted);font-size:.88rem;line-height:1.5;margin:0;max-width:280px}.empty-state .primary-button{margin-top:.4rem}html[data-theme=dark] body.agent-portal-active .empty-state h3{color:#e8eeff}html[data-theme=dark] body.agent-portal-active .empty-state p{color:#9aaad4}.save-progress{align-items:center;display:flex;flex-direction:column;gap:.55rem}.save-progress-pill{align-items:center;background:var(--surface-inset);border:1px solid #c5d3ef;border-radius:var(--radius-pill);color:var(--accent);display:inline-flex;font-size:.82rem;font-weight:750;gap:.45rem;padding:.3rem .85rem}.save-progress-pill svg{animation:spin 1s linear infinite;flex-shrink:0;height:14px;width:14px}@keyframes spin{to{transform:rotate(360deg)}}.save-progress-bar{background:var(--line);border-radius:var(--radius-pill);height:5px;overflow:hidden;width:100%;max-width:260px}.save-progress-bar-fill{background:linear-gradient(90deg,var(--brand-blue),var(--brand-orange));border-radius:var(--radius-pill);height:100%;transition:width .4s ease}.agent-login-form input[id=agent-pin],.agent-login-form button[type=submit]{min-height:48px}.agent-login-form button[type=submit]{font-size:1rem;font-weight:750;letter-spacing:.02em;width:100%}.agent-menu-trigger{min-height:48px;min-width:48px}@media(max-width:720px){.agent-stop-actions button{min-height:48px;min-width:48px;padding:.65rem .8rem}.agent-route-tabs button{min-height:48px;padding:.65rem 1rem}}.period-badge-row{align-items:center;background:var(--surface-inset);border:1px solid var(--line);border-radius:var(--radius-sm);display:flex;gap:.75rem;justify-content:space-between;margin-bottom:.75rem;padding:.55rem .85rem}.period-badge{align-items:center;display:flex;gap:.5rem}.period-badge-label{color:var(--muted);font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.period-badge strong{color:var(--accent);font-size:.95rem;font-weight:800}.period-changer-panel{background:var(--surface-card);border:1px solid var(--line);border-radius:var(--radius-md);display:grid;gap:.75rem;margin-bottom:1rem;padding:1rem}.period-changer-panel label{display:grid;gap:.35rem;font-size:.88rem;font-weight:700;color:var(--ink)}
