/* Website-aligned portal typography, login composition and mobile download card. */
body h1,body h2,body h3,body .auth h1,body .heading h1{font-family:"Segoe UI",Arial,sans-serif;letter-spacing:-.035em;font-weight:550}
body .auth{grid-template-columns:1fr 1fr;min-height:100vh;background:#0e1716;align-items:stretch}
body .auth-art{position:relative;isolation:isolate;overflow:hidden;min-height:100vh;display:flex;flex-direction:column;justify-content:center;padding:65px 10%;background:#17372c}
body .auth-art:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,#0b251bdb,#0b251b9e),url('/mirage/assets/photography/crystal-coast.webp') 58% center/cover}
body .auth-art h1{font-size:clamp(36px,4vw,60px);line-height:1.12;color:#f1f8ef;margin:26px 0}
body .auth-art .eyebrow{margin-top:28px;color:#b1e6cb}
body .auth-art p{color:#d5e5d8;font-size:16px;line-height:1.7}
body .auth-form{padding:32px 7%;min-width:0;max-width:none;align-self:stretch;display:flex;flex-direction:column;justify-content:center}
body .auth-form>form{width:100%;max-width:520px;margin:0 auto}
body .auth-form h1{font-size:31px;line-height:1.2;margin:12px 0 18px}
body .auth-form .form-grid{grid-template-columns:1fr}
.portal-downloads{background:#182d29;border:1px solid #3c5d4c;border-radius:16px;padding:28px;margin-top:28px;color:#e8f5ee}
.auth-form>.portal-downloads{max-width:520px;margin:30px auto 0}
.portal-downloads>.eyebrow{font-size:9px;letter-spacing:.16em;color:#9bceaf;margin:0 0 13px}
.portal-downloads h2{font-size:26px;line-height:1.2;margin:0 0 14px;color:#edf8ed}
.portal-downloads>p{font-size:13px;line-height:1.7;color:#b7cebb}
.portal-downloads .store-links{display:flex;gap:12px;flex-wrap:wrap;margin:22px 0 16px}
.portal-downloads .store-badge{display:flex;align-items:center;gap:10px;min-width:170px;min-height:66px;padding:12px 14px;background:#0d1812;color:#fff;border:1px solid #5f7b64;border-radius:8px;text-decoration:none;line-height:1.25}
.portal-downloads .store-badge svg{width:24px;height:28px;flex:0 0 24px}
.portal-downloads .store-badge small{font-size:8px;letter-spacing:.04em;color:#b7d2bc;display:block}
.portal-downloads .store-badge strong{font-size:17px;font-weight:500;display:block;margin-top:4px}
.portal-downloads .store-badge>span:last-child{margin-left:auto;font-size:14px}
.portal-downloads .is-unavailable{background:#20392b;border-color:#48664e;cursor:default}
.portal-downloads .is-unavailable>span:last-child{display:none}
.portal-downloads .download-message{font-size:12px;color:#c1dec4;margin:0 0 12px}
.portal-downloads .download-help{font-size:11px;color:#9fb8a3;margin:0 0 12px}
.portal-download-contact{font-size:12px;color:#9be7de;text-decoration:underline;text-underline-offset:4px}
.portal-downloads a:focus-visible{outline:3px solid #7edbd2;outline-offset:4px}
@media(max-width:950px){body .auth{grid-template-columns:1fr}body .auth-art{min-height:360px;padding:38px 7%}body .auth-art h1{font-size:42px;margin:20px 0}body .auth-art .notice{display:none}body .auth-form{padding:38px 7%}}
@media(max-width:520px){body .auth-art{min-height:340px}body .auth-art h1{font-size:38px}body .auth-form{padding:30px 18px}.portal-downloads{padding:22px}.portal-downloads .store-links{gap:10px}.portal-downloads .store-badge{min-width:0;flex:1;padding:12px;gap:9px}.portal-downloads .store-badge strong{font-size:15px}.portal-downloads .store-badge small{font-size:7px}.portal-downloads .store-badge>span:last-child{display:none}}

/* Keep the login columns equal and the download panel subordinate to sign-in. */
body .auth-form:not(.register)>form{max-width:520px;margin:0 auto}
body .auth-form>.portal-downloads{width:100%;max-width:520px;margin:22px auto 0;padding:20px;border-radius:12px}
body .auth-form>.portal-downloads>.eyebrow{font-size:8px;margin-bottom:8px}
body .auth-form>.portal-downloads h2{font-size:22px;margin:0 0 8px}
body .auth-form>.portal-downloads>p{font-size:12px;line-height:1.5;margin:0 0 12px}
body .auth-form>.portal-downloads .store-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0 12px}
body .auth-form>.portal-downloads .store-badge{min-width:0;min-height:58px;padding:10px;gap:8px}
body .auth-form>.portal-downloads .store-badge svg{width:21px;height:24px;flex-basis:21px}
body .auth-form>.portal-downloads .store-badge strong{font-size:16px;margin-top:3px}
body .auth-form>.portal-downloads .store-badge small{font-size:7px}
.portal-downloads .download-message:empty{display:none}
body .auth-form>.portal-downloads .download-help{font-size:10px;line-height:1.5;margin:0 0 10px}
body .auth-form>.portal-downloads .portal-download-contact{font-size:11px;line-height:1.5}
@media(min-width:951px){body .auth-art{align-self:stretch;min-height:100vh;height:auto;padding:48px 10%}body .auth-form:not(.register) #authForm .auth-alternate{margin-top:18px;padding-top:16px}}
@media(max-width:950px){body .auth-form{padding:32px 7%}}
@media(max-width:520px){body .auth-form{padding:30px 18px}body .auth-form>.portal-downloads{padding:18px}body .auth-form>.portal-downloads .store-badge>span:last-child{display:none}body .auth-form>.portal-downloads .store-badge strong{font-size:15px}}
@media(max-width:360px){body .auth-form>.portal-downloads .store-links{grid-template-columns:1fr}}
