:root {
  --bg: var(--tg-theme-bg-color, #14161c);
  --card-bg: var(--tg-theme-secondary-bg-color, #1f222b);
  --text: var(--tg-theme-text-color, #eef0f5);
  --muted: var(--tg-theme-hint-color, #969cb0);
  --accent: var(--tg-theme-button-color, #6c7cff);
  --accent-text: var(--tg-theme-button-text-color, #ffffff);
}
* { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system, "Segoe UI", Roboto, sans-serif; background: var(--bg); color: var(--text); -webkit-tap-highlight-color: transparent; }
.app { max-width: 600px; margin: 0 auto; padding: 16px 16px 24px; display: flex; flex-direction: column; gap: 14px; }
.head { text-align: center; padding: 8px 0 0; }
.head h1 { margin: 0; font-size: 26px; }
.tagline { margin: 6px 0 0; color: var(--muted); font-size: 14px; line-height: 1.4; }
.status { margin: 6px 0 0; color: var(--accent); font-size: 14px; font-weight: 600; }
.card { background: var(--card-bg); border-radius: 16px; padding: 16px; }
.card h2 { margin: 0 0 8px; font-size: 18px; }

.photo-btn { display: block; width: 100%; text-align: center; padding: 13px; margin-bottom: 10px; border-radius: 14px; border: 1px dashed rgba(255,255,255,0.25); color: var(--text); font-size: 15px; font-weight: 600; cursor: pointer; }
.photo-btn:active { opacity: 0.7; }
.upload-row { display: flex; gap: 8px; }
.upload-row .photo-btn { flex: 1; width: auto; margin-bottom: 10px; }
.preview { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.preview img { width: 100%; max-height: 240px; object-fit: contain; border-radius: 12px; background: var(--bg); }
.pdf-preview { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; margin-bottom: 10px; border-radius: 12px; background: var(--bg); border: 1px solid rgba(255,255,255,0.1); }
.pdf-name { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

textarea { width: 100%; padding: 12px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.1); background: var(--bg); color: var(--text); font-size: 16px; resize: vertical; font-family: inherit; margin-bottom: 10px; }
.primary { width: 100%; padding: 14px; border: none; border-radius: 14px; background: var(--accent); color: var(--accent-text); font-size: 16px; font-weight: 600; cursor: pointer; }
.primary:disabled { opacity: 0.6; }
.ghost { padding: 8px 12px; border: 1px solid rgba(255,255,255,0.18); border-radius: 10px; background: transparent; color: var(--text); font-size: 13px; font-weight: 600; cursor: pointer; }
.ghost:active { opacity: 0.7; }
.muted { color: var(--muted); font-size: 14px; margin: 8px 0 0; }

.result-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.result-head h2 { margin: 0; }
.reading { white-space: pre-wrap; line-height: 1.55; margin: 0; font-size: 15px; }

.hist { border-top: 1px solid rgba(255,255,255,0.08); padding: 8px 0; }
.hist:first-child { border-top: none; }
.hist summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer; list-style: none; }
.hist summary::-webkit-details-marker { display: none; }
.hist-label { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hist-date { font-size: 12px; color: var(--muted); flex-shrink: 0; }
.hist .reading { margin-top: 8px; font-size: 14px; color: var(--muted); }

.pro .muted { margin: 0 0 4px; }
.plan { width: 100%; text-align: left; display: flex; flex-direction: column; gap: 3px; padding: 12px; margin-top: 8px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.1); background: var(--bg); color: var(--text); cursor: pointer; }
.plan-title { font-weight: 600; }
.plan-desc { font-size: 13px; color: var(--muted); }
.plan-price { font-weight: 600; color: var(--accent); }

/* --- карточка-дашборд показателей --- */
.m-intro { margin: 0 0 12px; font-size: 14px; line-height: 1.5; color: var(--text); }
.m-table { display: flex; flex-direction: column; gap: 8px; }
.m-row { border-radius: 12px; padding: 10px 12px; background: var(--bg); border-left: 3px solid rgba(255,255,255,0.15); }
.m-row.st-high { border-left-color: #e6794d; }
.m-row.st-low { border-left-color: #4d8fe6; }
.m-row.st-ok { border-left-color: #4caf7d; }
.m-row.st-unknown { border-left-color: rgba(255,255,255,0.2); }
.m-main { display: flex; align-items: center; gap: 6px; }
.m-mark { font-size: 15px; }
.m-name { font-weight: 600; font-size: 15px; }
.m-vals { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 2px; font-size: 14px; }
.m-value { font-weight: 600; }
.m-ref { color: var(--muted); }
.m-note { margin-top: 6px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.m-questions { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.08); }
.m-q-title { font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.m-questions ol { margin: 0; padding-left: 20px; }
.m-questions li { font-size: 14px; line-height: 1.5; margin-bottom: 4px; }
.m-disclaimer { margin: 14px 0 0; font-size: 12px; line-height: 1.5; color: var(--muted); }

/* --- роль показателя, метка статуса и сводка отклонений --- */
.m-role { margin-top: 2px; font-size: 12px; color: var(--muted); font-style: italic; }
.m-label { margin-left: auto; font-size: 12px; font-weight: 600; padding: 1px 8px; border-radius: 999px; background: rgba(255,255,255,0.06); color: var(--muted); white-space: nowrap; }
.m-row.st-high .m-label { color: #e6794d; }
.m-row.st-low .m-label { color: #4d8fe6; }
.m-row.st-ok .m-label { color: #4caf7d; }
.m-summary { margin: 0 0 12px; font-size: 14px; font-weight: 600; }
.m-summary-dev { color: #e6794d; }
.m-summary-ok { color: #4caf7d; }

/* --- источник нормы (валидация OCR / прозрачность): "по бланку" vs "оценка ИИ" --- */
.m-src { font-size: 11px; font-weight: 600; padding: 1px 7px; border-radius: 999px; white-space: nowrap; }
.m-src-ref { background: rgba(76,175,125,0.14); color: #4caf7d; }
.m-src-ai { background: rgba(255,255,255,0.07); color: var(--muted); }
.m-source-note { margin: 12px 0 0; font-size: 12px; line-height: 1.5; color: var(--muted); }

/* --- профиль --- */
.profile-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.profile-head h2 { margin: 0; }
.badge { font-size: 12px; font-weight: 600; color: var(--accent); }
.pro-tag { color: var(--accent); font-weight: 600; }
.profile .muted { margin: 0 0 10px; }
.profile-row { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.seg { display: inline-flex; border: 1px solid rgba(255,255,255,0.14); border-radius: 12px; overflow: hidden; }
.seg-btn { padding: 9px 14px; border: none; background: var(--bg); color: var(--text); font-size: 14px; font-weight: 600; cursor: pointer; border-right: 1px solid rgba(255,255,255,0.1); }
.seg-btn:last-child { border-right: none; }
.seg-btn.seg-on { background: var(--accent); color: var(--accent-text); }
.age-input { flex: 1; min-width: 0; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.1); background: var(--bg); color: var(--text); font-size: 16px; }
.note-input { width: 100%; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.1); background: var(--bg); color: var(--text); font-size: 15px; margin-bottom: 10px; }
.profile-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.profile-hint { margin: 0; }
.hint-ok { color: #4caf7d; }
.hint-err { color: #e6794d; }

/* --- дата анализа --- */
.date-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.date-label { font-size: 14px; color: var(--muted); }
.date-input { flex: 1; min-width: 0; padding: 9px 12px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.1); background: var(--bg); color: var(--text); font-size: 15px; }

/* --- Q&A по разбору --- */
.ask-head { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.ask-head h2 { margin: 0; }
.ask .muted { margin: 0 0 10px; }
.ask textarea { margin-bottom: 10px; }
.ask-answer { margin-top: 12px; padding: 12px; border-radius: 12px; background: var(--bg); font-size: 14px; }
.pro-tag { font-size: 12px; font-weight: 600; color: var(--accent); padding: 1px 8px; border-radius: 999px; background: rgba(255,255,255,0.06); }

/* --- динамика показателей --- */
.dynamics .muted { margin: 0 0 12px; }
.markers-list { display: flex; flex-direction: column; gap: 8px; }
.marker-btn { width: 100%; text-align: left; display: flex; align-items: center; gap: 8px; padding: 11px 12px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.1); background: var(--bg); color: var(--text); cursor: pointer; border-left: 3px solid rgba(255,255,255,0.15); }
.marker-btn:active { opacity: 0.7; }
.marker-btn.st-high { border-left-color: #e6794d; }
.marker-btn.st-low { border-left-color: #4d8fe6; }
.marker-btn.st-ok { border-left-color: #4caf7d; }
.marker-name { font-weight: 600; font-size: 15px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.marker-meta { font-size: 13px; color: var(--muted); flex-shrink: 0; }
.marker-last { font-weight: 600; font-size: 14px; flex-shrink: 0; }
.marker-last.st-high { color: #e6794d; }
.marker-last.st-low { color: #4d8fe6; }
.marker-last.st-ok { color: #4caf7d; }
/* Бейдж тренда «улучшилось/ухудшилось» к норме (динамика по двум последним замерам). */
.marker-trend { font-size: 12px; font-weight: 600; flex-shrink: 0; white-space: nowrap; color: var(--muted); }
.marker-trend.tr-up { color: #4caf7d; }
.marker-trend.tr-down { color: #e6794d; }
.marker-trend.tr-flat { color: var(--muted); }
.marker-trend-word { font-size: 11px; font-weight: 500; color: var(--muted); flex-shrink: 0; white-space: nowrap; }
@media (max-width: 360px) { .marker-trend-word { display: none; } }
.markers-empty { color: var(--muted); font-size: 14px; margin: 0; }
.trend-box { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.08); }
.trend-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.trend-title { font-weight: 600; font-size: 15px; }
.trend-box canvas { width: 100%; height: auto; display: block; }
.trend-box .m-disclaimer { margin-top: 6px; }

/* --- Динамика биомаркеров (вторая волна): дропдаун + минилиния + норма + статус --- */
.biodyn .muted { margin: 0 0 12px; }
.bio-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.bio-status { font-size: 12px; font-weight: 700; flex-shrink: 0; padding: 3px 10px; border-radius: 999px; white-space: nowrap; background: rgba(255,255,255,0.08); color: var(--muted); }
.bio-status.tr-rising { color: #e6794d; background: rgba(230,121,77,0.16); }
.bio-status.tr-falling { color: #4d8fe6; background: rgba(77,143,230,0.16); }
.bio-status.tr-stable { color: #4caf7d; background: rgba(76,175,125,0.16); }
.bio-controls { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.bio-label { font-size: 13px; color: var(--muted); flex-shrink: 0; }
.bio-select { flex: 1; min-width: 0; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.14); background: var(--bg); color: var(--text); font-size: 15px; font-weight: 600; appearance: none; -webkit-appearance: none; cursor: pointer; }
.bio-body { margin-top: 4px; }
.bio-body canvas { width: 100%; height: auto; display: block; }
.bio-note { margin-top: 8px; }
.bio-empty { text-align: center; padding: 14px 8px 6px; }
.bio-empty-emoji { font-size: 30px; }
.bio-empty-title { font-weight: 600; font-size: 15px; margin: 6px 0 2px; }
.bio-empty .muted { margin-top: 2px; }

/* --- контент-доверие: «как работаем / ограничения ИИ» --- */
.trust-details summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; cursor: pointer; list-style: none; }
.trust-details summary::-webkit-details-marker { display: none; }
.trust-title { font-size: 16px; font-weight: 600; }
.trust-chev { color: var(--muted); font-size: 13px; transition: transform 0.15s ease; }
.trust-details[open] .trust-chev { transform: rotate(180deg); }
.trust-body { margin-top: 10px; }
.trust-lead { margin: 0 0 12px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.trust-h { margin: 14px 0 6px; font-size: 14px; font-weight: 600; }
.trust-list { margin: 0; padding-left: 20px; }
.trust-list li { font-size: 13px; line-height: 1.5; color: var(--muted); margin-bottom: 4px; }
.trust-p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--muted); }

/* --- напоминание пересдать (P2 #9, удержание) --- */
.retest { border-left: 3px solid var(--accent); }
.retest.retest-due { border-left-color: #e6794d; }
.retest-text { margin: 0; font-size: 15px; line-height: 1.5; }
.retest-note { margin-top: 8px; }

/* --- реферальная программа (виральность, «неделя Pro обоим») --- */
.referral { border-left: 3px solid var(--accent); }
.referral-actions { display: flex; gap: 8px; align-items: center; margin-top: 10px; }
.referral-actions .primary { width: auto; flex: 1; }
.referral-stats { margin-top: 10px; font-size: 13px; }

/* --- индикатор ожидания AI (скелетон + спиннер): разбор может идти до ~45с --- */
.loading { margin-top: 12px; }
.loading-row { display: flex; align-items: center; gap: 10px; }
.loading-text { color: var(--muted); font-size: 14px; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.2); border-top-color: var(--accent); flex-shrink: 0; animation: labs-spin 0.8s linear infinite; }
@keyframes labs-spin { to { transform: rotate(360deg); } }
.skeleton-lines { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.skeleton-line { height: 12px; border-radius: 6px; background: linear-gradient(90deg, rgba(255,255,255,0.06) 25%, rgba(255,255,255,0.14) 37%, rgba(255,255,255,0.06) 63%); background-size: 400% 100%; animation: labs-shimmer 1.4s ease infinite; }
.skeleton-line.short { width: 60%; }
@keyframes labs-shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }
@media (prefers-reduced-motion: reduce) { .spinner, .skeleton-line { animation: none; } }

/* --- пример результата (онбординг) --- */
.demo { border-left: 3px solid var(--accent); }
.demo-details summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; cursor: pointer; list-style: none; }
.demo-details summary::-webkit-details-marker { display: none; }
.demo-title { font-size: 16px; font-weight: 600; }
.demo-chev { color: var(--muted); font-size: 13px; transition: transform 0.15s ease; }
.demo-details[open] .demo-chev { transform: rotate(180deg); }
.demo-body { margin-top: 12px; }
.demo-cta { margin-top: 12px; }

/* --- иерархия пейволла: подписка vs разовые, «★ популярный», «−N% выгодно» --- */
.plan-group-label { margin: 14px 0 2px; font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.03em; }
.plan-group-label:first-child { margin-top: 6px; }
.plan { position: relative; }
.plan.plan-popular { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.plan-title-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.plan-badge { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; line-height: 1.4; }
.plan-badge-popular { background: var(--accent); color: var(--accent-text); }
.plan-badge-save { background: rgba(76,175,125,0.18); color: #4caf7d; }

/* --- баланс кредитов (pay-per-use) в статусе --- */
.status .credits-note { display: block; margin-top: 2px; font-weight: 600; }

.foot { color: var(--muted); font-size: 12px; line-height: 1.5; text-align: center; padding: 4px 8px 20px; }
.hidden { display: none; }

/* --- Согласие на обработку ПДн (152-ФЗ, спец.категория «здоровье», ст. 10) ---
   Полноэкранный гейт ПЕРЕД вводом данных о здоровье (блок D / П-2). Перекрывает приложение,
   пока пользователь не подтвердит согласие; чекбокс + ссылка на политику конфиденциальности. */
.onboarding { position: fixed; inset: 0; z-index: 50; overflow-y: auto; background: var(--bg); display: flex; align-items: center; justify-content: center; padding: 20px 16px; }
.onboarding.hidden { display: none; }
body.consent-open { overflow: hidden; }
.onb-card { width: 100%; max-width: 460px; background: var(--card-bg); border-radius: 18px; padding: 22px 18px; display: flex; flex-direction: column; gap: 14px; text-align: left; }
.onb-emoji { font-size: 40px; text-align: center; }
.onb-card h2 { margin: 0; font-size: 20px; text-align: center; }
.onb-lead { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.onb-lead b { color: var(--text); }
.onb-hint { margin: 0; font-size: 13px; color: #e6794d; line-height: 1.4; }
.consent-check { display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px; border-radius: 14px; border: 1.5px solid rgba(255,255,255,0.12); background: var(--bg); color: var(--text); font-size: 14px; line-height: 1.45; cursor: pointer; text-align: left; }
.consent-check input { margin-top: 3px; width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--accent); }
.consent-check a { color: var(--accent); }
.onb-card .primary.full { width: 100%; }

/* Достижения (retention, ctx.grantAchievement) */
.ach-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ach-head h2 { margin: 0; }
.ach-progress { background: rgba(108,124,255,0.14); padding: 2px 10px; border-radius: 999px; }
.ach-list { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.ach-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--bg); border: 1px solid rgba(255,255,255,0.08); }
.ach-item.ach-off { opacity: 0.5; }
.ach-item.ach-just { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.ach-emoji { font-size: 22px; flex: 0 0 auto; }
.ach-text { display: flex; flex-direction: column; min-width: 0; }
.ach-title { font-size: 14px; font-weight: 600; color: var(--text); }
.ach-hint { font-size: 12px; color: var(--muted); }
.ach-check { margin-left: auto; color: #4caf7d; font-weight: 700; flex: 0 0 auto; }

/* Кросс-промо (виральность/рост, ctx.suggestBots) */
.cross-promo-list { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.cross-promo-item { display: block; padding: 12px; border-radius: 12px; background: var(--bg); border: 1px solid rgba(255,255,255,0.1); color: var(--text); font-size: 15px; font-weight: 600; text-decoration: none; }
.cross-promo-item:active { background: rgba(108,124,255,0.1); }

/* --- Лента разборов (наглядная фича на ctx.history, kind="lab") --- */
.feed-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.feed-head h2 { margin: 0; }
.feed-count { background: rgba(108,124,255,0.16); padding: 3px 9px; border-radius: 999px; }

/* Спарклайн отклонений по разборам — инлайн CSS-бары, без внешних библиотек */
.feed-spark { margin-top: 12px; padding: 12px 12px 8px; border-radius: 14px; background: var(--bg); border: 1px solid rgba(255,255,255,0.08); }
.feed-spark-bars { display: flex; align-items: flex-end; gap: 5px; height: 76px; }
.feed-bar { flex: 1 1 0; min-width: 6px; border-radius: 5px 5px 2px 2px; display: flex; align-items: flex-start; justify-content: center; position: relative; transition: height 0.25s ease; }
.feed-bar-ok { background: linear-gradient(180deg, #4caf7d, #3d9268); }
.feed-bar-dev { background: linear-gradient(180deg, #e6794d, #cf5f34); }
.feed-bar-val { font-size: 10px; font-weight: 700; color: #fff; margin-top: 2px; line-height: 1; opacity: 0.92; }
.feed-spark-legend { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.feed-spark-cap { font-size: 11px; color: var(--muted); }
.feed-spark-scale { font-size: 11px; color: var(--muted); display: inline-flex; align-items: center; gap: 4px; }
.feed-spark-scale .dot { width: 9px; height: 9px; border-radius: 3px; display: inline-block; margin-left: 6px; }
.feed-spark-scale .dot-ok { background: #4caf7d; }
.feed-spark-scale .dot-dev { background: #e6794d; }

/* Карточки ленты — по одной на разбор */
.feed-list { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.feed-card { border-radius: 14px; padding: 11px 12px; background: var(--bg); border: 1px solid rgba(255,255,255,0.08); border-left: 3px solid rgba(255,255,255,0.18); }
.feed-card-ok { border-left-color: #4caf7d; }
.feed-card-dev { border-left-color: #e6794d; }
.feed-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.feed-card-date { font-size: 14px; font-weight: 600; }
.feed-badge { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.feed-badge-ok { color: #4caf7d; background: rgba(76,175,125,0.14); }
.feed-badge-dev { color: #e6794d; background: rgba(230,121,77,0.16); }
.feed-card-sub { margin-top: 4px; }
.feed-total { font-size: 12px; color: var(--muted); }
.feed-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.feed-chip { font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 8px; background: var(--card-bg); border: 1px solid rgba(255,255,255,0.1); }
.feed-chip-high { color: #e6794d; }
.feed-chip-low { color: #4d8fe6; }
.feed-chip-more { color: var(--muted); }

/* Дружелюбная заглушка пустого состояния */
.feed-empty { text-align: center; padding: 18px 12px 8px; }
.feed-empty-emoji { font-size: 34px; line-height: 1; }
.feed-empty-title { margin: 8px 0 2px; font-size: 15px; font-weight: 600; color: var(--text); }
.feed-empty .muted { margin-top: 2px; }

/* «Подарить Pro другу» — вторичная кнопка (ghost) на всю ширину под списком планов. */
.gift-pro-btn { width: 100%; margin-top: 16px; }
.gift-pro-hint { margin: 8px 0 0; font-size: 13px; line-height: 1.4; }

/* Авторитетная утилита скрытия: объявлена ПОСЛЕДНЕЙ, чтобы при равной специфичности побеждать
   любые одноклассовые display-правила компонентов (корень бага .hidden-специфичности). 2-классовые
   show-правила и инлайн-стили НЕ перебивает (без !important). */
.hidden { display: none; }
