/* Editorial planner uses VNX's existing palette; all selectors are feature-scoped. */
.ep-page{max-width:1320px;margin:auto;color:#ededef}.ep-sites{display:flex;gap:8px;overflow-x:auto;padding-bottom:12px;margin-bottom:24px}.ep-site,.ep-button,.ep-view,.ep-period,.ep-filter{font:inherit;cursor:pointer;border:1px solid #1b1b22;border-radius:8px;background:#0a0a0c;color:#a5a5b4;padding:9px 13px;font-size:12px;white-space:nowrap}.ep-site[aria-pressed=true],.ep-view[aria-pressed=true],.ep-period[aria-pressed=true]{background:#5e6ad220;border-color:#5e6ad270;color:#d4d8ff}.ep-page button:focus-visible,.ep-page select:focus-visible{outline:2px solid #a5b4fc;outline-offset:3px}.ep-page button:disabled{opacity:.5;cursor:default}.ep-header{margin:16px 0 24px}.ep-header h2{font-size:28px;line-height:1.3;font-weight:650;letter-spacing:-.7px;margin:0 0 7px}.ep-subtitle{font-size:12px;color:#a5b4fc}.ep-bar{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;border:1px solid #26262f;background:#0a0a0c;padding:17px;border-radius:12px}.ep-periods,.ep-views{display:flex;gap:4px}.ep-periods{flex-wrap:wrap}.ep-bar-label{font-size:12px;color:#a5a5b4;margin-right:8px}.ep-bar-part{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.ep-generate-row{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin:16px 0 25px}.ep-primary{background:#5e6ad2;color:#fff;border-color:#5e6ad2}.ep-limit{font-size:11px;color:#aaaab5}.ep-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:22px}.ep-filters{display:flex;gap:14px}.ep-filter{background:none;border:0;border-radius:0;padding:7px 0;color:#aaaab5;border-bottom:2px solid transparent}.ep-filter[aria-pressed=true]{color:#f1f1f5;border-bottom-color:#818cf8}.ep-filter small{margin-left:5px;color:#aaaab5}.ep-history{display:flex;align-items:center;gap:8px;font-size:11px;color:#aaaab5;max-width:100%}.ep-history select{background:#0a0a0c;border:1px solid #30303c;border-radius:7px;padding:7px;color:#dddde5;max-width:240px}.ep-note{font-size:12px;color:#b5b5c2;line-height:1.7;margin:12px 0}.ep-notice{border:1px solid #43404b;background:#17151c;border-radius:9px;padding:12px 16px;font-size:12px;line-height:1.7;margin-bottom:18px;color:#ccc5d4}.ep-empty{padding:42px 20px;border:1px dashed #363641;border-radius:12px;text-align:center;color:#aaaab5;font-size:13px;line-height:1.8}.ep-day{margin-bottom:30px}.ep-day-heading{position:sticky;top:-1px;z-index:2;display:flex;align-items:center;gap:13px;background:#111116;border:1px solid #343440;border-left:3px solid #818cf8;padding:15px 18px;border-radius:10px;margin-bottom:14px}.ep-day-heading strong{font-size:23px;font-weight:650}.ep-day-heading span{font-size:13px;color:#b9b9c6}.ep-day-heading small{font-size:11px;margin-left:auto;color:#b9b9c6}.ep-card{border:1px solid #26262f;border-radius:12px;background:#0a0a0c;padding:21px 23px;margin-bottom:12px;min-width:0}.ep-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:10px;margin-bottom:10px}.ep-category{color:#a5b4fc;letter-spacing:.7px;text-transform:uppercase}.ep-state{color:#aaaab5}.ep-state.ready{color:#86d6ae}.ep-state.working{color:#a5b4fc}.ep-card h3,.ep-table h3{margin:0 0 8px;font-size:16px;line-height:1.55;font-weight:550;overflow-wrap:anywhere}.ep-reason{font-size:12px;line-height:1.8;color:#aaaab5;overflow-wrap:anywhere;margin:0}.ep-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;margin-top:18px}.ep-actions .ep-button{font-size:11px;color:#ededef;min-height:36px}.ep-actions .ep-delete{color:#aaaab5}.ep-error{font-size:12px;color:#e7b4b4;margin-top:12px}.ep-board{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(275px,1fr);gap:16px;overflow-x:auto;min-width:0;padding-bottom:12px}.ep-board .ep-day-heading{position:static;padding:14px 12px;flex-wrap:wrap;gap:7px}.ep-board .ep-day-heading strong{font-size:18px}.ep-board .ep-card{padding:18px}.ep-board .ep-card h3{font-size:15px}.ep-board .ep-meta{align-items:flex-start}.ep-board .ep-actions{justify-content:flex-start}.ep-board .ep-actions .ep-button:first-child{flex:1}.ep-column{min-width:0}.ep-table{border:1px solid #26262f;border-radius:12px;overflow:hidden}.ep-table-row{display:grid;grid-template-columns:130px minmax(0,1fr) 120px 240px;gap:18px;padding:20px;border-bottom:1px solid #26262f;align-items:center}.ep-table-row:last-child{border-bottom:0}.ep-table-row .ep-actions{margin:0}.ep-table-date strong{display:block;font-size:17px;font-weight:600}.ep-table-date small{font-size:12px;color:#aaaab5}.ep-table-row h3{font-size:14px}.ep-table-row .ep-reason{font-size:12px}.ep-table-head{font-size:10px;color:#aaaab5;background:#111116;text-transform:uppercase;letter-spacing:1px;padding-top:12px;padding-bottom:12px}.ep-undo{font-size:12px;color:#c7cbff;background:#13131b;border:1px solid #45455b;border-radius:8px;padding:11px 15px;margin:15px 0}.ep-undo button{margin-left:12px;text-decoration:underline}.ep-feedback{font-size:12px;color:#e7b4b4;min-height:18px;margin:8px 0}.ep-page [hidden]{display:none!important}
@media(max-width:1150px){.ep-table-row{grid-template-columns:105px minmax(0,1fr) 220px}.ep-table-row>.ep-table-status{display:none}}
@media(max-width:800px){.ep-header h2{font-size:25px}.ep-bar{align-items:flex-start;flex-direction:column}.ep-table-row{grid-template-columns:95px minmax(0,1fr)}.ep-table-row>.ep-actions{grid-column:2;justify-content:flex-start}.ep-table-head{display:none}.ep-toolbar{align-items:flex-start;flex-direction:column}.ep-day-heading strong{font-size:21px}}
@media(max-width:520px){.ep-period{padding:8px 9px;font-size:11px}.ep-bar{padding:12px}.ep-bar-part{gap:8px}.ep-periods{gap:3px}.ep-bar-label{display:block;width:100%;margin:0}.ep-generate-row .ep-primary{width:100%}.ep-views{width:100%}.ep-views button{flex:1;font-size:11px;padding:8px 10px}.ep-day-heading{padding:13px 12px;gap:8px;flex-wrap:wrap}.ep-day-heading strong{font-size:22px}.ep-day-heading span{font-size:12px}.ep-card{padding:18px 16px}.ep-card h3{font-size:15px}.ep-actions{justify-content:flex-start}.ep-actions .ep-button:first-child{flex:1}.ep-filters{gap:13px}.ep-filter{font-size:11px}.ep-table-row{grid-template-columns:minmax(0,1fr);padding:17px 15px;gap:10px}.ep-table-row>.ep-actions{grid-column:1}.ep-board{grid-auto-columns:minmax(255px,88%)}.ep-history{flex-wrap:wrap}.ep-history select{max-width:210px}}

.ep-sites .ep-site{min-height:44px;padding:10px 18px;font-size:15px;font-weight:550;background:#0a0a0c;border-color:#29292f;color:#aaaab5}.ep-sites .ep-site:hover{background:#17171b;color:#ededef}.ep-sites .ep-site[aria-pressed=true]{background:#222226;border-color:#686870;color:#fff;box-shadow:none}.ep-subtitle{color:#aaaab5}
/* Shared workflow controls and restrained material states. */
.ep-modes{display:flex;gap:12px;margin-bottom:24px;flex-wrap:wrap}.ep-modes button{flex:1;min-width:210px;text-align:left;border:1px solid #3b3b4c;border-radius:10px;padding:16px 20px;background:#111116;color:#b5b5c2;font-size:20px;font-weight:650;cursor:pointer}.ep-modes button[aria-pressed=true]{background:#202024;border-color:#686870;color:#fff}.ep-modes small{display:block;margin-top:4px;font-size:12px;font-weight:400;color:#c0c3d5}.ep-page input,.ep-page select{font:inherit;max-width:100%;padding:9px;border:1px solid #454552;border-radius:8px;background:#111116;color:#ededef}.ep-page input:focus-visible{outline:2px solid #a5b4fc;outline-offset:3px}.ep-filters{flex-wrap:wrap}.ep-format{display:inline-flex;border:1px solid #3a3a42;border-radius:6px;padding:3px 8px;background:#18181d;color:#c7c7d1;font-size:11px;white-space:nowrap}.ep-tags{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.ep-state.working,.ep-state.preparing,.ep-state.draft{display:inline-flex;align-items:center;padding:4px 9px;border-radius:6px;border:1px solid;font-size:12px;white-space:nowrap}.ep-state.working,.ep-state.preparing{color:#efdfaa;background:#efdfaa12;border-color:#efdfaa30}.ep-state.draft{color:#edb0a2;background:#edb0a212;border-color:#edb0a230}.ep-state.failed{color:#e7b4b4}.ep-state.scheduled{color:#c7cbd8}.ep-state.published{color:#86d6ae}.ep-card-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-top:18px}.ep-card-footer .ep-actions{margin:0}.ep-actions select{min-width:0;max-width:100%;font-size:11px;padding:8px}.ep-schedule-toggle{display:inline-flex;align-items:center;gap:8px;font-size:13px;color:#ededef;cursor:pointer}.ep-page .ep-schedule-toggle input{width:18px;height:18px;margin:0;accent-color:#73737d}.ep-editor-header{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:20px 0}.ep-editor-header .ep-delete{margin-left:auto}.ep-page [inert]{opacity:.6}.ep-page #site-editor-workbench{background:#0a0a0c;border-color:#26262f}.ep-page #site-editor-workbench #btn-site-draft-publish{background:#515b9b;color:#fff}.ep-page #site-editor-workbench #btn-site-draft-queue{background:#222226;color:#ededef;border:1px solid #454552}.ep-meta{flex-wrap:wrap}.ep-page #site-editor-workbench textarea{font:inherit}.ep-page #site-editor-workbench .ep-format{margin-left:10px}
@media(max-width:520px){.ep-modes button{min-width:100%;font-size:18px;padding:13px 16px}.ep-editor-header{gap:10px}.ep-actions select{width:100%}.ep-filters{gap:14px}.ep-card-footer{align-items:flex-start;flex-direction:column}}
.ep-demand-signals{margin:9px 0 0;font-size:11px;line-height:1.6;color:#858594;overflow-wrap:anywhere}.ep-demand-signal{display:inline}
.ep-topic-details{margin-top:12px;color:#aaaab5;font-size:11px;line-height:1.6}.ep-topic-details summary{width:max-content;max-width:100%;cursor:pointer;color:#b5b5c2}.ep-topic-details summary:focus-visible{outline:2px solid #a5b4fc;outline-offset:3px;border-radius:4px}.ep-topic-details dl{display:grid;gap:5px;margin:8px 0 0}.ep-topic-details dl>div{display:flex;gap:8px;flex-wrap:wrap}.ep-topic-details dt{color:#858594}.ep-topic-details dd{margin:0;color:#d0d0d8;overflow-wrap:anywhere}.ep-context-action{display:inline-flex;align-items:center;text-decoration:none}

.ep-search-status{margin:0 0 18px;padding:16px;border:1px solid #45455b;border-radius:10px;background:#13131b;color:#dddde5;font-size:13px;line-height:1.7}.ep-search-status strong{display:block}.ep-search-status p{margin:6px 0 0;overflow-wrap:anywhere}.ep-search-status small{color:#aaaab5}.ep-search-status progress{display:block;width:100%;height:8px;margin:12px 0;accent-color:#818cf8}

/* Shared editor sections follow the actual reading and keyboard order. */
#site-editor-workbench .site-editor-block{--block-border:#383840;--block-active:#737fad;min-width:0;margin:0 0 20px;padding:20px;border:1px solid var(--block-border);border-radius:12px;background:#111114}
#site-editor-workbench .site-editor-block:focus-within{border-color:var(--block-active)}
#site-editor-workbench .site-block-title{margin:0 0 18px;color:#ededef;font-size:16px;line-height:1.4;font-weight:600}
#site-editor-workbench .site-block-heading,#site-editor-workbench .site-field-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:8px}
#site-editor-workbench .site-block-heading .site-block-title{margin:0}
#site-editor-workbench .site-block-heading{margin-bottom:20px}
#site-editor-workbench .site-field-label,#site-editor-workbench .site-field-heading label{font-size:13px;font-weight:600;color:#c5c5cf}
#site-editor-workbench .site-field-label{margin:0 0 8px}
#site-editor-workbench .site-field-help{margin:6px 0 18px;font-size:12px;line-height:1.5;color:#a5a5b4}
#site-editor-workbench .site-seo-field{margin-bottom:20px}
#site-editor-workbench .site-seo-counter{font-size:12px;color:#aaaab5;white-space:nowrap;font-weight:400}
#site-editor-workbench .site-seo-warning{margin:8px 0 0;font-size:12px;line-height:1.5;color:#dfc487}
#site-editor-workbench .is-error{color:#f2aaaa}
#site-editor-workbench .site-seo-help{position:relative;font-size:12px;color:#bfc3da}
#site-editor-workbench .site-seo-help summary{cursor:pointer;padding:12px 4px;min-height:44px;list-style:none;text-decoration:underline;text-underline-offset:3px}
#site-editor-workbench .site-seo-help div{position:absolute;right:0;z-index:10;width:min(340px,70vw);padding:16px;border:1px solid #454552;border-radius:8px;background:#202026;color:#dddde5;line-height:1.7;box-shadow:0 8px 24px #0008}
#site-editor-workbench .site-seo-help summary:focus-visible{outline:2px solid #a5b4fc;outline-offset:2px}
#site-editor-workbench .site-search-preview{padding:16px;border:1px solid #34343c;border-radius:8px;background:#0c0c10;overflow-wrap:anywhere}
#site-editor-workbench .site-search-preview .site-field-help{margin:0 0 12px}
#site-editor-workbench .site-search-preview-title{margin:0 0 8px;color:#b6c8ff;font-size:19px;line-height:1.4}
#site-editor-workbench .site-search-preview-description{margin:0 0 12px;color:#c7c7d1;font-size:13px;line-height:1.6}
#site-editor-workbench .site-search-preview small{color:#aaaab5;font-size:11px}
#site-editor-workbench .site-editor-block input,#site-editor-workbench .site-editor-block textarea{box-sizing:border-box;max-width:100%}
#site-editor-workbench .site-editor-block textarea{display:block}
#site-editor-workbench .site-editor-block [aria-label="Форматування тексту"]{margin-top:18px}
@media(max-width:520px){#site-editor-workbench .site-editor-block{padding:14px;margin-bottom:16px}#site-editor-workbench .site-block-title{font-size:15px}#site-editor-workbench .site-seo-help div{width:min(280px,65vw)}}

#site-editor-workbench .site-source-summary{display:flex;align-items:baseline;gap:8px 20px;flex-wrap:wrap;color:#c5c5cf}
#site-editor-workbench .site-source-summary a{color:#bfc9ef;text-decoration:underline;text-underline-offset:3px}
#site-editor-workbench .site-source-details{margin-top:4px;color:#aaaab5}
#site-editor-workbench .site-source-details summary{cursor:pointer;width:max-content;max-width:100%;padding:8px 0}
#site-editor-workbench .site-source-details summary:focus-visible{outline:2px solid #a5b4fc;outline-offset:2px}

/* One mutually exclusive publication period, with custom dates on demand. */
.ep-feed-period { display:flex; align-items:center; flex-wrap:wrap; gap:10px; font-size:12px; color:#a5a5b4; }
.ep-feed-period select { min-height:44px; max-width:100%; padding:9px 32px 9px 12px; border:1px solid #30303c; border-radius:8px; background:#111116; color:#ededef; font:inherit; }
@media(max-width:520px) { .ep-feed-period { width:100%; } .ep-feed-period select { flex:1; min-width:0; } #planner-periods { width:100%; } }
