/* Каркас — страница настройки конструктора под клиента: слева форма, справа предпросмотр и код */
.st { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 12px; align-items: start; }
.st__form h2 { margin-top: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.st__form h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.st__color { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 6px; }
.st__color input[type=color] { width: 46px; height: 46px; padding: 3px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); cursor: pointer; }
.st__types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
.st__types .check { margin-top: 0; }
.st__side { display: grid; gap: 12px; position: sticky; top: 84px; }
.st__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.st__sizes { margin: 0; box-shadow: none; background: var(--bg); }
.st__sizes button { min-height: 38px; padding: 0 14px; font-size: .875rem; }
.st__frame { display: flex; justify-content: center; padding: 10px; border-radius: 14px; background: var(--bg); border: 1px dashed var(--line); overflow: hidden; }
.st__frame iframe { width: 100%; height: 680px; border: 0; border-radius: 16px; background: #fff; box-shadow: var(--shadow); transition: width .3s var(--ease); }
.st__code { min-height: 110px; font-family: ui-monospace, Consolas, monospace !important; font-size: .8125rem; word-break: break-all; }
.st__link { color: var(--accent); font-weight: 600; }
@media (max-width: 1100px) { .st { grid-template-columns: minmax(0, 1fr); } .st__side { position: static; } }

.st__clients { min-width: 0; font-size: .875rem; }
.st__clients td, .st__clients th { padding: 10px 12px; }
.st__clients tr[data-id] { cursor: pointer; }
.st__clients tr[data-id]:hover td { background: var(--bg); }
.st__state { display: inline-flex; padding: 2px 10px; border-radius: 999px; font-size: .75rem; font-weight: 600; background: #E3F4E8; color: #17663A; white-space: nowrap; }
.st__state.is-soon { background: #FFF0D6; color: #8A5A00; }
.st__state.is-off { background: #FBE4E1; color: #B3261E; }
.st__form select.or-input { background: var(--bg); }
