/* Preview: desktop reading sizes only. Hero/signal choreography and palette are inherited. */
@media (min-width: 1024px) {
  /* The existing header alignment formula follows the same wider content cap. */
  html[data-theme] .ap-top {
    padding-left: max(22px, calc((100vw - 1440px) / 2)) !important;
    padding-right: max(22px, calc((100vw - 1440px) / 2)) !important;
  }
  html[data-theme] .ui-home > header,
  html[data-theme] .ui-home .section,
  html[data-theme] .ui-home > footer { max-width: 1440px; }

  html[data-theme] .ui-home header nav a,
  html[data-theme] .ui-home .header-actions :is(a,button):not(.ui-theme-switch):not(#menu) {
    font-size: 15px; font-weight: 500; line-height: 1.6;
  }
  html[data-theme] .ui-home .hero-intro { font-size: 17px; line-height: 1.8; }
  html[data-theme] .ui-home .hero > .hero-actions .button { font-size: 15px; font-weight: 500; }

  html[data-theme] .ui-home .section :is(.section-heading p,.split-heading p,.reason-grid p,.tool-copy p,.plans p,.plans ul,.faq p),
  html[data-theme] .ui-home .section.faq details p,
  html[data-theme] .ui-home .rg-plan-copy > p,
  html[data-theme] .ui-home .rg-community-copy > p,
  html[data-theme] .ui-home .rg-featured-heading p,
  html[data-theme] .ui-home .rg-featured .rg-featured-copy,
  html[data-theme] .ui-home .rg-featured .rg-featured-listen p {
    font-size: 16px; font-weight: 400; line-height: 1.85;
  }
  html[data-theme] .ui-home .section :is(.reason-grid h3,.tool-copy h3),
  html[data-theme] .ui-home :is(.rg-voices h3,.rg-featured-listen h3) { font-weight: 600; }
  html[data-theme] .ui-home .section .eyebrow,
  html[data-theme] .ui-home .reason-grid article > span,
  html[data-theme] .ui-home .rg-section-label,
  html[data-theme] .ui-home .rg-featured-meta,
  html[data-theme] .ui-home .rg-featured-meta time,
  html[data-theme] .ui-home .rg-voices-footer > span {
    font-size: 13px; font-weight: 500; line-height: 1.65;
  }
  html[data-theme] .ui-home :is(.home-tool-links a,.rg-section-action,.rg-feedback-browse,.rg-featured-source a,.rg-voices-footer a),
  html[data-theme] .ui-home .section .button,
  html[data-theme] .ui-home .faq summary {
    font-size: 15px; font-weight: 500; line-height: 1.65;
  }
  html[data-theme] .ui-home :is(.calc-top,.calculator label,.calculator input,.result-buttons button) {
    font-size: 15px; font-weight: 500; line-height: 1.6;
  }
  html[data-theme] .ui-home .calculator :is(.calc-top span,.calc-currency,.risk-badge,.risk-badge output,.calc-foot span) {
    font-size: 13px; font-weight: 500; line-height: 1.65;
  }
  html[data-theme] .ui-home .calculator .calc-foot strong { font-size: 15px; font-weight: 600; }
  html[data-theme] .ui-home .allocation > div > span { font-size: 13px; line-height: 1.75; }
  html[data-theme] .ui-home .allocation > div > strong { font-size: 15px; font-weight: 600; line-height: 1.75; }
  html[data-theme] .ui-home :is(.calc-foot,.result-sample small,.result-sample > div > span,
    .rg-plan-requirements,.rg-plan-caption,.rg-plan-amounts small,.rg-plan-stages,
    .rg-plan-replay,.rg-voice-row small,.rg-community-source,.rg-community-source span,
    .rg-featured-source > span,.rg-feedback-footer,.rg-feedback-footer a,.rg-featured-empty,
    .rg-featured-empty a) {
    font-size: 13px; font-weight: 400; line-height: 1.75;
  }
  html[data-theme] .ui-home .rg-plan .rg-plan-note { font-size: 13px; line-height: 1.75; }
  html[data-theme] .ui-home .rg-plan-currency { font-size: 12px; font-weight: 500; }
  html[data-theme] .ui-home .rg-voice-row strong { font-size: 16px; font-weight: 500; line-height: 1.65; }
  html[data-theme] .ui-home .rg-featured .rg-voice-player .rvp-heading strong { font-size: 18px; font-weight: 600; }
  html[data-theme] .ui-home .rg-featured .rg-voice-player .rvp-heading small { font-size: 13px; line-height: 1.7; }
  html[data-theme] .ui-home .rg-featured .rg-voice-player :is(.rvp-status,.rvp-time,.rvp-back,.rvp-speed) {
    font-size: 13px !important; font-weight: 500; line-height: 1.6;
  }
  html[data-theme] .ui-home > footer :is(span,a):not(.brand) { font-size: 13px; line-height: 1.7; }
}


/* Desktop readability preview only. Load after existing member styles.
   All changes are typography or content-width caps; mobile, colors and motion retain their original rules. */
@media (min-width: 1024px) {
  html[data-theme] body.ap-workspace:not(.admin-workspace) .ap-page main {
    max-width: 1440px;
  }
  html[data-theme] body.ap-workspace:not(.admin-workspace) .ui-member-nav {
    max-width: 1440px;
  }
  html[data-theme] body.ap-workspace:not(.admin-workspace) :is(.member-dash, .member-tools, .rg-registration, .sub-grid) {
    max-width: none;
  }
  html[data-theme] body.ap-workspace:not(.admin-workspace) .ap-footer {
    max-width: 1392px;
    font-size: 13px;
    line-height: 1.6;
  }
  html[data-theme] body.ap-workspace:not(.admin-workspace) :is(.ui-member-nav > a, .ui-account-menu summary, .ui-account-menu a) {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
  }

  /* Primary reading copy; protected signal artwork is deliberately outside this selector list. */
  html[data-theme] body.ap-workspace:not(.admin-workspace) :is(.member-dash, .member-tools, .cp-workspace, .cd-detail, .rg-registration, .cr, .sub-grid, .sub-heading, .feedback-gallery-header, .feedback-invitation) p,
  html[data-theme] body.ap-workspace:not(.admin-workspace) :is(.md-update-body, .rg-post-text) {
    font-size: 16px;
    line-height: 1.8;
  }
  html[data-theme] body.ap-workspace:not(.admin-workspace) :is(.member-dash, .member-tools, .cp-workspace, .cd-detail, .rg-registration, .cr, .sub-grid, .sub-heading, .feedback-gallery-header) h1 {
    font-weight: 600;
  }
  html[data-theme] body.ap-workspace:not(.admin-workspace) :is(.member-tools, .sub-grid, .cr) h2,
  html[data-theme] body.ap-workspace:not(.admin-workspace) :is(.md-section-title, .md-panel-heading, .md-support) h2 {
    font-weight: 600;
    line-height: 1.5;
  }
  html[data-theme] body.ap-workspace:not(.admin-workspace) :is(.member-dash, .member-tools, .cp-workspace, .rg-registration, .cr, .sub-grid, .feedback-invitation) :is(button, .button),
  html[data-theme] body.ap-workspace:not(.admin-workspace) :is(.md-account-link, .md-tool-action, .md-support > a, .cd-refresh, .cd-schedule-link, .rg-feedback-grid article > a, .feedback-tabs a) {
    font-size: 15px !important;
    font-weight: 500;
    line-height: 1.65;
  }

  /* Dashboard: action descriptions stay readable alongside small but useful context. */
  html[data-theme] body.ap-workspace:not(.admin-workspace) .member-dash :is(.md-eyebrow, .md-tool-label, .md-count, .md-update time) {
    font-size: 13px;
    line-height: 1.6;
  }
  html[data-theme] body.ap-workspace:not(.admin-workspace) .member-dash :is(.md-eyebrow, .md-tool-label) {
    font-weight: 600;
  }
  html[data-theme] body.ap-workspace:not(.admin-workspace) .member-dash :is(.md-section-title p, .md-support a small, .md-notifications p, #push-status) {
    font-size: 14px;
    line-height: 1.75;
  }
  html[data-theme] body.ap-workspace:not(.admin-workspace) .md-update strong {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.6;
  }

  /* Money management, journal and account: labels, entered values and supporting notes. */
  html[data-theme] body.ap-workspace:not(.admin-workspace) :is(.member-tools, .rg-registration, .cr, .sub-grid) :is(input, select, textarea) {
    font-size: 16px !important;
    line-height: 1.65;
  }
  html[data-theme] body.ap-workspace:not(.admin-workspace) .rg-reg-form input::placeholder {
    font-size: 15px;
  }
  html[data-theme] body.ap-workspace:not(.admin-workspace) :is(.member-tools, .rg-registration, .cr, .sub-grid) label,
  html[data-theme] body.ap-workspace:not(.admin-workspace) .member-tools :is(.profile-fields dt, .mm-details dt) {
    font-size: 14px !important;
    font-weight: 500;
    line-height: 1.65;
  }
  html[data-theme] body.ap-workspace:not(.admin-workspace) .member-tools :is(.eyebrow, .mm-metrics small, .mm-form small, .mm-table small, .mm-details dt small, .mt-uid small, .pill, .mt-export-before-reset, .reset-check) {
    font-size: 13px;
    line-height: 1.7;
  }
  html[data-theme] body.ap-workspace:not(.admin-workspace) .member-tools :is(.mm-form .muted, .mm-details, .mt-guidance, .mt-guidance p, .mt-disclosure summary small, .reset-panel details > p, .mt-privacy .mt-disclosure p, .profile-intro p.muted) {
    font-size: 14px;
    line-height: 1.8;
  }
  html[data-theme] body.ap-workspace:not(.admin-workspace) .member-tools :is(.mt-guidance summary, .reset-panel summary, .mt-export-menu > summary, .mm-pager, .mm-results span) {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.65;
  }
  html[data-theme] body.ap-workspace:not(.admin-workspace) .member-tools :is(.profile-fields dd, .mm-details dd) {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.7;
  }
  html[data-theme] body.ap-workspace:not(.admin-workspace) :is(.member-tools, .cr, .sub-grid) th {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.65;
  }
  html[data-theme] body.ap-workspace:not(.admin-workspace) :is(.member-tools, .cr, .sub-grid) td {
    font-size: 15px;
    line-height: 1.7;
  }

  /* Campaign list and registration: requirements and the reason for a result remain prominent. */
  html[data-theme] body.ap-workspace:not(.admin-workspace) :is(.cp-eyebrow, .cp-badge, .cp-guide li > span, .cp-card-info time small, .rg-reg-eyebrow, .rg-reg-badge, .rg-reg-steps li > span, .rg-reg-dates > small, .rg-reg-checked) {
    font-size: 13px !important;
    line-height: 1.7;
  }
  html[data-theme] body.ap-workspace:not(.admin-workspace) :is(.cp-workspace, .rg-registration) :is(.cp-guide small, .cp-section-title > span, .cp-amounts dt, .cp-card-info p, .cp-note, .rg-reg-steps small, .rg-reg-target small, .rg-reg-requirements dt, .rg-reg-dates span, .rg-reg-dates time, .rg-reg-identity > span, .rg-reg-identity p, .rg-reg-help, .rg-reg-vip, .rg-reg-footnote, .rg-reg-disclaimer, .rg-reg-balance dt) {
    font-size: 14px;
    line-height: 1.8;
  }
  html[data-theme] body.ap-workspace:not(.admin-workspace) :is(.cp-guide strong, .rg-reg-steps strong, .rg-reg-requirements dd, .rg-reg-identity strong, .rg-reg-window-note strong, .rg-reg-result-title > strong) {
    font-size: 16px !important;
    font-weight: 600;
    line-height: 1.7;
  }
  html[data-theme] body.ap-workspace:not(.admin-workspace) .rg-reg-result p {
    font-size: 16px !important;
    line-height: 1.8;
  }
  html[data-theme] body.ap-workspace:not(.admin-workspace) .cr :is(.cr-kicker, small, code) {
    font-size: 13px;
    line-height: 1.7;
  }

  /* Detail dashboard: recorded values, countdown and signal rows. Chart geometry/motion are untouched. */
  html[data-theme] body.ap-workspace:not(.admin-workspace) .cd-detail :is(.cd-breadcrumb, .cd-refresh, .cd-start h2, .cd-time-pending, .cd-start-reached, .cd-schedule-link) {
    font-size: 15px;
    line-height: 1.75;
  }
  html[data-theme] body.ap-workspace:not(.admin-workspace) .cd-detail :is(.cd-eyebrow, .cd-status, .cd-start-copy small, .cd-countdown span, .cd-stat > small, .cd-chart-key, .cd-chart-insight span, .cd-chart-bottom p, .cd-chart-footnote, .cd-next-time span, .cd-signal-count, .cd-table-head, .cd-signal-row small, .cd-signal-asset > div > span, .cd-result, .cd-disclaimer, .cd-noscript) {
    font-size: 13px;
    line-height: 1.75;
  }
  html[data-theme] body.ap-workspace:not(.admin-workspace) .cd-detail :is(.cd-stat > span, .cd-next-terms dt, .cd-direction, .cd-schedule-heading p, .cd-chart-insight > div:last-child strong) {
    font-size: 14px;
    line-height: 1.7;
  }
  html[data-theme] body.ap-workspace:not(.admin-workspace) .cd-detail :is(.cd-signal-row time, .cd-signal-row strong, .cd-signal-asset h3, .cd-next-terms dd, .cd-data-notice strong) {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.65;
  }
  html[data-theme] body.ap-workspace:not(.admin-workspace) .cd-detail :is(.cd-panel-title, .cd-schedule-heading) h2 {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.5;
  }
  html[data-theme] body.ap-workspace:not(.admin-workspace) .cd-detail :is(.cd-stat > strong, .cd-countdown strong, .cd-chart-insight strong, .cd-next-time) {
    font-weight: 600;
  }
  html[data-theme] body.ap-workspace:not(.admin-workspace) .cd-detail :is(.cd-chart-axis text, .cd-chart-label) {
    font-size: 14px;
    font-weight: 500;
  }

  /* Membership and the existing feedback library/player: text only, no media geometry changes. */
  html[data-theme] body.ap-workspace:not(.admin-workspace) :is(.sub-kicker, .sub-price-card > span, .sub-history small, .rg-feedback-grid small, .feedback-days small) {
    font-size: 13px;
    line-height: 1.7;
  }
  html[data-theme] body.ap-workspace:not(.admin-workspace) #main :is(.sub-muted, .sub-status, .sub-proof dt, .feedback-days a) {
    font-size: 14px;
    line-height: 1.75;
  }
  html[data-theme] body.ap-workspace:not(.admin-workspace) .rg-feedback-grid .rg-voice-player .rvp-heading strong {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
  }
  html[data-theme] body.ap-workspace:not(.admin-workspace) .rg-feedback-grid .rg-voice-player :is(.rvp-heading small, .rvp-time, .rvp-status, .rvp-back, .rvp-speed) {
    font-size: 13px !important;
    line-height: 1.65;
  }

  /* Signal page chrome only: direct static children never select studio or received-output internals. */
  html[data-theme] body.ap-workspace:not(.admin-workspace) #main > .page-heading:has(+ .signal-launch[data-signal-page]) > div > h1,
  html[data-theme] body.ap-workspace:not(.admin-workspace) #main > .signal-launch[data-signal-page] > h2,
  html[data-theme] body.ap-workspace:not(.admin-workspace) #main > section:has(> .signal-deck) > h2 {
    font-weight: 600;
    line-height: 1.5;
  }
  html[data-theme] body.ap-workspace:not(.admin-workspace) #main > .page-heading:has(+ .signal-launch[data-signal-page]) > div > p:not(.eyebrow),
  html[data-theme] body.ap-workspace:not(.admin-workspace) #main > .signal-launch[data-signal-page] > p:not([data-claim-status]) {
    font-size: 16px;
    line-height: 1.8;
  }
  html[data-theme] body.ap-workspace:not(.admin-workspace) #main > .page-heading:has(+ .signal-launch[data-signal-page]) > div > .eyebrow {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.65;
  }
  html[data-theme] body.ap-workspace:not(.admin-workspace) #main > .page-heading:has(+ .signal-launch[data-signal-page]) > .button,
  html[data-theme] body.ap-workspace:not(.admin-workspace) #main > .signal-launch[data-signal-page] > form[data-signal-claim] > button {
    font-size: 15px !important;
    font-weight: 500;
    line-height: 1.65;
  }
  html[data-theme] body.ap-workspace:not(.admin-workspace) #main > section:has(> .signal-deck) > h2 > small {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.7;
  }
}


/* Desktop admin readability preview. Load after the existing admin/theme styles.
   This file changes typography and content widths only; mobile is unchanged. */
@media (min-width: 1024px) {
  body.admin-workspace {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
  }

  body.admin-workspace main {
    width: 100%;
    max-width: 1440px !important;
  }

  body.admin-workspace .ad-nav {
    width: 100%;
    max-width: 1440px;
  }

  body.admin-workspace .ap-footer {
    max-width: 1384px;
    font-size: 13px;
    line-height: 1.6;
  }

  body.admin-workspace .cr {
    max-width: 100%;
  }

  /* Primary content: instructions, member records and feedback progress. */
  body.admin-workspace main p,
  body.admin-workspace main li,
  body.admin-workspace .announcement-item,
  body.admin-workspace .cr-panel {
    font-size: 16px;
    line-height: 1.75;
  }

  body.admin-workspace .ac-destination strong {
    font-size: 16px !important;
    font-weight: 600;
    line-height: 1.6;
  }

  body.admin-workspace .ac-destination small {
    max-width: none;
    font-size: 14px !important;
    line-height: 1.65;
  }

  body.admin-workspace .ac-status-card > span,
  body.admin-workspace .cr-stat > span {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
  }

  /* Keep existing heading and headline metric sizes. */
  body.admin-workspace main small,
  body.admin-workspace main .muted,
  body.admin-workspace .cr-note {
    font-size: 14px;
    line-height: 1.65;
  }

  body.admin-workspace .eyebrow,
  body.admin-workspace .cr-kicker,
  body.admin-workspace .ac-status-card small,
  body.admin-workspace .ac-presence-note,
  body.admin-workspace .ac-footnote,
  body.admin-workspace .cr-worker small,
  body.admin-workspace .cr code {
    font-size: 13px !important;
    line-height: 1.65;
  }

  body.admin-workspace .ac-worker-status,
  body.admin-workspace .ac-worker-status p,
  body.admin-workspace .cr-worker strong {
    font-size: 14px !important;
    line-height: 1.65;
  }

  /* Administration navigation and existing tabs. */
  body.admin-workspace .ad-nav a,
  body.admin-workspace .ad-menu summary,
  body.admin-workspace .ad-menu-panel strong,
  body.admin-workspace .cr-nav a,
  body.admin-workspace .feedback-tabs a,
  body.admin-workspace .ad-analytics summary,
  body.admin-workspace .cr details summary {
    font-size: 15px !important;
    font-weight: 500;
    line-height: 1.6;
  }

  body.admin-workspace .ad-menu-panel small {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.6;
  }

  body.admin-workspace .ad-setting > summary {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
  }

  /* Forms: field values read at body size, labels remain a clear secondary level. */
  body.admin-workspace main label {
    font-size: 14px !important;
    font-weight: 500;
    line-height: 1.65;
  }

  body.admin-workspace input:not([type=checkbox]):not([type=radio]):not([type=hidden]),
  body.admin-workspace select,
  body.admin-workspace textarea {
    font-size: 16px !important;
    font-weight: 400;
    line-height: 1.5;
  }

  body.admin-workspace main button,
  body.admin-workspace main .button {
    font-size: 15px !important;
    font-weight: 500;
    line-height: 1.5;
  }

  /* Member/signal tables keep their existing layout and scrolling behavior. */
  body.admin-workspace table,
  body.admin-workspace td {
    font-size: 15px;
    line-height: 1.65;
  }

  body.admin-workspace th {
    font-size: 14px !important;
    font-weight: 600;
    line-height: 1.6;
  }

  body.admin-workspace td small,
  body.admin-workspace .cr td p {
    font-size: 13px !important;
    line-height: 1.65;
  }

  body.admin-workspace .cr td strong {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
  }
}
