.guest-drawer{--guest-ink:#163b30;position:fixed;inset:14px 14px 14px auto;margin:0;width:min(470px,calc(100vw - 28px));height:calc(100dvh - 28px);max-width:none;max-height:none;padding:0;border:1px solid #dce5de;border-radius:22px;background:#fbfcf8;color:var(--guest-ink);box-shadow:0 22px 90px #0b2b2530;overflow:hidden}
.guest-drawer[open]{display:flex;flex-direction:column}.guest-drawer::backdrop{background:#102e2b42;backdrop-filter:blur(4px)}.guest-drawer svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.guest-drawer button,.guest-add-photo{touch-action:manipulation}.guest-head{display:flex;align-items:center;gap:12px;padding:20px;border-bottom:1px solid #e3e9e1;flex:none;background:#fff}.guest-avatar{width:44px;height:44px;border-radius:15px;background:#e8f0e5;display:grid;place-items:center}.guest-head h2{font-size:17px;margin:0 0 5px;font-weight:650}.guest-head p{font-size:11px;color:#78867a;margin:0}.guest-head>button{margin-left:auto;flex:none;width:40px;height:40px;display:grid;place-items:center;border:0;border-radius:50%;background:#f2f5ef;color:inherit}.guest-context{display:flex;align-items:center;gap:10px;margin:12px 16px 0;padding:11px 13px;background:#f0f4eb;border:1px solid #e4eadc;border-radius:12px;flex:none}.guest-context[hidden]{display:none}.guest-context>span{display:grid;place-items:center}.guest-context small{display:block;font-size:10px;color:#84917c;margin-bottom:4px}.guest-context strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:12px;line-height:1.6;font-weight:600}.guest-feed{min-height:80px;flex:1;overflow:auto;overscroll-behavior:contain;padding:22px 16px 18px;scroll-behavior:smooth}.guest-welcome{padding:50px 15px;text-align:center;max-width:270px;margin:auto}.guest-welcome>span{display:grid;place-items:center;margin:0 auto 17px;width:56px;height:56px;background:#edf2e6;border-radius:20px}.guest-welcome h3{font-size:18px;font-weight:600;margin:0 0 12px}.guest-welcome p{font-size:12px;line-height:1.9;color:#7f8d80;margin:0}.guest-loading{padding:35px;text-align:center;color:#81907c;font-size:12px}.guest-message{display:flex;flex-direction:column;align-items:flex-start;margin-bottom:22px}.guest-message small{font-size:10px;color:#859085;margin-bottom:7px}.guest-message>p{max-width:88%;padding:12px 15px;border:1px solid #e2e8df;background:white;border-radius:3px 16px 16px;line-height:1.8;font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.guest-message-visitor{align-items:flex-end}.guest-message-visitor>p{color:#fff;background:#23543f;border-color:#23543f;border-radius:16px 3px 16px 16px}.guest-message-system{align-items:center}.guest-message-system>p{font-size:11px;border:0;background:#f1f3ec;color:#7e8a7b;text-align:center}.guest-message-images{display:flex;flex-wrap:wrap;gap:5px;max-width:88%;margin-top:6px}.guest-message-images button{width:128px;height:128px;border:1px solid #dce5d6;border-radius:13px;padding:0;overflow:hidden;background:#eaf0e5;color:#6c806c;font-size:11px}.guest-message-images img{width:100%;height:100%;object-fit:cover}.guest-composer{border-top:1px solid #e2e8de;padding:13px 16px 17px;background:white;flex:none}.guest-composer textarea{box-sizing:border-box;display:block;resize:none;width:100%;max-height:130px;min-height:67px;border:1px solid #e0e6da;border-radius:13px;background:#f8faf4;color:#173c30;font:inherit;font-size:14px;padding:12px;line-height:1.6;outline:none}.guest-composer textarea:focus{border-color:#789676;box-shadow:0 0 0 3px #a7bd9820}.guest-compose-actions{display:flex;gap:10px;align-items:center;padding-top:10px}.guest-add-photo{display:flex;align-items:center;gap:5px;position:relative;cursor:pointer;font-size:12px;min-height:40px;padding-right:8px}.guest-add-photo input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}.guest-compose-note{font-size:10px;color:#9aa38f}.guest-send{margin-left:auto;display:flex;align-items:center;justify-content:center;gap:9px;min-width:86px;min-height:40px;border:0;border-radius:12px;background:#204d3b;color:#fff;font-size:12px;padding:9px 14px}.guest-send:disabled{opacity:.5}.guest-consent{display:flex;align-items:flex-start;gap:8px;margin-top:11px;font-size:10px;line-height:1.7;color:#7d8978}.guest-consent input{accent-color:#28543d;margin-top:2px;width:15px;height:15px;flex:none}.guest-alert{font-size:11px;background:#fff6e8;color:#8c5e2f;padding:10px 16px;flex:none;border-top:1px solid #f1e1c9}.guest-alert[hidden]{display:none}.guest-alert p{margin:0;line-height:1.6}.guest-alert button{border:0;border-bottom:1px solid currentColor;background:transparent;color:inherit;padding:6px 0 1px;font-size:11px}.guest-selected{display:flex;gap:7px;overflow:auto;margin-bottom:10px;padding-top:4px}.guest-selected[hidden]{display:none}.guest-selected>div{position:relative;width:69px;flex:none}.guest-selected img{width:69px;height:69px;object-fit:cover;border-radius:10px}.guest-selected button{position:absolute;right:-3px;top:-3px;display:grid;place-items:center;width:22px;height:22px;padding:3px;border:1px solid #d7e0d2;border-radius:50%;background:#fff;color:#3b5945}.guest-selected button svg{width:12px;height:12px}.guest-selected small{display:block;font-size:9px;color:#89977e;padding-top:3px}.guest-photo-view{max-width:95vw;max-height:95dvh;border:0;border-radius:14px;background:#102c23;padding:40px 10px 10px}.guest-photo-view::backdrop{background:#071c17dd}.guest-photo-view img{max-width:90vw;max-height:82dvh;object-fit:contain}.guest-photo-view button{position:absolute;top:6px;right:6px;width:32px;height:32px;border:0;border-radius:50%;background:#ffffff1f;color:#fff;display:grid;place-items:center}.guest-photo-view svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5}
@media(max-width:760px){.guest-drawer{inset:auto 0 0;margin:0;width:100%;height:96dvh;border-radius:20px 20px 0 0;border-bottom:0}.guest-head{padding:17px 16px}.guest-composer{padding-bottom:calc(13px + env(safe-area-inset-bottom))}.guest-composer textarea{font-size:16px}.guest-consent{font-size:10px}.guest-feed{padding:18px 14px}.guest-message>p{font-size:14px}.guest-message-images button{width:133px;height:133px}}
@media(prefers-reduced-motion:reduce){.guest-feed{scroll-behavior:auto}}
