/* ponytail: operator-only visual layer; retain table layouts, data and actions. */
@media screen {
.page.teacher-page.teacher-page{
  --tch-surface:#fff;--tch-sunk:#f7f7f7;--tch-stroke:#e5e5e5;--tch-line:#e5e5e5;
  --tch-ink:#4b4b4b;--tch-sub:#5f5f5f;--tch-faint:#686868;--tch-radius-card:18px;--tch-radius-btn:12px;
  --tch-tint-blue:#ddf4ff;--tch-blue:#087db2;--tch-tint-orange:#fff2db;--tch-orange-deep:#995600;
  --tch-tint-purple:#f3e9ff;--tch-purple:#7945aa;--tch-tint-yellow:#fff8cf;--tch-tint-green:#effbdc;
  color:#4b4b4b;background:#fff;
}
.page.teacher-page.teacher-page .page-title.tch-hero{
  display:grid;grid-template-columns:minmax(0,1fr) 116px;align-items:center;gap:16px;
  height:auto;min-height:160px;padding:24px;margin:20px 0 24px;overflow:visible;
  border:2px solid #e5e5e5;border-radius:20px;background:#f1fbff;box-shadow:none;
}
.page.teacher-page.teacher-page .tch-hero .tch-hero-copy{max-width:none;min-width:0;grid-column:1;grid-row:1}
.page.teacher-page.teacher-page .tch-hero h1{margin:0 0 10px;font-size:clamp(24px,2.4vw,30px);line-height:1.3;color:#4b4b4b}
.page.teacher-page.teacher-page .tch-hero-accent{color:#58a700;font-style:normal}
.page.teacher-page.teacher-page .tch-hero .tch-hero-copy>span{display:block;font-size:15px;line-height:1.55;color:#416572}
.page.teacher-page.teacher-page .tch-hero img.tch-hero-art{
  display:block;position:static;grid-column:2;grid-row:1;justify-self:center;align-self:center;
  width:116px;height:116px;max-width:100%;margin:0;padding:8px;box-sizing:border-box;
  object-fit:contain;mix-blend-mode:normal;transform:none;
}
.page.teacher-page.teacher-page .tch-hero-stats{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:12px;width:100%;margin:4px 0 0}
.page.teacher-page.teacher-page .tch-hero-stats .tch-todo-stat{flex:1 1 140px;max-width:260px}
.page.teacher-page.teacher-page .tch-hero-note{grid-column:1/-1;margin:0}
.page.teacher-page.teacher-page .tch-todos{gap:24px;margin-top:0;min-width:0}
.page.teacher-page.teacher-page .tch-todos>.tch-todo-stats{
  display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;min-width:0;padding:0 0 4px;overflow:visible;
}
.page.teacher-page.teacher-page .tch-todo-stat-slot{display:contents}
.page.teacher-page.teacher-page .tch-todo-stats .tch-todo-stat,
.page.teacher-page.teacher-page .tch-hero-stats .tch-todo-stat{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;
  width:100%;min-width:0;min-height:124px;padding:16px 12px;box-sizing:border-box;
  border:2px solid #e5e5e5;border-radius:16px;background:#fff;box-shadow:0 2px 0 #e5e5e5;
}
.page.teacher-page.teacher-page .tch-todo-stats .tch-todo-stat.active{border-color:#84d8ff;background:#f1fbff;box-shadow:0 2px 0 #84d8ff}
.page.teacher-page.teacher-page .tch-todo-stat .tch-stat-icon{
  width:40px;height:40px;flex:0 0 40px;border-radius:14px;box-shadow:none;
}
.page.teacher-page.teacher-page .tch-stat-icon>svg{width:23px;height:23px;stroke-width:2.5}
.page.teacher-page.teacher-page .tch-todo-stat .tch-stat-icon:after{content:none}
.page.teacher-page.teacher-page .tch-stat-orange .tch-stat-icon{background:#fff0db;color:#ad6200}
.page.teacher-page.teacher-page .tch-stat-yellow .tch-stat-icon{background:#fff7c2;color:#826100}
.page.teacher-page.teacher-page .tch-stat-purple .tch-stat-icon{background:#f1e6ff;color:#7945aa}
.page.teacher-page.teacher-page .tch-stat-green .tch-stat-icon{background:#effbdc;color:#4d8000}
.page.teacher-page.teacher-page .tch-stat-blue .tch-stat-icon{background:#ddf4ff;color:#087db2}
.page.teacher-page.teacher-page .tch-todo-stats .tch-stat-body{display:flex;gap:4px;align-items:center}
.page.teacher-page.teacher-page .tch-todo-stats .tch-stat-body b{display:block;font-size:23px;font-weight:800;line-height:1.1;color:#4b4b4b;font-variant-numeric:tabular-nums}
.page.teacher-page.teacher-page .tch-todo-stats .tch-stat-body small{font-size:13px;line-height:1.4;color:#5f5f5f;white-space:normal}
.page.teacher-page.teacher-page :is(.tch-todo-list-panel,.tch-side-activity,.tch-side-post,.tch-side-note){
  padding:22px;border:2px solid #e5e5e5;border-radius:18px;background:#fff;box-shadow:none;min-width:0;
}
.page.teacher-page.teacher-page .tch-todo-panel-top{gap:16px;align-items:center;flex-wrap:wrap}
.page.teacher-page.teacher-page .tch-todo-tabs{display:flex;flex-wrap:wrap;gap:8px;padding:0;background:transparent;overflow:visible}
.page.teacher-page.teacher-page .tch-todo-tabs button{width:auto;min-height:44px;padding:8px 12px;border:2px solid #e5e5e5;border-radius:12px;background:#fff;color:#686868;font-size:13px;letter-spacing:0}
.page.teacher-page.teacher-page .tch-todo-tabs button.active{border-color:#84d8ff;background:#ddf4ff;color:#087db2;box-shadow:none}
.page.teacher-page.teacher-page .tch-todo-tabs button.active b{color:#087db2}
.page.teacher-page.teacher-page .tch-todo-item{padding:16px;min-width:0}
.page.teacher-page.teacher-page .tch-todo-student{min-width:0;gap:10px;font-size:14px;color:#4b4b4b}
.page.teacher-page.teacher-page .tch-todo-student b{overflow-wrap:anywhere}
.page.teacher-page.teacher-page .tch-todo-matter{gap:6px}
.page.teacher-page.teacher-page .tch-todo-matter small{font-size:13px;line-height:1.5;color:#686868;overflow-wrap:anywhere}
.page.teacher-page.teacher-page .tch-todo-time{font-size:12px;color:#686868}
.page.teacher-page.teacher-page :is(.tch-submit,.tch-quickpost-go,.tch-evidence-pick){min-height:48px;border:0;border-radius:12px;background:#58cc02;color:#fff;box-shadow:0 4px 0 #58a700;font-weight:800}
.page.teacher-page.teacher-page :is(.tch-action,.tch-activity-go,.tch-back,.tch-evidence-open){min-height:44px;border:2px solid #e5e5e5;border-radius:12px;background:#fff;color:#087db2;box-shadow:0 2px 0 #e5e5e5;font-weight:800}
.page.teacher-page.teacher-page .tch-todo-list .tch-action-orange,
.page.teacher-page.teacher-page .tch-video-row .tch-action-orange{background:#1cb0f6;color:#fff;border-color:#1cb0f6;box-shadow:0 3px 0 #1899d6}
.page.teacher-page.teacher-page :is(.tch-submit,.tch-quickpost-go,.tch-evidence-pick,.tch-action,.tch-activity-go,.tch-back,.tch-evidence-open):disabled{background:#e5e5e5;border-color:#e5e5e5;color:#777;box-shadow:0 2px 0 #cecece;filter:none;transform:none}
.page.teacher-page.teacher-page :is(button,input,select,textarea,a):focus-visible{outline:3px solid #1cb0f6;outline-offset:3px}
.page.teacher-page.teacher-page .teacher-area-tabs .tch-nav-items>button>svg{stroke-width:2.5}
.page.teacher-page.teacher-page .teacher-area-tabs .tch-nav-items>button.active{background:#ddf4ff;color:#087db2;border-color:#84d8ff}
.admin-shell.admin-v2.admin-v2{--adm-ink:#4b4b4b;--adm-sub:#5f5f5f;--adm-muted:#686868;--adm-line:#e5e5e5;--adm-line-strong:#d2d2d2;--adm-orange:#58cc02;--adm-orange-deep:#4c8500;color:#4b4b4b}
.admin-shell.admin-v2.admin-v2 .admin-page-head{margin:4px 0 24px;min-width:0}
.admin-shell.admin-v2.admin-v2 .admin-page-title{margin:0 0 8px;font-size:clamp(26px,2.2vw,32px);line-height:1.3;letter-spacing:0;color:#4b4b4b}
.admin-shell.admin-v2.admin-v2 .admin-page-sub{margin:0;font-size:15px;line-height:1.6;color:#686868;max-width:70ch}
.admin-shell.admin-v2.admin-v2 .admin-page-head-row{align-items:center;gap:16px}
.admin-shell.admin-v2.admin-v2 :is(.admin-panel,.admin-mini-card,.admin-service-card,.admin-health-card,.admin-review-card){border:2px solid #e5e5e5;border-radius:18px;background:#fff;box-shadow:none}
.admin-shell.admin-v2.admin-v2 .admin-overview-card{padding:20px;gap:16px;border:2px solid #e5e5e5;border-radius:18px;background:#fff;box-shadow:0 2px 0 #e5e5e5}
.admin-shell.admin-v2.admin-v2 .admin-overview-icon{width:48px;height:48px;border-radius:16px;box-shadow:none;background:#ddf4ff;color:#087db2}
.admin-shell.admin-v2.admin-v2 .admin-overview-icon svg{width:27px;height:27px;stroke-width:2.5}
.admin-shell.admin-v2.admin-v2 .tone-peach .admin-overview-icon{background:#fff0db;color:#ad6200}
.admin-shell.admin-v2.admin-v2 .tone-yellow .admin-overview-icon{background:#fff7c2;color:#826100}
.admin-shell.admin-v2.admin-v2 .tone-lavender .admin-overview-icon{background:#f1e6ff;color:#7945aa}
.admin-shell.admin-v2.admin-v2 .tone-green .admin-overview-icon{background:#effbdc;color:#4d8000}
.admin-shell.admin-v2.admin-v2 .tone-rose .admin-overview-icon{background:#fff0f0;color:#c93434}
.admin-shell.admin-v2.admin-v2 .tone-pink .admin-overview-icon{background:#ffeafa;color:#a32c83}
.admin-shell.admin-v2.admin-v2 .tone-cyan .admin-overview-icon{background:#ddf8f1;color:#087b60}
.admin-shell.admin-v2.admin-v2 .admin-overview-label{font-size:15px;line-height:1.4;color:#4b4b4b}
.admin-shell.admin-v2.admin-v2 .admin-overview-value{font-size:30px;line-height:1.2;font-variant-numeric:tabular-nums}
.admin-shell.admin-v2.admin-v2 .admin-overview-note{font-size:13px;line-height:1.5;color:#686868}
.admin-shell.admin-v2.admin-v2 :is(button.primary,a.primary){min-height:48px;border-radius:12px;background:#58cc02;color:#fff;box-shadow:0 4px 0 #58a700}
.admin-shell.admin-v2.admin-v2 :is(button.quiet,a.quiet){min-height:44px;border:2px solid #e5e5e5;border-radius:12px;background:#fff;color:#087db2;box-shadow:0 2px 0 #e5e5e5}
.admin-shell.admin-v2.admin-v2 button.quiet.danger{border-color:#ffc1c1;background:#fff4f4;color:#b73434;box-shadow:0 2px 0 #ffc1c1}
.admin-shell.admin-v2.admin-v2 :is(button.primary,button.quiet):disabled{background:#e5e5e5;border-color:#e5e5e5;color:#777;box-shadow:0 2px 0 #cecece;filter:none;transform:none}
.admin-shell.admin-v2.admin-v2 :is(input:not([type="checkbox"]):not([type="radio"]):not([type="color"]),select,textarea){min-height:44px;border-radius:12px;font-size:14px;caret-color:#087db2}
.admin-shell.admin-v2.admin-v2 .admin-shell-nav-item{min-height:48px;border-radius:12px;font-size:15px}
.admin-shell.admin-v2.admin-v2 .admin-shell-nav-item svg{width:25px;height:25px;stroke-width:2.5}
.admin-shell.admin-v2.admin-v2 :is(.admin-shell-nav-item.active,.admin-shell-tabbar-item.active){background:#ddf4ff;color:#087db2;border-color:#84d8ff}
.admin-shell.admin-v2.admin-v2 :is(button,input,select,textarea,a):focus-visible{outline:3px solid #1cb0f6;outline-offset:3px}
.page.teacher-page.teacher-page ::selection,.admin-shell.admin-v2.admin-v2 ::selection{background:#ddf4ff;color:#07577c}
}
@media screen and (min-width:768px) and (max-width:1023px){
.page.teacher-page.teacher-page .tch-todos>.tch-todo-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
.page.teacher-page.teacher-page .tch-todo-stats .tch-todo-stat{min-height:116px}
}
@media screen and (max-width:767px){
.page.teacher-page.teacher-page .page-title.tch-hero{grid-template-columns:minmax(0,1fr) 76px;gap:12px;min-height:132px;padding:16px;margin:16px 0 20px}
.page.teacher-page.teacher-page .tch-hero h1{font-size:22px;line-height:1.35;margin-bottom:8px}
.page.teacher-page.teacher-page .tch-hero .tch-hero-copy>span{font-size:13px;line-height:1.5}
.page.teacher-page.teacher-page .tch-hero img.tch-hero-art{width:76px;height:96px;padding:4px}
.page.teacher-page.teacher-page .tch-hero-stats{gap:8px}
.page.teacher-page.teacher-page .tch-hero-stats .tch-todo-stat{min-height:88px;padding:12px;flex-direction:row}
/* ponytail: this list alone scrolls; the page keeps its normal inline width. */
.page.teacher-page.teacher-page .tch-todos>.tch-todo-stats{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:128px;gap:10px;width:100%;max-width:100%;padding:0 0 8px;overflow-x:auto;overflow-y:visible;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#a7dcf5 #f3faff}
.page.teacher-page.teacher-page .tch-todo-stats .tch-todo-stat{min-height:116px;padding:12px 8px;scroll-snap-align:start}
.page.teacher-page.teacher-page .tch-todo-stats .tch-stat-body b{font-size:22px}
.page.teacher-page.teacher-page :is(.tch-todo-list-panel,.tch-side-activity,.tch-side-post,.tch-side-note){padding:16px;border-radius:16px}
.page.teacher-page.teacher-page .tch-todo-tabs{gap:8px}
.page.teacher-page.teacher-page .tch-todo-tabs button{flex:1 1 calc(50% - 8px);font-size:12px;padding:8px}
.page.teacher-page.teacher-page .tch-todo-item{border:2px solid #e5e5e5;border-radius:14px;box-shadow:none;padding:14px;gap:8px 12px;background:#fff}
.admin-shell.admin-v2.admin-v2 .admin-page-head{margin-bottom:20px}
.admin-shell.admin-v2.admin-v2 .admin-page-title{font-size:26px}
.admin-shell.admin-v2.admin-v2 .admin-page-sub{font-size:14px}
.admin-shell.admin-v2.admin-v2 .admin-overview-card{padding:16px;gap:12px}
.admin-shell.admin-v2.admin-v2 .admin-overview-icon{width:44px;height:44px;border-radius:14px}
.admin-shell.admin-v2.admin-v2 .admin-overview-value{font-size:26px}
.admin-shell.admin-v2.admin-v2 .admin-shell-tabbar-item svg{width:25px;height:25px;stroke-width:2.5}
}
@media screen and (prefers-reduced-motion:reduce){
.page.teacher-page.teacher-page :is(button,a),.admin-shell.admin-v2.admin-v2 :is(button,a){transition:none}
}

@media screen and (max-width:767px){
.page.teacher-page.teacher-page .tch-todos>.tch-todo-stats{order:-2;grid-row:auto}
}
