/* Сервисы РИНДОР для закупщиков и проектировщиков. Подключить после css.css сайта. */

.rs { margin: 20px 0 28px; }
.rs-label { display: block; margin-bottom: 6px; font-size: 15px; color: #1f2a2d; }
.rs-input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid #c5d0d3;
  border-radius: 3px;
  background: #fff;
  color: #1f2a2d;
  font: inherit;
  font-size: 15px;
}
.rs-input--main { font: 14px/1.5 "SFMono-Regular", Consolas, "Liberation Mono", monospace; resize: vertical; }
.rs-input:focus { outline: 2px solid #558996; outline-offset: 1px; }
.rs-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 0; }
.rs-btn {
  display: inline-block;
  margin: 0;
  padding: 9px 16px;
  border: 1px solid #c5d0d3;
  border-radius: 3px;
  background: #fff;
  color: #2f5f6b;
  font: inherit;
  font-size: 14px;
  line-height: 1.3;
  cursor: pointer;
}
.rs-btn:hover:not([disabled]) { border-color: #558996; }
.rs-btn[disabled] { opacity: .5; cursor: default; }
.rs-btn:focus-visible { outline: 2px solid #558996; outline-offset: 2px; }
.rs-btn--main { border-color: #558996; background: #558996; color: #fff; }
.rs-btn--main:hover:not([disabled]) { background: #47778a; border-color: #47778a; }
.rs-file { position: absolute; width: 1px; height: 1px; opacity: 0; }
.rs-file:focus-visible + .rs-btn { outline: 2px solid #558996; }

.rs-result { margin-top: 20px; }
.rs-facts { margin: 0 0 8px; font-size: 15px; font-weight: 500; color: #1f2a2d; }
.rs-scroll { overflow-x: auto; }
.rs-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 13px; line-height: 1.4; }
.rs-table th { padding: 7px 8px; background: #f1f4f5; border-bottom: 1px solid #c5d0d3; color: #1f2a2d; font-weight: 500; text-align: left; white-space: nowrap; }
.rs-table td { padding: 7px 8px; border-bottom: 1px solid #e6eaeb; vertical-align: top; }
.rs-section td { background: #f7f9f9; font-weight: 500; }
.rs-place { min-width: 150px; color: #5d6b6f; }
.rs-mark { min-width: 170px; font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: 12.5px; }
.rs-std { display: block; margin-top: 2px; font-family: inherit; color: #6b7a7e; font-size: 11.5px; }
.rs-table .rs-num { text-align: right; }
.rs-nowrap { white-space: nowrap; }
.rs-warn { color: #8e2a20; }
.rs-note { margin: 8px 0 0; font-size: 13px; color: #5d6b6f; }
.rs-actions .rs-note { margin: 0; }

.rs-quote { max-width: 560px; margin-top: 4px; }
.rs-fields { display: flex; flex-wrap: wrap; gap: 10px; }
.rs-fields .rs-field { flex: 1 1 220px; }
.rs-field { display: block; margin-bottom: 10px; font-size: 13px; color: #5d6b6f; }
.rs-field .rs-input { margin-top: 3px; }
.rs-consent { display: block; font-size: 13px; color: #5d6b6f; }
.rs-consent a { color: #558996; }
.rs-trap { position: absolute; left: -9999px; width: 1px; height: 1px; }
.rs-done { margin: 8px 0; font-size: 15px; color: #2f5f6b; }

/* Конструктор условного обозначения */
.rk-fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 0 12px; margin-top: 8px; }
.rk-fields--row { grid-template-columns: minmax(110px, 1fr) minmax(170px, 2fr) minmax(90px, 1fr); margin-top: 16px; }
.rk-mark { margin: 2px 0 8px; padding: 12px 14px; border: 1px solid #c5d0d3; border-left: 3px solid #558996; background: #fff; color: #1f2a2d; font: 500 15px/1.5 "SFMono-Regular", Consolas, "Liberation Mono", monospace; overflow-wrap: anywhere; }
.rk-more { font-size: 14px; color: #1f2a2d; }
.rk-more summary { cursor: pointer; color: #2f5f6b; }
.rk-decode { margin: 6px 0 0; padding-left: 18px; font-size: 13px; line-height: 1.5; color: #3a4649; }
#rindor-konstruktor .rs-warn:empty, #rindor-konstruktor .rs-note:empty { display: none; }

/* Подбор противопожарной двери */
.ro-checks { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-bottom: 10px; }
#rindor-ognestoykost .rs-facts:empty, #rindor-ognestoykost .rk-decode:empty, #rindor-ognestoykost .rs-note:empty { display: none; }
#rindor-ognestoykost .rk-decode { margin-bottom: 8px; }

.rs select.rs-input { height: 40px; }
@media (max-width: 600px) {
  .rk-fields--row { grid-template-columns: 1fr; }
}

/* Техническое задание */
.rz-doc { margin: 12px 0; padding: 16px; border: 1px solid #c5d0d3; background: #fff; color: #1f2a2d; font-size: 14px; line-height: 1.45; }
.rz-doc h3 { margin: 0 0 12px; font-size: 18px; }
.rz-doc h4 { margin: 14px 0 4px; font-size: 15px; }
.rz-doc p { margin: 0 0 4px; }
.rz-table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 13px; }
.rz-table th, .rz-table td { padding: 5px 7px; border: 1px solid #c5d0d3; text-align: left; vertical-align: top; }
.rz-table th { background: #f1f4f5; font-weight: 500; }
.rz-group td { background: #f7f9f9; font-weight: 500; }
.rz-warn { margin: 10px 0; padding-left: 18px; font-size: 13px; }
.rz-warn:empty { display: none; }
#rindor-tz .rs-consent { margin-bottom: 4px; }

/* Строка ГОСТ-декодера на главной странице */
.rd-home { margin: 20px 0; }
.rd-home__label { display: block; margin-bottom: 6px; font-size: 15px; color: #1f2a2d; }
.rd-home__row { display: flex; flex-wrap: wrap; gap: 8px; }
.rd-home__input { flex: 1 1 260px; box-sizing: border-box; padding: 10px 12px; border: 1px solid #c5d0d3; border-radius: 3px; background: #fff; color: #1f2a2d; font: 15px/1.4 "SFMono-Regular", Consolas, "Liberation Mono", monospace; }
.rd-home__input:focus { outline: 2px solid #558996; outline-offset: 1px; }
.rd-home__btn { padding: 10px 18px; border: 1px solid #558996; border-radius: 3px; background: #558996; color: #fff; font: inherit; font-size: 15px; cursor: pointer; }
.rd-home__btn:hover { background: #47778a; }

/* Витрина раздела */
.rs-list { margin: 20px 0; padding: 0; list-style: none; border-top: 1px solid #e6eaeb; }
.rs-list li { padding: 14px 0; border-bottom: 1px solid #e6eaeb; }
.rs-list a { font-size: 17px; font-weight: 500; color: #2f5f6b; }
.rs-list p { margin: 3px 0 0; font-size: 14px; color: #5d6b6f; }

/* Предпросмотр результата: небольшое окно с прокруткой, страница не растягивается */
.rs-preview { max-height: 300px; overflow: auto; border: 1px solid #dbe2e4; border-radius: 3px; background: #fff; }
.rs-preview .rs-table { font-size: 12px; line-height: 1.3; }
.rs-preview .rs-table th { position: sticky; top: 0; z-index: 1; padding: 5px 7px; }
.rs-preview .rs-table td { padding: 4px 7px; }
.rs-preview .rs-mark { font-size: 11.5px; }
.rs-preview-note { margin: 4px 0 6px; }
.rs-upload-note { margin: 0 0 4px; }
.rs-upload-note a { color: #2f5f6b; text-decoration: underline; }

/* Конструктор: комплектация и пояснения по размерам */
.rk-extras { margin: -2px 0 8px; font-size: 14px; color: #1f2a2d; }
.rk-extras:empty, .rk-info:empty { display: none; }
.rk-info { margin: 0 0 8px; }

/* Витрина сервисов: плитки */
.rs-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; margin: 20px 0 32px; }
.rs-tile { display: flex; flex-direction: column; gap: 8px; min-height: 176px; padding: 18px; border: 1px solid #dbe2e4; border-top: 4px solid var(--c, #558996); border-radius: 6px; background: #fff; color: #1f2a2d; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.rs-tile:hover, .rs-tile:focus-visible { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(31, 42, 45, .10); text-decoration: none; color: #1f2a2d; }
.rs-tile__ico { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 8px; background: var(--c, #558996); color: #fff; }
.rs-tile__ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rs-tile b { font-size: 17px; font-weight: 500; line-height: 1.3; }
.rs-tile__text { font-size: 14px; line-height: 1.4; color: #5d6b6f; }
.rs-tile i { margin-top: auto; font-style: normal; font-size: 13px; font-weight: 500; color: var(--c, #558996); }
.rs-tile strong { font-size: 17px; font-weight: 500; line-height: 1.3; }
.rs-tile em { margin-top: auto; font-style: normal; font-size: 13px; font-weight: 500; color: var(--c, #558996); }
.rs-back { margin: 0 0 12px; font-size: 14px; }
.rs-back a { color: #2f5f6b; }
@media (prefers-reduced-motion: reduce) { .rs-tile { transition: none; } }

/* Размер проёма: уровни подсказок */
.rp-lines li { margin-bottom: 4px; }
.rp-lines .rp-ok::marker { color: #2e7d4f; }
.rp-lines .rp-warn { color: #8a5a00; }
.rp-lines .rp-bad { color: #8e2a20; }
.rp-lines .rp-note { color: #5d6b6f; }

/* Вес и объём: список изделий */
.rv-table td { vertical-align: middle; }
.rv-del { padding: 2px 9px; font-size: 16px; line-height: 1; }
