.tml-dashboard {
    display: flex;
    gap: var(--wp--preset--spacing--40);
    justify-content: flex-end;
}
.tml-dashboard > * {
    margin: 0;
}
.tml-dashboard-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.tml-dashboard-avatar img {
    height: 1em;
    width: auto;
}

.tml {
    --flr-login-bg: color-mix(in srgb, var(--wp--preset--color--base, #fff) 88%, transparent);
    --flr-login-border: color-mix(in srgb, var(--wp--preset--color--contrast, #1d1d1b) 14%, transparent);
    --flr-login-accent: var(--wp--preset--color--accent, #b78b50);

    width: min(100%, 30rem);
    padding: clamp(1.25rem, 4vw, 2rem);
}

.tml form {
    display: grid;
    gap: 1rem;
    margin: 0;
}

.tml .tml-field-wrap {
    display: grid;
    gap: 0.45rem;
    margin: 0;
}

.tml .tml-label {
    font-size: 0.9rem;
    font-weight: 650;
    line-height: 1.35;
}

.tml .tml-field {
    width: 100%;
    min-height: 3rem;
    padding: 0.75rem 0.95rem;
    border: 1px solid var(--flr-login-border);
    border-radius: 0.8rem;
    background: var(--wp--preset--color--base, #fff);
    color: var(--wp--preset--color--contrast, #1d1d1b);
    font: inherit;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.tml .tml-field:focus {
    border-color: var(--flr-login-accent);
    outline: none;
}

.tml .tml-rememberme-wrap {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-block: 0.15rem;
}

.tml .tml-checkbox {
    width: 1.15rem;
    height: 1.15rem;
    margin: 0;
    accent-color: var(--flr-login-accent);
}

.tml .tml-rememberme-wrap .tml-label {
    color: var(--wp--preset--color--contrast, #1d1d1b);
    font-weight: 500;
}

.tml .tml-button {
    width: 100%;
    padding: 0.85rem 1.2rem;
    border: 0;
    border-radius: 999px;
    background: var(--flr-login-accent);
    color: var(--wp--preset--color--base, #fff);
    font-size: var(--wp--preset--font-size--md);
    font-family: inherit;
}

.tml .tml-button:focus-visible {
    outline: 0.2rem solid var(--flr-login-accent);
    outline-offset: 0.2rem;
}

.tml .tml-links {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 1.1rem 0 0;
    padding: 0;
}

.tml .tml-links a {
    color: var(--wp--preset--color--contrast);
    text-underline-offset: 0.22em;
}

.tml .tml-links a:hover,
.tml .tml-links a:focus-visible {
    color: var(--wp--preset--color--contrast);
}

.tml .tml-alerts:not(:empty) {
    margin-bottom: 1rem;
}

