.report-infographic {
  display: grid;
  gap: 28px;
  margin-top: 24px;
  min-width: 0;
}

.report-infographic-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  counter-reset: none;
}

.report-infographic-step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 18px 16px;
  background: #fbfbf6;
  border: 1px solid #d8dcd1;
  border-top: 3px solid #184b48;
  border-radius: 4px;
  color: #24362e;
  overflow-wrap: anywhere;
}

.report-infographic-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -13px;
  width: 10px;
  height: 10px;
  border-top: 2px solid #8c7752;
  border-right: 2px solid #8c7752;
  transform: translateY(-50%) rotate(45deg);
}

.report-infographic-step-icon {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: #184b48;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.report-infographic-step-no {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: #8c7752;
}

.report-infographic-step strong {
  color: #184b48;
  font-size: 1.02rem;
}

.report-infographic-link {
  color: #184b48;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.report-infographic-link:focus-visible {
  outline: 2px solid #a07721;
  outline-offset: 3px;
}

.report-infographic-promo {
  margin: 0;
  padding: 14px 18px;
  background: #f6f5ef;
  border-left: 3px solid #8c7752;
  color: #24362e;
  overflow-wrap: anywhere;
}

.report-infographic-modules {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.report-infographic-card {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: 20px;
  background: #f6f5ef;
  border: 1px solid #d8dcd1;
  border-radius: 4px;
  overflow-wrap: anywhere;
}

.report-infographic-card:nth-child(n + 4) {
  grid-column: span 3;
}

.report-infographic-card h3 {
  margin: 0;
  color: #184b48;
}

.report-infographic-card p {
  margin: 0;
}

.report-infographic-demo {
  padding-top: 8px;
  border-top: 1px solid #d8dcd1;
  color: #626e60;
  font-size: 0.92rem;
}

.report-infographic-glyph {
  display: block;
  width: 100%;
  max-width: 132px;
  height: auto;
}

.report-infographic-soft {
  fill: #c9d6cf;
}

.report-infographic-solid {
  fill: #184b48;
}

.report-infographic-line {
  fill: none;
  stroke: #184b48;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.report-infographic-dash {
  stroke: #8c7752;
  stroke-dasharray: 4 4;
}

.report-infographic-divider {
  stroke: #d8dcd1;
  stroke-width: 1.5;
}

.report-infographic-ring-base,
.report-infographic-ring-arc {
  fill: none;
  stroke-width: 9;
}

.report-infographic-ring-base {
  stroke: #c9d6cf;
}

.report-infographic-ring-arc {
  stroke: #184b48;
  stroke-dasharray: 38 63;
}

@media (max-width: 960px) {
  .report-infographic-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .report-infographic-step:not(:last-child)::after {
    display: none;
  }

  .report-infographic-modules {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .report-infographic-card,
  .report-infographic-card:nth-child(n + 4) {
    grid-column: auto;
  }
}

@media (max-width: 700px) {
  .report-infographic-flow,
  .report-infographic-modules {
    grid-template-columns: minmax(0, 1fr);
  }

  .report-infographic-card {
    padding: 16px;
  }
}
/* 경영보고 공개 페이지. pjhtax.com의 팔레트, 로컬 Pretendard 400/600, 헤더와 푸터 체계를 따릅니다.
   외부 폰트와 원격 리소스를 사용하지 않습니다. 글꼴 파일은 apps/web/public/fonts에 있으며 /client/ 아래에서 제공됩니다. */
@font-face {
  font-family: 'Pretendard';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/Pretendard-Regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Pretendard';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/Pretendard-SemiBold.woff2') format('woff2');
}

:root {
  --brand-teal: #184b48;
  --forest: #142d2a;
  --forest-light: #29463b;
  --paper: #f6f5ef;
  --paper-2: #e9eae1;
  --surface: #fbfbf6;
  --ivory: #e1e5bd;
  --ink: #24362e;
  --muted: #626e60;
  --line: #d8dcd1;
  --bronze: #8c7752;
  --neg: #9b4a36;
  --pos: #2f6b4f;
  --focus: #a07721;
  --radius: 4px;
  --header-h: 94px;
  --sans: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  line-height: 1.4;
  margin: 0 0 0.5em;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(1.6rem, 1.2rem + 2vw, 2.6rem);
}

h2 {
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.85rem);
}

h3 {
  font-size: 1.15rem;
}

h4 {
  font-size: 1rem;
}

p {
  margin: 0 0 0.9em;
}

a {
  color: var(--brand-teal);
  text-underline-offset: 4px;
}

a:hover {
  color: var(--forest);
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

::selection {
  background: #d5dbb0;
  color: var(--forest);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 20px;
  top: -90px;
  padding: 10px 20px;
  background: #fff;
  color: var(--forest);
  z-index: 100;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: min(1320px, calc(100% - 112px));
  margin-inline: auto;
}

.narrow {
  max-width: 860px;
}

.center {
  text-align: center;
  justify-content: center;
}

.section {
  padding-top: 72px;
  padding-bottom: 72px;
}

.muted {
  color: var(--muted);
}

.muted-inline {
  color: var(--muted);
  font-weight: 400;
  font-size: 0.62em;
  letter-spacing: 0;
}

.fine {
  font-size: 0.88rem;
  color: var(--muted);
}

.eyebrow {
  color: #69745d;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.5em;
}

/* 헤더: pjhtax.com 헤더의 스크롤 후 상태(밝은 종이색 배경)를 고정 사용합니다. */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #f6f5eff5;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(15px);
  box-shadow: 0 3px 18px #0c251008;
}

.header-inner {
  height: var(--header-h);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: block;
  flex: 0 0 auto;
  width: 30px;
  height: auto;
  aspect-ratio: 417 / 326;
  color: var(--brand-teal);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  padding-left: 13px;
  border-left: 1px solid #c7cfc2;
}

/* 워드마크는 글자를 변형하지 않고 자간만 맞춥니다. */
.brand-wordmark {
  display: block;
  width: 180px;
  height: auto;
  aspect-ratio: 180 / 43;
  fill: currentColor;
  overflow: visible;
  flex: 0 0 auto;
}

.wordmark-ko {
  font-family: var(--sans);
  font-weight: 600;
}

.wordmark-en {
  font-family: Georgia, serif;
  font-weight: 400;
  word-spacing: 1.4px;
  opacity: 0.82;
}

.navigation {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
}

.navigation > a,
.nav-closing-link {
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.navigation > a:hover,
.nav-closing-link:hover {
  opacity: 0.65;
  color: inherit;
}

.navigation > .header-contact {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 11px 17px;
  border: 1px solid #708277;
}

.ext-icon,
.nav-chevron {
  display: inline-block;
  width: 12px;
  height: 12px;
  vertical-align: -1px;
  margin-left: 2px;
}

.nav-closing {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-closing-link[aria-current='page'] {
  color: var(--brand-teal);
  font-weight: 600;
}

.nav-closing-link {
  border-bottom: 2px solid var(--brand-teal);
  padding: 4px 0;
}

.nav-closing-toggle {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid transparent;
  background: none;
  cursor: pointer;
  border-radius: 2px;
}

.nav-closing-toggle:hover,
.nav-closing.is-open .nav-closing-toggle {
  border-color: var(--line);
  background: #fff;
}

.nav-closing-toggle .nav-chevron {
  margin: 0;
  transition: transform 0.2s;
}

.nav-closing.is-open .nav-chevron {
  transform: rotate(180deg);
}

.nav-closing-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: -16px;
  min-width: 210px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 14px 36px #0c25101a;
  z-index: 45;
}

.nav-closing-menu a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  color: var(--ink);
  text-decoration: none;
}

.nav-closing-menu a:hover {
  background: #eef0e4;
}

.nav-closing-menu a[aria-current='page'] {
  color: var(--brand-teal);
  font-weight: 600;
  box-shadow: inset 2px 0 0 var(--brand-teal);
}

.menu-toggle {
  display: none;
}

/* 푸터: pjhtax.com 푸터 구성 */
.footer {
  background: var(--forest);
  color: #acbaa0;
  padding: 42px 0 30px;
  margin-top: 64px;
}

.footer a {
  color: inherit;
  text-decoration: none;
}

.footer a:hover {
  color: #e5e8d6;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #e5e8d6;
}

.footer a.footer-brand {
  color: #e5e8d6;
}

.footer-mark {
  flex: 0 0 auto;
  width: 24px;
  height: auto;
  aspect-ratio: 417 / 326;
  color: #f8f5ee;
}

.footer-brand-copy {
  display: flex;
  flex-direction: column;
  padding-left: 12px;
  border-left: 1px solid #ffffff2d;
}

.footer-brand .brand-wordmark {
  width: 172px;
}

.back-top {
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 44px;
}

.footer-service {
  font-size: 12px;
  line-height: 1.8;
  color: #9bac92;
  margin: 22px 0 0;
  max-width: 760px;
}

.footer-middle {
  display: flex;
  gap: 8px 25px;
  flex-wrap: wrap;
  font-size: 12px;
  margin-top: 18px;
  color: #9bac92;
}

.footer-bottom {
  border-top: 1px solid #ffffff15;
  margin-top: 26px;
  padding-top: 21px;
  font-size: 11px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  color: #849779;
}

/* © 기호는 본문 문자열에 넣지 않고 표시만 합니다. */
.footer-copy::before {
  content: '\00a9\00a0';
}

.footer-privacy {
  text-decoration: underline !important;
  text-underline-offset: 4px;
}

.footer-admin {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
}

.site-credit {
  margin-left: auto;
  font: italic 10px/1.6 Georgia, serif;
  letter-spacing: 0.06em;
  color: #b8c4ae;
}

/* 버튼 */
.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 22px 0 8px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 2px;
  background: var(--brand-teal);
  color: var(--paper);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid var(--brand-teal);
  transition: background 0.2s;
}

.button:hover {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--paper);
}

.button.secondary {
  background: transparent;
  color: var(--brand-teal);
}

.button.secondary:hover {
  background: #e9ecd8;
  color: var(--forest);
}

.button.button-cream,
.button.light {
  background: var(--ivory);
  color: #20372b;
  border-color: var(--ivory);
}

.button.button-cream:hover,
.button.light:hover {
  background: #f4f4de;
  color: #20372b;
}

.button.ghost {
  background: transparent;
  color: #f2f3df;
  border-color: #f2f3df66;
}

.button.ghost:hover {
  background: #ffffff14;
  color: #fff;
}

.text-button,
.link-button,
.evidence-btn {
  background: none;
  border: 0;
  padding: 8px 0;
  font: inherit;
  color: var(--brand-teal);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
  min-height: 44px;
  text-align: left;
}

.evidence-btn {
  font-size: 0.9rem;
}

.badge {
  display: inline-block;
  background: #efe9d8;
  color: #6b5a37;
  border: 1px solid #d6c9a3;
  font-weight: 600;
  font-size: 0.8rem;
  padding: 2px 10px;
  border-radius: 2px;
  white-space: nowrap;
}

.badge.small {
  font-size: 0.75rem;
  padding: 1px 8px;
}

/* 하위 페이지 머리: pjhtax.com 히어로의 forest 톤을 낮은 높이로 사용합니다. */
.page-hero {
  background: var(--forest);
  color: #f6f6ec;
  padding: 36px 0 60px;
}

.page-hero.compact {
  padding-bottom: 44px;
}

.page-hero h1 {
  color: #f6f6ec;
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem);
  letter-spacing: -0.04em;
  margin-bottom: 0.3em;
}

.page-hero .eyebrow {
  color: #c8d4b9;
}

.page-hero .lead {
  color: #c6cec1;
}

.page-hero .fine {
  color: #b5c3b2;
}

.page-hero a:not(.button) {
  color: #e1e5bd;
}

.access-status {
  display: inline-block;
  margin: 8px 0 0;
  padding: 6px 14px;
  border: 1px solid #e1e5bd66;
  color: var(--ivory);
  font-weight: 600;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 18px;
}

.breadcrumb a {
  color: inherit;
}

.breadcrumb.on-dark {
  color: #b5c3b2;
  margin-bottom: 28px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.hero-sub {
  font-size: clamp(1.1rem, 1rem + 0.7vw, 1.4rem);
  font-weight: 600;
  color: var(--ivory);
  margin-bottom: 0.8em;
}

.lead {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--muted);
  max-width: 40em;
}

.hero-preview {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid #e1e5bd36;
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 24px 64px #06151226;
  min-width: 0;
}

.hero-preview .muted {
  color: var(--muted);
}

.hero-preview-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

.hero-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.hero-kpis div {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 10px 12px;
  border: 1px solid var(--line);
}

.hero-kpis dt {
  font-size: 0.78rem;
  color: var(--muted);
}

.hero-kpis dd {
  margin: 0;
  font-weight: 600;
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
}

.hero-chart {
  width: 100%;
  height: auto;
  display: block;
}

.hero-preview figcaption {
  font-size: 0.82rem;
  margin-top: 8px;
}

.tone-primary {
  fill: var(--brand-teal);
}

.tone-soft {
  fill: #9fbdb5;
}

.chart-axis {
  fill: var(--muted);
  font-size: 11px;
  font-family: var(--sans);
}

.band {
  background: var(--paper-2);
  border-top: 1px solid #dde0d4;
  border-bottom: 1px solid #dde0d4;
  padding: 64px 0;
}

.question-grid {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 16px;
}

.question-card,
.status-card,
.flow-step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
}

.flow {
  list-style: none;
  padding: 0;
  margin: 24px 0 16px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.flow-step {
  border-top: 2px solid var(--brand-teal);
}

.flow-num {
  display: block;
  color: var(--bronze);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 4px;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 20px 0;
}

.status-card ul {
  margin: 0;
  padding-left: 1.2em;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px 20px;
  margin-bottom: 10px;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 12px 0;
  min-height: 44px;
}

.final-cta {
  background: var(--brand-teal);
  color: var(--paper);
  padding: 64px 0;
}

.final-cta h2,
.final-cta p {
  color: var(--paper);
}

/* 샘플 보고서 */
.preview-banner {
  background: #efeee2;
  border-bottom: 1px solid #d6c9a3;
  font-size: 0.88rem;
}

.preview-banner-inner {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-top: 6px;
  padding-bottom: 6px;
}

/* 첫 화면에 경영성과 카드와 첫 차트가 함께 보이도록 제목 행과 조회 조건 행만 둡니다. 글자 크기는 줄이지 않습니다. */
.demo-main {
  padding-top: 16px;
}

.demo-title h1 {
  font-size: clamp(1.35rem, 1.1rem + 1.2vw, 2rem);
  margin: 0;
}

.demo-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
}

.demo-meta {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 2px 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

/* 작은 원형 물음표 도움말. 눌리는 영역은 44px, 보이는 원은 18px입니다. */
.info-tip {
  position: relative;
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}

.info-tip-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: -13px -12px;
  padding: 0;
  background: none;
  border: 0;
  cursor: help;
  color: var(--muted);
}

.info-tip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1;
}

.info-tip-btn:hover .info-tip-icon {
  color: var(--brand-teal);
}

.info-tip-btn:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: -8px;
  border-radius: 50%;
}

.info-tip-pop {
  position: absolute;
  z-index: 40;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: min(280px, calc(100vw - 16px));
  padding-top: 4px;
}

.info-tip-body {
  display: block;
  background: var(--forest);
  color: #f6f6ec;
  border-radius: var(--radius);
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  white-space: normal;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: flex-end;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 18px;
  margin: 10px 0 8px;
}

.toolbar-unit {
  margin: 0 0 0 auto;
  align-self: flex-end;
  line-height: 44px;
  font-size: 0.88rem;
  color: var(--muted);
  white-space: nowrap;
}

.toolbar-main,
.toolbar-more {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  align-items: flex-end;
  min-width: 0;
}

.toolbar-more {
  order: -1;
}

.toolbar-more-toggle {
  display: none;
}

.toolbar legend,
.field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 4px;
  padding: 0;
}

.field {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

select {
  font: inherit;
  min-height: 44px;
  padding: 6px 12px;
  border: 1px solid #9ea9a1;
  border-radius: 2px;
  background: #fff;
  color: var(--ink);
}

select:disabled {
  background: var(--paper-2);
  color: var(--muted);
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.segmented {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.segmented legend {
  width: 100%;
}

.segment {
  position: relative;
  display: inline-flex;
}

.segment input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}

.segment > span {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-height: 44px;
  padding: 6px 14px;
  border: 1px solid #9ea9a1;
  border-radius: 2px;
  background: #fff;
  font-weight: 600;
  line-height: 1.3;
}

.segment-sub {
  font-size: 0.76rem;
  font-weight: 400;
  color: var(--muted);
}

.segment input:checked + span {
  background: var(--brand-teal);
  border-color: var(--brand-teal);
  color: var(--paper);
}

.segment input:checked + span .segment-sub {
  color: #d5e2dd;
}

.segment input:focus-visible + span {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.segment input:disabled + span {
  background: var(--paper-2);
  color: #6f7a73;
  border-style: dashed;
  cursor: not-allowed;
}

.scope-note {
  background: var(--surface);
  border-left: 3px solid var(--bronze);
  padding: 8px 14px;
  font-size: 0.9rem;
  margin: 0 0 10px;
}

.scope-note.notice {
  border-left-color: var(--brand-teal);
}

/* 분석 화면: 데스크톱은 좌측 내비와 본문, 모바일은 접히는 내비와 한 열 본문 */
.dash {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 32px;
  margin-top: 14px;
}

.dash-nav {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  align-self: start;
  min-width: 0;
}

.dash-nav-toggle {
  display: none;
}

.dash-body {
  min-width: 0;
}

.tablist {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--line);
  overflow-x: auto;
}

.tablist.is-vertical {
  flex-direction: column;
  gap: 2px;
  border-bottom: 0;
  border-left: 2px solid var(--line);
  overflow: visible;
}

.tab {
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  background: none;
  border: 0;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  padding: 10px 16px;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
  min-height: 44px;
  text-align: left;
}

.tablist.is-vertical .tab {
  border-bottom: 0;
  border-left: 3px solid transparent;
  margin: 0 0 0 -2px;
  white-space: normal;
}

.tab:hover {
  color: var(--ink);
}

.tab[aria-selected='true'] {
  color: var(--brand-teal);
  border-bottom-color: var(--brand-teal);
}

.tablist.is-vertical .tab[aria-selected='true'] {
  border-left-color: var(--brand-teal);
  background: #e9ecd8;
}

.tabpanel {
  padding: 16px 0 8px;
}

.tabpanel:focus-visible {
  outline-offset: 6px;
}

.stack-lg > * + * {
  margin-top: 44px;
}

.section-head h3 {
  font-size: 1.2rem;
}

.section-lead {
  color: var(--muted);
  font-size: 0.95rem;
}

.chart-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.chart-grid > * {
  min-width: 0;
}

/* 경영성과 요약의 추이와 변동 요인. 본문 폭이 760px 이상이면 6:4 한 행, 좁으면 한 열입니다.
   좌측 내비 유무에 따라 본문 폭이 달라지므로 화면 폭 대신 본문 폭을 기준으로 합니다. */
.summary-panel {
  container-type: inline-size;
}

.summary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.summary-cell {
  min-width: 0;
}

.summary-cell > .nodata:first-child,
.summary-cell .section-head h3 {
  margin-top: 0;
}

@container (min-width: 760px) {
  .summary-grid {
    grid-template-columns: minmax(0, 3fr) minmax(340px, 2fr);
  }
}

.focus-target:focus:not(:focus-visible) {
  outline: none;
}

.kpi-section {
  min-width: 0;
}

.kpi-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 16px;
}

.kpi-head h2 {
  font-size: 1.25rem;
  margin: 0;
}

.kpi-head p {
  margin: 0;
  font-size: 0.9rem;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 12px 0;
}

.kpi-section > .kpi-grid {
  margin-top: 0;
}

.kpi-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.kpi {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 2px solid var(--brand-teal);
  border-radius: var(--radius);
  padding: 14px 16px 8px;
  min-width: 0;
}

/* 경영성과 카드: 지표명과 기준, 산출 근거 버튼을 한 줄에 두고 값과 비교 방향을 바로 아래에 둡니다. */
.kpi-section .kpi {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 8px;
  align-items: center;
  padding: 10px 14px 10px;
}

.kpi-top {
  grid-row: 1;
  grid-column: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 8px;
  min-width: 0;
}

.kpi-label-row {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.kpi-section .kpi .evidence-btn {
  grid-row: 1;
  grid-column: 2;
  min-height: 36px;
  padding: 4px 0;
}

.kpi-section .kpi-value,
.kpi-section .kpi-delta {
  grid-column: 1 / -1;
}

.kpi-section .kpi-value {
  line-height: 1.3;
}

.kpi-section .kpi-delta {
  line-height: 1.5;
}

.kpi-section .kpi-sub {
  margin: 0;
}

.kpi-label {
  font-size: 0.9rem;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 0;
}

.kpi-sub {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0 0 4px;
}

.kpi-value {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--forest);
  margin: 0 0 2px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.kpi-delta {
  font-size: 0.84rem;
  color: var(--muted);
  margin-bottom: 0;
}

.explain {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand-teal);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 16px 0;
}

.basis-list {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 6px 18px;
  margin: 0;
}

.basis-list dt {
  font-weight: 600;
  color: var(--muted);
}

.basis-list dd {
  margin: 0;
}

.nodata {
  background: repeating-linear-gradient(-45deg, var(--paper), var(--paper) 10px, #eeeee5 10px, #eeeee5 20px);
  border: 1px dashed #9ea9a1;
  border-radius: var(--radius);
  padding: 14px 18px;
  margin: 12px 0;
}

.nodata-title {
  font-weight: 600;
  margin-bottom: 4px;
}

.nodata-body p:last-child {
  margin-bottom: 0;
}

.action-list {
  list-style: none;
  padding: 0;
  margin: 12px 0;
  display: grid;
  gap: 8px;
}

.action-list li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  align-items: baseline;
}

.action-list.detailed li {
  display: block;
}

.action-title {
  font-weight: 600;
  margin: 0;
}

.action-list li > .muted {
  margin: 0;
}

.action-list.detailed .action-title {
  margin-bottom: 8px;
}

.neg {
  color: var(--neg);
  font-weight: 600;
}

.pos {
  color: var(--pos);
  font-weight: 600;
}

.compare-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0;
}

.compare-row > div {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  min-width: 0;
}

.label {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
}

.figure {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0;
  font-variant-numeric: tabular-nums;
}

/* 표 */
.table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  margin: 12px 0;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
  min-width: 520px;
}

.data-table.compact {
  font-size: 0.88rem;
  min-width: 360px;
}

.data-table caption {
  text-align: left;
  font-size: 0.84rem;
  color: var(--muted);
  padding: 10px 14px;
  caption-side: top;
}

.data-table th,
.data-table td {
  padding: 9px 14px;
  border-top: 1px solid #e7e8df;
  text-align: left;
  white-space: nowrap;
}

.data-table td.wrap {
  white-space: normal;
  min-width: 260px;
}

.data-table thead th {
  background: var(--paper);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--muted);
  border-top: 0;
}

.data-table .num {
  text-align: right;
}

.data-table tbody th {
  font-weight: 400;
}

.data-table tr.is-selected th,
.data-table tr.is-selected td {
  background: #eef0e1;
  font-weight: 600;
}

.group-row th {
  font-weight: 600;
}

.child-row th {
  padding-left: 40px;
  color: var(--muted);
}

.total-row th,
.total-row td {
  font-weight: 600;
  border-top: 2px solid var(--line);
}

.total-row.strong th,
.total-row.strong td {
  background: #e3ebe7;
}

.restricted-row td,
.restricted-row th {
  color: var(--muted);
  font-style: italic;
}

.row-toggle {
  font: inherit;
  font-weight: 600;
  background: none;
  border: 0;
  padding: 2px 0;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
}

.caret {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1px solid #9ea9a1;
  border-radius: 2px;
  font-size: 0.9rem;
  line-height: 1;
}

/* 차트 */
.chart-card {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 18px 8px;
  min-width: 0;
}

.chart-title {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 4px;
}

/* 카드가 곧 구획일 때의 제목. 단위와 같은 줄에 둡니다. */
.chart-heading {
  display: inline;
  font-size: 1.1rem;
  margin: 0;
}

.table-toggle-wrap .table-scroll {
  margin-top: 4px;
}

.table-toggle {
  background: none;
  border: 0;
  padding: 6px 0;
  min-height: 44px;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand-teal);
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.unit {
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--muted);
  margin-left: 6px;
}

.chart-note {
  font-size: 0.86rem;
  color: var(--muted);
}

.chart-note p {
  margin: 0 0 6px;
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  list-style: none;
  padding: 0;
  margin: 4px 0 8px;
  font-size: 0.82rem;
  color: var(--ink);
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legend-sample {
  width: 24px;
  height: 12px;
  flex: 0 0 auto;
}

.legend-swatch {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 2px;
}

.chart-canvas {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  font-family: var(--sans);
}

.chart-canvas svg {
  display: block;
  max-width: 100%;
}

.chart-canvas .recharts-wrapper {
  max-width: 100%;
}

.chart-canvas .recharts-cartesian-axis-tick-value,
.chart-canvas .recharts-text {
  font-family: var(--sans);
}

.chart-canvas .recharts-label-list text,
.chart-canvas .recharts-label {
  font-size: 11px;
  fill: var(--ink);
  font-family: var(--sans);
}

.chart-canvas .recharts-surface:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.chart-tooltip {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px #0c25101a;
  padding: 8px 12px;
  font-size: 0.82rem;
  line-height: 1.5;
  max-width: 260px;
}

.chart-tooltip p {
  margin: 0;
}

.chart-tooltip .tip-title {
  font-weight: 600;
  margin-bottom: 2px;
}

.picker {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 4px;
}

.picker-btn {
  min-height: 44px;
  min-width: 44px;
  padding: 6px 12px;
  border: 1px solid #b9c2af;
  border-radius: 2px;
  background: #fff;
  color: var(--ink);
  font-size: 0.86rem;
  cursor: pointer;
}

.picker-btn:hover {
  border-color: var(--brand-teal);
}

.picker-btn[aria-pressed='true'] {
  background: var(--brand-teal);
  border-color: var(--brand-teal);
  color: var(--paper);
  font-weight: 600;
}

.readout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 16px;
  margin: 6px 0 4px;
  padding: 8px 12px;
  background: #f0f2e8;
  border-left: 3px solid var(--brand-teal);
}

.readout-text {
  margin: 0;
  font-size: 0.9rem;
  flex: 1 1 260px;
  min-width: 0;
}

.donut-wrap {
  position: relative;
  margin: 0 auto;
  max-width: 100%;
}

.donut-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  text-align: center;
}

.donut-center span {
  font-size: 0.8rem;
  color: var(--muted);
}

.donut-center strong {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--forest);
}

.bridge-status {
  font-size: 0.88rem;
  padding: 8px 12px;
  background: #e3ebe7;
  border-left: 3px solid var(--brand-teal);
}

.g-labor {
  background: #184b48;
}

.g-material {
  background: #5e8f83;
}

.g-marketing {
  background: #a07c3e;
}

.g-equipment {
  background: #6d6a92;
}

.g-occupancy {
  background: #9fbdb5;
}

.g-other {
  background: #b9b6a5;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.chip {
  font: inherit;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 6px 14px;
  border: 1px solid #b9c2af;
  border-radius: 2px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.chip[aria-pressed='true'] {
  border-color: var(--brand-teal);
  box-shadow: inset 0 0 0 1px var(--brand-teal);
  background: #e9ecd8;
  font-weight: 600;
}

.missing-grid {
  list-style: none;
  padding: 0;
  margin: 12px 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.missing-card {
  background: var(--surface);
  border: 1px dashed #9ea9a1;
  border-radius: var(--radius);
  padding: 14px 16px;
  min-width: 0;
}

.missing-name {
  font-weight: 600;
  margin-bottom: 2px;
}

.missing-status {
  color: var(--bronze);
  font-weight: 600;
  margin-bottom: 6px;
}

.missing-card .muted {
  font-size: 0.86rem;
  margin: 0;
}

.radio-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0;
}

.radio-cards legend {
  font-weight: 600;
  margin-bottom: 8px;
  padding: 0;
}

.radio-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  cursor: pointer;
  min-width: 0;
}

.radio-card input {
  grid-row: span 2;
  margin-top: 5px;
  width: 20px;
  height: 20px;
  accent-color: var(--brand-teal);
}

.radio-card:has(input:checked) {
  border-color: var(--brand-teal);
  box-shadow: inset 0 0 0 1px var(--brand-teal);
}

.radio-card-title {
  font-weight: 600;
}

.radio-card .muted {
  font-size: 0.86rem;
}

.assumptions {
  margin: 12px 0;
  padding-left: 1.2em;
  color: var(--muted);
  font-size: 0.9rem;
}

.demo-cta {
  margin-top: 36px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  font-size: 0.92rem;
}

.demo-cta p {
  margin: 0;
}

/* 근거 드로어 */
.drawer-root {
  position: fixed;
  inset: 0;
  z-index: 60;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: #142d2a73;
}

.drawer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(460px, 100%);
  background: var(--paper);
  box-shadow: -12px 0 40px #06151233;
  display: flex;
  flex-direction: column;
  animation: drawer-in 0.2s ease-out;
}

.drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px 12px;
  border-bottom: 1px solid var(--line);
}

.drawer-head h2 {
  font-size: 1.1rem;
  margin: 8px 0 0;
}

.drawer-close {
  flex: 0 0 auto;
  min-height: 44px;
  min-width: 64px;
  padding: 8px 14px;
  border: 1px solid #9ea9a1;
  border-radius: 2px;
  background: #fff;
  cursor: pointer;
  font-weight: 600;
}

.drawer-body {
  overflow-y: auto;
  padding: 18px 22px 28px;
  font-size: 0.92rem;
}

.evidence-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
  gap: 8px;
  margin: 0 0 16px;
}

.evidence-values > div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 12px;
}

.evidence-values dt {
  font-size: 0.78rem;
  color: var(--muted);
}

.evidence-values dd {
  margin: 0;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

@keyframes drawer-in {
  from {
    transform: translateX(24px);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

/* 반응형 */
@media (max-width: 1280px) {
  .navigation {
    gap: 22px;
  }

  .navigation > .header-contact {
    gap: 20px;
    padding: 10px 14px;
  }
}

@media (max-width: 1200px) {
  .container {
    width: calc(100% - 80px);
  }

  .chart-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .kpi-grid,
  .missing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 경영보고 메뉴가 추가되어 현행 901px보다 넓은 1100px 이하에서 메뉴를 접습니다. */
@media (max-width: 1100px) {
  :root {
    --header-h: 80px;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: 1px solid #a8b49b;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 19px;
    height: 1px;
    background: currentColor;
    transition: transform 0.25s;
  }

  .menu-toggle[aria-expanded='true'] span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded='true'] span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .navigation {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    background: var(--paper);
    color: var(--ink);
    padding: 16px 24px 22px;
    border-bottom: 1px solid #d6dfcb;
    box-shadow: 0 10px 30px #0c251010;
    flex-direction: column;
    gap: 2px;
    align-items: stretch;
    font-size: 15px;
  }

  .navigation.is-open {
    display: flex;
  }

  .navigation > a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 5px;
  }

  .navigation > .header-contact {
    justify-content: space-between;
    margin-top: 6px;
    padding: 11px 17px;
  }

  .nav-closing {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .nav-closing-link {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 5px;
    border-bottom: 0;
  }

  .nav-closing-toggle {
    width: 44px;
    height: 44px;
  }

  .nav-closing-menu {
    position: static;
    flex-basis: 100%;
    min-width: 0;
    margin: 0 0 6px 5px;
    padding: 0 0 0 10px;
    border: 0;
    border-left: 2px solid var(--brand-teal);
    box-shadow: none;
    background: transparent;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
}

@media (max-width: 900px) {
  .container {
    width: calc(100% - 48px);
  }

  .brand-mark {
    width: 28px;
  }

  .brand-wordmark {
    width: 164px;
  }

  .section {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .band {
    padding: 48px 0;
  }

  .dash {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin-top: 10px;
  }

  .dash-nav {
    position: static;
  }

  /* 내부 분석 내비는 한 벌만 두고 좁은 화면에서는 접습니다. 세로 목록이므로 상하 화살표 방향과 일치합니다. */
  .dash-nav-toggle {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 48px;
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    cursor: pointer;
    text-align: left;
  }

  .dash-nav-toggle-label {
    font-size: 0.8rem;
    color: var(--muted);
  }

  .dash-nav-current {
    font-weight: 600;
    color: var(--brand-teal);
  }

  .dash-nav-current::after {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-left: 10px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-3px) rotate(45deg);
  }

  .dash-nav-toggle[aria-expanded='true'] .dash-nav-current::after {
    transform: translateY(1px) rotate(-135deg);
  }

  .dash-nav-list:not(.is-open) {
    display: none;
  }

  .dash-nav-list {
    margin-top: 6px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 6px 8px 8px;
  }

  .tabpanel {
    padding-top: 16px;
  }

  .kpi-section .kpi .evidence-btn {
    min-height: 44px;
  }

  .two-col {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
}

/* 360px 기준 첫 화면에 경영성과 카드가 보이도록 안내와 조회 조건을 압축합니다. */
@media (max-width: 600px) {
  :root {
    --header-h: 64px;
  }

  body {
    font-size: 15px;
  }

  .container {
    width: calc(100% - 32px);
  }

  .brand {
    gap: 10px;
  }

  .brand-mark {
    width: 26px;
  }

  .brand-copy {
    padding-left: 10px;
  }

  .brand-wordmark {
    width: 154px;
  }

  .footer-brand .brand-wordmark {
    width: 152px;
  }

  .site-credit {
    margin-left: 0;
  }

  .navigation {
    padding: 14px 16px 20px;
  }

  .page-hero {
    padding: 24px 0 40px;
  }

  .question-grid,
  .two-col,
  .flow,
  .status-grid,
  .kpi-grid.three,
  .compare-row,
  .missing-grid,
  .radio-cards,
  .hero-kpis {
    grid-template-columns: minmax(0, 1fr);
  }

  .preview-banner {
    font-size: 0.8rem;
  }

  .preview-banner-inner {
    gap: 8px;
    padding-top: 5px;
    padding-bottom: 5px;
    line-height: 1.45;
  }

  .demo-main {
    padding-top: 10px;
  }

  .toolbar-unit {
    display: none;
  }

  .demo-title h1 {
    font-size: 1.15rem;
    margin: 0;
  }

  .toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    padding: 8px 10px;
    margin: 8px 0 6px;
  }

  .toolbar-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
    align-items: end;
  }

  .toolbar-main .segmented {
    flex-wrap: nowrap;
    gap: 4px;
  }

  .toolbar .segment {
    flex: 1 1 0;
    min-width: 0;
  }

  .toolbar .segment > span {
    width: 100%;
    padding: 6px 8px;
    align-items: center;
  }

  .toolbar select {
    width: 100%;
  }

  .toolbar legend,
  .field label {
    font-size: 0.76rem;
    margin-bottom: 2px;
  }

  .toolbar-more-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 44px;
    padding: 6px 10px;
    border: 1px dashed #b9c2af;
    border-radius: 2px;
    background: transparent;
    cursor: pointer;
    text-align: left;
    font-size: 0.8rem;
  }

  .toolbar-more-label {
    color: var(--muted);
  }

  .toolbar-more-current {
    font-weight: 600;
  }

  .toolbar-more:not(.is-open) {
    display: none;
  }

  .toolbar-more {
    order: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .toolbar-more .segmented {
    flex-wrap: nowrap;
  }

  .scope-note {
    font-size: 0.8rem;
    padding: 6px 10px;
    margin-bottom: 6px;
  }

  .kpi-head p {
    font-size: 0.8rem;
  }

  .kpi-grid {
    gap: 8px;
    margin-top: 8px;
  }

  .kpi,
  .kpi-section .kpi {
    padding: 10px 12px 4px;
  }

  .kpi-section .kpi {
    grid-template-columns: minmax(0, 1fr);
  }

  /* 좁은 카드에서는 지표명과 기준을 두 줄로 두고 산출 근거 버튼은 카드 아래 한 줄을 씁니다. */
  .kpi-top {
    display: block;
  }

  .kpi-section .kpi-sub {
    margin-bottom: 4px;
  }

  .kpi-section .kpi .evidence-btn {
    grid-row: auto;
    grid-column: 1 / -1;
  }

  .kpi-value {
    font-size: 1.15rem;
  }

  .kpi-sub,
  .kpi-delta {
    font-size: 0.76rem;
  }

  .chart-card {
    padding: 12px 12px 8px;
  }

  .basis-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .basis-list dd {
    margin-bottom: 8px;
  }

  .cta-row .button {
    width: 100%;
  }

  .footer {
    padding: 30px 0 40px;
  }

  .footer-top {
    align-items: flex-start;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
}

@media (max-width: 370px) {
  .container {
    width: calc(100% - 28px);
  }

  .brand {
    gap: 9px;
  }

  .brand-mark {
    width: 24px;
  }

  .brand-copy {
    padding-left: 9px;
  }

  .brand-wordmark {
    width: 146px;
  }

  .footer-brand .brand-wordmark {
    width: 142px;
  }

  .kpi-value {
    font-size: 1.08rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .header,
  .menu-toggle,
  .dash-nav,
  .toolbar-more-toggle,
  .picker,
  .evidence-btn,
  .drawer-root {
    display: none;
  }

  .header {
    position: static;
  }

  .dash {
    grid-template-columns: minmax(0, 1fr);
  }
}
