:root{color:#0f172a;font-family:Inter,Arial,sans-serif;--bg-base: #eef4fb;--bg-accent-1: rgba(37, 99, 235, .1);--bg-accent-2: rgba(16, 185, 129, .08);--workspace-bg: rgba(255, 255, 255, .82);--workspace-border: rgba(255, 255, 255, .78);--panel-bg: rgba(255, 255, 255, .96);--panel-border: rgba(226, 232, 240, .9);--text-muted: #64748b;--shadow-soft: 0 24px 60px rgba(37, 99, 235, .1)}html,body,#root{min-height:100%}html{background:radial-gradient(circle at top right,var(--bg-accent-1),transparent 24%),radial-gradient(circle at top left,var(--bg-accent-2),transparent 18%),var(--bg-base)}html[data-theme=dark]{--bg-base: #09111f;--bg-accent-1: rgba(99, 102, 241, .22);--bg-accent-2: rgba(14, 165, 233, .12);--workspace-bg: rgba(15, 23, 42, .78);--workspace-border: rgba(71, 85, 105, .35);--panel-bg: rgba(30, 41, 59, .88);--panel-border: rgba(71, 85, 105, .55);--text-muted: #94a3b8;--shadow-soft: 0 28px 64px rgba(2, 6, 23, .42);background:radial-gradient(circle at top right,var(--bg-accent-1),transparent 24%),radial-gradient(circle at top left,var(--bg-accent-2),transparent 18%),var(--bg-base)}*{box-sizing:border-box}body{min-height:100vh;margin:0;background:radial-gradient(circle at top right,var(--bg-accent-1),transparent 24%),radial-gradient(circle at top left,var(--bg-accent-2),transparent 18%),var(--bg-base);color:#0f172a}body[data-theme=dark]{background:radial-gradient(circle at top right,var(--bg-accent-1),transparent 24%),radial-gradient(circle at top left,var(--bg-accent-2),transparent 18%),var(--bg-base);color:#f8fafc}button,input,select{font:inherit}input,select{width:100%;padding:.8rem .9rem;border-radius:.9rem;border:1px solid #cbd5e1;background:#ffffffe6;color:inherit}body[data-theme=dark] input,body[data-theme=dark] select{background:#0f172ad1;border-color:#334155;color:#f8fafc}.app-shell{max-width:1680px;margin:0 auto;min-height:100vh;padding:2rem}.dashboard-shell{display:grid;grid-template-columns:250px minmax(0,1fr);gap:1.5rem;align-items:start}.workspace-shell{min-width:0;display:grid;gap:1.15rem;background:var(--workspace-bg);border:1px solid var(--workspace-border);border-radius:2rem;padding:1.25rem;box-shadow:var(--shadow-soft);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.sidebar{position:sticky;top:1.5rem;display:grid;gap:1rem;padding:1.2rem 1rem;border-radius:2rem;min-height:calc(100vh - 4rem);align-content:start}.sidebar-brand{display:flex;gap:.85rem;align-items:center}.sidebar-brand-copy{min-width:0}.sidebar-brand-copy .eyebrow{margin-bottom:.3rem;font-size:.66rem;line-height:1.25}.sidebar-brand-copy .shell-title{font-size:clamp(1rem,1.4vw,1.25rem);line-height:1.12;overflow-wrap:normal;word-break:keep-all}.brand-logo{display:block;object-fit:contain}.sidebar-brand-logo{width:3.4rem;height:3.4rem;flex-shrink:0}.sidebar-rule{height:1px;width:100%;background:linear-gradient(90deg,#94a3b800,#94a3b88c,#94a3b800);margin:.35rem 0}.sidebar-section-label{font-size:.72rem;font-weight:800;letter-spacing:.18em;text-transform:uppercase;color:#94a3b8}.sidebar-nav,.sidebar-tools{display:grid;gap:.45rem}.sidebar-link{width:100%;border:0;border-radius:1rem;background:#f8fafca8;color:inherit;display:flex;align-items:center;gap:.75rem;padding:.95rem 1rem;font-weight:700;cursor:pointer;text-align:left;box-shadow:inset 0 0 0 1px #e2e8f0a6}.sidebar-link:hover{background:#dbeafee6}.sidebar-link.active{background:linear-gradient(135deg,#2563eb,#38bdf8);color:#fff;box-shadow:0 18px 32px #2563eb47}.utility-link{font-weight:600}body[data-theme=dark] .sidebar-link.active{color:#bfdbfe}.sidebar-foot{gap:.8rem;margin-top:auto}.auth-shell{min-height:100vh;display:grid;place-items:center;padding:1.5rem}.auth-card{width:min(680px,100%)}.auth-brand-logo{width:5.5rem;height:5.5rem;margin-bottom:.85rem}.panel{background:var(--panel-bg);border:1px solid var(--panel-border);border-radius:1.6rem;padding:1.25rem;box-shadow:0 18px 45px #0f172a14;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}body[data-theme=dark] .panel{background:var(--panel-bg);border-color:var(--panel-border);box-shadow:0 24px 50px #00000059}.soft-panel{background:#f8fafce0;border:1px solid rgba(148,163,184,.18);box-shadow:none}body[data-theme=dark] .soft-panel{background:#020617ad;border-color:#334155}.top-shell{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem}.workspace-topbar{border-radius:1.4rem;padding:1rem 1.2rem;background:linear-gradient(135deg,#ffffffeb,#eff6ffe0)}body[data-theme=dark] .workspace-topbar{background:linear-gradient(135deg,#0f172aeb,#1e293be6)}.workspace-title-group{min-width:0}.topbar-meta{display:flex;align-items:center;gap:.9rem;justify-content:flex-end;flex-wrap:wrap}.topbar-search{min-width:min(360px,100%);flex:1 1 320px;display:flex;align-items:center;gap:.7rem;border-radius:1rem;padding:.8rem .95rem;background:#ffffffd9;border:1px solid rgba(226,232,240,.9)}.topbar-search input{border:0;padding:0;background:transparent;outline:none}body[data-theme=dark] .topbar-search{background:#0f172ad1;border-color:#334155}.shell-title{font-size:clamp(1.2rem,2vw,1.6rem);font-weight:800;line-height:1.1;overflow-wrap:anywhere}.eyebrow{text-transform:uppercase;letter-spacing:.18em;font-size:.72rem;color:#64748b;margin:0 0 .4rem;font-weight:800}body[data-theme=dark] .eyebrow,body[data-theme=dark] .metric-label,body[data-theme=dark] .metric-subtext,body[data-theme=dark] .hero-copy{color:#94a3b8}.hero{margin-bottom:1rem}.hero h1,.auth-card h1{margin:0;font-size:clamp(2rem,4vw,3rem)}.hero-copy{max-width:58rem;line-height:1.6;color:#64748b;margin-bottom:1rem}.hero-pill-row,.auth-tabs{display:flex;gap:.8rem;flex-wrap:wrap;margin-bottom:1rem}.header-pill{display:inline-flex;align-items:center;gap:.4rem;border-radius:999px;padding:.6rem .85rem;font-weight:700;font-size:clamp(.72rem,1.3vw,.88rem);line-height:1.2;max-width:100%;overflow-wrap:anywhere}.header-pill.success{background:#22c55e24;color:#166534}.header-pill.info{background:#2563eb1a;color:#1d4ed8}.header-pill.warning{background:#f59e0b1f;color:#92400e}body[data-theme=dark] .header-pill.success{color:#86efac}body[data-theme=dark] .header-pill.info{color:#93c5fd}body[data-theme=dark] .header-pill.warning{color:#fde68a}.hero-actions,.filters-toolbar,.table-actions,.settings-row{display:flex;gap:.75rem;flex-wrap:wrap;align-items:center}.filters-toolbar{align-items:end}.field{display:flex;flex-direction:column;gap:.4rem;font-weight:600;min-width:0}.checkbox-field{flex-direction:row;align-items:center;min-width:100%}.checkbox-field input{width:auto}.text-link{color:#2563eb;font-weight:800;text-decoration:none}.text-link:hover{text-decoration:underline}body[data-theme=dark] .text-link{color:#93c5fd}.file-input-btn{position:relative;overflow:hidden}.file-input-btn input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}.primary-btn,.secondary-btn,.icon-btn{border-radius:.95rem;padding:.85rem 1rem;display:inline-flex;align-items:center;justify-content:center;gap:.5rem;cursor:pointer;border:1px solid #cbd5e1;transition:transform .12s ease,opacity .12s ease}.primary-btn:hover,.secondary-btn:hover,.icon-btn:hover{transform:translateY(-1px)}.primary-btn:disabled,.secondary-btn:disabled{opacity:.7;cursor:wait}.primary-btn{background:linear-gradient(135deg,#0f172a,#1d4ed8);color:#fff;border:none}.secondary-btn,.icon-btn{background:#ffffffe0;color:inherit}body[data-theme=dark] .secondary-btn,body[data-theme=dark] .icon-btn{background:#0f172ad1;border-color:#334155;color:#f8fafc}.page-grid,.metrics-grid,.chart-grid,.two-column,.form-grid{display:grid;gap:1rem}.single-column{grid-template-columns:1fr}.metrics-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));margin-bottom:1rem}.finance-metrics-grid{margin-top:-.15rem}.topbar-actions{display:flex;gap:.7rem;flex-wrap:wrap;justify-content:flex-end}.utility-btn{width:2.9rem;height:2.9rem;border-radius:1rem;border:1px solid rgba(203,213,225,.9);background:#ffffffeb;color:inherit;display:grid;place-items:center;cursor:pointer}.utility-btn-featured{background:linear-gradient(135deg,#2563eb,#8b5cf6);color:#fff;border-color:transparent}body[data-theme=dark] .utility-btn{background:#0f172adb;border-color:#334155;color:#f8fafc}.topbar-user{display:flex;align-items:center;gap:.75rem;padding:.75rem .95rem;border-radius:1rem;min-width:210px}.topbar-avatar{width:2.5rem;height:2.5rem;border-radius:999px;display:grid;place-items:center;font-weight:900;color:#fff;background:linear-gradient(135deg,#2563eb,#38bdf8);flex-shrink:0}.chart-grid{grid-template-columns:minmax(0,1.5fr) minmax(320px,1fr);margin-bottom:1rem}.two-column{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:1rem}.form-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}.form-actions{grid-column:1 / -1}.metric-card{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:1rem;min-width:0;border-radius:1.4rem;position:relative;overflow:hidden}.metric-copy{min-width:0;display:grid;gap:.35rem;position:relative;z-index:1}.metric-icon{width:3rem;height:3rem;display:grid;place-items:center;border-radius:1rem;background:#2563eb1a;color:#2563eb;position:relative;z-index:1}body[data-theme=dark] .metric-icon{background:#60a5fa29;color:#93c5fd}.metric-label,.metric-subtext{color:#64748b;overflow-wrap:anywhere}.metric-label{font-size:clamp(.86rem,1.05vw,1rem);line-height:1.1}.metric-value{font-size:clamp(1.1rem,1.7vw,1.95rem);font-weight:800;line-height:1.08;white-space:normal;overflow-wrap:anywhere}.metric-accent{position:absolute;inset:auto -1.8rem -2.6rem auto;width:7rem;height:7rem;border-radius:999px;opacity:.24;filter:blur(8px)}.metric-card-blue .metric-accent{background:radial-gradient(circle,rgba(37,99,235,.95),transparent 65%)}.metric-card-violet .metric-accent{background:radial-gradient(circle,rgba(139,92,246,.95),transparent 65%)}.metric-card-gold .metric-accent{background:radial-gradient(circle,rgba(245,158,11,.95),transparent 65%)}.metric-card-mint .metric-accent{background:radial-gradient(circle,rgba(16,185,129,.95),transparent 65%)}.metric-card-rose .metric-accent{background:radial-gradient(circle,rgba(244,63,94,.95),transparent 65%)}.metric-card-blue{background:linear-gradient(180deg,#eff6fffa,#fffffff5)}.metric-card-violet{background:linear-gradient(180deg,#f5f3fffa,#fffffff5)}.metric-card-gold{background:linear-gradient(180deg,#fffbebfa,#fffffff5)}.metric-card-mint{background:linear-gradient(180deg,#ecfdf5fa,#fffffff5)}.metric-card-rose{background:linear-gradient(180deg,#fff1f2fa,#fffffff5)}.metric-card-slate{background:linear-gradient(180deg,#f1f5f9fa,#fffffff5)}body[data-theme=dark] .metric-card-blue,body[data-theme=dark] .metric-card-violet,body[data-theme=dark] .metric-card-gold,body[data-theme=dark] .metric-card-mint,body[data-theme=dark] .metric-card-rose,body[data-theme=dark] .metric-card-slate{background:linear-gradient(180deg,#1e293bfa,#0f172af5)}.metric-icon-blue{background:#2563eb1f;color:#2563eb}.metric-icon-violet{background:#8b5cf61f;color:#7c3aed}.metric-icon-gold{background:#f59e0b24;color:#d97706}.metric-icon-mint{background:#10b98124;color:#059669}.metric-icon-rose{background:#f43f5e24;color:#e11d48}.metric-icon-slate{background:#64748b29;color:#334155}.panel-title{display:flex;justify-content:space-between;gap:1rem;align-items:center;font-weight:800;margin-bottom:1rem}.panel-title-actions{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap;justify-content:flex-end}.collapse-icon-btn{width:2.25rem;height:2.25rem;border-radius:.85rem;display:grid;place-items:center}.panel-title-copy{min-width:0}.panel-title-main{display:flex;align-items:center;gap:.7rem;overflow-wrap:anywhere}.panel-subtitle{margin-top:.3rem;color:var(--text-muted);font-size:.92rem;font-weight:500;line-height:1.45}.panel-icon{width:2rem;height:2rem;border-radius:.8rem;display:grid;place-items:center;background:#2563eb1a;color:#2563eb;flex-shrink:0}.panel-icon-blue{background:#2563eb1f;color:#2563eb}.panel-icon-violet{background:#8b5cf61f;color:#7c3aed}.panel-icon-mint{background:#10b98124;color:#059669}.panel-icon-gold{background:#f59e0b24;color:#d97706}.panel-icon-amber{background:#f59e0b24;color:#b45309}.panel-icon-slate{background:#3341551f;color:#334155}.feature-panel{position:relative}.chart-panel{border-width:1px}.chart-panel-primary{box-shadow:0 22px 45px #2563eb1a}.chart-panel-secondary{box-shadow:0 22px 45px #8b5cf61a}.chart-wrap{height:320px}.kpi-list{display:grid;gap:.8rem}.kpi-row,.settings-row{justify-content:space-between;border:1px solid rgba(226,232,240,.9);border-radius:1rem;padding:.95rem 1rem}.kpi-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.85rem;align-items:flex-start}.kpi-row strong,.kpi-row span,.kpi-row div{min-width:0;overflow-wrap:anywhere}.route-forecast-row{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1.3fr) auto;align-items:center}.route-forecast-copy,.route-forecast-metrics{min-width:0}.route-forecast-metrics{display:flex;flex-wrap:wrap;gap:.5rem 1rem;font-size:.92rem;color:#475569}body[data-theme=dark] .route-forecast-metrics{color:#cbd5e1}body[data-theme=dark] .kpi-row,body[data-theme=dark] .settings-row{border-color:#334155f2}.table-wrap{overflow:auto;max-width:100%}.compact-table-wrap table{min-width:620px}.table-wrap table{width:100%;border-collapse:collapse;min-width:760px}.table-wrap th,.table-wrap td{text-align:left;padding:.85rem .7rem;border-bottom:1px solid #e2e8f0;white-space:normal;overflow-wrap:anywhere;vertical-align:top}body[data-theme=dark] .table-wrap th,body[data-theme=dark] .table-wrap td{border-bottom-color:#334155}.status-pill{padding:.4rem .75rem;border-radius:999px;font-weight:700;font-size:.83rem;white-space:nowrap}.metric-status{justify-self:start;margin-top:.35rem}.watchlist-copy{min-width:0}.watchlist-row .status-pill{justify-self:end;align-self:center}.custom-field-row{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,.9fr) auto;gap:.75rem;align-items:end}.status-pill.good{background:#dcfce7;color:#166534}.status-pill.warn{background:#fef3c7;color:#92400e}.status-pill.bad{background:#fee2e2;color:#991b1b}.status-pill.info{background:#dbeafe;color:#1d4ed8}.status-pill.neutral{background:#e2e8f0;color:#334155}.status-inline{font-weight:700}.status-inline.good{color:#166534}.status-inline.bad{color:#b91c1c}.notice-card{margin-bottom:1rem;border-radius:1rem;padding:.9rem 1rem;background:#dbeafe;border:1px solid #93c5fd}.notice-card.success{background:#dcfce7;border-color:#86efac}.notice-card.error{background:#fee2e2;border-color:#fca5a5}.summary-list{margin:0;padding-left:1.2rem;line-height:1.8}.invite-token{margin-top:.75rem;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;word-break:break-all}.table-empty{text-align:center;color:var(--text-muted);padding:1rem}.cluster-row{display:flex;align-items:center;gap:.6rem}.empty-state{border:1px dashed rgba(148,163,184,.45);border-radius:1rem;padding:1.25rem;background:#f8fafcb8}body[data-theme=dark] .empty-state{background:#02061785;border-color:#94a3b847}@media (max-width: 1100px){.dashboard-shell{grid-template-columns:1fr}.sidebar{position:static;min-height:auto}.top-shell,.hero,.settings-row{flex-direction:column;align-items:stretch}.topbar-meta{justify-content:flex-start}.metrics-grid,.chart-grid,.two-column,.form-grid{grid-template-columns:1fr}}@media (max-width: 720px){.app-shell,.auth-shell{padding:1rem}.workspace-shell{padding:.9rem;border-radius:1.5rem}.topbar-user{min-width:0;width:100%}.sidebar-brand{align-items:flex-start}.hero-actions,.filters-toolbar,.table-actions,.settings-row{align-items:stretch}.sidebar-link{justify-content:flex-start}.primary-btn,.secondary-btn,.icon-btn{width:100%}.metric-card{grid-template-columns:auto minmax(0,1fr)}.route-forecast-row,.custom-field-row{grid-template-columns:1fr}}
