/* Refined social workspace: isolated from the rest of CRM. */
#socialWeeklyPage{max-width:1320px;margin:0 auto;padding-bottom:48px}
#socialWeeklyPage .welcome{background:none;color:#20342b;box-shadow:none;border-radius:0;padding:24px 0 22px;border-bottom:1px solid #dfe6e1}
#socialWeeklyPage .welcome .eyebrow{color:#7b8d83;font-size:10px;letter-spacing:.18em;margin-bottom:10px}
#socialWeeklyPage .welcome h3{font-size:28px;font-weight:650;letter-spacing:-.8px;margin-bottom:10px}
#socialWeeklyPage .welcome p:not(.eyebrow){color:#7a857e;font-size:13px;line-height:1.7}
#socialWeeklyPage>.panel{margin-top:18px;padding:16px 20px;border-radius:12px;box-shadow:none;background:#fff}
#socialWeeklyPage .toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-start}
#socialWeeklyPage .toolbar label{display:flex;align-items:center;gap:12px;margin:0;color:#7a857e;font-size:12px;max-width:none}
#socialWeeklyPage #socialWeek{height:36px;padding:6px 10px;width:153px;min-height:0;border-radius:7px;font-size:12px;border-color:#e2e8e3;color:#34483d}
#socialWeeklyPage .toolbar button{height:36px;min-height:0;padding:8px 14px;border-radius:7px;font-size:12px;line-height:18px;box-shadow:none}
#socialWeekSubmit{margin-left:auto}#socialWeekConnection{margin:12px 0 0!important;font-size:11px;color:#8a938d;line-height:1.6}
#socialWeekError:empty{display:none}
#socialWeekStats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:22px 0}
#socialWeekStats .social-person-card{padding:24px;border-radius:14px;border:1px solid #e1e8e2;box-shadow:0 4px 16px #183a2610;min-width:0}
.social-person-heading{display:flex;align-items:center;gap:12px}.social-person-avatar{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#eef3ee;color:#49634e;font-size:16px;font-weight:600}
#socialWeekStats h3{margin:0;font-size:16px;font-weight:600;letter-spacing:-.2px}.social-person-caption{display:block;margin-top:4px;font-size:11px;color:#939c96}
.social-person-label{margin-left:auto;font-size:10px;color:#8a938d;border:1px solid #e8ece8;border-radius:20px;padding:5px 10px}.social-person-label.passed{background:#edf6ee;color:#347648;border-color:#dcebdd}
#socialWeekStats .social-week-count{font-size:44px;letter-spacing:-1.8px;line-height:1.2;margin:24px 0 16px;color:#253d2e;font-weight:600;font-variant-numeric:tabular-nums}
#socialWeekStats .social-week-count span{font-size:18px;color:#a2ada5;font-weight:400;letter-spacing:0;margin-left:4px}
#socialWeekStats progress{display:block;width:100%;height:5px;appearance:none;border:0;background:#edf0ed;border-radius:6px;overflow:hidden;accent-color:#527a59}
#socialWeekStats progress::-webkit-progress-bar{background:#edf0ed;border-radius:6px}#socialWeekStats progress::-webkit-progress-value{background:#527a59;border-radius:6px}#socialWeekStats progress::-moz-progress-bar{background:#527a59;border-radius:6px}
.social-person-footer{display:flex;justify-content:space-between;gap:12px;margin-top:16px;color:#929b94;font-size:11px}.social-person-footer b{font-weight:500;color:#59695e;margin-left:4px}
.social-week-empty{padding:38px 24px;text-align:center;border:1px dashed #dce4dc;border-radius:14px;color:#8a958d;background:#f8faf7}
.social-empty-mark{display:grid;place-items:center;margin:0 auto 14px;width:36px;height:36px;border-radius:10px;background:#eef2ed;color:#9aab9b;font-size:22px;font-weight:300}
.social-week-empty h3{font-size:13px;font-weight:500;color:#647467;margin:0 0 8px}.social-week-empty p{margin:0;font-size:11px;line-height:1.7}
#socialWeeklyPage .social-week-post{padding:24px;border-radius:14px;box-shadow:none;margin-bottom:16px}#socialWeeklyPage .social-week-post h3{font-size:16px;font-weight:600}#socialWeeklyPage .social-week-post p,#socialWeeklyPage .social-week-post li,#socialWeeklyPage .social-week-post summary{font-size:13px;line-height:1.75}#socialWeeklyPage .social-week-post a{color:#3d7053;text-decoration:none}#socialWeeklyPage .social-week-post a:hover{text-decoration:underline}#socialWeeklyPage .social-week-item-error:empty{display:none}
#socialWeekDialog,#socialWeekReviewDialog{width:min(560px,94vw);padding:28px;border-radius:16px;border:1px solid #e0e7e0;box-shadow:0 24px 80px #10291d30}#socialWeekDialog h3,#socialWeekReviewDialog h3{font-size:20px;margin:0 0 24px}#socialWeekDialog label,#socialWeekReviewDialog label{display:block;margin:16px 0;font-size:13px;color:#536359}#socialWeekDialog input,#socialWeekDialog textarea,#socialWeekReviewDialog textarea,#socialWeekReviewDialog select{width:100%;margin-top:7px;border-radius:8px}#socialWeekDialog p,#socialWeekReviewDialog p{font-size:12px;color:#8a938d;line-height:1.7}#socialWeekDialog .error,#socialWeekReviewDialog .error{color:var(--danger)}
@media(max-width:700px){#socialWeeklyPage .welcome{padding:20px 0}#socialWeeklyPage .welcome h3{font-size:24px}#socialWeekStats{grid-template-columns:1fr;gap:12px;margin:16px 0}#socialWeekStats .social-person-card{padding:20px}#socialWeeklyPage>.panel{padding:14px}#socialWeeklyPage .toolbar label{gap:8px}#socialWeeklyPage .social-week-post{padding:18px}.social-week-empty{padding:28px 16px}}
.ad-daily-section{margin-top:26px;padding-top:24px;border-top:1px solid #dfe6e1}.ad-daily-section h3{font-size:18px;margin:0 0 6px}.ad-daily-section .muted{font-size:12px}.ad-daily-section .social-person-card{padding:22px}.ad-daily-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:22px 0}.ad-daily-metrics small{display:block;color:#89958c;font-size:11px;margin-bottom:8px}.ad-daily-metrics strong{font-size:17px;font-weight:600;overflow-wrap:anywhere}.ad-daily-section a{color:#3d7053;font-size:12px}.ad-daily-section .error:empty{display:none}#adDailyDialog{width:min(540px,94vw);padding:28px;border:1px solid #e0e7e0;border-radius:16px}#adDailyDialog label{display:block;margin:14px 0;font-size:13px}#adDailyDialog input:not([type=hidden]),#adDailyDialog select{width:100%;margin-top:6px}#adDailyDialog p{font-size:12px;line-height:1.7;color:#89958c}#adDailyDialog .error{color:var(--danger)}@media(max-width:700px){.ad-daily-section .social-week-stats{grid-template-columns:1fr}.ad-daily-metrics{gap:8px}.ad-daily-metrics strong{font-size:14px}}
