html.cca-drawer-open { overflow: hidden; }
#cca-auto-drawer {
  position: fixed; inset: 0 0 0 auto; margin: 0;
  width: min(720px, 100%); height: 100%; height: 100dvh;
  max-height: none; max-width: 100%; padding: 0; border: 0;
  box-sizing: border-box; background: white; color: #132a49;
  box-shadow: -8px 0 48px #10244433;
}
#cca-auto-drawer[open] { display: flex; flex-direction: column; }
#cca-auto-drawer::backdrop { background: rgb(12 30 52 / 55%); }
#cca-auto-drawer .cca-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 18px clamp(16px, 4vw, 32px); background: #123450; color: white;
}
#cca-auto-drawer .cca-bar h2 { margin: 0; color: white; font: 600 clamp(19px, 3vw, 25px)/1.2 Arial,sans-serif; letter-spacing: normal; text-transform: none; }
#cca-auto-drawer .cca-close {
  cursor: pointer; background: transparent; color: white; padding: 10px;
  border: 1px solid #ffffff70; border-radius: 4px; font: 500 15px/1.2 Arial,sans-serif;
}
#cca-auto-drawer iframe { flex: 1; min-height: 0; width: 100%; margin: 0; border: 0; background: white; }
@media (prefers-reduced-motion: no-preference) {
  #cca-auto-drawer[open] { animation: cca-slide-in .25s ease-out; }
  @keyframes cca-slide-in { from { transform: translateX(100%); } to { transform: translateX(0); } }
}
html.cca-embed-mode { margin-top: 0 !important; }
.cca-embed-mode body { margin: 0 !important; min-width: 0; background: white; }
.cca-embed-mode body > :is(#wrap_all, #wpadminbar, header, footer, .skip-link, #scroll-top-link) { display: none !important; }
.cca-embedded { display: block; padding: 4px clamp(16px, 5vw, 36px) 32px; background: white; }
#top .cca-form, .cca-form { color: #21374a; font: 400 16px/1.5 Arial,sans-serif; }
.cca-form *, .cca-form { box-sizing: border-box; }
#top .cca-form fieldset { min-width: 0; margin: 0; border: 0; padding: 0; }
#top .cca-form .cca-section { margin: 20px 0 30px; }
#top .cca-form .cca-section > legend {
  float: none; display: block; width: 100%; margin: 0 0 15px; border: 0;
  border-bottom: 2px solid #c4e3e3; padding: 0 0 7px; color: #123450;
  text-transform: none; letter-spacing: normal; font: 650 21px/1.35 Arial,sans-serif;
}
.cca-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.cca-field { min-width: 0; }
.cca-wide { grid-column: 1 / -1; }
#top .cca-form .cca-caption { display: block; padding: 0; margin: 0 0 5px; font: 600 15px/1.4 Arial,sans-serif; color: #274255; }
#top .cca-form :is(input:not([type=checkbox],[type=radio],[type=submit]), textarea, select) {
  display: block; width: 100%; max-width: 100%; margin: 0; padding: 10px 12px; border: 1px solid #aabdc5;
  border-radius: 5px; background: #fbfdfd; color: #172e43; font: 400 16px/1.45 Arial,sans-serif;
}
#top .cca-form textarea { min-height: 95px; height: 100px; resize: vertical; }
#top .cca-form :focus-visible, #cca-auto-drawer button:focus-visible { outline: 3px solid #2a99ac; outline-offset: 2px; }
#top .cca-form .cca-help, #top .cca-form .cca-intro { color: #475d68; font-size: 14px; }
#top .cca-form .wpcf7-list-item { display: block; margin: 0 0 4px; }
#top .cca-form .wpcf7-list-item label {
  display: flex; align-items: baseline; gap: 10px; padding: 7px 10px; margin: 0;
  background: #f2f7f8; border-radius: 4px; color: #243c4a; cursor: pointer; font: 400 15px/1.5 Arial,sans-serif;
}
#top .cca-form input[type=checkbox] { flex: none; margin: 0; accent-color: #126572; }
#top .cca-form input[type=submit] {
  border: 0; border-radius: 5px; background: #135c6b; color: white; padding: 14px 24px; cursor: pointer; font-weight: 700;
}
@media (max-width: 520px) {
  .cca-fields { grid-template-columns: minmax(0,1fr); }
  #top .cca-form input[type=submit] { width: 100%; }
}

#cca-auto-drawer .cca-bar { justify-content: flex-start; }
#cca-auto-drawer .cca-bar-logo {
  flex: none;
  width: clamp(34px, 7vw, 46px);
  height: auto;
  display: block;
}
#cca-auto-drawer .cca-close { margin-left: auto; flex: none; }
