:root{font-family:var(--font-sans);font-size:var(--fs-md);line-height:1.45;color:#1f2937;background:#f9fafb;font-synthesis:none;text-rendering:optimizeLegibility;--ink: #1f2937;--muted: #6b7280;--line: #e5e7eb;--green: #246d51;--green-dark: #1c5841;--mono: ui-monospace, "Cascadia Mono", Consolas, monospace;--font-sans: "Segoe UI", "Aptos", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;--fs-2xs: 11px;--fs-xs: 12px;--fs-sm: 13px;--fs-md: 14px;--fs-lg: 16px;--fs-xl: 19px;--fs-2xl: 26px;--label-tracking: .06em;--navy: #0f172a;--blue: #2563eb}*{box-sizing:border-box}body{margin:0;min-width:360px;min-height:100vh}button,input{font:inherit}button{cursor:pointer}.app-shell{min-height:100vh;display:grid;grid-template-columns:248px minmax(0,1fr)}.sidebar{position:fixed;inset:0 auto 0 0;z-index:3;width:248px;display:flex;flex-direction:column;padding:0 16px 18px;background:var(--navy);color:#fff}.brand-lockup{min-height:64px;display:flex;gap:10px;align-items:center;padding:0 8px;border-bottom:1px solid #334155}.brand-mark{width:34px;height:34px;display:grid;place-items:center;color:#fff;background:#2563eb;border-radius:6px}.brand-name{display:block;font-size:19px;line-height:1.2;font-weight:700;letter-spacing:0}.brand-caption{display:block;margin-top:2px;color:#94a3b8;font-size:var(--fs-2xs);font-weight:600;letter-spacing:var(--label-tracking);text-transform:uppercase}.workspace-label,.panel-kicker,.eyebrow{color:#6b7280;font-size:var(--fs-2xs);font-weight:600;line-height:1.4;letter-spacing:var(--label-tracking);text-transform:uppercase}.workspace-label{padding:18px 10px 10px}.workspace-nav{min-height:0;display:grid;align-content:start;gap:5px;overflow-y:auto}.nav-item{width:100%;display:flex;align-items:center;gap:10px;min-height:40px;padding:8px 10px;border:0;border-radius:6px;color:#cbd5e1;background:transparent;text-align:left;font-size:var(--fs-md);font-weight:500;line-height:1.3}.nav-item:hover{background:#1e293b;color:#fff}.nav-item.selected{color:#fff;background:#1e293b}.nav-item.selected svg{color:#93c5fd}.nav-group{display:grid;gap:2px}.nav-group-toggle{width:100%;display:flex;align-items:center;gap:10px;min-height:40px;padding:8px 10px;border:0;border-radius:6px;color:#cbd5e1;background:transparent;text-align:left;font-size:var(--fs-md);font-weight:500;line-height:1.3}.nav-group-toggle:hover,.nav-group-toggle.active{color:#fff;background:#1e293b}.nav-group-toggle.active svg{color:#93c5fd}.nav-group-items{display:grid;gap:2px;margin-left:12px;padding-left:8px;border-left:1px solid #334155}.nav-group-items[hidden]{display:none}.admin-nav-items{margin-left:12px}.settings-nav-group{display:grid;gap:2px}.settings-nav-parent{width:100%}.settings-chevron{margin-left:auto;transition:transform .14s ease}.settings-chevron.expanded{transform:rotate(180deg)}.settings-subnav{display:grid;gap:2px;margin-left:17px;padding-left:10px;border-left:1px solid #334155}.settings-subnav[hidden]{display:none}.nav-subitem{width:100%;min-height:32px;display:flex;align-items:center;gap:8px;padding:6px 9px;border:0;border-radius:6px;color:#94a3b8;background:transparent;text-align:left;font-size:var(--fs-sm);line-height:1.3}.nav-subitem:hover,.nav-subitem.selected{color:#fff;background:#1e293b}.nav-subitem.selected svg{color:#93c5fd}.settings-view .data-section,.settings-view .sap-match-settings{scroll-margin-top:84px}.nav-count{min-width:20px;margin-left:auto;padding:1px 6px;border-radius:999px;color:#fff;background:#dc2626;text-align:center;font-size:var(--fs-2xs);font-weight:700;line-height:16px;font-variant-numeric:tabular-nums}.sidebar-bottom{margin-top:auto}.workspace-label{color:#64748b}.nav-section-label{margin:14px 0 2px;padding:10px 10px 4px;border-top:1px solid #1e293b;color:#64748b;font-size:var(--fs-2xs);font-weight:600;line-height:1.4;letter-spacing:var(--label-tracking);text-transform:uppercase}.workspace-nav button:focus-visible{outline:2px solid #93c5fd;outline-offset:-2px}.nav-subitem.selected{box-shadow:inset 2px 0 #60a5fa}.workspace-nav button>span:not([class]){min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace-nav button>svg{flex:0 0 auto}.nav-group-items.settings-subnav{gap:10px;margin-left:12px;padding:4px 0 6px 8px}.nav-subgroup{display:grid;gap:1px}.nav-subheading{padding:2px 9px 3px;color:#64748b;font-size:10.5px;font-weight:600;letter-spacing:var(--label-tracking);text-transform:uppercase}.nav-nested{display:grid;gap:1px}.nav-nested-toggle.active{color:#e2e8f0}.nav-nested-toggle.active>svg:first-child{color:#93c5fd}.nav-nested-count{margin-left:auto;padding:0 6px;border-radius:999px;color:#94a3b8;background:#1e293b;font-size:var(--fs-2xs);font-weight:600;line-height:16px;font-variant-numeric:tabular-nums}.nav-nested-toggle .settings-chevron{margin-left:6px}.nav-nested-items{display:grid;gap:1px;margin:1px 0 2px 15px;padding-left:6px;border-left:1px solid #334155}.nav-nested-items[hidden]{display:none}.nav-nested-items .nav-subitem{min-height:30px;padding-right:6px;font-size:12.5px}@media(prefers-reduced-motion:reduce){.settings-chevron{transition:none}}.privacy-note{display:flex;gap:9px;align-items:flex-start;margin:0 4px 13px;padding:12px 10px;border:1px solid #334155;border-radius:4px;color:#cbd5e1;font-size:13px;line-height:1.4}.privacy-note svg{flex:0 0 auto;color:#86efac}.integration-note{display:flex;gap:8px;align-items:center;padding:7px 10px;color:#cbd5e1;font-size:12px}.offline-dot{width:7px;height:7px;flex:0 0 auto;border-radius:50%;background:#f59e0b}.online-dot{width:7px;height:7px;flex:0 0 auto;border-radius:50%;background:#22c55e}.main-area{grid-column:2;min-width:0;background:#f9fafb}.topbar{height:64px;display:flex;justify-content:space-between;align-items:center;padding:0 28px;border-bottom:1px solid #e5e7eb;background:#fff;box-shadow:0 1px 3px #1118270b}.breadcrumb,.topbar-right{display:flex;align-items:center;gap:9px}.breadcrumb{color:#6b7280;font-size:14px}.breadcrumb strong{color:#374151;font-weight:600}.topbar-right{gap:17px}.ocr-mode{display:flex;gap:7px;align-items:center;color:#2563eb;font-size:var(--fs-2xs);font-weight:600;letter-spacing:var(--label-tracking);text-transform:uppercase}.sap-status{display:flex;gap:8px;align-items:center;color:#6b7280;font-size:13px}.avatar{width:32px;height:32px;border:0;border-radius:50%;background:#2563eb;color:#fff;font-size:13px;font-weight:700}.page-content{max-width:1500px;margin:0 auto;padding:27px 28px 16px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:23px}.eyebrow{margin:0 0 8px}.eyebrow span{color:#cbd5e1}h1,h2,h3,p{margin-top:0}h1{margin-bottom:6px;color:#1f2937;font:600 var(--fs-2xl)/1.2 var(--font-sans);letter-spacing:-.01em;overflow-wrap:anywhere}.subheading{margin:0;color:#6b7280;font-size:14px}.heading-actions{display:flex;align-items:center;gap:9px}.button{display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:36px;padding:0 13px;border:1px solid transparent;border-radius:4px;font-size:13px;font-weight:600;white-space:nowrap}.button:disabled{opacity:.58;cursor:wait}.button.primary{background:#2563eb;color:#fff;box-shadow:0 1px 2px #1e3a8a20}.button.primary:hover:not(:disabled){background:#1d4ed8}.button.secondary{border-color:#d1d5db;color:#374151;background:#fff}.button.large{min-height:40px;padding:0 16px;font-size:14px}.export-menu{position:relative}.export-json{position:absolute;top:40px;right:0;z-index:2;padding:5px 9px;border:1px solid var(--line);border-radius:4px;background:#fff;color:#4b5563;font-size:var(--fs-xs)}.error-banner{display:flex;gap:9px;align-items:center;margin-bottom:16px;padding:10px 13px;border:1px solid #f0c6ba;border-radius:4px;background:#fff5f1;color:#944e3d;font-size:14px}.error-banner button{margin-left:auto;border:0;color:inherit;background:none;font-size:21px}.error-banner{flex-wrap:wrap}.error-banner .error-action{margin-left:0;font-size:14px;text-decoration:underline}.dashboard-view{display:grid;gap:23px}.metric-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}.metric-panel{position:relative;min-height:145px;padding:21px 22px 17px;border:1px solid #e5e7eb;border-top:4px solid #2563eb;border-radius:6px;background:#fff;box-shadow:0 1px 3px #1118270b}.metric-panel:nth-child(2){border-top-color:#eab308}.metric-panel:nth-child(3){border-top-color:#ef4444}.metric-icon{position:absolute;top:18px;right:19px;width:34px;height:34px;display:grid;place-items:center;border-radius:5px}.metric-icon.green{color:#2563eb;background:#eff6ff}.metric-icon.amber{color:#ca8a04;background:#fefce8}.metric-icon.coral{color:#dc2626;background:#fef2f2}.metric-label{display:block;padding-right:42px;color:#6b7280;font-size:13px;font-weight:700;letter-spacing:.05em;text-transform:uppercase}.metric-panel>strong{display:block;margin-top:10px;color:#1f2937;font-size:36px;line-height:1}.metric-caption{display:block;margin-top:8px;color:#6b7280;font-size:12px}.assistant-view{display:grid;gap:14px}.assistant-status-panel .section-heading>div h2{display:flex;align-items:center;gap:7px}.assistant-status-panel .section-heading>div h2 svg{color:#2563eb}.assistant-connection-details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:12px 18px}.assistant-connection-details>span{display:grid;gap:4px;color:#6b7280;font-size:12px}.assistant-connection-details strong{color:#374151;font-size:13px;font-weight:600;overflow-wrap:anywhere}.assistant-provider-toggle{display:inline-grid;grid-template-columns:1fr 1fr;width:fit-content;margin:12px 18px 2px;border:1px solid #cbd5e1;border-radius:4px;overflow:hidden}.assistant-provider-toggle button{min-height:34px;padding:0 13px;border:0;color:#475569;background:#fff;font-family:inherit;font-size:13px;font-weight:600;cursor:pointer}.assistant-provider-toggle button+button{border-left:1px solid #cbd5e1}.assistant-provider-toggle button.selected{color:#1d4ed8;background:#eff6ff}.assistant-provider-toggle button:focus-visible{position:relative;z-index:1;outline:2px solid #2563eb;outline-offset:-2px}.assistant-provider-detail{display:grid;gap:10px;padding-bottom:14px}.assistant-model-progress{display:flex;align-items:center;gap:8px;margin:0 18px;color:#475569;font-size:13px}.assistant-model-load{justify-self:start;margin:0 18px}.claude-context-consent{align-items:flex-start;margin:0 18px;line-height:1.5}.external-model-notice{border-color:#f5d58c;background:#fffbeb;color:#854d0e}.assistant-status-panel .local-notice{margin:0 15px 14px;align-items:flex-start;line-height:1.5}.assistant-shortcuts{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.assistant-shortcuts .text-action{min-height:34px;padding:0 5px}.assistant-source-toggle{width:fit-content}.assistant-chat{display:grid;grid-template-rows:minmax(240px,1fr) auto;min-height:440px}.assistant-thread{min-height:280px;max-height:55vh;display:grid;align-content:start;gap:11px;overflow:auto;padding:16px}.assistant-message{display:grid;grid-template-columns:26px minmax(0,1fr);align-items:start;gap:9px}.assistant-message>span{width:24px;height:24px;display:grid;place-items:center;border-radius:4px;color:#475569;background:#eef2f6;font-size:11px}.assistant-message.assistant>span{color:#1d4ed8;background:#eff6ff}.assistant-message p{margin:0;padding:10px 12px;border:1px solid #e5e7eb;border-radius:4px;color:#374151;background:#fff;font-size:14px;line-height:1.6;overflow-wrap:anywhere;white-space:pre-wrap}.assistant-message.user p{background:#f8fafc}.assistant-empty{min-height:250px;display:grid;justify-items:center;align-content:center;gap:8px;color:#64748b;font-size:13px;text-align:center}.assistant-empty svg{color:#2563eb}.assistant-empty strong{color:#374151;font-size:15px}.assistant-thinking{display:flex;align-items:center;gap:8px;color:#64748b;font-size:13px}.assistant-composer{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;padding:13px 16px;border-top:1px solid #e5e7eb;background:#fbfcfd}.assistant-composer textarea,.assistant-support-form textarea{width:100%;min-height:58px;padding:9px 10px;border:1px solid #d1d5db;border-radius:4px;color:#374151;background:#fff;font:inherit;font-size:13px;line-height:1.5;resize:vertical}.assistant-composer textarea:focus,.assistant-support-form textarea:focus{border-color:#2563eb;outline:2px solid #bfdbfe}.assistant-support-form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;padding:14px 17px}.assistant-email-notice{grid-column:1 / -1;color:#475569;font-size:12px;line-height:1.5}.data-section{overflow:hidden;border:1px solid #e5e7eb;border-radius:6px;background:#fff;box-shadow:0 1px 3px #1118270b}.section-heading{min-height:66px;display:flex;justify-content:space-between;align-items:center;gap:15px;padding:15px 19px;border-bottom:1px solid #e5e7eb}.section-heading h2{margin:0 0 4px;color:#374151;font-size:16px;font-weight:600}.section-heading p{margin:0;color:#6b7280;font-size:12px}.table-scroll{position:relative;width:100%;overflow-x:auto}.invoice-table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}.invoice-table th{height:42px;padding:0 18px;border-bottom:1px solid #e5e7eb;color:#6b7280;background:#f9fafb;font-size:12px;font-weight:600}.invoice-table td{height:49px;padding:0 18px;border-bottom:1px solid #eef0f3;color:#4b5563;font-size:13px}.invoice-table td.wrap-cell{min-width:160px;max-width:320px;padding-top:8px;padding-bottom:8px;line-height:1.35;white-space:normal;overflow-wrap:anywhere}.report-table td:first-child,.aging-table td:first-child,.supplier-learning-table td:first-child{min-width:160px;max-width:280px;padding-top:8px;padding-bottom:8px;line-height:1.35;white-space:normal;overflow-wrap:anywhere}.report-table th{height:auto;min-height:42px;padding-top:8px;padding-bottom:8px;line-height:1.25;white-space:normal;min-width:84px}.guide-lookup-table td{min-width:140px;padding-top:10px;padding-bottom:10px;line-height:1.4;white-space:normal}.invoice-table tbody tr:last-child td{border-bottom:0}.table-link{padding:0;border:0;color:#2563eb;background:transparent;font-size:inherit;font-weight:600;text-align:left}.table-link:hover,.text-action:hover{color:#1d4ed8}.table-empty{height:85px!important;color:#6b7280!important;text-align:center}.status-badge{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:4px;font-size:11px;font-weight:600;white-space:nowrap}.status-badge.pending{color:#854d0e;background:#fef9c3}.status-badge.reviewed{color:#166534;background:#dcfce7}.status-badge.rejected{color:#991b1b;background:#fee2e2}.icon-action{width:27px;height:27px;display:grid;place-items:center;border:0;border-radius:4px;color:#6b7280;background:transparent}.icon-action:hover{background:#f3f4f6}.table-actions{display:flex;align-items:center;gap:3px}.icon-action.destructive{color:#b91c1c}.icon-action.destructive:hover{background:#fef2f2}.text-action{display:inline-flex;align-items:center;gap:5px;padding:0;border:0;color:#2563eb;background:transparent;font-size:12px;font-weight:600;white-space:nowrap}.local-notice{display:flex;gap:8px;align-items:center;padding:11px 13px;border:1px solid #dbeafe;border-radius:5px;color:#475569;background:#eff6ff;font-size:12px}.local-notice svg{color:#2563eb}.upload-dropzone{min-height:390px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:10px;padding:34px;border:2px dashed #d1d5db;border-radius:6px;background:#fff;text-align:center;transition:border-color .15s ease,background-color .15s ease}.upload-dropzone:hover,.upload-dropzone.is-dragging{border-color:#3b82f6;background:#f8fbff}.upload-icon{width:54px;height:54px;display:grid;place-items:center;border-radius:50%;color:#6b7280;background:#f3f4f6}.upload-dropzone h2{margin:5px 0 0;color:#374151;font-size:19px;font-weight:600}.upload-dropzone p{margin:0;color:#6b7280;font-size:14px}.upload-dropzone .button{margin-top:11px}.upload-hint{color:#6b7280;font-size:12px}.queue-section,.vendors-section{min-height:300px}.queue-list{padding:0 18px}.queue-row{width:100%;min-height:67px;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(130px,.9fr) 20px;align-items:center;gap:12px;padding:10px 2px;border:0;border-bottom:1px solid #e5e7eb;background:#fff;text-align:left}.queue-row:last-child{border-bottom:0}.queue-row:hover{background:#f9fafb}.queue-entry{display:flex;align-items:center;gap:12px;border-bottom:1px solid #e5e7eb}.queue-entry>.queue-row{min-width:0;border-bottom:0}.queue-entry>.button{flex-shrink:0}.queue-list>.queue-entry:not(:has(.reject-invoice-action)){display:grid;grid-template-columns:minmax(0,1fr) 96px;gap:12px}.queue-list>.queue-entry>.queue-row{grid-template-columns:minmax(0,1fr) 140px 20px;gap:16px}.queue-list>.queue-entry>.button{justify-self:end}.queue-row>.status-badge.rejected{color:#b42318;background:#fef3f2}@media(max-width:680px){.queue-list>.queue-entry:not(:has(.reject-invoice-action)){grid-template-columns:minmax(0,1fr) 40px;gap:6px}.queue-list>.queue-entry>.queue-row{grid-template-columns:minmax(0,1fr) 118px 16px;gap:8px}.queue-list>.queue-entry>.button{width:36px;padding:0;font-size:0;justify-content:center}}.approval-inbox,.approval-review-actions{padding:16px;margin-bottom:16px}.approval-review-actions p,.approval-inbox>p{color:#6b7280;font-size:14px;line-height:1.6}.approval-review-actions textarea{min-height:70px;resize:vertical}.approval-review-actions .section-actions{flex-wrap:wrap;margin-top:12px}.approval-reassign{display:flex;align-items:end;flex-wrap:wrap;gap:12px;margin-top:16px}.approval-reassign .settings-field{flex:1;min-width:180px}.queue-row>.status-badge{justify-self:start}.queue-row>svg{justify-self:end}.queue-file{min-width:0;display:flex;align-items:center;gap:10px;color:#64748b}.queue-file>span{min-width:0;display:grid;gap:4px}.queue-file strong{overflow:hidden;color:#374151;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.queue-file small{overflow:hidden;color:#6b7280;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.queue-empty{min-height:220px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:10px;color:#6b7280}.queue-empty>svg{color:#94a3b8}.queue-empty strong{color:#374151;font-size:16px}.queue-empty>span{font-size:13px}.queue-empty .button{margin-top:5px}.vendor-search{display:flex;align-items:center;gap:7px;padding:0 10px;border:1px solid #d1d5db;border-radius:4px;color:#9ca3af}.vendor-search input{width:170px;height:32px;border:0;outline:0;color:#374151;background:transparent;font-size:12px}.vendor-search input::placeholder{color:#9ca3af}.vendor-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:18px}.vendor-panel{min-width:0;padding:17px;border:1px solid #e5e7eb;border-radius:5px;background:#fff}.vendor-card-heading{display:flex;justify-content:space-between;align-items:center}.vendor-mark{width:34px;height:34px;display:grid;place-items:center;border-radius:5px;color:#2563eb;background:#eff6ff}.vendor-panel h3{overflow-wrap:anywhere;margin:15px 0 4px;color:#374151;font-size:15px}.vendor-panel>p{margin-bottom:15px;color:#6b7280;font-size:12px}.vendor-metrics{display:flex;justify-content:space-between;gap:8px;padding:9px 0;border-top:1px solid #eef0f3;color:#6b7280;font-size:12px}.vendor-metrics strong{color:#374151}.vendor-panel>.text-action{margin-top:12px}.supplier-scorecard-view{display:grid;gap:14px}.scorecard-controls .section-heading>div{min-width:0}.scorecard-controls .section-heading{align-items:flex-start}.scorecard-controls .report-data-note{margin:0 15px 14px}.scorecard-summary .metric-panel{min-height:120px}.scorecard-category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.scorecard-category{min-width:0}.scorecard-category .section-heading{min-height:60px}.scorecard-category .section-heading h2{font-size:14px}.scorecard-category .section-heading p{line-height:1.4}.scorecard-category.unavailable{align-self:stretch}.scorecard-category.unavailable .section-heading{align-items:flex-start}.scorecard-empty-note{margin:0;padding:14px 18px 17px;color:#6b7280;font-size:12px;line-height:1.5}.supplier-scorecard-table{min-width:0}.supplier-scorecard-table .report-table{min-width:1260px}.scorecard-spend{white-space:normal!important}.scorecard-spend span{display:block;min-width:110px}.scorecard-cell-note{display:block;margin-top:3px;color:#6b7280;font-size:11px}.scorecard-pagination{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 15px;border-top:1px solid #e5e7eb;color:#6b7280;font-size:12px}.scorecard-pagination>div{display:flex;gap:8px}.scorecard-filter-row{align-items:end}.scorecard-filter-row .export-vendor-filter{min-width:150px}.scorecard-footnote{display:flex;gap:8px;align-items:flex-start;padding:11px 15px;border-top:1px solid #e5e7eb;color:#6b7280;font-size:11px;line-height:1.5}.scorecard-footnote svg{flex:0 0 auto;color:#b7791f}.vendor-aging-view .aging-table{min-width:1180px}.vendor-aging-view .aging-detail-table{min-width:760px}.aging-table th.numeric,.aging-table td.numeric{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.aging-table td .scorecard-cell-note{white-space:nowrap}.aging-row-selected td{background:#eff6ff}.aging-row-selected td:first-child{box-shadow:inset 3px 0 #2563eb}.aging-bar{display:flex;width:100%;min-width:160px;height:10px;overflow:hidden;border-radius:999px;background:#eef0f2}.aging-segment{display:block;height:100%}.aging-current{background:#6aa58a}.aging-d1_30{background:#d9b44a}.aging-d31_60{background:#e09443}.aging-d61_90{background:#d9703e}.aging-d91_120{background:#c4513a}.aging-over_120{background:#962f2b}.aging-no_date{background:#a3a9b3}.aging-legend{display:flex;flex-wrap:wrap;gap:8px 16px;padding:11px var(--panel-x, 15px);border-top:1px solid #e5e7eb;color:#6b7280;font-size:12px}.aging-legend span{display:inline-flex;align-items:center;gap:6px}.aging-legend i{width:10px;height:10px;border-radius:3px}.aging-value-d61_90,.aging-value-d91_120,.aging-value-over_120{color:#a33d2f;font-weight:600}.aging-badge{display:inline-flex;align-items:center;min-height:20px;padding:0 8px;border-radius:999px;font-size:11px;font-weight:600;white-space:nowrap;color:#374151;background:#f3f4f6}.aging-badge-current{color:#2f6b4f;background:#e7f3ec}.aging-badge-d1_30{color:#7a5b0c;background:#fbf3dc}.aging-badge-d31_60,.aging-badge-d61_90{color:#8a4515;background:#fcebdc}.aging-badge-d91_120,.aging-badge-over_120{color:#8f2b23;background:#fbe4e1}.vendor-aging-view>.scorecard-footnote{border-top:1px solid #e5e7eb}.approval-view,.settings-view{display:grid;gap:15px}.sap-background-settings{scroll-margin-top:84px}.sap-background-form{display:grid;grid-template-columns:minmax(220px,1fr) minmax(130px,.55fr) minmax(150px,.8fr) auto;align-items:end;gap:14px;padding:16px 18px 10px}.sap-background-form>.export-field{align-self:center}.sap-background-timezone{display:grid;gap:5px;color:#6b7280;font-size:12px}.sap-background-timezone strong{color:#374151;font-size:13px;overflow-wrap:anywhere}.sap-background-policy{margin:0;padding:0 18px 15px;color:#6b7280;font-size:12px;line-height:1.55}.sap-background-settings>.local-notice{margin:0 15px 13px}.sap-background-error{border-color:#f0c6ba;color:#944e3d;background:#fff5f1}.sap-background-job-view{display:grid;gap:0}.sap-background-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;padding:17px 19px}.sap-background-summary>span{display:grid;gap:5px;color:#6b7280;font-size:12px}.sap-background-summary strong{color:#374151;font-size:13px;font-weight:600;overflow-wrap:anywhere}.sap-background-job-view>.local-notice{margin:0 16px 12px}.sap-background-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:0 18px 16px}.sap-background-actions>span{color:#8a6a35;font-size:12px}.sap-background-runs{min-width:690px}.sap-background-run-error{min-width:240px;max-width:360px;white-space:normal;color:#944e3d;font-size:12px}.sap-background-source-results{display:grid;gap:6px;margin:0;padding:0;list-style:none}.sap-background-source-results li{display:grid;gap:2px}.sap-background-source-results strong{color:#374151;font-size:12px;font-weight:600}.sap-background-source-results span{color:#6b7280}.sap-background-source-results li.failed span,.sap-background-source-results li.failed strong{color:#944e3d}.sap-background-source-results li.partial strong{color:#8a6a35}.sap-background-failures-toggle{margin-top:6px;padding:0;border:0;background:none;color:#2f6f4e;font-size:12px;font-weight:600;text-decoration:underline;cursor:pointer}.sap-background-failures-toggle:focus-visible{outline:2px solid #2f6f4e;outline-offset:2px;border-radius:2px}.sap-background-failures{display:grid;gap:12px;margin:0 18px 18px;padding:14px 0 0;border-top:1px solid #eef0f3}.sap-background-failures-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.sap-background-failures-heading h3{margin:0 0 4px;color:#374151;font-size:14px}.sap-background-failures-heading p{margin:0;color:#6b7280;font-size:12px}.sap-background-failures-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:end}.sap-background-failures-pager{display:flex;align-items:center;justify-content:flex-end;gap:8px;color:#6b7280;font-size:12px}.sap-background-failures-pager>span{margin-right:auto}.auth-screen{min-height:100vh;display:grid;place-items:center;padding:24px;background-color:#f5f8f6;background-image:linear-gradient(#e9efeb 1px,transparent 1px),linear-gradient(90deg,#e9efeb 1px,transparent 1px);background-size:28px 28px}.auth-panel{width:min(100%,430px);display:grid;gap:14px;padding:26px;border:1px solid #e5e7eb;border-radius:6px;background:#fff;box-shadow:0 12px 36px #243b2b12}.auth-brand{display:flex;align-items:center;gap:10px;padding-bottom:14px;border-bottom:1px solid #eef0f3}.auth-brand>div{display:grid;gap:3px}.auth-brand strong{color:#374151;font-size:19px}.auth-brand small{color:#6b7280;font-size:var(--fs-2xs);font-weight:600;letter-spacing:var(--label-tracking);text-transform:uppercase}.auth-panel h1{margin:3px 0 0;font-size:23px}.auth-panel>p{margin:0;color:#6b7280;font-size:13px;line-height:1.5}.auth-panel form{display:grid;gap:12px}.auth-submit{width:100%;margin-top:3px}.auth-footnote{color:#6b7280;font-size:11px;line-height:1.5}.auth-warning{display:flex;gap:8px;align-items:flex-start;padding:10px;border:1px solid #ead9b3;border-radius:4px;color:#765c2f;background:#fff9ed;font-size:12px;line-height:1.45}.auth-warning svg{flex:0 0 auto}.auth-error{display:flex;gap:8px;align-items:flex-start;padding:10px;border:1px solid #f0c6ba;border-radius:4px;color:#944e3d;background:#fff5f1;font-size:12px;line-height:1.45}.auth-error svg{flex:0 0 auto}.signed-in-user{color:#4b5563;font-size:12px;font-weight:600}.invoice-edit-controls{min-width:0;margin:0;padding:0;border:0}.invoice-edit-controls:disabled{opacity:.75}.user-admin-section{display:grid}.user-create-form{display:grid;gap:14px;padding:16px 19px}.user-create-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.user-permission-fieldset{min-width:0;margin:0;padding:11px 13px;border:1px solid #e5e7eb;border-radius:4px}.user-permission-fieldset legend{padding:0 5px;color:#4b5563;font-size:12px;font-weight:700}.user-permissions-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px 12px;padding:10px 16px}.user-create-form .user-permissions-grid{padding:0}.user-admin-list{display:grid;gap:10px;padding:0 19px 16px}.user-admin-card{min-width:0;padding:13px 14px;border:1px solid #e5e7eb;border-radius:4px;background:#fff}.user-admin-card-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.user-admin-card-heading>div:first-child{display:grid;gap:4px}.user-admin-card-heading strong{color:#374151;font-size:13px}.user-admin-card-heading span{color:#6b7280;font-size:11px}.user-admin-card-heading>div:last-child{display:flex;flex-wrap:wrap;gap:13px}.user-admin-notice{margin:0 19px 12px;padding:9px 11px;border:1px solid #dbeafe;border-radius:4px;color:#475569;background:#f4f8fd;font-size:12px}.password-reset-form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;margin:12px 16px 0;padding-top:11px;border-top:1px solid #eef0f3}.user-name-fields+.user-create-fields{margin-top:12px}.user-admin-card-heading .user-job-title{color:#374151;font-size:12px}.user-profile-missing{justify-self:start;padding:1px 7px;border-radius:4px;color:#92400e;background:#fef3c7;font-size:11px;font-style:normal;font-weight:600}.user-profile-form{display:grid;gap:10px;justify-items:start;margin-top:12px;padding-top:11px;border-top:1px solid #eef0f3}.user-profile-form .user-name-fields{width:100%}.audit-heading{margin-top:4px;border-top:1px solid #e5e7eb}.audit-table{min-width:850px}.audit-table td{height:40px}.audit-invoice-details{min-width:190px;display:grid;gap:3px}.audit-invoice-details strong{color:#1f2937}.audit-invoice-details span{color:#374151}.audit-invoice-details small{color:#6b7280;overflow-wrap:anywhere}.audit-table td:nth-last-child(-n+2){max-width:240px;overflow-wrap:anywhere;white-space:normal}.audit-table td:nth-last-child(2){min-width:110px}.audit-table td:last-child{min-width:240px;max-width:320px;overflow-wrap:break-word}.approval-intro{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:16px 19px;border:1px solid #e5e7eb;border-radius:5px;background:#fff}.approval-intro h2{margin:0 0 4px;color:#374151;font-size:16px}.approval-intro p{margin:0;color:#6b7280;font-size:12px}.local-only-badge{padding:4px 8px;border-radius:4px;color:#92400e;background:#fef3c7;font-size:var(--fs-2xs);font-weight:600;white-space:nowrap}.approval-list{display:grid;gap:12px}.approval-card{padding:16px 18px;border:1px solid #e5e7eb;border-radius:5px;background:#fff}.approval-card-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.approval-card-heading>div{min-width:0;display:grid;gap:5px}.approval-file{overflow-wrap:anywhere;color:#2563eb;font-size:14px;font-weight:700}.approval-vendor{color:#6b7280;font-size:12px}.approval-steps{display:grid;gap:0;margin:17px 0 0;padding:0;list-style:none}.approval-step{min-height:46px;display:flex;align-items:center;gap:10px;border-top:1px solid #eef0f3}.step-marker{width:22px;height:22px;flex:0 0 auto;display:grid;place-items:center;border:1px solid #d1d5db;border-radius:50%;color:#6b7280;font-size:var(--fs-2xs);font-weight:700;font-variant-numeric:tabular-nums}.approval-step.pending .step-marker{border-color:#2563eb;color:#fff;background:#2563eb}.approval-step.approved .step-marker{border-color:#16a34a;color:#fff;background:#16a34a}.approval-step.rejected .step-marker{border-color:#dc2626;color:#fff;background:#dc2626}.step-copy{min-width:0;display:grid;gap:3px}.step-copy strong{color:#374151;font-size:12px}.step-copy small{color:#6b7280;font-size:11px}.step-status{margin-left:auto;color:#6b7280;font-size:11px}.approval-card-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:10px;padding-top:12px;border-top:1px solid #e5e7eb;color:#6b7280;font-size:12px}.approval-card-actions>div{display:flex;gap:8px}.reject-button{color:#991b1b!important;border-color:#fecaca!important}.reject-invoice-action{min-width:0;display:grid;justify-items:start;gap:10px}.reject-invoice-form{width:100%;min-width:0;display:grid;gap:10px;padding:14px;border:1px solid #fecaca;border-radius:6px;background:#fff7f7}.reject-invoice-form textarea{width:100%;min-height:80px;resize:vertical;padding:9px;border:1px solid #cbd5e1;border-radius:4px;font:inherit}.reject-invoice-form textarea:focus-visible{outline:2px solid #2563eb;outline-offset:2px}.reject-invoice-form p{margin:0;color:#64748b;font-size:13px;line-height:1.5}.reject-invoice-form .section-actions{display:flex;flex-wrap:wrap;gap:8px}.queue-entry:has(.reject-invoice-action){display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:8px 0}.queue-entry>.reject-invoice-action:has(.reject-invoice-form){grid-column:1 / -1;width:100%}.match-results>.reject-invoice-action{margin:14px 18px}.approval-card>.reject-invoice-action{margin-top:12px}.approval-inline-note{margin-left:auto;color:#2563eb;font-size:12px;font-weight:600}.settings-view .local-notice{align-items:flex-start}.settings-section .section-heading{min-height:60px}.settings-form,.approver-list,.approval-level-list{display:grid;gap:12px;padding:16px 19px}.settings-field{min-width:0;display:grid;gap:6px;color:#6b7280;font-size:12px}.settings-field input,.settings-field select{width:100%;min-width:0;height:34px;padding:0 9px;border:1px solid #d1d5db;border-radius:4px;color:#374151;background:#fff;font-size:13px}.approver-row{display:grid;grid-template-columns:minmax(140px,.85fr) minmax(220px,1.1fr) minmax(265px,1.25fr) 32px;align-items:end;gap:12px}.approver-row .settings-field:nth-child(3) input{min-width:265px}.approval-level-row{display:grid;grid-template-columns:28px minmax(0,.9fr) minmax(0,1.2fr) repeat(2,minmax(0,.65fr)) minmax(68px,.45fr) 32px;align-items:end;gap:10px}.approver-multiselect{position:relative;min-width:0}.approver-multiselect>summary{display:flex;align-items:center;height:var(--control-h, 34px);padding:0 32px 0 11px;border:1px solid var(--control-border, #d1d5db);border-radius:var(--control-radius, 4px);color:#1f2937;background:#fff var(--select-chevron) no-repeat right 11px center / 12px;font-size:var(--fs-md, 13px);list-style:none;cursor:pointer}.approver-multiselect>summary::-webkit-details-marker{display:none}.approver-multiselect>summary>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.approver-multiselect>summary:focus-visible{outline:2px solid #2563eb;outline-offset:1px}.approver-multiselect-menu{position:absolute;z-index:20;top:calc(100% + 4px);left:0;right:0;min-width:220px;max-height:260px;overflow-y:auto;display:grid;gap:2px;padding:8px 10px;border:1px solid #d1d5db;border-radius:6px;background:#fff;box-shadow:0 8px 24px #0f172a1f}.approver-multiselect-menu p,.approver-multiselect-menu small{margin:4px 0;color:#6b7280;font-size:12px}.settings-view .approver-multiselect-menu input[type=checkbox]{width:15px;height:15px;padding:0}.approval-account-filters{grid-column:1 / -1;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:10px}.connection-audit-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(180px,100%),1fr));gap:12px;padding:18px}.connection-audit-table td{vertical-align:top;padding-top:14px;padding-bottom:14px;white-space:normal;min-width:150px}.connection-audit-table td:nth-child(3),.connection-audit-table td:last-child{min-width:280px;max-width:460px}.connection-audit-table small{display:block;margin-top:6px;color:#64748b}.connection-audit-table p{margin:8px 0 0;line-height:1.5}.connection-audit-table summary{color:#2563eb;cursor:pointer}.connection-audit-table dl{margin-bottom:0}.connection-audit-table dt{margin-top:8px;font-weight:600}.connection-audit-table dd{margin:3px 0 0;overflow-wrap:anywhere}.connection-audit-view :is(input,select,button,summary):focus-visible{outline:2px solid #2563eb;outline-offset:3px}.level-index{align-self:center;display:grid;place-items:center;width:23px;height:23px;border-radius:50%;color:#2563eb;background:#eff6ff;font-size:var(--fs-xs);font-weight:700;font-variant-numeric:tabular-nums}.settings-empty{margin:0;color:#6b7280;font-size:12px}.three-way-match{display:grid;gap:15px}.match-mode-tabs{display:flex;gap:5px;overflow-x:auto;border-bottom:1px solid #e5e7eb}.match-mode-tabs button{min-height:40px;display:inline-flex;align-items:center;gap:8px;flex:0 0 auto;padding:0 13px;border:0;border-bottom:2px solid transparent;color:#6b7280;background:transparent;font-size:13px;font-weight:600}.match-mode-tabs button.selected{border-bottom-color:#2563eb;color:#1d4ed8}.match-mode-tabs button>span{min-width:20px;padding:1px 6px;border-radius:999px;color:#4b5563;background:#f1f5f9;font-size:var(--fs-2xs);font-weight:700;line-height:16px;font-variant-numeric:tabular-nums;text-align:center}.batch-match-queue{min-width:0}.batch-match-filters{display:grid;grid-template-columns:minmax(190px,1fr) minmax(180px,1fr) auto auto auto;align-items:end;gap:12px;padding:14px 18px;border-bottom:1px solid #eef0f3}.batch-match-filters .export-vendor-filter select{min-width:0;width:100%}.batch-selected-count{align-self:center;color:#4b5563;font-size:12px;white-space:nowrap}.batch-match-filters .button{min-height:33px}.batch-sap-note{margin:0 14px 12px}.batch-progress{padding:9px 18px;color:#356a54;background:#f1f8f3;font-size:12px}.batch-select-visible{min-height:38px;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:7px 17px;border-bottom:1px solid #eef0f3;color:#6b7280;font-size:11px}.batch-select-visible label{display:inline-flex;flex:0 0 auto;align-items:center;gap:7px;color:#4b5563;white-space:nowrap;cursor:pointer}.batch-select-visible input,.batch-match-table input[type=checkbox]{width:14px;height:14px;accent-color:#2563eb}.batch-posting-controls{display:flex;flex-wrap:wrap;align-items:end;gap:10px;padding:12px 17px;border-bottom:1px solid #eef0f3}.batch-posting-controls .settings-field{width:min(190px,100%)}.batch-posting-controls>span{align-self:center;color:#8a6a35;font-size:12px}.batch-posting-results{display:grid;gap:0;padding:0 17px 10px}.batch-posting-result{display:grid;grid-template-columns:minmax(120px,.8fr) auto minmax(180px,1.5fr);align-items:center;gap:10px;min-height:38px;border-bottom:1px solid #eef0f3;color:#64748b;font-size:12px}.batch-posting-result:last-child{border-bottom:0}.batch-posting-result>strong{color:#374151;overflow-wrap:anywhere}.batch-posting-result>span:last-child{overflow-wrap:anywhere}.batch-match-table{min-width:1120px}.batch-match-table th,.batch-match-table td{padding-right:12px;padding-left:12px}.batch-match-table td{height:50px}.batch-exception-detail{max-width:280px;overflow-wrap:anywhere;white-space:normal}.batch-sap-document{display:block;margin-top:4px;color:#6b7280;font-size:11px;white-space:nowrap}.match-header-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.match-header-actions>.button,.match-header-actions>.status-badge{flex-shrink:0}.match-controls{display:grid;grid-template-columns:minmax(220px,1.2fr) minmax(180px,.8fr) auto;align-items:end;gap:12px;padding:16px 19px}.match-controls .button{min-height:34px}.match-results{min-width:0}.match-receipts-panel{min-width:0;border-top:1px solid #e5e7eb;border-bottom:1px solid #e5e7eb}.match-receipts-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:15px 18px 8px}.match-receipts-heading>div{min-width:0}.match-receipts-heading h3{margin:0 0 4px;color:#374151;font-size:14px;font-weight:600}.match-receipts-heading p,.match-receipts-note{margin:0;color:#6b7280;font-size:12px;line-height:1.5}.match-receipts-heading .status-badge{flex:0 0 auto}.match-receipts-note{padding:0 18px 14px}.match-receipts-table{min-width:580px}.match-receipts-table .receipt-quantity{text-align:right;font-variant-numeric:tabular-nums}.match-receipts-panel .table-scroll:focus-visible{outline:2px solid #2563eb;outline-offset:-2px}@media(max-width:640px){.match-receipts-heading{flex-wrap:wrap;padding-right:14px;padding-left:14px}.match-receipts-note,.match-receipts-table th,.match-receipts-table td{padding-right:14px;padding-left:14px}}.match-approval-action{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:12px 18px;border-bottom:1px solid #e5e7eb;background:#f9fafb}.match-approval-action>div{display:grid;gap:4px}.match-approval-action strong{color:#374151;font-size:13px}.match-approval-action span{color:#6b7280;font-size:12px;line-height:1.5}.match-table-scroll{max-height:65vh}.match-table{min-width:1760px}.match-table th,.match-table td{padding-right:12px;padding-left:12px}.match-table td{height:58px}.match-table select{width:170px;height:30px;padding:0 7px;border:1px solid #d1d5db;border-radius:3px;color:#374151;background:#fff;font-size:12px}.match-description{max-width:210px;overflow:hidden;text-overflow:ellipsis}.match-aggregate-qty{display:block;margin-top:3px;color:#92400e;font-size:11px}.match-result{display:block;min-width:300px;max-width:380px;color:#166534;font-size:12px;line-height:1.4;white-space:normal}.match-result-list{margin:0;padding-left:16px;list-style:disc}.match-result-list li+li{margin-top:3px}.match-result.exception{color:#9a3412}.match-footnote{display:flex;gap:8px;align-items:flex-start;margin:0 18px;padding:12px 0 14px;border-top:1px solid #e5e7eb;color:#6b7280;font-size:12px;line-height:1.5}.match-footnote svg{flex:0 0 auto;color:#2563eb}.sap-match-settings{grid-template-columns:repeat(2,minmax(0,1fr))}.outlook-intake-form{display:grid;gap:14px;padding:17px}.outlook-directory-import{display:grid;gap:13px;padding:17px;border-bottom:1px solid var(--line)}.outlook-directory-import h3{margin:0 0 5px;color:#374151;font-size:15px}.outlook-directory-import>div:first-child p{margin:0;color:#6b7280;font-size:12px;line-height:1.5}.outlook-directory-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end}.outlook-directory-list{display:grid;max-height:340px;overflow-y:auto;border:1px solid var(--line);border-radius:4px;background:#fff}.outlook-directory-user{display:flex;min-width:0;gap:10px;align-items:flex-start;padding:10px 12px;border-bottom:1px solid #eef0f1;cursor:pointer}.outlook-directory-user:last-child{border-bottom:0}.outlook-directory-user input{flex:0 0 auto;margin:2px 0 0;accent-color:#2563eb}.outlook-directory-user>span{display:grid;min-width:0;gap:3px}.outlook-directory-user strong{color:#374151;font-size:13px}.outlook-directory-user small{color:#6b7280;font-size:11px;line-height:1.4;overflow-wrap:anywhere}.outlook-directory-user.imported{cursor:default;background:#f9fafb}.outlook-directory-user.imported input{cursor:not-allowed}.outlook-directory-error{border-color:#fecdca;color:#b42318;background:#fef3f2}.approver-profile-details{color:#6b7280;font-size:11px;line-height:1.4}.outlook-enable-toggle{min-height:36px}.outlook-connection-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.outlook-intake-help{display:grid;gap:5px;padding:12px 14px;border-left:3px solid #2563eb;color:#4b5563;background:#f3f7fb;font-size:13px;line-height:1.5}.outlook-intake-help strong{color:#1f2937}.outlook-intake-health{display:grid;grid-template-columns:auto minmax(0,1fr);gap:5px 12px;padding-top:11px;border-top:1px solid var(--line);color:#6b7280;font-size:12px}.outlook-intake-health strong{color:#374151;font-weight:600}.outlook-intake-health>span:last-child{grid-column:1 / -1}.outlook-intake-error{grid-column:1 / -1;color:#b42318;overflow-wrap:anywhere}.outlook-report-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 18px;padding:0 16px 14px}.outlook-report-details>span{display:grid;gap:4px;color:#6b7280;font-size:12px}.outlook-report-details strong{color:#374151;font-size:13px;font-weight:600;overflow-wrap:anywhere}.outlook-report-details .outlook-intake-error{grid-column:1 / -1}.sap-tolerance-control{min-width:0;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(110px,.8fr);gap:10px;align-items:start}.sap-tolerance-control .settings-field{min-width:0}.sap-tolerance-control small{color:#6b7280;font-size:12px;line-height:1.4}.sap-match-settings>.local-notice{grid-column:1 / -1}.sap-settings-section .section-heading p{max-width:760px;line-height:1.5}.sap-connection-flow{padding:18px 20px 14px;border-bottom:1px solid #e5e7eb;background:linear-gradient(110deg,#f8fbfa,#f7f9fc)}.sap-flow-track{width:100%;min-width:450px;display:flex;align-items:center;gap:10px}.sap-flow-node{min-width:150px;display:grid;justify-items:center;gap:5px;padding:12px 10px;border:1px solid #e5e7eb;border-radius:4px;background:#fff;transition:border-color .2s ease,background .2s ease,transform .2s ease}.sap-flow-node>span{width:30px;height:30px;display:grid;place-items:center;border-radius:4px;color:#4b7063;background:#eef5f1}.sap-flow-node strong{color:#374151;font-size:12px;text-align:center}.sap-flow-node small{color:#6b7280;font-size:11px;text-align:center}.sap-flow-node.active{border-color:#4b9474;background:#f1faf4;transform:translateY(-2px)}.sap-flow-node.complete{border-color:#82b49a}.sap-flow-node.complete>span{color:#26734d;background:#e9f6ed}.sap-flow-link{position:relative;height:2px;flex:1;min-width:48px;background:#d4ded9}.sap-flow-link>small{position:absolute;top:7px;left:50%;color:#8b949e;font-size:var(--fs-2xs);transform:translate(-50%);white-space:nowrap}.sap-flow-packet{position:absolute;top:-4px;left:0;width:10px;height:10px;border:2px solid #fff;border-radius:50%;background:#328460;opacity:0;box-shadow:0 0 0 1px #328460}.sap-connection-flow.is-testing .sap-flow-packet{opacity:1;animation:sap-packet 1.05s ease-in-out infinite}.sap-connection-flow.is-testing .sap-flow-link:nth-of-type(4) .sap-flow-packet{animation-delay:.25s}.sap-connection-flow.is-connected .sap-flow-link{background:#82b49a}.sap-connection-flow>p{margin:12px 0 0;color:#6b7280;font-size:11px;line-height:1.45}.sap-invoice-actions{display:grid;gap:11px;padding:15px 18px;border-bottom:1px solid #e5e7eb;background:#f9fafb}.sap-invoice-actions-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.sap-invoice-actions-heading h3{margin:0 0 3px;color:#374151;font-size:14px}.sap-invoice-actions-heading p{margin:0;color:#6b7280;font-size:12px;line-height:1.45}.sap-invoice-action-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,.55fr);gap:12px}.sap-invoice-action-buttons{display:flex;gap:8px;flex-wrap:wrap}.sap-invoice-action-note{margin:0;color:#6b7280;font-size:11px;line-height:1.5}.sap-posting-toggle{grid-column:1 / -1;padding:11px 12px;border:1px solid #ead9b3;border-radius:4px;color:#70571f;background:#fffaf0}.sap-posting-toggle input{accent-color:#a36e10}.report-sap-register{grid-column:1 / -1}.sap-diagnostic-report{padding:14px 20px 17px;border-bottom:1px solid #e5e7eb;background:#fff}.sap-diagnostic-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:9px}.sap-diagnostic-heading h3{margin:0 0 3px;color:#374151;font-size:14px}.sap-diagnostic-heading p{margin:0;color:#6b7280;font-size:12px;line-height:1.5}.sap-diagnostic-heading time{color:#6b7280;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;white-space:nowrap}.sap-diagnostic-report ul{display:grid;gap:0;margin:0;padding:0;list-style:none}.sap-check{display:grid;grid-template-columns:18px minmax(0,1fr) auto;align-items:start;gap:9px;padding:9px 0;border-top:1px solid #eef0f3}.sap-check>svg{margin-top:1px}.sap-check.passed>svg,.sap-check.passed>small{color:#24724d}.sap-check.failed>svg,.sap-check.failed>small{color:#b54737}.sap-check.skipped>svg,.sap-check.skipped>small{color:#9a771f}.sap-check>div{display:grid;gap:3px}.sap-check strong{color:#374151;font-size:12px}.sap-check span{color:#6b7280;font-size:12px;line-height:1.45;overflow-wrap:anywhere}.sap-check>small{font-size:11px;white-space:nowrap}.sap-connection-form{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.sap-connection-form .settings-field small{color:#6b7280;font-size:11px;line-height:1.45}.secret-saved{display:inline-flex;align-items:center;gap:4px;color:#26734d;font-size:11px;font-style:normal}.field-optional{color:#6b7280;font-size:11px;font-style:normal}.sap-config-actions{grid-column:1 / -1;display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding-top:3px}.sap-config-actions .destructive-action{color:#a53d32}.sap-success-notice{border-color:#bbdfc8;color:#286144;background:#eff8f1}.match-tolerance-heading{grid-column:1 / -1}.sap-match-settings>.two-way-po-types{grid-column:1 / -1}.two-way-po-types input[aria-invalid=true]{border-color:#b45309}.match-tolerance-heading h3{margin:0 0 4px;color:#374151;font-size:14px}.match-tolerance-heading p{margin:0;color:#6b7280;font-size:12px}.sap-help{overflow:hidden;border:1px solid #d9e2ea;border-radius:5px;background:#fff}.sap-help summary{padding:15px 18px;color:#225b50;font-size:14px;font-weight:700;cursor:pointer}.sap-help[open] summary{border-bottom:1px solid #e7edf0}.sap-help-content{max-width:940px;padding:17px 20px 8px;color:#4b5563;font-size:13px;line-height:1.65}.sap-help-content>p{margin-bottom:12px}.sap-help-content ol{display:grid;gap:9px;padding-left:20px}.sap-help-content code{padding:1px 4px;border-radius:2px;color:#285b50;background:#edf4f0;font:12px var(--mono);overflow-wrap:anywhere}.sap-admin-request{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:12px 0;padding:11px 12px;border:1px solid #dce8df;background:#f6faf6;color:#4b5563;font-size:12px}.sap-help-note{padding:10px 12px;border-left:3px solid #d69b40;background:#fff9ed;color:#765c2f}.settings-view{gap:20px;font-size:var(--fs-md);line-height:1.55}.settings-view .data-section{min-width:0;border-radius:8px;box-shadow:0 2px 6px #0f172a06}.settings-view .section-heading{padding:20px 24px;gap:16px;align-items:flex-start}.settings-view h2{font-size:var(--fs-lg);line-height:1.4;font-weight:600;color:#1f2937}.settings-view h3{margin-bottom:6px;font-size:var(--fs-md);line-height:1.45;font-weight:600;color:#374151}.settings-view p{font-size:var(--fs-md);line-height:1.6;color:#64748b;overflow-wrap:anywhere}.settings-view .section-heading p{font-size:var(--fs-sm);line-height:1.5;color:#6b7280;overflow-wrap:anywhere}.settings-view .settings-form,.settings-view .approver-list,.settings-view .approval-level-list{padding:20px 24px;gap:16px}.settings-view .settings-field{gap:6px;align-content:start;color:#374151;font-size:var(--fs-sm);line-height:18px}.settings-view .settings-field>span{font-weight:600}.settings-view input,.settings-view select,.settings-view textarea{font-family:inherit}.settings-view .settings-field input,.settings-view .settings-field select{height:var(--control-h);padding:0 11px;border-color:var(--control-border);border-radius:var(--control-radius);font-size:var(--fs-md);color:#1f2937}.settings-view .settings-field input::placeholder{color:#7c899b}.settings-view .settings-field small,.settings-view .sap-tolerance-control small,.settings-view .sap-connection-form .settings-field small{font-size:var(--fs-xs);line-height:1.5;color:#6b7280;font-weight:400}.settings-view :is(input,select,textarea,button,summary,pre):focus-visible{outline:2px solid #2563eb;outline-offset:3px}.settings-view .button{min-height:var(--control-h);padding:6px 14px;border-radius:var(--control-radius);white-space:normal;line-height:1.3}.settings-view .button:disabled{cursor:not-allowed}.settings-view .section-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.settings-view .local-notice{padding:12px 16px;border-radius:6px;font-size:var(--fs-sm);line-height:1.55}.settings-view .local-notice svg{flex-shrink:0;margin-top:2px}.settings-view .sap-help-content{font-size:var(--fs-md);line-height:1.65;padding:20px 24px}.settings-view .sap-help-content code{font-size:var(--fs-sm)}.settings-view .sap-help summary{font-size:var(--fs-md);padding:16px 24px}.settings-view .sap-tolerance-control{padding:16px;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc;gap:14px}.settings-view .sap-tolerance-control .settings-field>span{min-height:36px;display:flex;align-items:flex-end}.settings-view .cpi-settings-panel>:is(form,p,section:not(.cpi-additional-interfaces)){margin:20px 24px}.settings-view .cpi-settings-panel fieldset{min-width:0;margin:0;padding:18px;border:1px solid #e2e8f0;border-radius:8px}.settings-view .cpi-settings-panel legend{padding:0 8px;font-size:var(--fs-md);font-weight:600;color:#334155}.settings-view .cpi-settings-panel fieldset .settings-form{padding:0 0 20px}.settings-view .cpi-settings-panel form{display:grid;gap:14px}.settings-view .cpi-settings-panel form p{margin:0}.settings-view .cpi-settings-panel form>.button{justify-self:start}.settings-view .cpi-additional-interfaces{margin:24px;padding-top:24px;border-top:1px solid #e2e8f0}.settings-view .cpi-interface-card{min-width:0;margin-top:20px;padding:20px;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc;scroll-margin-top:24px}.settings-view .cpi-interface-card form+form{margin-top:20px;padding-top:20px;border-top:1px solid #e2e8f0}.settings-view .cpi-interface-card pre{max-height:400px;margin:0;padding:16px;border-radius:6px;background:#0f172a;color:#e2e8f0;font:13px/1.6 var(--mono);overflow:auto}.settings-view #settings-cpi-posting form{display:grid;gap:14px}.settings-view #settings-cpi-posting form>.button{justify-self:start}.settings-view .cpi-posting-fieldset{min-width:0;margin:0;padding:16px;display:grid;gap:14px;border:1px solid #e2e8f0;border-radius:6px;background:#fff}.settings-view .cpi-posting-fieldset legend{padding:0 6px;color:#1f2937;font-weight:600}.settings-view .cpi-posting-fieldset p{margin:0;color:#6b7280;font-size:13px}.settings-view .cpi-supplier-master{display:grid;gap:14px;justify-items:start}.settings-view .cpi-supplier-endpoint{width:100%;min-width:0;margin:0;padding:16px;display:grid;gap:12px;border:1px solid #e2e8f0;border-radius:6px;background:#fff}.settings-view .cpi-supplier-endpoint legend{padding:0 6px;color:#1f2937;font-weight:600}.settings-view .cpi-supplier-endpoint>p{margin:0;color:#6b7280;font-size:13px}.settings-view .cpi-supplier-test{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px}.settings-view .cpi-supplier-test .settings-field{flex:0 1 260px}.settings-view .cpi-supplier-result{display:grid;gap:10px;min-width:0}.settings-view .cpi-supplier-result p{margin:0;color:#374151;font-size:13px}.settings-view .cpi-supplier-result summary{color:#374151;font-size:13px;font-weight:600;cursor:pointer}.settings-view .cpi-posting-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:end}.settings-view .cpi-posting-grid>p{grid-column:1 / -1}@media(max-width:760px){.settings-view .cpi-posting-grid{grid-template-columns:minmax(0,1fr)}}@media(max-width:760px){.settings-view .section-heading{flex-wrap:wrap;padding:16px}.settings-view .settings-form,.settings-view .approver-list,.settings-view .approval-level-list{padding:16px}.settings-view .cpi-settings-panel>:is(form,p,section:not(.cpi-additional-interfaces)){margin:16px}.settings-view .cpi-additional-interfaces{margin:16px}.settings-view .cpi-interface-card,.settings-view .cpi-settings-panel fieldset{padding:14px}.settings-view .sap-tolerance-control{grid-template-columns:minmax(0,1fr)}.settings-view .sap-tolerance-control .settings-field>span{min-height:auto}.settings-view .sap-help-content{padding:16px}}@keyframes sap-packet{0%{left:0}to{left:calc(100% - 10px)}}.sms-toggle{display:flex;align-items:center;gap:9px;cursor:pointer}.sms-toggle input{width:15px;height:15px;accent-color:#2563eb}.export-section{min-height:350px}.guide-view{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}.guide-intro{padding:4px 0 17px;border-bottom:1px solid #e5e7eb}.guide-intro h2{margin:6px 0 8px;color:#1f2937;font-size:24px}.guide-intro p{max-width:760px;margin:0;color:#4b5563;font-size:14px;line-height:1.65}.guide-layout{display:grid;grid-template-columns:205px minmax(0,1fr);gap:30px;align-items:start}.guide-index{position:sticky;top:74px;display:grid;gap:3px;padding:12px 0}.guide-index strong{margin-bottom:6px;color:#374151;font-size:12px}.guide-index a{padding:6px 8px;border-left:2px solid transparent;color:#4b5563;font-size:12px;line-height:1.4;text-decoration:none}.guide-index a:hover,.guide-index a:focus-visible{border-left-color:#4b9474;color:#245b45;background:#f1f5f9;outline:0}.guide-article{min-width:0}.guide-section{scroll-margin-top:78px;padding:19px 0 21px;border-bottom:1px solid #e5e7eb}.guide-section:first-child{padding-top:12px}.guide-section h2{margin:0 0 9px;color:#374151;font-size:17px}.guide-section h3{margin:24px 0 8px;color:#374151;font-size:15px;line-height:1.45}.guide-section p,.guide-section li{color:#4b5563;font-size:13px;line-height:1.7}.guide-section p{max-width:860px;margin:8px 0 0}.guide-section ul,.guide-section ol{display:grid;gap:6px;margin:9px 0 0;padding-left:20px}.guide-section strong{color:#374151}.guide-workflow-figure{max-width:820px;margin:18px 0}.guide-workflow-figure a{display:block;border-radius:12px}.guide-workflow-figure a:focus-visible{outline:3px solid #2563eb;outline-offset:4px}.guide-workflow-figure img{display:block;width:100%;height:auto;border-radius:12px}.guide-workflow-figure figcaption{margin-top:8px;color:#4b5563;font-size:13px;line-height:1.7}.reports-view{display:grid;gap:14px}.materials-unmatched-toggle{justify-self:start;max-width:100%;min-height:36px;padding:7px 12px;border:1px solid #e5e7eb;border-radius:4px;background:#fff;line-height:1.45}.report-toolbar{padding:0}.report-filter-row{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:12px;padding:13px 17px}.report-filter-row .export-vendor-filter select{min-width:135px}.sap-org-filter-controls{display:flex;align-items:end;flex-wrap:wrap;gap:12px;padding:12px 17px;border-top:1px solid #eef0f3;background:#f9fafb}.sap-org-filter-grid{min-width:0;flex:1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.sap-org-filter-grid .export-vendor-filter{min-width:0;display:grid;gap:5px}.sap-org-filter-grid .export-vendor-filter select{width:100%;min-width:0}.sap-org-filter-toggle{flex:0 0 auto;min-height:32px;white-space:nowrap}.database-settings-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:0 18px 14px;color:#6b7280;font-size:12px;line-height:1.5}.database-settings-footer>span{min-width:0}.database-settings-footer .button{flex:0 0 auto}.vendor-invoice-register{margin-top:14px;border-top:1px solid #e5e7eb}.vendor-invoice-register .section-heading{padding-right:16px;padding-left:16px}.report-view-tabs{display:flex;gap:4px;overflow-x:auto;padding:0 16px;border-top:1px solid #eef0f3}.report-view-tabs button{min-height:40px;flex:0 0 auto;padding:0 12px;border:0;border-bottom:2px solid transparent;color:#6b7280;background:transparent;font-size:12px;font-weight:600}.report-view-tabs button:hover{color:#2563eb}.report-view-tabs button.selected{border-bottom-color:#2563eb;color:#1d4ed8}.report-data-note{display:flex;gap:8px;align-items:flex-start;padding:10px 13px;border:1px solid #dbeafe;border-radius:4px;color:#475569;background:#f4f8fd;font-size:12px;line-height:1.5}.report-data-note svg{flex:0 0 auto;color:#46728e}.report-status-summary{display:flex;align-items:center;flex-wrap:wrap;gap:10px 20px;padding:11px 14px;border:1px solid #e5e7eb;border-radius:4px;background:#fff}.report-status-summary>strong{color:#374151;font-size:12px}.report-status-summary>div{flex:1;display:flex;flex-wrap:wrap;gap:9px 20px}.report-status-summary span{display:flex;align-items:center;gap:6px;color:#6b7280;font-size:12px}.report-status-summary b{color:#1f2937;font-size:var(--fs-sm);font-weight:700;font-variant-numeric:tabular-nums}.report-status-summary small{flex-basis:100%;min-width:0;max-width:100%;color:#6b7280;font-size:11px;overflow-wrap:anywhere}.report-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px}.report-kpis-compact{grid-template-columns:repeat(4,minmax(0,1fr))}.report-kpis .metric-panel{min-width:0;min-height:126px;padding:17px;border-top-width:3px}.report-kpis .metric-panel>strong{font-size:29px}.report-spend-values{display:grid;gap:3px;margin-top:10px;overflow-wrap:anywhere}.report-spend-values strong{color:#1f2937;font-size:17px;line-height:1.3}.report-spend-kpi .metric-caption{margin-top:6px}.report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.report-panel{min-width:0}.report-panel .section-heading h2{overflow-wrap:anywhere}.currency-total-list{padding:4px 18px 13px}.currency-total-row{min-height:45px;display:grid;grid-template-columns:80px minmax(0,1fr) auto;align-items:center;gap:10px;border-bottom:1px solid #eef0f3}.currency-total-row:last-child{border-bottom:0}.currency-total-row>span:first-child{color:#6b7280;font-size:var(--fs-xs);font-weight:600;letter-spacing:.03em}.currency-total-row strong{color:#374151;font-size:14px}.currency-total-row>span:last-child{color:#6b7280;font-size:11px}.report-trend-chart{height:220px;display:grid;grid-template-columns:repeat(12,minmax(20px,1fr));align-items:end;gap:7px;padding:17px 18px 14px;overflow-x:auto}.report-trend-column{height:100%;min-width:0;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:5px}.report-trend-value{width:100%;min-height:12px;overflow:hidden;color:#6b7280;font-size:var(--fs-2xs);font-variant-numeric:tabular-nums;text-align:center;text-overflow:ellipsis;white-space:nowrap}.report-trend-track{width:min(100%,27px);height:150px;display:flex;align-items:flex-end;border-radius:2px 2px 0 0;background:#f1f4f2}.report-trend-track i{width:100%;min-height:0;border-radius:2px 2px 0 0;background:#4b9474;transition:height .35s ease}.report-trend-label{color:#6b7280;font-size:var(--fs-2xs)}.report-limit-list{display:grid;gap:0;margin:0;padding:4px 18px 13px;list-style:none}.report-limit-list li{min-height:40px;display:flex;justify-content:space-between;align-items:center;gap:10px;border-bottom:1px solid #eef0f3;color:#4b5563;font-size:12px}.report-limit-list li:last-child{border-bottom:0}.report-limit-list strong{color:#6b7280;font-size:11px;font-weight:600;text-align:right}.report-explainer{margin:0;padding:2px 18px 17px;color:#4b5563;font-size:12px;line-height:1.6}.report-table{min-width:760px}.material-price-table{min-width:1540px}.report-table td{height:44px}.material-price-increase{color:#a84c22;font-weight:700;white-space:nowrap}.report-share{min-width:105px;display:flex;align-items:center;gap:7px}.report-share i{width:52px;height:5px;flex:0 0 auto;border-radius:5px;background:#4b9474}.report-share span{color:#4b5563;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.report-empty{margin:0;padding:24px 0;color:#6b7280;font-size:12px;text-align:center}.report-empty-state{min-height:200px;display:grid;justify-items:center;align-content:center;gap:9px;border:1px dashed #e5e7eb;border-radius:4px;color:#6b7280;background:#fff;text-align:center}.report-empty-state strong{color:#374151;font-size:15px}.report-empty-state span{font-size:12px}.export-selection-actions{display:flex;align-items:center;gap:14px}.export-vendor-filter{display:flex;align-items:center;gap:7px;color:#6b7280;font-size:12px}.export-vendor-filter select{min-width:150px;height:32px;padding:0 9px;border:1px solid #d1d5db;border-radius:4px;color:#374151;background:#fff;font:inherit}.export-field-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:20px}.export-field-group{min-width:0;margin:0;padding:15px;border:1px solid #e5e7eb;border-radius:5px}.export-field-group legend{padding:0 6px;color:#374151;font-size:14px;font-weight:600}.export-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 14px}.export-field{min-width:0;min-height:34px;display:flex;align-items:center;gap:9px;color:#4b5563;font-size:13px;cursor:pointer}.export-field input{width:15px;height:15px;flex:0 0 auto;accent-color:#2563eb}.export-footer{min-height:60px;display:flex;justify-content:space-between;align-items:center;gap:14px;padding:12px 19px;border-top:1px solid #e5e7eb;color:#6b7280;font-size:12px}.export-footer>div{display:flex;gap:8px}.export-empty{padding:32px 20px;color:#6b7280;font-size:13px;text-align:center}.validation-view{display:grid;gap:14px}.validation-actions{display:flex;align-items:center;gap:14px}.validation-actions .button{margin-left:auto}.review-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,42%);align-items:start;gap:17px}.empty-workspace{position:relative;min-height:462px;display:grid;grid-template-columns:minmax(320px,1fr) minmax(250px,.86fr);align-items:center;gap:34px;overflow:hidden;padding:50px clamp(28px,7vw,92px);border:1px solid #dfe5dc;border-radius:5px;background-color:#fff;background-image:linear-gradient(#f4f6f2 1px,transparent 1px),linear-gradient(90deg,#f4f6f2 1px,transparent 1px);background-size:32px 32px;transition:border-color .18s ease,background-color .18s ease}.empty-workspace:before{position:absolute;top:0;right:0;bottom:0;left:0;content:"";background:linear-gradient(90deg,#fff,#fff 47%,#ffffffa8 78%,#fff);pointer-events:none}.empty-workspace.is-dragging{border-color:#4d9a70;background-color:#f0f7f0}.empty-copy,.sample-sheet{z-index:1}.scan-stamp{width:44px;height:44px;display:grid;place-items:center;margin-bottom:23px;border:1px solid #d7e5d9;border-radius:12px 12px 12px 3px;color:var(--green);background:#edf5ee}.empty-copy .eyebrow{color:var(--green)}.empty-copy h2{margin:0 0 13px;color:#1f2937;font:600 38px/1.1 var(--font-sans);letter-spacing:-.02em}.empty-description{max-width:350px;margin-bottom:21px;color:#6b7280;font-size:14px;line-height:1.65}.file-hint{display:block;margin:10px 0 0 2px;color:#6b7280;font-size:var(--fs-xs)}.sample-sheet{position:relative;width:min(100%,300px);min-height:337px;justify-self:center;padding:29px 27px 23px;transform:rotate(2.3deg);border:1px solid #e3e6e1;background:#fff;box-shadow:0 18px 48px #344d3e17,0 3px 8px #344d3e0b}.sheet-top{display:flex;justify-content:space-between;color:#28372e;font:9px var(--mono)}.sheet-logo{color:#4d7b61;font-weight:500}.sheet-rule{height:2px;margin:18px 0;background:#41684f}.sheet-lines{display:grid;gap:8px;margin:0 0 29px}.sheet-lines i,.sheet-row i{height:5px;width:58%;background:#e8ece7}.sheet-lines i:nth-child(2){width:42%}.sheet-lines i.short{width:31%}.sheet-grid{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid #e3e8e2;color:#819087;font:7px var(--mono)}.sheet-row{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid #edf0ec}.sheet-row i{width:48%}.sheet-row i.mid{width:36%}.sheet-row b{width:19%;height:5px;background:#e8ece7}.sheet-total{display:flex;justify-content:space-between;align-items:center;margin-top:17px;padding-top:12px;border-top:1px solid #b8c6b8;color:#334239;font:8px var(--mono)}.sheet-total b{font-size:13px}.extract-tag{position:absolute;right:-18px;bottom:23px;display:flex;gap:6px;align-items:center;padding:8px 10px;border:1px solid #dfe8dd;border-radius:3px;background:#fff;color:#50765c;box-shadow:0 6px 17px #354d3c13;font:8px var(--mono)}.drop-hint{position:absolute;right:17px;bottom:14px;display:flex;gap:6px;align-items:center;color:#6b7280;font-size:11px}.review-layout{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(375px,.92fr);align-items:start;gap:17px}.document-panel,.details-panel{min-width:0;border:1px solid #e5e7eb;border-radius:4px;background:#fff}.panel-heading,.details-heading{min-height:66px;display:flex;justify-content:space-between;align-items:center;gap:10px;padding:13px 17px;border-bottom:1px solid #eef0f3}.panel-kicker{display:block;margin-bottom:6px;font-size:11px}.panel-heading h2,.details-heading h2{display:flex;align-items:center;gap:7px;margin:0;color:#1f2937;font-size:15px;font-weight:600}.panel-heading h2{max-width:370px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.panel-heading h2 svg{flex:0 0 auto;color:#6a8b73}.page-counter{color:#6b7280;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;white-space:nowrap}.pdf-stage{position:relative;min-height:380px;display:grid;place-items:start center;overflow:auto;padding:22px;background:#f0f2ef}.source-image-preview{display:block;max-width:100%;max-height:75vh;object-fit:contain}.office-source-preview{width:100%;max-height:75vh;overflow:auto;margin:0;padding:14px;border:1px solid #e5e7eb;border-radius:3px;color:#374151;background:#fff;font:12px/1.5 var(--mono);white-space:pre-wrap;overflow-wrap:anywhere}.pdf-canvas{display:block;max-width:100%;height:auto;background:#fff;box-shadow:0 4px 17px #263b2c16}.preview-placeholder{min-height:330px;display:grid;justify-items:center;align-content:center;gap:11px;color:#6b7280;font-size:13px}.processing-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;background:#f0f2efe8;color:#53635a;font-size:13px}.processing-overlay strong{font-size:15px;font-weight:600}.processing-overlay>span{font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.progress-track{width:min(220px,65%);height:4px;overflow:hidden;border-radius:4px;background:#dfe6df}.progress-track i{display:block;height:100%;border-radius:inherit;background:#55a274;transition:width .2s ease}.document-footer{min-height:44px;display:flex;justify-content:space-between;align-items:center;gap:10px;padding:0 15px;color:#6b7280;font-size:12px}.page-controls{display:flex;align-items:center;gap:8px;color:#4b5563;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.page-controls i{color:#abb3ac;font-style:normal}.page-controls button{width:28px;height:28px;display:grid;place-items:center;border:1px solid #eef0f3;border-radius:3px;background:#fff;color:#4b5563}.page-controls button:disabled{color:#c7cec8;cursor:default}.details-heading{min-height:66px}.review-state{display:flex;gap:5px;align-items:center;padding:4px 8px;border-radius:4px;font-size:var(--fs-2xs);font-weight:600;white-space:nowrap}.review-state.attention{color:#a75e44;background:#fff1e9}.review-state.complete{color:#437957;background:#eaf4eb}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 13px;padding:15px 17px 8px}.field{min-width:0;display:flex;flex-direction:column;gap:6px;margin-bottom:11px}.field>span{display:flex;justify-content:space-between;gap:5px;color:#6b7280;font-size:12px}.field>span i{color:#bd7456;font-size:11px;font-style:normal}.field input{width:100%;height:34px;padding:0 9px;border:1px solid #e5e7eb;border-radius:3px;outline:0;color:#374151;background:#fff;font-size:13px}.field input:focus{border-color:#76a483;box-shadow:0 0 0 2px #e8f1e9}.field.needs-review input{border-color:#e7c6b7;background:#fffdfa}.field input::placeholder{color:#b0b8b1}.line-items-heading{display:flex;justify-content:space-between;align-items:center;padding:14px 17px 10px;border-top:1px solid #eef0f3}.line-items-heading h3{margin:0 0 3px;color:#374151;font-size:13px}.line-items-heading span{color:#6b7280;font-size:11px}.text-button{width:26px;height:26px;display:grid;place-items:center;border:0;background:none;color:#6b7280}.line-items-scroll{margin:0 17px;overflow-x:auto}.line-items{min-width:660px;border:1px solid #eef0f3;border-radius:3px}.line-item{min-height:38px;display:grid;grid-template-columns:88px minmax(180px,1fr) 52px 46px 90px 90px 26px;align-items:center;gap:6px;padding:0 8px;border-top:1px solid #eef0f3;color:#4b5563;font-size:12px}.line-item:first-child{border-top:0}.line-item input{width:100%;min-width:0;height:27px;padding:0 5px;border:1px solid #eef0f3;border-radius:2px;outline:0;color:#374151;background:#fff;font-size:12px}.line-item input:focus{border-color:#76a483;box-shadow:0 0 0 2px #e8f1e9}.line-item input:not(:first-child){text-align:right;font-variant-numeric:tabular-nums}.line-item.header{min-height:28px;color:#6b7280;background:#f9fafb;font-size:11px}.line-item.header span:nth-child(n+3):nth-child(-n+6){text-align:right}.add-line-button{min-height:27px;padding:0 8px;font-size:11px}.remove-line-button{width:25px;height:27px;display:grid;place-items:center;border:0;border-radius:2px;color:#9c6a5c;background:transparent}.remove-line-button:hover{background:#fff1ed}.line-items-empty{margin:0;padding:12px 10px;border-top:1px dashed #eef0f3;color:#6b7280;font-size:12px;line-height:1.5}.review-footnote{display:flex;gap:7px;align-items:flex-start;margin:14px 17px 16px;padding-top:11px;border-top:1px solid #eef0f3;color:#6b7280;font-size:11px;line-height:1.45}.review-footnote svg{flex:0 0 auto;color:#72937a}.details-loading{min-height:240px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:13px;color:#6b7280;font-size:13px}.details-loading .progress-track{width:180px}.spin{animation:spin .9s linear infinite;color:#4a8e64}.workspace-footer{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 10px;margin-top:18px;color:#6b7280;font-size:var(--fs-2xs);letter-spacing:.03em}.workspace-footer span{display:flex;align-items:center;gap:6px}.workspace-footer svg{color:#76a082}.workspace-footer i{font-style:normal}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:1050px){.app-shell{grid-template-columns:220px minmax(0,1fr)}.sidebar{width:220px}.page-content{padding:25px 22px 14px}.review-layout{grid-template-columns:minmax(0,1fr)}.document-panel{order:2}.details-panel{order:1}.pdf-stage{min-height:280px}.vendor-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.approver-row{grid-template-columns:minmax(90px,.7fr) minmax(140px,1fr) minmax(180px,1.2fr) 32px;gap:8px}.approver-row .settings-field:nth-child(3) input{min-width:180px}.match-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.batch-match-filters,.sap-org-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.match-controls .button{grid-column:1 / -1;justify-self:start}.sap-connection-form{grid-template-columns:minmax(0,1fr)}.user-create-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.sap-invoice-action-fields{grid-template-columns:minmax(0,1fr) minmax(150px,.6fr)}.sap-invoice-actions{padding-right:14px;padding-left:14px}.report-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.report-grid,.scorecard-category-grid{grid-template-columns:minmax(0,1fr)}.sap-connection-flow{overflow-x:auto;padding-right:15px;padding-left:15px}.sap-flow-track{width:max-content;min-width:100%}.sap-flow-node{min-width:135px}.sap-diagnostic-report{padding-right:14px;padding-left:14px}}@media(max-width:680px){.app-shell{display:block}.sidebar{position:sticky;top:0;width:100%;height:auto;flex-direction:column;align-items:stretch;padding:0 10px 8px}.settings-view .data-section,.settings-view .sap-match-settings,.settings-view .cpi-interface-card,.sap-background-settings{scroll-margin-top:112px}.brand-lockup{min-height:52px;padding:0 5px;border-bottom:0}.brand-mark{width:31px;height:31px}.brand-name{font-size:19px}.brand-caption,.workspace-label,.sidebar-bottom{display:none}.workspace-nav{display:flex;gap:3px;overflow-x:auto;overflow-y:hidden;padding-bottom:1px}.nav-group,.settings-nav-group{display:contents}.nav-group-toggle{width:auto;min-height:38px;flex:0 0 auto;gap:6px;padding:8px 9px;font-size:12px}.nav-group-items{display:contents}.nav-group-items[hidden]{display:none}.settings-subnav,.nav-subgroup,.nav-nested,.nav-nested-items{display:contents}.nav-nested-items[hidden],.nav-section-label,.nav-subheading,.nav-nested-count{display:none}.nav-subitem.selected{box-shadow:inset 0 -2px #60a5fa}.nav-subitem{width:auto;min-height:38px;flex:0 0 auto;gap:6px;padding:8px 9px;font-size:12px}.nav-subitem svg{width:14px;height:14px}.nav-item{width:auto;min-height:38px;flex:0 0 auto;gap:6px;padding:8px 9px;font-size:12px}.nav-item svg{width:14px;height:14px}.nav-count{min-width:18px;padding:2px 5px}.topbar{height:48px;padding:0 14px}.ocr-mode{display:none}.sap-status{font-size:11px}.topbar-right{gap:8px}.page-content{padding:21px 14px 14px}.page-heading{align-items:flex-start;flex-direction:column;margin-bottom:19px}h1{max-width:100%;font-size:24px}.heading-actions{width:100%;justify-content:flex-start;flex-wrap:wrap}.metric-grid{grid-template-columns:minmax(0,1fr);gap:11px}.metric-panel{min-height:120px;padding:17px}.section-heading{align-items:flex-start;flex-direction:column;padding:14px}.section-heading>.button,.section-heading>.text-action{align-self:flex-start}.invoice-table th,.invoice-table td{padding-right:12px;padding-left:12px}.upload-dropzone{min-height:330px;padding:26px 16px}.upload-dropzone h2{font-size:17px}.validation-actions{flex-wrap:wrap;gap:9px}.validation-actions .button{margin-left:auto}.empty-workspace{min-height:0;grid-template-columns:minmax(0,1fr);gap:28px;padding:30px 22px 55px}.empty-copy h2{font-size:38px}.sample-sheet{width:min(82%,280px);min-height:300px;justify-self:center}.drop-hint{left:14px;right:auto;font-size:var(--fs-2xs)}.review-layout{grid-template-columns:minmax(0,1fr);gap:12px}.vendor-grid{grid-template-columns:minmax(0,1fr);padding:12px}.approval-intro{align-items:flex-start;flex-direction:column}.match-controls,.sap-match-settings{grid-template-columns:minmax(0,1fr);padding:13px}.assistant-connection-details{grid-template-columns:minmax(0,1fr);padding:12px 14px}.assistant-chat{min-height:360px}.assistant-thread{max-height:50vh;padding:12px}.assistant-composer,.assistant-support-form{grid-template-columns:minmax(0,1fr);padding:12px}.assistant-composer .button,.assistant-support-form .button{justify-self:start}.assistant-status-panel .local-notice{margin-right:12px;margin-left:12px}.sap-background-form{grid-template-columns:minmax(0,1fr);padding:13px}.queue-row{grid-template-columns:minmax(0,1fr) 130px 18px;gap:8px}.sap-background-form>.export-field{align-self:auto}.sap-background-policy{padding-right:13px;padding-left:13px}.sap-background-settings>.local-notice,.sap-background-job-view>.local-notice{margin-right:12px;margin-left:12px}.sap-background-summary{grid-template-columns:repeat(2,minmax(0,1fr));padding:13px}.sap-background-failures{margin-right:12px;margin-left:12px}.sap-background-failures-filters{grid-template-columns:1fr}.sap-background-actions{align-items:flex-start;flex-direction:column;padding-right:13px;padding-left:13px}.batch-match-filters{grid-template-columns:minmax(0,1fr);padding:13px}.batch-match-filters .button{justify-self:start}.sap-org-filter-controls{align-items:stretch;flex-direction:column;padding:11px 13px}.sap-org-filter-grid{grid-template-columns:minmax(0,1fr)}.sap-org-filter-toggle{align-self:flex-start}.database-settings-footer{align-items:flex-start;flex-direction:column;padding-right:13px;padding-left:13px}.batch-select-visible{align-items:flex-start;flex-direction:column;padding:9px 13px}.batch-posting-controls{align-items:stretch;flex-direction:column;padding:12px 13px}.batch-posting-controls .settings-field{width:100%}.batch-posting-controls .button{justify-self:start}.batch-posting-result{grid-template-columns:minmax(0,1fr) auto;gap:6px 10px;padding:8px 0}.batch-posting-result>span:last-child{grid-column:1 / -1}.batch-sap-note{margin:0 10px 10px}.sap-connection-form{grid-template-columns:minmax(0,1fr);padding:13px}.outlook-connection-fields,.outlook-report-details,.outlook-directory-search{grid-template-columns:minmax(0,1fr)}.outlook-directory-search .button{justify-self:start}.sap-tolerance-control{grid-template-columns:minmax(0,1fr)}.auth-screen{padding:16px}.auth-panel{padding:20px}.user-create-fields,.user-permissions-grid{grid-template-columns:minmax(0,1fr)}.user-create-form{padding:13px}.user-admin-list{padding-right:12px;padding-left:12px}.user-admin-card-heading{flex-direction:column}.user-admin-card-heading>div:last-child{justify-content:flex-start}.user-admin-notice{margin-right:12px;margin-left:12px}.password-reset-form{grid-template-columns:minmax(0,1fr);margin-right:0;margin-left:0}.sap-invoice-action-fields{grid-template-columns:minmax(0,1fr)}.sap-invoice-action-buttons{align-items:stretch;flex-direction:column}.sap-invoice-action-buttons .button{width:100%}.sap-invoice-actions-heading{align-items:flex-start;flex-direction:column}.match-approval-action{align-items:flex-start;flex-direction:column;padding:12px 14px}.match-approval-action .button{width:100%}.sap-admin-request{align-items:flex-start;flex-direction:column}.sap-diagnostic-heading{flex-direction:column}.sap-check{grid-template-columns:18px minmax(0,1fr)}.sap-check>small{grid-column:2}.match-controls .button{grid-column:auto;justify-self:stretch}.sap-match-settings>.local-notice{grid-column:auto}.match-footnote{margin-right:13px;margin-left:13px}.approval-card-actions{align-items:flex-start;flex-direction:column}.approval-card-actions>div{width:100%}.approval-card-actions .button{flex:1}.approver-row,.approval-level-row{grid-template-columns:minmax(0,1fr) 32px}.approver-row .settings-field,.approval-level-row .level-index,.approval-level-row .settings-field{grid-column:1 / -1}.export-field-groups{grid-template-columns:minmax(0,1fr);gap:12px;padding:12px}.export-field-grid{grid-template-columns:minmax(0,1fr)}.export-footer{align-items:flex-start;flex-direction:column;padding:14px}.export-footer>div{width:100%}.export-footer .button{flex:1}.export-selection-actions{align-self:stretch;flex-wrap:wrap}.report-filter-row{justify-content:stretch;align-items:stretch;flex-direction:column}.report-filter-row .export-vendor-filter{width:100%;justify-content:space-between}.report-filter-row .export-vendor-filter select{flex:1}.report-filter-row .button{align-self:flex-start}.guide-layout{grid-template-columns:minmax(0,1fr);gap:8px}.guide-index{position:static;display:flex;gap:4px;overflow-x:auto;padding:7px 0;border-bottom:1px solid #e5e7eb}.guide-index strong{position:sticky;left:0;flex:0 0 auto;align-self:center;margin:0;padding:0 5px 0 0;background:#fff}.guide-index a{flex:0 0 auto;padding:7px 9px;border:1px solid #e5e7eb;border-radius:3px;white-space:nowrap}.guide-section{scroll-margin-top:115px}.report-status-summary{align-items:flex-start;flex-direction:column;flex-wrap:nowrap;gap:8px}.report-status-summary>div{gap:8px 14px}.report-kpis,.report-kpis-compact{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.scorecard-controls .section-heading{align-items:stretch}.scorecard-controls .section-heading>.export-vendor-filter{width:100%}.scorecard-controls .report-data-note{margin-right:12px;margin-left:12px}.scorecard-footnote{padding-right:12px;padding-left:12px}.report-kpis .metric-panel{min-height:112px;padding:13px}.report-kpis .metric-panel>strong{font-size:26px}.report-view-tabs{padding-right:8px;padding-left:8px}.report-view-tabs button{padding:0 9px;font-size:11px}.currency-total-list,.report-limit-list{padding-right:13px;padding-left:13px}.report-trend-chart{grid-template-columns:repeat(12,minmax(23px,1fr));gap:5px;padding-right:13px;padding-left:13px}.currency-total-row{grid-template-columns:58px minmax(0,1fr)}.currency-total-row>span:last-child{grid-column:2}.export-vendor-filter{width:100%;justify-content:space-between}.export-vendor-filter select{flex:1}.vendor-search{align-self:stretch}.vendor-search input{width:100%}.field-grid{gap:0 10px;padding-right:12px;padding-left:12px}.field input{padding:0 7px;font-size:12px}.panel-heading,.details-heading{padding-right:12px;padding-left:12px}}:root{--panel-x: 19px;--panel-y: 16px;--control-h: 36px;--control-radius: 6px;--control-border: #d1d5db;--focus-ring: 0 0 0 3px #bfdbfe;--select-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")}button,input,select,textarea{font:inherit}.button{border-radius:var(--control-radius)}.button.secondary:hover:not(:disabled){border-color:#9ca3af;background:#f9fafb}.button:focus-visible,.text-action:focus-visible,.table-link:focus-visible,.icon-action:focus-visible{outline:2px solid #2563eb;outline-offset:2px}.data-section,.metric-panel,.approval-intro,.approval-card,.report-status-summary{border-radius:8px}.section-heading>div:first-child{min-width:0}.section-heading>.button,.section-heading>.status-badge{flex:0 0 auto}.section-actions{display:flex;flex-wrap:wrap;align-items:center;gap:16px}.export-vendor-filter{min-width:0;display:grid;align-items:initial;gap:6px;color:#4b5563;font-size:12px;font-weight:600}.export-vendor-filter>span{line-height:1.3;white-space:nowrap}.export-vendor-filter select,.export-vendor-filter input:not([type=checkbox]):not([type=radio]){width:100%;min-width:0;height:var(--control-h);padding:0 10px;border:1px solid var(--control-border);border-radius:var(--control-radius);outline:0;color:#1f2937;background-color:#fff;font-size:13px;font-weight:400}.export-vendor-filter select,.settings-field select{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding-right:32px;background-image:var(--select-chevron);background-position:right 11px center;background-repeat:no-repeat;background-size:12px}.export-vendor-filter :is(select,input):hover{border-color:#9ca3af}.export-vendor-filter :is(select,input):focus-visible,.settings-field :is(select,input):focus-visible{border-color:#2563eb;box-shadow:var(--focus-ring);outline:0}.export-vendor-filter input::placeholder{color:#9ca3af}.report-filter-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));align-items:end;gap:12px;padding:var(--panel-y) var(--panel-x)}.report-filter-row .export-vendor-filter select,.scorecard-filter-row .export-vendor-filter{min-width:0}.sap-org-filter-controls{align-items:flex-end;gap:12px;padding:var(--panel-y) var(--panel-x)}.sap-org-filter-grid{gap:12px}.sap-org-filter-toggle{min-height:var(--control-h)}.batch-match-filters{padding:var(--panel-y) var(--panel-x)}.batch-match-filters .button,.match-controls .button{min-height:var(--control-h)}.vendor-search{height:var(--control-h);border-radius:var(--control-radius);background:#fff}.vendor-search:focus-within{border-color:#2563eb;box-shadow:var(--focus-ring)}.vendor-search input{height:100%;font-size:13px}.export-selection-actions{align-items:flex-end;gap:16px}.export-selection-actions .text-action{min-height:var(--control-h)}.export-selection-actions .export-vendor-filter{width:240px}.section-heading>.export-vendor-filter{width:min(100%,280px);flex:0 0 auto}.settings-field input,.settings-field select{height:var(--control-h);border-radius:var(--control-radius)}.report-toolbar .section-heading,.scorecard-controls .section-heading{align-items:center}.scorecard-controls .report-data-note{margin:0 var(--panel-x) var(--panel-y)}.scorecard-controls .sap-org-filter-controls{margin-bottom:var(--panel-y)}.scorecard-pagination,.scorecard-footnote{padding:12px var(--panel-x)}.scorecard-empty-note,.report-explainer{padding-right:var(--panel-x);padding-left:var(--panel-x)}.report-view-tabs{padding:0 calc(var(--panel-x) - 12px)}.vendor-invoice-register .section-heading,.currency-total-list,.report-limit-list{padding-right:var(--panel-x);padding-left:var(--panel-x)}.outlook-report-details{padding:var(--panel-y) var(--panel-x)}.outlook-intake-report>.text-action{margin:0 var(--panel-x) var(--panel-y)}.report-kpis .metric-label{min-height:2.7em}.report-status-summary{padding:12px var(--panel-x)}.data-section.approval-inbox{margin-bottom:0;padding:0}.approval-inbox>.queue-row{padding:12px var(--panel-x)}.approval-inbox>.queue-entry{padding:8px var(--panel-x)}.approval-inbox>.queue-entry:last-child{border-bottom:0}.approval-inbox>.queue-entry>.queue-row{padding:4px 2px;min-height:52px}.approval-inbox>p{margin:0;padding:var(--panel-y) var(--panel-x);color:#6b7280;font-size:13px}.three-way-match>.sap-org-filter-controls{border:1px solid #e5e7eb;border-radius:8px;background:#fff;box-shadow:0 1px 3px #1118270b}.database-settings-footer{padding:4px var(--panel-x) var(--panel-y)}.settings-view{--panel-x: 24px;--panel-y: 20px}.settings-view .data-section{border-radius:8px}.settings-view .section-heading>.button{white-space:nowrap}.settings-view .settings-field select{padding-right:34px}.settings-view .sap-background-form{align-items:end;padding:var(--panel-y) var(--panel-x) 12px}.settings-view .sap-background-form>.export-field{align-self:end;min-height:var(--control-h)}.settings-view .sap-background-timezone{align-self:end;min-height:var(--control-h);align-content:center}.settings-view .sap-background-policy{padding:0 var(--panel-x) var(--panel-y)}.settings-view .sap-background-settings>.local-notice{margin:0 var(--panel-x) var(--panel-y)}.settings-view .outlook-directory-import,.settings-view .outlook-intake-form{padding:var(--panel-y) var(--panel-x)}.settings-view .outlook-intake-form .settings-form{padding:0}.settings-view .user-create-form{padding:var(--panel-y) var(--panel-x)}.settings-view .user-admin-list{padding:0 var(--panel-x) var(--panel-y)}.settings-view .user-admin-notice{margin:0 var(--panel-x) 12px}:where(.settings-view .settings-section)>:where(form)>:where(.sap-config-actions),:where(.settings-view .settings-section)>:where(.sap-config-actions){padding:0 var(--panel-x) var(--panel-y)}:where(.settings-view .settings-section)>:where(form)>:where(.export-field){margin:0 var(--panel-x) 12px}:where(.settings-view .settings-section)>:where(.local-notice){margin:0 var(--panel-x) var(--panel-y)}:where(.settings-view .settings-section)>:where(.report-limit-list){padding:4px var(--panel-x) 12px}:where(.settings-view .settings-section)>:where(.report-empty){padding-right:var(--panel-x);padding-left:var(--panel-x)}:where(.data-section)>:where(.local-notice){margin:0 var(--panel-x) var(--panel-y)}:where(.data-section)>:where(.section-heading)+:where(.local-notice),:where(.data-section.report-panel)>:where(.section-heading)+:where(p){margin-top:var(--panel-y)}:where(.data-section.report-panel)>:where(p){margin:0;padding:0 var(--panel-x) 12px;color:#4b5563;font-size:13px;line-height:1.5}:where(.data-section.report-panel)>:where(.button){margin:0 var(--panel-x) var(--panel-y)}.user-admin-card{padding:14px 16px;border-radius:6px}.user-admin-card .user-permissions-grid{padding:10px 0 0}.user-admin-card .password-reset-form{margin-right:0;margin-left:0}.settings-view .sap-connection-flow,.settings-view .sap-diagnostic-report{padding-right:var(--panel-x);padding-left:var(--panel-x)}.approver-row>.icon-action,.approval-level-row>.icon-action{align-self:end;width:32px;height:var(--control-h)}.approval-level-row>.level-index{align-self:end;margin-bottom:calc((var(--control-h) - 23px) / 2)}@media(max-width:680px){:root{--panel-x: 13px;--panel-y: 13px}.settings-view{--panel-x: 16px;--panel-y: 16px}.report-filter-row{grid-template-columns:minmax(0,1fr)}.section-heading>.export-vendor-filter{width:100%}.report-toolbar .section-heading,.scorecard-controls .section-heading{align-items:flex-start}.scorecard-pagination{flex-wrap:wrap}}.vendor-grid{padding:var(--panel-y) var(--panel-x)}@media(max-width:680px){.vendor-grid{padding:12px}}.settings-view .cpi-settings-panel>.local-notice{margin:var(--panel-y) var(--panel-x) 0}.export-field input[type=checkbox],.sms-toggle input{margin:0}.export-vendor-filter,.report-filter-row .export-vendor-filter{justify-content:normal}@media(max-width:1050px){.sap-org-filter-controls{align-items:stretch}.sap-org-filter-grid{width:100%}}.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}.field>span .learned-badge{margin-left:auto;padding:1px 6px;border-radius:999px;color:#3f6f8f;background:#e8f2fa;font-size:11px;font-weight:600;line-height:1.5}.details-panel .learning-notice{margin:15px 17px 0;align-items:flex-start;line-height:1.5}.report-filter-row.supplier-learning-filters{grid-template-columns:minmax(0,360px) auto;justify-content:start}.supplier-learning-table td:last-child:not(.table-empty){text-align:right}@media(max-width:680px){.report-filter-row.supplier-learning-filters{grid-template-columns:minmax(0,1fr)}}.details-panel .reconciliation-notice,.details-panel .ocr-quality-notice{margin:12px 17px 0;align-items:flex-start;line-height:1.5}.reconciliation-notice,.ocr-quality-notice{border-color:#fde68a;color:#78350f;background:#fffbeb}.reconciliation-notice svg,.ocr-quality-notice svg{flex:0 0 auto;margin-top:2px;color:#b45309}.reconciliation-notice strong{display:block;color:#78350f}.reconciliation-notice ul{margin:3px 0 4px;padding-left:16px}.line-items-heading .line-items-flag{margin-left:8px;padding:2px 7px;border-radius:999px;color:#92400e;background:#fef3c7;font-size:12px;font-style:normal;font-weight:700}.api-access-settings .api-access-endpoints{margin:0;padding:8px var(--panel-x) 0}.api-access-settings .api-access-endpoints strong{color:#334155;font-weight:500}.api-access-settings .api-access-endpoints code{font-size:13px;word-break:break-all}.api-access-settings .api-access-endpoints a{color:inherit}.api-key-reveal{display:grid;gap:10px;margin:var(--panel-y) var(--panel-x) 0;padding:14px 16px;border:1px solid #bbf7d0;border-radius:7px;color:#14532d;background:#f0fdf4;font-size:14px;line-height:1.5}.api-key-reveal>div:first-child{display:grid;gap:2px}.api-key-value{display:flex;gap:10px;align-items:center}.api-key-value code{flex:1 1 auto;min-width:0;padding:9px 11px;border:1px solid #bbf7d0;border-radius:5px;color:#0f172a;background:#fff;font-size:14px;word-break:break-all;-webkit-user-select:all;user-select:all}.api-key-value .button{flex:0 0 auto}.api-key-reveal>.text-action{justify-self:start}.api-key-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,220px);gap:14px 16px;align-items:end;padding:var(--panel-y) var(--panel-x)}.api-key-form .api-scope-fieldset{grid-column:1 / -1}.api-key-form>.button{justify-self:start}.api-scope-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px}.api-scope-options .export-field{align-items:flex-start}.api-scope-options .export-field input{margin-top:2px}.api-scope-options .export-field>span{display:grid;gap:2px}.api-scope-options small{color:#64748b;font-size:13px;font-weight:400;line-height:1.4}.api-access-settings>.local-notice{margin:0 var(--panel-x) 12px}.api-client-table code{font-size:13px}.api-client-table td:last-child:not(.table-empty){text-align:right}.guide-code{margin:8px 0 12px;padding:12px 14px;overflow-x:auto;border:1px solid #e2e8f0;border-radius:6px;color:#0f172a;background:#f8fafc;font:13px/1.55 var(--mono);white-space:pre}.guide-table{width:100%;margin:8px 0 12px;border-collapse:collapse;font-size:var(--fs-sm)}.guide-table th,.guide-table td{padding:7px 9px;border:1px solid #e2e8f0;text-align:left;vertical-align:top}.guide-table th{color:#334155;background:#f8fafc;font-weight:700}.guide-section{overflow-x:clip}.guide-section :not(pre)>code{overflow-wrap:anywhere}.guide-field-reference{margin:8px 0;border:1px solid #e2e8f0;border-radius:6px;background:#fff}.guide-field-reference>summary{padding:9px 12px;color:#0f172a;font-weight:600;cursor:pointer;border-radius:6px}.guide-field-reference>summary:focus-visible{outline:2px solid #2563eb;outline-offset:2px}.guide-field-reference[open]>summary{border-bottom:1px solid #e2e8f0;border-radius:6px 6px 0 0}.guide-field-reference .table-scroll{max-height:420px;overflow:auto;padding:0 12px}.guide-field-reference .guide-table{min-width:520px;table-layout:fixed}.guide-field-reference .guide-table code{overflow-wrap:anywhere}.guide-field-reference .guide-table th:nth-child(1){width:27%}.guide-field-reference .guide-table th:nth-child(2){width:29%}.guide-field-reference .guide-table th:nth-child(3){width:11%}.guide-field-reference .guide-table th{position:sticky;top:0;z-index:1}@media(max-width:680px){.api-key-form,.api-scope-options{grid-template-columns:minmax(0,1fr)}.api-key-value{flex-direction:column;align-items:stretch}}.accounting-filter-fields{min-width:0;margin:0;padding:0;border:0}.accounting-actions{display:flex;flex-wrap:wrap;gap:8px;padding:12px 20px}.accounting-spend-bar{width:120px;max-width:100%;height:5px;margin-top:6px;background:#e2e8f0;border-radius:3px}.accounting-spend-bar i{display:block;height:100%;background:#2563eb;border-radius:inherit}.accounting-spend-view tr.selected{background:#eff6ff}.accounting-spend-view .report-empty{padding:12px 20px}.invoice-type-choice{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:4px 17px 14px;padding:0;border:0}.invoice-type-choice legend{margin-bottom:7px;padding:0;color:#6b7280;font-size:12px}.invoice-type-choice label{display:flex;gap:9px;align-items:flex-start;padding:10px 12px;border:1px solid #e5e7eb;border-radius:6px;background:#fff;cursor:pointer}.invoice-type-choice label.selected{border-color:#2563eb;background:#eff6ff}.invoice-type-choice input{margin-top:2px;accent-color:#2563eb}.invoice-type-choice span{display:grid;gap:2px}.invoice-type-choice strong{color:#1f2937;font-size:13px}.invoice-type-choice small{color:#6b7280;font-size:12px;line-height:1.4}.invoice-type-choice label:has(input:focus-visible){outline:2px solid #2563eb;outline-offset:2px}.non-po-coding{margin:0 17px 14px;padding:13px 0 12px;border-top:1px solid #eef0f3}.non-po-heading{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:10px}.non-po-heading h3{margin:0 0 3px;color:#374151;font-size:13px}.non-po-heading p{max-width:560px;margin:0;color:#6b7280;font-size:12px;line-height:1.5}.non-po-balance{display:inline-flex;flex-wrap:wrap;align-items:center;gap:5px;padding:4px 9px;border-radius:999px;font-size:12px;font-variant-numeric:tabular-nums}.non-po-balance.balanced{color:#166534;background:#dcfce7}.non-po-balance.unbalanced{color:#92400e;background:#fef3c7}.non-po-header-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:10px}.non-po-coding .line-items-scroll{margin:0}.non-po-lines{min-width:900px;border:1px solid #eef0f3;border-radius:3px}.non-po-line{min-height:38px;display:grid;grid-template-columns:92px 118px 120px 96px 58px 92px 96px minmax(120px,1fr) 28px;align-items:center;gap:6px;padding:0 8px;border-top:1px solid #eef0f3;color:#4b5563;font-size:12px}.non-po-line-group:first-of-type .non-po-line,.non-po-line.header{border-top:0}.non-po-line.header{min-height:28px;color:#6b7280;background:#f9fafb;font-size:11px}.non-po-line input,.non-po-line select{width:100%;min-width:0;height:28px;padding:0 5px;border:1px solid #e5e7eb;border-radius:3px;color:#374151;background:#fff;font-size:12px}.non-po-line input:focus,.non-po-line select:focus{border-color:#2563eb;outline:0;box-shadow:0 0 0 2px #dbeafe}.non-po-line input[aria-invalid=true]{border-color:#e7a98f;background:#fffaf7}.non-po-line input[aria-label$=amount]{text-align:right;font-variant-numeric:tabular-nums}.non-po-line .icon-action{width:28px;height:28px}.non-po-line-errors{margin:0;padding:0 8px 7px;color:#b45309;font-size:11.5px;line-height:1.4}.non-po-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:10px;color:#6b7280;font-size:12px}.non-po-header-errors{margin:10px 0 0;padding:8px 12px 8px 26px;border-radius:4px;color:#92400e;background:#fffbeb;font-size:12px;line-height:1.5}.non-po-review .non-po-summary{padding:0 17px 14px}.non-po-summary-header{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;margin-bottom:10px;color:#6b7280;font-size:12px}.non-po-summary-header strong{color:#1f2937}.non-po-summary td.number{text-align:right;font-variant-numeric:tabular-nums}.non-po-sap-actions{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px;padding:0 17px 16px}@media(max-width:680px){.invoice-type-choice,.non-po-header-fields{grid-template-columns:minmax(0,1fr)}.invoice-type-choice,.non-po-coding{margin-right:12px;margin-left:12px}}.upload-options{display:grid;gap:16px}.camera-capture{display:grid;gap:10px;justify-items:center;padding:22px 18px;border:1px solid #dbeafe;border-radius:8px;background:#f8fbff;text-align:center}.camera-capture h2{display:flex;align-items:center;gap:8px;margin:0;color:#1f2937;font-size:17px}.camera-capture p{max-width:420px;margin:0;color:#4b5563;font-size:14px;line-height:1.5}.camera-capture small{color:#6b7280;font-size:12px}.camera-button{width:100%;max-width:340px;min-height:52px;justify-content:center;font-size:16px}.camera-pages{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:10px;width:100%;max-width:560px;margin:4px 0;padding:0;list-style:none}.camera-pages li{position:relative;display:grid;gap:4px;justify-items:center;color:#4b5563;font-size:12px}.camera-pages img{width:100%;aspect-ratio:3 / 4;object-fit:cover;border:1px solid #e5e7eb;border-radius:6px;background:#fff}.camera-pages .icon-action{position:absolute;top:4px;right:4px;width:30px;height:30px;background:#ffffffeb}.camera-actions{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px}.camera-actions .button{min-height:44px}.camera-error{color:#b91c1c}.vendor-card-actions{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px}.vendor-card-actions .subtle-action{color:#6b7280;font-weight:500}.vendor-invoice-list{display:grid;gap:12px;padding:18px}.vendor-back{justify-self:start;display:inline-flex;align-items:center;gap:4px}.vendor-invoice-list-heading{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:12px}.vendor-invoice-list-heading h2{margin:0 0 3px;color:#1f2937;font-size:18px}.vendor-invoice-list-heading p{margin:0;color:#6b7280;font-size:13px;font-variant-numeric:tabular-nums}.vendor-invoice-filters{display:flex;flex-wrap:wrap;gap:6px}.vendor-invoice-filters button{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:4px 11px;border:1px solid #e5e7eb;border-radius:999px;color:#374151;background:#fff;font-size:12.5px;cursor:pointer}.vendor-invoice-filters button span{color:#6b7280;font-variant-numeric:tabular-nums}.vendor-invoice-filters button.selected{border-color:#2563eb;color:#1d4ed8;background:#eff6ff}.vendor-invoice-filters button.selected span{color:#1d4ed8}.vendor-invoice-filters button:focus-visible{outline:2px solid #2563eb;outline-offset:2px}.vendor-invoice-table td.number,.vendor-invoice-table th.number{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.vendor-invoice-empty{margin:0;padding:18px;color:#6b7280;font-size:13px;text-align:center}.nr-badge{display:inline-flex;align-items:center;margin-left:6px;padding:1px 6px;border:1px solid #c4b5fd;border-radius:4px;color:#5b21b6;background:#f5f3ff;font-size:10.5px;font-weight:700;letter-spacing:.04em;line-height:16px;vertical-align:middle;white-space:nowrap}.nr-entry{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;border:1px dashed #c4b5fd;border-radius:8px;background:#fbfaff}.nr-entry>div{display:grid;gap:4px;max-width:620px}.nr-entry strong{display:flex;align-items:center;gap:2px;color:#1f2937;font-size:14px}.npo-badge{border-color:#fcd34d;color:#92400e;background:#fffbeb}.nr-badge+.npo-badge{margin-left:4px}.nr-entry strong .nr-badge{margin:0 6px 0 0}.nr-entry span:not(.nr-badge){color:#4b5563;font-size:13px;line-height:1.5}.nr-panel{display:grid;gap:10px;margin:0 17px 14px;padding:13px 14px;border:1px solid #ddd6fe;border-radius:6px;background:#fbfaff}.nr-panel-heading h3{display:flex;align-items:center;gap:2px;margin:0 0 3px;color:#1f2937;font-size:13px}.nr-panel-heading h3 .nr-badge{margin:0 6px 0 0}.nr-panel-heading p{margin:0;color:#6b7280;font-size:12px;line-height:1.5}.nr-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:10px}.nr-fields textarea{width:100%;min-height:36px;padding:7px 9px;border:1px solid #d1d5db;border-radius:4px;color:#374151;font:inherit;font-size:13px;resize:vertical}.nr-fields [aria-invalid=true]{border-color:#e7a98f}.nr-evidence{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;padding:9px 11px;border-radius:5px;font-size:12.5px;line-height:1.45}.nr-evidence>span{flex:1 1 260px}.nr-evidence.attached{color:#166534;background:#dcfce7}.nr-evidence.missing{color:#92400e;background:#fef3c7}.nr-no-receipt{align-items:flex-start;font-size:12.5px;line-height:1.45}.nr-no-receipt input{margin-top:2px}.nr-issues{margin:0;padding:8px 12px 8px 26px;border-radius:4px;color:#92400e;background:#fffbeb;font-size:12px;line-height:1.5}@media(max-width:680px){.nr-fields{grid-template-columns:minmax(0,1fr)}.nr-panel{margin-right:12px;margin-left:12px}}.inbox-bell{position:relative}.inbox-bell-count{position:absolute;top:-4px;right:-6px;min-width:17px;padding:0 4px;border-radius:999px;color:#fff;background:#dc2626;font-size:10px;font-weight:700;line-height:16px;text-align:center;font-variant-numeric:tabular-nums}.inbox-heading-actions{display:flex;flex-wrap:wrap;gap:8px}.inbox-filters{display:flex;flex-wrap:wrap;gap:6px;padding:0 17px 12px}.inbox-filters button{min-height:32px;padding:4px 12px;border:1px solid #e5e7eb;border-radius:999px;color:#374151;background:#fff;font-size:12.5px;cursor:pointer}.inbox-filters button.selected{border-color:#2563eb;color:#1d4ed8;background:#eff6ff}.inbox-filters button:focus-visible{outline:2px solid #2563eb;outline-offset:2px}.inbox-panel{position:relative;overflow:hidden;border:1px solid #e5e7eb;border-radius:10px;background:#fff;box-shadow:0 1px 3px #1118270b}.inbox-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:14px 18px;border-bottom:1px solid #eef0f3}.inbox-summary{display:flex;align-items:baseline;gap:10px;min-width:150px;color:#1f2937;font-size:15px}.inbox-summary strong{font-weight:650}.inbox-summary-important{padding:2px 8px;border-radius:999px;color:#9a3412;background:#ffedd5;font-size:12px;font-weight:600}.inbox-summary-done{display:inline-flex;align-items:center;gap:6px;color:#166534;font-weight:600}.inbox-search{display:flex;flex:1 1 260px;align-items:center;gap:8px;height:38px;max-width:460px;margin-left:auto;padding:0 10px;border:1px solid #d1d5db;border-radius:8px;color:#6b7280;background:#f9fafb;transition:border-color .15s,background .15s}.inbox-search:focus-within{border-color:#2563eb;background:#fff;box-shadow:0 0 0 3px #dbeafe}.inbox-search input{flex:1;min-width:0;border:0;outline:none;color:#1f2937;background:transparent;font:inherit;font-size:13.5px}.inbox-search button{display:grid;place-items:center;width:22px;height:22px;padding:0;border:0;border-radius:50%;color:#6b7280;background:#e5e7eb;cursor:pointer}.inbox-toolbar-actions{display:flex;align-items:center;gap:6px}.inbox-refresh{width:38px;height:38px;border:1px solid #d1d5db;border-radius:8px}.inbox-tabs{display:flex;gap:2px;overflow-x:auto;padding:0 12px;border-bottom:1px solid #e5e7eb;scrollbar-width:none}.inbox-tabs button{display:inline-flex;flex:0 0 auto;align-items:center;gap:7px;padding:12px 10px 10px;border:0;border-bottom:2px solid transparent;color:#4b5563;background:none;font:inherit;font-size:13.5px;font-weight:550;cursor:pointer}.inbox-tabs button:hover{color:#111827}.inbox-tabs button.selected{border-bottom-color:#2563eb;color:#1d4ed8}.inbox-tabs button:focus-visible{outline:2px solid #2563eb;outline-offset:-2px;border-radius:6px 6px 0 0}.inbox-tab-count{min-width:20px;padding:0 6px;border-radius:999px;color:#fff;background:#2563eb;font-size:11px;font-weight:700;line-height:18px;text-align:center;font-variant-numeric:tabular-nums}.inbox-tabs button:not(.selected) .inbox-tab-count{color:#1e40af;background:#dbeafe}.inbox-bulkbar{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;min-height:44px;padding:6px 18px;border-bottom:1px solid #eef0f3;background:#fafafa}.inbox-bulkbar.active{background:#eff6ff}.inbox-bulk-count{margin-right:4px;color:#1e3a8a;font-size:13px;font-weight:650}.inbox-bulk-action{display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 10px;border:1px solid #bfdbfe;border-radius:6px;color:#1d4ed8;background:#fff;font:inherit;font-size:12.5px;font-weight:600;cursor:pointer}.inbox-bulk-action:hover{background:#dbeafe}.inbox-bulk-action.quiet{border-color:transparent;color:#4b5563;background:transparent}.inbox-hint{color:#9ca3af;font-size:12px}.inbox-hint-short{display:none;color:#6b7280;font-size:12.5px}.inbox-check{display:grid;place-items:center;width:22px;height:22px;cursor:pointer}.inbox-check input{width:16px;height:16px;margin:0;accent-color:#2563eb;cursor:pointer}.inbox-error{display:flex;align-items:center;gap:8px;margin:12px 18px 0;padding:10px 12px;border:1px solid #fecaca;border-radius:8px;color:#991b1b;background:#fef2f2;font-size:13px}.inbox-error button{margin-left:auto;border:0;color:#991b1b;background:none;font-weight:600;text-decoration:underline;cursor:pointer}.inbox-rows,.inbox-rows ul{margin:0;padding:0;list-style:none}.inbox-group-label{position:sticky;top:0;z-index:1;padding:8px 18px;border-bottom:1px solid #f1f5f9;color:#6b7280;background:#f8fafc;font-size:11.5px;font-weight:700;letter-spacing:.05em;text-transform:uppercase}.inbox-row{position:relative;display:grid;grid-template-columns:22px 38px minmax(0,1fr) auto;gap:12px;align-items:start;padding:14px 18px 14px 15px;border-bottom:1px solid #f1f5f9;border-left:3px solid transparent;cursor:default;transition:background .12s}.inbox-row.openable{cursor:pointer}.inbox-row:hover{background:#f9fafb}.inbox-row.unread{border-left-color:#2563eb;background:#fbfdff}.inbox-row.unread:hover{background:#f3f8ff}.inbox-row.selected{background:#eff6ff}.inbox-row:focus-visible{z-index:2;outline:2px solid #2563eb;outline-offset:-2px}.inbox-row .inbox-check{margin-top:8px}.inbox-row-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;color:#475569;background:#f1f5f9}.category-approval .inbox-row-icon{color:#1d4ed8;background:#dbeafe}.category-reminder .inbox-row-icon{color:#b45309;background:#fef3c7}.category-alert .inbox-row-icon{color:#b91c1c;background:#fee2e2}.category-update .inbox-row-icon{color:#0f766e;background:#ccfbf1}.inbox-row-main{display:grid;gap:4px;min-width:0}.inbox-row-title{display:flex;align-items:center;gap:8px;min-width:0}.inbox-dot{flex:0 0 8px;width:8px;height:8px;border-radius:50%;background:#2563eb}.inbox-row-subject{overflow:hidden;color:#374151;font-size:14.5px;font-weight:500;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.inbox-row.unread .inbox-row-subject{color:#111827;font-weight:650}.inbox-row.openable:hover .inbox-row-subject{color:#1d4ed8}.inbox-important{flex:0 0 auto;padding:1px 7px;border-radius:999px;color:#9a3412;background:#ffedd5;font-size:11px;font-weight:650}.inbox-row-body{display:-webkit-box;overflow:hidden;margin:0;color:#4b5563;font-size:13px;line-height:1.5;overflow-wrap:anywhere;-webkit-line-clamp:2;-webkit-box-orient:vertical}.inbox-row-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px;color:#6b7280;font-size:12px}.inbox-row-kind{color:#374151;font-weight:600}.inbox-row-side{display:grid;justify-items:end;gap:8px;min-width:96px}.inbox-row-side time{color:#6b7280;font-size:12px;white-space:nowrap;font-variant-numeric:tabular-nums}.inbox-row.unread .inbox-row-side time{color:#1d4ed8;font-weight:600}.inbox-row-actions{display:flex;align-items:center;gap:2px;opacity:0;transition:opacity .12s}.inbox-row:hover .inbox-row-actions,.inbox-row:focus-within .inbox-row-actions,.inbox-row.selected .inbox-row-actions{opacity:1}@media(hover:none){.inbox-row-actions{opacity:1}}.inbox-open{display:inline-flex;align-items:center;gap:2px;height:28px;margin-left:4px;padding:0 6px 0 10px;border:1px solid #bfdbfe;border-radius:6px;color:#1d4ed8;background:#fff;font:inherit;font-size:12.5px;font-weight:600;cursor:pointer}.inbox-open:hover{background:#eff6ff}.inbox-empty{display:grid;justify-items:center;gap:8px;padding:56px 20px;color:#6b7280;text-align:center;font-size:13.5px}.inbox-empty strong{color:#1f2937;font-size:16px}.inbox-empty-icon{display:grid;place-items:center;width:56px;height:56px;margin-bottom:4px;border-radius:50%;color:#2563eb;background:#eff6ff}.inbox-skeleton{margin:0;padding:6px 0;list-style:none}.inbox-skeleton li{display:grid;grid-template-columns:38px minmax(0,1fr);gap:14px;padding:14px 18px 14px 55px}.inbox-skeleton span,.inbox-skeleton i{display:block;border-radius:8px;background:linear-gradient(90deg,#f1f5f9,#e2e8f0,#f1f5f9);background-size:200% 100%;animation:inbox-shimmer 1.4s infinite}.inbox-skeleton span{width:38px;height:38px;border-radius:50%}.inbox-skeleton div{display:grid;gap:8px;padding-top:3px}.inbox-skeleton i{width:60%;height:12px}.inbox-skeleton i+i{width:85%}@keyframes inbox-shimmer{to{background-position:-200% 0}}@media(prefers-reduced-motion:reduce){.inbox-skeleton span,.inbox-skeleton i{animation:none}}.inbox-more{display:flex;justify-content:center;padding:16px}.inbox-toast{position:fixed;bottom:24px;left:50%;z-index:60;display:flex;align-items:center;gap:14px;padding:10px 10px 10px 16px;border-radius:10px;color:#f9fafb;background:#1f2937;box-shadow:0 10px 30px #0f172a40;font-size:13.5px;transform:translate(-50%)}.inbox-toast button{border:0;color:#93c5fd;background:none;font:inherit;font-weight:650;cursor:pointer}.inbox-toast .inbox-toast-close{display:grid;place-items:center;color:#9ca3af}@media(max-width:680px){.inbox-toolbar{padding:12px}.inbox-search{order:3;flex-basis:100%;max-width:none;margin-left:0}.inbox-toolbar-actions{margin-left:auto}.inbox-hint{display:none}.inbox-hint-short{display:inline}.inbox-row{row-gap:6px}.inbox-row{grid-template-columns:22px 34px minmax(0,1fr);padding:12px 12px 12px 9px}.inbox-row-icon{width:34px;height:34px}.inbox-row-side{grid-column:3;grid-template-columns:auto 1fr;justify-items:start;align-items:center;min-width:0}.inbox-row-actions{justify-self:end}.inbox-row-subject{white-space:normal}}.guide-video-view{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:16px;align-items:start}.guide-video{display:block;width:100%;aspect-ratio:16 / 10;background:#0f172a}.guide-video-missing{margin:16px 19px}.guide-video-chapters ol{display:grid;gap:2px;max-height:70vh;overflow-y:auto;margin:0;padding:8px;list-style:none}.guide-video-chapters button{display:grid;grid-template-columns:52px minmax(0,1fr);gap:8px;width:100%;padding:8px 9px;border:0;border-radius:6px;color:#374151;background:transparent;font:inherit;font-size:12.5px;line-height:1.45;text-align:left;cursor:pointer}.guide-video-chapters button:hover{background:#f3f4f6}.guide-video-chapters button.active{color:#1e3a8a;background:#eff6ff}.guide-video-time{display:inline-flex;align-items:center;gap:4px;color:#2563eb;font-variant-numeric:tabular-nums;font-weight:600}.guide-video-link{display:flex;flex-wrap:wrap;align-items:center;gap:6px}@media(max-width:1100px){.guide-video-view{grid-template-columns:minmax(0,1fr)}}:root{--look-up: #16a34a;--suggest: #2563eb;--ask-first: #d97706;--never: #dc2626}.agents-view{display:grid;gap:16px;min-width:0}.agent-confirmations{margin-bottom:16px}.agent-level-dot{width:9px;height:9px;flex:0 0 9px;border-radius:50%;background:var(--look-up)}.agent-level-dot.level-suggest{background:var(--suggest)}.agent-level-dot.level-ask-first{background:var(--ask-first)}.agent-level-dot.level-never{background:var(--never)}.agent-templates{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px;padding:16px 19px;border-bottom:1px solid #eef0f3;background:#f9fafb}.agent-template{display:grid;gap:4px;padding:13px 14px;border:1px solid #d1d5db;border-radius:8px;color:#1f2937;background:#fff;text-align:left;cursor:pointer}.agent-template:hover:not(:disabled){border-color:#2563eb;box-shadow:0 0 0 3px #dbeafe}.agent-template span{color:#6b7280;font-size:12.5px;line-height:1.45}.agent-template-cancel{justify-self:start;align-self:center}.agent-empty{display:grid;justify-items:center;gap:6px;padding:40px 20px;color:#6b7280;text-align:center;font-size:13px}.agent-empty strong{color:#374151;font-size:15px}.agent-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:14px;padding:16px 19px 19px}.agent-card{display:grid;gap:11px;align-content:start;padding:15px;border:1px solid #e5e7eb;border-radius:8px;background:#fff}.agent-card header{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.agent-card h3{margin:0 0 3px;color:#1f2937;font-size:15px}.agent-card header p{margin:0;color:#6b7280;font-size:12.5px;line-height:1.45}.agent-card dl{display:grid;gap:5px;margin:0;font-size:12.5px}.agent-card dl div{display:grid;grid-template-columns:74px minmax(0,1fr);gap:8px}.agent-card dt{color:#6b7280}.agent-card dd{margin:0;color:#374151;overflow-wrap:anywhere}.agent-card-actions,.agent-node-actions{display:flex;flex-wrap:wrap;gap:6px}.agent-card footer{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.agent-card footer .button{margin-left:auto}.agent-pending{display:inline-flex;align-items:center;gap:4px;color:#b45309;font-size:12px;font-weight:600}.agent-problem-count{display:inline-flex;align-items:center;gap:4px;color:#b91c1c;font-size:12px;font-weight:600}.agent-budget{position:relative;display:grid;gap:4px}.agent-budget:before{content:"";height:6px;border-radius:99px;background:#eef0f3}.agent-budget span{position:absolute;top:0;left:0;height:6px;border-radius:99px;background:#2563eb}.agent-budget small{color:#6b7280;font-size:11.5px}.agent-chip{display:inline-flex;align-items:center;gap:5px;max-width:100%;padding:3px 8px;border:1px solid #bbf7d0;border-left:3px solid var(--look-up);border-radius:6px;color:#14532d;background:#f0fdf4;font-size:12px;font-weight:500}.agent-chip>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agent-chip.level-suggest{border-color:#bfdbfe;border-left-color:var(--suggest);color:#1e3a8a;background:#eff6ff}.agent-chip.level-ask-first{border-color:#fde68a;border-left-color:var(--ask-first);color:#78350f;background:#fffbeb}.agent-chip b{min-width:17px;padding:0 5px;border-radius:99px;color:#fff;background:#111827;font-size:10.5px;line-height:16px;text-align:center}.agent-chip.used{box-shadow:0 0 0 2px #c7d2fe}.agent-chip button{display:grid;place-items:center;width:18px;height:18px;padding:0;border:0;border-radius:4px;color:inherit;background:transparent;cursor:pointer}.agent-chip button:hover{background:#0000000f}.agent-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:11px 14px;border:1px solid #e5e7eb;border-radius:8px;background:#fff}.agent-name-input{flex:1 1 220px;min-width:0;height:36px;padding:0 10px;border:1px solid transparent;border-radius:6px;color:#111827;background:#f9fafb;font-size:16px;font-weight:600}.agent-name-input:hover,.agent-name-input:focus{border-color:#d1d5db;background:#fff;outline:none}.agent-persona-input{display:inline-flex;flex:0 1 200px;align-items:center;gap:7px;min-width:150px;height:36px;padding:0 8px 0 5px;border:1px dashed #c7d2fe;border-radius:999px;background:#f5f7ff;cursor:text}.agent-persona-input:hover{border-color:#a5b4fc}.agent-persona-input:focus-within{border-style:solid;border-color:#6366f1;background:#fff;box-shadow:0 0 0 3px #6366f126}.agent-persona-input input{flex:1;min-width:0;height:100%;padding:0;border:0;color:#312e81;background:transparent;font:inherit;font-size:14px;font-weight:600;outline:none}.agent-persona-input input::placeholder{color:#818cf8;font-weight:500}.agent-persona-avatar,.agent-persona-chip>span{display:inline-grid;flex:none;place-items:center;width:26px;height:26px;border-radius:50%;color:#fff;background:linear-gradient(135deg,#6366f1,#8b5cf6);font-size:12.5px;font-weight:700}.agent-card-title{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px}.agent-persona-chip{display:inline-flex;align-items:center;gap:6px;padding:2px 9px 2px 2px;border-radius:999px;color:#3730a3;background:#eef2ff;font-size:12.5px;font-weight:600}.agent-persona-chip>span{width:20px;height:20px;font-size:11px}.agent-save-state{color:#6b7280;font-size:12px;white-space:nowrap}.agent-save-state.dirty{color:#b45309}.agent-toolbar-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-left:auto}.agent-toolbar-actions select{height:36px;padding:0 28px 0 9px;border:1px solid #d1d5db;border-radius:6px;color:#374151;background:#fff var(--select-chevron) no-repeat right 9px center;font-size:13px;-webkit-appearance:none;-moz-appearance:none;appearance:none}.agent-workspace{display:grid;grid-template-columns:230px minmax(0,1fr) 300px;gap:14px;align-items:start}.agent-palette,.agent-inspector{position:sticky;top:12px;max-height:calc(100vh - 24px);overflow-y:auto;padding:14px;border:1px solid #e5e7eb;border-radius:8px;background:#fff}.agent-palette h3,.agent-inspector h3{display:flex;align-items:center;gap:7px;margin:0 0 3px;color:#1f2937;font-size:14px}.agent-palette>p,.agent-inspector-body>p{margin:0 0 12px;color:#6b7280;font-size:12.5px;line-height:1.45}.agent-palette-group{display:grid;gap:5px;margin-bottom:14px}.agent-palette-heading{display:grid;grid-template-columns:9px minmax(0,1fr);align-items:center;column-gap:7px;margin-bottom:2px}.agent-palette-heading strong{color:#374151;font-size:12px;letter-spacing:.02em;text-transform:uppercase}.agent-palette-heading small{grid-column:2;color:#6b7280;font-size:11.5px}.agent-palette-item{display:grid;grid-template-columns:16px minmax(0,1fr) 22px;align-items:center;gap:7px;min-height:34px;padding:5px 7px;border:1px solid #e5e7eb;border-left:3px solid var(--look-up);border-radius:6px;color:#374151;background:#fff;font-size:12.5px;cursor:grab}.agent-palette-item.level-suggest{border-left-color:var(--suggest)}.agent-palette-item.level-ask-first{border-left-color:var(--ask-first)}.agent-palette-item.level-never{border-left-color:var(--never);color:#9ca3af;background:#f9fafb;cursor:not-allowed}.agent-palette-item.added{color:#6b7280;background:#f9fafb;cursor:default}.agent-palette-item.added svg:last-child{color:#16a34a}.agent-palette-item button{display:grid;place-items:center;width:22px;height:22px;padding:0;border:1px solid #d1d5db;border-radius:5px;color:#2563eb;background:#fff;cursor:pointer}.agent-palette-item button:hover{border-color:#2563eb;background:#eff6ff}.agent-palette-item:not(.added):not(.level-never):hover{border-color:#93c5fd}.agent-canvas-column{display:grid;gap:12px;min-width:0}.agent-canvas{display:grid;grid-template-columns:minmax(120px,.8fr) 26px minmax(220px,2fr) 26px minmax(120px,.8fr) 26px minmax(120px,.8fr);align-items:stretch;padding:22px 18px;border:1px solid #e5e7eb;border-radius:8px;background-color:#f8fafc;background-image:radial-gradient(#d7dde6 1px,transparent 1px);background-size:16px 16px}.agent-connector{position:relative;align-self:center;height:2px;background:#94a3b8}.agent-connector:after{content:"";position:absolute;top:-4px;right:-1px;border:5px solid transparent;border-left:7px solid #94a3b8;border-right:0}.agent-node{position:relative;display:grid;align-content:start;gap:5px;min-width:0;padding:11px 12px;border:1.5px solid #cbd5e1;border-radius:10px;color:#374151;background:#fff;box-shadow:0 1px 2px #0f172a0d;font:inherit;font-size:12.5px;line-height:1.4;text-align:left;cursor:pointer;transition:border-color .12s,box-shadow .12s}.agent-node:hover{border-color:#93c5fd}.agent-node.selected{border-color:#2563eb;box-shadow:0 0 0 3px #dbeafe}.agent-node.has-problems{border-color:#fca5a5}.agent-node.has-problems.selected{border-color:#dc2626;box-shadow:0 0 0 3px #fee2e2}.agent-node.running{animation:agent-pulse 1.6s ease-in-out infinite}@keyframes agent-pulse{50%{box-shadow:0 0 0 4px #bfdbfe}}@media(prefers-reduced-motion:reduce){.agent-node.running{animation:none;box-shadow:0 0 0 3px #bfdbfe}}.agent-node:focus-visible{outline:2px solid #2563eb;outline-offset:2px}.agent-node small{color:#6b7280;font-size:11.5px}.agent-node-title{display:flex;align-items:center;gap:6px;color:#111827;font-size:13px}.agent-node-title svg:first-child{color:#2563eb}.agent-node-problems{margin-left:auto;min-width:18px;padding:0 5px;border-radius:99px;color:#fff;background:#dc2626;font-size:10.5px;font-weight:700;line-height:18px;text-align:center}.agent-node-main{min-height:150px;gap:8px}.agent-node-main.drop-active{border-style:dashed;border-color:#2563eb;background:#eff6ff}.agent-role-preview{margin:0;color:#4b5563;font-size:12px;overflow-wrap:anywhere}.agent-drop-hint{display:inline-flex;align-items:center;padding:3px 8px;border:1px dashed #cbd5e1;border-radius:6px;color:#94a3b8;font-size:11.5px}.agent-node-ghost{border-style:dashed;color:#94a3b8;background:#ffffffb3;cursor:default}.agent-node-ghost .agent-node-title,.agent-node-ghost .agent-node-title svg:first-child{color:#94a3b8}.agent-guardrails{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;padding:10px 14px;border:1.5px solid #e5e7eb;border-radius:8px;color:#4b5563;background:#fff;font:inherit;font-size:12.5px;text-align:left;cursor:pointer}.agent-guardrails strong{color:#111827}.agent-guardrails svg{color:#16a34a}.agent-guardrails span+span:before{content:"·";margin-right:14px;color:#cbd5e1}.agent-guardrails.selected{border-color:#2563eb;box-shadow:0 0 0 3px #dbeafe}.agent-guardrails.has-problems{border-color:#fca5a5}.agent-problems{display:grid;gap:4px;margin:0;padding:0;list-style:none}.agent-problems.ok{display:flex;align-items:center;gap:7px;padding:9px 12px;border-radius:6px;color:#166534;background:#f0fdf4;font-size:12.5px}.agent-problems button{display:flex;align-items:flex-start;gap:7px;width:100%;padding:8px 11px;border:0;border-radius:6px;font:inherit;font-size:12.5px;text-align:left;cursor:pointer}.agent-problems .error button{color:#991b1b;background:#fef2f2}.agent-problems .warning button{color:#92400e;background:#fffbeb}.agent-problems svg{flex:0 0 14px;margin-top:2px}.agent-inspector-body{display:grid;gap:11px}.agent-inspector-body>p{margin:0}.agent-inspector-body h4{margin:6px 0 0;color:#374151;font-size:12.5px}.agent-inspector textarea,.agent-run-form textarea{width:100%;min-height:70px;padding:8px 9px;border:1px solid #d1d5db;border-radius:6px;color:#374151;font:inherit;font-size:13px;line-height:1.45;resize:vertical}.agent-inspector .agent-role-input{min-height:220px}.agent-count{justify-self:end;color:#9ca3af;font-size:11px}.agent-help{margin:0;color:#6b7280;font-size:12px;line-height:1.45}.agent-radio-group{display:grid;gap:7px}.agent-radio-group label{display:grid;grid-template-columns:16px minmax(0,1fr);gap:8px;padding:9px 10px;border:1px solid #e5e7eb;border-radius:7px;cursor:pointer}.agent-radio-group label.selected{border-color:#2563eb;background:#eff6ff}.agent-radio-group span{display:grid;gap:2px;color:#374151;font-size:13px}.agent-radio-group small{color:#6b7280;font-size:11.5px}.agent-days{display:flex;flex-wrap:wrap;gap:5px;margin:0;padding:0;border:0}.agent-days legend{margin-bottom:6px;color:#6b7280;font-size:12px}.agent-days label{display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:32px;padding:0 6px;border:1px solid #d1d5db;border-radius:6px;color:#374151;font-size:12px;cursor:pointer}.agent-days label.selected{border-color:#2563eb;color:#1d4ed8;background:#eff6ff;font-weight:600}.agent-days input{position:absolute;opacity:0;pointer-events:none}.agent-days label:focus-within{outline:2px solid #2563eb;outline-offset:1px}.agent-proposal-warning{display:flex;align-items:flex-start;gap:6px;margin:6px 0;padding:8px 10px;border:1px solid #fcd34d;border-radius:6px;color:#78350f;background:#fffbeb;font-size:12.5px;font-weight:600}.agent-proposal-warning svg{flex:none;margin-top:2px}.agent-proposal-flag{color:#92400e;font-weight:600}.agent-proposal-message{white-space:pre-wrap}.agent-chat-toggle{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 10px;border:1px solid #d1d5db;border-radius:6px;color:#374151;background:#fff;font-size:13px;font-weight:500;white-space:nowrap;cursor:pointer}.agent-chat-toggle:has(input:checked){border-color:#2563eb;color:#1d4ed8;background:#eff6ff}.agent-chat-toggle input{margin:0}.agent-schedule-window{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:10px}.agent-schedule-window .settings-field{min-width:0}.agent-schedule-window select:disabled{opacity:.55;cursor:not-allowed}.agent-action-list{display:grid;gap:6px;margin:0;padding:0;list-style:none}.agent-action-list li{display:grid;grid-template-columns:9px minmax(0,1fr) 27px;align-items:start;gap:8px;padding:7px 0;border-bottom:1px solid #f1f5f9}.agent-action-list .agent-level-dot{margin-top:5px}.agent-action-list span{display:grid;gap:2px;font-size:12.5px;color:#374151}.agent-action-list small{color:#6b7280;font-size:11.5px;line-height:1.4}.agent-run-form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;padding:14px 19px}.agent-run-buttons{display:flex;flex-wrap:wrap;gap:8px}.agent-run-view{display:grid;gap:12px;padding:0 19px 16px}.agent-run-summary{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;padding:10px 12px;border-radius:6px;color:#4b5563;background:#f8fafc;font-size:12.5px}.agent-timeline{display:grid;gap:0;margin:0;padding:0;list-style:none}.agent-timeline>li{position:relative;display:grid;grid-template-columns:18px minmax(0,1fr);gap:10px;padding-bottom:12px}.agent-timeline>li:before{content:"";position:absolute;top:14px;bottom:0;left:6px;width:2px;background:#e5e7eb}.agent-timeline>li:last-child:before{display:none}.agent-timeline-dot{width:14px;height:14px;margin-top:2px;border:2px solid #fff;border-radius:50%;background:#94a3b8;box-shadow:0 0 0 1px #cbd5e1}.agent-timeline .kind-model .agent-timeline-dot{background:#6366f1}.agent-timeline .level-look-up .agent-timeline-dot{background:var(--look-up)}.agent-timeline .level-suggest .agent-timeline-dot{background:var(--suggest)}.agent-timeline .level-ask-first .agent-timeline-dot{background:var(--ask-first)}.agent-timeline .kind-error .agent-timeline-dot{background:var(--never)}.agent-timeline .kind-finish .agent-timeline-dot{background:#111827}.agent-timeline strong{color:#1f2937;font-size:12.5px}.agent-timeline p{margin:2px 0;color:#4b5563;font-size:13px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}.agent-timeline ul{margin:4px 0;padding-left:18px;color:#4b5563;font-size:12.5px}.agent-timeline small{color:#9ca3af;font-size:11px}.agent-suggestion{padding:6px 9px;border-left:3px solid var(--suggest);border-radius:4px;background:#eff6ff}.agent-final{padding:12px 14px;border:1px solid #e5e7eb;border-radius:8px;background:#fff}.agent-final h3{margin:0 0 6px;color:#1f2937;font-size:13.5px}.agent-final p,.agent-final ul{margin:0;color:#374151;font-size:13px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}.agent-final ul{padding-left:18px;white-space:normal}.agent-run-history{padding:0 19px 16px}.agent-run-history h3{margin:0 0 8px;color:#374151;font-size:13px}.agent-run-history ul{display:grid;gap:4px;margin:0;padding:0;list-style:none}.agent-run-history button{display:grid;grid-template-columns:150px minmax(90px,1fr) minmax(130px,1fr) auto;align-items:center;gap:10px;width:100%;padding:7px 10px;border:1px solid #eef0f3;border-radius:6px;color:#4b5563;background:#fff;font:inherit;font-size:12.5px;text-align:left;cursor:pointer}.agent-run-history button:hover,.agent-run-history button.selected{border-color:#93c5fd;background:#f8fbff}.agent-confirmations{display:grid}.agent-confirmations .agent-proposal{margin:12px 19px}.agent-proposal{display:grid;gap:8px;padding:13px 14px;border:1px solid #fde68a;border-left:4px solid var(--ask-first);border-radius:8px;background:#fffdf5}.agent-proposal.decided{border-color:#e5e7eb;border-left-color:#9ca3af;background:#fafafa}.agent-proposal-head{display:flex;align-items:flex-start;gap:9px}.agent-proposal-head .agent-level-dot{margin-top:5px}.agent-proposal-head div{display:grid;gap:2px;min-width:0}.agent-proposal-head strong{color:#1f2937;font-size:13.5px}.agent-proposal-head small{color:#6b7280;font-size:12px}.agent-proposal-head .status-badge{margin-left:auto;text-transform:capitalize}.agent-proposal ul{margin:0;padding-left:20px;color:#374151;font-size:12.5px;line-height:1.6;overflow-wrap:anywhere}.agent-proposal-note,.agent-proposal-skipped,.agent-proposal-result,.agent-inline-error{margin:0;font-size:12.5px;line-height:1.45}.agent-proposal-note{color:#374151;white-space:pre-wrap}.agent-proposal-skipped{color:#92400e}.agent-proposal-result{color:#166534}.agent-inline-error{color:#b91c1c}.agent-proposal-actions{display:flex;flex-wrap:wrap;gap:8px}.agent-palette-top{display:flex;justify-content:space-between;align-items:center;gap:8px}.agent-new-action{min-height:30px;padding:0 9px;font-size:12px}.agent-palette-item.custom{grid-template-columns:16px minmax(0,1fr) 22px 22px}.agent-palette-item>span{display:flex;flex-wrap:wrap;align-items:center;gap:4px 6px;min-width:0}.agent-custom-tag{padding:0 5px;border-radius:4px;color:#4338ca;background:#eef2ff;font-size:10px;font-weight:600;letter-spacing:.02em}.agent-palette-item button.agent-edit-action{color:#6b7280}.agent-restricted-tag{padding:0 5px;border-radius:4px;color:#991b1b;background:#fee2e2;font-size:10px;font-weight:600;letter-spacing:.02em}.agent-restricted-tag.unlocked{color:#92400e;background:#fef3c7}.agent-palette-item.locked{color:#9ca3af;background:#f9fafb;cursor:not-allowed}.agent-palette-item.restricted:not(.locked){border-left-style:double;border-left-width:4px}.agent-proposal-confirmer{display:flex;align-items:flex-start;gap:6px;margin:0;color:#1e3a8a;font-size:12.5px;line-height:1.45}.agent-proposal-confirmer svg{flex:0 0 13px;margin-top:2px}.agent-restricted-note{display:flex;gap:7px;align-items:flex-start;padding:9px 11px;border-radius:6px;color:#7c2d12;background:#fff7ed;font-size:12px;line-height:1.45}.agent-restricted-note svg{flex:0 0 13px;margin-top:2px}.agent-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:grid;place-items:center;padding:16px;background:#0f172a66}.agent-modal{display:grid;grid-template-rows:auto minmax(0,1fr) auto;width:min(720px,100%);max-height:calc(100vh - 32px);border-radius:10px;background:#fff;box-shadow:0 20px 50px #0f172a40}.agent-modal header,.agent-modal footer{display:flex;align-items:center;gap:8px;padding:14px 18px}.agent-modal header{justify-content:space-between;border-bottom:1px solid #e5e7eb}.agent-modal header h2{margin:0;color:#111827;font-size:16px}.agent-modal footer{justify-content:flex-end;border-top:1px solid #e5e7eb}.agent-modal footer .agent-delete-action{margin-right:auto;color:#b91c1c}.agent-modal-body{display:grid;align-content:start;gap:13px;overflow-y:auto;padding:16px 18px}.agent-modal textarea{width:100%;min-height:96px;padding:8px 9px;border:1px solid #d1d5db;border-radius:6px;color:#374151;font:inherit;font-size:13px;line-height:1.45;resize:vertical}.agent-type-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0;padding:0;border:0}.agent-type-picker legend{margin-bottom:6px;color:#6b7280;font-size:12px}.agent-type-picker label{display:grid;grid-template-columns:9px 16px minmax(0,1fr);align-items:start;gap:7px;padding:10px;border:1px solid #e5e7eb;border-radius:8px;cursor:pointer}.agent-type-picker label.selected{border-color:#2563eb;background:#eff6ff}.agent-type-picker label.disabled{opacity:.45;cursor:not-allowed}.agent-type-picker input{position:absolute;opacity:0;pointer-events:none}.agent-type-picker label:focus-within{outline:2px solid #2563eb;outline-offset:1px}.agent-type-picker .agent-level-dot{margin-top:4px}.agent-type-picker span:last-child{display:grid;gap:2px;color:#1f2937;font-size:13px}.agent-type-picker small{color:#6b7280;font-size:11.5px;line-height:1.35}.agent-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.agent-form-summary{grid-column:1 / -1;display:flex;gap:6px;align-items:flex-start;margin:0;padding:9px 11px;border-radius:6px;color:#14532d;background:#f0fdf4;font-size:12.5px}.agent-form-summary svg{flex:0 0 13px;margin-top:2px}.agent-placeholders{display:flex;flex-wrap:wrap;align-items:flex-start;gap:5px}.agent-placeholders button{padding:3px 7px;border:1px solid #d1d5db;border-radius:5px;color:#374151;background:#f9fafb;font-family:var(--mono);font-size:11.5px;cursor:pointer}.agent-placeholders button:hover{border-color:#2563eb;color:#1d4ed8}.agent-message-preview{display:grid;gap:3px;padding:10px 12px;border:1px dashed #cbd5e1;border-radius:8px;background:#f8fafc}.agent-message-preview small{color:#6b7280;font-size:11px}.agent-message-preview strong{color:#1f2937;font-size:13.5px}.agent-message-preview p{margin:0;color:#374151;font-size:13px;line-height:1.5;white-space:pre-wrap}.agent-user-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;max-height:190px;overflow-y:auto;margin:0;padding:10px;border:1px solid #e5e7eb;border-radius:8px}.agent-user-picker legend{padding:0 4px;color:#6b7280;font-size:12px}.agent-user-picker label{display:flex;align-items:flex-start;gap:7px;color:#374151;font-size:12.5px}.agent-user-picker span{display:grid}.agent-user-picker small{color:#6b7280;font-size:11px}.agent-usage{display:grid;gap:4px;padding:10px 12px;border-radius:8px;color:#374151;background:#fffbeb;font-size:12.5px}.agent-usage ul{margin:0;padding-left:18px}.agent-usage small{color:#92400e}.agent-canvas-column{container-type:inline-size}@media(max-width:1540px){.agent-workspace{grid-template-columns:205px minmax(0,1fr) 280px;gap:12px}}@media(max-width:1180px){.agent-workspace{grid-template-columns:205px minmax(0,1fr)}.agent-inspector{grid-column:1 / -1;position:static;max-height:none}}@container (max-width: 640px){.agent-run-form{grid-template-columns:minmax(0,1fr)}.agent-run-history button{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}@container (max-width: 700px){.agent-canvas{grid-template-columns:minmax(0,1fr);gap:0;padding:16px}.agent-connector{justify-self:center;width:2px;height:22px}.agent-connector:after{top:auto;right:-4px;bottom:-1px;border:5px solid transparent;border-top:7px solid #94a3b8;border-bottom:0}}@media(max-width:760px){.agent-workspace{grid-template-columns:minmax(0,1fr)}.agent-canvas-column{order:-1}.agent-palette{position:static;max-height:none}.agent-run-form{grid-template-columns:minmax(0,1fr)}.agent-run-history button{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.agent-toolbar-actions{margin-left:0}.agent-cards,.agent-templates{padding:12px;grid-template-columns:minmax(0,1fr)}.agent-type-picker,.agent-form-grid,.agent-user-picker{grid-template-columns:minmax(0,1fr)}.agent-modal-backdrop{padding:0;place-items:start stretch}.agent-modal{width:100%;height:100vh;max-height:100vh;border-radius:0}}.auth-supplier-door{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:18px;padding-top:16px;border-top:1px solid #e5e7eb;color:#4b5563;font-size:13px}.auth-switch{margin-top:14px}.supplier-mark{background:#0d9488}.supplier-auth{background:linear-gradient(160deg,#f0fdfa,#f8fafc 60%)}.user-account-type{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 14px;padding:0;border:0}.user-account-type legend{margin-bottom:6px;color:#6b7280;font-size:12px}.user-account-type label{display:grid;grid-template-columns:16px minmax(0,1fr);gap:8px;padding:10px 12px;border:1px solid #e5e7eb;border-radius:8px;cursor:pointer}.user-account-type label.selected{border-color:#2563eb;background:#eff6ff}.user-account-type span{display:grid;gap:2px;color:#1f2937;font-size:13px}.user-account-type small{color:#6b7280;font-size:11.5px}.user-supplier-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px;color:#374151;font-size:13px}.user-supplier-row .status-badge{color:#115e59;background:#ccfbf1}.supplier-portal{min-height:100vh;background:#f8fafc;color:#1f2937}.supplier-topbar{position:sticky;top:0;z-index:5;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:12px max(16px,calc((100vw - 1180px)/2));border-bottom:1px solid #e5e7eb;background:#fff}.supplier-brand,.supplier-account{display:flex;align-items:center;gap:10px}.supplier-brand .brand-mark{background:#0d9488}.supplier-brand strong{display:block;font-size:16px}.supplier-brand small{color:#0f766e;font-size:10.5px;font-weight:700;letter-spacing:.08em}.supplier-account>div{display:grid;text-align:right}.supplier-account strong{font-size:14px}.supplier-account small{color:#6b7280;font-size:12px}.supplier-main{display:grid;gap:16px;max-width:1180px;margin:0 auto;padding:24px 16px 48px}.supplier-heading{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px}.supplier-heading h1{margin:0 0 4px;font-size:26px}.supplier-heading p{margin:0;color:#6b7280;font-size:14px}.supplier-tabs{display:flex;gap:4px;padding:4px;border:1px solid #e5e7eb;border-radius:10px;background:#fff}.supplier-tabs button{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:0 14px;border:0;border-radius:7px;color:#4b5563;background:transparent;font:inherit;font-size:13px;font-weight:600;cursor:pointer}.supplier-tabs button.selected{color:#fff;background:#0d9488}.supplier-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.supplier-tile{display:grid;gap:4px;padding:14px 16px;border:1px solid #e5e7eb;border-left:4px solid #94a3b8;border-radius:10px;color:#4b5563;background:#fff;font:inherit;font-size:13px;text-align:left;cursor:pointer}.supplier-tile strong{color:#111827;font-size:26px;font-variant-numeric:tabular-nums}.supplier-tile.tone-open{border-left-color:#d97706}.supplier-tile.tone-returned{border-left-color:#dc2626}.supplier-tile.tone-approved{border-left-color:#2563eb}.supplier-tile.tone-paid{border-left-color:#16a34a}.supplier-tile.selected{box-shadow:0 0 0 3px #ccfbf1;border-color:#0d9488}.supplier-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:14px 16px;border-bottom:1px solid #eef0f3}.supplier-search{display:flex;flex:1 1 240px;align-items:center;gap:8px;height:36px;padding:0 10px;border:1px solid #d1d5db;border-radius:6px;color:#6b7280;background:#fff}.supplier-search input{flex:1;min-width:0;border:0;outline:none;color:#1f2937;font:inherit;font-size:13px}.supplier-toolbar select{height:36px;padding:0 28px 0 10px;border:1px solid #d1d5db;border-radius:6px;color:#374151;background:#fff var(--select-chevron) no-repeat right 9px center;font-size:13px;-webkit-appearance:none;-moz-appearance:none;appearance:none}.supplier-table tbody tr{cursor:pointer}.supplier-table tbody tr:hover,.supplier-table tbody tr.selected{background:#f0fdfa}.supplier-table td small{display:block;color:#6b7280;font-size:11.5px}.supplier-table .numeric{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.supplier-empty{display:grid;justify-items:center;gap:8px;padding:48px 16px;color:#6b7280;text-align:center;font-size:13px}.supplier-empty strong{color:#374151;font-size:15px}.supplier-empty.small{display:flex;padding:16px 0}.supplier-submit-body{display:grid;gap:16px;padding:18px 19px}.supplier-dropzone{display:grid;justify-items:center;gap:6px;padding:28px 16px;border:2px dashed #cbd5e1;border-radius:10px;color:#4b5563;background:#f8fafc;text-align:center;cursor:pointer}.supplier-dropzone strong{color:#1f2937}.supplier-dropzone span{font-size:12.5px}.supplier-dropzone.dragging,.supplier-dropzone:hover{border-color:#0d9488;background:#f0fdfa}.supplier-dropzone.has-file{border-style:solid;border-color:#0d9488;background:#f0fdfa;color:#115e59}.supplier-dropzone:focus-visible{outline:2px solid #0d9488;outline-offset:2px}.supplier-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 14px}.supplier-fields textarea{width:100%;min-height:64px;padding:8px 9px;border:1px solid #d1d5db;border-radius:6px;color:#374151;font:inherit;font-size:13px;resize:vertical}.supplier-note{grid-column:span 3}.supplier-submit-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.supplier-submit-actions .button.primary,.supplier-success .button.primary{background:#0d9488}.supplier-submit-actions small{color:#6b7280;font-size:12px}.supplier-success{display:grid;justify-items:center;gap:8px;padding:36px 20px;text-align:center}.supplier-success svg{color:#16a34a}.supplier-success h2{margin:0;font-size:18px}.supplier-success p{max-width:520px;margin:0;color:#4b5563;font-size:14px;line-height:1.5}.supplier-success-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:8px}.supplier-drawer-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;display:flex;justify-content:flex-end;background:#0f172a55}.supplier-drawer{display:grid;grid-template-rows:auto minmax(0,1fr);width:min(440px,100%);height:100%;background:#fff;box-shadow:-12px 0 40px #0f172a30}.supplier-drawer header{display:flex;justify-content:space-between;align-items:flex-start;padding:18px 20px;border-bottom:1px solid #e5e7eb}.supplier-drawer header small{color:#6b7280;font-size:12px}.supplier-drawer header h2{margin:2px 0 0;font-size:20px}.supplier-drawer-body{display:grid;align-content:start;gap:16px;overflow-y:auto;padding:18px 20px}.supplier-drawer-body>.status-badge,.supplier-drawer-body>.button{justify-self:start}.supplier-returned{display:flex;gap:8px;padding:10px 12px;border-radius:8px;color:#991b1b;background:#fef2f2;font-size:13px;line-height:1.45}.supplier-timeline{display:grid;margin:0;padding:0;list-style:none}.supplier-timeline li{position:relative;display:grid;grid-template-columns:22px minmax(0,1fr);gap:10px;padding-bottom:14px;color:#9ca3af}.supplier-timeline li:before{content:"";position:absolute;top:20px;bottom:0;left:10px;width:2px;background:#e5e7eb}.supplier-timeline li:last-child:before{display:none}.supplier-timeline li.done{color:#1f2937}.supplier-timeline li.done:before{background:#99f6e4}.supplier-timeline-dot{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;color:#9ca3af;background:#f3f4f6}.supplier-timeline li.done .supplier-timeline-dot{color:#fff;background:#0d9488}.supplier-timeline strong{display:block;font-size:13.5px}.supplier-timeline small{color:#6b7280;font-size:12px}.supplier-facts{display:grid;gap:8px;margin:0;font-size:13px}.supplier-facts div{display:grid;grid-template-columns:120px minmax(0,1fr);gap:10px}.supplier-facts dt{color:#6b7280}.supplier-facts dd{margin:0;overflow-wrap:anywhere}@media(max-width:760px){.supplier-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.supplier-fields{grid-template-columns:minmax(0,1fr)}.supplier-note{grid-column:auto}.supplier-account>div{display:none}.user-account-type{grid-template-columns:minmax(0,1fr)}}.po-view{display:grid;gap:14px;min-width:0}.po-heading-actions,.po-toolbar-actions{display:flex;flex-wrap:wrap;gap:8px}.po-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:12px 16px;border-bottom:1px solid #eef0f3}.po-filters{padding:0}.po-list-table tbody tr{cursor:pointer}.po-list-table tbody tr:hover{background:#f8fbff}.po-list-table td small{display:block;color:#6b7280;font-size:11.5px}.po-list-table .numeric,.po-grid .numeric{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.po-editor-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:11px 14px;border:1px solid #e5e7eb;border-radius:8px;background:#fff}.po-editor-toolbar h2{margin:0;color:#111827;font-size:17px}.po-toolbar-actions{margin-left:auto}.po-cancel{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px;padding:12px 14px;border:1px solid #fecaca;border-radius:8px;background:#fef2f2}.po-cancel .settings-field{flex:1 1 320px}.po-approval-steps{display:grid;gap:8px;margin:0;padding:4px 18px 16px;list-style:none}.po-step{display:flex;align-items:flex-start;gap:10px;padding:10px 12px;border:1px solid #e5e7eb;border-radius:8px;background:#fff}.po-step>div{display:grid;gap:2px}.po-step small{color:#6b7280;font-size:12px}.po-step-marker{flex:none;width:26px;height:26px;display:grid;place-items:center;border-radius:50%;color:#374151;background:#f3f4f6;font-size:12px;font-weight:700}.po-step.approved .po-step-marker{color:#065f46;background:#d1fae5}.po-step.rejected .po-step-marker{color:#991b1b;background:#fee2e2}.po-step.current{border-color:#93c5fd;background:#eff6ff}.po-step.current .po-step-marker{color:#1e3a8a;background:#dbeafe}.po-sap-failed>div{display:grid;gap:8px}.po-sap-actions{display:flex;flex-wrap:wrap;align-items:flex-end;gap:8px}.po-sap-actions>span{flex-basis:100%}.po-sap-actions .settings-field{flex:0 1 220px}.po-header-text{margin:0;padding:0 18px 14px;color:#374151;white-space:pre-wrap}.po-header{padding-bottom:6px}.po-header-top{display:grid;grid-template-columns:200px 180px minmax(200px,1fr) 170px;gap:12px;padding:16px 18px;border-bottom:1px solid #eef0f3;background:#f8fafc}.po-tabs{display:flex;flex-wrap:wrap;gap:2px;padding:10px 18px 0;border-bottom:1px solid #e5e7eb}.po-tabs button{padding:8px 14px;border:0;border-bottom:2px solid transparent;color:#4b5563;background:none;font:inherit;font-size:13px;font-weight:600;cursor:pointer}.po-tabs button.selected{border-bottom-color:#2563eb;color:#1d4ed8}.po-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 14px;padding:14px 18px 12px}.po-fields select,.po-header-top select{width:100%;height:34px;padding:0 28px 0 9px;border:1px solid #d1d5db;border-radius:4px;color:#374151;background:#fff var(--select-chevron) no-repeat right 9px center;font-size:13px;-webkit-appearance:none;-moz-appearance:none;appearance:none}.po-fields textarea{width:100%;min-height:80px;padding:8px 9px;border:1px solid #d1d5db;border-radius:6px;color:#374151;font:inherit;font-size:13px;resize:vertical}.po-wide{grid-column:1 / -1}.po-required>span:after{content:" *";color:#b91c1c}.po-check{align-self:end}.po-problems{display:grid;gap:4px;margin:0 18px 12px;padding:0;list-style:none;color:#991b1b;font-size:12.5px}.po-problems li{display:flex;gap:6px;align-items:center}.po-grid{width:100%;border-collapse:collapse;font-size:12.5px}.po-grid th{padding:7px 6px;border-bottom:1px solid #e5e7eb;color:#6b7280;background:#f8fafc;font-size:11.5px;font-weight:600;text-align:left;white-space:nowrap}.po-grid td{padding:4px 6px;border-bottom:1px solid #f1f5f9;vertical-align:middle}.po-grid tbody tr{cursor:pointer}.po-grid tbody tr.selected{background:#eff6ff}.po-grid tbody tr.has-problems td:first-child{box-shadow:inset 3px 0 #dc2626}.po-grid tbody tr.deleted td{color:#9ca3af;text-decoration:line-through}.po-grid input,.po-grid select{height:30px;padding:0 6px;border:1px solid #d1d5db;border-radius:4px;color:#1f2937;background:#fff;font:inherit;font-size:12.5px}.po-grid input:disabled,.po-grid select:disabled{border-color:transparent;background:transparent;color:inherit}.po-grid td.numeric input{text-align:right}.po-grid .w-xs{width:64px}.po-grid .w-sm{width:82px}.po-grid .w-md{width:112px}.po-grid .w-lg{width:190px}.po-grid .w-date{width:130px}.po-grid .po-value{min-width:104px;font-weight:600}.po-grid tfoot td{padding:10px 6px;border-top:2px solid #e5e7eb;color:#374151;font-size:13px;text-align:right}.po-item-detail .section-heading select{height:34px;padding:0 28px 0 9px;border:1px solid #d1d5db;border-radius:6px;background:#fff var(--select-chevron) no-repeat right 9px center;-webkit-appearance:none;-moz-appearance:none;appearance:none}.po-check-result{display:grid;gap:6px;padding:12px 14px}.sup-steps{display:flex;gap:0;margin:0;padding:0;list-style:none;counter-reset:step}.sup-steps li{flex:1 1 0;display:flex;align-items:center;gap:8px;min-width:0;padding:9px 14px;border:1px solid #e5e7eb;border-left-width:0;color:#6b7280;background:#fff;font-size:12.5px;font-weight:600}.sup-steps li:first-child{border-left-width:1px;border-radius:8px 0 0 8px}.sup-steps li:last-child{border-radius:0 8px 8px 0}.sup-steps li>span{flex:0 0 auto;display:inline-grid;place-items:center;width:20px;height:20px;border:1.5px solid #d1d5db;border-radius:50%;color:#fff;background:#fff}.sup-steps li.reached{color:#166534}.sup-steps li.reached>span{border-color:#16a34a;background:#16a34a}.sup-steps li.current{color:#1d4ed8;background:#eff6ff}.sup-steps li.current>span{border-color:#2563eb;background:#fff;box-shadow:inset 0 0 0 4px #2563eb}.sup-callout{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border:1px solid #dbeafe;border-radius:8px;color:#1e3a8a;background:#eff6ff;font-size:13px}.sup-callout>svg{flex:0 0 auto;margin-top:1px}.sup-callout>div{display:grid;gap:3px;min-width:0}.sup-callout strong{color:inherit;font-size:13.5px}.sup-callout span{color:#374151;line-height:1.45;overflow-wrap:anywhere}.sup-callout.success{border-color:#bbf7d0;color:#166534;background:#f0fdf4}.sup-callout.warning{border-color:#fde68a;color:#92400e;background:#fffbeb}.sup-callout.danger{border-color:#fecaca;color:#991b1b;background:#fef2f2}.sup-record{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px;margin-top:8px}.sup-record>span{flex:1 1 100%}.sup-record .settings-field{flex:0 1 240px}.sup-section .section-heading h2{display:flex;align-items:center;gap:7px}.sup-role{flex:0 0 auto;padding:3px 9px;border:1px solid #c7d2fe;border-radius:999px;color:#4338ca;background:#eef2ff;font-size:11.5px;font-weight:700;letter-spacing:.02em}.sup-field{align-content:start}.po-fields .sup-field select{height:var(--control-h)}.sup-field.has-problem input[aria-invalid=true],.sup-field.has-problem select[aria-invalid=true]{border-color:#f87171;box-shadow:0 0 0 3px #f8717124}.sup-field>span{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.sup-sap{color:#9ca3af;font-size:10.5px;font-weight:600;letter-spacing:.03em}.sup-field em{display:flex;align-items:flex-start;gap:4px;font-size:11.5px;font-style:normal;line-height:1.35}.sup-field em svg{flex:0 0 auto;margin-top:1px}.sup-problem{color:#b91c1c}.sup-warning{color:#b45309}.sup-hint{color:#6b7280}.sup-field.has-problem input,.sup-field.has-problem select{border-color:#f87171;background-color:snow}.sup-field select{width:100%;height:34px;padding:0 28px 0 9px;border:1px solid #d1d5db;border-radius:4px;color:#374151;background:#fff var(--select-chevron) no-repeat right 9px center;font-size:13px;-webkit-appearance:none;-moz-appearance:none;appearance:none}.sup-bank-hidden{display:flex;gap:8px;align-items:center;margin:0;padding:16px 18px;color:#374151;font-size:13px}.sup-bank-hidden svg{color:#16a34a}.sup-payload summary{padding:12px 16px;color:#374151;font-size:13px;font-weight:600;cursor:pointer}.sup-payload pre{max-height:360px;margin:0;padding:12px 16px;overflow:auto;border-top:1px solid #e5e7eb;color:#1f2937;background:#f8fafc;font-size:12px}.sup-meta{margin:0;color:#6b7280;font-size:12px}@media(max-width:760px){.sup-steps li{padding:8px;font-size:11.5px}.sup-steps li>span{display:none}.sup-section .section-heading{align-items:flex-start}}@media(max-width:1100px){.po-header-top{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.po-header-top,.po-fields{grid-template-columns:minmax(0,1fr)}.po-toolbar-actions{margin-left:0}}.sapdata-view{display:grid;gap:16px;min-width:0}.sapdata-view>.text-action{justify-self:start}.sapdata-stats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.sapdata-stat{display:grid;align-content:start;gap:4px;min-width:0;padding:14px 16px;border:1px solid #e5e7eb;border-radius:10px;background:#fff}.sapdata-stat span{color:#6b7280;font-size:12px;font-weight:600;letter-spacing:.02em}.sapdata-stat strong{color:#111827;font-size:22px;font-weight:700;line-height:1.2;font-variant-numeric:tabular-nums}.sapdata-stat strong.small{font-size:14px;font-weight:600;line-height:1.5}.sapdata-stat small{color:#6b7280;font-size:11.5px}.sapdata-filters{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px 12px;padding:0 18px 14px}.sapdata-filters>label:not(.supplier-search){display:grid;gap:4px;color:#4b5563;font-size:12px;font-weight:600}.sapdata-filters>label:not(.supplier-search) input,.sapdata-filters select{height:36px;min-width:120px;padding:0 10px;border:1px solid #d1d5db;border-radius:7px;color:#111827;background:#fff;font:inherit;font-size:13px;font-weight:400}.sapdata-filters select{padding-right:28px;background:#fff var(--select-chevron) no-repeat right 9px center;-webkit-appearance:none;-moz-appearance:none;appearance:none}.sapdata-filters>label:not(.supplier-search){flex:1 1 130px}.sapdata-filters>label:not(.supplier-search) input,.sapdata-filters select{width:100%;min-width:0}.sapdata-filters .text-action{height:36px}.sapdata-search{position:relative;flex:1 1 100%;height:38px}.sapdata-clear{display:grid;place-items:center;width:24px;height:24px;border:0;border-radius:50%;color:#6b7280;background:transparent;cursor:pointer}.sapdata-clear:hover{color:#111827;background:#f3f4f6}.sapdata-totals{display:flex;flex-wrap:wrap;gap:6px 22px;padding:10px 18px;border-top:1px solid #eef0f3;border-bottom:1px solid #eef0f3;color:#4b5563;background:#fafafa;font-size:13px}.sapdata-totals strong{color:#111827;font-variant-numeric:tabular-nums}.sapdata-table td{vertical-align:top}.sapdata-table td small{display:block;margin-top:2px;color:#6b7280;font-size:11.5px;font-weight:400}.sapdata-table tbody tr[tabindex]{cursor:pointer}.sapdata-table tbody tr[tabindex]:hover td{background:#f8fafc}.sapdata-table tbody tr[tabindex]:focus-visible{outline:2px solid #2563eb;outline-offset:-2px}.sapdata-table .numeric{font-variant-numeric:tabular-nums;white-space:nowrap}.sapdata-muted{color:#6b7280;font-size:12.5px;white-space:nowrap}.sapdata-deleted td{color:#9ca3af;text-decoration:line-through}.sapdata-deleted td small{text-decoration:none}.sapdata-good{color:#047857;font-weight:600}.sapdata-pager{display:flex;align-items:center;justify-content:center;gap:14px;padding:14px;color:#4b5563;font-size:13px}.sapdata-chip{display:inline-block;margin-left:6px;padding:1px 8px;border-radius:999px;color:#1d4ed8;background:#dbeafe;font-size:12px;font-weight:600;vertical-align:middle}.sapdata-facts{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:1px;margin:0 18px 16px;overflow:hidden;border:1px solid #e5e7eb;border-radius:10px;background:#fff}.sapdata-facts>div{padding:10px 14px;background:#fff;box-shadow:0 0 0 1px #e5e7eb}.sapdata-facts dt,.sapdata-allfields dt{color:#6b7280;font-size:11.5px;font-weight:600}.sapdata-facts dd{margin:3px 0 0;color:#111827;font-size:14px;font-weight:500;overflow-wrap:anywhere}.sapdata-fact-total{background:#f8fafc!important}.sapdata-fact-total dd{font-weight:700;font-variant-numeric:tabular-nums}.sapdata-tabs{display:flex;gap:4px;padding:0 18px;overflow-x:auto;border-bottom:1px solid #e5e7eb;scrollbar-width:none}.sapdata-tabs button{display:inline-flex;align-items:center;gap:6px;padding:10px 10px 11px;border:0;border-bottom:2px solid transparent;color:#4b5563;background:none;font:inherit;font-size:13.5px;font-weight:500;white-space:nowrap;cursor:pointer}.sapdata-tabs button:hover{color:#111827}.sapdata-tabs button.selected{border-bottom-color:#2563eb;color:#1d4ed8;font-weight:600}.sapdata-tabs button span{min-width:20px;padding:0 6px;border-radius:999px;color:#374151;background:#f1f5f9;font-size:11.5px;font-weight:600;line-height:18px;text-align:center}.sapdata-tabs button.selected span{color:#1d4ed8;background:#dbeafe}.sapdata-empty{padding:28px 18px}.sapdata-allfields{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px 20px;margin:0;padding:16px 18px}.sapdata-allfields dd{margin:2px 0 0;color:#111827;font-size:13.5px;overflow-wrap:anywhere}@media(max-width:1280px){.sapdata-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:640px){.sapdata-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.sapdata-filters{padding:0 12px 12px}.sapdata-filters>label:not(.supplier-search){flex:1 1 140px}.sapdata-filters>label:not(.supplier-search) input,.sapdata-filters select{width:100%;min-width:0}.sapdata-facts{margin:0 12px 14px}.sapdata-tabs{padding:0 12px}}.field-warning{color:#b45309!important;font-weight:600}.guide-walkthrough{grid-column:1 / -1}.wt-player{display:grid;gap:8px;padding:0 18px 14px;outline:none}.wt-player:focus-visible{box-shadow:inset 0 0 0 2px #2563eb;border-radius:8px}.wt-stage{position:relative;min-height:430px;display:grid;place-items:center;overflow:hidden;padding:22px 22px 70px;border-radius:10px;background:linear-gradient(135deg,#0f172a,#1e293b);cursor:pointer}.wt-big-play{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;color:#fff;background:#0f172a55;pointer-events:none}.wt-big-play svg{width:74px;height:74px;padding:20px;border-radius:50%;background:#2563eb;box-shadow:0 8px 30px #0008}.wt-caption{position:absolute;right:16px;bottom:14px;left:16px;margin:0;padding:8px 14px;border-radius:6px;color:#fff;background:#000000c4;font-size:15px;line-height:1.45;text-align:center}.wt-frame{position:relative;width:min(760px,100%);overflow:hidden;border-radius:10px;color:#111827;background:#f8fafc;box-shadow:0 18px 50px #0007;cursor:default}.wt-frame-bar{display:flex;align-items:center;gap:10px;padding:8px 12px;border-bottom:1px solid #e5e7eb;color:#6b7280;background:#fff;font-size:12px}.wt-frame-bar>span:last-child{margin-left:auto}.wt-frame-title{display:inline-flex;align-items:center;gap:6px;color:#111827;font-weight:600}.wt-dots{display:inline-flex;gap:5px}.wt-dots i{width:9px;height:9px;border-radius:50%;background:#e5e7eb}.wt-frame-body{position:relative;min-height:270px;display:grid;align-content:start;gap:10px;padding:16px;font-size:13px}.wt-appear{opacity:0;transform:translateY(8px);transition:opacity .45s ease,transform .45s ease}.wt-appear.in{opacity:1;transform:none}.wt-clock{position:absolute;top:10px;right:12px;display:inline-flex;align-items:center;gap:5px;padding:3px 9px;border-radius:999px;color:#1e3a8a;background:#dbeafe;font-size:12px;font-weight:700;font-variant-numeric:tabular-nums}.wt-card{display:grid;gap:10px;padding:14px;border:1px solid #e5e7eb;border-radius:8px;background:#fff}.wt-card header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.wt-card h4{margin:0;font-size:15px}.wt-card header p{margin:2px 0 0;color:#6b7280;font-size:12.5px}.wt-card dl{display:grid;gap:6px;margin:0}.wt-card dl div{display:grid;grid-template-columns:90px 1fr;gap:8px}.wt-card dt{color:#6b7280}.wt-card dd{margin:0}.wt-highlight{padding:1px 6px;border-radius:4px;background:#fef3c7;transition:background .4s}.wt-badge{padding:1px 8px;border-radius:999px;font-size:11px;font-weight:700;white-space:nowrap}.wt-badge.green{color:#065f46;background:#d1fae5}.wt-badge.amber{color:#92400e;background:#fef3c7}.wt-badge.violet{margin-left:6px;color:#5b21b6;background:#ede9fe}.wt-badge.red{color:#991b1b;background:#fee2e2}.wt-timeline{display:grid;grid-template-columns:repeat(9,1fr);gap:4px;padding-top:4px}.wt-timeline span{display:grid;justify-items:center;gap:4px;color:#9ca3af;font-size:10.5px;font-variant-numeric:tabular-nums;transition:color .3s}.wt-timeline i{width:100%;height:6px;border-radius:3px;background:#e5e7eb;transition:background .3s}.wt-timeline span.on{color:#1e3a8a}.wt-timeline span.on i{background:#2563eb}.wt-log{display:grid;gap:6px;margin:0;padding:0;list-style:none}.wt-step{display:flex;align-items:flex-start;gap:10px;padding:8px 10px;border:1px solid #e5e7eb;border-radius:8px;background:#fff}.wt-step-icon{flex:none;width:26px;height:26px;display:grid;place-items:center;border-radius:50%;color:#065f46;background:#d1fae5}.wt-step.active .wt-step-icon{color:#1e3a8a;background:#dbeafe;animation:wt-pulse 1s infinite}.wt-step strong{display:block;font-size:13px}.wt-step small{color:#6b7280;font-size:12px}@keyframes wt-pulse{50%{box-shadow:0 0 0 5px #93c5fd66}}.wt-inbox-row{display:flex;align-items:flex-start;gap:10px;padding:12px;border:1px solid #e5e7eb;border-left:3px solid #2563eb;border-radius:8px;background:#fff}.wt-inbox-row p{margin:4px 0 0;color:#4b5563;line-height:1.5}.wt-inbox-row time{margin-left:auto;color:#6b7280;font-size:11.5px}.wt-next-run{display:inline-flex;align-items:center;gap:6px;justify-self:start;padding:6px 10px;border-radius:999px;color:#1e3a8a;background:#eff6ff;font-size:12.5px}.wt-chat{display:grid;gap:10px}.wt-bubble-row{display:flex;align-items:flex-start;gap:8px}.wt-bubble-row.mine{justify-content:flex-end}.wt-bubble-row>div{max-width:78%;display:grid;gap:3px}.wt-avatar{flex:none;width:28px;height:28px;display:grid;place-items:center;border-radius:50%;color:#1e3a8a;background:#dbeafe;font-size:12px;font-weight:700}.wt-avatar.agent{color:#5b21b6;background:#ede9fe}.wt-who{color:#374151;font-size:12px;font-weight:600}.wt-bubble{padding:8px 12px;border-radius:12px;background:#e5e7eb;line-height:1.5}.wt-bubble-row.mine .wt-bubble{color:#fff;background:#2563eb}.wt-bubble-row.agent .wt-bubble{border:1px solid #e9e5fb;background:#faf8ff}.wt-mention{padding:0 3px;border-radius:3px;color:#fff;background:#fff3;font-weight:600}.wt-typing{display:inline-flex;gap:4px;padding:3px 0}.wt-typing i{width:7px;height:7px;border-radius:50%;background:#8b5cf6;animation:chat-typing 1.2s infinite ease-in-out}.wt-typing i:nth-child(2){animation-delay:.15s}.wt-typing i:nth-child(3){animation-delay:.3s}.wt-composer{display:flex;align-items:center;justify-content:space-between;min-height:36px;margin-top:auto;padding:6px 12px;border:1px solid #d1d5db;border-radius:8px;color:#6b7280;background:#fff}.wt-note{display:inline-flex;align-items:center;gap:6px;justify-self:start;margin:0;padding:4px 10px;border-radius:999px;color:#4c1d95;background:#f5f3ff;font-size:12px}.wt-proposal{display:grid;gap:8px;padding:12px 14px;border:1px solid #fde68a;border-radius:8px;background:#fff;transition:border-color .3s,background .3s}.wt-proposal.done{border-color:#a7f3d0;background:#f0fdf4}.wt-proposal header{display:flex;align-items:center;gap:8px}.wt-proposal header strong{flex:1;font-size:13.5px}.wt-proposal ul{display:grid;gap:4px;margin:0;padding-left:18px;color:#374151;line-height:1.45}.wt-proposal li.flag{color:#92400e;font-weight:600}.wt-confirmer{display:flex;align-items:center;gap:6px;margin:0;color:#6b7280;font-size:12px}.wt-warning{display:flex;align-items:flex-start;gap:6px;margin:0;padding:7px 10px;border:1px solid #fcd34d;border-radius:6px;color:#78350f;background:#fffbeb;font-size:12.5px;font-weight:600}.wt-proposal-actions{display:flex;gap:8px}.wt-button{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border:1px solid #d1d5db;border-radius:6px;background:#fff;font-size:12.5px;font-weight:600;transition:transform .15s,box-shadow .15s}.wt-button.primary{border-color:#2563eb;color:#fff;background:#2563eb}.wt-button.pressed{transform:scale(.94);box-shadow:0 0 0 4px #93c5fd}.wt-result{display:flex;align-items:flex-start;gap:7px;margin:0;padding:9px 12px;border-radius:8px;color:#065f46;background:#ecfdf5;line-height:1.45}.wt-meter{height:14px;overflow:hidden;border-radius:7px;background:#dbeafe}.wt-meter i{display:block;height:100%;border-radius:7px;background:#2563eb;transition:background .3s}.wt-meter i.full{background:#d03b3b}.wt-meter-label{margin:0;color:#374151;font-variant-numeric:tabular-nums}.wt-table{width:100%;border-collapse:collapse;border:1px solid #e5e7eb;border-radius:8px;background:#fff;font-size:12.5px}.wt-table th,.wt-table td{padding:7px 10px;border-bottom:1px solid #eef0f3;text-align:left}.wt-table th{color:#6b7280;font-weight:600}.wt-row{opacity:0;transition:opacity .45s}.wt-row.in{opacity:1}.wt-tagline{margin:6px 0 0;color:#1e3a8a;font-size:17px;font-weight:700;text-align:center}.wt-progress{display:flex;gap:3px;height:8px}.wt-progress button{position:relative;overflow:hidden;min-width:6px;padding:0;border:0;border-radius:3px;background:#e5e7eb;cursor:pointer}.wt-progress button.done{background:#93c5fd}.wt-progress button i{position:absolute;inset:0 auto 0 0;background:#2563eb}.wt-progress button:focus-visible{outline:2px solid #2563eb;outline-offset:2px}.wt-controls{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.wt-play{min-width:96px;justify-content:center}.wt-time{margin-right:auto;margin-left:6px;color:#6b7280;font-size:12px;font-variant-numeric:tabular-nums}.wt-chapters{display:flex;flex-wrap:wrap;gap:6px;padding:0 18px 16px}.wt-chapters button{display:inline-flex;align-items:center;gap:8px;padding:6px 12px;border:1px solid #e5e7eb;border-radius:999px;color:#374151;background:#fff;font:inherit;font-size:12.5px;cursor:pointer}.wt-chapters button:hover{background:#f3f4f6}.wt-chapters button.active{border-color:#bfdbfe;color:#1e3a8a;background:#eff6ff}@media(prefers-reduced-motion:reduce){.wt-appear,.wt-row,.wt-timeline i,.wt-meter i,.wt-button{transition:none}.wt-step.active .wt-step-icon,.wt-typing i{animation:none}}@media(max-width:640px){.wt-player{padding:0 12px 12px}.wt-stage{min-height:380px;padding:12px 10px 86px}.wt-caption{font-size:13px}.wt-frame-body{padding:12px;font-size:12.5px}.wt-card dl div{grid-template-columns:1fr;gap:0}.wt-time{flex-basis:100%;order:9;margin:0}.wt-chapters{padding:0 12px 14px}}.chat-panel{position:relative;display:grid;grid-template-columns:minmax(250px,320px) minmax(0,1fr);height:calc(100vh - 170px);min-height:520px;overflow:hidden;border:1px solid #e5e7eb;border-radius:10px;background:#fff;box-shadow:0 1px 3px #1118270b}.chat-sidebar{display:flex;flex-direction:column;min-width:0;min-height:0;border-right:1px solid #e5e7eb;background:#fafafa}.chat-sidebar-head{display:grid;gap:8px;padding:12px;border-bottom:1px solid #e5e7eb}.chat-search{max-width:none;margin-left:0;flex:none;background:#fff}.chat-new{justify-content:center}.chat-list{flex:1;overflow-y:auto;margin:0;padding:6px;list-style:none}.chat-list-item{width:100%;display:flex;align-items:center;gap:10px;padding:9px 10px;border:0;border-radius:8px;color:#374151;background:none;font:inherit;text-align:left;cursor:pointer}.chat-list-item:hover{background:#f1f5f9}.chat-list-item.selected{background:#e8f0fe}.chat-list-item:focus-visible{outline:2px solid #2563eb;outline-offset:-2px}.chat-list-main{min-width:0;flex:1;display:grid;gap:2px}.chat-list-title{display:flex;align-items:baseline;gap:6px}.chat-list-title strong{overflow:hidden;flex:1;color:#111827;font-size:13.5px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.chat-list-title time{color:#6b7280;font-size:11px;white-space:nowrap}.chat-list-preview{overflow:hidden;color:#6b7280;font-size:12.5px;text-overflow:ellipsis;white-space:nowrap}.chat-list-item.unread .chat-list-preview{color:#111827;font-weight:600}.chat-list-item .nav-count{margin-left:0}.chat-empty-list{display:grid;justify-items:center;gap:6px;padding:32px 16px;color:#6b7280;font-size:12.5px;text-align:center}.chat-empty-list strong{color:#374151;font-size:14px}.chat-avatar{flex:none;width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;color:#1e3a8a;background:#dbeafe;font-size:12px;font-weight:700}.chat-avatar.agent{color:#5b21b6;background:#ede9fe}.chat-avatar.group{color:#065f46;background:#d1fae5}.chat-main{display:flex;flex-direction:column;min-width:0;min-height:0}.chat-placeholder{margin:auto;display:grid;justify-items:center;gap:8px;max-width:380px;padding:24px;color:#6b7280;font-size:13px;text-align:center}.chat-placeholder strong{color:#111827;font-size:16px}.chat-thread-head{display:flex;align-items:center;gap:10px;padding:10px 16px;border-bottom:1px solid #e5e7eb}.chat-thread-title{min-width:0;flex:1}.chat-thread-title h2{overflow:hidden;margin:0;color:#111827;font-size:15px;text-overflow:ellipsis;white-space:nowrap}.chat-thread-title span{color:#6b7280;font-size:12px}.chat-back{display:none}.icon-action.active{color:#1d4ed8;background:#eff6ff}.chat-agent-note{display:flex;align-items:flex-start;gap:7px;padding:7px 16px;border-bottom:1px solid #ede9fe;color:#4c1d95;background:#f5f3ff;font-size:12px}.chat-agent-note svg{flex:none;margin-top:2px}.chat-thread{flex:1;overflow-y:auto;padding:14px 16px;background:#fff}.chat-older{display:flex;justify-content:center;margin-bottom:10px}.chat-thread-empty{margin:40px auto;max-width:360px;color:#6b7280;font-size:13px;text-align:center}.chat-day{position:relative;margin:14px 0 10px;text-align:center}.chat-day:before{content:"";position:absolute;top:50%;right:0;left:0;border-top:1px solid #eef0f3}.chat-day span{position:relative;padding:0 10px;color:#6b7280;background:#fff;font-size:11.5px;font-weight:600}.chat-system{margin:8px auto;max-width:80%;color:#6b7280;font-size:12px;text-align:center}.chat-message{display:flex;align-items:flex-start;gap:8px;margin-top:10px}.chat-message.grouped{margin-top:3px;padding-left:42px}.chat-message.mine{justify-content:flex-end}.chat-message.mine.grouped{padding-left:0}.chat-bubble-wrap{min-width:0;max-width:min(640px,78%);display:grid;gap:3px}.chat-message.mine .chat-bubble-wrap{justify-items:end}.chat-sender{display:flex;align-items:center;gap:6px;color:#374151;font-size:12px;font-weight:600}.chat-agent-badge{padding:0 6px;border-radius:999px;color:#5b21b6;background:#ede9fe;font-size:10.5px;font-weight:700;line-height:16px}.chat-bubble{padding:8px 12px;border-radius:12px;color:#111827;background:#f3f4f6;font-size:13.5px;line-height:1.5;overflow-wrap:anywhere;white-space:pre-wrap}.chat-message.mine .chat-bubble{color:#fff;background:#2563eb}.chat-message.from-agent .chat-bubble{border:1px solid #e9e5fb;background:#faf8ff}.chat-message.status-failed .chat-bubble{border-color:#fecaca;color:#7f1d1d;background:#fef2f2}.chat-message.status-awaiting_confirmation .chat-bubble{border-color:#fde68a;color:#78350f;background:#fffbeb}.chat-status-icon{margin-right:5px;vertical-align:-2px}.chat-time{color:#9ca3af;font-size:11px}.chat-mention{padding:0 2px;border-radius:3px;color:#5b21b6;background:#ede9fe;font-weight:600}.chat-message.mine .chat-mention{color:#fff;background:#fff3}.chat-typing{display:inline-flex;gap:4px;padding:4px 0}.chat-typing i{width:7px;height:7px;border-radius:50%;background:#8b5cf6;animation:chat-typing 1.2s infinite ease-in-out}.chat-typing i:nth-child(2){animation-delay:.15s}.chat-typing i:nth-child(3){animation-delay:.3s}@keyframes chat-typing{0%,80%,to{opacity:.3;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}@media(prefers-reduced-motion:reduce){.chat-typing i{animation:none;opacity:.7}}.chat-notices{display:grid;gap:6px;padding:8px 16px 0}.chat-composer{display:grid;gap:6px;padding:10px 16px 12px;border-top:1px solid #e5e7eb;background:#fafafa}.chat-composer-row{display:flex;align-items:flex-end;gap:8px}.chat-composer textarea{min-height:40px;max-height:160px;flex:1;padding:9px 12px;border:1px solid #d1d5db;border-radius:8px;background:#fff;font:inherit;font-size:13.5px;line-height:1.45;resize:vertical;field-sizing:content}.chat-composer textarea:focus{border-color:#2563eb;outline:none;box-shadow:var(--focus-ring)}.chat-composer-hint{color:#9ca3af;font-size:11px}.chat-mentions{display:flex;flex-wrap:wrap;gap:6px}.chat-mentions button{display:inline-flex;align-items:center;gap:4px;padding:3px 9px;border:1px solid #ddd6fe;border-radius:999px;color:#5b21b6;background:#f5f3ff;font:inherit;font-size:12px;cursor:pointer}.chat-mentions button:hover{background:#ede9fe}.chat-group-settings{display:grid;gap:12px;padding:12px 16px;border-bottom:1px solid #e5e7eb;background:#f9fafb}.chat-group-row{display:flex;flex-wrap:wrap;align-items:flex-end;gap:8px}.chat-group-row .settings-field{flex:1 1 220px}.chat-group-row select{min-width:200px;flex:1 1 200px}.chat-group-members{display:grid;gap:6px;font-size:13px}.chat-group-members ul{display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none}.chat-group-members li{display:inline-flex;align-items:center;gap:6px;padding:3px 10px 3px 3px;border:1px solid #e5e7eb;border-radius:999px;background:#fff;font-size:12.5px}.chat-group-members .chat-avatar{width:24px;height:24px;font-size:10px}.chat-group-footer{justify-content:space-between}.chat-dialog-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;display:grid;place-items:center;padding:16px;background:#0f172a66}.chat-dialog{width:min(520px,100%);max-height:min(680px,calc(100vh - 32px));display:flex;flex-direction:column;gap:10px;overflow:hidden;padding:0 0 14px;border-radius:12px;background:#fff;box-shadow:0 20px 50px #0f172a40}.chat-dialog>header{display:flex;align-items:center;justify-content:space-between;padding:14px 16px 0}.chat-dialog>header h2{margin:0;font-size:16px}.chat-dialog>:not(header):not(.inbox-tabs){margin:0 16px}.chat-dialog-note{margin:0;color:#6b7280;font-size:12.5px}.chat-pick-list{min-height:0;flex:1;overflow-y:auto;margin:0;padding:0;list-style:none}.chat-pick-list button,.chat-pick-list label{width:100%;display:flex;align-items:center;gap:10px;padding:8px;border:0;border-radius:8px;background:none;font:inherit;text-align:left;cursor:pointer}.chat-pick-list button:hover,.chat-pick-list label:hover,.chat-pick-list label.selected{background:#f1f5f9}.chat-pick-list span{min-width:0;display:grid}.chat-pick-list strong{color:#111827;font-size:13.5px}.chat-pick-list small{overflow:hidden;color:#6b7280;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.chat-pick-list li.chat-dialog-note{padding:12px 8px}.chat-pick-agents{display:flex;flex-wrap:wrap;gap:6px;padding:10px;border:1px solid #e5e7eb;border-radius:8px}.chat-pick-agents legend{padding:0 4px;color:#6b7280;font-size:12px}.chat-pick-agents label{display:inline-flex;align-items:center;gap:5px;padding:4px 10px;border:1px solid #ddd6fe;border-radius:999px;font-size:12.5px;cursor:pointer}.chat-pick-agents label.selected{border-color:#7c3aed;background:#f5f3ff}.chat-pick-agents small{width:100%;color:#6b7280;font-size:11.5px}.chat-dialog footer{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#6b7280;font-size:12.5px}@media(max-width:760px){.chat-panel{grid-template-columns:minmax(0,1fr);height:calc(100vh - 140px)}.chat-panel.has-active .chat-sidebar{display:none}.chat-panel:not(.has-active) .chat-main{display:none}.chat-back{display:inline-flex}.chat-thread,.chat-composer,.chat-thread-head{padding-right:12px;padding-left:12px}.chat-bubble-wrap{max-width:86%}.chat-composer-row .button span{display:none}}.viz-root{--viz-surface: #ffffff;--viz-1: #2a78d6;--viz-2: #eb6834;--viz-3: #1baf7a;--viz-4: #eda100;--viz-ink: #0b0b0b;--viz-ink-2: #52514e;--viz-muted: #898781;--viz-grid: #e1e0d9;--viz-axis: #c3c2b7;display:grid;gap:10px;min-width:0;padding:14px 18px 16px;color:var(--viz-ink);font-family:var(--font-sans)}.viz-plot{position:relative;min-width:0}.viz-plot svg{display:block;overflow:visible}.viz-grid{stroke:var(--viz-grid);stroke-width:1;shape-rendering:crispEdges}.viz-baseline{stroke:var(--viz-axis);stroke-width:1;shape-rendering:crispEdges}.viz-crosshair{stroke:var(--viz-axis);stroke-width:1}.viz-axis-text{fill:var(--viz-muted);font-size:11px;font-variant-numeric:tabular-nums}.viz-value-text{fill:var(--viz-ink-2);font-size:11px;font-weight:600;font-variant-numeric:tabular-nums}.viz-line{fill:none;stroke-width:2;stroke-linejoin:round;stroke-linecap:round}.viz-marker{stroke:var(--viz-surface);stroke-width:2}.viz-hover-band{fill:#0b0b0b;opacity:.04}.viz-hit{fill:transparent;outline:none;cursor:default}.viz-hit:focus-visible{stroke:#2563eb;stroke-width:2}.viz-legend{display:flex;flex-wrap:wrap;gap:6px 16px;color:var(--viz-ink-2);font-size:12px}.viz-legend span{display:inline-flex;align-items:center;gap:6px}.viz-legend i{width:10px;height:10px;border-radius:3px}.viz-legend i.line{width:14px;height:2px;border-radius:1px}.viz-tooltip{position:absolute;z-index:5;min-width:150px;max-width:260px;display:grid;gap:4px;padding:8px 10px;border:1px solid rgba(11,11,11,.1);border-radius:6px;color:var(--viz-ink);background:#fff;box-shadow:0 4px 14px #1118271f;font-size:12px;pointer-events:none;transform:translate(-50%,-100%)}.viz-tooltip.below{transform:translate(-50%)}.viz-tooltip strong{font-size:12px;font-weight:600;overflow-wrap:anywhere}.viz-tooltip small{color:var(--viz-ink-2);font-size:11px}.viz-tooltip-row{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:6px;color:var(--viz-ink-2)}.viz-tooltip-row i{width:8px;height:8px;border-radius:2px}.viz-tooltip-row b{color:var(--viz-ink);font-weight:600;font-variant-numeric:tabular-nums}.viz-barlist{display:grid;gap:6px;margin:0;padding:0;list-style:none}.viz-barlist li{position:relative;display:grid;grid-template-columns:minmax(90px,34%) minmax(0,1fr) auto;align-items:center;gap:10px;min-height:26px;border-radius:4px;outline:none}.viz-barlist li:hover,.viz-barlist li:focus-visible{background:#0b0b0b0a}.viz-barlist-label{overflow:hidden;color:var(--viz-ink-2);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.viz-barlist-track{height:14px;display:flex;align-items:center}.viz-barlist-track i{height:14px;border-radius:0 4px 4px 0}.viz-barlist-value{min-width:54px;color:var(--viz-ink);font-size:12px;font-weight:600;font-variant-numeric:tabular-nums;text-align:right}.viz-barlist-tip{top:0;left:50%}.viz-barlist li:first-child .viz-barlist-tip,.viz-barlist li:nth-child(2) .viz-barlist-tip{top:28px;transform:translate(-50%)}.viz-segmented{height:28px;display:flex;gap:2px}.viz-segmented span{min-width:3px;display:flex;align-items:center;padding:0 8px;border-radius:4px;font-size:12px;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap;outline:none}.viz-segmented span:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #2563eb}.viz-segmented-empty{flex:1;background:var(--viz-grid)}.viz-legend-below{margin-top:2px}.viz-empty{margin:0;padding:28px 0;color:#6b7280;font-size:12px;text-align:center}.viz-table summary{width:fit-content;color:#4b5563;font-size:12px;cursor:pointer}.viz-table .table-scroll{margin-top:8px}.chart-panel-wide{grid-column:1 / -1}.chart-panel-controls{display:flex;flex-wrap:wrap;align-items:end;gap:10px}.scorecard-chart-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}@media(max-width:1100px){.scorecard-chart-grid{grid-template-columns:minmax(0,1fr)}}@media(max-width:640px){.viz-root{padding:12px 12px 14px}.viz-barlist li{grid-template-columns:minmax(70px,38%) minmax(0,1fr) auto;gap:8px}}.settings-field input[aria-invalid=true]{border-color:#f59e0b;box-shadow:0 0 0 3px #f59e0b26}
