:is(body,#didar-runtime):has(.redesign-chat)>header,:is(body,#didar-runtime):has(.redesign-chat)>.shell>aside,:is(body,#didar-runtime):has(.redesign-chat)>footer{display:none}body:has(.redesign-chat){background:#faf9f5}:is(body,#didar-runtime):has(.redesign-chat)>.shell{display:block;padding:0;max-width:1100px;margin:auto}body:has(.redesign-chat) #app{padding:0}
@scope (.redesign-chat){#didar-account :where(header,nav,main,aside,section,div,span,h1,h2,h3,p,small,strong,button):where(:not(.legacy-profile):not(.legacy-profile *)){all:revert;box-sizing:border-box}#didar-account{line-height:normal}#didar-account button{cursor:pointer}#didar-account aside{min-height:0}

#didar-account{--green:#246b50;background:#faf9f5;color:#293f34;font-family:Vazirmatn,Tahoma,sans-serif;position:relative;border-radius:22px;overflow:hidden;min-height:680px}#didar-account *{box-sizing:border-box}#didar-account [hidden]{display:none!important}#didar-account button,#didar-account input{font:inherit}#didar-account button{border:0;display:inline-flex;align-items:center;justify-content:center;gap:9px;color:inherit}#didar-account button:focus-visible,#didar-account input:focus-visible{outline:3px solid #c18a59;outline-offset:3px}#didar-account svg{width:20px;height:20px;stroke-width:1.7;flex-shrink:0}#didar-account header{background:#fff;border-bottom:1px solid #e8ebe2;display:flex;align-items:center;gap:25px;padding:20px 32px}#didar-account .brand{font-size:30px;color:var(--green)}#didar-account .brand span{font-size:9px;color:#c3845c;margin-right:4px}#didar-account nav{display:flex;gap:7px;margin:auto}#didar-account nav button,#didar-account .filters button{background:transparent;border-radius:12px;padding:12px 17px;font-size:13px;color:#71806f}#didar-account nav .active,#didar-account .filters .active{background:#eaf0e7;color:var(--green)}#didar-account .preview{font-size:11px;color:#899180}#didar-account main{padding:32px 40px}#didar-account .heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:26px}#didar-account small{font-size:12px;color:#798371}#didar-account h1{font-size:29px;margin:7px 0 0}#didar-account h2{font-size:18px;margin:0 0 9px}#didar-account p{font-size:13px;line-height:1.9;color:#73816e}#didar-account .outline{padding:12px 15px;border:1px solid #e2e6dc;background:white;border-radius:13px;font-size:12px;min-height:44px}#didar-account .profile-grid{display:grid;grid-template-columns:280px minmax(0,1fr);gap:26px}#didar-account .identity{padding:29px 24px;background:white;border:1px solid #e6e9df;border-radius:25px;text-align:center;align-self:start}#didar-account .avatar{width:91px;height:91px;border-radius:30px;background:#e7eddf;display:grid;place-items:center;color:#61816b;margin:0 auto 17px}#didar-account .avatar svg{width:38px;height:38px}#didar-account .handle{font-size:12px;color:#81907a}#didar-account .identity p{display:flex;align-items:center;justify-content:center;gap:5px}#didar-account .identity p svg{width:14px;height:14px}#didar-account .divider{height:1px;background:#eceee5;margin:21px 0}#didar-account .green{background:var(--green);color:#fff;padding:13px 18px;border-radius:14px;min-height:46px;font-size:13px}#didar-account .identity .green{width:100%;margin-top:10px}#didar-account .interests{padding:24px;background:#f1ede3;border-radius:25px}#didar-account .section-icon{color:#ae8058;display:block;margin-bottom:12px}#didar-account .chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:19px}#didar-account .chips span{display:flex;align-items:center;gap:7px;background:#fffaf1;padding:10px 13px;border-radius:12px;font-size:12px;color:#856e4c}#didar-account .chips svg{width:17px;height:17px}#didar-account .shortcuts{margin-top:28px}#didar-account .row{display:flex;width:100%;text-align:right;background:transparent;padding:18px 2px;border-bottom:1px solid #e7eadd;gap:13px}#didar-account .row span{flex:1}#didar-account .row b{display:block;font-size:13px;font-weight:600}#didar-account .row small{display:block;margin-top:5px;font-size:11px}#didar-account .row>svg{color:#85917c}#didar-account footer{text-align:center;font-size:11px;color:#838d7b;padding:10px 25px 25px;line-height:1.9}#didar-account .chat-shell{display:grid;grid-template-columns:285px minmax(0,1fr);background:white;border:1px solid #e5e9de;border-radius:24px;overflow:hidden}#didar-account .chat-list{padding:18px;border-left:1px solid #e9ece3}#didar-account .search{display:flex;align-items:center;gap:9px;padding:12px;background:#f2f4ed;border-radius:13px}#didar-account input{border:0;background:transparent;min-width:0;width:100%;color:#3c5741;font-size:14px}#didar-account .search svg{color:#879580;width:17px;height:17px}#didar-account .filters{display:flex;gap:5px;margin:18px 0}#didar-account .filters button{font-size:12px;padding:9px 12px;flex:1}#didar-account .conversation{display:flex;width:100%;padding:13px 8px;border-radius:14px;background:#f0f4eb;text-align:right;gap:9px}#didar-account .conversation>span:nth-child(2){min-width:0;flex:1}#didar-account .conversation b{font-size:12px;display:block}#didar-account .conversation small{display:block;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:6px}#didar-account .conversation time{font-size:10px;color:#909984}#didar-account .chat-avatar{width:37px;height:37px;flex-shrink:0;border-radius:12px;background:#eadfc9;color:#94754e;display:grid;place-items:center}#didar-account .chat-heading{display:flex;align-items:center;gap:11px;padding:19px;border-bottom:1px solid #e8ece1}#didar-account .chat-heading h2{font-size:15px;margin:0 0 3px}#didar-account .chat-heading small{font-size:11px}#didar-account .messages{padding:22px;min-height:268px;display:flex;flex-direction:column;gap:14px;background:#fcfcf8}#didar-account .bubble{max-width:85%;align-self:flex-start;background:#f0eee6;padding:12px 15px;border-radius:16px 4px 16px 16px;font-size:13px;line-height:1.9}#didar-account .bubble b{display:block;color:#947b55;font-size:11px;font-weight:500}#didar-account .bubble.mine{align-self:flex-end;background:#e6efdf;border-radius:4px 16px 16px 16px}#didar-account .composer{display:flex;gap:10px;padding:15px;background:white;border-top:1px solid #edf0e5}#didar-account .composer input{padding:10px 12px;background:#f4f5ef;border-radius:13px}#didar-account .composer button{width:44px;flex-shrink:0;padding:10px}#didar-account .overlay{position:absolute;inset:0;z-index:5;background:#203b3455;display:flex;align-items:center;justify-content:center;padding:25px}#didar-account .modal{width:100%;max-width:420px;background:#faf9f5;padding:25px;border-radius:25px}#didar-account .close{display:flex;margin-right:auto;width:42px;height:42px;border-radius:50%;background:white;margin-bottom:15px}#didar-account .modal label{display:block;font-size:12px;margin:20px 0}#didar-account .modal input{display:block;background:white;border:1px solid #dde4d5;border-radius:12px;padding:13px;margin-top:8px}#didar-account .modal .green{width:100%}#didar-account .no-match{font-size:12px}
@media(max-width:760px){#didar-account{max-width:410px;margin:auto}#didar-account header{padding:16px 20px;gap:12px;flex-wrap:wrap}#didar-account .preview{margin-right:auto}#didar-account nav{order:3;width:100%;justify-content:center;margin-top:7px}#didar-account nav button{flex:1}#didar-account main{padding:25px 20px}#didar-account h1{font-size:26px}#didar-account .profile-grid{grid-template-columns:1fr;gap:20px}#didar-account .identity{padding:24px}#didar-account .avatar{width:76px;height:76px;border-radius:25px}#didar-account .identity .bio{margin:15px auto;max-width:240px}#didar-account .chat-shell{grid-template-columns:1fr}#didar-account .chat-list{border-left:0;border-bottom:1px solid #e5eadd}#didar-account .messages{min-height:225px;padding:17px}#didar-account .bubble{font-size:12px}#didar-account .overlay{align-items:flex-start;padding:115px 14px 20px}#didar-account input{font-size:16px}}

#didar-account .avatar img{width:100%;height:100%;object-fit:cover;border-radius:inherit}#didar-account .profile-editor{width:calc(100% - 24px);max-width:950px;max-height:90dvh;padding:22px;background:#faf9f5;border:1px solid #e0e6d8;border-radius:25px;color:#293f34}#didar-account .profile-editor::backdrop{background:#203c3455}#didar-account .profile-editor>.editor-back{display:flex;position:sticky;top:0;margin:0 0 18px auto;z-index:2;background:#246b50;color:white;border-radius:12px;padding:12px 18px}#didar-account .legacy-profile .profile-layout{display:block}#didar-account .legacy-profile .summary{position:static;margin-top:20px}#didar-account .legacy-profile input:not([type=checkbox]),#didar-account .legacy-profile select,#didar-account .legacy-profile textarea{border:1px solid #dfe6d8;background:white;border-radius:12px;padding:12px;font-size:16px}#didar-account .legacy-profile input[type=checkbox]{width:18px;min-width:18px}#didar-account .legacy-profile .submit{background:#246b50;color:white;border-radius:13px}#didar-account .legacy-profile button{min-height:44px}#didar-account .legacy-profile .panel{background:white;border:1px solid #e2e7db;border-radius:20px}#didar-account .legacy-profile .profile-shortcuts{position:static;display:flex;flex-wrap:wrap}#didar-account .legacy-profile nav button{background:#eaf0e7}
}
@scope (.redesign-chat){#didar-account .conversation{margin-bottom:8px;background:transparent}#didar-account .conversation.selected{background:#f0f4eb}#didar-account .chat-actions{display:flex;flex-wrap:wrap;gap:8px;padding:12px 18px}#didar-account .chat-actions button,#didar-account .bubble button{background:transparent;border:1px solid #e2e6dc;border-radius:10px;padding:8px;font-size:11px;min-height:36px}#didar-account .bubble{margin:0;width:auto;overflow-wrap:anywhere}#didar-account .bubble p{margin:6px 0;color:#293f34}#didar-account .messages{max-height:55dvh;overflow:auto}#didar-account .composer button{width:auto;min-width:70px}#didar-account .chat-empty{padding:26px;min-height:260px}#didar-account .chat-empty .panel{padding:0;border:0;box-shadow:none;background:transparent}#didar-account .chat-empty a{color:#246b50}#didar-account .conversation small{white-space:normal}#didar-account .chat-actions [role=alert]:empty{display:none}#didar-account .chat-list{min-width:0}#didar-account .chat-room{min-width:0}#didar-account .search input{padding:0;box-shadow:none}#didar-account .composer input{height:auto}}
@scope (.redesign-chat){#didar-account .chat-meeting-summary{padding:16px 20px;background:#f0f4eb;border-bottom:1px solid #dce5d8;color:#293f34}#didar-account .chat-meeting-summary strong{font-size:16px}#didar-account .chat-meeting-summary p{font-size:14px;line-height:1.8;margin:6px 0;overflow-wrap:anywhere}#didar-account .chat-meeting-summary button{border:1px solid #c9d8c5;border-radius:12px;background:white;color:#246b50;padding:10px 14px;min-height:44px;font:inherit}}
