/**
 * File: assets/css/frontend/header-widgets/account-widget-part3.css
 * Purpose: Split piece of a larger source file (1.0.191 file-size programme; cascade/build order unchanged). Continuation part 3 of assets/css/frontend/header-widgets/account-widget.css (split for the 300-line standard; cascade order is preserved by the enqueue chain).
 * Scope: Same feature scope as the source file named in the provenance line; not a standalone design source.
 * Package: HyperDAF Engine
 */
.hdf-header-account-guest > div {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.hdf-header-account-guest small {
    color: var(--hdf-engine-color-primary-strong);
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.hdf-header-account-guest strong {
    display: -webkit-box;
    overflow: hidden;
    max-height: 2.34em;
    color: var(--hdf-engine-color-text);
    font-size: .9rem;
    line-height: 1.17;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.hdf-header-account-guest p {
    margin: 3px 0 0;
    color: var(--hdf-engine-color-text-muted);
    font-size: .7rem;
    line-height: 1.5;
}

.hdf-header-account-benefits {
    display: grid;
    gap: 0;
    padding: 7px 16px;
    background: var(--hdf-engine-color-surface);
}

.hdf-header-account-benefits > span {
    display: flex;
    min-height: 40px;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--hdf-engine-color-border-subtle);
    color: var(--hdf-engine-color-text);
    font-size: .74rem;
    font-weight: 650;
}

.hdf-header-account-benefits > span:last-child {
    border-bottom: 0;
}

.hdf-header-account-benefits .hdf-engine-icon {
    width: 16px;
    height: 16px;
    color: var(--hdf-engine-color-primary-strong);
}

.hdf-header-account-footer--guest {
    min-height: auto;
}

.hdf-header-account-footer--guest > :only-child {
    grid-column: 1 / -1;
}

@media (max-width: 520px) {
    .hdf-header-action--account .hdf-header-action__widget,
    .hdf-header-account-panel {
        width: min(calc(100vw - 1rem), 20.625rem);
        max-height: min(23.625rem, calc(100dvh - 5.5rem));
    }

    .hdf-header-account-links {
        padding-inline: 8px;
    }

    .hdf-header-account-footer,
    .hdf-header-account-footer--guest {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 360px) {
    .hdf-header-account-profile {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 9px;
        padding-inline: 10px;
    }

    .hdf-header-account-secure {
        display: none;
    }

    .hdf-header-account-avatar {
        width: 40px;
        height: 40px;
    }

    .hdf-header-account-links {
        grid-template-columns: 1fr;
        padding: 6px 9px;
    }
}

/* RC.71 signed-out Account widget: compact WordPress-owned login, recovery and registration entry points. */
.hdf-header-account-panel--guest {
    max-height: min(35rem, calc(100dvh - 6rem));
    grid-template-rows: auto minmax(0, 1fr) auto;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
}

.hdf-header-account-panel--guest .hdf-header-account-guest {
    position: sticky;
    z-index: 2;
    top: 0;
}

.hdf-header-account-login-form {
    display: grid;
    gap: 10px;
    padding: 13px 14px 12px;
    background: var(--hdf-engine-color-surface);
}

.hdf-header-account-login-form > label:not(.hdf-auth-honeypot) {
    display: grid;
    gap: 5px;
    color: var(--hdf-engine-color-text);
    font-size: .66rem;
    font-weight: 720;
}

.hdf-header-account-login-form input[type="text"],
.hdf-header-account-login-form input[type="password"] {
    width: 100%;
    min-width: 0;
    min-height: 39px;
    padding: 8px 10px;
    border: 1px solid var(--hdf-engine-color-border);
    border-radius: var(--hdf-engine-radius-md, .625rem);
    background: var(--hdf-engine-color-surface);
    color: var(--hdf-engine-color-text);
    font: inherit;
    font-size: .72rem;
    font-weight: 520;
}

.hdf-header-account-login-form input:focus {
    border-color: var(--hdf-engine-color-primary-strong);
    outline: 2px solid color-mix(in srgb, var(--hdf-engine-color-primary-strong) 20%, transparent);
}

.hdf-header-account-password {
    position: relative;
    display: grid;
}

.hdf-header-account-password button {
    width: 32px;
    min-width: 32px;
    min-height: 32px;
    padding: 0;
}

.hdf-header-account-password [data-hdf-password-icon],
.hdf-header-account-password .hdf-auth-password-icon {
    display: inline-grid;
    width: 17px;
    height: 17px;
    place-items: center;
}

.hdf-header-account-password [data-hdf-password-icon][hidden] {
    display: none;
}

.hdf-header-account-password .hdf-auth-password-icon {
    width: 17px;
    height: 17px;
}

.hdf-header-account-password input {
    padding-right: 44px !important;
}

.hdf-header-account-login-form__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--hdf-engine-color-text-muted);
    font-size: .64rem;
}

.hdf-header-account-login-form__meta > label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hdf-header-account-login-form__meta input {
    width: 15px;
    height: 15px;
    accent-color: var(--hdf-engine-color-primary-strong);
}

.hdf-header-account-login-form__meta a,
.hdf-header-account-guest-links a {
    color: var(--hdf-engine-color-primary-strong);
    font-weight: 720;
    text-decoration: none;
}

.hdf-header-account-login-submit {
    width: 100%;
    min-height: 40px;
    cursor: pointer;
}

.hdf-header-account-guest-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 12px;
    padding: 10px 14px 12px;
    border-top: 1px solid var(--hdf-engine-color-border-subtle);
    background: var(--hdf-engine-color-surface-subtle);
    font-size: .66rem;
}

@media (max-width: 380px) {
    .hdf-header-account-login-form__meta,
    .hdf-header-account-guest-links {
        align-items: flex-start;
        flex-direction: column;
    }
}

.hdf-header-account-password button {
    position: absolute;
    top: 50%;
    right: 6px;
    min-width: 46px;
    min-height: 29px;
    padding: 3px 7px;
    border: 0;
    border-radius: var(--hdf-engine-radius-sm, 6px);
    background: var(--hdf-engine-color-surface-subtle);
    color: var(--hdf-engine-color-primary-strong);
    cursor: pointer;
    font: inherit;
    font-size: .62rem;
    font-weight: 750;
    transform: translateY(-50%);
}

.hdf-header-account-password button:hover,
.hdf-header-account-password button:focus-visible {
    background: var(--hdf-engine-color-surface-selected);
    outline: 2px solid color-mix(in srgb, var(--hdf-engine-color-primary-strong) 35%, transparent);
}




