.bmq-component{max-width:1180px;margin:0 auto 40px;font-family:Arial,Helvetica,sans-serif;color:#1d1d1f}
.bmq-header{border-left:6px solid #c8102e;padding:18px 0 18px 22px;margin-bottom:22px;background:#f7f7f8}
.bmq-kicker{text-transform:uppercase;letter-spacing:.08em;color:#c8102e;font-weight:700;font-size:13px}
.bmq-header h1{margin:4px 0 0;font-size:30px;line-height:1.2}
.bmq-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 22px}
.bmq-tabs a{display:inline-block;padding:10px 14px;border:1px solid #d6d6d6;border-radius:4px;color:#222;text-decoration:none;background:#fff}
.bmq-tabs a.active{background:#c8102e;border-color:#c8102e;color:#fff}
.bmq-form{display:block}
.bmq-section{border:1px solid #e2e2e2;margin-bottom:18px;padding:20px;background:#fff}
.bmq-section h2{margin:0 0 16px;font-size:22px}
.bmq-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px 18px}
.bmq-field{display:flex;flex-direction:column;gap:6px;grid-column:span 3}
.bmq-field-third{grid-column:span 2}
.bmq-field-full{grid-column:1/-1}
.bmq-field-textarea,.bmq-field-file,.bmq-field-gas_rooms,.bmq-field-powder_rooms,.bmq-field-autonomous_rooms{grid-column:1/-1}
.bmq-label{font-weight:700}
.bmq-required{color:#c8102e}
.bmq-field input[type=text],.bmq-field input[type=email],.bmq-field input[type=tel],.bmq-field input[type=number],.bmq-field select,.bmq-field textarea{width:100%;box-sizing:border-box;border:1px solid #cfcfcf;border-radius:4px;padding:10px 11px;background:#fff;color:#111}
.bmq-options{display:flex;flex-wrap:wrap;gap:12px 18px}
.bmq-options label{display:flex;align-items:center;gap:6px;font-weight:400}
.bmq-help{font-size:13px;color:#555;margin-top:4px}
.bmq-table-wrap{overflow-x:auto;width:100%}
.bmq-dim-table{width:100%;border-collapse:collapse;min-width:720px}
.bmq-dim-table th,.bmq-dim-table td{border:1px solid #d9d9d9;padding:8px;text-align:left;vertical-align:middle}
.bmq-dim-table th{background:#f3f3f3}
.bmq-dim-table input{width:100%;min-width:90px;box-sizing:border-box}
.bmq-room{margin-bottom:20px}
.bmq-room-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 10px}
.bmq-room h3{font-size:18px;margin:0}
.bmq-add-room,.bmq-remove-room{border:1px solid #c8102e;border-radius:4px;background:#fff;color:#c8102e;padding:9px 14px;font-weight:700;cursor:pointer}
.bmq-add-room:hover,.bmq-remove-room:hover{background:#c8102e;color:#fff}
.bmq-remove-room{padding:7px 12px;font-size:13px}
.bmq-actions{display:flex;justify-content:flex-end;margin-top:22px}
.bmq-submit{background:#c8102e;color:#fff;border:0;border-radius:4px;padding:13px 28px;font-weight:700;cursor:pointer}
.bmq-submit:hover{background:#a90d27}
.bmq-thankyou{border:1px solid #e2e2e2;padding:28px;background:#fff}
@media(max-width:760px){.bmq-grid{grid-template-columns:1fr}.bmq-field,.bmq-field-third,.bmq-field-full,.bmq-field-textarea,.bmq-field-file,.bmq-field-gas_rooms,.bmq-field-powder_rooms,.bmq-field-autonomous_rooms{grid-column:1/-1}.bmq-header h1{font-size:24px}.bmq-section{padding:15px}.bmq-actions{justify-content:stretch}.bmq-submit{width:100%}.bmq-room-head{align-items:flex-start;flex-direction:column}}

/* Газове пожежогасіння: технічне завдання у 3-колонковій сітці без табличних рамок */
.bmq-section-gas-technical .bmq-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 18px;border:0}
.bmq-section-gas-technical .bmq-field{grid-column:auto!important;border:0;padding:0;min-height:0;gap:8px;box-sizing:border-box}
.bmq-section-gas-technical .bmq-label{font-size:16px;line-height:1.18;font-weight:700}
.bmq-section-gas-technical .bmq-field input[type=text],.bmq-section-gas-technical .bmq-field input[type=number],.bmq-section-gas-technical .bmq-field select{padding:8px 9px}
.bmq-section-gas-technical .bmq-options{gap:8px 14px}
.bmq-section-gas-technical .bmq-field-spacer{visibility:hidden}
.bmq-section-gas-technical .bmq-grid>.bmq-field:nth-child(n+4):nth-child(-n+6){gap:4px}
.bmq-section-gas-technical .bmq-grid>.bmq-field:nth-child(n+4):nth-child(-n+6) .bmq-label{font-size:14px;line-height:1.15}
.bmq-section-gas-technical .bmq-grid>.bmq-field:nth-child(n+4):nth-child(-n+6) input[type=number],.bmq-section-gas-technical .bmq-grid>.bmq-field:nth-child(n+4):nth-child(-n+6) select{padding:5px 8px;min-height:32px}
.bmq-grid>.bmq-rooms,.bmq-grid>.bmq-table-wrap{grid-column:1/-1;width:100%;min-width:0}
.bmq-rooms{width:100%}
.bmq-gas-rooms{display:block}
.bmq-gas-rooms .bmq-table-wrap{width:100%}
.bmq-gas-rooms .bmq-dim-table{width:100%;min-width:720px}
.bmq-rooms-note{margin:0 0 12px;padding:11px 13px;border:1px dashed #cfcfcf;background:#fafafa;color:#555}
@media(max-width:760px){.bmq-section-gas-technical .bmq-grid{grid-template-columns:1fr}.bmq-section-gas-technical .bmq-field{grid-column:1/-1!important}.bmq-section-gas-technical .bmq-field-spacer{display:none}}

/* v1.0.15: вирівнювання радіо-полів технічного завдання газового пожежогасіння */
.bmq-section-gas-technical .bmq-field-radio .bmq-options{flex-wrap:nowrap;align-items:center;min-height:34px}
.bmq-section-gas-technical .bmq-field-modules_location .bmq-label,
.bmq-section-gas-technical .bmq-field-reserve_modules .bmq-label{min-height:22px;display:flex;align-items:flex-start}
.bmq-section-gas-technical .bmq-field-reserve_connected .bmq-label,
.bmq-section-gas-technical .bmq-field-pressure_relief_valve .bmq-label{min-height:40px;display:flex;align-items:flex-start}
.bmq-section-gas-technical .bmq-field-reserve_connected .bmq-options,
.bmq-section-gas-technical .bmq-field-pressure_relief_valve .bmq-options{align-self:flex-start}
@media(max-width:760px){.bmq-section-gas-technical .bmq-field-radio .bmq-options{flex-wrap:wrap}.bmq-section-gas-technical .bmq-field-modules_location .bmq-label,.bmq-section-gas-technical .bmq-field-reserve_modules .bmq-label,.bmq-section-gas-technical .bmq-field-reserve_connected .bmq-label,.bmq-section-gas-technical .bmq-field-pressure_relief_valve .bmq-label{min-height:0}}


/* v1.1.0: Порошкове пожежогасіння — технічне завдання */
.bmq-section-powder-technical .bmq-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 18px;border:0}
.bmq-section-powder-technical .bmq-field{grid-column:auto!important;border:0;padding:0;min-height:0;gap:8px;box-sizing:border-box}
.bmq-section-powder-technical .bmq-field-full{grid-column:1/-1!important}
.bmq-section-powder-technical .bmq-field-spacer{visibility:hidden}
.bmq-section-powder-technical .bmq-label{font-size:16px;line-height:1.18;font-weight:700}
.bmq-section-powder-technical .bmq-field input[type=text],.bmq-section-powder-technical .bmq-field input[type=number],.bmq-section-powder-technical .bmq-field select{padding:8px 9px}
.bmq-section-powder-technical .bmq-field-combustible_type .bmq-options{flex-wrap:nowrap;align-items:center;overflow-x:auto;white-space:nowrap;padding-bottom:2px}
.bmq-section-powder-technical .bmq-field-combustible_type .bmq-options label{flex:0 0 auto}
.bmq-section-powder-technical .bmq-field-reserve_modules .bmq-options{flex-wrap:nowrap;align-items:center;min-height:34px}
@media(max-width:760px){.bmq-section-powder-technical .bmq-grid{grid-template-columns:1fr}.bmq-section-powder-technical .bmq-field{grid-column:1/-1!important}.bmq-section-powder-technical .bmq-field-spacer{display:none}.bmq-section-powder-technical .bmq-field-combustible_type .bmq-options,.bmq-section-powder-technical .bmq-field-reserve_modules .bmq-options{flex-wrap:wrap;white-space:normal}}

/* v1.1.3: Порошкове пожежогасіння — очищення типів горючих речовин */
.bmq-section-powder-technical .bmq-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.bmq-section-powder-technical .bmq-field-spacer{display:none}
.bmq-section-powder-technical .bmq-field-mounting_height .bmq-label,
.bmq-section-powder-technical .bmq-field-temperature_range .bmq-label{min-height:38px;display:flex;align-items:flex-start}
.bmq-section-powder-technical .bmq-field-combustible_type .bmq-options{flex-wrap:nowrap;align-items:center;overflow-x:auto;white-space:nowrap;padding-bottom:2px}
.bmq-powder-rooms{display:block;width:100%}
.bmq-powder-rooms .bmq-table-wrap{width:100%}
.bmq-powder-rooms .bmq-dim-table{width:100%;min-width:720px}
@media(max-width:760px){.bmq-section-powder-technical .bmq-grid{grid-template-columns:1fr}.bmq-section-powder-technical .bmq-field-mounting_height .bmq-label,.bmq-section-powder-technical .bmq-field-temperature_range .bmq-label{min-height:0}.bmq-section-powder-technical .bmq-field-combustible_type .bmq-options{flex-wrap:wrap;white-space:normal}}


/* v1.1.3: Порошкове пожежогасіння — компактніший інтервал і обов’язкові поля */
.bmq-section-powder-technical .bmq-grid{gap:12px 18px}
.bmq-section-powder-technical .bmq-field{gap:4px}
.bmq-section-powder-technical .bmq-field input[type=text],
.bmq-section-powder-technical .bmq-field input[type=number],
.bmq-section-powder-technical .bmq-field select{padding:7px 9px;min-height:38px}
.bmq-section-powder-technical .bmq-field-mounting_height .bmq-label,
.bmq-section-powder-technical .bmq-field-temperature_range .bmq-label{min-height:0!important;display:block;align-items:initial}
.bmq-section-powder-technical .bmq-field-combustible_type{gap:6px}

/* v1.2.0: Кухонне пожежогасіння — примітка */
.bmq-field-note{background:#fafafa;border:1px solid #e2e2e2;padding:14px 16px;border-radius:2px;line-height:1.45}
.bmq-note-title{font-weight:700;margin-bottom:6px;color:#1d1d1f}
.bmq-field-note p{margin:0 0 8px}
.bmq-field-note ul{margin:0 0 8px 18px;padding:0}
.bmq-field-note li{margin:0 0 4px}


/* v1.2.1: Кухонне пожежогасіння — розміщення полів */
.bmq-section-kitchen-technical .bmq-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px}
.bmq-section-kitchen-technical .bmq-field{grid-column:auto!important;gap:5px}
.bmq-section-kitchen-technical .bmq-field-full,
.bmq-section-kitchen-technical .bmq-field-textarea{grid-column:1/-1!important}
.bmq-section-kitchen-technical .bmq-field input[type=text],
.bmq-section-kitchen-technical .bmq-field input[type=number],
.bmq-section-kitchen-technical .bmq-field select{padding:8px 9px;min-height:38px}
.bmq-section-kitchen-technical .bmq-field-manual_remote_start .bmq-options{flex-wrap:nowrap;align-items:center}
@media(max-width:760px){.bmq-section-kitchen-technical .bmq-grid{grid-template-columns:1fr}.bmq-section-kitchen-technical .bmq-field{grid-column:1/-1!important}.bmq-section-kitchen-technical .bmq-field-manual_remote_start .bmq-options{flex-wrap:wrap}}

/* v1.3.0: Автономне пожежогасіння — таблиця захищуваних об’ємів */
.bmq-field-autonomous_rooms{grid-column:1/-1}
.bmq-autonomous-rooms{display:block;width:100%}
.bmq-autonomous-rooms .bmq-table-wrap{width:100%}
.bmq-autonomous-rooms .bmq-dim-table{width:100%;min-width:720px}
.bmq-field-fire_load textarea{min-height:70px}

/* v1.3.1: Автономне пожежогасіння — розміщення полів технічного завдання */
.bmq-section-autonomous-technical .bmq-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px}
.bmq-section-autonomous-technical .bmq-field{grid-column:auto!important;gap:5px}
.bmq-section-autonomous-technical .bmq-field-full{grid-column:1/-1!important}
.bmq-section-autonomous-technical .bmq-field-fire_load{grid-column:auto!important}
.bmq-section-autonomous-technical .bmq-field-fire_load textarea{min-height:70px}
.bmq-section-autonomous-technical .bmq-field input[type=text],
.bmq-section-autonomous-technical .bmq-field input[type=number],
.bmq-section-autonomous-technical .bmq-field select{padding:8px 9px;min-height:38px}
.bmq-section-autonomous-technical .bmq-field-voltage_present .bmq-options{flex-wrap:nowrap;align-items:center}
@media(max-width:760px){.bmq-section-autonomous-technical .bmq-grid{grid-template-columns:1fr}.bmq-section-autonomous-technical .bmq-field{grid-column:1/-1!important}.bmq-section-autonomous-technical .bmq-field-voltage_present .bmq-options{flex-wrap:wrap}}


/* v1.3.3: Автономне пожежогасіння — вирівнювання висоти полів */
.bmq-section-autonomous-technical .bmq-field-fire_load textarea{min-height:38px!important;height:38px;line-height:1.2;resize:vertical}
.bmq-section-autonomous-technical .bmq-field-operating_temperature input[type=text],
.bmq-section-autonomous-technical .bmq-field-activation_type select{height:38px;min-height:38px;box-sizing:border-box;font-size:16px;line-height:1.2}
.bmq-section-autonomous-technical .bmq-field-operating_temperature,
.bmq-section-autonomous-technical .bmq-field-activation_type{align-self:start}
