/* Readability layer only: existing classes, controls and business rules stay intact. */
.member-theme,
.admin-workspace,
.auth-page {
    --muted: #4e6076;
    --support-ink: #4e6076;
}

/* Keep explanations subordinate to headings without making them faint or tiny. */
.member-theme :is(
    .market-hero > p, .page-heading p:not(.eyebrow), .section-heading p,
    .hub-composer .section-title p, .input-help, .hub-quota-note,
    .composer-access p, .usage-explanation, .usage-locked p,
    .mh-heading p, .mh-footer > span, .mh-live-state,
    .quota-footnote, .stat-meta, .plan-teaser p, .plan-expiry,
    .service-card-top p, .service-meter-label, .service-card-footer,
    .locked-service, .field small, .checkbox-help, .key-card p,
    .package-description, .package-payment-type, .package-footnote,
    .package-total-limit, .package-source, .package-scope-note,
    .package-dates dt, .package-usage-line, .package-service-paused,
    .renewal-policy small, .renewal-history small, .wallet-reference
) {
    font-size: 13px;
    line-height: 1.7;
    color: var(--support-ink);
}
.member-theme :is(.market-hero > p, .page-heading p:not(.eyebrow)) { font-size: 14px; }
.member-theme :is(.input-help.invalid, .mh-live-state.error) { color: #9f3530; }
.member-theme .composer-access.empty { color: #775619; }
.member-theme :is(.package-reserved, .usage-alert) { font-size: 13px; line-height: 1.7; color: #775619; }
.member-theme .composer-types > span { font-size: 12px; color: var(--support-ink); }
.member-theme .composer-type { font-size: 13px; color: #465b73; }
.member-theme .composer-type.unknown { color: #775619; }
.member-theme .composer-type.unavailable { color: #8e3c46; }
.member-theme .composer-access :is(strong, a) { font-size: 13px; }
.member-theme :is(.button.small, .paste-button, .text-link, .inline-result) { font-size: 13px; }
.member-theme .hub-composer .composer-bottom > .button { font-size: 14px; }
.member-theme .link-input-wrap input::placeholder { color: #62748b; opacity: 1; }

/* Navigation, package metadata and table text use a stable size on mobile too. */
.member-theme .sidebar .nav-link, .admin-workspace .nav-link { font-size: 14px; }
.member-theme .market-nav-link { font-size: 13px; }
.member-theme .nav-caption, .admin-workspace .nav-caption {
    font-size: 12px;
    color: var(--support-ink);
    letter-spacing: .055em;
    line-height: 1.6;
}
.member-theme :is(.market-switch > a, .workspace-services > a) { font-size: 13px; }
.member-theme :is(.rail-access, .nav-allowance) { font-size: 12px; color: #465b73; }
.member-theme .profile span:not(.avatar), .admin-workspace .profile span:not(.avatar) { font-size: 12px; }
.member-theme .sidebar-wallet a > span { font-size: 12px; }
.member-theme :is(.service-meter-label strong, .service-meter-label strong span, .service-card-footer a, .plan-expiry strong) { font-size: 13px; color: var(--support-ink); }
.member-theme .package-entitlements h3, .member-theme .package-overline {
    font-size: 12px;
    color: var(--support-ink);
    letter-spacing: .04em;
}
.member-theme .package-service-main > strong { font-size: 14px; }
.member-theme :is(.package-quota, .package-fact, .package-wallet-link) { font-size: 13px; }
.member-theme .package-quota small { font-size: 12px; }
.member-theme .package-usage-line strong { font-size: 13px; color: #355c4b; }
.member-theme :is(.package-source code, .mh-file code) { font-size: 12px; color: #53657c; }
.member-theme .mh-table { font-size: 13px; }
.member-theme .mh-table thead th { font-size: 12px; color: #465b73; }
.member-theme .mh-file strong { font-size: 14px; }
.member-theme .mh-file > span { font-size: 12px; color: #53657c; }
.member-theme .mh-table time { font-size: 13px; color: #465b73; }
.member-theme .mh-actions .button { min-height: 36px; font-size: 13px; }
.member-theme .mh-table .badge { font-size: 12px; }
.member-theme .badge:is(.ready, .active, .redeemed) { color: #176447; }
.member-theme .badge:is(.failed, .revoked, .suspended) { color: #9b3540; }
.member-theme .badge:is(.pending, .uncertain, .unused) { color: #765019; }
.member-theme .mh-error { font-size: 12px; color: #9b3540; }
.member-theme .mh-pages small { font-size: 12px; color: var(--support-ink); }

/* Quota numbers retain their visual hierarchy; labels no longer shrink to 9–10px. */
.member-theme .quota-ui :is(.usage-header-title, .usage-caption, .usage-facts dt) { font-size: 13px; }
.member-theme .usage-caption { color: #176447; }
.member-theme .usage-facts dt { line-height: 1.65; }
.member-theme .usage-facts > .usage-limit { color: #4e6076; }
.member-theme .usage-amount > span { font-size: 12px; color: #355c4b; }
.member-theme .usage-progress-label { font-size: 12px; color: var(--support-ink); }
.member-theme .quota-ui .usage-status { font-size: 12px; color: #176447; }
.member-theme .quota-ui .usage-status.low { color: #765019; }
.member-theme .quota-ui .usage-status.empty { color: #9b3540; }
.member-theme .quota-ui .usage-status:is(.paused, .locked) { color: #4e6076; }
.member-theme .usage-widget[data-quota-state="low"] :is(.usage-caption, .usage-amount > span) { color: #765019; }
.member-theme .usage-widget[data-quota-state="empty"] :is(.usage-caption, .usage-amount > span) { color: #9b3540; }
.member-theme .usage-widget[data-quota-state="paused"] :is(.usage-caption, .usage-amount > span) { color: #4e6076; }
.member-theme .usage-countdown-footer .countdown-caption { font-size: 12px; color: #4e6076; line-height: 1.7; }
.member-theme .usage-countdown-footer time { font-size: 12px; color: #465b73; }
.member-theme .usage-countdown-footer time small { font-size: 11px; color: #53657c; }
.member-theme .quota-countdown.is-waiting { font-size: 13px; color: #775619; }
.member-theme .overview-cards .stat-label { font-size: 13px; color: #4e6076; }

/* Admin descriptions, email/IP metadata and filters remain compact but legible. */
.admin-workspace :is(
    .page-heading p:not(.eyebrow), .field > label, .field-label,
    .cell-muted, .admin-data-table .muted, .log-service small,
    .log-member small, .log-content > span, .field small, .checkbox-help,
    .filter-scope, .log-register-footer, .quota-footnote, .job-links-help,
    .catalog-editor small, .catalog-savebar p, .market-admin-product small,
    .market-table-code, .server-address, .pool-member small,
    .pool-order label, .pool-summary, .job-server-label small
) { font-size: 13px; line-height: 1.7; color: var(--support-ink); }
.admin-workspace .page-heading p:not(.eyebrow) { font-size: 14px; }
.admin-workspace .log-metric div > span { font-size: 13px; }
.admin-workspace .admin-table { font-size: 14px; }
.admin-workspace .admin-table > thead > tr > th { font-size: 13px; }
.admin-workspace :is(.member-id, .role-chip, .verification-line, .usage-number small, .ip-label, .cell-error, .log-content code) { font-size: 12px; line-height: 1.65; }
.admin-workspace :is(.member-id, .ip-label, .log-content code) { color: var(--support-ink); }
.admin-workspace .admin-date small, .admin-workspace .admin-ip code { font-size: 13px; }
.admin-workspace :is(.country-tag, .badge, .button.small, .member-status-button, .log-state-tab, .support-chip) { font-size: 13px; }
.admin-workspace .member-table th:nth-child(1) { width: 20%; }
.admin-workspace .member-table th:nth-child(3) { width: 11%; }
.admin-workspace .member-table th:nth-child(7) { width: 10%; }
.admin-workspace .member-table th:nth-child(8) { width: 12%; }
.admin-workspace .member-status-button { overflow-wrap: normal; }
.admin-workspace .job-links-button.button { font-size: 13px; }
.admin-workspace .log-detail-label { font-size: 12px; color: #465b73; }
.admin-workspace .log-register-heading > span { font-size: 13px; color: #4e6076; }
.admin-workspace .toggle-row { font-size: 14px; }

/* Detail dialogs and account forms use the same readable support-text scale. */
:is(.member-theme, .admin-workspace) :is(.job-links-id, .job-link-note, .job-links-warning, .job-links-feedback) { font-size: 13px; line-height: 1.7; color: var(--support-ink); }
:is(.member-theme, .admin-workspace) .job-links-heading .eyebrow { font-size: 12px; color: #465b73; }
:is(.member-theme, .admin-workspace) .job-link-card textarea { font-size: 13px; line-height: 1.7; }
:is(.member-theme, .admin-workspace) .job-link-tools .button { font-size: 13px; }
:is(.member-theme, .admin-workspace) .wallet-dialog-head p:not(.eyebrow) { font-size: 13px; color: #76503c; }
:is(.member-theme, .admin-workspace) .wallet-dialog .field small { font-size: 13px; color: var(--support-ink); }
:is(.member-theme, .admin-workspace) .footer { font-size: 12px; color: var(--support-ink); line-height: 1.7; }
.auth-page :is(.field small, .auth-switch, .auth-forgot) { font-size: 14px; line-height: 1.7; }
.auth-page .auth-bottom { font-size: 12px; line-height: 1.7; color: #76503c; }
.auth-page .auth-statement p { color: #76503c; }

@media (max-width: 760px) {
    /* Prevent small-input zoom on mobile browsers; don't scale the whole page. */
    .member-theme .link-input-wrap input,
    :is(.member-theme, .admin-workspace, .auth-page) .field :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) { font-size: 16px; }
    .member-theme .market-hero > p { font-size: 14px; }
}
