#desktopAppSearch{border:2px solid #72b7f4;background:#154571;color:white;font-weight:800}
#mobileAppTools{display:none}
.app-search-dialog{box-sizing:border-box;width:min(850px,94vw);max-height:90dvh;padding:20px;border:0;border-radius:16px;color:#17334c;background:white;overflow:auto}
.app-search-dialog::backdrop{background:#10283b80}
.app-search-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:10px;position:sticky;top:-20px;background:white;padding:10px 0;z-index:1}
.app-search-dialog h2{margin:0}.app-search-dialog p{line-height:1.6}.app-search-dialog small{color:#546879}
#appSearchForm{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin:14px 0}
#appSearchForm label{flex:1;min-width:180px;display:flex;flex-direction:column;gap:6px}
.app-search-dialog input,.app-search-dialog select{width:100%;box-sizing:border-box;font-size:16px;padding:10px;border:1px solid #b6c8d8;border-radius:8px}
.app-search-dialog button{min-height:42px;cursor:pointer}
.app-search-result{display:flex;flex-direction:column;gap:8px;text-align:left;width:100%;margin:8px 0;padding:14px;border:1px solid #cddbea;border-radius:10px;background:#f6faff;overflow-wrap:anywhere;color:#17334c}
.app-search-project-context{display:block;padding:7px 9px;border-left:4px solid #2174bf;border-radius:5px;background:#e8f2fc;color:#173f67;font-size:.84rem;font-style:normal;font-weight:700;line-height:1.45}
.app-search-result span{white-space:pre-wrap;font-weight:normal;line-height:1.6}.app-search-result>b{color:#1765a3;align-self:end}
.mention-setting-row{display:grid;grid-template-columns:1fr 120px 160px;gap:10px;align-items:center;margin:10px 0}
.comm-history-pages .chat-utility-actions{display:flex;gap:6px;justify-content:center}
#communicationThread.comm-expanded .comm-history-pages .chat-utility-actions{display:flex}
.comm-history-pages .chat-utility-actions button{color:#155185;font-weight:700;padding:5px 8px;min-height:32px}
@media screen and (max-width:900px){
  #mobileAppTools{display:flex;gap:8px;padding:7px 12px;background:#eef5fc;flex:0 0 auto}
  #mobileAppTools button{border:1px solid #bbd3e9;background:white;color:#174e7d;border-radius:8px;padding:9px 14px;font-weight:700}
  #mobileAppSearch{flex:1}
  body:has(#communicationsPage:not(.hidden).comm-mobile-chat-open) #mobileAppTools{display:none}
  .app-search-dialog{padding:14px;width:96vw;max-height:92dvh}.app-search-dialog>header{top:-14px}
  .mention-setting-row{grid-template-columns:1fr 1fr}.mention-setting-row>b{grid-column:1/-1}
  #appSearchForm{gap:8px}#appSearchForm label{min-width:100%}
  .comm-history-pages .chat-utility-actions{font-size:12px;display:flex!important}
}
