.retail-account { padding-block: 30px; overflow-wrap: anywhere; }
.retail-account .panel { margin-block: 18px; padding: 24px; min-width: 0; }
.account-grid, .account-balances { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.account-balances { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-block: 18px; }
.account-balances .panel { margin: 0; }
.account-balances strong { display: block; font-size: 1.6rem; font-variant-numeric: tabular-nums; }
.account-toolbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; min-width: 0; }
.account-toolbar > p { min-width: 0; max-width: 100%; }
.account-order { padding: 18px 0; border-bottom: 1px solid #e1e5eb; display: flex; gap: 16px; justify-content: space-between; flex-wrap: wrap; }
.account-order > div { min-width: 0; max-width: 100%; }
.retail-account .button { max-width: 100%; white-space: normal; text-align: center; }
.account-scroll { overflow: auto; }
.retail-account table { width: 100%; text-align: left; border-collapse: collapse; table-layout: fixed; }
.retail-account td, .retail-account th { padding: 12px; border-bottom: 1px solid #e1e5eb; vertical-align: top; }
.retail-account .form-field { display: grid; gap: 6px; margin-block: 12px; min-width: 0; }
.retail-account .address-field { grid-column: 1 / -1; }
.retail-account input, .retail-account textarea { box-sizing: border-box; min-width: 0; width: 100%; max-width: 100%; padding: 12px; font: inherit; border: 1px solid #bcc4d0; border-radius: 5px; }
.retail-account textarea { min-height: 112px; resize: vertical; }
.retail-account .check-row input { width: auto; }
.retail-account [hidden] { display: none !important; }
.retail-order { overflow-wrap: anywhere; }
.retail-order .order-page-head > div, .retail-order .order-addresses > div { min-width: 0; }
.retail-account.account-auth { max-width: 1080px; padding-block: 24px 48px; }
.auth-breadcrumb { display: flex; align-items: center; gap: 12px; color: #64748b; font-size: 12px; margin-bottom: 36px; }
.auth-breadcrumb a:hover { text-decoration: underline; }
.auth-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 72px; align-items: center; }
.auth-intro { padding-block: 20px; }
.auth-intro .eyebrow { margin-bottom: 20px; font-size: 11px; letter-spacing: 1.6px; color: #64748b; }
.auth-intro h1 { font-size: clamp(32px, 3vw, 42px); line-height: 1.2; letter-spacing: -1.3px; font-weight: 750; margin: 0 0 18px; }
.auth-intro-copy { max-width: 375px; color: #64748b; font-size: 14px; line-height: 1.8; margin-bottom: 30px; }
.auth-benefits { display: grid; gap: 24px; padding: 0; margin: 0 0 30px; list-style: none; }
.auth-benefits li { display: flex; align-items: flex-start; gap: 14px; }
.auth-benefit-icon { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border: 1px solid #dce3eb; border-radius: 12px; background: #fff; color: #1b2a4a; }
.auth-benefit-icon svg { width: 22px; height: 22px; }
.auth-benefits strong { display: block; font-size: 14px; line-height: 1.5; font-weight: 650; }
.auth-benefits p { margin: 4px 0 0; color: #64748b; font-size: 12px; line-height: 1.6; }
.auth-guest-link { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 650; padding-block: 8px; }
.auth-guest-link svg { width: 17px; height: 17px; }
.auth-guest-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.auth-card { min-width: 0; padding: 30px; border: 1px solid #e2e8f0; border-radius: 16px; background: #fff; box-shadow: 0 12px 40px #1b2a4a08; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 28px; border-radius: 10px; background: #f1f4f8; }
.auth-tabs button { min-height: 42px; border: 0; border-radius: 7px; background: transparent; color: #64748b; font-size: 14px; font-weight: 650; }
.auth-tabs button[aria-selected="true"] { background: #fff; color: #1b2a4a; box-shadow: 0 1px 5px #1b2a4a14; }
.auth-form-heading h2 { font-size: 23px; line-height: 1.3; letter-spacing: -.5px; font-weight: 750; margin: 0 0 8px; }
.auth-form-heading h2:focus { outline: none; }
.auth-form-heading > p { font-size: 13px; line-height: 1.7; color: #64748b; margin-bottom: 24px; }
.auth-field { margin-bottom: 18px; min-width: 0; }
.auth-field > label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 650; }
.auth-input { position: relative; }
.account-auth .auth-input input { height: 48px; border: 1px solid #cbd5e1; border-radius: 8px; padding: 12px 14px; background: #fff; color: #1b2a4a; font-size: 14px; line-height: 22px; }
.account-auth .auth-input input[type="password"], .account-auth .auth-input input[autocomplete*="password"] { padding-right: 48px; }
.account-auth .auth-input input::placeholder { color: #94a3b8; opacity: 1; }
.account-auth .auth-input input:focus { border-color: #1b2a4a; outline: 3px solid #1b2a4a12; outline-offset: 1px; }
.auth-password-toggle { position: absolute; right: 3px; top: 3px; display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: #64748b; }
.auth-password-toggle:hover { color: #1b2a4a; background: #f1f4f8; }
.auth-password-toggle[aria-pressed="true"] { color: #1b2a4a; }
.auth-password-toggle svg { width: 20px; height: 20px; }
.auth-field > small { display: block; margin-top: 7px; font-size: 12px; line-height: 1.5; color: #64748b; }
.auth-text-button { padding: 0; border: 0; background: none; color: #1b2a4a; font-size: inherit; font-weight: 650; line-height: inherit; }
.auth-text-button:hover { text-decoration: underline; text-underline-offset: 3px; }
.auth-form-tools { display: flex; justify-content: flex-end; margin: -4px 0 22px; font-size: 12px; line-height: 1.8; }
.account-auth .auth-form > .button { width: 100%; min-height: 48px; font-size: 14px; border-radius: 8px; }
.auth-switch-copy { text-align: center; margin: 22px 0 0; color: #64748b; font-size: 13px; line-height: 1.8; }
.account-auth .auth-consent { display: flex; align-items: flex-start; gap: 10px; margin: 20px 0; font-size: 12px; line-height: 1.7; color: #64748b; }
.account-auth .auth-consent input { flex: none; width: 16px; height: 16px; padding: 0; margin: 3px 0 0; accent-color: #1b2a4a; border-radius: 3px; }
.auth-consent a { text-decoration: underline; text-underline-offset: 2px; color: #1b2a4a; }
.auth-support { text-align: center; margin: 24px 0 0; padding-top: 20px; border-top: 1px solid #eef1f5; color: #64748b; font-size: 12px; line-height: 1.8; }
.auth-support a { color: #1b2a4a; font-weight: 650; }
.auth-mobile-tracking { display: none; }
.auth-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px; font-size: 12px; min-height: 32px; }
.auth-back svg { width: 17px; height: 17px; }
.auth-preview-note { margin: 24px 0 0; text-align: center; font-size: 11px; line-height: 1.7; color: #64748b; }
.auth-status { padding: 12px 14px; margin: 0 0 20px; background: #f1f5f9; border: 1px solid #e2e8f0; border-radius: 8px; font-size: 13px; line-height: 1.7; }
.auth-status a { text-decoration: underline; }
.account-auth .form-error { margin: 0 0 16px; color: #a42824; font-size: 13px; line-height: 1.7; }
@media (max-width: 1000px) {
 .auth-layout { gap: 36px; grid-template-columns: minmax(0, 1fr) minmax(0, 430px); }
 .auth-intro h1 { font-size: 34px; }
}
@media (max-width: 700px) {
 .retail-account.account-auth { width: calc(100% - 32px); padding-block: 20px 28px; }
 .auth-breadcrumb { margin-bottom: 22px; font-size: 11px; }
 .auth-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; max-width: 460px; margin-inline: auto; }
 .auth-intro { padding: 0; }
 .auth-intro .eyebrow { font-size: 10px; margin-bottom: 10px; }
 .auth-intro h1 { font-size: 28px; line-height: 1.25; letter-spacing: -.7px; margin-bottom: 10px; }
 .auth-intro h1 br { display: none; }
 .auth-intro-copy { max-width: none; font-size: 13px; line-height: 1.7; margin: 0; }
 .auth-benefits, .auth-guest-link { display: none; }
 .auth-card { padding: 22px 20px; border-radius: 12px; }
 .auth-tabs { margin-bottom: 24px; }
 .auth-form-heading h2 { font-size: 22px; }
 .account-auth .auth-input input { font-size: 16px; }
 .auth-password-toggle { width: 44px; right: 2px; top: 2px; height: 44px; }
 .auth-form-tools .auth-text-button { min-height: 32px; }
 .auth-switch-copy { font-size: 12px; }
 .auth-mobile-tracking { display: block; padding-top: 16px; text-align: center; font-size: 12px; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
 .account-grid, .account-balances { grid-template-columns: minmax(0, 1fr); }
 .account-grid { gap: 0; }
 .account-balances { gap: 12px; }
 .account-balances strong { font-size: clamp(1.25rem, 5.5vw, 1.6rem); }
 .retail-account .panel { padding: 16px; }
 .retail-account input, .retail-account textarea { font-size: 16px; }
 .retail-account .button { min-height: 44px; }
 .account-order { flex-direction: column; align-items: stretch; }
 .account-order .account-toolbar { align-items: stretch; }
 .account-order .button { width: 100%; }
 .retail-account table, .retail-account tbody, .retail-account tr { display: block; }
 .retail-account thead { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
 .retail-account tbody tr { padding-block: 12px; border-bottom: 1px solid #e1e5eb; }
 .retail-account tbody tr:last-child { border-bottom: 0; }
 .retail-account td { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; padding: 6px 0; border: 0; }
 .retail-account td::before { content: attr(data-label); font-weight: 700; }
 .retail-order .order-page-head { flex-direction: column; align-items: stretch; }
 .retail-order .order-page-head .button { font-size: 14px; white-space: normal; }
 .retail-order .order-product { display: grid; grid-template-columns: 45px minmax(0, 1fr); gap: 8px 12px; }
 .retail-order .order-product img { grid-row: 1 / span 2; }
 .retail-order .order-product > div { font-size: 13px; }
 .retail-order .order-product > strong { grid-column: 2; white-space: normal; font-size: 14px; }
 .retail-order .order-product small { font-size: 12px; }
}
