:root{--text-muted:#7a819b;--status-green:#0a8754;--status-green-bg:rgba(10,135,84,0.12);--status-amber:#b45309;--status-amber-bg:rgba(180,83,9,0.12);--status-red:#c4260a;--status-red-bg:rgba(196,38,10,0.12);--status-muted-bg:rgba(122,129,155,0.10);--section-header-bg:rgba(59,130,246,0.12);--section-header-color:var(--text-primary);--subtotal-bg:rgba(59,130,246,0.06);--sidebar-width:312px}.dark,[data-theme=dark]{--text-muted:#6B7280;--status-green-bg:rgba(10,135,84,0.20);--status-amber-bg:rgba(180,83,9,0.20);--status-red-bg:rgba(196,38,10,0.20);--status-muted-bg:rgba(122,129,155,0.15);--section-header-bg:rgba(59,130,246,0.15);--subtotal-bg:rgba(59,130,246,0.08)}.portal-root{background-color:var(--bg-field);color:var(--text-primary);min-height:100vh;overflow-x:hidden;font-family:var(--font-ui);font-size:13.5px;line-height:1.5;-webkit-font-smoothing:antialiased}.portal-root[data-variant=quote]{background:#fff;color:#0a0a0b;font-family:var(--font-ui)}.portal-root[data-variant=quote]:before{content:"";position:fixed;inset:0 0 auto;z-index:80;height:4px;background:#1a4bff}.portal-root[data-variant=quote] .mesh-gradient,.portal-root[data-variant=quote] .noise-overlay{display:none}.portal-root[data-variant=quote] .sidebar{padding-top:22px;border-right-color:#e5e7eb;background:#fff;backdrop-filter:none;-webkit-backdrop-filter:none}.portal-root[data-variant=quote] .sidebar-logo{border-bottom-color:#e5e7eb}.portal-root[data-variant=quote] .btn-new-quote{border-radius:12px;background:#1a4bff;box-shadow:none}.portal-root[data-variant=quote] .btn-new-quote:hover{transform:none;background:#163fda;box-shadow:none}.portal-root[data-variant=quote] .loan-item{border-width:2px;border-radius:12px;transition:none}.portal-root[data-variant=quote] .loan-item:hover{border-color:rgba(10,10,11,.1);background:#fafafa}.portal-root[data-variant=quote] .loan-item.active{border-color:#1a4bff;background:rgba(26,75,255,.045);box-shadow:none}.app-shell{position:relative;z-index:1;display:flex;min-height:100vh}.sidebar{width:var(--sidebar-width);min-width:var(--sidebar-width);height:100vh;position:sticky;top:0;display:flex;flex-direction:column;padding:20px 12px;border-right:1px solid var(--border-subtle);background:var(--glass-elevated-bg);backdrop-filter:var(--glass-elevated-blur);-webkit-backdrop-filter:var(--glass-elevated-blur)}.sidebar-logo{display:flex;align-items:center;gap:10px;min-height:51px;padding:0 9px 16px;border-bottom:1px solid var(--border-subtle);margin-bottom:16px}.sidebar-logo .brand-logo{width:148px;height:auto;object-fit:contain}.sidebar-logo .brand-logo-dark,[data-theme=dark] .sidebar-logo .brand-logo-light{display:none}[data-theme=dark] .sidebar-logo .brand-logo-dark{display:block}.sidebar-section-label{font-family:var(--font-ui);font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--text-muted);padding:0 8px;margin-bottom:8px}.loan-list{flex:1;overflow-y:auto;display:flex;flex-direction:column;gap:4px}.loan-item{padding:10px 12px;border-radius:10px;cursor:pointer;border:1px solid transparent;transition:background .2s ease,border-color .2s ease,box-shadow .2s ease}.loan-item:hover{background:var(--glass-inset-bg);border-color:var(--border-subtle)}.loan-item.active{background:var(--glass-inset-bg);border-color:var(--accent);box-shadow:0 0 12px var(--accent-glow)}.loan-item .addr{display:-webkit-box;overflow:hidden;margin-bottom:4px;color:var(--text-primary);font-family:var(--font-ui);font-weight:700;font-size:12.5px;line-height:1.35;overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:2}.loan-item .meta{min-width:0;font-size:10px;color:var(--text-muted);display:flex;align-items:center;gap:6px}.loan-item .loan-location{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.loan-item .loan-stage{flex:0 0 auto;margin-left:auto}.loan-item .meta .stage-dot{width:5px;height:5px;border-radius:50%}.sidebar-bottom{padding-top:12px;border-top:1px solid var(--border-subtle);margin-top:12px}.btn-new-quote{width:100%;padding:10px;border-radius:10px;border:none;background:var(--accent);color:#fff;font-family:var(--font-ui);font-weight:700;font-size:12px;letter-spacing:.02em;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:6px;transition:transform .2s ease,box-shadow .2s ease}.btn-new-quote:hover{transform:scale(1.02);box-shadow:0 0 20px var(--accent-glow)}.btn-new-quote:active{transform:scale(.98)}.btn-new-quote:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.main-content{flex:1;display:flex;flex-direction:column;min-width:0}.topbar{position:sticky;top:0;z-index:50;padding:0 24px;height:52px;justify-content:space-between;background:var(--glass-elevated-bg);backdrop-filter:var(--glass-elevated-blur);-webkit-backdrop-filter:var(--glass-elevated-blur);border-bottom:1px solid var(--border-subtle)}.topbar,.topbar-left{display:flex;align-items:center}.topbar-left{gap:12px}.topbar-left h1{font-family:var(--font-ui);font-weight:700;font-size:15px;letter-spacing:-.02em}.topbar-left .loan-id{font-family:var(--font-numeric);font-size:10.5px;color:var(--text-muted)}.topbar-right{display:flex;align-items:center;gap:16px}.topbar-badge{display:inline-flex;align-items:center;gap:5px;padding:3px 10px;border-radius:20px;font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.04em}.badge-stage{background:rgba(0,102,255,.15);color:var(--accent)}.topbar-user{font-size:12px;color:var(--text-secondary);font-weight:500}.theme-toggle{position:relative;width:48px;height:24px;border-radius:12px;cursor:pointer;border:1px solid var(--border-subtle);background:var(--glass-inset-bg);backdrop-filter:blur(8px);display:flex;align-items:center;padding:0 3px}.theme-toggle .handle{width:18px;height:18px;border-radius:50%;background:var(--text-primary);display:flex;align-items:center;justify-content:center;transition:transform .4s cubic-bezier(.34,1.56,.64,1)}.theme-toggle .handle svg{width:10px;height:10px;color:var(--bg-field)}.loan-header{padding:12px 24px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;border-bottom:1px solid var(--border-subtle);background:var(--glass-surface-bg);backdrop-filter:var(--glass-surface-blur);-webkit-backdrop-filter:var(--glass-surface-blur)}.loan-kpis{display:flex;gap:24px}.kpi{text-align:right}.kpi-label{font-size:9px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted)}.kpi-value{font-family:var(--font-numeric);font-size:14px;font-weight:500;color:var(--text-primary);letter-spacing:-.01em}.kpi-value.positive{color:var(--status-green)}.tab-bar{padding:0 24px;display:flex;gap:0;overflow-x:auto;scrollbar-width:none;border-bottom:1px solid var(--border-subtle);background:var(--glass-surface-bg);backdrop-filter:var(--glass-surface-blur);-webkit-backdrop-filter:var(--glass-surface-blur)}.tab-bar::-webkit-scrollbar{display:none}.tab-btn{padding:10px 16px;font-family:var(--font-ui);font-size:11.5px;font-weight:700;color:var(--text-muted);background:none;border:none;border-bottom:2px solid transparent;margin-bottom:-1px;cursor:pointer;white-space:nowrap;transition:color .15s ease,border-color .15s ease;letter-spacing:.01em;text-transform:uppercase}.tab-btn:hover{color:var(--text-primary)}.tab-btn:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.tab-btn.active{color:var(--accent);border-bottom-color:var(--accent)}.tab-content{padding:20px 24px 40px;max-width:1280px}.tab-panel{display:none}.tab-panel.active{display:block}.section-title{font-family:var(--font-ui);font-size:11px;font-weight:700;color:var(--text-primary);text-transform:uppercase;letter-spacing:.06em;margin:24px 0 8px;padding-bottom:6px;border-bottom:2px solid var(--accent);display:inline-block}.section-title:first-child{margin-top:0}.data-table-wrap{margin-bottom:20px;border-radius:.75rem;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;border:1px solid var(--border-subtle);background:var(--glass-surface-bg);backdrop-filter:var(--glass-surface-blur);-webkit-backdrop-filter:var(--glass-surface-blur);box-shadow:var(--glass-surface-shadow)}table.data-table{width:100%;min-width:100%;border-collapse:collapse;font-size:12.5px}table.data-table thead th{background:var(--section-header-bg);color:var(--section-header-color);font-family:var(--font-ui);font-size:9.5px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;padding:8px 14px;text-align:left;border-bottom:1px solid rgba(255,255,255,.06)}table.data-table thead th:last-child{text-align:right}table.data-table tbody td{padding:7px 14px;border-bottom:1px solid var(--border-subtle);vertical-align:top}table.data-table tbody tr:nth-child(2n){background:var(--glass-inset-bg)}table.data-table tbody tr:last-child td{border-bottom:none}table.data-table tbody tr:hover{background:rgba(0,102,255,.04)}.cell-label{color:var(--text-secondary);font-weight:500}.cell-mono{font-family:var(--font-numeric);font-size:12px;letter-spacing:-.01em}.cell-right{text-align:right}.cell-center{text-align:center}.fee-section-header td{background:var(--section-header-bg)!important;color:var(--section-header-color)!important;font-family:var(--font-ui);font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;padding:7px 14px}.fee-subtotal td{background:var(--subtotal-bg)!important;font-weight:700;color:var(--text-primary);border-bottom:1px solid var(--border-subtle)!important}.fee-grand-total td{background:var(--accent)!important;color:#fff!important;font-weight:700;font-size:13px;padding:10px 14px}.status{display:inline-flex;align-items:center;gap:5px;padding:2px 8px;border-radius:6px;font-size:10px;font-weight:600;letter-spacing:.02em}.status-dot{width:5px;height:5px;border-radius:50%}.status-complete{background:var(--status-green-bg);color:var(--status-green)}.status-complete .status-dot{background:var(--status-green)}.status-pending{background:var(--status-amber-bg);color:var(--status-amber)}.status-pending .status-dot{background:var(--status-amber)}.status-not-started{background:var(--status-muted-bg);color:var(--text-muted)}.status-not-started .status-dot{background:var(--text-muted)}.status-rejected{background:var(--status-red-bg);color:var(--status-red)}.status-rejected .status-dot{background:var(--status-red)}.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:20px}.ctc-summary{margin-top:16px;border-radius:.75rem;padding:20px 24px;display:flex;justify-content:space-between;align-items:center;gap:32px;background:linear-gradient(135deg,rgba(0,40,120,.9),rgba(0,80,200,.8));backdrop-filter:blur(20px);border:1px solid rgba(0,102,255,.3);box-shadow:0 0 30px var(--accent-glow)}.ctc-item{text-align:center}.ctc-label{font-size:9px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:rgba(140,170,220,.9);margin-bottom:2px}.ctc-value{font-family:var(--font-numeric);font-size:20px;font-weight:700;color:#fff;letter-spacing:-.02em}.ctc-divider{width:1px;height:40px;background:rgba(255,255,255,.15)}.ctc-summary.ctc-light{background:linear-gradient(135deg,rgba(59,130,246,.08),rgba(99,170,255,.12));border:1px solid rgba(59,130,246,.18);box-shadow:0 0 16px rgba(59,130,246,.05)}.ctc-summary.ctc-light .ctc-label{color:var(--text-muted)}.ctc-summary.ctc-light .ctc-value{color:var(--text-primary);font-size:18px}.ctc-summary.ctc-light .ctc-divider{background:rgba(59,130,246,.15)}.tracker-bar{display:flex;gap:2px;margin-top:4px}.tracker-step{height:4px;flex:1;border-radius:2px;background:var(--status-muted-bg)}.tracker-step.done{background:var(--status-green)}.tracker-step.current{background:var(--accent);box-shadow:0 0 6px var(--accent-glow)}.glass-pipeline-row:hover{background:rgba(0,102,255,.04)!important;border-color:var(--accent)!important;box-shadow:0 0 12px rgba(0,102,255,.08)}@media (max-width:1024px){.sidebar{display:none}.grid-2{grid-template-columns:1fr}.loan-header{flex-direction:column;align-items:flex-start}.ctc-summary,.loan-kpis{flex-wrap:wrap;gap:16px}.ctc-divider{display:none}.tab-btn{padding:10px;font-size:10px}}@media (max-width:640px){.topbar{height:auto;min-height:52px;padding:8px 12px;align-items:flex-start;gap:8px}.topbar-left,.topbar-right{min-width:0;gap:8px}.topbar-left .loan-id,.topbar-left h1,.topbar-user{overflow-wrap:anywhere}.loan-header{padding:12px}.loan-kpis{width:100%;gap:10px}.kpi{min-width:calc(50% - 8px);text-align:left}.tab-bar{padding:0 12px}.tab-content{padding:16px 12px 32px}.data-table-wrap{margin-bottom:16px;max-width:100%}table.data-table{font-size:12px;table-layout:auto}table.data-table thead th{padding:7px 10px}table.data-table tbody td{padding:8px 10px}.cell-label,.cell-mono,table.data-table tbody td{overflow-wrap:anywhere;word-break:break-word}.cell-mono{font-size:11.5px}.status{white-space:nowrap}.ctc-summary{flex-direction:column;align-items:stretch;padding:16px}.ctc-item{text-align:left}.ctc-value{font-size:18px;overflow-wrap:anywhere}}.admin-brand-root,.admin-brand-root .portal-root[data-theme=light]{--admin-font-sans:var(--font-ui);--admin-font-display:var(--font-display);--admin-font-mono:var(--font-numeric);--admin-paper:#fbfaf7;--admin-paper-muted:#f3f1ec;--admin-surface:rgba(255,255,252,0.94);--admin-surface-strong:#fffefa;--admin-line:rgba(35,34,31,0.10);--admin-line-strong:rgba(35,34,31,0.16);--admin-shadow:0 12px 30px rgba(32,30,25,0.045);--admin-shadow-soft:0 8px 20px rgba(32,30,25,0.035);--admin-active-bg:rgba(49,92,246,0.08);--admin-active-border:rgba(49,92,246,0.22);--admin-active-shadow:0 8px 18px rgba(49,92,246,0.08);--admin-hover-bg:rgba(35,34,31,0.035);--admin-input-bg:rgba(255,255,252,0.88);--admin-header-bg:linear-gradient(180deg,rgba(255,255,252,0.98),rgba(255,255,252,0.90)),var(--glass-surface-bg);--admin-main-gradient:linear-gradient(180deg,rgba(251,250,247,0.70),rgba(244,242,238,0.92));--admin-subtle-fill:rgba(255,255,252,0.62);--admin-subtle-fill-soft:rgba(35,34,31,0.025);--admin-divider-muted:rgba(35,34,31,0.055);--admin-dot-muted:rgba(35,34,31,0.28);--admin-inset-highlight:rgba(255,255,255,0.70);--bg-field:#f4f2ee;--bg-grad-1:transparent;--bg-grad-2:transparent;--bg-grad-3:transparent;--glass-surface-bg:var(--admin-surface);--glass-surface-blur:none;--glass-surface-shadow:var(--admin-shadow-soft);--glass-elevated-bg:rgba(255,255,252,0.96);--glass-elevated-blur:blur(18px);--glass-elevated-shadow:var(--admin-shadow);--glass-inset-bg:var(--admin-paper-muted);--glass-inset-blur:none;--glass-floating-bg:rgba(255,255,252,0.98);--glass-floating-blur:blur(16px);--glass-floating-shadow:0 18px 45px rgba(32,30,25,0.08);--border-subtle:var(--admin-line);--text-primary:#171717;--text-secondary:#4c4b55;--text-muted:#85838b;--accent:#315cf6;--accent-glow:rgba(49,92,246,0.12);--highlight:#6f5cf6;--status-green:#2d8a61;--status-green-bg:rgba(45,138,97,0.12);--status-amber:#a76b15;--status-amber-bg:rgba(167,107,21,0.12);--status-red:#b82d28;--status-red-bg:rgba(184,45,40,0.10);--status-muted-bg:rgba(35,34,31,0.06);--background:42 23% 96%;--foreground:240 8% 9%;--card:45 35% 99%;--card-elevated:45 35% 99%;--card-foreground:240 8% 9%;--popover:45 35% 99%;--popover-foreground:240 8% 9%;--primary:226 91% 56%;--primary-foreground:0 0% 100%;--secondary:42 18% 92%;--secondary-foreground:240 8% 9%;--muted:42 18% 92%;--muted-foreground:250 5% 52%;--destructive:2 65% 47%;--destructive-foreground:0 0% 100%;--border:36 16% 87%;--input:36 16% 87%;--ring:226 91% 56%;--radius:0.5rem}.admin-modal-root{--admin-font-sans:var(--font-ui);--admin-font-display:var(--font-display);--admin-font-mono:var(--font-numeric);--admin-paper:#fbfaf7;--admin-paper-muted:#f3f1ec;--admin-surface:#fffefa;--admin-surface-strong:#fffefa;--admin-input-bg:#f8f7f3;--bg-field:#fffefa;--glass-surface-bg:#f8f7f3;--glass-elevated-bg:#fffefa;--glass-inset-bg:#f3f1ec;--glass-floating-bg:#fffefa;--border-subtle:rgba(35,34,31,0.12);--border-strong:rgba(35,34,31,0.2);--text-primary:#171717;--text-secondary:#4c4b55;--text-muted:#85838b;--accent:#315cf6;--accent-glow:rgba(49,92,246,0.12);--status-green:#2d8a61;--status-green-bg:rgba(45,138,97,0.12);--status-amber:#a76b15;--status-amber-bg:rgba(167,107,21,0.12);--status-red:#b82d28;--status-red-bg:rgba(184,45,40,0.1);--status-muted-bg:rgba(35,34,31,0.06);--bg:#f4f2ee;--bg-elev:#fffefa;--ink:#171717;--ink-2:#4c4b55;--ink-3:#85838b;--line:rgba(35,34,31,0.12);--accent-ghost:rgba(49,92,246,0.08);--accent-ink:#fff;--accent-hover:#0039cc;--ink-hover:#1a1b23;--mono:var(--font-numeric);background-color:var(--admin-surface-strong);color:var(--text-primary);color-scheme:light}.dark .admin-modal-root{--admin-paper:#151515;--admin-paper-muted:#1d1d1c;--admin-surface:#20201f;--admin-surface-strong:#20201f;--admin-input-bg:#181817;--bg-field:#20201f;--glass-surface-bg:#282826;--glass-elevated-bg:#20201f;--glass-inset-bg:#151515;--glass-floating-bg:#20201f;--border-subtle:rgba(235,231,222,0.12);--border-strong:rgba(235,231,222,0.2);--text-primary:#f4f0e8;--text-secondary:#cac4b7;--text-muted:#948f85;--accent:#6da2ff;--accent-glow:rgba(109,162,255,0.18);--status-green:#5fd099;--status-green-bg:rgba(95,208,153,0.14);--status-amber:#e3a64d;--status-amber-bg:rgba(227,166,77,0.14);--status-red:#f07268;--status-red-bg:rgba(240,114,104,0.14);--status-muted-bg:rgba(235,231,222,0.08);--bg:#151515;--bg-elev:#20201f;--ink:#f4f0e8;--ink-2:#cac4b7;--ink-3:#948f85;--line:rgba(235,231,222,0.12);--accent-ghost:rgba(109,162,255,0.12);--accent-ink:#101110;--accent-hover:#91b9ff;--ink-hover:#ded8cd;color-scheme:dark}.admin-brand-root .portal-root[data-theme=dark],.dark .admin-brand-root{--admin-paper:#151515;--admin-paper-muted:#1d1d1c;--admin-surface:rgba(25,25,24,0.94);--admin-surface-strong:#20201f;--admin-line:rgba(235,231,222,0.10);--admin-line-strong:rgba(235,231,222,0.16);--admin-shadow:0 18px 42px rgba(0,0,0,0.30);--admin-shadow-soft:0 12px 28px rgba(0,0,0,0.22);--admin-active-bg:rgba(109,162,255,0.14);--admin-active-border:rgba(109,162,255,0.32);--admin-active-shadow:0 12px 24px rgba(109,162,255,0.10);--admin-hover-bg:rgba(235,231,222,0.065);--admin-input-bg:rgba(17,17,16,0.90);--admin-header-bg:linear-gradient(180deg,rgba(32,32,31,0.96),rgba(25,25,24,0.90)),var(--glass-surface-bg);--admin-main-gradient:linear-gradient(180deg,rgba(17,17,16,0.72),rgba(11,11,10,0.96));--admin-subtle-fill:rgba(255,255,255,0.055);--admin-subtle-fill-soft:rgba(255,255,255,0.035);--admin-divider-muted:rgba(235,231,222,0.08);--admin-dot-muted:rgba(235,231,222,0.32);--admin-inset-highlight:rgba(255,255,255,0.055);--bg-field:#101110;--bg-grad-1:transparent;--bg-grad-2:transparent;--bg-grad-3:transparent;--glass-surface-bg:var(--admin-surface);--glass-surface-blur:none;--glass-surface-shadow:var(--admin-shadow-soft);--glass-elevated-bg:rgba(19,19,18,0.94);--glass-elevated-blur:blur(18px);--glass-elevated-shadow:var(--admin-shadow);--glass-inset-bg:var(--admin-paper-muted);--glass-inset-blur:none;--glass-floating-bg:rgba(31,31,30,0.98);--glass-floating-blur:blur(16px);--glass-floating-shadow:0 22px 56px rgba(0,0,0,0.40);--border-subtle:var(--admin-line);--text-primary:#f4f0e8;--text-secondary:#cac4b7;--text-muted:#948f85;--accent:#6da2ff;--accent-glow:rgba(109,162,255,0.18);--highlight:#54d4bd;--status-green:#5fd099;--status-green-bg:rgba(95,208,153,0.14);--status-amber:#e3a64d;--status-amber-bg:rgba(227,166,77,0.14);--status-red:#f07268;--status-red-bg:rgba(240,114,104,0.14);--status-muted-bg:rgba(235,231,222,0.08);--background:40 4% 7%;--foreground:38 24% 93%;--card:40 4% 10%;--card-elevated:40 4% 13%;--card-foreground:38 24% 93%;--popover:40 4% 12%;--popover-foreground:38 24% 93%;--primary:216 100% 71%;--primary-foreground:40 4% 7%;--secondary:40 4% 15%;--secondary-foreground:38 24% 93%;--muted:40 4% 15%;--muted-foreground:37 8% 55%;--destructive:4 82% 67%;--destructive-foreground:40 4% 7%;--border:40 6% 20%;--input:40 6% 20%;--ring:216 100% 71%}.admin-brand-root{color:var(--text-primary);font-family:var(--admin-font-sans)}.admin-brand-root .font-mono{font-family:var(--admin-font-mono)!important;font-variant-numeric:tabular-nums}.admin-brand-root .mesh-bg{display:none}.admin-brand-root .noise-overlay{opacity:.018;mix-blend-mode:multiply}.admin-brand-root aside{box-shadow:inset 1px 0 0 rgba(255,255,255,.65)}.dark .admin-brand-root aside{box-shadow:inset 1px 0 0 rgba(255,255,255,.055)}.admin-brand-root aside nav a{border-radius:8px;font-family:var(--admin-font-sans);font-size:12px;letter-spacing:0}.admin-brand-root main{background:var(--admin-main-gradient),var(--bg-field)}.admin-brand-root .admin-page-pad{padding:28px}.admin-brand-root .admin-page-kicker,.admin-brand-root .section-title,.admin-brand-root .status,.admin-brand-root .topbar-badge,.admin-brand-root .vla-card-title,.admin-brand-root .vla-eyebrow,.admin-brand-root .vla-section-title{font-family:var(--admin-font-mono)!important;letter-spacing:.13em!important;text-transform:uppercase!important}.admin-brand-root .admin-page-kicker{margin-bottom:8px;color:var(--text-muted);font-size:10px;font-weight:600}.admin-brand-root .vla-edit-field span,.admin-brand-root .vla-label,.admin-brand-root .vla-select-wrap{font-family:var(--admin-font-mono)!important;text-transform:uppercase!important}.admin-brand-root .admin-brand-title{margin:0;color:var(--text-primary);font-family:var(--admin-font-display);font-size:clamp(28px,3vw,42px);font-style:italic;font-weight:400;line-height:1.05;letter-spacing:0}.admin-brand-root .admin-brand-subtitle{margin-top:8px;max-width:720px;color:var(--text-secondary);font-family:var(--admin-font-sans);font-size:13px;line-height:1.55}.admin-brand-root .section-title{border-bottom:0!important;color:var(--text-muted)!important;display:inline-flex!important;font-size:10px!important;font-weight:600!important;margin:0 0 10px!important;padding:0!important}.admin-brand-root h1.section-title{color:var(--text-primary)!important;display:block!important;font-family:var(--admin-font-display)!important;font-size:clamp(28px,3vw,42px)!important;font-style:italic!important;font-weight:400!important;letter-spacing:0!important;line-height:1.05!important;margin:0!important;text-transform:none!important}.admin-brand-root .data-table-wrap,.admin-brand-root .glass-elevated,.admin-brand-root .glass-surface{border-color:var(--admin-line);border-radius:8px;box-shadow:var(--admin-shadow-soft)}.admin-brand-root :where(.rounded-md,.rounded-lg,.rounded-xl,.rounded-2xl){border-radius:8px}.admin-brand-root :where(.shadow,.shadow-lg,.shadow-xl,.shadow-2xl){box-shadow:var(--admin-shadow-soft)!important}.admin-brand-root :where(.bg-card,.bg-card\/50,.bg-background){background-color:var(--admin-surface)!important}.admin-brand-root :where(.bg-muted,.bg-muted\/30,.bg-muted\/50){background-color:var(--admin-paper-muted)!important}.dark .admin-brand-root :where(.bg-white,.bg-slate-50,.bg-gray-50,.bg-gray-100){background-color:var(--admin-surface)!important}.dark .admin-brand-root :where(.border-slate-200,.border-gray-100,.border-gray-200,.border-gray-300){border-color:var(--admin-line)!important}.dark .admin-brand-root :where(.text-slate-900,.text-slate-800,.text-gray-900,.text-gray-800){color:var(--text-primary)!important}.dark .admin-brand-root :where(.text-slate-700,.text-gray-700,.text-gray-600){color:var(--text-secondary)!important}.dark .admin-brand-root :where(.text-slate-500,.text-slate-400,.text-gray-500,.text-gray-400,.text-gray-300){color:var(--text-muted)!important}.admin-brand-root :where(.border-border,.border-input){border-color:var(--admin-line)!important}.admin-brand-root :where(.text-vl-blue-500,.text-vl-blue-600){color:var(--accent)!important}.admin-brand-root :where(.bg-vl-blue-500,.hover\:bg-vl-blue-600:hover){background-color:var(--accent)!important}.admin-brand-root :where(.bg-vl-blue-500\/5,.bg-vl-blue-500\/10,.bg-vl-blue-500\/20){background-color:var(--admin-active-bg)!important}.admin-brand-root :where(.border-vl-blue-500\/20,.border-vl-blue-500\/30){border-color:var(--admin-active-border)!important}.admin-brand-root :where(.focus\:border-vl-blue-500:focus,.focus\:ring-vl-blue-500\/20:focus){border-color:rgba(49,92,246,.34)!important;box-shadow:0 0 0 3px rgba(49,92,246,.08)!important}.admin-brand-root :where(.backdrop-blur-sm,.backdrop-blur-xl){backdrop-filter:none!important;-webkit-backdrop-filter:none!important}.admin-brand-root :where(input,select,textarea){background-color:var(--admin-input-bg)!important;border-color:var(--admin-line)!important;border-radius:8px!important;color:var(--text-primary)!important}.admin-brand-root .text-muted-foreground.uppercase{font-family:var(--admin-font-mono);letter-spacing:.12em}.admin-brand-root .glass-pipeline-row{box-shadow:0 1px 0 var(--admin-inset-highlight) inset}.admin-brand-root .glass-pipeline-row:hover{background:rgba(49,92,246,.045)!important;border-color:var(--admin-active-border)!important;box-shadow:var(--admin-active-shadow)}.admin-brand-root .admin-dashboard-action{min-width:0}.admin-brand-root .admin-dashboard-action-icon{flex:0 0 auto}.admin-brand-root .admin-dashboard-action-description,.admin-brand-root .admin-dashboard-action-title{overflow-wrap:anywhere}.admin-brand-root label,.admin-modal-root label{font-family:var(--admin-font-sans)}.admin-brand-root input,.admin-brand-root select,.admin-brand-root textarea,.admin-modal-root input,.admin-modal-root select,.admin-modal-root textarea{font-family:var(--admin-font-sans);text-transform:none;caret-color:var(--accent)}.admin-brand-root input:focus,.admin-brand-root select:focus,.admin-brand-root textarea:focus{border-color:rgba(49,92,246,.34)!important;box-shadow:0 0 0 3px rgba(49,92,246,.08)!important}.admin-brand-root a,.admin-brand-root button{text-underline-offset:3px}.admin-brand-root .status,.admin-brand-root .topbar-badge{border-radius:6px;font-size:9px;font-weight:600}.admin-brand-root .fee-section-header td,.admin-brand-root table.data-table thead th{background:var(--admin-paper-muted)!important;color:var(--text-muted)!important;font-family:var(--admin-font-mono)!important;letter-spacing:.12em}.admin-brand-root .fee-subtotal td,.admin-brand-root table.data-table tbody tr:nth-child(2n){background:var(--admin-subtle-fill-soft)!important}.admin-brand-root .admin-loan-page{display:grid;gap:16px}.admin-brand-root .admin-loan-hero{position:relative;overflow:hidden;border:1px solid var(--admin-line);border-radius:8px;background:var(--admin-surface);box-shadow:var(--admin-shadow-soft);padding:24px}.admin-brand-root .admin-loan-hero:before{content:"";position:absolute;top:0;right:0;left:0;height:3px;background:linear-gradient(90deg,var(--status-green),var(--accent),var(--highlight))}.admin-brand-root .admin-loan-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.admin-brand-root .admin-loan-title-row>div{min-width:0}.admin-brand-root .admin-loan-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:22px;overflow:hidden;border:1px solid var(--admin-line);border-radius:8px;background:var(--admin-subtle-fill)}.admin-brand-root .admin-loan-summary-card{min-width:0;padding:14px 16px}.admin-brand-root .admin-loan-summary-card+.admin-loan-summary-card{border-left:1px solid var(--admin-line)}.admin-brand-root .admin-loan-count-badge,.admin-brand-root .admin-loan-date,.admin-brand-root .admin-loan-filter-label,.admin-brand-root .admin-loan-metric-label,.admin-brand-root .admin-loan-row-index,.admin-brand-root .admin-loan-summary-label{font-family:var(--admin-font-mono);letter-spacing:.12em;text-transform:uppercase}.admin-brand-root .admin-loan-summary-label{color:var(--text-muted);font-size:9px;font-weight:600}.admin-brand-root .admin-loan-summary-value{margin-top:5px;color:var(--text-primary);font-family:var(--admin-font-mono);font-size:22px;font-weight:700;letter-spacing:0;line-height:1}.admin-brand-root .admin-loan-toolbar{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;border:1px solid var(--admin-line);border-radius:8px;background:var(--admin-surface);box-shadow:var(--admin-shadow-soft);padding:12px}.admin-brand-root .admin-loan-search{position:relative;flex:1 1 260px;min-width:220px}.admin-brand-root .admin-loan-filter{display:grid;gap:5px;min-width:150px}.admin-brand-root .admin-loan-filter-label{color:var(--text-muted);font-size:9px;font-weight:600}.admin-brand-root .admin-loan-control{width:100%;min-height:36px;border:1px solid var(--admin-line);border-radius:8px;background-color:var(--admin-input-bg);color:var(--text-primary);font-family:var(--admin-font-sans);font-size:12px;font-weight:600;outline:none}.admin-brand-root .admin-loan-control.search{padding:8px 12px 8px 32px}.admin-brand-root select.admin-loan-control{appearance:none;padding:8px 32px 8px 12px;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%2385838b' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em}.admin-brand-root .admin-loan-count-badge{align-self:center;border:1px solid var(--admin-line);border-radius:6px;background:var(--admin-paper-muted);color:var(--text-muted);font-size:9px;font-weight:600;padding:7px 9px;white-space:nowrap}.admin-brand-root .admin-loan-list{display:grid;gap:8px}.admin-brand-root .admin-loan-row-link{display:block;min-width:0;color:inherit;text-decoration:none}.admin-brand-root .admin-loan-row{display:grid;grid-template-columns:42px minmax(0,1fr) minmax(235px,auto);gap:16px;align-items:center;border:1px solid var(--admin-line);border-radius:8px;background:var(--admin-surface);box-shadow:var(--admin-shadow-soft);cursor:pointer;padding:14px 16px;transition:background .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease}.admin-brand-root .admin-loan-row:hover{transform:translateY(-1px)}.admin-brand-root .admin-loan-row-index{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border:1px solid var(--admin-line);border-radius:8px;background:var(--admin-paper-muted);color:var(--text-muted);font-size:9px;font-weight:700}.admin-brand-root .admin-loan-row-main{min-width:0}.admin-brand-root .admin-loan-row-details,.admin-brand-root .admin-loan-row-meta,.admin-brand-root .admin-loan-row-title-line,.admin-brand-root .admin-loan-side{display:flex;align-items:center}.admin-brand-root .admin-loan-row-title-line{gap:10px;min-width:0}.admin-brand-root .admin-loan-row-title{min-width:0;margin:0;overflow:hidden;overflow-wrap:anywhere;color:var(--text-primary);font-family:var(--admin-font-display);font-size:21px;font-style:italic;font-weight:400;letter-spacing:0;line-height:1.12;text-overflow:ellipsis;white-space:nowrap}.admin-brand-root .admin-loan-row-details,.admin-brand-root .admin-loan-row-meta{flex-wrap:wrap;gap:7px;margin-top:6px;color:var(--text-muted);font-size:11px}.admin-brand-root .admin-loan-row-meta strong{color:var(--text-secondary);font-weight:700}.admin-brand-root .admin-loan-row-details span,.admin-brand-root .admin-loan-row-details strong,.admin-brand-root .admin-loan-row-meta span,.admin-brand-root .admin-loan-row-meta strong{min-width:0;overflow-wrap:anywhere;word-break:break-word}.admin-brand-root .admin-loan-dot{color:var(--admin-dot-muted)}.admin-brand-root .admin-loan-metric-strip{display:grid;grid-template-columns:repeat(3,minmax(64px,1fr));gap:6px;min-width:220px}.admin-brand-root .admin-loan-metric{min-width:0;border:1px solid var(--admin-line);border-radius:8px;background:var(--admin-subtle-fill);padding:7px 8px}.admin-brand-root .admin-loan-metric-label{display:block;color:var(--text-muted);font-size:8px;font-weight:600}.admin-brand-root .admin-loan-metric-value{display:block;margin-top:3px;color:var(--text-primary);font-family:var(--admin-font-mono);font-size:11px;font-weight:700;letter-spacing:0;white-space:nowrap}.admin-brand-root .admin-loan-side{justify-content:flex-end;gap:12px}.admin-brand-root .admin-loan-date-stack{display:grid;gap:3px;min-width:72px;text-align:right}.admin-brand-root .admin-loan-date{color:var(--text-muted);font-size:9px;font-weight:600}.admin-brand-root .admin-loan-date.emphasis{color:var(--status-amber)}.admin-brand-root .admin-loan-empty{border:1px solid var(--admin-line);border-radius:8px;background:var(--admin-surface);box-shadow:var(--admin-shadow-soft);padding:48px;text-align:center}.admin-brand-root .admin-loan-empty p{margin:0;color:var(--text-muted);font-size:13px}@media (max-width:820px){.admin-brand-root .admin-page-pad{padding:18px}.admin-brand-root .admin-brand-title{font-size:30px}.admin-brand-root .admin-loan-title-row{display:grid}.admin-brand-root .admin-loan-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-brand-root .admin-loan-summary-card+.admin-loan-summary-card{border-left:0}.admin-brand-root .admin-loan-summary-card:nth-child(odd){border-right:1px solid var(--admin-line)}.admin-brand-root .admin-loan-summary-card:nth-child(n+3){border-top:1px solid var(--admin-line)}.admin-brand-root .admin-loan-toolbar{align-items:stretch}.admin-brand-root .admin-loan-filter,.admin-brand-root .admin-loan-search{min-width:100%}.admin-brand-root .admin-loan-row{grid-template-columns:1fr;gap:12px}.admin-brand-root .admin-loan-row-index{display:none}.admin-brand-root .admin-loan-row-title-line{align-items:flex-start;flex-wrap:wrap}.admin-brand-root .admin-loan-row-title{white-space:normal}.admin-brand-root .admin-loan-side{align-items:stretch;flex-direction:column}.admin-brand-root .admin-loan-metric-strip{grid-template-columns:repeat(3,minmax(0,1fr));min-width:0}.admin-brand-root .admin-loan-date-stack{min-width:0;text-align:left}}@media (max-width:640px){.admin-brand-root .admin-dashboard-action{align-items:flex-start!important;gap:12px!important;padding:16px!important}.admin-brand-root .admin-dashboard-action>svg{flex:0 0 auto;margin-top:2px}.admin-brand-root .admin-loan-hero{padding:18px}.admin-brand-root .admin-loan-summary-card{padding:12px}.admin-brand-root .admin-loan-toolbar{gap:10px;padding:10px}.admin-brand-root .admin-loan-count-badge{width:100%;text-align:center}.admin-brand-root .admin-loan-row{padding:12px}.admin-brand-root .admin-loan-metric-strip{gap:4px}.admin-brand-root .admin-loan-metric{padding:6px}}