/* Soznova analytics consent (analytics-consent.v1.js). Non-modal; keyboard and screen-reader friendly. */
.szn-consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50;
  max-width: 560px; margin: 0 auto; padding: 16px 18px;
  background: #ffffff; color: #17191c; border: 1px solid #c9c6bf; border-radius: 12px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18); font: 15px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif;
}
.szn-consent-title { margin: 0 0 6px; font-size: 16px; }
.szn-consent-text, .szn-consent-state { margin: 0 0 10px; }
.szn-consent-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.szn-btn {
  min-height: 44px; padding: 0 18px; border-radius: 8px; border: 1px solid #5b6169;
  background: #ffffff; color: #17191c; font: inherit; font-weight: 600; cursor: pointer;
}
.szn-btn-primary { background: #242528; border-color: #242528; color: #ffffff; }
.szn-btn:focus-visible, .szn-consent-pref:focus-visible { outline: 3px solid #e6a23a; outline-offset: 2px; }
.szn-consent-pref {
  position: fixed; left: 12px; bottom: 12px; z-index: 40; min-height: 36px; padding: 0 12px;
  border-radius: 999px; border: 1px solid #c9c6bf; background: #ffffff; color: #17191c;
  font: 13px/1 system-ui, -apple-system, "Segoe UI", sans-serif; cursor: pointer;
}
@media (prefers-color-scheme: dark) {
  .szn-consent, .szn-consent-pref { background: #1a1d20; color: #ecedee; border-color: #3a3f45; }
  .szn-btn { background: #1a1d20; color: #ecedee; border-color: #a2a8af; }
  .szn-btn-primary { background: #e6a23a; border-color: #e6a23a; color: #17181b; }
}
/* While the banner is open, let the page scroll above it. */
.szn-consent-open body { padding-bottom: 180px; }
@media (max-width: 600px) {
  .szn-consent { left: 8px; right: 8px; bottom: 8px; padding: 12px 14px; font-size: 14px; }
  .szn-consent-title { font-size: 15px; margin-bottom: 4px; }
  .szn-consent-text { margin-bottom: 8px; }
  .szn-consent-open body { padding-bottom: 230px; }
}
@media print { .szn-consent, .szn-consent-pref { display: none; } }
