:root {
    --tm-primary: #0b63f6;
    --tm-primary-dark: #0747b8;
    --tm-primary-soft: #eaf2ff;
    --tm-accent: #0b63f6;
    --tm-accent-soft: #eaf2ff;
    --tm-text: #101828;
    --tm-text-soft: #475467;
    --tm-muted: #667085;
    --tm-border: #e4e7ec;
    --tm-border-strong: #d0d5dd;
    --tm-surface: #ffffff;
    --tm-surface-soft: #f7f9fc;
    --tm-surface-tint: #f1f5fb;
    --tm-success: #067647;
    --tm-success-soft: #ecfdf3;
    --tm-danger: #b42318;
    --tm-danger-soft: #fef3f2;
    --tm-warning: #b54708;
    --tm-radius-sm: 10px;
    --tm-radius-md: 16px;
    --tm-radius-lg: 24px;
    --tm-shadow-sm: 0 1px 3px rgba(16, 24, 40, .08), 0 1px 2px rgba(16, 24, 40, .04);
    --tm-shadow-md: 0 14px 40px rgba(16, 24, 40, .09);
    --tm-container: 1180px;
}

.tm-accent-blue { --tm-accent: #0b63f6; --tm-accent-soft: #eaf2ff; }
.tm-accent-cyan { --tm-accent: #087e8b; --tm-accent-soft: #e8f8fa; }
.tm-accent-violet { --tm-accent: #6941c6; --tm-accent-soft: #f4f0ff; }
.tm-accent-green { --tm-accent: #067647; --tm-accent-soft: #ecfdf3; }
.tm-accent-orange { --tm-accent: #b54708; --tm-accent-soft: #fff4ed; }
.tm-accent-rose { --tm-accent: #c11574; --tm-accent-soft: #fdf2fa; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--tm-text);
    background: var(--tm-surface);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
a { color: inherit; }
svg { width: 1em; height: 1em; fill: currentColor; flex: 0 0 auto; }

.tm-container { width: min(calc(100% - 40px), var(--tm-container)); margin-inline: auto; }
.tm-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.tm-skip-link {
    position: fixed;
    z-index: 999;
    left: 16px;
    top: -100px;
    padding: 10px 16px;
    background: var(--tm-text);
    color: #fff;
    border-radius: 8px;
    transition: top .2s ease;
}
.tm-skip-link:focus { top: 12px; }

.tm-site-header {
    position: relative;
    z-index: 20;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid var(--tm-border);
    backdrop-filter: blur(14px);
}
.tm-header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.tm-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--tm-text); text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.tm-brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--tm-primary); color: #fff; font-size: 18px; box-shadow: 0 8px 20px rgba(11,99,246,.24); }
.tm-top-nav { display: flex; align-items: center; gap: 8px; }
.tm-top-nav a { padding: 9px 12px; color: var(--tm-text-soft); font-weight: 650; font-size: 14px; text-decoration: none; border-radius: 8px; }
.tm-top-nav a:hover { color: var(--tm-primary); background: var(--tm-primary-soft); }

.tm-path-hero {
    position: relative;
    overflow: hidden;
    padding: 34px 0 46px;
    background:
        radial-gradient(circle at 88% 8%, color-mix(in srgb, var(--tm-accent) 12%, transparent), transparent 34%),
        linear-gradient(180deg, #fbfdff 0%, #f6f9fe 100%);
    border-bottom: 1px solid var(--tm-border);
}
.tm-path-hero::after {
    content: "";
    position: absolute;
    width: 440px;
    height: 440px;
    right: -220px;
    bottom: -280px;
    border: 70px solid color-mix(in srgb, var(--tm-accent) 7%, transparent);
    border-radius: 50%;
    pointer-events: none;
}
.tm-breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-bottom: 40px; color: var(--tm-muted); font-size: 13px; font-weight: 600; }
.tm-breadcrumbs a { color: var(--tm-muted); text-decoration: none; }
.tm-breadcrumbs a:hover { color: var(--tm-primary); }
.tm-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, .72fr); align-items: end; gap: 52px; }
.tm-eyebrow, .tm-kicker, .tm-card-label { display: block; color: var(--tm-accent); font-size: 12px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.tm-hero-copy h1 { margin: 12px 0 18px; max-width: 750px; font-size: clamp(42px, 6vw, 72px); line-height: 1.02; letter-spacing: -.052em; }
.tm-hero-description { max-width: 760px; margin: 0; color: var(--tm-text-soft); font-size: 19px; line-height: 1.65; }
.tm-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.tm-button {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 11px 18px;
    border: 1px solid transparent;
    border-radius: 11px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 750;
    line-height: 1.2;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
}
.tm-button:hover { transform: translateY(-1px); }
.tm-button-primary { background: var(--tm-accent); color: #fff; box-shadow: 0 9px 24px color-mix(in srgb, var(--tm-accent) 25%, transparent); }
.tm-button-primary:hover { box-shadow: 0 13px 30px color-mix(in srgb, var(--tm-accent) 32%, transparent); }
.tm-button-primary:disabled { opacity: .65; cursor: wait; transform: none; box-shadow: none; }
.tm-button-secondary { background: #fff; color: var(--tm-text); border-color: var(--tm-border-strong); }
.tm-button-secondary:hover { border-color: var(--tm-accent); color: var(--tm-accent); }
.tm-button-light { background: #fff; color: var(--tm-text); }
.tm-button-light svg { width: 18px; height: 18px; }
.tm-button-block { width: 100%; }

.tm-outcome-card { display: flex; gap: 16px; padding: 24px; background: rgba(255,255,255,.88); border: 1px solid color-mix(in srgb, var(--tm-accent) 22%, var(--tm-border)); border-radius: var(--tm-radius-lg); box-shadow: var(--tm-shadow-md); }
.tm-outcome-icon { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 42px; border-radius: 13px; color: var(--tm-accent); background: var(--tm-accent-soft); }
.tm-outcome-icon svg { width: 23px; height: 23px; }
.tm-outcome-card p { margin: 7px 0 0; font-size: 17px; font-weight: 700; line-height: 1.5; }
.tm-stat-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 48px; background: #fff; border: 1px solid var(--tm-border); border-radius: var(--tm-radius-md); box-shadow: var(--tm-shadow-sm); }
.tm-stat { display: flex; align-items: center; gap: 13px; min-height: 94px; padding: 20px 22px; border-right: 1px solid var(--tm-border); }
.tm-stat:last-child { border-right: 0; }
.tm-stat-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; color: var(--tm-accent); background: var(--tm-accent-soft); }
.tm-stat-icon svg { width: 20px; height: 20px; }
.tm-stat strong, .tm-stat small { display: block; }
.tm-stat strong { font-size: 15px; line-height: 1.35; }
.tm-stat small { margin-top: 3px; color: var(--tm-muted); font-size: 12px; }

.tm-path-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 54px; padding-top: 72px; padding-bottom: 92px; align-items: start; }
.tm-main-column { min-width: 0; }
.tm-section { scroll-margin-top: 24px; margin-bottom: 78px; }
.tm-section-heading { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.tm-section-number { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 42px; border: 1px solid color-mix(in srgb, var(--tm-accent) 25%, var(--tm-border)); border-radius: 13px; color: var(--tm-accent); background: var(--tm-accent-soft); font-size: 13px; font-weight: 850; }
.tm-section-heading h2 { margin: 3px 0 0; font-size: clamp(27px, 3vw, 36px); line-height: 1.15; letter-spacing: -.035em; }
.tm-section-intro { max-width: 760px; margin: -5px 0 28px; color: var(--tm-text-soft); font-size: 17px; }

.tm-check-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 0; margin: 0; list-style: none; }
.tm-check-list li { display: flex; align-items: flex-start; gap: 10px; padding: 17px; background: var(--tm-surface-soft); border: 1px solid var(--tm-border); border-radius: 12px; color: var(--tm-text-soft); }
.tm-check-list li > span { display: grid; place-items: center; width: 21px; height: 21px; flex: 0 0 21px; margin-top: 2px; border-radius: 50%; color: var(--tm-success); background: var(--tm-success-soft); }
.tm-check-list svg { width: 14px; height: 14px; }

.tm-module-list { display: grid; gap: 14px; }
.tm-module { overflow: hidden; background: var(--tm-surface); border: 1px solid var(--tm-border); border-radius: var(--tm-radius-md); box-shadow: var(--tm-shadow-sm); }
.tm-module[open] { border-color: color-mix(in srgb, var(--tm-accent) 28%, var(--tm-border)); }
.tm-module > summary { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto 18px; align-items: center; gap: 15px; min-height: 92px; padding: 18px 22px; cursor: pointer; list-style: none; }
.tm-module > summary::-webkit-details-marker { display: none; }
.tm-module > summary:hover { background: var(--tm-surface-soft); }
.tm-module-index { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: var(--tm-accent); background: var(--tm-accent-soft); font-weight: 850; }
.tm-module-title strong, .tm-module-title small { display: block; }
.tm-module-title strong { font-size: 18px; letter-spacing: -.015em; }
.tm-module-title small { margin-top: 4px; color: var(--tm-muted); font-size: 13px; font-weight: 500; line-height: 1.45; }
.tm-module-count { padding: 5px 9px; border-radius: 999px; color: var(--tm-muted); background: var(--tm-surface-tint); font-size: 12px; font-weight: 700; white-space: nowrap; }
.tm-chevron { width: 10px; height: 10px; border-right: 2px solid var(--tm-muted); border-bottom: 2px solid var(--tm-muted); transform: rotate(45deg) translateY(-3px); transition: transform .2s ease; }
.tm-module[open] > summary .tm-chevron { transform: rotate(225deg) translate(-2px, -1px); }
.tm-module-content { border-top: 1px solid var(--tm-border); }
.tm-module-quiz { padding: 18px 22px 22px; border-top: 1px solid var(--tm-border); background: #fbfcfe; }
.tm-module-quiz details { overflow: hidden; border: 1px solid color-mix(in srgb, var(--tm-accent) 22%, var(--tm-border)); border-radius: 12px; background: #fff; }
.tm-module-quiz-summary { display: flex; align-items: center; gap: 16px; min-height: 60px; padding: 14px 17px; cursor: pointer; list-style: none; }
.tm-module-quiz-summary::-webkit-details-marker { display: none; }
.tm-module-quiz-summary::after { content: ""; width: 9px; height: 9px; flex: 0 0 9px; margin-left: auto; border-right: 2px solid var(--tm-muted); border-bottom: 2px solid var(--tm-muted); transform: rotate(45deg) translateY(-2px); transition: transform .2s ease; }
.tm-module-quiz details[open] .tm-module-quiz-summary { border-bottom: 1px solid var(--tm-border); background: var(--tm-accent-soft); }
.tm-module-quiz details[open] .tm-module-quiz-summary::after { transform: rotate(225deg) translate(-1px, -1px); }
.tm-module-quiz-label { flex: 0 0 auto; color: var(--tm-accent); font-size: 11px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.tm-module-quiz-title { min-width: 0; color: var(--tm-text); font-size: 15px; line-height: 1.4; }
.tm-module-quiz .tm-quiz-form { padding: 20px; }
.tm-lesson-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 13px; align-items: start; padding: 20px 22px; border-bottom: 1px solid var(--tm-border); transition: background-color .18s ease, opacity .18s ease; }
.tm-lesson-row:last-child { border-bottom: 0; }
.tm-lesson-row:hover { background: #fbfcfe; }
.tm-lesson-row.is-complete { background: var(--tm-success-soft); }
.tm-lesson-link { display: block; color: inherit; text-decoration: none; border-radius: 8px; }
.tm-lesson-link:hover h3 { color: var(--tm-accent); }
.tm-lesson-link:focus-visible { outline-offset: 5px; }
.tm-lesson-row.is-complete .tm-lesson-body h3 { color: var(--tm-success); text-decoration: line-through; text-decoration-thickness: 1px; }
.tm-lesson-toggle { position: relative; display: inline-grid; width: 28px; height: 28px; cursor: pointer; }
.tm-lesson-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.tm-custom-check { pointer-events: none; display: grid; place-items: center; width: 27px; height: 27px; border: 2px solid var(--tm-border-strong); border-radius: 8px; color: transparent; background: #fff; transition: all .18s ease; }
.tm-custom-check svg { width: 16px; height: 16px; }
.tm-lesson-toggle input:checked + .tm-custom-check { color: #fff; border-color: var(--tm-success); background: var(--tm-success); }
.tm-lesson-toggle input:focus-visible + .tm-custom-check { outline: 3px solid color-mix(in srgb, var(--tm-accent) 25%, transparent); outline-offset: 3px; }
.tm-lesson-number { display: block; margin-bottom: 2px; color: var(--tm-accent); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.tm-lesson-body h3 { margin: 0; font-size: 16px; line-height: 1.4; }
.tm-lesson-body p { margin: 6px 0 0; color: var(--tm-muted); font-size: 14px; line-height: 1.55; }
.tm-lesson-time { display: inline-flex; align-items: center; gap: 5px; padding-top: 3px; color: var(--tm-muted); font-size: 12px; white-space: nowrap; }
.tm-lesson-time svg { width: 15px; height: 15px; }

.tm-lab-section { padding: 30px; background: linear-gradient(135deg, var(--tm-accent-soft), #fff 70%); border: 1px solid color-mix(in srgb, var(--tm-accent) 22%, var(--tm-border)); border-radius: var(--tm-radius-lg); }
.tm-lab-list { display: grid; gap: 10px; padding: 0; margin: 0; list-style: none; counter-reset: none; }
.tm-lab-list li { display: flex; align-items: center; gap: 14px; min-height: 58px; padding: 11px 14px; background: rgba(255,255,255,.84); border: 1px solid color-mix(in srgb, var(--tm-accent) 16%, var(--tm-border)); border-radius: 12px; }
.tm-lab-list li > span { display: grid; place-items: center; width: 32px; height: 32px; flex: 0 0 32px; border-radius: 10px; color: #fff; background: var(--tm-accent); font-size: 13px; font-weight: 800; }
.tm-lab-list p { margin: 0; color: var(--tm-text-soft); }

.tm-quiz-form { display: grid; gap: 18px; }
.tm-question { min-width: 0; margin: 0; padding: 22px; border: 1px solid var(--tm-border); border-radius: var(--tm-radius-md); }
.tm-question legend { display: flex; gap: 11px; align-items: flex-start; width: 100%; padding: 0 4px; font-weight: 750; line-height: 1.5; }
.tm-question legend > span { display: grid; place-items: center; width: 26px; height: 26px; flex: 0 0 26px; border-radius: 8px; color: var(--tm-accent); background: var(--tm-accent-soft); font-size: 12px; }
.tm-answer-list { display: grid; gap: 9px; margin-top: 16px; }
.tm-answer-list label { position: relative; display: flex; align-items: flex-start; gap: 11px; padding: 12px 13px; border: 1px solid var(--tm-border); border-radius: 10px; cursor: pointer; color: var(--tm-text-soft); }
.tm-answer-list label:hover { border-color: color-mix(in srgb, var(--tm-accent) 40%, var(--tm-border)); background: var(--tm-accent-soft); }
.tm-answer-list input { margin-top: 4px; accent-color: var(--tm-accent); }
.tm-answer-list label:has(input:checked) { border-color: var(--tm-accent); background: var(--tm-accent-soft); color: var(--tm-text); }
.tm-quiz-status { min-height: 24px; color: var(--tm-muted); font-weight: 650; }
.tm-quiz-results { padding: 22px; border: 1px solid var(--tm-border); border-radius: var(--tm-radius-md); background: var(--tm-surface-soft); }
.tm-score-card { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-bottom: 18px; margin-bottom: 16px; border-bottom: 1px solid var(--tm-border); }
.tm-score-card strong { display: block; font-size: 30px; line-height: 1; color: var(--tm-accent); }
.tm-score-card p { margin: 5px 0 0; color: var(--tm-text-soft); }
.tm-result-list { display: grid; gap: 10px; padding: 0; margin: 0; list-style: none; }
.tm-result-item { padding: 13px 14px; border-radius: 10px; background: #fff; border-left: 4px solid var(--tm-success); }
.tm-result-item.is-wrong { border-left-color: var(--tm-danger); }
.tm-result-item strong { display: block; color: var(--tm-success); }
.tm-result-item.is-wrong strong { color: var(--tm-danger); }
.tm-result-item p { margin: 4px 0 0; color: var(--tm-muted); font-size: 14px; }

.tm-tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tm-tool-card { position: relative; display: block; min-height: 255px; padding: 22px; border: 1px solid var(--tm-border); border-radius: var(--tm-radius-md); text-decoration: none; box-shadow: var(--tm-shadow-sm); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.tm-tool-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--tm-accent) 38%, var(--tm-border)); box-shadow: var(--tm-shadow-md); }
.tm-tool-icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 20px; border-radius: 12px; color: var(--tm-accent); background: var(--tm-accent-soft); }
.tm-tool-icon svg { width: 21px; height: 21px; }
.tm-tool-label { color: var(--tm-accent); font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.tm-tool-card h3 { margin: 7px 0 8px; font-size: 18px; line-height: 1.35; }
.tm-tool-card p { margin: 0 0 28px; color: var(--tm-muted); font-size: 14px; }
.tm-text-link { position: absolute; left: 22px; bottom: 19px; display: inline-flex; align-items: center; gap: 6px; color: var(--tm-accent); font-size: 13px; font-weight: 750; }
.tm-text-link svg { width: 15px; height: 15px; }

.tm-next-path { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 32px; color: #fff; background: var(--tm-text); border-radius: var(--tm-radius-lg); }
.tm-next-path .tm-kicker { color: color-mix(in srgb, var(--tm-accent) 65%, #fff); }
.tm-next-path h2 { margin: 5px 0 8px; font-size: 28px; }
.tm-next-path p { max-width: 650px; margin: 0; color: #cbd5e1; }
.tm-next-path .tm-button { flex: 0 0 auto; }

.tm-sidebar { position: sticky; top: 26px; display: grid; gap: 16px; }
.tm-progress-card, .tm-path-nav { padding: 22px; border: 1px solid var(--tm-border); border-radius: var(--tm-radius-md); box-shadow: var(--tm-shadow-sm); }
.tm-progress-value { display: flex; align-items: end; justify-content: space-between; gap: 8px; margin: 14px 0 11px; }
.tm-progress-value strong { font-size: 30px; line-height: 1; letter-spacing: -.04em; color: var(--tm-accent); }
.tm-progress-value span { color: var(--tm-muted); font-size: 12px; }
.tm-progress-track { overflow: hidden; height: 9px; margin-bottom: 18px; background: var(--tm-surface-tint); border-radius: 999px; }
.tm-progress-track > span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--tm-accent), color-mix(in srgb, var(--tm-accent) 62%, #61dafb)); border-radius: inherit; transition: width .3s ease; }
.tm-reset-button { display: block; margin: 12px auto 0; padding: 5px 8px; color: var(--tm-muted); background: transparent; border: 0; cursor: pointer; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.tm-reset-button:hover { color: var(--tm-danger); }
.tm-progress-note { margin: 15px 0 0; padding-top: 14px; border-top: 1px solid var(--tm-border); color: var(--tm-muted); font-size: 11px; line-height: 1.55; }
.tm-progress-message { min-height: 18px; margin-top: 8px; color: var(--tm-success); font-size: 12px; font-weight: 700; }
.tm-path-nav { display: grid; gap: 2px; }
.tm-path-nav .tm-card-label { margin-bottom: 8px; }
.tm-path-nav a { padding: 8px 9px; border-radius: 8px; color: var(--tm-text-soft); text-decoration: none; font-size: 13px; font-weight: 650; }
.tm-path-nav a:hover { color: var(--tm-accent); background: var(--tm-accent-soft); }

.tm-site-footer { padding: 52px 0; color: #cbd5e1; background: #0b1220; }
.tm-footer-grid { display: grid; grid-template-columns: 1.6fr .7fr .7fr; gap: 50px; }
.tm-brand-footer { color: #fff; }
.tm-site-footer p { max-width: 440px; color: #94a3b8; }
.tm-site-footer strong { display: block; margin-bottom: 12px; color: #fff; }
.tm-site-footer .tm-footer-grid > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; }
.tm-site-footer a:not(.tm-brand) { margin: 4px 0; color: #cbd5e1; text-decoration: none; }
.tm-site-footer a:hover { color: #fff; }

:focus-visible { outline: 3px solid color-mix(in srgb, var(--tm-accent) 34%, transparent); outline-offset: 3px; }

@media (max-width: 1020px) {
    .tm-hero-grid { grid-template-columns: 1fr; gap: 30px; }
    .tm-outcome-card { max-width: 620px; }
    .tm-stat-grid { grid-template-columns: repeat(2, 1fr); }
    .tm-stat:nth-child(2) { border-right: 0; }
    .tm-stat:nth-child(-n+2) { border-bottom: 1px solid var(--tm-border); }
    .tm-path-layout { grid-template-columns: minmax(0, 1fr) 260px; gap: 30px; }
    .tm-check-list, .tm-tool-grid { grid-template-columns: 1fr; }
    .tm-tool-card { min-height: 210px; }
}

@media (max-width: 760px) {
    .tm-module-quiz { padding: 14px; }
    .tm-module-quiz-summary { align-items: flex-start; flex-wrap: wrap; gap: 6px 12px; padding: 14px; }
    .tm-module-quiz-label { flex-basis: calc(100% - 24px); }
    .tm-module-quiz-title { flex: 1 1 220px; }
    .tm-module-quiz .tm-quiz-form { padding: 14px; }
    .tm-container { width: min(calc(100% - 28px), var(--tm-container)); }
    .tm-header-inner { min-height: 64px; }
    .tm-top-nav a:not(:first-child) { display: none; }
    .tm-top-nav a { font-size: 13px; }
    .tm-path-hero { padding: 24px 0 32px; }
    .tm-breadcrumbs { margin-bottom: 28px; }
    .tm-hero-copy h1 { font-size: 42px; }
    .tm-hero-description { font-size: 16px; }
    .tm-hero-actions { flex-direction: column; align-items: stretch; }
    .tm-outcome-card { padding: 19px; }
    .tm-stat-grid { grid-template-columns: 1fr 1fr; }
    .tm-stat { min-height: 84px; padding: 15px; gap: 10px; }
    .tm-stat:nth-child(odd) { border-right: 1px solid var(--tm-border); }
    .tm-stat:nth-child(even) { border-right: 0; }
    .tm-stat:nth-child(-n+2) { border-bottom: 1px solid var(--tm-border); }
    .tm-path-layout { display: flex; flex-direction: column; padding-top: 48px; padding-bottom: 64px; }
    .tm-main-column { width: 100%; order: 2; }
    .tm-sidebar { position: static; width: 100%; order: 1; }
    .tm-path-nav { display: none; }
    .tm-section { margin-bottom: 58px; }
    .tm-section-heading { align-items: flex-start; }
    .tm-section-heading h2 { font-size: 28px; }
    .tm-check-list { grid-template-columns: 1fr; }
    .tm-module > summary { grid-template-columns: 40px minmax(0, 1fr) 14px; min-height: 80px; padding: 15px; gap: 11px; }
    .tm-module-count { display: none; }
    .tm-module-index { width: 38px; height: 38px; }
    .tm-module-title small { display: none; }
    .tm-module-title strong { font-size: 16px; }
    .tm-lesson-row { grid-template-columns: 30px minmax(0, 1fr); padding: 17px 15px; }
    .tm-lesson-time { grid-column: 2; padding-top: 0; }
    .tm-lab-section { padding: 22px 17px; }
    .tm-question { padding: 18px 14px; }
    .tm-next-path { align-items: flex-start; flex-direction: column; padding: 25px; }
    .tm-next-path .tm-button { width: 100%; }
    .tm-footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 430px) {
    .tm-brand { font-size: 18px; }
    .tm-brand-mark { width: 33px; height: 33px; }
    .tm-top-nav a { padding-inline: 5px; }
    .tm-hero-copy h1 { font-size: 36px; }
    .tm-stat-grid { grid-template-columns: 1fr; }
    .tm-stat, .tm-stat:nth-child(odd), .tm-stat:nth-child(even) { border-right: 0; border-bottom: 1px solid var(--tm-border); }
    .tm-stat:last-child { border-bottom: 0; }
    .tm-section-number { width: 38px; height: 38px; flex-basis: 38px; }
    .tm-section-heading { gap: 11px; }
    .tm-score-card { align-items: flex-start; flex-direction: column; }
}

@media print {
    .tm-site-header, .tm-site-footer, .tm-sidebar, .tm-hero-actions, .tm-quiz-form > button, .tm-reset-button { display: none !important; }
    .tm-path-hero { padding: 20px 0; background: #fff; }
    .tm-path-layout { display: block; padding: 30px 0; }
    .tm-section { break-inside: avoid; margin-bottom: 36px; }
    .tm-module { break-inside: avoid; box-shadow: none; }
    .tm-module:not([open]) > .tm-module-content { display: block; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* v2.1.0 guided lab curriculum cards */
.tm-module-lab-card { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 15px; align-items: start; padding: 19px 20px; border-top: 1px solid var(--tm-border); background: color-mix(in srgb, var(--tm-accent-soft) 58%, #fff); transition: border-color .18s ease, background .18s ease, box-shadow .18s ease; }
.tm-module-lab-card:hover { border-color: color-mix(in srgb, var(--tm-accent) 44%, var(--tm-border)); background: var(--tm-accent-soft); box-shadow: inset 4px 0 0 var(--tm-accent); }
.tm-lab-card-icon { display: grid; place-items: center; width: 42px; height: 42px; color: var(--tm-accent); border: 1px solid color-mix(in srgb, var(--tm-accent) 26%, var(--tm-border)); border-radius: 13px; background: #fff; }
.tm-lab-card-icon svg { width: 21px; height: 21px; }
.tm-module-lab-body { min-width: 0; }
.tm-module-lab-body .tm-card-label { display: block; margin-bottom: 5px; color: var(--tm-accent); }
.tm-module-lab-body h3 { margin: 0; font-size: 17px; line-height: 1.4; }
.tm-module-lab-body h3 a { color: var(--tm-text); text-decoration: none; }
.tm-module-lab-body h3 a:hover { color: var(--tm-accent); }
.tm-module-lab-body h3 a:focus-visible { outline: 3px solid color-mix(in srgb, var(--tm-accent) 36%, transparent); outline-offset: 4px; border-radius: 4px; }
.tm-module-lab-body p { margin: 6px 0 0; color: var(--tm-muted); font-size: 13px; line-height: 1.55; }
.tm-lab-complete-state { align-self: center; padding: 7px 10px; color: var(--tm-muted); border: 1px solid var(--tm-border); border-radius: 999px; background: #fff; font-size: 11px; font-weight: 800; white-space: nowrap; }
.tm-module-lab-card.is-complete { background: color-mix(in srgb, #e8f8ef 78%, #fff); box-shadow: inset 4px 0 0 #18864b; }
.tm-module-lab-card.is-complete .tm-lab-complete-state { color: #126c3d; border-color: #9bd6b5; background: #f1fbf5; }
.tm-progress-breakdown { display: block; margin: -5px 0 14px; color: var(--tm-muted); font-size: 12px; }

@media (max-width: 760px) {
    .tm-module-lab-card { grid-template-columns: 40px minmax(0, 1fr); padding: 17px 15px; gap: 11px; }
    .tm-lab-card-icon { width: 38px; height: 38px; }
    .tm-lab-complete-state { grid-column: 2; justify-self: start; margin-top: 2px; }
}

@media (max-width: 430px) {
    .tm-module-lab-card { grid-template-columns: 1fr; }
    .tm-lab-card-icon, .tm-lab-complete-state { grid-column: 1; }
}

.tm-goal-recommendation:empty { display: none; }
.tm-goal-recommendation { margin: 0 0 18px; padding: 12px 14px; color: #17345f; background: #eef5ff; border: 1px solid #a9c8f8; border-radius: 10px; }
.tm-lesson-row.is-recommended, .tm-module-lab-card.is-recommended { outline: 3px solid #f7b84b; outline-offset: 3px; background: #fff9e8; }
@media (prefers-reduced-motion: reduce) { .tm-lesson-row.is-recommended, .tm-module-lab-card.is-recommended { scroll-behavior: auto; } }

.tm-module-lab-card.is-in-progress {
    border-color: #0b63f6;
    box-shadow: inset 4px 0 0 #0b63f6;
}

.tm-module-lab-card.is-in-progress .tm-lab-complete-state {
    color: #0b4fc4;
    font-weight: 800;
}

.tm-completion-summary-link { margin: 14px 0 4px; padding: 14px; border: 1px solid rgba(8,127,91,.28); border-radius: 10px; background: #eaf8f2; }
.tm-completion-summary-link strong { display: block; color: var(--tm-success); font-size: 13px; }
.tm-completion-summary-link a { display: inline-block; margin-top: 5px; color: var(--tm-accent); font-size: 13px; font-weight: 800; }
.tm-completion-summary-link[hidden] { display: none !important; }
