/* Дополнения к стилям макета для рабочей панели. */
.ov-tpl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 42%); gap: 18px; align-items: start; }
.ov-tpl .meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ov-last { display: grid; gap: 6px; color: var(--ink-2); font-size: 12.5px; }
.ov-last img { width: 100%; border: 1px solid var(--line); border-radius: var(--r); display: block; }
.ov-last:hover { text-decoration: none; }
.ov-last:hover img { border-color: var(--accent); }
.events li { grid-template-columns: 16px 112px minmax(0, 1fr); }
.code-line code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.code .code-line { background: transparent; border: 0; color: inherit; padding: 0; }
.code .code-line code { white-space: pre-wrap; word-break: break-all; }
.code .btn-ghost { color: #c7cbc5; }
.code .btn-ghost:hover { background: #2e3432; color: #fff; }
label.radio-row { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; flex-wrap: nowrap; }
label.radio-row input { margin-top: 3px; accent-color: var(--accent); }
label.radio-row > span { display: grid; gap: 1px; }
img.resp-img { width: 100%; display: block; }
.btn-active { border-color: var(--accent); background: var(--accent-soft); }
.bar { height: 8px; border-radius: 4px; background: var(--accent-soft); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--accent); border-radius: 4px; }
.warn-ink { color: var(--warn-ink); font-weight: 600; }
.field-label { font-size: 12.5px; font-weight: 500; color: var(--ink-2); margin-bottom: 4px; }
.api-doc { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.api-doc ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
.tabs { margin-bottom: 12px; }
.tab:hover { text-decoration: none; }
@media (max-width: 1100px) {
  .ov-tpl, .api-doc { grid-template-columns: minmax(0, 1fr); }
  .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.nav-badge { margin-left: auto; background: var(--warn); color: #3a2a00; font-size: 11.5px; font-weight: 700; border-radius: 9px; min-width: 18px; padding: 0 5px; line-height: 18px; text-align: center; }
.tbl tr.tg-pending td { background: var(--warn-soft); }
