.nop-chat { font-family: inherit; color: #182b25; box-sizing: border-box; }
.nop-chat *, .nop-chat *::before, .nop-chat *::after { box-sizing: inherit; }
.nop-chat--floating { position: fixed; right: 20px; bottom: 20px; z-index: 99999; }
.nop-chat__launcher, .nop-chat__send { border: 0; border-radius: 999px; background: #17683f; color: #fff; cursor: pointer; font: inherit; font-weight: 600; padding: 11px 18px; }
.nop-chat__launcher:hover, .nop-chat__send:hover { background: #105532; }
.nop-chat__panel { width: min(360px, calc(100vw - 40px)); height: 460px; max-height: min(70vh, 460px); display: flex; flex-direction: column; border: 1px solid #d5e0d8; border-radius: 14px; background: #fff; box-shadow: 0 12px 32px rgba(0,0,0,.18); overflow: hidden; }
.nop-chat__panel[hidden] { display: none; }
.nop-chat--floating .nop-chat__panel { position: absolute; right: 0; bottom: 55px; }
.nop-chat--embedded .nop-chat__panel { width: 100%; max-width: 600px; }
.nop-chat__header { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 13px 16px; background: #17683f; color: #fff; }
.nop-chat__header-actions { display: flex; align-items: center; gap: 9px; }
.nop-chat__donate { border: 1px solid #fff; border-radius: 999px; background: transparent; color: #fff; cursor: pointer; font: inherit; font-size: .85em; padding: 5px 10px; }
.nop-chat__donate-action { display: block; margin-top: 10px; border: 0; border-radius: 8px; background: #17683f; color: #fff; cursor: pointer; font: inherit; padding: 8px 10px; }
.nop-chat__close { border: 0; background: transparent; color: #fff; font: inherit; font-size: 26px; line-height: 1; cursor: pointer; padding: 0 2px; }
.nop-chat__messages { flex: 1; min-height: 0; overflow-y: auto; padding: 15px; }
.nop-chat__message { max-width: 90%; margin: 0 0 12px; padding: 10px 12px; border-radius: 12px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.nop-chat__message--assistant { background: #edf4ee; }
.nop-chat__message--user { background: #dcefe3; margin-left: auto; }
.nop-chat__form { display: flex; gap: 7px; padding: 10px; border-top: 1px solid #e2e9e4; }
.nop-chat__input { min-width: 0; flex: 1; border: 1px solid #aebdb2; border-radius: 8px; padding: 9px 10px; font: inherit; }
.nop-chat__send { border-radius: 8px; padding: 9px 12px; }
.nop-chat__send:disabled { opacity: .6; cursor: wait; }
.nop-chat__status { min-height: 1.3em; margin: 0; padding: 0 12px 8px; color: #8c3229; font-size: .85em; }
.nop-chat .screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.nop-chat__launcher:focus-visible, .nop-chat__close:focus-visible, .nop-chat__input:focus-visible, .nop-chat__send:focus-visible { outline: 3px solid #e3b84b; outline-offset: 2px; }
.nop-donation, .nop-donation * { box-sizing: border-box; }
.nop-donation { position: fixed; inset: 0; z-index: 100001; display: grid; place-items: center; padding: 20px; font-family: inherit; }
.nop-donation[hidden] { display: none; }
.nop-donation__backdrop { position: absolute; inset: 0; background: rgba(13, 31, 22, .72); }
.nop-donation__dialog { position: relative; width: min(100%, 480px); max-height: calc(100vh - 40px); overflow-y: auto; border-radius: 16px; background: #fff; color: #182b25; box-shadow: 0 16px 48px rgba(0, 0, 0, .26); padding: 30px; }
.nop-donation__dialog h2 { margin: 0 35px 12px 0; font-size: 1.5rem; line-height: 1.25; }
.nop-donation__dialog p { margin: 0 0 14px; line-height: 1.5; }
.nop-donation__test-note { border-radius: 8px; background: #fff1d6; padding: 9px 11px; font-weight: 600; }
.nop-donation__close { position: absolute; top: 12px; right: 16px; border: 0; background: transparent; font: inherit; font-size: 28px; cursor: pointer; }
.nop-donation__form { display: grid; gap: 10px; }
.nop-donation__form > label:first-child { font-weight: 600; }
.nop-donation__form input[type=number] { width: 100%; border: 1px solid #aebdb2; border-radius: 8px; padding: 10px; font: inherit; }
.nop-donation__eligibility { display: flex; align-items: flex-start; gap: 9px; line-height: 1.45; }
.nop-donation__eligibility input { margin-top: 4px; }
.nop-donation__submit { border: 0; border-radius: 8px; background: #17683f; color: #fff; cursor: pointer; font: inherit; font-weight: 600; padding: 12px 16px; }
.nop-donation__submit:disabled { opacity: .6; cursor: wait; }
.nop-donation__status { min-height: 1.3em; color: #8c3229; }
.nop-donation__result { border-radius: 8px; background: #edf4ee; padding: 12px 16px; }
.nop-donation button:focus-visible, .nop-donation input:focus-visible, .nop-chat__donate:focus-visible, .nop-chat__donate-action:focus-visible { outline: 3px solid #e3b84b; outline-offset: 2px; }
@media (max-width: 480px) { .nop-chat--floating { right: 12px; bottom: 12px; } .nop-chat--floating .nop-chat__panel { width: calc(100vw - 24px); max-height: min(75vh, 560px); } }
