/* TOMTRAKT cookie preferences */
#ttc-banner[hidden], #ttc-reopen[hidden], #ttc-overlay[hidden] { display: none !important; }
#ttc-banner, #ttc-overlay, #ttc-reopen { font-family: inherit; box-sizing: border-box; }
#ttc-banner *, #ttc-overlay * { box-sizing: border-box; }
#ttc-banner {
  position: fixed; z-index: 2147483000; left: 50%; bottom: 20px; transform: translateX(-50%);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 28px;
  width: min(1120px, calc(100% - 40px)); padding: 24px 26px;
  background: #fff; color: #344054; border: 1px solid #e3eaf4; border-radius: 16px;
  box-shadow: 0 18px 55px rgba(6, 27, 80, .18), 0 3px 12px rgba(6, 27, 80, .06);
}
#ttc-banner .ttc-copy { min-width: 0; padding-left: 18px; border-left: 3px solid var(--ttc-accent); }
#ttc-banner .ttc-copy strong { display: block; color: var(--ttc-primary); font-size: 19px; line-height: 1.3; font-weight: 700; letter-spacing: -.02em; }
#ttc-banner .ttc-copy p, #ttc-overlay .ttc-dialog p { margin: 7px 0 0; color: #475467; font-size: 14px; line-height: 1.6; }
#ttc-banner a, #ttc-overlay a { color: var(--ttc-accent); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
#ttc-banner .ttc-actions, #ttc-overlay .ttc-actions { display: flex; gap: 9px; flex-wrap: wrap; align-items: stretch; }
#ttc-banner .ttc-actions { flex-wrap: nowrap; }
#ttc-banner .ttc-actions button, #ttc-overlay .ttc-actions button, #ttc-reopen {
  appearance: none; min-height: 44px; margin: 0; padding: 11px 15px; border: 1px solid #cad6e6; border-radius: 9px;
  background: #fff; color: var(--ttc-primary); font: 600 13px/1.25 system-ui, -apple-system, 'Segoe UI', sans-serif;
  text-transform: none; letter-spacing: 0; cursor: pointer; box-shadow: none; transition: background-color .15s, border-color .15s, color .15s;
}
#ttc-banner .ttc-actions button { white-space: nowrap; }
#ttc-banner .ttc-actions button[data-ttc="accept"], #ttc-overlay .ttc-actions button[data-ttc="accept"] { background: var(--ttc-accent); border-color: var(--ttc-accent); color: #fff; }
#ttc-banner .ttc-actions button:hover, #ttc-overlay .ttc-actions button:hover, #ttc-reopen:hover { filter: brightness(.94); }
#ttc-banner .ttc-actions button:focus-visible, #ttc-overlay button:focus-visible, #ttc-overlay input:focus-visible, #ttc-reopen:focus-visible, #ttc-banner a:focus-visible, #ttc-overlay a:focus-visible { outline: 3px solid #f3aa20; outline-offset: 3px; }
#ttc-reopen { position: fixed; z-index: 2147482998; left: 14px; bottom: 14px; min-height: 0; padding: 9px 13px; border-color: #dbe4f1; box-shadow: 0 4px 18px rgba(6,27,80,.12); font-size: 12px; }
#ttc-overlay { position: fixed; z-index: 2147483001; inset: 0; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(6, 26, 54, .65); }
#ttc-overlay .ttc-dialog { width: min(620px, 100%); max-height: 90vh; overflow: auto; padding: 30px; border: 1px solid #e3eaf4; border-radius: 18px; background: #fff; color: #101828; box-shadow: 0 20px 70px rgba(0,0,0,.22); }
#ttc-overlay .ttc-dialog h2 { margin: 0 0 8px; color: var(--ttc-primary); font-size: 24px; line-height: 1.25; letter-spacing: -.02em; }
#ttc-overlay .ttc-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 0; border-bottom: 1px solid #e7edf5; }
#ttc-overlay .ttc-row strong { color: var(--ttc-primary); font-size: 15px; }
#ttc-overlay .ttc-row p { margin-top: 3px; }
#ttc-overlay .ttc-row label, #ttc-overlay .ttc-row > span { flex-shrink: 0; white-space: nowrap; color: #344054; font-size: 13px; }
#ttc-overlay .ttc-row input { width: 19px; height: 19px; margin: 0 4px 0 0; accent-color: var(--ttc-accent); vertical-align: middle; }
#ttc-overlay .ttc-actions { margin-top: 20px; }
.ttc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
@media (max-width: 1050px) {
  #ttc-banner { grid-template-columns: 1fr; gap: 18px; }
  #ttc-banner .ttc-actions { flex-wrap: wrap; }
  #ttc-banner .ttc-actions button { flex: 1 1 160px; }
}
@media (max-width: 600px) {
  #ttc-banner { bottom: 10px; width: calc(100% - 20px); max-height: 85vh; overflow: auto; gap: 15px; padding: 18px; border-radius: 14px; }
  #ttc-banner .ttc-copy { padding-left: 13px; }
  #ttc-banner .ttc-copy strong { font-size: 17px; }
  #ttc-banner .ttc-copy p { font-size: 13px; line-height: 1.5; }
  #ttc-banner .ttc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  #ttc-banner .ttc-actions button { white-space: normal; padding: 10px 8px; }
  #ttc-banner .ttc-actions button[data-ttc="settings"] { grid-column: 1 / -1; }
  #ttc-overlay .ttc-dialog { padding: 22px; }
  #ttc-overlay .ttc-row { align-items: flex-start; gap: 8px; }
  #ttc-overlay .ttc-row label, #ttc-overlay .ttc-row > span { font-size: 12px; }
  #ttc-overlay .ttc-actions button { flex: 1 1 45%; }
}

#ttc-reopen { width: 44px; height: 44px; min-height: 44px; padding: 0; display: grid; place-items: center; border-radius: 10px; }
#ttc-reopen svg { display: block; width: 25px; height: 25px; }
