.h5-only,.h5-sheet { display:none!important }

@media (pointer:coarse) {
  html { touch-action:pan-x pan-y }
}

@media (max-width:760px) {
  .h5-navigation-feedback {
    position:fixed; z-index:2147483646; top:50%; left:50%; transform:translate(-50%,-50%);
    display:flex; align-items:center; gap:10px; width:max-content; max-width:90vw;
    padding:13px 18px; border:1px solid #ffffff26; border-radius:12px;
    background:#17283bf2; color:#fff; box-shadow:0 4px 18px #11243a29;
    font:500 14px/1.4 system-ui,sans-serif; pointer-events:none;
  }
  .h5-navigation-feedback::before {
    content:''; width:15px; height:15px; box-sizing:border-box; border-radius:50%;
    border:2px solid #ffffff55; border-top-color:#fff; animation:h5-navigation-spin .8s linear infinite;
  }
}
@keyframes h5-navigation-spin { to { transform:rotate(360deg); } }
@media (prefers-reduced-motion:reduce) {
  .h5-navigation-feedback::before { animation:none; }
}

#policy .site-policy-copy {
  margin:0;
  color:color-mix(in srgb,var(--cat-ink,var(--ink,var(--text,#172d43))) 74%,var(--cat-paper,var(--paper,var(--bg,#fff))));
  font-size:12px;
  line-height:1.7;
}
#policy .site-policy-brand { white-space:nowrap }

:root { --theme-button-size:36px }
.top #theme,.topbar #theme,.h5-back-bar #theme {
  position:relative;
  flex:none;
  box-sizing:border-box;
  width:var(--theme-button-size);
  height:var(--theme-button-size);
  padding:0;
  margin:0;
  border:1px solid var(--cat-line,var(--line,#dce3ed));
  border-radius:50%;
  background:var(--cat-paper,var(--paper,var(--bg,#fff)));
  color:var(--cat-ink,var(--ink,var(--text,#172d43)));
  font-size:0;
  line-height:0;
  cursor:pointer;
}
#theme::before {
  --theme-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.9 14.1A8.9 8.9 0 0 1 9.9 3.1a9 9 0 1 0 11 11Z'/%3E%3C/svg%3E");
  content:"";
  position:absolute;
  inset:0;
  width:20px;
  height:20px;
  margin:auto;
  background:currentColor;
  -webkit-mask:var(--theme-icon) center / contain no-repeat;
  mask:var(--theme-icon) center / contain no-repeat;
}
[data-theme=dark] #theme::before {
  --theme-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2m0 16v2M2 12h2m16 0h2M5 5l1.4 1.4m11.2 11.2L19 19M5 19l1.4-1.4M17.6 6.4 19 5'/%3E%3C/svg%3E");
}
#theme:focus-visible {
  outline:2px solid var(--cat-blue,var(--blue,var(--accent,#245b96)));
  outline-offset:3px;
}
.site-header-actions { display:flex;align-items:center;gap:12px;margin-inline-start:auto;min-width:0 }
.site-header-search { display:flex;align-items:center;gap:9px;min-width:0;margin:0 }
.site-header-search input {
  box-sizing:border-box;width:clamp(175px,21vw,285px);min-width:0;padding:8px 0;
  border:0;border-radius:4px;background:transparent;color:var(--cat-ink,var(--ink,var(--text)));
  font:inherit;font-size:12px;
}
.site-header-search input::placeholder { color:var(--cat-muted,var(--muted,#75828f)) }
.site-header-search button {
  display:grid;place-items:center;flex:none;width:36px;height:36px;padding:4px 8px;
  border:0;border-radius:6px;background:transparent;color:var(--cat-blue,var(--blue,var(--accent)));
  cursor:pointer;
}
.site-header-search button:hover { background:var(--cat-surface,var(--soft,var(--panel))) }
.site-header-search button svg { display:block;width:17px;height:17px }
.site-header-search button span { display:none }
.site-header-search :is(input,button):focus-visible {
  outline:2px solid var(--cat-blue,var(--blue,var(--accent,#245b96)));outline-offset:2px;
}
.global-search { max-width:940px;margin:0 auto;padding:16px 0 8px }
.global-search h1 { margin:0 0 18px;font-size:clamp(28px,4vw,40px);line-height:1.2;letter-spacing:-.025em }
.global-search-form { display:flex;gap:8px;min-width:0 }
.global-search-form :is(input,button) {
  min-height:44px;border:1px solid var(--cat-line,var(--line));border-radius:7px;font:inherit;
}
.global-search-form input {
  flex:1;min-width:0;padding:8px 13px;background:var(--cat-paper,var(--paper,var(--bg)));
  color:var(--cat-ink,var(--ink,var(--text)));font-size:16px;
}
.global-search-form button {
  flex:none;padding:8px 19px;background:var(--cat-soft,var(--soft,var(--panel)));
  color:var(--cat-blue,var(--blue,var(--accent)));font-weight:650;cursor:pointer;
}
body[data-h5-search-page] main > :not(#h5-search-entry,.h5-bottom-nav,.h5-sheet),
body[data-h5-search-page] .site-header-search { display:none!important }
body[data-h5-search-page] .h5-search-link { visibility:hidden }
.cat-coach-profile-heading { display:contents }
.cat-coach-affiliation { display:none }

/* Course card tags and actions use the full card width on phones. */
@media (max-width:760px) {
  .cc .cc-course-card{row-gap:12px}
  .cc-course-card>.cc-course-card-content{display:contents}
  .cc-course-card .cc-course-card-intro{display:block;grid-column:2;min-width:0}
  .cc-course-card .cc-course-card-intro>p{margin-bottom:0}
  .cc-course-card-content>.cc-tags{grid-column:1 / -1;min-width:0;width:100%}
  .cc .cc-course-card-content>.cc-card-foot{grid-column:1 / -1;flex-wrap:nowrap;width:100%;margin-top:0}
  .cc-course-card-content>.cc-card-foot>span{margin-right:auto}
  .cc-course-card .cc-course-card-start{
    display:inline-flex;align-items:center;justify-content:center;flex:none;
    min-height:44px;padding:8px 14px;border:1px solid var(--text,#1c2532);border-radius:6px;
    background:var(--text,#1c2532);color:var(--bg,#fff);font-size:13px;line-height:1.5;
  }
  .cc-course-card .cc-course-card-start:hover{filter:brightness(.9)}
  .cc-course-card .cc-course-card-start:focus-visible{outline:2px solid var(--cc-blue);outline-offset:3px}
}

/* Course reading keeps shared article navigation and video reading rhythm. */
@media (max-width:760px) {
  .cc-course-detail .cc-course-byline{display:none}
  .cc-course-detail .cc-course-mobile-credit{display:block}
  .cc-course-detail .cc-course-video-intro{font-size:15px;line-height:1.95;margin:0 0 18px}
  .cc-course-detail .cc-course-video{padding:0;border:0;border-radius:0;background:transparent}
  .cc-course-detail .cc-course-video+.cc-course-video{padding-top:24px;border-top:1px solid var(--cc-line)}
  .cc-course-detail .cc-course-video-heading h3{font-size:18px;line-height:1.65}
}

@media (min-width:761px) {
  .top:has(> #theme) { justify-content:space-between }
}

@media (max-width:760px) {
  :root {
    --h5-paper:var(--cat-paper,var(--paper,var(--bg,#fdfdfd)));
    --h5-text:var(--cat-ink,var(--ink,var(--text,#1c2532)));
    --h5-muted:var(--cat-muted,var(--muted,#5b6472));
    --h5-border:var(--cat-line,var(--line,#dce3ed));
    --h5-accent:var(--cat-blue,var(--blue,var(--accent,#245b96)));
    --h5-soft:color-mix(in srgb,var(--h5-accent) 9%,var(--h5-paper));
    --h5-bottom-height:calc(60px + env(safe-area-inset-bottom,0px));
    --h5-header-height:70px;
    --h5-wordmark-width:160px;
    --theme-button-size:44px;
  }
  .top:has(.site-logo-brand) {
    min-height:var(--h5-header-height);
    align-items:center;
    justify-content:space-between;
  }
  .top .site-logo-brand { --site-logo-width:var(--h5-wordmark-width) }
  body:has(.h5-bottom-nav) { padding-bottom:var(--h5-bottom-height) }
  body:has(.h5-detail-nav) { padding-bottom:calc(72px + env(safe-area-inset-bottom,0px)) }
  body:has(.h5-sheet[open]) { overflow:hidden }
  body:has(.h5-bottom-nav,.h5-back-bar,.h5-detail-nav) .layout {
    display:block;
    padding-top:16px;
  }
  body:has(.h5-bottom-nav) .app-layout { display:block;padding-top:0 }
  body:has(.h5-bottom-nav,.h5-back-bar,.h5-detail-nav) .layout > .rail,
  body:has(.h5-bottom-nav) .app-layout > .site-sidebar { display:none }
  .h5-only.h5-bottom-nav {
    position:fixed;
    z-index:30;
    inset:auto 0 0;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr));
    min-height:var(--h5-bottom-height);
    padding:4px max(5px,env(safe-area-inset-right,0px)) max(4px,env(safe-area-inset-bottom,0px)) max(5px,env(safe-area-inset-left,0px));
    border-top:1px solid var(--h5-border);
    background:var(--h5-paper);
    box-shadow:0 -3px 14px #1527380a;
  }
  .h5-bottom-nav>a,.h5-bottom-nav>button {
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:3px;
    min-width:0;
    min-height:48px;
    margin:0 2px;
    padding:3px;
    border:0;
    border-radius:9px;
    background:transparent;
    color:var(--h5-muted);
    font-size:12px;
    line-height:1.3;
    text-decoration:none;
  }
  .h5-bottom-nav :is([aria-current],.h5-nav-selected) {
    background:var(--h5-soft);
    color:var(--h5-accent);
    font-weight:700;
  }
  :is(.h5-bottom-nav,.h5-back-bar,.h5-search-link,.h5-channel-list) svg {
    flex:none;
    width:21px;
    height:21px;
  }
  .h5-only.h5-back-bar {
    display:flex!important;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    padding-bottom:5px;
    margin:0 0 9px;
    border-bottom:1px solid var(--h5-border);
  }
  .h5-back-bar [data-h5-open] { margin-left:auto }
  .h5-back-bar :is(a,button) {
    display:inline-flex;
    align-items:center;
    gap:6px;
    min-height:44px;
    padding:0 4px;
    border:0;
    background:transparent;
    color:var(--h5-accent);
    font-size:13px;
    font-weight:650;
    text-decoration:none;
  }
  body:has(.h5-back-bar,.h5-detail-nav) :is(.top,.cc-crumb,.cat-crumb) { display:none }

  .h5-only.h5-detail-nav {
    display:flex!important;
    position:fixed;
    z-index:32;
    right:max(16px,env(safe-area-inset-right,0px));
    bottom:calc(16px + env(safe-area-inset-bottom,0px));
    gap:8px;
  }
  .h5-detail-nav svg { display:block;flex:none;width:17px;height:17px }
  .h5-detail-action {
    display:flex;
    align-items:center;
    justify-content:center;
    min-width:72px;
    min-height:44px;
    gap:6px;
    padding:0 11px;
    border:1px solid var(--h5-border);
    border-radius:10px;
    background:var(--h5-paper);
    color:var(--h5-text);
    box-shadow:0 3px 12px #182b4426;
    font-size:13px;
    font-weight:650;
    line-height:1.4;
    text-decoration:none;
    white-space:nowrap;
    cursor:pointer;
  }
  .h5-detail-more>summary { list-style:none }
  .h5-detail-more>summary::-webkit-details-marker { display:none }
  .h5-detail-more[open]>summary {
    background:var(--h5-text);
    border-color:var(--h5-text);
    color:var(--h5-paper);
  }
  .h5-detail-icon-open,.h5-detail-sun,
  .h5-detail-more[open] .h5-detail-icon-closed,
  [data-theme=dark] .h5-detail-moon { display:none }
  .h5-detail-more[open] .h5-detail-icon-open,
  [data-theme=dark] .h5-detail-sun { display:block }
  .h5-detail-menu {
    position:absolute;
    right:0;
    bottom:calc(100% + 9px);
    width:198px;
    max-height:calc(100vh - 90px);
    max-height:calc(100dvh - 90px - env(safe-area-inset-bottom,0px));
    padding:6px;
    border:1px solid var(--h5-border);
    border-radius:12px;
    background:var(--h5-paper);
    color:var(--h5-text);
    box-shadow:0 6px 20px #182b4433;
    overflow:auto;
    overscroll-behavior:contain;
  }
  .h5-detail-menu .h5-channel-list a {
    display:flex;
    align-items:center;
    min-height:44px;
    padding:0 9px;
    border-radius:7px;
    color:var(--h5-text);
    font-size:13px;
    text-decoration:none;
  }
  .h5-detail-menu .h5-channel-list svg { width:17px;height:17px;color:var(--h5-accent) }
  .h5-detail-menu .h5-channel-list a[aria-current] {
    background:var(--h5-soft);
    color:var(--h5-accent);
    font-weight:700;
  }
  .h5-detail-utilities {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:4px;
    margin-top:4px;
    border-top:1px solid var(--h5-border);
  }
  .h5-detail-utilities button {
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:44px;
    gap:4px;
    padding:0;
    border:0;
    border-radius:6px;
    background:transparent;
    color:var(--h5-muted);
    font:inherit;
    font-size:11px;
    white-space:nowrap;
    cursor:pointer;
  }
  .h5-detail-nav :is(a,button,summary):focus-visible { outline:2px solid var(--h5-accent);outline-offset:-2px }

  .h5-sheet[open] {
    position:fixed;
    inset:auto 0 0;
    display:grid!important;
    grid-template-rows:auto minmax(0,1fr);
    width:min(100%,520px);
    max-width:none;
    max-height:72vh;
    max-height:72dvh;
    margin:0 auto;
    padding:0 0 env(safe-area-inset-bottom,0px);
    border:1px solid var(--h5-border);
    border-radius:18px 18px 0 0;
    background:var(--h5-paper);
    color:var(--h5-text);
    box-shadow:0 -8px 32px #15273824;
    overflow:hidden;
  }
  .h5-sheet::backdrop { background:#101d2d70 }
  .h5-sheet-header {
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:6px 12px 6px 20px;
    border-bottom:1px solid var(--h5-border);
  }
  .h5-sheet .h5-sheet-header h2 { margin:0;font-size:18px;line-height:1.4 }
  .h5-sheet-header button {
    width:44px;
    min-height:44px;
    border:0;
    border-radius:8px;
    background:var(--h5-soft);
    color:var(--h5-text);
    font:inherit;
    font-size:23px;
  }
  .h5-sheet-body {
    overflow:auto;
    overscroll-behavior:contain;
    padding:6px 16px 12px;
  }
  .h5-sheet-body a {
    display:flex;
    align-items:center;
    min-height:44px;
    padding:8px 10px;
    border-bottom:1px solid var(--h5-border);
    color:var(--h5-text);
    font-size:15px;
    line-height:1.45;
    text-decoration:none;
  }
  .h5-sheet-body a[aria-current] { color:var(--h5-accent);background:var(--h5-soft);font-weight:700 }
  .h5-channel-list a { gap:10px }
  .h5-contact-trigger,.h5-copy-wechat {
    min-height:44px;
    padding:8px 14px;
    border:1px solid var(--h5-border);
    border-radius:8px;
    background:var(--h5-soft);
    color:var(--h5-accent);
    font-size:14px;
    font-weight:650;
  }
  .h5-contact-trigger { width:100%;margin:10px 0 4px }
  .h5-contact-content {
    --cat-line:var(--h5-border);
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:10px;
    padding:10px 4px 4px;
    text-align:center;
  }
  .h5-contact-content .cat-contact-preview-code { width:180px;margin:0 }
  .h5-contact-content p { margin:0;color:var(--h5-muted);font-size:13px;line-height:1.5 }
  .h5-contact-content .h5-contact-account { color:var(--h5-text);font-size:16px }
  #h5-wechat-account { -webkit-user-select:text;user-select:text }
  #h5-wechat-status { min-height:1.5em;color:var(--h5-accent) }
  :is(.h5-bottom-nav,.h5-back-bar,.h5-sheet,.lt-hero-actions) :is(a,button):focus-visible,
  .h5-search-link:focus-visible { outline:2px solid var(--h5-accent);outline-offset:2px }
  button[data-h5-open] { -webkit-tap-highlight-color:transparent }

  :is(.topbar,.top):has(.h5-search-link) {
    display:grid;
    grid-template-columns:minmax(0,1fr) 44px var(--theme-button-size);
    grid-template-rows:calc(var(--h5-header-height) - 1px);
    gap:5px 8px;
    width:calc(100% - 32px);
    height:auto;
    padding:0;
  }
  :is(.topbar,.top):has(.h5-search-link) .site-header-actions { display:contents }
  .topbar:has(.h5-search-link) #site-logo {
    display:block;
    width:var(--h5-wordmark-width);
    max-width:100%;
    height:auto;
  }
  .h5-only.h5-search-link {
    display:grid!important;
    place-items:center;
    width:44px;
    height:44px;
    padding:0;
    border:0;
    border-radius:8px;
    background:transparent;
    color:var(--h5-text);
  }
  .site-header-search { display:none }
  .global-search { padding-top:12px }
  .global-search h1 { margin-bottom:14px }

  .app-layout .intro { padding:12px 0 16px }
  .app-layout .problem-section { padding-bottom:22px }
  .problem-section .problems {
    --problem-gap:8px;
    display:flex;
    gap:var(--problem-gap);
    padding:2px 0 4px;
    overflow-x:auto;
    scrollbar-width:none;
    scroll-snap-type:x proximity;
  }
  .problem-section .problem {
    flex:0 0 calc((100% - 2 * var(--problem-gap)) / 2.5);
    flex-direction:column;
    align-items:flex-start;
    gap:4px;
    min-height:72px;
    padding:6px 8px;
    scroll-snap-align:start;
  }
  .problem-section .problem:focus-visible { outline-offset:-3px }
  .problem-section .problem strong { font-size:12px;line-height:1.45 }
  .problem-section .problem-icon { width:22px;height:22px;border-radius:5px }
  .problem-section .problem-icon svg { width:16px;height:16px }
  .problem-section .problem-detail { margin-top:2px;font-size:10px }

  .reading-heading.learning-tip { display:block;padding:9px 10px;margin-bottom:14px }
  .learning-tip .learning-tip-icon { position:absolute;top:9px;left:10px;width:20px;height:20px;margin:0 }
  .reading-heading.learning-tip h2 { container-type:inline-size;display:block;font-size:13px;line-height:1.55 }
  .learning-tip #reading-label { display:block;min-height:20px;margin:0 0 3px;padding:0 0 0 26px;border:0 }
  .learning-tip[data-tip-topic] #reading-description {
    display:block;
    font-size:clamp(9px,3vw,14px);
    font-size:min(14px,3.78cqi);
    white-space:nowrap;
  }

  .cc-read-layout > .cc-article-sidebar { display:none }
  .cc .cc-detail-heading:has(.cc-article-summary) { margin-bottom:12px }
  .cc .cc-detail-heading .cc-article-summary { margin:8px 0 10px;padding:9px 12px }
  .cc .cc-article-summary .cc-summary-label { font-size:13px;margin-bottom:3px }
  .cc .cc-article-summary p { font-size:13px;line-height:1.65 }
  .cc .cc-detail-creditline {
    flex-wrap:nowrap;
    gap:12px;
    margin:8px 0;
  }
  .cc .cc-original-date-prefix { display:none }
  .cc .cc-detail-creditpeople { flex:1 1 0 }
  .cc .cc-detail-creditpeople .cc-detail-authors {
    flex:1 1 auto;
    flex-wrap:nowrap;
    gap:12px;
    min-width:0;
    overflow-x:auto;
    scrollbar-width:none;
  }
  .cc .cc-detail-creditpeople .cc-card-author { min-width:48px }
  .cc .cc-detail-creditpeople .cc-card-author:focus-visible { outline-offset:-2px }
  .cc .cc-detail-authors .cc-author-avatar { width:25px;height:25px;flex-basis:25px }
  .cc .cc-detail-authors .cc-author-name { font-size:12px;white-space:nowrap }
  .cc .cc-detail-heading>.cc-tags { margin:8px 0;gap:4px }

  .cat-course-detail .cat-detail-hero,
  .catalog-page .cat-profile,
  .lt-page .lt-detail-hero {
    grid-template-columns:clamp(84px,29vw,152px) minmax(0,1fr);
    align-items:start;
    gap:12px;
    padding:14px;
  }
  .catalog-page .cat-profile { border:1px solid var(--cat-line) }
  .catalog-page .cat-profile:has(+ .cat-profile-related) { margin-bottom:0 }
  .catalog-page .cat-profile > :is(.cat-logo,.cat-portrait) {
    width:100%;
    height:auto;
    aspect-ratio:1;
    border-radius:6px;
  }
  .catalog-page .cat-profile > div { min-width:0 }
  .catalog-page .cat-profile h1 {
    font-size:clamp(17px,4.5vw,22px);
    line-height:1.28;
    margin:0;
  }
  .catalog-page .cat-profile p {
    font-size:13px;
    line-height:1.55;
    margin:7px 0 0;
    overflow-wrap:anywhere;
  }
  .catalog-page .cat-coach-profile,.lt-page .lt-detail-hero { align-items:center }
  .cat-coach-profile > .cat-profile-copy,.lt-detail-hero .lt-hero-copy { display:contents }
  .cat-coach-profile-heading,.lt-hero-heading { display:block;min-width:0 }
  .cat-coach-affiliation {
    display:block;
    margin-top:6px;
    color:var(--cat-muted);
    font-size:12px;
    line-height:1.45;
    overflow-wrap:anywhere;
  }
  .catalog-page .cat-coach-profile .cat-profile-description {
    grid-column:1/-1;
    max-width:none;
    margin:0;
  }
  .catalog-page .cat-profile-actions { margin-top:12px }
  .catalog-page .cat-coach-profile .cat-profile-actions {
    grid-column:1/-1;
    justify-content:flex-end;
    margin-top:0;
  }
  .catalog-page .cat-profile .cat-action { margin-top:0 }
  .catalog-page .cat-profile > .cat-logo + div {
    display:flex;
    flex-direction:column;
    align-self:stretch;
  }
  .catalog-page .cat-profile > .cat-logo + div > .cat-profile-actions {
    flex:1;
    align-items:flex-end;
    justify-content:flex-end;
  }

  .cat-course-detail .cat-detail-art { border-radius:6px }
  .cat-course-detail .cat-detail-copy { display:contents }
  .cat-course-detail .cat-hero-description { display:block;min-width:0 }
  .cat-course-detail .cat-detail-copy h1 { font-size:clamp(17px,4.5vw,22px);line-height:1.28 }
  .cat-course-detail .cat-original { font-size:12px;line-height:1.4;margin-top:5px }
  .cat-course-detail .cat-hero-description>p { font-size:13px;line-height:1.55;margin:7px 0 0 }
  .cat-course-detail .learning-resource-heading { gap:6px }
  .cat-course-detail .learning-resource-heading .learning-resource-views { font-size:10px;margin-top:4px }
  .cat-course-detail .cat-hero-tag-list {
    display:block;
    grid-column:1/-1;
    min-width:0;
  }
  .cat-hero-tag-list .cat-tags { gap:6px }
  .cat-hero-tag-list .cat-tags span {
    height:24px;
    max-width:100%;
    padding:3px 7px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .cat-course-detail .cat-read-intro { display:none }
  @media (max-width:380px) {
    .cat-course-detail .cat-detail-nav:has([data-mobile-related-tab]) > a { font-size:11px }
  }
  .cat-course-detail .cat-contact-preview-column > .cat-contact-preview,
  .lt-page .lt-detail-sidebar > .cat-contact-preview { display:none }
  .cat-course-detail .cat-contact-preview-column > .cat-info,
  .lt-page .lt-detail-sidebar > .lt-info { margin-bottom:0 }

  .lt-page .related-articles .ra-footer {
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:10px;
  }
  .lt-page .related-articles .ra-tags {
    --ra-tag-height:24px;
    --ra-tag-gap:6px;
    gap:var(--ra-tag-gap);
    max-height:calc(2 * var(--ra-tag-height) + var(--ra-tag-gap));
    overflow:hidden;
  }
  .lt-page .related-articles .ra-tags:empty { display:none }
  .lt-page .related-articles .ra-tags > span {
    box-sizing:border-box;
    height:var(--ra-tag-height);
    max-width:100%;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .lt-page .related-articles .ra-footer > .ra-read { justify-self:end }
  .lt-page .lt-detail-nav {
    display:grid;
    width:100%;
    grid-auto-flow:column;
    grid-auto-columns:minmax(0,1fr);
    gap:0;
  }
  .lt-page .lt-detail-nav > a {
    display:grid;
    place-items:center;
    min-height:44px;
    padding-inline:2px;
    text-align:center;
    white-space:normal;
    overflow-wrap:anywhere;
  }
  .lt-detail-hero .lt-hero-image {
    height:auto;
    min-height:0;
    aspect-ratio:1;
    align-self:center;
    border-radius:6px;
  }
  .lt-detail-hero .lt-hero-copy h1 {
    font-size:clamp(17px,4.5vw,22px);
    line-height:1.28;
  }
  .lt-detail-hero .lt-hero-heading>.lt-subtitle {
    margin:6px 0 0!important;
    color:var(--lt-muted);
    font-size:12px;
    line-height:1.45;
    overflow-wrap:anywhere;
  }
  .lt-hero-heading .learning-resource-heading { gap:6px }
  .lt-hero-heading .learning-resource-views { font-size:10px;margin-top:4px }
  .lt-detail-hero .lt-hero-copy>p.lt-hero-description {
    grid-column:1/-1;
    font-size:13px;
    line-height:1.55;
    margin:0;
    overflow-wrap:anywhere;
  }
  .lt-detail-hero .lt-hero-actions {
    display:flex;
    grid-column:1/-1;
    align-items:flex-end;
    flex-wrap:wrap;
    gap:8px;
  }
  .lt-hero-actions>.lt-button {
    margin-inline-start:auto;
    padding:9px 12px;
    gap:10px;
  }
  .h5-only.lt-hero-manual {
    display:inline-flex!important;
    align-items:center;
    gap:5px;
    min-height:44px;
    padding:2px 9px;
    color:var(--h5-accent);
    font-size:13px;
    font-weight:650;
  }
}
.mobile-route-dialog {
  position:fixed; inset:0; margin:auto; width:min(86vw,370px); height:fit-content; box-sizing:border-box;
  border:0; border-radius:16px; padding:22px; color:#162337; background:#fff; z-index:2147483647;
  box-shadow:0 12px 48px #0d203544;
}
.mobile-route-dialog[open] { display:block; }
.mobile-route-dialog::backdrop { background:#142536aa; }
.mobile-route-dialog h2 { margin:0 0 8px; font-size:20px; }
.mobile-route-dialog p { margin:0 0 16px; line-height:1.6; }
.mobile-route-dialog button { border:0; border-radius:8px; padding:8px 12px; min-height:44px; margin:0 6px 4px 0; }
.mobile-route-dialog button:first-of-type { background:#195aaa; color:white; }
