.ark-ga-tools-preferences {
  padding: 12px 16px;
  border-top: 1px solid #d7cbbb;
  background: #f7f3eb;
  color: #201d18;
  font: 400 0.9rem/1.5 system-ui, sans-serif;
}

.ark-ga-tools-preferences__body {
  width: 100%;
  max-width: 68rem;
  margin-inline: auto;
}

#ark-ga-tools-preferences-panel[hidden] { display: none; }

#ark-ga-tools-preferences-panel {
  max-width: 42rem;
  margin: 0 0 8px;
  padding: 12px;
  border: 1px solid #d7cbbb;
  border-radius: 4px;
  background: #fff;
  color: #201d18;
}

.ark-ga-tools-preferences h2 { margin: 0; color: inherit; font: 650 1rem/1.4 system-ui, sans-serif; }
.ark-ga-tools-preferences p { margin: 4px 0 10px; color: inherit; }

.ark-ga-tools-preferences__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.ark-ga-tools-preferences button,
.ark-ga-tools-preferences__actions a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 6px 12px;
  color: #201d18;
  font: inherit;
}

.ark-ga-tools-preferences button {
  border: 1px solid #6e6253;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
}

.ark-ga-tools-preferences__actions a { text-decoration: underline; }
.ark-ga-tools-preferences button:hover { background: #f2ebe0; }
.ark-ga-tools-preferences :focus-visible { outline: 2px solid #7b2838; outline-offset: 2px; }
