/* Shared detail pages. The existing site header and footer stay intact. */
@media (min-width:0px) {
  .tertiary-page {
    --tp-blue:#1e3c78;
    --tp-ink:#263e50;
    --tp-muted:#657a88;
    --tp-cyan:#28a4ba;
    --tp-pale:#f1f7fa;
    --tp-line:#d9e5eb;
    background:#fff;
    color:var(--tp-ink);
  }
  .tertiary-page [hidden] { display:none!important; }
  .tertiary-page .tp-shell { width:calc(100% - 64px); max-width:1200px; margin:0 auto; }
  .tertiary-page .tp-titleband { position:relative; overflow:hidden; background:var(--tp-pale); }
  .tertiary-page .tp-titleband>.tp-shell { position:relative; z-index:1; }
  .tertiary-page .tp-ribbon { position:absolute; z-index:0; right:-70px; bottom:-35px; width:520px; height:145px; object-fit:fill; opacity:.7; pointer-events:none; }
  .tertiary-page .tp-breadcrumb { display:flex; flex-wrap:wrap; align-items:center; gap:8px; padding-top:22px; color:var(--tp-muted); font-size:12px; line-height:22px; }
  .tertiary-page .tp-breadcrumb a:hover { color:var(--tp-blue); text-decoration:underline; text-underline-offset:4px; }
  .tertiary-page .tp-breadcrumb :is(span[aria-hidden],.tp-separator) { color:#9caeb8; }
  .tertiary-page .tp-heading { max-width:1000px; margin:0 auto; padding:18px 0 22px; }
  .tertiary-page .tp-kicker { display:table; position:relative; padding-bottom:5px; margin-bottom:8px; color:#328b9d; font-size:13px; font-weight:500; line-height:18px; }
  .tertiary-page .tp-kicker::after { content:""; position:absolute; bottom:0; left:0; width:24px; height:2px; background:var(--tp-cyan); }
  body[data-page] #app .secondary-page.tertiary-page .tp-heading h1 { margin:0; color:var(--tp-blue); font-family:"Noto Serif SC",serif!important; font-size:30px; line-height:44px; font-weight:700; letter-spacing:0; overflow-wrap:anywhere; text-wrap:pretty; }
  .tertiary-page .tp-meta-row { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-top:10px; }
  .tertiary-page .tp-meta { display:flex; flex-wrap:wrap; align-items:center; gap:6px 20px; color:var(--tp-muted); font-size:13px; line-height:24px; }
  .tertiary-page .tp-meta :is(time,span) { font-variant-numeric:tabular-nums; }
  .tertiary-page .tp-tools { display:flex; align-items:center; gap:16px; flex-shrink:0; color:var(--tp-muted); }
  .tertiary-page .tp-tool { display:inline-flex; align-items:center; justify-content:center; gap:6px; min-height:30px; padding:2px 0; font-size:12px; line-height:22px; }
  .tertiary-page .tp-tool svg { width:16px; height:16px; }
  .tertiary-page .tp-copy-feedback { font-size:12px; line-height:22px; }
  .tertiary-page .tp-tool:hover { color:var(--tp-blue); }
  .tertiary-page .tp-main { background:#fff; }
  .tertiary-page .tp-reading { width:100%; max-width:840px; margin-left:auto; margin-right:auto; }
  .tertiary-page .tp-article { padding:40px 0 48px; }
  .tertiary-page .tp-richtext { max-width:100%; color:var(--tp-ink); font-family:"Noto Sans SC",sans-serif; font-size:18px; font-weight:400; line-height:34px; overflow-wrap:anywhere; }
  .tertiary-page .tp-richtext :is(p,div,span,font,a,li,td,th,label,strong,b,em,i) { font-family:inherit!important; font-size:inherit!important; line-height:inherit!important; }
  .tertiary-page .tp-richtext :is(p,div) { max-width:100%!important; width:auto!important; height:auto!important; }
  .tertiary-page .tp-richtext p { margin:0 0 20px!important; }
  .tertiary-page .tp-richtext p:last-child { margin-bottom:0!important; }
  .tertiary-page .tp-richtext :is(strong,b) { font-weight:600; }
  .tertiary-page .tp-richtext :is(h1,h2,h3,h4,h5,h6) { margin:32px 0 16px!important; color:var(--tp-blue); font-size:22px!important; line-height:32px!important; font-weight:600; }
  body[data-page] #app .secondary-page.tertiary-page .tp-richtext :is(h1,h2,h3,h4,h5,h6) { font-family:"Noto Sans SC",sans-serif!important; }
  .tertiary-page .tp-richtext :is(h1,h2,h3,h4,h5,h6):first-child { margin-top:0!important; }
  .tertiary-page .tp-richtext :is(ul,ol) { padding-left:1.5em; margin:16px 0 24px; }
  .tertiary-page .tp-richtext li { margin-bottom:8px; }
  .tertiary-page .tp-richtext a { color:#247b91; text-decoration:underline; text-underline-offset:4px; }
  .tertiary-page .tp-richtext a:hover { color:var(--tp-blue); }
  .tertiary-page .tp-richtext blockquote { margin:28px 0; padding:4px 0 4px 24px; border-left:3px solid var(--tp-cyan); color:#536b7c; }
  .tertiary-page .tp-richtext :is(img,video) { display:block; max-width:100%!important; height:auto!important; margin:24px auto; object-fit:contain; }
  .tertiary-page .tp-richtext iframe { display:block; width:100%; max-width:100%; border:0; }
  .tertiary-page .tp-richtext hr { height:0; margin:32px 0; border:0; border-top:1px solid var(--tp-line); }
  .tertiary-page .tp-table-scroll { width:100%; max-width:100%; margin:24px 0; overflow-x:auto; overscroll-behavior-x:contain; }
  .tertiary-page .tp-richtext table { width:100%!important; max-width:100%; margin:0; border-collapse:collapse; border-spacing:0; color:var(--tp-ink); font-size:16px; line-height:28px; }
  .tertiary-page .tp-richtext :is(table,thead,tbody,tfoot,tr,td,th,col,colgroup) { border-left:0!important; border-right:0!important; }
  .tertiary-page .tp-richtext :is(td,th) { padding:12px 14px; border-top:1px solid #e5e5e5!important; border-bottom:1px solid #e5e5e5!important; vertical-align:top; }
  /* Use the same row hierarchy for tables with or without source colors. */
  .tertiary-page .tp-richtext :is(td,th) { background:#fff!important; }
  .tertiary-page .tp-richtext :is(th,thead td,tr.firstRow>td,tr.tp-table-head>td,tr.tp-table-row-alt>td) { background:#f4f4f4!important; }
  .tertiary-page .tp-richtext tr.tp-table-head:nth-child(even)>:is(td,th) { background:#fff!important; }
  .tertiary-page .tp-richtext :is(td,th) p { margin-bottom:8px!important; }
  .tertiary-page .tp-richtext :is(td,th) p:last-child { margin-bottom:0!important; }
  .tertiary-page .tp-lead { margin:0 0 24px; color:var(--tp-ink); font-size:18px; line-height:34px; }
  .tertiary-page .tp-figure { width:100%; max-width:880px; margin:28px auto; }
  .tertiary-page .tp-figure img { display:block; width:100%; max-width:100%; height:auto; max-height:600px; object-fit:contain; margin:0 auto; }
  .tertiary-page .tp-news-figure img { height:470px; max-height:none; object-fit:cover; object-position:50% 60%; }
  .tertiary-page .tp-source { margin-top:24px; }
  .tertiary-page .tp-figure figcaption { margin-top:10px; color:var(--tp-muted); font-size:12px; line-height:22px; text-align:center; }
  .tertiary-page .tp-feature { display:grid; grid-template-columns:380px minmax(0,1fr); gap:40px; width:100%; max-width:1000px; margin:0 auto; padding:40px 0; border-bottom:1px solid var(--tp-line); align-items:start; }
  .tertiary-page .tp-feature:not(:has(>.tp-figure)) { grid-template-columns:minmax(0,1fr); max-width:840px; }
  .tertiary-page .tp-feature-image { display:flex; align-items:center; justify-content:center; min-width:0; background:var(--tp-pale); }
  .tertiary-page .tp-feature-image img { display:block; width:100%; height:auto; max-height:400px; object-fit:contain; }
  .tertiary-page .tp-feature>.tp-figure { margin-top:0; margin-bottom:0; }
  .tertiary-page .tp-profile-image { display:block; width:260px; max-width:100%; height:auto; max-height:360px; object-fit:cover; margin:0 auto; }
  .tertiary-page .tp-feature-image .tp-profile-image { width:260px; max-height:360px; object-fit:cover; }
  .tertiary-page .tp-profile-image img { max-height:360px; object-fit:contain; }
  .tertiary-page .tp-feature-copy { min-width:0; }
  .tertiary-page .tp-feature-copy h2 { margin:0 0 12px; color:var(--tp-blue); font-size:22px; font-weight:600; line-height:32px; }
  .tertiary-page .tp-feature-copy>p { color:var(--tp-muted); font-size:15px; line-height:28px; }
  .tertiary-page .tp-facts { display:grid; grid-template-columns:100px minmax(0,1fr); margin:12px 0 0; font-size:15px; line-height:26px; }
  .tertiary-page .tp-facts>div { display:contents; }
  .tertiary-page .tp-facts :is(dt,dd) { margin:0; padding:12px 0; border-bottom:1px solid var(--tp-line); overflow-wrap:anywhere; }
  .tertiary-page .tp-facts dt { color:var(--tp-muted); padding-right:16px; }
  .tertiary-page .tp-facts dd { color:var(--tp-ink); }
  .tertiary-page .tp-facts dd a { color:#247b91; text-decoration:underline; text-underline-offset:4px; }
  .tertiary-page .tp-status { display:inline-flex; align-items:center; gap:6px; color:#24869a; font-size:13px; font-weight:500; line-height:24px; }
  .tertiary-page .tp-actions { display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin-top:24px; }
  .tertiary-page .tp-button { display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:42px; padding:8px 20px; border:1px solid var(--tp-blue); border-radius:2px; background:var(--tp-blue); color:#fff; font-size:15px; line-height:24px; font-weight:500; }
  .tertiary-page .tp-button:enabled:is(:hover,:focus-visible) { background:#2b508c; border-color:#2b508c; }
  .tertiary-page .tp-button:is(.is-secondary,.tp-button-secondary,[data-variant="secondary"]) { background:#fff; color:var(--tp-blue); }
  .tertiary-page .tp-button:is(.is-secondary,.tp-button-secondary,[data-variant="secondary"]):enabled:is(:hover,:focus-visible) { background:var(--tp-pale); }
  #app .tertiary-page .tp-button:disabled { cursor:not-allowed; opacity:1; background:#f2f2f2; border-color:#d9d9d9; }
  .tertiary-page[data-tertiary-type="resource"] .tp-actions > .tp-button:enabled { background:#fff; border-color:#d9e5eb; }
  .tertiary-page[data-tertiary-type="resource"] .tp-actions > .tp-button:enabled:is(:hover,:focus-visible) { background:#edf7f8; border-color:#28a4ba; }
  .tertiary-page .tp-button svg { width:17px; height:17px; }
  .tertiary-page .tp-link { display:inline-flex; align-items:center; gap:9px; color:#247b91; font-size:14px; line-height:24px; }
  .tertiary-page .tp-link:hover { color:var(--tp-blue); text-decoration:underline; text-underline-offset:4px; }
  .tertiary-page .tp-link svg { width:16px; height:16px; }
  .tertiary-page .tp-back { display:flex; align-items:center; justify-content:space-between; gap:24px; max-width:1000px; margin:0 auto; padding:24px 0 32px; border-top:1px solid var(--tp-line); }
  .tertiary-page .tp-related { padding:32px 0 38px; background:var(--tp-pale); }
  .tertiary-page .tp-related .tp-shell { max-width:1000px; }
  .tertiary-page .tp-related h2 { margin:0 0 24px; color:var(--tp-blue); font-size:24px; line-height:34px; font-weight:600; }
  body[data-page] #app .secondary-page.tertiary-page :is(.tp-section-title,.tp-related h2) { font-family:"Noto Serif SC",serif!important; }
  .tertiary-page .tp-related-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:32px; }
  .tertiary-page .tp-related-item { display:block; position:relative; min-width:0; padding:18px 36px 0 0; border-top:1px solid #cbdde5; }
  .tertiary-page .tp-related-item time { display:block; margin-bottom:9px; color:var(--tp-muted); font-size:12px; line-height:20px; font-variant-numeric:tabular-nums; }
  .tertiary-page .tp-related-category { display:block; margin-bottom:9px; color:var(--tp-muted); font-size:12px; line-height:20px; }
  .tertiary-page .tp-related-item :is(h3,.tp-related-title) { display:block; margin:0; color:var(--tp-blue); font-size:18px; line-height:28px; font-weight:500; }
  .tertiary-page .tp-related-item svg { position:absolute; right:0; top:52px; width:18px; height:18px; color:#328b9d; }
  .tertiary-page .tp-related-item:hover :is(h3,.tp-related-title) { color:#247b91; text-decoration:underline; text-underline-offset:5px; }
  .tertiary-page .tp-section-title { margin:0 0 24px; color:var(--tp-blue); font-size:22px; line-height:32px; font-weight:600; }
  .tertiary-page .tp-teacher-intro-title { margin-top:32px; }
  .tertiary-page .tp-course-summary { margin-top:18px; }
  .tertiary-page :is(.tp-tabs,.demo-course-tabs) { display:flex; align-items:stretch; gap:32px; margin:0; padding:0; border-bottom:1px solid var(--tp-line); }
  .tertiary-page :is(.tp-tabs,.demo-course-tabs) button { position:relative; padding:17px 0; color:var(--tp-muted); font-size:16px; line-height:26px; }
  .tertiary-page :is(.tp-tabs,.demo-course-tabs) button:is(.is-active,.active,[aria-selected="true"]) { color:var(--tp-blue); font-weight:600; }
  .tertiary-page :is(.tp-tabs,.demo-course-tabs) button:is(.is-active,.active,[aria-selected="true"])::after { content:""; position:absolute; left:0; right:0; bottom:-1px; height:2px; background:var(--tp-cyan); }
  .tertiary-page .tp-course-panel { padding:32px 0 40px; }
  .tertiary-page .tp-chapter { border-bottom:1px solid var(--tp-line); }
  .tertiary-page .tp-chapter:first-child { border-top:1px solid var(--tp-line); }
  .tertiary-page .tp-chapter summary { display:flex; align-items:center; justify-content:space-between; gap:20px; list-style:none; padding:16px 0; color:var(--tp-blue); font-size:16px; line-height:28px; font-weight:500; cursor:pointer; }
  .tertiary-page .tp-chapter summary::-webkit-details-marker { display:none; }
  .tertiary-page .tp-chapter summary::after { content:""; width:7px; height:7px; margin:0 5px; border-right:1.5px solid #648495; border-bottom:1.5px solid #648495; transform:rotate(45deg); flex-shrink:0; }
  .tertiary-page .tp-chapter[open] summary::after { transform:rotate(225deg); }
  .tertiary-page .tp-lesson { display:flex; align-items:center; justify-content:space-between; gap:18px; width:100%; padding:12px 18px; color:var(--tp-ink); background:var(--tp-pale); font-size:16px; line-height:28px; text-align:left; }
  .tertiary-page .tp-lesson:last-child { margin-bottom:16px; }
  .tertiary-page .tp-lesson:is(:hover,:focus-visible) { color:var(--tp-blue); background:#e8f2f7; }
  .tertiary-page .tp-lesson svg { width:16px; height:16px; color:#328b9d; }
  .tertiary-page .tp-empty { padding:24px 0; color:var(--tp-muted); font-size:15px; line-height:26px; }
  .tertiary-page .tp-content-split { width:100%; max-width:960px; margin:0 auto; }
  .tertiary-page :is(a,button,summary,select,input):focus-visible { outline:2px solid var(--tp-cyan); outline-offset:4px; }
}

@layer zjut-site-fonts {
  #app .tertiary-page .tp-richtext :is(th,thead td,tr.firstRow>td,tr.tp-table-head>td),
  #app .tertiary-page .tp-richtext :is(th,thead td,tr.firstRow>td,tr.tp-table-head>td) :is(p,span,a,strong,b,font) {
    font-family:var(--design-heading-font)!important;
    font-weight:350!important;
  }
}
@layer zjut-site-colors {
  #app .tertiary-page .tp-richtext :is(th,thead td,tr.firstRow>td,tr.tp-table-head>td),
  #app .tertiary-page .tp-richtext :is(th,thead td,tr.firstRow>td,tr.tp-table-head>td) :is(p,span,a,strong,b,font) {
    --site-current:var(--site-text-main)!important;
  }
}

@media (min-width:1101px) {
  .tertiary-page .tp-titleband {
    min-height:160px;
    background-color:#fff;
    background-image:url("/tertiary-title-gray-light-20261014.png");
    background-position:center;
    background-size:cover;
    background-repeat:no-repeat;
  }
  .tertiary-page .tp-ribbon { display:none; }
  .tertiary-page .tp-titleband>.tp-shell { max-width:1260px; }
  .tertiary-page .tp-breadcrumb { padding-top:16px; }
  .tertiary-page .tp-heading { max-width:none; display:grid; grid-template-columns:minmax(0,1fr) auto; column-gap:20px; padding:10px 0 14px; }
  .tertiary-page .tp-kicker { display:flex; align-items:center; gap:9px; grid-column:1; grid-row:1; margin:0; padding:0; line-height:22px; }
  .tertiary-page .tp-kicker::before { content:""; display:block; width:20px; height:2px; background:var(--tp-cyan); }
  .tertiary-page .tp-kicker::after { content:none; }
  body[data-page] #app .secondary-page.tertiary-page .tp-heading h1 { grid-column:1/-1; grid-row:2; margin-top:8px; max-width:900px; font-size:30px; line-height:44px; }
  .tertiary-page .tp-meta-row { display:contents; }
  .tertiary-page .tp-meta { grid-column:1/-1; grid-row:3; gap:6px 12px; margin-top:4px; font-size:12px; line-height:22px; }
  .tertiary-page .tp-meta:empty { display:none; }
  .tertiary-page .tp-meta>*+*::before { content:"·"; margin-right:12px; }
  .tertiary-page .tp-tools { grid-column:2; grid-row:1; align-self:start; gap:15px; }
  .tertiary-page .tp-tool { min-height:22px; padding:0; }
  .tertiary-page .tp-copy-feedback:empty { display:none; }

  /* A shared desktop grid for activity, course, resource and teacher details. */
  .tertiary-page .tp-feature { padding:32px 0 28px; }
  .tertiary-page .tp-feature-copy h2 { margin-bottom:6px; }
  .tertiary-page .tp-facts { margin-top:0; }
  .tertiary-page .tp-facts :is(dt,dd) { padding-top:7px; padding-bottom:7px; }
  .tertiary-page .tp-actions { margin-top:18px; }
  .tertiary-page .tp-feature-copy>.tp-status { display:none; }
  .tertiary-page .tp-actions:has(>.tp-button:disabled:is([data-activity-state="ended"],[data-activity-state="closed"],[data-activity-state="cancelled"])) { display:none; }
  #app .tertiary-page .tp-feature-copy>.tp-registration-note { margin:12px 0 0; font-size:13px; line-height:24px; }
  .tertiary-page .tp-feature:has(>.tp-figure)+.tp-reading { max-width:1000px; padding-top:28px; }
  .tertiary-page .tp-feature:has(>.tp-figure)+.tp-reading .tp-richtext { max-width:840px; }
  .tertiary-page .tp-profile .tp-feature-copy>.tp-richtext { margin-top:18px; }
}

@media (max-width:1100px) {
  .tertiary-page .tp-shell { width:calc(100% - 48px); }
  .tertiary-page .tp-ribbon { right:-70px; bottom:-30px; width:400px; height:112px; opacity:.7; }
  .tertiary-page .tp-heading { max-width:none; padding:22px 0 28px; }
  body[data-page] #app .secondary-page.tertiary-page .tp-heading h1 { font-size:28px; line-height:42px; }
  .tertiary-page .tp-reading,.tertiary-page .tp-feature,.tertiary-page .tp-back { width:calc(100% - 48px); }
  .tertiary-page .tp-feature { grid-template-columns:minmax(0,1fr); gap:24px; }
  .tertiary-page .tp-feature:not(:has(>.tp-figure)) { grid-template-columns:minmax(0,1fr); }
  .tertiary-page .tp-feature-image { max-width:520px; }
  .tertiary-page .tp-feature>.tp-figure { margin:0; }
  .tertiary-page .tp-news-figure img { height:auto; max-height:520px; object-fit:contain; }
  .tertiary-page .tp-related-grid { gap:24px; }
}

@media (max-width:640px) {
  .tertiary-page .tp-shell,.tertiary-page .tp-reading,.tertiary-page .tp-feature,.tertiary-page .tp-back { width:calc(100% - 36px); }
  .tertiary-page .tp-breadcrumb { gap:5px; padding-top:14px; font-size:11px; line-height:20px; overflow-wrap:anywhere; }
  .tertiary-page .tp-heading { padding:22px 0 24px; }
  .tertiary-page .tp-kicker { margin-bottom:12px; }
  body[data-page] #app .secondary-page.tertiary-page .tp-heading h1 { font-size:24px; line-height:36px; }
  .tertiary-page .tp-meta-row { flex-wrap:wrap; align-items:flex-start; gap:10px; margin-top:14px; }
  .tertiary-page .tp-tools { flex-wrap:wrap; gap:12px; }
  .tertiary-page .tp-tool { min-height:36px; }
  .tertiary-page .tp-ribbon { right:-80px; bottom:-43px; width:300px; height:100px; }
  .tertiary-page .tp-article { padding:28px 0 34px; }
  .tertiary-page .tp-richtext { font-size:16px; line-height:30px; }
  .tertiary-page .tp-richtext :is(p,div,span,font,a,li,td,th,label,strong,b,em,i) { font-size:inherit!important; line-height:inherit!important; }
  .tertiary-page .tp-richtext :is(p,div) { max-width:100%!important; width:auto!important; height:auto!important; }
  .tertiary-page .tp-richtext :is(img,video) { max-width:100%!important; height:auto!important; }
  .tertiary-page .tp-table-scroll { max-width:100%; overflow-x:auto; }
  .tertiary-page .tp-richtext table { width:100%!important; max-width:100%; }
  .tertiary-page .tp-figure { max-width:100%; margin:20px auto; }
  .tertiary-page .tp-figure img { max-width:100%; height:auto; }
  .tertiary-page .tp-feature { padding:28px 0; }
  .tertiary-page .tp-feature-image { max-width:100%; }
  .tertiary-page .tp-profile-image { width:220px; }
  .tertiary-page .tp-feature-copy h2,.tertiary-page .tp-section-title { font-size:21px; line-height:32px; }
  .tertiary-page .tp-facts { grid-template-columns:88px minmax(0,1fr); font-size:14px; line-height:24px; }
  .tertiary-page .tp-facts :is(dt,dd) { padding:10px 0; }
  .tertiary-page .tp-button { min-height:44px; }
  .tertiary-page .tp-related { padding:28px 0; }
  .tertiary-page .tp-related-grid { grid-template-columns:minmax(0,1fr); gap:18px; }
  .tertiary-page .tp-related-item { padding-top:14px; }
  .tertiary-page .tp-course-panel { padding:22px 0 28px; }
  .tertiary-page .tp-chapter summary,.tertiary-page .tp-lesson { font-size:15px; line-height:25px; }
}

@media print {
  .tertiary-page { background:#fff!important; color:#000!important; }
  .tertiary-page :is(.sp-header,.sp-footer,.tp-tools,.tp-ribbon,.tp-related,.tp-actions,.tp-back,.tp-tabs,.demo-course-tabs,.tp-button) { display:none!important; }
  .tertiary-page :is(.tp-titleband,.tp-main,.tp-feature-image) { background:#fff!important; overflow:visible!important; }
  .tertiary-page :is(.tp-shell,.tp-heading,.tp-reading,.tp-content-split,.tp-feature,.tp-article,.tp-course-panel) { width:100%!important; max-width:none!important; padding-left:0!important; padding-right:0!important; }
  .tertiary-page .tp-heading { padding-top:12px!important; padding-bottom:20px!important; }
  .tertiary-page .tp-breadcrumb { display:none!important; }
  .tertiary-page .tp-heading h1 { color:#000!important; font-family:"Noto Serif SC",serif!important; font-size:24pt!important; line-height:1.5!important; }
  .tertiary-page .tp-richtext { color:#000!important; font-size:12pt!important; line-height:1.8!important; }
  .tertiary-page .tp-richtext :is(p,span,font,a,li,td,th) { font-family:inherit!important; font-size:inherit!important; line-height:inherit!important; }
  .tertiary-page :is(.tp-figure,.tp-feature,.tp-richtext img,.tp-richtext table) { break-inside:avoid; }
  .tertiary-page :is(.tp-table-scroll,.tp-richtext) { max-height:none!important; overflow:visible!important; }
  .tertiary-page .tp-richtext img { max-width:100%!important; height:auto!important; }
  .tertiary-page .tp-course-panel[hidden] { display:block!important; }
  .tertiary-page .tp-chapter>* { display:block!important; }
}
