
/* Agenda: distinct surfaces, readable cards, clear controls. */
.scheduler-screen{--agenda-line:#c5b4ff24;--agenda-muted:#bcb5cf}
.scheduler-screen>.head{align-items:center;margin:12px 0 28px}.scheduler-screen>.head h1{font-size:clamp(28px,3vw,40px);letter-spacing:-1.3px}.scheduler-screen>.head p{font-size:15px;max-width:640px;line-height:1.7}
.scheduler-screen>.stats{gap:16px;margin-bottom:24px}.scheduler-screen>.stats .stat{border:1px solid var(--agenda-line);border-radius:20px;padding:22px;background:linear-gradient(145deg,#282035,#1d1928)}.scheduler-screen>.stats .stat strong{font-size:34px;font-weight:800}.scheduler-screen>.stats .stat span{font-size:13px;line-height:1.7}
.scheduler-screen .calendar-workbench-hero{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:32px;border:1px solid #a98bff50;border-radius:24px;background:radial-gradient(ellipse at 90% 0,#7c3aed38,transparent 65%),linear-gradient(120deg,#2a2140,#1c1929);margin-bottom:24px}.calendar-workbench-hero h2{font-size:27px;letter-spacing:-.7px;margin:12px 0}.calendar-workbench-hero small{display:block;max-width:700px;line-height:1.7;color:var(--agenda-muted);font-size:12px}.calendar-workbench-hero .agenda-clock{font-size:13px;color:#c6b4f8;margin:10px 0}.calendar-workbench-hero .agenda-next{color:#f3edff;font-weight:650;font-size:15px}.calendar-workbench-hero>button{padding:16px 22px;border-radius:14px;flex-shrink:0;box-shadow:0 7px 22px #6d28d933}
.scheduler-screen .calendar-selection-tools{padding:20px 24px;border:1px solid var(--agenda-line);border-radius:20px;margin-bottom:24px}.scheduler-screen .queue-status-tabs{gap:7px;margin-bottom:18px}.scheduler-screen .queue-status-tabs button{border-radius:100px;padding:10px 18px;font-size:13px}.scheduler-screen .queue-status-tabs button[aria-pressed=true]{background:#8252e2;color:#fff;border-color:#b295ff}.scheduler-screen .calendar-selection-tools>.toolbar{gap:12px}.scheduler-screen .calendar-selection-tools input[type=search]{min-width:240px;flex:1}.scheduler-screen .calendar-bulk-toolbar{display:flex;gap:10px;flex-wrap:wrap;border-top:1px solid var(--agenda-line);padding-top:16px;margin-top:16px;align-items:center}.calendar-bulk-toolbar strong{margin-right:auto;font-size:13px;color:#c8bbdf}
.scheduler-screen .calendar-fold{border:1px solid var(--agenda-line);border-radius:22px;overflow:hidden;margin:0 0 24px;background:#1b1825}.scheduler-screen .calendar-fold>summary{padding:20px 24px;font-size:16px;font-weight:750;cursor:pointer;background:#ffffff03}.scheduler-screen .calendar-fold>section{border:0!important;border-radius:0!important;margin:0;padding:24px;background:transparent}.scheduler-screen .calendar-fold .head{gap:16px;margin-bottom:20px;align-items:center}.scheduler-screen .calendar-fold h2{font-size:24px;text-transform:capitalize}.scheduler-screen .calendar-fold .toolbar{gap:12px;margin-bottom:20px}.scheduler-screen .calendar-fold .toolbar select{max-width:280px}
.scheduler-screen .publishing-calendar{gap:1px;background:var(--agenda-line);border:1px solid var(--agenda-line);border-radius:16px;overflow:hidden;min-width:840px}.scheduler-screen .publishing-calendar .day-label{padding:14px;color:#b6a6d2;background:#211c2e;font-size:11px;font-weight:800;letter-spacing:1px;text-align:center}.scheduler-screen .publishing-calendar .day{padding:10px;min-height:200px;background:#1c1927;border:0;border-radius:0}.scheduler-screen .publishing-calendar .day>span{display:block;font-size:13px;font-weight:750;padding:5px;margin-bottom:8px;color:#d7cdeb}.scheduler-screen .publishing-calendar .day.today{background:#2c2143}.scheduler-screen .publishing-calendar .day.today>span{color:#d7c0ff}.scheduler-screen .calendar-wrap{overflow:auto}
.scheduler-screen .calendar-post{padding:12px!important;border:1px solid #9b78e94d!important;border-radius:13px;background:linear-gradient(150deg,#35264a,#2a203b);font-size:13px!important;margin-top:10px;box-shadow:0 4px 12px #0002;overflow:hidden;transition:transform .15s,border-color .15s}.scheduler-screen .calendar-post:hover{transform:translateY(-2px);border-color:#b89aff!important}.scheduler-screen .calendar-post-thumb{width:45px;height:62px;object-fit:cover;border-radius:8px;margin:0 10px 8px 0}.scheduler-screen .calendar-post>span{font-weight:700;font-size:13px;max-height:42px;line-height:1.6}.scheduler-screen .calendar-post small{font-size:11px!important;line-height:1.6;color:#d5c7ed}.scheduler-screen .calendar-post .calendar-account{clear:both;padding-top:5px;color:#dcc8ff;font-weight:650}.scheduler-screen .calendar-status{margin:7px 0;padding:4px 7px;background:#ffffff08;border-radius:6px}.scheduler-screen .calendar-post.published{background:#163b32;border-color:#338f6a!important}.scheduler-screen .calendar-post.failed,.scheduler-screen .calendar-post.needs_review{background:#422b35;border-color:#b96578!important}.scheduler-screen .calendar-post.post-selected{outline:2px solid #c3a2ff;outline-offset:2px}
.scheduler-screen .publishing-queue-row{display:grid;grid-template-columns:20px 68px minmax(0,1fr) minmax(170px,auto);gap:20px;padding:22px 0;align-items:center;border-bottom:1px solid var(--agenda-line)}.scheduler-screen .publishing-queue-row>img{width:68px;height:90px;object-fit:cover;border-radius:12px}.scheduler-screen #publishingQueue h3{font-size:16px;line-height:1.5;margin:0 0 8px}.scheduler-screen #publishingQueue p{font-size:13px;line-height:1.7}.scheduler-screen .publishing-queue-row .actions{max-width:280px;justify-content:flex-end;gap:8px}.scheduler-screen .publishing-queue-row .actions>*{font-size:12px;padding:9px 12px}.scheduler-screen .publishing-queue-row .error-text{max-width:620px;overflow-wrap:anywhere}
.scheduler-screen #postDetail{width:min(660px,94vw);padding:30px;border:1px solid #d5c1ff44;border-radius:26px;background:#211b30ed;backdrop-filter:blur(24px)}.scheduler-screen #postDetail h2{font-size:24px;line-height:1.5}.scheduler-screen #postDetail form{display:grid;gap:16px;margin-top:22px}.scheduler-screen #postDetail form>label{display:grid;gap:8px}.scheduler-screen #postDetail label:has(input[type=checkbox]){display:flex;align-items:flex-start;line-height:1.6}.scheduler-screen #postDetail textarea{min-height:125px}.post-detail-actions{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.publication-confirm-cover{width:100px;height:135px;object-fit:cover;border-radius:12px}.publication-caption{white-space:pre-wrap;line-height:1.7}
.scheduler-screen .schedule-composer{border-radius:26px;padding:28px}.scheduler-screen .schedule-composer .cols{gap:24px}.scheduler-screen .schedule-composer h2{font-size:20px;margin:24px 0 16px}.scheduler-screen .schedule-composer label,.scheduler-screen .schedule-video-row{font-size:14px}.scheduler-screen .schedule-composer .panel{padding:24px;border-radius:20px}.scheduler-screen .schedule-video-row small{font-size:12px}.scheduler-screen .schedule-channels label{padding:16px;font-size:14px;border-radius:12px}.scheduler-screen .schedule-channels small{font-size:12px}
.account-avatar{position:relative;display:grid;place-items:center;flex:0 0 62px;width:62px;height:62px;border:2px solid #a77afa77;border-radius:50%;background:linear-gradient(135deg,#7541c9,#392453);overflow:hidden;font-size:24px;font-weight:800}.account-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.connected-account-row{gap:18px!important;flex-wrap:wrap}.connected-account-row>div{flex:1}.work-context-toolbar select{max-width:100%;white-space:normal}
@media(max-width:1000px){.scheduler-screen .calendar-workbench-hero{align-items:flex-start;flex-direction:column}.scheduler-screen .publishing-queue-row{grid-template-columns:20px 60px minmax(0,1fr)}.scheduler-screen .publishing-queue-row .actions{grid-column:2/-1;max-width:none;justify-content:flex-start}.scheduler-screen .calendar-fold>section{padding:16px}}
@media(prefers-reduced-motion:reduce){.scheduler-screen .calendar-post{transition:none}.scheduler-screen .calendar-post:hover{transform:none}}

.work-context-toolbar .ap-select-trigger span{white-space:normal;overflow-wrap:anywhere;line-height:1.6}.ap-select-option{overflow-wrap:anywhere}.work-context-toolbar .ap-select{max-width:min(100%,740px)}
