/* Marketing por SMS — Odoo parity */
.sms-odo { display: flex; flex-direction: column; gap: 16px; min-height: 42vh; }
.sms-odo-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; padding-bottom: 8px; }
.sms-odo-toolbar__actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sms-odo-toolbar .btn-primary { background: var(--o-brand, #714B67) !important; border-color: var(--o-brand, #714B67) !important; }
.sms-odo-title { margin: 0; font-size: 1.1rem; font-weight: 650; color: var(--sfe-navy, #1e2b3c); }
.sms-odo-gear { opacity: 0.45; font-size: 0.85em; }
.sms-odo-search { flex: 1 1 240px; max-width: 480px; margin: 0 auto; }
.sms-odo-search input[type="search"] {
  width: 100%; min-height: 34px; border: 1px solid #ced4da; border-radius: 4px;
  padding: 0 12px 0 32px; font-size: 0.875rem;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='%236c757d' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85zm-5.242.656a5 5 0 1 1 0-10 5 5 0 0 1 0 10z'/%3E%3C/svg%3E") 10px center no-repeat;
}
.sms-odo-meta { display: flex; align-items: center; gap: 10px; margin-left: auto; font-size: 0.85rem; color: #6c757d; }
.sms-odo-views { display: inline-flex; border: 1px solid #dee2e6; border-radius: 4px; overflow: hidden; }
.sms-odo-view-btn { padding: 4px 8px; text-decoration: none; color: #495057; background: #fff; border-right: 1px solid #dee2e6; }
.sms-odo-view-btn:last-child { border-right: 0; }
.sms-odo-view-btn.is-active { background: #e7f1ff; color: #0d6efd; }
.sms-odo-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 64px 24px; text-align: center; color: #495057; }
.sms-odo-empty__art { width: 72px; height: 88px; border-radius: 8px; background: #e9ecef; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: #868e96; }
.sms-odo-kanban { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.sms-odo-card, .sms-odo-list-card { background: #fff; border: 1px solid #e9ecef; border-radius: 8px; padding: 12px 14px; box-shadow: 0 1px 2px rgba(15,23,42,.04); }
.sms-odo-list-card__swatch { width: 14px; height: 14px; border-radius: 50%; margin-bottom: 8px; }
.sms-odo-kpi { font-size: 1.4rem; font-weight: 700; }
.sms-odo-badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 0.75rem; background: #f1eef2; }
.sms-odo-badge.state-sent { background: #d1e7dd; color: #0f5132; }
.sms-odo-badge.state-draft { background: #e9ecef; }
.sms-odo-statusbar { display: flex; gap: 0; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.sms-odo-statusbar__step { padding: 6px 12px; border: 1px solid #dee2e6; background: #f8f9fa; font-size: 0.8rem; }
.sms-odo-statusbar__step.is-active { background: #714B67; color: #fff; border-color: #714B67; }
.sms-odo-statusbar__step.is-done { background: #e8dff0; }
.sms-odo-form-sheet { background: #fff; border: 1px solid #e9ecef; border-radius: 8px; padding: 16px 18px; }
.sms-odo-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.sms-odo-field input, .sms-odo-field select, .sms-odo-field textarea { min-height: 34px; border: 1px solid #ced4da; border-radius: 4px; padding: 6px 10px; }
.sms-odo-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 800px) { .sms-odo-field-row { grid-template-columns: 1fr; } }
.sms-odo-tabs { display: flex; gap: 4px; border-bottom: 1px solid #dee2e6; margin: 12px 0; }
.sms-odo-tab { border: 0; background: transparent; padding: 8px 12px; cursor: pointer; color: #6c757d; }
.sms-odo-tab.is-active { color: #714B67; border-bottom: 2px solid #714B67; font-weight: 600; }
.sms-odo-tab-panel[hidden] { display: none !important; }
.sms-odo-field-tools { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.sms-odo-form-actions { display: flex; gap: 8px; margin-top: 12px; }
.sms-odo-chatter { border-top: 1px solid #e9ecef; padding-top: 12px; margin-top: 16px; }
.sms-odo-chatter__tabs { display: flex; gap: 12px; margin-bottom: 8px; font-size: 0.9rem; }
.sms-odo-chatter__tabs .is-active { font-weight: 650; color: #714B67; }
.sms-odo-modal { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; }
.sms-odo-modal[hidden] { display: none !important; }
.sms-odo-modal__backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, 0.45); }
.sms-odo-modal__panel { position: relative; z-index: 1; background: #fff; border-radius: 8px; width: min(480px, 92vw); padding: 20px 22px; box-shadow: 0 16px 48px rgba(0,0,0,.18); }
.sms-odo-modal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.sms-odo-modal__head h3 { margin: 0; font-size: 1.15rem; }
.sms-odo-modal__close { border: 0; background: transparent; font-size: 1.4rem; cursor: pointer; line-height: 1; }
.sms-odo-pills { display: flex; gap: 6px; }
.sms-odo-pill { display: inline-flex; padding: 2px 10px; border-radius: 999px; background: #f1eef2; color: #5a3d55; font-size: 0.8rem; }
.sms-odo-pill.is-active { background: #e8dff0; font-weight: 600; }
.sms-odo-check { display: flex; align-items: center; gap: 8px; margin: 8px 0; }
.sms-odo-field-inline { flex-direction: row; align-items: center; justify-content: space-between; }
