/* Macro Engine · "⚡ Thao tác nhanh" */
.mc19-btn{white-space:nowrap}
.mc19-pop{position:fixed;z-index:10040;width:min(420px,calc(100vw - 16px));max-height:min(70vh,560px);overflow:auto;background:var(--panel,#fff);color:#0f172a;border:1px solid #e2e8f0;border-radius:14px;box-shadow:0 16px 40px rgba(15,23,42,.2);padding:10px}
.mc19-pop.hidden{display:none}
.mc19-head{display:flex;flex-direction:column;gap:2px;padding:4px 6px 8px;border-bottom:1px solid #eef1f5;margin-bottom:6px}
.mc19-head b{font-size:14.5px}.mc19-head small{color:#64748b;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mc19-list{display:flex;flex-direction:column;gap:4px}
.mc19-item{display:flex;flex-direction:column;gap:2px;text-align:left;border:1px solid #e2e8f0;background:#fff;color:inherit;border-radius:10px;padding:8px 10px;cursor:pointer;font:inherit}
.mc19-item:hover{border-color:#0068ff;background:#f5f9ff}
.mc19-item b{font-size:13.5px}.mc19-item small{color:#475569;font-size:12px}.mc19-item i{font-style:normal;font-size:11.5px;color:#94a3b8}
.mc19-steps{margin:4px 0 8px;padding-left:22px;font-size:13px;display:flex;flex-direction:column;gap:4px}
.mc19-steps li.ok::marker{color:#16a34a}.mc19-steps li.skip{color:#94a3b8}.mc19-steps li.bad{color:#b91c1c}
.mc19-steps li small{display:block;font-size:11.5px;color:#64748b}.mc19-steps li.bad small{color:#b91c1c}
.mc19-foot{display:flex;justify-content:flex-end;gap:6px;padding-top:8px;border-top:1px solid #eef1f5;margin-top:6px}
.mc19-muted{color:#64748b;font-size:13px;margin:6px}.mc19-err{color:#b91c1c;font-size:12.5px;margin:4px 6px}
.mc19-switch{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:500;margin:0;white-space:nowrap;align-self:flex-start}.mc19-switch input{margin:0;width:auto}
.mc19-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 8px;border:1px solid #e2e8f0;border-radius:10px}
.mc19-row.off{opacity:.55}.mc19-row>div{display:flex;flex-direction:column;min-width:0}.mc19-row small{color:#64748b;font-size:11.5px}.mc19-row>span{display:flex;gap:4px;flex:none}.mc19-row em{font-size:11.5px;color:#94a3b8}
.mc19-form{display:flex;flex-direction:column;gap:8px}
.mc19-form label{display:flex;flex-direction:column;gap:3px;font-size:12px;font-weight:600;color:#64748b;margin:0}
.mc19-form input,.mc19-form select{font:inherit;font-size:13.5px;border:1px solid #e2e8f0;border-radius:8px;padding:6px 8px;background:#fff;color:#0f172a}
.mc19-acts{display:flex;flex-direction:column;gap:4px}
.mc19-act{display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:center;font-size:13px;border:1px solid #e2e8f0;border-radius:8px;padding:5px 8px}
.mc19-act span{color:#475569;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mc19-act button{border:0;background:transparent;font-size:16px;color:#94a3b8;cursor:pointer}
.mc19-add{display:grid;grid-template-columns:auto 1fr auto;gap:6px;align-items:start}
.mc19-add select,.mc19-add input{font:inherit;font-size:13px;border:1px solid #e2e8f0;border-radius:8px;padding:5px 8px;width:100%;background:#fff}
.danger{color:#b91c1c}
html[data-zsc-scheme="dark"] .mc19-pop{background:#0f172a;color:#e2e8f0;border-color:#263246}
html[data-zsc-scheme="dark"] .mc19-item,html[data-zsc-scheme="dark"] .mc19-row,html[data-zsc-scheme="dark"] .mc19-act,html[data-zsc-scheme="dark"] .mc19-form input,html[data-zsc-scheme="dark"] .mc19-form select,html[data-zsc-scheme="dark"] .mc19-add select,html[data-zsc-scheme="dark"] .mc19-add input{background:#111a2b;border-color:#334155;color:#e2e8f0}
html[data-zsc-scheme="dark"] .mc19-item:hover{background:#172a4a}
@media(max-width:760px){.mc19-pop{left:8px!important;right:8px;width:auto}}

/* 20/10/2026 · drawn icon; a square icon button inside the group toolbar (tooltip carries the name) */
.mc19-btn{display:inline-flex;align-items:center;gap:6px}
.mc19-ico{width:16px;height:16px;flex:none;color:#d97706}
.unified-group-chat .zgs-embedded-tools>#mc19Btn{width:34px;min-width:34px;height:34px;padding:0}
.unified-group-chat .zgs-embedded-tools>#mc19Btn .zgs-action-label{display:none}
.unified-group-chat .zgs-embedded-tools>#mc19Btn:hover .mc19-ico{color:#b45309}
html[data-zsc-scheme="dark"] .mc19-ico{color:#fbbf24}
