/* Customer User Login / Create Account page (account.html). Brand tokens from style.css/modern.css. */
.auth-page { min-height: 100vh; margin: 0; background: linear-gradient(135deg, #f3f8ff 0%, #eaf3ff 45%, #f7fbff 100%); color: var(--ink, #102a43); font-family: var(--font-body, Arial, Helvetica, sans-serif); }
.auth-page svg { width: 20px; height: 20px; flex-shrink: 0; }
.auth-page button { font: inherit; }
.auth-page [hidden] { display: none !important; }

/* Top bar */
.auth-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1440px; margin: 0 auto; padding: 22px clamp(16px, 4vw, 64px) 8px; }
.auth-brand { display: flex; align-items: center; gap: 18px; color: inherit; text-decoration: none; }
.auth-brand img { width: 78px; height: 78px; object-fit: contain; }
.auth-brand-text { display: grid; gap: 4px; padding-left: 18px; border-left: 2px solid #cfe0f5; }
.auth-brand-text strong { font-size: 26px; color: #0b2e75; }
.auth-brand-text small { font-size: 16px; color: #35506e; }
.auth-brand-text i { font-style: normal; color: #1769d2; margin: 0 4px; }
.auth-switch { display: flex; align-items: center; gap: 12px; padding: 6px 4px; border: 0; background: none; color: inherit; cursor: pointer; text-align: left; }
.auth-switch > svg { width: 34px; height: 34px; color: #0b2e75; }
.auth-switch small { display: block; font-size: 15px; color: #35506e; }
.auth-switch strong { display: flex; align-items: center; gap: 8px; font-size: 16px; color: #1769d2; }
.auth-switch strong svg { width: 18px; height: 18px; }
.auth-switch:hover strong { text-decoration: underline; }

/* Layout */
.auth-main { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(380px, 1fr); gap: clamp(16px, 3vw, 40px); align-items: start; max-width: 1440px; margin: 0 auto; padding: 8px clamp(16px, 4vw, 64px) 40px; }

/* Hero */
.auth-hero { position: relative; min-height: 720px; overflow: hidden; border-radius: 24px; background:
  linear-gradient(90deg, #f3f8ff 0%, #f3f8ff 36%, rgb(243 248 255 / 85%) 46%, rgb(243 248 255 / 20%) 62%, rgb(243 248 255 / 0%) 72%),
  url("../images/banners/image.jpg") 100% 30% / auto 118% no-repeat, #f3f8ff; }
.auth-hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 140px; background: radial-gradient(120% 100% at 30% 100%, #1d74e0 0 38%, transparent 39%), linear-gradient(180deg, transparent 0 40%, #5aa2f0 100%); opacity: .9; pointer-events: none; }
.auth-hero-copy { position: relative; z-index: 1; max-width: 430px; padding: 56px 0 0 48px; }
.auth-hero h2 { margin: 0 0 18px; font-size: clamp(38px, 4vw, 56px); line-height: 1.05; color: #0b2e75; font-weight: 800; }
.auth-hero h2 em { display: block; font-style: italic; color: #1769d2; padding-bottom: 6px; background: linear-gradient(90deg, #f0b62b, #f0b62b) left bottom / 70% 4px no-repeat; }
.auth-hero p { margin: 0 0 26px; font-size: 18px; line-height: 1.45; color: #35506e; }
.auth-features { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.auth-features li { display: flex; align-items: center; gap: 18px; }
.auth-features strong { display: block; font-size: 16px; color: #0b2e75; margin-bottom: 3px; }
.auth-features li > span:last-child { font-size: 14px; color: #35506e; max-width: 170px; line-height: 1.35; }
.auth-feature-icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; color: #fff; box-shadow: 0 8px 18px rgb(11 46 117 / 18%); }
.auth-feature-icon svg { width: 26px; height: 26px; }
.auth-feature-icon.is-blue { background: #1769d2; }
.auth-feature-icon.is-teal { background: #17a39a; }
.auth-feature-icon.is-purple { background: #6c5ce7; }
.auth-feature-icon.is-pink { background: #ec4b7c; }
.auth-products { position: absolute; z-index: 2; left: 46%; bottom: 40px; display: flex; align-items: flex-end; gap: 0; }
.auth-products img { width: auto; height: 230px; filter: drop-shadow(0 16px 18px rgb(11 46 117 / 28%)); }
.auth-products img:last-child { height: 190px; margin-left: -40px; }
.auth-tagline { position: absolute; z-index: 3; left: 44px; bottom: 34px; margin: 0; font: italic 700 28px/1.05 "Brush Script MT", "Segoe Script", cursive; color: #0b2e75; transform: rotate(-8deg); }

/* Approved design artwork: the left panel is the provided image (text is part of the artwork). */
.auth-wordmark { width: auto !important; height: 78px !important; object-fit: contain; }
.auth-hero--image { min-height: 0; aspect-ratio: 918 / 823; border-radius: 0; background: url("../images/banners/login-hero.png") left top / cover no-repeat, transparent; }
.auth-hero--image::after { display: none; }
.auth-page .visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Card */
.auth-panel { display: grid; gap: 14px; }
.auth-notice { margin: 0; padding: 8px 14px; border-radius: 10px; font-size: 13px; }
.auth-card { padding: clamp(24px, 3.2vw, 44px); border-radius: 22px; background: #fff; box-shadow: 0 24px 60px rgb(11 46 117 / 12%); }
.auth-card .login-card { display: grid; gap: 0; width: auto; max-width: none; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.auth-card-head { display: flex; gap: 22px; align-items: flex-start; margin-bottom: 30px; }
.auth-avatar { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: #e8f2ff; color: #0b2e75; flex-shrink: 0; }
.auth-avatar svg { width: 38px; height: 38px; }
.auth-kicker { margin: 4px 0 2px; font-size: 22px; font-weight: 700; color: #0b2e75; }
.auth-card h1 { margin: 0 0 12px; font-size: clamp(32px, 3vw, 42px); line-height: 1.05; color: #0b2e75; }
.auth-subtitle { margin: 0; font-size: 18px; line-height: 1.45; color: #35506e; max-width: 360px; }
.auth-form { display: grid; gap: 0; }
.auth-label { margin: 6px 0 10px; font-size: 18px; font-weight: 700; color: #0b2e75; }
.auth-input { display: flex; align-items: center; gap: 14px; min-height: 58px; padding: 0 16px; border: 1px solid #d7e3f0; border-radius: 8px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.auth-input > svg { color: #35506e; }
.auth-input:focus-within { border-color: #1769d2; box-shadow: 0 0 0 3px rgb(23 105 210 / 14%); }
.auth-input input { flex: 1; min-width: 0; height: 56px; border: 0; outline: 0; background: transparent; font-size: 16px; color: inherit; }
.auth-input input::placeholder { color: #8395aa; }
.auth-input input[aria-invalid="true"] { color: #b4232b; }
.auth-eye { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 6px; background: none; color: #0b2e75; cursor: pointer; }
.auth-eye:hover { background: #eef4ff; }
.auth-page .ow-field-error { display: block; min-height: 18px; margin: 4px 0 2px; font-size: 13px; }
.auth-forgot { margin: 0 0 18px; text-align: right; }
.auth-link { border: 0; background: none; padding: 0; color: #1769d2; font-size: 15px; font-weight: 700; cursor: pointer; }
.auth-link:hover { text-decoration: underline; }
.auth-primary, .auth-secondary { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 56px; border-radius: 8px; font-size: 18px; font-weight: 700; cursor: pointer; transition: background .15s, transform .15s; }
.auth-primary { border: 0; background: #1769d2; color: #fff; margin-top: 4px; }
.auth-primary:hover { background: #0b4fb0; }
.auth-primary:disabled, .auth-primary[aria-busy="true"] { opacity: .7; pointer-events: none; }
.auth-secondary { border: 2px solid #1769d2; background: #fff; color: #1769d2; }
.auth-secondary:hover { background: #eef4ff; }
.auth-form .ow-status { margin: 14px 0 0; }
.auth-or { display: flex; align-items: center; gap: 16px; margin: 26px 0; color: #8395aa; font-size: 14px; font-weight: 700; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: #e2eaf3; }
.auth-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.auth-bottom a { display: inline-flex; align-items: center; gap: 10px; color: #0b2e75; font-size: 15px; font-weight: 700; text-decoration: none; }
.auth-bottom a:hover { color: #1769d2; }
.auth-bottom a svg { color: #1769d2; }
.auth-section-title { margin: 28px 0 14px; font-size: 20px; color: #0b2e75; }
.auth-logout { max-width: 220px; min-height: 46px; font-size: 16px; }
/* Forgot-password panel from portal-password-recovery.js, opened from the link above. */
.auth-card .login-card > section { margin-top: 20px; }
.auth-card .login-card > section details summary { display: none; }
.auth-card .login-card > section form { display: grid; gap: 10px; margin-top: 12px; }
.auth-card .login-card > section input { min-height: 46px; padding: 0 12px; border: 1px solid #d7e3f0; border-radius: 8px; }
.auth-card .login-card > section button { min-height: 44px; border: 0; border-radius: 8px; background: #1769d2; color: #fff; font-weight: 700; cursor: pointer; }

@media (max-width: 1100px) {
  .auth-main { grid-template-columns: 1fr; }
  .auth-hero { min-height: 300px; }
  .auth-hero-copy { padding: 32px 28px 0; max-width: 520px; }
  .auth-features, .auth-products, .auth-tagline { display: none; }
  .auth-hero::after { height: 70px; }
  .auth-hero:not(.auth-hero--image) { background: linear-gradient(90deg, #f3f8ff 0%, rgb(243 248 255 / 94%) 52%, rgb(243 248 255 / 45%) 78%, rgb(243 248 255 / 10%) 100%), url("../images/banners/image.jpg") 100% 30% / cover no-repeat, #f3f8ff; }
  .auth-hero--image { min-height: 0; aspect-ratio: 918 / 823; }
}
@media (max-width: 640px) {
  .auth-top { padding-top: 14px; }
  .auth-brand { gap: 10px; }
  .auth-brand img { width: 52px; height: 52px; }
  .auth-brand-text { padding-left: 10px; }
  .auth-wordmark { height: 40px !important; }
  .auth-brand-text { display: none; }
  .auth-brand-text strong { font-size: 18px; white-space: nowrap; }
  .auth-brand-text small { display: none; }
  .auth-switch { gap: 6px; }
  .auth-switch small, .auth-switch strong svg { display: none; }
  .auth-switch strong { font-size: 14px; white-space: nowrap; }
  .auth-switch > svg { width: 24px; height: 24px; }
  .auth-hero { min-height: 220px; border-radius: 16px; }
  .auth-hero h2 { font-size: 32px; }
  .auth-hero p { font-size: 15px; }
  .auth-card { border-radius: 16px; }
  .auth-card-head { gap: 14px; margin-bottom: 22px; }
  .auth-avatar { width: 54px; height: 54px; }
  .auth-kicker { font-size: 17px; }
  .auth-subtitle { font-size: 15px; }
  .auth-label { font-size: 16px; }
}

/* ---- Full-width aligned layout (matches the approved design) ---- */
.auth-notice { position: fixed; z-index: 50; left: 50%; bottom: 16px; transform: translateX(-50%); width: max-content; max-width: min(92vw, 560px); box-shadow: 0 10px 30px rgb(11 46 117 / 18%); background: #fff; }
.auth-page .ow-field-error:empty { display: none; }
@media (min-width: 1101px) {
  .auth-page { display: flex; flex-direction: column; min-height: 100vh; }
  .auth-top { box-sizing: border-box; width: 100%; max-width: none; padding: 14px 4.5vw 10px; }
  .auth-main { box-sizing: border-box; flex: 1; width: 100%; max-width: none; grid-template-columns: minmax(0, 55fr) minmax(440px, 40fr); gap: 0; align-items: stretch; padding: 0 4.5vw 28px 0; }
  .auth-hero--image { aspect-ratio: auto; min-height: 0; height: 100%; border-radius: 0; background-size: cover; background-position: left top; }
  .auth-panel { display: flex; flex-direction: column; gap: 0; }
  .auth-panel > .auth-card { flex: 1; display: flex; flex-direction: column; justify-content: center; box-sizing: border-box; padding: clamp(22px, 3.2vh, 40px) clamp(28px, 3vw, 46px); }
  .auth-card-head { margin-bottom: clamp(14px, 2.6vh, 28px); }
  .auth-avatar { width: 64px; height: 64px; }
  .auth-avatar svg { width: 34px; height: 34px; }
  .auth-kicker { font-size: 20px; }
  .auth-card h1 { font-size: clamp(30px, 3.6vh, 40px); margin-bottom: 8px; }
  .auth-subtitle { font-size: 16px; }
  .auth-label { margin: clamp(6px, 1.2vh, 12px) 0 8px; font-size: 17px; }
  .auth-input { min-height: clamp(46px, 5.6vh, 56px); }
  .auth-input input { height: clamp(44px, 5.4vh, 54px); }
  .auth-forgot { margin: 10px 0 clamp(10px, 1.8vh, 18px); }
  .auth-primary, .auth-secondary { min-height: clamp(46px, 5.6vh, 56px); }
  .auth-or { margin: clamp(12px, 2.2vh, 24px) 0; }
  .auth-bottom { margin-top: clamp(16px, 3vh, 30px); }
}
/* Preview message as a small pill in the top bar; never covers the page. */
.auth-notice { top: 10px; bottom: auto; padding: 6px 14px; font-size: 12px; line-height: 1.35; max-width: min(92vw, 420px); text-align: center; border-radius: 999px; }
@media (max-width: 1100px) { .auth-notice { position: static; transform: none; width: auto; max-width: none; border-radius: 10px; box-shadow: none; } }
@media (min-width: 1101px) {
  .auth-main { padding-bottom: 16px; }
  .auth-input { min-height: clamp(42px, 5.6vh, 56px); }
  .auth-input input { height: clamp(40px, 5.4vh, 54px); }
  .auth-primary, .auth-secondary { min-height: clamp(42px, 5.6vh, 56px); font-size: clamp(16px, 2vh, 18px); }
  .auth-card h1 { font-size: clamp(26px, 3.6vh, 40px); }
  .auth-card-head { margin-bottom: clamp(8px, 2.4vh, 28px); }
  .auth-label { margin: clamp(4px, 1vh, 12px) 0 clamp(4px, .8vh, 8px); font-size: clamp(15px, 1.9vh, 17px); }
  .auth-forgot { margin: clamp(4px, 1vh, 10px) 0 clamp(8px, 1.6vh, 18px); }
  .auth-or { margin: clamp(8px, 2vh, 24px) 0; }
  .auth-bottom { margin-top: clamp(10px, 2.6vh, 30px); }
  .auth-subtitle { font-size: clamp(14px, 1.9vh, 16px); }
  .auth-avatar { width: clamp(50px, 6.6vh, 64px); height: clamp(50px, 6.6vh, 64px); }
}
@media (min-width: 1101px) { .auth-notice { top: auto; bottom: 12px; left: auto; right: 16px; transform: none; max-width: 300px; border-radius: 10px; text-align: left; } }
.auth-page .auth-wordmark { mix-blend-mode: multiply; }
.auth-page .auth-wordmark { mix-blend-mode: normal; }

/* My account: current / previous order cards with the active Delivery PIN */
.auth-page .ow-orders-title { margin: 22px 0 10px; font-size: 17px; color: #0b2e75; }
.auth-page .ow-orders-title small { color: #64748b; font-weight: 400; }
.auth-page .ow-orders--cards { display: grid; gap: 12px; }
.auth-page .ow-order-card { display: grid; gap: 10px; padding: 16px; border: 1px solid #dce5ef; border-radius: 12px; background: #fff; }
.auth-page .ow-order-card.has-pin { border-color: #1769d2; box-shadow: 0 6px 18px rgb(23 105 210 / 12%); }
.auth-page .ow-order-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.auth-page .ow-order-top strong { color: #0b2e75; font-size: 16px; }
.auth-page .ow-order-top small { display: block; margin-top: 2px; color: #64748b; font-size: 13px; }
.auth-page .ow-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.auth-page .ow-chips span { padding: 3px 10px; border-radius: 999px; background: #eef4ff; color: #0b3e9e; font-size: 12px; font-weight: 600; }
.auth-page .ow-chips .is-muted { background: #f1f5f9; color: #475569; }
.auth-page .ow-chips .is-sample { background: #fff4d6; color: #8a5a00; }
.auth-page .ow-mini-pin { display: grid; gap: 2px; padding: 12px 14px; border-radius: 10px; background: #eef4ff; text-align: center; }
.auth-page .ow-mini-pin span { font-size: 12px; font-weight: 700; color: #0b3e9e; text-transform: uppercase; letter-spacing: .06em; }
.auth-page .ow-mini-pin strong { font-size: 32px; letter-spacing: .3em; color: #0b2e75; font-variant-numeric: tabular-nums; }
.auth-page .ow-mini-pin small { color: #475569; font-size: 12px; }
.auth-page .ow-mini-note { margin: 0; color: #475569; font-size: 13px; }
.auth-page .ow-track-link { justify-self: start; color: #1769d2; font-weight: 700; font-size: 14px; text-decoration: none; }
.auth-page .ow-track-link:hover { text-decoration: underline; }
.auth-page [data-account-view] { max-height: none; }

/* Keep the approved 16:9 design proportions on wide screens (no stretched, "broad" layout). */
@media (min-width: 1101px) {
  .auth-page .auth-top, .auth-page .auth-main { max-width: 1680px; margin-left: auto; margin-right: auto; }
  .auth-page .auth-panel > .auth-card { width: 100%; max-width: 640px; margin-left: auto; margin-right: auto; }
}
/* Design proportions: the photo keeps the artwork's aspect ratio, the card matches its height and
   the whole block is centred vertically — never stretched on tall or wide screens. */
@media (min-width: 1101px) {
  .auth-page .auth-main { flex: 0 0 auto; margin-top: auto; margin-bottom: auto; align-items: stretch; }
  .auth-page .auth-hero--image { height: auto !important; aspect-ratio: 918 / 823; }
}
@media (min-width: 1101px) { .auth-page .auth-hero--image { width: 100%; min-width: 0; } }
/* Short laptop screens: fill the available height instead of the fixed artwork ratio. */
@media (min-width: 1101px) and (max-height: 820px) {
  .auth-page .auth-main { flex: 1 1 auto; margin-top: 0; margin-bottom: 0; }
  .auth-page .auth-hero--image { aspect-ratio: auto; }
}

/* Signed-in My Account: full-width compact dashboard (no side artwork). */
body.auth-page.is-account .auth-hero { display: none !important; }
body.auth-page.is-account .auth-main { display: block; flex: 0 0 auto; width: 100%; max-width: 1240px; box-sizing: border-box; margin: 0 auto auto !important; padding: 6px clamp(16px, 4vw, 48px) 32px !important; }
body.auth-page.is-account .auth-panel > .auth-card { max-width: none; display: block; }
.account-dashboard { padding: clamp(18px, 2.4vw, 30px) !important; }
.account-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-bottom: 16px; border-bottom: 1px solid #e2eaf3; }
.account-head .auth-avatar { width: 54px; height: 54px; }
.account-head .auth-avatar svg { width: 28px; height: 28px; }
.account-id { flex: 1; min-width: 220px; }
.account-id .auth-kicker { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #1769d2; }
.account-id h1 { margin: 2px 0 2px; font-size: clamp(22px, 2.4vw, 28px); }
.account-id .auth-subtitle { margin: 0; max-width: none; font-size: 14px; }
.account-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.auth-page .account-action { width: auto; min-height: 42px; padding: 0 16px; font-size: 14px; }
.account-message { margin: 14px 0 0; }
.account-message a { color: #1769d2; font-weight: 700; }
.ow-summary-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0 6px; }
.ow-summary-row span { padding: 8px 14px; border-radius: 10px; background: #f3f8ff; color: #35506e; font-size: 13px; }
.ow-summary-row strong { margin-right: 4px; color: #0b2e75; font-size: 16px; }
.ow-order-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.auth-page .ow-order-columns .ow-orders-title { margin-top: 10px; }
.auth-page .ow-order-items { margin: 0; color: #35506e; font-size: 13px; line-height: 1.4; }
.auth-page .ow-order-actions { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.auth-page .ow-again { min-height: 34px; padding: 0 14px; border: 1px solid #1769d2; border-radius: 8px; background: #fff; color: #1769d2; font-size: 13px; font-weight: 700; cursor: pointer; }
.auth-page .ow-again:hover { background: #eef4ff; }
.auth-page .ow-again:disabled { opacity: .6; cursor: progress; }
.account-preview-note { margin: 14px 0 0; padding: 8px 12px; border-radius: 8px; background: #fff7e0; color: #7a5200; font-size: 13px; }
@media (max-width: 900px) { .ow-order-columns { grid-template-columns: 1fr; } }
body.auth-page.is-account .auth-top { max-width: 1240px; padding-left: clamp(16px, 4vw, 48px); padding-right: clamp(16px, 4vw, 48px); box-sizing: border-box; }
.ow-order-group { min-width: 0; }

/* ===== Height-driven layout for every desktop/monitor size (incl. Windows 125%/150% scaling) =====
   The photo keeps the artwork ratio (918:823) and is sized from the available HEIGHT; the card
   has a fixed comfortable width beside it; the pair is centred. Never stretched or "broad". */
@media (min-width: 1101px) {
  .auth-page:not(.is-account) .auth-main { display: grid; grid-template-columns: auto minmax(420px, 600px); justify-content: center; align-items: stretch;
    max-width: none; width: 100%; margin: 0 auto !important; flex: 1 1 auto; padding: 0 2vw 16px !important; gap: 0; box-sizing: border-box; }
  .auth-page:not(.is-account) .auth-hero--image { width: min(56vw, calc((100vh - 130px) * 1.115)); height: auto !important; min-height: 0; aspect-ratio: 918 / 823; align-self: stretch; }
  .auth-page:not(.is-account) .auth-panel > .auth-card { max-width: 600px; }
  .auth-page:not(.is-account) .auth-top { max-width: calc(min(56vw, (100vh - 130px) * 1.115) + 600px); width: 100%; margin: 0 auto; padding-left: 2vw; padding-right: 2vw; box-sizing: border-box; }
}
/* Big monitors: cap the artwork size so the pair never becomes oversized. */
@media (min-width: 1101px) {
  .auth-page:not(.is-account) .auth-hero--image { width: min(56vw, calc((100vh - 130px) * 1.115), 1000px); }
  .auth-page:not(.is-account) .auth-top { max-width: calc(min(56vw, (100vh - 130px) * 1.115, 1000px) + 600px); }
}
/* Short screens (e.g. 1080p at 150% scaling, small laptops): compact card so it fits. */
@media (min-width: 1101px) and (max-height: 700px) {
  .auth-page .auth-top { padding-top: 6px; padding-bottom: 4px; }
  .auth-page .auth-brand img, .auth-page .auth-wordmark { height: 46px !important; }
  .auth-page .auth-brand-text strong { font-size: 18px; }
  .auth-page .auth-brand-text small { font-size: 12px; }
  .auth-page:not(.is-account) .auth-hero--image { width: min(56vw, calc((100vh - 70px) * 1.115), 1000px); }
  .auth-page .auth-panel > .auth-card { padding: 14px 28px !important; }
  .auth-page .auth-card-head { margin-bottom: 6px; gap: 12px; }
  .auth-page .auth-avatar { width: 44px; height: 44px; }
  .auth-page .auth-card h1 { font-size: 26px; margin-bottom: 4px; }
  .auth-page .auth-kicker { font-size: 15px; margin: 0; }
  .auth-page .auth-subtitle { font-size: 13px; }
  .auth-page .auth-label { margin: 2px 0 4px; font-size: 14px; }
  .auth-page .auth-input { min-height: 38px; }
  .auth-page .auth-input input { height: 36px; font-size: 14px; }
  .auth-page .auth-forgot { margin: 4px 0 6px; }
  .auth-page .auth-primary, .auth-page .auth-secondary { min-height: 38px; font-size: 15px; }
  .auth-page .auth-or { margin: 6px 0; }
  .auth-page .auth-bottom { margin-top: 8px; }
  .auth-page .auth-switch > svg { width: 26px; height: 26px; }
}
@media (min-width: 1101px) { .auth-page:not(.is-account) .auth-main { align-content: center; padding-bottom: 8px !important; } }

/* ===== Full-size layout (Owner 2026-10-21): photo fills the left area edge-to-edge and full height,
   blends into the page (soft right edge); smaller, compact login card on the right. ===== */
@media (min-width: 1101px) {
  .auth-page:not(.is-account) .auth-top { max-width: none; width: 100%; margin: 0; padding: 12px 3vw 8px; box-sizing: border-box; }
  .auth-page:not(.is-account) .auth-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(400px, 470px); justify-content: normal; align-items: stretch; align-content: stretch;
    flex: 1 1 auto; max-width: none; width: 100%; margin: 0 !important; padding: 0 3vw 0 0 !important; gap: 3vw; box-sizing: border-box; }
  .auth-page:not(.is-account) .auth-hero--image { width: auto; height: auto !important; min-height: 0; aspect-ratio: auto; align-self: stretch; border-radius: 0;
    background-size: cover; background-position: left 30%;
    -webkit-mask-image: linear-gradient(to right, #000 82%, transparent 100%); mask-image: linear-gradient(to right, #000 82%, transparent 100%); }
  .auth-page:not(.is-account) .auth-panel { align-self: center; padding: 12px 0 20px; }
  .auth-page:not(.is-account) .auth-panel > .auth-card { max-width: 470px; padding: 24px 30px !important; }
  .auth-page:not(.is-account) .auth-card-head { gap: 14px; margin-bottom: 16px; }
  .auth-page:not(.is-account) .auth-avatar { width: 52px; height: 52px; }
  .auth-page:not(.is-account) .auth-avatar svg { width: 28px; height: 28px; }
  .auth-page:not(.is-account) .auth-kicker { font-size: 16px; margin: 2px 0 0; }
  .auth-page:not(.is-account) .auth-card h1 { font-size: 30px; margin: 2px 0 6px; }
  .auth-page:not(.is-account) .auth-subtitle { font-size: 14px; }
  .auth-page:not(.is-account) .auth-label { margin: 8px 0 6px; font-size: 14px; }
  .auth-page:not(.is-account) .auth-input { min-height: 44px; gap: 10px; padding: 0 12px; }
  .auth-page:not(.is-account) .auth-input input { height: 42px; font-size: 14px; }
  .auth-page:not(.is-account) .auth-forgot { margin: 6px 0 12px; }
  .auth-page:not(.is-account) .auth-link { font-size: 13px; }
  .auth-page:not(.is-account) .auth-primary, .auth-page:not(.is-account) .auth-secondary { min-height: 44px; font-size: 15px; }
  .auth-page:not(.is-account) .auth-or { margin: 14px 0; font-size: 12px; }
  .auth-page:not(.is-account) .auth-bottom { margin-top: 18px; }
  .auth-page:not(.is-account) .auth-bottom a { font-size: 13px; }
}
@media (min-width: 1101px) and (max-height: 820px) {
  .auth-page:not(.is-account) .auth-top { padding: 6px 3vw 4px; }
  .auth-page:not(.is-account) .auth-wordmark, .auth-page:not(.is-account) .auth-brand img { height: 50px !important; }
  .auth-page:not(.is-account) .auth-brand-text strong { font-size: 19px; }
  .auth-page:not(.is-account) .auth-brand-text small { font-size: 12px; }
  .auth-page:not(.is-account) .auth-panel { padding: 6px 0 10px; }
  .auth-page:not(.is-account) .auth-panel > .auth-card { padding: 16px 26px !important; }
  .auth-page:not(.is-account) .auth-card-head { margin-bottom: 8px; }
  .auth-page:not(.is-account) .auth-avatar { width: 44px; height: 44px; }
  .auth-page:not(.is-account) .auth-card h1 { font-size: 26px; margin: 0 0 4px; }
  .auth-page:not(.is-account) .auth-subtitle { font-size: 13px; }
  .auth-page:not(.is-account) .auth-label { margin: 4px 0 4px; font-size: 13px; }
  .auth-page:not(.is-account) .auth-input { min-height: 38px; }
  .auth-page:not(.is-account) .auth-input input { height: 36px; }
  .auth-page:not(.is-account) .auth-forgot { margin: 4px 0 8px; }
  .auth-page:not(.is-account) .auth-primary, .auth-page:not(.is-account) .auth-secondary { min-height: 38px; font-size: 14px; }
  .auth-page:not(.is-account) .auth-or { margin: 8px 0; }
  .auth-page:not(.is-account) .auth-bottom { margin-top: 10px; }
}
@media (min-width: 1101px) and (max-height: 680px) {
  .auth-page:not(.is-account) .auth-subtitle { display: none; }
  .auth-page:not(.is-account) .auth-card h1 { font-size: 24px; }
  .auth-page:not(.is-account) .auth-or { margin: 5px 0; }
  .auth-page:not(.is-account) .auth-switch small { display: none; }
}
/* Full height without cropping the artwork: the photo's width follows the available height
   (artwork ratio 918:823), it starts at the left edge, and the card is centred in the rest. */
@media (min-width: 1101px) {
  .auth-page:not(.is-account) .auth-main { grid-template-columns: auto minmax(440px, 1fr); gap: 0; padding: 0 !important; }
  .auth-page:not(.is-account) .auth-hero--image { width: min(62vw, calc((100vh - 90px) * 1.115)); background-size: cover; background-position: left top; }
  .auth-page:not(.is-account) .auth-panel { justify-self: center; width: min(470px, 100%); padding: 12px 24px 20px; box-sizing: content-box; }
}
@media (min-width: 1101px) and (max-height: 820px) { .auth-page:not(.is-account) .auth-hero--image { width: min(62vw, calc((100vh - 64px) * 1.115)); } }

/* My Account: compact "Edit profile" (name + mobile, saved to the account's Auth profile). */
.account-profile { margin: 4px 0 14px; border: 1px solid #dfe7f3; border-radius: 12px; background: #f8fbff; }
.account-profile > summary { cursor: pointer; padding: 10px 14px; font-weight: 700; color: #0b2e75; font-size: 14px; }
.account-profile[open] > summary { border-bottom: 1px solid #dfe7f3; }
.account-profile .account-profile-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) auto; gap: 4px 14px; align-items: end; padding: 12px 14px 14px; }
.account-profile .account-profile-form > .auth-label { grid-row: 1; margin: 0; font-size: 13px; }
.account-profile .account-profile-form > .auth-label[for="profile-phone"] { grid-column: 2; }
.account-profile .account-profile-form > .auth-input { grid-row: 2; min-height: 40px; }
.account-profile .account-profile-form > .auth-input:nth-of-type(2) { grid-column: 2; }
.account-profile .account-profile-form > [data-error-for] { grid-row: 3; font-size: 12px; }
.account-profile .account-profile-form > [data-error-for="phone"] { grid-column: 2; }
.account-profile .account-profile-form > .auth-primary { grid-row: 2; grid-column: 3; min-height: 40px; padding: 0 18px; width: auto; font-size: 14px; }
.account-profile .account-profile-form > [data-form-status] { grid-column: 1 / -1; margin: 6px 0 0; font-size: 13px; }
@media (max-width: 640px) {
  .account-profile .account-profile-form { grid-template-columns: 1fr; }
  .account-profile .account-profile-form > * { grid-column: 1 !important; grid-row: auto !important; }
}
