/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-ease:initial}::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-ease:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--ease-out:cubic-bezier(0, 0, .2, 1);--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before{box-sizing:border-box;border:0 solid;margin:0;padding:0}::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.invisible{visibility:hidden}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.isolate{isolation:isolate}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.table{display:table}.grow{flex-grow:1}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.resize{resize:both}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.border{border-style:var(--tw-border-style);border-width:1px}.lowercase{text-transform:lowercase}.uppercase{text-transform:uppercase}.italic{font-style:italic}.line-through{text-decoration-line:line-through}.overline{text-decoration-line:overline}.underline{text-decoration-line:underline}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ring{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.\!filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)!important}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}}.auth-session-loading{background:var(--background,#fafafa);min-height:100vh;color:var(--muted,#687078);place-items:center;font-size:13px;display:grid}:root{--ink:#202123;--muted:#6f7278;--line:#e2e2df;--line-strong:#d3d3cf;--soft:#f7f7f5;--sidebar:#f2f2f0;--blue:#1473e6;--green:#079669;--amber:#b86b13}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--ink:#ececea;--muted:#a2a39f;--line:#343531;--line-strong:#454640;--soft:#1e1f1d;--sidebar:#171816;--blue:#5ba2f5;--green:#42c99b;--amber:#e3a24d}:root{--layer-menu:2000;--layer-dialog:1200}@font-face{font-display:swap;font-family:OpenAI Sans;font-style:normal;font-weight:400;src:url(https://cdn.openai.com/common/fonts/openai-sans/v2/OpenAISans-Regular.woff2)format("woff2")}@font-face{font-display:swap;font-family:OpenAI Sans;font-style:italic;font-weight:400;src:url(https://cdn.openai.com/common/fonts/openai-sans/v2/OpenAISans-RegularItalic.woff2)format("woff2")}@font-face{font-display:swap;font-family:OpenAI Sans;font-style:normal;font-weight:500;src:url(https://cdn.openai.com/common/fonts/openai-sans/v2/OpenAISans-Medium.woff2)format("woff2")}@font-face{font-display:swap;font-family:OpenAI Sans;font-style:italic;font-weight:500;src:url(https://cdn.openai.com/common/fonts/openai-sans/v2/OpenAISans-MediumItalic.woff2)format("woff2")}@font-face{font-display:swap;font-family:OpenAI Sans;font-style:normal;font-weight:600;src:url(https://cdn.openai.com/common/fonts/openai-sans/v2/OpenAISans-Semibold.woff2)format("woff2")}@font-face{font-display:swap;font-family:OpenAI Sans;font-style:italic;font-weight:600;src:url(https://cdn.openai.com/common/fonts/openai-sans/v2/OpenAISans-SemiboldItalic.woff2)format("woff2")}@font-face{font-display:swap;font-family:OpenAI Sans;font-style:normal;font-weight:700;src:url(https://cdn.openai.com/common/fonts/openai-sans/v2/OpenAISans-Bold.woff2)format("woff2")}@font-face{font-display:swap;font-family:OpenAI Sans;font-style:italic;font-weight:700;src:url(https://cdn.openai.com/common/fonts/openai-sans/v2/OpenAISans-BoldItalic.woff2)format("woff2")}*{box-sizing:border-box}html{scrollbar-gutter:stable}html,body{min-height:100%;color:var(--ink);font-family:var(--font-ui);background:#fff;margin:0}button,input,select,textarea,optgroup,option{font:inherit}button{color:inherit}.app-shell{background:#fff;grid-template-columns:246px minmax(0,1fr);min-height:100vh;display:grid;overflow:hidden}.sidebar{background:var(--sidebar);border-right:1px solid var(--line);flex-direction:column;height:100vh;padding:14px 10px 10px;display:flex;position:sticky;top:0}.brand{align-items:center;gap:10px;height:46px;padding:0 8px 10px;display:flex}.brand-mark{color:#fff;width:29px;height:29px;font:600 14px var(--font-ui);background:#111;border-radius:50%;place-items:center;display:grid}.brand strong,.brand small{display:block}.brand strong{font-size:14px}.brand small{color:var(--muted);margin-top:1px;font-size:10px}.collapse-button{margin-left:auto}.icon-button{cursor:pointer;background:0 0;border:1px solid #0000;border-radius:7px;place-items:center;width:30px;height:30px;display:grid}.icon-button:hover{border-color:var(--line);background:#fff}.workspace-switcher{border:1px solid var(--line);background:#fff;border-radius:9px;grid-template-columns:27px 1fr auto;align-items:center;gap:9px;margin:4px 2px 9px;padding:8px;display:grid;box-shadow:0 1px 2px #00000008}.workspace-switcher .workspace-dot{color:#1769c2;background:#e7f2ff;border-radius:7px;place-items:center;width:27px;height:27px;font-size:11px;font-weight:700;display:grid}.workspace-switcher small,.workspace-switcher strong{display:block}.workspace-switcher small{color:var(--muted);text-transform:uppercase;letter-spacing:.05em;font-size:9px}.workspace-switcher strong{margin-top:2px;font-size:11px}.sidebar-search,.global-search{border:1px solid var(--line);color:#797c82;background:#fff;border-radius:8px;align-items:center;display:flex}.sidebar-search{gap:7px;height:34px;margin:0 2px 10px;padding:0 9px}.sidebar-search input,.global-search input{min-width:0;color:var(--ink);background:0 0;border:0;outline:0;flex:1;font-size:12px}kbd{color:#8a8d92;white-space:nowrap;background:#f3f3f1;border:1px solid #e6e6e3;border-radius:5px;padding:2px 5px;font-family:inherit;font-size:9px}nav{flex-direction:column;gap:2px;display:flex}.nav-item{text-align:left;cursor:pointer;color:#484b50;background:0 0;border:0;border-radius:7px;align-items:center;gap:10px;width:100%;height:35px;padding:0 11px;font-size:12px;display:flex}.nav-item:hover{background:#e9e9e6}.nav-item.active{color:#151515;background:#dddeda;font-weight:600}.nav-count{color:#555;background:#fff;border-radius:10px;margin-left:auto;padding:1px 7px;font-size:10px}.sidebar-section-label{text-transform:uppercase;letter-spacing:.08em;color:#92959a;padding:20px 12px 6px;font-size:9px}.sidebar-footer{margin-top:auto}.help-card,.profile{text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;width:100%;display:flex}.help-card{border-radius:8px;gap:9px;margin-bottom:6px;padding:9px}.help-card:hover{background:#e7e7e4}.help-card>span{border:1px solid #c9cac6;border-radius:50%;place-items:center;width:28px;height:28px;display:grid}.help-card strong,.help-card small,.profile strong,.profile small{display:block}.help-card strong,.profile strong{font-size:11px}.help-card small,.profile small{color:var(--muted);margin-top:2px;font-size:9px}.profile{border-top:1px solid var(--line);gap:9px;height:51px;padding:9px 7px}.profile .avatar{color:#fff;background:#111;border-radius:50%;place-items:center;width:31px;height:31px;font-size:10px;display:grid}.profile div{flex:1}.main-shell{flex-direction:column;min-width:0;min-height:100vh;display:flex}.topbar{border-bottom:1px solid var(--line);grid-template-columns:minmax(220px,1fr) minmax(260px,480px) minmax(260px,1fr);align-items:center;gap:18px;height:54px;padding:0 20px;display:grid}.breadcrumbs{min-width:0;font-size:11px}.breadcrumbs ol{align-items:center;min-width:0;margin:0;padding:0;list-style:none;display:flex}.breadcrumbs li{align-items:center;min-width:0;display:flex}.breadcrumbs li:not(:last-child):after{content:"/";color:#aaa;flex:none;margin:0 8px}.breadcrumbs span{color:#777a80}.breadcrumbs span,.breadcrumbs strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.global-search{background:#f6f6f4;gap:8px;height:32px;padding:0 10px}.top-actions{justify-content:flex-end;align-items:center;gap:8px;display:flex}.status-pill{border:1px solid var(--line);color:#60636a;background:#fff;border-radius:14px;height:28px;padding:0 11px;font-size:10px}.status-pill span{background:#08a576;border-radius:50%;width:6px;height:6px;margin-right:6px;display:inline-block}.page-heading{justify-content:space-between;align-items:end;gap:24px;padding:24px 24px 18px;display:flex}.page-heading h1,.placeholder-page h1{letter-spacing:-.035em;margin:4px 0 8px;font-size:30px;line-height:1}.page-heading p,.placeholder-page p{color:var(--muted);margin:0;font-size:12px}.eyebrow{text-transform:uppercase;letter-spacing:.1em;color:#898c91;font-size:9px;font-weight:700}.heading-actions{gap:8px;display:flex}.primary-button,.secondary-button,.toolbar-button,.resman-button{cursor:pointer;white-space:nowrap;border-radius:7px;justify-content:center;align-items:center;gap:7px;display:inline-flex}.primary-button,.secondary-button{height:34px;padding:0 13px;font-size:11px}.primary-button{color:#fff;background:#171717;border:1px solid #171717}.primary-button:hover{background:#303030}.primary-button:disabled{opacity:.65}.secondary-button{border:1px solid var(--line-strong);background:#fff}.summary-strip{border:1px solid var(--line);background:#fff;border-radius:10px;grid-template-columns:1.4fr repeat(4,1fr);margin:0 24px 14px;display:grid;overflow:hidden}.summary-strip>div{border-right:1px solid var(--line);min-height:57px;padding:11px 14px}.summary-strip>div:last-child{border-right:0}.summary-strip small,.summary-strip strong,.summary-strip span{display:block}.summary-strip small{color:var(--muted);margin-bottom:5px;font-size:9px}.summary-strip span{color:#8a8d92;margin-top:3px;font-size:8px}.summary-strip .positive{color:var(--green)}.summary-strip .warning-text{color:var(--amber)}.workspace{flex:1;gap:0;min-height:0;padding:0 12px 12px;display:grid}.data-panel,.document-panel{border:1px solid var(--line);background:#fff;border-radius:11px;min-width:0;overflow:hidden}.data-panel{flex-direction:column;min-height:640px;display:flex}.panel-toolbar{border-bottom:1px solid var(--line);background:#fbfbfa;align-items:center;gap:7px;height:46px;padding:0 10px;display:flex}.segmented{background:#ececea;border-radius:7px;padding:2px;display:flex}.segmented button{cursor:pointer;color:#777;background:0 0;border:0;border-radius:5px;place-items:center;width:29px;height:25px;display:grid}.segmented button.active{color:#111;background:#fff;box-shadow:0 1px 3px #0002}.toolbar-button,.resman-button{border:1px solid var(--line);background:#fff;height:28px;padding:0 9px;font-size:10px}.toolbar-button:hover{background:#f3f3f1}.toolbar-spacer{flex:1}.selection-copy{color:var(--muted);font-size:9px}.filter-count{background:#eee;border-radius:10px;padding:1px 5px}.resman-button{color:#fff;background:#111;border-color:#111;padding:0 11px}.resman-dot{color:#073518;background:#2fc46f;border-radius:4px;place-items:center;width:16px;height:16px;font-size:8px;font-weight:800;display:grid}.dropdown-wrap{position:relative}.dropdown-menu{z-index:20;border:1px solid var(--line);background:#fff;border-radius:9px;width:176px;padding:6px;position:absolute;top:34px;right:0;box-shadow:0 12px 32px #0002}.dropdown-menu>small{color:#888;text-transform:uppercase;letter-spacing:.07em;padding:5px 8px;font-size:9px;display:block}.dropdown-menu>button{cursor:pointer;background:#fff;border:0;border-radius:6px;align-items:center;gap:8px;width:100%;height:32px;padding:0 8px;font-size:10px;display:flex}.dropdown-menu>button:hover{background:#f2f2f0}.version-menu{width:270px;padding:0}.menu-title{border-bottom:1px solid var(--line);justify-content:space-between;padding:12px;display:flex}.menu-title strong{font-size:12px}.menu-title small{color:var(--muted);font-size:9px}.version-row{border-bottom:1px solid #eeeeeb;grid-template-columns:8px 1fr auto;align-items:center;gap:8px;height:52px;padding:0 12px;display:grid}.version-dot{background:#aaa;border-radius:50%;width:6px;height:6px}.version-row:first-of-type .version-dot{background:#0aa373}.version-row strong,.version-row small{display:block}.version-row strong{font-size:10px}.version-row small{color:var(--muted);margin-top:3px;font-size:9px}.version-row em{color:#087b59;background:#eaf7f2;border-radius:8px;padding:2px 5px;font-size:8px;font-style:normal}.version-row button{color:#2272c9;cursor:pointer;background:0 0;border:0;font-size:9px}.compact-workspace{padding-top:12px}.compact-workspace .data-panel,.compact-workspace .document-panel{min-height:calc(100vh - 78px)}.process-compact{color:#fff;background:#171717;border-color:#171717}.process-compact:hover{background:#303030}.process-compact:disabled{opacity:.65}.panel-splitter{z-index:5;cursor:col-resize;touch-action:none;color:#0000;outline:0;justify-content:center;align-items:center;display:flex;position:relative}.panel-splitter:before{content:"";background:var(--line);border-radius:2px;width:2px;transition:width .15s,background .15s,left .15s;position:absolute;top:10px;bottom:10px;left:5px}.panel-splitter span{z-index:1;border:1px solid var(--line-strong);opacity:0;color:#5f6267;background:#fff;border-radius:7px;place-items:center;width:25px;height:25px;font-size:13px;transition:opacity .15s,transform .15s;display:grid;position:relative;transform:scale(.85);box-shadow:0 2px 8px #0002}.panel-splitter:hover span,.panel-splitter:focus span,.workspace.resizing .panel-splitter span{opacity:1;transform:scale(1)}.is-resizing-panels,.is-resizing-panels *{cursor:col-resize!important;-webkit-user-select:none!important;user-select:none!important}.table-scroll{background:repeating-linear-gradient(#fff 0 34px,#fafafa 34px 68px);flex:1;min-height:0;overflow:auto}table{border-collapse:separate;border-spacing:0;width:100%;min-width:1350px;font-size:10px}th{z-index:2;color:#5e6166;text-align:left;white-space:nowrap;border-bottom:1px solid var(--line);background:#f5f5f3;border-right:1px solid #e9e9e6;height:32px;padding:0 9px;font-size:9px;font-weight:600;position:sticky;top:0}td{white-space:nowrap;text-overflow:ellipsis;background:#fff;border-bottom:1px solid #ededeb;border-right:1px solid #f0f0ee;max-width:220px;height:38px;padding:0 9px;overflow:hidden}tbody tr:nth-child(2n) td{background:#fafafa}tbody tr:hover td{background:#f4f7fb}tbody tr.selected td{background:#edf5ff}.check-cell{width:35px;text-align:center!important;padding:0!important}.check-cell input{accent-color:#176fd1}.row-number{color:#8b8e93;text-align:center;width:32px}.invoice-cell,.cell-select,.gl-cell{align-items:center;gap:5px;display:flex}.cell-select svg{color:#1671d5;margin-left:auto}.description-cell{max-width:260px}.amount{text-align:right;font-variant-numeric:tabular-nums;font-weight:600}.gl-cell svg{color:#2382de}.confidence{font-variant-numeric:tabular-nums;align-items:center;gap:6px;display:inline-flex;position:relative}.confidence i{background:#0aa373;border-radius:2px;height:3px;width:38px!important}.confidence.medium i{background:#d99b28}.confidence.low{color:#a65f0d}.confidence.low i{background:#d27912}.table-footer{border-top:1px solid var(--line);color:#85888e;justify-content:space-between;align-items:center;height:30px;padding:0 11px;font-size:9px;display:flex}.invoice-detail{flex:1;padding:28px;overflow:auto}.detail-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:start;padding-bottom:20px;display:flex}.detail-header h2{margin:10px 0 5px;font-size:20px}.detail-header p{color:var(--muted);margin:0;font-size:11px}.badge{border-radius:12px;align-items:center;gap:4px;padding:4px 8px;font-size:9px;display:inline-flex}.badge.success{color:#087a59;background:#eaf7f2}.large-amount{font-size:24px;font-weight:600}.field-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 18px;margin-top:22px;display:grid}.field-grid label span{color:var(--muted);margin-bottom:6px;font-size:9px;display:block}.field-grid input{border:1px solid var(--line);border-radius:7px;outline:0;width:100%;height:34px;padding:0 10px;font-size:11px}.field-grid input:focus{border-color:#777;box-shadow:0 0 0 3px #0000000c}.ai-note{color:#395268;background:#f7f9fc;border:1px solid #dde5ee;border-radius:9px;grid-template-columns:24px 1fr auto;align-items:start;gap:10px;margin-top:22px;padding:14px;display:grid}.ai-note strong{font-size:10px}.ai-note p{color:#617285;margin:4px 0 0;font-size:10px;line-height:1.45}.ai-note>span{font-size:10px;font-weight:600}.invoice-single{background:#f7f7f5;flex-direction:column;gap:10px;padding:14px;display:flex}.single-invoice-heading{justify-content:space-between;align-items:flex-end;padding:2px 2px 4px;display:flex}.single-invoice-heading h2{letter-spacing:-.025em;margin:8px 0 3px;font-size:18px}.single-invoice-heading p{color:var(--muted);margin:0;font-size:10px}.single-invoice-total{text-align:right}.single-invoice-total small,.single-invoice-total strong{display:block}.single-invoice-total small{color:var(--muted);text-transform:uppercase;letter-spacing:.07em;font-size:8px}.invoice-section{border:1px solid var(--line);background:#fff;border-radius:9px}.invoice-section-title{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:10px;min-height:42px;padding:8px 10px;display:flex}.invoice-section-title strong,.invoice-section-title small{display:block}.invoice-section-title small{color:var(--muted);margin-top:3px;font-size:8px}.invoice-section-title>span{color:#087a59;background:#eaf7f2;border-radius:10px;padding:3px 6px;font-size:8px}.invoice-section-title button,.project-search button,.text-action{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:6px;height:25px;padding:0 8px;font-size:9px}.invoice-section-title button:hover,.project-search button:hover{background:#f3f3f1}.single-field-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px 9px;padding:10px;display:grid}.single-field-grid label>span,.bill-credit-control legend,.invoice-notes-section label>span{color:var(--muted);margin-bottom:4px;font-size:8px;display:block}.single-field-grid input,.single-field-grid select,.project-search input,.line-row input,.invoice-notes-section textarea{border:1px solid var(--line);width:100%;color:var(--ink);background:#fff;border-radius:6px;outline:0}.hold-date-control{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:7px;display:grid}.hold-date-control>label{white-space:nowrap;align-items:center;gap:4px;font-size:8px;display:flex}.hold-date-control>label input{width:13px;height:13px;padding:0}.bill-credit-control{border:0;align-items:center;gap:10px;margin:0;padding:0;display:flex}.bill-credit-control legend{float:left;margin-right:9px}.bill-credit-control input{accent-color:#202123;width:13px;height:13px;padding:0}.project-section{min-width:0}.project-summary{gap:7px;margin:0;padding:9px 10px;display:grid}.project-summary>div{grid-template-columns:76px 1fr;gap:7px;font-size:8px;display:grid}.project-summary dt{color:var(--muted)}.project-summary dd{margin:0;line-height:1.35}.project-document{border-top:1px solid var(--line);grid-template-columns:76px 1fr;gap:7px;padding:8px 10px;font-size:8px;display:grid}.project-document>span{color:var(--muted)}.project-document a{color:#1769bd;align-items:center;gap:4px;text-decoration:none;display:flex}.project-document em{color:var(--muted);font-style:normal}.project-search{grid-template-columns:1fr auto;gap:6px;padding:8px 10px 0;display:grid}.text-action{color:#1769bd;background:0 0;border:0;margin:6px 10px 0;padding:0}.project-ai-note{color:#53687a;background:#f4f7fa;border-radius:7px;grid-template-columns:18px 1fr;gap:5px;margin:8px 10px 10px;padding:8px;display:grid}.project-ai-note p{margin:0;font-size:8px;line-height:1.45}.line-items-section{min-width:0}.single-line-scroll{padding:9px;overflow:auto}.line-header,.line-row{grid-template-columns:90px 80px 90px minmax(180px,1.4fr) minmax(150px,1fr) 82px 54px 74px 42px;align-items:center;display:grid}.line-header{border:1px solid var(--line);color:#666a70;background:#f5f5f3;border-radius:6px 6px 0 0;height:27px;font-size:8px;font-weight:600}.line-row{border:1px solid var(--line);background:#fff;border-top:0;min-height:39px;font-size:8px}.line-row>*{min-width:0;margin:0 4px}.line-row>span{white-space:nowrap;text-overflow:ellipsis;color:var(--muted);overflow:hidden}.line-row>strong{text-align:right;font-size:9px}.line-ai-input{position:relative}.line-ai-input input{padding-right:22px}.line-ai-input svg{color:#1769bd;position:absolute;top:8px;right:7px}.numeric-input{text-align:right}.tax-check{place-items:center;display:grid}.tax-check input{width:14px;height:14px;padding:0}.line-total{justify-content:flex-end;gap:24px;padding:8px 10px 2px;font-size:9px;display:flex}.line-total span{color:var(--muted)}.invoice-notes-section{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;padding:10px;display:grid}.invoice-notes-section textarea{resize:vertical;height:54px;font:9px/1.4 var(--font-ui);padding:8px}.invoice-detail-actions{gap:7px;display:flex}.app-shell[data-theme=dark] .invoice-section{background:#1b1c1a}.app-shell[data-theme=dark] .single-field-grid input,.app-shell[data-theme=dark] .single-field-grid select,.app-shell[data-theme=dark] .project-search input,.app-shell[data-theme=dark] .line-row input,.app-shell[data-theme=dark] .invoice-notes-section textarea{background:#20211f;border-color:#383934}.app-shell[data-theme=dark] .line-header{background:#232421}.app-shell[data-theme=dark] .line-row{background:#1b1c1a}.app-shell[data-theme=dark] .project-ai-note{color:#9fb9cc;background:#18242d}.app-shell[data-theme=dark] .invoice-section-title>span{color:#65d3ad;background:#173a30}.app-shell[data-theme=dark] .invoice-section-title button,.app-shell[data-theme=dark] .project-search button{background:#242522}.app-shell[data-theme=dark] .text-action{background:0 0}.app-shell[data-theme=dark] .bill-credit-control input{accent-color:#ececea}@media (max-width:1100px){.invoice-overview-grid{grid-template-columns:1fr}.single-field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.single-field-grid .field-wide{grid-column:span 2}}.document-panel{flex-direction:column;min-height:640px;display:flex}.document-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;height:53px;padding:0 12px;display:flex}.document-header small,.document-header strong{display:block}.document-header small{text-transform:uppercase;letter-spacing:.07em;color:var(--muted);font-size:8px}.document-header strong{margin-top:3px;font-size:11px}.doc-actions{border-bottom:1px solid var(--line);grid-template-columns:1fr repeat(3,auto);gap:5px;padding:8px;display:grid}.doc-actions>div{border:1px solid var(--line);border-radius:6px;min-width:68px;padding:5px 8px}.doc-actions strong,.doc-actions small{display:block}.doc-actions strong{font-size:12px}.doc-actions small{color:var(--muted);font-size:7px}.doc-actions button,.pdf-toolbar button{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:6px;align-items:center;gap:5px;height:31px;padding:0 8px;font-size:9px;display:flex}.doc-actions button.dark-action{color:#fff;background:#2d3138;border-color:#2d3138}.pdf-toolbar{border-bottom:1px solid var(--line);background:#f8f8f6;align-items:center;gap:5px;height:43px;padding:5px 8px;display:flex}.pdf-toolbar button{height:28px}.pdf-toolbar span{color:#676a70;font-size:9px}@keyframes scan{0%{top:10%}50%{top:87%}to{top:10%}}.viewer-commandbar{border-bottom:1px solid var(--line);background:#fbfbfa;flex:0 0 46px;align-items:center;gap:5px;height:46px;padding:0 8px;display:flex;overflow:hidden;container-type:inline-size}.viewer-document-name{text-overflow:ellipsis;white-space:nowrap;min-width:50px;max-width:120px;font-size:10px;overflow:hidden}.viewer-count{min-width:20px;height:20px;color:var(--muted);background:#ececea;border-radius:10px;place-items:center;font-size:8px;display:grid}.viewer-page,.viewer-zoom{white-space:nowrap;color:var(--muted);font-size:8px}.viewer-page{padding-left:4px}.viewer-command-spacer{flex:1}.viewer-commandbar button{cursor:pointer;background:0 0;border:1px solid #0000;border-radius:6px;flex:0 0 28px;place-items:center;width:28px;height:28px;display:grid}.viewer-commandbar button:hover{border-color:var(--line);background:#eee}.viewer-commandbar button.viewer-process{color:#fff;background:#24272d}.viewer-commandbar button:disabled{opacity:.55}.viewer-body{background:#f3f4f5;flex:1;grid-template-columns:minmax(0,1fr) 104px;gap:8px;min-height:0;padding:9px;display:grid}.document-canvas{background:#e7e9eb;border-radius:7px;place-items:center;min-height:480px;display:grid;position:relative;overflow:hidden}.paper{aspect-ratio:.72;color:#56606b;background:#fff;width:76%;padding:25px 22px;box-shadow:0 2px 8px #0002}.paper-logo{letter-spacing:.05em;color:#263c52;font-size:18px;font-weight:800}.paper-title{letter-spacing:.14em;margin:4px 0 22px;font-size:7px}.paper-line{background:#d9dee2;border-radius:2px;width:72%;height:3px;margin:8px 0}.paper-line.wide{width:100%}.paper-line.medium{width:56%}.paper-columns{grid-template-columns:1fr 1fr;gap:12px;margin:18px 0;display:grid}.paper-columns span,.paper-box span,.paper-total span{letter-spacing:.06em;font-size:5px;display:block}.paper-columns b,.paper-box b,.paper-total b{font-size:8px}.paper-box{border:1px solid #d9dee2;border-radius:3px;margin-top:25px;padding:10px}.paper-total{border-top:1px solid #cdd3d8;justify-content:space-between;margin-top:30px;padding-top:10px;display:flex}.scan-line{background:#18a579;height:2px;animation:1.4s ease-in-out infinite scan;position:absolute;left:6%;right:6%;box-shadow:0 0 12px #18a579}.thumbnail-list{flex-direction:column;gap:6px;display:flex;overflow:auto}.thumbnail-list>button{border:1px solid var(--line);text-align:left;cursor:pointer;background:#fff;border-radius:6px;padding:5px}.thumbnail-list>button.active{border-color:#5d6470;box-shadow:0 0 0 1px #5d6470}.mini-paper{color:#aaa;background:#f7f7f7;border:1px solid #e1e1df;place-items:center;height:48px;margin-bottom:5px;font-size:8px;display:grid}.thumbnail-list strong,.thumbnail-list small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.thumbnail-list strong{font-size:7px}.thumbnail-list small{color:var(--muted);margin-top:2px;font-size:7px}.doc-status{border-radius:6px;margin-top:4px;padding:2px 4px;font-size:6px;display:inline-block}.doc-status.green{color:#087b59;background:#e7f6f0}.doc-status.amber{color:#9b5b0d;background:#fff1dc}.doc-status.blue{color:#1769bd;background:#e9f2fc}.viewer-footer{border-top:1px solid var(--line);justify-content:space-between;align-items:center;height:32px;padding:0 11px;font-size:9px;display:flex}.viewer-footer span{color:var(--muted);align-items:center;gap:5px;display:flex}.document-panel{position:relative}.viewer-commandbar button.viewer-page,.viewer-commandbar button.viewer-zoom{flex:none;width:auto;min-width:30px;padding:0 4px}.viewer-commandbar button.command-active{border-color:var(--line);background:#e8e8e5}.viewer-more-wrap{flex:0 0 28px;position:relative}.viewer-more-menu{z-index:40;border:1px solid var(--line);background:#fff;border-radius:8px;width:142px;margin-top:5px;margin-left:-114px;padding:5px;position:fixed;box-shadow:0 12px 30px #0003}.viewer-more-menu button{justify-content:flex-start;width:100%;height:29px;padding:0 8px;font-size:9px;display:flex}.viewer-more-menu button.danger{color:#c33b35}.viewer-search{border-bottom:1px solid var(--line);background:#f7f7f5;flex:0 0 38px;align-items:center;gap:7px;height:38px;padding:0 9px;display:flex}.viewer-search input{min-width:0;color:var(--ink);background:0 0;border:0;outline:0;flex:1;font-size:10px}.viewer-search button{cursor:pointer;background:0 0;border:0;border-radius:5px;width:23px;height:23px}.mini-paper.uploaded{color:#bb3732;background:#fff1f0;border-color:#efcfcc;font-weight:700}.pdf-drop-overlay{z-index:30;color:#2568a9;pointer-events:none;background:#eef6ffed;border:2px dashed #5d9ddd;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:7px;display:flex;position:absolute;inset:54px 10px 42px}.pdf-drop-overlay span{font-size:9px}.document-panel.dragging-file{outline-offset:-2px;outline:2px solid #5d9ddd}.document-canvas.has-real-pdf{background:#e7e8e6;display:block;overflow:hidden}.custom-pdf-viewer{scrollbar-color:#a9aaa6 transparent;background:#e7e8e6;width:100%;height:100%;min-height:480px;padding:18px;position:relative;overflow:auto}.pdf-pages{flex-direction:column;align-items:center;gap:12px;min-width:100%;display:flex}.pdf-page-canvas{background:#fff;flex:none;display:block;box-shadow:0 2px 10px #1717171f}.pdf-loading,.pdf-render-error{color:#676a70;background:#e7e8e6dd;justify-content:center;align-items:center;gap:7px;font-size:10px;display:flex;position:absolute;inset:0}.pdf-loading svg{animation:.9s linear infinite spin}.pdf-render-error{color:#a2413b}@keyframes spin{to{transform:rotate(360deg)}}.custom-pdf-viewer.space-pan-ready{cursor:grab}.custom-pdf-viewer.is-space-panning{cursor:grabbing;-webkit-user-select:none;user-select:none}.custom-pdf-viewer.is-space-panning .pdf-pages{pointer-events:none}.viewer-body.empty{grid-template-columns:1fr}.empty-pdf-state{width:min(320px,82%);color:var(--ink);cursor:pointer;background:#f7f7f5;border:1px dashed #b8bab5;border-radius:10px;flex-direction:column;align-items:center;gap:7px;padding:30px 20px;display:flex}.empty-pdf-state>span{background:#ececea;border-radius:10px;place-items:center;width:38px;height:38px;display:grid}.empty-pdf-state small{color:var(--muted);font-size:9px}.mini-paper.uploaded{aspect-ratio:.77;height:auto;color:inherit;background:#fff;border-color:#dededb;overflow:hidden}.pdf-thumbnail-canvas{object-fit:cover;object-position:top;background:#fff;width:100%;height:100%;display:block}.thumbnail-list>button{overflow:hidden}.thumbnail-list>button>div:last-child{min-width:0}.placeholder-page{max-width:700px;margin:10vh auto;padding:60px}.placeholder-page h1{margin:10px 0;font-size:42px}.placeholder-page p{margin-bottom:24px;font-size:14px;line-height:1.6}.toast{color:#fff;z-index:50;background:#1e1f20;border-radius:9px;align-items:center;gap:10px;padding:11px 15px;font-size:11px;animation:.2s ease-out toast-in;display:flex;position:fixed;bottom:20px;right:20px;box-shadow:0 10px 35px #0004}.toast>span{background:#119d72;border-radius:50%;place-items:center;width:19px;height:19px;display:grid}@keyframes toast-in{0%{opacity:0;transform:translateY(8px)}}:root[data-theme=dark] body,.app-shell[data-theme=dark]{background:#10110f}.app-shell[data-theme=dark] .sidebar{background:#171816}.app-shell[data-theme=dark] .main-shell{background:#10110f}.app-shell[data-theme=dark] .topbar{background:#141513}.app-shell[data-theme=dark] .brand-mark{color:#181917;background:#ececea}.app-shell[data-theme=dark] .workspace-switcher,.app-shell[data-theme=dark] .sidebar-search,.app-shell[data-theme=dark] .status-pill,.app-shell[data-theme=dark] .secondary-button,.app-shell[data-theme=dark] .summary-strip,.app-shell[data-theme=dark] .data-panel,.app-shell[data-theme=dark] .document-panel,.app-shell[data-theme=dark] .toolbar-button,.app-shell[data-theme=dark] .dropdown-menu,.app-shell[data-theme=dark] .dropdown-menu>button,.app-shell[data-theme=dark] .doc-actions button,.app-shell[data-theme=dark] .pdf-toolbar button,.app-shell[data-theme=dark] .thumbnail-list>button{color:var(--ink);background:#1b1c1a}.app-shell[data-theme=dark] .workspace-switcher{box-shadow:0 1px 2px #0008}.app-shell[data-theme=dark] .workspace-switcher .workspace-dot{color:#8ec2ff;background:#253b52}.app-shell[data-theme=dark] .global-search,.app-shell[data-theme=dark] .panel-toolbar,.app-shell[data-theme=dark] .pdf-toolbar{background:#191a18}.app-shell[data-theme=dark] kbd{color:#b2b3af;background:#262724;border-color:#363733}.app-shell[data-theme=dark] .icon-button:hover,.app-shell[data-theme=dark] .nav-count{color:#d6d6d3;background:#292a27}.app-shell[data-theme=dark] .nav-item{color:#b7b8b4}.app-shell[data-theme=dark] .nav-item:hover{background:#222320}.app-shell[data-theme=dark] .nav-item.active{color:#fff;background:#30312d}.app-shell[data-theme=dark] .help-card:hover{background:#222320}.app-shell[data-theme=dark] .profile .avatar{color:#171816;background:#e9e9e6}.app-shell[data-theme=dark] .primary-button,.app-shell[data-theme=dark] .resman-button,.app-shell[data-theme=dark] .process-compact{color:#171816;background:#ececea;border-color:#ececea}.app-shell[data-theme=dark] .primary-button:hover{background:#fff}.app-shell[data-theme=dark] .resman-dot{color:#073518;background:#2fc46f}.app-shell[data-theme=dark] .segmented button.active{color:#fff;background:#343531;box-shadow:0 1px 3px #0008}.app-shell[data-theme=dark] .filter-count{background:#343531}.app-shell[data-theme=dark] .dropdown-menu{box-shadow:0 14px 36px #0009}.app-shell[data-theme=dark] .dropdown-menu>button:hover{background:#292a27}.app-shell[data-theme=dark] .version-row{border-bottom-color:#30312e}.app-shell[data-theme=dark] .version-row em{color:#65d3ad;background:#173a30}.app-shell[data-theme=dark] .table-scroll{background:repeating-linear-gradient(#191a18 0 34px,#1c1d1b 34px 68px)}.app-shell[data-theme=dark] th{color:#b7b8b4;background:#232421;border-right-color:#343531}.app-shell[data-theme=dark] td{background:#191a18;border-bottom-color:#2b2c29;border-right-color:#252623}.app-shell[data-theme=dark] tbody tr:nth-child(2n) td{background:#1c1d1b}.app-shell[data-theme=dark] tbody tr:hover td{background:#25292d}.app-shell[data-theme=dark] tbody tr.selected td{background:#1d3248}.app-shell[data-theme=dark] .cell-select svg,.app-shell[data-theme=dark] .gl-cell svg{color:#69aef9}.app-shell[data-theme=dark] .field-grid input{color:#ececea;background:#1b1c1a}.app-shell[data-theme=dark] .ai-note{color:#a9c6dc;background:#18242d;border-color:#293c4a}.app-shell[data-theme=dark] .ai-note p{color:#8eacc2}.app-shell[data-theme=dark] .badge.success{color:#65d3ad;background:#173a30}.app-shell[data-theme=dark] .viewer-body{background:#151614}.app-shell[data-theme=dark] .viewer-commandbar{background:#191a18}.app-shell[data-theme=dark] .viewer-count{background:#30312d}.app-shell[data-theme=dark] .viewer-commandbar button:hover{background:#292a27}.app-shell[data-theme=dark] .viewer-commandbar button.viewer-process{color:#171816;background:#ececea}.app-shell[data-theme=dark] .viewer-commandbar button.command-active{background:#343531}.app-shell[data-theme=dark] .viewer-more-menu{background:#1b1c1a;box-shadow:0 14px 36px #000b}.app-shell[data-theme=dark] .viewer-search{background:#191a18}.app-shell[data-theme=dark] .mini-paper.uploaded{color:#ffaaa4;background:#402422;border-color:#68413e}.app-shell[data-theme=dark] .pdf-drop-overlay{color:#8bc3f5;background:#142a3bed;border-color:#5d9ddd}.app-shell[data-theme=dark] .document-canvas.has-real-pdf,.app-shell[data-theme=dark] .custom-pdf-viewer,.app-shell[data-theme=dark] .pdf-loading,.app-shell[data-theme=dark] .pdf-render-error{background:#242522}.app-shell[data-theme=dark] .custom-pdf-viewer{scrollbar-color:#5b5c57 transparent}.app-shell[data-theme=dark] .pdf-page-canvas{box-shadow:0 3px 14px #0008}.app-shell[data-theme=dark] .empty-pdf-state{background:#1d1e1b;border-color:#4a4b46}.app-shell[data-theme=dark] .empty-pdf-state>span{background:#30312d}.app-shell[data-theme=dark] .mini-paper.uploaded{background:#fff;border-color:#494a45}.app-shell[data-theme=dark] .document-canvas{background:#292b2c}.app-shell[data-theme=dark] .mini-paper{color:#777873;background:#292a27;border-color:#3d3e39}.app-shell[data-theme=dark] .thumbnail-list>button.active{border-color:#92958e;box-shadow:0 0 0 1px #92958e}.app-shell[data-theme=dark] .doc-actions button.dark-action{color:#171816;background:#e5e5e2;border-color:#e5e5e2}.app-shell[data-theme=dark] .doc-status.green{color:#65d3ad;background:#173a30}.app-shell[data-theme=dark] .doc-status.amber{color:#f0b764;background:#493319}.app-shell[data-theme=dark] .doc-status.blue{color:#80baff;background:#1d3248}.app-shell[data-theme=dark] .toast{color:#171816;background:#ededeb}.app-shell[data-theme=dark] .panel-splitter span{color:#d6d6d3;background:#292a27;border-color:#4a4b46;box-shadow:0 2px 9px #0008}.theme-toggle{transition:background .18s,color .18s,transform .18s}.theme-toggle:active{transform:rotate(18deg)scale(.94)}.sidebar-collapsed .sidebar{padding:14px 8px 10px}.sidebar-collapsed .brand-mark,.sidebar-collapsed .brand>div:nth-child(2){display:none}.sidebar-collapsed .collapse-button{border-color:var(--line);background:#fff;width:38px;height:38px;margin:0}.sidebar-collapsed nav{margin-top:12px}.sidebar-collapsed .nav-item{justify-content:center;width:44px;height:42px;margin:0 auto;padding:0;position:relative}.sidebar-collapsed .nav-item span:not(.nav-count),.sidebar-collapsed .sidebar-section-label{display:none}.sidebar-collapsed .nav-count{min-width:15px;margin:0;padding:0 4px;position:absolute;top:1px;right:1px}.sidebar-collapsed .profile{justify-content:center;padding:9px 0}.sidebar-collapsed .profile div,.sidebar-collapsed .profile svg{display:none}.sidebar-collapsed .sidebar-footer{margin-top:auto}.app-shell[data-theme=dark].sidebar-collapsed .collapse-button{background:#292a27}@container (width<=430px){.viewer-zoom{display:none}.viewer-document-name{max-width:82px}}@media (min-width:901px){html{scrollbar-gutter:auto}html,body{height:100%;overflow:hidden}.app-shell,.main-shell{height:100vh;min-height:0;overflow:hidden}.compact-workspace{height:calc(100vh - 54px);min-height:0;padding-top:12px}.compact-workspace .data-panel,.compact-workspace .document-panel{height:calc(100vh - 78px);min-height:0}.data-panel,.document-panel{min-height:0}.viewer-body{min-height:0;overflow:hidden}.document-canvas,.document-canvas.has-real-pdf{height:100%;min-height:0;overflow:hidden}.custom-pdf-viewer{overscroll-behavior:contain;scrollbar-gutter:stable;height:100%;min-height:0;overflow:auto}.table-scroll{overscroll-behavior:contain;min-height:0}}.data-panel{container:data-panel/inline-size}.invoice-single{gap:12px;padding:16px}.single-invoice-heading{padding:3px 3px 5px}.single-invoice-heading h2{margin:9px 0 4px;font-size:20px}.single-invoice-heading p{font-size:11px}.single-invoice-total small{font-size:9px}.single-invoice-total strong{margin-top:4px;font-size:22px}.invoice-overview-grid{grid-template-columns:minmax(0,2fr) minmax(270px,.82fr);gap:12px}.invoice-section-title strong{font-size:12px}.invoice-section-title small{font-size:9px}.invoice-section-title>span{padding:4px 7px;font-size:9px}.invoice-section-title button,.project-search button,.text-action{height:30px;padding:0 10px;font-size:10px}.single-field-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:11px 12px;padding:12px}.single-field-grid label>span,.bill-credit-control>span,.invoice-notes-section label>span{color:var(--muted);margin-bottom:5px;font-size:10px;display:block}.single-field-grid input,.single-field-grid select,.project-search input,.line-row input{height:34px;padding:0 9px;font-size:11px}.hold-date-control{gap:8px}.hold-date-control>label{gap:5px;font-size:10px}.hold-date-control>label input{width:14px;height:14px}.bill-credit-control{border:0;min-width:0;margin:0;padding:0;display:block}.bill-credit-control>div{align-items:center;gap:12px;height:34px;display:flex}.bill-credit-control label{align-items:center;gap:5px;font-size:11px;display:flex}.bill-credit-control input{width:14px;height:14px;padding:0}.project-summary>div{grid-template-columns:82px 1fr;gap:8px;font-size:10px}.project-document{grid-template-columns:82px 1fr;gap:8px;padding:10px 12px;font-size:10px}.project-search{padding:10px 12px 0}.text-action{margin:7px 12px 0}.project-ai-note{grid-template-columns:20px 1fr;gap:7px;margin:10px 12px 12px;padding:10px}.single-line-scroll{padding:11px}.line-header span{padding:0 8px}.line-row>*{margin:0 5px}.line-row>strong{font-size:10px}.line-total{padding:10px 12px 3px;font-size:10px}.invoice-notes-section{padding:12px}.invoice-notes-section textarea{height:60px;padding:9px;font-size:10px}@container data-panel (width<=980px){.panel-toolbar .selection-copy,.panel-toolbar .group-color-control span{display:none}.panel-toolbar .toolbar-button{gap:0;width:32px;padding:0;font-size:0}.panel-toolbar .dropdown-wrap .toolbar-button svg:last-child,.panel-toolbar .toolbar-button.split svg:last-child{display:none}.panel-toolbar .resman-button{gap:0;width:32px;padding:0;font-size:0}.invoice-overview-grid{grid-template-columns:minmax(0,1.65fr) minmax(230px,.75fr)}.single-field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.single-field-grid .field-wide{grid-column:span 2}.invoice-section-title small{display:none}.single-line-table{min-width:680px}.line-header,.line-row{grid-template-columns:84px 72px 82px minmax(170px,1fr) 82px 50px 72px}.line-header>:nth-child(5),.line-row>:nth-child(5),.line-header>:nth-child(9),.line-row>:nth-child(9){display:none}}@container data-panel (width<=820px){.invoice-single{padding:12px}.invoice-overview-grid{grid-template-columns:minmax(0,1fr) 210px;gap:9px}.project-summary>div:nth-child(3),.project-document,.project-ai-note,.text-action{display:none}.project-summary{padding-bottom:12px}.single-invoice-heading p{white-space:nowrap;text-overflow:ellipsis;max-width:340px;overflow:hidden}}@container data-panel (width<=700px){.project-section{display:none}.invoice-overview-grid{grid-template-columns:1fr}.single-invoice-heading p{display:none}.single-line-table{min-width:570px}.line-header,.line-row{grid-template-columns:82px 82px minmax(175px,1fr) 80px 48px 72px}.line-header>:nth-child(2),.line-row>:nth-child(2){display:none}.invoice-notes-section{grid-template-columns:1fr}.invoice-detail-actions{justify-content:flex-end}}@container data-panel (width<=580px){.invoice-single{gap:9px;padding:10px}.single-field-grid{grid-template-columns:1fr}.single-field-grid .field-wide{grid-column:span 1}.single-invoice-heading h2{font-size:18px}.single-invoice-total strong{font-size:19px}.line-items-section .invoice-section-title button{width:30px;padding:0;font-size:0}.line-items-section .invoice-section-title button:before{content:"+";font-size:15px}}.profile .avatar.profile-photo{background-image:none}.profile .avatar.profile-photo img{object-fit:cover;object-position:center;width:100%;height:100%;display:block}.app-shell[data-theme=dark] .profile .avatar.profile-photo{background-image:none}.profile .avatar.profile-photo{background-color:#d8d9d6;background-image:none;flex:0 0 31px;width:31px;height:31px;display:block;overflow:hidden;box-shadow:inset 0 0 0 1px #ffffff80,0 1px 2px #0000001f}.app-shell[data-theme=dark] .profile .avatar.profile-photo{background-color:#292a27;box-shadow:inset 0 0 0 1px #ffffff24,0 1px 3px #0006}.sidebar{background:radial-gradient(190px 34% at 8% 102%,#ffffff24 0%,#0000 74%),radial-gradient(150px 38% at 108% 12%,#4b8bff6b 0%,#0000 78%),linear-gradient(#075cff 0%,#1265f4 48%,#3776e5 100%);border-right-color:#1754cf;box-shadow:inset -1px 0 #8bb0ff55,5px 0 24px #1d55c21c}.sidebar:after{content:"";z-index:0;pointer-events:none;filter:blur(.2px);background:linear-gradient(#0000,#9bb9ff75 26%,#d0ddffb5 54%,#8db0ff68 82%,#0000);width:2px;height:90%;position:absolute;top:5%;right:-1px}.sidebar>*{z-index:1;position:relative}.sidebar .brand-wordmark{color:#fff}.sidebar .nav-item{color:#edf3ff;border:1px solid #0000}.sidebar .nav-item:hover{background:#ffffff17;border-color:#b9ceff24;box-shadow:0 5px 15px #07379b24}.sidebar .nav-item.active{color:#fff;background:#164bb4b8;border:1px solid #7ba5ff38;font-weight:600;box-shadow:0 7px 20px #06348866,inset 0 0 18px #6c9cff16}.sidebar .nav-count{color:#1553c1;background:#ffffffed;box-shadow:0 1px 5px #07337b30}.sidebar .sidebar-section-label{color:#cbdcff}.sidebar .profile{color:#fff;background:#1553c9a6;border:1px solid #8eb0ff38;border-radius:9px;box-shadow:0 7px 20px #0736865c,inset 0 0 18px #7aa5ff12}.sidebar .profile small{color:#d7e4ff}.sidebar .collapse-button{color:#fff;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border-color:#0000;flex:0 0 30px;width:30px;height:30px}.sidebar .collapse-button>svg{flex:0 0 16px;width:16px;height:16px}.sidebar .collapse-button:hover{background:#ffffff2c;border-color:#ffffff70}.app-shell[data-theme=dark] .sidebar{border-right-color:var(--line);box-shadow:none;background:#171816}.app-shell[data-theme=dark] .sidebar:after{display:none}.app-shell[data-theme=dark] .sidebar .brand-wordmark{color:#f2f2ef}.app-shell[data-theme=dark] .sidebar .nav-item{color:#b7b8b4}.app-shell[data-theme=dark] .sidebar .nav-item:hover{box-shadow:none;background:#222320;border-color:#0000}.app-shell[data-theme=dark] .sidebar .nav-item.active{color:#fff;box-shadow:none;background:#30312d;border-color:#0000}.app-shell[data-theme=dark] .sidebar .nav-count{color:#d6d6d3;box-shadow:none;background:#292a27}.app-shell[data-theme=dark] .sidebar .sidebar-section-label{color:#92959a}.app-shell[data-theme=dark] .sidebar .profile{color:var(--ink);border:0;border-top:1px solid var(--line);box-shadow:none;background:0 0;border-radius:0}.app-shell[data-theme=dark] .sidebar .profile small{color:var(--muted)}.app-shell[data-theme=dark] .sidebar .collapse-button{color:var(--ink);-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border-color:#0000}.app-shell[data-theme=dark] .sidebar .collapse-button:hover{border-color:var(--line);background:#292a27}.topbar-profile{border:1px solid var(--line);width:48px;min-width:48px;height:34px;color:var(--ink);cursor:pointer;background:#fff;border-radius:8px;justify-content:space-between;align-items:center;gap:4px;padding:3px 5px 3px 3px;transition:background .15s,border-color .15s,box-shadow .15s;display:flex}.topbar-profile:hover{border-color:var(--line-strong);background:#f7f7f5;box-shadow:0 2px 8px #0000000b}.topbar-profile-photo{background:#d8d9d6;border-radius:50%;flex:0 0 26px;width:26px;height:26px;overflow:hidden;box-shadow:inset 0 0 0 1px #ffffff80,0 1px 2px #0000001f}.topbar-profile-photo img{object-fit:cover;object-position:center;width:100%;height:100%;display:block}.topbar-profile>svg{width:12px;height:12px;color:var(--muted)}.app-shell[data-theme=dark] .topbar-profile{border-color:var(--line);color:var(--ink);background:#1b1c1a}.app-shell[data-theme=dark] .topbar-profile:hover{border-color:var(--line-strong);box-shadow:none;background:#292a27}.app-shell[data-theme=dark] .topbar-profile-photo{background:#292a27;box-shadow:inset 0 0 0 1px #ffffff24,0 1px 3px #0006}.brand{gap:7px;padding:0 4px 10px;position:relative}.brand-wordmark{color:#161719;letter-spacing:-.045em;white-space:nowrap;flex:none;font-size:18px;font-weight:600;line-height:38px;transition:opacity .16s,transform .2s,font-size .2s;display:block}.app-shell[data-theme=dark] .brand-wordmark{color:#f2f2ef}.brand .collapse-button{z-index:2;position:relative}.sidebar-collapsed .brand{justify-content:center;height:46px;padding:0 0 10px}.sidebar-collapsed .brand .brand-wordmark{display:none}.sidebar-collapsed .brand .collapse-button{opacity:1;color:#fff;width:30px;height:30px;box-shadow:none;background:#ffffff18;border-color:#c7d7ff3d;flex:0 0 30px;margin:0 auto;transition:background .15s,border-color .15s;display:grid;position:relative;top:auto;left:auto;transform:none}.sidebar-collapsed .brand .collapse-button:hover{background:#ffffff2c;border-color:#ffffff70}.app-shell[data-theme=dark].sidebar-collapsed .brand .collapse-button{background:#292a27}.thumbnail-list>button{border-color:#dedfdb;border-radius:8px;transition:background-color .16s,border-color .16s,box-shadow .16s,transform .16s;position:relative}.thumbnail-list>button:hover{background:#fafaf8;border-color:#c9cbc6;box-shadow:0 2px 8px #1118100a}.thumbnail-list>button.active{background:#f2f7fb;border-color:#86a2bd;box-shadow:0 0 0 3px #6f94b61f,0 7px 18px #263c5214}.app-shell[data-theme=dark] .thumbnail-list>button:hover{background:#20211e;border-color:#484a45;box-shadow:0 3px 12px #0003}.app-shell[data-theme=dark] .thumbnail-list>button.active{background:#202a32;border-color:#6f8da8;box-shadow:0 0 0 3px #779bb52e,0 7px 20px #0005}.thumbnail-list{-webkit-user-select:none;user-select:none}.thumbnail-list>button.selected{background:#edf5fd;border-color:#77a8dc;box-shadow:0 0 0 1px #77a8dc22,0 4px 12px #1a5d9d12}.thumbnail-list>button.active.selected{background:#e6f1fc;border-color:#3f83c6;box-shadow:0 0 0 2px #3f83c62b,0 7px 18px #1c568d18}.thumbnail-selection-mark{z-index:4;color:#fff;opacity:0;background:#2f7dc6;border-radius:5px;place-items:center;width:17px;height:17px;transition:opacity .14s,transform .14s;display:grid;position:absolute;top:8px;right:8px;transform:scale(.82);box-shadow:0 1px 3px #173b5e26}.thumbnail-list>button.selected .thumbnail-selection-mark{opacity:1;transform:none}.app-shell[data-theme=dark] .thumbnail-list>button.selected{background:#1d2a35;border-color:#5889b5;box-shadow:0 0 0 1px #6098c82b}.app-shell[data-theme=dark] .thumbnail-list>button.active.selected{background:#203242;border-color:#75a9d5;box-shadow:0 0 0 2px #75a9d52b,0 7px 20px #0004}.viewer-process-wrap{width:59px;min-width:59px;height:var(--section-bar-control);flex:0 0 59px;align-items:center;gap:0;display:flex;position:relative}.viewer-commandbar .viewer-process-wrap>.viewer-process{min-width:var(--section-bar-control);color:#fff;border-radius:6px 0 0 6px;position:relative;width:var(--section-bar-control)!important;height:var(--section-bar-control)!important;background:0 0!important;border-color:#0000!important}.viewer-commandbar .viewer-process-wrap>.viewer-process:hover{background:var(--surface-hover)!important;border-color:#0000!important}.viewer-commandbar .viewer-process-wrap>.viewer-process.is-stopping{background:0 0!important;border-color:#0000!important}.process-dot{color:#fff;background:#24272d;border-radius:5px;place-items:center;width:18px;height:18px;transition:background .14s,transform .14s;display:grid}.viewer-process:hover .process-dot{background:#333740}.viewer-process.is-stopping .process-dot{background:#24272d}.viewer-commandbar .viewer-process-wrap>.process-menu-trigger{min-width:27px;min-height:27px;color:var(--ink);background:0 0;border:0;border-radius:0 6px 6px 0;flex:0 0 27px;margin-left:-1px;padding:0;width:27px!important;height:27px!important}.viewer-commandbar .viewer-process-wrap>.process-menu-trigger:hover:not(:disabled),.viewer-commandbar .viewer-process-wrap>.process-menu-trigger.active{background:var(--surface-subtle)!important;border-color:#0000!important}.viewer-commandbar .viewer-process-wrap>.process-menu-trigger:disabled{opacity:.3;cursor:default}.viewer-process-menu{z-index:65;background:var(--surface-panel);border:0;border-radius:10px;width:208px;padding:6px;animation:.16s cubic-bezier(.2,.8,.2,1) both resman-card-in;position:absolute;top:38px;left:auto;right:0;transform:none;box-shadow:0 14px 36px #17202a24}.viewer-commandbar .viewer-process-menu>button{min-width:0;min-height:46px;color:var(--ink);text-align:left;border-radius:7px;grid-template-columns:25px minmax(0,1fr);align-items:center;column-gap:10px;padding:0 9px;display:grid;background:0 0!important;border:0!important;width:100%!important;height:46px!important}.viewer-commandbar .viewer-process-menu>button:hover:not(:disabled){background:var(--surface-subtle)!important}.viewer-commandbar .viewer-process-menu>button:disabled{opacity:.42;cursor:default}.viewer-process-menu .process-option-icon{background:var(--surface-subtle);color:#2879c6;border-radius:7px;justify-self:start;place-items:center;width:25px;height:25px;display:grid}.viewer-process-menu .process-option-copy{justify-self:stretch;width:100%;min-width:0;display:block}.viewer-process-menu .process-option-title,.viewer-process-menu small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.viewer-process-menu .process-option-title{font-size:var(--text-small);font-weight:400;line-height:1.25}.viewer-process-menu small{font-size:var(--text-caption);color:var(--muted);margin-top:2px}.app-shell[data-theme=dark] .viewer-commandbar .viewer-process-wrap>.viewer-process{color:#171816;background:0 0!important;border-color:#0000!important}.app-shell[data-theme=dark] .viewer-commandbar .viewer-process-wrap>.viewer-process:hover{background:#292a27!important;border-color:#0000!important}.app-shell[data-theme=dark] .process-dot{color:#171816;background:#ececea}.app-shell[data-theme=dark] .viewer-process:hover .process-dot{background:#fff}.app-shell[data-theme=dark] .viewer-commandbar .viewer-process-wrap>.process-menu-trigger:hover:not(:disabled),.app-shell[data-theme=dark] .viewer-commandbar .viewer-process-wrap>.process-menu-trigger.active{background:#292a27!important}.viewer-commandbar button.routing-trigger{border-color:var(--line);min-width:72px;height:28px;color:var(--ink);font-size:var(--text-caption);white-space:nowrap;flex:none;align-items:center;gap:5px;padding:0 8px;display:flex;width:auto!important}.viewer-commandbar button.routing-trigger:hover,.viewer-commandbar button.routing-trigger.command-active{background:var(--surface-subtle);border-color:var(--line)}.routing-trigger svg:last-child{margin-left:1px}.routing-popover{z-index:10020;border:1px solid var(--line);width:300px;padding:8px;position:fixed}@supports (color:color-mix(in lab, red, red)){.routing-popover{border:1px solid color-mix(in srgb,var(--line) 88%,transparent)}}.routing-popover{background:var(--surface-panel);color:var(--ink);border-radius:13px;animation:.15s cubic-bezier(.2,.8,.2,1) both resman-card-in;box-shadow:0 18px 48px #18212b26,0 2px 8px #18212b12}.routing-popover>header{border-bottom:1px solid var(--line);align-items:center;height:48px;padding:0 8px 7px;display:flex}.routing-popover>header div{min-width:0}.routing-popover>header strong,.routing-popover>header small{display:block}.routing-popover>header strong{font-size:var(--text-small);font-weight:600}.routing-popover>header small{color:var(--muted);font-size:var(--text-caption);margin-top:2px}.routing-popover>header button{color:var(--muted);font:inherit;font-size:var(--text-caption);cursor:pointer;background:0 0;border:0;border-radius:6px;padding:6px 7px}.routing-popover>header button:hover{background:var(--surface-subtle);color:var(--ink)}.routing-options{gap:2px;padding-top:6px;display:grid}.routing-options>button{width:100%;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:9px;grid-template-columns:18px minmax(0,1fr);gap:8px;padding:9px;display:grid}.routing-options>button:hover{background:var(--surface-subtle)}.routing-options>button.selected{background:var(--accent,#2f7dc6)}@supports (color:color-mix(in lab, red, red)){.routing-options>button.selected{background:color-mix(in srgb,var(--accent,#2f7dc6) 9%,var(--surface-panel))}}.routing-options>button>span:last-child{min-width:0}.routing-options strong,.routing-options small{display:block}.routing-options strong{font-size:var(--text-small);font-weight:500}.routing-options small{color:var(--muted);font-size:var(--text-caption);margin-top:3px;line-height:1.35}.routing-radio{border:1px solid var(--muted);width:15px;height:15px;margin-top:1px}@supports (color:color-mix(in lab, red, red)){.routing-radio{border:1px solid color-mix(in srgb,var(--muted) 55%,transparent)}}.routing-radio{border-radius:50%;place-items:center;display:grid}.routing-options .selected .routing-radio{border-color:var(--accent,#2f7dc6)}.routing-options .selected .routing-radio i{background:var(--accent,#2f7dc6);border-radius:50%;width:7px;height:7px}.app-shell[data-theme=dark] .routing-popover{box-shadow:0 20px 56px #0008,0 1px 0 #fff08}.app-shell[data-theme=dark] .routing-options>button.selected{background:#252b31}@container (width<=600px){.viewer-commandbar button.routing-trigger{justify-content:center;min-width:28px;padding:0;width:28px!important}.routing-trigger span,.routing-trigger svg:last-child{display:none}}.table-scroll{position:relative}.skeleton-row td{pointer-events:none}.skeleton-row td>span{background:linear-gradient(90deg,#e8eaec 25%,#f5f6f7 50%,#e8eaec 75%) 0 0/220% 100%;border-radius:999px;min-width:28px;height:7px;animation:1.3s ease-in-out infinite table-shimmer;display:block}.skeleton-row:nth-child(n+7){opacity:.72}.processing-overlay{z-index:3;color:var(--ink);pointer-events:none;background:linear-gradient(#ffffff10 0,#fffffff0 27%,#fff 62%);flex-direction:column;justify-content:center;align-items:center;padding-bottom:7%;display:flex;position:absolute;inset:32px 0 0}.processing-overlay>strong{letter-spacing:-.01em;margin-top:10px;font-size:14px;font-weight:600}.processing-overlay>small{color:var(--muted);margin-top:4px;font-size:9px}.processing-orbit{color:#377fbf;background:#eef5fb;border-radius:50%;place-items:center;width:42px;height:42px;display:grid;position:relative}.processing-orbit>i{border:1.5px solid #bed3e5;border-top-color:#377fbf;border-radius:50%;animation:.9s linear infinite spin;position:absolute;inset:-4px}.processing-checklist{flex-direction:column;gap:8px;width:min(290px,76%);margin-top:18px;display:flex}.processing-checklist>div{color:#a0a4aa;align-items:center;gap:8px;font-size:9px;transition:color .2s,transform .2s;display:flex}.processing-checklist>div>span{border:1px solid #d8dadd;border-radius:50%;flex:0 0 15px;place-items:center;width:15px;height:15px;display:grid}.processing-checklist>div.done{color:#6d7d8d}.processing-checklist>div.done>span{color:#377fbf;background:#f0f6fb;border-color:#72a8d5}.processing-checklist>div.active{color:var(--ink);font-weight:600;transform:translate(2px)}.processing-checklist>div.active>span{border-color:#5e95c3}.processing-checklist>div.active>span>i{background:#377fbf;border-radius:50%;width:5px;height:5px;animation:.9s ease-in-out infinite processing-pulse;box-shadow:0 0 0 3px #72a8d530}.revealed-row{opacity:0;animation:.34s cubic-bezier(.2,.75,.25,1) forwards row-reveal}.table-empty-state{color:var(--ink);pointer-events:none;flex-direction:column;justify-content:center;align-items:center;gap:6px;display:flex;position:absolute;inset:32px 0 0}.table-empty-state>span{color:#737981;background:#f0f2f3;border-radius:12px;place-items:center;width:42px;height:42px;margin-bottom:3px;display:grid}.table-empty-state strong{font-size:14px;font-weight:600}.table-empty-state small{color:var(--muted);font-size:9px}@keyframes table-shimmer{to{background-position:-220% 0}}@keyframes processing-pulse{50%{opacity:.55;transform:scale(.7)}}@keyframes row-reveal{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}.app-shell[data-theme=dark] .skeleton-row td>span{background:linear-gradient(90deg,#30322f 25%,#41443f 50%,#30322f 75%) 0 0/220% 100%}.app-shell[data-theme=dark] .processing-overlay{background:linear-gradient(#191a1810 0,#191a18ef 27%,#191a18 62%)}.app-shell[data-theme=dark] .processing-orbit{color:#8ab8df;background:#24323e}.app-shell[data-theme=dark] .processing-orbit>i{border-color:#8ab8df #40586b #40586b}.app-shell[data-theme=dark] .processing-checklist>div>span{border-color:#41433f}.app-shell[data-theme=dark] .processing-checklist>div.done>span{color:#8ab8df;background:#24323e;border-color:#638caf}.app-shell[data-theme=dark] .processing-checklist>div.active>span{border-color:#729bbd}.app-shell[data-theme=dark] .processing-checklist>div.active>span>i{background:#8ab8df;box-shadow:0 0 0 3px #8ab8df2b}.app-shell[data-theme=dark] .table-empty-state>span{color:#aeb2ab;background:#2a2c29}@media (prefers-reduced-motion:reduce){.skeleton-row td>span,.processing-orbit>i,.processing-checklist>div.active>span>i,.revealed-row{animation:none}.revealed-row{opacity:1}}.pdf-page-shell{isolation:isolate;background:#fff;flex:none;position:relative;overflow:hidden;box-shadow:0 2px 10px #1717171f}.pdf-page-shell .pdf-page-canvas{box-shadow:none;width:100%!important;height:100%!important}.pdf-pages.is-scanning .pdf-page-shell:first-child{animation:1.25s ease-in-out infinite alternate page-processing-glow}.pdf-pages.is-scanning .pdf-page-shell:first-child:before{content:"";z-index:2;pointer-events:none;background:linear-gradient(#377fbf0a,#20a07b08 46%,#377fbf0b);animation:1.4s ease-in-out infinite alternate document-breathe;position:absolute;inset:0;box-shadow:inset 0 0 42px #3c779b16}.pdf-pages.is-scanning .pdf-page-shell:first-child:after{content:"";z-index:3;pointer-events:none;background:linear-gradient(#0000 0%,#5a9cc108 18%,#52a8a42b 58%,#60b5ae52 82%,#b8e5df80 96%,#f4fffdc7 100%);border-bottom:1px solid #55a99ba8;height:150px;animation:3.9s cubic-bezier(.36,.05,.18,1) forwards document-scan-band;position:absolute;top:-150px;left:0;right:0;box-shadow:0 16px 32px #268d7f2e,0 34px 68px #367ba41f,0 -12px 32px #4aa99d20}@keyframes document-scan-band{0%{top:-150px}8%{top:-120px}92%{top:calc(100% - 30px)}to{top:100%}}@keyframes page-processing-glow{0%{box-shadow:0 3px 12px #17171724,0 0 0 1px #5192b414}to{box-shadow:0 9px 28px #1d6f7e2b,0 0 0 1px #4a9e9945}}@keyframes document-breathe{0%{opacity:.45}to{opacity:1}}.app-shell[data-theme=dark] .pdf-page-shell{box-shadow:0 3px 14px #0008}@media (prefers-reduced-motion:reduce){.pdf-pages.is-scanning .pdf-page-shell:first-child,.pdf-pages.is-scanning .pdf-page-shell:first-child:before,.pdf-pages.is-scanning .pdf-page-shell:first-child:after{animation:none}.pdf-pages.is-scanning .pdf-page-shell:first-child:after{opacity:.7;top:45%}}.resman-table{min-width:3180px}.resman-table th:nth-child(2),.resman-table td:nth-child(2){min-width:170px}.resman-table th:nth-child(3),.resman-table td:nth-child(3){min-width:105px}.resman-table th:nth-child(4),.resman-table td:nth-child(4),.resman-table th:nth-child(5),.resman-table td:nth-child(5),.resman-table th:nth-child(20),.resman-table td:nth-child(20){min-width:112px}.resman-table th:nth-child(6),.resman-table td:nth-child(6){min-width:165px}.resman-table th:nth-child(7),.resman-table td:nth-child(7),.resman-table th:nth-child(12),.resman-table td:nth-child(12){min-width:235px}.resman-table th:nth-child(8),.resman-table td:nth-child(8){text-align:center;min-width:115px}.resman-table th:nth-child(9),.resman-table td:nth-child(9){min-width:145px}.resman-table th:nth-child(10),.resman-table td:nth-child(10),.resman-table th:nth-child(11),.resman-table td:nth-child(11){min-width:105px}.resman-table th:nth-child(14),.resman-table td:nth-child(14),.resman-table th:nth-child(19),.resman-table td:nth-child(19){min-width:145px}.resman-table th:nth-child(15),.resman-table td:nth-child(15){text-align:center;min-width:150px}.resman-table th:nth-child(16),.resman-table td:nth-child(16),.resman-table th:nth-child(17),.resman-table td:nth-child(17),.resman-table th:nth-child(18),.resman-table td:nth-child(18),.resman-table th:nth-child(24),.resman-table td:nth-child(24),.resman-table th:nth-child(25),.resman-table td:nth-child(25){min-width:115px}.numeric-cell{text-align:center;font-variant-numeric:tabular-nums}.boolean-pill,.payment-state,.received-state{border-radius:999px;align-items:center;gap:4px;padding:3px 7px;font-size:8px;line-height:1;display:inline-flex}.boolean-pill.no{color:#666a66;background:#f0f1ef}.boolean-pill.yes{color:#9a5c12;background:#fff0dc}.payment-state{color:#686b6f;background:#f3f3f1}.received-state{color:#087b59;background:#e8f6f0}.document-link{color:#236fae;align-items:center;gap:5px;font-weight:600;text-decoration:none;display:inline-flex}.document-link:hover{text-decoration:underline}.app-shell[data-theme=dark] .boolean-pill.no,.app-shell[data-theme=dark] .payment-state{color:#b4b7b2;background:#30322f}.app-shell[data-theme=dark] .received-state{color:#65d1ab;background:#173a30}.app-shell[data-theme=dark] .document-link{color:#82b5df}.group-color-control{border:1px solid var(--line);color:#62666a;white-space:nowrap;background:#fff;border-radius:7px;align-items:center;gap:7px;height:28px;padding:0 7px 0 9px;font-size:9px;display:flex}.group-color-switch{cursor:pointer;background:#d8d9d6;border:0;border-radius:999px;flex:0 0 27px;width:27px;height:16px;padding:0;transition:background-color .18s,box-shadow .18s;position:relative}.group-color-switch>i{background:#fff;border-radius:50%;width:12px;height:12px;transition:transform .2s cubic-bezier(.2,.75,.25,1);position:absolute;top:2px;left:2px;box-shadow:0 1px 3px #0003}.group-color-switch[aria-checked=true]{background:#506f86;box-shadow:inset 0 0 0 1px #35566f26}.group-color-switch:focus-visible{outline-offset:2px;outline:2px solid #7aa1c0}.resman-table tbody tr.invoice-group-0 td{background:#f2f8fc}.resman-table tbody tr.invoice-group-1 td{background:#f1f8f5}.resman-table tbody tr.invoice-group-2 td{background:#f8f4fb}.resman-table tbody tr.invoice-group-3 td{background:#faf6ee}.resman-table tbody tr.invoice-group-4 td{background:#fbf3f5}.resman-table tbody tr.invoice-group-5 td{background:#f3f5f7}.resman-table tbody tr.invoice-group-start td{border-top:1px solid #aeb8c026}.resman-table tbody tr.invoice-group:hover td{box-shadow:inset 0 0 0 999px #42627b08}.resman-table tbody tr.selected td{background:#e3f0fc;box-shadow:inset 0 0 0 999px #3171a40b}.app-shell[data-theme=dark] .group-color-control{color:#b2b5b0;background:#20211f}.app-shell[data-theme=dark] .group-color-switch{background:#464844}.app-shell[data-theme=dark] .group-color-switch[aria-checked=true]{background:#86abc7}.app-shell[data-theme=dark] .group-color-switch[aria-checked=true]>i{background:#17202a}.app-shell[data-theme=dark] .resman-table tbody tr.invoice-group-0 td{background:#1b252c}.app-shell[data-theme=dark] .resman-table tbody tr.invoice-group-1 td{background:#1a2723}.app-shell[data-theme=dark] .resman-table tbody tr.invoice-group-2 td{background:#25212b}.app-shell[data-theme=dark] .resman-table tbody tr.invoice-group-3 td{background:#29251e}.app-shell[data-theme=dark] .resman-table tbody tr.invoice-group-4 td{background:#292023}.app-shell[data-theme=dark] .resman-table tbody tr.invoice-group-5 td{background:#22262a}.app-shell[data-theme=dark] .resman-table tbody tr.invoice-group-start td{border-top-color:#aab6bf20}.app-shell[data-theme=dark] .resman-table tbody tr.invoice-group:hover td{box-shadow:inset 0 0 0 999px #b7d3e50a}.app-shell[data-theme=dark] .resman-table tbody tr.selected td{background:#1d3a54;box-shadow:inset 0 0 0 999px #75b9ee0c}.viewer-commandbar{position:relative}.viewer-global-progress{z-index:8;pointer-events:none;background:#dfe5e8;height:2px;position:absolute;bottom:0;left:0;right:0;overflow:hidden}.viewer-global-progress>i{background:linear-gradient(90deg,#4e89b7,#25a58d);border-radius:0 999px 999px 0;min-width:2px;height:100%;transition:width .28s cubic-bezier(.2,.75,.25,1);display:block;box-shadow:0 0 8px #398fa670}.thumbnail-list{min-height:0}.thumbnail-list>button{flex:none}.mini-paper.uploaded{aspect-ratio:210/297;background:#eceeec;width:100%;height:auto;padding:3px;position:relative}.pdf-thumbnail-canvas{object-fit:contain;object-position:center top;background:#fff;width:100%;height:100%}.thumbnail-loader{pointer-events:none;background:linear-gradient(145deg,#f8f9f8ed,#ecefede8);align-items:flex-end;padding:0 8px 8px;display:flex;position:absolute;inset:3px}.thumbnail-loader:before{content:"";background:#d6dad8;border-radius:999px;height:2px;position:absolute;bottom:8px;left:8px;right:8px}.thumbnail-loader>i{z-index:1;background:linear-gradient(90deg,#76a4c8,#36aa93);border-radius:999px;width:38%;height:2px;animation:1.05s ease-in-out infinite thumbnail-load-bar;display:block;position:relative;box-shadow:0 0 6px #459a9b55}@keyframes thumbnail-load-bar{0%{transform:translate(-125%)}to{transform:translate(265%)}}.pdf-page-shell.is-loading .pdf-page-canvas{opacity:.18}.pdf-page-loader{z-index:4;color:#7b8084;background:linear-gradient(145deg,#f8f9f8f2,#eff1f0e8);flex-direction:column;justify-content:center;align-items:center;gap:9px;transition:opacity .18s;display:flex;position:absolute;inset:0}.pdf-page-loader>span{letter-spacing:.01em;font-size:9px}.pdf-page-loader>div{background:#dadddc;border-radius:999px;width:min(126px,38%);height:3px;overflow:hidden}.pdf-page-loader>div>i{border-radius:inherit;background:linear-gradient(90deg,#75a3c8,#38ad96);width:42%;height:100%;animation:1.15s cubic-bezier(.55,.05,.25,.95) infinite page-load-bar;display:block;box-shadow:0 0 8px #459a9b5c}.pdf-page-shell.is-rendering .pdf-page-loader>div>i{animation-duration:.72s}@keyframes page-load-bar{0%{transform:translate(-115%)}to{transform:translate(255%)}}.app-shell[data-theme=dark] .viewer-global-progress{background:#333a3b}.app-shell[data-theme=dark] .pdf-page-loader{color:#a9adaa;background:linear-gradient(145deg,#292b29f2,#222422ed)}.app-shell[data-theme=dark] .pdf-page-loader>div{background:#3d403d}.app-shell[data-theme=dark] .mini-paper.uploaded{background:#292b29}.app-shell[data-theme=dark] .thumbnail-loader{background:linear-gradient(145deg,#2a2c2af0,#222422eb)}.app-shell[data-theme=dark] .thumbnail-loader:before{background:#3d403d}@media (prefers-reduced-motion:reduce){.pdf-page-loader>div>i,.thumbnail-loader>i{width:55%;animation:none;transform:none}}@media (max-width:1200px){.workspace{grid-template-columns:minmax(0,1fr) 330px}.status-pill{display:none}.topbar{grid-template-columns:1fr minmax(280px,420px) auto}.summary-strip{grid-template-columns:1.3fr repeat(4,1fr)}}@media (max-width:900px){.brand-wordmark{letter-spacing:-.035em;font-size:10px}.app-shell{grid-template-columns:68px minmax(0,1fr)}.sidebar{padding:14px 8px}.brand>div:not(.brand-mark),.workspace-switcher div,.workspace-switcher svg,.sidebar-search input,.sidebar-search kbd,.nav-item span:not(.nav-count),.sidebar-section-label,.help-card,.profile div,.profile svg{display:none}.brand{justify-content:center;padding:0}.collapse-button{display:none}.workspace-switcher{grid-template-columns:1fr;place-items:center;padding:7px}.nav-item{justify-content:center;padding:0}.nav-count{margin-top:-22px;margin-left:25px;padding:0 4px;position:absolute}.profile{justify-content:center}.workspace{gap:12px;grid-template-columns:1fr!important}.panel-splitter{display:none}.document-panel{min-height:560px}.summary-strip{overflow:auto}.summary-strip>div{min-width:115px}.page-heading{align-items:start}.topbar{grid-template-columns:1fr auto}.global-search{display:none}}@media (max-width:620px){.topbar{padding:0 12px}.page-heading{padding:18px 14px 14px;display:block}.heading-actions{margin-top:14px}.summary-strip{margin:0 14px 12px}.workspace{padding:0 6px 8px}.panel-toolbar{overflow-x:auto}.selection-copy{display:none}.workspace .data-panel{min-height:520px}.document-panel{display:none}.field-grid{grid-template-columns:1fr}.page-heading h1{font-size:26px}}@media (min-width:901px){.app-shell{transition:grid-template-columns .24s cubic-bezier(.2,.75,.25,1)}.sidebar{padding:14px 8px 10px;overflow:hidden}.sidebar nav{margin-top:12px}.nav-item{gap:10px;padding:0 10px;position:relative}.nav-item>svg{flex:0 0 16px}.nav-item span:not(.nav-count){white-space:nowrap;min-width:0;transition:opacity .13s;display:block}.sidebar-collapsed .sidebar{padding:14px 8px 10px}.sidebar-collapsed nav{margin-top:12px}.sidebar-collapsed .nav-item{justify-content:flex-start;width:100%;height:35px;margin:0;padding:0 10px}.sidebar-collapsed .nav-item span:not(.nav-count){opacity:0;pointer-events:none;width:0;display:block;overflow:hidden}.sidebar-collapsed .sidebar-section-label{visibility:hidden;display:block}.sidebar-collapsed .profile{justify-content:flex-start;padding:9px 7px}.sidebar-collapsed .profile .avatar{flex:0 0 31px}}.invoice-single{min-width:0}.invoice-overview-grid{grid-template-columns:minmax(0,1fr) 270px!important;gap:12px!important;display:grid!important}.single-field-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;display:grid!important}.single-field-grid .field-wide{grid-column:span 2!important}.single-field-grid .field-full{grid-column:1/-1!important}.project-section{display:block!important}.project-summary>div,.project-document,.project-ai-note{display:grid!important}.project-section .text-action{display:inline-flex!important}.single-invoice-heading p{display:block!important}.invoice-notes-section{grid-template-columns:minmax(0,1fr) auto!important;display:grid!important}.invoice-detail-actions{justify-content:flex-start}.line-items-section .invoice-section-title button{width:auto!important;padding:0 10px!important;font-size:10px!important}.line-items-section .invoice-section-title button:before{content:none!important}.single-line-scroll{scrollbar-width:auto;scrollbar-color:#9ca09d transparent;padding:11px;overflow:scroll hidden}.single-line-scroll::-webkit-scrollbar{height:8px}.single-line-scroll::-webkit-scrollbar-track{background:0 0}.single-line-scroll::-webkit-scrollbar-thumb{background:#9ca09d padding-box padding-box;border:2px solid #0000;border-radius:999px}.single-line-scroll::-webkit-scrollbar-thumb:hover{background:#7d817e padding-box padding-box}.single-line-table{min-width:1000px!important}.line-header,.line-row{column-gap:6px;padding-left:6px;padding-right:6px;grid-template-columns:86px 76px 86px minmax(250px,1.5fr) minmax(190px,1fr) 82px 50px 74px 42px!important}.line-header>*{min-width:0;padding:0 5px;display:block!important}.line-row>*{min-width:0;max-width:100%;margin:0!important}.line-row>input{width:100%!important;display:block!important}.line-row>.line-ai-input{width:100%;position:relative;display:block!important}.line-row>.line-ai-input input{width:100%!important}.line-row>span{white-space:nowrap;text-overflow:ellipsis;padding:0 5px;overflow:hidden;display:block!important}.line-row>strong{text-align:right;padding:0 5px;display:block!important}.line-row>.tax-check{place-items:center;display:grid!important}.panel-toolbar .toolbar-button,.panel-toolbar .resman-button{border-radius:7px;min-width:32px;height:32px;width:32px!important;color:var(--ink)!important;box-shadow:none!important;background:0 0!important;border:1px solid #0000!important;gap:0!important;padding:0!important;font-size:0!important}.panel-toolbar .toolbar-button:hover,.panel-toolbar .resman-button:hover{border-color:var(--line)!important;background:#ececea!important}.panel-toolbar .toolbar-button>svg:first-child{width:16px;height:16px;display:block!important}.panel-toolbar .dropdown-wrap .toolbar-button>svg:last-child,.panel-toolbar .toolbar-button.split>svg:last-child,.panel-toolbar .filter-count{display:none!important}.panel-toolbar .resman-dot{width:18px;height:18px;font-size:9px}.panel-toolbar .dropdown-wrap{width:32px}.app-shell[data-theme=dark] .panel-toolbar .toolbar-button,.app-shell[data-theme=dark] .panel-toolbar .resman-button{color:var(--ink)!important;background:0 0!important}.app-shell[data-theme=dark] .panel-toolbar .toolbar-button:hover,.app-shell[data-theme=dark] .panel-toolbar .resman-button:hover{border-color:var(--line)!important;background:#292a27!important}:root{--font-ui:"Geist","OpenAI Sans",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;--font-size-micro:12px;--font-size-metadata:13px;--font-size-control:14px;--font-size-body:14px;--font-size-body-comfortable:15px;--font-size-panel-title:16px;--font-size-section-title:17px;--font-size-page-title:clamp(28px,2vw,34px);--font-size-primary-metric:clamp(24px,2vw,30px);--text-caption:12px;--text-small:13px;--text-body:14px;--text-section:16px;--text-title:20px;--control-sm:32px;--control-md:36px;--section-bar-height:44px;--section-bar-control:32px;--section-bar-icon:16px;--section-bar-gap:6px;--section-bar-padding-x:10px;--radius-sm:6px;--radius-md:8px;--radius-lg:10px;--surface-canvas:#f7f7f5;--surface-panel:#fff;--surface-subtle:#f3f3f1;--surface-hover:#ededeb;--focus:#256fbd;--focus-ring:#256fbd2e;--ink:#202124;--muted:#666b72;--line:#dededa;--line-strong:#c9cac5;--shadow-elevation-1:0 1px 2px #151b2608,0 5px 18px #151b260d;--shadow-elevation-2:0 2px 5px #151b2610,0 12px 30px #151b2614;--shadow-overlay:0 24px 70px #0b12203d;--motion-micro:.12s;--motion-hover:.16s;--motion-panel:.18s;--motion-modal:.2s;--motion-close:.16s;--ease-standard:cubic-bezier(.2,0,0,1);--ease-emphasized:cubic-bezier(.2,.8,.2,1);--layer-modal:1000}:root[data-theme=dark]{--surface-canvas:#151614;--surface-panel:#1b1c1a;--surface-subtle:#222320;--surface-hover:#2a2b28;--focus:#78aee0;--focus-ring:#78aee033;--ink:#f0f0ed;--muted:#a7aaa4;--line:#383934;--line-strong:#4a4b45;--shadow-elevation-1:0 1px 2px #0005,0 7px 22px #0004;--shadow-elevation-2:0 3px 8px #0007,0 16px 36px #0005;--shadow-overlay:0 26px 76px #000b}html,body{font-family:var(--font-ui);font-size:var(--text-body);text-rendering:optimizelegibility;background:var(--surface-canvas);line-height:1.4}button,input,select,textarea,optgroup,option{font-family:inherit;line-height:1.25}input::placeholder,textarea::placeholder{color:#92969b;opacity:1}:is(button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible){outline:2px solid var(--focus);outline-offset:2px}.main-shell,.app-shell{background:var(--surface-canvas)}.topbar{background:var(--surface-panel);gap:16px;height:52px;padding:0 18px}.breadcrumbs{font-size:var(--text-small);gap:8px}.global-search{border-radius:var(--radius-md);background:var(--surface-subtle);height:34px}.global-search input{font-size:var(--text-small)}kbd{font-size:var(--text-caption);border-radius:var(--radius-sm)}.data-panel,.document-panel{border-radius:var(--radius-lg);background:var(--surface-panel)}.panel-toolbar,.viewer-commandbar{box-sizing:border-box;height:var(--section-bar-height);min-height:var(--section-bar-height);flex:0 0 var(--section-bar-height);padding:0 var(--section-bar-padding-x);gap:var(--section-bar-gap);background:var(--surface-panel);align-items:center}.panel-toolbar>*,.viewer-commandbar>*{box-sizing:border-box}.segmented{width:60px;height:var(--section-bar-control);border-radius:var(--radius-md);background:var(--surface-subtle);flex:0 0 60px;align-items:center;padding:2px}.segmented button{border-radius:var(--radius-sm);flex:0 0 28px;min-width:28px;width:28px!important;height:28px!important}.segmented button.active{color:var(--ink);background:var(--surface-panel)}.icon-button,.panel-toolbar .toolbar-button,.panel-toolbar .resman-button,.viewer-commandbar button{box-sizing:border-box;min-width:var(--section-bar-control);min-height:var(--section-bar-control);flex:0 0 var(--section-bar-control);border-radius:var(--radius-md);width:var(--section-bar-control)!important;height:var(--section-bar-control)!important}.panel-toolbar button svg,.viewer-commandbar button svg{flex:0 0 var(--section-bar-icon);width:var(--section-bar-icon)!important;height:var(--section-bar-icon)!important}.viewer-commandbar .viewer-page,.viewer-commandbar .viewer-zoom{min-width:var(--section-bar-control);font-size:var(--text-caption);padding:0 3px;width:var(--section-bar-control)!important}.viewer-document-name{line-height:16px}.viewer-count{border-radius:999px;flex:0 0 22px;width:22px;min-width:22px}.panel-toolbar .toolbar-button:hover,.panel-toolbar .resman-button:hover,.viewer-commandbar button:hover,.icon-button:hover{background:var(--surface-hover)!important;border-color:var(--line)!important}.selection-copy,.table-footer,.viewer-footer{font-size:var(--text-caption)}.group-color-control{height:var(--control-sm);border-radius:var(--radius-md);font-size:var(--text-caption);gap:8px}.group-color-switch{flex-basis:30px;width:30px;height:18px}.group-color-switch>i{width:14px;height:14px}.group-color-switch[aria-checked=true]>i{transform:translate(12px)}.brand-wordmark{font-size:18px;line-height:36px}.nav-item{border-radius:var(--radius-md);height:36px;font-size:var(--text-small)}.sidebar-section-label{font-size:var(--text-caption);padding-top:18px}.nav-count{font-size:var(--text-caption)}.topbar-profile{border-radius:var(--radius-md);height:36px}.topbar-profile-copy strong{font-size:var(--text-small)}.topbar-profile-copy small{font-size:var(--text-caption);margin-top:1px}.primary-button,.secondary-button{height:var(--control-md);border-radius:var(--radius-md);font-size:var(--text-small);padding:0 14px;font-weight:500}.dropdown-menu{border-radius:var(--radius-lg);padding:6px}.dropdown-menu>small,.menu-title small,.version-row small{font-size:var(--text-caption)}.dropdown-menu>button{border-radius:var(--radius-sm);height:34px;font-size:var(--text-small)}.menu-title strong,.version-row strong{font-size:var(--text-small)}.version-row{height:56px}.version-row em,.version-row button{font-size:var(--text-caption)}.toast{border-radius:var(--radius-lg);font-size:var(--text-small);padding:12px 16px}.processing-overlay>strong,.table-empty-state strong{font-size:var(--text-section)}.processing-overlay>small,.processing-checklist>div,.table-empty-state small{font-size:var(--text-caption)}.page-heading h1,.placeholder-page h1{font-size:24px;line-height:1.15}.page-heading p,.placeholder-page p{font-size:var(--text-body)}.eyebrow{font-size:var(--text-caption)}.summary-strip{border-radius:var(--radius-lg)}.summary-strip small{font-size:var(--text-caption)}.summary-strip strong{font-size:15px}.summary-strip span{font-size:var(--text-caption)}.table-scroll{background:repeating-linear-gradient(var(--surface-panel) 0,var(--surface-panel) 40px,var(--surface-subtle) 40px,var(--surface-subtle) 80px)}th{height:34px;font-size:var(--text-caption);color:var(--muted);padding:0 10px;font-weight:600}td{height:40px;padding:0 10px}.table-footer{height:32px;padding:0 12px}.boolean-pill,.payment-state,.received-state{font-size:var(--text-caption);padding:4px 8px}.invoice-single{background:var(--surface-canvas);gap:12px;padding:12px}.invoice-section{border-radius:var(--radius-lg);background:var(--surface-panel)}.invoice-section-title{min-height:48px;padding:9px 12px}.invoice-section-title strong{font-size:var(--text-section);font-weight:600}.invoice-section-title small{font-size:var(--text-caption);margin-top:2px}.invoice-section-title>span{font-size:var(--text-caption);padding:4px 8px}.invoice-section-title button,.project-search button,.text-action{height:var(--control-sm);border-radius:var(--radius-md);font-size:var(--text-caption);padding:0 10px}.line-items-section .invoice-section-title button{height:var(--control-sm)!important;font-size:var(--text-caption)!important;padding:0 10px!important}.single-field-grid{gap:10px 12px;padding:12px}.single-field-grid label>span,.bill-credit-control>span,.invoice-notes-section label>span{font-size:var(--text-caption);margin-bottom:5px;font-weight:500}.single-field-grid input,.single-field-grid select,.project-search input,.line-row input{height:var(--control-md);border-radius:var(--radius-md);font-size:var(--text-small);padding:0 10px}.single-field-grid input:focus,.single-field-grid select:focus,.project-search input:focus,.line-row input:focus,.invoice-notes-section textarea:focus{border-color:var(--focus);box-shadow:0 0 0 3px var(--focus-ring)}.hold-date-control>label,.bill-credit-control label{font-size:var(--text-small)}.bill-credit-control>div{height:var(--control-md)}.project-summary{gap:9px;padding:12px}.project-summary>div,.project-document{font-size:var(--text-caption);grid-template-columns:88px 1fr;gap:9px}.project-document{padding:10px 12px}.project-ai-note{border-radius:var(--radius-md);margin:10px 12px 12px;padding:10px}.project-ai-note p{font-size:var(--text-caption);line-height:1.45}.line-header{height:34px;font-size:var(--text-caption)}.line-row{min-height:44px;font-size:var(--text-small)}.line-row>strong,.line-total{font-size:var(--text-small)}.line-ai-input svg{top:11px}.invoice-notes-section{gap:12px;padding:12px}.invoice-notes-section textarea{border-radius:var(--radius-md);height:64px;font-size:var(--text-small);padding:10px;line-height:1.4}.invoice-detail-actions .secondary-button,.invoice-detail-actions .primary-button{height:var(--control-md)}.viewer-document-name{font-size:var(--text-small);font-weight:600}.viewer-count{min-width:22px;height:22px;font-size:var(--text-caption)}.viewer-page,.viewer-zoom{font-size:var(--text-caption)}.viewer-more-menu{border-radius:var(--radius-md)}.viewer-more-menu button{height:32px;font-size:var(--text-small)}.viewer-search{flex-basis:40px;height:40px}.viewer-search input{font-size:var(--text-small)}.thumbnail-list{gap:8px}.thumbnail-list>button{border-radius:var(--radius-md);padding:6px}.thumbnail-list strong,.thumbnail-list small{font-size:var(--text-caption);line-height:1.3}.doc-status{border-radius:999px;margin-top:5px;padding:3px 6px;font-size:10px}.viewer-footer{height:34px}.pdf-loading,.pdf-render-error,.pdf-page-loader>span{font-size:var(--text-caption)}.empty-pdf-state strong{font-size:var(--text-body)}.empty-pdf-state small,.pdf-drop-overlay span{font-size:var(--text-caption)}.pdf-drop-overlay strong{font-size:var(--text-section)}.app-shell[data-theme=dark] .topbar,.app-shell[data-theme=dark] .panel-toolbar,.app-shell[data-theme=dark] .viewer-commandbar,.app-shell[data-theme=dark] .data-panel,.app-shell[data-theme=dark] .document-panel,.app-shell[data-theme=dark] .invoice-section{background:var(--surface-panel)}.app-shell[data-theme=dark] .segmented{background:var(--surface-subtle)}.app-shell[data-theme=dark] .segmented button.active{color:var(--ink);background:#343531}.app-shell[data-theme=dark] input::placeholder,.app-shell[data-theme=dark] textarea::placeholder{color:#7f837c}@media (max-width:900px){.app-shell{grid-template-columns:52px minmax(0,1fr)}.sidebar{padding-left:8px;padding-right:8px}.brand-wordmark{display:none}.nav-item{justify-content:center;width:36px;padding:0}}.invoice-detail,.table-scroll{scrollbar-gutter:stable;overflow-anchor:none;overscroll-behavior:contain;overflow:scroll!important}.invoice-section-title{flex:0 0 58px;height:58px;min-height:58px}.single-line-scroll{scrollbar-gutter:stable;overflow-anchor:none;overflow-x:scroll!important}.intelligence-section{contain:size;flex-direction:column;min-width:0;min-height:0;overflow:hidden;display:flex!important}.intelligence-status{white-space:nowrap;align-items:center;gap:4px;display:inline-flex!important}.intelligence-tabs{border-bottom:1px solid var(--line);background:var(--surface-panel);grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;height:38px;min-height:38px;padding:5px 8px;display:grid}.intelligence-tabs button{border-radius:var(--radius-sm);min-width:0;color:var(--muted);font-size:var(--text-caption);cursor:pointer;background:0 0;border:0;font-weight:500}.intelligence-tabs button:hover{background:var(--surface-hover);color:var(--ink)}.intelligence-tabs button.active{background:var(--surface-subtle);color:var(--ink);font-weight:600}.intelligence-panel{scrollbar-gutter:stable;flex:1;min-height:0;padding:12px;overflow:hidden auto}.intelligence-overview,.match-view,.telemetry-view{flex-direction:column;gap:12px;display:flex}.invoice-explanation{border:1px solid var(--focus);margin:0;padding:11px 12px}@supports (color:color-mix(in lab, red, red)){.invoice-explanation{border:1px solid color-mix(in srgb,var(--focus) 17%,var(--line))}}.invoice-explanation{border-radius:var(--radius-md);background:var(--focus)}@supports (color:color-mix(in lab, red, red)){.invoice-explanation{background:color-mix(in srgb,var(--focus) 5%,var(--surface-panel))}}.invoice-explanation{color:var(--ink);font-size:var(--text-small);line-height:1.55}.invoice-explanation strong{font-weight:600}.intelligence-facts{border:1px solid var(--line);border-radius:var(--radius-md);grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin:0;display:grid;overflow:hidden}.intelligence-facts>div{border-bottom:1px solid var(--line);min-width:0;padding:8px 9px}.intelligence-facts>div:nth-child(odd){border-right:1px solid var(--line)}.intelligence-facts>div:nth-last-child(-n+2){border-bottom:0}.intelligence-facts dt,.telemetry-view dt{color:var(--muted);font-size:var(--text-caption)}.intelligence-facts dd{text-overflow:ellipsis;white-space:nowrap;font-size:var(--text-small);margin:3px 0 0;font-weight:500;overflow:hidden}.intelligence-checks{flex-wrap:wrap;gap:6px;display:flex}.intelligence-checks span{color:#087a59;white-space:nowrap;background:#eaf7f2;border-radius:999px;align-items:center;gap:4px;padding:4px 7px;font-size:10px;display:inline-flex}.match-heading{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.match-heading small{color:var(--muted);font-size:var(--text-caption);margin-bottom:4px;display:block}.match-heading strong{font-size:var(--text-body);display:block}.match-heading p{color:var(--muted);font-size:var(--text-caption);margin:5px 0 0;line-height:1.45}.match-heading>span{color:#087a59;background:#eaf7f2;border-radius:999px;padding:4px 7px;font-size:10px;font-weight:600}.match-signals{border:1px solid var(--line);border-radius:var(--radius-md);overflow:hidden}.match-signals>div{border-bottom:1px solid var(--line);height:34px;font-size:var(--text-caption);grid-template-columns:16px 1fr auto;align-items:center;gap:6px;padding:0 9px;display:grid}.match-signals>div:last-child{border-bottom:0}.match-signals svg{color:#0a9b70}.match-signals strong{color:#087a59;font-size:10px}.match-note{border-radius:var(--radius-md);background:var(--surface-subtle);color:var(--muted);font-size:var(--text-caption);grid-template-columns:16px 1fr;gap:7px;margin:0;padding:9px;line-height:1.45;display:grid}.match-note svg{color:var(--focus)}.intelligence-action{height:var(--control-sm);border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface-panel);color:var(--ink);font-size:var(--text-caption);cursor:pointer;align-self:flex-start;padding:0 10px}.intelligence-action:hover{background:var(--surface-hover)}.telemetry-view{gap:10px}.telemetry-view section{border:1px solid var(--line);border-radius:var(--radius-md);overflow:hidden}.telemetry-view h4{border-bottom:1px solid var(--line);background:var(--surface-subtle);font-size:var(--text-caption);margin:0;padding:7px 9px;font-weight:600}.telemetry-view dl{margin:0;padding:4px 9px}.telemetry-view dl>div{justify-content:space-between;align-items:center;gap:8px;min-height:25px;display:flex}.telemetry-view dd{text-align:right;font-size:var(--text-caption);margin:0;font-weight:500}.telemetry-view ol{margin:0;padding:5px 9px;list-style:none}.telemetry-view li{min-height:25px;color:var(--muted);font-size:var(--text-caption);align-items:center;gap:6px;display:flex}.telemetry-view li.done svg{color:#0a9b70}.telemetry-view li.reached{color:var(--ink);font-weight:500}.telemetry-view li.reached svg{color:var(--focus)}.app-shell[data-theme=dark] .intelligence-checks span,.app-shell[data-theme=dark] .match-heading>span{color:#65d3ad;background:#173a30}@supports (color:color-mix(in lab, red, red)){.app-shell[data-theme=dark] .invoice-explanation{background:color-mix(in srgb,var(--focus) 7%,var(--surface-panel))}}@container data-panel (width<=980px){.intelligence-tabs button{font-size:10px}.invoice-explanation{font-size:var(--text-caption)}}.single-field-grid .date-field-label>span{color:var(--muted);font-size:var(--text-caption);margin-bottom:5px;font-weight:500;display:block}.date-field{min-width:0;position:relative}.date-trigger{width:100%;height:var(--control-md);border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface-panel);color:var(--ink);font-size:var(--text-small);text-align:left;cursor:pointer;justify-content:space-between;align-items:center;gap:8px;padding:0 9px 0 10px;display:flex}.date-trigger:hover{border-color:var(--line-strong);background:var(--surface-subtle)}.date-field.open .date-trigger{border-color:var(--focus);box-shadow:0 0 0 3px var(--focus-ring);outline:0}.date-trigger:focus-visible{border-color:var(--focus);box-shadow:0 0 0 3px var(--focus-ring);outline:0}.date-trigger svg{color:var(--muted);flex:0 0 15px}.date-trigger .placeholder{color:#92969b}.date-field.disabled .date-trigger{cursor:not-allowed;opacity:.55;background:var(--surface-subtle)}.date-popover{z-index:80;border:1px solid var(--line-strong);border-radius:var(--radius-lg);background:var(--surface-panel);width:252px;color:var(--ink);padding:9px;position:absolute;top:calc(100% + 7px);left:50%;transform:translate(-50%);box-shadow:0 16px 40px #00000024,0 3px 10px #00000012}.calendar-heading{grid-template-columns:30px 1fr 30px;align-items:center;height:30px;margin-bottom:5px;display:grid}.calendar-heading strong{text-align:center;font-size:var(--text-small);font-weight:600}.calendar-heading button{border-radius:var(--radius-sm);width:28px;height:28px;color:var(--ink);cursor:pointer;background:0 0;border:0;place-items:center;font-size:19px;line-height:1;display:grid}.calendar-heading button:hover{background:var(--surface-hover)}.calendar-weekdays,.calendar-grid{grid-template-columns:repeat(7,1fr);gap:2px;display:grid}.calendar-weekdays{margin-bottom:3px}.calendar-weekdays span{height:22px;color:var(--muted);place-items:center;font-size:10px;font-weight:600;display:grid}.calendar-grid button{aspect-ratio:1;width:100%;color:var(--ink);font-size:var(--text-caption);cursor:pointer;background:0 0;border:0;border-radius:7px;place-items:center;display:grid;position:relative}.calendar-grid button:hover{background:var(--surface-hover)}.calendar-grid button.outside{color:var(--muted)}@supports (color:color-mix(in lab, red, red)){.calendar-grid button.outside{color:color-mix(in srgb,var(--muted) 48%,transparent)}}.calendar-grid button.today:not(.selected):after{content:"";background:var(--focus);border-radius:50%;width:3px;height:3px;position:absolute;bottom:3px}.calendar-grid button.selected{color:#fff;background:#202124;font-weight:600}.calendar-footer{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:6px;margin-top:7px;padding-top:7px;display:flex}.calendar-footer button{border-radius:var(--radius-sm);height:27px;color:var(--focus);font-size:var(--text-caption);cursor:pointer;background:0 0;border:0;padding:0 8px;font-weight:600}.calendar-footer button:hover{background:var(--surface-hover)}.hold-date-control .date-field{min-width:0}.hold-date-control .date-popover{left:auto;right:0;transform:none}.app-shell[data-theme=dark] .calendar-grid button.selected{color:#171816;background:#f0f0ed}@container data-panel (width<=980px){.date-popover{width:238px;padding:8px}}.single-field-grid .text-field-label>span{color:var(--muted);font-size:var(--text-caption);margin-bottom:5px;font-weight:500;display:block}.assisted-field,.assisted-readonly{min-width:0;position:relative}.assisted-field>input,.assisted-field>select{box-sizing:border-box;width:100%;min-width:0;display:block}.assisted-field.has-assist>input,.assisted-field.has-assist>select{padding-right:68px}.field-assist-actions{z-index:4;opacity:1;pointer-events:auto;align-items:center;gap:6px;display:flex;position:absolute;top:50%;right:8px;transform:translateY(-50%)}.assisted-field:hover .field-assist-actions,.assisted-field:focus-within .field-assist-actions,.assisted-readonly:hover .field-assist-actions,.assisted-readonly:focus-within .field-assist-actions{opacity:1;pointer-events:auto}.field-assist-actions button{width:24px;height:24px;color:var(--muted);box-shadow:none;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:6px;place-items:center;padding:0;transition:background-color .12s,color .12s,border-color .12s;display:grid}:is(.field-assist-actions button:hover,.field-assist-actions button:focus-visible){background:var(--surface-hover);color:var(--ink);border-color:var(--line);box-shadow:none;outline:0}:is(.field-assist-actions button:last-child:hover,.field-assist-actions button:last-child:focus-visible){color:var(--focus)}.line-row>.assisted-field{width:100%;padding:0;display:block!important}.line-row>.assisted-field>input{height:var(--control-sm);font-size:var(--text-caption);padding-left:6px;padding-right:6px}.line-row>.assisted-field.has-assist>input{padding-right:68px}.assisted-field.compact .field-assist-actions{gap:5px;right:7px}.assisted-field.compact .field-assist-actions button{width:24px;height:24px}.assisted-readonly{height:var(--control-sm);align-items:center;padding:0 68px 0 7px!important;display:flex!important}.assisted-readonly>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--muted);display:block;overflow:hidden}.assisted-readonly.ai-derived{padding:0 7px!important}.assisted-readonly.ai-derived>span{color:#0069d9;text-shadow:0 0 10px #0077ff2e;font-weight:600}.app-shell[data-theme=dark] .assisted-readonly.ai-derived>span{color:#4bdcff;text-shadow:0 0 12px #32d9ff6b}.assist-modal-backdrop{z-index:220;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#10120f66;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.assist-modal{border:1px solid var(--line-strong);border-radius:var(--radius-xl);background:var(--surface-panel);width:min(520px,100vw - 30px);max-height:min(720px,100vh - 30px);color:var(--ink);overflow:auto;box-shadow:0 28px 80px #00000030,0 6px 20px #00000020}.assist-modal>header{border-bottom:1px solid var(--line);grid-template-columns:34px 1fr 30px;align-items:center;gap:10px;height:62px;padding:0 14px;display:grid}.assist-modal>header>div:first-child{border-radius:var(--radius-md);place-items:center;width:34px;height:34px;display:grid}.assist-modal>header>div:first-child.teach{background:var(--surface-subtle);color:var(--ink)}.assist-modal>header>div:first-child.ask{background:var(--focus)}@supports (color:color-mix(in lab, red, red)){.assist-modal>header>div:first-child.ask{background:color-mix(in srgb,var(--focus) 10%,var(--surface-panel))}}.assist-modal>header>div:first-child.ask{color:var(--focus)}.assist-modal>header strong{font-size:var(--text-body);font-weight:600;display:block}.assist-modal>header small{color:var(--muted);font-size:var(--text-caption);margin-top:2px;display:block}.assist-modal>header>button{border-radius:var(--radius-sm);width:30px;height:30px;color:var(--muted);cursor:pointer;background:0 0;border:0;font-size:21px}.assist-modal>header>button:hover{background:var(--surface-hover);color:var(--ink)}.assist-current-value{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface-subtle);margin:12px 14px 0;padding:10px 11px}.assist-current-value span{color:var(--muted);font-size:var(--text-caption);font-weight:500;display:block}.assist-current-value p{font-size:var(--text-small);overflow-wrap:anywhere;margin:4px 0 0;line-height:1.45}.teach-form,.ask-ai-view{padding:12px 14px 14px}.teach-form{flex-direction:column;gap:12px;display:flex}.teach-form>label>span{color:var(--muted);font-size:var(--text-caption);margin-bottom:5px;font-weight:500;display:block}.teach-form select,.teach-form textarea,.ai-followup input{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface-panel);width:100%;color:var(--ink);font:inherit;font-size:var(--text-small);outline:0}.teach-form select{height:var(--control-md);padding:0 10px}.teach-form textarea{resize:vertical;height:112px;padding:10px;line-height:1.5}.teach-form select:focus,.teach-form textarea:focus,.ai-followup input:focus{border-color:var(--focus);box-shadow:0 0 0 3px var(--focus-ring)}.learning-scope{border-radius:var(--radius-md);background:var(--surface-subtle);grid-template-columns:16px 1fr;align-items:start;gap:9px;padding:10px;display:grid!important}.learning-scope input{width:15px;height:15px;accent-color:var(--focus);margin:1px 0 0}.learning-scope strong{font-size:var(--text-small);font-weight:600;display:block}.learning-scope small{color:var(--muted);font-size:var(--text-caption);margin-top:3px;line-height:1.45;display:block}.teach-form footer{justify-content:space-between;align-items:center;gap:12px;padding-top:2px;display:flex}.teach-form footer>span{color:var(--muted);font-size:var(--text-caption);align-items:center;gap:5px;line-height:1.35;display:flex}.teach-form footer>button,.ai-suggestions article>button,.ai-followup>button{height:var(--control-sm);border-radius:var(--radius-md);color:#fff;font-size:var(--text-caption);cursor:pointer;background:#202123;border:0;flex:none;padding:0 11px;font-weight:600}.teach-form footer>button:disabled,.ai-followup>button:disabled{opacity:.42;cursor:not-allowed}.ai-analyzing{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:206px;display:flex}.ai-analyzing i{border:2px solid var(--line);border-top-color:var(--focus);border-radius:50%;width:28px;height:28px;margin-bottom:12px;animation:.8s linear infinite spin}.ai-analyzing strong{font-size:var(--text-body);font-weight:600}.ai-analyzing small{max-width:340px;color:var(--muted);font-size:var(--text-caption);margin-top:5px;line-height:1.45}.ai-answer{border-radius:var(--radius-md);background:var(--focus);grid-template-columns:18px 1fr;gap:8px;margin-bottom:10px;padding:10px;display:grid}@supports (color:color-mix(in lab, red, red)){.ai-answer{background:color-mix(in srgb,var(--focus) 6%,var(--surface-subtle))}}.ai-answer{color:var(--muted)}.ai-answer svg{color:var(--focus);margin-top:2px}.ai-answer p{font-size:var(--text-small);margin:0;line-height:1.5}.ai-suggestions{border:1px solid var(--line);border-radius:var(--radius-lg);flex-direction:column;display:flex;overflow:hidden}.ai-suggestions article{border-bottom:1px solid var(--line);grid-template-columns:1fr auto;align-items:center;gap:12px;min-height:62px;padding:9px 10px;display:grid}.ai-suggestions article:last-child{border-bottom:0}.ai-suggestions article small{color:var(--muted);text-transform:uppercase;letter-spacing:.04em;font-size:10px;font-weight:600;display:block}.ai-suggestions article p{font-size:var(--text-small);margin:4px 0 0;line-height:1.4}.ai-followup{grid-template-columns:1fr auto;gap:7px;margin-top:11px;display:grid}.ai-followup input{height:var(--control-md);padding:0 10px}.ai-disclaimer{color:var(--muted);font-size:var(--text-caption);margin:9px 0 0;line-height:1.4}.app-shell[data-theme=dark] .field-assist-actions button{background:0 0}:is(.app-shell[data-theme=dark] .field-assist-actions button:hover,.app-shell[data-theme=dark] .field-assist-actions button:focus-visible){background:var(--surface-hover)}.app-shell[data-theme=dark] .teach-form footer>button,.app-shell[data-theme=dark] .ai-suggestions article>button{color:#171816;background:#efefec}@media (hover:none){.field-assist-actions{opacity:1;pointer-events:auto}}@media (max-width:560px){.assist-modal-backdrop{padding:8px}.assist-modal{width:calc(100vw - 16px);max-height:calc(100vh - 16px)}.teach-form footer{flex-direction:column;align-items:flex-end}.teach-form footer>button{width:100%}}.invoice-overview-grid{align-items:stretch;grid-template-columns:minmax(638px,1fr) 300px!important;min-width:950px!important}.intelligence-section{box-sizing:border-box;height:100%;contain:layout paint!important;width:300px!important;min-width:300px!important;max-width:300px!important}.intelligence-section>.invoice-section-title{box-sizing:border-box;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:8px;width:100%;height:58px!important;min-height:58px!important;padding:8px 10px!important;display:grid!important}.intelligence-section>.invoice-section-title>div{min-width:0;overflow:hidden}.intelligence-section>.invoice-section-title strong,.intelligence-section>.invoice-section-title small{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.intelligence-section>.invoice-section-title strong{line-height:18px;font-size:var(--text-section)!important}.intelligence-section>.invoice-section-title small{height:16px;margin-top:2px;line-height:16px;font-size:var(--text-caption)!important}.intelligence-status{box-sizing:border-box;flex:none;height:26px;font-size:var(--text-caption)!important;padding:0 8px!important}.intelligence-tabs{box-sizing:border-box;width:100%;height:38px!important;min-height:38px!important}.intelligence-panel{box-sizing:border-box;scrollbar-gutter:stable;width:100%;padding:12px!important}.intelligence-overview,.match-view,.telemetry-view{box-sizing:border-box;width:100%;gap:12px!important}.invoice-explanation{box-sizing:border-box;width:100%;min-height:0;font-size:var(--text-small)!important;padding:11px 12px!important;line-height:1.55!important}.intelligence-facts{box-sizing:border-box;width:100%;grid-template-columns:repeat(2,1fr)!important}.intelligence-facts>div{box-sizing:border-box;height:55px;padding:8px 9px!important}.intelligence-facts dt{line-height:15px;font-size:var(--text-caption)!important}.intelligence-facts dd{line-height:17px;font-size:var(--text-small)!important}.intelligence-checks{align-content:flex-start;width:100%;min-height:24px}@media (min-width:901px){.sidebar,.sidebar-collapsed .sidebar{box-sizing:border-box;padding-top:14px!important;padding-bottom:10px!important}.sidebar .brand,.sidebar-collapsed .brand{box-sizing:border-box;align-items:center!important;height:46px!important;min-height:46px!important;max-height:46px!important;padding-top:0!important;padding-bottom:10px!important}.sidebar nav,.sidebar-collapsed nav{gap:2px!important;margin-top:12px!important}.sidebar .nav-item,.sidebar-collapsed .nav-item{box-sizing:border-box;line-height:16px;align-items:center!important;height:36px!important;min-height:36px!important;max-height:36px!important;margin-top:0!important;margin-bottom:0!important}.sidebar .nav-item>svg,.sidebar-collapsed .nav-item>svg{min-width:16px;min-height:16px;display:block;flex:0 0 16px!important;width:16px!important;height:16px!important;transform:none!important}.sidebar .sidebar-section-label,.sidebar-collapsed .sidebar-section-label{box-sizing:border-box;align-items:flex-end;line-height:15px;height:39px!important;min-height:39px!important;max-height:39px!important;padding:18px 12px 6px!important;display:flex!important}.sidebar-collapsed .sidebar-section-label{visibility:hidden!important}}.invoice-overview-grid{grid-template-columns:minmax(600px,1fr) 360px!important;align-items:stretch!important;min-width:972px!important}.intelligence-section{width:360px!important;min-width:360px!important;max-width:360px!important}.invoice-fields-section .single-field-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px 12px!important;padding:12px!important}.invoice-fields-section .single-field-grid .field-wide,.invoice-fields-section .single-field-grid .field-full{grid-column:1/-1!important}.invoice-section-title{box-sizing:border-box;flex:0 0 44px!important;height:44px!important;min-height:44px!important;max-height:44px!important;padding:0 12px!important}.invoice-section-title small{display:none!important}.intelligence-section>.invoice-section-title{height:44px!important;min-height:44px!important;max-height:44px!important;padding:0 10px!important}.single-invoice-heading,.invoice-overview-grid,.line-items-section,.invoice-notes-section{box-sizing:border-box;width:100%;min-width:972px!important}.invoice-overview-grid{height:525px!important;min-height:525px!important;max-height:525px!important}.invoice-fields-section,.intelligence-section{box-sizing:border-box;height:525px!important;min-height:525px!important;max-height:525px!important;overflow:hidden!important}.invoice-fields-section{flex-direction:column;display:flex}.invoice-fields-section .single-field-grid{flex:auto;align-content:start;min-height:0}.intelligence-section{contain:size layout paint style!important}.intelligence-panel{overscroll-behavior:contain;flex:1 1 0!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:hidden auto!important}.telemetry-view{min-height:max-content}.single-invoice-heading,.invoice-overview-grid,.line-items-section,.invoice-notes-section{min-width:900px!important}.invoice-overview-grid{grid-template-columns:minmax(528px,1fr) 360px!important}.invoice-detail{scrollbar-gutter:stable;overflow:hidden auto!important}.single-line-scroll{box-sizing:border-box;width:100%;scrollbar-gutter:auto!important;padding:10px!important;overflow:hidden!important}.single-line-table{box-sizing:border-box;width:100%!important;min-width:0!important}.line-header,.line-row{box-sizing:border-box;width:100%;grid-template-columns:76px 64px 72px minmax(200px,1.15fr) minmax(160px,.9fr) 72px 42px 66px 38px!important;column-gap:4px!important;padding-left:4px!important;padding-right:4px!important}.line-header>*{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;padding:0 4px!important}.line-row>.assisted-field>input{text-overflow:ellipsis;min-width:0}.line-row>.assisted-readonly{min-width:0;overflow:hidden}.line-row>.assisted-readonly.ai-derived{padding:0 7px!important}.line-row>.assisted-readonly.ai-derived>span{color:#0069d9!important;text-shadow:0 0 10px #0077ff2e!important;font-weight:600!important}.app-shell[data-theme=dark] .line-row>.assisted-readonly.ai-derived>span{color:#4bdcff!important;text-shadow:0 0 12px #32d9ff6b!important}.line-total{padding-right:6px!important}.topbar-profile{box-shadow:none!important;background:0 0!important;border-color:#0000!important}:is(.topbar-profile:hover,.topbar-profile:focus-visible){outline:none;background:var(--surface-hover)!important;box-shadow:none!important;border-color:#0000!important}.line-items-section .invoice-section-title .quiet-text-button{transition:background .15s,color .15s;box-shadow:none!important;background:0 0!important;border-color:#0000!important}:is(.line-items-section .invoice-section-title .quiet-text-button:hover,.line-items-section .invoice-section-title .quiet-text-button:focus-visible){outline:none;background:var(--surface-hover)!important;border-color:#0000!important}.app-shell[data-theme=dark] .topbar-profile,.app-shell[data-theme=dark] .line-items-section .invoice-section-title .quiet-text-button{background:0 0!important;border-color:#0000!important}.app-shell[data-theme=dark] .topbar-profile:hover,.app-shell[data-theme=dark] .line-items-section .invoice-section-title .quiet-text-button:hover{background:var(--surface-hover)!important;border-color:#0000!important}.app-shell[data-theme=dark] .topbar-profile:focus-visible{background:var(--surface-hover)!important;border-color:#0000!important}.app-shell[data-theme=dark] .line-items-section .invoice-section-title .quiet-text-button:focus-visible{background:var(--surface-hover)!important;border-color:#0000!important}.intelligence-panel{scrollbar-width:thin;scrollbar-color:#c9cdca transparent;scrollbar-gutter:stable!important;padding:12px 2px 12px 12px!important}.intelligence-panel::-webkit-scrollbar{width:10px}.intelligence-panel::-webkit-scrollbar-thumb{background:#c9cdca padding-box padding-box;border:3px solid #0000;border-radius:999px;min-height:42px}.app-shell[data-theme=dark] .intelligence-panel{scrollbar-color:#626660 transparent}.app-shell[data-theme=dark] .intelligence-panel::-webkit-scrollbar-thumb:hover{background:#777b75 padding-box padding-box}.icon-button.ai-chat-trigger{z-index:110;right:var(--floating-control-offset);bottom:var(--floating-control-offset);position:fixed;box-shadow:0 8px 24px #1515151c,0 2px 6px #15151512;width:var(--floating-control-size)!important;height:var(--floating-control-size)!important;border:1px solid var(--line)!important;background:var(--surface-panel)!important;border-radius:12px!important}.icon-button.ai-chat-trigger:hover{background:var(--surface-hover)!important}.icon-button.ai-chat-trigger.active{color:var(--focus);background:var(--surface-subtle)!important}.ai-chat-panel{z-index:100;top:64px;right:14px;bottom:calc(var(--floating-control-offset) + var(--floating-control-size) + var(--floating-control-gap));width:min(430px,100vw - 28px);min-height:420px;color:var(--ink);background:var(--surface-panel);flex-direction:column;display:flex;position:fixed;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.ai-chat-panel{background:color-mix(in srgb,var(--surface-panel) 96%,transparent)}}.ai-chat-panel{border:1px solid var(--line);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border-radius:16px;animation:.18s cubic-bezier(.2,.8,.2,1) ai-chat-enter;box-shadow:0 18px 58px #15151524,0 2px 8px #15151512}@keyframes ai-chat-enter{0%{opacity:0;transform:translateY(8px)scale(.985)}to{opacity:1;transform:none}}.ai-chat-header{border-bottom:1px solid var(--line);flex:0 0 58px;justify-content:space-between;align-items:center;height:58px;padding:0 12px 0 14px;display:flex}.ai-chat-header>div:first-child{align-items:center;gap:9px;min-width:0;display:flex}.ai-chat-header strong,.ai-chat-header small{display:block}.ai-chat-header strong{font-size:13px;line-height:1.2}.ai-chat-header small{color:var(--muted);margin-top:2px;font-size:10px}.ai-chat-mark,.ai-chat-avatar{color:var(--focus);background:var(--focus);place-items:center;display:grid}@supports (color:color-mix(in lab, red, red)){.ai-chat-mark,.ai-chat-avatar{background:color-mix(in srgb,var(--focus) 9%,var(--surface-panel))}}.ai-chat-mark,.ai-chat-avatar{border:1px solid var(--focus)}@supports (color:color-mix(in lab, red, red)){.ai-chat-mark,.ai-chat-avatar{border:1px solid color-mix(in srgb,var(--focus) 16%,var(--line))}}.ai-chat-mark{border-radius:9px;width:31px;height:31px}.ai-chat-avatar{border-radius:8px;flex:0 0 27px;width:27px;height:27px}.ai-chat-header-actions{align-items:center;gap:3px;display:flex}.ai-chat-header-actions button{cursor:pointer;width:30px;height:30px;color:var(--muted);background:0 0;border:0;border-radius:7px;place-items:center;font-size:20px;line-height:1;display:grid}.ai-chat-header-actions button:hover{background:var(--surface-hover);color:var(--ink)}.ai-chat-context{border-bottom:1px solid var(--line);background:var(--surface-subtle);min-width:0;height:34px;color:var(--muted);flex:0 0 34px;align-items:center;gap:6px;padding:0 14px;font-size:9px;display:flex}.ai-chat-context span{text-overflow:ellipsis;white-space:nowrap;max-width:145px;overflow:hidden}.ai-chat-context b{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;margin-left:auto;font-weight:500;overflow:hidden}.ai-chat-body{scrollbar-width:thin;scrollbar-color:#c9cdca transparent;flex:1;min-height:0;padding:14px;overflow-y:auto}.ai-chat-body::-webkit-scrollbar{width:8px}.ai-chat-body::-webkit-scrollbar-thumb{background:#c9cdca padding-box padding-box;border:2px solid #0000;border-radius:10px}.ai-chat-empty{flex-direction:column;height:100%;min-height:410px;display:flex}.ai-chat-empty-copy{text-align:center;margin:auto 20px 28px}.ai-chat-orbit{width:42px;height:42px;color:var(--focus);background:var(--focus);border-radius:13px;place-items:center;margin:0 auto 12px;display:grid}@supports (color:color-mix(in lab, red, red)){.ai-chat-orbit{background:color-mix(in srgb,var(--focus) 8%,var(--surface-panel))}}.ai-chat-orbit{border:1px solid var(--focus)}@supports (color:color-mix(in lab, red, red)){.ai-chat-orbit{border:1px solid color-mix(in srgb,var(--focus) 14%,var(--line))}}.ai-chat-empty h2{letter-spacing:-.025em;margin:0;font-size:18px}.ai-chat-empty p{max-width:300px;color:var(--muted);margin:7px auto 0;font-size:11px;line-height:1.5}.ai-chat-suggestions{grid-template-columns:1fr;gap:6px;margin-bottom:23px;display:grid}.ai-chat-suggestions button,.ai-chat-recents button{width:100%;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0}.ai-chat-suggestions button{border:1px solid var(--line);border-radius:9px;justify-content:space-between;align-items:center;min-height:38px;padding:0 11px;font-size:11px;display:flex}.ai-chat-suggestions button:hover{background:var(--surface-hover)}.ai-chat-suggestions button span{color:var(--muted)}.ai-chat-recents{border-top:1px solid var(--line);padding-top:14px}.ai-chat-recents>div{color:var(--muted);padding:0 8px 5px;font-size:10px}.ai-chat-recents button{border-radius:7px;justify-content:space-between;align-items:center;height:33px;padding:0 8px;font-size:11px;display:flex}.ai-chat-recents button:hover{background:var(--surface-hover)}.ai-chat-recents button span{color:var(--muted);font-size:10px}.ai-chat-thread{flex-direction:column;gap:16px;padding:2px 0 8px;display:flex}.ai-chat-message{align-items:flex-start;gap:9px;max-width:94%;display:flex}.ai-chat-message.user{justify-content:flex-end;align-self:flex-end}.ai-chat-message>div{min-width:0}.ai-chat-message small{color:var(--muted);margin:0 0 4px;font-size:9px;display:block}.ai-chat-message p{white-space:pre-wrap;margin:0;font-size:12px;line-height:1.55}.ai-chat-message.user>div{background:var(--surface-subtle);border-radius:11px 11px 3px;padding:9px 11px}.ai-chat-message.user small{display:none}.ai-chat-message.error>div{background:#d92d20;border-left:2px solid #d92d20;border-radius:0 8px 8px 0;padding:9px 11px}@supports (color:color-mix(in lab, red, red)){.ai-chat-message.error>div{background:color-mix(in srgb,#d92d20 6%,var(--surface-panel))}}.ai-chat-message.error p{color:#d92d20}@supports (color:color-mix(in lab, red, red)){.ai-chat-message.error p{color:color-mix(in srgb,#d92d20 82%,var(--ink))}}.ai-chat-thinking{align-items:center;gap:4px;height:26px;display:flex}.ai-chat-thinking i{background:var(--muted);border-radius:50%;width:5px;height:5px;animation:.9s ease-in-out infinite ai-dot}.ai-chat-thinking i:nth-child(2){animation-delay:.14s}.ai-chat-thinking i:nth-child(3){animation-delay:.28s}@keyframes ai-dot{0%,60%,to{opacity:.3;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}.ai-chat-composer{border:1px solid var(--line-strong);background:var(--surface-panel);border-radius:14px;flex:none;grid-template-columns:32px minmax(0,1fr) auto 34px;align-items:end;gap:4px;min-height:50px;margin:0 12px;padding:7px;display:grid;box-shadow:0 4px 18px #0000000d}.ai-chat-composer:focus-within{border-color:var(--focus)}@supports (color:color-mix(in lab, red, red)){.ai-chat-composer:focus-within{border-color:color-mix(in srgb,var(--focus) 55%,var(--line))}}.ai-chat-composer:focus-within{box-shadow:0 0 0 3px var(--focus-ring)}.ai-chat-composer textarea{resize:none;width:100%;min-height:32px;max-height:90px;color:var(--ink);font:inherit;background:0 0;border:0;outline:0;align-self:center;padding:7px 4px;font-size:12px;line-height:1.45}.ai-chat-composer textarea::placeholder{color:#a2a5aa}.ai-chat-attach,.ai-chat-send{cursor:pointer;border:0;border-radius:9px;place-items:center;width:32px;height:32px;display:grid}.ai-chat-attach{color:var(--muted);background:0 0}.ai-chat-attach:hover{background:var(--surface-hover);color:var(--ink)}.ai-chat-attach:disabled{color:#0a8f67;cursor:default;background:0 0}.ai-chat-send{background:var(--ink);color:var(--surface-panel)}.ai-chat-send:disabled{background:var(--surface-subtle);color:var(--muted);cursor:default}.ai-chat-send svg{transform:rotate(90deg)}.ai-chat-mode{color:var(--muted);align-self:center;padding:0 5px;font-size:9px}.ai-chat-disclaimer{color:var(--muted);flex:0 0 24px;place-items:center;margin:0;font-size:8px;display:grid}.app-shell[data-theme=dark] .ai-chat-trigger{box-shadow:0 10px 30px #0008,0 2px 8px #0005}.app-shell[data-theme=dark] .ai-chat-panel{background:var(--surface-panel)}@supports (color:color-mix(in lab, red, red)){.app-shell[data-theme=dark] .ai-chat-panel{background:color-mix(in srgb,var(--surface-panel) 96%,transparent)}}.app-shell[data-theme=dark] .ai-chat-panel{box-shadow:0 22px 70px #0009,0 2px 10px #0006}.app-shell[data-theme=dark] .ai-chat-body{scrollbar-color:#626660 transparent}.app-shell[data-theme=dark] .ai-chat-send{color:#171816;background:#ececea}@media (max-width:720px){.icon-button.ai-chat-trigger{bottom:14px;right:14px}.ai-chat-panel{border-radius:13px;width:calc(100vw - 16px);top:58px;bottom:70px;right:8px}.ai-chat-header{padding-left:11px}.ai-chat-context{padding:0 11px}.ai-chat-body{padding:11px}.ai-chat-composer{margin:0 9px}}.invoice-single{background:var(--surface-canvas)!important}@supports (color:color-mix(in lab, red, red)){.invoice-single{background:color-mix(in srgb,var(--surface-canvas) 96%,var(--ink) 4%)!important}}.invoice-single .invoice-section{border-color:var(--line)!important}@supports (color:color-mix(in lab, red, red)){.invoice-single .invoice-section{border-color:color-mix(in srgb,var(--line) 58%,transparent)!important}}.invoice-single .invoice-section{box-shadow:0 1px 2px var(--ink)}@supports (color:color-mix(in lab, red, red)){.invoice-single .invoice-section{box-shadow:0 1px 2px color-mix(in srgb,var(--ink) 3%,transparent)}}.invoice-single .invoice-section-title{border-bottom-color:var(--line)!important}@supports (color:color-mix(in lab, red, red)){.invoice-single .invoice-section-title{border-bottom-color:color-mix(in srgb,var(--line) 52%,transparent)!important}}.invoice-single .invoice-section-title{background:0 0!important}.invoice-single .invoice-section-title>span,.invoice-single .intelligence-status{color:#087a59!important;background:#0aa37317!important}.invoice-fields-section .single-field-grid input,.invoice-fields-section .single-field-grid select,.invoice-fields-section .date-trigger{transition:background-color .14s,box-shadow .14s,border-color .14s;box-shadow:inset 0 0 0 1px #0000;background:var(--surface-subtle)!important;border-color:#0000!important}.invoice-fields-section .single-field-grid input:hover,.invoice-fields-section .single-field-grid select:hover,.invoice-fields-section .date-trigger:hover{box-shadow:inset 0 0 0 1px var(--line-strong);background:var(--surface-hover)!important}@supports (color:color-mix(in lab, red, red)){.invoice-fields-section .single-field-grid input:hover,.invoice-fields-section .single-field-grid select:hover,.invoice-fields-section .date-trigger:hover{box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--line-strong) 58%,transparent)}}.invoice-fields-section .single-field-grid input:focus,.invoice-fields-section .single-field-grid select:focus,.invoice-fields-section .date-field.open .date-trigger{background:var(--surface-panel)!important;border-color:var(--focus)!important;box-shadow:0 0 0 3px var(--focus-ring)!important}.invoice-fields-section .date-trigger:focus-visible{background:var(--surface-panel)!important;border-color:var(--focus)!important;box-shadow:0 0 0 3px var(--focus-ring)!important}.intelligence-tabs{border-bottom-color:var(--line)!important}@supports (color:color-mix(in lab, red, red)){.intelligence-tabs{border-bottom-color:color-mix(in srgb,var(--line) 45%,transparent)!important}}.intelligence-tabs{background:0 0!important}.intelligence-tabs button.active{background:var(--surface-subtle)!important;box-shadow:none!important}.invoice-explanation{background:var(--surface-subtle)!important;box-shadow:none!important;border-color:#0000!important}.intelligence-facts{border-color:#0000!important;border-radius:0!important}.intelligence-facts>div{border-bottom-color:var(--line)!important}@supports (color:color-mix(in lab, red, red)){.intelligence-facts>div{border-bottom-color:color-mix(in srgb,var(--line) 42%,transparent)!important}}.intelligence-facts>div{background:0 0!important}.intelligence-facts>div:nth-child(odd){border-right-color:var(--line)!important}@supports (color:color-mix(in lab, red, red)){.intelligence-facts>div:nth-child(odd){border-right-color:color-mix(in srgb,var(--line) 42%,transparent)!important}}.intelligence-checks span{background:#0aa37314!important}.match-signals,.telemetry-view section{border-color:var(--line)!important}@supports (color:color-mix(in lab, red, red)){.match-signals,.telemetry-view section{border-color:color-mix(in srgb,var(--line) 52%,transparent)!important}}.match-signals,.telemetry-view section{box-shadow:none!important}.telemetry-view h4{background:var(--surface-subtle)!important;border-bottom-color:var(--line)!important}@supports (color:color-mix(in lab, red, red)){.telemetry-view h4{border-bottom-color:color-mix(in srgb,var(--line) 42%,transparent)!important}}.line-items-section .single-line-scroll{background:0 0!important}.line-items-section .line-header{border-top-color:#0000!important;border-left-color:#0000!important;border-right-color:#0000!important;border-bottom-color:var(--line)!important}@supports (color:color-mix(in lab, red, red)){.line-items-section .line-header{border-bottom-color:color-mix(in srgb,var(--line) 60%,transparent)!important}}.line-items-section .line-header{background:var(--surface-subtle)!important;border-radius:0!important}.line-items-section .line-row{border-top:0!important;border-left-color:#0000!important;border-right-color:#0000!important;border-bottom-color:var(--line)!important}@supports (color:color-mix(in lab, red, red)){.line-items-section .line-row{border-bottom-color:color-mix(in srgb,var(--line) 48%,transparent)!important}}.line-items-section .line-row{background:0 0!important}.line-items-section .line-row:hover{background:var(--surface-hover)!important}@supports (color:color-mix(in lab, red, red)){.line-items-section .line-row:hover{background:color-mix(in srgb,var(--surface-hover) 72%,transparent)!important}}.line-items-section .line-row input{box-shadow:none!important;background:0 0!important;border-color:#0000!important}.line-items-section .line-row input:hover{background:var(--surface-subtle)!important;box-shadow:inset 0 0 0 1px var(--line)!important}@supports (color:color-mix(in lab, red, red)){.line-items-section .line-row input:hover{box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--line) 55%,transparent)!important}}.line-items-section .line-row input:focus{background:var(--surface-panel)!important;border-color:var(--focus)!important;box-shadow:0 0 0 3px var(--focus-ring)!important}.line-items-section .line-total{border-top:0!important}.app-shell[data-theme=dark] .invoice-single{background:var(--surface-canvas)!important}.app-shell[data-theme=dark] .invoice-single .invoice-section{border-color:var(--line)!important}@supports (color:color-mix(in lab, red, red)){.app-shell[data-theme=dark] .invoice-single .invoice-section{border-color:color-mix(in srgb,var(--line) 48%,transparent)!important}}.app-shell[data-theme=dark] .invoice-single .invoice-section{box-shadow:none}.app-shell[data-theme=dark] .invoice-single .invoice-section-title>span,.app-shell[data-theme=dark] .invoice-single .intelligence-status,.app-shell[data-theme=dark] .intelligence-checks span{color:#65d3ad!important;background:#42c99b1c!important}.app-shell[data-theme=dark] .invoice-fields-section .single-field-grid input,.app-shell[data-theme=dark] .invoice-fields-section .single-field-grid select,.app-shell[data-theme=dark] .invoice-fields-section .date-trigger{background:var(--surface-subtle)!important;border-color:#0000!important}.app-shell[data-theme=dark] .invoice-explanation{background:var(--surface-subtle)!important}.app-shell[data-theme=dark] .line-items-section .line-row,.app-shell[data-theme=dark] .line-items-section .line-row input{background:0 0!important}::-webkit-scrollbar-button{background:0 0!important;width:0!important;height:0!important;display:none!important}::-webkit-scrollbar-button:single-button{background:0 0!important;width:0!important;height:0!important;display:none!important}::-webkit-scrollbar-button:vertical:decrement{background:0 0!important;width:0!important;height:0!important;display:none!important}::-webkit-scrollbar-button:vertical:increment{background:0 0!important;width:0!important;height:0!important;display:none!important}::-webkit-scrollbar-button:horizontal:decrement{background:0 0!important;width:0!important;height:0!important;display:none!important}::-webkit-scrollbar-button:horizontal:increment{background:0 0!important;width:0!important;height:0!important;display:none!important}.invoice-detail,.table-scroll,.intelligence-panel,.custom-pdf-viewer,.thumbnail-list,.ai-chat-body{scrollbar-width:thin!important;scrollbar-color:#d1d3d0 transparent!important}.invoice-detail::-webkit-scrollbar{width:8px!important;height:8px!important}.table-scroll::-webkit-scrollbar{width:8px!important;height:8px!important}.intelligence-panel::-webkit-scrollbar{width:8px!important;height:8px!important}.custom-pdf-viewer::-webkit-scrollbar{width:8px!important;height:8px!important}.thumbnail-list::-webkit-scrollbar{width:8px!important;height:8px!important}.ai-chat-body::-webkit-scrollbar{width:8px!important;height:8px!important}.invoice-detail::-webkit-scrollbar-track{background:0 0!important}.table-scroll::-webkit-scrollbar-track{background:0 0!important}.intelligence-panel::-webkit-scrollbar-track{background:0 0!important}.custom-pdf-viewer::-webkit-scrollbar-track{background:0 0!important}.thumbnail-list::-webkit-scrollbar-track{background:0 0!important}.ai-chat-body::-webkit-scrollbar-track{background:0 0!important}.invoice-detail::-webkit-scrollbar-thumb{min-width:36px;min-height:36px;background:#d1d3d0 padding-box padding-box!important;border:2px solid #0000!important;border-radius:999px!important}.table-scroll::-webkit-scrollbar-thumb{min-width:36px;min-height:36px;background:#d1d3d0 padding-box padding-box!important;border:2px solid #0000!important;border-radius:999px!important}.intelligence-panel::-webkit-scrollbar-thumb{min-width:36px;min-height:36px;background:#d1d3d0 padding-box padding-box!important;border:2px solid #0000!important;border-radius:999px!important}.custom-pdf-viewer::-webkit-scrollbar-thumb{min-width:36px;min-height:36px;background:#d1d3d0 padding-box padding-box!important;border:2px solid #0000!important;border-radius:999px!important}.thumbnail-list::-webkit-scrollbar-thumb{min-width:36px;min-height:36px;background:#d1d3d0 padding-box padding-box!important;border:2px solid #0000!important;border-radius:999px!important}.ai-chat-body::-webkit-scrollbar-thumb{min-width:36px;min-height:36px;background:#d1d3d0 padding-box padding-box!important;border:2px solid #0000!important;border-radius:999px!important}.invoice-detail::-webkit-scrollbar-thumb:hover{background:#bfc2be padding-box padding-box!important}.table-scroll::-webkit-scrollbar-thumb:hover{background:#bfc2be padding-box padding-box!important}.intelligence-panel::-webkit-scrollbar-thumb:hover{background:#bfc2be padding-box padding-box!important}.custom-pdf-viewer::-webkit-scrollbar-thumb:hover{background:#bfc2be padding-box padding-box!important}.thumbnail-list::-webkit-scrollbar-thumb:hover{background:#bfc2be padding-box padding-box!important}.ai-chat-body::-webkit-scrollbar-thumb:hover{background:#bfc2be padding-box padding-box!important}.panel-splitter:before{background:#d8dad7!important;width:2px!important;transition:background-color .14s!important;left:5px!important}.panel-splitter:hover:before,.panel-splitter:focus:before,.workspace.resizing .panel-splitter:before{background:#c2c5c1!important;width:2px!important;left:5px!important}.panel-splitter>span{display:none!important}.app-shell[data-theme=dark] .invoice-detail,.app-shell[data-theme=dark] .table-scroll,.app-shell[data-theme=dark] .intelligence-panel,.app-shell[data-theme=dark] .custom-pdf-viewer,.app-shell[data-theme=dark] .thumbnail-list,.app-shell[data-theme=dark] .ai-chat-body{scrollbar-color:#555853 transparent!important}.app-shell[data-theme=dark] .invoice-detail::-webkit-scrollbar-thumb{background:#555853 padding-box padding-box!important}.app-shell[data-theme=dark] .table-scroll::-webkit-scrollbar-thumb{background:#555853 padding-box padding-box!important}.app-shell[data-theme=dark] .intelligence-panel::-webkit-scrollbar-thumb{background:#555853 padding-box padding-box!important}.app-shell[data-theme=dark] .custom-pdf-viewer::-webkit-scrollbar-thumb{background:#555853 padding-box padding-box!important}.app-shell[data-theme=dark] .thumbnail-list::-webkit-scrollbar-thumb{background:#555853 padding-box padding-box!important}.app-shell[data-theme=dark] .ai-chat-body::-webkit-scrollbar-thumb{background:#555853 padding-box padding-box!important}.app-shell[data-theme=dark] .panel-splitter:before{background:#3f423e!important}.app-shell[data-theme=dark] .panel-splitter:hover:before,.app-shell[data-theme=dark] .panel-splitter:focus:before,.app-shell[data-theme=dark] .workspace.resizing .panel-splitter:before{background:#555853!important}.app-shell:not([data-theme=dark]) .sidebar{background:linear-gradient(#075cff 0%,#1265f4 52%,#3776e5 100%);border-right-color:#0000;box-shadow:inset -1px 0 #ffffff20}.app-shell:not([data-theme=dark]) .sidebar:after{display:none}.app-shell:not([data-theme=dark]) .sidebar .nav-item{box-shadow:none!important;border-color:#0000!important;transition:background-color .14s,color .14s!important}.app-shell:not([data-theme=dark]) .sidebar .nav-item:hover{background:#ffffff17;box-shadow:none!important;border-color:#0000!important}.app-shell:not([data-theme=dark]) .sidebar .nav-item.active{background:#164bb4b8;box-shadow:none!important;border-color:#0000!important}.app-shell:not([data-theme=dark]) .sidebar .collapse-button,.app-shell:not([data-theme=dark]).sidebar-collapsed .brand .collapse-button{box-shadow:none!important;border-color:#0000!important}.app-shell:not([data-theme=dark]) .sidebar .collapse-button:hover,.app-shell:not([data-theme=dark]).sidebar-collapsed .brand .collapse-button:hover{background:#ffffff17;box-shadow:none!important;border-color:#0000!important}.sidebar-nav-scroll{scrollbar-width:thin;scrollbar-color:transparent transparent;overscroll-behavior:contain;flex:auto;min-height:0;padding:0 2px 12px 0;overflow:hidden auto}.sidebar-nav-scroll::-webkit-scrollbar{width:5px}.sidebar-nav-scroll::-webkit-scrollbar-track{background:0 0}.sidebar-nav-scroll::-webkit-scrollbar-thumb{background:0 0;border-radius:999px;transition:background-color .16s}.sidebar-nav-scroll:hover,.sidebar-nav-scroll:focus-within{scrollbar-color:#ffffff52 transparent}.sidebar-nav-scroll:hover::-webkit-scrollbar-thumb{background:#ffffff52}.sidebar-nav-scroll:focus-within::-webkit-scrollbar-thumb{background:#ffffff52}.sidebar-nav-section{margin:0;padding:0}.sidebar-section-toggle{cursor:pointer;width:100%;color:inherit;text-align:left;background:0 0;border:0;font-weight:500;line-height:16px;text-transform:none!important;letter-spacing:.01em!important;justify-content:space-between!important;font-size:12px!important}.sidebar-section-toggle>svg{opacity:.72;flex:0 0 12px;transition:transform .16s,opacity .16s}.sidebar-nav-section.collapsed .sidebar-section-toggle>svg{transform:rotate(-90deg)}.sidebar-section-items{opacity:1;grid-template-rows:1fr;transition:grid-template-rows .18s,opacity .14s;display:grid}.sidebar-section-items>nav{min-height:0;overflow:hidden}.sidebar-nav-section.collapsed .sidebar-section-items{opacity:0;grid-template-rows:0fr}.sidebar-nav-section nav,.sidebar-collapsed .sidebar-nav-section nav{margin-top:0!important}.app-shell:not(.sidebar-collapsed) .sidebar-nav-section .nav-item{width:calc(100% - 8px);padding-left:12px;font-weight:400;line-height:20px;margin-left:8px!important;font-size:14px!important}.app-shell:not(.sidebar-collapsed) .sidebar-nav-section .nav-item.active{font-weight:600}.sidebar-nav-branch{min-width:0}.nav-branch-toggle>svg:last-child{opacity:.72;flex:0 0 12px;margin-left:auto;transition:transform .16s}.sidebar-nav-branch.collapsed .nav-branch-toggle>svg:last-child{transform:rotate(-90deg)}.sidebar-nav-children{opacity:1;grid-template-rows:1fr;transition:grid-template-rows .18s,opacity .14s;display:grid}.sidebar-nav-children>div{min-height:0;overflow:hidden}.sidebar-nav-branch.collapsed .sidebar-nav-children{opacity:0;grid-template-rows:0fr}.app-shell:not(.sidebar-collapsed) .sidebar-nav-section .nav-child-item{width:calc(100% - 20px);height:33px;padding-left:12px;margin-left:20px!important;font-size:13px!important}.app-shell:not(.sidebar-collapsed) .sidebar-nav-section .nav-child-item>svg{width:15px;height:15px}.sidebar-collapsed .nav-branch-toggle>svg:last-child{display:none}.sidebar-nav-section .sidebar-section-label,.sidebar-collapsed .sidebar-nav-section .sidebar-section-label{height:33px!important;min-height:33px!important;max-height:33px!important;padding-top:12px!important}.sidebar-nav-section:first-child .sidebar-section-label,.sidebar-collapsed .sidebar-nav-section:first-child .sidebar-section-label{height:25px!important;min-height:25px!important;max-height:25px!important;padding-top:4px!important}.sidebar-collapsed .sidebar-nav-scroll{padding-right:0}.app-shell[data-theme=dark] .sidebar-nav-scroll{scrollbar-color:transparent transparent}.app-shell[data-theme=dark] .sidebar-nav-scroll::-webkit-scrollbar-thumb{background:0 0}.app-shell[data-theme=dark] .sidebar-nav-scroll:hover,.app-shell[data-theme=dark] .sidebar-nav-scroll:focus-within{scrollbar-color:#ffffff2d transparent}.app-shell[data-theme=dark] .sidebar-nav-scroll:hover::-webkit-scrollbar-thumb{background:#ffffff2d}.app-shell[data-theme=dark] .sidebar-nav-scroll:focus-within::-webkit-scrollbar-thumb{background:#ffffff2d}@media (max-width:900px){.sidebar-nav-scroll{padding-right:0}.sidebar-nav-section .sidebar-section-label{display:none!important}.sidebar-nav-section nav{margin-top:0!important}}.ai-chat-panel{width:min(420px,100vw - 24px);height:min(748px,100vh - 142px);min-height:0;max-height:calc(100vh - 142px);right:12px;top:auto!important;bottom:calc(var(--floating-control-offset) + var(--floating-control-size) + var(--floating-control-gap))!important;border-radius:var(--radius-lg)!important}.ai-chat-header{cursor:grab;-webkit-user-select:none;user-select:none}.ai-chat-header:active{cursor:grabbing}.ai-chat-tabs{border-bottom:1px solid var(--line);scrollbar-width:none;flex:0 0 37px;align-items:end;gap:2px;min-width:0;padding:5px 9px 0;display:flex;overflow:auto hidden}.ai-chat-tabs::-webkit-scrollbar{display:none}.ai-chat-tab{min-width:0;max-width:145px;height:31px;color:var(--muted);background:0 0;border-radius:7px 7px 0 0;align-items:center;display:flex}.ai-chat-tab:hover{background:var(--surface-hover);color:var(--ink)}.ai-chat-tab.active{background:var(--surface-subtle);color:var(--ink);font-weight:600}.ai-chat-tab>button[role=tab]{min-width:0;height:31px;color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;align-items:center;padding:0 5px 0 9px;font-size:10px;display:flex}.ai-chat-tab>button[role=tab]>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.ai-chat-tab-close{width:16px;height:16px;color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:5px;flex:0 0 16px;place-items:center;margin-right:6px;padding:0;font-size:13px;font-weight:400;display:grid}.ai-chat-tab-close:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.ai-chat-tab-close:hover{background:color-mix(in srgb,var(--ink) 8%,transparent)}}.ai-chat-tab-close:hover{color:var(--ink)}.ai-chat-context{flex-basis:32px;height:32px}.ai-chat-empty{min-height:0}.ai-chat-empty-copy{margin:auto 20px 22px}.ai-chat-recents{padding-bottom:2px}@media (max-width:720px){.icon-button.ai-chat-trigger{--floating-control-offset:14px}.ai-chat-panel{max-height:calc(100vh - 124px);width:auto!important;height:auto!important;inset:58px 8px 66px!important}.ai-chat-header{cursor:default}}.field-assist-actions button{position:relative;overflow:visible}.field-assist-actions button svg{transition:color .14s}.field-assist-actions button.active{background:0 0!important;border-color:#0000!important}.field-assist-actions .assist-teach.active{color:#62b800!important}.field-assist-actions .assist-ask.active{color:#087fe7!important}.field-assist-actions button.active svg{stroke-width:2px;filter:none!important}.field-assist-actions button.completed{color:#008f72!important;background:0 0!important;border-color:#0000!important}.field-assist-actions button.completed svg{stroke-width:2px;filter:none!important}.field-assist-actions button.active:after,.field-assist-actions button.completed:after{content:"";width:5px;height:5px;box-shadow:none;background:currentColor;border-radius:50%;position:absolute;bottom:1px;right:1px}.app-shell[data-theme=dark] .field-assist-actions .assist-teach.active{color:#8bd12a!important}.app-shell[data-theme=dark] .field-assist-actions .assist-ask.active{color:#43a6f5!important}.app-shell[data-theme=dark] .field-assist-actions button.completed{color:#31b897!important}.ai-chat-composer textarea{height:32px;transition:height .12s;max-height:176px!important;overflow-y:hidden!important}.ai-chat-message.assistant{animation:.24s cubic-bezier(.2,.8,.2,1) ai-context-arrive}@keyframes ai-context-arrive{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}.ai-chat-mark,.ai-chat-avatar,.ai-chat-orbit{background:var(--focus);border-color:#0000!important}@supports (color:color-mix(in lab, red, red)){.ai-chat-mark,.ai-chat-avatar,.ai-chat-orbit{background:color-mix(in srgb,var(--focus) 8%,var(--surface-panel))}}.ai-chat-mark,.ai-chat-avatar,.ai-chat-orbit{box-shadow:inset 0 0 0 1px var(--focus)}@supports (color:color-mix(in lab, red, red)){.ai-chat-mark,.ai-chat-avatar,.ai-chat-orbit{box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--focus) 10%,transparent)}}.single-invoice-processing .invoice-fields-section .single-field-grid,.single-invoice-processing .line-items-section .single-line-scroll{pointer-events:none;-webkit-user-select:none;user-select:none}.single-invoice-processing .single-field-grid input,.single-invoice-processing .single-field-grid select,.single-invoice-processing .single-field-grid .date-trigger,.single-invoice-processing .line-row input,.single-invoice-processing .line-row .assisted-readonly,.single-invoice-processing .line-row>strong{color:#0000!important;caret-color:#0000!important;background:linear-gradient(90deg, var(--surface-subtle) 25%, var(--surface-hover) 48%, var(--surface-subtle) 72%)!important;border-color:#0000!important}@supports (color:color-mix(in lab, red, red)){.single-invoice-processing .single-field-grid input,.single-invoice-processing .single-field-grid select,.single-invoice-processing .single-field-grid .date-trigger,.single-invoice-processing .line-row input,.single-invoice-processing .line-row .assisted-readonly,.single-invoice-processing .line-row>strong{background:linear-gradient(90deg, color-mix(in srgb,var(--surface-subtle) 92%,var(--ink) 8%) 25%, color-mix(in srgb,var(--surface-hover) 72%,var(--surface-panel) 28%) 48%, color-mix(in srgb,var(--surface-subtle) 92%,var(--ink) 8%) 72%)!important}}.single-invoice-processing .single-field-grid input,.single-invoice-processing .single-field-grid select,.single-invoice-processing .single-field-grid .date-trigger,.single-invoice-processing .line-row input,.single-invoice-processing .line-row .assisted-readonly,.single-invoice-processing .line-row>strong{animation:1.35s ease-in-out infinite single-invoice-shimmer;box-shadow:none!important;background-size:220% 100%!important}.single-invoice-processing .line-row .assisted-readonly.ai-derived>span,.app-shell[data-theme=dark] .single-invoice-processing .line-row .assisted-readonly.ai-derived>span{color:#0000!important;text-shadow:none!important;opacity:0!important}.single-invoice-processing .single-field-grid .field-assist-actions,.single-invoice-processing .line-row .field-assist-actions,.single-invoice-processing .line-row .tax-check,.single-invoice-processing .line-total{opacity:0}.single-invoice-processing .bill-credit-control>div,.single-invoice-processing .hold-date-control>label{background:linear-gradient(90deg,var(--surface-subtle) 25%,var(--surface-hover) 48%,var(--surface-subtle) 72%);background-size:220% 100%;border-radius:7px;animation:1.35s ease-in-out infinite single-invoice-shimmer;color:#0000!important}.single-invoice-processing .bill-credit-control input,.single-invoice-processing .hold-date-control>label input{visibility:hidden}.extracting-status{align-items:center;color:#337da8!important;background:#edf5fa!important;gap:6px!important;display:inline-flex!important}.extracting-status>i{background:#3f87b2;border-radius:50%;width:6px;height:6px;animation:.9s ease-in-out infinite alternate single-processing-dot}.line-processing-count{color:#337da8!important;background:#edf5fa!important}.single-processing-panel{box-sizing:border-box;flex-direction:column;justify-content:center;align-items:center;min-height:100%;padding:10px 12px 20px;display:flex}.single-processing-panel>strong{font-size:var(--text-section);margin-top:10px;font-weight:600}.single-processing-panel>small{color:var(--muted);font-size:var(--text-caption);text-align:center;margin-top:4px}.single-processing-panel .processing-checklist{width:100%;max-width:270px;margin-top:18px}.thumbnail-list>button.is-processing{cursor:default}.thumbnail-process-wash{pointer-events:none;background:linear-gradient(#0000 0%,#4c91b814 45%,#35a38c24 54%,#0000 100%) 0 0/100% 180%;animation:1.5s ease-in-out infinite thumbnail-processing-wash;position:absolute;inset:3px;overflow:hidden}.thumbnail-process-track{background:var(--surface-hover);border-radius:999px;width:100%;height:2px;margin-top:6px;display:block;overflow:hidden}.thumbnail-process-track>i{border-radius:inherit;background:#3f87b2;height:100%;transition:width .35s cubic-bezier(.2,.75,.25,1);display:block}.viewer-global-progress.is-processing>i{background:linear-gradient(90deg,#4c88b5,#27a28b)}@keyframes single-invoice-shimmer{to{background-position:-220% 0}}@keyframes single-processing-dot{to{opacity:.35;transform:scale(.72)}}@keyframes single-invoice-reveal{0%{opacity:.58;transform:translateY(2px)}to{opacity:1;transform:none}}@keyframes thumbnail-processing-wash{0%{background-position:0 -80%}to{background-position:0 180%}}.app-shell[data-theme=dark] .extracting-status,.app-shell[data-theme=dark] .line-processing-count{color:#8ab8df!important;background:#24323e!important}.app-shell[data-theme=dark] .extracting-status>i{background:#8ab8df}.app-shell[data-theme=dark] .thumbnail-process-track{background:#343734}.app-shell[data-theme=dark] .thumbnail-process-track>i{background:#8ab8df}@media (prefers-reduced-motion:reduce){.single-invoice-processing .single-field-grid input,.single-invoice-processing .single-field-grid select,.single-invoice-processing .single-field-grid .date-trigger,.single-invoice-processing .line-row input,.single-invoice-processing .line-row .assisted-readonly,.single-invoice-processing .line-row>strong,.single-invoice-processing .bill-credit-control>div,.single-invoice-processing .hold-date-control>label,.extracting-status>i,.thumbnail-process-wash,.single-invoice-ready .invoice-section{animation:none!important}}.viewer-body.empty .document-canvas{justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.empty-pdf-state{width:min(460px,92%);max-height:calc(100% - 28px);color:var(--ink);cursor:pointer;background:0 0;border:0;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:10px;padding:10px 14px 16px;display:flex;overflow:hidden}.empty-pdf-state:focus-visible{outline:2px solid var(--blue);outline-offset:3px}.empty-pdf-state>.empty-upload-art{background:0 0;border-radius:0;flex:0 auto;place-items:center;width:min(350px,100%);height:auto;max-height:min(36vh,300px);display:grid}.empty-upload-art img{object-fit:contain;object-position:center;width:100%;height:100%;max-height:min(36vh,300px);transition:transform .22s;display:block}.empty-pdf-state>.empty-upload-cta{text-align:left;background:#ffffffd9;border:1px dashed #b8bab5;border-radius:10px;justify-content:center;align-items:center;gap:10px;width:min(320px,100%);height:auto;min-height:66px;padding:10px 14px;transition:border-color .18s,background .18s,box-shadow .18s;display:flex;box-shadow:0 5px 18px #1a25300a}.empty-upload-icon{color:#1473e6;background:#edf4ff;border-radius:9px;flex:0 0 34px;place-items:center;width:34px;height:34px;display:grid}.empty-upload-copy{flex-direction:column;gap:3px;min-width:0;display:flex}.empty-upload-copy strong{font-size:var(--text-body);font-weight:600;line-height:1.2}.empty-upload-copy small{font-size:var(--text-caption);color:var(--muted);line-height:1.35}.empty-pdf-state:hover .empty-upload-art img{transform:translateY(-2px)}.empty-pdf-state:hover .empty-upload-cta{background:#fff;border-color:#7ca9e4;box-shadow:0 7px 22px #286fc114}.app-shell[data-theme=dark] .empty-pdf-state{background:0 0;border:0}.app-shell[data-theme=dark] .empty-pdf-state>.empty-upload-art{background:0 0;border-radius:0}.app-shell[data-theme=dark] .empty-upload-art img{filter:invert()hue-rotate(180deg)}.app-shell[data-theme=dark] .empty-pdf-state>.empty-upload-cta{box-shadow:none;background:#20211f;border-color:#4b4d48}.app-shell[data-theme=dark] .empty-upload-icon{color:#7fb4f4;background:#22344b}.app-shell[data-theme=dark] .empty-pdf-state:hover .empty-upload-cta{background:#252623;border-color:#647586}@container (width<=430px){.empty-pdf-state{width:94%;padding-inline:8px}.empty-upload-art{width:min(270px,100%);max-height:28vh}.empty-upload-art img{max-height:28vh}.empty-upload-cta{min-height:60px;padding:8px 10px}}@media (prefers-reduced-motion:reduce){.empty-upload-art img{transition:none!important}}.compact-workspace .data-panel{min-width:1000px}.compact-workspace .document-panel{min-width:300px}.invoice-empty-shell{place-items:center;display:grid;position:relative;min-width:900px!important;overflow:hidden!important}.single-invoice-empty-state{text-align:center;width:min(430px,100% - 48px);color:var(--ink);flex-direction:column;justify-content:center;align-items:center;display:flex}.single-empty-icon{background:var(--focus);border-radius:12px;place-items:center;width:42px;height:42px;margin-bottom:12px;display:grid}@supports (color:color-mix(in lab, red, red)){.single-empty-icon{background:color-mix(in srgb,var(--focus) 8%,var(--surface-subtle))}}.single-empty-icon{color:var(--focus)}.single-invoice-empty-state>strong{font-size:var(--text-section);font-weight:600}.single-invoice-empty-state>p{max-width:390px;color:var(--muted);font-size:var(--text-small);margin:7px 0 16px;line-height:1.55}.single-invoice-empty-state>div{flex-wrap:wrap;justify-content:center;gap:7px 15px;display:flex}.single-invoice-empty-state>div>span{color:var(--muted);font-size:var(--text-caption);align-items:center;gap:5px;display:flex}.single-invoice-empty-state>div svg{color:#0a9b72}.table-scroll{isolation:isolate;background:var(--surface-panel)!important;background-image:none!important;border-right:0!important}.resman-table{background:var(--surface-panel)}.single-invoice-ready .invoice-fields-section,.single-invoice-ready .intelligence-section,.single-invoice-ready .line-items-section{animation:none!important}.single-invoice-ready .single-field-grid>*{animation:.3s cubic-bezier(.2,.75,.25,1) both invoice-content-reveal}.single-invoice-ready .single-field-grid>:nth-child(2){animation-delay:35ms}.single-invoice-ready .single-field-grid>:nth-child(3){animation-delay:55ms}.single-invoice-ready .single-field-grid>:nth-child(4){animation-delay:75ms}.single-invoice-ready .single-field-grid>:nth-child(5){animation-delay:95ms}.single-invoice-ready .single-field-grid>:nth-child(6){animation-delay:.115s}.single-invoice-ready .single-field-grid>:nth-child(7){animation-delay:.135s}.single-invoice-ready .single-field-grid>:nth-child(8){animation-delay:.155s}.single-invoice-ready .single-field-grid>:nth-child(9){animation-delay:.175s}.single-invoice-ready .single-field-grid>:nth-child(10){animation-delay:.195s}.single-invoice-ready .single-field-grid>:nth-child(11){animation-delay:.215s}.single-invoice-ready .single-field-grid>:nth-child(12){animation-delay:.235s}.single-invoice-ready .line-row{animation:.28s cubic-bezier(.2,.75,.25,1) both invoice-content-reveal;animation-delay:calc(.19s + (var(--reveal-index,0) * 55ms))}@keyframes invoice-content-reveal{0%{opacity:.12}to{opacity:1}}@media (prefers-reduced-motion:reduce){.single-invoice-ready .single-field-grid>*,.single-invoice-ready .line-row{animation:none!important}}.data-panel{position:relative}.resman-transfer-card{z-index:35;border:1px solid var(--line);width:min(344px,100% - 24px);min-height:86px;padding:12px;position:absolute;top:56px;right:12px}@supports (color:color-mix(in lab, red, red)){.resman-transfer-card{border:1px solid color-mix(in srgb,var(--line) 82%,#1473e6 18%)}}.resman-transfer-card{background:var(--surface-panel);border-radius:10px}@supports (color:color-mix(in lab, red, red)){.resman-transfer-card{background:color-mix(in srgb,var(--surface-panel) 96%,#1473e6 4%)}}.resman-transfer-card{animation:.24s cubic-bezier(.2,.8,.2,1) both resman-card-in;box-shadow:0 12px 28px #17202a16}.resman-transfer-head{grid-template-columns:30px minmax(0,1fr) 22px;align-items:start;gap:9px;display:grid}.resman-transfer-mark{color:#fff;background:#1473e6;border-radius:7px;place-items:center;width:30px;height:30px;font-size:11px;font-weight:800;display:grid;position:relative}.resman-transfer-card.is-validating .resman-transfer-mark,.resman-transfer-card.is-packaging .resman-transfer-mark,.resman-transfer-card.is-transmitting .resman-transfer-mark,.resman-transfer-card.is-confirming .resman-transfer-mark{animation:1s ease-in-out infinite resman-mark}.resman-transfer-card.is-success .resman-transfer-mark{background:#13a570}.resman-transfer-card.is-partial .resman-transfer-mark{background:#b7791f}.resman-transfer-card.is-error .resman-transfer-mark{background:#c54a49}.resman-transfer-head>div{min-width:0;padding-top:1px}.resman-transfer-head strong,.resman-transfer-head small{white-space:nowrap;text-overflow:ellipsis;display:block;overflow:hidden}.resman-transfer-head strong{font-size:var(--text-body);font-weight:650;line-height:1.25}.resman-transfer-head small{color:var(--muted);font-size:var(--text-caption);margin-top:4px;line-height:1.3}.resman-transfer-close{width:22px;height:22px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:5px;font-size:17px;line-height:1}.resman-transfer-close:hover{background:var(--surface-subtle);color:var(--ink)}.resman-transfer-track{background:var(--line);border-radius:999px;height:3px;margin:11px 0 7px}@supports (color:color-mix(in lab, red, red)){.resman-transfer-track{background:color-mix(in srgb,var(--line) 72%,transparent)}}.resman-transfer-track{overflow:hidden}.resman-transfer-track>i{border-radius:inherit;background:#1473e6;height:100%;transition:width .52s cubic-bezier(.2,.75,.2,1);display:block}.resman-transfer-card.is-success .resman-transfer-track>i{background:#13a570}.resman-transfer-card.is-partial .resman-transfer-track>i{background:#b7791f}.resman-transfer-card.is-error .resman-transfer-track>i{background:#c54a49}.resman-transfer-steps{grid-template-columns:repeat(4,1fr);gap:5px;display:grid}.resman-transfer-steps>span{background:var(--line);border-radius:2px;height:2px}@supports (color:color-mix(in lab, red, red)){.resman-transfer-steps>span{background:color-mix(in srgb,var(--line) 80%,transparent)}}.resman-transfer-steps>span{transition:background .25s}.resman-transfer-steps>span.active{background:#1473e6;animation:1s ease-in-out infinite resman-segment}.resman-transfer-steps>span.done{background:#13a570}.resman-transfer-actions{justify-content:flex-end;gap:7px;margin-top:10px;display:flex}.resman-transfer-actions button{height:26px;color:var(--muted);font-size:var(--text-caption);cursor:pointer;background:0 0;border:0;border-radius:6px;padding:0 9px}.resman-transfer-actions button:hover{background:var(--surface-subtle);color:var(--ink)}.resman-transfer-actions button:last-child{background:var(--ink);color:var(--surface-panel)}.panel-toolbar .resman-button.is-busy .resman-dot{color:#fff;background:#1473e6;animation:1s ease-in-out infinite resman-mark}.panel-toolbar .resman-button.is-success .resman-dot{color:#fff;background:#13a570}.panel-toolbar .resman-button.is-error .resman-dot{color:#fff;background:#c54a49}.panel-toolbar .resman-button:disabled{opacity:1;cursor:progress}.invoice-single.is-posting-resman,.table-scroll.is-posting-resman{isolation:isolate;position:relative}.invoice-single.is-posting-resman:after,.table-scroll.is-posting-resman:after{content:"";z-index:12;pointer-events:none;background:linear-gradient(#0000,#1473e612,#0000);height:18%;min-height:58px;animation:2.35s linear infinite resman-data-pass;position:absolute;top:-18%;left:0;right:0}.invoice-single.is-posted-resman .invoice-section,.table-scroll.is-posted-resman tbody{animation:.55s ease-out both resman-confirm}.app-shell[data-theme=dark] .resman-transfer-card{background:var(--surface-panel)}@supports (color:color-mix(in lab, red, red)){.app-shell[data-theme=dark] .resman-transfer-card{background:color-mix(in srgb,var(--surface-panel) 94%,#1473e6 6%)}}.app-shell[data-theme=dark] .resman-transfer-card{border-color:var(--line)}@supports (color:color-mix(in lab, red, red)){.app-shell[data-theme=dark] .resman-transfer-card{border-color:color-mix(in srgb,var(--line) 84%,#4f91e8 16%)}}.app-shell[data-theme=dark] .resman-transfer-card{box-shadow:0 12px 30px #0005}@keyframes resman-card-in{0%{opacity:0;transform:translateY(-6px)scale(.985)}to{opacity:1;transform:none}}@keyframes resman-mark{50%{opacity:.68}}@keyframes resman-segment{50%{opacity:.38}}@keyframes resman-data-pass{to{top:100%}}@keyframes resman-confirm{0%{opacity:.72}to{opacity:1}}@media (prefers-reduced-motion:reduce){.resman-transfer-card,.resman-transfer-mark,.resman-transfer-steps>span.active,.invoice-single.is-posting-resman:after,.table-scroll.is-posting-resman:after,.invoice-single.is-posted-resman .invoice-section,.table-scroll.is-posted-resman tbody{animation:none!important}}.invoice-pager{height:28px;color:var(--muted);align-items:center;gap:1px;margin-left:1px;display:flex}.invoice-pager button,.resman-menu-trigger{width:27px;height:27px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:6px;place-items:center;padding:0;display:grid}.invoice-pager button:hover:not(:disabled),.resman-menu-trigger:hover:not(:disabled),.resman-menu-trigger.active{background:var(--surface-subtle);color:var(--ink)}.invoice-pager button:disabled,.resman-menu-trigger:disabled{opacity:.3;cursor:default}.invoice-pager>span{min-width:39px;font-size:var(--text-caption);font-variant-numeric:tabular-nums;white-space:nowrap;justify-content:center;align-items:center;gap:4px;display:flex}.invoice-pager>span b{color:var(--ink);font-weight:650}.invoice-pager>span i{color:var(--muted);font-style:normal}@supports (color:color-mix(in lab, red, red)){.invoice-pager>span i{color:color-mix(in srgb,var(--muted) 58%,transparent)}}.panel-toolbar .dropdown-wrap.resman-split-wrap{flex:0 0 59px;align-items:center;gap:0;width:59px;min-width:59px;display:flex}.panel-toolbar .resman-split-wrap .resman-button{border-radius:6px 0 0 6px!important}.resman-menu-trigger{color:var(--ink);border-radius:0 6px 6px 0;margin-left:-1px}.resman-scope-menu{z-index:45;background:var(--surface-panel);border:0;border-radius:10px;width:232px;padding:6px;animation:.18s cubic-bezier(.2,.8,.2,1) both resman-card-in;position:absolute;top:35px;right:0;box-shadow:0 14px 36px #17202a1f}.resman-scope-menu>button{width:100%;min-height:48px;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:7px;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px;padding:7px 8px;display:grid}.resman-scope-menu>button:hover:not(:disabled){background:var(--surface-subtle)}.resman-scope-menu>button:disabled{opacity:.38;cursor:default}.resman-scope-menu>button>svg{color:var(--muted);justify-self:center}.resman-scope-icon{color:#073518;background:#2fc46f;border-radius:5px;justify-self:center;place-items:center;width:20px;height:20px;font-size:9px;font-weight:800;display:grid}.resman-scope-menu strong,.resman-scope-menu small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.resman-scope-menu strong{font-size:var(--text-small);font-weight:600}.resman-scope-menu small{color:var(--muted);font-size:var(--text-caption);margin-top:3px}.resman-transfer-card{border:0;box-shadow:0 12px 26px #17202a14}.app-shell[data-theme=dark] .resman-transfer-card{border:0;box-shadow:0 14px 32px #0004}.app-shell[data-theme=dark] .resman-scope-menu{background:var(--surface-panel);box-shadow:0 16px 40px #0007}.app-shell[data-theme=dark] .invoice-pager button:hover:not(:disabled),.app-shell[data-theme=dark] .resman-menu-trigger:hover:not(:disabled),.app-shell[data-theme=dark] .resman-menu-trigger.active,.app-shell[data-theme=dark] .resman-scope-menu>button:hover:not(:disabled){background:#292a27}.viewer-commandbar{z-index:80;position:relative;overflow:visible}.viewer-more-wrap{z-index:52;position:relative}.viewer-more-menu.intake-menu{z-index:70;background:var(--surface-panel);width:304px;max-width:calc(100vw - 28px);color:var(--ink);border:0;border-radius:12px;margin:0;padding:8px;animation:.18s cubic-bezier(.2,.8,.2,1) both intake-pop;position:absolute;top:34px;right:0;box-shadow:0 18px 46px #17202a24}@keyframes intake-pop{0%{opacity:0;transform:translateY(-4px)scale(.985)}to{opacity:1;transform:none}}.intake-menu-heading{grid-template-columns:30px minmax(0,1fr);align-items:center;gap:8px;height:46px;padding:0 7px;display:grid}.intake-menu-heading>span{background:var(--surface-subtle);width:28px;height:28px;color:var(--ink);border-radius:8px;place-items:center;display:grid}.intake-menu-heading strong,.intake-menu-heading small{display:block}.intake-menu-heading strong{font-size:var(--text-small);font-weight:650}.intake-menu-heading small{color:var(--muted);font-size:var(--text-caption);margin-top:2px}.intake-sections{gap:6px;display:grid}.viewer-commandbar .viewer-more-menu.intake-menu .intake-section-card{background:var(--surface-subtle);color:var(--ink);text-align:left;border:0;border-radius:9px;grid-template-columns:30px minmax(0,1fr) 18px;align-items:center;gap:9px;padding:0 9px;display:grid;flex:0 0 52px!important;width:100%!important;min-width:0!important;height:52px!important}.viewer-more-menu.intake-menu .intake-section-card:hover,.viewer-more-menu.intake-menu .intake-section-card.active{background:var(--surface-subtle)}@supports (color:color-mix(in lab, red, red)){.viewer-more-menu.intake-menu .intake-section-card:hover,.viewer-more-menu.intake-menu .intake-section-card.active{background:color-mix(in srgb,var(--surface-subtle) 72%,var(--ink) 8%)}}.intake-section-icon{background:var(--surface-panel);width:28px;height:28px;color:var(--muted);border-radius:8px;place-items:center;display:grid}.intake-section-card>span:nth-child(2){min-width:0}.intake-section-card strong,.intake-section-card small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.intake-section-card strong{font-size:12px;font-weight:650}.intake-section-card small{color:var(--muted);margin-top:2px;font-size:10px}.intake-section-card>svg{color:var(--muted);justify-self:end;transition:transform .16s}.intake-section-card.active>svg{transform:rotate(180deg)}.intake-flyout{z-index:4;background:var(--surface-panel);border:0;border-radius:12px;width:100%;padding:7px;animation:.16s cubic-bezier(.2,.8,.2,1) both intake-pop;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 18px 46px #17202a24}.intake-flyout>header{grid-template-columns:28px minmax(0,1fr);align-items:center;gap:8px;height:43px;padding:0 6px;display:grid}.intake-flyout>header>span{background:var(--surface-subtle);width:26px;height:26px;color:var(--muted);border-radius:7px;place-items:center;display:grid}.intake-flyout>header strong,.intake-flyout>header small{display:block}.intake-flyout>header strong{font-size:12px;font-weight:650}.intake-flyout>header small{color:var(--muted);margin-top:2px;font-size:10px}.batch-picker{background:var(--surface-subtle);scrollbar-width:thin;scrollbar-color:var(--muted) transparent;border-radius:9px;width:100%;max-height:196px;margin:0;padding:4px;overflow:hidden auto}@supports (color:color-mix(in lab, red, red)){.batch-picker{scrollbar-color:color-mix(in srgb,var(--muted) 24%,transparent) transparent}}.viewer-commandbar .viewer-more-menu.intake-menu .batch-picker>button{min-height:32px;color:var(--ink);text-align:left;white-space:nowrap;background:0 0;border:0;border-radius:6px;justify-content:space-between;align-items:center;gap:8px;padding:0 7px;font-size:11px;line-height:1;display:flex;flex:0 0 32px!important;width:100%!important;min-width:0!important;height:32px!important}.viewer-commandbar .viewer-more-menu.intake-menu .batch-picker>button>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;line-height:1.2;display:block;overflow:hidden}.viewer-more-menu.intake-menu .batch-picker>button:hover,.viewer-more-menu.intake-menu .batch-picker>button.active{background:var(--surface-panel)}.viewer-commandbar .viewer-more-menu.intake-menu .batch-picker>button.new-batch{color:#176fd1;justify-content:flex-start}.connections-list{gap:2px;display:grid}.viewer-commandbar .viewer-more-menu.intake-menu .integration-row{color:var(--ink);text-align:left;background:0 0;border:0;border-radius:8px;grid-template-columns:30px minmax(0,1fr) 58px;align-items:center;gap:10px;padding:0 8px;display:grid;width:100%!important;height:52px!important}.viewer-more-menu.intake-menu .integration-row:hover{background:var(--surface-subtle)}.integration-mark{border-radius:8px;justify-self:center;place-items:center;width:28px;height:28px;display:grid}.integration-mark.outlook{color:#1468c7;background:#e9f2ff}.integration-mark.dropbox{color:#1769e0;background:#edf3ff}.integration-copy{text-align:left;align-self:center;min-width:0}.integration-row strong,.integration-row small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.integration-row strong{font-size:12px;font-weight:620;line-height:1.25}.integration-row small{color:var(--muted);margin-top:2px;font-size:10px;line-height:1.25}.integration-row em{color:#176fd1;white-space:nowrap;justify-self:end;font-size:10px;font-style:normal}.integration-row em.connected{color:#07845e}.source-status-cluster{flex:none;align-items:center;gap:2px;height:28px;display:flex}.viewer-commandbar .source-status{background:0 0;border:0;flex:0 0 25px;min-width:25px;position:relative;width:25px!important;height:25px!important}.source-status.outlook{color:#1468c7}.source-status.dropbox{color:#1769e0}.source-status>i{border:1px solid var(--surface-panel);background:#16a36f;border-radius:50%;width:5px;height:5px;position:absolute;bottom:3px;right:3px}.connection-scrim{z-index:1000;pointer-events:none;background:0 0;place-items:center;padding:12px;display:grid;position:fixed;inset:0}.connection-dialog{pointer-events:auto;background:var(--surface-panel);width:min(420px,100vw - 24px);max-height:calc(100vh - 24px);color:var(--ink);transform:translate3d(var(--dialog-x,0px),var(--dialog-y,0px),0);will-change:transform;border:0;border-radius:14px;animation:.22s cubic-bezier(.2,.8,.2,1) both connection-in;overflow:auto;box-shadow:0 24px 70px #17202a30}@keyframes connection-in{0%{opacity:0;transform:translate3d(var(--dialog-x,0px),calc(var(--dialog-y,0px) + 8px),0) scale(.985)}to{opacity:1;transform:translate3d(var(--dialog-x,0px),var(--dialog-y,0px),0)}}.connection-dialog>header{cursor:grab;-webkit-user-select:none;user-select:none;touch-action:none;grid-template-columns:36px minmax(0,1fr) 28px;align-items:center;gap:10px;height:62px;padding:0 14px;display:grid}.connection-dialog>header:active{cursor:grabbing}.connection-dialog>header .integration-mark{width:34px;height:34px}.connection-dialog>header strong,.connection-dialog>header small{display:block}.connection-dialog>header strong{font-size:14px}.connection-dialog>header small{color:var(--muted);margin-top:2px;font-size:11px}.connection-dialog>header>button{width:28px;height:28px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:7px;font-size:19px}.connection-dialog>header>button:hover{background:var(--surface-subtle);color:var(--ink)}.connection-steps{grid-template-columns:repeat(3,1fr);gap:4px;height:3px;margin:0 14px;display:grid}.connection-steps i{background:var(--surface-subtle);border-radius:3px;transition:background .22s}.connection-steps i.active{background:#1473e6}.connection-stage{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:250px;padding:26px 36px;display:flex}.connection-stage-icon{background:var(--surface-subtle);color:#1473e6;border-radius:13px;place-items:center;width:46px;height:46px;display:grid}.connection-stage h3{letter-spacing:-.02em;margin:14px 0 7px;font-size:17px}.connection-stage p{max-width:320px;color:var(--muted);margin:0;font-size:12px;line-height:1.55}.connection-stage ul{text-align:left;gap:8px;width:100%;max-width:290px;margin:18px 0 0;padding:0;list-style:none;display:grid}.connection-stage li{color:var(--muted);align-items:center;gap:8px;font-size:11px;display:flex}.connection-stage li svg{color:#0aa373}.connection-stage label{text-align:left;width:100%;max-width:310px;margin-top:20px}.connection-stage label>span{color:var(--muted);margin-bottom:6px;font-size:11px;display:block}.connection-stage select{background:var(--surface-subtle);width:100%;height:38px;color:var(--ink);font:12px var(--font-ui);border:0;border-radius:9px;outline:0;padding:0 10px}.automation-note{color:#4e657d;text-align:left;background:#f2f7fd;border-radius:9px;grid-template-columns:18px 1fr;gap:7px;width:100%;max-width:310px;margin-top:10px;padding:10px;font-size:11px;line-height:1.4;display:grid}.automation-note svg{color:#1473e6}.connection-result .connection-stage-icon{color:#0a9669;background:#e9f7f2}.connection-result.working .connection-stage-icon{color:#1473e6;background:#eaf3ff;animation:1.1s linear infinite connection-spin}@keyframes connection-spin{to{transform:rotate(360deg)}}.connection-progress{background:var(--surface-subtle);border-radius:3px;width:180px;height:3px;margin-top:20px;overflow:hidden}.connection-progress i{background:#1473e6;border-radius:3px;width:45%;height:100%;animation:1s ease-in-out infinite connection-progress;display:block}@keyframes connection-progress{0%{transform:translate(-100%)}to{transform:translate(330%)}}.connection-dialog>footer{align-items:center;gap:8px;height:58px;padding:0 14px;display:flex}.connection-dialog>footer>span{flex:1}.connection-dialog>footer button{height:34px;color:var(--muted);font:12px var(--font-ui);cursor:pointer;background:0 0;border:0;border-radius:8px;padding:0 13px}.connection-dialog>footer button:hover{background:var(--surface-subtle);color:var(--ink)}.connection-dialog>footer button.connection-primary{background:var(--ink);color:var(--surface-panel)}.app-shell[data-theme=dark] .viewer-more-menu.intake-menu,.app-shell[data-theme=dark] .intake-flyout,.app-shell[data-theme=dark] .connection-dialog{box-shadow:0 22px 60px #0008}.app-shell[data-theme=dark] .integration-mark.outlook{color:#7cb8ff;background:#1b2c42}.app-shell[data-theme=dark] .integration-mark.dropbox{color:#78aaff;background:#172a49}.app-shell[data-theme=dark] .automation-note{color:#a8bed0;background:#18242f}.app-shell[data-theme=dark] .connection-result .connection-stage-icon{color:#65d3ad;background:#173a30}@container (width<=520px){.viewer-page,.viewer-zoom{display:none}.viewer-document-name{max-width:76px}.source-status-cluster{gap:0}.viewer-more-menu.intake-menu{width:min(286px,100vw - 28px)}}@media (prefers-reduced-motion:reduce){.viewer-more-menu.intake-menu,.connection-dialog,.connection-result.working .connection-stage-icon,.connection-progress i{animation:none}}.viewer-workspace-tabs{z-index:58;border-bottom:1px solid var(--line);background:var(--surface-panel);flex:0 0 42px;align-items:flex-end;height:42px;padding:0 7px;display:flex;position:relative}.viewer-tab-list{align-items:flex-end;gap:3px;min-width:0;height:100%;display:flex;overflow:hidden}.viewer-workspace-tab{min-width:0;height:35px;color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:8px 8px 0 0;align-items:center;gap:7px;padding:0 9px;display:grid;position:relative}.viewer-workspace-tab:hover,.viewer-workspace-tab.active{background:var(--surface-subtle);color:var(--ink)}.viewer-workspace-tab.active:after{content:"";background:#176fd1;border-radius:2px;height:2px;position:absolute;bottom:0;left:9px;right:9px}.viewer-workspace-tab>span:nth-child(2){text-align:left;min-width:0}.viewer-workspace-tab strong,.viewer-workspace-tab small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.viewer-workspace-tab strong{font-size:10px;font-weight:650}.viewer-workspace-tab small{color:var(--muted);margin-top:1px;font-size:8px}.batch-tab{grid-template-columns:22px minmax(76px,1fr) auto 14px;max-width:190px}.batch-tab>svg{color:var(--muted)}.tab-mark{color:#176fd1;background:#176fd11a;border-radius:6px;place-items:center;width:22px;height:22px;display:grid}.incoming-tab{grid-template-columns:auto minmax(58px,1fr) auto;max-width:164px}.incoming-tab.active:after{background:linear-gradient(90deg,#1877d2 0 50%,#2f6fed 50%)}.viewer-workspace-tab .tab-count{color:#1769c2;min-width:18px;height:18px;font-style:normal;font-size:var(--text-caption);font-variant-numeric:tabular-nums;background:#e8f2ff;border-radius:9px;place-items:center;padding:0 5px;font-weight:700;line-height:1;display:grid}.source-mini-stack,.incoming-source-icons{align-items:center;display:flex}.source-mini-stack i,.incoming-source-icons i{border:2px solid var(--surface-panel);border-radius:6px;place-items:center;width:21px;height:21px;font-style:normal;display:grid}.source-mini-stack i+i,.incoming-source-icons i+i{margin-left:-6px}.source-mini-stack .outlook,.incoming-source-icons .outlook{color:#1468c7;background:#e9f2ff}.source-mini-stack .dropbox,.incoming-source-icons .dropbox{color:#1769e0;background:#edf3ff}.batch-manager{z-index:92;isolation:isolate;background:var(--surface-panel);border:0;border-radius:11px;width:min(318px,100% - 14px);padding:7px;animation:.17s cubic-bezier(.2,.8,.2,1) both intake-pop;position:absolute;top:38px;left:7px;overflow:visible;box-shadow:0 18px 48px #17202a26}.batch-manager>header{align-items:center;gap:8px;height:38px;padding:0 7px;display:flex}.batch-manager>header>strong{min-width:0;font-size:var(--text-small);flex:1;font-weight:650;display:block}.batch-manager>header>button{color:#176fd1;height:28px;font:var(--text-caption) var(--font-ui);cursor:pointer;background:0 0;border:0;border-radius:7px;align-items:center;gap:5px;padding:0 8px;display:flex}.batch-manager>header>button:hover{background:var(--surface-subtle)}.batch-manager-list{isolation:isolate;background:var(--surface-subtle);scrollbar-width:thin;scrollbar-color:var(--muted) transparent;border-radius:8px;gap:4px;max-height:220px;padding:4px;display:grid;position:relative;overflow:auto}@supports (color:color-mix(in lab, red, red)){.batch-manager-list{scrollbar-color:color-mix(in srgb,var(--muted) 24%,transparent) transparent}}.batch-manager-row{z-index:1;background:0 0;border-radius:7px;grid-template-columns:minmax(0,1fr) 28px;align-items:center;height:36px;display:grid;position:relative}.batch-manager-row:hover:not(.active){background:var(--surface-hover)}.batch-manager-row.active{background:#176fd1}@supports (color:color-mix(in lab, red, red)){.batch-manager-row.active{background:color-mix(in srgb,#176fd1 11%,var(--surface-panel))}}.batch-manager-row.active:hover{background:#176fd1}@supports (color:color-mix(in lab, red, red)){.batch-manager-row.active:hover{background:color-mix(in srgb,#176fd1 15%,var(--surface-panel))}}.batch-manager-row.menu-open{z-index:120}.batch-open{width:100%;min-width:0;height:36px;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:minmax(0,1fr) auto 14px;align-items:center;gap:7px;padding:0 8px;display:grid}.batch-open strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:var(--text-caption);font-weight:620;display:block;overflow:hidden}.batch-open em{min-width:18px;color:var(--muted);font-size:var(--text-caption);font-variant-numeric:tabular-nums;text-align:center;font-style:normal;font-weight:600}.batch-open>svg{color:#0b9b71}.batch-manager-row form{padding:0 5px}.batch-manager-row input{background:var(--surface-panel);width:100%;height:28px;color:var(--ink);font:10px var(--font-ui);border:0;border-radius:6px;outline:2px solid #6aa9e9;padding:0 7px}.batch-row-more{position:relative}.batch-row-more>button{width:26px;height:26px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:6px;place-items:center;display:grid}.batch-row-more>button:hover{background:var(--muted)}@supports (color:color-mix(in lab, red, red)){.batch-row-more>button:hover{background:color-mix(in srgb,var(--muted) 10%,transparent)}}.batch-row-more>button:hover{color:var(--ink)}.batch-row-menu{z-index:140;background:var(--surface-panel);border-radius:8px;width:96px;padding:4px;position:absolute;top:28px;right:-2px;box-shadow:0 12px 30px #17202a2e}.batch-row-menu button{width:100%;height:28px;color:var(--ink);font:var(--text-caption) var(--font-ui);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:5px;padding:0 8px}.batch-row-menu button:hover{background:var(--surface-subtle)}.batch-row-menu button.danger{color:#b83c38}.batch-manager-row.menu-open .batch-row-more>button{background:var(--surface-panel);color:var(--ink)}.viewer-more-menu.sources-only-menu{width:286px;padding:7px}.sources-only-menu .connections-list{padding-top:2px}.sources-only-menu .integration-row{height:52px!important}.viewer-commandbar.incoming-mode{padding-inline:10px}.incoming-command-title{font-size:10px}.incoming-selection-count{color:var(--muted);white-space:nowrap;font-size:8px}.viewer-commandbar.incoming-mode .source-status{place-items:center;display:grid}.incoming-queue-view{background:var(--surface-subtle);flex-direction:column;flex:1;min-height:0;padding:10px;display:flex}.incoming-queue-view>header{align-items:center;gap:10px;min-height:58px;padding:0 4px 9px;display:flex}.incoming-queue-view>header>div:first-child{align-items:center;gap:9px;min-width:0;display:flex}.incoming-queue-view>header>div:first-child>span:last-child{min-width:0}.incoming-queue-view>header strong,.incoming-queue-view>header small{display:block}.incoming-queue-view>header strong{font-size:12px}.incoming-queue-view>header small{color:var(--muted);margin-top:2px;font-size:9px}.incoming-actions{align-items:center;gap:4px;margin-left:auto;display:flex}.incoming-actions button{height:29px;color:var(--muted);font:9px var(--font-ui);cursor:pointer;background:0 0;border:0;border-radius:7px;padding:0 8px}.incoming-actions button:hover{background:var(--surface-panel);color:var(--ink)}.incoming-actions .move-to-batch{background:var(--ink);color:var(--surface-panel);align-items:center;gap:5px;display:flex}.incoming-actions .move-to-batch:disabled{opacity:.38;cursor:default}.incoming-list{scrollbar-width:thin;scrollbar-color:var(--muted) transparent;flex-direction:column;flex:1;gap:4px;min-height:0;display:flex;overflow:auto}@supports (color:color-mix(in lab, red, red)){.incoming-list{scrollbar-color:color-mix(in srgb,var(--muted) 24%,transparent) transparent}}.incoming-document-row{background:var(--surface-panel);cursor:pointer;border-radius:9px;flex:0 0 57px;grid-template-columns:18px 32px minmax(0,1fr) auto;align-items:center;gap:8px;height:57px;padding:0 10px;transition:background .16s,transform .16s;display:grid}.incoming-document-row:hover{background:var(--surface-panel)}@supports (color:color-mix(in lab, red, red)){.incoming-document-row:hover{background:color-mix(in srgb,var(--surface-panel) 90%,#176fd1 4%)}}.incoming-document-row.selected{background:var(--surface-panel)}@supports (color:color-mix(in lab, red, red)){.incoming-document-row.selected{background:color-mix(in srgb,var(--surface-panel) 90%,#176fd1 10%)}}.incoming-document-row input{accent-color:#176fd1;width:14px;height:14px}.incoming-source-icon{border-radius:8px;place-items:center;width:30px;height:30px;display:grid}.incoming-source-icon.outlook{color:#1468c7;background:#e9f2ff}.incoming-source-icon.dropbox{color:#1769e0;background:#edf3ff}.incoming-document-copy{min-width:0}.incoming-document-copy strong,.incoming-document-copy small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.incoming-document-copy strong{font-size:10px;font-weight:620}.incoming-document-copy small{color:var(--muted);margin-top:3px;font-size:8px}.incoming-state{background:var(--surface-subtle);color:var(--muted);border-radius:8px;padding:3px 6px;font-size:8px}.incoming-state.ready{color:#07845e;background:#e8f7f2}.incoming-state.extracting{color:#1769c2;background:#e9f2ff}.incoming-state.queued{color:#777;background:#f0f0ed}.incoming-empty{color:var(--muted);text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;display:flex}.incoming-empty>span{background:var(--surface-panel);color:#0b9b71;border-radius:11px;place-items:center;width:38px;height:38px;display:grid}.incoming-empty strong{color:var(--ink);margin-top:10px;font-size:12px}.incoming-empty small{max-width:240px;margin-top:4px;font-size:9px;line-height:1.45}.incoming-queue-view>footer{height:28px;color:var(--muted);justify-content:space-between;align-items:flex-end;font-size:8px;display:flex}.app-shell[data-theme=dark] .viewer-workspace-tabs,.app-shell[data-theme=dark] .batch-manager,.app-shell[data-theme=dark] .batch-row-menu{background:var(--surface-panel)}.app-shell[data-theme=dark] .batch-manager{box-shadow:0 20px 58px #0009}.app-shell[data-theme=dark] .viewer-workspace-tab .tab-count{color:#7eb7ff;background:#19345a}.app-shell[data-theme=dark] .incoming-source-icon.outlook,.app-shell[data-theme=dark] .source-mini-stack .outlook,.app-shell[data-theme=dark] .incoming-source-icons .outlook{color:#7cb8ff;background:#1b2c42}.app-shell[data-theme=dark] .incoming-source-icon.dropbox,.app-shell[data-theme=dark] .source-mini-stack .dropbox,.app-shell[data-theme=dark] .incoming-source-icons .dropbox{color:#78aaff;background:#172a49}@container (width<=430px){.viewer-workspace-tab{height:34px}.batch-tab{grid-template-columns:22px minmax(58px,1fr) auto 14px;max-width:166px}.incoming-tab{max-width:128px}.incoming-actions button:first-child,.incoming-actions .move-to-batch span{display:none}.incoming-document-row{grid-template-columns:16px 28px minmax(0,1fr)}.incoming-state,.incoming-selection-count{display:none}}.workspace,.data-panel,.document-panel{font-family:var(--font-ui);font-size:var(--text-body);line-height:1.35}.panel-toolbar .selection-copy,.viewer-document-name,.viewer-count,.viewer-page,.viewer-zoom,.invoice-pager>span,.incoming-selection-count{font-size:var(--text-caption);line-height:1}.data-panel table{font-size:var(--text-caption);line-height:1.25}.data-panel th{font-size:var(--text-caption);line-height:1.15}.data-panel td{font-size:var(--text-caption);line-height:1.25}.boolean-pill,.payment-state,.received-state{font-size:var(--text-caption)}.invoice-single .invoice-section-title strong{font-size:var(--text-section);line-height:1.2}.invoice-single .invoice-section-title>span,.invoice-single .intelligence-status,.line-processing-count{line-height:1;font-size:var(--text-caption)!important}.single-field-grid label>span,.bill-credit-control legend{font-size:var(--text-caption);line-height:1.2}.single-field-grid input,.single-field-grid select,.single-field-grid .date-trigger,.hold-date-control>label,.bill-credit-control label{font-size:var(--text-body);line-height:1.2}.intelligence-tabs button{line-height:1;font-size:var(--text-small)!important}.invoice-explanation,.intelligence-facts dt,.intelligence-facts dd,.intelligence-checks span,.match-view,.telemetry-view{font-size:var(--text-caption)}.line-header,.line-row,.line-row input,.line-row .assisted-readonly,.line-row>strong,.line-total{font-size:var(--text-caption);line-height:1.25}.viewer-workspace-tab strong{font-size:var(--text-caption);line-height:1}.viewer-workspace-tab small{font-size:var(--text-caption);margin-top:2px;line-height:1}.incoming-tab em{font-size:var(--text-caption)}.batch-manager>header strong,.incoming-queue-view>header strong{font-size:var(--text-small);line-height:1.15}.batch-manager>header small,.batch-manager>header>button,.batch-open strong,.batch-open small,.batch-manager-row input,.batch-row-menu button,.incoming-queue-view>header small,.incoming-actions button,.incoming-document-copy strong,.incoming-document-copy small,.incoming-state,.incoming-empty small,.incoming-queue-view>footer{font-size:var(--text-caption);line-height:1.15}.incoming-empty strong,.intake-section-card strong,.integration-row strong,.intake-flyout>header strong{font-size:var(--text-small)}.intake-section-card small,.integration-row small,.integration-row em,.intake-flyout>header small,.batch-picker>button{line-height:1.15;font-size:var(--text-caption)!important}.connection-stage li,.connection-stage label>span,.automation-note{font-size:var(--text-caption)}.table-footer{display:none!important}.sidebar{overflow:visible!important}.profile-menu-wrap{z-index:60;flex:0 0 48px;width:100%;height:48px;margin-top:8px;position:relative}.sidebar-profile-trigger{color:#fff;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:9px;grid-template-columns:34px minmax(0,1fr) 16px;align-items:center;gap:10px;width:100%;height:48px;padding:0 8px;transition:background .15s;display:grid}.sidebar-profile-trigger:hover,.profile-menu-wrap.open .sidebar-profile-trigger{background:#ffffff17;outline:0}.sidebar-profile-trigger:focus-visible{background:#ffffff17;outline:0}.sidebar-profile-avatar,.sidebar-profile-menu-photo{background:#d8d9d6;border-radius:50%;display:block;overflow:hidden;box-shadow:inset 0 0 0 1px #ffffff75,0 1px 3px #052c7550}.sidebar-profile-avatar{width:34px;height:34px}.sidebar-profile-menu-photo{width:32px;height:32px}.sidebar-profile-avatar img,.sidebar-profile-menu-photo img{object-fit:cover;object-position:center;width:100%;height:100%;display:block}.sidebar-profile-copy{min-width:0;display:block}.sidebar-profile-copy strong,.sidebar-profile-copy small,.sidebar-profile-menu-identity strong,.sidebar-profile-menu-identity small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.sidebar-profile-copy strong{font-size:13px;font-weight:600;line-height:16px}.sidebar-profile-copy small{color:#d9e6ff;margin-top:1px;font-size:11px;line-height:13px}.sidebar-profile-trigger>svg{color:#d9e6ff;width:13px;height:13px;transition:transform .15s}.profile-menu-wrap.open .sidebar-profile-trigger>svg{transform:rotate(180deg)}.sidebar-profile-menu{z-index:100;color:#242527;background:#fff;border:1px solid #e5e6e2;border-radius:12px;padding:7px;animation:.14s ease-out profile-menu-in;position:absolute;bottom:calc(100% + 8px);left:0;right:0;box-shadow:0 14px 36px #062b721f,0 3px 10px #00000012}@keyframes profile-menu-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.sidebar-profile-menu-head{grid-template-columns:32px minmax(0,1fr) 14px;align-items:center;gap:9px;min-height:48px;padding:5px 7px;display:grid}.sidebar-profile-menu-identity{min-width:0}.sidebar-profile-menu-identity strong{font-size:13px;font-weight:600;line-height:16px}.sidebar-profile-menu-identity small{color:#74777c;margin-top:1px;font-size:11px;line-height:13px}.sidebar-profile-menu-head>svg{color:#777b80}.sidebar-profile-menu-separator{background:#e6e6e3;height:1px;margin:5px 7px}.sidebar-profile-menu>button{color:#333539;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:7px;grid-template-columns:18px minmax(0,1fr) 14px;align-items:center;gap:9px;width:100%;height:36px;padding:0 8px;font-size:13px;display:grid}.sidebar-profile-menu>button>svg{color:#64686e;width:16px;height:16px}.sidebar-profile-menu>button>span{grid-column:2;min-width:0}.sidebar-profile-menu>button>svg:last-child:not(:first-child){grid-column:3}:is(.sidebar-profile-menu>button:hover,.sidebar-profile-menu>button:focus-visible){background:#f0f1ee;outline:0}.sidebar-profile-menu>button.active{color:#161718;background:#e7e8e5}.sidebar-collapsed .profile-menu-wrap{width:36px;height:48px;margin-left:0;margin-right:0}.sidebar-collapsed .sidebar-profile-trigger{border-radius:9px;grid-template-columns:34px;gap:0;width:36px;padding:0 1px}.sidebar-collapsed .sidebar-profile-copy,.sidebar-collapsed .sidebar-profile-trigger>svg{display:none}.sidebar-collapsed .sidebar-profile-menu{width:228px;bottom:0;left:calc(100% + 8px);right:auto}.app-shell[data-theme=dark] .sidebar-profile-trigger{color:var(--ink)}.app-shell[data-theme=dark] .sidebar-profile-copy small,.app-shell[data-theme=dark] .sidebar-profile-trigger>svg{color:var(--muted)}.app-shell[data-theme=dark] .sidebar-profile-avatar,.app-shell[data-theme=dark] .sidebar-profile-menu-photo{box-shadow:inset 0 0 0 1px #ffffff20,0 1px 4px #0008}.app-shell[data-theme=dark] .sidebar-profile-menu{color:#f0f0ed;background:#242522;border-color:#383a36;box-shadow:0 16px 40px #000a}.app-shell[data-theme=dark] .sidebar-profile-menu-identity small{color:#a7a9a4}.app-shell[data-theme=dark] .sidebar-profile-menu-separator{background:#3b3c38}.app-shell[data-theme=dark] .sidebar-profile-menu>button{color:#e7e8e4}.app-shell[data-theme=dark] .sidebar-profile-menu>button>svg,.app-shell[data-theme=dark] .sidebar-profile-menu-head>svg{color:#b5b7b1}:is(.app-shell[data-theme=dark] .sidebar-profile-menu>button:hover,.app-shell[data-theme=dark] .sidebar-profile-menu>button:focus-visible){background:#30312e}.app-shell[data-theme=dark] .sidebar-profile-menu>button.active{color:#fff;background:#3a3b37}@media (max-width:900px){.profile-menu-wrap{width:36px;margin-left:auto;margin-right:auto}.sidebar-profile-trigger{grid-template-columns:34px;gap:0;width:36px;padding:0 1px}.sidebar-profile-copy,.sidebar-profile-trigger>svg{display:none}.sidebar-profile-menu{width:228px;bottom:0;left:calc(100% + 8px);right:auto}}.settings-floating-layer{z-index:var(--layer-dialog);pointer-events:none;background:0 0;position:fixed;inset:0}.settings-dialog{--settings-x:0px;--settings-y:0px;pointer-events:auto;border:1px solid var(--line);background:var(--surface-panel);width:min(760px,100vw - 28px);height:min(580px,100vh - 28px);color:var(--ink);transform:translate(calc(-50% + var(--settings-x)),calc(-50% + var(--settings-y)));will-change:transform;border-radius:14px;flex-direction:column;animation:.18s cubic-bezier(.2,.8,.2,1) both settings-in;display:flex;position:fixed;top:50%;left:50%;overflow:hidden;box-shadow:0 24px 70px #17202a2c,0 4px 14px #00000010}@keyframes settings-in{0%{opacity:0;transform:translate(calc(-50% + var(--settings-x)),calc(-50% + var(--settings-y) + 7px)) scale(.99)}to{opacity:1;transform:translate(calc(-50% + var(--settings-x)),calc(-50% + var(--settings-y)))}}.settings-dialog-header{border-bottom:1px solid var(--line);cursor:grab;-webkit-user-select:none;user-select:none;touch-action:none;flex:0 0 58px;justify-content:space-between;align-items:center;height:58px;padding:0 13px;display:flex}.settings-dialog-header:active{cursor:grabbing}.settings-dialog-header>div{align-items:center;gap:10px;min-width:0;display:flex}.settings-dialog-header>div>span:last-child{min-width:0}.settings-dialog-header strong,.settings-dialog-header small{white-space:nowrap;display:block}.settings-dialog-header strong{font-size:14px;font-weight:650;line-height:17px}.settings-dialog-header small{color:var(--muted);margin-top:1px;font-size:11px;line-height:13px}.settings-header-mark{background:var(--surface-subtle);width:32px;height:32px;color:var(--ink);border-radius:9px;place-items:center;display:grid}.settings-dialog-header>button{width:30px;height:30px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:7px;place-items:center;font-size:20px;display:grid}:is(.settings-dialog-header>button:hover,.settings-dialog-header>button:focus-visible){background:var(--surface-subtle);color:var(--ink);outline:0}.settings-dialog-layout{flex:1;grid-template-columns:210px minmax(0,1fr);min-height:0;display:grid}.settings-nav{border-right:1px solid var(--line);scrollbar-width:thin;scrollbar-color:transparent transparent;flex-direction:column;gap:3px;min-height:0;padding:11px 9px;display:flex;overflow-y:auto}.settings-nav:hover{scrollbar-color:var(--muted) transparent}@supports (color:color-mix(in lab, red, red)){.settings-nav:hover{scrollbar-color:color-mix(in srgb,var(--muted) 28%,transparent) transparent}}.settings-nav::-webkit-scrollbar{width:5px}.settings-nav::-webkit-scrollbar-thumb{background:0 0;border-radius:5px}.settings-nav:hover::-webkit-scrollbar-thumb{background:var(--muted)}@supports (color:color-mix(in lab, red, red)){.settings-nav:hover::-webkit-scrollbar-thumb{background:color-mix(in srgb,var(--muted) 28%,transparent)}}.settings-nav>button{width:100%;height:38px;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;flex:0 0 38px;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:9px;padding:0 10px;font-size:13px;display:grid}.settings-nav>button>svg{color:var(--muted)}:is(.settings-nav>button:hover,.settings-nav>button:focus-visible){background:var(--surface-subtle);outline:0}.settings-nav>button.active{background:var(--surface-subtle)}@supports (color:color-mix(in lab, red, red)){.settings-nav>button.active{background:color-mix(in srgb,var(--surface-subtle) 82%,var(--blue) 8%)}}.settings-nav>button.active{font-weight:600}.settings-nav>button.active>svg{color:var(--blue)}.settings-content{flex-direction:column;min-width:0;min-height:0;padding:0 22px;display:flex}.settings-content>header{border-bottom:1px solid var(--line);flex:0 0 58px;align-items:center;height:58px;display:flex}.settings-content h2{letter-spacing:-.02em;margin:0;font-size:18px;font-weight:650;line-height:22px}.settings-content-scroll{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--muted) transparent;min-height:0;padding:10px 0 22px;overflow-y:auto}@supports (color:color-mix(in lab, red, red)){.settings-content-scroll{scrollbar-color:color-mix(in srgb,var(--muted) 26%,transparent) transparent}}.settings-content-scroll::-webkit-scrollbar{width:6px}.settings-content-scroll::-webkit-scrollbar-thumb{background:var(--muted);border-radius:6px}@supports (color:color-mix(in lab, red, red)){.settings-content-scroll::-webkit-scrollbar-thumb{background:color-mix(in srgb,var(--muted) 26%,transparent)}}.settings-row{border:0;border-bottom:1px solid var(--line);width:100%;min-height:66px;color:var(--ink);text-align:left;background:0 0;align-items:center;gap:18px;padding:11px 2px;display:flex}.settings-row>span:first-child{flex:1;min-width:0}.settings-row strong,.settings-row small{display:block}.settings-row strong{font-size:13px;font-weight:550;line-height:17px}.settings-row small{max-width:390px;color:var(--muted);margin-top:3px;font-size:11px;line-height:15px}.settings-choice{cursor:pointer}:is(.settings-choice:hover,.settings-choice:focus-visible){background:linear-gradient(90deg,transparent,var(--surface-subtle) 16%,var(--surface-subtle));outline:0}.settings-choice-value{max-width:210px;color:var(--ink);white-space:nowrap;justify-content:flex-end;align-items:center;gap:7px;font-size:12px;display:flex}.settings-choice-value>svg{color:var(--muted)}.settings-switch{cursor:pointer;background:#c7c9c5;border:0;border-radius:12px;flex:0 0 34px;width:34px;height:20px;padding:0;transition:background .16s;position:relative}.settings-switch i{background:#fff;border-radius:50%;width:14px;height:14px;transition:transform .16s;position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #0003}.settings-switch.on{background:#1473e6}.settings-switch.on i{transform:translate(14px)}.settings-integration-list{gap:3px;display:grid}.settings-integration-list>div{border-bottom:1px solid var(--line);grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:62px;padding:8px 2px;display:grid}.settings-integration-list strong,.settings-integration-list small{display:block}.settings-integration-list strong{font-size:13px;font-weight:550}.settings-integration-list small{color:var(--muted);margin-top:3px;font-size:11px}.settings-integration-list em{color:var(--green);font-size:11px;font-style:normal}.settings-integration-mark{color:#1769d1;background:#e9f2ff;border-radius:9px;place-items:center;width:32px;height:32px;display:grid}.settings-integration-mark.resman{color:#073518;background:#2fc46f;font-size:12px;font-weight:800}.settings-integration-list>button,.settings-secondary-action{background:var(--surface-subtle);height:36px;color:var(--ink);cursor:pointer;border:0;border-radius:8px;justify-content:center;align-items:center;gap:7px;margin-top:12px;padding:0 12px;font-size:12px;display:inline-flex}.settings-integration-list>button{justify-self:start}.settings-secondary-action:hover,.settings-integration-list>button:hover{filter:brightness(.97)}.settings-usage-summary{border-bottom:1px solid var(--line);grid-template-columns:repeat(3,1fr);gap:8px;padding:9px 0 13px;display:grid}.settings-usage-summary>span{background:var(--surface-subtle);border-radius:9px;min-width:0;padding:12px}.settings-usage-summary small,.settings-usage-summary strong{display:block}.settings-usage-summary small{color:var(--muted);font-size:10px}.settings-usage-summary strong{margin-top:5px;font-size:16px}.app-shell[data-theme=dark] .settings-dialog{box-shadow:0 24px 74px #000b}.app-shell[data-theme=dark] .settings-switch{background:#4a4c47}.app-shell[data-theme=dark] .settings-switch.on{background:#4b94ee}.app-shell[data-theme=dark] .settings-integration-mark{color:#7cb8ff;background:#1b2c42}@media (max-width:700px){.settings-dialog{width:calc(100vw - 20px);height:min(620px,100vh - 20px)}.settings-dialog-layout{grid-template-columns:58px minmax(0,1fr)}.settings-nav{padding:10px 7px}.settings-nav>button{grid-template-columns:1fr;place-items:center;padding:0}.settings-nav>button span{display:none}.settings-content{padding:0 14px}.settings-choice-value{max-width:135px}.settings-row small{max-width:260px}}@media (prefers-reduced-motion:reduce){.settings-dialog{animation:none}}.app-shell[data-appearance=cobalt][data-theme=light] .sidebar{background:linear-gradient(168deg,#075cff 0%,#1265f4 51%,#3978e7 100%)}.app-shell[data-appearance=cobalt][data-theme=dark] .sidebar{box-shadow:none;background:#171816}.app-shell[data-appearance=aqua][data-theme=light] .sidebar{background:linear-gradient(165deg,#063d4b 0%,#087f8b 50%,#1aa7a5 100%);box-shadow:inset -1px 0 #d5ffff24}.app-shell[data-appearance=aqua][data-theme=dark] .sidebar{box-shadow:none;background:#171816}.app-shell[data-appearance=graphite][data-theme=light] .sidebar{background:linear-gradient(165deg,#20242a 0%,#363c44 52%,#555c65 100%);box-shadow:inset -1px 0 #ffffff1c}.app-shell[data-appearance=graphite][data-theme=dark] .sidebar{box-shadow:none;background:#171816}.app-shell[data-appearance=aqua][data-theme=light] .sidebar .nav-item:hover{background:#ffffff16}.app-shell[data-appearance=aqua][data-theme=light] .sidebar .nav-item.active{color:#fff;background:#063e4daa!important}.app-shell[data-appearance=aqua][data-theme=light] .sidebar .nav-count{color:#096d77;background:#eaffff}.app-shell[data-appearance=graphite][data-theme=light] .sidebar .nav-item:hover{background:#ffffff13}.app-shell[data-appearance=graphite][data-theme=light] .sidebar .nav-item.active{color:#fff;background:#14181d8f!important}.app-shell[data-appearance=graphite][data-theme=light] .sidebar .nav-count{color:#343a42;background:#f4f5f6}.app-shell[data-appearance=white][data-theme=light] .sidebar{background:#0367fc;border-right-color:#0344dc;box-shadow:inset -1px 0 #ffffff24,4px 0 20px #0344dc24}.app-shell[data-appearance=white][data-theme=dark] .sidebar{border-right-color:var(--line);box-shadow:none;background:#171816}.app-shell[data-appearance=white] .sidebar:after{display:none}.app-shell[data-appearance=white][data-theme=light] .sidebar .brand-wordmark,.app-shell[data-appearance=white][data-theme=light] .sidebar .nav-item,.app-shell[data-appearance=white][data-theme=light] .sidebar .sidebar-section-label,.app-shell[data-appearance=white][data-theme=light] .sidebar .sidebar-section-toggle,.app-shell[data-appearance=white][data-theme=light] .sidebar .sidebar-profile-trigger,.app-shell[data-appearance=white][data-theme=light] .sidebar .collapse-button{color:#fff}.app-shell[data-appearance=white][data-theme=light] .sidebar .sidebar-section-label{color:#fff;opacity:.76}.app-shell[data-appearance=white][data-theme=light] .sidebar .nav-item{box-shadow:none!important;border:0!important}.app-shell[data-appearance=white][data-theme=light] .sidebar .nav-item:hover{color:#fff;box-shadow:none!important;background:#ffffff17!important;border:0!important}.app-shell[data-appearance=white][data-theme=light] .sidebar .nav-item.active{color:#fff;box-shadow:none!important;background:#164bb4b8!important;border:0!important}.app-shell[data-appearance=white][data-theme=light] .sidebar .nav-count{color:#161616;box-shadow:none;background:#d2f801}.app-shell[data-appearance=white][data-theme=light] .sidebar .collapse-button:hover,.app-shell[data-appearance=white][data-theme=light].sidebar-collapsed .brand .collapse-button:hover{background:#0344dc;border-color:#0000}.app-shell[data-appearance=white][data-theme=light].sidebar-collapsed .brand .collapse-button{color:#fff;background:#0344dc;border-color:#ffffff24!important}.app-shell[data-appearance=white][data-theme=light] .sidebar-profile-copy small,.app-shell[data-appearance=white][data-theme=light] .sidebar-profile-trigger>svg{color:#fff;opacity:.78}:is(.app-shell[data-appearance=white][data-theme=light] .sidebar-profile-trigger:hover,.app-shell[data-appearance=white][data-theme=light] .sidebar-profile-trigger:focus-visible){background:#0344dc}.appearance-picker-wrap{position:relative}.appearance-row{z-index:1;position:relative}.appearance-mini-swatches,.appearance-swatches{align-items:center;display:flex}.appearance-mini-swatches{margin-right:2px}.appearance-mini-swatches i{border:1px solid var(--line);width:10px;height:18px}@supports (color:color-mix(in lab, red, red)){.appearance-mini-swatches i{border:1px solid color-mix(in srgb,var(--line) 70%,transparent)}}.appearance-mini-swatches i:first-child{border-radius:5px 0 0 5px}.appearance-mini-swatches i:last-child{border-radius:0 5px 5px 0}.appearance-swatches{border:1px solid var(--line);border-radius:7px;width:48px;height:28px;overflow:hidden}.appearance-swatches i{flex:1;height:100%}.appearance-menu{z-index:var(--layer-menu);overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--muted) transparent;gap:2px;width:254px;padding:6px;display:grid;position:fixed;overflow:hidden auto}@supports (color:color-mix(in lab, red, red)){.appearance-menu{scrollbar-color:color-mix(in srgb,var(--muted) 25%,transparent) transparent}}.appearance-menu{border:1px solid var(--line);background:var(--surface-panel);border-radius:11px;box-shadow:0 16px 42px #15203326}.appearance-menu::-webkit-scrollbar{width:5px}.appearance-menu::-webkit-scrollbar-thumb{background:var(--muted);border-radius:5px}@supports (color:color-mix(in lab, red, red)){.appearance-menu::-webkit-scrollbar-thumb{background:color-mix(in srgb,var(--muted) 25%,transparent)}}.global-menu-layer{isolation:isolate}.appearance-menu>button{width:100%;min-height:46px;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;grid-template-columns:48px minmax(0,1fr) 18px;align-items:center;gap:10px;padding:7px 8px;display:grid}:is(.appearance-menu>button:hover,.appearance-menu>button:focus-visible){background:var(--surface-subtle);outline:0}.appearance-menu>button.selected{background:var(--surface-subtle)}@supports (color:color-mix(in lab, red, red)){.appearance-menu>button.selected{background:color-mix(in srgb,var(--surface-subtle) 86%,var(--blue) 8%)}}.appearance-menu>button>span:nth-child(2){min-width:0}.appearance-menu strong,.appearance-menu small{white-space:nowrap;display:block}.appearance-menu strong{font-size:12px;font-weight:600;line-height:15px}.appearance-menu small{color:var(--muted);margin-top:2px;font-size:10px;line-height:13px}.appearance-menu>button>svg{color:var(--green)}.app-shell[data-theme=dark] .appearance-menu{box-shadow:0 18px 48px #0009}@media (max-width:700px){.appearance-menu{width:228px}.appearance-mini-swatches{display:none}}.dropdown-menu,.viewer-more-menu,.intake-flyout,.batch-row-menu,.sidebar-profile-menu{z-index:100!important}.batch-floating-menu{z-index:400!important}.nav-item{font-size:var(--font-size-control);font-weight:450}.nav-section-label,.sidebar-section-label{font-size:var(--font-size-micro)!important;letter-spacing:.025em!important}.brand small,.workspace-switcher small,.help-card small,.sidebar-profile-copy small,.sidebar-profile-menu-identity small{font-size:var(--font-size-micro)!important}.workspace-switcher strong,.help-card strong,.sidebar-profile-copy strong,.sidebar-profile-menu-identity strong{font-size:var(--font-size-control)!important;font-weight:500!important}.breadcrumbs,.global-search input,.topbar button{font-size:var(--font-size-metadata)}button,input,select,textarea{font-size:var(--font-size-control)}label,.field-label,.form-label{font-size:var(--font-size-metadata)!important}table{font-size:var(--font-size-body)}th{font-size:var(--font-size-micro)!important;font-weight:500!important}td{font-size:var(--font-size-body)}.selection-copy,.table-footer,.viewer-footer,.viewer-document-name,.viewer-page,.viewer-zoom,.viewer-count,.doc-status,.thumbnail-list strong,.thumbnail-list small,.empty-state strong,.empty-state p,.settings-content p,.settings-content small,.settings-row small,.appearance-menu small{font-size:var(--font-size-metadata)!important}.settings-content h1{font-size:var(--font-size-page-title)!important;font-weight:450!important}.settings-content h2,.settings-card h2{font-size:var(--font-size-panel-title)!important;font-weight:500!important}.settings-row strong,.appearance-menu strong{font-size:var(--font-size-control)!important;font-weight:500!important}.dropdown-menu,.viewer-more-menu,.intake-flyout,.batch-row-menu,.sidebar-profile-menu,.appearance-menu{font-size:var(--font-size-metadata)}:root{--surface-canvas:#fafafa;--surface-panel:#fff;--surface-subtle:#f4f4f2;--surface-hover:#ececea;--surface-selected:#e8e9e6;--sidebar:#f3f3f1;--accent:#0367fc;--accent-hover:#0759d8;--focus:#0367fc;--focus-ring:#0367fc2e;--semantic-success:#087f5b;--semantic-attention:#a45d00;--semantic-critical:#c73832;--ink:#161616;--muted:#676a70;--line:#e1e1de;--line-strong:#c9cac6;--shadow-elevation-1:none;--shadow-elevation-2:0 8px 24px #151b2614;--shadow-overlay:0 18px 54px #0b12202e;--app-sidebar-width:236px;--app-sidebar-collapsed-width:60px;--app-topbar-height:52px;--page-gutter-desktop:16px;--page-gutter-compact:12px;--font-page-title:24px;--font-page-subtitle:14px;--font-section-title:16px;--font-body:14px;--font-metadata:12px;--weight-regular:400;--weight-medium:500;--weight-emphasis:600;--button-height:36px;--button-padding-inline:14px;--button-radius:8px;--radius-control:8px;--radius-surface:10px;--radius-overlay:12px;--status-dot-size:6px;--progress-height-compact:4px;--progress-height-standard:5px;--motion-content:.16s;--motion-tabs:.17s;--motion-dialog:.2s;--ease-product:cubic-bezier(.2,.8,.2,1);--floating-control-size:40px;--floating-control-offset:20px;--floating-control-gap:12px}:root[data-theme=dark]{--surface-canvas:#121311;--surface-panel:#181917;--surface-subtle:#20211e;--surface-hover:#292a26;--surface-selected:#2d2e2a;--sidebar:#171816;--accent:#70a8ff;--accent-hover:#8bb8ff;--focus:#70a8ff;--focus-ring:#70a8ff35;--semantic-success:#55c99e;--semantic-attention:#f0ad58;--semantic-critical:#ff817b;--ink:#f1f1ee;--muted:#a7aaa4;--line:#343530;--line-strong:#4a4b45;--shadow-overlay:0 22px 64px #000a}.app-shell{grid-template-columns:var(--app-sidebar-width) minmax(0,1fr);background:var(--surface-canvas)}.app-shell.sidebar-collapsed{grid-template-columns:var(--app-sidebar-collapsed-width) minmax(0,1fr)}.app-shell.sidebar-collapsed .sidebar{width:60px;min-width:0;padding-left:11px!important;padding-right:11px!important}.app-shell.sidebar-collapsed .nav-item{justify-content:center!important;width:36px!important;margin-left:auto!important;margin-right:auto!important;padding:0!important}.sidebar,.app-shell[data-appearance=white][data-theme=light] .sidebar,.app-shell[data-appearance=cobalt][data-theme=light] .sidebar,.app-shell[data-appearance=aqua][data-theme=light] .sidebar,.app-shell[data-appearance=graphite][data-theme=light] .sidebar,.app-shell[data-appearance][data-theme=dark] .sidebar{padding:10px 8px 8px;border-right:1px solid var(--line)!important;background:var(--sidebar)!important;box-shadow:none!important;color:var(--ink)!important;background-image:none!important;overflow:visible!important}.sidebar:before,.sidebar:after{display:none!important}.brand{height:43px;padding:0 8px 7px}.brand-wordmark{letter-spacing:-.02em;font-size:16px;font-weight:500;line-height:36px}.app-shell[data-appearance][data-theme] .sidebar .brand-wordmark,.app-shell[data-appearance][data-theme] .sidebar .nav-item,.app-shell[data-appearance][data-theme] .sidebar .sidebar-section-label,.app-shell[data-appearance][data-theme] .sidebar .sidebar-section-toggle,.app-shell[data-appearance][data-theme] .sidebar .sidebar-profile-trigger,.app-shell[data-appearance][data-theme] .sidebar .collapse-button{color:var(--ink)!important}.sidebar-nav-scroll{padding-top:2px}.sidebar-section-label{padding:13px 8px 5px;font-weight:400;color:var(--muted)!important;letter-spacing:0!important;text-transform:none!important;font-size:12px!important}.nav-item{border-radius:var(--radius-md);height:36px;padding:0 10px;font-size:14px;position:relative;color:var(--ink)!important;box-shadow:none!important;background:0 0!important;border:0!important}.app-shell[data-appearance][data-theme] .sidebar .nav-item:hover{background:var(--surface-hover)!important;color:var(--ink)!important;box-shadow:none!important;border:0!important}.app-shell[data-appearance][data-theme] .sidebar .nav-item.active{font-weight:500;background:var(--surface-selected)!important;color:var(--ink)!important;box-shadow:none!important;border:0!important}.nav-item.active:before{content:"";background:var(--accent);border-radius:0 2px 2px 0;width:2px;position:absolute;top:8px;bottom:8px;left:0}.nav-item svg{color:var(--muted)}.nav-item.active svg{color:var(--accent)}.app-shell[data-appearance][data-theme] .sidebar .nav-count{background:var(--surface-panel)!important;color:var(--muted)!important;box-shadow:none!important}.collapse-button{width:36px!important;height:36px!important}.collapse-button:hover{background:var(--surface-hover)!important;border-color:#0000!important}.profile-menu-wrap{flex-basis:48px;height:48px;margin-top:6px}.sidebar-profile-trigger{color:var(--ink)!important}.sidebar-profile-trigger:hover,.profile-menu-wrap.open .sidebar-profile-trigger{background:var(--surface-hover)!important}.sidebar-profile-trigger:focus-visible{background:var(--surface-hover)!important}.sidebar-profile-copy strong{font-size:13px;font-weight:500}.app-shell[data-appearance][data-theme] .sidebar-profile-copy small,.app-shell[data-appearance][data-theme] .sidebar-profile-trigger>svg{color:var(--muted)!important;opacity:1!important}.sidebar-profile-avatar,.sidebar-profile-menu-photo{box-shadow:inset 0 0 0 1px var(--line),0 1px 2px #0001}.topbar{height:var(--app-topbar-height);min-height:var(--app-topbar-height);flex:0 0 var(--app-topbar-height);border-bottom:1px solid var(--line);background:var(--surface-panel);padding:0 20px}.global-search{border-color:var(--line);background:var(--surface-subtle);height:36px}.global-search-shell{z-index:150;min-width:0;position:relative}.global-search-shell .global-search{width:100%;transition:border-color .12s ease-out,box-shadow .12s ease-out,background .12s ease-out}.global-search-shell .global-search:focus-within,.global-search-shell .global-search.open{border-color:var(--focus)}@supports (color:color-mix(in lab, red, red)){.global-search-shell .global-search:focus-within,.global-search-shell .global-search.open{border-color:color-mix(in srgb,var(--focus) 55%,var(--line))}}.global-search-shell .global-search:focus-within,.global-search-shell .global-search.open{background:var(--surface-panel);box-shadow:0 0 0 3px var(--focus-ring)}.global-search-popover{z-index:1500;border:1px solid var(--line);background:var(--surface-panel);color:var(--ink);border-radius:12px;position:absolute;top:calc(100% + 8px);left:0;right:0;overflow:hidden;box-shadow:0 18px 48px #15151524,0 2px 8px #15151512}.global-search-results{scrollbar-width:thin;max-height:min(440px,100dvh - 130px);padding:6px;overflow-y:auto}.global-search-results>button{width:100%;min-height:56px;color:var(--ink);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:10px;padding:7px 9px;display:grid}.global-search-results>button:hover,.global-search-results>button.active,.global-search-results>button[aria-selected=true]{background:var(--surface-selected)}.global-search-result-icon{background:var(--surface-subtle);width:32px;height:32px;color:var(--muted);border-radius:8px;place-items:center;display:grid}.global-search-results>button.active .global-search-result-icon,.global-search-results>button[aria-selected=true] .global-search-result-icon{color:var(--accent);background:var(--accent)}@supports (color:color-mix(in lab, red, red)){.global-search-results>button.active .global-search-result-icon,.global-search-results>button[aria-selected=true] .global-search-result-icon{background:color-mix(in srgb,var(--accent) 8%,var(--surface-subtle))}}.global-search-result-copy{min-width:0}.global-search-result-copy strong,.global-search-result-copy small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.global-search-result-copy strong{font-size:13px;font-weight:500}.global-search-result-copy small{color:var(--muted);margin-top:3px;font-size:11px}.global-search-result-type{background:var(--surface-subtle);color:var(--muted);border-radius:999px;align-self:start;margin-top:4px;padding:3px 6px;font-size:9px;line-height:1.2}.global-search-popover>footer{border-top:1px solid var(--line);background:var(--surface-subtle);min-height:34px;color:var(--muted);align-items:center;gap:14px;padding:0 10px;font-size:10px;display:flex}.global-search-popover>footer span{align-items:center;gap:4px;display:flex}.global-search-popover>footer kbd{background:var(--surface-panel);padding:1px 4px}.global-search-empty{flex-direction:column;gap:4px;padding:18px;display:flex}.global-search-empty strong{font-size:13px;font-weight:500}.global-search-empty span{color:var(--muted);font-size:11px;line-height:1.45}.icon-button{width:36px!important;height:36px!important}.icon-button:hover{background:var(--surface-hover)!important;border-color:#0000!important}.primary-button{border-color:var(--accent);background:var(--accent);color:#fff}.primary-button:hover{border-color:var(--accent-hover);background:var(--accent-hover)}.secondary-button{background:var(--surface-panel)}.app-shell[data-appearance=white],.app-shell[data-appearance=brand]{--accent:#0367fc;--accent-hover:#0759d8;--focus:#0367fc;--focus-ring:#0367fc2e}.app-shell[data-appearance=cobalt]{--accent:#0344dc;--accent-hover:#073bb8;--focus:#0344dc;--focus-ring:#0344dc30;--surface-selected:#0344dc}@supports (color:color-mix(in lab, red, red)){.app-shell[data-appearance=cobalt]{--surface-selected:color-mix(in srgb,#0344dc 8%,var(--surface-subtle))}}.app-shell[data-appearance=aqua]{--accent:#087f8b;--accent-hover:#066d77;--focus:#087f8b;--focus-ring:#087f8b30;--surface-selected:#087f8b}@supports (color:color-mix(in lab, red, red)){.app-shell[data-appearance=aqua]{--surface-selected:color-mix(in srgb,#087f8b 8%,var(--surface-subtle))}}.app-shell[data-appearance=graphite]{--accent:#4e5865;--accent-hover:#3f4853;--focus:#5f6a78;--focus-ring:#5f6a7830;--surface-selected:#66717e}@supports (color:color-mix(in lab, red, red)){.app-shell[data-appearance=graphite]{--surface-selected:color-mix(in srgb,#66717e 9%,var(--surface-subtle))}}.app-shell[data-theme=dark][data-appearance=white],.app-shell[data-theme=dark][data-appearance=brand]{--accent:#70a8ff;--accent-hover:#8bb8ff;--focus:#70a8ff}.app-shell[data-theme=dark][data-appearance=cobalt]{--accent:#75a0ff;--accent-hover:#91b4ff;--focus:#75a0ff}.app-shell[data-theme=dark][data-appearance=aqua]{--accent:#55c3c7;--accent-hover:#70d3d6;--focus:#55c3c7}.app-shell[data-theme=dark][data-appearance=graphite]{--accent:#b0b7c1;--accent-hover:#c4cad2;--focus:#b0b7c1}@media (max-width:900px){.app-shell{grid-template-columns:60px minmax(0,1fr)}.sidebar{padding-left:12px!important;padding-right:12px!important}.nav-item{justify-content:center;width:36px;padding:0}.brand-wordmark,.sidebar-section-label span,.nav-item span{display:none}}@media (max-width:900px) and (min-width:761px){.global-search-shell{display:none}}@media (max-width:760px){.app-shell,.app-shell.sidebar-collapsed{display:block}.sidebar{display:none}.main-shell{min-height:100dvh}.topbar{grid-template-columns:minmax(0,1fr) auto;padding:0 12px}.topbar .breadcrumbs{display:none}.global-search{grid-column:1}.top-actions{grid-column:2}.global-search-shell{grid-column:1;display:block}.global-search-shell .global-search{display:flex}.global-search-popover{position:fixed;top:58px;left:8px;right:8px}.global-search-popover>footer{justify-content:space-between;gap:6px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.sidebar-utility-nav{border-top:1px solid var(--line);flex-direction:column;flex:none;gap:2px;padding:8px 2px 2px;display:flex}.app-shell:not(.sidebar-collapsed) .sidebar-utility-nav .nav-item{width:calc(100% - 8px);margin-left:8px;padding-left:12px}.sidebar-collapsed .sidebar-utility-nav{padding-left:0;padding-right:0}@media (max-width:900px){.sidebar-utility-nav{align-items:center;padding-left:0;padding-right:0}}.mobile-nav-trigger{width:38px;height:38px;color:var(--ink);cursor:pointer;background:0 0;border:0;border-radius:8px;place-items:center;display:none}.mobile-nav-trigger:hover{background:var(--surface-hover)}.mobile-nav-scrim{z-index:1400;background:#0006;display:none;position:fixed;inset:0}.mobile-nav-drawer{background:var(--surface-panel);width:min(320px,88vw);height:100dvh;color:var(--ink);flex-direction:column;display:flex;box-shadow:18px 0 44px #0003}.mobile-nav-drawer>header{border-bottom:1px solid var(--line);flex:0 0 58px;justify-content:space-between;align-items:center;height:58px;padding:0 14px;display:flex}.mobile-nav-drawer>header strong{font-size:16px;font-weight:600}.mobile-nav-drawer>header button{width:36px;height:36px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:8px;font-size:22px}.mobile-nav-drawer>header button:hover{background:var(--surface-hover);color:var(--ink)}.mobile-nav-drawer .workspace-identity{margin:10px 12px}.mobile-nav-content{min-height:0;padding:4px 10px calc(18px + env(safe-area-inset-bottom));flex:1;overflow-y:auto}.mobile-nav-content section{gap:2px;margin-top:12px;display:grid}.mobile-nav-content section>p{color:var(--muted);margin:0;padding:5px 10px;font-size:12px}.mobile-nav-content button{min-height:42px;color:var(--ink);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:10px;padding:0 11px;font-size:14px;display:flex}.mobile-nav-content button:hover{background:var(--surface-hover)}.mobile-nav-content button.active,.mobile-nav-content button[aria-current=page]{background:var(--surface-selected);font-weight:500}.mobile-nav-content button.active:before,.mobile-nav-content button[aria-current=page]:before{content:"";background:var(--accent);border-radius:2px;width:2px;height:20px;margin-left:-7px}.single-empty-primary{color:#fff;min-height:38px;font:inherit;cursor:pointer;background:#151515;border:1px solid #151515;border-radius:8px;align-items:center;gap:7px;margin:0 0 18px;padding:0 14px;font-size:13px;font-weight:500;display:inline-flex}.single-empty-primary:hover{background:#2b2b2b}.app-shell[data-theme=dark] .single-empty-primary{color:#171816;background:#ececea;border-color:#ececea}@media (max-width:760px){.mobile-nav-trigger{display:grid}.mobile-nav-scrim{display:block}.topbar{grid-template-columns:38px minmax(0,1fr) auto!important;gap:8px!important}.global-search-shell,.global-search{grid-column:2!important}.top-actions{grid-column:3!important}.top-actions>.icon-button:first-child{display:none}.compact-workspace{min-height:calc(100dvh - var(--app-topbar-height));flex-direction:column;overflow:auto;height:auto!important;padding:10px!important;display:flex!important}.compact-workspace .data-panel,.compact-workspace .document-panel{width:100%;min-height:560px;min-width:0!important;height:auto!important}.compact-workspace .document-panel{min-height:520px}.invoice-empty-shell{min-height:430px;min-width:0!important}.panel-toolbar{scrollbar-width:none;overflow-x:auto}.panel-toolbar::-webkit-scrollbar{display:none}.icon-button.ai-chat-trigger{right:12px!important;bottom:calc(82px + env(safe-area-inset-bottom))!important}.ai-chat-panel{bottom:calc(134px + env(safe-area-inset-bottom))!important;max-height:calc(100dvh - 198px)!important}}.app-shell{--control-focus:var(--ink)}@supports (color:color-mix(in lab, red, red)){.app-shell{--control-focus:color-mix(in srgb,var(--ink) 42%,var(--line-strong))}}.app-shell{--control-focus-ring:var(--ink)}@supports (color:color-mix(in lab, red, red)){.app-shell{--control-focus-ring:color-mix(in srgb,var(--ink) 8%,transparent)}}.global-search-shell .global-search:focus-within,.global-search-shell .global-search.open{border-color:var(--control-focus)!important;box-shadow:0 0 0 2px var(--control-focus-ring)!important}:is(.global-search-shell .global-search input:focus,.global-search-shell .global-search input:focus-visible){box-shadow:none!important;border-color:#0000!important;outline:0!important}:is(.app-shell :is(input,select,textarea):focus,.app-shell :is(input,select,textarea):focus-visible){border-color:var(--control-focus)!important;outline:1px solid var(--control-focus)!important;outline-offset:0!important;box-shadow:0 0 0 2px var(--control-focus-ring)!important}:is(.app-shell :is(input[type=checkbox],input[type=radio]):focus,.app-shell :is(input[type=checkbox],input[type=radio]):focus-visible){outline-offset:2px!important;box-shadow:none!important}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}
