/* Teacher workspace. Opt-in presentation layer; shared data and commands stay intact. */
body.t-experience {
  --t-font-body: 'Golos Text', sans-serif;
  --t-font-display: 'Golos Text', sans-serif;
  --t-font-mono: 'JetBrains Mono', monospace;
  --t-bg: #f4f2eb;
  --t-canvas: #fffefb;
  --t-canvas-2: #f0eee6;
  --t-canvas-3: #e7e5dc;
  --t-ink: #242820;
  --t-ink-mute: #666c63;
  --t-ink-faint: #767b72;
  --t-ink-invert: #fffefb;
  --t-accent: #2b4c8c;
  --t-accent-2: #213c72;
  --t-accent-wash: #e9eef7;
  --t-hair: #dedfd4;
  --t-hair-soft: #e9e9df;
  --t-hair-strong: #c5c9ba;
  --t-r-button: 9px;
  --t-r-input: 9px;
  --t-r-card: 18px;
  --t-r-pill: 999px;
  --t-fs-body: 14px;
  --t-fs-page: 36px;
  --t-fs-section: 18px;
  --t-ease: cubic-bezier(.22,.68,0,1.01);
  --t-fast: 160ms;
  --tw-sidebar: 240px;
  --tw-topbar: 68px;
  --tw-space: clamp(22px, 3vw, 44px);
  --tw-content: 1380px;
  --tw-title: clamp(30px, 3vw, 42px);
  --tw-line: 1.55;
  --tw-gap: 24px;
  --tw-control: 42px;
  --bg-page: var(--t-bg);
  --bg-canvas: var(--t-canvas);
  --bg-soft: var(--t-canvas-2);
  --ink: var(--t-ink);
  --ink-mute: var(--t-ink-mute);
  --hair: var(--t-hair);
  --accent: var(--t-accent);
  background: var(--t-bg);
  font-family: var(--t-font-body);
  line-height: var(--tw-line);
}
.t-experience [hidden] { display: none !important; }
.t-experience :is(.t-sr-only,.sr-only) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.t-experience :is(a,button,input,select,textarea):focus-visible { outline: 2px solid var(--t-accent); outline-offset: 3px; }
.t-experience .t-shell { grid-template-columns: var(--tw-sidebar) minmax(0,1fr); grid-template-rows: var(--tw-topbar) minmax(0,1fr); height: 100dvh; }
.t-experience .t-shell.t-sidebar-collapsed { grid-template-columns: 64px minmax(0,1fr); }
.t-experience .t-side { background: var(--t-canvas); }
.t-experience .t-side__brand { height: var(--tw-topbar); padding: 0 24px; border-bottom: 0; }
.t-experience .t-brand-lockup { width: 161px; }
.t-experience .t-side__user { margin: 4px 16px 14px; padding: 16px 8px; border-top: 1px solid var(--t-hair); border-bottom: 0; gap: 11px; }
.t-experience .t-side__user .ava { width: 36px; height: 36px; font-size: 12px; background: var(--t-accent-wash); color: var(--t-accent); }
.t-experience .t-side__user-name { font-size: 13px; font-weight: 600; }
.t-experience .t-side__user-role { margin-top: 4px; font-size: 12px; }
.t-experience .t-side__nav { padding: 6px 14px 16px; gap: 3px; }
.t-experience .t-nav-item { min-height: 42px; padding: 9px 13px; font-size: 13px; border-radius: var(--t-r-button); }
.t-experience .t-nav-item.on { background: var(--t-accent-wash); color: var(--t-accent); font-weight: 600; }
.t-experience .t-nav-item.on .ico { color: var(--t-accent); }
.t-experience .t-nav-item .ico { width: 19px; height: 19px; }
.t-experience .t-nav-item .badge { font-size: 10px; border-radius: var(--t-r-pill); padding: 1px 6px; }
.t-experience .t-nav-item.on .badge { background: var(--t-accent); color: var(--t-ink-invert); }
.t-experience .t-nav-label { padding: 19px 13px 6px; color: var(--t-ink-mute); font-size: 12px; letter-spacing: 0; }
.t-experience .t-nav-label:first-child { padding-top: 8px; }
.t-experience .t-shell.t-sidebar-collapsed .t-nav-label { font-size: 0; padding: 0; margin: 8px 4px; border-top: 1px solid var(--t-hair); }
.t-experience .t-side__foot { padding: 16px; border: 0; }
.t-experience .t-side__create { min-height: 43px; justify-content: center; font-size: 13px; }
.t-experience .t-side__collapse { left: calc(var(--tw-sidebar) - 13px); top: 22px; width: 26px; height: 26px; border-radius: var(--t-r-pill); background: var(--t-canvas); font-size: 17px; }
.t-experience .t-shell.t-sidebar-collapsed .t-side__collapse { left: 51px; }
.t-experience .t-top { height: var(--tw-topbar); padding: 0 var(--tw-space); gap: 16px; background: var(--t-canvas); }
.t-experience .t-top__crumb { font-size: 13px; }
.t-experience .t-top__search { width: min(290px,30vw); }
.t-experience .t-top__search input { height: 38px; border-color: var(--t-hair); background: var(--t-bg); font-size: 12px; padding-right: 45px; }
.t-experience .t-top__search kbd { top: 10px; }
.t-experience .t-top__btn { width: 36px; height: 36px; border-radius: var(--t-r-button); }
.t-experience .t-main { min-width: 0; min-height: 0; background: var(--t-bg); scroll-behavior: smooth; }
.t-experience .t-main > :is(.al-h,.tl-h,.an-h,.pf-h) { position: relative; }
.t-experience .t-btn { min-height: var(--tw-control); padding: 9px 16px; font-size: 13px; line-height: 1.3; border-radius: var(--t-r-button); }
.t-experience .t-btn--sm { min-height: 34px; padding: 6px 12px; font-size: 12px; }
.t-experience .t-input { border-radius: var(--t-r-input); }
.t-experience .tw-page-description { color: var(--t-ink-mute); font-size: 14px; margin: 9px 0 25px; max-width: 650px; line-height: var(--tw-line); }

/* The working day: one large agenda beside a compact action queue. */
.t-experience .db-h { position: relative; display: flex; justify-content: space-between; gap: var(--tw-gap); align-items: center; max-width: var(--tw-content); margin: 0 auto; padding: 36px var(--tw-space) 26px; border: 0; background: none; }
.t-experience .db-h h1 { display: block; font-size: var(--tw-title); font-weight: 700; line-height: 1.16; letter-spacing: -.035em; margin: 0 0 12px; }
.t-experience .db-h h1 #db-name { color: var(--t-accent); }
.t-experience .db-h__date { color: var(--t-ink-mute); font-size: 13px; margin: 0 0 14px; }
.t-experience .db-h__description { color: var(--t-ink-mute); font-size: 14px; margin: 0; }
.t-experience .db-h__actions { display: flex; gap: 10px; flex-shrink: 0; align-items: center; }
.t-experience .db-h .bell { width: 42px; height: 42px; border-radius: var(--t-r-button); }
.t-experience .db-body { max-width: var(--tw-content); margin: auto; padding: 0 var(--tw-space) 52px; }
.t-experience .db-grid { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(280px,1fr); gap: var(--tw-gap); align-items: start; }
.t-experience :is(.db-agenda,.db-queue) { display: flex; flex-direction: column; gap: var(--tw-gap); min-width: 0; }
.t-experience .db-card { padding: 23px 25px; border: 1px solid var(--t-hair); border-radius: var(--t-r-card); background: var(--t-canvas); min-width: 0; }
.t-experience .db-card:hover { border-color: var(--t-hair-strong); }
.t-experience .db-card.is-link:hover { transform: none; }
.t-experience .db-card__title { font-size: 16px; font-weight: 600; line-height: 1.4; }
.t-experience .db-card__sub { font-size: 13px; line-height: var(--tw-line); margin-top: 8px; color: var(--t-ink-mute); }
.t-experience .db-card__val { font-size: 30px; font-weight: 600; letter-spacing: -.035em; }
.t-experience .db-card__cta { font-size: 13px; letter-spacing: 0; padding-top: 15px; margin-top: 17px; font-weight: 500; justify-content: space-between; }
.t-experience .db-next { display: block; background: var(--t-accent); color: var(--t-ink-invert); border: 0; min-height: 249px; padding: 27px 30px; }
.t-experience .db-next:hover { background: var(--t-accent-2); }
.t-experience .db-next__head { display: flex; gap: 12px; align-items: center; justify-content: space-between; font-size: 13px; }
.t-experience .db-next__tag { border: 1px solid #ffffff55; padding: 4px 11px; border-radius: var(--t-r-pill); font-size: 11px; }
.t-experience .db-next .db-card__val { font-family: var(--t-font-body); font-size: clamp(42px,5vw,64px); font-weight: 500; line-height: 1.08; color: inherit; margin: 21px 0 11px; }
.t-experience .db-next .db-card__sub { color: var(--t-ink-invert); font-size: 16px; line-height: 1.5; max-width: 520px; }
.t-experience .db-next .db-card__cta { color: var(--t-ink-invert); border-color: #ffffff40; }
.t-experience .db-next .db-next__open { font-size: 13px; font-weight: 600; }
.t-experience .db-next .db-next__eta { font-weight: 400; font-size: 12px; }
.t-experience .db-panel { padding: 23px 25px; background: var(--t-canvas); border: 1px solid var(--t-hair); border-radius: var(--t-r-card); }
.t-experience .db-panel__head { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; margin: 0 0 16px; }
.t-experience .db-panel__head h2 { font-size: 17px; font-weight: 600; letter-spacing: -.025em; margin: 0; }
.t-experience .db-panel__head > a { font-size: 12px; color: var(--t-accent); white-space: nowrap; }
.t-experience .db-panel__foot { margin-top: 13px; padding-top: 14px; border-top: 1px solid var(--t-hair-soft); color: var(--t-ink-mute); font-size: 12px; }
.t-experience .db-sched__item { display: grid; grid-template-columns: 64px minmax(0,1fr) auto; gap: 15px; align-items: start; padding: 15px 0; border-bottom: 1px solid var(--t-hair-soft); }
.t-experience a.db-sched__item:hover .db-sched__title { color: var(--t-accent); }
.t-experience .db-sched__item:last-child { border-bottom: 0; }
.t-experience .db-sched__time { font-family: var(--t-font-mono); color: var(--t-ink); font-size: 14px; padding-top: 1px; }
.t-experience .db-sched__title { font-size: 14px; font-weight: 500; line-height: 1.5; }
.t-experience .db-sched__meta { font-size: 11px; border: 1px solid var(--t-hair); border-radius: var(--t-r-pill); padding: 3px 8px; align-self: start; }
.t-experience .db-sched__empty { color: var(--t-ink-mute); font-size: 13px; line-height: 1.6; text-align: left; padding: 15px 0; }
.t-experience .db-grading { border-color: var(--t-hair); }
.t-experience .db-grading .db-card__val { font-size: 46px; color: var(--t-accent); }
.t-experience .db-grading .db-card__cta { background: var(--t-accent-wash); color: var(--t-accent); padding: 11px 14px; border: 0; border-radius: var(--t-r-button); margin-top: 22px; }
.t-experience .db-compact { border-top: 1px solid var(--t-hair-soft); padding-top: 17px; margin-top: 17px; }
.t-experience .db-compact .db-card__title { font-size: 14px; }
.t-experience .db-compact .db-card__val { font-size: 23px; }
.t-experience .db-compact .db-card__sub { font-size: 12px; margin-top: 3px; }
.t-experience .db-compact:first-child { padding-top: 0; margin-top: 0; border: 0; }
.t-experience .db-resource-links { display: flex; flex-wrap: wrap; gap: 8px 21px; }
.t-experience .db-resource-links a { min-height: 38px; display: inline-flex; align-items: center; font-size: 13px; color: var(--t-accent); }
.t-experience #db-continue-val { font-size: 15px; border-radius: 7px; background: var(--t-canvas-2); padding: 8px 10px; }
.t-experience .db-risk__name { font-size: 13px; }
.t-experience .db-empty { background: var(--t-canvas); border: 1px solid var(--t-hair); border-radius: var(--t-r-card); }

/* Queue pages retain their filters, actions, data and keyboard controls. */
.t-experience :is(.al-h,.tl-h) { padding: 32px var(--tw-space) 23px; background: var(--t-bg); border: 0; }
.t-experience :is(.al-h__row,.tl-h__row) { gap: 14px; align-items: center; flex-wrap: wrap; margin: 0; }
.t-experience :is(.al-h,.tl-h,.an-h,.pf-h) h1 { font-size: var(--tw-title); line-height: 1.16; letter-spacing: -.035em; font-weight: 700; margin: 0; }
.t-experience :is(.al-h__stats,.tl-h__sub) { font-size: 13px; color: var(--t-ink-mute); }
.t-experience .al-h__stats { border: 0; gap: 22px; padding: 0; margin: 0 0 22px; flex-wrap: wrap; }
.t-experience .al-h__stats .v { font-size: 14px; }
.t-experience .al-workspaces { display: flex; width: 100%; gap: 25px; background: transparent; border: 0; border-bottom: 1px solid var(--t-hair); border-radius: 0; padding: 0; margin-bottom: 22px; }
.t-experience .al-workspaces button { min-height: 44px; padding: 0 2px 12px; border-radius: 0; font-size: 14px; border-bottom: 2px solid transparent; }
.t-experience .al-workspaces button[aria-selected="true"] { color: var(--t-accent); background: transparent; border-bottom-color: var(--t-accent); }
.t-experience :is(.al-controls,.tl-controls) { gap: 10px; padding: 16px; border: 1px solid var(--t-hair); border-radius: 13px; background: var(--t-canvas); }
.t-experience :is(.al-controls,.tl-controls) [role="radiogroup"] { flex-wrap: wrap; gap: 5px !important; }
.t-experience :is(.al-chip,.tl-chip) { min-height: 34px; height: auto; padding: 7px 12px; font-size: 12px; border-radius: 7px; background: transparent; }
.t-experience :is(.al-chip,.tl-chip):hover { background: var(--t-canvas-2); }
.t-experience :is(.al-chip.on,.tl-chip.on) { background: var(--t-accent-wash); color: var(--t-accent); border-color: transparent; }
.t-experience :is(.al-controls,.tl-controls) :is(select,input[type="search"]) { min-height: var(--tw-control); border: 1px solid var(--t-hair); background: var(--t-canvas); border-radius: var(--t-r-input); padding: 8px 12px; font-size: 13px; max-width: 100%; }
.t-experience #f-search { height: var(--tw-control) !important; font-size: 13px !important; border-radius: var(--t-r-input) !important; background: var(--t-canvas) !important; padding: 8px 12px !important; }
.t-experience .al-list { margin: 0 var(--tw-space) 35px; background: var(--t-canvas); border: 1px solid var(--t-hair); border-radius: 13px; overflow: hidden; }
.t-experience .al-row { padding: 16px 20px; gap: 12px; font-size: 13px; }
.t-experience .al-row.is-late { box-shadow: none; background: color-mix(in srgb,var(--t-bad-bg) 28%,var(--t-canvas)); }
.t-experience .al-name { font-weight: 600; }
.t-experience .al-sub { font-size: 12px; margin-top: 4px; }
.t-experience .al-group-head { padding: 17px 20px; background: var(--t-canvas-2); font-size: 13px; }
.t-experience .tl-body { padding: 0 var(--tw-space) 48px; }
.t-experience .tl-section-h { margin: 21px 0 14px; font-size: 16px; letter-spacing: 0; color: var(--t-ink); font-weight: 600; }
.t-experience .tl-grid { gap: 18px; }
.t-experience .tl-card { padding: 22px; border-radius: 13px; border-color: var(--t-hair); background: var(--t-canvas); }
.t-experience #new-test { background: var(--t-accent); color: var(--t-ink-invert); border-color: var(--t-accent); }

/* Programs and reporting use the same hierarchy, with room for real data. */
.t-experience .pgl { padding: 32px var(--tw-space) 48px; max-width: var(--tw-content); }
.t-experience .pgl-head { align-items: center; margin-bottom: 30px; }
.t-experience .pgl-head h1 { font-size: var(--tw-title); font-weight: 700; margin: 0; letter-spacing: -.035em; line-height: 1.16; }
.t-experience .pgl-head p { font-size: 14px; line-height: var(--tw-line); margin: 13px 0 0; max-width: 650px; color: var(--t-ink-mute); }
.t-experience .pgl-search { min-height: 44px; border-radius: var(--t-r-input); font-size: 13px; background: var(--t-canvas); border: 1px solid var(--t-hair); }
.t-experience .pgl-grid { gap: 18px; }
.t-experience .pgl-card { padding: 26px 28px; border-radius: var(--t-r-card); background: var(--t-canvas); border: 1px solid var(--t-hair); }
.t-experience .pgl-card:hover { border-color: var(--t-accent); transform: none; }
.t-experience .pgl-card h2 { font-size: 24px; font-weight: 650; letter-spacing: -.025em; }
.t-experience .pgl-card__index { color: var(--t-ink-mute); font: 12px var(--t-font-mono); }
.t-experience .pgl-card__counts { gap: 22px; color: var(--t-ink-mute); font-size: 13px; }
.t-experience .pgl-card__counts b { font-size: 17px; color: var(--t-ink); }
.t-experience .pgl-card__counts span { font-size: 12px; }
.t-experience :is(.pgl-card__teacher,.pgl-card__next) { font-size: 12px; }
.t-experience .pgl-card__next b { font-size: 12px; }
.t-experience .pgl-open { white-space: nowrap; }
.t-experience .pgl-open { font-size: 13px; padding: 10px 15px; border-radius: var(--t-r-button); background: var(--t-accent-wash); color: var(--t-accent); }
.t-experience .an-h { padding: 32px var(--tw-space) 23px; display: flex; flex-wrap: wrap; gap: 15px; align-items: center; background: var(--t-bg); border: 0; }
.t-experience .an-h .tw-page-description { width: 100%; max-width: none; margin: 0 0 7px; order: 2; }
.t-experience .an-h :is(select,button) { min-height: 40px; font-size: 13px !important; }
.t-experience .an-body { padding: 0 var(--tw-space) 48px; max-width: var(--tw-content); }
.t-experience :is(.an-card,.an-compare,.an-block) { border-radius: 13px; padding: 23px; background: var(--t-canvas); border-color: var(--t-hair); }
.t-experience .an-body h2 { font-size: 17px; font-weight: 600; }
.t-experience .pf-shell { padding: 32px var(--tw-space) 48px; max-width: 1160px; }
.t-experience .pf-h { padding: 0; margin-bottom: 28px; gap: 20px; flex-wrap: wrap; background: var(--t-bg); }
.t-experience .pf-h h1 { font-size: var(--tw-title); }
.t-experience .pf-tabs { gap: 0 18px; border: 0; border-bottom: 1px solid var(--t-hair); border-radius: 0; background: transparent; margin-bottom: 24px; }
.t-experience .pf-tabs button { min-height: 44px; padding: 10px 0; font-size: 13px; }
.t-experience .pf-panel { padding: 28px; background: var(--t-canvas); border: 1px solid var(--t-hair); border-radius: var(--t-r-card); }
.t-experience .pf-panel h2 { font-size: 20px; }
.t-experience .pf-panel .sub { font-size: 13px; line-height: 1.55; }
.t-experience .pf-row { gap: 20px; margin-bottom: 20px; }
.t-experience .pf-field { font-size: 12px; letter-spacing: 0; }
.t-experience .pf-field :is(input,select,textarea) { min-height: 44px; margin-top: 7px; border-radius: var(--t-r-input); }
.t-experience .pf-btn { min-height: 42px; height: auto; padding: 8px 15px; border-radius: var(--t-r-button); }
.t-experience .pf-avatar { background: var(--t-accent-wash); color: var(--t-accent); }

/* Communication keeps the thread and its composer in one stable viewport. */
.t-experience .ann-h { padding: 32px var(--tw-space) 24px; background: var(--t-bg); border: 0; gap: 16px; }
.t-experience .ann-h h1 { font-size: var(--tw-title); line-height: 1.16; font-weight: 700; letter-spacing: -.035em; }
.t-experience .ann-body { max-width: 1020px; padding: 0 var(--tw-space) 48px; }
.t-experience .ann-compose { border-radius: 13px; margin-bottom: 24px; }
.t-experience .ann-compose__collapsed { padding: 20px 24px; min-height: 64px; }
.t-experience .ann-filters { gap: 8px; margin-bottom: 22px; }
.t-experience .ann-filters .t-pill { min-height: 40px; padding: 9px 14px; border-radius: var(--t-r-button); font-size: 13px; }
.t-experience .ann-card { padding: 24px; margin-bottom: 18px; }
.t-experience .ann-card.pinned { box-shadow: none; border-left: 3px solid var(--t-warn); }
.t-experience .ann-card__title { font-size: 18px; }
.t-experience .ann-card__audience { padding: 4px 9px; font-size: 12px; letter-spacing: 0; }
.t-experience .ann-card__body { font-size: 14px; line-height: 1.65; }
.t-experience .ann-card__when { font-size: 12px; }
.t-experience .ch-side { background: var(--t-canvas); }
.t-experience .ch-side__head { padding: 22px 18px 12px; }
.t-experience .ch-side__head h1 { font-size: 27px; line-height: 1.2; letter-spacing: -.025em; margin: 0 0 22px; }
.t-experience .ch-side__search input { height: 42px; font-size: 13px; background: var(--t-bg); }
.t-experience #ch-new { min-height: 42px; }
.t-experience .ch-side__filters .t-pill { min-height: 42px; font-weight: 500; }
.t-experience .ch-list { padding: 10px; }
.t-experience .ch-item { padding: 12px 10px; border-radius: var(--t-r-button); }
.t-experience .ch-item__ava { background: var(--t-accent-wash); color: var(--t-accent); }
.t-experience .ch-empty { background: var(--t-bg); }
.t-experience .ch-empty .ico { display: none; }
.t-experience .al-empty__phi { display: none; }
.t-experience .al-empty { padding: 48px 24px; }
.t-experience .tg-h { padding: 25px var(--tw-space); background: var(--t-bg); border: 0; }
.t-experience .tg-h__title { font-size: 26px; letter-spacing: -.025em; }
.t-experience .tg-body { padding: 0 var(--tw-space) 48px; }
.t-experience .tg-kpi { padding: 21px; }
.t-experience .tg-kpi__lbl { font-size: 12px; letter-spacing: 0; }
.t-experience .tg-kpi__val { font-size: 30px; }
.t-experience .tg-section { padding: 24px; }

/* Notifications and library share their data views with students, and this teacher shell. */
.t-experience .tw-shared-main { padding: 32px var(--tw-space) 48px; }
.t-experience .tw-shared-main > .lk-content { max-width: 1080px; margin: 0 auto; }
.t-experience .tw-shared-main .page-head { margin-bottom: 26px; padding-bottom: 25px; }
.t-experience .tw-shared-main .page-head h1 { font-family: var(--t-font-display); font-size: var(--tw-title); font-weight: 700; line-height: 1.16; letter-spacing: -.035em; margin: 0; }
.t-experience .tw-shared-main :is(.filter-chip,.chip) { min-height: 42px; border-radius: var(--t-r-button); font-size: 13px; }
.t-experience .tw-shared-main :is(.filter-chip,.chip).active { background: var(--t-accent-wash); color: var(--t-accent); border-color: var(--t-accent-wash); }
.t-experience .tw-shared-main .notif-list { gap: 12px; }
.t-experience .tw-shared-main .notif__link { padding: 20px; }
.t-experience .tw-shared-main .lesson { padding: 24px; border-radius: var(--t-r-card); }
.t-experience .tw-shared-main .lesson__title { font-size: 23px; font-weight: 600; }
.t-experience .tw-shared-main .lesson__label { font-size: 12px; letter-spacing: 0; text-transform: none; }
.t-experience .tw-shared-main .meta { font-family: var(--t-font-body); font-size: 13px; }
.t-experience .tw-shell-error { padding: 16px; margin-bottom: 20px; border: 1px solid var(--t-warn); background: var(--t-warn-bg); border-radius: 9px; }

/* Schedule lives inside the cabinet; only the calendar workspace scrolls. */
.t-experience .tw-schedule-main { padding: 32px var(--tw-space) 48px; }
.t-experience .sch-page-head { margin-bottom: 26px; }
.t-experience .sch-page-head h1 { font-size: var(--tw-title); font-weight: 700; line-height: 1.16; letter-spacing: -.035em; margin: 0 0 12px; }
.t-experience .sch-page-head p { margin: 0; color: var(--t-ink-mute); font-size: 14px; }
.t-experience .sch-top { padding: 17px; gap: 12px; border: 1px solid var(--t-hair); border-radius: 13px; margin-bottom: 28px; }
.t-experience .sch-nav { gap: 5px; }
.t-experience .sch-nav button { height: 42px; min-width: 42px; border-radius: var(--t-r-button); font-size: 20px; }
.t-experience #nav-today { font-size: 13px !important; padding: 0 14px !important; }
.t-experience .sch-week-label { font-size: 16px; font-weight: 600; padding: 0 10px; }
.t-experience .sch-week-label span { display: block; font-size: 11px; font-weight: 400; margin: 4px 0 0; }
.t-experience .sch-modality { border: 0; gap: 2px; border-radius: var(--t-r-button); background: var(--t-canvas-2); padding: 3px; }
.t-experience .sch-modality button { min-height: 36px; border: 0; background: transparent; border-radius: 7px; padding: 0 11px; }
.t-experience .sch-modality button.on { background: var(--t-canvas); color: var(--t-accent); }
.t-experience .sch-btn { height: auto; min-height: 42px; border-radius: var(--t-r-button); padding: 9px 14px; font-size: 13px; }
.t-experience .sch-ws { min-height: 0; min-width: 0; grid-template-columns: 210px minmax(0,1fr); }
.t-experience .sch-ws.readonly { grid-template-columns: minmax(0,1fr); }
.t-experience .sch-grid { padding: 0; background: transparent; min-width: 0; overflow: auto; }
.t-experience .sch-week-list { max-width: none; }
.t-experience .sch-readonly-note { font-size: 12px; line-height: 1.6; margin: 0 0 25px; }
.t-experience .sch-week-day { display: grid; grid-template-columns: 145px minmax(0,1fr); gap: 10px 18px; margin-bottom: 24px; align-items: start; }
.t-experience .sch-week-day h3 { margin: 21px 0 0; font-size: 13px; font-weight: 500; line-height: 1.5; letter-spacing: 0; text-transform: capitalize; }
.t-experience .sch-week-day.today h3 { font-weight: 700; }
.t-experience .sch-week-list .sch-day-card { grid-column: 2; grid-template-columns: 120px minmax(0,1fr); gap: 12px 20px; }
.t-experience .sch-day-card { padding: 22px; border: 1px solid var(--t-hair); border-radius: 13px; border-left: 3px solid var(--t-accent); margin-bottom: 0; background: var(--t-canvas); }
.t-experience .sch-day-card.completed { background: var(--t-canvas); border-left-color: var(--t-hair-strong); }
.t-experience .sch-day-card .h { font-size: 14px; font-weight: 500; line-height: 1.5; }
.t-experience .sch-day-card .nm { font-size: 17px; line-height: 1.4; letter-spacing: -.015em; }
.t-experience .sch-day-card .mt { font-size: 12px; line-height: 1.6; margin-top: 6px; }
.t-experience .sch-week-list .sch-day-card .actions { grid-column: 1/-1; justify-content: flex-end; gap: 9px; padding-top: 14px; border-top: 1px solid var(--t-hair-soft); flex-wrap: wrap; }
.t-experience .sch-day-card .status { font-size: 12px; padding: 5px 10px; }
.t-experience .sch-day-card .actions button { min-height: 38px; padding: 8px 13px; border: 1px solid var(--t-hair); border-radius: var(--t-r-button); font-size: 12px; }
.t-experience .sch-day-card [data-act="open"] { background: var(--t-accent-wash); color: var(--t-accent); border-color: var(--t-accent-wash) !important; }
.t-experience .sch-week-list .sch-join { margin-top: 10px; font-size: 12px; }
.t-experience .sch-empty { background: var(--t-canvas); border: 1px solid var(--t-hair); border-radius: var(--t-r-card); padding: 48px 24px; }
.t-experience .sch-empty .phi { display: none; }
.t-experience .sch-safety { margin-bottom: 18px; border: 1px solid var(--state-pending); border-radius: 9px; }
.t-experience .sch-modal { border-radius: 18px; padding: 28px; }
.t-experience .sch-modal h3 { font-size: 23px; letter-spacing: -.025em; }
.t-experience .sch-modal :is(input,select,textarea):not([type="checkbox"]) { min-height: 42px; border-radius: var(--t-r-input); }

/* Полная проверка 25.09 (H3-013): на ноутбуках (1440×900, 1366×768, 1280×720) всё меню помещается без прокрутки:
   пункты и подписи групп плотнее; на совсем низких экранах подписи групп становятся разделителями.
   Если меню всё же длиннее панели, teacher.js показывает затухание у края (есть пункты ниже / выше). */
@media (min-width: 721px) and (max-height: 960px) {
  .t-experience .t-side__nav { padding: 2px 14px 8px; gap: 2px; }
  .t-experience .t-nav-item { min-height: 34px; padding-top: 6px; padding-bottom: 6px; }
  .t-experience .t-nav-label { padding: 10px 13px 3px; font-size: 11px; }
  .t-experience .t-nav-label:first-child { padding-top: 4px; }
  .t-experience .t-side__foot { padding: 10px 16px; }
  .t-experience .t-side__create { min-height: 38px; }
  .t-experience .t-side__user { padding-top: 8px; padding-bottom: 8px; margin-bottom: 6px; }
}
@media (min-width: 721px) and (max-height: 780px) {
  .t-experience .t-nav-item { min-height: 30px; padding-top: 5px; padding-bottom: 5px; }
  .t-experience .t-nav-label { font-size: 0; line-height: 0; padding: 0; margin: 5px 13px; border-top: 1px solid var(--t-hair); }
  .t-experience .t-nav-label:first-child { display: none; }
  .t-experience .t-side__user .ava { width: 30px; height: 30px; }
}
@media (max-width: 1100px) {
  body.t-experience { --tw-sidebar: 216px; --tw-space: 24px; --tw-gap: 18px; }
  .t-experience .db-grid { grid-template-columns: minmax(0,1.2fr) minmax(260px,1fr); }
  .t-experience .t-top__search { width: 220px; }
  .t-experience .db-h__actions .t-btn { display: none; }
}
@media (max-width: 900px) {
  .t-experience .db-grid { grid-template-columns: minmax(0,1fr); }
  .t-experience .t-top__search { display: none; }
  .t-experience .db-next { min-height: 230px; }
  .t-experience .sch-ws { grid-template-columns: minmax(0,1fr); }
  .t-experience .sch-top { gap: 14px; padding: 15px; }
  .t-experience .sch-week-label { flex: 1; padding: 0; }
  .t-experience .sch-modality { flex: 1; }
  .t-experience .sch-modality button { flex: 1; min-height: 44px; }
  .t-experience .sch-top > span { display: none; }
  .t-experience .sch-day-picker { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 5px; padding: 0 0 20px; background: transparent; border: 0; }
  .t-experience .sch-day-pill { padding: 10px 0; min-width: 0; width: auto; border: 1px solid var(--t-hair); border-radius: 9px; background: var(--t-canvas); }
  .t-experience .sch-day-pill.on { background: var(--t-accent); color: var(--t-ink-invert); border-color: var(--t-accent); }
  .t-experience .sch-day-card { margin-bottom: 15px; }
  .t-experience .sch-day-card .actions { flex-wrap: wrap; }
  .t-experience .sch-day-card .actions button { min-height: 44px; }
  .t-experience .sch-modal { padding: 24px 20px; border-radius: 0; }
}
@media (max-width: 720px) {
  body.t-experience { --tw-space: 20px; --tw-gap: 18px; --tw-topbar: 62px; --tw-title: 30px; --tw-control: 44px; }
  .t-experience .t-shell,.t-experience .t-shell.t-sidebar-collapsed { display: grid; grid-template-columns: minmax(0,1fr); grid-template-rows: var(--tw-topbar) minmax(0,1fr) auto; }
  .t-experience .t-side { width: min(300px,calc(100vw - 38px)); }
  .t-experience .t-side__brand { height: 64px; }
  .t-experience .t-top { padding: 0 14px; gap: 8px; height: var(--tw-topbar); }
  .t-experience .t-top__brand .t-brand-lockup { width: 136px; }
  .t-experience .t-side__collapse { display: none; }
  .t-experience .t-nav-item { min-height: 44px; }
  .t-experience .t-top__btn { min-width: 44px; min-height: 44px; }
  .t-experience :is(.t-btn--sm,.al-chip,.tl-chip,.pf-btn) { min-height: 44px; }
  .t-experience .db-h .bell { width: 44px; height: 44px; }
  .t-experience .t-tabbar { background: var(--t-canvas); border-top: 1px solid var(--t-hair); }
  .t-experience .t-tab.on { background: var(--t-accent-wash); border-radius: 9px; }
  .t-experience .db-h { padding-top: 27px; padding-bottom: 25px; gap: 10px; align-items: flex-start; }
  .t-experience .db-h h1 { font-size: 30px; line-height: 1.18; }
  .t-experience .db-h__date { font-size: 12px; margin-bottom: 12px; }
  .t-experience .db-h__description { font-size: 13px; max-width: 250px; }
  .t-experience .db-h__actions { padding-top: 1px; }
  .t-experience .db-next { padding: 24px; min-height: 242px; }
  .t-experience .db-next .db-card__val { font-size: 52px; }
  .t-experience .db-next .db-card__sub { font-size: 14px; }
  .t-experience .db-next .db-card__cta { flex-wrap: wrap; gap: 8px; }
  .t-experience :is(.db-panel,.db-card) { padding: 21px; }
  .t-experience .db-panel__head h2 { font-size: 16px; }
  .t-experience .db-sched__item { grid-template-columns: 57px minmax(0,1fr); gap: 8px 13px; }
  .t-experience .db-sched__meta { grid-column: 2; justify-self: start; }
  .t-experience :is(.al-h,.tl-h) { padding-top: 27px; }
  .t-experience :is(.al-h__row,.tl-h__row) { align-items: center; gap: 10px; }
  .t-experience :is(.al-h__row,.tl-h__row) h1 { flex-basis: 100%; }
  .t-experience :is(.al-h__row,.tl-h__row) .t-btn { margin-left: auto; }
  .t-experience .tw-page-description { font-size: 13px; margin: 12px 0 21px; }
  .t-experience .al-h__stats { gap: 8px 17px; font-size: 12px; }
  .t-experience :is(.al-controls,.tl-controls) { padding: 12px; gap: 10px; }
  .t-experience :is(.al-chip,.tl-chip) { min-height: 44px; padding: 9px 11px; font-size: 12px; }
  .t-experience :is(.al-controls,.tl-controls) [role="radiogroup"] { max-width: 100%; }
  .t-experience :is(.al-controls,.tl-controls) input[type="search"] { width: 100%; min-width: 0 !important; flex-basis: 100% !important; }
  .t-experience .al-list { margin-right: var(--tw-space); margin-left: var(--tw-space); }
  .t-experience .al-row { padding: 16px; }
  .t-experience .pgl-head { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .t-experience .pgl-card { padding: 23px; }
  .t-experience .pgl-card { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .t-experience .pgl-card__aside { align-items: flex-start; gap: 14px; }
  .t-experience .pgl-card__next { max-width: none; text-align: left; }
  .t-experience .pgl-card h2 { font-size: 22px; }
  .t-experience .pgl-card__counts { gap: 15px; flex-wrap: wrap; }
  .t-experience .an-h { padding-top: 27px; }
  .t-experience .an-h h1 { width: 100%; }
  .t-experience .an-h .tw-page-description { order: initial; }
  .t-experience .an-h select { flex: 1; min-width: 0; }
  .t-experience .pf-panel { padding: 21px; }
  .t-experience .pf-h h1 { font-size: 30px; }
  .t-experience .ann-h h1 { flex-basis: 100%; }
  .t-experience .ann-h { padding-top: 27px; }
  .t-experience .tg-h__row { display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 8px 14px; align-items: start; }
  .t-experience .tg-h__title { font-size: 27px; line-height: 1.25; }
  .t-experience .tg-h__sub { grid-column: 2; line-height: 1.5; }
  .t-experience .ann-card { padding: 20px; }
  .t-experience .ann-card__head { flex-wrap: wrap; }
  .t-experience .ann-card__when { width: 100%; }
  .t-experience .ch-side__head { padding-top: 25px; }
  .t-experience .tw-shared-main { padding-top: 27px; }
  .t-experience .tw-shared-main :is(.filter-chip,.chip,.clear) { min-height: 44px; }
  .t-experience .tw-shared-main .page-head .meta { text-align: left; }
  .t-experience .tw-schedule-main { padding-top: 27px; }
  .t-experience .sch-nav { width: 100%; }
  .t-experience .sch-nav button { min-height: 44px; }
  .t-experience .sch-week-label { flex-basis: 100%; order: -1; font-size: 17px; }
  .t-experience .sch-modality { flex-basis: 100%; }
  .t-experience .sch-modality button { padding-inline: 4px; font-size: 11px; white-space: nowrap; }
  .t-experience .sch-btn { min-height: 44px; }
  .t-experience .sch-page-head p { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .t-experience .t-main { scroll-behavior: auto; }
  .t-experience *, .t-experience *::before, .t-experience *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Journal: stable table workspace and a cell-sized editing surface. */
.t-experience .tw-journal-main { display: flex; flex-direction: column; padding: 28px 28px 12px; overflow: hidden; }
.t-experience .jr-page-head { display: flex; justify-content: space-between; gap: 18px; align-items: center; margin-bottom: 23px; }
.t-experience .jr-page-head h1 { margin: 0 0 7px; font-size: 32px; font-weight: 700; letter-spacing: -.035em; line-height: 1.2; }
.t-experience .jr-page-head p { margin: 0; color: var(--t-ink-mute); font-size: 13px; }
.t-experience .jr-shell { flex: 1; height: auto; min-height: 0; border: 1px solid var(--t-hair); border-radius: 13px; background: var(--t-canvas); }
.t-experience .jr-toolbar { display: block; padding: 17px 18px 0; border-radius: 13px 13px 0 0; overflow: visible; }
.t-experience #teacher-cabinet-back { display: none; }
.t-experience .jr-context-row { display: flex; align-items: start; flex-wrap: wrap; gap: 12px 22px; padding-bottom: 18px; }
.t-experience .jr-context-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.t-experience .jr-period-field { margin-left: auto; }
.t-experience .jr-field-label { font-size: 11px; font-weight: 500; color: var(--t-ink-mute); }
.t-experience .jr-cohort-row { gap: 5px; }
.t-experience .jr-chip { height: 34px; padding: 0 12px; border-radius: 7px; font-size: 12px; white-space: nowrap; }
.t-experience .jr-chip__sub { font-size: 10px; }
.t-experience .jr-iconbtn { min-height: 36px; height: auto; padding: 8px 12px; font-size: 12px; line-height: 1.25; border-radius: 8px; white-space: nowrap; }
.t-experience .jr-iconbtn:disabled { opacity: .4; }
.t-experience .jr-view-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; border-top: 1px solid var(--t-hair-soft); padding-top: 8px; }
.t-experience .jr-view-toggle { border: 0; border-radius: 0; gap: 2px; }
.t-experience .jr-view-toggle button { min-height: 46px; height: auto; background: transparent; padding: 11px 10px; border: 0; border-bottom: 2px solid transparent; font-size: 12px; font-weight: 500; white-space: nowrap; }
.t-experience .jr-view-toggle button.on { color: var(--t-accent); background: transparent; border-bottom-color: var(--t-accent); }
.t-experience .jr-actions { display: flex; gap: 7px; margin-bottom: 8px; align-items: center; }
.t-experience .jr-more { position: relative; }
.t-experience .jr-more > summary { cursor: pointer; list-style: none; }
.t-experience .jr-more > summary::after { content: '⌄'; margin-left: 7px; }
.t-experience .jr-more > summary::-webkit-details-marker { display: none; }
.t-experience .jr-more__panel { position: absolute; top: calc(100% + 8px); right: 0; width: 286px; padding: 8px; border: 1px solid var(--t-hair); border-radius: 12px; background: var(--t-canvas); box-shadow: 0 10px 32px #24282020; z-index: 70; }
.t-experience .jr-more__panel > button { width: 100%; text-align: left; border: 0; background: transparent; min-height: 40px; }
.t-experience .jr-more__panel > button:hover { background: var(--t-canvas-2); }
.t-experience .jr-density { display: block; border-top: 1px solid var(--t-hair); margin-top: 6px; padding: 12px 5px 4px; }
.t-experience .jr-density > div { display: flex; gap: 3px; margin-top: 8px; }
.t-experience .jr-density button { flex: 1; padding-inline: 6px; font-size: 11px; }
.t-experience .jr-density button.on { color: var(--t-accent); border-color: var(--t-accent); background: var(--t-accent-wash); }
.t-experience .jr-main { overflow: hidden; }
.t-experience .jr-side { width: 236px; flex: 0 0 236px; background: var(--t-canvas); }
.t-experience .jr-side__h { font-size: 13px; letter-spacing: 0; font-weight: 600; padding: 15px 18px; }
.t-experience .jr-side__body { padding: 18px; }
.t-experience .jr-pulse-sec { margin-bottom: 24px; }
.t-experience .jr-pulse-lbl { font-size: 11px; letter-spacing: 0; line-height: 1.5; margin-bottom: 9px; }
.t-experience .jr-pulse-avg { flex-wrap: wrap; gap: 5px 10px; }
.t-experience .jr-pulse-avg b { font-size: 36px; font-weight: 500; }
.t-experience .jr-pulse-avg span { font-size: 11px; line-height: 1.5; }
.t-experience .jr-status { padding: 8px 12px; border-radius: 0 0 13px 13px; font-size: 11px; }
.t-experience .jr-keyboard-hint { margin: 10px 0 0; color: var(--t-ink-mute); font-size: 11px; }
.t-experience .jr-cell-student { font-size: 12px; border-right: 1px solid var(--t-hair-strong); }
.t-experience .jr-cell-student .ava { width: 26px; height: 26px; }
.t-experience .jr-cell-avg { border-left-color: var(--t-hair-strong); }
.t-experience .jr-numpad { left: auto; right: auto; bottom: auto; width: 360px; max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px); overflow-y: auto; padding: 18px; box-sizing: border-box; border: 1px solid var(--t-hair-strong); border-radius: 14px; box-shadow: 0 12px 44px #24282033; }
.t-experience .jr-numpad__head { align-items: start; gap: 12px; margin-bottom: 15px; }
.t-experience .jr-numpad__head .who { font-size: 15px; line-height: 1.4; }
.t-experience .jr-numpad__head .where { font-size: 11px; line-height: 1.5; margin-top: 4px; }
.t-experience .jr-numpad__head [data-np-close] { flex: 0 0 32px; min-height: 32px; padding: 4px; font-size: 22px; border: 0; }
.t-experience .jr-numpad__grid { gap: 6px; }
.t-experience .jr-numpad__btn { height: 44px; font-size: 21px; border-radius: 8px; min-width: 0; }
.t-experience .jr-numpad__btn.glyph { font-size: 13px; }
.t-experience .jr-numpad__btn[aria-pressed="true"] { color: var(--t-accent); background: var(--t-accent-wash); border-color: var(--t-accent); }
.t-experience .jr-numpad__btn.clear { font-size: 11px; grid-column: span 2; }
.t-experience .jr-numpad[data-mode="attendance"] .jr-numpad__grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.t-experience .jr-numpad[data-mode="attendance"] .clear { grid-column: auto; }
.t-experience .jr-numpad__cmt { margin-top: 12px; border-top: 1px solid var(--t-hair-soft); }
.t-experience .jr-numpad__cmt summary { padding: 12px 0; font-size: 12px; font-weight: 500; cursor: pointer; }
.t-experience .jr-numpad__cmt textarea { background: var(--t-canvas); color: var(--t-ink); }
.t-experience #np-cmt-save { width: 100%; justify-content: center; margin: 6px 0 9px; }
.t-experience .jr-numpad__nav { align-items: center; gap: 5px; padding-top: 11px; border-top: 1px solid var(--t-hair-soft); }
.t-experience .jr-numpad__nav span { font-size: 11px; color: var(--t-ink-mute); margin-right: auto; }
.t-experience .jr-numpad__nav span:nth-of-type(2) { margin-left: auto; }
.t-experience .jr-numpad__nav button { width: 32px; height: 32px; border-radius: 7px; color: var(--t-ink); }
.t-experience .jr-numpad__nav button:disabled { opacity: .3; cursor: default; }
.t-experience #np-score-form { grid-column: 1/-1; }
.t-experience #np-score-form label { display: block; font-size: 12px; margin-bottom: 8px; }
.t-experience #np-score-form > div { display: flex; gap: 8px; }
.t-experience #np-100 { min-width: 0; width: 100%; height: 44px; font: 600 22px var(--t-font-body); text-align: center; border: 1px solid var(--t-hair); border-radius: 8px; background: var(--t-canvas); color: var(--t-ink); }
.t-experience [data-np-clear] { grid-column: 1/-1 !important; }
.t-experience .jr-modal { border-radius: 14px; }
.t-experience .ann-search { min-height: 42px; }
html[data-teacher-contrast="high"] body.t-experience { --t-bg: inherit; --t-canvas: inherit; --t-canvas-2: inherit; --t-canvas-3: inherit; --t-ink: inherit; --t-ink-mute: inherit; --t-ink-faint: inherit; --t-accent: inherit; --t-accent-2: inherit; --t-accent-wash: inherit; --t-hair: inherit; --t-hair-strong: inherit; --t-hair-soft: inherit; }
html[data-teacher-font-scale="large"] body.t-experience { --t-fs-body: 15px; --t-fs-table: 14px; }

@media (max-width: 1200px) {
  .t-experience .jr-period-field { margin-left: 0; }
  .t-experience .tw-journal-main { padding: 24px 20px 12px; }
  .t-experience .jr-view-row { padding-bottom: 6px; }
  .t-experience .jr-actions { margin-left: auto; }
}
@media (max-width: 1023px) {
  .t-experience .tw-journal-main { overflow-y: auto; }
  .t-experience .jr-shell { flex: 1 0 auto; min-height: 440px; }
  .t-experience .jr-page-head { margin-bottom: 20px; }
  .t-experience .jr-page-head h1 { font-size: 30px; }
  .t-experience #jr-summary-toggle, .t-experience .jr-keyboard-hint { display: none; }
  .t-experience .jr-toolbar { padding: 14px 14px 0; }
  .t-experience .jr-context-row { gap: 14px; }
  .t-experience .jr-context-field { width: 100%; }
  .t-experience .jr-cohort-row { flex-wrap: nowrap; overflow-x: auto; padding: 2px 1px 5px; }
  .t-experience .jr-chip { min-height: 44px; flex-shrink: 0; }
  .t-experience .jr-iconbtn { min-height: 44px; }
  .t-experience .jr-actions { width: 100%; justify-content: space-between; margin: 0; }
  .t-experience .jr-more__panel { width: min(286px,calc(100vw - 80px)); }
  .t-experience .jr-more__panel > button { min-height: 44px; }
  .t-experience .jr-main { overflow: visible; }
  .t-experience .jr-mb-tabs { padding: 0 5px; }
  .t-experience .jr-mb-tab { min-height: 44px; font-size: 12px; }
  .t-experience #jr-mb-card-wrap { overflow-y: visible !important; }
  .t-experience .jr-status { flex-wrap: wrap; gap: 6px; }
  .t-experience .jr-numpad__nav button { width: 40px; height: 44px; }
  .t-experience .jr-numpad__head [data-np-close] { min-height: 44px; flex-basis: 44px; }
}
@media (max-width: 600px) {
  .t-experience .tw-journal-main { padding: 25px 14px 20px; }
  .t-experience .jr-numpad { inset: auto 12px calc(12px + env(safe-area-inset-bottom)); width: auto; max-height: calc(100dvh - 90px); padding: 16px; }
  .t-experience .jr-numpad__nav { gap: 4px; }
  .t-experience .jr-modal { border-radius: 0; }
}
