
/* Scoped touch controls; preserve subject cards and team schedule layout. */
@media(max-width:600px){
 #app[data-mobile-role] :is(main,.modal) :is(.btn,.seg button,[data-act="envMode"]) { min-height:44px; min-width:44px; }
 #app[data-mobile-role] :is(main,.modal) :is(select,textarea,input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"])) { min-height:44px; font-size:16px; max-width:100%; }
 #app[data-mobile-role] .mobile-child-choice { white-space:normal; overflow-wrap:anywhere; flex:1 1 130px; min-width:0; text-align:center; }
 #app[data-mobile-role] .seg:has(.mobile-child-choice) { display:flex; flex-wrap:wrap; max-width:100%; }
 #app[data-mobile-role] :is(main,.modal) :is(button,a,input,select,textarea):focus-visible { outline:2px solid var(--accent); outline-offset:3px; }
}

.curator-attention-more { margin:0 0 16px; border:1px solid var(--line); border-radius:12px; background:var(--surface); }
.curator-attention-more summary { padding:14px; min-height:44px; cursor:pointer; font-weight:700; }
.curator-attention-more > div { padding:0 14px 14px; }
.curator-attention-more summary:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }

/* Student online tabs: one stable place per destination, with Courses beside Home. */
@media(max-width:900px) {
 #app[data-mobile-role="student"] .tabbar[data-learner-tabs] { display:grid; grid-template-columns:repeat(var(--learner-tab-count,4),minmax(0,1fr)); }
 #app[data-mobile-role="student"] .tabbar[data-learner-tabs] a { min-width:0; min-height:52px; padding:6px 0; justify-content:center; gap:4px; }
 #app[data-mobile-role="student"] .tabbar[data-learner-tabs] a span { max-width:100%; font-size:10px; line-height:1.2; white-space:normal; text-align:center; }
 #app[data-mobile-role="student"] .tabbar[data-learner-tabs] a:focus-visible { outline:2px solid var(--accent); outline-offset:1px; }
}
@media(max-width:359px) {
 #app[data-mobile-role="student"] .tabbar[data-learner-tabs="5"] { left:max(4px,env(safe-area-inset-left)); right:max(4px,env(safe-area-inset-right)); padding:3px 1px; }
}
