/* Посадочные раздела /resheniya/. Остальное оформление — стили мастер-страницы генератора. */
.landing-page .generator-intro { max-width: 1100px; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.landing-page .landing-intro__media img { display: block; width: 100%; height: auto; border-radius: 12px; }
@media (max-width: 767px) { .landing-page .generator-intro { grid-template-columns: 1fr; } }
.landing-page .landing-promo { margin: 24px 0 32px; }
.landing-page .landing-promo__note { margin: 12px 0 0; font-size: 14px; }
.landing-page .landing-registry-link { margin: 12px 0 0; }
.landing-page .landing-kbk { width: 100%; margin: 12px 0 16px; border-collapse: collapse; }
.landing-page .landing-kbk th, .landing-page .landing-kbk td { padding: 8px 10px; border: 1px solid #d5d9de; text-align: left; vertical-align: top; }
.landing-page .landing-kbk th { background: #f4f6f8; }
.landing-page .generator-support code { white-space: nowrap; }
@media (max-width: 480px) { .landing-page .generator-support code { white-space: normal; word-break: break-all; } }
@media (max-width: 600px) {
  .landing-page .landing-kbk { display: block; overflow-x: auto; font-size: 13px; }
  .landing-page .landing-kbk th, .landing-page .landing-kbk td { padding: 6px; }
  .landing-page .generator-support code { white-space: normal; word-break: break-all; }
}

/* Журнал посещений (attendance.js): кнопка у поля суммы и окно. Окно добавляется в конец body. */
.attendance-open { display: inline-block; margin: 6px 0 0 8px; padding: 5px 10px; border: 1px solid #c9ced6; border-radius: 6px; background: #fff; font-size: 14px; line-height: 1.3; white-space: nowrap; cursor: pointer; }
.attendance-open:hover, .attendance-open:focus { border-color: #8a94a3; background: #f4f6f8; }
.attendance-modal .modal-title { font-weight: 700; text-transform: none; }
.attendance-modal .modal-body { max-height: calc(100vh - 230px); overflow-y: auto; }
.attendance-price { max-width: 280px; margin-bottom: 16px; }
.attendance-price label { display: block; margin-bottom: 4px; font-weight: 600; }
.attendance-hint { margin: 6px 0 0; font-size: 13px; color: #5b6472; }
.attendance-error { margin: 6px 0 0; font-size: 13px; color: #b3261e; }
.attendance-areas { display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 992px) { .attendance-areas { flex-direction: row; align-items: flex-start; } .attendance-areas > * { flex: 1 1 0; min-width: 0; } }
.attendance-month__nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.attendance-nav { width: 36px; height: 36px; border: 1px solid #c9ced6; border-radius: 6px; background: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.attendance-calendar { width: 100%; table-layout: fixed; border-collapse: collapse; }
.attendance-calendar th { padding: 4px 0; font-size: 12px; font-weight: 600; text-align: center; color: #5b6472; }
.attendance-calendar td { height: 48px; padding: 2px; border: 1px solid #e3e6ea; text-align: center; vertical-align: top; }
.attendance-day { display: block; width: 100%; height: 100%; min-height: 42px; border: 0; background: transparent; font-size: 14px; cursor: pointer; }
.attendance-day:hover, .attendance-day:focus { background: #f4f6f8; }
.attendance-cell--marked { background: #e8f5e9; }
.attendance-cell__num { display: block; font-size: 12px; line-height: 1.2; color: #2e5d34; }
.attendance-lesson { display: block; width: 100%; margin-top: 2px; padding: 2px 0; border: 1px solid #7cb586; border-radius: 4px; background: #fff; font-size: 12px; line-height: 1.3; cursor: pointer; }
.attendance-lesson:hover, .attendance-lesson:focus { background: #f1faf2; }
.attendance-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; text-align: left; }
.attendance-total { flex: 1 1 220px; min-width: 0; }
.attendance-total__sum { font-size: 18px; font-weight: 700; }
.attendance-total__period { font-size: 13px; color: #5b6472; }
.attendance-total__reason { font-size: 13px; color: #b3261e; }
.attendance-footer .attendance-apply { margin: 0; }
.attendance-footer .attendance-apply[disabled] { opacity: .55; cursor: not-allowed; }
@media (max-width: 480px) {
  .attendance-open { margin-left: 0; }
  .attendance-modal .modal-dialog { margin: 6px; }
  .attendance-modal .modal-body { padding: 10px; }
  .attendance-footer .attendance-apply { width: 100%; }
}
/* Журнал: переключатели, метки занятий, недельная сетка */
.attendance-switch { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.attendance-switch button { padding: 6px 10px; border: 1px solid #c9ced6; border-radius: 6px; background: #fff; font-size: 14px; line-height: 1.3; cursor: pointer; }
.attendance-switch button[aria-pressed="true"] { border-color: #1b5e20; background: #1b5e20; color: #fff; font-weight: 600; box-shadow: inset 0 0 0 1px #fff; }
.attendance-area__title { display: block; margin-bottom: 2px; }
.attendance-week .attendance-hint { margin: 0 0 8px; }
.attendance-cell__head { display: flex; align-items: center; justify-content: space-between; }
.attendance-cell__add { width: 18px; height: 18px; padding: 0; border: 1px solid #7cb586; border-radius: 4px; background: #fff; font-size: 13px; line-height: 1; color: #2e5d34; cursor: pointer; }
.attendance-lesson__mark { display: block; }
.attendance-lesson--excused { border-color: #c9a227; background: #fff8e1; }
.attendance-lesson--unexcused { border-color: #c0392b; background: #fdecea; }
.attendance-lesson--moved { border-color: #2f6fb3; background: #e8f1fb; }
.attendance-fill { margin-top: 8px; padding: 6px 10px; border: 1px solid #1b5e20; border-radius: 6px; background: #fff; color: #1b5e20; font-size: 14px; cursor: pointer; }
.attendance-legend { margin: 10px 0 0; padding-left: 18px; font-size: 13px; color: #5b6472; }
.attendance-legend li { margin-bottom: 2px; }
.attendance-week__scroll { max-height: 300px; overflow: auto; border: 1px solid #e3e6ea; }
.attendance-grid { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; }
.attendance-grid th { padding: 4px 2px; background: #f4f6f8; font-size: 12px; font-weight: 600; text-align: center; color: #5b6472; }
.attendance-grid thead th { position: sticky; top: 0; z-index: 2; }
.attendance-grid tbody th, .attendance-grid thead th:first-child { position: sticky; left: 0; z-index: 1; width: 46px; }
.attendance-grid thead th:first-child { z-index: 3; }
.attendance-grid td { padding: 0; border-top: 1px solid #eef0f3; border-left: 1px solid #eef0f3; }
.attendance-grid tbody tr:nth-child(odd) td { border-top-color: #d5d9de; }
.attendance-grid td button { display: block; width: 100%; height: 32px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.attendance-grid td button:hover, .attendance-grid td button:focus { background: #e8f5e9; }
.attendance-grid td button[aria-pressed="true"] { background: #1b5e20; box-shadow: inset 0 0 0 2px #fff; }
.attendance-grid td button[aria-pressed="true"]::after { content: "✓"; color: #fff; font-size: 13px; }
@media (max-width: 480px) {
  .attendance-lesson__word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .attendance-lesson { font-size: 11px; }
  .attendance-week__scroll { max-height: 220px; }
  .attendance-switch button { padding: 5px 7px; font-size: 13px; }
}
/* Журнал: дозапись периода в назначение платежа, предложение кабинета */
.attendance-purpose { display: block; margin: 6px 0 0; font-size: 13px; font-weight: 400; cursor: pointer; }
.attendance-purpose input { margin: 0 4px 0 0; vertical-align: middle; }
.attendance-purpose__line { font-weight: 600; }
.attendance-purpose__note { font-size: 13px; color: #8a5a00; }
.attendance-offer { margin: 14px 0 0; padding: 10px 12px; border: 1px solid #d5d9de; border-radius: 6px; background: #f4f6f8; font-size: 14px; }
/* Блок преимуществ журнала посещений под формой */
.landing-page .landing-benefits { margin: 24px 0; }
.landing-page .landing-benefits__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; margin: 12px 0; padding: 0; list-style: none; }
.landing-page .landing-benefits__list li { padding: 12px 14px; border: 1px solid #d5d9de; border-radius: 10px; background: #f8faf8; }
.landing-page .landing-benefits__list strong { display: block; margin-bottom: 4px; }
.landing-page .landing-benefits__note { margin: 0; font-size: 14px; }
@media (max-width: 767px) { .landing-page .landing-benefits__list { grid-template-columns: 1fr; } }
