/* Article rich-text toolbar + contenteditable */
.vr-art-body{display:flex;flex-direction:column;gap:6px;width:100%}
.vr-art-vv-slot:empty{display:none}
.vr-art-vv-banner{
  border:1px solid #1e3a5f;background:rgba(30,58,95,.35);border-radius:8px;
  padding:8px 10px;display:grid;gap:6px
}
.vr-art-vv-label{font-size:11px;font-weight:700;color:#93c5fd;letter-spacing:.02em;text-transform:uppercase}
.vr-art-vv-chips{display:flex;flex-wrap:wrap;gap:6px}
.vr-art-vv-chip{
  display:inline-flex;align-items:baseline;gap:6px;max-width:100%;
  border:1px solid #334155;background:rgba(15,23,42,.45);border-radius:8px;
  padding:4px 8px;font-size:12px;line-height:1.35
}
.vr-art-vv-chip code{font-weight:800;color:#93c5fd;font-family:ui-monospace,Consolas,monospace}
.vr-art-vv-desc{color:#cbd5e1;min-width:0}
html[data-vr-theme="light"] .vr-art-vv-banner{background:#eff6ff;border-color:#bfdbfe}
html[data-vr-theme="light"] .vr-art-vv-label{color:#1d4ed8}
html[data-vr-theme="light"] .vr-art-vv-chip{background:#fff;border-color:#dbeafe}
html[data-vr-theme="light"] .vr-art-vv-chip code{color:#1d4ed8}
html[data-vr-theme="light"] .vr-art-vv-desc{color:#334155}
.vr-art-fmtbar{
  display:flex;flex-wrap:wrap;gap:4px;align-items:center;
  padding:4px 0
}
.vr-art-fmt{
  min-width:32px;min-height:32px !important;padding:4px 8px !important;
  font-weight:700;line-height:1
}
.vr-art-fmt i{font-style:italic;font-weight:600}
.vr-art-fmt u{text-decoration:underline}
.vr-art-fmt-color{
  display:inline-flex;align-items:center;justify-content:center;gap:3px;cursor:pointer;
  box-sizing:border-box;
  border:1px solid #334155;border-radius:6px;
  padding:4px 8px;min-width:32px;min-height:32px !important;height:32px;
  background:rgba(15,23,42,.35);line-height:1;margin:0;vertical-align:middle
}
html[data-vr-theme="light"] .vr-art-fmt-color{background:#fff;border-color:#c9d6e8}
.vr-art-fmt-color > span{font-weight:800;font-size:13px;border-bottom:2px solid currentColor;line-height:1;padding:0}
.vr-art-fmt-color input[type="color"]{
  -webkit-appearance:none;appearance:none;
  width:16px !important;height:16px !important;min-width:16px !important;min-height:16px !important;
  max-width:16px;max-height:16px;padding:0 !important;margin:0;border:1px solid #64748b;border-radius:3px;
  background:transparent;cursor:pointer;box-sizing:border-box;line-height:1
}
.vr-art-fmt-color input[type="color"]::-webkit-color-swatch-wrapper{padding:0}
.vr-art-fmt-color input[type="color"]::-webkit-color-swatch{border:0;border-radius:2px}
.vr-art-fmt-color input[type="color"]::-moz-color-swatch{border:0;border-radius:2px}
.vr-art-editor{
  min-height:96px;max-height:420px;overflow:auto;
  padding:8px 10px;border:1px solid #334155;border-radius:8px;
  /* normal: <br> řídí řádky — pre-wrap zdvojovalo mezery (br + \n ze vzoru/HTML) */
  background:rgba(15,23,42,.35);line-height:1.45;white-space:normal;word-break:break-word;
  outline:none;font-size:14px;font-weight:400;font-family:inherit;color:inherit
}
.vr-art-editor b,.vr-art-editor strong{font-weight:700}
.vr-art-editor i,.vr-art-editor em{font-style:italic}
.vr-art-editor u{text-decoration:underline}
html[data-vr-theme="light"] .vr-art-editor{
  background:#fff;border-color:#c9d6e8;color:#0f172a
}
.vr-art-editor:focus{
  border-color:#38bdf8;box-shadow:0 0 0 2px rgba(56,189,248,.25)
}
.vr-art-editor:empty:before{
  content:'Text článku…';opacity:.45;pointer-events:none
}
