/* Namespaced CSS. Equal dimensions, emphasis and colours for all consent actions. */
.bc-cg { --bc-cg-ink: #172d45; --bc-cg-accent: #174c70; --bc-cg-muted: #536273; --bc-cg-line: #dbe2e8; color: var(--bc-cg-ink); font: 14px/1.6 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.bc-cg *, .bc-cg *::before, .bc-cg *::after { box-sizing: border-box; }
.bc-cg [hidden] { display: none !important; }
.bc-cg button, .bc-cg input, .bc-cg a { font: inherit; }
.bc-cg button { cursor: pointer; letter-spacing: normal; text-transform: none; margin: 0; }
.bc-cg button:focus-visible, .bc-cg a:focus-visible, .bc-cg input:focus-visible, .bc-cg summary:focus-visible { outline: 3px solid #2d76a8; outline-offset: 3px; }
.bc-cg a { color: var(--bc-cg-accent); text-decoration: underline; text-underline-offset: 3px; }
.bc-cg-panel { position: fixed; z-index: 2147483000; left: 50%; bottom: 22px; transform: translateX(-50%); width: min(940px, calc(100% - 44px)); max-height: calc(100vh - 44px); max-height: calc(100dvh - 44px); display: flex; flex-direction: column; border: 1px solid var(--bc-cg-line); border-radius: 18px; background: #fff; box-shadow: 0 18px 70px #172d4538, 0 2px 10px #172d4512; text-align: left; overflow: hidden; }
.bc-cg-header { display: flex; align-items: center; gap: 12px; padding: 19px 28px 15px; flex: 0 0 auto; }
.bc-cg-emblem { width: 40px; height: 40px; padding: 6px; border-radius: 12px; background: #eaf2f7; color: var(--bc-cg-accent); flex: 0 0 40px; }
.bc-cg svg { display: block; width: 100%; height: 100%; }
.bc-cg-brand { display: flex; flex-direction: column; min-width: 0; }
.bc-cg-eyebrow { color: var(--bc-cg-muted); font-size: 10px; font-weight: 700; letter-spacing: 1.6px; }
.bc-cg-shop { font-size: 16px; line-height: 1.5; font-weight: 700; overflow-wrap: anywhere; }
.bc-cg-close { margin-left: auto !important; min-width: 44px; min-height: 44px; border: 1px solid var(--bc-cg-line); border-radius: 10px; background: #fff; color: var(--bc-cg-ink); font-size: 26px !important; line-height: 1; flex: 0 0 44px; }
.bc-cg-close:hover { background: #eef3f7; }
.bc-cg-tabs { display: flex; gap: 22px; padding: 0 28px; border-bottom: 1px solid var(--bc-cg-line); flex: 0 0 auto; }
.bc-cg-tabs button { appearance: none; border: 0; border-bottom: 3px solid transparent; padding: 10px 0; background: #fff; color: var(--bc-cg-muted); font-weight: 650; min-height: 44px; }
.bc-cg-tabs button[aria-selected="true"] { border-color: var(--bc-cg-accent); color: var(--bc-cg-accent); }
.bc-cg-body { padding: 22px 28px 16px; overflow-y: auto; overscroll-behavior: contain; min-height: 0; }
.bc-cg h2 { font-family: inherit; font-size: 23px; line-height: 1.25; font-weight: 700; color: var(--bc-cg-ink); margin: 0 0 12px; letter-spacing: -.45px; }
.bc-cg p { margin: 0 0 10px; font-size: 14px; line-height: 1.6; }
.bc-cg .bc-cg-note { color: var(--bc-cg-muted); font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.bc-cg-bottom { padding: 0 28px 24px; flex: 0 0 auto; }
.bc-cg-policy-links { display: flex; flex-wrap: wrap; gap: 20px; padding: 2px 0 14px; font-size: 12px; }
.bc-cg-status:empty { display: none; }
.bc-cg .bc-cg-status { margin: 0 0 10px; font-size: 12px; }
.bc-cg-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.bc-cg .bc-cg-button { appearance: none; width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--bc-cg-accent); border-radius: 9px; background: var(--bc-cg-accent); color: #fff; font-weight: 650; line-height: 1.4; text-align: center; }
.bc-cg .bc-cg-button:hover { background: #103f5e; border-color: #103f5e; }
.bc-cg button:disabled { cursor: wait; opacity: .7; }
.bc-cg-reopen { position: fixed; bottom: 16px; left: 16px; z-index: 2147482999; display: flex; gap: 8px; align-items: center; min-height: 44px; padding: 9px 13px; background: #fff; color: var(--bc-cg-ink); border: 1px solid var(--bc-cg-line); border-radius: 12px; box-shadow: 0 3px 14px #172d451a; font-size: 12px !important; font-weight: 650 !important; }
.bc-cg-reopen svg { width: 22px; height: 22px; }
.bc-cg-category { padding: 15px 0; border-bottom: 1px solid var(--bc-cg-line); }
.bc-cg-category:last-child { border: 0; }
.bc-cg-category-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 6px; }
.bc-cg-category-title { font-size: 16px; font-weight: 700; }
.bc-cg .bc-cg-category-desc { font-size: 12px; color: var(--bc-cg-muted); margin-bottom: 8px; }
.bc-cg-always { font-size: 11px; color: var(--bc-cg-accent); background: #eaf2f7; padding: 4px 9px; border-radius: 20px; font-weight: 650; white-space: nowrap; }
.bc-cg-switch { display: flex; align-items: center; position: relative; min-height: 44px; min-width: 52px; cursor: pointer; }
.bc-cg-switch input { appearance: none; -webkit-appearance: none; width: 46px; height: 26px; background: #748392; border: 2px solid #748392; border-radius: 20px; margin: 0; position: relative; cursor: pointer; }
.bc-cg-switch input::after { content: ""; position: absolute; left: 2px; top: 2px; height: 18px; width: 18px; background: #fff; border-radius: 100%; transition: transform .15s; }
.bc-cg-switch input:checked { background: var(--bc-cg-accent); border-color: var(--bc-cg-accent); }
.bc-cg-switch input:checked::after { transform: translateX(20px); }
.bc-cg summary { font-size: 12px; color: var(--bc-cg-accent); cursor: pointer; padding: 5px 0; }
.bc-cg-service { padding: 10px 12px; background: #f3f6f8; border-radius: 8px; margin: 8px 0; overflow-wrap: anywhere; }
.bc-cg-service strong { display: block; font-size: 13px; }
.bc-cg-service p { font-size: 12px; margin-bottom: 5px; }
.bc-cg-service dl { display: grid; grid-template-columns: 80px minmax(0,1fr); gap: 2px 10px; font-size: 11px; margin: 8px 0; }
.bc-cg-service dt { font-weight: 650; color: var(--bc-cg-muted); }
.bc-cg-service dd { margin: 0; }
.bc-cg-service a { font-size: 11px; }
.bc-cg-noscript { background: #fff; padding: 16px; border: 1px solid var(--bc-cg-line); }
.bc-cg-footer { margin: 12px 0; font: inherit; }
.bc-cg-frame-placeholder { padding: 18px; background: #f3f6f8; border: 1px solid #dbe2e8; border-radius: 8px; text-align: center; font: 13px/1.6 system-ui, sans-serif; }
.bc-cg-frame-placeholder button { min-height: 44px; color: #174c70; text-decoration: underline; background: transparent; border: 0; cursor: pointer; font: inherit; }
@media (max-width: 600px) {
  .bc-cg-panel { width: calc(100% - 20px); bottom: 10px; max-height: calc(100vh - 20px); max-height: calc(100dvh - 20px); border-radius: 14px; }
  .bc-cg-header { padding: 13px 16px 9px; gap: 10px; }
  .bc-cg-shop { font-size: 14px; }
  .bc-cg-tabs { padding: 0 16px; gap: 20px; }
  .bc-cg-body { padding: 16px 16px 10px; }
  .bc-cg h2 { font-size: 21px; }
  .bc-cg p { font-size: 13px; }
  .bc-cg-bottom { padding: 0 16px 16px; }
  .bc-cg-policy-links { padding-bottom: 12px; }
  .bc-cg-actions { grid-template-columns: 1fr; gap: 8px; }
  .bc-cg .bc-cg-button { min-height: 44px; padding: 10px 12px; font-size: 13px; }
  .bc-cg-reopen { bottom: 10px; left: 10px; }
}
@media (prefers-reduced-motion: reduce) { .bc-cg-switch input::after { transition: none; } }
