.notification-toast-stack{position:fixed;right:24px;bottom:24px;z-index:20000;display:grid;width:min(430px,calc(100vw - 48px));gap:12px;pointer-events:none}.notification-toast{--toast-accent: #1f7a58;position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:12px;overflow:hidden;padding:16px 14px 18px 16px;border:1px solid color-mix(in srgb,var(--toast-accent) 28%,#dbe5ef);border-left:5px solid var(--toast-accent);border-radius:16px;background:#fffffffa;box-shadow:0 20px 55px #091e373d,0 4px 14px #091e371a;color:#10243e;pointer-events:auto;animation:notification-toast-in .22s ease-out both;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.notification-toast--error{--toast-accent: #cf3f3f;background:#fff9f9fa}.notification-toast__icon{margin-top:1px;color:var(--toast-accent)}.notification-toast__content{min-width:0}.notification-toast__content strong{display:block;margin-bottom:3px;color:var(--toast-accent);font-size:.78rem;letter-spacing:.06em;text-transform:uppercase}.notification-toast__content p{margin:0;overflow-wrap:anywhere;font-size:.94rem;font-weight:650;line-height:1.42}.notification-toast__close{display:grid;width:34px;height:34px;margin:-6px -4px 0 0;padding:0;place-items:center;border:0;border-radius:10px;background:transparent;color:#5f7085;cursor:pointer}.notification-toast__close:hover,.notification-toast__close:focus-visible{background:color-mix(in srgb,var(--toast-accent) 10%,transparent);color:var(--toast-accent);outline:none}.notification-toast__timer{position:absolute;right:0;bottom:0;left:0;height:4px;background:var(--toast-accent);opacity:.65;transform-origin:left;animation:notification-toast-timer 10s linear forwards}@keyframes notification-toast-in{0%{opacity:0;transform:translate3d(24px,12px,0) scale(.98)}to{opacity:1;transform:translateZ(0) scale(1)}}@keyframes notification-toast-timer{to{transform:scaleX(0)}}@media(max-width:720px){.notification-toast-stack{right:12px;bottom:calc(88px + env(safe-area-inset-bottom,0px));left:12px;width:auto}.notification-toast{border-radius:14px}}@media(prefers-reduced-motion:reduce){.notification-toast,.notification-toast__timer{animation:none}}.online-users-menu{position:relative}.online-users-trigger{border-color:#b7d8cd;background:#f2faf7;color:#196b57}.online-users-trigger:hover:not(:disabled),.online-users-trigger.active{border-color:#79bba6;background:#e8f7f1;color:#105c4a}.online-users-trigger-icon{display:inline-flex;width:22px;height:22px;align-items:center;justify-content:center;border-radius:50%;background:#d9f1e8;color:#16805f}.online-users-count,.online-users-total{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;font-weight:800}.online-users-count{min-width:18px;height:18px;padding:0 5px;background:#17815f;color:#fff;font-size:8px}.online-users-panel{position:absolute;z-index:85;top:calc(100% + 8px);right:0;width:min(390px,calc(100vw - 28px));overflow:hidden;border:1px solid #d4e3df;border-radius:9px;background:#fff;box-shadow:0 16px 38px #17203333}.online-users-panel>header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 14px;border-bottom:1px solid #e3ece9;background:linear-gradient(135deg,#f7fbfa,#edf8f4)}.online-users-panel>header>span:first-child{display:grid;gap:2px}.online-users-panel>header strong{color:#173a31;font-size:12px}.online-users-panel>header small{color:#71837d;font-size:9px}.online-users-total{min-height:24px;padding:0 9px;background:#dff3eb;color:#146b53;font-size:9px;white-space:nowrap}.online-users-list{max-height:350px;overflow-y:auto;overscroll-behavior:contain}.online-user-item{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px 13px;border-bottom:1px solid #edf1f0}.online-user-item:last-child{border-bottom:0}.online-user-item.current{background:#f4faf8}.online-user-avatar{position:relative;display:inline-flex;width:34px;height:34px;align-items:center;justify-content:center;border-radius:50%;background:#e2edf7;color:#285c8e;font-size:10px;font-weight:900}.online-user-avatar i{position:absolute;right:-1px;bottom:1px;width:9px;height:9px;border:2px solid #fff;border-radius:50%;background:#20a36f}.online-user-copy{display:grid;min-width:0;gap:3px}.online-user-copy strong,.online-user-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.online-user-copy strong{color:#263a45;font-size:10px}.online-user-copy small{color:#74828a;font-size:8px}.online-user-item time{display:inline-flex;align-items:center;gap:4px;color:#60766f;font-size:8px;white-space:nowrap}.online-users-message{display:flex;min-height:90px;align-items:center;justify-content:center;gap:7px;padding:18px;color:#6c7d78;font-size:10px;text-align:center}.online-users-message.error{min-height:auto;background:#fff3f2;color:#b13e36}@media(max-width:760px){.online-users-menu .topbar-operation{display:inline-flex;min-width:38px;height:38px;justify-content:center;padding:0 6px}.online-users-trigger-label{display:none}.online-users-panel{position:fixed;top:62px;right:10px;width:min(390px,calc(100vw - 20px))}}:root{color:#172033;background:#eef2f6;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}.automatic-mode-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin:0 0 20px;padding:0;border:0}.automatic-mode-card{display:flex;gap:10px;min-height:112px;padding:16px;border:1px solid var(--border, #d7dde5);border-radius:12px;background:var(--panel, #fff);cursor:pointer}.automatic-mode-card.selected{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb24}.automatic-mode-card input[type=radio]{flex:0 0 auto;width:16px;height:16px;margin:2px 0 0;padding:0;accent-color:#2563eb}.automatic-mode-card span,.automatic-confidence-field{display:grid;gap:6px}.automatic-mode-card small,.automatic-confidence-field small{color:var(--muted, #64748b);line-height:1.45}.automatic-confidence-field{max-width:360px;margin-bottom:16px;font-weight:700}.automatic-confidence-field>span{display:flex;align-items:center;gap:8px}.automatic-confidence-field input{max-width:140px}.settings-change-meta{margin-top:16px}.confirmation-dialog{max-width:560px}.payment-status-badges{display:flex;flex-wrap:wrap;gap:5px;margin-top:5px}.payment-status-badge{display:inline-flex;align-items:center;padding:3px 7px;border-radius:999px;background:#e2e8f0;color:#334155;font-size:10px;font-weight:800;letter-spacing:.03em}.payment-status-badge.paid,.payment-status-badge.automatic{background:#dcfce7;color:#166534}.payment-status-badge.partially_paid,.payment-status-badge.candidate{background:#fef3c7;color:#92400e}.payment-status-badge.overpaid{background:#fee2e2;color:#991b1b}.automatic-payment-panel{padding:18px;border:1px solid #bfdbfe;border-radius:14px;background:#eff6ff}.automatic-decision-reason,.automatic-evidence-list{margin:14px 0 0}.automatic-evidence-list ul{margin:8px 0 0}.inline-checkbox-filter{align-self:end;display:flex!important;flex-direction:row!important;align-items:center;gap:7px;min-height:38px}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:#eef2f6;font-size:70%}button,input,textarea,select{font:inherit}button{cursor:pointer}button,.primary-action,.secondary-action,.link-button,.danger-action,.icon-button,.icon-cell-button,.project-row-button{transition:background-color .14s ease,border-color .14s ease,color .14s ease,box-shadow .14s ease,transform .14s ease}button:focus-visible,.primary-action:focus-visible,.secondary-action:focus-visible,.link-button:focus-visible,.danger-action:focus-visible,.icon-button:focus-visible,.icon-cell-button:focus-visible,.project-row-button:focus-visible{outline:2px solid rgba(29,95,208,.35);outline-offset:2px}.app-frame{display:grid;grid-template-columns:260px minmax(0,1fr);min-height:100vh}.nav-panel{position:sticky;top:0;height:100vh;padding:22px 14px;border-right:1px solid #d8dee8;background:#fff}.brand{display:grid;gap:4px;padding:0 10px 20px}.brand span,.eyebrow{color:#667085;font-size:8.4px;font-weight:800;letter-spacing:0;text-transform:uppercase}.brand strong{font-size:15.4px}.nav-panel nav{display:grid;gap:6px}.nav-group-divider{display:block;height:1px;margin:4px 10px;background:#e4e7ec}.nav-panel nav button{display:flex;align-items:center;gap:10px;width:100%;min-height:40px;padding:9px 10px;border:0;border-radius:7px;background:transparent;color:#475467;font-weight:800;text-align:left}.nav-panel nav button:hover{background:#f1f6ff;color:#1d5fd0;transform:translate(2px)}.nav-panel nav button.active{background:#e8f1ff;color:#1d5fd0;box-shadow:inset 3px 0 #1d5fd0}.project-mobile-filter-toggle,.project-mobile-sort-field,.project-detail-action-dock{display:none}@media(max-width:760px){.projects-table-panel{min-width:0;padding:12px;border-radius:18px}.projects-table-panel>.section-header{align-items:flex-end;margin-bottom:10px}.projects-table-panel>.section-header h2{font-size:1.25rem}.project-overview-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:10px}.project-overview-tiles article{gap:4px;padding:10px;border-radius:13px}.project-overview-tiles strong{font-size:1rem}.project-overview-tiles small{display:none}.project-mobile-filter-toggle{display:grid;grid-template-columns:auto 1fr auto auto;align-items:center;gap:9px;width:100%;min-height:46px;padding:10px 12px;border:1px solid #d4ded7;border-radius:13px;background:#f8fbf8;color:#234638;font-weight:800;text-align:left}.project-mobile-filter-toggle strong:empty{display:none}.project-mobile-filter-toggle strong{min-width:22px;padding:3px 7px;border-radius:999px;background:#155d42;color:#fff;font-size:.7rem;text-align:center}.project-mobile-filter-toggle .open{transform:rotate(180deg)}.projects-table-panel .project-filter-bar{display:none;margin:8px 0 12px;padding:12px;border-radius:13px}.projects-table-panel .project-filter-bar.mobile-open{display:grid;grid-template-columns:minmax(0,1fr)}.projects-table-panel .project-mobile-sort-field{display:grid}.projects-table-wrap{max-height:none;overflow:visible;border:0;border-radius:0}.data-table.data-table--projects.projects-table{display:block;width:100%;min-width:0;border:0;background:transparent}.projects-table thead{display:none}.projects-table tbody{display:grid;gap:11px}.projects-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px 14px;width:100%;padding:13px;border:1px solid #dce5df;border-radius:16px;background:#fff;box-shadow:0 7px 22px #23463812}.projects-table tbody tr.clickable-row:active{border-color:#8fb9a5;background:#f2f8f4;transform:scale(.99)}.projects-table tbody td{display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-width:0;padding:0;border:0;white-space:normal}.projects-table tbody td:before{content:attr(data-label);color:#75857c;font-size:.62rem;font-weight:900;letter-spacing:.045em;line-height:1;text-transform:uppercase}.projects-table .project-name-cell{grid-column:1 / -1;min-width:0}.projects-table .project-name-cell strong{color:#183d2f;font-size:1rem}.projects-table .project-name-cell small{max-width:100%;white-space:normal}.projects-table .table-cell--code{align-items:flex-end;text-align:right}.projects-table .project-manager-cell{grid-column:1 / -1}.projects-table .project-paid-cell,.projects-table .project-pending-cell{align-items:flex-end;text-align:right}.projects-table .project-total-cell,.projects-table .project-unpaid-cell{color:#173f30;font-weight:900}.projects-table .project-approval-cell{justify-content:flex-end}.projects-table .project-actions-cell{align-items:flex-end;justify-content:flex-end}.projects-table .project-actions-cell:before{display:none}.projects-table tbody tr:not(.clickable-row) td:only-child{grid-column:1 / -1;padding:10px}body:has(.project-detail-modal){height:100dvh;overflow:hidden}.modal-backdrop:has(.project-detail-modal){position:fixed;inset:0;z-index:1100;display:block;width:100vw;height:100dvh;padding:0;overflow:hidden}.project-detail-modal{display:grid;grid-template-rows:auto minmax(0,1fr);box-sizing:border-box;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;padding:0;overflow:hidden;border:0;border-radius:0}.project-detail-desktop-header{display:none}.project-detail-action-dock{position:relative;z-index:20;display:flex;grid-row:1;align-items:center;justify-content:space-between;gap:12px;min-width:0;padding:calc(9px + env(safe-area-inset-top)) 10px 9px 14px;border-radius:0 0 15px 15px;background:linear-gradient(135deg,#102744,#173b63);color:#f8fbff;box-shadow:0 8px 22px #0f274438}.project-detail-action-dock>span{min-width:0;display:flex;flex-direction:column;gap:2px}.project-detail-action-dock small{color:#b9cce2;font-size:.64rem;font-weight:800;letter-spacing:.05em;text-transform:uppercase}.project-detail-action-dock strong{overflow:hidden;font-size:.95rem;text-overflow:ellipsis;white-space:nowrap}.project-detail-action-dock .icon-button{flex:0 0 auto;width:42px;height:42px;border-color:#bed5f18c;border-radius:13px;background:#ffffff1a;color:#f8fbff}.project-detail-scroll{grid-row:2;display:grid;align-content:start;gap:12px;width:100%;min-width:0;height:100%;min-height:0;padding:10px 10px calc(18px + env(safe-area-inset-bottom));overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.project-detail-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0}.project-costs-panel{min-width:0;padding:11px;border-radius:14px}.project-cost-kpis,.project-cost-source-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.project-cost-kpis article,.project-cost-source-summary>article{padding:9px}.project-cost-kpis article>small{display:none}.project-cost-filters{grid-template-columns:minmax(0,1fr)}.project-cost-filters>span{justify-self:start;padding:0}.project-detail-scroll .project-cost-table-wrap,.project-detail-scroll .project-invoice-table-wrap,.project-detail-scroll .project-invoice-items-wrap{display:block;width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;touch-action:pan-x pan-y;-webkit-overflow-scrolling:touch}.project-detail-scroll .project-cost-table,.project-detail-scroll .project-invoice-table,.project-detail-scroll .project-invoice-items-table{width:max-content;max-width:none;table-layout:auto}.project-invoice-stack{gap:8px}.project-invoice-stack .section-header{align-items:center;flex-direction:row}.project-invoice-card{gap:5px;padding:11px;border-radius:13px}}.audit-history-panel{display:grid;gap:16px}.audit-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.audit-summary article{display:grid;gap:5px;padding:14px 16px;border:1px solid var(--border);border-radius:12px;background:#f7faff}.audit-summary article.warning{border-color:#fed7aa;background:#fff7ed}.audit-summary span{color:var(--muted);font-size:12px;font-weight:700}.audit-summary strong{color:var(--navy);font-size:23px}.audit-filters{display:grid;grid-template-columns:minmax(240px,2fr) repeat(3,minmax(130px,1fr)) repeat(2,minmax(125px,.8fr));gap:10px;align-items:end;padding:14px;border:1px solid var(--border);border-radius:12px;background:#f7faff}.audit-filters label{display:grid;gap:5px;color:var(--muted);font-size:12px;font-weight:700}.audit-filters input,.audit-filters select{width:100%;min-height:40px;padding:8px 10px;border:1px solid var(--border);border-radius:8px;background:#fff;color:var(--navy)}.audit-search>div{display:flex;align-items:center;gap:7px;padding-left:10px;border:1px solid var(--border);border-radius:8px;background:#fff}.audit-search>div input{border:0;padding-left:0;outline:0}.audit-filter-actions{grid-column:1 / -1;display:flex;justify-content:flex-end;gap:8px}.audit-table-wrap{max-height:610px}.audit-table{min-width:940px}.audit-outcome{display:inline-flex;padding:4px 8px;border-radius:999px;font-size:11px;font-weight:800}.audit-outcome.success{color:#166534;background:#dcfce7}.audit-outcome.blocked{color:#9a3412;background:#ffedd5}.audit-outcome.failed{color:#991b1b;background:#fee2e2}.audit-detail-row td{padding:0!important;background:#f8fafc}.audit-detail{display:grid;gap:14px;padding:16px 20px;border-left:3px solid var(--blue)}.audit-detail-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.audit-detail-grid>div{display:grid;gap:3px}.audit-detail-grid span{color:var(--muted);font-size:11px;font-weight:700;text-transform:uppercase}.audit-detail-grid strong{overflow-wrap:anywhere}.audit-impersonation{margin:0;padding:9px 12px;border:1px solid #c4b5fd;border-radius:8px;background:#f5f3ff;color:#5b21b6}.audit-changes h4{margin:0 0 8px}.audit-changes table{width:100%;border-collapse:collapse;background:#fff}.audit-changes th,.audit-changes td{padding:8px 10px;border:1px solid var(--border);text-align:left;vertical-align:top}.audit-changes pre,.audit-detail details pre{margin:0;max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere;font:inherit}.audit-detail details{padding:10px 12px;border:1px solid var(--border);border-radius:8px;background:#fff}.audit-detail summary{cursor:pointer;font-weight:700}@media(max-width:1180px){.audit-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.audit-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.audit-search{grid-column:span 2}.audit-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.nav-item-label{min-width:0}.nav-panel nav button .nav-count-badge{display:inline-grid;min-width:21px;height:21px;margin-left:auto;padding:0 6px;place-items:center;border:1px solid #f59e0b;border-radius:999px;background:#f59e0b14;color:#fb923c;font-size:9px;font-weight:900;line-height:1;animation:nav-count-pulse 2.4s ease-in-out infinite}@keyframes nav-count-pulse{0%,to{box-shadow:0 0 #f59e0b00;transform:scale(1)}50%{box-shadow:0 0 0 4px #f59e0b1c;transform:scale(1.04)}}@media(prefers-reduced-motion:reduce){.nav-panel nav button .nav-count-badge{animation:none}}.mode-toggle{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin:18px 4px 0;padding:4px;border:1px solid #d8dee8;border-radius:8px;background:#f9fbfd}.mode-toggle button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:32px;border:0;border-radius:6px;background:transparent;color:#475467;font-size:9.1px;font-weight:800}.mode-toggle button.active{background:#edf9f1;color:#11643b;box-shadow:inset 0 0 0 1px #9fd4b5}.mode-toggle button:hover:not(:disabled){background:#eef3f8;color:#172033}.mode-toggle button:disabled{cursor:not-allowed;opacity:.45}.content-shell{width:calc(100% - 36px);max-width:none;margin:0 auto;padding:26px 0 42px}.topbar,.section-header{display:flex;align-items:center;justify-content:space-between;gap:14px}.topbar{margin-bottom:18px}.topbar-main{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%}.topbar-mobile-appbar{display:none}.topbar-actions{display:flex;align-items:center;gap:10px;margin-left:auto}.notification-menu{position:relative}.notification-button{position:relative;display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;padding:0;border:1px solid #d8dee8;border-radius:9px;background:#fff;color:#475467}.notification-button:hover,.notification-button.active{border-color:#8eb5ef;background:#edf4ff;color:#174eaa}.notification-badge{position:absolute;top:-6px;right:-6px;display:inline-flex;align-items:center;justify-content:center;min-width:19px;height:19px;padding:0 5px;border:2px solid #eef2f6;border-radius:10px;background:#d92d20;color:#fff;font-size:8px;font-weight:900;line-height:1}.notification-panel{position:absolute;top:calc(100% + 9px);right:0;z-index:40;width:min(380px,calc(100vw - 32px));overflow:hidden;border:1px solid #d8dee8;border-radius:10px;background:#fff;box-shadow:0 18px 45px #1720332e}.notification-panel-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-bottom:1px solid #e6eaf0;background:#f8fafc}.notification-panel-header span{color:#667085}.notification-list{max-height:430px;overflow-y:auto}.notification-item{display:grid;grid-template-columns:8px minmax(0,1fr);gap:10px;width:100%;padding:12px 14px;border:0;border-bottom:1px solid #eef1f5;background:#fff;color:#172033;text-align:left}.notification-item:hover{background:#f6f9fd}.notification-item.unread{background:#f0f6ff}.notification-item>span:last-child{display:grid;gap:3px}.notification-item small,.notification-item time{color:#667085}.notification-item time{font-size:8px}.notification-type{width:8px;height:8px;margin-top:3px;border-radius:50%;background:#667085}.notification-type.review{background:#d97706}.notification-type.approval{background:#1d5fd0}.notification-type.payment{background:#168355}.notification-empty{display:flex;align-items:center;justify-content:center;gap:8px;padding:28px 18px;color:#667085}h1,h2,h3,p{margin-top:0}h1{margin-bottom:0;font-size:21px;line-height:1.15}h2{margin-bottom:0;font-size:12.6px}h3{margin-bottom:8px;font-size:10.5px}.page-stack{display:grid;gap:16px}.stats-stack{display:grid;gap:14px}.regression-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0}.regression-summary-grid>div{display:grid;gap:4px;padding:10px;border:1px solid #d8dee8;border-radius:6px;background:#f8fafc}.regression-summary-grid small{color:#667085}.regression-summary-grid strong{font-size:15px}.regression-field-table-wrap{max-height:420px}.field-accuracy{display:inline-flex;min-width:52px;justify-content:flex-end;font-weight:700}.field-accuracy.high{color:#087443}.field-accuracy.medium{color:#7a4c00}.field-accuracy.low{color:#b42318}.panel,.notice,.stat-card,.empty-state{border:1px solid #d8dee8;border-radius:8px;background:#fffffff0}.panel{padding:16px}.compact{padding:12px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.stats-grid.small{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:14px}.stat-card{display:grid;gap:4px;min-height:86px;padding:14px}.stat-card span,td small,.muted{color:#667085}.stat-card strong{font-size:15.4px}.stat-card-value{display:flex;align-items:center;min-height:24px}.stat-card-value .project-badge{font-size:9.1px}.status-grid{display:grid;gap:8px;margin-top:14px}.status-row{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border:1px solid #d8dee8;border-radius:7px;background:#f9fbfd}.overview-page{max-width:1180px}.overview-welcome{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:8px 2px 4px}.overview-welcome h2{margin:4px 0 5px;color:#172033;font-size:21px;line-height:1.2}.overview-welcome p{margin:0;color:#667085;font-size:11.2px}.overview-eyebrow{color:#667085;font-size:8.4px;font-weight:700;text-transform:uppercase}.overview-date{display:inline-flex;align-items:center;gap:8px;min-height:38px;padding:0 12px;border:1px solid #d8dee8;border-radius:6px;background:#fff;color:#475467;font-size:10.5px;font-weight:600}.task-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.task-tile{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto auto;gap:4px 10px;min-height:126px;padding:16px;border:1px solid #d8dee8;border-left:3px solid #2870d7;border-radius:8px;background:#fff;color:#172033;text-align:left;cursor:pointer;transition:border-color .14s ease,box-shadow .14s ease,transform .14s ease,background-color .14s ease}.task-tile:hover{border-color:#9abcf1;background:#f8fbff;box-shadow:0 5px 16px #1c345417;transform:translateY(-1px)}.task-tile:focus-visible{outline:2px solid #2870d7;outline-offset:2px}.task-tile:disabled{cursor:default;opacity:.58;box-shadow:none;transform:none}.task-tile.approval{border-left-color:#7257d8}.task-tile.payment{border-left-color:#23845d}.task-tile.overdue{border-left-color:#c64040}.task-tile.classification{border-left-color:#d28a13}.task-tile.resolution{border-left-color:#b44932}.task-tile-icon{display:grid;grid-row:1 / span 2;place-items:center;width:36px;height:36px;border-radius:6px;background:#edf4ff;color:#2870d7}.task-tile.approval .task-tile-icon{background:#f0edff;color:#6044c6}.task-tile.payment .task-tile-icon{background:#eaf8f1;color:#187452}.task-tile.overdue .task-tile-icon{background:#fff0ef;color:#b73333}.task-tile.classification .task-tile-icon{background:#fff6df;color:#a86700}.task-tile.resolution .task-tile-icon{background:#fff0ec;color:#a33b27}.task-tile strong{align-self:end;font-size:23.8px;line-height:1}.task-tile-label{align-self:start;font-size:11.2px;font-weight:700}.task-tile small{grid-column:1 / -1;align-self:end;color:#667085;font-size:9.1px;line-height:1.35}.status-filter-badge.overdue{display:inline-flex;align-items:center;gap:4px;border-color:#efaaa6;background:#fff0ef;color:#9d2626}.split-workspace{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:16px;align-items:start}.documents-layout{display:block}.documents-main{display:grid;gap:16px}.documents-table-panel{min-height:0}.document-filter-bar{display:grid;grid-template-columns:minmax(240px,1.6fr) repeat(3,minmax(145px,.7fr)) auto;gap:10px;align-items:end;padding:10px;margin:10px 0;border:1px solid #dce3ec;background:#f7f9fc;border-radius:6px}.document-filter-bar label{display:grid;gap:4px;min-width:0}.document-filter-bar label>span{color:#526174;font-size:9px;font-weight:800}.document-filter-bar input,.document-filter-bar select{width:100%;min-height:32px}.document-filter-bar.compact-list-filter{grid-template-columns:minmax(240px,520px) auto}.list-result-count{justify-self:end;padding-bottom:8px;color:#667085;font-size:9px;font-weight:800;white-space:nowrap}.document-search-field .input-with-icon{position:relative}.document-search-field .input-with-icon svg{position:absolute;left:10px;top:50%;color:#77859a;transform:translateY(-50%);pointer-events:none}.document-search-field .input-with-icon input{padding-left:31px}.document-source-badge{display:inline-flex;align-items:center;gap:5px;width:max-content;padding:4px 7px;border:1px solid #d7dee8;border-radius:6px;background:#f8fafc;color:#526174;font-size:9px;font-weight:800;white-space:nowrap}.document-source-badge.email-source{border-color:#b9d2fa;background:#edf5ff;color:#1d5fd0}.document-source-link{font:inherit;cursor:pointer;transition:border-color .14s ease,background .14s ease,color .14s ease}.document-source-link:hover,.document-source-link:focus-visible{border-color:#75a7f4;background:#dcecff;color:#0b4bb3;outline:none}.document-category-field{display:inline-flex;align-items:center;gap:6px}.document-category-control{position:relative;display:inline-flex;align-items:center;min-width:128px}.document-category-control select{min-height:28px;width:100%;padding:4px 24px 4px 8px;border-radius:6px;font-size:9px;font-weight:800;cursor:pointer}.document-category-control.type-invoice select{border-color:#9bd2b1;background:#eefaf2;color:#17663b}.document-category-control.type-advance_invoice select{border-color:#c8b4f5;background:#f5f0ff;color:#6540a5}.document-category-control.type-delivery_note select{border-color:#9fc8f7;background:#edf6ff;color:#155ba7}.document-category-control.type-other_document select{border-color:#d4dae3;background:#f4f6f8;color:#4d596a}.document-category-control.type-spam select{border-color:#efaaa4;background:#fff1f0;color:#9e271f}.document-category-control.type-unknown select{border-color:#efc27e;background:#fff6e8;color:#7d4b00}.document-category-control>svg{position:absolute;left:7px;z-index:1}.document-category-control>svg+select{padding-left:25px}.manual-type-dot{position:absolute;right:-5px;top:-4px;width:7px;height:7px;border:2px solid #fff;border-radius:50%;background:#2468d7}.document-confidence-cell{color:#526174;font-variant-numeric:tabular-nums;white-space:nowrap}.document-extraction-cell strong,.document-extraction-cell small{display:block;white-space:nowrap}.document-extraction-cell small{margin-top:2px;color:#77859a}.document-table tbody tr{transition:background-color .14s ease}.document-table tbody tr:hover{background:#f4f8ff}.document-table .date-cell{white-space:nowrap}@media(max-width:1100px){.document-filter-bar{grid-template-columns:repeat(2,minmax(180px,1fr))}}.main-column,.side-column,.settings-grid,.invoice-detail{display:grid;gap:16px}.settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.settings-company-only{grid-template-columns:minmax(320px,720px)}.settings-sheet{display:grid;gap:0}.settings-tabs{display:flex;flex-wrap:wrap;gap:0;align-items:end;padding:0 10px;border-bottom:1px solid #cfd7e2}.settings-tab{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:8px 13px;border:1px solid #d8dee8;border-bottom:0;border-radius:7px 7px 0 0;background:#f7f9fc;color:#475467;font-weight:800;transform:translateY(1px)}.settings-tab:hover{background:#eef5ff;color:#1d5fd0}.settings-tab.active{position:relative;z-index:1;background:#fff;color:#1d5fd0;border-color:#bcd3f8;box-shadow:0 -1px #fff inset}.settings-tab-content{padding-top:16px}.settings-panel-narrow,.settings-info-panel{max-width:760px}.settings-info-table{width:100%;border-collapse:collapse;table-layout:fixed}.settings-info-table th,.settings-info-table td{padding:10px 12px;border-bottom:1px solid #edf1f6;text-align:left;vertical-align:top}input[readonly],textarea[readonly]{background:#f8fafc;color:#344054;cursor:default}.input-action-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}.input-action-row .compact-action{white-space:nowrap}.settings-info-table th{width:170px;color:#475467;background:#f8fafc;font-weight:800}.email-import-schedule-card{display:grid;grid-template-columns:minmax(220px,1fr) 140px auto;gap:14px;align-items:end;margin:16px;padding:16px;border:1px solid #d8e4f2;border-radius:10px;background:#f5f9ff}.email-import-schedule-card>div:first-child,.email-import-schedule-card label{display:grid;gap:6px}.email-import-schedule-card span{color:#667085;font-size:.76rem}.email-import-schedule-card select{min-height:38px;padding:7px 10px;border:1px solid #cbd5e1;border-radius:7px;background:#fff;color:#101828;font:inherit;font-weight:800}.email-import-status{margin:0 16px 16px;color:#667085;font-size:.78rem}.email-import-status.success{color:#18794e}.email-import-status.error{color:#b42318}@media(max-width:900px){.email-import-schedule-card{grid-template-columns:1fr;align-items:stretch}}.field-help{display:block;margin-top:6px;color:#667085;font-size:.82rem}.extraction-settings-info{margin-top:16px}.project-settings-panel{width:100%;min-width:0}.project-settings-filter-bar{grid-template-columns:minmax(220px,1.4fr) minmax(150px,.65fr) minmax(200px,.9fr) auto}.company-settings-filter-bar{grid-template-columns:minmax(260px,1fr) minmax(160px,220px) auto}.project-settings-table-wrap{overflow-x:auto}.project-settings-table{min-width:920px}.project-settings-table th:last-child,.project-settings-table td:last-child{width:38px;text-align:right}.company-settings-table{min-width:760px}.company-status-badge{display:inline-flex;align-items:center;min-height:22px;padding:2px 8px;border:1px solid;border-radius:999px;font-size:.78rem;font-weight:800;white-space:nowrap}.company-status-badge.active{border-color:#a6dfbd;background:#ecfdf3;color:#147a43}.company-status-badge.inactive{border-color:#d0d5dd;background:#f2f4f7;color:#667085}.project-settings-address,.project-settings-aliases{max-width:220px;overflow:hidden;color:#526174;text-overflow:ellipsis;white-space:nowrap}.project-form-modal{width:min(680px,calc(100vw - 28px))}.project-modal-form textarea{resize:vertical}.manager-picker-field{display:grid;gap:6px}.manager-picker-label{color:#344054;font-weight:800}.manager-picker,.manager-picker-search{position:relative}.manager-picker-search>svg:first-child{position:absolute;top:9px;left:10px;color:#718096;pointer-events:none}.manager-picker-search>svg:last-child{position:absolute;top:9px;right:10px;color:#718096;pointer-events:none}.manager-picker-search input{width:100%;padding-right:30px;padding-left:31px}.manager-picker-menu{position:absolute;z-index:8;top:calc(100% + 4px);right:0;left:0;max-height:210px;overflow-y:auto;padding:4px;border:1px solid #cfd9e5;border-radius:6px;background:#fff;box-shadow:0 10px 24px #192a4624}.manager-picker-option{display:grid;width:100%;grid-template-columns:auto minmax(0,1fr) auto;gap:8px;align-items:center;padding:7px 8px;border:0;border-radius:5px;background:#fff;color:#26364d;text-align:left}.manager-picker-option:hover{background:#edf5ff}.manager-picker-option>span:nth-child(2),.selected-manager-row>span:nth-child(2){display:grid;min-width:0;gap:2px}.manager-picker-option small,.selected-manager-row small{overflow:hidden;color:#66758a;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.manager-picker-option>svg{color:#2468d7}.manager-picker-empty,.selected-manager-empty{padding:10px;color:#66758a;text-align:center}.selected-manager-list{display:grid;gap:5px}.selected-manager-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:8px;align-items:center;padding:7px 8px;border:1px solid #dce5ef;border-radius:6px;background:#f8fafc}.selected-manager-row .icon-button{width:28px;height:28px;color:#b42318}.supplier-rules-panel{max-width:980px}.supplier-rules-panel .section-header p{margin:3px 0 0;color:#667085;font-size:.9em}.supplier-rules-list{display:grid;gap:10px}.supplier-rule-card{display:grid;gap:8px;padding:12px;border:1px solid #d8dee8;border-radius:7px;background:#fff}.supplier-rule-header,.toggle-row{display:flex;gap:8px;align-items:center;justify-content:space-between}.supplier-rule-header small,.supplier-rule-card>small{display:block;color:#667085}.supplier-rule-card textarea{min-height:96px;resize:vertical}.projects-page-grid{display:grid;grid-template-columns:minmax(320px,420px) minmax(0,1fr);gap:16px;align-items:start}.projects-panel{grid-column:1 / -1}.projects-page-grid .projects-panel{grid-column:auto}.projects-list-only{grid-template-columns:minmax(0,1fr)}.projects-table-panel{min-width:0}.project-overview-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px}.project-overview-tiles article{display:grid;gap:6px;min-width:0;padding:14px;border:1px solid #cfd9e7;border-radius:12px;background:#fff}.project-overview-tiles article.primary{border-color:#7caaf0;background:#edf4ff;box-shadow:0 8px 18px #1d5fd01a}.project-overview-tiles article.paid{border-color:#86efac;background:#f0fdf4}.project-overview-tiles article.unpaid{border-color:#f9a8d4;background:#fdf2f8}.project-overview-tiles article.pending{border-color:#fdba74;background:#fff7ed}.project-overview-tiles span,.project-overview-tiles small{color:#64748b;font-size:10px;font-weight:700}.project-overview-tiles strong{color:#102a4c;font-size:18px;line-height:1.2}.project-filter-bar{display:grid;grid-template-columns:minmax(240px,1.5fr) minmax(130px,.7fr) minmax(190px,1fr) auto auto auto;gap:10px;align-items:end;margin:14px 0;padding:12px;border:1px solid #d8dee8;border-radius:7px;background:#f8fafc}.project-filter-bar label{display:grid;gap:5px;color:#475467;font-size:9.1px;font-weight:700}.project-filter-bar input,.project-filter-bar select{min-height:34px;padding:7px 9px;border:1px solid #ccd5e2;border-radius:6px;background:#fff}.input-with-icon{position:relative}.input-with-icon svg{position:absolute;top:50%;left:10px;color:#667085;transform:translateY(-50%);pointer-events:none}.input-with-icon input{width:100%;padding-left:32px}.project-filter-bar .compact-check-filter{display:flex;align-items:center;gap:6px;min-height:34px;padding:0 9px;border:1px solid #ccd5e2;border-radius:6px;background:#fff;white-space:nowrap}.project-filter-bar .compact-check-filter input{width:14px;min-height:0;height:14px;margin:0}.projects-table-wrap{max-height:calc(100vh - 245px);border:1px solid #d8dee8;border-radius:7px}.projects-table{min-width:1180px}.projects-table thead th{position:sticky;top:0;z-index:2;background:#eef3f8;box-shadow:inset 0 -1px #d8dee8}.projects-table tbody tr{transition:background-color .12s ease}.projects-table tbody tr:hover{background:#f3f7fc}.projects-table td{vertical-align:middle}.project-name-cell{min-width:190px}.project-name-cell strong,.project-name-cell small{display:block}.project-name-cell small{max-width:230px;margin-top:3px;overflow:hidden;color:#667085;text-overflow:ellipsis;white-space:nowrap}.project-status-badge,.manager-badge,.project-task-badge{display:inline-flex;align-items:center;min-height:22px;padding:3px 7px;border:1px solid transparent;border-radius:999px;font-size:8.4px;font-weight:700;white-space:nowrap}.project-status-badge.active{border-color:#a9dec2;background:#eaf8f1;color:#176744}.project-status-badge.paused{border-color:#f2cb8f;background:#fff6e7;color:#7d4f08}.project-status-badge.closed{border-color:#ccd5e2;background:#eef1f5;color:#475467}.project-created-date{display:block;margin-top:3px;color:#667085;font-size:.72rem;font-weight:700}.project-status-switch{display:grid;gap:7px}.project-status-switch-title{color:#344054;font-size:.78rem;font-weight:800}.project-status-switch-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:4px;border:1px solid #d8e1e9;border-radius:12px;background:#f3f6f8}.project-status-switch-options button{display:inline-flex;min-height:38px;align-items:center;justify-content:center;gap:7px;border:1px solid transparent;border-radius:9px;background:transparent;color:#667085;font-size:.76rem;font-weight:850}.project-status-switch-options button>span{width:9px;height:9px;border-radius:50%;background:#98a2b3}.project-status-switch-options button.active{background:#fff;box-shadow:0 2px 7px #1018281a}.project-status-switch-options button.active.active{border-color:#83c7a7;color:#18794e}.project-status-switch-options button.active.active>span{background:#218b5d}.project-status-switch-options button.paused.active{border-color:#f2c572;color:#a15c07}.project-status-switch-options button.paused.active>span{background:#dc8b17}.project-status-switch-options button.closed.active{border-color:#e6a49e;color:#b42318}.project-status-switch-options button.closed.active>span{background:#c94f46}.manager-badges{display:flex;flex-wrap:wrap;gap:4px}.manager-badge{border-color:#c7d9f6;background:#edf4ff;color:#235aa7}.project-task-badge.approval{min-width:24px;justify-content:center;border-color:#d5cafa;background:#f0edff;color:#6044c6}.project-task-badge.overdue{min-width:24px;justify-content:center;border-color:#efaaa6;background:#fff0ef;color:#9d2626}.project-amount-list{display:grid;gap:2px;white-space:nowrap}.project-total-cell{font-weight:700}.primary-action,.secondary-action,.link-button,.danger-action{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;padding:8px 12px;border:1px solid #1d5fd0;border-radius:7px;background:#1d5fd0;color:#fff;font-weight:800;text-decoration:none;box-shadow:0 1px 2px #0f172a14}.primary-action:hover{border-color:#174eaa;background:#174eaa;color:#fff;box-shadow:0 6px 14px #1d5fd038;transform:translateY(-1px)}.secondary-action,.link-button{background:#fff;color:#1d5fd0}.secondary-action:hover,.link-button:hover{border-color:#174eaa;background:#eef5ff;color:#174eaa;box-shadow:0 4px 10px #1d5fd024;transform:translateY(-1px)}.danger-action{border-color:#d92d20;background:#fff;color:#b42318}.danger-action:hover{border-color:#b42318;background:#fff1f0;color:#912018;box-shadow:0 4px 10px #d92d2024;transform:translateY(-1px)}.link-button,.compact-danger{min-height:30px;padding:5px 9px}.stretch{width:100%}.primary-action:disabled,.secondary-action:disabled,.link-button:disabled,.danger-action:disabled,.icon-cell-button:disabled{cursor:not-allowed;opacity:.65;box-shadow:none;transform:none}.primary-action:active:not(:disabled),.secondary-action:active:not(:disabled),.link-button:active:not(:disabled),.danger-action:active:not(:disabled),.icon-button:active:not(:disabled),.icon-cell-button:active:not(:disabled){transform:translateY(0)}.upload-inline{display:flex;align-items:center;justify-content:flex-start;margin:10px 0 12px;padding:0;border:0;background:transparent}.upload-inline input[type=file]{display:none}.extraction-model-picker{display:grid;grid-template-columns:auto minmax(190px,260px) 1fr;gap:8px;align-items:center;margin:0 0 12px;padding:8px 10px;border:1px solid #d8e1ee;border-radius:7px;background:#f8fbff}.extraction-model-picker label{font-size:.68rem}.extraction-model-picker select{height:32px;padding:4px 8px;border:1px solid #cfd7e2;border-radius:6px;background:#fff;color:#101828;font-weight:800}.extraction-model-picker span{color:#667085;font-size:.65rem}.disabled-label{pointer-events:none;opacity:.65}label{color:#344054;font-weight:800}input,textarea{width:100%;padding:9px 10px;border:1px solid #cfd7e2;border-radius:7px;background:#fff;color:#172033}textarea{resize:vertical}select{min-height:38px;padding:8px 10px;border:1px solid #cfd7e2;border-radius:7px;background:#fff;color:#172033}.document-list,.project-list,.issue-list{display:grid;gap:8px}.document-list.wide{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));margin-top:12px}.document-row{display:grid;grid-template-columns:20px 1fr;gap:10px;width:100%;padding:10px;border:1px solid #d8dee8;border-radius:7px;background:#fff;color:inherit;text-align:left}.document-row.active{border-color:#1d5fd0;background:#edf4ff}.document-row strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.document-row small{display:block}.detail-panel{min-height:280px}.document-invoices{display:grid;gap:8px}.document-invoice-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:12px;align-items:center;width:100%;padding:10px;border:1px solid #d8dee8;border-radius:7px;background:#fff;color:inherit;text-align:left}.document-invoice-row:hover{border-color:#1d5fd0;background:#edf4ff}.detail-actions{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0}.table-wrap{width:100%;overflow-x:auto}table{width:100%;border-collapse:collapse;overflow:hidden;border:1px solid #d8dee8;border-radius:8px;background:#fff}th,td{padding:11px 12px;border-bottom:1px solid #d8dee8;text-align:left;vertical-align:top}th{background:#f4f7fa;color:#475467;font-size:9.1px}tr:last-child td{border-bottom:0}td strong,td small{display:block}.invoice-table th,.invoice-table td{white-space:nowrap}.document-table tbody tr{cursor:pointer}.document-table tbody tr:hover,.document-table tbody tr.active-row{background:#f7fbff}.document-table tbody tr.processing-row{background:#fffaf0}.document-table tbody tr.queued-row{background:#f4f8ff}.document-file-cell{display:table-cell;min-width:250px;vertical-align:middle}.document-file-cell svg{display:inline-block;margin-right:8px;color:#667085;vertical-align:middle}.document-file-cell>span{display:inline-block;max-width:calc(100% - 28px);vertical-align:middle}.document-file-cell strong{max-width:360px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.document-summary-cell{min-width:220px}.processing-inline{display:inline-flex;gap:5px;align-items:center;margin-top:3px;color:#965d00;font-weight:800}.row-actions{display:flex;flex-wrap:nowrap;gap:6px}.compact-action{min-height:30px;padding:5px 8px}.invoice-table .project-cell{min-width:280px;max-width:420px;white-space:normal}.invoice-table .subject-cell{min-width:220px;max-width:360px;white-space:normal}.incoming-panel{width:100%}.incoming-table-wrap{overflow-x:auto}.document-category-confirm{min-height:28px;padding:4px 9px;border:1px solid #2f72dc;border-radius:6px;background:#eef5ff;color:#1559b7;font-size:9px;font-weight:800;cursor:pointer;white-space:nowrap}.document-category-confirm:hover:not(:disabled){background:#dceaff}.document-file-cell>span{display:grid;min-width:0;gap:2px}.document-error-detail{max-width:360px;overflow:hidden;color:#b42318;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.invoice-loading-meta{display:inline-flex;min-width:126px;align-items:center;justify-content:flex-end;gap:6px;color:#526174;font-size:10px;font-weight:800;white-space:nowrap}.invoice-loading-label{opacity:0;transition:opacity .18s ease}.invoice-loading-meta.is-long-running .invoice-loading-label{opacity:1}.invoice-filter-bar{display:flex;flex-direction:column;gap:12px;margin:12px 0 10px;padding:12px 14px;border:1px solid #d8dee8;border-radius:10px;background:#f8fafc}.invoice-filter-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.invoice-filter-heading>div{display:flex;align-items:baseline;gap:8px}.invoice-filter-heading strong{color:#172033;font-size:11px}.invoice-filter-heading span{color:#667085;font-size:9px;font-weight:700}.invoice-filter-reset{padding:3px 0;border:0;background:transparent;color:#175cd3;font-size:9.5px;font-weight:800;cursor:pointer}.invoice-filter-reset:hover:not(:disabled){color:#0b4bb3;text-decoration:underline}.invoice-filter-reset:disabled{color:#98a2b3;cursor:default}.invoice-filter-primary,.invoice-filter-secondary{display:grid;gap:10px;align-items:end}.invoice-filter-primary{grid-template-columns:minmax(280px,1.6fr) minmax(180px,.9fr) minmax(165px,.75fr)}.invoice-filter-secondary{grid-template-columns:minmax(190px,.8fr) minmax(210px,.9fr) minmax(260px,1.1fr)}.invoice-filter-bar label{display:grid;gap:4px;color:#475467;font-size:9.5px;font-weight:800}.invoice-filter-bar input,.invoice-filter-bar select{min-height:32px;width:100%;border:1px solid #d8dee8;border-radius:7px;background:#fff;color:#172033}.invoice-filter-bar input[type=checkbox]{width:16px;height:16px;min-height:16px;flex:0 0 16px}.invoice-mobile-filter-toggle{display:none}.invoice-filter-status{padding:10px 0;border-top:1px solid #e4e9f0;border-bottom:1px solid #e4e9f0}.invoice-candidate-filter{align-self:end;min-height:32px;padding:0 11px;border:1px solid #d8dee8;border-radius:7px;background:#fff;color:#344054!important}.bulk-action-bar{display:flex;align-items:center;gap:8px;margin:10px 0;padding:8px 10px;border:1px solid #d8dee8;border-radius:8px;background:#f8fafc}.bulk-action-bar span{margin-right:auto;color:#475467;font-size:9.5px;font-weight:800}.pagination-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px;padding-top:10px;border-top:1px solid #e2e8f0}.pagination-navigation{display:flex;align-items:center;gap:10px;margin-left:auto}.pagination-navigation span{min-width:92px;color:#526174;font-size:9.5px;font-weight:800;text-align:center}.pagination-page-size{display:flex;align-items:center;gap:8px;color:#526174;font-size:9.5px;font-weight:800}.pagination-page-size select{min-width:68px;min-height:30px;padding:4px 24px 4px 8px;border:1px solid #d8dee8;border-radius:7px;background:#fff;color:#172033;font:inherit}.selection-cell{width:34px;min-width:34px;text-align:center;vertical-align:middle}.selection-cell input{width:14px;height:14px;cursor:pointer;accent-color:#1d5fd0}.selection-cell input:disabled{cursor:not-allowed;opacity:.55}.incoming-table{table-layout:fixed;width:100%}.incoming-table th,.incoming-table td{padding:8px 9px;white-space:normal}.sort-header{display:inline-flex;align-items:center;gap:4px;max-width:100%;padding:0;border:0;background:transparent;color:inherit;font:inherit;font-weight:800;text-align:left;cursor:pointer}.sort-header:hover{color:#1d5fd0}.sort-arrows{display:inline-grid;gap:0;color:#b8c0cc;font-size:7px;line-height:.85}.sort-arrows span.active{color:#1d5fd0}.incoming-table tbody tr.clickable-row{cursor:pointer}.incoming-table tbody tr.clickable-row:hover td{background:#f4f8ff}.invoice-skeleton-row{pointer-events:none}.invoice-skeleton-row td{height:43px}.invoice-skeleton-line,.invoice-skeleton-pill,.invoice-skeleton-checkbox,.invoice-skeleton-action{display:block;max-width:100%;border-radius:999px;background:linear-gradient(100deg,#e6ebf2 25%,#f7f9fc 43%,#e6ebf2 62%);background-size:260% 100%;animation:invoice-skeleton-shimmer 1.4s ease-in-out infinite}.invoice-skeleton-line{width:72%;height:10px}.invoice-skeleton-line+.invoice-skeleton-line{margin-top:7px}.invoice-skeleton-line.is-short{width:42%}.invoice-skeleton-line.is-medium{width:68%}.invoice-skeleton-line.is-long{width:88%}.invoice-skeleton-pill{width:70px;height:20px}.invoice-skeleton-pill.is-project{width:92px}.invoice-skeleton-checkbox{width:14px;height:14px;margin:0 auto;border-radius:4px}.invoice-skeleton-action{width:26px;height:26px;margin:0 auto;border-radius:7px}.invoice-skeleton-row:nth-child(2n) :is(.invoice-skeleton-line,.invoice-skeleton-pill,.invoice-skeleton-checkbox,.invoice-skeleton-action){animation-delay:-.7s}.receipt-card-skeleton{min-height:82px;cursor:default}.receipt-card-skeleton:hover{border-color:inherit;transform:none}.receipt-card-skeleton .receipt-card-icon{background:transparent}.receipt-card-skeleton .invoice-skeleton-action{margin:0}.receipt-card-skeleton .receipt-card-topline>.invoice-skeleton-line.is-long{width:58%}.receipt-card-skeleton .receipt-card-topline>.invoice-skeleton-line.is-short{width:24%;margin-top:0}.receipt-card-skeleton .receipt-card-meta>.invoice-skeleton-line{width:64%}.receipt-card-skeleton .receipt-card-bottom{gap:8px}@keyframes invoice-skeleton-shimmer{0%{background-position:100% 0}to{background-position:-100% 0}}.incoming-table th:nth-child(1),.incoming-table td:nth-child(1){width:34px}.incoming-table th:nth-child(2),.incoming-table td:nth-child(2){width:42px}.incoming-table th:nth-child(3),.incoming-table td:nth-child(3),.incoming-table th:nth-child(4),.incoming-table td:nth-child(4),.incoming-table th:nth-child(5),.incoming-table td:nth-child(5){width:92px;min-width:92px;white-space:nowrap;overflow-wrap:normal}.incoming-table .date-cell{white-space:nowrap;overflow-wrap:normal}.due-date-cell{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.due-days-badge{display:inline-flex;min-width:24px;height:18px;align-items:center;justify-content:center;padding:0 5px;border-radius:999px;font-size:8px;font-weight:900;line-height:1}.due-days-badge.positive{border:1px solid #a7e0b4;background:#dcfce7;color:#166534}.due-days-badge.negative{border:1px solid #f4b4b4;background:#fee2e2;color:#991b1b}.incoming-table .supplier-cell{width:150px}.incoming-table th:nth-child(7),.incoming-table td:nth-child(7){width:132px;min-width:132px}.incoming-table .project-cell{min-width:0;max-width:none;width:auto;position:relative;overflow:visible}.incoming-table .amount-cell{width:92px}.incoming-table .review-cell{width:78px}.incoming-table .status-cell{width:96px}.incoming-table .actions-cell{width:58px}.invoice-type-badge{display:inline-flex;align-items:center;min-height:22px;padding:3px 8px;border:1px solid #bfdbfe;border-radius:999px;background:#eff6ff;color:#1d4ed8;font-size:11px;font-weight:800;white-space:nowrap}.invoice-type-badge.advance{border-color:#ddd6fe;background:#f5f3ff;color:#6d28d9}.invoice-type-badge.credit_note{border-color:#fed7aa;background:#fff7ed;color:#c2410c}.incoming-table .ai-group-header{padding:5px 7px;border-left:2px solid #bfdbfe;background:#eff6ff}.incoming-table .ai-column-subheaders th{border-left:1px solid #dbeafe;background:#f7faff}.incoming-table .ai-model-column{width:88px}.incoming-table .ai-strategy-column{width:108px}.incoming-table .ai-duration-column{width:76px}.incoming-table .ai-usd-column{width:64px}.incoming-table td.ai-model-column{border-left:2px solid #dbeafe}.incoming-table td,.incoming-table strong,.incoming-table small{overflow-wrap:anywhere}.incoming-table .date-cell,.incoming-table .date-cell strong,.incoming-table .date-cell small{overflow-wrap:normal}.incoming-table .status-badge{width:auto;max-width:92px;min-height:22px;padding:3px 7px;line-height:1.12;white-space:normal}.incoming-review-status{max-width:92px;min-height:22px;padding:3px 7px;line-height:1.12;white-space:normal}.incoming-review-status.not_reviewed{border-color:#d8dee8;background:#f4f7fa;color:#475467}.incoming-review-status small{display:inline-flex;min-width:16px;height:16px;align-items:center;justify-content:center;margin-left:4px;border-radius:999px;background:#b423181f;color:#b42318;font-size:7px;font-weight:900}.project-badge-list{display:flex;flex-wrap:wrap;gap:5px;align-items:center}.project-badge{max-width:100%;min-height:22px;padding:3px 7px;border:1px solid #bcd3f8;border-radius:999px;background:#eef5ff;color:#1d5fd0;font-weight:800;line-height:1.15}.project-badge:hover{border-color:#1d5fd0;background:#dceaff;box-shadow:0 5px 12px #1d5fd01f;transform:translateY(-1px)}.project-badge-popover{position:relative;display:inline-flex;align-items:center}.project-badge-summary{white-space:nowrap}.project-badge-menu{position:absolute;z-index:30;top:calc(100% + 6px);left:0;width:max-content;max-width:300px;display:flex;flex-wrap:wrap;gap:5px;padding:8px;border:1px solid #c7d7ee;border-radius:8px;background:#fff;box-shadow:0 14px 32px #17203329}.invoice-number{display:inline-flex;gap:5px;align-items:center;font-weight:700;white-space:nowrap;overflow-wrap:normal}.invoice-number.duplicate{color:#9b1c1c;font-weight:900}.duplicate-marker{display:inline-flex;width:16px;height:16px;align-items:center;justify-content:center;border:1px solid #f1a7a7;border-radius:999px;background:#fee2e2;color:#9b1c1c;font-size:8px;font-weight:900;line-height:1}.number-cell{text-align:right}.status-badge{display:inline-flex;max-width:180px;min-height:26px;align-items:center;padding:4px 8px;border:1px solid #d8dee8;border-radius:999px;background:#f4f7fa;color:#475467;font-size:8.4px;font-weight:800}.status-badge.needs_review,.status-badge.processing,.status-badge.classifying,.status-badge.awaiting_category_review{border-color:#f3cf86;background:#ffba7a;color:#633e03}.status-badge.queued,.status-badge.awaiting_classification{border-color:#b9d3f5;background:#eef6ff;color:#245fae}.status-badge.ready_for_approval{border-color:#c7b8ff;background:#f3f0ff;color:#5b3db6}.status-badge.extracted,.status-badge.categorized,.status-badge.approved{border-color:#9fd4b5;background:#edf9f1;color:#11643b}.status-badge.error{border-color:#f1aaa4;background:#fff1f0;color:#b42318}.tax-regime-badge{display:inline-flex;align-items:center;width:fit-content;min-height:22px;padding:3px 7px;border:1px solid #cbd5e1;border-radius:999px;background:#f8fafc;color:#475569;font-size:.72rem;font-weight:700;line-height:1.2}.tax-regime-badge.reverse_charge{border-color:#d8b4fe;background:#f3e8ff;color:#6b21a8}.tax-regime-badge.mixed{border-color:#fbbf24;background:#fef3c7;color:#854d0e}.tax-regime-badge.standard{border-color:#a7f3d0;background:#ecfdf5;color:#047857}.tax-regime-badge.exempt{border-color:#bae6fd;background:#f0f9ff;color:#0369a1}.tax-regime-badge.compact{min-height:18px;margin-top:4px;padding:2px 5px;font-size:.68rem;white-space:nowrap}.supplier-vat-status-badge{display:inline-flex;align-items:center;width:fit-content;min-height:22px;padding:3px 7px;border:1px solid #cbd5e1;border-radius:999px;background:#f8fafc;color:#475569;font-size:.72rem;font-weight:700;line-height:1.2}.supplier-vat-status-badge.vat_payer{border-color:#a7f3d0;background:#ecfdf5;color:#047857}.supplier-vat-status-badge.non_vat_payer{border-color:#fdba74;background:#fff7ed;color:#9a3412}.supplier-vat-status-badge.identified_person{border-color:#bfdbfe;background:#eff6ff;color:#1d4ed8}.supplier-vat-status-badge.compact{min-height:18px;margin-top:4px;padding:2px 5px;font-size:.68rem;white-space:nowrap}.party-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:14px}.panel-subsection{display:grid;gap:12px}.compact-header{margin-bottom:0}.project-select{min-width:220px}.project-combobox{display:flex;gap:6px;align-items:center;min-width:220px}.enhanced-project-combobox{position:relative;display:block;width:min(340px,70vw);text-align:left}.project-search-shell{position:relative;display:flex;align-items:center}.project-search-shell>svg:first-child{position:absolute;z-index:1;left:10px;color:#667085;pointer-events:none}.enhanced-project-combobox .project-search{min-height:36px;padding:7px 34px 7px 31px;border-color:#9ebce8;background:#fff;box-shadow:0 0 0 2px #1d5fd00f}.enhanced-project-combobox .project-search:focus{outline:none;border-color:#1d5fd0;box-shadow:0 0 0 3px #1d5fd024}.project-query-clear{position:absolute;right:6px;display:inline-grid;width:25px;height:25px;padding:0;border:0;border-radius:5px;background:transparent;color:#667085;place-items:center}.project-query-clear:hover{background:#edf3fb;color:#174eaa}.project-search-chevron{position:absolute;right:10px;color:#667085;pointer-events:none}.project-search{width:100%;min-width:0;min-height:30px;padding:6px 8px}.project-suggestions{position:absolute;z-index:30;top:calc(100% + 5px);right:0;display:grid;gap:4px;width:max(100%,340px);max-height:250px;overflow-y:auto;padding:6px;border:1px solid #c9d5e5;border-radius:9px;background:#fff;box-shadow:0 14px 32px #1427462e}.project-suggestions--portal{position:fixed;z-index:100;top:auto;right:auto}.project-suggestion{display:grid;gap:2px;width:100%;padding:8px 9px;border:1px solid transparent;border-radius:7px;background:#fff;color:#172033;text-align:left}.project-suggestion:hover,.project-suggestion.active{border-color:#1d5fd0;background:#edf4ff;color:#174eaa}.project-suggestion.current{border-color:#b8d0f4;background:#f4f8ff}.project-suggestion.create{border-top-color:#d8e1ec;color:#174eaa}.project-suggestion-title{display:flex;min-width:0;align-items:center;gap:7px}.project-suggestion-title>strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-current-badge{display:inline-flex;flex:0 0 auto;align-items:center;gap:4px;margin-left:auto;padding:2px 6px;border-radius:999px;background:#dceaff;color:#174eaa;font-size:9px;font-weight:800}.project-suggestion small{color:#667085}.project-suggestions-empty{padding:10px;color:#667085;text-align:center}.invoice-line-group:has(.line-item-row .enhanced-project-combobox) .line-items-table-wrap{position:relative;z-index:20}.delivery-stack:has(.delivery-note-table .enhanced-project-combobox) .delivery-table-wrap{position:relative;z-index:20;overflow:visible}.invoice-detail-modal:has(.line-item-row .enhanced-project-combobox) .invoice-modal-scroll,.invoice-detail-modal:has(.delivery-note-table .enhanced-project-combobox) .invoice-modal-scroll{position:relative;z-index:20}.project-combobox .project-select{width:100%;min-height:32px;padding:6px 8px}.missing-project-combobox{padding:4px;border:1px solid #f3cf86;border-radius:7px;background:#fff7e6}.project-create-inline{display:inline-flex;flex:0 0 30px;align-items:center;justify-content:center;width:30px;height:30px;padding:0;border:1px solid #1d5fd0;border-radius:6px;background:#edf4ff;color:#174eaa}.project-create-inline:hover:not(:disabled){background:#dceaff}.missing-project-control{display:inline-flex;gap:6px;align-items:center;padding:4px 6px;border:1px solid #f3cf86;border-radius:7px;background:#fff7e6;color:#965d00;font-weight:800}.missing-project-select{min-width:190px;border-color:#e9a23b;background:#fffaf0;color:#7a4b00}.delivery-stack,.line-items{display:grid;gap:10px}.invoice-line-group{padding:10px;border:1px solid #d8dee8;border-radius:8px;background:#fff}.invoice-line-group>.line-items{gap:0}.approval-panel{display:grid;gap:10px;padding:12px;border:1px solid #d8dee8;border-radius:8px;background:#fff}.approval-actions{display:flex;flex-wrap:wrap;gap:8px}.batch-approval-bar{position:sticky;z-index:8;top:0;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 12px;border:1px solid #a9c8f5;border-radius:8px;background:#eef5ff;box-shadow:0 4px 12px #184b911a;animation:batch-approval-enter .16s ease-out}@keyframes batch-approval-enter{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.batch-approval-summary{display:grid;gap:2px;min-width:180px}.batch-approval-summary span{color:#526174;font-size:12px}.batch-approval-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px}.approval-select-column{width:48px;min-width:48px;max-width:48px;padding-right:8px!important;padding-left:8px!important;text-align:center}.approval-checkbox{display:inline-grid;width:19px;height:19px;margin:0;appearance:none;place-content:center;border:1.5px solid #9aa9bc;border-radius:5px;background:#fff;box-shadow:0 1px 2px #10182814;cursor:pointer;transition:border-color .12s ease,background-color .12s ease,box-shadow .12s ease}.approval-checkbox:before{width:10px;height:10px;content:"";transform:scale(0);transform-origin:center;clip-path:polygon(14% 44%,0 59%,41% 100%,100% 21%,84% 7%,39% 70%);background:#fff;transition:transform .1s ease-in-out}.approval-checkbox:hover:not(:disabled){border-color:#1768d2;box-shadow:0 0 0 3px #1768d21a}.approval-checkbox:focus-visible{outline:2px solid #1768d2;outline-offset:2px}.approval-checkbox:checked,.approval-checkbox:indeterminate{border-color:#1768d2;background:#1768d2}.approval-checkbox:checked:before,.approval-checkbox:indeterminate:before{transform:scale(1)}.approval-checkbox:indeterminate:before{width:9px;height:2px;clip-path:none;border-radius:999px}.approval-checkbox:disabled{cursor:not-allowed;opacity:.48}@media(max-width:760px){.batch-approval-bar{position:static;align-items:stretch;flex-direction:column}.batch-approval-actions{justify-content:flex-start}}.approval-timeline{display:grid;grid-template-columns:repeat(6,minmax(110px,1fr));gap:8px;padding:0;margin:0;list-style:none}.approval-step{display:grid;grid-template-columns:16px minmax(0,1fr);gap:8px;align-items:start;padding:10px;border:1px solid #d8dee8;border-radius:8px;background:#f9fbfd}.approval-step strong,.approval-step small{display:block}.approval-step small{color:#667085}.approval-dot{width:12px;height:12px;margin-top:2px;border:2px solid #cfd7e2;border-radius:999px;background:#fff}.approval-step.done .approval-dot,.approval-step.current .approval-dot{border-color:#1d5fd0;background:#1d5fd0}.approval-step.current{border-color:#1d5fd0;background:#edf4ff}.approval-step.rejected{border-color:#d92d20;background:#fff1f0}.approval-step.rejected .approval-dot{border-color:#d92d20;background:#d92d20}.approval-warning{padding:8px 10px;border:1px solid #f3cf86;border-radius:7px;background:#fff7e6;color:#965d00;font-weight:800}.extraction-review-panel{display:grid;gap:12px;padding:12px;border:1px solid #d8dee8;border-radius:8px;background:#fff}.extraction-review-panel.is-collapsed{gap:0}.review-toggle-header{display:flex;width:100%;align-items:center;justify-content:space-between;gap:12px;padding:0;border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}.review-toggle-header:hover h3{color:#1d5fd0}.review-panel-body{display:grid;gap:12px}.review-toggle-icon{color:#667085;transition:transform .16s ease}.extraction-review-panel.is-open .review-toggle-icon{transform:rotate(180deg)}.review-summary,.review-form-actions,.review-error-card-header,.review-error-card-header>div,.review-error-meta,.review-error-values{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.review-summary{justify-content:flex-end;color:#667085;font-weight:800}.review-status,.review-score,.severity-badge{display:inline-flex;align-items:center;min-height:22px;padding:4px 8px;border:1px solid #d8dee8;border-radius:999px;background:#f4f7fa;color:#344054;font-size:8.4px;font-weight:900}.review-status.reviewed_ok,.severity-badge.low{border-color:#9fd4b5;background:#edf9f1;color:#11643b}.review-status.reviewed_with_errors,.severity-badge.critical{border-color:#f1aaa4;background:#fff1f0;color:#b42318}.review-status.in_review,.severity-badge.medium{border-color:#f3cf86;background:#fff7e6;color:#633e03}.review-form-grid,.review-error-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:10px;border:1px solid #e7edf5;border-radius:8px;background:#f9fbfd}.review-error-form{grid-template-columns:repeat(4,minmax(0,1fr))}.review-note-field{grid-column:1 / -1}.review-note-field textarea{min-height:70px}.review-form-actions{grid-column:1 / -1;justify-content:flex-end}.review-error-list{display:grid;gap:8px}.review-error-card{display:grid;gap:8px;padding:10px;border:1px solid #f1aaa4;border-radius:8px;background:snow}.review-error-card-header{justify-content:space-between}.review-error-meta,.review-error-values{color:#667085;font-size:8.4px}.review-error-values strong{color:#172033}.review-error-card p{margin:0;color:#344054}.delivery-note-card{overflow:hidden;border:1px solid #d8dee8;border-radius:8px;background:#fff}.delivery-note-summary{display:grid;grid-template-columns:22px minmax(0,1fr) auto;gap:10px;align-items:center;width:100%;padding:12px;border:0;background:#f9fbfd;color:inherit;text-align:left}.delivery-note-summary small{display:block;color:#667085}.chevron{transition:transform .16s ease}.chevron.open{transform:rotate(180deg)}.delivery-note-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) minmax(220px,1fr);gap:8px;align-items:center;padding:10px 12px;border-top:1px solid #d8dee8;color:#475467;font-size:9.1px}.delivery-table-wrap{border:1px solid #cfd7e2;border-radius:7px;background:#fff}.excel-table{border:0;border-radius:0;font-size:9.1px}.excel-table th,.excel-table td{padding:6px 8px;border-right:1px solid #d8dee8;border-bottom:1px solid #d8dee8;vertical-align:middle}.excel-table th:last-child,.excel-table td:last-child{border-right:0}.excel-table th{position:sticky;top:0;z-index:1;background:#eef3f8;color:#344054;font-size:8.4px}.excel-table tbody tr:hover{background:#f7fbff}.delivery-note-table td:first-child,.delivery-note-table th:first-child{width:30px;text-align:center}.delivery-totals-row td{position:sticky;bottom:0;z-index:1;background:#eef6ff;border-top:2px solid #b9d7ff;font-weight:800}.line-totals-row td{background:#f4f8ff;border-top:2px solid #c8dcff;font-weight:800}.missing-project-row{background:#fffaf0}.missing-project-row:hover{background:#fff4d6}.project-table-cell{min-width:220px;text-align:right}.project-chip{display:inline-flex;gap:6px;align-items:center}.group-project-chip{justify-content:flex-end;padding:5px 6px 5px 9px;border:1px solid #b9d2fa;border-radius:8px;background:#f3f7ff;box-shadow:0 1px 3px #1d5fd01a;white-space:nowrap}.group-project-chip:hover{border-color:#8fb6ee;background:#edf4ff}.group-project-label{color:#667085;font-weight:700}.group-project-name{color:#172033;font-weight:800}.line-project-chip{max-width:220px;flex-wrap:wrap}.line-project-chip small{color:#667085;font-size:.78em;font-weight:700}.inherit-project-icon{display:inline-flex;align-items:center;justify-content:center;color:#667085}.line-project-chip.own-project>span{color:#1d5fd0;font-weight:800}.line-project-chip.inherited-project>span{color:#344054}.approval-cell{display:inline-flex;gap:6px;align-items:center;color:#11643b;font-weight:800}.icon-cell-button{display:inline-flex;width:24px;height:24px;align-items:center;justify-content:center;border:1px solid #cfd7e2;border-radius:5px;background:#fff;color:#475467}.icon-cell-button:hover{border-color:#1d5fd0;background:#edf4ff;color:#1d5fd0;box-shadow:0 3px 8px #1d5fd021;transform:translateY(-1px)}.row-action-buttons{display:inline-flex;gap:4px;align-items:center}.danger-icon-button:hover{border-color:#d92d20;background:#fff1f0;color:#b42318;box-shadow:0 3px 8px #d92d2021}.expanded-lines-row td{padding:10px;background:#fbfdff}.status-filter-field{display:grid;gap:4px;min-width:0}.filter-label{color:#475467;font-size:9px;font-weight:800}.status-filter-options{display:flex;min-height:32px;align-items:center;gap:5px;flex-wrap:wrap}.status-filter-badge{min-height:25px;padding:4px 8px;border:1px solid #d8dee8;border-radius:999px;background:#fff;color:#667085;font-size:8.3px;font-weight:800;line-height:1;white-space:nowrap;cursor:pointer;transition:background-color .14s ease,border-color .14s ease,color .14s ease,box-shadow .14s ease,transform .14s ease}.status-filter-badge:hover{border-color:#8eb6f7;background:#f3f7ff;color:#175cd3;transform:translateY(-1px)}.status-filter-badge:focus-visible{outline:2px solid #2e73df;outline-offset:2px}.status-filter-badge.active{border-color:#84adf4;background:#e8f1ff;color:#175cd3;box-shadow:inset 0 0 0 1px currentColor}.status-filter-badge.needs_review.active{border-color:#e49a3a;background:#ffba7a;color:#633e03}.status-filter-badge.ready_for_approval.active{border-color:#b7a3fb;background:#f3f0ff;color:#5b3db6}.status-filter-badge.approved.active,.status-filter-badge.paid.active{border-color:#8bc8a5;background:#e8f7ee;color:#11643b}.status-filter-badge.rejected.active,.status-filter-badge.cancelled.active,.status-filter-badge.duplicate.active{border-color:#eda39d;background:#fff1f0;color:#b42318}.delivery-line-approval-toolbar{display:flex;min-height:38px;align-items:center;justify-content:space-between;gap:12px;margin:0 12px 10px;padding:7px 9px;border:1px solid #cfe0f7;border-radius:5px;background:#f3f7fc}.delivery-line-approval-toolbar .secondary-action{flex:0 0 auto}.compact-lines{padding:0 12px 12px}.modal-backdrop{position:fixed;inset:0;z-index:20;display:grid;align-items:start;justify-items:center;padding:28px;overflow-y:auto;background:#0f172a6b}.modal-panel{width:min(1180px,100%);max-height:calc(100vh - 56px);overflow:auto;padding:18px;border:1px solid #d8dee8;border-radius:8px;background:#fff;box-shadow:0 24px 60px #0f172a3d}.line-approve-action{display:inline-flex;min-height:26px;align-items:center;justify-content:center;gap:5px;padding:4px 9px;border:1px solid #87b69c;border-radius:6px;background:#eef8f2;color:#11643b;font-size:10px;font-weight:800;line-height:1;cursor:pointer;white-space:nowrap}.line-approve-action:hover:not(:disabled){border-color:#4a946a;background:#dff2e7}.line-approve-action:disabled{cursor:wait;opacity:.72}.invoice-detail-modal{display:grid;height:calc(100vh - 56px);grid-template-rows:auto auto minmax(0,1fr) auto;overflow:hidden}.invoice-action-dock{position:relative;z-index:10;padding:10px 64px 10px 12px;border-radius:10px;background:linear-gradient(135deg,#102744,#173b63);box-shadow:0 8px 22px #0f274433}.invoice-mobile-detail-close{position:absolute;top:10px;right:10px;display:inline-flex;width:42px;height:42px;border-color:#bed5f18c;border-radius:13px;background:#ffffff1a;color:#f8fbff}.invoice-top-actions,.invoice-top-actions-buttons{display:flex;align-items:center}.invoice-top-actions{justify-content:space-between;gap:16px;color:#f8fbff}.invoice-top-actions>div:first-child{display:grid;gap:2px}.invoice-top-actions>div:first-child span{color:#c7d7ea;font-size:12px}.invoice-top-actions-buttons{justify-content:flex-end;gap:8px;flex-wrap:wrap}.invoice-action-dock .secondary-action{border-color:#bed5f18c;background:#ffffff1a;color:#f8fbff}.invoice-action-dock .secondary-action:hover:not(:disabled){border-color:#91bcf5;background:#4b89d847}.invoice-modal-scroll{min-height:0;padding:12px 2px 2px;overflow-y:auto;overscroll-behavior:contain}.invoice-approval-dock{z-index:9;max-height:min(42vh,340px);padding:12px;overflow-y:auto;overscroll-behavior:contain;border-top:1px solid #2c5d91;border-radius:10px 10px 0 0;background:linear-gradient(135deg,#102744,#173b63);box-shadow:0 -12px 28px #0f27443d;scrollbar-color:#7699c2 #173352}.invoice-approval-dock .approval-panel{border-color:#bed5f152;background:#05142647;color:#f8fbff}.invoice-approval-dock .approval-panel .muted,.invoice-approval-dock .approval-step small{color:#c7d7ea}.invoice-approval-dock .approval-step{border-color:#bed5f147;background:#ffffff14;color:#f8fbff}.invoice-approval-dock .approval-step.current{border-color:#7db3ff;background:#3174d35c;box-shadow:inset 0 0 0 1px #a9ccff2e}.invoice-approval-dock .approval-dot{border-color:#d7e5f7b3;background:transparent}.invoice-approval-dock .approval-step.done .approval-dot,.invoice-approval-dock .approval-step.current .approval-dot{border-color:#86b8ff;background:#86b8ff}.invoice-approval-dock .approval-step.rejected{border-color:#ff9d96;background:#b130274d}.invoice-approval-dock .approval-step.rejected .approval-dot{border-color:#ff9d96;background:#ff9d96}.modal-header,.modal-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.modal-actions{justify-content:flex-start;flex-wrap:wrap;margin:12px 0 16px}.icon-button{display:inline-flex;width:38px;height:38px;align-items:center;justify-content:center;border:1px solid #d8dee8;border-radius:7px;background:#fff;color:#172033}.icon-button:hover{border-color:#98a2b3;background:#f4f7fa;color:#0f172a;box-shadow:0 4px 10px #0f172a1f;transform:translateY(-1px)}.party-box,.project-row,.issue{display:grid;gap:4px;padding:12px;border:1px solid #d8dee8;border-radius:8px;background:#f9fbfd}.correction-form,.party-edit-form,.line-edit-form{display:grid;gap:8px}.invoice-summary-groups{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(300px,1.2fr);gap:10px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.readonly-group{display:grid;gap:8px;padding:10px;border:1px solid #d8dee8;border-radius:8px;background:#fff}.readonly-group.wide{grid-column:1 / -1}.readonly-group h4{margin:0;color:#344054;font-size:9.1px;font-weight:900}.readonly-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.readonly-group .readonly-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.readonly-group.wide .readonly-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.readonly-field,.readonly-value{padding:10px;border:1px solid #d8dee8;border-radius:7px;background:#f9fbfd}.readonly-field{display:grid;gap:4px}.readonly-field span{color:#667085;font-size:8.4px;font-weight:800}.correction-form{padding:12px;border:1px solid #d8dee8;border-radius:8px;background:#f9fbfd}.correction-form.nested{margin:10px 12px}.correction-grid,.two-field-grid{display:grid;gap:10px}.correction-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.two-field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.line-items input,.line-items textarea{min-width:110px;padding:7px 8px;font-size:9.1px}.line-items textarea{min-width:220px}.line-edit-form{min-width:140px}.project-row-button{width:100%;color:inherit;text-align:left}.project-row-button:hover{border-color:#1d5fd0;background:#edf4ff;box-shadow:0 4px 12px #1d5fd01f;transform:translateY(-1px)}.project-detail-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:14px}.project-detail-fixed-block{position:relative;z-index:8;flex:0 0 auto;background:#fff;box-shadow:0 8px 18px #0f172a0d}.project-detail-fixed-block .project-detail-summary{margin:0;padding:0 16px 14px}.project-invoice-stack{display:grid;gap:12px}.project-invoices-section{display:grid;gap:8px;margin-top:16px}.project-invoice-table-heading{margin:0}.project-invoice-table-wrap{border:1px solid #cfd7e2;border-radius:7px;background:#fff}.project-invoice-table{min-width:980px}.project-invoice-table th{white-space:nowrap}.project-invoice-row{cursor:pointer;transition:background-color .12s ease,box-shadow .12s ease}.project-invoice-row:hover,.project-invoice-row.open{background:#edf4ff}.project-invoice-row:focus-visible{position:relative;z-index:1;outline:2px solid #1d5fd0;outline-offset:-2px}.project-invoice-expand-column{width:34px;min-width:34px;padding-right:4px!important;padding-left:4px!important;text-align:center}.project-invoice-expand-button{display:inline-flex;width:24px;height:24px;align-items:center;justify-content:center;border:0;border-radius:4px;background:transparent;color:#475467}.project-invoice-expand-button:hover{background:#dce9fb;color:#174ea6}.project-invoice-expand-icon{transition:transform .16s ease}.project-invoice-expand-icon.open{transform:rotate(90deg)}.project-invoice-items-row>td{padding:0;border-right:0;background:#f7f9fc}.project-invoice-items-row:hover>td{background:#f7f9fc}.project-invoice-items-wrap{padding:10px 12px 12px 38px;overflow-x:auto}.project-invoice-items-table{min-width:860px;border:1px solid #d8dee8;background:#fff}.project-invoice-items-table th{background:#e8eef6}.project-invoice-item-description{min-width:180px;max-width:320px;white-space:normal}.project-invoice-items-empty{padding:14px 16px 14px 38px;color:#667085;font-size:9.1px}.project-invoice-card{display:grid;gap:10px;padding:12px;border:1px solid #d8dee8;border-radius:8px;background:#fff}.project-invoice-header{display:flex;width:100%;align-items:flex-start;justify-content:space-between;gap:12px;padding:0;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer}.project-invoice-header:hover{color:#1d5fd0}.project-invoice-header small{display:block;color:#667085}.party-box span,.project-row span,.project-row small,.issue span{color:#667085}.issue.error{border-color:#f1aaa4;background:#fff1f0}.issue.warning{border-color:#f3cf86;background:#fff7e6}.notice{display:flex;gap:8px;margin-bottom:14px;padding:10px 12px}.notice.success{border-color:#9fd4b5;color:#11643b;background:#edf9f1}.notice.error{border-color:#f1aaa4;color:#b42318;background:#fff1f0}.empty-state{display:grid;min-height:180px;place-items:center;color:#667085;text-align:center}.empty-state.small{min-height:88px}.empty-state.compact-empty{min-height:54px;padding:10px}.spin{animation:spin 1s linear infinite}.comparison-table small{display:block;margin-top:2px;color:#667085;font-size:.6rem}.comparison-detail-row>td{padding:0;background:#fbfcff}.comparison-detail-table{width:100%;border-collapse:collapse;font-size:.66rem}.comparison-detail-table th,.comparison-detail-table td{border:1px solid #d9e2ef;padding:8px 10px;text-align:left;vertical-align:top}.comparison-detail-table th{background:#eef3f9;color:#475467;font-weight:800}.comparison-detail-table tr.mismatch td{background:#fff3e8}.comparison-detail-table tr.mismatch td:nth-child(2),.comparison-detail-table tr.mismatch td:nth-child(3){color:#633e03;font-weight:800}.comparison-detail-table tr.match td{background:#f7fbf9}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:980px){.app-frame,.split-workspace,.documents-layout,.settings-grid,.projects-page-grid,.stats-grid,.stats-grid.small,.task-tiles,.invoice-summary-groups,.party-grid,.delivery-note-meta,.readonly-grid,.readonly-group .readonly-grid,.readonly-group.wide .readonly-grid,.project-detail-summary,.approval-timeline,.correction-grid,.two-field-grid{grid-template-columns:1fr}.nav-panel{position:static;height:auto}.content-shell{width:calc(100% - 24px)}.invoice-filter-bar,.project-filter-bar,.document-filter-bar.compact-list-filter{grid-template-columns:1fr}.list-result-count{justify-self:start;padding-bottom:0}.projects-table-wrap{max-height:none}.topbar,.section-header,.overview-welcome{align-items:flex-start;flex-direction:column}}.auth-shell{min-height:100vh;display:grid;place-items:center;padding:24px;background:#eef3f8}.reclamation-panel{border-color:#f3cf86;background:#fffdf7}.reclamation-timeline{grid-template-columns:repeat(3,minmax(140px,1fr))}.reclamation-notes{display:grid;gap:6px}.reclamation-note{padding:9px 10px;border:1px solid #e2e7ef;border-radius:6px;background:#fff}.reclamation-note>div{display:flex;justify-content:space-between;gap:12px}.reclamation-note p{margin:5px 0 0;white-space:pre-wrap}.reclamation-note-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end}.approval-cell-actions{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}.approval-cell.rejected,.danger-icon-button{color:#b42318}.delivery-approval-cell{min-width:190px;white-space:nowrap}.delivery-approval-actions,.approval-decision{display:flex;align-items:center;gap:5px;flex-wrap:nowrap}.decision-audit{position:relative;display:inline-flex;width:22px;height:22px;align-items:center;justify-content:center;flex:0 0 auto;border:1px solid #cfd7e2;border-radius:50%;background:#fff;color:#526174;cursor:help}.decision-audit:after{position:absolute;z-index:40;right:0;bottom:calc(100% + 7px);width:max-content;max-width:260px;padding:7px 9px;border-radius:5px;background:#172033;color:#fff;box-shadow:0 5px 14px #0f172a38;content:attr(data-tooltip);font-size:11px;font-weight:600;line-height:1.45;opacity:0;pointer-events:none;transform:translateY(3px);transition:opacity .12s ease,transform .12s ease;white-space:pre-line}.decision-audit:hover:after,.decision-audit:focus-visible:after{opacity:1;transform:translateY(0)}.rejection-cell{display:inline-flex;align-items:center;gap:5px;color:#b42318;font-weight:800}.delivery-approval-actions .compact-danger,.delivery-approval-actions .compact-action{white-space:nowrap}.auth-panel{width:min(440px,100%);display:grid;gap:16px;padding:24px;background:#fff;border:1px solid #d9e2ec;border-radius:8px;box-shadow:0 16px 40px #18274b1f}.auth-panel h1,.auth-panel p{margin:0}.auth-panel label{display:grid;gap:6px;font-weight:700}.auth-brand{padding-bottom:12px;border-bottom:1px solid #e5ebf1;justify-items:center;text-align:center}.auth-brand span{font-size:12.5px}.auth-brand strong{font-size:23px}.current-user-card{display:grid;gap:4px;margin-top:auto;padding:12px;border:1px solid #dce5ee;border-radius:6px;background:#f8fafc}.current-user-card small{color:#66758a}.impersonation-badge{width:fit-content;padding:3px 6px;border:1px solid #e6b94a;border-radius:4px;background:#fff7df;color:#704b00;font-size:10px;font-weight:800}.impersonation-picker{display:grid;gap:4px;margin-top:6px}.impersonation-picker>span{display:inline-flex;align-items:center;gap:5px;color:#526174;font-size:10px;font-weight:800}.impersonation-picker select{width:100%;min-width:0;height:30px;padding:4px 6px;border:1px solid #cfd9e5;border-radius:4px;background:#fff;font-size:10px}.current-user-card button{margin-top:6px}.users-management-panel{width:100%;min-width:0}.users-management-header>div{display:flex;align-items:baseline;gap:10px}.users-management-header span{color:#66758a;font-size:10px}.user-filter-bar{display:grid;grid-template-columns:minmax(220px,1.5fr) minmax(150px,.7fr) minmax(170px,.8fr) auto;gap:8px;align-items:end;margin:10px 0;padding:10px;border:1px solid #dce5ef;border-radius:6px;background:#f8fafc}.user-filter-bar label{display:grid;gap:4px;color:#475569;font-size:9px;font-weight:800}.processing-inline.queued-inline{color:#245fae}.user-filter-bar input,.user-filter-bar select{width:100%;min-width:0;height:32px}.user-search-field>div{position:relative}.user-search-field svg{position:absolute;top:9px;left:9px;color:#718096;pointer-events:none}.user-search-field input{padding-left:30px}.users-table-wrap{overflow-x:auto}.users-table{min-width:820px}.users-table th:last-child,.users-table td:last-child{width:38px;text-align:right}.user-identity-cell{display:flex;align-items:center;gap:8px}.user-avatar{display:inline-grid;flex:0 0 28px;width:28px;height:28px;place-items:center;border-radius:50%;background:#e7f0ff;color:#1f62c7;font-size:9px;font-weight:900}.user-avatar.large{flex-basis:42px;width:42px;height:42px;font-size:13px}.user-role-badge,.user-status-badge,.user-project-count{display:inline-flex;align-items:center;width:fit-content;padding:3px 7px;border:1px solid #d8e1eb;border-radius:999px;background:#f6f8fb;color:#425168;font-size:9px;font-weight:800;white-space:nowrap}.user-role-badge.superadmin{border-color:#c8b8ff;background:#f0ecff;color:#5637a8}.user-role-badge.owner{border-color:#b8d2fa;background:#eaf2ff;color:#195bb7}.user-role-badge.controller{border-color:#c5d3e3;background:#f1f5f9}.user-role-badge.site_manager{border-color:#b8dfcb;background:#ebf8f1;color:#17603d}.user-status-badge.active{border-color:#a9ddc0;background:#eaf8f0;color:#17603d}.user-status-badge.pending_activation{border-color:#f1cf8d;background:#fff6df;color:#76500a}.user-status-badge.inactive{border-color:#d7dee7;background:#f1f3f6;color:#657184}.user-form-modal{width:min(520px,calc(100vw - 28px))}.user-detail-modal{width:min(760px,calc(100vw - 28px))}.user-modal-form,.user-detail-content{display:grid;gap:12px;padding-top:14px}.user-modal-form label{display:grid;gap:4px;font-weight:800}.user-activation-info,.user-readonly-notice{display:flex;align-items:flex-start;gap:8px;padding:10px;border:1px solid #c9d9ee;border-radius:6px;background:#eef5ff;color:#344b68}.modal-actions{display:flex;justify-content:flex-end;gap:8px}.user-detail-heading{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;gap:10px;align-items:center}.user-detail-heading h2{margin:1px 0 2px}.user-detail-heading>div:nth-child(2)>span:last-child{color:#66758a}.user-detail-tabs{display:flex;gap:2px;margin-top:14px;border-bottom:1px solid #d9e2ec}.user-detail-tabs button{padding:8px 10px;border:0;border-bottom:2px solid transparent;background:transparent;color:#526174;font-weight:800}.user-detail-tabs button.active{border-bottom-color:#2468d7;color:#1557b7}.user-active-toggle{display:flex!important;grid-template-columns:none;align-items:center;gap:7px!important}.user-active-toggle input{width:15px;height:15px}.user-setting-switch{display:flex!important;grid-template-columns:none!important;align-items:center;justify-content:space-between;gap:16px!important;min-height:52px;padding:8px 10px;border:1px solid #d8e1e9;border-radius:12px;background:#f9fbfc;cursor:pointer}.user-setting-switch-title{color:#253f35;font-size:.78rem;font-weight:850}.user-setting-switch-control{position:relative;flex:0 0 auto;display:inline-flex}.user-setting-switch-control input{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;opacity:0}.user-setting-switch-track{position:relative;display:inline-flex;width:112px;height:34px;align-items:center;justify-content:flex-end;padding:0 10px;overflow:hidden;border:1px solid #d0645b;border-radius:999px;background:#c94f46;color:#fff;font-size:.65rem;font-weight:900;line-height:1;transition:background-color .16s ease,border-color .16s ease}.user-setting-switch-track:before{content:"";position:absolute;top:3px;left:3px;width:26px;height:26px;border-radius:50%;background:#fff;box-shadow:0 2px 7px #53191440;transition:transform .18s ease}.user-setting-switch-track:after{content:"Vypnuto"}.user-setting-switch-control input:checked+.user-setting-switch-track{justify-content:flex-start;border-color:#279466;background:#218b5d}.user-setting-switch-control input:checked+.user-setting-switch-track:before{transform:translate(78px);box-shadow:0 2px 7px #124a3040}.user-setting-switch-control input:checked+.user-setting-switch-track:after{content:"Zapnuto"}.user-setting-switch-control input:focus-visible+.user-setting-switch-track{outline:3px solid rgba(40,120,232,.24);outline-offset:2px}.user-setting-switch.disabled{cursor:not-allowed;opacity:.55}.user-hide-action{margin-right:auto}.user-role-summary{display:flex;align-items:center;gap:10px}.user-role-summary p{margin:0;color:#66758a}.user-permission-list{display:grid;gap:7px;margin:0;padding:0;list-style:none}.user-permission-list li{display:flex;gap:7px;align-items:center;padding:8px;border-bottom:1px solid #e4eaf0}.user-permission-list svg{color:#258451}.user-project-list{display:flex;flex-wrap:wrap;gap:6px}.user-project-list>span{padding:5px 8px;border:1px solid #bdd5f8;border-radius:999px;background:#edf5ff;color:#1d61bc;font-weight:800}.user-activity-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.user-activity-grid>div{display:grid;gap:4px;padding:10px;border:1px solid #dde5ee;border-radius:6px}.user-activity-grid span:first-child{color:#66758a;font-size:9px;font-weight:800}.user-email{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.field-help{color:#66758a}@media(max-width:1100px){.user-filter-bar{grid-template-columns:1fr 1fr}}@media(max-width:680px){.user-filter-bar,.user-activity-grid,.two-field-grid{grid-template-columns:1fr}.user-detail-heading{grid-template-columns:auto 1fr auto}.user-detail-heading>.user-status-badge{grid-column:1 / -1}.user-detail-tabs{overflow-x:auto}.user-detail-tabs button{white-space:nowrap}.modal-actions{flex-direction:column-reverse}}@media(max-width:980px){.reclamation-timeline,.reclamation-note-form{grid-template-columns:1fr}}.nav-panel{display:flex;flex-direction:column;border-right-color:#202833;background:#0c1118;color:#f8fafc}.nav-panel .brand strong{color:#fff}.nav-panel .brand span{color:#8e9bad}.nav-panel nav button{color:#c7d0dc}.nav-panel nav button:hover{background:#19222e;color:#fff}.nav-panel nav button.active{background:#1c3151;color:#fff;box-shadow:inset 3px 0 #4f8ff7}.nav-panel .nav-group-divider{background:#c7d0dc29}.nav-panel .mode-toggle{border-color:#2a3442;background:#121923}.nav-panel .mode-toggle button{color:#aab5c3}.nav-panel .mode-toggle button.active{background:#173b2d;color:#bdf4d4;box-shadow:inset 0 0 0 1px #327456}.nav-panel .mode-toggle button:hover:not(:disabled){background:#202a37;color:#fff}.nav-panel .current-user-card{border-color:#2a3442;background:#121923;color:#f8fafc}.nav-panel .current-user-card small{color:#97a4b5}.nav-panel .impersonation-picker>span{color:#b8c2cf}.nav-panel .impersonation-picker select{border-color:#354151;background:#0c1118;color:#f8fafc}.nav-panel .current-user-card .secondary-action,.nav-panel .current-user-card .link-button{border-color:#3a485b;background:#18212c;color:#e7edf5}.nav-panel .current-user-card .secondary-action:hover,.nav-panel .current-user-card .link-button:hover{border-color:#5d7491;background:#243140;color:#fff}.topbar{min-height:48px;padding-bottom:12px;border-bottom:1px solid #dce3eb}.topbar-title h1{margin:0;font-size:20px}.topbar-icon-button{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;padding:0;border:1px solid #c7d4e3;border-radius:7px;background:#fff;color:#245fae}.topbar-icon-button:hover:not(:disabled){border-color:#7ca9e8;background:#edf5ff;color:#174eaa}.topbar-icon-button:disabled{cursor:wait;opacity:.65}.topbar-operation{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:0 9px;border:1px solid #b9d3f5;border-radius:6px;background:#eef6ff;color:#245fae;font-size:9px;font-weight:800;white-space:nowrap}.topbar-operation.ai-running{border-color:#9fc2f2;background:#edf5ff;color:#174eaa}.topbar-operation{cursor:pointer}.topbar-operation.queue-idle{border-color:#d6dee8;background:#fff;color:#526174}.extraction-queue-menu{position:relative}.queue-idle-icon{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:#eef2f6;color:#667085}.queue-count{display:inline-flex;min-width:18px;height:18px;align-items:center;justify-content:center;padding:0 5px;border-radius:999px;background:#1d64c8;color:#fff;font-size:8px}.extraction-queue-panel{position:absolute;z-index:80;top:calc(100% + 8px);right:0;width:min(390px,calc(100vw - 28px));overflow:hidden;border:1px solid #d7e0eb;border-radius:7px;background:#fff;box-shadow:0 14px 34px #1720332e}.extraction-queue-header{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border-bottom:1px solid #e4eaf1;background:#f8fafc}.extraction-queue-header span,.queue-item-copy{display:grid;gap:2px;min-width:0}.extraction-queue-header strong{font-size:11px}.extraction-queue-header small,.queue-item-copy small{color:#667085;font-size:9px}.extraction-queue-list{max-height:360px;overflow-y:auto}.extraction-queue-item{display:grid;grid-template-columns:28px minmax(0,1fr) 28px;gap:8px;align-items:center;padding:10px 12px;border-bottom:1px solid #edf0f4}.extraction-queue-item.running{background:#f5f9ff}.queue-item-icon{display:inline-flex;width:26px;height:26px;align-items:center;justify-content:center;border-radius:50%;background:#e8f2ff;color:#245fae}.queue-item-copy strong{overflow:hidden;color:#172033;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.queue-cancel-button{display:inline-flex;width:26px;height:26px;align-items:center;justify-content:center;padding:0;border:1px solid #e1e7ee;border-radius:6px;background:#fff;color:#667085}.queue-cancel-button:hover:not(:disabled){border-color:#f0a09a;background:#fff4f3;color:#b42318}.queue-empty-state{display:flex;gap:8px;align-items:center;justify-content:center;padding:24px 14px;color:#667085;font-size:10px}.ai-pulse-icon{position:relative;display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;background:#dcecff;color:#1d64c8}.ai-pulse-icon:before,.ai-pulse-icon:after{position:absolute;inset:0;border:1px solid #4f8ff7;border-radius:50%;content:"";pointer-events:none;animation:ai-pulse-ring 1.8s ease-out infinite}.ai-pulse-icon:after{animation-delay:.9s}.ai-pulse-icon svg{position:relative;z-index:1;animation:ai-sparkle-breathe 1.8s ease-in-out infinite}@keyframes ai-pulse-ring{0%{opacity:.65;transform:scale(.78)}75%,to{opacity:0;transform:scale(1.65)}}@keyframes ai-sparkle-breathe{0%,to{transform:scale(.92)}50%{transform:scale(1.08)}}@media(prefers-reduced-motion:reduce){.ai-pulse-icon:before,.ai-pulse-icon:after,.ai-pulse-icon svg{animation:none}.invoice-loading-meta .spin,.invoice-skeleton-line,.invoice-skeleton-pill,.invoice-skeleton-checkbox,.invoice-skeleton-action{animation:none}.invoice-loading-label{transition:none}.batch-approval-bar,.approval-checkbox,.approval-checkbox:before,.data-table--line-items .line-item-row td{animation:none;transition:none}}.topbar-mode .mode-toggle{grid-template-columns:auto auto;margin:0;padding:3px;border-radius:7px}.topbar-mode .mode-toggle button{min-height:30px;padding:0 9px;white-space:nowrap}.topbar-user-menu{position:relative}.topbar-user-trigger{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;min-height:42px;padding:4px 8px 4px 5px;border:1px solid transparent;border-radius:7px;background:transparent;color:#172033;text-align:left}.topbar-user-trigger:hover,.topbar-user-trigger.active{border-color:#c7d4e3;background:#fff}.topbar-avatar{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;flex:0 0 32px;border-radius:50%;background:#1c3151;color:#fff;font-size:10px;font-weight:900}.topbar-avatar.large{width:40px;height:40px;flex-basis:40px;font-size:12px}.topbar-user-copy,.user-menu-header>span:last-child{display:grid;min-width:0}.topbar-user-copy strong{overflow:hidden;max-width:150px;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.topbar-user-copy small,.user-menu-header small{color:#66758a;font-size:8.5px}.user-menu-panel{position:absolute;top:calc(100% + 8px);right:0;z-index:45;width:290px;padding:8px;border:1px solid #d8e0e9;border-radius:8px;background:#fff;box-shadow:0 18px 45px #1720332e}.user-menu-header{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;align-items:center;padding:7px}.user-menu-header strong,.user-menu-header small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-menu-impersonation{display:grid;gap:7px;margin-top:6px;padding:8px;border:1px solid #f1cf83;border-radius:6px;background:#fff8e8}.user-menu-switcher{display:grid;gap:5px;margin-top:7px;padding:8px;border-radius:6px;background:#f4f7fa}.user-menu-switcher>span{display:inline-flex;align-items:center;gap:5px;color:#475467}.user-menu-switcher select{width:100%}.user-menu-divider{height:1px;margin:7px 0;background:#e3e8ee}.user-menu-action{display:flex;align-items:center;gap:9px;width:100%;min-height:35px;padding:7px 9px;border:0;border-radius:6px;background:transparent;color:#344054;font-weight:750;text-align:left}.user-menu-action:hover:not(:disabled){background:#eef4fc;color:#174eaa}.user-menu-action.danger{color:#b42318}.user-menu-action.danger:hover:not(:disabled){background:#fff1f0;color:#912018}.user-menu-action:disabled{cursor:not-allowed;opacity:.45}.compact-modal{width:min(520px,calc(100vw - 28px));max-height:min(720px,calc(100vh - 28px))}.profile-readonly-grid{grid-template-columns:1fr}.email-client-shell{display:grid;grid-template-columns:minmax(280px,35%) minmax(0,1fr);height:clamp(480px,calc(100vh - 280px),680px);overflow:hidden;border:1px solid #d8e1ee;border-radius:8px;background:#fff}.project-costs-panel{display:grid;gap:14px;padding:16px;border:1px solid #cbd8e8;border-radius:16px;background:#f8fbff}.project-costs-heading{align-items:flex-start}.project-costs-heading h3,.project-costs-heading p{margin:0}.project-costs-heading p{margin-top:4px}.project-cost-warning{display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border:1px solid #f59e0b;border-radius:999px;background:#fffbeb;color:#92400e;font-size:12px;font-weight:800}.project-cost-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.project-cost-kpis article{display:grid;gap:5px;min-width:0;padding:13px;border:1px solid #bbd0e8;border-radius:12px;background:#fff}.project-cost-kpis article.pending{border-color:#fdba74;background:#fff7ed}.project-cost-kpis article.primary{border-color:#7caaf0;background:#edf4ff;box-shadow:0 8px 18px #1d5fd01a}.project-cost-kpis article.paid{border-color:#86efac;background:#f0fdf4}.project-cost-kpis article.unpaid{border-color:#f9a8d4;background:#fdf2f8}.project-cost-kpis article>span,.project-cost-kpis article>small{color:#64748b;font-size:11px;font-weight:700}.project-cost-kpis article>strong{color:#102a4c;font-size:16px}.project-cost-amount-list{display:inline-grid;justify-items:end;gap:2px;white-space:nowrap}.project-cost-source-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.project-cost-source-summary>article{display:grid;gap:4px;min-width:0;padding:9px 10px;border:1px solid #d5dfeb;border-radius:9px;background:#fff;color:#526177;font-size:11px}.project-cost-source-summary>article>span{font-weight:700}.project-cost-source-summary>article>strong{color:#102a4c;font-size:13px}.project-cost-filters{display:grid;gap:0}.project-cost-filter-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:6px}.project-cost-filter-heading>strong{color:#344054;font-size:10px;font-weight:850}.project-cost-filter-heading>span{color:#64748b;font-size:10px;font-weight:700}.project-cost-filter-group{padding:8px 0}.project-cost-filter-group+.project-cost-filter-group{border-top:0}.project-cost-filter-group>.filter-label{color:#526177}.project-cost-state-filter.included.active{border-color:#86efac;background:#dcfce7;color:#166534}.project-cost-state-filter.pending.active{border-color:#fdba74;background:#fff7ed;color:#c2410c}.project-cost-source-filter.active{border-color:#93c5fd;background:#eff6ff;color:#1d4ed8}.project-cost-table-wrap{max-height:410px;position:relative;overflow:auto;scrollbar-gutter:stable;border:1px solid #d5dfeb;border-radius:12px}.project-cost-table{min-width:900px;overflow:visible}.project-cost-table thead{position:static}.project-cost-table thead th{position:sticky;top:0;z-index:5;background:#f3f6fa;box-shadow:inset 0 -1px #d5dfeb,0 2px 5px #0f172a14}.project-cost-table .table-cell--actions{width:92px;min-width:92px;text-align:right}.project-cost-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px}.project-cost-change-project-button{color:#1d5fd0;border-color:#a9caf5;background:#fff}.project-cost-project-backdrop{position:fixed;inset:0;z-index:1100;display:grid;place-items:center;padding:24px;background:#0d1b2a7a;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.project-cost-project-dialog{width:min(460px,100%);display:grid;gap:14px;padding:24px;border:1px solid #d7e2ee;border-radius:16px;background:#fff;box-shadow:0 24px 70px #142b463d}.project-cost-project-dialog h3{margin:4px 0 6px;font-size:1.25rem}.project-cost-project-dialog p{margin:0;color:#607086;line-height:1.5}.project-cost-project-dialog select{width:100%}.project-cost-project-dialog-actions{display:flex;justify-content:flex-end;gap:10px;padding-top:4px}.project-cost-row{cursor:pointer}.project-cost-row:hover td{background:#f2f7ff}.project-cost-row:focus-visible{outline:2px solid #2e73df;outline-offset:-2px}.project-cost-entry-detail{display:grid;gap:14px}.project-detail-title{margin:3px 0 16px;font-size:clamp(1rem,1.3vw,1.35rem);font-weight:900;line-height:1.04;letter-spacing:-.035em}.project-cost-detail-back{display:inline-flex;align-items:center;justify-self:start;gap:7px;padding:7px 10px;border:1px solid #b9c9dc;border-radius:9px;background:#fff;color:#175cd3;font-weight:800}.project-cost-detail-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:16px;border:1px solid #cddbea;border-radius:14px;background:linear-gradient(135deg,#f8fbff,#edf5ff)}.project-cost-detail-hero h3,.project-cost-detail-hero p{margin:0}.project-cost-detail-hero p{margin-top:4px;color:#64748b}.project-cost-detail-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.project-cost-detail-facts>div{display:grid;gap:4px;padding:11px 12px;border:1px solid #d8e2ee;border-radius:11px;background:#fff}.project-cost-detail-facts span{color:#64748b;font-size:10px;font-weight:800;text-transform:uppercase}.project-cost-detail-facts strong{color:#102a4c}.project-cost-detail-sections{display:grid;gap:12px}.project-cost-document-group{overflow:hidden;border:1px solid #d5dfeb;border-radius:12px;background:#fff}.project-cost-document-group>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-bottom:1px solid #e2e8f0;background:#f8fafc}.project-cost-document-group h4{margin:1px 0 0}.project-cost-document-group>header>span{color:#64748b;font-size:11px;font-weight:750}.project-cost-detail-table-wrap{overflow-x:auto}.project-cost-detail-table{min-width:760px}.project-cost-detail-empty{padding:28px;border:1px dashed #cbd5e1;border-radius:12px;color:#64748b;text-align:center}.project-cost-detail-actions{display:flex;justify-content:flex-end;gap:9px;padding-top:4px}.project-cost-detail-actions .secondary-action{display:inline-flex;align-items:center;gap:7px;text-decoration:none}.project-cost-state{display:inline-flex;padding:5px 8px;border:1px solid #86efac;border-radius:999px;background:#f0fdf4;color:#166534;font-size:11px;font-weight:850;white-space:nowrap}.project-cost-state.pending{border-color:#fdba74;background:#fff7ed;color:#9a3412}.project-cost-state.open_advance{border-color:#93c5fd;background:#eff6ff;color:#1d4ed8}.project-cost-estimate{display:block;margin-top:3px;color:#b45309;font-size:10px}.empty-table-cell{padding:28px!important;color:#64748b;text-align:center}@media(max-width:1100px){.project-overview-tiles,.project-cost-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.project-cost-source-summary{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:720px){.project-overview-tiles,.project-cost-kpis,.project-cost-source-summary,.project-cost-filters{grid-template-columns:1fr}.project-cost-filter-group .status-filter-options{flex-wrap:nowrap;padding-bottom:3px;overflow-x:auto;scrollbar-width:none}.project-cost-filter-group .status-filter-options::-webkit-scrollbar{display:none}.project-cost-detail-hero{align-items:stretch;flex-direction:column}.project-cost-detail-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.project-cost-detail-actions{align-items:stretch;flex-direction:column}.project-cost-detail-actions .secondary-action{justify-content:center}}.invoice-relations-panel{border:1px solid #cfdceb;background:#f8fbff}.invoice-relations-panel.needs-attention{border-color:#f0ad4e;background:#fffaf2}.relation-panel-toggle{display:inline-flex;align-items:center;gap:9px;padding:0;border:0;background:transparent;color:inherit;text-align:left}.relation-panel-toggle>span{display:grid;gap:2px}.relation-panel-toggle small{color:var(--muted)}.settlement-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:12px 0}.invoice-relation-list{display:grid;gap:8px}.invoice-relation-row{display:grid;grid-template-columns:auto minmax(180px,1fr) auto auto auto;align-items:center;gap:10px;padding:10px 12px;border:1px solid #dbe5f0;border-radius:8px;background:#fff}.invoice-relation-row>span:nth-child(2){display:grid;gap:2px}.invoice-relation-row small{color:var(--muted)}.relation-status{padding:3px 7px;border-radius:999px;background:#edf2f7;font-size:11px;font-weight:700}.relation-status.confirmed{background:#dcfce7;color:#166534}.relation-status.proposed{background:#fef3c7;color:#92400e}.relation-allocations{grid-column:2 / -1}.invoice-relation-form{display:grid;gap:12px;margin-top:14px;padding:14px;border:1px solid #c8d7e8;border-radius:9px;background:#fff}.invoice-relation-form h4{margin:0}.relation-allocation-editor,.relation-allocation-row{display:grid;gap:8px}.relation-allocation-row{grid-template-columns:minmax(180px,1fr) minmax(130px,.5fr) auto}@media(max-width:760px){.settlement-summary-grid{grid-template-columns:1fr 1fr}.invoice-relation-row{grid-template-columns:auto minmax(0,1fr) auto}.invoice-relation-row>strong,.invoice-relation-row>.relation-status,.relation-allocations{grid-column:2 / -1}.relation-allocation-row{grid-template-columns:1fr}}@media(max-width:760px){.invoice-workspace{min-width:0}.invoice-workspace-tabs{flex-wrap:nowrap;gap:4px;margin:0 0 12px;padding:4px;overflow-x:auto;border-radius:14px;scrollbar-width:none}.invoice-workspace-tabs::-webkit-scrollbar{display:none}.invoice-workspace-tabs button{flex:1 0 auto;min-height:40px;padding:8px 12px;white-space:nowrap}.incoming-panel{padding:12px;border-radius:18px}.incoming-panel>.section-header{align-items:flex-end;margin-bottom:10px}.incoming-panel>.section-header h2{font-size:1.25rem}.invoice-mobile-filter-toggle{display:grid;grid-template-columns:auto 1fr auto auto;align-items:center;gap:9px;width:100%;min-height:46px;padding:10px 12px;border:1px solid #d4ded7;border-radius:13px;background:#f8fbf8;color:#234638;font-weight:800;text-align:left}.invoice-mobile-filter-toggle strong:empty{display:none}.invoice-mobile-filter-toggle strong{min-width:22px;padding:3px 7px;border-radius:999px;background:#155d42;color:#fff;font-size:.7rem;text-align:center}.invoice-mobile-filter-toggle .open{transform:rotate(180deg)}.incoming-panel .invoice-filter-bar{display:none;margin:8px 0 12px;padding:12px;border-radius:13px}.incoming-panel .invoice-filter-bar.mobile-open{display:flex}.invoice-filter-heading{align-items:center}.invoice-filter-primary,.invoice-filter-secondary{grid-template-columns:minmax(0,1fr)}.invoice-filter-status{margin-right:-12px;margin-left:-12px;padding:10px 12px}.status-filter-options{flex-wrap:nowrap;padding-bottom:3px;overflow-x:auto;scrollbar-width:none}.status-filter-options::-webkit-scrollbar{display:none}.status-filter-badge{flex:0 0 auto}.incoming-table-wrap{overflow:visible}.incoming-table{display:block;width:100%;border:0;background:transparent}.incoming-table thead{display:none}.incoming-table tbody{display:grid;gap:11px}.incoming-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 14px;width:100%;padding:13px;overflow:hidden;border:1px solid #dce5df;border-radius:16px;background:#fff;box-shadow:0 7px 22px #23463812}.incoming-table tbody tr.clickable-row:active{border-color:#8fb9a5;background:#f2f8f4;transform:scale(.99)}.incoming-table tbody tr.clickable-row:hover td{background:transparent}.incoming-table tbody td{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:3px;width:auto;min-width:0;max-width:none;padding:0;overflow:visible;border:0;background:transparent;white-space:normal}.incoming-table tbody td:before{content:attr(data-label);color:#75857c;font-size:.62rem;font-weight:900;letter-spacing:.045em;line-height:1;text-transform:uppercase}.incoming-table .table-cell--id,.incoming-table .table-cell--issued,.incoming-table .table-cell--taxable,.incoming-table .table-cell--technical,.incoming-table .ai-duration-column,.incoming-table .ai-usd-column{display:none}.incoming-table .table-cell--type{grid-column:1;grid-row:1}.incoming-table .table-cell--type:before,.incoming-table .table-cell--select:before,.incoming-table .table-cell--actions:before{display:none}.incoming-table .table-cell--select{grid-column:2;grid-row:1;align-items:flex-end}.incoming-table .supplier-cell{grid-column:1 / -1;grid-row:2;width:auto;padding-top:2px}.incoming-table .supplier-cell strong{color:#183d2f;font-size:1rem;line-height:1.25}.incoming-table .table-cell--code{grid-column:1;grid-row:3}.incoming-table .amount-cell{grid-column:2;grid-row:3;align-items:flex-end;width:auto;color:#173f30;font-size:1rem;font-weight:900;text-align:right}.incoming-table .project-cell{grid-column:1 / -1;grid-row:4;width:auto}.incoming-table .table-cell--due{grid-column:1;grid-row:5;width:auto}.incoming-table .status-cell{grid-column:2;grid-row:5;align-items:flex-end;width:auto}.incoming-table .review-cell{grid-column:1;grid-row:6;width:auto}.incoming-table .actions-cell{grid-column:2;grid-row:6;align-items:flex-end;width:auto}.incoming-table .row-action-buttons{justify-content:flex-end}.incoming-table .status-badge,.incoming-table .incoming-review-status{max-width:100%}.invoice-skeleton-row td:before{display:none}.incoming-table tbody tr:not(.clickable-row) td:only-child{grid-column:1 / -1;padding:10px}.pagination-controls{gap:8px;margin-top:14px}.modal-backdrop:has(.invoice-detail-modal){padding:0}.invoice-detail-modal{width:100vw;max-width:none;height:100dvh;max-height:none;padding:0;grid-template-rows:auto auto minmax(0,1fr) auto;border-radius:0}.invoice-detail-modal>.modal-header{min-height:calc(64px + env(safe-area-inset-top));padding:calc(10px + env(safe-area-inset-top)) 14px 10px;border-bottom:1px solid #e2e8e3;background:#f5f7f4}.invoice-detail-heading{min-width:0}.invoice-detail-heading .eyebrow{margin-bottom:2px}.invoice-detail-heading h2{margin:0;overflow:hidden;color:#173f30;font-size:1.05rem;text-overflow:ellipsis;white-space:nowrap}.invoice-detail-heading>span{display:block;max-width:calc(100vw - 80px);margin-top:2px;overflow:hidden;color:#6c7e74;font-size:.72rem;text-overflow:ellipsis;white-space:nowrap}.invoice-detail-modal>.modal-header .icon-button{flex:0 0 auto;width:42px;height:42px;border-radius:14px}.invoice-action-dock{margin:9px 10px 0;padding:9px;border-radius:14px}.invoice-top-actions>div:first-child{display:none}.invoice-top-actions-buttons{width:100%;flex-wrap:nowrap;justify-content:flex-start;padding-bottom:2px;overflow-x:auto;scrollbar-width:none}.invoice-top-actions-buttons::-webkit-scrollbar{display:none}.invoice-top-actions-buttons>*{flex:0 0 auto;white-space:nowrap}.invoice-modal-scroll{padding:10px}.invoice-detail{gap:10px}.invoice-detail .stats-grid.small{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.invoice-detail .stats-grid.small .stat-card{min-width:0;padding:10px}.invoice-detail .stats-grid.small .stat-card strong{overflow-wrap:anywhere}.invoice-detail .party-grid,.invoice-detail .invoice-summary-groups,.invoice-detail .correction-grid,.invoice-detail .two-field-grid{grid-template-columns:minmax(0,1fr)}.invoice-detail .readonly-grid,.invoice-detail .readonly-group .readonly-grid,.invoice-detail .readonly-group.wide .readonly-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.invoice-detail .panel-subsection,.invoice-detail .readonly-group,.invoice-detail .party-box{border-radius:13px}.invoice-detail .line-items-table-wrap,.invoice-detail .delivery-table-wrap,.invoice-detail .table-wrap{overflow-x:auto;overscroll-behavior-inline:contain}.invoice-detail .modal-actions{gap:8px}.invoice-detail .modal-actions>*{max-width:100%}.invoice-approval-dock{max-height:32dvh;padding:10px 10px calc(10px + env(safe-area-inset-bottom));border-radius:18px 18px 0 0}}.email-message-list{overflow-y:auto;border-right:1px solid #d8e1ee;background:#f8fafc}.email-message-item{display:grid;gap:6px;width:100%;padding:13px 14px;border:0;border-bottom:1px solid #e5eaf1;background:transparent;color:#172033;font:inherit;text-align:left;cursor:pointer}.email-message-item:hover{background:#eef5ff}.email-message-item.selected{box-shadow:3px 0 #2878e8 inset;background:#e8f2ff}.email-message-item:focus-visible{position:relative;z-index:1;outline:2px solid #2878e8;outline-offset:-2px}.email-message-item-topline,.email-message-meta,.email-message-meta>span{display:flex;align-items:center}.email-message-item-topline{justify-content:space-between;gap:10px}.email-message-item-topline strong,.email-message-subject,.email-message-meta>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.email-message-item-topline strong{font-size:11px}.email-message-item-topline time{flex:0 0 auto;color:#667085;font-size:9px;font-weight:700}.email-message-subject{font-size:10px;font-weight:750}.email-message-meta{justify-content:space-between;gap:10px;color:#667085;font-size:9px}.email-message-meta>span{min-width:0;gap:4px}.email-message-meta svg{flex:0 0 auto}.email-message-meta small{flex:0 0 auto;font-size:8.5px;font-weight:700}.email-list-empty{padding:28px 18px;color:#667085;font-size:10px;text-align:center}.email-preview-pane{min-width:0;overflow-y:auto;padding:22px 24px 28px;background:#fff}.email-preview-empty{display:grid;place-items:center;align-content:center;gap:8px;height:100%;min-height:260px;color:#667085;text-align:center}.email-preview-empty strong{color:#344054}.email-preview-empty span{max-width:360px;font-size:10px}.email-preview-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding-bottom:16px;border-bottom:1px solid #e5eaf1}.email-preview-header h3{margin:3px 0 0;color:#172033;font-size:17px;line-height:1.3}.email-import-badge{flex:0 0 auto;padding:5px 8px;border:1px solid #b7e0c5;border-radius:999px;background:#edf9f1;color:#18723b;font-size:8.5px;font-weight:800}.email-import-badge.partial,.email-import-badge.rejected{border-color:#f4c48b;background:#fff6e9;color:#a15c07}.email-preview-addresses{display:grid;gap:7px;margin:16px 0 0}.email-preview-addresses>div{display:grid;grid-template-columns:52px minmax(0,1fr);gap:8px}.email-preview-addresses dt{color:#667085;font-size:9px;font-weight:800}.email-preview-addresses dd{min-width:0;margin:0;overflow-wrap:anywhere;color:#344054;font-size:10px}.email-message-body{min-height:150px;margin-top:20px;padding:18px 0;border-top:1px solid #edf1f5;border-bottom:1px solid #edf1f5;color:#253044;font-family:Inter,ui-sans-serif,system-ui,sans-serif;font-size:11px;line-height:1.65;overflow-wrap:anywhere;white-space:pre-wrap}.email-preview-attachments{margin-top:18px}.email-preview-attachments h4{display:flex;align-items:center;gap:7px;margin:0 0 10px;font-size:11px}.email-preview-attachments h4 span{display:inline-grid;min-width:20px;height:20px;place-items:center;border-radius:999px;background:#eef2f7;color:#526174;font-size:8.5px}.email-preview-attachment-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.email-preview-attachment{display:flex;align-items:center;gap:9px;min-width:0;padding:10px;border:1px solid #dfe5ed;border-radius:7px;background:#f8fafc}.email-preview-attachment>span{display:grid;min-width:0;gap:3px}.email-preview-attachment strong,.email-preview-attachment small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.email-preview-attachment strong{font-size:9.5px}.email-preview-attachment small,.email-preview-attachments>p{color:#667085;font-size:8.5px}.manual-review-backdrop{position:fixed;inset:0;z-index:1300;display:grid;place-items:center;padding:12px;background:#0f172a9e}.manual-review-modal{display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;width:min(1540px,calc(100vw - 24px));height:calc(100vh - 24px);overflow:hidden;border:1px solid #cfd8e5;border-radius:8px;background:#fff;box-shadow:0 26px 70px #0f172a52}.manual-review-header{display:grid;grid-template-columns:minmax(180px,.55fr) minmax(560px,1.45fr) auto;gap:18px;align-items:center;padding:12px 14px;border-bottom:1px solid #dce3ec}.manual-review-header h2{margin:2px 0 0;font-size:17px}.manual-review-summary,.manual-review-legend{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center}.manual-review-header-tools{display:grid;grid-template-columns:minmax(128px,auto) auto minmax(300px,1fr);gap:10px;align-items:center;justify-content:end}.manual-review-progress{display:grid;gap:1px;min-width:128px}.manual-review-progress strong{color:#172033;font-size:10px}.manual-review-progress span{color:#667085;font-size:8px}.manual-review-navigation,.manual-review-invoice-navigation{display:flex;gap:5px;align-items:center}.manual-review-invoice-navigation{justify-content:flex-end}.review-count{padding:4px 8px;border:1px solid;border-radius:999px;font-size:9px;font-weight:800;white-space:nowrap}.review-count.confident{border-color:#9ed8b7;background:#eaf8f0;color:#11643b}.review-count.uncertain{border-color:#f3c36d;background:#fff7e6;color:#7a4b00}.review-count.missing{border-color:#efaaa4;background:#fff1f0;color:#b42318}.review-count.reviewed{border-color:#9abff2;background:#edf5ff;color:#175cd3}.manual-review-lock-note{padding:8px 14px;border-bottom:1px solid #f1cf83;background:#fff8e8;color:#633e03;font-weight:700}.manual-review-layout{display:grid;grid-template-columns:minmax(420px,1.18fr) minmax(440px,.82fr);min-width:0;min-height:0}.manual-document-viewer,.manual-review-fields{display:grid;min-width:0;min-height:0}.manual-document-viewer{grid-template-rows:auto minmax(0,1fr);border-right:1px solid #dce3ec;background:#e8edf3}.manual-document-toolbar{display:grid;grid-template-columns:auto minmax(120px,1fr) minmax(120px,auto) auto;gap:8px;align-items:center;min-height:40px;padding:7px 12px;border-bottom:1px solid #cfd8e5;background:#f8fafc}.manual-zoom-controls{display:flex;gap:4px;align-items:center}.manual-zoom-controls .icon-button{width:26px;height:26px}.manual-document-toolbar span,.manual-document-toolbar small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.manual-document-toolbar span{font-weight:800}.manual-document-toolbar small{color:#667085}.manual-document-scroll{position:relative;min-height:0;overflow:auto}.manual-document-loading{position:sticky;top:12px;z-index:4;display:flex;width:max-content;gap:8px;align-items:center;margin:12px auto;padding:7px 10px;border-radius:6px;background:#fff;box-shadow:0 5px 16px #0f172a24}.manual-highlight-note{position:sticky;top:8px;z-index:5;width:fit-content;max-width:calc(100% - 24px);margin:8px auto -36px;padding:6px 9px;border:1px solid #f1cf83;border-radius:6px;background:#fff8e8;color:#633e03;font-weight:700}.manual-pdf-pages{display:grid;gap:18px;justify-content:center;min-width:max-content;padding:18px}.manual-pdf-page,.manual-image-page{position:relative;overflow:hidden;background:#fff;box-shadow:0 5px 18px #0f172a33}.manual-pdf-page-label{position:absolute;right:7px;bottom:7px;z-index:2;padding:3px 6px;border-radius:4px;background:#172033c7;color:#fff;font-size:8px;font-weight:800}.manual-image-page{width:fit-content;max-width:calc(100% - 36px);margin:18px auto}.manual-image-page img{display:block;max-width:100%;height:auto}.manual-source-highlight{position:absolute;z-index:3;pointer-events:none;border:2px solid #f79009;background:#f7900938;box-shadow:0 0 0 2px #ffffffb8}.manual-review-fields{grid-template-rows:auto auto minmax(0,1fr);background:#fff}.manual-review-filterbar{display:flex;min-height:42px;align-items:center;justify-content:space-between;gap:10px;padding:6px 10px;border-bottom:1px solid #dce3ec;background:#f8fafc}.manual-review-filterbar>span{display:inline-flex;gap:6px;align-items:center;color:#475467;font-size:9px;font-weight:800}.manual-review-segmented{display:grid;grid-template-columns:1fr 1fr;padding:2px;border:1px solid #cfd8e5;border-radius:6px;background:#fff}.manual-review-segmented button{display:inline-flex;min-height:28px;gap:6px;align-items:center;justify-content:center;padding:4px 9px;border:0;border-radius:4px;background:transparent;color:#475467;font-size:9px;font-weight:800;cursor:pointer}.manual-review-segmented button:hover{background:#eef4ff;color:#175cd3}.manual-review-segmented button.active{background:#e8f1ff;color:#175cd3;box-shadow:inset 0 0 0 1px #9abff2}.manual-review-segmented button span{min-width:18px;padding:1px 4px;border-radius:999px;background:#fffc;text-align:center}.manual-review-table-header,.manual-review-field-row{display:grid;grid-template-columns:minmax(160px,.72fr) minmax(220px,1.28fr)}.manual-review-table-header{border-bottom:1px solid #dce3ec;background:#eef3f8;color:#475467;font-size:9px;font-weight:850}.manual-review-table-header span{padding:10px 12px}.manual-review-table-header span+span{border-left:1px solid #dce3ec}.manual-review-field-list{min-height:0;overflow:auto}.manual-review-group-row{position:sticky;top:0;z-index:2;display:flex;min-height:31px;align-items:center;justify-content:space-between;gap:8px;padding:7px 12px;border-bottom:1px solid #dce3ec;background:#f8fafc;color:#344054;font-size:9px;font-weight:900;text-transform:uppercase}.manual-group-delete{flex:0 0 auto;color:#b42318}.manual-review-field-row{position:relative;margin:0;border-bottom:1px solid #e5eaf0;box-shadow:inset 4px 0 transparent;cursor:pointer}.manual-review-field-row.confident{background:#f2fbf6;box-shadow:inset 4px 0 #2e9b64}.manual-review-field-row.uncertain{background:#fff9eb;box-shadow:inset 4px 0 #f59e0b}.manual-review-field-row.missing{background:#fff3f2;box-shadow:inset 4px 0 #d92d20}.manual-review-field-row.optional{background:#f7f8fa;box-shadow:inset 4px 0 #98a2b3}.manual-review-field-row.reviewed{background:#eff6ff;box-shadow:inset 4px 0 #2e75d4}.manual-review-field-row:hover,.manual-review-field-row.selected{outline:2px solid #5a9af4;outline-offset:-2px}.manual-field-label,.manual-field-editor{min-width:0;padding:7px 10px}.manual-field-label{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px;align-items:center}.manual-field-label>span{display:grid;min-width:0}.manual-field-reason{margin-top:2px;color:#475467;line-height:1.35;white-space:normal}.manual-field-meta{display:flex;flex-wrap:wrap;gap:4px;margin-top:5px}.manual-validation-badge,.manual-confidence-badge,.manual-source-page{display:inline-flex;width:fit-content;align-items:center;padding:2px 5px;border-radius:999px;background:#fff;color:#475467;font-size:7px;font-weight:800}.manual-validation-badge.passed{background:#dff4e8;color:#11643b}.manual-validation-badge.warning{background:#fff0c7;color:#633e03}.manual-validation-badge.error{background:#ffe2df;color:#b42318}.manual-validation-badge.not_applicable{background:#eaecf0;color:#667085}.manual-field-label strong,.manual-field-label small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.manual-field-label small{color:#667085}.field-status-dot,.legend-dot{display:inline-block;width:8px;height:8px;flex:0 0 8px;border-radius:50%}.field-status-dot.confident,.legend-dot.confident{background:#2e9b64}.field-status-dot.uncertain,.legend-dot.uncertain{background:#f59e0b}.field-status-dot.missing,.legend-dot.missing{background:#d92d20}.field-status-dot.optional,.legend-dot.optional{background:#98a2b3}.field-status-dot.reviewed,.legend-dot.reviewed{background:#2e75d4}.manual-field-editor{display:grid;grid-template-columns:minmax(0,1fr) 28px;gap:6px;align-items:center;border-left:1px solid #dce3ec}.manual-field-editor input,.manual-field-editor select{width:100%;min-width:0;height:30px;padding:5px 7px;border:1px solid #cfd8e5;border-radius:5px;background:#fff}.manual-field-editor input:disabled,.manual-field-editor select:disabled{background:#ffffff94;color:#344054}.manual-review-empty{display:grid;place-items:center;gap:8px;padding:50px 20px;color:#11643b;font-weight:800;text-align:center}.manual-field-save{width:28px;height:28px}.manual-review-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:52px;padding:8px 14px;border-top:1px solid #dce3ec;background:#f8fafc}.manual-review-legend span{display:inline-flex;gap:5px;align-items:center;color:#475467;font-size:9px;white-space:nowrap}@media(max-width:760px){.regression-summary-grid{grid-template-columns:1fr}.topbar{align-items:center}.topbar-mode,.topbar-operation,.topbar-user-copy{display:none}.topbar-actions{gap:6px}}@media(max-width:900px){.manual-review-backdrop{padding:0}.manual-review-modal{width:100vw;height:100vh;border-radius:0}.manual-review-header{grid-template-columns:minmax(0,1fr) auto}.manual-review-header-tools{grid-column:1 / -1;grid-template-columns:minmax(110px,auto) auto minmax(260px,1fr);order:3}.manual-review-invoice-navigation .secondary-action{min-width:0;padding-inline:7px}.manual-review-layout{grid-template-columns:1fr;grid-template-rows:minmax(280px,46vh) minmax(0,1fr)}.manual-document-viewer{border-right:0;border-bottom:1px solid #dce3ec}.manual-review-table-header,.manual-review-field-row{grid-template-columns:minmax(130px,.68fr) minmax(180px,1.32fr)}.manual-review-legend{display:none}.manual-review-footer{justify-content:flex-end}}@media(max-width:620px){.manual-review-header-tools{grid-template-columns:minmax(110px,1fr) auto}.manual-review-invoice-navigation{grid-column:1 / -1}.manual-document-toolbar{grid-template-columns:auto minmax(0,1fr) auto}.manual-document-toolbar>small{display:none}.manual-review-filterbar{align-items:stretch;flex-direction:column}}.data-table-wrap{width:100%;min-width:0;max-width:100%;overflow-x:auto;overflow-y:visible;scrollbar-gutter:stable;-webkit-overflow-scrolling:touch}.app-frame>main,.content-shell,.page-stack,.stats-stack,.documents-main,.settings-tab-content,.panel{min-width:0;max-width:100%}.data-table{width:100%;table-layout:auto;font-size:13px;line-height:1.35}.data-table th,.data-table td{box-sizing:border-box;padding:9px 10px;vertical-align:middle;white-space:normal;overflow-wrap:normal;word-break:normal}.data-table th{font-size:12px;font-weight:800;line-height:1.25}.data-table td small{margin-top:3px;font-size:11px;line-height:1.3}.data-table .table-cell--select{width:44px;min-width:44px;max-width:44px;padding-inline:6px;text-align:center;white-space:nowrap}.data-table .table-cell--id{width:64px;min-width:64px;white-space:nowrap}.data-table .table-cell--date{width:112px;min-width:112px;white-space:nowrap}.data-table .table-cell--datetime{width:154px;min-width:154px;white-space:nowrap}.data-table .table-cell--amount,.data-table .number-cell.table-cell--amount{width:132px;min-width:112px;text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.data-table .table-cell--count{width:88px;min-width:76px;text-align:center;font-variant-numeric:tabular-nums;white-space:nowrap}.data-table .table-cell--code{min-width:126px;max-width:210px;white-space:nowrap}.data-table .table-cell--text,.data-table .table-cell--two-lines{min-width:180px;overflow-wrap:break-word}.data-table .table-cell--two-lines>strong,.data-table .table-cell--two-lines>small,.data-table .table-cell--text>strong,.data-table .table-cell--text>small,.data-table .document-file-cell strong,.data-table .project-name-cell>strong,.data-table .project-name-cell>small{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.data-table .table-cell--status{min-width:132px}.data-table .table-cell--technical{min-width:132px;max-width:230px}.data-table .table-cell--actions{width:1%;min-width:74px;text-align:right;white-space:nowrap}.data-table .table-cell--actions>div,.data-table .row-actions,.data-table .row-action-buttons{flex-wrap:nowrap;white-space:nowrap}.data-table .status-badge,.data-table .incoming-review-status,.data-table .document-source-badge,.data-table .company-status-badge,.data-table .user-status-badge,.data-table .user-role-badge,.data-table .project-status-badge,.data-table .manager-badge,.data-table .project-task-badge{max-width:100%;font-size:11.5px;line-height:1.2;overflow-wrap:normal;word-break:normal;white-space:normal}.data-table.data-table--incoming{min-width:1610px}.data-table.data-table--incoming.incoming-table--with-ai{min-width:1990px}.data-table.data-table--incoming .table-cell--id{width:64px;min-width:64px}.data-table.data-table--incoming .table-cell--type{width:110px;min-width:110px}.data-table.data-table--incoming .table-cell--date{width:112px;min-width:112px}.data-table.data-table--incoming .table-cell--code{width:auto;min-width:150px}.data-table.data-table--incoming .supplier-cell{width:auto;min-width:190px}.data-table.data-table--incoming .project-cell{width:auto;min-width:230px;max-width:340px}.data-table.data-table--incoming .review-cell,.data-table.data-table--incoming .status-cell{width:auto;min-width:148px}.data-table.data-table--incoming .actions-cell{width:82px;min-width:82px}.data-table.data-table--incoming td,.data-table.data-table--incoming strong,.data-table.data-table--incoming small{overflow-wrap:normal}.data-table.data-table--incoming .invoice-number,.data-table.data-table--incoming .date-cell,.data-table.data-table--incoming .date-cell strong,.data-table.data-table--incoming .date-cell small{white-space:nowrap}.data-table.data-table--incoming .ai-group-header{border-left:2px solid #bfdbfe;background:#eaf3ff;color:#1d4ed8;text-align:center}.data-table.data-table--incoming .ai-group-label{display:block;padding:3px 8px;font-weight:900;white-space:nowrap}.data-table.data-table--incoming .ai-column-subheaders th{border-left:1px solid #dbeafe;background:#f7faff}.data-table.data-table--incoming .ai-model-column{width:auto;min-width:150px;max-width:190px}.data-table.data-table--incoming .ai-strategy-column{width:auto;min-width:168px;max-width:220px}.data-table.data-table--incoming .ai-duration-column,.data-table.data-table--incoming .ai-usd-column{width:108px;min-width:108px}.data-table.data-table--incoming td.ai-model-column{border-left:2px solid #dbeafe;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.data-table--documents-compact{min-width:1320px}.data-table--documents-wide{min-width:1560px}.data-table--documents-compact .document-file-cell,.data-table--documents-wide .document-file-cell{min-width:280px;max-width:380px}.data-table--documents-wide .document-summary-cell{min-width:240px;max-width:320px}.data-table--documents-wide .document-extraction-cell{min-width:150px}.data-table--comparison{min-width:1100px}.data-table--comparison-detail,.data-table--stats{min-width:760px}.data-table--stats-wide{min-width:1380px}.data-table--delivery-notes{min-width:1500px}.data-table--delivery-notes .project-table-cell{min-width:230px}.data-table--delivery-notes .delivery-approval-cell{min-width:180px}.data-table--line-items{min-width:1460px;overflow:visible}.data-table--line-items .approval-checkbox{width:19px;min-width:19px;max-width:19px;padding:0}.data-table--line-items .line-items-header-row th{height:46px;border-top:1px solid #d5dfeb;border-bottom:2px solid #b8c7da;background:#edf2f8;color:#344054;font-size:11px;letter-spacing:.015em;vertical-align:middle}.line-items-heading-stack{display:inline-grid;justify-items:end;line-height:1.05}.line-items-heading-stack small{margin:2px 0 0;color:#667085;font-size:9px;font-weight:700}.data-table--line-items .approval-select-column{position:sticky;left:0;z-index:2;border-right:1px solid #d5dfeb;box-shadow:5px 0 10px -10px #101828a6}.data-table--line-items thead .approval-select-column{z-index:4;background:#e5edf7}.data-table--line-items tbody .approval-select-column{background:#fff}.data-table--line-items .line-item-row td{transition:background-color .12s ease}.data-table--line-items .line-item-row:hover td,.data-table--line-items .line-item-row:hover .approval-select-column{background:#f6f9fd}.data-table--line-items .line-item-row.is-selected td,.data-table--line-items .line-item-row.is-selected .approval-select-column{background:#eaf3ff}.data-table--line-items .line-item-row.is-selected td{border-bottom-color:#c7dcfa}.data-table--line-items .line-totals-row .approval-select-column{background:#f4f8ff}.data-table--line-items input,.data-table--line-items textarea,.data-table--line-items select{font-size:12px}.data-table--companies{min-width:1050px}.data-table--users{min-width:1180px}.data-table--project-settings{min-width:1350px}.data-table--projects{min-width:1560px}@media(max-width:768px){.invoice-top-actions{align-items:stretch;flex-direction:column}.invoice-top-actions-buttons{justify-content:flex-start}.data-table th,.data-table td{padding:8px}.data-table-wrap{margin-inline:-2px;padding-bottom:3px}.pagination-controls{align-items:stretch;flex-direction:column}.pagination-page-size,.pagination-navigation{justify-content:space-between;margin-left:0}}@media(max-width:1200px){.project-filter-bar{grid-template-columns:minmax(0,1fr)}.invoice-filter-primary,.invoice-filter-secondary{grid-template-columns:minmax(0,1fr) minmax(180px,.8fr)}.invoice-filter-primary>:last-child,.invoice-filter-secondary>:last-child{grid-column:1 / -1}}@media(max-width:760px){.invoice-filter-primary,.invoice-filter-secondary{grid-template-columns:minmax(0,1fr)}.invoice-filter-primary>:last-child,.invoice-filter-secondary>:last-child{grid-column:auto}.document-filter-bar{grid-template-columns:minmax(0,1fr)}}.invoice-workspace-tabs{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1rem;padding:.35rem;border:1px solid var(--line, #dce2ea);border-radius:.75rem;background:var(--surface, #fff)}.invoice-workspace-tabs button{border:0;border-radius:.55rem;background:transparent;padding:.65rem .9rem}.invoice-workspace-tabs button.active{background:#e8f0ff;color:#174ea6;font-weight:700}.recovery-document-table td small,.archive-table td small{display:block;margin-top:.25rem}.recovery-document-table .row-actions{align-items:flex-start;flex-direction:column}.documents-to-resolve-workspace{display:grid;gap:1rem;min-width:0}.documents-to-resolve-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding:1.15rem 1.25rem;border:1px solid #f1c27d;border-radius:.85rem;background:#fffaf0}.documents-to-resolve-heading h2{margin:.2rem 0 .35rem}.documents-to-resolve-heading p{max-width:780px;margin:0;color:#5f4b2f}.resolution-status-badge{display:inline-flex;width:fit-content;align-items:center;margin-bottom:.3rem;padding:.25rem .55rem;border:1px solid #e7a94f;border-radius:999px;background:#ffedd0;color:#7a4300;font-size:.72rem;font-weight:800;white-space:nowrap}.resolution-status-badge--large{margin:0;padding:.45rem .7rem;font-size:.8rem}.resolution-action-copy{max-width:260px;color:#4d5968;font-weight:650;line-height:1.4}@media(max-width:760px){.documents-to-resolve-heading{flex-direction:column}}.category-review-workspace{display:grid;gap:14px;min-width:0}.category-review-heading,.category-review-undo{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 18px;border:1px solid #dce4ef;border-radius:14px;background:#fff}.category-review-heading h2,.category-review-heading p{margin:0}.category-review-heading p{margin-top:5px;color:#64748b}.category-review-progress{display:grid;min-width:115px;text-align:right}.category-review-progress strong{color:#1d4ed8;font-size:26px;line-height:1}.category-review-progress span,.category-review-shortcut-help{color:#64748b;font-size:12px}.category-review-undo{border-color:#bbd7ff;background:#eff6ff}.category-review-layout{display:grid;grid-template-columns:230px minmax(420px,1fr) 310px;gap:12px;min-height:calc(100vh - 245px)}.category-review-queue,.category-review-preview,.category-review-decision-panel{min-width:0;overflow:hidden;border:1px solid #dce4ef;border-radius:14px;background:#fff}.category-review-queue{display:grid;grid-template-rows:auto minmax(0,1fr) auto}.category-review-search{display:flex;align-items:center;gap:7px;margin:10px;padding:8px 10px;border:1px solid #d7dee9;border-radius:9px;background:#f8fafc}.category-review-search input{min-width:0;padding:0;border:0;outline:0;background:transparent}.category-review-queue-list{overflow-y:auto;border-block:1px solid #e6ebf2}.category-review-queue-list>button{display:grid;grid-template-columns:28px minmax(0,1fr);width:100%;gap:2px 7px;padding:10px;border:0;border-bottom:1px solid #edf1f6;border-radius:0;background:#fff;color:#172033;text-align:left}.category-review-queue-list>button:hover{background:#f4f7fb}.category-review-queue-list>button.active{background:#eaf2ff;box-shadow:inset 3px 0 #2563eb}.category-review-queue-list>button>span{grid-row:1 / 3;color:#64748b;font-size:11px;font-variant-numeric:tabular-nums}.category-review-queue-list strong,.category-review-queue-list small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.category-review-queue-list strong{font-size:12px}.category-review-queue-list small{color:#64748b;font-size:11px}.category-review-queue-list>p{padding:22px 12px;color:#64748b;text-align:center}.category-review-queue-pagination{display:flex;align-items:center;justify-content:space-between;padding:9px 10px;color:#64748b;font-size:12px}.category-review-preview{display:grid;grid-template-rows:auto minmax(0,1fr);background:#dfe5ec}.category-review-preview-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 11px;border-bottom:1px solid #d3dae4;background:#fff}.category-review-preview-toolbar>div,.category-review-preview-actions{display:flex;align-items:center;min-width:0;gap:7px}.category-review-preview-toolbar strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.category-review-preview-body{display:grid;place-items:center;min-height:520px;overflow:auto}.category-review-preview-body iframe{width:100%;height:100%;min-height:620px;border:0;background:#fff}.category-review-preview-body img{display:block;max-width:96%;max-height:75vh;margin:auto;object-fit:contain;transform-origin:center;transition:transform .12s ease;box-shadow:0 8px 30px #0f172a38}.category-review-empty-preview,.category-review-complete{display:grid;place-content:center;min-height:360px;padding:30px;color:#64748b;text-align:center}.category-review-decision-panel{padding:14px;overflow-y:auto}.category-review-document-meta,.category-review-suggestion{display:grid;gap:5px;padding-bottom:14px;border-bottom:1px solid #e6ebf2}.category-review-document-meta>span,.category-review-suggestion>span{color:#64748b;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.category-review-document-meta strong{overflow-wrap:anywhere}.category-review-document-meta small,.category-review-suggestion small,.category-review-suggestion p,.category-review-document-meta p{margin:0;color:#64748b;font-size:12px;line-height:1.45}.category-review-suggestion{margin-top:14px}.category-review-suggestion strong{color:#1d4ed8}.category-review-actions{display:grid;gap:8px;margin-top:14px}.category-review-action,.category-review-skip{display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:9px;width:100%;min-height:48px;padding:8px 11px;border:1px solid #d7dee9;border-radius:10px;background:#fff;color:#172033;font-weight:750;text-align:left}.category-review-action:hover:not(:disabled),.category-review-skip:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 5px 14px #0f172a1a}.category-review-action kbd,.category-review-skip kbd{display:inline-grid;place-items:center;min-width:28px;height:28px;border:1px solid rgb(15 23 42 / 15%);border-radius:7px;background:#ffffffb8;font:inherit;font-size:12px}.category-review-action.action-invoice{border-color:#93c5fd;background:#eff6ff}.category-review-action.action-advance{border-color:#c4b5fd;background:#f5f3ff}.category-review-action.action-credit{border-color:#fdba74;background:#fff7ed;color:#9a3412}.category-review-action.action-delivery{border-color:#86efac;background:#f0fdf4}.category-review-action.action-reminder{border-color:#fbbf24;background:#fffbeb;color:#92400e}.category-review-action.action-other{border-color:#cbd5e1;background:#f8fafc}.category-review-action.action-spam{border-color:#fca5a5;background:#fff1f2;color:#9f1239}.category-review-action.action-receipt{border-color:#67e8f9;background:#ecfeff;color:#155e75}.report-workspace{gap:18px}.report-hero{display:flex;align-items:end;justify-content:space-between;gap:24px;padding:22px 26px;border-radius:18px;background:linear-gradient(135deg,#eff6ff,#f8fafc 58%,#fff7ed);border:1px solid #dbeafe}.report-hero h2{margin:4px 0 0}.report-hero p{max-width:620px;margin:0;color:#475569}.report-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,1fr);gap:18px}.report-builder fieldset{margin:18px 0 0;padding:14px;border:1px solid #e2e8f0;border-radius:12px}.report-builder legend{padding:0 7px;font-weight:800;color:#334155}.report-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.report-form-grid label,.report-schedule label,.report-options .wide{display:grid;gap:6px;font-weight:700;color:#334155}.report-form-grid select,.report-form-grid input,.report-schedule select,.report-schedule input,.report-options textarea{width:100%}.report-form-grid select[multiple]{min-height:7.5rem}.report-checkboxes{display:flex;flex-wrap:wrap;gap:10px 18px}.report-checkboxes label,.report-options>label{display:flex;align-items:center;gap:7px;font-weight:600}.report-options{display:grid;gap:12px;margin:18px 0}.report-options textarea{min-height:72px;resize:vertical}.report-warning{margin-top:16px;padding:12px 14px;border:1px solid #fdba74;border-radius:10px;background:#fff7ed;color:#9a3412;font-weight:800}.report-secure-link{padding:12px 16px;border:1px solid #86efac;border-radius:10px;background:#f0fdf4}.report-schedule{align-self:start;display:grid;gap:13px}.report-list{display:grid;gap:10px}.report-list article{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 14px;border:1px solid #e2e8f0;border-radius:10px}.report-list article div{display:grid;gap:4px}.report-list small{color:#64748b}@media(max-width:980px){.report-grid{grid-template-columns:1fr}.report-hero{align-items:start;flex-direction:column}}@media(max-width:640px){.report-form-grid{grid-template-columns:1fr}}.category-review-skip{display:flex;justify-content:center;margin-top:12px;color:#475569}.category-review-shortcut-help{margin:10px 0 0;text-align:center}@media(max-width:1280px){.category-review-layout{grid-template-columns:190px minmax(360px,1fr) 280px}}@media(max-width:980px){.category-review-layout{grid-template-columns:180px minmax(0,1fr)}.category-review-decision-panel{grid-column:1 / -1}.category-review-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){.category-review-heading,.category-review-undo{align-items:flex-start;flex-direction:column}.category-review-progress{text-align:left}.category-review-layout{grid-template-columns:minmax(0,1fr)}.category-review-queue-list{max-height:220px}.category-review-preview-body,.category-review-preview-body iframe{min-height:480px}}.reminders-view{display:grid;gap:16px}.reminders-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.reminders-heading h2{margin:3px 0 4px}.reminders-heading p{max-width:760px;margin:0;color:#64748b}.reminders-count{display:grid;grid-template-columns:auto auto;align-items:center;gap:0 8px;min-width:132px;padding:12px 16px;border:1px solid #fde68a;border-radius:14px;background:#fffbeb;color:#92400e}.reminders-count strong{font-size:23px}.reminders-count span{grid-column:1 / -1;color:#a16207;font-size:12px}.reminders-search{display:flex;align-items:center;gap:9px;max-width:420px;padding:10px 13px;border:1px solid #d7dee9;border-radius:11px;background:#fff;color:#64748b}.reminders-search input{width:100%;border:0;outline:0;background:transparent}.reminders-list{display:grid;gap:12px}.reminder-card{display:grid;grid-template-columns:minmax(280px,.85fr) minmax(420px,1.4fr);overflow:hidden;border:1px solid #dfe5ee;border-radius:15px;background:#fff;box-shadow:0 4px 16px #0f172a0d}.reminder-document,.reminder-match{padding:17px}.reminder-document{display:grid;grid-template-columns:auto minmax(0,1fr);align-content:start;gap:10px 12px;border-right:1px solid #e7ebf1}.reminder-document>div:nth-child(2){display:grid;min-width:0;gap:3px}.reminder-document strong,.reminder-document p{overflow:hidden;margin:0;text-overflow:ellipsis;white-space:nowrap}.reminder-document span,.reminder-document small{color:#64748b;font-size:12px}.reminder-document a{grid-column:2;justify-self:start}.reminder-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#fef3c7;color:#a16207}.reminder-match{display:grid;align-content:center;gap:13px;border-left:4px solid #cbd5e1}.reminder-match.matched{border-left-color:#22c55e;background:#f8fff9}.reminder-match.ambiguous{border-left-color:#f59e0b;background:#fffdf5}.reminder-match.unmatched{border-left-color:#94a3b8;background:#fafbfc}.reminder-match-status{display:flex;align-items:flex-start;gap:9px}.reminder-match-status>div{display:grid;gap:2px}.reminder-match-status span{font-weight:800}.reminder-match-status small,.reminder-unmatched-detail{color:#64748b;font-size:12px}.reminded-invoice{display:grid;grid-template-columns:minmax(160px,1fr) minmax(130px,auto) auto;align-items:center;gap:16px;padding:12px;border:1px solid #bbf7d0;border-radius:11px;background:#fff}.reminded-invoice>div{display:grid;gap:2px}.reminded-invoice span,.reminded-invoice small{color:#64748b;font-size:11px}.reminded-invoice-meta{text-align:right}.reminders-pagination{display:flex;align-items:center;justify-content:center;gap:12px}@media(max-width:1050px){.reminder-card{grid-template-columns:1fr}.reminder-document{border-right:0;border-bottom:1px solid #e7ebf1}}@media(max-width:720px){.reminders-heading,.reminded-invoice{align-items:flex-start;grid-template-columns:1fr}.reminders-heading{flex-direction:column}.reminded-invoice-meta{text-align:left}}.work-report-workspace{display:grid;gap:16px}.work-report-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;padding:22px;border-radius:18px;background:linear-gradient(135deg,#f0fdfa,#ecfeff);border:1px solid #99f6e4}.work-report-heading h2{margin:4px 0 6px}.work-report-heading p{margin:0;max-width:760px;color:var(--muted)}.work-report-kpi{text-align:right;min-width:210px}.work-report-kpi strong,.work-report-kpi span{display:block}.work-report-kpi strong{font-size:1.35rem;color:#0f766e}.work-report-kpi span{color:var(--muted);font-size:.78rem}.work-report-filters{display:flex;gap:10px}.work-report-filters label{display:flex;align-items:center;gap:7px;flex:1;max-width:520px;padding:0 11px;border:1px solid var(--line);border-radius:10px;background:#fff}.work-report-filters label input{border:0;width:100%}.work-report-layout{display:grid;grid-template-columns:minmax(320px,.8fr) minmax(0,1.5fr);align-items:start;gap:16px}.work-report-list,.work-report-detail{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden}.work-report-list tbody tr{cursor:pointer}.work-report-list tbody tr.selected{background:#f0fdfa;box-shadow:inset 3px 0 #0d9488}.work-report-list td strong,.work-report-list td small{display:block}.work-report-pagination{display:flex;justify-content:center;align-items:center;gap:12px;padding:10px;border-top:1px solid var(--line)}.work-report-detail{min-width:0;padding:18px;display:grid;gap:18px}.work-report-detail>header{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.work-report-detail>header h3{margin:3px 0;overflow-wrap:anywhere}.work-report-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.work-report-form-grid label{display:grid;gap:5px;font-size:.78rem;color:var(--muted)}.work-report-form-grid label.wide{grid-column:1 / -1}.work-report-lines{display:grid;gap:8px}.work-report-lines>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.work-report-lines h4{margin:0}.work-report-lines input,.work-report-lines select{min-width:90px;width:100%}.work-report-actions{display:flex;justify-content:flex-end;align-items:center;gap:9px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:15px}.work-report-actions>div{margin-right:auto;display:flex;gap:12px;flex-wrap:wrap}.work-report-status{display:inline-flex;padding:4px 8px;border-radius:999px;font-size:.75rem;font-weight:700;white-space:nowrap;background:#f1f5f9;color:#475569}.work-report-status.ready_for_approval{background:#fef3c7;color:#92400e}.work-report-status.approved{background:#dcfce7;color:#166534}.work-report-status.rejected{background:#fee2e2;color:#991b1b}.work-report-reject-modal{width:min(540px,calc(100vw - 32px))}.work-report-rejection-heading{display:flex;align-items:center;gap:12px}.work-report-rejection-heading h3{margin:2px 0 0}.work-report-rejection-icon{display:grid;place-items:center;width:42px;height:42px;flex:0 0 auto;border-radius:12px;background:#fee2e2;color:#b91c1c}.work-report-rejection-body{display:grid;gap:16px}.work-report-rejection-body>p{margin:0;padding:12px 14px;border-left:3px solid #f87171;border-radius:8px;background:#fff7f7;color:#475569;line-height:1.45}.work-report-rejection-field{display:grid;gap:7px;color:#334155;font-size:.82rem;font-weight:750}.work-report-rejection-field>span{display:flex;align-items:center;justify-content:space-between;gap:12px}.work-report-rejection-field b{padding:3px 7px;border-radius:999px;background:#fee2e2;color:#991b1b;font-size:.66rem;text-transform:uppercase}.work-report-rejection-field small{color:#64748b;font-weight:600}.work-report-rejection-field select,.work-report-rejection-field textarea{width:100%}.work-report-rejection-field textarea{resize:vertical;min-height:104px;line-height:1.45}.work-report-discussion{display:grid;gap:13px;padding:16px;border:1px solid #dbe4ef;border-radius:14px;background:#f8fafc}.work-report-discussion>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.work-report-discussion>header>div{display:flex;align-items:center;gap:10px;color:#0f766e}.work-report-discussion h4{margin:2px 0 0;color:#0f172a}.work-report-discussion>header>span{display:grid;place-items:center;min-width:28px;height:28px;padding:0 8px;border-radius:999px;background:#e2e8f0;color:#475569;font-size:.75rem;font-weight:800}.work-report-comment-list{display:grid;gap:9px}.work-report-comment{display:grid;gap:6px;padding:12px 14px;border:1px solid #dbe4ef;border-radius:11px;background:#fff}.work-report-comment.rejection{border-color:#fecaca;border-left:4px solid #dc2626;background:#fff7f7}.work-report-comment>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.work-report-comment>header strong{color:#1e293b;font-size:.78rem}.work-report-comment>header span{color:#64748b;font-size:.7rem}.work-report-comment p{margin:0;color:#334155;line-height:1.5;overflow-wrap:anywhere}.work-report-comments-empty{margin:0;padding:12px;color:#64748b;text-align:center}.work-report-comment-form{display:grid;gap:9px;padding-top:4px}.work-report-comment-form label{display:grid;gap:6px;color:#475569;font-size:.76rem;font-weight:750}.work-report-comment-form textarea{width:100%;min-height:82px;resize:vertical;line-height:1.45}.work-report-comment-form button{justify-self:end}.category-review-action.action-work-report{border-color:#5eead4;background:#f0fdfa;color:#115e59}.missing-value{color:#b45309;font-weight:700}@media(max-width:1200px){.work-report-layout{grid-template-columns:1fr}}@media(max-width:700px){.work-report-heading{display:grid}.work-report-kpi{text-align:left}.work-report-form-grid{grid-template-columns:1fr}.work-report-form-grid label.wide{grid-column:auto}.work-report-comment>header{align-items:flex-start;flex-direction:column;gap:3px}.work-report-comment-form button{justify-self:stretch}}.receipt-workspace{display:grid;gap:18px}.receipt-heading,.receipt-toolbar,.receipt-preview>header,.receipt-detail>header,.receipt-lines>header,.receipt-actions,.receipt-decision-panel>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.receipt-heading h2,.receipt-detail h3,.receipt-lines h4,.receipt-decision-panel h4{margin:0}.receipt-heading p{max-width:820px;margin:6px 0 0;color:var(--muted-text, #617083)}.receipt-toolbar{flex-wrap:wrap}.receipt-toolbar>label{display:flex;align-items:center;gap:8px;min-width:min(360px,100%)}.receipt-toolbar>label input{width:100%}.receipt-tabs{display:flex;gap:6px;padding:4px;border:1px solid var(--border, #d7dde5);border-radius:12px;background:var(--surface-soft, #f7f9fb)}.receipt-tabs button{border:0;background:transparent;color:var(--muted-text, #617083)}.receipt-tabs button.active{background:var(--surface, #fff);color:var(--text, #172033);box-shadow:0 1px 4px #0f172a1a}.receipt-list,.receipt-preview,.receipt-detail{border:1px solid var(--border, #d7dde5);border-radius:16px;background:var(--surface, #fff);overflow:hidden}.receipt-list .selected{background:var(--surface-soft, #f7f9fb)}.receipt-review-layout{display:grid;grid-template-columns:minmax(320px,.8fr) minmax(520px,1.2fr);gap:18px;align-items:start}.receipt-preview{position:sticky;top:16px}.receipt-preview>header,.receipt-detail>header,.receipt-lines>header{padding:14px 16px;border-bottom:1px solid var(--border, #d7dde5)}.receipt-preview img,.receipt-preview iframe{display:block;width:100%;height:min(72vh,820px);border:0;object-fit:contain;background:#eef1f4}.receipt-detail{min-width:0}.receipt-detail input:disabled,.receipt-detail select:disabled,.receipt-detail textarea:disabled{color:var(--text, #172033);background:#f4f7fa;border-color:#d8e0e9;opacity:1;cursor:not-allowed}.receipt-manual-review-modal{grid-template-rows:auto minmax(0,1fr) auto;width:min(1380px,calc(100vw - 24px))}.receipt-manual-review-header,.receipt-manual-review-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;border-bottom:1px solid #dce3ec}.receipt-manual-review-header h2{margin:2px 0;font-size:18px}.receipt-manual-review-header small{color:var(--muted-text, #617083)}.receipt-manual-review-body{display:grid;grid-template-columns:minmax(360px,.9fr) minmax(560px,1.1fr);min-width:0;min-height:0;overflow:hidden;background:#f4f7fa}.receipt-manual-review-body .receipt-preview{position:static;height:100%;border:0;border-right:1px solid #dce3ec;border-radius:0}.receipt-manual-review-body .receipt-preview img,.receipt-manual-review-body .receipt-preview iframe{height:calc(100% - 49px);min-height:0}.receipt-manual-review-fields{min-width:0;overflow:auto;background:#fff}.receipt-manual-review-footer{justify-content:flex-end;border-top:1px solid #dce3ec;border-bottom:0}.receipt-detail>.notice{margin:14px 16px 0}.receipt-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:16px}.receipt-form-grid label,.receipt-decision-panel label{display:grid;gap:6px;color:var(--muted-text, #617083);font-size:.82rem}.receipt-form-grid .wide{grid-column:1 / -1}.receipt-form-grid textarea,.receipt-decision-panel textarea{min-height:84px;resize:vertical}.receipt-lines{border-top:1px solid var(--border, #d7dde5)}.receipt-lines input{min-width:90px;width:100%}.receipt-actions{justify-content:flex-end;flex-wrap:wrap;padding:16px;border-top:1px solid var(--border, #d7dde5)}.receipt-decision-panel{display:grid;gap:12px;margin:0 16px 16px;padding:16px;border:1px solid #f0b7b7;border-radius:12px;background:#fff8f8}.receipt-decision-panel>div{justify-content:flex-end}.receipt-status{display:inline-flex;padding:4px 8px;border-radius:999px;background:#eef2f7;color:#475569;font-size:.76rem;font-weight:700}.receipt-status.unresolved{background:#fff1cc;color:#8a5a00}.receipt-status.resolved_included{background:#dff6e8;color:#17653a}.receipt-status.resolved_excluded{background:#e8edf3;color:#4b5563}@media(max-width:1180px){.receipt-review-layout{grid-template-columns:1fr}.receipt-preview{position:static}.receipt-preview img,.receipt-preview iframe{height:560px}.receipt-manual-review-body{grid-template-columns:minmax(300px,.75fr) minmax(500px,1.25fr)}.receipt-manual-review-body .receipt-preview img,.receipt-manual-review-body .receipt-preview iframe{height:calc(100% - 49px)}}@media(max-width:720px){.receipt-form-grid{grid-template-columns:1fr}.receipt-tabs{width:100%;overflow-x:auto}.receipt-tabs button{white-space:nowrap}.receipt-preview img,.receipt-preview iframe{height:420px}}.receipt-workspace{gap:14px}.receipt-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:22px 24px;border:1px solid #d9e5f2;border-radius:18px;background:radial-gradient(circle at 86% 16%,rgb(37 99 235 / 12%),transparent 30%),linear-gradient(135deg,#fff,#f4f8fc 58%,#eef6ff);box-shadow:0 12px 30px #0f172a0d}.receipt-heading{display:block}.receipt-heading h2{margin:4px 0 0;font-size:clamp(24px,2vw,32px);letter-spacing:-.035em}.receipt-heading p{max-width:680px}.receipt-kpis{display:grid;grid-template-columns:repeat(3,minmax(94px,1fr));gap:8px}.receipt-kpis>div{display:grid;gap:2px;min-width:104px;padding:12px 14px;border:1px solid #dce6f1;border-radius:13px;background:#ffffffd1}.receipt-kpis strong{color:#12365d;font-size:22px;line-height:1}.receipt-kpis span{color:#65758a;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.receipt-kpis .warning strong{color:#b45309}.receipt-kpis .danger strong{color:#b42318}.receipt-control-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:8px;border:1px solid #dbe4ef;border-radius:15px;background:#fff}.receipt-tabs{border:0;background:#eef3f8}.receipt-tabs button{padding:9px 14px;border-radius:9px;font-weight:700}.receipt-tabs button.active{color:#174b7f;box-shadow:0 2px 8px #0f172a1a}.receipt-search{display:flex;align-items:center;gap:9px;width:min(380px,100%);padding:0 12px;color:#718096}.receipt-search input{width:100%;border:0;box-shadow:none;background:transparent}.receipt-search input:focus{outline:none}.receipt-command-layout{display:grid;grid-template-columns:minmax(270px,.64fr) minmax(360px,.9fr) minmax(420px,1.08fr);gap:14px;align-items:start;min-width:0}.receipt-inbox,.receipt-preview,.receipt-detail{border:1px solid #dbe4ef;border-radius:16px;background:#fff;box-shadow:0 10px 26px #0f172a0d}.receipt-inbox{min-width:0;overflow:hidden}.receipt-inbox>header{display:flex;align-items:center;justify-content:space-between;padding:15px 16px 12px;border-bottom:1px solid #e2e8f0}.receipt-inbox h3{margin:2px 0 0;font-size:17px}.receipt-inbox>header>span{display:grid;place-items:center;min-width:28px;height:28px;padding:0 8px;border-radius:999px;background:#eaf3ff;color:#1d5f9f;font-weight:800}.receipt-card-list{display:grid;gap:7px;max-height:calc(100vh - 360px);min-height:420px;padding:8px;overflow-y:auto}.receipt-card{display:grid;grid-template-columns:34px minmax(0,1fr);gap:10px;width:100%;padding:12px;border:1px solid transparent;border-radius:12px;background:transparent;color:#1e293b;text-align:left}.receipt-card:hover{border-color:#d6e4f2;background:#f8fbff}.receipt-card.selected{border-color:#87b8ea;background:linear-gradient(135deg,#edf6ff,#f8fbff);box-shadow:inset 3px 0 #2f80c9}.receipt-card-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#edf3f8;color:#315f89}.receipt-card.selected .receipt-card-icon{background:#d8ebff;color:#145b9b}.receipt-card-content{display:grid;gap:7px;min-width:0}.receipt-card-topline,.receipt-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px}.receipt-card-topline strong{overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.receipt-card-topline b{flex:0 0 auto;color:#153b63;font-size:12px}.receipt-card-meta{display:flex;align-items:center;gap:5px;color:#718096;font-size:11px}.receipt-project-chip{display:inline-flex;align-items:center;gap:4px;min-width:0;color:#27714d;font-size:11px;font-weight:700}.receipt-project-chip.missing{color:#b45309}.receipt-card .receipt-status{flex:0 0 auto;padding:3px 6px;font-size:10px}.receipt-pagination{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;border-top:1px solid #e2e8f0}.receipt-pagination button{padding:6px 9px;font-size:11px}.receipt-pagination span{color:#64748b;font-size:11px;font-weight:700}.receipt-preview{position:sticky;top:18px;overflow:hidden}.receipt-preview>header{min-height:58px;padding:10px 13px;background:#f8fafc}.receipt-preview-title{display:flex;align-items:center;gap:9px;min-width:0;color:#204d78}.receipt-preview-title>div{display:grid;min-width:0}.receipt-preview-title small{color:#7b8a9d;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.receipt-preview-title strong{color:#26384b;font-size:13px}.receipt-preview>header a{color:#276da8;font-size:11px;font-weight:700}.receipt-preview img,.receipt-preview iframe{height:clamp(520px,calc(100vh - 300px),780px);background:#e8edf2}.receipt-detail{overflow:hidden}.receipt-detail>.receipt-detail-hero{align-items:flex-start;padding:16px;border:0;background:linear-gradient(135deg,#12375e,#194c7e);color:#fff}.receipt-detail-hero h3{margin:3px 0 2px;color:#fff;font-size:19px}.receipt-detail-hero .eyebrow,.receipt-detail-hero small{color:#ffffffb8}.receipt-review-action{display:inline-flex;align-items:center;gap:7px;flex:0 0 auto;padding:9px 11px;border:1px solid rgb(255 255 255 / 32%);border-radius:9px;background:#ffffff1c;color:#fff;font-weight:700}.receipt-project-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,.8fr);gap:10px 14px;margin:14px;padding:14px;border:1px solid #a9ccef;border-radius:13px;background:linear-gradient(135deg,#edf6ff,#f8fbff)}.receipt-section-title{display:flex;align-items:center;gap:10px}.receipt-section-title>span{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#d8ebff;color:#1765a8}.receipt-section-title>div{display:grid}.receipt-section-title small{color:#5f7185;font-size:10px}.receipt-project-panel label{display:grid;gap:4px;color:#52657a;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.receipt-project-control{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px}.receipt-project-control .primary-action{min-height:38px;padding-inline:12px;white-space:nowrap}.receipt-project-panel select{min-width:0;background:#fff;color:#17324d;font-size:13px;font-weight:700}.receipt-save-hint{grid-column:2;color:#477057;font-size:10px;text-align:right}.receipt-project-panel p{grid-column:1 / -1;margin:0;padding-top:8px;border-top:1px solid #cfe0f1;color:#50657b;font-size:11px}.receipt-facts-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:0 14px 14px}.receipt-fact{display:grid;gap:5px;min-width:0;padding:11px 12px;border:1px solid #e0e7ef;border-radius:11px;background:#f8fafc}.receipt-fact span{display:flex;align-items:center;gap:5px;color:#77869a;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.receipt-fact strong{overflow:hidden;color:#1e293b;font-size:13px;text-overflow:ellipsis}.receipt-fact.amount{border-color:#b8d7f5;background:#edf6ff}.receipt-fact.amount strong{color:#124d80;font-size:19px}.receipt-line-summary{margin:0 14px 14px;border:1px solid #e0e7ef;border-radius:12px;overflow:hidden}.receipt-line-summary>header{display:flex;align-items:center;justify-content:space-between;padding:11px 13px;border-bottom:1px solid #e0e7ef;background:#f8fafc}.receipt-line-summary h4{margin:2px 0 0;font-size:14px}.receipt-line-summary>header>span{display:grid;place-items:center;width:24px;height:24px;border-radius:999px;background:#e6edf5;color:#52657a;font-size:11px;font-weight:800}.receipt-line-list{display:grid}.receipt-line-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 13px;border-bottom:1px solid #edf1f5}.receipt-line-item:last-child{border-bottom:0}.receipt-line-item>div{display:grid;gap:2px;min-width:0}.receipt-line-item>div strong{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.receipt-line-item span{color:#718096;font-size:10px}.receipt-line-item>strong{flex:0 0 auto;color:#264d72;font-size:12px}.receipt-lines-empty,.receipt-list-empty,.receipt-empty-workbench{display:grid;place-items:center;min-height:90px;padding:20px;color:#718096;font-size:12px;text-align:center}.receipt-note{margin:0 14px 14px;padding:12px 13px;border-left:3px solid #8fbce6;border-radius:8px;background:#f5f9fd}.receipt-note span{color:#6b7d91;font-size:10px;font-weight:800;text-transform:uppercase}.receipt-note p{margin:5px 0 0;color:#30465c;font-size:12px}.receipt-actions{gap:8px;padding:13px 14px;background:#f8fafc}.receipt-empty-workbench{grid-column:span 2;min-height:420px;border:1px dashed #c8d5e3;border-radius:16px;background:#f8fafc}@media(max-width:1260px){.receipt-command-layout{grid-template-columns:minmax(320px,.85fr) minmax(440px,1.15fr)}.receipt-inbox{grid-column:1 / -1}.receipt-card-list{grid-template-columns:repeat(3,minmax(0,1fr));min-height:0;max-height:none}}@media(max-width:900px){.receipt-hero,.receipt-control-bar{align-items:stretch;flex-direction:column}.receipt-kpis{width:100%}.receipt-search{width:100%;min-height:42px;border-top:1px solid #e2e8f0}.receipt-command-layout{grid-template-columns:minmax(0,1fr)}.receipt-inbox,.receipt-empty-workbench{grid-column:auto}.receipt-card-list{grid-template-columns:repeat(2,minmax(0,1fr))}.receipt-preview{position:static}.receipt-preview img,.receipt-preview iframe{height:520px}}@media(max-width:640px){.receipt-hero{padding:17px}.receipt-kpis{grid-template-columns:repeat(3,1fr)}.receipt-kpis>div{min-width:0;padding:10px}.receipt-kpis span{font-size:8px}.receipt-tabs{display:grid;grid-template-columns:repeat(3,minmax(max-content,1fr))}.receipt-card-list,.receipt-facts-grid{grid-template-columns:1fr}.receipt-detail>.receipt-detail-hero,.receipt-project-panel{grid-template-columns:1fr}.receipt-detail>.receipt-detail-hero{display:grid}.receipt-review-action{justify-content:center;width:100%}.receipt-save-hint{grid-column:auto;text-align:left}.receipt-project-control{grid-template-columns:1fr}.receipt-preview img,.receipt-preview iframe{height:440px}.receipt-actions>button{width:100%}}@media(max-width:760px){.email-client-shell{grid-template-columns:minmax(0,1fr);height:auto}.email-message-list{max-height:360px;border-right:0;border-bottom:1px solid #d8e1ee}.email-preview-pane{min-height:420px;padding:18px}.email-preview-attachment-list{grid-template-columns:minmax(0,1fr)}}@media(max-width:760px){:root{--mobile-app-nav-height: 72px}body{background:radial-gradient(circle at 10% 0%,rgba(46,125,91,.1),transparent 32%),#f3f5f1}.app-frame{display:block;min-height:100dvh}.content-shell{width:100%;min-width:0;min-height:100dvh;margin:0;padding-top:calc(68px + env(safe-area-inset-top));padding-bottom:calc(var(--mobile-app-nav-height) + env(safe-area-inset-bottom) + 16px)}.nav-panel{position:fixed;inset:auto 0 0;z-index:1000;width:100%;height:auto;min-height:var(--mobile-app-nav-height);padding:8px 10px calc(8px + env(safe-area-inset-bottom));border:0;border-top:1px solid rgba(26,57,43,.1);border-radius:20px 20px 0 0;background:#fbfcf9f0;box-shadow:0 -12px 35px #1c33291f;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.nav-panel>:not(nav){display:none}.nav-panel nav{display:flex;align-items:stretch;gap:6px;width:100%;overflow-x:auto;scrollbar-width:none}.nav-panel nav::-webkit-scrollbar{display:none}.nav-panel .nav-group-divider{display:none}.nav-panel nav button{flex:1 0 68px;min-width:68px;min-height:54px;margin:0;padding:7px 6px;border-radius:14px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:.68rem;line-height:1.05;white-space:nowrap}.nav-panel nav button svg{width:21px;height:21px;margin:0}.nav-panel nav button.active,.nav-panel nav button[aria-current=page]{background:#e4eee7;color:#155d42;box-shadow:inset 0 0 0 1px #155d4214}.topbar{position:fixed;top:0;right:0;left:0;z-index:900;box-sizing:border-box;width:100%;min-height:auto;margin:0;padding:calc(8px + env(safe-area-inset-top)) 12px 8px;border-bottom:1px solid rgba(26,57,43,.08);background:#f3f5f1;box-shadow:0 8px 24px #1c332914}.topbar-main{display:none}.topbar-mobile-appbar{display:grid;grid-template-columns:auto auto;align-items:center;justify-content:space-between;gap:8px;width:100%}.topbar-mobile-menu{position:relative}.topbar-mobile-menu-button{width:42px;height:42px;padding:0;display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(26,57,43,.08);border-radius:14px;background:#fff;color:#183d2f;box-shadow:0 5px 18px #1f392e0f}.topbar-mobile-menu-button:hover,.topbar-mobile-menu-button.active{border-color:#155d423d;background:#e4eee7;color:#155d42}.topbar-mobile-account-menu{position:fixed;top:calc(58px + env(safe-area-inset-top));right:12px;z-index:1001;width:min(320px,calc(100vw - 24px));padding:10px;border:1px solid rgba(26,57,43,.11);border-radius:18px;background:#fff;box-shadow:0 20px 50px #1c332933}.topbar-mobile-account-summary{display:flex;align-items:center;gap:10px;padding:8px}.topbar-mobile-account-summary>span:last-child{min-width:0;display:flex;flex-direction:column;gap:2px}.topbar-mobile-account-summary strong,.topbar-mobile-account-summary small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar-mobile-account-summary strong{color:#183d2f;font-size:.88rem;line-height:1.2}.topbar-mobile-account-summary small{color:#6b7d73;font-size:.68rem;font-weight:700;letter-spacing:.045em;line-height:1.2;text-transform:uppercase}.topbar-mobile-account-divider{height:1px;margin:5px 6px;background:#e6ebe7}.topbar-mobile-account-menu>button{width:100%;min-height:43px;padding:9px 10px;display:flex;align-items:center;justify-content:flex-start;gap:10px;border:0;border-radius:11px;background:transparent;color:#27483a;font-weight:700}.topbar-mobile-account-menu>button:hover:not(:disabled){background:#eef4ef}.topbar-mobile-account-menu>button.danger{color:#a3453d}.topbar-mobile-account-menu>button.danger:hover:not(:disabled){background:#fff2ef}.topbar-mobile-appbar .notification-panel,.topbar-mobile-appbar .notifications-panel,.topbar-mobile-appbar .notification-dropdown{position:fixed;top:calc(max(8px,env(safe-area-inset-top)) + 52px);right:12px;left:12px;z-index:1001;width:auto;max-width:none}}@media(max-width:760px){.invoice-workspace-tabs{flex-wrap:nowrap;gap:4px;margin:0 0 12px;padding:4px;overflow-x:auto;border-radius:14px;scrollbar-width:none}.invoice-workspace-tabs button{flex:1 0 auto;min-height:40px;padding:8px 12px;white-space:nowrap}.data-table.data-table--incoming.incoming-table,.data-table.data-table--incoming.incoming-table--with-ai{display:block;width:100%;min-width:0;table-layout:auto}}@media(max-width:760px){.modal-backdrop:has(.invoice-detail-modal){z-index:1100}.invoice-detail-modal{grid-template-rows:auto auto minmax(0,1fr) auto}.invoice-approval-dock{max-height:none;padding:7px 10px calc(7px + env(safe-area-inset-bottom));overflow:visible;border-top:1px solid #dce5df;border-radius:0;background:#fff;box-shadow:0 -8px 24px #1c33291a}.invoice-approval-dock .approval-panel{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;padding:0;border:0;border-radius:0;background:transparent;color:#183d2f}.invoice-approval-dock .approval-panel>.section-header{display:contents}.invoice-approval-dock .approval-panel>.section-header>div:first-child{display:flex;align-items:center}.invoice-approval-dock .approval-panel h3{display:none}.invoice-approval-dock .approval-panel .muted{display:inline-flex;min-height:28px;align-items:center;padding:5px 9px;border:1px solid #b9d8c8;border-radius:999px;background:#edf7f1;color:#155d42;font-size:.68rem;font-weight:900;white-space:nowrap}.invoice-approval-dock .approval-actions{grid-column:3;flex-wrap:nowrap;gap:5px}.invoice-approval-dock .approval-actions:empty{display:none}.invoice-approval-dock .approval-actions button{min-height:32px;padding:5px 9px;border-radius:10px;font-size:.68rem;white-space:nowrap}.invoice-approval-dock .approval-warning{grid-column:1 / -1;grid-row:2;margin-top:2px;padding:5px 8px;border-radius:8px;font-size:.68rem}.invoice-approval-dock .approval-timeline{grid-column:2;grid-row:1;display:flex;align-items:center;gap:0;min-width:0;padding:4px 2px;overflow-x:auto;scrollbar-width:none}.invoice-approval-dock .approval-timeline::-webkit-scrollbar{display:none}.invoice-approval-dock .approval-step{position:relative;display:inline-flex;flex:0 0 auto;grid-template-columns:none;align-items:center;gap:5px;padding:0;border:0;border-radius:0;background:transparent;color:#64766d;box-shadow:none}.invoice-approval-dock .approval-step:not(:last-child):after{content:"";width:14px;height:1px;margin:0 6px;background:#ccd8d1}.invoice-approval-dock .approval-step.current,.invoice-approval-dock .approval-step.done,.invoice-approval-dock .approval-step.rejected{border:0;background:transparent;box-shadow:none}.invoice-approval-dock .approval-step strong{color:inherit;font-size:.66rem;line-height:1;white-space:nowrap}.invoice-approval-dock .approval-step small{display:none}.invoice-approval-dock .approval-dot{flex:0 0 auto;width:8px;height:8px;margin:0;border-width:1px;border-color:#a9b8b0;background:#fff}.invoice-approval-dock .approval-step.done{color:#39765c}.invoice-approval-dock .approval-step.done .approval-dot,.invoice-approval-dock .approval-step.current .approval-dot{border-color:#2c8a63;background:#2c8a63}.invoice-approval-dock .approval-step.current{color:#155d42;font-weight:900}.invoice-approval-dock .approval-step.rejected{color:#a3453d}.invoice-approval-dock .approval-step.rejected .approval-dot{border-color:#c85b51;background:#c85b51}}@media(max-width:760px){.invoice-approval-dock .approval-panel{grid-template-columns:auto minmax(0,1fr)}.invoice-approval-dock .approval-panel .muted{border-color:#a9c8f5;background:#edf4ff;color:#174eaa}.invoice-approval-dock .approval-actions{grid-column:1 / -1;grid-row:2;display:flex;width:100%;margin-top:1px}.invoice-approval-dock .approval-actions button{flex:1 1 100%;width:100%;min-height:34px;overflow:hidden;border-color:#8eb5ef;background:#edf4ff;color:#174eaa;font-weight:900;text-align:center;text-overflow:ellipsis;white-space:nowrap}.invoice-approval-dock .approval-actions button.primary-action{border-color:#1768d2;background:#1768d2;color:#fff}.invoice-approval-dock .approval-warning{grid-column:1 / -1;grid-row:3}.invoice-approval-dock .approval-timeline{grid-column:2}.invoice-approval-dock .approval-step{color:#5f7695}.invoice-approval-dock .approval-step:not(:last-child):after{background:#a9c8f5}.invoice-approval-dock .approval-dot{border-color:#8eb5ef;background:#f7faff}.invoice-approval-dock .approval-step.done,.invoice-approval-dock .approval-step.current{color:#174eaa}.invoice-approval-dock .approval-step.done .approval-dot,.invoice-approval-dock .approval-step.current .approval-dot{border-color:#2878e8;background:#2878e8;box-shadow:0 0 0 3px #2878e821}}@media(max-width:760px){.invoice-approval-dock{border-top-color:#2c5d91;background:linear-gradient(135deg,#102744,#173b63);box-shadow:0 -10px 28px #0f27443d}.invoice-approval-dock .approval-panel{color:#f8fbff}.invoice-approval-dock .approval-panel .muted{border-color:#91bcf580;background:#4b89d838;color:#e8f2ff}.invoice-approval-dock .approval-step{color:#c7d7ea}.invoice-approval-dock .approval-step:not(:last-child):after{background:#91bcf58c}.invoice-approval-dock .approval-dot{border-color:#d7e5f7b8;background:transparent}.invoice-approval-dock .approval-step.done,.invoice-approval-dock .approval-step.current{color:#f8fbff}.invoice-approval-dock .approval-step.done .approval-dot,.invoice-approval-dock .approval-step.current .approval-dot{border-color:#86b8ff;background:#86b8ff;box-shadow:0 0 0 3px #86b8ff29}.invoice-approval-dock .approval-actions button{border-color:#bed5f18c;background:#ffffff1a;color:#f8fbff}.invoice-approval-dock .approval-actions button.primary-action{border-color:#7db3ff;background:#2878e8;color:#fff}}@media(max-width:760px){.invoice-detail-modal{grid-template-rows:auto minmax(0,1fr) auto}.invoice-detail-modal>.modal-header{display:none}.invoice-action-dock{display:grid;grid-template-columns:minmax(0,1fr);align-items:center;gap:8px;margin:0;padding:calc(9px + env(safe-area-inset-top)) 62px 9px 10px;border-radius:0 0 15px 15px}.invoice-action-dock .invoice-top-actions{min-width:0}.invoice-mobile-detail-close{top:calc(9px + env(safe-area-inset-top))}.invoice-mobile-detail-close:hover{border-color:#91bcf5;background:#4b89d847;color:#fff;box-shadow:none;transform:none}}@media(max-width:760px){html,body,#root,.app-frame,.content-shell{max-width:100%;overflow-x:hidden}.modal-backdrop:has(.invoice-detail-modal){inset:0;box-sizing:border-box;width:100%;max-width:100vw;overflow-x:hidden}.invoice-detail-modal{box-sizing:border-box;width:100%;min-width:0;max-width:100%;overflow-x:hidden}.invoice-detail-modal>*,.invoice-modal-scroll,.invoice-detail,.invoice-detail>*{box-sizing:border-box;min-width:0;max-width:100%}.invoice-modal-scroll{width:100%;overflow-x:hidden}.invoice-top-actions-buttons,.invoice-workspace-tabs,.status-filter-options{flex-wrap:wrap;overflow-x:hidden}.invoice-detail .line-items-table-wrap,.invoice-detail .delivery-table-wrap,.invoice-detail .table-wrap{width:100%;max-width:100%;overflow-x:hidden}.invoice-detail table,.invoice-detail .data-table{width:100%;min-width:0!important;max-width:100%;table-layout:fixed}.invoice-detail th,.invoice-detail td{min-width:0!important;max-width:100%;white-space:normal;overflow-wrap:anywhere;word-break:break-word}.invoice-approval-dock .approval-timeline{width:100%;max-width:100%;overflow-x:hidden}.invoice-approval-dock .approval-step{flex:1 1 0;min-width:0}.invoice-approval-dock .approval-step>div{min-width:0}.invoice-approval-dock .approval-step strong{overflow:hidden;font-size:.61rem;text-overflow:ellipsis}.invoice-approval-dock .approval-step:not(:last-child):after{flex:0 1 12px;width:12px;min-width:3px;margin:0 3px}}@media(max-width:760px){body:has(.invoice-detail-modal){height:100dvh;overflow:hidden}.modal-backdrop:has(.invoice-detail-modal){position:fixed;inset:0;display:block;width:100vw;height:100dvh;max-height:100dvh;padding:0;overflow:hidden;overscroll-behavior:none}.invoice-detail-modal{position:relative;display:grid;grid-template-rows:auto minmax(0,1fr) auto;width:100vw;height:100dvh;min-height:100dvh;max-height:100dvh;margin:0;overflow:hidden;border:0;border-radius:0}.invoice-action-dock{position:relative;z-index:20;grid-row:1;width:100%;margin:0;border-radius:0 0 15px 15px;box-shadow:0 8px 22px #0f274438}.invoice-modal-scroll{grid-row:2;width:100%;height:100%;min-height:0;padding:10px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.invoice-approval-dock{position:relative;z-index:20;grid-row:3;width:100%;margin:0;overflow:hidden;border-radius:15px 15px 0 0;box-shadow:0 -10px 28px #0f274440}}@media(max-width:760px){.invoice-detail .line-items-table-wrap,.invoice-detail .delivery-table-wrap{display:block;width:100%;max-width:100%;overflow-x:auto;overflow-y:visible;overscroll-behavior-inline:contain;touch-action:pan-x pan-y;scrollbar-width:thin;-webkit-overflow-scrolling:touch}.invoice-detail .line-items-table-wrap table,.invoice-detail .delivery-table-wrap table{width:max-content;min-width:100%!important;max-width:none;table-layout:auto}.invoice-detail .line-items-table-wrap th,.invoice-detail .line-items-table-wrap td,.invoice-detail .delivery-table-wrap th,.invoice-detail .delivery-table-wrap td{min-width:max-content!important;max-width:none;white-space:nowrap;overflow-wrap:normal;word-break:normal}.invoice-detail .line-items-table-wrap .table-cell--text,.invoice-detail .delivery-table-wrap .table-cell--text{min-width:180px!important;white-space:normal}}@media(max-width:760px){.project-overview-tiles,.project-cost-kpis,.project-cost-source-summary,.project-detail-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.topbar-mobile-account-menu{max-height:calc(100dvh - 76px - env(safe-area-inset-top));overflow-y:auto;overscroll-behavior:contain}.topbar-mobile-impersonation{display:grid;gap:7px;margin:4px 0;padding:9px;border:1px solid #f0c36d;border-radius:12px;background:#fff8e8}.topbar-mobile-impersonation .impersonation-badge{justify-self:start}.topbar-mobile-impersonation button{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:39px;padding:8px 10px;border:1px solid #dca63f;border-radius:10px;background:#fff;color:#805300;font-weight:900}.topbar-mobile-user-switcher{display:grid;gap:6px;padding:8px;color:#365448;font-size:.72rem;font-weight:900}.topbar-mobile-user-switcher>span{display:flex;align-items:center;gap:6px}.topbar-mobile-user-switcher select{width:100%;min-height:40px;padding:8px 10px;border:1px solid #ccd9d1;border-radius:10px;background:#f8fbf8;color:#183d2f}}.work-report-hero{border-color:#cce7df;background:radial-gradient(circle at 86% 16%,rgb(13 148 136 / 12%),transparent 30%),linear-gradient(135deg,#fff,#f3faf8 58%,#edf9f6)}.work-report-tabs{max-width:100%;overflow-x:auto}.work-report-tabs button{white-space:nowrap}.work-report-card-icon{background:#e4f5f1;color:#0f766e}.receipt-card.selected .work-report-card-icon{background:#cceee6;color:#0b625b}.work-report-preview iframe{display:block;width:100%;border:0}.work-report-detail-panel{min-width:0}.work-report-detail-panel>.receipt-detail-hero{background:linear-gradient(135deg,#123d49,#11645e)}.work-report-summary .receipt-line-item>div strong{max-width:260px}.work-report-actions-bar{min-height:62px}.work-report-modal-backdrop{position:fixed;inset:0;z-index:1400;display:grid;place-items:center;padding:24px;background:#0f172a9e;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.work-report-modal{display:grid;grid-template-rows:auto minmax(0,1fr) auto;width:min(1120px,100%);max-height:calc(100vh - 48px);overflow:hidden;border:1px solid #d9e4ee;border-radius:18px;background:#fff;box-shadow:0 28px 80px #0f172a4d}.work-report-modal>header,.work-report-modal>footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 18px;border-bottom:1px solid #e2e8f0}.work-report-modal>header h3{margin:2px 0 0}.work-report-modal>footer{justify-content:flex-end;border-top:1px solid #e2e8f0;border-bottom:0;background:#f8fafc}.work-report-modal-body{display:grid;gap:22px;padding:18px;overflow:auto}.work-report-manual-review-modal{width:min(1380px,calc(100vw - 48px));height:min(860px,calc(100vh - 48px))}.work-report-manual-review-body{grid-template-columns:minmax(480px,1.05fr) minmax(520px,.95fr);gap:0;min-height:0;padding:0;overflow:hidden}.work-report-manual-preview{display:flex;min-width:0;min-height:0;flex-direction:column;border-right:1px solid var(--border);background:#eef3f8}.work-report-manual-preview>.work-report-preview{position:static;width:100%;height:100%;border:0;border-radius:0;box-shadow:none}.work-report-manual-preview-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 16px;border-bottom:1px solid var(--border);background:#fff}.work-report-manual-preview-header>div{display:grid;gap:2px}.work-report-manual-preview-header a{color:var(--primary);font-size:.82rem;font-weight:800;text-decoration:underline;text-underline-offset:2px}.work-report-manual-preview-stage{display:grid;min-height:0;flex:1;padding:12px;overflow:hidden;background:#303841}.work-report-manual-preview-stage iframe{width:100%;height:100%;min-height:620px;border:0;border-radius:8px;background:#fff}.work-report-manual-preview-empty{display:grid;place-items:center;min-height:420px;color:#dce5ee;font-weight:700}.work-report-manual-editor{min-width:0;min-height:0;padding:18px;overflow:auto}@media(max-width:900px){.work-report-manual-review-modal{width:min(960px,calc(100vw - 32px));height:calc(100vh - 32px)}.work-report-manual-review-body{grid-template-columns:1fr;grid-template-rows:minmax(380px,48vh) minmax(0,1fr);overflow:auto}.work-report-manual-preview{border-right:0;border-bottom:1px solid var(--border)}.work-report-manual-preview-stage iframe{min-height:0}.work-report-manual-editor{overflow:visible}.work-report-command-layout{grid-template-columns:minmax(0,1fr)}.work-report-preview{position:static}}@media(max-width:640px){.work-report-modal-backdrop{padding:0}.work-report-modal{width:100%;height:100%;max-height:none;border:0;border-radius:0}.work-report-actions-bar>button{width:100%}}.work-report-preview-stage{position:relative;flex:1;min-height:0;overflow:hidden;background:#f4f7f5;cursor:pointer}.work-report-preview-stage>iframe{display:block;width:100%;height:100%;min-height:520px;border:0;pointer-events:none}.work-report-preview-click-layer{position:absolute;inset:0;z-index:2;display:flex;align-items:flex-end;justify-content:center;padding:18px;background:linear-gradient(to top,rgb(8 50 48 / 18%),transparent 28%)}.work-report-preview-click-layer span{padding:7px 12px;border-radius:999px;background:#083230e0;color:#fff;font-size:.72rem;font-weight:800;letter-spacing:.02em;opacity:0;transform:translateY(6px);transition:opacity .16s ease,transform .16s ease}.work-report-preview-stage:hover .work-report-preview-click-layer span,.work-report-preview-stage:focus-visible .work-report-preview-click-layer span{opacity:1;transform:translateY(0)}.work-report-preview-stage:focus-visible{outline:3px solid #2f80ed;outline-offset:-3px}.work-report-preview-header-actions{display:flex;align-items:center;gap:12px}.work-report-preview-focus-exit{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:7px 10px;border:1px solid #b9d9d6;border-radius:9px;background:#eaf7f5;color:#0c655f;font:inherit;font-size:.74rem;font-weight:800;cursor:pointer}.work-report-preview-focus-exit:hover{border-color:#78b9b3;background:#dff2ef}.work-report-return-action{border-color:#2563d9;background:#fff;color:#2563d9}.work-report-return-action:hover:not(:disabled){border-color:#174fb9;background:#eef5ff;color:#174fb9}.work-report-preview-mobile-tabs{display:none}.work-report-command-layout:has(>.work-report-preview.is-focused){grid-template-columns:minmax(0,11fr) minmax(380px,9fr);height:clamp(620px,calc(100vh - 280px),820px);overflow:hidden}.work-report-command-layout:has(>.work-report-preview.is-focused)>:first-child{display:none}.work-report-command-layout:has(>.work-report-preview.is-focused)>.work-report-preview,.work-report-command-layout:has(>.work-report-preview.is-focused)>:last-child{height:100%;min-height:0;animation:work-report-focus-in .18s ease-out}.work-report-command-layout:has(>.work-report-preview.is-focused)>:last-child{overflow-y:auto;overscroll-behavior:contain}.work-report-preview.is-focused{position:static;align-self:stretch;display:flex;flex-direction:column;height:100%!important;min-height:0!important;max-height:none!important;overflow:hidden}.work-report-preview.is-focused .work-report-preview-stage{flex:1 1 0;width:100%;height:auto!important;min-height:0!important;cursor:default}.work-report-preview.is-focused .work-report-preview-stage>iframe{height:100%!important;min-height:0!important;pointer-events:auto}.work-report-preview.is-focused .work-report-preview-click-layer{display:none}@keyframes work-report-focus-in{0%{opacity:.82;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@media(max-width:900px){.work-report-command-layout:has(>.work-report-preview.is-focused){grid-template-columns:minmax(0,1fr);height:calc(100vh - 96px);min-height:520px}.work-report-preview-mobile-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin:10px 12px 0;padding:4px;border-radius:11px;background:#e8eff1}.work-report-preview-mobile-tabs button{padding:9px 12px;border:0;border-radius:8px;background:transparent;color:#60727b;font:inherit;font-size:.78rem;font-weight:800}.work-report-preview-mobile-tabs button.active{background:#fff;color:#146e68;box-shadow:0 2px 8px #173a461a}.work-report-command-layout:has(>.work-report-preview.is-focused:not(.is-data-pane))>:last-child{display:none}.work-report-command-layout:has(>.work-report-preview.is-focused.is-data-pane)>.work-report-preview{height:auto}.work-report-command-layout:has(>.work-report-preview.is-focused.is-data-pane) .work-report-preview-stage{display:none}.work-report-command-layout:has(>.work-report-preview.is-focused.is-data-pane)>:last-child{display:block;height:calc(100vh - 205px);overflow-y:auto}}@media(max-width:640px){.work-report-preview-header-actions>a{display:none}.work-report-preview-focus-exit{padding-inline:8px}}@media(max-width:760px){.nav-panel>nav{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:calc((100% - 24px)/4);column-gap:8px;justify-content:start;max-width:100%;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;touch-action:pan-x;-webkit-overflow-scrolling:touch}.nav-panel>nav::-webkit-scrollbar{display:none}.nav-panel>nav>button{width:100%;min-width:0;scroll-snap-align:start;scroll-snap-stop:always}.nav-panel>nav>:not(button){display:none}}
