:root {
    --pb-color-ink: #092f27;
    --pb-color-ink-soft: #47645c;
    --pb-color-primary: #52d48a;
    --pb-color-primary-dark: #0b6b4d;
    --pb-color-surface: #ffffff;
    --pb-color-background: #f3f5f0;
    --pb-color-border: #dce5df;
    --pb-color-danger: #d9574b;
    --pb-color-warning: #f1b852;
    --pb-radius-sm: 9px;
    --pb-radius-md: 13px;
    --pb-radius-lg: 22px;
    --pb-space-1: 4px;
    --pb-space-2: 8px;
    --pb-space-3: 12px;
    --pb-space-4: 16px;
    --pb-space-5: 24px;
    --pb-focus-ring: 0 0 0 4px rgba(82, 212, 138, .28);
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
    outline: 2px solid var(--pb-color-primary-dark);
    outline-offset: 3px;
    box-shadow: var(--pb-focus-ring);
}

:where(button, input, select, textarea) {
    font-family: inherit;
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media (max-width: 800px) {
    :where(input, select, textarea) {
        font-size: max(16px, 1em);
    }
}

@media (max-width: 360px) {
    .prospectbat-app-body .admin-brand,
    .platform-admin-body .admin-brand {
        gap: 6px;
        font-size: 15px;
    }

    .prospectbat-app-body .admin-actions,
    .platform-admin-body .admin-actions {
        gap: 4px;
    }

    .prospectbat-app-body .credit-balance,
    .platform-admin-body .credit-balance {
        min-width: 84px;
        padding-inline: 7px;
    }

    .prospectbat-app-body .credit-balance strong,
    .platform-admin-body .credit-balance strong {
        font-size: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
