@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/2c55a0e60120577a-s.0bjc5tiuqdqro.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/9c72aa0f40e4eef8-s.0m6w47a4e5dy9.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/ad66f9afd8947f86-s.11u06r12fd6v_.woff2)format("woff2");unicode-range:U+1F??}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/5476f68d60460930-s.0wxq9webf.ew4.woff2)format("woff2");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/2bbe8d2671613f1f-s.067x_6k0k23tk.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/1bffadaabf893a1e-s.16ipb6fqu393i.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter Fallback;src:local(Arial);ascent-override:90.44%;descent-override:22.52%;line-gap-override:0.0%;size-adjust:107.12%}.inter_fa93af41-module__0D_jrq__className{font-family:Inter,Inter Fallback;font-style:normal}
:root{--bg:#f1f4f9;--surface:#fffffffa;--surface-strong:#fff;--text:#000;--muted:#6b7a90;--line:#0f172a12;--accent:#06b6d4;--accent-dark:#0891b2;--navy:#0d1a2d;--navy-soft:#14233b;--danger:#dc2626;--success:#10b981;--radius:14px;--shadow:0 6px 18px #0f172a0d;--panel:#fff;--panel-soft:#f4f6fa;--glass:#0f172a08;--glass-strong:#0f172a0d;--body-gradient:linear-gradient(180deg, #fff 0%, var(--bg) 55%, #eaeef5 100%);--shadow-card:0 1px 3px #0f172a0a;--shadow-elev:0 10px 30px #0f172a1a;--topbar-shine:#06b6d40f;--header-height:72px;--sidebar-bg:#ece6fb;--sidebar-bg-soft:#fff;--sidebar-text:#5e4680;--sidebar-muted:#8a73ad;--sidebar-line:#5e468024;--sidebar-active-bg:#5e4680;--sidebar-active-text:#ece6fb;--sidebar-active-accent:#5e4680;--sidebar-heading-bg:#5e4680;--sidebar-heading-text:#ece6fb}:root[data-theme=dark]{--bg:#0f172a;--surface:#0f172ab8;--surface-strong:#1e293bc2;--text:#fff;--muted:#94a3b8;--line:#ffffff1a;--accent:#3b82f6;--accent-dark:#2563eb;--danger:#f87171;--success:#38bdf8;--shadow:0 24px 60px #02061773;--panel:#0f172a;--panel-soft:#1e293b;--glass:#ffffff0a;--glass-strong:#ffffff0f;--body-gradient:linear-gradient(180deg, #0b1120 0%, var(--bg) 55%, #111827 100%);--shadow-card:0 12px 32px #02061747;--shadow-elev:0 18px 40px #02061780;--topbar-shine:#3b82f61f;--sidebar-bg:#ece6fb;--sidebar-bg-soft:#fff;--sidebar-text:#5e4680;--sidebar-muted:#8a73ad;--sidebar-line:#5e46802e;--sidebar-active-bg:#5e4680;--sidebar-active-text:#ece6fb;--sidebar-active-accent:#5e4680;--sidebar-heading-bg:#5e4680;--sidebar-heading-text:#ece6fb}*{box-sizing:border-box}html{scroll-behavior:smooth}body{color:var(--text);background:var(--bg);margin:0;font-family:Inter,sans-serif}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}.shell{min-width:0;padding:28px 28px 48px}.appShell{min-height:100vh}.topbar{z-index:20;height:var(--header-height);border-bottom:1px solid var(--line);background:var(--panel);color:var(--text);box-shadow:none;box-sizing:border-box;justify-content:space-between;align-items:center;gap:20px;padding:0 28px;display:flex;position:sticky;top:0}.brandBlock{align-items:center;gap:14px;display:flex}.brandBlock p,.profileChip small{color:var(--muted);margin:0}.topbar .brandBlock p,.topbar .profileChip small,.topbar .contactLink{color:var(--muted)}.brandMark,.profileAvatar{background:linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);color:#eff6ff;border-radius:14px;place-items:center;width:48px;height:48px;font-size:1.35rem;font-weight:700;display:grid;box-shadow:inset 0 1px #ffffff2e,0 10px 24px #06b6d452}.topMenu,.headerMeta{align-items:center;gap:16px;display:flex}.themeToggle{border:1px solid var(--line);background:var(--glass-strong);width:40px;height:40px;color:var(--text);border-radius:12px;place-items:center;transition:background-color .2s,border-color .2s,transform .2s,color .2s;display:inline-grid}.themeToggle:hover{color:var(--accent-dark);background:#3b82f624;border-color:#3b82f65c;transform:translateY(-1px)}.themeToggle svg{width:18px;height:18px}.spacer{flex:1;justify-content:center;padding:0 24px;display:flex}.headerSearch{width:100%;max-width:420px;position:relative}.headerSearchIcon{width:18px;height:18px;color:var(--muted);pointer-events:none;position:absolute;top:50%;left:14px;transform:translateY(-50%)}.headerSearchInput{border:1px solid var(--line);background:var(--glass);width:100%;color:var(--text);border-radius:12px;padding:10px 14px 10px 42px;font-size:.92rem;transition:background-color .2s,border-color .2s,box-shadow .2s}.headerSearchInput::placeholder{color:var(--muted)}.headerSearchInput:hover{background:#06b6d40f;border-color:#06b6d45c}.headerSearchInput:focus{background:#06b6d414;border-color:#06b6d48c;outline:none;box-shadow:0 0 0 3px #06b6d429}.headerSearchInput:focus+.headerSearchIcon,.headerSearch:focus-within .headerSearchIcon{color:var(--accent-dark)}.headerSearchResults{z-index:30;border:1px solid var(--line);background:var(--panel);max-height:60vh;box-shadow:var(--shadow-elev);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-radius:14px;gap:6px;padding:8px;display:grid;position:absolute;top:calc(100% + 8px);left:0;right:0;overflow-y:auto}.headerSearchEmpty{color:var(--muted);text-align:center;padding:14px 16px;font-size:.9rem}.headerSearchItem{background:var(--glass-strong);color:var(--text);text-align:left;cursor:pointer;border:1px solid #0000;border-radius:10px;gap:6px;padding:12px 14px;transition:background-color .15s,border-color .15s,transform .15s;display:grid}.headerSearchItem:hover,.headerSearchItem:focus-visible{background:#3b82f624;border-color:#3b82f65c;outline:none;transform:translateY(-1px)}.headerSearchItemTop{justify-content:space-between;align-items:center;gap:12px;display:flex}.headerSearchItemTop strong{font-size:.98rem;font-weight:700}.headerSearchItemMeta{color:var(--muted);flex-wrap:wrap;gap:4px 14px;font-size:.85rem;display:flex}.headerSearchItemFoot{flex-wrap:wrap;gap:4px 14px;font-size:.78rem;display:flex}.topMenu{flex-wrap:wrap;justify-content:center}.topMenu a,.sidebarNav a,.contactLink,.profileChip{border:1px solid var(--line);border-radius:12px;padding:10px 14px;transition:background-color .2s,border-color .2s,color .2s,transform .2s}.topMenu a:hover,.contactLink:hover,.profileChip:hover{background:#06b6d41a;border-color:#06b6d452;transform:translateY(-1px)}.topMenu .isActive{color:var(--accent-dark);background:#06b6d41a;border-color:#06b6d466}.contactLink{color:var(--accent-dark);background:var(--glass-strong);font-weight:700}.profileMenuWrap{position:relative}.profileChip{color:var(--text);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:999px;align-items:center;gap:10px;padding:6px 12px 6px 6px;display:flex}.profileChip:hover{background:#5e46800f;border-color:#5e46801f;transform:none}.profileChipAvatar{color:#5e4680;letter-spacing:.02em;background:#ece6fb;border-radius:50%;flex-shrink:0;place-items:center;width:38px;height:38px;font-size:.85rem;font-weight:700;display:grid}.profileChipMeta{flex-direction:column;line-height:1.15;display:flex}.profileChipMeta strong{color:var(--text);font-size:.92rem;font-weight:700}.profileChipMeta span{color:var(--muted);font-size:.78rem}.notifBell{border:1px solid var(--line);color:#000;cursor:pointer;background:0 0;border-radius:50%;place-items:center;width:40px;height:40px;transition:background-color .15s,border-color .15s;display:inline-grid;position:relative}.notifBell:hover{background:#5e46800f;border-color:#5e46802e}.notifBadge{color:#fff;background:#ef4444;border-radius:999px;justify-content:center;align-items:center;min-width:20px;height:20px;padding:0 5px;font-size:.7rem;font-weight:700;display:inline-flex;position:absolute;top:-4px;right:-4px;box-shadow:0 0 0 2px #fff}.profileMenu{z-index:40;background:#fff;border:1px solid #5e46801f;border-radius:14px;flex-direction:column;gap:8px;width:280px;padding:14px;animation:.15s ease-out profileMenuPop;display:flex;position:absolute;top:calc(100% + 12px);right:0;box-shadow:0 18px 40px #0f172a1f,0 4px 12px #0f172a0a}@keyframes profileMenuPop{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.profileMenuHeader{border-bottom:1px solid #5e46801a;align-items:center;gap:12px;padding:6px 6px 14px;display:flex}.profileMenuAvatar{color:#5e4680;background:#ece6fb;border-radius:50%;flex-shrink:0;place-items:center;width:42px;height:42px;font-size:.92rem;font-weight:700;display:grid}.profileMenuHeaderMeta{flex-direction:column;min-width:0;display:flex}.profileMenuHeaderMeta strong{color:var(--text);font-size:.95rem;font-weight:700;line-height:1.2}.profileMenuHeaderMeta span{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:.78rem;overflow:hidden}.profileMenuList{flex-direction:column;gap:2px;display:flex}.profileMenuItem{color:#000;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:12px;width:100%;padding:10px 12px;font-size:.9rem;font-weight:500;transition:background-color .15s;display:flex}.profileMenuItem svg{color:#000;flex-shrink:0}.profileMenuItem:hover{background:#5e468012}.profileMenuItem.isActive{color:#000;background:#ece6fb;font-weight:600}.profileMenuDivider{background:#5e46801a;height:1px;margin:4px 0}.profileMenuSignOut{font-weight:600}.workspaceFrame{grid-template-columns:240px minmax(0,1fr);gap:0;min-height:100vh;display:grid}.rightColumn{flex-direction:column;min-width:0;display:flex}.sidebar{border-right:1px solid var(--line);min-height:100vh;color:var(--sidebar-text);background:#fff;flex-direction:column;align-self:start;gap:18px;padding:18px 14px;display:flex;position:sticky;top:0}.sidebarBrand{height:var(--header-height);border-bottom:1px solid var(--line);box-sizing:border-box;background:#fff;flex-shrink:0;align-items:center;gap:12px;margin:-18px -14px 0;padding:0 20px;display:flex}.sidebarBrandMark{color:#ece6fb;background:#5e4680;border-radius:50%;flex-shrink:0;place-items:center;width:42px;height:42px;display:grid;box-shadow:0 4px 12px #5e468040}.sidebarBrand strong{color:#000;letter-spacing:-.01em;font-size:1.05rem;font-weight:700;display:block}.sidebarBrand span{color:#000;opacity:.6;letter-spacing:.06em;text-transform:uppercase;margin-top:2px;font-size:.72rem;display:block}.sidebarLabel{color:#5e4680;letter-spacing:.08em;text-transform:uppercase;cursor:pointer;text-align:left;background:#f3f1f6;border:0;border-radius:8px;justify-content:space-between;align-items:center;width:100%;margin:0 0 6px;padding:10px 14px;font-size:.72rem;font-weight:700;transition:background-color .15s;display:flex}.sidebarLabel:hover{background:#e9e4f3}.sidebarLabel.isActiveGroup{color:#ece6fb;background:#5e4680}.sidebarLabel.isActiveGroup:hover{background:#523c70}.sidebarLabelChevron{opacity:.85;flex-shrink:0;transition:transform .2s}.sidebarLabel.isCollapsed .sidebarLabelChevron{transform:rotate(-90deg)}.sidebarNav{flex-direction:column;flex:1;gap:14px;display:flex}.sidebarGroup{flex-direction:column;display:flex}.sidebarGroupItems{flex-direction:column;gap:2px;padding:4px 0;display:flex}.sidebarNav a{color:#000;background:0 0;border:0;border-radius:8px;align-items:center;gap:12px;padding:9px 14px;font-size:.9rem;font-weight:500;transition:background-color .15s,color .15s;display:flex;position:relative}.sidebarItemIcon{color:#000;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.sidebarNav a:hover{color:#000;background:#5e468014;transform:none}.sidebarNav .isActive{color:#000;background:#ece6fb;font-weight:600}.sidebarNav .isActive:hover{color:#000;background:#ece6fb}.sidebarNav .isActive:before{display:none}.sidebarCard{color:#5e4680;background:#faf8ff;border:1px solid #5e468024;border-radius:12px;align-items:center;gap:10px;margin-top:auto;padding:12px;font-size:.85rem;display:flex}.sidebarCardAvatar{color:#5e4680;background:#ece6fb;border-radius:50%;flex-shrink:0;place-items:center;width:36px;height:36px;display:grid}.sidebarCardContent{flex-direction:column;gap:2px;min-width:0;display:flex}.sidebarCard strong{color:#000;font-size:.92rem;font-weight:700}.sidebarCard .muted{color:#0009;font-size:.72rem}.sidebarCard .badge{color:#5e4680;letter-spacing:.02em;text-transform:none;background:#ece6fb;border-radius:999px;align-self:flex-start;align-items:center;gap:4px;margin-top:2px;padding:2px 8px;font-size:.7rem;font-weight:600;display:inline-flex}.topbarTitleBlock{flex-direction:column;gap:2px;display:flex}.topbarTitleBlock strong{letter-spacing:-.01em;color:var(--text);font-size:1.1rem}.topbarTitleBlock p{color:var(--muted);margin:0;font-size:.82rem}.authShell{align-items:center;width:min(1200px,100% - 32px);min-height:100vh;margin:0 auto;padding:32px 0;display:grid}.authLayout{grid-template-columns:1.15fr .85fr;align-items:stretch;gap:24px;display:grid}.authIntro,.authCard{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);padding:28px}.authIntro{align-content:center;gap:18px;display:grid}.authIntro h1{letter-spacing:-.04em;max-width:10ch;margin:0;font-size:clamp(2.8rem,6vw,5.2rem);line-height:1.02}.authHighlights{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.authHighlights article{border:1px solid var(--line);background:var(--glass);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:14px;padding:18px}.authHighlights p{color:var(--muted);margin:6px 0 0}.authCard{align-content:center;display:grid}.authForm{gap:14px;display:grid}.authForm label{gap:8px;display:grid}.authForm input,.authForm select{border:1px solid var(--line);background:var(--glass);width:100%;color:var(--text);border-radius:12px;padding:12px 14px}.authForm input::placeholder,.referralForm input::placeholder,.referralForm textarea::placeholder,.toolbar input::placeholder{color:#7f90a9}.authError{color:var(--danger);margin:0}.authSubmit{background:var(--navy);color:#fff;border:0;border-radius:10px;padding:12px 18px;transition:background-color .2s;box-shadow:0 8px 18px #0d1a2d38}.authSubmit:hover{background:var(--navy-soft)}.hero,.contentGrid,.metrics{gap:20px;display:grid}.dashboardIntro{margin-bottom:24px}.dashboardIntro h1{margin:0 0 8px}.dashboardMeta{color:var(--muted);flex-wrap:wrap;align-items:center;gap:10px;margin-top:14px;display:flex}.simpleMetrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin-bottom:24px;display:grid}.referenceHeader{justify-content:space-between;align-items:start;gap:16px;margin-bottom:24px;display:flex}.referenceHeader h1{letter-spacing:-.02em;color:var(--text);margin:0 0 4px;font-size:1.6rem;font-weight:700}.referenceHeader p{color:var(--muted);margin:0;font-size:.92rem}.referenceRefresh{background:var(--navy);color:#fff;border:0;border-radius:8px;padding:9px 18px;font-size:.88rem;font-weight:600;transition:background-color .2s;box-shadow:0 6px 14px #1c25412e}.referenceRefresh:hover{background:var(--navy-soft)}.referenceCards{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;margin-bottom:22px;display:grid}.referenceCard{border:1px solid var(--line);background:var(--panel);border-radius:12px;gap:6px;padding:16px 18px;display:grid;box-shadow:0 1px 3px #0f172a0a}.referenceCard strong{color:var(--text);font-size:1.45rem;font-weight:700}.referenceCard span:first-of-type,.referenceCard span{color:var(--muted);letter-spacing:.02em;font-size:.78rem}.referenceCardIcon{color:#fff;background:linear-gradient(135deg,#06b6d4 0%,#0891b2 100%);border-radius:8px;place-items:center;width:32px;height:32px;margin-bottom:2px;font-size:.9rem;display:grid;box-shadow:0 4px 10px #06b6d438}.referenceCard:nth-child(2) .referenceCardIcon{background:linear-gradient(135deg,#f59e0b 0%,#d97706 100%);box-shadow:0 4px 10px #f59e0b40}.referenceCard:nth-child(3) .referenceCardIcon{background:linear-gradient(135deg,#8b5cf6 0%,#6d28d9 100%);box-shadow:0 4px 10px #8b5cf640}.referenceCard:nth-child(4) .referenceCardIcon{background:linear-gradient(135deg,#10b981 0%,#047857 100%);box-shadow:0 4px 10px #10b98140}.referenceCard:nth-child(5) .referenceCardIcon{background:linear-gradient(135deg,#ec4899 0%,#be185d 100%);box-shadow:0 4px 10px #ec489940}.referenceCard span{color:var(--muted)}.referenceCard strong{letter-spacing:-.03em;font-size:1.2rem}.referenceCard small{color:var(--muted);font-size:.92rem}.referenceSearchRow{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;display:flex}.referenceSearchRow input{border:1px solid var(--line);background:var(--glass);width:min(380px,100%);color:var(--text);border-radius:14px;padding:14px 16px;box-shadow:inset 0 1px 2px #0f172a0a}.referenceFilter{border:1px solid var(--line);background:var(--glass);border-radius:14px;align-items:center;gap:8px;padding:6px 14px 6px 16px;display:inline-flex}.referenceFilterLabel{color:var(--muted);font-size:.88rem;font-weight:600}.referenceFilter select{color:var(--text);cursor:pointer;background:0 0;border:0;outline:none;padding:8px 4px;font-weight:600}.referenceFilter:focus-within{border-color:#06b6d48c;box-shadow:0 0 0 3px #06b6d429}.referredEntitiesPanel{padding:0;overflow:hidden}.entitiesTable th{color:var(--text);background:var(--glass-strong);font-weight:700}.entitiesTable td{background:0 0}.emptyEntities{min-height:190px;color:var(--muted);align-content:center;justify-items:center;gap:10px;display:grid}.emptyEntitiesIcon{opacity:.45;font-size:2.4rem}.hero{grid-template-columns:1.4fr .9fr;align-items:start;margin-bottom:24px}.hero h1,.panel h2{margin:0;line-height:1.05}.hero h1{letter-spacing:-.04em;max-width:12ch;font-size:clamp(2.7rem,5vw,4.9rem)}.eyebrow{letter-spacing:.16em;text-transform:uppercase;color:var(--accent-dark);margin:0 0 10px;font-size:.75rem;font-weight:700}.lede,.muted,td span,.agentCard p,.commissionCard p{color:var(--muted)}.heroPanel,.metricCard,.panel{background:var(--surface-strong);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.heroPanel,.panel,.metricCard{padding:20px}.segmented{background:var(--glass-strong);border:1px solid var(--line);border-radius:999px;gap:8px;padding:6px;display:flex}.segmented button,.toolbar button,.formActions button,.actions button{background:var(--navy);color:#fff;border:0;border-radius:10px;padding:10px 18px;transition:background-color .2s,transform .2s;box-shadow:0 8px 18px #1c254138}.formActions button:hover,.actions button:hover{background:var(--navy-soft)}.segmented button{width:100%;color:var(--muted);box-shadow:none;background:0 0}.segmented .active{background:var(--accent-dark);color:#fff}.loginCard{background:linear-gradient(135deg, #3b82f61f, #2563eb0f), var(--panel);border:1px solid var(--line);border-radius:14px;gap:6px;padding:18px;display:grid}.metrics{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:24px}.metricCard{gap:10px;display:grid;position:relative;overflow:hidden}.metricCard span{color:var(--muted);text-transform:uppercase;letter-spacing:.08em;font-size:.74rem}.metricCard strong{letter-spacing:-.04em;font-size:2rem}.contentGrid{margin-bottom:24px}.panel{gap:50px;margin-bottom:24px}.panelHeader{justify-content:space-between;align-items:start;gap:16px;margin-bottom:18px;display:flex}.panelHeader1{grid-template-columns:repeat(2,minmax(0,1fr));gap:50px;display:grid}.panelTitle{padding-bottom:25px}.controls{align-items:center}.chart{justify-content:space-around;align-items:end;gap:18px;height:250px;padding:12px 8px 0;display:flex}.pieSection{grid-template-columns:220px 1fr;align-items:center;gap:24px;display:grid}.pieChartWrap{justify-content:center;display:grid}.pieChart{border-radius:50%;place-items:center;width:190px;height:190px;display:grid}.pieChartInner{background:var(--panel);border:1px solid var(--line);text-align:center;border-radius:50%;place-items:center;width:108px;height:108px;display:grid;box-shadow:inset 0 1px 3px #0f172a0a}.pieChartInner strong,.pieChartInner span{display:block}.pieChartInner strong{letter-spacing:-.04em;font-size:1.7rem}.pieChartInner span{color:var(--muted);font-size:.82rem}.pieLegend{gap:12px;display:grid}.pieLegendItem{border:1px solid var(--line);background:var(--glass-strong);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:12px;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;display:flex}.pieLegendLabel{color:var(--text);align-items:center;gap:10px;display:flex}.pieLegendDot{border-radius:50%;width:10px;height:10px}.pieLegendDot.pending{background:#60a5fa}.pieLegendDot.approved{background:#3b82f6}.pieLegendDot.rejected{background:#f87171}.pieLegendDot.paid{background:#38bdf8}.pieLegendDot.scheduled{background:#2563eb}.pieLegendDot.unpaid{background:#f87171}.pieLegendDot.reseller{background:#3b82f6}.pieLegendDot.customer{background:#38bdf8}.commissionPieSection{margin-bottom:18px}.barGroup{justify-items:center;gap:8px;width:100%;display:grid}.bar{background:var(--accent);border-radius:18px 18px 8px 8px;width:min(90px,100%)}.bar.pending{background:linear-gradient(#60a5fa,#2563eb)}.bar.approved{background:linear-gradient(#93c5fd,#3b82f6)}.bar.rejected{background:linear-gradient(#fca5a5,#f87171)}.referralForm,.commissionList{gap:14px;display:grid}.referralForm label{gap:8px;display:grid}.referralForm input,.referralForm textarea,.toolbar input,.toolbar select{border:1px solid var(--line);background:var(--glass);width:100%;color:var(--text);border-radius:12px;padding:12px 14px}.referralForm small{color:var(--danger)}.formActions,.toolbar,.actions{flex-wrap:wrap;gap:10px;display:flex}.ghost{background:var(--glass-strong)!important;color:var(--text)!important;border:1px solid var(--line)!important;box-shadow:none!important}.commissionCard,.agentCard{background:var(--glass);border:1px solid var(--line);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:14px;justify-content:space-between;align-items:center;gap:12px;padding:16px 18px;display:flex}.tableWrap{overflow-x:auto}table{border-collapse:collapse;width:100%}th,td{text-align:left;border-bottom:1px solid var(--line);vertical-align:middle;padding:14px 12px}td strong,.agentCard h3,.commissionCard strong{margin-bottom:4px;display:block}.badge{text-transform:capitalize;background:var(--glass-strong);border-radius:999px;align-items:center;padding:6px 10px;font-size:.85rem;display:inline-flex}.badge.pending,.badge.new,.badge.documents_pending,.badge.scheduled{color:var(--accent-dark);background:#3b82f624}.badge.approved,.badge.contacted,.badge.in_progress,.badge.completed,.badge.paid{color:#0369a1;background:#0ea5e924}.badge.rejected,.badge.deactivated,.badge.unpaid{color:var(--danger);background:#dc26261f}.agentGrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.profileGrid{grid-template-columns:1.2fr repeat(3,minmax(0,1fr));gap:16px;display:grid}.profileCard,.profileStat{border:1px solid var(--line);background:var(--glass);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-radius:14px;padding:18px}.profileCard{align-items:center;gap:16px;display:flex}.profileCard h3,.profileCard p,.profileStat span,.profileStat strong{margin:0}.profileCard p,.profileStat span{color:var(--muted)}.profileStat{gap:10px;display:grid}.settingsGrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.settingsCard{border:1px solid var(--line);background:var(--glass);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-radius:14px;padding:18px}.settingsCard h3{margin:0 0 14px}.settingsList{gap:12px;display:grid}.settingsItem{border-top:1px solid var(--line);gap:4px;padding-top:12px;display:grid}.settingsItem:first-child{border-top:0;padding-top:0}.settingsItem span{color:var(--muted)}.settingsItem strong{font-weight:700}@media (max-width:960px){.topbar,.hero,.contentGrid,.metrics,.agentGrid,.authLayout,.authHighlights,.workspaceFrame,.profileGrid,.settingsGrid,.simpleMetrics,.referenceCards,.pieSection{grid-template-columns:1fr}.referenceHeader{flex-direction:column}.shell{padding:20px 10px 40px}.authShell{width:min(100% - 20px,1200px)}.topMenu,.headerMeta{flex-wrap:wrap;justify-content:flex-start}.topbar{padding:16px 18px}.sidebar{border-right:0;border-bottom:1px solid var(--line);min-height:auto;padding:18px 10px 0;position:static}}:root[data-theme=dark]{--sidebar-bg:#14101e;--sidebar-bg-soft:#1d1730;--sidebar-text:#d6caec;--sidebar-muted:#8a73ad;--sidebar-line:#ffffff14;--sidebar-active-bg:#3b2d56;--sidebar-active-text:#ece6fb;--sidebar-active-accent:#b59ddc;--sidebar-heading-bg:#1d1730;--sidebar-heading-text:#ece6fb}[data-theme=dark] body{background:#0a0612}[data-theme=dark] .sidebar{background:#14101e;border-right-color:#ffffff0f}[data-theme=dark] .sidebarBrand{background:#14101e;border-bottom-color:#ffffff0f}[data-theme=dark] .sidebarBrand strong,[data-theme=dark] .sidebarBrand span{color:#ece6fb}[data-theme=dark] .sidebarBrand span{opacity:.7}[data-theme=dark] .sidebarBrandMark{color:#1d1730;background:#b59ddc}[data-theme=dark] .sidebarLabel{color:#d6caec;background:#1d1730}[data-theme=dark] .sidebarLabel:hover{background:#251f3a}[data-theme=dark] .sidebarLabel.isActiveGroup{color:#ece6fb;background:#5e4680}[data-theme=dark] .sidebarLabel.isActiveGroup:hover{background:#6c5290}[data-theme=dark] .sidebarNav a,[data-theme=dark] .sidebarItemIcon{color:#d6caec}[data-theme=dark] .sidebarNav a:hover{color:#ece6fb;background:#b59ddc1a}[data-theme=dark] .sidebarNav .isActive,[data-theme=dark] .sidebarNav .isActive:hover{color:#ece6fb;background:#3b2d56}[data-theme=dark] .sidebarCard{color:#d6caec;background:#1d1730;border-color:#ffffff14}[data-theme=dark] .sidebarCardAvatar{color:#ece6fb;background:#3b2d56}[data-theme=dark] .sidebarCard strong{color:#ece6fb}[data-theme=dark] .sidebarCard .muted{color:#d6caecb3}[data-theme=dark] .sidebarCard .badge{color:#ece6fb;background:#3b2d56}[data-theme=dark] .topbar{color:#ece6fb;background:#0f0a1c;border-bottom-color:#ffffff0f}[data-theme=dark] .topbarTitleBlock strong{color:#ece6fb}[data-theme=dark] .topbarTitleBlock p{color:#d6caecb3}[data-theme=dark] .headerSearchInput{color:#ece6fb;background:#ffffff0a;border-color:#ffffff14}[data-theme=dark] .headerSearchInput::placeholder{color:#d6caec80}[data-theme=dark] .headerSearchInput:hover{background:#b59ddc14;border-color:#b59ddc4d}[data-theme=dark] .headerSearchInput:focus{background:#b59ddc1a;border-color:#b59ddc80;box-shadow:0 0 0 3px #b59ddc33}[data-theme=dark] .headerSearchResults{background:#1d1730;border-color:#ffffff14}[data-theme=dark] .headerSearchEmpty{color:#d6caecb3}[data-theme=dark] .headerSearchItem{color:#ece6fb;background:#ffffff08}[data-theme=dark] .headerSearchItem:hover,[data-theme=dark] .headerSearchItem:focus-visible{background:#b59ddc1f;border-color:#b59ddc4d}[data-theme=dark] .notifBell{color:#d6caec;border-color:#ffffff1a}[data-theme=dark] .notifBell:hover{background:#b59ddc1a;border-color:#b59ddc4d}[data-theme=dark] .notifBadge{box-shadow:0 0 0 2px #0f0a1c}[data-theme=dark] .profileChip{color:#ece6fb}[data-theme=dark] .profileChip:hover{background:#b59ddc14;border-color:#b59ddc2e}[data-theme=dark] .profileChipAvatar{color:#ece6fb;background:#3b2d56}[data-theme=dark] .profileChipMeta strong{color:#ece6fb}[data-theme=dark] .profileChipMeta span{color:#d6caecb3}[data-theme=dark] .profileMenu{background:#1d1730;border-color:#ffffff14;box-shadow:0 18px 40px #00000080,0 4px 12px #0000004d}[data-theme=dark] .profileMenuHeader{border-bottom-color:#ffffff14}[data-theme=dark] .profileMenuAvatar{color:#ece6fb;background:#3b2d56}[data-theme=dark] .profileMenuHeaderMeta strong{color:#ece6fb}[data-theme=dark] .profileMenuHeaderMeta span{color:#d6caecb3}[data-theme=dark] .profileMenuItem,[data-theme=dark] .profileMenuItem svg{color:#d6caec}[data-theme=dark] .profileMenuItem:hover{color:#ece6fb;background:#b59ddc1a}[data-theme=dark] .profileMenuItem.isActive{color:#ece6fb;background:#3b2d56}[data-theme=dark] .profileMenuDivider{background:#ffffff14}[data-theme=dark] .referenceCard{background:#1d1730;border-color:#ffffff0f;box-shadow:0 1px 3px #0000004d}[data-theme=dark] .referenceCard strong{color:#ece6fb}[data-theme=dark] .referenceCard span,[data-theme=dark] .referenceCard small{color:#d6caecb3}[data-theme=dark] .referenceHeader h1{color:#ece6fb}[data-theme=dark] .referenceHeader p{color:#d6caecb3}[data-theme=dark] .referenceRefresh{color:#1d1730;background:#b59ddc}[data-theme=dark] .referenceRefresh:hover{background:#c8b2e4}[data-theme=dark] .panel{color:#ece6fb;background:#1d1730;border-color:#ffffff0f}[data-theme=dark] .panel h2,[data-theme=dark] .panelTitle{color:#ece6fb}[data-theme=dark] .eyebrow{color:#b59ddc}[data-theme=dark] .entitiesTable th,[data-theme=dark] .entitiesTable td{color:#d6caec;border-color:#ffffff0f}[data-theme=dark] .entitiesTable th,[data-theme=dark] .emptyEntities{color:#d6caecb3}[data-theme=dark] .referenceSearchRow input,[data-theme=dark] .referenceFilter select{color:#ece6fb;background:#1d1730;border-color:#ffffff14}[data-theme=dark] .referenceSearchRow input::placeholder{color:#d6caec80}[data-theme=dark] .referenceFilter{color:#ece6fb;background:#1d1730;border-color:#ffffff14}[data-theme=dark] .referenceFilterLabel{color:#d6caecb3}[data-theme=dark] .authShell{background:#0a0612}[data-theme=dark] .authPanel,[data-theme=dark] .authForm{color:#ece6fb;background:#1d1730;border-color:#ffffff0f}[data-theme=dark] .authForm input{color:#ece6fb;background:#ffffff0a;border-color:#ffffff1a}[data-theme=dark] .authForm input::placeholder{color:#d6caec80}[data-theme=dark] .authSubmit{color:#1d1730;background:#b59ddc}[data-theme=dark] .authSubmit:hover{background:#c8b2e4}.invoiceForm{gap:22px;padding:4px 2px 2px;display:grid}.formGrid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;display:grid}.formField{flex-direction:column;gap:6px;font-size:.88rem;display:flex}.formField>span{color:var(--navy);font-weight:600}.formField input,.formField select,.formField textarea{border:1px solid var(--line);background:var(--panel);color:inherit;border-radius:8px;padding:9px 12px;font-family:inherit;font-size:.92rem;transition:border-color .15s,box-shadow .15s}.formField input:focus,.formField select:focus,.formField textarea:focus{border-color:var(--navy);outline:none;box-shadow:0 0 0 3px #0d1a2d14}.formField textarea{resize:vertical;min-height:80px}.formFieldFull{grid-column:1/-1}.formError{color:#b3261e;font-size:.78rem}.formNotice{border:1px solid #0000;border-radius:8px;padding:10px 14px;font-size:.88rem}.formNotice.success{color:#1b6b42;background:#228b5414;border-color:#228b5440}.formNotice.error{color:#b3261e;background:#b3261e14;border-color:#b3261e40}.invoiceSummary{border:1px solid var(--line);background:var(--panel-soft);border-radius:10px;gap:8px;max-width:380px;margin-left:auto;padding:14px 16px;display:grid}.invoiceSummaryRow{color:var(--navy);justify-content:space-between;align-items:center;font-size:.9rem;display:flex}.invoiceSummaryRow.total{border-top:1px dashed var(--line);padding-top:8px;font-size:1rem;font-weight:600}.formActions{justify-content:flex-end;gap:10px;display:flex}.primaryButton{background:var(--navy);color:#fff;cursor:pointer;border:0;border-radius:8px;padding:10px 22px;font-size:.9rem;font-weight:600;transition:background-color .2s;box-shadow:0 6px 14px #1c25412e}.primaryButton:hover:not(:disabled){background:var(--navy-soft)}.primaryButton:disabled{opacity:.6;cursor:not-allowed}[data-theme=dark] .formField>span{color:#ece6fb}[data-theme=dark] .formField input,[data-theme=dark] .formField select,[data-theme=dark] .formField textarea{color:#ece6fb;background:#ffffff0a;border-color:#ffffff1a}[data-theme=dark] .formField input::placeholder,[data-theme=dark] .formField textarea::placeholder{color:#d6caec80}[data-theme=dark] .formField input:focus,[data-theme=dark] .formField select:focus,[data-theme=dark] .formField textarea:focus{border-color:#b59ddc;box-shadow:0 0 0 3px #b59ddc2e}[data-theme=dark] .invoiceSummary{background:#ffffff08;border-color:#ffffff14}[data-theme=dark] .invoiceSummaryRow{color:#ece6fb}[data-theme=dark] .primaryButton{color:#1d1730;background:#b59ddc}[data-theme=dark] .primaryButton:hover:not(:disabled){background:#c8b2e4}.ghostButton{border:1px solid var(--line);background:var(--panel);color:var(--navy);cursor:pointer;border-radius:8px;align-items:center;gap:8px;padding:9px 16px;font-size:.88rem;font-weight:600;transition:background-color .15s,border-color .15s;display:inline-flex}.ghostButton:hover:not(:disabled){background:var(--panel-soft)}.ghostButton:disabled{opacity:.55;cursor:not-allowed}.dangerButton{color:#fff;cursor:pointer;background:#b3261e;border:0;border-radius:8px;padding:10px 22px;font-size:.9rem;font-weight:600;box-shadow:0 6px 14px #b3261e2e}.dangerButton:hover:not(:disabled){background:#921e18}.iconButton{cursor:pointer;width:32px;height:32px;color:var(--navy);background:0 0;border:1px solid #0000;border-radius:8px;font-size:1.2rem}.iconButton:hover{background:var(--panel-soft);border-color:var(--line)}.invoiceHeader{flex-wrap:wrap;gap:14px}.invoiceBackLink{color:#0f172a99;cursor:pointer;background:0 0;border:0;align-items:center;gap:4px;padding:0 0 6px;font-family:inherit;font-size:.85rem;font-weight:600;display:inline-flex}.invoiceBackLink:hover{color:var(--navy)}.invoiceDetailGrid{grid-template-columns:minmax(0,1fr) 320px;align-items:flex-start;gap:18px;margin-top:18px;display:grid}@media (max-width:1024px){.invoiceDetailGrid{grid-template-columns:1fr}}.invoiceDetailMain{gap:16px;display:grid}.invoiceDetailSide{gap:16px;display:grid;position:sticky;top:24px}.invoicePartnerSummary{align-items:center;gap:12px;display:flex}.invoicePartnerSummary>div:last-child{gap:2px;display:grid}.invoiceDetailLoading{flex-direction:column;padding:8px 2px;display:flex}[data-theme=dark] .invoiceBackLink{color:#d6caec99}[data-theme=dark] .invoiceBackLink:hover{color:#ece6fb}.invoiceHeaderActions{flex-wrap:wrap;gap:10px;display:flex}.invoiceHeaderActions .primaryButton,.invoiceHeaderActions .ghostButton{align-items:center;gap:8px;display:inline-flex}.invoiceStatsRow{margin-top:4px}.filterBar{background:var(--panel);border:1px solid var(--line);border-radius:14px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;padding:14px 16px;display:flex;box-shadow:0 1px 3px #0f172a0a}.filterSearch{background:var(--panel-soft);border:1px solid #0000;border-radius:10px;flex:280px;align-items:center;gap:8px;min-width:240px;padding:8px 12px;transition:border-color .15s,background .15s;display:flex}.filterSearch:focus-within{border-color:var(--navy);background:var(--panel)}.filterSearch input{color:inherit;background:0 0;border:0;outline:none;flex:1;font-size:.92rem}.filterControls{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.filterControls select{border:1px solid var(--line);background:var(--panel);color:inherit;cursor:pointer;appearance:none;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");background-position:right 10px center;background-repeat:no-repeat;border-radius:8px;padding:8px 28px 8px 12px;font-family:inherit;font-size:.88rem}.invoiceTablePanel{padding:0;overflow:hidden}.invoiceTableWrap{position:relative;overflow-x:auto}.invoiceTable{border-collapse:separate;border-spacing:0;width:100%;min-width:1080px;font-size:.9rem}.invoiceTable thead th{z-index:2;background:var(--panel-soft);text-align:left;letter-spacing:.04em;text-transform:uppercase;color:#0f172a99;border-bottom:1px solid var(--line);padding:14px 10px;font-size:.78rem;font-weight:600;position:sticky;top:0}.invoiceTable tbody td{border-bottom:1px solid var(--line);vertical-align:middle;color:var(--navy);padding:14px 10px}.invoiceTable tbody tr{transition:background-color .12s}.invoiceTable tbody tr:hover{background:#0d1a2d08}.invoiceTable tbody tr:last-child td{border-bottom:0}.invoicePartnerCell{align-items:center;gap:10px;display:flex}.invoicePartnerCell strong{line-height:1.2;display:block}.invoicePartnerCell .muted{font-size:.8rem}.invoiceAvatar{color:#fff;background:linear-gradient(135deg,#6366f1,#8b5cf6);border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;width:34px;height:34px;font-size:.9rem;font-weight:600;display:flex}.invoiceTaxCell{flex-direction:column;gap:2px;display:flex}.invoiceLinkButton{color:var(--navy);cursor:pointer;font-family:inherit;font-weight:600;font-size:inherit;background:0 0;border:0;padding:0;text-decoration:none}.invoiceLinkButton:hover{text-decoration:underline}.statusBadge{text-transform:capitalize;border:1px solid #0000;border-radius:999px;align-items:center;gap:6px;padding:4px 10px;font-size:.78rem;font-weight:600;display:inline-flex}.statusBadgeDot{background:currentColor;border-radius:999px;width:6px;height:6px}.statusBadge.status-draft{color:#475569;background:#64748b1f;border-color:#64748b40}.statusBadge.status-pending{color:#b45309;background:#f59e0b1f;border-color:#f59e0b4d}.statusBadge.status-approved{color:#1d4ed8;background:#3b82f61f;border-color:#3b82f64d}.statusBadge.status-paid{color:#15803d;background:#22c55e1f;border-color:#22c55e4d}.statusBadge.status-rejected{color:#b91c1c;background:#ef44441f;border-color:#ef44444d}.statusBadge.status-cancelled{color:#475569;background:#94a3b82e;border-color:#94a3b859}.actionDropdown{display:inline-block;position:relative}.actionDropdownTrigger{width:32px;height:32px;color:var(--navy);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;display:inline-flex}.actionDropdownTrigger:hover{background:var(--panel-soft);border-color:var(--line)}.actionDropdownMenu{background:var(--panel);border:1px solid var(--line);z-index:20;border-radius:10px;gap:2px;min-width:180px;padding:6px;display:grid;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 18px 38px #0f172a24}.actionDropdownItem{text-align:left;cursor:pointer;color:var(--navy);background:0 0;border:0;border-radius:8px;padding:8px 12px;font-family:inherit;font-size:.88rem}.actionDropdownItem:hover:not(:disabled){background:var(--panel-soft)}.actionDropdownItem:disabled{opacity:.45;cursor:not-allowed}.actionDropdownItem.isDanger{color:#b3261e}.actionDropdownItem.isDanger:hover:not(:disabled){background:#b3261e14}.paginationBar{border-top:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:14px 18px;display:flex}.paginationMeta{color:#0f172ab3;font-size:.85rem}.paginationControls{align-items:center;gap:4px;display:flex}.paginationButton{border:1px solid var(--line);background:var(--panel);cursor:pointer;min-width:32px;height:32px;color:var(--navy);border-radius:8px;padding:0 10px;font-family:inherit;font-size:.86rem}.paginationButton:hover:not(:disabled){background:var(--panel-soft)}.paginationButton.isActive{background:var(--navy);color:#fff;border-color:var(--navy)}.paginationButton:disabled{opacity:.45;cursor:not-allowed}.paginationEllipsis{color:#0f172a80;padding:0 4px}.invoiceSkeletonRow td{padding:16px 18px}.skeletonChip{background:linear-gradient(90deg,#0f172a0f,#0f172a1f,#0f172a0f) 0 0/200% 100%;border-radius:6px;height:14px;animation:1.4s ease-in-out infinite skeletonShimmer;display:block}@keyframes skeletonShimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.invoiceEmpty{text-align:center;flex-direction:column;align-items:center;gap:8px;padding:48px 24px;display:flex}.invoiceEmptyIcon{background:var(--panel-soft);color:#0f172a80;border-radius:14px;justify-content:center;align-items:center;width:56px;height:56px;margin-bottom:4px;display:flex}.invoiceEmpty p{color:#0f172aa6;max-width:360px}.modalBackdrop{z-index:50;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#0f172a73;justify-content:center;align-items:center;padding:24px;animation:.18s ease-out fadeIn;display:flex;position:fixed;inset:0}.drawerBackdrop{justify-content:flex-end;align-items:stretch;padding:0}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.confirmModal{background:var(--panel);border:1px solid var(--line);border-radius:14px;width:min(420px,100%);padding:22px 24px;box-shadow:0 30px 60px #0f172a40}.confirmModalTitle{margin:0 0 6px;font-size:1.05rem}.confirmModalDescription{color:#0f172ab3;margin:0;font-size:.9rem}.confirmModalActions{justify-content:flex-end;gap:10px;margin-top:18px;display:flex}.invoiceDrawer{background:var(--panel);border-left:1px solid var(--line);flex-direction:column;width:min(560px,100%);height:100%;animation:.22s ease-out slideIn;display:flex;box-shadow:-24px 0 60px #0f172a38}@keyframes slideIn{0%{opacity:0;transform:translate(24px)}to{opacity:1;transform:translate(0)}}.invoiceDrawerHeader{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-start;gap:12px;padding:20px 24px;display:flex}.invoiceDrawerHeader h2{margin:4px 0 6px;font-size:1.2rem}.invoiceDrawerHeaderActions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.invoiceDrawerBody{gap:22px;padding:20px 24px 32px;display:grid;overflow-y:auto}.invoiceDrawerGrid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;display:grid}.invoiceDrawerCard{background:var(--panel-soft);border:1px solid var(--line);border-radius:12px;gap:4px;padding:14px 16px;display:grid}.invoiceDrawerKV{justify-content:space-between;padding-top:4px;font-size:.88rem;display:flex}.invoiceDrawerSection h3{margin:0 0 10px;font-size:.95rem}.invoiceDrawerBreakdown{background:var(--panel-soft);border:1px solid var(--line);border-radius:12px;gap:6px;padding:14px 16px;display:grid}.invoiceDrawerBreakRow{justify-content:space-between;font-size:.9rem;display:flex}.invoiceDrawerBreakRow.total{border-top:1px dashed var(--line);padding-top:8px;font-size:1rem;font-weight:600}.invoiceDrawerPayments{gap:10px;margin:0;padding:0;list-style:none;display:grid}.invoiceDrawerPayments li{background:var(--panel-soft);border:1px solid var(--line);border-radius:10px;flex-direction:column;gap:2px;padding:10px 14px;display:flex}.invoiceTimeline{gap:14px;margin:0;padding:0;list-style:none;display:grid;position:relative}.invoiceTimelineItem{grid-template-columns:18px 1fr;gap:10px;display:grid;position:relative}.invoiceTimelineItem:not(:last-child):before{content:"";background:var(--line);width:2px;position:absolute;top:18px;bottom:-14px;left:8px}.invoiceTimelineDot{background:var(--navy);border:3px solid var(--panel);width:12px;height:12px;box-shadow:0 0 0 1px var(--line);border-radius:999px;margin-top:4px}.invoiceTimelineItem p{margin:2px 0 0;font-size:.88rem}.toastStack{z-index:80;gap:10px;width:min(340px,100vw - 32px);display:grid;position:fixed;bottom:24px;right:24px}.toastCard{background:var(--panel);border:1px solid var(--line);border-radius:12px;align-items:center;gap:10px;padding:12px 14px;font-size:.9rem;animation:.2s ease-out toastIn;display:flex;box-shadow:0 18px 32px #0f172a29}@keyframes toastIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.toastDot{border-radius:999px;width:8px;height:8px}.toast-success .toastDot{background:#22c55e}.toast-error .toastDot{background:#ef4444}.toast-info .toastDot{background:#3b82f6}.toastMessage{color:var(--navy);flex:1}.toastClose{cursor:pointer;color:#0f172a8c;background:0 0;border:0;font-size:1.1rem;line-height:1}.toastClose:hover{color:var(--navy)}.invoiceFormGrid{grid-template-columns:minmax(0,1fr) 320px;align-items:flex-start;gap:18px;display:grid}@media (max-width:1024px){.invoiceFormGrid{grid-template-columns:1fr}}.invoicePreviewCard{background:var(--panel);border:1px solid var(--line);border-radius:14px;gap:14px;padding:20px;display:grid;position:sticky;top:24px;box-shadow:0 1px 3px #0f172a0a}.invoicePreviewCard h3{margin:0;font-size:1.05rem}.invoicePreviewPartner{gap:2px;display:grid}.invoicePreviewBreakdown{background:var(--panel-soft);border:1px solid var(--line);border-radius:10px;gap:6px;padding:14px;display:grid}.invoicePreviewMeta{gap:10px;font-size:.88rem;display:grid}.invoicePreviewMeta>div{justify-content:space-between;align-items:center;gap:8px;display:flex}.invoiceUploadGrid{grid-template-columns:minmax(0,1fr) 320px;align-items:flex-start;gap:18px;display:grid}@media (max-width:1024px){.invoiceUploadGrid{grid-template-columns:1fr}}.invoiceUploadPanel{gap:18px;display:grid}.invoiceUploadDrop{background:var(--panel-soft);text-align:center;cursor:pointer;border:1.5px dashed #0f172a2e;border-radius:14px;justify-items:center;gap:10px;padding:36px 24px;transition:border-color .18s,background .18s,transform .18s;display:grid}.invoiceUploadDrop:hover,.invoiceUploadDrop:focus-visible{border-color:var(--navy);background:#b59ddc14;outline:none}.invoiceUploadDrop.isDragging{border-color:var(--navy);background:#b59ddc24;transform:translateY(-1px)}.invoiceUploadDrop strong{color:var(--navy);font-size:1rem}.invoiceUploadDrop p{color:#0f172a99;margin:0;font-size:.88rem}.invoiceUploadIcon{background:var(--panel);border:1px solid var(--line);width:64px;height:64px;color:var(--navy);border-radius:50%;justify-content:center;align-items:center;display:flex}.invoiceUploadSummary{background:var(--panel-soft);border:1px solid var(--line);border-radius:12px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;padding:14px 16px;display:flex}.invoiceUploadSummary>div:first-child{align-items:baseline;gap:8px;display:flex}.invoiceUploadSummary strong{color:var(--navy);font-size:1.4rem}.invoiceUploadSummary span{color:#0f172a99;font-size:.9rem}.invoiceUploadSummaryActions{gap:8px;display:flex}.invoiceUploadList{gap:14px;display:grid}.invoiceUploadCard{background:var(--panel);border:1px solid var(--line);border-radius:12px;grid-template-columns:180px minmax(0,1fr);gap:16px;padding:16px;display:grid;box-shadow:0 1px 3px #0f172a0a}@media (max-width:768px){.invoiceUploadCard{grid-template-columns:1fr}}.invoiceUploadPreview{background:var(--panel-soft);border:1px solid var(--line);aspect-ratio:4/5;border-radius:10px;justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.invoiceUploadPreview img{object-fit:cover;width:100%;height:100%;display:block}.invoiceUploadBody{gap:12px;display:grid}.invoiceUploadBody header{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.invoiceUploadBody header>div{gap:2px;display:grid}.invoiceUploadBody header strong{color:var(--navy);font-size:1rem}.invoiceUploadRemove{padding:6px 10px;font-size:.82rem}.invoiceUploadTotals{border-top:1px dashed var(--line);flex-wrap:wrap;align-items:center;gap:14px;padding-top:8px;display:flex}.invoiceUploadTotals>div{gap:2px;display:grid}.invoiceUploadTotals strong{color:var(--navy);font-size:1rem}.invoiceUploadSteps{gap:12px;margin:0;padding:0;list-style:none;display:grid}.invoiceUploadSteps li{background:var(--panel-soft);border:1px solid var(--line);border-radius:10px;gap:2px;padding:12px;display:grid}.invoiceUploadSteps li strong{color:var(--navy);font-size:.92rem}.invoiceUploadSteps li span{color:#0f172aa6;font-size:.85rem}.invoiceUploadHint{background:#b59ddc1f;border-radius:10px;gap:4px;padding:12px;display:grid}.invoiceUploadHint strong{color:var(--navy);font-size:.88rem}.invoiceUploadHint span{color:#0f172ab3;font-size:.85rem}[data-theme=dark] .invoiceUploadDrop,[data-theme=dark] .invoiceUploadSummary,[data-theme=dark] .invoiceUploadSteps li,[data-theme=dark] .invoiceUploadPreview{background:#ffffff08;border-color:#ffffff14}[data-theme=dark] .invoiceUploadCard{background:#1d1730;border-color:#ffffff14}[data-theme=dark] .invoiceUploadIcon{color:#ece6fb;background:#ffffff0d;border-color:#ffffff1a}[data-theme=dark] .invoiceUploadDrop strong,[data-theme=dark] .invoiceUploadSummary strong,[data-theme=dark] .invoiceUploadBody header strong,[data-theme=dark] .invoiceUploadTotals strong,[data-theme=dark] .invoiceUploadSteps li strong,[data-theme=dark] .invoiceUploadHint strong{color:#ece6fb}[data-theme=dark] .invoiceUploadDrop p,[data-theme=dark] .invoiceUploadSummary span,[data-theme=dark] .invoiceUploadSteps li span,[data-theme=dark] .invoiceUploadHint span{color:#ece6fbb3}[data-theme=dark] .invoiceUploadHint{background:#b59ddc1f}[data-theme=dark] .invoiceUploadTotals{border-top-color:#ffffff14}.muted{color:#0f172a99;font-size:.85rem}@media (max-width:768px){.filterBar{flex-direction:column;align-items:stretch}.filterControls{width:100%}.filterControls select{flex:130px}.invoiceDrawer{width:100%}}[data-theme=dark] .ghostButton{color:#ece6fb;background:#ffffff08;border-color:#ffffff1a}[data-theme=dark] .ghostButton:hover:not(:disabled){background:#ffffff0f}[data-theme=dark] .filterBar,[data-theme=dark] .invoicePreviewCard,[data-theme=dark] .confirmModal,[data-theme=dark] .invoiceDrawer,[data-theme=dark] .toastCard{background:#1d1730;border-color:#ffffff14}[data-theme=dark] .filterSearch,[data-theme=dark] .invoiceDrawerCard,[data-theme=dark] .invoiceDrawerBreakdown,[data-theme=dark] .invoiceDrawerPayments li,[data-theme=dark] .invoicePreviewBreakdown{background:#ffffff08;border-color:#ffffff14}[data-theme=dark] .filterControls select,[data-theme=dark] .paginationButton{color:#ece6fb;background:#ffffff08;border-color:#ffffff1a}[data-theme=dark] .paginationButton.isActive{color:#1d1730;background:#b59ddc;border-color:#b59ddc}[data-theme=dark] .invoiceTable thead th{color:#d6caecb3;background:#ffffff0a;border-bottom-color:#ffffff14}[data-theme=dark] .invoiceTable tbody td{color:#ece6fb;border-bottom-color:#ffffff0f}[data-theme=dark] .invoiceTable tbody tr:hover{background:#ffffff0a}[data-theme=dark] .invoiceLinkButton,[data-theme=dark] .actionDropdownTrigger,[data-theme=dark] .actionDropdownItem,[data-theme=dark] .toastMessage,[data-theme=dark] .invoiceDrawerHeader h2{color:#ece6fb}[data-theme=dark] .actionDropdownMenu{background:#1d1730;border-color:#ffffff14}[data-theme=dark] .actionDropdownItem:hover:not(:disabled){background:#ffffff0d}[data-theme=dark] .invoiceTimelineDot{background:#b59ddc;border-color:#1d1730;box-shadow:0 0 0 1px #ffffff14}[data-theme=dark] .invoiceTimelineItem:not(:last-child):before{background:#ffffff14}[data-theme=dark] .skeletonChip{background:linear-gradient(90deg,#ffffff0d,#ffffff1f,#ffffff0d)}[data-theme=dark] .muted,[data-theme=dark] .paginationMeta,[data-theme=dark] .confirmModalDescription,[data-theme=dark] .invoiceEmpty p{color:#d6caeca6}[data-theme=dark] .iconButton,[data-theme=dark] .toastClose{color:#d6caecb3}[data-theme=dark] .iconButton:hover{background:#ffffff0f;border-color:#ffffff1a}[data-theme=dark] .statusBadge.status-draft{color:#cbd5e1;background:#94a3b82e;border-color:#94a3b84d}[data-theme=dark] .statusBadge.status-pending{color:#fbbf24;background:#f59e0b29}[data-theme=dark] .statusBadge.status-approved{color:#93c5fd;background:#60a5fa2e}[data-theme=dark] .statusBadge.status-paid{color:#86efac;background:#22c55e2e}[data-theme=dark] .statusBadge.status-rejected{color:#fca5a5;background:#ef44442e}[data-theme=dark] .statusBadge.status-cancelled{color:#cbd5e1;background:#94a3b82e}
