#bc-consent { --bc-red: #9b382e; --bc-ink: #252b33; --bc-line: #dce0e5; font: 400 14px/1.5 system-ui, -apple-system, sans-serif; color: var(--bc-ink); }
#bc-consent [hidden] { display: none !important; }
#bc-consent button, .bc-consent-form-note button { font: 600 14px/1.3 system-ui, sans-serif; min-height: 44px; padding: 10px 14px; border: 1px solid #b4bac3; border-radius: 9px; color: #742b23; background: #fff; cursor: pointer; text-align: center; }
#bc-consent button:hover, .bc-consent-form-note button:hover { background: #f5e9e6; border-color: #9b382e; }
#bc-consent button:focus-visible, #bc-consent a:focus-visible, #bc-consent input:focus-visible, .bc-consent-footer a:focus-visible, .bc-consent-form-note button:focus-visible { outline: 3px solid #246c99; outline-offset: 3px; }
#bc-consent h2 { font: 700 20px/1.25 system-ui, sans-serif; margin: 0 0 10px; color: #252b33; }
#bc-consent p { font-size: 14px; line-height: 1.5; margin: 0 0 8px; }
#bc-consent a, .bc-consent-footer a { color: #853126; text-decoration: underline; text-underline-offset: 3px; }
#bc-consent .bc-consent-banner { position: fixed; z-index: 1065; inset: auto 20px 20px; margin-inline: auto; max-width: 1120px; background: #fff; border: 1px solid var(--bc-line); border-radius: 16px; padding: 20px 24px; box-shadow: 0 8px 40px #141b2630; display: flex; align-items: center; gap: 24px; max-height: 70dvh; overflow-y: auto; }
.bc-consent-copy { flex: 1; min-width: 0; }
#bc-consent .bc-consent-actions { display: flex; flex-wrap: wrap; gap: 8px; }
#bc-consent .bc-consent-banner .bc-consent-actions { flex: 0 0 370px; display: grid; grid-template-columns: 1fr 1fr; }
#bc-consent .bc-consent-banner [data-bc-open] { grid-column: 1 / -1; }
#bc-consent .bc-consent-dialog { color: #252b33; padding: 0; width: min(680px, calc(100% - 24px)); max-width: none; max-height: 88dvh; margin: auto; border: 1px solid var(--bc-line); border-radius: 16px; box-shadow: 0 16px 60px #141b2640; overflow: auto; }
#bc-consent .bc-consent-dialog[open] { display: flex; flex-direction: column; overflow: hidden; }
#bc-consent .bc-consent-dialog-head, #bc-consent .bc-consent-dialog-actions { flex: 0 0 auto; }
#bc-consent .bc-consent-dialog-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
#bc-consent .bc-consent-dialog::backdrop { background: #11182788; }
.bc-consent-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 24px; border-bottom: 1px solid #dce0e5; }
#bc-consent .bc-consent-dialog-head h2 { margin: 0; }
#bc-consent [data-bc-close] { flex: 0 0 44px; width: 44px; padding: 0; font-size: 26px; }
.bc-consent-dialog-body { padding: 20px 24px; }
#bc-consent .bc-consent-category { display: flex; align-items: start; gap: 16px; margin: 16px 0 0; padding: 16px; background: #f5f6f7; border: 1px solid #dce0e5; border-radius: 10px; font-size: 14px; cursor: pointer; }
.bc-consent-category > div, .bc-consent-category > span:first-child { flex: 1; min-width: 0; }
.bc-consent-category strong { display: block; font-size: 15px; margin-bottom: 5px; }
.bc-consent-description { display: block; font-size: 14px; font-weight: 400; }
#bc-consent .bc-consent-category input { flex: 0 0 22px; width: 22px; height: 22px; margin: 4px 0; accent-color: #9b382e; }
.bc-consent-always { flex: 0 0 90px; color: #4b6260; font-size: 12px; text-align: right; }
#bc-consent .bc-consent-note { margin: 16px 0 0; color: #566170; font-size: 13px; }
#bc-consent .bc-consent-dialog-actions { padding: 16px 24px 24px; border-top: 1px solid var(--bc-line); }
#bc-consent .bc-consent-dialog-actions button { flex: 1 1 170px; }
.bc-consent-footer { text-align: center; padding: 16px 20px; font: 400 14px/1.5 system-ui, sans-serif; }
#bc-consent .bc-consent-status { position: fixed; z-index: 1070; bottom: 20px; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 24px); padding: 12px 18px; border-radius: 10px; background: #252b33; color: white; box-shadow: 0 4px 20px #0002; }
.bc-consent-form-note { font: 400 14px/1.5 system-ui, sans-serif; color: #566170; background: #f5f6f7; padding: 12px; border-radius: 9px; }
.bc-consent-form-note button { display: block; margin-top: 8px; }
.bc-cookie-info { max-width: 960px; margin-inline: auto; }
.bc-cookie-info section { margin-block: 0 20px; padding: clamp(18px, 3vw, 30px); border: 1px solid #dce0e5; border-radius: 14px; background: #fff; }
.bc-cookie-info h2 { font-size: 22px; }.bc-cookie-info p, .bc-cookie-info dd { font-size: 15px; line-height: 1.65; }
.bc-cookie-info dt { margin-top: 20px; }.bc-cookie-info dd { margin: 6px 0 18px; }.bc-cookie-info code { overflow-wrap: anywhere; }
@media (max-width: 767px) {
  #bc-consent .bc-consent-banner { inset: auto 12px 12px; padding: 16px; display: block; max-height: 70dvh; }
  #bc-consent .bc-consent-banner .bc-consent-actions { margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; }
  #bc-consent h2 { font-size: 18px; }
  #bc-consent .bc-consent-dialog-head, #bc-consent .bc-consent-dialog-body { padding: 16px; }
  #bc-consent .bc-consent-dialog-actions { padding: 12px 16px 16px; display: grid; grid-template-columns: 1fr 1fr; }
  #bc-consent [data-bc-save] { grid-column: 1 / -1; }
  #bc-consent .bc-consent-category { padding: 12px; gap: 12px; }
  #bc-consent .bc-consent-always { flex-basis: 70px; }
}
@media (prefers-reduced-motion: reduce) { #bc-consent * { scroll-behavior: auto; } }
