.studio-head { padding: 36px 0 20px; }
.studio-head h1 { font-size: clamp(30px, 5vw, 44px); margin-bottom: 6px; }
.plan-pill { font-size: 13px; font-weight: 700; padding: 4px 10px; border: 1px solid var(--ink); border-radius: 99px; white-space: nowrap; }
.plan-pill.paid { background: var(--ink); color: var(--paper); }

.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.panel { padding: 22px; }
.ph { font-size: 18px; margin-bottom: 14px; }
.lic { margin-top: 22px; }
@media (max-width: 820px) { .grid { grid-template-columns: 1fr; } }

label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 14px; }
label.inl { display: flex; gap: 8px; align-items: center; font-weight: 400; min-height: 32px; margin: 0 16px 6px 0; }
.row { display: flex; flex-wrap: wrap; }
fieldset { border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }
legend { font-weight: 700; font-size: 15px; padding: 0; margin-bottom: 6px; }
input:not([type=checkbox]):not([type=radio]), select, textarea {
  display: block; width: 100%; margin-top: 6px; font: 400 16px var(--f); color: var(--ink);
  background: #fff; border: 1px solid #857d6d; border-radius: var(--r); padding: 10px 12px; min-height: 44px; }
textarea { resize: vertical; line-height: 1.4; }
input[type=checkbox], input[type=radio] { width: 20px; height: 20px; accent-color: var(--ink); flex: none; }
.kod { display: flex; gap: 8px; align-items: stretch; margin: 6px 0 4px; }
.kod input { margin-top: 0 !important; min-width: 0; flex: 1; font-family: ui-monospace, Consolas, monospace !important; }
.btn.mini { min-height: 44px; padding: 0 14px; font-size: 14px; white-space: nowrap; }
label .small { display: block; font-weight: 400; margin-top: 4px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; margin: 0; font-weight: 400; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid #857d6d; border-radius: 99px; background: #fff; font-size: 15px; }
.chip input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 3px solid var(--mark); outline-offset: 2px; }

.akcia .btn#vyrob { width: 100%; margin-bottom: 10px; }
.priebeh { margin-top: 14px; }
.bar { height: 8px; background: var(--rule); border-radius: 99px; overflow: hidden; }
.bar span { display: block; height: 100%; width: 0; background: var(--mark); transition: width .2s ease-out; }
.nahlad { margin-top: 12px; display: flex; justify-content: center; }
.nahlad svg { width: 180px; height: 180px; background: #fff; border: 1px solid var(--rule); padding: 8px; }
.vysledok { margin-top: 16px; }
.vysledok .btn { width: 100%; }
.kdp { margin: 14px 0 0; padding-left: 18px; font-size: 15px; }
.kdp li { margin-bottom: 4px; }
.kdp .warn { color: var(--mark); font-weight: 700; }

.oznam:empty { display: block; padding: 0; margin: 0; border: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lic-akcie { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
#kod-pozn { margin: 4px 0 14px; }
.oznam { padding: 14px 16px; border-left: 4px solid var(--ink); background: var(--sheet); margin-bottom: 20px; }
.oznam.chyba { border-color: var(--mark); }
.oznam.ok { border-color: var(--ok); }
.lic-kup { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0; }
.lic-kluc summary { cursor: pointer; font-weight: 700; min-height: 32px; }
.lic-kluc { margin-top: 8px; }

/* The hidden attribute must win over display rules above (28. 10. 2026: .lic-kup is display:flex, so a
   subscriber still saw the Subscribe buttons and could pay twice). */
[hidden] { display: none !important; }
