:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light;color:#ffffffde;background-color:#242424;--app-scrollbar-track: #eef2f7;--app-scrollbar-thumb: #c7d2e3;--app-scrollbar-thumb-hover: #94a3b8;--app-scrollbar-corner: #f8fafc;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{scrollbar-width:thin;scrollbar-color:var(--app-scrollbar-thumb) var(--app-scrollbar-track)}*::-webkit-scrollbar{width:16px;height:16px}*::-webkit-scrollbar-track{background:var(--app-scrollbar-track);border-radius:999px}*::-webkit-scrollbar-thumb{background:var(--app-scrollbar-thumb);border:2px solid var(--app-scrollbar-track);border-radius:999px}*::-webkit-scrollbar-thumb:hover{background:var(--app-scrollbar-thumb-hover)}*::-webkit-scrollbar-corner{background:var(--app-scrollbar-corner)}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media(prefers-color-scheme:light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}*{box-sizing:border-box}html,body{margin:0;padding:0;width:100%;height:100%;overscroll-behavior:none;overflow:hidden}body{margin:0;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#f5f6fa;display:block!important;place-items:unset!important;overscroll-behavior:none}#root{width:100%;height:100vh;overflow:hidden;overscroll-behavior:none}.app{height:100vh;width:100vw;display:flex;flex-direction:column;overflow:hidden;overscroll-behavior:none}.app-header{background:#2c3e50;color:#fff;padding:16px 20px;box-shadow:0 2px 4px #0000001a;z-index:100;display:flex;justify-content:space-between;align-items:center}.app-header h1{margin:0;font-size:20px;font-weight:600}.config-button{background:#ffffff1a;border:1px solid rgba(255,255,255,.2);color:#fff;font-size:20px;width:40px;height:40px;border-radius:8px;cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center;padding:0}.config-button:hover{background:#fff3;border-color:#ffffff4d;transform:rotate(45deg)}.config-button:active{transform:rotate(45deg) scale(.95)}.app-content{flex:1;display:flex;overflow:hidden;min-height:0;width:100%}@media(max-width:768px){.app-header{padding:12px 16px}.app-header h1{font-size:18px}.config-button{font-size:18px;width:36px;height:36px}}@media(max-width:480px){.app-header{padding:10px 12px}.app-header h1{font-size:16px}.config-button{font-size:16px;width:32px;height:32px}}.loading-overlay{position:absolute;inset:0;background:#fffc;display:flex;align-items:center;justify-content:center;z-index:1000}.error-message{color:#dc3545;background:#f8d7da;border:1px solid #f5c6cb;border-radius:4px;padding:12px;margin:8px;font-size:14px}.success-message{color:#155724;background:#d4edda;border:1px solid #c3e6cb;border-radius:4px;padding:12px;margin:8px;font-size:14px}.text-truncate{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.app-loading{display:flex;align-items:center;justify-content:center;height:100vh;font-size:1.1rem;color:#666}.app-header-actions{display:flex;align-items:center;gap:.75rem}.app-user{font-size:.9rem;color:#e0e0e0}.logout-button{background:none;border:1px solid rgba(255,255,255,.5);border-radius:4px;padding:.25rem .6rem;cursor:pointer;font-size:.85rem;color:#e0e0e0}.logout-button:hover{background:#ffffff26;border-color:#fffc}.collapse-rail-button{display:inline-flex;align-items:center;justify-content:center;padding:0;border:none;background:transparent;color:inherit;cursor:pointer}.collapse-rail-button:focus-visible{outline:2px solid #3b82f6;outline-offset:3px}.collapse-rail-button__icon{width:14px;height:14px;stroke-width:2.4;flex-shrink:0}.app.app-shell{--app-shell-sidebar-width: 248px;--app-shell-sidebar-collapsed-width: 74px;--app-shell-sidebar-surface: #e6edf5;--app-shell-sidebar-surface-strong: #dde6f0;--app-shell-sidebar-surface-top: #eef4fa;--app-shell-sidebar-border: #c8d3df;--app-shell-sidebar-text: #253245;--app-shell-sidebar-muted: #64748b;--app-shell-sidebar-hover: #edf2f8;--app-shell-sidebar-active: #f6f9fc;--app-shell-sidebar-active-border: rgba(148, 163, 184, .65);--app-shell-focus-accent: #3b82f6;--app-shell-brand-mark-bg: linear-gradient(145deg, #233245 0%, #334a66 100%);--app-shell-brand-mark-shadow: rgba(35, 50, 69, .2);--app-env-badge-bg: #dcfce7;--app-env-badge-border: #86efac;--app-env-badge-text: #166534;--app-shell-sidebar-shadow: 0 14px 30px rgba(15, 23, 42, .08);flex-direction:row;background:#eef2f7}[data-app-env=development] .app.app-shell{--app-shell-sidebar-surface: #e2f3ef;--app-shell-sidebar-surface-strong: #cde7df;--app-shell-sidebar-surface-top: #effaf7;--app-shell-sidebar-border: #9ccdc0;--app-shell-sidebar-text: #183d37;--app-shell-sidebar-muted: #4a7069;--app-shell-sidebar-hover: #f2fbf8;--app-shell-sidebar-active: #ffffff;--app-shell-sidebar-active-border: rgba(20, 184, 166, .45);--app-shell-focus-accent: #0f766e;--app-shell-brand-mark-bg: linear-gradient(145deg, #0f766e 0%, #14532d 100%);--app-shell-brand-mark-shadow: rgba(15, 118, 110, .24);--app-env-badge-bg: #ccfbf1;--app-env-badge-border: #5eead4;--app-env-badge-text: #115e59}.app-shell__main{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column}.app-shell-content{flex:1;min-width:0;min-height:0;background:#eef2f7}.app-sidebar{position:relative;z-index:30;display:flex;flex-direction:column;gap:16px;width:var(--app-shell-sidebar-width);min-width:var(--app-shell-sidebar-width);padding:16px 10px 12px;background:linear-gradient(180deg,var(--app-shell-sidebar-surface-top) 0%,var(--app-shell-sidebar-surface) 46%,var(--app-shell-sidebar-surface-strong) 100%);border-right:1px solid var(--app-shell-sidebar-border);box-shadow:inset -1px 0 #ffffff8c,12px 0 28px #0f172a0f;transition:width .24s ease,min-width .24s ease,transform .24s ease}.app-sidebar--collapsed{width:var(--app-shell-sidebar-collapsed-width);min-width:var(--app-shell-sidebar-collapsed-width)}.app-sidebar__header{display:flex;align-items:center;gap:8px;min-height:38px;padding-bottom:10px;border-bottom:1px solid rgba(216,222,231,.9)}.app-sidebar__brand{min-width:0;flex:1;display:flex;align-items:center;gap:10px;color:var(--app-shell-sidebar-text);text-decoration:none}.app-sidebar__brand:hover{color:#152032}.app-sidebar__brand-mark-wrap{display:flex;flex-direction:column;align-items:center;gap:4px;flex-shrink:0}.app-sidebar__brand-mark{width:38px;height:38px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;background:var(--app-shell-brand-mark-bg);color:#fff;font-size:.9rem;font-weight:800;letter-spacing:.06em;box-shadow:0 8px 14px var(--app-shell-brand-mark-shadow);flex-shrink:0}.app-sidebar__brand-copy{min-width:0;display:flex;flex-direction:column}.app-sidebar__brand-name{display:block;font-size:.95rem;font-weight:700;letter-spacing:-.02em;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.app-sidebar__brand-line,.app-shell__mobile-brand-line{min-width:0;display:flex;align-items:center;gap:8px}.app-env-badge{display:inline-flex;align-items:center;justify-content:center;height:18px;padding:0 6px;border:1px solid var(--app-env-badge-border);border-radius:999px;background:var(--app-env-badge-bg);color:var(--app-env-badge-text);font-size:.62rem;font-weight:800;line-height:1;letter-spacing:.06em;flex-shrink:0}.app-env-badge--collapsed{font-size:.56rem;height:14px;padding:0 5px}.app-sidebar__mobile-close,.app-shell__mobile-menu-button,.app-shell__mobile-account-button{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border:1px solid rgba(203,213,225,.9);border-radius:12px;background:#ffffffe6;color:#334155;cursor:pointer;transition:background .2s ease,border-color .2s ease,color .2s ease}.app-sidebar__mobile-close:hover,.app-shell__mobile-menu-button:hover,.app-shell__mobile-account-button:hover{background:#fff;border-color:#94a3b8;color:#0f172a}.app-sidebar__mobile-close:focus-visible,.app-shell__mobile-menu-button:focus-visible,.app-shell__mobile-account-button:focus-visible,.app-sidebar__nav-link:focus-visible,.app-sidebar__profile-link:focus-visible,.app-sidebar__logout-button:focus-visible{outline:none;box-shadow:inset 1px 1px 0 var(--app-shell-focus-accent),inset -1px 0 0 var(--app-shell-focus-accent),inset 0 1px 0 var(--app-shell-focus-accent)}.app-sidebar__mobile-close{display:none}.app-sidebar__collapse-icon,.app-sidebar__nav-icon{width:18px;height:18px;flex-shrink:0}.app-sidebar__rail-toggle{position:absolute;top:50%;right:4px;transform:translateY(-50%);width:24px;height:48px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:none;background:transparent;color:#5b6c7d;cursor:pointer;z-index:3;transition:color .2s ease,opacity .2s ease;opacity:.82}.app-sidebar__rail-toggle:hover{color:#233245;opacity:1}.app-sidebar__rail-toggle:focus-visible{outline:2px solid var(--app-shell-focus-accent);outline-offset:4px;border-radius:8px;opacity:1}.app-sidebar__nav{display:flex;flex-direction:column;gap:4px}.app-sidebar__scope-nav{position:relative;min-width:0}.app-sidebar__scope-trigger{cursor:pointer}.app-sidebar__scope-flyout{position:absolute;top:0;left:calc(100% + 12px);z-index:50;width:300px;max-width:calc(100vw - 108px);padding:12px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;box-shadow:0 18px 38px #0f172a29}.app-sidebar__scope-flyout-header{min-width:0;padding:4px 4px 10px;border-bottom:1px solid #e5e9ef}.app-sidebar__scope-kicker,.app-sidebar__scope-section-title{margin:0;color:#64748b;font-size:.68rem;font-weight:800;letter-spacing:.06em;line-height:1;text-transform:uppercase}.app-sidebar__scope-current{margin:6px 0 0;color:#0f172a;font-size:.9rem;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app-sidebar__scope-section{margin-top:12px;min-width:0}.app-sidebar__scope-section-title{display:flex;align-items:center;gap:6px;padding:0 4px 8px}.app-sidebar__scope-section-title svg{width:13px;height:13px}.app-sidebar__scope-option-list{display:flex;flex-direction:column;gap:3px;max-height:176px;overflow-y:auto}.app-sidebar__scope-option-list--years{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.app-sidebar__scope-option{min-width:0;min-height:34px;padding:7px 9px;border:1px solid transparent;border-radius:6px;background:transparent;color:#334155;font:inherit;font-size:.86rem;font-weight:600;text-align:left;cursor:pointer}.app-sidebar__scope-option:hover{background:#f8fafc;border-color:#e2e8f0;color:#0f172a}.app-sidebar__scope-option.is-selected{background:#eef2f7;border-color:#cbd5e1;color:#0f172a}.app-sidebar__scope-option span{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app-sidebar__scope-option--year{text-align:center}.app-sidebar__scope-empty,.app-sidebar__scope-error,.app-sidebar__scope-empty-state p{margin:0;color:#64748b;font-size:.82rem;line-height:1.35}.app-sidebar__scope-error{margin-top:10px;color:#b91c1c}.app-sidebar__scope-empty{padding:4px}.app-sidebar__scope-empty-state{display:flex;flex-direction:column;gap:10px;padding:10px 4px 2px}.app-sidebar__scope-empty-state--compact{padding-top:4px}.app-sidebar__scope-settings-link{display:inline-flex;width:fit-content;align-items:center;justify-content:center;min-height:32px;padding:0 10px;border:1px solid #cbd5e1;border-radius:6px;background:#fff;color:#334155;font-size:.82rem;font-weight:700;text-decoration:none}.app-sidebar__scope-settings-link:hover{background:#f8fafc;color:#0f172a}.app-sidebar__spacer{flex:1}.app-sidebar__footer{display:flex;flex-direction:column;gap:14px}.app-sidebar__nav-link,.app-sidebar__profile-link,.app-sidebar__logout-button{min-width:0;display:flex;align-items:center;gap:10px;width:100%;padding:9px 10px;border-radius:10px;border:1px solid transparent;background:transparent;color:var(--app-shell-sidebar-text);text-decoration:none;transition:background .2s ease,border-color .2s ease,color .2s ease,transform .2s ease}.app-sidebar__nav-link:hover,.app-sidebar__profile-link:hover,.app-sidebar__logout-button:hover{background:var(--app-shell-sidebar-hover);border-color:#cbd5e1b3;color:#0f172a}.app-sidebar__nav-link.active,.app-sidebar__profile-link.active{background:var(--app-shell-sidebar-active);border-color:var(--app-shell-sidebar-active-border);color:#0f172a;box-shadow:inset 0 1px #fffc}.app-sidebar__nav-label,.app-sidebar__logout-label{min-width:0;font-size:.9rem;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.app-sidebar--collapsed .app-sidebar__header{justify-content:center}.app-sidebar--collapsed .app-sidebar__brand{flex:0 0 auto}.app-sidebar--collapsed .app-sidebar__nav-link,.app-sidebar--collapsed .app-sidebar__profile-link,.app-sidebar--collapsed .app-sidebar__logout-button{justify-content:center;padding-left:0;padding-right:0}.app-sidebar__profile-group{display:flex;flex-direction:column;gap:8px;padding-top:12px;border-top:1px solid rgba(216,222,231,.9)}.app-sidebar__profile-link{padding:10px}.app-sidebar__profile-avatar,.app-shell__mobile-account-avatar{width:36px;height:36px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(180deg,#dce5f0,#c8d4e4);color:#243347;font-size:.88rem;font-weight:700;overflow:hidden;flex-shrink:0}.app-sidebar__profile-image{width:100%;height:100%;object-fit:cover}.app-sidebar__profile-copy{min-width:0;display:flex;flex-direction:column}.app-sidebar__profile-name{font-size:.9rem;font-weight:700;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.app-sidebar__profile-meta{margin-top:2px;font-size:.74rem;color:var(--app-shell-sidebar-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.app-sidebar__logout-button{justify-content:flex-start;cursor:pointer}.app-shell__backdrop{position:fixed;inset:0;z-index:20;background:#0f172a59;opacity:0;pointer-events:none;border:none;padding:0;transition:opacity .2s ease}.app-shell__backdrop.is-open{opacity:1;pointer-events:auto}.app-shell__mobile-bar{display:none}@media(max-width:960px){.app.app-shell{flex-direction:column}.app-sidebar{position:fixed;top:0;left:0;bottom:0;transform:translate(-100%);width:min(320px,calc(100vw - 40px));min-width:min(320px,calc(100vw - 40px));box-shadow:var(--app-shell-sidebar-shadow)}.app-sidebar--collapsed{width:min(320px,calc(100vw - 40px));min-width:min(320px,calc(100vw - 40px))}.app-sidebar--collapsed .app-sidebar__brand-copy,.app-sidebar--collapsed .app-sidebar__nav-label,.app-sidebar--collapsed .app-sidebar__profile-copy,.app-sidebar--collapsed .app-sidebar__logout-label{display:flex}.app-sidebar--collapsed .app-sidebar__nav-link,.app-sidebar--collapsed .app-sidebar__profile-link,.app-sidebar--collapsed .app-sidebar__logout-button{justify-content:flex-start;padding-left:12px;padding-right:12px}.app-sidebar--collapsed .app-sidebar__header{justify-content:space-between}.app-sidebar--mobile-open{transform:translate(0)}.app-sidebar__collapse-button,.app-sidebar__rail-toggle{display:none}.app-sidebar__mobile-close{display:inline-flex}.app-shell__main{width:100%}.app-shell__mobile-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;background:#f6f8fbf0;border-bottom:1px solid #d8dee7;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.app-shell__mobile-title-group{min-width:0;display:flex;flex-direction:column;gap:2px;flex:1}.app-shell__mobile-brand{font-size:.76rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#64748b}.app-env-badge--mobile{height:17px;font-size:.58rem}.app-shell__mobile-title{font-size:1rem;font-weight:700;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.app-sidebar__scope-flyout{left:0;top:calc(100% + 8px);width:100%;max-width:none}}.route-page{flex:1;min-height:0;overflow:auto;padding:20px}.route-page--workspace{padding:0}.page-card-grid{display:grid;gap:20px}.page-card-grid--split{grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr)}.page-card-grid--quarter{grid-template-columns:repeat(4,minmax(0,1fr))}.page-card{background:#fff;border:1px solid #d7dde4;border-radius:8px;box-shadow:0 1px 2px #0f172a0d;overflow:hidden}.page-card-header{padding:20px 24px;border-bottom:1px solid #e5e9ef}.page-card-header h1,.page-card-header h2,.page-card-header h3,.page-card-title{margin:0;color:#0f172a}.page-card-title{font-size:1.15rem;font-weight:600}.page-card-subtitle{margin:0 0 .4rem;font-size:.78rem;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:#64748b}.page-card-body{padding:24px}.page-card-body--flush{padding:0}.route-page:has(.billing-summary-grid)>.page-banner--success,.billing-page>.page-banner--success{display:none}.page-profile{display:flex;align-items:center;gap:16px}.page-avatar{display:inline-flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:999px;background:#dbe4f0;color:#2c3e50;font-size:1rem;font-weight:700;overflow:hidden}.page-avatar img{width:100%;height:100%;object-fit:cover}.page-profile-copy{min-width:0}.page-profile-name{margin:0;font-size:1.1rem;font-weight:600;color:#0f172a}.page-profile-email{margin:.35rem 0 0;color:#64748b}.page-definition-list{display:grid;gap:18px;grid-template-columns:repeat(2,minmax(0,1fr))}.page-definition-item dt{margin-bottom:6px;font-size:.8rem;font-weight:600;color:#64748b}.page-definition-item dd{margin:0;color:#0f172a;word-break:break-word}.page-list{display:flex;flex-direction:column}.page-list-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 24px;border-top:1px solid #e5e9ef}.page-list-row:first-child{border-top:none}.page-row-main{display:flex;align-items:center;gap:12px;min-width:0}.page-row-icon{width:18px;height:18px;color:#64748b;flex-shrink:0}.page-row-title{margin:0;color:#0f172a;font-weight:500}.page-row-meta{margin:4px 0 0;font-size:.82rem;color:#64748b}.page-button,.page-link-button{display:inline-flex;align-items:center;justify-content:center;padding:.6rem 1rem;border:1px solid #cbd5e1;border-radius:6px;background:#fff;color:#334155;font-size:.9rem;font-weight:600;text-decoration:none}.page-button:hover,.page-link-button:hover{background:#f8fafc;color:#0f172a}.page-button--danger{border-color:#fecaca;background:#fff7f7;color:#b91c1c}.page-button--danger:hover{border-color:#fca5a5;background:#fee2e2;color:#991b1b}.page-button:disabled{opacity:.65;cursor:not-allowed}.billing-button-primary{border-color:#0f172a;background:#0f172a;color:#fff;box-shadow:0 8px 18px #0f172a2e}.billing-button-primary:hover{background:#1e293b;color:#fff}.page-metric-grid{display:grid;gap:20px;grid-template-columns:repeat(4,minmax(0,1fr))}.page-metric-title{margin:0;font-size:.85rem;color:#64748b}.page-metric-value{margin:10px 0 0;font-size:1.15rem;font-weight:600;color:#0f172a}.page-state{display:flex;flex-direction:column;align-items:flex-start}.page-frame{min-height:100%;background:#fff;border:1px solid #d7dde4;border-radius:8px;overflow:hidden;box-shadow:0 1px 2px #0f172a0d}.page-empty{display:flex;align-items:center;justify-content:center}.page-empty .page-card{width:100%;max-width:520px}.page-empty-copy{padding:24px}.page-empty-copy p{margin:0 0 16px;color:#64748b}.page-banner{margin-bottom:16px;padding:12px 14px;border-radius:8px;font-size:.92rem;font-weight:500}.page-banner--success{background:#dcfce7;color:#166534}.page-banner--error{background:#fee2e2;color:#b91c1c}.page-help-text{margin:0;color:#64748b}.settings-companies-card{margin-top:20px}.settings-company-manager{display:grid;grid-template-columns:minmax(220px,.34fr) minmax(0,.66fr);gap:18px;min-width:0}.settings-company-pane,.settings-company-detail{min-width:0;border:1px solid #e5e9ef;border-radius:8px;background:#fff}.settings-company-pane{display:flex;flex-direction:column;overflow:hidden}.settings-company-list{flex:1;display:flex;flex-direction:column;min-height:0;overflow-y:auto}.settings-company-row{width:100%;min-width:0;display:flex;align-items:center;border-top:1px solid #eef2f7;background:#fff}.settings-company-row:first-child{border-top:none}.settings-company-row.is-selected{background:#f6f8fb}.settings-company-row__select{flex:1;min-width:0;padding:12px 14px;border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.settings-company-row__select>span{display:grid;gap:3px;min-width:0}.settings-company-row__select:hover{background:#f0f4f8}.settings-company-row__select .page-row-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.settings-company-row__select .page-row-meta{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.settings-company-add-row{min-height:64px;width:100%;display:flex;align-items:center;justify-content:center;padding:18px 14px;border:0;border-top:1px solid #eef2f7;background:transparent;color:#94a3b8;font:inherit;font-size:2.2rem;font-weight:700;line-height:1;cursor:pointer}.settings-company-add-row:hover:not(:disabled){background:#f8fafc;color:#475569}.settings-company-add-row:disabled{cursor:default}.settings-company-empty{margin:0;padding:18px 12px;color:#64748b;font-size:.9rem}.settings-company-detail{display:flex;flex-direction:column;gap:18px;padding:18px}.settings-company-detail-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;min-width:0}.settings-company-detail-title{margin:0;color:#0f172a;font-size:1.05rem;font-weight:700}.settings-company-detail-empty{display:flex;min-height:180px;align-items:center}.settings-modal-backdrop{position:fixed;inset:0;z-index:80;display:flex;align-items:center;justify-content:center;padding:20px;background:#0f172a6b}.settings-modal{width:min(420px,100%);padding:18px;border:1px solid #d7dde4;border-radius:8px;background:#fff;box-shadow:0 24px 60px #0f172a38}.settings-modal--wide{width:min(360px,100%)}.settings-modal-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.settings-modal-header h3{margin:0;color:#0f172a;font-size:1rem;font-weight:700}.settings-modal-close{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border:1px solid #cbd5e1;border-radius:6px;background:#fff;color:#334155;font-size:1rem;font-weight:700;line-height:1;cursor:pointer}.settings-modal-close:hover{background:#f8fafc;color:#0f172a}.settings-modal-form{display:grid;gap:18px}.settings-modal-actions{display:flex;justify-content:flex-end;gap:8px}.settings-year-picker{display:flex;flex-direction:column;max-height:280px;overflow-y:auto;border:1px solid #e5e9ef;border-radius:8px;background:#fff}.settings-year-option{min-height:42px;padding:0 14px;border:0;border-top:1px solid #eef2f7;background:#fff;color:#0f172a;font:inherit;font-size:.92rem;font-weight:700;text-align:left;cursor:pointer}.settings-year-option:first-child{border-top:none}.settings-year-option:hover:not(:disabled){background:#f8fafc}.settings-year-option:disabled{background:#f1f5f9;color:#94a3b8;cursor:not-allowed}.settings-fiscal-year-list{display:flex;flex-direction:column;border:1px solid #e5e9ef;border-radius:8px;background:#fff}.settings-fiscal-year-empty{padding:12px 14px;color:#64748b;font-size:.85rem}.settings-fiscal-year-row{display:flex;align-items:center;gap:10px;padding:10px 14px;border-top:1px solid #eef2f7}.settings-fiscal-year-row:first-child{border-top:none}.settings-fiscal-year-row.is-active{background:#f6f8fb}.settings-fiscal-year-row__name{font-size:.88rem;font-weight:700;color:#0f172a;min-width:52px}.settings-fiscal-year-row__date{width:130px;flex-shrink:0;height:32px;padding:0 8px;border:1px solid #d7dde4;border-radius:6px;background:#fff;color:#334155;font:inherit;font-size:.82rem}.settings-fiscal-year-row__date:hover:not(:disabled){border-color:#94a3b8}.settings-fiscal-year-row__date:focus{outline:none;border-color:#64748b;box-shadow:0 0 0 3px #64748b1f}.settings-fiscal-year-row__date:disabled{background:#f8fafc;color:#94a3b8;cursor:default}.settings-fiscal-year-row__sep{font-size:.8rem;color:#94a3b8;flex-shrink:0}.settings-fiscal-year-row__spacer{flex:1}.settings-fy-status-wrap{position:relative;flex-shrink:0}.settings-fy-status-btn{display:inline-flex;align-items:center;gap:4px;height:26px;padding:0 10px;border-radius:999px;border:1px solid;font:inherit;font-size:.75rem;font-weight:700;letter-spacing:.03em;cursor:pointer;white-space:nowrap}.settings-fy-status-btn.is-open{background:#dcfce7;border-color:#86efac;color:#166534}.settings-fy-status-btn.is-closed{background:#f1f5f9;border-color:#cbd5e1;color:#64748b}.settings-fy-status-btn:disabled{cursor:default}.settings-fiscal-year-remove{flex-shrink:0;height:30px;padding:0 10px;border:1px solid #fecaca;border-radius:6px;background:#fff7f7;color:#b91c1c;font:inherit;font-size:.78rem;font-weight:700;cursor:pointer}.settings-fiscal-year-remove:hover:not(:disabled){background:#fee2e2;color:#991b1b}.settings-fiscal-year-remove:disabled{cursor:default;opacity:.65}.settings-fy-status-dropdown{position:absolute;right:0;top:calc(100% + 5px);z-index:20;min-width:100px;border:1px solid #d7dde4;border-radius:8px;background:#fff;box-shadow:0 8px 24px #0f172a1f;overflow:hidden}.settings-fy-status-option{display:flex;align-items:center;width:100%;padding:9px 14px;border:0;background:transparent;color:#334155;font:inherit;font-size:.85rem;font-weight:500;text-align:left;cursor:pointer}.settings-fy-status-option+.settings-fy-status-option{border-top:1px solid #eef2f7}.settings-fy-status-option:hover{background:#f8fafc}.settings-fy-status-option.is-selected{font-weight:700;color:#0f172a}.settings-fiscal-year-row--add{min-height:60px;width:100%;justify-content:center;border:0;background:transparent;color:#94a3b8;font:inherit;font-size:2.2rem;font-weight:700;line-height:1;cursor:pointer}.settings-fiscal-year-row--add:hover:not(:disabled){background:#f8fafc;color:#475569}.settings-fiscal-year-row--add:disabled{cursor:default;opacity:.45}.settings-detail-section{display:flex;flex-direction:column;gap:8px}.settings-members-section{gap:12px}.settings-company-remove-section{align-items:flex-start;padding-top:4px}.settings-member-invite{display:grid;grid-template-columns:minmax(0,1fr) minmax(104px,auto) auto;gap:8px;align-items:center}.settings-member-invite input,.settings-member-invite select,.settings-member-actions select{min-height:38px;min-width:0;border:1px solid #cbd5e1;border-radius:6px;background:#fff;color:#0f172a;font:inherit;font-size:.9rem}.settings-member-invite input{padding:0 10px}.settings-member-invite select,.settings-member-actions select{padding:0 8px}.settings-member-list{display:grid;gap:8px}.settings-member-list .page-list-row{gap:12px;border:1px solid #e5e9ef;border-radius:8px}.settings-member-invite--inline{grid-template-columns:minmax(0,1fr) minmax(104px,auto) auto auto;margin-top:4px}.settings-member-add-row{min-height:60px;display:flex;align-items:center;justify-content:center;padding:18px 14px;border:1px solid #e5e9ef;border-radius:8px;background:transparent;color:#94a3b8;font:inherit;font-size:2.2rem;font-weight:700;line-height:1;cursor:pointer}.settings-member-add-row:hover{background:#f8fafc;color:#475569}.settings-member-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.settings-member-actions .page-button{width:auto}.billing-summary-grid{display:grid;gap:20px;grid-template-columns:repeat(2,minmax(0,1fr))}.billing-summary-card{min-height:220px}.billing-summary-card-body{display:flex;min-height:220px;flex-direction:column;justify-content:space-between}.billing-summary-value{margin:0;font-size:2rem;line-height:1.1;color:#0f172a}.billing-summary-value-row{display:flex;align-items:center;gap:10px}.billing-summary-note{margin:12px 0 0;color:#475569}.billing-summary-meta{margin:6px 0 0;font-size:.84rem;color:#64748b}.billing-tooltip{position:relative;margin-top:10px;display:inline-flex}.billing-tooltip-trigger{padding:0;border:none;background:transparent;color:#475569;font:inherit;font-size:.84rem;font-weight:600;text-decoration:underline;cursor:pointer}.billing-tooltip-trigger--icon{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;color:#64748b}.billing-tooltip-icon{width:18px;height:18px}.billing-tooltip-menu{position:absolute;top:calc(100% + 10px);left:0;min-width:180px;width:max-content;max-width:280px;padding:10px 12px;border:1px solid #d7dde4;border-radius:8px;background:#fff;box-shadow:0 12px 28px #0f172a24;opacity:0;pointer-events:none;transform:translateY(-4px);transition:opacity .16s ease,transform .16s ease;z-index:20}.billing-tooltip:hover .billing-tooltip-menu,.billing-tooltip:focus-within .billing-tooltip-menu{opacity:1;pointer-events:auto;transform:translateY(0)}.billing-tooltip-line{margin:0;color:#0f172a;font-size:.84rem;white-space:nowrap}.billing-tooltip-line+.billing-tooltip-line{margin-top:6px}.billing-card-footer{display:flex;gap:12px;flex-wrap:wrap;justify-content:flex-end}.billing-card-footer .page-button{width:140px}.billing-table-wrap{width:100%;overflow-x:auto}.billing-table{width:100%;border-collapse:collapse}.billing-table th,.billing-table td{padding:16px 24px;border-top:1px solid #e5e9ef;text-align:left;white-space:nowrap}.billing-table th{font-size:.8rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:#64748b;background:#f8fafc}.billing-table td{color:#0f172a}.billing-table-link{color:#0f172a;font-weight:600;text-decoration:none}.billing-table-link:hover{text-decoration:underline}.billing-plans-grid{display:grid;gap:20px;grid-template-columns:repeat(3,minmax(0,1fr))}.billing-plan-card{display:grid;gap:16px;padding:20px;border:1px solid #d7dde4;border-radius:8px;background:#f8fafc;position:relative;min-height:580px}.billing-plan-card--featured{border-color:#0f172a;background:#eef4ff;box-shadow:0 10px 30px #0f172a14}.billing-plan-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:-2px}.billing-plan-badge{margin:0;display:inline-flex;width:fit-content;padding:6px 10px;border-radius:999px;background:#0f172a;color:#fff;font-size:.75rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase}.billing-plan-name,.billing-plan-price,.billing-plan-meta{margin:0}.billing-plan-name{font-size:1rem;font-weight:600;color:#0f172a;flex:1}.billing-plan-price{font-size:2.1rem;font-weight:600;color:#0f172a;margin-top:2px;line-height:1}.billing-credit-card{gap:12px;min-height:360px;align-content:start;grid-template-rows:auto auto auto 1fr auto}.billing-credit-card .billing-plan-header{margin-bottom:0}.billing-credit-card .billing-plan-price{margin-top:0}.billing-credit-card .page-button{width:min(220px,100%);justify-self:center;align-self:end;margin-top:auto}.billing-credit-unit-price{margin:0;color:#475569;font-size:.98rem;font-weight:600}.billing-credit-info{margin-top:0;min-height:0;display:flex;align-items:flex-start}.billing-plan-meta{color:#64748b}.billing-plan-description{margin:0;color:#475569}.billing-feature-list{margin:0;padding-left:18px;color:#0f172a}.billing-feature-list li+li{margin-top:6px}.billing-feature-list--comparison{list-style:none;padding-left:0;margin-top:18px}.billing-feature-item{display:flex;align-items:flex-start;gap:10px;padding:7px 0}.billing-feature-item--limit{align-items:center}.billing-feature-item--limit span{min-width:0;flex:1}.billing-feature-item--limit strong{flex-shrink:0;width:4.5ch;color:#0f172a;font-size:.9rem;font-weight:700;font-variant-numeric:tabular-nums;text-align:center}.billing-feature-item--included{color:#0f172a}.billing-feature-item--excluded{color:#94a3b8}.billing-feature-icon{width:16px;height:16px;flex-shrink:0;margin-top:2px}.billing-feature-item--included .billing-feature-icon{color:#166534}.billing-feature-item--excluded .billing-feature-icon{color:#b91c1c}.billing-plan-action{margin-top:auto;padding-top:14px;display:flex;justify-content:center}.billing-plan-action .page-button{width:min(220px,100%)}.billing-plans-footer{margin-top:20px;display:flex;justify-content:flex-end}.page-form{display:grid;gap:18px}.page-form-field{display:grid;gap:8px;color:#0f172a;font-weight:600}.page-form-field select,.page-form-field input,.page-form-field textarea{width:100%;padding:.75rem .85rem;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#0f172a;font:inherit}.page-form-field select:focus,.page-form-field input:focus,.page-form-field textarea:focus{outline:none;border-color:#60a5fa;box-shadow:0 0 0 3px #60a5fa2e}@media(max-width:1100px){.billing-summary-grid,.billing-plans-grid,.page-card-grid--split,.page-card-grid--quarter,.page-metric-grid{grid-template-columns:1fr}}@media(max-width:768px){.route-page{padding:16px}.page-definition-list{grid-template-columns:1fr}.page-list-row{flex-direction:column;align-items:stretch}.page-button,.page-link-button{width:100%}.settings-company-manager{grid-template-columns:1fr}.settings-modal-actions{flex-direction:column-reverse}.settings-year-picker{max-height:240px}}.configuration-view{height:100%;width:100%;display:flex;flex-direction:column;background:#fff;overflow:hidden}.config-header{display:flex;justify-content:space-between;align-items:center;padding:24px 32px;border-bottom:2px solid #e1e5e9;background:#f8f9fa}.config-header h2{margin:0;font-size:24px;font-weight:600;color:#2c3e50}.close-button{background:transparent;border:none;font-size:24px;color:#6c757d;cursor:pointer;padding:8px;line-height:1;transition:color .2s;border-radius:4px}.close-button:hover{color:#2c3e50;background:#0000000d}.config-content{flex:1;overflow-y:auto;padding:32px}.loading-state{display:flex;align-items:center;justify-content:center;padding:60px 20px;color:#6c757d;font-size:16px}.config-message{padding:12px 16px;border-radius:6px;margin-bottom:24px;font-size:14px;font-weight:500}.config-message.success{background:#d4edda;color:#155724;border:1px solid #c3e6cb}.config-message.error{background:#f8d7da;color:#721c24;border:1px solid #f5c6cb}.config-message.info{background:#d1ecf1;color:#0c5460;border:1px solid #bee5eb}.config-section{margin-bottom:40px}.config-section h3{margin:0 0 20px;font-size:18px;font-weight:600;color:#2c3e50;padding-bottom:12px;border-bottom:1px solid #e1e5e9}.config-field{margin-bottom:24px}.config-field--disabled{opacity:.62}.config-field label{display:block;font-size:14px;font-weight:600;color:#495057;margin-bottom:8px}.config-field input[type=text],.config-field input[type=password],.config-field input[type=number],.config-field select{width:100%;max-width:600px;padding:10px 12px;font-size:14px;border:1px solid #ced4da;border-radius:4px;background:#fff;color:#495057;transition:border-color .2s,box-shadow .2s}.model-select{font-weight:600;font-size:15px;padding:12px 14px}.config-field select:disabled{background:#f1f3f5;color:#8a949e;cursor:not-allowed}.cloud-settings{margin-top:24px;padding:20px;background:#f8f9fa;border-radius:8px;border:1px solid #e1e5e9}.local-model-info{margin-top:20px;padding:16px;background:#e7f3ff;border-radius:6px;border-left:4px solid #007bff}.local-model-info p{margin:0;color:#004085;font-size:14px;font-weight:500}.config-field input[type=text]:focus,.config-field input[type=password]:focus,.config-field input[type=number]:focus,.config-field select:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 3px #007bff1a}.config-field input[type=number]{max-width:150px}.field-description{display:block;font-size:12px;color:#6c757d;margin-top:6px;font-style:italic}.checkbox-field{margin-bottom:16px}.checkbox-field label{display:flex;align-items:center;font-weight:400;cursor:pointer}.checkbox-field input[type=checkbox]{width:18px;height:18px;margin-right:10px;cursor:pointer}.checkbox-field label span{font-size:14px;color:#495057}.config-footer{padding:20px 32px;border-top:2px solid #e1e5e9;background:#f8f9fa;display:flex;justify-content:space-between;align-items:center}.footer-actions{display:flex;gap:12px}.btn-primary,.btn-secondary,.btn-cancel{padding:10px 20px;font-size:14px;font-weight:600;border:none;border-radius:6px;cursor:pointer;transition:all .2s}.btn-primary{background:#007bff;color:#fff}.btn-primary:hover:not(:disabled){background:#0056b3}.btn-primary:disabled{background:#6c757d;cursor:not-allowed;opacity:.6}.btn-secondary{background:#6c757d;color:#fff}.btn-secondary:hover:not(:disabled){background:#545b62}.btn-cancel{background:#fff;color:#6c757d;border:1px solid #ced4da}.btn-cancel:hover:not(:disabled){background:#f8f9fa}@media(max-width:768px){.config-header,.config-content,.config-footer{padding-left:20px;padding-right:20px}.config-footer{flex-direction:column;align-items:stretch;gap:12px}.footer-actions{justify-content:stretch}.btn-primary,.btn-secondary,.btn-cancel{width:100%}}.document-recognition-view{height:100%;width:100%;display:flex;flex-direction:column;overflow:hidden}.view-content{flex:1;display:flex;overflow:hidden;min-height:0;width:100%}.view-left-panel{min-width:240px;background:#fff;border-right:1px solid #e1e5e9;display:flex;flex-direction:column;overflow:hidden}.view-main-stage{flex:1 1 auto;min-width:0;display:flex;overflow:hidden;background:#eef2f7}.view-results-panel{flex:1 1 auto;min-width:360px;background:#fff;display:flex;overflow:hidden}.view-review-shell{flex:0 0 auto;min-width:0;min-height:0;display:flex;overflow:hidden;border-left:1px solid #d6dee8;background:linear-gradient(180deg,#f5f8fc,#eaf0f6)}.view-review-rail{width:24px;min-width:24px;display:flex;align-items:center;justify-content:center}.view-review-toggle{width:24px;height:48px;background:transparent;border:none;border-radius:0;color:#5b6c7d;transition:color .2s ease,opacity .2s ease;opacity:.82}.view-review-toggle:hover{background:transparent;color:#233245;opacity:1}.view-review-toggle:focus-visible{outline:2px solid #3b82f6;outline-offset:4px;border-radius:8px;opacity:1}.view-review-panel-host{display:flex;min-width:0;min-height:0}.view-review-panel{min-width:340px;height:100%;display:flex;flex-direction:column;overflow:hidden}.view-review-stack{height:100%;min-height:0;display:flex;flex-direction:column;background:#f5f6fa}.pdf-preview-section{min-height:300px;overflow:hidden;border-bottom:1px solid #d8e1eb}.field-editor-section{flex:1;min-height:220px;overflow:hidden}@media(max-width:1200px){.view-results-panel{min-width:280px}.view-review-panel{min-width:320px}}@media(max-width:768px){.view-content{flex-direction:column}.view-left-panel{width:100%;min-width:auto;max-width:none;height:220px}.view-main-stage{flex:1;flex-direction:column}.view-results-panel{width:100%;min-width:auto;max-width:none;min-height:280px}.view-review-shell{width:100%;border-left:none;border-top:1px solid #d6dee8;flex-direction:column}.view-review-rail{width:100%;min-width:0;height:44px}.view-review-toggle{width:56px;height:24px}.view-review-toggle .collapse-rail-button__icon{transform:rotate(90deg)}.view-review-panel-host,.view-review-panel{width:100%!important;min-width:0}.view-review-panel .resizable-panel__edge--left{display:none}}@media(max-width:480px){.view-left-panel{height:150px}.view-results-panel{min-height:220px}.view-review-toggle{width:48px}}.resizable-panel{position:relative;min-width:0;min-height:0}.resizable-panel__edge{position:absolute;z-index:20}.resizable-panel__edge--right{top:0;right:-4px;width:8px;height:100%;cursor:ew-resize}.resizable-panel__edge--left{top:0;left:-4px;width:8px;height:100%;cursor:ew-resize}.resizable-panel__edge--bottom{left:0;bottom:-4px;width:100%;height:8px;cursor:ns-resize}.resizable-panel__edge--top{left:0;top:-4px;width:100%;height:8px;cursor:ns-resize}.resizable-panel__edge:before{content:"";position:absolute;background:#94a3b86b;transition:background .18s ease}.resizable-panel__edge--right:before,.resizable-panel__edge--left:before{top:0;bottom:0;left:3px;width:2px;border-radius:999px}.resizable-panel__edge--bottom:before,.resizable-panel__edge--top:before{left:0;right:0;top:3px;height:2px;border-radius:999px}.resizable-panel:hover>.resizable-panel__edge:before,.resizable-panel--active>.resizable-panel__edge:before,.resizable-panel__edge:hover:before{background:#2563ebbf}.left-panel{display:flex;flex-direction:column;height:100%;background:#f5f6fa;overflow:hidden;padding:1rem;gap:1rem}.upload-section{display:flex;flex-direction:column;gap:.65rem;flex-shrink:0;min-height:172px;position:relative;background:#fff;border:1px solid #dde4ee;border-radius:12px;padding:.75rem;overflow:hidden}.upload-dropzone{flex:1 1 auto;border:2px dashed #cbd5e0;border-radius:8px;padding:.85rem .75rem;text-align:center;background:#fff;cursor:pointer;transition:all .3s ease;min-height:82px}.upload-dropzone:hover{border-color:#4299e1;background:#ebf8ff}.upload-dropzone[aria-disabled=true],.upload-dropzone[aria-disabled=true]:hover{border-color:#d8dee7;background:#f8fafc;cursor:default}.upload-dropzone.drag-over{border-color:#3182ce;background:#bee3f8;transform:scale(1.02)}.upload-icon{font-size:1.5rem;margin-bottom:.35rem}.upload-text{color:#4a5568;font-size:.82rem;line-height:1.35}.upload-progress{display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:.65rem;min-height:54px;background:#f7fbfb;border:1px solid #b8e0dc;border-radius:6px;padding:.5rem .6rem;color:#234e52}.upload-progress-ring{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;position:relative;flex:0 0 auto}.upload-progress-ring:before{content:"";position:absolute;inset:0;border-radius:inherit}.upload-progress-ring:after{content:"";position:absolute;inset:7px;border-radius:inherit;background:#f7fbfb}.upload-progress-ring.indeterminate:before{background:conic-gradient(#19a9b0 0deg 88deg,#d8dde3 88deg 360deg);animation:upload-ring-spin .95s linear infinite}.upload-progress-ring.complete:before{background:#19a9b0}.upload-progress-copy{min-width:0}.upload-progress-title{font-size:.82rem;font-weight:700;color:#1f4d55;line-height:1.25}.upload-progress-meta{margin-top:.12rem;color:#62707c;font-size:.76rem;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@keyframes upload-ring-spin{to{transform:rotate(360deg)}}.tab-section{display:flex;gap:.15rem;background:#fff;padding:.25rem;border-radius:6px;overflow-x:auto;flex-shrink:0}.tab-button{flex:1;padding:.5rem .35rem;border:none;background:transparent;color:#4a5568;font-size:.75rem;font-weight:500;cursor:pointer;border-radius:4px;transition:all .2s;white-space:nowrap}.tab-button:hover{background:#edf2f7}.tab-button.active{background:#4299e1;color:#fff}.file-list-section{flex:1 1 auto;min-height:0;background:#fff;border-radius:6px;padding:.75rem;overflow-y:auto}.document-search{display:flex;flex-direction:column;gap:.35rem;margin-bottom:.75rem}.document-search-label{color:#5b677a;font-size:.72rem;font-weight:700;letter-spacing:.04em;line-height:1.1;text-transform:uppercase}.document-search-input{width:100%;min-height:2.25rem;border:1px solid #d7e0ea;border-radius:5px;background:#f8fafc;color:#273244;font:inherit;font-size:.86rem;line-height:1.2;padding:.48rem .65rem;outline:none}.document-search-input:focus{background:#fff;border-color:#5f9be8;box-shadow:0 0 0 3px #5f9be829}.document-search-input:disabled{color:#94a3b8;cursor:not-allowed}.suggestion-banner{display:flex;align-items:center;justify-content:space-between;gap:.6rem;margin-bottom:.7rem;padding:.65rem;border:1px solid #f7c46c;border-radius:6px;background:#fff8e8;color:#704b10;font-size:.8rem;line-height:1.25}.suggestion-actions{display:flex;gap:.35rem;flex-shrink:0}.suggestion-actions button{border:1px solid #ddb15e;border-radius:4px;background:#fff;color:#704b10;font-size:.72rem;font-weight:700;padding:.32rem .45rem;cursor:pointer}.suggestion-actions button:hover:not(:disabled){background:#ffeac0}.suggestion-actions button:disabled{opacity:.6;cursor:wait}.suggestion-modal-backdrop{position:fixed;inset:0;z-index:80;display:flex;align-items:center;justify-content:center;padding:1rem;background:#0f172a47}.suggestion-modal{position:relative;width:min(420px,100%);max-height:72vh;display:flex;flex-direction:column;gap:.9rem;background:#fff;border:1px solid #d9e0ea;border-radius:8px;box-shadow:0 14px 36px #0f172a29;padding:1.1rem}.suggestion-modal-header{padding-right:2.4rem}.suggestion-modal-kicker{margin-bottom:.35rem;color:#7c580f;font-size:.67rem;font-weight:700;letter-spacing:.08em;line-height:1.1;text-transform:uppercase}.suggestion-modal h2{margin:0;color:#202938;font-size:1.18rem;font-weight:700;line-height:1.25}.suggestion-modal-close{position:absolute;top:.85rem;right:.85rem;width:1.9rem;height:1.9rem;display:grid;place-items:center;border:0;border-radius:5px;background:transparent;color:#607086;cursor:pointer;font-size:1.35rem;line-height:1;padding:0}.suggestion-modal-close:hover{background:#edf2f7;color:#273244}.suggestion-modal-copy{margin:0;color:#4b5870;font-size:.9rem;line-height:1.35}.suggestion-modal-list{display:flex;flex-direction:column;gap:.15rem;max-height:34vh;overflow-y:auto;padding:0;border:0;border-radius:0;background:transparent}.suggestion-modal-file{display:flex;align-items:center;justify-content:space-between;gap:.9rem;min-height:2.3rem;padding:.25rem 0;color:#283446;font-size:.88rem;font-weight:500;line-height:1.25;overflow-wrap:anywhere}.suggestion-modal-file-name{min-width:0;flex:1}.suggestion-modal-file+.suggestion-modal-file{margin-top:.1rem}.suggestion-choice{display:inline-flex;align-items:center;flex-shrink:0;gap:.25rem;color:#64748b;font-size:.78rem;font-weight:700}.suggestion-choice-word{position:relative;border:0;background:transparent;color:#475569;cursor:pointer;font:inherit;line-height:1;padding:.25rem .12rem}.suggestion-choice-word:after{content:"";position:absolute;left:.12rem;right:.12rem;bottom:.05rem;height:1px;background:transparent}.suggestion-choice-word:hover:not(:disabled){color:#1f2937}.suggestion-choice-word:hover:not(:disabled):after{background:#1f2937}.suggestion-choice-word:disabled{cursor:wait}.suggestion-choice-divider{color:#cbd5e1;font-weight:600}.suggestion-modal-actions{display:flex;justify-content:flex-end;gap:.6rem;padding-top:.2rem}.suggestion-modal-button{min-height:2.25rem;border-radius:5px;padding:.5rem .85rem;border:1px solid transparent;cursor:pointer;font-size:.82rem;font-weight:700}.suggestion-modal-button:disabled{opacity:.6;cursor:wait}.suggestion-modal-button--secondary{background:#fff;border-color:#cbd5e1;color:#334155}.suggestion-modal-button--secondary:hover:not(:disabled){background:#f1f5f9}.suggestion-modal-button--primary{background:#233245;color:#fff}.suggestion-modal-button--primary:hover:not(:disabled){background:#334a66}.loading,.empty-state{text-align:center;color:#718096;padding:2rem 1rem;font-size:.9rem}.file-list{display:flex;flex-direction:column;gap:.5rem}.file-item{display:flex;align-items:center;gap:.5rem;padding:.75rem;background:#f7fafc;border:1px solid #e2e8f0;border-radius:4px;cursor:pointer;transition:all .2s}.file-item:hover{background:#edf2f7;border-color:#cbd5e0;transform:translate(2px)}.file-item.selected{background:#dbeafe;border-color:#60a5fa;box-shadow:inset 3px 0 #2563eb}.file-icon{font-size:1.2rem;flex-shrink:0}.file-name{flex:1;font-size:.9rem;color:#2d3748;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.suggested-marker{display:block;margin-top:.18rem;color:#9a5d00;font-size:.68rem;font-weight:700;line-height:1.15}.file-actions{display:flex;gap:.35rem;flex-shrink:0}.file-action-button{border:none;border-radius:4px;padding:.25rem .5rem;cursor:pointer;font-size:.75rem;font-weight:600;transition:all .2s}.file-action-button:disabled{opacity:.6;cursor:wait}.file-action-button--stop{background:#fde68a;color:#92400e}.file-action-button--stop:hover:not(:disabled){background:#fcd34d}.file-action-button--run{min-width:1.9rem;padding:.25rem .45rem;background:#dbeafe;color:#1d4ed8;font-size:.9rem;line-height:1}.file-action-button--run:hover:not(:disabled){background:#bfdbfe}.file-action-button--delete{background:#fecaca;color:#991b1b}.file-action-button--delete:hover:not(:disabled){background:#fca5a5}.controls-section{display:flex;gap:.5rem;flex-shrink:0}.left-panel-error{background:#fff1f2;border:1px solid #fecdd3;color:#9f1239;border-radius:8px;padding:.55rem .7rem;font-size:.78rem;line-height:1.35}.btn-process,.btn-cancel{flex:1;padding:.75rem 1rem;border:none;border-radius:6px;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .2s}.btn-process{background:#48bb78;color:#fff}.btn-process:hover:not(:disabled){background:#38a169}.btn-process:disabled{background:#cbd5e0;color:#a0aec0;cursor:not-allowed}.btn-cancel{background:#fc8181;color:#fff}.btn-cancel:hover:not(:disabled){background:#f56565}.btn-cancel:disabled{background:#cbd5e0;color:#a0aec0;cursor:not-allowed}.status-section{position:relative;background:#fff;border-radius:12px;padding:.45rem .5rem;flex-shrink:0;min-height:72px;overflow:hidden;border:1px solid #dde4ee;display:flex;align-items:center}.status-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:.35rem;width:100%}.stat-item{display:flex;flex-direction:column-reverse;align-items:center;justify-content:center;gap:.22rem;min-width:0;min-height:48px;padding:.35rem .4rem;background:#fbfcfe;border:1px solid #e7edf5;border-radius:12px}.stat-item--processed{background:#f7fcf8;border-color:#d7f2de}.stat-item--failed{background:#fff8f8;border-color:#f8d7d7}.stat-label{font-size:.6rem;color:#64748b;font-weight:600;letter-spacing:.03em;text-transform:uppercase;white-space:nowrap;line-height:1}.stat-value{font-size:1rem;font-weight:600;color:#334155;line-height:1}.stat-item--processed .stat-value{color:#166534}.stat-item--failed .stat-value{color:#b91c1c}@media(max-width:768px){.left-panel{padding:.5rem}.upload-dropzone{padding:.85rem .5rem}.status-stats{grid-template-columns:repeat(3,1fr)}.suggestion-banner{align-items:stretch;flex-direction:column}.suggestion-modal-actions{flex-direction:column-reverse}.suggestion-modal-button{width:100%}}.pdf-viewer{height:100%;display:flex;flex-direction:column;background:#f5f6fa;min-width:0;min-height:0}.pdf-viewer-header{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;background:#fff;border-bottom:1px solid #e1e5e9;gap:12px;min-height:44px}.file-title-stack{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.file-title{margin:0;font-size:14px;font-weight:600;color:#2c3e50;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.file-size-meta{color:#7a8699;font-size:11px;font-weight:600;line-height:1}.pdf-controls{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;flex-shrink:0}.control-group{display:flex;align-items:center;background:#fff;border:1px solid #d8dee7;border-radius:8px;overflow:hidden}.control-btn{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border:none;border-right:1px solid #e1e5e9;background:transparent;cursor:pointer;font-size:11px;color:#495057;transition:all .2s}.control-btn:hover:not(:disabled){background:#f5f7fb;color:#2c3e50}.control-btn:last-child{border-right:none}.control-btn:focus-visible,.toolbar-text-btn:focus-visible{outline:none;box-shadow:inset 1px 1px #3b82f6,inset -1px 0 #3b82f6,inset 0 1px #3b82f6}.control-btn:disabled{opacity:.5;cursor:not-allowed;color:#9aa0a6}.page-info{display:flex;align-items:center;min-width:56px;height:28px;padding:0 10px;border-right:1px solid #e1e5e9;font-size:12px;font-weight:600;color:#495057;justify-content:center}.zoom-controls{flex-shrink:0}.zoom-level{display:flex;align-items:center;justify-content:center;min-width:52px;height:28px;padding:0 10px;border-right:1px solid #e1e5e9;text-align:center;font-size:12px;font-weight:600;color:#495057}.toolbar-text-btn{height:28px;padding:0 8px;border:none;background:transparent;border-radius:6px;cursor:pointer;font-size:12px;font-weight:500;color:#6c757d;transition:background .2s ease,color .2s ease}.toolbar-text-btn:hover{background:#eef2f7;color:#2c3e50}.reset-btn{flex-shrink:0}.pdf-viewer-meta{padding:8px 12px 0;background:#fff}.pdf-viewer-content{flex:1;display:flex;align-items:flex-start;justify-content:flex-start;position:relative;overflow:hidden;min-width:0;min-height:0}.pdf-viewer-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;text-align:center;color:#6c757d;padding:40px}.pdf-viewer-empty h3{margin:0 0 8px;font-size:18px;color:#495057}.pdf-viewer-empty p{margin:0;font-size:14px;color:#6c757d}.pdf-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:40px;color:#6c757d}.spinner{width:32px;height:32px;border:3px solid #e9ecef;border-top:3px solid #007bff;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.page-loading{display:flex;align-items:center;justify-content:center;padding:20px;color:#6c757d;font-size:14px}.pdf-error{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;text-align:center;color:#dc3545;padding:40px}.pdf-error h3{margin:0 0 8px;font-size:18px;color:#dc3545}.pdf-error p{margin:0 0 16px;font-size:14px;color:#6c757d}.retry-btn{padding:8px 16px;border:1px solid #dc3545;background:#fff;color:#dc3545;border-radius:4px;cursor:pointer;font-size:14px;transition:all .2s}.retry-btn:hover{background:#dc3545;color:#fff}.pdf-document-container{flex:1;width:100%;height:100%;overflow:auto;overscroll-behavior:none;-webkit-overflow-scrolling:touch;touch-action:pan-x pan-y pinch-zoom;padding:16px;box-sizing:border-box;min-width:0;min-height:0}.pdf-document-container:hover{cursor:grab}.pdf-document-container--panning{cursor:grabbing}.pdf-document-container:hover .pdf-document-stage,.pdf-document-container:hover .pdf-page,.pdf-document-container:hover .pdf-page canvas,.pdf-document-container--panning .pdf-document-stage,.pdf-document-container--panning .pdf-page,.pdf-document-container--panning .pdf-page canvas{cursor:inherit}.pdf-document-stage{display:inline-flex;justify-content:flex-start;align-items:flex-start;width:fit-content;min-width:100%}.pdf-page{flex:0 0 auto;box-shadow:0 4px 8px #0000001a;border-radius:4px;overflow:hidden;background:#fff}.pdf-page canvas{display:block;max-width:none;height:auto}@media(max-width:768px){.pdf-viewer-header{flex-direction:column;align-items:stretch;gap:8px}.pdf-controls{justify-content:flex-start}.file-title{font-size:14px}.pdf-document-container{padding:12px}.control-btn{width:28px;height:28px;font-size:11px}}@media(max-width:480px){.pdf-viewer-header{padding:8px 10px}.pdf-controls{gap:6px}.page-info,.zoom-level{min-width:0;padding:0 8px}}.preprocessing-info{padding:10px 12px;background:#f8f9fa;border:1px solid #e1e5e9;border-radius:6px;font-size:13px}.preprocessing-badge{display:flex;align-items:center;gap:8px;margin-bottom:6px}.preprocessing-icon{font-size:16px}.preprocessing-text{flex:1;color:#2c3e50;font-weight:500}.preprocessing-confidence{padding:2px 6px;background:#e7f3ff;color:#06c;border-radius:4px;font-size:11px;font-weight:600}.preprocessing-reasoning{margin-top:6px;padding:6px 8px;background:#fff;border-left:3px solid #0066cc;color:#6c757d;font-size:12px;font-style:italic;border-radius:2px}.splits-summary{margin-top:10px;padding-top:10px;border-top:1px solid #e1e5e9}.splits-header{font-weight:600;color:#495057;margin-bottom:6px;font-size:12px}.split-item{display:flex;align-items:center;gap:8px;padding:6px 8px;background:#fff;border:1px solid #e1e5e9;border-radius:4px;margin-bottom:4px;font-size:12px}.split-index{font-weight:600;color:#007bff;min-width:24px}.split-pages{color:#6c757d;min-width:70px}.split-vendor{flex:1;color:#495057;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.split-total{font-weight:600;color:#28a745;min-width:80px;text-align:right}.split-status{min-width:20px;text-align:center;font-size:14px}.split-status.success{color:#28a745}.split-status.error{color:#dc3545}.extracted-data-panel{display:flex;flex-direction:column;height:100%;width:100%;min-width:0;overflow:hidden;background:#fff}.results-header{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;min-width:0;padding:22px 20px 14px;border-bottom:1px solid #e2e8f0;background:#f8fafc}.results-header h2{margin:0;font-size:18px;font-weight:700;color:#1f2937}.results-header-subtitle{margin:4px 0 0;color:#64748b;font-size:.8rem}.results-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end;min-width:0}.bulk-selection-actions{display:inline-flex;align-items:center;gap:8px;min-height:42px}.bulk-selection-count{color:#475569;font-size:.88rem;font-weight:700;white-space:nowrap}.export-menu-shell{position:relative}.export-popover{position:absolute;top:calc(100% + 10px);right:0;z-index:20;width:min(320px,calc(100vw - 40px));border:1px solid #dbe3ee;border-radius:16px;background:#fff;box-shadow:0 20px 40px #0f172a29,0 4px 10px #0f172a14;overflow:hidden}.export-popover-header{display:flex;flex-direction:column;gap:4px;padding:16px 18px 14px;border-bottom:1px solid #e2e8f0;background:linear-gradient(180deg,#f8fafc,#f1f5f9)}.export-popover-header strong{color:#0f172a;font-size:.97rem}.export-popover-header span{color:#64748b;font-size:.85rem;line-height:1.4}.export-popover-options{padding:8px}.export-popover-option{display:grid;grid-template-columns:96px 1fr;align-items:center;gap:12px;width:100%;padding:12px 14px;border:none;border-radius:12px;background:transparent;color:#334155;text-align:left;cursor:pointer;transition:background .18s ease,transform .18s ease}.export-popover-option:hover{background:#f8fafc}.export-popover-option:focus,.export-popover-option:focus-visible{outline:none;background:#eff6ff}.export-popover-option:disabled{opacity:.5;cursor:not-allowed}.export-popover-option-label{color:#0f172a;font-size:.92rem;font-weight:800;letter-spacing:.02em}.export-popover-option-description{color:#64748b;font-size:.9rem}.results-action-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:0 16px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;color:#475569;font-size:.95rem;font-weight:700;cursor:pointer;transition:all .2s ease}.icon-action-button{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;padding:0;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#64748b;cursor:pointer;transition:background-color .16s ease,border-color .16s ease,color .16s ease}.icon-action-button:hover{border-color:#94a3b8;background:#f8fafc;color:#0f172a}.icon-action-button--danger{color:#b91c1c}.icon-action-button--danger:hover{border-color:#fecaca;background:#fef2f2;color:#991b1b}.results-action-button:hover:not(:disabled){border-color:#94a3b8;background:#f8fafc}.results-action-button:disabled{opacity:.6;cursor:not-allowed}.results-action-button--ghost{cursor:pointer}.results-action-button--ghost.is-active{border-color:#60a5fa;background:#eff6ff;color:#2563eb}.result-tabs-bar{position:relative;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;min-width:0;padding:14px 20px 0;border-bottom:1px solid #dbe3ee;background:#f8fafc}.confidence-legend{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-left:auto}.confidence-legend--probe{position:absolute;top:0;left:-9999px;flex-wrap:nowrap;width:max-content;visibility:hidden;pointer-events:none}.summary-chip{display:inline-flex;align-items:center;min-height:34px;padding:0 14px;border-radius:999px;background:#e2e8f0;color:#64748b;font-size:.95rem;font-weight:700}.summary-chip--failed{background:#fee2e2;color:#ef4444}.legend-item{display:inline-flex;align-items:center;gap:6px;color:#4b5563;font-size:.95rem;font-weight:600}.legend-item--probe:after{content:attr(data-label)}.legend-swatch{width:14px;height:14px;border-radius:3px;border:1px solid rgba(148,163,184,.4)}.legend-swatch--high{background:#d1fae5}.legend-swatch--medium{background:#fef3c7}.legend-swatch--low{background:#fee2e2}.legend-swatch--manual{background:#bfe7c8}.result-tabs{display:flex;align-items:flex-end;gap:0;flex-wrap:wrap;min-width:0}.result-tabs--probe{position:absolute;top:0;left:-9999px;flex-wrap:nowrap;width:max-content;visibility:hidden;pointer-events:none}.results-view-label{display:inline-flex;align-items:center;min-height:38px;padding:0 2px 10px;color:#0f172a;font-size:.98rem;font-weight:800;letter-spacing:-.01em}.results-view-label--probe{position:absolute;top:0;left:-9999px;width:max-content;visibility:hidden;pointer-events:none}.result-tab{position:relative;display:inline-flex;align-items:center;min-height:38px;margin-bottom:-1px;padding:0 18px;border:1px solid #dbe3ee;border-bottom:none;border-radius:10px 10px 0 0;background:linear-gradient(180deg,#eef2f6,#e6ebf2);color:#475569;font-size:.92rem;font-weight:700;cursor:pointer;box-shadow:inset 0 1px #ffffffb8;transition:background .18s ease,color .18s ease,border-color .18s ease}.result-tab--probe-item{cursor:default}.result-tab:hover{background:linear-gradient(180deg,#f4f7fb,#ebf0f6);color:#334155}.result-tab.active{z-index:3;background:#fff;border-color:#dbe3ee;color:#0f172a;box-shadow:inset 0 1px #ffffffeb}.result-tab:focus{outline:none}.result-tab:focus-visible{outline:none;box-shadow:inset 1px 0 #94a3b852,inset -1px 0 #94a3b852,inset 0 1px #94a3b852}.result-tab:active{background:#fff;box-shadow:inset 1px 0 #94a3b83d,inset -1px 0 #94a3b83d,inset 0 1px #ffffffeb}.results-table-wrapper{flex:1;min-width:0;overflow:auto}.results-table{width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed}.results-table th,.results-table td{border-bottom:1px solid #e2e8f0;border-right:1px solid #edf2f7;padding:0;text-align:left;vertical-align:top}.results-table th:last-child,.results-table td:last-child{border-right:none}.results-table td:nth-child(3){overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.results-table thead th{position:sticky;top:0;z-index:1;background:#fff;color:#475569;font-size:.95rem;font-weight:700;overflow:visible}.column-header-label{padding:14px 16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.selection-header-cell{display:flex;align-items:center;justify-content:center;min-height:46px}.column-sort-button{width:100%;padding:14px 16px;border:none;border-radius:0;background:transparent;color:inherit;font:inherit;font-weight:inherit;text-align:left;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.results-column-resizer{position:absolute;top:0;right:-4px;width:8px;height:100%;cursor:ew-resize;z-index:5}.results-column-resizer:before{content:"";position:absolute;top:0;bottom:0;left:3.5px;width:1px;border-radius:999px;background:#94a3b86b;transition:background .18s ease}.results-table thead th:hover .results-column-resizer:before,.results-column-resizer:hover:before,.results-column-resizer--active:before{background:#2563ebbf}.column-sort-button:hover{background:#f8fafc}.column-sort-button:focus,.column-sort-button:focus-visible{outline:none;border-radius:0;box-shadow:inset 0 0 0 1px #2563eb8c}.results-row{cursor:pointer}.results-row:hover td{background:#f8fafc}.results-row--selected td{background:#eff6ff}.result-cell{padding:14px 16px;font-size:.95rem;color:#334155;background:#fff}.result-cell--selection{padding:10px 6px;text-align:center;vertical-align:middle}.selection-checkbox{width:15px;height:15px;margin:0;accent-color:#2563eb;cursor:pointer}.selection-checkbox:disabled{cursor:not-allowed;opacity:.45}.result-cell--indicator{padding:10px 6px;text-align:center;color:#2563eb;font-weight:700}.row-indicator-wrap{display:flex;align-items:center;justify-content:center;gap:6px}.row-indicator-wrap--stacked{flex-direction:column;gap:3px}.row-indicator{display:inline-flex;align-items:center;justify-content:center;min-height:20px}.expand-button{min-width:24px;min-height:24px;padding:4px 8px;border:none;border-radius:4px;background:none;color:#2563eb;font-weight:700;line-height:1;cursor:pointer;transition:all .2s ease}.expand-button:hover{background:#e7f0ff;color:#1d4ed8}.expand-button-placeholder{display:inline-block;width:24px;height:24px}.item-row-action-button{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;padding:0;border:1px solid transparent;border-radius:4px;background:transparent;color:#64748b;line-height:1;cursor:pointer;transition:background-color .16s ease,border-color .16s ease,color .16s ease}.item-row-action-button:hover:not(:disabled){background:#eef2f7;border-color:#cbd5e1;color:#0f172a}.item-row-action-button:disabled{cursor:wait;opacity:.45}.item-row-action-button--add{width:20px;height:20px;color:#2563eb}.item-row-action-button--add:hover:not(:disabled){background:#e7f0ff;border-color:#bfdbfe;color:#1d4ed8}.item-row-action-button--remove:hover:not(:disabled){background:#fee2e2;border-color:#fecaca;color:#b91c1c}.business-match-warning{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:999px;background:#fef3c7;color:#92400e;font-size:.72rem;font-weight:800}.result-cell--high{background:#dcfce7;color:#166534}.result-cell--medium{background:#fef3c7;color:#92400e}.result-cell--low{background:#fee2e2;color:#b91c1c}.result-cell--manual{background:#bfe7c8;color:#1f5131}.cell-placeholder{color:#64748b}.cell-list{display:flex;flex-direction:column;gap:6px}.cell-pill{display:inline-flex;align-items:center;gap:6px;width:fit-content;max-width:100%;padding:4px 8px;border-radius:999px;background:#e2e8f0;color:#334155;font-size:.82rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cell-pill-label{overflow:hidden;text-overflow:ellipsis}.cell-pill-value{color:#64748b}.results-empty-cell{padding:28px 16px;text-align:center;color:#64748b;font-size:.95rem}.result-cell--editable-preview,.items-table-cell--editable-preview{cursor:text;transition:box-shadow .2s ease}.result-cell--editable-preview:hover,.items-table-cell--editable-preview:hover{box-shadow:inset 0 0 0 1px #2563eb47}.result-cell--editable{padding:14px 16px;box-shadow:inset 0 0 0 2px #2563ebe6}.cell-edit-shell{width:100%;min-width:0}.table-cell-input{display:block;width:100%;max-width:100%;min-width:0;min-height:0;padding:0;border:none;border-radius:0;background:transparent;color:inherit;font:inherit;line-height:inherit;resize:none;box-sizing:border-box}.table-cell-textarea{overflow:hidden;white-space:pre-wrap;overflow-wrap:anywhere}.table-cell-input:focus{outline:none;box-shadow:none}.expanded-row{background:#f8fafc}.expanded-cell{padding:0!important}.items-container{padding:12px 16px;background:#f8fafc;border-top:1px solid #dbeafe;animation:expand-row .2s ease-out}.items-table-wrap{overflow-x:auto}@keyframes expand-row{0%{opacity:0;max-height:0}to{opacity:1;max-height:500px}}.items-table{width:100%;min-width:920px;border-collapse:collapse;background:#fff;border:1px solid #dbe3ee;border-radius:10px;overflow:hidden;box-shadow:0 8px 24px #0f172a0f}.items-table thead{background:#f1f5f9}.items-table th{padding:8px 10px;text-align:left;font-size:.72rem;font-weight:700;color:#475569;border-bottom:1px solid #dbe3ee;white-space:nowrap}.items-table-action-header,.items-table-action-cell{width:34px;min-width:34px;max-width:34px;padding-right:4px!important;padding-left:8px!important;text-align:center}.items-table-action-cell{vertical-align:middle}.items-table-empty-cell{padding:14px 10px!important;text-align:center;color:#94a3b8!important;font-size:.76rem}.items-table tbody tr{border-bottom:1px solid #e2e8f0}.items-table tbody tr:last-child{border-bottom:none}.items-table tbody tr:hover{background:#f8fafc}.items-table td{padding:8px 10px;font-size:.76rem;color:#334155}.items-table-cell--high{background:#dcfce7;color:#166534}.items-table-cell--medium{background:#fef3c7;color:#92400e}.items-table-cell--low{background:#fee2e2;color:#b91c1c}.items-table-cell--manual{background:#bfe7c8;color:#1f5131}.items-table-cell--editing{box-shadow:inset 0 0 0 2px #2563ebe6}.items-table-input{min-height:0;padding:0;border-radius:0;font-size:.76rem}.item-category{display:inline-flex;align-items:center;min-height:24px;padding:0 8px;border-radius:999px;background:#e0f2fe;color:#0369a1;font-size:.68rem;font-weight:700}.table-empty{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px;text-align:center;color:#64748b}.table-empty h3{margin:0 0 8px;color:#1f2937;font-size:1.05rem}.table-empty p{margin:0}.results-setup-link{margin-top:16px;padding:9px 14px;border-radius:6px;background:#1f2937;color:#fff;font-size:.85rem;font-weight:700;text-decoration:none}.results-setup-link:hover{background:#111827}@media(max-width:1200px){.results-header,.result-tabs-bar{flex-direction:column;align-items:flex-start}.results-actions{width:100%;justify-content:flex-start}.confidence-legend{margin-left:0}}@media(max-width:768px){.results-header,.result-tabs-bar{padding-left:14px;padding-right:14px}}.field-editor{display:flex;flex-direction:column;height:100%;background:#fff;border-radius:6px;overflow:hidden}.field-editor.empty{display:flex;align-items:center;justify-content:center;color:#718096;font-size:.95rem}.field-editor-header{padding:1rem;border-bottom:2px solid #e2e8f0;background:#f7fafc}.field-editor-header h3{margin:0;font-size:1.1rem;color:#2d3748}.error-badge{background:#fc8181;color:#fff;padding:.25rem .5rem;border-radius:4px;font-size:.75rem;font-weight:600}.save-message{padding:.75rem 1rem;font-size:.9rem;font-weight:500;border-bottom:1px solid #e2e8f0}.save-message.success{background:#d4edda;color:#155724}.save-message.error{background:#f8d7da;color:#721c24}.field-editor-body{flex:1;overflow-y:auto;padding:1rem}.editable-field{margin-bottom:1rem}.field-label-row{display:flex;align-items:center;gap:.5rem;margin-bottom:.5rem}.field-label-row label{font-size:.9rem;font-weight:600;color:#2d3748}.modified-badge{background:#4299e1;color:#fff;padding:.15rem .4rem;border-radius:3px;font-size:.75rem;font-weight:600}.field-input{width:100%;padding:.5rem;border:2px solid #cbd5e0;border-radius:4px;background:#fff;color:#0f172a;caret-color:#0f172a;font-size:.9rem;font-family:inherit;transition:all .2s}.field-input:focus{outline:none;border-color:#4299e1;background:#eff6ff;color:#0f172a;box-shadow:0 0 0 3px #4299e11a}.field-input.modified{border-color:#4299e1;background:#ebf8ff;color:#0f172a}.field-input.low-confidence{border-color:#fc8181;background:#fff5f5}.field-input.modified.low-confidence{border-color:#4299e1;background:#ebf8ff}.field-input::placeholder{color:#64748b}textarea.field-input{resize:vertical;min-height:60px}.original-value{margin-top:.25rem;padding:.5rem;background:#edf2f7;border-left:3px solid #a0aec0;font-size:.85rem;color:#4a5568;border-radius:4px}.field-editor-actions{display:flex;gap:.75rem;padding:1rem;border-top:2px solid #e2e8f0;background:#f7fafc}.btn-save,.btn-discard{flex:1;padding:.75rem 1rem;border:none;border-radius:6px;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .2s}.btn-save{background:#48bb78;color:#fff}.btn-save:hover:not(:disabled){background:#38a169}.btn-save:disabled{background:#cbd5e0;color:#a0aec0;cursor:not-allowed}.btn-discard{background:#fff;color:#4a5568;border:2px solid #cbd5e0}.btn-discard:hover:not(:disabled){background:#edf2f7;border-color:#a0aec0}.btn-discard:disabled{opacity:.5;cursor:not-allowed}@media(max-width:768px){.field-editor-header,.field-editor-body,.field-editor-actions{padding:.75rem}.field-label-row{flex-wrap:wrap}.field-editor-actions{flex-direction:column}}.login-page{display:flex;align-items:center;justify-content:center;min-height:100vh;background:#f5f5f5}.login-card{background:#fff;border-radius:8px;box-shadow:0 2px 16px #0000001f;padding:2.5rem 2rem;text-align:center;min-width:320px;width:min(420px,calc(100vw - 2rem))}.login-card h1{margin:0 0 .5rem;font-size:1.6rem;color:#0f172a}.login-subtitle{color:#666;margin:0 0 1rem}.login-form{display:flex;flex-direction:column;gap:.75rem;text-align:left}.login-divider{display:flex;align-items:center;gap:.75rem;color:#667085;font-size:.85rem;margin:1.25rem 0}.login-divider:before,.login-divider:after{content:"";flex:1;height:1px;background:#dbe3ee}.login-social-actions{display:flex;flex-direction:column;gap:.75rem}.login-label{font-size:.9rem;font-weight:600;color:#364152}.login-input{border:1px solid #cbd5e1;border-radius:6px;padding:.8rem .9rem;font-size:.95rem}.login-input:focus{outline:2px solid rgba(15,23,42,.15);outline-offset:1px}.login-btn{display:inline-flex;align-items:center;justify-content:center;gap:.7rem;width:100%;padding:.75rem 1.25rem;border-radius:6px;font-size:.95rem;font-weight:500;text-decoration:none;transition:opacity .15s}.login-btn:hover{opacity:.85}.login-btn--email{background:#0f172a;color:#fff;border:none;cursor:pointer}.login-btn--social{background:#fff;border:1px solid #cbd5e1;color:#0f172a;cursor:pointer}.login-provider-logo{width:1rem;height:1rem;flex:0 0 auto}.login-btn:disabled{opacity:.7;cursor:wait}.login-error{color:#c0392b;margin:0 0 1rem}.login-success{color:#166534;margin-bottom:1rem}.pivot-page{display:flex;flex-direction:column;gap:16px;background:#f6f8fb}.pivot-header{display:flex;align-items:center;justify-content:space-between;gap:16px}.pivot-title-group{display:flex;align-items:center;gap:12px;min-width:0}.pivot-title-icon{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border:1px solid #cfd8e3;border-radius:8px;background:#fff;color:#166534;box-shadow:0 1px 2px #0f172a0d}.pivot-title-icon svg{width:20px;height:20px}.pivot-kicker{margin:0 0 2px;color:#64748b;font-size:.76rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.pivot-header h1{margin:0;color:#0f172a;font-size:1.6rem;font-weight:700;letter-spacing:0}.pivot-refresh-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;padding:0 14px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#0f172a;font-size:.9rem;font-weight:600;cursor:pointer}.pivot-refresh-button:hover:not(:disabled){border-color:#94a3b8;background:#f8fafc}.pivot-refresh-button:disabled{color:#94a3b8;cursor:not-allowed}.pivot-refresh-button svg{width:16px;height:16px}.pivot-meta-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;border:1px solid #d7dde4;border-radius:8px;overflow:hidden;background:#d7dde4}.pivot-meta-strip>div{min-width:0;padding:14px 16px;background:#fff}.pivot-meta-strip span{display:block;margin-bottom:5px;color:#64748b;font-size:.76rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase}.pivot-meta-strip strong{display:block;color:#0f172a;font-size:1.05rem;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pivot-error,.pivot-state{border:1px solid #d7dde4;border-radius:8px;background:#fff;color:#475569;padding:24px;text-align:center}.pivot-state--unavailable{color:#92400e;border-color:#f4d58d;background:#fff9eb}.pivot-error{border-color:#fecaca;background:#fff1f2;color:#9f1239;text-align:left}.pivot-table-shell{min-height:0;border:1px solid #d7dde4;border-radius:8px;background:#fff;overflow:hidden;box-shadow:0 1px 2px #0f172a0d}.pivot-table-wrap{width:100%;overflow:auto}.pivot-table{width:100%;min-width:1160px;border-collapse:separate;border-spacing:0;table-layout:fixed}.pivot-table th,.pivot-table td{width:92px;padding:13px 12px;border-right:1px solid #e5e9ef;border-bottom:1px solid #e5e9ef;color:#0f172a;font-size:.86rem;line-height:1.35;text-align:right;white-space:nowrap}.pivot-table thead th{position:sticky;top:0;z-index:3;background:#f1f5f9;color:#475569;font-size:.75rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.pivot-table tbody th{font-weight:650}.pivot-table tbody tr:hover th,.pivot-table tbody tr:hover td{background:#f8fafc}.pivot-table tfoot th,.pivot-table tfoot td{position:sticky;bottom:0;z-index:2;border-bottom:none;background:#ecfdf3;color:#14532d;font-weight:800}.pivot-table__category{position:sticky;left:0;z-index:2;width:240px;min-width:240px;max-width:240px;background:#fff;text-align:left!important;overflow:hidden;text-overflow:ellipsis}.pivot-table thead .pivot-table__category{z-index:4;background:#f1f5f9}.pivot-table tfoot .pivot-table__category{z-index:4;background:#ecfdf3}.pivot-table__total{position:sticky;right:0;z-index:2;width:120px;min-width:120px;max-width:120px;background:#fff;font-weight:800}.pivot-table thead .pivot-table__total{z-index:4;background:#f1f5f9}.pivot-table tfoot .pivot-table__total{z-index:4;background:#ecfdf3}@media(max-width:860px){.pivot-page{padding:14px}.pivot-header{align-items:flex-start;flex-direction:column}.pivot-refresh-button{width:100%}.pivot-meta-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.pivot-table{min-width:1040px}.pivot-table__category{width:188px;min-width:188px;max-width:188px}}
