.gt-consent-open {
  position: fixed; bottom: 12px; left: 12px; z-index: 1000;
  min-height: 36px; padding: 8px 12px; border: 1px solid #cbd5df;
  border-radius: 6px; background: #fff; color: #012e46;
  font: inherit; font-size: 12px; cursor: pointer;
}
.gt-consent-panel {
  position: fixed; bottom: 16px; right: 16px; z-index: 1001;
  box-sizing: border-box; width: min(560px, calc(100% - 32px));
  max-height: calc(100dvh - 32px); overflow: auto;
  padding: 24px; background: #fff; color: #012e46;
  border: 1px solid #dce3eb; border-radius: 12px;
  box-shadow: 0 8px 32px #012e4626; font-size: 15px; line-height: 1.5;
}
.gt-consent-panel[hidden], .gt-consent-panel [hidden] { display: none !important; }
.gt-consent-heading { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.gt-consent-panel h2 { flex: 1; font-size: 23px; line-height: 1.25; margin: 0; color: inherit; }
.gt-consent-panel p { margin: 0 0 12px; }
.gt-consent-panel a { color: #155473; text-decoration: underline; text-underline-offset: 3px; }
.gt-consent-panel a:hover { color: #012e46; }
.gt-consent-panel .gt-consent-close {
  flex: 0 0 36px; width: 36px; height: 36px; margin: -6px -6px 0 0; padding: 0;
  display: grid; place-items: center; border: 0; border-radius: 6px;
  background: transparent; color: #012e46; font: inherit; font-size: 28px; line-height: 1; cursor: pointer;
}
.gt-consent-options { margin-top: 20px; border-top: 1px solid #dce3eb; }
.gt-consent-panel .gt-consent-category {
  display: flex; gap: 20px; align-items: center; justify-content: space-between;
  margin: 0; padding: 16px 0; border-bottom: 1px solid #dce3eb;
}
.gt-consent-options label { cursor: pointer; width: 100%; box-sizing: border-box; }
.gt-consent-panel .gt-consent-category h3, .gt-consent-category strong {
  display: block; margin: 0 0 4px; color: #012e46; font-size: 15px; font-weight: 700; line-height: 1.4;
}
.gt-consent-panel .gt-consent-category p, .gt-consent-description {
  display: block; margin: 0; color: #526776; font-size: 14px; line-height: 1.5;
}
.gt-consent-required { flex-shrink: 0; color: #526776; font-size: 11px; font-weight: 600; }
.gt-consent-panel .gt-consent-options input {
  flex: 0 0 20px; width: 20px; height: 20px; margin: 0; padding: 0;
  accent-color: #012e46; cursor: pointer;
}
.gt-consent-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.gt-consent-panel .gt-consent-actions button {
  flex: 1 1 200px; min-height: 44px; padding: 12px 16px;
  border: 1px solid #012e46; border-radius: 6px;
  font-family: Montserrat, sans-serif; font-size: 12px; font-weight: 700; line-height: 1.4;
  text-transform: uppercase; letter-spacing: .02em; cursor: pointer;
}
.gt-consent-panel .gt-consent-primary { background: #012e46; color: #fff; }
.gt-consent-panel .gt-consent-primary:hover { background: #17465e; border-color: #17465e; }
.gt-consent-panel .gt-consent-secondary { background: #fff; color: #012e46; }
.gt-consent-panel .gt-consent-secondary:hover { background: #edf2f7; }
.gt-consent-panel .gt-consent-actions .gt-consent-text {
  flex-basis: 100%; min-height: 36px; padding: 6px 12px; border-color: transparent;
  background: transparent; color: #012e46; font-size: 13px; font-weight: 500;
  text-transform: none; letter-spacing: 0; text-decoration: underline; text-underline-offset: 3px;
}
.gt-consent-panel .gt-consent-text:hover, .gt-consent-panel .gt-consent-close:hover, .gt-consent-open:hover { background: #edf2f7; }
.gt-consent-panel button, .gt-consent-open {
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}
.gt-consent-panel button:active, .gt-consent-open:active { transform: scale(.97); }
.gt-consent-panel button:disabled { opacity: .55; cursor: wait; transform: none; }
.gt-consent-panel :focus-visible, .gt-consent-open:focus-visible { outline: 3px solid #012e46; outline-offset: 3px; box-shadow: 0 0 0 3px #fff; }
.gt-consent-panel .gt-consent-status { margin: 12px 0 0; font-size: 14px; }
.gt-consent-status:empty { display: none; }
@media (max-width: 600px) {
  .gt-consent-panel { bottom: 58px; padding: 20px; max-height: calc(100dvh - 74px); }
  .gt-consent-panel h2 { font-size: 20px; }
  .gt-consent-panel .gt-consent-actions button { flex-basis: 100%; }
  .gt-consent-required { max-width: 60px; text-align: right; }
}
@media (prefers-reduced-motion: reduce) {
  .gt-consent-panel button, .gt-consent-open, .gt-consent-panel .gt-consent-options input { transition: none; }
  .gt-consent-panel button:active, .gt-consent-open:active { transform: none; }
}
