@layer theme, base, components, utilities;:root{--animation-duration-fast:150ms;--animation-duration-normal:200ms;--animation-duration-slow:300ms;--animation-duration-slower:400ms;--animation-easing-ease-out:ease-out;--animation-easing-ease-in-out:ease-in-out;--animation-easing-spring:cubic-bezier(0.34,1.56,0.64,1);--animation-stagger-fast:30ms;--animation-stagger-normal:50ms;--animation-stagger-slow:80ms}@media (prefers-reduced-motion:reduce){:root{--animation-duration-fast:0ms;--animation-duration-normal:0ms;--animation-duration-slow:0ms;--animation-duration-slower:0ms;--animation-stagger-fast:0ms;--animation-stagger-normal:0ms;--animation-stagger-slow:0ms}}.ui-theme{--color-background:#faf9f7;--color-foreground:#0f172a;--color-card:#ffffff;--color-card-foreground:#0f172a;--color-popover:#ffffff;--color-popover-foreground:#0f172a;--color-muted:#f3f2ef;--color-muted-foreground:#475569;--color-border:#e2e8f0;--color-input:#e2e8f0;--color-description-foreground:var(--color-muted-foreground);--skeleton-shimmer-peak:rgba(0,0,0,0.07);--color-secondary:#f1f5f9;--color-secondary-foreground:#0f172a;--color-success:#16a34a;--color-success-muted:rgba(22,163,74,0.1);--color-destructive:#dc2626;--color-destructive-muted:rgba(220,38,38,0.1);--color-warning:#d97706;--color-warning-muted:rgba(217,119,6,0.1);--color-info:#2563eb;--color-info-muted:rgba(37,99,235,0.1);--color-priority-urgent:#dc2626;--color-priority-urgent-muted:rgba(220,38,38,0.1);--color-priority-high:#ea580c;--color-priority-high-muted:rgba(234,88,12,0.1);--color-priority-medium:#ce6c07;--color-priority-medium-muted:rgba(206,108,7,0.1);--color-priority-low:#3b82f6;--color-priority-low-muted:rgba(59,130,246,0.1);--color-priority-none:#7f8693;--color-priority-none-muted:rgba(127,134,147,0.1);--glass-bg:rgba(0,0,0,0.02);--glass-border:rgba(0,0,0,0.06);--glass-highlight:rgba(0,0,0,0.02);--segmented-track:var(--color-muted);--segmented-pill:var(--color-card);--shadow-sm:0 1px 2px rgba(0,0,0,0.05);--shadow-md:0 4px 12px rgba(0,0,0,0.08);--shadow-lg:0 8px 24px rgba(0,0,0,0.12);--chart-1:#2563eb;--chart-2:#16a34a;--chart-3:#ea580c;--chart-4:#7c3aed;--chart-5:#0891b2;--chart-6:#dc2626;--chart-grid:var(--color-border);--chart-axis-tick:var(--color-muted-foreground);--geo-scale-low:#dbeafe;--geo-scale-high:#1d4ed8}.dark .ui-theme,.ui-theme.dark,.ui-theme[data-mode=dark]{--color-background:#08080c;--color-foreground:#e4e4eb;--color-card:#14141c;--color-card-foreground:#e4e4eb;--color-popover:#14141c;--color-popover-foreground:#e4e4eb;--color-muted:#1a1a24;--color-muted-foreground:#7e7e88;--color-border:#2a2a3a;--color-input:#2a2a3a;--color-description-foreground:var(--color-muted-foreground);--skeleton-shimmer-peak:rgba(255,255,255,0.09);--color-secondary:#1a1a24;--color-secondary-foreground:#e4e4eb;--color-success:#22c55e;--color-success-muted:rgba(34,197,94,0.15);--color-destructive:#f87171;--color-destructive-muted:rgba(248,113,113,0.15);--color-warning:#fbbf24;--color-warning-muted:rgba(251,191,36,0.15);--color-info:#60a5fa;--color-info-muted:rgba(96,165,250,0.15);--color-priority-urgent:#f87171;--color-priority-urgent-muted:rgba(248,113,113,0.15);--color-priority-high:#fb923c;--color-priority-high-muted:rgba(251,146,60,0.15);--color-priority-medium:#fbbf24;--color-priority-medium-muted:rgba(251,191,36,0.15);--color-priority-low:#60a5fa;--color-priority-low-muted:rgba(96,165,250,0.15);--color-priority-none:#9ca3af;--color-priority-none-muted:rgba(156,163,175,0.15);--glass-bg:rgba(255,255,255,0.03);--glass-border:rgba(255,255,255,0.08);--glass-highlight:rgba(255,255,255,0.05);--segmented-track:var(--color-muted);--segmented-pill:var(--color-border);--shadow-sm:0 1px 2px rgba(0,0,0,0.5);--shadow-md:0 4px 12px rgba(0,0,0,0.6);--shadow-lg:0 8px 24px rgba(0,0,0,0.7);--chart-1:#60a5fa;--chart-2:#4ade80;--chart-3:#fb923c;--chart-4:#a78bfa;--chart-5:#22d3ee;--chart-6:#f87171;--chart-grid:var(--color-border);--chart-axis-tick:var(--color-muted-foreground);--geo-scale-low:#1e3a5f;--geo-scale-high:#60a5fa}.dark .ui-theme-admin,.dark .ui-theme-creator,.dark .ui-theme-marketplace,.dark .ui-theme-odonto-ai,.dark .ui-theme-student,.ui-theme-admin.dark,.ui-theme-admin[data-mode=dark],.ui-theme-creator.dark,.ui-theme-creator[data-mode=dark],.ui-theme-marketplace.dark,.ui-theme-marketplace[data-mode=dark],.ui-theme-odonto-ai.dark,.ui-theme-odonto-ai[data-mode=dark],.ui-theme-student.dark,.ui-theme-student[data-mode=dark]{--color-background:#08080c;--color-foreground:#e4e4eb;--color-card:#14141c;--color-card-foreground:#e4e4eb;--color-popover:#14141c;--color-popover-foreground:#e4e4eb;--color-muted:#1a1a24;--color-muted-foreground:#7e7e88;--color-border:#2a2a3a;--color-input:#2a2a3a;--skeleton-shimmer-peak:rgba(255,255,255,0.09);--color-secondary:#1a1a24;--color-secondary-foreground:#e4e4eb;--color-success:#22c55e;--color-success-muted:rgba(34,197,94,0.15);--color-destructive:#f87171;--color-destructive-muted:rgba(248,113,113,0.15);--color-warning:#fbbf24;--color-warning-muted:rgba(251,191,36,0.15);--color-info:#60a5fa;--color-info-muted:rgba(96,165,250,0.15);--color-priority-urgent:#f87171;--color-priority-urgent-muted:rgba(248,113,113,0.15);--color-priority-high:#fb923c;--color-priority-high-muted:rgba(251,146,60,0.15);--color-priority-medium:#fbbf24;--color-priority-medium-muted:rgba(251,191,36,0.15);--color-priority-low:#60a5fa;--color-priority-low-muted:rgba(96,165,250,0.15);--color-priority-none:#9ca3af;--color-priority-none-muted:rgba(156,163,175,0.15);--glass-bg:rgba(255,255,255,0.03);--glass-border:rgba(255,255,255,0.08);--glass-highlight:rgba(255,255,255,0.05);--shadow-sm:0 1px 2px rgba(0,0,0,0.5);--shadow-md:0 4px 12px rgba(0,0,0,0.6);--shadow-lg:0 8px 24px rgba(0,0,0,0.7)}.ui-theme{--color-primary-rgb:139 92 246;--color-primary-hover-rgb:167 139 250;--color-accent-rgb:6 182 212;--color-accent-hover-rgb:34 211 238;--color-primary-foreground:#ffffff}.dark .ui-theme{--color-primary-rgb:139 92 246;--color-primary-hover-rgb:167 139 250;--color-accent-rgb:6 182 212;--color-accent-hover-rgb:34 211 238;--color-primary-foreground:#000000}:where(.ui-theme){--sidebar-accent:color-mix(in oklch,var(--color-primary) 8%,var(--sidebar,var(--color-zinc-100)));--color-sidebar-accent:color-mix(in oklch,var(--color-primary) 8%,var(--sidebar,var(--color-zinc-100)));--sidebar-accent-foreground:var(--sidebar-foreground,var(--color-zinc-950));--color-sidebar-accent-foreground:var(--sidebar-foreground,var(--color-zinc-950))}:where(.dark .ui-theme,.ui-theme.dark,.ui-theme[data-mode=dark]){--sidebar-accent:color-mix(in oklch,var(--color-primary) 8%,var(--sidebar,var(--color-zinc-950)));--color-sidebar-accent:color-mix(in oklch,var(--color-primary) 8%,var(--sidebar,var(--color-zinc-950)));--sidebar-accent-foreground:var(--sidebar-foreground,var(--color-zinc-50));--color-sidebar-accent-foreground:var(--sidebar-foreground,var(--color-zinc-50))}.ui-theme-admin{--color-primary-rgb:14 116 144;--color-primary-hover-rgb:8 145 178;--color-accent-rgb:180 83 9;--color-accent-hover-rgb:217 119 6;--color-primary-foreground:#ffffff}.dark .ui-theme-admin,.dark .ui-theme[data-theme=admin],.ui-theme-admin.dark,.ui-theme-admin[data-mode=dark],.ui-theme[data-theme=admin].dark,.ui-theme[data-theme=admin][data-mode=dark]{--color-primary-rgb:6 182 212;--color-primary-hover-rgb:34 211 238;--color-accent-rgb:245 158 11;--color-accent-hover-rgb:251 191 36;--color-primary-foreground:#000000}.ui-theme-asyncme{--color-primary-rgb:30 41 59;--color-primary-hover-rgb:51 65 85;--color-accent-rgb:71 85 105;--color-accent-hover-rgb:51 65 85;--color-primary-foreground:#ffffff}.dark .ui-theme-asyncme,.dark .ui-theme[data-theme=asyncme],.ui-theme-asyncme.dark,.ui-theme-asyncme[data-mode=dark],.ui-theme[data-theme=asyncme].dark,.ui-theme[data-theme=asyncme][data-mode=dark]{--color-primary-rgb:203 213 225;--color-primary-hover-rgb:226 232 240;--color-accent-rgb:148 163 184;--color-accent-hover-rgb:203 213 225;--color-primary-foreground:var(--color-zinc-950)}.ui-theme-creator{--color-primary-rgb:181 53 24;--color-primary-hover-rgb:210 66 40;--color-accent-rgb:190 18 60;--color-accent-hover-rgb:225 29 72;--color-primary-foreground:#ffffff}.dark .ui-theme-creator,.dark .ui-theme[data-theme=creator],.ui-theme-creator.dark,.ui-theme-creator[data-mode=dark],.ui-theme[data-theme=creator].dark,.ui-theme[data-theme=creator][data-mode=dark]{--color-primary-rgb:217 119 87;--color-primary-hover-rgb:224 92 58;--color-accent-rgb:190 18 60;--color-accent-hover-rgb:225 29 72;--color-primary-foreground:#1c1917}.ui-theme-student{--color-primary-rgb:4 120 87;--color-primary-hover-rgb:5 150 105;--color-accent-rgb:3 105 161;--color-accent-hover-rgb:2 132 199;--color-primary-foreground:#ffffff}.dark .ui-theme-student,.dark .ui-theme[data-theme=student],.ui-theme-student.dark,.ui-theme-student[data-mode=dark],.ui-theme[data-theme=student].dark,.ui-theme[data-theme=student][data-mode=dark]{--color-primary-rgb:16 185 129;--color-primary-hover-rgb:52 211 153;--color-accent-rgb:14 165 233;--color-accent-hover-rgb:56 189 248;--color-primary-foreground:#000000}.ui-theme-odonto-ai{--color-primary-rgb:11 101 128;--color-primary-hover-rgb:14 116 144;--color-accent-rgb:14 165 233;--color-accent-hover-rgb:56 189 248;--color-primary-foreground:#ffffff}.dark .ui-theme-odonto-ai,.dark .ui-theme[data-theme=odonto-ai],.ui-theme-odonto-ai.dark,.ui-theme-odonto-ai[data-mode=dark],.ui-theme[data-theme=odonto-ai].dark,.ui-theme[data-theme=odonto-ai][data-mode=dark]{--color-primary-rgb:6 182 212;--color-primary-hover-rgb:34 211 238;--color-accent-rgb:14 165 233;--color-accent-hover-rgb:56 189 248;--color-primary-foreground:#000000}.ui-theme-ordo{--color-primary-rgb:194 65 12;--color-primary-hover-rgb:234 88 12;--color-accent-rgb:225 29 72;--color-accent-hover-rgb:244 63 94;--color-primary-foreground:#ffffff}.dark .ui-theme-ordo,.dark .ui-theme[data-theme=ordo],.ui-theme-ordo.dark,.ui-theme-ordo[data-mode=dark],.ui-theme[data-theme=ordo].dark,.ui-theme[data-theme=ordo][data-mode=dark]{--color-primary-rgb:249 115 22;--color-primary-hover-rgb:251 146 60;--color-accent-rgb:225 29 72;--color-accent-hover-rgb:244 63 94;--color-primary-foreground:#000000}.ui-theme-movia{--color-primary-rgb:231 97 20;--color-primary-hover-rgb:210 87 15;--color-accent-rgb:231 97 20;--color-accent-hover-rgb:210 87 15;--color-primary-foreground:#0A0E1F}.dark .ui-theme-movia,.dark .ui-theme[data-theme=movia],.ui-theme-movia.dark,.ui-theme-movia[data-mode=dark],.ui-theme[data-theme=movia].dark,.ui-theme[data-theme=movia][data-mode=dark]{--color-primary-rgb:238 124 58;--color-primary-hover-rgb:242 146 89;--color-accent-rgb:238 124 58;--color-accent-hover-rgb:242 146 89;--color-primary-foreground:#05070F}.ui-theme-marketplace{--color-primary-rgb:210 66 40;--color-primary-hover-rgb:224 92 58;--color-accent-rgb:93 74 57;--color-accent-hover-rgb:72 56 43;--color-primary-foreground:#ffffff}.dark .ui-theme-marketplace,.dark .ui-theme[data-theme=marketplace],.ui-theme-marketplace.dark,.ui-theme-marketplace[data-mode=dark],.ui-theme[data-theme=marketplace].dark,.ui-theme[data-theme=marketplace][data-mode=dark]{--color-primary-rgb:210 66 40;--color-primary-hover-rgb:224 92 58;--color-accent-rgb:150 115 85;--color-accent-hover-rgb:125 92 65;--color-primary-foreground:#ffffff}[data-radix-popper-content-wrapper]{z-index:var(--z-popover)!important}[data-pageshell-theme]{--surface-sidebar-dropdown:var(--surface-elevated);--surface-dropdown:var(--surface-elevated);--surface-dialog:var(--surface-elevated);--surface-sheet:var(--surface-dialog);--portal-foreground:var(--text-primary,var(--color-zinc-950));--portal-muted:var(--surface-default,var(--color-zinc-100));--portal-muted-foreground:var(--text-secondary,var(--color-zinc-600));--portal-border:var(--border-subtle,var(--color-zinc-200));--portal-primary:var(--color-primary,#0e7490);--portal-primary-foreground:var(--text-primary,var(--color-zinc-950));--portal-accent:var(--color-accent,color-mix(in oklch,#0e7490 10%,var(--color-zinc-100)));--portal-accent-foreground:var(--text-primary,var(--color-zinc-950));--input-radius:var(--radius-md);--touch-target-min:2rem}@media (pointer:coarse){[data-pageshell-theme]{--touch-target-min:2.75rem}}[data-pageshell-theme=default]{--surface-sidebar-dropdown:#ffffff;--surface-dropdown:#ffffff;--surface-dialog:#ffffff;--portal-foreground:var(--color-zinc-950);--portal-muted:var(--color-zinc-100);--portal-muted-foreground:var(--color-zinc-600);--portal-border:var(--color-zinc-200);--portal-primary:#0e7490;--portal-primary-foreground:var(--color-zinc-950);--portal-accent:color-mix(in oklch,#0e7490 10%,var(--color-zinc-100));--portal-accent-foreground:var(--color-zinc-950)}[data-pageshell-theme] .sidebar-dropdown{--color-popover:var(--surface-sidebar-dropdown);--color-popover-foreground:var(--portal-foreground);--color-accent:var(--portal-accent);--color-accent-foreground:var(--portal-accent-foreground);--color-muted:var(--portal-muted);--color-muted-foreground:var(--portal-muted-foreground);--color-border:var(--portal-border);background-color:var(--surface-sidebar-dropdown)!important;color:var(--portal-foreground)!important;border-color:var(--portal-border)!important}[data-pageshell-theme] .themed-dropdown,[data-pageshell-theme] .themed-popover,[data-pageshell-theme] .themed-select{--color-popover:var(--surface-dropdown);--color-popover-foreground:var(--portal-foreground);--color-accent:var(--portal-accent);--color-accent-foreground:var(--portal-accent-foreground);--color-muted:var(--portal-muted);--color-muted-foreground:var(--portal-muted-foreground);--color-border:var(--portal-border);background-color:var(--surface-dropdown)!important;color:var(--portal-foreground)!important;border-color:var(--portal-border)!important}[data-pageshell-theme] .themed-dialog,[data-pageshell-theme] .themed-sheet{--color-background:var(--surface-dialog);--color-foreground:var(--portal-foreground);--color-border:var(--portal-border);--color-muted:var(--portal-muted);--color-muted-foreground:var(--portal-muted-foreground);--color-primary:var(--portal-primary);--color-primary-foreground:var(--portal-primary-foreground);background-color:var(--surface-dialog)!important;color:var(--portal-foreground)!important;border-color:var(--portal-border)!important}[data-pageshell-theme] .themed-tooltip{--color-primary:var(--portal-primary);--color-primary-foreground:var(--portal-primary-foreground);background-color:var(--portal-primary)!important;color:var(--portal-primary-foreground)!important}.dark[data-pageshell-theme]{--surface-sidebar-dropdown:var(--color-neutral-800);--portal-foreground:var(--color-neutral-50);--portal-muted:var(--color-neutral-700);--portal-muted-foreground:var(--color-neutral-300);--portal-border:var(--color-neutral-600)}.dark[data-pageshell-theme] .sidebar-dropdown{--color-popover:var(--surface-sidebar-dropdown);--color-popover-foreground:var(--portal-foreground);--color-accent-foreground:var(--portal-foreground);--color-muted-foreground:var(--portal-foreground);--color-border:var(--portal-border);background-color:var(--surface-sidebar-dropdown)!important;color:var(--portal-foreground)!important;border-color:var(--portal-border)!important}.dark[data-pageshell-theme=default]{--surface-sidebar-dropdown:var(--color-zinc-900);--surface-dropdown:var(--color-zinc-900);--surface-dialog:var(--color-zinc-900);--portal-foreground:var(--color-zinc-50);--portal-muted:var(--color-zinc-800);--portal-muted-foreground:var(--color-zinc-400);--portal-border:var(--color-zinc-700);--portal-primary:#06b6d4;--portal-primary-foreground:#000000;--portal-accent:var(--color-zinc-800);--portal-accent-foreground:var(--color-zinc-50)}.ui-theme{background-color:var(--color-background);color:var(--color-foreground);font-family:var(--font-sans,system-ui,-apple-system,sans-serif);min-height:100vh;overflow-x:hidden;overflow-x:clip;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);transition:background-color .5s ease-out,color .3s ease-out}@layer base{.ui-theme *{border-color:var(--color-border)}}.portal-mono{font-family:var(--font-mono,"SF Mono",Menlo,monospace);font-size:.875rem}.portal-label{font-size:.75rem;font-weight:500;text-transform:uppercase;letter-spacing:.1em;color:var(--color-muted-foreground)}.portal-description{color:var(--color-description-foreground)}.portal-stat{gap:.5rem}.portal-stat-label{letter-spacing:.1em}.portal-stat-trend{display:inline-flex;align-items:center;gap:.25rem;font-size:.75rem;font-weight:500}.portal-stat-trend.positive{color:var(--color-success)}.portal-stat-trend.negative{color:var(--color-destructive)}.portal-stat-card{position:relative;overflow:hidden;padding:1.25rem;transition:all .3s cubic-bezier(.4,0,.2,1);container-type:inline-size}@container (max-width: 240px){.portal-stat-value{font-size:1.5rem}}.portal-stat-card:before{top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,transparent,var(--color-primary),transparent)}.portal-stat-card:after,.portal-stat-card:before{content:"";position:absolute;opacity:0;transition:opacity .3s ease}.portal-stat-card:after{inset:0;border-radius:inherit;pointer-events:none}.portal-stat-card:hover{transform:translateY(-2px)}.portal-stat-card:hover:after,.portal-stat-card:hover:before{opacity:1}.portal-stat-card-primary:before{background:linear-gradient(90deg,transparent,var(--color-primary),transparent)}.portal-stat-card-primary:after{box-shadow:0 8px 24px -8px rgb(var(--color-primary-rgb)/.15)}.portal-stat-card-secondary:before{background:linear-gradient(90deg,transparent,var(--color-muted-foreground),transparent)}.portal-stat-card-secondary:after{box-shadow:0 8px 24px -8px color-mix(in srgb,var(--color-muted-foreground) 10%,transparent)}.portal-stat-card-accent:before{background:linear-gradient(90deg,transparent,var(--color-accent),transparent)}.portal-stat-card-accent:after{box-shadow:0 8px 24px -8px rgb(var(--color-accent-rgb)/.15)}.portal-stat-card-streak:before{background:linear-gradient(90deg,transparent,rgb(245 158 11),transparent)}.portal-stat-card-streak:after{box-shadow:0 8px 24px -8px rgb(245 158 11/.15)}.portal-stat-card-warning:before{background:linear-gradient(90deg,transparent,var(--color-warning),transparent)}.portal-stat-card-warning:after{box-shadow:0 8px 24px -8px color-mix(in srgb,var(--color-warning) 15%,transparent)}.portal-stat-card-info:before{background:linear-gradient(90deg,transparent,var(--color-info),transparent)}.portal-stat-card-info:after{box-shadow:0 8px 24px -8px color-mix(in srgb,var(--color-info) 15%,transparent)}.portal-stat-card-success:before{background:linear-gradient(90deg,transparent,var(--color-success),transparent)}.portal-stat-card-success:after{box-shadow:0 8px 24px -8px color-mix(in srgb,var(--color-success) 15%,transparent)}.portal-module-card{position:relative;display:flex;flex-direction:column;height:100%;padding:1.25rem;overflow:hidden;transition:all .3s cubic-bezier(.4,0,.2,1)}.portal-module-card:before{content:"";position:absolute;inset:0;border-radius:inherit;border:1px solid transparent;opacity:0;transition:all .3s ease;pointer-events:none}.portal-module-card:hover{transform:translateY(-4px);box-shadow:0 12px 32px -8px rgb(var(--color-primary-rgb)/.15)}.portal-module-card:hover:before{opacity:1;border-color:rgb(var(--color-primary-rgb)/.3)}.portal-module-grid{display:grid;grid-template-columns:repeat(1,1fr);gap:1rem}@media (min-width:640px){.portal-module-grid{grid-template-columns:repeat(2,1fr)}}@media (min-width:1024px){.portal-module-grid{grid-template-columns:repeat(3,1fr)}}[data-shelf-item]{width:var(--shelf-w-base,280px)}@media (min-width:640px){[data-shelf-item]{width:var(--shelf-w-sm,var(--shelf-w-base,280px))}}@media (min-width:768px){[data-shelf-item]{width:var(--shelf-w-md,var(--shelf-w-sm,var(--shelf-w-base,280px)))}}@media (min-width:1024px){[data-shelf-item]{width:var(--shelf-w-lg,var(--shelf-w-md,var(--shelf-w-sm,var(--shelf-w-base,280px))))}}@media (min-width:1280px){[data-shelf-item]{width:var(--shelf-w-xl,var(--shelf-w-lg,var(--shelf-w-md,var(--shelf-w-sm,var(--shelf-w-base,280px)))))}}.portal-stat-icon{width:40px;height:40px;border-radius:12px;display:flex;align-items:center;justify-content:center}.portal-stat-icon.primary{background:rgb(var(--color-primary-rgb)/.1);color:var(--color-primary)}.portal-stat-icon.secondary{background:var(--color-muted);color:var(--color-muted-foreground)}.portal-stat-icon.accent{background:rgb(var(--color-accent-rgb)/.1);color:var(--color-accent)}.portal-stat-icon.streak{background:rgb(245 158 11/.1);color:rgb(245 158 11)}.portal-stat-icon.warning{background:color-mix(in srgb,var(--color-warning) 10%,transparent);color:var(--color-warning)}.portal-stat-icon.info{background:color-mix(in srgb,var(--color-info) 10%,transparent);color:var(--color-info)}.portal-stat-icon.success{background:color-mix(in srgb,var(--color-success) 10%,transparent);color:var(--color-success)}@media (max-width:639px){.portal-stats-compact .portal-stat-card{padding:.75rem}.portal-stats-compact .portal-stat-card-header{margin-bottom:.5rem}.portal-stats-compact .portal-stat-icon{width:32px;height:32px;border-radius:8px}.portal-stats-compact .portal-stat-icon svg{width:16px;height:16px}.portal-stats-compact .portal-stat-value{font-size:1.25rem}.portal-stats-compact .portal-stat-badge{font-size:.625rem;padding:.125rem .375rem}}.portal-badge-card{position:relative;padding:1.5rem;border-radius:16px;background:var(--color-card);border:1px solid var(--color-border);transition:all .3s cubic-bezier(.4,0,.2,1);overflow:hidden}.portal-badge-card-unlocked{border-color:rgb(var(--color-accent-rgb)/.3)}.portal-badge-card-unlocked:hover{transform:translateY(-4px);border-color:rgb(var(--color-accent-rgb)/.5);box-shadow:0 20px 40px -10px rgb(var(--color-accent-rgb)/.2),0 0 30px rgb(var(--color-accent-rgb)/.1)}.portal-badge-card-locked{opacity:.7}.portal-badge-card-locked:hover{opacity:.85;transform:translateY(-2px)}.portal-badge-card-glow{position:absolute;inset:-50%;background:radial-gradient(circle at center,rgb(var(--color-accent-rgb)/.1) 0,transparent 70%);pointer-events:none;animation:portal-badge-glow 3s ease-in-out infinite}@keyframes portal-badge-glow{0%,to{opacity:.5;transform:scale(1)}50%{opacity:1;transform:scale(1.1)}}.portal-badge-card-header{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:1rem}.portal-badge-card-icon{width:64px;height:64px;border-radius:16px;background:rgb(var(--color-accent-rgb)/.1);display:flex;align-items:center;justify-content:center}.portal-badge-card-icon-locked{background:var(--color-muted);filter:grayscale(100%)}.portal-badge-card-title{font-size:1rem;font-weight:600;color:var(--color-foreground);margin-bottom:.5rem}.portal-badge-card-description,.portal-badge-card-title-locked{color:var(--color-muted-foreground)}.portal-badge-card-description{font-size:.875rem;line-height:1.5}.portal-badge-card-date{display:flex;align-items:center;gap:.5rem;margin-top:1rem;font-size:.75rem;color:var(--color-muted-foreground)}.portal-badge-card-progress{margin-top:1rem;padding-top:1rem;border-top:1px solid var(--color-border)}.portal-badge-card-progress-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem;font-size:.75rem;color:var(--color-muted-foreground)}.portal-badge-card-progress-hint{font-size:.75rem;color:var(--color-muted-foreground);margin-top:.5rem;font-style:italic}.portal-badges-hero{display:flex;flex-direction:column;gap:1.5rem;padding:2rem;background:var(--color-card);border:1px solid var(--color-border);border-radius:24px;position:relative;overflow:hidden;margin-top:1rem;margin-bottom:1.5rem}@media (min-width:768px){.portal-badges-hero{flex-direction:row;align-items:center;justify-content:space-between}}.portal-badges-hero-main{flex:1}.portal-badges-hero-content{display:flex;flex-direction:column;gap:1rem;flex:1}.portal-badges-hero-title{font-size:1.5rem;font-weight:700;color:var(--color-foreground);letter-spacing:-.025em}.portal-badges-hero-subtitle{font-size:.875rem;color:var(--color-muted-foreground);line-height:1.5}.portal-badges-hero-progress{margin-top:.5rem}.portal-badges-hero-progress-bar{height:8px;background:var(--color-muted);border-radius:4px;overflow:hidden}.portal-badges-hero-progress-fill{height:100%;background:linear-gradient(90deg,var(--color-primary),var(--color-accent));border-radius:4px;transition:width .5s ease}.portal-badges-hero-progress-text{display:block;margin-top:.5rem;font-size:.75rem;color:var(--color-muted-foreground);font-family:var(--font-mono,"SF Mono",Menlo,monospace)}.portal-badges-tier-breakdown{display:flex;gap:.75rem;flex-wrap:wrap}.portal-nav{background:var(--color-card);border-right:1px solid var(--color-border);width:260px;display:flex;flex-direction:column}.portal-nav-header{padding:1.5rem;border-bottom:1px solid var(--color-border)}.portal-nav-brand{display:flex;align-items:center;gap:.75rem}.portal-nav-logo{width:32px;height:32px;background:linear-gradient(135deg,var(--color-primary),var(--color-accent));border-radius:12px;display:flex;align-items:center;justify-content:center}.portal-nav-title{font-family:var(--font-sans,system-ui,-apple-system,sans-serif);font-size:1.125rem;font-weight:600;color:var(--color-foreground)}.portal-nav-subtitle{font-size:.75rem;color:var(--color-muted-foreground)}.portal-nav-menu{padding:1rem;display:flex;flex-direction:column;gap:.25rem;flex:1}.portal-nav-item{display:flex;align-items:center;gap:.75rem;padding:12px 16px;border-radius:12px;font-size:.875rem;font-weight:500;color:var(--color-muted-foreground);transition:all .2s ease;text-decoration:none;min-height:44px;position:relative;overflow:hidden}.portal-nav-item:hover{background:var(--color-muted);color:var(--color-foreground)}.portal-nav-item.active{background:var(--color-primary-muted);color:var(--color-primary)}.portal-nav-icon{width:18px;height:18px;opacity:.7}.portal-nav-item.active .portal-nav-icon,.portal-nav-item:hover .portal-nav-icon{opacity:1}.portal-topbar{position:fixed;top:0;right:0;left:0;height:var(--header-height,64px);background:var(--color-popover);border-bottom:1px solid var(--color-border);z-index:40;padding:0 var(--space-4)}.portal-sidebar-spacer{width:var(--sidebar-width,220px);flex-shrink:0}@media (min-width:768px){.portal-topbar{left:var(--sidebar-width,220px);padding-left:var(--space-6);padding-right:var(--space-6)}}.portal-sidebar-fixed{position:fixed;top:0;left:0;width:var(--sidebar-width,220px);height:100vh;background:var(--color-popover);border-right:1px solid var(--color-border);z-index:30}.portal-avatar{display:inline-flex;align-items:center;justify-content:center;border-radius:9999px;background:var(--color-muted);color:var(--color-muted-foreground);border:1px solid var(--color-border);font-weight:600;text-transform:uppercase}.portal-avatar-md{width:40px;height:40px;font-size:.75rem}.portal-badge{display:inline-flex;align-items:center;padding:.25rem .625rem;border-radius:9999px;font-size:.6875rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em}.portal-badge-primary{background:color-mix(in srgb,var(--color-primary) 15%,var(--color-background));color:var(--color-primary)}.portal-badge-accent{background:color-mix(in srgb,var(--color-accent) 15%,var(--color-background));color:var(--color-accent)}.portal-badge-success{background:color-mix(in srgb,var(--color-success) 20%,var(--color-background));color:color-mix(in srgb,var(--color-success) 85%,var(--color-foreground))}.portal-badge-warning{background:color-mix(in srgb,var(--color-warning) 15%,var(--color-background));color:var(--color-warning)}.portal-badge-destructive,.portal-badge-error{background:color-mix(in srgb,var(--color-destructive) 15%,var(--color-background));color:var(--color-destructive)}.portal-badge-default{background:var(--color-muted);color:var(--color-foreground)}.portal-badge-info{background:color-mix(in srgb,var(--color-info) 15%,var(--color-background));color:var(--color-info)}.dark .portal-badge-primary{background:color-mix(in srgb,var(--color-primary) 25%,var(--color-background))}.dark .portal-badge-accent{background:color-mix(in srgb,var(--color-accent) 25%,var(--color-background))}.dark .portal-badge-warning{background:color-mix(in srgb,var(--color-warning) 25%,var(--color-background))}.dark .portal-badge-info{background:color-mix(in srgb,var(--color-info) 25%,var(--color-background))}.dark .portal-badge-success{background:color-mix(in srgb,var(--color-success) 30%,var(--color-background))}.dark .portal-badge-destructive,.dark .portal-badge-error{background:color-mix(in srgb,var(--color-destructive) 25%,var(--color-background))}.portal-badge-muted{background:var(--color-muted);color:var(--color-muted-foreground)}.portal-pg-badge{display:inline-flex;align-items:center;border-radius:9999px;border:1px solid transparent;padding:.125rem .625rem;font-size:.75rem;line-height:1;font-weight:600;transition:background-color var(--animation-duration-normal) var(--animation-easing-ease-out)}.portal-pg-badge:focus-visible{outline:none;box-shadow:0 0 0 2px var(--color-background),0 0 0 4px var(--color-ring)}.portal-pg-badge--default{background-color:var(--color-primary);color:var(--color-primary-foreground)}.portal-pg-badge--secondary{background-color:var(--color-secondary);color:var(--color-secondary-foreground)}.portal-pg-badge--destructive{background-color:var(--color-destructive);color:var(--color-destructive-foreground)}.portal-pg-badge--outline{background-color:transparent;color:var(--color-foreground);border-color:var(--color-border)}.portal-pg-badge--success{background-color:color-mix(in srgb,var(--color-success) 15%,transparent);color:color-mix(in srgb,var(--color-success) 85%,var(--color-foreground))}.portal-pg-badge--warning{background-color:color-mix(in srgb,var(--color-warning) 10%,transparent);color:var(--color-warning)}.portal-pg-badge--info{background-color:color-mix(in srgb,var(--color-info) 10%,transparent);color:var(--color-info)}.portal-pg-badge--neutral{background-color:var(--color-muted);color:color-mix(in srgb,var(--color-muted-foreground) 75%,var(--color-foreground))}.portal-pg-badge--counter{background-color:var(--color-secondary);color:var(--color-secondary-foreground);min-width:1.25rem;min-height:1.25rem;padding-block:0;padding-inline:.375rem;justify-content:center}.portal-btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:12px 24px;border-radius:12px;font-size:.875rem;font-weight:500;min-height:44px;transition:all .3s cubic-bezier(.4,0,.2,1);cursor:pointer;border:none}.portal-btn-primary{background:var(--color-primary);color:var(--color-primary-foreground)}.portal-btn-primary:hover{background:var(--color-primary-hover);transform:translateY(-2px);box-shadow:0 10px 30px -5px color-mix(in srgb,var(--theme-glow) 50%,transparent),0 0 20px color-mix(in srgb,var(--theme-glow) 30%,transparent)}.portal-btn-ghost{background:transparent;color:var(--color-muted-foreground)}.portal-btn-ghost:hover{background:var(--color-muted);color:var(--color-foreground)}.portal-btn-outline{background:transparent;color:var(--color-foreground);border:1px solid var(--color-border)}.portal-btn-outline:hover{background:var(--color-muted);border-color:var(--color-primary)}.portal-section-icon{width:48px;height:48px;border-radius:16px;display:flex;align-items:center;justify-content:center;position:relative}.portal-section-icon svg{width:24px;height:24px;position:relative;z-index:1}.portal-section-icon.primary{background:var(--color-primary-muted);color:var(--color-primary)}.portal-section-icon.accent{background:var(--color-accent-muted);color:var(--color-accent)}.portal-section-icon.success{background:var(--color-success-muted);color:var(--color-success)}.portal-section-icon.info{background:var(--color-info-muted);color:var(--color-info)}.portal-section-icon.warning{background:color-mix(in srgb,var(--color-warning) 15%,transparent);color:var(--color-warning)}.portal-section-icon.red{background:rgb(239 68 68/.15);color:rgb(239 68 68)}.portal-section-icon.destructive,.portal-section-icon.error{background:color-mix(in srgb,var(--color-destructive) 15%,transparent);color:var(--color-destructive)}.portal-card-interactive:hover .portal-section-icon.primary{box-shadow:var(--glow-primary)}.portal-card-interactive:hover .portal-section-icon.accent{box-shadow:var(--glow-accent)}.portal-status-indicator{position:relative;display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;flex-shrink:0;overflow:visible}.portal-status-indicator-glow{position:absolute;width:26px;height:26px;border-radius:9999px;background:rgb(var(--color-primary-rgb)/.35);filter:blur(4px);animation:portal-glow-pulse 2s ease-in-out infinite}.portal-status-indicator-ring{position:absolute;width:18px;height:18px;border-radius:9999px;border:1px solid rgb(var(--color-primary-rgb)/.4);box-shadow:0 0 0 1px rgb(var(--color-primary-rgb)/.1)}.portal-status-indicator-dot{position:relative;width:8px;height:8px;border-radius:9999px;background:var(--color-primary);box-shadow:0 0 8px rgb(var(--color-primary-rgb)/.6)}@keyframes skeleton-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}@keyframes skeleton-pulse{0%,to{opacity:1}50%{opacity:.7}}@keyframes portal-fade-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@keyframes portal-slide-in{0%{opacity:0;transform:translateX(-8px)}to{opacity:1;transform:none}}@keyframes portal-glow-pulse{0%,to{opacity:.4}50%{opacity:.8}}@keyframes sidebar-active-pulse{0%,to{box-shadow:0 0 12px color-mix(in oklch,var(--sidebar-primary,var(--color-primary)) 20%,transparent)}50%{box-shadow:0 0 18px color-mix(in oklch,var(--sidebar-primary,var(--color-primary)) 30%,transparent)}}@keyframes sidebar-brand-breathe{0%,to{box-shadow:0 0 16px color-mix(in oklch,var(--sidebar-primary,var(--color-primary)) 25%,transparent)}50%{box-shadow:0 0 24px color-mix(in oklch,var(--sidebar-primary,var(--color-primary)) 35%,transparent)}}@keyframes sidebar-status-pulse{0%,to{box-shadow:0 0 0 0 color-mix(in oklch,var(--color-success) 40%,transparent)}50%{box-shadow:0 0 0 3px color-mix(in oklch,var(--color-success) 0%,transparent)}}@media (prefers-reduced-motion:reduce){*,:after,:before{--ps-sidebar-spring:ease!important}[style*=sidebar-spring]{transition-timing-function:ease!important}.animate-\[sidebar-active-pulse_3s_ease-in-out_infinite\],.animate-\[sidebar-brand-breathe_4s_ease-in-out_infinite\],.animate-\[sidebar-status-pulse_2s_ease-in-out_infinite\]{animation:none!important}}.portal-gradient-mesh{position:relative}.portal-gradient-mesh:before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 20% 0,color-mix(in oklch,var(--color-primary) 14%,transparent) 0,transparent 55%),radial-gradient(ellipse at 80% 20%,color-mix(in oklch,var(--color-accent) 12%,transparent) 0,transparent 45%),radial-gradient(ellipse at 45% 85%,color-mix(in oklch,var(--color-primary) 9%,transparent) 0,transparent 50%);pointer-events:none}.portal-grid-bg{position:relative}.portal-grid-bg:before{content:"";position:absolute;inset:0;background-image:linear-gradient(color-mix(in oklch,var(--color-border) 35%,transparent) 1px,transparent 1px),linear-gradient(90deg,color-mix(in oklch,var(--color-border) 35%,transparent) 1px,transparent 1px);background-size:40px 40px;opacity:.3;pointer-events:none}.portal-noise-overlay{position:relative}.portal-noise-overlay:after{content:"";position:absolute;inset:0;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");opacity:.035;pointer-events:none}.dark .portal-noise-overlay:after,.ui-theme.dark .portal-noise-overlay:after,.ui-theme[data-mode=dark] .portal-noise-overlay:after{opacity:.06}.portal-quick-action{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.75rem;padding:1.25rem 1rem;background:var(--color-card);border:1px solid var(--color-border);border-radius:16px;font-size:.875rem;font-weight:500;color:var(--color-muted-foreground);text-decoration:none;min-height:100px;text-align:center;position:relative;overflow:hidden;transition:transform .25s cubic-bezier(.4,0,.2,1),border-color .25s ease,box-shadow .25s ease}.portal-quick-action:before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgb(var(--color-primary-rgb)/.03) 0,transparent 50%);opacity:0;transition:opacity .25s ease}.portal-quick-action:hover{transform:translateY(-4px) scale(1.02);border-color:rgb(var(--color-primary-rgb)/.4);box-shadow:0 8px 24px -8px rgb(var(--color-primary-rgb)/.15),0 0 0 1px rgb(var(--color-primary-rgb)/.1)}.portal-quick-action:hover:before{opacity:1}.portal-quick-action:hover .portal-quick-action-icon{transform:scale(1.1);box-shadow:0 4px 12px -2px rgb(var(--color-primary-rgb)/.3)}.portal-quick-action:hover .portal-quick-action-label{color:var(--color-foreground)}.portal-quick-action-icon{width:44px;height:44px;border-radius:12px;background:linear-gradient(135deg,rgb(var(--color-primary-rgb)/.15) 0,rgb(var(--color-primary-rgb)/.05) 100%);display:flex;align-items:center;justify-content:center;transition:transform .25s cubic-bezier(.4,0,.2,1),box-shadow .25s ease}.portal-quick-action-icon svg{width:22px;height:22px;color:var(--color-primary);transition:color .2s ease}.portal-quick-action-label{font-weight:500;color:var(--color-muted-foreground);transition:color .2s ease;line-height:1.3}.portal-quick-action-featured{display:flex;flex-direction:row;align-items:center;gap:1rem;padding:1.25rem 1.5rem;background:var(--color-card);border-radius:16px;font-size:.875rem;text-decoration:none;min-height:80px;text-align:left;position:relative;overflow:hidden;transition:transform .3s cubic-bezier(.4,0,.2,1),box-shadow .3s ease}.portal-quick-action-featured:before{content:"";position:absolute;inset:0;border-radius:16px;padding:1.5px;background:linear-gradient(135deg,var(--color-primary) 0,var(--color-accent,var(--color-primary)) 50%,rgb(var(--color-primary-rgb)/.3) 100%);mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask-composite:exclude;-webkit-mask-composite:xor;opacity:.6;transition:opacity .3s ease}.portal-quick-action-featured:after{content:"";position:absolute;inset:-2px;border-radius:18px;background:linear-gradient(135deg,rgb(var(--color-primary-rgb)/.2) 0,color-mix(in srgb,var(--color-accent,var(--color-primary)) 10%,transparent) 100%);filter:blur(12px);opacity:0;z-index:-1;transition:opacity .3s ease}.portal-quick-action-featured:hover{transform:translateY(-4px);box-shadow:0 12px 32px -8px rgb(var(--color-primary-rgb)/.25)}.portal-quick-action-featured:hover:after,.portal-quick-action-featured:hover:before{opacity:1}.portal-quick-action-featured .portal-quick-action-icon{width:52px;height:52px;border-radius:14px;background:linear-gradient(135deg,rgb(var(--color-primary-rgb)/.2) 0,rgb(var(--color-primary-rgb)/.08) 100%);flex-shrink:0}.portal-quick-action-featured .portal-quick-action-icon svg{width:26px;height:26px}.portal-quick-action-featured-content{flex:1;min-width:0;display:flex;flex-direction:column;gap:.25rem}.portal-quick-action-featured-title{font-size:.9375rem;font-weight:600;color:var(--color-foreground);line-height:1.3}.portal-quick-action-featured-description{font-size:.8125rem;color:var(--color-muted-foreground);line-height:1.4}.portal-quick-action-featured-arrow{width:24px;height:24px;color:var(--color-muted-foreground);flex-shrink:0;transition:transform .25s cubic-bezier(.4,0,.2,1)}.portal-quick-action-featured:hover .portal-quick-action-featured-arrow{transform:translateX(4px);color:var(--color-primary)}.portal-quick-action-icon.violet{background:linear-gradient(135deg,rgb(139 92 246/.2),rgb(139 92 246/.08))}.portal-quick-action-icon.violet svg{color:rgb(139 92 246)}.portal-quick-action-icon.cyan{background:linear-gradient(135deg,rgb(6 182 212/.2),rgb(6 182 212/.08))}.portal-quick-action-icon.cyan svg{color:rgb(6 182 212)}.portal-quick-action-icon.emerald{background:linear-gradient(135deg,rgb(16 185 129/.2),rgb(16 185 129/.08))}.portal-quick-action-icon.emerald svg{color:rgb(16 185 129)}.portal-quick-action-icon.amber{background:linear-gradient(135deg,rgb(245 158 11/.2),rgb(245 158 11/.08))}.portal-quick-action-icon.amber svg{color:rgb(245 158 11)}.portal-quick-action-icon.blue{background:linear-gradient(135deg,rgb(59 130 246/.2),rgb(59 130 246/.08))}.portal-quick-action-icon.blue svg{color:rgb(59 130 246)}.portal-quick-action-icon.rose{background:linear-gradient(135deg,rgb(244 63 94/.2),rgb(244 63 94/.08))}.portal-quick-action-icon.rose svg{color:rgb(244 63 94)}.portal-quick-action.compact{gap:.5rem;padding:.625rem .75rem;border-radius:12px;min-height:auto;flex-direction:row;justify-content:flex-start;text-align:left}.portal-quick-action.compact .portal-quick-action-icon{width:32px;height:32px;border-radius:8px;flex-shrink:0}.portal-quick-action.compact .portal-quick-action-icon svg{width:16px;height:16px}.portal-quick-action.compact:hover{transform:translateY(-2px) scale(1.01)}.portal-quick-action.compact:hover .portal-quick-action-icon{transform:scale(1.05)}.portal-glass-card{background:var(--glass-bg);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border:1px solid var(--glass-border);border-radius:24px;box-shadow:var(--shadow-md);transition:all .4s cubic-bezier(.4,0,.2,1);position:relative;overflow:hidden}.portal-glass-card:before{content:"";position:absolute;inset:0;border-radius:inherit;border:1px solid var(--glass-highlight);pointer-events:none}.portal-glass-card:hover{transform:translateY(-8px);border-color:rgb(var(--color-primary-rgb)/.25);box-shadow:0 32px 64px -16px rgba(0,0,0,.2),0 0 0 1px color-mix(in srgb,var(--theme-glow) 10%,transparent)}.ui-theme-admin .bg-muted,.ui-theme-admin [class*="bg-muted\/"],.ui-theme-creator .bg-muted,.ui-theme-creator [class*="bg-muted\/"],.ui-theme-odonto-ai .bg-muted,.ui-theme-odonto-ai [class*="bg-muted\/"],.ui-theme-student .bg-muted,.ui-theme-student [class*="bg-muted\/"]{background:var(--glass-highlight)}.ui-theme-admin table tbody tr[class],.ui-theme-creator table tbody tr[class],.ui-theme-odonto-ai table tbody tr[class],.ui-theme-student table tbody tr[class]{background:transparent!important}.ui-theme-admin table tbody tr[class]:hover,.ui-theme-creator table tbody tr[class]:hover,.ui-theme-odonto-ai table tbody tr[class]:hover,.ui-theme-student table tbody tr[class]:hover{background:var(--glass-highlight)!important}.ui-theme-admin table thead[class],.ui-theme-creator table thead[class],.ui-theme-odonto-ai table thead[class],.ui-theme-student table thead[class]{background:transparent!important}.portal-chat{display:flex;flex-direction:column;background:var(--color-card);border:1px solid var(--color-border);border-radius:24px;overflow:hidden}.portal-chat-inline{background:transparent;border:none;border-radius:0}.portal-chat-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.5rem;background:var(--color-card);border-bottom:1px solid var(--color-border)}.portal-chat-header-main{display:flex;align-items:center;gap:.75rem}.portal-chat-header-leading{display:flex;align-items:center;justify-content:center}.portal-chat-header-text{display:flex;flex-direction:column;gap:.25rem}.portal-chat-header-title{font-size:1rem;font-weight:600;color:var(--color-foreground)}.portal-chat-header-description{font-size:.875rem;color:var(--color-muted-foreground)}.portal-chat-header-actions{display:flex;align-items:center;gap:.5rem}.portal-chat-header-status{font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:var(--color-muted-foreground)}.portal-chat-header-action{display:flex;align-items:center}.portal-chat-messages{display:flex;flex-direction:column;gap:1rem;padding:1.5rem;background:var(--color-background);overflow-y:auto;flex:1 1 auto;min-height:0;scrollbar-gutter:stable both-edges;overscroll-behavior:contain}.portal-chat-message{display:flex;align-items:flex-start;gap:.75rem}.portal-chat-message-assistant{justify-content:flex-start}.portal-chat-message-user{justify-content:flex-end;flex-direction:row-reverse}.portal-chat-message-system{justify-content:center;align-items:center}.portal-chat-message-body{display:flex;flex-direction:column;gap:.5rem;max-width:min(80%,640px);min-width:0}.portal-chat-message-body-assistant{align-items:flex-start;text-align:left}.portal-chat-message-body-user{align-items:flex-end;text-align:right}.portal-chat-message-body-system{align-items:center;text-align:center;max-width:min(70%,520px)}.portal-chat-message-user .portal-chat-bubble-content{white-space:pre-wrap}.portal-chat-avatar{display:flex}.portal-chat-avatar,.portal-chat-avatar-badge{align-items:center;justify-content:center;flex-shrink:0}.portal-chat-avatar-badge{width:32px;height:32px;border-radius:9999px;display:inline-flex;color:var(--color-foreground)}.portal-chat-avatar-badge-assistant{background:var(--color-primary)}.portal-chat-avatar-badge-user{background:var(--color-accent)}.portal-chat-avatar-fallback{background:linear-gradient(135deg,var(--color-primary),var(--color-accent));color:var(--color-foreground);font-weight:600}.portal-chat-message-author{font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:var(--color-muted-foreground)}.portal-chat-bubble{position:relative;padding:.75rem 1rem;border-radius:16px;border:1px solid var(--color-border);color:var(--color-foreground);box-shadow:var(--shadow-sm)}.portal-chat-bubble,.portal-chat-bubble-assistant{background:var(--color-card)}.portal-chat-bubble-user{background:rgb(var(--color-primary-rgb)/.12);border-color:rgb(var(--color-primary-rgb)/.2)}.portal-chat-bubble-system{background:var(--color-muted);border-style:dashed;box-shadow:none}.portal-chat-bubble-streaming{border-color:rgb(var(--color-primary-rgb)/.25);box-shadow:0 10px 24px -18px rgb(var(--color-primary-rgb)/.35)}.portal-chat-bubble-content{font-size:.9375rem;line-height:1.6;color:var(--color-foreground);word-break:break-word;text-wrap:pretty}.portal-chat-markdown h1,.portal-chat-markdown h2{font-size:.95rem;font-weight:600;margin:0 0 .5rem}.portal-chat-markdown h3{font-size:.9rem;font-weight:600;margin:0 0 .4rem}.portal-chat-markdown p{margin:0 0 .5rem}.portal-chat-markdown p:last-child{margin-bottom:0}.portal-chat-markdown ol,.portal-chat-markdown ul{margin:.5rem 0;padding-left:1.25rem}.portal-chat-markdown li{margin:.25rem 0}.portal-chat-markdown strong{font-weight:600}.portal-chat-markdown em{font-style:italic}.portal-chat-markdown a{color:var(--color-primary);text-decoration:none}.portal-chat-markdown a:hover{text-decoration:underline}.portal-chat-markdown pre{margin:.75rem 0;padding:.75rem;border-radius:12px;background:var(--color-muted);border:1px solid var(--color-border);overflow-x:auto}.portal-chat-markdown pre code{display:block;background:transparent;border:none;padding:0;font-size:.85rem}.portal-chat-markdown code{font-family:var(--font-mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace)}.portal-chat-markdown :not(pre)>code{background:var(--color-muted);border:1px solid var(--color-border);border-radius:6px;padding:.1rem .3rem;font-size:.85rem}.portal-chat-markdown blockquote{margin:.75rem 0;padding-left:.75rem;border-left:2px solid var(--color-primary);color:var(--color-muted-foreground);font-style:italic}.portal-chat-markdown hr{border:0;border-top:1px solid var(--color-border);margin:.75rem 0}.portal-chat-meta{display:flex;gap:.5rem;font-size:.75rem;color:var(--color-muted-foreground);font-variant-numeric:tabular-nums}.portal-chat-meta-assistant{justify-content:flex-start}.portal-chat-meta-user{justify-content:flex-end}.portal-chat-meta-system{justify-content:center}.portal-chat-footer{display:flex;flex-wrap:wrap;gap:.5rem}.portal-chat-cursor{display:inline-block;width:2px;height:1.1em;margin-left:2px;background:var(--color-primary);animation:portal-chat-blink 1s step-end infinite;vertical-align:-.1em}.portal-chat-typing{display:inline-flex;align-items:center;gap:.5rem;color:var(--color-muted-foreground);font-size:.875rem}.portal-chat-typing-dots{display:inline-flex;align-items:center;gap:.3rem}.portal-chat-typing-dot{width:6px;height:6px;border-radius:9999px;background:var(--color-muted-foreground);animation:portal-chat-typing 1s ease-in-out infinite}.portal-chat-typing-dot:nth-child(2){animation-delay:.15s}.portal-chat-typing-dot:nth-child(3){animation-delay:.3s}.portal-chat-typing-label{font-weight:500;color:var(--color-muted-foreground)}.portal-chat-composer{display:flex;align-items:flex-end;gap:.75rem;padding:1rem 1.5rem;border-top:1px solid var(--color-border);background:var(--color-card)}.portal-chat-messages-compact{max-height:320px;padding-right:.5rem}.portal-chat-empty-icon{width:48px;height:48px;border-radius:14px;background:var(--color-muted);color:var(--color-muted-foreground);display:flex;align-items:center;justify-content:center}.portal-chat-empty-title{font-size:.95rem;font-weight:600;color:var(--color-foreground)}.portal-chat-empty-description{font-size:.85rem;color:var(--color-muted-foreground);text-align:center;max-width:320px}.portal-chat-skeleton-row{display:flex;align-items:flex-start;gap:.75rem}.portal-chat-skeleton-row-user{justify-content:flex-end}.portal-chat-skeleton-avatar{width:32px;height:32px;border-radius:9999px}.portal-chat-skeleton-bubble{height:42px;width:70%;border-radius:16px}.portal-chat-skeleton-bubble-user{width:60%}.portal-chat-skeleton-bubble-short{width:45%}@keyframes portal-chat-blink{0%,49%{opacity:1}50%,to{opacity:0}}@keyframes portal-chat-typing{0%,80%,to{transform:translateY(0);opacity:.6}40%{transform:translateY(-3px);opacity:1}}@media (max-width:640px){.portal-chat-composer,.portal-chat-header{padding:.75rem 1rem}.portal-chat-messages{padding:1rem;gap:.75rem}.portal-chat-message-body,.portal-chat-message-body-system{max-width:100%}.portal-chat-bubble{padding:.65rem .85rem}}.portal-profile-input{width:100%;padding:.75rem 1rem;background:var(--input-bg,var(--surface-elevated));border:1px solid var(--input-border,var(--border-default));border-radius:var(--input-radius,.5rem);color:var(--input-text,var(--text-primary));font-size:.875rem;line-height:1.5;transition:all .15s ease}.portal-profile-input:focus{outline:none;border-color:var(--color-primary);box-shadow:0 0 0 3px rgb(var(--color-primary-rgb)/.1)}.portal-profile-input::placeholder{color:var(--input-placeholder,var(--text-tertiary))}.portal-profile-input:disabled{opacity:.5;cursor:not-allowed;background:var(--input-disabled-bg,var(--surface-default))}.portal-profile-textarea{min-height:100px;resize:vertical}.portal-profile-field{display:flex;flex-direction:column;gap:.5rem}.portal-profile-field-label{font-size:.875rem;font-weight:500;color:var(--text-primary)}.portal-profile-field-required{color:var(--color-destructive,rgb(239 68 68))}.portal-profile-field-count{font-size:.75rem;color:var(--text-tertiary);margin-left:.5rem}.portal-profile-completion{position:relative;display:flex;align-items:center;justify-content:center}.portal-profile-completion-bg{fill:none;stroke:var(--surface-default);stroke-width:4}.portal-profile-completion-fill{fill:none;stroke:var(--color-primary);stroke-width:4;stroke-linecap:round;transform:rotate(-90deg);transform-origin:center;transition:stroke-dashoffset .5s ease}.portal-profile-completion-content{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.portal-profile-completion-content .portal-radial-progress-label{line-height:1.2;overflow-wrap:break-word}.portal-profile-completion-value{font-size:1rem;font-weight:600;color:var(--text-primary)}.portal-radial-progress{position:relative;display:inline-flex;align-items:center;justify-content:center;--portal-radial-stroke:16px}.portal-radial-progress-bg{fill:none;stroke:color-mix(in srgb,var(--color-border) 60%,transparent);stroke-width:var(--portal-radial-stroke)}.portal-radial-progress-fill{fill:none;stroke:var(--color-primary);stroke-width:var(--portal-radial-stroke);stroke-linecap:round;transform:rotate(-90deg);transform-origin:center;transition:stroke-dashoffset .5s ease}.portal-radial-progress-accent .portal-radial-progress-fill,.portal-radial-progress-fill-accent{stroke:var(--color-accent)}.portal-radial-progress-accent .portal-radial-progress-value{color:var(--color-accent)}.portal-radial-progress-content{position:absolute;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.125rem;text-align:center}.portal-radial-progress-value{font-size:1.5rem;font-weight:600;color:var(--color-foreground)}.portal-radial-progress-label{font-size:.75rem;font-weight:500;text-transform:uppercase;letter-spacing:.08em;color:var(--color-muted-foreground)}.portal-profile-social-links{display:flex;flex-direction:column;gap:.75rem}.portal-profile-social-input{display:flex;align-items:center;gap:0}.portal-profile-social-input .portal-profile-input{flex:1;border-top-left-radius:0;border-bottom-left-radius:0}.portal-profile-social-icon{display:flex;align-items:center;justify-content:center;width:2.5rem;height:2.75rem;background:var(--surface-default);border:1px solid var(--border-default);border-right:none;border-radius:var(--input-radius,.5rem) 0 0 var(--input-radius,.5rem);color:var(--text-secondary)}.portal-profile-social-linkedin{color:#0A66C2}.portal-profile-social-youtube{color:#FF0000}.portal-profile-social-github{color:var(--text-primary)}.portal-profile-social-website{color:var(--color-primary)}.portal-profile-view-btn{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem .75rem;border-radius:10px;background:var(--color-card);border:1px solid var(--color-border);color:var(--color-foreground);font-size:.75rem;font-weight:600;transition:all .2s ease}.portal-profile-view-btn:hover{border-color:rgb(var(--color-primary-rgb)/.4);color:var(--color-primary);box-shadow:0 8px 16px -12px rgb(var(--color-primary-rgb)/.4)}.portal-profile-completion-banner{display:flex;align-items:center;gap:1.25rem;padding:1rem 1.5rem;background:var(--color-card);border:1px solid var(--color-border);border-radius:20px;flex-wrap:wrap}.portal-profile-completion-info{display:flex;flex-direction:column;gap:.25rem;flex:1;min-width:200px}.portal-profile-completion-title{font-size:1rem;font-weight:600;color:var(--color-foreground)}.portal-profile-completion-desc{font-size:.75rem;color:var(--color-muted-foreground)}.portal-profile-completion-badge{display:inline-flex;align-items:center;gap:.5rem;padding:.375rem .75rem;border-radius:9999px;background:rgb(var(--color-accent-rgb)/.12);color:var(--color-accent);border:1px solid rgb(var(--color-accent-rgb)/.2);font-size:.75rem;font-weight:600}.portal-profile-fields-section,.portal-profile-photo-section{background:var(--color-card);border:1px solid var(--color-border);border-radius:20px;padding:1.5rem;display:flex;flex-direction:column;gap:1rem}.portal-profile-section-header{display:flex;align-items:center;gap:.5rem;font-size:.875rem;font-weight:600;color:var(--color-foreground)}.portal-profile-fields{display:flex;flex-direction:column;gap:1rem}.portal-profile-photo-container,.portal-profile-photo-wrapper{display:flex;justify-content:center}.portal-profile-photo-container{position:relative;width:160px;height:160px;border-radius:24px;overflow:hidden;border:1px solid var(--color-border);background:var(--color-muted);align-items:center}.portal-profile-photo-container.portal-profile-photo-uploading{border-color:rgb(var(--color-primary-rgb)/.6);box-shadow:0 0 0 3px rgb(var(--color-primary-rgb)/.2)}.portal-profile-photo-img{width:100%;height:100%;object-fit:cover}.portal-profile-photo-glow{position:absolute;inset:0;background:radial-gradient(circle at 50% 20%,rgb(var(--color-primary-rgb)/.35),transparent 60%);opacity:.4;pointer-events:none}.portal-profile-photo-hover{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.25rem;background:color-mix(in srgb,var(--color-background) 60%,transparent);color:var(--color-foreground);font-size:.75rem;opacity:0;transition:opacity .2s ease;cursor:pointer}.portal-profile-photo-container:hover .portal-profile-photo-hover{opacity:1}.portal-profile-photo-loading{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:color-mix(in srgb,var(--color-background) 60%,transparent);color:var(--color-foreground)}.portal-profile-upload-progress{display:flex;flex-direction:column;gap:.5rem;font-size:.75rem;color:var(--color-muted-foreground)}.portal-profile-upload-btn{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem .75rem;border-radius:10px;background:rgb(var(--color-primary-rgb)/.12);color:var(--color-primary);border:1px solid rgb(var(--color-primary-rgb)/.3);font-size:.75rem;font-weight:600;transition:all .2s ease;width:fit-content}.portal-profile-upload-btn:hover{background:rgb(var(--color-primary-rgb)/.2);border-color:rgb(var(--color-primary-rgb)/.5)}.portal-profile-upload-btn:disabled{opacity:.6;cursor:not-allowed}.portal-profile-dropzone{border:1px dashed var(--color-border);background:color-mix(in srgb,var(--color-muted) 30%,transparent);border-radius:16px;padding:1rem;text-align:center;color:var(--color-muted-foreground);transition:all .2s ease}.portal-profile-dropzone-active{border-color:rgb(var(--color-primary-rgb)/.6);background:rgb(var(--color-primary-rgb)/.08);color:var(--color-primary)}.portal-profile-dropzone-content{display:flex;flex-direction:column;align-items:center;gap:.25rem;font-size:.75rem}.portal-profile-dropzone-content span{font-size:.625rem}.portal-profile-select{width:100%;padding:.75rem 1rem;background:var(--input-bg,var(--surface-elevated));border:1px solid var(--input-border,var(--border-default));border-radius:var(--input-radius,.5rem);color:var(--input-text,var(--text-primary));font-size:.875rem;line-height:1.5;appearance:none;transition:all .15s ease}.portal-profile-select:focus{outline:none;border-color:var(--color-primary);box-shadow:0 0 0 3px rgb(var(--color-primary-rgb)/.1)}.portal-profile-actions{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;padding:1rem 1.5rem;background:var(--color-card);border:1px solid var(--color-border);border-radius:20px}.portal-profile-actions-hint{display:flex;align-items:center;gap:.5rem;font-size:.75rem;color:var(--color-muted-foreground)}.portal-profile-actions-buttons{display:flex;align-items:center;gap:.75rem}.portal-profile-cancel-btn{display:inline-flex;align-items:center;justify-content:center;padding:.5rem .9rem;border-radius:10px;border:1px solid var(--color-border);background:transparent;color:var(--color-muted-foreground);font-size:.75rem;font-weight:600;transition:all .2s ease}.portal-profile-cancel-btn:hover{border-color:color-mix(in srgb,var(--color-muted-foreground) 50%,transparent);color:var(--color-foreground)}.portal-profile-save-btn{display:inline-flex;align-items:center;gap:.4rem;padding:.5rem .9rem;border-radius:10px;border:1px solid var(--color-primary);background:var(--color-primary);color:var(--color-primary-foreground);font-size:.75rem;font-weight:600;transition:all .2s ease}.portal-profile-save-btn [data-role=spinner]{display:none;align-items:center}.portal-profile-save-btn [data-role=icon]{display:inline-flex;align-items:center}.portal-profile-save-btn[data-loading=true] [data-role=spinner]{display:inline-flex}.portal-profile-save-btn[data-loading=true] [data-role=icon]{display:none}.portal-profile-save-btn:hover{background:var(--color-primary-hover,var(--color-primary));border-color:var(--color-primary-hover,var(--color-primary))}.portal-profile-cancel-btn:disabled,.portal-profile-save-btn:disabled{opacity:.6;cursor:not-allowed}@media (max-width:767px){.portal-nav{display:none}.portal-stat-value{font-size:1.5rem}}.portal-animate-in{animation:portal-fade-in .4s ease forwards}.portal-animate-in-delay-1{animation-delay:.05s;opacity:0}.portal-animate-in-delay-2{animation-delay:.1s;opacity:0}.portal-animate-in-delay-3{animation-delay:.15s;opacity:0}.portal-animate-in-delay-4{animation-delay:.2s;opacity:0}.portal-animate-in-delay-5{animation-delay:.25s;opacity:0}.portal-animate-in-delay-8{animation-delay:.4s;opacity:0}.portal-staggered-grid>*{animation:portal-fade-in .4s ease forwards;opacity:0}.portal-staggered-grid>:first-child{animation-delay:.05s}.portal-staggered-grid>:nth-child(2){animation-delay:.1s}.portal-staggered-grid>:nth-child(3){animation-delay:.15s}.portal-staggered-grid>:nth-child(4){animation-delay:.2s}.portal-staggered-grid>:nth-child(5){animation-delay:.25s}.portal-staggered-grid>:nth-child(n+6){animation-delay:.3s}@keyframes portal-scale-in{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:none}}@keyframes portal-slide-up{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}.portal-animate-fade{animation:portal-fade-in .4s ease forwards}.portal-animate-slide-up{animation:portal-slide-up .4s ease forwards}.portal-animate-scale{animation:portal-scale-in .3s ease forwards}.portal-heading{font-family:var(--font-display,system-ui,-apple-system,sans-serif);font-weight:600;letter-spacing:-.025em;color:var(--color-foreground)}.portal-heading-xl{font-size:2rem;line-height:1.2}.portal-heading-lg{font-size:1.5rem;line-height:1.3}.portal-heading-md{font-size:1.125rem;line-height:1.4}.portal-heading-sm{font-size:1rem;line-height:1.5}.portal-live-stats-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.5rem;background:var(--color-card);border:1px solid var(--color-border);border-radius:16px;margin-top:1rem;margin-bottom:1.5rem}.portal-live-stats-label{display:flex;align-items:center;gap:.5rem}.portal-live-stats-items{display:flex;align-items:center;gap:1.5rem;flex-wrap:wrap}.portal-live-stats-item{display:flex;flex-direction:column;align-items:center;gap:.25rem}.portal-live-stats-item-value{font-family:var(--font-mono,"SF Mono",Menlo,monospace);font-size:1.25rem;font-weight:600}.portal-live-stats-item-label{font-size:.75rem;color:var(--color-muted-foreground)}.portal-live-stat-divider{width:1px;height:24px;background:var(--color-border)}.portal-stat{display:flex;flex-direction:column;gap:.25rem}.portal-stat-value{font-family:var(--font-sans,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif);font-size:2rem;font-weight:600;color:var(--color-foreground);line-height:1;overflow-wrap:anywhere}.portal-stat-label{font-size:.75rem;font-weight:500;text-transform:uppercase;letter-spacing:.05em;color:var(--color-muted-foreground)}.portal-stat-badge{font-size:.625rem;padding:.25rem .5rem}.portal-course-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1rem}.portal-course-card{background:var(--color-card);border:1px solid var(--color-border);border-radius:16px;overflow:hidden;transition:all .3s ease;display:flex;flex-direction:column}.portal-course-card:hover{transform:translateY(-4px);border-color:rgb(var(--color-primary-rgb)/.3);box-shadow:0 12px 24px -8px rgba(0,0,0,.2)}.portal-course-thumbnail{position:relative;height:140px;background:var(--color-muted);overflow:hidden}.portal-course-thumbnail-gradient{position:absolute;inset:0;opacity:.8}.portal-thumbnail-react{background:radial-gradient(120% 120% at 0 0,rgb(var(--color-accent-rgb)/.45),transparent 60%),linear-gradient(135deg,color-mix(in srgb,var(--color-info) 90%,transparent),rgb(var(--color-accent-rgb)/.9))}.portal-thumbnail-typescript{background:radial-gradient(120% 120% at 100% 0,color-mix(in srgb,var(--color-info) 45%,transparent),transparent 60%),linear-gradient(135deg,color-mix(in srgb,var(--color-info) 90%,transparent),rgb(var(--color-primary-rgb)/.85))}.portal-thumbnail-node{background:radial-gradient(120% 120% at 0 100%,color-mix(in srgb,var(--color-success) 45%,transparent),transparent 60%),linear-gradient(135deg,color-mix(in srgb,var(--color-success) 90%,transparent),rgb(var(--color-primary-rgb)/.9))}.portal-thumbnail-default{background:radial-gradient(120% 120% at 0 0,rgb(var(--color-primary-rgb)/.35),transparent 60%),linear-gradient(135deg,rgb(var(--color-primary-rgb)/.6),rgb(var(--color-accent-rgb)/.6))}.portal-course-thumbnail-placeholder{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:3rem}.portal-course-progress-overlay{position:absolute;bottom:0;left:0;right:0;padding:.5rem;background:linear-gradient(0deg,rgba(0,0,0,.5),transparent)}.portal-course-progress-ring{position:relative;width:52px;height:52px;border-radius:9999px;background:color-mix(in srgb,var(--color-background) 60%,transparent);border:1px solid color-mix(in srgb,var(--color-border) 60%,transparent);display:flex;align-items:center;justify-content:center;backdrop-filter:blur(6px);color:var(--color-foreground)}.portal-course-progress-ring.completed{border-color:rgb(var(--color-accent-rgb)/.5);box-shadow:0 0 0 2px rgb(var(--color-accent-rgb)/.2)}.portal-course-body{padding:1rem}.portal-course-title{font-size:1rem;font-weight:600;color:var(--color-foreground);margin-bottom:.25rem;line-height:1.4}.portal-course-creator{font-size:.75rem;color:var(--color-muted-foreground)}.portal-course-meta{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--color-border);margin-top:1rem;padding-top:1rem}.portal-course-progress-text{font-size:.875rem;font-weight:600;color:var(--color-primary)}.portal-featured-badge{position:absolute;top:.75rem;left:.75rem;display:flex;align-items:center;gap:.25rem;padding:.25rem .5rem;background:var(--color-primary);color:var(--color-primary-foreground);border-radius:6px;font-size:.625rem;font-weight:600;text-transform:uppercase}.portal-progress{height:6px;background:var(--color-muted);border-radius:3px;overflow:hidden}.portal-progress-bar{height:100%;background:linear-gradient(90deg,var(--color-primary),var(--color-primary-hover));border-radius:3px;transition:width .5s ease}.portal-progress-bar-shimmer{position:relative}.portal-progress-bar-shimmer:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.3),transparent);animation:shimmer 2s infinite}@keyframes shimmer{0%{transform:translateX(-100%)}to{transform:translateX(100%)}}@keyframes progress{0%{transform:translateX(-100%)}50%{transform:translateX(200%)}to{transform:translateX(400%)}}.portal-progress-accent{background:linear-gradient(90deg,var(--color-accent),var(--color-accent-hover))}.portal-two-col-asymmetric{display:grid;grid-template-columns:1fr;gap:1.5rem;margin-top:1.5rem}@media (min-width:1024px){.portal-two-col-asymmetric{grid-template-columns:1fr 1fr}}.portal-activity-item{display:flex;align-items:flex-start;gap:.75rem;padding:.75rem 0;border-bottom:1px solid var(--color-border);flex-wrap:wrap}@media (min-width:640px){.portal-activity-item{align-items:center;flex-wrap:nowrap}}.portal-activity-item:last-child{border-bottom:none}.portal-activity-icon{width:32px;height:32px;border-radius:8px;background:color-mix(in srgb,var(--color-success) 10%,transparent);color:var(--color-success);display:flex;align-items:center;justify-content:center;flex-shrink:0}.portal-activity-icon svg{width:16px;height:16px}.portal-activity-content{flex:1;min-width:0}.portal-activity-title{font-size:.875rem;font-weight:500;color:var(--color-foreground);word-break:break-word}@media (min-width:640px){.portal-activity-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;word-break:normal}}.portal-activity-subtitle{font-size:.75rem;color:var(--color-muted-foreground)}.portal-activity-time{font-size:.6875rem;color:var(--color-muted-foreground);white-space:nowrap;width:100%;padding-left:calc(32px + .75rem);margin-top:-.25rem}@media (min-width:640px){.portal-activity-time{font-size:.75rem;width:auto;padding-left:0;margin-top:0}}.portal-activity-feed{position:relative}.portal-activity-list{list-style:none;margin:0;padding:0}.portal-activity-empty{font-size:.875rem;color:var(--color-muted-foreground);padding:1rem 0}.portal-activity-meta{font-size:.75rem;color:var(--color-muted-foreground);margin-top:.125rem}.portal-activity-feed--timeline{padding-left:.25rem}.portal-activity-feed--timeline .portal-activity-rail{position:absolute;left:15px;top:.5rem;bottom:.5rem;width:1px;background:var(--color-border)}.portal-activity-item--timeline{position:relative;border-bottom:none}.portal-activity-item--timeline .portal-activity-dot{position:relative;z-index:1;border-radius:9999px}.portal-activity-dot--default{background:color-mix(in srgb,var(--color-muted-foreground) 12%,transparent);color:var(--color-muted-foreground)}.portal-activity-dot--info{background:color-mix(in srgb,var(--color-primary) 12%,transparent);color:var(--color-primary)}.portal-activity-dot--success{background:color-mix(in srgb,var(--color-success) 12%,transparent);color:var(--color-success)}.portal-activity-dot--warning{background:color-mix(in srgb,var(--color-warning,var(--color-primary)) 12%,transparent);color:var(--color-warning,var(--color-primary))}.portal-activity-dot--danger{background:color-mix(in srgb,var(--color-destructive) 12%,transparent);color:var(--color-destructive)}.portal-activity-dot--accent{background:color-mix(in srgb,var(--color-accent) 12%,transparent);color:var(--color-accent-foreground,var(--color-accent))}.portal-next-action{display:flex;align-items:center;gap:.75rem;padding:.75rem;background:color-mix(in srgb,var(--color-muted) 50%,transparent);border:1px solid var(--color-border);border-radius:12px;transition:all .2s ease;text-decoration:none}.portal-next-action:hover{background:var(--color-muted);border-color:rgb(var(--color-primary-rgb)/.3)}.portal-next-action-icon{width:36px;height:36px;border-radius:10px;background:rgb(var(--color-accent-rgb)/.1);color:var(--color-accent);display:flex;align-items:center;justify-content:center}.portal-next-action-icon svg{width:18px;height:18px}.portal-next-action-content{flex:1;min-width:0}.portal-next-action-title{font-size:.875rem;font-weight:500;color:var(--color-foreground)}.portal-next-action-meta{display:flex;gap:.75rem;font-size:.75rem;color:var(--color-muted-foreground)}.portal-empty-state{flex-direction:column;text-align:center;padding:3rem 1.5rem;background:var(--color-card);border:1px dashed var(--color-border);border-radius:24px}.portal-empty-state,.portal-empty-state-icon{display:flex;align-items:center;justify-content:center}.portal-empty-state-icon{width:80px;height:80px;border-radius:20px;background:var(--color-muted);color:var(--color-muted-foreground);margin-bottom:1.5rem}.portal-empty-state-title{font-size:1.125rem;font-weight:600;color:var(--color-foreground);margin-bottom:.5rem}.portal-empty-state-description{font-size:.875rem;color:var(--color-muted-foreground);max-width:300px}.portal-alert{display:flex;align-items:flex-start;gap:.75rem;padding:1rem;border-radius:12px;margin-bottom:1rem}.portal-alert-destructive{background:color-mix(in srgb,var(--color-destructive) 10%,transparent);border:1px solid color-mix(in srgb,var(--color-destructive) 30%,transparent)}.portal-alert-warning{background:color-mix(in srgb,var(--color-warning) 10%,transparent);border:1px solid color-mix(in srgb,var(--color-warning) 30%,transparent)}.portal-alert-info{background:color-mix(in srgb,var(--color-info) 10%,transparent);border:1px solid color-mix(in srgb,var(--color-info) 30%,transparent)}.portal-alert-success{background:color-mix(in srgb,var(--color-success) 10%,transparent);border:1px solid color-mix(in srgb,var(--color-success) 30%,transparent)}.portal-alert-icon{flex-shrink:0}.portal-alert-destructive .portal-alert-icon{color:var(--color-destructive)}.portal-alert-warning .portal-alert-icon{color:var(--color-warning)}.portal-alert-info .portal-alert-icon{color:var(--color-info)}.portal-alert-success .portal-alert-icon{color:var(--color-success)}.portal-alert-content{flex:1}.portal-alert-title{font-size:.875rem;font-weight:600;color:var(--color-foreground)}.portal-alert-description{font-size:.75rem;color:var(--color-muted-foreground);margin-top:.25rem}.portal-pg-alert{position:relative;width:100%;border-radius:.5rem;border:1px solid;padding:.75rem 1rem;font-size:.875rem}.portal-pg-alert:has(>svg){display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:.5rem;align-items:start}.portal-pg-alert>svg{grid-column:1;align-self:start}.portal-pg-alert:has(>svg)>:not(svg){grid-column:2}.portal-pg-alert--default{background-color:var(--color-background);border-color:var(--color-border)}.portal-pg-alert--default,.portal-pg-alert--default>svg{color:var(--color-foreground)}.portal-pg-alert--destructive{background-color:color-mix(in srgb,var(--color-destructive) 10%,transparent);border-color:color-mix(in srgb,var(--color-destructive) 50%,transparent)}.portal-pg-alert--destructive,.portal-pg-alert--destructive>svg{color:var(--color-destructive)}.portal-pg-alert--success{background-color:color-mix(in srgb,var(--color-success) 10%,transparent);border-color:color-mix(in srgb,var(--color-success) 50%,transparent)}.portal-pg-alert--success,.portal-pg-alert--success>svg{color:var(--color-success)}.portal-pg-alert--warning{background-color:color-mix(in srgb,var(--color-warning) 10%,transparent);border-color:color-mix(in srgb,var(--color-warning) 50%,transparent)}.portal-pg-alert--warning,.portal-pg-alert--warning>svg{color:var(--color-warning)}.portal-pg-alert--info{background-color:color-mix(in srgb,var(--color-info) 10%,transparent);border-color:color-mix(in srgb,var(--color-info) 50%,transparent)}.portal-pg-alert--info,.portal-pg-alert--info>svg{color:var(--color-info)}.portal-pg-alert__title{margin-bottom:.25rem;font-weight:600;line-height:1;letter-spacing:-.025em}.portal-pg-alert__description{font-size:.875rem;color:var(--color-foreground)}.portal-pg-alert__description p{line-height:1.625}.portal-streak-animated{position:relative}.portal-streak-animated:after{content:"";position:absolute;inset:-2px;border-radius:inherit;background:linear-gradient(45deg,rgb(245 158 11/.3),transparent,rgb(245 158 11/.3));animation:streak-glow 2s ease-in-out infinite;pointer-events:none}@keyframes streak-glow{0%,to{opacity:.5}50%{opacity:1}}.portal-achievements-hero{display:flex;flex-direction:column;gap:1.5rem;padding:2rem;background:var(--color-card);border:1px solid var(--color-border);border-radius:24px;position:relative;overflow:hidden}.portal-achievements-hero:before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse 80% 50% at 20% 30%,color-mix(in srgb,var(--theme-glow) 20%,transparent),transparent 60%);opacity:.2;pointer-events:none}@media (min-width:768px){.portal-achievements-hero{flex-direction:row;align-items:center;justify-content:space-between}}.portal-achievements-hero-content{display:flex;flex-direction:column;gap:.75rem;flex:1;position:relative}.portal-achievements-hero-title{font-size:1.5rem;font-weight:700;color:var(--color-foreground);letter-spacing:-.02em}.portal-achievements-hero-subtitle{font-size:.875rem;color:var(--color-muted-foreground);line-height:1.5}.portal-achievements-stats{display:flex;flex-wrap:wrap;align-items:center;gap:1rem;padding:1rem 1.5rem;background:var(--color-card);border:1px solid var(--color-border);border-radius:20px}.portal-achievements-stat{display:flex;align-items:center;gap:.75rem;min-width:150px}.portal-achievements-stat-icon{width:36px;height:36px;border-radius:12px;background:var(--color-muted);color:var(--color-muted-foreground);display:flex;align-items:center;justify-content:center;flex-shrink:0}.portal-achievements-stat-icon-unlocked{background:rgb(var(--color-accent-rgb)/.15);color:var(--color-accent)}.portal-achievements-stat-icon-locked{background:color-mix(in srgb,var(--color-muted) 70%,transparent);color:var(--color-muted-foreground)}.portal-achievements-stat-icon-streak{background:color-mix(in srgb,var(--color-warning) 15%,transparent);color:var(--color-warning)}.portal-achievements-stat-icon-record{background:rgb(var(--color-primary-rgb)/.15);color:var(--color-primary)}.portal-achievements-stat-content{display:flex;flex-direction:column;gap:.125rem}.portal-achievements-stat-value{font-family:var(--font-mono,"SF Mono",Menlo,monospace);font-size:1.25rem;font-weight:600;color:var(--color-foreground)}.portal-achievements-stat-label{font-size:.7rem;text-transform:uppercase;letter-spacing:.08em;color:var(--color-muted-foreground)}.portal-achievements-stat-divider{width:1px;height:28px;background:var(--color-border)}.portal-streak-card{position:relative;display:flex;align-items:center;gap:1.5rem;padding:1.5rem;background:var(--color-card);border:1px solid var(--color-border);border-radius:24px;overflow:hidden;flex-wrap:wrap}.portal-streak-card:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 20% 20%,color-mix(in srgb,var(--color-warning) 18%,transparent),transparent 60%);opacity:.2;pointer-events:none}.portal-streak-card-flame{width:56px;height:56px;border-radius:16px;background:color-mix(in srgb,var(--color-warning) 15%,transparent);color:var(--color-warning);display:flex;align-items:center;justify-content:center;flex-shrink:0;box-shadow:0 8px 20px -12px color-mix(in srgb,var(--color-warning) 40%,transparent)}.portal-streak-card-content{flex:1;min-width:200px;position:relative}.portal-streak-card-title{font-size:1rem;font-weight:600;color:var(--color-foreground)}.portal-streak-card-subtitle{font-size:.75rem;color:var(--color-muted-foreground);margin-top:.25rem}.portal-streak-card-stats{display:flex;align-items:center;gap:1rem;padding:.75rem 1rem;border-radius:14px;background:color-mix(in srgb,var(--color-muted) 40%,transparent);border:1px solid var(--color-border)}.portal-streak-card-stat{display:flex;flex-direction:column;align-items:center;gap:.25rem;min-width:80px}.portal-streak-card-divider{width:1px;height:32px;background:var(--color-border)}.portal-streak-card-stat-label{font-size:.65rem;text-transform:uppercase;letter-spacing:.08em;color:var(--color-muted-foreground)}.portal-streak-card-stat-value{font-size:1.25rem;font-weight:600;font-family:var(--font-mono,"SF Mono",Menlo,monospace);color:var(--color-foreground);display:inline-flex;align-items:baseline;gap:.25rem}.portal-streak-card-stat-value-current{color:var(--color-warning)}.portal-streak-card-stat-unit{font-size:.65rem;color:var(--color-muted-foreground)}.portal-next-badge{position:relative;padding:1.5rem;background:var(--color-card);border:1px solid var(--color-border);border-radius:24px;overflow:hidden}.portal-next-badge:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 80% 20%,rgb(var(--color-accent-rgb)/.18),transparent 60%);opacity:.2;pointer-events:none}.portal-next-badge-label{display:inline-flex;align-items:center;gap:.375rem;padding:.25rem .5rem;border-radius:9999px;background:rgb(var(--color-accent-rgb)/.12);border:1px solid rgb(var(--color-accent-rgb)/.25);color:var(--color-accent);font-size:.6875rem;font-weight:600;text-transform:uppercase;letter-spacing:.08em;margin-bottom:1rem;position:relative}.portal-next-badge-content{display:flex;align-items:center;gap:1.25rem;flex-wrap:wrap;position:relative}.portal-next-badge-icon{width:72px;height:72px;border-radius:20px;background:color-mix(in srgb,var(--color-muted) 60%,transparent);border:1px solid var(--color-border);display:flex;align-items:center;justify-content:center;flex-shrink:0}.portal-next-badge-info{flex:1;min-width:200px;display:flex;flex-direction:column;gap:.5rem}.portal-next-badge-title{font-size:1.125rem;font-weight:600;color:var(--color-foreground)}.portal-next-badge-description{font-size:.875rem;color:var(--color-muted-foreground)}.portal-next-badge-progress{display:flex;flex-direction:column;gap:.5rem}.portal-next-badge-progress-bar{height:8px;background:var(--color-muted);border-radius:9999px;overflow:hidden}.portal-next-badge-progress-fill{height:100%;background:linear-gradient(90deg,var(--color-accent),var(--color-primary));border-radius:9999px;transition:width .5s ease}.portal-next-badge-progress-text{font-size:.75rem;color:var(--color-muted-foreground);font-family:var(--font-mono,"SF Mono",Menlo,monospace)}.portal-session-stats{display:flex;flex-wrap:wrap;align-items:center;gap:1rem;padding:1rem 1.5rem;background:var(--color-card);border:1px solid var(--color-border);border-radius:20px}.portal-session-stat{display:flex;align-items:center;gap:.75rem;min-width:150px}.portal-session-stat-icon{width:36px;height:36px;border-radius:12px;background:var(--color-muted);color:var(--color-muted-foreground);display:flex;align-items:center;justify-content:center;flex-shrink:0}.portal-session-stat-icon-upcoming{background:rgb(var(--color-primary-rgb)/.15);color:var(--color-primary)}.portal-session-stat-icon-completed{background:color-mix(in srgb,var(--color-success) 15%,transparent);color:var(--color-success)}.portal-session-stat-icon-hours{background:rgb(var(--color-accent-rgb)/.15);color:var(--color-accent)}.portal-session-stat-content{display:flex;flex-direction:column;gap:.125rem}.portal-session-stat-value{font-family:var(--font-mono,"SF Mono",Menlo,monospace);font-size:1.25rem;font-weight:600;color:var(--color-foreground)}.portal-session-stat-label{font-size:.7rem;text-transform:uppercase;letter-spacing:.08em;color:var(--color-muted-foreground)}.portal-session-stat-divider{width:1px;height:28px;background:var(--color-border)}.portal-next-session{display:flex;flex-direction:column;gap:1rem;padding:1.25rem 1.5rem;background:var(--color-card);border:1px solid var(--color-border);border-radius:20px}.portal-next-session-label{display:inline-flex;align-items:center;gap:.375rem;padding:.25rem .5rem;border-radius:9999px;background:rgb(var(--color-primary-rgb)/.12);border:1px solid rgb(var(--color-primary-rgb)/.25);color:var(--color-primary);font-size:.6875rem;font-weight:600;text-transform:uppercase;letter-spacing:.08em;width:fit-content}.portal-next-session-content{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;flex-wrap:wrap}.portal-next-session-info{display:flex;align-items:center;gap:.75rem}.portal-next-session-avatar{width:48px;height:48px;border-radius:9999px;background:var(--color-muted);border:1px solid var(--color-border);color:var(--color-muted-foreground);display:flex;align-items:center;justify-content:center;font-weight:600;overflow:hidden;text-transform:uppercase}.portal-next-session-avatar img{width:100%;height:100%;object-fit:cover}.portal-next-session-details{display:flex;flex-direction:column;gap:.25rem}.portal-next-session-details h3{font-size:.875rem;font-weight:600;color:var(--color-foreground);margin:0}.portal-next-session-details p{font-size:.75rem;color:var(--color-muted-foreground);margin:0}.portal-next-session-time{display:flex;flex-direction:column;align-items:flex-end;gap:.25rem}.portal-next-session-countdown{font-size:1.25rem;font-weight:600;font-family:var(--font-mono,"SF Mono",Menlo,monospace);color:var(--color-primary)}.portal-next-session-date{font-size:.75rem;color:var(--color-muted-foreground);text-transform:uppercase;letter-spacing:.06em}.portal-credits-hero{display:flex;flex-direction:column;gap:1.5rem;padding:2rem;background:var(--color-card);border:1px solid var(--color-border);border-radius:24px;position:relative;overflow:hidden}.portal-credits-hero:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 10% 20%,color-mix(in srgb,var(--theme-glow) 20%,transparent),transparent 60%);opacity:.2;pointer-events:none}@media (min-width:768px){.portal-credits-hero{flex-direction:row;align-items:center;justify-content:space-between}}.portal-credits-hero-content{display:flex;flex-direction:column;gap:.75rem;flex:1;position:relative}.portal-credits-hero-main{display:flex;flex-direction:column;gap:.5rem}.portal-credits-hero-title{font-size:1.5rem;font-weight:700;color:var(--color-foreground);letter-spacing:-.02em}.portal-credits-hero-subtitle{font-size:.875rem;color:var(--color-muted-foreground);line-height:1.5}.portal-credits-hero-warning{display:inline-flex;align-items:center;gap:.5rem;padding:.4rem .75rem;border-radius:9999px;background:color-mix(in srgb,var(--color-warning) 12%,transparent);border:1px solid color-mix(in srgb,var(--color-warning) 25%,transparent);color:var(--color-warning);font-size:.75rem;font-weight:600;width:fit-content}.portal-credits-hero-visual{display:flex;align-items:center;justify-content:center}.portal-credits-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem}.portal-credits-stat-card{position:relative;padding:1.25rem;background:var(--color-card);border:1px solid var(--color-border);border-radius:18px;display:flex;flex-direction:column;gap:.5rem;overflow:hidden}.portal-credits-stat-card-primary{border-left:3px solid var(--color-primary)}.portal-credits-stat-card-secondary{border-left:3px solid var(--color-muted-foreground)}.portal-credits-stat-card-warning{border-left:3px solid var(--color-warning)}.portal-credits-stat-icon{width:44px;height:44px;border-radius:14px;background:var(--color-muted);color:var(--color-muted-foreground);display:flex;align-items:center;justify-content:center;flex-shrink:0}.portal-credits-stat-card-primary .portal-credits-stat-icon{background:rgb(var(--color-primary-rgb)/.15);color:var(--color-primary)}.portal-credits-stat-card-secondary .portal-credits-stat-icon{background:color-mix(in srgb,var(--color-muted-foreground) 15%,transparent);color:var(--color-muted-foreground)}.portal-credits-stat-card-warning .portal-credits-stat-icon{background:color-mix(in srgb,var(--color-warning) 15%,transparent);color:var(--color-warning)}.portal-credits-stat-content{display:flex;flex-direction:column;gap:.25rem}.portal-credits-stat-value{font-family:var(--font-mono,"SF Mono",Menlo,monospace);font-size:1.5rem;font-weight:700;color:var(--color-foreground)}.portal-credits-stat-label{font-size:.7rem;text-transform:uppercase;letter-spacing:.08em;color:var(--color-muted-foreground)}.portal-credits-stat-hint{margin-top:auto;font-size:.75rem;color:var(--color-muted-foreground)}.portal-credits-stat-pulse{position:absolute;inset:0;border-radius:18px;border:1px solid color-mix(in srgb,var(--color-warning) 40%,transparent);animation:portal-glow-pulse 2s ease-in-out infinite;pointer-events:none}.portal-credits-mentor-section{background:var(--color-card);border:1px solid var(--color-border);border-radius:20px;padding:1.5rem;display:flex;flex-direction:column;gap:1rem;animation:portal-fade-in .4s ease forwards;opacity:0}.portal-credits-mentor-section-warning{border-color:color-mix(in srgb,var(--color-warning) 40%,transparent);box-shadow:0 10px 20px -18px color-mix(in srgb,var(--color-warning) 40%,transparent)}.portal-credits-mentor-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}.portal-credits-mentor-info{display:flex;align-items:center;gap:.75rem}.portal-credits-mentor-avatar{width:44px;height:44px;border-radius:9999px;border:2px solid var(--color-border);background:var(--color-muted);color:var(--color-muted-foreground);display:flex;align-items:center;justify-content:center;overflow:hidden;object-fit:cover;text-transform:uppercase}.portal-credits-mentor-avatar-fallback{background:rgb(var(--color-primary-rgb)/.12);color:var(--color-primary)}.portal-credits-mentor-name{font-size:1rem;font-weight:600;color:var(--color-foreground)}.portal-credits-mentor-count{font-size:.75rem;color:var(--color-muted-foreground)}.portal-credits-mentor-visual{display:flex;align-items:center;justify-content:center}.portal-credits-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1rem}.portal-credit-item{position:relative;padding:1.25rem;border-radius:16px;background:color-mix(in srgb,var(--color-muted) 20%,transparent);border:1px solid var(--color-border);display:flex;flex-direction:column;gap:.75rem;transition:all .2s ease;animation:portal-fade-in .4s ease forwards;opacity:0}.portal-credit-item:hover{border-color:rgb(var(--color-primary-rgb)/.3);background:color-mix(in srgb,var(--color-muted) 40%,transparent);transform:translateY(-2px)}.portal-credit-item-expiring{border-color:color-mix(in srgb,var(--color-warning) 40%,transparent);background:color-mix(in srgb,var(--color-warning) 5%,transparent)}.portal-credit-item-expired{opacity:.7}.portal-credit-item-depleted{opacity:.75}.portal-credit-item-pulse{position:absolute;inset:0;border-radius:16px;border:1px solid color-mix(in srgb,var(--color-warning) 40%,transparent);animation:portal-glow-pulse 2s ease-in-out infinite;pointer-events:none}.portal-credit-item-header{display:flex;justify-content:space-between;align-items:flex-start;gap:.75rem}.portal-credit-item-service{display:flex;align-items:center;gap:.75rem}.portal-credit-item-service-icon{width:36px;height:36px;border-radius:12px;background:rgb(var(--color-primary-rgb)/.12);color:var(--color-primary);display:flex;align-items:center;justify-content:center;flex-shrink:0}.portal-credit-item-service-name{display:block;font-size:.875rem;font-weight:600;color:var(--color-foreground)}.portal-credit-item-service-duration{display:inline-flex;align-items:center;gap:.25rem;font-size:.75rem;color:var(--color-muted-foreground)}.portal-credit-item-badge{display:inline-flex;align-items:center;gap:.25rem;padding:.25rem .5rem;border-radius:9999px;font-size:.625rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;border:1px solid transparent}.portal-credit-item-badge-active{background:color-mix(in srgb,var(--color-success) 12%,transparent);border-color:color-mix(in srgb,var(--color-success) 30%,transparent);color:var(--color-success)}.portal-credit-item-badge-warning{background:color-mix(in srgb,var(--color-warning) 12%,transparent);border-color:color-mix(in srgb,var(--color-warning) 30%,transparent);color:var(--color-warning)}.portal-credit-item-badge-expired{background:color-mix(in srgb,var(--color-destructive) 12%,transparent);border-color:color-mix(in srgb,var(--color-destructive) 30%,transparent);color:var(--color-destructive)}.portal-credit-item-badge-depleted{background:var(--color-muted);border-color:var(--color-border);color:var(--color-muted-foreground)}.portal-credit-item-progress-section{display:flex;flex-direction:column;gap:.5rem}.portal-credit-item-progress-header{display:flex;justify-content:space-between;align-items:center;font-size:.75rem;color:var(--color-muted-foreground)}.portal-credit-item-progress-used{font-weight:500}.portal-credit-item-progress-remaining{font-weight:600;color:var(--color-foreground)}.portal-credit-item-footer{display:flex;justify-content:space-between;align-items:center;gap:.75rem;flex-wrap:wrap}.portal-credit-item-date{gap:.375rem;color:var(--color-muted-foreground)}.portal-credit-item-book-btn,.portal-credit-item-date{display:inline-flex;align-items:center;font-size:.75rem}.portal-credit-item-book-btn{gap:.4rem;padding:.375rem .75rem;border-radius:9999px;background:rgb(var(--color-primary-rgb)/.12);color:var(--color-primary);border:1px solid rgb(var(--color-primary-rgb)/.3);font-weight:600;transition:all .2s ease}.portal-credit-item-book-btn:hover{background:rgb(var(--color-primary-rgb)/.2);border-color:rgb(var(--color-primary-rgb)/.5)}.portal-credits-actions{margin-top:.5rem}.portal-credits-action-btn{width:100%;display:flex;align-items:center;gap:1rem;padding:1rem 1.25rem;border-radius:18px;background:var(--color-card);border:1px solid var(--color-border);text-align:left;transition:all .2s ease}.portal-credits-action-btn:hover{border-color:rgb(var(--color-primary-rgb)/.3);background:color-mix(in srgb,var(--color-muted) 20%,transparent);transform:translateY(-2px)}.portal-credits-action-icon{width:44px;height:44px;border-radius:14px;background:rgb(var(--color-accent-rgb)/.12);color:var(--color-accent);display:flex;align-items:center;justify-content:center;flex-shrink:0}.portal-credits-action-content{flex:1;display:flex;flex-direction:column;gap:.25rem}.portal-credits-action-title{font-size:.95rem;font-weight:600;color:var(--color-foreground)}.portal-credits-action-desc{font-size:.75rem;color:var(--color-muted-foreground)}.portal-credits-action-arrow{color:var(--color-muted-foreground);transition:transform .2s ease,color .2s ease}.portal-credits-action-btn:hover .portal-credits-action-arrow{transform:translateX(4px);color:var(--color-primary)}.portal-credits-benefits{padding:1.5rem;border-radius:20px;background:var(--color-card);border:1px solid var(--color-border)}.portal-credits-benefits-title{font-size:1rem;font-weight:600;color:var(--color-foreground);margin-bottom:1rem}.portal-credits-benefits-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem}.portal-credits-benefit{display:flex;align-items:center;gap:.75rem;padding:.75rem;background:color-mix(in srgb,var(--color-muted) 40%,transparent);border:1px solid var(--color-border);border-radius:14px}.portal-credits-benefit-icon{width:36px;height:36px;border-radius:12px;background:rgb(var(--color-primary-rgb)/.12);color:var(--color-primary);display:flex;align-items:center;justify-content:center;flex-shrink:0}.portal-credits-benefit-title{font-size:.875rem;font-weight:600;color:var(--color-foreground);display:block}.portal-credits-benefit-desc{font-size:.75rem;color:var(--color-muted-foreground);display:block}.portal-coin-stack{position:relative;display:flex;align-items:flex-end;justify-content:center}.portal-coin-stack-lg{width:96px;height:96px}.portal-coin-stack-sm{width:72px;height:72px}.portal-coin{bottom:0;filter:drop-shadow(0 6px 12px color-mix(in srgb,var(--color-warning) 25%,transparent));animation:portal-glow-pulse 2.4s ease-in-out infinite}.portal-coin,.portal-coin-overflow{position:absolute;color:var(--color-warning)}.portal-coin-overflow{bottom:-.25rem;right:-.5rem;padding:.2rem .45rem;border-radius:9999px;background:color-mix(in srgb,var(--color-warning) 15%,transparent);border:1px solid color-mix(in srgb,var(--color-warning) 30%,transparent);font-size:.625rem;font-weight:600}.portal-settings-hero{display:flex;flex-direction:column;gap:1.5rem;padding:2rem;background:var(--color-card);border:1px solid var(--color-border);border-radius:24px;position:relative;overflow:hidden}@media (min-width:768px){.portal-settings-hero{flex-direction:row;align-items:center;justify-content:space-between}}.portal-settings-hero-content{display:flex;align-items:center;gap:1.5rem}.portal-settings-hero-avatar{position:relative;width:88px;height:88px;display:flex;align-items:center;justify-content:center}.portal-settings-hero-avatar-img{object-fit:cover}.portal-settings-hero-avatar-img,.portal-settings-hero-avatar-placeholder{width:80px;height:80px;border-radius:9999px;border:2px solid var(--color-border)}.portal-settings-hero-avatar-placeholder{background:var(--color-muted);color:var(--color-muted-foreground);display:flex;align-items:center;justify-content:center}.portal-settings-hero-avatar-glow{position:absolute;inset:-15px;background:radial-gradient(circle,color-mix(in srgb,var(--theme-glow) 35%,transparent),transparent 70%);filter:blur(16px);opacity:.6;z-index:-1}.portal-settings-hero-info{display:flex;flex-direction:column;gap:.25rem}.portal-settings-hero-name{font-size:1.25rem;font-weight:600;color:var(--color-foreground)}.portal-settings-hero-email{font-size:.875rem;color:var(--color-muted-foreground)}.portal-settings-hero-status{display:inline-flex;align-items:center;gap:.4rem;padding:.25rem .5rem;border-radius:9999px;background:color-mix(in srgb,var(--color-success) 12%,transparent);border:1px solid color-mix(in srgb,var(--color-success) 30%,transparent);color:var(--color-success);font-size:.75rem;font-weight:600;width:fit-content}.portal-settings-hero-stats{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;padding:.75rem 1rem;border-radius:16px;border:1px solid var(--color-border);background:color-mix(in srgb,var(--color-muted) 30%,transparent)}.portal-settings-hero-stat{display:flex;flex-direction:column;align-items:center;gap:.25rem;min-width:72px}.portal-settings-hero-stat-value{font-size:1rem;font-weight:600;font-family:var(--font-mono,"SF Mono",Menlo,monospace);color:var(--color-foreground)}.portal-settings-hero-stat-label{font-size:.65rem;text-transform:uppercase;letter-spacing:.08em;color:var(--color-muted-foreground)}.portal-settings-hero-stat-divider{width:1px;height:28px;background:var(--color-border)}.portal-settings-featured{position:relative;padding:1.5rem;border-radius:20px;background:var(--color-card);border:1px solid var(--color-border);overflow:hidden}.portal-settings-featured-glow{position:absolute;inset:-20%;background:radial-gradient(circle at 30% 30%,rgb(var(--color-accent-rgb)/.4),transparent 60%);opacity:.35;filter:blur(30px);pointer-events:none}.portal-settings-featured-badge{display:inline-flex;align-items:center;gap:.375rem;padding:.25rem .5rem;border-radius:9999px;background:rgb(var(--color-accent-rgb)/.15);color:var(--color-accent);border:1px solid rgb(var(--color-accent-rgb)/.25);font-size:.6875rem;font-weight:600;text-transform:uppercase;letter-spacing:.08em;position:relative;z-index:1}.portal-settings-featured-content{position:relative;display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;z-index:1}.portal-settings-featured-icon{width:48px;height:48px;border-radius:14px;background:rgb(var(--color-accent-rgb)/.12);color:var(--color-accent);display:flex;align-items:center;justify-content:center;flex-shrink:0}.portal-settings-featured-info{flex:1;min-width:220px;display:flex;flex-direction:column;gap:.25rem}.portal-settings-featured-title{font-size:1rem;font-weight:600;color:var(--color-foreground)}.portal-settings-featured-description{font-size:.875rem;color:var(--color-muted-foreground);line-height:1.4}.portal-settings-featured-btn{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem .75rem;border-radius:12px;background:rgb(var(--color-accent-rgb)/.12);color:var(--color-accent);border:1px solid rgb(var(--color-accent-rgb)/.3);font-size:.75rem;font-weight:600;text-decoration:none;transition:all .2s ease}.portal-settings-featured-btn:hover{background:rgb(var(--color-accent-rgb)/.2);border-color:rgb(var(--color-accent-rgb)/.45)}.portal-settings-actions{display:flex;flex-direction:column;gap:.75rem}.portal-settings-actions-grid{width:100%;align-items:stretch}.portal-settings-action{display:flex;align-items:center;gap:.75rem;padding:1rem;border-radius:16px;background:var(--color-card);border:1px solid var(--color-border);color:var(--color-foreground);text-decoration:none;transition:all .2s ease;height:100%}.portal-settings-action:hover{border-color:rgb(var(--color-accent-rgb)/.3);background:color-mix(in srgb,var(--color-muted) 20%,transparent);transform:translateY(-2px)}.portal-settings-action-icon{width:36px;height:36px;border-radius:12px;background:var(--color-muted);color:var(--color-muted-foreground);display:flex;align-items:center;justify-content:center;flex-shrink:0}.portal-settings-action-icon-profile{background:rgb(var(--color-primary-rgb)/.12);color:var(--color-primary)}.portal-settings-action-icon-security{background:color-mix(in srgb,var(--color-success) 12%,transparent);color:var(--color-success)}.portal-settings-action-icon-notifications{background:color-mix(in srgb,var(--color-warning) 12%,transparent);color:var(--color-warning)}.portal-settings-action-icon-mcp{background:rgb(var(--color-accent-rgb)/.12);color:var(--color-accent)}.portal-settings-action-arrow{margin-left:auto;color:var(--color-muted-foreground);transition:transform .2s ease,color .2s ease}.portal-settings-action:hover .portal-settings-action-arrow{transform:translateX(4px);color:var(--color-accent)}.portal-settings-info{display:flex;align-items:flex-start;gap:1rem;padding:1.25rem 1.5rem;border-radius:20px;background:color-mix(in srgb,var(--color-success) 8%,transparent);border:1px solid color-mix(in srgb,var(--color-success) 20%,transparent)}.portal-settings-info-icon{width:40px;height:40px;border-radius:12px;background:color-mix(in srgb,var(--color-success) 15%,transparent);color:var(--color-success);display:flex;align-items:center;justify-content:center;flex-shrink:0}.portal-settings-info-content{display:flex;flex-direction:column;gap:.25rem}.portal-settings-info-title{font-size:.95rem;font-weight:600;color:var(--color-foreground)}.portal-settings-info-description{font-size:.75rem;color:var(--color-muted-foreground)}.portal-info-box{display:flex;align-items:flex-start;gap:.75rem;padding:1rem;border-radius:16px;background:color-mix(in srgb,var(--color-muted) 30%,transparent);border:1px solid var(--color-border);color:var(--color-foreground)}.portal-info-box-info{background:color-mix(in srgb,var(--color-info) 8%,transparent);border-color:color-mix(in srgb,var(--color-info) 30%,transparent)}.portal-info-box-info svg{color:var(--color-info)}:where(.ui-theme,[data-pageshell-theme]){--color-tier-gold:#ffd700;--color-tier-gold-rgb:255 215 0;--color-tier-silver:#c0c0c0;--color-tier-silver-rgb:192 192 192;--color-tier-bronze:#cd7f32;--color-tier-bronze-rgb:205 127 50;--color-rating-star:#f59e0b;--color-rating-star-rgb:245 158 11}.portal-skill-badge-card{position:relative;padding:1.5rem;border-radius:20px;background:var(--color-card);border:1px solid var(--color-border);transition:all .3s cubic-bezier(.4,0,.2,1);overflow:hidden;animation:portal-fade-in .4s ease forwards}.portal-skill-badge-card-earned{border-color:rgb(var(--color-primary-rgb)/.3)}.portal-skill-badge-card-earned:hover{transform:translateY(-4px);box-shadow:0 16px 32px -8px rgba(0,0,0,.2)}.portal-skill-badge-card-bronze{border-color:rgb(var(--color-tier-bronze-rgb,205 127 50)/.4)}.portal-skill-badge-card-silver{border-color:rgb(var(--color-tier-silver-rgb,192 192 192)/.4)}.portal-skill-badge-card-gold{border-color:rgb(var(--color-tier-gold-rgb,255 215 0)/.4)}.portal-skill-badge-card-locked{opacity:.7}.portal-skill-badge-card-locked:hover{opacity:.85}.portal-skill-badge-glow{position:absolute;inset:-50%;pointer-events:none;animation:badge-glow 3s ease-in-out infinite}.portal-skill-badge-glow-bronze{background:radial-gradient(circle at center,rgb(var(--color-tier-bronze-rgb,205 127 50)/.15) 0,transparent 70%)}.portal-skill-badge-glow-silver{background:radial-gradient(circle at center,rgb(var(--color-tier-silver-rgb,192 192 192)/.15) 0,transparent 70%)}.portal-skill-badge-glow-gold{background:radial-gradient(circle at center,rgb(var(--color-tier-gold-rgb,255 215 0)/.2) 0,transparent 70%)}@keyframes badge-glow{0%,to{opacity:.5;transform:scale(1)}50%{opacity:1;transform:scale(1.1)}}.portal-skill-badge-header{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:1rem}.portal-skill-badge-icon{width:56px;height:56px;border-radius:14px;background:var(--color-muted);display:flex;align-items:center;justify-content:center}.portal-skill-badge-icon-bronze{background:linear-gradient(135deg,rgb(var(--color-tier-bronze-rgb,205 127 50)/.2),rgb(var(--color-tier-bronze-rgb,205 127 50)/.1))}.portal-skill-badge-icon-silver{background:linear-gradient(135deg,rgb(var(--color-tier-silver-rgb,192 192 192)/.2),rgb(var(--color-tier-silver-rgb,192 192 192)/.1))}.portal-skill-badge-icon-gold{background:linear-gradient(135deg,rgb(var(--color-tier-gold-rgb,255 215 0)/.2),rgb(var(--color-tier-gold-rgb,255 215 0)/.1))}.portal-skill-badge-title{font-size:1.125rem;font-weight:600;color:var(--color-foreground);margin-bottom:.5rem}.portal-skill-badge-description,.portal-skill-badge-title-locked{color:var(--color-muted-foreground)}.portal-skill-badge-description{font-size:.875rem;line-height:1.5;margin-bottom:1rem}.portal-skill-badge-tag-section{display:flex;align-items:center;gap:.5rem;margin-bottom:1rem}.portal-skill-badge-tag-label{display:flex;align-items:center;gap:.25rem;font-size:.75rem;color:var(--color-muted-foreground)}.portal-skill-tag{display:inline-flex;padding:.25rem .5rem;background:rgb(var(--color-primary-rgb)/.1);color:var(--color-primary);border-radius:6px;font-size:.75rem;font-weight:500}.portal-skill-badge-tiers{margin-bottom:1rem}.portal-skill-badge-tiers-label{font-size:.75rem;font-weight:500;color:var(--color-muted-foreground);margin-bottom:.5rem}.portal-skill-badge-tiers-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.5rem}.portal-tier-req-card{display:flex;flex-direction:column;align-items:center;gap:.25rem;padding:.5rem;border-radius:8px;background:color-mix(in srgb,var(--color-muted) 50%,transparent);border:1px solid var(--color-border);transition:all .2s ease}.portal-tier-req-card-bronze{border-color:rgb(var(--color-tier-bronze-rgb,205 127 50)/.3)}.portal-tier-req-card-silver{border-color:rgb(var(--color-tier-silver-rgb,192 192 192)/.3)}.portal-tier-req-card-gold{border-color:rgb(var(--color-tier-gold-rgb,255 215 0)/.3)}.portal-tier-req-card-current{background:rgb(var(--color-primary-rgb)/.1);border-color:rgb(var(--color-primary-rgb)/.3)}.portal-tier-req-card-achieved{background:color-mix(in srgb,var(--color-success) 10%,transparent);border-color:color-mix(in srgb,var(--color-success) 30%,transparent)}.portal-tier-req-icon{font-size:1.25rem}.portal-tier-req-value{font-size:.625rem;color:var(--color-muted-foreground)}.portal-tier-req-check{width:12px;height:12px;color:var(--color-success)}.portal-skill-badge-details{padding-top:1rem;border-top:1px solid var(--color-border)}.portal-skill-badge-courses{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}.portal-skill-badge-courses-label{font-size:.75rem;color:var(--color-muted-foreground)}.portal-skill-badge-courses-value{font-family:var(--font-mono,"SF Mono",Menlo,monospace);font-size:.875rem;font-weight:600;color:var(--color-foreground)}.portal-skill-badge-progress{margin-bottom:.75rem}.portal-skill-badge-progress-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem;font-size:.75rem;color:var(--color-muted-foreground)}.portal-skill-badge-progress-hint{margin-top:.5rem}.portal-skill-badge-date,.portal-skill-badge-progress-hint{font-size:.75rem;color:var(--color-muted-foreground)}.portal-skill-badge-locked-info{padding-top:1rem;border-top:1px solid var(--color-border)}.portal-skill-badge-locked-text{font-size:.875rem;color:var(--color-muted-foreground);line-height:1.5;margin-bottom:.75rem}.portal-skill-badge-locked-hint{display:flex;align-items:center;gap:.5rem;font-size:.75rem;color:var(--color-primary)}.portal-gold-celebration{display:flex;align-items:center;gap:.5rem;padding:.75rem;background:linear-gradient(135deg,rgb(var(--color-tier-gold-rgb,255 215 0)/.1),rgb(var(--color-tier-gold-rgb,255 215 0)/.05));border:1px solid rgb(var(--color-tier-gold-rgb,255 215 0)/.3);border-radius:10px;margin-bottom:.75rem;font-size:.875rem;font-weight:500;color:var(--color-foreground)}.portal-gold-celebration-icon{color:var(--color-tier-gold,#ffd700)}.portal-gold-celebration-stars{display:flex;align-items:center;gap:.25rem;margin-left:auto;color:var(--color-tier-gold,#ffd700)}.portal-tier-badge{display:inline-flex;align-items:center;gap:.25rem;padding:.25rem .625rem;border-radius:9999px;font-size:.6875rem;font-weight:600}.portal-tier-badge-bronze{background:rgb(var(--color-tier-bronze-rgb,205 127 50)/.15);color:var(--color-tier-bronze,#cd7f32);border:1px solid rgb(var(--color-tier-bronze-rgb,205 127 50)/.3)}.portal-tier-badge-silver{background:rgb(var(--color-tier-silver-rgb,192 192 192)/.15);color:var(--color-tier-silver,#c0c0c0);border:1px solid rgb(var(--color-tier-silver-rgb,192 192 192)/.3)}.portal-tier-badge-gold{background:rgb(var(--color-tier-gold-rgb,255 215 0)/.15);color:var(--color-tier-gold,#ffd700);border:1px solid rgb(var(--color-tier-gold-rgb,255 215 0)/.3)}.portal-essential-badge-card{position:relative;padding:1.5rem;border-radius:20px;background:var(--color-card);border:2px solid transparent;transition:all .3s cubic-bezier(.4,0,.2,1);overflow:hidden}.portal-essential-badge-card-earned{background:linear-gradient(135deg,var(--color-card) 0,color-mix(in srgb,var(--color-muted) 50%,transparent) 100%)}.portal-essential-badge-card-locked{opacity:.7;border-color:var(--color-border)}.portal-essential-badge-card-earned:hover{transform:translateY(-4px)}.portal-essential-badge-card-locked:hover{opacity:.85;transform:translateY(-2px)}.portal-essential-badge-border{position:absolute;inset:-2px;background:linear-gradient(135deg,rgb(245 158 11),rgb(6 182 212));border-radius:inherit;z-index:-1}.portal-essential-ribbon{position:absolute;top:12px;right:12px;display:flex;align-items:center;gap:4px;padding:4px 10px;font-size:.625rem;font-weight:700;text-transform:uppercase;letter-spacing:.5px;background:linear-gradient(135deg,rgb(245 158 11),rgb(217 119 6));color:white;border-radius:9999px;box-shadow:0 2px 8px rgb(245 158 11/.3)}.portal-essential-glow-gold{box-shadow:0 0 20px rgb(var(--color-tier-gold-rgb,255 215 0)/.3),0 0 40px rgb(var(--color-tier-gold-rgb,255 215 0)/.2),0 20px 40px -10px rgb(var(--color-tier-gold-rgb,255 215 0)/.2)}.portal-essential-glow-silver{box-shadow:0 0 20px rgb(var(--color-tier-silver-rgb,192 192 192)/.3),0 0 40px rgb(var(--color-tier-silver-rgb,192 192 192)/.2),0 20px 40px -10px rgb(var(--color-tier-silver-rgb,192 192 192)/.2)}.portal-essential-glow-bronze{box-shadow:0 0 20px rgb(var(--color-tier-bronze-rgb,205 127 50)/.3),0 0 40px rgb(var(--color-tier-bronze-rgb,205 127 50)/.2),0 20px 40px -10px rgb(var(--color-tier-bronze-rgb,205 127 50)/.2)}.portal-essential-badge-header{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:1rem}.portal-essential-badge-icon{width:64px;height:64px;border-radius:16px;background:linear-gradient(135deg,rgb(245 158 11/.15),rgb(6 182 212/.15));display:flex;align-items:center;justify-content:center;border:1px solid rgb(245 158 11/.3)}.portal-essential-badge-icon-gold{background:linear-gradient(135deg,rgb(var(--color-tier-gold-rgb,255 215 0)/.2) 0,rgb(245 158 11/.2) 100%);border-color:rgb(var(--color-tier-gold-rgb,255 215 0)/.4)}.portal-essential-badge-icon-silver{background:linear-gradient(135deg,rgb(var(--color-tier-silver-rgb,192 192 192)/.2) 0,rgb(148 163 184/.2) 100%);border-color:rgb(var(--color-tier-silver-rgb,192 192 192)/.4)}.portal-essential-badge-icon-bronze{background:linear-gradient(135deg,rgb(var(--color-tier-bronze-rgb,205 127 50)/.2) 0,rgb(180 83 9/.2) 100%);border-color:rgb(var(--color-tier-bronze-rgb,205 127 50)/.4)}.portal-essential-tier{display:inline-flex;align-items:center;gap:4px;padding:4px 12px;border-radius:9999px;font-size:.6875rem;font-weight:600}.portal-essential-tier-gold{background:linear-gradient(135deg,rgb(var(--color-tier-gold-rgb,255 215 0)/.2) 0,rgb(245 158 11/.2) 100%);color:var(--color-tier-gold,#ffd700);border:1px solid rgb(var(--color-tier-gold-rgb,255 215 0)/.4)}.portal-essential-tier-silver{background:linear-gradient(135deg,rgb(var(--color-tier-silver-rgb,192 192 192)/.2) 0,rgb(148 163 184/.2) 100%);color:var(--color-tier-silver,#c0c0c0);border:1px solid rgb(var(--color-tier-silver-rgb,192 192 192)/.4)}.portal-essential-tier-bronze{background:linear-gradient(135deg,rgb(var(--color-tier-bronze-rgb,205 127 50)/.2) 0,rgb(180 83 9/.2) 100%);color:var(--color-tier-bronze,#cd7f32);border:1px solid rgb(var(--color-tier-bronze-rgb,205 127 50)/.4)}.portal-essential-badge-title{font-size:1rem;font-weight:600;color:var(--color-foreground);margin-bottom:.5rem}.portal-essential-badge-description{font-size:.875rem;color:var(--color-muted-foreground);line-height:1.5;margin-bottom:.75rem}.portal-essential-badge-context{display:flex;align-items:center;gap:.5rem;margin-bottom:1rem}.portal-essential-performance{display:grid;grid-template-columns:repeat(3,1fr);gap:.5rem;padding:.75rem;background:color-mix(in srgb,var(--color-muted) 50%,transparent);border-radius:12px;margin-bottom:1rem}.portal-essential-performance-item{display:flex;flex-direction:column;align-items:center;gap:.25rem;text-align:center}.portal-essential-performance-value{font-family:var(--font-mono,"SF Mono",Menlo,monospace);font-size:.875rem;font-weight:600;color:var(--color-foreground)}.portal-essential-performance-label{font-size:.625rem;color:var(--color-muted-foreground);text-transform:uppercase;letter-spacing:.5px}.portal-essential-badge-date{gap:.5rem;font-size:.75rem;margin-bottom:.75rem}.portal-essential-badge-date,.portal-essential-badge-type{display:flex;align-items:center;color:var(--color-muted-foreground)}.portal-essential-badge-type{gap:.375rem;font-size:.6875rem;padding-top:.75rem;border-top:1px solid var(--color-border)}.portal-locked-badge{display:inline-flex;align-items:center;gap:.25rem;padding:.25rem .625rem;border-radius:9999px;font-size:.6875rem;font-weight:500;background:var(--color-muted);color:var(--color-muted-foreground);border:1px solid var(--color-border)}.portal-tier-card{display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;border-radius:12px;background:color-mix(in srgb,var(--color-muted) 50%,transparent);border:1px solid var(--color-border);transition:all .2s ease}.portal-tier-card:hover{transform:translateY(-2px)}.portal-tier-card-bronze{border-color:rgb(var(--color-tier-bronze-rgb,205 127 50)/.3)}.portal-tier-card-bronze .portal-tier-card-icon{color:var(--color-tier-bronze,#cd7f32)}.portal-tier-card-silver{border-color:rgb(var(--color-tier-silver-rgb,192 192 192)/.3)}.portal-tier-card-silver .portal-tier-card-icon{color:var(--color-tier-silver,#c0c0c0)}.portal-tier-card-gold{border-color:rgb(var(--color-tier-gold-rgb,255 215 0)/.3)}.portal-tier-card-gold .portal-tier-card-icon{color:var(--color-tier-gold,#ffd700)}.portal-tier-card-icon{display:flex;align-items:center;justify-content:center}.portal-tier-card-content{display:flex;flex-direction:column;gap:.125rem}.portal-tier-card-value{font-family:var(--font-mono,"SF Mono",Menlo,monospace);font-size:1.25rem;font-weight:600;color:var(--color-foreground);line-height:1}.portal-tier-card-label{font-size:.625rem;font-weight:500;text-transform:uppercase;letter-spacing:.05em;color:var(--color-muted-foreground)}.portal-tabs-enhanced{display:flex;gap:.5rem;padding:.5rem;background:color-mix(in srgb,var(--color-muted) 50%,transparent);border-radius:12px;margin-bottom:1.5rem}.portal-tabs-enhanced [role=tab]{display:flex;align-items:center;gap:.5rem;padding:.75rem 1rem;border-radius:8px;font-size:.875rem;font-weight:500;color:var(--color-muted-foreground);background:transparent;border:none;cursor:pointer;transition:all .2s ease}.portal-tabs-enhanced [role=tab]:hover{color:var(--color-foreground);background:var(--color-muted)}.portal-tabs-enhanced [role=tab][aria-selected=true]{color:var(--color-primary);background:var(--color-card);box-shadow:0 1px 3px rgba(0,0,0,.1)}.portal-tabs-enhanced [role=tab] svg{opacity:.7}.portal-tabs-enhanced [role=tab]:hover svg,.portal-tabs-enhanced [role=tab][aria-selected=true] svg{opacity:1}.portal-tab-content{margin-top:1.5rem;display:flex;flex-direction:column;gap:1.5rem}.portal-section-card{background:var(--color-card);border:1px solid var(--color-border);border-radius:20px;padding:1.5rem;min-width:0;overflow:hidden}.portal-section-header{padding-bottom:1rem;margin-bottom:1rem;border-bottom:1px solid var(--color-border)}.portal-section-title{font-size:1.125rem;font-weight:600;color:var(--color-foreground);line-height:1.4}.portal-section-description{font-size:.875rem;color:var(--color-muted-foreground);margin-top:.25rem;line-height:1.5}.portal-section-body{display:flex;flex-direction:column;gap:1rem}.portal-page-title{font-size:1.5rem;font-weight:700;color:var(--color-foreground);line-height:1.2}@media (min-width:768px){.portal-page-title{font-size:1.875rem}}.portal-page-subtitle{font-size:.875rem;color:var(--color-muted-foreground);margin-top:.5rem;line-height:1.5}@media (min-width:768px){.portal-page-subtitle{font-size:1rem}}.portal-page-header-tight{padding-top:1rem;padding-bottom:.5rem}.portal-page-header{display:flex;align-items:flex-start;gap:1rem}.portal-wizard-content{display:flex;flex-direction:column;gap:1rem}.portal-error{font-size:.875rem;color:var(--color-destructive);margin-top:.25rem}.portal-command-row{display:flex;align-items:center;gap:.75rem;padding:.5rem .75rem;border-radius:12px;background:color-mix(in srgb,var(--color-muted) 40%,transparent);border:1px solid var(--color-border)}.portal-kbd{display:inline-flex;align-items:center;justify-content:center;min-width:48px;padding:.25rem .5rem;border-radius:8px;font-size:.75rem;font-weight:600;font-family:var(--font-mono,"SF Mono",Menlo,monospace);color:var(--color-foreground);box-shadow:inset 0 -1px 0 var(--color-border)}.portal-kbd,.portal-lesson-card{background:var(--color-card);border:1px solid var(--color-border)}.portal-lesson-card{padding:1rem;border-radius:16px;transition:all .2s ease}.portal-lesson-card:hover{border-color:rgb(var(--color-primary-rgb)/.3);transform:translateY(-2px);box-shadow:0 10px 20px -16px rgb(var(--color-primary-rgb)/.4)}.portal-lesson-number{width:32px;height:32px;border-radius:10px;background:rgb(var(--color-primary-rgb)/.12);color:var(--color-primary);display:flex;align-items:center;justify-content:center;font-size:.75rem;font-weight:600;font-family:var(--font-mono,"SF Mono",Menlo,monospace)}.portal-progress-hero{display:flex;flex-direction:column;align-items:center;gap:1.5rem;padding:2rem;background:var(--color-card);border:1px solid var(--color-border);border-radius:24px;position:relative;overflow:hidden}@media (min-width:768px){.portal-progress-hero{flex-direction:row;justify-content:space-between}}.portal-progress-hero-content{flex:1;display:flex;flex-direction:column;gap:.5rem}.portal-progress-hero-title{font-size:1.25rem;font-weight:600;color:var(--color-foreground);letter-spacing:-.025em}@media (min-width:768px){.portal-progress-hero-title{font-size:1.5rem}}.portal-progress-hero-subtitle{font-size:.875rem;color:var(--color-muted-foreground);line-height:1.5}.portal-bar-chart{display:flex;align-items:flex-end;justify-content:space-between;gap:.75rem;height:180px;padding:1rem 0}.portal-bar-item{display:flex;flex-direction:column;align-items:center;gap:.5rem;flex:1;height:100%;animation:portal-fade-in .4s ease forwards;opacity:0}.portal-bar-container{flex:1;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;position:relative}.portal-bar{width:100%;max-width:40px;min-height:4px;background:linear-gradient(180deg,var(--color-primary),rgb(var(--color-primary-rgb)/.7));border-radius:4px 4px 0 0;transition:height .5s cubic-bezier(.4,0,.2,1)}.portal-bar-value{position:absolute;top:-1.5rem;font-size:.75rem;font-weight:600;font-family:var(--font-mono,"SF Mono",Menlo,monospace);color:var(--color-foreground)}.portal-bar-label{font-size:.75rem;color:var(--color-muted-foreground);text-align:center}.portal-chart-summary{display:flex;align-items:center;justify-content:space-between;padding-top:1rem;border-top:1px solid var(--color-border);margin-top:1rem}.portal-chart-legend{display:flex;align-items:center;gap:1rem}.portal-chart-legend-item{display:flex;align-items:center;gap:.5rem;font-size:.75rem;color:var(--color-muted-foreground)}.portal-chart-legend-dot{width:8px;height:8px;border-radius:50%;background:var(--color-primary)}.portal-chart-total{display:flex;align-items:center;gap:.25rem}.portal-chart-total-label{font-size:.75rem;color:var(--color-muted-foreground)}.portal-chart-total-value{font-size:.875rem;font-weight:600;font-family:var(--font-mono,"SF Mono",Menlo,monospace);color:var(--color-primary)}.portal-achievement-item{display:flex;align-items:center;gap:.75rem;padding:.75rem;background:color-mix(in srgb,var(--color-muted) 30%,transparent);border:1px solid var(--color-border);border-radius:12px;transition:all .3s cubic-bezier(.4,0,.2,1)}.portal-achievement-item:hover{background:color-mix(in srgb,var(--color-muted) 50%,transparent);transform:translateX(4px);border-color:rgb(var(--color-primary-rgb)/.3)}.portal-achievement-icon{width:40px;height:40px;border-radius:10px;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:transform .3s ease,box-shadow .3s ease}.portal-achievement-item:hover .portal-achievement-icon{transform:scale(1.05)}.portal-achievement-content{flex:1;min-width:0;display:flex;flex-direction:column;gap:.125rem}.portal-achievement-title{font-size:.875rem;font-weight:500;color:var(--color-foreground)}.portal-achievement-subtitle{font-size:.75rem;color:var(--color-muted-foreground)}.portal-goal-card{padding:1rem;background:color-mix(in srgb,var(--color-muted) 30%,transparent);border:1px solid var(--color-border);border-radius:12px;transition:all .3s cubic-bezier(.4,0,.2,1);position:relative}.portal-goal-card:hover{background:color-mix(in srgb,var(--color-muted) 50%,transparent);transform:translateY(-2px)}.portal-goal-card-primary{border-left:3px solid var(--color-primary)}.portal-goal-card-primary:hover{box-shadow:0 8px 24px -8px rgb(var(--color-primary-rgb)/.15)}.portal-goal-card-secondary{border-left:3px solid var(--color-muted-foreground)}.portal-goal-card-secondary:hover{box-shadow:0 8px 24px -8px color-mix(in srgb,var(--color-muted-foreground) 10%,transparent)}.portal-goal-card-streak{border-left:3px solid rgb(245 158 11)}.portal-goal-card-streak:hover{box-shadow:0 8px 24px -8px rgb(245 158 11/.15)}.portal-goal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}.portal-goal-title{font-size:.75rem;font-weight:500;color:var(--color-muted-foreground)}.portal-goal-value{font-size:.875rem;font-weight:600;font-family:var(--font-mono,"SF Mono",Menlo,monospace)}.portal-goal-status{font-size:.75rem;margin-top:.5rem}.portal-goal-status-success{color:var(--color-success)}.portal-goal-status-muted{color:var(--color-muted-foreground)}.portal-progress-secondary{background:linear-gradient(90deg,var(--color-muted-foreground),color-mix(in srgb,var(--color-muted-foreground) 70%,transparent))}.portal-progress-streak{background:linear-gradient(90deg,rgb(245 158 11),rgb(245 158 11/.7))}.portal-skeleton{background:color-mix(in srgb,var(--color-muted) 60%,transparent);border:1px solid color-mix(in srgb,var(--color-border) 60%,transparent);animation:portal-glow-pulse 1.5s ease-in-out infinite}.portal-text-link{color:var(--color-primary);text-decoration:none;transition:color .2s ease}.portal-text-link:hover{color:var(--color-primary-hover,var(--color-primary));text-decoration:underline}.portal-empty-state-small{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:2rem 1rem;gap:.75rem}.portal-empty-state-small p{font-size:.875rem;color:var(--color-muted-foreground)}@media (prefers-reduced-motion:reduce){.portal-animate-fade,.portal-animate-in,.portal-animate-in-delay-1,.portal-animate-in-delay-2,.portal-animate-in-delay-3,.portal-animate-in-delay-4,.portal-animate-in-delay-5,.portal-animate-in-delay-8,.portal-animate-scale,.portal-animate-slide-up,.portal-chat-cursor,.portal-chat-typing-dot,.portal-staggered-grid>*,.portal-status-indicator-glow{animation:none;opacity:1;transform:none}.portal-btn,.portal-glass-card,.portal-nav-item,.portal-quick-action{transition:none}}.portal-pg-button{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;font-weight:500;white-space:nowrap;touch-action:manipulation;transition:all var(--animation-duration-normal,.15s) var(--animation-easing-ease-out,ease-out)}.portal-pg-button:focus-visible{outline:none;box-shadow:0 0 0 2px var(--color-background),0 0 0 4px var(--color-ring)}.portal-pg-button:disabled{pointer-events:none;opacity:.5}@media (prefers-reduced-motion:no-preference){.portal-pg-button:active{transform:scale(.96);transition:transform 75ms}}.portal-pg-button--primary{background-color:var(--color-primary);color:var(--color-primary-foreground)}.portal-pg-button--primary:hover{background-color:color-mix(in srgb,var(--color-primary) 90%,transparent)}.portal-pg-button--default{background-color:var(--color-primary);color:var(--color-primary-foreground)}.portal-pg-button--default:hover{background-color:color-mix(in srgb,var(--color-primary) 90%,transparent)}.portal-pg-button--secondary{background-color:var(--color-secondary);color:var(--color-secondary-foreground)}.portal-pg-button--secondary:hover{background-color:color-mix(in srgb,var(--color-secondary) 80%,transparent)}.portal-pg-button--ghost{background-color:transparent;color:var(--color-foreground)}.portal-pg-button--ghost:hover{background-color:var(--color-accent);color:var(--color-accent-foreground)}.portal-pg-button--outline{background-color:transparent;color:var(--color-foreground);border:1px solid var(--color-input)}.portal-pg-button--outline:hover{background-color:var(--color-accent);color:var(--color-accent-foreground)}.portal-pg-button--destructive{background-color:var(--color-destructive);color:var(--color-destructive-foreground)}.portal-pg-button--destructive:hover{background-color:color-mix(in srgb,var(--color-destructive) 90%,transparent)}.portal-pg-button--size-sm{height:2rem;min-height:var(--touch-target-min,2.75rem);padding-left:.75rem;padding-right:.75rem;font-size:.875rem;border-radius:.375rem}.portal-pg-button--size-default,.portal-pg-button--size-md{height:2.25rem;min-height:var(--touch-target-min,2.75rem);padding-left:1rem;padding-right:1rem;font-size:.875rem;border-radius:.375rem}.portal-pg-button--size-lg{height:2.5rem;border-radius:.375rem}.portal-pg-button--size-lg,.portal-pg-button--size-touch{min-height:var(--touch-target-min,2.75rem);padding-left:1.5rem;padding-right:1.5rem;font-size:1rem}.portal-pg-button--size-touch{height:2.75rem;border-radius:.5rem}.portal-pg-button--size-icon{height:var(--touch-target-min,2rem);width:var(--touch-target-min,2rem);padding:0;border-radius:.375rem}.portal-pg-button--size-icon-touch{height:2.75rem;width:2.75rem;min-height:var(--touch-target-min,2.75rem);min-width:var(--touch-target-min,2.75rem);padding:0;border-radius:.5rem}.portal-pg-button--shape-circle{border-radius:9999px;aspect-ratio:1/1;padding:0}.portal-pg-button--link{background-color:transparent;color:var(--color-primary);text-underline-offset:4px;padding:0;height:auto}.portal-pg-button--link:hover{text-decoration:underline}.portal-pg-button--full-width{width:100%}@media (pointer:coarse){.portal-pg-button:not(.portal-pg-button--link),a[data-tap-target]:not([data-compact]){min-height:var(--touch-target-min,2.75rem);min-width:var(--touch-target-min,2.75rem)}}.portal-pg-card{border-radius:var(--card-radius,var(--radius-lg,.75rem));border:1px solid var(--color-border);background-color:var(--color-card);color:var(--color-card-foreground);transition:all .3s var(--animation-easing-ease-out,ease-out)}@media (prefers-reduced-motion:reduce){.portal-pg-card{transition:none;transform:none}}.portal-pg-card--default:hover{box-shadow:0 4px 12px -6px var(--color-primary-glow)}.portal-pg-card--interactive{cursor:pointer}.portal-pg-card--interactive:hover{box-shadow:0 6px 18px -10px var(--color-primary-glow);border-color:color-mix(in srgb,var(--color-border) 70%,transparent)}@media (prefers-reduced-motion:no-preference){.portal-pg-card--interactive:active{transform:scale(.99)}}@media (prefers-reduced-motion:reduce){.portal-pg-card--interactive:hover{transform:none}}.portal-pg-card--glow{position:relative}.portal-pg-card--glow:hover{box-shadow:0 6px 20px -12px var(--color-primary-glow);border-color:color-mix(in srgb,var(--color-primary) 20%,transparent)}.portal-pg-card--glow:after{content:"";pointer-events:none;position:absolute;inset:0;border-radius:var(--card-radius,var(--radius-lg,.75rem));opacity:0;transition:opacity .3s;box-shadow:0 0 14px 2px var(--color-primary-glow)}.portal-pg-card--glow:hover:after{opacity:1}@media (prefers-reduced-motion:reduce){.portal-pg-card--glow:hover{transform:none}.portal-pg-card--glow:after{transition:none}}.portal-pg-card--stat:hover{box-shadow:0 4px 12px -6px var(--color-primary-glow)}.portal-pg-card--outline{border-style:dashed;background-color:transparent;box-shadow:none}.portal-pg-card--outline:hover{background-color:color-mix(in srgb,var(--color-muted) 50%,transparent);border-color:var(--color-border)}.portal-pg-card--size-sm{--card-padding:var(--card-padding-sm,var(--space-3,0.75rem))}.portal-pg-card--size-md{--card-padding:var(--card-padding-md,var(--space-6,1.5rem))}.portal-pg-card--size-lg{--card-padding:var(--card-padding-lg,var(--space-8,2rem))}.portal-pg-card--flat{box-shadow:none}.portal-pg-card--raised{box-shadow:0 1px 2px 0 rgb(0 0 0/.05)}.portal-pg-card--floating{box-shadow:0 10px 15px -3px rgb(0 0 0/.1),0 4px 6px -4px rgb(0 0 0/.1)}.portal-pg-card--accent-left{border-left:4px solid var(--color-primary)}.portal-pg-card--accent-top{border-top:4px solid var(--color-primary)}.portal-pg-card__header{display:flex;flex-direction:column;gap:.375rem;padding:var(--card-padding,1.5rem)}.portal-pg-card__title{font-size:1.5rem;font-weight:600;line-height:1.25;letter-spacing:-.025em}.portal-pg-card__description{font-size:.875rem;color:var(--color-muted-foreground)}.portal-pg-card__content{padding:var(--card-padding,1.5rem);padding-top:0}.portal-pg-card:not(:has(.portal-pg-card__header)) .portal-pg-card__content{padding-top:var(--card-padding,1.5rem)}.portal-pg-card__footer{display:flex;align-items:center;padding:var(--card-padding,1.5rem);padding-top:0}.portal-pg-card__footer--divided{padding-top:.75rem;padding-bottom:.75rem}.portal-pg-aspect-ratio{position:relative;display:block;width:100%}.portal-pg-aspect-ratio--overflow-hidden{overflow:hidden}.portal-pg-aspect-ratio--overflow-visible{overflow:visible}.portal-pg-aspect-ratio--fill-children>*{width:100%;height:100%}.portal-pg-aspect-ratio--fill-children>canvas,.portal-pg-aspect-ratio--fill-children>iframe,.portal-pg-aspect-ratio--fill-children>img,.portal-pg-aspect-ratio--fill-children>picture>img,.portal-pg-aspect-ratio--fill-children>svg,.portal-pg-aspect-ratio--fill-children>video{display:block;width:100%;height:100%;object-fit:cover}.portal-pg-skip-nav__target,.portal-pg-visually-hidden,.portal-pg-visually-hidden-focusable:not(:focus):not(:focus-within){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}.portal-pg-skip-nav__link{position:fixed;z-index:var(--z-toast,9999);top:.75rem;left:.75rem;display:inline-flex;min-height:2.5rem;align-items:center;justify-content:center;border:1px solid var(--color-primary);border-radius:var(--radius-md,.5rem);background-color:var(--color-card);color:var(--color-primary);box-shadow:0 0 0 4px var(--focus-ring,rgba(59,130,246,.24));font-size:.875rem;font-weight:700;line-height:1;padding:0 .875rem;text-decoration:none;transform:translateY(-.5rem);opacity:0;pointer-events:none;transition:opacity var(--animation-duration-fast,.15s) var(--animation-easing-ease-out,ease-out),transform var(--animation-duration-fast,.15s) var(--animation-easing-ease-out,ease-out)}.portal-pg-skip-nav__link:focus,.portal-pg-skip-nav__link:focus-visible{transform:translateY(0);opacity:1;pointer-events:auto;outline:none}.portal-pg-editorial-card{position:relative;display:flex;flex-direction:column;background-color:var(--color-card);transition:all .5s ease-out}.portal-pg-editorial-card--default:hover,.portal-pg-editorial-card--interactive:hover{transform:translateY(-.125rem)}@media (min-width:640px){.portal-pg-editorial-card--default:hover,.portal-pg-editorial-card--interactive:hover{transform:translateY(-.25rem)}}@media (prefers-reduced-motion:reduce){.portal-pg-editorial-card--default:hover,.portal-pg-editorial-card--interactive:hover{transform:none}}.portal-pg-editorial-card__shadow{position:absolute;inset:0;background-color:color-mix(in srgb,var(--color-foreground) 6%,transparent);transition:all .5s;transform:translate(.25rem,.25rem)}@media (min-width:640px){.portal-pg-editorial-card__shadow{transform:translate(.375rem,.375rem)}}.portal-pg-editorial-card__shadow--subtle{background-color:color-mix(in srgb,var(--color-foreground) 4%,transparent)}.portal-pg-editorial-card__shadow--medium{background-color:color-mix(in srgb,var(--color-foreground) 6%,transparent)}.portal-pg-editorial-card__shadow--strong{background-color:color-mix(in srgb,var(--color-foreground) 8%,transparent)}.portal-pg-editorial-card--interactive:hover .portal-pg-editorial-card__shadow{transform:translate(.375rem,.375rem)}@media (min-width:640px){.portal-pg-editorial-card--interactive:hover .portal-pg-editorial-card__shadow{transform:translate(.5rem,.5rem)}}@media (prefers-reduced-motion:reduce){.portal-pg-editorial-card--interactive:hover .portal-pg-editorial-card__shadow{transform:none}}.portal-pg-editorial-card__inner{position:relative;display:flex;flex-direction:column;border:1px solid var(--color-border);background-color:var(--color-card);transition:border-color .3s;height:100%;overflow:hidden}.portal-pg-editorial-card--interactive:hover .portal-pg-editorial-card__inner{border-color:color-mix(in srgb,var(--color-accent) 40%,transparent)}.portal-pg-focus-glow{border-radius:.5rem;transition:box-shadow .2s;--portal-pg-focus-glow-ring-color:transparent;--portal-pg-focus-glow-shadow-color:transparent}.portal-pg-focus-glow--info{--portal-pg-focus-glow-ring-color:color-mix(in srgb,var(--color-info) 50%,transparent);--portal-pg-focus-glow-shadow-color:color-mix(in srgb,var(--color-info) 20%,transparent)}.portal-pg-focus-glow--accent{--portal-pg-focus-glow-ring-color:color-mix(in srgb,var(--color-accent) 50%,transparent);--portal-pg-focus-glow-shadow-color:color-mix(in srgb,var(--color-accent) 20%,transparent)}.portal-pg-focus-glow--success{--portal-pg-focus-glow-ring-color:color-mix(in srgb,var(--color-success) 50%,transparent);--portal-pg-focus-glow-shadow-color:color-mix(in srgb,var(--color-success) 20%,transparent)}.portal-pg-focus-glow--primary{--portal-pg-focus-glow-ring-color:color-mix(in srgb,var(--color-primary) 50%,transparent);--portal-pg-focus-glow-shadow-color:color-mix(in srgb,var(--color-primary) 20%,transparent)}.portal-pg-focus-glow--warning{--portal-pg-focus-glow-ring-color:color-mix(in srgb,var(--color-warning) 50%,transparent);--portal-pg-focus-glow-shadow-color:color-mix(in srgb,var(--color-warning) 20%,transparent)}.portal-pg-focus-glow--danger{--portal-pg-focus-glow-ring-color:color-mix(in srgb,var(--color-destructive) 50%,transparent);--portal-pg-focus-glow-shadow-color:color-mix(in srgb,var(--color-destructive) 20%,transparent)}.portal-pg-focus-glow--muted{--portal-pg-focus-glow-ring-color:color-mix(in srgb,var(--color-muted-foreground) 50%,transparent);--portal-pg-focus-glow-shadow-color:color-mix(in srgb,var(--color-muted-foreground) 20%,transparent)}.portal-pg-focus-glow--sm:focus-within{box-shadow:0 0 0 1px var(--portal-pg-focus-glow-ring-color),0 1px 2px 0 var(--portal-pg-focus-glow-shadow-color)}.portal-pg-focus-glow--md:focus-within{box-shadow:0 0 0 2px var(--portal-pg-focus-glow-ring-color),0 4px 6px -1px var(--portal-pg-focus-glow-shadow-color)}.portal-pg-focus-glow--lg:focus-within{box-shadow:0 0 0 2px var(--portal-pg-focus-glow-ring-color),0 10px 15px -3px var(--portal-pg-focus-glow-shadow-color)}@media (prefers-reduced-motion:reduce){.portal-pg-focus-glow{transition:none}}.portal-pg-glass-overlay{position:absolute;inset:0;border:1px solid var(--border-subtle,rgba(255,255,255,.08));border-radius:.75rem;background-color:var(--surface-elevated,rgba(255,255,255,.05));transition:opacity .3s}.portal-pg-glass-overlay--blur-sm{backdrop-filter:blur(8px) saturate(1.3);-webkit-backdrop-filter:blur(8px) saturate(1.3)}.portal-pg-glass-overlay--blur-md{backdrop-filter:blur(12px) saturate(1.3);-webkit-backdrop-filter:blur(12px) saturate(1.3)}.portal-pg-glass-overlay--blur-lg{backdrop-filter:blur(20px) saturate(1.3);-webkit-backdrop-filter:blur(20px) saturate(1.3)}.portal-pg-glass-overlay--admin{background-color:var(--color-overlay-admin,rgba(10,15,20,.75))}.portal-pg-glass-overlay--creator{background-color:var(--color-overlay-creator,rgba(15,10,25,.75))}.portal-pg-glass-overlay--student{background-color:var(--color-overlay-student,rgba(10,20,15,.75))}@media (prefers-reduced-motion:reduce){.portal-pg-glass-overlay.portal-animate-in{animation:none;animation-duration:0s}}.portal-pg-label{font-size:.875rem;font-weight:500;line-height:1;margin-bottom:.375rem}.peer:disabled~.portal-pg-label{cursor:not-allowed;opacity:.7}@keyframes portal-pg-fade-in{0%{opacity:0}to{opacity:1}}@keyframes portal-pg-fade-out{0%{opacity:1}to{opacity:0}}@keyframes portal-pg-slide-in-from-top{0%{transform:translateY(-100%)}to{transform:translateY(0)}}@keyframes portal-pg-slide-out-to-top{0%{transform:translateY(0)}to{transform:translateY(-100%)}}@keyframes portal-pg-slide-in-from-bottom{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes portal-pg-slide-out-to-bottom{0%{transform:translateY(0)}to{transform:translateY(100%)}}@keyframes portal-pg-slide-in-from-left{0%{transform:translateX(-100%)}to{transform:translateX(0)}}@keyframes portal-pg-slide-out-to-left{0%{transform:translateX(0)}to{transform:translateX(-100%)}}@keyframes portal-pg-slide-in-from-right{0%{transform:translateX(100%)}to{transform:translateX(0)}}@keyframes portal-pg-slide-out-to-right{0%{transform:translateX(0)}to{transform:translateX(-100%)}}@keyframes portal-pg-zoom-in-95{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes portal-pg-zoom-out-95{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.95)}}.portal-pg-sheet__overlay{position:fixed;inset:0;z-index:var(--z-modal-backdrop);background-color:var(--color-scrim,rgb(0 0 0/.8));backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}.portal-pg-sheet__overlay[data-state=open]{animation:portal-pg-fade-in .2s ease-out}.portal-pg-sheet__overlay[data-state=closed]{animation:portal-pg-fade-out .15s ease-in forwards}.portal-pg-sheet__content{position:fixed;z-index:var(--z-modal);gap:1rem;padding:1.5rem;box-shadow:0 10px 15px -3px rgb(0 0 0/.1),0 4px 6px -4px rgb(0 0 0/.1);background-color:var(--color-popover);color:var(--color-popover-foreground);transition:transform ease-in-out}.portal-pg-sheet__content[data-state=open]{animation-duration:.3s}.portal-pg-sheet__content[data-state=closed]{animation-duration:.2s}.portal-pg-sheet__content--side-top{inset-inline:0;top:0;border-bottom:1px solid var(--color-border);padding-top:env(safe-area-inset-top,0)}.portal-pg-sheet__content--side-top[data-state=open]{animation-name:portal-pg-slide-in-from-top}.portal-pg-sheet__content--side-top[data-state=closed]{animation-name:portal-pg-slide-out-to-top}.portal-pg-sheet__content--side-bottom{inset-inline:0;bottom:0;border-top:1px solid var(--color-border);padding-bottom:env(safe-area-inset-bottom,0)}.portal-pg-sheet__content--side-bottom[data-state=open]{animation-name:portal-pg-slide-in-from-bottom}.portal-pg-sheet__content--side-bottom[data-state=closed]{animation-name:portal-pg-slide-out-to-bottom}.portal-pg-sheet__content--side-left{inset-block:0;left:0;height:100%;width:75%;border-right:1px solid var(--color-border);padding-left:env(safe-area-inset-left,0);padding-top:env(safe-area-inset-top,0);padding-bottom:env(safe-area-inset-bottom,0)}@media (min-width:640px){.portal-pg-sheet__content--side-left{max-width:24rem}}.portal-pg-sheet__content--side-left[data-state=open]{animation-name:portal-pg-slide-in-from-left}.portal-pg-sheet__content--side-left[data-state=closed]{animation-name:portal-pg-slide-out-to-left}.portal-pg-sheet__content--side-right{inset-block:0;right:0;height:100%;width:75%;border-left:1px solid var(--color-border);padding-right:env(safe-area-inset-right,0);padding-top:env(safe-area-inset-top,0);padding-bottom:env(safe-area-inset-bottom,0)}@media (min-width:640px){.portal-pg-sheet__content--side-right{max-width:24rem}}.portal-pg-sheet__content--side-right[data-state=open]{animation-name:portal-pg-slide-in-from-right}.portal-pg-sheet__content--side-right[data-state=closed]{animation-name:portal-pg-slide-out-to-right}.portal-pg-sheet__close{position:absolute;right:1rem;top:1rem;display:inline-flex;align-items:center;justify-content:center;width:2.75rem;height:2.75rem;border-radius:.375rem;opacity:.7;background-color:transparent;border:none;cursor:pointer;transition:all .2s;touch-action:manipulation}.portal-pg-sheet__close:hover{opacity:1;background-color:var(--color-muted)}.portal-pg-sheet__close:focus-visible{outline:none;box-shadow:0 0 0 2px var(--color-background),0 0 0 4px color-mix(in srgb,var(--color-primary) 50%,transparent)}.portal-pg-sheet__close:disabled{pointer-events:none}.portal-pg-sheet__close-icon{width:1.25rem;height:1.25rem}.portal-pg-sheet__header{display:flex;flex-direction:column;gap:.5rem;text-align:center}@media (min-width:640px){.portal-pg-sheet__header{text-align:left}}.portal-pg-sheet__footer{display:flex;flex-direction:column-reverse}@media (min-width:640px){.portal-pg-sheet__footer{flex-direction:row;justify-content:flex-end;gap:.5rem}}.portal-pg-sheet__title{font-size:1.125rem;font-weight:600;color:var(--color-foreground)}.portal-pg-sheet__description{font-size:.875rem;color:var(--color-muted-foreground)}@media (prefers-reduced-motion:reduce){.portal-pg-sheet__content[data-state],.portal-pg-sheet__overlay[data-state]{animation:none}}@keyframes portal-pg-dialog-zoom-in-95{0%{opacity:0;transform:translate(-50%,-50%) scale(.95)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}@keyframes portal-pg-dialog-zoom-out-95{0%{opacity:1;transform:translate(-50%,-50%) scale(1)}to{opacity:0;transform:translate(-50%,-50%) scale(.95)}}.portal-pg-dialog__overlay{position:fixed;inset:0;z-index:var(--z-modal-backdrop);background-color:var(--color-scrim,rgb(0 0 0/.8))}.portal-pg-dialog__overlay[data-state=open]{animation:portal-pg-fade-in .2s ease-out}.portal-pg-dialog__overlay[data-state=closed]{animation:portal-pg-fade-out .15s ease-in forwards}.portal-pg-dialog__content{position:fixed;left:50%;top:50%;z-index:var(--z-modal);width:100%;transform:translate(-50%,-50%);padding:1.5rem;box-shadow:0 10px 15px -3px rgb(0 0 0/.1),0 4px 6px -4px rgb(0 0 0/.1);background-color:var(--color-background);border:1px solid var(--color-border);border-radius:var(--dialog-radius,var(--radius-xl,.75rem));transition-duration:.2s}.portal-pg-dialog__content[data-state=open]{animation:portal-pg-dialog-zoom-in-95 .2s cubic-bezier(.16,1,.3,1)}.portal-pg-dialog__content[data-state=closed]{animation:portal-pg-dialog-zoom-out-95 .15s ease-in forwards}.portal-pg-dialog__content--size-sm{max-width:24rem}.portal-pg-dialog__content--size-md{max-width:32rem}.portal-pg-dialog__content--size-lg{max-width:42rem}.portal-pg-dialog__content--size-xl{max-width:56rem}.portal-pg-dialog__content--size-full{max-width:calc(100vw - 2rem)}[data-pageshell-theme] .portal-pg-dialog__content{--color-popover:var(--surface-dialog);--color-popover-foreground:var(--portal-foreground);--color-muted:var(--portal-muted);--color-muted-foreground:var(--portal-muted-foreground);--color-accent:var(--portal-accent);--color-accent-foreground:var(--portal-accent-foreground);--color-primary:var(--portal-primary);--color-primary-foreground:var(--portal-primary-foreground);background-color:var(--surface-dialog,var(--color-background))!important;color:var(--portal-foreground,var(--color-foreground))!important;border-color:var(--portal-border,var(--color-border))!important}.portal-pg-dialog__header{display:flex;flex-direction:column;gap:.375rem;text-align:center}@media (min-width:640px){.portal-pg-dialog__header{text-align:left}}.portal-pg-dialog__footer{display:flex;flex-direction:column-reverse}@media (min-width:640px){.portal-pg-dialog__footer{flex-direction:row;justify-content:flex-end;gap:.5rem}}.portal-pg-dialog__title{font-size:1.125rem;font-weight:600;line-height:1;letter-spacing:-.025em}.portal-pg-dialog__description{font-size:.875rem;color:var(--color-muted-foreground)}@media (prefers-reduced-motion:reduce){.portal-pg-dialog__content[data-state],.portal-pg-dialog__overlay[data-state]{animation:none}}.portal-pg-rating__star--filled{fill:var(--color-rating-fill,#facc15);color:var(--color-rating-fill,#facc15)}.portal-pg-rating__star--hoverable:hover{color:var(--color-rating-fill-hover,#fde047)}.portal-pg-feedback__face--selected{color:var(--color-primary);transform:scale(1.08)}.portal-pg-feedback__thumb--selected{color:var(--color-primary)}.portal-pg-feedback__nps-track{padding:.25rem;border-radius:.75rem;border:1px solid var(--color-border);background-image:linear-gradient(90deg,color-mix(in srgb,var(--color-destructive) 16%,transparent),color-mix(in srgb,var(--color-warning) 16%,transparent) 55%,color-mix(in srgb,var(--color-success) 20%,transparent))}.portal-pg-feedback__nps-option--selected{background-color:var(--color-card);color:var(--color-primary);font-weight:800;transform:translateY(-2px) scale(1.04);box-shadow:0 4px 12px -4px color-mix(in srgb,var(--color-foreground) 28%,transparent)}.portal-pg-qr{display:inline-block;color:var(--qr-foreground,var(--color-foreground));background-color:var(--qr-background,var(--color-background))}.portal-pg-qr>svg{display:block;width:100%;height:100%}.portal-pg-qr--bordered{border:1px solid var(--qr-border,var(--color-border));border-radius:var(--radius-md,.5rem);padding:.375rem}.portal-pg-toaster__toast{background-color:var(--color-background);color:var(--color-foreground);border:1px solid var(--color-border);box-shadow:0 10px 15px -3px rgb(0 0 0/.1),0 4px 6px -4px rgb(0 0 0/.1);pointer-events:auto}.portal-pg-toaster__description{color:var(--color-muted-foreground)}.portal-pg-toaster__action{background-color:var(--color-primary);color:var(--color-primary-foreground)}.portal-pg-toaster__cancel{background-color:var(--color-muted);color:var(--color-muted-foreground)}.portal-pg-toaster{padding-bottom:env(safe-area-inset-bottom,0);pointer-events:none}.portal-pg-command{display:flex;height:100%;width:100%;flex-direction:column;overflow:hidden;border-radius:.375rem;background-color:var(--color-popover);color:var(--color-popover-foreground)}.portal-pg-command__input-wrapper{display:flex;align-items:center;border-bottom:1px solid var(--color-border);padding-inline:.75rem}.portal-pg-command__search-icon{margin-right:.5rem;height:1rem;width:1rem;flex-shrink:0;opacity:.5}.portal-pg-command__input{display:flex;height:2.75rem;width:100%;border-radius:.375rem;background-color:transparent;padding-block:.75rem;font-size:.875rem;line-height:1.25rem;outline:none}.portal-pg-command__input:focus-visible{box-shadow:0 0 0 2px var(--color-background),0 0 0 4px var(--color-ring)}.portal-pg-command__input::placeholder{color:var(--color-muted-foreground)}.portal-pg-command__input:disabled{cursor:not-allowed;opacity:.5}.portal-pg-command__clear-button{display:inline-flex;align-items:center;justify-content:center;width:1.5rem;height:1.5rem;margin-left:.5rem;flex-shrink:0;border:0;border-radius:.25rem;background-color:transparent;color:var(--color-muted-foreground);cursor:pointer;transition:background-color .15s ease,color .15s ease}.portal-pg-command__clear-button:hover{background-color:var(--color-muted);color:var(--color-foreground)}.portal-pg-command__clear-button:focus-visible{outline:none;box-shadow:0 0 0 2px var(--color-background),0 0 0 4px var(--color-ring)}.portal-pg-command__clear-button svg{pointer-events:none;width:.875rem;height:.875rem}.portal-pg-command__list{max-height:300px;overflow-y:auto;overflow-x:hidden}.portal-pg-command__empty{padding-block:1.5rem;text-align:center;font-size:.875rem;line-height:1.25rem}.portal-pg-command__group{overflow:hidden;padding:.25rem;color:var(--color-foreground)}.portal-pg-command__group-heading{padding-inline:.5rem;padding-block:.375rem;font-size:.75rem;line-height:1rem;font-weight:500;color:var(--color-muted-foreground)}.portal-pg-command__separator{margin-inline:-.25rem;height:1px;background-color:var(--color-border)}.portal-pg-command__item{position:relative;display:flex;cursor:default;user-select:none;align-items:center;gap:.5rem;border-radius:.125rem;padding-inline:.5rem;padding-block:.375rem;font-size:.875rem;line-height:1.25rem;outline:none}.portal-pg-command__item[data-selected=true]{background-color:var(--color-accent);color:var(--color-accent-foreground)}.portal-pg-command__item[data-disabled=true]{pointer-events:none;opacity:.5}.portal-pg-command__item svg{pointer-events:none;width:1rem;height:1rem;flex-shrink:0}.portal-pg-command__shortcut{margin-left:auto;font-size:.75rem;line-height:1rem;letter-spacing:.1em;color:var(--color-muted-foreground)}.portal-pg-command--in-dialog .portal-pg-command__group{padding-inline:.5rem}.portal-pg-command--in-dialog .portal-pg-command__group+.portal-pg-command__group{padding-top:0}.portal-pg-command--in-dialog .portal-pg-command__input-wrapper svg{height:1.25rem;width:1.25rem}.portal-pg-command--in-dialog .portal-pg-command__input{height:3rem}.portal-pg-command--in-dialog .portal-pg-command__item{padding-inline:.5rem;padding-block:.75rem}.portal-pg-command--in-dialog .portal-pg-command__item svg{height:1.25rem;width:1.25rem}.ui-theme input[type=search]::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none;display:none}.portal-agenda-tone-emerald{color:rgb(4 120 87);background-color:rgb(209 250 229);border-color:rgb(110 231 183)}.dark .portal-agenda-tone-emerald{color:rgb(110 231 183);background-color:rgb(2 44 34/.4);border-color:rgb(6 95 70)}.portal-agenda-tone-amber{color:rgb(180 83 9);background-color:rgb(254 243 199);border-color:rgb(252 211 77)}.dark .portal-agenda-tone-amber{color:rgb(252 211 77);background-color:rgb(69 26 3/.4);border-color:rgb(146 64 14)}.portal-agenda-tone-red{color:rgb(185 28 28);background-color:rgb(254 226 226);border-color:rgb(252 165 165)}.dark .portal-agenda-tone-red{color:rgb(252 165 165);background-color:rgb(69 10 10/.4);border-color:rgb(153 27 27)}.portal-agenda-tone-blue{color:rgb(29 78 216);background-color:rgb(219 234 254);border-color:rgb(147 197 253)}.dark .portal-agenda-tone-blue{color:rgb(147 197 253);background-color:rgb(23 37 84/.4);border-color:rgb(30 64 175)}.portal-agenda-tone-violet{color:rgb(109 40 217);background-color:rgb(237 233 254);border-color:rgb(196 181 253)}.dark .portal-agenda-tone-violet{color:rgb(196 181 253);background-color:rgb(46 16 101/.4);border-color:rgb(91 33 182)}.portal-agenda-tone-slate{color:rgb(51 65 85);background-color:rgb(241 245 249);border-color:rgb(203 213 225)}.dark .portal-agenda-tone-slate{color:rgb(203 213 225);background-color:rgb(2 6 23/.4);border-color:rgb(30 41 59)}.portal-agenda-tone-neutral{color:var(--color-muted-foreground);background-color:var(--color-muted);border-color:var(--color-border)}.portal-agenda-card,.portal-notification-item{transition-property:background-color,border-color,box-shadow,transform;transition-duration:.15s;transition-timing-function:ease}.portal-agenda-card:hover,.portal-notification-item:hover{background-color:var(--color-primary-soft);box-shadow:var(--shadow-sm,0 1px 2px rgb(0 0 0/.05));transform:translateY(-1px)}.portal-agenda-card--current{box-shadow:inset 0 0 0 1px var(--color-primary-strong)}.portal-agenda-current-dot,.portal-notification-unread-dot{display:inline-flex;width:.5rem;height:.5rem;flex-shrink:0;border-radius:9999px;background:var(--color-primary);box-shadow:0 0 0 3px var(--color-primary-soft);animation:portal-primary-dot-pulse 2s ease-in-out infinite}.portal-agenda-status-pill--current,.portal-notification-category-chip--unread{color:var(--color-primary);background-color:var(--color-primary-muted);border-color:var(--color-primary-strong)}@keyframes portal-primary-dot-pulse{0%,to{box-shadow:0 0 0 3px var(--color-primary-soft)}50%{box-shadow:0 0 0 6px transparent}}@media (prefers-reduced-motion:reduce){.portal-agenda-card,.portal-notification-item{transition:none}.portal-agenda-card:hover,.portal-notification-item:hover{transform:none}.portal-agenda-current-dot,.portal-notification-unread-dot{animation:none}}.portal-pg-toggle-tip__trigger{display:inline-grid;width:1.5rem;height:1.5rem;place-items:center;border:1px solid var(--color-border);border-radius:9999px;background-color:var(--color-background);color:var(--color-muted-foreground);box-shadow:var(--shadow-sm);font-size:.75rem;font-weight:700;line-height:1;transition:background-color .15s ease,border-color .15s ease,color .15s ease}.portal-pg-toggle-tip__trigger:hover{background-color:var(--color-muted);color:var(--color-foreground)}.portal-pg-toggle-tip__trigger:focus-visible{outline:2px solid var(--color-ring);outline-offset:2px}.portal-pg-toggle-tip__trigger[data-state=open]{border-color:var(--color-ring);color:var(--color-foreground)}@media (pointer:coarse){.portal-pg-toggle-tip__trigger{min-width:var(--touch-target-min,2.75rem);min-height:var(--touch-target-min,2.75rem)}}.portal-pg-toggle-tip{z-index:var(--z-popover);max-width:18rem;border:1px solid var(--color-border);border-radius:.375rem;background-color:var(--color-popover);color:var(--color-popover-foreground);box-shadow:var(--shadow-md);padding:.5rem .75rem;outline:none;transform-origin:var(--radix-popover-content-transform-origin);animation-duration:.2s}.portal-pg-toggle-tip--with-close{padding-right:2rem}.portal-pg-toggle-tip[data-state=open]{animation-name:portal-pg-fade-in,portal-pg-zoom-in-95}.portal-pg-toggle-tip[data-state=closed]{animation-name:portal-pg-fade-out,portal-pg-zoom-out-95}.portal-pg-toggle-tip__title{margin-bottom:.25rem;color:var(--color-popover-foreground);font-size:.875rem;font-weight:600;line-height:1.25rem}.portal-pg-toggle-tip__body{color:var(--color-muted-foreground);font-size:.875rem;line-height:1.25rem}.portal-pg-toggle-tip__close{position:absolute;top:.375rem;right:.375rem;display:inline-grid;width:1.5rem;height:1.5rem;place-items:center;border:0;border-radius:9999px;background:transparent;color:var(--color-muted-foreground);transition:background-color .15s ease,color .15s ease}.portal-pg-toggle-tip__close:hover{background-color:var(--color-muted);color:var(--color-foreground)}.portal-pg-toggle-tip__close:focus-visible{outline:2px solid var(--color-ring);outline-offset:2px}.portal-pg-tour{position:fixed;inset:0;z-index:var(--z-popover,70);color:var(--color-foreground);pointer-events:none}.portal-pg-tour__scrim{position:absolute;inset:0;pointer-events:auto}.portal-pg-tour__spotlight{position:absolute;top:0;left:0;z-index:1;min-width:2rem;min-height:2rem;border:2px solid var(--color-background);border-radius:.75rem;box-shadow:0 0 0 9999px var(--color-overlay-dark,rgba(2,6,23,.62)),0 0 0 6px rgb(var(--color-primary-rgb)/.22),0 18px 54px rgba(0,0,0,.28);pointer-events:none;transition:transform .18s ease,width .18s ease,height .18s ease}.portal-pg-tour__panel{position:absolute;top:0;left:0;z-index:2;display:grid;width:min(22.5rem,calc(100vw - 2rem));gap:.75rem;border:1px solid var(--color-border);border-radius:.5rem;background-color:var(--color-popover);color:var(--color-popover-foreground);box-shadow:var(--shadow-lg);opacity:0;padding:1rem;pointer-events:auto;transition:transform .18s ease,opacity .12s ease}.portal-pg-tour__progress-row{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.portal-pg-tour__progress-text{color:var(--color-primary);font-size:.75rem;font-weight:750;line-height:1rem;text-transform:uppercase}.portal-pg-tour__close{display:grid;width:1.75rem;height:1.75rem;place-items:center;border:0;border-radius:9999px;background:transparent;color:var(--color-muted-foreground);transition:background-color .15s ease,color .15s ease}.portal-pg-tour__close:hover{background-color:var(--color-muted);color:var(--color-foreground)}.portal-pg-tour__title{margin:0;color:var(--color-foreground);font-size:1rem;font-weight:700;line-height:1.35}.portal-pg-tour__description{margin:0;color:var(--color-muted-foreground);font-size:.875rem;line-height:1.45}.portal-pg-tour__track{overflow:hidden;height:.375rem;border-radius:9999px;background-color:var(--color-muted)}.portal-pg-tour__fill{display:block;height:100%;border-radius:inherit;background-color:var(--color-primary);transition:width .18s ease}.portal-pg-tour__actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem}.portal-pg-tour__action-group{display:inline-flex;flex-wrap:wrap;justify-content:flex-end;gap:.5rem}.portal-pg-tour__button{min-height:2.5rem;border:1px solid var(--color-border);border-radius:.375rem;background-color:var(--color-background);color:var(--color-foreground);padding:.5rem .875rem;font-size:.875rem;font-weight:650;line-height:1.25rem;transition:background-color .15s ease,border-color .15s ease,color .15s ease}.portal-pg-tour__button:hover:not(:disabled){background-color:var(--color-muted)}.portal-pg-tour__button--primary{border-color:var(--color-primary);background-color:var(--color-primary);color:var(--color-primary-foreground)}.portal-pg-tour__button--primary:hover:not(:disabled){border-color:var(--color-primary-hover);background-color:var(--color-primary-hover)}.portal-pg-tour__button:disabled{cursor:not-allowed;opacity:.55}.portal-pg-tour__button:focus-visible,.portal-pg-tour__close:focus-visible,.portal-pg-tour__panel:focus-visible{outline:2px solid var(--color-ring);outline-offset:2px}.portal-pg-tour__live{position:absolute;overflow:hidden;width:1px;height:1px;padding:0;margin:-1px;border:0;clip:rect(0,0,0,0);white-space:nowrap}@media (pointer:coarse){.portal-pg-tour__button{min-height:var(--touch-target-min,2.75rem)}}@media (prefers-reduced-motion:reduce){.portal-pg-tour__fill,.portal-pg-tour__panel,.portal-pg-tour__spotlight{transition-duration:.01ms}}.portal-pg-image-cropper{display:grid;gap:1rem;width:100%;border:1px solid var(--color-border);border-radius:.5rem;background-color:var(--color-card);color:var(--color-card-foreground);padding:1rem}.portal-pg-image-cropper__stage{position:relative;min-height:20rem;overflow:hidden;border:1px solid var(--color-border);border-radius:.5rem;background:linear-gradient(135deg,rgba(15,23,42,.88),rgba(51,65,85,.86)),var(--color-muted)}.portal-pg-image-cropper__engine{border-radius:inherit}.portal-pg-image-cropper__crop-area{border-color:rgba(255,255,255,.82);color:rgba(2,6,23,.58)}.portal-pg-image-cropper__controls{display:grid;gap:.875rem;min-width:0}.portal-pg-image-cropper__modes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:hidden;border:1px solid var(--color-border);border-radius:.375rem;background-color:var(--color-background)}.portal-pg-image-cropper__mode{min-height:2.5rem;border:0;border-inline-start:1px solid var(--color-border);background:transparent;color:var(--color-muted-foreground);font-size:.875rem;font-weight:600;line-height:1.25rem;transition:background-color .15s ease,color .15s ease}.portal-pg-image-cropper__mode:first-child{border-inline-start:0}.portal-pg-image-cropper__mode:hover{background-color:var(--color-muted);color:var(--color-foreground)}.portal-pg-image-cropper__mode[aria-pressed=true]{background-color:var(--color-primary);color:var(--color-primary-foreground)}.portal-pg-image-cropper__button:focus-visible,.portal-pg-image-cropper__control input:focus-visible,.portal-pg-image-cropper__mode:focus-visible{outline:2px solid var(--color-ring);outline-offset:2px}.portal-pg-image-cropper__control{display:grid;gap:.375rem;color:var(--color-muted-foreground);font-size:.8125rem;font-weight:500}.portal-pg-image-cropper__control span{display:flex;align-items:center;justify-content:space-between;gap:1rem}.portal-pg-image-cropper__control strong{color:var(--color-foreground);font-variant-numeric:tabular-nums}.portal-pg-image-cropper__control input{width:100%;accent-color:var(--color-primary)}.portal-pg-image-cropper__actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.5rem}.portal-pg-image-cropper__button{min-height:2.5rem;border:1px solid var(--color-border);border-radius:.375rem;background-color:var(--color-background);color:var(--color-foreground);padding:.5rem .875rem;font-size:.875rem;font-weight:600;line-height:1.25rem;transition:background-color .15s ease,border-color .15s ease,color .15s ease}.portal-pg-image-cropper__button:hover{background-color:var(--color-muted)}.portal-pg-image-cropper__button--primary{border-color:var(--color-primary);background-color:var(--color-primary);color:var(--color-primary-foreground)}.portal-pg-image-cropper__button--primary:hover{border-color:var(--color-primary-hover);background-color:var(--color-primary-hover)}@media (min-width:768px){.portal-pg-image-cropper{grid-template-columns:minmax(0,1fr) minmax(16rem,18rem);align-items:start}}@media (pointer:coarse){.portal-pg-image-cropper__button,.portal-pg-image-cropper__mode{min-height:var(--touch-target-min,2.75rem)}}.portal-pg-signature-pad{display:grid;gap:.875rem;width:100%;border:1px solid var(--color-border);border-radius:.5rem;background-color:var(--color-card);color:var(--color-card-foreground);padding:1rem}.portal-pg-signature-pad__header{display:grid;gap:.875rem}.portal-pg-signature-pad__label{display:inline-flex;align-items:center;gap:.25rem;color:var(--color-foreground);font-size:.9375rem;font-weight:650;line-height:1.25rem}.portal-pg-signature-pad__label span{color:var(--color-destructive)}.portal-pg-signature-pad__helper{margin:.25rem 0 0;color:var(--color-muted-foreground);font-size:.8125rem;line-height:1.25rem}.portal-pg-signature-pad__modes{display:inline-grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:hidden;border:1px solid var(--color-border);border-radius:.375rem;background-color:var(--color-background)}.portal-pg-signature-pad__mode{min-height:2.5rem;border:0;border-inline-start:1px solid var(--color-border);background:transparent;color:var(--color-muted-foreground);padding:.5rem .875rem;font-size:.875rem;font-weight:600;line-height:1.25rem;transition:background-color .15s ease,color .15s ease}.portal-pg-signature-pad__mode:first-child{border-inline-start:0}.portal-pg-signature-pad__mode:hover:not(:disabled){background-color:var(--color-muted);color:var(--color-foreground)}.portal-pg-signature-pad__mode[aria-pressed=true]{background-color:var(--color-primary);color:var(--color-primary-foreground)}.portal-pg-signature-pad__body{position:relative;min-height:14rem;overflow:hidden;border:1px dashed var(--color-border);border-radius:.5rem;background-color:var(--color-background)}.portal-pg-signature-pad__canvas{display:block;width:100%;height:14rem;background:linear-gradient(to bottom,transparent 76%,var(--color-border) 76%,var(--color-border) calc(76% + 1px),transparent calc(76% + 1px)),var(--color-background);touch-action:none;cursor:crosshair}.portal-pg-signature-pad__canvas--hidden,.portal-pg-signature-pad__typed--hidden{display:none}.portal-pg-signature-pad__typed{display:grid;gap:1rem;min-height:14rem;padding:1rem}.portal-pg-signature-pad__typed-label{display:grid;gap:.375rem;color:var(--color-muted-foreground);font-size:.8125rem;font-weight:600}.portal-pg-signature-pad__typed-label input{min-height:2.75rem;border:1px solid var(--color-border);border-radius:.375rem;background-color:var(--color-background);color:var(--color-foreground);padding:.5rem .75rem;font-size:1rem}.portal-pg-signature-pad__typed-preview{display:grid;min-width:0;min-height:7rem;align-items:end;overflow:hidden;border-radius:.375rem;background:linear-gradient(to bottom,transparent 70%,var(--color-border) 70%,var(--color-border) calc(70% + 1px),transparent calc(70% + 1px)),var(--color-muted);color:var(--color-foreground);padding:1rem 1.25rem 1.75rem;font-family:Brush Script MT,Segoe Script,cursive;font-size:2.75rem;line-height:1;overflow-wrap:anywhere}.portal-pg-signature-pad__error{border:1px solid rgba(var(--color-destructive-rgb,220 38 38)/.28);border-radius:.375rem;background-color:rgba(var(--color-destructive-rgb,220 38 38)/.08);color:var(--color-destructive);padding:.5rem .75rem;font-size:.8125rem;font-weight:600;line-height:1.25rem}.portal-pg-signature-pad__controls{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.5rem}.portal-pg-signature-pad__button{min-height:2.5rem;border:1px solid var(--color-border);border-radius:.375rem;background-color:var(--color-background);color:var(--color-foreground);padding:.5rem .875rem;font-size:.875rem;font-weight:600;line-height:1.25rem;transition:background-color .15s ease,border-color .15s ease,color .15s ease}.portal-pg-signature-pad__button:hover:not(:disabled){background-color:var(--color-muted)}.portal-pg-signature-pad__button--primary{border-color:var(--color-primary);background-color:var(--color-primary);color:var(--color-primary-foreground)}.portal-pg-signature-pad__button--primary:hover:not(:disabled){border-color:var(--color-primary-hover);background-color:var(--color-primary-hover)}.portal-pg-signature-pad__button:focus-visible,.portal-pg-signature-pad__canvas:focus-visible,.portal-pg-signature-pad__mode:focus-visible,.portal-pg-signature-pad__typed-label input:focus-visible{outline:2px solid var(--color-ring);outline-offset:2px}.portal-pg-signature-pad__button:disabled,.portal-pg-signature-pad__mode:disabled,.portal-pg-signature-pad__typed-label input:disabled{cursor:not-allowed;opacity:.55}.portal-pg-signature-pad[data-invalid=true] .portal-pg-signature-pad__body{border-color:rgba(var(--color-destructive-rgb,220 38 38)/.55)}@media (min-width:640px){.portal-pg-signature-pad__header{grid-template-columns:minmax(0,1fr) auto;align-items:start}}@media (pointer:coarse){.portal-pg-signature-pad__button,.portal-pg-signature-pad__mode{min-height:var(--touch-target-min,2.75rem)}}.ui-theme{--portal-brand-band-foreground:#ffffff;--portal-brand-band-muted-foreground:rgba(255,255,255,0.82);--portal-brand-band-border:rgba(255,255,255,0.18);--portal-brand-band-badge-bg:rgba(255,255,255,0.12);--portal-brand-band-badge-border:rgba(255,255,255,0.36);--portal-brand-band-meta-bg:rgba(9,14,24,0.22);--portal-brand-band-meta-border:rgba(255,255,255,0.22);--portal-brand-band-radius:12px;--portal-brand-band-shadow:0 18px 45px rgba(23,27,32,0.12);--portal-brand-band-overlay-subtle:rgba(7,13,24,0.18);--portal-brand-band-overlay-medium:rgba(7,13,24,0.34);--portal-brand-band-overlay-strong:rgba(7,13,24,0.58);--portal-brand-band-tone-color:var(--color-primary);--portal-brand-band-tone-deep:color-mix(in srgb,var(--color-primary) 74%,#0b1220)}.dark .ui-theme,.ui-theme.dark,.ui-theme[data-mode=dark]{--portal-brand-band-shadow:0 18px 45px rgba(0,0,0,0.45);--portal-brand-band-overlay-subtle:rgba(0,0,0,0.32);--portal-brand-band-overlay-medium:rgba(0,0,0,0.48);--portal-brand-band-overlay-strong:rgba(0,0,0,0.66)}.portal-page-hero--brand{position:relative;min-height:260px;overflow:hidden;border:1px solid var(--portal-brand-band-border);border-radius:var(--portal-brand-band-radius);box-shadow:var(--portal-brand-band-shadow);background-color:#111827;color:var(--portal-brand-band-foreground);isolation:isolate;container-type:inline-size}.portal-page-hero--brand .portal-page-hero__background,.portal-page-hero--brand .portal-page-hero__overlay{position:absolute;inset:0;pointer-events:none}.portal-page-hero--brand .portal-page-hero__background{z-index:-2}.portal-page-hero--brand .portal-page-hero__overlay{z-index:-1}.portal-page-hero--brand-tone-primary,.portal-page-hero--brand-tone-theme{--portal-brand-band-tone-color:var(--color-primary);--portal-brand-band-tone-deep:color-mix(in srgb,var(--color-primary) 70%,#0b1220)}.portal-page-hero--brand-tone-accent{--portal-brand-band-tone-color:var(--color-accent,var(--color-primary));--portal-brand-band-tone-deep:color-mix(in srgb,var(--color-accent,var(--color-primary)) 70%,#0b1220)}.portal-page-hero--brand-tone-success{--portal-brand-band-tone-color:var(--color-success);--portal-brand-band-tone-deep:color-mix(in srgb,var(--color-success) 70%,#0b1220)}.portal-page-hero--brand-tone-warning{--portal-brand-band-tone-color:var(--color-warning);--portal-brand-band-tone-deep:color-mix(in srgb,var(--color-warning) 70%,#0b1220)}.portal-page-hero--brand-tone-info{--portal-brand-band-tone-color:var(--color-info);--portal-brand-band-tone-deep:color-mix(in srgb,var(--color-info) 70%,#0b1220)}.portal-page-hero--brand-tone-custom{--portal-brand-band-tone-color:var(--portal-brand-band-custom-color,var(--color-primary));--portal-brand-band-tone-deep:color-mix(in srgb,var(--portal-brand-band-custom-color,var(--color-primary)) 70%,#0b1220)}.portal-page-hero--brand-gradient .portal-page-hero__background{background:radial-gradient(circle at 0 0,color-mix(in srgb,var(--portal-brand-band-tone-color) 88%,#08111f) 0,transparent 55%),radial-gradient(circle at 100% 100%,color-mix(in srgb,var(--portal-brand-band-tone-deep) 92%,#08111f) 0,transparent 60%),linear-gradient(135deg,color-mix(in srgb,var(--portal-brand-band-tone-color) 88%,#0b1220) 0,var(--portal-brand-band-tone-deep) 100%)}.portal-page-hero--brand-solid .portal-page-hero__background{background:linear-gradient(135deg,var(--portal-brand-band-tone-color) 0,var(--portal-brand-band-tone-deep) 100%)}.portal-page-hero--brand-image .portal-page-hero__background{background-color:#0b1220;background-size:cover;background-repeat:no-repeat;background-position:50%}.portal-page-hero__overlay--subtle{background:var(--portal-brand-band-overlay-subtle)}.portal-page-hero__overlay--medium{background:var(--portal-brand-band-overlay-medium)}.portal-page-hero__overlay--strong{background:var(--portal-brand-band-overlay-strong)}.portal-page-hero__overlay--left{background-image:linear-gradient(90deg,rgba(5,11,20,.78),rgba(5,11,20,.36) 55%,rgba(5,11,20,.08))}.portal-page-hero__overlay--right{background-image:linear-gradient(270deg,rgba(5,11,20,.78),rgba(5,11,20,.36) 55%,rgba(5,11,20,.08))}.portal-page-hero__overlay--top{background-image:linear-gradient(180deg,rgba(5,11,20,.62),rgba(5,11,20,.16))}.portal-page-hero__overlay--bottom{background-image:linear-gradient(0deg,rgba(5,11,20,.62),rgba(5,11,20,.16))}.portal-page-hero__overlay--flat{background-image:none}.portal-page-hero--brand .portal-page-hero__content{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,320px);gap:24px;align-items:end;min-height:260px;padding:28px;color:var(--portal-brand-band-foreground)}.portal-page-hero--brand .portal-page-hero__body{display:flex;flex-direction:column;gap:10px;max-width:720px}.portal-page-hero--brand .portal-page-hero__badge{display:inline-flex;align-items:center;gap:6px;align-self:flex-start;max-width:100%;min-height:28px;padding:3px 11px;border:1px solid var(--portal-brand-band-badge-border);border-radius:999px;background:var(--portal-brand-band-badge-bg);color:var(--portal-brand-band-foreground);font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.portal-page-hero--brand .portal-page-hero__title{margin:0;font-size:32px;font-weight:600;line-height:1.12;letter-spacing:-.01em}.portal-page-hero--brand .portal-page-hero__subtitle{margin:0;max-width:620px;color:var(--portal-brand-band-muted-foreground);font-size:16px;line-height:1.5}.portal-page-hero--brand .portal-page-hero__actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:8px}.portal-page-hero--brand .portal-page-hero__aside{display:flex;flex-direction:column;gap:12px;align-self:end}.portal-page-hero--brand .portal-page-hero__meta{list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0;padding:0}.portal-page-hero--brand .portal-page-hero__meta-item{display:flex;flex-direction:column;gap:4px;min-height:72px;padding:12px;border:1px solid var(--portal-brand-band-meta-border);border-radius:8px;background:var(--portal-brand-band-meta-bg);backdrop-filter:blur(10px)}.portal-page-hero--brand .portal-page-hero__meta-label{display:inline-flex;align-items:center;gap:4px;color:var(--portal-brand-band-muted-foreground);font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.portal-page-hero--brand .portal-page-hero__meta-value{font-size:22px;font-weight:700;line-height:1.1}.portal-page-hero--brand .portal-page-hero__visual{align-self:end}.portal-page-hero--brand .portal-page-hero__action--primary{background:var(--portal-brand-band-foreground);border-color:var(--portal-brand-band-foreground);color:#172033}.portal-page-hero--brand .portal-page-hero__action--primary:hover{background:color-mix(in srgb,var(--portal-brand-band-foreground) 92%,#000000);border-color:color-mix(in srgb,var(--portal-brand-band-foreground) 92%,#000000);color:#172033}.portal-page-hero--brand .portal-page-hero__action--secondary{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.42);color:var(--portal-brand-band-foreground)}.portal-page-hero--brand .portal-page-hero__action--secondary:hover{background:rgba(255,255,255,.22);border-color:rgba(255,255,255,.55);color:var(--portal-brand-band-foreground)}@container (max-width: 720px){.portal-page-hero--brand{min-height:0}.portal-page-hero--brand .portal-page-hero__content{grid-template-columns:1fr;align-items:start;min-height:0;padding:22px}.portal-page-hero--brand .portal-page-hero__title{font-size:26px}.portal-page-hero--brand .portal-page-hero__meta{grid-template-columns:1fr}}@container (max-width: 420px){.portal-page-hero--brand .portal-page-hero__actions{flex-direction:column}.portal-page-hero--brand .portal-page-hero__action--primary,.portal-page-hero--brand .portal-page-hero__action--secondary{width:100%}}.portal-pg-appshell-main-content{margin-left:auto;margin-right:auto;width:100%}.portal-pg-appshell-main-content--max-3xl{max-width:48rem}.portal-pg-appshell-main-content--max-5xl{max-width:64rem}.portal-pg-appshell-main-content--max-7xl{max-width:80rem}.portal-pg-appshell-main-content--max-full{max-width:100%}.portal-pg-appshell-main-content--padded{padding:var(--main-content-py-mobile,var(--space-6)) var(--main-content-px,var(--space-4));--shell-padding-x:0px;--shell-padding-y:0px}@media (min-width:768px){.portal-pg-appshell-main-content--padded{padding-top:var(--main-content-py-desktop,var(--space-8));padding-bottom:var(--main-content-py-desktop,var(--space-8))}}.pg-bottom-nav{position:fixed;inset-inline:0;bottom:0;z-index:50;background-color:var(--surface-elevated,var(--color-background));border-top:1px solid var(--border-subtle,var(--color-border));padding-bottom:env(safe-area-inset-bottom,0);transition:transform .2s ease}.pg-bottom-nav[data-hidden]{transform:translateY(100%)}.pg-bottom-nav__list{display:flex;align-items:stretch;justify-content:space-around;margin:0;padding:0;list-style:none}.pg-bottom-nav__cell{flex:1 1 0;min-width:0}.pg-bottom-nav__item{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;width:100%;min-height:var(--touch-target-min,2.75rem);padding:6px 4px 8px;background:none;border:0;color:var(--text-secondary,var(--color-muted-foreground));font-size:11px;font-weight:500;text-decoration:none;cursor:pointer}.pg-bottom-nav__item[aria-current=page],.pg-bottom-nav__item[data-active=true]{color:var(--color-primary)}.pg-bottom-nav__icon{display:inline-flex}.pg-bottom-nav__label{max-width:100%;overflow:hidden;line-height:1.2;white-space:nowrap;text-overflow:ellipsis}.pg-bottom-nav__badge{position:absolute;top:2px;left:50%;margin-left:6px}@keyframes motion-marquee-x{0%{transform:translateX(0)}to{transform:translateX(calc(-50% - var(--motion-marquee-gap, 0px) / 2))}}.motion-reveal{opacity:0;transition:opacity var(--animation-duration-slower,.4s) var(--animation-easing-ease-out,ease-out),transform var(--animation-duration-slower,.4s) var(--animation-easing-ease-out,ease-out),filter var(--animation-duration-slower,.4s) var(--animation-easing-ease-out,ease-out);transition-delay:var(--motion-reveal-delay,0s);will-change:opacity,transform}.motion-reveal[data-variant=fade-up]{transform:translateY(16px)}.motion-reveal[data-variant=fade-down]{transform:translateY(-16px)}.motion-reveal[data-variant=slide-left]{transform:translateX(24px)}.motion-reveal[data-variant=slide-right]{transform:translateX(-24px)}.motion-reveal[data-variant=scale]{transform:scale(.95)}.motion-reveal[data-variant=blur]{filter:blur(8px)}.motion-reveal[data-in-view=true]{opacity:1;transform:none;filter:none}@media (prefers-reduced-motion:reduce){.motion-reveal,.motion-reveal[data-in-view=true]{opacity:1;transform:none;filter:none;transition:none}}.motion-glass{position:relative;isolation:isolate}.motion-glass:before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at var(--glass-mx,50%) var(--glass-my,50%),color-mix(in srgb,var(--text-primary) 14%,transparent),transparent 60%);transition:background var(--animation-duration-fast,.15s) var(--animation-easing-ease-out,ease-out);z-index:0}.motion-glass>*{position:relative;z-index:1}@media (prefers-reduced-motion:reduce){.motion-glass:before{transition:none;background:none}}