.profile-entrybar{border-top:1px solid #ffffff24;background:var(--navy,#071426);color:white}.profile-entryinner{display:flex;align-items:center;gap:16px;min-height:54px}.profile-status{margin-right:auto;font-size:.875rem;color:#dce1e8}.profile-find{border:1px solid var(--red,#e8232b);background:var(--red,#e8232b);color:white;min-height:44px;padding:8px 16px;font-weight:600;border-radius:2px}.profile-general{background:none;border:0;color:inherit;text-decoration:underline;min-height:44px;padding:8px}.profile-links{display:flex;gap:20px;flex-wrap:wrap;padding:8px max(32px,calc((100vw - 1176px)/2));font-size:.85rem;background:#143e70}.profile-links a{padding:4px 0;text-decoration:underline;text-underline-offset:4px}.profile-dialog{box-sizing:border-box;border:1px solid var(--line,#dce1e8);border-radius:4px;width:min(700px,calc(100% - 32px));max-height:85svh;overflow:auto;padding:32px;color:var(--ink,#0a1628);background:white}.profile-dialog::backdrop{background:#071426bb}.profile-dialog h2{font-size:clamp(1.8rem,4vw,2.6rem);padding-right:40px;margin:0 0 14px}.profile-dialog p{color:#5a6573;margin-bottom:20px}.profile-close{position:absolute;right:14px;top:8px;font-size:28px;min-width:44px;min-height:44px;background:none;border:0}.profile-options{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.profile-options button{min-height:46px;background:#f5f7fa;color:#0a1628;border:1px solid #8591a0;padding:10px 14px;border-radius:2px}.profile-options button[aria-pressed=true]{background:#143e70;color:white;border-color:#143e70}.profile-dialog summary{cursor:pointer;min-height:44px;padding:8px 0}.profile-choice{border-top:1px solid #dce1e8;padding-top:20px;margin-top:12px}.profile-choice>label{display:block;margin-top:14px;font-weight:600}.profile-choice select{width:100%;min-height:46px;background:white;border:1px solid #8591a0;padding:8px;color:#0a1628}.profile-remember{display:flex;align-items:flex-start;gap:10px;margin-top:20px}.profile-remember input{width:22px;height:22px;flex-shrink:0}.profile-actions{display:flex;align-items:center;gap:12px;margin-top:20px;flex-wrap:wrap}.profile-dialog [hidden],.profile-entrybar [hidden]{display:none!important}.profile-preview-note{padding:16px 24px;background:#f5f7fa;color:#0a1628;text-align:center;border-top:1px solid #dce1e8}.profile-dialog :focus-visible,.profile-entrybar :focus-visible{outline:3px solid #3478cb;outline-offset:4px}@media(max-width:760px){.profile-entryinner{gap:8px;padding:0 16px;flex-wrap:wrap;min-height:52px}.profile-status{font-size:.75rem;max-width:35%;line-height:1.2}.profile-find{font-size:.8rem;padding:8px 10px}.profile-general{font-size:.75rem;padding:6px}.profile-links{padding:8px 16px;gap:12px;flex-wrap:nowrap;overflow-x:auto;max-width:100vw}.profile-links a{flex-shrink:0}.profile-dialog{position:fixed;inset:auto 0 0;margin:0;width:100%;max-height:85svh;border-radius:12px 12px 0 0;padding:24px 20px;padding-bottom:max(24px,env(safe-area-inset-bottom))}.profile-options{gap:8px}.profile-options button{font-size:.875rem}.profile-dialog h2{font-size:1.8rem}}@media(prefers-reduced-motion:reduce){.profile-dialog,.profile-entrybar{scroll-behavior:auto;transition:none}}
html:has(.profile-entrybar){scroll-padding-top:calc(var(--profile-header-height,160px) + 16px)}
.profile-entrybar[hidden]{display:none!important}
/* Reference-led draft: existing Mars typography, navy/red identity and shared profile engine. */
.profile-dialog{width:min(780px,calc(100% - 40px));padding:38px;border-radius:10px;box-shadow:0 22px 90px #0006}.profile-dialog-kicker{text-align:center;color:var(--red,#e8232b)!important;font-size:.8rem;text-transform:uppercase;letter-spacing:.1em;margin:0 0 10px!important}.profile-dialog h2{text-align:center;padding:0 24px}.profile-intro{text-align:center;max-width:560px;margin:0 auto 24px!important;line-height:1.55}.profile-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.profile-options button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:130px;padding:18px 12px;text-align:center;border:1px solid #dce1e8;background:#f5f7fa;border-radius:8px;line-height:1.35}.profile-options button[aria-pressed=true]{background:var(--red,#e8232b);border-color:var(--red,#e8232b);color:white;box-shadow:0 0 0 3px #e8232b24}.profile-option-icon{font-size:1.9rem;line-height:1}.profile-option-caption{font-size:.75rem;font-weight:400}.profile-choice{border:0;padding:0}.profile-role-options button{min-height:95px}.profile-choice #profile-role{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.profile-actions{justify-content:space-between;border-top:1px solid #dce1e8;padding-top:20px}.profile-actions .btn{min-height:44px;padding:12px 24px}.profile-back{border:1px solid #dce1e8;background:white;color:var(--ink,#0a1628);border-radius:6px;min-height:44px;padding:8px 18px}.profile-actions .profile-general{color:#34465c;text-decoration:none;font-size:.8rem}.profile-status{display:flex;flex-direction:column;gap:2px}.profile-status strong{font-size:.85rem}.profile-status span{font-size:.7rem;color:#cbd5e1}.profile-find{border-radius:5px}.profile-links{background:#0d2038;border-top:1px solid #ffffff18}.profile-links a{min-height:36px;display:flex;align-items:center;text-decoration:none;border-bottom:2px solid transparent}.profile-links a:hover,.profile-links a:focus-visible{border-bottom-color:var(--red,#e8232b)}.profile-context{padding:42px 0;background:var(--navy,#071426);color:white;border-bottom:1px solid #ffffff24}.profile-context h2{color:white;font-size:clamp(1.7rem,3vw,2.6rem);max-width:950px;line-height:1.15;margin:12px 0 18px}.profile-context p:not(.eyebrow){max-width:850px;color:#dce1e8;line-height:1.6}.profile-context-actions{display:flex;align-items:center;flex-wrap:wrap;gap:24px;margin-top:22px}.profile-context-secondary{color:white;text-underline-offset:4px}
@media(max-width:760px){.profile-dialog{width:100%;padding:24px 18px;border-radius:16px 16px 0 0;max-height:88svh}.profile-options{gap:8px}.profile-options button{min-height:112px;padding:12px 8px}.profile-dialog h2{font-size:1.55rem;line-height:1.2}.profile-intro{font-size:.85rem}.profile-actions{gap:8px}.profile-actions .btn{flex:1}.profile-status{max-width:42%}.profile-context{padding:28px 0}.profile-context .wrap{padding:0 20px}.profile-context-actions{gap:16px}.profile-links{scrollbar-width:thin}}
