.og-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 768px) { .og-layout { grid-template-columns: 1fr; } }

.section-title { font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); margin: 0 0 1rem 0; }

.preview-tabs { display: flex; gap: 0.25rem; margin-bottom: 1rem; flex-wrap: wrap; }
.preview-tab {
  padding: 0.35rem 0.85rem; font-size: 0.8rem; font-weight: 600;
  border: 1px solid var(--border-color); border-radius: var(--radius-sm);
  background: var(--bg-secondary); color: var(--text-secondary); cursor: pointer;
  transition: all 0.15s;
}
.preview-tab.active { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.preview-panel { display: none; }
.preview-panel.active { display: block; }

/* Facebook card */
.fb-card { border: 1px solid #ddd; border-radius: 4px; overflow: hidden; background: #fff; max-width: 500px; font-family: Helvetica, Arial, sans-serif; }
.fb-image-wrap { background: #e4e6ea; height: 260px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.fb-image-wrap img { width: 100%; height: 260px; object-fit: cover; }
.fb-meta { padding: 10px 12px; border-top: 1px solid #ddd; background: #f2f3f5; }
.fb-site { font-size: 11px; color: #65676b; text-transform: uppercase; margin-bottom: 3px; }
.fb-title { font-size: 16px; font-weight: 600; color: #1c1e21; line-height: 1.3; margin-bottom: 4px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.fb-desc { font-size: 13px; color: #65676b; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* Twitter card */
.tw-card { border: 1px solid #e1e8ed; border-radius: 14px; overflow: hidden; background: #fff; max-width: 500px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.tw-image-wrap { background: #cfd9de; }
.tw-image-wrap.tw-large { height: 255px; }
.tw-image-wrap img { width: 100%; height: 255px; object-fit: cover; }
.tw-meta { padding: 10px 14px 12px; }
.tw-title { font-size: 14px; font-weight: 700; color: #0f1419; margin-bottom: 2px; }
.tw-desc { font-size: 13px; color: #536471; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.tw-site { font-size: 12px; color: #536471; margin-top: 4px; }

/* LinkedIn card */
.li-card { border: 1px solid #e0e0e0; border-radius: 2px; overflow: hidden; background: #fff; max-width: 500px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.li-image-wrap { background: #e9e9e9; height: 250px; overflow: hidden; }
.li-image-wrap img { width: 100%; height: 250px; object-fit: cover; }
.li-meta { padding: 10px 12px; }
.li-title { font-size: 14px; font-weight: 600; color: rgba(0,0,0,.9); margin-bottom: 3px; }
.li-site { font-size: 12px; color: rgba(0,0,0,.6); }

/* WhatsApp card */
.wa-card { background: #d1f0d0; border-radius: 8px; padding: 10px; max-width: 380px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; display: flex; gap: 10px; align-items: flex-start; }
.wa-card img { width: 90px; height: 70px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.wa-meta { flex: 1; min-width: 0; }
.wa-title { font-size: 14px; font-weight: 600; color: #111; margin-bottom: 2px; }
.wa-desc { font-size: 12px; color: #555; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.wa-url { font-size: 11px; color: #128c7e; margin-top: 3px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

.meta-textarea { font-family: monospace; font-size: 0.8rem; min-height: 160px; resize: vertical; }
