.aq-owner{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.aq-contacts{display:inline-flex;align-items:center;gap:8px;max-width:100%}
.aq-contacts .aq-contact{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:36px;min-height:36px;padding:0 10px;text-decoration:none;white-space:nowrap;font-size:13px}
.aq-contact svg,.aq-preset-edit svg{width:20px;height:20px;flex:none}
.work-task-links.aq-inside-links{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.work-task-links.aq-inside-links>.btn{height:36px;padding:0 10px;font-size:12px}
.aq-contacts .aq-contact--icon{width:36px;padding:0;flex:none}
.aq-preset-control{display:flex;align-items:center;gap:8px}
.dlg__box:has([data-birthday-status]) .dlg__foot{display:none}
.dlg__body .birthday-task-actions{margin-bottom:0;padding-bottom:0;border-bottom:0}
.dlg:has(#workTaskResult){align-items:center;padding:24px 16px}
.dlg__box:has(#workTaskResult){display:flex;flex-direction:column;max-height:calc(100dvh - 48px);overflow:hidden}
.dlg__box:has(#workTaskResult) .dlg__head,.dlg__box:has(#workTaskResult) .dlg__foot{flex:none}
.dlg__box:has(#workTaskResult) .dlg__body{min-height:0;overflow:auto}
.dlg__box:has(#workTaskResult) .dlg__foot{flex-wrap:wrap;gap:6px}
.dlg__box:has(#workTaskResult) [data-dlg=ok]{width:100%;height:auto;min-height:36px;padding:8px 12px;white-space:normal;line-height:1.4}
.dlg__box:has(#workTaskResult) #dlgMsg:empty{display:none}
@media(max-width:480px){.birthday-task-actions .btn{width:100%;min-height:40px}}
.aq-preset-control .aq-preset-edit{width:32px;height:32px;min-height:32px;padding:5px}
.aq-preset-default{display:flex;align-items:center;gap:8px;margin-top:16px}
.aq-date-presets{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}
.aq-date-presets .btn[aria-pressed=true]{background:var(--text);color:var(--bg)}
.aq-title .tag{font-size:11px;font-weight:500;margin-left:5px;white-space:nowrap}
.aq-callback{background:var(--chip-amber-bg,var(--raise));color:var(--chip-amber-tx,var(--text))}
.aq-renewal{background:var(--chip-blue-bg);color:var(--chip-blue-tx)}
.aq-group[data-aq-group=callback]>summary{color:var(--chip-red-tx)}
@media(max-width:767px){
 .work-task-links.aq-inside-links>.btn{height:44px;min-height:44px}
 .aq-contacts .aq-contact{height:44px;min-height:44px}
 .aq-contacts .aq-contact--icon{width:44px}
 .task-card.aq-row>.aq-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;gap:8px;justify-self:stretch}
 .task-card.aq-row>.aq-actions .btn{width:100%;min-width:0;min-height:44px;padding:0 5px;font-size:12px}
 .aq-filter-toolbar .filter-field{flex:1;min-width:160px}
 .aq-filter-toolbar .crm-filter-trigger{width:100%}
 .aq-preset-control{flex:1;min-width:220px}
 .aq-preset-control .crm-filter-trigger{flex:1}
 .aq-preset-control .aq-preset-edit{width:44px;height:44px;min-height:44px;flex:none}
 .aq-filter-toolbar .aq-save-filter .muted{display:none}
}
