.tt-consent[hidden], .tt-consent [hidden] { display: none !important; }
html.tt-consent-open { overflow: hidden; }
.tt-consent { position: fixed; inset: 0; z-index: 999999; font-family: inherit; }
.tt-consent__backdrop { position: absolute; inset: 0; background: rgba(10, 25, 45, .45); backdrop-filter: blur(3px); }
.tt-consent__panel { position: absolute; right: 24px; bottom: 24px; width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 48px); overflow: auto; background: #fffdf8; color: #10213a; border: 1px solid #d8e0ea; border-radius: 24px; box-shadow: 0 24px 70px rgba(16, 33, 58, .25); padding: 28px; }
.tt-consent__close { position: absolute; right: 18px; top: 14px; appearance: none; border: 0; background: transparent; color: #10213a; font-size: 28px; cursor: pointer; }
.tt-consent__eyebrow { margin: 0 0 8px; color: #2368a2; font-weight: 800; font-size: 12px; letter-spacing: .13em; }
.tt-consent h2 { margin: 0 40px 12px 0; font-size: clamp(27px, 4vw, 38px); line-height: 1.05; }
.tt-consent p { line-height: 1.55; }
.tt-consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.tt-consent__button, .tt-consent-reopen, .tt-consent-inline-button { min-height: 46px; border-radius: 999px; border: 1px solid #b8c5d4; background: #fff; color: #10213a; font-weight: 750; padding: 10px 18px; cursor: pointer; }
.tt-consent__button--primary { background: #e5b92e; border-color: #e5b92e; }
.tt-consent__button--link { grid-column: 1 / -1; border: 0; text-decoration: underline; background: transparent; min-height: auto; }
.tt-consent__links { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 16px; font-size: 14px; }
.tt-consent__links a { color: #174f7e; }
.tt-consent__preferences { margin-top: 20px; border-top: 1px solid #d8e0ea; }
.tt-consent__category { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid #d8e0ea; }
.tt-consent__category p { margin: 5px 0 0; font-size: 14px; color: #47566a; }
.tt-consent__switch input { position: absolute; opacity: 0; }
.tt-consent__switch span:first-of-type { display: block; width: 48px; height: 28px; border-radius: 999px; background: #8c98a8; position: relative; transition: .2s; }
.tt-consent__switch span:first-of-type::after { content: ''; position: absolute; width: 22px; height: 22px; top: 3px; left: 3px; border-radius: 50%; background: #fff; transition: .2s; }
.tt-consent__switch input:checked + span { background: #2368a2; }
.tt-consent__switch input:checked + span::after { transform: translateX(20px); }
.tt-consent__switch input:disabled + span { opacity: .7; }
.tt-consent-reopen { position: fixed; left: 18px; bottom: 18px; z-index: 99990; min-height: 38px; padding: 8px 14px; background: #10213a; color: #fff; border-color: #10213a; font-size: 13px; }
.tt-consent-inline-button { display: inline-flex; align-items: center; }
@media (max-width: 640px) {
  .tt-consent__panel { right: 12px; left: 12px; bottom: 12px; width: auto; max-height: calc(100vh - 24px); padding: 22px; border-radius: 20px; }
  .tt-consent__actions { grid-template-columns: 1fr; }
  .tt-consent__button--link { grid-column: auto; }
  .tt-consent-reopen { left: 10px; bottom: 10px; }
}

/* Public Cookie Policy service inventory. */
.tt-cookie-table-wrap {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
  margin: 1.5rem 0;
  border: 1px solid #d8e0ea;
  border-radius: 14px;
  background: #fff;
}
.tt-cookie-table-wrap:focus-visible {
  outline: 3px solid rgba(35, 104, 162, .35);
  outline-offset: 3px;
}
.tt-cookie-table {
  box-sizing: border-box;
  width: 100%;
  min-width: 980px;
  margin: 0;
  border: 0;
  border-collapse: collapse;
  table-layout: auto;
}
.tt-cookie-table th,
.tt-cookie-table td {
  box-sizing: border-box;
  min-width: 130px;
  padding: 14px 16px;
  vertical-align: top;
  text-align: left;
  border: 0;
  border-right: 1px solid #d8e0ea;
  border-bottom: 1px solid #d8e0ea;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}
.tt-cookie-table th:last-child,
.tt-cookie-table td:last-child {
  border-right: 0;
}
.tt-cookie-table tbody tr:last-child td {
  border-bottom: 0;
}
.tt-cookie-table th {
  background: #f5f7fa;
  color: #10213a;
  font-weight: 750;
  white-space: normal;
}
.tt-cookie-table td:nth-child(1) { min-width: 150px; }
.tt-cookie-table td:nth-child(2) { min-width: 170px; }
.tt-cookie-table td:nth-child(3) { min-width: 230px; }
.tt-cookie-table td:nth-child(4) { min-width: 280px; }
.tt-cookie-table td:nth-child(5) { min-width: 125px; }
.tt-cookie-table td:nth-child(6) { min-width: 180px; }

/* On narrow screens, each service becomes a readable card. */
@media (max-width: 760px) {
  .tt-cookie-table-wrap {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
  }
  .tt-cookie-table {
    min-width: 0;
    border: 0;
  }
  .tt-cookie-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .tt-cookie-table,
  .tt-cookie-table tbody,
  .tt-cookie-table tr,
  .tt-cookie-table td {
    display: block;
    width: 100%;
  }
  .tt-cookie-table tr {
    margin: 0 0 18px;
    overflow: hidden;
    border: 1px solid #d8e0ea;
    border-radius: 14px;
    background: #fff;
  }
  .tt-cookie-table td,
  .tt-cookie-table td:nth-child(n) {
    display: grid;
    grid-template-columns: minmax(108px, 34%) minmax(0, 1fr);
    gap: 12px;
    min-width: 0;
    padding: 11px 14px;
    border-right: 0;
    border-bottom: 1px solid #e4e9ef;
  }
  .tt-cookie-table td:last-child {
    border-bottom: 0;
  }
  .tt-cookie-table td::before {
    content: attr(data-label);
    color: #47566a;
    font-weight: 750;
  }
}

/* Print/PDF output: avoid clipped columns and floating consent controls. */
@media print {
  .tt-consent,
  .tt-consent-reopen,
  .tt-consent-inline-button,
  [data-tt-consent-open] {
    display: none !important;
  }
  .tt-cookie-table-wrap {
    overflow: visible !important;
    border: 0;
    border-radius: 0;
    background: transparent;
  }
  .tt-cookie-table {
    min-width: 0 !important;
    border: 0;
    font-size: 9.5pt;
  }
  .tt-cookie-table thead {
    display: none;
  }
  .tt-cookie-table,
  .tt-cookie-table tbody,
  .tt-cookie-table tr,
  .tt-cookie-table td {
    display: block;
    width: 100%;
  }
  .tt-cookie-table tr {
    break-inside: avoid;
    page-break-inside: avoid;
    margin: 0 0 12pt;
    border: 1px solid #aeb8c4;
    border-radius: 0;
  }
  .tt-cookie-table td,
  .tt-cookie-table td:nth-child(n) {
    display: grid;
    grid-template-columns: minmax(88pt, 28%) minmax(0, 1fr);
    gap: 10pt;
    min-width: 0;
    padding: 6pt 8pt;
    border-right: 0;
    border-bottom: 1px solid #d8e0ea;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .tt-cookie-table td:last-child {
    border-bottom: 0;
  }
  .tt-cookie-table td::before {
    content: attr(data-label);
    font-weight: 700;
  }
}
