/*
 * Readability baseline
 * Small labels remain visually secondary, but should be comfortable to read
 * on both desktop and mobile screens.
 */
body.desk-body .text-xs {
  font-size: .875rem !important;
  line-height: 1.45rem !important;
}

body.desk-body [class~="text-[8px]"],
body.desk-body [class~="text-[9px]"] {
  font-size: .75rem !important;
  line-height: 1.2rem !important;
}

body.desk-body [class~="text-[10px]"],
body.desk-body [class~="text-[11px]"] {
  font-size: .8125rem !important;
  line-height: 1.3rem !important;
}

body.desk-body [class~="text-[12px]"] {
  font-size: .875rem !important;
  line-height: 1.35rem !important;
}

/* Deep-review list: metadata, score chips, and compact community indicators. */
.review-hot-rank,
.review-hot-value {
  font-size: .82rem;
}

.review-meta-label {
  font-size: .78rem;
}

.review-meta-chip {
  font-size: .82rem;
  line-height: 1.35rem;
}

/* Shared filter controls used by deep reviews and the trading-day feed. */
.trade-filter-heading > div > span,
.daily-filter-heading > div > span,
.trade-filter-field > span:first-child,
.daily-filter-field > span:first-child {
  font-size: 11px;
}

.trade-filter-heading > p,
.daily-filter-heading > a,
.daily-filter-heading > small,
.daily-filter-status > span,
.daily-filter-status small,
.review-scope-switcher > small {
  font-size: 12px;
}

.trade-filter-active > span,
.trade-quality-toggle,
body.desk-body .trade-filter-reset,
body.desk-body .trade-filter-submit,
body.desk-body .daily-filter-submit,
body.desk-body .review-scope-switcher a,
.review-scope-switcher > span,
.daily-filter-status b {
  font-size: 15px;
}

body.desk-body .trade-filter-control select,
body.desk-body .daily-filter-control select {
  font-size: 14px !important;
}

/* Trading-day cards: image metadata, tags, descriptions, and pagination. */
.daily-review-eyebrow,
.daily-review-header-side > span,
.daily-feed-image-count,
.daily-feed-date small,
.daily-feed-placeholder > small,
body.desk-body .daily-feed-tags > span,
.daily-feed-footer,
.daily-feed-author i,
body.desk-body .daily-feed-delete button,
.daily-feed-empty p,
body.desk-body .daily-feed-empty a,
body.desk-body .daily-feed-pagination a,
.daily-feed-pagination > span,
.daily-feed-pagination small {
  font-size: 11px !important;
}

.daily-feed-content > p {
  font-size: 13px;
  line-height: 1.8;
}

.daily-feed-date strong {
  font-size: 14px;
}

.daily-feed-pagination small b {
  font-size: 12px;
}

/* Trading-day feed cards are designed for image-led reading, but their key
   identifiers and community metadata need to remain comfortably legible. */
body.desk-body .daily-feed-tags > span {
  padding: 5px 10px;
  font-size: 15px !important;
  line-height: 1.35;
}

.daily-feed-footer {
  font-size: 15px !important;
  line-height: 1.35;
}

.daily-feed-author i {
  font-size: 14px !important;
}

/* Other workspace surfaces with intentionally compact helper copy. */
body.desk-body .desk-eyebrow,
body.desk-body .desk-video-admin-picker small,
body.desk-body .desk-video-admin-edit label > span,
body.desk-body .desk-video-admin-identity span,
body.desk-body .desk-video-admin-edit > small,
body.desk-body .pa-side-prime-slot small {
  font-size: 12px;
}

/* Knowledge surfaces use their own compact type scale. */
body.desk-body .fa-kb-app small,
body.desk-body .fa-kb-sidebar-help,
body.desk-body .fa-kb-search-empty {
  font-size: 12px;
}

body.desk-body .kb-quest-kicker,
body.desk-body .kb-level-state,
body.desk-body .kb-level-action,
body.desk-body .kb-level-reward span,
body.desk-body .kb-level-reward small,
body.desk-body .kb-level-reward strong,
body.desk-body .kb-topic-link small {
  font-size: 12px;
}

/* Prime cards and checkout detail no longer use near-microscopic captions. */
body.desk-body .desk-membership-page small,
body.desk-body .desk-membership-page .desk-eyebrow,
body.desk-body .desk-membership-page .desk-sample-note {
  font-size: 12px;
}

@media (max-width: 640px) {
  body.desk-body .text-xs {
    font-size: .85rem !important;
  }
}
