/* Sprint157: 금융위원회 재무상태표/손익계산서 세부항목 가독성 및 미제공 상태 표시 */
.s142-fsc-summary .s142-fsc-kpi strong,
.s155-financial-result .s155-kpi strong {
  color: var(--text, #0b1220);
  opacity: 1;
  word-break: keep-all;
}
html[data-theme="dark"] .s142-fsc-summary .s142-fsc-kpi strong,
html[data-theme="dark"] .s155-financial-result .s155-kpi strong {
  color: #f8fafc;
}
.s142-fsc-summary .s142-fsc-kpi small,
.s155-financial-result .s155-kpi small {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.35;
  color: #64748b;
  opacity: 1;
}
html[data-theme="dark"] .s142-fsc-summary .s142-fsc-kpi small,
html[data-theme="dark"] .s155-financial-result .s155-kpi small {
  color: #cbd5e1;
}
.s142-fsc-detail-notice,
.s155-detail-notice {
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px dashed rgba(37, 99, 235, .35);
  border-radius: 14px;
  background: rgba(239, 246, 255, .82);
  color: #334155;
  font-size: 13px;
  line-height: 1.55;
}
html[data-theme="dark"] .s142-fsc-detail-notice,
html[data-theme="dark"] .s155-detail-notice {
  border-color: rgba(96, 165, 250, .35);
  background: rgba(15, 23, 42, .72);
  color: #dbeafe;
}
.s142-fsc-empty,
.s155-empty {
  opacity: 1 !important;
  color: #475569 !important;
}
html[data-theme="dark"] .s142-fsc-empty,
html[data-theme="dark"] .s155-empty {
  color: #cbd5e1 !important;
}

/* Sprint158: 조회항목별 재무 카드 분리 및 통합 재무요약 보정 */
.s155-financial-result[data-view="combined"] .s155-subhead b,
.s155-financial-result[data-view="summary"] .s155-subhead b,
.s155-financial-result[data-view="bs"] .s155-subhead b,
.s155-financial-result[data-view="is"] .s155-subhead b {
  color: var(--text, #0b1220);
  opacity: 1;
}
.s155-financial-result .s155-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.s155-financial-result .s155-kpi {
  min-width: 0;
  padding: 14px 15px;
  border-radius: 14px;
  border: 1px solid var(--line, #d8e0ec);
  background: var(--surface, #fff);
}
.s155-financial-result .s155-kpi span {
  display: block;
  color: #64748b;
  font-weight: 700;
  margin-bottom: 6px;
  opacity: 1;
}
.s155-financial-result .s155-kpi strong {
  display: block;
  font-size: 18px;
  line-height: 1.25;
  white-space: normal;
  overflow-wrap: anywhere;
}
.s155-detail-notice b { display:block; margin-bottom:4px; color: #0f172a; }
.s155-detail-notice span { display:block; font-weight:800; color:#1d4ed8; margin-bottom:4px; }
.s155-detail-notice small { display:block; color:#475569; opacity:1; }
.s155-debug {
  margin-top: 12px;
  border: 1px solid var(--line, #d8e0ec);
  border-radius: 14px;
  background: var(--surface-2, #f8fafc);
  padding: 10px 12px;
}
.s155-debug summary { cursor:pointer; font-weight:900; color: var(--text, #0b1220); }
.s155-debug p { display:flex; justify-content:space-between; gap:10px; margin:6px 0; color:#475569; }
.s155-debug p span { color:#64748b; }
.s155-debug p b { color:#0f172a; text-align:right; }
html[data-theme="dark"] .s155-financial-result .s155-kpi {
  background: #14243a;
  border-color: #334155;
}
html[data-theme="dark"] .s155-financial-result .s155-kpi span { color:#cbd5e1; }
html[data-theme="dark"] .s155-financial-result .s155-subhead b,
html[data-theme="dark"] .s155-detail-notice b,
html[data-theme="dark"] .s155-debug summary { color:#f8fafc; }
html[data-theme="dark"] .s155-detail-notice span { color:#93c5fd; }
html[data-theme="dark"] .s155-detail-notice small,
html[data-theme="dark"] .s155-debug p { color:#cbd5e1; }
html[data-theme="dark"] .s155-debug {
  background: #0f1b2d;
  border-color: #334155;
}
html[data-theme="dark"] .s155-debug p span { color:#94a3b8; }
html[data-theme="dark"] .s155-debug p b { color:#f8fafc; }
@media (max-width: 680px) {
  .s155-financial-result .s155-grid { grid-template-columns: 1fr; }
}
