.article-editor {
    --article-library-width: 230px;
    --article-sidebar-width: 290px;
    display: grid;
    grid-template-columns:
        minmax(180px, var(--article-library-width))
        8px
        minmax(0, 1fr)
        8px
        minmax(240px, var(--article-sidebar-width));
    align-items: start;
    max-width: 100%;
}
.article-editor > * { min-width: 0; }
.article-editor__modebar {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 22px;
    border-bottom: 1px solid #353a3b;
    color: #b29b76;
    font-family: var(--font-condensed);
}
.article-editor__mode-actions, .article-editor__widths { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.article-editor__widths button { min-height: 36px; padding: 6px 10px; border: 1px solid #4b504e; background: #101719; color: #b8beba; cursor: pointer; }
.article-editor__widths button[aria-pressed="true"] { border-color: #b58d51; color: #e7c58e; background: #231e17; }
.article-editor__widths button:focus-visible { outline: 2px solid #e7c58e; outline-offset: 2px; }
.article-editor__library,
.article-editor__sidebar {
    position: sticky;
    top: 164px;
    max-height: calc(100dvh - 176px);
    overflow: auto;
    padding: 18px 14px;
    scrollbar-gutter: stable;
}
.article-editor__library { border-right: 1px solid #303536; }
.article-editor__sidebar { border-left: 1px solid #303536; }
.article-editor__library h2, .article-outline h2 {
    margin: 0 0 14px;
    color: #bf9b64;
    font: 600 16px var(--font-condensed);
    text-transform: uppercase;
    letter-spacing: .08em;
}
.article-editor__library p, .article-outline p, .article-block-picker p {
    color: #879090;
    font-size: 12px;
    line-height: 1.5;
}
.article-block-picker input {
    width: 100%;
    min-width: 0;
    min-height: 40px;
    padding: 9px 11px;
    color: var(--text-field-color);
    border: 1px solid var(--text-field-border);
    border-radius: 2px;
    background: var(--text-field-background);
    box-shadow: var(--text-field-shadow);
}
.article-block-picker__items { display: grid; gap: 4px; margin-top: 10px; }
.article-block-picker button, .article-outline button {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 9px 8px;
    gap: 10px;
    color: #c9c7bd;
    border: 1px solid transparent;
    background: transparent;
    text-align: left;
    cursor: pointer;
    overflow-wrap: anywhere;
}
.article-block-picker button:hover, .article-outline button:hover,
.article-block-picker button:focus-visible, .article-outline button:focus-visible {
    border-color: #9d783f;
    background: #191c1a;
}
.article-outline button { font-size: 13px; line-height: 1.4; }
.article-outline [data-heading-level="2"] { padding-left: 18px; }
.article-outline [data-heading-level="3"] { padding-left: 32px; color: #a0aaa9; }
.article-editor .article-editor__page {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    padding: 32px clamp(28px, 3vw, 60px) 100px;
    gap: 0;
    align-content: start;
}
.article-editor__page > .news-document-editor__title,
.article-editor__page > .news-document-editor__summary,
.article-editor__page > .news-document-editor__cover-field,
.article-editor__page > .news-document-editor__cover,
.article-editor__page > .news-document-editor__meta { margin-bottom: 18px; }
.article-editor__page .news-document-editor__title { font-size: clamp(32px, 4vw, 62px) !important; }
.article-editor__page .news-document-editor__summary { font-size: 16px; min-height: 80px; }
.article-document { display: grid; gap: 22px; min-width: 0; }
.article-block { position: relative; min-width: 0; scroll-margin-top: 210px; }
.article-block h1, .article-block h2, .article-block h3 { scroll-margin-top: 210px; }
.article-block--editable { border: 1px solid transparent; }
.article-block--editable:hover { border-color: #303b3d; }
.article-block--editable.is-selected { border-color: #8b7048; }
.article-block__handles {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    width: fit-content;
    min-height: 27px;
    margin: 0 0 4px -29px;
    opacity: .45;
}
.article-block:hover > .article-block__handles,
.article-block:focus-within > .article-block__handles { opacity: 1; }
.article-block__handles button, .article-insertion > button,
.article-task-list button, .article-task-add, .article-group-add, .article-picker-close {
    min-height: 27px;
    min-width: 25px;
    color: #ceb185;
    border: 1px solid #394044;
    background: #101619;
    cursor: pointer;
}
.article-block__handles button[draggable] { cursor: grab; touch-action: none; }
.article-block.is-article-dragging { opacity: .5; }
.article-block__handles button:disabled { opacity: .25; cursor: default; }
.article-insertion { position: relative; min-height: 26px; display: flex; align-items: center; }
.article-insertion > button { margin-left: -29px; width: 25px; min-height: 23px; opacity: .65; }
.article-insertion:hover, .article-insertion.is-article-drop-target { background: rgba(207, 163, 91, .12); }
.article-insertion.is-article-drop-target { outline: 1px dashed #d6a65f; }
.article-insertion__picker {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 65;
    width: min(310px, 100%);
    max-height: 360px;
    overflow: auto;
    padding: 12px;
    border: 1px solid #957446;
    background: #0d1317;
    box-shadow: 0 15px 40px #000b;
}
.article-picker-close { display: block; margin: 0 0 8px auto; padding: 3px 8px; }
.news-document-editor .rich-text-editor--inline { border: 0; box-shadow: none; background: transparent; }
.news-document-editor .rich-text-editor--inline .rich-text-editor__surface {
    min-height: 56px;
    max-height: none;
    padding: 10px 12px;
    font: 16px/1.7 var(--font-system);
}
.article-prose { font: 16px/1.7 var(--font-system); }
.article-prose > :first-child, .rich-text-editor--inline .rich-text-editor__surface > :first-child { margin-top: 0; }
.article-prose > :last-child, .rich-text-editor--inline .rich-text-editor__surface > :last-child { margin-bottom: 0; }
.article-prose h1, .rich-text-editor--inline h1 { font-size: 2em; }
.article-prose h2, .rich-text-editor--inline h2 { font-size: 1.65em; }
.article-prose h3, .rich-text-editor--inline h3 { font-size: 1.3em; }
.article-block--hint, .article-block--prompt { padding: 14px 18px; border-left: 3px solid #b9955c; background: #b9955c10; }
.article-block--prompt { border-left-color: #6a9fae; background: #6a9fae12; }
.article-divider { margin: 16px 0; border: 0; border-top: 1px solid #64604f; }
.article-task-list { display: grid; gap: 8px; padding: 10px 12px; list-style: none; margin: 0; }
.article-task-list li { display: flex; align-items: center; gap: 9px; min-width: 0; }
.article-task-list input[type=checkbox] { width: 18px; min-height: 18px; accent-color: #c59b59; }
.article-task-list input:not([type=checkbox]) { flex: 1; min-width: 0; padding: 9px 11px; color: var(--text-field-color); background: var(--text-field-background); border: 1px solid var(--text-field-border); border-radius: 2px; box-shadow: var(--text-field-shadow); }
.article-task-list .is-completed { text-decoration: line-through; color: #87918e; }
.article-task-add, .article-group-add { margin: 8px; padding: 4px 10px; }
.article-editor__sidebar .editor-properties { position: static; max-height: none; margin-top: 20px; border: 1px solid #303536; }
.article-editor__sidebar .editor-properties__body { overflow: visible; padding: 12px 8px; }
.article-editor__sidebar .editor-properties > header { padding: 12px 8px; }
.article-editor__sidebar .editor-properties > footer { flex-wrap: wrap; padding: 8px; }
.article-editor .article-block > .widget-tree.is-editor { min-height: 0; }
.article-editor.is-preview {
    grid-template-columns:
        minmax(0, 1fr)
        8px
        minmax(240px, var(--article-sidebar-width));
}
.article-editor.is-preview .article-editor__page { container: site-canvas / inline-size; }
.article-editor.is-preview.preview-tablet .article-editor__page { max-width: 768px; }
.article-editor.is-preview.preview-phone .article-editor__page { max-width: 390px; padding-inline: 18px; }
.article-editor.is-preview.preview-phone .article-preview-heading h1 { font-size: clamp(28px, 8cqw, 38px); }
.article-editor.is-preview.preview-phone .article-preview-heading p { font-size: 15px; }
.article-preview-heading h1 { font: 600 clamp(32px, 4vw, 62px)/1.15 var(--font-condensed); }
.article-preview-heading p { font: 18px/1.55 var(--font-system); color: #b3b7b4; }
.stream-widget { min-height: 300px; }
@media (max-width: 1100px) {
    .article-editor {
        --article-library-width: 185px;
        --article-sidebar-width: 240px;
    }
    .article-editor__library, .article-editor__sidebar { padding: 12px 8px; }
}
@media (max-width: 850px) {
    .article-editor, .article-editor.is-preview { grid-template-columns: minmax(0, 1fr); }
    .article-editor__library, .article-editor__sidebar { position: static; max-height: 330px; border: 1px solid #303536; }
    .article-editor__library { grid-row: 2; }
    .article-editor__sidebar { grid-row: 3; }
    .article-editor__page { grid-row: 4; }
    .article-editor__library .article-block-picker__items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.article-engagement { margin-top: 32px; padding: 24px 0; border-top: 1px solid #565449; }
.article-engagement__statistics, .article-engagement__reactions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
.article-engagement__reactions button { padding: 10px 14px; border: 1px solid #565449; background: #101719; color: #d6d1c7; }
.article-engagement__reactions button[aria-pressed="true"] { border-color: #dca449; color: #dca449; }
.article-engagement small { color: #9aa3a6; }
.statistics-admin label, .statistics-admin button { margin: 8px 12px 8px 0; }
.statistics-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin: 16px 0; }
.statistics-filters label { display: grid; gap: 6px; min-width: min(260px, 100%); margin: 0; color: #9aa3a6; }
.statistics-filters input, .statistics-filters select { min-height: 42px; padding: 9px 11px; border: 1px solid var(--text-field-border); border-radius: 2px; background: var(--text-field-background); box-shadow: var(--text-field-shadow); color: var(--text-field-color); }
.statistics-filters button { margin: 0; }
.statistics-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 20px; }
.statistics-card { border: 1px solid #484b45; background: #101719; padding: 24px; }
.statistics-card strong { font: 48px var(--font-condensed); color: #dca449; }
.statistics-table-scroll { width: 100%; overflow: auto; margin: 20px 0; }
.statistics-table-scroll table { width: 100%; border-collapse: collapse; text-align: left; }
.statistics-table-scroll td, .statistics-table-scroll th { padding: 14px; border-bottom: 1px solid #343b3b; }
.statistics-table-scroll td:first-child { min-width: 180px; }
.statistics-pagination { display: flex; flex-wrap: wrap; gap: 12px; }
.carousel-properties fieldset { min-width: 0; padding: 10px; border: 1px solid #353e40; margin-bottom: 12px; }
.carousel-properties__actions { display: flex; gap: 4px; flex-wrap: wrap; }

.news-editor-languages { display: inline-flex; gap: 2px; padding: 2px; border: 1px solid #565045; }
.news-editor-languages button { min-width: 40px; min-height: 32px; border: 0; background: transparent; color: #a9aa9f; cursor: pointer; }
.news-editor-languages button.is-active { background: #70542e; color: #fff; }
.news-editor-save-state { color: #aeb4b1; font-size: 12px; white-space: nowrap; }
.news-editor-recovery { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 12px clamp(14px, 3vw, 40px); border-bottom: 1px solid #9d783f; color: #e2c08c; background: #282016; }
.news-editor-history { display: grid; gap: 10px; min-width: 0; padding-bottom: 20px; }
.news-editor-schedule { display: grid; gap: 10px; min-width: 0; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid #3f4645; }
.news-editor-schedule h2 { display: flex; align-items: center; gap: 8px; margin: 0; font: 600 17px var(--font-condensed); color: #d5ad6e; }
.news-editor-schedule p { margin: 0; overflow-wrap: anywhere; }
.news-editor-schedule label { display: grid; gap: 6px; color: #aeb4b1; font-size: 12px; }
.news-editor-schedule input { width: 100%; min-width: 0; min-height: 40px; padding: 9px 11px; color: var(--text-field-color); background: var(--text-field-background); border: 1px solid var(--text-field-border); }
.news-editor-schedule select { width: 100%; min-width: 0; min-height: 40px; padding: 9px 11px; color: var(--text-field-color); background: var(--text-field-background); border: 1px solid var(--text-field-border); }
.news-editor-review { display: grid; gap: 10px; min-width: 0; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid #3f4645; }
.news-editor-review h2 { display: flex; align-items: center; gap: 8px; margin: 0; color: #d5ad6e; font: 600 17px var(--font-condensed); }
.news-editor-review p { margin: 0; overflow-wrap: anywhere; }
.news-editor-review small { color: #9ca5a1; line-height: 1.5; overflow-wrap: anywhere; }
.news-editor-review__state { color: #e2d2b5; }
.news-editor-review__note { padding: 10px; border-left: 2px solid #b58d51; background: #192124; }
.news-editor-review label { display: grid; gap: 6px; color: #aeb4b1; font-size: 12px; }
.news-editor-review textarea { width: 100%; min-width: 0; min-height: 74px; padding: 9px 11px; resize: vertical; color: var(--text-field-color); background: var(--text-field-background); border: 1px solid var(--text-field-border); }
.news-editor-review__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.news-editor-history h2 { display: flex; align-items: center; gap: 8px; margin: 0; font: 600 17px var(--font-condensed); color: #d5ad6e; }
.news-editor-history label { display: grid; gap: 6px; color: #aeb4b1; font-size: 12px; }
.news-editor-history input { width: 100%; min-width: 0; min-height: 40px; padding: 9px 11px; color: var(--text-field-color); background: var(--text-field-background); border: 1px solid var(--text-field-border); }
.news-editor-history__version { display: grid; gap: 4px; width: 100%; padding: 10px; text-align: left; border: 1px solid #3f4645; background: #121a1d; color: #e0ddd5; cursor: pointer; overflow-wrap: anywhere; }
.news-editor-history__version.is-active { border-color: #b58d51; }
.news-editor-history__version small { color: #99a5a5; }
.news-editor-history__selected { display: grid; gap: 8px; padding: 12px; border: 1px solid #70542e; background: #161a19; overflow-wrap: anywhere; }
.news-editor-history__selected p { margin: 0; }
.article-block__handles { position: absolute; top: 8px; left: -34px; margin: 0; min-height: 0; opacity: 0; }
.article-block__handles:focus-within { opacity: 1; }
.article-block__handles .editor-icon { width: 17px; height: 17px; }
.article-block__menu { position: absolute; z-index: 80; left: 30px; top: 28px; display: grid; gap: 2px; width: min(250px, calc(100vw - 48px)); max-height: min(480px, 70dvh); overflow: auto; padding: 8px; border: 1px solid #86683d; background: #111819; box-shadow: 0 18px 40px #000b; }
.article-block__menu > span { padding: 8px; color: #aab1ad; font-size: 11px; text-transform: uppercase; }
.article-block__menu button { display: flex; align-items: center; justify-content: flex-start; gap: 10px; width: 100%; min-height: 38px; padding: 7px 9px; border: 1px solid transparent; color: #d9d7cf; background: transparent; text-align: left; }
.article-block__menu button:hover, .article-block__menu button:focus-visible { border-color: #947143; background: #232525; }
.news-version-comparison { width: min(1600px, 100%); margin: 0 auto; padding: 24px; }
.news-version-comparison__bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; }
.news-version-comparison__changes { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 14px 0; color: #b8beb9; }
.news-version-comparison__changes p { margin: 0; }
.news-version-comparison__changes strong { color: #d5ad6e; }
.news-version-comparison__documents { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.news-version-comparison__documents > section { min-width: 0; padding: clamp(14px, 2vw, 24px); border: 1px solid #414847; background: #101719; overflow-wrap: anywhere; }
.news-version-comparison__documents h2 { margin: 0 0 18px; color: #d5ad6e; font: 600 18px var(--font-condensed); }
.news-version-comparison__documents h3 { margin: 0 0 12px; font: 600 clamp(24px, 3vw, 38px) var(--font-condensed); }
.public-news-article__languages { display: flex; align-items: center; align-self: start; justify-self: end; gap: 4px; margin: 0; }
.public-news-article__languages a { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; min-height: 34px; padding: 6px 9px; border: 1px solid #4d4c44; color: #b8beb9; text-align: center; text-decoration: none; white-space: nowrap; }
.public-news-article__languages a[aria-current="page"] { border-color: #b28a50; color: #f1d3a4; }
.news-document-editor__title { height: auto; min-height: 90px; resize: vertical; overflow-wrap: anywhere; }
.news-document-editor .rich-text-editor__surface,
.news-document-editor .article-prose { overflow-wrap: anywhere; }
.news-document-editor .rich-text-editor__surface img,
.news-document-editor .rich-text-editor__surface video { max-width: 100%; height: auto; }
.news-document-editor .rich-text-editor__surface table,
.news-document-editor .rich-text-editor__surface pre { display: block; max-width: 100%; overflow-x: auto; }

.news-editor-import-trigger { position: relative; display: inline-flex; align-items: center; gap: 7px; overflow: hidden; cursor: pointer; }
.news-editor-import-trigger input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.news-editor-import-trigger:focus-within { outline: 2px solid #e7c58e; outline-offset: 2px; }
.news-editor-import-trigger.is-disabled { opacity: .55; cursor: not-allowed; }
.news-editor-delete-trigger { display: inline-flex; align-items: center; gap: 7px; color: #d9a19a; border-color: #74514d; }
.news-editor-delete-trigger:hover, .news-editor-delete-trigger:focus-visible { color: #f4c4be; border-color: #ba7168; }
.news-editor-delete-trigger .editor-icon { width: 17px; height: 17px; }
.news-editor-import-dialog, .news-editor-delete-dialog { display: grid; gap: 16px; min-width: 0; color: #d9ddd9; }
.news-editor-import-dialog p, .news-editor-delete-dialog p { margin: 0; line-height: 1.55; overflow-wrap: anywhere; }
.news-editor-import-dialog__source { color: #a6afad; font-size: 13px; }
.news-editor-import-dialog__summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.news-editor-import-dialog__summary span { display: grid; gap: 3px; min-width: 0; padding: 13px; border: 1px solid #414847; background: #101719; color: #aeb7b2; font-size: 12px; }
.news-editor-import-dialog__summary strong { color: #e9c78e; font: 600 25px/1 var(--font-condensed); }
.news-editor-import-dialog h3 { margin: 0; color: #f2ede4; font: 600 24px/1.2 var(--font-condensed); overflow-wrap: anywhere; }
.news-editor-import-dialog__preview { display: grid; gap: 5px; padding: 12px 14px; border-left: 2px solid #b88b52; background: #101719; }
.news-editor-import-dialog__preview strong { color: #d8b889; font: 600 12px/1.2 var(--font-condensed); }
.news-editor-import-dialog__preview p { color: #c4cdcb; }
.news-editor-import-dialog__actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; }
.news-editor-delete-dialog > p:nth-child(2) { color: #d9a19a; }
.news-editor-delete-confirm { color: #ffe4e0; border-color: #a65f57; background: #5d2925; }
.news-editor-delete-confirm:hover, .news-editor-delete-confirm:focus-visible { border-color: #dc8b82; background: #773530; }

@media (max-width: 1100px) {
    .news-inline-editor__toolbar { grid-template-columns: minmax(0, 1fr) auto; }
    .news-inline-editor__metadata { grid-column: 1 / -1; grid-row: 2; }
}
@media (min-width: 851px) and (max-width: 1600px) {
    .news-inline-editor__toolbar { position: relative; top: auto; }
    .article-editor__library, .article-editor__sidebar {
        top: 90px;
        max-height: calc(100dvh - 102px);
    }
    .article-block, .article-block h1, .article-block h2, .article-block h3 { scroll-margin-top: 100px; }
}
@media (max-width: 850px) {
    .article-block__handles { position: relative; top: auto; left: auto; margin-left: 0; margin-bottom: 4px; opacity: 1; }
    .article-block__menu { left: 0; right: auto; }
    .news-version-comparison__documents { grid-template-columns: minmax(0, 1fr); }
    .article-editor__page { grid-row: 2; }
    .article-editor__library { grid-row: 3; max-height: 250px; }
    .article-editor__sidebar { grid-row: 4; max-height: 300px; }
    .article-editor__panel-resizer { display: none; }
    .news-inline-editor__toolbar { position: static; grid-template-columns: minmax(0, 1fr); }
    .news-inline-editor__metadata { grid-row: auto; grid-column: auto; }
    .news-inline-editor__actions { justify-content: flex-start; }
    .article-block, .article-block h1, .article-block h2, .article-block h3 { scroll-margin-top: 126px; }
    .article-block__handles button { min-width: 40px; min-height: 40px; }
}
@media (max-width: 480px) {
    .news-editor-import-dialog__summary { grid-template-columns: minmax(0, 1fr); }
    .article-editor__modebar { align-items: flex-start; flex-direction: column; padding-inline: 14px; }
    .news-inline-editor__metadata { grid-template-columns: minmax(0, 1fr); }
    .news-inline-editor__nav { gap: 7px; }
    .article-editor .article-editor__page { padding-inline: 18px; }
}
/* Компактное рабочее место статьи: содержание и редкие настройки разделены. */
.news-inline-editor { width: 100%; max-width: 1280px; margin: 0 auto; min-width: 0; overflow: visible; }
.news-inline-editor__toolbar { position: relative; top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; }
.news-inline-editor__nav { flex: 1 1 360px; flex-wrap: wrap; gap: 10px; min-width: 0; }
.news-inline-editor__actions { display: flex; flex: 0 1 auto; align-items: center; justify-content: flex-end; gap: 7px; flex-wrap: wrap; }
.news-inline-editor__actions .angular-button { display: inline-flex; justify-content: center; align-items: center; gap: 7px; min-height: 38px; padding: 8px 12px; white-space: normal; text-align: center; }
.news-inline-editor__actions svg, .news-editor-more__items svg { flex: 0 0 17px; width: 17px; height: 17px; }
.news-editor-back { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; }
.news-editor-back > svg { width: 16px; height: 16px; transform: rotate(180deg); flex: 0 0 16px; }
.news-editor-more { position: relative; }
.news-editor-more > summary { list-style: none; cursor: pointer; min-width: 38px; }
.news-editor-more > summary::-webkit-details-marker { display: none; }
.news-editor-more__items { position: absolute; top: calc(100% + 7px); right: 0; width: min(260px, calc(100vw - 40px)); z-index: 75; display: grid; padding: 6px; background: #10191c; border: 1px solid #675b46; box-shadow: 0 12px 28px #0008; }
.news-editor-more__items > button, .news-editor-more__items > a { display: flex; align-items: center; gap: 9px; min-height: 40px; padding: 9px 10px; border: 0; background: transparent; color: #d3d3c9; text-align: left; font: inherit; font-size: 13px; text-decoration: none; cursor: pointer; }
.news-editor-more__items > button:hover, .news-editor-more__items > a:hover { background: #263032; }
.news-editor-more__items > .news-editor-delete-trigger { color: #e7a89d; border-top: 1px solid #3a4241; }
.news-inline-editor .article-editor { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 0; align-items: start; }
.news-inline-editor .article-editor__modebar { grid-column: 1 / -1; padding: 10px 18px; min-height: 57px; }
.article-editor__mode-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.article-editor__mode-heading > span { font-size: 12px; color: #a7aca7; }
.article-editor__mode-heading > button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.article-editor__mode-heading > button svg { width: 15px; height: 15px; flex: 0 0 15px; }
.news-inline-editor .article-editor__library { position: absolute; top: 61px; left: 14px; width: min(310px, calc(100% - 28px)); max-height: min(530px, 65dvh); padding: 14px; z-index: 70; border: 1px solid #76613e; background: #10191c; box-shadow: 0 12px 30px #0008; }
.article-editor__library-heading { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.article-editor__library-heading h2 { margin: 0; }
.article-editor__library-heading > button { flex: 0 0 32px; width: 32px; height: 32px; }
.news-inline-editor .article-editor__page { grid-column: 1; grid-row: 2; max-width: 920px; padding: 28px 24px 46px 96px; }
.news-inline-editor .article-editor__sidebar { grid-column: 2; grid-row: 2; top: 90px; padding: 22px 16px; max-height: calc(100dvh - 110px); }
.news-inline-editor .article-editor.is-preview { grid-template-columns: minmax(0, 1fr) 210px; }
.news-inline-editor .article-editor.is-preview .article-editor__page { padding: 28px 30px 46px; }
.news-inline-editor .news-document-editor__title { min-height: 65px; height: auto; font-size: clamp(30px, 3vw, 45px) !important; line-height: 1.2; resize: vertical; }
.news-inline-editor .news-document-editor__summary { min-height: 64px; font-size: 15px; line-height: 1.6; resize: vertical; }
.news-inline-editor .news-document-editor__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 18px; margin-bottom: 20px; font-size: 11px; color: #89938e; }
.news-inline-editor .news-document-editor__cover { max-height: 260px; width: 100%; object-fit: cover; }
.news-inline-editor .article-block--editable { overflow: visible; }
.news-inline-editor .article-block__handles { position: absolute; left: -79px; top: 9px; width: 72px; margin: 0; display: flex; align-items: center; flex-wrap: nowrap; justify-content: flex-end; gap: 4px; opacity: .45; }
.news-inline-editor .article-block:hover > .article-block__handles, .news-inline-editor .article-block:focus-within > .article-block__handles { opacity: 1; }
.news-inline-editor .article-block__handles > button { display: inline-flex; align-items: center; justify-content: center; width: 32px; min-width: 32px; height: 32px; min-height: 32px; padding: 6px; border-color: transparent; background: transparent; }
.news-inline-editor .article-block__handles > button:hover, .news-inline-editor .article-block__handles > button:focus-visible { background: #222c2e; border-color: #665537; }
.news-inline-editor .article-block__handles svg { display: block; width: 18px; height: 18px; flex: 0 0 18px; }
.news-inline-editor .article-insertion { min-height: 18px; }
.news-inline-editor .article-insertion > button { position: absolute; left: -42px; margin: 0; display: inline-flex; justify-content: center; align-items: center; width: 30px; height: 28px; padding: 5px; border-color: transparent; background: transparent; }
.news-inline-editor .article-insertion > button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.news-inline-editor .article-block__menu { left: 0; right: auto; top: 100%; width: min(250px, calc(100vw - 40px)); max-height: min(450px, 70dvh); overflow-y: auto; z-index: 72; }
.news-inline-editor .article-block__menu > button { min-height: 36px; display: flex; align-items: center; gap: 8px; padding: 8px 10px; text-align: left; }
.news-inline-editor .article-insertion__picker { left: -68px; width: min(310px, calc(100vw - 40px)); max-height: min(420px, 60dvh); }
.news-publication-dialog { display: grid; gap: 18px; min-width: 0; }
.news-publication-dialog__intro { margin: 0; color: #aab4b1; font-size: 13px; }
.news-publication-dialog .news-inline-editor__metadata { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px; padding: 0; }
.news-publication-dialog label, .news-publication-cover-field { display: grid; gap: 7px; font-size: 13px; color: #b8c0bb; }
.news-publication-dialog input, .news-publication-dialog select, .news-publication-dialog textarea { width: 100%; min-width: 0; max-width: 100%; min-height: 42px; padding: 10px 11px; border: 1px solid #4e5958; background: #0b1316; color: #dddcd3; font: inherit; }
.news-publication-dialog textarea { min-height: 90px; resize: vertical; }
.news-publication-dialog .news-inline-editor__address { display: flex; align-items: center; min-width: 0; }
.news-publication-dialog .news-inline-editor__address input { flex: 1; width: 0; border: 0; }
.news-address-reset { width: fit-content; padding: 0; min-height: 24px; color: #ceb381; border: 0; background: transparent; font: inherit; font-size: 12px; text-align: left; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.news-publication-dialog__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.news-publication-dialog__grid > section { margin: 0; padding: 16px; border: 1px solid #374441; background: #10191b; }
.news-publication-dialog__grid > section:first-child { grid-column: 1 / -1; }
.news-publication-dialog h2 { font-size: 16px; }
.news-publication-dialog__notifications { border: 1px solid #374441; padding: 14px; }
.news-publication-dialog__notifications > summary { cursor: pointer; color: #d5bd94; font-size: 14px; }
.news-publication-dialog .news-editor-notifications { margin-top: 15px; padding: 0; border: 0; }
.news-publication-dialog .news-editor-notifications > h2 { display: none; }
.news-publication-dialog__footer { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 9px; border-top: 1px solid #374441; padding-top: 16px; }
.news-publication-dialog__footer > button { min-height: 42px; }
.news-history-dialog { min-width: 0; }
.news-history-dialog .news-editor-history { padding-bottom: 0; }
@media (hover: none) { .news-inline-editor .article-block__handles { opacity: 1; } }
@media (max-width: 1000px) {
    .news-inline-editor .article-editor, .news-inline-editor .article-editor.is-preview { grid-template-columns: minmax(0, 1fr); }
    .news-inline-editor .article-editor__sidebar { grid-column: 1; grid-row: 3; position: static; border-left: 0; border-top: 1px solid #303b3b; max-height: 230px; width: 100%; padding: 14px 22px; }
    .news-inline-editor .article-editor__sidebar .article-outline { columns: 2; }
    .news-inline-editor .article-editor__sidebar .article-outline h2 { column-span: all; }
    .news-inline-editor .article-editor__page { grid-row: 2; }
}
@media (max-width: 600px) {
    .news-inline-editor__toolbar { padding: 12px; gap: 10px; }
    .news-inline-editor__nav { flex-basis: 100%; gap: 7px 10px; }
    .news-inline-editor__nav > a { margin-right: auto; }
    .news-inline-editor__actions { flex: 1 1 100%; justify-content: flex-start; display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr) 38px; }
    .news-inline-editor__actions .angular-button { font-size: 12px; padding: 8px; line-height: 1.3; }
    .news-inline-editor .article-editor__modebar { padding: 10px 12px; flex-wrap: wrap; }
    .news-inline-editor .article-editor__page { padding: 22px 12px 32px 80px; }
    .news-inline-editor .article-block__handles { left: -68px; width: 62px; gap: 2px; top: 5px; }
    .news-inline-editor .article-block__handles > button { width: 30px; min-width: 30px; height: 34px; min-height: 34px; }
    .news-inline-editor .article-insertion > button { left: -34px; }
    .news-inline-editor .article-insertion__picker { left: -63px; }
    .news-inline-editor .article-editor.is-preview .article-editor__page { padding: 20px 16px 30px; }
    .news-inline-editor .article-editor__sidebar .article-outline { columns: 1; }
    .news-inline-editor .article-editor__widths { gap: 3px; }
    .news-inline-editor .article-editor__widths button { padding: 5px 6px; font-size: 11px; }
    .news-publication-dialog .news-inline-editor__metadata, .news-publication-dialog__grid { grid-template-columns: minmax(0, 1fr); }
    .news-publication-dialog__grid > section:first-child { grid-column: auto; }
    .news-publication-dialog__footer > button { flex: 1 1 130px; }
}
@media (prefers-reduced-motion: reduce) { .news-inline-editor * { scroll-behavior: auto; } }

.news-inline-editor .article-editor.without-sidebar, .news-inline-editor .article-editor.is-preview.without-sidebar { grid-template-columns: minmax(0, 1fr); }

.news-action-label--compact { display: none; }
.news-publication-dialog__body { display: grid; gap: 18px; min-width: 0; }
@media (max-width: 600px) {
    .news-action-label--full { display: none; }
    .news-action-label--compact { display: inline; }
    .news-inline-editor .article-editor__mode-heading > span { display: none; }
    .news-inline-editor .article-editor__modebar { flex-direction: row; flex-wrap: nowrap; align-items: center; gap: 8px; }
    .news-inline-editor .article-editor__mode-actions { flex-wrap: nowrap; }
    .news-inline-editor .editor-dialog:has(> .news-publication-dialog) { display: flex; flex-direction: column; max-height: calc(100dvh - 24px); overflow: hidden; }
    .news-inline-editor .editor-dialog:has(> .news-publication-dialog) > header { flex: 0 0 auto; padding-bottom: 12px; margin-bottom: 12px; }
    .news-publication-dialog { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; overflow: hidden; gap: 12px; }
    .news-publication-dialog__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding-right: 5px; }
    .news-publication-dialog__footer { flex: 0 0 auto; margin: 0; padding-top: 12px; gap: 8px; background: #121d23; }
    .news-publication-dialog__footer > button { flex: 1 1 0; min-width: 0; font-size: 12px; line-height: 1.3; }
}
