/* Экраны S06–S10 (спринт 3). Только токены из styles.css.
   Общие элементы группы — с префиксами .s06- (подложка, тултип) и .s08- (сегменты, действия, точки). */

/* ——— Общие ——— */
.s06, .s07, .s08, .s09, .s10 { position: relative; min-height: 0; }
.s06 > .tabs, .s07 > .tabs, .s08 > .tabs, .s10 > .tabs { align-items: center; }
.s08-acts { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.s08-acts .btn--sm { height: 32px; }

.s08-seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: var(--r-ctrl); background: var(--gray-100); flex: none; }
.s08-seg__btn { height: 28px; padding: 0 12px; border: 0; border-radius: 6px; background: transparent; color: var(--gray-600); font-size: 13px; white-space: nowrap; }
.s08-seg__btn:hover:not(:disabled) { color: var(--navy-900); }
.s08-seg__btn.is-active { background: var(--white); color: var(--navy-900); font-weight: 600; box-shadow: var(--sh-1); }
.s08-seg__btn:disabled { opacity: 0.5; cursor: default; }

.s08-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; display: inline-block; }
.s08-dot--ok { background: var(--success-700); }
.s08-dot--warning { background: var(--warning-700); }
.s08-dot--danger { background: var(--danger-700); }

.s08-tip { position: absolute; z-index: 30; transform: translate(-50%, -100%); pointer-events: none; opacity: 0; transition: opacity 150ms;
  max-width: 320px; padding: 8px 10px; border-radius: var(--r-ctrl); background: var(--white); box-shadow: var(--sh-2); font-size: 12px; line-height: 1.4; color: var(--gray-900); white-space: normal; }
.s08-tip.is-on { opacity: 1; }

.s09-spin { display: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.4); border-top-color: var(--white); animation: s09Spin 700ms linear infinite; }
.is-busy .s09-spin { display: inline-block; }
@keyframes s09Spin { to { transform: rotate(360deg); } }

/* ——— Подложка экрана‑источника (S06, S09) ——— */
.s06-underlay { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.s06-underlay > .screen { width: 100%; height: 100%; }
.s06-underlay *, .s06-underlay *::before, .s06-underlay *::after { animation: none !important; transition: none !important; }

/* ===================================================================== S06 */
.s06-backdrop { position: absolute; inset: -24px; z-index: 40; background: rgba(11,31,58,0.35); }
.s06-panel { position: absolute; top: -24px; right: -24px; bottom: -24px; width: 640px; z-index: 41; display: flex; flex-direction: column;
  background: var(--white); box-shadow: var(--sh-3); }
.s06-head { flex: none; display: flex; gap: 16px; align-items: flex-start; padding: 20px 24px 16px; border-bottom: 1px solid var(--gray-100); }
.s06-head__text { flex: 1; min-width: 0; }
.s06-head__cap { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--teal-700); font-weight: 600; }
.s06-head__title { margin: 6px 0 0; font-size: 20px; line-height: 1.3; font-weight: 600; color: var(--navy-900); }
.s06-close { width: 32px; height: 32px; flex: none; border: 0; border-radius: var(--r-ctrl); background: transparent; color: var(--gray-600); display: flex; align-items: center; justify-content: center; }
.s06-close:hover { background: var(--gray-50); color: var(--navy-900); }
.s06-body { flex: 1; min-height: 0; overflow-y: auto; padding: 4px 24px 16px; overscroll-behavior: contain; }
.s06-sec { padding: 16px 0; border-bottom: 1px solid var(--gray-100); }
.s06-sec:last-child { border-bottom: 0; }
.s06-sec__title { margin: 0 0 12px; font-size: 15px; font-weight: 600; color: var(--navy-900); }
.s06-sub { margin: 0 0 10px; font-size: 13px; color: var(--gray-900); }
.s06-sub--muted { color: var(--gray-600); font-size: 12px; }
.s06-tornado .ch-caption { margin-top: 8px; font-size: 12px; color: var(--gray-600); }

.s06-guide { padding: 14px 16px; border-radius: var(--r-ctrl); background: var(--gray-50); box-shadow: inset 4px 0 0 var(--teal-700); display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.s06-guide__text { margin: 0; font-size: 14px; line-height: 1.5; color: var(--gray-900); }
.s06-guide__grade { font-size: 12px; color: var(--gray-600); }
.s06-guide .chip { white-space: normal; }

.s06-cmp { display: flex; gap: 24px; align-items: flex-start; padding: 4px 0 0; }
.s06-cmp__col { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.s06-cmp__val { width: 120px; font-size: 24px; font-weight: 700; text-align: center; }
.s06-cmp__track { width: 120px; height: 140px; display: flex; align-items: flex-end; justify-content: center; border-bottom: 1px solid var(--gray-200); }
.s06-cmp__bar { width: 72px; border-radius: 4px 4px 0 0; transform-origin: 50% 100%; }
.s06-cmp__text { display: flex; flex-direction: column; gap: 2px; }
.s06-cmp__label { font-size: 12px; line-height: 1.4; color: var(--gray-900); }
.s06-cmp__n { font-size: 12px; color: var(--gray-600); }
.s06-cmp__extra { font-size: 12px; color: var(--danger-700); font-weight: 600; }

.s06-hist { margin-top: 12px; }
.s06-hist__legend { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--gray-600); margin-top: 4px; }
.s06-hist__legend i { width: 10px; height: 10px; border-radius: 2px; background: var(--teal-700); }

.s06-top { margin-top: 16px; display: flex; flex-direction: column; }
.s06-top__row { display: grid; grid-template-columns: 170px 100px 1fr 90px; align-items: center; gap: 12px; height: 36px; padding: 0 8px; border: 0; border-bottom: 1px solid var(--gray-100); background: transparent; text-align: left; font-size: 13px; color: var(--gray-900); }
button.s06-top__row:hover { background: var(--gray-50); }
.s06-top__row[aria-expanded="true"] { background: var(--teal-100); }
.s06-top__row--head { height: 28px; font-size: 12px; color: var(--gray-600); }
.s06-top__code { font-weight: 500; white-space: nowrap; }
.s06-top__sim { display: flex; align-items: center; gap: 8px; }
.s06-top__simbar { flex: 1; height: 6px; border-radius: 3px; background: var(--gray-150); overflow: hidden; }
.s06-top__simbar span { display: block; height: 100%; background: var(--teal-300); }
.s06-top__res { text-align: right; font-weight: 600; }
.s06-top__detail:empty { display: none; }
.s06-top__detail { padding: 10px 8px 12px; border-bottom: 1px solid var(--gray-100); }
.s06-top__chartcap { font-size: 12px; color: var(--gray-600); margin-bottom: 4px; }
.s06-top__ends { display: flex; justify-content: space-between; font-size: 12px; color: var(--gray-600); width: 520px; }
.s06-top__note { margin-top: 6px; font-size: 12px; color: var(--gray-600); }

.s06-effect { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r-ctrl); background: var(--success-100); color: #1D5A37; font-size: 14px; font-weight: 500; line-height: 1.45; }

.s06-foot { flex: none; display: flex; align-items: center; gap: 12px; padding: 16px 24px; border-top: 1px solid var(--gray-200); background: var(--white); }
.s06-foot__note, .s06-warn { flex: 1; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--gray-600); }
.s06-warn { color: var(--warning-text); font-weight: 500; }
.s06-foot__btns { display: flex; gap: 8px; flex: none; }

/* ===================================================================== S07 */
.s07-progress { height: 36px; flex: none; display: flex; align-items: center; gap: 16px; }
.s07-progress__text { font-size: 14px; color: var(--gray-900); font-weight: 500; }
.s07-progress__bar { width: 400px; height: 8px; border-radius: 4px; background: var(--gray-150); overflow: hidden; }
.s07-progress__fill { display: block; height: 100%; background: var(--success-700); border-radius: 4px; transform-origin: 0 50%; }
.s07-progress__spacer { flex: 1; }

.s07-boardwrap { position: relative; flex: 1; min-height: 0; }
.s07-board { height: 100%; display: flex; gap: 12px; }
.s07-col { flex: 0 0 210px; min-width: 0; display: flex; flex-direction: column; border-radius: var(--r-card); background: var(--gray-100); transition: flex-basis 300ms var(--ease-move); }
.s07-col.is-open { flex: 1 1 640px; background: var(--white); border: 1px solid var(--gray-200); box-shadow: var(--sh-1); }
.s07-col.is-collapsed { flex: 0 0 72px; }
.s07-col__head { position: relative; height: 72px; flex: none; display: flex; align-items: center; gap: 10px; padding: 0 10px; border: 0; border-radius: var(--r-card) var(--r-card) 0 0; background: transparent; text-align: left; }
.s07-col__head:hover { background: rgba(255,255,255,0.6); }
.s07-col.is-collapsed .s07-col__head { justify-content: center; padding: 0; }
.s07-col__who { flex: 1; min-width: 0; }
.s07-col__name { font-size: 13px; font-weight: 600; color: var(--navy-900); white-space: nowrap; padding-right: 34px; }
.s07-col__role { font-size: 12px; color: var(--gray-600); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.s07-col__count { position: absolute; top: 10px; right: 8px; font-size: 11px; font-weight: 600; color: var(--gray-600); background: var(--white); border-radius: var(--r-chip); padding: 2px 6px; }
.s07-col__body { flex: 1; min-height: 0; overflow: hidden; padding: 0 8px 8px; display: flex; flex-direction: column; gap: 6px; }
.s07-col.is-open .s07-col__body { display: grid; grid-template-columns: 1fr 1fr; align-content: start; }
.s07-col.is-open .s07-my { grid-column: 1 / -1; }

.s07-card { position: relative; width: 100%; flex: none; padding: 7px 9px 7px 12px; border: 1px solid var(--gray-200); border-radius: var(--r-ctrl); background: var(--white); box-shadow: var(--sh-1);
  text-align: left; display: flex; flex-direction: column; gap: 3px; color: var(--gray-900); }
.s07-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; border-radius: var(--r-ctrl) 0 0 var(--r-ctrl); background: var(--cat, var(--gray-400)); }
.s07-card:hover { border-color: var(--teal-300); }
.s07-card__top { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.s07-card__time { font-size: 12px; color: var(--gray-600); }
.s07-card__changed { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; color: var(--teal-700); font-weight: 600; }
.s07-card__changed i { width: 6px; height: 6px; border-radius: 50%; background: var(--teal-500); }
.s07-card__title { font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--navy-900); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.s07-card__place { font-size: 12px; color: var(--gray-600); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s07-card__reason { font-size: 11px; color: var(--warning-text); line-height: 1.35; }
.s07-st { flex: none; display: inline-flex; align-items: center; gap: 4px; padding: 1px 6px; border-radius: var(--r-chip); font-size: 11px; font-weight: 600; }
.s07-st--done { color: #1D5A37; background: var(--success-100); }
.s07-st--progress { color: var(--teal-700); background: var(--teal-100); }
.s07-st--planned { color: var(--gray-600); background: var(--gray-50); }
.s07-st--missed { color: var(--warning-text); background: var(--warning-100); }
.s07-st__ring { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--teal-300); border-top-color: var(--teal-700); animation: s09Spin 1.2s linear infinite; }
.s07-empty { padding: 24px; font-size: 14px; color: var(--gray-600); }

.s07-my { margin-top: 4px; padding: 14px; border-radius: var(--r-ctrl); background: var(--gray-50); display: flex; flex-direction: column; gap: 10px; }
.s07-my__cap { font-size: 12px; font-weight: 600; color: var(--teal-700); text-transform: uppercase; letter-spacing: 0.04em; }
.s07-my__title { font-size: 14px; font-weight: 600; color: var(--navy-900); }
.s07-check { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; }
.s07-check li { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.s07-check li .icon { color: var(--success-700); }
.s07-my__lab { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--gray-600); }
.s07-my__comment { font: inherit; font-size: 13px; color: var(--gray-900); padding: 8px 10px; border: 1px solid var(--gray-200); border-radius: var(--r-ctrl); resize: none; background: var(--white); user-select: text; }
.s07-my__foot { display: flex; align-items: center; gap: 12px; justify-content: space-between; }
.s07-my__target { font-size: 13px; color: var(--gray-600); }
.s07-my__done { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--success-700); }
.s07-tick path { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 1; }

.s07-pophost { position: absolute; inset: 0; pointer-events: none; }
.s07-pop { position: absolute; width: 340px; pointer-events: auto; z-index: 20; padding: 16px; border-radius: var(--r-card); background: var(--white); box-shadow: var(--sh-2); display: flex; flex-direction: column; gap: 8px; animation: eksPop 200ms var(--ease-in) both; }
.s07-pop__head { display: flex; gap: 8px; align-items: flex-start; justify-content: space-between; }
.s07-pop__time { font-size: 12px; color: var(--gray-600); }
.s07-pop__title { font-size: 15px; font-weight: 600; color: var(--navy-900); line-height: 1.3; }
.s07-pop__cap { font-size: 12px; font-weight: 600; color: var(--teal-700); }
.s07-pop__row { display: grid; grid-template-columns: 120px 1fr; gap: 8px; font-size: 13px; }
.s07-pop__row span { color: var(--gray-600); }
.s07-pop__row b { font-weight: 500; }

.s07-coursecard { flex: 1; min-height: 0; overflow: auto; padding: 16px 20px; }
.s07-course__legend { font-size: 12px; color: var(--gray-600); margin-bottom: 10px; }
.s07-course { display: grid; gap: 4px; align-items: center; }
.s07-course__h { font-size: 11px; color: var(--gray-600); text-align: center; padding: 4px 0; }
.s07-course__h:first-child { text-align: left; }
.s07-course__h.is-today { color: var(--navy-900); font-weight: 700; }
.s07-course__who { display: flex; align-items: center; gap: 8px; height: 44px; }
.s07-course__name { font-size: 13px; font-weight: 600; }
.s07-course__role { font-size: 11px; color: var(--gray-600); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 190px; }
.s07-course__c { height: 36px; border-radius: 6px; background: var(--gray-50); display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--gray-600); font-variant-numeric: tabular-nums; }
.s07-course__c.is-data { background: var(--success-100); color: #1D5A37; font-weight: 600; }
.s07-course__c.is-low { background: var(--warning-100); color: var(--warning-text); }
.s07-course__c.is-future { color: var(--gray-400); background: transparent; border: 1px dashed var(--gray-200); }
.s07-course__c.is-today { box-shadow: inset 0 0 0 2px var(--navy-900); }

/* ===================================================================== S08 */
.s08 .patient-strip__chips { align-items: center; }
.s08-day { display: flex; align-items: center; gap: 8px; }
.s08-day__btn { width: 32px; height: 32px; border: 1px solid var(--gray-200); border-radius: var(--r-ctrl); background: var(--white); color: var(--navy-900); display: flex; align-items: center; justify-content: center; }
.s08-day__btn:hover:not(:disabled) { background: var(--teal-100); }
.s08-day__btn:disabled { opacity: 0.4; cursor: default; }
.s08-day__text { min-width: 172px; text-align: center; }
.s08-day__main { font-size: 16px; font-weight: 600; color: var(--navy-900); display: flex; justify-content: center; align-items: baseline; }
.s08-day__digit { position: relative; display: inline-block; min-width: 1.3em; height: 20px; overflow: hidden; text-align: center; margin: 0 2px; }
.s08-day__d { display: inline-block; }
.s08-day__d--old { position: absolute; left: 0; right: 0; top: 0; }
.s08-day__date { font-size: 12px; color: var(--gray-600); }

.s08-act-flag { border: 0; color: var(--white); gap: 6px; }
.s08-act-flag--danger { background: var(--danger-700); }
.s08-act-flag--warning { background: var(--warning-700); }
.s08-act-flag:hover { filter: brightness(1.08); }

.s08-main { height: 492px; flex: none; display: flex; gap: 24px; }
.s08-chartcard { width: 872px; flex: none; padding: 12px 20px 16px; display: flex; flex-direction: column; gap: 8px; }
.s08-chartcard__head { height: 34px; display: flex; align-items: center; gap: 16px; }
.s08-chartcard__spacer { flex: 1; }
.s08-legend { display: flex; gap: 12px; font-size: 12px; color: var(--gray-600); white-space: nowrap; }
.s08-legend span { display: inline-flex; align-items: center; gap: 6px; }
.s08-legend__line { width: 18px; height: 3px; border-radius: 2px; background: var(--teal-700); }
.s08-legend__band { width: 18px; height: 10px; background: rgba(31,111,139,0.18); }
.s08-legend__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--navy-900); }
.s08-chartbox { position: relative; width: 832px; height: 420px; }
.s08-todaymark { position: absolute; top: 4px; bottom: 58px; width: 16px; margin-left: -8px; pointer-events: none; }
.s08-todaymark::before { content: ''; position: absolute; left: 7.5px; top: 0; bottom: 0; border-left: 1px dashed rgba(11,31,58,0.35); }
.s08-todaymark span { position: absolute; top: -2px; left: 12px; font-size: 11px; color: var(--gray-600); white-space: nowrap; }
.ch-flag.s08-flag--warning .ch-flag__body { background: var(--warning-700); }
.ch-flag.s08-flag--warning .ch-flag__body::after { border-top-color: var(--warning-700); }
.ch-flag.s08-flag--mdrk .ch-flag__body { background: var(--navy-700); }
.ch-flag.s08-flag--mdrk .ch-flag__body::after { border-top-color: var(--navy-700); }

.s08-side { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.s08-ind { height: 108px; flex: none; border-radius: var(--r-card); padding: 20px; display: flex; gap: 16px; align-items: center; border: 1px solid transparent; }
.s08-ind__icon { width: 52px; height: 52px; border-radius: 12px; flex: none; display: flex; align-items: center; justify-content: center; color: var(--white); }
.s08-ind__title { font-size: 22px; font-weight: 600; line-height: 1.2; }
.s08-ind__cap { margin-top: 4px; font-size: 14px; }
.s08-ind--ok { background: var(--success-100); border-color: #C3E2CE; color: #1D5A37; }
.s08-ind--ok .s08-ind__icon { background: var(--success-700); }
.s08-ind--danger { background: var(--danger-100); border-color: #F1C7C2; color: #8E1E17; }
.s08-ind--danger .s08-ind__icon { background: var(--danger-700); }
.s08-ind--warning { background: var(--warning-100); border-color: #EFD9AE; color: var(--warning-text); }
.s08-ind--warning .s08-ind__icon { background: var(--warning-700); }
.s08-ind--above { background: var(--teal-100); border-color: #BFE3E9; color: var(--navy-700); }
.s08-ind--above .s08-ind__icon { background: var(--teal-700); }

.s08-today { flex: 1; min-height: 0; padding: 14px 18px; display: flex; flex-direction: column; gap: 6px; }
.s08-today__list { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; }
.s08-today__row { display: flex; gap: 10px; align-items: flex-start; padding: 5px 0; border-bottom: 1px solid var(--gray-100); }
.s08-today__row .s08-dot { margin-top: 4px; }
.s08-today__src { font-size: 11px; line-height: 1.3; color: var(--gray-600); }
.s08-today__val { font-size: 13px; color: var(--gray-900); line-height: 1.3; }
.s08-today__val--danger { color: #8E1E17; font-weight: 600; }
.s08-plan { flex: none; padding: 7px 10px; border-radius: var(--r-ctrl); background: var(--gray-50); }
.s08-plan__title { font-size: 12px; font-weight: 600; color: var(--navy-700); }
.s08-plan__text { font-size: 13px; color: var(--gray-900); margin-top: 2px; }

.s08-lane { height: 96px; flex: none; display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 8px; }
.s08-lane__cell { min-width: 0; border: 1px solid var(--gray-200); border-radius: 10px; background: var(--white); padding: 8px 8px; text-align: left; display: flex; flex-direction: column; gap: 2px; color: var(--gray-400); overflow: hidden; }
.s08-lane__cell:hover { border-color: var(--teal-300); }
.s08-lane__top { display: flex; align-items: center; justify-content: space-between; }
.s08-lane__n { font-size: 18px; font-weight: 700; }
.s08-lane__date { font-size: 11px; opacity: 0.85; }
.s08-lane__lab { font-size: 10.5px; font-weight: 600; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.s08-lane__cell--ok, .s08-lane__cell--discharge { background: var(--success-100); border-color: #CDE6D6; color: #1D5A37; }
.s08-lane__cell--admission { background: var(--teal-100); border-color: #CBE8EC; color: var(--navy-700); }
.s08-lane__cell--above { background: var(--teal-100); border-color: #CBE8EC; color: var(--teal-700); }
.s08-lane__cell--warning { background: var(--warning-100); border-color: #EFD9AE; color: var(--warning-text); }
.s08-lane__cell--danger { background: var(--danger-100); border-color: #F1C7C2; color: #8E1E17; }
.s08-lane__cell--resolved { background: var(--gray-50); border-color: var(--gray-200); color: var(--gray-400); }
.s08-lane__cell--mdrk { background: #E8EEF6; border-color: #CFDBEA; color: var(--navy-700); }
.s08-lane__cell--future { background: var(--white); }
.s08-lane__cell.is-current { border: 2px solid var(--navy-900); padding: 7px; }

/* ===================================================================== S09 */
.s09-backdrop { position: absolute; inset: -24px; z-index: 40; background: rgba(11,31,58,0.45); display: flex; align-items: center; justify-content: center; }
.s09-modal { width: 880px; height: 660px; display: flex; flex-direction: column; overflow: hidden; background: var(--white); border-radius: var(--r-modal); box-shadow: var(--sh-3); }
.s09-bar { height: 6px; flex: none; transform-origin: 0 50%; }
.s09-bar--danger { background: var(--danger-700); }
.s09-bar--warning { background: var(--warning-700); }
.s09-head { height: 84px; flex: none; display: flex; align-items: center; gap: 16px; padding: 0 28px; border-bottom: 1px solid var(--gray-100); }
.s09-head__flag { width: 32px; height: 32px; color: var(--danger-700); transform-origin: 20% 90%; flex: none; }
.s09-modal--warning .s09-head__flag { color: var(--warning-700); }
.s09-head__flag .icon { width: 32px !important; height: 32px !important; }
.s09-head__text { flex: 1; min-width: 0; }
.s09-head__cat { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; color: var(--danger-700); }
.s09-modal--warning .s09-head__cat { color: var(--warning-text); }
.s09-head__title { margin: 2px 0; font-size: 24px; line-height: 1.15; font-weight: 600; color: var(--navy-900); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s09-head__meta { font-size: 13px; color: var(--gray-600); }
.s09-risk { flex: none; font-weight: 600; }
.s09-risk--high { background: var(--danger-100); color: var(--danger-700); }
.s09-risk--medium { background: var(--warning-100); color: var(--warning-text); }
.s09-risk--low { background: var(--success-100); color: #1D5A37; }

.s09-body { flex: 1; min-height: 0; display: flex; gap: 24px; padding: 14px 28px; }
.s09-left { width: 440px; flex: none; display: flex; flex-direction: column; min-height: 0; }
.s09-right { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; min-height: 0; overflow-y: auto; }
.s09-sec { margin: 0 0 6px; font-size: 14px; font-weight: 600; color: var(--navy-900); }
.s09-trig { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; }
.s09-trig__row { min-height: 33px; flex: none; display: flex; align-items: center; gap: 10px; padding: 0 4px; border: 0; border-bottom: 1px solid var(--gray-100); background: transparent; text-align: left; font-size: 13px; color: var(--gray-900); }
.s09-trig__row:hover { background: var(--gray-50); }
.s09-trig__row[aria-expanded="true"] { background: var(--gray-50); }
.s09-trig__icon { color: var(--gray-600); display: flex; flex: none; }
.s09-trig__name { flex: 1; min-width: 0; line-height: 1.3; }
.s09-trig__val { font-weight: 700; color: var(--navy-900); white-space: nowrap; }
.s09-trig__norm { width: 104px; flex: none; text-align: right; font-size: 11px; color: var(--gray-600); line-height: 1.3; }
.s09-trig__detail:empty { display: none; }
.s09-trig__detail { padding: 6px 4px 8px 34px; font-size: 12px; color: var(--gray-600); border-bottom: 1px solid var(--gray-100); }
.s09-mini { flex: none; margin-top: 8px; }
.s09-mini__title { display: flex; justify-content: space-between; font-size: 12px; color: var(--gray-600); }
.s09-mini__target { color: var(--success-700); font-weight: 600; }

.s09-concl { border-radius: var(--r-card); padding: 10px 12px; flex: none; }
.s09-concl--danger { background: #FBF3F2; }
.s09-concl--warning { background: var(--warning-100); }
.s09-concl__cap { font-size: 12px; font-weight: 600; color: #8E1E17; margin-bottom: 4px; }
.s09-concl--warning .s09-concl__cap { color: var(--warning-text); }
.s09-concl__text { font-size: 13px; line-height: 1.4; color: var(--gray-900); }
.s09-rec { display: flex; flex-direction: column; gap: 6px; }
.s09-rec__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 5px; }
.s09-rec__item { display: flex; gap: 8px; font-size: 12.5px; line-height: 1.35; color: var(--gray-900); }
.s09-sign { width: 22px; height: 22px; flex: none; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.s09-sign--minus { background: var(--warning-100); color: var(--warning-text); }
.s09-sign--plus { background: var(--success-100); color: #1D5A37; }
.s09-sign--move { background: var(--teal-100); color: var(--navy-700); }
.s09-effect { display: flex; gap: 6px; align-items: flex-start; font-size: 13px; font-weight: 600; color: var(--success-700); line-height: 1.4; }
.s09-why { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: transparent; font-size: 13px; font-weight: 600; color: var(--teal-700); }
.s09-why:hover { text-decoration: underline; }

.s09-foot { height: 88px; flex: none; display: flex; flex-wrap: wrap; align-items: center; align-content: center; column-gap: 12px; row-gap: 4px; padding: 0 28px; border-top: 1px solid var(--gray-100); }
.s09-btn { min-width: 224px; height: 48px; }
.s09-foot .s09-why { flex: none; }
.s09-foot__spacer { flex: 1; }
.s09-foot__note { flex-basis: 100%; font-size: 12px; line-height: 1.3; color: var(--gray-600); }
.s09-status { flex: none; }
.s09-msg { flex: 1; display: flex; align-items: center; gap: 10px; font-size: 13px; line-height: 1.4; padding: 10px 14px; border-radius: var(--r-ctrl); }
.s09-msg--mdrk { background: #E8EEF6; color: var(--navy-700); }
.s09-msg--kept { background: var(--warning-100); color: var(--warning-text); }
.s09-msg--ok { background: var(--success-100); color: #1D5A37; }
.s09-keep { flex: 1; display: flex; align-items: center; gap: 10px; }
.s09-keep__cap { font-size: 13px; color: var(--gray-600); }
.s09-reasons { display: flex; gap: 6px; }
.s09-reason { height: 32px; padding: 0 12px; border: 1px solid var(--gray-200); border-radius: var(--r-ctrl); background: var(--white); font-size: 13px; color: var(--gray-900); }
.s09-reason[aria-pressed="true"] { border-color: var(--teal-700); background: var(--teal-100); color: var(--navy-900); font-weight: 600; }
.s09-empty { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }

/* ===================================================================== S10 */
.s10-banner { height: 52px; flex: none; display: flex; align-items: center; gap: 12px; padding: 0 12px 0 20px; border-radius: var(--r-card); background: var(--teal-100); color: var(--navy-700); font-size: 14px; font-weight: 500; }
.s10-banner--pending { background: var(--warning-100); color: var(--warning-text); }
.s10-banner__text { flex: 1; min-width: 0; }
.s10-banner .s08-acts { margin-left: 0; }
.s10-main { flex: 1; min-height: 0; display: flex; gap: 24px; }
.s10-cal { width: 768px; flex: none; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; min-height: 0; position: relative; }
.s10-cal__head { display: flex; align-items: center; gap: 12px; flex: none; }
.s10-cal__past { font-size: 12px; color: var(--gray-600); }
.s10-cal__spacer { flex: 1; }
.s10-grid { flex: 1; min-height: 0; display: grid; grid-template-rows: 30px; grid-auto-rows: minmax(0, 1fr); align-content: stretch; column-gap: 2px; row-gap: 1px; overflow: hidden; }
.s10-gh { font-size: 11px; color: var(--gray-600); display: flex; align-items: center; padding: 0 4px; height: 30px; }
.s10-gh--day { flex-direction: column; justify-content: center; text-align: center; font-weight: 600; color: var(--navy-900); padding: 0; line-height: 1.1; }
.s10-gh__date { font-size: 10px; font-weight: 400; color: var(--gray-600); }
.s10-gh--day.is-rest { background: var(--gray-50); border-radius: 4px; }
.s10-gh--day.is-past { opacity: 0.55; }
.s10-name { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: 12px; color: var(--gray-900); padding-right: 6px; transform-origin: 50% 0; }
.s10-name__cat { width: 4px; height: 14px; border-radius: 2px; flex: none; }
.s10-name__txt { position: relative; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s10-name.is-removed .s10-name__txt { color: var(--gray-600); }
.s10-new { flex: none; font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 4px; background: var(--teal-100); color: var(--teal-700); }
.s10-time { display: flex; align-items: center; gap: 4px; font-size: 11px; white-space: nowrap; overflow: hidden; color: var(--gray-600); transform-origin: 50% 0; }
.s10-time.is-moved { color: var(--teal-700); font-weight: 600; }
.s10-cell { display: flex; align-items: center; justify-content: center; min-height: 0; transform-origin: 50% 0; }
.s10-cell.is-past { opacity: 0.55; }
.s10-chip { position: relative; min-width: 26px; height: 18px; padding: 0 3px; border-radius: 4px; display: inline-flex; align-items: center; justify-content: center; gap: 2px; font-size: 10px; font-weight: 600; color: var(--white); font-variant-numeric: tabular-nums; }
.s10-chip--changed { box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--teal-500); }
.s10-chip--added { box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--teal-500); }
.s10-chip--removed { background: repeating-linear-gradient(135deg, var(--danger-100) 0 3px, #F4CFCB 3px 6px); color: var(--danger-700); }
.s10-old { position: relative; display: inline-block; }
.s10-old--cell { font-size: 9px; opacity: 0.35; transform: translate(-1px, -2px); }
.s10-grid--compare .s10-chip--changed .s10-old--cell { opacity: 0.6; }
.s10-nv { display: inline-block; }
.s10-strike { position: absolute; left: -1px; right: -1px; top: 50%; height: 2px; margin-top: -1px; background: var(--danger-700); transform-origin: 0 50%; }
.s10-empty-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--gray-200); }
.s10-sum { flex: none; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding-top: 8px; border-top: 1px solid var(--gray-100); }
.s10-sum__load { font-size: 13px; font-weight: 600; color: var(--navy-900); }
.s10-sum__chips { display: flex; gap: 8px; margin-left: auto; }
.s10-sum .chip { font-size: 12px; padding: 4px 8px; }

.s10-side { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 16px; min-height: 0; }
.s10-changes { flex: 1; min-height: 0; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; overflow-y: auto; }
.s10-changes .card__title { margin-bottom: 2px; }
.s10-ch { flex: none; display: flex; gap: 10px; align-items: center; padding: 5px 8px; border-radius: var(--r-ctrl); background: var(--gray-50); }
.s10-ch__icon { width: 24px; height: 24px; flex: none; border-radius: 6px; display: flex; align-items: center; justify-content: center; background: var(--teal-100); color: var(--teal-700); }
.s10-ch--decrease .s10-ch__icon, .s10-ch--remove .s10-ch__icon, .s10-ch--cancel .s10-ch__icon { background: var(--warning-100); color: var(--warning-text); }
.s10-ch--add .s10-ch__icon, .s10-ch--increase .s10-ch__icon { background: var(--success-100); color: #1D5A37; }
.s10-ch__body { flex: 1; min-width: 0; }
.s10-ch__line { display: flex; align-items: baseline; gap: 8px; }
.s10-ch__title { flex: 1; min-width: 0; font-size: 13px; font-weight: 600; color: var(--navy-900); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s10-ch__ba { font-size: 12px; color: var(--gray-600); line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s10-ch__meta { flex: none; width: 92px; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; }
.s10-ch__kind { flex: none; font-size: 11px; font-weight: 600; color: var(--teal-700); }
.s10-ch__days { font-size: 11px; color: var(--gray-600); line-height: 1.3; }

.s10-notify { flex: none; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.s10-notify__head { display: flex; align-items: center; justify-content: space-between; }
.s10-people { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; }
.s10-person { display: flex; align-items: center; gap: 8px; min-width: 0; }
.s10-person__ava { position: relative; flex: none; }
.s10-person__check { position: absolute; right: -4px; bottom: -4px; width: 16px; height: 16px; border-radius: 50%; background: var(--success-700); color: var(--white); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 2px var(--white); }
.s10-person__check .icon { width: 12px !important; height: 12px !important; }
.s10-person__txt { min-width: 0; }
.s10-person__name { font-size: 13px; font-weight: 600; white-space: nowrap; }
.s10-person__n { font-size: 11px; color: var(--gray-600); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s10-return { flex: none; padding: 6px 10px; border-radius: var(--r-ctrl); background: var(--teal-100); display: flex; gap: 10px; align-items: baseline; }
.s10-return__cap { flex: none; display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--navy-700); }
.s10-return__text { font-size: 12px; color: var(--gray-900); line-height: 1.4; }
.s10-empty { display: flex; gap: 16px; align-items: center; color: var(--success-700); }
