/* Compact content-first layouts share the app's two themes and CRM/Sites brand palette. */
.social-page{max-width:1480px;margin:auto;padding:24px;--so-line:var(--line,#cdd7df);--so-surface:var(--panel,#fff);color:var(--ink,#152c3b)}
.so-head,.so-section-title,.so-calendar-tools,.so-day>header,.so-network-preview>header,.so-panel>header,.so-comment>header{display:flex;align-items:center;justify-content:space-between;gap:16px}.so-head h2{font-size:clamp(25px,3vw,38px);letter-spacing:-1px;margin:8px 0}.so-head p{max-width:640px}.so-head{margin-bottom:24px}.so-note{font-size:13px;line-height:1.6;color:var(--muted,#536575)}.so-accounts-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0}.so-account{display:flex;align-items:center;gap:12px;padding:14px;text-align:left;border:1px solid var(--so-line);border-radius:12px;background:var(--so-surface);min-width:0}.so-account small,.so-comment small,.so-network-preview small,.so-library small{display:block}.so-account strong{display:block}.so-account span:nth-child(2){min-width:0;overflow:hidden;text-overflow:ellipsis}.so-network{display:inline-flex;align-items:center;justify-content:center;font-weight:800;width:35px;height:35px;flex-shrink:0;border-radius:10px;background:#1877f2;color:white;font-size:22px}.so-network.instagram{background:linear-gradient(35deg,#c83c75,#8145c7)}.so-network.linkedin{background:#0a66c2}.so-dot{width:7px;height:7px;border-radius:50%;background:#8b98a7;margin-left:auto;flex-shrink:0}.so-dot.on{background:#16816b}.so-tabs{display:flex;gap:6px;border-bottom:1px solid var(--so-line);margin-bottom:22px;overflow-x:auto}.so-tabs button{border:0;border-radius:0;white-space:nowrap;padding:12px 16px;background:transparent}.so-tabs button[aria-current=page]{border-bottom:3px solid #16816b;font-weight:750}.so-fixture{padding:10px 14px;border-left:3px solid #4387bf;background:color-mix(in srgb,#4387bf 10%,transparent);font-size:13px}.so-calendar-tools{flex-wrap:wrap;margin:20px 0 8px}.so-calendar-tools>div{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.so-calendar-tools h3{margin:0 18px 0 0;font-size:22px}.so-calendar-tools button[aria-pressed=true]{background:#175c63;color:white}.so-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border:1px solid var(--so-line);border-radius:12px;overflow:hidden}.so-day{min-width:0;border-right:1px solid var(--so-line);border-bottom:1px solid var(--so-line);padding:10px;min-height:340px}.so-day:nth-child(7n){border-right:0}.so-day>header{gap:4px;margin-bottom:15px;flex-wrap:wrap}.so-day>header span{font-size:12px;color:var(--muted,#536575)}.so-day>header strong{font-size:21px;margin-left:auto}.so-day>header button{padding:2px 7px;min-height:28px;font-size:16px}.so-day.today>header strong{background:#175c63;color:#fff;padding:3px 9px;border-radius:30px}.so-post{padding:0;width:100%;display:block;margin:0 0 10px;text-align:left;border:1px solid var(--so-line);border-radius:9px;overflow:hidden;background:var(--so-surface)}.so-post img{display:block;width:100%;aspect-ratio:1;object-fit:cover}.so-post-copy{display:block;padding:10px;font-size:12px}.so-post-copy>strong{display:block;font-size:12px}.so-post-copy time{font-size:11px;color:var(--muted,#536575)}.so-post-copy>span{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;line-height:1.5;margin:7px 0}.so-status{display:inline-block;padding:3px 6px;border-radius:4px;background:#e5edf3;color:#334c5e;font-size:11px}.so-status.scheduled,.so-status.published{background:#dff3ec;color:#18624b}.so-status.failed{background:#ffe6e1;color:#973f28}.so-empty-day{font-size:12px;color:var(--muted,#536575);line-height:1.6;opacity:.65}.month .so-day{min-height:135px}.month .so-post{display:flex}.month .so-post img{width:38px;height:46px;aspect-ratio:auto}.month .so-post-copy{padding:4px;min-width:0}.month .so-post-copy>span,.month .so-status,.month .so-empty-day{display:none}.month .so-post-copy strong{font-size:10px}.so-panel{border:1px solid var(--so-line);background:var(--so-surface);padding:22px;border-radius:13px;margin:14px 0;min-width:0}.so-panel h3{margin-top:0}.so-account-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.so-account-grid article{padding:16px;border:1px solid var(--so-line);border-radius:10px;overflow-wrap:anywhere}.so-account-grid article p{font-size:13px;line-height:1.7}.so-account-grid h4{margin:14px 0 8px}.so-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0}.so-metrics article{padding:20px;border:1px solid var(--so-line);border-radius:12px}.so-metrics small{display:block;min-height:36px}.so-metrics strong{font-size:clamp(20px,3vw,32px);display:block;margin-top:12px;overflow-wrap:anywhere}.so-result-stats{display:flex;gap:45px;font-size:22px;margin:20px 0}.so-result-stats small{display:block;font-size:12px}.so-comment{max-width:850px}.so-comment>header{justify-content:flex-start}.so-comment p{white-space:pre-wrap;line-height:1.7;overflow-wrap:anywhere}.so-comment textarea{min-height:80px}.so-comment.handled{opacity:.75}.so-comment footer{display:flex;flex-wrap:wrap;gap:8px}.so-library{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:18px}.so-library button{padding:0;overflow:hidden;text-align:left;border-radius:12px}.so-library img{width:100%;aspect-ratio:1;object-fit:cover;display:block}.so-library span,.so-library small{padding:8px 12px;overflow-wrap:anywhere}.so-composer-grid{display:grid;grid-template-columns:minmax(290px,1fr) minmax(280px,1fr);gap:40px;align-items:start;max-width:1150px;margin:auto}.so-composer-grid fieldset{border:0;padding:0;min-width:0}.so-composer-grid label,.so-account-grid label{display:block;font-size:13px;font-weight:650;margin:0 0 16px}.so-composer-grid input,.so-composer-grid select,.so-composer-grid textarea,.so-comment textarea,.so-account-grid select{display:block;width:100%;margin-top:7px;box-sizing:border-box;font:inherit}.so-composer-grid textarea{resize:vertical;line-height:1.6;font-weight:400}.so-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.so-composer-grid input[type=color]{height:38px;padding:4px}.so-composer-grid details summary{font-weight:700;padding:10px 0;margin-bottom:12px}.so-preview-wrap{position:sticky;top:20px;max-width:490px;margin:20px auto;width:100%;min-width:0}.so-network-preview{color:#17202a;background:white;border:1px solid #ccd3da;border-radius:10px;overflow:hidden;font-family:Arial,sans-serif;font-size:14px;box-shadow:0 12px 40px #07162b13}.so-network-preview>header{padding:16px;justify-content:flex-start}.so-network-preview>header>span:last-child{margin-left:auto}.so-network-preview small{font-size:11px;color:#66717e;margin-top:4px}.so-brand-avatar{width:42px;height:42px;display:flex;align-items:center;justify-content:center;border-radius:50%;font-weight:800;flex-shrink:0}.so-network-preview>p{padding:0 16px;white-space:pre-wrap;line-height:1.6;overflow-wrap:anywhere}.so-network-preview>img{width:100%;aspect-ratio:1;object-fit:contain;display:block}.so-preview-empty{aspect-ratio:1;background:#eff3f6;color:#536575;display:flex;align-items:center;justify-content:center}.so-network-preview footer{padding:14px 10px;border-top:1px solid #e4e8eb;font-size:12px;color:#55616c}.so-preview-actions{font-size:24px;padding:12px 16px}.so-preview-actions span{float:right}.so-network-preview.story{aspect-ratio:9/16;position:relative;background:#132b3e;color:white;max-width:340px;margin:auto;border-radius:18px}.so-network-preview.story>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}.so-network-preview.story>header,.so-network-preview.story>p,.so-network-preview.story>footer{position:relative;z-index:1;background:#0005}.so-network-preview.story footer{position:absolute;bottom:0;left:0;right:0;color:white}.so-network-preview.story small{color:#eee}.so-story-progress{height:3px;background:#fff9;position:absolute;top:8px;left:10px;right:10px;z-index:2}.so-library-pick{display:flex;gap:6px;overflow-x:auto;margin-top:15px}.so-library-pick button{flex:0 0 58px;padding:0;height:58px;overflow:hidden}.so-library-pick img{width:100%;height:100%;object-fit:cover}.so-error{color:#c7482e}.so-drafts{display:flex;flex-direction:column;gap:10px}.so-section-title h2,.so-section-title h3{margin-bottom:10px}.social-page button,.social-page a,.social-page select{touch-action:manipulation}.social-page button{min-height:38px}.social-page p{overflow-wrap:anywhere}.social-page input,.social-page select,.social-page textarea{max-width:100%}
@media(max-width:1100px){.social-page{padding:18px}.so-calendar.week{grid-template-columns:repeat(4,minmax(0,1fr))}.so-day{min-height:280px}.so-day:nth-child(7n){border-right:1px solid var(--so-line)}.so-composer-grid{gap:20px}.so-account-grid{grid-template-columns:1fr}.so-calendar.month .so-day{padding:4px}.month .so-post img{display:none}}
@media(max-width:600px){.social-page{padding:14px 10px}.so-head{display:block}.so-head>button{margin-top:12px;width:100%}.so-head h2{font-size:28px}.so-accounts-strip{gap:6px}.so-account{display:block;padding:9px 6px}.so-account .so-network{width:27px;height:27px;font-size:18px;margin-bottom:7px}.so-account strong{font-size:11px}.so-account small{font-size:10px}.so-account .so-dot{display:none}.so-tabs button{padding:10px;font-size:13px}.so-calendar.week{display:block}.so-calendar.week .so-day{min-height:88px;border-right:0;padding:12px}.so-calendar.week .so-day>header{justify-content:flex-start;flex-wrap:nowrap}.so-calendar.week .so-day>header strong{margin:0 auto 0 5px}.so-calendar.week .so-post{display:flex;min-height:116px}.so-calendar.week .so-post img{width:116px;height:116px;aspect-ratio:auto;object-fit:cover;flex-shrink:0}.so-calendar.week .so-post-copy{flex:1;min-width:0}.so-calendar-tools h3{font-size:21px}.so-calendar-tools>div{width:100%}.so-calendar-tools select{max-width:125px}.so-calendar.month .so-day{min-height:100px;padding:4px 2px}.month .so-day>header{display:block;text-align:center;margin-bottom:8px}.month .so-day>header span{font-size:9px;display:block}.month .so-day>header strong{font-size:16px}.month .so-day>header button{display:none}.month .so-post-copy strong{font-size:8px;overflow:hidden;text-overflow:ellipsis}.month .so-post-copy time{font-size:8px}.so-composer-grid{display:flex;flex-direction:column;gap:0}.so-composer-grid>form,.so-preview-wrap{width:100%}.so-compose .so-section-title{display:block}.so-compose .so-section-title>div:last-child{display:flex;gap:8px}.so-panel{padding:16px}.so-metrics{gap:6px}.so-metrics article{padding:12px 8px}.so-metrics small{font-size:10px;min-height:50px}.so-metrics strong{font-size:17px}.so-section-title{flex-wrap:wrap}.so-comment footer button{font-size:12px}.so-two{grid-template-columns:1fr}.so-preview-wrap{position:static}.so-library{grid-template-columns:1fr 1fr}.so-library-pick{max-width:100%}}
@media(max-width:600px){.so-tabs{flex-wrap:wrap;overflow:visible;gap:0}.so-tabs button{padding:10px 9px}.so-status.approved{background:#dff3ec;color:#18624b}}

.so-mobile-title{display:none}.social-page .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.so-calendar-tools select{width:auto}
@media(max-width:600px){.so-desktop-title,.so-desktop-hint{display:none}.so-mobile-title{display:inline}.so-head{display:flex;align-items:center;gap:10px;margin:0 0 10px}.so-head h2{font-size:21px;letter-spacing:-.5px;margin:4px 0}.so-head p:not(.eyebrow){display:none}.so-head .eyebrow{font-size:9px;margin:4px 0}.so-head>button{width:auto;min-width:107px;margin:0;padding:8px;font-size:12px}.so-accounts-strip{margin:12px 0}.so-account{display:flex;gap:6px;padding:8px 5px}.so-account .so-network{width:24px;height:24px;margin:0;font-size:15px}.so-account small{display:none}.so-account strong{font-size:10px}.so-account .so-dot{display:block;width:5px;height:5px}.so-tabs{margin-bottom:12px}.so-tabs button{font-size:12px;padding:9px}.so-fixture{font-size:11px;padding:7px 10px;line-height:1.4;margin:8px 0}.so-calendar-tools{margin:12px 0 6px}.so-calendar-tools h3{font-size:19px}.so-calendar-tools>div{gap:4px}.so-calendar-tools button{padding:6px;font-size:12px}.so-calendar-tools select{min-width:105px;max-width:110px;font-size:12px}.so-note{font-size:12px;line-height:1.5;margin:8px 0}.so-preview-wrap>.eyebrow{font-size:12px}}

/* CL-08: Readable Social content and reachable controls on compact phones. */
@media(max-width:600px){
  .social-page{font-size:14px;min-width:0;overflow-wrap:anywhere;background:var(--so-surface)}
  .social-page .so-accounts-strip{display:none}
  .social-page .so-tabs{flex-wrap:nowrap;overflow-x:auto}
  .social-page .so-tabs button{flex-shrink:0}
  .social-page.social-page :is(p,small,time,label,button,summary,.eyebrow,.so-post-copy,.so-post-copy strong,.so-day>header span,.so-network-preview footer){font-size:14px;line-height:1.5}
  .social-page :is(button,input,select,summary),body[data-view="social"] #dialog-host :is(button,input,select){min-height:44px;min-width:44px}
  .social-page :is(input,select,textarea),body[data-view="social"] #dialog-host :is(input,select,textarea){font-size:16px;box-sizing:border-box;width:100%;max-width:100%;min-width:0}
  .social-page :is(a,summary){display:inline-flex;align-items:center;min-height:44px}
  .social-page .so-calendar-tools select{max-width:100%;width:auto}
  .social-page .so-calendar.month{grid-template-columns:repeat(7,minmax(170px,1fr));overflow:auto;max-height:65vh}
  .social-page .so-calendar.month .so-day{min-height:0;padding:10px}
  .social-page .so-calendar.month .so-day>header{display:flex;text-align:left}
  .social-page .so-calendar.month .so-day>header button{display:block}
  .social-page .so-calendar .so-post-copy>span{display:block;overflow:visible;-webkit-line-clamp:unset}
  .social-page .so-calendar.month .so-status{display:inline-block}
  .social-page .so-calendar.week .so-day{min-height:0}
  .social-page .so-calendar.week .so-post{min-height:0}
  .social-page .so-calendar.week .so-post img{width:80px;height:80px}
  .social-page .so-metrics{grid-template-columns:1fr}
  .social-page .so-metrics small{min-height:0}
  .social-page :is(.so-result-stats,.so-panel>header,.so-compose .so-section-title>div:last-child){flex-wrap:wrap;gap:12px}
  .social-page .so-result-stats>span,.social-page .so-network-preview>header>div{min-width:0;overflow-wrap:anywhere}
  .social-page .so-preview-empty{aspect-ratio:auto;min-height:64px}
  body[data-view="social"] #dialog-host .dialog{box-sizing:border-box;width:calc(100% - 20px);max-height:90dvh;overflow:auto;padding:16px;overflow-wrap:anywhere}
  body[data-view="social"] #dialog-host :is(p,label,button){font-size:14px;line-height:1.5}
  .social-callback{margin:0;padding:16px;font:16px/1.5 sans-serif;overflow-wrap:anywhere}
  .social-callback a{display:inline-flex;align-items:center;min-height:44px}
}
