/* Miriam Studio visitor entry. Native Complianz visibility/consent remains untouched. */
#miriam-welcome,
html body .cmplz-cookiebanner {
  box-sizing: border-box;
  color: #292720;
  background: #f8f5ed;
  border: 1px solid #d8cdb6;
  border-radius: 12px;
  box-shadow: 0 8px 40px #2927201c;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
#miriam-welcome {
  position: fixed;
  z-index: 9998;
  width: 384px;
  max-width: calc(100vw - 24px);
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  overflow: auto;
  right: 24px;
  bottom: 24px;
  padding: 24px;
  text-align: left;
}
#miriam-welcome[hidden] { display: none !important; }
#miriam-welcome:not([hidden]) { animation: miriam-entry-in 220ms ease-out; }
#miriam-welcome .miriam-welcome-eyebrow {
  margin: 0 44px 10px 0;
  color: #746143;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: .16em;
  text-transform: uppercase;
}
#miriam-welcome h2 {
  margin: 0;
  color: #292720;
  font: 400 27px/1.08 Georgia, "Times New Roman", serif;
  letter-spacing: -.02em;
}
#miriam-welcome .miriam-welcome-intro { margin: 8px 0 12px; font-size: 14px; line-height: 1.5; }
#miriam-welcome .miriam-welcome-choices { display: grid; gap: 8px; }
#miriam-welcome .miriam-welcome-choices a {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 10px;
  padding: 7px;
  border: 1px solid #d8cdb6;
  border-radius: 6px;
  color: #292720;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease;
}
#miriam-welcome .miriam-welcome-choices a:hover { background: #efe8da; border-color: #8b7651; }
#miriam-welcome .miriam-welcome-choices img { width: 48px; height: 48px; object-fit: cover; border-radius: 3px; }
#miriam-welcome strong { display: block; font-size: 14px; line-height: 1.4; font-weight: 600; }
#miriam-welcome small { display: block; margin-top: 3px; color: #605b50; font-size: 11px; line-height: 1.4; }
#miriam-welcome button { font-family: inherit; color: #292720; background: transparent; border: 0; box-shadow: none; cursor: pointer; }
#miriam-welcome .miriam-welcome-close { position: absolute; top: 9px; right: 9px; width: 44px; height: 44px; padding: 0; font-size: 26px; font-weight: 300; line-height: 1; border-radius: 50%; }
#miriam-welcome .miriam-welcome-close:hover { background: #efe8da; }
#miriam-welcome .miriam-welcome-continue { display: block; min-height: 44px; margin: 8px auto -8px; padding: 8px 16px; text-decoration: underline; text-underline-offset: 3px; font-size: 12px; }

/* Specificity overrides native appearance, never its display/hidden state. */
html body .cmplz-cookiebanner {
  width: 390px;
  min-width: 0;
  max-width: calc(100vw - 24px);
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  left: auto;
  right: 24px;
  top: auto;
  bottom: 24px;
  transform: none;
  padding: 16px 20px;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  --cmplz_slider_active_color: #746143;
  --cmplz_category_header_always_active_color: #4b6147;
}
html body .cmplz-cookiebanner > * { grid-column: 1 / -1; }
html body .cmplz-cookiebanner .cmplz-header { grid-template-columns: minmax(0, 1fr) 44px; gap: 8px; }
html body .cmplz-cookiebanner .cmplz-logo:empty { display: none; }
html body .cmplz-cookiebanner .cmplz-header .cmplz-title { display: block; grid-column: 1; justify-self: start; font: 400 23px/1.2 Georgia, "Times New Roman", serif; }
html body .cmplz-cookiebanner .cmplz-header .cmplz-close { grid-column: 2; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
html body .cmplz-cookiebanner .cmplz-header .cmplz-close svg { width: 14px; height: 14px; }
html body .cmplz-cookiebanner .cmplz-divider { display: none; }
html body .cmplz-cookiebanner .cmplz-body { min-width: 0; max-height: none; overflow: visible; }
html body .cmplz-cookiebanner .cmplz-message { margin: 0; font-size: 14px; line-height: 1.5; }
html body .cmplz-cookiebanner :is(.cmplz-message, .cmplz-categories) { width: 100%; }
html body .cmplz-cookiebanner .cmplz-message p { margin: 0; }
html body .cmplz-cookiebanner .cmplz-buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
html body .cmplz-cookiebanner .cmplz-buttons .cmplz-btn:is(.cmplz-accept, .cmplz-deny, .cmplz-view-preferences, .cmplz-save-preferences) { min-height: 44px; height: auto; width: 100%; padding: 10px; white-space: normal; border: 1px solid #8b7651; border-radius: 5px; color: #292720; background: #efe8da; font: 500 14px/1.4 system-ui, sans-serif; }
html body .cmplz-cookiebanner .cmplz-buttons .cmplz-btn:is(.cmplz-accept, .cmplz-deny, .cmplz-view-preferences, .cmplz-save-preferences):hover { background: #e7decd; }
html body .cmplz-cookiebanner .cmplz-view-preferences,
html body .cmplz-cookiebanner .cmplz-save-preferences { grid-column: 1 / -1; }
html body .cmplz-cookiebanner .cmplz-buttons .cmplz-view-preferences { background: transparent; border-color: #d8cdb6; }
html body .cmplz-cookiebanner .cmplz-documents ul { display: flex; flex-wrap: wrap; gap: 4px 12px; justify-content: flex-start; text-align: left; }
html body .cmplz-cookiebanner .cmplz-links .cmplz-link { color: #60543c; font-size: 12px; line-height: 1.5; text-underline-offset: 3px; }
html body .cmplz-cookiebanner .cmplz-category { background: #efe8da; border-radius: 5px; }
html body .cmplz-cookiebanner .cmplz-category .cmplz-category-header { grid-template-columns: minmax(0, 1fr) auto 44px !important; gap: 6px; padding: 4px 8px; }
html body .cmplz-cookiebanner .cmplz-category .cmplz-category-toggle { width: 44px; height: 44px; }
html body .cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-description { font-size: 13px; line-height: 1.5; }
html body .cmplz-cookiebanner.cmplz-show,
html body .cmplz-cookiebanner.cmplz-show:hover { box-shadow: 0 8px 40px #2927201c; }
#miriam-welcome :is(a, button):focus-visible,
html body .cmplz-cookiebanner :is(a, button, input, [role="button"]):focus-visible { outline: 2px solid #746143; outline-offset: 3px; }
@media (max-width: 600px) {
  #miriam-welcome, html body .cmplz-cookiebanner { right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); }
  #miriam-welcome { padding: 20px; }
  html body .cmplz-cookiebanner { padding: 12px 16px; }
}
@media (max-height: 400px) {
  html body .cmplz-cookiebanner { height: auto; overflow: auto; zoom: 1; }
  html body .cmplz-cookiebanner .cmplz-header { max-height: none; }
  html body .cmplz-cookiebanner :is(.cmplz-close, .cmplz-buttons .cmplz-btn, .cmplz-documents, .cmplz-information) { zoom: 1 !important; }
  html body .cmplz-cookiebanner .cmplz-buttons .cmplz-btn:is(.cmplz-accept, .cmplz-deny, .cmplz-view-preferences, .cmplz-save-preferences) { height: auto !important; min-height: 44px !important; padding: 10px !important; font-size: 14px !important; line-height: 1.4 !important; }
}
@keyframes miriam-entry-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  #miriam-welcome:not([hidden]) { animation: none; }
  #miriam-welcome .miriam-welcome-choices a { transition: none; }
}
