/* Host page only. Never import this stylesheet from the embedded widget. */
.tobira-consent {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 2147483001;
  box-sizing: border-box;
  width: 360px;
  max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  padding: 22px;
  border: 0;
  border-radius: 18px;
  background: #fdfbf7;
  color: #111;
  box-shadow: 0 6px 40px #32261b26;
  font: 14px/1.5 Inter, Arial, sans-serif;
  text-align: left;
}
.tobira-consent[hidden] { display: none; }
.tobira-consent * { box-sizing: border-box; }
.tobira-consent .tc-title { margin: 0 0 10px; font: 600 18px/1.3 Inter, Arial, sans-serif; color: #111; }
.tobira-consent .tc-body { margin: 0 0 18px; color: #5d574f; font: inherit; }
.tobira-consent .tc-actions { display: flex; gap: 8px; }
.tobira-consent .tc-button { flex: 1; padding: 11px 14px; border: 0; border-radius: 9px; font: 600 13px/1.4 Inter, Arial, sans-serif; cursor: pointer; }
.tobira-consent .tc-primary { background: #111; color: #fff; }
.tobira-consent .tc-secondary { background: #eee9e1; color: #111; }
.tobira-consent .tc-more { display: flex; justify-content: space-between; gap: 12px; margin-top: 13px; }
.tobira-consent .tc-link { padding: 0; border: 0; background: transparent; color: #5d574f; font: 13px/1.5 Inter, Arial, sans-serif; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.tobira-consent .tc-category { display: flex; align-items: center; gap: 18px; padding: 12px 0; }
.tobira-consent .tc-category > div { flex: 1; }
.tobira-consent .tc-label { display: block; margin: 0 0 3px; font: 600 14px/1.4 Inter, Arial, sans-serif; }
.tobira-consent .tc-description { display: block; margin: 0; color: #5d574f; font: 13px/1.5 Inter, Arial, sans-serif; }
.tobira-consent .tc-badge { flex: none; color: #5d574f; font-size: 12px; }
.tobira-consent .tc-toggle { appearance: auto; flex: none; width: 20px; height: 20px; margin: 0; accent-color: #111; cursor: pointer; }
.tobira-consent .tc-save { width: 100%; margin-top: 8px; }
.tc-footer-settings { display: block; margin: 16px auto; padding: 5px; border: 0; background: transparent; color: inherit; font: 12px/1.5 Inter, Arial, sans-serif; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.tobira-consent :is(button, a, input):focus-visible, .tc-footer-settings:focus-visible { outline: 2px solid #111; outline-offset: 4px; }
@media (max-width: 640px) {
  /* Keep the bottom chat dock/composer free, including when the on-screen keyboard opens. */
  .tobira-consent { top: max(12px, env(safe-area-inset-top)); bottom: auto; left: 16px; width: calc(100vw - 32px); padding: 16px; max-height: 45dvh; border-radius: 14px; }
  .tobira-consent .tc-title { font-size: 16px; margin-bottom: 8px; }
  .tobira-consent .tc-body { font-size: 12px; line-height: 1.45; margin-bottom: 12px; }
  .tobira-consent .tc-more { margin-top: 10px; }
}
