/* ==========================================================================
   ФАКТ24 — Блоки страницы материала (Single Story Blocks)
   1. Компактные источники материала (Space-efficient sources)
   2. Правовая маркировка (Архитектурные минималистичные плашки)
   3. Оценки и реакции (Интерактивные капсулы + sentiment track)
   4. Блок «Поделиться» и «Ещё» (Фирменные кнопки действий)
   5. Выдвижная форма замечания об ошибке (Drawer)
   ========================================================================== */

/* ==========================================================================
   1. Компактные источники материала
   ========================================================================== */
.sources.f24-sources-compact {
	margin: 28px 0 20px;
	padding: 18px 20px 14px;
	border: 1px solid var(--line);
	border-radius: var(--radius, 6px);
	background: var(--panel, var(--bg-2));
	color: var(--ink);
}

.sources-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--line);
}

.sources-head-left {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.sources-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--acc);
}

.sources-title {
	margin: 0;
	font-family: var(--display);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--ink);
	line-height: 1.2;
}

.sources-count {
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--muted);
	white-space: nowrap;
}

.sources-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
}

.src-row {
	display: flex;
	align-items: baseline;
	gap: 10px;
	padding: 8px 2px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	font-size: 13.5px;
	line-height: 1.4;
	transition: background-color .15s ease;
}

/* П5-01b: у редакционных статей список источников живёт на сетке
   `.sources li` (editorial.css: 30px 1fr auto) со счётчиком в ::before.
   В сюжете своя разметка — номер в .src-num, поэтому сетку и псевдономер
   надо снять: иначе li остаётся гридом, номер печатается дважды, а
   колонка `auto` тянется по длинному домену и выпихивает строку за край
   (замер 17.10: до +205 px на 360 и +186 px на 390). */
.sources.f24-sources-compact li.src-row {
	display: flex;
	align-items: baseline;
	grid-template-columns: none;
	gap: 10px;
	padding: 8px 2px;
	font-size: 13.5px;
}

.sources.f24-sources-compact li.src-row::before {
	content: none;
	display: none;
}

html[data-f24-theme="light"] .src-row {
	border-bottom-color: rgba(0, 0, 0, 0.05);
}

.src-row:last-child {
	border-bottom: none;
}

.src-num {
	font-family: var(--mono);
	font-size: 11px;
	color: var(--muted);
	min-width: 20px;
	flex-shrink: 0;
	user-select: none;
}

.src-main {
	flex: 1 1 auto;
	min-width: 0;
	display: inline-flex;
	align-items: baseline;
	gap: 7px;
	flex-wrap: wrap;
}

.src-link {
	color: var(--ink);
	text-decoration: none;
	display: inline-flex;
	align-items: baseline;
	gap: 4px;
	word-break: break-word;
	transition: color .15s ease;
}

.src-link:hover {
	color: var(--acc);
}

/* Этап 8-фикс-5: источник без адреса — присланный текст. Ссылки нет,
   поэтому и ховера нет: строка читается как обычный текст, а не как
   неработающая ссылка. */
.src-link--text,
.src-link--text:hover {
	color: var(--ink);
	cursor: default;
}

.src-title-text {
	font-weight: 500;
}

.src-ext-arrow {
	font-size: 11px;
	color: var(--muted);
	display: inline-block;
	transition: transform .15s ease, color .15s ease;
	flex-shrink: 0;
}

.src-link:hover .src-ext-arrow {
	transform: translate(1px, -1px);
	color: var(--acc);
}

/* Standalone legal star badge next to source */
.src-mark-badge {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	padding: 1px 6px;
	border-radius: 3px;
	font-family: var(--mono);
	font-size: 10px;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: #e06c75;
	background: rgba(224, 108, 117, 0.12);
	border: 1px solid rgba(224, 108, 117, 0.3);
	text-decoration: none;
	cursor: pointer;
	transition: all .15s ease;
	white-space: nowrap;
	line-height: 1.3;
}

.src-mark-badge:hover {
	background: rgba(224, 108, 117, 0.25);
	border-color: #e06c75;
	color: #fff;
	transform: translateY(-1px);
}

.src-mark-star {
	font-weight: 700;
	color: #e06c75;
}

.src-meta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
	margin-left: auto;
}

.src-badge-host {
	font-family: var(--mono);
	font-size: 10.5px;
	color: var(--muted);
	padding: 2px 7px;
	border-radius: 3px;
	background: var(--bg);
	border: 1px solid var(--line);
	white-space: nowrap;
}

.src-badge-type {
	font-family: var(--mono);
	font-size: 10px;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--muted);
	padding: 2px 6px;
	border-radius: 3px;
	background: transparent;
	border: 1px solid var(--line);
	white-space: nowrap;
}

.src-badge-type--canon {
	color: var(--s24-accent-text, var(--acc));
	border-color: var(--acc-plate-border, rgba(235, 160, 0, 0.35));
	background: var(--acc-plate-bg, rgba(235, 160, 0, 0.08));
	font-weight: 600;
}

/* ==========================================================================
   2. Правовая маркировка (Архитектурные минималистичные плашки)
   ========================================================================== */
.f24-marking-plates {
	margin: 24px 0 20px;
	padding: 18px 20px 16px;
	border: 1px solid var(--line);
	border-left: 3px solid #e06c75;
	border-radius: var(--radius, 6px);
	background: var(--panel, var(--bg-2));
	scroll-margin-top: 90px;
	transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.f24-marking-plates-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 12px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--line);
}

.f24-marking-plates-icon {
	font-family: var(--serif);
	font-size: 16px;
	font-weight: 700;
	color: #e06c75;
	line-height: 1;
}

.f24-marking-plates-title {
	font-family: var(--display);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--ink);
	margin: 0;
	flex: 1 1 auto;
}

.f24-marking-plates-age {
	font-family: var(--mono);
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: .08em;
	padding: 2px 7px;
	border: 1px solid var(--line);
	border-radius: 3px;
	color: var(--muted);
	background: var(--bg);
	white-space: nowrap;
}

.f24-marking-plates-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.f24-marking-plate {
	padding: 10px 0 6px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	scroll-margin-top: 100px;
	transition: background-color .3s ease, border-color .3s ease, padding .2s ease;
}

html[data-f24-theme="light"] .f24-marking-plate {
	border-bottom-color: rgba(0, 0, 0, 0.05);
}

.f24-marking-plate:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.f24-marking-plate-header,
.f24-marking-plate-top {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	margin-bottom: 6px;
}

/* 15-2 / 48-3 (28.10.2026): плашка маркировки — платформенный элемент, но
   её контраст реально падал: розовый #e06c75 на розовой подложке давал
   2,4:1 в светлой теме. Теперь цвет пары считается от темы, а не один на обе. */
.f24-marking-plate-kind {
	font-family: var(--mono);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	padding: 2px 7px;
	border-radius: 3px;
	background: rgba(224, 108, 117, 0.18);
	color: #ffb3b9;
	border: 1px solid rgba(255, 179, 185, 0.45);
	line-height: 1.3;
}

html[data-f24-theme="light"] .f24-marking-plate-kind {
	background: rgba(158, 29, 37, 0.10);
	color: #8b1a22;
	border-color: rgba(139, 26, 34, 0.40);
}

.f24-marking-plate-name {
	font-size: 14px;
	font-weight: 700;
	color: var(--ink);
}

.f24-marking-plate-name .f24-mark-star {
	color: #ffb3b9;
}

html[data-f24-theme="light"] .f24-marking-plate-name .f24-mark-star,
html[data-f24-theme="light"] .f24-marking-plates-icon,
html[data-f24-theme="light"] .f24-mark-link {
	color: #8b1a22;
}

.f24-marking-plate-where {
	font-family: var(--mono);
	font-size: 10.5px;
	color: var(--muted);
	margin-left: auto;
}

.f24-marking-plate-note {
	font-size: 12.5px;
	line-height: 1.5;
	color: var(--ink-2);
	margin: 0;
}

.f24-marking-plate-warn {
	font-family: var(--mono);
	font-size: 11px;
	color: var(--acc-text, var(--acc));
	margin: 6px 0 0;
}

/* Highlight target plate when anchor clicked */
.f24-marking-plate:target,
.f24-marking-plate.f24-plate-highlighted {
	background: rgba(224, 108, 117, 0.08);
	border-radius: 4px;
	padding: 10px 10px;
	animation: f24PlatePulse 1.8s ease;
}

@keyframes f24PlatePulse {
	0% { background: rgba(224, 108, 117, 0.3); }
	50% { background: rgba(224, 108, 117, 0.15); }
	100% { background: rgba(224, 108, 117, 0.08); }
}

/* Inline star link inside article body */
.f24-mark-star {
	font-size: 0.85em;
	font-weight: 700;
	line-height: 0;
	margin-left: 1px;
	vertical-align: super;
}

.f24-mark-link {
	color: #e06c75;
	text-decoration: none;
	padding: 0 2px;
	border-radius: 2px;
	transition: background-color .15s, color .15s;
}

.f24-mark-link:hover {
	background: rgba(224, 108, 117, 0.2);
	color: #fff;
}

/* ==========================================================================
   3. Оценки и реакции (Интерактивные капсулы + sentiment track)
   ========================================================================== */
.f24-reactions {
	margin: 26px 0 20px;
	padding: 18px 20px;
	border: 1px solid var(--line);
	border-radius: var(--radius, 6px);
	background: var(--panel, var(--bg-2));
}

.f24-reactions-top {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-bottom: 12px;
}

.f24-reactions-kicker-wrap {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.f24-reactions-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--acc);
}

.f24-reactions .kicker {
	margin: 0;
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--muted);
}

.f24-reactions .kicker b {
	color: var(--acc);
}

.f24-reactions-head {
	font-family: var(--display);
	font-size: 16px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--ink);
	margin: 0;
}

.f24-reactions-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 10px;
}

.f24-reaction-btn {
	border: 1px solid var(--line-ctl, var(--line));
	background: var(--bg);
	color: var(--ink);
	padding: 7px 13px;
	border-radius: 4px;
	font-family: var(--sans);
	font-size: 13px;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	cursor: pointer;
	transition: all .18s cubic-bezier(.16, 1, .3, 1);
	user-select: none;
	line-height: 1.2;
}

.f24-reaction-emoji {
	font-size: 15px;
	line-height: 1;
	transition: transform .2s cubic-bezier(.175, .885, .32, 1.275);
}

.f24-reaction-label {
	font-size: 12.5px;
	font-weight: 500;
}

.f24-reaction-chip {
	background: var(--panel, var(--bg-2));
	border: 1px solid var(--line);
	border-radius: 3px;
	padding: 1px 5px;
	min-width: 18px;
	text-align: center;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

/* AB-12 (19.10.2026): --muted #7b7978 на белом даёт 4.33:1 — ниже 4.5.
   Счётчик реакций — служебное число, но читаться должно так же, как текст. */
.f24-reaction-num {
	font-family: var(--mono);
	font-size: 10.5px;
	font-weight: 600;
	/* AB-12 (19.10.2026): значение фиксировано в обеих темах.
	   В тёмной --muted давал 4.46:1, в светлой — 4.33:1; обе цифры ниже 4.5.
	   Токен --muted меняется тремя файлами и контекстами (скин бумаги, скин
	   обложки), поэтому счётчик берёт свои два значения, а не переменную. */
	color: #a9a59c !important;
	transition: color .2s;
}
html[data-f24-theme="light"] .f24-reaction-num {
	color: #5f5d5b !important;
}
@media (prefers-color-scheme: light) {
	html:not([data-f24-theme]) .f24-reaction-num {
		color: #5f5d5b !important;
	}
}

.f24-reaction-btn:hover {
	transform: translateY(-1px);
	border-color: var(--acc);
	color: var(--ink);
}

.f24-reaction-btn:hover .f24-reaction-emoji {
	transform: scale(1.22);
}

.f24-reaction-btn.on,
.f24-reaction-btn[aria-pressed="true"] {
	border-color: var(--acc);
	background: var(--acc-plate-bg, rgba(235, 160, 0, 0.12));
	color: var(--ink);
	font-weight: 600;
}

.f24-reaction-btn.on .f24-reaction-num,
.f24-reaction-btn[aria-pressed="true"] .f24-reaction-num {
	color: var(--acc);
}

.f24-reaction-btn.on .f24-reaction-chip,
.f24-reaction-btn[aria-pressed="true"] .f24-reaction-chip {
	border-color: var(--acc);
}

/* Sentiment distribution track */
.f24-reactions-sentiment {
	height: 4px;
	background: var(--line);
	border-radius: 2px;
	overflow: hidden;
	margin-top: 8px;
}

.f24-sentiment-track {
	display: flex;
	height: 100%;
	width: 100%;
}

.f24-sentiment-seg {
	height: 100%;
	transition: width 0.4s ease;
}

.f24-sentiment-seg--fire   { background: #f07178; }
.f24-sentiment-seg--useful { background: #98c379; }
.f24-sentiment-seg--wow    { background: #c678dd; }
.f24-sentiment-seg--doubt  { background: #e5c07b; }
.f24-sentiment-seg--sad    { background: #7f848e; }

.f24-reactions-msg {
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--acc);
	margin: 8px 0 0;
	min-height: 14px;
}

/* ==========================================================================
   4. Блок «Поделиться» и «Ещё»
   ========================================================================== */
.f24-share,
.f24-story-actions {
	margin: 20px 0 0;
	padding-top: 14px;
	border-top: 1px solid var(--line);
}

.f24-share-title {
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--muted);
	margin: 0 0 10px;
}

.f24-share-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.f24-share-btn {
	border: 1px solid var(--line-ctl, var(--line));
	background: var(--panel, var(--bg-2));
	color: var(--ink-2);
	padding: 7px 12px;
	font-family: var(--mono);
	font-size: 11.5px;
	letter-spacing: .06em;
	text-transform: uppercase;
	cursor: pointer;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border-radius: 3px;
	transition: all .18s ease;
	line-height: 1.3;
}

.f24-share-btn:hover {
	border-color: var(--acc);
	color: var(--ink);
	background: var(--bg);
	transform: translateY(-1px);
}

.f24-share-btn--telegram:hover {
	border-color: #2ca5e0;
	color: #2ca5e0;
}

.f24-share-btn--vkontakte:hover {
	border-color: #0077ff;
	color: #0077ff;
}

.f24-share-btn--whatsapp:hover {
	border-color: #25d366;
	color: #25d366;
}

.f24-share-btn--copy.saved {
	border-color: #98c379;
	color: #98c379;
}

.f24-share-btn[data-f24-report-open] {
	border-style: dashed;
}

.f24-share-btn[data-f24-report-open][aria-expanded="true"] {
	border-color: var(--acc);
	background: var(--acc-plate-bg, rgba(235, 160, 0, 0.12));
	color: var(--ink);
}

/* ==========================================================================
   5. Выдвижная форма сообщения об ошибке (Drawer)
   ========================================================================== */
.f24-report {
	margin: 14px 0 24px;
}

.f24-report-body {
	border: 1px solid var(--line);
	padding: 18px 20px;
	display: grid;
	gap: 12px;
	background: var(--panel, var(--bg-2));
	margin-top: 12px;
	border-radius: var(--radius, 6px);
}

/* MUST NOT BE OVERRIDDEN WHEN HIDDEN */
.f24-report-body[hidden] {
	display: none !important;
}

.f24-report-head-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.f24-report-head {
	font-family: var(--display);
	font-size: 15px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--acc);
	margin: 0;
	font-weight: 700;
}

.f24-report-close {
	background: transparent;
	border: 1px solid var(--line);
	color: var(--muted);
	width: 26px;
	height: 26px;
	border-radius: 3px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	transition: all .15s ease;
}

.f24-report-close:hover {
	border-color: var(--acc);
	color: var(--ink);
}

.f24-report-note {
	font-size: 13px;
	line-height: 1.45;
	color: var(--muted);
	margin: 0;
}

.f24-report-form {
	display: grid;
	gap: 12px;
}

.f24-report-field {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.f24-report-label-text {
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--muted);
}

.f24-report-label-text .req {
	color: var(--acc);
}

.f24-report-field textarea,
.f24-report-field input {
	background: var(--bg);
	border: 1px solid var(--line-ctl, var(--line));
	color: var(--ink);
	padding: 9px 12px;
	font-family: var(--body);
	font-size: 14px;
	border-radius: 4px;
	transition: border-color .15s ease;
}

.f24-report-field textarea:focus,
.f24-report-field input:focus {
	outline: none;
	border-color: var(--acc);
	box-shadow: 0 0 0 2px rgba(235, 160, 0, 0.2);
}

.f24-report-row-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

@media (max-width: 600px) {
	.f24-report-row-2 {
		grid-template-columns: 1fr;
	}
}

.f24-report-error {
	color: #e06c75;
	font-size: 12.5px;
	border-left: 2px solid #e06c75;
	padding: 2px 0 2px 8px;
	margin: 0;
}

.f24-report-error[hidden] {
	display: none !important;
}

.f24-report-footer {
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

.f24-report-submit {
	background: var(--ink);
	color: var(--bg);
	border: 1px solid var(--ink);
	padding: 10px 18px;
	font-family: var(--display);
	font-size: 13px;
	letter-spacing: .12em;
	text-transform: uppercase;
	font-weight: 600;
	cursor: pointer;
	border-radius: 4px;
	transition: all .18s ease;
}

.f24-report-submit:hover {
	background: var(--acc-fill, #d48b00);
	border-color: var(--acc-fill, #d48b00);
	color: #fff;
}

.f24-report-done {
	padding: 14px 16px;
	border: 1px solid #98c379;
	background: rgba(152, 195, 121, 0.1);
	color: #98c379;
	font-size: 13.5px;
	border-radius: 4px;
}

.f24-report-done[hidden] {
	display: none !important;
}

/* ==========================================================================
   6. Адаптив для мобильных устройств
   ========================================================================== */
@media (max-width: 640px) {
	/* П5-01 (S-15 В1): блок источников на узких экранах.
	   Раньше шапка не переносилась, а бейджи с длинными доменами вылезали за
	   край (замер 17.10: 360 px — до 205 px переполнения, 390 px — до 205 px). */
	.sources.f24-sources-compact {
		padding: 14px 14px 12px;
	}
	.sources-head {
		flex-wrap: wrap;
		align-items: flex-start;
		row-gap: 4px;
	}
	.sources-head-left {
		min-width: 0;
	}
	.sources-title {
		overflow-wrap: anywhere;
	}
	.sources-count {
		white-space: normal;
	}
	.sources-count-sync {
		display: none;
	}
	.sources.f24-sources-compact li.src-row,
	.src-row {
		display: flex;
		flex-wrap: wrap;
		gap: 4px 8px;
		padding: 9px 0;
	}
	.src-main {
		flex: 1 1 calc(100% - 28px);
		min-width: 0;
	}
	.src-link {
		min-width: 0;
		overflow-wrap: anywhere;
	}
	.src-mark-badge {
		white-space: normal;
		overflow-wrap: anywhere;
		max-width: 100%;
	}
	.src-meta {
		flex: 1 1 calc(100% - 28px);
		flex-shrink: 1;
		flex-wrap: wrap;
		min-width: 0;
		width: auto;
		max-width: 100%;
		margin-left: 28px;
	}
	.src-badge-host,
	.src-badge-type {
		white-space: normal;
		overflow-wrap: anywhere;
		max-width: 100%;
	}
	.f24-reactions-row {
		gap: 6px;
	}
	.f24-reaction-btn {
		padding: 6px 10px;
		font-size: 12px;
	}
}

/* ==========================================================================
   7. Печать (@media print)
   ========================================================================== */
@media print {
	.f24-share,
	.f24-story-actions,
	.f24-reactions,
	.f24-report {
		display: none !important;
	}
	.sources.f24-sources-compact {
		border: none;
		border-top: 1pt solid #000;
		padding: 8pt 0 0;
		margin: 12pt 0 0;
		background: transparent;
	}
	.f24-marking-plates {
		border: 1pt solid #000;
		background: transparent;
	}
}


/* ==========================================================================
   ФАКТ24 V7 — Width Contract & Design Standards
   ========================================================================== */
:root {
  --f24-content-w: 820px;
  --f24-wide-w: 1000px;
  --f24-bleed-w: 1200px;
}

.f24-wide, [data-f24-width="wide"] {
  max-width: var(--f24-wide-w);
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.f24-bleed, [data-f24-width="bleed"] {
  max-width: var(--f24-bleed-w);
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* AB-08 + IN-05 (19.10.2026): тот же контракт, что в core.css и
   story-system.css. Отрицательных отступов больше нет: ширина ограничена
   вьюпортом и выровнена от центра контейнера. */
@media (min-width: 1024px) {
  .story-body .f24-wide, .story-body [data-f24-width="wide"],
  .f24-story .f24-wide, .f24-story [data-f24-width="wide"] {
    --f24-wide-target: min(var(--f24-wide-w), calc(100vw - 48px));
    width: var(--f24-wide-target);
    max-width: var(--f24-wide-target);
    margin-left: calc(50% - var(--f24-wide-target) / 2);
    margin-right: calc(50% - var(--f24-wide-target) / 2);
  }
  .story-body .f24-bleed, .story-body [data-f24-width="bleed"],
  .f24-story .f24-bleed, .f24-story [data-f24-width="bleed"] {
    --f24-bleed-target: min(var(--f24-bleed-w), calc(100vw - 32px));
    width: var(--f24-bleed-target);
    max-width: var(--f24-bleed-target);
    margin-left: calc(50% - var(--f24-bleed-target) / 2);
    margin-right: calc(50% - var(--f24-bleed-target) / 2);
  }
}

/* Callout & Aside V7 Design Standard */
.f24-callout, .f24-aside {
  background: var(--tint, rgba(59, 130, 246, 0.08));
  border: 1px solid var(--line, #272732);
  border-left: 4px solid var(--acc, #3b82f6);
  border-radius: 6px;
  padding: 18px 22px;
  margin: 24px 0;
  color: var(--ink, #e8e8ed);
}
.f24-callout__label, .f24-aside__label {
  font-family: var(--display, sans-serif);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--acc, #3b82f6);
  margin-bottom: 8px;
}
.f24-callout__title, .f24-aside__title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px 0;
  color: var(--ink, #e8e8ed);
}
.f24-callout__source, .f24-aside__source {
  font-size: 12px;
  color: var(--muted, #727282);
  margin-top: 12px;
  border-top: 1px solid var(--line, #272732);
  padding-top: 8px;
}

/* ==========================================================================
   9. Паспорт данных — удалён (этап 8-фикс-3, 20.10.2026).
   Блок убран из шаблона, стили удалены вместе с ним.
   ========================================================================== */


/* ==========================================================================
   G3-01 (раунд 18, этап 4 ч.3): «широкая» таблица — по замеру, а не по числу
   колонок. Сервер ставит data-f24-wide-hint="1" подсказкой (три и более
   колонок — безопасный дефолт без JS), клиентский замер ставит f24-wide или
   снимает подсказку через data-f24-fit="fits". Атрибут data-f24-overflow
   хранит фактическую разницу scrollWidth − clientWidth: по нему проверка
   называет обрезанный столбец и пиксели.
   ========================================================================== */
.f24-table-wrap[data-f24-wide-hint="1"]:not([data-f24-fit]) {
  max-width: var(--f24-wide-w, 1000px);
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 1024px) {
  .story-body .f24-table-wrap[data-f24-wide-hint="1"]:not([data-f24-fit]),
  .f24-story .f24-table-wrap[data-f24-wide-hint="1"]:not([data-f24-fit]),
  .f24-body .f24-table-wrap[data-f24-wide-hint="1"]:not([data-f24-fit]),
  .entry-content .f24-table-wrap[data-f24-wide-hint="1"]:not([data-f24-fit]) {
    --f24-wide-target: min(var(--f24-wide-w, 1000px), calc(100vw - 48px));
    width: var(--f24-wide-target);
    max-width: var(--f24-wide-target);
    margin-left: calc(50% - var(--f24-wide-target) / 2);
    margin-right: calc(50% - var(--f24-wide-target) / 2);
  }
}
/* Замер не подтвердил переполнение — таблица живёт в колонке текста. */
.f24-table-wrap[data-f24-fit="fits"] {
  max-width: 100%;
}
.f24-table-wrap[data-f24-fit="fits"] .f24-table-scroll-hint[hidden] {
  display: none;
}
