.instagram-publish-form { display: grid; grid-template-columns: minmax(0,1fr) minmax(240px,440px); gap: 32px; padding: 28px 0; max-width: 1100px; }
.publish-fields { display: flex; flex-direction: column; align-items: stretch; gap: 12px; min-width: 0; }
.publish-fields label { font-size: 14px; font-weight: 600; }
.publish-fields select { min-height: 44px; width: 100%; border: 1px solid #cbd3dd; border-radius: 6px; padding: 8px; background: white; font: inherit; }
.publish-fields [data-caption] { white-space: pre-wrap; overflow-wrap: anywhere; min-height: 80px; font-size: 15px; line-height: 1.5; }
.publish-preview { margin: 0; min-width: 0; align-self: start; }
.publish-preview img { width: 100%; max-height: 520px; object-fit: contain; background: #e9edf0; }
.publish-preview figcaption { font-size: 13px; color: #596772; padding-top: 8px; }
@media (max-width: 900px) { .instagram-publish-form { grid-template-columns: 1fr; } .publish-preview { max-width: 440px; } }

.post-composer { margin: 24px 0; padding: 24px; background: #fff; border: 1px solid #dfe3e8; border-radius: 12px; }
.post-composer form { display: grid; gap: 12px; }
.post-composer input, .post-composer textarea, .post-composer select { width: 100%; box-sizing: border-box; padding: 10px; border: 1px solid #cbd3dd; border-radius: 6px; font: inherit; }
.post-composer .publish-preview img { max-height: 300px; }
[data-history-list] article { padding: 16px 0; border-top: 1px solid #dfe3e8; overflow-wrap: anywhere; }
