/* ==========================================================================
   EGOR.TEAM only (appended by ru/build-ru.js). Same quiet style as the rest of the theme.
   ========================================================================== */

/* ---------- R1. Course list: "Правила курсов" and other lessons shown on the list = one lesson card ---------- */
html.lc-ui.lc-ui-courses .xdget-trainingsSystemPage .lesson-list {
  margin: 0 0 24px !important; padding: 0 !important; background: transparent !important; border: 0 !important;
}
html.lc-ui.lc-ui-courses .xdget-trainingsSystemPage .lesson-list > li {
  margin: 0 0 12px !important; padding: 0 !important; list-style: none; overflow: hidden;
  background: #fff !important; border: 1px solid var(--lc-line) !important; border-radius: 6px;
  transition: border-color .2s ease, transform .25s ease, box-shadow .25s ease;
}
html.lc-ui.lc-ui-courses .xdget-trainingsSystemPage .lesson-list > li:hover {
  border-color: #cbbfb3 !important; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(34, 29, 26, .07);
}
@media (prefers-reduced-motion: reduce) { html.lc-ui.lc-ui-courses .xdget-trainingsSystemPage .lesson-list > li:hover { transform: none; } }
html.lc-ui.lc-ui-courses .xdget-trainingsSystemPage .lesson-list > li > a.item-a {
  display: flex !important; align-items: stretch; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent !important; text-decoration: none;
}
html.lc-ui.lc-ui-courses .xdget-trainingsSystemPage .lesson-list > li > a.item-a::after {
  content: ""; flex: 0 0 auto; align-self: center; width: 9px; height: 9px; margin: 0 22px 0 12px;
  border-top: 1.5px solid #b3a79c; border-right: 1.5px solid #b3a79c; transform: rotate(45deg); transition: transform .15s ease, border-color .15s ease;
}
html.lc-ui.lc-ui-courses .xdget-trainingsSystemPage .lesson-list > li > a.item-a:hover::after { border-color: var(--lc-persimmon); transform: translateX(3px) rotate(45deg); }
html.lc-ui.lc-ui-courses .xdget-trainingsSystemPage .lesson-list .state-icon-block { display: none !important; }
html.lc-ui.lc-ui-courses .xdget-trainingsSystemPage .lesson-list .info { flex: 1; min-width: 0; margin-left: 0 !important; border: 0 !important; background: transparent !important; }
html.lc-ui.lc-ui-courses .xdget-trainingsSystemPage .lesson-list .info > table { width: 100%; height: 100%; }
html.lc-ui.lc-ui-courses .xdget-trainingsSystemPage .lesson-list td.item-image {
  width: 112px !important; min-width: 112px; height: 96px; padding: 0 !important;
  background-color: #faf8f5 !important; background-size: 64px auto !important; background-position: center !important;
}
html.lc-ui.lc-ui-courses .xdget-trainingsSystemPage .lesson-list td.item-main-td { padding: 14px 4px 14px 20px !important; vertical-align: middle; }
html.lc-ui.lc-ui-courses .xdget-trainingsSystemPage .lesson-list .vmiddle { margin: 0 !important; padding: 0 !important; }
html.lc-ui.lc-ui-courses .xdget-trainingsSystemPage .lesson-list .user-state-label {
  display: inline-block; margin: 0 0 6px; padding: 2px 8px; border-radius: 2px; background: rgba(196, 152, 47, .14);
  color: #7a5c14 !important; font: 500 12px/1.3 var(--lc-text) !important; letter-spacing: 0; text-transform: none;
}
html.lc-ui.lc-ui-courses .xdget-trainingsSystemPage .lesson-list .title {
  display: block; color: var(--lc-ink) !important; font: 600 19px/1.3 var(--lc-display) !important; text-decoration: none !important;
}
html.lc-ui.lc-ui-courses .xdget-trainingsSystemPage .lesson-list > li > a.item-a:hover .title { color: var(--lc-persimmon-ink) !important; }
html.lc-ui.lc-ui-courses .xdget-trainingsSystemPage .lesson-list .lesson-list__video-watched { margin-left: 8px; color: var(--lc-olive); font: 500 12px/1.3 var(--lc-text); }
html.lc-ui.lc-ui-courses .xdget-trainingsSystemPage .lesson-list .description { margin-top: 4px; color: var(--lc-gray); font: 400 14px/1.45 var(--lc-text); }

/* ---------- R2. Course list: the school's right column (school button, contact and gift blocks, profile form) ---------- */
html.lc-ui.lc-ui-courses .xdget-trainingsSystemPage .col-md-4 { color: var(--lc-ink); font-family: var(--lc-text); }
html.lc-ui.lc-ui-courses .xdget-trainingsSystemPage .col-md-4 .xdget-button.btn {
  display: block; width: 100%; margin: 0 0 16px !important; padding: 12px 16px; border: 1px solid var(--lc-persimmon) !important; border-radius: 3px !important;
  background: var(--lc-persimmon) !important; color: var(--lc-on-accent) !important; box-shadow: none !important; text-shadow: none !important;
  font: 600 15px/1.2 var(--lc-text) !important; letter-spacing: .02em;
}
html.lc-ui.lc-ui-courses .xdget-trainingsSystemPage .col-md-4 .xdget-button.btn:hover { border-color: var(--lc-accent-hover) !important; background: var(--lc-accent-hover) !important; }
html.lc-ui.lc-ui-courses .xdget-trainingsSystemPage .col-md-4 .xdget-html[style*="border"] {
  margin: 0 0 16px !important; padding: 18px 20px !important; border: 1px solid var(--lc-line) !important; border-radius: 6px !important;
  background: #fff; text-align: left !important;
}
html.lc-ui.lc-ui-courses .xdget-trainingsSystemPage .col-md-4 .html-content { color: var(--lc-ink); font: 400 14px/1.5 var(--lc-text); }
html.lc-ui.lc-ui-courses .xdget-trainingsSystemPage .col-md-4 .html-content h3 { margin: 0 0 10px !important; color: var(--lc-ink); font: 600 18px/1.3 var(--lc-display) !important; }
html.lc-ui.lc-ui-courses .xdget-trainingsSystemPage .col-md-4 .html-content > br,
html.lc-ui.lc-ui-courses .xdget-trainingsSystemPage .col-md-4 .html-content h3 br { display: none; }
html.lc-ui.lc-ui-courses .xdget-trainingsSystemPage .col-md-4 .html-content p { margin: 0 0 8px !important; text-align: left !important; }
html.lc-ui.lc-ui-courses .xdget-trainingsSystemPage .col-md-4 .html-content p:has(> br:only-child) { display: none; }
html.lc-ui.lc-ui-courses .xdget-trainingsSystemPage .col-md-4 .html-content span[style*="font-size"] { font-size: inherit !important; }
html.lc-ui.lc-ui-courses .xdget-trainingsSystemPage .col-md-4 .html-content strong { font-weight: 600; }
html.lc-ui.lc-ui-courses .xdget-trainingsSystemPage .col-md-4 .html-content a { color: var(--lc-persimmon-ink) !important; overflow-wrap: anywhere; text-decoration: none; }
html.lc-ui.lc-ui-courses .xdget-trainingsSystemPage .col-md-4 .html-content a:hover { text-decoration: underline; }
html.lc-ui.lc-ui-courses .xdget-trainingsSystemPage .col-md-4 .html-content img { width: 18px; height: 18px; margin-right: 6px; vertical-align: -3px; }
html.lc-ui.lc-ui-courses .xdget-trainingsSystemPage .col-md-4 .html-content .fa { width: 18px; margin-right: 6px; color: var(--lc-gray); text-align: center; }
html.lc-ui.lc-ui-courses .xdget-trainingsSystemPage .col-md-4 .html-content ul { margin: 6px 0 0; padding-left: 18px; }
html.lc-ui.lc-ui-courses .xdget-trainingsSystemPage .col-md-4 .html-content ul:empty { display: none; }
html.lc-ui.lc-ui-courses .xdget-trainingsSystemPage .col-md-4 .html-content li { margin: 0 0 6px; }
html.lc-ui.lc-ui-courses .xdget-trainingsSystemPage .col-md-4 .xdget-html:not([style*="border"]) .html-content { color: var(--lc-gray); font-size: 13px; }
html.lc-ui.lc-ui-courses .xdget-trainingsSystemPage .col-md-4 .xdget-html:not([style*="border"]) .html-content p { text-align: left !important; }
html.lc-ui.lc-ui-courses .xdget-trainingsSystemPage .col-md-4 .html-content hr { margin: 8px 0 12px; border-color: var(--lc-line); }
html.lc-ui.lc-ui-courses .xdget-trainingsSystemPage .col-md-4 .xdget-userCompleteForm {
  margin: 0 0 16px; padding: 18px 20px !important; border: 1px solid var(--lc-line) !important; border-radius: 6px; background: #fff !important; box-shadow: none !important;
}
html.lc-ui.lc-ui-courses .xdget-trainingsSystemPage .col-md-4 .xdget-userCompleteForm h3 { margin: 0 0 4px !important; color: var(--lc-ink) !important; font: 600 18px/1.3 var(--lc-display) !important; }
html.lc-ui.lc-ui-courses .xdget-trainingsSystemPage .col-md-4 .xdget-userCompleteForm .html-content { margin-bottom: 12px; color: var(--lc-gray); font-size: 14px; }
html.lc-ui.lc-ui-courses .xdget-trainingsSystemPage .col-md-4 .xdget-userCompleteForm .field-label { margin-bottom: 4px; color: var(--lc-gray); font: 500 13px/1.4 var(--lc-text); }
html.lc-ui.lc-ui-courses .xdget-trainingsSystemPage .col-md-4 .xdget-userCompleteForm .form-control {
  height: 40px; padding: 8px 12px !important; border: 1px solid var(--lc-line) !important; border-radius: 2px !important; background: #fff !important;
  box-shadow: none !important; color: var(--lc-ink) !important; font: 400 15px/1.4 var(--lc-text) !important;
}
html.lc-ui.lc-ui-courses .xdget-trainingsSystemPage .col-md-4 .xdget-userCompleteForm .form-control:focus { border-color: var(--lc-persimmon) !important; outline: 0; }
html.lc-ui.lc-ui-courses .xdget-trainingsSystemPage .col-md-4 .xdget-userCompleteForm .field-description-block { margin-top: 4px; color: var(--lc-mute); font-size: 12px; }

/* ---------- R5. Profile: the school's "Достижения" (course badges with an "О курсе" link) as a tidy list ---------- */
html.lc-ui.lc-ui-profile .xdget-profileAchievements { font: 400 14px/1.4 var(--lc-text); }
html.lc-ui.lc-ui-profile .xdget-profileAchievements > div { display: flex; align-items: center; gap: 10px; margin: 0 0 8px !important; }
html.lc-ui.lc-ui-profile .xdget-profileAchievements img { flex: 0 0 26px; width: 26px; height: 26px; object-fit: cover; border-radius: 3px; }
html.lc-ui.lc-ui-profile .xdget-profileAchievements span[style] { color: var(--lc-ink) !important; }
html.lc-ui.lc-ui-profile .xdget-profileAchievements a { color: var(--lc-persimmon-ink); font-weight: 500; text-decoration: none; white-space: nowrap; }
html.lc-ui.lc-ui-profile .xdget-profileAchievements a:hover { text-decoration: underline; }
html.lc-ui.lc-ui-profile .xdget-myProfileSystemPage h4.xdget-header { margin: 24px 0 12px; color: var(--lc-ink); font: 600 18px/1.3 var(--lc-display) !important; }
html.lc-ui.lc-pal-brand.lc-ui-profile .xdget-myProfileSystemPage h4.xdget-header { font-weight: 700 !important; }

/* ---------- R0. Palette variant for comparison: the colors of the GetCourse left menu (graphite, cream, copper),
   on with ?lcpal=menu (remembered in this browser), off with ?lcpal=0. Default = the LeChefio look. ---------- */
html.lc-ui.lc-pal-menu {
  --lc-ink: #1f2933; --lc-gray: #4b5561; --lc-line: #e8e1d8; --lc-line-soft: #f1ebe3;
  --lc-persimmon: #1f2933; --lc-on-accent: #fff; --lc-accent-hover: #344556; --lc-persimmon-ink: #9a5f2c;
}
html.lc-ui.lc-pal-menu .lc-continue,
html.lc-ui.lc-pal-menu .lt-lesson-mission-block .lt-block-wrapper > .container,
html.lc-ui.lc-pal-menu .answer_wrapper .comment.lesson-answer-comment,
html.lc-ui.lc-pal-menu .lc-empty { background: #fbf7f1 !important; }
html.lc-ui.lc-pal-menu .xdget-trainingsSystemPage .lesson-list .user-state-label,
html.lc-ui.lc-pal-menu .answer_wrapper.status-new.type-mission_answer .answer-status-label,
html.lc-ui.lc-pal-menu .answer_wrapper .comment.lesson-answer-comment.fresh-comment,
html.lc-ui.lc-pal-menu.lc-ui-purchases .table .deal-status { background: #f6efe7 !important; color: #8a5426 !important; }
html.lc-ui.lc-pal-menu .talks-widget-window .btn-primary,
html.lc-ui.lc-pal-menu .talks-widget-window .btn-success { background: #1f2933 !important; border-color: #1f2933 !important; color: #fff !important; }

/* ---------- R4. Warm "brand" variant for comparison (was the default for a few hours on 2026-10-11; Egor then chose the
   LeChefio look as is): closer to the w.egor.team site (cream and pastel surfaces, rounder cards with a soft shadow,
   yellow buttons, red pill school button, bolder headings). On with ?lcpal=brand (remembered in this browser), off with ?lcpal=0.
   It brings its own yellow accent tokens, since the default now uses the LeChefio persimmon. ---------- */
html.lc-ui.lc-pal-brand {
  --lc-persimmon: #fbcf50; --lc-on-accent: #141414; --lc-accent-hover: #f2bd2c; --lc-persimmon-ink: #c4302b;
  --lc-ink: #111111; --lc-line: #ece6d6; --lc-line-soft: #f1ecdc;
  --eg-cream: #faf9f0; --eg-aqua: #ebf7fa; --eg-lilac: #fdf5ff; --eg-sun: #fff4cc; --eg-red: #d92d27; --eg-red-hover: #bf231e;
  --eg-shadow: 0 1px 2px rgba(60, 45, 0, .06), 0 6px 18px rgba(60, 45, 0, .07);
  --eg-shadow-hover: 0 2px 4px rgba(60, 45, 0, .08), 0 12px 28px rgba(60, 45, 0, .13);
}
html.lc-ui.lc-pal-brand .gc-main-content h1,
html.lc-ui.lc-pal-brand.lc-ui-lesson .lesson-title-value { font-weight: 700 !important; }
html.lc-ui.lc-pal-brand .lc-btn { border-radius: 8px; font-weight: 700; }
html.lc-ui.lc-pal-brand .lc-progress { height: 6px; background: #ece5cf; border-radius: 3px; }
html.lc-ui.lc-pal-brand .lc-progress > i { background: #f2b705; border-radius: 3px; }
/* course list: cream cards, yellow button, pastel "Ещё в EGOR.TEAM" cards, yellow rules card */
html.lc-ui.lc-pal-brand.lc-ui-courses .stream-table tbody { gap: 22px; }
html.lc-ui.lc-pal-brand.lc-ui-courses .stream-table tr.training-row > td > a {
  border: 0; border-radius: 14px; background: var(--eg-cream); box-shadow: var(--eg-shadow); transition: box-shadow .2s ease, transform .2s ease;
}
html.lc-ui.lc-pal-brand.lc-ui-courses .stream-table tr.training-row > td > a:hover { box-shadow: var(--eg-shadow-hover); transform: translateY(-2px); }
html.lc-ui.lc-pal-brand.lc-ui-courses .lc-cover { background-color: #f1ecdc; }
html.lc-ui.lc-pal-brand.lc-ui-courses .lc-cover.lc-cover-empty {
  background: var(--eg-sun) url("https://fs-thb02.getcourse.ru/fileservice/file/thumbnail/h/67c76fc294a2ea1d12bbe8c02048701e.png/s/x100/a/11036/sc/181") center / 68% auto no-repeat;
  color: transparent; font-size: 0;
}
html.lc-ui.lc-pal-brand.lc-ui-courses .stream-title { padding-top: 18px; font-weight: 700 !important; }
html.lc-ui.lc-pal-brand.lc-ui-courses .stream-table tr.training-row > td > a > :not(.lc-cta):has(+ .lc-cta) { padding-bottom: 16px; }
html.lc-ui.lc-pal-brand.lc-ui-courses .lc-cta {
  align-self: flex-start; margin: auto 18px 18px; padding: 9px 14px; border-radius: 8px;
  background: var(--lc-persimmon); color: var(--lc-on-accent); font-size: 13px; letter-spacing: .02em; transition: background-color .15s ease;
}
html.lc-ui.lc-pal-brand.lc-ui-courses .stream-table tr.training-row > td > a:hover .lc-cta { background: var(--lc-accent-hover); color: var(--lc-on-accent); }
html.lc-ui.lc-pal-brand.lc-ui-courses .lc-group-title > td { margin-top: 24px; padding-top: 8px !important; border-top: 0; font-weight: 700; font-size: 26px; }
html.lc-ui.lc-pal-brand.lc-ui-courses .lc-empty { border: 0; border-radius: 16px; background: var(--eg-sun); }
html.lc-ui.lc-pal-brand.lc-ui-courses .lc-empty h2,
html.lc-ui.lc-pal-brand.lc-ui-courses .lc-more h3,
html.lc-ui.lc-pal-brand.lc-ui-courses .lc-more-card b { font-weight: 700; }
html.lc-ui.lc-pal-brand.lc-ui-courses .lc-empty .lc-btn { background: var(--lc-ink); color: #fff !important; }
html.lc-ui.lc-pal-brand.lc-ui-courses .lc-empty .lc-btn:hover { background: #3a3a3a; }
html.lc-ui.lc-pal-brand.lc-ui-courses .lc-more { padding-top: 8px; border-top: 0; }
html.lc-ui.lc-pal-brand.lc-ui-courses .lc-more h3 { font-size: 26px; }
html.lc-ui.lc-pal-brand.lc-ui-courses .lc-more-card {
  border: 0; border-radius: 14px; background: var(--eg-aqua); transition: box-shadow .2s ease, transform .2s ease;
}
html.lc-ui.lc-pal-brand.lc-ui-courses .lc-more-card:nth-child(2) { background: var(--eg-lilac); }
html.lc-ui.lc-pal-brand.lc-ui-courses .lc-more-card:nth-child(3) { background: var(--eg-sun); }
html.lc-ui.lc-pal-brand.lc-ui-courses .lc-more-card:hover { box-shadow: var(--eg-shadow-hover); transform: translateY(-2px); }
html.lc-ui.lc-pal-brand.lc-ui-courses .xdget-trainingsSystemPage .lesson-list > li {
  border: 0 !important; border-radius: 14px; background: var(--eg-sun) !important; transition: box-shadow .2s ease;
}
html.lc-ui.lc-pal-brand.lc-ui-courses .xdget-trainingsSystemPage .lesson-list > li:hover { box-shadow: var(--eg-shadow-hover); }
html.lc-ui.lc-pal-brand.lc-ui-courses .xdget-trainingsSystemPage .lesson-list td.item-image { background-color: rgba(255, 255, 255, .6) !important; }
html.lc-ui.lc-pal-brand.lc-ui-courses .xdget-trainingsSystemPage .lesson-list .user-state-label { border-radius: 6px; background: var(--eg-red); color: #fff !important; }
html.lc-ui.lc-pal-brand.lc-ui-courses .xdget-trainingsSystemPage .lesson-list .title { font-weight: 700 !important; }
html.lc-ui.lc-pal-brand.lc-ui-courses .xdget-trainingsSystemPage .lesson-list > li > a.item-a::after { border-color: var(--lc-ink); }
/* right column: red pill school button (like "Выбрать курс" on the site), blocks in the school's yellow frame */
html.lc-ui.lc-pal-brand.lc-ui-courses .xdget-trainingsSystemPage .col-md-4 .xdget-button.btn {
  padding: 15px 16px; border-color: var(--eg-red) !important; border-radius: 30px !important;
  background: var(--eg-red) !important; color: #fff !important; font-weight: 700 !important;
}
html.lc-ui.lc-pal-brand.lc-ui-courses .xdget-trainingsSystemPage .col-md-4 .xdget-button.btn:hover { border-color: var(--eg-red-hover) !important; background: var(--eg-red-hover) !important; }
html.lc-ui.lc-pal-brand.lc-ui-courses .xdget-trainingsSystemPage .col-md-4 .xdget-html[style*="border"],
html.lc-ui.lc-pal-brand.lc-ui-courses .xdget-trainingsSystemPage .col-md-4 .xdget-userCompleteForm {
  border: 2px solid var(--lc-persimmon) !important; border-radius: 18px !important; background: #fff !important;
}
html.lc-ui.lc-pal-brand.lc-ui-courses .xdget-trainingsSystemPage .col-md-4 .html-content h3,
html.lc-ui.lc-pal-brand.lc-ui-courses .xdget-trainingsSystemPage .col-md-4 .xdget-userCompleteForm h3 { font-weight: 700 !important; }
html.lc-ui.lc-pal-brand.lc-ui-courses .xdget-trainingsSystemPage .col-md-4 .xdget-userCompleteForm .form-control { border-radius: 8px !important; }
/* course page: rounded header cover, aqua "continue" panel, cream lesson cards */
html.lc-ui.lc-pal-brand.lc-ui-course .lc-head-cover { border-radius: 14px; }
html.lc-ui.lc-pal-brand.lc-ui-course .lc-continue { border: 0; border-radius: 16px; background: var(--eg-aqua); }
html.lc-ui.lc-pal-brand.lc-ui-course .lc-continue-title { font-weight: 700; }
html.lc-ui.lc-pal-brand.lc-ui-course .lesson-list { gap: 14px; }
html.lc-ui.lc-pal-brand.lc-ui-course .lesson-list > li,
html.lc-ui.lc-pal-brand.lc-ui-course .stream-table tr.training-row {
  border: 0 !important; border-radius: 14px; background: var(--eg-cream) !important; box-shadow: var(--eg-shadow); transition: box-shadow .2s ease, transform .2s ease;
}
html.lc-ui.lc-pal-brand.lc-ui-course .lesson-list > li:hover,
html.lc-ui.lc-pal-brand.lc-ui-course .stream-table tr.training-row:hover { box-shadow: var(--eg-shadow-hover); transform: translateY(-1px); }
html.lc-ui.lc-pal-brand.lc-ui-course .lesson-list > li.user-state-not_reached { background: #f5f3ec !important; box-shadow: none; }
html.lc-ui.lc-pal-brand.lc-ui-course .lesson-list td.item-image.lc-ph,
html.lc-ui.lc-pal-brand.lc-ui-course .lc-continue-img.lc-ph { background-color: #f1ecdc !important; }
html.lc-ui.lc-pal-brand.lc-ui-course .lesson-list .link.title,
html.lc-ui.lc-pal-brand.lc-ui-course .lesson-list .title,
html.lc-ui.lc-pal-brand.lc-ui-course .stream-table .stream-title { font-weight: 600 !important; }
html.lc-ui.lc-pal-brand.lc-ui-course .lesson-list .lc-meta .user-state-label { border-color: transparent; border-radius: 6px; background: #fff; }
html.lc-ui.lc-pal-brand.lc-ui-course .lesson-list .lc-meta .lesson-list__video-watched { border-radius: 6px; }
/* lesson: cream navigation bar with button links, cream task panel, rounder fields, buttons and replies */
html.lc-ui.lc-pal-brand.lc-ui-lesson .lesson-navigation { margin: 20px 0 0 !important; padding: 12px 18px !important; border: 0; border-radius: 14px; background: var(--eg-cream); }
html.lc-ui.lc-pal-brand.lc-ui-lesson .lesson-navigation .user-state-label {
  padding: 3px 8px; border-radius: 6px; background: var(--eg-sun); color: #5c4600 !important; letter-spacing: .02em; text-transform: none;
}
html.lc-ui.lc-pal-brand.lc-ui-lesson .lesson-navigation a {
  display: inline-block; padding: 9px 16px; border-radius: 8px; background: var(--lc-persimmon); color: var(--lc-on-accent) !important;
  font-weight: 700; transition: background-color .15s ease;
}
html.lc-ui.lc-pal-brand.lc-ui-lesson .lesson-navigation a:hover { background: var(--lc-accent-hover); color: var(--lc-on-accent) !important; }
html.lc-ui.lc-pal-brand.lc-ui-lesson .lesson-navigation td:first-child a { background: #fff; box-shadow: var(--eg-shadow); }
html.lc-ui.lc-pal-brand.lc-ui-lesson .lesson-navigation td:first-child a:hover { background: #fff; color: var(--eg-red) !important; }
html.lc-ui.lc-pal-brand.lc-ui-lesson .lesson-navigation .hidden-xs[style] { margin-top: 6px; }
html.lc-ui.lc-pal-brand.lc-ui-lesson .lt-lesson-mission-block .lt-block-wrapper > .container { border: 0; border-radius: 16px; background: var(--eg-cream); box-shadow: var(--eg-shadow); }
html.lc-ui.lc-pal-brand.lc-ui-lesson .lt-lesson-mission-block h3,
html.lc-ui.lc-pal-brand.lc-ui-lesson .lt-lesson-comment-block h3 { font-weight: 700 !important; }
html.lc-ui.lc-pal-brand.lc-ui-lesson .lt-lesson-mission-block textarea,
html.lc-ui.lc-pal-brand.lc-ui-lesson .lt-lesson-comment-block textarea { border-radius: 10px !important; }
html.lc-ui.lc-pal-brand.lc-ui-lesson .lt-lesson-mission-block .btn,
html.lc-ui.lc-pal-brand.lc-ui-lesson .lt-lesson-comment-block .btn,
html.lc-ui.lc-pal-brand.lc-ui-lesson .lt-lesson-mission-block .answer-form .uploadifive-button { border-radius: 8px !important; }
html.lc-ui.lc-pal-brand.lc-ui-lesson .lt-lesson-mission-block .btn-primary,
html.lc-ui.lc-pal-brand.lc-ui-lesson .lt-lesson-comment-block .btn-primary { font-weight: 700 !important; }
/* answers and threads (lesson and curators' feed): cream replies (white inside the cream task panel), round chips */
html.lc-ui.lc-pal-brand .answer_wrapper .comment.lesson-answer-comment { border-radius: 12px !important; }
html.lc-ui.lc-pal-brand:is(.lc-ui-lesson, .lc-ui-feed) .answer_wrapper .comment.lesson-answer-comment:not(.fresh-comment) { background: var(--eg-cream) !important; }
html.lc-ui.lc-pal-brand.lc-ui-lesson .lt-lesson-mission-block .answer_wrapper .comment.lesson-answer-comment:not(.fresh-comment) { background: #fff !important; }
html.lc-ui.lc-pal-brand:is(.lc-ui-lesson, .lc-ui-feed) .answer_wrapper .answer-status-label,
html.lc-ui.lc-pal-brand:is(.lc-ui-lesson, .lc-ui-feed) .answer_wrapper a.user-profile-link.worker::after { border-radius: 6px; }
html.lc-ui.lc-pal-brand:is(.lc-ui-lesson, .lc-ui-feed) .answer_wrapper .new-comment textarea { border-radius: 10px !important; }
html.lc-ui.lc-pal-brand:is(.lc-ui-lesson, .lc-ui-feed) .answer_wrapper .new-comment .btn-send { border-radius: 8px !important; }
/* curators' feed */
html.lc-ui.lc-pal-brand.lc-ui-feed .page-filter select,
html.lc-ui.lc-pal-brand.lc-ui-feed .page-filter .btn-success,
html.lc-ui.lc-pal-brand.lc-ui-feed .answer_wrapper .btn-primary,
html.lc-ui.lc-pal-brand.lc-ui-feed .answer-controls .btn,
html.lc-ui.lc-pal-brand.lc-ui-feed .filter-list li > a { border-radius: 8px !important; }
html.lc-ui.lc-pal-brand.lc-ui-feed .page-filter > div[style*="fffbd8"] { border-radius: 8px; background: var(--eg-cream) !important; }
html.lc-ui.lc-pal-brand.lc-ui-feed .filter-list li.selected > a { background: var(--eg-sun) !important; }
html.lc-ui.lc-pal-brand.lc-ui-feed .answers-list > h3 { font-weight: 700; }
/* my purchases */
html.lc-ui.lc-pal-brand.lc-ui-purchases .gc-bonus-alert { border: 0; border-radius: 12px; background: var(--eg-cream); }
html.lc-ui.lc-pal-brand.lc-ui-purchases .main-page-container h3 { font-weight: 700; }
html.lc-ui.lc-pal-brand.lc-ui-purchases .table .label,
html.lc-ui.lc-pal-brand.lc-ui-purchases .table .deal-status { border-radius: 6px; }
html.lc-ui.lc-pal-brand.lc-ui-purchases .table .btn-success { border-radius: 8px; font-weight: 700; }
/* notification settings */
html.lc-ui.lc-pal-brand.lc-ui-notify .standard-page-menu li.active a { border-bottom-width: 3px; }
html.lc-ui.lc-pal-brand.lc-ui-notify .my-notification-block .btn:not(.btn-link),
html.lc-ui.lc-pal-brand.lc-ui-notify .standard-page-content .state-selector { border-radius: 8px; }
html.lc-ui.lc-pal-brand.lc-ui-notify .standard-page-content .btn-primary { border-radius: 8px; font-weight: 700; }
/* profile: cream form card, rounder avatar, fields and buttons */
html.lc-ui.lc-pal-brand.lc-ui-profile .xdget-profileTitle,
html.lc-ui.lc-pal-brand.lc-ui-profile .xdget-userCompleteForm h3,
html.lc-ui.lc-pal-brand.lc-ui-profile .xdget-myProfileSystemPage h3.xdget-header,
html.lc-ui.lc-pal-brand.lc-ui-profile .xdget-userProfileSystemPage h4.xdget-header { font-weight: 700 !important; }
html.lc-ui.lc-pal-brand.lc-ui-profile .xdget-profileAvatar img { border-radius: 16px; }
html.lc-ui.lc-pal-brand.lc-ui-profile .xdget-userCompleteForm { border: 0 !important; border-radius: 16px; background: var(--eg-cream) !important; }
html.lc-ui.lc-pal-brand.lc-ui-profile .xdget-userCompleteForm .form-control { border-radius: 8px !important; }
html.lc-ui.lc-pal-brand.lc-ui-profile .xdget-myProfileSystemPage .btn-success,
html.lc-ui.lc-pal-brand.lc-ui-profile .xdget-myProfileSystemPage .uploadifive-button,
html.lc-ui.lc-pal-brand.lc-ui-profile .edit-profile-popup-btn { border-radius: 8px !important; }
html.lc-ui.lc-pal-brand.lc-ui-profile .xdget-myProfileSystemPage .btn-success { font-weight: 700 !important; }
html.lc-ui.lc-pal-brand.lc-ui-profile .lc-thumb { border-radius: 8px; }
html.lc-ui.lc-pal-brand.lc-ui-profile .lc-ptr .label { border-radius: 6px; }
html.lc-ui.lc-pal-brand.lc-ui-profile .xdget-profileAchievements img { border-radius: 6px; }
/* support messages */
html.lc-ui.lc-pal-brand .talks-widget-window .btn-primary,
html.lc-ui.lc-pal-brand .talks-widget-window .btn-success { border-radius: 8px !important; font-weight: 700 !important; }
/* login page: cream ground, white card with a soft shadow, rounder fields and button */
html.lc-ui.lc-pal-brand.lc-ui-login body { background: var(--eg-cream) !important; }
html.lc-ui.lc-pal-brand.lc-ui-login .xdget-loginUserForm.standard-form { border: 0; border-radius: 18px; box-shadow: var(--eg-shadow) !important; }
html.lc-ui.lc-pal-brand.lc-ui-login .xdget-loginUserForm h2.xdget-header,
html.lc-ui.lc-pal-brand.lc-ui-login .xdget-loginUserForm .remind-block h2 { font-weight: 700 !important; }
html.lc-ui.lc-pal-brand.lc-ui-login .xdget-loginUserForm .form-control { border-radius: 10px !important; }
html.lc-ui.lc-pal-brand.lc-ui-login .xdget-loginUserForm .btn.btn-success,
html.lc-ui.lc-pal-brand.lc-ui-login .xdget-loginUserForm .btn.btn-primary { border-radius: 10px !important; font-weight: 700 !important; }
@media (prefers-reduced-motion: reduce) {
  html.lc-ui.lc-pal-brand .stream-table tr.training-row > td > a:hover,
  html.lc-ui.lc-pal-brand .stream-table tr.training-row:hover,
  html.lc-ui.lc-pal-brand .lesson-list > li:hover,
  html.lc-ui.lc-pal-brand .lc-more-card:hover { transform: none; }
}

/* ---------- R3. Login, sign-up and password reset (/cms/system/login), same look as the LeChefio login page ---------- */
html.lc-ui.lc-ui-login body { background: #fff !important; color: var(--lc-ink); font-family: var(--lc-text); }
html.lc-ui.lc-ui-login .xdget-loginSystemPage { padding: 24px 20px 80px; box-sizing: border-box; }
html.lc-ui.lc-ui-login .gc-account-logo { margin-bottom: 32px !important; }
html.lc-ui.lc-ui-login .gc-account-logo img { height: 44px; width: auto; }
html.lc-ui.lc-ui-login .xdget-loginUserForm.standard-form {
  max-width: 420px; padding: 32px 32px 28px !important; border: 1px solid var(--lc-line); border-radius: 3px;
  background: #fff !important; box-shadow: none !important; font-family: var(--lc-text);
}
html.lc-ui.lc-ui-login .xdget-loginUserForm h2.xdget-header,
html.lc-ui.lc-ui-login .xdget-loginUserForm .remind-block h2 {
  margin: 0 0 22px; color: var(--lc-ink); font: 600 26px/1.2 var(--lc-display) !important; letter-spacing: 0; text-align: left !important;
}
html.lc-ui.lc-ui-login .xdget-loginUserForm .btn-register,
html.lc-ui.lc-ui-login .xdget-loginUserForm .btn-login {
  float: right !important; margin: 6px 0 0 12px; padding: 2px 0 !important; border: 0 !important; background: none !important; box-shadow: none !important;
  color: var(--lc-persimmon-ink) !important; font: 500 14px/1.4 var(--lc-text); text-decoration: none;
}
html.lc-ui.lc-ui-login .xdget-loginUserForm .btn-register:hover,
html.lc-ui.lc-ui-login .xdget-loginUserForm .btn-login:hover { text-decoration: underline; }
html.lc-ui.lc-ui-login .xdget-loginUserForm .xdget-userFormField { margin-bottom: 14px; }
html.lc-ui.lc-ui-login .xdget-loginUserForm .field-label { display: none; }
html.lc-ui.lc-ui-login .xdget-loginUserForm .remind-block label { color: var(--lc-gray); font: 500 14px/1.4 var(--lc-text); }
html.lc-ui.lc-ui-login .xdget-loginUserForm .form-control {
  display: block; width: 100% !important; height: 46px !important; padding: 11px 14px !important;
  border: 1px solid var(--lc-line) !important; border-radius: 2px !important; background: #fff !important; background-image: none !important;
  box-shadow: none !important; color: var(--lc-ink); font: 400 16px/1.4 var(--lc-text);
}
html.lc-ui.lc-ui-login .xdget-loginUserForm .form-control::placeholder { color: var(--lc-mute); opacity: 1; }
html.lc-ui.lc-ui-login .xdget-loginUserForm .form-control:focus { border-color: var(--lc-persimmon) !important; outline: 0; }
html.lc-ui.lc-ui-login .xdget-loginUserForm .reveal-password { top: 50%; transform: translateY(-50%); color: var(--lc-mute); }
html.lc-ui.lc-ui-login .xdget-loginUserForm .form-buttons,
html.lc-ui.lc-ui-login .xdget-loginUserForm .xdget-div.form-buttons {
  display: flex; flex-direction: column; align-items: stretch; gap: 14px; width: 100% !important; margin: 8px 0 0 !important; float: none !important;
}
html.lc-ui.lc-ui-login .xdget-loginUserForm .form-buttons::after { content: none !important; }
html.lc-ui.lc-ui-login .xdget-loginUserForm .form-buttons > .xdget-col { width: 100%; padding: 0; float: none; text-align: center; }
html.lc-ui.lc-ui-login .xdget-loginUserForm .form-buttons > .xdget-col.empty { display: none; }
html.lc-ui.lc-ui-login .xdget-loginUserForm .btn.btn-success,
html.lc-ui.lc-ui-login .xdget-loginUserForm .btn.btn-primary {
  display: block; width: 100% !important; float: none !important; padding: 13px 20px !important; border: 1px solid var(--lc-persimmon) !important; border-radius: 3px !important;
  background: var(--lc-persimmon) !important; color: var(--lc-on-accent) !important; box-shadow: none !important; text-shadow: none;
  font: 600 16px/1.2 var(--lc-text) !important; letter-spacing: 0;
}
html.lc-ui.lc-ui-login .xdget-loginUserForm .btn.btn-success:hover,
html.lc-ui.lc-ui-login .xdget-loginUserForm .btn.btn-primary:hover { background: var(--lc-accent-hover) !important; border-color: var(--lc-accent-hover) !important; }
html.lc-ui.lc-ui-login .xdget-loginUserForm .input-group .btn.btn-success { width: auto !important; padding: 11px 16px !important; font-size: 15px !important; }
html.lc-ui.lc-ui-login .xdget-loginUserForm .input-group .btn .glyphicon { display: none; }
html.lc-ui.lc-ui-login .xdget-loginUserForm .btn-remind,
html.lc-ui.lc-ui-login .xdget-loginUserForm .btn-logout,
html.lc-ui.lc-ui-login .xdget-loginUserForm .remind-block .btn-link {
  float: none !important; align-self: center; padding: 2px 4px !important; border: 0 !important; background: none !important; box-shadow: none !important;
  color: var(--lc-gray) !important; font: 500 14px/1.4 var(--lc-text); text-decoration: none; white-space: normal;
}
html.lc-ui.lc-ui-login .xdget-loginUserForm .btn-remind:hover,
html.lc-ui.lc-ui-login .xdget-loginUserForm .btn-logout:hover,
html.lc-ui.lc-ui-login .xdget-loginUserForm .remind-block .btn-link:hover { color: var(--lc-persimmon-ink) !important; text-decoration: underline; }
html.lc-ui.lc-ui-login .xdget-loginUserForm .remind-block .form-group:last-child { display: flex; flex-direction: column; align-items: stretch; gap: 12px; margin-bottom: 0; }
html.lc-ui.lc-ui-login .xdget-loginUserForm .login-block a,
html.lc-ui.lc-ui-login .xdget-loginUserForm .remind-block a { color: var(--lc-persimmon-ink); }
html.lc-ui.lc-ui-login .xdget-loginUserForm .html-content,
html.lc-ui.lc-ui-login .xdget-loginUserForm .has-registered-message { color: var(--lc-gray); font: 400 14px/1.55 var(--lc-text); }
html.lc-ui.lc-ui-login .xdget-loginUserForm > .xdget-html { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--lc-line); }
html.lc-ui.lc-ui-login .xdget-loginUserForm > .xdget-html + .xdget-html { margin-top: 0; padding-top: 4px; border-top: 0; }
html.lc-ui.lc-ui-login .xdget-loginUserForm > .xdget-html p { margin: 0 0 6px; }
html.lc-ui.lc-ui-login .xdget-loginUserForm > .xdget-html a { color: var(--lc-persimmon-ink) !important; }
html.lc-ui.lc-ui-login .xdget-loginUserForm .alert { margin-bottom: 18px; padding: 12px 14px; border: 1px solid transparent; border-radius: 2px; font-size: 14px; line-height: 1.5; }
html.lc-ui.lc-ui-login .xdget-loginUserForm .alert-danger { background: rgba(212, 84, 59, .08); border-color: rgba(212, 84, 59, .3); color: var(--lc-persimmon-ink); }
html.lc-ui.lc-ui-login .xdget-loginUserForm .alert-success { background: rgba(111, 138, 82, .1); border-color: rgba(111, 138, 82, .35); color: #4f6a37; }
html.lc-ui.lc-ui-login .xdget-loginUserForm .global-confirm-checkbox-block label,
html.lc-ui.lc-ui-login .xdget-loginUserForm .register-form .checkbox label {
  display: flex; align-items: flex-start; gap: 10px; color: var(--lc-mute); font-size: 13px; line-height: 1.5; cursor: pointer;
}
html.lc-ui.lc-ui-login .xdget-loginUserForm input[type="checkbox"] { flex: 0 0 auto; width: 16px; height: 16px; margin-top: 2px; accent-color: var(--lc-persimmon-ink); }
@media (max-width: 520px) {
  html.lc-ui.lc-ui-login .xdget-loginSystemPage { padding: 20px 16px 56px; }
  html.lc-ui.lc-ui-login .gc-account-logo { margin-top: 16px; margin-bottom: 20px !important; }
  html.lc-ui.lc-ui-login .xdget-loginUserForm.standard-form { width: 100% !important; max-width: 100% !important; padding: 24px 20px 22px !important; }
  html.lc-ui.lc-ui-login .xdget-loginUserForm h2.xdget-header { font-size: 24px !important; }
}

/* ---------- R6. The "Files" block of a lesson as the LeChefio lesson card (theme.js fileCards builds .lc-file-card per file,
   the GetCourse table stays in the page hidden); the card's edges line up with the lesson text (Egor 2026-10-21) ---------- */
html.lc-ui :is(.lt-lesson-files, .xdget-lessonFiles) table.files-table.lc-files-done { display: none; }
html.lc-ui :is(.lt-lesson-files, .xdget-lessonFiles) .lc-file-cards { display: flex; flex-direction: column; gap: 12px; margin: 0 10px 36px; }
html.lc-ui :is(.lt-lesson-files, .xdget-lessonFiles) .lc-file-card {
  background: #fff; border: 1px solid var(--lc-line); border-radius: 3px; padding: 16px 20px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px;
}
html.lc-ui :is(.lt-lesson-files, .xdget-lessonFiles) .lc-fc-icon {
  flex: 0 0 auto; width: 40px; height: 50px; border: 1px solid var(--lc-line); border-radius: 2px; background: #fff;
  display: flex; align-items: center; justify-content: center; color: var(--lc-persimmon); font-weight: 600; font-size: 11px; letter-spacing: .06em;
}
html.lc-ui :is(.lt-lesson-files, .xdget-lessonFiles) .lc-fc-body { flex: 1 1 260px; min-width: 0; }
html.lc-ui :is(.lt-lesson-files, .xdget-lessonFiles) .lc-fc-eyebrow { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--lc-accent-hover); font-weight: 600; }
html.lc-ui :is(.lt-lesson-files, .xdget-lessonFiles) .lc-fc-title { font-size: 17px; font-weight: 600; color: var(--lc-ink); margin-top: 2px; line-height: 1.3; overflow-wrap: anywhere; }
html.lc-ui :is(.lt-lesson-files, .xdget-lessonFiles) .lc-fc-meta { font-size: 14px; color: #5a514a; margin-top: 3px; line-height: 1.45; }
html.lc-ui :is(.lt-lesson-files, .xdget-lessonFiles) a.lc-fc-btn {
  flex: 0 0 auto; background: var(--lc-persimmon); color: var(--lc-on-accent) !important; text-decoration: none !important;
  font-weight: 600; font-size: 14px; line-height: 1; padding: 12px 20px; border-radius: 3px;
}
html.lc-ui :is(.lt-lesson-files, .xdget-lessonFiles) a.lc-fc-btn:hover { background: var(--lc-accent-hover); }

/* ---------- R7. "Две колонки" blocks that hold only a picture and its caption (lists of tools and ingredients) = a grid of photo
   cards instead of one photo per row. Lessons whose two-column blocks also hold a header or a text keep their own layout. The 14
   pictures whose files are gone from the storage (GetCourse draws a grey "JPG" stub for them) are hidden, the captions stay
   (Egor 2026-10-22; lessons 197805859 198005429 204740477 204740480 223331580 229677000 229677702) ---------- */
html.lc-ui .block-set:has(> .o-lt-twocolumn):not(:has(> .o-lt-twocolumn .part-text, > .o-lt-twocolumn .part-header)) {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 22px 18px; align-items: start; padding-inline: 14px;
}
html.lc-ui .block-set:has(> .o-lt-twocolumn):not(:has(> .o-lt-twocolumn .part-text, > .o-lt-twocolumn .part-header)) > :not(.o-lt-twocolumn) { grid-column: 1 / -1; }
html.lc-ui .block-set:has(> .o-lt-twocolumn):not(:has(> .o-lt-twocolumn .part-text, > .o-lt-twocolumn .part-header)) > .o-lt-twocolumn,
html.lc-ui .block-set:has(> .o-lt-twocolumn):not(:has(> .o-lt-twocolumn .part-text, > .o-lt-twocolumn .part-header)) > .o-lt-twocolumn .lt-block,
html.lc-ui .block-set:has(> .o-lt-twocolumn):not(:has(> .o-lt-twocolumn .part-text, > .o-lt-twocolumn .part-header)) > .o-lt-twocolumn .lt-block-wrapper { padding: 0 !important; margin: 0 !important; min-height: 0 !important; }
html.lc-ui .block-set:has(> .o-lt-twocolumn):not(:has(> .o-lt-twocolumn .part-text, > .o-lt-twocolumn .part-header)) > .o-lt-twocolumn .my-container,
html.lc-ui .block-set:has(> .o-lt-twocolumn):not(:has(> .o-lt-twocolumn .part-text, > .o-lt-twocolumn .part-header)) > .o-lt-twocolumn .builder { display: block; float: none; width: auto; max-width: none; margin: 0; padding: 0; }
html.lc-ui .block-set:has(> .o-lt-twocolumn):not(:has(> .o-lt-twocolumn .part-text, > .o-lt-twocolumn .part-header)) > .o-lt-twocolumn .builder-item { margin: 0 !important; }
html.lc-ui .block-set:has(> .o-lt-twocolumn):not(:has(> .o-lt-twocolumn .part-text, > .o-lt-twocolumn .part-header)) > .o-lt-twocolumn .image-box { margin: 0; }
html.lc-ui .block-set:has(> .o-lt-twocolumn):not(:has(> .o-lt-twocolumn .part-text, > .o-lt-twocolumn .part-header)) > .o-lt-twocolumn .image-box img {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; background: #fff;
  border: 1px solid var(--lc-line); border-radius: 3px;
}
html.lc-ui .block-set:has(> .o-lt-twocolumn):not(:has(> .o-lt-twocolumn .part-text, > .o-lt-twocolumn .part-header)) > .o-lt-twocolumn .lt-image-caption { margin-top: 8px; text-align: left; }
html.lc-ui .block-set:has(> .o-lt-twocolumn):not(:has(> .o-lt-twocolumn .part-text, > .o-lt-twocolumn .part-header)) > .o-lt-twocolumn .lt-image-caption p { margin: 0; font: 600 14px/1.35 var(--lc-text); color: var(--lc-ink); }
@media (min-width: 760px) {
  html.lc-ui .block-set:has(> .o-lt-twocolumn):not(:has(> .o-lt-twocolumn .part-text, > .o-lt-twocolumn .part-header)) { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
}
/* grey stubs in picture-and-caption cards: the picture goes, the caption stays */
html.lc-ui .o-lt-twocolumn .image-box img[src*="ad4928353d03db3c86e398053ea224bd"],
html.lc-ui .o-lt-twocolumn .image-box img[src*="cc7efa7a0760c930dae37b270bddb62f"],
html.lc-ui .o-lt-twocolumn .image-box img[src*="e8d062c9eed7f89954f67fb4b099ed2c"],
html.lc-ui .o-lt-twocolumn .image-box img[src*="e520a53fa08cde8f0e1b69139929d1ef"],
html.lc-ui .o-lt-twocolumn .image-box img[src*="756647b1db3fd9c31380cf6b775387c9"],
html.lc-ui .o-lt-twocolumn .image-box img[src*="268e6f2f3875f3f1b4f0c83552f57fac"],
html.lc-ui .o-lt-twocolumn .image-box img[src*="7d6b2563b66de9fce0ad2cf5fd4a20a9"],
html.lc-ui .o-lt-twocolumn .image-box img[src*="4b1a9b847c477def4702c7ff7398a286"] { display: none !important; }
/* grey stubs that stand alone in the left column of a block with a header and a text (the caption only repeats the header):
   the whole left column goes, the header and the text move to the left edge */
html.lc-ui .o-lt-twocolumn .builder:has(> .part-image img[src*="3af31791d950ab13a4e2f0a7613efe4f"]),
html.lc-ui .o-lt-twocolumn .builder:has(> .part-image img[src*="aa059521b9a55fb056a49870ec131a06"]),
html.lc-ui .o-lt-twocolumn .builder:has(> .part-image img[src*="c4557f608d93771b93860fa62c80db7a"]),
html.lc-ui .o-lt-twocolumn .builder:has(> .part-image img[src*="549a0217eda22819e3f061d5d1e42c0b"]),
html.lc-ui .o-lt-twocolumn .builder:has(> .part-image img[src*="d84b64b3d7559bf93ade89dd2a322427"]),
html.lc-ui .o-lt-twocolumn .builder:has(> .part-image img[src*="d89a29595c96366c7975b9f7ef685c54"]) { display: none !important; }

/* R8: «Путь кондитера» (шкала 245873). На странице тренинга GetCourse сам рисует блок «Ваши достижения» (значки курсов и звание), а при открытой шкале добавляет в него строку со ссылкой на общий рейтинг. Блок скрыт, ссылки на страницу рейтинга сделаны некликабельными. */
.xdget-trainingAchievements { display: none !important; }
a[href*="/pl/user/scale/view-results"] { pointer-events: none !important; color: inherit !important; text-decoration: none !important; cursor: default !important; }

/* ---------- R9. Reply form (the curators' answers feed and the answers under lesson tasks): GetCourse hides "Отправить" until the
   first typing and floats it to the left under the field; the LeChefio rule `margin-left: auto` pushed it to the right edge, which
   under the long list of templates in the feed is a corner far from the field. Back to the left edge; `column-gap: 0` so that the
   empty siblings of the button in the flex row (`.comment-attach-file-link` and an empty div) do not shift it by 20px
   (Egor 2026-10-22; the button still shows only after the first typing, as GetCourse does) ---------- */
html.lc-ui:is(.lc-ui-lesson, .lc-ui-feed) .answer_wrapper .new-comment .textarea-block { column-gap: 0; }
html.lc-ui:is(.lc-ui-lesson, .lc-ui-feed) .answer_wrapper .new-comment .btn-send { margin: 0 !important; }
/* ---------- R10 lc-up: quiet upgrade form in the right column of trainings (Самостоятельно -> С поддержкой). Class lc-up is set on the orderForm xdget (elClass). v2 2026-10-26 ---------- */
html .xdget-orderForm.lc-up { display: block; box-sizing: border-box; margin: 0 0 20px; padding: 18px 18px 20px; background: #fff; border: 1px solid var(--lc-line, #e5dfd9); border-radius: 3px; box-shadow: none; color: var(--lc-ink, #221d1a); font-family: var(--lc-text, inherit); }
html .xdget-orderForm.lc-up::before { content: "Ваш тариф: Самостоятельно"; display: block; margin: 0 0 8px; font-size: 11px; line-height: 1.3; letter-spacing: .09em; text-transform: uppercase; color: var(--lc-mute, #8a7f76); }
html .xdget-orderForm.lc-up > .xdget-header { margin: 0 0 8px; padding: 0; font-family: var(--lc-display, inherit); font-size: 18px; line-height: 1.3; font-weight: 600; color: var(--lc-ink, #221d1a); }
html .xdget-orderForm.lc-up > .xdget-html { margin: 0 0 14px; padding: 0; }
html .xdget-orderForm.lc-up > .xdget-html p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--lc-gray, #5a514a); }
html .xdget-orderForm.lc-up > .xdget-offerSelector { margin: 0 0 12px; padding: 0; }
html .xdget-orderForm.lc-up .xdget-offer { margin: 0; padding: 0; border: 0; background: none; }
html .xdget-orderForm.lc-up .offer-xdget-container label { display: block; margin: 0; padding: 0; font-weight: 400; cursor: default; }
html .xdget-orderForm.lc-up .offer-title, html .xdget-orderForm.lc-up .offer-desc-string, html .xdget-orderForm.lc-up .other-currencies, html .xdget-orderForm.lc-up .source-price { display: none; }
html .xdget-orderForm.lc-up .price-block { display: block; float: none; margin: 0; padding: 0; }
html .xdget-orderForm.lc-up .final-price { font-size: 18px; font-weight: 600; color: var(--lc-ink, #221d1a); }
html .xdget-orderForm.lc-up .final-price::after { content: " к доплате"; font-size: 14px; font-weight: 400; color: var(--lc-mute, #8a7f76); }
html .xdget-orderForm.lc-up > .xdget-userFormField { margin: 10px 0 0; }
html .xdget-orderForm.lc-up .form-buttons { display: block; margin: 0; padding: 0; }
html .xdget-orderForm.lc-up .form-buttons .btn { display: block; width: 100%; margin: 0; padding: 10px 16px; border: 1px solid var(--lc-persimmon, #d4543b) !important; border-radius: 3px; background: #fff !important; color: var(--lc-persimmon, #d4543b) !important; font-size: 14px; line-height: 1.2; font-weight: 600; text-align: center; box-shadow: none; text-shadow: none; }
html .xdget-orderForm.lc-up .form-buttons .btn:hover { background: var(--lc-persimmon, #d4543b) !important; color: #fff !important; }
html .xdget-orderForm.lc-up .form-buttons::after { content: "Откроется сразу после оплаты"; display: block; margin-top: 8px; font-size: 12.5px; color: var(--lc-mute, #8a7f76); }
/* ---------- /R10 ---------- */

/* ---------- R12. Old-format lessons ("Текстовый урок": the text sits in .xdget-lessonContent and the files in .xdget-lessonFiles,
   GetCourse draws them with its old xdget page, not with blocks, so the block rules above never reached them), e.g. the 54 books of
   "Библиотека PDF-книг": the same look as a lesson made of blocks (title, hairline row, text, file card). theme.js builds the file
   card (fileCards) and turns "1 из 1 уроков" into "Урок 1 из 1" for this markup too (Egor 2026-10-27) ---------- */
html.lc-ui.lc-ui-lesson .xdget-lesson :is(.center-block.row-section, .row, .simple-answer) { background: transparent !important; }
html.lc-ui.lc-ui-lesson .xdget-lesson .center-block.row-section { margin-bottom: 40px; }
html.lc-ui.lc-ui-lesson .xdget-lessonTitle .row > div { padding: 4px 0 0 !important; text-align: left !important; color: var(--lc-gray); font: 400 16px/1.6 var(--lc-text); }
html.lc-ui.lc-ui-lesson .xdget-lessonTitle h2 { margin: 0 0 6px; color: var(--lc-ink); font: 600 34px/1.15 var(--lc-display); text-align: left; text-wrap: balance; }
html.lc-ui.lc-ui-lesson .xdget-lessonNavigation .row {
  margin: 16px 0 0 !important; padding: 12px 0 !important; overflow: visible !important; background: transparent !important;
  border-top: 1px solid var(--lc-line); border-bottom: 1px solid var(--lc-line) !important;
}
html.lc-ui.lc-ui-lesson .xdget-lessonNavigation table td { vertical-align: middle; padding: 0 !important; }
html.lc-ui.lc-ui-lesson .xdget-lessonNavigation td.text-center { text-align: left !important; width: auto !important; }
html.lc-ui.lc-ui-lesson .xdget-lessonNavigation td.lc-empty { display: none !important; }
html.lc-ui.lc-ui-lesson .xdget-lessonNavigation [class*="user-state-"]:not(.user-state-label) { display: inline-block; }
html.lc-ui.lc-ui-lesson .xdget-lessonNavigation .user-state-label {
  display: inline-block; color: var(--lc-mute) !important; font: 500 12px/1.4 var(--lc-text) !important;
  letter-spacing: .06em; text-transform: uppercase;
}
html.lc-ui.lc-ui-lesson .xdget-lessonNavigation a { color: var(--lc-persimmon-ink) !important; font: 600 14px/1.4 var(--lc-text); text-decoration: none !important; }
html.lc-ui.lc-ui-lesson .xdget-lessonNavigation a:hover { color: var(--lc-persimmon) !important; }
html.lc-ui.lc-ui-lesson .xdget-lessonContent .content-row > div { max-width: 820px; padding: 24px 0 0 14px !important; color: var(--lc-ink); font: 400 16px/1.65 var(--lc-text); }
html.lc-ui.lc-ui-lesson .xdget-lessonContent .content-row > div p,
html.lc-ui.lc-ui-lesson .xdget-lessonContent .content-row > div li { margin-left: 0 !important; color: var(--lc-ink); font-family: var(--lc-text); line-height: 1.65; }
html.lc-ui.lc-ui-lesson .xdget-lessonContent .content-row > div p { margin-bottom: 6px; }
html.lc-ui.lc-ui-lesson .xdget-lessonContent .content-row > div p:has(> br:only-child) { height: 10px; margin: 0; overflow: hidden; }
html.lc-ui.lc-ui-lesson .xdget-lessonFiles:has(.lc-file-cards) h3 { display: none; }
html.lc-ui.lc-ui-lesson .xdget-lessonFiles .files-row > div { padding: 12px 0 0 !important; }
html.lc-ui.lc-ui-lesson .xdget-lessonAnswers .row-section { margin: 8px 0 40px !important; padding-top: 28px; background: transparent !important; border-top: 1px solid var(--lc-line); }
html.lc-ui.lc-ui-lesson .xdget-lessonAnswers .user-image { display: none; }
html.lc-ui.lc-ui-lesson .xdget-lessonAnswers .answer-comment.textarea-block { margin-left: 0 !important; }
html.lc-ui.lc-ui-lesson .xdget-lessonAnswers textarea { width: 100% !important; min-height: 44px; padding: 10px 40px 10px 12px !important; border: 1px solid var(--lc-line); border-radius: 3px; font: 400 15px/1.5 var(--lc-text); }
@media (max-width: 767px) {
  html.lc-ui.lc-ui-lesson .xdget-lessonNavigation .row:not(:has(a)) { display: none !important; }
}
/* ---------- R13 second column on the right (as before the 20.10 launch): the LeChefio course-page rule makes .col-md-8 a full-width single column and drops the second column under the lessons; on desktop, when a training has a second column, restore the bootstrap two-column layout like on the trainings list. 2026-10-27 ---------- */
@media (min-width: 992px) {
  html.lc-ui.lc-ui-course .xdget-training .xdget-row:has(> .xdget-container.col-md-4) > .xdget-container.col-md-8 { float: left; width: 66.6667%; max-width: none; }
}
/* ---------- /R13 ---------- */
