/* Záložka Vnější vlivy — host panel nad embed konfigurátorem */
/* Pane samotný nescrolluje — scroll jen uvnitř iframe konfigurátoru */
#p-vlivy.vr-vv-pane-active{
  display:flex !important;
  flex-direction:column;
  overflow:hidden !important;
  max-height:calc(100vh - 200px);
  height:calc(100vh - 200px);
  box-sizing:border-box;
  min-height:0;
}
.vr-vv-wrap{
  display:flex;flex-direction:column;gap:8px;min-height:0;flex:1 1 auto;height:100%;
}
.vr-vv-toolbar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;flex:0 0 auto}
.vr-vv-toolbar .muted{font-size:12px;color:#64748b}
.vr-vv-status{font-size:12px;color:#64748b;margin-left:auto}
.vr-vv-frame-wrap{
  border:1px solid #dbe3ef;border-radius:12px;overflow:hidden;background:#fff;
  flex:1 1 auto;min-height:0;height:auto;
}
.vr-vv-frame{width:100%;height:100%;border:0;display:block;background:#f3f6fa}
.vr-vv-modal-backdrop{
  display:none;position:fixed;inset:0;z-index:12000;background:rgba(15,23,42,.45);
  align-items:center;justify-content:center;padding:16px;
}
.vr-vv-modal-backdrop.open{display:flex}
.vr-vv-modal{
  width:min(720px,100%);max-height:min(86vh,900px);overflow:auto;background:#fff;
  border-radius:14px;box-shadow:0 24px 70px rgba(15,23,42,.35);display:flex;flex-direction:column;
}
.vr-vv-modal-h,.vr-vv-modal-f{
  padding:14px 16px;display:flex;align-items:center;justify-content:space-between;gap:10px;
  border-bottom:1px solid #e2e8f0;
}
.vr-vv-modal-f{border-bottom:0;border-top:1px solid #e2e8f0;justify-content:flex-end;flex-wrap:wrap}
.vr-vv-modal-h h3{margin:0;font-size:16px}
.vr-vv-modal-b{padding:14px 16px;display:grid;gap:12px}
.vr-vv-modal-b textarea{
  width:100%;min-height:120px;border:1px solid #cbd5e1;border-radius:8px;padding:10px;font:13px/1.45 ui-monospace,Consolas,monospace;
}
.vr-vv-code-list{display:grid;gap:6px;max-height:280px;overflow:auto;border:1px solid #e2e8f0;border-radius:10px;padding:8px}
.vr-vv-code-row{display:grid;grid-template-columns:22px 64px minmax(0,1fr);gap:8px;align-items:start;font-size:12px;padding:6px 4px;border-bottom:1px solid #f1f5f9}
.vr-vv-code-row:last-child{border-bottom:0}
.vr-vv-code-row code{font-weight:800;color:#1d4ed8}
.vr-vv-code-row .vr-vv-desc{color:#475569;line-height:1.35}
.vr-vv-code-row .vr-vv-unk{color:#b45309}
.vr-vv-pair-list{display:grid;gap:10px}
.vr-vv-pair-row{
  display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:10px;align-items:center;
  padding:10px;border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc;
}
.vr-vv-pair-row select{width:100%;border:1px solid #cbd5e1;border-radius:8px;padding:8px;font:inherit;font-size:12px}
.vr-vv-pair-meta{font-size:11px;color:#64748b;margin-top:4px;word-break:break-word}
@media(max-width:760px){
  #p-vlivy.vr-vv-pane-active{height:calc(100vh - 160px);max-height:calc(100vh - 160px)}
  .vr-vv-pair-row{grid-template-columns:1fr}
  .vr-vv-status{margin-left:0;width:100%}
}
