/* ============================================================
   Auth surfaces — additions layered on top of app.css.
   Loaded AFTER app.css so ties here win.
   ============================================================ */

/* ---- Single-card auth pages (outcome/confirmation screens) ----
   The entry pages (login/register/forgot) use the two-column
   hero+card grid; outcome pages center one card and carry their
   own title + brand mark since there is no hero column. */
.gsf-auth-grid--single {
    max-width: 520px;
}

.gsf-auth-grid--single .gsf-auth-card__header {
    text-align: center;
    border-bottom: none;
    padding-top: 4px;
    padding-bottom: 8px;
}

/* Compact brand row — replaces the old 90px halo so outcome pages keep their
   primary action above the fold on 667px phones. */
.gsf-auth-card__brandrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 18px 20px 0;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .02em;
    color: rgba(255,255,255,.85);
}

.gsf-auth-card__brandrow-logo {
    height: 22px;
    width: 22px;
    object-fit: contain;
}

@media (min-width: 992px) {
    .gsf-auth-grid--single {
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: calc(100vh - 260px);
        padding-top: 24px;
    }

    .gsf-auth-page .gsf-auth-grid--single .gsf-auth-card--entry {
        max-width: 480px;
        margin: 0 auto;
    }

    /* No hero on these pages — keep the in-card title visible. */
    .gsf-auth-page .gsf-auth-grid--single .gsf-auth-card__header {
        display: block;
    }
}

/* ---- Alerts, dark-theme native ----
   Thin accent stripe + tinted icon on a neutral dark fill; replaces
   Bootstrap's light alert fills on every auth/account surface. */
.gsf-auth-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    margin-bottom: 14px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255,255,255,.82);
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-left-width: 3px;
    border-left-color: var(--gsf-primary, #3bc96b);
}

.gsf-auth-alert > i {
    margin-top: 1px;
    flex: 0 0 auto;
}

.gsf-auth-alert--info { border-left-color: #4dabf7; }
.gsf-auth-alert--info > i { color: #4dabf7; }

.gsf-auth-alert--success { border-left-color: var(--gsf-primary, #3bc96b); }
.gsf-auth-alert--success > i { color: var(--gsf-primary, #3bc96b); }

.gsf-auth-alert--warning { border-left-color: #ffd43b; }
.gsf-auth-alert--warning > i { color: #ffd43b; }

.gsf-auth-alert--danger { border-left-color: #ff6b6b; }
.gsf-auth-alert--danger > i { color: #ff6b6b; }

.gsf-auth-alert ul {
    margin: 0;
    padding-left: 16px;
}

/* ---- Outcome badge ----
   Big status glyph for confirmation/outcome pages. */
.gsf-auth-outcome {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: 2px auto 14px;
    border-radius: 50%;
    font-size: 26px;
    background: rgba(59,201,107,.12);
    color: var(--gsf-primary, #3bc96b);
}

.gsf-auth-outcome--danger {
    background: rgba(255,107,107,.12);
    color: #ff6b6b;
}

.gsf-auth-outcome--warning {
    background: rgba(255,212,59,.12);
    color: #ffd43b;
}

/* ---- Small helpers ---- */
.gsf-auth-field__help {
    margin: 2px 0 0;
    font-size: 12px;
    color: var(--gsf-muted-2, rgba(255,255,255,.55));
}

/* ---- One-time code input (2FA login) ----
   Big, centered, digit-spaced: this screen exists for exactly one value. */
.gsf-auth-page .gsf-auth-field__input.gsf-auth-code {
    font-size: 24px !important;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    letter-spacing: 8px;
    text-align: center;
    min-height: 54px !important;
}

.gsf-auth-page .gsf-auth-field__input.gsf-auth-code::placeholder {
    letter-spacing: 8px;
    font-size: 24px !important;
    color: rgba(255,255,255,.25) !important;
}

/* ---- Desktop hero proof strip (AuthHeroHighlights) ----
   Lives inside .gsf-auth-hero, which is desktop-only already. */
.gsf-auth-hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 14px;
}

.gsf-auth-hero__stat {
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 11.5px;
    color: rgba(255,255,255,.75);
    background: rgba(255,255,255,.03);
    white-space: nowrap;
}

.gsf-auth-hero__stat b {
    color: #7fd6a0;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.gsf-auth-hero__season {
    border: 1px solid rgba(92,208,122,.25);
    border-left: 3px solid var(--gsf-primary, #3bc96b);
    background: rgba(59,201,107,.07);
    border-radius: 10px;
    padding: 10px 13px;
    font-size: 12.5px;
    line-height: 1.5;
    color: rgba(255,255,255,.8);
    margin: 0 0 14px;
    max-width: 420px;
}

/* ---- Remember-me row (Login + LoginWith2fa) ---- */
.gsf-auth-actions {
    margin: 14px 0;
}

.gsf-auth-actions--remember {
    margin-top: 8px;
    margin-bottom: 16px;
}

.gsf-auth-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255,255,255,.75);
    cursor: pointer;
}

/* ---- Caps-lock hint (injected by site.js on password fields) ---- */
.gsf-caps-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    font-size: 12px;
    color: #ffd43b;
}

/* ---- Password strength meter (Register / ResetPassword) ---- */
.gsf-pw-meter {
    display: flex;
    gap: 5px;
    margin-top: 7px;
}

.gsf-pw-meter span {
    flex: 1;
    height: 4px;
    border-radius: 2px;
    background: rgba(255,255,255,.12);
    transition: background .2s ease;
}

.gsf-pw-meter--1 span:nth-child(-n+1),
.gsf-pw-meter--2 span:nth-child(-n+2) {
    background: var(--gsf-accent-warm, #f2b25b);
}

.gsf-pw-meter--3 span:nth-child(-n+3),
.gsf-pw-meter--4 span:nth-child(-n+4) {
    background: var(--gsf-primary, #3bc96b);
}

/* ---- "Check spam" notice, collapsed by default ----
   Full guidance one tap away instead of a permanent 5-line block. */
.gsf-auth-spam {
    margin-bottom: 14px;
}

.gsf-auth-spam summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 9px 12px;
    border: 1px dashed rgba(255,255,255,.16);
    border-radius: 10px;
    background: rgba(255,255,255,.02);
    color: rgba(255,255,255,.7);
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
}

.gsf-auth-spam summary::-webkit-details-marker {
    display: none;
}

.gsf-auth-spam summary:hover {
    background: rgba(255,255,255,.04);
}

.gsf-auth-spam__chevron {
    transition: transform .15s ease;
    color: rgba(255,255,255,.45);
}

.gsf-auth-spam[open] .gsf-auth-spam__chevron {
    transform: rotate(90deg);
}

.gsf-auth-spam__body {
    margin-top: 8px;
    padding: 2px 4px 0;
    font-size: 12.5px;
    line-height: 1.5;
    color: rgba(255,255,255,.7);
}

/* ---- External providers (Continue with Google) ---- */
.gsf-auth-external {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ---- Authenticator setup (2FA) ---- */
.gsf-2fa-qr {
    display: block;
    width: 180px;
    height: 180px;
    margin: 0 auto 10px;
    padding: 8px;
    border-radius: 12px;
    background: #fff;
}

.gsf-2fa-key {
    display: block;
    text-align: center;
    margin: 0 0 4px;
    padding: 9px 12px;
    border-radius: 10px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    font-family: Consolas, Menlo, monospace;
    font-size: 13px;
    letter-spacing: 1px;
    color: rgba(255,255,255,.9);
    overflow-wrap: anywhere;
}

.gsf-2fa-steps {
    padding-left: 18px;
    margin: 0 0 4px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-size: 13px;
    color: rgba(255,255,255,.8);
}

.gsf-recovery-codes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0 0 14px;
}

.gsf-recovery-codes code {
    display: block;
    text-align: center;
    padding: 8px 6px;
    border-radius: 8px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    font-size: 13px;
    color: rgba(255,255,255,.92);
}

/* ---- Account settings: profile summary rows ---- */
.gsf-account-summary {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    background: rgba(255,255,255,.03);
}

.gsf-account-summary__row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 10px;
    padding: 10px 12px;
}

.gsf-account-summary__row + .gsf-account-summary__row {
    border-top: 1px solid rgba(255,255,255,.06);
}

.gsf-account-summary__label {
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 600;
    color: var(--gsf-muted-2, rgba(255,255,255,.6));
    min-width: 120px;
}

.gsf-account-summary__value {
    flex: 1 1 auto;
    font-size: 14px;
    color: rgba(255,255,255,.9);
    /* Long emails wrap, normal words don't get split mid-word. */
    overflow-wrap: anywhere;
}

.gsf-account-summary__action {
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 600;
    color: var(--gsf-primary, #3bc96b);
    text-decoration: none;
}

.gsf-account-summary__action:hover {
    text-decoration: underline;
    color: var(--gsf-primary, #3bc96b);
}

.gsf-account-badge {
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    vertical-align: middle;
    white-space: nowrap;
}

.gsf-account-badge--ok {
    color: var(--gsf-primary, #3bc96b);
    background: rgba(59,201,107,.12);
}

.gsf-account-badge--warn {
    color: #ffd43b;
    background: rgba(255,212,59,.12);
}

/* ---- Danger actions (delete account) ---- */
.gsf-account-danger-btn {
    border-radius: 12px;
    border: 1px solid rgba(255,107,107,.4);
    color: #ff8787;
    background: transparent;
    font-weight: 600;
}

.gsf-account-danger-btn:hover,
.gsf-account-danger-btn:focus-visible {
    border-color: rgba(255,107,107,.7);
    background: rgba(255,107,107,.1);
    color: #ffa8a8;
}

.gsf-account-danger-btn--solid {
    border-radius: 12px;
    font-weight: 600;
    background: #c92a2a;
    border-color: #c92a2a;
}

.gsf-account-danger-btn--solid:hover,
.gsf-account-danger-btn--solid:focus-visible {
    background: #a51111;
    border-color: #a51111;
}

/* Email callout on "check your inbox" pages */
.gsf-auth-email-pill {
    display: block;
    text-align: center;
    margin: 0 0 14px;
    padding: 9px 12px;
    border-radius: 10px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,.9);
    word-break: break-all;
}

/* ===== Email & location (Account/Manage/Notifications) ===== */
.gsf-notif-heading {
    font-size: 1rem;
    font-weight: 600;
    color: #e8f5e9;
    margin: 0 0 10px;
}

.gsf-notif-heading i {
    color: #4ade80;
}

.gsf-notif-search {
    display: flex;
    gap: 8px;
}

.gsf-notif-search .gsf-input {
    flex: 1;
    min-width: 0;
}

.gsf-notif-candidates {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.gsf-notif-candidate {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 10px;
    background: rgba(255,255,255,.03);
    font-size: 14px;
    color: rgba(255,255,255,.85);
    cursor: pointer;
}

.gsf-notif-candidate:hover {
    border-color: rgba(74,222,128,.5);
}

.gsf-notif-divider {
    border-color: rgba(255,255,255,.08);
    margin: 22px 0 18px;
}

.gsf-notif-prefs {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gsf-notif-pref {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: rgba(255,255,255,.85);
    cursor: pointer;
}

.gsf-notif-pref input {
    margin-top: 3px;
}

.gsf-notif-pref--master {
    padding: 10px 12px;
    border: 1px solid rgba(255,255,255,.09);
    border-left: 3px solid rgba(74,222,128,.55);
    border-radius: 10px;
    background: rgba(255,255,255,.03);
}

/* ============================================================
   Account settings shell (2026-07 redesign) — settings left the
   login card. GsfPageHeader identity band up top, grouped rail +
   content pane on desktop, hub list + back links on phones.
   ============================================================ */

/* The whole settings area caps at mockup width and centers — the app shell
   allows 1920px and a settings page floating left in that field reads as
   unfinished on wide monitors. The second selector out-guns app.css's
   ".gsf-shell.gsf-content > .gsf-page--standard { max-width: none }". */
.gsf-acct-page,
.gsf-shell.gsf-content > .gsf-page--standard.gsf-acct-page {
    max-width: 960px;
    margin-inline: auto;
}

/* Flush slim band, not a card: strip GsfPageHeader's surface chrome (triple
   selector outguns the scoped-CSS attribute selectors regardless of load
   order) and close with a hairline, exactly like the mockup band. */
.gsf-acct-page .gsf-pageheader.gsf-acct-header {
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 6px 0 14px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--gsf-border-soft, rgba(110,140,110,.16));
}

.gsf-acct-page .gsf-pageheader.gsf-acct-header .gsf-pageheader__title {
    font-size: 1.32rem;
    font-weight: 800;
}

/* The m4 band pins at (sticky-top - 42px) so its identity row can slide behind
   the nav while the mode + utility rows stay pinned. This band has ONLY the
   identity row, so that offset hid the title completely and left a bare
   hairline floating over the scrolling content on every settings page.
   auth.css loads after app.css, so this equal-specificity rule wins. */
@media (max-width: 767.98px) {
    .gsf-acct-page .gsf-pageheader.gsf-acct-header {
        top: var(--gsf-mobile-sticky-top);
        margin-bottom: 12px;
    }
}

.gsf-acct-shell {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    max-width: 920px;
}

.gsf-acct-rail {
    flex: 0 0 218px;
    position: sticky;
    top: calc(var(--gsf-desktop-nav-h, 81px) + 16px);
}

.gsf-acct-pane {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 640px;
}

/* The hub is the rail's content as a page — showing both would duplicate it. */
.gsf-acct-shell--hub .gsf-acct-rail { display: none; }
.gsf-acct-shell--hub .gsf-acct-pane { max-width: 720px; }

@media (max-width: 991.98px) {
    .gsf-acct-shell { display: block; }
    .gsf-acct-rail { display: none; }
    .gsf-acct-pane { max-width: none; }
}

/* Back link on section/sub-flow pages: the phone's way home (the rail covers
   desktop, but a quiet back never hurts there either). */
.gsf-acct-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 12px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--gsf-muted-2, rgba(255,255,255,.6));
    text-decoration: none;
}

.gsf-acct-back:hover,
.gsf-acct-back:focus-visible {
    color: var(--gsf-primary, #3bc96b);
}

/* ---- Hub: grouped rows with live values ---- */
.gsf-acct-grouplabel {
    margin: 18px 2px 7px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: rgba(151,196,161,.75);
}

.gsf-acct-grouplabel:first-child { margin-top: 0; }

.gsf-acct-list {
    border: 1px solid var(--gsf-border, rgba(110,140,110,.22));
    border-radius: 16px;
    background: var(--gsf-surface-2, rgba(18,24,18,.6));
    overflow: hidden;
}

.gsf-acct-row {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    padding: 10px 14px;
    color: inherit;
    text-decoration: none;
}

.gsf-acct-row + .gsf-acct-row {
    border-top: 1px solid var(--gsf-border-soft, rgba(110,140,110,.16));
}

.gsf-acct-row:hover,
.gsf-acct-row:focus-visible {
    background: rgba(92,208,122,.07);
    color: inherit;
}

.gsf-acct-row__icon {
    flex: 0 0 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: rgba(120,170,130,.1);
    color: rgba(170,220,180,.9);
    font-size: 15px;
}

.gsf-acct-row__main { flex: 1 1 auto; min-width: 0; }

.gsf-acct-row__title {
    display: block;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}

.gsf-acct-row__hint {
    display: block;
    font-size: 12px;
    color: var(--gsf-muted-2, rgba(255,255,255,.6));
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gsf-acct-row__chev {
    flex: 0 0 auto;
    color: var(--gsf-muted-3, rgba(255,255,255,.45));
    font-size: 13px;
}

.gsf-acct-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    margin-right: 5px;
    vertical-align: 1px;
}

.gsf-acct-dot--on { background: var(--gsf-primary, #3bc96b); }
.gsf-acct-dot--off { background: var(--gsf-accent-warm, #f2b25b); }

/* Desktop hub: the groups tile two-up so the page doesn't read as a phone list. */
@media (min-width: 768px) {
    .gsf-acct-hubgrid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4px 20px;
        align-items: start;
    }
    .gsf-acct-hubgrid > .gsf-acct-grouplabel { margin-top: 18px; }
}

.gsf-acct-signout { margin-top: 20px; }

.gsf-acct-signout button {
    width: 100%;
}

/* Desktop: a full-width sign-out bar under a two-column grid reads as a
   mobile pattern that escaped — content-width there, full-width on phones. */
@media (min-width: 768px) {
    .gsf-acct-signout button { width: auto; }
}

/* ---- Rail (desktop nav) ---- */
.gsf-acct-rail-group {
    margin: 14px 8px 5px;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: rgba(151,196,161,.6);
}

.gsf-acct-rail-group:first-child { margin-top: 2px; }

.gsf-acct-rail-item {
    display: flex;
    align-items: center;
    gap: 9px;
    border-radius: 9px;
    padding: 8px 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gsf-muted, rgba(255,255,255,.62));
    text-decoration: none;
}

.gsf-acct-rail-item i {
    width: 17px;
    text-align: center;
    font-size: 13px;
}

.gsf-acct-rail-item:hover,
.gsf-acct-rail-item:focus-visible {
    color: #fff;
    background: rgba(92,208,122,.08);
}

.gsf-acct-rail-item.active {
    background: rgba(92,208,122,.14);
    color: #dfffe9;
}

/* ---- Section cards (Security / Garden / Data pages) ---- */
.gsf-acct-card {
    border: 1px solid var(--gsf-border, rgba(110,140,110,.22));
    border-radius: 16px;
    background: var(--gsf-surface-2, rgba(18,24,18,.6));
    padding: 16px;
    margin-bottom: 14px;
}

.gsf-acct-card__head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 4px;
}

.gsf-acct-card__title {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
}

.gsf-acct-card__pill {
    margin-left: auto;
    font-size: 10.5px;
    font-weight: 700;
    border-radius: 999px;
    padding: 2px 9px;
    white-space: nowrap;
}

.gsf-acct-card__pill--on { color: var(--gsf-primary, #3bc96b); background: rgba(59,201,107,.12); }
.gsf-acct-card__pill--off { color: var(--gsf-accent-warm, #f2b25b); background: rgba(242,178,91,.13); }

.gsf-acct-card__help {
    font-size: 12.5px;
    color: var(--gsf-muted-2, rgba(255,255,255,.6));
    line-height: 1.5;
    margin: 0 0 12px;
}

.gsf-acct-card .gsf-account-summary { margin-bottom: 12px; }

.gsf-acct-inline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.gsf-acct-inline-actions .btn { flex: 0 0 auto; width: auto; }

.gsf-acct-quietlink {
    display: block;
    text-align: center;
    margin-top: 10px;
    font-size: 12px;
    color: var(--gsf-muted-2, rgba(255,255,255,.6));
}

.gsf-acct-quietlink:hover { color: var(--gsf-primary, #3bc96b); }

/* ---- Toggle rows (Email updates) ----
   The native checkbox stays in the DOM (SSR posts it); the pill is drawn on the
   label. 44px rows, thumb-sized. */
.gsf-acct-togglerow {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 11px 2px;
    min-height: 44px;
    cursor: pointer;
}

.gsf-acct-togglerow + .gsf-acct-togglerow {
    border-top: 1px solid var(--gsf-border-soft, rgba(110,140,110,.16));
}

.gsf-acct-togglerow input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    flex: 0 0 38px;
    width: 38px;
    height: 22px;
    margin: 2px 0 0;
    border-radius: 999px;
    border: none;
    background: rgba(255,255,255,.14);
    position: relative;
    cursor: pointer;
    transition: background .15s ease;
}

.gsf-acct-togglerow input[type="checkbox"]::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(255,255,255,.8);
    transition: transform .15s ease, background .15s ease;
}

.gsf-acct-togglerow input[type="checkbox"]:checked {
    background: var(--gsf-primary, #3bc96b);
}

.gsf-acct-togglerow input[type="checkbox"]:checked::after {
    transform: translateX(16px);
    background: #06230f;
}

.gsf-acct-togglerow input[type="checkbox"]:focus-visible {
    outline: 2px solid var(--gsf-focus-ring, rgba(59,201,107,.35));
    outline-offset: 2px;
}

.gsf-acct-togglerow__main { flex: 1 1 auto; min-width: 0; }

.gsf-acct-togglerow__title {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.35;
}

.gsf-acct-togglerow__hint {
    display: block;
    font-size: 12px;
    color: var(--gsf-muted-2, rgba(255,255,255,.6));
    line-height: 1.45;
}

/* Dependents visually follow the master switch: nothing sends while it's off.
   Progressive enhancement — browsers without :has() just skip the dim. */
.gsf-acct-toggles:has(.gsf-acct-togglerow--master input:not(:checked)) .gsf-acct-togglerow:not(.gsf-acct-togglerow--master) {
    opacity: .45;
}

/* ---- Usage meters (Usage & limits) — request pill replaces the bare text link ---- */
.gsf-ea-meter__request-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 4px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.045);
    color: rgba(255,255,255,.82);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.gsf-ea-meter__request-pill:hover,
.gsf-ea-meter__request-pill:focus-visible {
    border-color: rgba(92,208,122,.4);
    background: rgba(92,208,122,.1);
    color: #fff;
}

.gsf-acct-note-field { margin: 10px 0 4px; }
