.portalShell,.portalAuthPage{--bg:#f6f8fb;--surface:#fff;--surface-soft:#f8fafc;--text:#172337;--muted:#596b7d;--line:#dce4eb;--line-strong:#b7c8d2;--accent:#087f8c;--accent-hover:#056875;--accent-soft:#eaf6f7;--portal-card-radius:16px;--portal-control-radius:10px;color:var(--text);background:var(--bg);-webkit-font-smoothing:antialiased;font-size:15px;line-height:1.5}.portalShell :is(button,input,select,textarea),.portalAuthPage :is(button,input,select,textarea){font:inherit}.portalShell :is(button,a,summary,input,select,textarea):focus-visible,.portalAuthPage :is(button,a,summary,input,select,textarea):focus-visible{outline:3px solid var(--accent);outline-offset:3px}.portalShell :is(button,a)>svg,.portalAuthPage :is(button,a)>svg{flex-shrink:0}.portalShell :is(button,a,label,p,h1,h2,h3,summary){overflow-wrap:anywhere}.portalShell [hidden],.portalAuthPage [hidden]{display:none!important}.portalShell{grid-template-columns:250px minmax(0,1fr)}.portalShell .portalSidebar{border-right:0;border-inline-end:1px solid var(--line);gap:24px;height:100dvh;padding:28px 16px 18px;overflow-y:auto}.portalShell .portalBrand{padding-inline:12px}.portalShell .portalBrand strong{letter-spacing:-.03em;font-size:22px}.portalShell .portalBrand span{color:var(--muted);font-size:12px}.portalShell .portalNav{gap:5px}.portalShell .portalNavLink{border-radius:var(--portal-control-radius);min-height:46px;color:var(--muted);gap:12px;padding:11px 12px;font-size:14px;font-weight:600;line-height:1.35}.portalShell .portalNavLink.isActive{color:var(--accent-hover);background:var(--accent-soft);font-weight:750}.portalShell .portalNavLink.isPrimary{background:var(--accent);color:#fff;border:0;margin-bottom:10px}.portalShell .portalNavLink:hover{color:var(--accent-hover);background:#f0f6f8}.portalShell .portalNavLink.isPrimary:hover{color:#fff;background:var(--accent-hover)}.portalShell .portalNavLink:focus-visible{outline-offset:-3px}.portalShell .portalIdentity{background:var(--surface-soft);border-radius:12px;padding:12px}.portalShell .portalIdentity :is(span,small){white-space:normal;overflow-wrap:anywhere}.portalShell .portalSignOut{border-radius:10px;min-height:44px}.portalShell .portalSignOut:hover{background:var(--danger-soft)}.portalShell .portalNavMoreSignOut{border-top:1px solid var(--line);grid-column:1/-1;padding-top:8px}.portalShell .portalNavMoreSignOut .portalSignOut{justify-content:flex-start;width:100%}.portalShell .portalNavMoreSignOut .portalSignOut span{display:inline}.portalShell .portalCompanySwitcher{gap:8px;min-width:0}.portalShell .portalCompanySwitcher>span{color:var(--muted);font-size:12px;font-weight:650}.portalShell .portalPage{width:min(1320px,100%);padding:36px clamp(20px,3vw,42px) 48px}.portalShell .portalPageHeader{flex-wrap:wrap;align-items:center;gap:20px;margin-bottom:28px}.portalShell .portalPageHeader>div:first-child{flex:260px}.portalShell .portalPageHeader h1{letter-spacing:-.025em;font-size:clamp(25px,2.6vw,34px);line-height:1.2}.portalShell .portalPageHeader p{color:var(--muted);letter-spacing:.02em;text-transform:none;margin-bottom:7px;font-size:12px;font-weight:650}.portalShell .portalPageHeader span{color:var(--muted);font-size:13px;line-height:1.5}.portalShell :is(.portalPanel,.portalTablePanel,.portalClientCard,.portalSettingsSection,.portalEmptyCard){border-color:var(--line);border-radius:var(--portal-card-radius);box-shadow:0 2px 5px #17233705}.portalShell :is(.portalPanel,.portalSettingsSection){padding:24px}.portalShell .portalPanelHeader{flex-wrap:wrap;gap:14px;margin-bottom:6px}.portalShell .portalPanelHeader>div{min-width:0}.portalShell .portalPanelHeader h2{letter-spacing:-.015em;font-size:18px;font-weight:700;line-height:1.4}.portalShell .portalPanelHeader>strong{background:var(--surface-soft);color:var(--muted);border-radius:8px;font-size:13px}.portalShell :is(.portalIconBox,.portalSmallIcon){color:var(--accent);background:var(--accent-soft);border-radius:11px}.portalShell .portalSectionGrid{gap:20px;margin-top:20px}.portalShell .portalMetrics{gap:14px}.portalShell .portalMetric{border-color:var(--line);border-radius:14px;flex-wrap:wrap;gap:12px;min-width:0;min-height:138px;padding:20px}.portalShell .portalMetric>div{flex:140px;min-width:0}.portalShell .portalMetric>span{border-radius:11px}.portalShell .portalMetric p{color:var(--muted);margin:1px 0 10px;line-height:1.45}.portalShell .portalMetric strong{color:var(--text);font-variant-numeric:tabular-nums;font-size:clamp(20px,1.9vw,27px);line-height:1.3}.portalShell :is(.portalPrimaryButton,.portalPrimaryLink,.portalSecondaryButton,.portalSecondaryLink,.portalCompactAction,.portalOpenButton,.portalInlineAction,.portalDangerButton,.portalCompactDangerButton),.portalAuthPage :is(.portalPrimaryButton,.portalPrimaryLink,.portalSecondaryButton,.portalSecondaryLink){border-radius:var(--portal-control-radius);white-space:normal;text-align:center;cursor:pointer;justify-content:center;align-items:center;gap:8px;max-width:100%;min-height:44px;padding:10px 15px;font-size:14px;font-weight:650;line-height:1.4;text-decoration:none;transition:background-color .15s,border-color .15s;display:inline-flex}.portalShell :is(.portalPrimaryButton,.portalPrimaryLink),.portalAuthPage :is(.portalPrimaryButton,.portalPrimaryLink){background:var(--accent);color:#fff;border:1px solid var(--accent)}.portalShell :is(.portalPrimaryButton,.portalPrimaryLink):hover,.portalAuthPage :is(.portalPrimaryButton,.portalPrimaryLink):hover{background:var(--accent-hover);border-color:var(--accent-hover)}.portalShell :is(.portalSecondaryButton,.portalSecondaryLink,.portalCompactAction,.portalOpenButton,.portalInlineAction),.portalAuthPage :is(.portalSecondaryButton,.portalSecondaryLink){color:var(--accent-hover);background:var(--surface);border:1px solid var(--line-strong)}.portalShell :is(.portalSecondaryButton,.portalSecondaryLink,.portalCompactAction,.portalOpenButton,.portalInlineAction):hover{background:var(--accent-soft);border-color:var(--accent)}.portalShell .portalInlineAction{width:fit-content;margin-top:6px}.portalShell .portalOpenButton{width:auto}.portalShell .portalOpenButton span{color:inherit;font:inherit;display:inline}.portalShell .portalBankOriginalActions{flex-wrap:wrap;align-items:center;gap:8px;min-width:0;max-width:100%;display:flex}.portalShell .portalBankOriginalActions>a{overflow-wrap:anywhere;flex:150px;min-width:0}.portalShell .portalBankOriginalActions svg{flex-shrink:0}.portalShell :is(.portalIconAction,.portalDangerText,.portalTextButton,.portalIconButton){border-radius:10px;min-width:44px;min-height:44px}.portalShell :is(button,input,select,textarea):disabled,.portalAuthPage :is(button,input,select,textarea):disabled{cursor:not-allowed;opacity:.65}.portalShell :is(.portalSuccess,.portalError,.portalInfo){border-radius:12px;padding:14px 16px;font-weight:500;line-height:1.6}.portalShell :is(.portalSuccess,.portalError,.portalInfo) a{text-underline-offset:3px;font-weight:700}.portalShell .portalMuted{color:var(--muted)!important}.portalShell :is(.portalStatusBadge,.portalCapabilityBadges span,.portalBankCandidateFacts>span){white-space:normal;box-shadow:none;border-radius:6px;padding:4px 8px;font-size:12px;font-weight:600;line-height:1.45}.portalShell .portalCapabilityBadges span{color:var(--muted);background:#f0f4f7;border:0}.portalShell input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]),.portalShell select,.portalShell textarea,.portalAuthPage input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.portalAuthPage select{border:1px solid var(--line-strong);border-radius:var(--portal-control-radius);background:var(--surface);min-width:0;max-width:100%;height:auto;min-height:46px;color:var(--text);padding:10px 12px;line-height:1.5}.portalShell select,.portalAuthPage select{padding-inline-end:34px}.portalShell textarea{resize:vertical}.portalShell input::placeholder,.portalShell textarea::placeholder,.portalAuthPage input::placeholder{color:#6a7a8d;opacity:1}.portalShell input:is([type=checkbox],[type=radio]),.portalAuthPage input:is([type=checkbox],[type=radio]){accent-color:var(--accent)}.portalShell :is(.portalSettingsGrid,.portalFormGrid,.portalDocumentEditForm){gap:20px}.portalShell :is(.portalSettingsGrid,.portalFormGrid,.portalDocumentEditForm,.portalFilterField)>label,.portalShell .portalFilterField>span{color:#43586d;font-size:13px;font-weight:600;line-height:1.5}.portalShell .portalPeriodFilter{box-shadow:none;border-color:var(--line);border-radius:12px;gap:10px;max-width:100%;padding:10px}.portalShell .portalPeriodFilter .portalFilterIcon{display:none}.portalShell .portalPeriodFilter label>span{color:var(--muted);font-size:12px}.portalShell .portalPeriodFilter select{min-height:42px;padding-block:8px;font-size:14px;font-weight:600}.portalShell .portalAccountingPeriod{border:2px solid var(--accent);background:var(--accent-soft);border-radius:14px;flex-wrap:wrap;align-items:center;gap:14px 20px;width:min(1236px,100% - clamp(40px,6vw,84px));margin:28px clamp(20px,3vw,42px) 0;padding:18px 20px;display:flex;box-shadow:0 2px 8px #1723370a}.portalShell .portalAccountingPeriod.isPast{color:#553504;background:#fff5e3;border-color:#ad6c13}.portalShell .portalAccountingPeriod.isFuture{color:#373368;background:#f2f0ff;border-color:#6562ad}.portalShell .portalAccountingPeriodHeading{flex:230px;align-items:center;gap:12px;min-width:0;display:flex}.portalShell .portalAccountingPeriodIcon{flex-shrink:0;display:inline-flex}.portalShell .portalAccountingPeriodHeading>div{min-width:0}.portalShell .portalAccountingPeriodHeading span:not(.portalAccountingPeriodIcon){font-size:12px;font-weight:650;display:block}.portalShell .portalAccountingPeriodHeading strong{font-size:21px;line-height:1.3;display:block}.portalShell .portalAccountingPeriodHeading p{margin:4px 0 0;font-size:13px;font-weight:650}.portalShell .portalAccountingPeriodControls{align-items:center;gap:7px;min-width:0;display:flex}.portalShell .portalAccountingPeriodControls label{min-width:0}.portalShell .portalAccountingPeriodControls select{border:1px solid var(--line-strong);width:100%;min-width:0;min-height:44px;color:var(--text);background:var(--surface);border-radius:9px;padding-block:8px;padding-inline:10px 28px;font-weight:650}.portalShell .portalAccountingPeriodControls label:first-of-type{min-inline-size:150px;flex:170px;max-width:230px}.portalShell .portalAccountingPeriodControls label:last-of-type{flex:0 0 110px;min-inline-size:110px}.portalShell .portalPeriodStep{flex-shrink:0;width:44px;min-height:44px;padding:8px}.portalShell .portalReturnCurrent{white-space:normal;max-width:100%;min-height:44px}.portalShell .portalPeriodPending{flex-basis:100%;align-items:center;gap:8px;margin:0;display:flex}.portalShell .portalContextBlocked{z-index:90;width:fit-content;max-width:calc(100% - 40px);margin-inline:auto;position:fixed;inset-block-end:85px;inset-inline:20px}.portalShell .portalContextDialog{width:min(560px,100% - 32px);max-height:calc(100dvh - 32px);overflow:auto}.portalShell .portalContextDialog .portalSettingsActions{flex-wrap:wrap;gap:10px}.portalShell .portalContextDialog .portalSettingsActions button{white-space:normal;flex:180px}.portalShell [dir=rtl] .portalPeriodStep svg,.portalShell[dir=rtl] .portalPeriodStep svg{transform:rotate(180deg)}.portalShell[data-theme=dark] .portalAccountingPeriod.isPast{color:#ffe4b4;background:#352b1d;border-color:#d39946}.portalShell[data-theme=dark] .portalAccountingPeriod.isFuture{color:#e6e0ff;background:#2c2944;border-color:#9e94d9}@media (max-width:600px){.portalShell .portalAccountingPeriod{gap:13px;width:calc(100% - 32px);margin:18px 16px 0;padding:14px}.portalShell .portalAccountingPeriodHeading{flex-basis:100%}.portalShell .portalAccountingPeriodControls{flex:100%;grid-template-columns:38px minmax(0,1fr) 38px;width:100%;display:grid}.portalShell .portalAccountingPeriodControls label:first-of-type{min-inline-size:0;grid-area:1/2;max-width:none}.portalShell .portalAccountingPeriodControls label:last-of-type{grid-area:2/2;min-inline-size:0}.portalShell .portalPeriodStep{grid-row:1/span 2;align-self:center;width:38px;padding:6px}.portalShell .portalPeriodStep:first-child{grid-column:1}.portalShell .portalPeriodStep:last-child{grid-column:3}.portalShell .portalReturnCurrent{width:100%}}.portalShell .portalPeriodApply{align-self:end;max-width:180px;height:auto;min-height:44px}.portalShell .portalPeriodApply span{color:inherit;font:inherit;margin:0}.portalShell .portalFilters{border-color:var(--line);background:var(--surface);border-radius:14px;margin-bottom:22px;padding:20px}.portalShell .portalFilterToolbar{align-items:end;gap:14px}.portalShell .portalDocumentSearchToolbar{grid-template-columns:minmax(0,1fr) auto}.portalShell .portalDocumentSearchToolbar .portalFilterSearch{grid-column:auto}.portalShell .portalFilterSearch>div{border-color:var(--line-strong);border-radius:10px;height:auto;min-height:46px}.portalShell .portalFilterSearch input{padding-inline-start:0;border:0!important}.portalShell .portalAdvancedFilters{border-top:1px solid var(--line);margin-top:16px;padding-top:8px}.portalShell .portalAdvancedFilters>summary{min-height:44px;color:var(--accent-hover);padding:10px 0}.portalShell .portalAdvancedSummaryLabel>span{white-space:normal;text-overflow:clip;line-height:1.5;overflow:visible}.portalShell .portalAdvancedFilterGrid{gap:18px;padding-top:12px}.portalShell .portalFilterSectionDivider{background:var(--line)}.portalShell .portalSettingsTabs{gap:24px;container:portal-settings/inline-size}.portalShell .portalSettingsTabList{border:1px solid var(--line);background:#edf2f6;border-radius:13px;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;width:100%;min-width:0;margin-bottom:0;padding:6px;display:grid;overflow:visible}.portalShell .portalSettingsTabList[data-tab-count="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}.portalShell .portalSettingsTab{width:100%;min-width:0;min-height:52px;color:var(--muted);white-space:normal;border-radius:9px;justify-content:center;align-items:center;gap:9px;padding:12px;font-size:14px;font-weight:600;line-height:1.4;display:flex}.portalShell .portalSettingsTab span{white-space:normal;text-overflow:clip;min-width:0;overflow:visible}.portalShell .portalSettingsTab.isActive{color:var(--accent-hover);background:var(--surface);box-shadow:0 1px 4px #17233714}@container portal-settings (max-width:800px){.portalShell .portalSettingsTabList[data-tab-count="5"]{grid-template-columns:repeat(6,minmax(0,1fr))}.portalShell .portalSettingsTabList[data-tab-count="5"]>.portalSettingsTab{grid-column:span 2}.portalShell .portalSettingsTabList[data-tab-count="5"]>.portalSettingsTab:nth-last-child(-n+2){grid-column:span 3}}@container portal-settings (max-width:520px){.portalShell .portalSettingsTabList[data-tab-count]{grid-template-columns:minmax(0,1fr)}.portalShell .portalSettingsTabList[data-tab-count]>.portalSettingsTab:nth-child(n){text-align:start;grid-column:auto;justify-content:flex-start}.portalShell .portalSettingsTabs :is(.portalSettingsGrid,.portalAssetSettingsGrid,.portalDangerForm,.portalInputAction){grid-template-columns:minmax(0,1fr)}}.portalShell :is(.portalSettingsSection,.portalAssetSettingsGrid>article,.portalPermissionForm){min-width:0}.portalShell .portalSettingsHeading p{color:var(--muted);line-height:1.6}.portalShell .portalAssetSettingsGrid>article{background:var(--surface-soft);border-radius:12px;padding:18px}.portalShell .portalSettingsActions{padding-top:8px}.portalShell .portalAccessRow strong{white-space:normal;text-overflow:clip;overflow-wrap:anywhere;overflow:visible}.portalShell .portalDangerZone{box-shadow:none}.portalShell .portalChoiceGrid label>span{text-align:center;border-radius:10px;min-height:48px;padding:10px 12px}.portalShell .portalChoiceGrid input:focus-visible+span{outline:3px solid var(--accent);outline-offset:3px}.portalShell .portalChoiceGrid input:checked+span{color:var(--accent-hover);border-color:var(--accent);background:var(--accent-soft);font-weight:700}.portalShell .portalMoneyInput{border-color:var(--line-strong);border-radius:10px;min-width:0}.portalShell .portalMoneyInput input{border-radius:0;flex:1 1 0;width:0;border:0!important}.portalShell .portalMoneyInput b{white-space:nowrap;flex:none;padding-inline:12px}.portalShell .portalPasswordControl button,.portalAuthPage .portalPasswordControl button{width:44px;min-height:44px;top:1px;bottom:1px}.portalShell .portalTableHeader{background:var(--surface-soft);color:var(--muted);text-transform:none;letter-spacing:0;padding:14px 20px;font-size:12px;font-weight:650}.portalShell .portalTableRow{gap:18px;padding:18px 20px}.portalShell .portalTableRow:hover{background:#fbfdfe}.portalShell .portalDocumentName{align-items:start}.portalShell .portalDocumentName strong{white-space:normal;text-overflow:clip;font-size:14px;line-height:1.5;overflow:visible}.portalShell .portalDocumentTitleLink{color:var(--text);text-underline-offset:4px;font-weight:700;text-decoration:none}.portalShell .portalDocumentTitleLink:hover{color:var(--accent-hover);text-decoration:underline}.portalShell .portalTableRow small{color:var(--muted);line-height:1.5}.portalShell .portalRowLabel{color:var(--muted);font-size:12px;font-weight:500;display:none}.portalShell .portalDocumentState{color:var(--muted);font-size:12px;font-weight:600;display:block}.portalShell .portalDocumentState:is([data-state=needsReview],[data-state=urgentReview],[data-state=overdue]){color:#935117}.portalShell :is(.portalDocumentAttachments,.portalDocumentActions){flex-wrap:wrap;gap:8px;display:flex}.portalShell .portalDocumentAttachments>:is(a,button){width:100%}.portalShell .portalDocumentRow strong{white-space:normal;text-overflow:clip;line-height:1.45;overflow:visible}.portalShell .portalDocumentRow b{text-align:end;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.portalShell .portalDocumentRow span{color:var(--muted);line-height:1.5}.portalShell .portalEmptyCard,.portalShell .portalTableEmpty{color:var(--muted);text-align:center;border-style:solid;padding:32px 24px}.portalShell .portalClientGrid{grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));align-items:stretch;gap:20px}.portalShell .portalClientCard{gap:16px;padding:24px}.portalShell .portalClientIdentity{min-width:0}.portalShell .portalClientCard h2{letter-spacing:-.02em;overflow-wrap:anywhere;font-size:20px}.portalShell .portalClientCard p{color:var(--muted);overflow-wrap:anywhere;font-size:13px}.portalShell .portalClientMetrics{background:var(--surface-soft);border-radius:12px;padding:16px}.portalShell .portalClientMetrics dt{color:var(--muted);font-size:13px}.portalShell .portalClientMetrics dd{overflow-wrap:anywhere;text-align:end;font-variant-numeric:tabular-nums;max-width:55%}.portalShell .portalClientCard .portalClientActions{grid-template-columns:minmax(0,1fr);gap:10px;display:grid}.portalShell .portalClientOpen{gap:8px;width:100%}.portalShell .portalClientSecondaryActions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.portalShell .portalClientSecondaryActions>a{padding:10px;font-size:13px}.portalShell :is(.portalBankTransactionCard,.portalBankCompletedCard,.portalBankCandidate,.portalAllocationRow,.portalAccountantImportSetup){border-color:var(--line);border-radius:12px}.portalShell .portalBankTransactionCard{padding:20px}.portalShell .portalBankTransactionMain{gap:16px}.portalShell .portalBankTransactionMain>b{font-variant-numeric:tabular-nums;font-size:20px;line-height:1.4}.portalShell .portalBankCandidateList{gap:12px}.portalShell .portalBankCandidate{padding:16px}.portalShell .portalBankCandidate.isSuggested{box-shadow:none;background:#f6fbfb;border-color:#acd4d8}.portalShell .portalBankCandidateBody strong{white-space:normal;font-size:14px}.portalShell .portalBankCandidateFacts{gap:6px}.portalShell .portalBankCount{white-space:nowrap;font-variant-numeric:tabular-nums;flex-shrink:0;min-width:max-content}.portalShell .portalBankCandidateFacts>span{background:var(--surface-soft);color:var(--muted);border:0}.portalShell :is(.portalBankCandidateActions,.portalBankResolveActions,.portalInlineActions){flex-wrap:wrap;gap:10px}.portalShell :is(.portalBankCandidateChooser,.portalBankChecks,.portalBankCompleted,.portalBankUploadDisclosure)>summary{min-height:48px;padding-block:14px;line-height:1.45}.portalShell .portalBankInvoiceAllocation{border-radius:12px}.portalShell .portalRelatedPartyOpenPanel{border-radius:16px}.portalShell .portalRelatedPartyOpenList{grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr))}.portalShell .portalRelatedPartyOpenItem,.portalShell .portalRelatedPartyOpenItem>*{min-width:0}.portalShell .portalRelatedPartyMetrics{grid-template-columns:repeat(3,minmax(0,1fr))}.portalShell .portalRelatedPartyMetrics>span{min-width:0}.portalShell .portalRelatedPartyMetrics b{overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.portalShell .portalBankAutomationActions{grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr))}.portalShell div.portalBankAutomationAction{border-radius:12px;grid-template-columns:auto minmax(0,1fr)}.portalShell div.portalBankAutomationAction>form{grid-column:1/-1;justify-self:stretch}.portalShell div.portalBankAutomationAction>form button{width:100%}.portalShell summary svg{flex-shrink:0}.portalShell .portalAccountantImportSetup{background:var(--surface-soft);padding:16px}.portalShell .portalAccountantImportSetup>summary{min-height:44px;font-weight:650}.portalShell .portalAccountantImportFields{gap:18px}.portalShell .portalReportExportRow{gap:16px;padding-block:18px}.portalShell .portalReportExportRow b{max-width:none}.portalShell .portalConfirmDialog{border-color:var(--line);color:var(--text);border-radius:18px;padding:28px;box-shadow:0 24px 80px #0c1e2c38}.portalShell .portalConfirmDialog::backdrop{background:#0d1d2b7a}.portalShell .portalTemplateDialog{width:min(860px,100vw - 32px);max-height:calc(100dvh - 32px);padding:0;overflow:hidden}.portalShell .portalTemplateDialog[open]{flex-direction:column;display:flex}.portalShell .portalTemplateDialog>h2{flex:none;margin:0;padding:20px;font-size:22px}.portalShell .portalTemplateDialogBody{overscroll-behavior:contain;min-height:0;padding:0 20px 20px;overflow-y:auto}.portalShell .portalTemplateDialog iframe{border:1px solid var(--line);border-radius:10px;width:100%;height:min(40dvh,420px)}.portalShell .portalTemplateDialogActions{padding:16px 20px max(16px, env(safe-area-inset-bottom));border-top:1px solid var(--line);background:var(--surface);flex:none;margin:0}.portalShell .portalTemplateDialogActions button{white-space:normal;overflow-wrap:anywhere;min-width:0}.portalShell .portalTemplateLogoPreview{object-fit:contain;max-width:min(100%,320px);max-height:150px;display:block}.portalShell .portalTemplateModes{gap:12px;margin-block:14px;display:grid}.portalShell .portalTemplateModes form{gap:6px;display:grid}.portalShell .portalTemplateModes [aria-pressed=true]{outline:2px solid var(--accent)}.portalShell .portalTemplateUpload{gap:8px;margin-block:14px;display:grid}.portalShell .portalAssistantTools{flex-wrap:wrap;align-items:center;gap:8px;padding:8px 0;display:flex}.portalShell[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#111b27;--surface:#1a2836;--surface-soft:#213242;--text:#ecf2f7;--muted:#bccbd7;--line:#405565;--line-strong:#5f7788;--accent:#65d5df;--accent-hover:#98e8ee;--accent-soft:#1c4148}.portalShell[data-theme=dark] :is(.portalPrimaryButton,.portalPrimaryLink,.portalNavLink.isPrimary){color:#11212b}@media (prefers-color-scheme:dark){.portalShell[data-theme=system]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#111b27;--surface:#1a2836;--surface-soft:#213242;--text:#ecf2f7;--muted:#bccbd7;--line:#405565;--line-strong:#5f7788;--accent:#65d5df;--accent-hover:#98e8ee;--accent-soft:#1c4148}.portalShell[data-theme=system] :is(.portalPrimaryButton,.portalPrimaryLink,.portalNavLink.isPrimary){color:#11212b}}.portalShell .portalConfirmDialog h3{margin-top:0;font-size:20px;line-height:1.35}.portalShell .portalConfirmDialog .portalInlineActions{justify-content:flex-end;margin-top:24px}.portalShell .portalAssistantDock{border-color:var(--line);border-radius:18px;box-shadow:0 12px 56px #142d412e}.portalShell .portalAssistantDockHeader{background:var(--surface);border-bottom:1px solid var(--line);padding:16px}.portalShell .portalAssistantDockHeader small{color:var(--muted)}.portalShell .portalAssistantPanel.isDocked{grid-template-rows:minmax(0,1fr) auto auto;min-height:0}.portalShell .portalAssistantMessages{overscroll-behavior:contain;min-height:0;padding:18px}.portalShell :is(.portalAssistantMessage,.portalSupportMessage){overflow-wrap:anywhere;border-radius:14px;max-width:100%;line-height:1.6}.portalShell .portalAssistantContext{overscroll-behavior:contain;min-height:0;max-height:min(160px,22dvh);overflow-y:auto}.portalShell .portalAssistantContext:empty{display:none}.portalShell .portalAssistantPanel.isDocked .portalAssistantComposer{background:var(--surface);grid-template-columns:minmax(0,1fr);gap:10px;padding:14px;display:grid}.portalShell .portalAssistantComposer textarea{width:100%;min-height:48px;max-height:100px}.portalShell .portalAssistantComposerActions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.portalShell .portalAssistantPanel.isDocked .portalAssistantComposer .portalPrimaryButton{width:auto;min-width:90px;padding:10px 14px}.portalShell .portalAssistantPanel.isDocked .portalAssistantComposer .portalPrimaryButton span{display:inline}.portalShell .portalAssistantAttach{width:auto;height:auto;min-height:44px;color:var(--accent-hover);border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:10px 12px;font-size:13px;display:inline-flex}.portalShell .portalAssistantFiles button{flex-shrink:0;width:44px;min-width:44px;min-height:44px}.portalShell .portalAssistantDockClose{border-radius:10px;width:44px;height:44px}.portalShell .portalAssistantAttach:focus-within{outline:3px solid var(--accent);outline-offset:3px}.portalShell .portalAssistantFileName{overflow-wrap:anywhere;min-width:0}.portalShell .portalSupportTicketRow{border-radius:12px;gap:16px;padding:18px}.portalShell .portalSupportReply{gap:14px}.portalShell .portalSupportReply textarea{min-height:120px}.portalShell .portalDropField{border-color:var(--line-strong);background:var(--surface-soft);border-radius:14px}.portalShell .portalDropField:focus-within{outline:3px solid var(--accent);outline-offset:3px}.portalAuthPage .portalAuthPanel{border-color:var(--line);border-radius:20px;width:min(480px,100%);padding:36px;box-shadow:0 12px 48px #1b374c12}.portalAuthPage .portalAuthHeading{margin-block:28px 24px}.portalAuthPage .portalAuthHeading h1{letter-spacing:-.025em;font-size:28px;line-height:1.25}.portalAuthPage .portalForm{gap:18px}.portalAuthPage .portalForm>.portalPrimaryButton{width:100%}.portalAuthPage .portalAuthTextLink{align-items:center;min-height:36px;font-size:14px;display:inline-flex}.portalAuthPage .portalAuthHomeLink{overflow-wrap:anywhere;width:100%;margin-block-start:20px}.portalAuthPage .portalAuthHomeLink:hover{background:var(--accent-soft);border-color:var(--accent)}@media (max-width:1400px){.portalShell .portalMetrics{grid-template-columns:repeat(2,minmax(0,1fr))}.portalShell .portalReviewTable .portalTableHeader{display:none}.portalShell .portalReviewTable .portalReviewRow.portalDocumentGrid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.portalShell .portalReviewTable .portalReviewRow>:nth-child(n){grid-area:auto;display:grid}.portalShell .portalReviewTable .portalReviewRow>.portalDocumentName{grid-column:1/-1;display:flex}.portalShell .portalReviewTable .portalReviewRow>:nth-child(2){grid-area:2/1}.portalShell .portalReviewTable .portalReviewRow>:nth-child(4){text-align:end;grid-area:2/2}.portalShell .portalReviewTable .portalReviewRow>:nth-child(3),.portalShell .portalReviewTable .portalReviewRow>:nth-child(5){grid-column:1/-1}.portalShell .portalReviewTable .portalRowLabel{display:block}}@media (max-width:1250px){.portalShell .portalSectionGrid,.portalShell .portalDocumentDetailGrid{grid-template-columns:minmax(0,1fr)}.portalShell .portalFilterToolbar{grid-template-columns:repeat(2,minmax(0,1fr))}.portalShell .portalFilterSearch{grid-column:1/-1}.portalShell .portalDocumentListing>.portalTableHeader{display:none}.portalShell .portalDocumentListingRow.portalDocumentGrid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:14px 20px}.portalShell .portalDocumentListingRow>:nth-child(n){grid-area:auto;display:grid}.portalShell .portalDocumentListingRow>.portalDocumentName,.portalShell .portalDocumentListingRow>:nth-child(5){grid-column:1/-1;display:flex}.portalShell .portalDocumentListingRow .portalDocumentAttachments>:is(a,button){width:auto}.portalShell .portalRowLabel{display:block}}@media (min-width:761px) and (max-width:1050px){.portalShell{grid-template-columns:216px minmax(0,1fr)}.portalShell .portalSidebar{padding-inline:12px}.portalShell .portalBrand div{display:flex}.portalShell .portalBrand,.portalShell .portalNavLink{justify-content:flex-start}.portalShell .portalNavLink span{display:block}.portalShell .portalSignOut span{display:inline}.portalShell .portalSignOut{justify-content:flex-start}.portalShell .portalPage{padding-inline:24px}.portalShell .portalMetric{padding:16px}.portalShell .portalAdvancedFilterGrid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:760px){.portalShell{display:block}.portalShell .portalSidebar{height:calc(76px + env(safe-area-inset-bottom));padding:8px 10px calc(8px + env(safe-area-inset-bottom));border-inline-end:0;border-top:1px solid var(--line);gap:4px;overflow:visible}.portalShell .portalDesktopSignOut,.portalShell .portalBrand,.portalShell .portalIdentity{display:none}.portalShell .portalNav{gap:2px}.portalShell .portalNavLink{border-radius:9px;gap:4px;min-height:52px;padding:4px 2px;font-size:11px}.portalShell .portalNavLink.isPrimary{color:var(--accent-hover);background:var(--accent-soft);margin:0}.portalShell .portalNavMorePanel{bottom:calc(88px + env(safe-area-inset-bottom));border-color:var(--line);border-radius:16px;padding:12px}.portalShell .portalNavMorePanel .portalNavLink{gap:10px;min-height:48px;padding:12px;font-size:14px}.portalShell:has(.portalAssistantLauncher) .portalSidebar{height:calc(76px + env(safe-area-inset-bottom));padding-inline-end:60px}.portalShell .portalAssistantLauncher.isCompact{bottom:calc(16px + env(safe-area-inset-bottom));inset-inline-end:10px}.portalShell .portalPage{padding:24px 16px 36px}.portalShell .portalPageHeader{align-items:stretch;gap:18px;margin-bottom:22px}.portalShell .portalPageHeader>div:first-child{flex:0 auto}.portalShell .portalPageHeader h1{font-size:26px}.portalShell .portalPeriodFilter{width:100%}.portalShell .portalPeriodFilter label{flex:100px}.portalShell .portalPeriodFilter .portalYearFilter{flex:0 0 112px}.portalShell .portalPeriodFilter select{width:100%;min-width:0}.portalShell .portalPeriodApply{flex:100%;max-width:none}.portalShell :is(.portalPanel,.portalSettingsSection,.portalClientCard){padding:20px}.portalShell .portalMetrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.portalShell .portalMetric{gap:12px;min-height:0;padding:16px;display:grid}.portalShell .portalMetric>div{min-width:0}.portalShell .portalMetric strong{font-size:20px}.portalShell .portalClientGrid{grid-template-columns:minmax(0,1fr)}.portalShell .portalFilters{padding:16px}.portalShell .portalFilterToolbar,.portalShell .portalAdvancedFilterGrid{grid-template-columns:minmax(0,1fr)}.portalShell .portalSettingsActions :is(.portalPrimaryButton,.portalDangerButton){min-width:0}.portalShell .portalDocumentRow{align-items:start;gap:12px}.portalShell .portalDocumentListingRow{padding:18px 16px}.portalShell .portalBankTransactionCard{padding:16px}.portalShell .portalConfirmDialog{padding:20px}.portalShell .portalTemplateDialog{padding:0}.portalShell .portalTemplateDialogActions,.portalShell .portalConfirmDialog .portalInlineActions{grid-template-columns:minmax(0,1fr);display:grid}.portalShell .portalAssistantDock{bottom:calc(88px + env(safe-area-inset-bottom));height:min(650px, calc(100dvh - 108px - env(safe-area-inset-bottom)))}.portalShell .portalAssistantPanel.isDocked{min-height:0}.portalShell .portalAssistantPanel.isDocked .portalAssistantComposer{padding:12px}.portalShell .portalAssistantDockHeader small{display:none}.portalAuthPage .portalAuthPanel{padding:26px 22px}}@media (max-width:390px){.portalShell .portalClientSecondaryActions,.portalShell .portalMetrics{grid-template-columns:minmax(0,1fr)}.portalShell .portalClientCard{padding:18px}.portalShell .portalDocumentListingRow.portalDocumentGrid{grid-template-columns:minmax(0,1fr)}.portalShell .portalDocumentListingRow>:nth-child(n){grid-column:auto}.portalShell .portalDocumentListingRow>.portalDocumentAmount{grid-row:2}.portalShell .portalDocumentRow{flex-wrap:wrap}.portalShell .portalDocumentRow b{max-width:100%}.portalShell .portalAssistantComposerActions>*{flex:auto}.portalAuthPage .portalAuthPanel{padding:24px 18px}}@media (max-width:480px){.portalShell .portalRelatedPartyMetrics{grid-template-columns:minmax(0,1fr)}.portalShell .portalRelatedPartyMetrics>span{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:6px 12px;display:flex}}@media (max-height:550px){.portalShell .portalAssistantLauncher[aria-expanded=true]{visibility:hidden;pointer-events:none}.portalShell .portalAssistantDock{height:calc(100dvh - 24px);max-height:none;bottom:12px}.portalShell .portalAssistantDockHeader{padding:10px 14px}.portalShell .portalAssistantContext{max-height:80px}}@media (prefers-reduced-motion:reduce){.portalShell *,.portalAuthPage *{scroll-behavior:auto!important;transition-duration:0s!important;animation-duration:.01ms!important}}.portalShell .portalDisclosure{border:1px solid var(--line);background:var(--surface);min-width:0;color:var(--text);border-radius:12px;grid-column:1/-1;margin-block:12px}.portalShell .portalDisclosure>summary{cursor:pointer;min-height:52px;color:var(--accent-hover);border-radius:12px;justify-content:space-between;align-items:center;gap:16px;padding:14px 16px;list-style:none;display:flex}.portalShell .portalDisclosure>summary::-webkit-details-marker{display:none}.portalShell .portalDisclosure>summary:hover{background:var(--accent-soft)}.portalShell .portalDisclosure>summary>svg{flex-shrink:0;transition:transform .15s}.portalShell .portalDisclosure[open]>summary>svg{transform:rotate(180deg)}.portalShell .portalDisclosureHeading{gap:4px;min-width:0;display:grid}.portalShell .portalDisclosureHeading small{color:var(--muted);font-size:13px}.portalShell .portalDisclosureContent{min-width:0;padding:0 16px 16px}.portalShell .portalDisclosureContent>:first-child{margin-top:0}.portalShell .portalDisclosureContent>:last-child{margin-bottom:0}.portalShell .portalBasicDetails{grid-column:1/-1;min-width:0}.portalShell .portalBasicDetails>h3{margin:0 0 14px;font-size:16px}.portalShell .portalCompanyFilters{border:1px solid var(--line);border-radius:var(--portal-card-radius);background:var(--surface);flex-wrap:wrap;align-items:end;gap:16px;margin-bottom:20px;padding:18px;display:flex}.portalShell .portalCompanyFilters .portalField{flex:240px;min-width:0}.portalShell .portalCompanyFilters .portalCheckbox{cursor:pointer;align-items:center;gap:10px;min-height:44px;display:flex}.portalShell .portalCompanyFilters .portalCheckbox input[type=checkbox]{width:18px;height:18px;min-height:18px;accent-color:var(--accent);flex:0 0 18px;margin:0;padding:0}@media (max-width:520px){.portalShell .portalDisclosure>summary{padding:12px}.portalShell .portalDisclosureContent{padding:0 12px 12px}.portalShell .portalCompanyFilters{align-items:stretch;padding:14px}.portalShell .portalCompanyFilters>*{width:100%}}
html:has(.portalShell){min-width:0}.portalShell{--text-strong:var(--text);--muted-light:var(--muted);--surface-strong:var(--surface-soft);--portal-surface-soft:var(--surface-soft);--accent-strong:var(--accent-hover);--portal-primary-text:#fff;--portal-past-bg:#fff5e3;--portal-past-text:#553504;--portal-past-line:#ad6c13;--portal-future-bg:#f2f0ff;--portal-future-text:#373368;--portal-future-line:#6562ad;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}.portalShell[data-theme=dark]{--success:#87ddb3;--success-soft:#173b31;--warning:#ffd68a;--warning-soft:#382d1c;--attention:#ffbf8d;--attention-soft:#3c2d23;--danger:#ffb5be;--danger-soft:#432831;--portal-primary-text:#11212b;--portal-past-bg:#352b1d;--portal-past-text:#ffe4b4;--portal-past-line:#d39946;--portal-future-bg:#2c2944;--portal-future-text:#e6e0ff;--portal-future-line:#9e94d9;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}@media (prefers-color-scheme:dark){.portalShell[data-theme=system]{--success:#87ddb3;--success-soft:#173b31;--warning:#ffd68a;--warning-soft:#382d1c;--attention:#ffbf8d;--attention-soft:#3c2d23;--danger:#ffb5be;--danger-soft:#432831;--portal-primary-text:#11212b;--portal-past-bg:#352b1d;--portal-past-text:#ffe4b4;--portal-past-line:#d39946;--portal-future-bg:#2c2944;--portal-future-text:#e6e0ff;--portal-future-line:#9e94d9;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}.portalShell .portalUtilityHeader{z-index:18;background:var(--bg);border-bottom:1px solid var(--line);justify-content:flex-end;align-items:center;min-height:76px;padding:12px clamp(20px,3vw,42px);display:flex;position:sticky;inset-block-start:0}.portalShell .portalThemeShortcut{min-width:0;max-width:100%}.portalShell .portalThemeToggle{isolation:isolate;border:1px solid var(--line-strong);background:var(--surface-soft);width:252px;max-width:100%;min-height:48px;color:var(--muted);cursor:pointer;border-radius:999px;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:4px;display:grid;position:relative;box-shadow:inset 0 1px 3px #17233714}.portalShell .portalThemeToggleThumb{z-index:-1;background:var(--accent-soft);border:1px solid var(--accent);border-radius:999px;width:calc(50% - 6px);transition:inset-inline-start .16s;position:absolute;inset-block:4px;inset-inline-start:4px}.portalShell .portalThemeToggle[data-mode=dark] .portalThemeToggleThumb{inset-inline-start:calc(50% + 2px)}.portalShell .portalThemeToggleOption{overflow-wrap:anywhere;text-align:center;justify-content:center;align-items:center;gap:7px;min-width:0;padding:6px 10px;font-size:13px;font-weight:650;line-height:1.35;display:flex}.portalShell .portalThemeToggleOption svg{flex-shrink:0}.portalShell .portalThemeToggleOption.isSelected{color:var(--accent-hover)}.portalShell .portalThemeToggle:hover{border-color:var(--accent)}@media (max-width:760px){.portalShell .portalUtilityHeader{min-height:72px;padding:10px 16px}}@media (prefers-reduced-motion:reduce){.portalShell .portalThemeToggle,.portalShell .portalThemeToggleThumb{transition:none}}.portalShell :is(.portalSidebar,.portalPanel,.portalTablePanel,.portalClientCard,.portalMetric,.portalSettingsSection,.portalEmptyCard,.portalNavMorePanel,.portalConfirmDialog,.portalAssistantDock,.portalAssistantPanel,.portalSupportTicketRow,.portalBankTransactionCard,.portalBankCompletedCard,.portalBankUploadDisclosure,.portalRelatedPartyOpenItem,.portalMoneyInput,.portalFilterSearch>div){background:var(--surface);border-color:var(--line);color:var(--text)}.portalShell :is(.portalPermissionForm,.portalBankCandidate,.portalBankChecks,.portalBankCompleted,.portalBankNoCandidates,.portalRelatedPartyResolutionRecord,.portalSubscriptionSummary>article,.portalSubscriptionUsageCard,.portalBankPreviewMetrics>div,.portalRelatedPartyMetrics>span,.portalSettingsTabList,.portalAssistantThinking,.portalAssistantMessage.is-assistant,.portalSupportMessage,.portalChoiceGrid label>span){background:var(--surface-soft);border-color:var(--line);color:var(--text)}.portalShell :is(.portalReceivablesPanel,.portalRelatedPartyOpenPanel,.portalBankImport){background:var(--surface);border-color:var(--line)}.portalShell :is(.portalNavLink:hover,.portalTableRow:hover,.portalSupportTicketRow:hover,.portalBankChecks>summary:hover,.portalBankCompleted>summary:hover,.portalBankUploadDisclosure>summary:hover,.portalAssistantDockClose:hover){background:var(--surface-soft);color:var(--text)}.portalShell :is(.portalNavLink.isActive,.portalBankCandidate.isSuggested,.portalAssistantMessage.is-user,.portalSupportMessage.is-staff,.portalIdentity em,.portalCapabilityBadges span){background:var(--accent-soft);border-color:var(--accent);color:var(--accent-hover)}.portalShell :is(.portalPrimaryButton,.portalPrimaryLink,.portalNavLink.isPrimary,.portalIconButton,.portalAssistantLauncher){color:var(--portal-primary-text)}.portalShell .portalNavLink.isPrimary{background:var(--accent)}.portalShell :is(.portalPrimaryButton,.portalPrimaryLink,.portalNavLink.isPrimary):hover{background:var(--accent-hover);color:var(--portal-primary-text)}@media (max-width:760px){.portalShell[data-theme] .portalNavLink.isPrimary{background:var(--accent-soft);color:var(--accent-hover)}.portalShell[data-theme] .portalNavLink.isPrimary:hover{background:var(--accent-hover);color:var(--portal-primary-text)}}.portalShell :is(.portalIconButton,.portalAssistantLauncher){background:var(--accent)}.portalShell .portalAssistantLauncher:hover{background:var(--accent-hover)}.portalShell :is(.portalSettingsTab.isActive,.portalSettingsTab:hover){background:var(--surface);color:var(--accent-hover)}.portalShell :is(.portalPanelHeader a,.portalSupportAttachments a,.portalBankChecksToggle,.portalRelatedPartyResolutionForm summary){color:var(--accent-hover)}.portalShell :is(.portalIdentity small,.portalSignOut,.portalInviteCard>p,.portalAccessRow small,.portalTimeline small,.portalPeriodActionForm p,.portalAssetSettingsGrid small,.portalMoneyInput b,.portalForm small,.portalAccountantImportSetup>summary>span,.portalSubscriptionSummary span,.portalSubscriptionUsageCard span,.portalSubscriptionPrices span,.portalBankPreviewMetrics span,.portalBankUploadDisclosure>summary small,.portalBankChecks>summary small,.portalBankMissingReceiptHint,.portalRelatedPartyOpenContext,.portalRelatedPartyMetrics small,.portalHistoricalBalanceLabel,.portalRelatedPartyIntentField small,.portalRelatedPartyResolutionForm p,.portalReceivablesHeader p,.portalReceivableIdentity>span,.portalReceivableDue>small,.portalInvoiceSettlement small,.portalReceivableAmounts small,.portalBankInvoiceAllocation small,.portalAssistantDockClose,.portalAssistantDockLoading,.portalSupportMessage small),.portalShell :is(.portalSettingsGrid,.portalFormGrid,.portalDocumentEditForm,.portalInlineForm,.portalForm,.portalDangerForm,.portalPermissionForm,.portalAllocationFields,.portalAllocationOptional) label,.portalShell .portalFilterField>span,.portalShell .portalChoiceGrid legend{color:var(--muted)}.portalShell :is(.portalAccountantImportSetup>summary,.portalSubscriptionSummary strong,.portalBankPreviewMetrics strong,.portalRelatedPartyMetrics b,.portalInvoiceSettlement b,.portalReceivableAmounts b,.portalBankInvoiceAllocation b,.portalSupportMessage p,.portalAssistantMessage,.portalBankCompleted>summary){color:var(--text)}.portalShell :is(input,textarea)::placeholder{color:var(--muted)}.portalShell input[type=file]{background:var(--surface);color:var(--text);border-color:var(--line-strong)}.portalShell input[type=file]::file-selector-button{background:var(--surface-soft);color:var(--text);border:1px solid var(--line-strong);border-radius:6px}.portalShell :is(.portalAccessItem,.portalAccessRow,.portalTableRow,.portalDocumentRow,.portalPeriodActionForm,.portalReportExportRow,.portalReceivableRow,.portalSupportThreadMeta,.portalSupportReply,.portalBankCompletedList,.portalRelatedPartyResolutionForm){border-color:var(--line)}.portalShell .portalAccountingPeriod.isPast{background:var(--portal-past-bg);color:var(--portal-past-text);border-color:var(--portal-past-line)}.portalShell .portalAccountingPeriod.isFuture{background:var(--portal-future-bg);color:var(--portal-future-text);border-color:var(--portal-future-line)}.portalShell :is(.portalSuccess,.portalBankComplete,.portalBankStatus,.portalStatusBadge.is-open,.portalStatusBadge.is-answered,.portalSubscriptionStatus.is-active,.portalSubscriptionStatus.is-tester){background:var(--success-soft);color:var(--success);border-color:var(--success)}.portalShell :is(.portalInfo,.portalRoleHint){background:var(--accent-soft);color:var(--accent-hover)}.portalShell :is(.portalBankWarnings,.portalBankOverpayment,.portalCapabilityBadges span.isLimited,.portalStatusBadge.is-waiting_user,.portalSubscriptionStatus.is-trial){background:var(--warning-soft);color:var(--warning);border-color:var(--warning)}.portalShell :is(.portalError,.portalDangerZone,.portalDocumentDeletePanel,.portalStoreDeletionWarning,.portalSubscriptionStatus.is-expired,.portalSubscriptionStatus.is-blocked){background:var(--danger-soft);color:var(--danger);border-color:var(--danger)}.portalShell :is(.portalDangerButton,.portalCompactDangerButton){background:var(--surface);color:var(--danger);border-color:var(--danger)}.portalShell :is(.portalDangerButton,.portalCompactDangerButton,.portalSignOut):hover{background:var(--danger-soft);color:var(--danger)}.portalShell :is(.portalDangerIcon,.portalDangerText,.portalStoreDeletionLinks a,.portalDangerForm small,.portalDocumentDeletePanel p){color:var(--danger)}.portalShell .portalDangerIcon{background:var(--danger-soft)}.portalShell .portalDocumentState:is([data-state=needsReview],[data-state=urgentReview],[data-state=overdue]),.portalShell :is(.portalInvoiceSettlement .isOutstanding b,.portalReceivableAmounts .isOutstanding b,.portalReceivablesTotals>strong,.portalInvoiceSettlement>em,.portalReceivableIdentity>em,.portalRelatedPartyOpenContext>small){color:var(--warning)}.portalShell .portalInvoiceStatus{background:var(--attention-soft);color:var(--attention)!important}.portalShell .portalInvoiceStatus.is-partially_paid{background:var(--warning-soft);color:var(--warning)!important}.portalShell .portalInvoiceStatus.is-paid{background:var(--success-soft);color:var(--success)!important}.portalShell .portalMetric-positive>span,.portalShell .portalSmallIcon.isPositive{background:var(--success-soft);color:var(--success)}.portalShell .portalMetric-warning>span,.portalShell .portalAttentionIcon{background:var(--attention-soft);color:var(--attention)}.portalShell .portalMetric-neutral>span{background:var(--surface-soft);color:var(--muted)}.portalShell .portalMetric-accent>span,.portalShell .portalAssistantDockIcon{background:var(--accent-soft);color:var(--accent-hover)}.portalShell :is(.portalSubscriptionUsageTitle,.portalSubscriptionQuotaTitle,.portalSubscriptionUsageCard strong,.portalSubscriptionQuotaList dd,.portalSubscriptionPlanHeader h3,.portalSubscriptionPrices strong){color:var(--text)}.portalShell :is(.portalSubscriptionQuotaHint,.portalSubscriptionQuotaList dt,.portalSubscriptionUsageCard small,.portalSubscriptionDisclosure p,.portalSubscriptionPlan li>small){color:var(--muted)}.portalShell .portalSubscriptionPlan{background:var(--surface);border-color:var(--line)}.portalShell :is(.portalSubscriptionPlanHeader,.portalSubscriptionDisclosure){background:var(--surface-soft);color:var(--text);border-color:var(--line)}.portalShell :is(.portalSubscriptionPlanHeader span,.portalSubscriptionNotice){background:var(--accent-soft);color:var(--accent-hover);border-color:var(--accent)}.portalShell .portalSubscriptionNotice.isTester{background:var(--success-soft);color:var(--success);border-color:var(--success)}.portalShell .portalSubscriptionStatus{background:var(--surface-soft);color:var(--muted)!important}.portalShell .portalSubscriptionStatus:is(.is-active,.is-tester){background:var(--success-soft);color:var(--success)!important}.portalShell .portalSubscriptionStatus.is-trial{background:var(--accent-soft);color:var(--accent-hover)!important}.portalShell .portalSubscriptionStatus:is(.is-expired,.is-blocked){background:var(--danger-soft);color:var(--danger)!important}.portalShell :is(.portalSubscriptionQuotaList>div+div,.portalSubscriptionPrices,.portalSubscriptionPrices>div+div,.portalSubscriptionPlan li+li){border-color:var(--line)}.portalShell .portalSubscriptionPlan li{color:var(--text)}.portalShell .portalSubscriptionPlan li>svg{color:var(--success)}.portalShell .portalSubscriptionPlan li.isUnavailable,.portalShell .portalSubscriptionPlan li.isUnavailable>svg{color:var(--muted)}.portalShell .portalSubscriptionDisclosure strong{color:var(--accent-hover)}.portalShell .portalSubscriptionPlan.isCurrent{outline-color:var(--accent)}.portalShell .portalSubscriptionPlan.isRecommended{border-color:var(--accent)}.portalShell .portalSubscriptionMeter{background:var(--line)}.portalShell .portalSubscriptionMeter>span{background:var(--accent)}.portalShell :is(.portalBankTransactionMain strong,.portalBankTransactionMain>b,.portalBankCandidateBody strong,.portalBankCandidateBody>b,.portalBankWorkQueue h3){color:var(--text)}.portalShell :is(.portalBankTransactionMain small,.portalBankCandidateBody small,.portalPanelHeader p,.portalBankWorkQueue header p,.portalSupportReply>label,.portalSupportCreateForm>label,.portalSupportTicketMeta,.portalSupportTicketState){color:var(--muted)}.portalShell .portalBankDirection.is-income{background:var(--success-soft);color:var(--success)}.portalShell .portalBankDirection.is-purchase{background:var(--attention-soft);color:var(--attention)}
.adminShell .settingsLayout>.panel{margin:0}.adminShell .formGrid{align-items:start}.adminShell .settingsForm label{align-content:start}.adminShell .settingsForm :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select){height:42px}.adminShell .filterBar{flex-wrap:wrap}.adminShell .filterBar label{min-width:0}.adminShell .filterBar :is(input,select){max-width:100%}.adminShell :is(.queueRow,.systemRow){overflow-wrap:anywhere}dialog.modalLayer,dialog.commandLayer{width:100vw;max-width:none;height:100dvh;max-height:none;color:var(--text);border:0;margin:0}dialog.modalLayer:not([open]),dialog.commandLayer:not([open]){display:none}dialog.modalLayer::backdrop,dialog.commandLayer::backdrop{background:0 0}dialog.modalLayer .actionPopover{max-height:100dvh}dialog.modalLayer .formGrid{align-items:start}dialog.modalLayer .settingsForm label{align-content:start}dialog.modalLayer .settingsForm :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select){height:42px}.adminShell .adminTabs{flex-wrap:wrap;gap:8px;margin:0 0 18px;display:flex}.adminShell .adminTabs a{border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:8px;padding:10px 14px;text-decoration:none}.adminShell .adminTabs a[aria-current=page]{background:var(--accent-soft);color:var(--accent);border-color:var(--accent);font-weight:750}.adminShell .adminDiagnosticGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.adminShell .adminDiagnosticGrid>.panel{min-width:0;margin:0}.adminShell .adminDataList{grid-template-columns:minmax(120px,.7fr) minmax(0,1.3fr);gap:12px 18px;margin:0;display:grid}.adminShell .adminDataList dt{color:var(--muted)}.adminShell .adminDataList dd{overflow-wrap:anywhere;margin:0}.adminShell .adminEmpty{text-align:center;color:var(--muted);padding:28px}.adminShell .adminEditorToolbar{z-index:3;background:var(--surface);border-bottom:1px solid var(--line);flex-wrap:wrap;gap:12px;padding:12px 0;display:flex;position:sticky;top:64px}.adminShell .adminEditorToolbar label{flex:180px}.adminShell .adminLegalEditor textarea{min-height:360px;font-weight:450;line-height:1.6}.adminShell .adminLegalPreview{white-space:pre-wrap;overflow-wrap:anywhere;border:1px solid var(--line);border-radius:8px;padding:20px;font-weight:450;line-height:1.65}.adminShell .adminDraftStatus{color:var(--muted);margin:12px 0;font-size:12px}.adminShell .adminHistoryFilters{flex-wrap:wrap;align-items:end;gap:10px;display:flex}.adminShell .adminHistoryFilters label{flex:160px}.adminShell .adminPager{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-top:16px;display:flex}.adminShell :is(.adminResponsiveTable,.adminResponsiveTable pre){overflow-wrap:anywhere}@media (max-width:1360px){.adminShell .tableWrap:has(.adminResponsiveTable){overflow:visible}.adminShell .adminResponsiveTable{width:100%;min-width:0;display:block}.adminShell .adminResponsiveTable thead{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.adminShell .adminResponsiveTable tbody{gap:14px;display:grid}.adminShell .adminResponsiveTable tr{border:1px solid var(--line);background:var(--surface);border-radius:10px;grid-template-columns:repeat(2,minmax(0,1fr));padding:6px;display:grid;overflow:hidden}.adminShell .adminResponsiveTable td{white-space:normal;text-align:start;border:0;width:auto;min-width:0;max-width:none;padding:10px;display:block}.adminShell .adminResponsiveTable td:first-child,.adminShell .adminResponsiveTable td:last-child,.adminShell .adminResponsiveTable td[colspan]{grid-column:1/-1}.adminShell .adminResponsiveTable td[data-label]:before{content:attr(data-label);color:var(--muted);margin-bottom:6px;font-size:11px;font-weight:650;display:block}.adminShell .adminResponsiveTable td[data-label=Actions]:before{display:none}.adminShell .adminResponsiveTable td>:is(strong,span){overflow-wrap:anywhere}.adminShell .adminResponsiveTable .tableActions{flex-wrap:wrap;justify-content:flex-start}.adminShell .adminResponsiveTable .rowAction{text-align:start}.adminShell .adminResponsiveTable .emptyState{min-width:0;padding:24px 12px}}@media (max-width:760px){.adminShell .adminDiagnosticGrid{grid-template-columns:1fr}.adminShell .adminDataList{grid-template-columns:1fr;gap:4px}.adminShell .adminDataList dd{margin-bottom:12px}.adminShell .adminEditorToolbar{top:64px}}.subscriptionQuotaFieldset{border:1px solid var(--border,#dce5ec);border-radius:14px;min-width:0;margin:0;padding:18px}.subscriptionQuotaFieldset legend{padding:0 8px;font-weight:700}#subscription-limits{grid-column:1/-1}.subscriptionQuotaPlans{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.subscriptionQuotaFields{gap:14px;display:grid}.settingsForm .subscriptionQuotaFields label{grid-template-columns:minmax(0,1fr) 112px;align-items:center;gap:14px;display:grid}.subscriptionQuotaFields input{width:100%;min-width:0}.subscriptionQuotaHistory{margin:20px}.subscriptionQuotaHistory summary{cursor:pointer;font-weight:600}.subscriptionQuotaHistory li{margin-block:16px}.subscriptionQuotaHistory ul{overflow-wrap:anywhere}@media (max-width:760px){.subscriptionQuotaPlans{grid-template-columns:minmax(0,1fr)}}.supportTicketHeader{grid-template-columns:minmax(0,1fr)}.supportTicketHeader>div{min-width:0;max-width:100%}.supportTicketHeader h1,.supportTicketHeader p{overflow-wrap:anywhere}.supportTicketHeader .headerPills{flex-wrap:wrap}
