@media(min-width:1600px){main{padding-top:48px}.shell{grid-template-columns:248px minmax(0,1fr)}}
@media(max-width:1100px){.shell{grid-template-columns:204px minmax(0,1fr)}main{padding:30px 28px 48px}.sidebar{padding-left:10px;padding-right:10px}.sidebar nav a{gap:10px;padding-left:12px}.overview-grid{grid-template-columns:1.3fr 1fr;gap:16px}.hero{padding:24px}.hero h2{font-size:1.5rem}.event-preview{padding:20px}.feedback-preview{flex-wrap:wrap}.feedback-preview>.button{margin-left:56px}.article-layout,.editor-layout{grid-template-columns:minmax(0,1fr) 200px;gap:24px}.question-layout{gap:24px}.search-form{grid-template-columns:1fr 1fr}.search-form .field:first-child{grid-column:1/-1}.search-form .button{align-self:end}.video-workspace{grid-template-columns:1fr}.video-column{max-width:700px}.selected-note{border-left:0;border-top:2px solid #8aa47b;padding:20px 0 0}.selected-note .button{width:auto}.chat-layout{grid-template-columns:1fr}.row-date{display:none}}
@media(max-width:760px){
  h1{font-size:1.625rem;line-height:1.23;letter-spacing:-.035em}h2{font-size:1.375rem;line-height:1.28}h3{font-size:1.125rem;line-height:1.44}
  .review-strip{padding:4px 16px;min-height:36px;font-size:.6875rem;gap:6px}.review-strip button{font-size:.75rem;min-height:28px}.review-strip button span{margin-left:2px}.review-controls{padding:20px 16px}.review-fields{grid-template-columns:1fr}.review-controls>p{font-size:.875rem}
  .shell{display:block;min-height:calc(100vh - 36px)}.header{height:72px;padding:0 20px;gap:12px}.brand{font-size:1.125rem;gap:9px}.brand-mark{height:34px;width:34px;font-size:1.6rem;border-radius:10px}.brand small{font-size:.5625rem;letter-spacing:.11em}.header-right{gap:12px}.search-tool{font-size:1.125rem;padding:6px;min-width:32px}.search-tool>span:last-child{display:none}.search-tool>span:first-child{font-size:1.75rem}.profile{display:none}.menu-toggle{display:inline-flex;align-items:center;gap:8px;background:transparent;border:1px solid #cbd3c6;border-radius:6px;padding:8px 10px;font-size:.875rem;min-height:40px}.menu-toggle>span{font-size:.75rem}.sidebar{padding:18px 20px 24px;border:0;border-bottom:1px solid var(--line);background:#f1f5eb}.nav-label,.sidebar-bottom{display:none}.sidebar nav{display:grid;grid-template-columns:1fr 1fr;gap:8px}.sidebar nav a{padding:10px;gap:9px;font-size:1rem;min-height:48px}.sidebar nav a:nth-child(6){margin:0}.sidebar nav a svg{flex-shrink:0}
  main{padding:26px 20px 40px;min-height:calc(100vh - 194px)}footer{padding:18px 20px;display:block;font-size:.75rem}footer>span{display:block;margin-top:4px}.page-heading{margin-bottom:24px}.page-heading .eyebrow{font-size:.625rem;margin-bottom:8px}.lead{margin-top:9px;font-size:1rem}.back{margin-bottom:16px;font-size:.875rem;min-height:28px}.eyebrow{font-size:.625rem}.meta{font-size:.875rem}.overview-grid,.two-col{grid-template-columns:1fr;gap:16px}.hero{padding:22px 24px}.hero h2{font-size:1.5rem;line-height:1.25;margin-top:18px}.hero>.button{margin-top:20px}.hero .section-top{gap:8px}.hero-meta{margin:16px 0 20px}.hero-meta+.button{margin-top:0}.hero>.subtle-link{margin-top:14px}.hero .tag{font-size:.75rem}.event-preview{padding:20px 24px}.event-preview .eyebrow{margin-bottom:14px}.date-lockup{float:left;margin:0 18px 12px 0}.date-lockup>strong{font-size:2.25rem}.date-lockup>span{font-size:.625rem}.event-preview h3{font-size:1rem;line-height:1.5}.event-preview>p:not(.eyebrow){clear:both;font-size:1rem;margin:12px 0}.event-preview .text-link{font-size:1rem}.feedback-preview{padding:20px;gap:12px;margin-top:16px}.feedback-preview>.avatar{width:32px;height:32px;align-self:flex-start}.feedback-preview>div{min-width:calc(100% - 44px)}.feedback-preview h3{font-size:1.0625rem}.feedback-preview>.button{margin-left:0;width:100%;white-space:normal}.feedback-preview .eyebrow{line-height:1.5}.section-title{gap:12px;margin:28px 0 14px;align-items:start}.section-title>.text-link{font-size:.875rem;flex-shrink:0}.list-row{padding:18px 16px;gap:12px;min-height:92px;flex-wrap:wrap}.row-symbol{width:32px;height:36px;border-radius:6px}.row-main{min-width:calc(100% - 76px)}.row-main strong{font-size:1.125rem;line-height:1.44}.list-row>.tag{margin-left:44px}.row-arrow{margin-left:auto}.list-row>.tag+.row-arrow{margin-left:auto}.list-row>.meta.row-date{display:none}.row-main .meta{font-size:.875rem}.list-row:not(:has(.tag)) .row-main{min-width:0}
  .topic-status{margin:-8px 0 20px;gap:10px}.topic-status .meta{display:block;width:100%}.topic-action{display:block;padding:20px}.topic-action h2{font-size:1.25rem;line-height:1.4}.topic-action p:not(.eyebrow){font-size:1rem}.topic-action .button{margin-top:16px}.topic-nav,.local-nav{gap:12px 20px;margin:20px 0 24px}.topic-nav a,.local-nav a{padding:10px 0;font-size:1rem;line-height:1.5}.local-nav{display:grid;grid-template-columns:1fr 1fr;column-gap:16px;row-gap:0}.practice-row{display:block;padding:20px 0}.practice-row .button{margin-top:16px}.content-section{margin-top:28px}.reading{font-size:1.125rem;line-height:1.56;max-width:68ch}.reading h2{margin:28px 0 14px}.reading .button{font-size:1rem}.article-body .intro{font-size:1.125rem;line-height:1.56}.notice{padding:12px 14px;margin:18px 0}.empty-state{padding:24px 16px}.empty-state>.button{margin:8px 0}.panel{padding:20px}.facts>div{grid-template-columns:1fr;gap:6px;padding:14px 0}.facts dd{font-size:1rem}.actions{align-items:stretch;margin-top:20px}.actions>.button{flex:1 1 100%}.steps{padding-left:22px}.steps li{padding-left:4px}
  .video-workspace{display:flex;flex-direction:column;gap:18px}.video-column{width:100%;max-width:none}.video-box{border-radius:8px}.video-caption{font-size:.75rem;margin:8px 0 10px;line-height:1.5}.timeline{gap:8px}.time-button{flex:1;padding:9px 12px;font-size:1rem;min-height:44px}.selected-note{width:100%;padding:16px 0 0;border-top:2px solid #8aa47b}.selected-note h2{font-size:1.125rem;line-height:1.4;margin:10px 0}.selected-note .note-text{font-size:1rem;line-height:1.5;max-height:120px;margin-bottom:16px}.selected-note .button{width:100%;font-size:1rem}.selected-note .subtle-link{font-size:.875rem;margin-top:12px}.note-identity{gap:8px}.note-identity .meta{font-size:.875rem}.note-row .row-main{min-width:0}.note-row{padding:16px 12px}.video-workspace+.content-section{margin-top:28px}.media-failure{padding:16px}.media-failure p{margin-top:8px}
  .filter-bar{display:grid;grid-template-columns:1fr;gap:14px;padding:16px}.filter-bar .field{font-size:1rem}.filter-bar .button{width:100%}.pagination{gap:8px}.pagination .button{padding:9px 12px;font-size:.875rem}.discovery-strip{display:block;margin-top:32px}.discovery-strip .text-link{margin-top:12px;max-width:none}.future-label{gap:8px;margin-bottom:20px}.future-label>span:last-child{font-size:.75rem}.article-layout,.editor-layout,.question-layout{grid-template-columns:1fr;gap:28px}.reading-tools{padding:20px 0 0;border-left:0;border-top:1px solid var(--line)}.reading-tools .button{width:auto;margin-right:8px}.reading-tools p:not(.eyebrow){font-size:1rem}.sequence{padding:16px}.sequence ol{gap:8px}.sequence strong{font-size:.875rem}.sequence figcaption{margin-top:14px;padding-top:12px}.search-form{grid-template-columns:1fr;gap:14px}.search-form .field:first-child{grid-column:auto}.search-form .button{width:100%}.search-suggestions{margin-top:28px}.search-suggestions>.button{width:100%}.ai-section{padding:20px;margin:24px 0}.ai-section .section-title h2{font-size:1.25rem}.ai-section .section-title .tag{flex-shrink:0}.ai-section .section-title{gap:8px}.source-link{padding:12px}.group-intro{align-items:start;gap:14px}.group-avatar{width:48px;height:48px;border-radius:12px}.group-intro h2{font-size:1.25rem}.author-line>.tag{flex-basis:auto;margin-left:52px}.chat-thread{padding:16px}.chat-message{gap:8px}.chat-message p>.meta{display:block}.bubble{padding:12px}.context-card{padding:20px}.recipient{padding:20px 0 0;border-left:0;border-top:1px solid var(--line)}.recipient .avatar{float:left;margin:12px 12px 12px 0}.recipient h2{padding-top:12px}.recipient p{clear:both}.quiz-panel{padding:20px}.choice{padding:14px 12px}.quiz-panel .actions .button{width:100%}.quiz-panel>h2{font-size:1.25rem}.question-record h2{font-size:1.25rem}
}
@media(max-width:359px){.header{padding:0 16px;gap:8px}.header-right{gap:6px}.brand{font-size:1rem}.brand-mark{width:30px;height:32px;font-size:1.4rem}.brand small{font-size:.5rem}.menu-toggle{padding:8px;font-size:.875rem}.search-tool{padding:2px;min-width:24px}.review-strip{padding:4px 12px}.review-strip>span{max-width:195px;line-height:1.3}.header .brand{gap:7px}main{padding:24px 16px 36px}.hero{padding:20px}.hero h2{font-size:1.375rem}.topic-nav{gap:8px 16px}.topic-nav a{font-size:.9375rem}.sidebar{padding:14px 12px}.sidebar nav a{font-size:.875rem;gap:6px;padding:10px 8px}.sidebar nav a svg{width:18px}.note-identity{gap:8px}.note-identity .meta{font-size:.8125rem}.section-title{flex-wrap:wrap}.review-strip button{font-size:.6875rem}.brand small{letter-spacing:.08em}}
/* Mobile tracks must not inherit min-content widths from their children.
   Flexible label rows wrap instead of widening the page when text is enlarged. */
@media(max-width:760px){
  .overview-grid,.two-col,.article-layout,.editor-layout,.question-layout,.chat-layout,.filter-bar,.search-form,.review-fields{grid-template-columns:minmax(0,1fr)}
  .overview-grid>*,.two-col>*,.article-layout>*,.editor-layout>*,.question-layout>*,.chat-layout>*{min-width:0}
  .header{height:auto;min-height:72px;padding-top:12px;padding-bottom:12px;flex-wrap:wrap}.header-right{margin-left:auto}
  .timeline{flex-wrap:wrap}.time-button{flex:1 1 80px}
  .section-title,.section-top{flex-wrap:wrap}.section-title>*,.section-top>*{min-width:0;max-width:100%}
}
