﻿.prototype-banner { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 10px clamp(14px,3vw,28px); background: #fff7e4; color: #805a13; border-bottom: 1px solid #e7d19b; font-size: 13px; font-weight: 800; }
.prototype-banner span { color: #667286; font-weight: 700; }
.prototype-actions { display: flex; gap: 10px; flex-wrap: wrap; padding: 14px 16px; border-bottom: 1px solid var(--line); background: #fbfcfe; }
.prototype-actions .btn { text-decoration: none; }
.prototype-preview { margin: 0 16px 16px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 13px; color: var(--navy-900); }
.config-switches { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.toggle-line { display: flex; gap: 10px; align-items: center; font-weight: 800; color: var(--navy-900); }
.toggle-line input { width: auto; min-height: auto; }
.inline-note { padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #fbfcfe; color: var(--muted); font-weight: 800; }
.link-row { display:flex; gap:10px; flex-wrap:wrap; align-items:center; }
.prototype-local-nav { display:flex; justify-content:center; gap:10px; flex-wrap:wrap; padding:10px 16px; background:#fff7e4; border-bottom:1px solid #e7d19b; }
.prototype-local-nav a { color:#805a13; font-size:13px; font-weight:800; text-decoration:none; }
@media (max-width: 960px) { .prototype-banner { display: block; } .prototype-banner span { display:block; margin-top:4px; } .config-switches { grid-template-columns: 1fr; } }
.prototype-header-actions { display: flex; justify-content: center; margin-top: 4px; }
.prototype-actions-inline { border-bottom: 1px solid var(--line); }
.inline-toggle { min-height: 46px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.modal-panel-wide { width: min(920px, 100%); }
.excel-preview-row { display: grid; gap: 4px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.excel-preview-row.good strong { color: var(--success); }
.excel-preview-row.bad strong { color: var(--danger); }
@media (max-width: 960px) { .prototype-header-actions .btn { width: 100%; } .inline-toggle { width: 100%; } }

body[data-prototype="true"] .page-shell {
  width: calc(100% - 24px);
  max-width: none;
  margin-inline: auto;
  padding-inline: clamp(8px, 1.5vw, 24px);
}
body[data-prototype="true"] .workspace {
  grid-template-columns: minmax(330px, 410px) minmax(0, 1fr);
}
body[data-prototype="true"] .workspace > .panel:last-child { min-width: 0; }
body[data-prototype="true"] .module-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
body[data-prototype="true"] .metrics { grid-template-columns: repeat(5, minmax(0, 1fr)); }
body[data-prototype="true"] .table-wrap { max-width: 100%; overflow-x: auto; }
body[data-prototype="true"] [hidden] { display: none !important; }
body[data-prototype="true"] .technical-catalog-panel { width: 100%; min-width: 0; padding: 20px; overflow: visible; }
body[data-prototype="true"] .technical-catalog-head { display: grid; gap: 4px; margin-bottom: 18px; }
body[data-prototype="true"] .technical-catalog-head h2 { margin: 0; color: var(--navy-900); font-size: 22px; }
body[data-prototype="true"] .technical-catalog-head p { margin: 0; color: var(--muted); font-size: 14px; font-weight: 700; }
body[data-prototype="true"] .technical-catalog-layout { display: grid; grid-template-columns: minmax(300px, 35%) minmax(0, 1fr); gap: 18px; align-items: start; width: 100%; }
body[data-prototype="true"] .technical-catalog-section { display: grid; gap: 14px; min-width: 0; }
body[data-prototype="true"] .technical-section-head h3 { margin: 0; color: var(--navy-900); font-size: 20px; }
body[data-prototype="true"] .technical-section-head p { margin: 4px 0 0; color: var(--muted); font-size: 14px; font-weight: 700; }
body[data-prototype="true"] .technical-section-body { display: grid; gap: 14px; }
body[data-prototype="true"] .technical-list { display: grid; gap: 10px; }
body[data-prototype="true"] .technical-brand-row--selected { border-color: var(--gold); box-shadow: inset 4px 0 0 var(--gold); background: #fffdf6; }
@media (max-width: 1100px) {
  body[data-prototype="true"] .workspace { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  body[data-prototype="true"] .form-panel { display: block; }
  body[data-prototype="true"] .mobile-register { display: none; }
  body[data-prototype="true"] .module-tabs { display: flex; overflow-x: auto; padding-bottom: 4px; }
  body[data-prototype="true"] .module-tab { min-width: 170px; }
  body[data-prototype="true"] .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  body[data-prototype="true"] .technical-catalog-layout { grid-template-columns: 1fr; }
}
