.chat-page{max-width:1320px;margin:auto;padding:32px 28px;color:#182d30;font-family:Inter,system-ui,sans-serif;box-sizing:border-box}.chat-page *{box-sizing:border-box}.chat-page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px;gap:20px}.chat-page-heading a{font-size:12px;color:#536c6b;text-decoration:none}.chat-page-heading h1{font-size:30px;font-weight:700;letter-spacing:-1px;margin:12px 0 4px}.chat-page-heading p{font-size:13px;color:#647875}.chat-brand{font-size:10px;letter-spacing:2px;color:#66847c}.chat-shell{border:1px solid #dce6e1;border-radius:22px;overflow:hidden;background:#fff;height:calc(100dvh - 208px);min-height:460px;max-height:900px;box-shadow:0 12px 45px #153c2c08;display:grid;grid-template-columns:minmax(0,1fr)}.chat-shell.has-inbox{grid-template-columns:310px minmax(0,1fr)}.chat-inbox{border-right:1px solid #e4ebe6;overflow:auto;background:#fff}.inbox-heading{padding:24px 20px 16px;display:flex;align-items:center;justify-content:space-between}.inbox-heading h2{font-size:19px;font-weight:650}.chat-search{margin:0 16px 14px;padding:10px 12px;display:flex;gap:8px;border-radius:10px;background:#f2f6f3}.chat-search input{width:100%;font-size:12px;background:none;border:0;outline:0;color:inherit}.chat-thread{display:flex;gap:11px;width:100%;padding:17px 18px;border:0;border-left:3px solid transparent;border-bottom:1px solid #f0f4f1;background:transparent;text-align:left;color:inherit;cursor:pointer}.chat-thread:hover,.chat-thread.active{background:#eef6f0;border-left-color:#267855}.thread-copy{min-width:0;flex:1}.thread-copy strong{font-size:13px;display:block;margin:2px 0 5px}.thread-copy p{font-size:12px;color:#788a80;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin:0}.chat-badge{background:#267855;color:white;border-radius:20px;font-size:10px;padding:3px 7px;align-self:center}.chat-conversation{min-width:0;min-height:0;display:flex;flex-direction:column;background:#f4f7f1}.chat-top{display:flex;align-items:center;gap:12px;padding:18px 22px;background:#fff;border-bottom:1px solid #e6ece5;flex-shrink:0}.chat-avatar{display:flex;align-items:center;justify-content:center;width:42px;height:42px;flex-shrink:0;border-radius:15px;background:#e2efe5;color:#32664c;font-size:13px;font-weight:700}.chat-person{min-width:0;flex:1}.chat-person h2{font-size:14px;font-weight:650;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-person p{font-size:11px;color:#5e7b6b;margin:5px 0 0}.chat-private{font-size:10px;color:#8a988e}.chat-messages{flex:1;min-height:0;overflow:auto;padding:18px 26px;overscroll-behavior:contain;background-image:radial-gradient(#47704c12 .8px,transparent .8px);background-size:16px 16px;overflow-anchor:none}.chat-empty{text-align:center;color:#7a8b7f;max-width:330px;margin:50px auto;padding:20px;font-size:13px;line-height:1.8}.chat-empty h3{font-weight:600;color:#3e5e4c;font-size:16px}.empty-symbol{font-size:32px;color:#669375;margin-bottom:14px}.chat-message{display:flex;justify-content:flex-start;margin:9px 0}.chat-message.mine{justify-content:flex-end}.chat-bubble{max-width:78%;min-width:90px;border-radius:15px 15px 15px 3px;background:white;padding:11px 14px;box-shadow:0 1px 2px #203e2312;font-size:13px;line-height:1.65;overflow-wrap:anywhere}.mine .chat-bubble{background:#dcefdc;border-radius:15px 15px 3px 15px}.chat-bubble p{white-space:pre-wrap;margin:0}.chat-meta{display:block;text-align:right;font-size:10px;color:#748274;margin-top:4px}.chat-attachment{display:block;color:#235e40;text-decoration:underline;font-weight:500;padding:6px 0}.chat-image{max-width:260px;max-height:260px;width:100%;object-fit:contain;border-radius:8px;display:block;margin-bottom:5px}.chat-composer{background:#fff;padding:14px 18px 10px;border-top:1px solid #e3eae1;flex-shrink:0}.chat-compose-row{display:flex;align-items:flex-end;gap:10px}.chat-compose-row textarea{min-width:0;flex:1;max-height:130px;resize:none;background:#f3f6f1;border:1px solid #e7ece3;border-radius:13px;font:inherit;font-size:13px;padding:12px;line-height:1.5;outline:none;color:#253d30}.chat-compose-row textarea:focus{border-color:#88ad91;box-shadow:0 0 0 2px #88ad9120}.chat-icon,.chat-send{width:43px;height:43px;border:0;border-radius:13px;display:flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0}.chat-icon{background:#f0f5ee;color:#40634b;font-size:25px}.chat-send{background:#276d4b;color:#fff;font-size:19px}.chat-send:disabled{opacity:.5;cursor:wait}.chat-compose-hint{margin:7px 0 0 53px;font-size:9px;color:#8c9b8f}.chat-more{display:block;margin:8px auto;padding:7px 15px;border:1px solid #dbe6d9;background:#fff;border-radius:20px;font-size:11px;color:#466650;cursor:pointer}.chat-error{padding:9px 18px;background:#fff0ee;color:#a13b35;font-size:12px}.chat-file-preview{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px;margin-bottom:10px;background:#edf5ed;border-radius:8px;font-size:12px;overflow-wrap:anywhere}.chat-file-preview button{font-size:22px;background:none;border:0}.mobile-back{display:none}.chat-page [hidden]{display:none!important}.dark .chat-page{color:#e3ebe4}.dark .chat-shell,.dark .chat-top,.dark .chat-inbox,.dark .chat-composer{background:#18241f;border-color:#304137}.dark .chat-conversation,.dark .chat-messages{background-color:#111e17}.dark .chat-bubble{background:#26382d;color:#edf5ee}.dark .mine .chat-bubble{background:#2d5239}.dark .chat-thread.active,.dark .chat-thread:hover,.dark .chat-search,.dark .chat-compose-row textarea,.dark .chat-file-preview{background:#283a2d;color:#e1eae0}.dark .chat-thread{border-bottom-color:#304137}.dark .chat-empty h3{color:#a6c3a5}.dark .chat-more{background:#26382d;color:#d2e2d0;border-color:#405442}.chat-page a:focus-visible,.chat-page button:focus-visible{outline:3px solid #76aa7c;outline-offset:2px}@media(min-width:1024px){.chat-member-page{margin-left:288px}.chat-admin-page{margin-left:256px}.chat-shell.has-inbox{grid-template-columns:280px minmax(0,1fr)}}@media(max-width:760px){.chat-page{padding:18px 12px}.chat-page-heading{margin-bottom:16px}.chat-page-heading h1{font-size:25px;margin-top:8px}.chat-page-heading p{font-size:11px}.chat-brand,.chat-private{display:none}.chat-shell{height:calc(100dvh - 155px);min-height:350px;border-radius:16px}.chat-shell.has-inbox{grid-template-columns:minmax(0,1fr)}.has-inbox .chat-conversation{display:none}.has-inbox.thread-open .chat-inbox{display:none}.has-inbox.thread-open .chat-conversation{display:flex}.mobile-back{display:flex;width:30px;font-size:22px}.chat-top{padding:13px 12px;gap:8px}.chat-messages{padding:12px}.chat-bubble{max-width:88%;font-size:13px}.chat-composer{padding:10px 9px calc(8px + env(safe-area-inset-bottom))}.chat-compose-row{gap:6px}.chat-compose-row textarea{font-size:16px;padding:10px}.chat-compose-hint{font-size:9px;margin-left:0;text-align:center}.chat-avatar{width:36px;height:36px;border-radius:12px}.chat-icon,.chat-send{height:42px;width:38px}.chat-image{max-width:210px}}
