/* Shared consent UI is outside the SPA root; no external fonts or assets. */
.ta-consent-panel, .ta-consent-settings {
  box-sizing: border-box;
  font: 14px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #172033;
}
.ta-consent-panel[hidden], .ta-consent-panel [hidden] { display: none !important; }
.ta-consent-panel {
  position: fixed; z-index: 10020; bottom: 60px; left: 18px;
  width: min(560px, calc(100vw - 36px)); max-height: calc(100dvh - 90px);
  overflow-y: auto; padding: 22px; background: #fff; border: 1px solid #bac3d0;
  border-radius: 14px; box-shadow: 0 8px 36px #10182730; text-align: left;
}
.ta-consent-panel h2 { margin: 0; font: 700 19px/1.4 system-ui, sans-serif; color: #172033; }
.ta-consent-panel p { margin: 12px 0; font-size: 14px; color: #364152; }
.ta-consent-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ta-consent-panel button, .ta-consent-settings {
  cursor: pointer; padding: 10px 14px; min-height: 44px; border: 1px solid #68768a;
  border-radius: 8px; background: #fff; color: #172033; font: 600 13px/1.4 system-ui, sans-serif;
}
.ta-consent-panel button:hover, .ta-consent-settings:hover { background: #f0f3f7; }
.ta-consent-panel button:focus-visible, .ta-consent-panel input:focus-visible,
.ta-consent-panel a:focus-visible, .ta-consent-settings:focus-visible { outline: 3px solid #2563eb; outline-offset: 3px; }
.ta-consent-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.ta-consent-actions button { flex: 1 1 auto; }
#ta-consent-close { font-size: 23px; padding: 0; min-width: 44px; border: 0; }
#ta-consent-options { border-top: 1px solid #d8dfe8; margin-top: 16px; padding-top: 12px; }
#ta-consent-options label { display: inline-flex; align-items: center; gap: 10px; padding: 10px 22px 10px 0; color: #172033; font-weight: 600; cursor: pointer; }
#ta-consent-options input { width: 20px; height: 20px; accent-color: #172033; }
.ta-consent-panel .ta-consent-footnote { font-size: 12px; margin-bottom: 0; }
.ta-consent-panel a { color: #1d4ed8; text-decoration: underline; }
#ta-consent-notice:empty { display: none; }
.ta-consent-settings { position: fixed; z-index: 10019; bottom: 10px; left: 18px; box-shadow: 0 2px 10px #10182718; }
@media (max-width: 600px) {
  .ta-consent-panel { bottom: 60px; left: 10px; width: calc(100vw - 20px); padding: 16px; }
  .ta-consent-settings { left: 10px; }
}
