/* Demo plošča – neodvisna od zastavic napak (lastni fokus, kontrast, velikosti). */
.vdemo-root { font-family: "Inter", system-ui, sans-serif; }
.vdemo-trigger {
  position: fixed; inset-inline-start: 1rem; bottom: 1rem; z-index: 9999;
  display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .45rem 1rem;
  border: 2px solid #ffffff; border-radius: 999px; background: #2b1a4f; color: #ffffff;
  font: 700 .9rem/1.2 "Inter", system-ui, sans-serif; box-shadow: 0 6px 20px rgb(0 0 0 / .3); cursor: pointer;
}
.vdemo-trigger:hover { background: #3f2a6e; }
.vdemo-trigger__count { font-weight: 500; opacity: .95; }
.vdemo-trigger__dot { width: .75rem; height: .75rem; border-radius: 50%; background: #3fd18c; box-shadow: 0 0 0 2px #fff; }
.vdemo-trigger__dot.is-bad { background: #ff6b5e; }
.vdemo-root *:focus-visible { outline: 3px solid #ffbf47 !important; outline-offset: 2px !important; box-shadow: 0 0 0 2px #111 !important; }
.vdemo {
  width: min(56rem, calc(100vw - 1.5rem)); max-height: calc(100vh - 1.5rem); padding: 0;
  border: 0; border-radius: 1rem; background: #ffffff; color: #1d1530;
  box-shadow: 0 20px 60px rgb(0 0 0 / .4); font: 400 .95rem/1.5 "Inter", system-ui, sans-serif;
}
.vdemo::backdrop { background: rgb(20 10 40 / .55); }
.vdemo__form { padding: 1.25rem 1.5rem 1.5rem; }
.vdemo__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.vdemo__title { margin: 0; font-size: 1.35rem; font-weight: 800; color: #1d1530; }
.vdemo__close { width: 44px; height: 44px; border: 2px solid #5b4a80; border-radius: 50%; background: #fff; color: #1d1530; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.vdemo__status { margin: .5rem 0 1rem; padding: .5rem .8rem; border-radius: .5rem; background: #f1edf9; }
.vdemo__h { margin: 1rem 0 .5rem; font-size: 1rem; font-weight: 800; color: #1d1530; }
.vdemo__presets { display: flex; flex-wrap: wrap; gap: .4rem; }
.vdemo__preset { min-height: 40px; padding: .35rem .85rem; border: 2px solid #5b4a80; border-radius: 999px; background: #fff; color: #2b1a4f; font: 700 .88rem "Inter", system-ui, sans-serif; cursor: pointer; }
.vdemo__preset:hover { background: #ede7f8; }
.vdemo__preset--ok { border-color: #0b6b3a; color: #0b6b3a; }
.vdemo__groups { display: grid; gap: .75rem; }
@media (min-width: 48rem) { .vdemo__groups { grid-template-columns: 1fr 1fr; } }
.vdemo__group { margin: 0; padding: .6rem .8rem .7rem; border: 1px solid #b9aed0; border-radius: .6rem; }
.vdemo__group legend { padding: 0 .3rem; font-weight: 800; color: #2b1a4f; }
.vdemo__flag { display: flex; gap: .55rem; align-items: flex-start; padding: .25rem 0; cursor: pointer; }
.vdemo__flag input { flex: none; width: 1.15rem; height: 1.15rem; margin-top: .2rem; accent-color: #5b2bb5; opacity: 1 !important; }
.vdemo__flag small { display: block; color: #5c5470; font-size: .8rem; }
.vdemo__flag code { font-size: .78rem; }
.vdemo__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-top: 1.25rem; }
.vdemo__primary, .vdemo__secondary { min-height: 44px; padding: .5rem 1.2rem; border-radius: 999px; font: 700 .95rem "Inter", system-ui, sans-serif; cursor: pointer; }
.vdemo__primary { border: 2px solid #2b1a4f; background: #2b1a4f; color: #fff; }
.vdemo__secondary { border: 2px solid #2b1a4f; background: #fff; color: #2b1a4f; }
.vdemo__link { color: #4a2a9a; font-weight: 700; }
.vdemo__hint { margin: 1rem 0 0; color: #5c5470; font-size: .85rem; }
.vdemo-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* Majhno okno (npr. povečava 400 %): kompakten gumb, ki ne zakriva vsebine. */
@media (max-height: 30rem), (max-width: 30rem) {
  .vdemo-trigger { inset-inline-start: .4rem; bottom: .4rem; min-height: 32px; padding: .2rem .55rem; font-size: .75rem; gap: .3rem; opacity: .9; }
  .vdemo-trigger__count { display: none; }
}
.vdemo__langs { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.vdemo__langs a { display: inline-flex; align-items: center; text-decoration: none; }
.vdemo__langs a.is-current { background: #2b1a4f; color: #fff; border-color: #2b1a4f; }
