/* Local consent dialog: no external assets or dependencies. */
html.dost-privacy-open { overflow: hidden; }
.dost-privacy {
  width: calc(100% - 32px);
  max-width: 690px;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 0;
  border-top: 4px solid #c73535;
  border-radius: 16px;
  background: #fff;
  color: #242424;
  box-shadow: 0 20px 80px rgba(0,0,0,.28);
  font: 14px/1.55 Arial, sans-serif;
  overflow: hidden;
}
.dost-privacy:not([open]), .dost-privacy [hidden] { display: none !important; }
.dost-privacy::backdrop { background: rgba(12,16,21,.64); }
.dost-privacy-shell { display: flex; flex-direction: column; max-height: calc(100vh - 36px); max-height: calc(100dvh - 36px); }
.dost-privacy-header { flex: none; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 23px 26px 16px; }
.dost-privacy-brand { display: block; margin-bottom: 6px; font-weight: 800; font-size: 16px; letter-spacing: .03em; }
.dost-privacy-brand > span { color: #c73535; }
.dost-privacy h2 { margin: 0; font: 700 25px/1.2 Arial, sans-serif; color: #1e1e1e; }
.dost-privacy h2:focus { outline: none; }
.dost-privacy-close { flex: none; width: 40px; height: 40px; padding: 0; border: 1px solid #d7d9dc; border-radius: 50%; background: #fff; color: #555; font: 26px/1 Arial, sans-serif; cursor: pointer; }
.dost-privacy-choices, .dost-privacy-legal { display: flex; flex-direction: column; min-height: 0; }
.dost-privacy-body { padding: 0 26px 8px; overflow-y: auto; overscroll-behavior: contain; min-height: 0; }
.dost-privacy p { margin: 0 0 14px; }
.dost-privacy-option { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 15px 16px; margin-bottom: 10px; border: 1px solid #e0e2e5; border-radius: 9px; background: #fff; }
.dost-privacy-required { background: #f6f7f8; }
.dost-privacy h3 { margin: 0 0 4px; font: 700 15px/1.4 Arial, sans-serif; color: #242424; }
.dost-privacy h3 label { margin: 0; cursor: pointer; }
.dost-privacy-option p { margin: 0; font-size: 13px; line-height: 1.5; color: #50545a; }
.dost-privacy-badge { flex: none; margin-top: 1px; font-size: 11px; font-weight: 700; color: #4c535b; white-space: nowrap; }
.dost-privacy input[role="switch"] { appearance: none; -webkit-appearance: none; flex: none; position: relative; width: 44px; height: 26px; margin: 0; border: 1px solid #777e87; border-radius: 20px; background: #eef0f2; cursor: pointer; }
.dost-privacy input[role="switch"]::before { content: ''; display: block; width: 18px; height: 18px; margin: 3px; border-radius: 50%; background: #626973; transition: transform .15s ease; }
.dost-privacy input[role="switch"]:checked { background: #c73535; border-color: #c73535; }
.dost-privacy input[role="switch"]:checked::before { background: #fff; transform: translateX(18px); }
.dost-privacy p.dost-privacy-note { margin: 10px 0; color: #555b63; font-size: 12px; line-height: 1.5; }
.dost-privacy-footer { flex: none; padding: 16px 26px 13px; border-top: 1px solid #e7e9eb; background: #fff; }
.dost-privacy-actions { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
.dost-privacy-actions button, .dost-privacy-back { min-height: 44px; padding: 10px 8px; border: 1px solid #626973; border-radius: 6px; background: #fff; color: #262a30; font: 700 13px/1.4 Arial,sans-serif; cursor: pointer; }
.dost-privacy-actions button:hover, .dost-privacy-back:hover, .dost-privacy-close:hover { background: #f2f3f5; border-color: #242424; }
.dost-privacy :is(button,input,a):focus-visible, .dost-privacy-trigger:focus-visible { outline: 3px solid #c73535; outline-offset: 3px; }
.dost-privacy-links { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 8px; color: #555; }
.dost-privacy-links button { padding: 4px 2px; border: 0; background: transparent; color: #484e56; font: 12px/1.5 Arial,sans-serif; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.dost-privacy-legal .modal-body { padding: 0; font-size: 14px; }
.dost-privacy-legal .modal-body a { overflow-wrap: anywhere; }
.dost-privacy-legal .modal-body h3 { margin: 18px 0 6px; font-size: 17px; }
.dost-privacy-back { padding-inline: 16px; }
.dost-privacy-trigger { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
#footer .dost-privacy-trigger { color: #fff; line-height: 1; }
#footer .dost-privacy-trigger:hover { color: #c73535; }
.map-consent-overlay[hidden] { display: none !important; }
.map-consent-overlay .map-privacy-link { padding: 2px; border: 0; background: none; color: #484848; text-decoration: underline; font: inherit; cursor: pointer; }
@media (max-width: 575px) {
  .dost-privacy { width: calc(100% - 20px); max-height: calc(100vh - 20px); max-height: calc(100dvh - 20px); border-radius: 12px; }
  .dost-privacy-shell { max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); }
  .dost-privacy-header { padding: 17px 17px 13px; }
  .dost-privacy h2 { font-size: 21px; overflow-wrap: anywhere; }
  .dost-privacy-body { padding: 0 17px 8px; }
  .dost-privacy-option { padding: 12px; gap: 12px; }
  .dost-privacy-footer { padding: 12px 17px 9px; }
  .dost-privacy-actions { grid-template-columns: 1fr; gap: 7px; }
  .dost-privacy-actions button { padding: 9px; }
  .dost-privacy-required { flex-wrap: wrap; gap: 4px; }
  .map-consent-overlay { padding: 16px; gap: 8px; }
  .map-consent-overlay p { font-size: 13px; line-height: 1.45; }
}
@media (prefers-reduced-motion: reduce) { .dost-privacy input[role="switch"]::before { transition: none; } }
