.scheduler-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:16px;margin:16px 0}.scheduler-grid label{display:flex;flex-direction:column;gap:6px}.scheduler-provider,.scheduler-mapping{padding:20px 0;border:0;border-bottom:1px solid var(--border,#e5e7eb);margin-bottom:16px}.scheduler-copy{max-width:440px;white-space:pre-wrap;overflow-wrap:anywhere}.scheduler-mapping input:not([type=checkbox]),.scheduler-provider input:not([type=checkbox]),:is(#scheduler-settings,#scheduler-setup)>label textarea{width:100%}.scheduler-provider-list input[type=checkbox],.scheduler-mapping input[type=checkbox],:is(#scheduler-settings,#scheduler-setup) input[type=checkbox]{width:auto}.scheduler-provider h3{margin-top:0}:is(#scheduler-settings,#scheduler-setup)>.button-row{margin:20px 0}:is(#scheduler-settings,#scheduler-setup) textarea{display:block}:is(#scheduler-settings,#scheduler-setup) label{line-height:1.5}
.scheduler-grid input,.scheduler-grid select,:is(#scheduler-settings,#scheduler-setup) textarea{box-sizing:border-box;min-width:0;width:100%;min-height:42px;border:1px solid #dfe2e6;border-radius:6px;padding:10px 12px;background:#fff;color:#30353c;font:inherit;font-size:13px}.scheduler-grid input:focus,.scheduler-grid select:focus,:is(#scheduler-settings,#scheduler-setup) textarea:focus{outline:2px solid #1368ff;outline-offset:2px}.scheduler-provider input[type=checkbox],:is(#scheduler-settings,#scheduler-setup) input[type=checkbox]{accent-color:#1368ff}.scheduler-mapping{min-width:0}.scheduler-provider>label{display:flex;gap:8px;align-items:flex-start;line-height:1.5}.scheduler-provider .button-row,:is(#scheduler-settings,#scheduler-setup) .button-row{flex-wrap:wrap}.scheduler-provider p{line-height:1.6}.scheduler-provider .button-row button{white-space:normal;text-align:left}.scheduler-grid label{font-size:13px}.scheduler-provider-list{min-width:0}@media(max-width:620px){.scheduler-grid{grid-template-columns:minmax(0,1fr)}.scheduler-grid input,.scheduler-grid select,:is(#scheduler-settings,#scheduler-setup) textarea{font-size:16px;min-height:44px}.scheduler-provider .button-row{align-items:stretch;flex-direction:column}}
.scheduler-grid [hidden]{display:none!important}#scheduler-composer>label{display:block;margin:14px 0;line-height:1.5}#scheduler-composer textarea{box-sizing:border-box;display:block;width:100%;padding:10px 12px;border:1px solid #dfe2e6;border-radius:6px;font:inherit}#scheduler-composer input[type=checkbox]{width:auto;accent-color:#1368ff}#scheduler-composer .button-row{flex-wrap:wrap}#scheduler-posts button{margin:3px;white-space:normal}#scheduler-composer [data-save-result]{overflow-wrap:anywhere}
.scheduler-header-actions{display:flex;flex-wrap:wrap;gap:8px;flex-shrink:0}
.scheduler-sop{box-sizing:border-box;width:min(900px,calc(100vw - 32px));max-width:900px;max-height:calc(100dvh - 32px);padding:0;border:1px solid #dfe5ee;border-radius:16px;background:#fff;color:#263243;box-shadow:0 24px 80px #10243d40;overflow:hidden}
.scheduler-sop[open]{display:flex;flex-direction:column}
.scheduler-sop::backdrop{background:#10243d99;backdrop-filter:blur(3px)}
.scheduler-sop-header{display:flex;height:auto;align-items:flex-start;justify-content:space-between;gap:20px;padding:24px 28px 20px;border-bottom:1px solid #e2e8f0;background:#f8faff;flex-shrink:0}
.scheduler-sop-header h2{font-size:26px;line-height:1.2;margin:5px 0 8px;color:#182a42}
.scheduler-sop-header p{margin:0;font-size:14px;line-height:1.5;color:#536176}
.scheduler-sop-header .scheduler-sop-eyebrow{color:#1368ff;font-size:12px;font-weight:700;letter-spacing:.04em}
.scheduler-sop-body{padding:0 28px 12px;overflow-y:auto;overscroll-behavior:contain;min-height:0;line-height:1.65;font-size:15px}
.scheduler-sop-body:focus-visible{outline:2px solid #1368ff;outline-offset:-3px}
.scheduler-sop-body section{padding:26px 0;border-bottom:1px solid #e2e8f0}
.scheduler-sop-body section:last-child{border-bottom:0}
.scheduler-sop-body h3{margin:0 0 7px;font-size:20px;line-height:1.35;color:#182a42}
.scheduler-sop-body p{margin:12px 0}
.scheduler-sop-body .scheduler-sop-subtext{color:#58667a;margin-top:0}
.scheduler-sop-body ol,.scheduler-sop-body ul{padding-left:23px;margin:14px 0}
.scheduler-sop-body li{margin:10px 0;padding-left:4px}
.scheduler-sop-body a{color:#0a50d2;text-decoration:underline;text-underline-offset:3px}
.scheduler-sop-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}
.scheduler-sop-facts>div{padding:14px;background:#eef4ff;border:1px solid #d8e5ff;border-radius:10px}
.scheduler-sop-facts strong{display:block;font-size:19px;color:#1253b4;line-height:1.4}
.scheduler-sop-facts span{display:block;font-size:12px;color:#405474;margin-top:5px;line-height:1.5}
.scheduler-sop-callout{margin:18px 0;padding:16px 18px;background:#fff8e8;border-left:4px solid #b66a08;border-radius:6px;color:#5d410f}
.scheduler-sop-callout p{margin:7px 0 0}
.scheduler-sop-table{overflow-x:auto;margin:18px 0;border:1px solid #e2e8f0;border-radius:10px}
.scheduler-sop table{width:100%;border-collapse:collapse;white-space:normal;font-size:14px;table-layout:fixed}
.scheduler-sop caption{text-align:left;padding:14px 16px;background:#f8faff;font-weight:700;color:#263243}
.scheduler-sop th,.scheduler-sop td{padding:12px 16px;border-top:1px solid #e2e8f0;vertical-align:top;text-align:left;white-space:normal;overflow-wrap:anywhere;line-height:1.6}
.scheduler-sop th:first-child,.scheduler-sop td:first-child{width:26%;font-weight:600}
.scheduler-sop-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;border-top:1px solid #e2e8f0;padding:16px 28px;background:#f8faff;flex-shrink:0}
.scheduler-sop-footer span{font-size:12px;color:#536176;line-height:1.5}
.scheduler-sop button{min-height:42px;flex-shrink:0}
@media(max-width:620px){.scheduler-header-actions{margin-top:8px}.scheduler-sop{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:12px}.scheduler-sop-header{padding:18px 16px;gap:12px}.scheduler-sop-header h2{font-size:23px}.scheduler-sop-body{padding:0 16px 8px;font-size:15px}.scheduler-sop-body h3{font-size:19px}.scheduler-sop-facts{grid-template-columns:1fr;gap:8px}.scheduler-sop-facts>div{padding:10px 12px}.scheduler-sop-facts strong{font-size:18px}.scheduler-sop th,.scheduler-sop td{padding:10px}.scheduler-sop-footer{padding:12px 16px}.scheduler-sop-footer span{max-width:190px}.scheduler-sop button{min-height:44px}}

[data-scheduler-panel][hidden]{display:none!important}
.scheduler-tabs{margin:22px 0 0;gap:26px}
.scheduler-spreadsheet-tabs{margin-top:12px;gap:22px}
.scheduler-spreadsheet-tabs button{font-size:12px}
#scheduler-panel-spreadsheet[hidden]{display:none!important}
.scheduler-dashboard-tabs{margin-top:12px;gap:22px}
.scheduler-dashboard-tabs button{font-size:12px}
.scheduler-dashboard-settings [data-dashboard-settings-panel][hidden]{display:none!important}
.scheduler-dashboard-settings .scheduler-dashboard-intro{max-width:88ch;color:#697079;line-height:1.6}
.scheduler-dashboard-publishing{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;padding:18px 20px;margin:24px 0;background:#f7f9fc;border:1px solid #e1e5ea;border-radius:8px}
.scheduler-dashboard-publishing strong{font-size:14px}.scheduler-dashboard-publishing p{margin:6px 0 0;font-size:12px;color:#697079;line-height:1.6}
.scheduler-dashboard-publishing label,.scheduler-dashboard-check{display:flex;align-items:center;gap:8px;font-size:13px}
.scheduler-dashboard-settings input[type=checkbox]{width:auto;accent-color:#1368ff}
.scheduler-dashboard-general-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));align-items:start;gap:16px}
.scheduler-dashboard-general-grid .scheduler-grid{grid-template-columns:minmax(0,1fr);margin-bottom:0}
.scheduler-dashboard-save{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;padding-top:24px}
.scheduler-dashboard-save p{max-width:70ch;font-size:12px;line-height:1.6;margin:0}
.scheduler-dashboard-shared{font-size:13px;color:#697079;line-height:1.6}.scheduler-dashboard-shared summary{cursor:pointer;color:#444b54}
.scheduler-dashboard-aliases{display:flex;flex-direction:column;gap:6px;margin:12px 0 16px}
.scheduler-dashboard-settings [data-dashboard-humanizer] .scheduler-card>label:not(:has(input[type=checkbox])){display:flex;flex-direction:column;gap:6px;margin-top:16px}
@media(max-width:620px){.scheduler-dashboard-general-grid{grid-template-columns:minmax(0,1fr)}.scheduler-dashboard-save{align-items:stretch;flex-direction:column}.scheduler-dashboard-publishing{align-items:flex-start;flex-direction:column}}
.scheduler-overview.panel{margin-top:0}
.scheduler-status{padding:12px 14px;border:1px solid var(--workspace-line,#e6e8eb);border-radius:6px;background:#f7f8f9;font-size:13px}
.scheduler-checklist{list-style:none;padding:0;margin:18px 0;display:grid;gap:8px;font-size:13px}
.scheduler-queue-actions{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0 0}
@media(max-width:620px){.scheduler-tabs{gap:22px}.scheduler-tabs button{flex-shrink:0}}

.scheduler-sheet-actions{display:flex;flex-wrap:wrap;gap:8px}.scheduler-sheet-actions a{text-decoration:none}.scheduler-sheet-frame{overflow:hidden;border:1px solid var(--workspace-line,#e6e8eb);border-radius:8px;background:#fff}.scheduler-sheet-frame iframe{display:block;width:100%;height:65vh;min-height:440px;border:0}.scheduler-sheet-panel .panel-head{justify-content:space-between}.scheduler-sheet-panel [hidden]{display:none!important}

.scheduler-sheet-actions a.secondary{display:inline-flex;align-items:center;justify-content:center;color:#444b54;border:1px solid #dfe2e6;border-radius:6px;padding:9px 13px;font-size:13px;font-weight:450;background:#fff;box-shadow:0 1px 2px #00000003;line-height:normal}.scheduler-sheet-actions a.secondary:hover{background:#f7f8f9;border-color:#c7cbd1}.scheduler-sheet-actions a.secondary:focus-visible{outline:2px solid #1368ff;outline-offset:2px}

.scheduler-provider-heading{display:flex;align-items:center;gap:10px}.scheduler-provider-heading .account-avatar,.scheduler-provider-heading .platform{width:32px;height:26px;border-radius:3px;object-fit:cover;flex:none;font-size:14px}

#scheduler-setup{max-width:1120px}
.scheduler-setup-step{padding:26px 0;border-top:1px solid var(--workspace-line,#e6e8eb);margin-top:24px}
.scheduler-step-heading{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.scheduler-step-heading h3{margin:0;font-size:17px}.scheduler-step-number{display:grid;place-items:center;width:28px;height:28px;flex:none;background:#edf3ff;color:#1368ff;border-radius:6px;font-weight:600}
.scheduler-setup-badge{font-size:12px;color:#626973;background:#f3f4f6;border:1px solid #e6e8eb;border-radius:5px;padding:4px 8px;margin-left:auto}
.scheduler-setup-badge[data-complete="false"]{color:#991b1b;background:#fef2f2;border-color:#fecaca}
.scheduler-setup-badge[data-complete="true"]{color:#166534;background:#f0fdf4;border-color:#bbf7d0}
#scheduler-setup .scheduler-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.scheduler-field-help{display:block;font-size:12px;line-height:1.6;color:#697079;margin-top:6px;font-weight:400;overflow-wrap:anywhere}
#scheduler-settings [name="tabs"]{margin-top:8px;max-width:480px;resize:vertical}
.scheduler-setup-step p,.scheduler-setup-step li{line-height:1.65}.scheduler-setup-step li{margin:10px 0}
#scheduler-setup .scheduler-mapping{border:1px solid #dfe2e6;border-radius:8px;padding:20px;margin:22px 0;background:#fff}
.scheduler-mapping legend{font-weight:600;padding:0 8px;font-size:15px}
.scheduler-mapping-options{display:grid;gap:5px;margin:18px 0}.scheduler-mapping-options small{color:#697079;margin-left:22px;line-height:1.6}
.scheduler-mapping-details{border-top:1px solid #e6e8eb;padding:16px 0}.scheduler-mapping-details summary{cursor:pointer;font-weight:500;color:#444b54}.scheduler-mapping-details summary:focus-visible{outline:2px solid #1368ff;outline-offset:4px}
.scheduler-retailers{display:flex;flex-wrap:wrap;gap:12px 24px}.scheduler-mapping-footer{display:flex;justify-content:flex-end;padding-top:12px}
.scheduler-mapping-empty{background:#f7f8f9;border:1px dashed #dfe2e6;border-radius:6px;padding:18px}
@media(max-width:620px){#scheduler-setup .scheduler-grid{grid-template-columns:minmax(0,1fr)}.scheduler-setup-badge{margin-left:40px}.scheduler-step-heading h3{flex:1;min-width:180px}#scheduler-setup .scheduler-mapping{padding:16px}.scheduler-mapping-footer{justify-content:flex-start}}

/* Compact control cards with a status badge and separate bottom action. */
.scheduler-power{display:grid;grid-template-columns:repeat(2,minmax(0,264px));gap:16px;margin:24px 0 20px}
.scheduler-power>section{box-sizing:border-box;display:flex;flex-direction:column;min-height:184px;min-width:0;border:1px solid #e1e5ea;border-radius:8px;padding:20px;background:linear-gradient(145deg,#fff,#f8f9fb);box-shadow:0 1px 2px #10243d05}
.scheduler-power-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.scheduler-power h3{margin:0;font-size:15px;line-height:1.4;font-weight:600;color:#30353c}
.scheduler-power section p{font-size:12px;color:#697079;margin:16px 0 20px;line-height:1.6;max-width:28ch}
.scheduler-power [data-power-status]{flex:none;font-size:12px;font-weight:500;line-height:1.4;padding:3px 8px;border:1px solid;border-radius:5px}
.scheduler-power [data-on="true"]{background:#f0fdf4;color:#166534;border-color:#bbf7d0}.scheduler-power [data-on="false"]{background:#fef2f2;color:#991b1b;border-color:#fecaca}
.scheduler-power button.secondary{width:100%;min-height:40px;margin-top:auto;text-align:center;white-space:normal;background:#fff;color:#444b54;border:1px solid #dfe2e6}
.scheduler-power button.secondary:hover{background:#f7f8f9;border-color:#c7cbd1}.scheduler-power button.secondary:focus-visible{outline:2px solid #1368ff;outline-offset:3px}.scheduler-power button.secondary:disabled{opacity:.6;cursor:wait}
.scheduler-power-help{grid-column:1/-1;font-size:12px;line-height:1.7;margin:0;color:#697079}
@media(max-width:620px){.scheduler-power{grid-template-columns:minmax(0,264px);gap:12px}.scheduler-power>section{padding:18px}}

.scheduler-start-dialog{width:min(480px,calc(100vw - 40px));box-sizing:border-box;padding:24px;border:1px solid #dfe2e6;border-radius:10px;color:#30353c}.scheduler-start-dialog::backdrop{background:#10243d99}.scheduler-start-dialog p{line-height:1.6}.scheduler-start-dialog .button-row{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.scheduler-clear-dialog .scheduler-clear-channel,.scheduler-clear-dialog [data-clear-before]{display:flex;flex-direction:column;gap:7px;font-size:13px}
.scheduler-clear-dialog fieldset{border:0;padding:0;margin:12px 0}.scheduler-clear-dialog legend{font-size:13px;margin-bottom:8px}
.scheduler-clear-dialog .scheduler-clear-days{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:12px}
.scheduler-clear-dialog .scheduler-clear-days label{display:flex;gap:7px;align-items:center;border:1px solid #dfe2e6;border-radius:7px;padding:9px;font-size:13px}
.scheduler-slot-dialog.scheduler-clear-dialog .scheduler-clear-days input{width:16px;height:16px;min-height:16px;padding:0;flex-shrink:0;accent-color:#1368ff}
.scheduler-clear-dialog .scheduler-clear-days small{white-space:nowrap}
.scheduler-clear-dialog small{display:block;color:#697079;font-size:11px;margin-top:4px}
.scheduler-clear-dialog [data-clear-result]{font-weight:600;color:#30353c}
@media(max-width:620px){.scheduler-clear-dialog .scheduler-clear-days{grid-template-columns:repeat(2,minmax(0,1fr))}.scheduler-clear-dialog .button-row{flex-wrap:wrap}}

/* Shared Scheduler cards: the same surface as the top-level power controls. */
.scheduler-card{box-sizing:border-box;min-width:0;border:1px solid #e1e5ea;border-radius:8px;padding:20px;background:linear-gradient(145deg,#fff,#f8f9fb);box-shadow:0 1px 2px #10243d05}
.scheduler-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),416px));gap:16px;align-items:start;margin:24px 0;max-width:1280px}
.scheduler-card h3,.scheduler-card>strong{display:block;margin:0 0 16px;font-size:15px;line-height:1.4;font-weight:600;color:#30353c}
.scheduler-card p,.scheduler-card li{font-size:13px;line-height:1.65;color:#697079;overflow-wrap:anywhere}
.scheduler-card p:last-child{margin-bottom:0}.scheduler-card label{font-size:13px;line-height:1.5}
.scheduler-card input:not([type=checkbox]),.scheduler-card select,.scheduler-card textarea{box-sizing:border-box;min-width:0;width:100%;min-height:42px;padding:10px 12px;border:1px solid #dfe2e6;border-radius:6px;background:#fff;color:#30353c;font:inherit;font-size:13px}
.scheduler-card textarea{resize:vertical}.scheduler-card [hidden]{display:none!important}
.scheduler-card input:focus-visible,.scheduler-card select:focus-visible,.scheduler-card textarea:focus-visible{outline:2px solid #1368ff;outline-offset:2px}
.scheduler-field-card>label{display:flex;flex-direction:column;gap:6px;margin-top:16px}.scheduler-field-card>label:has(input[type=checkbox]){display:block}.scheduler-field-card input[type=checkbox]{width:auto;accent-color:#1368ff;margin-right:6px}
.scheduler-card .button-row{display:flex;gap:8px;flex-wrap:wrap}.scheduler-card button.primary{background:#fff;color:#444b54;border:1px solid #dfe2e6}.scheduler-card button.primary:hover{background:#f7f8f9;border-color:#c7cbd1}
.scheduler-queue-health>.scheduler-grid,.scheduler-budget>.scheduler-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),264px));gap:16px;max-width:824px}
.scheduler-queue-health .scheduler-card,.scheduler-budget .scheduler-card{min-height:132px}.scheduler-queue-health>p,.scheduler-budget>p{max-width:88ch}
#scheduler-settings .scheduler-setup-step.scheduler-card{margin:0;padding:20px;border:1px solid #e1e5ea}
#scheduler-settings .scheduler-card .scheduler-grid{grid-template-columns:minmax(0,1fr);margin:16px 0}
#scheduler-settings .scheduler-card .scheduler-step-heading{align-items:flex-start;gap:10px}#scheduler-settings .scheduler-card .scheduler-step-heading h3{flex:1;min-width:0;margin:0;font-size:15px}
#scheduler-settings .scheduler-card .scheduler-setup-badge{margin:0;flex:none}#scheduler-settings .scheduler-card [name="tabs"]{max-width:none}
#scheduler-settings .scheduler-card ol{padding-left:20px}#scheduler-settings .scheduler-card li{margin:10px 0}
#scheduler-setup{max-width:none}#scheduler-setup>p,#scheduler-setup .scheduler-setup-step>p{max-width:88ch}
#scheduler-mappings{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),416px));gap:16px;align-items:start;margin:24px 0;max-width:1280px}
#scheduler-setup .scheduler-mapping.scheduler-card{margin:0;padding:20px;background:linear-gradient(145deg,#fff,#f8f9fb);border-color:#e1e5ea}
#scheduler-setup .scheduler-mapping .scheduler-grid{grid-template-columns:minmax(0,1fr);gap:16px}.scheduler-mapping legend{max-width:100%;overflow-wrap:anywhere}
.scheduler-mapping-details summary{font-size:13px}.scheduler-mapping-details h4{font-size:13px}.scheduler-mapping-footer button{width:100%}
.scheduler-channel-api .scheduler-provider-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),416px));gap:16px;align-items:stretch;max-width:1280px;margin-top:24px}
.scheduler-channel-api .scheduler-provider.scheduler-card{display:flex;flex-direction:column;margin:0;padding:20px;border:1px solid #e1e5ea}
.scheduler-channel-api .scheduler-provider .scheduler-grid{grid-template-columns:minmax(0,1fr);margin:4px 0 16px}.scheduler-channel-api .scheduler-provider-heading{display:flex;margin-bottom:16px}
.scheduler-channel-api .scheduler-provider-heading span{overflow-wrap:anywhere}.scheduler-channel-api .scheduler-provider>.button-row{margin-top:auto;padding-top:16px;display:grid;grid-template-columns:1fr}
.scheduler-channel-api .scheduler-provider button{text-align:center;min-height:40px}.scheduler-channel-api [data-result]:empty{display:none}
#scheduler-composer>.muted{max-width:88ch}#scheduler-composer .scheduler-field-card textarea{margin:0}#scheduler-composer .scheduler-field-card:has([name="images"]){min-height:240px}
@media(max-width:620px){.scheduler-card-grid,#scheduler-mappings,.scheduler-channel-api .scheduler-provider-list{grid-template-columns:minmax(0,1fr);max-width:416px}.scheduler-card{padding:18px}.scheduler-card input:not([type=checkbox]),.scheduler-card select,.scheduler-card textarea{font-size:16px}.scheduler-card .button-row{align-items:stretch;flex-direction:column}}

.scheduler-channel-triggers h4{font-size:13px;margin:8px 0}.scheduler-trigger-row{display:flex;align-items:flex-end;gap:8px;margin:10px 0}.scheduler-trigger-row label{flex:1;min-width:0}.scheduler-trigger-row label input{display:block;margin-top:5px}.scheduler-trigger-row button{flex:none;height:42px}.scheduler-channel-api .scheduler-provider details>label{display:block;font-size:13px;line-height:1.6}.scheduler-channel-api .scheduler-channel-status{margin:0 0 14px}.scheduler-channel-status .scheduler-setup-badge{margin:0;display:inline-block}.scheduler-channel-api [data-save-result],.scheduler-channel-api [data-verify-result]{overflow-wrap:anywhere}.scheduler-channel-api [data-save-result]:empty,.scheduler-channel-api [data-verify-result]:empty{display:none}

/* Use the full settings area while retaining compact, readable cards. */
#scheduler-settings>.scheduler-card-grid,.scheduler-channel-api .scheduler-provider-list{max-width:none;grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr))}
.scheduler-channel-header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:14px}.scheduler-channel-api .scheduler-channel-header .scheduler-provider-heading{flex:1;min-width:0;margin:0}.scheduler-channel-order{display:flex;flex:none;gap:4px}.scheduler-channel-api .scheduler-channel-order button{display:grid;place-items:center;width:30px;min-height:30px;padding:4px}.scheduler-channel-order svg{display:block;pointer-events:none}.scheduler-channel-order button:disabled{opacity:.45;cursor:default}

/* Compact overview, usage cards, and channel section spacing. */
.scheduler-overview .scheduler-status{display:inline-block;width:fit-content;max-width:100%;box-sizing:border-box;margin-top:12px}
.scheduler-budget .scheduler-card{min-height:0;padding:16px 20px}.scheduler-budget .scheduler-card>strong{margin-bottom:10px}.scheduler-budget .scheduler-card p{margin:0}
.scheduler-channel-api .scheduler-mapping-details{padding-top:24px;padding-bottom:20px}.scheduler-channel-api .scheduler-mapping-details[open]>summary{margin-bottom:16px}
.scheduler-channel-order [data-reorder]{cursor:grab;touch-action:none;user-select:none}.scheduler-channel-order [data-reorder]:active{cursor:grabbing}
.scheduler-channel-api .scheduler-dragging{opacity:.55}.scheduler-channel-api .scheduler-drop-target{outline:2px solid #1368ff;outline-offset:3px}

/* Scheduler Overview keeps controls and health together without crowding the queue. */
.scheduler-overview-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:start}
.scheduler-overview-layout[hidden]{display:none}
.scheduler-overview-layout>.panel{margin:0;min-width:0}
.scheduler-overview-layout .scheduler-power{grid-template-columns:repeat(3,minmax(0,1fr));max-width:none}
.scheduler-overview-layout .scheduler-power>section{padding:16px;min-height:170px}
@media(min-width:541px) and (max-width:800px){.scheduler-overview-layout .scheduler-power{grid-template-columns:repeat(2,minmax(0,1fr))}}
.scheduler-overview-layout .scheduler-grid{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}
.scheduler-overview-layout .scheduler-status{max-width:100%;white-space:normal}
.scheduler-overview-layout .panel-head{flex-wrap:wrap;gap:12px}
.operations-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,280px));gap:16px;margin:20px 0}
.operations-metrics .scheduler-card{min-height:0}
.operations-metrics strong{display:block;font-size:25px;margin:12px 0 4px;font-variant-numeric:tabular-nums}
.operations-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin:20px 0}
.operations-toolbar label{display:flex;align-items:center;gap:10px}
.operations-toolbar select{width:auto}
@media(max-width:1200px){.scheduler-overview-layout{grid-template-columns:1fr}}
@media(max-width:540px){.scheduler-overview-layout .scheduler-power{grid-template-columns:1fr}.operations-metrics{grid-template-columns:1fr}}

.scheduler-toolbar{display:flex;align-items:center;gap:24px;margin-bottom:24px}
.scheduler-toolbar>.scheduler-tabs{flex:1 1 auto;margin:0;min-width:0}
.scheduler-toolbar>[data-refresh]{flex:0 0 auto}

.operations-event-details{white-space:pre-wrap;overflow-wrap:anywhere;max-width:45ch;font-size:12px}

#scheduler-buffer-settings>.buffer-cadence{max-width:900px;margin:24px 0;box-sizing:border-box}
.buffer-cadence>label{max-width:280px}.buffer-cadence details{border-top:1px solid #e1e5ea;margin-top:18px;padding-top:18px}
.buffer-cadence summary{font-weight:600;cursor:pointer}.buffer-cadence .buffer-planning-page{display:grid;grid-template-columns:minmax(0,1fr) minmax(90px,150px) auto;align-items:end;gap:12px;margin-bottom:12px}
.buffer-cadence .buffer-planning-page button{margin-bottom:0;min-height:42px}.buffer-cadence .buffer-planning-inputs{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));margin-top:20px}
#scheduler-buffer-settings .buffer-cadence .buffer-planning-inputs{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}
.buffer-cadence .operations-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.buffer-cadence .operations-metrics span{font-size:12px}
@media(max-width:540px){.buffer-cadence .buffer-planning-page{grid-template-columns:minmax(0,1fr) 100px}.buffer-cadence .buffer-planning-page button{grid-column:1/-1}.buffer-cadence .operations-metrics{grid-template-columns:1fr}}

#scheduler-buffer-settings{max-width:960px}#scheduler-buffer-settings>.buffer-cadence{margin-top:0}

.buffer-cadence .operations-metrics .buffer-estimate-total{font-size:inherit}.buffer-estimate-total.within-limit{color:#168055}.buffer-estimate-total.over-limit{color:#b83232}

.scheduler-posted{color:#168055;font-weight:600}
/* Dashboard Schedule / Templates only. Queue and Sheets keep their own layout. */
.scheduler-inline-table{table-layout:fixed;min-width:1300px;width:100%}
.scheduler-inline-table .scheduler-slot-move{width:42px}.scheduler-inline-table .scheduler-slot-time{width:160px}.scheduler-inline-table .scheduler-slot-channel{width:180px}.scheduler-inline-table .scheduler-slot-copy{width:29%}.scheduler-inline-table .scheduler-slot-media{width:23%}.scheduler-inline-table .scheduler-slot-status{width:140px}.scheduler-inline-table .scheduler-slot-actions{width:150px}
.scheduler-week-board .scheduler-inline-table td{padding:12px 6px;vertical-align:top;white-space:normal}
.scheduler-inline-table :is(input,select,textarea),.scheduler-template-editor :is(input:not([type=checkbox]),select,textarea),.scheduler-slot-dialog :is(input:not([type=radio]),select){box-sizing:border-box;min-width:0;width:100%;border:1px solid #dfe2e6;border-radius:6px;background:#fff;color:#30353c;font:inherit;font-size:13px;padding:9px 10px;min-height:40px}
.scheduler-inline-table textarea{display:block;resize:vertical;line-height:1.5}
.scheduler-inline-table :is(input,select,textarea):focus,.scheduler-template-editor :is(input,select,textarea):focus,.scheduler-slot-dialog :is(input,select):focus{outline:2px solid #1368ff;outline-offset:1px}
.scheduler-clock{display:flex;align-items:center;gap:5px;min-width:0}.scheduler-clock>[data-clock]{flex:1;width:75px}.scheduler-clock>[data-period]{flex:0 0 64px;width:64px;padding-left:7px;padding-right:4px}
.scheduler-inline-table small,.scheduler-duplicate-option small{display:block;font-size:11px;line-height:1.5;color:#697079;margin-top:6px;overflow-wrap:anywhere}.scheduler-inline-table .error{color:#b42318}
.scheduler-slot-badge{display:inline-block;border:1px solid #e1e5ea;border-radius:5px;background:#f7f8fa;padding:5px 9px;font-size:12px}
.scheduler-slot-buttons{display:flex;gap:5px;flex-wrap:wrap}.scheduler-slot-buttons button{min-height:36px;padding:7px 9px;font-size:12px}
.scheduler-slot-buttons .scheduler-icon svg{display:block;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.scheduler-icon{display:grid;place-items:center;min-width:32px;font-size:18px}
.scheduler-slot-grip{appearance:none;display:inline-grid;place-items:center;cursor:grab;min-width:26px;min-height:40px;padding:8px 4px;font-size:20px;color:#657180;background:transparent;border:0;border-radius:0;box-shadow:none}
.scheduler-slot-grip:hover:not(:disabled){color:#1368ff;background:transparent;box-shadow:none}.scheduler-slot-grip:active{cursor:grabbing}.scheduler-slot-grip:disabled{cursor:default;opacity:.3}.scheduler-slot-grip:focus-visible{outline:2px solid #1368ff;outline-offset:2px}
.scheduler-slot-dragging{opacity:.5}.scheduler-inline-table .scheduler-slot-drop{outline:2px solid #1368ff;outline-offset:-2px;background:#f0f5ff}
.scheduler-slot-readonly :is(input,select,textarea):disabled{background:#f5f6f8;color:#697079;opacity:1}
.scheduler-slot-details{margin-top:8px;font-size:12px}.scheduler-slot-details summary,.scheduler-paste-times summary{cursor:pointer;color:#58667a}.scheduler-slot-details[open]{padding:12px;border:1px solid #e1e5ea;border-radius:6px;background:#fafbfc}.scheduler-slot-details label{display:flex;flex-direction:column;gap:5px;margin:12px 0}.scheduler-slot-details label.scheduler-inline-check{flex-direction:row;align-items:center}.scheduler-inline-check input{width:auto;min-height:0;accent-color:#1368ff}.scheduler-slot-details .button-row{flex-wrap:wrap;margin-top:10px}
.scheduler-inline-templates{display:grid;gap:24px}.scheduler-saved-template{border:1px solid #e1e5ea;border-radius:8px;padding:20px;min-width:0}.scheduler-template-editor .panel-head{align-items:center;gap:12px;flex-wrap:wrap}.scheduler-template-editor [data-template-result]{font-size:12px;color:#697079;max-width:55ch}.scheduler-template-editor [data-template-result].error{color:#b42318}.scheduler-template-editor>.button-row{margin-top:18px}
.scheduler-template-editor .scheduler-time-range{grid-template-columns:minmax(0,1fr);gap:14px}.scheduler-template-editor [data-exact-times]{display:grid;gap:8px;max-height:300px;overflow:auto;margin-bottom:12px;padding:3px}.scheduler-exact-time{display:flex;align-items:center;gap:8px}.scheduler-exact-time .scheduler-clock{flex:1}.scheduler-exact-time>button{flex:none}.scheduler-paste-times{margin-top:16px}.scheduler-paste-times label{display:flex;flex-direction:column;gap:8px;margin:12px 0}
.scheduler-slot-dialog{box-sizing:border-box;width:min(560px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:26px;border:1px solid #e1e5ea;border-radius:14px;background:#fff;color:#30353c;box-shadow:0 24px 80px #10243d40}.scheduler-slot-dialog::backdrop{background:#10243d88}.scheduler-slot-dialog .panel-head{display:flex;align-items:center;justify-content:space-between;gap:15px}.scheduler-slot-dialog h2{margin:0;font-size:22px}.scheduler-slot-dialog p{font-size:14px;line-height:1.6;color:#697079}.scheduler-slot-dialog .button-row{justify-content:flex-end;margin-top:22px}.scheduler-slot-dialog [hidden]{display:none!important}.scheduler-duplicate-option{display:flex;gap:12px;align-items:flex-start;border:1px solid #dfe2e6;border-radius:10px;padding:16px;margin:12px 0;cursor:pointer}.scheduler-duplicate-option input{width:auto;accent-color:#1368ff;margin-top:3px}.scheduler-duplicate-option:has(input:checked){border-color:#1368ff;background:#f5f8ff}.scheduler-duplicate-option:has(input:disabled){opacity:.5;cursor:default}.scheduler-slot-dialog [data-specific]{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:end;margin:12px 0}.scheduler-slot-dialog [data-specific] label,.scheduler-slot-dialog [data-empty]{display:flex;flex-direction:column;gap:6px;font-size:13px}
@media(max-width:620px){.scheduler-saved-template{padding:14px}.scheduler-slot-dialog{padding:20px}.scheduler-slot-dialog [data-specific]{grid-template-columns:1fr}.scheduler-template-editor .scheduler-clock :is(input,select){font-size:16px}.scheduler-inline-table :is(input,select,textarea){font-size:16px}}
.scheduler-filters{margin:18px 0;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:14px}
.scheduler-queue-filters{display:flex;flex-wrap:wrap;align-items:end;gap:12px}
.scheduler-queue-filters>label{flex:0 1 148px;min-width:0}
.scheduler-queue-filters>label:has([name="channel"]){flex-basis:180px}
.scheduler-queue-filters>.scheduler-queue-search{flex:0 1 250px}
@media(max-width:620px){.scheduler-queue-filters>label{flex:1 1 140px}.scheduler-queue-filters>.scheduler-queue-search{flex-basis:100%}}
.scheduler-draft-editor textarea,[data-scheduler-panel="humanizer"] textarea{width:100%}
.scheduler-draft-editor .scheduler-card,[data-scheduler-panel="templates"] .scheduler-card,[data-scheduler-panel="humanizer"] .scheduler-card{display:flex;flex-direction:column;gap:14px}
.scheduler-draft-editor [data-draft-status]{padding:10px 14px;background:#f4f6f8;border-radius:6px}

.scheduler-instructions{margin-top:0;min-width:0}.scheduler-instructions label{display:flex;flex-direction:column;gap:8px}.scheduler-instructions textarea{width:100%;line-height:1.6;resize:vertical}.scheduler-prompt{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;line-height:1.6;background:#f4f6f8;border:1px solid var(--border,#e5e7eb);border-radius:8px;padding:16px;margin:12px 0}

/* Keep status details from squeezing the posting queue copy column. */
.scheduler-posting-table{table-layout:fixed;min-width:1300px}
.scheduler-posting-table .scheduler-col-scheduled{width:195px}
.scheduler-posting-table .scheduler-col-source{width:145px}
.scheduler-posting-table .scheduler-col-type{width:90px}
.scheduler-posting-table .scheduler-col-status{width:300px}
.scheduler-posting-table .scheduler-col-actions{width:220px}
.scheduler-posting-table .scheduler-copy{max-width:none}
.scheduler-posting-table td{overflow-wrap:anywhere}

.scheduler-pagination{display:flex;flex-direction:column;align-items:center;gap:12px;width:100%;padding:24px 0 4px;border-top:1px solid var(--border,#e5e7eb);margin-top:16px;text-align:center}
.scheduler-pagination>[data-count]{margin:0;color:#657180;font-size:13px;font-variant-numeric:tabular-nums}
.scheduler-page-controls{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:6px}
.scheduler-pagination button.secondary{margin:0;min-width:40px;min-height:40px;padding:8px 12px;border-radius:8px;font-size:14px;line-height:1.4}
.scheduler-pagination button.secondary[aria-current="page"],.scheduler-pagination button.secondary[aria-current="page"]:hover:not(:disabled){background:#1368FF;border-color:#1368FF;color:#fff;font-weight:600}
.scheduler-pagination button:disabled{opacity:.4;cursor:default}
.scheduler-pagination button:focus-visible{outline:2px solid #1368FF;outline-offset:3px}
.scheduler-page-gap{padding:0 4px;color:#657180}

.scheduler-card-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.scheduler-card .scheduler-card-heading h3{margin:0}.scheduler-card-heading .power-switch{flex:none}.scheduler-card-heading .power-switch:focus-visible{outline:2px solid #1368ff;outline-offset:3px}

.scheduler-card-heading .power-switch{width:64px;min-width:64px;height:28px;min-height:28px;padding:4px 8px 4px 4px;grid-template-columns:20px 1fr;gap:4px;font-size:10px}.scheduler-card-heading .power-switch span{width:20px;height:20px}.scheduler-card-heading .power-switch b{min-width:20px}.scheduler-card-heading .power-switch.on{padding:4px 4px 4px 8px;grid-template-columns:1fr 20px}

.scheduler-week-toolbar{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;flex-wrap:wrap;margin:24px 0}.scheduler-week-navigation,.scheduler-week-filters{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap}.scheduler-week-toolbar label,.scheduler-template-apply label{display:grid;gap:6px;font-size:12px;color:#657180}.scheduler-week-toolbar input,.scheduler-week-toolbar select,.scheduler-template-apply input{min-height:40px;padding:8px 12px;border:1px solid #dfe2e6;border-radius:6px;background:#fff;font:inherit;color:#30353c}.scheduler-week-filters select{max-width:240px}.scheduler-day-tabs{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;padding:6px;border:1px solid #e7eaf0;background:#f8f9fb;border-radius:10px}.scheduler-day-tabs button{display:grid;gap:5px;text-align:center;padding:12px 4px;background:transparent;border:1px solid transparent;border-radius:6px;color:#657180;cursor:pointer;font:inherit}.scheduler-day-tabs strong{font-weight:550;font-size:13px}.scheduler-day-tabs span{font-size:11px}.scheduler-day-tabs button[aria-selected=true]{background:#fff;border-color:#dce7ff;color:var(--ph-signature-blue);box-shadow:0 2px 5px #18243a08}.scheduler-day-tabs button:focus-visible{outline:2px solid var(--ph-signature-blue);outline-offset:2px}.scheduler-day-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-top:24px}.scheduler-day-heading h3{margin:0;font-size:16px;font-weight:550}.scheduler-week-board [data-board-result]{font-size:12px;color:#657180;margin:8px 0 16px}.scheduler-template-apply{display:flex;align-items:flex-end;gap:20px;margin:20px 0 24px}.scheduler-template-apply p{margin:0;max-width:560px}.scheduler-time-range{display:grid;grid-template-columns:1fr 1fr;gap:12px}.scheduler-days-heading{display:flex;justify-content:space-between;gap:8px;align-items:center}.scheduler-days-heading h3{margin:0}.scheduler-weekday-choices{display:flex;flex-wrap:wrap;gap:6px;margin:16px 0}.scheduler-weekday-choices label{position:relative;cursor:pointer;margin:0!important}.scheduler-weekday-choices input{position:absolute;width:1px!important;height:1px!important;opacity:0}.scheduler-weekday-choices span{display:block;padding:9px 10px;border:1px solid #dfe2e6;border-radius:6px;color:#657180;font-size:12px}.scheduler-weekday-choices input:checked+span{border-color:#b8ceff;background:#f0f5ff;color:var(--ph-signature-blue)}.scheduler-weekday-choices input:focus-visible+span{outline:2px solid var(--ph-signature-blue);outline-offset:2px}.scheduler-template-preview{padding:16px;background:#f8f9fb;border:1px solid #e7eaf0;border-radius:8px;font-size:13px}.scheduler-template-preview p{margin:8px 0 12px}.scheduler-preview-times{display:flex;flex-wrap:wrap;gap:6px}.scheduler-preview-times span{padding:5px 7px;border:1px solid #e3e7ed;border-radius:5px;background:#fff;font-size:11px;color:#657180}.scheduler-auto-slots{display:flex!important;align-items:flex-start;gap:8px}.scheduler-draft-editor[hidden],.scheduler-template-editor [hidden]{display:none!important}
.scheduler-template-editor>.scheduler-card-grid{grid-template-columns:repeat(3,minmax(0,1fr));max-width:none}
[data-template-list] .scheduler-card{gap:10px}[data-template-list] .scheduler-card p,[data-template-list] .scheduler-card h3{margin:0}[data-template-list] .scheduler-card .button-row{margin-top:8px}.scheduler-week-filters select{height:44px;white-space:nowrap;text-overflow:ellipsis}
.scheduler-week-board .table-scroll{height:auto;max-height:none;overflow-x:auto;overflow-y:visible;scrollbar-width:thin}.scheduler-week-board thead th{position:sticky;top:0;z-index:1;background:#f8f9fb}
.scheduler-slot-dialog [data-empty]{gap:12px;margin:12px 0}.scheduler-slot-dialog [data-empty]>label,.scheduler-slot-dialog .scheduler-copy-channel{display:flex;flex-direction:column;gap:6px;font-size:13px}.scheduler-slot-dialog .scheduler-copy-channel{margin-top:16px}
.scheduler-weekday-choices{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;margin:8px 0}.scheduler-weekday-choices span{text-align:center;font-size:11px;padding:9px 2px}
@media(max-width:1100px){.scheduler-template-editor>.scheduler-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.scheduler-template-editor .scheduler-card:last-child{grid-column:1/-1}}
@media(max-width:620px){.scheduler-week-board .panel-head,.scheduler-day-heading,.scheduler-template-apply{align-items:flex-start;flex-direction:column;gap:12px}.scheduler-template-editor>.scheduler-card-grid{grid-template-columns:minmax(0,1fr)}.scheduler-week-toolbar,.scheduler-week-navigation,.scheduler-week-filters{width:100%}.scheduler-week-filters label{flex:1;min-width:0}.scheduler-week-filters select{width:100%;max-width:none}.scheduler-day-tabs{gap:2px;padding:3px}.scheduler-day-tabs button{padding:11px 1px}.scheduler-day-tabs strong{font-size:11px}.scheduler-day-tabs span{font-size:9px}.scheduler-week-toolbar input,.scheduler-week-toolbar select,.scheduler-template-apply input{font-size:16px;min-height:44px}.scheduler-week-navigation label{flex:1}.scheduler-week-navigation [data-this-week]{width:100%}.scheduler-template-preview{padding:12px}.scheduler-week-board .table-scroll{margin-top:8px}}

/* Templates library and on-demand editor share the available desktop width. */
.scheduler-template-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start}
.scheduler-template-layout>.panel{margin:0;min-width:0}
.scheduler-template-workspace{container-type:inline-size;min-width:0}
.scheduler-template-workspace[hidden]{display:none!important}
.scheduler-template-layout .scheduler-inline-templates{grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:14px}
.scheduler-template-summary{display:flex;flex-direction:column;gap:10px}
.scheduler-template-summary h3,.scheduler-template-summary p{margin:0;overflow-wrap:anywhere}
.scheduler-template-summary>.button-row{margin-top:auto;padding-top:6px;flex-wrap:wrap}
.scheduler-template-layout .scheduler-template-apply{align-items:start;gap:14px}
.scheduler-template-layout .scheduler-template-apply label{flex:none}
.scheduler-template-layout .scheduler-template-apply p{font-size:12px;line-height:1.6}
.scheduler-template-workspace>.scheduler-template-editor{margin:0;padding:20px;min-width:0}
.scheduler-template-workspace .scheduler-template-editor>.panel-head{align-items:start}
.scheduler-template-workspace [data-template-title]{overflow-wrap:anywhere;font-size:18px}
.scheduler-template-save-note{font-size:12px;line-height:1.6;margin:0;color:#697079}
.scheduler-template-workspace .scheduler-card-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}
.scheduler-template-workspace .scheduler-card{padding:14px;gap:12px;grid-column:auto}
.scheduler-template-workspace .scheduler-card h3{margin:0;font-size:13px}
.scheduler-template-workspace .scheduler-card :is(p,label){margin:0;font-size:12px}
.scheduler-template-workspace .scheduler-card>label{display:grid;gap:6px}
.scheduler-template-workspace .scheduler-card :is(input:not([type=checkbox]),select,textarea){padding:8px;min-height:38px;font-size:12px}
.scheduler-template-workspace .scheduler-clock>[data-period]{flex-basis:53px;width:53px;padding-left:4px;padding-right:2px}
.scheduler-template-workspace .scheduler-clock>[data-clock]{width:60px}
.scheduler-template-workspace .scheduler-days-heading{flex-wrap:wrap}
.scheduler-template-workspace .scheduler-weekday-choices{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}
.scheduler-template-workspace .scheduler-template-preview{padding:10px;font-size:12px}
.scheduler-template-workspace .button-row{flex-wrap:wrap}
.scheduler-template-workspace .scheduler-card button{font-size:12px;padding:8px 10px}
@container(max-width:680px){.scheduler-template-workspace .scheduler-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.scheduler-template-workspace .scheduler-card:last-child{grid-column:1/-1}.scheduler-template-workspace .scheduler-weekday-choices{grid-template-columns:repeat(7,minmax(0,1fr))}}
@container(max-width:440px){.scheduler-template-workspace .scheduler-card-grid{grid-template-columns:minmax(0,1fr)}.scheduler-template-workspace .scheduler-card:last-child{grid-column:auto}.scheduler-template-workspace .scheduler-card :is(input:not([type=checkbox]),select,textarea){font-size:16px}}
@media(max-width:1199px){.scheduler-template-layout{grid-template-columns:minmax(0,1fr)}}
@media(max-width:620px){.scheduler-template-workspace>.scheduler-template-editor{padding:16px}.scheduler-template-layout .scheduler-template-apply{flex-direction:column}.scheduler-template-library>.panel-head{flex-wrap:wrap;gap:12px}}

.scheduler-day-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin:12px 0}.scheduler-day-actions>label{display:flex;align-items:center;gap:7px;margin-right:auto;font-size:13px}.scheduler-day-actions input{accent-color:#1368ff}.scheduler-day-help{font-size:12px;line-height:1.6;max-width:980px}.scheduler-humanize-badge{display:block;margin:7px 0;border:1px solid #dce2eb;border-radius:999px;padding:4px 8px;font-size:11px!important;color:#647084;background:#f8f9fb}.scheduler-humanize-badge.is-on{border-color:#c8dcff;background:#edf4ff;color:#1368ff}.scheduler-humanize-badge:disabled{opacity:1;cursor:default}.scheduler-copy-day-dialog fieldset{border:1px solid #e2e6ec;border-radius:10px;padding:14px;margin:16px 0}.scheduler-copy-weekdays{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.scheduler-copy-weekdays label{display:flex;align-items:flex-start;gap:7px;padding:7px 0;font-size:13px}.scheduler-copy-weekdays small{display:block;color:#758091;font-size:11px}.scheduler-copy-day-dialog>form>p{font-size:13px;line-height:1.6}.scheduler-day-actions+.muted{margin-bottom:8px}[data-day-workflow-result]:not(:empty){padding:12px;border-radius:10px;background:#f0f6ff;color:#294b7d;font-size:13px;line-height:1.5}@media(max-width:600px){.scheduler-day-actions{justify-content:flex-start}.scheduler-day-actions>label{width:100%}.scheduler-copy-weekdays{grid-template-columns:repeat(2,minmax(0,1fr))}}
.scheduler-slot-dialog.scheduler-copy-day-dialog input[type=checkbox]{width:18px;height:18px;min-height:18px;min-width:18px;flex:0 0 18px;padding:0;margin:2px 0 0;accent-color:#1368ff}.scheduler-slot-dialog.scheduler-copy-day-dialog .scheduler-inline-check{display:flex;align-items:center;gap:9px}.scheduler-slot-dialog.scheduler-copy-day-dialog .scheduler-copy-weekdays small{white-space:nowrap}

/* Selected-day controls and on-demand guidance. */
.scheduler-week-board .scheduler-day-actions{display:grid;grid-template-columns:auto auto auto;justify-content:end;align-items:start;width:max-content;max-width:100%;margin:12px 0 12px auto;gap:10px}
.scheduler-day-humanizer{grid-column:1/-1;display:flex;align-items:center;justify-content:flex-end;gap:8px;font-size:13px}
.scheduler-day-humanizer label{display:flex;align-items:center;gap:7px;margin:0}
.scheduler-day-humanizer input[type=checkbox]{width:16px;height:16px;min-height:16px;padding:0;margin:0;accent-color:#1368ff}
.scheduler-day-info{position:relative;flex:none;margin:0}
.scheduler-day-info>summary{display:flex;align-items:center;justify-content:center;list-style:none;cursor:pointer;width:18px;height:18px;min-height:18px;box-sizing:border-box;padding:0;border:1px solid #8390a0;border-radius:50%;color:#596779;font-size:12px;font-weight:600;font-family:Georgia,serif}
.scheduler-day-info>summary::-webkit-details-marker{display:none}
.scheduler-day-info>summary:focus-visible{outline:2px solid #1368ff;outline-offset:3px}
.scheduler-day-info>.scheduler-day-help{position:absolute;right:-4px;top:calc(100% + 12px);z-index:20;width:340px;max-width:calc(100vw - 64px);box-sizing:border-box;padding:14px 16px;border:1px solid #dfe5ed;border-radius:12px;background:#fff;color:#333f4f;box-shadow:0 8px 28px #172b4d24;font-size:12px;line-height:1.6;text-align:left}
.scheduler-day-info>.scheduler-day-help:before{content:"";position:absolute;right:8px;top:-6px;width:10px;height:10px;background:#fff;border-top:1px solid #dfe5ed;border-left:1px solid #dfe5ed;transform:rotate(45deg)}
.scheduler-day-heading h3{margin-bottom:0}.scheduler-day-heading .scheduler-day-counts{margin:6px 0 0;font-size:12px;line-height:1.5}
.scheduler-schedule-details a{color:#1368ff;text-decoration:none}.scheduler-schedule-details a:hover{text-decoration:underline}

@media(max-width:600px){.scheduler-week-board .scheduler-day-actions{grid-template-columns:auto auto}.scheduler-day-actions>[data-schedule-day]{grid-column:1/-1;justify-self:end}}
.scheduler-copy-day-dialog #scheduler-copy-day-title:focus{outline:none}
.scheduler-slot-dialog .scheduler-copy-destination-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:start}
.scheduler-copy-destination-grid>label{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:13px}
.scheduler-slot-dialog .scheduler-copy-destination-grid .scheduler-copy-channel{margin-top:0}
.scheduler-copy-destination-grid :is(input,select){min-width:0;width:100%;box-sizing:border-box}
@media(max-width:620px){.scheduler-slot-dialog .scheduler-copy-destination-grid{grid-template-columns:1fr}}
