/* v1.24 — Readable Type Floors & Unified Breadcrumbs.
   Additive design layer loaded AFTER site.css/admin.css; Bai Jamjuree and app-shell remain unchanged. */
:root{
  --hub-fz-body:16px;
  --hub-fz-label:14px;
  --hub-fz-sm:14px;
  --hub-fz-tagline:13px;
  --hub-fz-caption:13px;
  --hub-fz-micro:13px;
  --hub-fz-nav:13px;
  --hub-breadcrumb-accent:var(--jade);
}
body:not(.admin-body){font-size:16px;line-height:1.65}
.admin-body{font-size:15px;line-height:1.6}
/* Textual UI only: preserve typographic headlines, numeric metrics, SVG and decorative symbols. */
:where(.app-header,.main-content,.site-footer,.mobile-bottom,.cookie-panel) :is(small,.eyebrow,.helper,.hint,.caption,.empty-state),
:where(.app-header,.main-content,.site-footer,.mobile-bottom,.cookie-panel) :is(.video-gallery-status,.shorts-detail-hint,.video-card-meta,.article-meta,.tile-meta,.cookie-panel p),
:where(.app-header,.main-content,.site-footer,.mobile-bottom,.cookie-panel) :is(.brand-copy small,.app-tile small,.font-panel-head small){
  font-size:max(13px,calc(13px * var(--hub-font-scale, 1)))!important;
  line-height:1.55;
}
:where(.main-content,.site-footer,.cookie-panel) :is(.lead,.text-content p,.cms-public-body p,.page-heading p,.app-detail-description){
  font-size:max(16px,calc(16px * var(--hub-font-scale, 1)));
  line-height:1.75;
}
:where(.app-header,.main-content,.site-footer,.mobile-bottom,.cookie-panel) :is(.btn,.section-link,.video-category-chip,.cms-taxonomy-chips a,.back-link){
  font-size:max(14px,calc(14px * var(--hub-font-scale,1)))!important;
}
:where(.app-header,.main-content,.site-footer,.mobile-bottom,.cookie-panel) :is(.mobile-bottom small,.mobile-menu small,.font-trigger-percent){
  font-size:max(13px,calc(13px * var(--hub-font-scale,1)))!important;
}
/* Admin navigation stays genuinely two-level, with readable group/leaf labels. */
.admin-body :is(.eyebrow,.helper,.admin-caption,.admin-side-title,.nav-caption,.admin-footer, .admin-sidebar-header){font-size:13px!important;line-height:1.55}
.admin-body .admin-side .nav-group-toggle{font-size:13px!important;letter-spacing:.045em}
.admin-body .admin-side .nav-tree-leaf.sidebar-link{font-size:14px!important;line-height:1.4}
.admin-body :is(.panel,.admin-main,.admin-side) small,
.admin-body :is(.admin-table-wrap,.category-manager-table,.sync-run-table,.category-rules-disclosure,.cms-admin-table) :is(th,td,small),
.admin-body :is(.sync-page,.category-page,.hub-operation-page,.hub-media-page) :is(.helper,.hint,.caption){font-size:13px!important;line-height:1.55}
.admin-body :is(.btn,.admin-main input,.admin-main select,.admin-main textarea,.admin-main label){font-size:max(14px,1em);line-height:1.5}
.admin-body .admin-main :is(h1,h2,h3){line-height:1.3}
.admin-body :is(.admin-main,.admin-side) :is(p,li){line-height:1.6}
@media(max-width:800px){
  /* Safari iOS input zoom guard, no fixed width fields. */
  .admin-body :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea),
  .main-content :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea),
  .cookie-panel :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea){font-size:16px!important;min-width:0;max-width:100%}
  .admin-body .admin-side .nav-tree-leaf.sidebar-link{min-height:44px}
  .admin-body :is(.admin-main,.panel){min-width:0}
}
/* Both public HTML and JSON-LD share app/Breadcrumbs.php's exact hierarchy. */
.hub-breadcrumb{
  --hub-crumb-border:var(--line);
  max-width:100%;min-width:0;margin:0 0 16px;padding:8px 0 11px;
  color:var(--muted);font-size:max(13px,calc(13px * var(--hub-font-scale,1)));
  line-height:1.5;border-bottom:1px solid var(--hub-crumb-border);
}
.hub-breadcrumb ol{display:flex;align-items:center;gap:8px;min-width:0;max-width:100%;margin:0;padding:0;list-style:none}
.hub-breadcrumb li{display:flex;align-items:center;gap:8px;min-width:0;flex:0 0 auto}
.hub-breadcrumb li:last-child{flex:0 1 auto;min-width:0;overflow:hidden}
.hub-breadcrumb li+li::before{
  content:"";width:6px;height:6px;flex:0 0 6px;display:inline-block;
  border-top:1.6px solid var(--muted);border-right:1.6px solid var(--muted);
  transform:rotate(45deg);opacity:.7;
}
.hub-breadcrumb a{display:inline-block;color:var(--hub-breadcrumb-accent);font-weight:600;white-space:nowrap;text-decoration:none}
.hub-breadcrumb a:hover{text-decoration:underline;text-underline-offset:3px}
.hub-breadcrumb a:focus-visible{outline:2px solid var(--jade);outline-offset:3px;border-radius:3px}
.hub-breadcrumb li:last-child [aria-current="page"]{
  display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  font-weight:700;color:var(--deep)
}
.admin-body .hub-breadcrumb-admin{margin:0 0 12px;border-bottom:0;padding:0;color:var(--muted);font-size:13px}
.admin-body .hub-breadcrumb-admin li:last-child [aria-current="page"]{font-weight:650}
@media(max-width:480px){
  .hub-breadcrumb{gap:6px;margin-bottom:13px;padding-bottom:9px}
  .hub-breadcrumb ol,.hub-breadcrumb li{gap:6px}
  .hub-breadcrumb li:first-child a{max-width:76px;overflow:hidden;text-overflow:ellipsis}
  .hub-breadcrumb li:last-child{max-width:55vw}
  .admin-body .hub-breadcrumb-admin li:last-child{max-width:46vw}
}
/* Legacy v1.23 CMS/Media panels used 10–12px helper text. Normalize these exact roles. */
.admin-body .admin-mobile-topbar,
.admin-body .admin-mobile-topbar>span,
.admin-body .admin-drawer-open{font-size:13px!important;line-height:1.5}
.admin-body :is(.media-heading,.media-section-heading,.media-blank,.media-options-col,.media-upload-form,.cms-page-intro) p,
.admin-body .cms-form-footer span,
.admin-body .cms-taxonomy-assign strong,
.admin-body .media-kpi-strip span,
.admin-body .media-total,
.admin-body .cms-record-count,
.admin-body .media-options-col code{font-size:max(13px,1em)!important;line-height:1.6}

/* v1.24 generated legacy type floors */
:where(body:not(.admin-body)) :is(.brand-copy small,
.eyebrow,
.app-tile small,
.tile-date,
.footer-brand p,
.site-footer nav a,
.site-footer nav button,
.site-footer small,
.cookie-actions .btn,
.switch-row span,
.brand-copy strong,
.app-tile strong,
.section-link,
.app-header .brand-copy small,
.mobile-bottom small,
.mobile-menu>a small,
.mobile-menu .menu-links :is(a,
button),
.font-options button,
.shorts-detail-breadcrumb,
.shorts-viewer-label,
.shorts-audio-hint,
.shorts-viewer-brand,
.shorts-viewer-copy p,
.shorts-viewer-copy a){font-size:max(13px,calc(13px * var(--hub-font-scale,1)))!important;line-height:1.5}
:where(body:not(.admin-body)) :is(.shorts-viewer-feedback,
.app-category-filters button,
.app-result-count,
.breadcrumb,
.app-detail-link,
.video-gallery-status,
.video-category-chip,
.hub-notice-item span,
.hub-notice-empty,
.hub-notice-tools button,
.hub-notice-tools p,
.cms-taxonomy-chips>a,
.cms-taxonomy-chips>span){font-size:max(13px,calc(13px * var(--hub-font-scale,1)))!important;line-height:1.5}
:where(.admin-body) :is(.admin-caption,
.metric span,
.metric small,
.form-grid label small,
th,
td small,
.admin-footer,
.install-brand small,
.status-tag,
.check-row strong,
.check-row small,
.check-result,
.helper,
.install-footer,
.auth-foot,
.admin-side nav a,
.admin-head .btn,
.home-builder-index,
.home-builder-copy small,
.home-builder-toggle,
.sync-metric small,
.sync-metric span,
.sync-command code,
.sync-review-actions .btn,
.sync-kpi>span){font-size:13px!important;line-height:1.5}
:where(.admin-body) :is(.sync-kpi>small,
.sync-page .eyebrow,
.sync-page .sync-lead,
.sync-page .sync-disclosure-body>p,
.sync-status-pill,
.sync-page .sync-actions .btn,
.sync-progress span,
.sync-page .sync-caption,
.sync-summary-text>small,
.sync-page .sync-config-form label,
.sync-page .sync-toggles label,
.sync-form-footer small,
.sync-page .sync-command code,
.sync-page .admin-table-wrap td,
.sync-page .admin-table-wrap th,
.sync-page .admin-table-wrap small,
.sync-page .sync-empty,
.sync-page .sync-review-actions .btn,
.sync-count,
.sync-type-pill,
.sync-page .sync-more-runs>summary,
.sync-page .sync-selected-events>summary,
.sync-more-label,
.sync-run-table tbody td:first-child,
.sync-run-table tbody td:nth-child(3)){font-size:13px!important;line-height:1.5}
:where(.admin-body) :is(.sync-danger-details>summary,
.category-status,
.category-video-checks label,
.category-command-copy>p:last-child,
.category-stat span,
.category-control-hint,
.category-control-actions .btn,
.category-text-link,
.category-list-head p:not(.eyebrow),
.category-list-count,
.category-empty-state p,
.category-empty-state .btn,
.category-manager-table th,
.category-manager-table td,
.category-no-rules,
.category-rules-disclosure summary,
.category-rules-disclosure summary strong,
.category-rule-item code,
.category-rule-item .btn,
.category-row-actions button,
.category-schedule-copy .eyebrow,
.category-schedule-copy>small,
.category-schedule-body>p,
.category-interval-field,
.category-cron-toggle strong){font-size:13px!important;line-height:1.5}
:where(.admin-body) :is(.category-cron-toggle small,
.category-schedule-footer .btn,
.category-schedule-footer span,
.category-row-actions a,
.video-library-header .eyebrow,
.video-library-title .eyebrow,
.video-library-header p:last-child,
.video-library-header-actions .btn,
.video-library-kpis span,
.video-list-counter,
.video-filter-reset,
.video-library-filters label,
.video-filter-submit,
.video-master-check,
.video-selection-count,
.video-batch-apply,
.video-pill,
.video-row-date,
.video-row-categories span,
.video-edit-link,
.video-row-disclosure>summary,
.video-row-detail,
.video-library-empty p,
.video-library-pagination>span,
.video-library-pagination>div>span){font-size:13px!important;line-height:1.5}
:where(.admin-body) :is(.video-library-pagination .btn,
.video-library-note,
.video-row-name,
.integrations-heading p:not(.eyebrow),
.integration-title p:not(.eyebrow),
.integrations-summary span,
.integration-switches label,
.integration-check,
.integrations-save span,
.integrations-page .form-grid label,
.integration-delete input,
.integration-empty small,
.integrations-page .admin-table-wrap tbody td,
.seo-section-head p:not(.eyebrow),
.seo-stat-strip span,
.seo-quicklinks .btn,
.seo-admin .helper,
.seo-card label,
.seo-card label small,
.seo-switch small,
.seo-savebar span,
.seo-overrides-disclosure summary,
.seo-health-list>div,
.seo-health-list strong,
.seo-health-list code){font-size:13px!important;line-height:1.5}
:where(.admin-body) :is(.media-heading p:not(.eyebrow),
.media-section-heading p:not(.eyebrow),
.media-kpi-strip span,
.media-top-actions .btn,
.media-drop input,
.media-drop small,
.media-upload-actions label,
.media-upload-actions select,
.media-filter :is(input,
select),
.media-edit-fields :is(input,
textarea),
.media-options :is(input,
.media-warning,
.media-total,
.media-filter label,
.media-filter .btn,
.media-item-body>strong,
.media-item-body>small,
.media-item-details summary,
.media-edit-fields label,
.media-edit-fields input,
.media-edit-fields .btn,
.media-category-checks legend,
.media-category-checks label){font-size:13px!important;line-height:1.5}
:where(.admin-body) :is(.media-usage,
.media-blank p,
.media-pages,
.media-options>summary small,
.media-options-col>p,
.media-category-list form,
.media-settings-form label,
.media-editor-pick span,
.seo-media-pick,
.admin-side .brand .brand-copy small,
.admin-side-title,
.admin-side[data-sidebar-density="compact"] .nav-tree-leaf.sidebar-link,
.admin-mobile-topbar,
.hub-media-choice small,
.hub-operation-metrics small,
.hub-operation-job small,
.hub-cron-copy code,
.cms-page-intro p:not(.eyebrow),
.cms-record-count,
.cms-record-main strong,
.cms-record-main small,
.cms-status,
.cms-taxonomy-assign strong,
.cms-check-grid label,
.cms-input-title){font-size:13px!important;line-height:1.5}
:where(.admin-body) :is(.cms-editor-hint,
.cms-seo-fields summary small,
.cms-form-footer span,
.cms-pagination,
.cms-security-note,
.media-upload-summary small){font-size:13px!important;line-height:1.5}
