/*
  FISIMETRIA TYPOGRAPHY SYSTEM 2026-11-28
  Font family, scale and reading comfort ONLY. No palette or business logic changes.
  Lato Regular 400, Bold 700, Black 900 self-hosted via /lato-fonts.css.
*/
:root {
  --fx-font: "Lato", "Segoe UI", Arial, sans-serif;
  --fx-type-body: 15px;
  --fx-type-secondary: 12.5px;
  --fx-type-label: 13px;
  --fx-type-control: 14px;
  --fx-type-section: 19px;
  --fx-type-title: 34px;
}

/* All portal roots, including nested assessment and decorative SVG labels. */
html body,
html body :is(button,input,select,textarea,option),
html body :is(.app-body,.student-app,.student-login-page,.auth-body,.fidelity-auth-body,.fidelity-card,.fidelity-access,.assessment-body,#assessmentHost,.somatotype-zone-label,.somatotype-axis-label,.somatotype-point-label,.support-widget) {
  font-family: var(--fx-font) !important;
}
html body {font-size:var(--fx-type-body);font-weight:400;line-height:1.5;text-rendering:optimizeLegibility;}
html body :is(button,input,select,textarea) {font-size:var(--fx-type-control);}
html body :is(button,select) {font-weight:700;}
html body :is(input,textarea) {font-weight:400;}
html body :is(h1,h2,h3,h4) {font-family:var(--fx-font);line-height:1.24;overflow-wrap:break-word;}
html body :is(h1,h2) {font-weight:700;}
html body :is(strong,b) {font-weight:700;}
html body :is(.metric-card strong,.management-kpi strong,.student-progress-card strong,.student-rest-circle-content strong) {font-weight:900;}
html body :is(table,dl,form) {font-variant-numeric:tabular-nums;}
html body :is(code,kbd,samp,pre) {font-family:ui-monospace,SFMono-Regular,Consolas,monospace !important;}
html body :is(button,input,textarea,select) {min-width:0;}
html body :is(.content-area,.student-main,#assessmentHost,.management-area,.training-grid,.management-card,.training-card) {min-width:0;}

/* Public pages and account access. */
.auth-body {font-size:15px;line-height:1.5;}
.auth-body :is(.fidelity-card,.fidelity-access,.auth-card) {font-family:var(--fx-font) !important;}
.auth-body :is(.fidelity-brand h1,.auth-copy h1) {font-weight:900;}
.auth-body :is(.fidelity-card h2,.auth-form-heading h2,.auth-form h2) {font-weight:700;line-height:1.2;}
.auth-body :is(.auth-form label,.fidelity-form label,.fidelity-access label,.modal-card label) {font-size:13px;line-height:1.4;font-weight:700;}
.auth-body :is(.auth-form input,.fidelity-access input,.auth-form select,.fidelity-access select) {font-size:15px;line-height:1.4;min-height:43px;}
.auth-body :is(.fidelity-card button,.auth-tabs button,.fidelity-access button) {font-size:14px;font-weight:700;line-height:1.35;}
.auth-body :is(.fidelity-brand p,.auth-foot,.auth-form p,.fidelity-access p,.auth-message,.form-message) {font-size:clamp(12.5px,1vw,15px);line-height:1.48;}
.auth-body :is(.fidelity-brand small,.fidelity-access small) {font-size:12px;line-height:1.45;}
.auth-body :is(.eyebrow-green,.auth-kicker,.fidelity-eyebrow,.fidelity-kicker) {font-size:12px;letter-spacing:.075em;}
.student-login-page {font-size:15px;line-height:1.5;}
.student-login-page .student-login-card h1 {font-size:clamp(29px,6vw,35px);font-weight:900;line-height:1.15;}
.student-login-page :is(.student-login-card p,.student-brand small) {font-size:14px;line-height:1.5;}
.student-login-page .student-login-card label {font-size:14px;font-weight:700;line-height:1.4;}
.student-login-page .student-login-card input {font-size:16px;min-height:46px;}
.student-login-page :is(button,.student-back-link) {font-size:15px;font-weight:700;line-height:1.4;}

/* Professional shell, dashboard and directory. */
.app-body {font-size:15px;line-height:1.5;}
.app-body :is(.sidebar .nav-item,.sidebar .nav-item span:last-child) {font-size:14px;line-height:1.35;font-weight:700;}
.app-body :is(.top-trainer strong,.trainer-card strong,.patient-name-cell strong) {font-size:14px;line-height:1.35;font-weight:700;}
.app-body :is(.top-trainer small,.trainer-card small,.patient-name-cell small) {font-size:12px;line-height:1.4;}
.app-body :is(.topbar input,.global-search input,.patient-picker-card select) {font-size:15px;line-height:1.35;}
.app-body :is(.section-heading h1,.hero-left h1) {font-size:clamp(30px,2.8vw,38px);line-height:1.17;font-weight:900;}
.app-body :is(.section-heading p,.hero-left p,.section-description) {font-size:14px;line-height:1.5;}
.app-body :is(.panel-title h2,.training-card-head h2,.management-card-head h2) {font-size:19px;line-height:1.28;font-weight:700;}
.app-body :is(.panel-title p,.training-card-head p,.management-card-head p) {font-size:13px;line-height:1.45;}
.app-body :is(.metric-card strong,.management-kpi strong) {font-size:clamp(23px,2vw,31px);font-weight:900;line-height:1.15;}
.app-body :is(.metric-card span,.management-kpi span) {font-size:13px;line-height:1.4;}
.app-body :is(.metric-card em,.management-kpi em,.metric-card small,.chart-caption) {font-size:12px;line-height:1.45;}
.app-body :is(.patient-table,.management-table,.training-history-table) {font-size:14px;line-height:1.4;}
.app-body :is(.patient-table th,.management-table th,.training-history-table th) {font-size:12.5px;line-height:1.35;font-weight:700;white-space:normal;}
.app-body :is(.patient-table td,.management-table td,.training-history-table td) {font-size:13.5px;line-height:1.42;}
.app-body :is(.patient-table-wrap,.management-table-wrap,.training-history-wrap) {width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;}
.app-body :is(.patient-row-actions button,.patient-actions-cell button,.table-actions button) {font-size:13px;line-height:1.3;}
.app-body :is(.chart-tabs button,.report-button,.brand-button,.secondary-button,.nav-tab) {font-size:14px;line-height:1.35;font-weight:700;}
.app-body :is(.chart-tabs button,.report-button) {min-height:39px;}
.app-body :is(.assessment-context-nav button) {font-size:13.5px;line-height:1.3;font-weight:700;min-height:40px;white-space:nowrap;}
.app-body :is(.assessment-context-nav) {min-width:0;max-width:100%;scrollbar-width:thin;}
.app-body :is(.assessment-context-nav button.active) {font-weight:700;}
.app-body :is(.form-field label,.field label,.modal-card label,.patient-picker-label) {font-size:13px;line-height:1.4;font-weight:700;}
.app-body :is(.form-field input,.form-field select,.form-field textarea,.modal-card input,.modal-card select,.modal-card textarea) {font-size:15px;line-height:1.45;}
.app-body :is(.modal-card h2,.management-modal-card h2) {font-size:clamp(20px,2vw,25px);line-height:1.25;font-weight:700;}
.app-body :is(.modal-intro,.form-message,.management-empty) {font-size:13px;line-height:1.5;}
.app-body :is(.support-widget,.support-widget button) {font-size:14px;}

/* Planning, workout management and attendance. */
.app-body #section-training :is(.training-card-head h2,.training-section-head h2) {font-size:19px;line-height:1.25;}
.app-body #section-training :is(.training-metric strong,.training-insight-value) {font-size:24px;line-height:1.2;font-weight:900;}
.app-body #section-training :is(.training-metric span,.training-metric small) {font-size:12px;line-height:1.4;}
.app-body #section-training :is(.training-roster-row,.training-history-row,.workout-exercise-row) {font-size:14px;line-height:1.45;}
.app-body #section-training :is(.training-roster-status,.training-alert,.training-roster-row small) {font-size:12px;line-height:1.4;}
.app-body #section-training :is(button,input,select,textarea) {font-size:14px;line-height:1.4;}
.app-body #section-training :is(.training-history-wrap,.training-exercise-points) {max-width:100%;overflow-x:auto;}
.app-body #section-training :is(.training-alert) {line-height:1.5;overflow-wrap:anywhere;}

/* Agenda: compact enough for weekly grids, no 9px microcopy. */
.app-body #section-agenda :is(.management-workweek-heading h2,.management-card-head h2) {font-size:19px;line-height:1.25;font-weight:700;}
.app-body #section-agenda :is(.management-workweek-heading p,.management-schedule-feedback,.management-workweek-actions p) {font-size:13px;line-height:1.5;}
.app-body #section-agenda :is(.management-workweek-eyebrow,.management-workweek-columns,.management-routine-day-head) {font-size:11.5px;line-height:1.45;letter-spacing:.06em;}
.app-body #section-agenda :is(.management-workweek-settings label,.management-routine-toolbar label,.management-routine-day-label strong,.management-workday-label strong) {font-size:13.5px;line-height:1.4;font-weight:700;}
.app-body #section-agenda :is(.management-workday-label small,.management-routine-day-label small,.management-workday-closed,.management-routine-no-slots) {font-size:12px;line-height:1.4;}
.app-body #section-agenda :is(.management-workweek-settings input,.management-workweek-settings select,.management-routine-toolbar select,.management-routine-day select,.management-workperiod input) {font-size:14px;line-height:1.35;}
.app-body #section-agenda :is(.management-workperiod label,.management-workperiod-separator) {font-size:12px;line-height:1.35;}
.app-body #section-agenda :is(.management-add-period,.management-example-button,.management-routine-repeat button,.management-routine-footer button,.management-workweek-actions button) {font-size:13px;line-height:1.35;}
.app-body #section-agenda :is(.management-preview-count strong) {font-size:27px;line-height:1.15;font-weight:900;}
.app-body #section-agenda :is(.management-preview-count span,.management-preview-chips span,.management-routine-footer span) {font-size:12px;line-height:1.4;}
.app-body #section-agenda :is(.management-day-tab,.management-appointment-row,.management-appointment-status) {font-size:13px;line-height:1.4;}
.app-body #section-agenda :is(.management-appointment-time,.management-day-grade-row strong) {font-size:15px;font-weight:700;}
.app-body #section-agenda :is(.management-day-grade-row small,.management-appointment-copy small) {font-size:12px;line-height:1.4;}

/* Finance: stronger amount hierarchy, readable payment rows and modals. */
.app-body #section-finance :is(.management-kpi strong) {font-size:clamp(24px,2.2vw,32px);font-weight:900;}
.app-body #section-finance :is(.management-kpi span,.management-finance-quick-summary>span) {font-size:13px;line-height:1.4;}
.app-body #section-finance :is(.management-list-copy strong,.management-student-person strong,.management-billing-person strong) {font-size:14px;line-height:1.45;font-weight:700;}
.app-body #section-finance :is(.management-list-copy small,.management-student-person small,.management-billing-person small,.management-student-method) {font-size:12px;line-height:1.4;}
.app-body #section-finance :is(.management-list-item,.management-student-row,.management-payment-history) {font-size:14px;line-height:1.4;}
.app-body #section-finance :is(.management-status-badge,.management-student-status,.management-filter-tabs button,.management-small-btn,.management-student-actions button) {font-size:12.5px;line-height:1.3;font-weight:700;}
.app-body #section-finance :is(.management-card-head>div>span,.management-month-col small,.management-month-chart small) {font-size:12px;line-height:1.4;}
.app-body #section-finance :is(.management-modal-form label,.management-payment-form label,.management-billing-grid label) {font-size:13px;line-height:1.4;font-weight:700;}
.app-body #section-finance :is(.management-modal-form input,.management-modal-form select,.management-modal-form textarea,.management-payment-form input,.management-payment-form select) {font-size:15px;line-height:1.4;}
.app-body #section-finance :is(.management-month-col strong,.management-list-actions strong) {font-size:15px;line-height:1.3;font-weight:700;}
.app-body #section-finance :is(.management-list-copy,.management-student-person) {min-width:0;overflow-wrap:anywhere;}

/* Embedded + standalone physical evaluation. Keep the fixed nav geometries intact. */
#assessmentHost,
.assessment-body {font-size:15px;line-height:1.5;font-family:var(--fx-font) !important;}
#assessmentHost :is(h1,.page-head h1) {font-size:clamp(29px,2.5vw,35px);line-height:1.2;font-weight:900;}
#assessmentHost :is(h2,.card h2) {font-size:19px;line-height:1.27;font-weight:700;}
#assessmentHost :is(h3,.card h3) {font-size:16px;line-height:1.33;font-weight:700;}
#assessmentHost :is(.eyebrow,.label,.field label,.patient-picker-label) {font-size:12.5px;line-height:1.4;font-weight:700;}
#assessmentHost :is(p,.card p,.page-head p) {font-size:14px;line-height:1.5;}
#assessmentHost :is(.kpi strong,.assessment-metric-value) {font-size:clamp(23px,2vw,30px);font-weight:900;line-height:1.15;}
#assessmentHost :is(.kpi span,.kpi em,.date-chip,.evaluation-pill,.check-item,.alert) {font-size:12.5px;line-height:1.45;}
#assessmentHost :is(.nav-item,.primary,.secondary,.ghost,.file-btn,.segmented button,.top-actions button) {font-size:13.5px;line-height:1.35;font-weight:700;}
#assessmentHost :is(input,select,textarea) {font-size:14px;line-height:1.45;}
#assessmentHost :is(table) {font-size:13.5px;line-height:1.4;}
#assessmentHost :is(th) {font-size:12.5px;font-weight:700;line-height:1.38;}
#assessmentHost :is(td) {font-size:13px;line-height:1.42;}
#assessmentHost :is(.somatotype-classification strong) {font-size:18px;line-height:1.3;}
#assessmentHost :is(.somatotype-coordinates,.somatotype-legend,.somatotype-figure strong) {font-size:12px;line-height:1.4;}
#assessmentHost :is(.somatotype-zone-label,.somatotype-point-label) {font-size:11.5px;font-weight:700;}
#assessmentHost :is(.somatotype-axis-label) {font-size:11px;}
#assessmentHost :is(.card,.dashboard-grid,.kpi-grid,.page) {min-width:0;max-width:100%;}
#assessmentHost :is(.table-wrap,.table-scroll,.responsive-table) {max-width:100%;overflow-x:auto;}

/* Student app: readable controls and captions without enlarging every icon. */
.student-app {font-size:15px;line-height:1.5;}
.student-app :is(.student-topbar-brand strong,.student-topbar strong) {font-size:15px;line-height:1.4;font-weight:700;}
.student-app :is(.student-topbar-brand small,.student-topbar small) {font-size:12.5px;line-height:1.4;}
.student-app :is(.student-view-heading h1,.student-library-head h1,.student-schedule-heading h1,.student-home-welcome h1) {font-size:clamp(26px,4vw,34px);line-height:1.2;font-weight:900;}
.student-app :is(.student-section-title h2,.student-section-title.student-home-priority h2) {font-size:20px;line-height:1.26;font-weight:700;}
.student-app :is(.student-progress-panel-head h3,.student-profile-card h2,.student-rest-sheet-head h2) {font-size:19px;line-height:1.3;font-weight:700;}
.student-app :is(.student-home-welcome p,.student-view-heading p,.student-library-head p,.student-section-title p,.student-schedule-heading p) {font-size:14px;line-height:1.48;}
.student-app :is(.student-section-kicker,.student-home-date,.student-library-head>div>span) {font-size:12px;line-height:1.4;}
.student-app :is(.student-workout-cell-copy h3,.student-library-workout-copy strong,.student-native-exercise-top h2) {font-size:clamp(17px,3vw,22px);line-height:1.25;font-weight:700;}
.student-app :is(.student-workout-details,.student-library-workout-copy small,.student-workout-cell-copy p,.student-native-muscle) {font-size:13px;line-height:1.44;}
.student-app :is(.student-workout-status,.student-library-workout-flag,.student-library-total,.student-schedule-my,.student-history-status) {font-size:12px;line-height:1.34;font-weight:700;}
.student-app :is(.student-bottom-nav span) {font-size:11.5px;line-height:1.25;font-weight:700;}
.student-app :is(.student-bottom-nav button) {min-height:55px;}
.student-app :is(.student-library-filters button,.student-home-links button,.student-library-history,.student-schedule-week-days button) {font-size:13px;line-height:1.3;font-weight:700;}
.student-app :is(.student-workout-start,.student-native-main-cta,.student-slot-book,.student-slot-cancel,.student-action,.student-rest-actions button) {font-size:15px;line-height:1.35;font-weight:700;}
.student-app :is(.student-session-head-content h1) {font-size:clamp(22px,5vw,28px);line-height:1.25;font-weight:900;}
.student-app :is(.student-session-counter,.student-native-exercise-index,.student-native-info,.student-native-last,.student-native-saved-hint) {font-size:12.5px;line-height:1.45;}
.student-app :is(.student-native-prescription small,.student-native-prescription span,.student-native-set-heading small) {font-size:12px;line-height:1.4;}
.student-app :is(.student-native-prescription strong,.student-native-number-field strong,.student-native-stepper input) {font-size:clamp(18px,4vw,25px);line-height:1.15;font-weight:900;}
.student-app :is(.student-native-set-heading strong,.student-native-instructions strong) {font-size:16px;line-height:1.3;font-weight:700;}
.student-app :is(.student-native-instructions,.student-native-notes,.student-native-info,.student-native-saved-hint) {font-size:13px;line-height:1.48;}
.student-app :is(.student-native-stepper button) {font-size:19px;font-weight:700;}
.student-app :is(.student-native-inputs label,.student-set-card label,.student-summary-row label) {font-size:13px;line-height:1.4;font-weight:700;}
.student-app :is(.student-native-inputs input,.student-set-card input,.student-summary-row input,.student-summary-row textarea) {font-size:16px;line-height:1.35;}
.student-app :is(.student-schedule-slot-time strong) {font-size:22px;line-height:1.13;font-weight:900;}
.student-app :is(.student-schedule-slot-time small,.student-schedule-slot-main small,.student-schedule-slot-top,.student-schedule-date-line small) {font-size:12.5px;line-height:1.4;}
.student-app :is(.student-progress-card strong) {font-size:clamp(22px,3.5vw,30px);font-weight:900;line-height:1.12;}
.student-app :is(.student-progress-card span,.student-progress-card small,.student-body-metric span,.student-body-metric small,.student-exercise-progress-item small) {font-size:12px;line-height:1.42;}
.student-app :is(.student-progress-panel-head p,.student-progress-signal p,.student-history-item small,.student-profile-card p,.student-profile-card small) {font-size:13px;line-height:1.45;}
.student-app :is(.student-body-metric strong,.student-exercise-progress-item strong) {font-size:14px;line-height:1.35;font-weight:700;}
.student-app :is(.student-rest-sheet-head .student-section-kicker) {font-size:12px;}
.student-app :is(.student-rest-sheet-head h2) {font-size:clamp(23px,4.5vw,30px);}
.student-app :is(.student-rest-sheet-head small,.student-rest-circle-content span) {font-size:13px;line-height:1.35;}
.student-app :is(.student-rest-circle-content strong) {font-size:clamp(41px,11vw,64px);font-weight:900;line-height:1.05;}
.student-app :is(.student-toast,.student-schedule-notice,.student-schedule-empty) {font-size:13px;line-height:1.45;}
.student-app :is(.student-profile-card strong) {font-weight:700;}
.student-app :is(.student-session-head,.student-native-exercise-top,.student-schedule-slot,.student-rest-sheet) {min-width:0;}
.student-app :is(.student-library-workout-copy,.student-workout-cell-copy,.student-schedule-slot-main,.student-schedule-slot-top) {min-width:0;overflow-wrap:anywhere;}

/* Standalone install page reuses only typography; all other styling remains intact. */
body.install-fisimetria :is(h1) {font-size:clamp(30px,4vw,35px);font-weight:900;line-height:1.17;}
body.install-fisimetria :is(h2,.brand strong) {font-size:19px;font-weight:700;line-height:1.25;}
body.install-fisimetria :is(p,.step span,.note) {font-size:13px;line-height:1.5;}
body.install-fisimetria :is(.step strong,.open) {font-size:15px;font-weight:700;line-height:1.35;}

/* Responsive typography should adjust layout instead of shrinking text to 9px. */
@media(max-width:980px) {
  .app-body :is(.metric-card,.management-card,.training-card,#assessmentHost,.content-area) {min-width:0;}
  .app-body #section-training .training-grid {grid-template-columns:minmax(0,1fr);}
  .app-body #section-training .training-span-2 {grid-column:auto;}
  .app-body #section-agenda :is(.management-workweek-settings,.management-routine-toolbar,.management-workday,.management-routine-day) {min-width:0;}
}
@media(max-width:720px) {
  :root {--fx-type-title:30px;--fx-type-body:15px;}
  .app-body :is(.section-heading h1,.hero-left h1) {font-size:clamp(28px,5vw,32px);}
  .app-body :is(.management-card-head h2,.training-card-head h2,.panel-title h2) {font-size:18px;}
  .app-body #section-agenda :is(.management-workweek-heading h2,.management-card-head h2) {font-size:18px;}
  .app-body #section-finance :is(.management-list-item-main,.management-list-actions) {min-width:0;}
  .app-body #section-finance :is(.management-list-copy strong) {overflow-wrap:anywhere;}
  .app-body :is(.assessment-context-nav button) {font-size:13.5px;}
  .student-app :is(.student-view-heading h1,.student-library-head h1,.student-schedule-heading h1,.student-home-welcome h1) {font-size:27px;}
  .student-app :is(.student-section-title h2,.student-section-title.student-home-priority h2) {font-size:19px;}
  .student-app :is(.student-bottom-nav span) {font-size:11.5px;}
  .student-app :is(.student-progress-grid,.student-workout-list,.student-library-list) {min-width:0;}
  .student-app :is(.student-native-inputs,.student-native-prescription) {min-width:0;}
}
@media(max-width:380px) {
  .student-app .student-bottom-nav button {min-width:0;padding-left:2px;padding-right:2px;}
  .student-app .student-bottom-nav span {font-size:11px;white-space:normal;text-align:center;line-height:1.2;}
  .student-app .student-native-prescription strong {font-size:18px;}
  .student-app .student-rest-actions {min-width:0;}
  .app-body :is(.section-heading,.management-week-head,.management-card-head) {min-width:0;}
  .app-body #section-agenda .management-workperiod input {font-size:14px;}
}
@media print {
  html body {font-family:var(--fx-font)!important;}
  html body :is(h1,h2,h3) {break-after:avoid;}
}

/* The legacy sign-in artwork explicitly declares Inter on individual
   descendants. Override those declarations without changing the artwork. */
html body.auth-body .fidelity-access :is(
  h1,h2,h3,h4,p,span,label,small,strong,b,a,div,legend,li,
  button,input,select,textarea,output,summary
) {
  font-family:var(--fx-font) !important;
}

/* Assessment summary: historical 10-11px labels were difficult to read. */
.app-body :is(.latest-list,.next-row,.positive-note,.simetro-dashboard-action) {
  font-size:12.5px;
  line-height:1.44;
}
.app-body .latest-list :is(span,strong,em),
.app-body .next-row span,
.app-body .latest-panel :is(small,span) {
  font-size:12.5px;
  line-height:1.4;
}
.app-body .latest-list>div,
.app-body .next-row>div {
  min-width:0;
}
.app-body .latest-list :is(span,strong,em) {
  overflow-wrap:anywhere;
}
.app-body .simetro-dashboard-action :is(button,.green-tool) {
  font-size:13px;
  line-height:1.35;
  font-weight:700;
}
.app-body .chart-tabs span {
  font-size:12px;
}
.app-body .mobile-bottom-nav small,
.assessment-body .mobile-bottom-nav small {
  font-family:var(--fx-font) !important;
  font-size:12px;
  line-height:1.25;
  font-weight:700;
}

/* Platform administration and user management (restricted to admins). */
.app-body #section-admin-users :is(.admin-panel-head h2,.admin-directory-title h2) {
  font-size:19px;
  line-height:1.27;
  font-weight:700;
}
.app-body #section-admin-users :is(.admin-panel-head p,.admin-directory-title p,.admin-info-item span,.admin-info-item strong) {
  font-size:13px;
  line-height:1.45;
}
.app-body #section-admin-users :is(.admin-summary-card span) {
  font-size:13px;
  line-height:1.4;
}
.app-body #section-admin-users :is(.admin-summary-card strong) {
  font-size:clamp(24px,2.3vw,31px);
  line-height:1.15;
  font-weight:900;
}
.app-body #section-admin-users :is(.admin-summary-card em,.admin-chart-legend,.admin-access-note) {
  font-size:12px;
  line-height:1.42;
}
.app-body #section-admin-users :is(.admin-user-search input,.admin-status-filter) {
  font-size:14px;
  line-height:1.4;
}
.app-body #section-admin-users :is(.admin-users-table th) {
  font-size:12px;
  line-height:1.4;
  font-weight:700;
}
.app-body #section-admin-users :is(.admin-users-table td,.admin-user-main strong,.admin-date-cell strong) {
  font-size:13px;
  line-height:1.42;
}
.app-body #section-admin-users :is(.admin-user-main small,.admin-date-cell small,.admin-user-avatar) {
  font-size:12px;
  line-height:1.4;
}
.app-body #section-admin-users :is(.admin-status-badge,.admin-confirm-badge,.admin-role-badge,.admin-user-action) {
  font-size:12px;
  line-height:1.32;
  font-weight:700;
}
.app-body #section-admin-users .admin-users-table-wrap {
  width:100%;
  max-width:100%;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}
.assessment-body :is(.sidebar .nav-item,.assessment-nav .nav-item) {
  font-size:13px;
  line-height:1.38;
  font-weight:700;
}
.assessment-body :is(.card h2,.page-head h2) {
  font-size:19px;
  line-height:1.3;
  font-weight:700;
}
.assessment-body :is(.page-head h1) {
  font-size:clamp(29px,3vw,35px);
  line-height:1.2;
  font-weight:900;
}

/* The original nine-column assessment bar on phones forced labels down
   to 10.5px. Keep all nine tabs, but scroll within the navigation rail. */
#assessmentHost .assessment-context-nav button {
  font-family:var(--fx-font) !important;
  font-size:13.5px !important;
  line-height:1.35;
  font-weight:700;
  min-height:41px;
}
#assessmentHost .eval-tabs :is(button,.eval-tab) {
  font-size:13px;
  line-height:1.35;
  font-weight:700;
  min-height:42px;
}
@media(max-width:780px) {
  #assessmentHost .assessment-context-nav {
    display:flex!important;
    flex-wrap:nowrap!important;
    align-items:stretch;
    grid-template-columns:none!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    -webkit-overflow-scrolling:touch;
    max-width:100%;
    padding:9px 12px 10px!important;
    gap:5px!important;
    scrollbar-width:thin;
  }
  #assessmentHost .assessment-context-nav button {
    width:auto!important;
    min-width:max-content!important;
    flex:0 0 auto!important;
    min-height:43px;
    white-space:nowrap!important;
    padding:10px 14px!important;
    font-size:13.5px!important;
    line-height:1.35!important;
  }
  #assessmentHost .assessment-context-nav button.active {
    font-weight:700;
  }
}

/* Keep the assessment selector above the new tab rail in the document flow.
   The old mobile sticky offset made its selector cover the navigation. */
@media(max-width:780px){
  #assessmentHost .assessment-section-header {
    position:relative!important;
    top:auto!important;
    z-index:auto!important;
  }
  #assessmentHost .assessment-topbar {
    position:relative!important;
    top:auto!important;
    z-index:2;
  }
}
