/* Communications Centre (Brevo directive, 14 November 2026). */
.mc-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 0 0 16px; padding: 16px 18px; border-radius: var(--rf-radius, 16px); border: 1px solid var(--rf-hairline); background: var(--rf-surface); }
.mc-strip > div { display: grid; gap: 4px; align-content: start; }
.mc-k { font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--rf-muted, #66737d); font-weight: 700; }
.mc-sub { font-size: 12px; color: var(--rf-muted, #66737d); }
.mc-compose { display: grid; gap: 16px; }
.mc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: end; }
.mc-wide { grid-column: 1 / -1; }
.mc-field { display: grid; gap: 6px; font-size: 13px; font-weight: 600; }
.mc-field input, .mc-field select, .mc-field textarea, .mc-details textarea { font: inherit; font-weight: 400; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--rf-hairline-strong); background: var(--rf-surface); color: var(--rf-text); width: 100%; box-sizing: border-box; }
.mc-roles, .mc-channels { border: 1px solid var(--rf-hairline); border-radius: 12px; padding: 10px 14px; margin: 0; }
.mc-roles legend, .mc-channels legend { font-size: 12px; font-weight: 700; padding: 0 6px; }
.mc-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 6px; }
.mc-check { display: flex; gap: 8px; align-items: center; font-size: 13px; text-transform: capitalize; }
.mc-inline, .mc-channels .mc-check { text-transform: none; }
.mc-channels { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.mc-people { display: grid; gap: 8px; }
.mc-results { display: flex; flex-wrap: wrap; gap: 6px; }
.mc-person { font: inherit; font-size: 13px; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--rf-hairline-strong); background: var(--rf-surface); color: var(--rf-text); cursor: pointer; }
.mc-person span { color: var(--rf-muted, #66737d); font-size: 12px; }
.mc-editor { border: 1px solid var(--rf-hairline-strong); border-radius: 12px; overflow: hidden; }
.mc-toolbar { display: flex; flex-wrap: wrap; gap: 4px; padding: 8px; border-bottom: 1px solid var(--rf-hairline); background: var(--rf-surface-2, rgba(5, 43, 71, .04)); align-items: center; }
.mc-toolbar button { font: inherit; font-size: 12.5px; min-width: 32px; padding: 5px 9px; border-radius: 8px; border: 1px solid transparent; background: transparent; color: var(--rf-text); cursor: pointer; }
.mc-toolbar button:hover { border-color: var(--rf-hairline-strong); background: var(--rf-surface); }
.mc-vars { margin-left: auto; display: flex; flex-wrap: wrap; gap: 4px; align-items: center; font-size: 12px; color: var(--rf-muted, #66737d); }
.mc-var { font-family: Consolas, 'Courier New', monospace !important; font-size: 11.5px !important; }
.mc-html { min-height: 220px; padding: 16px 18px; line-height: 1.65; outline: none; background: var(--rf-surface); color: var(--rf-text); }
.mc-html:focus { box-shadow: inset 0 0 0 2px rgba(18, 58, 99, .25); }
.mc-details summary { cursor: pointer; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.mc-wa { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; }
.mc-actions { flex-wrap: wrap; }
.mc-reach { margin: 0; }
.mc-table { display: grid; gap: 6px; }
.mc-row { font: inherit; display: grid; grid-template-columns: 130px minmax(0, 1fr) 120px 240px; gap: 12px; align-items: center; text-align: left; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--rf-hairline); background: var(--rf-surface); color: var(--rf-text); cursor: pointer; }
.mc-row:hover { border-color: var(--rf-hairline-strong); box-shadow: var(--rf-shadow-sm); }
.mc-ref { font-family: Consolas, 'Courier New', monospace; font-size: 12.5px; color: var(--rf-muted, #66737d); }
.mc-subject { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mc-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.mc-kpis > div { padding: 14px; border-radius: 12px; border: 1px solid var(--rf-hairline); display: grid; gap: 4px; }
.mc-kpis strong { font-size: 26px; font-family: var(--heading-font, inherit); }
.mc-kpis span { font-size: 12.5px; color: var(--rf-muted, #66737d); }
.mc-progress { height: 10px; border-radius: 999px; background: var(--rf-hairline); overflow: hidden; margin-bottom: 16px; }
.mc-progress-fill { display: block; height: 100%; background: linear-gradient(90deg, #0a2540, #d4a017); width: 0; }
.mc-progress-fill[data-pct="5"] { width: 5%; } .mc-progress-fill[data-pct="10"] { width: 10%; } .mc-progress-fill[data-pct="15"] { width: 15%; } .mc-progress-fill[data-pct="20"] { width: 20%; }
.mc-progress-fill[data-pct="25"] { width: 25%; } .mc-progress-fill[data-pct="30"] { width: 30%; } .mc-progress-fill[data-pct="35"] { width: 35%; } .mc-progress-fill[data-pct="40"] { width: 40%; }
.mc-progress-fill[data-pct="45"] { width: 45%; } .mc-progress-fill[data-pct="50"] { width: 50%; } .mc-progress-fill[data-pct="55"] { width: 55%; } .mc-progress-fill[data-pct="60"] { width: 60%; }
.mc-progress-fill[data-pct="65"] { width: 65%; } .mc-progress-fill[data-pct="70"] { width: 70%; } .mc-progress-fill[data-pct="75"] { width: 75%; } .mc-progress-fill[data-pct="80"] { width: 80%; }
.mc-progress-fill[data-pct="85"] { width: 85%; } .mc-progress-fill[data-pct="90"] { width: 90%; } .mc-progress-fill[data-pct="95"] { width: 95%; } .mc-progress-fill[data-pct="100"] { width: 100%; }
.mc-roles-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-bottom: 14px; }
.mc-roles-table th, .mc-roles-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--rf-hairline); text-transform: capitalize; }
.mc-roles-table th { font-size: 11.5px; letter-spacing: .8px; text-transform: uppercase; color: var(--rf-muted, #66737d); }
.mc-switch { display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap; padding: 16px; border-radius: 12px; background: var(--rf-surface-2, rgba(5, 43, 71, .04)); }
.mc-switch h4 { margin: 0 0 4px; }
.mc-switch-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.mc-warn { padding: 10px 12px; border-radius: 10px; background: #fff4e5; color: #7a4b00; font-size: 13px; }
.mc-preview-frame { width: 100%; height: 70vh; border: 1px solid var(--rf-hairline); border-radius: 12px; background: #eef2f7; }
.mc-pre { white-space: pre-wrap; font-size: 12.5px; max-height: 240px; overflow: auto; }
.mc-outcomes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 12px 0; }
.mc-outcomes ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.mc-outcomes li { display: flex; justify-content: space-between; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--rf-hairline); font-size: 13px; }
.mc-failed { font-size: 12.5px; max-height: 220px; overflow: auto; }
.mc-confirm { display: grid; gap: 12px; }
@media (max-width: 760px) {
  .mc-grid, .mc-wa, .mc-kpis { grid-template-columns: minmax(0, 1fr); }
  .mc-row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .mc-vars { margin-left: 0; }
}
/* "Send to email inboxes" */
.mc-sendbar { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; padding: 16px 18px; border-radius: 14px; background: linear-gradient(135deg, #0a2540, #123a63); color: #fff; }
.mc-sendbar > div { display: grid; gap: 4px; max-width: 640px; }
.mc-sendbar strong { font-size: 15px; }
.mc-sendbar span { font-size: 12.5px; color: #cfdbea; line-height: 1.5; }
.mc-send { min-height: 46px; padding: 11px 22px; font-size: 14px; }
.mc-big { font-size: 16px; margin: 0; }
.mc-facts { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 13px; color: var(--rf-muted, #66737d); }
