/* Калькулятор стажа на макете редизайна. Разметка, id и подписи прежние, скрипты
   public/js/finansovie/stazh.js и stazh-ocr.js не менялись. Файл грузится раньше rd.css,
   поэтому селекторы начинаются с .rd #stazh-calc.
   redesign.css сбрасывает всем input оформление (all: unset) — поля, даты, галочки и select
   нарисованы здесь заново. Строки периодов рисует stazh.js; блоки результата он прячет через
   style.display = "none" и показывает через "" (тогда действует этот файл). Панель распознавания
   stazh-ocr.js открывает через style.display = "block", раскладка закреплена через [style*="block"].
   Лист печати #st-print на экране скрыт, печать идёт через iframe со своими стилями. */

.rd #stazh-calc .calculator { display: flex; flex-direction: column; gap: 20px; max-width: none; margin: 0; padding: 0; border: 0; background: none; box-shadow: none; }
.rd #stazh-calc p { opacity: 1; }
.rd #stazh-calc .label-text { display: block; position: static; margin: 0; padding: 0; background: none; font: 400 11px/1.3 var(--f-mono); letter-spacing: 1px; text-transform: uppercase; color: var(--mute); }

/* режим «Страховой стаж» / «Общий трудовой» */
.rd #stazh-calc .tabs { display: inline-flex; align-self: flex-start; max-width: 100%; box-sizing: border-box; gap: 0; margin: 0; padding: 3px; border: 0; border-radius: 999px; background: var(--pill); }
.rd #stazh-calc .tab-button { display: inline-flex; align-items: center; justify-content: center; flex: none; width: auto; height: 38px; margin: 0; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; font: 400 13px/1.2 var(--f-ui); color: var(--mute); white-space: nowrap; cursor: pointer; transition: background .15s, color .15s; }
.rd #stazh-calc .tab-button:hover { background: rgba(247, 248, 249, .55); color: var(--ink); }
.rd #stazh-calc .tab-button.active { background: var(--tile); font-weight: 500; color: var(--ink); }
.rd #stazh-calc .tab-button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.rd #stazh-calc .st-mode-hint { margin: -8px 0 0; font: 400 13px/1.5 var(--f-ui); color: var(--mute); }

/* распознавание трудовой книжки */
.rd #stazh-calc .st-ocr { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin: 0; }
.rd #stazh-calc .st-ocr-toggle { display: inline-flex; align-items: center; gap: 8px; width: auto; min-height: 38px; box-sizing: border-box; margin: 0; padding: 0 16px; border: 1px solid transparent; border-radius: 999px; background: var(--pill); font: 500 13px/1.2 var(--f-ui); color: var(--ink); text-align: left; cursor: pointer; transition: background .15s, border-color .15s; }
.rd #stazh-calc .st-ocr-toggle:hover { background: var(--line); }
.rd #stazh-calc .st-ocr-toggle.open { border-color: var(--ink); }
.rd #stazh-calc .st-ocr-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.rd #stazh-calc .st-ocr-ico { font-size: 15px; line-height: 1; }
.rd #stazh-calc .st-ocr-privacy-hint { max-width: 640px; margin: 0; font: 400 12px/1.5 var(--f-ui); color: var(--mute); }
.rd #stazh-calc .st-ocr-panel { align-self: stretch; box-sizing: border-box; margin: 4px 0 0; padding: 16px; border: 0; border-radius: 16px; background: var(--tile); }
.rd #stazh-calc .st-ocr-panel[style*="block"] { display: flex !important; flex-direction: column; gap: 12px; }
.rd #stazh-calc .st-ocr-drop { box-sizing: border-box; margin: 0; padding: 22px 16px; border: 1.5px dashed var(--accent-mid); border-radius: 14px; background: var(--card); text-align: center; cursor: pointer; transition: border-color .15s, background .15s; }
.rd #stazh-calc .st-ocr-drop:hover,
.rd #stazh-calc .st-ocr-drop.over { border-color: var(--accent); background: var(--accent-soft); }
.rd #stazh-calc .st-ocr-drop input[hidden] { display: none; }
.rd #stazh-calc .st-ocr-drop-main { margin: 0 0 4px; font: 600 14px/1.4 var(--f-ui); color: var(--ink); }
.rd #stazh-calc .st-ocr-drop-sub { margin: 0; font: 400 12px/1.45 var(--f-ui); color: var(--mute); }
.rd #stazh-calc .st-ocr-privacy { margin: 0; font: 400 12px/1.5 var(--f-ui); color: var(--mute); }
.rd #stazh-calc .st-ocr-progress { height: 4px; margin: 0; border-radius: 4px; background: var(--pill); overflow: hidden; }
.rd #stazh-calc .st-ocr-bar { width: 0; height: 100%; background: var(--accent); transition: width .2s ease; }
.rd #stazh-calc .st-ocr-status { margin: 0; font: 400 13px/1.5 var(--f-ui); color: var(--ink); }
.rd #stazh-calc .st-ocr-status.ok { color: var(--good); }
.rd #stazh-calc .st-ocr-status.err { color: var(--bad); }
.rd #stazh-calc .st-ocr-found { margin: 0; padding: 12px 0 0; border-top: 1px solid var(--line); }
.rd #stazh-calc .st-ocr-found-title { margin: 0 0 6px; font: 600 14px/1.4 var(--f-ui); color: var(--ink); }
.rd #stazh-calc .st-ocr-list { margin: 0 0 12px; padding: 0; list-style: none; }
.rd #stazh-calc .st-ocr-list li { margin: 0; padding: 0; font: 400 13px/1.7 var(--f-ui); color: var(--ink); font-variant-numeric: tabular-nums; }
.rd #stazh-calc .st-ocr-list li::before { content: none; }
.rd #stazh-calc .st-ocr-empty { margin: 0; font: 400 13px/1.5 var(--f-ui); color: var(--mute); }
.rd #stazh-calc .st-ocr-apply-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.rd #stazh-calc .st-ocr-apply { display: inline-flex; align-items: center; justify-content: center; width: auto; height: 40px; margin: 0; padding: 0 18px; border: 0; border-radius: 999px; background: var(--ink); font: 500 13px/1.2 var(--f-ui); color: #fff; cursor: pointer; }
.rd #stazh-calc .st-ocr-apply:hover { opacity: .85; }
.rd #stazh-calc .st-ocr-check { font: 400 12px/1.4 var(--f-ui); color: var(--mute); }
.rd #stazh-calc .st-ocr-rawwrap { margin: 0; }
.rd #stazh-calc .st-ocr-rawwrap summary { display: inline-flex; align-items: center; gap: 6px; list-style: none; font: 400 12px/1.4 var(--f-ui); color: var(--mute); cursor: pointer; }
.rd #stazh-calc .st-ocr-rawwrap summary::-webkit-details-marker { display: none; }
.rd #stazh-calc .st-ocr-rawwrap summary::after { content: ""; flex: 0 0 12px; width: 12px; height: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7075' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / 12px no-repeat; transition: transform .15s; }
.rd #stazh-calc .st-ocr-rawwrap[open] summary::after { transform: rotate(180deg); }
.rd #stazh-calc textarea.st-ocr-raw { display: block; box-sizing: border-box; width: 100%; margin: 8px 0 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); font: 400 12px/1.5 var(--f-mono); color: var(--ink); resize: vertical; outline: none; }

/* периоды работы: каждый в рамке */
.rd #stazh-calc .st-periods-label { margin: 0 0 -8px; }
.rd #stazh-calc #st-periods { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.rd #stazh-calc .st-period { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: transparent; }
.rd #stazh-calc .form-group { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0; }
.rd #stazh-calc .form-group label { position: static; margin: 0; padding: 0; font: 400 11px/1.3 var(--f-mono); letter-spacing: 1px; text-transform: uppercase; color: var(--mute); }
.rd #stazh-calc .form-group input { display: block; -webkit-appearance: none; appearance: none; box-sizing: border-box; width: 100%; min-width: 0; height: 48px; margin: 0; padding: 0 16px; background: var(--tile); border: 1px solid var(--line); border-radius: 14px; box-shadow: none; outline: none; font: 500 16px/46px var(--f-ui); color: var(--ink); text-align: left; }
.rd #stazh-calc .form-group input:focus { border-color: var(--accent); }
.rd #stazh-calc .form-group input:disabled { background: var(--pill); color: var(--mute); opacity: .55; cursor: default; }
.rd #stazh-calc .form-group input::-webkit-date-and-time-value { text-align: left; }
.rd #stazh-calc .form-group input::-webkit-calendar-picker-indicator { opacity: .6; cursor: pointer; }
.rd #stazh-calc .st-dates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }

.rd #stazh-calc .st-row2 { display: flex; align-items: center; gap: 10px; margin: 0; }
.rd #stazh-calc .st-open,
.rd #stazh-calc .st-lastday { display: inline-flex; align-items: center; gap: 10px; margin: 0; font: 400 14px/1.4 var(--f-ui); color: var(--ink); cursor: pointer; }
.rd #stazh-calc .st-open { flex: none; white-space: nowrap; }
.rd #stazh-calc .st-open input,
.rd #stazh-calc .st-lastday input { display: block; -webkit-appearance: none; appearance: none; box-sizing: border-box; flex: 0 0 18px; width: 18px; height: 18px; min-width: 0; margin: 0; padding: 0; border: 1.5px solid var(--mute); border-radius: 5px; background: var(--tile); cursor: pointer; }
.rd #stazh-calc .st-open input:checked,
.rd #stazh-calc .st-lastday input:checked { border-color: var(--accent); background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.rd #stazh-calc .st-open input:focus-visible,
.rd #stazh-calc .st-lastday input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.rd #stazh-calc .st-type-wrap { flex: 1 1 auto; min-width: 0; margin: 0; padding: 0; border: 0; background: none; }
.rd #stazh-calc .st-type-wrap::after { content: none; }
.rd #stazh-calc select.st-type { display: block; -webkit-appearance: none; appearance: none; box-sizing: border-box; width: 100%; height: 44px; margin: 0; padding: 0 40px 0 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border: 1px solid var(--line); border-radius: 14px; box-shadow: none; outline: none; background: var(--tile) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7075' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 16px no-repeat; font: 500 14px/42px var(--f-ui); color: var(--ink); cursor: pointer; }
.rd #stazh-calc select.st-type:focus { border-color: var(--accent); }
.rd #stazh-calc .st-remove { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 40px; width: 40px; height: 40px; margin: 0; padding: 0; border: 0; border-radius: 50%; background: var(--pill); font: 400 14px/1 var(--f-ui); color: var(--mute); cursor: pointer; transition: background .15s, color .15s; }
.rd #stazh-calc .st-remove:hover { background: var(--bad-soft); color: var(--bad); }
.rd #stazh-calc .st-remove:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.rd #stazh-calc .st-add { align-self: flex-start; display: inline-flex; align-items: center; width: auto; min-height: 38px; box-sizing: border-box; margin: 0; padding: 0 16px; border: 0; border-radius: 999px; background: var(--pill); font: 500 13px/1.2 var(--f-ui); color: var(--ink); cursor: pointer; }
.rd #stazh-calc .st-add:hover { background: var(--line); }
.rd #stazh-calc .st-add:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* дата расчёта и день увольнения */
.rd #stazh-calc .st-params { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px; margin: 0; }
.rd #stazh-calc .st-params .form-group { flex: 0 0 220px; }
.rd #stazh-calc .st-lastday { min-height: 48px; }
.rd #stazh-calc .st-hint { margin: -8px 0 0; font: 400 13px/1.5 var(--f-ui); color: var(--mute); }
.rd #stazh-calc .st-warn { margin: 0; padding: 12px 14px; border: 0; border-radius: 14px; background: #FBF0E0; font: 400 14px/1.5 var(--f-ui); color: #92400E; }

/* результат: стаж крупно, строки, статус пенсии, таблица, шаги */
.rd #stazh-calc #st-result { display: flex; flex-direction: column; gap: 0; margin: 0; padding: 28px; border: 0; border-radius: 20px; background: var(--tile); }
.rd #stazh-calc #st-result > .label-text { margin: 0 0 12px; }
.rd #stazh-calc .tax-result { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0; padding: 14px 0; border-bottom: 1px solid var(--line); }
.rd #stazh-calc .tax-result > span { min-width: 0; font: 400 15px/1.35 var(--f-ui); color: var(--mute); }
.rd #stazh-calc .tax-result .amount-group { flex: 0 0 auto; margin: 0; text-align: right; }
.rd #stazh-calc .tax-result .amount-group span { font: 600 17px/1.3 var(--f-ui); letter-spacing: -.2px; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.rd #stazh-calc .tax-result.st-main { flex-direction: column; align-items: flex-start; gap: 8px; padding: 0 0 20px; }
.rd #stazh-calc .st-main > span { font: 600 15px/1.35 var(--f-ui); color: var(--ink); }
.rd #stazh-calc .st-main .amount-group { flex: none; text-align: left; }
.rd #stazh-calc .st-main .amount-group span { font-size: 34px; line-height: 1.15; letter-spacing: -1px; white-space: normal; }
.rd #stazh-calc .st-sick .amount-group { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.rd #stazh-calc .st-sick .amount-group .st-sick-note { font: 400 12px/1.4 var(--f-ui); letter-spacing: 0; color: var(--mute); white-space: normal; }
.rd #stazh-calc .st-sick .amount-group .st-sick-note:empty { display: none; }

.rd #stazh-calc .st-status { display: block; margin: 16px 0 0; padding: 14px 16px; border: 0; border-radius: 14px; background: var(--card); font: 400 14px/1.5 var(--f-ui); color: var(--ink); }
.rd #stazh-calc .st-status:empty { display: none; }
.rd #stazh-calc .st-status.ok { background: #E3F2EA; }
.rd #stazh-calc .st-status.no { background: #FBF0E0; color: #92400E; }

.rd #stazh-calc .st-table-wrap { margin: 20px 0 0; padding: 0; border: 0; }
.rd #stazh-calc .st-table-title { margin: 0 0 8px; font: 600 14px/1.4 var(--f-ui); color: var(--ink); }
.rd #stazh-calc .st-table-scroll { overflow-x: auto; }
.rd #stazh-calc .st-result-table { width: 100%; margin: 0; border-collapse: collapse; background: none; font: 400 13px/1.45 var(--f-ui); color: var(--ink); }
.rd #stazh-calc .st-result-table th { padding: 0 10px 8px 0; border: 0; border-bottom: 1px solid var(--line); background: none; font: 400 11px/1.3 var(--f-mono); letter-spacing: 1px; text-transform: uppercase; color: var(--mute); text-align: left; vertical-align: bottom; }
.rd #stazh-calc .st-result-table td { padding: 10px 10px 10px 0; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; vertical-align: top; font-variant-numeric: tabular-nums; }
.rd #stazh-calc .st-result-table th:last-child,
.rd #stazh-calc .st-result-table td:last-child { padding-right: 0; }
.rd #stazh-calc .st-result-table td:nth-child(3) { white-space: nowrap; font-weight: 600; }
.rd #stazh-calc .st-overlap-note { margin: 8px 0 0; font: 400 12px/1.5 var(--f-ui); color: var(--mute); }

.rd #stazh-calc .st-how { margin: 16px 0 0; padding: 14px 20px; border: 0; border-radius: 14px; background: var(--card); }
.rd #stazh-calc .st-how summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0; list-style: none; font: 500 14px/1.4 var(--f-ui); color: var(--ink); cursor: pointer; user-select: none; }
.rd #stazh-calc .st-how summary::-webkit-details-marker { display: none; }
.rd #stazh-calc .st-how summary::before { content: none; }
.rd #stazh-calc .st-how summary::after { content: ""; flex: 0 0 18px; width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D0D0D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / 18px no-repeat; transition: transform .15s; }
.rd #stazh-calc .st-how[open] summary::after { transform: rotate(180deg); }
.rd #stazh-calc .st-how ol { margin: 12px 0 0; padding: 0 0 0 22px; list-style: decimal outside; font: 400 14px/1.55 var(--f-ui); color: var(--ink); }
.rd #stazh-calc .st-how li::marker { font-family: var(--f-mono); font-size: 12px; color: var(--mute); }
.rd #stazh-calc .st-how li { margin: 0; padding: 0; border: 0; font-size: 14px; line-height: 1.55; color: var(--ink); font-variant-numeric: tabular-nums; }
.rd #stazh-calc .st-how li + li { margin-top: 8px; }
.rd #stazh-calc .st-how li::before { content: none; }

.rd #stazh-calc .st-result-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.rd #stazh-calc .st-copy,
.rd #stazh-calc .st-pdf-btn,
.rd #stazh-calc .st-print-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: auto; height: 40px; margin: 0; padding: 0 16px; border: 0; border-radius: 999px; background: var(--pill); font: 500 13px/1.2 var(--f-ui); color: var(--ink); white-space: nowrap; cursor: pointer; transition: background .15s, opacity .15s; }
.rd #stazh-calc .st-copy:hover,
.rd #stazh-calc .st-pdf-btn:hover { background: var(--line); }
.rd #stazh-calc .st-print-btn { background: var(--ink); color: #fff; }
.rd #stazh-calc .st-print-btn:hover { background: var(--ink); opacity: .85; }
.rd #stazh-calc .st-copy:focus-visible,
.rd #stazh-calc .st-pdf-btn:focus-visible,
.rd #stazh-calc .st-print-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.rd #stazh-calc .st-pdf-btn:disabled { opacity: .55; cursor: default; }
.rd #stazh-calc .st-print-ico { font-size: 13px; line-height: 1; }

.rd #stazh-calc .st-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.rd #stazh-calc .st-actions button { display: inline-flex; align-items: center; justify-content: center; flex: none; width: auto; height: 46px; margin: 0; padding: 0 24px; border: 0; border-radius: 999px; background: var(--pill); box-shadow: none; font: 500 14px/1.2 var(--f-ui); color: var(--ink); white-space: nowrap; cursor: pointer; }
.rd #stazh-calc .st-actions button:hover { background: var(--line); opacity: 1; }
.rd #stazh-calc .st-actions button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* лист печати и PDF: на экране скрыт */
.st-print { display: none; }

/* таблица статьи: названия выплат жирным */
.rd .rd-article__body .st-table td:first-child { font-weight: 600; }

@media (max-width: 639px) {
    .rd #stazh-calc .calculator { gap: 16px; }
    .rd #stazh-calc .tabs { display: flex; align-self: stretch; }
    .rd #stazh-calc .tab-button { flex: 1 1 0; min-width: 0; padding: 0 10px; }
    .rd #stazh-calc .st-mode-hint,
    .rd #stazh-calc .st-hint { margin-top: -4px; }
    .rd #stazh-calc .st-periods-label { margin-bottom: -4px; }
    .rd #stazh-calc .st-ocr-panel { padding: 14px; }
    .rd #stazh-calc .st-ocr-drop { padding: 18px 12px; }
    .rd #stazh-calc .st-period { padding: 14px; border-radius: 16px; }
    .rd #stazh-calc .st-dates { gap: 8px; }
    .rd #stazh-calc .st-dates input { padding: 0 10px; font-size: 14px; }
    .rd #stazh-calc .st-row2 { flex-wrap: wrap; }
    /* галочка и крестик в одну строку, тип периода — ниже во всю ширину: длинные варианты не влезают рядом с кнопкой */
    .rd #stazh-calc .st-open { flex: 1 1 auto; }
    .rd #stazh-calc .st-remove { order: 1; }
    .rd #stazh-calc .st-type-wrap { order: 2; flex: 1 1 100%; }
    .rd #stazh-calc .st-params { gap: 8px; }
    .rd #stazh-calc .st-params .form-group { flex: 1 1 100%; }
    .rd #stazh-calc .st-lastday { min-height: 0; }
    .rd #stazh-calc #st-result { padding: 18px 16px; }
    .rd #stazh-calc .tax-result { padding: 12px 0; }
    .rd #stazh-calc .tax-result > span { font-size: 14px; }
    .rd #stazh-calc .tax-result .amount-group span { font-size: 15px; }
    .rd #stazh-calc .tax-result.st-main { padding: 0 0 16px; }
    .rd #stazh-calc .st-main .amount-group span { font-size: 26px; letter-spacing: -.5px; }
    .rd #stazh-calc .st-sick .amount-group .st-sick-note { font-size: 11px; }
    .rd #stazh-calc .st-status { font-size: 13px; }
    .rd #stazh-calc .st-how { padding: 14px 16px; }
    .rd #stazh-calc .st-how summary::after { flex-basis: 16px; width: 16px; height: 16px; background-size: 16px; }
    .rd #stazh-calc .st-how ol,
    .rd #stazh-calc .st-how li { font-size: 13px; }
    .rd #stazh-calc .st-result-actions > button { flex: 1 1 auto; }
}

/* источники и дисклеймер в боковой колонке статьи */
.rd .rda-src h2.rd-label { margin: 0; padding: 0; border: 0; font: 400 11px/1.4 var(--f-mono); letter-spacing: 1px; text-transform: uppercase; color: var(--mute); scroll-margin-top: 16px; }
.rd .rda-src__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.rd .rda-src__list li { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); }
.rd .rda-src__list li:last-child { padding-bottom: 0; border-bottom: 0; }
.rd .rda-src__list li::before { display: none; }
.rd .rda-src__list b { font: 600 14px/1.35 var(--f-ui); color: var(--ink); }
.rd .rda-src__list span { font: 400 13px/1.45 var(--f-ui); color: var(--mute); }
.rd .rda-src__list a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent-mid); text-underline-offset: 2px; }
.rd .rd-article__aside .ymyl-disclaimer { margin: 0; padding: 24px; border-radius: 22px; }
.rd .rd-article__aside .ymyl-disclaimer strong { display: block; margin-bottom: 10px; font: 400 11px/1.4 var(--f-mono); letter-spacing: 1px; text-transform: uppercase; color: var(--ink); }
@media (max-width: 639px) {
    .rd .rd-article__aside .ymyl-disclaimer { padding: 20px; border-radius: 20px; }
}
