.article-editor {
    display: grid;
    grid-template-columns: minmax(360px, 1fr) minmax(0, 860px) minmax(360px, 1fr);
    align-items: start;
    max-width: 100%;
}
.article-editor.is-preview { grid-template-columns: minmax(0, 1fr) minmax(0, 860px) minmax(0, 1fr); }
.article-editor > * { min-width: 0; }
.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__sidebar {
    grid-column: 3;
    grid-row: 1;
    width: 100%;
    max-width: 380px;
    position: sticky;
    top: 90px;
    max-height: calc(100dvh - 110px);
    overflow: auto;
    padding: 16px 8px;
    margin-top: 28px;
    border-left: 1px solid #303536;
    scrollbar-gutter: stable;
}
.article-outline h2 {
    margin: 0 0 14px;
    color: #bf9b64;
    font: 600 16px var(--font-condensed);
    text-transform: uppercase;
    letter-spacing: .08em;
}
.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 {
    --article-control-width: 74px;
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    margin: 0 auto;
    padding: 28px 24px 46px;
    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,
.article-editor__page > .news-document-editor__meta { margin-bottom: 18px; }
.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 {
    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-editor .angular-button.article-picker-close { display: flex; width: 40px; min-height: 40px; margin: 0 0 8px auto; padding: 0; }
.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-block--editable .article-task-list li { align-items: center; }
.article-task-list input[type=checkbox] { flex: 0 0 18px; width: 18px; min-height: 18px; margin: 0; 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-editor .angular-button.article-task-delete { flex: 0 0 44px; width: 44px; min-height: 44px; padding: 0; }
.article-task-add, .article-group-add { margin: 8px 12px; }
.article-editor .article-block > .widget-tree.is-editor { min-height: 0; }
.article-editor .widget-tree.is-editor .image-carousel:has(> [data-carousel-direction]) {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    grid-template-areas: "slides slides slides" "previous pages next";
    align-items: center;
    gap: 8px;
}
.article-editor .widget-tree.is-editor .image-carousel__track { grid-area: slides; height: auto; min-width: 0; }
.article-editor .widget-tree.is-editor .image-carousel__previous { grid-area: previous; }
.article-editor .widget-tree.is-editor .image-carousel__next { grid-area: next; }
.article-editor .widget-tree.is-editor .image-carousel__dots { grid-area: pages; }
.article-editor .widget-tree.is-editor .image-carousel > button {
    display: grid;
    place-items: center;
    inset: auto;
    height: 44px;
    padding: 0;
    transform: none;
}
.article-editor.is-preview .article-editor__page { container: site-canvas / inline-size; padding-inline: 24px; }
.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; }
.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 :is(a, button) { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; min-height: 34px; padding: 6px 9px; border: 1px solid #4d4c44; color: #b8beb9; background: transparent; font: inherit; text-align: center; text-decoration: none; white-space: nowrap; cursor: pointer; }
.public-news-article__languages button:disabled { cursor: default; opacity: .6; }
.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: 850px) {
    .news-version-comparison__documents { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
    .news-editor-import-dialog__summary { grid-template-columns: minmax(0, 1fr); }
}
/* Компактное рабочее место статьи: содержание и редкие настройки разделены. */
.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: grid;
    grid-template-columns: minmax(0, 1fr) clamp(225px, 20vw, 340px) minmax(0, 1fr);
    grid-template-areas: "navigation address actions";
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
}
.news-inline-editor__toolbar > .news-inline-editor__nav { grid-area: navigation; flex-wrap: wrap; gap: 10px; min-width: 0; }
.news-inline-editor__toolbar > .news-inline-editor__actions {
    grid-area: actions;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
    flex-wrap: wrap;
    min-width: 0;
}
.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-editor-view { display: inline-flex; align-items: center; gap: 7px; }
.news-editor-view .angular-button { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; }
.news-inline-editor__actions .angular-button.news-editor-icon-action { flex: 0 0 44px; width: 44px; min-height: 44px; padding: 0; }
.news-editor-view svg, .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 .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;
    inset: 4px auto auto calc(-1 * var(--article-control-width) - 1px);
    width: var(--article-control-width);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    opacity: .72;
}
.news-inline-editor .article-block__handles:has(.article-block__menu) { opacity: 1; z-index: 72; }
.news-inline-editor .article-block__handles > button, .news-inline-editor .article-insertion > button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 34px;
    min-width: 34px;
    height: 34px;
    padding: 5px;
    border-color: transparent;
    background: transparent;
}
.news-inline-editor :is(.article-block__handles, .article-insertion) > button:is(:hover, :focus-visible, [aria-expanded="true"]) {
    opacity: 1;
    background: #222c2e;
    border-color: #665537;
}
.news-inline-editor :is(.article-block__handles, .article-insertion) .editor-icon { display: block; width: 18px; height: 18px; flex: 0 0 18px; }
.news-inline-editor .article-insertion { min-height: 34px; }
.news-inline-editor .article-insertion > button { position: absolute; left: calc((34px - var(--article-control-width)) / 2 - 34px); margin: 0; }
.news-inline-editor .article-block__menu { left: 0; top: 100%; }
.news-inline-editor .article-insertion__picker { left: 0; max-height: min(420px, 60dvh); }
.news-editor-address { grid-area: address; display: grid; gap: 6px; width: 100%; min-width: 0; max-width: 340px; justify-self: center; }
.news-editor-address .news-inline-editor__address { display: flex; align-items: center; min-height: 44px; font-size: 13px; }
.news-editor-address .news-inline-editor__address input { flex: 1; min-width: 0; min-height: 42px; font: inherit; }
.news-editor-address .angular-button { min-height: 38px; justify-self: center; }
.news-publication-dialog { display: flex; flex-direction: column; flex: 1 1 auto; gap: 16px; min-width: 0; min-height: 0; }
.news-inline-editor .editor-dialog:has(> .news-publication-dialog) { display: flex; flex-direction: column; width: min(860px, 100%); overflow: hidden; }
.news-inline-editor .editor-dialog:has(> .news-publication-dialog) > header { flex: 0 0 auto; margin-bottom: 14px; padding-bottom: 12px; }
.news-publication-dialog__body { display: grid; gap: 14px; min-width: 0; min-height: 0; overflow-y: auto; scrollbar-gutter: stable; }
.news-publication-dialog__intro { margin: 0; color: #aab4b1; font-size: 13px; }
.news-publication-dialog__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.news-publication-dialog__grid > section { align-content: start; margin: 0; padding: 14px; border: 1px solid #374441; background: #10191b; }
.news-publication-dialog__grid > .news-editor-review { grid-column: 1 / -1; }
.news-publication-dialog__grid .angular-button { justify-self: start; }
.news-publication-dialog .news-publication-dialog__grid h2 { font: 600 17px/1.25 var(--font-condensed); }
.news-publication-dialog h2 .site-icon { flex: 0 0 18px; width: 18px; height: 18px; }
.news-publication-dialog .news-editor-schedule small { color: #aab4b1; line-height: 1.4; }
.news-publication-dialog :is(input:not([type="checkbox"]), select, textarea) {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 42px;
    padding: 9px 11px;
    border: 1px solid var(--text-field-border);
    background: var(--text-field-background);
    color: var(--text-field-color);
    font: inherit;
}
.news-publication-dialog textarea { min-height: 86px; resize: vertical; }
.news-publication-dialog__notifications { border: 1px solid #374441; padding: 14px; background: #10191b; }
.news-publication-dialog__notifications > summary { min-height: 24px; cursor: pointer; color: #d5bd94; font-size: 14px; }
.news-publication-dialog .news-editor-notifications { margin-top: 12px; padding: 0; border: 0; }
.news-publication-dialog__footer { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; border-top: 1px solid #374441; padding-top: 12px; }
.news-publication-dialog__footer > button { min-height: 42px; }
.news-history-dialog { min-width: 0; }
.news-history-dialog .news-editor-history { padding-bottom: 0; }
.news-action-label--compact { display: none; }

@media (max-width: 1350px) {
    .news-inline-editor__actions .news-action-label--full { display: none; }
    .news-inline-editor__actions .news-action-label--compact { display: inline; }
}
@media (max-width: 1280px) {
    .article-editor, .article-editor.is-preview { grid-template-columns: minmax(0, 1fr); }
    .article-editor .article-editor__page {
        grid-column: 1;
        max-width: 860px;
        padding-inline: calc(var(--article-control-width) + 12px);
    }
    .article-editor.is-preview .article-editor__page { padding-inline: 24px; }
    .article-editor__sidebar {
        grid-column: 1;
        grid-row: 2;
        position: static;
        max-width: 860px;
        max-height: none;
        overflow: visible;
        margin: 0 auto;
        padding: 14px clamp(8px, 2vw, 20px);
        border: 1px solid #303536;
    }
}
@media (max-width: 1040px) {
    .news-inline-editor__toolbar {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "navigation" "address" "actions";
    }
}
@media (max-width: 600px) {
    .news-inline-editor__toolbar { padding: 12px; gap: 10px; }
    .news-inline-editor__toolbar > .news-inline-editor__nav { gap: 7px 10px; }
    .news-inline-editor__nav > a { margin-right: auto; }
    .news-inline-editor__toolbar > .news-inline-editor__actions { display: grid; grid-template-columns: 44px 44px minmax(0, 1fr) 44px; }
    .news-inline-editor__actions .angular-button { font-size: 12px; line-height: 1.3; }
    .news-editor-save-state { grid-column: 1 / -1; order: 1; justify-self: end; }
    .article-editor .article-editor__page, .article-editor.is-preview .article-editor__page { padding: 20px 16px 32px; }
    .news-inline-editor .article-block__handles { position: relative; inset: auto; width: 100%; opacity: 1; }
    .news-inline-editor .article-insertion { justify-content: center; }
    .news-inline-editor .article-insertion > button { position: static; }
    .news-inline-editor :is(.article-block__handles, .article-insertion) > button { width: 44px; height: 44px; }
    .news-inline-editor .article-block__menu { left: 50%; transform: translateX(-50%); max-width: 100%; }
    .news-publication-dialog__grid { grid-template-columns: minmax(0, 1fr); }
    .news-publication-dialog__footer > button { flex: 1 1 112px; min-width: 0; font-size: 12px; line-height: 1.3; }
    .news-action-label--full { display: none; }
    .news-action-label--compact { display: inline; }
}
@media (prefers-reduced-motion: reduce) { .news-inline-editor * { scroll-behavior: auto; } }
