.property-chat-entry{position:relative}.tenant-chat>summary{padding-right:55px}.chat-notification-button{position:absolute;right:14px;top:17px;font-size:24px;width:44px;padding:5px}.chat-unread{display:inline-block;background:#9ef1df;color:#062b2c;padding:3px 10px;border-radius:20px;font-size:.72rem}.property-chat-window{position:relative;isolation:isolate;overflow:hidden;border-radius:20px;background:var(--panel2,#edf3f7);padding:16px}.chat-house-orbit{position:absolute;left:50%;top:130px;transform:translateX(-50%);width:200px;height:200px;border:1px solid #71bdbd33;border-radius:50%;opacity:.13;z-index:-1;animation:chat-house-turn 25s linear infinite;pointer-events:none}.chat-house-orbit span{position:absolute;inset:45px;display:grid;place-items:center;font-size:75px;animation:chat-house-counter 25s linear infinite}.chat-house-orbit i{position:absolute;font-size:35px;font-style:normal}.chat-house-orbit i:nth-child(2){left:0;top:45px}.chat-house-orbit i:nth-child(3){right:0;top:65px}.chat-house-orbit i:nth-child(4){bottom:0;left:80px}.property-chat-feed{touch-action:pan-y;min-width:0;display:flex;flex-direction:column;gap:12px;min-height:240px;max-height:65dvh;overflow:auto;overscroll-behavior:auto;padding:14px 8px;scrollbar-gutter:stable}.property-chat-bubble{position:relative;max-width:88%;align-self:flex-start;padding:14px 17px;border-radius:18px 18px 18px 4px;background:var(--panel,#fff);border:1px solid var(--line,#bcc9d6);overflow-wrap:anywhere}.property-chat-bubble.mine{align-self:flex-end;border-radius:18px 18px 4px 18px;border-color:#52b6ac;background:var(--panel,#e3faf2)}.property-chat-bubble p{white-space:pre-wrap;margin:6px 0}.property-chat-bubble small{display:block;font-size:.7rem;color:var(--muted,#506679)}.property-chat-composer{border-top:1px solid var(--line,#bcc9d6);padding-top:16px;margin-top:12px;display:grid;gap:12px}.property-chat-composer textarea{width:100%;min-height:100px}.property-chat-composer>.primary{justify-self:end;min-width:135px}.property-chat-composer .muted,.chat-delivery-options p{font-size:.85rem}.chat-page-actions{margin-top:12px}.chat-page-actions button{font-size:.8rem}.chat-empty{margin:auto;text-align:center;max-width:280px}.chat-delivery-options{margin-top:16px}.property-chat-bubble button{max-width:100%;overflow-wrap:anywhere} @keyframes chat-house-turn{to{transform:translateX(-50%) rotate(360deg)}}@keyframes chat-house-counter{to{transform:rotate(-360deg)}}@media(max-width:450px){.property-chat-window{padding:8px}.property-chat-feed{padding:10px 0;min-height:220px}.property-chat-bubble{max-width:94%}.property-chat-entry .tenant-chat{padding:14px}.tenant-chat>summary{font-size:.94rem}.chat-notification-button{right:10px;top:12px}.property-chat-composer .property-upload{padding:14px}}@media(prefers-reduced-motion:reduce){.chat-house-orbit,.chat-house-orbit span{animation:none!important}}

.chat-search{display:grid;gap:6px;font-size:.8rem}.chat-search input{width:100%;min-width:0}.property-chat-composer{grid-template-columns:repeat(6,minmax(0,1fr))}.property-chat-composer>*{grid-column:1/-1}.property-chat-composer>.chat-emoji{grid-column:auto;min-width:0;padding:8px;font-size:1.25rem}.chat-emoji-bar{display:flex;flex-wrap:wrap;gap:8px}.chat-emoji-bar button{min-width:44px;min-height:44px}.property-chat-bubble[hidden]{display:none}.tenant-chat summary{cursor:pointer;min-height:44px}.property-chat-composer button:focus-visible,.tenant-chat summary:focus-visible{outline:3px solid #39b7a9;outline-offset:3px}

.property-chat-entry [hidden]{display:none!important}.property-chat-composer input[type=file]{max-width:100%}.property-chat-window{color:var(--text,#172a36)}

.property-chat-window .chat-search{display:grid;gap:6px;justify-content:stretch}.property-chat-window .chat-search input{width:100%;padding:10px 12px;border:1px solid var(--line,#aebfcc);border-radius:12px;background:var(--panel,#fff);color:inherit}.property-chat-window .property-chat-composer{width:100%;min-width:0}

.chat-day{align-self:center;font-size:.75rem;padding:5px 12px;border-radius:20px;background:var(--panel,#fff);color:var(--muted,#506679);text-align:center}.chat-copy{font-size:.72rem;padding:6px 10px;min-height:32px;margin-top:7px}.chat-page-actions{display:flex;gap:8px;flex-wrap:wrap}.chat-search-result:empty{display:none}.chat-search-result{font-size:.8rem;color:var(--muted,#506679)}.property-chat-window .chat-search{grid-template-columns:minmax(0,1fr)}

.attachment-preview{grid-column:1/-1}.attachment-preview img,.attachment-preview video{display:block;max-width:100%;width:auto;max-height:200px;border-radius:14px;object-fit:contain}.attachment-preview[hidden]{display:none}

.chat-copy{min-height:44px}
.tenant-delivery-picker{border:1px solid var(--line,#395369);border-radius:16px;padding:14px;min-width:0}.tenant-delivery-picker legend{font-weight:700;padding:0 8px}.tenant-delivery-choice{display:flex;gap:12px;align-items:flex-start;padding:12px 0;border-bottom:1px solid var(--line,#395369);cursor:pointer}.tenant-delivery-choice input{width:22px;height:22px;flex-shrink:0;accent-color:var(--accent,#48dbc0)}.tenant-delivery-choice span{min-width:0}.tenant-delivery-choice strong,.tenant-delivery-choice small{display:block;overflow-wrap:anywhere}.tenant-delivery-choice small{font-size:.8rem;margin-top:4px;color:var(--muted,#879daf)}.tenant-contact-popup{width:min(480px,calc(100vw - 32px));max-height:85dvh;overflow:auto;padding:24px;border-radius:22px;background:var(--panel,#14243a);color:var(--text,#f3f7ff);border:1px solid var(--line,#395369)}.tenant-contact-popup::backdrop{background:#050b19b8}.tenant-contact-popup input{width:100%;min-width:0}.tenant-contact-popup .row{display:flex;gap:10px;flex-wrap:wrap}.tenant-contact-popup>button{margin-top:16px}.tenant-contact-popup h2{font-size:1.35rem;margin-top:0}[data-chat-delivery-result]:empty{display:none}[data-chat-delivery-result]{padding:14px;border-radius:14px;border:1px solid var(--line,#395369);overflow-wrap:anywhere}

.chat-attachment{margin:12px 0;min-width:0}.chat-attachment img,.chat-attachment video,.chat-attachment audio{display:block;max-width:100%;max-height:360px;margin:8px 0;border-radius:12px}.chat-attachment iframe{width:100%;height:350px;border:0}.chat-attachment pre{white-space:pre-wrap;overflow-wrap:anywhere}.chat-recording{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:12px 0}.reminder-stage{margin:12px 0}.rent-reminder-preview article{padding:12px 0;border-top:1px solid var(--line,#395369)}

.chat-recording [hidden],.property-chat-window [hidden],.chat-unread[hidden]{display:none!important;}
