/* Account page (/paskyra/, /en/account/): logged-out login card and dashboard
   chrome. The card markup comes from the apglebk-core plugin and its base rules
   live in blocks.css; everything here is scoped to .ap-account-page. */
.ap-account-page .ap-account-title { margin: 0; }
.ap-account-page .ap-auth-card { max-width: 480px; }
.ap-account-page .ap-auth-field input[type="text"],
.ap-account-page .ap-auth-field input[type="password"] { background: #EFEFEF; }
.ap-account-page .ap-auth-field label,
.ap-account-page .ap-auth-switch { color: #636363; }
.ap-account-page .ap-auth-field input:focus,
.ap-account-page .ap-auth-field input:focus-visible { border-color: #2A6D36; outline: 2px solid #2A6D36; outline-offset: 1px; }
.ap-account-page .ap-auth-remember input { accent-color: #2A6D36; }
.ap-account-page .ap-auth-row a,
.ap-account-page .ap-auth-switch a { color: #2A6D36; }
.ap-account-page .ap-auth-submit {
    background: #2A6D36; box-shadow: none; font-weight: 400; font-size: 1rem; height: 48px; padding: 0;
}
.ap-account-page .ap-auth-submit:hover { background: #23582D; }


@media (max-width: 600px) {
    .ap-account-page > div > div:first-child h1 { font-size: 36px !important; }
}

[data-theme="dark"] .ap-account-page { background: transparent !important; }
[data-theme="dark"] .ap-account-page h1,
[data-theme="dark"] .ap-account-page .ap-auth-card__title,
[data-theme="dark"] .ap-account-page .ap-auth-remember { color: #F8F8F6 !important; }
[data-theme="dark"] .ap-account-page .ap-auth-card__lead,
[data-theme="dark"] .ap-account-page .ap-auth-hint,
[data-theme="dark"] .ap-account-page .ap-auth-field label,
[data-theme="dark"] .ap-account-page .ap-auth-switch { color: #DFDFDF; }
[data-theme="dark"] .ap-account-page .ap-auth-field input[type="text"],
[data-theme="dark"] .ap-account-page .ap-auth-field input[type="password"] { background: #1E293B; border-color: #334155; color: #F8F8F6; }
[data-theme="dark"] .ap-account-page .ap-auth-pwd-toggle { color: #DFDFDF; }
[data-theme="dark"] .ap-account-page .ap-auth-row a,
[data-theme="dark"] .ap-account-page .ap-auth-switch a { color: #D5DF5D; }
[data-theme="dark"] .ap-account-page .ap-auth-switch { border-top-color: #334155; }
[data-theme="dark"] .ap-account-page .ap-dashboard-container { background: #1E293B; border-color: #334155; color: #F8F8F6; }

/* ==========================================================================
   Round 3: login / register / account.
   Figma lt-login uses Inter (title 700 28/34, lead 14, links 500) and Roboto
   (labels 14/20 #21272A, inputs 16 #697077, hints 12/17, buttons 500 16).
   Roboto is not loaded by the theme (functions.php font URL); the stack falls
   back to Inter, which is. The inline styles in patterns/page-prisijungti.php
   are overridden here with !important.
   ========================================================================== */
.ap-account-page .ap-auth-card__title {
    font-family: Inter, var(--font-body), sans-serif !important;
    font-weight: 700 !important; font-size: clamp(28px, 3.2vw, 40px) !important; line-height: 1.2 !important; color: #121619;
}
.ap-account-page .ap-auth-card__lead { font-family: Inter, var(--font-body), sans-serif; font-weight: 400; font-size: 14px !important; line-height: 17px !important; color: #697077 !important; }
.ap-account-page .ap-auth-field label { font-family: Roboto, Inter, sans-serif; font-weight: 400 !important; font-size: 14px !important; line-height: 20px; color: #21272A !important; }
.ap-account-page .ap-auth-field input[type="text"],
.ap-account-page .ap-auth-field input[type="password"] {
    font-family: Roboto, Inter, sans-serif; font-weight: 400; font-size: 16px !important; color: #21272A;
    background: #EFEFEF !important; border: 0 !important; border-bottom: 1px solid #8D8D8D !important; border-radius: 0 !important;
}
.ap-account-page .ap-auth-field input::placeholder { color: #697077; opacity: 1; }
.ap-account-page .ap-auth-hint { font-family: Roboto, Inter, sans-serif; font-size: 12px !important; line-height: 17px; color: #697077 !important; }
.ap-account-page .ap-auth-remember { font-family: Roboto, Inter, sans-serif; font-size: 14px; font-weight: 400; }
.ap-account-page .ap-auth-row a { font-family: Inter, var(--font-body), sans-serif; font-weight: 500 !important; font-size: 14px; color: #2A6D36 !important; }
.ap-account-page .ap-auth-submit { font-family: Roboto, Inter, sans-serif !important; font-weight: 500 !important; font-size: 16px !important; }
.ap-account-page .ap-auth-switch { font-family: Inter, var(--font-body), sans-serif; font-size: 14px !important; color: #21272A; }
.ap-account-page .ap-auth-switch a { font-weight: 700; color: #2A6D36 !important; }

/* ==========================================================================
   Logged-in dashboard (.apd*) -- Figma "Paskyra" mobile frames, scaled up for
   desktop. Markup: plugins/apglebk-core/src/User/AccountDashboard.php.
   ========================================================================== */
.ap-account-page .screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.apd { --apd-green: #2A6D36; --apd-card: #FFFFFF; --apd-line: #DFDFDF; --apd-field: #EFEFEF; --apd-text: #080808; --apd-muted: #636363; --apd-head: #0F2613;
    font-family: var(--font-body); color: var(--apd-text); display: grid; grid-template-columns: 1fr; gap: 28px; padding-top: 0; }
.apd *, .apd *::before, .apd *::after { box-sizing: border-box; }
.apd [hidden] { display: none !important; }
.apd__nav { display: flex; flex-direction: column; align-items: center; gap: 13px; }
.apd-tabs { display: contents; }
.apd-pill { display: flex; align-items: center; justify-content: center; width: 181px; height: 49px; padding: 0 12px; border-radius: 999px; border: 0; background: #FFFFFF; color: var(--apd-green);
    font-family: var(--font-heading); font-weight: 400; font-size: 16px; line-height: 22px; text-decoration: none; cursor: pointer; box-shadow: none; }
.apd-pill:hover { background: #F7F7F2; }
.apd-pill.is-active, .apd-pill.is-active:hover { background: var(--apd-green); color: #FFFFFF; }
.apd a:focus-visible, .apd button:focus-visible, .apd input:focus-visible, .apd summary:focus-visible { outline: 2px solid var(--apd-green); outline-offset: 2px; }
.apd__main { width: 100%; max-width: 402px; margin: 0 auto; padding: 0 22px; min-width: 0; }
.apd .apd-h { font-family: var(--font-heading); font-weight: 500 !important; font-size: 20px !important; line-height: 28px !important; color: var(--apd-text); margin: 0 0 18px; }
.apd .apd-h--sub { margin-top: 40px; }
.apd .apd-h--big { font-weight: 600 !important; font-size: 28px !important; line-height: 35px !important; color: var(--apd-head); }
.apd-lead { color: var(--apd-muted); font-size: 14px; line-height: 21px; margin: 0 0 24px; }
.apd-muted { color: var(--apd-muted); }
.apd-card { background: var(--apd-card); border: 1px solid var(--apd-line); border-radius: 20px; }
.apd-profile { padding: 16px; }
.apd-profile__head { display: flex; align-items: center; gap: 16px; }
.apd-avatar { flex: none; width: 64px; height: 64px; border-radius: 50%; background: var(--apd-green); color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-weight: 500; font-size: 26px; }
.apd-profile__who { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.apd-profile__who strong { font-weight: 600; font-size: 16px; line-height: 22px; overflow-wrap: anywhere; }
.apd-profile__who span { color: var(--apd-muted); font-size: 13px; line-height: 18px; overflow-wrap: anywhere; }
.apd-rule { border: 0; border-top: 1px solid var(--apd-line); margin: 16px 0; }
.apd-field { margin-bottom: 14px; }
.apd-field label, .apd-label, .apd-pw__body label { display: block; color: var(--apd-muted); font-size: 12px; line-height: 16px; margin: 0 0 6px; font-weight: 400; }
.apd-field input, .apd-pw__body input { width: 100%; height: 44px; padding: 0 12px; border: 0; border-radius: 10px; background: var(--apd-field); color: var(--apd-text); font-family: var(--font-body); font-size: 14px; box-shadow: none; }
.apd-field small { display: block; margin-top: 6px; color: var(--apd-muted); font-size: 12px; line-height: 16px; }
.apd-pw summary { list-style: none; display: flex; align-items: center; justify-content: space-between; height: 44px; padding: 0 12px; border-radius: 10px; background: var(--apd-field); cursor: pointer; }
.apd-pw summary::-webkit-details-marker { display: none; }
.apd-pw__dots { letter-spacing: 2px; font-size: 12px; }
.apd-pw__edit { color: var(--apd-green); font-family: var(--font-heading); font-weight: 500; font-size: 14px; }
.apd-pw[open] summary { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.apd-pw__body { padding: 12px; background: var(--apd-field); border-radius: 0 0 10px 10px; border-top: 1px solid var(--apd-line); display: flex; flex-direction: column; gap: 4px; }
.apd-pw__body input { background: #FFFFFF; margin-bottom: 8px; }
.apd-hint { color: var(--apd-muted); font-size: 12px; line-height: 17px; margin: 0 0 8px; }
.apd-link { background: none; border: 0; padding: 0; color: var(--apd-green); font-family: var(--font-heading); font-weight: 500; font-size: 14px; text-decoration: underline; cursor: pointer; align-self: flex-start; }
.apd-pending { background: #F7D0BD; border-radius: 10px; padding: 12px; margin-bottom: 14px; color: #542113; font-size: 13px; line-height: 18px; }
.apd-pending p { margin: 0 0 6px; overflow-wrap: anywhere; }
.apd-pending .apd-link { color: #542113; }
.apd-check { display: flex; align-items: flex-start; gap: 12px; margin: 18px 0 20px; cursor: pointer; }
.apd-check input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--apd-green); }
.apd-check strong { display: block; font-weight: 500; font-size: 14px; line-height: 20px; }
.apd-check small { display: block; color: var(--apd-muted); font-size: 12px; line-height: 17px; }
.apd-btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 2px solid var(--apd-green); background: var(--apd-green); color: #FFFFFF;
    font-family: var(--font-heading); font-weight: 500; font-size: 16px; line-height: 22px; text-decoration: none; cursor: pointer; box-shadow: none; }
.apd-btn:hover { background: #23582D; border-color: #23582D; }
.apd-btn--outline { background: transparent; color: var(--apd-green); }
.apd-btn--outline:hover { background: var(--apd-green); color: #FFFFFF; }
.apd-btn--sm { min-height: 40px; font-size: 14px; }
/* saved */
.apd-filters { display: none; gap: 8px; margin: 0 0 22px; flex-wrap: nowrap; }
.has-js .apd-filters { display: flex; }
.apd-chip { flex: 1 1 0; min-width: 0; height: 34px; padding: 0 8px; border-radius: 999px; border: 2px solid var(--apd-green); background: transparent; color: var(--apd-green); font-family: var(--font-heading); font-weight: 500; font-size: 14px; cursor: pointer; box-shadow: none; }
.apd-chip.is-active { background: var(--apd-green); color: #FFFFFF; }
.apd-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.apd-card--item { overflow: hidden; display: flex; flex-direction: column; border-radius: 16px; }
.apd-card__img { display: block; aspect-ratio: 358 / 160; background: #D1DCFA; overflow: hidden; }
.apd-card__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.apd-card__ph { display: block; width: 100%; height: 100%; background: #D1DCFA; }
.apd-card__body { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px; flex: 1; }
.apd-card__body--col { flex-direction: column; align-items: stretch; justify-content: space-between; }
.apd-card__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; color: var(--apd-text); text-decoration: none; }
.apd-card__title { font-weight: 500; font-size: 14px; line-height: 20px; overflow-wrap: anywhere; }
.apd-card__meta { color: var(--apd-muted); font-size: 13px; line-height: 18px; }
.apd-unsave { flex: none; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border: 0; background: transparent; color: var(--apd-text); cursor: pointer; border-radius: 50%; padding: 0; }
.apd-unsave:hover { background: var(--apd-field); }
.apd-unsave:disabled { opacity: .4; }
.apd-empty { padding: 24px 16px; text-align: center; background: var(--apd-card); border: 1px dashed var(--apd-line); border-radius: 16px; }
.apd-empty p { margin: 0 0 14px; color: var(--apd-muted); font-size: 14px; }
.apd-empty .apd-btn { width: auto; display: inline-flex; }
/* history */
.apd-history { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.apd-hrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 12px 14px; background: var(--apd-card); border: 1px solid var(--apd-line); border-radius: 14px; align-items: start; }
.apd-hrow__title { grid-column: 1; font-weight: 500; font-size: 14px; line-height: 20px; color: var(--apd-text); text-decoration: none; overflow-wrap: anywhere; }
.apd-status { grid-column: 2; grid-row: 1; justify-self: end; padding: 2px 10px; border-radius: 999px; background: #D5DF5D; color: #0F2613; font-family: var(--font-heading); font-weight: 500; font-size: 12px; line-height: 18px; white-space: nowrap; }
.apd-status--cancelled, .apd-status--canceled { background: var(--apd-field); color: var(--apd-muted); }
.apd-hrow__meta { grid-column: 1 / -1; color: var(--apd-muted); font-size: 13px; line-height: 18px; }
/* community */
.apd-find { padding: 16px; }
.apd .apd-find h3 { font-family: var(--font-heading); font-weight: 500; font-size: 16px !important; line-height: 22px !important; margin: 0 0 14px; }
.apd-social { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.apd-soc { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; border-radius: 12px; background: var(--apd-field); color: var(--apd-text); text-decoration: none; font-weight: 500; font-size: 14px; min-width: 0; }
.apd-soc:hover { background: #E4E4E0; }
.apd-soc svg { flex: none; }
.apd-soc--facebook svg { color: #1877F2; } .apd-soc--whatsapp svg { color: #25D366; } .apd-soc--instagram svg { color: #E4405F; } .apd-soc--youtube svg { color: #FF0000; }

@media (min-width: 700px) {
    .apd__main { max-width: 100%; padding: 0; }
    .apd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .apd-profile { max-width: 560px; padding: 24px; }
    .apd-filters { max-width: 420px; }
    .apd-lead { max-width: 620px; font-size: 16px; line-height: 24px; }
    .apd-find { max-width: 620px; }
    .apd .apd-h--big { font-size: 36px !important; line-height: 44px !important; }
    .apd-history { max-width: 760px; }
}
@media (min-width: 1000px) {
    .apd { grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; }
    .apd__nav { align-items: stretch; position: sticky; top: 100px; }
    .apd-pill { width: 100%; }
    .apd-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .apd .apd-h { font-size: 24px !important; line-height: 32px !important; }
}
[data-theme="dark"] .apd { --apd-card: #1E293B; --apd-line: #334155; --apd-field: #0F172A; --apd-text: #F8F8F6; --apd-muted: #C7CDD8; --apd-head: #F8F8F6; --apd-green: #2A6D36; }
[data-theme="dark"] .apd-pill:not(.is-active) { background: #1E293B; color: #D5DF5D; }
[data-theme="dark"] .apd-pill:not(.is-active):hover { background: #26334A; }
[data-theme="dark"] .apd-chip:not(.is-active), [data-theme="dark"] .apd-btn--outline, [data-theme="dark"] .apd-pw__edit, [data-theme="dark"] .apd-link { color: #D5DF5D; }
[data-theme="dark"] .apd-chip, [data-theme="dark"] .apd-btn--outline { border-color: #D5DF5D; }
[data-theme="dark"] .apd-btn--outline:hover { background: #D5DF5D; color: #0F2613; }
[data-theme="dark"] .apd-pw__body input { background: #1E293B; }
[data-theme="dark"] .apd-pending { background: #542113; color: #F7D0BD; }
[data-theme="dark"] .apd-pending .apd-link { color: #F7D0BD; }
[data-theme="dark"] .apd-soc:hover { background: #26334A; }
[data-theme="dark"] .apd a:focus-visible, [data-theme="dark"] .apd button:focus-visible, [data-theme="dark"] .apd input:focus-visible, [data-theme="dark"] .apd summary:focus-visible { outline-color: #D5DF5D; }

/* Phones: Figma uses one 22px gutter. The page wrapper's global padding (41px)
   plus .apd__main's own 22px doubled it, leaving 276px of content at 402. */
@media (max-width: 600px) {
    body.logged-in main.ap-account-page.has-global-padding { padding-left: 22px; padding-right: 22px; }
    body.logged-in .apd__main { padding-left: 0; padding-right: 0; }
}
/* History rows: status on its own line above the title so long titles keep the full width. */
.apd-hrow { grid-template-columns: minmax(0, 1fr); }
.apd-status { grid-column: 1; grid-row: 1; justify-self: start; }
.apd-hrow__title { grid-row: 2; }


/* ==========================================================================
   Logged-out auth screens (patterns/page-prisijungti.php): login, register and
   forgot-password share one column (.apx-*). Figma mobile: 292px column in a
   402px frame, Inter headings, Roboto fields, 48px pill buttons.
   ========================================================================== */
.apx-split { display: grid; grid-template-columns: 1fr 1.15fr; }
#authSplitLayout.apx-split { padding: 0 !important; margin: 0 !important; }
.apx-photo { position: relative; background-size: cover; background-position: center; min-height: 720px; }
.apx-photo__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.3) 0%, rgba(0,0,0,0) 60%); }
.apx-col { box-sizing: border-box; width: 100%; max-width: 400px; margin: 0 auto; padding: 64px 0 0; display: flex; flex-direction: column; justify-content: flex-start;
    font-family: Roboto, Inter, sans-serif; color: #21272A; }
.apx-split--forgot .apx-col { padding-top: 96px; }
/* mode switching: both variants are in the markup, the data-mode attribute picks one */
.apx-col[data-mode="login"] .apx-m-register, .apx-col[data-mode="register"] .apx-m-login { display: none !important; }
.apx-title { font-family: Inter, var(--font-body), sans-serif !important; font-weight: 700 !important; font-size: 28px !important; line-height: 34px !important; color: #121619 !important; margin: 0 0 8px !important; letter-spacing: 0; }
.apx-lead { font-family: Inter, var(--font-body), sans-serif; font-size: 14px; line-height: 17px; color: #697077; margin: 0 0 18px; }
.apx-form { display: flex; flex-direction: column; gap: 16px; margin: 0; }
.apx-field label { display: block; font-family: Roboto, Inter, sans-serif; font-size: 14px; line-height: 20px; font-weight: 400; color: #21272A; margin: 0 0 8px; }
.apx-field input[type="text"], .apx-field input[type="password"] {
    display: block; width: 100%; height: 48px; box-sizing: border-box; padding: 0 16px; margin: 0;
    font-family: Roboto, Inter, sans-serif; font-size: 16px; font-weight: 400; color: #21272A;
    background: #F2F4F8; border: 0; border-bottom: 1px solid #8D8D8D; border-radius: 0; outline: none; box-shadow: none; }
.apx-field input::placeholder { color: #697077; opacity: 1; }
.apx-pw { position: relative; }
.apx-pw input { background: #FFFFFF !important; border: 1px solid #8D8D8D !important; padding-right: 48px !important; }
.apx-eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: 0; padding: 6px; color: #636363; cursor: pointer; display: flex; }
.apx-hint { font-family: Roboto, Inter, sans-serif; font-size: 12px; line-height: 17px; color: #697077; margin-top: 6px; letter-spacing: -.015em; }
.apx-field input:focus-visible, .apx-eye:focus-visible, .apx-btn:focus-visible, .apx-ulink:focus-visible, .apx-back:focus-visible, .apx-check input:focus-visible { outline: 2px solid #2A6D36; outline-offset: 2px; }
.apx-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
.apx-check { display: inline-flex; align-items: center; gap: 10px; font-family: Roboto, Inter, sans-serif; font-size: 14px; line-height: 20px; color: #080808; cursor: pointer; }
.apx-check input { appearance: none; -webkit-appearance: none; flex: none; width: 17px; height: 17px; margin: 0 0 0 2px; border: 1.5px solid #080808; border-radius: 2px; background: #FFFFFF; display: grid; place-content: center; cursor: pointer; }
.apx-check input:checked { background: #2A6D36; border-color: #2A6D36; }
.apx-check input:checked::after { content: ""; width: 9px; height: 5px; border-left: 2px solid #FFFFFF; border-bottom: 2px solid #FFFFFF; transform: rotate(-45deg) translate(1px,-1px); }
.apx-check a { color: #2A6D36; text-decoration: underline; font-weight: 500; }
.apx-ulink, .apx-back { color: #2A6D36; text-decoration: underline; text-underline-offset: 2px; font-family: Inter, var(--font-body), sans-serif; font-weight: 500; font-size: 14px; }
.apx-btn { display: flex; align-items: center; justify-content: center; gap: 12px; box-sizing: border-box; width: 100%; height: 48px; padding: 0; margin-top: 8px;
    border-radius: 999px; border: 1px solid #2A6D36; background: #2A6D36; color: #FFFFFF; cursor: pointer; text-decoration: none; box-shadow: none;
    font-family: Roboto, Inter, sans-serif; font-weight: 500; font-size: 16px; line-height: 16px; letter-spacing: .4px; transition: background .15s, color .15s; }
.apx-btn:hover { background: #23582D; color: #FFFFFF; }
.apx-btn--outline { background: transparent; color: #2A6D36; margin-top: 0; }
.apx-btn--outline:hover { background: #2A6D36; color: #FFFFFF; }
.apx-or { display: flex; align-items: center; gap: 12px; margin: 32px 0 32px; font-family: Roboto, Inter, sans-serif; font-size: 12px; color: #636363; }
.apx-or::before, .apx-or::after { content: ""; flex: 1; height: 1px; background: #DFDFDF; }
.apx-switch { margin: 32px 0 0; text-align: center; font-family: Inter, var(--font-body), sans-serif; font-size: 14px; line-height: 20px; color: #21272A; }
.apx-switch .apx-ulink { font-weight: 700; }
.apx-card { background: #FFFFFF; border: 1px solid #DFDFDF; border-radius: 20px; padding: 24px; }
.apx-card .apx-title { font-size: 24px !important; line-height: 28px !important; margin-bottom: 8px !important; }
.apx-card .apx-lead { margin-bottom: 26px; }
.apx-card .apx-form { gap: 0; }
.apx-card .apx-btn { margin-top: 24px; }
.apx-back { display: block; text-align: center; margin-top: 32px; font-weight: 700; }
.apx-col .ap-notice { margin: 0 0 16px !important; font-size: 14px !important; border-radius: 12px; }

@media (max-width: 900px) {
    .apx-split { grid-template-columns: 1fr; }
    .apx-photo { display: none; }
    .apx-col { max-width: 292px; padding-top: 15px; }
    .apx-col[data-mode="login"]:not(:has(.apx-forgot)) { padding-top: 26px; }
    .apx-split--forgot .apx-col { max-width: 308px; padding-top: 111px; }
}
@media (min-width: 901px) {
    .apx-title { font-size: clamp(28px, 2.6vw, 36px) !important; line-height: 1.2 !important; }
}
@media (max-width: 440px) { .apx-split--forgot .apx-col { margin-left: 0; } }

[data-theme="dark"] .apx-col { color: #F8F8F6; }
[data-theme="dark"] .apx-title { color: #F8F8F6 !important; }
[data-theme="dark"] .apx-lead, [data-theme="dark"] .apx-hint, [data-theme="dark"] .apx-or { color: #DFDFDF; }
[data-theme="dark"] .apx-field label, [data-theme="dark"] .apx-check, [data-theme="dark"] .apx-switch { color: #F8F8F6; }
[data-theme="dark"] .apx-field input[type="text"], [data-theme="dark"] .apx-field input[type="password"] { background: #1E293B !important; color: #F8F8F6; border-color: #636363 !important; }
[data-theme="dark"] .apx-field input::placeholder { color: #9E9E9E; }
[data-theme="dark"] .apx-eye { color: #DFDFDF; }
[data-theme="dark"] .apx-check input { background: #1E293B; border-color: #DFDFDF; }
[data-theme="dark"] .apx-check input:checked { background: #D5DF5D; border-color: #D5DF5D; }
[data-theme="dark"] .apx-check input:checked::after { border-color: #0F2613; }
[data-theme="dark"] .apx-ulink, [data-theme="dark"] .apx-back, [data-theme="dark"] .apx-check a { color: #D5DF5D; }
[data-theme="dark"] .apx-btn { background: #D5DF5D; border-color: #D5DF5D; color: #0F2613; }
[data-theme="dark"] .apx-btn:hover { background: #E4EC8A; color: #0F2613; }
[data-theme="dark"] .apx-btn--outline { background: transparent; color: #D5DF5D; }
[data-theme="dark"] .apx-btn--outline:hover { background: #D5DF5D; color: #0F2613; }
[data-theme="dark"] .apx-or::before, [data-theme="dark"] .apx-or::after { background: #334155; }
[data-theme="dark"] .apx-card { background: #1E293B; border-color: #334155; }
[data-theme="dark"] .apx-split, [data-theme="dark"] .apx-col { background: transparent; }
[data-theme="dark"] main.ap-page:has(.apx-split) { background: transparent !important; }
