:root{--green:#34c759;--green-dark:#1e7a3c;--green-deeper:#14662f;--green-light:#e9f9ee;--green-mist:#d6f5df;--danger:#ff3b30;--danger-soft:#ffeceb;--danger-deep:#d9231d;--purple:#7a28a8;--blue:#1769c8;--teal:#00837e;--bg:#f2f2f7;--surface:#fff;--text:#1d1d1f;--text-2:#3c3c4399;--text-3:#3c3c434d;--border:#3c3c431f;--border-strong:#3c3c4338;--radius-sm:10px;--radius-md:14px;--radius-lg:20px;--radius-xl:28px;--radius-pill:999px;--shadow-sm:0 1px 2px #0000000d;--shadow-md:0 1px 3px #0000000d,0 10px 28px #00000012;--shadow-lg:0 4px 12px #00000017,0 24px 56px #00000024;--font:-apple-system,BlinkMacSystemFont,"SF Pro Text","SF Pro Display","Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif}*{box-sizing:border-box}.anticon{align-items:center;display:inline-flex;justify-content:center;line-height:0;vertical-align:-.125em}.anticon svg{fill:currentColor;height:1em;width:1em}html{-webkit-text-size-adjust:100%}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f2f2f7;background:var(--bg);color:#1d1d1f;color:var(--text);font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,SF Pro Display,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-family:var(--font);margin:0;text-rendering:optimizeLegibility}::selection{background:#34c75940}:focus-visible{outline:3px solid #34c75980;outline-offset:2px}::-webkit-scrollbar{height:10px;width:10px}::-webkit-scrollbar-thumb{background:#7878804d;background-clip:content-box;border:2px solid #0000;border-radius:999px;border-radius:var(--radius-pill)}::-webkit-scrollbar-track{background:#0000}input[type=checkbox],input[type=radio]{accent-color:#34c759;accent-color:var(--green)}.layout{display:flex;flex-direction:column;min-height:100vh}.topbar{-webkit-backdrop-filter:blur(20px) saturate(180%);backdrop-filter:blur(20px) saturate(180%);background:#ffffffb8;border-bottom:1px solid #3c3c431f;border-bottom:1px solid var(--border);gap:24px;height:64px;padding:0 24px;position:sticky;top:0;z-index:100}.brand,.topbar{align-items:center;display:flex}.brand{-webkit-tap-highlight-color:transparent;color:#1e7a3c;color:var(--green-dark);cursor:pointer;font-size:20px;font-weight:800;gap:8px;letter-spacing:.4px;text-decoration:none;white-space:nowrap}.brand:before{content:"🍏";font-size:17px}.brand:active{opacity:.7}.nav{display:flex;flex:1 1;gap:4px;min-width:0}.nav-link{border-radius:999px;border-radius:var(--radius-pill);color:#3c3c4399;color:var(--text-2);font-size:14px;font-weight:600;padding:7px 15px;position:relative;text-decoration:none;transition:background .18s ease,color .18s ease}.nav-link:hover{background:#0000000d;color:#1d1d1f;color:var(--text)}.nav-link.active{background:#34c759;background:var(--green);color:#fff}.nav-badge{align-items:center;background:#ff3b30;background:var(--danger);border-radius:9px;box-shadow:0 0 0 2px #ffffffe6;color:#fff;display:inline-flex;font-size:11px;font-weight:700;height:18px;justify-content:center;line-height:1;min-width:18px;padding:0 5px;position:absolute;right:-7px;top:-7px}.userbox{align-items:center;display:flex;gap:10px}.user-name{color:#1d1d1f;color:var(--text);font-size:14px;font-weight:500;white-space:nowrap}.menu-toggle{-webkit-tap-highlight-color:transparent;align-items:center;background:#78788024;border:none;border-radius:50%;cursor:pointer;display:none;flex-direction:column;flex-shrink:0;gap:4px;height:40px;justify-content:center;padding:0;transition:background .15s ease;width:40px}.menu-toggle:active{background:#7878804d}.menu-toggle-bar{background:#1d1d1f;background:var(--text);border-radius:2px;display:block;height:2px;transition:transform .2s ease,opacity .2s ease;width:18px}.menu-toggle.open .menu-toggle-bar:first-child{transform:translateY(6px) rotate(45deg)}.menu-toggle.open .menu-toggle-bar:nth-child(2){opacity:0}.menu-toggle.open .menu-toggle-bar:nth-child(3){transform:translateY(-6px) rotate(-45deg)}.mobile-menu{animation:mobile-menu-in .18s ease-out;-webkit-backdrop-filter:blur(20px) saturate(180%);backdrop-filter:blur(20px) saturate(180%);background:#fffffff5;border-bottom:1px solid #3c3c431f;border-bottom:1px solid var(--border);box-shadow:0 1px 3px #0000000d,0 10px 28px #00000012;box-shadow:var(--shadow-md);left:0;position:fixed;right:0;top:54px;z-index:150}@keyframes mobile-menu-in{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.mobile-menu-nav{display:flex;flex-direction:column;gap:2px;padding:8px 12px 12px}.mobile-menu-link{-webkit-tap-highlight-color:transparent;align-items:center;border-radius:14px;border-radius:var(--radius-md);color:#1d1d1f;color:var(--text);display:flex;font-size:16px;font-weight:600;gap:8px;padding:13px 14px;position:relative;text-decoration:none;transition:background .15s ease,color .15s ease}.mobile-menu-link:active{background:#0000000d}.mobile-menu-link.active{background:#e9f9ee;background:var(--green-light);color:#1e7a3c;color:var(--green-dark)}.mobile-menu-link .nav-badge{margin-left:auto;position:static}.content{margin:0 auto;max-width:1200px;padding:28px 24px 56px;width:100%}.badge{background:#7878801f;border-radius:999px;border-radius:var(--radius-pill);color:#3c3c4399;color:var(--text-2);display:inline-block;font-size:12px;font-weight:600;line-height:1.5;padding:3px 12px;white-space:nowrap}.role-supplier{background:#f3e8fd;color:#7a28a8;color:var(--purple)}.role-distributor{background:#e5f0ff;color:#1769c8;color:var(--blue)}.role-buyer{background:#dcf3f1;color:#00837e;color:var(--teal)}.role-badge{background:#e9f9ee;background:var(--green-light);color:#1e7a3c;color:var(--green-dark)}.badge-danger{background:#ffeceb;background:var(--danger-soft);color:#d9231d;color:var(--danger-deep)}.btn{align-items:center;background:#7878801f;border:none;border-radius:999px;border-radius:var(--radius-pill);color:#1d1d1f;color:var(--text);cursor:pointer;display:inline-flex;font-family:inherit;font-size:14px;font-weight:600;gap:6px;justify-content:center;line-height:1.2;padding:10px 18px;transition:transform .12s ease,background .18s ease,opacity .18s ease,box-shadow .18s ease,border-color .18s ease}.btn:hover{background:#78788033}.btn:active{transform:scale(.97)}.btn:disabled{cursor:default;opacity:.5;transform:none}.btn-primary{background:#34c759;background:var(--green);color:#fff}.btn-primary:hover{background:#2db84f}.btn-primary:active{background:#14662f;background:var(--green-deeper)}.btn-danger{background:#ffeceb;background:var(--danger-soft);color:#d9231d;color:var(--danger-deep)}.btn-danger:hover{background:#ffdedc}.btn-danger:active{background:#ffd1cf}.btn-ghost{background:#0000;border:1px solid #3c3c4338;border:1px solid var(--border-strong);color:#1e7a3c;color:var(--green-dark)}.btn-ghost:hover{background:#e9f9ee;background:var(--green-light);border-color:#34c75959}.btn-sm{font-size:13px;padding:6px 13px}.btn-block{width:100%}.form{display:flex;flex-direction:column;gap:10px}.form label{color:#3c3c4399;color:var(--text-2);font-size:13px;font-weight:600}.form input,.form select,.form textarea{background:#f2f2f7;border:1px solid #0000;border-radius:14px;border-radius:var(--radius-md);color:#1d1d1f;color:var(--text);font-family:inherit;font-size:14px;padding:11px 14px;transition:background .18s ease,box-shadow .18s ease,border-color .18s ease;width:100%}.form input::placeholder,.form textarea::placeholder{color:#3c3c434d;color:var(--text-3)}.form input:focus,.form select:focus,.form textarea:focus{background:#fff;border-color:#34c75973;box-shadow:0 0 0 4px #34c7592e;outline:none}.form select{appearance:none;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%2386868b' d='M6 8 0 2 1.4.6 6 5.2 10.6.6 12 2z'/%3E%3C/svg%3E");background-position:right 14px center;background-repeat:no-repeat;padding-right:36px}.form-row{display:flex;gap:12px}.form-row>div{display:flex;flex:1 1;flex-direction:column;gap:6px}.check-row{justify-content:flex-end}.check-row label{align-items:center;display:flex;font-weight:500;gap:8px}.check-row.consent-row{align-items:flex-start;display:flex;font-size:14px;gap:8px;justify-content:flex-start;margin:2px 0}.check-row.consent-row input{margin-top:3px}.check-row.consent-row a{color:#1e7a3c;color:var(--green-dark);text-decoration:underline}.inline-form{display:flex;gap:8px}.inline-form input{background:#f2f2f7;border:1px solid #0000;border-radius:10px;border-radius:var(--radius-sm);color:#1d1d1f;color:var(--text);font:inherit;padding:7px 10px;transition:background .18s ease,box-shadow .18s ease,border-color .18s ease;width:90px}.inline-form input:focus{background:#fff;border-color:#34c75973;box-shadow:0 0 0 3px #34c7592e;outline:none}.auth-wrap{align-items:center;background:radial-gradient(900px 520px at 12% 8%,#34c7592e,#0000 60%),radial-gradient(820px 480px at 92% 90%,#ffb3001a,#0000 60%),linear-gradient(160deg,#eafbf0,#f2f2f7 55%,#eef5ff);display:flex;justify-content:center;min-height:100vh;padding:24px}.auth-card{background:#fff;background:var(--surface);border:1px solid #ffffffb3;border-radius:28px;border-radius:var(--radius-xl);box-shadow:0 4px 12px #00000017,0 24px 56px #00000024;box-shadow:var(--shadow-lg);max-width:92vw;padding:40px 36px;width:400px}.document-card{max-width:94vw;width:720px}.document-body{margin:18px 0 8px}.document-title{font-size:20px;margin:0 0 14px}.document-text,.document-title{color:#1d1d1f;color:var(--text)}.document-text{line-height:1.65;overflow-wrap:break-word;white-space:pre-wrap}.brand-lg{color:#1e7a3c;color:var(--green-dark);font-size:34px;letter-spacing:.5px;margin:0 0 6px;text-align:center}.auth-subtitle{color:#3c3c4399;color:var(--text-2);margin:0 0 24px;text-align:center}.tabs{background:#f2f2f7;border-radius:999px;border-radius:var(--radius-pill);display:flex;gap:4px;margin-bottom:20px;padding:4px}.tab{background:#0000;border:none;border-radius:999px;border-radius:var(--radius-pill);color:#3c3c4399;color:var(--text-2);cursor:pointer;flex:1 1;font-family:inherit;font-size:14px;font-weight:600;padding:9px 12px;transition:background .2s ease,color .2s ease,box-shadow .2s ease}.tab.active{background:#fff;box-shadow:0 1px 2px #0000000d;box-shadow:var(--shadow-sm);color:#1e7a3c;color:var(--green-dark)}.alert-error{background:#ffeceb;background:var(--danger-soft);color:#d9231d;color:var(--danger-deep)}.alert-error,.alert-success{border-radius:14px;border-radius:var(--radius-md);font-size:14px;padding:11px 14px}.alert-success{background:#e9f9ee;background:var(--green-light);color:#1e7a3c;color:var(--green-dark)}.dashboard h1{color:#1d1d1f;color:var(--text)}.hero{background:linear-gradient(135deg,#e9f9ee,#f3fdf6);background:linear-gradient(135deg,var(--green-light),#f3fdf6);border:1px solid #34c7592e;border-radius:20px;border-radius:var(--radius-lg);color:#14662f;color:var(--green-deeper);margin:14px 0 24px;padding:22px 24px}.hero p{color:#1e7a3c;color:var(--green-dark);margin:10px 0 0;opacity:.85}.cards{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}.card{background:#fff;background:var(--surface);border:1px solid #ffffffb3;border-radius:20px;border-radius:var(--radius-lg);box-shadow:0 1px 2px #0000000d;box-shadow:var(--shadow-sm);color:inherit;padding:22px;text-decoration:none;transition:transform .18s ease,box-shadow .18s ease}.card:hover{box-shadow:0 1px 3px #0000000d,0 10px 28px #00000012;box-shadow:var(--shadow-md);transform:translateY(-4px)}.card h3{color:#1e7a3c;color:var(--green-dark);font-size:17px;margin:0 0 10px}.card p{color:#3c3c4399;color:var(--text-2);font-size:14px;line-height:1.5;margin:0}.product-grid{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}.product-card{background:#fff;background:var(--surface);border:1px solid #ffffffb3;border-radius:20px;border-radius:var(--radius-lg);box-shadow:0 1px 2px #0000000d;box-shadow:var(--shadow-sm);overflow:hidden;transition:transform .18s ease,box-shadow .18s ease}.product-card:hover{box-shadow:0 1px 3px #0000000d,0 10px 28px #00000012;box-shadow:var(--shadow-md);transform:translateY(-4px)}.product-img-link{background:none;border:none;color:inherit;cursor:pointer;display:block;font:inherit;padding:0}.product-img-link:hover .product-img{filter:brightness(1.06)}.product-img{background:linear-gradient(135deg,#d6f5df,#e9f9ee);background:linear-gradient(135deg,var(--green-mist),var(--green-light));height:150px;object-fit:cover;width:100%}.product-img.placeholder{align-items:center;display:flex;font-size:52px;justify-content:center}.product-body{padding:16px}.product-body h3{font-size:17px;margin:0 0 6px}.product-meta{color:#1d1d1f;color:var(--text);display:flex;flex-direction:column;font-size:14px;gap:4px;margin:10px 0}.product-seller{align-items:center;border-top:1px solid #3c3c431f;border-top:1px solid var(--border);color:#3c3c4399;color:var(--text-2);display:flex;font-size:13px;gap:8px;padding-top:10px}.product-chat-btn{margin-top:12px;width:100%}.product-filters{background:#fff;background:var(--surface);border:1px solid #3c3c431f;border:1px solid var(--border);border-radius:20px;border-radius:var(--radius-lg);box-shadow:0 1px 2px #0000000d;box-shadow:var(--shadow-sm);display:flex;flex-direction:column;gap:10px;margin:4px 0 18px;padding:14px 16px}.filter-row{align-items:center;display:flex;flex-wrap:wrap;gap:8px}.filter-input,.filter-select{background:#f2f2f7;border:1px solid #0000;border-radius:14px;border-radius:var(--radius-md);color:#1d1d1f;color:var(--text);font-family:inherit;font-size:14px;padding:9px 12px;transition:background .18s ease,box-shadow .18s ease,border-color .18s ease}.filter-input::placeholder{color:#3c3c434d;color:var(--text-3)}.filter-input:focus,.filter-select:focus{background:#fff;border-color:#34c75973;box-shadow:0 0 0 4px #34c7592e;outline:none}.filter-search{flex:1 1;min-width:180px}.filter-num{width:90px}.filter-select{appearance:none;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%2386868b' d='M6 8 0 2 1.4.6 6 5.2 10.6.6 12 2z'/%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat;max-width:220px;padding-right:32px}.filter-label{color:#3c3c4399;color:var(--text-2);font-size:13px;font-weight:600;white-space:nowrap}.filter-sep{color:#3c3c434d;color:var(--text-3)}.filter-count{margin-left:auto}.table{background:#fff;background:var(--surface);border:1px solid #ffffffb3;border-collapse:initial;border-radius:20px;border-radius:var(--radius-lg);border-spacing:0;box-shadow:0 1px 2px #0000000d;box-shadow:var(--shadow-sm);overflow:hidden;width:100%}.table td,.table th{border-bottom:1px solid #3c3c431f;border-bottom:1px solid var(--border);font-size:14px;padding:13px 16px;text-align:left}.table tr:last-child td{border-bottom:none}.table th{background:#7878800f;color:#3c3c4399;color:var(--text-2);font-size:12px;font-weight:600;letter-spacing:.4px;text-transform:uppercase}.table tbody tr{transition:background .15s ease}.table tbody tr:hover{background:#e9f9ee;background:var(--green-light)}.panel{background:#fff;background:var(--surface);border:1px solid #ffffffb3;border-radius:20px;border-radius:var(--radius-lg);box-shadow:0 1px 2px #0000000d;box-shadow:var(--shadow-sm);margin-bottom:20px;padding:22px}.user-grid{grid-gap:14px;display:grid;gap:14px;grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}.user-card{align-items:center;background:#fff;background:var(--surface);border:1px solid #ffffffb3;border-radius:20px;border-radius:var(--radius-lg);box-shadow:0 1px 2px #0000000d;box-shadow:var(--shadow-sm);display:flex;gap:14px;padding:16px;transition:transform .18s ease,box-shadow .18s ease}.user-card:hover{box-shadow:0 1px 3px #0000000d,0 10px 28px #00000012;box-shadow:var(--shadow-md);transform:translateY(-2px)}.avatar{align-items:center;background:linear-gradient(135deg,#34c759,#1e7a3c);background:linear-gradient(135deg,var(--green),var(--green-dark));border-radius:50%;box-shadow:inset 0 0 0 1px #ffffff40;color:#fff;display:flex;flex-shrink:0;font-size:19px;font-weight:700;height:46px;justify-content:center;width:46px}.user-info{display:flex;flex:1 1;flex-direction:column;gap:3px;min-width:0}.messenger-wrap{display:flex;gap:18px;height:calc(100vh - 140px);height:calc(100dvh - 140px);min-height:480px}html.chat-locked,html.chat-locked body{overflow:hidden;overscroll-behavior:none}.messenger-sidebar{flex-shrink:0;overflow-y:auto;padding:18px;width:320px}.messenger-main,.messenger-sidebar{background:#fff;background:var(--surface);border:1px solid #ffffffb3;border-radius:20px;border-radius:var(--radius-lg);box-shadow:0 1px 2px #0000000d;box-shadow:var(--shadow-sm)}.messenger-main{flex:1 1;padding:22px}.messenger-hint h2{color:#1e7a3c;color:var(--green-dark);margin-top:0}.room-list{display:flex;flex-direction:column;gap:2px;list-style:none;margin:12px 0 0;padding:0}.room-item{align-items:stretch;border-radius:14px;border-radius:var(--radius-md);display:flex;position:relative}.room-item:hover{background:#e9f9ee;background:var(--green-light)}.room-item.active{background:#d6f5df;background:var(--green-mist)}.room-link{align-items:center;border-radius:14px;border-radius:var(--radius-md);color:inherit;display:flex;flex:1 1;gap:12px;min-width:0;padding:10px 12px;text-decoration:none}.room-link:hover{background:#0000}.room-btn{background:none;border:none;color:inherit;cursor:pointer;font:inherit;text-align:left;width:100%}.room-info{flex:1 1;min-width:0}.room-name-row{align-items:center;display:flex;gap:8px;min-width:0}.room-name{flex:1 1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.room-ico{align-items:center;background:#e9f9ee;background:var(--green-light);border-radius:50%;display:inline-flex;flex-shrink:0;font-size:22px;height:52px;justify-content:center;overflow:hidden;width:52px}.avatar-photo-btn{background:#0000;border:none;border-radius:50%;cursor:pointer;display:block;height:100%;overflow:hidden;padding:0;width:100%}.avatar-photo-btn img,.chat-header-avatar img,.room-ico img,.story-avatar img,.story-viewer-avatar img{display:block;height:100%;object-fit:cover;width:100%}.avatar-letter{height:100%;line-height:1;width:100%}.avatar-letter,.chat-header-avatar{align-items:center;display:inline-flex;justify-content:center}.chat-header-avatar{background:#e9f9ee;background:var(--green-light);border-radius:50%;flex-shrink:0;height:40px;overflow:hidden;width:40px}.room-meta{align-items:center;display:inline-flex;flex-shrink:0;gap:5px}.room-time{color:#3c3c4399;color:var(--text-2);font-size:12px;white-space:nowrap}.room-last-row{align-items:center;display:flex;gap:4px;margin-top:2px;min-width:0}.room-check{align-items:center;display:inline-flex;flex-shrink:0;line-height:1}.room-check svg{display:block}.room-check.read{color:#34c759}.room-check.unread{color:#3c3c434d;color:var(--text-3)}.room-last{color:#3c3c4399;color:var(--text-2);font-size:13px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.room-last.unread{color:#1d1d1f;color:var(--text);font-weight:600}.unread-badge{background:#ff3b30;background:var(--danger);border-radius:10px;color:#fff;display:inline-flex;flex-shrink:0;font-size:11px;font-weight:700;height:20px;min-width:20px;padding:0 6px}.room-delete,.unread-badge{align-items:center;justify-content:center}.room-delete{background:#0000;border:none;border-radius:50%;color:#3c3c4399;color:var(--text-2);cursor:pointer;display:none;font-size:14px;height:26px;line-height:1;position:absolute;right:8px;top:8px;transition:background .15s ease,color .15s ease;width:26px;z-index:2}.room-item:hover .room-delete{display:inline-flex}.room-delete:hover{background:#ffeceb;background:var(--danger-soft);color:#d9231d;color:var(--danger-deep)}.feed-entry-wrap{border-bottom:1px solid #3c3c431f;border-bottom:1px solid var(--border);border-top:1px solid #3c3c431f;border-top:1px solid var(--border);margin:0 0 14px;padding-bottom:12px;padding-top:12px}.feed-entry{align-items:center;background:none;border:none;border-radius:14px;border-radius:var(--radius-md);color:inherit;cursor:pointer;display:flex;font:inherit;gap:12px;padding:10px 12px;text-align:left;width:100%}.feed-entry:hover{background:#e9f9ee;background:var(--green-light)}.feed-entry.active{background:#d6f5df;background:var(--green-mist)}.feed-filters{flex-shrink:0}.feed-filters .product-filters{margin:0 0 10px}.feed-list{-webkit-overflow-scrolling:touch;display:flex;flex:1 1;flex-direction:column;gap:12px;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:6px 2px}.feed-post{align-items:flex-start;background:#fff;background:var(--surface);border:1px solid #3c3c431f;border:1px solid var(--border);border-radius:20px;border-radius:var(--radius-lg);box-shadow:0 1px 2px #0000000d;box-shadow:var(--shadow-sm);display:flex;gap:14px;padding:12px}.feed-post-img{border-radius:14px;border-radius:var(--radius-md);flex-shrink:0;height:96px;object-fit:cover;width:96px}.feed-post-img.placeholder{align-items:center;background:#e9f9ee;background:var(--green-light);display:flex;font-size:42px;justify-content:center}.feed-post-body{display:flex;flex:1 1;flex-direction:column;gap:6px;min-width:0}.feed-post-head{align-items:baseline;display:flex;gap:10px;justify-content:space-between}.feed-post-head h4{color:#1e7a3c;color:var(--green-dark);font-size:16px;margin:0}.feed-post-price{color:#1d1d1f;color:var(--text);font-weight:700;white-space:nowrap}.feed-post-meta{display:flex;flex-wrap:wrap;gap:10px}.feed-post-chat{align-self:flex-start;margin-top:2px}.feed-post-img-link{background:none;border:none;border-radius:14px;border-radius:var(--radius-md);color:inherit;cursor:pointer;flex-shrink:0;line-height:0;font:inherit;padding:0}.feed-post-img-link:hover .feed-post-img{box-shadow:0 0 0 3px #e9f9ee;box-shadow:0 0 0 3px var(--green-light)}.lightbox-overlay{align-items:center;animation:lightbox-fade .15s ease;background:#000000c7;display:flex;inset:0;justify-content:center;padding:24px;position:fixed;z-index:1000}.lightbox-box{display:flex;max-height:90vh;max-width:min(92vw,1100px);position:relative}.lightbox-img{border-radius:20px;border-radius:var(--radius-lg);box-shadow:0 20px 60px #00000080;display:block;max-height:90vh;max-width:100%;object-fit:contain}.lightbox-close{align-items:center;background:#fff;border:none;border-radius:50%;box-shadow:0 2px 10px #00000059;color:#111;cursor:pointer;display:inline-flex;font-size:20px;height:36px;justify-content:center;line-height:1;padding:0;position:absolute;right:-14px;top:-14px;transition:transform .12s ease,background .15s ease;width:36px}.lightbox-close:hover{background:#f0f0f0;transform:scale(1.08)}@keyframes lightbox-fade{0%{opacity:0}to{opacity:1}}@media (max-width:760px){.lightbox-overlay{padding:12px}.lightbox-close{font-size:18px;height:32px;right:-10px;top:-10px;width:32px}}.chip-list{display:flex;flex-wrap:wrap;gap:6px}.chip{background:#e9f9ee;background:var(--green-light);border-radius:999px;border-radius:var(--radius-pill);color:#1e7a3c;color:var(--green-dark);font-size:12px;font-weight:500;padding:5px 12px}.mt{margin-top:20px}.chat-panel{display:flex;flex-direction:column;height:100%}.chat-header{align-items:center;border-bottom:1px solid #3c3c431f;border-bottom:1px solid var(--border);display:flex;gap:10px;justify-content:space-between;margin-bottom:12px;padding-bottom:14px}.chat-header h3{color:#1d1d1f;color:var(--text);margin:0}.chat-header-actions{align-items:center;display:flex;gap:10px}.call-menu{display:inline-flex;position:relative}.call-menu .call-menu-trigger{-webkit-tap-highlight-color:transparent;align-items:center;background:#34c759;background:var(--green);border-radius:50%;color:#fff;cursor:pointer;display:inline-flex;font-size:17px;height:38px;justify-content:center;line-height:1;min-width:38px;padding:0;transition:background .15s ease;width:38px}.call-menu .call-menu-trigger:hover{background:#2db84f}.call-menu-inline{flex-shrink:0;margin-left:auto}.call-menu-dropdown{background:#fff;background:var(--surface);border:1px solid #3c3c431f;border:1px solid var(--border);border-radius:14px;border-radius:var(--radius-md);box-shadow:0 6px 20px #00000026;display:flex;flex-direction:column;gap:4px;min-width:150px;padding:6px;position:absolute;right:0;top:calc(100% + 6px);z-index:30}.call-menu-item{align-items:center;background:none;border:none;border-radius:10px;border-radius:var(--radius-sm);color:#1d1d1f;color:var(--text);cursor:pointer;display:flex;font-size:13px;gap:8px;padding:8px 10px;text-align:left;width:100%}.call-menu-item:hover{background:#0000000f}.call-menu-item:disabled{cursor:default;opacity:.5}.chat-header-top{gap:8px}.chat-header-frame,.chat-header-top{align-items:center;display:flex;flex:1 1;min-width:0}.chat-header-frame{background:#0000000a;border:1px solid #0000002e;border-radius:999px;color:inherit;cursor:default;font:inherit;gap:10px;margin:0;padding:6px 14px 6px 6px;text-align:left}.chat-header-frame.clickable{cursor:pointer;transition:background .15s ease,border-color .15s ease}.chat-header-frame.clickable:hover{background:#00000014;border-color:#00000047}.chat-header-frame.clickable:active{background:#0000001f}.chat-header-title{align-items:flex-start;display:flex;flex-direction:column;line-height:1.25;min-width:0}.chat-header-name{color:#1d1d1f;color:var(--text);font-size:17px;font-weight:600;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-header-members{color:#3c3c4399;color:var(--text-2);font-size:13px;white-space:nowrap}.back-btn{-webkit-tap-highlight-color:transparent;align-items:center;background:#78788024;border:none;border-radius:50%;color:#1d1d1f;color:var(--text);cursor:pointer;display:none;flex-shrink:0;height:36px;justify-content:center;padding:0;transition:background .15s ease,transform .1s ease;width:36px}.back-btn svg{display:block}.back-btn:active{background:#7878804d;transform:scale(.94)}.chat-messages{-webkit-overflow-scrolling:touch;display:flex;flex:1 1;flex-direction:column;gap:8px;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:6px 2px}.chat-msg{align-self:flex-start;background:#f2f2f7;border-radius:18px;border-bottom-left-radius:6px;box-shadow:0 1px 2px #0000000d;box-shadow:var(--shadow-sm);max-width:75%;padding:10px 14px}.chat-msg.own{align-self:flex-end;background:#e9f9ee;background:var(--green-light);border-bottom-left-radius:18px;border-bottom-right-radius:6px}.chat-msg.system{align-self:center;background:#78788024;border-radius:999px;box-shadow:none;color:#3c3c4399;color:var(--text-2);max-width:90%;text-align:center}.chat-msg.system .chat-msg-meta{display:none}.chat-removed-notice{background:#7878801a;border-radius:12px;border-top:1px solid #3c3c431f;border-top:1px solid var(--border);color:#3c3c4399;color:var(--text-2);font-size:14px;margin-top:8px;padding:12px 16px;text-align:center}.chat-msg-meta{align-items:baseline;display:flex;gap:8px;margin-bottom:3px}.chat-msg-meta strong{color:#1e7a3c;color:var(--green-dark);font-size:13px}.chat-msg-text{font-size:15px;white-space:pre-wrap;word-break:break-word}.msg-reply{align-items:center;background:#0000000d;border-left:3px solid #1e7a3c;border-left:3px solid var(--green-dark);border-radius:10px;display:flex;gap:10px;margin-bottom:4px;min-width:0;padding:6px 10px}.chat-msg.own .msg-reply{background:#ffffff8c}.msg-reply-img{background:#fff;border-radius:8px;flex-shrink:0;height:44px;object-fit:cover;width:44px}.msg-reply-info{display:flex;flex-direction:column;gap:1px;min-width:0}.msg-reply-label{font-size:11px;font-weight:600;letter-spacing:.2px;opacity:.65}.msg-reply-name{color:#1d1d1f;color:var(--text);font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.msg-reply-price{font-size:12px;opacity:.8}.msg-status{align-items:center;color:#3c3c434d;color:var(--text-3);display:flex;justify-content:flex-end;line-height:1;margin-top:3px;-webkit-user-select:none;user-select:none}.msg-status svg{display:block}.msg-status.read{color:#34c759}.msg-status.sending{color:#3c3c434d;color:var(--text-3)}.msg-status.error{color:#ff3b30;color:var(--danger)}.msg-status-spinner{animation:msg-status-spin .7s linear infinite;border:2px solid #7878804d;border-radius:50%;border-top:2px solid var(--text-2);height:13px;width:13px}@keyframes msg-status-spin{to{transform:rotate(1turn)}}.unread-divider{align-items:center;color:#1e7a3c;color:var(--green-dark);display:flex;font-size:12px;font-weight:600;gap:10px;letter-spacing:.4px;margin:4px 0 2px;text-transform:uppercase;-webkit-user-select:none;user-select:none}.unread-divider:after,.unread-divider:before{background:#3c3c431f;background:var(--border);content:"";flex:1 1;height:1px}.chat-input{grid-gap:8px;align-items:center;display:grid;gap:8px;grid-template-columns:auto minmax(0,1fr) auto;margin-top:12px}.chat-input input,.chat-input textarea{background:#f2f2f7;border:1px solid #0000;border-radius:999px;border-radius:var(--radius-pill);color:#1d1d1f;color:var(--text);font:inherit;min-width:0;padding:10px 16px;transition:background .18s ease,box-shadow .18s ease,border-color .18s ease;width:100%}.chat-input textarea{border-radius:20px;display:block;line-height:1.35;max-height:132px;min-height:42px;overflow-y:auto;resize:none}.chat-input input::placeholder,.chat-input textarea::placeholder{color:#3c3c434d;color:var(--text-3)}.chat-input input:focus,.chat-input textarea:focus{background:#fff;border-color:#34c75966;box-shadow:0 0 0 3px #34c75933;outline:none}.chat-input>.btn{white-space:nowrap}.chat-input .btn-attach{border-radius:999px;border-radius:var(--radius-pill);font-size:18px;min-width:44px;padding:8px 12px}.chat-input .btn-send{align-items:center;border-radius:50%;display:inline-flex;justify-content:center;min-height:44px;min-width:44px;padding:0}.chat-input .btn-send svg{flex:0 0 auto;height:20px;width:20px}.btn-send-spinner{animation:btn-send-spin .7s linear infinite;border:2px solid #fff6;border-radius:50%;border-top-color:#fff;height:18px;width:18px}@keyframes btn-send-spin{to{transform:rotate(1turn)}}.attach-preview-row{display:flex;flex-wrap:wrap;gap:8px;grid-column:1/-1;margin-bottom:4px}.attach-preview{align-items:center;background:#fff;border:1px solid #34c75959;border-radius:14px;box-shadow:0 1px 2px #0000000d;box-shadow:var(--shadow-sm);display:flex;gap:8px;max-width:240px;padding:6px 30px 6px 6px;position:relative}.attach-preview img,.attach-preview video{object-fit:cover}.attach-preview img,.attach-preview video,.attach-preview-ico{background:#f2f2f7;border-radius:10px;flex:0 0 auto;height:52px;width:52px}.attach-preview-ico{align-items:center;display:flex;font-size:26px;justify-content:center}.attach-preview-name{color:#1d1d1f;color:var(--text);font-size:12px;max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.attach-preview-x{align-items:center;background:#00000073;border:none;border-radius:50%;color:#fff;cursor:pointer;display:flex;font-size:14px;height:20px;justify-content:center;line-height:1;position:absolute;right:4px;top:4px;width:20px}.attach-preview-x:hover{background:#000000a6}.reply-bar{align-items:center;background:#fff;border:1px solid #34c75959;border-radius:14px;box-shadow:0 1px 2px #0000000d;box-shadow:var(--shadow-sm);display:flex;gap:10px;grid-column:1/-1;margin-bottom:4px;padding:6px 8px 6px 6px}.reply-bar-img{background:#f2f2f7;border-radius:10px;flex:0 0 auto;height:40px;object-fit:cover;width:40px}.reply-bar-img.placeholder{align-items:center;display:flex;font-size:20px;justify-content:center}.reply-bar-info{display:flex;flex:1 1 auto;flex-direction:column;gap:1px;min-width:0}.reply-bar-label{font-size:11px;font-weight:600;letter-spacing:.2px;opacity:.65}.reply-bar-name{color:#1d1d1f;color:var(--text);font-size:13px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reply-bar-x{align-items:center;background:#00000073;border:none;border-radius:50%;color:#fff;cursor:pointer;display:flex;flex:0 0 auto;font-size:15px;height:24px;justify-content:center;line-height:1;width:24px}.reply-bar-x:hover{background:#000000a6}.msg-media-link{background:none;border:0;color:inherit;cursor:pointer;display:block;font:inherit;max-width:100%;padding:0}.msg-media-link:hover .msg-media-img{filter:brightness(1.05)}.msg-media-img{max-height:340px;object-fit:contain}.msg-media-img,.msg-media-video{background:#000;border-radius:12px;display:block;max-width:100%}.msg-media-video{max-height:360px}.file-card{align-items:center;background:#fff;border:1px solid #34c7594d;border-radius:14px;box-shadow:0 1px 2px #0000000d;box-shadow:var(--shadow-sm);color:#1d1d1f;color:var(--text);display:flex;gap:10px;max-width:320px;padding:8px 12px;text-decoration:none;transition:border-color .18s ease,box-shadow .18s ease}.file-card:hover{border-color:#34c75999;box-shadow:0 3px 10px #00000014}.file-card-ico{flex:0 0 auto;font-size:24px}.file-card-info{display:flex;flex-direction:column;min-width:0}.file-card-name{font-size:13px;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-card-dl{color:#1e7a3c;color:var(--green-dark);font-size:16px;margin-left:auto}.video-overlay{align-items:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#00000073;display:flex;inset:0;justify-content:center;overflow:hidden;padding:max(24px,env(safe-area-inset-top)) max(24px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(24px,env(safe-area-inset-left));position:fixed;z-index:1000}.video-overlay-box{background:#fff;background:var(--surface);border-radius:28px;border-radius:var(--radius-xl);box-shadow:0 4px 12px #00000017,0 24px 56px #00000024;box-shadow:var(--shadow-lg);display:flex;flex-direction:column;height:85vh;height:85dvh;max-height:100%;max-width:100%;min-height:0;min-width:0;overflow:hidden;width:min(90vw,1100px)}.video-overlay-head{align-items:center;border-bottom:1px solid #3c3c431f;border-bottom:1px solid var(--border);display:flex;justify-content:space-between;padding:12px 20px}.video-iframe{border:none;flex:1 1;width:100%}.call-status{align-items:center;display:flex;flex:1 1;flex-direction:column;gap:14px;justify-content:center}.spinner{animation:spin .9s linear infinite;border:4px solid #d6f5df;border-radius:50%;border-top-color:#34c759;border:4px solid var(--green-mist);border-top-color:var(--green);height:36px;width:36px}@keyframes spin{to{transform:rotate(1turn)}}.call-grid{grid-gap:12px;align-content:start;background:linear-gradient(160deg,#101418,#1a212b);display:grid;flex:1 1;gap:12px;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));overflow-y:auto;padding:16px}.call-grid.audio-only{background:linear-gradient(160deg,#14662f,#1e7a3c);background:linear-gradient(160deg,var(--green-deeper),var(--green-dark))}.call-grid .muted{color:#aebac6}.call-tile{align-items:center;aspect-ratio:16/9;background:#1c2229;border-radius:14px;border-radius:var(--radius-md);display:flex;justify-content:center;min-height:160px;overflow:hidden;position:relative}.audio-only .call-tile{aspect-ratio:auto;min-height:180px}.call-video{background:#000;height:100%;object-fit:cover;width:100%}.remote-audio{height:1px;opacity:0;pointer-events:none;position:absolute;width:1px}.call-avatar{align-items:center;color:#fff;display:flex;flex-direction:column;font-size:40px;gap:6px}.call-avatar .small{color:#cfd8dc}.call-tile-name{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0000008c;border-radius:999px;border-radius:var(--radius-pill);bottom:8px;color:#fff;font-size:12px;left:8px;padding:4px 10px;position:absolute}.call-controls{border-top:1px solid #3c3c431f;border-top:1px solid var(--border);display:flex;flex-wrap:wrap;gap:10px;justify-content:center;padding:14px 16px}.call-head-actions{align-items:center;display:flex;gap:8px}.call-error{margin:10px 14px 0}.call-box,.call-stage{position:relative}.call-stage{grid-gap:2px;background:#000;display:grid;flex:1 1;gap:2px;min-height:0;overflow:hidden}.call-stage.with-video{grid-auto-rows:1fr;grid-template-columns:repeat(auto-fit,minmax(320px,1fr))}.call-stage.with-video .call-stage-remote:only-child{grid-column:1/-1;grid-row:1/-1}.call-stage.audio-only{align-content:center;background:linear-gradient(160deg,#14662f,#1e7a3c);background:linear-gradient(160deg,var(--green-deeper),var(--green-dark));gap:12px;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));padding:16px}.call-stage.audio-only .call-stage-remote{aspect-ratio:4/3;background:#00000059;border-radius:14px;border-radius:var(--radius-md)}.call-stage-remote{align-items:center;background:#000;display:flex;justify-content:center;min-height:0;min-width:0;overflow:hidden;position:relative}.call-stage-remote .call-video{height:100%;object-fit:cover;width:100%}.call-waiting{align-items:center;color:#aebac6;display:flex;inset:0;justify-content:center;position:absolute}.call-stage .muted{color:#aebac6}.call-pip{aspect-ratio:4/3;background:#000;border:2px solid #ffffffe6;border-radius:14px;border-radius:var(--radius-md);bottom:84px;box-shadow:0 4px 12px #00000017,0 24px 56px #00000024;box-shadow:var(--shadow-lg);cursor:grab;overflow:hidden;position:absolute;right:16px;touch-action:none;width:176px;z-index:5}.call-pip:active{cursor:grabbing}.call-pip .call-video{height:100%;object-fit:cover;width:100%}.call-pip-label{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0000008c;bottom:6px;font-size:11px;left:6px;padding:2px 8px;position:absolute}.call-minimized,.call-pip-label{border-radius:999px;border-radius:var(--radius-pill);color:#fff}.call-minimized{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#14161ceb;bottom:18px;box-shadow:0 4px 12px #00000017,0 24px 56px #00000024;box-shadow:var(--shadow-lg);padding:10px 14px;position:fixed;right:18px;z-index:1200}.call-min-body,.call-minimized{align-items:center;display:flex;gap:8px}.call-min-body{background:#0000;border:none;color:inherit;cursor:pointer;font:inherit;text-align:left}.call-min-dot{animation:pulse 1.6s ease-in-out infinite;background:#34c759;background:var(--green);border-radius:50%;flex-shrink:0;height:10px;width:10px}@keyframes pulse{0%,to{opacity:1}50%{opacity:.35}}.call-min-body .muted{color:#b7c0ca}.incoming-call-box{height:auto;max-width:460px}.incoming-call-body{padding:28px;text-align:center}.incoming-call-body .call-controls{border-top:none}.incoming-call-title{color:var(--text-1);font-size:17px;font-weight:600;margin:0 0 8px}.incoming-call-body .muted{margin:0 0 4px}.user-select{margin-bottom:8px;position:relative}.user-select-trigger{align-items:center;background:#f2f2f7;border:1px solid #0000;border-radius:14px;border-radius:var(--radius-md);color:inherit;cursor:pointer;display:flex;font:inherit;gap:8px;justify-content:space-between;min-height:40px;padding:8px 12px;text-align:left;transition:background .18s ease,box-shadow .18s ease;width:100%}.user-select-trigger:hover{background:#ececf0}.user-select-trigger:focus{box-shadow:0 0 0 3px #34c75933;outline:none}.user-select-trigger .placeholder{color:#3c3c434d;color:var(--text-3)}.user-select-trigger .caret{color:#3c3c4399;color:var(--text-2)}.user-select-tags{display:flex;flex:1 1;flex-wrap:wrap;gap:4px}.select-tag{align-items:center;background:#e9f9ee;background:var(--green-light);border-radius:999px;border-radius:var(--radius-pill);color:#1e7a3c;color:var(--green-dark);display:inline-flex;font-size:13px;font-weight:500;gap:5px;padding:3px 10px}.select-tag-x{cursor:pointer;font-weight:700;line-height:1;opacity:.6}.select-tag-x:hover{opacity:1}.user-select-dropdown{background:#fff;background:var(--surface);border:1px solid #3c3c431f;border:1px solid var(--border);border-radius:14px;border-radius:var(--radius-md);box-shadow:0 1px 3px #0000000d,0 10px 28px #00000012;box-shadow:var(--shadow-md);left:0;margin-top:6px;overflow:hidden;position:absolute;right:0;z-index:50}.user-select-search{background:#0000;border:none;border-bottom:1px solid #3c3c431f;border-bottom:1px solid var(--border);font:inherit;outline:none;padding:10px 12px;width:100%}.user-select-list{max-height:200px;overflow-y:auto;padding:6px}.user-select-item{align-items:center;background:#0000;border:none;border-radius:10px;border-radius:var(--radius-sm);color:inherit;cursor:pointer;display:flex;font:inherit;gap:10px;justify-content:flex-start;padding:9px 12px;text-align:left;transition:background .15s ease;width:100%}.user-select-item:hover{background:#34c75914}.user-select-item.selected,.user-select-item.selected:hover{background:#e9f9ee;background:var(--green-light)}.user-select-item.selected strong{color:#1e7a3c;color:var(--green-dark)}.user-item-name{align-items:flex-start;display:flex;flex-direction:column;line-height:1.35;min-width:0}.user-item-name .small{color:#3c3c434d;color:var(--text-3)}.user-select-empty{padding:10px}.modal-overlay{align-items:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#00000073;display:flex;inset:0;justify-content:center;padding:24px;position:fixed;z-index:900}.modal-box{animation:modal-in .18s ease-out;background:#fff;background:var(--surface);border-radius:28px;border-radius:var(--radius-xl);box-shadow:0 4px 12px #00000017,0 24px 56px #00000024;box-shadow:var(--shadow-lg);max-height:86vh;overflow-y:auto;width:min(94vw,440px)}@keyframes modal-in{0%{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.modal-head{align-items:center;display:flex;justify-content:space-between;padding:18px 20px 0}.modal-head h3{margin:0}.modal-close{background:#0000;border:none;border-radius:999px;border-radius:var(--radius-pill);color:#3c3c4399;color:var(--text-2);cursor:pointer;font-size:24px;line-height:1;padding:4px 10px;transition:background .15s ease,color .15s ease}.modal-close:hover{background:#0000000f;color:#1d1d1f;color:var(--text)}.modal-body{padding:14px 20px 22px}.modal-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:4px}.group-edit-modal{max-height:92vh;width:min(94vw,480px)}.group-leave-btn{margin-right:auto}.group-leave-modal{width:min(94vw,380px)}.group-leave-modal .modal-actions{justify-content:space-between;padding:0 20px 20px}.group-leave-text{font-size:15px;margin:0}.user-select-dropdown{z-index:950}.group-members-list{background:#fafafa;border:1px solid #3c3c431f;border:1px solid var(--border);border-radius:14px;border-radius:var(--radius-md);margin:6px 0 10px;padding:10px 12px}.group-view-name{color:var(--text-1);font-size:16px;font-weight:600;padding:6px 0 2px}.group-members-title{color:#3c3c4399;color:var(--text-2);font-size:13px;font-weight:600;margin-bottom:8px}.group-members-list ul{display:flex;flex-direction:column;gap:6px;list-style:none;margin:0;max-height:160px;overflow-y:auto;padding:0}.group-members-list li{align-items:center;color:#1d1d1f;color:var(--text);display:flex;font-size:14px;gap:8px}.group-member-row{flex-wrap:wrap}.group-member-avatar{align-items:center;background:#e9f9ee;background:var(--green-light);border-radius:50%;color:#1e7a3c;color:var(--green-dark);display:inline-flex;flex-shrink:0;font-size:13px;font-weight:600;height:28px;justify-content:center;overflow:hidden;width:28px}.group-member-avatar img{display:block;height:100%;object-fit:cover;width:100%}.group-member-name{align-items:center;display:inline-flex;gap:6px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.group-member-admin{background:#1e7a3c;background:var(--green-dark)}.group-member-admin,.group-member-owner{border-radius:999px;color:#fff;font-size:11px;font-weight:600;padding:1px 8px;white-space:nowrap}.group-member-owner{background:#2f6df6}.group-member-actions{align-items:center;display:inline-flex;gap:6px;margin-left:auto}.group-member-actions .btn-sm{font-size:11px;padding:3px 8px}.member-menu-btn{align-items:center;background:#0000;border:none;border-radius:50%;color:#3c3c4399;color:var(--text-2);cursor:pointer;display:inline-flex;flex-shrink:0;font-size:16px;height:30px;justify-content:center;transition:background .15s ease,color .15s ease;width:30px}.member-menu-btn:hover{background:#00000014;color:#1d1d1f;color:var(--text)}.member-menu-dropdown{background:#fff;background:var(--surface);border:1px solid #3c3c431f;border:1px solid var(--border);border-radius:14px;border-radius:var(--radius-md);box-shadow:0 4px 12px #00000017,0 24px 56px #00000024;box-shadow:var(--shadow-lg);display:flex;flex-direction:column;gap:1px;min-width:224px;overflow:hidden;padding:4px;position:fixed;z-index:960}.member-menu-item{align-items:center;background:#0000;border:none;border-radius:10px;border-radius:var(--radius-sm);color:inherit;cursor:pointer;display:flex;font:inherit;gap:8px;padding:9px 10px;text-align:left;transition:background .15s ease;width:100%}.member-menu-item:hover{background:#e9f9ee;background:var(--green-light)}.member-menu-item:disabled{cursor:default;opacity:.6}.member-menu-item.danger{color:#d9231d;color:var(--danger-deep)}.member-menu-item.danger:hover{background:#ffeceb;background:var(--danger-soft)}.group-add-member-btn{align-self:flex-start}.group-add-modal{display:flex;flex-direction:column;max-height:86vh;max-height:86dvh;overflow:hidden;width:min(94vw,440px)}.add-members-body{display:flex;flex-direction:column;min-height:0;padding-bottom:14px}.add-members-counter{color:#3c3c4399;color:var(--text-2);font-size:13px;font-weight:600;padding:2px 0 10px}.add-members-search{background:#fff;border:1px solid #3c3c4338;border:1px solid var(--border-strong);border-radius:14px;border-radius:var(--radius-md);color:inherit;font:inherit;margin-bottom:8px;outline:none;padding:9px 12px;width:100%}.add-members-search:focus{border-color:#34c759;border-color:var(--green)}.add-members-list{-webkit-overflow-scrolling:touch;display:flex;flex:1 1;flex-direction:column;gap:2px;min-height:200px;overflow-y:auto;overscroll-behavior:contain}.add-members-item{align-items:center;background:#0000;border:none;border-radius:10px;border-radius:var(--radius-sm);color:inherit;cursor:pointer;display:flex;font:inherit;gap:10px;padding:9px 10px;text-align:left;transition:background .15s ease;width:100%}.add-members-item:hover{background:#e9f9ee;background:var(--green-light)}.add-members-item.selected{background:#d6f5df;background:var(--green-mist)}.add-members-item .anticon{color:#1e7a3c;color:var(--green-dark);flex-shrink:0;margin-left:auto}.add-members-divider{background:#3c3c431f;background:var(--border);height:1px;margin:6px 0}.add-members-body .modal-actions{margin-top:10px}@media (max-width:760px){.group-add-modal{max-height:92vh;max-height:92dvh;width:100%}}.profile-modal{max-width:480px}.profile-loading{color:#3c3c4399;color:var(--text-2);padding:24px 0;text-align:center}.profile-section{margin:0}.profile-subtitle{color:#1d1d1f;color:var(--text);font-size:14px;font-weight:700;margin:0}.profile-divider{border:none;border-top:1px solid #00000014;margin:16px 0}.profile-actions{margin-top:2px}.profile-avatar-row{align-items:center;display:flex;gap:14px;margin-bottom:4px}.profile-avatar{align-items:center;background:linear-gradient(135deg,#34c759,#1e7a3c);background:linear-gradient(135deg,var(--green),var(--green-dark));border-radius:50%;box-shadow:inset 0 0 0 1px #ffffff40;color:#fff;display:flex;flex-shrink:0;font-size:30px;font-weight:700;height:72px;justify-content:center;overflow:hidden;width:72px}.profile-avatar img{height:100%;object-fit:cover;width:100%}.profile-avatar-actions{align-items:flex-start;display:flex;flex-direction:column;gap:6px}@media (max-width:720px){.profile-modal{max-width:none;width:100%}}.muted{color:#3c3c4399;color:var(--text-2)}.small{font-size:12px}.row-between{align-items:center;display:flex;gap:12px;justify-content:space-between}.empty{color:#3c3c4399;color:var(--text-2);font-style:italic}@media (max-width:1100px){.content{padding:22px 18px 46px}.messenger-wrap{gap:14px}.messenger-sidebar{width:290px}.video-overlay-box{width:min(94vw,1100px)}}@media (max-width:760px){body,html{overflow-x:hidden}.topbar{gap:8px;height:54px;left:0;padding:0 10px;position:fixed;right:0;top:0}.brand{font-size:16px;letter-spacing:.2px}.brand:before{font-size:14px}.nav,.user-name{display:none}.userbox{gap:6px;margin-left:auto}.btn-ghost{font-size:13px;padding:6px 10px}.menu-toggle{display:inline-flex}.content{padding:70px 12px 44px}h1{font-size:22px}h2{font-size:19px}h3{font-size:17px}.btn{font-size:13px;padding:9px 14px}.btn-sm{font-size:12px;padding:5px 10px}.card,.panel{padding:16px}.hero{padding:16px 18px}.row-between{flex-wrap:wrap}.table{-webkit-overflow-scrolling:touch;display:block;overflow-x:auto;white-space:nowrap}.form-row{flex-direction:column;gap:10px}.auth-wrap{padding:16px}.auth-card{max-width:100%;padding:24px 18px;width:100%}.brand-lg{font-size:28px}.messenger-wrap{flex-direction:column;gap:12px;height:auto;min-height:0}.messenger-wrap .messenger-sidebar{max-height:none;overflow-y:auto;padding:14px;width:100%}.messenger-wrap.chat-open .messenger-sidebar,.messenger-wrap:not(.chat-open) .messenger-main{display:none}.messenger-wrap.chat-open .messenger-main{background:#fff;background:var(--surface);border:none;border-radius:0;bottom:0;display:flex;flex-direction:column;left:0;margin:0;padding:0;position:fixed;right:0;top:54px;width:auto;z-index:200}.messenger-wrap.chat-open .chat-panel{border-radius:0;height:100%;min-height:0}.messenger-wrap.chat-open .chat-header{padding:12px 12px 14px}.messenger-wrap.chat-open .chat-messages{padding:8px 12px}.messenger-wrap.chat-open .feed-list{padding:6px 12px}.messenger-wrap.chat-open .chat-input{margin-top:8px;padding:0 12px max(10px,env(safe-area-inset-bottom))}.messenger-hint{display:none}.back-btn{display:inline-flex}.chat-header{align-items:center;flex-direction:row;gap:8px}.chat-header-frame,.chat-header-top{flex:1 1;min-width:0}.chat-header-frame{padding-right:7px}.chat-header-frame .call-menu-inline{margin-left:auto}.chat-header-title{align-items:flex-start;flex-direction:column}.chat-header-members{font-size:12px}.chat-header-actions{display:none}.chat-msg{max-width:88%}.attach-preview{max-width:100%}.room-delete{display:inline-flex}.feed-post{flex-direction:column}.feed-post-img{aspect-ratio:16/9;height:auto;object-fit:cover;width:100%}.feed-post-img-link{width:100%}.user-grid{grid-template-columns:1fr}.user-card{flex-wrap:wrap}.video-overlay{padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))}.video-overlay-box{border-radius:20px;border-radius:var(--radius-lg);height:92vh;height:92dvh}.incoming-call-box,.video-overlay-box{max-height:100%;max-width:100%;width:100%}.incoming-call-box{height:auto}.incoming-call-body{padding:18px 14px}.call-head-actions{flex-wrap:wrap;gap:6px}.call-error{margin:8px 10px 0}.call-stage.with-video{grid-template-columns:1fr}.call-pip{bottom:96px;right:10px;width:118px}.call-controls{gap:6px;padding:10px}.call-controls .btn{font-size:12px;padding:8px 10px}.call-minimized{bottom:calc(10px + env(safe-area-inset-bottom));max-width:calc(100vw - 20px);right:10px}.call-min-body .muted{display:none}}@media (max-width:400px){.topbar{gap:6px;padding:0 8px}.brand{font-size:15px}.brand:before{font-size:13px}.userbox .badge{display:none}.btn-ghost{font-size:12px;padding:5px 8px}.menu-toggle{height:36px;width:36px}.topbar-back{height:32px;width:32px}}.admin-badge{background:#fdf3d7;border:1px solid #92600a40;color:#92600a}.admin-stats{grid-gap:14px;display:grid;gap:14px;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));margin-bottom:20px}.admin-stat{background:#fff;background:var(--surface);border:1px solid #ffffffb3;border-radius:20px;border-radius:var(--radius-lg);box-shadow:0 1px 2px #0000000d;box-shadow:var(--shadow-sm);padding:18px;text-align:center}.admin-stat-icon{font-size:26px}.admin-stat-value{color:#1e7a3c;color:var(--green-dark);font-size:28px;font-weight:800}.admin-stat-label{color:#3c3c4399;color:var(--text-2);font-size:13px;margin-top:4px}.admin-actions{display:flex;flex-wrap:wrap;gap:6px}.admin-check{font-weight:500;justify-content:flex-start}.admin-inline-input{border:1px solid #3c3c4338;border:1px solid var(--border-strong);border-radius:10px;border-radius:var(--radius-sm);color:#1d1d1f;color:var(--text);font:inherit;padding:6px 10px}.admin-messages{margin:0;max-height:320px;overflow-y:auto}.admin-messages h4{margin:0 0 12px}.admin-msg{align-items:baseline;border-bottom:1px solid #3c3c431f;border-bottom:1px solid var(--border);display:flex;gap:10px;padding:8px 0}.admin-msg:last-child{border-bottom:none}.admin-msg-sender{color:#1e7a3c;color:var(--green-dark);font-weight:600;white-space:nowrap}.admin-msg-text{flex:1 1;overflow-wrap:anywhere}.admin-msg-time{white-space:nowrap}.admin-edit-form{display:flex;flex-direction:column;gap:6px;min-width:180px}.admin-edit-form input{border:1px solid #3c3c4338;border:1px solid var(--border-strong);border-radius:10px;border-radius:var(--radius-sm);color:#1d1d1f;color:var(--text);font:inherit;padding:6px 10px}.admin-edit-form input:focus,.admin-inline-input:focus{border-color:#34c75973;box-shadow:0 0 0 3px #34c7592e;outline:none}.admin-doc{margin-bottom:16px}.admin-doc-head{align-items:baseline;display:flex;gap:10px;justify-content:space-between;margin-bottom:12px}.admin-doc-key{color:#1e7a3c;color:var(--green-dark);font-size:15px}.admin-doc-textarea{background:#fff;border:1px solid #3c3c4338;border:1px solid var(--border-strong);border-radius:10px;border-radius:var(--radius-sm);color:#1d1d1f;color:var(--text);font:inherit;line-height:1.55;padding:10px 12px;resize:vertical;width:100%}.admin-doc-textarea:focus{border-color:#34c75973;box-shadow:0 0 0 3px #34c7592e;outline:none}@media (max-width:768px){.admin-stats{grid-template-columns:repeat(2,1fr)}.admin-msg{flex-direction:column;gap:2px}}.table.wh-table{table-layout:fixed}.wh-table td,.wh-table th{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wh-table td:first-child,.wh-table th:first-child{width:26%}.wh-table td:nth-child(2),.wh-table th:nth-child(2){width:13%}.wh-table td:nth-child(3),.wh-table th:nth-child(3){width:12%}.wh-table td:nth-child(4),.wh-table th:nth-child(4){width:10%}.wh-table td:nth-child(5),.wh-table th:nth-child(5){width:24%}.wh-table td:nth-child(6),.wh-table th:nth-child(6){width:15%}.wh-cell-name strong{display:block}.wh-cell-name .muted,.wh-cell-name strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wh-actions{align-items:center;display:inline-flex;gap:6px}.wh-check{justify-content:flex-start}.img-upload-row{align-items:center;display:flex;gap:8px}.img-upload-row input:not([type]),.img-upload-row input[type=text]{flex:1 1;min-width:0}.img-upload-row .btn{flex-shrink:0;white-space:nowrap}.img-upload-preview{display:inline-block;margin-top:8px;max-width:220px;position:relative}.img-upload-preview img{border:1px solid #3c3c431f;border:1px solid var(--border);border-radius:14px;border-radius:var(--radius-md);display:block;max-height:160px;object-fit:cover;width:100%}.img-upload-clear{align-items:center;background:#0000008c;border:none;border-radius:50%;color:#fff;cursor:pointer;display:inline-flex;font-size:15px;height:26px;justify-content:center;line-height:1;padding:0;position:absolute;right:6px;top:6px;transition:background .15s ease;width:26px}.img-upload-clear:hover{background:#000000bf}@media (max-width:760px){.img-upload-row{flex-wrap:wrap}.img-upload-row input{flex:1 1 100%}}.btn-icon{align-items:center;background:#7878801f;border:none;border-radius:50%;color:#1d1d1f;color:var(--text);cursor:pointer;display:inline-flex;flex-shrink:0;font-family:inherit;font-size:16px;height:34px;justify-content:center;line-height:1;padding:0;transition:transform .12s ease,background .18s ease,opacity .18s ease;width:34px}.btn-icon:hover{background:#78788038}.btn-icon:active{transform:scale(.94)}.btn-icon:disabled{cursor:default;opacity:.5;transform:none}.btn-icon-primary{background:#34c759;background:var(--green);color:#fff}.btn-icon-primary:hover{background:#2db84f}.btn-icon-primary:active{background:#14662f;background:var(--green-deeper)}.btn-icon-danger{background:#ffeceb;background:var(--danger-soft);color:#d9231d;color:var(--danger-deep)}.btn-icon-danger:hover{background:#ffdedc}.btn-icon-danger:active{background:#ffd1cf}.btn-icon-sm{font-size:15px;height:30px;width:30px}.btn-icon svg{flex:0 0 auto;height:16px;width:16px}.btn-icon-sm svg{height:15px;width:15px}.btn-icon-spinner{animation:spin .7s linear infinite;border:2px solid #78788040;border-radius:50%;border-top-color:initial;flex:0 0 auto;height:14px;width:14px}@media (max-width:760px){.table.wh-table{display:table}.wh-table td,.wh-table th{font-size:12px;padding:10px 6px}.wh-table td:first-child,.wh-table th:first-child{width:24%}.wh-table td:nth-child(2),.wh-table th:nth-child(2){width:13%}.wh-table td:nth-child(3),.wh-table th:nth-child(3){width:11%}.wh-table td:nth-child(4),.wh-table th:nth-child(4){width:9%}.wh-table td:nth-child(5),.wh-table th:nth-child(5){width:27%}.wh-table td:nth-child(6),.wh-table th:nth-child(6){width:16%}.wh-table .inline-form input{font-size:12px;padding:6px 8px;width:52px}.wh-table .btn-icon-sm{font-size:14px;height:28px;width:28px}.wh-actions{gap:4px}}.stories-title{color:#000;font-size:15px;font-weight:600;letter-spacing:.5px;padding:4px 4px 0;text-transform:uppercase}.stories-strip{-webkit-overflow-scrolling:touch;cursor:grab;display:flex;gap:12px;overflow-x:auto;padding:10px 4px 12px;scrollbar-color:#78788080 #0000;scrollbar-width:thin}.stories-strip:active{cursor:grabbing}.stories-strip::-webkit-scrollbar{height:8px}.stories-strip::-webkit-scrollbar-track{background:#0000}.stories-strip::-webkit-scrollbar-thumb{background:#78788080;border-radius:4px}.stories-strip::-webkit-scrollbar-thumb:hover{background:#787880b3}.story-circle{align-items:center;background:none;border:none;cursor:pointer;display:flex;flex:0 0 auto;flex-direction:column;font-family:inherit;gap:4px;padding:0;width:72px}.story-circle:hover .story-avatar{transform:scale(1.05)}.story-ring{align-items:center;background:#78788040;border-radius:50%;display:inline-flex;height:60px;justify-content:center;padding:3px;transition:transform .15s ease;width:60px}.story-ring.unread{background:conic-gradient(from 0deg,#f97316,#f59e0b,#22c55e,#f97316);background:linear-gradient(135deg,#f97316,#f59e0b,#22c55e,#16a34a)}.story-avatar{align-items:center;background:linear-gradient(135deg,#22c55e,#16a34a);border-radius:50%;color:#fff;display:inline-flex;font-size:22px;font-weight:600;height:54px;justify-content:center;overflow:hidden;transition:transform .15s ease;width:54px}.story-ring-add{background:#78788040}.story-avatar-add{background:linear-gradient(135deg,#f97316,#f59e0b)}.story-add-plus{align-items:center;display:inline-flex;font-size:30px;font-weight:300;height:100%;justify-content:center;line-height:1;width:100%}.story-name{color:#6b7280;color:var(--muted,#6b7280);font-size:11px;max-width:72px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.story-viewer-overlay{align-items:center;background:#000000bf;display:flex;inset:0;justify-content:center;overflow:hidden;position:fixed;z-index:1000}.story-create-frame,.story-viewer-frame{background:#000;border-radius:12px;box-shadow:0 8px 32px #00000080;height:min(100vh - 96px,calc(177.77778vw - 42.66667px));max-height:100vh;max-width:100vw;overflow:hidden;position:relative;width:min(100vw - 24px,calc(56.25vh - 54px))}.story-create-frame{display:flex;flex-direction:column}.story-create-preview{background:linear-gradient(135deg,#f97316,#f59e0b,#22c55e,#16a34a);flex:1 1;min-height:0;overflow:hidden;position:relative}.story-create-preview .story-viewer-img{height:100%;inset:0;object-fit:contain;position:absolute;width:100%}.story-create-controls{background:#0009;display:flex;flex-direction:column;gap:8px;padding:10px 12px}.story-create-controls textarea{background:#ffffff1f;border:none;border-radius:8px;color:#fff;font-family:inherit;font-size:15px;max-height:80px;min-height:40px;padding:8px 10px;resize:none;width:100%}.story-create-controls textarea::placeholder{color:#fff9}.story-create-controls textarea:focus{background:#ffffff2e;outline:none}.story-create-actions{align-items:center;display:flex;gap:8px}.story-create-submit{align-items:center;background:#22c55e;border:none;border-radius:50%;color:#fff;cursor:pointer;display:inline-flex;flex-shrink:0;font-size:18px;height:40px;justify-content:center;transition:background .15s ease;width:40px}.story-create-submit:hover{background:#16a34a}.story-create-submit:disabled{cursor:default;opacity:.5}.story-progress-row{display:flex;gap:4px;left:12px;position:absolute;right:12px;top:12px;z-index:3}.story-progress-seg{background:#ffffff4d;border-radius:2px;flex:1 1;height:3px;overflow:hidden}.story-progress-fill{background:#fff;border-radius:2px;height:100%;transition:width .1s linear}.story-viewer-header{align-items:center;color:#fff;display:flex;gap:10px;left:12px;position:absolute;right:12px;top:24px;z-index:3}.story-viewer-avatar{align-items:center;background:linear-gradient(135deg,#22c55e,#16a34a);border-radius:50%;color:#fff;display:inline-flex;flex-shrink:0;font-size:16px;font-weight:600;height:36px;justify-content:center;overflow:hidden;width:36px}.story-viewer-name{font-size:15px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.story-viewer-time{color:#ffffffb3;flex-shrink:0;font-size:12px;white-space:nowrap}.story-viewer-spacer{flex:1 1}.story-viewer-btn{align-items:center;background:#ffffff26;border:none;border-radius:50%;color:#fff;cursor:pointer;display:inline-flex;flex-shrink:0;font-size:16px;height:34px;justify-content:center;transition:background .15s ease;width:34px}.story-viewer-btn:hover{background:#ffffff4d}.story-viewer-content{align-items:center;display:flex;inset:0;justify-content:center;position:absolute}.story-viewer-img{height:100%;object-fit:contain;width:100%}.story-viewer-text{background:#00000073;bottom:0;color:#fff;font-family:Calibri,Segoe UI,sans-serif;font-size:16px;left:0;line-height:1.4;padding:14px 18px;position:absolute;right:0;text-align:left;word-break:break-word}.story-nav{background:none;border:none;bottom:0;cursor:pointer;position:absolute;top:0;width:50%;z-index:2}.story-nav-prev{left:0}.story-nav-next{right:0}.story-img-preview{display:inline-block;margin-top:8px;max-width:220px;position:relative}.story-img-preview img{border:1px solid #3c3c431f;border:1px solid var(--border);border-radius:14px;border-radius:var(--radius-md);display:block;max-height:180px;object-fit:cover;width:100%}.story-img-remove{align-items:center;background:#0000008c;border:none;border-radius:50%;color:#fff;cursor:pointer;display:inline-flex;font-size:15px;height:26px;justify-content:center;line-height:1;padding:0;position:absolute;right:6px;top:6px;transition:background .15s ease;width:26px}.story-img-remove:hover{background:#000000bf}@media (max-width:760px){.stories-strip{gap:10px;padding:8px 2px 10px}.story-circle{width:64px}.story-ring{height:54px;width:54px}.story-avatar{font-size:19px;height:48px;width:48px}.story-viewer-text{font-size:15px;padding:12px 16px}}@media (min-width:761px) and (pointer:fine){*{-ms-overflow-style:none;scrollbar-width:none}::-webkit-scrollbar{display:none;height:0;width:0}}
/*# sourceMappingURL=main.ef29a662.css.map*/