/* Стили для контента, который менеджер пишет в Markdown.
   Разделители между секциями кейса: в исходном зеркале секции обёрнуты в
   <section> с border-bottom. Markdown даёт плоскую последовательность
   <h2>/<p>, поэтому разделитель вешаем на заголовки верхнего уровня. */
.equipment-case-content > h2 {
  padding-top: 28px;
  margin-top: 28px;
  border-top: 1px solid var(--line);
}
.equipment-case-content > h2:first-child {
  padding-top: 0;
  margin-top: 0;
  border-top: 0;
}

/* Список приложенных файлов в техническом опроснике (с удалением по одному). */
.pilot-file-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.pilot-file-list:empty { margin: 0; }
.pilot-file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  background: #0b182b;
  border: 1px solid #2f4a6b;
  border-radius: 8px;
}
.pilot-file-name { font-size: 13px; color: #c7d6e8; word-break: break-word; line-height: 1.4; }
.pilot-file-remove {
  flex: none;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 20px;
  line-height: 1;
  color: #9db4d4;
  background: transparent;
  border: 1px solid #3a567b;
  border-radius: 6px;
  cursor: pointer;
}
.pilot-file-remove:hover { color: #fff; border-color: #6aa7f5; background: #16283e; }

/* Футер: копирайт выравниваем по той же высоте и центру, что и ссылки
   (у ссылок min-height:44px + flex center), чтобы строка стояла ровно. */
.footer-bottom > p { display: flex; min-height: 44px; align-items: center; margin: 0; }

/* Чекбоксы согласий в техническом опроснике — тот же вид, что в короткой
   форме заявки (архивные стили привязаны к #short-form, опросник их не видел). */
#questionnaire-form .form-consents { display: grid; gap: 16px; margin-top: 22px; }
#questionnaire-form .consent-option {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  margin: 0;
  font-weight: 400;
}
#questionnaire-form .consent-option > input {
  appearance: auto;
  min-height: 0;
  width: 17px;
  height: 17px;
  padding: 0;
  margin: 3px 0 0;
  border-radius: 3px;
  accent-color: #6aa7f5;
  box-shadow: none;
}
#questionnaire-form .consent-option > span {
  display: block;
  font-size: 12px;
  line-height: 1.75;
  color: #b6c9df;
  margin: 0;
}
#questionnaire-form .consent-option a { color: #b9d8ff; text-decoration: underline; text-underline-offset: 3px; }
#questionnaire-form .consent-option a:hover { color: #fff; }

/* Картинки, вставленные в тело новости/кейса через Markdown ![alt](src). */
.article-text img,
.equipment-case-content > p img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 24px 0;
  border-radius: 12px;
}
