/* Styles intentionally scoped to .ppcc, no global theme resets. */
.ppcc { --ppcc-accent: #7942bd; color: #24202b; font-family: inherit; font-size: 15px; line-height: 1.5; }
.ppcc *, .ppcc *::before, .ppcc *::after { box-sizing: border-box; }
.ppcc [hidden] { display: none !important; }
.ppcc button, .ppcc input { font: inherit; }
.ppcc a { color: var(--ppcc-accent); text-decoration: underline; text-underline-offset: 2px; }
.ppcc button:focus-visible, .ppcc a:focus-visible, .ppcc input:focus-visible { outline: 3px solid var(--ppcc-accent); outline-offset: 3px; }
.ppcc-banner { position: fixed; z-index: 2147483000; bottom: 18px; left: 50%; transform: translateX(-50%); width: min(1120px, calc(100% - 32px)); padding: 22px 24px; border: 1px solid #ece6f1; border-radius: 18px; background: #fff; box-shadow: 0 15px 55px rgba(23, 14, 35, .20); display: flex; align-items: center; gap: 24px; }
.ppcc-banner__copy { flex: 1 1 440px; min-width: 0; }
.ppcc-banner__title { margin: 0 0 5px; font: inherit; font-size: 18px; font-weight: 750; line-height: 1.3; color: #24202b; }
.ppcc-banner__desc { margin: 0; color: #4d4654; font-size: 14px; line-height: 1.55; }
.ppcc-banner__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 10px; flex: 0 1 510px; }
.ppcc-btn { appearance: none; display: inline-flex; align-items: center; justify-content: center; min-height: 43px; padding: 10px 16px; border: 1px solid transparent; border-radius: 9px; cursor: pointer; font-size: 13px; font-weight: 700; line-height: 1.2; transition: background-color .15s, box-shadow .15s; white-space: normal; text-align: center; }
.ppcc-btn--primary { background: var(--ppcc-accent); border-color: var(--ppcc-accent); color: #fff; }
.ppcc-btn--primary:hover { filter: brightness(.92); }
.ppcc-btn--outline { background: #fff; border-color: #cac1d4; color: #28212e; }
.ppcc-btn--outline:hover { background: #f6f1fa; }
.ppcc-btn--link { background: transparent; padding-inline: 8px; color: var(--ppcc-accent); }
.ppcc-btn--link:hover { text-decoration: underline; }
.ppcc-launcher { position: fixed; bottom: 15px; left: 15px; z-index: 2147482999; background: #fff; color: #383040; border: 1px solid #ddd5e5; box-shadow: 0 4px 17px rgba(24, 15, 36, .16); border-radius: 30px; padding: 9px 15px; cursor: pointer; font-size: 12px; font-weight: 650; }
.ppcc-launcher:hover { background: #f6f1fa; }
.ppcc-overlay { position: fixed; z-index: 2147483001; inset: 0; background: rgba(21, 14, 30, .62); display: flex; align-items: center; justify-content: center; padding: 16px; overflow-y: auto; }
.ppcc-modal-open { overflow: hidden !important; }
.ppcc-modal { width: min(570px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; padding: 26px; border-radius: 18px; box-shadow: 0 20px 70px rgba(17, 11, 25, .25); }
.ppcc-modal__heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 15px; }
.ppcc-modal__heading h2 { font: inherit; color: #24202b; font-size: 21px; font-weight: 750; line-height: 1.25; margin: 0 0 12px; }
.ppcc-modal p { font-size: 14px; margin: 0 0 17px; color: #4d4654; }
.ppcc-close { background: transparent; border: 0; color: #51465d; cursor: pointer; padding: 0 6px; font-size: 30px; line-height: 1; }
.ppcc-category { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid #ede8f0; }
.ppcc-category strong { display: block; color: #28212e; font-size: 15px; font-weight: 700; }
.ppcc-category span span { display: block; color: #5a5062; font-size: 13px; margin-top: 3px; }
.ppcc-category > div > span { display: block; color: #5a5062; font-size: 13px; margin-top: 3px; }
.ppcc-required { font-size: 12px; color: #61566a; white-space: nowrap; }
.ppcc-category--switch { cursor: pointer; }
.ppcc-category--switch > span { flex: 1; }
.ppcc-category--switch input { accent-color: var(--ppcc-accent); width: 23px; height: 23px; flex: 0 0 auto; cursor: pointer; }
.ppcc-modal__legal { border-top: 1px solid #ede8f0; padding-top: 16px; }
.ppcc-modal__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
@media (max-width: 860px) {
  .ppcc-banner { align-items: stretch; flex-direction: column; gap: 15px; }
  .ppcc-banner__copy, .ppcc-banner__actions { flex: auto; }
  .ppcc-banner__actions { justify-content: flex-start; }
}
@media (max-width: 540px) {
  .ppcc-banner { bottom: 8px; width: calc(100% - 16px); padding: 17px; border-radius: 14px; }
  .ppcc-banner__title { font-size: 16px; }
  .ppcc-banner__desc { font-size: 13px; }
  .ppcc-banner__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .ppcc-banner__actions .ppcc-btn--link { grid-column: 1 / -1; min-height: 30px; }
  .ppcc-btn { font-size: 12px; padding: 10px 9px; }
  .ppcc-modal { padding: 19px; }
  .ppcc-modal__actions .ppcc-btn { flex: 1; }
  .ppcc-required { white-space: normal; text-align: right; }
}
@media (prefers-reduced-motion: reduce) { .ppcc-btn { transition: none; } }
