/* Růst a konverze: tarif z registrace, limit protokolů na telefonu, úvodní kroky zkoušky, „Více“ ve spodní liště.
   Samostatný soubor vedle app.css (paralelní práce); selektory mají dost specifičnosti, aby přebily app.css. */

/* ---- registrace: vybraný tarif z ceníku */
.auth-h .auth-plan { margin: 10px 0 0; padding: 9px 12px; border-radius: 10px; background: var(--brand-soft); color: var(--ink); font-size: 13px; line-height: 1.45; text-align: left; }
.auth-h .auth-plan[hidden] { display: none; }
.auth-h .auth-plan a { white-space: nowrap; }

/* ---- limit protokolů na telefonu (desktop má boční widget) */
.plist-view .gq { display: none; }
@media (max-width: 767px) {
  .plist-view .gq:not([hidden]) { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 12px; padding: 10px 12px;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); font-size: 13px; }
  .plist-view .gq.limit { background: #fff7e6; border-color: #f3dfb6; color: #7a4a00; }
  .plist-view .gq-n { flex: none; min-width: 38px; padding: 2px 8px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-dark); font-weight: 700; text-align: center; font-variant-numeric: tabular-nums; }
  .plist-view .gq.limit .gq-n { background: #fde7c2; color: #7a4a00; }
  .plist-view .gq-t { flex: 1 1 160px; min-width: 0; }
  .plist-view .gq-a { font-weight: 600; white-space: nowrap; }
  .plist-view.gq-full .plist-new { background: #8a94a3; border-color: #8a94a3; box-shadow: none; }
}

/* ---- úvodní kroky zkoušky + souhrn od 10. dne */
.plist-view .onb { margin: 0 0 14px; display: flex; flex-direction: column; gap: 10px; }
.plist-view .onb[hidden] { display: none; }
.onb .onb-sum { display: flex; align-items: center; justify-content: space-between; gap: 10px 14px; flex-wrap: wrap; padding: 12px 14px;
  background: #fff7e6; border: 1px solid #f3dfb6; border-radius: var(--radius); color: #5c3a00; font-size: 13px; }
.onb .onb-sum .btn { flex: none; }
.onb .onb-steps { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px 10px; box-shadow: var(--shadow); }
.onb .onb-h { display: flex; align-items: center; gap: 10px; }
.onb .onb-h b { font-size: 15px; flex: 1; min-width: 0; }
.onb .onb-n { color: var(--muted); font-size: 12px; white-space: nowrap; }
.onb .onb-x { flex: none; width: 28px; height: 28px; border: 0; border-radius: 8px; background: none; color: var(--muted); font-size: 20px; line-height: 1; cursor: pointer; }
.onb .onb-x:hover { background: var(--line-soft); color: var(--ink); }
.onb .onb-bar { height: 4px; margin: 10px 0 6px; border-radius: 4px; background: var(--line-soft); overflow: hidden; }
.onb .onb-bar i { display: block; height: 100%; background: var(--ok); border-radius: 4px; }
.onb .onb-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 18px; }
.onb .onb-list li { border-top: 1px solid var(--line-soft); }
.onb .onb-a { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 2px; border: 0; background: none; font: inherit; color: inherit; text-align: left; text-decoration: none; cursor: pointer; }
.onb li:not(.ok) .onb-a:hover b { color: var(--brand-dark); text-decoration: underline; }
.onb li.ok .onb-a { cursor: default; }
.onb .onb-ck { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #c7ccd4; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff; }
.onb li.ok .onb-ck { background: var(--ok); border-color: var(--ok); }
.onb .onb-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.onb .onb-t b { font-size: 13px; font-weight: 600; }
.onb li.ok .onb-t b { color: var(--muted); text-decoration: line-through; font-weight: 500; }
.onb .onb-t small { color: var(--muted); font-size: 12px; }
.onb .onb-tag { flex: none; padding: 1px 7px; border-radius: 999px; font-size: 11px; font-weight: 700; background: #fdf3d7; color: #7a5a00; border: 1px solid #ecd28f; }
@media (max-width: 1023px) { .onb .onb-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .onb .onb-list { grid-template-columns: 1fr; }
  .onb .onb-steps { padding: 12px 12px 6px; }
  .onb .onb-t small { display: none; }
}

/* ---- spodní lišta na telefonu: „Více“ (Nabídky, Statistiky, Technologie) */
.bottomnav .bn-more, .bottomnav .bn-sheet { display: none; }
@media (max-width: 767px) {
  .bottomnav .bn-more { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0; padding: 4px 4px; border: 0; background: none;
    font: inherit; font-size: 11px; color: #4b5563; cursor: pointer; }
  .bottomnav .bn-more.on, .bottomnav .bn-more[aria-expanded="true"] { color: var(--brand-dark); font-weight: 700; }
  .bottomnav .bn-sheet:not([hidden]) { display: flex; flex-direction: column; position: fixed; right: 8px; bottom: calc(66px + env(safe-area-inset-bottom)); z-index: 30;
    min-width: 210px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 32px rgba(16,24,40,.18); }
  .bottomnav .bn-sheet a { flex-direction: row; justify-content: flex-start; gap: 12px; padding: 11px 12px; font-size: 15px; border-radius: 10px; }
  .bottomnav .bn-sheet a span { max-width: none; }
  .bottomnav .bn-sheet a.on { background: var(--brand-soft); }
  .bottomnav .bn-sheet .nav-badge { position: static; margin-left: auto; }
}

/* ---- pruh předplatného: odkaz ve tvaru tlačítka (tarif z registrace) */
.sub-bar a.btn { color: var(--brand-ink); text-decoration: none; }
