:root{--color-primary: #5d2e7e;--color-primary-strong: #4b2366;--color-primary-light: #f3eef9;--color-surface: #ffffff;--color-surface-muted: #f6f7f9;--color-border: #d9dde3;--color-text: #1e2430;--color-text-muted: #5a6475;--space-2: 8px;--space-3: 12px;--space-4: 16px;--space-5: 20px}*{box-sizing:border-box}body{margin:0;font-family:Segoe UI,Helvetica Neue,Arial,sans-serif;background:var(--color-surface-muted);color:var(--color-text)}.authStatusPage{min-height:100vh;display:grid;place-content:center;justify-items:start;gap:var(--space-3);padding:var(--space-5)}.authStatusPage h1{margin:0;color:var(--color-primary-strong)}.authStatusPage p{margin:0;max-width:640px;color:var(--color-text-muted)}.page{padding:var(--space-5)}.brandBar{display:flex;align-items:center;justify-content:space-between;margin-bottom:var(--space-4)}.brandLogo{height:42px;width:auto;display:block}.brandRight{display:flex;align-items:center;gap:var(--space-3)}.currentUserName{color:var(--color-text-muted);font-size:14px;font-weight:600}.header{display:flex;justify-content:space-between;align-items:center;margin-bottom:var(--space-4)}h1{margin:0;color:var(--color-primary-strong)}.actions{display:flex;gap:var(--space-2)}.actionsWrap{display:flex;flex-direction:column;align-items:flex-end;gap:6px}.exportProgress{margin:0;font-size:12px;color:var(--color-text-muted);display:inline-flex;align-items:center;gap:8px}.spinner{width:14px;height:14px;border:2px solid rgba(93,46,126,.25);border-top-color:var(--color-primary);border-radius:50%;animation:spin .85s linear infinite}.spinnerLarge{width:42px;height:42px;border-width:4px}@keyframes spin{to{transform:rotate(360deg)}}button{border:0;background:var(--color-primary);color:#fff;padding:10px 14px;border-radius:4px;cursor:pointer}button:disabled{opacity:.6;cursor:not-allowed}.secondaryButton{background:var(--color-surface);color:var(--color-text);border:1px solid var(--color-border)}.settingsIcon{width:36px;height:36px;border-radius:999px;padding:8px;display:grid;place-items:center}.settingsIcon svg{width:18px;height:18px;fill:#fff}.filters{display:grid;grid-template-columns:repeat(5,minmax(150px,1fr));gap:var(--space-3);background:var(--color-surface);border:1px solid var(--color-border);border-radius:8px;padding:var(--space-4)}.dateFilterGroup{display:grid;grid-template-columns:repeat(2,minmax(140px,1fr));gap:var(--space-3);grid-column:span 2}label{display:flex;flex-direction:column;gap:6px;font-size:13px;color:var(--color-text-muted)}input,select{height:36px;border-radius:4px;border:1px solid var(--color-border);padding:0 10px}.multiSelect{position:relative}.multiSelectTrigger{width:100%;height:36px;border:1px solid var(--color-border);border-radius:4px;background:var(--color-surface);color:var(--color-text);text-align:left;padding:0 10px}.multiSelectMenu{position:absolute;top:calc(100% + 4px);left:0;width:min(460px,72vw);max-height:340px;overflow:hidden;background:var(--color-surface);border:1px solid var(--color-border);border-radius:8px;box-shadow:0 8px 20px #1e243029;z-index:20;display:grid;grid-template-rows:auto 1fr auto}.multiSelectToolbar{padding:var(--space-2);border-bottom:1px solid var(--color-border);display:grid;gap:var(--space-2)}.multiSelectSearch{height:36px;border-radius:4px;border:1px solid var(--color-border);padding:0 10px}.multiSelectButtons{display:flex;gap:var(--space-2)}.multiSelectButtons .secondaryButton{padding:6px 10px}.multiSelectOptions{overflow:auto;padding:var(--space-2);display:grid;gap:4px}.multiSelectOptionsVirtualized{overflow:visible}.multiSelectOption{display:flex;flex-direction:row;align-items:center;gap:var(--space-2);color:var(--color-text)}.multiSelectOptionRow{padding-right:var(--space-2)}.multiSelectVirtualList{overflow-x:hidden!important}.multiSelectOption input{width:16px;height:16px}.multiSelectAliasIcon{display:inline-block;margin-left:4px;font-size:10px;line-height:1;color:var(--color-text-muted);cursor:default}.multiSelectEmpty{margin:0;color:var(--color-text-muted);font-size:13px}.multiSelectFooter{border-top:1px solid var(--color-border);padding:var(--space-2);color:var(--color-text-muted);font-size:12px}.tableWrap{margin-top:var(--space-4);overflow:auto;background:var(--color-surface);border:1px solid var(--color-border);border-radius:8px;position:relative}.transactionsTableWrap{max-height:clamp(340px,60vh,980px)}.reportTabs{margin-top:var(--space-4);display:inline-flex;border:1px solid var(--color-border);border-radius:10px;background:var(--color-surface);padding:4px;gap:4px}.reportTab{background:transparent;color:var(--color-text);border:0;padding:8px 14px;font-weight:600}.activeReportTab{background:var(--color-primary);color:#fff}.pnlWrap{margin-top:var(--space-4);display:grid;gap:var(--space-4)}.pnlKpiGrid{display:grid;grid-template-columns:repeat(5,minmax(180px,1fr));gap:var(--space-3)}.pnlCompareCard{background:var(--color-surface);border:1px solid var(--color-border);border-radius:10px;padding:var(--space-3) var(--space-4)}.pnlCompareLabel{max-width:320px}.pnlKpiCard{background:linear-gradient(165deg,#fff,#f6f2fb);border:1px solid #dfd2ea;border-radius:10px;padding:var(--space-4)}.pnlKpiCard h3{margin:0 0 var(--space-2);color:var(--color-text-muted);font-size:13px;font-weight:600}.pnlKpiCard p{margin:0;font-size:28px;font-weight:700;color:#2f1954}.pnlKpiCard small{display:block;margin-top:var(--space-2);color:var(--color-text-muted);font-weight:600}.pnlKpiCardEmphasis{background:linear-gradient(165deg,#5d2e7e,#3f1f56);border-color:#3f1f56}.pnlKpiCardEmphasis h3,.pnlKpiCardEmphasis p,.pnlKpiCardEmphasis small{color:#fff}.pnlChartsGrid{display:grid;grid-template-columns:1fr;gap:var(--space-3)}.pnlChartCard,.pnlTableCard{background:var(--color-surface);border:1px solid var(--color-border);border-radius:10px;padding:var(--space-4)}.pnlChartCard h3,.pnlTableCard h3{margin:0 0 var(--space-3);color:#2f1954}.pnlChartCardFullWidth{grid-column:1 / -1}.pnlTable th{position:static;background:#f1ebf8;color:#2f1954}.pnlTable td:last-child,.pnlTable th:last-child{text-align:right}.pnlAreaLabel{display:inline-flex;align-items:center;gap:8px}.pnlAreaDot{width:10px;height:10px;border-radius:999px;display:inline-block}.pnlToggleButton{min-width:30px;padding:4px 8px;font-weight:700}.pnlAccountRow td{background:#fbfcfe}.pnlAccountCell{padding-left:0}.pnlSummaryRow td{background:#f3eff8;font-weight:700;color:#2f1954;border-top:1px solid #ddd2ea}.pnlAccountButton{background:transparent;color:inherit;border:0;padding:0 0 0 28px;font:inherit;text-decoration:none;display:inline-flex;align-items:center;gap:6px;cursor:pointer}.pnlAccountButton:hover{color:#3f1f56}.pnlAccountButton:focus-visible{outline:2px solid #9d7bbb;outline-offset:3px;border-radius:4px}.pnlAccountIcon{width:14px;height:14px;flex:0 0 auto;opacity:.5}.pnlAccountButton:hover .pnlAccountIcon{opacity:.85}.pnlLoadingBox,.pnlEmpty{background:var(--color-surface);border:1px solid var(--color-border);border-radius:10px;padding:40px;text-align:center;color:var(--color-text-muted);font-weight:600}.tableWrapLoading{overflow:hidden}table{width:100%;border-collapse:collapse;font-size:13px}.tableLoading{filter:grayscale(1);opacity:.6}thead th{position:sticky;top:0;text-align:left;color:#fff;background:var(--color-primary);padding:10px;font-weight:600}.sortButton{all:unset;cursor:pointer;display:flex;align-items:center;gap:4px;width:100%;min-width:0}.sortButtonLabel{min-width:0}.sortIndicator{display:inline-flex;align-items:center;justify-content:center;flex:0 0 1.25em;width:1.25em;font-size:11px;line-height:1;opacity:.55}.sortIndicator.active{opacity:1}.sortButton:focus-visible{outline:2px solid #ffffff;outline-offset:2px;border-radius:2px}tbody td{padding:8px 10px;border-bottom:1px solid var(--color-border)}tbody tr:nth-child(2n){background:#fafbfd}.skeletonCell{display:block;height:12px;width:100%;border-radius:999px;background:linear-gradient(90deg,#dde2e8 20%,#f0f3f7,#dde2e8 70%);background-size:220% 100%;animation:skeletonShimmer 1.15s ease-in-out infinite}.tableLoadingOverlay{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;align-content:center;justify-items:center;gap:var(--space-2);background:#f6f7f980;color:var(--color-text-muted);font-weight:600;-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px)}@keyframes skeletonShimmer{0%{background-position:100% 50%}to{background-position:0 50%}}.error{color:#a12626;margin-top:var(--space-4)}.errorLink{color:inherit;text-decoration:underline;font-weight:600}.pager{margin-top:var(--space-3);display:flex;justify-content:space-between;align-items:center;gap:var(--space-3)}.pagerTop{margin-top:0;margin-bottom:var(--space-3)}.pagerInfo{display:flex;gap:var(--space-3);color:var(--color-text-muted);font-size:13px}.pagerControls{display:flex;align-items:flex-end;gap:var(--space-2)}.pagerControls label{min-width:140px}.footer{margin-top:var(--space-4);color:var(--color-text-muted);text-align:right}.settingsOverlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#141b2873;display:flex;justify-content:flex-end;z-index:1000}.modalOverlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#141b2873;display:grid;place-items:center;z-index:1100;padding:var(--space-4)}.modalPanel{width:min(1400px,100%);max-height:calc(100vh - 48px);overflow:auto;background:var(--color-surface);border:1px solid var(--color-border);border-radius:10px;padding:var(--space-4);box-shadow:0 24px 60px #141b284d}.modalHeader{display:flex;justify-content:space-between;align-items:flex-start;gap:var(--space-3)}.modalHeader h2{margin:0;color:#2f1954}.modalSubtitle{margin:6px 0 0;color:var(--color-text-muted);font-size:14px;font-weight:600}.modalHeaderActions{display:flex;gap:var(--space-2)}.pnlDrilldownMeta{margin:var(--space-3) 0 var(--space-2);color:var(--color-text-muted);font-size:13px}.pnlDrilldownLoading{min-height:220px;display:grid;place-content:center;justify-items:center;gap:var(--space-2);color:var(--color-text-muted);font-weight:600}.verificationImageActionCell{width:140px}.verificationImageActionButton{width:36px;height:36px;padding:8px;display:grid;place-items:center}.verificationImageActionButton svg{width:18px;height:18px;fill:currentColor}.verificationImagesModal{width:min(1200px,100%)}.verificationImagesContent{margin-top:var(--space-3);min-height:500px;display:grid;grid-template-columns:300px 1fr;gap:var(--space-3)}.verificationImagesSidebar{border:1px solid var(--color-border);border-radius:8px;background:#fbfcfe;padding:var(--space-2);overflow:auto;max-height:calc(100vh - 280px);display:flex;flex-direction:column;gap:8px}.verificationImageFile{width:100%;padding:8px 10px;font-size:13px;line-height:1.3;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.verificationImageFile.active{border-color:#5b3da6;box-shadow:0 0 0 2px #5b3da629}.verificationImagesPreview{border:1px solid var(--color-border);border-radius:8px;padding:var(--space-2);background:#fbfcfe;display:flex;flex-direction:column;gap:var(--space-2);min-height:0}.verificationImagePreview{width:100%;max-height:calc(100vh - 340px);object-fit:contain}.verificationImageFrame{width:100%;min-height:calc(100vh - 340px);border:1px solid var(--color-border);border-radius:6px;background:#fff}.verificationImagesLoading{min-height:220px;display:grid;place-content:center;justify-items:center;gap:var(--space-2);color:var(--color-text-muted);font-weight:600}.verificationImagesEmpty{color:var(--color-text-muted);font-size:14px;margin-top:var(--space-3)}.verificationImageOpenLink{align-self:flex-start;font-size:13px}.modalCloseButton{width:34px;height:34px;padding:0;display:grid;place-items:center;font-size:22px;line-height:1}.pnlDrilldownTableWrap{max-height:calc(100vh - 260px)}.settingsPanel{width:min(760px,100%);height:100%;overflow:auto;background:var(--color-surface);padding:var(--space-4);border-left:1px solid var(--color-border)}.settingsHeader{display:flex;align-items:center;justify-content:space-between}.settingsHeader h2{margin:0}.settingsCloseButton{width:36px;height:36px;padding:0;display:grid;place-items:center}.settingsCloseButton svg{width:16px;height:16px;fill:currentColor}.settingsSection{margin-top:var(--space-4);border:1px solid var(--color-border);border-radius:8px;padding:var(--space-4);background:#fbfcfe}.settingsSection h3{margin-top:0}.sectionHeaderRow{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);margin-bottom:var(--space-3)}.sectionHeaderRow h3{margin-bottom:0}.userList{display:grid;gap:var(--space-2)}.userRow{display:flex;justify-content:space-between;align-items:center;text-align:left;gap:var(--space-2)}.roleBadge{font-size:12px;font-weight:500;padding:2px 8px;border-radius:10px;background:var(--color-primary-light);color:var(--color-primary-strong);white-space:nowrap}.inlineCheckbox{display:flex;flex-direction:row;align-items:center;gap:var(--space-2);color:var(--color-text)}.advancedEditor{margin-top:var(--space-3);padding-top:var(--space-3);border-top:1px solid var(--color-border);display:grid;gap:var(--space-3)}.accessEditor{gap:var(--space-4)}.accessEditorRow{display:grid;gap:var(--space-2)}.accessEditorRow label{width:100%}.accessEditor .multiSelectMenu{width:min(640px,calc(100vw - 120px));max-height:420px}.accountScopesGrid{display:grid;gap:var(--space-3)}.accessHint{margin:0;font-size:13px;color:var(--color-text-muted)}.selectedItemsPreview{border:1px solid var(--color-border);border-radius:8px;background:#fbfcfe;padding:var(--space-2) var(--space-3)}.selectedItemsPreviewAccounts{margin-top:2px}.selectedItemsTitle{margin:0;font-size:12px;font-weight:600;color:var(--color-text-muted)}.selectedItemsChips{display:flex;flex-wrap:wrap;gap:6px;margin-top:var(--space-2)}.selectedItemChip{display:inline-flex;align-items:center;min-height:26px;padding:4px 10px;border-radius:999px;border:1px solid #d7c8e6;background:#f6f0fb;color:#3f1f56;font-size:12px;font-weight:600}.selectedItemChipAccount{border-color:#d5e0f0;background:#eef3fa;color:#24415f;font-weight:500}.selectedItemsEmpty{margin:var(--space-2) 0 0;font-size:12px;color:var(--color-text-muted)}.settingsActions{display:flex;gap:var(--space-2);margin-top:var(--space-3)}.settingsFooterActions{display:flex;justify-content:flex-end;margin-top:var(--space-4);padding-top:var(--space-3);border-top:1px solid var(--color-border)}.dangerButton{background:#b42318}.dangerButton:hover:not(:disabled){background:#912018}.wizardModal{width:calc(100vw - 24px);max-width:1800px;height:calc(100vh - 24px);max-height:calc(100vh - 24px);overflow:visible;display:flex;flex-direction:column;gap:var(--space-3)}.wizardSteps{display:flex;gap:var(--space-2);padding:var(--space-3) 0;border-bottom:1px solid var(--color-border)}.wizardStep{display:flex;align-items:center;gap:var(--space-2);flex:1;padding:var(--space-2);border-radius:6px;transition:background .15s}.wizardStepActive{background:var(--color-primary-light)}.wizardStepDone{opacity:.55}.wizardStepNumber{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;font-size:13px;font-weight:600;background:var(--color-border);color:var(--color-text);flex-shrink:0}.wizardStepActive .wizardStepNumber,.wizardStepDone .wizardStepNumber{background:var(--color-primary-strong);color:#fff}.wizardStepLabel{font-size:13px;font-weight:500;color:var(--color-text-muted)}.wizardStepActive .wizardStepLabel{color:var(--color-text);font-weight:600}.wizardContent{min-height:0;max-height:none;flex:1;overflow:auto;padding-bottom:var(--space-4)}.wizardModal .multiSelectMenu,.editUserModal .multiSelectMenu{width:min(640px,calc(100vw - 80px));max-height:360px}.wizardStepContent{display:grid;gap:var(--space-3);align-content:start}.wizardField input{width:100%}.wizardHint{margin:0;font-size:13px;color:var(--color-text-muted)}.wizardSummary{display:grid;grid-template-columns:auto 1fr;gap:var(--space-2) var(--space-4);margin:0}.wizardSummary dt{font-weight:600;color:var(--color-text-muted);font-size:13px}.wizardSummary dd{margin:0;font-size:14px;line-height:1.45;word-break:break-word}.wizardSummaryChips{display:flex;flex-wrap:wrap;gap:8px}.wizardSummaryCompanyChip{font-size:13px;min-height:28px;padding:4px 12px}.wizardSummaryTextMuted{color:var(--color-text-muted)}.wizardFooter{display:flex;justify-content:space-between;gap:var(--space-2);padding-top:var(--space-3);border-top:1px solid var(--color-border)}.wizardError{margin:0}.roleCards{border:none;padding:0;margin:0;display:grid;gap:var(--space-2)}.roleCards legend{font-weight:600;margin-bottom:var(--space-2);font-size:14px}.roleCard{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;gap:2px var(--space-2);align-items:start;padding:var(--space-3);border:2px solid var(--color-border);border-radius:8px;cursor:pointer;transition:border-color .15s,background .15s;color:var(--color-text)}.roleCard:hover{border-color:var(--color-primary-strong)}.roleCardSelected{border-color:var(--color-primary-strong);background:var(--color-primary-light)}.roleCard input[type=radio]{grid-row:1 / 3;width:16px;height:16px;margin-top:3px;padding:0}.roleCard strong{font-size:14px}.roleCard span{grid-column:2;font-size:13px;color:var(--color-text-muted)}.editUserModal{width:calc(100vw - 24px);max-width:1800px;height:calc(100vh - 24px);max-height:calc(100vh - 24px);overflow:visible;display:flex;flex-direction:column;gap:var(--space-3)}.editUserContent{display:grid;gap:var(--space-4);align-content:start;min-height:0;max-height:none;flex:1;overflow:auto;padding-bottom:var(--space-4)}.editUserAccess{margin-top:0;padding-top:0;border-top:none}.editUserFooter{display:flex;justify-content:space-between;align-items:center;gap:var(--space-2);padding-top:var(--space-3);border-top:1px solid var(--color-border)}.editUserFooterRight{display:flex;gap:var(--space-2)}.srOnly{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media (max-width: 1400px){.filters{grid-template-columns:repeat(4,minmax(170px,1fr))}.pnlKpiGrid{grid-template-columns:repeat(3,minmax(180px,1fr))}}@media (max-width: 1024px){.filters{grid-template-columns:repeat(3,minmax(160px,1fr))}}@media (max-width: 760px){.filters{grid-template-columns:repeat(2,minmax(140px,1fr))}.dateFilterGroup{grid-column:span 2}.modalHeader{flex-direction:column}.modalHeaderActions{width:100%;justify-content:flex-start}}@media (max-width: 520px){.filters{grid-template-columns:1fr}.dateFilterGroup{grid-template-columns:1fr;grid-column:span 1}}
