/* Isolated styles for a non-modal, keyboard-accessible consent panel. */
.gr-consent-panel {
  position: fixed;
  z-index: 10030;
  left: max(18px, env(safe-area-inset-left));
  bottom: max(18px, env(safe-area-inset-bottom));
  width: min(440px, calc(100vw - 36px));
  box-sizing: border-box;
  max-height: min(560px, calc(100dvh - 36px));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 25px;
  border: 1px solid #bacbd1;
  border-radius: 18px;
  background: #f7fafb;
  color: #173d4d;
  box-shadow: 0 8px 30px rgb(12 40 51 / 18%);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.5;
  text-align: left;
  text-transform: none;
  letter-spacing: normal;
}
.gr-consent-panel[hidden] { display: none !important; }
.gr-consent-panel *, .gr-consent-panel *::before, .gr-consent-panel *::after { box-sizing: border-box; }
.gr-consent-panel .gr-consent-heading {
  margin: 0 30px 12px 0;
  color: #173d4d;
  font-family: inherit;
  font-size: 21px;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: normal;
  text-transform: none;
}
.gr-consent-panel .gr-consent-description { margin: 0 0 10px; font-size: 15px; line-height: 1.55; color: #284d5d; }
.gr-consent-panel .gr-consent-privacy { display: inline-block; color: #173d4d; padding: 4px 0; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.gr-consent-panel .gr-consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 17px; }
.gr-consent-panel .gr-consent-choice {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  min-width: 0;
  margin: 0;
  padding: 10px 16px;
  border: 1px solid #173d4d;
  border-radius: 9px;
  background: #173d4d;
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-transform: none;
  letter-spacing: normal;
  cursor: pointer;
  box-shadow: none;
  transform: none;
}
.gr-consent-panel .gr-consent-choice:hover { background: #235367; border-color: #235367; }
.gr-consent-panel .gr-consent-close {
  position: absolute;
  top: 7px;
  right: 7px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  padding: 0;
  margin: 0;
  appearance: none;
  border: 0;
  border-radius: 8px;
  color: #173d4d;
  background: transparent;
  font-family: Arial, sans-serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  box-shadow: none;
  transform: none;
  cursor: pointer;
}
.gr-consent-panel .gr-consent-close:hover { background: #e1ebef; }
.gr-consent-panel .gr-consent-status { margin: 12px 0 0; font-size: 12px; line-height: 1.5; color: #3e5a66; }
.gr-consent-panel button:focus-visible, .gr-consent-panel a:focus-visible, .gr-consent-panel .gr-consent-heading:focus-visible,
button.gr-consent-preferences:focus-visible { outline: 3px solid #a65b0c; outline-offset: 3px; box-shadow: 0 0 0 2px #fff; }
button.gr-consent-preferences {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  padding: 8px 4px;
  margin: 0;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 13px;
  line-height: 1.4;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-transform: none;
  letter-spacing: normal;
  cursor: pointer;
  box-shadow: none;
  transform: none;
}
.gr-consent-preferences-wrap { padding: 12px 24px; background: #173d4d; color: #fff; }
@media (max-width: 650px) {
  .gr-consent-panel {
    left: max(12px, env(safe-area-inset-left));
    right: max(12px, env(safe-area-inset-right));
    bottom: max(82px, calc(70px + env(safe-area-inset-bottom)));
    width: auto;
    max-width: none;
    max-height: calc(100dvh - 108px);
    padding: 20px;
    border-radius: 15px;
  }
  .gr-consent-panel .gr-consent-heading { font-size: 20px; }
  .gr-consent-panel .gr-consent-description { font-size: 14px; }
  .gr-consent-panel .gr-consent-actions { gap: 10px; margin-top: 13px; }
}
@media (max-height: 460px) {
  .gr-consent-panel { bottom: 10px; max-height: calc(100dvh - 20px); }
}
@media (prefers-reduced-motion: reduce) {
  .gr-consent-panel, .gr-consent-panel *, button.gr-consent-preferences { scroll-behavior: auto; transition: none; animation: none; }
}

/* Compact consent bar: equal choices, no modal overlay. */
.gr-consent-panel {
 left:0; right:0; bottom:0; width:100%; max-width:none;
 max-height:45dvh; padding:10px max(20px,env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left));
 border:0; border-top:1px solid #bacbd1; border-radius:0;
 box-shadow:0 -2px 12px rgb(12 40 51 / 8%);
 display:grid; grid-template-columns:minmax(0,1fr) auto auto 40px;
 align-items:center; gap:14px; background:#f7fafb;
}
.gr-consent-panel .gr-consent-heading,.gr-consent-panel .gr-consent-status {
 position:absolute; width:1px; height:1px; padding:0; margin:-1px;
 overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0;
}
.gr-consent-panel .gr-consent-description {margin:0;font-size:14px;line-height:1.4;}
.gr-consent-panel .gr-consent-privacy {font-size:13px;white-space:nowrap;}
.gr-consent-panel .gr-consent-actions {margin:0;gap:8px;}
.gr-consent-panel .gr-consent-choice {min-height:44px;padding:8px 18px;font-size:14px;border-radius:6px;}
.gr-consent-panel .gr-consent-close {position:static;grid-column:4;grid-row:1;}
body:has(.gr-consent-panel:not([hidden])) .wa-float {bottom:90px;}
@media(max-width:800px){
 .gr-consent-panel {grid-template-columns:minmax(0,1fr) auto 32px;gap:6px 10px;padding:8px 14px calc(8px + env(safe-area-inset-bottom));max-height:50dvh;}
 .gr-consent-panel .gr-consent-description {grid-column:1 / 3;font-size:13px;}
 .gr-consent-panel .gr-consent-close {grid-column:3;grid-row:1;width:32px;min-width:32px;height:40px;}
 .gr-consent-panel .gr-consent-privacy {grid-column:1;grid-row:2;font-size:12px;}
 .gr-consent-panel .gr-consent-actions {grid-column:2 / 4;grid-row:2;}
 .gr-consent-panel .gr-consent-choice {padding:8px 12px;font-size:13px;}
 body:has(.gr-consent-panel:not([hidden])) .wa-float {bottom:150px;}
}

/* Mobile notice participates in page flow: never overlays the page text. */
@media (max-width:650px){
 .gr-consent-panel{position:relative;inset:auto;z-index:5;width:100%;max-height:none;overflow:visible;padding:3px max(12px,env(safe-area-inset-right)) 3px max(12px,env(safe-area-inset-left));margin:0;border-radius:0;grid-template-columns:minmax(0,1fr) auto 44px;gap:0 8px;box-shadow:none;border-top:1px solid #bacbd1;border-bottom:1px solid #bacbd1;}
 .gr-consent-panel .gr-consent-description{grid-column:1/-1;grid-row:1;font-size:13px;line-height:1.4;}
 .gr-consent-panel .gr-consent-privacy{grid-column:1;grid-row:2;display:inline-flex;align-items:center;min-height:44px;justify-self:start;}
 .gr-consent-panel .gr-consent-actions{grid-column:2;grid-row:2;margin:0;gap:6px;}
 .gr-consent-panel .gr-consent-choice{min-height:44px;padding:8px 10px;font-size:13px;}
 .gr-consent-panel .gr-consent-close{grid-column:3;grid-row:2;width:44px;min-width:44px;height:44px;min-height:44px;}
 body:has(.gr-consent-panel:not([hidden])) .wa-float{bottom:22px;}
}

/* Cookie policy link is part of the sentence; no separate privacy row item. */
.gr-consent-panel{grid-template-columns:minmax(0,1fr) auto 40px;}
.gr-consent-panel .gr-consent-close{grid-column:3;}
.gr-consent-panel .gr-consent-description .gr-consent-privacy{display:inline;min-height:0;margin:0;padding:0;font:inherit;white-space:normal;}
@media(max-width:800px){
 .gr-consent-panel .gr-consent-description{grid-column:1/-1;}
 .gr-consent-panel .gr-consent-actions{grid-column:1/3;grid-row:2;justify-self:end;}
 .gr-consent-panel .gr-consent-close{grid-column:3;grid-row:2;}
}

/* Approved placement: compact mobile notice pinned to viewport bottom. */
@media(max-width:650px){
 .gr-consent-panel{position:fixed;inset:auto 0 0;z-index:10030;width:100%;max-height:45dvh;overflow-y:auto;padding-bottom:calc(3px + env(safe-area-inset-bottom));border-bottom:0;}
 body:has(.gr-consent-panel:not([hidden])){padding-bottom:calc(76px + env(safe-area-inset-bottom));}
 body:has(.gr-consent-panel:not([hidden])) .wa-float{bottom:calc(90px + env(safe-area-inset-bottom));}
}

/* Two dedicated mobile columns: policy and purpose left, choices right. */
.gr-consent-purpose::before{content:': ';}
.gr-consent-purpose::after{content:'.';}
@media(max-width:650px){
 .gr-consent-panel{grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:6px max(12px,env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));}
 .gr-consent-panel .gr-consent-description{grid-column:1;grid-row:1;min-width:0;text-align:left;font-size:12px;line-height:1.4;}
 .gr-consent-panel .gr-consent-description .gr-consent-privacy{display:block;white-space:nowrap;}
 .gr-consent-purpose{display:block;white-space:nowrap;}
 .gr-consent-purpose::before,.gr-consent-purpose::after{content:none;}
 .gr-consent-panel .gr-consent-actions{grid-column:2;grid-row:1;justify-self:end;gap:6px;}
 .gr-consent-panel .gr-consent-choice{width:auto;min-width:0;min-height:44px;padding:8px 7px;font-size:12px;}
 .gr-consent-panel .gr-consent-close{display:none;}
 body:has(.gr-consent-panel:not([hidden])){padding-bottom:calc(64px + env(safe-area-inset-bottom));}
 body:has(.gr-consent-panel:not([hidden])) .wa-float{bottom:calc(80px + env(safe-area-inset-bottom));}
}
@media(max-width:360px){.gr-consent-panel{padding-left:10px;padding-right:10px;gap:6px;}.gr-consent-panel .gr-consent-description{font-size:11.5px;}}

/* Discreet cookie notice: transparency only on the background. */
.gr-consent-panel{background:rgba(245,250,251,.72)!important;}
/* Center the notice text without reducing button legibility. */
.gr-consent-panel .gr-consent-description{text-align:center;}
@media(min-width:1000px){
.gr-consent-panel{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);padding-right:64px;padding-left:64px;}
.gr-consent-panel .gr-consent-description{grid-column:2;grid-row:1;}
.gr-consent-panel .gr-consent-actions{grid-column:3;grid-row:1;justify-self:end;}
.gr-consent-panel .gr-consent-close{position:absolute;right:12px;top:50%;transform:translateY(-50%);}
}