body[data-training-shell="true"] .training-workbench { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 16px; align-items: start; min-width: 0; }
body[data-training-shell="true"] .twb-left,
body[data-training-shell="true"] .twb-right { display: grid; gap: 16px; min-width: 0; }
body[data-training-shell="true"] .training-workbench .panel { min-width: 0; margin: 0; border-radius: 8px; box-shadow: none; overflow: hidden; }
body[data-training-shell="true"] .twb-panel-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 7px 12px; padding: 17px 18px; }
body[data-training-shell="true"] .twb-panel-header h2 { margin: 0; color: var(--ink); font-size: 15px; font-weight: 650; }
body[data-training-shell="true"] .twb-panel-header > div { min-width: 0; }
body[data-training-shell="true"] .twb-panel-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 12px; }
body[data-training-shell="true"] .twb-meta { color: var(--muted); font-size: 12px; line-height: 1.6; }
body[data-training-shell="true"] .twb-panel-header h2 + .twb-meta { margin-top: 5px; }
body[data-training-shell="true"] .twb-text-link { color: var(--accent); font-size: 12px; text-decoration: none; white-space: nowrap; }
body[data-training-shell="true"] .twb-text-link:hover { text-decoration: underline; }
body[data-training-shell="true"] .twb-text-link:focus-visible,
body[data-training-shell="true"] .twb-shortcut:focus-visible,
body[data-training-shell="true"] .twb-week-lesson:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
body[data-training-shell="true"] .twb-welcome { display: flex; align-items: center; gap: 11px; padding: 20px 18px 4px; }
body[data-training-shell="true"] .twb-welcome > div { min-width: 0; }
body[data-training-shell="true"] .twb-welcome h2 { color: var(--ink); font-size: 14px; font-weight: 650; overflow-wrap: anywhere; }
body[data-training-shell="true"] .twb-welcome p { margin-top: 5px; color: var(--muted); font-size: 12px; }
body[data-training-shell="true"] .twb-avatar { display: grid; place-items: center; flex: 0 0 38px; height: 38px; border-radius: 50%; background: #f0f1f5; color: #969ba7; }
body[data-training-shell="true"] .twb-avatar svg { width: 25px; height: 25px; }
body[data-training-shell="true"] .twb-shortcuts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 7px; padding: 0 14px 20px; }
body[data-training-shell="true"] .twb-shortcut { display: grid; justify-items: center; align-content: start; gap: 8px; min-width: 0; color: var(--ink); font-size: 12px; text-decoration: none; text-align: center; line-height: 1.5; }
body[data-training-shell="true"] .twb-shortcut:hover { color: var(--accent); }
body[data-training-shell="true"] .twb-shortcut-icon { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 10px; color: #fff; box-shadow: 0 3px 9px #0000000d; transition: transform .15s; }
body[data-training-shell="true"] .twb-shortcut:hover .twb-shortcut-icon { transform: translateY(-2px); }
body[data-training-shell="true"] .twb-shortcut-icon svg { width: 22px; height: 22px; }
body[data-training-shell="true"] .twb-icon-amber { background: #eba94f; }
body[data-training-shell="true"] .twb-icon-coral { background: #ef7b73; }
body[data-training-shell="true"] .twb-icon-green { background: #72bc83; }
body[data-training-shell="true"] .twb-icon-teal { background: #52b9b7; }
body[data-training-shell="true"] .twb-icon-violet { background: #9c89df; }
body[data-training-shell="true"] .twb-icon-blue { background: #719fdf; }
body[data-training-shell="true"] .twb-todo-list { margin: 0; padding: 0 18px; list-style: none; }
body[data-training-shell="true"] .twb-todo-list > li { display: flex; align-items: center; gap: 9px; min-width: 0; padding: 16px 0; border-top: 1px solid var(--line-soft); }
body[data-training-shell="true"] .twb-category { flex: 0 0 auto; padding: 2px 5px; border: 1px solid currentColor; border-radius: 2px; font-size: 11px; line-height: 1.4; }
body[data-training-shell="true"] .twb-category-coral { color: #c97770; background: #fff5f3; }
body[data-training-shell="true"] .twb-category-green { color: #5d9d78; background: #f0fbf5; }
body[data-training-shell="true"] .twb-category-amber { color: #b29a52; background: #fffcef; }
body[data-training-shell="true"] .twb-todo-description { display: flex; flex: 1; align-items: baseline; justify-content: space-between; gap: 8px; min-width: 0; color: var(--ink); font-size: 13px; }
body[data-training-shell="true"] .twb-todo-description strong { font-size: 17px; font-variant-numeric: tabular-nums; font-weight: 650; }
body[data-training-shell="true"] .twb-panel-note { margin: 0; padding: 3px 18px 17px; color: var(--muted); font-size: 11px; line-height: 1.7; }
body[data-training-shell="true"] .training-workbench .twb-focus { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 23px 24px; background: linear-gradient(105deg, var(--navy-soft), #fff); }
body[data-training-shell="true"] .twb-focus > div { min-width: 0; }
body[data-training-shell="true"] .twb-eyebrow { color: var(--accent); font-size: 12px; line-height: 1.6; }
body[data-training-shell="true"] .twb-focus h2 { margin: 7px 0 8px; color: var(--ink); font-size: 20px; font-weight: 650; line-height: 1.5; }
body[data-training-shell="true"] .twb-focus > div > p:last-child { color: var(--muted); font-size: 13px; line-height: 1.7; }
body[data-training-shell="true"] .twb-focus > .button { flex-shrink: 0; text-decoration: none; }
body[data-training-shell="true"] .twb-statistics { display: grid; grid-template-columns: repeat(auto-fit, minmax(125px, 1fr)); gap: 14px; margin: 0; padding: 0 18px 22px; }
body[data-training-shell="true"] .twb-statistics > div { min-width: 0; padding-right: 12px; }
body[data-training-shell="true"] .twb-statistics dt { color: var(--muted); font-size: 12px; line-height: 1.6; }
body[data-training-shell="true"] .twb-statistics dd { margin: 8px 0 4px; color: var(--ink); font-size: 26px; line-height: 1.4; font-weight: 650; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
body[data-training-shell="true"] .twb-statistics small { color: var(--muted); font-size: 11px; line-height: 1.6; }
body[data-training-shell="true"] .twb-today-list { list-style: none; margin: 0; padding: 0 18px 8px; }
body[data-training-shell="true"] .twb-today-list > li { display: grid; grid-template-columns: 65px minmax(0, 1fr) auto auto; align-items: center; gap: 16px; padding: 13px 0; border-top: 1px solid var(--line-soft); }
body[data-training-shell="true"] .twb-lesson-time { display: grid; gap: 3px; font-size: 14px; font-weight: 650; font-variant-numeric: tabular-nums; }
body[data-training-shell="true"] .twb-lesson-time small { color: var(--muted); font-size: 11px; font-weight: 400; }
body[data-training-shell="true"] .twb-lesson-person { display: grid; gap: 5px; min-width: 0; font-size: 13px; overflow-wrap: anywhere; }
body[data-training-shell="true"] .twb-lesson-person strong { font-weight: 650; }
body[data-training-shell="true"] .twb-lesson-person span { color: var(--muted); font-size: 12px; }
body[data-training-shell="true"] .twb-compact-empty { display: flex; gap: 15px; align-items: center; justify-content: center; min-height: 120px; padding: 18px; color: #b6bcc9; }
body[data-training-shell="true"] .twb-compact-empty > svg { width: 38px; height: 38px; flex-shrink: 0; }
body[data-training-shell="true"] .twb-compact-empty strong { color: var(--muted); font-size: 13px; font-weight: 550; }
body[data-training-shell="true"] .twb-compact-empty p { margin-top: 6px; color: var(--muted); font-size: 12px; line-height: 1.7; }
body[data-training-shell="true"] .twb-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); padding: 0 14px 16px; gap: 6px; }
body[data-training-shell="true"] .twb-week-day { min-width: 0; min-height: 112px; border: 1px solid var(--line-soft); border-radius: 5px; background: var(--paper); }
body[data-training-shell="true"] .twb-week-day[aria-current] { border-color: var(--accent); }
body[data-training-shell="true"] .twb-week-label { display: grid; justify-items: center; gap: 4px; padding: 9px 3px; color: var(--ink); background: #f7f8fa; font-size: 12px; }
body[data-training-shell="true"] .twb-week-label time { color: var(--muted); font-size: 11px; }
body[data-training-shell="true"] .twb-week-day[aria-current] .twb-week-label { background: var(--accent-soft); color: var(--accent); }
body[data-training-shell="true"] .twb-week-day ul { display: grid; gap: 5px; list-style: none; padding: 5px; margin: 0; }
body[data-training-shell="true"] .twb-week-lesson { display: grid; gap: 3px; min-width: 0; padding: 7px 5px; border-radius: 4px; background: var(--navy-soft); color: var(--ink); text-decoration: none; font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
body[data-training-shell="true"] a.twb-week-lesson:hover { background: #DDEBFA; }
body[data-training-shell="true"] .twb-week-lesson time { color: var(--accent); font-weight: 650; }
body[data-training-shell="true"] .twb-week-lesson small { color: var(--muted); font-size: 11px; }
body[data-training-shell="true"] .twb-week-empty { margin: 12px 0; padding: 0 3px; color: #a5aab6; font-size: 11px; text-align: center; }
body[data-training-shell="true"] .twb-week-more { padding: 0 5px 7px; font-size: 11px; text-align: center; }
@media (max-width: 1180px) {
  body[data-training-shell="true"] .training-workbench { grid-template-columns: 265px minmax(0, 1fr); }
  body[data-training-shell="true"] .twb-shortcuts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body[data-training-shell="true"] .twb-statistics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body[data-training-shell="true"] .training-workbench .twb-focus { padding: 18px; flex-direction: column; align-items: flex-start; }
  body[data-training-shell="true"] .twb-focus h2 { font-size: 18px; }
}
@media (max-width: 980px) {
  body[data-training-shell="true"] .training-workbench { grid-template-columns: minmax(0, 1fr); }
  body[data-training-shell="true"] .twb-left { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  body[data-training-shell="true"] .twb-shortcuts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body[data-training-shell="true"] .twb-statistics { grid-template-columns: repeat(auto-fit, minmax(125px, 1fr)); }
  body[data-training-shell="true"] .twb-todo-list { padding-inline: 12px; }
  body[data-training-shell="true"] .twb-todo-list > li { flex-wrap: wrap; gap: 7px; }
  body[data-training-shell="true"] .twb-todo-list .twb-text-link { margin-left: auto; }
}
@media (max-width: 640px) {
  body[data-training-shell="true"] .twb-left { grid-template-columns: minmax(0, 1fr); }
  body[data-training-shell="true"] .twb-shortcuts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  body[data-training-shell="true"] .twb-statistics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body[data-training-shell="true"] .twb-statistics dd { font-size: 23px; }
  body[data-training-shell="true"] .twb-week { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body[data-training-shell="true"] .twb-week-day { min-height: 100px; }
  body[data-training-shell="true"] .twb-panel-header { padding: 15px; }
  body[data-training-shell="true"] .twb-today-list > li { grid-template-columns: 55px minmax(0, 1fr) auto; gap: 12px; }
  body[data-training-shell="true"] .twb-today-list > li > .twb-text-link { grid-column: 2 / -1; justify-self: end; }
  body[data-training-shell="true"] .twb-todo-list > li { flex-wrap: nowrap; }
}
