:root {
  --app-bg-base: #0B0B0F;
  --app-bg-card: #121319;
  --app-bg-card-soft: #151720;
  --app-bg-elevated: #181B24;
  --app-text-main: #F7F8FC;
  --app-text-sub: #9CA3AF;
  --app-text-faint: #68707E;
  --app-line-soft: rgba(255,255,255,0.055);
  --app-line: rgba(255,255,255,0.085);
  --app-line-strong: rgba(255,255,255,0.14);
  --sector-accent: #18C8FF;
  --sector-rgb: 24,200,255;
  --sector-chip-bg: rgba(24, 200, 255, 0.14);
  --sector-chip-border: rgba(24, 200, 255, 0.34);
  --sector-sparkline: #18C8FF;
  --sector-glow: rgba(24, 200, 255, 0.22);
  --font: Pretendard, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--app-bg-base); }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--app-text-main);
  background: var(--app-bg-base);
  font-family: var(--font);
  line-height: 1.45;
  letter-spacing: -0.018em;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 0%, rgba(var(--sector-rgb), .045), transparent 360px),
    linear-gradient(180deg, rgba(255,255,255,.014), rgba(255,255,255,0) 36%);
}
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
code { border: 1px solid var(--app-line); border-radius: 8px; padding: 1px 6px; color: #dbeafe; background: rgba(255,255,255,.06); }

/* Landing: quiet mobile launch */
.landing-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: max(10px, env(safe-area-inset-top)) 0 max(10px, env(safe-area-inset-bottom));
}
.mobile-launch {
  position: relative;
  z-index: 1;
  width: min(390px, 100vw);
  min-height: min(844px, 100svh);
  display: flex;
  align-items: center;
  justify-content: center;
}
.launch-stack {
  width: 100%;
  min-height: min(844px, 100svh);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding: 36px 24px 30px;
}
.launch-brand {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.launch-brand strong {
  font-size: clamp(32px, 9vw, 36px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.06em;
}
.launch-brand span {
  color: var(--app-text-sub);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 760;
  letter-spacing: .18em;
}
.launch-copy {
  width: 100%;
  text-align: center;
}
.launch-copy h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: -0.06em;
}
.launch-copy p {
  margin: 8px 0 0;
  color: var(--app-text-sub);
  font-size: 18px;
  line-height: 1.28;
  font-weight: 720;
  letter-spacing: -0.045em;
}
.focus-card {
  position: relative;
  width: 100%;
  height: 252px;
  display: flex;
  flex-direction: column;
  padding: 20px 20px 18px;
  border-radius: 28px;
  border: 1px solid var(--app-line);
  background:
    radial-gradient(circle at 86% 10%, rgba(var(--sector-rgb), .145), transparent 142px),
    radial-gradient(circle at 22% 118%, rgba(var(--sector-rgb), .10), transparent 160px),
    #121319;
  box-shadow: 0 16px 48px rgba(0,0,0,.32);
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.focus-card::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 14px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--sector-rgb), .56), transparent);
  opacity: .55;
}
.focus-card:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--sector-rgb), .22);
  box-shadow: 0 20px 54px rgba(0,0,0,.42), 0 0 46px rgba(var(--sector-rgb), .08);
}
.focus-card__top {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}
.focus-card__meta { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.focus-card__meta strong {
  font-size: 20px;
  line-height: 1.1;
  font-weight: 880;
  letter-spacing: -0.05em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.focus-card__meta span {
  color: var(--app-text-sub);
  font-size: 13px;
  font-weight: 620;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.grade-dot {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--sector-chip-border);
  color: var(--sector-accent);
  background: rgba(var(--sector-rgb), .12);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -0.03em;
}
.grade-dot.large { width: 52px; height: 52px; font-size: 18px; }
.focus-card__score {
  position: relative;
  z-index: 1;
  margin-top: 36px;
  display: flex;
  align-items: flex-start;
}
.focus-card__score span {
  color: #fff;
  font-size: clamp(80px, 22vw, 88px);
  line-height: .82;
  font-weight: 950;
  letter-spacing: -0.085em;
}
.focus-card__spark {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 56px;
  margin-top: auto;
  display: block;
}
.search-block { position: relative; width: 100%; }
.search-field {
  width: 100%;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  border-radius: 20px;
  border: 1px solid var(--app-line-soft);
  background: #151821;
}
.search-field:focus-within { border-color: rgba(var(--sector-rgb), .22); box-shadow: 0 0 0 3px rgba(var(--sector-rgb), .045); }
.search-field span { color: var(--app-text-sub); font-size: 20px; transform: translateY(-1px); }
.search-field input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--app-text-main);
  background: transparent;
  font-size: 14px;
  font-weight: 650;
}
.search-field input::placeholder { color: rgba(156,163,175,.72); }
.search-results {
  display: none;
  position: absolute;
  z-index: 80;
  left: 0;
  right: 0;
  top: calc(100% + 10px);
  max-height: 280px;
  overflow: auto;
  border: 1px solid var(--app-line-strong);
  border-radius: 18px;
  background: rgba(17,19,27,.98);
  box-shadow: 0 22px 64px rgba(0,0,0,.54);
  backdrop-filter: blur(16px);
}
.search-results.is-open { display: block; }
.search-result-button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 11px 15px;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.055);
  color: var(--app-text-main);
  background: transparent;
  text-align: left;
}
.search-result-button > span { min-width: 0; }
.search-result-button:hover,
.search-result-button.is-active,
.search-result-button[aria-selected="true"] {
  background: rgba(var(--sector-rgb), .105);
}
.search-result-button.is-active,
.search-result-button[aria-selected="true"] {
  box-shadow: inset 3px 0 0 rgba(var(--sector-rgb), .78);
}
.search-result-button strong { display: block; font-size: 14px; font-weight: 820; }
.search-result-button small { color: var(--app-text-sub); font-size: 12px; line-height: 1.35; font-weight: 620; }
.start-block {
  width: 100%;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
.start-block p { margin: 0; color: var(--app-text-sub); font-size: 13px; font-weight: 720; }
.start-block small { width: min(320px, 100%); color: rgba(156,163,175,.52); font-size: 11px; line-height: 1.45; text-align: center; }
.start-buttons { width: 100%; display: flex; gap: 12px; }
.start-button {
  flex: 1;
  height: 56px;
  border: 0;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 920;
}
.start-button.kakao { color: #121212; background: #FEE500; }
.start-button.google { color: #111827; background: #F5F6FA; }

/* Detail */
.detail-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 85% -4%, rgba(var(--sector-rgb), .07), transparent 360px),
    var(--app-bg-base);
}
.detail-shell {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 18px 16px 58px;
}
.detail-header {
  position: sticky;
  top: 10px;
  z-index: 70;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border-radius: 999px;
  border: 1px solid var(--app-line);
  background: rgba(11,11,15,.76);
  backdrop-filter: blur(18px);
}
.back-link, .plain-icon {
  width: 44px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  color: var(--app-text-main);
  background: rgba(255,255,255,.045);
  font-size: 20px;
  font-weight: 760;
}
.detail-search { position: relative; min-width: 0; }
.detail-search input {
  width: 100%;
  height: 40px;
  border: 1px solid var(--app-line-soft);
  border-radius: 999px;
  outline: 0;
  padding: 0 16px;
  color: var(--app-text-main);
  background: rgba(255,255,255,.04);
  font-size: 14px;
  font-weight: 650;
}
.detail-search input:focus { border-color: rgba(var(--sector-rgb), .24); }
.detail-results { top: calc(100% + 12px); }
.warning-card {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(245, 158, 11, .24);
  border-radius: 18px;
  background: rgba(245, 158, 11, .07);
}
.warning-card strong { color: #FDE68A; font-size: 13px; }
.warning-card p { margin: 5px 0 0; color: rgba(255,255,255,.72); font-size: 12px; line-height: 1.55; }
.diagnosis-hero {
  position: relative;
  margin-top: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}
.hero-story, .score-panel, .primary-card, .factor-list-section, .screening-section, .related-section, .weekly-brief-section, .financial-cta {
  border: 1px solid var(--app-line);
  background: var(--app-bg-card);
  box-shadow: 0 18px 56px rgba(0,0,0,.30);
}
.hero-story {
  position: relative;
  min-height: 238px;
  padding: 22px;
  border-radius: 30px;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 4%, rgba(var(--sector-rgb), .20), transparent 230px),
    #121319;
}
.hero-story::after {
  content: "";
  position: absolute;
  left: 22px;
  bottom: 20px;
  width: 72px;
  height: 2px;
  border-radius: 999px;
  background: var(--sector-accent);
  opacity: .78;
}
.sector-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--sector-chip-border);
  color: var(--sector-accent);
  background: rgba(var(--sector-rgb), .12);
  font-size: 12px;
  font-weight: 850;
}
.hero-story h1 {
  margin: 24px 0 0;
  font-size: clamp(44px, 12vw, 76px);
  line-height: .96;
  font-weight: 940;
  letter-spacing: -0.08em;
}
.hero-story p { margin: 0; }
#detailMeta { margin-top: 10px; color: var(--app-text-sub); font-size: 14px; font-weight: 650; }
.hero-line { margin-top: 20px !important; color: #fff; font-size: 18px; line-height: 1.32; font-weight: 820; letter-spacing: -0.04em; }
.muted-line { margin-top: 8px !important; color: var(--app-text-faint); font-size: 12px; font-weight: 640; }
.score-panel {
  min-height: 238px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 90% 0%, rgba(var(--sector-rgb), .13), transparent 180px),
    #121319;
}
.score-panel__top { display: flex; align-items: center; justify-content: space-between; }
.score-panel__top span { color: var(--app-text-sub); font-size: 12px; font-weight: 860; letter-spacing: .14em; text-transform: uppercase; }
.hero-score {
  display: block;
  color: #fff;
  font-size: clamp(88px, 28vw, 136px);
  line-height: .78;
  font-weight: 950;
  letter-spacing: -0.10em;
}
.score-subtext { margin: 0; color: var(--app-text-sub); font-size: 13px; font-weight: 650; }
.quick-metric-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.metric-chip {
  min-height: 76px;
  padding: 14px;
  border: 1px solid var(--app-line);
  border-radius: 18px;
  background: rgba(255,255,255,.035);
}
.metric-chip span { display: block; color: var(--app-text-sub); font-size: 12px; font-weight: 780; }
.metric-chip strong { display: block; margin-top: 5px; color: #fff; font-size: 20px; line-height: 1.1; font-weight: 900; letter-spacing: -0.05em; }
.main-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 14px; }
.primary-card { border-radius: 26px; padding: 18px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 14px; }
.section-head span { display: block; color: var(--sector-accent); font-size: 11px; font-weight: 880; letter-spacing: .12em; text-transform: uppercase; }
.section-head h2 { margin: 3px 0 0; font-size: 22px; line-height: 1.1; font-weight: 900; letter-spacing: -0.055em; }
.section-head small { color: var(--app-text-sub); font-size: 12px; font-weight: 620; text-align: right; }
.section-head.standalone { margin-bottom: 14px; }
.trend-legend { display: flex; gap: 14px; align-items: center; margin-bottom: 6px; }
.trend-legend span { display: inline-flex; gap: 6px; align-items: center; color: var(--app-text-sub); font-size: 12px; font-weight: 700; }
.trend-legend i { width: 18px; height: 3px; display: inline-block; border-radius: 999px; }
.legend-score { background: var(--sector-accent); }
.legend-cap { background: rgba(255,255,255,.42); }
.chart-card { position: relative; }
.chart-card canvas { width: 100%; height: 292px; display: block; cursor: crosshair; }
.trend-chart-tooltip {
  position: absolute;
  z-index: 9;
  min-width: 144px;
  padding: 9px 10px 10px;
  border: 1px solid rgba(var(--sector-rgb), .34);
  border-radius: 12px;
  background: rgba(8,10,16,.95);
  box-shadow: 0 14px 34px rgba(0,0,0,.35);
  color: #fff;
  pointer-events: none;
  transform: translate(-50%, -108%);
  backdrop-filter: blur(10px);
}
.trend-chart-tooltip[hidden] { display: none; }
.trend-chart-tooltip small {
  display: block;
  color: rgba(156,163,175,.82);
  font-size: 10.5px;
  line-height: 1.15;
  font-weight: 680;
}
.trend-chart-tooltip dl {
  display: grid;
  grid-template-columns: auto max-content;
  gap: 5px 12px;
  margin: 7px 0 0;
  font-size: 11.4px;
  line-height: 1.1;
}
.trend-chart-tooltip dt {
  color: rgba(156,163,175,.82);
  font-weight: 680;
}
.trend-chart-tooltip dd {
  margin: 0;
  color: #fff;
  font-weight: 860;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.score-factor-radar {
  position: relative;
  grid-column: 1 / -1;
  width: 100%;
  min-width: 100%;
  display: grid;
  justify-items: center;
  justify-self: stretch;
  align-self: stretch;
  box-sizing: border-box;
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.score-factor-radar__label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 2px;
}
.score-factor-radar__label span {
  color: var(--sector-accent);
  font-size: 10px;
  line-height: 1;
  font-weight: 860;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.score-factor-radar__label strong {
  color: rgba(247,248,252,.82);
  font-size: 11px;
  line-height: 1;
  font-weight: 780;
}
.score-factor-radar canvas {
  width: min(100%, 420px);
  height: 252px;
  margin-inline: auto;
  justify-self: center;
  display: block;
  cursor: crosshair;
}
.score-commentary {
  width: min(100%, 420px);
  margin-top: 8px;
  padding: 10px 11px 11px;
  border-left: 2px solid var(--sector-accent);
  border-radius: 10px;
  background: rgba(255,255,255,.035);
  color: rgba(247,248,252,.88);
  text-align: left;
}
.score-commentary p {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.48;
  font-weight: 610;
  letter-spacing: -0.02em;
  word-break: keep-all;
}
.score-commentary p + p {
  margin-top: 4px;
  color: rgba(156,163,175,.86);
  font-weight: 560;
}
.score-commentary strong {
  color: #fff;
  font-weight: 760;
}
.factor-radar-tooltip {
  position: absolute;
  z-index: 8;
  min-width: 116px;
  max-width: 184px;
  padding: 8px 10px 9px;
  border: 1px solid rgba(var(--sector-rgb), .34);
  border-radius: 12px;
  background: rgba(8,10,16,.94);
  box-shadow: 0 14px 34px rgba(0,0,0,.34);
  color: #fff;
  pointer-events: none;
  transform: translate(-50%, -100%);
  backdrop-filter: blur(10px);
}
.factor-radar-tooltip[hidden] { display: none; }
.factor-radar-tooltip span {
  display: block;
  color: rgba(156,163,175,.86);
  font-size: 10.5px;
  line-height: 1.2;
  font-weight: 720;
  word-break: keep-all;
}
.factor-radar-tooltip strong {
  display: block;
  margin-top: 3px;
  color: #fff;
  font-size: 18px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.045em;
}
.factor-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.factor-mini { padding: 10px; border: 1px solid var(--app-line-soft); border-radius: 14px; background: rgba(255,255,255,.028); }
.factor-mini span { display: block; color: var(--app-text-sub); font-size: 11px; font-weight: 760; }
.factor-mini strong { display: block; margin-top: 3px; color: #fff; font-size: 18px; line-height: 1; font-weight: 900; }
.factor-list-section, .screening-section, .related-section, .weekly-brief-section, .financial-cta { margin-top: 14px; border-radius: 26px; padding: 18px; }
.factor-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.factor-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--app-line-soft);
  border-radius: 18px;
  background: rgba(255,255,255,.03);
}
.factor-row h3 { margin: 0; font-size: 15px; line-height: 1.18; font-weight: 860; letter-spacing: -0.04em; }
.factor-row p { margin: 5px 0 0; color: var(--app-text-sub); font-size: 12px; line-height: 1.55; }
.factor-row strong { align-self: center; min-width: 48px; text-align: right; color: #fff; font-size: 24px; line-height: 1; font-weight: 930; letter-spacing: -0.06em; }
.signal-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.signal-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--app-line);
  border-radius: 999px;
  color: var(--app-text-sub);
  background: rgba(255,255,255,.035);
  font-size: 12px;
  font-weight: 800;
}
.signal-badge.is-on { color: var(--sector-accent); border-color: var(--sector-chip-border); background: rgba(var(--sector-rgb), .10); }
.related-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(148px, 38%);
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.related-card {
  min-height: 126px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px;
  border: 1px solid var(--app-line-soft);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
}
.related-card:hover { border-color: rgba(var(--sector-rgb), .22); }
.related-card strong { font-size: 15px; line-height: 1.15; font-weight: 850; letter-spacing: -0.04em; }
.related-card small { display: block; margin-top: 4px; color: var(--app-text-sub); font-size: 12px; }
.related-card .mini-score { color: #fff; font-size: 31px; line-height: 1; font-weight: 940; letter-spacing: -0.07em; }
.related-empty {
  margin: 0;
  color: rgba(156,163,175,.72);
  font-size: 12px;
  font-weight: 650;
}
.brief-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 9px;
}
.brief-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 13px 0;
  border-top: 1px solid rgba(255,255,255,.06);
}
.brief-item:first-child {
  border-top: 0;
  padding-top: 0;
}
.brief-item:last-child {
  padding-bottom: 0;
}
.brief-item time {
  display: block;
  color: rgba(156,163,175,.72);
  font-size: 11px;
  line-height: 1;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.brief-item strong {
  display: block;
  margin-top: 5px;
  color: #fff;
  font-size: 14px;
  line-height: 1.22;
  font-weight: 820;
  letter-spacing: -0.035em;
  word-break: keep-all;
}
.brief-item p {
  margin: 5px 0 0;
  color: rgba(156,163,175,.84);
  font-size: 12px;
  line-height: 1.48;
  font-weight: 560;
  word-break: keep-all;
}
.brief-item a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  height: 31px;
  padding: 0 10px;
  border: 1px solid rgba(var(--sector-rgb), .28);
  border-radius: 999px;
  color: var(--sector-accent);
  background: rgba(var(--sector-rgb), .08);
  font-size: 11px;
  font-weight: 780;
  white-space: nowrap;
}
.brief-item a:hover,
.brief-item a:focus-visible {
  border-color: rgba(var(--sector-rgb), .5);
  background: rgba(var(--sector-rgb), .14);
}
.brief-empty {
  margin: 0;
  color: rgba(156,163,175,.74);
  font-size: 12px;
  line-height: 1.5;
  font-weight: 610;
}
.section-head__actions {
  display: grid;
  justify-items: end;
  gap: 8px;
}
.section-more-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(var(--sector-rgb), .28);
  border-radius: 999px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255,255,255,.12), transparent 44%),
    rgba(var(--sector-rgb), .14);
  font-size: 11px;
  line-height: 1;
  font-weight: 820;
  white-space: nowrap;
}
.company-page .weekly-brief-section .section-more-link::after {
  content: "Premium";
  margin-left: 7px;
  color: var(--sector-accent);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.section-more-link:hover,
.section-more-link:focus-visible {
  border-color: rgba(var(--sector-rgb), .52);
  background: rgba(var(--sector-rgb), .20);
}
.financial-cta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-color: rgba(var(--sector-rgb), .18);
  background: rgba(var(--sector-rgb), .055);
}
.financial-cta span { display: block; color: var(--sector-accent); font-size: 11px; font-weight: 880; letter-spacing: .12em; text-transform: uppercase; }
.financial-cta h2 { margin: 4px 0 0; font-size: 20px; line-height: 1.12; font-weight: 900; letter-spacing: -0.05em; }
.financial-cta p { margin: 6px 0 0; color: var(--app-text-sub); font-size: 13px; line-height: 1.55; }
.financial-cta a {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255,255,255,.18), transparent 36%),
    var(--sector-accent);
  box-shadow: 0 10px 26px rgba(var(--sector-rgb), .18), inset 0 1px 0 rgba(255,255,255,.22);
  font-size: 13px;
  font-weight: 930;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.financial-cta a::before {
  content: "";
  position: absolute;
  inset: -2px auto -2px -45%;
  z-index: 0;
  width: 42%;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.58), transparent);
  opacity: 0;
  pointer-events: none;
}
.financial-cta a:hover,
.financial-cta a:focus-visible {
  transform: translateY(-2px);
  filter: saturate(1.1) brightness(1.08);
  box-shadow: 0 16px 34px rgba(var(--sector-rgb), .30), 0 0 0 4px rgba(var(--sector-rgb), .10), inset 0 1px 0 rgba(255,255,255,.26);
}
.financial-cta a:hover::before,
.financial-cta a:focus-visible::before {
  opacity: 1;
  animation: cta-shine .62s ease forwards;
}
.financial-cta a:active {
  transform: translateY(1px) scale(.985);
  filter: saturate(1.05) brightness(.98);
  box-shadow: 0 7px 18px rgba(var(--sector-rgb), .18), inset 0 2px 8px rgba(0,0,0,.16);
}
.premium-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(var(--sector-rgb), .28);
  border-radius: 999px;
  color: #fff;
  background: rgba(var(--sector-rgb), .14);
  font-size: 10px;
  line-height: 1;
  font-weight: 860;
  letter-spacing: .08em;
  text-transform: uppercase;
}
@keyframes cta-shine {
  from { left: -45%; }
  to { left: 118%; }
}
@media (prefers-reduced-motion: reduce) {
  .financial-cta a,
  .financial-cta a::before {
    transition: none;
    animation: none !important;
  }
}
.detail-disclaimer {
  margin-top: 28px;
  color: rgba(156,163,175,.58);
  font-size: 10px;
  line-height: 1.62;
  text-align: center;
  word-break: keep-all;
}
.detail-disclaimer p {
  margin: 0 auto;
  max-width: 560px;
}
.detail-disclaimer p + p {
  margin-top: 10px;
}
.detail-disclaimer .copyright {
  color: rgba(156,163,175,.58);
  font-weight: 560;
  letter-spacing: 0;
}
.load-error {
  position: fixed;
  inset: auto 16px 16px;
  z-index: 100;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  color: #fff;
  background: rgba(90,18,22,.94);
  box-shadow: 0 18px 64px rgba(0,0,0,.48);
}

/* Financial page fallback / Sankey page */
.financial-page .detail-shell { max-width: 1120px; }
.financial-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 18px; }
.financial-panel { border: 1px solid var(--app-line); border-radius: 26px; background: var(--app-bg-card); padding: 18px; box-shadow: 0 18px 56px rgba(0,0,0,.30); }
.control-grid { display: grid; grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 10px; }
.control-grid label { color: var(--app-text-sub); font-size: 12px; font-weight: 760; }
.control-grid select, .control-grid input { width: 100%; height: 44px; margin-top: 6px; border: 1px solid var(--app-line); border-radius: 14px; color: var(--app-text-main); background: var(--app-bg-card-soft); padding: 0 12px; }
.sankey-wrap { width: 100%; overflow: hidden; border-radius: 22px; background: rgba(255,255,255,.025); }
.sankey-wrap svg { width: 100%; min-width: 0; height: auto; display: block; }
.table-wrap { overflow: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 12px 10px; border-bottom: 1px solid var(--app-line-soft); text-align: left; font-size: 13px; }
th { color: var(--app-text-sub); font-size: 12px; font-weight: 800; }

@media (max-height: 780px) and (max-width: 520px) {
  .launch-stack { gap: 24px; padding-top: 28px; padding-bottom: 24px; }
  .focus-card { height: 236px; }
  .launch-copy h1 { font-size: 28px; }
  .focus-card__score span { font-size: 78px; }
}
@media (min-width: 720px) {
  .detail-shell { padding: 24px 24px 72px; }
  .diagnosis-hero { grid-template-columns: minmax(0, 1.38fr) minmax(280px, .62fr); }
  .quick-metric-row { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .main-grid { grid-template-columns: minmax(0, 1.55fr) minmax(280px, .85fr); }
  .chart-card canvas { height: 360px; }
  .score-factor-radar canvas {
    width: min(100%, 460px);
    height: 270px;
  }
  .factor-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .financial-cta { flex-direction: row; align-items: center; justify-content: space-between; }
  .financial-cta a { min-width: max-content; }
  .control-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (min-width: 980px) {
  .detail-shell { padding-top: 28px; }
  .diagnosis-hero { grid-template-columns: 7fr 5fr; }
  .hero-story, .score-panel { min-height: 284px; }
  .main-grid { grid-template-columns: 7fr 5fr; }
  .factor-summary { grid-template-columns: repeat(5, minmax(0,1fr)); }
  .related-scroll { grid-auto-columns: minmax(160px, 22%); }
  .financial-layout { grid-template-columns: 360px minmax(0, 1fr); }
}

/* FINATA v47: financial page follows the company page's focused column */
.financial-page .detail-shell {
  width: min(390px, 100%);
  max-width: none;
  padding: max(14px, env(safe-area-inset-top)) 16px max(56px, env(safe-area-inset-bottom));
}
.financial-page .detail-header {
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 8px;
  top: 12px;
  padding: 7px;
  border-radius: 22px;
  background: rgba(14,15,21,.84);
  box-shadow: 0 16px 42px rgba(0,0,0,.28);
}
.financial-page .detail-header::before {
  content: none;
}
.financial-page .back-link,
.financial-page .plain-icon {
  grid-column: 1;
  grid-row: 1;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.075);
  color: rgba(247,248,252,.86);
  background: rgba(255,255,255,.035);
  font-size: 17px;
  font-weight: 520;
}
.financial-page .detail-search {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  width: 100%;
  min-width: 0;
  height: 42px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(255,255,255,.065);
  border-radius: 17px;
  background: rgba(255,255,255,.04);
}
.financial-page .detail-search-icon {
  position: absolute;
  left: 13px;
  width: 17px;
  height: 17px;
  color: rgba(156,163,175,.74);
  pointer-events: none;
}
.financial-page .detail-search:focus-within {
  border-color: rgba(var(--sector-rgb), .25);
  box-shadow: 0 0 0 3px rgba(var(--sector-rgb), .045);
}
.financial-page .detail-search input {
  height: 40px;
  border: 0;
  border-radius: 17px;
  padding: 0 13px 0 38px;
  background: transparent;
  font-size: 13.4px;
  font-weight: 520;
}
.financial-page .detail-search input::placeholder {
  color: rgba(156,163,175,.68);
}
.financial-page .detail-results {
  top: calc(100% + 10px);
}
.financial-page .diagnosis-hero,
.financial-page .financial-layout {
  grid-template-columns: minmax(0, 1fr);
}
.financial-page .hero-story {
  min-height: 214px;
}
.financial-page .hero-story h1 {
  font-size: clamp(42px, 12vw, 54px);
  line-height: .98;
  letter-spacing: -0.062em;
  word-break: keep-all;
}
.financial-page #detailSubtitle {
  margin-top: 12px;
  color: var(--app-text-sub);
  font-size: 13.5px;
  line-height: 1.35;
  font-weight: 650;
  word-break: keep-all;
}
.financial-page .financial-layout {
  gap: 14px;
  margin-top: 14px;
}
.financial-page .financial-panel {
  padding: 16px;
}
.financial-controls-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}
.financial-controls-panel .section-head {
  margin-bottom: 0;
}
.control-strip {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  gap: 8px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding-bottom: 2px;
  scrollbar-width: thin;
}
.financial-controls-panel .control-grid {
  flex: 0 0 auto;
  display: flex;
  grid-template-columns: none;
  justify-content: flex-end;
  gap: 8px;
  margin-left: auto;
}
.financial-controls-panel .control-grid label {
  flex: 0 0 86px;
  min-width: 86px;
  display: block;
  font-size: 10px;
  line-height: 1;
  white-space: nowrap;
}
.financial-controls-panel .control-grid select {
  display: block;
  height: 34px;
  margin-top: 5px;
  padding: 0 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 690;
}
.sankey-download-button {
  flex: 0 0 auto;
  height: 34px;
  min-width: 82px;
  padding: 0 12px;
  border: 1px solid rgba(var(--sector-rgb), .34);
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, rgba(var(--sector-rgb), .30), rgba(var(--sector-rgb), .15));
  box-shadow: 0 10px 28px rgba(var(--sector-rgb), .12);
  font-size: 12px;
  font-weight: 760;
  white-space: nowrap;
  cursor: pointer;
}
.sankey-download-button:hover {
  transform: translateY(-1px);
  border-color: rgba(var(--sector-rgb), .52);
  box-shadow: 0 14px 34px rgba(var(--sector-rgb), .20);
}
.sankey-download-button:disabled {
  cursor: not-allowed;
  opacity: .45;
  transform: none;
  box-shadow: none;
}
.financial-page .sankey-wrap svg {
  width: min(100%, 640px);
  min-width: 0;
  margin-inline: auto;
}
.financial-page .factor-list-section + .financial-panel {
  margin-top: 14px;
}
.financial-page .table-wrap table {
  min-width: 100%;
  table-layout: fixed;
}
.financial-page .table-wrap th,
.financial-page .table-wrap td {
  white-space: normal;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.financial-page .table-wrap th,
.financial-page .table-wrap td:nth-child(2),
.financial-page .table-wrap td:nth-child(3) {
  white-space: nowrap;
  overflow-wrap: normal;
}
.financial-page .table-wrap th:nth-child(1),
.financial-page .table-wrap td:nth-child(1) {
  width: 13%;
}
.financial-page .table-wrap th:nth-child(2),
.financial-page .table-wrap td:nth-child(2) {
  width: 25%;
}
.financial-page .table-wrap th:nth-child(3),
.financial-page .table-wrap td:nth-child(3) {
  width: 24%;
}
.financial-page .table-wrap th:nth-child(4),
.financial-page .table-wrap td:nth-child(4) {
  width: 38%;
}

@media (max-width: 360px) {
  .financial-page .detail-shell {
    padding-inline: 14px;
  }
  .financial-page .detail-header {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 7px;
    padding: 6px;
  }
  .financial-page .back-link,
  .financial-page .detail-search {
    height: 40px;
  }
  .financial-page .back-link {
    width: 40px;
  }
  .financial-page .detail-search input {
    font-size: 13px;
  }
  .financial-page .hero-story {
    min-height: 198px;
    border-radius: 26px;
  }
  .financial-page .hero-story h1 {
    font-size: 38px;
  }
  .financial-page #detailSubtitle {
    font-size: 12.5px;
  }
  .financial-controls-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  .control-strip {
    justify-content: flex-start;
  }
  .financial-controls-panel .control-grid {
    margin-left: 0;
  }
}

@media (max-width: 720px) {
  .financial-page .table-wrap table {
    min-width: 480px;
  }
  .financial-page .table-wrap th,
  .financial-page .table-wrap td {
    padding-inline: 6px;
    white-space: nowrap !important;
    overflow-wrap: normal;
  }
  .financial-page .table-wrap th:nth-child(1),
  .financial-page .table-wrap td:nth-child(1) {
    display: none;
  }
  .financial-page .table-wrap th:nth-child(2),
  .financial-page .table-wrap td:nth-child(2) {
    width: 124px;
  }
  .financial-page .table-wrap th:nth-child(3),
  .financial-page .table-wrap td:nth-child(3) {
    width: 104px;
    text-align: left;
  }
  .financial-page .table-wrap th:nth-child(4),
  .financial-page .table-wrap td:nth-child(4) {
    width: 252px;
  }
  .financial-page .financial-panel .section-head {
    align-items: center;
    gap: 8px;
  }
  .financial-page .financial-panel .section-head h2 {
    font-size: 18px;
    letter-spacing: -0.035em;
    white-space: nowrap;
  }
  .financial-page .financial-panel .section-head small {
    max-width: 112px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 11px;
  }
}

@media (min-width: 720px) {
  .financial-page .detail-shell {
    width: clamp(444px, 46vw, 552px);
    padding: 24px 0 72px;
  }
  .financial-page .diagnosis-hero,
  .financial-page .financial-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .financial-page .hero-story {
    min-height: 232px;
  }
  .financial-controls-panel .control-grid label {
    flex-basis: 96px;
    min-width: 96px;
  }
}

@media (min-width: 980px) {
  .financial-page .detail-shell {
    width: clamp(500px, 31vw, 590px);
    padding-top: 28px;
  }
  .financial-page .diagnosis-hero,
  .financial-page .financial-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .financial-page .hero-story {
    min-height: 238px;
  }
}

/* Sankey SVG primitives */
.metric-tile {
  min-height: 76px;
  padding: 14px;
  border: 1px solid var(--app-line-soft);
  border-radius: 16px;
  background: rgba(255,255,255,.03);
}
.metric-tile span { display: block; color: var(--app-text-sub); font-size: 12px; font-weight: 760; }
.metric-tile strong { display: block; margin-top: 5px; color: #fff; font-size: 18px; line-height: 1.12; font-weight: 860; letter-spacing: -0.04em; }
.quick-metric-row.stacked { grid-template-columns: minmax(0, 1fr); margin-top: 14px; }
.comment-box p { margin: 0 0 10px; color: rgba(255,255,255,.74); font-size: 13px; line-height: 1.6; }
.comment-box p:last-child { margin-bottom: 0; }
.comment-box strong { color: #fff; }
.comment-box.warning { border-left: 2px solid #FDE68A; padding-left: 12px; }
.sankey-link { fill: none; stroke: rgba(255,255,255,.30); stroke-opacity: .58; stroke-linecap: round; }
.sankey-link.asset { stroke: rgba(var(--sector-rgb), .46); }
.sankey-link.profit { stroke: rgba(var(--sector-rgb), .58); }
.sankey-link.expense { stroke: rgba(255,255,255,.23); }
.sankey-link.negative { stroke: rgba(255, 95, 95, .58); }
.sankey-link.neutral { stroke: rgba(156,163,175,.46); }
.sankey-node rect { fill: #181B24; stroke: rgba(255,255,255,.11); stroke-width: 1; rx: 16; ry: 16; }
.sankey-node.emphasis rect { fill: rgba(var(--sector-rgb), .13); stroke: rgba(var(--sector-rgb), .36); }
.sankey-node.expense rect { fill: rgba(255,255,255,.045); }
.sankey-node.negative rect { fill: rgba(255, 95, 95, .11); stroke: rgba(255, 95, 95, .32); }
.sankey-node-label { fill: rgba(190,198,214,.78); font-size: 15px; font-weight: 560; letter-spacing: 0; }
.sankey-node-value { fill: #fff; font-size: 20px; font-weight: 830; letter-spacing: 0; }
.sankey-legend-line { stroke: rgba(255,255,255,.38); stroke-width: 4; stroke-linecap: round; }
.sankey-legend-line.asset { stroke: rgba(var(--sector-rgb), .62); }
.sankey-legend-line.profit { stroke: rgba(var(--sector-rgb), .70); }
.sankey-legend-line.expense { stroke: rgba(255,255,255,.32); }
.sankey-legend-line.negative { stroke: rgba(255, 95, 95, .70); }
.sankey-legend-line.neutral { stroke: rgba(156,163,175,.6); }
.sankey-legend-text { fill: rgba(255,255,255,.64); font-size: 12px; font-weight: 700; }
.sankey-empty { fill: rgba(255,255,255,.64); font-size: 18px; font-weight: 800; }
td.num { text-align: right; font-variant-numeric: tabular-nums; }
@media (min-width: 720px) { .quick-metric-row.stacked { grid-template-columns: minmax(0, 1fr); } }
.search-results > button {
  width: 100%;
  display: block;
  padding: 14px 15px;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.055);
  color: var(--app-text-main);
  background: transparent;
  text-align: left;
}
.search-results > button:hover { background: rgba(255,255,255,.045); }
.search-results > button strong { font-size: 14px; font-weight: 820; }
.search-results > button span, .search-results > button small { display: block; color: var(--app-text-sub); font-size: 12px; font-weight: 620; margin-top: 2px; }

/* FINATA admin console */
.admin-page {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(15,17,24,.98), rgba(10,11,15,.98)),
    var(--app-bg-base);
}
.admin-page[data-require-role="admin"]:not(.auth-guard-granted):not(.auth-guard-locked) .admin-shell {
  opacity: 0;
  pointer-events: none;
}
.admin-page::before { background: linear-gradient(180deg, rgba(var(--sector-rgb), .035), transparent 340px); }
.admin-shell {
  position: relative;
  z-index: 1;
  width: min(1440px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 244px minmax(0, 1fr);
}
.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 22px 16px;
  border-right: 1px solid var(--app-line-soft);
  background: rgba(10,11,16,.74);
}
.admin-brand {
  display: grid;
  gap: 3px;
  padding: 8px 9px 24px;
}
.admin-brand strong {
  font-size: 23px;
  line-height: 1;
  font-weight: 930;
  letter-spacing: -0.04em;
}
.admin-brand span {
  color: var(--app-text-sub);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.admin-nav {
  display: grid;
  gap: 6px;
}
.admin-nav button {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: rgba(247,248,252,.76);
  background: transparent;
  text-align: left;
  font-size: 13px;
  font-weight: 730;
}
.admin-nav button:hover,
.admin-nav button.active {
  color: #fff;
  border-color: rgba(var(--sector-rgb), .22);
  background: rgba(var(--sector-rgb), .10);
}
.admin-workspace {
  min-width: 0;
  padding: 24px;
}
.admin-topbar {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.admin-eyebrow,
.admin-section-head span,
.upload-card span,
.admin-kpi span {
  color: var(--sector-accent);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.admin-topbar h1,
.admin-section-head h2,
.upload-card h3 {
  margin: 3px 0 0;
  color: #fff;
  line-height: 1.08;
  letter-spacing: -0.045em;
}
.admin-topbar h1 { font-size: 28px; font-weight: 900; }
.admin-section-head h2 { font-size: 20px; font-weight: 880; }
.upload-card h3 { font-size: 19px; font-weight: 880; }
.admin-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.admin-actions button,
.admin-panel button,
.upload-card label {
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border: 1px solid var(--app-line);
  border-radius: 8px;
  color: #fff;
  background: rgba(255,255,255,.045);
  font-size: 12px;
  font-weight: 760;
}
.admin-panel button.is-empty {
  color: var(--app-text-sub);
  border-color: var(--app-line-soft);
  background: rgba(255,255,255,.025);
}
.admin-approval-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}
.admin-approval-actions .muted {
  border-color: rgba(255,255,255,.12);
  color: rgba(247,248,252,.68);
  background: rgba(255,255,255,.035);
}
.admin-approval-actions .primary {
  border-color: rgba(var(--sector-rgb), .42);
  color: #fff;
  background: rgba(var(--sector-rgb), .18);
}
.admin-actions button:disabled,
.admin-panel button:disabled {
  cursor: wait;
  opacity: .55;
}
.admin-actions .primary {
  border-color: rgba(var(--sector-rgb), .36);
  background: rgba(var(--sector-rgb), .18);
}
.admin-alert {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(52,211,153,.22);
  border-radius: 8px;
  background: rgba(16,185,129,.07);
}
.admin-alert strong { color: #D1FAE5; font-size: 13px; }
.admin-alert span { color: rgba(247,248,252,.72); font-size: 12px; font-weight: 620; }
.admin-view { display: none; }
.admin-view.active { display: grid; gap: 16px; }
.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.admin-kpi-grid.compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.admin-kpi,
.admin-panel,
.upload-card {
  border: 1px solid var(--app-line);
  border-radius: 8px;
  background: rgba(18,19,25,.92);
  box-shadow: 0 18px 46px rgba(0,0,0,.22);
}
.admin-kpi {
  min-height: 112px;
  padding: 15px;
}
.admin-kpi strong {
  display: block;
  margin-top: 9px;
  color: #fff;
  font-size: 25px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.05em;
}
.admin-kpi p,
.upload-card p,
.admin-timeline p {
  margin: 8px 0 0;
  color: var(--app-text-sub);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 600;
}
.admin-kpi.risk strong { color: #FDE68A; }
.admin-grid.two {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
  gap: 16px;
}
.admin-panel { padding: 16px; }
.admin-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}
.admin-section-head small {
  color: var(--app-text-sub);
  font-size: 12px;
  font-weight: 650;
}
.admin-timeline {
  display: grid;
  gap: 10px;
}
.admin-timeline article {
  padding: 12px;
  border: 1px solid var(--app-line-soft);
  border-radius: 8px;
  background: rgba(255,255,255,.025);
}
.admin-timeline time {
  color: #FDE68A;
  font-size: 11px;
  font-weight: 760;
}
.admin-timeline strong {
  display: block;
  margin-top: 4px;
  font-size: 14px;
}
.admin-signal-list {
  display: grid;
  gap: 8px;
}
.admin-signal-list div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: baseline;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid var(--app-line-soft);
}
.admin-signal-list div:last-child { border-bottom: 0; }
.admin-signal-list span,
.admin-table td,
.admin-table th {
  color: rgba(247,248,252,.72);
  font-size: 12px;
}
.admin-signal-list strong {
  color: #fff;
  font-size: 18px;
  font-weight: 850;
}
.admin-signal-list small { color: var(--sector-accent); font-size: 12px; font-weight: 700; }
.upload-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.admin-pipeline-note {
  margin: -4px 0 14px;
  padding: 12px 13px;
  border: 1px solid rgba(245,158,11,.20);
  border-radius: 8px;
  color: rgba(254,243,199,.88);
  background: rgba(245,158,11,.07);
  font-size: 12px;
  line-height: 1.55;
  font-weight: 650;
}
.admin-api-status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-left: 8px;
  padding: 0 8px;
  border-radius: 999px;
  color: #FDE68A;
  background: rgba(245,158,11,.12);
  font-size: 11px;
  font-weight: 780;
}
.admin-api-status.ok {
  color: #A7F3D0;
  background: rgba(16,185,129,.13);
}
.admin-api-status.warn {
  color: #FDE68A;
  background: rgba(245,158,11,.12);
}
.upload-card {
  display: grid;
  gap: 14px;
  padding: 16px;
}
.upload-card input { display: none; }
.upload-card label {
  width: max-content;
  border-color: rgba(var(--sector-rgb), .32);
  background: rgba(var(--sector-rgb), .14);
}
.upload-card output {
  min-height: 18px;
  color: var(--app-text-sub);
  font-size: 12px;
  font-weight: 650;
}
.upload-card output.ok { color: #A7F3D0; }
.upload-card output.error { color: #FCA5A5; }
.admin-table-wrap {
  width: 100%;
  overflow: auto;
}
.admin-table {
  min-width: 940px;
}
.admin-table th {
  color: var(--app-text-sub);
  font-weight: 800;
  white-space: nowrap;
}
.admin-table td {
  border-color: var(--app-line-soft);
  white-space: nowrap;
}
.admin-table tr.approval-approved {
  animation: approvalPulse 1.4s ease-out;
}
.upload-empty-row td {
  padding: 20px 12px;
  text-align: center;
  color: var(--app-text-sub);
}
.admin-approval-help {
  margin: 12px 0 0;
  color: rgba(247,248,252,.62);
  font-size: 12px;
  line-height: 1.55;
  font-weight: 600;
}
.approved-note {
  display: block;
  margin-top: 3px;
  color: #A7F3D0;
  font-size: 10px;
  font-weight: 700;
}
.status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 760;
}
.status.done { color: #A7F3D0; background: rgba(16,185,129,.12); }
.status.wait { color: #BFDBFE; background: rgba(59,130,246,.12); }
.status.hold { color: #FDE68A; background: rgba(245,158,11,.12); }
.status.deploy { color: #FDE68A; background: rgba(245,158,11,.12); }
.status.risk { color: #FCA5A5; background: rgba(248,113,113,.12); }
.admin-muted-cell {
  display: block;
  margin-top: 4px;
  color: rgba(156,163,175,.72);
  font-size: 10px;
  font-weight: 650;
}
.admin-filter {
  width: 220px;
  height: 38px;
  border: 1px solid var(--app-line);
  border-radius: 8px;
  padding: 0 12px;
  color: #fff;
  background: rgba(255,255,255,.04);
}
.admin-filter-select {
  width: 136px;
  height: 38px;
  border: 1px solid var(--app-line);
  border-radius: 8px;
  padding: 0 10px;
  color: #fff;
  background: rgba(255,255,255,.04);
  font: inherit;
  font-size: 12px;
  font-weight: 680;
}
.admin-inline-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}
.member-filter-bar {
  max-width: 720px;
}
.admin-table-summary {
  margin: 10px 0 0;
  color: rgba(156,163,175,.82);
  font-size: 12px;
  font-weight: 650;
}
.compact-table {
  min-width: 760px;
}
.member-audit-panel {
  margin-top: 16px;
}
.member-cell strong,
.member-cell small {
  display: block;
}
.member-cell small {
  max-width: 220px;
  overflow: hidden;
  margin-top: 4px;
  color: rgba(156,163,175,.72);
  font-size: 10px;
  text-overflow: ellipsis;
}
.member-role-select,
.member-paid-until {
  height: 32px;
  border: 1px solid var(--app-line-soft);
  border-radius: 8px;
  color: #fff;
  background: rgba(255,255,255,.045);
  font: inherit;
  font-size: 12px;
  font-weight: 680;
  padding: 0 8px;
}
.admin-page select {
  color-scheme: dark;
}
.admin-page select option {
  color: #F7F8FC;
  background: #11131A;
}
.admin-page select option:checked,
.admin-page select option:hover {
  color: #FFFFFF;
  background: #263043;
}
.member-paid-until {
  width: 136px;
}
.member-save-button {
  margin-left: 8px;
  min-height: 28px !important;
  padding: 0 9px !important;
  font-size: 11px !important;
}
.content-status-select {
  height: 30px;
  min-width: 76px;
  border: 1px solid var(--app-line-soft);
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,.045);
  font: inherit;
  font-size: 11px;
  font-weight: 780;
  padding: 0 9px;
}
.content-status-select.done {
  border-color: rgba(16,185,129,.28);
  background: rgba(16,185,129,.12);
  color: #D1FAE5;
}
.content-status-select.wait {
  border-color: rgba(245,158,11,.26);
  background: rgba(245,158,11,.10);
  color: #FDE68A;
}
.content-status-select:disabled {
  opacity: .58;
  cursor: wait;
}
.inquiry-status-select {
  height: 30px;
  min-width: 82px;
  border: 1px solid var(--app-line-soft);
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,.045);
  font: inherit;
  font-size: 11px;
  font-weight: 780;
  padding: 0 9px;
}
.inquiry-status-select.done {
  border-color: rgba(16,185,129,.28);
  background: rgba(16,185,129,.12);
  color: #D1FAE5;
}
.inquiry-status-select.hold {
  border-color: rgba(245,158,11,.26);
  background: rgba(245,158,11,.10);
  color: #FDE68A;
}
.inquiry-status-select.deploy {
  border-color: rgba(59,130,246,.28);
  background: rgba(59,130,246,.12);
  color: #BFDBFE;
}
.inquiry-status-select.wait {
  border-color: rgba(156,163,175,.22);
  background: rgba(156,163,175,.10);
  color: rgba(247,248,252,.70);
}
.inquiry-status-select:disabled {
  opacity: .58;
  cursor: wait;
}
.inquiry-contact-cell strong,
.inquiry-contact-cell small,
.inquiry-title-cell strong,
.inquiry-title-cell small {
  display: block;
}
.inquiry-contact-cell strong,
.inquiry-title-cell strong {
  color: rgba(247,248,252,.92);
}
.inquiry-contact-cell small,
.inquiry-title-cell small {
  max-width: 320px;
  overflow: hidden;
  margin-top: 4px;
  color: rgba(156,163,175,.72);
  font-size: 10.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-mail-link {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(var(--sector-rgb), .24);
  border-radius: 999px;
  padding: 0 10px;
  color: #fff;
  background: rgba(var(--sector-rgb), .10);
  font-size: 11px;
  font-weight: 780;
}
.content-editor-form {
  display: grid;
  gap: 12px;
}
.content-editor-form label {
  display: grid;
  gap: 6px;
  color: rgba(156,163,175,.86);
  font-size: 12px;
  font-weight: 760;
}
.content-editor-form input,
.content-editor-form select,
.content-editor-form textarea {
  width: 100%;
  border: 1px solid var(--app-line-soft);
  border-radius: 10px;
  color: #fff;
  background: rgba(255,255,255,.045);
  font: inherit;
  font-size: 13px;
  font-weight: 620;
  padding: 10px 11px;
}
.content-editor-form input,
.content-editor-form select {
  height: 38px;
  padding-block: 0;
}
.content-editor-form textarea {
  resize: vertical;
  min-height: 104px;
  line-height: 1.55;
}
.content-editor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.content-editor-actions {
  display: flex;
  align-items: end;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 18px;
}
.content-title-cell strong,
.content-title-cell small {
  display: block;
}
.content-title-cell strong {
  max-width: 280px;
  overflow: hidden;
  color: rgba(247,248,252,.92);
  text-overflow: ellipsis;
}
.content-title-cell small {
  max-width: 320px;
  overflow: hidden;
  margin-top: 4px;
  color: rgba(156,163,175,.72);
  font-size: 10.5px;
  text-overflow: ellipsis;
}
.account-shell {
  max-width: 760px;
}
.account-page .detail-header {
  width: max-content;
  display: flex;
  grid-template-columns: none;
  padding: 0;
  border: 0;
  background: transparent;
  backdrop-filter: none;
}
.account-page .detail-header::before {
  content: none;
}
.account-page .back-link {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.075);
  background: rgba(255,255,255,.055);
  box-shadow: 0 14px 34px rgba(0,0,0,.26);
}
.account-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 14px;
  margin-top: 14px;
}
.account-panel {
  border: 1px solid var(--app-line);
  border-radius: 26px;
  background: var(--app-bg-card);
  box-shadow: 0 18px 56px rgba(0,0,0,.30);
  padding: 18px;
}
.account-shell > .account-panel {
  margin-top: 16px;
}
.account-summary {
  display: grid;
  gap: 12px;
}
.account-summary p,
.account-note {
  margin: 0;
  color: rgba(247,248,252,.72);
  font-size: 13px;
  line-height: 1.6;
  font-weight: 620;
}
.account-tier {
  display: inline-flex;
  width: max-content;
  min-height: 34px;
  align-items: center;
  border-radius: 999px;
  padding: 0 12px;
  color: #fff;
  background: rgba(var(--sector-rgb), .18);
  font-size: 14px;
  font-weight: 850;
}
.account-tier.admin { background: rgba(245,158,11,.22); color: #FDE68A; }
.account-tier.paid { background: rgba(16,185,129,.18); color: #A7F3D0; }
.account-tier.expired { background: rgba(248,113,113,.14); color: #FCA5A5; }
.account-summary dl,
.account-info {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 8px 12px;
  margin: 0;
}
.account-summary dt,
.account-info dt {
  color: rgba(156,163,175,.82);
  font-size: 12px;
  font-weight: 740;
}
.account-summary dd,
.account-info dd {
  min-width: 0;
  overflow-wrap: anywhere;
  margin: 0;
  color: rgba(247,248,252,.88);
  font-size: 12px;
  font-weight: 680;
}
.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.account-actions button {
  min-height: 30px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: rgba(247,248,252,.88);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 760;
  padding: 0 12px;
}
.account-actions .account-admin-button {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(245,158,11,.26);
  border-radius: 999px;
  background: rgba(245,158,11,.13);
  color: #FDE68A;
  font-size: 12px;
  font-weight: 780;
  padding: 0 12px;
}
.account-actions .account-admin-button:hover,
.account-actions .account-admin-button:focus-visible {
  border-color: rgba(245,158,11,.48);
  background: rgba(245,158,11,.18);
  outline: none;
}
.account-stock-list {
  display: grid;
  gap: 8px;
}
.account-stock-item {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--app-line-soft);
  border-radius: 14px;
  padding: 10px 12px;
  color: rgba(247,248,252,.86);
  background: rgba(255,255,255,.027);
  text-decoration: none;
}
.account-stock-item:hover,
.account-stock-item:focus-visible {
  border-color: rgba(var(--sector-rgb), .28);
  background: rgba(var(--sector-rgb), .07);
  outline: none;
}
.account-stock-item span {
  min-width: 0;
}
.account-stock-item strong {
  display: block;
  overflow: hidden;
  color: #fff;
  font-size: 14px;
  font-weight: 820;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account-stock-item small {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  color: rgba(156,163,175,.76);
  font-size: 11.5px;
  font-weight: 620;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account-stock-item em {
  flex: 0 0 auto;
  color: var(--sector-accent);
  font-size: 11px;
  font-style: normal;
  font-weight: 780;
  white-space: nowrap;
}
.payment-shell {
  max-width: 760px;
}
.payment-page .payment-hero .hero-story {
  min-height: 224px;
}
.payment-page .payment-hero .hero-story h1 {
  font-size: 58px;
  white-space: nowrap;
}
.payment-page #paymentSubtitle {
  max-width: min(100%, 520px);
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.38;
  overflow: visible;
  word-break: keep-all;
  overflow-wrap: normal;
  white-space: normal;
}
.payment-benefit-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.payment-benefit-card .section-head h2 {
  font-size: 20px;
}
.payment-panel {
  margin-top: 16px;
}
.payment-product-list {
  display: grid;
  gap: 10px;
}
.payment-product-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  min-height: 94px;
  padding: 16px;
  border: 1px solid var(--app-line-soft);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--sector-rgb), .10), transparent 180px),
    rgba(255,255,255,.027);
}
.payment-product-card.featured {
  border-color: rgba(var(--sector-rgb), .32);
  background:
    linear-gradient(135deg, rgba(var(--sector-rgb), .13), transparent 42%),
    rgba(255,255,255,.035);
}
.payment-product-card span {
  color: var(--sector-accent);
  font-size: 10px;
  font-weight: 860;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.payment-product-card h3 {
  margin: 5px 0 0;
  color: #fff;
  font-size: 18px;
  line-height: 1.22;
  font-weight: 880;
  letter-spacing: -0.04em;
}
.payment-product-card p {
  margin: 7px 0 0;
  color: rgba(247,248,252,.64);
  font-size: 12.5px;
  line-height: 1.48;
  font-weight: 590;
}
.payment-product-card strong {
  color: #fff;
  font-size: 20px;
  line-height: 1;
  font-weight: 900;
  white-space: nowrap;
}
.payment-product-card button {
  min-height: 38px;
  border: 1px solid rgba(var(--sector-rgb), .38);
  border-radius: 999px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255,255,255,.16), transparent 44%),
    rgba(var(--sector-rgb), .26);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 820;
  padding: 0 15px;
  white-space: nowrap;
}
.payment-product-card button:hover,
.payment-product-card button:focus-visible {
  border-color: rgba(var(--sector-rgb), .62);
  background: rgba(var(--sector-rgb), .34);
  outline: none;
}
.payment-product-card button:disabled {
  cursor: wait;
  opacity: .62;
}
.payment-secure-note {
  margin: 14px 0 0;
  color: rgba(156,163,175,.72);
  font-size: 11.5px;
  line-height: 1.55;
  font-weight: 620;
}
.payment-result-shell {
  background:
    radial-gradient(circle at 50% 0%, rgba(var(--sector-rgb), .16), transparent 420px),
    #05070B;
}
.payment-result-card h1 {
  color: #fff;
}
.payment-page[data-payment-state="done"] .payment-result-card {
  border-color: rgba(16,185,129,.30);
}
.payment-page[data-payment-state="error"] .payment-result-card {
  border-color: rgba(248,113,113,.28);
}
.account-payment-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}
.account-payment-item {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--app-line-soft);
  border-radius: 14px;
  background: rgba(255,255,255,.027);
}
.account-payment-item span {
  min-width: 0;
}
.account-payment-item strong,
.account-payment-item small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account-payment-item strong {
  color: #fff;
  font-size: 13px;
  font-weight: 820;
}
.account-payment-item small {
  margin-top: 3px;
  color: rgba(156,163,175,.76);
  font-size: 11px;
  font-weight: 620;
}
.account-payment-item em {
  color: var(--sector-accent);
  font-size: 12px;
  font-style: normal;
  font-weight: 830;
  white-space: nowrap;
}
.security-list {
  display: grid;
  gap: 10px;
}
.security-list label {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 11px;
  border: 1px solid var(--app-line-soft);
  border-radius: 8px;
  color: rgba(247,248,252,.78);
  background: rgba(255,255,255,.025);
  font-size: 13px;
  font-weight: 650;
}
.security-list input { accent-color: var(--sector-accent); }
.term-bars {
  display: grid;
  gap: 12px;
}
.term-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 64px;
  align-items: center;
  gap: 10px;
}
.term-row span,
.term-row strong {
  color: rgba(247,248,252,.78);
  font-size: 12px;
  font-weight: 720;
}
.term-row strong { text-align: right; }
.term-row b {
  position: relative;
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.055);
}
.term-row i {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(var(--sector-rgb), .74), rgba(52,211,153,.72));
}
.traffic-bars {
  height: 220px;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: end;
  gap: 10px;
  padding-top: 12px;
}
.traffic-bars i {
  display: block;
  min-height: 24px;
  border-radius: 8px 8px 2px 2px;
  background: linear-gradient(180deg, rgba(var(--sector-rgb), .76), rgba(var(--sector-rgb), .20));
}
.audit-log {
  display: grid;
  gap: 8px;
}
.audit-log p {
  margin: 0;
  padding: 10px 11px;
  border: 1px solid var(--app-line-soft);
  border-radius: 8px;
  color: rgba(247,248,252,.76);
  background: rgba(255,255,255,.025);
  font-size: 12px;
  font-weight: 630;
}
.audit-log time {
  display: inline-block;
  min-width: 44px;
  color: var(--sector-accent);
  font-weight: 820;
}
.admin-toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 120;
  max-width: min(360px, calc(100vw - 32px));
  padding: 13px 15px;
  border: 1px solid rgba(52,211,153,.34);
  border-radius: 8px;
  color: #ECFDF5;
  background: rgba(9,30,28,.96);
  box-shadow: 0 18px 56px rgba(0,0,0,.36);
  font-size: 13px;
  font-weight: 720;
}
.admin-toast.warn {
  border-color: rgba(245,158,11,.38);
  color: #FEF3C7;
  background: rgba(44,31,13,.96);
}
.auth-guard-locked {
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 199, 255, .12), transparent 380px),
    #05070B;
  color: var(--app-text);
}
.auth-guard-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.auth-guard-card {
  width: min(420px, 100%);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 28px;
  background: rgba(15,18,28,.92);
  box-shadow: 0 28px 80px rgba(0,0,0,.42);
  padding: 28px;
  text-align: center;
}
.admin-page.auth-guard-locked .auth-guard-card {
  width: min(440px, calc(100vw - 44px));
}
.auth-guard-card span {
  display: block;
  color: var(--sector-accent);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.auth-guard-card h1 {
  margin: 10px 0 0;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: 0;
  color: #fff !important;
}
.auth-guard-card p {
  margin: 12px 0 0;
  color: rgba(247,248,252,.72);
  font-size: 14px;
  line-height: 1.65;
}
.auth-guard-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}
.auth-guard-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  padding: 0 16px;
  color: rgba(247,248,252,.82);
  text-decoration: none;
  font-size: 13px;
  font-weight: 760;
}
.auth-guard-actions a.primary {
  border-color: rgba(20,184,255,.44);
  background: linear-gradient(135deg, rgba(20,184,255,.28), rgba(25,211,190,.18));
  color: #fff;
}
.finata-auth-widget {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: min(390px, calc(100vw - 32px));
  border: 1px solid rgba(20,184,255,.24);
  border-radius: 999px;
  color: rgba(247,248,252,.88);
  background: rgba(12,14,20,.96);
  box-shadow: 0 18px 42px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.04);
  backdrop-filter: blur(14px);
  padding: 8px 8px 8px 14px;
}
.finata-auth-widget__body {
  min-width: 0;
  display: grid;
  gap: 1px;
}
.finata-auth-widget__body span {
  color: var(--sector-accent);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0;
  white-space: nowrap;
}
.finata-auth-widget__body strong {
  max-width: 190px;
  overflow: hidden;
  color: rgba(247,248,252,.76);
  font-size: 11px;
  font-weight: 560;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.finata-auth-widget button {
  min-height: 34px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: rgba(247,248,252,.88);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 760;
  padding: 0 12px;
}
.finata-auth-widget a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  padding: 0 12px;
  color: rgba(247,248,252,.88);
  background: rgba(255,255,255,.08);
  text-decoration: none;
  font-size: 12px;
  font-weight: 760;
  white-space: nowrap;
}
.finata-auth-widget button:hover,
.finata-auth-widget button:focus-visible,
.finata-auth-widget a:hover,
.finata-auth-widget a:focus-visible {
  border-color: rgba(20,184,255,.42);
  background: rgba(20,184,255,.16);
  outline: none;
}
@media (max-width: 640px) {
  .finata-auth-widget {
    right: max(8px, env(safe-area-inset-right));
    bottom: max(8px, env(safe-area-inset-bottom));
    gap: 6px;
    max-width: min(260px, calc(100vw - 16px));
    opacity: .66;
    padding: 6px 6px 6px 10px;
    transform: scale(.92);
    transform-origin: right bottom;
    transition: opacity .18s ease, transform .18s ease, background-color .18s ease;
  }
  .finata-auth-widget:hover,
  .finata-auth-widget:focus-within {
    opacity: .96;
    transform: scale(1);
  }
  .finata-auth-widget__body span {
    font-size: 10.5px;
  }
  .finata-auth-widget__body strong {
    display: none;
  }
  .finata-auth-widget button {
    min-height: 29px;
    padding: 0 9px;
    font-size: 11px;
  }
  .finata-auth-widget a {
    min-height: 29px;
    padding: 0 9px;
    font-size: 11px;
  }
  .company-page .weekly-brief-section .section-head {
    align-items: center;
    gap: 8px;
  }
  .company-page .weekly-brief-section .section-head > div:first-child {
    min-width: 0;
    display: flex;
    align-items: baseline;
    gap: 7px;
  }
  .company-page .weekly-brief-section .section-head span,
  .company-page .weekly-brief-section .section-head h2 {
    white-space: nowrap;
  }
  .company-page .weekly-brief-section .section-head span {
    font-size: 10px;
    letter-spacing: .04em;
  }
  .company-page .weekly-brief-section .section-head h2 {
    margin-top: 0;
    font-size: 18px;
    letter-spacing: -0.035em;
  }
  .company-page .weekly-brief-section .section-head__actions small,
  .company-page .weekly-brief-section .section-more-link::after {
    display: none;
  }
  .company-page .weekly-brief-section .section-more-link {
    min-height: 28px;
    padding: 0 10px;
  }
}
@keyframes approvalPulse {
  0% { background: rgba(16,185,129,.18); }
  100% { background: transparent; }
}
@media (max-width: 1080px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar {
    position: static;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--app-line-soft);
  }
  .admin-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .admin-brand { padding-bottom: 14px; }
}
@media (max-width: 820px) {
  .admin-workspace { padding: 16px; }
  .admin-topbar,
  .admin-alert,
  .admin-section-head { flex-direction: column; align-items: stretch; }
  .admin-inline-actions { justify-content: stretch; }
  .admin-inline-actions .admin-filter,
  .admin-inline-actions .admin-filter-select { width: 100%; }
  .admin-kpi-grid,
  .admin-kpi-grid.compact,
  .admin-grid.two,
  .upload-grid { grid-template-columns: minmax(0, 1fr); }
  .admin-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-filter,
  .admin-filter-select { width: 100%; }
  .content-editor-grid { grid-template-columns: minmax(0, 1fr); }
  .content-editor-actions { justify-content: stretch; padding-top: 0; }
  .content-editor-actions button { flex: 1; }
}
@media (max-width: 720px) {
  .account-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .payment-page .payment-hero .hero-story h1 {
    font-size: 42px;
  }
  .payment-page #paymentSubtitle {
    font-size: 13px;
    line-height: 1.46;
  }
  .payment-benefit-grid,
  .payment-product-card {
    grid-template-columns: minmax(0, 1fr);
  }
  .payment-product-card {
    align-items: start;
  }
  .payment-product-card strong {
    font-size: 19px;
  }
}

@media (max-width: 380px) {
  .payment-page .payment-hero .hero-story h1 {
    font-size: 34px;
  }
  .payment-page #paymentSubtitle {
    font-size: 11.5px;
  }
}

/* FINATA brand refinement v1 */
:root {
  --finata-cyan: #16B8EA;
  --finata-blue: #0A74B8;
  --finata-indigo: #2B2A83;
  --finata-ink: #0B0B0F;
}
body::before {
  background:
    radial-gradient(circle at 50% -10%, rgba(22, 184, 234, .060), transparent 310px),
    radial-gradient(circle at 20% 88%, rgba(43, 42, 131, .050), transparent 260px),
    radial-gradient(circle at 76% 76%, rgba(var(--sector-rgb), .035), transparent 250px),
    linear-gradient(180deg, rgba(255,255,255,.012), rgba(255,255,255,0) 38%);
}
.launch-stack {
  gap: 22px;
  padding: 28px 24px 24px;
}
.launch-brand {
  gap: 9px;
}
.brand-logo {
  display: block;
  width: min(214px, 62vw);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 30px rgba(0,0,0,.36));
}
.brand-logo--horizontal { aspect-ratio: 810 / 256; }
.brand-slogan {
  color: rgba(247,248,252,.72) !important;
  font-size: 10px !important;
  line-height: 1.15 !important;
  font-weight: 850 !important;
  letter-spacing: .23em !important;
}
.launch-copy h1 {
  font-size: clamp(28px, 8.5vw, 34px);
  line-height: 1.12;
  letter-spacing: -0.066em;
}
.launch-copy h1 em {
  font-style: normal;
  color: #fff;
  background: linear-gradient(90deg, #fff, #cfefff 42%, rgba(22,184,234,.96));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.launch-copy p {
  max-width: 316px;
  margin: 10px auto 0;
  color: rgba(247,248,252,.66);
  font-size: 14px;
  line-height: 1.56;
  font-weight: 620;
  letter-spacing: -0.028em;
}
.method-strip {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 7px;
  margin: -2px 0 0;
  padding: 0;
  list-style: none;
}
.method-strip li {
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.065);
  color: rgba(247,248,252,.58);
  background: rgba(255,255,255,.026);
  font-size: 10px;
  line-height: 1;
  font-weight: 810;
  letter-spacing: -0.012em;
  white-space: nowrap;
}
.focus-card {
  height: 238px;
  background:
    radial-gradient(circle at 84% 8%, rgba(var(--sector-rgb), .128), transparent 138px),
    radial-gradient(circle at 12% 115%, rgba(43,42,131,.10), transparent 170px),
    linear-gradient(180deg, rgba(255,255,255,.020), rgba(255,255,255,0)),
    #11131A;
}
.focus-card__watermark {
  position: absolute;
  right: -24px;
  bottom: -44px;
  width: 164px;
  height: auto;
  opacity: .052;
  filter: saturate(1.05);
  pointer-events: none;
  user-select: none;
}
.focus-card__score {
  margin-top: 29px;
}
.focus-card__score span {
  font-size: clamp(76px, 20.5vw, 84px);
}
.focus-card__spark {
  height: 50px;
}
.brand-note {
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 13px 14px;
  border: 1px solid rgba(255,255,255,.062);
  border-radius: 18px;
  background: rgba(255,255,255,.025);
}
.brand-note strong {
  color: rgba(255,255,255,.88);
  font-size: 11px;
  line-height: 1.45;
  font-weight: 900;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.brand-note span {
  color: rgba(156,163,175,.76);
  font-size: 11px;
  line-height: 1.45;
  font-weight: 620;
  letter-spacing: -0.015em;
}
.start-block {
  margin-top: 0;
  gap: 13px;
}
.start-block p {
  color: rgba(247,248,252,.64);
  font-size: 12px;
  font-weight: 720;
}
.start-button {
  height: 52px;
  font-size: 13px;
}
.start-button.google {
  color: #111827;
  background: linear-gradient(180deg, #FFFFFF, #EEF1F7);
}
.start-block small {
  color: rgba(156,163,175,.49);
}
.detail-header::before {
  content: "FINATA";
  align-self: center;
  justify-self: center;
  grid-column: 2;
  grid-row: 1;
  pointer-events: none;
  color: rgba(255,255,255,.18);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .20em;
  transform: translateY(-28px);
}
@media (max-height: 780px) and (max-width: 520px) {
  .launch-stack { gap: 18px; padding-top: 24px; padding-bottom: 20px; }
  .brand-logo { width: 188px; }
  .brand-slogan { font-size: 9px !important; }
  .launch-copy h1 { font-size: 27px; }
  .launch-copy p { font-size: 13px; line-height: 1.45; }
  .method-strip li { height: 26px; padding: 0 8px; font-size: 9.5px; }
  .focus-card { height: 218px; }
  .focus-card__score { margin-top: 22px; }
  .focus-card__score span { font-size: 72px; }
  .brand-note { display: none; }
  .start-button { height: 48px; }
}
@media (min-width: 720px) {
  .landing-page { padding: 36px 0; }
  .mobile-launch {
    width: min(430px, 100vw);
    min-height: 844px;
    border: 1px solid rgba(255,255,255,.055);
    border-radius: 38px;
    background: linear-gradient(180deg, rgba(255,255,255,.018), rgba(255,255,255,.006));
    box-shadow: 0 24px 90px rgba(0,0,0,.38);
  }
}

/* FINATA landing minimal v2: compact brand + visible stock card */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
body.finata-minimal::before {
  background:
    radial-gradient(circle at 50% 7%, rgba(22,184,234,.070), transparent 255px),
    radial-gradient(circle at 50% 58%, rgba(var(--sector-rgb), .040), transparent 280px),
    linear-gradient(180deg, rgba(255,255,255,.010), rgba(255,255,255,0) 36%);
}
.finata-v2-stack {
  min-height: min(844px, 100svh);
  justify-content: center;
  gap: 34px;
  padding: 42px 24px 30px;
}
.finata-v2-brand {
  gap: 14px;
  margin-top: 0;
}
.finata-lockup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: 58px;
  max-width: 100%;
}
.finata-symbol {
  width: 52px;
  height: 58px;
  object-fit: contain;
  filter:
    drop-shadow(0 14px 28px rgba(0,0,0,.36))
    drop-shadow(0 0 18px rgba(22,184,234,.105));
}
.finata-wordmark {
  width: 142px;
  height: auto;
  object-fit: contain;
  transform: translateY(1px);
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.32));
}
.finata-v2-brand .brand-slogan {
  margin: 0;
  color: rgba(247,248,252,.76) !important;
  font-size: 10.5px !important;
  line-height: 1.1 !important;
  font-weight: 860 !important;
  letter-spacing: .245em !important;
  text-align: center;
}
.finata-minimal .launch-copy,
.finata-minimal .method-strip,
.finata-minimal .brand-note {
  display: none !important;
}
.finata-focus-card {
  height: 252px;
  padding: 20px 20px 18px;
  border-radius: 28px;
  border-color: rgba(255,255,255,.086);
  background:
    radial-gradient(circle at 86% 8%, rgba(var(--sector-rgb), .145), transparent 142px),
    radial-gradient(circle at 14% 116%, rgba(var(--sector-rgb), .085), transparent 164px),
    linear-gradient(180deg, rgba(255,255,255,.018), rgba(255,255,255,.004)),
    #11131A;
  box-shadow: 0 18px 56px rgba(0,0,0,.40);
}
.finata-focus-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(140deg, rgba(255,255,255,.032), transparent 38%, rgba(255,255,255,0));
  opacity: .8;
}
.finata-focus-card::after {
  opacity: .45;
}
.finata-focus-card .focus-card__top,
.finata-focus-card .focus-card__score,
.finata-focus-card .focus-card__spark {
  position: relative;
  z-index: 2;
}
.finata-focus-card .focus-card__meta strong {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.055em;
  color: rgba(255,255,255,.97);
  text-shadow: 0 2px 12px rgba(0,0,0,.22);
}
.finata-focus-card .focus-card__meta span {
  color: rgba(174,181,194,.82);
  font-size: 13px;
  font-weight: 680;
}
.finata-focus-card .grade-dot {
  width: 38px;
  height: 38px;
  border-color: rgba(var(--sector-rgb), .34);
  background: rgba(var(--sector-rgb), .115);
  color: var(--sector-accent);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.035), 0 0 24px rgba(var(--sector-rgb), .08);
}
.finata-focus-card .focus-card__score {
  margin-top: 33px;
  display: inline-flex;
  align-items: flex-end;
  gap: 13px;
}
.finata-focus-card .focus-card__score span {
  font-size: clamp(80px, 22vw, 88px);
  line-height: .80;
  font-weight: 950;
  letter-spacing: -0.085em;
  color: #fff;
}
.finata-focus-card .focus-card__score small {
  display: inline-flex;
  margin-bottom: 8px;
  color: rgba(255,255,255,.42);
  font-size: 9px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .18em;
}
.finata-focus-card .focus-card__spark {
  height: 55px;
  margin-top: auto;
}
.finata-v2-auth {
  width: 100%;
  gap: 14px;
  margin-top: -2px;
}
.finata-v2-auth p {
  margin: 0;
  color: rgba(247,248,252,.72);
  font-size: 12px;
  font-weight: 760;
}
.finata-v2-auth .start-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
}
.finata-v2-auth .start-button {
  height: 54px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 840;
}
.finata-v2-auth small {
  max-width: 310px;
  color: rgba(156,163,175,.50);
  font-size: 11px;
  line-height: 1.45;
  text-align: center;
}
.finata-minimal .load-error {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1000;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 14px;
  color: rgba(255,255,255,.74);
  background: rgba(18,19,25,.94);
  font-size: 12px;
}
@media (max-height: 780px) and (max-width: 520px) {
  .finata-v2-stack { gap: 24px; padding-top: 30px; padding-bottom: 22px; }
  .finata-lockup { height: 50px; gap: 12px; }
  .finata-symbol { width: 45px; height: 50px; }
  .finata-wordmark { width: 124px; }
  .finata-v2-brand .brand-slogan { font-size: 9.5px !important; letter-spacing: .22em !important; }
  .finata-focus-card { height: 232px; }
  .finata-focus-card .focus-card__score { margin-top: 28px; }
  .finata-focus-card .focus-card__score span { font-size: 76px; }
  .finata-v2-auth .start-button { height: 48px; }
}
@media (min-width: 720px) {
  .finata-v2-stack { padding-top: 44px; padding-bottom: 34px; }
}

/* Use a compact FINATA-only lockup on the landing screen. */
.brand-lockup-image {
  width: min(276px, calc(100vw - 82px));
  height: auto;
  display: block;
  filter: drop-shadow(0 16px 38px rgba(0, 174, 239, .09));
}
.brand-symbol,
.brand-wordmark { display: none !important; }
@media (max-height: 780px) and (max-width: 520px) {
  .brand-lockup-image { width: min(244px, calc(100vw - 96px)); }
}
@media (max-width: 360px) {
  .brand-lockup-image { width: min(228px, calc(100vw - 82px)); }
}
.finata-minimal .search-field {
  border-color: rgba(255,255,255,.070);
  background: rgba(21,24,33,.92);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
}
.finata-minimal .search-field:focus-within {
  border-color: rgba(var(--sector-rgb), .30);
  box-shadow: 0 0 0 3px rgba(var(--sector-rgb), .055), inset 0 1px 0 rgba(255,255,255,.025);
}
.finata-minimal .search-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: rgba(156,163,175,.86);
}
.finata-minimal .search-field > span { display: none; }
.search-field .search-icon {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: rgba(156,163,175,.78);
}
.focus-card--stock .grade-dot {
  color: #F7FCFF;
  text-shadow: 0 0 12px rgba(var(--sector-rgb), .42);
}
.finata-focus-card .grade-dot {
  color: #061018;
  background: var(--sector-accent);
  border-color: rgba(255,255,255,.10);
  text-shadow: none;
}

/* FINATA landing v3: replace stock focus card with strategy evidence card */
body.finata-proof-landing::before {
  background:
    radial-gradient(circle at 50% 6%, rgba(20,184,255,.075), transparent 250px),
    radial-gradient(circle at 58% 48%, rgba(69,55,190,.060), transparent 280px),
    linear-gradient(180deg, rgba(255,255,255,.012), rgba(255,255,255,0) 38%);
}
.finata-proof-stack {
  min-height: min(844px, 100svh);
  justify-content: center;
  gap: 22px;
  padding: 34px 24px 26px;
}
.finata-proof-brand {
  gap: 11px;
}
.finata-proof-lockup {
  height: 52px;
  gap: 12px;
}
.finata-proof-lockup .finata-symbol {
  width: 47px;
  height: 52px;
}
.finata-proof-lockup .finata-wordmark {
  width: 128px;
}
.finata-proof-brand .brand-slogan {
  margin: 0;
  color: rgba(247,248,252,.76) !important;
  font-size: 10px !important;
  line-height: 1 !important;
  font-weight: 300 !important;
  letter-spacing: .285em !important;
  text-align: center;
  text-transform: uppercase;
}
.proof-card {
  position: relative;
  width: 100%;
  min-height: 372px;
  padding: 17px 18px 17px;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,.086);
  background:
    radial-gradient(circle at 94% 0%, rgba(20,184,255,.16), transparent 155px),
    radial-gradient(circle at 12% 108%, rgba(69,55,190,.16), transparent 165px),
    linear-gradient(180deg, rgba(255,255,255,.022), rgba(255,255,255,.006)),
    #11131A;
  box-shadow: 0 20px 62px rgba(0,0,0,.42);
  overflow: hidden;
}
.proof-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.042), transparent 38%, rgba(255,255,255,0));
  opacity: .75;
}
.proof-card::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 13px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(20,184,255,.52), rgba(69,55,190,.36), transparent);
  opacity: .60;
}
.proof-card__top,
.proof-chart-wrap,
.proof-legend,
.proof-metrics,
.proof-footnote {
  position: relative;
  z-index: 1;
}
.proof-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.proof-card__top--minimal {
  margin-bottom: 4px;
}
.proof-eyebrow {
  display: block;
  color: rgba(20,184,255,.88);
  font-size: 9px;
  line-height: 1;
  font-weight: 680;
  letter-spacing: .20em;
}
.proof-card h2 {
  margin: 9px 0 0;
  color: #fff;
  font-size: 25px;
  line-height: 1.03;
  font-weight: 940;
  letter-spacing: -0.075em;
}
.proof-badge {
  flex: 0 0 auto;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(20,184,255,.25);
  border-radius: 999px;
  color: rgba(247,248,252,.88);
  background: rgba(20,184,255,.08);
  font-size: 11px;
  font-weight: 820;
  letter-spacing: -.01em;
}
.proof-chart-wrap {
  margin-top: 13px;
}
.proof-chart {
  display: block;
  width: 100%;
  height: 178px;
}
.proof-chart-caption {
  margin-top: -1px;
  color: rgba(156,163,175,.66);
  font-size: 10.5px;
  font-weight: 560;
  letter-spacing: -.01em;
}
.proof-legend {
  margin-top: 11px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
}
.proof-legend span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: rgba(247,248,252,.76);
  font-size: 11px;
  font-weight: 760;
}
.proof-legend i {
  width: 17px;
  height: 3px;
  display: inline-block;
  border-radius: 999px;
}
.line-persistent { background: #14B8FF; box-shadow: 0 0 16px rgba(20,184,255,.34); }
.line-general { background: #7C5CFF; box-shadow: 0 0 14px rgba(124,92,255,.26); }
.line-kospi { background: rgba(255,255,255,.48); }
.proof-metrics {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1.12fr .92fr .96fr;
  gap: 8px;
}
.proof-metrics div {
  min-width: 0;
  padding: 11px 10px 10px;
  border: 1px solid rgba(255,255,255,.065);
  border-radius: 16px;
  background: rgba(255,255,255,.032);
}
.proof-metrics span {
  display: block;
  color: rgba(156,163,175,.70);
  font-size: 10px;
  line-height: 1.1;
  font-weight: 740;
  white-space: nowrap;
}
.proof-metrics strong {
  display: block;
  margin-top: 5px;
  color: #fff;
  font-size: 19px;
  line-height: 1;
  font-weight: 880;
  letter-spacing: -0.055em;
  white-space: nowrap;
}
.metric-unit {
  display: inline-block;
  margin-left: 3px;
  color: #fff;
  font-size: .60em;
  font-weight: 780;
  line-height: 1;
  letter-spacing: -.02em;
  vertical-align: baseline;
}
.proof-footnote {
  margin: 7px 2px 0;
  color: rgba(156,163,175,.66);
  font-size: 10.5px;
  line-height: 1.34;
  font-weight: 560;
  letter-spacing: -.01em;
  text-align: center;
  word-break: keep-all;
}
.finata-proof-search {
  margin-top: 0;
}
.finata-proof-auth {
  width: 100%;
  gap: 13px;
  margin-top: 0;
}
.social-signup-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  width: 100%;
}
.social-orb {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.09);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(0,0,0,.28);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, filter .18s ease;
}
.social-orb:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.20);
  box-shadow: 0 18px 38px rgba(0,0,0,.36);
  filter: brightness(1.04);
}
.social-orb span {
  font-size: 19px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.03em;
}
.social-orb.google {
  background: #fff;
  color: #1F1F1F;
}
.social-orb.google span {
  font-family: Inter, system-ui, sans-serif;
  color: #4285F4;
}
.social-orb.naver {
  background: #03C75A;
  color: #fff;
}
.social-orb.naver span {
  font-family: Inter, system-ui, sans-serif;
  font-size: 20px;
  font-weight: 950;
}
.social-orb.kakao {
  background: #FEE500;
  color: #191919;
}
.landing-utility-links {
  width: min(330px, 100%);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 8px;
  margin-top: -1px;
}
.landing-utility-links a {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 999px;
  color: rgba(156,163,175,.74);
  background: rgba(255,255,255,.025);
  font-size: 10.2px;
  line-height: 1;
  font-weight: 520;
  letter-spacing: -.01em;
  white-space: nowrap;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}
.landing-utility-links a:hover,
.landing-utility-links a:focus-visible {
  color: rgba(247,248,252,.88);
  border-color: rgba(var(--sector-rgb), .26);
  background: rgba(var(--sector-rgb), .07);
}
.landing-utility-links a:focus-visible {
  outline: 1px solid rgba(var(--sector-rgb), .58);
  outline-offset: 3px;
}
.kakao-mark {
  position: relative;
  width: 24px;
  height: 20px;
  border-radius: 50%;
  background: #191919;
  display: block;
}
.kakao-mark::after {
  content: "";
  position: absolute;
  left: 4px;
  bottom: -4px;
  width: 8px;
  height: 8px;
  background: #191919;
  transform: rotate(35deg);
  border-radius: 1px;
}
.finata-proof-auth small {
  width: min(330px, 100%);
  color: rgba(156,163,175,.60);
  font-size: 10.8px;
  line-height: 1.46;
  word-break: keep-all;
}
@media (max-height: 780px) and (max-width: 520px) {
  .finata-proof-stack { gap: 17px; padding-top: 24px; padding-bottom: 20px; }
  .finata-proof-lockup { height: 46px; gap: 10px; }
  .finata-proof-lockup .finata-symbol { width: 41px; height: 46px; }
  .finata-proof-lockup .finata-wordmark { width: 114px; }
  .finata-proof-brand .brand-slogan { font-size: 9px !important; letter-spacing: .22em !important; }
  .proof-card { min-height: 342px; padding: 16px 16px 15px; border-radius: 28px; }
  .proof-card h2 { font-size: 23px; }
  .proof-chart { height: 154px; }
  .proof-metrics strong { font-size: 17px; }
  .social-orb { width: 48px; height: 48px; }
}
@media (max-width: 360px) {
  .proof-card h2 { font-size: 22px; }
  .proof-metrics { grid-template-columns: 1fr; }
  .proof-card { min-height: auto; }
  .proof-chart { height: 142px; }
  .proof-metrics strong { font-size: 16px; }
  .social-orb { width: 46px; height: 46px; }
}
@media (min-width: 720px) {
  .finata-proof-stack { padding-top: 40px; padding-bottom: 32px; }
  .proof-card { min-height: 372px; }
}

/* FINATA v6 refinements: lighter slogan, simplified proof card, animated graph/numbers, circular social signup */
.finata-proof-brand .brand-slogan {
  font-weight: 260 !important;
  color: rgba(247,248,252,.70) !important;
  text-shadow: none !important;
}
.proof-card {
  animation: proofCardIn .52s cubic-bezier(.22, .82, .25, 1) both;
}
.proof-eyebrow,
.proof-badge,
.proof-chart-caption,
.proof-legend,
.proof-metrics,
.proof-footnote,
.finata-proof-search,
.finata-proof-auth {
  animation: proofFadeUp .58s cubic-bezier(.22, .82, .25, 1) both;
}
.proof-eyebrow { animation-delay: .03s; }
.proof-badge { animation-delay: .06s; }
.proof-chart-caption { animation-delay: .16s; }
.proof-legend { animation-delay: .20s; }
.proof-metrics { animation-delay: .24s; }
.proof-footnote { animation-delay: .27s; }
.finata-proof-search { animation-delay: .30s; }
.finata-proof-auth { animation-delay: .36s; }
.proof-metrics strong {
  font-variant-numeric: tabular-nums;
}
.social-orb svg {
  display: block;
  width: 23px;
  height: 23px;
}
.social-orb.google svg { width: 24px; height: 24px; }
.social-orb.naver svg { width: 22px; height: 22px; }
.social-orb.kakao svg { width: 27px; height: 27px; }
.social-orb span { display: none; }
.social-orb:focus-visible {
  outline: 2px solid rgba(20,184,255,.75);
  outline-offset: 4px;
}
.auth-status {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 240;
  width: auto;
  min-width: min(320px, calc(100vw - 32px));
  max-width: min(390px, calc(100vw - 32px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 8px 8px 14px;
  border: 1px solid rgba(20,184,255,.24);
  border-radius: 999px;
  color: rgba(247,248,252,.88);
  background: rgba(12,14,20,.96);
  box-shadow: 0 18px 42px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.04);
  backdrop-filter: blur(14px);
}
.auth-status[hidden] {
  display: none;
}
.auth-status span,
.auth-status {
  font-size: 11.5px;
  line-height: 1.35;
  font-weight: 680;
  word-break: keep-all;
}
.auth-status button {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  color: rgba(247,248,252,.86);
  background: rgba(255,255,255,.055);
  font: inherit;
  font-size: 10.8px;
  line-height: 1;
  font-weight: 760;
  cursor: pointer;
}
.auth-status a {
  flex: 0 0 auto;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(20,184,255,.26);
  border-radius: 999px;
  padding: 0 12px;
  color: rgba(247,248,252,.90);
  background: rgba(20,184,255,.10);
  font-size: 10.8px;
  line-height: 1;
  font-weight: 760;
  text-decoration: none;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .auth-status {
    right: max(8px, env(safe-area-inset-right));
    bottom: max(8px, env(safe-area-inset-bottom));
    min-width: 0;
    max-width: min(230px, calc(100vw - 16px));
    gap: 8px;
    padding: 6px 6px 6px 10px;
    opacity: .72;
    transform: scale(.92);
    transform-origin: right bottom;
  }
  .auth-status:focus-within {
    opacity: .96;
    transform: scale(1);
  }
  .auth-status span {
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .auth-status button {
    min-height: 29px;
    padding: 0 9px;
    font-size: 11px;
  }
  .auth-status a {
    min-height: 29px;
    padding: 0 9px;
    font-size: 11px;
  }
}
.auth-status button:hover,
.auth-status button:focus-visible,
.auth-status a:hover,
.auth-status a:focus-visible {
  border-color: rgba(20,184,255,.36);
  color: #fff;
}
@keyframes proofCardIn {
  from { opacity: 0; transform: translateY(12px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes proofFadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .proof-card,
  .proof-eyebrow,
  .proof-badge,
  .proof-chart-caption,
  .proof-legend,
  .proof-metrics,
  .finata-proof-search,
  .finata-proof-auth {
    animation: none !important;
  }
  .social-orb { transition: none !important; }
}


/* FINATA v7 polish: concise title, white inline pt units, and split disclaimer */
.proof-card__top {
  gap: 8px;
}
.proof-eyebrow {
  white-space: nowrap;
  font-size: 8.6px;
  letter-spacing: .12em;
}
.proof-badge {
  min-height: 28px;
  padding-inline: 8px;
  font-size: 10.5px;
}
.proof-metrics strong {
  display: flex;
  align-items: baseline;
  gap: 3px;
  color: #FFFFFF;
  font-variant-numeric: tabular-nums;
}
.proof-metrics strong .metric-unit,
.metric-unit {
  display: inline-block;
  margin-left: 0;
  color: #FFFFFF;
  opacity: .98;
  font-size: .58em;
  font-weight: 760;
  line-height: 1;
  letter-spacing: -0.015em;
  vertical-align: baseline;
  white-space: nowrap;
}
.finata-proof-auth small br {
  display: block;
  content: "";
  margin-top: 2px;
}
@media (max-width: 360px) {
  .proof-eyebrow { font-size: 8px; letter-spacing: .08em; }
  .proof-badge { min-height: 26px; padding-inline: 7px; font-size: 10px; }
  .metric-unit { font-size: .54em; }
}


/* FINATA v8: restore the small "Financial Data Analytics" label in the brand lockup */
.finata-proof-lockup.finata-proof-lockup--full {
  width: 100%;
  height: auto !important;
  min-height: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0 !important;
}
.finata-proof-lockup--full .finata-logo-full {
  display: block;
  width: min(252px, 72vw);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 34px rgba(0,0,0,.34));
}
.finata-proof-brand {
  gap: 9px;
}
@media (max-height: 780px) and (max-width: 520px) {
  .finata-proof-lockup.finata-proof-lockup--full {
    height: auto !important;
  }
  .finata-proof-lockup--full .finata-logo-full {
    width: min(226px, 69vw);
  }
  .finata-proof-brand {
    gap: 8px;
  }
}
@media (max-width: 360px) {
  .finata-proof-lockup--full .finata-logo-full {
    width: min(220px, 70vw);
  }
}

/* FINATA v9: compact brand lockup with visible Financial Data Analytics label */
.finata-proof-stack {
  gap: 20px;
  padding-top: 34px;
  padding-bottom: 26px;
}
.finata-proof-brand {
  gap: 9px;
  position: relative;
  z-index: 2;
  margin: 0;
}
.finata-compact-lockup {
  width: min(236px, 74vw);
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  overflow: visible;
}
.finata-compact-symbol {
  flex: 0 0 auto;
  width: 51px;
  height: 57px;
  object-fit: contain;
  filter: drop-shadow(0 11px 24px rgba(0,0,0,.42));
}
.finata-compact-type {
  flex: 0 0 auto;
  width: 172px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 5px;
  min-width: 0;
}
.finata-compact-type span {
  display: block;
  width: 100%;
  color: rgba(255,255,255,.92);
  font-size: 13.2px;
  line-height: 1;
  font-weight: 300;
  letter-spacing: -.018em;
  white-space: nowrap;
}
.finata-compact-wordmark {
  display: block;
  width: 168px;
  height: auto;
  object-fit: contain;
}
.finata-proof-brand .brand-slogan {
  margin-top: 0;
  font-size: 8.8px !important;
  line-height: 1 !important;
  font-weight: 240 !important;
  letter-spacing: .24em !important;
  color: rgba(247,248,252,.66) !important;
}
.proof-card {
  z-index: 1;
}
@media (max-height: 780px) and (max-width: 520px) {
  .finata-proof-stack {
    gap: 16px;
    padding-top: 25px;
    padding-bottom: 20px;
  }
  .finata-compact-lockup {
    width: min(214px, 72vw);
    height: 52px;
    gap: 9px;
  }
  .finata-compact-symbol {
    width: 46px;
    height: 52px;
  }
  .finata-compact-type {
    width: 156px;
    gap: 4px;
  }
  .finata-compact-type span {
    font-size: 12px;
  }
  .finata-compact-wordmark {
    width: 152px;
  }
  .finata-proof-brand .brand-slogan {
    font-size: 8px !important;
    letter-spacing: .21em !important;
  }
}
@media (max-width: 360px) {
  .finata-compact-lockup {
    width: min(204px, 72vw);
    height: 50px;
    gap: 8px;
  }
  .finata-compact-symbol {
    width: 44px;
    height: 50px;
  }
  .finata-compact-type {
    width: 148px;
  }
  .finata-compact-type span {
    font-size: 11.3px;
  }
  .finata-compact-wordmark {
    width: 145px;
  }
}
@media (min-width: 720px) {
  .finata-proof-stack {
    padding-top: 38px;
    padding-bottom: 32px;
  }
  .finata-compact-lockup {
    width: 244px;
    height: 60px;
  }
  .finata-compact-symbol {
    width: 53px;
    height: 59px;
  }
  .finata-compact-type {
    width: 178px;
  }
  .finata-compact-type span {
    font-size: 13.7px;
  }
  .finata-compact-wordmark {
    width: 174px;
  }
}


/* FINATA v10: align the Financial Data Analytics label to the exact FINATA wordmark width */
.finata-compact-lockup {
  width: min(236px, 74vw);
  height: 59px;
  gap: 11px;
}
.finata-compact-symbol {
  width: 52px;
  height: 58px;
}
.finata-compact-type,
.finata-compact-type span,
.finata-compact-wordmark {
  display: none !important;
}
.finata-compact-type-stack {
  display: block;
  width: 172px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,.28));
}
.finata-proof-brand .brand-slogan {
  margin-top: 1px;
}
@media (max-height: 780px) and (max-width: 520px) {
  .finata-compact-lockup {
    width: min(216px, 72vw);
    height: 53px;
    gap: 10px;
  }
  .finata-compact-symbol {
    width: 47px;
    height: 52px;
  }
  .finata-compact-type-stack {
    width: 156px;
  }
}
@media (max-width: 360px) {
  .finata-compact-lockup {
    width: min(205px, 72vw);
    height: 50px;
    gap: 9px;
  }
  .finata-compact-symbol {
    width: 44px;
    height: 49px;
  }
  .finata-compact-type-stack {
    width: 148px;
  }
}
@media (min-width: 720px) {
  .finata-compact-lockup {
    width: 246px;
    height: 61px;
  }
  .finata-compact-symbol {
    width: 54px;
    height: 60px;
  }
  .finata-compact-type-stack {
    width: 178px;
  }
}


/* FINATA v11: desktop scale-up while preserving the mobile-first composition
   - Mobile keeps the 390px launch composition.
   - Tablet/desktop keeps a single focused column, but expands the column, chart, logo and touch targets.
*/
@media (min-width: 900px) and (min-height: 700px) {
  .landing-page {
    padding: clamp(18px, 2.4vh, 34px) 0;
  }
  .mobile-launch {
    width: clamp(444px, 34vw, 552px);
    min-height: min(980px, calc(100svh - clamp(36px, 6vh, 72px)));
    align-items: center;
    justify-content: center;
  }
  .finata-proof-stack {
    width: 100%;
    min-height: auto;
    justify-content: center;
    gap: clamp(24px, 2.45vh, 34px);
    padding: clamp(38px, 5vh, 58px) clamp(34px, 3.1vw, 46px) clamp(36px, 4.2vh, 50px);
  }
  .finata-proof-brand {
    gap: 12px;
  }
  .finata-compact-lockup {
    width: clamp(284px, 22.5vw, 334px);
    height: auto;
    gap: clamp(13px, 1.05vw, 16px);
  }
  .finata-compact-symbol {
    width: clamp(61px, 4.75vw, 74px);
    height: auto;
  }
  .finata-compact-type-stack {
    width: clamp(206px, 16.5vw, 244px);
  }
  .finata-proof-brand .brand-slogan {
    font-size: clamp(9.6px, .62vw, 11px) !important;
    letter-spacing: .32em !important;
  }
  .proof-card {
    min-height: clamp(422px, 45vh, 500px);
    padding: clamp(21px, 2vw, 28px) clamp(22px, 2.25vw, 30px) clamp(22px, 2.1vw, 28px);
    border-radius: 34px;
    box-shadow: 0 26px 78px rgba(0,0,0,.47);
  }
  .proof-card__top--minimal {
    margin-bottom: 8px;
  }
  .proof-eyebrow {
    font-size: clamp(9.4px, .58vw, 10.6px);
    letter-spacing: .16em;
  }
  .proof-badge {
    min-height: 32px;
    padding-inline: 11px;
    font-size: 11.2px;
  }
  .proof-chart-wrap {
    margin-top: 16px;
  }
  .proof-chart {
    height: clamp(216px, 23vh, 270px);
  }
  .proof-chart-caption {
    margin-top: 2px;
    font-size: 11.2px;
  }
  .proof-footnote {
    font-size: 11.2px;
  }
  .proof-legend {
    margin-top: 14px;
    gap: 10px 15px;
  }
  .proof-legend span {
    font-size: 11.8px;
  }
  .proof-legend i {
    width: 20px;
  }
  .proof-metrics {
    margin-top: 16px;
    gap: 10px;
  }
  .proof-metrics div {
    padding: 13px 12px 12px;
    border-radius: 18px;
  }
  .proof-metrics span {
    font-size: 10.8px;
  }
  .proof-metrics strong {
    margin-top: 6px;
    font-size: clamp(21px, 1.55vw, 25px);
  }
  .metric-unit {
    font-size: .56em;
  }
  .search-field {
    height: 64px;
    border-radius: 23px;
    padding-inline: 21px;
    gap: 14px;
  }
  .finata-minimal .search-icon,
  .search-field .search-icon {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
  }
  .search-field input {
    font-size: 15px;
  }
  .social-signup-row {
    gap: 16px;
  }
  .landing-utility-links {
    width: min(430px, 100%);
    gap: 7px 9px;
  }
  .landing-utility-links a {
    min-height: 26px;
    padding-inline: 9px;
    font-size: 10.8px;
  }
  .social-orb {
    width: 58px;
    height: 58px;
  }
  .social-orb svg {
    width: 25px;
    height: 25px;
  }
  .social-orb.google svg { width: 26px; height: 26px; }
  .social-orb.naver svg { width: 24px; height: 24px; }
  .social-orb.kakao svg { width: 29px; height: 29px; }
  .finata-proof-auth {
    gap: 15px;
  }
  .finata-proof-auth small {
    width: min(420px, 100%);
    font-size: 11.6px;
    line-height: 1.52;
  }
}

@media (min-width: 1280px) and (min-height: 820px) {
  .mobile-launch {
    width: clamp(500px, 31vw, 590px);
  }
  .finata-proof-stack {
    gap: clamp(26px, 2.6vh, 36px);
  }
  .proof-card {
    min-height: clamp(455px, 47vh, 520px);
  }
}

@media (min-width: 900px) and (max-height: 760px) {
  .mobile-launch {
    width: clamp(430px, 32vw, 520px);
    min-height: calc(100svh - 28px);
  }
  .finata-proof-stack {
    gap: 18px;
    padding-top: 26px;
    padding-bottom: 24px;
  }
  .finata-compact-lockup {
    width: clamp(258px, 20vw, 300px);
  }
  .finata-compact-symbol {
    width: clamp(55px, 4vw, 64px);
  }
  .finata-compact-type-stack {
    width: clamp(188px, 14.5vw, 218px);
  }
  .proof-card {
    min-height: 398px;
  }
  .proof-chart {
    height: 196px;
  }
  .search-field { height: 58px; }
  .social-orb { width: 52px; height: 52px; }
}

/* FINATA v12: place chart legend inside the graph and add Outshine credit */
.proof-chart-wrap .proof-legend {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  margin-top: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  padding: 8px 9px 7px;
  border: 1px solid rgba(255,255,255,.055);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(10,12,18,.62), rgba(10,12,18,.30));
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
  backdrop-filter: blur(8px);
}
.proof-chart-wrap .proof-legend span {
  gap: 5px;
  color: rgba(247,248,252,.72);
  font-size: 10.2px;
  line-height: 1;
}
.proof-chart-wrap .proof-legend i {
  width: 14px;
  height: 2.5px;
}
.proof-metrics {
  margin-top: 10px;
}
.powered-by {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: -2px;
  opacity: .62;
}
.powered-by span {
  color: rgba(156,163,175,.56);
  font-size: 8.6px;
  line-height: 1;
  font-weight: 650;
  letter-spacing: .08em;
}
.powered-by img {
  display: block;
  width: 70px;
  height: auto;
  max-height: 14px;
  object-fit: contain;
  opacity: .86;
  filter: drop-shadow(0 5px 12px rgba(0,0,0,.22));
}

@media (max-width: 360px) {
  .proof-chart-wrap .proof-legend {
    top: 8px;
    left: 8px;
    gap: 4px;
    padding: 7px 8px 6px;
  }
  .proof-chart-wrap .proof-legend span {
    font-size: 9.4px;
  }
  .proof-chart-wrap .proof-legend i {
    width: 12px;
  }
  .powered-by img {
    width: 64px;
    max-height: 12px;
  }
}

@media (min-width: 900px) and (min-height: 700px) {
  .proof-chart-wrap .proof-legend {
    top: 16px;
    left: 16px;
    gap: 7px;
    padding: 10px 11px 9px;
    border-radius: 14px;
  }
  .proof-chart-wrap .proof-legend span {
    font-size: 11px;
  }
  .proof-chart-wrap .proof-legend i {
    width: 18px;
    height: 3px;
  }
  .proof-metrics {
    margin-top: 12px;
  }
  .powered-by span {
    font-size: 9.2px;
  }
  .powered-by img {
    width: 82px;
    max-height: 16px;
  }
}

/* FINATA v13: safer metric sizing in narrow windows and a slimmer top logo */
.finata-compact-lockup {
  width: min(208px, 68vw);
  height: 52px;
  gap: 9px;
}
.finata-compact-symbol {
  width: 46px;
  height: auto;
}
.finata-compact-type-stack {
  width: 153px;
}
.finata-proof-brand .brand-slogan {
  margin-top: 0;
}
.proof-metrics {
  container-type: inline-size;
  grid-template-columns: 1.1fr .94fr .94fr;
  gap: 7px;
}
.proof-metrics div {
  overflow: hidden;
  padding-inline: 9px;
}
.proof-metrics strong {
  max-width: 100%;
  font-size: 17px;
  font-size: clamp(14.8px, 5.15cqw, 18.8px);
  letter-spacing: -0.04em;
}
.proof-metrics strong .metric-unit,
.metric-unit {
  margin-left: 2px;
}

@media (max-width: 380px) {
  .finata-compact-lockup {
    width: min(190px, 66vw);
    height: 48px;
  }
  .finata-compact-symbol {
    width: 42px;
  }
  .finata-compact-type-stack {
    width: 139px;
  }
  .proof-metrics {
    gap: 6px;
  }
  .proof-metrics div {
    padding-inline: 8px;
  }
  .proof-metrics strong {
    font-size: 15px;
    font-size: clamp(14px, 5cqw, 16px);
  }
}

@media (min-width: 720px) {
  .finata-compact-lockup {
    width: 218px;
    height: 54px;
  }
  .finata-compact-symbol {
    width: 48px;
  }
  .finata-compact-type-stack {
    width: 160px;
  }
}

@media (min-width: 900px) and (min-height: 700px) {
  .finata-compact-lockup {
    width: clamp(232px, 18vw, 270px);
    gap: clamp(10px, .82vw, 13px);
  }
  .finata-compact-symbol {
    width: clamp(50px, 3.8vw, 60px);
  }
  .finata-compact-type-stack {
    width: clamp(172px, 13.4vw, 199px);
  }
  .proof-metrics {
    gap: 9px;
  }
  .proof-metrics strong {
    font-size: 21px;
    font-size: clamp(18px, 4.25cqw, 23px);
  }
}

@media (min-width: 900px) and (max-height: 760px) {
  .finata-compact-lockup {
    width: clamp(218px, 17vw, 250px);
  }
  .finata-compact-symbol {
    width: clamp(47px, 3.55vw, 55px);
  }
  .finata-compact-type-stack {
    width: clamp(161px, 12.4vw, 185px);
  }
}

/* FINATA v15: lighter legend, tighter slogan, and linked Outshine credit */
.proof-chart-wrap .proof-legend span {
  font-weight: 420;
  letter-spacing: 0;
  color: rgba(247,248,252,.68);
}
.finata-proof-brand .brand-slogan {
  letter-spacing: .135em !important;
}
.finata-compact-lockup {
  width: min(190px, 62vw);
  height: 48px;
  gap: 8px;
}
.finata-compact-symbol {
  width: 42px;
}
.finata-compact-type-stack {
  width: 140px;
}
.powered-by a {
  display: inline-flex;
  align-items: center;
  border-radius: 4px;
}
.powered-by a:focus-visible {
  outline: 1px solid rgba(255,255,255,.42);
  outline-offset: 4px;
}

@media (max-width: 380px) {
  .finata-proof-brand .brand-slogan {
    letter-spacing: .115em !important;
  }
  .finata-compact-lockup {
    width: min(178px, 61vw);
    height: 45px;
  }
  .finata-compact-symbol {
    width: 39px;
  }
  .finata-compact-type-stack {
    width: 131px;
  }
}

@media (min-width: 720px) {
  .finata-compact-lockup {
    width: 202px;
    height: 50px;
  }
  .finata-compact-symbol {
    width: 44px;
  }
  .finata-compact-type-stack {
    width: 149px;
  }
}

@media (min-width: 900px) and (min-height: 700px) {
  .finata-proof-brand .brand-slogan {
    letter-spacing: .155em !important;
  }
  .finata-compact-lockup {
    width: clamp(214px, 16.4vw, 244px);
  }
  .finata-compact-symbol {
    width: clamp(46px, 3.45vw, 54px);
  }
  .finata-compact-type-stack {
    width: clamp(159px, 12.2vw, 181px);
  }
}

/* FINATA v17: company detail page follows the landing page's focused column */
.company-page .detail-shell {
  width: min(390px, 100%);
  padding: max(14px, env(safe-area-inset-top)) 16px max(56px, env(safe-area-inset-bottom));
}
.company-page .detail-header {
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 8px;
  top: 12px;
  padding: 7px;
  border-radius: 22px;
  background: rgba(14,15,21,.84);
  box-shadow: 0 16px 42px rgba(0,0,0,.28);
}
.company-page .detail-header::before {
  content: none;
}
.company-page .back-link {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.075);
  color: rgba(247,248,252,.86);
  background: rgba(255,255,255,.035);
  font-size: 17px;
  font-weight: 520;
}
.company-page .back-link:hover {
  border-color: rgba(var(--sector-rgb), .24);
  color: #fff;
}
.company-page .detail-search {
  position: relative;
  height: 42px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(255,255,255,.065);
  border-radius: 17px;
  background: rgba(255,255,255,.04);
}
.company-page .detail-search:focus-within {
  border-color: rgba(var(--sector-rgb), .25);
  box-shadow: 0 0 0 3px rgba(var(--sector-rgb), .045);
}
.company-page .detail-search-icon {
  position: absolute;
  left: 13px;
  width: 17px;
  height: 17px;
  color: rgba(156,163,175,.74);
  pointer-events: none;
}
.company-page .detail-search input {
  height: 40px;
  border: 0;
  border-radius: 17px;
  padding: 0 13px 0 38px;
  background: transparent;
  font-size: 13.4px;
  font-weight: 520;
}
.company-page .detail-search input::placeholder {
  color: rgba(156,163,175,.68);
}
.company-page .detail-results {
  top: calc(100% + 10px);
}
.company-page .diagnosis-hero,
.company-page .main-grid,
.company-page .factor-list {
  grid-template-columns: minmax(0, 1fr);
}
.company-page .quick-metric-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.company-page .quick-metric-row .metric-chip:last-child {
  grid-column: 1 / -1;
}
.company-page .hero-story,
.company-page .score-panel {
  min-height: 220px;
}
.company-page .hero-story h1 {
  max-width: 100%;
  font-size: var(--company-title-fit-size, var(--company-title-size, 40px));
  line-height: 1.02;
  letter-spacing: -0.058em;
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
}
.company-page .hero-story h1.is-long-name {
  --company-title-size: 31px;
  letter-spacing: -0.045em;
}
.company-page .hero-line {
  font-size: 16px;
  font-weight: 760;
}
.company-page .hero-score {
  font-size: clamp(72px, 21vw, 96px);
  line-height: .92;
  letter-spacing: -0.078em;
}
.company-page .factor-summary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.company-page .related-scroll {
  grid-auto-columns: minmax(148px, 46%);
}
.company-page .financial-cta {
  flex-direction: column;
  align-items: stretch;
}
.company-page .financial-cta a {
  width: 100%;
}

@media (max-width: 360px) {
  .company-page .detail-shell {
    padding-inline: 14px;
  }
  .company-page .detail-header {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 7px;
    padding: 6px;
  }
  .company-page .back-link,
  .company-page .detail-search {
    height: 40px;
  }
  .company-page .back-link {
    width: 40px;
  }
  .company-page .detail-search input {
    font-size: 13px;
  }
  .company-page .hero-story,
  .company-page .score-panel {
    min-height: 204px;
    border-radius: 26px;
  }
  .company-page .hero-story h1 {
    --company-title-size: 36px;
  }
  .company-page .hero-story h1.is-long-name {
    --company-title-size: 28px;
  }
}

@media (min-width: 720px) {
  .company-page .detail-shell {
    width: clamp(444px, 46vw, 552px);
    padding: 24px 0 72px;
  }
  .company-page .diagnosis-hero,
  .company-page .main-grid,
  .company-page .factor-list {
    grid-template-columns: minmax(0, 1fr);
  }
  .company-page .quick-metric-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .company-page .factor-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .company-page .financial-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .company-page .hero-story h1 {
    --company-title-size: 44px;
  }
  .company-page .hero-story h1.is-long-name {
    --company-title-size: 36px;
  }
}

@media (min-width: 980px) {
  .company-page .detail-shell {
    width: clamp(500px, 31vw, 590px);
    padding-top: 28px;
  }
  .company-page .diagnosis-hero,
  .company-page .main-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .company-page .hero-story,
  .company-page .score-panel {
    min-height: 238px;
  }
  .company-page .hero-story h1 {
    --company-title-size: 48px;
  }
  .company-page .hero-story h1.is-long-name {
    --company-title-size: 40px;
  }
  .company-page .factor-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .company-page .related-scroll {
    grid-auto-columns: minmax(164px, 40%);
  }
}

/* FINATA v97: premium disclosure/news detail pages */
.insight-page .detail-shell {
  width: min(390px, 100%);
  padding: max(14px, env(safe-area-inset-top)) 16px max(54px, env(safe-area-inset-bottom));
}
.insight-page .detail-header {
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 8px;
  top: 12px;
  padding: 7px;
  border-radius: 22px;
  background: rgba(14,15,21,.84);
  box-shadow: 0 16px 42px rgba(0,0,0,.28);
}
.insight-page .detail-header::before {
  content: none;
}
.insight-page .back-link {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.075);
  color: rgba(247,248,252,.86);
  background: rgba(255,255,255,.035);
  font-size: 17px;
  font-weight: 520;
}
.insight-titlebar {
  min-height: 42px;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.065);
  border-radius: 17px;
  background: rgba(255,255,255,.04);
}
.insight-titlebar span {
  color: rgba(247,248,252,.76);
  font-size: 11px;
  line-height: 1;
  font-weight: 820;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.insight-page .hero-story {
  min-height: 216px;
}
.insight-page .hero-story__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.insight-page .hero-story h1 {
  max-width: 100%;
  font-size: clamp(42px, 11vw, 58px);
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.insight-page #reportMeta {
  margin-top: 10px;
  color: var(--app-text-sub);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 650;
}
.insight-page .hero-line {
  max-width: 92%;
  font-size: 15px;
  line-height: 1.38;
  font-weight: 720;
}
.report-panel {
  margin-top: 14px;
  padding: 18px;
  border: 1px solid var(--app-line);
  border-radius: 26px;
  background: var(--app-bg-card);
  box-shadow: 0 18px 56px rgba(0,0,0,.30);
}
.risk-grid,
.sentiment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}
.risk-card,
.sentiment-card {
  min-height: 82px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.065);
  border-radius: 16px;
  background: rgba(255,255,255,.032);
}
.risk-card span,
.sentiment-card span {
  display: block;
  color: rgba(156,163,175,.80);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 760;
}
.risk-card strong,
.sentiment-card strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  font-weight: 910;
  letter-spacing: -0.05em;
}
.risk-card.is-active {
  border-color: rgba(248,113,113,.32);
  background: rgba(248,113,113,.06);
}
.risk-card.is-active strong {
  color: #FCA5A5;
}
.sentiment-card p {
  margin: 8px 0 0;
  color: rgba(156,163,175,.76);
  font-size: 10.6px;
  line-height: 1.42;
  font-weight: 560;
  word-break: keep-all;
}
.sentiment-bar {
  height: 4px;
  margin-top: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.07);
}
.sentiment-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--sector-accent);
}
.sentiment-positive .sentiment-bar i { background: #22C55E; }
.sentiment-neutral .sentiment-bar i { background: rgba(156,163,175,.72); }
.sentiment-negative .sentiment-bar i { background: #F87171; }
.insight-tabs {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 0 0 10px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.insight-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 999px;
  color: rgba(247,248,252,.78);
  background: rgba(255,255,255,.035);
  font: inherit;
  font-size: 11.5px;
  line-height: 1;
  font-weight: 760;
  white-space: nowrap;
  cursor: pointer;
}
.insight-tabs button span {
  color: rgba(156,163,175,.78);
  font-size: 10px;
  font-weight: 780;
}
.insight-tabs button.is-active {
  border-color: rgba(var(--sector-rgb), .42);
  color: #fff;
  background: rgba(var(--sector-rgb), .16);
}
.insight-tabs button.is-active span {
  color: var(--sector-accent);
}
.report-content {
  margin-top: 14px;
}
.report-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(255,255,255,.065);
  border-radius: 16px;
}
.report-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}
.report-table th {
  padding: 11px 10px;
  color: #fff;
  background: rgba(var(--sector-rgb), .26);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 820;
  text-align: left;
}
.report-table td {
  padding: 11px 10px;
  border-top: 1px solid rgba(255,255,255,.065);
  color: rgba(247,248,252,.78);
  font-size: 11.2px;
  line-height: 1.45;
  vertical-align: top;
}
.report-table td:first-child,
.report-table td:nth-child(2) {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.report-table strong {
  display: block;
  color: #fff;
  font-size: 12.2px;
  line-height: 1.34;
  font-weight: 770;
  word-break: keep-all;
}
.report-table p {
  margin: 5px 0 0;
  color: rgba(156,163,175,.82);
  font-size: 11px;
  line-height: 1.45;
  word-break: keep-all;
}
.report-table a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 28px;
  padding: 0 9px;
  border: 1px solid rgba(var(--sector-rgb), .30);
  border-radius: 999px;
  color: var(--sector-accent);
  background: rgba(var(--sector-rgb), .08);
  font-size: 10.5px;
  font-weight: 760;
}
.report-empty {
  margin: 0;
  padding: 20px 12px !important;
  color: rgba(156,163,175,.74) !important;
  font-size: 12px !important;
  text-align: center;
}
.news-analysis-list {
  display: grid;
  gap: 10px;
}
.news-analysis-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.065);
  border-radius: 18px;
  background: rgba(255,255,255,.032);
}
.news-analysis-card.sentiment-positive { border-color: rgba(34,197,94,.22); }
.news-analysis-card.sentiment-negative { border-color: rgba(248,113,113,.24); }
.news-analysis-card time {
  display: block;
  color: rgba(156,163,175,.74);
  font-size: 10.8px;
  line-height: 1;
  font-weight: 650;
}
.news-analysis-card strong {
  display: block;
  margin-top: 6px;
  color: #fff;
  font-size: 14px;
  line-height: 1.28;
  font-weight: 820;
  letter-spacing: -0.035em;
  word-break: keep-all;
}
.news-analysis-card p {
  margin: 6px 0 0;
  color: rgba(156,163,175,.84);
  font-size: 12px;
  line-height: 1.48;
  font-weight: 560;
  word-break: keep-all;
}
.news-analysis-card aside {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.news-analysis-card aside span,
.news-analysis-card aside a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 780;
}
.news-analysis-card aside span {
  border: 1px solid rgba(156,163,175,.24);
  color: rgba(247,248,252,.82);
  background: rgba(255,255,255,.045);
}
.news-analysis-card.sentiment-positive aside span {
  border-color: rgba(34,197,94,.28);
  color: #86EFAC;
  background: rgba(34,197,94,.08);
}
.news-analysis-card.sentiment-negative aside span {
  border-color: rgba(248,113,113,.30);
  color: #FCA5A5;
  background: rgba(248,113,113,.08);
}
.news-analysis-card aside a {
  border: 1px solid rgba(var(--sector-rgb), .28);
  color: var(--sector-accent);
  background: rgba(var(--sector-rgb), .08);
}
@media (min-width: 720px) {
  .insight-page .detail-shell {
    width: clamp(444px, 46vw, 552px);
    padding: 24px 0 72px;
  }
  .risk-grid,
  .sentiment-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .news-analysis-card {
    grid-template-columns: minmax(0, 1fr) 84px;
    align-items: center;
  }
  .news-analysis-card aside {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (min-width: 980px) {
  .insight-page .detail-shell {
    width: clamp(500px, 31vw, 590px);
    padding-top: 28px;
  }
}

/* FINATA v18: move landing search above the proof card and strengthen result panel */
.finata-proof-search {
  z-index: 120;
}
.landing-page .finata-proof-search {
  margin-top: -2px;
}
.landing-page .search-results {
  z-index: 180;
  top: calc(100% + 9px);
  max-height: clamp(180px, calc(100svh - 300px), 314px);
  border-color: rgba(255,255,255,.16);
  background:
    linear-gradient(180deg, rgba(18,20,29,.995), rgba(12,14,20,.995)),
    #11131b;
  box-shadow:
    0 24px 70px rgba(0,0,0,.62),
    0 0 0 1px rgba(255,255,255,.035) inset;
  backdrop-filter: blur(18px) saturate(1.18);
}
.landing-page .search-result-button {
  background: rgba(255,255,255,.018);
}
.landing-page .search-result-button + .search-result-button {
  border-top: 1px solid rgba(255,255,255,.055);
}
.landing-page .search-result-button:hover,
.landing-page .search-result-button:focus-visible {
  background: rgba(var(--sector-rgb), .10);
}
.landing-page .search-result-button strong {
  font-weight: 760;
}
.landing-page .search-result-button small {
  color: rgba(196,204,218,.76);
}

@media (max-height: 780px) and (max-width: 520px) {
  .landing-page .finata-proof-search {
    margin-top: -1px;
  }
  .landing-page .search-results {
    max-height: clamp(150px, calc(100svh - 260px), 252px);
  }
}

@media (min-width: 900px) and (min-height: 700px) {
  .landing-page .finata-proof-search {
    margin-top: -4px;
  }
  .landing-page .search-results {
    top: calc(100% + 12px);
    max-height: clamp(220px, calc(100svh - 360px), 360px);
  }
}

/* FINATA v19: interactive proof chart value tooltip */
.proof-chart {
  cursor: crosshair;
  touch-action: none;
}
.proof-chart-tooltip {
  position: absolute;
  z-index: 8;
  min-width: 150px;
  padding: 10px 11px 9px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  color: rgba(247,248,252,.86);
  background:
    linear-gradient(180deg, rgba(18,20,29,.96), rgba(10,12,18,.96)),
    #10131b;
  box-shadow: 0 18px 46px rgba(0,0,0,.48);
  backdrop-filter: blur(14px) saturate(1.1);
  pointer-events: none;
}
.proof-chart-tooltip[hidden] {
  display: none;
}
.proof-chart-tooltip strong {
  display: block;
  margin-bottom: 7px;
  color: #fff;
  font-size: 11.4px;
  line-height: 1;
  font-weight: 760;
}
.proof-chart-tooltip span {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
  color: rgba(196,204,218,.78);
  font-size: 10.5px;
  line-height: 1.35;
  font-weight: 460;
}
.proof-chart-tooltip span + span {
  margin-top: 4px;
}
.proof-chart-tooltip i {
  width: 14px;
  height: 2.5px;
  display: inline-block;
  border-radius: 999px;
}
.proof-chart-tooltip b {
  color: rgba(247,248,252,.94);
  font-size: 10.7px;
  font-weight: 720;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

@media (max-width: 360px) {
  .proof-chart-tooltip {
    min-width: 142px;
    padding: 9px 10px 8px;
  }
  .proof-chart-tooltip span {
    font-size: 10px;
  }
}

/* FINATA v20: cleaner market label and price snapshot in company hero */
.hero-story__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.favorite-toggle {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 999px;
  padding: 0 10px;
  color: rgba(247,248,252,.76);
  background: rgba(255,255,255,.045);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 780;
  transition: border-color .16s ease, background-color .16s ease, color .16s ease, transform .16s ease;
}
.favorite-toggle svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linejoin: round;
}
.favorite-toggle:hover,
.favorite-toggle:focus-visible {
  border-color: rgba(var(--sector-rgb), .36);
  color: #fff;
  background: rgba(var(--sector-rgb), .12);
  outline: none;
}
.favorite-toggle.is-active {
  border-color: rgba(250,204,21,.36);
  color: #FDE68A;
  background: rgba(250,204,21,.13);
}
.favorite-toggle.is-active svg {
  fill: currentColor;
}
.favorite-toggle:active {
  transform: scale(.96);
}
.price-snapshot {
  flex: 0 0 auto;
  min-width: 118px;
  padding: 10px 11px 9px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px;
  background: rgba(255,255,255,.035);
  text-align: right;
}
.price-snapshot span {
  display: block;
  color: rgba(156,163,175,.72);
  font-size: 10.2px;
  line-height: 1;
  font-weight: 640;
}
.price-snapshot strong {
  display: block;
  margin-top: 7px;
  color: #fff;
  font-size: 18px;
  line-height: 1;
  font-weight: 840;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}
.price-snapshot small {
  display: block;
  margin-top: 6px;
  color: rgba(156,163,175,.82);
  font-size: 10.6px;
  line-height: 1.1;
  font-weight: 680;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.price-snapshot.is-up small { color: #F87171; }
.price-snapshot.is-down small { color: #60A5FA; }
.price-snapshot.is-flat small { color: rgba(156,163,175,.82); }
.score-update {
  margin: 8px 0 0;
  color: rgba(156,163,175,.56);
  font-size: 10.8px;
  line-height: 1.42;
  font-weight: 560;
  word-break: keep-all;
}
.company-page .score-subtext {
  margin-top: 2px;
}

@media (max-width: 360px) {
  .price-snapshot {
    min-width: 108px;
    padding: 9px 10px 8px;
  }
  .price-snapshot strong {
    font-size: 16px;
  }
  .price-snapshot small {
    font-size: 10px;
  }
}

@media (min-width: 720px) {
  .price-snapshot {
    min-width: 128px;
  }
  .price-snapshot strong {
    font-size: 19px;
  }
  .score-update {
    font-size: 11.2px;
  }
}

/* FINATA v21: move price inline with the ticker meta row */
.detail-meta-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}
.detail-meta-row #detailMeta {
  min-width: 0;
  margin-top: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.detail-meta-row .price-snapshot {
  flex: 0 0 auto;
  min-width: 0;
  display: inline-flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 6px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: right;
  white-space: nowrap;
}
.detail-meta-row .price-snapshot strong {
  margin-top: 0;
  color: rgba(247,248,252,.92);
  font-size: 13.2px;
  line-height: 1;
  font-weight: 760;
  letter-spacing: -0.035em;
}
.detail-meta-row .price-snapshot small {
  margin-top: 0;
  font-size: 11.2px;
  line-height: 1;
  font-weight: 700;
}

@media (max-width: 360px) {
  .detail-meta-row {
    gap: 7px;
  }
  .detail-meta-row #detailMeta {
    font-size: 12.2px;
  }
  .detail-meta-row .price-snapshot {
    gap: 4px;
  }
  .detail-meta-row .price-snapshot strong {
    font-size: 12.2px;
  }
  .detail-meta-row .price-snapshot small {
    font-size: 10.4px;
  }
}

@media (min-width: 720px) {
  .detail-meta-row .price-snapshot strong {
    font-size: 13.8px;
  }
  .detail-meta-row .price-snapshot small {
    font-size: 11.6px;
  }
}

/* FINATA v94: show API market capitalization below the current price */
.detail-meta-row .price-snapshot {
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  max-width: min(54%, 236px);
}
.detail-meta-row .price-snapshot__price-row {
  display: inline-flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 6px;
  max-width: 100%;
  color: inherit;
  font-size: inherit;
  line-height: 1;
  font-weight: inherit;
  white-space: nowrap;
}
.detail-meta-row .price-snapshot__market-cap {
  display: block;
  max-width: 100%;
  overflow: hidden;
  color: rgba(156,163,175,.78);
  font-size: 13.2px;
  line-height: 1.24;
  font-weight: 760;
  letter-spacing: -0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 360px) {
  .detail-meta-row .price-snapshot {
    gap: 6px;
    max-width: min(56%, 190px);
  }
  .detail-meta-row .price-snapshot__price-row {
    gap: 4px;
  }
  .detail-meta-row .price-snapshot__market-cap {
    font-size: 12.2px;
  }
}

@media (min-width: 720px) {
  .detail-meta-row .price-snapshot__market-cap {
    font-size: 13.8px;
  }
}

/* FINATA v22: subtle sector imagery inside the company identity card */
.company-page .hero-story::before {
  content: "";
  position: absolute;
  right: 20px;
  top: 62px;
  z-index: 0;
  width: min(150px, 38%);
  aspect-ratio: 320 / 220;
  background: url("./sector-bg/default.svg") center / contain no-repeat;
  opacity: .095;
  filter: drop-shadow(0 14px 34px rgba(var(--sector-rgb), .18));
  pointer-events: none;
}
.company-page .hero-story > * {
  position: relative;
  z-index: 1;
}
body.company-page[data-sector-token="반도체"] .hero-story::before { background-image: url("./sector-bg/semiconductor.svg"); }
body.company-page[data-sector-token="자동차"] .hero-story::before { background-image: url("./sector-bg/vehicle.svg"); }
body.company-page[data-sector-token="은행"] .hero-story::before,
body.company-page[data-sector-token="증권"] .hero-story::before,
body.company-page[data-sector-token="보험"] .hero-story::before { background-image: url("./sector-bg/finance.svg"); }
body.company-page[data-sector-token="의료"] .hero-story::before,
body.company-page[data-sector-token="바이오"] .hero-story::before,
body.company-page[data-sector-token="제약"] .hero-story::before { background-image: url("./sector-bg/healthcare.svg"); }
body.company-page[data-sector-token="미디어"] .hero-story::before,
body.company-page[data-sector-token="엔터"] .hero-story::before,
body.company-page[data-sector-token="게임"] .hero-story::before { background-image: url("./sector-bg/media.svg"); }
body.company-page[data-sector-token="음식료"] .hero-story::before,
body.company-page[data-sector-token="유통"] .hero-story::before,
body.company-page[data-sector-token="화장품"] .hero-story::before { background-image: url("./sector-bg/consumer.svg"); }
body.company-page[data-sector-token="화학"] .hero-story::before,
body.company-page[data-sector-token="소재"] .hero-story::before,
body.company-page[data-sector-token="철강"] .hero-story::before { background-image: url("./sector-bg/materials.svg"); }
body.company-page[data-sector-token="에너지"] .hero-story::before { background-image: url("./sector-bg/energy.svg"); }
body.company-page[data-sector-token="조선"] .hero-story::before { background-image: url("./sector-bg/ship.svg"); }
body.company-page[data-sector-token="기계"] .hero-story::before { background-image: url("./sector-bg/industry.svg"); }
body.company-page[data-sector-token="건설"] .hero-story::before { background-image: url("./sector-bg/construction.svg"); }
body.company-page[data-sector-token="운송"] .hero-story::before,
body.company-page[data-sector-token="항공"] .hero-story::before { background-image: url("./sector-bg/logistics.svg"); }
body.company-page[data-sector-token="통신"] .hero-story::before { background-image: url("./sector-bg/telecom.svg"); }
body.company-page[data-sector-token="소프트웨어"] .hero-story::before { background-image: url("./sector-bg/software.svg"); }
body.company-page[data-sector-token="디스플레이"] .hero-story::before { background-image: url("./sector-bg/display.svg"); }
body.financial-page .hero-story::before {
  content: "";
  position: absolute;
  right: 20px;
  top: 62px;
  z-index: 0;
  width: min(150px, 38%);
  aspect-ratio: 320 / 220;
  background: url("./sector-bg/default.svg") center / contain no-repeat;
  opacity: .095;
  filter: drop-shadow(0 14px 34px rgba(var(--sector-rgb), .18));
  pointer-events: none;
}
body.financial-page .hero-story > * {
  position: relative;
  z-index: 1;
}
body.financial-page[data-sector-token="반도체"] .hero-story::before { background-image: url("./sector-bg/semiconductor.svg"); }
body.financial-page[data-sector-token="자동차"] .hero-story::before { background-image: url("./sector-bg/vehicle.svg"); }
body.financial-page[data-sector-token="은행"] .hero-story::before,
body.financial-page[data-sector-token="증권"] .hero-story::before,
body.financial-page[data-sector-token="보험"] .hero-story::before { background-image: url("./sector-bg/finance.svg"); }
body.financial-page[data-sector-token="의료"] .hero-story::before,
body.financial-page[data-sector-token="바이오"] .hero-story::before,
body.financial-page[data-sector-token="제약"] .hero-story::before { background-image: url("./sector-bg/healthcare.svg"); }
body.financial-page[data-sector-token="미디어"] .hero-story::before,
body.financial-page[data-sector-token="엔터"] .hero-story::before,
body.financial-page[data-sector-token="게임"] .hero-story::before { background-image: url("./sector-bg/media.svg"); }
body.financial-page[data-sector-token="음식료"] .hero-story::before,
body.financial-page[data-sector-token="유통"] .hero-story::before,
body.financial-page[data-sector-token="화장품"] .hero-story::before { background-image: url("./sector-bg/consumer.svg"); }
body.financial-page[data-sector-token="화학"] .hero-story::before,
body.financial-page[data-sector-token="소재"] .hero-story::before,
body.financial-page[data-sector-token="철강"] .hero-story::before { background-image: url("./sector-bg/materials.svg"); }
body.financial-page[data-sector-token="에너지"] .hero-story::before { background-image: url("./sector-bg/energy.svg"); }
body.financial-page[data-sector-token="조선"] .hero-story::before { background-image: url("./sector-bg/ship.svg"); }
body.financial-page[data-sector-token="기계"] .hero-story::before { background-image: url("./sector-bg/industry.svg"); }
body.financial-page[data-sector-token="건설"] .hero-story::before { background-image: url("./sector-bg/construction.svg"); }
body.financial-page[data-sector-token="운송"] .hero-story::before,
body.financial-page[data-sector-token="항공"] .hero-story::before { background-image: url("./sector-bg/logistics.svg"); }
body.financial-page[data-sector-token="통신"] .hero-story::before { background-image: url("./sector-bg/telecom.svg"); }
body.financial-page[data-sector-token="소프트웨어"] .hero-story::before { background-image: url("./sector-bg/software.svg"); }
body.financial-page[data-sector-token="디스플레이"] .hero-story::before { background-image: url("./sector-bg/display.svg"); }

@media (max-width: 360px) {
  .company-page .hero-story::before,
  body.financial-page .hero-story::before {
    right: 16px;
    top: 58px;
    width: 132px;
    opacity: .08;
  }
}

@media (min-width: 720px) {
  .company-page .hero-story::before,
  body.financial-page .hero-story::before {
    right: 24px;
    top: 64px;
    width: 168px;
    opacity: .10;
  }
}

/* FINATA v25: fold quick metrics into the score panel */
.company-page .score-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 558px;
}
.company-page .score-panel__top {
  width: 100%;
  justify-content: flex-start;
}
.score-panel__body {
  position: relative;
  width: 100%;
  min-height: 154px;
  display: block;
}
.score-main {
  min-width: 0;
  width: min(260px, calc(100% - 178px));
  min-height: 154px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}
.score-main .hero-score {
  align-self: flex-start;
}
.score-main .score-subtext {
  margin-top: 0;
  align-self: flex-start;
  position: relative;
  z-index: 1;
}
.score-quick-metrics {
  min-width: 0;
  position: absolute;
  top: 28px;
  right: 0;
  width: 168px;
  justify-self: end;
  display: grid;
  justify-items: end;
  gap: 7px;
  align-self: end;
  padding-top: 0;
}
.score-quick-item {
  min-width: 0;
  width: fit-content;
  max-width: 100%;
  justify-self: end;
  display: grid;
  grid-template-columns: auto max-content;
  justify-content: end;
  align-items: baseline;
  gap: 7px;
  padding-left: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,.055);
}
.score-quick-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.score-quick-item span {
  color: rgba(156,163,175,.72);
  font-size: 10.6px;
  line-height: 1.1;
  font-weight: 610;
  white-space: nowrap;
}
.score-quick-item strong {
  color: rgba(247,248,252,.92);
  font-size: 12.2px;
  line-height: 1.1;
  font-weight: 760;
  letter-spacing: -0.025em;
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.company-page #quickMetrics {
  display: none;
}

@media (max-width: 360px) {
  .company-page .score-panel {
    gap: 8px;
    min-height: 532px;
  }
  .score-panel__body {
    min-height: 142px;
  }
  .score-main {
    width: min(210px, calc(100% - 148px));
    min-height: 142px;
  }
  .score-main {
    gap: 14px;
  }
  .score-quick-metrics {
    top: 24px;
    right: 0;
    width: 142px;
    gap: 6px;
  }
  .score-quick-item {
    gap: 5px;
    padding-left: 6px;
    padding-bottom: 5px;
  }
  .score-quick-item span {
    font-size: 10px;
  }
  .score-quick-item strong {
    font-size: 11.4px;
  }
}

@media (min-width: 720px) {
  .company-page .score-panel {
    min-height: 586px;
  }
  .score-panel__body {
    min-height: 166px;
  }
  .score-main {
    width: min(286px, calc(100% - 194px));
    min-height: 166px;
  }
  .score-main {
    gap: 20px;
  }
  .score-quick-metrics {
    top: 30px;
    right: 0;
    width: 178px;
  }
  .score-quick-item span {
    font-size: 11px;
  }
  .score-quick-item strong {
    font-size: 12.8px;
  }
}

/* FINATA v70: refine landing balance around search and lower utility links */
.landing-page .finata-proof-search {
  width: calc(100% - 12px);
  align-self: center;
}
.landing-page .search-field {
  height: 52px;
  border-radius: 20px;
  padding-inline: 17px;
}
.landing-page .finata-proof-auth {
  gap: 17px;
}
.landing-page .landing-utility-links {
  width: calc(100% - 36px);
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 7px;
}
.landing-page .landing-utility-links a {
  min-width: 0;
  min-height: 25px;
  padding-inline: 5px;
  font-size: 9.8px;
}
.landing-page .landing-utility-links a:nth-child(-n+3) {
  grid-column: span 2;
}
.landing-page .landing-utility-links a:nth-child(n+4) {
  grid-column: span 3;
}
.landing-page .powered-by {
  margin-top: 0;
}

@media (max-width: 360px) {
  .landing-page .finata-proof-search {
    width: calc(100% - 10px);
  }
  .landing-page .search-field {
    height: 50px;
    padding-inline: 16px;
  }
  .landing-page .finata-proof-auth {
    gap: 16px;
  }
  .landing-page .landing-utility-links {
    width: calc(100% - 30px);
    gap: 6px;
  }
  .landing-page .landing-utility-links a {
    min-height: 24px;
    font-size: 9.3px;
  }
}

@media (min-width: 900px) and (min-height: 700px) {
  .landing-page .finata-proof-search {
    width: calc(100% - 18px);
  }
  .landing-page .search-field {
    height: 60px;
    border-radius: 22px;
    padding-inline: 20px;
  }
  .landing-page .finata-proof-auth {
    gap: 19px;
  }
  .landing-page .landing-utility-links {
    width: calc(100% - 52px);
    gap: 8px;
  }
  .landing-page .landing-utility-links a {
    min-height: 27px;
    font-size: 10.3px;
  }
}

/* FINATA v71: single-line lower links with softer vertical rhythm */
.landing-page .finata-proof-auth {
  gap: 18px;
}
.landing-page .landing-utility-links {
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
  margin-bottom: 2px;
}
.landing-page .landing-utility-links a,
.landing-page .landing-utility-links a:nth-child(-n+3),
.landing-page .landing-utility-links a:nth-child(n+4) {
  flex: 0 1 auto;
  grid-column: auto;
  min-height: 24px;
  padding-inline: 5px;
  font-size: 9.1px;
}
.landing-page .powered-by {
  margin-top: 4px;
}

@media (max-width: 360px) {
  .landing-page .finata-proof-auth {
    gap: 17px;
  }
  .landing-page .landing-utility-links {
    gap: 4px;
  }
  .landing-page .landing-utility-links a,
  .landing-page .landing-utility-links a:nth-child(-n+3),
  .landing-page .landing-utility-links a:nth-child(n+4) {
    min-height: 23px;
    padding-inline: 4px;
    font-size: 8.4px;
  }
  .landing-page .powered-by {
    margin-top: 5px;
  }
}

@media (min-width: 900px) and (min-height: 700px) {
  .landing-page .finata-proof-auth {
    gap: 21px;
  }
  .landing-page .landing-utility-links {
    gap: 7px;
    margin-top: 3px;
    margin-bottom: 3px;
  }
  .landing-page .landing-utility-links a,
  .landing-page .landing-utility-links a:nth-child(-n+3),
  .landing-page .landing-utility-links a:nth-child(n+4) {
    min-height: 27px;
    padding-inline: 7px;
    font-size: 10px;
  }
  .landing-page .powered-by {
    margin-top: 6px;
  }
}

/* FINATA v72: give the backtest footnote a little more room below metrics */
.proof-footnote {
  margin-top: 11px;
}

@media (max-width: 360px) {
  .proof-footnote {
    margin-top: 9px;
  }
}

@media (min-width: 900px) and (min-height: 700px) {
  .proof-footnote {
    margin-top: 13px;
  }
}

/* FINATA v73: legal footer pages */
.legal-page {
  min-height: 100svh;
  color: #F7F8FC;
  background:
    radial-gradient(circle at 50% -8%, rgba(20,184,255,.08), transparent 300px),
    linear-gradient(180deg, #080A0F 0%, #0B0D12 100%);
}

.legal-shell {
  width: min(100%, 560px);
  margin: 0 auto;
  padding: 28px 18px 34px;
}

.legal-back-dock {
  position: fixed;
  right: max(16px, calc((100vw - 560px) / 2 + 18px));
  bottom: max(18px, calc(env(safe-area-inset-bottom) + 18px));
  z-index: 30;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 50%;
  color: #F7F8FC;
  background: rgba(17,19,26,.86);
  box-shadow: 0 12px 32px rgba(0,0,0,.32);
  backdrop-filter: blur(14px);
  text-decoration: none;
  font-size: 24px;
  line-height: 1;
  font-weight: 360;
}

.legal-back-dock:hover,
.legal-back-dock:focus-visible {
  border-color: rgba(var(--sector-rgb), .38);
  background: rgba(20,184,255,.13);
  transform: translateY(-1px);
}

.legal-hero {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  padding: 28px 24px 26px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(20,184,255,.20), transparent 170px),
    linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.008)),
    #11131A;
  box-shadow: 0 20px 58px rgba(0,0,0,.34);
}

.legal-logo {
  display: inline-flex;
  margin-bottom: 22px;
}

.legal-logo img {
  width: 126px;
  height: auto;
  display: block;
  opacity: .90;
}

.legal-hero span {
  display: block;
  color: rgba(20,184,255,.90);
  font-size: 10px;
  line-height: 1;
  font-weight: 780;
  letter-spacing: .20em;
  text-transform: uppercase;
}

.legal-hero h1 {
  margin: 11px 0 10px;
  color: #fff;
  font-size: clamp(34px, 9vw, 50px);
  line-height: .98;
  font-weight: 940;
  letter-spacing: -.075em;
}

.legal-hero p {
  max-width: 420px;
  margin: 0;
  color: rgba(247,248,252,.62);
  font-size: 13px;
  line-height: 1.58;
  font-weight: 520;
  letter-spacing: -.02em;
}

.legal-document {
  margin-top: 16px;
  padding: 24px 22px 26px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 26px;
  background: rgba(17,19,26,.74);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
}

.legal-section + .legal-section {
  margin-top: 25px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.07);
}

.legal-section h2 {
  margin: 0 0 12px;
  color: rgba(247,248,252,.94);
  font-size: 17px;
  line-height: 1.35;
  font-weight: 820;
  letter-spacing: -.045em;
}

.legal-section p {
  margin: 8px 0 0;
  color: rgba(247,248,252,.66);
  font-size: 13px;
  line-height: 1.76;
  font-weight: 390;
  letter-spacing: -.022em;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.legal-section .legal-item {
  color: rgba(247,248,252,.60);
}

.legal-footer {
  margin-top: 18px;
}

.service-page .legal-footer,
.newsroom-page .legal-footer,
.contact-page .legal-footer {
  margin-top: 26px;
}

@media (max-width: 420px) {
  .legal-shell {
    padding: 24px 14px 30px;
  }

  .legal-back-dock {
    right: 14px;
    bottom: max(16px, calc(env(safe-area-inset-bottom) + 16px));
    width: 42px;
    height: 42px;
    font-size: 22px;
  }

  .legal-hero {
    min-height: 178px;
    padding: 27px 22px 24px;
    border-radius: 26px;
  }

  .legal-logo img {
    width: 112px;
  }

  .legal-document {
    padding: 22px 18px 24px;
    border-radius: 24px;
  }

  .legal-section h2 {
    font-size: 16px;
  }

  .legal-section p {
    font-size: 12.5px;
    line-height: 1.72;
  }
}

/* FINATA v78: compact footer stack with Powered by Outshine below SNS icons */
.landing-footer-row {
  position: relative;
  width: 100%;
  min-height: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}

.landing-footer-row .powered-by {
  margin-top: 0;
}

.landing-page .finata-proof-auth {
  gap: 15px;
}

.landing-page .social-signup-row {
  gap: 12px;
}

.landing-page .social-orb {
  width: 49px;
  height: 49px;
}

.landing-page .social-orb.google svg {
  width: 23px;
  height: 23px;
}

.landing-page .social-orb.naver svg {
  width: 21px;
  height: 21px;
}

.landing-page .social-orb.kakao svg {
  width: 25px;
  height: 25px;
}

.landing-sns-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
}

.landing-sns-links a {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  opacity: .82;
  transition: opacity .18s ease, transform .18s ease, filter .18s ease;
}

.landing-sns-links img {
  display: block;
  width: 28px;
  height: 28px;
}

.landing-sns-links a:hover,
.landing-sns-links a:focus-visible {
  opacity: 1;
  filter: brightness(1.18);
  transform: translateY(-1px);
}

.landing-sns-links a:focus-visible {
  outline: 2px solid rgba(var(--sector-rgb), .42);
  outline-offset: 3px;
}

@media (max-width: 420px) {
  .landing-page .finata-proof-auth {
    gap: 14px;
  }

  .landing-page .social-orb {
    width: 47px;
    height: 47px;
  }

  .landing-footer-row {
    min-height: 49px;
    gap: 9px;
  }

  .landing-sns-links {
    gap: 6px;
  }

  .landing-sns-links a,
  .landing-sns-links img {
    width: 25px;
    height: 25px;
  }

  .landing-page .landing-utility-links {
    gap: 3.5px;
  }

  .landing-page .landing-utility-links a,
  .landing-page .landing-utility-links a:nth-child(-n+3),
  .landing-page .landing-utility-links a:nth-child(n+4) {
    padding-inline: 3px;
    font-size: 8px;
  }
}

@media (min-width: 900px) and (min-height: 700px) {
  .landing-page .finata-proof-auth {
    gap: 17px;
  }

  .landing-page .social-orb {
    width: 54px;
    height: 54px;
  }
}

/* FINATA v109: public newsroom */
.newsroom-page .detail-shell {
  width: min(820px, 100%);
}

.newsroom-page .detail-header {
  position: sticky;
  top: 12px;
  width: fit-content;
  display: inline-flex;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.newsroom-page .detail-header::before {
  content: none;
}

.newsroom-page .back-link {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.075);
  background: rgba(255,255,255,.055);
  box-shadow: 0 14px 34px rgba(0,0,0,.26);
}

.newsroom-page .hero-story {
  min-height: 220px;
  padding-inline: 24px;
}

.newsroom-page .hero-line {
  white-space: nowrap;
  font-size: 17px;
  letter-spacing: 0;
}

.newsroom-panel {
  margin-top: 26px;
  padding: 18px;
  border: 1px solid var(--app-line);
  border-radius: 26px;
  background: var(--app-bg-card);
  box-shadow: 0 18px 56px rgba(0,0,0,.30);
}

.newsroom-list {
  display: grid;
  gap: 12px;
}

.newsroom-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--app-line-soft);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--sector-rgb), .08), transparent 150px),
    rgba(255,255,255,.025);
}

.newsroom-card time {
  display: block;
  margin-bottom: 8px;
  color: rgba(156,163,175,.78);
  font-size: 11px;
  font-weight: 740;
}

.newsroom-card h3 {
  margin: 0;
  color: #fff;
  font-size: 18px;
  line-height: 1.28;
  font-weight: 860;
  letter-spacing: -0.045em;
}

.newsroom-card p {
  margin: 8px 0 0;
  color: rgba(247,248,252,.66);
  font-size: 13px;
  line-height: 1.58;
  font-weight: 560;
}

.newsroom-card__link {
  white-space: nowrap;
}

.newsroom-empty {
  margin: 0;
  padding: 26px 16px;
  border: 1px dashed rgba(255,255,255,.10);
  border-radius: 18px;
  color: rgba(247,248,252,.62);
  background: rgba(255,255,255,.018);
  text-align: center;
  font-size: 13px;
  font-weight: 650;
}

@media (max-width: 560px) {
  .newsroom-page .detail-shell {
    padding: 16px 12px 72px;
  }

  .newsroom-page .hero-story {
    min-height: 196px;
    padding-inline: 16px;
  }

  .newsroom-page .hero-line {
    font-size: 12px;
    font-weight: 760;
  }

  .newsroom-card {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .newsroom-card__link {
    width: max-content;
  }
}

@media (max-width: 380px) {
  .newsroom-page .hero-line {
    font-size: 11px;
  }
}

/* FINATA v113: partnership/contact page */
.contact-page .detail-shell {
  width: min(760px, 100%);
}

.contact-page .detail-header {
  position: sticky;
  top: 12px;
  width: fit-content;
  display: inline-flex;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.contact-page .detail-header::before {
  content: none;
}

.contact-page .back-link {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.075);
  background: rgba(255,255,255,.055);
  box-shadow: 0 14px 34px rgba(0,0,0,.26);
}

.contact-page .hero-story {
  min-height: 220px;
}

.contact-page .hero-line {
  white-space: nowrap;
  font-size: 17px;
  letter-spacing: 0;
}

.contact-panel {
  margin-top: 26px;
  padding: 18px;
  border: 1px solid var(--app-line);
  border-radius: 26px;
  background: var(--app-bg-card);
  box-shadow: 0 18px 56px rgba(0,0,0,.30);
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: rgba(156,163,175,.86);
  font-size: 12px;
  font-weight: 760;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--app-line-soft);
  border-radius: 10px;
  color: #fff;
  background: rgba(255,255,255,.045);
  font: inherit;
  font-size: 13px;
  font-weight: 620;
  padding: 10px 11px;
}

.contact-form select,
.contact-form input {
  height: 40px;
  padding-block: 0;
}

.contact-form select {
  color-scheme: dark;
}

.contact-form select option {
  color: #F7F8FC;
  background: #11131A;
}

.contact-form textarea {
  resize: vertical;
  min-height: 156px;
  line-height: 1.58;
}

.contact-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-consent {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 9px !important;
  color: rgba(247,248,252,.70) !important;
  font-size: 12px !important;
}

.contact-consent input {
  width: 16px;
  height: 16px;
}

.contact-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 4px;
}

.contact-actions p {
  margin: 0;
  color: rgba(247,248,252,.62);
  font-size: 12px;
  line-height: 1.5;
  font-weight: 650;
}

.contact-actions p[data-tone="done"] {
  color: #A7F3D0;
}

.contact-actions p[data-tone="warn"] {
  color: #FDE68A;
}

.contact-actions button {
  min-height: 40px;
  border: 1px solid rgba(var(--sector-rgb), .32);
  border-radius: 999px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255,255,255,.14), transparent 44%),
    rgba(var(--sector-rgb), .20);
  font: inherit;
  font-size: 13px;
  font-weight: 830;
  padding: 0 16px;
  white-space: nowrap;
}

.contact-actions button:disabled {
  opacity: .55;
  cursor: wait;
}

@media (max-width: 560px) {
  .contact-page .detail-shell {
    padding: 16px 12px 72px;
  }

  .contact-page .hero-line {
    font-size: 12px;
    font-weight: 760;
  }

  .contact-form-grid,
  .contact-actions {
    grid-template-columns: minmax(0, 1fr);
    display: grid;
  }

  .contact-actions button {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .contact-page .hero-line {
    font-size: 11px;
  }
}

/* FINATA service page */
.service-page .detail-shell {
  width: min(860px, 100%);
}

.service-page .detail-header {
  position: sticky;
  top: 12px;
  width: fit-content;
  display: inline-flex;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.service-page .detail-header::before {
  content: none;
}

.service-page .back-link {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.075);
  background: rgba(255,255,255,.055);
  box-shadow: 0 14px 34px rgba(0,0,0,.26);
}

.service-page .hero-story {
  min-height: 220px;
}

.service-page .hero-story > * {
  position: relative;
  z-index: 1;
}

.service-page .hero-line {
  white-space: nowrap;
  font-size: 17px;
  letter-spacing: 0;
}

.service-hero-mark {
  position: absolute !important;
  right: 28px;
  bottom: 22px;
  z-index: 0 !important;
  width: 154px;
  height: 154px;
  opacity: .10;
  filter: saturate(1.08);
  pointer-events: none;
}

.service-hero-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-panel {
  margin-top: 26px;
  padding: 18px;
  border: 1px solid var(--app-line);
  border-radius: 26px;
  background: var(--app-bg-card);
  box-shadow: 0 18px 56px rgba(0,0,0,.30);
}

.service-visual-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr) 34px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  margin: 4px 0 10px;
}

.service-flow-node {
  min-height: 118px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 7px;
  border: 1px solid rgba(var(--sector-rgb), .20);
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 0%, rgba(var(--sector-rgb), .14), transparent 92px),
    rgba(255,255,255,.03);
  text-align: center;
}

.service-flow-node span {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 9px;
  border: 1px solid rgba(var(--sector-rgb), .22);
  border-radius: 999px;
  color: var(--sector-accent);
  background: rgba(var(--sector-rgb), .09);
  font-size: 10px;
  font-weight: 860;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.service-flow-node strong {
  color: #fff;
  font-size: 16px;
  line-height: 1.24;
  font-weight: 860;
  letter-spacing: -0.045em;
}

.service-visual-flow i {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--sector-rgb), .54), transparent);
}

.service-visual-caption {
  margin: 0 0 18px;
  color: rgba(247,248,252,.66);
  font-size: 12.5px;
  line-height: 1.55;
  font-weight: 620;
  text-align: center;
  word-break: keep-all;
}

.service-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.service-feature-grid.core {
  margin-top: 0;
}

.service-feature-grid.services {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-feature-grid article {
  min-height: 136px;
  padding: 14px;
  border: 1px solid var(--app-line-soft);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--sector-rgb), .08), transparent 150px),
    rgba(255,255,255,.025);
}

.service-feature-grid span {
  color: var(--sector-accent);
  font-size: 11px;
  font-weight: 860;
  letter-spacing: .08em;
}

.service-feature-grid h3 {
  margin: 8px 0 0;
  color: #fff;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 860;
  letter-spacing: -0.04em;
}

.service-feature-grid p {
  margin: 10px 0 0;
  color: rgba(247,248,252,.62);
  font-size: 12px;
  line-height: 1.52;
  font-weight: 560;
}

@media (max-width: 640px) {
  .service-page .detail-shell {
    padding: 16px 12px 72px;
  }

  .service-page .hero-line {
    font-size: 11.5px;
    font-weight: 760;
    white-space: normal;
  }

  .service-hero-mark {
    right: 18px;
    bottom: 18px;
    width: 116px;
    height: 116px;
  }

  .service-visual-flow {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .service-visual-flow i {
    width: 1px;
    height: 18px;
    justify-self: center;
    background: linear-gradient(180deg, transparent, rgba(var(--sector-rgb), .54), transparent);
  }

  .service-flow-node {
    min-height: 86px;
    border-radius: 18px;
  }

  .service-flow-node strong {
    font-size: 15px;
  }

  .service-visual-caption {
    margin-bottom: 14px;
    font-size: 12px;
  }

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

  .service-feature-grid article {
    min-height: 0;
  }
}

/* FINATA v117: replace landing social buttons with login status */
.landing-page .social-signup-row {
  flex-wrap: nowrap;
}

.landing-page.is-authenticated .social-orb {
  display: none;
}

.landing-page .auth-status {
  position: static;
  right: auto;
  bottom: auto;
  z-index: 1;
  flex: 0 1 auto;
  min-width: 0;
  max-width: min(390px, 100%);
  gap: 8px;
  padding: 8px 8px 8px 14px;
  border-color: rgba(20,184,255,.24);
  background: rgba(12,14,20,.96);
  box-shadow: 0 18px 42px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.04);
  font-size: 11.5px;
}

.landing-page.is-authenticated .auth-status {
  flex-basis: auto;
  max-width: min(390px, 100%);
  min-height: 0;
  justify-content: space-between;
  padding: 8px 8px 8px 14px;
}

.landing-page .auth-status .finata-auth-widget__body {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.landing-page .auth-status .finata-auth-widget__body span {
  max-width: 190px;
  color: var(--sector-accent);
  overflow: hidden;
  font-size: 11px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.landing-page .auth-status .finata-auth-widget__body strong {
  max-width: 190px;
  overflow: hidden;
  color: rgba(247,248,252,.76);
  font-size: 11px;
  font-weight: 560;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.landing-page .auth-status button {
  min-height: 34px;
  padding: 0 12px;
  font-size: 12px;
}

.landing-page.is-authenticated .auth-status button {
  min-height: 34px;
  padding: 0 12px;
}

.landing-page .auth-status a {
  min-height: 34px;
  border-color: rgba(255,255,255,.12);
  padding: 0 12px;
  color: rgba(247,248,252,.88);
  background: rgba(255,255,255,.08);
  font-size: 12px;
}

.landing-page.is-authenticated .auth-status a {
  min-height: 34px;
  padding: 0 12px;
}

@media (max-width: 380px) {
  .landing-page .social-signup-row {
    gap: 8px;
  }

  .landing-page .auth-status {
    flex-basis: auto;
    max-width: min(316px, 100%);
    padding-inline: 10px 6px;
  }

  .landing-page.is-authenticated .auth-status {
    flex-basis: auto;
    max-width: min(316px, 100%);
    padding-inline: 10px 6px;
  }

  .landing-page .auth-status .finata-auth-widget__body span,
  .landing-page .auth-status .finata-auth-widget__body strong {
    max-width: 112px;
  }

  .landing-page .auth-status button,
  .landing-page .auth-status a {
    min-height: 30px;
    padding: 0 9px;
    font-size: 11px;
  }
}
