.apc-banner {
  position: fixed;
  z-index: 999999;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 16px;
  background: #fff;
  color: #202927;
  border-top: 2px solid #245a4a;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, .16);
  font: 15px/1.45 system-ui, sans-serif;
}

.apc-banner[hidden] { display: none !important; }
.apc-privacy-choices [hidden], .apc-status:empty { display: none; }
.apc-privacy-choices { width: 100%; box-sizing: border-box; overflow-wrap: anywhere; letter-spacing: 0; }
.apc-privacy-choices button:disabled { opacity: .6; cursor: wait; }
.apc-standalone { margin: 0; background: #fff; color: #202927; font: 16px/1.5 system-ui, sans-serif; }
.apc-standalone main { max-width: 720px; margin: 32px auto; padding: 24px; }
.apc-standalone a { color: #174337; }
.apc-banner { max-height: 80vh; overflow-y: auto; }

.apc-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.apc-banner h2, .apc-privacy-choices h2 {
  margin: 0 0 6px;
  font-size: 19px;
  line-height: 1.3;
}

.apc-banner p { margin: 0; }
.apc-banner-copy { max-width: 680px; }
.apc-banner .apc-gpc { margin-top: 6px; font-weight: 600; }
.apc-banner-form { flex: 0 1 390px; }
.apc-banner-actions { display: flex; gap: 8px; }

.apc-banner button, .apc-privacy-choices button {
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid #245a4a;
  border-radius: 4px;
  background: #fff;
  color: #174337;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.apc-banner button:focus-visible, .apc-privacy-choices button:focus-visible,
.apc-banner a:focus-visible, .apc-banner summary:focus-visible {
  outline: 3px solid #e0a337;
  outline-offset: 2px;
}

.apc-banner button.apc-primary { background: #245a4a; color: #fff; }
.apc-banner-details { margin-top: 10px; }
.apc-banner-details summary { color: #174337; cursor: pointer; font-weight: 600; }
.apc-banner-details label { display: inline-flex; align-items: center; gap: 5px; margin: 12px 12px 12px 0; }
.apc-banner-details button { display: block; }
.apc-details-link { display: inline-block; margin-top: 8px; color: #174337; }

.apc-privacy-choices { display: grid; gap: 14px; max-width: 650px; }
.apc-privacy-choices label { display: flex; align-items: flex-start; gap: 8px; }
.apc-privacy-choices button { width: fit-content; }
.apc-privacy-choices .apc-notice { padding: 10px; border-left: 3px solid #245a4a; background: #f1f6f3; }

@media (max-width: 720px) {
  .apc-banner { max-height: 75vh; overflow-y: auto; }
  .apc-banner-inner { display: block; }
  .apc-banner-form { margin-top: 14px; }
  .apc-banner-actions { flex-wrap: wrap; }
  .apc-banner-actions button { flex: 1 1 130px; }
}
