/* Social composer: scoped to the property editor and its full preview. */
html body .publication-card-modal{background:#f7f9fd!important;max-height:94dvh!important;width:min(1180px,calc(100vw - 28px))!important;max-width:1180px!important;color:#27364c}
html body .publication-card-modal>header,html body .publication-card-modal>footer{background:white;padding:12px 20px!important}
html body .publication-card-modal .publication-modal-flow{padding:18px!important}
html body .publication-card-modal .publication-content-workspace.social-workspace,html body .publication-card-modal .property-instagram .ig-layout{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(290px,36%)!important;gap:20px!important;align-items:start!important}
html body .publication-card-modal .social-work-column,html body .publication-card-modal .ig-editor-pane{min-width:0;display:flex;flex-direction:column;gap:14px}
.social-composer,.social-comment-editor{border:1px solid #e3e9f2;border-radius:16px;background:white;box-shadow:0 3px 12px #243c6608;overflow:visible;min-width:0}
.social-composer-header{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:12px 14px;border-bottom:1px solid #f0f3f7}
.social-composer-header>strong{font-size:13px;white-space:nowrap;color:#29384f}
.social-writing-modes{display:flex;gap:6px;align-items:center}
.social-writing-modes button{display:inline-flex;align-items:center;gap:4px;border:1px solid #e2e8f1;border-radius:18px;background:#fff;padding:5px 9px;font-family:inherit;font-size:12px;color:#607088;cursor:pointer;min-height:29px}
.social-writing-modes button.selected{color:#225dea;background:#edf3ff;border-color:#adcbff}
.social-writing-modes button.social-ai{border:2px solid transparent;background:linear-gradient(white,white) padding-box,conic-gradient(from var(--social-angle),#477bff,#a24aff,#0bccbf,#477bff) border-box;animation:social-border 7s linear infinite;color:#33568c}
.social-writing-modes button.social-ai.selected{background:linear-gradient(#eff4ff,#eff4ff) padding-box,conic-gradient(from var(--social-angle),#477bff,#a24aff,#0bccbf,#477bff) border-box;color:#225dea}
@property --social-angle{syntax:'<angle>';initial-value:0deg;inherits:false}
@keyframes social-border{to{--social-angle:360deg}}
@media(prefers-reduced-motion:reduce){.social-writing-modes button.social-ai{animation:none}}
.social-writing-modes button:disabled{opacity:.4;cursor:not-allowed}
.social-composer-header .wingy-usage-meter{font-size:10px!important;line-height:1.3!important;margin:0!important;max-width:140px}
.social-generate{font:600 12px inherit;border:1px solid #dbe5f5;border-radius:16px;padding:6px 11px;color:#245dda;background:#f3f7ff;cursor:pointer;margin-inline-start:auto;white-space:nowrap}
.social-generate:disabled{opacity:.5;cursor:wait}
.social-text-editor{display:grid;grid-template-columns:auto 1fr auto;align-items:center;padding:10px;gap:0;min-width:0}
html body .publication-card-modal .social-text-editor textarea{grid-column:1/-1;grid-row:1;background:#f6f8fb!important;border:1px solid #edf0f5!important;border-radius:10px!important;padding:12px!important;font-family:inherit!important;font-size:14px!important;line-height:1.65!important;min-height:170px!important;max-height:280px!important;height:auto!important;field-sizing:content!important;overflow-y:auto!important;resize:none!important;box-sizing:border-box;width:100%;outline-color:#bdd1ff;box-shadow:none!important}
.social-text-editor .wingman-emoji-toolbar{grid-column:1;grid-row:3;padding:5px 0 0!important}
.social-text-editor .wingman-emoji-action{border:0!important;box-shadow:none!important;background:transparent!important;padding:5px!important;min-height:28px!important;color:#75849c!important}
.social-text-editor .wingman-emoji-action svg{width:18px!important;height:18px!important}
.social-text-editor .wingman-emoji-action>span{display:none}
.social-text-count{grid-column:3;grid-row:3;font-size:10px;color:#8290a5;white-space:nowrap;padding-inline:5px}
.social-editor-tools{grid-column:2;grid-row:3}
.social-editor-media{grid-column:1/-1;grid-row:2;padding-top:10px}
.social-attached-media{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.social-attached-media button{padding:0;border:1px solid #e0e7f1;border-radius:9px;overflow:hidden;background:#f7f9fc;cursor:pointer;width:48px;height:48px}
.social-attached-media button img{width:100%;height:100%;object-fit:cover}
.social-attached-media button.social-media-library{width:auto;height:29px;display:flex;align-items:center;gap:4px;padding:5px 8px;font-family:inherit;font-size:11px;color:#677993;border:0}
.social-wingy-note{display:block;padding:0 14px 9px;font-size:10px;color:#8592a6}
html body .publication-card-modal #facebook-first-comment,html body .publication-card-modal #instagram-first-comment{margin:0!important;width:100%!important;max-width:none!important;padding:0!important}
.social-comment-editor>header{display:flex;gap:6px;align-items:center;padding:12px 14px 0;font-size:12px;color:#384d6a}
.social-comment-editor>header>span{font-size:10px;color:#8b96a7;margin-inline-start:auto}
html body .publication-card-modal .social-comment-editor textarea.publication-first-comment-input{min-height:58px!important;max-height:150px!important;font-size:13px!important}
.social-legacy-comment{padding:0 12px 10px;font-size:11px;display:flex;gap:6px;flex-wrap:wrap;color:#718198}
.social-legacy-comment button{color:#2563eb;background:none;border:0;text-decoration:underline;font:inherit;cursor:pointer}
.social-preview-wrap{min-width:0;align-self:start}
.social-preview-heading{display:flex;justify-content:space-between;align-items:center;color:#8895a9;font-size:11px;padding:0 4px 8px}
.social-preview-heading button{display:flex;gap:4px;align-items:center;background:none;border:0;color:#4b6b9a;font:inherit;cursor:pointer}
.social-post{background:white;border:1px solid #e5e9f0;box-shadow:0 5px 18px #20334d12;border-radius:13px;overflow:hidden;min-width:0;color:#253246;font-family:inherit}
.social-post-identity{display:flex;align-items:center;gap:8px;padding:12px}
.social-avatar{display:flex;width:32px;height:32px;border-radius:50%;overflow:hidden;align-items:center;justify-content:center;flex:0 0 32px;background:#eff3f8;color:#7b8ba3}
.social-avatar img{width:100%;height:100%;object-fit:cover}
.social-post-identity>div{min-width:0;flex:1}
.social-post-identity strong{display:block;font-size:12px;font-weight:600;overflow-wrap:anywhere}
.social-post-identity small{display:flex;gap:5px;align-items:center;font-size:10px;color:#8a929e;margin-top:2px}
.social-post-identity>svg{color:#8b929e}
.social-post-copy{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.55;padding:0 12px 12px;font-weight:400}
.social-read-more{border:0;background:none;color:#7a8492;padding:0 4px;font-size:11px;cursor:pointer;font-family:inherit}
.social-post-media{background:#f5f7fa}
.social-photo-grid{display:grid;grid-template-columns:1fr 1fr;gap:2px;max-height:270px;overflow:hidden}
.social-photo-grid button{position:relative;padding:0;border:0;min-height:0;min-width:0;height:130px;cursor:zoom-in;overflow:hidden;background:#f1f5f9}
.social-photo-grid img{width:100%;height:100%;object-fit:cover}
.social-photo-grid.grid-1{grid-template-columns:1fr}.social-photo-grid.grid-1 button{height:260px}.social-photo-grid.grid-1 img{object-fit:contain}
.social-photo-grid.grid-3 button:first-child{grid-row:span 2;height:262px}
.social-photo-grid.grid-5{grid-template-columns:repeat(6,1fr)}.social-photo-grid.grid-5 button{grid-column:span 2}.social-photo-grid.grid-5 button:nth-child(-n+2){grid-column:span 3}
.social-more-photos{position:absolute;inset:0;background:#0005;color:white;display:grid;place-items:center;font-size:24px}
.social-carousel{position:relative}.social-image-open{width:100%;border:0;background:#f5f7fa;padding:0;display:block;cursor:zoom-in}.social-image-open img{width:100%;height:250px;object-fit:contain}
.social-carousel-count{position:absolute;top:9px;right:9px;background:#172031aa;border-radius:15px;padding:3px 8px;color:#fff;font-size:10px;pointer-events:none}
.social-carousel-prev,.social-carousel-next{position:absolute;top:48%;background:#fffffff0;border:0;border-radius:50%;width:25px;height:25px;display:grid;place-items:center;cursor:pointer;box-shadow:0 1px 5px #0003}.social-carousel-prev{right:8px}.social-carousel-next{left:8px}.social-carousel button:disabled{opacity:.25;cursor:default}
.social-post .social-video{width:100%;max-height:280px;object-fit:contain;background:#101827}
.social-no-media{padding:24px 12px;display:flex;gap:8px;align-items:center;justify-content:center;font-size:11px;color:#8b9ab0}
.social-post-actions{display:flex;align-items:center;direction:ltr;gap:16px;padding:10px 13px;border-top:1px solid #edf0f4;color:#87919f}
.social-post-actions>span{display:flex;align-items:center;gap:4px}.social-comment-count{font-size:11px;font-weight:400}.social-bookmark{margin-left:auto}
.social-instagram .social-post-actions{color:#29323d}.social-instagram .social-post-copy{padding-top:0}
.social-post-comment{display:flex;gap:7px;padding:0 12px 12px;align-items:start}.social-post-comment .social-avatar{width:25px;height:25px;flex-basis:25px}
.social-comment-bubble{background:#f1f3f6;border-radius:12px;padding:7px 10px;min-width:0}.social-comment-bubble strong{font-size:11px;font-weight:600}.social-comment-bubble p{margin:3px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;line-height:1.5}
.social-instagram .social-comment-bubble{background:transparent;padding:0}
.social-source-note{display:block;color:#8794a7;font-size:10px;padding:7px 5px}
.wingman-full-post{width:min(660px,calc(100vw - 24px))!important;padding:0!important;border:0!important;border-radius:15px!important;max-height:94dvh!important;box-shadow:0 20px 70px #0005!important}
.wingman-full-post>header{padding:13px 18px!important;border-bottom:1px solid #e5e9f0}.wingman-full-post h2{font-size:17px!important}.wingman-full-post-body{padding:0!important}.is-full .social-post{border:0;border-radius:0;box-shadow:none}.is-full .social-post-copy{font-size:14px;padding:5px 18px 15px}.is-full .social-post-identity{padding:16px 18px}.is-full .social-post-identity strong{font-size:14px}.is-full .social-post-identity small{font-size:11px}.is-full .social-avatar{width:38px;height:38px;flex-basis:38px}.is-full .social-photo-grid{max-height:none}.is-full .social-photo-grid button{height:220px}.is-full .social-photo-grid.grid-3 button:first-child{height:442px}.is-full .social-photo-grid.grid-1 button{height:420px}.is-full .social-image-open img{height:440px}.is-full .social-comment-bubble p{font-size:13px}.is-full .social-post .social-video{max-height:480px}
html body .publication-card-modal .property-instagram .social-ig-media-tools{padding:0 12px 12px;display:flex;flex-direction:column;gap:6px}
html body .publication-card-modal .property-instagram .social-ig-media-tools .ig-modes{order:0;justify-content:flex-start;gap:5px}
html body .publication-card-modal .property-instagram .social-ig-media-tools .ig-modes button{font-size:11px;padding:5px 9px;min-height:28px;border-radius:14px}
html body .publication-card-modal .property-instagram .social-ig-media-tools p{font-size:10px;line-height:1.4;margin:0;color:#8794a7}
html body .publication-card-modal .property-instagram .social-ig-media-tools .ig-images{display:flex;flex-wrap:wrap;gap:6px;margin-top:5px}
html body .publication-card-modal .property-instagram .social-ig-media-tools .ig-image{width:52px;height:52px;flex:0 0 52px;border-radius:9px;padding:3px}
html body .publication-card-modal .property-instagram .ig-status{font-size:11px;display:inline-flex;margin:0 0 10px 12px}
html body .publication-card-modal .property-instagram>header h3{font-size:14px}
html body .publication-card-modal .property-instagram>header{padding:0;margin:0 0 8px}
html body .publication-card-modal #facebook-distribution,html body .publication-card-modal .property-instagram #instagram-schedule{margin:14px 0 0!important;width:100%!important;max-width:none!important;background:#fff;border:1px solid #e5eaf3;border-radius:14px;padding:13px 16px!important;gap:14px!important}
html body .publication-card-modal .ig-publication-summary{margin:10px auto 0!important;font-size:11px!important}
html body .publication-card-modal .publication-facebook-content>.publication-eyebrow{font-size:11px;margin-bottom:6px}
html body .publication-card-modal .publication-facebook-content>.publication-flow-section{padding:10px 12px!important;border:1px solid #e4eaf3!important;border-radius:13px!important;background:#fff;margin-bottom:14px!important;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
html body .publication-card-modal .publication-facebook-content>.publication-flow-section h3{font-size:12px;margin:0}
html body .publication-card-modal .publication-facebook-content>.publication-flow-section p{font-size:10px}
html body .publication-card-modal .publication-facebook-content>.publication-flow-section .publication-segmented{margin:0!important}
html body .publication-card-modal .publication-facebook-content>.publication-flow-section>div{border:0;background:none;padding:0;gap:10px}
html body .publication-card-modal #property-panel-details .publication-what-published{background:white;border:1px solid #e4eaf3;border-radius:16px;padding:18px!important;box-shadow:0 3px 12px #243c6608;gap:14px!important}
html body .publication-card-modal #property-panel-details label{font-size:12px!important;color:#485d7a}
html body .publication-card-modal #publication-internal-title{height:40px!important;border-color:#e0e7f1!important;border-radius:10px!important;background:#f7f9fc}
html body .publication-card-modal #publication-wingy-notes{font-size:13px!important;line-height:1.6!important;min-height:100px!important;max-height:190px!important;overflow:auto!important;background:#f7f9fc!important;border:1px solid #e4eaf3!important;border-radius:10px!important;padding:10px!important}
html body .publication-card-modal .publication-notes-help{font-size:10px!important;margin:5px 0!important;line-height:1.5!important}
html body .publication-card-modal .publication-video-surface{border-radius:12px}
html body .publication-card-modal .social-notes{display:block!important}
@media(max-width:800px){html body .publication-card-modal .publication-content-workspace.social-workspace,html body .publication-card-modal .property-instagram .ig-layout{grid-template-columns:minmax(0,1fr)!important}.social-preview-wrap{width:100%;max-width:440px;justify-self:center}.social-composer-header{padding:10px;gap:6px}.social-composer-header>strong{font-size:12px}.social-writing-modes button{font-size:10px;padding:5px 7px}.social-composer-header .wingy-usage-meter{max-width:none}.social-generate{font-size:11px}html body .publication-card-modal .publication-modal-flow{padding:10px!important}html body .publication-card-modal{width:calc(100vw - 12px)!important;max-height:96dvh!important}html body .publication-card-modal #property-panel-details .publication-what-published{padding:12px!important}.is-full .social-image-open img{height:320px}.is-full .social-photo-grid button{height:150px}.is-full .social-photo-grid.grid-3 button:first-child{height:302px}}
html body section.publication-card-modal{width:min(1180px,calc(100vw - 28px))!important;max-width:1180px!important}
.social-media-section>.publication-flow-section{display:flex;gap:8px;align-items:center;flex-wrap:wrap;border:0!important;padding:0 0 8px!important;margin:0!important;font-size:11px;background:none!important}
.social-media-section h3{font-size:11px!important;margin:0!important}.social-media-section p{font-size:10px!important;margin:2px 0!important;color:#8a97a9}
.social-media-section .publication-segmented{margin:0!important}.social-media-section .publication-segmented button{font-size:11px!important;padding:4px 8px!important;min-height:25px!important}
.social-media-section>.publication-flow-section>div{padding:0!important;border:0!important;gap:6px!important;background:none!important}
.social-media-section label,.social-media-section strong{font-size:11px!important}.social-media-section select{height:28px!important;font-size:11px!important}
html body .publication-card-modal .publication-facebook-content>.publication-eyebrow{display:none}
@media(max-width:800px){html body section.publication-card-modal{width:calc(100vw - 12px)!important}}
.social-unlimited{font-size:10px;color:#8a93a5;margin-inline-start:auto;white-space:nowrap}
html body .publication-card-modal #property-panel-details .publication-what-published{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;grid-template-rows:auto auto auto auto!important}
html body .publication-card-modal #property-panel-details .publication-what-published>label:first-of-type{grid-area:1/1!important}
html body .publication-card-modal #property-panel-details .publication-what-published>.social-notes{grid-area:1/2/4/3!important}
html body .publication-card-modal #property-panel-details .publication-what-published>.publication-compact-segmented{grid-area:2/1!important;justify-self:start!important}
html body .publication-card-modal #property-panel-details .publication-what-published>.publication-exclusivity-toggle{grid-area:3/1!important;justify-self:start!important}
html body .publication-card-modal #property-panel-details .publication-media-library{grid-area:4/1/5/3!important;margin:0!important;padding:12px 0 0!important;border-top:1px solid #edf1f6!important}
html body .publication-card-modal #property-panel-details .publication-media-library .grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:8px!important}
html body .publication-card-modal #property-panel-details .publication-media-library .aspect-\[4\/3\]{max-height:116px!important}
html body .publication-card-modal #property-panel-details .publication-media-library strong{font-size:13px!important}
html body .publication-card-modal .social-text-editor textarea{max-height:220px!important;min-height:150px!important}
html body .publication-card-modal .social-comment-editor textarea.publication-first-comment-input{min-height:58px!important;max-height:150px!important}
html body .publication-card-modal>header{padding:9px 18px!important}
@media(max-width:800px){html body .publication-card-modal #property-panel-details .publication-what-published{display:flex!important;flex-direction:column!important}html body .publication-card-modal #property-panel-details .publication-media-library .grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
.social-field-title{display:flex;align-items:center;gap:6px;margin-bottom:6px}.social-field-title svg{color:#718aaa;flex-shrink:0}.social-field-title small{font-size:10px;color:#91a0b3;font-weight:400}
.social-post a{color:#2473d8;text-decoration:none;overflow-wrap:anywhere}.social-photo-zoom img{width:100%;max-height:75dvh;object-fit:contain}.social-photo-zoom>div{display:flex;justify-content:center;gap:16px;align-items:center;padding:12px}.social-photo-zoom button{font:inherit;border:1px solid #e0e8f5;background:white;border-radius:8px;padding:6px 12px;color:#3a6299}.social-photo-zoom button:disabled{opacity:.4}
html body .publication-card-modal .social-text-editor #instagram-caption{min-height:150px!important;max-height:220px!important;overflow-y:auto!important;background:#f6f8fb!important;border:1px solid #edf0f5!important;border-radius:10px!important;font-size:14px!important;line-height:1.65!important}
html body .publication-card-modal .social-text-editor textarea.publication-first-comment-input{min-height:58px!important;max-height:150px!important;overflow-y:auto!important;background:#f6f8fb!important}
html body .publication-card-modal .property-instagram .social-composer{margin:0!important;padding:0!important}
html body .publication-card-modal .property-instagram .social-editor-media .social-ig-media-tools{padding:0!important}
html body .publication-card-modal .property-instagram .social-ig-media-tools .ig-modes{padding:0!important;margin:0!important;background:transparent!important}
html body .publication-card-modal .property-instagram .social-ig-media-tools .ig-images{padding:0!important}
