html,body{width:100%;height:100%}input::-ms-clear,input::-ms-reveal{display:none}*,*:before,*:after{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{margin:0}[tabindex="-1"]:focus{outline:none}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5em;font-weight:500}p{margin-top:0;margin-bottom:1em}abbr[title],abbr[data-original-title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted;border-bottom:0;cursor:help}address{margin-bottom:1em;font-style:normal;line-height:inherit}input[type=text],input[type=password],input[type=number],textarea{-webkit-appearance:none}ol,ul,dl{margin-top:0;margin-bottom:1em}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:500}dd{margin-bottom:.5em;margin-left:0}blockquote{margin:0 0 1em}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}pre,code,kbd,samp{font-size:1em;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace}pre{margin-top:0;margin-bottom:1em;overflow:auto}figure{margin:0 0 1em}img{vertical-align:middle;border-style:none}a,area,button,[role=button],input:not([type=range]),label,select,summary,textarea{touch-action:manipulation}table{border-collapse:collapse}caption{padding-top:.75em;padding-bottom:.3em;text-align:left;caption-side:bottom}input,button,select,optgroup,textarea{margin:0;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{padding:0;border-style:none}input[type=radio],input[type=checkbox]{box-sizing:border-box;padding:0}input[type=date],input[type=time],input[type=datetime-local],input[type=month]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;margin:0;padding:0;border:0}legend{display:block;width:100%;max-width:100%;margin-bottom:.5em;padding:0;color:inherit;font-size:1.5em;line-height:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}:root,:root[data-theme=dark]{color-scheme:dark;--color-bg: #08090a;--color-bg-elevated: #0e1015;--app-background: radial-gradient(circle at 18% 0%, rgb(94 106 210 / 10%), transparent 28%), linear-gradient(180deg, #0b0c0f 0%, var(--color-bg) 38%);--color-sidebar: #0b0c0f;--color-sidebar-end: #090a0c;--color-sidebar-border: rgb(255 255 255 / 10%);--color-sidebar-surface-muted: rgb(255 255 255 / 7%);--color-sidebar-surface-hover: rgb(255 255 255 / 8%);--color-sidebar-text: #f7f8f8;--color-sidebar-text-muted: #c4c9d4;--color-sidebar-text-subtle: #858b96;--color-topbar: rgb(13 14 17 / 88%);--color-surface: #111214;--color-surface-subtle: #15171d;--color-surface-muted: #1a1d24;--color-surface-raised: #20242d;--color-surface-strong: #282d38;--color-surface-hover: rgb(255 255 255 / 5%);--color-surface-selected: rgb(116 130 255 / 16%);--color-panel-surface: #111419;--color-filter-surface: #101319;--color-table-header: #181d26;--color-table-row-hover: rgb(116 130 255 / 8%);--color-stat-surface: #12161c;--color-stat-accent: rgb(116 130 255 / 42%);--color-border: rgb(255 255 255 / 8%);--color-border-strong: rgb(255 255 255 / 16%);--color-text: #f7f8f8;--color-text-muted: #c4c9d4;--color-text-subtle: #858b96;--color-accent: #7482ff;--color-accent-strong: #aab2ff;--color-accent-soft: rgb(116 130 255 / 18%);--color-brand-muted: #8f99ff;--color-brand-subtle: rgb(116 130 255 / 11%);--color-focus-ring: rgb(116 130 255 / 36%);--color-warning: #f2bd4a;--color-warning-soft: rgb(242 189 74 / 14%);--color-warning-border: rgb(242 189 74 / 35%);--color-danger: #f87171;--color-danger-strong: #dc2626;--color-danger-soft: rgb(248 113 113 / 14%);--color-danger-border: rgb(248 113 113 / 35%);--color-success: #4ade80;--color-success-soft: rgb(74 222 128 / 13%);--color-success-border: rgb(74 222 128 / 32%);--color-info: #7dd3fc;--color-info-soft: rgb(125 211 252 / 13%);--color-info-border: rgb(125 211 252 / 32%);--color-status-neutral: #c4c9d4;--color-status-neutral-soft: rgb(196 201 212 / 12%);--color-status-neutral-border: rgb(196 201 212 / 24%);--color-status-muted: #969da9;--color-status-muted-soft: rgb(150 157 169 / 11%);--color-status-muted-border: rgb(150 157 169 / 20%);--shadow-popover: 0 20px 60px rgb(0 0 0 / 48%);--shadow-drawer: -24px 0 70px rgb(0 0 0 / 50%);--shadow-surface: 0 12px 32px rgb(0 0 0 / 18%);--radius-sm: 6px;--radius-md: 8px;--radius-lg: 10px;--space-1: 4px;--space-2: 8px;--space-3: 12px;--space-4: 16px;--space-5: 20px;--space-6: 24px;--space-8: 32px;--space-10: 40px;--nav-width: 264px;--topbar-height: 68px;--drawer-width: 680px;--dialog-width: 460px;--table-row-height: 46px;--control-height: 36px;--font-size-body: 14.5px;--font-size-label: 12.5px;--font-size-table: 14px;--font-size-page-title: 28px;--font-size-panel-title: 16px;--font-sans: Inter, "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;--font-mono: "JetBrains Mono", "SF Mono", Consolas, ui-monospace, monospace}:root[data-theme=light]{color-scheme:light;--color-bg: #f3f6fb;--color-bg-elevated: #edf3fa;--app-background: var(--color-bg);--color-sidebar: #fbfdff;--color-sidebar-end: #f1f6fc;--color-sidebar-border: rgb(24 39 65 / 12%);--color-sidebar-surface-muted: rgb(64 87 200 / 9%);--color-sidebar-surface-hover: rgb(64 87 200 / 8%);--color-sidebar-text: #182033;--color-sidebar-text-muted: #4b5870;--color-sidebar-text-subtle: #768197;--color-topbar: rgb(255 255 255 / 88%);--color-surface: #ffffff;--color-surface-subtle: #f8fbff;--color-surface-muted: #edf3fa;--color-surface-raised: #f7faff;--color-surface-strong: #e6edf7;--color-surface-hover: rgb(64 87 200 / 6%);--color-surface-selected: rgb(64 87 200 / 12%);--color-panel-surface: #ffffff;--color-filter-surface: #f8fbff;--color-table-header: #eaf0f8;--color-table-row-hover: #f2f6ff;--color-stat-surface: #ffffff;--color-stat-accent: #d7e2ff;--color-border: rgb(24 39 65 / 12%);--color-border-strong: rgb(24 39 65 / 20%);--color-text: #182033;--color-text-muted: #4b5870;--color-text-subtle: #768197;--color-accent: #4057c8;--color-accent-strong: #263ba5;--color-accent-soft: rgb(64 87 200 / 13%);--color-brand-muted: #6576d8;--color-brand-subtle: rgb(64 87 200 / 8%);--color-focus-ring: rgb(64 87 200 / 28%);--color-warning: #b7791f;--color-warning-soft: rgb(214 158 46 / 16%);--color-warning-border: rgb(183 121 31 / 28%);--color-danger: #dc2626;--color-danger-strong: #b91c1c;--color-danger-soft: rgb(220 38 38 / 11%);--color-danger-border: rgb(220 38 38 / 22%);--color-success: #15803d;--color-success-soft: rgb(22 163 74 / 12%);--color-success-border: rgb(21 128 61 / 24%);--color-info: #0369a1;--color-info-soft: rgb(14 165 233 / 13%);--color-info-border: rgb(3 105 161 / 24%);--color-status-neutral: #506079;--color-status-neutral-soft: rgb(80 96 121 / 9%);--color-status-neutral-border: rgb(80 96 121 / 20%);--color-status-muted: #728098;--color-status-muted-soft: rgb(114 128 152 / 9%);--color-status-muted-border: rgb(114 128 152 / 18%);--shadow-popover: 0 20px 54px rgb(24 39 65 / 16%);--shadow-drawer: -24px 0 64px rgb(24 39 65 / 18%);--shadow-surface: 0 12px 28px rgb(24 39 65 / 7%)}.theme-toggle{display:inline-flex;align-items:center;width:auto;gap:var(--space-1);padding:0;border:0;border-radius:var(--radius-md);background:transparent}.theme-toggle__label{padding:0 var(--space-1);color:var(--color-text-muted);font-size:12px;white-space:nowrap}.theme-toggle__option{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;gap:var(--space-1);min-height:26px;border:0;border-radius:var(--radius-sm);background:transparent;padding:0 7px;color:var(--color-text-muted);text-align:center;font-size:12px}.theme-toggle .ant-segmented{background:transparent}.theme-toggle .ant-segmented-item{min-height:26px}.theme-toggle__option:hover{background:var(--color-surface-hover);color:var(--color-text)}.theme-toggle .ant-segmented-item-selected .theme-toggle__option{color:var(--color-accent-strong)}.user-menu__popover .theme-toggle{margin:var(--space-1) 0}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:var(--app-background);color:var(--color-text);font-family:var(--font-sans);font-size:var(--font-size-body);line-height:1.5;-webkit-font-smoothing:antialiased;text-rendering:geometricPrecision}button,input,select,textarea{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--color-focus-ring);outline-offset:2px}a{color:inherit}.login-page{width:min(1160px,calc(100vw - 32px));margin:0 auto;padding:var(--space-8) 0}.login-panel h1,.app-topbar h1{margin:0;font-size:var(--font-size-page-title);font-weight:760;line-height:1.14;letter-spacing:0}.login-panel p,.app-topbar p{color:var(--color-text-muted)}.login-panel,.ui-empty{border:1px solid var(--color-border);border-radius:var(--radius-lg);background:var(--color-surface);box-shadow:inset 0 1px #ffffff08}.ui-empty h2{margin:0 0 var(--space-3);font-size:18px}.login-panel__eyebrow{display:inline-flex;width:fit-content;margin-bottom:var(--space-3);color:var(--color-accent-strong);font-family:var(--font-mono);font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.login-panel button:not(.ui-button):not(.password-input__toggle):not(.login-panel__text-action):not(.login-panel__oauth-action){display:inline-flex;align-items:center;justify-content:center;height:var(--control-height);padding:0 var(--space-4);border:1px solid var(--color-accent);border-radius:var(--radius-md);background:var(--color-accent);color:#fff;text-decoration:none}.login-page{display:grid;place-items:center;min-height:100dvh}.login-utility-bar{position:fixed;top:var(--space-4);right:var(--space-4);z-index:10;display:flex;align-items:center;justify-content:flex-end;gap:var(--space-3);width:auto;margin-bottom:0}.login-utility-bar label,.login-utility-bar .language-select{display:inline-flex;align-items:center;gap:var(--space-2);margin:0}.login-utility-bar span{color:var(--color-text-muted);font-size:13px}.login-utility-bar select{width:auto;min-width:128px;height:32px;min-height:32px;line-height:32px;padding:0 32px 0 10px}.login-utility-bar .theme-toggle{width:auto}.login-panel{width:min(460px,100%);padding:var(--space-6)}.login-panel--auth{display:grid;grid-template-columns:minmax(340px,.92fr) minmax(360px,1fr);width:min(980px,100%);min-height:620px;overflow:hidden;padding:0;border-color:color-mix(in srgb,var(--color-border) 80%,transparent);box-shadow:0 24px 70px -46px #0f172a8c}.login-brand{position:relative;display:grid;min-height:100%;align-content:space-between;gap:var(--space-8);overflow:hidden;padding:38px;background:linear-gradient(145deg,#f8fafcfa,#fffffffa 58%,#eff6fff5),#f8fafc;color:#182033}.login-brand:before{position:absolute;inset:-35% auto auto 18%;width:78%;aspect-ratio:1;border-radius:999px;background:radial-gradient(circle,rgb(37 99 235 / 14%),transparent 64%);content:"";filter:blur(8px);pointer-events:none}.login-brand:after{position:absolute;top:0;right:0;bottom:0;left:0;background-image:linear-gradient(rgb(37 99 235 / 8%) 1px,transparent 1px),linear-gradient(90deg,rgb(37 99 235 / 7%) 1px,transparent 1px);background-size:36px 36px;content:"";-webkit-mask-image:linear-gradient(180deg,rgb(0 0 0 / 55%),transparent 82%);mask-image:linear-gradient(180deg,rgb(0 0 0 / 55%),transparent 82%);pointer-events:none}.login-brand__stage,.login-brand__copy{position:relative;z-index:1}.login-brand__stage{display:grid;gap:var(--space-6)}.login-brand__wordmark{display:block;width:min(330px,100%);height:auto}.login-brand__signal{display:grid;width:min(320px,100%);gap:10px}.login-brand__signal span{display:block;height:1px;background:linear-gradient(90deg,#3b82f600,#3b82f6ad,#fff0)}.login-brand__signal span:nth-child(2){width:76%;opacity:.68}.login-brand__signal span:nth-child(3){width:48%;opacity:.42}.login-brand__copy{display:grid;gap:var(--space-2)}.login-brand__copy .login-panel__eyebrow{color:#176af2}.login-brand__copy h1{color:#182033;font-size:clamp(34px,4vw,46px);font-weight:760;line-height:1.05}.login-brand__copy p{max-width:28ch;margin:0;color:#182033b8;font-size:15px;line-height:1.7}:root[data-theme=dark] .login-brand{background:linear-gradient(145deg,#040d1ff5,#080f1cfa 58%,#0c1424fa),#08111f;color:#f8fafc}:root[data-theme=dark] .login-brand:before{background:radial-gradient(circle,rgb(37 99 235 / 28%),transparent 64%)}:root[data-theme=dark] .login-brand:after{background-image:linear-gradient(rgb(255 255 255 / 5%) 1px,transparent 1px),linear-gradient(90deg,rgb(255 255 255 / 4%) 1px,transparent 1px)}:root[data-theme=dark] .login-brand__copy .login-panel__eyebrow{color:#93c5fd}:root[data-theme=dark] .login-brand__copy h1{color:#f8fafc}:root[data-theme=dark] .login-brand__copy p{color:#cbd5e1db}.login-panel--auth .login-panel__form{align-content:center;margin-top:0;padding:56px}.login-panel__form{display:grid;gap:var(--space-4);margin-top:var(--space-5)}.login-panel__account-card{display:grid;gap:var(--space-1);margin:var(--space-5) 0 var(--space-2);border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface-raised);padding:var(--space-4)}.login-panel__account-card span{color:var(--color-text);font-family:var(--font-mono);font-size:13px}.login-panel__scope{margin:var(--space-4) 0 0;border-left:2px solid var(--color-accent);padding-left:var(--space-3);color:var(--color-text-muted);line-height:1.6}.login-panel label,.ui-field{display:grid;gap:var(--space-2)}fieldset.ui-field{min-width:0;margin:0;border:0;padding:0}.language-select{display:flex;align-items:center;gap:var(--space-2)}.login-panel label{margin-top:0}.login-panel span,.language-select span,.ui-field__label{color:var(--color-text-muted);font-size:13px}.ui-field__label{display:flex;min-height:18px;align-items:center;justify-content:flex-start;gap:4px}.ui-field__label-text{min-width:0}.ui-field__required{color:var(--color-danger);font-weight:700;line-height:1}.ui-field__label-extra{display:inline-flex;margin-left:auto;flex:0 0 auto;align-items:center}input,select,textarea{width:100%;min-width:0;min-height:var(--control-height);border:1px solid var(--color-border);border-radius:var(--radius-md);background:#ffffff08;color:var(--color-text);padding:0 var(--space-3)}select{color-scheme:inherit}input::placeholder,textarea::placeholder{color:var(--color-text-subtle)}select option,select optgroup{background:var(--color-surface);color:var(--color-text)}select option:disabled{color:#7e8794}textarea{padding-top:var(--space-2);resize:vertical}.app-mobile-topbar,.app-mobile-backdrop{display:none}.app-shell{display:flex;height:100vh;min-height:100vh;min-width:0;width:100%;overflow:hidden}.app-shell__sidebar{position:sticky;top:0;z-index:12;height:100vh;border-right:1px solid var(--color-sidebar-border);background:linear-gradient(180deg,var(--color-sidebar),var(--color-sidebar-end));color:var(--color-sidebar-text);overflow:visible}.app-brand{position:relative;display:grid;gap:var(--space-1);padding:var(--space-5);border-bottom:1px solid var(--color-sidebar-border)}.app-brand__identity{display:flex;min-width:0;align-items:center;gap:var(--space-2)}.app-brand__mark{display:none;width:36px;height:36px;flex:0 0 36px;place-items:center;border:1px solid var(--color-sidebar-border);border-radius:10px;background:linear-gradient(145deg,#ffffff1f,#ffffff0a),var(--color-sidebar-surface);box-shadow:inset 0 1px #ffffff1f}.app-brand__mark-image{width:26px;height:26px;border-radius:inherit;object-fit:contain;object-position:center}.app-brand strong{min-width:0;font-size:16px;letter-spacing:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app-brand__subtitle{color:var(--color-sidebar-text-muted);font-size:13px}.app-brand__collapse{position:absolute;right:var(--space-3);top:var(--space-3);display:grid;width:30px;height:30px;place-items:center;border:1px solid var(--color-sidebar-border);border-radius:var(--radius-md);background:#ffffff0a;color:var(--color-sidebar-text-muted)}.app-brand__collapse:hover{border-color:#fff3;color:var(--color-sidebar-text)}.app-shell--nav-collapsed .app-brand{padding:var(--space-4) var(--space-3) var(--space-5);place-items:center}.app-shell--nav-collapsed .app-brand__identity{justify-content:center}.app-shell--nav-collapsed .app-brand__mark{display:grid}.app-shell--nav-collapsed .app-brand strong,.app-shell--nav-collapsed .app-brand__subtitle{display:none}.app-shell--nav-collapsed .app-brand__collapse{position:static;margin-top:var(--space-2)}.app-nav{padding:var(--space-3)}.app-nav__list{display:grid;gap:var(--space-1);margin:0;padding:0;list-style:none}.app-nav__group{position:relative}.app-nav__link{display:flex;align-items:center;gap:var(--space-2);min-height:34px;padding:0 var(--space-3);border-radius:var(--radius-md);color:var(--color-text-muted);font-size:14px;text-decoration:none;transition:background .16s ease,color .16s ease}.app-shell__sidebar>.app-nav .app-nav__link{color:var(--color-sidebar-text-muted)}.app-nav__link.is-active{background:var(--color-accent-soft);color:var(--color-text)}.app-shell__sidebar>.app-nav .app-nav__link.is-active{color:var(--color-sidebar-text)}.app-nav__link:hover{background:color-mix(in srgb,var(--color-surface-muted) 74%,transparent);color:var(--color-text)}.app-shell__sidebar>.app-nav .app-nav__link:hover{background:var(--color-sidebar-surface-hover);color:var(--color-sidebar-text)}.app-nav__menu .app-nav__link,.app-nav__menu .app-nav__link:hover,.app-nav__menu .app-nav__link.is-active{width:100%;min-height:auto;background:transparent;color:inherit;padding:0}.app-shell__sidebar>.app-nav .app-nav__menu .app-nav__link,.app-shell__sidebar>.app-nav .app-nav__menu .app-nav__link:hover,.app-shell__sidebar>.app-nav .app-nav__menu .app-nav__link.is-active{background:transparent;color:inherit}.app-nav__menu .ant-menu-item,.app-nav__menu .ant-menu-submenu-title{border-radius:var(--radius-md)}.app-nav__menu .ant-menu-item:hover,.app-nav__menu .ant-menu-submenu-title:hover{background:var(--color-sidebar-surface-hover)!important}.app-nav__menu .ant-menu-item-selected:hover{background:var(--color-accent-soft)!important}.app-nav__group.is-open>.app-nav__link:not(.is-active){background:var(--color-surface-muted);color:var(--color-text)}.app-shell__sidebar>.app-nav .app-nav__group.is-open>.app-nav__link:not(.is-active){background:var(--color-sidebar-surface-muted);color:var(--color-sidebar-text)}.app-nav__icon{display:inline-grid;width:20px;min-width:20px;place-items:center;color:currentColor;font-size:12px;font-weight:700}.login-panel button.login-panel__secondary-action{margin-top:var(--space-2);border-color:var(--color-border);background:transparent;color:var(--color-text-muted)}.login-panel__minor-actions{display:flex;justify-content:flex-start;margin-top:calc(var(--space-2) * -1)}.login-panel__text-action{display:inline-flex;width:auto;min-height:auto;padding:0;border:0;background:transparent;color:var(--color-accent-strong);font-size:13px;font-weight:600}.login-panel__text-action:hover{color:var(--color-accent);text-decoration:underline;text-underline-offset:3px}.login-panel__oauth-action{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-2);width:100%;height:var(--control-height);padding:0 var(--space-4);border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface-raised);color:var(--color-text);font-weight:650}.login-panel__oauth-action:hover{border-color:var(--color-border-strong);background:var(--color-surface-hover)}.login-panel__oauth-action span{color:inherit;font-size:inherit}.google-oauth-button__icon{width:18px;height:18px;flex:0 0 auto}.login-panel__success{color:var(--color-success)}.mfa-setup{display:grid;gap:var(--space-3);justify-items:start}.mfa-setup__qr{display:block;width:168px;height:168px;border:1px solid #ffffff;border-radius:var(--radius-md);background:#fff;padding:var(--space-2)}.mfa-setup__qr img{display:block;width:100%;height:100%}.mfa-setup__hint{margin:0;color:var(--color-text-muted)}.mfa-help-list{margin:0;padding-left:1.2rem;color:var(--color-text-muted);line-height:1.7}.app-shell--nav-collapsed .app-nav{padding:var(--space-3) var(--space-2)}.app-shell--nav-collapsed .app-nav__link{justify-content:center;padding:0}.app-shell--mobile-nav-open .app-shell__sidebar{transform:translate(0)}.app-shell--mobile-nav-open .app-mobile-backdrop{display:block}.app-shell--nav-collapsed .app-nav__text{display:none}.app-shell--nav-collapsed .app-nav__flyout .app-nav__link{justify-content:flex-start;padding:0 var(--space-3)}.app-shell--nav-collapsed .app-nav__flyout .app-nav__text{display:inline}.app-nav__chevron{margin-left:auto;color:var(--color-text-subtle);font-size:13px}.app-shell__sidebar>.app-nav .app-nav__chevron{color:var(--color-sidebar-text-subtle)}.app-shell--nav-collapsed .app-nav__chevron{display:none}.app-nav__flyout{position:absolute;left:calc(100% + var(--space-2));top:0;z-index:30;display:none;width:240px;border:1px solid var(--color-border);border-radius:var(--radius-lg);background:var(--color-surface);padding:var(--space-3);box-shadow:var(--shadow-popover)}.app-nav__flyout:before{position:absolute;top:0;bottom:0;left:calc(-1 * var(--space-2));width:var(--space-2);content:""}.app-nav__flyout strong{display:block;margin:0 0 var(--space-2);color:var(--color-text);font-size:13px}.app-nav__group.is-open>.app-nav__flyout{display:block}.app-shell__main{display:flex;flex-direction:column;flex:1 1 auto;height:100vh;min-width:0;overflow:hidden}.app-shell.ant-layout-has-sider>.app-shell__main.ant-layout{flex:1 1 auto;width:auto}.app-topbar{position:sticky;top:0;z-index:5;display:flex;align-items:center;justify-content:space-between;height:auto;min-height:var(--topbar-height);line-height:normal;padding:var(--space-4) var(--space-6);border-bottom:1px solid var(--color-border);background:var(--color-topbar);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.app-topbar__heading{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-2);flex:1 1 240px;min-width:0}.app-topbar__heading h1{margin:0;overflow-wrap:anywhere}.app-topbar__title-addon{display:inline-flex;align-items:center;flex:0 0 auto}.app-topbar__heading p{margin:var(--space-1) 0 0}.app-topbar__actions{position:relative;display:flex;flex:0 1 auto;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:var(--space-3);min-width:0;max-width:min(760px,62vw)}.app-content{flex:1 1 auto;min-height:0;overflow:auto;padding:var(--space-6);scrollbar-width:none}.app-content::-webkit-scrollbar,.ui-table-wrap::-webkit-scrollbar,.ui-table-wrap .ant-table-body::-webkit-scrollbar,.ui-table-wrap .ant-table-content::-webkit-scrollbar{width:0;height:0}.ui-table-wrap,.ui-table-wrap .ant-table-body,.ui-table-wrap .ant-table-content{scrollbar-width:none}.ui-button{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-2);min-height:var(--control-height);border:1px solid transparent;border-radius:var(--radius-md);padding:0 var(--space-4);background:transparent;color:var(--color-text);font-weight:600;transition:background .16s ease,border-color .16s ease,color .16s ease,transform .12s ease}.ui-button:hover{transform:translateY(-1px)}.ui-button--primary{background:var(--color-accent);color:#fff}.ui-button--primary:hover{background:var(--color-accent-strong);color:#fff}.ui-button--primary:disabled,.ui-button--primary[disabled]{color:#ffffffd6}.password-input{position:relative;display:flex;align-items:center}.password-input input{width:100%;padding-right:44px}.password-input__toggle{position:absolute;right:8px;display:inline-flex;width:32px;height:32px;align-items:center;justify-content:center;border:0;border-radius:var(--radius-sm);background:transparent;color:var(--color-text-muted);cursor:pointer}.login-panel .password-input__toggle{width:32px;min-width:32px;height:32px;min-height:32px;padding:0!important;border:0!important;background:transparent!important;box-shadow:none;color:var(--color-text-muted)!important}.password-input__toggle:hover{background:var(--color-surface-hover);color:var(--color-text)}.login-panel .password-input__toggle:hover{background:var(--color-surface-hover)!important;color:var(--color-text)!important}.ui-button--secondary{border-color:var(--color-border);background:var(--color-surface-subtle)}.ui-button--secondary:hover{border-color:var(--color-border-strong);background:var(--color-surface-muted)}.ui-button--ghost{color:var(--color-text-muted)}.ui-button--ghost:hover{background:var(--color-surface-hover);color:var(--color-text)}.ui-button--danger{background:var(--color-danger-strong);color:#fff}.ui-icon-button,.topbar-icon-button{width:var(--control-height);padding:0}.topbar-icon-button{position:relative}.topbar-count{position:absolute;top:-2px;right:-2px;min-width:18px;height:18px;border-radius:999px;background:var(--color-danger);color:#fff;font-size:11px;line-height:18px}.ui-badge{display:inline-flex;align-items:center;min-height:22px;padding:0 var(--space-2);border-radius:var(--radius-sm);background:var(--color-surface-muted);color:var(--color-text-muted);font-size:12px;font-weight:600;border:1px solid var(--color-border)}.ui-badge--success,.ui-badge--low{background:var(--color-success-soft);color:var(--color-success)}.ui-badge--warning,.ui-badge--medium{background:var(--color-warning-soft);color:var(--color-warning)}.ui-badge--danger,.ui-badge--high{background:var(--color-danger-soft);color:var(--color-danger)}.ui-badge--info{background:var(--color-info-soft);color:var(--color-info)}.ui-status-chip{margin-inline:0;border-color:var(--color-status-neutral-border)!important;background:var(--color-status-neutral-soft)!important;color:var(--color-status-neutral)!important;font-weight:650;line-height:20px}.ui-status-chip--success{border-color:var(--color-success-border)!important;background:var(--color-success-soft)!important;color:var(--color-success)!important}.ui-status-chip--warning{border-color:var(--color-warning-border)!important;background:var(--color-warning-soft)!important;color:var(--color-warning)!important}.ui-status-chip--danger{border-color:var(--color-danger-border)!important;background:var(--color-danger-soft)!important;color:var(--color-danger)!important}.ui-status-chip--info{border-color:var(--color-info-border)!important;background:var(--color-info-soft)!important;color:var(--color-info)!important}.ui-status-chip--muted{border-color:var(--color-status-muted-border)!important;background:var(--color-status-muted-soft)!important;color:var(--color-status-muted)!important}.ui-status-chip-sm{font-size:11px;line-height:18px;padding-inline:var(--space-1);padding-block:0}.ui-status-chip-muted{opacity:.72}.tax-workflow-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:var(--space-3)}.tax-workflow-step{display:flex;min-height:84px;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:var(--space-3);border:1px solid var(--color-border);border-radius:8px;padding:var(--space-3);background:var(--color-surface)}.tax-workflow-step__label{color:var(--color-text);font-weight:600}.tax-readiness-dialog-summary{color:var(--color-text);font-weight:650}.tax-readiness-dialog-list{display:grid;gap:var(--space-3)}.tax-readiness-dialog-item{display:grid;gap:var(--space-2);border:1px solid var(--color-border);border-radius:8px;padding:var(--space-3);background:var(--color-surface-muted)}.tax-readiness-dialog-item__header{display:flex;align-items:center;gap:var(--space-2)}.tax-readiness-dialog-item__severity{border-radius:999px;padding:2px 8px;font-size:12px;font-weight:650}.tax-readiness-dialog-item__severity--blocker{background:var(--color-danger-soft);color:var(--color-danger)}.tax-readiness-dialog-item__severity--warning{background:var(--color-warning-soft);color:var(--color-warning)}.tax-readiness-dialog-item__severity--info{background:var(--color-info-soft);color:var(--color-info)}.tax-readiness-dialog-item p{margin:0;color:var(--color-text)}.tax-readiness-dialog-item__guidance,.tax-readiness-dialog-item__source{color:var(--color-text-muted);font-size:13px}.message-bell,.user-menu{position:relative}.message-popover,.user-menu__popover{position:absolute;top:calc(100% + var(--space-2));right:0;z-index:20;border:1px solid var(--color-border);border-radius:var(--radius-lg);background:var(--color-surface);box-shadow:var(--shadow-popover)}.message-popover{width:360px;padding:var(--space-4)}.message-center{display:grid;gap:var(--space-3)}.message-popover__head{display:flex;justify-content:space-between;gap:var(--space-3);margin-bottom:var(--space-3)}.message-popover__head span,.message-list small,.ui-field__hint{color:var(--color-text-subtle);font-size:12px}.ui-tabs{display:flex;width:100%;align-items:flex-end;gap:0;border-bottom:1px solid var(--color-border)}.ui-tabs__item{min-height:38px;border:1px solid transparent;border-bottom:0;border-radius:var(--radius-md) var(--radius-md) 0 0;background:transparent;padding:0 var(--space-4);color:var(--color-text-muted);font-weight:600}.ui-tabs__item[aria-selected=true]{position:relative;margin-bottom:-1px;border-color:var(--color-border);background:var(--color-surface);color:var(--color-text)}.message-list{display:grid;gap:var(--space-2);margin-top:var(--space-3)}.message-list__item{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--space-3);width:100%;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface-raised);padding:var(--space-3);text-align:left}.message-list__item:hover{border-color:var(--color-border-strong);background:var(--color-surface-muted)}.message-list__item span{display:grid;gap:var(--space-1)}.message-list__empty{margin:var(--space-4) 0 0;color:var(--color-text-muted)}.user-menu__trigger{gap:var(--space-2);padding-left:var(--space-2)}.user-menu__avatar{display:grid;width:28px;height:28px;overflow:hidden;place-items:center;border-radius:50%;background:var(--color-accent-soft);color:var(--color-accent-strong);font-weight:700}.user-menu__avatar--large{width:42px;height:42px}.user-menu__avatar img,.avatar-upload__preview img{width:100%;height:100%;object-fit:cover}.user-menu__identity{display:grid;max-width:180px;text-align:left}.user-menu__identity strong,.user-menu__identity small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-menu__identity small{color:var(--color-text-subtle);font-size:12px}.user-menu__popover{display:grid;width:min(360px,calc(100vw - 32px));padding:var(--space-3);gap:var(--space-1);box-sizing:border-box}.user-menu__popover-header{display:grid;grid-template-columns:auto minmax(0,1fr);gap:var(--space-3);align-items:center;min-width:0;border-bottom:1px solid var(--color-border);padding:var(--space-1) var(--space-1) var(--space-3);margin-bottom:var(--space-2)}.user-menu__popover-header strong,.user-menu__popover-header span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-menu__popover-header strong{color:var(--color-text);font-size:14px}.user-menu__popover-header span{color:var(--color-text-muted);font-size:12px}.user-menu__popover button{display:flex;align-items:center;gap:var(--space-2);width:100%;min-height:34px;box-sizing:border-box;border:0;border-radius:var(--radius-md);background:transparent;margin-inline:0;padding:0 var(--space-2);color:var(--color-text);font-size:14px;line-height:20px;text-align:left}.user-menu__popover button span{min-width:0;flex:1}.user-menu__chevron{color:var(--color-text-subtle)}.user-menu__popover button:last-child{margin-top:var(--space-2);border-top:1px solid var(--color-border);border-radius:0;padding-top:var(--space-3);color:var(--color-danger)}.user-menu__popover button:hover{background:var(--color-surface-muted)}.user-menu__control-row{display:grid;grid-template-columns:82px minmax(0,1fr);align-items:center;justify-content:start;gap:var(--space-2);min-height:34px;width:100%;box-sizing:border-box;margin-inline:0;padding:0 var(--space-2);color:var(--color-text);font-size:14px;line-height:20px}.user-menu__control-row>span{color:var(--color-text-muted);font-size:inherit;line-height:inherit}.user-menu__control-row .ant-segmented{min-width:0;width:fit-content;max-width:100%;justify-self:start;background:transparent}.user-menu__control-row .ant-segmented-thumb,.user-menu__control-row .ant-segmented-item-selected{background:transparent;box-shadow:none}.user-menu__control-row .ant-segmented-item-selected .ant-segmented-item-label{color:var(--color-brand);font-weight:700}.user-menu__control-row .ant-segmented-item-label,.user-menu__popover .theme-toggle .ant-segmented-item-label{min-height:28px;font-size:14px;line-height:28px}.user-menu__popover .theme-toggle{display:grid;grid-template-columns:82px minmax(0,1fr);align-items:center;justify-content:start;gap:var(--space-2);min-height:34px;width:100%;box-sizing:border-box;margin-inline:0;padding:0 var(--space-2);font-size:14px;line-height:20px}.user-menu__popover .theme-toggle__label{color:var(--color-text-muted);font-size:inherit;line-height:inherit}.user-menu__popover .theme-toggle .ant-segmented{min-width:0;width:fit-content;max-width:100%;justify-self:start;background:transparent}.user-menu__popover .theme-toggle .ant-segmented-item-label{padding-inline:6px}.user-menu__popover .theme-toggle__option{align-items:center;justify-content:center;gap:4px;min-height:28px;padding-inline:4px;font-size:inherit;line-height:inherit}.user-menu__popover .theme-toggle__option span{font-size:inherit;line-height:inherit}.ui-drawer-layer,.ui-dialog-layer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40}.ui-drawer-scrim,.ui-dialog-scrim{position:absolute;top:0;right:0;bottom:0;left:0;border:0;background:#00000085}.ui-drawer{position:absolute;top:0;right:0;display:grid;grid-template-rows:auto 1fr auto;width:min(var(--drawer-width),100vw);height:100%;background:var(--color-surface);border-left:1px solid var(--color-border);box-shadow:var(--shadow-drawer)}.ui-drawer__header,.ui-drawer__footer{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);padding:var(--space-4);border-bottom:1px solid var(--color-border)}.ui-drawer__footer{flex-wrap:wrap;justify-content:flex-end;border-top:1px solid var(--color-border);border-bottom:0}.ui-drawer__footer .ui-button{min-width:88px}.ui-drawer__header h2,.ui-dialog h2{margin:0;font-size:18px}.ui-drawer__body{min-width:0;overflow-y:auto;overflow-x:hidden;padding:var(--space-4)}.drawer-copy{display:grid;gap:var(--space-4);min-width:0}.drawer-copy .ui-field,.platform-form-grid .ui-field,.invoice-form-section__grid .ui-field{min-width:0}.drawer-copy p{margin:0;color:var(--color-text-muted);line-height:1.6}.profile-list{display:grid;gap:var(--space-4);margin:0}.profile-list div{display:grid;gap:var(--space-1)}.profile-list dt{color:var(--color-text-subtle);font-size:12px}.profile-list dd{margin:0}.client-action-requests,.client-action-requests__header{display:grid;gap:var(--space-2)}.client-action-requests__header{grid-template-columns:minmax(0,1fr) auto;align-items:center;margin-bottom:var(--space-3)}.client-action-requests .client-action-request-checkbox{inline-size:16px;block-size:16px;min-width:16px;min-height:16px;margin:0;padding:0;accent-color:var(--color-accent)}.client-action-request-file{display:inline-block;min-width:180px}.client-action-request-reason{display:inline-block;max-width:560px;color:var(--color-text-muted);white-space:normal}.client-action-request-status{display:inline-flex;align-items:center;min-height:24px;padding:0 var(--space-2);border:1px solid var(--color-warning-border);border-radius:999px;background:var(--color-warning-bg);color:var(--color-warning-text);font-size:12px;font-weight:700}.client-invoice-upload-form{display:flex;flex-wrap:wrap;gap:var(--space-3);align-items:stretch}.client-invoice-upload-picker{display:grid;gap:var(--space-2);min-width:min(100%,320px);color:var(--color-text-muted);font-size:14px;font-weight:700}.client-invoice-upload-picker input{width:100%;min-height:40px;color:var(--color-text)}.client-invoice-upload-form .invoice-upload-modal__picker{flex:1 1 520px;min-width:min(100%,520px)}.client-invoice-upload-form>.ui-button{align-self:flex-end}.client-invoice-upload-batch{display:flex;flex-wrap:wrap;gap:var(--space-2);align-items:center;margin-bottom:var(--space-3);color:var(--color-text-muted)}.client-invoice-upload-list{display:grid;gap:var(--space-3)}.client-invoice-upload-history-table .ui-table-wrap{min-height:220px}.client-invoice-upload-table-batch-no{display:inline-block;min-width:190px}.client-invoice-upload-table-reason{display:inline-block;max-width:360px;color:var(--color-text-muted);white-space:normal}.client-invoice-upload-table-primary,.client-invoice-upload-table-counts,.client-invoice-upload-table-files,.client-invoice-upload-table-file{display:grid;gap:var(--space-1);min-width:0}.client-invoice-upload-table-primary{min-width:190px}.client-invoice-upload-table-primary span,.client-invoice-upload-table-counts,.client-invoice-upload-table-file span,.client-invoice-upload-table-file small{color:var(--color-text-muted);font-size:13px}.client-invoice-upload-table-files{min-width:320px;max-width:620px}.client-invoice-upload-table-file{grid-template-columns:minmax(160px,1fr) minmax(140px,auto) auto;align-items:center;padding:var(--space-1) 0}.client-invoice-upload-table-file small{grid-column:1 / -1}.client-invoice-upload-batch-card{display:grid;gap:var(--space-3);padding:var(--space-3);border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface)}.client-invoice-upload-batch-card__header,.client-invoice-upload-batch-card__meta{display:flex;flex-wrap:wrap;gap:var(--space-2);align-items:center;justify-content:space-between}.client-invoice-upload-batch-card__header>div{display:grid;gap:var(--space-1)}.client-invoice-upload-batch-card__header span,.client-invoice-upload-batch-card__meta{color:var(--color-text-muted);font-size:13px}.client-invoice-upload-batch-card .client-invoice-upload-list{gap:var(--space-2)}.client-invoice-upload-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:var(--space-4);align-items:center;padding:var(--space-3);border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface-muted)}.client-invoice-upload-row>div{display:grid;gap:var(--space-1);min-width:0}.client-invoice-upload-row strong,.client-invoice-upload-row span,.client-invoice-upload-row small{overflow-wrap:anywhere}.client-invoice-upload-row small,.client-invoice-upload-row span{color:var(--color-text-muted)}@media(max-width:620px){.client-invoice-upload-row{grid-template-columns:1fr}}.sensitive-metadata-view{display:grid;gap:var(--space-2);min-width:0}.sensitive-metadata-row{display:grid;grid-template-columns:minmax(96px,max-content) minmax(0,1fr);gap:var(--space-2);min-width:0}.sensitive-metadata-key{color:var(--color-text-subtle);font-size:12px;min-width:0;overflow-wrap:anywhere}.sensitive-metadata-value{min-width:0;overflow-wrap:anywhere}.personal-settings{gap:var(--space-2)}.settings-list{display:grid}.personal-settings__profile{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:var(--space-3);min-width:0;border-bottom:1px solid var(--color-border);padding:var(--space-2) 0 var(--space-4)}.personal-settings__avatar-wrap{display:grid;justify-items:center;gap:var(--space-2)}.personal-settings__avatar{width:56px;height:56px;font-size:18px}.personal-settings__avatar-action{position:relative;display:inline-flex;align-items:center;gap:var(--space-1);color:var(--color-accent-strong);font-size:12px;cursor:pointer}.personal-settings__avatar-action input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}.personal-settings__profile-main{display:grid;gap:var(--space-2);min-width:0}.personal-settings__profile-main h3{margin:0;font-size:14px}.personal-settings__profile-main .ui-field{gap:var(--space-1)}.personal-settings__summary{display:grid;gap:2px}.personal-settings__profile+.settings-row{margin-top:0}.settings-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:var(--space-3);align-items:center;min-width:0;border-bottom:1px solid var(--color-border);padding:var(--space-3) 0}.settings-row--compact{padding:var(--space-3) 0}.settings-row+.settings-row{margin-top:0}.settings-list>.settings-row:last-child{border-bottom:0}.settings-row h3{margin:0;font-size:14px;line-height:1.3}.settings-row__main{display:flex;align-items:center;gap:var(--space-3);min-width:0}.settings-row__value{display:flex;flex-wrap:wrap;gap:var(--space-2);align-items:center;margin:var(--space-1) 0 0;color:var(--color-text-muted);font-size:12px;line-height:1.4}.settings-row__value strong{color:var(--color-text);font-weight:600}.settings-row__actions{display:flex;justify-content:flex-end;gap:var(--space-2)}.settings-row__actions .ui-button{min-height:32px;padding-inline:var(--space-3)}.settings-row__editor{display:grid;grid-column:1 / -1;gap:var(--space-4);min-width:0;border-top:1px solid var(--color-border);padding-top:var(--space-3)}.settings-section{display:grid;gap:var(--space-4);min-width:0;border:1px solid var(--color-border);border-radius:var(--radius-lg);background:var(--color-surface-raised);padding:var(--space-4)}.settings-section h3{margin:0;font-size:16px}.settings-section__header{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3)}.ui-dialog{position:absolute;top:50%;left:50%;display:grid;gap:var(--space-4);width:min(var(--dialog-width),calc(100vw - 32px));border-radius:var(--radius-lg);background:var(--color-surface);border:1px solid var(--color-border);padding:var(--space-5);transform:translate(-50%,-50%);box-shadow:var(--shadow-popover)}.ui-dialog__impact{margin:0;color:var(--color-text-muted)}.ui-dialog__body{min-width:0}.ui-dialog__footer{display:flex;justify-content:flex-end;gap:var(--space-3)}.avatar-upload{display:flex;align-items:center;gap:var(--space-4)}.avatar-upload__preview{display:grid;width:64px;height:64px;overflow:hidden;place-items:center;border:1px solid var(--color-border);border-radius:50%;background:var(--color-surface-raised);color:var(--color-accent-strong);font-size:22px;font-weight:700}.avatar-upload__button{position:relative;display:inline-flex;align-items:center;min-height:var(--control-height);border:1px solid var(--color-border);border-radius:var(--radius-md);background:#ffffff0a;padding:0 var(--space-4);color:var(--color-text);cursor:pointer}.avatar-upload__button:hover{border-color:var(--color-border-strong);background:#ffffff12}.avatar-upload__button input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}.ui-table-wrap{overflow-x:auto;overflow-y:hidden;border:1px solid var(--color-border);border-radius:var(--radius-lg);background:var(--color-surface);box-shadow:inset 0 1px #ffffff0a,var(--shadow-surface)}.ui-table-stack{display:grid;gap:var(--space-3)}.ui-table{width:100%;border-collapse:collapse}.ui-table th,.ui-table td{min-height:var(--table-row-height);border-bottom:1px solid var(--color-border);padding:var(--space-3);text-align:left}.ui-table td{color:var(--color-text);font-size:var(--font-size-table);line-height:1.55}.ui-table th{background:var(--color-table-header);color:var(--color-text);font-size:var(--font-size-label);font-weight:720}.ui-table .ui-sticky-first-col{position:sticky;left:0;z-index:2;background:var(--color-surface)}.ui-table th.ui-sticky-first-col{z-index:3;background:var(--color-table-header)}.ui-table .ui-sticky-last-col{position:sticky;right:0;z-index:2;background:var(--color-surface);box-shadow:-10px 0 18px -18px #0f172ab3}.ui-table th.ui-sticky-last-col{z-index:3;background:var(--color-table-header)}.ui-table tbody tr:hover{background:var(--color-table-row-hover)}.ui-table tbody tr:hover>td{background:var(--color-table-row-hover)}.ui-table .is-right{text-align:right}.ui-table .is-center{text-align:center}.ui-table__empty{color:var(--color-text-muted);text-align:center}.ui-table-pagination{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);color:var(--color-text-muted);font-size:13px}.ui-table-pagination div{display:flex;align-items:center;gap:var(--space-2)}.ui-table-page-size{display:inline-flex;align-items:center;gap:var(--space-2);color:var(--color-text-muted)}.ui-table-page-size select{width:76px;min-height:32px}.ui-table-pagination button{min-height:32px;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);padding:0 var(--space-3);color:var(--color-text)}.ui-table-pagination button:disabled{cursor:not-allowed;opacity:.45}.ui-table-pagination button:not(:disabled):hover{background:var(--color-surface-muted)}.ui-progress{display:grid;gap:var(--space-2)}.ui-progress__bar{height:8px;overflow:hidden;border-radius:999px;background:var(--color-surface-muted)}.ui-progress__bar span{display:block;height:100%;border-radius:inherit;background:var(--color-accent)}.ui-progress__label{color:var(--color-text-muted);font-size:12px}.ui-select,.ui-select .ant-select-selector,.ui-select .ant-select-selection-wrap,.ui-select .ant-select-selection-item,.ui-select .ant-select-content{min-width:0}.ui-select.ant-select-single{min-height:var(--control-height);height:var(--control-height)}.ui-select.ant-select-single .ant-select-selector{display:flex!important;align-items:center!important;height:var(--control-height)!important;min-height:var(--control-height);padding-block:0!important}.ui-select .ant-select-selection-wrap,.ui-select .ant-select-content{display:flex;align-items:center;height:100%;min-height:100%}.ui-select .ant-select-selection-item,.ui-select .ant-select-content,.ui-select .ant-select-placeholder{display:flex;align-items:center;height:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:normal!important}.ui-select.ant-select-single .ant-select-selection-search{inset-block-start:0!important;inset-block-end:0!important;display:flex;align-items:center}.ui-select.ant-select-single .ant-select-selection-search-input{height:100%!important}.ui-empty{padding:var(--space-6)}.ui-empty p{margin:0;color:var(--color-text-muted)}.platform-page{display:grid;gap:var(--space-6)}.platform-page__header{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--space-4)}.platform-page__heading{display:grid;min-width:0;gap:var(--space-1)}.platform-page__header h2,.platform-panel h3{margin:0}.platform-page__header h2{color:var(--color-text);font-size:var(--font-size-page-title);font-weight:760;line-height:1.14;letter-spacing:0}.platform-panel h3{color:var(--color-text);font-size:var(--font-size-panel-title);font-weight:720;line-height:1.25;letter-spacing:0}.platform-page__header p,.platform-inline-note{margin:var(--space-1) 0 0;color:var(--color-text-muted);font-size:15px;line-height:1.55}.platform-page__actions,.platform-row-actions{display:flex;flex-wrap:wrap;gap:var(--space-2)}.platform-checkbox-list{display:grid;max-height:min(420px,48vh);overflow:auto;border:1px solid var(--color-border);border-radius:var(--radius-md)}.platform-checkbox-list__item{display:grid;grid-template-columns:auto minmax(120px,1fr) minmax(180px,1.3fr);gap:var(--space-3);align-items:center;min-height:44px;padding:var(--space-2) var(--space-3);border-bottom:1px solid var(--color-border-subtle)}.platform-checkbox-list__item:last-child{border-bottom:0}.platform-checkbox-list__item input{width:16px;height:16px}.row-more{position:relative}.row-more__menu{min-width:150px;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);padding:var(--space-1);box-shadow:var(--shadow-popover)}.row-more__menu--portal{z-index:70;margin:0;list-style:none}.row-more__item{display:flex;width:100%;min-height:32px;align-items:center;justify-content:flex-start;border:0;border-radius:var(--radius-sm);background:transparent;padding:0 var(--space-3);color:var(--color-text);text-align:left;white-space:nowrap}.row-more__item:hover,.row-more__item:focus-visible{background:var(--color-surface-muted)}.row-more__item--danger{color:var(--color-danger)}.row-more__item:disabled{cursor:not-allowed;opacity:.46}.platform-filters{display:flex;flex-wrap:wrap;gap:var(--space-3);align-items:flex-end;border:1px solid var(--color-border);border-radius:var(--radius-lg);background:var(--color-filter-surface);padding:var(--space-3);box-shadow:inset 0 1px #ffffff0a}.platform-filters .ant-space{width:100%;align-items:flex-end!important}.platform-filters__search{min-width:240px}.platform-form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:var(--space-3);align-items:end}.invoice-entry-form{display:grid;gap:var(--space-5);min-width:0}.invoice-entry-page-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:var(--space-2);min-width:0}.invoice-collection-tabs{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:var(--space-2);border:1px solid var(--color-border);border-radius:var(--radius-md);padding:var(--space-2);background:var(--color-surface-raised);min-width:0}.invoice-collection-tabs .ui-tabs{margin-bottom:0}.invoice-collection-tabs .ui-tabs__item{min-height:38px}.invoice-collection-tabs .ui-tabs__item[aria-selected=true]{border-color:var(--color-border)}.invoice-collection-tabs__actions{display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:var(--space-2);min-width:0}@media(max-width:720px){.invoice-collection-tabs{grid-template-columns:1fr}.invoice-collection-tabs__actions{flex-wrap:wrap}}.invoice-review-session-bar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:var(--space-3);border:1px solid var(--color-border);border-radius:var(--radius-md);padding:var(--space-3);background:var(--color-surface);color:var(--color-text);box-shadow:var(--shadow-sm)}.invoice-review-session-bar__main{display:flex;align-items:center;flex-wrap:wrap;gap:var(--space-3);min-width:0}.invoice-review-session-bar__position{border:1px solid var(--color-border);border-radius:var(--radius-sm);padding:var(--space-1) var(--space-2);background:var(--color-surface-muted);font-size:13px;font-weight:700;white-space:nowrap}.invoice-review-session-bar__summary{display:flex;align-items:center;flex-wrap:wrap;gap:var(--space-2);min-width:0;color:var(--color-text-muted);font-size:13px}.invoice-review-session-bar__summary strong{max-width:min(360px,42vw);overflow:hidden;text-overflow:ellipsis;color:var(--color-text);font-size:15px;line-height:1.35;white-space:nowrap}.invoice-review-session-bar__summary span{min-width:0}.invoice-review-session-bar__actions{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:var(--space-2)}.invoice-review-session-bar .ui-button,.invoice-review-session-bar .platform-link-button{border-color:var(--color-border);background:var(--color-surface-muted);color:var(--color-text)}.invoice-review-session-bar .ui-button:hover:not(:disabled),.invoice-review-session-bar .platform-link-button:hover{border-color:var(--color-accent);background:var(--color-surface);color:var(--color-text)}.invoice-review-workbench{display:grid;grid-template-columns:minmax(300px,.82fr) minmax(520px,1.18fr);gap:var(--space-4);align-items:start;min-width:0}.invoice-review-workbench__form{display:grid;gap:var(--space-4);min-width:0}.invoice-review-preview{position:sticky;top:var(--space-4);display:grid;gap:var(--space-3);min-width:0;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);padding:var(--space-4)}.invoice-review-preview__header,.invoice-review-assist__header{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:var(--space-3)}.invoice-review-preview__header p,.invoice-review-assist__header p{margin:var(--space-1) 0 0;color:var(--color-text-muted);font-size:13px;line-height:1.45;overflow-wrap:anywhere}.invoice-review-preview__tools{display:flex;flex-wrap:wrap;gap:var(--space-2);justify-content:flex-end}.invoice-review-preview__viewport{min-height:520px;overflow:auto;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:linear-gradient(45deg,rgba(15,23,42,.04) 25%,transparent 25%),linear-gradient(-45deg,rgba(15,23,42,.04) 25%,transparent 25%),var(--color-surface-muted);background-size:24px 24px;padding:var(--space-4)}.invoice-review-preview__page{display:grid;align-content:start;gap:var(--space-3);width:min(360px,100%);min-height:460px;margin:0 auto;transform-origin:top center;border:1px solid var(--color-border-strong);border-radius:var(--radius-sm);background:var(--color-surface);box-shadow:var(--shadow-sm);padding:var(--space-5) var(--space-4);color:var(--color-text);line-height:1.5;overflow-wrap:anywhere}.invoice-review-preview__document{display:grid;width:min(520px,100%);margin:0 auto;transform-origin:top center}.invoice-review-preview__image{display:block;width:100%;height:auto;max-height:none;object-fit:contain;border:1px solid var(--color-border-strong);border-radius:var(--radius-sm);background:var(--color-surface);box-shadow:var(--shadow-sm)}.invoice-review-preview__pdf{display:block;width:min(440px,100%);height:640px;border:1px solid var(--color-border-strong);border-radius:var(--radius-sm);background:var(--color-surface);box-shadow:var(--shadow-sm)}.invoice-review-preview__empty{display:grid;min-height:460px;place-items:center;border:1px dashed var(--color-border-strong);border-radius:var(--radius-sm);background:#ffffffc7;color:var(--color-text-muted);font-size:13px;text-align:center}.invoice-review-preview__page strong{font-size:18px}.invoice-review-preview__watermark{justify-self:start;border:1px solid var(--color-border);border-radius:var(--radius-sm);padding:var(--space-1) var(--space-2);color:var(--color-text-muted);font-size:12px;font-weight:650}.invoice-review-preview__meta{display:flex;flex-wrap:wrap;justify-content:space-between;gap:var(--space-2);color:var(--color-text-muted);font-size:12px}.invoice-review-attachments{display:grid;gap:var(--space-2);border:1px solid var(--color-border);border-radius:var(--radius-sm);background:#ffffff08;padding:var(--space-3)}.invoice-review-attachments__header{display:flex;align-items:baseline;justify-content:space-between;gap:var(--space-2)}.invoice-review-attachments h4{margin:0 0 2px;font-size:13px;font-weight:800}.invoice-review-attachments span{color:var(--color-text-muted);font-size:12px}.invoice-review-attachments__strip{display:flex;gap:var(--space-2);overflow-x:auto;padding-bottom:2px}.invoice-review-attachments__empty{display:inline-flex;min-height:68px;align-items:center}.invoice-review-attachment-thumb{display:grid;grid-template-rows:64px auto;gap:var(--space-1);width:92px;flex:0 0 92px;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface);color:var(--color-text);cursor:pointer;padding:var(--space-1);text-align:left}.invoice-review-attachment-thumb--active{border-color:var(--color-primary);box-shadow:0 0 0 1px color-mix(in srgb,var(--color-primary) 35%,transparent)}.invoice-review-attachment-thumb__media{display:grid;place-items:center;overflow:hidden;border-radius:var(--radius-sm);background:var(--color-surface-muted);color:var(--color-text-muted)}.invoice-review-attachment-thumb__media img{width:100%;height:100%;object-fit:cover}.invoice-review-attachment-thumb__name{overflow:hidden;color:var(--color-text-muted);font-size:11px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.invoice-field-ai-mark{display:inline-flex;align-items:center;min-height:18px;max-width:100%;border:1px solid var(--color-border);border-radius:var(--radius-sm);padding:1px 6px;font-size:11px;font-weight:700;line-height:1;white-space:nowrap}.invoice-review-workbench .ui-field__label{display:grid;grid-template-columns:minmax(0,max-content) auto;justify-content:start;justify-items:start;gap:4px}.invoice-review-workbench .ui-field__label-extra{grid-column:1 / -1;grid-row:2;margin-left:0;justify-self:start}.invoice-field-ai-mark--high{border-color:#16a34a59;background:#16a34a1a;color:#86efac}.invoice-field-ai-mark--medium{border-color:#d977065c;background:#d977061f;color:#fbbf24}.invoice-field-ai-mark--low{border-color:#dc26265c;background:#dc26261f;color:#fca5a5}:root[data-theme=light] .invoice-field-ai-mark--high{border-color:#22c55e61;background:#dcfce7db;color:#15803d}:root[data-theme=light] .invoice-field-ai-mark--medium{border-color:#d9770661;background:#fef3c7e5;color:#b45309}:root[data-theme=light] .invoice-field-ai-mark--low{border-color:#dc262661;background:#fee2e2eb;color:#b91c1c}.invoice-review-assist{display:grid;gap:var(--space-3);margin-bottom:var(--space-4);border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface-muted);padding:var(--space-3)}.invoice-confidence-panel{display:grid;gap:var(--space-2);border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface);padding:var(--space-3)}.invoice-confidence-panel__header{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:var(--space-2);color:var(--color-text)}.invoice-confidence-panel__header span{color:var(--color-text-muted);font-size:12px}.invoice-confidence-panel__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(156px,1fr));gap:var(--space-2)}.invoice-confidence-chip{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:var(--space-2);min-width:0;border:1px solid var(--color-border);border-radius:var(--radius-sm);padding:var(--space-2);background:var(--color-surface-muted);font-size:12px}.invoice-confidence-chip span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.invoice-confidence-chip strong{font-size:13px}.invoice-confidence-chip__level{border-radius:var(--radius-sm);padding:2px 6px;font-style:normal;font-weight:700}.invoice-confidence-chip__level--high{background:#16a34a1f;color:#15803d}.invoice-confidence-chip__level--medium{background:#d9770624;color:#b45309}.invoice-confidence-chip__level--low{background:#dc26261f;color:#b91c1c}.invoice-review-assist__signals{display:flex;flex-wrap:wrap;gap:var(--space-2)}.invoice-review-assist__warning{display:inline-flex;align-items:center;border:1px solid rgba(217,119,6,.32);border-radius:var(--radius-sm);background:#d977061a;color:#fbbf24;padding:4px 8px;font-size:12px}.invoice-voucher-preview{display:grid;gap:var(--space-3);border:1px solid var(--color-border);border-radius:var(--radius-lg);background:#ffffff08;padding:var(--space-4)}.invoice-voucher-preview__header,.invoice-voucher-preview__status{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3)}.invoice-voucher-preview__tip{border:1px solid var(--color-border);border-radius:var(--radius-sm);color:var(--color-text-muted);cursor:help;font-size:12px;padding:2px 6px}.invoice-review-workbench .invoice-entry-form{gap:var(--space-4)}.invoice-review-workbench .invoice-form-section{gap:var(--space-2)}.invoice-review-workbench .invoice-form-section__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-2) var(--space-3)}.invoice-review-workbench .invoice-form-section__grid .ui-field{grid-template-columns:minmax(92px,.36fr) minmax(0,1fr);gap:var(--space-2);align-items:center}.invoice-review-workbench .invoice-form-section__grid .ui-field__label{line-height:1.25}.invoice-review-workbench .invoice-form-section__grid .ui-field:has(textarea){align-items:start}.invoice-review-workbench .invoice-form-section__grid .ui-field textarea,.invoice-review-workbench .invoice-form-section__grid .ui-field .ui-field__hint,.invoice-review-workbench .invoice-form-section__grid .ui-field .platform-form-error{grid-column:2}.invoice-form-field--full,.invoice-review-workbench .invoice-form-field--full{grid-column:1 / -1}.invoice-review-workbench .invoice-form-section__grid .invoice-form-field--full{grid-template-columns:minmax(112px,.16fr) minmax(0,1fr)}.invoice-review-workbench .invoice-form-section__grid .invoice-form-field--full textarea,.invoice-review-workbench .invoice-form-section__grid .invoice-form-field--full .invoice-evidence-options{grid-column:2;width:100%}.invoice-review-workbench .invoice-face-party-row{grid-template-columns:minmax(210px,1.35fr) minmax(150px,.95fr) minmax(160px,1fr)}.invoice-review-workbench .invoice-face-party-row .ui-field{grid-template-columns:minmax(92px,.38fr) minmax(0,1fr);gap:var(--space-2);align-items:center}.invoice-form-section{display:grid;gap:var(--space-3);min-width:0}.invoice-supplement-section{border-top:1px solid var(--color-border);padding-top:var(--space-3)}.invoice-form-section__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:var(--space-3);align-items:end;min-width:0}.invoice-form-section__grid--compact{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.invoice-form-section__grid--party{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}.invoice-form-section__grid--tax{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));align-items:start}.invoice-form-section__grid--tax .ui-field:has(textarea){grid-column:span 2}.invoice-role-hint{margin:calc(-1 * var(--space-1)) 0 0;color:var(--color-text-muted);font-size:13px;line-height:1.45}.invoice-section__heading{display:inline-flex;align-items:center;justify-content:flex-start;gap:var(--space-2);width:max-content;max-width:100%}.invoice-section__tip{display:inline-grid;width:20px;height:20px;place-items:center;border:1px solid var(--color-border);border-radius:999px;color:var(--color-text-muted);cursor:help;font-size:12px;font-weight:800}.invoice-section__tip--inline{justify-self:start;margin-top:calc(-1 * var(--space-1))}.invoice-face-info-advanced{padding-top:0}.invoice-face-party-list{display:grid;gap:var(--space-2)}.invoice-face-party-row{display:grid;grid-template-columns:minmax(220px,1.4fr) minmax(160px,1fr) minmax(180px,1fr);gap:var(--space-2) var(--space-3);align-items:end;min-width:0}.invoice-face-info-advanced__summary{color:var(--color-text);cursor:pointer;font-size:15px;font-weight:800;line-height:1.35}.invoice-face-info-advanced__summary:hover{color:var(--color-primary)}.invoice-face-info-advanced[open] .invoice-face-info-advanced__summary{margin-bottom:var(--space-3)}.invoice-face-info-advanced__hint{margin:calc(-1 * var(--space-2)) 0 0;color:var(--color-warning);font-size:13px;line-height:1.45}.invoice-section__title{margin:0;color:var(--color-text);font-size:16px;font-weight:800;line-height:1.35}.invoice-evidence-options{display:flex;flex-wrap:wrap;gap:var(--space-2)}.invoice-evidence-options__item{min-height:34px;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:#ffffff08;color:var(--color-text-muted);cursor:pointer;padding:0 var(--space-3);font:inherit;font-size:13px}.invoice-evidence-options__item:hover:not(:disabled){border-color:var(--color-border-strong);color:var(--color-text)}.invoice-evidence-options__item--selected{border-color:#6366f1b8;background:#6366f129;color:var(--color-text);font-weight:700}.invoice-line-items{min-width:0;overflow-x:auto;padding-bottom:var(--space-1)}.invoice-table-scroll .ui-table-wrap,.invoice-table-scroll .ui-table-wrap .ant-table-body,.invoice-table-scroll .ui-table-wrap .ant-table-content{scrollbar-width:thin}.invoice-table-scroll .ui-table-wrap::-webkit-scrollbar,.invoice-table-scroll .ui-table-wrap .ant-table-body::-webkit-scrollbar,.invoice-table-scroll .ui-table-wrap .ant-table-content::-webkit-scrollbar{width:10px;height:10px}.invoice-line-items__toolbar{display:flex;justify-content:flex-start;margin-bottom:var(--space-2)}.invoice-upload-modal{display:grid;gap:var(--space-3)}.invoice-upload-modal__meta{display:flex;flex-wrap:wrap;gap:var(--space-2) var(--space-4);color:var(--color-text-muted);font-size:13px}.invoice-upload-modal__picker{position:relative;display:grid;justify-items:center;gap:var(--space-3);min-height:220px;border:2px dashed var(--color-border-strong);border-radius:var(--radius-md);padding:var(--space-6);color:var(--color-text);text-align:center;cursor:pointer;background:color-mix(in srgb,var(--color-surface-muted) 76%,transparent);transition:border-color .16s ease,background .16s ease,transform .12s ease,box-shadow .16s ease}.invoice-upload-modal__picker:hover,.invoice-upload-modal__picker--dragging{border-color:var(--color-accent);background:var(--color-surface-hover);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--color-accent) 36%,transparent)}.invoice-upload-modal__picker--dragging{transform:translateY(-1px)}.invoice-upload-modal__picker input{position:absolute;width:1px;min-width:1px;max-width:1px;height:1px;min-height:1px;max-height:1px;border:0;padding:0;opacity:0;overflow:hidden;clip-path:inset(50%);pointer-events:none}.invoice-upload-modal__icon{display:inline-grid;place-items:center;width:64px;height:64px;border-radius:var(--radius-md);color:var(--color-text-muted);background:var(--color-surface)}.invoice-upload-modal__title{font-size:15px;font-weight:700}.invoice-upload-modal__hint{color:var(--color-text-muted);font-size:13px}.invoice-upload-modal__button{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-2);min-height:38px;border:1px solid var(--color-border-strong);border-radius:var(--radius-md);padding:0 var(--space-3);background:var(--color-surface);font-weight:700}.invoice-upload-modal__selected{display:grid;gap:var(--space-2);margin:0;padding:0;list-style:none}.invoice-upload-modal__selected li{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:var(--space-2);border:1px solid var(--color-border);border-radius:var(--radius-md);padding:var(--space-2) var(--space-3);background:var(--color-surface-muted)}.invoice-upload-modal__selected-name{display:inline-flex;align-items:center;gap:var(--space-2);min-width:0;overflow-wrap:anywhere;font-weight:650}.invoice-upload-modal__selected-size{color:var(--color-text-muted);font-size:12px}.invoice-recognition-detail{display:grid;gap:var(--space-4);min-width:0}.invoice-recognition-file-preview{display:grid;gap:var(--space-3);overflow:hidden;border:1px solid var(--color-border);border-radius:var(--radius-lg);background:#ffffff08;padding:var(--space-3)}.invoice-recognition-file-preview__header{display:flex;align-items:baseline;justify-content:space-between;gap:var(--space-3)}.invoice-recognition-file-preview__header h3{margin:0;color:var(--color-text);font-size:15px}.invoice-recognition-file-preview__header span{min-width:0;overflow:hidden;color:var(--color-text-muted);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.invoice-recognition-file-preview__image,.invoice-recognition-file-preview__pdf{display:block;width:100%;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface)}.invoice-recognition-file-preview__image{max-height:480px;object-fit:contain}.invoice-recognition-file-preview__pdf{height:480px}.invoice-recognition-file-preview__empty{display:grid;min-height:180px;place-items:center;border:1px dashed var(--color-border);border-radius:var(--radius-md);color:var(--color-text-muted)}.invoice-recognition-detail__section{display:grid;gap:var(--space-3);min-width:0}.invoice-recognition-detail__section h3{margin:0;color:var(--color-text);font-size:15px}.invoice-recognition-detail__section p{margin:0}.invoice-recognition-detail__rules{display:grid;gap:var(--space-2);margin:0;padding:0;list-style:none}.invoice-recognition-detail__rules li{display:flex;flex-wrap:wrap;gap:var(--space-2);align-items:center}.invoice-line-items__table{width:100%;min-width:980px;border-collapse:separate;border-spacing:0;table-layout:fixed}.invoice-line-items__table th,.invoice-line-items__table td{border-bottom:1px solid var(--color-border);padding:var(--space-2);vertical-align:top}.invoice-line-items__table th{color:var(--color-text-muted);font-size:12px;font-weight:650;text-align:left}.invoice-line-items__table th:nth-child(1),.invoice-line-items__table td:nth-child(1){width:48px}.invoice-line-items__table th:nth-child(2),.invoice-line-items__table td:nth-child(2){width:220px}.invoice-line-items__table th:nth-child(3),.invoice-line-items__table td:nth-child(3){width:160px}.invoice-line-items__table th:nth-child(4),.invoice-line-items__table td:nth-child(4),.invoice-line-items__table th:nth-child(5),.invoice-line-items__table td:nth-child(5),.invoice-line-items__table th:nth-child(6),.invoice-line-items__table td:nth-child(6){width:120px}.invoice-line-items__table th:nth-child(8),.invoice-line-items__table td:nth-child(8){width:72px;text-align:center}.invoice-line-items__delete.ui-button{width:32px;min-width:32px;height:32px;min-height:32px;padding:0}.invoice-status-cell{display:flex;flex-wrap:wrap;gap:var(--space-1);align-items:center;min-width:132px}.invoice-line-items__empty{display:grid;gap:var(--space-2);border:1px dashed var(--color-border);border-radius:var(--radius-md);padding:var(--space-4);color:var(--color-text-muted)}.invoice-line-items__empty p{margin:0}.invoice-totals-summary{display:grid;gap:var(--space-3);min-width:0;border-top:1px solid var(--color-border);padding-top:var(--space-3)}.invoice-totals-summary__row{display:flex;flex-wrap:wrap;gap:var(--space-2) var(--space-4);color:var(--color-text-muted)}.invoice-totals-summary__label{min-width:96px;color:var(--color-text);font-weight:650}.invoice-totals-summary__warning,.invoice-totals-summary__hint{margin:0;color:var(--color-warning);font-size:13px}.ui-drawer__body .platform-form-grid{grid-template-columns:1fr;align-items:stretch}.automation-time-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-2)}.automation-param-section{display:grid;grid-column:1 / -1;gap:var(--space-3);padding-top:var(--space-2)}.automation-param-section h3{margin:0;color:var(--color-text);font-size:14px;font-weight:700}.automation-param-section .ant-input-number{width:100%}.platform-filters .ui-field,.platform-form-grid .ui-field{flex:0 1 180px}.platform-filters .ui-field:has(input:not([type=date])){flex-basis:240px}.platform-filters .ui-field:has(input[type=date]),.platform-filters .ui-field:has(select){flex-basis:156px}.platform-stat-grid{display:grid;gap:var(--space-3)}.platform-stat-grid--four{grid-template-columns:repeat(4,minmax(0,1fr))}.invoice-monitoring-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(132px,180px));gap:var(--space-2);align-items:stretch}.invoice-monitoring-stat-grid .platform-stat{padding:var(--space-3);min-width:0}.invoice-monitoring-stat-grid .platform-stat strong{font-size:18px}.platform-stat,.platform-panel,.platform-summary{border:1px solid var(--color-border);border-radius:var(--radius-lg);background:var(--color-panel-surface);box-shadow:inset 0 1px #ffffff0a,var(--shadow-surface)}.platform-stat{display:grid;gap:var(--space-1);border-color:var(--color-border);background:var(--color-stat-surface);padding:var(--space-4);box-shadow:inset 0 2px 0 var(--color-stat-accent),var(--shadow-surface)}.platform-stat--clickable{cursor:pointer;transition:background-color .15s ease,border-color .15s ease}.platform-stat--clickable:hover{background-color:var(--color-surface-hover)}.platform-stat--clickable:focus-visible{outline:2px solid var(--color-accent);outline-offset:2px}.platform-stat span,.platform-stat small,.platform-summary span,.platform-mini-list dt{color:var(--color-text-muted);font-size:var(--font-size-label);font-weight:620}.platform-stat strong{color:var(--color-text);font-size:24px;font-weight:760;letter-spacing:0;line-height:1.16;font-variant-numeric:tabular-nums}.voucher-summary-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(128px,1fr));gap:var(--space-2);margin:0;padding:0;list-style:none;min-width:0}.voucher-summary-strip>[role=listitem],.voucher-summary-strip .platform-stat{min-width:0}.voucher-summary-strip .platform-stat{height:100%}.platform-stat__trailing,.platform-stat .ui-status-chip{max-width:100%;min-width:0}.platform-stat .ui-status-chip{white-space:normal;overflow-wrap:anywhere}.voucher-summary-strip__item{display:grid;flex:1 0 116px;min-width:116px;gap:2px;padding:var(--space-2) var(--space-3);border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);box-shadow:inset 0 1px #ffffff08}.voucher-summary-strip__item span{color:var(--color-text-muted);font-size:12px}.voucher-summary-strip__item strong{overflow-wrap:anywhere;font-size:15px;letter-spacing:0;line-height:1.25}.platform-panel{display:grid;gap:var(--space-3);padding:var(--space-4)}.platform-panel__header{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3)}.platform-grid--wide{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,1fr);gap:var(--space-4)}.platform-operations-grid{display:grid;align-items:center;grid-template-columns:minmax(0,1.25fr) minmax(220px,.82fr) minmax(220px,.82fr);gap:var(--space-4)}.platform-operations-grid>.platform-panel{align-content:start;height:100%}.platform-pressure-table{display:grid;gap:var(--space-1);overflow-x:auto}.platform-pressure-table__row{display:grid;align-items:center;grid-template-columns:minmax(140px,1.45fr) minmax(88px,.85fr) minmax(64px,.5fr) minmax(88px,.65fr);gap:var(--space-3);min-width:0;border-bottom:1px solid var(--color-border);padding:var(--space-2) 0}.platform-pressure-table__row:last-child{border-bottom:0}.platform-pressure-table__head{padding-top:0;color:var(--color-text-muted);font-size:12px;font-weight:600}.platform-pressure-table__row strong,.platform-pressure-table__row span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.platform-pressure-table__row [role=cell]:nth-child(3),.platform-pressure-table__row [role=cell]:nth-child(4),.platform-pressure-table__head span:nth-child(3),.platform-pressure-table__head span:nth-child(4){text-align:right}.platform-pressure-table__row [role=cell]:nth-child(3),.platform-pressure-table__row [role=cell]:nth-child(4){font-variant-numeric:tabular-nums}.firm-home-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.firm-home-overview-grid{display:grid;align-items:stretch;grid-template-columns:minmax(0,1.35fr) minmax(260px,.85fr);gap:var(--space-4)}.firm-home-overview-grid .platform-panel{align-content:start;height:100%}.firm-home-overview-grid .platform-mini-list div{align-items:baseline}.firm-home-follow-up-table .ui-table-wrap{min-height:260px}.platform-stack,.platform-progress-list{display:grid;gap:var(--space-3)}.platform-section-gap{display:grid;gap:var(--space-3);margin-top:var(--space-5)}.platform-section-gap h4{margin:0;color:var(--color-text);font-size:15px}.platform-mini-list,.platform-summary{display:grid;gap:var(--space-3);margin:0}.platform-mini-list div{display:flex;justify-content:space-between;gap:var(--space-3)}.platform-mini-list dd{margin:0;font-weight:700}.platform-summary{grid-template-columns:repeat(4,minmax(0,1fr));padding:var(--space-4)}.platform-summary div{display:grid;gap:var(--space-1)}.platform-link-button{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-2);min-height:var(--control-height);border:1px solid var(--color-border);border-radius:var(--radius-md);padding:0 var(--space-3);text-decoration:none;background:#ffffff08}.platform-link-button--primary{border-color:var(--color-accent);background:var(--color-accent);color:#fff;box-shadow:0 10px 24px #0000002e}.platform-link-button--primary:hover{border-color:var(--color-accent-strong);background:var(--color-accent-strong);color:#fff}.client-workspace-shell{min-height:100vh}.client-workspace-context-bar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:var(--space-3);padding:var(--space-3) var(--space-4);margin-bottom:var(--space-4);border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface-raised)}.client-workspace-context-bar__breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-2);min-width:0;font-size:13px;color:var(--color-text-muted)}.client-workspace-context-bar__breadcrumb a{color:var(--color-text-muted);text-decoration:none}.client-workspace-context-bar__breadcrumb a:hover{color:var(--color-text);text-decoration:underline}.client-workspace-context-bar__separator{color:var(--color-text-muted);opacity:.6}.client-workspace-context-bar__current{font-weight:600;color:var(--color-text)}.client-workspace-context-bar__actions{display:flex;align-items:center;gap:var(--space-3);flex:0 0 auto}.client-workspace-mobile-menu-trigger{display:none}.client-workspace-context-bar__back{font-size:13px;color:var(--color-text-muted);text-decoration:none}.client-workspace-context-bar__back:hover{color:var(--color-text);text-decoration:underline}.client-workspace-home{display:grid;gap:var(--space-5)}.client-workspace-home>.platform-page__header{margin-bottom:calc(var(--space-2) * -1)}.client-workspace-home .platform-stat-grid{gap:var(--space-4)}.client-workspace-todo-table .ui-table-wrap{min-height:184px}.client-workspace-todo-item{display:grid;gap:var(--space-1);min-width:0;max-width:640px}.client-workspace-todo-item strong{line-height:1.35;overflow-wrap:anywhere}.client-workspace-todo-item span{color:var(--color-text-muted);font-size:12px;line-height:1.45;white-space:normal;overflow-wrap:anywhere}.client-workspace-todo-table .ui-sticky-last-col{box-shadow:-10px 0 16px #0f172a0f}.client-workspace-mobile-backdrop{display:none}.workspace-grid{display:grid;grid-template-columns:260px minmax(0,1fr);gap:var(--space-4);align-items:start}.workspace-grid--nav-collapsed{grid-template-columns:72px minmax(0,1fr)}.workspace-sidebar.app-shell__sidebar{position:sticky;top:calc(var(--topbar-height) + var(--space-6));z-index:3;width:260px;height:auto;min-height:calc(100vh - var(--topbar-height) - (var(--space-6) * 3));max-height:calc(100vh - var(--topbar-height) - (var(--space-6) * 3));border:1px solid var(--color-sidebar-border);border-radius:var(--radius-lg);overflow:visible}.workspace-sidebar--collapsed.app-shell__sidebar{width:72px;overflow:hidden}.workspace-sidebar__header{display:flex;align-items:center;justify-content:flex-end;gap:var(--space-2);padding:var(--space-3) var(--space-3) var(--space-1)}.workspace-sidebar__title{flex:1 1 auto;min-width:0;color:var(--color-text-muted);font-size:12px;font-weight:700;letter-spacing:0;text-transform:uppercase}.workspace-sidebar--collapsed .workspace-sidebar__header{justify-content:center;padding:var(--space-2) var(--space-2) var(--space-1)}.workspace-sidebar__collapse.ui-button{width:36px;height:36px;padding:0}.workspace-grid--nav-collapsed .app-nav{padding:var(--space-1) var(--space-2) var(--space-3)}.workspace-grid--nav-collapsed .app-nav__menu.ant-menu-inline-collapsed{width:100%}.workspace-grid--nav-collapsed .app-nav__menu .ant-menu-item,.workspace-grid--nav-collapsed .app-nav__menu .ant-menu-submenu-title{width:100%;margin-inline:0;padding-inline:0;justify-content:center}.workspace-grid--nav-collapsed .ant-menu-submenu-title{justify-content:center}.workspace-grid--nav-collapsed .app-nav__menu .ant-menu-title-content,.workspace-grid--nav-collapsed .app-nav__menu .ant-menu-submenu-arrow{display:none}.workspace-grid--nav-collapsed .app-nav__link{justify-content:center;padding:0}.workspace-grid--nav-collapsed .app-nav__text{display:none}.client-workspace-layout--mobile-menu-open .client-workspace-sidebar{transform:translate(0)}.account-code{font-family:var(--font-mono);font-size:13px;color:var(--color-text)}.account-tree-cell{--account-depth: 0;align-items:center;display:inline-flex;gap:8px;min-width:0;padding-left:calc(var(--account-depth) * 22px);white-space:nowrap}.account-tree-cell__icon{color:#64748b;display:inline-flex;justify-content:center;width:16px}.account-template-link{color:var(--color-text);font-weight:650;text-decoration:none}.account-template-link:hover{color:var(--color-accent-strong)}.account-template-export{min-height:320px;font-family:var(--font-mono);font-size:12px}.counterparty-name-cell{display:grid;gap:var(--space-1);min-width:180px;overflow-wrap:anywhere}.counterparty-name-cell a{color:var(--color-text);font-weight:650;text-decoration:none}.counterparty-name-cell a:hover{color:var(--color-accent-strong)}.counterparty-code{color:var(--color-text-subtle);font-family:var(--font-mono);font-size:12px;overflow-wrap:anywhere}.counterparty-badge-stack,.counterparty-tag-stack{display:flex;flex-wrap:wrap;gap:var(--space-1);min-width:0}.counterparty-detail-grid{display:grid;gap:var(--space-4);grid-template-columns:repeat(2,minmax(0,1fr))}.counterparty-detail-grid .platform-panel{align-content:start;min-width:0}.counterparty-detail-grid .profile-list dd{overflow-wrap:anywhere}.counterparty-detail-actions{display:flex;flex-wrap:wrap;gap:var(--space-2);justify-content:flex-end}.counterparty-editor-section{display:grid;gap:var(--space-3);min-width:0}.counterparty-editor-section h3{margin:0;font-size:15px}.counterparty-choice-grid{display:grid;gap:var(--space-3);grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.counterparty-checkbox-stack,.counterparty-readonly-tax{display:grid;gap:var(--space-2);min-width:0}.counterparty-checkbox-row{display:inline-flex;align-items:center;gap:var(--space-2);min-width:0}.counterparty-checkbox-row input{width:auto;min-height:auto}.counterparty-tag-create-action{align-self:end}.platform-form-error{margin:0;color:var(--color-danger)}.platform-trend{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--space-2)}.platform-trend span{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface-muted);padding:var(--space-3)}.page-breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-2);color:var(--color-text-muted);font-size:13px}.page-breadcrumb a{color:var(--color-text);text-decoration:none}.page-breadcrumb a:hover{color:var(--color-accent-strong)}.object-summary-header{display:grid;gap:var(--space-4);border:1px solid var(--color-border);border-radius:var(--radius-lg);background:var(--color-surface);padding:var(--space-4);box-shadow:inset 0 1px #ffffff08}.object-summary-header h2{margin:0 0 var(--space-3);font-size:22px;line-height:1.25}.description-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-3) var(--space-5);margin:0}.description-grid--cols-1{grid-template-columns:minmax(0,1fr)}.description-grid--cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.description-grid__item{min-width:0}.description-grid__item--span-2{grid-column:span 2}.description-grid__item--span-3{grid-column:1 / -1}.description-grid dt{color:var(--color-text-subtle);font-size:12px}.description-grid dd{margin:var(--space-1) 0 0;overflow-wrap:anywhere;color:var(--color-text);font-weight:600}.tax-workpaper-block{display:grid;gap:var(--space-3);margin-top:var(--space-4);min-width:0}.tax-workpaper-block h4{margin:0;color:var(--color-text);font-size:15px;font-weight:650;line-height:1.3}.tax-workpaper-block__note{margin:0;color:var(--color-text-muted);font-size:13px}.inline-editable-section{display:grid;gap:var(--space-4);min-width:0;border:1px solid var(--color-border);border-radius:var(--radius-lg);background:var(--color-surface);padding:var(--space-4)}.inline-editable-section__header{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3)}.inline-editable-section__header h3{margin:0;font-size:16px}.inline-editable-section__actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:var(--space-2)}.inline-editable-section__body{min-width:0}.transfer-assignment-drawer__transfer{width:100%;min-width:0}.transfer-assignment-drawer__transfer .ant-transfer-list{flex:1 1 0;min-width:280px}.transfer-assignment-drawer__transfer .ant-transfer-operation{flex:0 0 auto}.ant-message{z-index:1000}@media(max-width:860px){.entry-grid{grid-template-columns:1fr}.app-shell{display:block}.app-mobile-topbar{position:sticky;top:0;z-index:40;display:flex;min-height:64px;align-items:center;justify-content:space-between;gap:var(--space-3);padding:0 var(--space-4);border-bottom:1px solid var(--color-border);background:var(--color-topbar);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.app-mobile-topbar strong{min-width:0;overflow:hidden;color:var(--color-text);font-size:16px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.app-mobile-topbar__trigger.ui-button{width:44px;min-width:44px;min-height:44px;padding:0}.app-shell__sidebar{position:fixed;top:0;bottom:0;left:0;z-index:60;width:min(82vw,320px)!important;max-width:min(82vw,320px)!important;min-width:0!important;height:100vh;transform:translate(-105%);transition:transform .16s ease}.app-mobile-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;background:#0f172a2e}.app-topbar,.entry-page__header{align-items:stretch;flex-direction:column}.entry-page__controls{align-items:stretch;flex-direction:column-reverse}.app-topbar__actions{flex-wrap:wrap}.app-content{min-width:0;padding:var(--space-4)}.app-nav__menu .ant-menu-item,.app-nav__menu .ant-menu-submenu-title{min-height:44px}.app-shell--nav-collapsed .app-nav__text{display:inline}.message-popover{right:auto;left:0;width:min(360px,calc(100vw - 32px))}.platform-page__header{align-items:stretch;flex-direction:column}.client-workspace-layout{display:block}.client-workspace-mobile-menu-trigger{display:inline-flex;flex:0 0 auto}.client-workspace-sidebar{position:fixed;top:0;bottom:0;left:0;width:min(84vw,340px);transform:translate(-105%);transition:transform .16s ease;z-index:55}.client-workspace-sidebar.workspace-sidebar.app-shell__sidebar,.client-workspace-sidebar.workspace-sidebar--collapsed.app-shell__sidebar{position:fixed;top:0;bottom:0;left:0;width:min(84vw,340px)!important;max-width:min(84vw,340px)!important;min-width:0!important;height:100vh;min-height:100vh;max-height:none;border-radius:0;transform:translate(-105%);transition:transform .16s ease;z-index:55}.client-workspace-layout--mobile-menu-open .client-workspace-sidebar.workspace-sidebar.app-shell__sidebar,.client-workspace-layout--mobile-menu-open .client-workspace-sidebar.workspace-sidebar--collapsed.app-shell__sidebar{transform:translate(0)}.client-workspace-layout--mobile-menu-open .client-workspace-mobile-backdrop{display:block}.client-workspace-mobile-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;background:#0f172a2e}.client-workspace-content{padding:var(--space-4);min-width:0}.client-workspace-sidebar .app-nav__menu .ant-menu-item,.client-workspace-sidebar .app-nav__menu .ant-menu-submenu-title{min-height:44px}.workspace-grid,.workspace-grid--nav-collapsed{grid-template-columns:1fr}.workspace-grid--nav-collapsed .app-nav__text{display:inline}.workspace-grid--nav-collapsed .app-nav__link{justify-content:flex-start;padding:0 var(--space-3)}.platform-filters,.platform-form-grid,.platform-stat-grid--four,.platform-grid--wide,.platform-operations-grid,.firm-home-stat-grid,.firm-home-overview-grid,.platform-summary,.platform-trend,.counterparty-detail-grid{grid-template-columns:1fr}.platform-filters,.platform-form-grid{display:grid}.invoice-entry-page-actions{display:grid;grid-template-columns:minmax(0,1fr);width:100%}.invoice-entry-page-actions .platform-link-button,.invoice-entry-page-actions .ui-button{width:100%;white-space:normal}.invoice-review-workbench{grid-template-columns:minmax(0,1fr)}.invoice-review-preview{position:static}.invoice-review-preview__viewport{min-height:360px}.invoice-review-workbench .invoice-form-section__grid .ui-field,.invoice-review-workbench .invoice-form-section__grid,.invoice-face-party-row,.invoice-review-workbench .invoice-face-party-row,.invoice-review-workbench .invoice-face-party-row .ui-field{grid-template-columns:minmax(0,1fr)}.invoice-review-workbench .invoice-form-section__grid .ui-field textarea,.invoice-review-workbench .invoice-form-section__grid .ui-field .ui-field__hint,.invoice-review-workbench .invoice-form-section__grid .ui-field .platform-form-error,.invoice-review-workbench .invoice-form-section__grid .invoice-form-field--full .invoice-evidence-options{grid-column:auto}.invoice-form-section__grid--tax .ui-field:has(textarea){grid-column:auto}.login-utility-bar{position:static;width:min(460px,100%);margin-bottom:var(--space-4)}}@media(max-width:900px){.login-page{width:min(520px,calc(100vw - 28px))}.login-panel--auth{grid-template-columns:minmax(0,1fr);min-height:auto}.login-brand{min-height:310px;padding:30px}.login-brand__wordmark{width:min(290px,100%)}.login-panel--auth .login-panel__form{padding:30px}.description-grid,.description-grid--cols-2,.description-grid--cols-3{grid-template-columns:minmax(0,1fr)}.description-grid__item--span-2,.description-grid__item--span-3{grid-column:auto}}
