.bst-consent,
.bst-dialog,
.bst-settings {
  --bst-ink: #123039;
  --bst-muted: #466069;
  --bst-paper: #f3f1e9;
  --bst-red: #b82c25;
  font-family: Manrope, sans-serif;
  color: var(--bst-ink);
  box-sizing: border-box;
  font-size: 15px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.bst-consent > div,
.bst-dialog span { min-width: 0; }
.bst-consent[hidden] { display: none !important; }
.bst-consent {
  position: fixed;
  inset: auto 24px 24px;
  z-index: 10000;
  max-width: 1120px;
  max-height: calc(100dvh - 48px);
  margin-inline: auto;
  padding: 26px 30px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 32px;
  align-items: center;
  overflow-y: auto;
  background: var(--bst-paper);
  border: 1px solid #cbd4cd;
  border-radius: 6px;
  box-shadow: 0 10px 32px rgb(18 48 57 / .10);
}
.bst-consent h2,
.bst-dialog h2 {
  color: var(--bst-ink);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 10px;
  letter-spacing: -.025em;
}
.bst-consent p,
.bst-dialog p {
  font-size: 15px;
  margin: 0 0 16px;
  color: var(--bst-muted);
}
.bst-consent p:last-child { margin-bottom: 0; }
.bst-consent a,
.bst-dialog a {
  color: var(--bst-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.bst-consent .bst-actions,
.bst-dialog .bst-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
}
.bst-actions button,
.bst-settings {
  appearance: none;
  border: 1px solid var(--bst-ink);
  background: transparent;
  color: var(--bst-ink);
  border-radius: 3px;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  min-height: 48px;
  padding: 12px 16px;
  text-transform: none;
  letter-spacing: 0;
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
  transition: background-color 140ms ease, border-color 140ms ease;
}
.bst-actions button[data-bst-reject] {
  background: var(--bst-ink);
  border-color: var(--bst-ink);
  color: #fff;
}
.bst-actions button[data-bst-accept],
.bst-actions #bst-save {
  background: var(--bst-red);
  border-color: var(--bst-red);
  color: #fff;
}
.bst-actions button[data-bst-reject]:hover {
  background: #1d424b;
  border-color: #1d424b;
}
.bst-actions button[data-bst-accept]:hover,
.bst-actions #bst-save:hover {
  background: #a12520;
  border-color: #a12520;
}
.bst-actions button[data-bst-open],
.bst-actions #bst-close {
  grid-column: 1 / -1;
  min-height: 44px;
  padding: 8px 12px;
  background: transparent;
  border-color: transparent;
  color: var(--bst-muted);
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.bst-actions button[data-bst-open]:hover,
.bst-actions #bst-close:hover,
.bst-settings:hover { background: #e8e9df; color: var(--bst-ink); }
.bst-actions button:focus-visible,
.bst-settings:focus-visible,
.bst-dialog input:focus-visible { outline: 3px solid var(--bst-red); outline-offset: 3px; }
.bst-settings {
  display: block;
  margin: 12px auto 20px;
  font-size: 13px;
  min-height: 44px;
  padding: 8px 12px;
  border-color: transparent;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.bst-dialog {
  max-width: 600px;
  width: calc(100% - 32px);
  max-height: calc(100dvh - 40px);
  padding: 30px;
  border: 1px solid #cbd4cd;
  border-radius: 6px;
  background: var(--bst-paper);
  box-shadow: 0 16px 48px rgb(18 48 57 / .16);
  overflow-y: auto;
}
.bst-dialog::backdrop { background: rgb(12 30 34 / .48); }
.bst-dialog label {
  display: flex;
  gap: 14px;
  padding: 16px;
  margin: 12px 0;
  border: 1px solid #cbd4cd;
  border-radius: 4px;
  background: #fbfaf6;
  color: var(--bst-muted);
  font-size: 14px;
  cursor: pointer;
}
.bst-dialog label strong {
  color: var(--bst-ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}
.bst-dialog label:focus-within { border-color: var(--bst-ink); }
.bst-dialog input {
  accent-color: var(--bst-red);
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  margin: 2px 0 0;
}
.bst-dialog .bst-actions { padding-top: 8px; }
.bst-dialog label + p { margin-top: 16px; font-size: 14px; }
@media (max-width: 1000px) {
  .bst-consent { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 600px) {
  .bst-consent {
    inset: auto 12px 12px;
    max-height: calc(100dvh - 24px);
    padding: 20px;
    gap: 18px;
  }
  .bst-consent h2,
  .bst-dialog h2 { font-size: 21px; }
  .bst-consent p { font-size: 14px; }
  .bst-actions button { padding: 12px 8px; font-size: 14px; }
  .bst-dialog {
    width: calc(100% - 24px);
    max-height: calc(100dvh - 24px);
    padding: 22px 20px;
  }
  .bst-dialog label { padding: 14px 12px; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .bst-consent *, .bst-dialog * { animation: none !important; transition: none !important; }
}
