/* Euphoria: preserve the complete upstream component system. */
:root { --mb-color-primary:#00718a; --mb-color-primary-dark:#00576b; --mb-color-primary-deep:#031f35; --mb-color-primary-soft:#eaf5f7; --mb-color-text:#031f35; --mb-font-display:system-ui,-apple-system,sans-serif; --mb-font-body:system-ui,-apple-system,sans-serif; }
.mb-sidebar,.bid-auth__brand { background:#031f35; color:#ffe8bf; }
.mb-sidebar .mb-nav a,.mb-sidebar .mb-brand,.mb-sidebar__footer { color:#ffe8bf; }
.mb-sidebar .mb-nav a:hover,.mb-sidebar .mb-nav a.is-active { background:#00718a; color:white; }
.mb-sidebar .mb-brand__meta,.mb-sidebar__footer small,.bid-auth__brand p { color:#b9c9ce; }
.mb-sidebar .mb-eyebrow,.bid-auth__brand .mb-eyebrow { color:#ffa600; }
.bid-auth__brand h2 { color:#ffe8bf; }
.bid-brand-logo { max-width:240px; height:auto; object-fit:contain; }
.mb-brand__mark { width:48px; background:transparent; }
.mb-brand__mark img { width:100%; height:auto; object-fit:contain; }
.bid-auth__form button[type=submit],.bid-auth__form button:not([type]) { background:#ffa600; color:#031f35; border-color:#ffa600; }
:focus-visible { outline:3px solid #ffa600; outline-offset:3px; }

/* Euphoria 2.1.1 — shared surfaces and full-size identity panel. */
html,body.mb-app { background:#f4f7f8; color:#031f35; }
body.mb-app::before { display:none; }
.mb-sidebar,.mb-sidebar__brand,.mb-sidebar__footer { background:#031f35; }
.mb-sidebar .mb-nav__link[aria-current="page"] { background:#00718a; border-color:#00718a; color:#ffe8bf; box-shadow:inset 3px 0 #ffa600; }
.mb-sidebar .mb-nav__link>span { color:#ffa600; }
.mb-sidebar__brand .mb-brand__mark img,.bid-error__logo img { filter:none; }
.mb-topbar { background:#fff; border-color:#d8e4e8; }
.mb-card,.bid-app { background:#fff; border:1px solid #d8e4e8; box-shadow:0 12px 36px rgba(3,31,53,.06); }
.mb-table thead,.mb-table th { background:#eaf5f7; color:#031f35; }
.mb-btn--primary { background:#00718a; border-color:#00718a; color:#fff; }
.mb-btn--primary:hover { background:#00576b; border-color:#00576b; }
.mb-auth,.bid-auth { background:#f4f7f8; }
.bid-auth__brand { padding:clamp(2rem,5vw,5rem); background:#031f35; display:flex; align-items:center; justify-content:center; }
.bid-auth__brand::before,.bid-auth__brand::after { display:none; }
.bid-auth__brand-inner { width:100%; max-width:32rem; min-width:0; }
.bid-auth__brand .bid-brand-logo { display:block; width:clamp(160px,20vw,240px); max-width:100%; height:auto; margin:0 0 1.75rem; padding:0; border:0; border-radius:0; background:transparent; box-shadow:none; filter:none; object-fit:contain; }
.bid-auth__form { padding:clamp(1.5rem,4vw,4rem); }
.bid-auth__form>.mb-card { width:min(100%,34rem); padding:clamp(1.5rem,3vw,2.5rem); border-radius:24px; }
.bid-auth__form .mb-title { font-size:clamp(1.9rem,3vw,2.7rem); line-height:1.15; letter-spacing:-.035em; }
.bid-auth__form label { display:block; margin:1rem 0 .4rem; font-size:.85rem; font-weight:650; color:#031f35; }
.bid-auth__form .mb-input,.bid-auth__form input:not([type=hidden]):not([type=checkbox]):not([type=radio]) { display:block; width:100%; min-height:50px; padding:.8rem 1rem; border:1px solid #b9c9ce; border-radius:12px; background:#f4f7f8; color:#031f35; font-size:1rem; line-height:1.4; box-sizing:border-box; appearance:none; }
.bid-auth__form input:focus-visible { border-color:#00718a; outline:3px solid rgba(0,113,138,.2); outline-offset:2px; background:#fff; }
.bid-auth__form input:-webkit-autofill { -webkit-text-fill-color:#031f35; box-shadow:0 0 0 1000px #eaf5f7 inset; }
.bid-auth__form .bid-actions { margin-top:1.5rem; }
.bid-auth__form .mb-btn--primary { min-height:50px; width:100%; border-radius:12px; background:#ffa600; border-color:#ffa600; color:#031f35; font-weight:750; box-shadow:none; }
.bid-auth__form .mb-btn--primary:hover { background:#ffe8bf; border-color:#ffa600; }
.euphoria-register-form #register-password-help { margin:.5rem 0 0; font-size:.78rem; color:#526a7a; }
.bid-auth__form .mb-link { color:#00576b; text-decoration:underline; text-underline-offset:3px; }
.bid-auth__form .bid-remember { display:flex; }
@media(max-width:47.5rem) {
 .bid-auth__brand { min-height:0; padding:2rem 1.5rem; }
 .bid-auth__brand-inner { width:100%; }
 .bid-auth__brand .bid-brand-logo { width:144px; height:auto; margin-bottom:1.25rem; object-fit:contain; }
 .bid-auth__form { margin-top:0; padding:1rem; }
 .bid-auth__form>.mb-card { padding:1.4rem; border-radius:18px; }
}
@media(prefers-reduced-motion:reduce) { .mb-app *, .mb-app *::before,.mb-app *::after { animation:none!important; transition:none!important; } }

/* Balanced identity panel, without changing the approved form. */
.bid-auth__brand h2 { margin:.75rem 0 1rem; font-size:clamp(2rem,3.4vw,3.5rem); line-height:1.1; overflow-wrap:break-word; }
.bid-auth__brand p:not(.mb-eyebrow) { display:block; margin:0; line-height:1.65; }
.bid-auth__brand .bid-trust { display:flex; margin-top:1.75rem; gap:.5rem; }
@media(max-width:47.5rem) { .bid-auth__brand h2 { max-width:26rem; font-size:2rem; } .bid-auth__brand .bid-trust { margin-top:1.25rem; } }

/* Dedicated presentation component: independent of inherited auth selectors. */
.eid-intro { display:flex; align-items:center; justify-content:center; padding:clamp(2rem,5vw,5rem); background:#031f35; color:#ffe8bf; min-width:0; }
.eid-intro__content { width:100%; max-width:30rem; }
.eid-intro .eid-intro__logo { display:block; width:208px; max-width:65%; height:auto; margin:0 0 2rem; padding:0; border:0; border-radius:0; background:transparent; box-shadow:none; filter:none; }
.eid-intro .eid-intro__eyebrow { display:block; margin:0 0 1rem; font-size:.75rem; font-weight:750; letter-spacing:.16em; text-transform:uppercase; color:#ffa600; }
.eid-intro h2 { display:block; margin:0 0 1.25rem; font-family:system-ui,-apple-system,sans-serif; font-size:clamp(2rem,3.3vw,3.4rem); line-height:1.12; font-weight:650; letter-spacing:-.035em; color:#ffe8bf; }
.eid-intro .eid-intro__description { display:block; margin:0; max-width:27rem; font-size:1rem; line-height:1.7; color:#b9c9ce; }
.eid-intro .eid-intro__trust { display:flex; flex-wrap:wrap; gap:.5rem; margin:2rem 0 0; padding:0; list-style:none; }
.eid-intro__trust li { padding:.55rem .75rem; border:1px solid #315164; border-radius:100px; color:#ffe8bf; font-size:.7rem; line-height:1.4; }
@media(max-width:47.5rem) { .eid-intro { padding:2rem 1.5rem; } .eid-intro .eid-intro__logo { width:144px; margin-bottom:1.25rem; } .eid-intro h2 { font-size:2rem; } .eid-intro .eid-intro__trust { margin-top:1.25rem; } }
