/* Exactly six semantic text roles. Compact flow headings are a page-title size variant.
   Numerical readouts, chart labels and provider/handwritten branding keep explicit component formatting below. */
:root {
	/* page-title */
	--ir-page-title-font: var(--ir-text-font);
	--ir-page-title-size: 32px;
	--ir-page-title-weight: 600;
	--ir-page-title-height: 1.2;
	--ir-page-title-tracking: -0.02em;
	--ir-page-title-color: var(--ir-color-heading);
	/* section-title */
	--ir-section-title-font: var(--ir-text-font);
	--ir-section-title-size: 20px;
	--ir-section-title-weight: 600;
	--ir-section-title-height: 1.2;
	--ir-section-title-tracking: -0.02em;
	--ir-section-title-color: var(--ir-color-heading);
	/* card-title */
	--ir-card-title-font: var(--ir-text-font);
	--ir-card-title-size: 17px;
	--ir-card-title-weight: 600;
	--ir-card-title-height: 1.2;
	--ir-card-title-tracking: -0.02em;
	--ir-card-title-color: var(--ir-color-heading);
	/* body */
	--ir-body-font: var(--ir-text-font);
	--ir-body-size: 14px;
	--ir-body-weight: 400;
	--ir-body-height: 1.5;
	--ir-body-tracking: 0;
	--ir-body-color: var(--ir-color-text);
	/* secondary */
	--ir-secondary-font: var(--ir-text-font);
	--ir-secondary-size: 13px;
	--ir-secondary-description-size: 14px;
	--ir-secondary-weight: 400;
	--ir-secondary-height: 1.5;
	--ir-secondary-tracking: 0;
	--ir-secondary-color: var(--ir-color-secondary);
	/* caption */
	--ir-caption-font: var(--ir-text-font);
	--ir-caption-size: 12px;
	--ir-caption-weight: 400;
	--ir-caption-height: 1.4;
	--ir-caption-tracking: 0;
	--ir-caption-color: var(--ir-color-muted);

	/* Existing component variable names remain supported. */
	--ir-text-font: Arial, "Helvetica Neue", Helvetica, sans-serif;
	--ir-text-font-heading: var(--ir-text-font);
	--ir-text-font-accent: "Segoe Print", "Comic Sans MS", cursive;
	--ir-text-font-code: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	--ir-text-size-base: var(--ir-body-size);
	--ir-text-size-page-title: var(--ir-page-title-size);
	--ir-text-size-flow-title: 24px;
	--ir-text-size-section-title: var(--ir-section-title-size);
	--ir-text-size-card-title: var(--ir-card-title-size);
	--ir-text-size-body: var(--ir-body-size);
	--ir-text-size-small: var(--ir-caption-size);
	--ir-text-size-label: var(--ir-secondary-size);
	--ir-text-size-stat: 20px;
	--ir-text-size-base-small: 14px;
	--ir-text-size-page-title-small: 28px;
	--ir-text-size-flow-title-small: 22px;
	--ir-text-size-section-title-small: 18px;
	--ir-text-size-card-title-small: 16px;
	--ir-text-weight-normal: 400;
	--ir-text-weight-medium: 500;
	--ir-text-weight-semibold: 600;
	--ir-text-weight-bold: 700;
	--ir-text-weight-page-title: var(--ir-page-title-weight);
	--ir-text-weight-flow-title: 600;
	--ir-text-weight-section-title: var(--ir-section-title-weight);
	--ir-text-weight-card-title: var(--ir-card-title-weight);
	--ir-text-line-height: 1.5;
	--ir-text-line-height-title: 1.2;
	--ir-text-line-height-small: 1.4;
	--ir-text-letter-spacing: 0;
	--ir-text-letter-spacing-title: -0.02em;
}

/* App controls and unclassified headings get scoped defaults before role and module rules. */
:is(
	.ir_page_content,
	.ir-hello-shell,
	.ir-login-modal,
	.ir-referral-modal,
	.ir-community-share-dialog,
	.ir-quiz-session,
	.ir-quiz-card,
	.ir-quiz-review,
	.ir-quiz-report-dialog,
	:where(#ir-sidebar)
) {
	& :where(h1, h2, h3, h4, h5, h6) {
		font: var(--ir-card-title-weight) var(--ir-card-title-size)/var(--ir-card-title-height) var(--ir-card-title-font);
		color: var(--ir-card-title-color);
		letter-spacing: var(--ir-card-title-tracking);
		text-transform: none;
	}

	& :where(h1) {
		font: var(--ir-page-title-weight) var(--ir-text-size-page-title)/var(--ir-page-title-height) var(--ir-page-title-font);
		color: var(--ir-page-title-color);
		letter-spacing: var(--ir-page-title-tracking);
	}

	& :where(h2) {
		font: var(--ir-section-title-weight) var(--ir-text-size-section-title)/var(--ir-section-title-height) var(--ir-section-title-font);
		color: var(--ir-section-title-color);
		letter-spacing: var(--ir-section-title-tracking);
	}

	& :where(button, input, select, optgroup, textarea) {
		font: inherit;
		letter-spacing: inherit;
		text-transform: none;
	}

	& :where(input, select, optgroup, textarea) {
		color: inherit;
	}

	@media (max-width: 768px) {
		& :where(h1) { font-size: var(--ir-text-size-page-title-small); }
		& :where(h2) { font-size: var(--ir-text-size-section-title-small); }
		& :where(h3, h4, h5, h6) { font-size: var(--ir-text-size-card-title-small); }
	}
}

:is(
	.ir-text-page-title,
	.ir-text-section-title,
	.ir-text-card-title,
	.ir-text-body,
	.ir-text-secondary,
	.ir-text-caption
) {
	font-style: normal;
	text-transform: none;
}

.ir-text-page-title {
	font-family: var(--ir-page-title-font);
	font-size: var(--ir-page-title-size);
	font-weight: var(--ir-page-title-weight);
	line-height: var(--ir-page-title-height);
	letter-spacing: var(--ir-page-title-tracking);
	color: var(--ir-page-title-color);
}

.ir-text-section-title {
	font-family: var(--ir-section-title-font);
	font-size: var(--ir-section-title-size);
	font-weight: var(--ir-section-title-weight);
	line-height: var(--ir-section-title-height);
	letter-spacing: var(--ir-section-title-tracking);
	color: var(--ir-section-title-color);
}

.ir-text-card-title {
	font-family: var(--ir-card-title-font);
	font-size: var(--ir-card-title-size);
	font-weight: var(--ir-card-title-weight);
	line-height: var(--ir-card-title-height);
	letter-spacing: var(--ir-card-title-tracking);
	color: var(--ir-card-title-color);
}

.ir-text-body {
	font-family: var(--ir-body-font);
	font-size: var(--ir-body-size);
	font-weight: var(--ir-body-weight);
	line-height: var(--ir-body-height);
	letter-spacing: var(--ir-body-tracking);
	color: var(--ir-body-color);
}

.ir-text-secondary {
	font-family: var(--ir-secondary-font);
	font-size: var(--ir-secondary-size);
	font-weight: var(--ir-secondary-weight);
	line-height: var(--ir-secondary-height);
	letter-spacing: var(--ir-secondary-tracking);
	color: var(--ir-secondary-color);
}

.ir-text-caption {
	font-family: var(--ir-caption-font);
	font-size: var(--ir-caption-size);
	font-weight: var(--ir-caption-weight);
	line-height: var(--ir-caption-height);
	letter-spacing: var(--ir-caption-tracking);
	color: var(--ir-caption-color);
}

/* Existing module mappings, compact variants and numerical/branding exceptions. */
/* modules/calendar/calendar.css — existing selectors remain compatible. */

.ir-work-calendar {
	font-family: var(--ir-text-font);
	letter-spacing: -.015em;
}

.ir-work-calendar-header h1 {
	font-size: clamp(32px, 4vw, 44px);
	line-height: 1.08;
	letter-spacing: -.035em;
}

.ir-work-calendar-header p {
	font-size: clamp(16px, 1.6vw, 21px);
	font-weight: var(--ir-text-weight-normal);
}

.ir-work-summary article p {
	font-size: clamp(11.9px, 1.0625vw, 15.3px);
	line-height: 1.35;
}

.ir-work-summary article strong {
	font-size: inherit;
}

.ir-work-card-heading h2, .ir-monthly-statistics h2 {
	font-size: clamp(18.7px, 1.7vw, 24.65px);
	line-height: 1.2;
	letter-spacing: -.035em;
}

.ir-work-weekdays {
	font-size: var(--ir-body-size);
}

.ir-work-calendar-day {
	font: inherit;
	font-size: 15px;
}

.ir-work-legend {
	font-size: var(--ir-caption-size);
}

.ir-selected-study-status strong {
	font-size: 26.35px;
	line-height: 1;
}

.ir-selected-study-status p {
	font-size: 14.45px;
}

.ir-selected-study-metrics > div, .ir-monthly-statistics > div {
	font-size: 14.4px;
}

.ir-selected-study-metrics strong, .ir-monthly-statistics strong {
	font-size: 16px;
}

.ir-selected-study-metrics > div {
	font-size: 12.96px;
}

.ir-selected-study-metrics strong {
	font-size: 14.4px;
}

.ir-accuracy-ring strong {
	font-size: 29px;
}

.ir-monthly-accuracy p {
	font-size: 15px;
}

@media (max-width: 767px) {
.ir-work-summary article p {
	font-size: 13.6px;
}
}

@media (max-width: 767px) {
.ir-work-card-heading h2, .ir-monthly-statistics h2 {
	font-size: 17.85px;
}
}

@media (max-width: 767px) {
.ir-work-weekdays {
	font-size: 11px;
}
}

@media (max-width: 767px) {
.ir-work-calendar-day {
	font-size: var(--ir-secondary-size);
}
}

@media (max-width: 767px) {
.ir-selected-study-status strong {
	font-size: 21.25px;
}
}

@media (max-width: 767px) {
.ir-selected-study-status p {
	font-size: 11.9px;
}
}

@media (max-width: 767px) {
.ir-selected-study-metrics > div {
	font-size: 11.7px;
}
}

@media (max-width: 767px) {
.ir-selected-study-metrics strong {
	font-size: var(--ir-secondary-size);
}
}

/* modules/community/community-share.css — existing selectors remain compatible. */

.ir-community-share-card {
	font-family: var(--ir-text-font);
}

.ir-community-share-eyebrow {
	font-size: var(--ir-caption-size);
	font-weight: var(--ir-text-weight-bold);
}

.ir-community-share-title {
	font-size: 22px;
	font-weight: var(--ir-text-weight-bold);
	line-height: 1.25;
}

.ir-community-share-description {
	font-size: var(--ir-body-size);
	line-height: 1.55;
}

.ir-community-share-status {
	font-size: var(--ir-caption-size);
	line-height: 1.45;
}

@media (max-width: 560px) {
.ir-community-share-title {
	font-size: var(--ir-section-title-size);
}
}

/* modules/community/community.css — existing selectors remain compatible. */

.ir-community-page {
	font-family: var(--ir-text-font);
	letter-spacing: -.01em;
}

.ir-community-panel-heading h1,
.ir-community-panel-heading h2 {
	font-size: 21px;
	font-weight: var(--ir-text-weight-bold);
	line-height: 1.12;
	letter-spacing: -.025em;
}

.ir-community-panel-heading p {
	font-size: 12.5px;
	line-height: 1.3;
}

.ir-community-presence {
	font-size: var(--ir-caption-size);
	font-weight: var(--ir-text-weight-bold);
}

.ir-community-page .ir-community-tab {
	font-size: var(--ir-menu-font-size, 14.832px);
	font-weight: var(--ir-menu-font-weight, 500);
	letter-spacing: var(--ir-menu-letter-spacing, .4px);
	line-height: normal;
}

.ir-community-load-older {
	font-size: 11px;
}

.ir-community-avatar {
	font-size: 10.5px;
	font-weight: var(--ir-text-weight-bold);
}

.ir-community-avatar.is-compact {
	font-size: 11px;
}

.ir-community-message-heading strong {
	font-size: 11px;
	line-height: 1.15;
}

.ir-community-message-heading time {
	font-size: 9.5px;
}

.ir-community-more {
	font-size: 16px;
	letter-spacing: 1px;
}

.ir-community-discussion-arrow {
	font-size: 24px;
}

.ir-community-discussion-back {
	font-size: 11px;
}

.ir-community-tool {
	font-size: 10px;
	font-weight: var(--ir-text-weight-bold);
}

.ir-community-send {
	font-size: 10px;
	font-weight: var(--ir-text-weight-bold);
}

.ir-community-gif-results {
	font-size: var(--ir-caption-size);
}

.ir-community-giphy-attribution {
	font-size: 10px;
	font-weight: var(--ir-text-weight-bold);
}

.ir-community-status {
	font-size: 9.5px;
}

.ir-community-feed-author strong {
	font-size: var(--ir-caption-size);
	line-height: 1.2;
}

.ir-community-feed-author span {
	font-size: 10.5px;
}

.ir-community-feed-content h3 {
	font-size: 13.5px;
	font-weight: var(--ir-text-weight-bold);
	line-height: 1.2;
}

.ir-community-feed-content p {
	font-size: 11.5px;
	line-height: 1.35;
}

.ir-community-feed-content .ir-community-feed-subtitle {
	font-size: 10.5px;
}

.ir-community-feed-primary {
	font-size: 19px;
	line-height: 1;
}

.ir-community-feed-metric strong {
	font-size: 11.5px;
	line-height: 1.15;
}

.ir-community-feed-metric small {
	font-size: 8.5px;
	line-height: 1.15;
}

.ir-community-feed-metrics.is-six .ir-community-feed-metric strong {
	font-size: 10.5px;
	line-height: 1;
}

.ir-community-feed-action {
	font-size: 10.5px;
	font-weight: var(--ir-text-weight-bold);
}

.ir-community-feed-status {
	font-size: 10.5px;
}

.ir-community-empty {
	font-size: var(--ir-caption-size);
}

@media (max-width: 820px) {
.ir-community-presence {
	font-size: 9.5px;
}
}

@media (max-width: 520px) {
.ir-community-panel-heading h1,
	.ir-community-panel-heading h2 {
	font-size: 18px;
}
}

@media (max-width: 520px) {
.ir-community-panel-heading p {
	font-size: 11px;
}
}

@media (max-width: 520px) {
.ir-community-page .ir-community-tab {
	font-size: 11px;
	letter-spacing: 0;
}
}

@media (max-width: 520px) {
.ir-community-feed-metric strong {
	font-size: 10.5px;
}
}

@media (max-width: 520px) {
.ir-community-feed-metric small {
	font-size: 7.5px;
}
}

@media (max-width: 520px) {
.ir-community-feed-metrics.is-five .ir-community-feed-metric strong {
	font-size: 9.5px;
}
}

@media (max-width: 520px) {
.ir-community-feed-metrics.is-five .ir-community-feed-metric small {
	font-size: 7px;
}
}

@media (max-width: 520px) {
.ir-community-feed-metrics.is-six .ir-community-feed-metric strong {
	font-size: 9.5px;
}
}

/* modules/dashboard/dashboard.css — existing selectors remain compatible. */

.ir-dashboard {
	font-family: var(--ir-text-font);
	letter-spacing: -0.01em;
}

.ir-dashboard-header h1 {
	font-size: clamp(28px, 3vw, 36px);
	font-weight: var(--ir-text-weight-bold);
	line-height: 1.2;
	letter-spacing: -0.025em;
}

.ir-dashboard-streak {
	font-size: var(--ir-caption-size);
	font-weight: var(--ir-text-weight-medium);
	line-height: 1.15;
}

.ir-dashboard-streak strong {
	font-size: 15px;
	font-weight: var(--ir-text-weight-bold);
}

.ir-notification-label {
	font-size: var(--ir-secondary-size);
	font-weight: var(--ir-text-weight-medium);
}

.ir-dashboard h2 {
	font-size: var(--ir-card-title-size);
	font-weight: var(--ir-text-weight-bold);
	line-height: 1.35;
	letter-spacing: -0.018em;
}

.ir-dashboard h3 {
	font-size: 24px;
	font-weight: var(--ir-text-weight-bold);
	letter-spacing: -0.022em;
}

.ir-continue-panel-heading p {
	font-size: var(--ir-caption-size);
	line-height: 1.35;
}

.ir-continue-panel-empty p {
	font-size: var(--ir-secondary-size);
}

.ir-continue-resume-panel .ir-card-meta {
	font-size: 11px;
}

.ir-dashboard .ir-continue-card h3 {
	font-size: 16px !important;
	font-weight: var(--ir-text-weight-semibold);
	line-height: 1.3;
}

.ir-card-icon {
	font-size: 25px;
	font-weight: var(--ir-text-weight-bold);
}

.ir-card-meta {
	font-size: var(--ir-secondary-size);
	font-weight: var(--ir-text-weight-normal);
}

.ir-progress-ring {
	font-size: 25px;
	font-weight: 800;
}

.ir-goal-value {
	font-size: 23px;
}

.ir-daily-goal-content p {
	font-size: var(--ir-body-size);
	line-height: 1.45;
}

.ir-stat-card .ir-card-icon {
	font-size: 10px;
}

.ir-stat-card p {
	font-size: var(--ir-secondary-size);
	font-weight: var(--ir-text-weight-bold);
	line-height: 1.1;
}

.ir-stat-card strong {
	font-size: 15px;
	font-weight: var(--ir-text-weight-bold);
	line-height: 1;
}

.ir-stat-card small {
	font-size: 11px;
	font-weight: var(--ir-text-weight-medium);
	line-height: 1;
}

.ir-empty-card-message {
	font-size: var(--ir-body-size);
}

.ir-exam-history-item strong {
	font-size: var(--ir-secondary-size);
	font-weight: var(--ir-text-weight-bold);
}

.ir-exam-history-item div span {
	font-size: var(--ir-caption-size);
	line-height: 1.4;
}

.ir-specialty-progress-card strong {
	font-weight: var(--ir-text-weight-medium);
}

.ir-specialty-book-header strong {
	font-size: var(--ir-card-title-size);
}

.ir-specialty-book-percentage {
	font-size: var(--ir-secondary-size);
	font-weight: var(--ir-text-weight-medium);
}

.ir-specialty-book-trigger {
	font-size: 11px;
	font-weight: var(--ir-text-weight-normal);
}

.ir-specialty-book-toggle {
	font-size: 10px;
	line-height: 1;
}

.ir-specialty-completion-value {
	font-size: var(--ir-body-size);
	font-weight: var(--ir-text-weight-bold);
}

.ir-specialty-summary-stat > span,
.ir-specialty-row-icon {
	font-size: 25px;
	font-weight: var(--ir-text-weight-bold);
}

.ir-specialty-summary-stat strong {
	font-size: var(--ir-card-title-size);
}

.ir-specialty-subchapter-trigger {
	font-size: 11px;
}

.ir-specialty-row-toggle {
	font-size: 10px;
	line-height: 1;
}

.ir-specialty-row--subchapter .ir-specialty-row-icon {
	font-size: 18px;
}

@container (max-width: 600px) {
.ir-specialty-book-percentage {
	font-size: var(--ir-caption-size);
}
}

@container (max-width: 600px) {
.ir-specialty-book-header strong {
	font-size: var(--ir-card-title-size);
}
}

.ir-calendar-week {
	font-size: var(--ir-secondary-size);
}

.ir-calendar-days > span {
	font-size: 11px;
}

.ir-calendar-days b {
	font-weight: var(--ir-text-weight-medium);
	line-height: 1;
}

.ir-calendar-legend {
	font-size: 10px;
}

.ir-ai-recommendation-card p {
	font-size: var(--ir-body-size);
	line-height: 1.65;
}

.ir-card-badge {
	font-size: var(--ir-caption-size);
	font-weight: var(--ir-text-weight-bold);
}

.ir-quick-actions-grid .ir-card-icon {
	font-size: var(--ir-card-title-size);
}

.ir-quick-actions-grid strong {
	font-size: var(--ir-secondary-size);
	font-weight: var(--ir-text-weight-bold);
}

.ir-quick-actions-grid small {
	font-size: 11px;
	font-weight: var(--ir-text-weight-normal);
}

@media (max-width: 760px) {
.ir-dashboard-streak {
	font-size: var(--ir-caption-size);
}
}

@media (max-width: 760px) {
.ir-dashboard-streak strong {
	font-size: 15px;
}
}

@media (max-width: 760px) {
.ir-recent-simulations-card .ir-card-heading h2 {
	font-size: 15px;
}
}

@media (max-width: 760px) {
.ir-specialty-book-percentage {
	font-size: var(--ir-caption-size);
}
}

/* modules/exam/exam.css — existing selectors remain compatible. */

.ir-exam {
	font-family: var(--ir-text-font);
}

.ir-exam-message {
	font-size: var(--ir-secondary-size);
	line-height: 1.45;
}

.ir-exam-intro h1 {
	font-size: var(--ir-section-title-size);
	font-weight: var(--ir-text-weight-bold);
	letter-spacing: -.015em;
	line-height: 1.35;
}

.ir-exam-intro-header > p {
	font-size: var(--ir-caption-size);
	line-height: 1.65;
}

.ir-exam-feature strong {
	font-size: var(--ir-caption-size);
	font-weight: var(--ir-text-weight-bold);
	line-height: 1.5;
}

.ir-exam-feature > span:last-child {
	font-size: 11px;
	line-height: 1.7;
}

.ir-exam-notes h2 {
	font-size: var(--ir-secondary-size);
	font-weight: var(--ir-text-weight-bold);
}

.ir-exam-notes li {
	font-size: 11px;
	line-height: 1.5;
}

.ir-exam-intro-footer > p {
	font-size: 11px;
	line-height: 1.5;
}

.ir-exam-assurance {
	font-size: 10px;
	line-height: 1.55;
}

.ir-exam-toolbar-title p {
	font-size: var(--ir-caption-size);
	font-weight: var(--ir-text-weight-semibold);
}

.ir-exam-toolbar-title strong {
	font-size: 16px;
	font-weight: var(--ir-text-weight-bold);
}

.ir-exam-timer {
	font-variant-numeric: tabular-nums;
	font-size: 16px;
	font-weight: 800;
}

.ir-exam-timer::before {
	font-size: 18px;
}

.ir-exam-paused-icon {
	font-size: 28px;
}

.ir-exam-paused h1 {
	font-size: 27px;
	font-weight: var(--ir-text-weight-bold);
	letter-spacing: -.02em;
}

.ir-exam-paused > p {
	font-size: var(--ir-body-size);
	line-height: 1.5;
}

.ir-exam-paused-details strong {
	font-size: 16px;
	font-weight: 800;
}

.ir-exam-paused-details span {
	font-size: 11px;
}

.ir-exam-result-header h1 {
	font-size: clamp(25px, 3vw, 34px);
	font-weight: var(--ir-text-weight-bold);
	letter-spacing: -.025em;
	line-height: 1.2;
}

.ir-exam-result-header p {
	font-size: var(--ir-secondary-size);
	line-height: 1.45;
}

.ir-exam-result-ring strong {
	font-size: 25px;
	font-weight: 800;
	letter-spacing: -.035em;
}

.ir-exam-result-ring span {
	font-size: var(--ir-caption-size);
}

.ir-exam-result-level > div > span {
	font-size: 10px;
	font-weight: var(--ir-text-weight-semibold);
}

.ir-exam-result-level h2 {
	font-size: 23px;
	font-weight: 800;
	letter-spacing: -.02em;
	line-height: 1.15;
}

.ir-exam-result-level p {
	font-size: var(--ir-caption-size);
	line-height: 1.45;
}

.ir-exam-result-level small {
	font-size: 10px;
	line-height: 1.35;
}

.ir-exam-result-time small {
	font-size: 11px;
}

.ir-exam-result-time strong {
	font-size: 21px;
	font-variant-numeric: tabular-nums;
}

.ir-exam-result-chart h2 {
	font-size: var(--ir-card-title-size);
	font-weight: var(--ir-text-weight-bold);
	letter-spacing: -.015em;
}

.ir-exam-result-chart header p {
	font-size: 10.5px;
}

.ir-exam-result-chart-specialty label {
	font-size: 11px;
	font-weight: var(--ir-text-weight-bold);
}

.ir-exam-result-chart-specialty p {
	font-size: 10px;
	line-height: 1.45;
}

.ir-exam-result-specialty-prompt {
	font-size: 10.925px;
	line-height: 1.4;
}

.ir-exam-result-specialty-prompt strong {
	font-size: 11.5px;
	font-weight: var(--ir-text-weight-bold);
}

.ir-exam-result-specialty-select {
	font-family: inherit;
	font-size: 10px;
	font-weight: var(--ir-text-weight-semibold);
	line-height: 1.35;
}

.ir-exam-result-chart-bar b {
	font-size: 9px;
	font-weight: var(--ir-text-weight-bold);
}

.ir-exam-result-chart-year > strong {
	font-size: 10px;
	font-weight: var(--ir-text-weight-bold);
}

.ir-exam-result-chart-visual > footer {
	font-size: 9.5px;
}

.ir-exam-result-score-row > strong {
	font-size: var(--ir-caption-size);
	font-weight: var(--ir-text-weight-semibold);
}

.ir-exam-result-score-row > b {
	font-size: var(--ir-caption-size);
	font-weight: var(--ir-text-weight-bold);
}

@media (min-width: 981px) {
.ir-exam-result-ring strong {
	font-size: 23px;
}
}

@media (min-width: 981px) {
.ir-exam-result-level h2 {
	font-size: 21px;
}
}

.ir-exam-history-header h1 {
	font-size: 29px;
	font-weight: var(--ir-text-weight-bold);
	letter-spacing: -.025em;
}

.ir-exam-history-table {
	font-size: var(--ir-secondary-size);
}

.ir-exam-history-table th {
	font-size: var(--ir-secondary-size);
	font-weight: var(--ir-text-weight-bold);
}

.ir-exam-history-table strong {
	font-weight: 800;
}

.ir-exam-history-status {
	font-size: 11px;
	font-weight: var(--ir-text-weight-bold);
}

.ir-exam-history-empty h2 {
	font-size: 24px;
}

.ir-exam-generation-modal[data-stage="complete"] .ir-exam-cup::after {
	font-size: 25px;
	font-weight: 800;
}

.ir-exam-generation-card h2 {
	font-size: 36px;
	font-weight: var(--ir-text-weight-bold);
	letter-spacing: -.025em;
	line-height: 1.2;
}

.ir-exam-generation-card > p[data-exam-generation-copy] {
	font-size: 24px;
	line-height: 1.45;
}

.ir-exam-generation-slogan {
	font-family: "Segoe Script", "Brush Script MT", cursive;
	font-size: 29px !important;
	font-style: italic;
	font-weight: var(--ir-text-weight-semibold);
	line-height: 1.35 !important;
}

.ir-exam-generation-modal[data-stage="complete"] .ir-exam-generation-progress::after {
	font-size: 24px;
	font-weight: 800;
}

.ir-exam-generation-error {
	font-size: var(--ir-secondary-size) !important;
}

.ir-exam-confirm-card h2 {
	font-size: var(--ir-section-title-size);
	font-weight: var(--ir-text-weight-bold);
}

.ir-exam-confirm-card > p {
	font-size: var(--ir-body-size);
	line-height: 1.5;
}

.ir-exam-confirm-summary strong {
	font-size: var(--ir-card-title-size);
	font-weight: 800;
}

.ir-exam-confirm-summary span {
	font-size: 10px;
}

@media (max-width: 700px) {
.ir-exam-feature strong {
	font-size: var(--ir-caption-size);
}
}

@media (max-width: 700px) {
.ir-exam-feature > span:last-child {
	font-size: 10px;
}
}

@media (max-width: 700px) {
.ir-exam-timer {
	font-size: var(--ir-body-size);
}
}

@media (max-width: 700px) {
.ir-exam-generation-card h2 {
	font-size: clamp(27px, 8vw, 34px);
}
}

@media (max-width: 700px) {
.ir-exam-generation-card > p[data-exam-generation-copy] {
	font-size: 18px;
}
}

@media (max-width: 700px) {
.ir-exam-generation-slogan {
	font-size: 24px !important;
}
}

@media (max-width: 700px) {
.ir-exam-history-table td::before {
	font-size: 11px;
	font-weight: var(--ir-text-weight-bold);
}
}

@media (max-width: 430px) {
.ir-exam-result-chart-bar b {
	font-size: 8px;
}
}

/* modules/learn/learn.css — existing selectors remain compatible. */

.ir-learn {
	font-family: var(--ir-text-font);
}

.ir-learn-selector header p {
	font-size: var(--ir-secondary-size);
	font-weight: var(--ir-text-weight-semibold);
}

.ir-learn-selector h1 {
	font-size: 25px;
	font-weight: var(--ir-text-weight-semibold);
}

.ir-learn-selector header span {
	font-size: var(--ir-body-size);
}

.ir-learn-fields label {
	font-size: var(--ir-secondary-size);
	font-weight: var(--ir-text-weight-semibold);
}

.ir-learn-message {
	font-size: var(--ir-secondary-size);
}

/* modules/login/login.css — existing selectors remain compatible. */

.ir-login-card p {
	font-size: 16px;
	line-height: 1.75;
	font-family: Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
}

.ir-login-footer {
	font-family: Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
	font-size: var(--ir-body-size);
	line-height: 1.8;
}

.ir-login-footer a {
	font-weight: var(--ir-text-weight-semibold);
}

@media (max-width:600px) {
.ir-login-card p {
	font-size: 16px;
	line-height: 1.75;
}
}

@media (max-width:600px) {
.ir-login-footer {
	font-size: var(--ir-body-size);
}
}

@media (max-width:600px) {
.ir-login-cancel {
	font-size: 18px;
}
}

/* modules/notifications/notifications.css — existing selectors remain compatible. */

.ir-notifications {
	font-family: var(--ir-text-font);
}

.ir-notifications-header h1 {
	font-size: clamp(29px, 4vw, 39px);
	font-weight: 750;
	line-height: 1.15;
	letter-spacing: -.025em;
}

.ir-notifications-count {
	font-size: 11px;
	font-weight: var(--ir-text-weight-normal);
	letter-spacing: .06em;
	line-height: 1;
}

.ir-notifications-status {
	font-size: var(--ir-secondary-size);
}

.ir-notifications-list-header h2 {
	font-size: 16px;
	font-weight: var(--ir-text-weight-bold);
}

.ir-notifications-item-main {
	font: inherit;
}

.ir-notifications-item-title {
	font-size: var(--ir-secondary-size);
	font-weight: var(--ir-text-weight-semibold);
}

.ir-notifications-item.is-unread .ir-notifications-item-title {
	font-weight: 800;
}

.ir-notifications-item-time {
	font-size: 10px;
}

.ir-notifications-item-preview {
	font-size: 11px;
	line-height: 1.4;
}

.ir-notifications-item.is-unread .ir-notifications-item-preview {
	font-weight: var(--ir-text-weight-semibold);
}

.ir-notifications-item-meta {
	font-size: 10px;
	font-weight: var(--ir-text-weight-bold);
}

.ir-notifications-item-delete {
	font-size: var(--ir-card-title-size);
}

.ir-notifications-empty-detail strong {
	font-size: 18px;
}

.ir-notifications-detail-type {
	font-size: 11px;
	font-weight: var(--ir-text-weight-bold);
}

.ir-notifications-detail h2 {
	font-size: clamp(24px, 3vw, 32px);
	font-weight: 750;
	line-height: 1.2;
	letter-spacing: -.02em;
}

.ir-notifications-detail-date {
	font-size: var(--ir-caption-size);
}

.ir-notifications-detail-body {
	font-size: 15px;
	line-height: 1.7;
}

.ir-notifications-detail-badge {
	font-size: var(--ir-caption-size);
	font-weight: var(--ir-text-weight-bold);
}

.ir-notifications-reward > span {
	font-size: 11px;
	font-weight: var(--ir-text-weight-bold);
}

.ir-notifications-reward strong {
	font-size: 18px;
}

.ir-notifications-reward-state {
	font-size: var(--ir-secondary-size);
	font-weight: var(--ir-text-weight-bold);
}

.ir-notifications-empty-list {
	font-size: var(--ir-secondary-size);
	line-height: 1.55;
}

/* modules/practice/practice.css — existing selectors remain compatible. */

.ir-practice {
	font-family: var(--ir-text-font);
}

.ir-practice-builder > header p {
	font-size: var(--ir-secondary-size);
	font-weight: var(--ir-text-weight-semibold);
}

.ir-practice-builder > header h1 {
	font-size: clamp(22px, 3vw, 28px);
	font-weight: var(--ir-text-weight-semibold);
	line-height: 1.25;
}

.ir-practice-builder > header span {
	font-size: var(--ir-body-size);
}

.ir-practice-selections > [data-practice-empty] {
	font-size: var(--ir-secondary-size);
}

.ir-practice-selection strong {
	font-size: var(--ir-body-size);
	font-weight: var(--ir-text-weight-semibold);
}

.ir-practice-selection > div span {
	font-size: var(--ir-caption-size);
}

.ir-practice-selection b {
	font-size: var(--ir-secondary-size);
	font-weight: var(--ir-text-weight-semibold);
}

.ir-practice-builder-footer > div {
	font-size: var(--ir-caption-size);
}

.ir-practice-builder-footer strong {
	font-size: 18px;
	font-weight: var(--ir-text-weight-semibold);
}

.ir-practice-modal-header p {
	font-size: var(--ir-caption-size);
	font-weight: var(--ir-text-weight-semibold);
}

.ir-practice-modal-header h2 {
	font-size: 22px;
	font-weight: var(--ir-text-weight-semibold);
}

.ir-practice-modal-navigation p {
	font-size: var(--ir-caption-size);
}

.ir-practice-taxonomy-choice {
	font: inherit;
}

.ir-practice-taxonomy-choice span {
	font-size: var(--ir-secondary-size);
	font-weight: var(--ir-text-weight-semibold);
}

.ir-practice-taxonomy-choice small {
	font-size: 11px;
}

.ir-practice-modal-count h3 {
	font-size: 16px;
	font-weight: var(--ir-text-weight-semibold);
}

.ir-practice-modal-count label {
	font-size: var(--ir-secondary-size);
	font-weight: var(--ir-text-weight-semibold);
}

.ir-practice-modal-count small {
	font-size: var(--ir-caption-size);
	font-weight: var(--ir-text-weight-normal);
}

.ir-practice-modal-message {
	font-size: var(--ir-caption-size);
}

.ir-practice-message {
	font-size: var(--ir-secondary-size);
}

.ir-practice-complete p {
	font-size: var(--ir-secondary-size);
	font-weight: var(--ir-text-weight-semibold);
}

.ir-practice-complete h2 {
	font-size: 23px;
	font-weight: var(--ir-text-weight-semibold);
}

.ir-practice-complete span {
	font-size: var(--ir-body-size);
}

@media (max-width: 700px) {
.ir-practice-selection b {
	font-size: var(--ir-caption-size);
}
}

@media (max-width: 700px) {
.ir-practice-modal-header h2 {
	font-size: var(--ir-section-title-size);
}
}

.ir-practice-builder-header p,
.ir-practice-section-heading p,
.ir-practice-active-header p,
.ir-practice-result-card header > p {
	font-size: var(--ir-caption-size);
	font-weight: var(--ir-text-weight-bold);
	letter-spacing: .02em;
}

.ir-practice-builder-header h1 {
	font-size: clamp(24px, 3vw, 31px);
	font-weight: 650;
	line-height: 1.18;
}

.ir-practice-builder-header > span {
	font-size: var(--ir-body-size);
	line-height: 1.55;
}

.ir-practice-stepper li {
	font-size: var(--ir-caption-size);
	font-weight: var(--ir-text-weight-semibold);
}

.ir-practice-stepper li > span {
	font-size: 11px;
}

.ir-practice-stepper--explanation li {
	font-size: var(--ir-body-size);
	font-weight: var(--ir-text-weight-bold);
}

.ir-practice-stepper--explanation li > span {
	font-size: var(--ir-secondary-size);
}

.ir-practice-stepper--explanation li.is-complete > span::after {
	font-size: 11px;
	font-weight: 900;
}

.ir-practice-section-heading h2 {
	font-size: 18px;
	font-weight: 650;
}

.ir-practice-section-heading > div > span {
	font-size: var(--ir-secondary-size);
	line-height: 1.45;
}

.ir-practice-total-step > h2 {
	font-size: clamp(20px, 2.5vw, 26px);
	font-weight: 650;
	line-height: 1.3;
}

.ir-practice-total-note {
	font-size: var(--ir-caption-size);
	line-height: 1.5;
}

.ir-practice-total-preset > strong {
	font-size: var(--ir-body-size);
	font-weight: 650;
}

.ir-practice-custom-total > strong {
	font-size: 11px;
	font-weight: var(--ir-text-weight-semibold);
}

.ir-practice-taxonomy-book summary strong {
	font-size: var(--ir-card-title-size);
	font-weight: var(--ir-text-weight-medium);
}

.ir-practice-book-trigger {
	font-size: 11px;
}

.ir-practice-taxonomy-book summary small {
	font-size: 11px;
	font-weight: var(--ir-text-weight-normal);
}

.ir-practice-book-toggle {
	font-size: 10px;
	line-height: 1;
}

.ir-practice-taxonomy-check strong {
	font-size: var(--ir-secondary-size);
	font-weight: 650;
}

.ir-practice-taxonomy-check small {
	font-size: 11px;
}

.ir-practice-empty-selection {
	font-size: var(--ir-secondary-size);
}

.ir-practice-selected-chapter span {
	font-size: 11px;
}

.ir-practice-selected-chapter strong {
	font-size: var(--ir-body-size);
}

.ir-practice-selected-chapter small {
	font-size: var(--ir-caption-size);
}

.ir-practice-selected-chapter small strong {
	font-size: inherit;
}

.ir-practice-capacity {
	font-size: var(--ir-secondary-size);
}

.ir-practice-allocation-summary span {
	font-size: 11px;
}

.ir-practice-allocation-summary strong {
	font-size: var(--ir-body-size);
}

.ir-practice-existing-session strong {
	font-size: 16px;
}

.ir-practice-existing-session span {
	font-size: var(--ir-secondary-size);
}

.ir-practice-allocation-mode-grid button {
	font: inherit;
}

.ir-practice-allocation-mode-grid button > span {
	font-size: var(--ir-caption-size);
	line-height: 1.5;
}

.ir-practice-allocation-mode-grid strong {
	font-size: 16px;
}

.ir-practice-allocation-mode-grid em {
	font-size: var(--ir-caption-size);
	font-style: normal;
	font-weight: var(--ir-text-weight-medium);
	line-height: 1.5;
}

.ir-practice-allocation-rows span {
	font-size: var(--ir-secondary-size);
}

.ir-practice-allocation-rows strong {
	font-size: var(--ir-secondary-size);
}

.ir-practice-manual-rows strong {
	font-size: var(--ir-secondary-size);
}

.ir-practice-manual-rows small {
	font-size: 11px;
}

.ir-practice-manual-totals {
	font-size: var(--ir-caption-size);
}

.ir-practice-distribution-step > h2 {
	font-size: clamp(21px, 2.5vw, 26px);
	font-weight: 650;
	line-height: 1.3;
}

.ir-practice-distribution-row > strong {
	font-size: var(--ir-secondary-size);
	font-weight: 650;
}

.ir-practice-distribution-row > span {
	font-size: var(--ir-caption-size);
}

.ir-practice-explanation-step h2,
.ir-practice-answer-step h2 {
	font-size: clamp(19px, 2.2vw, 23px);
	font-weight: 650;
	line-height: 1.4;
}

.ir-practice-stepper--summary li {
	font-size: var(--ir-caption-size);
	font-weight: var(--ir-text-weight-bold);
}

.ir-practice-stepper--summary li > span {
	font-size: 11px;
}

.ir-practice-summary-intro h2 {
	font-size: clamp(19px, 2.2vw, 23px);
	font-weight: 750;
	line-height: 1.3;
}

.ir-practice-summary-intro p {
	font-size: var(--ir-secondary-size);
}

.ir-practice-summary-grid > article > div > span {
	font-size: var(--ir-caption-size);
	font-weight: var(--ir-text-weight-bold);
	line-height: 1.4;
}

.ir-practice-summary-grid > article > div > strong {
	font-size: var(--ir-secondary-size);
	font-weight: 800;
	line-height: 1;
}

.ir-practice-summary-option > strong {
	font-size: var(--ir-secondary-size);
	font-weight: 750;
}

.ir-practice-summary-chapters h3 {
	font-size: 16px;
	font-weight: 800;
	line-height: 1.2;
}

.ir-practice-summary-chapter > strong {
	font-size: var(--ir-caption-size);
	font-weight: 750;
}

.ir-practice-summary-chapter > span {
	font-size: var(--ir-caption-size);
}

.ir-practice-active-title p {
	font-size: var(--ir-caption-size);
	font-weight: var(--ir-text-weight-semibold);
}

.ir-practice-active-title strong {
	font-size: 16px;
	font-weight: var(--ir-text-weight-bold);
}

.ir-practice-timer {
	font-variant-numeric: tabular-nums;
	font-size: 16px;
	font-weight: 800;
}

.ir-practice-timer::before {
	font-size: 18px;
}

.ir-practice-paused-message {
	font-size: var(--ir-secondary-size);
	font-weight: var(--ir-text-weight-semibold);
}

.ir-practice-question-unavailable h2 {
	font-size: 18px;
}

.ir-practice-question-unavailable p {
	font-size: var(--ir-secondary-size);
}

.ir-practice-result-card h1 {
	font-size: clamp(27px, 4vw, 37px);
	letter-spacing: -.035em;
}

.ir-practice-result-card header > p {
	font-size: var(--ir-card-title-size);
	font-weight: var(--ir-text-weight-normal);
	letter-spacing: 0;
}

.ir-practice-result-time small {
	font-size: .65em;
	font-weight: var(--ir-text-weight-medium);
}

.ir-practice-result-ring > strong {
	font-size: 25px;
	line-height: 1;
}

.ir-practice-result-ring small {
	font-size: 10px;
	font-weight: var(--ir-text-weight-normal);
}

.ir-practice-result-chapter > strong {
	font-size: 15px;
	font-weight: var(--ir-text-weight-medium);
}

.ir-practice-result-chapter > b {
	font-size: var(--ir-card-title-size);
}

@media (max-width: 700px) {
.ir-practice-total-step > h2 {
	font-size: var(--ir-section-title-size);
}
}

@media (max-width: 700px) {
.ir-practice-total-preset > strong {
	font-size: var(--ir-secondary-size);
}
}

@media (max-width: 700px) {
.ir-practice-custom-total > strong {
	font-size: 9px;
}
}

@media (max-width: 700px) {
.ir-practice-stepper li {
	font-size: 10px;
	line-height: 1.15;
}
}

@media (max-width: 700px) {
.ir-practice-stepper--explanation li {
	font-size: 11px;
}
}

@media (max-width: 700px) {
.ir-practice-stepper--explanation li > span {
	font-size: 11px;
}
}

@media (max-width: 700px) {
.ir-practice-stepper--explanation li.is-complete > span::after {
	font-size: 9px;
}
}

@media (max-width: 700px) {
.ir-practice-explanation-step h2,
    .ir-practice-answer-step h2 {
	font-size: 19px;
}
}

@media (max-width: 700px) {
.ir-practice-stepper--summary li {
	font-size: 11px;
}
}

@media (max-width: 700px) {
.ir-practice-stepper--summary li > span {
	font-size: 11px;
}
}

@media (max-width: 700px) {
.ir-practice-distribution-step > h2 {
	font-size: var(--ir-section-title-size);
}
}

@media (max-width: 700px) {
.ir-practice-distribution-row > strong {
	font-size: var(--ir-caption-size);
}
}

@media (max-width: 700px) {
.ir-practice-distribution-row > span {
	font-size: 11px;
}
}

@media (max-width: 700px) {
.ir-practice-summary-intro p {
	font-size: var(--ir-secondary-size);
}
}

@media (max-width: 700px) {
.ir-practice-summary-chapters h3 {
	font-size: 15px;
}
}

@media (max-width: 700px) {
.ir-practice-summary-chapter > strong {
	font-size: var(--ir-secondary-size);
}
}

@media (max-width: 700px) {
.ir-practice-timer {
	font-size: var(--ir-body-size);
}
}

@media (max-width: 700px) {
.ir-practice-result-card h1 {
	font-size: 27px;
}
}

@media (max-width: 700px) {
.ir-practice-result-card header > p {
	font-size: var(--ir-body-size);
}
}

@media (max-width: 700px) {
.ir-practice-result-ring > strong {
	font-size: 23px;
}
}

@media (max-width: 700px) {
.ir-practice-result-chapter > strong {
	font-size: var(--ir-secondary-size);
}
}

@media (max-width: 700px) {
.ir-practice-result-chapter > b {
	font-size: var(--ir-body-size);
}
}

/* modules/profile/hello_profile.css — existing selectors remain compatible. */

.ir-hello-shell {
	font-family: var(--ir-text-font);
}

.ir-hello-progress-label {
	font-size: 15px;
	line-height: 1.3;
}

.ir-hello-card h1 {
	font-size: clamp(32px, 4vw, 44px);
	font-weight: 800;
	line-height: 1.02;
	letter-spacing: -.045em;
}

.ir-hello-card h1 em {
	font-style: normal;
}

.ir-hello-lead {
	font-size: var(--ir-card-title-size);
	line-height: 1.25;
}

.ir-hello-illustration > span {
	font-family: var(--ir-text-font-accent);
	font-size: var(--ir-secondary-size);
	font-weight: var(--ir-text-weight-bold);
	line-height: 1.25;
}

.ir-hello-callout p {
	font-size: var(--ir-secondary-size);
	line-height: 1.35;
}

.ir-hello-primary b {
	font-size: 21px;
	font-weight: 300;
}

.ir-hello-center > small {
	font-size: var(--ir-caption-size);
}

.ir-hello-error {
	font-size: var(--ir-body-size);
}

.ir-hello-benefits > div {
	font-size: var(--ir-body-size);
	line-height: 1.2;
}

.ir-hello-form h1 {
	font-size: clamp(30px, 3.5vw, 38px);
}

.ir-hello-form > label,
.ir-hello-field-heading > strong {
	color: #081d3c;
	font-size: 15px;
	font-weight: var(--ir-text-weight-bold);
	line-height: 1.3;
}

.ir-hello-form > label > small {
	font-size: 11px;
	font-weight: var(--ir-text-weight-normal);
}

.ir-hello-toggle {
	font-size: var(--ir-body-size);
	font-weight: var(--ir-text-weight-semibold);
}

.ir-hello-referral-status {
	font-size: var(--ir-body-size);
	line-height: 1.45;
}

@media (max-width: 760px) {
.ir-hello-progress-label {
	font-size: var(--ir-body-size);
}
}

@media (max-width: 760px) {
.ir-hello-card h1 {
	font-size: clamp(29px, 9vw, 38px);
}
}

@media (max-width: 760px) {
.ir-hello-lead {
	font-size: 15px;
}
}

@media (max-width: 760px) {
.ir-hello-illustration > span {
	font-size: var(--ir-caption-size);
}
}

@media (max-width: 760px) {
.ir-hello-callout p {
	font-size: var(--ir-secondary-size);
}
}

@media (max-width: 760px) {
.ir-hello-benefits > div {
	font-size: var(--ir-caption-size);
}
}

@media (max-width: 760px) {
.ir-hello-form h1 {
	font-size: 30px;
}
}

@media (max-width: 760px) {
.ir-hello-form > label {
	font-size: var(--ir-card-title-size);
}
}

/* modules/profile/profile.css — existing selectors remain compatible. */

.ir-user-profile {
	font-family: var(--ir-text-font);
	letter-spacing: -.01em;
}

.ir-profile-page-header h1 {
	font-size: clamp(28px, 3vw, 36px);
	font-weight: var(--ir-text-weight-bold);
	line-height: 1.2;
	letter-spacing: -.025em;
}

.ir-profile-page-header p {
	font-size: var(--ir-card-title-size);
	line-height: 1.5;
}

.ir-profile-avatar {
	font-size: 50px;
	font-weight: var(--ir-text-weight-medium);
	line-height: 1;
}

.ir-profile-summary--view .ir-profile-name-line h2 {
	font-size: clamp(27px, 2.5vw, 32px);
	line-height: 1.05;
}

.ir-profile-summary--view .ir-profile-nickname-note {
	font-size: var(--ir-caption-size);
	line-height: 1.25;
}

.ir-profile-name-line h2 {
	font-size: clamp(27px, 3vw, 34px);
	font-weight: 750;
	line-height: 1.1;
	letter-spacing: -.025em;
}

.ir-profile-nickname-note {
	font-size: var(--ir-secondary-size);
	font-weight: var(--ir-text-weight-medium);
	line-height: 1.35;
}

.ir-profile-fact dd {
	font-size: var(--ir-body-size);
	font-weight: var(--ir-text-weight-bold);
	line-height: 1.35;
}

.ir-profile-fact small {
	font-size: 11px;
	font-weight: var(--ir-text-weight-normal);
	line-height: 1.4;
}

.ir-profile-nickname-input {
	font-size: 19px;
}

.ir-profile-birthdate-toggle {
	font-size: 10px;
	font-weight: var(--ir-text-weight-semibold);
}

.ir-profile-feedback {
	font-size: var(--ir-secondary-size);
}

.ir-profile-card-heading > div > span {
	font-size: 11px;
	font-weight: var(--ir-text-weight-bold);
}

.ir-profile-card-heading h2 {
	font-size: 21px;
	font-weight: var(--ir-text-weight-bold);
	line-height: 1.3;
}

.ir-profile-badge small {
	font-size: 10px;
	font-weight: 650;
}

.ir-profile-badge strong {
	font-size: var(--ir-body-size);
}

.ir-profile-badges-empty {
	font-size: var(--ir-secondary-size);
}

.ir-profile-book-choice strong {
	font-size: var(--ir-secondary-size);
}

.ir-profile-book-choice p {
	font-size: 11px;
}

.ir-profile-referral-count {
	font-size: 11px;
	font-weight: var(--ir-text-weight-medium);
}

.ir-profile-referral-count b {
	font-size: 18px;
}

.ir-profile-referral-inline-heading > span {
	font-size: var(--ir-caption-size);
	font-weight: var(--ir-text-weight-semibold);
}

.ir-profile-code-row code {
	font-family: var(--ir-text-font-code);
	font-size: clamp(16px, 2vw, 20px);
	font-weight: 750;
	letter-spacing: .08em;
}

.ir-profile-page-header h1 {
	font-size: clamp(30px, 2.5vw, 38px);
}

.ir-profile-page-header p {
	font-size: 16px;
}

.ir-profile-summary--view .ir-profile-name-line h2 {
	font-size: clamp(27px, 2.4vw, 34px);
	font-weight: 760;
}

.ir-profile-summary--view .ir-profile-nickname-note {
	font-size: var(--ir-secondary-size);
	font-weight: var(--ir-text-weight-medium);
	line-height: 1.35;
}

.ir-profile-referral-inline-heading > span {
	font-size: var(--ir-secondary-size);
	font-weight: var(--ir-text-weight-bold);
}

.ir-profile-referral-count {
	font-size: 11px;
}

.ir-profile-referral-count b {
	font-size: 16px;
}

.ir-profile-code-row code {
	font-size: clamp(17px, 1.8vw, 21px);
}

.ir-profile-fact dd {
	font-size: 15px;
	line-height: 1.3;
}

.ir-profile-fact small {
	font-size: 10px;
}

.ir-profile-card-heading > div > span {
	font-size: var(--ir-caption-size);
}

.ir-profile-card-heading h2 {
	font-size: 22px;
}

.ir-profile-badges-empty p {
	font-size: 11px;
	line-height: 1.45;
}

.ir-profile-badges-empty strong {
	font-weight: var(--ir-text-weight-medium);
}

@media (max-width: 760px) {
.ir-profile-page-header h1 {
	font-size: 28px;
}
}

@media (max-width: 760px) {
.ir-profile-page-header p {
	font-size: 15px;
}
}

@media (max-width: 760px) {
.ir-profile-avatar {
	font-size: 36px;
}
}

@media (max-width: 760px) {
.ir-profile-summary--view .ir-profile-name-line h2 {
	font-size: 25px;
}
}

@media (max-width: 760px) {
.ir-profile-summary--view .ir-profile-nickname-note {
	font-size: 11px;
}
}

@media (max-width: 760px) {
.ir-profile-name-line h2 {
	font-size: 25px;
}
}

@media (max-width: 760px) {
.ir-profile-nickname-note {
	font-size: 11px;
}
}

/* modules/quiz/quiz.css — existing selectors remain compatible. */

.ir-quiz-session {
	font-family: var(--ir-text-font);
}

.ir-quiz-session-topline {
	font-size: var(--ir-secondary-size);
	font-weight: var(--ir-text-weight-semibold);
}

.ir-quiz-session-topline.has-feedback::after {
	font-size: var(--ir-secondary-size);
	font-weight: var(--ir-text-weight-semibold);
}

.ir-quiz-feedback {
	font-size: var(--ir-secondary-size);
	font-weight: var(--ir-text-weight-semibold);
}

.ir-quiz-review-title p {
	font-size: var(--ir-caption-size);
	font-weight: var(--ir-text-weight-semibold);
}

.ir-quiz-review-meta {
	font-size: var(--ir-caption-size);
}

[data-quiz-screen-feedback] {
	font-size: var(--ir-body-size);
	font-weight: var(--ir-text-weight-semibold);
}

.ir-quiz-screen-feedback-points {
	font-size: var(--ir-secondary-size);
	font-weight: var(--ir-text-weight-bold);
}

.ir-quiz-report-dialog p {
	font-size: 15px;
	line-height: 1.45;
}

.ir-quiz-report-suggestion label {
	font-size: var(--ir-secondary-size);
	font-weight: var(--ir-text-weight-semibold);
}

.ir-quiz-report-suggestion [data-report-counter] {
	font-size: 11px;
	line-height: 1;
}

.ir-quiz-report-dialog .ir-quiz-report-error {
	font-size: var(--ir-secondary-size);
}

.ir-quiz-question-meta {
	font-size: var(--ir-secondary-size);
}

.ir-quiz-taxonomy {
	font-weight: var(--ir-text-weight-semibold);
}

.ir-quiz-question-type text {
	font-family: var(--ir-text-font);
	font-size: 10px;
	font-weight: var(--ir-text-weight-bold);
}

.ir-quiz-question-card h2 {
	font-size: clamp(19px, 2vw, 24px);
	font-weight: var(--ir-text-weight-semibold);
	line-height: 1.35;
}

.ir-quiz-answer {
	font: inherit;
	font-size: 15px;
	line-height: 1.4;
}

.ir-quiz-answer-letter {
	font-size: var(--ir-secondary-size);
	font-weight: var(--ir-text-weight-bold);
}

.ir-quiz-explanation-card h2 {
	font-size: 19px;
	font-weight: var(--ir-text-weight-semibold);
}

.ir-quiz-explanation-card header p {
	font-size: var(--ir-secondary-size);
	line-height: 1.45;
}

.ir-quiz-explanation-tabs button {
	font: inherit;
	font-size: var(--ir-secondary-size);
	font-weight: var(--ir-text-weight-semibold);
}

.ir-quiz-explanation-panel {
	font-size: var(--ir-body-size);
	line-height: 1.65;
}

/* modules/referral/referral.css — existing selectors remain compatible. */

.ir-referral-card h2 {
	font-size: clamp(25px, 5vw, 32px);
	line-height: 1.15;
}

.ir-referral-card > p {
	font-size: 16px;
	line-height: 1.55;
}

.ir-referral-form label {
	font-size: var(--ir-body-size);
	font-weight: var(--ir-text-weight-bold);
}

.ir-referral-error {
	font-size: var(--ir-body-size);
	line-height: 1.45;
}

/* modules/sidebar/sidebar.css — existing selectors remain compatible. */

.ir-menu a {
	font-size: var(--ir-menu-font-size, 14.832px);
	font-weight: var(--ir-menu-font-weight, 500);
	letter-spacing: var(--ir-menu-letter-spacing, .4px);
}

.ir-logout {
	font-weight: var(--ir-text-weight-semibold);
}

@media (max-width:767px) {
.ir-sidebar-toggle span {
	font-size: 36px;
	font-weight: 300;
	line-height: 1;
}
}

/* modules/unavailable/unavailable.css — existing selectors remain compatible. */

.ir-page-unavailable {
	font-family: var(--ir-text-font);
}

.ir-page-unavailable__eyebrow {
	font-size: var(--ir-secondary-size);
	font-weight: var(--ir-text-weight-bold);
	letter-spacing: .08em;
}

.ir-page-unavailable h1 {
	font-size: clamp(25px, 3vw, 34px);
	font-weight: var(--ir-text-weight-bold);
	letter-spacing: -.03em;
	line-height: 1.15;
}

.ir-page-unavailable__message {
	font-size: 16px;
	line-height: 1.55;
}

@media (max-width:600px) {
.ir-page-unavailable__message {
	font-size: 15px;
}
}

/* Authoritative title mappings from the previous theme retain their original priority. */
:is(
	.ir-dashboard-header h1,
	.ir-work-calendar-header h1,
	.ir-profile-page-header h1,
	.ir-notifications-header h1,
	.ir-exam-result-header h1,
	.ir-exam-history-header h1,
	.ir-practice-result-card h1,
	.ir-page-unavailable h1,
	.ir-theme-page-title
) {
	color: var(--ir-page-title-color) !important;
	font-family: var(--ir-page-title-font) !important;
	font-size: var(--ir-text-size-page-title) !important;
	font-weight: var(--ir-page-title-weight) !important;
	line-height: var(--ir-page-title-height) !important;
	letter-spacing: var(--ir-page-title-tracking) !important;
}

:is(
	.ir-learn-selector h1,
	.ir-practice-builder > header h1,
	.ir-practice-builder-header h1,
	.ir-exam-paused h1,
	.ir-hello-form h1,
	.ir-hello-referral h1,
	.ir-hello-complete h1,
	.ir-exam-generation-modal__card h2,
	.ir-theme-flow-title
) {
	color: var(--ir-page-title-color) !important;
	font-family: var(--ir-page-title-font) !important;
	font-size: var(--ir-text-size-flow-title) !important;
	font-weight: var(--ir-page-title-weight) !important;
	line-height: var(--ir-page-title-height) !important;
	letter-spacing: var(--ir-page-title-tracking) !important;
}

:is(
	.ir-dashboard h2,
	.ir-work-card-heading h2,
	.ir-monthly-statistics h2,
	.ir-profile-card-heading h2,
	.ir-notifications-list-header h2,
	.ir-notifications-detail h2,
	.ir-practice-modal-header h2,
	.ir-practice-complete h2,
	.ir-practice-total-step > h2,
	.ir-practice-distribution-step > h2,
	.ir-practice-explanation-step h2,
	.ir-practice-answer-step h2,
	.ir-practice-summary-intro h2,
	.ir-quiz-question-card h2,
	.ir-exam-history-empty h2,
	.ir-theme-section-title
) {
	color: var(--ir-section-title-color) !important;
	font-family: var(--ir-section-title-font) !important;
	font-size: var(--ir-text-size-section-title) !important;
	font-weight: var(--ir-section-title-weight) !important;
	line-height: var(--ir-section-title-height) !important;
	letter-spacing: var(--ir-section-title-tracking) !important;
}

:is(
	.ir-dashboard h3,
	.ir-community-panel-heading h1,
	.ir-community-panel-heading h2,
	.ir-community-feed-content h3,
	.ir-practice-section-heading h2,
	.ir-practice-question-unavailable h2,
	.ir-quiz-explanation-card h2,
	.ir-exam-intro h1,
	.ir-exam-result-chart h2,
	.ir-exam-confirm-card h2,
	.ir-referral-card h2,
	.ir-theme-card-title
) {
	color: var(--ir-card-title-color) !important;
	font-family: var(--ir-card-title-font) !important;
	font-size: var(--ir-text-size-card-title) !important;
	font-weight: var(--ir-card-title-weight) !important;
	line-height: var(--ir-card-title-height) !important;
	letter-spacing: var(--ir-card-title-tracking) !important;
}

:is(
	.ir-dashboard-subtitle,
	.ir-work-calendar-header > p,
	.ir-profile-page-header > p,
	.ir-notifications-header > p,
	.ir-exam-result-header > p,
	.ir-practice-result-card header > p,
	.ir-page-unavailable__message,
	.ir-community-panel-heading > p
) {
	font-family: var(--ir-secondary-font) !important;
	font-size: var(--ir-secondary-description-size) !important;
	font-weight: var(--ir-secondary-weight) !important;
	line-height: var(--ir-secondary-height) !important;
}

.ir-theme-body {
	font-size: var(--ir-body-size) !important;
	font-weight: var(--ir-body-weight) !important;
	line-height: var(--ir-body-height) !important;
}

@media (max-width: 768px) {
:is(
		.ir-dashboard-header h1,
		.ir-work-calendar-header h1,
		.ir-profile-page-header h1,
		.ir-notifications-header h1,
		.ir-exam-result-header h1,
		.ir-exam-history-header h1,
		.ir-practice-result-card h1,
		.ir-page-unavailable h1,
		.ir-theme-page-title
	) {
	font-size: var(--ir-text-size-page-title-small) !important;
}

:is(
		.ir-learn-selector h1,
		.ir-practice-builder > header h1,
		.ir-practice-builder-header h1,
		.ir-exam-paused h1,
		.ir-hello-form h1,
		.ir-hello-referral h1,
		.ir-hello-complete h1,
		.ir-exam-generation-modal__card h2,
		.ir-theme-flow-title
	) {
	font-size: var(--ir-text-size-flow-title-small) !important;
}

:is(
		.ir-dashboard h2,
		.ir-work-card-heading h2,
		.ir-monthly-statistics h2,
		.ir-profile-card-heading h2,
		.ir-notifications-list-header h2,
		.ir-notifications-detail h2,
		.ir-practice-modal-header h2,
		.ir-practice-complete h2,
		.ir-practice-total-step > h2,
		.ir-practice-distribution-step > h2,
		.ir-practice-explanation-step h2,
		.ir-practice-answer-step h2,
		.ir-practice-summary-intro h2,
		.ir-quiz-question-card h2,
		.ir-exam-history-empty h2,
		.ir-theme-section-title
	) {
	font-size: var(--ir-text-size-section-title-small) !important;
}

:is(
		.ir-dashboard h3,
		.ir-community-panel-heading h1,
		.ir-community-panel-heading h2,
		.ir-community-feed-content h3,
		.ir-practice-section-heading h2,
		.ir-practice-question-unavailable h2,
		.ir-quiz-explanation-card h2,
		.ir-exam-intro h1,
		.ir-exam-result-chart h2,
		.ir-exam-confirm-card h2,
		.ir-referral-card h2,
		.ir-theme-card-title
	) {
	font-size: var(--ir-text-size-card-title-small) !important;
}
}
@media (max-width: 768px) {
.ir-text-page-title { font-size: var(--ir-text-size-page-title-small); }
.ir-text-section-title { font-size: var(--ir-text-size-section-title-small); }
.ir-text-card-title { font-size: var(--ir-text-size-card-title-small); }
}
