.gf-cookie-panel {
  position: fixed;
  /* Keep both choices above the TGO welcome toast on narrow screens. */
  z-index: 2147483003;
  inset: auto auto 16px 16px;
  width: min(368px, calc(100% - 100px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
  padding: clamp(14px, 4vw, 22px);
  border: 1px solid #d6e1ea;
  border-radius: 24px;
  background: linear-gradient(145deg, #edf7fa, #fff 48%);
  color: #172536;
  box-shadow: 0 14px 44px rgb(15 23 42 / 17%);
  font-size: 15px;
  line-height: 1.45;
}

.gf-cookie-panel h2 {
  color: inherit;
  font-size: 22px;
  line-height: 1.35;
  margin: 0 0 8px;
}

.gf-cookie-panel h2::before {
  display: block;
  width: 28px;
  height: 3px;
  margin-bottom: 10px;
  border-radius: 3px;
  background: #1885a5;
  content: "";
}

.gf-cookie-panel p { margin: 0 0 6px; }
.gf-cookie-panel a { color: #174b75; text-decoration: underline; }

.gf-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.gf-cookie-actions button {
  flex: 1 1 105px;
  min-height: 44px;
  padding: 6px 10px;
  border: 1px solid #8195a8;
  border-radius: 999px;
  background: #fff;
  color: #172536;
  font-weight: 650;
  text-align: center;
}

.gf-cookie-actions button:hover { background: #e6f3f8; border-color: #355a72; }

.gf-cookie-settings {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
}

.gf-cookie-panel :focus-visible,
.gf-cookie-settings:focus-visible {
  outline: 2px solid #185b92;
  outline-offset: 2px;
}
