.profile-page{width:min(100%, var(--content-max));gap:var(--space-4);align-content:start;margin:0 auto;display:grid}.profile-summary-card,.profile-info-card,.profile-stats-card,.profile-portfolio-card,.profile-actions{background:var(--surface-raised);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-1)}.profile-summary-card{align-items:center;gap:var(--space-5);padding:var(--space-6);display:flex;position:relative;overflow:hidden}.profile-summary-card:before{content:"";pointer-events:none;background:radial-gradient(circle at top right, color-mix(in srgb, var(--accent) 18%, transparent), transparent 54%);position:absolute;inset:0}.profile-avatar,.profile-summary-main{z-index:1;position:relative}.profile-avatar{background:linear-gradient(135deg, var(--accent), var(--accent-strong));width:5rem;height:5rem;color:var(--accent-contrast);letter-spacing:-.04em;box-shadow:var(--shadow-1);border-radius:1.65rem;flex:none;justify-content:center;align-items:center;font-size:1.45rem;font-weight:900;display:inline-flex}.profile-summary-main{gap:var(--space-2);min-width:0;display:grid}.profile-eyebrow{letter-spacing:.07em;text-transform:uppercase;color:var(--text-muted);margin:0;font-size:.78rem;font-weight:800}.profile-summary-main h1{color:var(--text);letter-spacing:-.04em;margin:0;font-size:clamp(1.55rem,6vw,2.15rem);line-height:1.08}.profile-identity-row{align-items:center;gap:var(--space-2);flex-wrap:wrap;display:flex}.profile-handle,.profile-muted{color:var(--text-muted);margin:0;font-size:.95rem}.profile-status-pill,.profile-verify-button{width:fit-content;min-height:1.8rem;padding:0 var(--space-3);border-radius:var(--radius-pill);justify-content:center;align-items:center;font-size:.8rem;font-weight:900;line-height:1;display:inline-flex}.profile-status-pill{border:1px solid color-mix(in srgb, var(--success) 34%, var(--border));background:color-mix(in srgb, var(--success) 12%, var(--surface-soft));color:var(--success-text)}.profile-status-pill:before{content:"✓";margin-right:.35rem}.profile-verify-button{min-height:2.05rem;padding:0 var(--space-4);border:1px solid var(--accent-strong);background:var(--accent);color:var(--accent-contrast);box-shadow:var(--shadow-1)}.profile-title-badges,.profile-badge-row,.setup-chip-row,.setup-review-items{align-items:center;gap:var(--space-2);flex-wrap:wrap;display:flex}.profile-title-badge,.profile-role-badge,.setup-chip,.setup-review-items span{width:fit-content;min-height:1.85rem;padding:0 var(--space-3);border-radius:var(--radius-pill);border:1px solid color-mix(in srgb, var(--accent) 34%, var(--border));background:var(--accent-soft);color:var(--accent-strong);justify-content:center;align-items:center;font-size:.82rem;font-weight:800;line-height:1;display:inline-flex}.profile-info-card,.profile-stats-card,.profile-portfolio-card,.profile-actions{padding:var(--space-5);gap:var(--space-4);display:grid}.settings-form .overlay-header h2{text-align:center}.profile-card-header{justify-content:space-between;align-items:center;gap:var(--space-3);display:flex}.profile-card-header h2{color:var(--text);letter-spacing:-.02em;margin:0;font-size:1.05rem;font-weight:800}.profile-card-header p{color:var(--text-muted);margin:.2rem 0 0;font-size:.9rem;line-height:1.35}.profile-card-kicker,.profile-card-action,.profile-bundle-pill{width:fit-content;min-height:1.8rem;padding:0 var(--space-3);border-radius:var(--radius-pill);border:1px solid color-mix(in srgb, var(--accent) 30%, var(--border));background:var(--accent-soft);color:var(--accent-strong);letter-spacing:.03em;text-transform:uppercase;justify-content:center;align-items:center;font-size:.78rem;font-weight:900;display:inline-flex}.profile-card-action{background:var(--surface-raised);min-height:2.25rem;color:var(--text);text-transform:none;letter-spacing:0;box-shadow:none}.profile-empty{padding:var(--space-4);border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-soft);color:var(--text-muted);margin:0;font-size:.9rem;line-height:1.45}.profile-info-grid{gap:var(--space-3);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.profile-info-grid-compact{grid-template-columns:1fr}.profile-info-item,.profile-stat-item,.profile-detail-row{border:1px solid var(--border);border-radius:var(--radius-md);background:color-mix(in srgb, var(--surface-soft) 72%, var(--surface-raised))}.profile-info-item,.profile-stat-item{padding:var(--space-4);gap:var(--space-1);display:grid}.profile-info-grid-compact .profile-info-item{align-items:center;gap:var(--space-3);grid-template-columns:minmax(7.5rem,auto) 1fr;min-height:3.9rem}.profile-info-item span,.profile-stat-item span,.profile-info-label,.profile-detail-row span{color:var(--text-muted);letter-spacing:.04em;text-transform:uppercase;font-size:.78rem;font-weight:800}.profile-info-item strong,.profile-stat-item strong,.profile-detail-row strong{color:var(--text);font-weight:800;line-height:1.25}.profile-info-section,.profile-detail-list{gap:var(--space-3);display:grid}.profile-detail-row{padding:var(--space-3) var(--space-4);justify-content:space-between;align-items:center;gap:var(--space-3);display:flex}.profile-stat-grid{gap:var(--space-3);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.profile-stat-item strong{letter-spacing:-.04em;font-size:1.3rem}.profile-stat-footnote{color:var(--text-muted);margin:0;font-size:.9rem;font-weight:700}.profile-bundle-list,.profile-verification-grid{gap:var(--space-3);display:grid}.profile-bundle-row,.profile-verification-item{align-items:center;gap:var(--space-3);padding:var(--space-3);border:1px solid var(--border);border-radius:var(--radius-lg);background:color-mix(in srgb, var(--surface-soft) 72%, var(--surface-raised));grid-template-columns:auto 1fr auto;display:grid}.profile-bundle-row-main,.profile-verification-item>div{gap:.15rem;min-width:0;display:grid}.profile-bundle-row-main strong,.profile-verification-item strong,.profile-bundle-empty strong{color:var(--text);font-weight:900;line-height:1.2}.profile-bundle-row-main span,.profile-verification-item span,.profile-bundle-empty span{color:var(--text-muted);font-size:.86rem;line-height:1.35}.profile-bundle-empty{gap:var(--space-1);display:grid}.profile-verification-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-verification-item{grid-template-columns:auto 1fr}.profile-verification-icon{border-radius:var(--radius-md);background:var(--accent-soft);width:2.35rem;height:2.35rem;color:var(--accent-strong);justify-content:center;align-items:center;display:inline-flex}.profile-verification-icon>svg{width:1.15rem;height:1.15rem}.profile-actions{align-content:start;gap:var(--space-3)}.profile-edit-account{background:var(--accent);border:1px solid var(--accent-strong);width:100%;color:var(--accent-contrast);font-weight:900}.profile-logout{background:var(--danger-surface);border:1px solid var(--danger-border);width:100%;color:var(--danger-text);box-shadow:none;font-weight:700}@media (hover:hover) and (pointer:fine){.profile-edit-account:hover,.profile-verify-button:hover{background:var(--accent-strong)}.profile-logout:hover{background:var(--danger-hover)}}@media (width>=900px){.profile-page{gap:var(--space-5);grid-template-columns:repeat(12,minmax(0,1fr));width:min(100%,64rem);margin:0 auto}.profile-summary-card{padding:var(--space-8);grid-column:1/span 8}.profile-stats-card{grid-column:span 4}.profile-info-card{grid-column:span 8}.profile-bundles-card,.profile-verification-card,.profile-actions{grid-column:span 4}.profile-actions{align-content:start}}.overlay-sheet.presentation-fullscreen-modal:has(>.account-setup-panel){padding:var(--space-4);justify-content:center;align-items:center;overflow:hidden}.swipeback-mobile-sheet.presentation-fullscreen-modal:has(>.account-setup-panel){padding:var(--space-4);justify-content:center;align-items:center;overflow:hidden}.overlay-sheet.presentation-fullscreen-modal>.account-setup-panel,.swipeback-mobile-sheet.presentation-fullscreen-modal>.account-setup-panel{flex:0 auto;min-height:0}.account-setup-panel{width:min(100%,54rem);height:auto;min-height:0;max-height:calc(100dvh - (var(--space-4) * 2));gap:var(--space-3);flex-direction:column;display:flex;overflow:hidden}.account-setup-panel-fixed{height:100%;max-height:52rem}.account-setup-panel>.overlay-header,.account-setup-progress,.account-setup-actions{flex:none;min-height:0}.account-setup-scroll{align-content:start;gap:var(--space-4);min-height:0;padding-right:var(--space-1);scrollbar-gutter:stable;flex:0 auto;display:grid;overflow-y:auto}.account-setup-panel-fixed .account-setup-scroll{flex:auto}.account-setup-scroll::-webkit-scrollbar{width:8px}.account-setup-scroll::-webkit-scrollbar-track{background:0 0}.account-setup-scroll::-webkit-scrollbar-thumb{background:var(--border);background-clip:content-box;border:2px solid transparent;border-radius:999px}.account-setup-scroll::-webkit-scrollbar-thumb:hover{background:var(--accent);background-clip:content-box}.account-setup-panel-modern{background:radial-gradient(circle at top right, color-mix(in srgb, var(--accent-soft) 55%, transparent) 0%, transparent 34%), var(--surface-raised)}.account-setup-title{justify-items:center;gap:.1rem;display:grid}.account-setup-title h2,.setup-step-header h3,.setup-detail-card h3,.setup-review-section h4{color:var(--text);letter-spacing:-.02em;margin:0;font-weight:800}.account-setup-title p,.setup-step-header p,.setup-review-section p{color:var(--text-muted);margin:0;font-size:.9rem}.account-setup-progress{justify-content:center;align-items:center;gap:var(--space-2);display:flex}.account-setup-dot{background:var(--border);border-radius:50%;width:.55rem;height:.55rem;transition:width .18s,background-color .18s}.account-setup-dot.active{border-radius:var(--radius-pill);background:var(--accent);width:1.5rem}.account-setup-step{gap:var(--space-4);animation:.18s both account-step-in;display:grid}@keyframes account-step-in{0%{opacity:0;transform:translate(10px)}to{opacity:1;transform:translate(0)}}.setup-step-header{justify-items:center;gap:var(--space-1);text-align:center;display:grid}.setup-step-header h3{font-size:1.25rem}.setup-option-grid{gap:var(--space-3);display:grid}.setup-option-grid-large{grid-template-columns:repeat(2,minmax(0,1fr))}.setup-option-card{align-items:center;gap:var(--space-1) var(--space-3);width:100%;min-height:auto;padding:var(--space-4);border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface-raised);box-shadow:none;text-align:left;grid-template-columns:auto 1fr;grid-template-areas:"icon title""icon description";display:grid}.setup-option-card.selected{border-color:var(--accent-strong);background:color-mix(in srgb, var(--accent-soft) 72%, var(--surface-raised))}.setup-option-icon{border-radius:var(--radius-md);background:var(--accent-soft);grid-area:icon;justify-content:center;align-items:center;width:2.5rem;height:2.5rem;font-size:1.25rem;display:inline-flex}.setup-option-title{color:var(--text);grid-area:title;font-size:.98rem;font-weight:900;line-height:1.2}.setup-option-description{color:var(--text-muted);grid-area:description;font-size:.85rem;line-height:1.35}.setup-detail-stack{gap:var(--space-3);display:grid}.setup-detail-card,.setup-review-card{gap:var(--space-4);padding:var(--space-4);border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface-soft);display:grid}.setup-review-card-modern{background:color-mix(in srgb, var(--surface-raised) 70%, var(--surface-soft))}.starter-bundle-step{gap:var(--space-3);display:grid}.starter-bundle-search .textfield-input{border-radius:var(--radius-lg);min-height:3rem}.starter-bundle-category-list{gap:var(--space-3);display:grid}.starter-bundle-category{gap:var(--space-2);padding:var(--space-3);border:1px solid var(--border);border-radius:var(--radius-lg);background:color-mix(in srgb, var(--surface-soft) 58%, transparent);display:grid}.starter-bundle-category-header{justify-content:space-between;align-items:center;gap:var(--space-3);width:100%;min-height:2.6rem;color:inherit;box-shadow:none;text-align:left;background:0 0;border:0;padding:0;display:flex}.starter-bundle-category-header:hover{background:0 0;transform:none}.starter-bundle-category-header>div{gap:.1rem;display:grid}.starter-bundle-category-header h4{color:var(--text);letter-spacing:-.01em;margin:0;font-size:.9rem;font-weight:900}.starter-bundle-category-header span{color:var(--text-muted);font-size:.78rem;font-weight:800}.starter-bundle-category-chevron{width:1.1rem;height:1.1rem;color:var(--text-muted);flex:none;transition:transform .16s}.starter-bundle-category-chevron.expanded{transform:rotate(180deg)}.starter-bundle-compact-grid{gap:var(--space-2);grid-template-columns:1fr;display:grid}.starter-bundle-compact{align-items:center;gap:.1rem var(--space-3);width:100%;min-height:3.1rem;padding:var(--space-3);border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-raised);box-shadow:none;text-align:left;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"icon name action""icon meta action";display:grid}.starter-bundle-compact.selected{border-color:var(--accent-strong);background:color-mix(in srgb, var(--accent-soft) 68%, var(--surface-raised))}.starter-bundle-compact.installed{border-color:color-mix(in srgb, var(--border) 72%, transparent);background:color-mix(in srgb, var(--surface-soft) 58%, var(--surface-raised));color:var(--text-muted);opacity:.62}.starter-bundle-compact.installed:hover{transform:none}.bundle-icon-tiny{border-radius:.75rem;width:1.85rem;height:1.85rem}.starter-bundle-compact .bundle-icon-tiny{grid-area:icon}.starter-bundle-compact-name{min-width:0;color:var(--text);grid-area:name;font-size:.9rem;font-weight:900;line-height:1.2}.starter-bundle-compact.installed .starter-bundle-compact-name{color:var(--text-muted)}.starter-bundle-compact-meta{color:var(--text-muted);grid-area:meta;font-size:.78rem;font-weight:800}.starter-bundle-hint{color:var(--text-muted);margin:0;font-size:.86rem;line-height:1.35}.starter-bundle-check{background:var(--surface-soft);width:1.55rem;height:1.55rem;color:var(--accent-strong);border-radius:50%;grid-area:action;justify-content:center;align-items:center;display:inline-flex}.starter-bundle-check>svg{width:.9rem;height:.9rem}.starter-bundle-hint.selected{color:var(--accent-strong);font-weight:800}.specialty-combobox-control{position:relative}.specialty-combobox-input{padding-left:calc(var(--space-6) + var(--space-4))}.specialty-combobox-value-icon,.specialty-combobox-option-icon{color:var(--accent-strong);justify-content:center;align-items:center;display:inline-flex}.specialty-combobox-value-icon{left:var(--space-3);z-index:1;pointer-events:none;position:absolute;top:50%;transform:translateY(-50%)}.specialty-combobox-value-icon>svg,.specialty-combobox-option-icon>svg{stroke:currentColor;width:1.05rem;height:1.05rem;display:block}.specialty-combobox-option{align-items:center;gap:var(--space-3);min-height:2.85rem;font-weight:800;display:flex}.specialty-combobox-option-icon{border-radius:var(--radius-md);background:var(--accent-soft);flex:none;width:2rem;height:2rem}.setup-chip{background:var(--surface-raised);min-height:2.3rem;color:var(--text-muted);border-color:var(--border);box-shadow:none}.setup-chip.selected{background:var(--accent-soft);color:var(--accent-strong);border-color:var(--accent-strong)}.setup-review-section{gap:var(--space-2);padding-bottom:var(--space-3);border-bottom:1px solid var(--border);display:grid}.setup-review-section:last-child{border-bottom:0;padding-bottom:0}.account-setup-reset-row{justify-items:center;gap:var(--space-2);padding-top:var(--space-1);display:grid}.account-setup-reset-row p{color:var(--text-muted);text-align:center;margin:0;font-size:.82rem;line-height:1.35}.account-setup-reset{width:fit-content;min-width:0;max-width:max-content;min-height:2.25rem;padding:0 var(--space-3);color:var(--danger-text);box-shadow:none;background:0 0;border-color:transparent;align-self:center;font-size:.85rem;font-weight:800}.account-setup-reset.confirm{border-color:var(--danger);background:var(--danger);color:var(--danger-contrast)}.account-setup-reset:hover:not(:disabled){background:var(--danger-hover);transform:none}.account-setup-actions{padding-top:var(--space-3);padding-bottom:max(.5rem, env(safe-area-inset-bottom));border-top:1px solid var(--border);background:var(--surface-raised);z-index:2;margin-top:0;position:relative}.settings{width:min(100%, var(--content-form));gap:var(--space-4);align-content:start;margin:0 auto;display:grid}.settings-form{gap:var(--space-5)}.settings-section{gap:var(--space-4);padding:var(--space-5);background:var(--surface-soft);border:1px solid var(--border);border-radius:var(--radius-lg);display:grid}.settings-section-header{gap:var(--space-1);display:grid}.settings-section-header h3{color:var(--text);margin:0;font-size:1.05rem;font-weight:700}.settings-section-header p{color:var(--text-muted);margin:0;font-size:.95rem;line-height:1.5}.settings-grid{gap:var(--space-4);display:grid}.settings-help-text{color:var(--text-muted);margin:0;font-size:.95rem;line-height:1.45}.settings-help-text.success{color:var(--success-text);font-weight:800}.settings-inline-actions{gap:var(--space-2);flex-wrap:wrap;display:flex}.settings-inline-actions>button{width:fit-content}@media (width>=700px){.settings-grid,.setup-option-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=899px){.overlay-sheet.presentation-fullscreen-modal:has(>.account-setup-panel){padding:max(var(--space-4), env(safe-area-inset-top)) var(--space-4) 0;justify-content:stretch;align-items:stretch}.swipeback-mobile-sheet.presentation-fullscreen-modal:has(>.account-setup-panel){padding:max(var(--space-4), env(safe-area-inset-top)) var(--space-4) 0;justify-content:stretch;align-items:stretch}.account-setup-panel,.account-setup-panel-fixed{width:100%;height:calc(100dvh - max(var(--space-4), env(safe-area-inset-top)));max-height:calc(100dvh - max(var(--space-4), env(safe-area-inset-top)));border-radius:0}.account-setup-scroll{flex:auto}}@media (width<=560px){.profile-summary-card{padding:var(--space-5);align-items:flex-start}.profile-avatar{border-radius:1.25rem;width:4rem;height:4rem;font-size:1.15rem}.profile-info-grid,.profile-stat-grid,.setup-option-grid-large,.profile-verification-grid{grid-template-columns:1fr}.profile-info-grid-compact .profile-info-item,.profile-detail-row{align-items:flex-start;gap:var(--space-1);flex-direction:column;grid-template-columns:1fr}}@media (width>=900px){.profile-page,.settings{gap:var(--space-5)}}