.dm-page{display:grid;grid-template-columns:320px minmax(0,1fr);gap:16px;height:calc(100vh - var(--ab-bar-h,0px) - var(--sale-h,0px) - 116px);height:calc(100dvh - var(--ab-bar-h,0px) - var(--sale-h,0px) - 116px);min-height:460px}.dm-side{display:flex;flex-direction:column;min-height:0;min-width:0;background:var(--card);border:1px solid var(--line);border-radius:var(--r);overflow:hidden}.dm-sidehead{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 12px 10px 18px}.dm-sidehead h1{font-size:19px;font-weight:800;letter-spacing:-.01em;line-height:1.2}.dm-sideacts{display:flex;gap:2px}.dm-ib{width:34px;height:34px;display:grid;place-items:center;flex:none;border-radius:8px;color:var(--muted);transition:background .15s,color .15s}.dm-ib:hover,.dm-ib:focus-visible,.dm-ib[aria-expanded="true"]{background:var(--card-3);color:var(--text);outline:0}.dm-ib .i{width:18px;height:18px}.dm-side .dm-find{min-width:0;width:auto;height:38px;margin:0 12px 6px}.dm-list{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;list-style:none;margin:0;padding:4px 8px 10px;display:grid;align-content:start;gap:2px;scrollbar-width:thin;scrollbar-color:var(--line-2) transparent}.dm-list::-webkit-scrollbar{width:10px}.dm-list::-webkit-scrollbar-thumb{background:var(--line-2);border-radius:8px;border:3px solid var(--card)}.dm-row{position:relative;display:grid;grid-template-columns:minmax(0,1fr);border-radius:8px;transition:background .15s;--ring:var(--card)}.dm-row:hover,.dm-row:focus-within{background:var(--card-2);--ring:var(--card-2)}.dm-row.on{background:var(--card-3);--ring:var(--card-3)}.dm-row.on::before{content:'';position:absolute;left:-8px;top:12px;bottom:12px;width:3px;border-radius:0 3px 3px 0;background:var(--blue)}.dm-open{display:grid;grid-template-columns:40px minmax(0,1fr);align-items:center;gap:12px;padding:9px 10px;border-radius:8px;min-width:0;outline:0}.dm-open:focus-visible{box-shadow:inset 0 0 0 2px var(--blue)}.dm-av{position:relative;display:block;width:40px;height:40px;flex:none}.dm-av .av{display:block;width:40px;height:40px;border-radius:50%;background:var(--card-3);object-fit:cover}.dm-av .dm-dot{--ring:inherit}.dm-txt{display:grid;gap:1px;min-width:0}.dm-l1,.dm-l2{display:flex;align-items:center;gap:6px;min-width:0}.dm-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14.5px;font-weight:700;color:var(--soft)}.dm-row.unread .dm-name,.dm-row.on .dm-name{color:var(--text);font-weight:800}.dm-l1 .cm-rank{flex:none;height:16px;font-size:10px;padding:0 5px}.dm-t{flex:none;margin-left:auto;padding-left:4px;font-size:11.5px;font-weight:600;color:var(--dim);white-space:nowrap;font-variant-numeric:tabular-nums}.dm-row.unread .dm-t{color:var(--soft)}.dm-last{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:500;color:var(--muted)}.dm-row.unread .dm-last{color:var(--soft);font-weight:600}.dm-count{flex:none;min-width:20px;height:20px;padding:0 6px;display:inline-grid;place-items:center;border-radius:999px;background:var(--red);color:#fff;font-size:11px;font-weight:800;font-variant-numeric:tabular-nums}.dm-x{position:absolute;top:7px;right:7px;width:26px;height:26px;display:grid;place-items:center;border-radius:7px;color:var(--muted);background:var(--card-3);opacity:0;pointer-events:none;transition:opacity .12s,color .12s,background .12s}.dm-x .i{width:14px;height:14px}.dm-row:hover .dm-x,.dm-row:focus-within .dm-x{opacity:1;pointer-events:auto}.dm-row:hover .dm-t,.dm-row:focus-within .dm-t{visibility:hidden}.dm-x:hover,.dm-x:focus-visible{color:var(--text);background:var(--line-2);outline:0}.dm-x .spin{width:12px;height:12px}@media (hover:none){.dm-row{grid-template-columns:minmax(0,1fr) 36px;align-items:center}.dm-x{position:static;opacity:1;pointer-events:auto;background:none;width:32px;height:32px}.dm-row:hover .dm-t,.dm-row:focus-within .dm-t{visibility:visible}}.dm-skrow{display:grid;grid-template-columns:40px minmax(0,1fr);align-items:center;gap:12px;padding:9px 10px}.dm-skrow .sk-line{margin:4px 0}.dm-note{list-style:none}.dm-note .card{border:0;background:none}.dm-empty-list{padding:36px 12px}.dm-main{display:flex;flex-direction:column;gap:12px;min-width:0;min-height:0}.dm-head{display:flex;align-items:center;gap:12px;min-height:60px;padding:9px 10px 9px 14px;background:var(--card);border:1px solid var(--line);border-radius:var(--r);--ring:var(--card)}.dm-who{display:grid;gap:1px;flex:1;min-width:0}.dm-who .dm-name{font-size:16px;font-weight:800;color:var(--text);outline:0;border-radius:4px}.dm-who .dm-name:focus-visible{box-shadow:0 0 0 2px var(--blue)}.dm-who small{font-size:12.5px;font-weight:600;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dm-who small.on{color:var(--green)}.dm-who .sk-line{margin:3px 0}.dm-back{display:none;width:34px;height:34px;place-items:center;margin-left:-6px;border-radius:8px;color:var(--muted);flex:none}.dm-back:hover,.dm-back:focus-visible{background:var(--card-3);color:var(--text);outline:0}.dm-back .i{width:20px;height:20px}.dm-dots{display:inline-flex;gap:3px}.dm-dots i{width:4px;height:4px;border-radius:50%;background:currentColor}.dm-menu{min-width:210px}.dm-menu .item .i{width:16px;height:16px;color:var(--muted)}.dm-menu .item.danger{color:#ffb0ae}.dm-menu .item.danger .i{color:currentColor}.dm-chat{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}.dm-chat .chat,.dm-chat .chat.ro{flex:1;height:auto;min-height:0;max-height:none}.dm-chat .chat.ro .cm-scroll{max-height:none}.dm-chat .cm-closed{margin-bottom:4px}.dm-chat .cm-row .att.img{max-width:min(400px,100%)}.dm-chat .cm-row .att.img img{max-width:100%}.dm-welcome{flex:1;display:grid;place-content:center;justify-items:center;gap:6px;padding:40px 20px;text-align:center}.dm-welcome .px{width:48px;height:48px;margin-bottom:10px}.dm-welcome h2{font-size:20px;font-weight:800;letter-spacing:-.01em}.dm-welcome p{color:var(--muted);font-weight:500}.dm-welcome .btn{margin-top:14px}.dm-search{min-width:0;margin-bottom:12px}.dm-picklabel{margin:2px 6px 6px;font-size:12px;font-weight:600;color:var(--dim)}.dm-picklabel:empty{display:none}.dm-pick{display:grid;align-content:start;gap:2px;min-height:120px;max-height:min(360px,48vh);overflow-y:auto;overscroll-behavior:contain}.dm-pickrow{display:flex;align-items:center;gap:12px;min-width:0;padding:8px 10px;border-radius:8px;cursor:pointer;transition:background .12s}.dm-pickrow.on{background:var(--card-3)}.dm-pickrow.sk-row{cursor:default}.dm-pickrow .av{width:32px;height:32px;border-radius:50%;flex:none;background:var(--card-3)}.dm-pickname{display:grid;flex:1;min-width:0}.dm-pickname b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700}.dm-pickname small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:600;color:var(--muted)}.dm-pickhas{flex:none;font-size:12px;font-weight:700;color:var(--dim)}.dm-picknote{padding:26px 10px;text-align:center;color:var(--muted);font-weight:500}.dm-set .seg{display:flex;width:100%}.dm-set .seg button{flex:1}.dm-set .field{margin-bottom:4px}.dm-rule{display:flex;align-items:center;gap:8px;margin-top:12px;padding:9px 12px;border-radius:8px;background:var(--bg-2);border:1px solid var(--line);color:var(--soft);font-size:13px;font-weight:600}.dm-rule .i{width:15px;height:15px;color:var(--muted);flex:none}.dm-sethead{margin:20px 0 8px;font-size:13px;font-weight:800;color:var(--soft)}.dm-blocked{display:grid;gap:6px;max-height:260px;overflow-y:auto}.dm-brow{display:flex;align-items:center;gap:12px;padding:8px 10px;border-radius:8px;background:var(--card-2)}.dm-brow .av{width:32px;height:32px;border-radius:50%;flex:none}.dm-bname{display:grid;flex:1;min-width:0}.dm-bname b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700}.dm-bname small{font-size:12px;font-weight:600;color:var(--muted)}.dm-none{font-size:13px}.dm-blocktext{line-height:1.5}.dm-repmsg{display:grid;gap:4px;margin:0 0 16px;padding:10px 12px;border-left:3px solid var(--line-2);border-radius:0 8px 8px 0;background:var(--bg-2)}.dm-repmsg b{font-weight:800;font-size:13px}.dm-repmsg p{color:var(--soft);overflow-wrap:anywhere}.dm-repmsg small{color:var(--muted);font-weight:600;font-size:12px}.dm-report .field small.hint{justify-self:end}@media (max-width:900px){.dm-page{grid-template-columns:minmax(0,1fr)}.dm-page.has-conv .dm-side{display:none}.dm-page:not(.has-conv) .dm-main{display:none}.dm-back{display:grid}}@media (max-width:760px){.dm-page{gap:10px;height:calc(100vh - var(--ab-bar-h,0px) - var(--sale-h,0px) - 154px);height:calc(100dvh - var(--ab-bar-h,0px) - var(--sale-h,0px) - 154px - env(safe-area-inset-bottom));min-height:340px}.dm-head{min-height:54px;padding:6px 8px 6px 10px;gap:10px}.dm-main{gap:10px}.dm-sidehead{padding:12px 10px 8px 14px}.dm-list{padding:2px 6px 8px}}