.cacc-promo-home {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 26px;
  padding: clamp(18px, 3vw, 30px);
  margin-block: 4px 24px;
  color: #213e3a;
  background: #e5f2ef;
  border: 1px solid #b5d4cd;
  border-inline-start: 4px solid #62958a;
  border-radius: 12px;
}
.cacc-promo-home .cacc-promo-text { flex: 1 1 21rem; }
.cacc-promo-text h2, .cacc-promo-text h3 { font-size: clamp(1.125rem, 2vw, 1.4rem); margin: 4px 0; }
.cacc-promo-kicker, .cacc-promo-value { color: #315850; font-weight: 700; }
.cacc-promo-actions, .cacc-promo-copy { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.cacc-promo .btn, .cacc-promo-dialog .btn { min-height: 44px; justify-content: center; text-align: center; }
.cacc-promo-quiz_result {
  margin-block: 14px 20px;
  padding: 16px clamp(16px, 3vw, 24px);
  background: #fff;
  border: 1px solid #bdcfc9;
  border-radius: 10px;
}
[data-cacc-promo="area_course"]:not(:empty) { margin-top: 10px; }
.cacc-course-offer {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  max-width: 100%;
  min-height: 44px;
  padding: 4px 13px;
  border: 1px solid #90b7ae;
  border-radius: 24px;
  background: transparent;
  color: #2e574f;
  font: inherit;
  font-size: .91rem;
  font-weight: 600;
}
.cacc-course-offer::before {
  content: '';
  width: 1.05em;
  height: 1.05em;
  flex: none;
  background: currentColor;
  clip-path: polygon(0 16%, 100% 16%, 100% 36%, 87% 43%, 87% 57%, 100% 64%, 100% 84%, 0 84%, 0 64%, 13% 57%, 13% 43%, 0 36%);
}
button.cacc-course-offer { cursor: pointer; }
button.cacc-course-offer:hover, .promo-return:hover { color: #173c35; background: #eff6f3; }
.cacc-promo-dialog {
  box-sizing: border-box;
  width: min(29rem, calc(100% - 32px));
  max-height: 85vh;
  max-height: 85dvh;
  overflow: auto;
  margin: auto;
  padding: clamp(20px, 4vw, 32px);
  color: #233d37;
  background: #fff;
  border: 1px solid #b9ccc6;
  border-radius: 14px;
  box-shadow: 0 18px 70px #16372d24;
}
.cacc-promo-dialog::backdrop { background: rgb(24 45 39 / .38); }
.cacc-promo-dialog h2 { font-size: 1rem; margin: 0 0 10px; color: #405e55; }
.cacc-promo-value strong, .cacc-promo-highlight { color: #245447; font-size: clamp(1.65rem, 4vw, 2.2rem); line-height: 1.2; white-space: nowrap; }
.cacc-promo-copy { margin-top: 14px; align-items: stretch; }
.cacc-promo-code { display: grid; align-content: center; flex: 1 1 12rem; min-width: 0; max-width: 22rem; padding: 7px 12px; background: white; border: 1px solid #96afa5; border-radius: 7px; }
.cacc-promo-code span { color: #315850; font-size: .8rem; font-weight: 700; }
.cacc-promo-code input { width: 100%; min-width: 0; border: 0; padding: 0; color: #254c40; background: transparent; font: 700 1.4rem/1.35 ui-monospace, monospace; letter-spacing: .06em; }
.cacc-promo-copy .btn { background: #28584b; color: white; border-color: #28584b; }
.cacc-promo-status:not(:empty) { margin-top: 10px; color: #245447; font-weight: 700; }
.cacc-promo-terms { margin-top: 10px; font-size: .875rem; }
.promo-return { min-height: 44px; margin-top: 10px; padding: 4px 8px; border: 0; border-radius: 4px; background: transparent; color: #315850; font: inherit; text-decoration: underline; cursor: pointer; }
.quiz-line { display: block; width: fit-content; min-height: 40px; margin: -3px 0 12px; }
[data-promo-demo] .preview-note a { margin-inline: .5rem; text-decoration: underline; }
@media (max-width: 480px) {
  .cacc-promo-actions, .cacc-promo .btn, .cacc-promo-copy .btn, .cacc-promo-code { width: 100%; }
  .cacc-promo-code { flex-basis: 100%; max-width: none; }
}
