.h5-account-button { flex-shrink: 0; min-width: 64px; min-height: 44px; padding: 8px 16px; color: #003da5; background: #eaf1ff; border: 1px solid #ccdcfa; border-radius: 24px; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.account-dialog { position: fixed; top: calc(var(--account-resting-top, 0px) + var(--account-resting-height, 100dvh) / 2); left: 50%; right: auto; bottom: auto; transform: translate(-50%, -50%); width: min(460px, calc(100vw - 24px)); max-height: calc(var(--account-resting-height, 100dvh) - 24px - var(--mobile-safe-top, 0px) - var(--mobile-safe-bottom, 0px)); margin: 0; padding: 0; border: 1px solid #dae5f7; border-radius: 24px; color: #132949; background: #fff; overflow: auto; overflow-anchor: none; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; touch-action: pan-x pan-y; box-shadow: 0 24px 90px rgb(12 34 67 / 22%); }
.account-dialog[data-keyboard-overlay] { top: var(--account-panel-top); height: var(--account-panel-height); min-height: var(--account-panel-height); max-height: var(--account-panel-height); transform: translateX(-50%); }
.account-dialog[data-keyboard-overlay] .account-sheet::after { content: ''; display: block; height: var(--account-keyboard-occlusion, 0px); pointer-events: none; }
.account-dialog:not([open]), .account-dialog [hidden] { display: none !important; }
.account-dialog::backdrop { background: rgb(9 27 55 / 48%); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.account-dialog[aria-modal='true'] { z-index: 10001; box-shadow: 0 0 0 100vmax rgb(9 27 55 / 65%); }
.account-sheet { padding: 22px 20px max(22px, env(safe-area-inset-bottom, 0px)); }
.account-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.account-heading p { margin: 0 0 8px; font-size: 11px; letter-spacing: .12em; color: #637da4; }
.account-heading h2 { margin: 0; font-size: 25px; letter-spacing: -.04em; }
.account-close { flex-shrink: 0; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: #f0f4fa; color: #456084; font-size: 27px; cursor: pointer; }
.account-intro, .account-orders-note { margin: 16px 0 20px; font-size: 12px; line-height: 1.8; color: #68809f; }
.account-field { display: flex; flex-direction: column; gap: 10px; margin: 18px 0; font-size: 13px; font-weight: 650; }
.account-dialog input:not([type='checkbox']) { width: 100%; min-width: 0; min-height: 48px; padding: 12px; border: 1px solid #d8e2f2; border-radius: 12px; background: #f8faff; font: inherit; font-size: 16px; color: #18385d; }
.account-code-row { display: flex; gap: 8px; }
.account-send { min-width: 110px; padding: 10px; border: 1px solid #cddcf5; border-radius: 12px; background: #eef4ff; color: #003da5; font: inherit; font-size: 12px; cursor: pointer; }
.account-agreement { display: flex; align-items: flex-start; gap: 9px; margin: 20px 0; font-size: 12px; line-height: 1.8; color: #627697; }
.account-agreement input { flex-shrink: 0; width: 18px; height: 18px; margin: 2px 0 0; accent-color: #003da5; }
.account-dialog a { color: #003da5; text-underline-offset: 3px; }
.account-submit { width: 100%; min-height: 50px; padding: 14px; border: 0; border-radius: 14px; color: #fff; background: #003da5; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.account-cancel, .account-orders-more { width: 100%; min-height: 44px; margin-top: 8px; padding: 10px; border: 0; color: #647b9b; background: transparent; font: inherit; font-size: 12px; cursor: pointer; }
.account-dialog button:disabled, .account-dialog input:disabled { opacity: .55; cursor: default; }
.account-message, .account-error { margin: 12px 0; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.account-message:empty { display: none; }
.account-message { color: #476895; }
.account-error { padding: 10px 12px; border-radius: 10px; background: #fff1f0; color: #b7443f; }
.account-profile { display: flex; align-items: center; gap: 14px; margin: 24px 0; padding: 20px; border-radius: 18px; background: linear-gradient(135deg,#edf4ff,#f8faff); }
.account-profile > span { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #ccdaf2; border-radius: 50%; color: #003da5; font-size: 28px; }
.account-profile small, .account-profile strong { display: block; }
.account-profile small { margin-bottom: 6px; color: #7689a8; font-size: 11px; }
.account-profile strong { font-size: 20px; letter-spacing: .07em; }
.account-orders-heading { display: flex; justify-content: space-between; align-items: center; }
.account-orders-heading h3 { margin: 0; font-size: 17px; }
.account-orders-heading button, .account-links button { min-height: 44px; padding: 8px; border: 0; background: transparent; color: #003da5; font: inherit; font-size: 12px; cursor: pointer; }
.account-orders-note { margin: 4px 0 16px; }
.account-order { padding: 16px; margin: 12px 0; border: 1px solid #e0e8f5; border-radius: 15px; background: #fbfcff; }
.account-order strong { font-size: 14px; }
.account-order p { white-space: pre-line; overflow-wrap: anywhere; color: #7486a1; font-size: 11px; line-height: 1.9; }
.account-order button { min-height: 42px; padding: 10px 14px; border: 1px solid #cbdcf8; border-radius: 10px; background: #eef4ff; color: #003da5; font: inherit; font-size: 12px; cursor: pointer; }
.account-empty { padding: 24px 16px; text-align: center; color: #7b8eaa; font-size: 13px; line-height: 1.8; }
.account-links { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; border-top: 1px solid #e8eef7; margin-top: 24px; padding-top: 12px; font-size: 12px; }
.account-dialog :focus-visible, .h5-account-button:focus-visible { outline: 3px solid #79aaff; outline-offset: 3px; }
@media (max-width: 350px) { .account-sheet { padding: 18px 14px; } .account-send { min-width: 100px; } }
