/* Okná aplikácie (inštalácia, oznámenia) a lišta cookies pre podstránky bez Tailwindu.
   Kopíruje pravidlá z app.css; základné zjednotenie tlačidiel a nadpisov ako na titulke. */
.sheet-wrap *, .cookie-bar * { box-sizing: border-box; }
.sheet-wrap button, .cookie-bar button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }
.sheet h2, .sheet p, .sheet ol { margin: 0; }
.sheet ol { padding: 0; }
.sheet select { font: inherit; }
.sheet-wrap { position: fixed; inset: 0; z-index: 1500; display: flex; align-items: flex-end; justify-content: center;
  padding: 0 12px calc(env(safe-area-inset-bottom, 0px) + 12px); }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(8,39,93,.55); }
.sheet {
  position: relative; width: 100%; max-width: 25rem; max-height: calc(100dvh - 24px); overflow-y: auto;
  background: #fff; color: var(--navy); border-radius: 1.1rem;
  padding: 1rem 1rem .9rem;
  box-shadow: 0 10px 40px rgba(0,0,0,.3);
  animation: sheet-up .22s ease-out;
}
@media (min-width: 640px) { .sheet-wrap { align-items: center; } }
@keyframes sheet-up { from { transform: translateY(30px); opacity: .6; } to { transform: none; opacity: 1; } }
.sheet-x { position: absolute; top: .35rem; right: .35rem; width: 2.2rem; height: 2.2rem; border-radius: 50%;
  color: #64748b; font-size: 1.1rem; line-height: 1; display: grid; place-items: center; }
.sheet-x:hover { background: #f1f5f9; }
.sheet-head { display: flex; gap: .75rem; align-items: center; padding-right: 1.8rem; }
.sheet-head > div:last-child { min-width: 0; }
.sheet-head .sheet-title, .sheet-head .sheet-text { text-align: left; margin-top: 0; }
.sheet-head .sheet-text { margin-top: .15rem; }
.sheet-icon { width: 48px; height: 48px; border-radius: 12px; display: block; margin: 0 auto .5rem; flex-shrink: 0; }
.sheet-head .sheet-icon { margin: 0; }
.sheet-bell { font-size: 2rem; text-align: center; line-height: 1; flex-shrink: 0; }
.sheet-title { font-size: 1.2rem; font-weight: 800; text-align: center; line-height: 1.2; margin-top: .3rem; text-wrap: balance; }
.sheet-text { font-size: 1rem; line-height: 1.4; margin-top: .5rem; color: #1e293b; }
.sheet-steps { margin: .7rem 0 0 1.3rem; list-style: decimal; font-size: 1.02rem; line-height: 1.4; display: grid; gap: .4rem; }
.ios-share { display: inline-grid; place-items: center; vertical-align: -5px; color: #1d6fe0; }
.sheet-btn { display: block; width: 100%; margin-top: .6rem; padding: .8rem; border-radius: .8rem; font-size: 1.08rem; font-weight: 800; line-height: 1.2; }
.sheet-btn.primary { background: var(--navy); color: #fff; }
.sheet-btn.primary:disabled { background: #94a3b8; }
.sheet-btn.ghost { background: transparent; color: var(--navy); border: 2px solid #cbd5e1; padding: .65rem; font-size: 1rem; }
.sheet-btn.danger { background: #b91c1c; color: #fff; }
.consent-note { margin-top: .6rem; font-size: .8rem; line-height: 1.35; color: #475569; }
.consent-note a { text-decoration: underline; font-weight: 700; color: var(--navy); }
.consent { display: flex; gap: .75rem; align-items: flex-start; margin-top: 1rem; padding: .85rem; border: 2px solid var(--gold); border-radius: .8rem; background: #fffaf0; font-size: .98rem; line-height: 1.4; }
.consent input { width: 1.6rem; height: 1.6rem; flex-shrink: 0; margin-top: .1rem; accent-color: var(--navy); }
.consent a { text-decoration: underline; font-weight: 700; }
.sheet-err { margin-top: .7rem; color: #b91c1c; font-weight: 700; }
body.sheet-open { overflow: hidden; }
.sheet-open .tahak-btn { display: none; }
.obvod-pick { display: block; margin-top: 1rem; }
.sheet .obvod-pick { display: flex; align-items: center; gap: .6rem; margin-top: .8rem; }
.sheet .obvod-pick span { margin: 0; font-size: .95rem; white-space: nowrap; }
.sheet .obvod-select { padding: .5rem .6rem; font-size: 1rem; }
.obvod-pick span { display: block; font-weight: 800; font-size: 1.05rem; margin-bottom: .35rem; }
.obvod-select { width: 100%; font: inherit; font-size: 1.1rem; font-weight: 700; color: var(--navy); padding: .75rem .8rem; border: 2px solid #cbd5e1; border-radius: .8rem; background: #fff; }
.cookie-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1100;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .35rem .6rem;
  padding: .45rem .8rem calc(env(safe-area-inset-bottom, 0px) + .45rem);
  background: rgba(8,39,93,.96); color: #e5ecf7; font-size: .85rem; line-height: 1.3;
}
.cookie-bar a { color: var(--gold); text-decoration: underline; }
.cookie-bar button { font-weight: 800; font-size: .85rem; padding: .3rem .9rem; border-radius: 999px; background: #fff; color: var(--navy); }
.sheet-open .cookie-bar, .tahak-open .cookie-bar { display: none; }
.cookie-bar { padding-right: 3.2rem; }
.cookie-bar .cookie-x {
  position: absolute; right: .5rem; top: 50%; transform: translateY(-50%);
  width: 2.2rem; height: 2.2rem; padding: 0; border-radius: 50%;
  background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.7); font-size: 1rem; line-height: 1;
}

