/* ui10: новый интерфейс платформы (27.11.2026, Claude Code).
   Слой поверх текущих сборок. Токены берёт из entry-nav-v8.css (--a8-*, --palm-*). */
:root {
  --u-bg: #0E0E10; --u-s1: #17171A; --u-s2: #1E1E22; --u-line: #2A2A2E; --u-line2: #3A3A40;
  --u-text: #F4F1EC; --u-muted: #A7A29A; --u-dim: #8C877F;
  --u-accent: #FF8A3D; --u-accent-hi: #FFA866; --u-ink: #0E0E10;
  --u-r-lg: 28px; --u-r-md: 20px; --u-r-sm: 14px;
  --u-ease: cubic-bezier(.2, .8, .2, 1);
}

/* ============ 1. Вход ============ */
.login-shell { background: var(--u-bg) !important; }
.login-panel h1 { font-weight: 800; letter-spacing: -.025em; }
.login-panel .field > span { font-size: 13px; font-weight: 700; color: #C9C4BC; }
.login-panel .field input {
  min-height: 54px; padding: 0 16px; border-radius: 16px; font-size: 16px;
  background: var(--u-s1); border: 1px solid var(--u-line); color: var(--u-text);
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.login-panel .field input:hover { border-color: var(--u-line2); }
.login-panel .field input:focus { outline: none; border-color: var(--u-accent); box-shadow: 0 0 0 4px rgba(255, 138, 61, .18); background: var(--u-s2); }
.login-panel button.primary {
  min-height: 56px; border-radius: 16px; border: 0; font-size: 16px; font-weight: 800;
  background: var(--u-accent); color: var(--u-ink);
  box-shadow: 0 10px 30px -12px rgba(255, 138, 61, .7);
  transition: transform .15s var(--u-ease), filter .15s;
}
.login-panel button.primary:hover { filter: brightness(1.06); }
.login-panel button.primary:active { transform: scale(.985); }
.login-panel .text-button { min-height: 44px; font-size: 14px; color: #C9C4BC; text-align: left; }
.login-panel .text-button:hover { color: var(--u-text); }
/* «Получить доступ» — заметная вторая кнопка, «Забыли пароль?» — тихая ссылка */
.login-panel form + .text-button {
  display: flex; align-items: center; justify-content: center; width: 100%; margin-top: 12px;
  min-height: 52px; border-radius: 16px; border: 1px solid var(--u-line); background: transparent;
  color: var(--u-text); font-weight: 700; text-align: center;
}
.login-panel form + .text-button:hover { border-color: var(--u-line2); background: var(--u-s1); }
.login-panel p.muted a { color: var(--u-dim); font-size: 13px; }

@media (max-width: 640px) {
  .login-shell { padding: 0 !important; align-items: flex-end !important; min-height: 100dvh; }
  .login-shell::before {
    inset: 0 0 auto 0 !important; height: 56dvh;
    background:
      linear-gradient(180deg, rgba(14, 14, 16, .35) 0%, rgba(14, 14, 16, 0) 22%, rgba(14, 14, 16, .55) 62%, #0E0E10 96%),
      url("/brand-bento-v1/hero-welcome-igor-v1.webp") 78% 0 / cover no-repeat !important;
  }
  .login-panel {
    width: 100% !important; max-width: none !important; margin: 0 !important; border: 0 !important; border-radius: 0 !important;
    padding: max(170px, 27dvh) 24px calc(20px + env(safe-area-inset-bottom, 0px)) !important;
    background: linear-gradient(180deg, rgba(14, 14, 16, 0) 0, rgba(14, 14, 16, 0) calc(max(170px, 27dvh) - 80px), #0E0E10 calc(max(170px, 27dvh) + 110px)) !important;
    box-shadow: none !important;
  }
  .login-panel h1 { font-size: 34px; line-height: 1.05; margin: 6px 0 18px; }
  .login-panel > p.muted:first-of-type { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--u-accent); margin: 14px 0 0; }
  .login-panel form { gap: 12px !important; }
  .login-panel .field { margin-bottom: 0 !important; gap: 7px !important; }
  .login-panel form button.primary { margin-top: 6px; }
  .login-panel form + .text-button { margin-top: 10px; }
  .login-panel .text-button + .text-button { margin-top: 2px; }
  .login-panel > p.muted:last-child { margin: 4px 0 0; }
  body:has(.login-shell) { padding-bottom: 0 !important; }
}
@media (min-width: 641px) {
  .login-panel { border-radius: 32px !important; padding: 40px !important; border: 1px solid rgba(255, 255, 255, .08) !important;
    background: rgba(18, 18, 20, .72) !important; -webkit-backdrop-filter: blur(22px) saturate(1.2); backdrop-filter: blur(22px) saturate(1.2);
    box-shadow: 0 40px 120px -40px rgba(0, 0, 0, .8); }
  .login-panel h1 { font-size: 40px; line-height: 1.05; }
}

/* ============ 2. Обучение: шапка, главная, каталог (телефон) ============ */
@media (max-width: 640px) {
  /* шапка: одна строка, липкая, полупрозрачная */
  html.ui10 .workspace > header.topbar {
    min-height: 0 !important; padding: 10px 16px 8px !important; gap: 0 8px !important; flex-wrap: wrap;
    position: sticky; top: 0; z-index: 30; background: rgba(14, 14, 16, .84) !important;
    -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
    border-bottom: 1px solid rgba(255, 255, 255, .06) !important;
  }
  html.ui10 header.topbar .brand { font-weight: 800; letter-spacing: -.01em; }
  /* служебные ссылки (владелец, куратор): тихая прокручиваемая строка */
  html.ui10 header.topbar nav {
    order: 3; width: 100%; padding: 8px 0 2px !important; height: auto !important; flex-wrap: nowrap !important;
    overflow-x: auto; scrollbar-width: none; gap: 6px !important; margin: 0 -16px; padding-inline: 16px !important; width: calc(100% + 32px);
  }
  html.ui10 header.topbar nav::-webkit-scrollbar { display: none; }
  html.ui10 header.topbar nav.u-empty { display: none !important; }
  html.ui10 header.topbar nav > a {
    flex: 0 0 auto; min-height: 36px !important; height: 36px; padding: 0 12px !important; border-radius: 18px !important; gap: 6px !important;
    border: 1px solid var(--u-line) !important; background: transparent !important; color: #C9C4BC !important;
    font-size: 13px !important; font-weight: 700 !important; white-space: nowrap;
  }
  html.ui10 header.topbar nav > a svg { width: 15px; height: 15px; }

  html.ui10 main.main-shell { padding: 18px 16px 32px !important; }
  html.ui10 .bento-heading { margin-bottom: 14px !important; }
  html.ui10 .bento-heading h1 { font-size: 30px !important; line-height: 1.08 !important; font-weight: 800 !important; letter-spacing: -.025em; margin-bottom: 6px !important; }
  html.ui10 .bento-heading p:not(.eyebrow) { font-size: 14px; color: var(--u-muted); margin: 0; }
  html.ui10 .eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--u-accent); }

  html.ui10 .training-dashboard-link {
    margin: 0 0 22px !important; padding: 16px 18px !important; border-radius: 22px !important; height: auto !important; gap: 14px !important;
    border: 1px solid #33261C !important; background: linear-gradient(140deg, #241913 0%, var(--u-s1) 70%) !important;
  }
  html.ui10 .training-dashboard-link strong { font-size: 16px; font-weight: 800; line-height: 1.2; display: block; }
  html.ui10 .training-dashboard-link small { font-size: 12px; color: var(--u-muted); display: block; margin-top: 4px; }
  html.ui10 .training-dashboard-link > svg { flex: 0 0 auto; width: 40px; height: 40px; padding: 11px; box-sizing: border-box; border-radius: 20px; background: var(--u-accent); color: var(--u-ink); }

  /* библиотека */
  html.ui10 .bento-library-heading { flex-direction: column; align-items: stretch !important; gap: 12px !important; margin-bottom: 12px !important; height: auto !important; }
  html.ui10 .bento-library-heading h2 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; margin: 4px 0 0; }
  html.ui10 .bento-search { height: 48px; border-radius: 14px !important; background: var(--u-s1) !important; border: 1px solid var(--u-line) !important; padding: 0 14px !important; }
  html.ui10 .bento-search:focus-within { border-color: var(--u-accent) !important; box-shadow: 0 0 0 4px rgba(255, 138, 61, .16); }
  html.ui10 .bento-filters {
    flex-wrap: nowrap !important; overflow-x: auto; scrollbar-width: none; height: auto !important;
    margin: 0 -16px 14px !important; padding: 0 16px 2px; gap: 6px !important;
  }
  html.ui10 .bento-filters::-webkit-scrollbar { display: none; }
  html.ui10 .bento-filters > button {
    flex: 0 0 auto; min-height: 36px !important; height: 36px; padding: 0 14px !important; font-size: 13px !important; font-weight: 700 !important;
    border: 1px solid var(--u-line) !important; background: transparent !important; color: #C9C4BC !important; white-space: nowrap;
  }
  html.ui10 .bento-filters > button.active { background: var(--u-text) !important; border-color: var(--u-text) !important; color: var(--u-ink) !important; }
  html.ui10 .bento-results { display: none; }

  /* каталог: сетка постеров в 2 колонки, «широкие» карточки на всю ширину */
  html.ui10 .bento-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; }
  html.ui10 .bento-product { min-height: 0 !important; height: auto !important; border-radius: 20px !important; border: 1px solid rgba(255, 255, 255, .07) !important; background: var(--u-s1) !important; }
  html.ui10 .bento-product-wide { grid-column: 1 / -1; }
  html.ui10 .bento-product-link { padding: 12px !important; min-height: 236px !important; height: 100% !important; box-sizing: border-box; border-radius: 19px !important; }
  html.ui10 .bento-product-wide .bento-product-link { padding: 16px !important; min-height: 228px !important; }
  html.ui10 .bento-product-image, html.ui10 .bento-product-shade { height: 100% !important; }
  html.ui10 .bento-product-shade { background: linear-gradient(180deg, rgba(14, 14, 16, .05) 0%, rgba(14, 14, 16, .2) 34%, rgba(14, 14, 16, .9) 74%, #0E0E10 100%) !important; }
  html.ui10 .bento-product-top { min-height: 0 !important; height: auto !important; }
  html.ui10 .bento-chip {
    min-height: 22px !important; height: 22px; padding: 0 8px !important; border-radius: 11px !important; border: 0 !important;
    background: rgba(14, 14, 16, .62) !important; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    color: var(--u-text) !important; font-size: 10px !important; font-weight: 700 !important; letter-spacing: .02em;
  }
  html.ui10 .bento-product-bottom { padding-top: 0 !important; margin-top: auto; height: auto !important; }
  html.ui10 .bento-product-kicker { margin: 0 0 4px !important; font-size: 11px !important; color: #C9C4BC !important; }
  html.ui10 .bento-product h2 {
    margin: 0 0 8px !important; font-size: 15px !important; line-height: 1.2 !important; font-weight: 800 !important; letter-spacing: -.01em;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; height: auto !important;
  }
  html.ui10 .bento-product-wide h2 { font-size: 22px !important; line-height: 1.12 !important; -webkit-line-clamp: 2; }
  html.ui10 .bento-product .learning-outcome-product { display: none !important; }
  html.ui10 .bento-product-wide .learning-outcome-product { display: -webkit-box !important; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0 0 10px !important; font-size: 13px !important; line-height: 1.4 !important; color: #C9C4BC !important; height: auto !important; }
  html.ui10 .bento-product-status, html.ui10 .bento-product-action { display: none !important; }
  html.ui10 .bento-product progress { margin: 0 0 8px !important; height: 4px !important; border-radius: 2px !important; background: rgba(255, 255, 255, .14) !important; }
  html.ui10 .bento-product progress::-webkit-progress-bar { background: transparent; }
  html.ui10 .bento-product progress::-webkit-progress-value { background: var(--u-accent); border-radius: 2px; }
  html.ui10 .bento-product progress[value="0"] { display: none !important; }
  html.ui10 .bento-product .school-line-prices { margin: 2px 0 0 !important; height: auto !important; display: block !important; }
  html.ui10 .bento-product .school-line-amounts { gap: 4px 6px !important; flex-wrap: wrap; height: auto !important; align-items: baseline; }
  html.ui10 .bento-product .school-line-amounts strong { font-size: 14px !important; font-weight: 800 !important; order: -1; flex: 0 0 100%; }
  html.ui10 .bento-product .school-line-amounts s { font-size: 11px !important; color: var(--u-dim) !important; }
  html.ui10 .bento-product .school-line-discount { font-size: 11px !important; font-weight: 800; color: var(--u-accent) !important; }
  html.ui10 .bento-product-wide .school-line-amounts strong { font-size: 18px !important; flex: 0 0 auto; order: 0; }
  html.ui10 .bento-product-link:active { transform: scale(.985); transition: transform .12s var(--u-ease); }
}
@media (max-width: 640px) {
  /* кнопки «Установить» и баллы живут отдельным блоком поверх шапки: держим их вместе с липкой шапкой */
  html.ui10 #school-app-navigation { position: fixed !important; z-index: 31 !important; }
}

/* ============ 3. Страница курса: модули компактным списком (телефон) ============ */
@media (max-width: 640px) {
  html.ui10 .module-breadcrumbs a { color: var(--u-muted); font-size: 13px; font-weight: 700; }
  html.ui10 h1.course-title { font-size: 30px !important; line-height: 1.08 !important; font-weight: 800 !important; letter-spacing: -.025em; margin: 4px 0 10px !important; height: auto !important; }
  html.ui10 .learning-outcome-course { font-size: 15px; line-height: 1.45; color: #C9C4BC; margin-bottom: 22px; }
  html.ui10 .module-library-heading { margin-bottom: 12px !important; height: auto !important; align-items: flex-end !important; }
  html.ui10 .module-library-heading h2 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; margin: 4px 0 0; }
  html.ui10 .module-library-heading div > p:not(.eyebrow) { display: none; }
  html.ui10 .module-library-heading > span { font-size: 12px; color: var(--u-dim); white-space: nowrap; }
  html.ui10 .module-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 10px !important; height: auto !important; }
  html.ui10 a.module-card {
    display: grid !important; grid-template-columns: 96px minmax(0, 1fr) 20px; grid-template-rows: auto 1fr; column-gap: 14px; row-gap: 2px;
    grid-template-areas: "cover top arrow" "cover copy arrow"; align-items: start;
    padding: 10px !important; min-height: 0 !important; height: auto !important; border-radius: 20px !important;
    background: var(--u-s1) !important; border: 1px solid rgba(255, 255, 255, .07) !important; position: relative;
  }
  html.ui10 a.module-card::after {
    content: ""; grid-area: arrow; align-self: center; width: 9px; height: 9px; border-right: 2px solid var(--u-dim); border-top: 2px solid var(--u-dim); transform: rotate(45deg);
  }
  html.ui10 .module-card .module-cover { grid-area: cover; width: 96px !important; height: 96px !important; border-radius: 14px !important; overflow: hidden; position: static !important; margin: 0 !important; }
  html.ui10 .module-card .module-cover img { width: 100% !important; height: 100% !important; object-fit: cover; display: block; }
  html.ui10 .module-card .module-card-top { grid-area: top; position: static !important; padding: 4px 0 0 !important; height: auto !important; min-height: 0 !important; }
  html.ui10 .module-card .module-label {
    padding: 0 !important; border: 0 !important; background: none !important; height: auto !important; min-height: 0 !important;
    font-size: 11px !important; font-weight: 800 !important; letter-spacing: .1em; text-transform: uppercase; color: var(--u-accent) !important;
  }
  html.ui10 .module-card .module-card-copy { grid-area: copy; padding: 0 !important; height: auto !important; display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 4px; }
  html.ui10 .module-card .module-card-copy h3 { margin: 0 !important; font-size: 15px !important; line-height: 1.25 !important; font-weight: 800 !important; height: auto !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  html.ui10 .module-card .module-card-copy > p:first-child { margin: 0 !important; font-size: 12px !important; color: var(--u-muted) !important; height: auto !important; }
  html.ui10 .module-card .learning-outcome-module, html.ui10 .module-card .module-card-footer { display: none !important; }
  html.ui10 a.module-card:active { transform: scale(.985); transition: transform .12s var(--u-ease); }
}
@media (max-width: 640px) {
  html.ui10 .module-library-heading { flex-direction: column; align-items: flex-start !important; gap: 4px !important; text-align: left; }
  html.ui10 .module-library-heading > div { width: 100%; text-align: left; }
  html.ui10 .module-card .module-card-top > :not(.module-label) { display: none !important; }
}

/* ============ 4. Модуль: список уроков (телефон) ============ */
@media (max-width: 640px) {
  html.ui10 h1.course-title:has(+ .module-lessons) { font-size: 14px !important; font-weight: 700 !important; letter-spacing: 0; color: var(--u-muted); margin: 0 0 12px !important; }
  html.ui10 .module-lessons-heading {
    padding: 18px !important; border-radius: 24px !important; height: auto !important; margin-bottom: 14px !important;
    background: linear-gradient(150deg, #241913 0%, var(--u-s1) 68%) !important; border: 1px solid #33261C !important;
  }
  html.ui10 .module-lessons-heading h2 { font-size: 24px !important; line-height: 1.12 !important; font-weight: 800 !important; letter-spacing: -.02em; margin: 6px 0 8px !important; }
  html.ui10 .module-lessons-heading .learning-outcome-section { font-size: 14px; line-height: 1.45; color: #C9C4BC; margin: 0 0 10px; }
  html.ui10 .module-lessons-heading > p:last-child { font-size: 12px; color: var(--u-dim); margin: 0; }
  html.ui10 ol.module-lesson-list { display: flex; flex-direction: column; gap: 8px; padding: 0; margin: 0; height: auto !important; }
  html.ui10 ol.module-lesson-list > li { height: auto !important; margin: 0 !important; border: 0 !important; }
  html.ui10 a.module-lesson-row {
    display: flex !important; align-items: flex-start; gap: 12px; padding: 14px !important; height: auto !important; min-height: 0 !important;
    border-radius: 18px !important; background: var(--u-s1) !important; border: 1px solid rgba(255, 255, 255, .07) !important;
  }
  html.ui10 .module-lesson-number {
    flex: 0 0 36px; width: 36px; height: 36px !important; border-radius: 18px !important; display: flex; align-items: center; justify-content: center;
    background: var(--u-s2) !important; border: 1px solid var(--u-line) !important; color: var(--u-text) !important; font-size: 13px !important; font-weight: 800 !important;
  }
  html.ui10 .module-lesson-copy { height: auto !important; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
  html.ui10 .module-lesson-copy strong { font-size: 15px !important; line-height: 1.25 !important; font-weight: 800 !important; }
  html.ui10 .module-lesson-copy .learning-outcome-row { font-size: 13px !important; line-height: 1.4 !important; color: var(--u-muted) !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; height: auto !important; }
  html.ui10 .module-lesson-copy small { font-size: 11px !important; font-weight: 700; color: var(--u-dim) !important; margin-top: 2px; }
  html.ui10 a.module-lesson-row:active { transform: scale(.985); transition: transform .12s var(--u-ease); }
}

/* ============ 5. Урок: сначала видео и суть (телефон) ============ */
@media (max-width: 640px) {
  html.ui10 .module-breadcrumbs { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; white-space: nowrap; margin: -6px -16px 4px; padding: 0 16px; }
  html.ui10 .module-breadcrumbs::-webkit-scrollbar { display: none; }
  html.ui10 h1.course-title:has(+ .active-module-heading) { display: none !important; }
  html.ui10 .active-module-heading { display: flex; align-items: baseline; gap: 8px; height: auto !important; margin: 0 0 12px !important; padding: 0 !important; border: 0 !important; background: none !important; }
  html.ui10 .active-module-heading .eyebrow { flex: 0 0 auto; }
  html.ui10 .active-module-heading h2 { margin: 0 !important; font-size: 13px !important; font-weight: 600 !important; color: var(--u-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; height: auto !important; }
  html.ui10 .classroom { display: flex !important; flex-direction: column; gap: 16px; height: auto !important; }
  html.ui10 .classroom > .lesson-outline { order: 2; height: auto !important; }
  html.ui10 .classroom > .lesson-main { order: 1; height: auto !important; }
  html.ui10 details.mobile-lesson-list { border-radius: 18px !important; background: var(--u-s1) !important; border: 1px solid rgba(255, 255, 255, .07) !important; }
  html.ui10 details.mobile-lesson-list > summary { padding: 14px 16px !important; font-weight: 800; }

  html.ui10 .lesson-content { height: auto !important; padding: 0 !important; border: 0 !important; background: none !important; display: flex; flex-direction: column; }
  html.ui10 .lesson-heading { height: auto !important; margin: 0 0 14px !important; padding: 0 !important; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
  html.ui10 .lesson-heading .tag { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 0; border: 0; background: none; color: var(--u-accent); height: auto; }
  html.ui10 .lesson-heading h2 { margin: 0 !important; font-size: 28px !important; line-height: 1.1 !important; font-weight: 800 !important; letter-spacing: -.025em; height: auto !important; }
  html.ui10 .learning-outcome-lesson {
    margin: 4px 0 0 !important; padding: 12px 14px !important; border-radius: 16px; background: #172419; border: 1px solid #26372A; height: auto !important;
    font-size: 14px; line-height: 1.45; color: #DDEBDF; display: flex; flex-direction: column; gap: 2px; width: 100%; box-sizing: border-box;
  }
  html.ui10 .learning-outcome-label { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #7BD389; }
  html.ui10 .protected-video { margin: 0 -16px 18px !important; border-radius: 0 !important; border: 0 !important; padding: 0 !important; background: #000 !important; height: auto !important; }
  html.ui10 .protected-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 0 !important; }

  html.ui10 .lesson-content .markdown { font-size: 16px; line-height: 1.62; color: #E6E2DB; height: auto !important; }
  html.ui10 .lesson-content .markdown h2 { font-size: 22px; line-height: 1.2; font-weight: 800; letter-spacing: -.015em; margin: 28px 0 10px; color: var(--u-text); }
  html.ui10 .lesson-content .markdown h3 { font-size: 17px; line-height: 1.3; font-weight: 800; margin: 22px 0 8px; color: var(--u-text); }
  html.ui10 .lesson-content .markdown a { color: var(--u-accent-hi); text-underline-offset: 3px; }
  html.ui10 .lesson-content .markdown table { display: block; overflow-x: auto; border-collapse: collapse; font-size: 14px; line-height: 1.45; border-radius: 14px; border: 1px solid var(--u-line); }
  html.ui10 .lesson-content .markdown th { background: var(--u-s2); font-weight: 800; text-align: left; }
  html.ui10 .lesson-content .markdown th, html.ui10 .lesson-content .markdown td { padding: 10px 12px; border-bottom: 1px solid var(--u-line); min-width: 150px; vertical-align: top; }

  html.ui10 .lesson-resources { margin-top: 24px; padding: 0 !important; border: 0 !important; background: none !important; height: auto !important; display: flex; flex-direction: column; gap: 8px; }
  html.ui10 .lesson-resources h3 { font-size: 17px; font-weight: 800; margin: 0 0 4px; }
  html.ui10 .lesson-resources a.resource {
    display: flex; align-items: center; gap: 12px; padding: 12px 14px !important; min-height: 56px; height: auto !important; box-sizing: border-box;
    border-radius: 16px !important; background: var(--u-s1) !important; border: 1px solid rgba(255, 255, 255, .07) !important; font-weight: 700; font-size: 14px; line-height: 1.3;
  }
  html.ui10 .lesson-resources a.resource small { display: block; font-size: 11px; font-weight: 600; color: var(--u-dim); margin-top: 2px; }
  html.ui10 .lesson-resources .resource-open { margin-left: auto; color: var(--u-accent); font-size: 12px; font-weight: 800; white-space: nowrap; }

  html.ui10 nav.lesson-navigation { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; margin-top: 22px; height: auto !important; padding: 0 !important; border: 0 !important; }
  html.ui10 nav.lesson-navigation > button { min-height: 48px; border-radius: 14px; border: 1px solid var(--u-line); background: var(--u-s1); color: var(--u-text); font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; gap: 6px; }
  html.ui10 nav.lesson-navigation > button:last-child { background: var(--u-accent); border-color: var(--u-accent); color: var(--u-ink); font-weight: 800; }
  html.ui10 nav.lesson-navigation > button:disabled { opacity: .4; }
  html.ui10 nav.lesson-navigation > span { font-size: 12px; color: var(--u-dim); font-variant-numeric: tabular-nums; }
}

/* ============ 6. Клуб (телефон) ============ */
@media (max-width: 640px) {
  /* «Мои баллы» уже есть кнопкой со звёздочкой справа в шапке */
  html.ui10 header.topbar nav > a[href="/club?tab=points"] { display: none !important; }
  html.ui10 .club-cabinet { display: flex; flex-direction: column; gap: 14px; height: auto !important; }
  html.ui10 .club-cabinet > * { margin-top: 0 !important; margin-bottom: 0 !important; }
  html.ui10 .club-preview-note { padding: 10px 14px !important; border-radius: 14px !important; height: auto !important; font-size: 12px; background: var(--u-s1) !important; border: 1px dashed var(--u-line2) !important; color: var(--u-muted) !important; }
  html.ui10 .club-preview-note span:first-child { font-size: 12px; font-weight: 800; color: var(--u-text); }

  html.ui10 .club-heading { height: auto !important; position: relative; display: block !important; }
  html.ui10 .club-heading > div { height: auto !important; }
  html.ui10 .club-heading h1 { font-size: 34px !important; line-height: 1.02 !important; font-weight: 800 !important; letter-spacing: -.03em; margin: 6px 0 8px !important; height: auto !important; }
  html.ui10 .club-heading h1 span { display: inline-block; vertical-align: middle; margin-left: 10px; padding: 4px 10px; border-radius: 12px; background: #2A1C14; border: 1px solid #4A2E1C; color: var(--u-accent); font-size: 12px; font-weight: 800; letter-spacing: .04em; }
  html.ui10 .club-heading > div > p:last-child { font-size: 15px; line-height: 1.4; color: var(--u-muted); margin: 0; height: auto !important; padding-right: 0; }
  html.ui10 a.club-help { position: absolute; top: 0; right: 0; min-height: 36px; height: 36px !important; padding: 0 12px !important; border-radius: 18px !important; font-size: 12px; font-weight: 700; border: 1px solid var(--u-line) !important; background: transparent !important; color: #C9C4BC !important; gap: 6px; }
  html.ui10 a.club-help svg { width: 15px; height: 15px; }

  /* разделы клуба: одна прокручиваемая строка */
  html.ui10 nav.club-nav {
    margin: 0 -16px !important; padding: 0 16px 2px !important; background: none !important; border: 0 !important; border-radius: 0 !important; gap: 6px !important; height: auto !important;
    overflow-x: auto; scrollbar-width: none; flex-wrap: nowrap; position: sticky; top: 62px; z-index: 20;
  }
  html.ui10 nav.club-nav::-webkit-scrollbar { display: none; }
  html.ui10 nav.club-nav > a {
    flex: 0 0 auto; min-height: 38px; height: 38px !important; padding: 0 14px !important; border-radius: 19px !important; gap: 6px; white-space: nowrap;
    font-size: 13px !important; font-weight: 700 !important; border: 1px solid var(--u-line) !important; background: rgba(14, 14, 16, .9) !important; color: #C9C4BC !important;
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  }
  html.ui10 nav.club-nav > a svg { width: 15px; height: 15px; }
  html.ui10 nav.club-nav > a[aria-current="page"] { background: var(--u-text) !important; border-color: var(--u-text) !important; color: var(--u-ink) !important; }

  html.ui10 .learning-welcome { height: auto !important; padding: 18px !important; border-radius: 24px !important; display: flex; flex-direction: column; gap: 14px; background: linear-gradient(150deg, #1B1D2B 0%, var(--u-s1) 70%) !important; border: 1px solid #2B2E45 !important; }
  html.ui10 .learning-welcome > div { height: auto !important; }
  html.ui10 .learning-welcome .eyebrow { color: #8C9BFF !important; }
  html.ui10 .learning-welcome h2 { font-size: 22px !important; line-height: 1.15 !important; font-weight: 800 !important; letter-spacing: -.02em; margin: 6px 0 6px !important; height: auto !important; }
  html.ui10 .learning-welcome p { font-size: 14px; line-height: 1.45; color: #C9C4BC; margin: 0; height: auto !important; }
  html.ui10 .learning-welcome .button.primary { min-height: 50px; border-radius: 14px; background: #8C9BFF !important; border: 0 !important; color: var(--u-ink) !important; font-weight: 800; font-size: 15px; }

  html.ui10 .club-intro { height: auto !important; display: flex !important; flex-direction: column; gap: 10px; }
  html.ui10 .club-hero { min-height: 0 !important; height: 300px !important; border-radius: 24px !important; overflow: hidden; }
  html.ui10 .club-hero img, html.ui10 .club-hero-shade { height: 100% !important; }
  html.ui10 .club-hero-shade { background: linear-gradient(180deg, rgba(14, 14, 16, .1) 0%, rgba(14, 14, 16, .35) 40%, rgba(14, 14, 16, .94) 100%) !important; }
  html.ui10 .club-hero-copy { height: 100% !important; box-sizing: border-box; padding: 18px !important; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; }
  html.ui10 .club-hero-copy h2 { font-size: 26px !important; line-height: 1.05 !important; font-weight: 800 !important; letter-spacing: -.025em; margin: 0 !important; height: auto !important; }
  html.ui10 .club-hero-copy h2 br { display: none; }
  html.ui10 .club-hero-copy h2 em { font-style: normal; color: var(--u-accent); }
  html.ui10 .club-hero-copy p { display: none; }
  html.ui10 .club-hero-copy button.primary { align-self: flex-start; min-height: 46px; padding: 0 18px; border-radius: 14px; background: var(--u-accent) !important; border: 0 !important; color: var(--u-ink) !important; font-weight: 800; margin-top: 6px; }
  html.ui10 .club-kicker { font-size: 11px !important; font-weight: 800 !important; letter-spacing: .1em; text-transform: uppercase; color: var(--u-accent) !important; }
  html.ui10 .club-side { height: auto !important; display: grid !important; grid-template-columns: minmax(0, 1fr); gap: 10px; }
  html.ui10 .club-plan-card { height: auto !important; padding: 16px !important; border-radius: 22px !important; background: var(--u-s1) !important; border: 1px solid rgba(255, 255, 255, .07) !important; display: grid; grid-template-columns: 1fr auto; column-gap: 12px; row-gap: 4px; align-items: center; }
  html.ui10 .club-plan-card > svg { display: none; }
  html.ui10 .club-plan-card .club-kicker { grid-column: 1 / -1; }
  html.ui10 .club-plan-card strong { font-size: 17px !important; line-height: 1.2 !important; font-weight: 800 !important; height: auto !important; }
  html.ui10 .club-plan-card strong br { display: none; }
  html.ui10 .club-plan-card p { grid-column: 1 / -1; font-size: 13px; line-height: 1.4; color: var(--u-muted); margin: 0; height: auto !important; }
  html.ui10 .club-plan-card .club-price { grid-row: 2; grid-column: 2; font-size: 18px; font-weight: 800; white-space: nowrap; height: auto !important; }
  html.ui10 .club-plan-card .club-price span { font-size: 12px; font-weight: 600; color: var(--u-muted); }
  html.ui10 .club-plan-card button { grid-column: 1 / -1; margin-top: 8px; min-height: 44px; border-radius: 12px; border: 1px solid var(--u-line); background: transparent; color: var(--u-text); font-weight: 700; font-size: 14px; }
  html.ui10 a.club-community-card { height: auto !important; padding: 14px 16px !important; border-radius: 20px !important; background: var(--u-s1) !important; border: 1px solid rgba(255, 255, 255, .07) !important; }

  html.ui10 .club-section-heading { height: auto !important; display: flex !important; flex-direction: row !important; align-items: flex-end !important; justify-content: space-between; gap: 10px; margin-top: 10px !important; }
  html.ui10 .club-section-heading h2 { font-size: 22px !important; font-weight: 800 !important; letter-spacing: -.02em; margin: 4px 0 0 !important; height: auto !important; }
  html.ui10 .club-section-action { min-height: 36px !important; height: 36px; padding: 0 2px !important; border: 0 !important; background: none !important; color: var(--u-accent) !important; font-size: 13px; font-weight: 800; white-space: nowrap; }

  html.ui10 .club-events { height: auto !important; }
  html.ui10 article.club-event { height: auto !important; padding: 16px !important; border-radius: 22px !important; background: linear-gradient(150deg, #241913 0%, var(--u-s1) 70%) !important; border: 1px solid #33261C !important; display: flex; flex-direction: column; gap: 8px; }
  html.ui10 .club-event-date { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; color: var(--u-accent); height: auto !important; }
  html.ui10 .club-event-date span { color: var(--u-muted); font-weight: 600; }
  html.ui10 article.club-event h3 { font-size: 18px !important; line-height: 1.2 !important; font-weight: 800 !important; margin: 0 !important; height: auto !important; }
  html.ui10 article.club-event p { font-size: 13px; color: var(--u-muted); margin: 0; height: auto !important; }
  html.ui10 article.club-event button { align-self: flex-start; min-height: 44px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--u-line2); background: transparent; color: var(--u-text); font-weight: 700; font-size: 14px; margin-top: 4px; }

  /* последние записи: горизонтальная лента */
  html.ui10 .club-lectures { display: flex !important; gap: 10px !important; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -16px !important; padding: 0 16px 2px; height: auto !important; }
  html.ui10 .club-lectures::-webkit-scrollbar { display: none; }
  html.ui10 .club-lectures > article.club-lecture { flex: 0 0 78%; scroll-snap-align: start; height: auto !important; border-radius: 20px !important; overflow: hidden; background: var(--u-s1) !important; border: 1px solid rgba(255, 255, 255, .07) !important; }
  html.ui10 .club-lectures > article.club-lecture > button { height: 100% !important; display: flex; flex-direction: column; text-align: left; width: 100%; }
  html.ui10 .club-lecture-image { height: 150px !important; }
  html.ui10 .club-lecture-image img { height: 100% !important; width: 100%; object-fit: cover; }
  html.ui10 .club-lecture-body { height: auto !important; padding: 12px 14px 14px !important; display: flex; flex-direction: column; gap: 4px; flex: 1; }
  html.ui10 .club-lecture-month { font-size: 11px; font-weight: 700; color: var(--u-dim); text-transform: uppercase; letter-spacing: .08em; }
  html.ui10 .club-lecture-body h3 { font-size: 15px !important; line-height: 1.25 !important; font-weight: 800 !important; margin: 0 !important; height: auto !important; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  html.ui10 .club-lecture-body p { font-size: 12px; line-height: 1.35; color: var(--u-muted); margin: 0; height: auto !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  html.ui10 .club-lecture-body .club-text-action { display: none; }
  html.ui10 .club-topic { min-height: 0 !important; height: 22px !important; padding: 0 8px !important; border-radius: 11px !important; border: 0 !important; font-size: 10px !important; font-weight: 700 !important; background: rgba(14, 14, 16, .62) !important; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--u-text) !important; display: inline-flex; align-items: center; }

  html.ui10 .club-bottom-note { height: auto !important; padding: 16px !important; border-radius: 22px !important; background: var(--u-s1) !important; border: 1px solid rgba(255, 255, 255, .07) !important; display: flex; flex-direction: column; gap: 12px; margin-top: 8px !important; }
  html.ui10 .club-bottom-note h3 { font-size: 17px; font-weight: 800; margin: 0 0 4px; }
  html.ui10 .club-bottom-note p { font-size: 13px; color: var(--u-muted); margin: 0; }
  html.ui10 .club-bottom-note button { min-height: 46px; border-radius: 14px; border: 1px solid var(--u-line2); background: transparent; color: var(--u-text); font-weight: 700; }
}
@media (max-width: 640px) {
  html.ui10 .club-hero-copy h2 br { display: inline !important; }
  html.ui10 .club-hero-copy h2 { font-size: 25px !important; line-height: 1.08 !important; }
  html.ui10 nav.club-nav { padding: 8px 16px !important; background: rgba(14, 14, 16, .9) !important; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); top: 61px; }
  html.ui10 nav.club-nav > a { background: transparent !important; }
}
@media (max-width: 640px) {
  html.ui10 .club-hero-copy { min-height: 0 !important; }
}

/* ============ 7. Тренировки: «Сила» (C) и «Фокус» (A) ============ */
.t10-strength { display: flex; flex-direction: column; gap: 12px; margin: 0 0 22px; color: var(--u-text); font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; max-width: 720px; }
.t10-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--u-accent); }
.t10-title { margin: 0; font-size: clamp(28px, 6vw, 40px); line-height: 1.06; font-weight: 800; letter-spacing: -.025em; }
.t10-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 6px; }
.t10-stat { padding: 12px; border-radius: 18px; background: var(--u-s1); border: 1px solid var(--u-line); display: flex; flex-direction: column; gap: 4px; }
.t10-stat b { font-size: 24px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.t10-stat span { font-size: 11px; line-height: 1.25; color: var(--u-muted); }
.t10-stat-good { background: #172419; border-color: #26372A; } .t10-stat-good b { color: #7BD389; } .t10-stat-good span { color: #A9D3B1; }
.t10-panel { padding: 18px; border-radius: 26px; background: var(--u-s1); border: 1px solid var(--u-line); display: flex; flex-direction: column; gap: 10px; }
.t10-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -18px; padding: 0 18px; }
.t10-chips::-webkit-scrollbar { display: none; }
.t10-chip { flex: 0 0 auto; height: 36px; padding: 0 14px; border-radius: 18px; border: 1px solid var(--u-line); background: transparent; color: #C9C4BC; font: inherit; font-size: 13px; font-weight: 700; white-space: nowrap; cursor: pointer; }
.t10-chip-on { background: var(--u-text); border-color: var(--u-text); color: var(--u-ink); }
.t10-big { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; }
.t10-big b { font-size: 40px; font-weight: 800; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.t10-big span { font-size: 14px; color: var(--u-muted); }
.t10-gain { font-size: 13px; font-weight: 800; color: #7BD389; } .t10-gain-flat { color: var(--u-muted); font-weight: 600; }
.t10-bars { display: flex; align-items: flex-end; gap: 8px; height: 132px; margin-top: 4px; }
.t10-barcol { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 5px; min-width: 0; }
.t10-barcol small { font-size: 11px; font-weight: 700; color: #C9C4BC; font-variant-numeric: tabular-nums; }
.t10-barcol .t10-barlabel { font-size: 10px; font-weight: 600; color: var(--u-dim); }
.t10-bar { width: 100%; border-radius: 9px; background: #3A3A40; transition: height .35s var(--u-ease); }
.t10-bar-now { background: var(--u-accent); }
.t10-h3 { margin: 8px 0 0; font-size: 17px; font-weight: 800; }
.t10-records { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.t10-records::-webkit-scrollbar { display: none; }
.t10-record { flex: 0 0 156px; padding: 14px; border-radius: 20px; display: flex; flex-direction: column; gap: 6px; }
.t10-record span { font-size: 12px; font-weight: 700; line-height: 1.25; min-height: 30px; }
.t10-record b { font-size: 19px; font-weight: 800; white-space: nowrap; }
.t10-record small { font-size: 11px; color: var(--u-muted); }
.t10-tone-0 { background: #2A1C1A; } .t10-tone-0 span { color: #FF7B5C; }
.t10-tone-1 { background: #2A2416; } .t10-tone-1 span { color: #F2C14E; }
.t10-tone-2 { background: #172419; } .t10-tone-2 span { color: #7BD389; }
.t10-tone-3 { background: #1B1D2B; } .t10-tone-3 span { color: #8C9BFF; }
.t10-next { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 24px; background: linear-gradient(150deg, #2A1C14 0%, var(--u-s1) 72%); border: 1px solid #4A2E1C; margin-top: 4px; }
.t10-next-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.t10-next-when { font-size: 12px; color: #D6B9A3; }
.t10-next-copy b { font-size: 17px; font-weight: 800; }
.t10-next-copy small { font-size: 12px; color: var(--u-muted); }
.t10-play { flex: 0 0 60px; width: 60px; height: 60px; border-radius: 30px; border: 0; background: var(--u-accent); cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 30px -12px rgba(255, 138, 61, .8); transition: transform .15s var(--u-ease); }
.t10-play:active { transform: scale(.94); }
.t10-play svg { width: 22px; height: 22px; margin-left: 3px; fill: var(--u-ink); }

html.t10-lock, html.t10-lock body { overflow: hidden !important; }
.t10-focus { position: fixed; inset: 0; z-index: 1000; overflow-y: auto; overscroll-behavior: contain; background: var(--u-bg); color: var(--u-text); font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; padding: env(safe-area-inset-top, 0px) 0 env(safe-area-inset-bottom, 0px); }
.t10-focus button { font: inherit; cursor: pointer; }
.t10-focus-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px 10px; background: rgba(14, 14, 16, .9); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.t10-focus-head > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.t10-focus-head small { font-size: 13px; color: var(--u-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t10-quit { height: 40px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--u-line); background: var(--u-s1); color: var(--u-text); font-size: 13px; font-weight: 700; }
.t10-focus-body, .t10-finish { max-width: 520px; margin: 0 auto; padding: 4px 20px 32px; display: flex; flex-direction: column; gap: 14px; }
.t10-segs { display: flex; gap: 6px; }
.t10-segs span { flex: 1; height: 5px; border-radius: 3px; background: var(--u-line); }
.t10-segs .t10-seg-done { background: #7BD389; } .t10-segs .t10-seg-now { background: var(--u-accent); }
.t10-ex { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; }
.t10-ex span { font-size: 13px; color: var(--u-muted); }
.t10-ex h2 { margin: 0; font-size: 30px; line-height: 1.08; font-weight: 800; letter-spacing: -.025em; }
.t10-ex p { margin: 0; font-size: 14px; color: #C9C4BC; }
.t10-setcard { padding: 18px; border-radius: 28px; background: var(--u-s1); border: 1px solid var(--u-line); display: flex; flex-direction: column; gap: 16px; }
.t10-setcard-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.t10-setcard-head b { font-size: 15px; font-weight: 800; }
.t10-setcard-head span { font-size: 12px; color: var(--u-muted); text-align: right; }
.t10-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.t10-steps-one { grid-template-columns: minmax(0, 1fr); }
.t10-step { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 14px 8px; border-radius: 20px; background: var(--u-bg); }
.t10-step > span { font-size: 12px; color: var(--u-muted); }
.t10-step > b { font-size: 44px; line-height: 1; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.t10-step > div { display: flex; gap: 8px; }
.t10-step button { width: 56px; height: 48px; border-radius: 14px; border: 1px solid var(--u-line); background: transparent; color: var(--u-text); font-size: 24px; line-height: 1; }
.t10-step .t10-step-plus { border: 0; background: var(--u-line); }
.t10-step button:active { transform: scale(.94); }
.t10-main { min-height: 58px; border-radius: 18px; border: 0; background: var(--u-accent); color: var(--u-ink); font-size: 17px; font-weight: 800; box-shadow: 0 12px 30px -14px rgba(255, 138, 61, .8); transition: transform .15s var(--u-ease); }
.t10-main:active { transform: scale(.985); } .t10-main:disabled { opacity: .6; }
.t10-error { margin: 0; padding: 12px 14px; border-radius: 14px; background: #2A1C1A; border: 1px solid #5A2E26; color: #FFB4A3; font-size: 14px; line-height: 1.4; }
.t10-rest { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 22px; background: #172419; border: 1px solid #26372A; }
.t10-rest-svg { width: 52px; height: 52px; flex: 0 0 52px; transform: rotate(-90deg); }
.t10-rest-svg circle { fill: none; stroke-width: 5; }
.t10-rest-track { stroke: #26372A; } .t10-rest-ring { stroke: #7BD389; stroke-linecap: round; stroke-dasharray: 138; transition: stroke-dashoffset .5s linear; }
.t10-rest > div { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.t10-rest > div span { font-size: 12px; color: #A9D3B1; }
.t10-rest > div b { font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; }
.t10-rest > button { height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid #26372A; background: transparent; color: var(--u-text); font-size: 13px; font-weight: 700; }
.t10-log { display: flex; flex-direction: column; gap: 8px; }
.t10-logrow { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 16px; border-radius: 14px; background: var(--u-s1); border: 1px solid var(--u-line); color: var(--u-text); font-size: 14px; text-align: left; }
.t10-logrow b { width: 84px; font-weight: 800; } .t10-logrow span { flex: 1; color: #C9C4BC; font-variant-numeric: tabular-nums; } .t10-logrow small { font-size: 12px; font-weight: 700; color: var(--u-dim); }
.t10-logrow-now { border-color: var(--u-accent); } .t10-logrow-done span { color: #7BD389; font-weight: 700; } .t10-logrow:disabled { opacity: 1; cursor: default; }
.t10-nav { display: grid; grid-template-columns: auto 1fr; gap: 8px; margin-top: 4px; }
.t10-nav > button { min-height: 52px; padding: 6px 16px; border-radius: 16px; border: 1px solid var(--u-line); background: transparent; color: var(--u-text); font-size: 14px; font-weight: 700; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1px; text-align: left; min-width: 0; }
.t10-nav > button small { font-size: 11px; font-weight: 600; color: var(--u-dim); } .t10-nav > button span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.t10-nav > button:disabled { opacity: .35; }
.t10-finish { padding-top: 22vh; text-align: center; align-items: stretch; }
.t10-finish h2 { margin: 0; font-size: 34px; font-weight: 800; letter-spacing: -.025em; }
.t10-finish p { margin: 0 0 10px; font-size: 15px; color: var(--u-muted); }
.t10-toast { position: fixed; left: 16px; right: 16px; bottom: calc(90px + env(safe-area-inset-bottom, 0px)); z-index: 1001; padding: 14px 16px; border-radius: 16px; background: #2A1C1A; border: 1px solid #5A2E26; color: #FFB4A3; font: 600 14px/1.4 "Manrope", sans-serif; }
/* когда есть программа и экран «Сила», большой вступительный баннер конструктора не нужен */
html.t10 .training-hero { display: none !important; }

/* ============ 8. Прогресс: общий вид трекера и экран куратора (телефон и шире) ============ */
html.p10 body { background: var(--u-bg) !important; color: var(--u-text); }
html.p10 body > header { min-height: 0 !important; height: auto !important; padding: 12px 16px !important; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid rgba(255, 255, 255, .06) !important; position: sticky; top: 0; z-index: 30; background: rgba(14, 14, 16, .86) !important; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
html.p10 body > header .brand { font-weight: 800; letter-spacing: .02em; font-size: 15px; }
html.p10 body > header > a:not(.brand) { display: inline-flex; align-items: center; height: 36px; padding: 0 12px; border-radius: 18px; border: 1px solid var(--u-line); color: #C9C4BC; font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; }
html.p10 main { padding: 18px 16px 32px !important; max-width: 760px; margin: 0 auto; }
html.p10 .intro { margin: 0 0 16px !important; padding: 0 !important; height: auto !important; }
html.p10 .intro .eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--u-accent); margin: 0 0 6px; }
html.p10 .intro h1 { font-size: 30px !important; line-height: 1.06 !important; font-weight: 800 !important; letter-spacing: -.025em; margin: 0 0 6px !important; }
html.p10 .intro h1 span { color: inherit; }
html.p10 .intro > p:last-child { font-size: 14px; line-height: 1.45; color: var(--u-muted); margin: 0; }
html.p10 .panel { border-radius: 24px !important; background: var(--u-s1) !important; border: 1px solid rgba(255, 255, 255, .07) !important; padding: 18px 16px !important; }
html.p10 .panel h2 { font-size: 20px !important; line-height: 1.2; font-weight: 800 !important; letter-spacing: -.015em; margin: 0 0 8px !important; }
html.p10 .note { font-size: 13px !important; line-height: 1.45 !important; color: var(--u-muted) !important; }
html.p10 #account { display: flex; flex-direction: column; gap: 12px; margin-bottom: 14px; }
html.p10 #account > * { margin: 0 !important; }
html.p10 #account > section.panel { order: 1; }
html.p10 #account > #group-tools { order: 2; }
html.p10 #account > .admin-curators-link { order: 3; display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 14px; border: 1px solid var(--u-line); color: var(--u-text); font-weight: 700; font-size: 14px; text-decoration: none; background: transparent; }
html.p10 .p10-native { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
html.p10 .invite-link-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; height: auto !important; }
html.p10 .invite-link-row input { min-height: 48px; border-radius: 14px; background: var(--u-bg); border: 1px solid var(--u-line); color: var(--u-muted); padding: 0 12px; font-size: 13px; min-width: 0; }
html.p10 .invite-link-row button, html.p10 #create-group-link { min-height: 48px; padding: 0 16px; border-radius: 14px; border: 0; background: var(--u-accent); color: var(--u-ink); font-weight: 800; font-size: 14px; white-space: nowrap; }
html.p10 details.curator-guide { margin-top: 12px; border-radius: 16px; border: 1px solid var(--u-line); background: transparent; padding: 0 14px; }
html.p10 details.curator-guide > summary { min-height: 48px; display: flex; align-items: center; font-size: 14px; font-weight: 700; cursor: pointer; color: #C9C4BC; }
html.p10 details.curator-guide ol { padding-left: 20px; font-size: 14px; line-height: 1.5; color: #C9C4BC; }
html.p10 details.curator-guide li { margin-bottom: 10px; }

html.p10 .p10-clients { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
html.p10 .p10-seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 16px; background: var(--u-bg); border: 1px solid var(--u-line); }
html.p10 .p10-seg button { min-height: 40px; border-radius: 12px; border: 0; background: transparent; color: #C9C4BC; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
html.p10 .p10-seg .p10-seg-on { background: var(--u-text); color: var(--u-ink); }
html.p10 .p10-search input { width: 100%; box-sizing: border-box; min-height: 48px; padding: 0 14px; border-radius: 14px; background: var(--u-bg); border: 1px solid var(--u-line); color: var(--u-text); font: inherit; font-size: 15px; }
html.p10 .p10-search input:focus { outline: none; border-color: var(--u-accent); box-shadow: 0 0 0 4px rgba(255, 138, 61, .16); }
html.p10 .p10-count { margin: 0; font-size: 12px; color: var(--u-dim); }
html.p10 .p10-list { display: flex; flex-direction: column; gap: 6px; max-height: 372px; overflow-y: auto; overscroll-behavior: contain; margin: 0 -4px; padding: 0 4px; }
html.p10 .p10-client { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 6px 12px 6px 8px; border-radius: 16px; border: 1px solid var(--u-line); background: var(--u-bg); color: var(--u-text); font: inherit; text-align: left; cursor: pointer; flex: 0 0 auto; }
html.p10 .p10-client-on { border-color: var(--u-accent); background: #2A1C14; }
html.p10 .p10-avatar { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 20px; display: flex; align-items: center; justify-content: center; color: var(--u-ink); font-size: 14px; font-weight: 800; }
html.p10 .p10-name { flex: 1; min-width: 0; font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.p10 .p10-go { flex: 0 0 9px; width: 9px; height: 9px; border-right: 2px solid var(--u-dim); border-top: 2px solid var(--u-dim); transform: rotate(45deg); margin-right: 4px; }
html.p10 .p10-clear { min-height: 44px; border-radius: 14px; border: 1px solid var(--u-line); background: transparent; color: #C9C4BC; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }

/* дата и вкладки дневника */
html.p10 .toolbar { display: grid !important; grid-template-columns: 48px minmax(0, 1fr) 48px; gap: 8px; height: auto !important; margin-bottom: 12px; align-items: end; }
html.p10 .toolbar > label { font-size: 11px; font-weight: 700; color: var(--u-dim); display: flex; flex-direction: column; gap: 4px; height: auto !important; margin: 0; }
html.p10 .toolbar input[type="date"] { min-height: 48px; border-radius: 14px; background: var(--u-s1); border: 1px solid var(--u-line); color: var(--u-text); font: inherit; font-size: 15px; font-weight: 700; padding: 0 12px; width: 100%; box-sizing: border-box; }
html.p10 .toolbar > button { min-height: 48px; border-radius: 14px; border: 1px solid var(--u-line); background: var(--u-s1); color: var(--u-text); font: inherit; font-size: 13px; font-weight: 700; }
html.p10 .toolbar > #prev, html.p10 .toolbar > #next { font-size: 0; position: relative; }
html.p10 .toolbar > #prev::before, html.p10 .toolbar > #next::before { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; }
html.p10 .toolbar > #prev::before { transform: translate(-30%, -50%) rotate(-135deg); }
html.p10 .toolbar > #next::before { transform: translate(-70%, -50%) rotate(45deg); }
html.p10 .toolbar > #today { grid-column: 1 / 3; } html.p10 .toolbar > #reload { grid-column: 3 / 4; font-size: 0; position: relative; }
html.p10 .toolbar > #reload::before { content: "↻"; font-size: 20px; line-height: 1; }
html.p10 .toolbar > #today { justify-self: start; padding: 0 16px; min-height: 40px; }
html.p10 nav.tabs > button { border: 1px solid var(--u-line) !important; background: transparent !important; color: #C9C4BC !important; font-weight: 700 !important; font-size: 13px !important; }
html.p10 nav.tabs > button[aria-current="page"] { background: var(--u-text) !important; border-color: var(--u-text) !important; color: var(--u-ink) !important; }
html.p10 .stats { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 8px !important; margin: 12px 0 !important; }
html.p10 .stat { height: auto !important; padding: 12px !important; border-radius: 18px !important; background: var(--u-s1) !important; border: 1px solid var(--u-line) !important; display: flex; flex-direction: column; gap: 4px; }
html.p10 .stat strong { font-size: 24px !important; font-weight: 800 !important; line-height: 1 !important; font-variant-numeric: tabular-nums; }
html.p10 .stat span { font-size: 11px !important; line-height: 1.25 !important; color: var(--u-muted) !important; }
/* куратор ещё не выбрал клиента: дата и «0 дней с записями» не нужны */
html.p10-noclient #content > .toolbar, html.p10-noclient #content > .stats, html.p10-noclient #content > p.note { display: none !important; }
html.p10 body > footer { padding: 20px 16px calc(96px + env(safe-area-inset-bottom, 0px)) !important; font-size: 12px; color: var(--u-dim); border-top: 1px solid rgba(255, 255, 255, .06); }
/* куратор смотрит дневник клиента только для чтения: в «тарелке» не показываем кнопки изменения и сохранения */
html.p10-staff .c1-actions, html.p10-staff .c1-save, html.p10-staff .c1-status { display: none !important; }

/* ============ 9. Продукт с несколькими тарифами (наставничество): широкая карточка, тарифы в ряд ============ */
@media (max-width: 640px) {
  html.ui10 .bento-product:has(.school-line-offer + .school-line-offer) { grid-column: 1 / -1; }
  html.ui10 .bento-product:has(.school-line-offer + .school-line-offer) .bento-product-link { padding: 16px !important; min-height: 264px !important; }
  html.ui10 .bento-product:has(.school-line-offer + .school-line-offer) h2 { font-size: 22px !important; line-height: 1.12 !important; -webkit-line-clamp: 2; margin-bottom: 12px !important; }
  html.ui10 .bento-product .school-line-prices:has(.school-line-offer + .school-line-offer) { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px !important; }
  html.ui10 .school-line-offer + .school-line-offer, html.ui10 .school-line-offer:has(+ .school-line-offer) {
    padding: 10px 12px; border-radius: 14px; background: rgba(14, 14, 16, .62); border: 1px solid rgba(255, 255, 255, .1);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); display: flex; flex-direction: column; gap: 4px; min-width: 0;
  }
  html.ui10 .school-line-tariff { font-size: 11px !important; font-weight: 700; color: #C9C4BC !important; line-height: 1.2; }
  html.ui10 .school-line-offer + .school-line-offer .school-line-amounts strong, html.ui10 .school-line-offer:has(+ .school-line-offer) .school-line-amounts strong { font-size: 15px !important; flex: 0 0 100%; order: -1; }
}

/* ============ 10. Новые обложки программ (27.11.2026): сцены без лица; у «Наставничества 8.0» и «Метода Ладони» фото остаётся ============ */
html.ui10 .bento-product-link[href$="62e40fee-efeb-4587-8913-af16123eb815"] > .bento-product-image { content: url("covers/sleep.webp"); object-position: 68% 50% !important; }
html.ui10 .bento-product-link[href$="8b651416-4db0-4b00-903d-ae84dcc6165c"] > .bento-product-image { content: url("covers/stress.webp"); object-position: 68% 50% !important; }
html.ui10 .bento-product-link[href$="251b46bd-fd39-4ef3-8cde-8b163f4951d0"] > .bento-product-image { content: url("covers/slimgenius.webp"); object-position: 68% 50% !important; }
html.ui10 .bento-product-link[href$="fbeca6d3-df0f-4658-b898-8541f276e1b5"] > .bento-product-image { content: url("covers/training.webp"); object-position: 68% 50% !important; }
html.ui10 .bento-product-link[href$="4ff9b2a0-253e-4b83-ae3b-b11c034f5211"] > .bento-product-image { content: url("covers/resources.webp"); object-position: 68% 50% !important; }
html.ui10 .bento-product-link[href$="f3ac568d-142e-48c0-9022-97506341550e"] > .bento-product-image { content: url("covers/antiotek.webp"); object-position: 68% 50% !important; }
html.ui10 .bento-product-link[href$="6384c725-0382-402a-80c1-45770db792cf"] > .bento-product-image { content: url("covers/home.webp"); object-position: 68% 50% !important; }
html.ui10 .bento-product-link[href$="68962128-d92a-4982-a713-ba5479ab9117"] > .bento-product-image { content: url("covers/stresseat.webp"); object-position: 68% 50% !important; }
html.ui10 .bento-product-link[href$="fe7606c2-0e8f-41f7-b841-aacc5fab7b14"] > .bento-product-image { content: url("covers/program.webp"); object-position: 68% 50% !important; }
html.ui10 .bento-product-link[href$="e93103bd-f2f5-4195-92d4-131504cb1d85"] > .bento-product-image { content: url("covers/sweet.webp"); object-position: 68% 50% !important; }
html.ui10 .bento-product-link[href$="d20ccb8a-96e3-42e8-9865-56f24bbf3ded"] > .bento-product-image { content: url("covers/cafe.webp"); object-position: 68% 50% !important; }
html.ui10 .bento-product-link[href$="36f91398-7c5f-451f-9c8d-9b5b584a138e"] > .bento-product-image { content: url("covers/relapse.webp"); object-position: 68% 50% !important; }
html.ui10 .bento-product-link[href$="91e89f6f-3025-4cd2-b50f-98b3cc967516"] > .bento-product-image { content: url("covers/alcohol.webp"); object-position: 68% 50% !important; }
html.ui10 .bento-product-link[href$="4fee34e6-c616-4035-9375-fc15773cdc55"] > .bento-product-image { content: url("covers/meditation.webp"); object-position: 68% 50% !important; }

/* кадрирование обложек в узких карточках: главный предмет в кадре */
@media (max-width: 640px) {
  html.ui10 .bento-grid { grid-auto-flow: row dense; }
  html.ui10 .bento-product:not(.bento-product-wide) .bento-product-link[href$="6384c725-0382-402a-80c1-45770db792cf"] > .bento-product-image { object-position: 100% 50% !important; }
  html.ui10 .bento-product:not(.bento-product-wide) .bento-product-link[href$="fe7606c2-0e8f-41f7-b841-aacc5fab7b14"] > .bento-product-image { object-position: 92% 50% !important; }
  html.ui10 .bento-product:not(.bento-product-wide) .bento-product-link[href$="e93103bd-f2f5-4195-92d4-131504cb1d85"] > .bento-product-image { object-position: 80% 50% !important; }
  html.ui10 .bento-product:not(.bento-product-wide) .bento-product-link[href$="f3ac568d-142e-48c0-9022-97506341550e"] > .bento-product-image { object-position: 96% 50% !important; }
  html.ui10 .bento-product:not(.bento-product-wide) .bento-product-link[href$="d20ccb8a-96e3-42e8-9865-56f24bbf3ded"] > .bento-product-image { object-position: 92% 50% !important; }
  html.ui10 .bento-product:not(.bento-product-wide) .bento-product-link[href$="4ff9b2a0-253e-4b83-ae3b-b11c034f5211"] > .bento-product-image { object-position: 100% 50% !important; }
  html.ui10 .bento-product:not(.bento-product-wide) .bento-product-link[href$="251b46bd-fd39-4ef3-8cde-8b163f4951d0"] > .bento-product-image { object-position: 92% 50% !important; }
  html.ui10 .bento-product:not(.bento-product-wide) .bento-product-link[href$="8b651416-4db0-4b00-903d-ae84dcc6165c"] > .bento-product-image { object-position: 62% 50% !important; }
  html.ui10 .bento-product:not(.bento-product-wide) .bento-product-link[href$="68962128-d92a-4982-a713-ba5479ab9117"] > .bento-product-image { object-position: 100% 50% !important; }
  html.ui10 .bento-product:not(.bento-product-wide) .bento-product-link[href$="36f91398-7c5f-451f-9c8d-9b5b584a138e"] > .bento-product-image { object-position: 74% 50% !important; }
  html.ui10 .bento-product:not(.bento-product-wide) .bento-product-link[href$="91e89f6f-3025-4cd2-b50f-98b3cc967516"] > .bento-product-image { object-position: 72% 50% !important; }
  html.ui10 .bento-product:not(.bento-product-wide) .bento-product-link[href$="fbeca6d3-df0f-4658-b898-8541f276e1b5"] > .bento-product-image { object-position: 66% 50% !important; }
  html.ui10 .bento-product:not(.bento-product-wide) .bento-product-link[href$="62e40fee-efeb-4587-8913-af16123eb815"] > .bento-product-image { object-position: 72% 50% !important; }
  html.ui10 .bento-product:not(.bento-product-wide) .bento-product-link[href$="4fee34e6-c616-4035-9375-fc15773cdc55"] > .bento-product-image { object-position: 66% 50% !important; }
}
@media (max-width: 640px) {
  /* наставничество с двумя тарифами: широкая карточка сразу, не дожидаясь загрузки цен */
  html.ui10 .bento-product:has(> .bento-product-link[href$="f52b70e6-5e0c-44d3-8120-37ceafaf1820"]) { grid-column: 1 / -1; }
}
