/* Inherits the existing CRM font, palette, buttons and panels from app.css. */
.hm-workspace{max-width:1440px;margin:0 auto}.hm-operation{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}.hm-operation>div{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.hm-operation .muted{font-size:13px}.hm-badge{display:inline-block;white-space:nowrap;padding:4px 10px;border-radius:4px;font-size:12px;line-height:1.5;font-weight:500;background:var(--panel);color:var(--muted)}.hm-active,.hm-delivered{background:#e6f2e9;color:#276641}.hm-queued,.hm-accepted,.hm-sending{background:var(--brand-soft);color:var(--brand-dark)}.hm-pending,.hm-retry{background:#fff2db;color:#86591b}.hm-failed,.hm-unknown,.hm-blocked{background:#faeaea;color:#933c36}.hm-public-link{font-size:13px;text-decoration:none;padding:10px 0}.hm-public-link:hover{text-decoration:underline}.hm-table-tools{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px;flex-wrap:wrap}.hm-table-tools .ptabs{margin:0}.hm-table-tools .tools{flex-wrap:wrap}.hm-table-tools select{max-width:230px}.hm-table{table-layout:auto!important;min-width:650px}.hm-table th{font-weight:500;color:var(--muted);font-size:12px}.hm-table td{vertical-align:middle}.hm-table a{font-weight:500;text-underline-offset:3px}.hm-action{text-align:right!important}.hm-error-detail{max-width:280px;font-size:12px;color:var(--muted)}.hm-empty{padding:44px 16px;text-align:center}.hm-empty h3{font-size:17px;margin-bottom:8px}.hm-empty p{color:var(--muted);max-width:480px;margin:0 auto;font-size:13px}.hm-records .help{margin-top:8px;font-size:11px}.hm-settings{margin-top:24px}.hm-settings summary{display:flex;gap:20px;align-items:center;cursor:pointer;font-weight:500;list-style:none}.hm-settings summary:before{content:'\203A';font-size:21px;line-height:1;transition:transform .15s}.hm-settings[open] summary:before{transform:rotate(90deg)}.hm-settings summary .muted{margin-left:auto;font-size:12px;font-weight:400}.hm-settings-body{display:grid;grid-template-columns:1fr 1fr;gap:36px;border-top:1px solid var(--line);padding-top:24px;margin-top:20px}.hm-settings form{display:grid;gap:20px;align-content:start}.hm-settings form button{justify-self:start}.hm-settings code{display:block;font-size:12px;overflow-wrap:anywhere;margin:12px 0;padding:12px;background:var(--panel)}.hm-settings-body p{font-size:13px;color:var(--muted);margin-top:12px}.hm-settings .switch{color:var(--ink)}#hm-feedback{margin-top:18px;color:var(--brand-dark)}.hm-settings summary:focus-visible{outline:2px solid var(--brand);outline-offset:6px}@media(max-width:900px){.hm-settings-body{grid-template-columns:1fr}.hm-operation{align-items:flex-start}.hm-operation>div{gap:8px}}@media(max-width:700px){.hm-table-tools,.hm-table-tools .tools{width:100%}.hm-table-tools .tools{display:grid;grid-template-columns:1fr 1fr;gap:8px}.hm-table-tools .search,.hm-table-tools select{max-width:none;width:100%}.hm-operation{flex-direction:column;gap:12px}.hm-operation>div{display:grid}.hm-operation button{width:100%}.hm-settings summary{gap:10px}.hm-settings summary .muted{max-width:120px;text-align:right}.hm-workspace .stats{grid-template-columns:repeat(3,minmax(0,1fr))}.hm-workspace .stat b{font-size:30px}}

@media(max-width:700px){.hm-workspace .stat{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:12px}.hm-workspace .stat span{font-size:12px}.hm-workspace .stat b{margin:0}}
