.otts-wrap { max-width: 1200px; }

.otts-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 16px 0 32px; }
.otts-card { background: #fff; border: 1px solid #dcdcde; border-radius: 6px; padding: 16px; }
.otts-card-label { font-size: 12px; text-transform: uppercase; color: #646970; letter-spacing: 0.5px; }
.otts-card-value { font-size: 28px; font-weight: 600; margin: 6px 0 2px; color: #1d2327; }
.otts-card-sub { font-size: 12px; color: #646970; }

.otts-status { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 11px; text-transform: uppercase; background: #f0f0f1; color: #1d2327; }
.otts-status-draft { background: #f0f0f1; }
.otts-status-sent { background: #d1f0d1; color: #2a5a2a; }
.otts-status-scheduled { background: #fff3cd; color: #856404; }
.otts-status-active { background: #d1f0d1; color: #2a5a2a; }
.otts-status-unsubscribed { background: #f8d7da; color: #842029; }
.otts-status-bounced { background: #f8d7da; color: #842029; }

.otts-edit-layout { display: grid; grid-template-columns: minmax(0, 2fr) 320px; gap: 24px; margin-top: 16px; }
.otts-edit-main { background: #fff; padding: 20px; border: 1px solid #dcdcde; border-radius: 6px; }
.otts-edit-sidebar { display: flex; flex-direction: column; gap: 16px; }
.otts-panel { background: #fff; padding: 16px; border: 1px solid #dcdcde; border-radius: 6px; }
.otts-panel h3 { margin: 0 0 10px; }
.otts-editor-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.otts-subject-alts { margin: 8px 0 0; padding: 0; list-style: none; }
.otts-subject-alts li { padding: 6px 8px; background: #f6f7f7; border: 1px solid #dcdcde; border-radius: 4px; margin-bottom: 4px; cursor: pointer; font-size: 13px; }
.otts-subject-alts li:hover { background: #e6f0fb; }
.otts-inline-result { margin-top: 8px; font-size: 13px; color: #1d2327; }
.otts-preview { margin-top: 12px; padding: 16px; border: 1px solid #dcdcde; border-radius: 4px; background: #fafafa; max-height: 400px; overflow: auto; }

.otts-audit-result { margin-top: 12px; font-size: 13px; }
.otts-audit-summary { padding: 8px 12px; border-radius: 4px; margin-bottom: 10px; }
.otts-audit-summary.pass { background: #d1f0d1; color: #2a5a2a; }
.otts-audit-summary.warn { background: #fff3cd; color: #7c5a00; }
.otts-audit-summary.fail { background: #f8d7da; color: #842029; }
.otts-audit-list { margin: 0; padding: 0; list-style: none; }
.otts-audit-list li { padding: 6px 0; border-bottom: 1px solid #f0f0f1; display: flex; gap: 8px; align-items: flex-start; }
.otts-audit-list li:last-child { border-bottom: 0; }
.otts-audit-pill { flex-shrink: 0; display: inline-block; padding: 1px 6px; border-radius: 9px; font-size: 10px; text-transform: uppercase; font-weight: 700; }
.otts-audit-pass .otts-audit-pill { background: #d1f0d1; color: #2a5a2a; }
.otts-audit-warn .otts-audit-pill { background: #fff3cd; color: #7c5a00; }
.otts-audit-fail .otts-audit-pill { background: #f8d7da; color: #842029; }
.otts-audit-error { color: #842029; }

.otts-forms-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.otts-form-preview { background: #f6f7f7; padding: 24px; border-radius: 6px; }

@media (max-width: 900px) {
	.otts-edit-layout, .otts-forms-layout { grid-template-columns: 1fr; }
}