.press-layout .main-column,
.press-layout .sidebar-column,
.press-index-header,
.press-list-item { min-width: 0; }

.press-article,
.press-index-card,
.press-empty {
  min-width: 0;
  padding: 22px;
  overflow-wrap: anywhere;
}

.press-article,
.press-index-card,
.press-empty,
.press-article-header,
.press-index-header { display: grid; gap: 16px; }

.press-article h1,
.press-index-header h1,
.press-empty h1 {
  font-size: clamp(1.45rem, 2vw, 2.1rem);
  line-height: 1.22;
  white-space: normal;
}

.press-index-header { gap: 8px; }

.press-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.press-layout .breadcrumbs a:hover,
.press-list-item h2 a:hover { color: var(--accent-deep); }

.press-meta a,
.press-source a,
.press-filter a {
  color: var(--instrument-link);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.press-body a:not(.press-ticker-card):not(.press-ticker-main):not(.press-ticker-main-link):not(.press-ticker-legend) {
  color: var(--instrument-link);
  font-weight: 700;
  text-decoration: none;
}

.press-updated,
.press-source,
.press-filter { margin: 0; color: var(--muted); font-size: 0.82rem; line-height: 1.6; }
.press-lead { margin: 0; font-size: 1.2rem; font-weight: 500; line-height: 1.65; }

.press-subscriptions { margin-top: 8px; padding: 20px; border: 1px solid #e1e8f2; border-radius: 16px; background: #f6f8fc; }
.press-subscriptions-heading { display: grid; gap: 5px; margin-bottom: 16px; }
.press-subscriptions-heading > strong { color: #25344a; font-size: 1rem; line-height: 1.4; }
.press-subscriptions-heading > span { color: var(--muted); font-size: .82rem; line-height: 1.5; }
.press-subscriptions-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 10px; }
.press-subscriptions a.press-subscription { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 14px; border: 1px solid #e1e8f2; border-radius: 12px; background: #fff; color: #25344a; text-decoration: none; transition: border-color .15s, background-color .15s; }
.press-subscriptions a.press-subscription:hover { border-color: #a9c4ed; background: #fbfdff; }
.press-subscription:focus-visible { outline: 2px solid #3478ef; outline-offset: 3px; }
.press-subscription-icon { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 38px; border-radius: 11px; }
.press-subscription-icon svg { width: 24px; height: 24px; }
.press-subscription-zen .press-subscription-icon { background: #f0f1f3; color: #292c33; }
.press-subscription-telegram .press-subscription-icon { background: #e9f6fd; color: #229ed9; }
.press-subscription-label { display: grid; gap: 4px; min-width: 0; }
.press-subscription-label strong { font-size: .88rem; line-height: 1.3; }
.press-subscription-label small { color: var(--muted); font-size: .73rem; line-height: 1.4; font-weight: 400; }
@media (max-width: 520px) { .press-subscriptions { padding: 16px; } }
.press-hero { margin: 0; }
.press-hero-ticker-stage { position: relative; height: 450px; }
.press-hero-snapshot { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; border: 1px solid #b6ccff; border-radius: 12px; background: #fff; }
.press-hero-snapshot img { max-height: 100%; object-fit: contain; }
.press-hero-ticker-stage .press-hero-live { margin: 0; height: 450px; box-sizing: border-box; visibility: hidden; }
.press-hero-live .press-ticker-card { height: 448px; min-height: 448px; }
.press-hero-ticker-stage .press-hero-live[data-ready="true"] { visibility: visible; }
.press-hero-ticker-stage:has(.press-hero-live[data-ready="true"]) .press-hero-snapshot { display: none; }
.press-hero img { width: 100%; height: auto; border-radius: var(--radius-lg); background: var(--bg-soft); }
.press-hero figcaption,
.press-body figcaption { margin-top: 8px; font-size: 0.78rem; line-height: 1.5; color: var(--muted); }
.press-hero figcaption span { display: inline-block; margin-left: 8px; }

.press-body { font-size: 1rem; line-height: 1.7; }
.press-body p { margin: 0 0 1em; }
.press-body > :last-child { margin-bottom: 0; }
.press-body h2,
.press-body h3,
.press-body h4 { margin: 1.4em 0 0.7em; line-height: 1.3; }
.press-body h2 { font-size: 1.3rem; }
.press-body h3 { font-size: 1.15rem; }
.press-body h4 { font-size: 1rem; }

.press-body blockquote {
  margin: 20px 0;
  padding: 14px 18px;
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: var(--bg-soft);
}

.press-body blockquote p:last-child { margin-bottom: 0; }
.press-body q::before, .press-body q::after { content: none; }
.press-body figure { margin: 20px 0; }
.press-body img { max-width: 100%; height: auto; margin: 16px auto; border-radius: var(--radius-md); }
.press-body ul,
.press-body ol { padding-left: 24px; }
.press-body li { margin: 0.4em 0; }
.press-body hr { margin: 20px 0; border: 0; border-top: 1px solid var(--line); }

.press-inline-ad { margin: 28px 0; min-width: 0; }
.press-inline-ad-label { display: block; margin-bottom: 7px; color: var(--muted); font-size: 10px; font-weight: 400; line-height: 1.4; text-align: center; }
.press-inline-ad .ad-slot-article-inline { height: 250px; min-height: 250px; padding: 0; border: 0; border-radius: var(--radius-lg); background: var(--bg-soft); contain: size layout paint; }
.press-inline-ad .yandex-rtb-container,
.press-inline-ad .yandex-rtb-container > div { width: 100%; height: 250px; min-height: 250px; }
.press-inline-ad .yandex-rtb-container img { margin: 0; }
@media (max-width: 560px) { .press-inline-ad { margin: 24px 0; } }

/* Inherited tokens allow a page, article or individual widget to override the
   system theme with data-theme="light|dark". Only ticker cards consume them. */
:root, [data-theme="light"] {
  --press-ticker-theme: light;
  --press-ticker-bg: #fff;
  --press-ticker-text: #242b33;
  --press-ticker-muted: #66768b;
  --press-ticker-border: #b6ccff;
  --press-ticker-divider: #dce2eb;
  --press-ticker-button-bg: #f0f5ff;
  --press-ticker-hover: #dfeaff;
  --press-ticker-accent: #3478ef;
  --press-ticker-active: #215dc7;
  --press-ticker-up: #008575;
  --press-ticker-down: #c64747;
  --press-ticker-line: #2563eb;
  --press-ticker-secondary: #a05abc;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --press-ticker-theme: dark;
    --press-ticker-bg: #0f172a;
    --press-ticker-text: #e2e8f0;
    --press-ticker-muted: #94a3b8;
    --press-ticker-border: #3b4a61;
    --press-ticker-divider: #334155;
    --press-ticker-button-bg: #1e293b;
    --press-ticker-hover: #263449;
    --press-ticker-accent: #93c5fd;
    --press-ticker-active: #2563eb;
    --press-ticker-up: #5eead4;
    --press-ticker-down: #fda4af;
    --press-ticker-line: #60a5fa;
    --press-ticker-secondary: #c084fc;
  }
}
[data-theme="dark"] {
  --press-ticker-theme: dark;
  --press-ticker-bg: #0f172a;
  --press-ticker-text: #e2e8f0;
  --press-ticker-muted: #94a3b8;
  --press-ticker-border: #3b4a61;
  --press-ticker-divider: #334155;
  --press-ticker-button-bg: #1e293b;
  --press-ticker-hover: #263449;
  --press-ticker-accent: #93c5fd;
  --press-ticker-active: #2563eb;
  --press-ticker-up: #5eead4;
  --press-ticker-down: #fda4af;
  --press-ticker-line: #60a5fa;
  --press-ticker-secondary: #c084fc;
}
.press-ticker { --ticker-chart-theme: var(--press-ticker-theme); color-scheme: var(--press-ticker-theme); width: 100%; min-width: 0; margin: 18px 0; border: 1px solid var(--press-ticker-border); border-radius: 12px; background: var(--press-ticker-bg); overflow: hidden; }
.press-body .press-ticker-card, .press-ticker-card { display: flex; flex-direction: column; gap: 10px; height: 450px; min-height: 450px; padding: 18px; box-sizing: border-box; color: var(--press-ticker-text); text-decoration: none; line-height: 1.3; }
.press-ticker-card[href]:hover { text-decoration: none; }
.press-ticker-card[href]:hover .press-ticker-arrow { background: var(--press-ticker-hover); color: var(--press-ticker-accent); }
.press-ticker-card:focus-visible { border-radius: inherit; outline: 2px solid var(--press-ticker-accent); outline-offset: -3px; }
.press-ticker .press-ticker-main { position: relative; isolation: isolate; display: flex; flex-direction: column; flex: 1; min-height: 0; gap: 10px; color: var(--press-ticker-text); text-decoration: none; }
.press-ticker-main-link { position: absolute; inset: 0; z-index: 1; }
.press-ticker-popup:hover { background: var(--press-ticker-hover); color: var(--press-ticker-accent); }
.press-ticker-main:focus-visible, .press-ticker-main-link:focus-visible { outline: 2px solid var(--press-ticker-accent); outline-offset: 3px; border-radius: 4px; }
.press-ticker-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 14px; margin-bottom: 6px; border-bottom: 1px solid var(--press-ticker-divider); }
.press-ticker-identity { min-width: 0; }
.press-ticker-identity strong { display: block; font-size: 20px; font-weight: 600; overflow-wrap: anywhere; color: var(--press-ticker-text); }
.press-ticker-arrow { position: relative; z-index: 2; display: grid; place-items: center; flex: 0 0 26px; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 50%; background: var(--press-ticker-button-bg); color: var(--press-ticker-accent); cursor: pointer; }
.press-ticker-arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.press-ticker-popup:focus-visible { outline: 2px solid var(--press-ticker-accent); outline-offset: 3px; }
.press-ticker-values small { font-size: 16px; font-weight: 600; }
.press-ticker-note, .press-ticker-status { color: var(--press-ticker-muted); }
.press-ticker-values { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 12px; font-variant-numeric: tabular-nums; }
.press-ticker-values strong { font-size: 36px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; color: var(--press-ticker-text); }
.press-ticker-up { color: var(--press-ticker-up); }
.press-ticker-down { color: var(--press-ticker-down); }
.press-ticker-plot { display: block; position: relative; z-index: 2; height: auto; min-height: 100px; flex: 1 1 100px; width: 100%; margin: 3px 0; }
.press-ticker-plot canvas:focus-visible { outline: 2px solid var(--press-ticker-accent) !important; outline-offset: -2px; }
.press-ticker-status { display: block; font-size: 12px; padding-top: 16px; }
.press-ticker-note { font-size: 14px; }
.press-ticker-footer { display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--press-ticker-divider); padding-top: 10px; font-size: 14px; }
.press-ticker-periods { display: flex; flex-wrap: wrap; gap: 4px; }
.press-ticker .press-ticker-period { border: 0; padding: 5px 8px; border-radius: 5px; color: var(--press-ticker-muted); background: transparent; font: inherit; font-weight: 600; white-space: nowrap; cursor: pointer; }
.press-ticker .press-ticker-period:hover { background: var(--press-ticker-hover); color: var(--press-ticker-accent); }
.press-ticker .press-ticker-period[aria-pressed="true"] { background: var(--press-ticker-active); color: #fff; }
.press-ticker-period:focus-visible { outline: 2px solid var(--press-ticker-accent); outline-offset: 1px; }
.press-ticker[aria-busy="true"] .press-ticker-plot { opacity: .5; }
.press-ticker-legend { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 13px; color: var(--press-ticker-text); overflow-wrap: anywhere; }
.press-ticker-legend::before { content: ''; width: 12px; height: 3px; border-radius: 2px; flex: 0 0 12px; background: var(--press-ticker-line); }
.press-ticker-legends { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.press-ticker-legend-secondary::before { background: var(--press-ticker-secondary); }
.press-ticker a.press-ticker-legend-secondary { position: relative; z-index: 2; color: var(--press-ticker-text); text-decoration: none; }
.press-ticker a.press-ticker-legend-secondary:hover { text-decoration: underline; text-underline-offset: 3px; }
.press-ticker a.press-ticker-legend-secondary:focus-visible { outline: 2px solid var(--press-ticker-accent); outline-offset: 3px; border-radius: 2px; }
.press-ticker-comparison .press-ticker-identity strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 18px; }
.press-ticker-detail { margin-left: auto; color: var(--press-ticker-muted); font-size: 13px; white-space: nowrap; }
@media (max-width: 480px) { .press-body .press-ticker-card, .press-ticker-card { padding: 14px; } .press-ticker-identity strong { font-size: 18px; } .press-ticker-values strong { font-size: 30px; } .press-ticker-values small { font-size: 13px; } .press-ticker-footer { gap: 8px; font-size: 12px; } }
.press-correction {
  padding: 14px 16px;
  background: var(--bg-soft);
  border-left: 3px solid var(--muted);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  line-height: 1.6;
}


.press-back,
.press-pagination a {
  display: inline-block;
  width: fit-content;
  color: var(--instrument-link);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.5;
  padding-block: 6px;
}

.press-pagination { border-top: 1px solid var(--line); padding-top: 10px; }
.press-list-item { display: grid; gap: 8px; padding: 16px 0; border-top: 1px solid var(--line); }
.press-list-item:last-child { padding-bottom: 0; }
.press-list-item h2 { font-size: 1.05rem; line-height: 1.45; letter-spacing: -0.02em; }
.press-list-item p { margin: 0; font-size: 0.9rem; line-height: 1.6; color: var(--muted); }
.press-layout a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.press-empty { align-content: start; min-height: 35vh; }

@media (max-width: 560px) {
  .press-article,
  .press-index-card,
  .press-empty { gap: 14px; }
  .press-article-header { gap: 12px; }
  .press-body blockquote { padding: 12px 14px; }


}
.press-article [data-news-read-end] { display: block; height: 1px; }
