:root { --ink:#15233c; --muted:#62708a; --line:#e2e8f1; --blue:#2962e8; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; color: var(--ink); background: #f7f9fd; font-family: Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif; }
.account-header { display: flex; align-items: center; justify-content: space-between; padding: 14px clamp(24px,6vw,92px); background: #fff; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-size: 1.14rem; font-weight: 800; letter-spacing: -.03em; text-decoration: none; }
.mark { display: grid; place-items: center; width: 29px; height: 29px; background: #2962e8; color: #fff; border-radius: 9px 9px 9px 2px; font-size: .83rem; }
.account-back { color: var(--muted); font-size: .88rem; font-weight: 650; text-decoration: none; }
.account-back:hover { color: #2962e8; }
.account-page { width: min(100% - 40px,760px); margin: 0 auto; padding: 58px 0 72px; }
.account-eyebrow { margin: 0 0 9px; color: #2962e8; font-size: .76rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.account-heading h1 { margin: 0; font-size: clamp(2rem,6vw,2.8rem); letter-spacing: -.055em; line-height: 1.2; }
.account-intro { margin: 13px 0 27px; color: var(--muted); line-height: 1.6; }
.account-tabs { display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 1px solid var(--line); margin: 0 0 26px; }
.account-tabs a { min-width: 0; max-width: 100%; overflow-wrap: anywhere; padding: 12px 16px; border-bottom: 2px solid transparent; color: var(--muted); font-size: .9rem; font-weight: 700; text-decoration: none; }
.account-tabs a[aria-current="page"] { color: #2962e8; border-color: #2962e8; }
.account-panel { padding: clamp(22px,5vw,34px); margin-bottom: 22px; border: 1px solid var(--line); border-radius: 17px; background: #fff; box-shadow: 0 8px 24px #213e7007; }
.account-panel h2 { margin: 0 0 20px; font-size: 1.1rem; letter-spacing: -.02em; }
.account-photo-row { display: flex; align-items: center; gap: 24px; padding-bottom: 27px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.account-photo { display: grid; place-items: center; width: 88px; height: 88px; flex: 0 0 88px; overflow: hidden; border-radius: 50%; background: #eaf0ff; color: #234ea0; font-size: 32px; font-weight: 750; }
.account-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.account-photo-controls { min-width: 0; }
.account-photo-controls h2 { margin-bottom: 10px; font-size: 1rem; }
.account-photo-buttons { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.account-secondary { display: inline-flex; justify-content: center; align-items: center; min-height: 38px; padding: 8px 12px; border: 1px solid #cbd9ee; border-radius: 8px; color: #1648c1; background: #f6f9ff; cursor: pointer; font: 650 .82rem system-ui; }
.account-text-button { border: 0; padding: 9px 0; background: transparent; color: #9b4343; cursor: pointer; font: 650 .8rem system-ui; }
.account-file { position: absolute; width: 1px; height: 1px; opacity: 0; }
.account-photo-controls:focus-within .account-secondary { outline: 3px solid #96b7ff; outline-offset: 3px; }
.account-field { display: grid; gap: 8px; margin-bottom: 21px; }
.account-field label { font-size: .87rem; font-weight: 700; }
.account-field input,.account-field select { width: 100%; min-height: 47px; padding: 11px 13px; border: 1px solid #ccd6e4; border-radius: 9px; color: var(--ink); background: #fff; font: inherit; }
.account-field input[readonly] { background: #f6f8fc; color: var(--muted); }
.account-hint { margin: 1px 0 0; color: var(--muted); font-size: .8rem; line-height: 1.6; overflow-wrap: anywhere; }
.account-photo-controls .account-hint { margin-top: 10px; }
.account-section-intro { margin: -9px 0 24px; }
.account-form-footer { display: flex; align-items: center; gap: 16px; padding-top: 8px; flex-wrap: wrap; }
.account-button { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 11px 18px; border: 0; border-radius: 9px; background: #2962e8; color: #fff; cursor: pointer; text-decoration: none; font: 750 .88rem system-ui; }
.account-button:hover { background: #1648c1; }
.account-button:disabled { opacity: .6; cursor: wait; }
.account-status { flex: 1; margin: 0; color: #155334; font-size: .82rem; line-height: 1.5; overflow-wrap: anywhere; }
.account-status[role="alert"] { color: #a83d47; }
.account-status:empty { display: none; }
.account-theme { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; padding: 0; margin: 25px 0; border: 0; }
.account-theme legend { padding: 0; margin-bottom: 12px; font-size: .87rem; font-weight: 700; }
.account-theme label { position: relative; display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; gap: 10px; padding: 12px; border: 1px solid #ccd6e4; border-radius: 10px; cursor: pointer; font-size: .8rem; font-weight: 650; }
.account-theme label > span { min-width: 0; }
.account-theme label:has(input:checked) { border-color: #2962e8; box-shadow: 0 0 0 1px #2962e8; }
.account-theme input { position: absolute; top: 10px; right: 10px; accent-color: #2962e8; width: 16px; height: 16px; }
.account-theme-art { display: block; height: 61px; margin-top: 9px; border: 1px solid #dce5f1; border-radius: 6px; background: linear-gradient(#2962e8,#2962e8) 10px 12px/25px 5px no-repeat,linear-gradient(#dce5f1,#dce5f1) 10px 27px/75% 4px no-repeat,linear-gradient(#dce5f1,#dce5f1) 10px 38px/55% 4px no-repeat,#f7f9fd; }
.account-theme-dark { background-color: #182438; border-color: #33435c; }
.account-theme-system { background-color: #f7f9fd; background-image: linear-gradient(90deg,transparent 50%,#182438 50%); }
.account-help-steps { padding-left: 25px; margin: 0 0 26px; line-height: 1.7; color: var(--muted); }
.account-help-steps li { padding-left: 7px; margin-bottom: 13px; }
.account-help-steps li::marker { color: #2962e8; font-weight: 750; }
.account-faq details { padding: 18px 0; border-bottom: 1px solid var(--line); }
.account-faq details:last-child { border-bottom: 0; padding-bottom: 0; }
.account-faq summary { cursor: pointer; font-weight: 700; font-size: .92rem; line-height: 1.5; }
.account-faq p { margin: 13px 0 0; color: var(--muted); font-size: .88rem; line-height: 1.75; }
:is(input,select,button,a,summary):focus-visible { outline: 3px solid #96b7ff; outline-offset: 3px; }
.account-noscript { margin: 28px; text-align: center; }
html[data-pathway-theme="dark"] .account-secondary { color: #c5d7ff; background: #273e65; border-color: #526c97; }
html[data-pathway-theme="dark"] .account-photo { color: #c5d7ff; background: #273e65; }
html[data-pathway-theme="dark"] .account-status { color: #8fd9b7; }
html[data-pathway-theme="dark"] :is(.account-eyebrow,.account-tabs a[aria-current="page"]) { color: #aec7ff; }
html[data-pathway-theme="dark"] .account-text-button { color: #ffadb4; }
@media(max-width:530px) { .account-page { width: calc(100% - 32px); padding-top: 36px; } .account-back { max-width: 120px; font-size: .76rem; } .account-tabs a { padding: 12px 13px; } .account-photo-row { gap: 16px; align-items: flex-start; } .account-photo { width: 68px; height: 68px; flex-basis: 68px; } .account-photo-buttons { gap: 7px; } .account-theme { gap: 8px; } .account-theme label { padding: 10px 8px; font-size: .72rem; } }
@media(max-width:360px) { .account-back { display: none; } .account-photo-row { flex-direction: column; } .account-theme { grid-template-columns: minmax(0,1fr); } .account-theme label { flex-direction: row; align-items: center; padding-right: 35px; } .account-theme-art { width: 75px; height: 45px; flex: 0 0 75px; margin: 0; } .account-theme input { top: 24px; } }
