.editorial-section-heading { margin-bottom: 22px; }
.editorial-section-heading h2, .editorial-section-heading h3 { margin: 0 0 8px; }
.editorial-section-heading p, .editorial-help { margin: 0; color: var(--muted, #617071); font-size: .88rem; line-height: 1.6; }
.editorial-empty { padding: 32px 18px; border: 1px dashed #cdd6d4; border-radius: 10px; background: #f8faf9; color: var(--muted, #617071); line-height: 1.6; }
.editorial-campaigns { display: grid; gap: 20px; }
.editorial-card { min-width: 0; overflow: hidden; border: 1px solid var(--border, #dae3df); border-radius: 12px; background: #fff; }
.editorial-card-image { display: block; width: 100%; height: 200px; object-fit: cover; background: #f3f5f4; }
.editorial-card-content { min-width: 0; padding: 22px; }
.editorial-card h3 { margin: 8px 0 12px; line-height: 1.3; font-size: 1.18rem; overflow-wrap: anywhere; }
.editorial-summary { white-space: pre-line; color: #536260; line-height: 1.7; overflow-wrap: anywhere; }
.editorial-card-link { display: inline-flex; gap: 8px; align-items: center; margin-top: 15px; font-weight: 650; }
.editorial-html { color: #3f4d4a; line-height: 1.75; overflow-wrap: anywhere; overflow-x: auto; }
.editorial-html > :first-child { margin-top: 0; }
.editorial-html > :last-child { margin-bottom: 0; }
.editorial-html h2 { margin-top: 1.4em; font-size: 1.3rem; }
.editorial-html h3 { margin-top: 1.2em; font-size: 1.12rem; }
.editorial-html pre { white-space: pre-wrap; padding: 12px; border-radius: 6px; background: #f2f5f4; }
.editorial-html table { border-collapse: collapse; width: 100%; }
.editorial-html th, .editorial-html td { border: 1px solid #d9e1de; padding: 8px; text-align: left; }
.editorial-html blockquote { margin-left: 0; padding: 6px 16px; border-left: 3px solid #aac4b8; }
.editorial-details summary { cursor: pointer; color: var(--accent, #176650); font-weight: 600; padding: 8px 0; }
.editorial-details .editorial-html { margin-top: 10px; }
.editorial-toolbar { display: flex; align-items: end; flex-wrap: wrap; gap: 16px; margin-bottom: 24px; }
.editorial-toolbar .grow { flex: 1; min-width: min(260px, 100%); }
.editorial-toolbar .field { min-width: 180px; }
.editorial-toolbar input, .editorial-toolbar select, .editorial-field input, .editorial-field textarea, .editorial-field select { width: 100%; box-sizing: border-box; min-height: 42px; border: 1px solid #bbc9c3; border-radius: 6px; padding: 9px 11px; color: inherit; background: #fff; font: inherit; }
.editorial-toolbar label, .editorial-field { display: flex; flex-direction: column; gap: 8px; font-size: .9rem; font-weight: 550; }
.editorial-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: start; }
.editorial-cards > .editorial-empty { grid-column: 1 / -1; }
.editorial-calendar-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.editorial-calendar-toolbar h2 { margin: 0 0 8px; text-transform: capitalize; }
.editorial-calendar-actions { display: flex; gap: 8px; flex-shrink: 0; }
.editorial-calendar-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, 1fr); align-items: start; gap: 28px; }
.editorial-calendar-wrap { min-width: 0; overflow-x: auto; }
.editorial-calendar { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 4px; }
.editorial-calendar th { padding: 8px 0 12px; color: #56675e; text-align: center; font-weight: 600; text-transform: capitalize; font-size: .85rem; }
.editorial-calendar td { padding: 0; }
.editorial-calendar td button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; width: 100%; min-height: 74px; padding: 8px 2px; border: 1px solid #e0e7e3; border-radius: 8px; background: #fff; color: #324d40; font: inherit; cursor: pointer; }
.editorial-calendar td button:hover { background: #edf5f0; border-color: #74a18a; }
.editorial-calendar td button.is-today { border-color: #2c7d56; font-weight: 700; }
.editorial-calendar td button[aria-pressed="true"] { background: #1b6349; border-color: #1b6349; color: #fff; }
.editorial-calendar .is-outside button { opacity: .45; }
.editorial-calendar-count { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 18px; border-radius: 20px; background: #d9ede1; color: #19563d; font-size: .7rem; font-weight: 650; }
.editorial-event-list { display: grid; gap: 16px; min-width: 0; }
.editorial-event-list .editorial-section-heading { margin: 0; }
.editorial-event-list .editorial-card-image { height: 150px; }
.editorial-event-list .editorial-card-content { padding: 18px; }
.editorial-event-time { color: #236145; font-size: .88rem; line-height: 1.75; }
.editorial-event-time span { color: #68756e; }
.event-suggestion { margin-top: 20px; }
.event-suggestion > summary { cursor: pointer; font-weight: 650; }
.event-suggestion fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 16px; min-width: 0; }
.event-suggestion fieldset > button { justify-self: start; }
.event-suggestion summary:focus-visible { outline: 3px solid #759e8a; outline-offset: 4px; }
.editorial-admin-list { display: grid; gap: 14px; }
.editorial-admin-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px; border: 1px solid #dce5df; border-radius: 10px; }
.editorial-admin-row > div { min-width: 0; }
.editorial-admin-row h3 { margin: 7px 0; overflow-wrap: anywhere; }
.editorial-admin-row p { color: #627168; line-height: 1.6; margin: 8px 0; overflow-wrap: anywhere; }
.editorial-admin-row > button { flex-shrink: 0; }
.editorial-row-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: .8rem; color: #607367; }
.editorial-editor-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.editorial-editor-heading > div { display: flex; gap: 14px; align-items: center; color: #637267; font-size: .82rem; }
.editorial-feedback { line-height: 1.6; color: #3b644e; }
.editorial-feedback:empty { display: none; }
.editorial-admin fieldset { padding: 0; margin: 0; border: 0; min-width: 0; }
.editorial-settings { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 24px 0 14px; }
.editorial-field { min-width: 0; }
.editorial-field small { font-size: .79rem; font-weight: 400; line-height: 1.6; color: #607166; }
.editorial-field textarea { resize: vertical; min-height: 100px; font-weight: 400; line-height: 1.6; }
.editorial-field .editorial-html-source { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .86rem; }
.editorial-language-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin: 28px 0; padding: 18px; border-radius: 8px; background: #f0f5f1; }
.editorial-language-bar p { font-size: .82rem; color: #5d6d61; line-height: 1.6; margin: 6px 0 0; }
.editorial-language-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.editorial-language-tabs button { border: 1px solid #c5d4cb; border-radius: 6px; padding: 9px 12px; background: #fff; color: #3c5746; font: inherit; font-size: .83rem; cursor: pointer; }
.editorial-language-tabs button[aria-pressed="true"] { background: #23573c; color: #fff; border-color: #23573c; }
.editorial-editor-columns { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 26px; align-items: start; }
.editorial-editor-fields { display: grid; gap: 20px; min-width: 0; }
.editorial-format { display: flex; flex-wrap: wrap; gap: 6px; }
.editorial-format .button { font-size: .78rem; padding: 6px 9px; min-height: 32px; }
.editorial-preview { min-width: 0; padding: 20px; background: #f6f8f6; border-radius: 10px; }
.editorial-preview h2 { font-size: 1rem; margin: 0 0 10px; }
.editorial-preview [data-editorial-preview] { margin-top: 18px; }
.editorial-preview .editorial-card-content { padding: 18px; }
.editorial-save-bar { display: flex; justify-content: flex-end; margin-top: 28px; padding-top: 20px; border-top: 1px solid #dee5e0; }
.editorial-admin button:focus-visible, .editorial-calendar button:focus-visible, .editorial-toolbar input:focus-visible, .editorial-field input:focus-visible, .editorial-field textarea:focus-visible, .editorial-field select:focus-visible { outline: 3px solid #759e8a; outline-offset: 2px; }
@media (max-width: 1100px) { .editorial-calendar-layout, .editorial-editor-columns { grid-template-columns: minmax(0, 1fr); } .editorial-settings { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .editorial-cards, .editorial-settings { grid-template-columns: minmax(0, 1fr); } .editorial-card-content { padding: 18px; } .editorial-calendar-toolbar, .editorial-editor-heading { align-items: flex-start; flex-direction: column; } .editorial-calendar td button { min-height: 60px; } .editorial-calendar th { font-size: .72rem; } .editorial-admin-row { padding: 16px; gap: 12px; flex-direction: column; align-items: stretch; } .editorial-toolbar > .field { flex: 1; min-width: 100%; } .editorial-preview { padding: 14px; } }
.editorial-campaign-settings { margin-top: 24px; padding: 20px; border: 1px solid #d7e1db; border-radius: 10px; }
.editorial-campaign-settings h2 { margin: 0 0 8px; font-size: 1rem; }
.editorial-campaign-settings .editorial-settings { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.editorial-checkbox { display: flex; align-items: flex-start; gap: 12px; margin: 18px 0; cursor: pointer; }
.editorial-checkbox input { flex: 0 0 18px; width: 18px; height: 18px; margin: 3px 0 0; accent-color: #23573c; }
.editorial-checkbox strong, .editorial-checkbox small { display: block; line-height: 1.6; }
.editorial-checkbox strong { font-size: .9rem; }
.editorial-checkbox small { color: #607166; font-size: .82rem; }
.editorial-campaign-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 14px 0; font-size: .82rem; }
.editorial-priority { display: inline-flex; align-items: center; gap: 7px; border: 1px solid; border-radius: 6px; padding: 4px 8px; font-weight: 650; }
.editorial-priority > span { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; border: 1px solid currentColor; border-radius: 50%; font-size: .75rem; }
.editorial-priority-important { color: #77500b; background: #fff8e7; border-color: #ddc68c; }
.editorial-priority-critical { color: #9a302a; background: #fff2ef; border-color: #e7b4ad; }
.editorial-confirmation { color: #59675f; overflow-wrap: anywhere; }
.editorial-deadline { flex-basis: 100%; margin: 0; line-height: 1.6; overflow-wrap: anywhere; }
.editorial-update { padding: 12px; border-left: 3px solid #718c7b; background: #f2f6f3; line-height: 1.6; font-size: .88rem; white-space: pre-line; overflow-wrap: anywhere; }
.editorial-preview-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
.editorial-preview-heading h2 { margin: 0; }
.editorial-preview-controls { display: flex; flex-wrap: wrap; gap: 6px; }
.editorial-preview-controls .button { min-height: 36px; padding: 7px 10px; font-size: .8rem; }
.editorial-preview-controls .button[aria-pressed="true"] { background: #23573c; border-color: #23573c; color: #fff; }
.editorial-preview.is-mobile [data-editorial-preview] { max-width: 360px; margin-inline: auto; }
.editorial-checkbox input:focus-visible { outline: 3px solid #759e8a; outline-offset: 3px; }
@media (max-width: 680px) { .editorial-campaign-settings { padding: 14px; } .editorial-campaign-settings .editorial-settings { grid-template-columns: minmax(0, 1fr); } }

.editorial-language-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 15px; }
.editorial-language-links > span { flex-basis: 100%; color: var(--muted, #617071); font-size: .88rem; }
.editorial-language-links .editorial-card-link { margin-top: 0; }
