/* CSDN 式信息布局，保留 GoPath 的品牌与学习优先级。 */
:root {
  --canvas: #f4f5f7;
  --heading: #26313a;
  --ink: #35444f;
  --muted: #697986;
  --line: #e8ebee;
  --primary: #007f9e;
  --primary-dark: #006a86;
  --sidebar-width: 176px;
  --portal-width: 1440px;
  --portal-header-height: 108px;
}
html { scroll-padding-top: calc(var(--portal-header-height) + 18px); }
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid #e4e8eb; }
.topbar { height: 64px; max-width: var(--portal-width); margin: 0 auto; padding: 0 24px; gap: 24px; border-bottom: 0; }
.topbar-brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.topbar .brand { padding: 0; gap: 10px; font-size: 24px; letter-spacing: -.5px; }
.topbar .brand-mark { width: 40px; height: 40px; border-radius: 10px; background: transparent; flex-shrink: 0; }
.brand-mark img { width: 100%; height: 100%; }
.topbar .brand-mark .icon { width: 29px; height: 29px; }
.topbar .brand-subtitle { margin-top: 4px; font-size: 9px; color: #788792; letter-spacing: .7px; }
.top-navigation { display: flex; align-self: stretch; align-items: stretch; gap: 23px; flex-shrink: 0; }
.top-nav-link { display: flex; align-items: center; font-size: 14px; color: #48555f; border-bottom: 3px solid transparent; padding-top: 3px; }
.top-nav-link:hover, .top-nav-link.active { color: var(--primary); }
.top-nav-link.active { border-color: var(--primary); font-weight: 650; }
.topbar .search-form { flex: 1; width: auto; min-width: 180px; max-width: 520px; height: 36px; padding: 0 0 0 12px; gap: 8px; border-radius: 6px; background: #f6f7f8; border-color: #e4e8eb; }
.topbar .search-form input { font-size: 12px; }
.topbar .search-form input::placeholder { color: #7b8790; }
.search-submit { align-self: stretch; padding: 0 17px; border-radius: 0 5px 5px 0; background: var(--primary); color: #fff; font-size: 13px; white-space: nowrap; }
.search-submit:hover { background: var(--primary-dark); }
.search-form kbd { flex-shrink: 0; font-size: 10px; margin-right: 2px; }
.topbar-tools { gap: 19px; flex-shrink: 0; }
.topbar-tools .playground-link, .header-saved { display: inline-flex; align-items: center; gap: 5px; color: #5b6a75; font-size: 12px; }
.topbar-tools .playground-link > .icon:last-child { display: none; }
.header-saved .icon { width: 16px; height: 16px; }
.header-learning { min-height: 35px; padding: 7px 12px; font-size: 12px; border-radius: 5px; box-shadow: none; gap: 7px; }
.header-learning .icon { width: 16px; height: 16px; }
.channel-bar { border-top: 1px solid #f0f2f4; }
.channel-inner { display: flex; align-items: center; gap: 20px; height: 43px; max-width: var(--portal-width); margin: auto; padding: 0 24px; }
.channel-home { display: flex; align-items: center; gap: 7px; width: var(--sidebar-width); flex-shrink: 0; font-size: 12px; font-weight: 600; color: var(--primary); }
.channel-home .icon { width: 16px; height: 16px; }
.channel-links { display: flex; align-items: center; flex: 1; min-width: 0; gap: 25px; height: 100%; overflow-x: auto; scrollbar-width: thin; }
.channel-links > a { display: inline-flex; align-items: center; height: 100%; flex-shrink: 0; white-space: nowrap; font-size: 12px; color: #5d6b77; border-bottom: 2px solid transparent; padding-top: 2px; }
.channel-links > a:hover, .channel-links > a.active { color: var(--primary); border-color: var(--primary); }
.channel-caption { color: #778692; font-size: 11px; white-space: nowrap; }
.site-shell { display: grid; grid-template-columns: var(--sidebar-width) minmax(0, 1fr); gap: 20px; max-width: var(--portal-width); margin: 0 auto; padding: 18px 24px 0; align-items: start; }
.site-shell > .sidebar { position: sticky; inset: auto; top: calc(var(--portal-header-height) + 18px); z-index: 30; width: auto; max-height: calc(100dvh - var(--portal-header-height) - 36px); padding: 14px 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; visibility: visible; transform: none; }
.sidebar-heading { display: none; }
.sidebar > nav { flex: 1 1 auto; padding: 0; }
.sidebar .nav-link { height: 36px; margin: 0 0 2px; padding: 0 11px; font-size: 13px; gap: 10px; border-radius: 5px; color: #516270; }
.sidebar .nav-link .icon { width: 16px; height: 16px; color: #7a8b98; }
.sidebar .nav-link.active { color: var(--primary); background: #eaf5f9; }
.sidebar .nav-link.active .icon { color: var(--primary); }
.sidebar .nav-link.active::before { left: 0; height: 16px; background: var(--primary); border-radius: 2px; }
.sidebar .nav-label { margin: 0 10px 8px; font-size: 10px; color: #768592; letter-spacing: .6px; }
.sidebar .nav-label.second-label { margin-top: 17px; padding-top: 13px; border-top: 1px solid #edf0f2; }
.sidebar .nav-label > span { font-size: 9px; color: #38778a; padding: 0 4px; }
.sidebar .secondary .nav-link { font-size: 13px; }
.sidebar .nav-count { font-size: 10px; min-width: 12px; color: #788996; }
.sidebar .sidebar-bottom { padding-top: 13px; margin-top: 0; }
.sidebar-learning-note { display: flex; align-items: center; gap: 7px; padding: 10px 8px; border-radius: 5px; background: #f6f8fa; color: #798a98; font-size: 10px; }
.sidebar-learning-note > .icon { width: 18px; height: 18px; color: #5396a9; }
.sidebar-learning-note strong { display: flex; align-items: center; gap: 5px; margin-top: 3px; font-size: 10px; font-weight: 550; color: #477a8b; }
.sidebar-learning-note strong .icon { width: 12px; height: 12px; }
.sidebar .local-status { padding: 11px 2px 0; font-size: 9px; color: #748490; gap: 5px; }
.workspace { min-width: 0; min-height: 0; width: 100%; margin: 0; }
.main-content { padding: 0; margin: 0; width: 100%; max-width: none; min-width: 0; }
.portal-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 18px; align-items: start; }
.portal-primary, .portal-aside { min-width: 0; }
.portal-primary { display: flex; flex-direction: column; gap: 16px; }
.portal-aside { display: flex; flex-direction: column; gap: 16px; }
.learning-hero { position: relative; overflow: hidden; border: 1px solid #d9eaf0; border-radius: 8px; background: linear-gradient(110deg, #eaf6fb 0%, #e2f2f6 65%, #d6edf1 100%); }
.learning-hero-copy { position: relative; z-index: 1; padding: 22px 25px; max-width: 69%; }
.learning-hero .eyebrow { font-size: 9px; letter-spacing: 1px; color: #54818e; }
.learning-hero .eyebrow span { padding-left: 9px; margin-left: 8px; border-left: 1px solid #bbd4dc; letter-spacing: 0; }
.learning-hero h1 { margin-top: 9px; font-size: 28px; font-weight: 750; line-height: 1.35; letter-spacing: .3px; color: #254750; }
.learning-hero h1 span { color: #007f9e; }
.learning-hero-copy > p:not(.eyebrow) { font-size: 12px; line-height: 1.8; color: #557480; margin-top: 10px; }
.learning-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 17px; margin-top: 16px; }
.learning-hero-actions .button { min-height: 35px; padding: 8px 13px; font-size: 12px; border-radius: 5px; }
.learning-hero-actions .text-link { font-size: 11px; gap: 3px; }
.learning-hero > img { position: absolute; right: -8px; bottom: 6px; width: 39%; height: auto; max-height: 100%; object-fit: contain; }
.learning-shortcuts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; padding: 14px 0; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.learning-shortcuts > a { display: flex; align-items: center; gap: 10px; padding: 2px 17px; border-right: 1px solid #edf0f2; }
.learning-shortcuts > a:last-child { border: 0; }
.learning-shortcuts > a > span:nth-child(2) { flex: 1; min-width: 0; }
.learning-shortcuts strong { display: block; color: #364752; font-size: 14px; font-weight: 600; white-space: nowrap; }
.learning-shortcuts small { display: block; margin-top: 4px; color: #798892; font-size: 10px; white-space: nowrap; }
.learning-shortcuts .tile-icon { width: 34px; height: 36px; border-radius: 7px; }
.learning-shortcuts .tile-icon .icon { width: 19px; height: 19px; }
.learning-shortcuts > a > .icon { width: 12px; height: 12px; color: #a5b1b9; }
.learning-shortcuts > a:hover strong { color: var(--primary); }
.continue-reading { display: flex; align-items: center; gap: 9px; font-size: 12px; padding: 12px 16px; background: #edf7fa; border: 1px solid #dcecf1; border-radius: 7px; color: #587e8b; }
.continue-reading > span { flex: 1; min-width: 0; }
.continue-reading strong { font-weight: 550; }
.continue-reading .icon { width: 14px; height: 14px; }
.learning-feed { background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.feed-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 22px 0; }
.feed-heading h2 { display: flex; align-items: center; gap: 7px; font-size: 17px; letter-spacing: 0; }
.feed-heading h2 .icon { width: 18px; height: 18px; color: var(--primary); }
.feed-heading > span { font-size: 11px; color: #758590; }
.feed-tabs { display: flex; gap: 26px; padding: 0 22px; margin-top: 6px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.feed-tabs > a { flex-shrink: 0; padding: 13px 0 10px; border-bottom: 3px solid transparent; font-size: 13px; color: #5e707d; }
.feed-tabs > a.active { color: var(--primary); border-color: var(--primary); font-weight: 650; }
.feed-tabs > a:hover { color: var(--primary); }
.feed-summary { display: flex; justify-content: space-between; gap: 12px; padding: 10px 22px; background: #fcfdfe; font-size: 10px; color: #778895; border-bottom: 1px solid #f0f3f5; }
.feed-summary > span:last-child { flex-shrink: 0; }
.learning-feed-item { display: flex; align-items: center; gap: 20px; padding: 18px 22px 13px; border-bottom: 1px solid #eceff2; }
.learning-feed-item:hover { background: #fcfdfe; }
.feed-item-content { flex: 1; min-width: 0; }
.feed-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 10px; color: #70828e; margin-bottom: 7px; }
.feed-type { font-size: 10px; padding: 1px 5px; border-radius: 3px; background: #edf6fa; color: #30788e; }
.feed-type.project { background: #f8f2e7; color: #94722e; }
.feed-completed { display: inline-flex; align-items: center; gap: 2px; color: #397856; }
.feed-completed .icon { width: 11px; height: 11px; }
.learning-feed-item h3 { font-size: 17px; font-weight: 650; line-height: 1.55; overflow-wrap: anywhere; }
.learning-feed-item h3 a:hover { color: var(--primary); }
.feed-description { margin-top: 6px; color: #647784; font-size: 12px; line-height: 1.85; }
.feed-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 9px 16px; margin-top: 7px; font-size: 10px; color: #788995; }
.feed-meta > span { display: inline-flex; align-items: center; gap: 5px; }
.feed-meta .icon { width: 12px; height: 12px; }
.feed-meta .bookmark-button { margin-left: auto; width: 30px; height: 28px; }
.feed-meta .bookmark-button .icon { width: 15px; height: 15px; }
.feed-project-cover { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 3px; width: 124px; height: 94px; flex-shrink: 0; border: 1px solid var(--tint); border-radius: 6px; background: var(--cover); color: var(--accent); }
.feed-project-cover .icon { width: 26px; height: 26px; }
.feed-project-cover strong { max-width: 100%; padding: 0 4px; text-align: center; overflow-wrap: anywhere; font-size: 18px; font-weight: 700; line-height: 1.4; }
.feed-project-cover small { font-family: Consolas, monospace; font-size: 7px; letter-spacing: .6px; }
.feed-pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 22px; }
.feed-pagination > span { font-size: 11px; color: #728490; }
.feed-pagination > div { display: flex; align-items: center; gap: 7px; }
.feed-pagination .button { min-height: 30px; padding: 5px 9px; font-size: 11px; border-radius: 4px; }
.page-number { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; min-height: 30px; border: 1px solid #e9edf0; border-radius: 4px; font-size: 11px; color: #637782; }
.page-number.active, .page-number:hover { color: var(--primary); border-color: #bcdde7; background: #f0f9fc; }
.page-disabled { color: #929fa8; font-size: 11px; padding: 5px 9px; }
.portal-panel { padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.portal-panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 13px; }
.portal-panel-heading h2 { font-size: 14px; letter-spacing: 0; font-weight: 650; }
.portal-panel-heading > a { display: inline-flex; align-items: center; gap: 2px; font-size: 10px; color: #718793; white-space: nowrap; }
.portal-panel-heading > a:hover { color: var(--primary); }
.portal-panel-heading .icon { width: 12px; height: 12px; }
.panel-caption { color: #758996; font-size: 10px; line-height: 1.8; margin-top: -5px; }
.panel-note { color: #7b8d99; font-size: 10px; line-height: 1.8; margin-top: 12px; }
.portal-aside .study-card { display: block; padding: 18px; border-radius: 8px; box-shadow: none; }
.portal-aside .study-card-title h2 { font-size: 14px; }
.portal-aside .study-card-title .small-pill { display: inline-block; font-size: 9px; color: #7c8c97; background: #f5f7f9; }
.portal-aside .study-overview { display: flex; gap: 22px; padding: 18px 0; }
.portal-aside .progress-ring { width: 76px; height: 76px; padding: 5px; }
.portal-aside .progress-ring strong { font-size: 22px; color: #344e5c; }
.portal-aside .progress-ring strong small { font-size: 10px; }
.portal-aside .progress-ring > span > small { font-size: 8px; color: #718693; margin-top: 5px; }
.portal-aside .study-count { font-size: 22px; }
.portal-aside .study-count small { font-size: 12px; }
.portal-aside .study-overview > div:last-child > span { font-size: 10px; color: #71838f; margin-top: 6px; }
.portal-aside .study-overview a { font-size: 10px; margin-top: 9px; color: #437f91; }
.portal-aside .weekly-heading { font-size: 10px; padding-top: 12px; border-top: 1px solid #edf1f3; color: #708592; }
.portal-aside .goal-control select { font-size: 10px; color: #667e8d; max-width: 82px; min-height: 26px; }
.portal-aside .week-days { gap: 7px; margin-top: 8px; }
.portal-aside .week-day { gap: 7px; }
.portal-aside .week-day > span:first-child { font-size: 9px; color: #798d99; }
.portal-aside .day-circle { width: 23px; height: 23px; }
.portal-aside .today-dot { width: 5px; height: 5px; }
.portal-aside .study-encouragement { font-size: 9px; line-height: 1.8; color: #748b97; margin-top: 12px; }
.portal-aside .study-encouragement .icon { width: 12px; height: 12px; }
.roadmap-teaser ol { list-style: none; padding: 0; margin: 0; }
.roadmap-teaser li + li { margin-top: 14px; }
.roadmap-teaser li > a { display: flex; align-items: center; gap: 11px; }
.roadmap-teaser li > a > span { width: 28px; height: 28px; border-radius: 6px; display: flex; align-items: center; justify-content: center; background: #edf7fa; color: #33859a; font-size: 11px; font-family: Consolas, monospace; }
.roadmap-teaser li:nth-child(2) > a > span { background: #f2eff9; color: #80719f; }
.roadmap-teaser li:nth-child(3) > a > span { background: #f9f3e9; color: #9c804d; }
.roadmap-teaser strong { display: block; font-size: 12px; font-weight: 550; color: #465e6b; }
.roadmap-teaser small { display: block; margin-top: 2px; font-size: 10px; color: #718897; }
.roadmap-teaser li > a > .icon { width: 12px; height: 12px; margin-left: auto; color: #99adb8; }
.portal-news-list { display: flex; flex-direction: column; }
.portal-news-list > a { padding: 12px 0; border-bottom: 1px solid #f0f2f4; }
.portal-news-list > a:last-child { padding-bottom: 0; border: 0; }
.portal-news-list h3 { font-size: 12px; font-weight: 550; line-height: 1.85; }
.portal-news-list > a > span { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 5px; color: #728895; font-size: 9px; }
.portal-news-list time { margin-left: auto; }
.portal-news-list > a:hover h3 { color: var(--primary); }
.portal-book { display: flex; align-items: center; gap: 13px; }
.portal-book + .portal-book { margin-top: 17px; padding-top: 17px; border-top: 1px solid #edf0f2; }
.mini-book { display: flex; flex-direction: column; flex-shrink: 0; justify-content: center; align-items: center; width: 58px; height: 76px; border-radius: 2px 5px 5px 2px; background: #284b5d; border-left: 4px solid #1b3b4b; color: #fff; box-shadow: 2px 2px 0 #e7ecef; }
.mini-book > small { font-size: 6px; letter-spacing: 1px; opacity: .75; }
.mini-book > strong { color: #fff; font-size: 24px; font-weight: 650; line-height: 1.6; }
.mini-book > span { font-size: 5px; letter-spacing: .4px; opacity: .85; }
.mini-book.book-1 { background: #b27846; border-color: #975f32; }
.portal-book > span:last-child { min-width: 0; }
.portal-book > span:last-child strong { display: block; font-size: 12px; line-height: 1.6; font-weight: 600; color: #354e5c; }
.portal-book > span:last-child small { display: block; margin-top: 5px; font-size: 9px; line-height: 1.7; color: #6f8593; }
.portal-book > span:last-child em { display: inline-block; margin-top: 7px; color: #5c8b9b; font-size: 9px; font-style: normal; }
.portal-discussion-list { margin: 12px 0 17px; display: grid; gap: 14px; }
.portal-discussion-list > a { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; color: #4b616e; line-height: 1.8; }
.portal-discussion-list .icon { width: 14px; height: 14px; color: #80a2b2; margin-top: 3px; }
.portal-career { display: flex; align-items: center; gap: 13px; padding: 16px 18px; border: 1px solid #e0e9ed; border-radius: 8px; background: #edf3f5; color: #507081; }
.portal-career > span { flex: 1; }
.portal-career strong { display: block; font-size: 12px; }
.portal-career small { display: block; margin-top: 4px; font-size: 10px; color: #6f8997; }
.portal-career > .icon:last-child { width: 15px; height: 15px; }
.portal-extras { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 16px; }
.portal-extras .daily-quiz { border-radius: 8px; padding: 18px; }
.portal-extras .quiz-title { gap: 9px; margin-bottom: 15px; }
.portal-extras .quiz-title h2 { font-size: 13px; }
.portal-extras .quiz-title .tile-icon { width: 30px; height: 33px; }
.portal-extras .quiz-title .tile-icon .icon { width: 18px; height: 18px; }
.portal-extras .quiz-title .eyebrow { font-size: 7px; }
.portal-extras .daily-quiz > h3 { font-size: 12px; line-height: 1.9; }
.portal-extras .quiz-option { font-size: 11px; min-height: 37px; }
.portal-extras .quiz-hint { font-size: 10px; line-height: 1.8; color: #738693; }
.portal-resource { display: flex; align-items: center; gap: 11px; padding: 15px 0; border-bottom: 1px solid #eff2f4; }
.portal-resource .tile-icon { width: 30px; height: 32px; border-radius: 5px; }
.portal-resource .tile-icon .icon { width: 17px; height: 17px; }
.portal-resource > div { min-width: 0; }
.portal-resource h3 { font-size: 12px; font-weight: 550; }
.portal-resource h3 .icon { width: 10px; height: 10px; margin-left: 5px; }
.portal-resource p { margin-top: 3px; color: #748994; font-size: 10px; }
.portal-resources > .text-link { margin-top: 17px; font-size: 11px; }
.page-heading { border: 1px solid var(--line); background: #fff; padding: 22px 24px; border-radius: 8px; margin-bottom: 22px; }
.page-heading h1 { font-size: 25px; }
.page-description { color: #6d8290; line-height: 1.9; }
.reader-heading { padding: 22px 24px; border: 1px solid var(--line); background: #fff; border-radius: 8px; }
.reader-breadcrumb { margin-top: 5px; margin-bottom: 14px; }
.reader-aside, .eco-side-panel { top: calc(var(--portal-header-height) + 18px); }
.footer { margin-top: 28px; font-size: 10px; color: #768894; padding: 22px 0; }
.footer strong { font-size: 17px; color: #6d8391; }
.toast { left: 50%; }
.search-popover { width: max(100%, 430px); max-width: calc(100vw - 32px); top: 42px; border-radius: 7px; }
.search-result.compact { padding: 13px 16px; }

@media (min-width: 961px) {
  .reader-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 20px; }
  .reader-aside { position: sticky; display: grid; grid-template-columns: 1fr; width: auto; }
}
@media (max-width: 1350px) {
  .topbar { gap: 20px; }
  .top-navigation { gap: 18px; }
  .topbar-tools { gap: 15px; }
  .channel-caption { display: none; }
  .portal-layout { grid-template-columns: minmax(0, 1fr) 260px; gap: 16px; }
  .learning-shortcuts > a { padding: 2px 13px; gap: 9px; }
  .learning-shortcuts > a > .icon { display: none; }
  .learning-shortcuts small { font-size: 9px; }
  .portal-aside .study-overview { gap: 17px; }
  .portal-aside .study-card-title .small-pill { font-size: 8px; padding: 3px 4px; }
  .portal-extras { grid-template-columns: 1fr; }
}
@media (max-width: 1180px) {
  .topbar-tools .playground-link { display: none; }
  .learning-hero-copy { padding: 22px; max-width: 75%; }
  .learning-hero h1 { font-size: 26px; }
  .learning-shortcuts .tile-icon { width: 29px; height: 32px; }
  .learning-shortcuts > a { gap: 8px; padding: 2px 10px; }
  .learning-shortcuts strong { font-size: 13px; }
}
@media (max-width: 1100px) {
  .site-shell { grid-template-columns: minmax(0, 1fr); padding: 18px 22px 0; }
  .site-shell > .sidebar { position: fixed; top: 0; left: 0; bottom: 0; width: 278px; max-width: calc(100vw - 36px); max-height: 100dvh; padding: 17px 14px; border: 0; border-radius: 0; z-index: 80; transform: translateX(-100%); visibility: hidden; transition: transform .2s ease, visibility .2s; }
  .menu-open .site-shell > .sidebar { transform: translateX(0); visibility: visible; box-shadow: 8px 0 30px #26384426; }
  .menu-open { overflow: hidden; }
  .sidebar-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 0 10px 14px; margin-bottom: 14px; border-bottom: 1px solid #edf0f2; flex-shrink: 0; font-size: 16px; font-weight: 600; }
  .sidebar .nav-link { height: 40px; font-size: 14px; }
  .sidebar .secondary .nav-link { font-size: 14px; }
  .sidebar .nav-label { font-size: 11px; }
  .sidebar .sidebar-bottom { padding-top: 12px; }
  .sidebar-learning-note { padding: 13px; font-size: 12px; }
  .sidebar-learning-note strong { font-size: 12px; }
  .sidebar .local-status { font-size: 10px; padding-top: 12px; }
  .sidebar-backdrop { position: fixed; inset: 0; z-index: 70; background: #1a30394f; backdrop-filter: blur(2px); }
  .mobile-menu { display: inline-flex; color: #59727e; }
  .top-navigation { display: none; }
  .channel-home { display: none; }
  .channel-inner { padding: 0 24px; }
  .channel-links { gap: 28px; }
  .topbar-tools .playground-link { display: inline-flex; }
  .learning-hero-copy { max-width: 70%; padding: 24px; }
  .learning-shortcuts > a { padding: 2px 13px; gap: 9px; }
}
@media (max-width: 960px) {
  .portal-layout { grid-template-columns: minmax(0, 1fr); }
  .portal-aside { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 16px; }
  .portal-extras { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portal-career { grid-column: 1 / -1; }
  .learning-hero h1 { font-size: 29px; }
  .learning-hero > img { width: 36%; right: 15px; }
  .learning-shortcuts small { font-size: 11px; }
  .learning-shortcuts .tile-icon { width: 37px; height: 39px; }
  .learning-shortcuts strong { font-size: 15px; }
  .learning-shortcuts > a { padding: 2px 20px; }
  .reader-layout { display: flex; flex-direction: column; gap: 18px; }
  .reader-aside { position: static; width: 100%; grid-template-columns: 1fr 1fr; }
  .topbar-tools .playground-link { display: none; }
  .channel-links { gap: 25px; }
}
@media (max-width: 760px) {
  :root { --portal-header-height: 151px; }
  .topbar { display: grid; grid-template-columns: 1fr auto; height: 108px; gap: 0 14px; padding: 0 16px 10px; }
  .topbar-brand { height: 56px; gap: 6px; }
  .topbar .brand { font-size: 23px; gap: 8px; }
  .topbar .brand-mark { width: 32px; height: 32px; border-radius: 8px; }
  .topbar .brand-mark .icon { width: 26px; height: 26px; }
  .topbar .brand-subtitle { font-size: 8px; margin-top: 2px; }
  .topbar .search-form { grid-column: 1 / -1; grid-row: 2; max-width: none; width: 100%; min-width: 0; height: 36px; margin-top: 3px; }
  .topbar .search-form input { font-size: 13px; }
  .topbar .search-form input::placeholder { font-size: 12px; }
  .topbar-tools { gap: 14px; justify-content: flex-end; grid-column: 2; grid-row: 1; }
  .header-learning { font-size: 11px; padding: 7px 10px; min-height: 33px; }
  .header-learning .icon { display: none; }
  .header-saved { font-size: 11px; }
  .channel-inner { padding: 0 16px; }
  .channel-links { gap: 24px; scrollbar-width: none; }
  .channel-links > a { font-size: 12px; }
  .site-shell { padding: 14px 16px 0; }
  .learning-hero h1 { font-size: 27px; }
  .learning-hero-copy { max-width: 75%; padding: 22px; }
  .learning-hero > img { width: 37%; right: -18px; }
  .learning-shortcuts > a { padding: 2px 12px; gap: 9px; }
  .learning-shortcuts small { font-size: 9px; }
  .learning-shortcuts .tile-icon { width: 30px; height: 34px; }
  .learning-shortcuts strong { font-size: 13px; }
  .feed-project-cover { width: 108px; height: 88px; }
  .search-popover { position: absolute; top: 42px; left: 0; right: auto; width: 100%; max-width: 100%; max-height: calc(100dvh - 155px); overflow-y: auto; }
  .page-heading { padding: 20px; }
  .page-heading h1 { font-size: 23px; }
}
@media (max-width: 580px) {
  .topbar { padding: 0 12px 10px; }
  .topbar .brand-subtitle, .header-saved span { display: none; }
  .topbar-tools { gap: 14px; }
  .header-saved { width: 28px; height: 32px; justify-content: center; }
  .channel-inner { padding: 0 14px; }
  .site-shell { padding: 12px 12px 0; }
  .portal-primary, .portal-aside { gap: 12px; }
  .learning-hero-copy { max-width: 100%; padding: 20px; }
  .learning-hero h1 { font-size: 25px; max-width: 240px; }
  .learning-hero .eyebrow { font-size: 8px; }
  .learning-hero-copy > p:not(.eyebrow) { font-size: 11px; position: relative; z-index: 1; }
  .learning-hero > img { display: none; }
  .learning-hero-actions { gap: 14px; }
  .learning-hero-actions .button { font-size: 11px; min-height: 35px; padding: 8px 12px; }
  .learning-hero-actions .text-link { font-size: 10px; }
  .learning-shortcuts { padding: 14px 0; }
  .learning-shortcuts > a { flex-direction: column; gap: 7px; text-align: center; padding: 0 4px; }
  .learning-shortcuts .tile-icon { width: 29px; height: 29px; }
  .learning-shortcuts .tile-icon .icon { width: 17px; height: 17px; }
  .learning-shortcuts strong { font-size: 12px; }
  .learning-shortcuts small { font-size: 9px; margin-top: 4px; }
  .continue-reading { padding: 11px 13px; font-size: 11px; align-items: flex-start; }
  .continue-reading > .icon { margin-top: 2px; }
  .feed-heading { padding: 15px 16px 0; }
  .feed-heading h2 { font-size: 16px; }
  .feed-heading > span { font-size: 9px; }
  .feed-tabs { justify-content: space-between; gap: 14px; padding: 0 16px; margin-top: 4px; }
  .feed-tabs > a { font-size: 12px; padding: 12px 0 10px; }
  .feed-summary { font-size: 9px; padding: 9px 16px; gap: 8px; }
  .learning-feed-item { padding: 15px 16px 10px; gap: 12px; }
  .learning-feed-item h3 { font-size: 15px; line-height: 1.65; }
  .feed-kicker { font-size: 9px; gap: 6px; line-height: 1.7; }
  .feed-description { font-size: 11px; margin-top: 5px; }
  .feed-meta { gap: 5px 9px; font-size: 9px; }
  .feed-meta .feed-format { display: none; }
  .feed-meta .bookmark-button { width: 32px; height: 30px; }
  .feed-project-cover { width: 70px; height: 74px; gap: 4px; }
  .feed-project-cover .icon { width: 21px; height: 21px; }
  .feed-project-cover strong { font-size: 14px; }
  .feed-project-cover small { display: none; }
  .feed-pagination { padding: 13px 14px; gap: 8px; flex-wrap: wrap; }
  .feed-pagination > span { font-size: 10px; }
  .feed-pagination > div { gap: 4px; }
  .feed-pagination .button { font-size: 10px; padding: 5px 7px; }
  .page-number { font-size: 10px; min-width: 27px; }
  .page-disabled { font-size: 10px; padding: 5px; }
  .portal-extras, .portal-aside { display: grid; grid-template-columns: minmax(0, 1fr); }
  .portal-panel, .portal-extras .daily-quiz, .portal-aside .study-card { padding: 18px; }
  .portal-aside .study-overview { justify-content: flex-start; gap: 28px; }
  .portal-aside .study-card-title .small-pill { font-size: 9px; }
  .portal-aside .week-days { max-width: 340px; margin-left: auto; margin-right: auto; }
  .portal-aside .study-encouragement { font-size: 10px; }
  .portal-panel-heading h2 { font-size: 15px; }
  .portal-panel-heading > a, .panel-caption, .panel-note { font-size: 11px; }
  .portal-news-list h3, .portal-discussion-list > a { font-size: 13px; }
  .portal-news-list > a > span { font-size: 10px; }
  .portal-book > span:last-child strong { font-size: 13px; }
  .portal-book > span:last-child small { font-size: 10px; }
  .page-heading { padding: 18px; margin-bottom: 18px; }
  .page-heading h1 { font-size: 22px; }
  .reader-heading { padding: 18px; }
  .reader-heading h1 { font-size: 23px; }
  .reader-breadcrumb { flex-wrap: wrap; row-gap: 5px; font-size: 10px; }
  .reader-aside { grid-template-columns: 1fr; }
  .footer { flex-direction: column; align-items: flex-start; gap: 10px; font-size: 9px; margin-top: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-shell > .sidebar { transition: none; }
}
@media print {
  .site-header, .site-shell > .sidebar, .portal-aside, .learning-shortcuts, .feed-tabs, .feed-pagination { display: none !important; }
  .site-shell, .portal-layout { display: block; padding: 0; }
  .workspace, .main-content { margin: 0; padding: 0; width: 100%; }
  .learning-hero, .page-heading, .reader-heading { background: #fff; border: 0; }
}
