#offer-chat{width:min(33rem,calc(100vw - 1.4rem));max-height:92dvh;padding:0;border:1px solid #d8d8d1;border-radius:1rem;background:var(--paper);color:#191b18;box-shadow:0 24px 100px #0005;margin:auto}
#offer-chat::backdrop{background:#1518159e}#offer-chat [hidden]{display:none!important}
.oc-panel{display:flex;flex-direction:column;max-height:90dvh}
.oc-head{background:#191b18;color:white;padding:1.15rem 1.25rem;display:flex;align-items:center;justify-content:space-between;gap:.75rem}
.oc-head h2{font:650 1.45rem/1.2 Inter,Arial,sans-serif;letter-spacing:-.045em}.oc-controls,.oc-actions{display:flex;gap:.55rem;align-items:center;flex-wrap:wrap}
#offer-chat button{cursor:pointer;font:inherit}.oc-controls button{padding:.35rem .55rem;color:white;border:1px solid #687065;background:transparent;border-radius:.45rem}.oc-controls .oc-close{font-size:1.3rem!important;line-height:1;padding:.24rem .5rem}
.oc-thread{overflow:auto;min-height:6rem;max-height:40dvh;display:flex;flex-direction:column;gap:.65rem;padding:1rem 1.15rem;overscroll-behavior:contain}
.oc-msg{align-self:flex-start;max-width:93%;border-radius:.8rem;background:#eeeee8;padding:.6rem .85rem;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.45;margin:0}.oc-msg.user{background:#e1e7df;align-self:flex-end}
.oc-body{padding:.3rem 1.2rem 1.15rem;overflow:auto}.oc-body label{display:block;font-weight:600;margin:.5rem 0 .2rem}.oc-body input,.oc-body textarea{font:inherit;width:100%;padding:.6rem .7rem;border:1px solid #767970;border-radius:.45rem;background:white;color:#181a17;line-height:1.35}.oc-body textarea{resize:vertical;max-height:17dvh}
.oc-actions{margin-top:.6rem;justify-content:space-between}.oc-primary,.oc-secondary{border:1px solid #242623;border-radius:2rem;padding:.45rem .9rem;font-weight:600!important}.oc-primary{background:#20231f;color:white}.oc-secondary{background:transparent;color:#252821}.oc-body button:disabled{opacity:.55;cursor:wait!important}.oc-note,.oc-status{font-size:.9rem;line-height:1.4;margin:.45rem 0;color:#4b5049}.oc-status:empty{margin:0}.oc-body a{color:#303931;text-decoration:underline}.oc-body :focus-visible,.oc-controls :focus-visible{outline:3px solid #bd4423;outline-offset:2px}
@media(max-width:550px){.oc-head,.oc-thread,.oc-body{padding-left:1rem;padding-right:1rem}.oc-thread{max-height:32dvh}.oc-body textarea{max-height:14dvh}}
