.chat{flex-direction:column;gap:.75rem;font-size:.95rem;display:flex}.chat__body{background:#80808014;border:1px solid #80808040;border-radius:.75rem;flex-direction:column;gap:.5rem;height:380px;padding:.75rem;display:flex;overflow-y:auto}.chat__more{opacity:.7;cursor:pointer;background:0 0;border:0;align-self:center;font-size:.8rem;text-decoration:underline}.chat__empty{opacity:.6;margin:auto}.chat__row{display:flex}.chat__row--mine{justify-content:flex-end}.chat__bubble{word-break:break-word;background:#80808038;border-radius:1rem 1rem 1rem .25rem;max-width:min(80%,34rem);padding:.5rem .75rem}.chat__row--mine .chat__bubble{color:#fff;background:#4f46e5;border-bottom-right-radius:.25rem;border-bottom-left-radius:1rem}.chat__author{opacity:.75;margin-bottom:.15rem;font-size:.75rem;font-weight:600}.chat__photos{flex-wrap:wrap;gap:.35rem;margin-top:.35rem;display:flex}.chat__photos img{object-fit:cover;border-radius:.5rem;width:auto;max-width:100%;height:6rem;display:block}.chat__meta{opacity:.7;text-align:right;margin-top:.15rem;font-size:.7rem}.chat__form{flex-direction:column;gap:.5rem;display:flex}.chat__input{resize:vertical;width:100%;min-height:2.75rem;color:inherit;font:inherit;background:0 0;border:1px solid #80808073;border-radius:.75rem;padding:.5rem .75rem}.chat__actions{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.chat__btn{color:inherit;cursor:pointer;font:inherit;background:0 0;border:1px solid #80808080;border-radius:.6rem;padding:.45rem .9rem}.chat__btn--primary{color:#fff;background:#4f46e5;border-color:#4f46e5;margin-left:auto}.chat__btn[disabled]{opacity:.5;cursor:wait}.chat__file{display:inline-block;position:relative;overflow:hidden}.chat__file input{opacity:0;cursor:pointer;position:absolute;inset:0}.chat__error{color:#dc2626;font-size:.85rem}.chat__notice{background:#80808026;border-radius:.6rem;padding:.6rem .8rem;font-size:.9rem}.online-switch{align-items:center;display:flex;position:relative}.online-switch__btn{color:inherit;cursor:pointer;font:inherit;background:0 0;border:1px solid #80808080;border-radius:999px;align-items:center;gap:.4rem;padding:.35rem .8rem;font-size:.85rem;display:inline-flex}.online-switch__btn--on{color:#059669;border-color:#059669;font-weight:600}.online-switch__dot{background:#9ca3af;border-radius:50%;width:.55rem;height:.55rem}.online-switch__btn--on .online-switch__dot{background:#059669;box-shadow:0 0 0 3px #05966940}.online-switch__msg{z-index:50;color:#78350f;background:#fef3c7;border-radius:.5rem;width:18rem;padding:.5rem .7rem;font-size:.8rem;position:absolute;top:120%;right:0;box-shadow:0 4px 12px #00000026}.push-toggle{flex-direction:column;align-items:flex-start;gap:.25rem;display:inline-flex}.push-toggle__btn{color:inherit;cursor:pointer;font:inherit;background:0 0;border:1px solid #80808080;border-radius:999px;align-items:center;gap:.4rem;padding:.35rem .8rem;font-size:.85rem;display:inline-flex}.push-toggle__btn[disabled]{opacity:.5;cursor:not-allowed}.push-toggle__btn--on{color:#059669;border-color:#059669;font-weight:600}.push-toggle__dot{background:#9ca3af;border-radius:50%;width:.55rem;height:.55rem}.push-toggle__btn--on .push-toggle__dot{background:#059669}.push-toggle__note{opacity:.7;font-size:.8rem}.chat__flag{cursor:pointer;opacity:.55;color:inherit;background:0 0;border:0;margin-right:.25rem;font-size:.8rem}.chat__flag:hover{opacity:1}.cmp-overlay{z-index:100;background:#00000080;justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0}.cmp-box{color:canvastext;background:canvas;border-radius:.9rem;width:min(32rem,100%);padding:1.25rem;box-shadow:0 10px 30px #00000059}.cmp-title{margin-bottom:.75rem;font-size:1.1rem;font-weight:700}.cmp-label{margin-bottom:.25rem;font-size:.85rem;font-weight:600;display:block}
