#tc-root { font: 14px/1.5 Arial, sans-serif; color: #1f2937; }
#tc-root [hidden] { display: none !important; }
#tc-root h2 { color: #111827; font-size: 20px; line-height: 1.3; margin: 0 0 10px; }
#tc-root p { margin: 8px 0 14px; font-size: 14px; line-height: 1.5; color: #374151; }
#tc-banner { position: fixed; z-index: 2147483000; bottom: 20px; left: 20px; width: 620px; max-width: calc(100vw - 40px); box-sizing: border-box; background: #fff; border: 1px solid #cbd5e1; border-radius: 12px; padding: 22px; box-shadow: 0 8px 32px #0003; }
#tc-root a { color: #174b88; text-decoration: underline; }
#tc-root button { appearance: none; border: 1px solid #475569; background: #fff; color: #172b43; border-radius: 6px; font: inherit; font-weight: 600; padding: 10px 14px; cursor: pointer; min-height: 44px; white-space: normal; }
#tc-root button:hover { background: #edf2f7; }
#tc-root button:focus-visible, #tc-root input:focus-visible, #tc-root a:focus-visible { outline: 3px solid #2563eb; outline-offset: 3px; }
#tc-root .tc-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
#tc-root .tc-actions button { flex: 1 1 150px; }
#tc-dialog { position: fixed; inset: 0; z-index: 2147483002; background: #0008; display: flex; justify-content: center; align-items: center; padding: 16px; }
#tc-root .tc-panel { position: relative; background: #fff; padding: 24px; border-radius: 12px; width: 680px; max-width: 100%; max-height: calc(100vh - 32px); overflow: auto; box-sizing: border-box; }
#tc-root label { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; margin-top: 18px; color: #111827; }
#tc-root input[type=checkbox] { appearance: auto; position: static; opacity: 1; width: 20px; height: 20px; margin: 0; }
#tc-close { float: right; margin: 0 0 8px 12px; }
#tc-root.tc-page #tc-dialog { position: static; display: block; padding: 0; background: none; }
#tc-root.tc-page .tc-panel { width: 100%; max-height: none; overflow: visible; border: 1px solid #cbd5e1; }
.tracking-consent-footer { text-align: center; padding: 14px; }
#tc-error:not(:empty) { position: fixed; z-index: 2147483003; left: 5%; top: 16px; pointer-events: none; background: #fff1f2; border: 1px solid #b91c1c; color: #991b1b; padding: 12px; max-width: 90%; }
@media (max-width: 600px) {
  #tc-banner { left: 10px; max-width: calc(100vw - 20px); bottom: 10px; padding: 16px; box-sizing: border-box; max-height: calc(100vh - 90px); overflow: auto; }
  #tc-root .tc-actions { flex-direction: column; }
  #tc-root .tc-actions button { flex: none; width: 100%; }
  #tc-root .tc-panel { padding: 18px; }
}
