/* Экраны S01–S05 (спринт 2). Только классы с префиксами .sa- (общие для S01–S05) и .s01- … .s05-.
   Цвета — только токены из styles.css. */

/* ════════ Общее для S01–S05 ════════ */
.sa-noanim, .sa-noanim * { transition: none !important; animation: none !important; }

.sa-pop {
  position: absolute; z-index: 50; background: var(--white); border-radius: var(--r-ctrl);
  box-shadow: var(--sh-2); border: 1px solid var(--gray-200); padding: 16px 18px; font-size: 13px; line-height: 1.45; color: var(--gray-900);
  animation: saPopIn 150ms var(--ease-in) both;
}
.sa-pop--menu { padding: 6px; }
.sa-pop--menu .sa-pop__close { display: none; }
.sa-pop__close {
  position: absolute; right: 8px; top: 8px; width: 28px; height: 28px; border: 0; border-radius: 6px;
  background: transparent; color: var(--gray-600); display: flex; align-items: center; justify-content: center;
}
.sa-pop__close:hover { background: var(--gray-50); }
.sa-pop__title { font-size: 14px; font-weight: 600; color: var(--navy-900); margin: 0 28px 8px 0; }
.sa-pop__text { color: var(--gray-900); }
.sa-pop__sub { font-size: 12px; color: var(--gray-600); margin-top: 8px; }
.sa-pop__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.sa-pop__list li { display: flex; gap: 8px; align-items: flex-start; }
.sa-pop__list .icon { color: var(--success-700); margin-top: 1px; }
.sa-pop__kv { display: grid; grid-template-columns: 128px 1fr; gap: 6px 12px; }
.sa-pop__kv dt { color: var(--gray-600); }
.sa-pop__kv dd { margin: 0; font-weight: 500; }
@keyframes saPopIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.sa-spinner {
  width: 12px; height: 12px; border-radius: 50%; flex: none; display: inline-block;
  border: 2px solid var(--teal-100); border-top-color: var(--teal-700); animation: saSpin 800ms linear infinite;
}
.sa-spinner--14 { width: 14px; height: 14px; }
@keyframes saSpin { to { transform: rotate(360deg); } }

.sa-tip {
  position: absolute; z-index: 30; pointer-events: none; background: var(--white); border-radius: var(--r-ctrl);
  box-shadow: var(--sh-2); padding: 8px 12px; font-size: 12px; line-height: 1.4; color: var(--gray-900); white-space: nowrap;
  opacity: 0; transition: opacity 150ms;
}
.sa-tip.is-on { opacity: 1; }
.sa-tip b { color: var(--navy-900); }

.sa-strip-btn { margin-left: 8px; }

.sa-spark { display: block; overflow: visible; }
.is-animating .sa-spark__line { stroke-dasharray: 100; animation: saDraw 600ms var(--ease-move) both; animation-delay: 200ms; }
.is-animating .sa-spark__dot { animation: saFade 250ms ease both; }
@keyframes saDraw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes saFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes saRise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ════════ S01 — Рабочий стол врача ════════ */
.s01 { gap: 16px; }
.s01-head { align-items: flex-end; }
.s01-date { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--gray-600); padding-bottom: 4px; }
.s01-date .icon { color: var(--teal-700); }

.s01-tiles { flex: none; height: 96px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.s01-tile {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--r-card); box-shadow: var(--sh-1);
  padding: 0 20px; display: flex; align-items: center; gap: 16px;
}
.s01-tile__icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex: none; }
.s01-tile__num { font-size: 32px; font-weight: 600; line-height: 1; color: var(--navy-900); }
.s01-tile__label { font-size: 13px; color: var(--gray-600); margin-top: 6px; }
.s01-tone--navy .s01-tile__icon { background: var(--gray-100); color: var(--navy-700); }
.s01-tone--warning .s01-tile__icon { background: var(--warning-100); color: var(--warning-700); }
.s01-tone--danger .s01-tile__icon { background: var(--danger-100); color: var(--danger-700); }
.s01-tone--success .s01-tile__icon { background: var(--success-100); color: var(--success-700); }
.s01-tone--danger .s01-tile__num { color: var(--danger-700); }

.s01-main { flex: 1; min-height: 0; display: grid; grid-template-columns: 984px minmax(0, 1fr); gap: 24px; }

.s01-table { padding: 0; display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.s01-toolbar { height: 56px; flex: none; display: flex; align-items: center; gap: 8px; padding: 0 12px 0 12px; border-bottom: 1px solid var(--gray-200); }
.s01-toolbar__sp { flex: 1; }
.s01-segs { display: flex; gap: 2px; padding: 3px; background: var(--gray-50); border-radius: var(--r-ctrl); }
.s01-seg {
  height: 30px; padding: 0 10px; border: 0; border-radius: 6px; background: transparent; color: var(--gray-600);
  font-size: 13px; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
}
.s01-seg:hover { color: var(--navy-900); }
.s01-seg.is-active { background: var(--white); color: var(--navy-900); font-weight: 600; box-shadow: 0 1px 2px rgba(11,31,58,0.12); }
.s01-seg__n { font-size: 11px; font-weight: 600; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--gray-150); color: var(--gray-600); display: inline-flex; align-items: center; justify-content: center; }
.s01-seg.is-active .s01-seg__n { background: var(--teal-100); color: var(--navy-700); }
.s01-select, .s01-search {
  height: 36px; border: 1px solid var(--gray-200); border-radius: var(--r-ctrl); background: var(--white); color: var(--gray-900);
  font-size: 13px; display: inline-flex; align-items: center; gap: 8px; padding: 0 10px; white-space: nowrap;
}
.s01-select { width: 168px; justify-content: space-between; }
.s01-select__chev { transform: rotate(90deg); color: var(--gray-600); }
.s01-search { width: 188px; color: var(--gray-400); overflow: hidden; }
.s01-search span { overflow: hidden; text-overflow: ellipsis; }
.s01-search .icon { color: var(--gray-600); }
.s01-select:hover, .s01-search:hover { border-color: var(--gray-300); }

.s01-menu { display: flex; flex-direction: column; gap: 2px; }
.s01-menu__title { font-size: 12px; color: var(--gray-600); padding: 6px 10px 4px; }
.s01-menu__item { min-height: 36px; border: 0; border-radius: 6px; background: transparent; text-align: left; font-size: 13px; padding: 0 10px; color: var(--gray-900); display: flex; align-items: center; gap: 10px; }
.s01-menu__item:hover { background: var(--gray-50); }
.s01-menu__item.is-active { background: var(--teal-100); font-weight: 600; }
.s01-menu__patient { height: 44px; }
.s01-menu__patient span { display: flex; flex-direction: column; }
.s01-menu__patient small { font-size: 11px; color: var(--gray-600); }

.s01-row {
  display: grid; align-items: center;
  grid-template-columns: 40px 232px minmax(0, 1fr) 92px 44px 104px 164px 24px;
  column-gap: 8px; padding: 0 12px 0 0;
}
.s01-row--head { height: 32px; flex: none; font-size: 12px; color: var(--gray-600); border-bottom: 1px solid var(--gray-200); background: var(--gray-50); }
.s01-c { text-align: center; }
.s01-body { flex: 1; min-height: 0; overflow: hidden; }
.s01-row--item {
  width: 100%; height: 41px; max-height: 41px; border: 0; border-bottom: 1px solid var(--gray-100); background: var(--white);
  text-align: left; font-size: 13px; color: var(--gray-900); position: relative; overflow: hidden;
  transition: max-height 250ms var(--ease-in), opacity 250ms var(--ease-in), background-color 150ms;
}
.s01-row--item::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--gray-200); }
.s01-row--item:hover { background: #F0F5FA; }
.s01-row--item:focus-visible { outline: 2px solid var(--teal-500); outline-offset: -2px; }
.s01-row--item.is-hidden { max-height: 0; opacity: 0; border-bottom-width: 0; pointer-events: none; }
.s01-st--danger::before { background: var(--danger-700); }
.s01-st--warning::before { background: var(--warning-700); }
.s01-st--success::before { background: var(--success-700); }
.s01-st--teal::before { background: var(--teal-700); }
.s01-st { display: flex; justify-content: center; }
.s01-st--danger .s01-st { color: var(--danger-700); }
.s01-st--warning .s01-st { color: var(--warning-700); }
.s01-st--success .s01-st { color: var(--success-700); }
.s01-st--teal .s01-st { color: var(--teal-700); }
.s01-pt { display: flex; align-items: center; gap: 10px; min-width: 0; }
.s01-pt__txt { min-width: 0; }
.s01-pt__name { font-weight: 600; color: var(--navy-900); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s01-pt__age { font-size: 12px; color: var(--gray-600); }
.s01-dx { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s01-dx__icd { color: var(--gray-400); }
.s01-day { font-size: 12px; }
.s01-day__bar { width: 60px; height: 4px; border-radius: 2px; background: var(--gray-150); margin-top: 4px; overflow: hidden; }
.s01-day__bar i { display: block; height: 100%; background: var(--teal-700); border-radius: 2px; }
.s01-spark { display: flex; align-items: center; }
.s01-state { font-size: 13px; font-weight: 600; white-space: nowrap; display: flex; align-items: center; gap: 6px; overflow: hidden; }
.s01-state.s01-tone--danger { color: var(--danger-700); }
.s01-state.s01-tone--warning { color: var(--warning-text); }
.s01-state.s01-tone--success { color: var(--success-700); }
.s01-state.s01-tone--teal, .s01-state--new { color: var(--teal-700); }
.s01-state--new { font-size: 12px; white-space: normal; line-height: 1.2; }
.s01-chev { color: var(--gray-400); display: flex; }
.s01-empty { padding: 32px; text-align: center; font-size: 14px; color: var(--gray-600); }

.s01.is-animating .s01-row--item:not(.is-new) { animation: saRise 400ms var(--ease-in) both; animation-delay: calc(var(--i) * 40ms); }
.s01-row--item.is-new.is-pending { max-height: 0; opacity: 0; border-bottom-width: 0; }
.s01-row--item.is-new.is-arriving { transition: max-height 400ms var(--ease-in), opacity 400ms var(--ease-in); background: var(--teal-100); }
.s01-row--item.is-new.is-arrived { background: var(--white); transition: max-height 400ms var(--ease-in), opacity 400ms var(--ease-in), background-color 3000ms ease; }
.s01-row--item.is-new.is-arrived:hover { background: #F0F5FA; }

.s01-side { padding: 20px 16px 16px; display: flex; flex-direction: column; gap: 12px; min-height: 0; }
.s01-events { display: flex; flex-direction: column; gap: 10px; overflow-y: auto; min-height: 0; }
.s01-event {
  text-align: left; border: 1px solid var(--gray-200); border-radius: 10px; background: var(--white); padding: 10px 12px 10px 14px;
  position: relative; font-size: 13px; line-height: 1.4; color: var(--gray-900); overflow: hidden;
}
.s01-event::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; }
.s01-event--danger { background: var(--danger-100); border-color: transparent; }
.s01-event--danger::before { background: var(--danger-700); }
.s01-event--warning::before { background: var(--warning-700); }
.s01-event:hover { box-shadow: var(--sh-1); border-color: var(--gray-300); }
.s01-event__head { display: flex; align-items: center; gap: 6px; color: var(--navy-900); }
.s01-event--danger .s01-event__head .icon { color: var(--danger-700); }
.s01-event--warning .s01-event__head .icon { color: var(--warning-700); }
.s01-event__title { font-weight: 600; margin-top: 4px; }
.s01-event--danger .s01-event__title { color: var(--danger-700); }
.s01-event--warning .s01-event__title { color: var(--warning-text); }
.s01-event__text { color: var(--gray-600); font-size: 12px; margin-top: 2px; }
.s01-side__sp { flex: 1; }
.s01-side .btn { width: 100%; flex: none; }

.s01-pop { display: flex; flex-direction: column; gap: 10px; }
.s01-pop__head { display: flex; gap: 12px; align-items: center; padding-right: 24px; }
.s01-pop__name { font-size: 15px; font-weight: 600; color: var(--navy-900); }
.s01-pop__meta { font-size: 12px; color: var(--gray-600); }
.s01-pop__row { display: flex; align-items: center; justify-content: space-between; }
.s01-pop__day { font-size: 12px; color: var(--gray-600); }
.s01-pop__foot { font-size: 12px; color: var(--gray-600); }

/* ════════ S02 — Автосбор данных ════════ */
.s02-scene { position: relative; flex: none; width: 1320px; height: 620px; }
.s02-links { position: absolute; left: 0; top: 0; pointer-events: none; }
.s02-link { fill: none; stroke: var(--gray-200); stroke-width: 1.5; stroke-dasharray: 4 4; transition: stroke 300ms, stroke-dasharray 300ms; }
.s02-link.is-on { stroke: var(--teal-300); stroke-dasharray: none; stroke-opacity: 0.6; }

.s02-profile {
  position: absolute; width: 420px; height: 548px; background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--r-card); box-shadow: var(--sh-1); padding: 20px; display: flex; flex-direction: column; gap: 12px;
  transition: box-shadow 300ms, border-color 300ms; z-index: 2;
}
.s02-profile.is-success { border-color: var(--success-700); box-shadow: 0 0 0 1px var(--success-700), var(--sh-1); }
.s02-profile__head { display: flex; align-items: center; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--gray-100); }
.s02-profile__name { font-size: 18px; font-weight: 600; color: var(--navy-900); line-height: 1.25; }
.s02-profile__meta { font-size: 13px; color: var(--gray-600); margin-top: 4px; }
.s02-profile__sections { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.s02-sec { display: grid; grid-template-columns: 116px 1fr; gap: 10px; padding: 7px 8px; margin: 0 -8px; border-radius: 8px; flex: none; align-items: start; transition: background-color 400ms; }
.s02-sec + .s02-sec { border-top: 1px solid var(--gray-100); border-radius: 0; }
.s02-sec.is-flash { animation: s02Flash 400ms ease; }
@keyframes s02Flash { 0% { background: var(--teal-100); } 100% { background: transparent; } }
.s02-sec__label { font-size: 12px; color: var(--gray-600); padding-top: 2px; }
.s02-sec__val { font-size: 12.5px; line-height: 1.4; color: var(--gray-900); min-height: 20px; }
.s02-sec__item { animation: saFade 200ms ease both; }
.s02-sec__item + .s02-sec__item::before { content: ' · '; color: var(--gray-400); }
.s02-sec.is-empty .s02-sec__val { color: var(--gray-400); }
.s02-skel { display: block; height: 8px; width: 88%; border-radius: 4px; background: var(--gray-150); margin: 4px 0 7px; }
.s02-skel--short { width: 56%; }

.s02-nodes { position: absolute; inset: 0; pointer-events: none; }
.s02-node {
  position: absolute; width: 200px; height: 72px; pointer-events: auto; text-align: left;
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--r-card); box-shadow: var(--sh-1);
  display: flex; align-items: center; gap: 10px; padding: 0 10px 0 12px; transition: border-color 250ms, box-shadow 250ms; z-index: 3;
}
.s02-node.is-on { border-color: var(--teal-500); }
.s02-node.is-done:hover { box-shadow: var(--sh-2); }
.s02-node__icon { color: var(--gray-400); display: flex; transition: color 250ms; }
.s02-node.is-on .s02-node__icon { color: var(--teal-700); }
.s02-node__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.s02-node__name { font-size: 13px; font-weight: 600; color: var(--navy-900); line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.s02-node__sub { font-size: 11.5px; color: var(--gray-600); line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.s02-node__state { position: relative; width: 20px; height: 20px; flex: none; }
.s02-ring { position: absolute; inset: 0; }
.s02-ring circle:last-child { transition: stroke-dashoffset 200ms; }
.s02-check { position: absolute; inset: 2px; display: flex; color: var(--success-700); transform: scale(0); background: var(--white); border-radius: 50%; }
.s02-node.is-done .s02-ring { opacity: 0; transition: opacity 150ms; }
.s02-node.is-done .s02-check { animation: s02Pop 300ms var(--ease-in) both; }
@keyframes s02Pop { 0% { transform: scale(0); } 70% { transform: scale(1.15); } 100% { transform: scale(1); } }
.sa-noanim .s02-node.is-done .s02-check, .is-static .s02-check { transform: scale(1); }
.is-static .s02-node.is-done .s02-check { animation: none; }

.s02-fly {
  position: absolute; left: 0; top: 0; width: 180px; height: 44px; z-index: 5; pointer-events: none; visibility: hidden; opacity: 0;
  background: var(--white); border-radius: 10px; box-shadow: var(--sh-2); border: 1px solid var(--gray-200);
  display: flex; align-items: center; gap: 8px; padding: 0 12px; font-size: 12px; font-weight: 500; color: var(--navy-900);
  white-space: nowrap; overflow: hidden; will-change: transform, opacity; transform-origin: 50% 50%;
}
.s02-fly span:last-child { overflow: hidden; text-overflow: ellipsis; }
.s02-fly__icon { color: var(--teal-700); display: flex; }

.s02-counter { position: absolute; right: 0; top: 0; width: 190px; text-align: right; z-index: 4; padding: 4px 0; }
.s02-counter__label { font-size: 13px; color: var(--gray-600); }
.s02-counter__num { font-size: 56px; font-weight: 700; line-height: 1; color: var(--navy-900); margin-top: 6px; }
.s02-counter__time { font-size: 14px; color: var(--teal-700); font-weight: 600; margin-top: 6px; transition: opacity 400ms; }
.s02-counter__time.is-hidden { opacity: 0; }
.s02-counter__manual { font-size: 12px; color: var(--gray-600); margin-top: 4px; }

.s02-bottom {
  flex: none; height: 56px; display: flex; align-items: center; gap: 16px; padding: 0 8px 0 20px;
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--r-card); box-shadow: var(--sh-1);
}
.s02-summary { flex: 1; display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--gray-600); }
.s02-summary .icon { color: var(--gray-300); transition: color 400ms; }
.s02-summary.is-done { color: var(--gray-900); }
.s02-summary.is-done .icon { color: var(--success-700); }
.s02-bottom .btn { height: 40px; flex-direction: row-reverse; }
.s02-pop-list { max-height: 260px; overflow-y: auto; }

/* ════════ S03 — Клинико‑функциональный статус ════════ */
.s03 { position: relative; }
.s03-grid { flex: 1; min-height: 0; display: grid; grid-template-columns: 312px 536px 424px; gap: 24px; }
.s03-col { min-height: 0; display: flex; flex-direction: column; gap: 12px; }
.s03.is-animating .s03-col, .s03.is-animating .s03-bottom { animation: saRise 400ms var(--ease-in) both; }
.s03.is-animating .s03-center { animation-delay: 120ms; }
.s03.is-animating .s03-right { animation-delay: 240ms; }
.s03.is-animating .s03-bottom { animation-delay: 360ms; }
.s03-scroll { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: 9px; margin-right: -8px; padding-right: 8px; }
.s03-block { display: flex; flex-direction: column; gap: 4px; }
.s03-cap { font-size: 12px; color: var(--gray-600); }
.s03-dx { font-size: 12.5px; line-height: 1.35; color: var(--gray-900); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.s03-dx b { color: var(--navy-900); }
.s03-text { font-size: 12.5px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.s03-comorb { display: flex; gap: 8px; font-size: 12px; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s03-comorb span:last-child { overflow: hidden; text-overflow: ellipsis; }
.s03-code { color: var(--gray-600); font-variant-numeric: tabular-nums; width: 40px; flex: none; }
.s03-imaging { display: flex; gap: 10px; align-items: flex-start; }
.s03-imaging__ic { width: 32px; height: 32px; border-radius: 8px; background: var(--gray-50); color: var(--navy-700); display: flex; align-items: center; justify-content: center; flex: none; }
.s03-imaging__head { font-size: 12px; font-weight: 600; color: var(--navy-900); }
.s03-imaging__text { font-size: 12px; line-height: 1.35; color: var(--gray-900); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.s03-lab { display: grid; grid-template-columns: minmax(0, 1fr) auto 64px; column-gap: 8px; font-size: 12px; padding: 2px 0; align-items: baseline; border-bottom: 1px solid var(--gray-100); }
.s03-lab__name { color: var(--gray-900); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s03-lab__val { font-weight: 600; text-align: right; display: inline-flex; align-items: center; gap: 2px; justify-content: flex-end; }
.s03-lab__val small { font-weight: 400; color: var(--gray-600); font-size: 11px; }
.s03-lab__ref { font-size: 11px; color: var(--gray-400); text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s03-lab.is-flag .s03-lab__val { color: var(--warning-text); }
.s03-arrow { color: var(--warning-700); }
.s03-arrow--high { transform: rotate(-90deg); }
.s03-arrow--low { transform: rotate(90deg); }

.s03-gauges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 8px; }
.s03-gauge { display: flex; flex-direction: column; align-items: center; padding: 6px 0 4px; border-radius: 10px; outline: none; cursor: default; }
.s03-gauge:hover, .s03-gauge:focus-visible { background: var(--gray-50); }
.s03-gauge__dial { position: relative; width: 150px; height: 92px; }
.s03-gauge__dial svg { position: absolute; left: 0; top: 0; }
.s03-gauge__center { position: absolute; left: 0; right: 0; top: 40px; text-align: center; }
.s03-gauge__num { font-size: 32px; font-weight: 600; line-height: 1; color: var(--navy-900); }
.s03-gauge__range { font-size: 12px; color: var(--gray-600); margin-top: 4px; }
.s03-gauge__name { font-size: 13px; font-weight: 500; color: var(--gray-900); margin-top: 4px; text-align: center; }
.s03-gauge__hint { font-size: 11px; color: var(--gray-400); }
.s03-gait { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--gray-100); display: flex; flex-direction: column; gap: 8px; }
.s03-gait__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.s03-metric { background: var(--gray-50); border-radius: 8px; padding: 8px 10px; }
.s03-metric__name { font-size: 11px; color: var(--gray-600); line-height: 1.25; height: 28px; overflow: hidden; }
.s03-metric__val { font-size: 13px; line-height: 1.25; font-weight: 600; color: var(--navy-900); margin-top: 2px; height: 32px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.s03-metric__norm { font-size: 11px; color: var(--gray-400); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.s03-right__head { display: flex; align-items: center; justify-content: space-between; }
.s03-legend { display: flex; gap: 8px; font-size: 11px; color: var(--gray-600); }
.s03-legend span { display: inline-flex; align-items: center; gap: 4px; }
.s03-legend i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }
.s03-icf-list { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
.s03-icf {
  flex: 1; min-height: 34px; max-height: 52px; display: grid; grid-template-columns: 38px minmax(0, 1fr) 105px 70px; align-items: center; column-gap: 8px;
  border: 0; border-bottom: 1px solid var(--gray-100); background: transparent; text-align: left; padding: 0 4px; border-radius: 0;
}
.s03-icf:hover { background: var(--gray-50); }
.s03-icf__code { font-size: 12px; color: var(--gray-600); font-variant-numeric: tabular-nums; }
.s03-icf__name { font-size: 12.5px; line-height: 1.2; color: var(--gray-900); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.s03-icf__goal { font-size: 11.5px; color: var(--gray-600); text-align: right; white-space: nowrap; }
.s03-segs { display: flex; gap: 3px; }
.s03-segs i { width: 24px; height: 10px; border-radius: 2px; background: var(--gray-150); display: block; transform-origin: left center; }
.s03-l1 { background: #9FD3DD !important; }
.s03-l2 { background: #E9B949 !important; }
.s03-l3 { background: var(--orange-600) !important; }
.s03-l4 { background: var(--danger-700) !important; }
.s03-lf { background: var(--success-700) !important; }
.s03.is-animating .s03-seg--on { animation: s03Grow 300ms var(--ease-in) both; animation-delay: calc(400ms + var(--i) * 60ms); }
@keyframes s03Grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.s03-segs.is-fac + .s03-icf__goal { color: var(--success-700); font-weight: 600; }

.s03-bottom { flex: none; padding: 12px 20px; display: flex; gap: 24px; align-items: stretch; min-width: 0; }
.s03-bottom__group { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.s03-bottom__group--fac { padding-left: 24px; border-left: 1px solid var(--gray-100); flex: none; max-width: 420px; }
.s03-bottom__group:first-child { flex: 1; }
.s03-bottom__title { font-size: 13px; font-weight: 600; color: var(--navy-900); }
.s03-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.s03-chip {
  height: 32px; padding: 0 10px; border-radius: var(--r-ctrl); border: 1px solid transparent; display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 500; white-space: nowrap;
}
.s03-chip--warning { background: var(--warning-100); color: var(--warning-text); }
.s03-chip--warning .icon { color: var(--warning-700); }
.s03-chip--danger { background: var(--danger-100); color: var(--danger-700); }
.s03-chip--success { background: var(--success-100); color: #1D5A37; }
.s03-chip--success .icon { color: var(--success-700); }
.s03-chip:hover { border-color: currentColor; }

/* ════════ S04 — Потенциал и прогноз (по утверждённому макету) ════════ */
.s04-row { display: flex; gap: 24px; min-height: 0; }
.s04-row--top { height: 232px; flex: none; }
.s04-row--bottom { flex: 1; }
.s04-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.s04-card-head .btn--sm .icon { width: 16px; height: 16px; }

.s04-pot { width: 424px; flex: none; display: flex; flex-direction: column; gap: 12px; }
.s04-bar { position: relative; width: 384px; height: 40px; flex: none; }
.s04-pointer { position: absolute; left: 0; top: 0; will-change: transform; }
.s04-bar__track { position: absolute; left: 0; top: 14px; width: 384px; height: 24px; display: flex; gap: 3px; }
.s04-bar__seg { flex: 1; display: flex; align-items: center; justify-content: center; font-size: 11px; }
.s04-bar__seg--low { border-radius: 6px 0 0 6px; background: #E7C3C0; color: #7A2A24; }
.s04-bar__seg--medium { background: #F2DDAE; color: #6B4A0E; }
.s04-bar__seg--high { border-radius: 0 6px 6px 0; background: #BFE3CF; color: #1D5A37; }
.s04-bar__seg.is-on { font-weight: 600; outline: 2px solid currentColor; outline-offset: -2px; }
.s04-bar__seg--high.is-on { outline-color: var(--success-700); }
.s04-pot__result { display: flex; align-items: baseline; gap: 12px; }
.s04-pot__level { font-size: 28px; font-weight: 700; line-height: 1.1; }
.s04-pot__level--high { color: var(--success-700); }
.s04-pot__level--medium { color: var(--warning-700); }
.s04-pot__level--low { color: var(--danger-700); }
.s04-pot__conf { font-size: 13px; color: var(--gray-600); }
.s04-pot__reasons { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--gray-900); }
.s04-pot__reason { display: flex; align-items: center; gap: 8px; }
.s04-pot__reason i { width: 6px; height: 6px; border-radius: 50%; background: var(--success-700); flex: none; }

.s04-sim { flex: 1; min-width: 0; display: flex; gap: 28px; }
.s04-sim__left { display: flex; flex-direction: column; gap: 12px; flex: none; }
.s04-scan { width: 420px; height: 160px; overflow: hidden; display: flex; align-items: center; }
.s04-sim__right { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; padding-top: 30px; }
.s04-sim__cap { font-size: 13px; color: var(--gray-600); }
.s04-sim__num { font-size: 44px; font-weight: 700; line-height: 1; color: var(--navy-900); }
.s04-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.s04-chip { font-size: 12px; padding: 4px 8px; border-radius: 6px; background: var(--teal-100); color: var(--navy-700); opacity: 0; }
.s04-sim.is-found .s04-chip { animation: saRise 300ms var(--ease-in) both; }
.s04-sim:not(.is-found) .s04-median { opacity: 0; }
.s04-median { font-size: 14px; color: var(--gray-900); transition: opacity 300ms; flex: 1; min-width: 0; }
.s04-median__iqr { color: var(--gray-600); }
.sa-noanim .s04-chip, .s04-sim.is-found .s04-chip { opacity: 1; }
.s04-sim__foot { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.s04-sim__foot .btn { flex: none; height: 36px; }

.s04-top5 { display: flex; flex-direction: column; }
.s04-top5__row { display: grid; grid-template-columns: 160px 96px 130px 90px 1fr; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--gray-100); font-size: 13px; }
.s04-top5__row--head { font-size: 12px; color: var(--gray-600); padding-top: 0; }
.s04-top5__sim { display: flex; align-items: center; gap: 8px; }
.s04-top5__sim i { display: block; height: 6px; max-width: 60px; border-radius: 3px; background: var(--teal-300); flex: none; }
.s04-top5__note { color: var(--gray-600); }

.s04-chart { width: 984px; flex: none; padding: 16px 20px; display: flex; flex-direction: column; gap: 8px; min-height: 0; }
.s04-switch { display: flex; padding: 3px; border-radius: 8px; background: var(--gray-50); }
.s04-switch__btn { height: 30px; padding: 0 12px; border: 0; border-radius: 6px; background: transparent; color: var(--gray-600); font-size: 13px; }
.s04-switch__btn:hover { color: var(--navy-900); }
.s04-switch__btn.is-active { background: var(--white); color: var(--navy-900); font-weight: 600; box-shadow: 0 1px 2px rgba(11,31,58,0.12); }
.s04-chart__box { position: relative; flex: 1; min-height: 0; }
.s04-callout__cap { font-size: 11px; color: var(--gray-600); font-weight: 400; }
.s04-callout__val { font-size: 16px; font-weight: 700; color: var(--navy-900); }

.s04-goals { width: 312px; flex: none; display: flex; flex-direction: column; gap: 8px; min-height: 0; }
.s04-goals__list { display: flex; flex-direction: column; gap: 8px; min-height: 0; overflow: hidden; }
.s04-goal { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--r-card); padding: 10px 16px; display: flex; flex-direction: column; gap: 4px; }
.s04-goal__meta { font-size: 12px; color: var(--gray-600); }
.s04-goal__text { font-size: 14px; font-weight: 600; color: var(--gray-900); line-height: 1.3; }
.s04-goals__note { font-size: 12px; color: var(--gray-600); padding: 2px 4px; }
.s04-goals__sp { flex: 1; }
.s04-goals .btn { width: 100%; height: 48px; flex: none; }

/* ════════ S05 — Формирование программы ════════ */
.s05 { position: relative; }
.s05-checks { flex: none; height: 44px; display: flex; gap: 16px; align-items: center; }
.s05-check {
  width: 260px; height: 36px; border-radius: var(--r-ctrl); border: 1px solid var(--gray-200); background: var(--gray-50); color: var(--gray-600);
  display: flex; align-items: center; gap: 8px; padding: 0 12px; font-size: 13px; text-align: left; overflow: hidden; transition: background-color 300ms, color 300ms, border-color 300ms;
}
.s05-check__state { position: relative; width: 18px; height: 18px; flex: none; display: flex; align-items: center; justify-content: center; }
.s05-check .sa-spinner { display: none; }
.s05-check.is-checking .sa-spinner { display: inline-block; }
.s05-check__tick { display: none; }
.s05-check.is-ok .s05-check__tick { display: block; }
.s05-check__path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.s05-check.is-ok .s05-check__path { animation: s05Tick 250ms var(--ease-in) forwards; }
@keyframes s05Tick { to { stroke-dashoffset: 0; } }
.sa-noanim .s05-check__path, .s05.is-approved .s05-check__path { stroke-dashoffset: 0; }
.s05-check__text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s05-check__text--ok { display: none; }
.s05-check.is-ok { background: var(--success-100); border-color: transparent; color: #1D5A37; font-weight: 600; cursor: pointer; }
.s05-check.is-ok .s05-check__text--ok { display: block; }
.s05-check.is-ok .s05-check__text--wait { display: none; }
.s05-check.is-ok .s05-check__state { color: var(--success-700); }
.s05-check.is-ok:hover { border-color: var(--success-700); }

.s05-main { flex: 1; min-height: 0; display: grid; grid-template-columns: 200px 760px 312px; gap: 24px; }

.s05-lib { padding: 14px 12px; display: flex; flex-direction: column; gap: 8px; min-height: 0; }
.s05-lib .card__title { font-size: 14px; }
.s05-lib__list { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; }
.s05-lib__gap { height: 6px; flex: none; }
.s05-lib__item { display: flex; align-items: center; gap: 6px; font-size: 12px; line-height: 16.5px; color: var(--gray-900); white-space: nowrap; overflow: hidden; border-radius: 4px; padding: 0 4px; transition: color 300ms, background-color 300ms; }
.s05-lib__item span { overflow: hidden; text-overflow: ellipsis; }
.s05-lib__item i { width: 3px; height: 12px; border-radius: 2px; flex: none; }
.s05.is-building .s05-lib__item, .s05.is-assembled .s05-lib__item { color: var(--gray-400); }
.s05.is-building .s05-lib__item i, .s05.is-assembled .s05-lib__item i { opacity: 0.35; }
.s05 .s05-lib__item.is-picked { color: var(--navy-900); font-weight: 600; background: var(--teal-100); }
.s05 .s05-lib__item.is-picked i { opacity: 1; }

.s05-cal { padding: 10px 16px 10px; display: flex; flex-direction: column; min-height: 0; position: relative; --rowh: 34px; }
.s05-cal.is-dense { --rowh: 33px; }
.s05-cal__row { display: grid; grid-template-columns: 252px repeat(14, 34px); align-items: center; height: var(--rowh); }
.s05-cal__row--head { height: 42px; border-bottom: 1px solid var(--gray-200); }
.s05-cal__body { flex: 1; min-height: 0; }
.s05-cal__title { font-size: 14px; font-weight: 600; color: var(--navy-900); }
.s05-cal__day { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 10px; line-height: 1.15; color: var(--gray-600); white-space: nowrap; }
.s05-cal__day b { font-size: 12px; color: var(--navy-900); }
.s05-cal__day.is-rest { background: var(--gray-50); border-radius: 6px 6px 0 0; color: var(--warning-text); font-size: 9px; letter-spacing: -0.02em; }
.s05-cal__label {
  height: 100%; display: flex; align-items: center; gap: 8px; border: 0; background: transparent; text-align: left; padding: 0 8px 0 0; min-width: 0; color: var(--gray-900); font-size: 13px;
}
button.s05-cal__label:hover .s05-cal__name { color: var(--teal-700); text-decoration: underline; }
.s05-cal__icon { display: flex; flex: none; }
.s05-cal__name { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s05-cal__freq { font-size: 11px; color: var(--gray-400); flex: none; }
.s05-cal__row:not(.s05-cal__row--head) { border-bottom: 1px solid var(--gray-100); }
.s05-cell { height: 100%; display: flex; align-items: center; justify-content: center; }
.s05-cell.is-rest { background: var(--gray-50); }
.s05-cell__dot { width: 3px; height: 3px; border-radius: 50%; background: var(--gray-200); }
.s05-cell__box {
  width: 26px; height: 22px; border: 0; border-radius: 5px; color: var(--white); font-size: 11px; font-weight: 600; padding: 0;
  display: flex; align-items: center; justify-content: center; transition: transform 200ms var(--ease-in), opacity 200ms var(--ease-in), box-shadow 150ms;
}
.s05-cell__box:hover { box-shadow: 0 0 0 2px var(--white), 0 0 0 3px var(--navy-900); }
.s05.is-building .s05-cell__box:not(.is-in) { opacity: 0; transform: scale(0.6); }
.s05.is-building .s05-cal__row:not(.is-in) .s05-cal__label > * { opacity: 0; }
.s05-cal__label > * { transition: opacity 200ms; }
.s05-totals { flex: none; height: 28px; display: flex; align-items: center; gap: 4px; font-size: 13px; color: var(--gray-600); padding-top: 6px; }
.s05-totals b { color: var(--navy-900); font-weight: 600; }
.s05-cal__flash { position: absolute; inset: -1px; border-radius: var(--r-card); box-shadow: 0 0 0 2px var(--success-700); opacity: 0; pointer-events: none; }
.s05-cal.is-flash .s05-cal__flash { animation: s05Flash 900ms ease both; }
@keyframes s05Flash { 0% { opacity: 0; } 35% { opacity: 1; } 100% { opacity: 0; } }

.s05-drag { display: none; color: var(--gray-400); font-size: 12px; letter-spacing: -2px; width: 10px; flex: none; cursor: grab; }
.s05-edit { display: none; gap: 2px; flex: none; }
.s05-edit__btn { width: 20px; height: 20px; border: 1px solid var(--gray-200); border-radius: 4px; background: var(--white); color: var(--navy-700); display: flex; align-items: center; justify-content: center; padding: 0; }
.s05-edit__btn:hover { background: var(--teal-100); }
.s05.is-editing .s05-drag, .s05.is-editing .s05-edit { display: inline-flex; }
.s05.is-editing .s05-cal__freq { color: var(--teal-700); font-weight: 600; }

.s05-fly {
  position: absolute; left: 0; top: 0; z-index: 30; pointer-events: none; visibility: hidden; white-space: nowrap;
  font-size: 12px; font-weight: 600; color: var(--navy-900); background: var(--white); border-radius: 6px; box-shadow: var(--sh-2); padding: 3px 8px;
}

.s05-side { padding: 16px; display: flex; flex-direction: column; gap: 10px; min-height: 0; overflow: hidden; }
.s05-side .card__title { font-size: 14px; }
.s05-side__t2 { margin-top: 2px; }
.s05-donut { min-height: 112px; flex: none; }
.s05-donut .ch-donut { display: flex; align-items: center; gap: 12px; }
.s05-eq-list { display: flex; flex-direction: column; flex: none; }
.s05-eq { display: grid; grid-template-columns: minmax(0, 1fr) 38px 44px 34px; gap: 6px; align-items: center; height: 22px; font-size: 11.5px; }
.s05-eq__name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--gray-900); }
.s05-eq__name small { color: var(--gray-400); font-size: 11px; }
.s05-eq__time { color: var(--gray-600); }
.s05-eq__bar { height: 6px; border-radius: 3px; background: var(--gray-150); overflow: hidden; }
.s05-eq__bar i { display: block; height: 100%; background: var(--teal-700); border-radius: 3px; }
.s05-eq__pct { text-align: right; color: var(--navy-900); font-weight: 600; }
.s05-based { display: flex; gap: 8px; font-size: 12px; line-height: 1.4; color: var(--gray-600); align-items: flex-start; }
.s05-based .icon { color: var(--teal-700); margin-top: 1px; }
.s05-link { border: 0; background: transparent; padding: 0; color: var(--navy-500); font-size: 12px; text-decoration: underline; }
.s05-side__sp { flex: 1; min-height: 0; }
.s05-approve { position: relative; display: flex; flex-direction: column; gap: 8px; flex: none; }
.s05-approve__btn { width: 100%; height: 48px; }
.s05-approve__btn:disabled { background: var(--gray-300); color: var(--white); cursor: default; transform: none; }
.s05-approve__btn.is-ready { transition: background-color 300ms; }
.s05-approve__btn.is-glow { animation: s05Glow 600ms ease 300ms both; }
@keyframes s05Glow { 0% { box-shadow: 0 0 0 0 rgba(31,111,139,0); } 50% { box-shadow: 0 0 0 6px rgba(31,111,139,0.25); } 100% { box-shadow: 0 0 0 0 rgba(31,111,139,0); } }
.s05-approve__edit { width: 100%; height: 40px; }
.s05-plate { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 300ms var(--ease-in); }
.s05-plate__in { overflow: hidden; display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; line-height: 1.4; font-weight: 600; color: #1D5A37; background: var(--success-100); border-radius: var(--r-ctrl); padding: 0 12px; }
.s05-plate__in .icon { color: var(--success-700); flex: none; margin-top: 1px; }
.s05.is-approved .s05-plate { grid-template-rows: 1fr; }
.s05.is-approved .s05-plate__in { padding: 10px 12px; }
.s05-after { display: none; flex-direction: column; gap: 8px; }
.s05-after .btn { width: 100%; height: 40px; }
.s05.is-approved .s05-after { display: flex; }
.s05.is-approved .s05-approve__btn, .s05.is-approved .s05-approve__edit { display: none; }
.s05-caption { font-size: 11.5px; line-height: 1.35; color: var(--gray-600); flex: none; }
.s05-toast { position: absolute; left: 0; right: 0; top: -36px; display: flex; align-items: center; gap: 6px; justify-content: center; height: 28px; border-radius: 6px; background: var(--success-100); color: #1D5A37; font-size: 12px; font-weight: 600; opacity: 0; pointer-events: none; }
.s05-toast.is-on { animation: s05Toast 2200ms ease both; }
@keyframes s05Toast { 0%, 100% { opacity: 0; } 10%, 80% { opacity: 1; } }

/* Шапка пациента на S03–S05: диагноз в одну строку, чтобы шапка не росла */
.s03 .patient-strip > div:nth-child(2), .s04 .patient-strip > div:nth-child(2), .s05 .patient-strip > div:nth-child(2) { min-width: 0; flex: 1; }
.s03 .patient-strip__meta, .s04 .patient-strip__meta, .s05 .patient-strip__meta { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s03 .patient-strip__chips, .s04 .patient-strip__chips, .s05 .patient-strip__chips { flex: none; }
.s03-bottom__title { margin-bottom: -2px; }
.s03-bottom { padding: 10px 20px; }.sa-strip-btn .btn { white-space: nowrap; }
.s03-chips { flex-wrap: nowrap; overflow: hidden; }
.s03-chip { flex: 0 1 auto; min-width: 0; overflow: hidden; }
.s03-chip .icon { flex: none; }
.s03-bottom__group--fac { flex: 0 1 auto; max-width: none; }
.s03-bottom__group:first-child { flex: 0 1 auto; }
.s03-bottom { padding: 10px 16px; gap: 20px; }
.s03-bottom__group { flex-direction: row; align-items: center; gap: 12px; }
.s03-bottom__group:first-child { flex: 1 1 auto; }
.s03-bottom__group--fac { flex: 0 1 auto; padding-left: 20px; }
.s03-bottom__title { width: 128px; flex: none; font-size: 12.5px; line-height: 1.3; margin: 0; }
.s03-bottom__group--fac .s03-bottom__title { width: 84px; }
.s03-chips { flex-wrap: wrap; overflow: visible; gap: 6px; }
.s03-chip { flex: none; }
.s03-bottom__group:first-child { flex: 1 1 0; min-width: 0; }
.s03-bottom__group--fac { flex: none; }
.s03-bottom__group--fac .s03-chips { flex-wrap: nowrap; }
.s03-scroll { gap: 8px; }
.s03-left { padding: 16px 18px; gap: 10px; }
.s04-sim__right { padding-top: 0; gap: 8px; }
.s04-sim__foot { margin-top: 0; justify-content: space-between; }
.s04-sim__cap { flex: 1; }
.s04-median { flex: none; }
.s04-scan { width: 380px; }
.s04-sim__cap { white-space: nowrap; }
.s04-chips { gap: 4px; }
.s04-chip { font-size: 11.5px; padding: 3px 7px; }
.s04-median { font-size: 13px; line-height: 1.35; }
.s05-check { flex: 1 1 0; width: auto; min-width: 0; }
.s05-side { gap: 8px; padding: 14px 16px; }
.s05-donut { min-height: 92px; }
.s05-donut .ch-donut { gap: 10px; align-items: center; }
.s05-donut .ch-donut__legend { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1; }
.s05-donut .ch-donut__li { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; gap: 6px; align-items: center; font-size: 11px; line-height: 13px; }
.s05-donut .ch-donut__li i { width: 8px; height: 8px; border-radius: 2px; display: block; }
.s05-donut .ch-donut__li-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--gray-900); }
.s05-donut .ch-donut__li b { font-weight: 600; color: var(--navy-900); }
.s05-eq { height: 20px; font-size: 11px; }
.s05-based { font-size: 11.5px; }
.s05-approve__edit, .s05-after .btn { height: 36px; }
.s05-caption { font-size: 11px; }
.s05-donut { min-height: 0; height: 92px; overflow: hidden; }
.s05-eq { height: 19px; }
.s05-plate__in { font-size: 12px; }

/* ════════ Спринт 6: контраст ≥ 4,5:1 и минимальные кегли на проекторе ════════ */
.s01-dx__icd, .s01-search, .s03-lab__ref, .s03-metric__norm, .s05-cal__freq, .s05-eq__name small { color: var(--gray-600); }
.s05.is-building .s05-lib__item, .s05.is-assembled .s05-lib__item { color: var(--gray-600); }
.s01-seg__n { font-size: 12px; }
.s02-node__sub, .s04-chip, .s03-icf__goal { font-size: 12px; }
.s04-bar__seg, .s04-callout__cap, .s03-metric__name { font-size: 12px; }
