.jmos-consent-banner,
.jmos-consent-modal,
.jmos-privacy-footer,
.jmos-map-consent-gate {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1a1a1a;
}
.jmos-map-activation-host { position: relative; }
.jmos-map-consent-copy { display: grid; gap: 8px; max-width: 720px; }
.jmos-map-consent-copy strong { font-size: 1.08rem; }
.jmos-map-consent-copy p,
.jmos-map-consent-status { margin: 0; line-height: 1.45; }
.jmos-map-privacy-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  color: inherit;
  font-weight: 700;
}
.jmos-consent-banner {
  position: fixed;
  inset: auto 16px 16px 16px;
  z-index: 10000;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(0,0,0,.16);
  border-radius: 8px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 16px 40px rgba(0,0,0,.18);
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow: auto;
  overscroll-behavior: contain;
}
.jmos-consent-banner > div { min-width: 0; }
.jmos-consent-banner p { margin: 6px 0 0; max-width: 760px; line-height: 1.45; }
.jmos-consent-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.jmos-consent-button,
.jmos-consent-icon,
.jmos-privacy-footer button {
  min-height: 40px;
  border: 1px solid #1a1a1a;
  border-radius: 6px;
  background: #1a1a1a;
  color: #fff;
  padding: 0 14px;
  font: inherit;
  cursor: pointer;
}
.jmos-consent-button.secondary,
.jmos-privacy-footer button { background: #fff; color: #1a1a1a; }
.jmos-consent-button:focus-visible,
.jmos-consent-icon:focus-visible,
.jmos-privacy-footer a:focus-visible,
.jmos-privacy-footer button:focus-visible { outline: 3px solid #c8a45a; outline-offset: 2px; }
.jmos-consent-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(0,0,0,.45);
}
.jmos-consent-modal {
  width: min(920px, 100%);
  max-height: min(760px, calc(100vh - 32px));
  max-height: min(760px, calc(100dvh - 32px));
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  overflow: hidden;
  overscroll-behavior: contain;
  background: #fff;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,.16);
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
}
.jmos-consent-modal header,
.jmos-consent-modal footer { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 16px; border-bottom: 1px solid rgba(0,0,0,.1); }
.jmos-consent-modal footer { border-top: 1px solid rgba(0,0,0,.1); border-bottom: 0; justify-content: flex-end; }
.jmos-consent-modal h2 { margin: 0; font-size: 20px; }
.jmos-consent-icon { width: 40px; padding: 0; font-size: 24px; line-height: 1; }
.jmos-consent-legal-links { display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 10px 16px; border-bottom: 1px solid rgba(0,0,0,.1); }
.jmos-consent-detail { min-height: 0; display: grid; gap: 12px; padding: 16px; overflow: auto; overscroll-behavior: contain; }
.jmos-consent-category { border: 1px solid rgba(0,0,0,.12); border-radius: 8px; padding: 12px; }
.jmos-consent-category p { margin: 8px 0; line-height: 1.45; }
.jmos-consent-category dl { margin: 0; display: grid; gap: 4px; }
.jmos-consent-category dt { font-weight: 700; }
.jmos-consent-category dd { margin: 0 0 6px; color: #444; }
.jmos-privacy-footer {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px;
  font-size: 14px;
}
.jmos-privacy-footer a { color: inherit; }
.jmos-privacy-footer button { min-height: 32px; padding: 0 10px; }
.jmos-map-consent-gate {
  position: absolute;
  inset: 16px;
  z-index: 700;
  display: grid;
  place-content: center;
  gap: 12px;
  text-align: center;
  padding: 18px;
  border-radius: 8px;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(0,0,0,.16);
}
@media (max-width: 900px) {
  .jmos-consent-banner { grid-template-columns: minmax(0, 1fr); }
  .jmos-consent-actions { width: 100%; }
  .jmos-consent-banner .jmos-consent-button { flex: 1 1 12rem; }
}
@media (max-width: 640px) {
  .jmos-consent-banner { inset: auto 8px 8px 8px; max-height: calc(100vh - 16px); max-height: calc(100dvh - 16px); }
  .jmos-consent-banner .jmos-consent-actions,
  .jmos-consent-modal footer.jmos-consent-actions { display: grid; grid-template-columns: minmax(0, 1fr); }
  .jmos-consent-button { width: 100%; }
  .jmos-consent-modal-backdrop { padding: 8px; align-items: end; }
  .jmos-consent-modal { max-height: calc(100vh - 16px); max-height: calc(100dvh - 16px); }
  .jmos-consent-modal header { align-items: flex-start; }
  .jmos-consent-modal h2 { min-width: 0; }
  .jmos-consent-icon { flex: 0 0 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .jmos-consent-banner, .jmos-consent-modal { scroll-behavior: auto; }
}
