.cookie-settings-link { padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.cookie-consent { position: fixed; z-index: 100000; right: 20px; bottom: calc(16px + env(safe-area-inset-bottom)); left: 20px; }
.cookie-consent--settings { inset: 0; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0, 0, 0, .48); }
.cookie-consent__panel { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; min-height: 64px; margin: auto; padding: 8px 14px 8px 20px; border-radius: 12px; background: #052c57; color: #fff; box-shadow: 0 6px 24px rgba(0, 20, 50, .3); box-sizing: border-box; }
.cookie-consent__panel p, .cookie-consent__panel h2 { margin: 0; font-size: 14px; line-height: 1.35; }
.cookie-consent__panel a { color: #fff; text-decoration: underline; }
.cookie-consent__actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.cookie-consent__actions button { min-height: 40px; padding: 8px 13px; border: 1px solid #fff; border-radius: 7px; background: transparent; color: #fff; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.cookie-consent__actions .cookie-consent__accept { border-color: #ffd21c; background: #ffd21c; color: #052c57; }
.cookie-consent__actions .cookie-consent__settings { padding-inline: 6px; border-color: transparent; }
.cookie-consent__actions button:hover, .cookie-consent__actions button:focus { filter: brightness(.94); }
.cookie-consent button:focus-visible, .cookie-consent input:focus-visible { outline: 3px solid #111; outline-offset: 2px; }
.cookie-consent--settings .cookie-consent__panel { display: block; width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 22px; background: #fff; color: #222; }
.cookie-consent--settings .cookie-consent__panel a { color: #0756b8; }
.cookie-consent--settings .cookie-consent__actions button { border-color: #0875e1; color: #0756b8; }
.cookie-consent--settings .cookie-consent__actions .cookie-consent__accept { border-color: #ffd21c; color: #052c57; }
.cookie-consent--settings h2 { margin-bottom: 15px; font-size: 21px; }
.cookie-consent__categories { display: grid; gap: 10px; margin: 0 0 18px; }
.cookie-consent__categories label { display: grid; grid-template-columns: auto 1fr; gap: 8px; align-items: start; }
.cookie-consent__categories small { display: block; margin-top: 2px; color: #555; font-size: 12px; line-height: 1.3; }
.cookie-consent__categories input { width: 20px; height: 20px; margin: 0; }
.cookie-map-placeholder { margin: 12px 0; padding: 12px; border: 1px solid #bdd5ec; background: #f4f9ff; font-size: 13px; text-align: center; }
.cookie-map-placeholder button { margin-left: 6px; border: 0; background: transparent; color: #0756b8; text-decoration: underline; cursor: pointer; }
@media (max-width: 700px) {
  .cookie-consent { right: 9px; bottom: calc(9px + env(safe-area-inset-bottom)); left: 9px; }
  .cookie-consent__panel { display: block; min-height: 0; max-height: 35vh; overflow-y: auto; padding: 11px 12px; }
  .cookie-consent__panel p { margin-bottom: 8px; font-size: 13px; }
  .cookie-consent__actions { display: grid; grid-template-columns: .8fr 1.35fr auto; gap: 5px; }
  .cookie-consent__actions button { min-height: 38px; padding: 6px 7px; font-size: 11px; white-space: normal; }
  .cookie-consent--settings { padding: 9px; }
  .cookie-consent--settings .cookie-consent__panel { padding: 17px 14px; }
  .cookie-consent--settings .cookie-consent__actions { grid-template-columns: 1fr 1fr; }
}
.maps-consent-hint {
    margin: 6px 0 0;
    color: #52677b;
    font-size: 12px;
    line-height: 1.35;
}
body.cookie-consent-visible { padding-bottom: 88px; }
@media (max-width: 700px) {
    body.cookie-consent-visible { padding-bottom: 142px; }
}
