.chat-moment{background:#e9f0df;border:1px solid #cad9bb;border-radius:22px;padding:28px;margin-bottom:22px;color:#304b30}.chat-moment h2{font-size:24px;line-height:1.6;margin:15px 0 9px}.chat-moment p{font-size:13px;line-height:1.9;color:#52654b}.chat-moment .tag{background:#fff;color:#42634d}.chat-composer{padding:25px}.chat-composer textarea{margin-top:14px;resize:vertical;min-height:100px}.chat-compose-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:15px}.chat-compose-tools>.primary{margin-left:auto}.chat-file-label{cursor:pointer;font-size:12px;display:inline-flex;align-items:center}.chat-file-label input{position:absolute;width:1px;height:1px;opacity:0}.chat-file-label:focus-within{outline:3px solid #42634d;outline-offset:3px}.chat-meta{color:#5d7055;font-size:11px;line-height:1.8}.chat-playbar{display:flex;align-items:center;gap:15px;flex-wrap:wrap;padding:24px 2px}.chat-playbar b{font-size:13px}.chat-playbar small{flex-basis:100%;font-size:11px;color:#63745c}.chat-filters{display:flex;gap:8px;margin:7px 0 20px}.chat-filters button{border:1px solid #d4dfc8;background:#fff;border-radius:22px;padding:10px 18px;color:#52694a}.chat-filters button.active{background:#42634d;color:#fff;border-color:#42634d}.chat-feed{display:grid;gap:18px}.chat-post{padding:25px}.chat-post>header{display:flex;gap:11px;align-items:center}.chat-post>header>div{display:flex;flex-direction:column;gap:5px}.chat-post>header b{font-size:13px}.chat-post>header small{font-size:10px;color:#607454}.chat-post>header>.text-button{margin-left:auto}.chat-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;line-height:1.9;margin:20px 0;color:#304b30}.chat-media-grid{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}.chat-media-grid:empty{display:none}.chat-media-grid figure{margin:0;position:relative;flex:1 1 140px;min-width:0;max-width:100%}.chat-photo{border:0;padding:0;background:#edf1e6;display:block;width:100%;border-radius:14px;overflow:hidden}.chat-media-grid img{display:block;width:100%;height:220px;object-fit:cover}.chat-media-grid video{display:block;width:100%;max-height:420px;border-radius:14px;background:#263627}.chat-remove{position:absolute;right:7px;top:7px;width:28px;height:28px;border:0;border-radius:50%;background:#fff;color:#304b30;font-size:20px}.chat-media-unavailable{min-height:80px;background:#edf1e6}.chat-full-photo{width:100%;max-height:75vh;object-fit:contain}.chat-reactions{display:flex;gap:8px;flex-wrap:wrap;padding-top:17px;margin-top:18px;border-top:1px solid #e5ebdd}.chat-reactions button{border:1px solid #dae3d1;border-radius:20px;padding:7px 12px;background:#fff;color:#4b6540;font-size:12px}.chat-reactions button[aria-pressed=true]{background:#e5efda;border-color:#8faa78}.chat-reply{background:#f3f6ed;border-radius:10px;padding:12px 15px;margin-top:10px;font-size:13px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.chat-reply b{margin-right:8px}.chat-reply-form{display:flex;gap:8px;margin-top:12px}.chat-reply-form .field{min-width:0;flex:1}.chat-play{display:flex;gap:13px;align-items:center;padding:17px 22px;border-radius:15px;background:#f4eedf;color:#654e2f;font-size:12px;line-height:1.9}.chat-play>small{margin-left:auto;font-size:10px;white-space:nowrap}.chat-empty{text-align:center;line-height:2;color:#59734c}.chat-vote-form{background:#f4f7ee;border-radius:16px;padding:20px;margin-top:18px}.chat-vote-form h3{font-size:18px;line-height:1.8;overflow-wrap:anywhere}.chat-vote-option{display:flex;align-items:center;gap:11px;border:1px solid #d7e1cb;border-radius:10px;background:white;padding:13px;margin:10px 0;color:#36532e}.chat-vote-option input{accent-color:#42634d}.chat-vote-option>span{flex:1;min-width:0;overflow-wrap:anywhere}.chat-vote-option small{display:block;font-size:10px;line-height:1.8;color:#647957}.chat-vote-option b{font-size:15px}.chat-targets{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0}.chat-targets label{display:flex;flex-direction:column;align-items:center;gap:9px;font-size:12px;padding:10px}.chat-targets input{accent-color:#42634d}.chat-targets label:has(input:disabled){opacity:.4}#chat-poll-form>label,#chat-settings-form>label{display:block;font-size:13px;line-height:2;margin:18px 0}#chat-poll-form .field,#chat-settings-form .field{margin-top:8px}.calendar-alerts{display:grid;gap:12px;margin-bottom:23px}.calendar-alerts:empty{display:none}.calendar-alert{border:1px solid #b9ce9f;background:#e9f2de;border-radius:16px;padding:20px 23px;color:#304b25;line-height:1.8}.calendar-alert>b{display:block;font-size:16px}.calendar-alert p{font-size:12px;margin:7px 0}.calendar-alert .text-button{display:block;padding-left:0;text-align:left}.today-alert{width:100%;text-align:left;background:#fff3dc;border-color:#e3c998;color:#624a28}.today-alert>span{display:block;font-size:13px;margin:9px 0}.today-alert>small{font-size:11px}.chat-vote-status{color:#9c4635;font-size:12px}.chat-reply-form button{flex-shrink:0}@media(max-width:600px){.chat-moment{padding:22px}.chat-moment h2{font-size:21px}.chat-composer,.chat-post{padding:20px}.chat-compose-tools{gap:8px}.chat-compose-tools button,.chat-file-label{font-size:11px;padding:10px}.chat-media-grid img{height:180px}.chat-play{padding:15px;gap:10px}.chat-play>small{display:none}.chat-vote-form{padding:15px}.chat-targets{gap:5px}.calendar-alert{padding:17px}.calendar-alert>b{font-size:15px}.mobile-nav{gap:0}.mobile-nav button{min-width:0;flex:1}}
/* Group room: chronological messages and a composer outside the scrolling history. */
.chat-mode .app-shell>footer{display:none}.chat-mode main{height:calc(100dvh - 85px);max-width:1160px;padding-top:16px;padding-bottom:16px;display:flex;flex-direction:column;min-height:0}.chat-mode .page-enter{display:flex;flex-direction:column;flex:1;min-height:0;width:100%;animation:none}.chat-mode .group-toolbar{flex-shrink:0;margin-bottom:12px}.chat-room{display:flex;flex-direction:column;flex:1;min-height:0;background:#fff;border:1px solid #dde5d6;border-radius:18px;overflow:hidden}.chat-room-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 22px;border-bottom:1px solid #e5eadf;flex-shrink:0}.chat-room-header h1{font-size:20px;margin:0;line-height:1.4}.chat-room-header h1>span{color:#7e9270;margin-right:7px}.chat-room-header p{font-size:11px;color:#617457;margin:5px 0 0}.chat-room-moment{background:#f2f6eb;border-bottom:1px solid #e1e9d7;flex-shrink:0;max-height:35%;overflow-y:auto}.chat-room-moment summary{padding:12px 22px;font-size:12px;color:#3c5c32;cursor:pointer;line-height:1.7}.chat-room-moment summary>span{font-size:11px;color:#627554;margin-left:8px}.chat-room-moment #chat-moment{padding:3px 22px 18px}.chat-room-moment h2{font-size:17px;margin:10px 0;line-height:1.7}.chat-room-moment p{font-size:12px;color:#536c48;line-height:1.8}.chat-room-moment .primary{font-size:12px;padding:9px 13px}.chat-room-moment .tag{display:none}.chat-room-tools{display:flex;align-items:center;justify-content:space-between;padding:4px 16px;border-bottom:1px solid #edf0e8;flex-shrink:0;gap:8px}.chat-room .chat-filters{margin:0;gap:2px}.chat-room .chat-filters button{border:0;border-radius:6px;padding:8px 10px;font-size:11px;background:none}.chat-room .chat-filters button.active{background:#eaf1e1;color:#35542f}.chat-room .chat-feed{display:block;flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;overflow-anchor:none;padding:12px 0 20px;scrollbar-width:thin}.chat-room .chat-post{border:0;border-radius:0;box-shadow:none;margin:0;padding:10px 22px;background:transparent}.chat-room .chat-post:hover{background:#f9fbf5}.chat-room .chat-post>header{gap:11px;align-items:center}.chat-room .chat-post>header>div{display:flex;flex-direction:row;align-items:baseline;gap:10px;flex-wrap:wrap}.chat-room .chat-post>header>.text-button{font-size:10px;padding:0;min-height:28px}.chat-room .chat-text{font-size:14px;line-height:1.8;margin:0 0 5px 48px}.chat-room .chat-post>.chat-media-grid,.chat-room .chat-post>.chat-vote-form,.chat-room .chat-post>.chat-reactions,.chat-room .chat-post>.chat-reply,.chat-room .chat-post>.chat-reply-form{margin-left:48px;max-width:620px}.chat-room .chat-reactions{border:0;margin-top:5px;padding-top:2px;gap:5px}.chat-room .chat-reactions button{padding:3px 8px;font-size:11px;min-height:28px}.chat-room .chat-media-grid{margin-top:8px;max-width:540px}.chat-room .chat-media-grid figure{flex:1 1 100px}.chat-room .chat-media-grid img{height:170px}.chat-room .chat-media-grid video{max-height:300px}.chat-room .chat-play{margin:10px 22px;padding:10px 14px;border-radius:8px}.chat-date-separator{display:flex;align-items:center;gap:12px;padding:15px 22px;color:#657a57;font-size:11px}.chat-date-separator:before,.chat-date-separator:after{content:'';height:1px;background:#e4eadd;flex:1}.chat-date-separator span{border:1px solid #e1e7d9;border-radius:20px;padding:5px 13px;background:#fff}.chat-room-welcome{padding:35px 25px;color:#36532f}.chat-room-welcome>span{font-size:32px;background:#eef3e5;border-radius:14px;width:58px;height:58px;display:flex;align-items:center;justify-content:center}.chat-room-welcome h2{font-size:21px;line-height:1.7;margin:18px 0 10px}.chat-room-welcome p{font-size:13px;line-height:1.9;color:#627456}.chat-room .chat-composer{flex-shrink:0;padding:10px 18px 9px;background:#fff;border-top:1px solid #e8eddf;max-height:46%;overflow:auto}.chat-room #chat-post-form{border:1px solid #b9c9a9;border-radius:12px;padding:8px 12px;background:#fff}.chat-room #chat-post-form:focus-within{border-color:#62884a;box-shadow:0 0 0 1px #62884a}.chat-room .chat-composer textarea{width:100%;min-height:52px;max-height:120px;margin:0;border:0;box-shadow:none;resize:vertical;background:transparent;padding:6px 0;font-size:14px;line-height:1.7;outline-offset:0}.chat-room .chat-compose-tools{margin:0;gap:7px}.chat-room .chat-compose-tools>.text-button{font-size:11px;padding:4px 8px;min-height:34px}.chat-room .chat-file-label{font-size:22px;padding:1px 8px;min-height:32px;color:#4c6d3c;border-radius:6px}.chat-room .chat-send{font-size:12px;padding:8px 14px;min-height:34px}.chat-compose-hint{font-size:10px;line-height:1.6;color:#607352;margin:5px 0 0}.chat-local-status{display:block;font-size:9px;color:#6a795f;text-align:right;margin-top:6px}.chat-room .chat-composer .chat-media-grid{margin:0 0 8px}.chat-room .chat-composer .chat-media-grid figure{flex:0 1 90px}.chat-room .chat-composer .chat-media-grid img{height:65px}.chat-room .chat-composer .chat-media-grid video{max-height:100px}.chat-moment-draft{display:flex;align-items:center;justify-content:space-between;color:#526e41;font-size:11px;padding-bottom:4px}.chat-moment-draft .text-button{font-size:10px}
@media(max-width:800px){.chat-mode main{height:calc(100dvh - 62px - 78px - env(safe-area-inset-bottom));padding:10px 12px 0;max-width:800px}.chat-mode .group-toolbar{margin-bottom:8px}.chat-room{border-radius:12px 12px 0 0}.chat-room-header{padding:11px 15px}.chat-room-header h1{font-size:18px}.chat-room-moment summary{padding:9px 15px}.chat-room .chat-post{padding:9px 14px}.chat-room .chat-text,.chat-room .chat-post>.chat-media-grid,.chat-room .chat-post>.chat-vote-form,.chat-room .chat-post>.chat-reactions,.chat-room .chat-post>.chat-reply,.chat-room .chat-post>.chat-reply-form{margin-left:0}.chat-room .chat-post>header{margin-bottom:5px}.chat-room .chat-post>header .avatar{width:30px;height:30px;font-size:17px}.chat-room .chat-post>header b{font-size:12px}.chat-room .chat-text{padding-left:41px}.chat-room .chat-post>.chat-media-grid,.chat-room .chat-post>.chat-vote-form,.chat-room .chat-post>.chat-reactions,.chat-room .chat-post>.chat-reply,.chat-room .chat-post>.chat-reply-form{margin-left:41px}.chat-room .chat-post>.chat-media-grid{max-width:calc(100% - 41px)}.chat-room .chat-composer{padding:8px 9px 6px}.chat-room .chat-composer textarea{font-size:16px;min-height:45px;max-height:85px}.chat-room .chat-compose-tools{gap:3px}.chat-room .chat-compose-tools>.text-button{padding:4px 6px}.chat-room .chat-send{min-height:36px;padding:7px 11px}.chat-room .chat-media-grid img{height:125px}.chat-room .chat-play{margin:9px 14px}.chat-room-moment summary>span{font-size:10px;margin-left:4px}.chat-date-separator{padding:12px 14px}.chat-room-welcome{padding:25px 18px}.chat-room-welcome h2{font-size:19px}.chat-room-tools{padding-left:9px;padding-right:9px}}
.chat-kind-buttons{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:20px 0}.chat-kind-buttons label{position:relative;cursor:pointer}.chat-kind-buttons input{position:absolute;opacity:0;width:1px;height:1px}.chat-kind-buttons span{display:flex;align-items:center;justify-content:center;min-height:52px;padding:13px;border:1px solid #cfdbc2;border-radius:12px;color:#42633a;background:#f8faf4;font-size:14px}.chat-kind-buttons input:checked+span{background:#e5efd9;border:2px solid #5f8149;padding:12px;color:#304f29;font-weight:700}.chat-kind-buttons input:focus-visible+span{outline:3px solid #587e42;outline-offset:3px}.chat-targets label{min-width:70px;border:1px solid #e0e7d8;border-radius:12px;cursor:pointer}.chat-targets label:has(input:checked){background:#edf5e4;border-color:#6f9257}.chat-room .chat-mention-picker{border:1px solid #cddcc0;border-radius:10px;background:#f8fbf3;padding:6px;max-height:150px;overflow:auto;margin-bottom:7px}.chat-mention-picker[hidden]{display:none!important}.chat-mention-title{font-size:10px;color:#647955;padding:4px 8px}.chat-mention-picker button{display:flex;align-items:center;gap:9px;width:100%;padding:8px;border:0;background:transparent;text-align:left;border-radius:6px;color:#34552e;font-size:12px;min-height:40px}.chat-mention-picker button.active,.chat-mention-picker button:hover{background:#e7f0dc}.chat-mention-picker .avatar{width:26px;height:26px;font-size:15px}.chat-mention-picker p{padding:5px 8px;font-size:12px}.chat-mention{color:#365f30;background:#e7f0dc;border-radius:4px;padding:1px 4px;font-weight:600}.chat-mention.is-me{background:#faeac9;color:#79531f}.chat-room .chat-compose-tools>.text-button{padding:4px 6px}@media(max-width:400px){.chat-room .chat-compose-tools{gap:1px}.chat-room .chat-compose-tools>.text-button{font-size:10px;padding:3px 4px}.chat-room .chat-send{font-size:11px;padding:7px 9px}}
