:root {
  --bg: #eaf4ff;
  --panel: #ffffff;
  --panel-soft: #f4f9ff;
  --line: rgba(27, 77, 132, 0.12);
  --text: #12304d;
  --muted: #6e89a6;
  --muted-strong: #4d6884;
  --accent: #2c7be5;
  --accent-soft: rgba(44, 123, 229, 0.16);
  --up: #ff675f;
  --down: #3c9cff;
  --steady: #b5bcc7;
  --ok: #63d86d;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "IBM Plex Sans KR", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(44, 123, 229, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(102, 191, 255, 0.22), transparent 32%),
    linear-gradient(180deg, #f6fbff 0%, var(--bg) 100%);
}

.phone-shell {
  width: min(100%, 430px);
  margin: 0 auto;
  min-height: 100vh;
}

.app-frame {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(235, 245, 255, 0.94) 100%);
}

.app-frame.is-home-mode .app-header,
.app-frame.is-home-mode .tab-panel {
  display: none;
}

.home-screen {
  display: none;
  min-height: 100vh;
  padding: 28px 20px;
}

.app-frame.is-home-mode .home-screen {
  display: flex;
  align-items: center;
}

.home-screen-inner {
  width: 100%;
  padding: 28px 22px;
  border: 1px solid rgba(44, 123, 229, 0.12);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(100, 181, 255, 0.24), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(236, 245, 255, 0.98));
  box-shadow: 0 18px 40px rgba(44, 123, 229, 0.1);
}

.home-screen-title {
  margin-top: 10px;
  font-size: 30px;
  line-height: 1.08;
  text-align: center;
}

.home-screen-brand {
  text-align: center;
}

.home-screen-copy-box {
  margin-top: 16px;
  padding: 16px 18px;
  border: 1px solid rgba(44, 123, 229, 0.14);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(228, 242, 255, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 10px 22px rgba(44, 123, 229, 0.08);
}

.home-screen-copy {
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
  text-align: center;
  letter-spacing: -0.03em;
}

.home-screen-notes {
  margin-top: 12px;
  display: grid;
  gap: 6px;
  justify-items: center;
}

.home-screen-notes-title {
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.home-screen-note {
  color: var(--muted-strong);
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}

.home-screen-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.home-screen-button {
  padding: 18px 14px;
  border: 1px solid rgba(44, 123, 229, 0.12);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #eef6ff 100%);
  color: var(--text);
  font: inherit;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-align: center;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 8px 18px rgba(44, 123, 229, 0.08);
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 18px 18px 10px;
  background: rgba(245, 250, 255, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(27, 77, 132, 0.08);
}

.topbar,
.meta-row,
.market-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.topbar,
.market-row {
  align-items: flex-start;
}

.meta-row {
  align-items: center;
}

.brand-kicker {
  margin: 0;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  margin-top: 6px;
  font-size: 27px;
  line-height: 1;
  letter-spacing: -0.05em;
}

.title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.home-nav-button {
  margin-left: auto;
  padding: 8px 12px;
  border: 1px solid rgba(44, 123, 229, 0.14);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(236, 245, 255, 0.98));
  color: var(--accent);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.02em;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 4px 12px rgba(44, 123, 229, 0.08);
}

.page-refresh-wrap {
  display: inline-grid;
  justify-items: center;
  gap: 3px;
  padding: 6px 8px 5px;
  border: 1px solid rgba(44, 123, 229, 0.1);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(236, 245, 255, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 6px 16px rgba(44, 123, 229, 0.08);
}

.page-refresh-label {
  color: var(--muted);
  font-size: 10px;
  line-height: 1;
}

h2 {
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.section-subcopy {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.section-subcopy--center {
  text-align: center;
}

.refresh-button,
.meta-pill,
.tab-button {
  border-radius: 14px;
  border: 1px solid transparent;
  font: inherit;
}

.meta-row {
  margin-top: 14px;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  background: rgba(44, 123, 229, 0.08);
  color: var(--muted-strong);
  font-size: 12px;
  line-height: 1.3;
  border: 1px solid rgba(44, 123, 229, 0.08);
}

.tab-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 10px;
  row-gap: 8px;
  margin-top: 20px;
  padding-bottom: 2px;
  align-items: center;
}

.tab-action-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.tab-button {
  position: relative;
  padding: 0 0 12px;
  background: transparent;
  color: var(--muted-strong);
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  width: 100%;
  text-align: center;
}

.tab-button.is-active {
  color: var(--text);
}

.tab-button.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2c7be5 0%, #64b5ff 100%);
}

.icon-refresh-button {
  width: 44px;
  height: 36px;
  margin-top: 2px;
  border: 1px solid rgba(44, 123, 229, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  background-image: url("./img/re.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px 20px;
  color: #35516f;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  flex: 0 0 auto;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    0 2px 8px rgba(44, 123, 229, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-indent: -9999px;
  overflow: hidden;
}

.icon-refresh-button:disabled {
  opacity: 0.6;
  cursor: wait;
}


.headline-banner {
  margin: 12px 0;
  padding: 14px 18px;
  background: linear-gradient(90deg, #d8ecff 0%, #91d0ff 100%);
  color: #103554;
  font-size: 15px;
  line-height: 1.45;
  border-top: 1px solid rgba(44, 123, 229, 0.08);
  border-bottom: 1px solid rgba(44, 123, 229, 0.08);
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
}

.market-list {
  border-top: 1px solid var(--line);
}

.market-item {
  padding: 18px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(240, 248, 255, 0.92));
}

.market-left {
  min-width: 0;
  flex: 1;
}

.market-right {
  text-align: right;
  flex: 0 0 auto;
}

.asset-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.asset-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 6px;
  border: 1px solid rgba(44, 123, 229, 0.18);
  border-radius: 6px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  background: rgba(44, 123, 229, 0.06);
}

.asset-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.asset-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--ok);
  box-shadow: 0 0 0 4px rgba(99, 216, 109, 0.12);
  flex: 0 0 auto;
}

.asset-value {
  font-size: 23px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.asset-change {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 700;
}

.is-up {
  color: var(--up);
}

.is-down {
  color: var(--down);
}

.is-steady {
  color: var(--steady);
}

.info-section {
  padding: 18px;
}

.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.section-head-secondary {
  margin-top: 22px;
}

.year-select-wrap {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  flex: 0 0 auto;
}

.feeling-select-wrap {
  margin-top: 12px;
}

.year-select-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.year-select {
  min-width: 92px;
  padding: 10px 12px;
  border: 1px solid rgba(44, 123, 229, 0.16);
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #eef6ff 100%);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
}

.year-select--wide {
  min-width: 188px;
}

.section-refresh-button {
  min-width: 84px;
  margin-top: 2px;
}

.section-refresh-wrap {
  flex: 0 0 auto;
}

.section-head-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-end;
  justify-content: flex-end;
}

.section-head-actions--inline {
  flex-wrap: nowrap;
  gap: 8px;
  align-items: center;
}

.section-head-actions--center {
  justify-content: center;
  margin-top: 10px;
  margin-bottom: 14px;
}

.inline-select-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.sme-grid {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.sme-charts {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.startup-summary {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.startup-summary-card,
.startup-chart-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(241, 248, 255, 0.98));
  box-shadow: 0 10px 24px rgba(44, 123, 229, 0.06);
}

.business-chart-card {
  width: calc(100% - 12px);
  margin: 0 auto;
}

.startup-summary-title {
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.startup-section-block {
  display: grid;
  gap: 12px;
}

.startup-summary-grid {
  display: grid;
  gap: 12px;
}

.startup-summary-grid--two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 14px;
}

.startup-summary-grid--three-col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 14px;
}

.startup-summary-grid--two-col .startup-metric {
  padding-top: 0;
  border-top: 0;
}

.startup-summary-grid--three-col .startup-metric {
  padding-top: 0;
  border-top: 0;
}

.startup-metric {
  padding-top: 12px;
  border-top: 1px solid rgba(27, 77, 132, 0.08);
}

.startup-metric:first-child {
  padding-top: 0;
  border-top: 0;
}

.startup-topfive-item {
  padding-top: 12px;
}

.startup-topfive-name {
  font-weight: 700;
}

.startup-topfive-value {
  font-size: 22px;
}

.startup-value.is-sme {
  color: #d04a42;
}

.investment-metric {
  position: relative;
}

.startup-kicker {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.startup-value {
  margin-top: 6px;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1.1;
}

.startup-value--loading {
  font-size: 15.6px;
  line-height: 1.35;
}

.investment-kicker {
  font-weight: 800;
  color: var(--investment-accent, var(--muted));
}

.investment-kicker--compact {
  font-size: 11px;
  letter-spacing: -0.03em;
}

.investment-value {
  color: var(--investment-accent, var(--text));
}

.investment-value .sme-value-unit {
  color: inherit;
}

.investment-value--compact {
  font-size: 21px;
}

.investment-metric .startup-subvalue,
.investment-metric .startup-share-value {
  color: var(--investment-accent, var(--muted));
}

.investment-metric--blue,
.investment-kicker--blue,
.investment-value--blue {
  --investment-accent: #2c7be5;
}

.investment-metric--orange,
.investment-kicker--orange,
.investment-value--orange {
  --investment-accent: #ef7d32;
}

.investment-metric--violet,
.investment-kicker--violet,
.investment-value--violet {
  --investment-accent: #7a6ff0;
}

.startup-delta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.startup-delta.is-up {
  color: var(--up);
}

.startup-delta.is-down {
  color: var(--down);
}

.startup-subvalue {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.startup-share-label,
.startup-share-value {
  font-weight: 700;
}

.startup-charts {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.startup-chart-head {
  display: grid;
  gap: 6px;
}

.startup-chart-title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.startup-chart-subtitle {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.startup-chart-subtitle--strong {
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}

.startup-chart-summary {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px 10px;
  font-size: 11px;
  line-height: 1.4;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

.startup-chart-summary::-webkit-scrollbar {
  display: none;
}

.startup-chart-summary-item {
  color: var(--muted);
  font-weight: 700;
}

.startup-chart-summary-item.is-blue {
  color: #2c7be5;
}

.startup-chart-summary-item.is-red {
  color: #d04a42;
}

.startup-chart-summary-item.is-strong {
  color: var(--muted-strong);
  font-weight: 800;
}

.startup-chart-summary-item.is-yellow {
  color: #c58a00;
  font-weight: 800;
}

.startup-note-card {
  padding: 14px 16px;
}

.startup-note-text {
  color: var(--muted-strong);
  font-size: 12px;
  line-height: 1.5;
}

.startup-note-text--sub {
  margin-top: 6px;
  color: var(--muted);
}

.management-compare-chart {
  margin-top: 14px;
}

.management-compare-svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.management-zero-line {
  stroke: rgba(27, 77, 132, 0.22);
  stroke-width: 1.2;
  stroke-dasharray: 4 4;
}

.management-group-label {
  fill: var(--muted-strong);
  font-size: 11px;
  font-weight: 700;
  text-anchor: middle;
}

.management-group-label.is-sme {
  fill: #d04a42;
}

.management-bar-label {
  fill: var(--muted);
  font-size: 10px;
  font-weight: 700;
  text-anchor: middle;
}

.management-bar-value {
  fill: var(--muted-strong);
  font-size: 10px;
  font-weight: 800;
  text-anchor: middle;
}

.management-bar-value.is-sme {
  fill: #d04a42;
}

.startup-kicker.is-sme {
  color: #d04a42;
}

.startup-bars {
  display: grid;
  grid-template-columns: repeat(var(--bar-count, 1), minmax(0, 1fr));
  gap: 10px;
  align-items: end;
  margin-top: 16px;
  min-height: 152px;
}

.startup-bar-item {
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: end;
  gap: 6px;
}

.startup-bar-value {
  color: var(--muted-strong);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.startup-bar-track {
  height: 120px;
  display: flex;
  align-items: end;
  justify-content: center;
  padding: 0 4px;
}

.startup-bar {
  width: 100%;
  max-width: 28px;
  min-height: 8px;
  border-radius: 12px 12px 6px 6px;
  background: var(--bar-color, #2c7be5);
  box-shadow: 0 10px 20px rgba(44, 123, 229, 0.18);
}

.startup-bar-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.startup-line-chart {
  position: relative;
  margin-top: 18px;
  padding: 8px 4px 0;
}

.startup-line-unit {
  position: absolute;
  top: -2px;
  left: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.startup-line-svg {
  display: block;
  width: 100%;
  height: 180px;
  overflow: visible;
}

.startup-line-grid {
  fill: none;
  stroke: rgba(27, 77, 132, 0.08);
  stroke-width: 1;
}

.startup-line-path {
  fill: none;
  stroke: #143f6b;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.startup-line-reference {
  fill: none;
  stroke: rgba(208, 74, 66, 0.9);
  stroke-width: 1.5;
  stroke-dasharray: 6 4;
}

.startup-line-reference-label {
  fill: rgba(208, 74, 66, 0.95);
  font-size: 10px;
  font-weight: 700;
  text-anchor: end;
}

.startup-line-point {
  fill: #143f6b;
  stroke: #ffffff;
  stroke-width: 2;
  cursor: pointer;
}

.startup-line-value {
  fill: var(--muted-strong);
  font-size: 11px;
  font-weight: 700;
  text-anchor: middle;
}

.startup-line-subvalue {
  fill: var(--muted);
  font-size: 10px;
  font-weight: 700;
  text-anchor: middle;
}

.startup-line-years {
  display: grid;
  grid-template-columns: repeat(var(--bar-count, 1), minmax(0, 1fr));
  gap: 10px;
  margin-top: 4px;
}

.startup-line-year {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}

.loan-line-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}

.loan-line-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted-strong);
  font-size: 12px;
  font-weight: 700;
}

.loan-line-legend-swatch {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--legend-color, #2c7be5);
}

.investment-pie-layout {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  align-items: center;
  margin-top: 16px;
}

.investment-pie {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: conic-gradient(var(--pie-fill));
  box-shadow: inset 0 0 0 1px rgba(44, 123, 229, 0.06);
}

.investment-pie-legend {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.investment-pie-legend-item {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.investment-pie-legend-swatch {
  width: 12px;
  height: 12px;
  margin-top: 3px;
  border-radius: 999px;
  background: var(--legend-color, #2c7be5);
}

.investment-pie-legend-name {
  flex: 0 1 auto;
  min-width: 0;
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

.investment-pie-legend-value {
  flex-basis: 100%;
  min-width: 0;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.4;
  white-space: normal;
  margin-left: 18px;
}

.investment-pie-legend-value .sme-value-unit {
  margin-left: 2px;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}

.investment-pie-legend-value--stacked {
  flex-basis: 100%;
  margin-left: 18px;
  white-space: normal;
}

.export-country-pie .investment-pie-legend-item {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  color: var(--legend-color, var(--text));
  gap: 8px;
}

.export-country-pie .investment-pie-legend-name,
.export-country-pie .investment-pie-legend-value {
  color: inherit;
}

.export-country-pie .investment-pie-legend-name {
  flex: 0 1 auto;
  white-space: nowrap;
}

.export-country-pie .investment-pie-legend-value {
  display: inline-flex;
  flex: 0 0 auto;
  margin-left: auto;
  white-space: nowrap;
  text-align: right;
  line-height: 1.2;
}

.export-pie-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 16px;
}

.export-pie-section {
  display: grid;
  gap: 8px;
}

.sme-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(241, 248, 255, 0.98));
  box-shadow: 0 10px 24px rgba(44, 123, 229, 0.06);
}

.sme-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sme-title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.sme-chart-row {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 16px;
  align-items: center;
  margin-top: 16px;
}

.sme-donut {
  --fill: 75;
  --donut-color: #2c7be5;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #ffffff 0 42px, transparent 43px),
    conic-gradient(var(--donut-color) calc(var(--fill) * 1%), rgba(44, 123, 229, 0.12) 0);
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px rgba(44, 123, 229, 0.06);
}

.sme-donut-inner {
  text-align: center;
}

.sme-donut-percent {
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}

.sme-donut-caption {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--muted);
}

.sme-metric-copy {
  min-width: 0;
}

.sme-value {
  font-size: 25px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.05em;
}

.sme-value-unit {
  margin-left: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted-strong);
}

.sme-unit {
  display: none;
}

.sme-footnote {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.sme-bar-value {
  color: var(--muted-strong);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.sme-top-list {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}

.sme-top-list-title {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.sme-top-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}

.sme-top-item-label {
  min-width: 0;
  color: var(--text);
  font-weight: 600;
  line-height: 1.35;
}

.sme-top-item-value {
  flex: 0 0 auto;
  color: var(--muted-strong);
  font-weight: 700;
  white-space: nowrap;
}

.sme-share-chart {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(27, 77, 132, 0.08);
}

.sme-share-chart-title {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.sme-share-svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.sme-share-line {
  fill: none;
  stroke: var(--share-line-color, #2c7be5);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sme-share-point {
  fill: var(--share-line-color, #2c7be5);
}

.sme-share-label {
  fill: var(--muted-strong);
  font-size: 10px;
  font-weight: 800;
  text-anchor: middle;
}

.sme-share-year {
  fill: var(--muted);
  font-size: 10px;
  font-weight: 700;
  text-anchor: middle;
}


@media (max-width: 360px) {
  .app-header,
  .headline-banner,
  .market-item,
  .info-section {
    padding-left: 14px;
    padding-right: 14px;
  }

  .topbar,
  .market-row {
    flex-direction: column;
  }

  .title-row {
    align-items: flex-start;
  }

  .tab-strip {
    gap: 16px;
  }

  .section-head,
  .sme-chart-row {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .startup-summary-grid--two-col {
    grid-template-columns: 1fr;
  }

  .startup-summary-grid--three-col {
    grid-template-columns: 1fr;
  }

  .investment-pie-layout {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .export-pie-grid {
    grid-template-columns: 1fr;
  }

  .market-right {
    width: 100%;
    text-align: left;
  }

  .home-screen-grid {
    grid-template-columns: 1fr;
  }
}
