.wh-account {
    --wh-ink: #102943;
    --wh-muted: #455d70;
    --wh-line: #c8d8df;
    --wh-accent: #086571;
    color: var(--wh-ink);
    background: linear-gradient(180deg, #edf5f7, #f8fbfc 76%);
    padding: 2rem 0 clamp(3.5rem, 8vw, 7rem);
}
.wh-account .wh-account-wrap { max-width: 72rem; }
.wh-account-top, .wh-account-titlebar, .wh-account-session, .wh-account-crumb, .wh-account-decisions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.wh-account-top, .wh-account-titlebar { justify-content: space-between; }
.wh-account-top { margin-bottom: clamp(2rem, 5vw, 4rem); }
.wh-account-crumb, .wh-account-session { color: var(--wh-muted); font-size: .9rem; }
.wh-account-crumb { gap: .6rem; }
.wh-account-crumb a { color: inherit; }
.wh-account-link, .wh-account-side-link {
    color: var(--wh-accent);
    text-decoration: underline;
    text-underline-offset: .21em;
    font: inherit;
    font-weight: 650;
}
button.wh-account-link { border: 0; background: transparent; padding: .3rem 0; cursor: pointer; }
.wh-account-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(17rem, .85fr); gap: clamp(1rem, 3vw, 2.25rem); align-items: start; }
.wh-account-panel, .wh-account-empty, .wh-account-orders > li {
    border: 1px solid var(--wh-line);
    background: #fff;
    border-radius: 1rem;
}
.wh-account-panel, .wh-account-side, .wh-account-empty { padding: clamp(1.4rem, 4vw, 3.25rem); }
.wh-account h1, .wh-account h2, .wh-account h3 { color: inherit; margin: 0; line-height: 1.12; letter-spacing: -.026em; }
.wh-account h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
.wh-account h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); }
.wh-account h3 { font-size: 1.25rem; }
.wh-account-intro, .wh-account-empty p { max-width: 52ch; margin: 1rem 0 1.75rem; line-height: 1.65; color: var(--wh-muted); }
.wh-account-tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    margin: 0 0 1.6rem;
    border-bottom: 1px solid var(--wh-line);
}
.wh-account-tabs a { text-decoration: none; color: var(--wh-muted); font-weight: 650; padding: .75rem 0; margin-bottom: -1px; border-bottom: 3px solid transparent; }
.wh-account-tabs a[aria-current] { color: var(--wh-accent); border-color: currentColor; }
.wh-account-form, .wh-account-field { display: grid; gap: .48rem; }
.wh-account-form { gap: 1.2rem; max-width: 34rem; }
.wh-account-field label { font-weight: 650; }
:is(.wh-account-field input,.wh-account-field select) {
    min-height: 3rem;
    width: 100%;
    border-radius: .4rem;
    border: 1px solid #859daa;
    background: #fff;
    color: var(--wh-ink);
    font: inherit;
    padding: .6rem .85rem;
}
.wh-account :is(input, select, a, button):focus-visible { outline: 3px solid #1c99ac; outline-offset: 3px; }
.wh-account-field small { font-size: .875rem; color: var(--wh-muted); line-height: 1.5; }
.wh-account-form .button, .wh-account-checkout .button { justify-self: start; margin-top: .4rem; }
.wh-account-side {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    color: #effaff;
    background: linear-gradient(134deg, #103955, #102b45 73%);
    border-top: .25rem solid #74cbd7;
}
.wh-account-side h2 { font-size: clamp(1.6rem, 2.5vw, 2.1rem); }
.wh-account-side p { color: #dae9f1; margin: .9rem 0 0; line-height: 1.65; }
.wh-account-side-rule { height: 1px; background: #416279; margin: 2rem 0; }
.wh-account-side-product { margin-top: 2rem; }
.wh-account-side-product span, .wh-account-product-kind, .wh-account-order-name > span {
    display: block;
    font-size: .88rem;
    font-weight: 650;
    letter-spacing: .055em;
}
.wh-account-side-product span { color: #9edee4; }
.wh-account-side-product strong { display: block; font-size: clamp(2.25rem, 4vw, 3.4rem); line-height: 1.12; letter-spacing: -.04em; }
.wh-account-side-specs, .wh-account-specs { margin: 1.45rem 0; }
.wh-account-side-specs div, .wh-account-specs div { display: flex; gap: 1rem; align-items: baseline; justify-content: space-between; padding: .8rem 0; border-bottom: 1px solid var(--wh-line); }
.wh-account-side-specs div { border-color: #416279; flex-wrap: wrap; column-gap: .65rem; row-gap: .3rem; }
.wh-account-specs dt { color: var(--wh-muted); }
.wh-account-side-specs dt { color: #c6dae6; }
.wh-account-side-specs dd, .wh-account-specs dd { margin: 0; font-weight: 650; text-align: right; }
.wh-account-price strong { font-size: 2.5rem; letter-spacing: -.04em; }
.wh-account-price span { color: #c6dae6; }
.wh-account-side-link { display: inline-block; margin-top: 1.3rem; color: #a9edf0; }
.wh-account-checkout p { line-height: 1.6; color: var(--wh-muted); margin: 1.4rem 0 .8rem; }
.wh-checkout-legal { display: flex; flex-wrap: wrap; gap: .35rem 1rem; margin-top: .9rem; font-size: .9rem; }
.wh-account-product-kind { color: var(--wh-accent); margin-bottom: .55rem; }
.wh-account-titlebar { margin-bottom: 1.6rem; }
.wh-account-titlebar .wh-account-intro { margin-bottom: 0; }
.wh-account-empty { max-width: 54rem; }
.wh-account-orders { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.wh-account-orders > li { display: grid; grid-template-columns: minmax(9rem,1.45fr) 1fr auto auto auto; align-items: center; gap: 1.5rem; padding: 1.3rem 1.5rem; }
.wh-account-order-name { min-width: 0; }
.wh-account-order-name > span { color: var(--wh-accent); }
.wh-account-order-name > a { display: block; color: var(--wh-ink); text-decoration: none; font-size: 1.6rem; font-weight: 750; }
.wh-account-order-name > small { color: var(--wh-muted); font-size: .8rem; overflow-wrap: anywhere; }
.wh-account-status { justify-self: start; padding: .3rem .7rem; border-radius: 2rem; color: #0b5b54; background: #ddf2ed; font-size: .875rem; font-weight: 600; }
.wh-account-status.is-cancelled { background: #edf0f3; color: #4b5964; }
.wh-account-order-price { font-weight: 650; white-space: nowrap; }
.wh-account-order-price small { color: var(--wh-muted); font-weight: 400; }
.wh-account-alert, .wh-account-notice { padding: 1rem 1.25rem; border-radius: .5rem; margin: 0 0 1.25rem; }
.wh-account-alert { background: #fbebeb; color: #802c32; border: 1px solid #e2c1c3; }
.wh-account-notice { background: #dfefed; color: #184e47; border: 1px solid #accbc6; }
.wh-account .wh-account-danger { border: 1px solid #983b41; background: #8d333b; color: #fff; }
.wh-account-panel { min-width: 0; }
.wh-account-instruction { color: var(--wh-muted); line-height: 1.6; }
.wh-account .wh-token-aside {
    background: linear-gradient(120deg, #102c43 5%, #102c43ed 60%, #102c4394),
                url("glacier-medium.webp") 74% center / cover;
}
.wh-legacy-link { display: inline-block; margin-top: 1.3rem; font-size: .94rem; }
.wh-token-input { display: flex; border: 1px solid #859daa; border-radius: .4rem; background: #fff; }
.wh-token-input input { flex: 1; min-width: 0; border: 0; border-radius: .4rem; font-family: var(--mono); }
.wh-token-input button {
    align-self: center;
    min-width: 4rem; min-height: 2.5rem; margin: .2rem .25rem;
    padding: .4rem .7rem; border: 0; border-radius: .3rem;
    color: var(--wh-accent); background: #e9f2f3; font-weight: 650;
}
.wh-token-input button:hover { background: #d7e9eb; }
.wh-token-input button[hidden], .wh-token-tools button[hidden] { display: none; }
.wh-token-reveal { padding: 1.05rem; border-radius: .55rem; border: 1px solid #a7c5cc; background: #eff6f7; }
.wh-token-reveal label { display: block; font-weight: 650; }
.wh-token-reveal textarea {
    display: block; width: 100%; margin: .55rem 0 0; padding: .7rem;
    resize: vertical; border: 1px solid #8cabb4; border-radius: .35rem;
    color: var(--wh-ink); background: #fff; font-family: var(--mono);
    font-size: 1rem; line-height: 1.5; overflow-wrap: anywhere;
}
.wh-token-reveal textarea:focus-visible { outline: 3px solid #1c99ac; outline-offset: 2px; }
.wh-token-tools { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; }
.wh-token-tools .button { margin-top: .55rem; min-height: 2.5rem; padding: .45rem .85rem; }
.wh-token-tools [role="status"] { color: var(--wh-accent); font-size: .94rem; }
.wh-token-confirm { margin-top: 1.35rem; }
.wh-token-check { display: flex; align-items: baseline; gap: .6rem; cursor: pointer; }
.wh-token-check input { align-self: start; margin: .23rem 0 0; width: 1.13rem; height: 1.13rem; accent-color: var(--wh-accent); }
.wh-token-replace { margin-top: 1.1rem; }
.wh-account-upgrade {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
    gap: 1rem; margin-bottom: 1.5rem; padding: 1.1rem 1.3rem; border: 1px solid #b8d1d6;
    border-radius: .65rem; background: #eff7f7;
}
.wh-account-upgrade h2 { font-size: 1.25rem; }
.wh-account-upgrade p { color: var(--wh-muted); margin-top: .35rem; max-width: 64ch; line-height: 1.5; }
@media (max-width: 760px) {
    .wh-account-grid { grid-template-columns: 1fr; }
    .wh-account-orders > li { grid-template-columns: 1fr auto; gap: .65rem 1rem; }
    .wh-account-order-name { grid-row: span 2; }
    .wh-account-order-city, .wh-account-orders > li .wh-account-link { justify-self: end; }
    .wh-account-status { justify-self: end; }
}
@media (max-width: 480px) {
    .wh-account { padding-top: 1.2rem; }
    .wh-account-top { gap: .35rem; }
    .wh-account-session { width: 100%; }
    .wh-account-panel, .wh-account-side, .wh-account-empty { padding: 1.25rem; }
    .wh-account-panel .button { white-space: normal; }
}

.wh-review-profile { line-height:1.7; margin:1.1rem 0; }
.wh-review-details { padding:.8rem 0; border-block:1px solid #d1dfe4; margin-bottom:1rem; }
.wh-review-details summary { cursor:pointer; font-weight:650; }
