.portal-legacy-scope{--portal-fg:var(--foreground);--portal-muted:var(--muted-foreground);--portal-surface:var(--portal-surface-light,#fff);--portal-surface-strong:var(--portal-surface-light,#fff);--portal-border:var(--portal-border-light,#e2e8f0);--portal-brand-text:var(--portal-brand-text-light,var(--brand-link));--portal-status-error:#be123c;font-family:var(--portal-font-sans,var(--font-sans))}.dark .portal-legacy-scope{--portal-surface:var(--portal-surface-dark,#0f172a);--portal-surface-strong:var(--portal-surface-dark,#0f172a);--portal-border:var(--portal-border-dark,#334155);--portal-brand-text:var(--portal-brand-text-dark,var(--brand-link));--portal-status-error:#fda4af}.portal-legacy-scope .font-serif{font-family:var(--portal-font-serif,var(--font-display))}.portal-legacy-scope [class*="text-[color:var(--portal-brand)]"],.portal-legacy-scope [class*="text-[var(--portal-brand)]"]{color:var(--portal-brand-text)}.portal-legacy-scope [class*=text-\[9],.portal-legacy-scope [class*=text-\[10],.portal-legacy-scope [class*=text-\[11]{font-size:.75rem;line-height:1.5}.portal-legacy-scope [class~="text-[#FFC5D0]"]{color:var(--portal-status-error)}.portal-legacy-scope :is(.portal-card,.portal-hint,.portal-empty){border:1px solid var(--portal-border);border-radius:calc(var(--radius,.5rem) + .25rem);background:var(--portal-surface);color:var(--portal-fg);box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}.portal-legacy-scope :is(.portal-hint,.portal-empty){flex-wrap:wrap;align-items:flex-start;gap:.75rem;padding:1rem;display:flex}.portal-legacy-scope :is(.portal-hint-icon,.portal-empty-icon,.portal-glow-icon){color:var(--portal-muted);box-shadow:none;flex-shrink:0}.portal-legacy-scope :is(.portal-cta-primary,.portal-cta-ghost,.portal-tab,.portal-more-item,.portal-icon-btn){border-radius:var(--radius,.5rem);min-height:2.75rem;font-size:.875rem;font-family:var(--portal-font-sans,var(--font-sans));box-shadow:none;justify-content:center;align-items:center;gap:.5rem;padding:.5rem .875rem;font-weight:500;line-height:1.25;transition:background-color .15s,color .15s;display:inline-flex}.portal-legacy-scope .portal-cta-primary,.portal-legacy-scope .portal-tab[aria-selected=true],.portal-legacy-scope [class~="bg-[var(--portal-brand)]"]{background:var(--portal-brand);color:var(--portal-brand-fg);border-color:var(--portal-brand)}.portal-legacy-scope :is(.portal-cta-ghost,.portal-icon-btn){border:1px solid var(--portal-border);background:var(--portal-surface);color:var(--portal-fg)}.portal-legacy-scope .portal-icon-btn{min-width:2.75rem;padding:.5rem}.portal-legacy-scope :is(.portal-cta-primary,.portal-cta-ghost,.portal-icon-btn):hover{filter:brightness(.96)}.portal-legacy-scope :is(button,a,input,select,textarea):focus-visible{outline:2px solid var(--portal-brand-text);outline-offset:2px}.portal-legacy-scope :is(button,input,select,textarea):disabled{cursor:not-allowed;opacity:.6}.portal-legacy-scope .portal-input{border:1px solid var(--portal-border);border-radius:var(--radius,.5rem);background:var(--portal-surface-strong);min-height:2.75rem;color:var(--portal-fg);padding:.5rem .75rem;font-size:1rem}.portal-legacy-scope :is(.portal-chip,.portal-chip-brand,.portal-chip-ok,.portal-chip-warn,.portal-chip-alert,.portal-tab-badge){border:1px solid var(--portal-border);background:var(--portal-surface);color:var(--portal-muted);border-radius:.375rem;align-items:center;gap:.25rem;padding:.125rem .375rem;font-size:.75rem;font-weight:500;line-height:1.5;display:inline-flex}.portal-legacy-scope .portal-chip-brand{color:var(--portal-brand-text)}.portal-legacy-scope .portal-chip-ok{color:#065f46;background:#ecfdf5;border-color:#a7f3d0}.portal-legacy-scope .portal-chip-warn{color:#92400e;background:#fffbeb;border-color:#fde68a}.portal-legacy-scope .portal-chip-alert{color:#9f1239;background:#fff1f2;border-color:#fecdd3}.dark .portal-legacy-scope .portal-chip-ok{color:#6ee7b7;background:#022c22;border-color:#065f46}.dark .portal-legacy-scope .portal-chip-warn{color:#fde68a;background:#451a03;border-color:#92400e}.dark .portal-legacy-scope .portal-chip-alert{color:#fda4af;background:#4c0519;border-color:#9f1239}.portal-legacy-scope .portal-kpi-label{color:var(--portal-muted);font-size:.75rem}.portal-legacy-scope .portal-kpi-value{font-variant-numeric:tabular-nums;color:var(--portal-fg);margin-top:.25rem;font-size:1.5rem;font-weight:600}.portal-legacy-scope .portal-kpi-hint{color:var(--portal-muted);margin-top:.25rem;font-size:.75rem}.portal-legacy-scope .portal-link{color:var(--portal-brand-text);text-underline-offset:.25rem}.portal-legacy-scope .portal-link:hover{text-decoration:underline}.portal-legacy-scope.portal-more-menu{border-radius:calc(var(--radius,.5rem) + .25rem);background:var(--portal-surface-strong);color:var(--portal-fg);box-shadow:0 8px 24px #0f172a1f}.portal-legacy-scope .portal-skeleton{background:var(--muted);border-radius:.375rem;animation:1.6s ease-in-out infinite portal-legacy-loading}@keyframes portal-legacy-loading{50%{opacity:.5}}@media (prefers-reduced-motion:reduce){.portal-legacy-scope .portal-skeleton{animation:none}.portal-legacy-scope :is(.portal-cta-primary,.portal-cta-ghost,.portal-tab,.portal-more-item,.portal-icon-btn){transition:none}}
