/* Shared VAFFU portal design tokens and overrides. Load last. */
:root{color-scheme:dark;--v-bg:#0d1012;--v-surface:#161d21;--v-surface-raised:#20282d;--v-nav:#141a1e;--v-text:#f4f6f7;--v-muted:#b7c3ca;--v-accent:#e6655a;--v-accent-hover:#d64c43;--v-border:#ffffff22;--v-radius:12px}
html{font-family:Arial,Helvetica,sans-serif}body{background:var(--v-bg);color:var(--v-text);font:16px/1.55 Arial,Helvetica,sans-serif}button,input,select,textarea{font-family:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #ff877b;outline-offset:3px}
.topbar,.p-header,.lms-header{background:#111619;border-bottom:1px solid var(--v-border);min-height:78px}.brand,.p-brand,.logo{font-weight:900;letter-spacing:.12em}.brand img,.p-brand img,.logo img{width:43px;height:43px;object-fit:contain}.portal-nav,.p-nav,.course-sidebar{background:var(--v-nav);border-right:1px solid var(--v-border)}.portal-nav a,.p-nav a{border-radius:7px}.portal-nav a:hover,.portal-nav a.nav-current,.p-nav a:hover,.p-nav a.active{background:#352624;color:white}.portal-main,.p-main{max-width:1280px}.kicker,.eyebrow,.role-number{color:#f08076;letter-spacing:.14em;font-weight:800}.lede,.intro,.studio-heading p,.studio-hint{color:var(--v-muted)}.portal-card,.p-card,.calendar-wrap,.event-day,.event-upcoming,.studio-list,.studio-editor{background:var(--v-surface);border:1px solid var(--v-border);border-radius:var(--v-radius)}.primary-button,.p-action,.profile-btn,.event-primary,.studio .studio-primary{background:#b83b35;color:white;border-radius:8px}.primary-button:hover,.p-action:hover,.profile-btn:hover,.event-primary:hover{background:var(--v-accent-hover)}.p-note,.profile-warning,.event-banner,.studio-alert{background:#2b2423;border-left:3px solid var(--v-accent);color:#ead5d1}.p-header{padding:16px clamp(22px,5vw,80px)}.p-main{padding:55px clamp(22px,4vw,65px)}.p-card{min-height:0}.p-muted,.preview-note{color:#aebbc1}.profile-item{border-bottom:1px solid var(--v-border)}.calendar-cell{background:var(--v-surface-raised)}.calendar-cell.selected{background:#352827;border-color:var(--v-accent)}.event-dialog{background:var(--v-surface)}.lms-header{height:80px}.studio-primary{border-color:#b83b35!important}
@media(max-width:850px){.p-main{padding:30px 20px}}

/* Unified member portal palette; override legacy page-specific colors. */
:root{--v-bg:#0d1012;--v-surface:#161d21;--v-surface-raised:#20282d;--v-nav:#141a1e;--v-text:#f4f6f7;--v-muted:#b7c3ca;--v-accent:#e6655a;--v-border:#ffffff22;--v-header:#111619;--v-hover:#352624;--v-input:#11191e;color-scheme:dark}
html[data-vaffu-theme="light"]{--v-bg:#f2f5f7;--v-surface:#ffffff;--v-surface-raised:#e8eef2;--v-nav:#e7edf1;--v-text:#17232b;--v-muted:#51626e;--v-accent:#aa2e27;--v-border:#17232b25;--v-header:#ffffff;--v-hover:#f3d9d6;--v-input:#ffffff;color-scheme:light}
body,body.portal-page{background:var(--v-bg)!important;color:var(--v-text)!important}.topbar,.p-header,.lms-header{background:var(--v-header)!important;color:var(--v-text)!important;border-bottom-color:var(--v-border)!important}.portal-nav,.p-nav,.course-sidebar{background:var(--v-nav)!important;color:var(--v-text)!important;border-right-color:var(--v-border)!important}.portal-nav a,.p-nav a{color:var(--v-muted)!important}.portal-nav a:hover,.portal-nav a.nav-current,.p-nav a.active{background:var(--v-hover)!important;color:var(--v-text)!important}.portal-main,.p-main,.studio,.lms-main{color:var(--v-text)}.portal-card,.p-card,.calendar-wrap,.event-day,.event-upcoming,.studio-list,.studio-editor,.profile-section,.settings-section{background:var(--v-surface)!important;color:var(--v-text)!important;border-color:var(--v-border)!important}.portal-card p,.p-row span,.profile-item>span,.settings-row p,.event-card p,.studio-hint,.lede,.intro,.p-muted{color:var(--v-muted)!important}.profile-item,.settings-row,.event-card{border-color:var(--v-border)!important}.kicker,.eyebrow,.role-number{color:var(--v-accent)!important}.calendar-cell,.month-switch button,.event-dialog button:not(.event-primary){background:var(--v-surface-raised)!important;color:var(--v-text)!important;border-color:var(--v-border)!important}.event-dialog{background:var(--v-surface)!important;color:var(--v-text)!important}.settings-main{max-width:1120px}.settings-note{background:var(--v-surface-raised);border-left:3px solid var(--v-accent);padding:15px 18px;color:var(--v-muted);margin:26px 0}.settings-section{border:1px solid var(--v-border);border-radius:12px;margin:24px 0;padding:20px 25px}.settings-section h2{margin:0 0 10px;font-size:1.35rem}.settings-row{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:18px 0;border-bottom:1px solid var(--v-border)}.settings-row:last-child{border-bottom:0}.settings-row p{margin:5px 0 0;font-size:.9rem}.settings-row select{min-width:175px;background:var(--v-input);border:1px solid var(--v-border);color:var(--v-text);padding:11px;border-radius:8px}.settings-button{display:inline-block;background:var(--v-surface-raised);border:1px solid var(--v-border);border-radius:8px;color:var(--v-text);padding:11px 16px;cursor:pointer;white-space:nowrap}.settings-button.danger{background:#b83b35;color:white}.notification-panel{background:var(--v-surface-raised);padding:15px 20px;border-radius:8px}.notification-panel p,.settings-status{color:var(--v-muted)}.toggle{display:flex;align-items:center;gap:8px}.toggle input{accent-color:#b83b35;width:18px;height:18px}
html[data-vaffu-theme="light"] .profile-form input,html[data-vaffu-theme="light"] .profile-form select,html[data-vaffu-theme="light"] .event-dialog input,html[data-vaffu-theme="light"] .event-dialog select,html[data-vaffu-theme="light"] .event-dialog textarea{background:var(--v-input);color:var(--v-text);border-color:var(--v-border)}
@media(max-width:650px){.settings-row{align-items:flex-start;flex-direction:column}.settings-section{padding:16px}}

/* Profile information and security sections blend into the page background. */
body[data-current="profile"] .profile-section{background:var(--v-bg)!important;border-left:0!important;border-right:0!important;border-bottom:0!important;border-radius:0!important;box-shadow:none!important}
