:root{color-scheme:dark;--bg-0: #080b12;--bg-1: #0f1623;--bg-2: #121c30;--bg-soft: #17243d;--line: #23324f;--line-strong: #2d446b;--text-0: #f8fbff;--text-1: #b8c8e6;--text-2: #93a4c4;--brand: #63f5cf;--brand-2: #57b8ff;--danger: #ff5a6e;--warning: #ffcb5b;--success: #5af28f;--radius-sm: 10px;--radius-md: 14px;--radius-lg: 20px;--shadow-soft: 0 12px 32px rgba(6, 12, 24, .35);--font-ui: "Space Grotesk", "Manrope", "Nunito Sans", sans-serif}:root[data-theme=light]{color-scheme:light;--bg-0: #edf3fb;--bg-1: #ffffff;--bg-2: #f6f9fe;--bg-soft: #e1ecf8;--line: #c7d7ea;--line-strong: #adc3dd;--text-0: #14253a;--text-1: #34506e;--text-2: #617892;--brand: #21b88f;--brand-2: #2d84de;--danger: #d84c63;--warning: #c88d16;--success: #21a86f;--shadow-soft: 0 12px 30px rgba(36, 67, 106, .12)}*{box-sizing:border-box}html,body,#root{margin:0;min-height:100%}body{font-family:var(--font-ui);color:var(--text-0);background:radial-gradient(circle at 15% -10%,rgba(87,184,255,.28),transparent 42%),radial-gradient(circle at 100% 0%,rgba(99,245,207,.15),transparent 35%),linear-gradient(150deg,#05070d 0%,var(--bg-0) 42%,#070d18 100%)}:root[data-theme=light] body{background:radial-gradient(circle at 15% -12%,rgba(45,132,222,.2),transparent 44%),radial-gradient(circle at 100% -8%,rgba(33,184,143,.16),transparent 36%),linear-gradient(155deg,#f4f9ff,#ecf3fc 44%,#e9f1fb)}a{color:inherit;text-decoration:none}code{font-family:JetBrains Mono,Fira Code,monospace;color:#d5e8ff;font-size:.78rem;word-break:break-all}.app-shell{display:grid;grid-template-columns:300px 1fr;min-height:100vh;position:relative;transition:grid-template-columns .2s ease}.app-shell-collapsed{grid-template-columns:104px 1fr}.sidebar-backdrop{display:none}.sidebar{position:sticky;top:0;height:100vh;border-right:1px solid rgba(103,136,184,.18);background:linear-gradient(180deg,#0a0f1af0,#070b14fa),repeating-linear-gradient(45deg,rgba(255,255,255,.02),rgba(255,255,255,.02) 1px,transparent 1px,transparent 12px);padding:24px;--brand-shell-color: var(--brand);overflow-y:auto;display:flex;flex-direction:column}.sidebar-topbar{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.sidebar-tenant-switcher{margin-top:18px;display:grid;gap:8px;padding:12px;border-radius:var(--radius-md);border:1px solid rgba(103,136,184,.24);background:linear-gradient(165deg,#0b1321c2,#0e1727e6)}.sidebar-tenant-select{min-height:40px;border-radius:12px;background:linear-gradient(160deg,#0f1829f5,#0b121feb)}.brand-block{display:flex;flex-direction:column;align-items:center;gap:6px;padding:16px;border-radius:var(--radius-md);border:1px solid color-mix(in srgb,var(--brand-shell-color) 45%,transparent);background:linear-gradient(135deg,color-mix(in srgb,var(--brand-shell-color) 13%,transparent),#57b8ff1c);box-shadow:inset 0 0 0 1px #07232a59;min-width:0;flex:1;text-align:center}.brand-initial{width:40px;height:40px;border-radius:11px;border:1px solid rgba(145,212,255,.35);background:#0913218c;display:inline-flex;align-items:center;justify-content:center;font-weight:700;letter-spacing:.04em}.sidebar-collapse-button{border:1px solid rgba(110,145,190,.55);border-radius:10px;width:34px;height:34px;flex:0 0 auto;background:#0e1727cc;color:var(--text-0);cursor:pointer;transition:border-color .2s ease,background .2s ease,transform .16s ease}.sidebar-collapse-button:hover{border-color:#63f5cf7a;background:#141f35e6}.sidebar-collapse-button:focus-visible{outline:2px solid rgba(87,184,255,.5);outline-offset:2px}.brand-block strong{font-size:1.38rem;letter-spacing:.06em}.brand-block span{color:var(--text-1);font-size:.86rem}.brand-logo{display:block;width:min(100%,150px);max-height:56px;margin-inline:auto;object-fit:contain;object-position:center}.sidebar-nav{margin-top:18px;display:grid;gap:18px;flex:1;align-content:start}.sidebar-footer{margin-top:16px;padding-top:14px;border-top:1px solid rgba(103,136,184,.2);display:grid;gap:10px}.sidebar-theme-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.sidebar-version-text{display:block;color:var(--text-2);font-size:.68rem;letter-spacing:.04em}.sidebar-footer-label{font-size:.72rem;color:var(--text-2);letter-spacing:.08em;text-transform:uppercase}.theme-toggle{width:72px;height:34px;border-radius:999px;border:1px solid rgba(103,136,184,.55);background:#0c1321bf;color:var(--text-1);position:relative;padding:0 8px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:border-color .2s ease,background-color .2s ease}.theme-toggle:hover{border-color:#63f5cf7a}.theme-toggle-icons{width:100%;display:flex;align-items:center;justify-content:space-between;pointer-events:none}.theme-toggle-icon{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.theme-toggle-thumb{position:absolute;top:3px;left:3px;width:26px;height:26px;border-radius:999px;border:1px solid rgba(168,207,255,.52);background:linear-gradient(145deg,#78cdfff2,#67fad6eb);box-shadow:0 4px 10px #08111f61;transition:transform .2s ease}.theme-toggle-light .theme-toggle-thumb{transform:translate(38px)}.sidebar-powered-by{display:grid;gap:6px}.sidebar-powered-by small{color:var(--text-2);font-size:.66rem;letter-spacing:.04em}.sidebar-powered-link{width:fit-content;display:inline-flex;align-items:center;gap:5px;border:1px solid rgba(103,136,184,.4);border-radius:999px;padding:4px 9px;font-size:.7rem;color:var(--text-1);background:#0f182894;transition:border-color .2s ease,background-color .2s ease,color .2s ease}.sidebar-powered-link:hover{border-color:#63f5cf7a;color:var(--text-0);background:#162238b3}.sidebar-powered-link-icon{width:12px;height:12px;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;fill:none}.sidebar-group{display:grid;gap:8px}.sidebar-group-title{margin:0;color:var(--text-2);font-size:.7rem;text-transform:uppercase;letter-spacing:.08em}.sidebar-group-items{display:grid;gap:8px}.sidebar-link{display:flex;align-items:center;gap:10px;border:1px solid transparent;border-radius:var(--radius-sm);padding:11px 14px;color:var(--text-1);background:#131e3566;transition:.18s ease}.sidebar-link-icon-wrap{width:26px;height:26px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;background:#0c14239e;color:var(--text-1);flex-shrink:0;transition:color .18s ease,background-color .18s ease}.sidebar-link-icon{width:17px;height:17px}.sidebar-link-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-link:hover{border-color:#63f5cf47;color:var(--text-0);transform:translate(2px)}.sidebar-link:hover .sidebar-link-icon-wrap,.sidebar-link-active .sidebar-link-icon-wrap{color:var(--text-0);background:#273e65b8}.sidebar-link-active{border-color:#57b8ff9e;color:var(--text-0);background:linear-gradient(130deg,#57b8ff2e,#63f5cf1f)}:root[data-theme=light] code{color:#2a4f74}:root[data-theme=light] .sidebar{border-right-color:#829dbe66;background:linear-gradient(180deg,#f4f9fff5,#ecf4fdfa),repeating-linear-gradient(45deg,rgba(58,98,145,.03),rgba(58,98,145,.03) 1px,transparent 1px,transparent 12px)}:root[data-theme=light] .brand-block{box-shadow:inset 0 0 0 1px #ffffffbf}:root[data-theme=light] .sidebar-tenant-switcher{border-color:#91adcf8a;background:linear-gradient(165deg,#f8fcfffa,#f1f7fffa)}:root[data-theme=light] .sidebar-tenant-select{background:linear-gradient(160deg,#fffffffa,#f4f9fffa)}:root[data-theme=light] .brand-initial{border-color:#6e97c973;background:#e8f1fcd9}:root[data-theme=light] .sidebar-collapse-button{border-color:#7b99c094;background:#e4effcd9;color:var(--text-0)}:root[data-theme=light] .sidebar-link{border-color:#a7bcd857;background:#ffffffb8}:root[data-theme=light] .sidebar-link-icon-wrap{background:#e0ecfae0}:root[data-theme=light] .sidebar-link:hover .sidebar-link-icon-wrap,:root[data-theme=light] .sidebar-link-active .sidebar-link-icon-wrap{background:#c6dcf6f2}:root[data-theme=light] .sidebar-link-active{border-color:#468adc9e;background:linear-gradient(130deg,#57b8ff33,#63f5cf29)}:root[data-theme=light] .sidebar-footer{border-top-color:#8ba3c073}:root[data-theme=light] .sidebar-version-text{color:#6e86a0}:root[data-theme=light] .theme-toggle{border-color:#7d9dc48f;background:#e5f0fceb}:root[data-theme=light] .theme-toggle-thumb{border-color:#7197c999;box-shadow:0 4px 10px #2d4c7133}:root[data-theme=light] .user-menu-trigger,:root[data-theme=light] .user-menu-panel,:root[data-theme=light] .user-menu-account,:root[data-theme=light] .user-menu-company-current,:root[data-theme=light] .user-menu-action,:root[data-theme=light] .preference-choice,:root[data-theme=light] .language-switcher{border-color:#91adcf8f}:root[data-theme=light] .user-menu-trigger,:root[data-theme=light] .user-menu-panel,:root[data-theme=light] .user-menu-account,:root[data-theme=light] .user-menu-company-current{background:linear-gradient(160deg,#fcfefffa,#f2f8fffa)}:root[data-theme=light] .user-menu-trigger:hover,:root[data-theme=light] .user-menu-trigger-open{border-color:#2d84de75;background:linear-gradient(160deg,#f7fbfffa,#eef6fffa)}:root[data-theme=light] .user-menu-avatar,:root[data-theme=light] .preference-choice-icon{border-color:#91adcf8a;background:linear-gradient(145deg,#2d84de24,#21b88f1f);color:#173a5f}:root[data-theme=light] .user-menu-meta span,:root[data-theme=light] .user-menu-account span:not(.sidebar-footer-label),:root[data-theme=light] .user-menu-account small,:root[data-theme=light] .user-menu-company-current span,:root[data-theme=light] .user-menu-section-hint,:root[data-theme=light] .user-menu-action small,:root[data-theme=light] .preferences-section-header p,:root[data-theme=light] .preference-choice-copy span,:root[data-theme=light] .preferences-footnote{color:#68819a}:root[data-theme=light] .user-menu-panel{box-shadow:0 20px 40px #203d5f2e}:root[data-theme=light] .user-menu-action{background:#f7fbfff5;color:#173a5f}:root[data-theme=light] .user-menu-action:hover{border-color:#2d84de75;background:#eff7fffa}:root[data-theme=light] .user-menu-action-danger:hover{border-color:#dc5f7666;background:#fff2f5fa}:root[data-theme=light] .preference-choice,:root[data-theme=light] .language-switcher{background:#f8fcfffa}:root[data-theme=light] .preference-choice:hover,:root[data-theme=light] .preference-choice-active,:root[data-theme=light] .language-switcher-button:hover,:root[data-theme=light] .language-switcher-button-active{border-color:#2d84de75;background:#eef6fffa;color:#16395f}:root[data-theme=light] .preference-choice-badge{border-color:#91adcf8a;background:#eff6fff5;color:#2a4767}:root[data-theme=light] .sidebar-powered-link{border-color:#8faacc99;background:#ecf5ffeb;color:#2d4869}:root[data-theme=light] .sidebar-powered-link:hover{border-color:#2d84de75;background:#e2effdf5;color:#173a5f}:root[data-theme=light] .panel{border-color:#94b0d294;background:linear-gradient(170deg,#fffffff5,#f6fafffa)}:root[data-theme=light] .panel-header{border-bottom-color:#99b2d266}:root[data-theme=light] .input,:root[data-theme=light] .select,:root[data-theme=light] .textarea{border-color:#95b1d299;background:linear-gradient(160deg,#fffffffa,#f8fcfffa);color:var(--text-0)}:root[data-theme=light] .select option{color:var(--text-0);background:#fff}:root[data-theme=light] .table-wrap{border-color:#91accd9e;background:#ffffffe0}:root[data-theme=light] .view-toggle-group{border-color:#91accdad;background:#eff6ffe0}:root[data-theme=light] .view-toggle-button{color:#587494}:root[data-theme=light] .view-toggle-button:hover{color:#274a70;background:#d7e6f7db}:root[data-theme=light] .view-toggle-button-active{color:#f7fcff;box-shadow:inset 0 0 0 1px #e8f5ffb3}:root[data-theme=light] .entity-table th{background:#eef6fff2}:root[data-theme=light] .entity-table tbody tr.entity-row-clickable:hover td{background:#e2eefcd1}:root[data-theme=light] .entity-table tbody tr.entity-row-clickable:active td{background:#d6e5f6eb}:root[data-theme=light] .metric-card{border-color:#91accd9e;background:linear-gradient(145deg,#fffffffa,#f6fbfffa);box-shadow:0 8px 16px #28496e14}:root[data-theme=light] .metric-card-positive{border-color:#21a86f80;background:linear-gradient(145deg,#21a86f1f,#fbfffefa)}:root[data-theme=light] .metric-card-warning{border-color:#c88d1685;background:linear-gradient(145deg,#c88d161f,#fffcf6fa)}:root[data-theme=light] .invoice-chart-panel{border-color:#91accda3;background:#fcfefff7}:root[data-theme=light] .invoice-bar-track{border-color:#90accea8;background:#ecf5fff2}:root[data-theme=light] .invoice-chart-column-meta strong{color:#1d3653}:root[data-theme=light] .invoice-chart-column-meta small,:root[data-theme=light] .invoice-chart-column>span{color:#5a7592}:root[data-theme=light] .button-secondary{color:#1f3958;background:#e9f1fbf5;border-color:#8faacca6}:root[data-theme=light] .button-primary{color:#f7fcff;border-color:#4a8fdd8c;background:linear-gradient(130deg,#2d84def0,#21b88feb)}:root[data-theme=light] .button-danger{color:#fff4f7;border-color:#b83d547a;background:linear-gradient(140deg,#d84c63eb,#c23a53eb)}:root[data-theme=light] .profile-company-card{border-color:#91adcf8a;background:linear-gradient(180deg,#f8fcfffa,#f1f7fffa)}:root[data-theme=light] .profile-company-card-header strong{color:#17385d}:root[data-theme=light] .profile-company-card-header span{color:#6c86a0}:root[data-theme=light] .button-ghost{color:#2d4869;background:#ebf4ffb8;border-color:#9bb5d594}:root[data-theme=light] .tag{border-color:#8daacc9e;background:#edf6ffeb;color:#2e4a6a}:root[data-theme=light] .tag-success{border-color:#21a86f80;background:#21a86f1f;color:#0f7651}:root[data-theme=light] .tag-warning{border-color:#c88d1685;background:#c88d1624;color:#8a5f00}:root[data-theme=light] .tag-danger{border-color:#d84c6385;background:#d84c631f;color:#a0334a}:root[data-theme=light] .status-icon{border-color:#8daacc9e;background:#edf6fff2;color:#2e4a6a}:root[data-theme=light] .status-icon-success{border-color:#21a86f80;background:#21a86f24;color:#0f7651}:root[data-theme=light] .status-icon-warning{border-color:#c88d1685;background:#c88d1624;color:#8a5f00}:root[data-theme=light] .status-icon-danger{border-color:#d84c6385;background:#d84c631f;color:#a0334a}:root[data-theme=light] .status-icon-info{border-color:#2d84de80;background:#2d84de24;color:#1a609f}:root[data-theme=light] .task-kanban-lane{border-color:#8eaacc94;background:linear-gradient(165deg,#fcfefff5,#f2f8fffa)}:root[data-theme=light] .task-kanban-lane-header{border-bottom-color:#99b3d361}:root[data-theme=light] .task-kanban-lane-count{border-color:#91accead;background:#edf5ffe6;color:#365574}:root[data-theme=light] .task-kanban-empty{border-color:#9bb7d7a8;background:#eff7ffe6;color:#5d7690}:root[data-theme=light] .task-kanban-card{border-color:#92aed0a3;background:linear-gradient(160deg,#fffffffa,#f4fafffa);box-shadow:0 8px 16px #28496e14}:root[data-theme=light] .task-kanban-card-header h3{color:#19314d}:root[data-theme=light] .task-kanban-card-content p{color:#476482}:root[data-theme=light] .task-kanban-add-button{border-color:#96b1d2b3;background:#ecf5ffd6}:root[data-theme=light] .settings-tabs{border-color:#92aed19e;background:#f4fafff2}:root[data-theme=light] .settings-tab-button{border-color:#90accf99;background:#fffffff5;color:#2a4668}:root[data-theme=light] .settings-tab-button:hover{border-color:#2d84de75;color:#173a5f;background:#eff7fffa}:root[data-theme=light] .settings-tab-button-active{border-color:#2d84de94;background:linear-gradient(135deg,#2d84de33,#21b88f29);color:#153b62}:root[data-theme=light] .branding-preview-card{border-color:#91adcf94;background:#f7fcfff5}:root[data-theme=light] .branding-preview-media{border-color:#84a2c78f;background:linear-gradient(145deg,#fafefffa,#f0f8fffa)}:root[data-theme=light] .branding-preview-favicon-image{border-color:#8ca9cc94;background:#f6fbfffa}:root[data-theme=light] .color-picker-input{border-color:#95b1d29e;background:linear-gradient(160deg,#fffffffa,#f6fbfffa)}:root[data-theme=light] .color-picker-input:hover{border-color:#7b99c0b8}:root[data-theme=light] .invoice-notes-editor{border-color:#8daacd8f;background:#f6fcfff2}:root[data-theme=light] .invoice-entry-summary,:root[data-theme=light] .invoice-derived-total-card,:root[data-theme=light] .invoice-link-button{border-color:#8daacd8f;background:#f6fcfff2}:root[data-theme=light] .empty-state{border-color:#89a7cd9e;background:radial-gradient(circle at top right,rgba(45,132,222,.12),transparent 42%),linear-gradient(165deg,#fffffffa,#f1f8fffa);box-shadow:0 10px 24px #32568014}:root[data-theme=light] .empty-state:before{background:linear-gradient(180deg,#2d84de1f,#21b88f14)}:root[data-theme=light] .empty-state-icon{border-color:#85a6ce9e;background:linear-gradient(160deg,#e8f3fffa,#f1f9fffa);color:#1c6eb7}:root[data-theme=light] .empty-state strong{color:#163452}:root[data-theme=light] .empty-state p{color:#4f6883}:root[data-theme=light] .invoice-entry-checkbox-item{border-color:#8daacd85;background:#fafdfffa}:root[data-theme=light] .invoice-notes-counter-warning{color:#9a6d08}:root[data-theme=light] .template-ide{border-color:#93adcf9e;background:linear-gradient(170deg,#f4fafffa,#edf6fffa)}:root[data-theme=light] .template-ide-toolbar,:root[data-theme=light] .template-token-panel,:root[data-theme=light] .template-editor-head,:root[data-theme=light] .template-editor-footer{background:#edf6ffe6}:root[data-theme=light] .template-editor-body{background:#f8fcfffa}:root[data-theme=light] .template-ide-toolbar{border-bottom-color:#92aed07a}:root[data-theme=light] .template-token-panel{border-right-color:#92aed075}:root[data-theme=light] .template-editor-head{border-bottom-color:#92aed070}:root[data-theme=light] .template-editor-footer{border-top-color:#92aed06b}:root[data-theme=light] .template-editor-tab{border-color:#92aed094;background:#f8fdfffa;color:#2e4a6d}:root[data-theme=light] .template-editor-tab:hover{border-color:#2d84de7a;color:#1c3f64}:root[data-theme=light] .template-editor-tab-active{border-color:#2d84de9e;background:#e7f3fffa;color:#133a62}:root[data-theme=light] .template-token-item{border-color:#91add08a;background:#fafefffa;color:#2b4869}:root[data-theme=light] .template-token-item:hover{border-color:#2d84de7a;background:#eef8fffa}:root[data-theme=light] .template-token-code{color:#24588d}:root[data-theme=light] .template-token-target{border-color:#86a4c894;color:#496a91;background:#f0f7fff5}:root[data-theme=light] .template-editor-gutter{background:#ecf6fff2;border-right-color:#91adce94;color:#657e9ccc}:root[data-theme=light] .template-editor-highlight{color:#1d3e62}:root[data-theme=light] .template-editor-textarea{caret-color:#1a3a5e}:root[data-theme=light] .template-editor-textarea::selection{background:#2d84de38}:root[data-theme=light] .template-syntax-comment{color:#6e86a4}:root[data-theme=light] .template-syntax-tag{color:#0f6eb6}:root[data-theme=light] .template-syntax-attr-name{color:#9a6a00}:root[data-theme=light] .template-syntax-attr-value{color:#0d8b5d}:root[data-theme=light] .template-syntax-string{color:#2f7e3e}:root[data-theme=light] .template-syntax-selector{color:#1f66aa}:root[data-theme=light] .template-syntax-property{color:#a15e14}:root[data-theme=light] .template-syntax-atrule{color:#215fb3}:root[data-theme=light] .template-syntax-number{color:#9f6f00}:root[data-theme=light] .template-syntax-placeholder{color:#7a4bb8}:root[data-theme=light] .template-syntax-operator{color:#5f789a}:root[data-theme=light] .template-syntax-punctuation{color:#5f789a}@media (min-width: 961px){.app-shell-collapsed .sidebar{padding:16px 12px}.app-shell-collapsed .sidebar-topbar{flex-direction:column;align-items:center}.app-shell-collapsed .brand-block{align-items:center;padding:10px 8px;gap:4px}.app-shell-collapsed .brand-block strong,.app-shell-collapsed .brand-block span,.app-shell-collapsed .sidebar-group-title,.app-shell-collapsed .sidebar-link-label{display:none}.app-shell-collapsed .brand-logo{width:36px;max-height:36px;object-position:center}.app-shell-collapsed .brand-initial{width:36px;height:36px;border-radius:10px;font-size:.88rem}.app-shell-collapsed .sidebar-nav{margin-top:16px;gap:12px}.app-shell-collapsed .sidebar-footer{margin-top:12px;padding-top:10px;justify-items:center}.app-shell-collapsed .sidebar-footer-label{display:none}.app-shell-collapsed .sidebar-theme-row{justify-content:center}.app-shell-collapsed .sidebar-powered-by{display:none}.app-shell-collapsed .sidebar-group{gap:7px}.app-shell-collapsed .sidebar-link{justify-content:center;padding:10px;transform:none}.app-shell-collapsed .sidebar-link:hover{transform:none}.app-shell-collapsed .sidebar-link-icon-wrap{width:36px;height:36px}}.content{min-width:0;padding:24px clamp(16px,2.5vw,36px) 40px}.topbar{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:22px}.topbar h1{margin:0;font-size:clamp(1.25rem,3.6vw,1.95rem);letter-spacing:.02em}.topbar p{margin:6px 0 0;color:var(--text-2)}.topbar-actions{display:flex;gap:10px;align-items:center}.topbar-user-tools{display:flex;align-items:center;gap:10px;margin-left:auto}.user-menu{position:relative}.user-menu-trigger{min-width:min(340px,40vw);display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:8px 12px;border:1px solid rgba(94,126,171,.52);border-radius:18px;background:linear-gradient(145deg,#0e1727eb,#0a121ff5);color:var(--text-0);cursor:pointer;transition:border-color .2s ease,background-color .2s ease,transform .16s ease}.user-menu-trigger:hover,.user-menu-trigger-open{border-color:#63f5cf6b;background:linear-gradient(145deg,#121e31f0,#0c1423fa)}.user-menu-trigger:hover{transform:translateY(-1px)}.user-menu-trigger:focus-visible,.user-menu-action:focus-visible,.preference-choice:focus-visible,.language-switcher-button:focus-visible{outline:2px solid rgba(87,184,255,.54);outline-offset:2px}.user-menu-avatar{width:40px;height:40px;border-radius:14px;border:1px solid rgba(107,141,188,.44);background:linear-gradient(145deg,#57b8ff2e,#63f5cf29);display:inline-flex;align-items:center;justify-content:center;font-size:.84rem;font-weight:700;letter-spacing:.08em}.user-menu-meta{min-width:0;display:grid;gap:3px;text-align:left}.user-menu-meta strong,.user-menu-meta span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-menu-meta strong{font-size:.9rem}.user-menu-meta span{color:var(--text-2);font-size:.76rem}.user-menu-chevron{width:15px;height:15px;color:var(--text-2);transition:transform .2s ease}.user-menu-chevron-open{transform:rotate(180deg)}.user-menu-panel{position:absolute;top:calc(100% + 12px);right:0;width:min(360px,calc(100vw - 32px));padding:14px;border-radius:22px;border:1px solid rgba(92,124,169,.42);background:linear-gradient(165deg,#0c1422fa,#09101bfa);box-shadow:0 20px 44px #050b146b;display:grid;gap:14px;z-index:40}.user-menu-account,.user-menu-company-current{display:grid;gap:4px;padding:14px;border-radius:18px;border:1px solid rgba(93,125,170,.34);background:linear-gradient(150deg,#0f1828e0,#0a121ff0)}.user-menu-account strong,.user-menu-company-current strong{color:var(--text-0);font-size:.94rem}.user-menu-account span:not(.sidebar-footer-label),.user-menu-account small,.user-menu-company-current span{color:var(--text-2);font-size:.77rem;line-height:1.5}.user-menu-section{display:grid;gap:10px}.user-menu-section-hint{margin:0;color:var(--text-2);font-size:.8rem;line-height:1.5}.user-menu-company-select{min-height:42px}.user-menu-actions{display:grid;gap:10px}.user-menu-action{width:100%;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px;padding:13px 14px;border:1px solid rgba(94,126,171,.36);border-radius:16px;background:#0e1625c2;color:var(--text-0);cursor:pointer;text-align:left;transition:border-color .2s ease,background-color .2s ease,transform .16s ease}.user-menu-action:hover{border-color:#63f5cf6b;background:#121e30e0;transform:translateY(-1px)}.user-menu-action svg{width:16px;height:16px;stroke:currentColor;stroke-width:2}.user-menu-action span{display:grid;gap:3px;min-width:0}.user-menu-action strong{font-size:.9rem}.user-menu-action small{color:var(--text-2);font-size:.76rem}.user-menu-action-danger{border-color:#b15e6e57}.user-menu-action-danger:hover{border-color:#f4768a70;background:#341018cc}.preferences-modal{display:grid;gap:22px}.preferences-section{display:grid;gap:14px}.preferences-section-header h3{margin:0;font-size:1rem}.preferences-section-header p{margin:6px 0 0;color:var(--text-2);line-height:1.5}.preferences-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.preference-choice{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:12px;padding:16px;border:1px solid rgba(92,124,169,.36);border-radius:20px;background:linear-gradient(150deg,#0e1625d1,#0a121feb);color:var(--text-0);cursor:pointer;text-align:left;transition:border-color .2s ease,background-color .2s ease,transform .16s ease}.preference-choice:hover,.preference-choice-active{border-color:#57b8ff85;background:linear-gradient(145deg,#132136eb,#0c1523f5);transform:translateY(-1px)}.preference-choice-icon{width:40px;height:40px;border-radius:14px;border:1px solid rgba(104,138,183,.42);background:linear-gradient(145deg,#57b8ff29,#63f5cf26);display:inline-flex;align-items:center;justify-content:center;color:var(--text-0)}.preference-choice-copy{min-width:0;display:grid;gap:4px}.preference-choice-copy strong{font-size:.95rem}.preference-choice-copy span{color:var(--text-1);font-size:.82rem;line-height:1.5}.preference-choice-badge{display:inline-flex;align-items:center;justify-content:center;padding:4px 8px;border-radius:999px;border:1px solid rgba(102,135,180,.36);background:#121c2eb8;color:var(--text-1);font-size:.7rem;font-weight:600;letter-spacing:.04em}.preferences-footnote{margin:0;color:var(--text-2);font-size:.82rem}.language-switcher{display:flex;align-items:center;flex-wrap:nowrap;flex:0 0 auto;gap:8px;min-width:max-content;padding:6px;border:1px solid rgba(93,125,170,.34);border-radius:999px;background:#0e1625c2}.language-switcher-button{display:inline-flex;align-items:center;flex:0 0 auto;gap:8px;padding:8px 12px;border:1px solid transparent;border-radius:999px;background:transparent;color:var(--text-1);white-space:nowrap;cursor:pointer;transition:border-color .2s ease,background-color .2s ease,color .2s ease}.language-switcher-button:hover,.language-switcher-button-active{border-color:#57b8ff6b;background:#142136e0;color:var(--text-0)}.language-switcher-button svg{width:15px;height:15px;stroke:currentColor;stroke-width:2}.api-chip{display:inline-flex;align-items:center;max-width:min(52vw,460px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border-radius:999px;border:1px solid rgba(86,118,163,.65);background:#0e1526bf;padding:8px 12px;font-size:.82rem;color:var(--text-1)}.api-activity-chip{position:relative;display:inline-flex;align-items:center;max-width:min(58vw,280px);white-space:nowrap;text-overflow:ellipsis;border-radius:999px;border:1px solid rgba(93,155,221,.6);background:#122136db;padding:8px 12px;font-size:.79rem;color:var(--text-0);overflow:hidden}.api-activity-chip:after{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 0%,rgba(255,255,255,.12) 42%,transparent 75%);transform:translate(-120%);animation:skeleton-shimmer 1.3s ease-in-out infinite;pointer-events:none}.api-progress{position:fixed;inset:0 0 auto;height:3px;background:linear-gradient(90deg,#57b8fff2,#63f5cff2);transform:translate(-100%);opacity:0;transition:opacity .2s ease;z-index:120;pointer-events:none}.api-progress-active{opacity:1;animation:api-progress-slide 1.15s linear infinite}.menu-button{display:none;border:1px solid var(--line-strong);border-radius:999px;background:#10182aa6;color:var(--text-0);padding:9px 13px;font-size:.84rem;cursor:pointer}.content-body,.page-grid{display:grid;gap:18px}.settings-tabs{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:8px;border:1px solid rgba(80,112,158,.42);border-radius:14px;background:#0c1322b8}.settings-tab-button{border:1px solid rgba(84,115,161,.5);border-radius:10px;background:#0a111ec2;color:var(--text-1);padding:8px 12px;font-size:.82rem;font-weight:600;cursor:pointer;transition:border-color .2s ease,background-color .2s ease,color .2s ease}.settings-tab-button:hover{border-color:#63f5cf73;color:var(--text-0)}.settings-tab-button-active{border-color:#57b8ffb8;background:linear-gradient(135deg,#57b8ff33,#63f5cf24);color:var(--text-0)}.panel{border:1px solid rgba(73,103,148,.45);background:linear-gradient(170deg,#0e1626e6,#0b111df5);border-radius:var(--radius-lg);box-shadow:var(--shadow-soft)}.panel-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:18px 20px;border-bottom:1px solid rgba(84,116,162,.23)}.panel-header h2{margin:0;font-size:1.05rem;letter-spacing:.01em}.panel-header p{margin:5px 0 0;color:var(--text-2);font-size:.9rem}.panel-actions{min-width:min(360px,100%)}.panel-header-actions-block{flex-direction:column;align-items:stretch}.panel-actions-block{width:100%;min-width:0}.panel-body{padding:18px 20px 20px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.customer-create-form{row-gap:16px}.modal-form-section{display:grid;gap:14px;padding:16px;border:1px solid rgba(84,116,162,.2);border-radius:16px;background:linear-gradient(180deg,#101a2bb3,#0b121fb8)}.modal-form-section-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.modal-form-section-header h3{margin:0;font-size:.95rem;color:var(--text-0)}.modal-form-section-header p{margin:4px 0 0;font-size:.82rem;color:var(--text-2)}.modal-form-section-grid{gap:14px 12px}.profile-company-list{display:grid;gap:12px}.profile-company-card{display:grid;gap:14px;padding:14px;border:1px solid rgba(84,116,162,.22);border-radius:16px;background:linear-gradient(180deg,#0e17269e,#0b121fc2)}.profile-company-card-header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.profile-company-card-header strong{color:var(--text-0);font-size:.95rem}.profile-company-card-header span{color:var(--text-2);font-size:.72rem;word-break:break-all}.field{display:grid;gap:7px}.field-label{font-size:.8rem;letter-spacing:.01em;color:var(--text-1)}.field-hint{font-size:.74rem;color:var(--text-2)}.field-error{color:var(--danger);font-size:.79rem}.error-text{margin:0;border:1px solid rgba(221,106,126,.45);border-radius:12px;background:#3a131e73;color:#ffd8de;font-size:.83rem;padding:10px 12px;display:inline-flex;align-items:flex-start;gap:8px}.error-text:before{content:"!";width:18px;height:18px;border-radius:999px;border:1px solid rgba(255,145,164,.8);display:inline-flex;align-items:center;justify-content:center;font-size:.74rem;font-weight:700;line-height:1;margin-top:1px}.input,.select,.textarea{width:100%;border:1px solid var(--line);border-radius:11px;color:var(--text-0);background:linear-gradient(160deg,#0f1728f2,#0c121eeb);padding:10px 12px;font-size:.95rem;outline:none;transition:border-color .2s ease,box-shadow .2s ease}.select option{color:var(--text-0);background:#0f1623}.input:focus,.select:focus,.textarea:focus{border-color:var(--brand-2);box-shadow:0 0 0 3px #57b8ff29}.input:disabled,.select:disabled,.textarea:disabled{cursor:not-allowed;opacity:.58}.textarea{resize:vertical;min-height:92px}.form-actions{grid-column:1 / -1;display:flex;justify-content:flex-end}.confirm-modal-actions{display:flex;justify-content:flex-end;gap:10px}.form-span-all{grid-column:1 / -1;min-width:0}.branding-color-inputs{display:grid;grid-template-columns:54px minmax(0,1fr);gap:8px;align-items:center}.color-picker-input{appearance:none;width:54px;height:42px;border-radius:11px;border:1px solid var(--line);background:linear-gradient(160deg,#0f1728f2,#0c121eeb);padding:4px;cursor:pointer;transition:border-color .2s ease,box-shadow .2s ease,background-color .2s ease}.color-picker-input:hover{border-color:var(--line-strong)}.color-picker-input:focus-visible{outline:2px solid color-mix(in srgb,var(--brand-2) 55%,transparent);outline-offset:1px;box-shadow:0 0 0 3px color-mix(in srgb,var(--brand-2) 18%,transparent)}.color-picker-input::-webkit-color-swatch-wrapper{padding:0;border-radius:8px}.color-picker-input::-webkit-color-swatch{border:0;border-radius:8px}.color-picker-input::-moz-color-swatch{border:0;border-radius:8px}.branding-preview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.branding-media-field{display:grid;gap:10px}.branding-media-actions{display:flex;flex-wrap:wrap;gap:8px}.branding-media-meta{display:grid;gap:4px}.branding-media-meta .field-hint{margin:0}.branding-preview-card{border:1px solid rgba(82,114,160,.4);border-radius:12px;background:#0c1320c2;padding:10px;display:grid;gap:8px}.branding-preview-card header strong{font-size:.8rem;color:var(--text-1)}.branding-preview-media{border:1px dashed rgba(94,127,176,.44);border-radius:10px;min-height:90px;background:linear-gradient(140deg,#10192ae0,#0a0f1be0);display:flex;align-items:center;justify-content:center;padding:12px}.branding-preview-media-logo,.branding-preview-media-favicon{min-height:120px}.branding-preview-logo-image{max-width:100%;max-height:92px;object-fit:contain}.branding-preview-favicon-image{width:clamp(44px,9vw,64px);height:clamp(44px,9vw,64px);border-radius:12px;object-fit:contain;border:1px solid rgba(99,131,177,.45);background:#090e18d1;padding:6px}.branding-preview-empty{color:var(--text-2);font-size:.78rem}.template-ide{border:1px solid rgba(87,120,167,.42);border-radius:14px;background:linear-gradient(170deg,#0a101ceb,#090e19fa);overflow:hidden}.template-ide-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;border-bottom:1px solid rgba(81,112,156,.35);background:#0e1726bd}.template-ide-hint{color:var(--text-2);font-size:.72rem;line-height:1.35}.template-editor-tabs{display:inline-flex;align-items:center;gap:7px}.template-editor-tab{border:1px solid rgba(93,124,169,.5);border-radius:8px 8px 0 0;background:#0b1321b8;color:var(--text-1);padding:7px 10px;font-size:.74rem;font-family:JetBrains Mono,Fira Code,monospace;cursor:pointer;transition:border-color .2s ease,color .2s ease,background-color .2s ease}.template-editor-tab:hover{border-color:#63f5cf6b;color:var(--text-0)}.template-editor-tab-active{border-color:#57b8ffb8;color:var(--text-0);background:#15253df0}.template-ide-main{display:grid;grid-template-columns:minmax(220px,300px) minmax(0,1fr);min-height:460px}.template-token-panel{border-right:1px solid rgba(78,110,156,.3);padding:12px;display:grid;grid-template-rows:auto auto 1fr;gap:10px;min-width:0;background:#0c142194}.template-token-panel strong{font-size:.86rem;letter-spacing:.01em}.template-token-panel p{margin:0;color:var(--text-2);font-size:.74rem;line-height:1.38}.template-token-list{display:grid;gap:8px;max-height:372px;overflow-y:auto;padding-right:4px}.template-token-item{border:1px solid rgba(88,120,167,.42);border-radius:10px;background:#10192bd9;text-align:left;padding:8px 9px;display:grid;gap:5px;cursor:grab;color:var(--text-1);transition:border-color .2s ease,transform .16s ease,background-color .2s ease}.template-token-item:active{cursor:grabbing}.template-token-item:hover{border-color:#63f5cf7a;transform:translateY(-1px);background:#152138eb}.template-token-item-muted{opacity:.68}.template-token-code{font-family:JetBrains Mono,Fira Code,monospace;font-size:.72rem;color:#d5e8ff;word-break:break-all}.template-token-item small{color:var(--text-2);font-size:.71rem;line-height:1.32}.template-token-target{display:inline-flex;justify-self:flex-end;border:1px solid rgba(100,131,176,.52);border-radius:999px;padding:2px 7px;color:var(--text-2);font-size:.64rem;letter-spacing:.03em}.template-editor-pane{min-width:0;display:grid;grid-template-rows:auto 1fr auto}.template-editor-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border-bottom:1px solid rgba(82,113,158,.28);background:#09101ca3}.template-editor-head span{font-size:.76rem;color:var(--text-1);font-family:JetBrains Mono,Fira Code,monospace}.template-editor-head small{font-size:.7rem;color:var(--text-2)}.template-editor-body{display:grid;grid-template-columns:58px minmax(0,1fr);min-height:380px;background:#080d16f5}.template-editor-body-drag-over{box-shadow:inset 0 0 0 1px #63f5cfa6;background:#08141ff5}.template-editor-gutter{margin:0;padding:12px 8px 12px 0;text-align:right;border-right:1px solid rgba(76,108,154,.4);color:#93a4c4ad;background:#090e18ed;font-family:JetBrains Mono,Fira Code,monospace;font-size:.73rem;line-height:1.56;overflow:hidden;-webkit-user-select:none;user-select:none}.template-editor-code-layer{position:relative;min-height:380px}.template-editor-highlight{position:absolute;inset:0;margin:0;padding:12px 14px;border:0;background:transparent;color:#dce9ff;pointer-events:none;white-space:pre;overflow:hidden;font-family:JetBrains Mono,Fira Code,monospace;font-size:.8rem;line-height:1.56;tab-size:2}.template-editor-textarea{position:absolute;inset:0;width:100%;height:100%;padding:12px 14px;border:0;border-radius:0;outline:none;resize:none;background:transparent;color:transparent;caret-color:#ecf5ff;font-family:JetBrains Mono,Fira Code,monospace;font-size:.8rem;line-height:1.56;tab-size:2;white-space:pre;overflow:auto}.template-editor-textarea::selection{background:#57b8ff52}.template-syntax-comment{color:#6f83a6}.template-syntax-tag{color:#67d1ff}.template-syntax-attr-name{color:#ffd27a}.template-syntax-attr-value{color:#99f0c6}.template-syntax-string{color:#9ce7ac}.template-syntax-selector{color:#7dc0ff}.template-syntax-property{color:#ffb778}.template-syntax-atrule{color:#9cc5ff}.template-syntax-number{color:#f2d07d}.template-syntax-placeholder{color:#d4a9ff}.template-syntax-operator{color:#9fb3d2}.template-syntax-punctuation{color:#7f95b8}.template-editor-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 12px;border-top:1px solid rgba(77,109,154,.28);background:#0a111ecc}.template-editor-footer small{color:var(--text-2);font-size:.7rem}.button{border-radius:11px;border:1px solid transparent;color:var(--text-0);padding:10px 14px;font-size:.87rem;letter-spacing:.01em;cursor:pointer;transition:transform .18s ease,border-color .2s ease,opacity .2s ease}.button:hover:not(:disabled){transform:translateY(-1px)}.button:disabled{cursor:not-allowed;opacity:.55}.button-primary{background:linear-gradient(130deg,var(--brand-2),var(--brand));color:#09121f;border-color:#c6f6ff73;font-weight:700}.button-secondary{background:#17233ce6;border-color:var(--line-strong)}.button-danger{background:#3f121cf2;border-color:#d5485f8c}.button-ghost{background:#101a2a59;border-color:#6788b866;color:var(--text-1)}.action-icon-button{width:34px;height:34px;padding:0;border-radius:10px;display:inline-flex;align-items:center;justify-content:center}.action-icon-svg{width:16px;height:16px;stroke:currentColor;stroke-width:1.85;stroke-linecap:round;stroke-linejoin:round;fill:none}.metrics-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.metric-card{border:1px solid color-mix(in srgb,var(--line-strong) 70%,transparent);border-radius:var(--radius-md);background:linear-gradient(145deg,color-mix(in srgb,var(--bg-2) 88%,transparent),color-mix(in srgb,var(--bg-1) 90%,transparent));padding:12px;display:grid;gap:8px}.metric-card span{color:var(--text-2);font-size:.82rem}.metric-card strong{font-size:1.38rem;color:var(--text-0)}.metric-card-positive{border-color:color-mix(in srgb,var(--success) 58%,transparent);background:linear-gradient(145deg,color-mix(in srgb,var(--success) 14%,var(--bg-2)),color-mix(in srgb,var(--bg-1) 92%,transparent))}.metric-card-warning{border-color:color-mix(in srgb,var(--warning) 58%,transparent);background:linear-gradient(145deg,color-mix(in srgb,var(--warning) 12%,var(--bg-2)),color-mix(in srgb,var(--bg-1) 92%,transparent))}.dashboard-filters{display:grid;grid-template-columns:repeat(3,minmax(160px,1fr));gap:10px;align-items:end}.dashboard-filters .field{min-width:0}.dashboard-filters .field-label{font-size:.74rem}.dashboard-filter-reset{display:flex;align-items:flex-end}.invoice-analytics-grid{display:grid;gap:14px}.invoice-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.invoice-month-comparison{margin:0;color:var(--text-1);font-size:.87rem;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.invoice-chart-panel{border:1px solid color-mix(in srgb,var(--line-strong) 66%,transparent);border-radius:12px;background:color-mix(in srgb,var(--bg-1) 82%,transparent);padding:12px;display:grid;gap:12px}.invoice-chart-legend{display:flex;align-items:center;gap:14px;flex-wrap:wrap;font-size:.78rem;color:var(--text-2)}.invoice-chart-legend span{display:inline-flex;align-items:center;gap:6px}.invoice-legend-dot{width:9px;height:9px;border-radius:999px;display:inline-block}.invoice-legend-total{background:#57b8ffeb;box-shadow:0 0 0 1px #9ed8ff80}.invoice-legend-paid{background:#63f5cfeb;box-shadow:0 0 0 1px #aeffea80}.invoice-chart-grid{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(92px,1fr);gap:10px;align-items:end;overflow-x:auto;padding-bottom:4px}.invoice-chart-column{display:grid;justify-items:center;gap:8px;min-width:92px}.invoice-chart-column-meta{display:grid;gap:2px;text-align:center}.invoice-chart-column-meta strong{font-size:.72rem;line-height:1.2;color:var(--text-0)}.invoice-chart-column-meta small{font-size:.7rem;color:var(--text-2)}.invoice-bar-pair{display:flex;align-items:flex-end;gap:6px;height:190px}.invoice-bar-track{width:14px;height:180px;border-radius:999px;border:1px solid color-mix(in srgb,var(--line-strong) 66%,transparent);background:color-mix(in srgb,var(--bg-2) 90%,transparent);position:relative;overflow:hidden}.invoice-bar{position:absolute;left:0;right:0;bottom:0;min-height:2px}.invoice-bar-total{background:linear-gradient(180deg,#57b8ff47,#57b8fff2)}.invoice-bar-paid{background:linear-gradient(180deg,#63f5cf47,#63f5cff2)}.invoice-chart-column>span{font-size:.76rem;color:var(--text-2);text-transform:capitalize}.invoice-notes-editor{border:1px solid rgba(82,111,155,.38);border-radius:12px;background:#0a101cb3;padding:10px;display:grid;gap:9px}.invoice-notes-toolbar{display:flex;flex-wrap:wrap;gap:7px}.invoice-note-chip{padding:6px 10px;font-size:.76rem;border-radius:9px}.invoice-notes-input{min-height:140px;line-height:1.45}.invoice-notes-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.invoice-notes-counter{font-size:.75rem;color:var(--text-2)}.invoice-notes-counter-warning{color:#ffe7ab}.invoice-entry-filter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.invoice-entry-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:12px 14px;border:1px solid rgba(82,111,155,.38);border-radius:14px;background:#0c1422b8;color:var(--text-1);font-size:.84rem}.invoice-entry-actions{display:flex;flex-wrap:wrap;gap:8px}.invoice-entry-checkbox-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.invoice-entry-checkbox-item{min-width:0;align-items:flex-start;border:1px solid rgba(82,111,155,.32);border-radius:14px;background:#0e1626d1}.invoice-entry-checkbox-item span{min-width:0}.invoice-entry-checkbox-item strong,.invoice-entry-checkbox-item small{display:block;overflow-wrap:anywhere}.invoice-derived-total-card{display:grid;gap:6px;padding:12px 14px;border:1px solid rgba(82,111,155,.38);border-radius:14px;background:#0c1422b8}.invoice-derived-total-card strong{color:var(--text-0);font-size:.84rem}.invoice-derived-total-card span{color:var(--text-2);font-size:.8rem}.platform-demo-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px}.platform-demo-meta p{margin:0;color:var(--text-1);font-size:.84rem}.platform-demo-meta strong{color:var(--text-0)}.platform-demo-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.platform-demo-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.stack-list{display:grid;gap:8px}.ordered-list{margin:0;padding-left:18px;display:grid;gap:7px;color:var(--text-1)}.loading-block{display:grid;gap:9px}.loading-label{color:var(--text-2);font-size:.79rem}.loading-skeleton{display:grid;gap:7px}.skeleton-line{height:11px;border-radius:999px;border:1px solid rgba(96,123,165,.3);background:linear-gradient(100deg,#26385452 20%,#4e6ea08a,#26385452 80%);background-size:220% 100%;animation:skeleton-shimmer 1.2s ease-in-out infinite}.skeleton-line-wide{width:min(460px,100%)}.skeleton-line-short{width:min(220px,65%)}.cards-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.actions-inline{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.list-section-actions{width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center}.tasks-section-actions{width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end}.tasks-filter-grid{display:grid;grid-template-columns:minmax(240px,1.6fr) repeat(3,minmax(150px,1fr));gap:10px;align-items:end}.tasks-filter-grid .field{min-width:0}.tasks-filter-grid .field-label{font-size:.74rem}.time-tracker-section-actions{width:100%;display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) auto;gap:10px;align-items:end}.time-tracker-filter-grid{display:grid;grid-template-columns:repeat(2,minmax(170px,1fr));gap:10px;align-items:end}.list-section-actions .input,.list-section-actions .select,.time-tracker-section-actions .input,.time-tracker-section-actions .select,.time-tracker-filter-grid .input,.time-tracker-filter-grid .select,.tasks-filter-grid .input,.tasks-filter-grid .select{width:100%}.list-section-actions .button{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}.list-section-actions .action-icon-button,.time-tracker-section-actions .action-icon-button{justify-self:end}.invoice-link-button{padding:6px 10px;min-height:auto;border-radius:10px;border:1px solid rgba(82,111,155,.38);background:#0c1422b8;color:var(--text-1);font-size:.78rem}.list-section-actions-right{display:inline-flex;align-items:center;justify-content:flex-end;gap:10px;min-width:0}.view-toggle-group{display:inline-flex;align-items:center;gap:4px;padding:3px;border-radius:11px;border:1px solid rgba(94,124,169,.5);background:#0c1422b8}.view-toggle-button{appearance:none;border:0;background:transparent;color:var(--text-2);border-radius:8px;padding:6px 10px;min-height:28px;display:inline-flex;align-items:center;gap:6px;font-size:.78rem;font-weight:600;line-height:1;cursor:pointer;transition:color .2s ease,background-color .2s ease,box-shadow .2s ease}.view-toggle-button:hover{color:var(--text-0);background:#21314e94}.view-toggle-button:focus-visible{outline:2px solid color-mix(in srgb,var(--brand-2) 58%,transparent);outline-offset:1px}.view-toggle-button-active{color:var(--text-0);background:linear-gradient(140deg,color-mix(in srgb,var(--brand-2) 74%,rgba(19,34,56,.84)),color-mix(in srgb,var(--brand) 70%,rgba(17,31,52,.84)));box-shadow:inset 0 0 0 1px #d1eeff38}.view-toggle-icon{width:14px;height:14px;stroke:currentColor;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round}.table-wrap{width:100%;overflow:auto;border:1px solid rgba(82,111,155,.38);border-radius:12px;background:#0a101ccc}.entity-table{width:100%;border-collapse:collapse;min-width:880px}.entity-table th,.entity-table td{text-align:left;padding:10px 12px;border-bottom:1px solid rgba(80,111,158,.3);vertical-align:top}.entity-table th{position:sticky;top:0;z-index:1;font-size:.78rem;letter-spacing:.02em;text-transform:uppercase;color:var(--text-2);background:#0b1220f2}.table-header-cell{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.table-sort-button{width:20px;height:20px;min-width:20px;border-radius:6px;padding:0;color:var(--text-2);border-color:#6685b266;background:#0f182861}.table-sort-button .action-icon-svg{width:12px;height:12px;stroke-width:2.1}.table-sort-button:hover{color:var(--text-0);border-color:#63f5cf80;background:#152239ad}.table-sort-button-active{color:var(--brand);border-color:color-mix(in srgb,var(--brand) 62%,transparent);background:color-mix(in srgb,var(--brand) 16%,rgba(16,26,42,.38))}.entity-table td{font-size:.88rem;color:var(--text-1)}.entity-table tbody tr.entity-row-clickable{cursor:pointer}.entity-table tbody tr.entity-row-clickable td{transition:background-color .14s ease}.entity-table tbody tr.entity-row-clickable:hover td{background:#16233994}.entity-table tbody tr.entity-row-clickable:active td{background:#1c2c45b3}.entity-table tr:last-child td{border-bottom:0}.entity-card{border:1px solid rgba(78,111,158,.42);border-radius:var(--radius-md);background:linear-gradient(160deg,#0f1628e0,#0c1221eb);padding:14px;display:grid;gap:10px}.entity-card-header{display:flex;justify-content:space-between;align-items:center;gap:12px}.entity-card ul{margin:0;padding:0;list-style:none;display:grid;gap:8px}.entity-card li{display:grid;gap:4px}.entity-card li>span:first-child{color:var(--text-2);font-size:.76rem;letter-spacing:.01em}.entity-card li>span:last-child{color:var(--text-1);font-size:.9rem}.tag{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:5px 10px;font-size:.72rem;border:1px solid rgba(102,130,174,.45);color:var(--text-1);background:#162138b3}.tag-success{border-color:#5af28f99;color:#b4ffd0}.tag-warning{border-color:#ffcb5b99;color:#ffe7ab}.tag-danger{border-color:#ff5a6ea6;color:#ffd1d8}.status-icon{width:34px;height:34px;border-radius:999px;border:1px solid rgba(96,128,173,.45);background:#142038b8;display:inline-flex;align-items:center;justify-content:center;color:var(--text-1)}.status-icon-svg{width:16px;height:16px;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.status-icon-success{border-color:#5af28f94;background:#153828ad;color:#b4ffd0}.status-icon-warning{border-color:#ffcb5b99;background:#3a2d13b8;color:#ffe7ab}.status-icon-danger{border-color:#ff5a6ea6;background:#451722b8;color:#ffd1d8}.status-icon-info{border-color:#57b8ff9e;background:#182b45b8;color:#c6e9ff}.button .status-icon{width:22px;height:22px}.button .status-icon-svg{width:13px;height:13px}.card-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.task-kanban-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}.task-kanban-lane{border:1px solid rgba(82,111,156,.4);border-radius:14px;background:linear-gradient(165deg,#0c1422db,#080e18e6);min-width:0;display:flex;flex-direction:column}.task-kanban-lane-drop-active{border-color:color-mix(in srgb,var(--brand-2) 62%,transparent);box-shadow:0 0 0 2px color-mix(in srgb,var(--brand-2) 18%,transparent)}.task-kanban-lane-header{padding:10px 12px;border-bottom:1px solid rgba(84,114,157,.28);display:flex;align-items:center;justify-content:space-between;gap:10px}.task-kanban-lane-title{display:inline-flex;align-items:center;gap:8px;min-width:0}.task-kanban-lane-title strong{color:var(--text-0);font-size:.86rem}.task-kanban-lane-count{border-radius:999px;border:1px solid rgba(109,140,186,.5);padding:3px 8px;font-size:.72rem;color:var(--text-1);background:#152136c7}.task-kanban-lane-body{padding:10px;display:grid;gap:10px;align-content:start;max-height:calc(100vh - 390px);min-height:260px;overflow-y:auto}.task-kanban-empty{margin:0;border:1px dashed rgba(103,136,184,.42);border-radius:12px;padding:12px 10px;color:var(--text-2);font-size:.79rem;text-align:center;background:#0f182775}.task-kanban-card{border:1px solid rgba(86,118,163,.42);border-radius:12px;background:linear-gradient(160deg,#121b2dd6,#0c1320e0);padding:10px;display:grid;gap:10px;box-shadow:0 8px 18px #060c1633;cursor:pointer}.task-kanban-card[draggable=true]{cursor:grab}.task-kanban-card[draggable=true]:active{cursor:grabbing}.task-kanban-card-dragging{opacity:.35}.task-kanban-card-archived{border-style:dashed;opacity:.72}.task-kanban-card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.task-kanban-card-header h3{margin:0;font-size:.9rem;color:var(--text-0)}.task-kanban-card-content{display:grid;gap:5px}.task-kanban-card-content p{margin:0;color:var(--text-1);font-size:.8rem}.task-kanban-archived-label{color:color-mix(in srgb,var(--warning) 78%,var(--text-0));font-weight:600}.task-kanban-card .card-actions{justify-content:flex-start}.task-kanban-add-button{width:100%;justify-content:center;border-style:dashed;border-color:#6886b38f}.task-kanban-add-icon{width:14px;height:14px;stroke:currentColor;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round}.status-actions{display:flex;flex-wrap:wrap;gap:8px}.record-view-modal{display:grid;gap:14px}.record-view-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px}.record-view-field{border:1px solid color-mix(in srgb,var(--line) 88%,transparent);border-radius:12px;padding:10px 12px;background:color-mix(in srgb,var(--bg-2) 80%,transparent);display:grid;gap:4px;min-width:0}.record-view-field-full{grid-column:1 / -1}.record-view-field-label{color:var(--text-2);font-size:.72rem;text-transform:uppercase;letter-spacing:.08em}.record-view-field-value{color:var(--text-0);font-size:.86rem;line-height:1.4;word-break:break-word}.record-view-field-value code{font-size:.74rem}.record-view-journal{display:grid;gap:8px}.record-view-section-title{margin:0;color:var(--text-1);font-size:.82rem;letter-spacing:.04em}.record-journal{display:grid;gap:10px}.customer-contact-header{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.record-journal-body{border:1px solid color-mix(in srgb,var(--line) 88%,transparent);border-radius:12px;padding:10px;background:color-mix(in srgb,var(--bg-2) 80%,transparent);display:grid;gap:10px}.record-journal-form{display:grid;gap:10px}.record-journal-list{display:grid;gap:8px;max-height:310px;overflow-y:auto;padding-right:4px}.record-journal-entry{border:1px solid color-mix(in srgb,var(--line) 86%,transparent);border-radius:10px;padding:10px;display:grid;gap:6px;background:color-mix(in srgb,var(--bg-1) 88%,transparent)}.record-journal-entry header{display:flex;align-items:center;justify-content:space-between;gap:8px}.record-journal-entry header span{color:var(--text-2);font-size:.74rem}.record-journal-entry p{margin:0;color:var(--text-1);font-size:.85rem}.record-journal-entry small{color:var(--text-2);font-size:.75rem}.inline-modal-backdrop{position:fixed;inset:0;z-index:45;background:#040910c7;display:flex;align-items:center;justify-content:center;padding:18px}.inline-modal-panel{width:min(760px,100%);max-height:calc(100vh - 36px);overflow-y:auto}.inline-modal-panel-wide{width:min(1040px,100%)}.switch-wrapper{display:inline-flex;align-items:center;gap:10px;min-height:42px}.switch-wrapper span{color:var(--text-1);font-size:.83rem;font-weight:600}.switch-wrapper input[type=checkbox]{appearance:none;-webkit-appearance:none;width:46px;height:26px;margin:0;border-radius:999px;border:1px solid rgba(98,127,170,.6);background:linear-gradient(160deg,#0e1624f0,#090f1aeb);display:inline-block;position:relative;flex:0 0 46px;cursor:pointer;transition:border-color .2s ease,background .2s ease,box-shadow .2s ease,transform .16s ease,opacity .2s ease}.switch-wrapper input[type=checkbox]:before{content:"";position:absolute;top:50%;left:3px;width:18px;height:18px;border-radius:999px;background:linear-gradient(180deg,#ecf4fff5,#ccdbf1fa);box-shadow:0 2px 5px #050a1252,inset 0 0 0 1px #ffffff5c;transform:translateY(-50%);transition:transform .2s ease,background .2s ease,box-shadow .2s ease}.switch-wrapper input[type=checkbox]:hover{border-color:#88a8d4c7}.switch-wrapper input[type=checkbox]:checked{border-color:color-mix(in srgb,var(--brand-2) 76%,transparent);background:linear-gradient(135deg,color-mix(in srgb,var(--brand-2) 74%,rgba(20,32,54,.86)),color-mix(in srgb,var(--brand) 70%,rgba(18,33,55,.86)))}.switch-wrapper input[type=checkbox]:checked:before{transform:translate(20px,-50%);background:linear-gradient(180deg,#fffffffc,#e2f0fff7)}.switch-wrapper input[type=checkbox]:focus-visible{outline:2px solid color-mix(in srgb,var(--brand-2) 58%,transparent);outline-offset:2px;box-shadow:0 0 0 3px color-mix(in srgb,var(--brand-2) 20%,transparent)}.switch-wrapper input[type=checkbox]:disabled{cursor:not-allowed;opacity:.5}.checkbox-item input[type=checkbox]{appearance:none;-webkit-appearance:none;width:18px;height:18px;margin:1px 0 0;border-radius:6px;border:1px solid rgba(110,145,193,.55);background:linear-gradient(160deg,#10192af2,#0c131feb);display:inline-grid;place-content:center;flex:0 0 18px;cursor:pointer;transition:border-color .2s ease,background-color .2s ease,box-shadow .2s ease,transform .16s ease,opacity .2s ease}.checkbox-item input[type=checkbox]:hover{border-color:#82a7d8b8}.checkbox-item input[type=checkbox]:before{content:"";width:9px;height:6px;border-left:2px solid #f7fbff;border-bottom:2px solid #f7fbff;transform:rotate(-45deg) scale(0);transform-origin:center;transition:transform .14s ease;margin-bottom:1px}.checkbox-item input[type=checkbox]:checked{border-color:color-mix(in srgb,var(--brand-2) 74%,transparent);background:linear-gradient(135deg,#57b8ffeb,#63f5cfe6)}.checkbox-item input[type=checkbox]:checked:before{transform:rotate(-45deg) scale(1)}.checkbox-item input[type=checkbox]:focus-visible{outline:2px solid color-mix(in srgb,var(--brand-2) 58%,transparent);outline-offset:1px;box-shadow:0 0 0 3px color-mix(in srgb,var(--brand-2) 20%,transparent)}.checkbox-item input[type=checkbox]:disabled{cursor:not-allowed;opacity:.55}.checkbox-grid{display:grid;gap:8px;max-height:190px;overflow:auto;padding-right:4px}.checkbox-item{display:flex;align-items:flex-start;gap:8px;color:var(--text-1);font-size:.84rem}:root[data-theme=light] .switch-wrapper input[type=checkbox],:root[data-theme=light] .checkbox-item input[type=checkbox]{border-color:#92aed0b8}:root[data-theme=light] .switch-wrapper input[type=checkbox]{background:linear-gradient(160deg,#eef7fffa,#e2eefcfa)}:root[data-theme=light] .switch-wrapper input[type=checkbox]:before{background:linear-gradient(180deg,#fffffffc,#ecf5fffa);box-shadow:0 1px 4px #1c3a5e33,inset 0 0 0 1px #ffffffd1}:root[data-theme=light] .checkbox-item input[type=checkbox]{background:linear-gradient(160deg,#fffffffc,#f3f9fffa)}:root[data-theme=light] .switch-wrapper input[type=checkbox]:hover,:root[data-theme=light] .checkbox-item input[type=checkbox]:hover{border-color:#7b99c0d1}:root[data-theme=light] .switch-wrapper input[type=checkbox]:checked,:root[data-theme=light] .checkbox-item input[type=checkbox]:checked{border-color:#2d84dea8;background:linear-gradient(130deg,#2d84dee8,#21b88fe6)}:root[data-theme=light] .switch-wrapper input[type=checkbox]:checked:before{background:linear-gradient(180deg,#fff,#ecf5ff)}.toolbar-inline{display:flex;align-items:flex-end;gap:10px;margin-bottom:12px}.invoice-preview-panel{margin-top:12px;border:1px solid rgba(95,126,174,.42);border-radius:12px;overflow:hidden;background:#0a101bdb}.invoice-preview-frame{width:100%;min-height:520px;border:0;background:#fff}.pagination{margin-top:14px;display:flex;justify-content:flex-end;align-items:center;gap:10px;color:var(--text-2);font-size:.82rem}.empty-state{position:relative;overflow:hidden;border:1px dashed rgba(103,136,184,.45);border-radius:18px;padding:16px 18px;background:radial-gradient(circle at top right,rgba(87,184,255,.12),transparent 42%),#10182a66;display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:start}.empty-state:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(180deg,#57b8ffd9,#63f5cf99)}.empty-state-icon{position:relative;z-index:1;width:42px;height:42px;display:grid;place-items:center;border-radius:14px;border:1px solid rgba(103,136,184,.36);background:#0d1626b3;color:var(--brand-2);box-shadow:inset 0 1px #ffffff0a}.empty-state-icon svg{width:18px;height:18px}.empty-state-content{position:relative;z-index:1;display:grid;gap:6px;min-width:0}.empty-state strong{font-size:.98rem;color:var(--text-0)}.empty-state p{margin:0;color:var(--text-2);font-size:.86rem;line-height:1.45}@keyframes skeleton-shimmer{0%{background-position:180% 0}to{background-position:-40% 0}}@keyframes api-progress-slide{0%{transform:translate(-100%)}to{transform:translate(100%)}}@media (max-width: 1160px){.cards-grid,.metrics-grid{grid-template-columns:1fr 1fr}.form-grid{grid-template-columns:1fr}.dashboard-filters{grid-template-columns:repeat(2,minmax(160px,1fr))}.tasks-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.invoice-kpis{grid-template-columns:1fr 1fr}.template-ide-main{grid-template-columns:1fr}.template-token-panel{border-right:0;border-bottom:1px solid rgba(78,110,156,.3)}.template-token-list{grid-template-columns:repeat(2,minmax(0,1fr));max-height:220px}}@media (max-width: 960px){.app-shell,.app-shell-collapsed{grid-template-columns:1fr}.sidebar-backdrop{display:block;position:fixed;inset:0;z-index:15;border:0;background:#040910ad;opacity:0;pointer-events:none;transition:opacity .2s ease}.sidebar-backdrop-open{opacity:1;pointer-events:auto}.sidebar{position:fixed;inset:0 auto 0 0;width:min(82vw,320px);z-index:20;transform:translate(-105%);transition:transform .2s ease}.sidebar-open{transform:translate(0)}.sidebar-collapse-button{display:none}.menu-button{display:inline-flex;align-items:center;justify-content:center}.api-chip{max-width:62vw}}@media (max-width: 700px){.topbar{flex-direction:column}.topbar-actions{width:100%;justify-content:flex-end;flex-wrap:wrap}.topbar-user-tools{width:100%;justify-content:space-between}.user-menu{flex:1;min-width:0}.user-menu-trigger{width:100%;min-width:0}.user-menu-panel{width:100%}.preferences-choice-grid{grid-template-columns:1fr}.panel-actions{min-width:0;width:100%}.list-section-actions,.tasks-section-actions,.time-tracker-section-actions{grid-template-columns:1fr}.list-section-actions .button:not(.action-icon-button){width:100%;justify-content:center}.time-tracker-section-actions .button:not(.action-icon-button){width:100%;justify-content:center}.list-section-actions-right{width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}.view-toggle-group{width:100%;justify-content:stretch}.view-toggle-button{flex:1 1 0;justify-content:center;min-width:0}.list-section-actions .action-icon-button{width:34px;justify-content:center;justify-self:end}.tasks-filter-grid,.time-tracker-filter-grid,.invoice-entry-filter-grid,.invoice-entry-summary,.invoice-entry-checkbox-grid,.platform-demo-meta,.platform-demo-metrics,.empty-state{grid-template-columns:1fr}.settings-tab-button{flex:1 1 calc(50% - 8px);text-align:center}.branding-preview-grid,.cards-grid,.metrics-grid,.dashboard-filters{grid-template-columns:1fr}.dashboard-filter-reset .button{width:100%}.invoice-kpis{grid-template-columns:1fr}.template-ide-toolbar{flex-direction:column;align-items:flex-start}.template-token-list{grid-template-columns:1fr}.template-editor-body{grid-template-columns:46px minmax(0,1fr)}.invoice-chart-grid{grid-auto-columns:minmax(84px,1fr)}.pagination{justify-content:flex-start;flex-wrap:wrap}}.auth-screen{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:32px 24px}.auth-layout{width:min(1120px,100%);display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:24px;align-items:stretch}.auth-aside,.auth-card,.auth-loading-panel{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.auth-aside{display:grid;gap:28px;align-content:start;border-color:#6788b842;background:radial-gradient(circle at top left,rgba(99,245,207,.18),transparent 35%),radial-gradient(circle at top right,rgba(87,184,255,.16),transparent 34%),linear-gradient(165deg,#0e1523eb,#0a101cf5)}.auth-brand-mark{width:68px;height:68px;display:inline-flex;align-items:center;justify-content:center;border-radius:20px;border:1px solid rgba(131,181,234,.38);background:linear-gradient(145deg,#57b8ff38,#63f5cf29);color:var(--text-0);font-size:1.75rem;font-weight:700;letter-spacing:.08em}.auth-copy{display:grid;gap:12px}.auth-eyebrow,.auth-section-label{font-size:.74rem;letter-spacing:.12em;text-transform:uppercase;color:var(--text-2)}.auth-copy h1,.auth-card-header h2{margin:0;color:var(--text-0)}.auth-copy h1{font-size:clamp(2rem,4vw,3.1rem);line-height:1.02}.auth-copy p,.auth-card-header p{margin:0;color:var(--text-1);line-height:1.6}.auth-recent-tenants{display:grid;gap:12px}.auth-tenant-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.auth-tenant-button{display:grid;gap:4px;text-align:left;padding:14px;border-radius:16px;border:1px solid rgba(103,136,184,.34);background:#0e1624c2;color:var(--text-1);cursor:pointer;transition:transform .18s ease,border-color .2s ease,background-color .2s ease}.auth-tenant-button:hover{transform:translateY(-1px);border-color:#63f5cf61;background:#121d30e0}.auth-tenant-button strong{color:var(--text-0);font-size:.96rem}.auth-tenant-button span,.auth-tenant-button small{color:var(--text-2)}.auth-tenant-button-active{border-color:#63f5cf85;background:linear-gradient(150deg,#111f31eb,#0e1a2bf5);box-shadow:inset 0 0 0 1px #63f5cf24}.auth-card{display:grid;gap:20px}.auth-card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.auth-card-header h2{margin-top:6px;font-size:1.85rem}.auth-api-panel{display:grid;gap:12px;padding:16px;border-radius:18px;border:1px solid rgba(103,136,184,.32);background:#0a121e8f}.auth-api-panel-header{display:flex;align-items:center;justify-content:space-between;gap:10px}.auth-api-panel-body{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}.auth-form-actions .button{min-width:180px;justify-content:center}.auth-loading-panel{width:min(460px,100%);display:grid;gap:8px;justify-items:center;text-align:center}.auth-loading-panel h2{font-size:1.4rem}.sidebar-session-card{display:grid;gap:6px;padding:14px;border-radius:var(--radius-md);border:1px solid rgba(103,136,184,.28);background:linear-gradient(165deg,#0a121ed6,#0d1523eb)}.sidebar-session-card strong{color:var(--text-0);font-size:.95rem}.sidebar-session-card>span:not(.sidebar-footer-label){color:var(--text-1);font-size:.86rem}.sidebar-session-card small{color:var(--text-2);font-size:.72rem;word-break:break-word}.sidebar-logout-button{width:fit-content;display:inline-flex;align-items:center;gap:8px;margin-top:4px;padding:8px 12px;border-radius:999px;border:1px solid rgba(103,136,184,.38);background:#101929c2;color:var(--text-1);cursor:pointer;transition:border-color .2s ease,background-color .2s ease,color .2s ease}.sidebar-logout-button:hover{border-color:#63f5cf7a;background:#172338e6;color:var(--text-0)}.sidebar-logout-button:focus-visible,.auth-tenant-button:focus-visible{outline:2px solid rgba(87,184,255,.54);outline-offset:2px}:root[data-theme=light] .auth-aside{border-color:#91adcf80;background:radial-gradient(circle at top left,rgba(33,184,143,.12),transparent 34%),radial-gradient(circle at top right,rgba(45,132,222,.14),transparent 35%),linear-gradient(160deg,#fcfefff5,#f1f7fffa)}:root[data-theme=light] .auth-brand-mark{border-color:#93b0d28f;background:linear-gradient(145deg,#2d84de2e,#21b88f24);color:#173a5f}:root[data-theme=light] .auth-tenant-button{border-color:#92aed094;background:#f9fcfffa;color:#4a6684}:root[data-theme=light] .auth-tenant-button:hover{border-color:#2d84de6b;background:#f3f9fffa}:root[data-theme=light] .auth-tenant-button strong{color:#183355}:root[data-theme=light] .auth-tenant-button span,:root[data-theme=light] .auth-tenant-button small{color:#68819a}:root[data-theme=light] .auth-tenant-button-active{border-color:#2d84de80;background:linear-gradient(150deg,#f0f7fffa,#f8fcfffa);box-shadow:inset 0 0 0 1px #2d84de1f}:root[data-theme=light] .auth-api-panel{border-color:#91adcf94;background:#f5fbfff5}:root[data-theme=light] .sidebar-session-card{border-color:#91adcf8f;background:linear-gradient(160deg,#f9fcfffa,#f1f7fffa)}:root[data-theme=light] .sidebar-logout-button{border-color:#92aed08f;background:#f4fafffa;color:#2c4768}:root[data-theme=light] .sidebar-logout-button:hover{border-color:#2d84de75;background:#ecf5fffa;color:#16395f}@media (min-width: 961px){.app-shell-collapsed .sidebar-session-card{padding:0;border:none;background:transparent;justify-items:center}.app-shell-collapsed .sidebar-session-card strong,.app-shell-collapsed .sidebar-session-card>span:not(.sidebar-footer-label),.app-shell-collapsed .sidebar-session-card small{display:none}.app-shell-collapsed .sidebar-logout-button{width:38px;height:38px;padding:0;justify-content:center}.app-shell-collapsed .sidebar-logout-button span{display:none}}@media (max-width: 960px){.auth-layout,.auth-tenant-grid{grid-template-columns:1fr}.auth-card-header{flex-direction:column;align-items:flex-start}.auth-api-panel-body{grid-template-columns:1fr}.auth-form-actions .button{width:100%}}.auth-screen{position:relative;overflow:hidden;padding:40px 24px}.auth-ambient,.auth-grid-overlay{position:absolute;inset:0;pointer-events:none}.auth-ambient-left{inset:-15% auto auto -8%;width:42vw;height:42vw;border-radius:50%;background:radial-gradient(circle,rgba(87,184,255,.18) 0%,rgba(87,184,255,.06) 38%,transparent 70%);filter:blur(6px)}.auth-ambient-right{inset:auto -10% -12% auto;width:38vw;height:38vw;border-radius:50%;background:radial-gradient(circle,rgba(99,245,207,.16) 0%,rgba(99,245,207,.05) 40%,transparent 72%);filter:blur(8px)}.auth-grid-overlay{opacity:.22;background-image:linear-gradient(rgba(255,255,255,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px);background-size:34px 34px;-webkit-mask-image:linear-gradient(180deg,rgba(0,0,0,.7),transparent 90%);mask-image:linear-gradient(180deg,rgba(0,0,0,.7),transparent 90%)}.auth-layout{position:relative;z-index:1;width:min(1180px,100%);grid-template-columns:minmax(0,1.08fr) minmax(420px,.92fr);gap:28px}.auth-aside,.auth-card{position:relative;overflow:hidden}.auth-aside:before,.auth-card:before{content:"";position:absolute;inset:0;background:linear-gradient(160deg,rgba(255,255,255,.03),transparent 34%,transparent 70%,rgba(255,255,255,.02));pointer-events:none}.auth-aside{gap:24px;padding:28px;background:radial-gradient(circle at top left,rgba(99,245,207,.17),transparent 33%),radial-gradient(circle at 88% 8%,rgba(87,184,255,.18),transparent 30%),linear-gradient(160deg,#0a111deb,#090f1af7)}.auth-card{gap:18px;padding:28px;background:radial-gradient(circle at top right,rgba(87,184,255,.12),transparent 24%),linear-gradient(170deg,#0e1626f0,#0b111dfa)}.auth-brand-stack{display:flex;align-items:center;gap:16px}.auth-brand-mark{width:76px;height:76px;border-radius:24px;border-color:#a4d4ff6b;background:linear-gradient(145deg,#57b8ff38,#63f5cf2e),#0d1827e6;box-shadow:inset 0 1px #ffffff14,0 12px 24px #040c1847}.auth-brand-meta{display:grid;gap:4px}.auth-brand-meta strong{font-size:1.9rem;letter-spacing:.02em;color:var(--text-0)}.auth-chip-row{display:flex;flex-wrap:wrap;gap:8px}.auth-chip{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;border:1px solid rgba(103,136,184,.36);background:#0f1828ad;color:var(--text-1);font-size:.78rem}.auth-chip svg,.auth-login-badge svg,.auth-highlight-icon svg{width:14px;height:14px;stroke:currentColor;stroke-width:1.9;fill:none}.auth-copy{max-width:640px;gap:14px}.auth-copy h1{max-width:11ch;font-size:clamp(2rem,3.4vw,3.2rem);letter-spacing:-.04em;line-height:.98}.auth-copy p{max-width:42ch;font-size:.95rem}.auth-stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.auth-stat-card{display:grid;gap:6px;padding:14px;border-radius:18px;border:1px solid rgba(103,136,184,.28);background:#0e1624b8}.auth-stat-card strong{font-size:1.15rem;color:var(--text-0)}.auth-stat-card span{font-size:.78rem;color:var(--text-2)}.auth-highlight-list{display:grid;gap:10px}.auth-contact-note{display:grid;gap:6px;padding-top:6px}.auth-contact-note p{margin:0;color:var(--text-1);font-size:.88rem;line-height:1.5}.auth-contact-link{display:inline-flex;align-items:center;gap:6px;color:var(--brand);text-decoration:none;border-bottom:1px solid color-mix(in srgb,var(--brand) 45%,transparent);transition:color .2s ease,border-color .2s ease}.auth-contact-link svg{width:13px;height:13px;stroke:currentColor;stroke-width:1.9;fill:none;flex:0 0 auto}.auth-contact-link:hover{color:var(--text-0);border-color:color-mix(in srgb,var(--brand) 72%,transparent)}.auth-highlight-card{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:start;padding:14px 16px;border-radius:18px;border:1px solid rgba(103,136,184,.26);background:#0c142194}.auth-highlight-icon{width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;border-radius:12px;border:1px solid rgba(103,136,184,.3);background:#121f31b8;color:var(--brand)}.auth-highlight-card strong{display:block;margin-bottom:4px;color:var(--text-0)}.auth-highlight-card p{margin:0;color:var(--text-1);font-size:.88rem;line-height:1.5}.auth-recent-tenants{gap:14px}.auth-tenant-grid{gap:12px}.auth-tenant-button{padding:16px;border-radius:18px;background:#0b1320c7}.auth-card-header-login{padding:0;border:none}.auth-authcopy{display:grid;gap:12px}.auth-card-header-login h2{margin-top:8px;font-size:2rem}.auth-mode-switch{display:inline-flex;align-items:center;gap:8px;padding:6px;border-radius:999px;border:1px solid rgba(103,136,184,.32);background:#0c1524b3;width:fit-content}.auth-mode-button{border:1px solid transparent;border-radius:999px;background:transparent;color:var(--text-2);padding:8px 14px;font-size:.82rem;font-weight:600;cursor:pointer;transition:border-color .2s ease,background-color .2s ease,color .2s ease}.auth-mode-button:hover{color:var(--text-0)}.auth-mode-button-active{border-color:#63f5cf42;background:linear-gradient(140deg,#57b8ff29,#63f5cf1f);color:var(--text-0)}.auth-header-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:12px}.auth-login-topline{display:flex;flex-wrap:wrap;gap:10px}.auth-login-badge{max-width:100%;display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;border:1px solid rgba(103,136,184,.34);background:#10192ab8;color:var(--text-1);font-size:.78rem}.auth-login-badge-muted{color:var(--text-2);min-width:0}.auth-login-badge-muted span{min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.auth-selected-tenant{display:grid;grid-template-columns:auto minmax(0,1fr);gap:14px;padding:16px;border-radius:20px;border:1px solid rgba(99,245,207,.22);background:linear-gradient(140deg,#0f1a2aeb,#0b1420f0)}.auth-selected-tenant-mark{width:50px;height:50px;border-radius:16px;display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(103,136,184,.34);background:linear-gradient(145deg,#57b8ff2e,#63f5cf2e);color:var(--text-0);font-size:.92rem;font-weight:700;letter-spacing:.06em}.auth-selected-tenant-copy{display:grid;gap:4px;min-width:0}.auth-selected-tenant-copy strong{color:var(--text-0);font-size:1rem}.auth-selected-tenant-copy p{margin:0;color:var(--text-1);line-height:1.5}.auth-selected-tenant-copy code{font-size:.74rem}.auth-form-grid{gap:14px}.auth-form-grid .field{gap:4px}.auth-login-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.auth-form-grid .field-label{font-size:.76rem;letter-spacing:.02em;color:var(--text-2)}.auth-company-field{grid-column:1 / -1}.auth-api-panel{padding:18px;border-radius:20px;background:linear-gradient(160deg,#0a121ebd,#0f18269e)}.auth-api-panel-header{align-items:flex-start}.auth-api-state{color:var(--text-2);font-size:.72rem;letter-spacing:.06em;text-transform:uppercase}.auth-api-save-button{min-width:124px}.auth-submit-button{min-width:132px;display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:8px 14px;min-height:38px;border-radius:12px;box-shadow:0 10px 22px #1851842e}.auth-submit-button svg{width:15px;height:15px;stroke:currentColor;stroke-width:2;fill:none}.auth-loading-panel{padding:34px 28px}.auth-login-actions{grid-column:1 / -1;display:flex;gap:12px;justify-content:flex-end;align-items:flex-end}.auth-login-actions .helper-text{margin:0;color:var(--text-2);font-size:.82rem;line-height:1.5}.auth-company-field .select:disabled{opacity:1;border-color:#5c82b347;background:linear-gradient(160deg,#0d1423d1,#0a101cdb);color:var(--text-2)}:root[data-theme=light] .auth-grid-overlay{opacity:.28;background-image:linear-gradient(rgba(64,102,146,.09) 1px,transparent 1px),linear-gradient(90deg,rgba(64,102,146,.08) 1px,transparent 1px)}:root[data-theme=light] .auth-ambient-left{background:radial-gradient(circle,rgba(45,132,222,.14) 0%,rgba(45,132,222,.04) 40%,transparent 70%)}:root[data-theme=light] .auth-ambient-right{background:radial-gradient(circle,rgba(33,184,143,.14) 0%,rgba(33,184,143,.04) 42%,transparent 70%)}:root[data-theme=light] .auth-aside{background:radial-gradient(circle at top left,rgba(33,184,143,.13),transparent 33%),radial-gradient(circle at 88% 8%,rgba(45,132,222,.14),transparent 30%),linear-gradient(165deg,#fbfefffa,#f0f7fffa)}:root[data-theme=light] .auth-card{background:radial-gradient(circle at top right,rgba(45,132,222,.08),transparent 24%),linear-gradient(170deg,#fffffffa,#f4f9fffa)}:root[data-theme=light] .auth-chip,:root[data-theme=light] .auth-login-badge,:root[data-theme=light] .auth-stat-card,:root[data-theme=light] .auth-highlight-card,:root[data-theme=light] .auth-tenant-button,:root[data-theme=light] .auth-api-panel,:root[data-theme=light] .auth-selected-tenant{border-color:#91adcf8f}:root[data-theme=light] .auth-chip,:root[data-theme=light] .auth-login-badge{background:#f5fafff2;color:#2b4768}:root[data-theme=light] .auth-login-badge-muted{color:#5f7893}:root[data-theme=light] .auth-stat-card,:root[data-theme=light] .auth-highlight-card,:root[data-theme=light] .auth-tenant-button{background:#fafdfffa}:root[data-theme=light] .auth-highlight-icon{border-color:#90add07a;background:#eef6fffa;color:#1f7fb6}:root[data-theme=light] .auth-stat-card strong,:root[data-theme=light] .auth-highlight-card strong,:root[data-theme=light] .auth-selected-tenant-copy strong,:root[data-theme=light] .auth-brand-meta strong{color:#143253}:root[data-theme=light] .auth-copy p,:root[data-theme=light] .auth-highlight-card p,:root[data-theme=light] .auth-selected-tenant-copy p,:root[data-theme=light] .auth-contact-note p{color:#4d6987}:root[data-theme=light] .auth-contact-link{color:#177e67;border-bottom-color:#177e6757}:root[data-theme=light] .auth-contact-link:hover{color:#16395f;border-bottom-color:#16395f4d}:root[data-theme=light] .auth-stat-card span,:root[data-theme=light] .auth-api-state,:root[data-theme=light] .auth-form-grid .field-label{color:#7088a2}:root[data-theme=light] .auth-company-field .select:disabled{border-color:#91adcf6b;background:linear-gradient(160deg,#f4f9fff0,#eff6fffa);color:#7c92a7}:root[data-theme=light] .auth-mode-switch{border-color:#91adcf8a;background:#f4f9fff5}:root[data-theme=light] .auth-mode-button{color:#66819d}:root[data-theme=light] .auth-mode-button:hover{color:#17385d}:root[data-theme=light] .auth-mode-button-active{border-color:#2d84de4d;background:linear-gradient(140deg,#2d84de24,#21b88f1a);color:#17385d}:root[data-theme=light] .auth-selected-tenant{background:linear-gradient(145deg,#f2f8fffa,#fafdfffa)}:root[data-theme=light] .auth-selected-tenant-mark{border-color:#91adcf8a;background:linear-gradient(145deg,#2d84de24,#21b88f1f);color:#18375b}@media (max-width: 960px){.auth-screen{padding:24px 16px}.auth-layout{width:100%;grid-template-columns:1fr;gap:18px}.auth-aside,.auth-card{padding:22px}.auth-copy h1{max-width:none;font-size:clamp(2rem,10vw,3rem)}.auth-stat-grid,.auth-tenant-grid{grid-template-columns:1fr}.auth-card-header-login{flex-direction:column;align-items:flex-start}.auth-header-actions,.auth-mode-switch{width:100%;justify-content:space-between}.auth-login-grid,.auth-api-panel-body{grid-template-columns:1fr}.auth-submit-button,.auth-api-save-button,.auth-form-actions .button{width:100%}}.auth-form-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;padding:10px;border:1px solid rgba(92,130,179,.34);border-radius:16px;background:linear-gradient(145deg,#111d31eb,#0c1422d6);box-shadow:0 10px 22px #1851841f}.auth-form-actions .button{min-height:38px}.auth-form-actions .auth-submit-button{min-width:132px}.auth-step-summary{display:grid;gap:12px;padding:16px;border-radius:20px;border:1px solid rgba(103,136,184,.3);background:linear-gradient(160deg,#0e1624cc,#0b121fe6)}.auth-step-summary-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.auth-step-pill,.auth-step-count{display:inline-flex;align-items:center;min-height:32px;padding:6px 12px;border-radius:999px;border:1px solid rgba(103,136,184,.32);font-size:.76rem}.auth-step-pill{background:#0f1b2cd6;color:var(--text-0)}.auth-step-count{background:#0b1422bd;color:var(--text-2)}.auth-step-summary-identity{display:inline-flex;align-items:center;gap:10px;color:var(--text-1);min-width:0}.auth-step-summary-identity svg,.auth-reset-button svg{width:14px;height:14px;stroke:currentColor;stroke-width:1.9;fill:none;flex:0 0 auto}.auth-step-summary-identity span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.auth-tenant-stage{display:grid;gap:14px}.auth-tenant-stage-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.auth-tenant-stage-header strong{color:var(--text-0);font-size:1rem}.auth-reset-button{display:inline-flex;align-items:center;justify-content:center;gap:8px}:root[data-theme=light] .auth-step-summary{border-color:#91adcf8f;background:linear-gradient(160deg,#f6fbfffa,#f0f7fffa)}:root[data-theme=light] .auth-step-pill{border-color:#91adcf8a;background:#eef6fffa;color:#17385d}:root[data-theme=light] .auth-step-count{border-color:#91adcf7a;background:#f6fbfffa;color:#66819d}:root[data-theme=light] .auth-step-summary-identity,:root[data-theme=light] .auth-tenant-stage-header strong{color:#234362}:root[data-theme=light] .auth-form-actions{border-color:#91adcf8f;background:linear-gradient(145deg,#f6fbfffa,#eef6fffa);box-shadow:0 10px 20px #27568c14}:root[data-theme=light] .auth-submit-button{box-shadow:0 10px 20px #27568c24}@media (max-width: 960px){.auth-step-summary-row{flex-direction:column;align-items:flex-start}.auth-form-actions{width:100%;flex-direction:column-reverse;align-items:stretch}.auth-reset-button,.auth-submit-button{width:100%}.auth-login-actions{flex-direction:column;align-items:stretch}}.auth-tenant-stage-meta{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;border:1px solid rgba(103,136,184,.3);background:#0d1625b8;color:var(--text-2);font-size:.76rem}.auth-tenant-stage-meta svg{width:14px;height:14px;stroke:currentColor;stroke-width:1.9;fill:none}:root[data-theme=light] .auth-tenant-stage-meta{border-color:#91adcf8f;background:#f5fafff5;color:#5d7894}@media (max-width: 960px){.auth-tenant-stage-header{flex-direction:column;align-items:flex-start}}
