:root {
    --tg-navy-900: #172033;
    --tg-navy-700: #344054;
    --tg-blue-700: #1f4e8c;
    --tg-blue-800: #173b6b;
    --tg-blue-050: #e8f1fb;
    --tg-teal-700: #16756f;
    --tg-teal-050: #e4f3f1;
    --tg-neutral-000: #ffffff;
    --tg-neutral-050: #f8fafc;
    --tg-neutral-100: #f5f7fa;
    --tg-neutral-200: #dde5ef;
    --tg-neutral-500: #667085;
    --tg-danger-700: #a33a3a;
    --tg-warning-700: #8a5a00;
    --tg-radius-sm: 6px;
    --tg-radius-md: 8px;
    --tg-shadow-sm: 0 1px 2px #12213a0f;
    --tg-space-page-x: 32px;
    --tg-space-page-y: 28px;
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
    color: var(--tg-navy-900);
    background: var(--tg-neutral-100);
}
* { box-sizing: border-box; }
body { margin: 0; }
main, body > #app { max-width: 1180px; margin: 0 auto; padding: 28px 22px 60px; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 3px; font-size: 1.85rem; line-height: 1.2; }
h2 { margin-bottom: 12px; font-size: 1.15rem; line-height: 1.3; }
.page-header, .selectors, .status-row, .section-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.eyebrow, .stage-label, .node-type { color: #526078; font-size: .72rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.card { background: var(--tg-neutral-000); border: 1px solid var(--tg-neutral-200); border-radius: var(--tg-radius-md); padding: 18px; box-shadow: var(--tg-shadow-sm); }
.selectors { justify-content: flex-start; margin: 18px 0 22px; padding: 14px 16px; }
.selectors .primary { margin-left: auto; }
label { display: grid; gap: 6px; color: #526078; font-size: .82rem; font-weight: 650; min-width: 280px; }
select, button { font: inherit; }
select { padding: 9px 10px; border: 1px solid #cbd3df; border-radius: 6px; background: white; color: #172033; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
.primary { min-height: 40px; border: 0; border-radius: var(--tg-radius-sm); background: var(--tg-blue-700); color: white; padding: 9px 16px; font-weight: 650; cursor: pointer; }
.result-card a.primary { display: inline-flex; align-items: center; text-decoration: none; }
.primary:hover:not(:disabled) { background: #173f72; }
.assessment-submit-spinner { margin-right: 6px; vertical-align: middle; }
.primary:focus-visible, .secondary:focus-visible { outline: 3px solid #9fc5f8; outline-offset: 2px; }
.primary:disabled, .secondary:disabled { cursor: not-allowed; opacity: .62; }
.admin-nav { display: flex; gap: 6px; margin-bottom: 22px; padding-bottom: 10px; border-bottom: 1px solid #dce2ea; }
.admin-nav a { padding: 8px 11px; border-radius: 6px; color: #42516a; text-decoration: none; font-weight: 650; }
.admin-nav a.active { color: #174f89; background: #e5f1ff; }
.profile-menu { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.auth-page { max-width: 520px; margin: 8vh auto; padding: 24px; background: white; border: 1px solid #dfe4ec; border-radius: 6px; }
.auth-page .primary { margin-top: 18px; }
.tenant-choice-list { display: grid; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.tenant-choice-list button { display: flex; width: 100%; justify-content: space-between; }
.section-block { margin-bottom: 24px; }
.section-heading p { margin-bottom: 8px; }
.curriculum-tree { display: grid; justify-items: center; align-content: start; overflow-x: auto; padding: 12px; border: 1px solid #dfe5ee; border-radius: 10px; background: #fbfcfe; }
.curriculum-tree ul { display: flex; justify-content: center; position: relative; width: max-content; min-width: 100%; margin: 0; padding: 18px 0 0; list-style: none; }
.curriculum-tree .skill-root-row { gap: 8px; min-width: 0; padding: 0; }
.curriculum-branch { position: relative; padding: 18px 5px 0; text-align: center; }
.curriculum-branch::before, .curriculum-branch::after { content: ""; position: absolute; top: 0; right: 50%; width: 50%; height: 18px; border-top: 1px solid #aebbd0; }
.curriculum-branch::after { right: auto; left: 50%; border-left: 1px solid #aebbd0; }
.curriculum-branch:only-child::before, .curriculum-branch:only-child::after { display: none; }
.curriculum-branch:first-child::before, .curriculum-branch:last-child::after { border: 0; }
.curriculum-branch:last-child::before { border-right: 1px solid #aebbd0; border-radius: 0 5px 0 0; }
.curriculum-branch:first-child::after { border-radius: 5px 0 0 0; }
.curriculum-branch > ul::before { content: ""; position: absolute; top: 0; left: 50%; height: 18px; border-left: 1px solid #aebbd0; }
.skill-root-row .curriculum-branch { padding: 0 5px; }
.skill-root-row .curriculum-branch::before, .skill-root-row .curriculum-branch::after { display: none; }
.tree-node-shell { display: inline-grid; justify-items: center; position: relative; }
.org-node { display: grid; justify-items: center; gap: 4px; width: max-content; min-width: 126px; max-width: 168px; min-height: 54px; padding: 7px 9px; border: 1px solid #d8deea; border-radius: 7px; background: white; color: inherit; text-align: center; }
.org-node strong { overflow-wrap: anywhere; font-size: .82rem; line-height: 1.2; }
.org-node:hover { border-color: #7b9dcc; }
.org-node.selected { border-color: #2457a6; background: #f5f9ff; box-shadow: 0 0 0 3px #2457a629; }
.org-node.skill-node { color: #fff; border-color: #315c91; background: #315c91; }
.org-node.skill-node:hover { border-color: #163e70; background: #294f7e; }
.org-node.skill-node.selected { color: #fff; border-color: #0c315f; background: #244b7a; box-shadow: 0 0 0 3px #2457a640; }
.branch-toggle { display: grid; place-items: center; width: 20px; height: 20px; margin-top: 4px; padding: 0; border: 1px solid #aebbd0; border-radius: 50%; background: #fff; color: #42516a; font-size: .8rem; font-weight: 750; line-height: 1; }
.branch-toggle:hover { border-color: #2457a6; color: #174f89; }
.root-toggle { position: relative; margin-top: 6px; }
.root-toggle::before { content: ""; position: absolute; bottom: 100%; left: 50%; height: 6px; border-left: 1px solid #aebbd0; }
.mastery { justify-self: center; border-radius: 999px; padding: 2px 6px; font-size: .68rem; font-weight: 700; white-space: nowrap; }
.mastery.known { color: #1a5d42; background: #e7f6ef; }
.mastery.unknown { color: #6a5360; background: #f2edf0; }
.summary-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.summary-card h3, .tutor-response h3, .technical h3 { margin-bottom: 10px; font-size: 1rem; }
.summary-card .detail-grid { grid-template-columns: 125px 1fr; }
.detail-grid { display: grid; grid-template-columns: minmax(140px, 210px) 1fr; gap: 8px 18px; margin: 0; }
.detail-grid dt { color: #647187; font-size: .84rem; }
.detail-grid dd { margin: 0; }
.pipeline { max-width: 980px; margin: 0 auto; }
.stage header { display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid #e5e9ef; padding-bottom: 9px; margin-bottom: 13px; }
.stage header small { color: #8a4d32; }
.stage-content > :last-child { margin-bottom: 0; }
.pipeline-arrow { text-align: center; color: #718096; font-size: 1.4rem; height: 34px; line-height: 34px; }
.action-chip { display: inline-block; padding: 5px 10px; margin-bottom: 12px; border-radius: 999px; color: #174f89; background: #e5f1ff; font-weight: 750; }
.action-chip.prominent { font-size: 1.05rem; padding: 7px 12px; }
.tutor-response h3:not(:first-child) { margin-top: 18px; }
.tutor-response > :last-child, .component-error > :last-child { margin-bottom: 0; }
.component-error { border-left: 4px solid #b85a5a; padding: 4px 0 4px 14px; }
.component-error p { margin: 6px 0 12px; color: #7c2525; }
.secondary { min-height: 40px; padding: 8px 12px; border: 1px solid #9ca9bb; border-radius: var(--tg-radius-sm); background: white; color: #26344b; font-weight: 650; cursor: pointer; }
.secondary:hover:not(:disabled) { border-color: #66758c; background: #f5f7fa; }
.compact-form { margin: 18px 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 16px 18px; }
.form-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.form-grid label, .wide-label { min-width: 0; }
.form-grid label { display: flex; flex-direction: column; align-items: stretch; }
input, textarea { width: 100%; padding: 9px 10px; border: 1px solid #cbd3df; border-radius: 6px; background: white; color: #172033; font: inherit; }
input[aria-invalid="true" i], textarea[aria-invalid="true" i] { border-color: #b85a5a; box-shadow: 0 0 0 2px #f7d7d7; }
.field-error,
.tg-field-validation { color: var(--mud-palette-error); font-size: .78rem; line-height: 1.25; margin-top: 3px; }
.math-symbol-palette { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-top: 6px; }
.math-symbol-palette .muted { margin-right: 2px; font-size: 0.8rem; }
.symbol-button { min-width: 30px; padding: 4px 7px; border: 1px solid #cbd3df; border-radius: 4px; background: #f8fafc; color: #172033; cursor: pointer; }
.symbol-button:hover { background: #e8eef7; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 12px; margin-top: 20px; }
.result-card { margin: 14px 0; }
.course-list-search { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; margin: 16px 0 20px; }
.course-list-search label { width: 100%; font-weight: 700; }
.course-list-search input { flex: 1 1 240px; min-width: 0; }
.result-card .course-list-search .secondary { margin-top: 0; }
.course-list-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; margin-top: 20px; }
.result-card .course-list-pagination .secondary { margin-top: 0; }
.course-badges { margin: 1rem 0; }
.course-badges h2 { font-size: 1.1rem; }
.course-badges ul { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; }
.course-badges li { border: 1px solid currentColor; border-radius: .5rem; padding: .4rem .65rem; }
.topic-completion { margin: .8rem 0; padding: .75rem 1rem; border-left: 3px solid #398457; background: #edf7ef; color: #214f34; }
.result-card .secondary, .result-card .primary { margin-top: 14px; }
.answer-option { min-width: 0; padding: 8px 10px; border: 1px solid transparent; border-radius: 6px; }
.answer-option.correct-answer { border-color: #3f8f67; background: #ebf8f1; color: #174b35; }
.answer-option.learner-selected-answer { border-color: #2457a6; box-shadow: inset 0 0 0 1px #2457a6; }
.answer-option.incorrect-answer { border-color: #b85a5a; background: #fff3f3; color: #7c2525; }
.answer-review { display: grid; grid-template-columns: 125px 1fr; gap: 8px 14px; margin: 12px 0; }
.answer-review dt { color: #647187; font-size: .84rem; }
.answer-review dd { margin: 0; }
.answer-review .correct-answer { color: #174b35; font-weight: 700; }
.answer-review .learner-selected-answer { color: #294e78; font-weight: 700; }
.metric { font-size: 1.25rem; font-weight: 750; }
.question-text { font-size: 1.08rem; line-height: 1.55; }
.wide-label { margin-top: 18px; }
.mastery-change { display: flex; align-items: center; gap: 14px; margin: 16px 0; font-size: 1.1rem; }
.session-overview { margin: 16px 0; }
.session-route { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.session-route div { display: grid; gap: 4px; }
.navigation-transition { margin-top: 16px; padding: 10px 12px; border-radius: 6px; background: #f0f5fb; color: #294e78; font-weight: 750; }
.timeline { display: grid; gap: 8px; padding: 0; list-style: none; }
.timeline li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid #edf0f4; }
.timeline li div { display: grid; gap: 2px; }
.timeline small { color: #647187; }
.timeline-sequence { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: #e8eef6; color: #43536c; font-size: .75rem; font-weight: 750; }
.draft-tree { display: grid; gap: 8px; margin-top: 16px; }
.draft-tree details { padding: 8px 10px; border-left: 2px solid #7795ba; background: #f8fafc; }
.draft-tree summary { cursor: pointer; font-weight: 750; }
.draft-tree ul { display: grid; gap: 6px; margin-bottom: 0; }
.draft-tree li { display: grid; gap: 2px; }
.draft-tree li span, .draft-tree li small { color: #647187; font-size: .78rem; }
.source-picker { margin-top: 12px; padding: 10px 12px; border: 1px solid #dfe4ec; border-radius: 7px; }
.source-picker summary { cursor: pointer; font-weight: 750; }
.source-picker[open] summary { margin-bottom: 12px; }
.link-button { border: 0; background: transparent; color: #245b91; cursor: pointer; margin-left: 8px; padding: 0; }
.warning { color: #805b00; background: #fff7df; border-left: 3px solid #e1ad2f; padding: 8px 10px; }
.source-checklist { display: grid; gap: 6px; padding: 0; list-style: none; }
.source-checklist label { display: flex; align-items: flex-start; gap: 8px; min-width: 0; }
.source-checklist span, .source-checklist small { display: block; }
.authoring-tabs { display: flex; gap: 8px; max-width: 100%; overflow-x: auto; margin: 18px 0 0; border-bottom: 1px solid #dfe4ec; }
.authoring-tabs > span, .authoring-tabs > button { flex: 0 0 auto; padding: 10px 14px; border: 0; background: transparent; color: #7a8494; font-weight: 700; }
.authoring-tabs > span.active, .authoring-tabs > button.active { color: #174f89; border-bottom: 3px solid #2457a6; }
.authoring-tabs small { display: block; margin-top: 2px; font-size: .68rem; font-weight: 500; }
.curriculum-path-list .objective-card.selected { border-color: #2457a6; box-shadow: 0 0 0 2px #dcecff; }
.path-node-button { display: block; padding: 0; border: 0; background: transparent; color: #174f89; font: inherit; text-align: left; cursor: pointer; }
.path-node-button:hover { text-decoration: underline; }
.path-prerequisites { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 8px; }
.prerequisite-chip { padding: 3px 8px; border-radius: 999px; background: #fff3d8; color: #745313; font-size: .82rem; }
.draft-prerequisites { grid-column: 1 / -1; display: grid; gap: 7px; margin-top: 12px; padding: 10px 12px; border: 1px solid #e1e6ed; border-radius: 7px; background: #fbfcfe; }
.draft-prerequisites h5 { margin: 0; color: #526078; font-size: .82rem; font-weight: 750; }
.draft-prerequisites p { margin: 0; }
.draft-prerequisite-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 36px; padding: 6px 8px; border: 1px solid #ead9a7; border-radius: 6px; background: #fff8e7; color: #594316; }
.draft-prerequisite-row span { min-width: 0; overflow-wrap: anywhere; }
.draft-prerequisite-row .secondary { margin-top: 0; padding: 5px 10px; }
.draft-prerequisite-add { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(260px, 1fr) auto; align-items: end; gap: 10px; margin-top: 10px; }
.draft-prerequisite-add label { min-width: 0; }
.draft-add-prerequisite-button { align-self: end; width: max-content; margin-top: 0; white-space: nowrap; }
.objective-list { display: grid; gap: 12px; }
.objective-card { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 15px 0; border-top: 1px solid #edf0f4; }
.objective-card:first-child { border-top: 0; }
.objective-card h3 { margin-bottom: 7px; font-size: 1rem; }
.objective-card p { line-height: 1.5; }
.visual-panels { display: grid; gap: 12px; margin-top: 14px; }
.visual-additional-heading { margin-bottom: 0; }
.visual-additional-heading h2 { margin: 0; }
.visual-additional-heading .action-chip { margin: 0; }
.visual-panel { min-width: 0; border: 1px solid #dfe4ec; border-radius: 8px; background: #fff; overflow: hidden; }
.visual-panel.attention { border: 2px solid #c94343; }
.visual-panel-header { display: flex; align-items: center; gap: 12px; padding: 8px 14px; }
.visual-panel-toggle { display: flex; align-items: center; justify-content: flex-start; gap: 10px; flex: 1 1 20rem; min-width: 0; padding: 4px 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.visual-panel-toggle:focus-visible { outline: 2px solid #2457a6; outline-offset: 3px; }
.visual-panel-chevron { color: #596579; font-size: 1.2rem; }
.visual-panel-heading { display: grid; gap: 3px; min-width: 0; overflow-wrap: anywhere; }
.visual-panel-heading span { color: #596579; font-size: .9rem; }
.visual-panel-toggle .action-chip { flex: 0 0 auto; margin: 0; }
.visual-panel.attention .action-chip { color: #982c2c; background: #fceeee; }
.visual-panel-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.visual-panel-actions .secondary { margin-top: 0; white-space: nowrap; }
.visual-panel-body { min-width: 0; padding: 0 14px 16px; border-top: 1px solid #edf0f4; overflow-wrap: anywhere; }
.visual-panel-body .authored-visual { max-width: 100%; overflow: auto; }
.visual-preview-review { display: grid; gap: 8px; margin-top: 10px; }
.visual-preview-review label { display: flex; align-items: flex-start; gap: 8px; min-width: 0; width: 100%; }
.visual-preview-review input[type="checkbox"] { flex: 0 0 16px; width: 16px; height: 16px; margin-top: 2px; padding: 0; }
.visual-preview-review .visual-panel-actions { justify-self: start; }
@media (max-width: 800px) { .visual-panel-header { flex-wrap: wrap; } .visual-panel-actions { padding-left: 24px; } }
.draft-node-card { grid-template-columns: 34px minmax(0, 1fr); }
.draft-node-body { min-width: 0; display: grid; gap: 12px; }
.draft-node-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: 12px; min-width: 0; }
.draft-node-fields label, .draft-evidence-warning label { display: grid; gap: 5px; min-width: 0; }
.draft-node-fields input, .draft-node-fields select, .draft-evidence-warning select { box-sizing: border-box; width: 100%; min-width: 0; }
.draft-node-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.draft-evidence-warning { min-width: 0; overflow-wrap: anywhere; }
.draft-evidence-warning ul { margin: 7px 0 12px; padding-left: 20px; }
.draft-evidence-warning details { margin-top: 10px; }
.draft-evidence-warning details p { max-height: 14rem; overflow: auto; white-space: pre-wrap; }
.draft-node-body .draft-prerequisite-add { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.draft-node-body .draft-prerequisite-add select { box-sizing: border-box; width: 100%; min-width: 0; }
.draft-node-body .draft-add-prerequisite-button { max-width: 100%; white-space: normal; }
.assessment-intent-card { min-width: 0; border: 1px solid #dfe4ec; border-radius: 8px; background: #fff; }
.assessment-intent-card.incomplete { border-color: #e4b4b4; }
.assessment-intent-card.excluded { background: #f8f9fb; }
.assessment-intent-card summary { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; padding: 14px; cursor: pointer; list-style: none; }
.assessment-intent-card summary::-webkit-details-marker { display: none; }
.assessment-intent-card summary::before { content: "▸"; color: #687588; }
.assessment-intent-card details[open] summary::before { content: "▾"; }
.assessment-intent-card summary:focus-visible { outline: 2px solid #2457a6; outline-offset: 2px; }
.assessment-intent-card .action-chip { margin-bottom: 0; color: #526071; background: #edf0f4; }
.assessment-intent-card.incomplete .action-chip { color: #9a4545; background: #fceeee; }
.assessment-intent-title { flex: 1 1 240px; min-width: 0; font-weight: 600; overflow-wrap: anywhere; }
.assessment-intent-meta { color: #596579; font-size: .9rem; }
.assessment-intent-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; min-width: 0; padding: 0 14px 14px; }
.assessment-intent-body .content-element { min-width: 0; }
.generated-review-card { display: block; width: 100%; min-width: 0; padding: 14px; border: 1px solid #dfe4ec; border-radius: 8px; background: #fbfcfe; }
.generated-review-card > div { min-width: 0; overflow-wrap: break-word; }
.generated-review-card h3 { margin-bottom: 7px; font-size: 1rem; }
.generated-review-card p { line-height: 1.5; }
.generated-review-card label, .generated-review-card textarea { min-width: 0; max-width: 100%; }
.generated-review-card .review-actions button { max-width: 100%; }
.assessment-intent-actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 14px 14px; }
.objective-card.learning-content-objective { grid-template-columns: 34px minmax(0, 1fr); width: 100%; min-width: 0; gap: 12px; padding: 14px; border: 1px solid #dfe4ec; border-radius: 8px; background: #fff; margin: 0 0 12px; }
.objective-card.learning-content-objective:first-child { border-top: 1px solid #dfe4ec; }
.objective-list .learning-content-objective { margin-bottom: 0; }
.learning-content-objective-body { min-width: 0; overflow-wrap: anywhere; }
.learning-content-objective-body h3 { margin: 2px 0 8px; }
.learning-content-empty { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; min-width: 0; }
.learning-content-empty p { margin: 0; }
.add-learning-content-button { white-space: nowrap; flex: 0 0 auto; }
.result-card .learning-content-empty .add-learning-content-button, .learning-content-empty .add-learning-content-button { margin-top: 0; }
.add-learning-content-form { display: grid; gap: 12px; min-width: 0; }
.add-learning-content-form label { display: grid; gap: 5px; min-width: 0; }
.add-learning-content-form select, .add-learning-content-form input, .add-learning-content-form textarea { box-sizing: border-box; display: block; width: 100%; min-width: 0; max-width: 100%; }
.add-learning-content-form textarea { min-height: 14rem; resize: vertical; }
.add-learning-content-form p { margin: 0; }
.add-learning-content-form .educator-preview { min-width: 0; overflow-wrap: anywhere; }
.authored-visual { margin: 0.75rem 0 0; }
.authored-visual svg { display: block; max-width: 100%; height: auto; }
.authored-visual img { display: block; max-width: 100%; max-height: 30rem; height: auto; object-fit: contain; }
.formatted-learning-text p { margin: .45rem 0; white-space: pre-wrap; }
.formatted-learning-text h3, .formatted-learning-text h4, .formatted-learning-text h5 { margin: .7rem 0 .3rem; }
.formatted-learning-text ul { padding-left: 1.4rem; margin: .4rem 0; }
.review-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin: .6rem 0; }
.educator-editor, .educator-preview { border: 1px solid #cbd5e1; border-radius: .6rem; padding: 1rem; margin: .75rem 0; }
.educator-editor label, .educator-image-upload label { display: grid; gap: .3rem; margin: .5rem 0; }
.educator-editor input, .educator-editor textarea, .educator-image-upload input { width: 100%; max-width: 100%; padding: .5rem; }
.educator-editor textarea { min-height: 7rem; resize: vertical; }
.review-option-row { display: flex; flex-wrap: wrap; gap: .4rem; margin: .4rem 0; }
.review-option-row input:first-child { width: 4rem; }
.review-option-row input:nth-child(2) { flex: 1 1 12rem; }
.educator-image-upload { display: flex; flex-wrap: wrap; align-items: end; gap: .5rem; margin: .7rem 0; }
.authored-visual figcaption { color: rgba(0, 0, 0, 0.64); font-size: .9rem; margin-top: .35rem; }
.authoring-node-panel { margin: -4px 0 8px 46px; padding: 0 0 14px 16px; border-left: 3px solid #dcecff; }
.authoring-node-panel .authoring-tabs { margin-top: 4px; }
.authoring-node-panel .objective-list { margin: 8px 0; }
.objective-sequence { display: grid; place-items: center; align-self: start; width: 30px; height: 30px; border-radius: 50%; color: #174f89; background: #e5f1ff; font-weight: 750; }
.objective-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.objective-actions .secondary { margin-top: 0; }
.objective-evidence { display: grid; gap: 10px; margin-top: 12px; padding: 12px; border: 1px solid #dfe4ec; border-radius: 7px; background: #f8fafc; }
.objective-evidence section + section { padding-top: 10px; border-top: 1px solid #e1e6ed; }
.objective-evidence span { display: block; margin-top: 3px; }
.objective-evidence p { margin: 8px 0 0; }
.form-actions.centered { justify-content: center; }
.assessment-intents { display: grid; gap: 10px; padding-left: 22px; }
.assessment-intents li { padding-left: 5px; }
.assessment-intents p { margin: 4px 0; }
.technical { margin-top: 8px; padding: 0; }
.technical > summary { cursor: pointer; padding: 15px 18px; font-weight: 750; }
.technical-content { display: grid; gap: 20px; padding: 4px 18px 20px; border-top: 1px solid #e5e9ef; }
.technical-content section { padding-top: 18px; }
.technical-content section + section { border-top: 1px solid #edf0f4; }
.chunks { display: grid; gap: 10px; padding-left: 24px; }
.chunks li { padding-left: 5px; }
.chunks span { display: block; color: #647187; font-size: .84rem; margin-top: 3px; }
.chunks span.inline { display: inline; }
.chunks p { margin: 7px 0; line-height: 1.45; }
.mono { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .82rem; word-break: break-all; }
.muted { color: #68758a; }
.error { margin: 15px 0; padding: 12px 15px; border: 1px solid #dca8a8; background: #fff0f0; color: #7c2525; border-radius: var(--tg-radius-md); }
.compact-error { margin: 0; }
table { width: 100%; border-collapse: collapse; font-size: .86rem; }
.table-wrap { max-width: 100%; overflow-x: auto; }
th, td { padding: 8px; border-bottom: 1px solid #e6eaf0; text-align: left; vertical-align: top; }
th { color: #526078; }
.compact-id { max-width: 190px; }
.boot, .loading { padding: 40px; text-align: center; color: #647187; }
#blazor-error-ui { display: none; position: fixed; bottom: 0; left: 0; right: 0; padding: 12px; background: #fff1cc; }
@media (max-width: 700px) {
    .page-header, .selectors { align-items: stretch; flex-direction: column; }
    .selectors .primary { margin-left: 0; }
    label { min-width: 0; }
    .detail-grid, .summary-grid, .form-grid, .form-grid.three, .session-route, .draft-prerequisite-add { grid-template-columns: 1fr; }
    .form-actions { align-items: stretch; flex-direction: column-reverse; }
    .form-actions > button, .form-actions > .mud-button-root { width: 100%; }
    .mud-dialog-actions { flex-wrap: wrap; gap: 8px; padding: 12px 16px 16px; }
    .mud-dialog-actions > .mud-button-root { flex: 1 1 9rem; min-height: 40px; margin: 0; }
    .admin-nav { overflow-x: auto; }
    .authoring-node-panel.learning-content-panel, .authoring-node-panel.question-panel { margin-left: 0; padding-left: 10px; }
    .learning-content-empty { align-items: stretch; }
    .learning-content-empty .add-learning-content-button { width: 100%; }
}
.math-display {
    display: block;
    overflow-x: auto;
    margin: 0.75rem 0;
}
.dashboard-welcome { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 8px 0 24px; }
.dashboard-welcome h1 { margin-bottom: 8px; }
.dashboard-welcome p:last-child { margin-bottom: 0; }
.dashboard-welcome label { min-width: min(280px, 100%); }
.continue-learning { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px; border-radius: 8px; background: #eaf3f2; border: 1px solid #c8dfdc; }
.continue-learning h2 { margin-bottom: 8px; font-size: 1.35rem; }
.continue-learning p { margin-bottom: 8px; }
.course-progress-stats { display: grid; gap: 9px; width: min(460px, 100%); margin-top: 14px; }
.course-progress-stats div { display: grid; gap: 3px; }
.course-progress-stats span { font-size: .82rem; font-weight: 650; }
.course-progress-stats progress { display: block; width: 100%; height: 8px; accent-color: #277d72; }
.course-progress-stats div + div progress { accent-color: #bd8240; }
.dashboard-continue { flex: 0 0 auto; white-space: normal; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); gap: 20px; margin-top: 22px; }
.dashboard-section { min-width: 0; padding: 18px 0; border-bottom: 1px solid #dfe4ec; }
.dashboard-section h2 { margin-bottom: 12px; }
.dashboard-section .eyebrow { margin-bottom: 7px; }
.dashboard-section .section-heading { margin-bottom: 14px; }
.dashboard-section .section-heading h2 { margin-bottom: 0; }
.course-card-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.course-card { flex: 1 1 11rem; max-width: 16rem; display: grid; gap: 6px; padding: 10px 12px; border: 1px solid #d5dce7; border-radius: 8px; background: #fff; }
.course-card.selected { border-color: #277d72; background: #eef7f5; box-shadow: inset 0 0 0 2px #277d72; }
.course-card-select { display: grid; gap: 4px; width: 100%; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.course-card-select:focus-visible { outline: 2px solid #277d72; outline-offset: 3px; }
.course-card-select:disabled { cursor: progress; }
.course-card p { margin: 0; font-size: .82rem; }
.journey-path { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.journey-path li { position: relative; min-height: 50px; padding: 0; color: #596579; }
.journey-path li:not(:last-child)::after { content: ""; position: absolute; top: 30px; bottom: -18px; left: 8px; width: 2px; background: #c9d8d6; }
.journey-node { position: relative; z-index: 1; display: grid; grid-template-columns: 20px minmax(0, 1fr) auto auto minmax(6.4rem, auto); align-items: center; gap: 10px; min-height: 50px; padding: 7px 5px; color: inherit; text-decoration: none; }
.journey-node:hover .journey-node-name { text-decoration: underline; }
.journey-node:focus-visible { outline: 2px solid #277d72; outline-offset: 2px; }
.journey-marker { z-index: 1; width: 17px; height: 17px; border: 2px solid #8b9a9b; border-radius: 50%; background: #fff; }
.journey-topic { display: grid; gap: 2px; min-width: 0; }
.journey-node-name { overflow-wrap: anywhere; }
.journey-coverage { color: #68758a; font-size: .74rem; font-weight: 500; line-height: 1.2; }
.journey-assessment-summary { color: #68758a; font-size: .72rem; white-space: nowrap; }
.journey-mastery { display: grid; justify-items: end; gap: 2px; min-width: 0; }
.journey-mastery-label { color: #68758a; font-size: .68rem; font-weight: 650; line-height: 1; text-transform: uppercase; }
.journey-path li.current { color: #194f49; font-weight: 750; }
.journey-path li.current .journey-node { border-radius: 6px; background: #e5f1ee; box-shadow: inset 3px 0 #277d72; }
.journey-path li.current .journey-marker { border-color: #277d72; background: #277d72; box-shadow: inset 0 0 0 3px white; }
.topic-status { font-size: .75rem; white-space: nowrap; }
.topic-status.not-started { color: #68758a; }
.topic-status.in-progress { color: #277d72; font-weight: 650; }
.topic-status.completed { color: #8b5b1c; font-weight: 700; }
.mastery-star-rating { display: inline-block; color: transparent; background: linear-gradient(to right, #b77b27 var(--mastery-fill), #c4ccd0 var(--mastery-fill)); background-clip: text; -webkit-background-clip: text; font-size: 1rem; line-height: 1; white-space: nowrap; }
.dashboard-side { min-width: 0; }
.recommendation-panel { padding-top: 18px; border-top: 3px solid #c88b39; }
.recommendation-panel h2 { font-size: 1.05rem; }
.activity-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.activity-list li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid #e5e9ef; }
.activity-list li > div { display: grid; gap: 3px; min-width: 0; }
.activity-list strong { overflow-wrap: anywhere; }
.activity-list small { color: #68758a; }
.activity-list li > span { flex: 0 0 auto; color: #1a5d42; font-weight: 700; }
.current-objectives { margin-top: 8px; }
.topic-summary { margin: 14px 0 20px; padding: 14px 16px; border-left: 3px solid #277d72; background: #f1f7f6; }
.topic-summary h3 { margin-bottom: 10px; font-size: .95rem; }
.topic-summary dl { display: grid; grid-template-columns: minmax(130px, auto) 1fr; gap: 7px 14px; margin: 0; align-items: center; }
.topic-summary dt { color: #596579; font-size: .84rem; }
.topic-summary dd { margin: 0; }
.current-objectives h3 { margin: 14px 0 8px; font-size: .98rem; }
.current-objectives li { padding: 4px 0; }
@media (max-width: 950px) {
    .dashboard-grid { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}
@media (max-width: 700px) {
    .dashboard-welcome, .continue-learning { align-items: stretch; flex-direction: column; }
    .dashboard-grid { grid-template-columns: 1fr; gap: 4px; }
    .journey-node { grid-template-columns: 20px minmax(0, 1fr) auto; gap: 8px; }
    .journey-assessment-summary { grid-column: 2 / 4; }
    .journey-mastery { grid-column: 2 / 4; justify-items: start; }
    .dashboard-continue { align-self: flex-start; }
}
.tg-layout { min-height: 100vh; }
body > #app { max-width: none; margin: 0; padding: 0; }
.tg-drawer { width: 260px; border-right: 1px solid #e3e8ef; }
.tg-side-nav { min-height: 100%; background: #fff; }
.tg-logo { display: block; max-width: 100%; height: auto; object-fit: contain; }
.tg-logo-normal, .tg-logo-darkbackground { width: min(180px, 100%); max-height: 45px; }
.tg-logo-compact { width: 34px; height: 34px; }
.tg-brand { display: flex; align-items: center; min-height: 72px; padding: 0 20px; }
.tg-brand-logo { width: 154px; max-height: 40px; }
.tg-brand-caption { display: block; color: #667085; }
.tg-nav-menu { padding: 10px 9px 18px; }
.tg-nav-menu .mud-nav-link { min-height: 38px; margin: 2px 0; border-radius: 5px; font-size: .84rem; }
.tg-nav-menu .mud-nav-group > .mud-nav-link { font-weight: 650; }
.tg-nav-disabled { padding: 8px 16px 8px 48px; color: #98a2b3; }
.tg-main-content { min-width: 0; min-height: 100vh; background: #f5f7fa; }
.tg-appbar { position: sticky; top: 0; z-index: 5; min-height: 64px; padding: 0 20px; border-bottom: 1px solid #e3e8ef; }
.tg-appbar-logo { display: none; margin-left: 4px; margin-right: 12px; }
.tg-breadcrumb-slot { min-width: 180px; }
.tg-breadcrumbs { padding: 0; }
.tg-tenant-button { height: 36px; padding: 2px 10px; border-color: #e3e8ef; text-align: left; }
.tg-tenant-label { display: grid; gap: 0; line-height: 1.15; }
.tg-tenant-label strong { max-width: 230px; overflow: hidden; color: #172033; font-size: .82rem; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.tg-profile-button { min-width: 0; gap: 8px; padding: 3px 6px; }
.tg-profile-name { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tg-profile-summary { display: grid; gap: 4px; max-width: 280px; padding: 12px 16px; }
.tg-profile-summary .mud-typography-caption { overflow-wrap: anywhere; }
.tg-page-content { width: 100%; max-width: 1480px; margin: 0 auto; padding: var(--tg-space-page-y) var(--tg-space-page-x) 48px; }
.tg-page-content > main { max-width: none; margin: 0; padding: 0; }
.tg-page-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin: 0 0 24px; }
.tg-page-header h1 { margin-bottom: 4px; }
.tg-page-primary-action { flex: 0 0 auto; }
.tg-mobile-menu { display: none; }
.mud-paper, .mud-button-root { letter-spacing: 0; }
.tg-entity-table { background: #fff; border: 1px solid #e3e8ef; border-radius: 6px; overflow: hidden; }
.tg-entity-table .mud-toolbar { flex-wrap: wrap; gap: 8px; height: auto; min-height: 56px; padding-block: 8px; }
.tg-entity-table-pager { user-select: none; }
.tg-grid-actions { display: flex; align-items: center; justify-content: flex-start; min-height: 32px; gap: 2px; white-space: nowrap; }
.tg-entity-table .mud-table-container { max-width: 100%; overflow-x: auto; }
.tg-table-search { width: min(280px, 100%); }
.tg-table-filter { width: 170px; }
.tg-detail-panel { min-width: 0; margin-top: 16px; padding: 20px; background: #fff; }
.tg-detail-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.tg-summary-grid { margin-top: 8px; }
.tg-chip-row { display: flex; flex-wrap: wrap; gap: 4px; }
.tg-status-badge { min-width: 78px; justify-content: center; }
.tg-role-selector { display: grid; gap: 4px; padding: 8px 0; }
.tg-empty-state { display: grid; justify-items: center; gap: 10px; padding: 34px 20px; text-align: center; }
.tg-loading-skeleton { display: grid; gap: 12px; padding: 4px 0; }
.tg-skeleton-block { border-radius: var(--tg-radius-sm); }
.tg-metric { display: grid; gap: 5px; }
.tg-public-layout { min-height: 100vh; background: #f6f8fb; }
.tg-public-layout .mud-main-content { padding-top: 0; }
/* FocusOnNavigate moves focus to page headings for screen-reader context. Headings are not
   interactive controls, so their programmatic focus must not appear as a control outline. */
.tg-public-layout h1:focus,
.tg-public-layout h2:focus,
.tg-public-layout h3:focus { outline: 0; }
.tg-public-nav { display: flex; align-items: center; gap: 18px; position: sticky; top: 0; z-index: 10; min-height: 68px; padding: 0 24px; border-bottom: 1px solid #e3e8ef; background: #ffffffd9; backdrop-filter: blur(10px); }
.tg-public-nav nav { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.tg-public-nav nav a { color: #42516a; text-decoration: none; font-weight: 650; }
.tg-public-nav nav a:not(.primary):not(.secondary) { padding: 8px 11px; }
.tg-public-nav nav a:not(.primary):not(.secondary):hover { color: #174f89; }
.tg-public-nav nav .primary, .tg-public-nav nav .secondary { display: inline-block; min-height: 40px; padding: 9px 16px; border-radius: var(--tg-radius-sm); }
.tg-public-nav nav .primary { color: #fff; }
.tg-public-nav nav .secondary { color: #26344b; }
.tg-public-brand { display: flex; align-items: center; width: min(172px, 42vw); color: #172033; font-weight: 750; text-decoration: none; }
.tg-home { width: min(1180px, 100%); margin: 0 auto; padding: 48px 24px 58px; }
.tg-public-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); align-items: center; gap: 44px; min-height: min(650px, calc(100vh - 90px)); }
.tg-hero-copy { max-width: 650px; }
.tg-hero-kicker { margin-bottom: 12px; color: var(--tg-teal-700); font-size: .78rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.tg-hero-title { margin-bottom: 18px; color: var(--tg-navy-900); font-size: clamp(2.45rem, 5vw, 4.25rem); line-height: 1.02; }
.tg-hero-text { max-width: 620px; margin-bottom: 26px; color: #526078; font-size: 1.17rem; line-height: 1.65; }
.tg-public-actions { flex-wrap: wrap; align-items: center; }
.tg-hero-visual { position: relative; min-height: 430px; border: 1px solid #c9d9eb; border-radius: 8px; background: radial-gradient(circle at 24% 28%, #e4f3f1 0 11%, transparent 12%), linear-gradient(135deg, #ffffff 0%, #eef5fc 52%, #e4f3f1 100%); box-shadow: 0 22px 50px #12213a1a; overflow: hidden; }
.tg-hero-visual::before { content: ""; position: absolute; inset: 28px; background-image: linear-gradient(#dbe6f2 1px, transparent 1px), linear-gradient(90deg, #dbe6f2 1px, transparent 1px); background-size: 44px 44px; opacity: .45; }
.tg-graph-card { position: absolute; z-index: 2; display: grid; gap: 4px; min-width: 158px; padding: 16px 18px; border: 1px solid #d6e2ee; border-radius: 8px; background: #ffffffed; box-shadow: 0 12px 28px #12213a18; }
.tg-graph-card span { color: #667085; font-size: .78rem; font-weight: 700; text-transform: uppercase; }
.tg-graph-card strong { color: var(--tg-navy-900); font-size: 1rem; }
.tg-graph-card-primary { top: 58px; left: 48px; border-color: #b6cce5; }
.tg-graph-card-secondary { top: 178px; right: 42px; border-color: #b9d9d5; }
.tg-graph-card-tertiary { left: 74px; bottom: 54px; border-color: #b6cce5; }
.tg-graph-line { position: absolute; z-index: 1; height: 2px; background: linear-gradient(90deg, var(--tg-blue-700), var(--tg-teal-700)); transform-origin: left center; opacity: .65; }
.tg-graph-line-one { top: 154px; left: 186px; width: 195px; transform: rotate(18deg); }
.tg-graph-line-two { right: 152px; bottom: 154px; width: 186px; transform: rotate(-28deg); }
.tg-graph-node { position: absolute; z-index: 3; width: 18px; height: 18px; border: 4px solid #fff; border-radius: 50%; background: var(--tg-teal-700); box-shadow: 0 0 0 2px #9fcfc8; }
.tg-graph-node-start { top: 146px; left: 180px; }
.tg-graph-node-progress { top: 206px; right: 202px; background: var(--tg-blue-700); box-shadow: 0 0 0 2px #a9c1df; }
.tg-graph-node-feedback { left: 190px; bottom: 134px; }
.tg-benefits { padding: 32px 0 6px; }
.tg-section-heading { max-width: 720px; margin-bottom: 22px; }
.tg-section-heading h2 { margin-bottom: 0; color: var(--tg-navy-900); font-size: 1.75rem; line-height: 1.25; }
.tg-benefit-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tg-benefit-card { min-width: 0; padding: 22px; border: 1px solid #dce5ef; border-radius: 8px; background: #fff; box-shadow: var(--tg-shadow-sm); }
.tg-benefit-icon { margin-bottom: 14px; }
.tg-benefit-card h3 { margin-bottom: 10px; color: var(--tg-navy-900); font-size: 1.02rem; line-height: 1.35; }
.tg-benefit-card p { margin-bottom: 0; color: #526078; line-height: 1.55; }
.tg-public-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; width: min(1180px, 100%); margin: 0 auto; padding: 22px 24px; border-top: 1px solid #e3e8ef; color: #667085; }
.tg-footer-logo { width: 138px; max-height: 36px; }
.tg-auth-surface { display: grid; place-items: start center; min-height: calc(100vh - 68px); padding: 44px 20px 48px; background: linear-gradient(180deg, #f6f8fb 0%, #eef5fc 100%); }
.tg-auth-card { width: min(500px, 100%); padding: 0; border: 1px solid #dce5ef; border-radius: 8px; background: #fff; box-shadow: 0 18px 44px #12213a14; }
.tg-auth-card .mud-card-content { padding: 28px; }
.tg-auth-logo { display: flex; align-items: center; margin-bottom: 20px; }
.tg-auth-logo .tg-logo { width: min(164px, 62vw); max-height: 42px; }
.tg-auth-title { margin-bottom: 8px; color: var(--tg-navy-900); font-size: 1.9rem; line-height: 1.18; }
.tg-auth-status-card { width: min(460px, 100%); }
.tg-auth-status-card .mud-card-content { padding: 30px; }
.tg-auth-status-card .tg-auth-title { margin-bottom: 12px; font-size: 1.7rem; }
.tg-auth-status-message { line-height: 1.6; }
.tg-auth-status-note { margin: 12px 0 24px; line-height: 1.55; }
.tg-auth-subtitle { max-width: 600px; margin-bottom: 22px; line-height: 1.55; }
.tg-auth-form { margin-top: 0; }
.tg-auth-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.tg-auth-secondary-action { margin: 0; color: #526078; text-align: center; }
.tg-auth-secondary-action .mud-link { margin-left: 4px; font-weight: 650; }
.tg-auth-section { display: grid; gap: 14px; padding: 18px; border: 1px solid #e1e8f0; border-radius: 8px; background: #fbfdff; }
.tg-auth-section h2 { margin: 0; color: var(--tg-navy-900); font-size: 1.05rem; line-height: 1.3; }
.tg-auth-section p { margin: -6px 0 0; color: #667085; font-size: .9rem; line-height: 1.45; }
.tg-auth-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.tg-auth-field-grid > .mud-input-control { min-width: 0; }
.tg-auth-error-list { display: grid; gap: 4px; margin-top: -4px; }
.tg-trial-card { width: min(760px, 100%); }
.tg-trial-surface { align-items: start center; padding-top: 36px; }
.tg-permission-matrix-scroll { max-width: 100%; overflow-x: auto; margin-top: 16px; }
.tg-permission-matrix { border-collapse: collapse; min-width: 100%; width: max-content; }
.tg-permission-matrix th, .tg-permission-matrix td { border-bottom: 1px solid var(--mud-palette-lines-default); padding: 10px 12px; text-align: center; }
.tg-permission-matrix thead th { background: var(--mud-palette-surface); font-weight: 600; position: sticky; top: 0; }
.tg-permission-matrix th:first-child { min-width: 240px; text-align: left; }
.tg-permission-matrix thead th:not(:first-child) { min-width: 150px; }
.tg-permission-matrix .tg-permission-area-row th { background: var(--mud-palette-background-grey); color: var(--mud-palette-text-primary); font-weight: 600; text-align: left; }
.tg-permission-matrix input[type="checkbox"] { accent-color: var(--mud-palette-primary); height: 16px; margin: 0; width: 16px; }
.tg-audit-table-scroll { max-width: 100%; overflow-x: auto; }
.tg-audit-table-scroll:focus-visible { outline: 3px solid #175a93; outline-offset: 2px; }
.tg-audit-table-scroll table { min-width: 1050px; width: max-content; }
.tg-audit-table-scroll pre { max-width: 380px; margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 960px) {
    .tg-home { padding-top: 34px; }
    .tg-public-hero { grid-template-columns: 1fr; gap: 30px; min-height: 0; }
    .tg-hero-copy { max-width: 760px; }
    .tg-hero-visual { min-height: 360px; }
    .tg-benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tg-auth-field-grid { grid-template-columns: 1fr; }
    .tg-mobile-menu { display: inline-flex; }
    .tg-appbar-logo { display: block; flex: 0 0 auto; }
    .tg-appbar { padding: 0 12px; }
    .tg-page-content { padding: 24px 20px 40px; }
    .tg-breadcrumb-slot { min-width: 0; }
}
@media (max-width: 620px) {
    .tg-public-nav { gap: 4px; padding-left: 10px; padding-right: 10px; }
    .tg-public-brand { width: min(150px, 38vw); }
    .tg-public-nav .mud-button-root { min-width: 0; padding-left: 8px; padding-right: 8px; }
    .tg-home { padding: 28px 16px 42px; }
    .tg-hero-title { font-size: 2.28rem; }
    .tg-hero-text { font-size: 1.02rem; line-height: 1.55; }
    .tg-public-actions { flex-direction: column; align-items: stretch; }
    .tg-public-actions .mud-button-root { width: 100%; }
    .tg-hero-visual { min-height: 310px; }
    .tg-graph-card { min-width: 128px; padding: 13px 14px; }
    .tg-graph-card-primary { top: 38px; left: 24px; }
    .tg-graph-card-secondary { top: 132px; right: 22px; }
    .tg-graph-card-tertiary { left: 34px; bottom: 40px; }
    .tg-graph-line-one { top: 124px; left: 126px; width: 142px; }
    .tg-graph-line-two { right: 108px; bottom: 126px; width: 132px; }
    .tg-graph-node-start { top: 116px; left: 122px; }
    .tg-graph-node-progress { top: 160px; right: 140px; }
    .tg-graph-node-feedback { left: 138px; bottom: 108px; }
    .tg-benefit-grid { grid-template-columns: 1fr; }
    .tg-public-footer { align-items: flex-start; flex-direction: column; }
    .tg-auth-surface { min-height: calc(100vh - 68px); padding: 24px 14px 36px; }
    .tg-auth-card .mud-card-content { padding: 22px 18px; }
    .tg-auth-title { font-size: 1.65rem; }
    .tg-auth-status-card .mud-card-content { padding: 24px 18px; }
    .tg-auth-row { align-items: flex-start; flex-direction: column; gap: 6px; }
    .tg-auth-section { padding: 16px; }
    .tg-appbar { gap: 3px; }
    .tg-page-content { padding: 18px 14px 32px; }
    .tg-page-header { align-items: stretch; flex-direction: column; gap: 12px; }
    .tg-page-primary-action, .tg-page-primary-action .mud-button-root { width: 100%; }
    .tg-tenant-button { width: 42px; min-width: 42px; overflow: hidden; padding: 0; }
    .tg-tenant-button .mud-button-end-icon, .tg-tenant-label { display: none; }
    .tg-profile-name, .tg-profile-button > .mud-icon-root { display: none; }
    .tg-breadcrumb-slot { flex: 1; overflow: hidden; }
    .tg-breadcrumbs { display: flex; flex-wrap: nowrap; overflow: hidden; }
    .tg-breadcrumbs .mud-breadcrumb-item:not(:last-child), .tg-breadcrumbs .mud-breadcrumb-separator { display: none; }
    .tg-breadcrumbs .mud-breadcrumb-item:last-child { min-width: 0; overflow: hidden; }
    .tg-breadcrumbs .mud-breadcrumb-item:last-child a { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

/* Public website. Keep these rules inside the public layout so app workspaces retain their layout. */
body > #app:has(.tg-public-layout) { max-width: none; margin: 0; padding: 0; }
.tg-public-layout { min-height: 100vh; background: #f8fafc; color: var(--tg-navy-900); }
.tg-public-layout .tg-public-landing { max-width: none; width: 100%; margin: 0; padding: 0; }
.tg-public-layout a { text-decoration: none; }
.tg-public-layout a:focus-visible, .tg-public-layout button:focus-visible { outline: 3px solid #16756f; outline-offset: 4px; }
.tg-route-error { width: min(720px, calc(100% - 36px)); margin: 72px auto; padding: 36px; border: 1px solid #dce5ef; border-radius: 14px; background: #fff; color: #172f4c; }
.tg-route-error h1 { margin: 0 0 14px; font-size: clamp(1.8rem, 4vw, 2.5rem); }
.tg-route-error p { color: #526078; line-height: 1.6; }
.tg-route-error a { display: inline-block; margin: 12px 20px 0 0; color: #1f4e8c; font-weight: 700; }
.tg-public-skip { position: absolute; left: 16px; top: -70px; z-index: 30; padding: 10px 16px; background: #fff; color: var(--tg-navy-900); }
.tg-public-skip:focus { top: 10px; }
.tg-public-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid #e4eaf1; background: #ffffffed; backdrop-filter: blur(14px); }
.tg-public-header-inner { display: flex; align-items: center; gap: 28px; width: min(1240px, 100%); min-height: 76px; margin: auto; padding: 0 28px; }
.tg-public-header .tg-public-brand { flex: 0 0 auto; width: 174px; }
.tg-public-desktop-nav, .tg-public-header-actions { display: flex; align-items: center; gap: 22px; }
.tg-public-desktop-nav { margin-left: auto; }
.tg-public-header a { color: #344054; font-size: .9rem; font-weight: 650; }
.tg-public-header a:hover, .tg-public-footer a:hover { color: var(--tg-teal-700); }
.tg-public-header-actions { gap: 17px; padding-left: 16px; border-left: 1px solid #dde5ef; }
.tg-public-header .tg-public-button-primary, .tg-public-header .tg-public-button-primary:hover { color: #fff; }
.tg-public-trial { white-space: nowrap; }
.tg-public-button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 46px; padding: 11px 20px; border: 1px solid transparent; border-radius: 9px; font: inherit; font-size: .94rem; font-weight: 700; line-height: 1.25; cursor: pointer; transition: background .18s ease, transform .18s ease; }
.tg-public-button:hover { transform: translateY(-2px); }
.tg-public-button-primary { background: #1f4e8c; color: #fff; box-shadow: 0 9px 22px #1f4e8c29; }
.tg-public-button-primary:hover { background: #173b6b; color: #fff; }
.tg-public-button-secondary { border-color: #bbcadc; background: #fff; color: #173b6b; }
.tg-public-button-secondary:hover { background: #e8f1fb; color: #173b6b; }
.tg-public-button-light { background: #fff; color: #173b6b; }
.tg-public-button-outline-light { border-color: #9eb5cb; color: #fff; }
.tg-public-button-outline-light:hover { background: #ffffff1c; color: #fff; }
.tg-public-menu-toggle, .tg-public-mobile-nav { display: none; }
.tg-public-mobile-nav[hidden] { display: none; }
.tg-home { width: 100%; padding: 0; }
.tg-home > section:not(.tg-public-final-cta) { width: min(1240px, 100%); margin: auto; padding-left: 28px; padding-right: 28px; }
.tg-home .tg-public-hero { min-height: 660px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; padding-top: 72px; padding-bottom: 88px; }
.tg-home .tg-hero-kicker { margin-bottom: 17px; color: #16756f; font-size: .78rem; letter-spacing: .09em; }
.tg-home .tg-hero-title { max-width: 680px; font-size: clamp(3rem, 5.4vw, 5rem); line-height: 1.06; letter-spacing: -.045em; }
.tg-home .tg-hero-text { max-width: 610px; margin-bottom: 30px; color: #45536a; font-size: clamp(1.05rem, 1.6vw, 1.23rem); line-height: 1.65; }
.tg-home .tg-public-actions { display: flex; gap: 12px; }
.tg-hero-assurance { max-width: 520px; margin: 24px 0 0; color: #627188; font-size: .88rem; line-height: 1.55; }
.tg-home .tg-public-section { padding-top: 90px; padding-bottom: 90px; }
.tg-home .tg-section-heading { display: block; max-width: 720px; margin-bottom: 36px; }
.tg-home .tg-section-heading h2, .tg-home .tg-product-copy h2, .tg-home .tg-public-final-cta h2 { margin: 0 0 15px; font-size: clamp(2rem, 3.5vw, 3rem); line-height: 1.13; letter-spacing: -.035em; }
.tg-home .tg-section-heading p:not(.tg-hero-kicker), .tg-home .tg-product-copy > p:not(.tg-hero-kicker) { color: #526078; font-size: 1.08rem; line-height: 1.65; }
.tg-how-section { scroll-margin-top: 76px; }
.tg-journey-tabs { display: inline-flex; gap: 4px; max-width: 100%; margin-bottom: 28px; padding: 5px; border: 1px solid #dce5ef; border-radius: 12px; background: #edf3f8; }
.tg-journey-tab { min-height: 44px; padding: 10px 22px; border: 0; border-radius: 8px; background: transparent; color: #45536a; font: inherit; font-weight: 700; cursor: pointer; }
.tg-journey-tab[aria-selected="true"] { background: #fff; color: #173b6b; box-shadow: 0 2px 8px #152d4b17; }
.tg-journey-tab:hover { color: #115b56; }
.tg-journey-tab:focus-visible { outline: 3px solid #16756f; outline-offset: 2px; }
.tg-journey-action { margin-top: 26px; }
.tg-how-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.tg-how-step { position: relative; min-width: 0; min-height: 204px; padding: 24px 22px 26px; border: 1px solid #dce5ef; border-radius: 14px; background: #fff; box-shadow: 0 10px 28px #152d4b0b; }
.tg-how-step:not(:last-child)::after { content: '→'; position: absolute; right: -17px; top: 34px; z-index: 1; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #e4f3f1; color: #115b56; font-weight: 800; }
.tg-how-number { display: inline-block; margin-bottom: 25px; color: #16756f; font-size: 1.48rem; font-weight: 800; }
.tg-how-step h3 { font-size: 1.13rem; line-height: 1.3; }
.tg-how-step p { margin: 0; color: #526078; line-height: 1.6; }
.tg-benefits { background: #eef4f8; }
.tg-home .tg-benefit-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tg-home .tg-benefit-card { padding: 30px; border-radius: 14px; box-shadow: none; }
.tg-benefit-mark { display: grid; place-items: center; width: 43px; height: 43px; margin-bottom: 28px; border-radius: 12px; background: #e4f3f1; color: #115b56; font-size: 1.35rem; }
.tg-home .tg-benefit-card h3 { font-size: 1.25rem; }
.tg-home .tg-product-section { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: 70px; }
.tg-product-copy { max-width: 460px; }
.tg-text-link { display: inline-flex; align-items: center; gap: 8px; color: #1f4e8c; font-weight: 750; }
.tg-text-link:hover { color: #115b56; }
.tg-product-preview { min-width: 0; padding: 16px; border: 1px solid #bcd4e2; border-radius: 22px; background: linear-gradient(135deg, #e4f3f1, #e8f1fb 62%, #f4f0e7); box-shadow: 0 22px 48px #142a4717; }
.tg-preview-note { margin: 0 0 11px 5px; color: #456471; font-size: .72rem; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
.tg-preview-window { overflow: hidden; border: 1px solid #d5e2ec; border-radius: 14px; background: #fff; box-shadow: 0 12px 28px #1a315017; }
.tg-preview-window-top { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; border-bottom: 1px solid #e7ecf2; color: #667085; font-size: .74rem; }
.tg-preview-dots { color: #89a9bd; letter-spacing: 4px; }
.tg-preview-body { padding: 23px; }
.tg-preview-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: #667085; font-size: .72rem; font-weight: 650; }
.tg-preview-chip { padding: 6px 10px; border-radius: 99px; background: #e4f3f1; color: #115b56; }
.tg-preview-body h3 { margin: 16px 0 6px; font-size: 1.33rem; }
.tg-preview-body > p { margin: 0 0 18px; color: #56647a; font-size: .83rem; line-height: 1.5; }
.tg-preview-progress { height: 7px; overflow: hidden; border-radius: 99px; background: #e6edf3; }
.tg-preview-progress span { display: block; width: 34%; height: 100%; border-radius: inherit; background: #16756f; }
.tg-preview-check, .tg-preview-feedback, .tg-preview-next { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 13px 14px; border: 1px solid #dce5ef; border-radius: 10px; }
.tg-preview-check { background: #f8fbfe; }
.tg-preview-check > span:last-child { margin-left: auto; color: #1f4e8c; }
.tg-preview-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: #e8f1fb; color: #173b6b; font-weight: 800; }
.tg-preview-check strong, .tg-preview-feedback strong, .tg-preview-next strong { display: block; font-size: .82rem; }
.tg-preview-check small, .tg-preview-feedback small { display: block; margin-top: 2px; color: #667085; font-size: .72rem; }
.tg-preview-feedback { border-color: #c6e4d7; background: #f1f9f4; }
.tg-preview-feedback > span { color: #176b4c; font-size: 1.3rem; }
.tg-preview-next { display: grid; gap: 3px; margin-top: 11px; border-color: #e6dcbd; background: #fbf8ee; }
.tg-preview-next span { color: #765d26; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.tg-courses-heading { display: flex !important; align-items: end; justify-content: space-between; gap: 24px; max-width: none !important; }
.tg-courses-heading p { margin-bottom: 0; }
.tg-course-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tg-public-course-card, .tg-course-state, .tg-course-skeleton { min-width: 0; padding: 27px; border: 1px solid #dce5ef; border-radius: 14px; background: #fff; box-shadow: 0 8px 26px #152d4b0b; }
.tg-public-course-card { display: flex; flex-direction: column; min-height: 300px; }
.tg-course-card-top { display: flex; justify-content: space-between; margin-bottom: 24px; color: #16756f; }
.tg-course-card-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: #e8f1fb; color: #1f4e8c; font-size: 1.3rem; }
.tg-course-availability { padding: 6px 10px; border-radius: 99px; background: #e4f3f1; font-size: .73rem; font-weight: 750; }
.tg-public-course-card h3 { margin-bottom: 10px; font-size: 1.3rem; line-height: 1.3; }
.tg-public-course-card h3 a { color: inherit; text-decoration: none; }
.tg-public-course-card h3 a:hover, .tg-public-course-card h3 a:focus-visible { text-decoration: underline; }
.tg-public-course-card > p { color: #526078; line-height: 1.6; overflow-wrap: anywhere; }
.tg-public-course-card > .tg-course-topic-match { margin-top: 0; color: #175a66; font-weight: 700; }
.tg-course-tags { display: flex; flex-wrap: wrap; gap: 7px; margin: auto 0 20px; }
.tg-course-tags span { padding: 5px 9px; border: 1px solid #dce5ef; border-radius: 6px; color: #45536a; font-size: .77rem; }
.tg-course-card-action { margin-top: auto; }
.tg-course-card-action .tg-public-button { width: 100%; }
.tg-course-state { display: grid; justify-items: start; gap: 10px; box-shadow: none; }
.tg-course-state h3, .tg-course-state p { margin: 0; }
.tg-course-state p { color: #526078; }
.tg-public-catalog-shell { max-width: none; width: min(1240px, 100%); margin: 0 auto !important; padding: 48px 28px 80px !important; }
.tg-catalog { width: 100%; color: var(--tg-navy-900); }
.tg-catalog-hero { margin-bottom: 30px; padding: 48px 52px; border: 1px solid #d7e6ed; border-radius: 20px; background: linear-gradient(112deg, #e9f4f3, #edf4fa 64%, #f7f4ea); }
.tg-catalog-hero .tg-hero-kicker { margin-bottom: 13px; color: #16756f; font-size: .78rem; letter-spacing: .09em; text-transform: uppercase; font-weight: 800; }
.tg-catalog-hero h1 { max-width: 760px; margin: 0 0 15px; font-size: clamp(2.4rem, 4.4vw, 4.2rem); line-height: 1.1; letter-spacing: -.04em; }
.tg-catalog-hero > p:last-child { max-width: 660px; margin: 0; color: #45536a; font-size: 1.08rem; line-height: 1.6; }
.tg-catalog-filters { display: grid; grid-template-columns: minmax(220px, 2fr) repeat(3, minmax(135px, 1fr)) auto; align-items: end; gap: 14px; padding: 22px; border: 1px solid #dce5ef; border-radius: 16px; background: #fff; box-shadow: 0 8px 26px #152d4b0b; }
.tg-catalog-filters label { display: grid; min-width: 0; gap: 8px; color: #344054; font-size: .82rem; font-weight: 750; }
.tg-catalog-filters input, .tg-catalog-filters select { min-width: 0; width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #bdcad8; border-radius: 9px; background: #fff; color: #172f4c; font: inherit; font-size: .92rem; }
.tg-catalog-filters input:focus-visible, .tg-catalog-filters select:focus-visible { outline: 3px solid #16756f; outline-offset: 2px; }
.tg-catalog-filters .tg-public-button { white-space: nowrap; }
.tg-catalog-search { position: relative; display: grid; min-width: 0; gap: 8px; }
.tg-catalog-search > label { color: #344054; font-size: .82rem; font-weight: 750; }
.tg-catalog-suggestion-panel { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 30; max-height: min(60vh, 360px); overflow-y: auto; border: 1px solid #bdcad8; border-radius: 10px; background: #fff; box-shadow: 0 12px 26px #152d4b26; }
.tg-catalog-suggestion-panel p { margin: 0; padding: 13px 15px; color: #45536a; font-size: .9rem; }
.tg-catalog-suggestion-panel button { display: block; width: 100%; padding: 13px 15px; border: 0; border-bottom: 1px solid #e5edf3; background: #fff; color: #172f4c; font: inherit; font-size: .92rem; text-align: left; cursor: pointer; }
.tg-catalog-suggestion-panel button:last-child { border-bottom: 0; }
.tg-catalog-suggestion-panel button:hover, .tg-catalog-suggestion-panel button.is-active, .tg-catalog-suggestion-panel button:focus-visible { background: #e9f4f3; outline: 2px solid #16756f; outline-offset: -2px; }
.tg-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.tg-catalog-results-heading { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin: 44px 0 22px; }
.tg-catalog-results-heading h2 { margin: 0 0 5px; font-size: clamp(1.65rem, 2.5vw, 2.1rem); }
.tg-catalog-results-heading p { margin: 0; color: #526078; }
.tg-catalog-clear { padding: 7px 0; border: 0; background: transparent; color: #1f4e8c; font: inherit; font-weight: 750; text-decoration: underline; cursor: pointer; }
.tg-catalog-action-error { margin-bottom: 18px; padding: 14px 16px; border: 1px solid #e6b4aa; border-radius: 9px; background: #fff2f0; color: #92372b; }
.tg-catalog-pagination { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 32px; color: #45536a; font-weight: 700; }
.tg-catalog-pagination .tg-public-button:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.tg-course-detail { width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 34px 0 88px; color: var(--tg-navy-900); }
.tg-course-detail-back { display: inline-block; margin-bottom: 28px; color: #186d70; font-weight: 750; text-decoration: none; }
.tg-course-detail-back:hover { text-decoration: underline; }
.tg-course-detail-hero { padding: clamp(28px, 5vw, 62px); border: 1px solid #d7e6ed; border-radius: 20px; background: linear-gradient(115deg, #e9f4f3, #edf4fa 68%, #f7f4ea); }
.tg-course-detail-hero .tg-hero-kicker, .tg-course-detail-curriculum .tg-hero-kicker { color: #16756f; font-size: .78rem; letter-spacing: .09em; text-transform: uppercase; font-weight: 800; }
.tg-course-detail-hero h1 { max-width: 800px; margin: 8px 0 18px; font-size: clamp(2.3rem, 5vw, 4.4rem); line-height: 1.08; letter-spacing: -.04em; }
.tg-course-detail-description { max-width: 760px; color: #45536a; font-size: 1.1rem; line-height: 1.65; }
.tg-course-detail-match { width: fit-content; padding: 10px 14px; border: 1px solid #7eb9ad; border-radius: 9px; background: #fff; color: #175a53; }
.tg-course-detail-match a { margin-left: 12px; color: #174d82; font-weight: 700; }
.tg-course-detail-facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 30px; }
.tg-course-detail-facts span { padding: 7px 12px; border: 1px solid #bdd8d7; border-radius: 999px; background: #fff; font-size: .86rem; font-weight: 700; }
.tg-course-detail-curriculum { padding-top: 58px; }
.tg-course-detail-curriculum h2 { margin: 8px 0 28px; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.tg-course-detail-module { margin-bottom: 30px; }
.tg-course-detail-module h3 { margin: 0 0 16px; font-size: 1.35rem; }
.tg-course-detail-topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tg-course-detail-topic { padding: 22px 24px; border: 1px solid #dce5ef; border-radius: 14px; background: #fff; box-shadow: 0 8px 26px #152d4b0b; }
.tg-course-detail-topic.is-search-match { border-color: #16756f; box-shadow: 0 0 0 2px #16756f33; }
.tg-course-detail-topic-match-label { display: block; margin-bottom: 10px; color: #175a53; font-size: .85rem; font-weight: 700; }
.tg-course-detail-topic h4 { margin: 0 0 10px; font-size: 1.05rem; }
.tg-course-detail-topic ul { margin: 0; padding-left: 20px; color: #45536a; line-height: 1.55; }
.tg-course-detail-topic li + li { margin-top: 7px; }
@media (max-width: 768px) { .tg-course-detail-topics { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .tg-course-detail { width: min(100% - 32px, 1120px); padding-top: 22px; } .tg-course-detail-hero { padding: 26px 22px; } .tg-course-detail-curriculum { padding-top: 42px; } }
.tg-course-skeleton { display: grid; align-content: start; gap: 18px; min-height: 300px; }
.tg-course-skeleton span { height: 18px; border-radius: 6px; background: #e7edf3; }
.tg-course-skeleton span:first-child { width: 35%; }
.tg-course-skeleton span:nth-child(2) { width: 75%; height: 26px; }
.tg-course-skeleton span:last-child { width: 90%; height: 54px; }
.tg-home > .tg-public-final-cta { display: flex; justify-content: space-between; align-items: center; gap: 40px; width: min(1184px, calc(100% - 56px)); margin: 0 auto 80px; padding: 44px 48px; border-radius: 18px; background: #172f4c; color: #fff; }
.tg-public-final-cta > div:first-child { max-width: 670px; }
.tg-home .tg-public-final-cta h2 { color: #fff; }
.tg-public-final-cta p:not(.tg-hero-kicker) { margin: 0; color: #d9e7f1; line-height: 1.6; }
.tg-home .tg-public-final-cta .tg-hero-kicker { color: #8cddd0; }
.tg-public-final-cta .tg-public-actions { flex: 0 0 auto; }
.tg-public-footer { width: 100%; padding: 0 28px; border-top: 1px solid #dde5ef; background: #fff; }
.tg-public-footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 26px; width: min(1184px, 100%); margin: auto; padding: 42px 0 30px; }
.tg-public-footer-brand p { margin: 11px 0 0; color: #667085; }
.tg-public-footer nav { display: flex; flex-wrap: wrap; align-items: start; gap: 22px; }
.tg-public-footer a { color: #344054; font-weight: 650; }
.tg-public-footer small { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid #edf0f4; color: #667085; }

/* Features page: composed product views, scoped to the public route. */
.tg-features-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 64px; width: min(1240px, 100%); min-height: 630px; margin: auto; padding: 74px 28px 82px; }
.tg-features-hero-copy { min-width: 0; }
.tg-features-hero h1 { max-width: 650px; margin: 0 0 24px; color: var(--tg-navy-900); font-size: clamp(3rem, 5.2vw, 4.8rem); line-height: 1.06; letter-spacing: -.045em; }
.tg-features-lead { max-width: 600px; margin: 0; color: #45536a; font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.65; }
.tg-features-hero .tg-public-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.tg-features-hero-footnote { margin: 24px 0 0; color: #627188; font-size: .88rem; }
.tg-features-hero .tg-product-preview { width: 100%; }
.tg-features-intro-strip { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 18px; min-height: 74px; padding: 18px 28px; border-top: 1px solid #dce7ef; border-bottom: 1px solid #dce7ef; background: #eaf3f5; color: #173b6b; font-size: .86rem; font-weight: 750; letter-spacing: .01em; }
.tg-features-intro-strip span:nth-child(even) { color: #16756f; font-size: 1.15rem; }
.tg-features-section { scroll-margin-top: 76px; background: #fff; }
.tg-features-section-tint { background: #f0f5f8; }
.tg-features-section-inner { display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); align-items: center; gap: clamp(48px, 7vw, 104px); width: min(1240px, 100%); margin: auto; padding: 100px 28px; }
.tg-features-section-reverse .tg-features-copy { grid-column: 2; grid-row: 1; }
.tg-features-section-reverse .tg-features-visual { grid-column: 1; grid-row: 1; }
.tg-features-copy { min-width: 0; }
.tg-features-icon { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 27px; border: 1px solid #cce5e0; border-radius: 14px; background: #e4f3f1; color: #115b56; }
.tg-features-copy .tg-hero-kicker { margin-bottom: 14px; }
.tg-features-copy h2 { max-width: 550px; margin: 0 0 21px; color: var(--tg-navy-900); font-size: clamp(2.15rem, 3.4vw, 3.15rem); line-height: 1.13; letter-spacing: -.036em; }
.tg-features-copy > p:not(.tg-hero-kicker) { max-width: 540px; margin: 0; color: #526078; font-size: 1.06rem; line-height: 1.7; }
.tg-features-highlights { display: grid; gap: 13px; margin: 29px 0 0; padding: 0; list-style: none; }
.tg-features-highlights li { position: relative; padding-left: 27px; color: #344054; font-size: .96rem; line-height: 1.5; }
.tg-features-highlights li::before { content: "✓"; position: absolute; top: 0; left: 0; color: #16756f; font-weight: 800; }
.tg-features-visual { min-width: 0; padding: 20px; border: 1px solid #c6dce8; border-radius: 24px; background: linear-gradient(135deg, #e6f4f2, #e7f0fa 65%, #f7f4e9); box-shadow: 0 22px 48px #142a4715; }
.tg-features-authoring-visual, .tg-features-progress-visual { background: linear-gradient(135deg, #e6eef8, #eef8f5 70%, #f8f5eb); }
.tg-features-example-label { display: block; margin: 0 0 11px 4px; color: #456471; font-size: .72rem; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
.tg-features-ui-window { overflow: hidden; min-width: 0; border: 1px solid #d5e2ec; border-radius: 16px; background: #fff; box-shadow: 0 12px 28px #1a315017; }
.tg-features-ui-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 46px; padding: 10px 20px; border-bottom: 1px solid #e7ecf2; color: #667085; font-size: .78rem; font-weight: 650; }
.tg-features-ui-toolbar span:first-child { color: #273c58; font-weight: 750; }
.tg-features-ui-content { min-width: 0; padding: 26px; }
.tg-features-mini-label { display: block; color: #16756f; font-size: .7rem; font-weight: 800; letter-spacing: .08em; }
.tg-features-ui-status { padding: 5px 9px; border-radius: 99px; background: #e4f3f1; color: #115b56; font-size: .72rem; }
.tg-features-course-head { display: grid; gap: 7px; margin-bottom: 22px; }
.tg-features-course-head strong, .tg-features-workspace-title strong { color: #172f4c; font-size: 1.34rem; line-height: 1.3; }
.tg-features-path-list { position: relative; display: grid; gap: 12px; }
.tg-features-path-list::before { content: ""; position: absolute; top: 26px; bottom: 26px; left: 22px; width: 2px; background: #dbe8ed; }
.tg-features-path-row { position: relative; display: flex; align-items: center; gap: 14px; min-height: 73px; padding: 11px 14px; border: 1px solid #e0e8ee; border-radius: 12px; background: #fff; }
.tg-features-path-row.is-current { border-color: #89bfba; background: #f1f9f7; box-shadow: 0 8px 22px #16756f12; }
.tg-features-path-marker { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; border: 1px solid #d4e0e8; border-radius: 11px; background: #f5f8fb; color: #315171; font-size: .82rem; font-weight: 800; }
.tg-features-path-row.is-current .tg-features-path-marker, .tg-features-path-row.is-complete .tg-features-path-marker { border-color: #c3e2d9; background: #e4f3f1; color: #115b56; }
.tg-features-path-row strong, .tg-features-authoring-step strong, .tg-features-workspace-grid strong { display: block; color: #263b58; font-size: .88rem; }
.tg-features-path-row small, .tg-features-authoring-step small, .tg-features-workspace-grid small { display: block; margin-top: 3px; color: #667085; font-size: .73rem; line-height: 1.4; }
.tg-features-ui-hint { margin-top: 20px; padding-top: 15px; border-top: 1px solid #e7edf2; color: #627188; font-size: .75rem; line-height: 1.45; }
.tg-features-authoring-step { display: flex; align-items: center; gap: 13px; min-height: 74px; padding: 12px 0; border-bottom: 1px solid #e8edf2; }
.tg-features-authoring-step > div { min-width: 0; }
.tg-features-step-index { display: grid; place-items: center; flex: 0 0 37px; height: 37px; border-radius: 10px; background: #e8f1fb; color: #1f4e8c; font-size: .78rem; font-weight: 800; }
.tg-features-authoring-step.is-review .tg-features-step-index { background: #e4f3f1; color: #115b56; }
.tg-features-step-state { margin-left: auto; padding: 5px 8px; border-radius: 6px; background: #f1f4f7; color: #617084; font-size: .7rem; }
.tg-features-authoring-publish { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding: 15px; border: 1px solid #c7e4d7; border-radius: 10px; background: #eff9f4; color: #176b4c; font-size: .85rem; }
.tg-features-assessment-visual .tg-features-ui-content h3 { margin: 10px 0 20px; color: #172f4c; font-size: 1.25rem; line-height: 1.35; }
.tg-features-answer-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tg-features-answer-list > div { display: flex; justify-content: space-between; padding: 13px 15px; border: 1px solid #dce5ef; border-radius: 9px; color: #344054; font-size: .9rem; }
.tg-features-answer-list .is-selected { border-color: #63a89e; background: #eff8f5; color: #115b56; font-weight: 750; }
.tg-features-feedback { display: grid; gap: 4px; margin-top: 18px; padding: 17px; border-left: 4px solid #16756f; border-radius: 8px; background: #f1f9f7; color: #344054; font-size: .82rem; line-height: 1.45; }
.tg-features-feedback strong { color: #115b56; }
.tg-features-progress-title { display: flex; justify-content: space-between; align-items: end; gap: 18px; }
.tg-features-progress-title > div { display: grid; gap: 7px; }
.tg-features-progress-title strong { color: #172f4c; font-size: 1.25rem; }
.tg-features-progress-title > span { color: #667085; font-size: .74rem; white-space: nowrap; }
.tg-features-progress-track { height: 9px; margin: 17px 0 22px; overflow: hidden; border-radius: 99px; background: #e6edf3; }
.tg-features-progress-track span { display: block; width: 33%; height: 100%; background: #16756f; }
.tg-features-metric-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tg-features-metric-grid > div { display: grid; gap: 5px; min-width: 0; padding: 15px; border: 1px solid #dce5ef; border-radius: 10px; background: #fbfdff; }
.tg-features-metric-grid small, .tg-features-metric-grid span { color: #667085; font-size: .72rem; }
.tg-features-metric-grid strong { color: #263b58; font-size: .82rem; }
.tg-features-recommendation { display: grid; gap: 5px; margin-top: 14px; padding: 17px; border: 1px solid #e6dcbd; border-radius: 10px; background: #fbf8ee; }
.tg-features-recommendation .tg-features-mini-label { color: #765d26; }
.tg-features-recommendation strong { color: #392e1c; font-size: .88rem; }
.tg-features-recommendation small { color: #6f654f; font-size: .73rem; }
.tg-features-workspace-title { display: grid; gap: 7px; margin-bottom: 18px; }
.tg-features-workspace-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tg-features-workspace-grid > div { min-width: 0; padding: 15px; border: 1px solid #dce5ef; border-radius: 11px; background: #fbfdff; }
.tg-features-workspace-glyph { display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 11px; border-radius: 8px; background: #e8f1fb; color: #1f4e8c; font-size: .75rem; font-weight: 800; }
.tg-features-workspace-grid > div:nth-child(2) .tg-features-workspace-glyph, .tg-features-workspace-grid > div:nth-child(4) .tg-features-workspace-glyph { background: #e4f3f1; color: #115b56; }
.tg-features-final { width: min(1184px, calc(100% - 56px)); margin: 10px auto 88px; padding: 52px; border-radius: 20px; background: #172f4c; color: #fff; }
.tg-features-final .tg-hero-kicker { color: #8cddd0; }
.tg-features-final h2 { max-width: 680px; margin: 0 0 13px; color: #fff; font-size: clamp(2rem, 3.5vw, 3rem); line-height: 1.14; letter-spacing: -.035em; }
.tg-features-final-heading > p:last-child { max-width: 720px; margin: 0; color: #d9e7f1; line-height: 1.6; }
.tg-features-final-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.tg-features-final-actions > div { display: grid; justify-items: start; gap: 12px; padding: 24px; border: 1px solid #ffffff30; border-radius: 13px; background: #ffffff0d; }
.tg-features-final-actions span { color: #8cddd0; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.tg-features-final-actions strong { font-size: 1.05rem; line-height: 1.4; }
.tg-features-final-actions .tg-public-button { margin-top: 4px; }
@media (max-width: 1100px) {
    .tg-public-desktop-nav { gap: 14px; }
    .tg-public-header-actions { gap: 12px; }
    .tg-public-trial { display: none; }
    .tg-home .tg-public-hero { gap: 32px; }
    .tg-features-hero { gap: 32px; }
    .tg-features-section-inner { gap: 42px; }
}
@media (max-width: 820px) {
    .authoring-tabs { flex-wrap: wrap; overflow-x: visible; }
    .tg-catalog-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tg-catalog-search, .tg-catalog-filters .tg-public-button { grid-column: 1 / -1; }
    .tg-public-desktop-nav, .tg-public-header-actions { display: none; }
    .tg-public-header-inner { min-height: 68px; justify-content: space-between; }
    .tg-public-menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #cbd8e6; border-radius: 9px; background: #fff; color: #173b6b; font-size: 1.4rem; }
    .tg-public-mobile-nav { display: grid; gap: 2px; padding: 10px 28px 20px; border-top: 1px solid #e7edf3; background: #fff; }
    .tg-public-mobile-nav a { padding: 12px 10px; border-radius: 8px; }
    .tg-public-mobile-nav a:first-child { background: #e8f1fb; color: #173b6b; }
    .tg-home .tg-public-hero, .tg-home .tg-product-section { grid-template-columns: minmax(0, 1fr); }
    .tg-home .tg-hero-copy { min-width: 0; }
    .tg-home .tg-public-hero { min-height: 0; padding-top: 64px; padding-bottom: 64px; }
    .tg-home .tg-public-section { padding-top: 70px; padding-bottom: 70px; }
    .tg-how-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tg-how-step { min-height: 181px; }
    .tg-how-step:nth-child(2)::after { display: none; }
    .tg-home .tg-benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tg-course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tg-home > .tg-public-final-cta { flex-direction: column; align-items: stretch; }
    .tg-features-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: 60px; padding-bottom: 64px; }
    .tg-features-hero .tg-product-preview { max-width: 650px; }
    .tg-features-section-inner { grid-template-columns: minmax(0, 1fr); gap: 38px; padding-top: 74px; padding-bottom: 74px; }
    .tg-features-section-reverse .tg-features-copy, .tg-features-section-reverse .tg-features-visual { grid-column: 1; grid-row: auto; }
    .tg-features-copy h2 { max-width: 650px; }
}
@media (max-width: 600px) {
    .tg-public-catalog-shell { padding: 24px 18px 64px !important; }
    .tg-catalog-hero { padding: 32px 24px; }
    .tg-catalog-filters { grid-template-columns: 1fr; padding: 18px; }
    .tg-catalog-search, .tg-catalog-filters .tg-public-button { grid-column: auto; }
    .tg-catalog-results-heading { margin-top: 36px; }
    .tg-catalog-pagination { gap: 10px; }
    .tg-catalog-pagination .tg-public-button { padding: 9px 12px; }
    .tg-public-header-inner { padding: 0 18px; }
    .tg-home > section:not(.tg-public-final-cta) { padding-left: 18px; padding-right: 18px; }
    .tg-home .tg-public-hero { padding-top: 48px; padding-bottom: 60px; }
    .tg-home .tg-hero-title { font-size: clamp(2.6rem, 10vw, 3.3rem); }
    .tg-home .tg-public-actions { flex-direction: column; align-items: stretch; }
    .tg-how-grid, .tg-home .tg-benefit-grid, .tg-course-grid { grid-template-columns: 1fr; }
    .tg-journey-tabs { display: flex; }
    .tg-journey-tab { flex: 1; padding: 10px 12px; }
    .tg-journey-action .tg-public-button { width: 100%; }
    .tg-how-step::after { display: none !important; }
    .tg-home .tg-public-section { padding-top: 58px; padding-bottom: 58px; }
    .tg-courses-heading { align-items: start; flex-direction: column; }
    .tg-home > .tg-public-final-cta { width: calc(100% - 36px); margin-bottom: 48px; padding: 28px 22px; }
    .tg-public-footer-inner { grid-template-columns: 1fr; }
    .tg-public-footer nav { display: grid; grid-template-columns: 1fr 1fr; }
    .tg-public-footer small { grid-column: 1; }
    .tg-features-hero { padding: 48px 18px 58px; }
    .tg-features-hero h1 { font-size: clamp(2.55rem, 10vw, 3.25rem); }
    .tg-features-hero .tg-public-actions { flex-direction: column; align-items: stretch; }
    .tg-features-intro-strip { display: grid; justify-items: center; gap: 4px; padding: 18px; font-size: .77rem; }
    .tg-features-intro-strip span:nth-child(even) { font-size: .9rem; line-height: 1; transform: rotate(90deg); }
    .tg-features-section-inner { gap: 32px; padding: 64px 18px; }
    .tg-features-copy h2 { font-size: clamp(2rem, 8.4vw, 2.6rem); }
    .tg-features-visual { padding: 11px; border-radius: 17px; }
    .tg-features-ui-content { padding: 17px; }
    .tg-features-ui-toolbar { padding: 10px 15px; }
    .tg-features-step-state { display: none; }
    .tg-features-progress-title { align-items: start; flex-direction: column; gap: 6px; }
    .tg-features-final { width: calc(100% - 36px); margin-bottom: 48px; padding: 28px 22px; }
    .tg-features-final-actions { grid-template-columns: 1fr; }
    .tg-features-final-actions .tg-public-button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .tg-public-button { transition: none; }
    .tg-public-button:hover { transform: none; }
}
