/* Caveat for Startups — 어두운 공간 위의 시간축. 3D 프로토타입(frontend/)과 같은 쪽 분위기로 둔다. */
:root {
  color-scheme: dark;
  --void: #080c11;
  --surface: rgba(20, 29, 40, 0.72);
  --surface-2: rgba(29, 41, 56, 0.85);
  --line: rgba(126, 160, 196, 0.16);
  --line-2: rgba(126, 160, 196, 0.3);
  --ink: #e9eef4;
  --muted: #8396ab;
  --faint: #56677a;
  --amber: #f0b45e;
  --build: #6fa8ff;
  --live: #f0b45e;
  --mint: #7fe0c2;
  --danger: #ff7a7a;
  --radius: 16px;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--void);
  background-image:
    radial-gradient(1200px 600px at 20% -10%, rgba(111, 168, 255, 0.10), transparent 60%),
    radial-gradient(900px 500px at 100% 110%, rgba(240, 180, 94, 0.08), transparent 60%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: 'IBM Plex Sans KR', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
button, input, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.muted { color: var(--muted); font-size: 0.875rem; margin: 0; }

/* ── 머리 줄 ── */
.top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px clamp(16px, 3vw, 32px);
}
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; min-width: 0; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 9px; flex: none;
  background: conic-gradient(from 200deg, var(--build), var(--mint), var(--amber), var(--build));
  box-shadow: 0 0 24px rgba(111, 168, 255, 0.35);
  -webkit-mask: radial-gradient(circle at 50% 50%, transparent 6px, #000 7px);
          mask: radial-gradient(circle at 50% 50%, transparent 6px, #000 7px);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.brand-text b { font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
.brand-text small { color: var(--muted); font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
.top-actions { display: flex; gap: 8px; align-items: center; }

.banner { margin: 0 clamp(16px, 3vw, 32px) 12px; padding: 10px 14px; border-radius: 10px;
  background: rgba(255, 122, 122, 0.12); border: 1px solid rgba(255, 122, 122, 0.35); color: #ffc9c9; font-size: 0.875rem; }

/* ── 버튼 ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 1px solid var(--line-2); background: var(--surface-2); color: var(--ink);
  padding: 9px 16px; border-radius: 999px; cursor: pointer; text-decoration: none; font-size: 0.9rem;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
}
.btn:hover { border-color: var(--muted); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--amber); border-color: var(--amber); color: #1a1206; font-weight: 600; }
.btn.primary:hover { background: #f6c27a; }
.btn.ghost { background: transparent; }
.btn.danger { background: transparent; border-color: rgba(255, 122, 122, 0.4); color: var(--danger); }
.btn.small { padding: 6px 12px; font-size: 0.82rem; }
.btn.tiny { padding: 3px 9px; font-size: 0.74rem; }
.btn.big { padding: 14px 26px; font-size: 1rem; }
.btn:focus-visible, .link:focus-visible, .pk-tile:focus-visible, .ms-head:focus-visible, .isic-chip:focus-visible {
  outline: 2px solid var(--build); outline-offset: 2px;
}
.link { background: none; border: 0; color: var(--muted); cursor: pointer; padding: 0; text-decoration: underline; text-underline-offset: 3px; font-size: 0.8rem; }
.link:hover { color: var(--ink); }

/* ── 한 공간: 시간축 + 패널 ── */
.space {
  flex: 1; display: grid; gap: 16px;
  grid-template-columns: minmax(0, 1fr) 400px;
  padding: 0 clamp(16px, 3vw, 32px);
  min-height: 0;
}
.stage, .panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.stage { position: relative; min-height: max(420px, calc(100vh - 150px)); overflow: hidden; }
.stage-scroll { position: absolute; inset: 0; overflow: auto; padding: 8px 0; } /* 무대 크기는 그리드가 정하고 SVG는 그 안을 채운다 */
.timeline { display: block; user-select: none; }
.timeline .tl-mark { touch-action: none; } /* 표식만 끌기, 나머지는 손가락으로 가로 스크롤 */
.stage-empty { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.stage-empty .btn { pointer-events: auto; box-shadow: 0 0 40px rgba(240, 180, 94, 0.3); }

.panel { padding: 22px; overflow-y: auto; max-height: calc(100vh - 120px); position: sticky; top: 16px; align-self: start; }

/* ── 타임라인 SVG ── */
.tl-grid { stroke: var(--line); stroke-width: 1; }
.tl-grid.major { stroke: var(--line-2); }
.tl-tick { fill: var(--muted); font-size: 11px; font-family: var(--mono); }
.tl-year { fill: var(--ink); font-size: 11px; font-family: var(--mono); font-weight: 500; }
.tl-lane-bg { fill: transparent; transition: fill 0.15s; cursor: pointer; }
.tl-lane:hover .tl-lane-bg { fill: rgba(126, 160, 196, 0.05); }
.tl-lane.sel .tl-lane-bg { fill: rgba(111, 168, 255, 0.08); }
.tl-name { fill: var(--ink); font-size: 14px; font-weight: 600; pointer-events: none; }
.tl-lane:not(.sel) .tl-name { fill: #b7c4d2; font-weight: 500; }
.tl-isic { fill: var(--faint); font-size: 11px; font-family: var(--mono); pointer-events: none; }
.tl-rail { stroke: var(--line-2); stroke-width: 1.5; stroke-dasharray: 2 4; }
.tl-rail.ghost { stroke: var(--line); }
.tl-live { fill: var(--live); opacity: 0.75; }
.tl-lane.sel .tl-live { opacity: 1; }
.tl-mark { cursor: grab; }
.tl-mark:active { cursor: grabbing; }
.tl-mark .hit { fill: transparent; }
.tl-created circle:not(.hit) { fill: var(--void); stroke: var(--build); stroke-width: 2.5; }
.tl-launch rect { fill: var(--amber); stroke: #fff3; stroke-width: 1; }
.tl-ms circle:not(.hit):not(.ring) { fill: var(--mint); stroke: var(--void); stroke-width: 2; }
.tl-ms .stem { stroke: var(--mint); stroke-opacity: 0.4; }
.tl-ms .ring { fill: none; stroke: var(--mint); stroke-width: 1.2; stroke-dasharray: 2 2; }
.tl-ms-label { fill: var(--mint); font-size: 11px; text-anchor: middle; pointer-events: none; }
.tl-mark:hover circle:not(.hit):not(.ring), .tl-mark:hover rect { filter: brightness(1.25); }
.tl-today { stroke: var(--amber); stroke-width: 1; stroke-dasharray: 4 3; opacity: 0.7; }
.tl-today-tag { fill: var(--amber); }
.tl-today-text { fill: #1a1206; font-size: 10.5px; font-weight: 700; text-anchor: middle; font-family: var(--mono); }
.tl-tip {
  position: absolute; pointer-events: none; z-index: 3;
  background: #0d141c; border: 1px solid var(--line-2); border-radius: 8px;
  padding: 5px 9px; font-size: 0.78rem; white-space: nowrap; box-shadow: 0 6px 20px #0008;
}

/* ── 패널 ── */
.pn-head { position: relative; margin-bottom: 18px; }
.eyebrow { margin: 0 0 6px; color: var(--amber); font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.06em; }
.pn-head h2 { margin: 0; font-size: 1.5rem; line-height: 1.25; letter-spacing: -0.015em; word-break: keep-all; overflow-wrap: anywhere; }
.pn-isic { margin: 8px 0 0; color: var(--muted); font-size: 0.85rem; }
.pn-isic b { margin-right: 4px; }
.pn-head h2 { display: flex; align-items: center; gap: 10px; }

/* 국기: 이모지 대신 SVG(윈도우에서 국기 이모지는 글자로 떨어진다) */
.flag { display: inline-block; flex: none; width: 20px; height: 15px; border-radius: 2px; object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12); vertical-align: middle; }
.flag.big { width: 28px; height: 21px; border-radius: 3px; }
.flag.globe { box-shadow: none; color: var(--build); height: 20px; width: 20px; }
.flag.big.globe { width: 26px; height: 26px; }
.tl-globe { color: var(--build); }
.pf-field > .country-pick { display: flex; align-items: center; gap: 8px; font-size: inherit; color: inherit; }
.country-pick select { flex: 1; min-width: 0; }
.pf select {
  width: 100%; background: rgba(8, 12, 17, 0.6); border: 1px solid var(--line-2); border-radius: 10px;
  padding: 10px 12px; outline: none; color: inherit; font: inherit; color-scheme: dark;
}
.pf select:focus { border-color: var(--build); }
.bench-note.basis { color: var(--amber); margin: 0 0 12px; }
.pn-empty { text-align: center; padding: 24px 0; }

/* ── 프로젝트 창 (페이지 안 dialog) ── */
.pdialog {
  width: min(520px, calc(100vw - 32px)); max-height: calc(100vh - 48px);
  padding: 0; border: 1px solid var(--line-2); border-radius: 20px;
  background: #0b1118; color: var(--ink); overflow: auto;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(111, 168, 255, 0.06);
}
.pdialog::backdrop { background: rgba(4, 7, 10, 0.72); backdrop-filter: blur(4px); }
.pdialog[open] { animation: pd-in 0.18s ease-out; }
@keyframes pd-in { from { opacity: 0; transform: translateY(8px) scale(0.98); } }
.pd { padding: 22px 24px 24px; }
.pd-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.pd-head h2 { margin: 0; font-size: 1.15rem; }

/* ── 우클릭 메뉴 ── */
.ctx-menu {
  position: fixed; z-index: 20; min-width: 140px; padding: 6px;
  background: #0d141c; border: 1px solid var(--line-2); border-radius: 12px;
  box-shadow: 0 14px 40px -10px rgba(0, 0, 0, 0.8);
  display: flex; flex-direction: column;
}
.ctx-menu button {
  background: none; border: 0; text-align: left; padding: 9px 12px; border-radius: 8px; cursor: pointer; font-size: 0.9rem;
}
.ctx-menu button:hover, .ctx-menu button:focus-visible { background: rgba(111, 168, 255, 0.12); outline: none; }
.ctx-menu button.danger { color: var(--danger); }
.ctx-menu button.danger:hover, .ctx-menu button.danger:focus-visible { background: rgba(255, 122, 122, 0.12); }
.timeline, .pn-head { -webkit-touch-callout: none; }

.date-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 22px; }
.tile { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: rgba(8, 12, 17, 0.4); }
.tile span { display: block; font-size: 0.75rem; color: var(--muted); margin-bottom: 4px; }
.tile b { font-family: var(--mono); font-weight: 500; font-size: 1.02rem; }
.tile:first-child { border-left: 3px solid var(--build); }
.tile.launch { border-left: 3px solid var(--amber); }
.tile.unset b { color: var(--faint); font-family: inherit; font-size: 0.95rem; }

.pn-sec { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 18px; }
.pn-sec h3 { margin: 0 0 12px; font-size: 0.82rem; color: var(--muted); font-weight: 500; letter-spacing: 0.04em; }
.sec-toggle { display: flex; width: 100%; justify-content: space-between; align-items: center; background: none; border: 0; padding: 0; cursor: pointer; }
.sec-toggle h3 { margin: 0; }
.sec-toggle span { color: var(--build); font-size: 0.82rem; }
#bench-body { margin-top: 14px; }

/* 폼 */
.pf { display: flex; flex-direction: column; gap: 16px; }
.pf-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pf-field > span { font-size: 0.78rem; color: var(--muted); }
.pf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pf input, .ms-add input, .ms-body input, .ms-body textarea, .pk-head input {
  width: 100%; background: rgba(8, 12, 17, 0.6); border: 1px solid var(--line-2); border-radius: 10px;
  padding: 10px 12px; outline: none; min-width: 0;
}
.pf input:focus, .ms-add input:focus, .ms-body input:focus, .ms-body textarea:focus, .pk-head input:focus { border-color: var(--build); }
.pf input[name=name] { font-size: 1.1rem; font-weight: 600; }
input[type=date] { font-family: var(--mono); color-scheme: dark; }
.pf-err { margin: 0; color: var(--danger); font-size: 0.85rem; }
.pf-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.pf-actions .danger { margin-left: auto; }
.isic-chip {
  display: flex; align-items: center; gap: 10px; text-align: left; width: 100%;
  padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(8, 12, 17, 0.6); cursor: pointer;
}
.isic-chip.empty { border-style: dashed; color: var(--build); justify-content: center; }
.isic-chip b { font-size: 1.3rem; }
.isic-chip span { flex: 1; font-size: 0.9rem; min-width: 0; }
.isic-chip em { font-style: normal; color: var(--build); font-size: 0.8rem; }

/* 마일스톤 */
.ms-add { display: grid; grid-template-columns: 1fr 9.5rem auto; gap: 6px; margin-bottom: 12px; }
.ms-add input { padding: 8px 10px; font-size: 0.88rem; }
.ms-list { list-style: none; margin: 0; padding: 0; position: relative; }
.ms-list::before { content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: var(--line-2); }
.ms { position: relative; }
.ms-head { display: flex; align-items: center; gap: 12px; width: 100%; background: none; border: 0; padding: 8px 6px 8px 0; cursor: pointer; text-align: left; border-radius: 8px; }
.ms-head:hover { background: rgba(126, 160, 196, 0.06); }
.ms-dot { width: 15px; height: 15px; border-radius: 50%; flex: none; background: var(--void); border: 2px solid var(--mint); position: relative; z-index: 1; }
.ms.past .ms-dot { background: var(--mint); }
.ms.target .ms-dot { box-shadow: 0 0 0 3px var(--void), 0 0 0 4px rgba(127, 224, 194, 0.5); }
.ms-title { flex: 1; font-size: 0.92rem; min-width: 0; overflow-wrap: anywhere; }
.ms-date { font-family: var(--mono); font-size: 0.78rem; color: var(--muted); white-space: nowrap; }
.ms-body { display: flex; flex-direction: column; gap: 10px; padding: 6px 0 14px 27px; }
.ms-body label { display: flex; flex-direction: column; gap: 4px; }
.ms-body label span { font-size: 0.72rem; color: var(--muted); }
.ms-body input, .ms-body textarea { padding: 8px 10px; font-size: 0.88rem; resize: vertical; }
.ms-body .btn { align-self: flex-start; }
.ms-src { margin: 0; font-size: 0.72rem; color: var(--faint); line-height: 1.5; }

/* 업종 분포 */
.dist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.d-top { display: flex; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.d-name { flex: 1; font-size: 0.88rem; }
.d-med { font-family: var(--mono); font-weight: 500; color: var(--mint); }
.d-bar { position: relative; height: 14px; }
.d-bar::before { content: ''; position: absolute; left: 0; right: 0; top: 6px; height: 2px; border-radius: 2px; background: var(--line-2); }
.d-box { position: absolute; top: 2px; height: 10px; border-radius: 5px; background: rgba(127, 224, 194, 0.28); border: 1px solid rgba(127, 224, 194, 0.5); }
.d-tick { position: absolute; top: -1px; width: 3px; height: 16px; margin-left: -1.5px; border-radius: 2px; background: var(--mint); }
.d-dot { position: absolute; top: 2px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 2px var(--void); }
.d-low { font-style: normal; color: var(--amber); }
.d-zero { position: absolute; top: -3px; height: 20px; width: 1px; background: var(--faint); }
.d-axis { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 0.7rem; color: var(--faint); margin-top: 4px; }
.bench-legend { display: flex; align-items: center; gap: 6px; font-size: 0.72rem; color: var(--muted); margin: 16px 0 6px; }
.bench-legend i { display: inline-block; }
.lg-box { width: 18px; height: 8px; border-radius: 4px; background: rgba(127, 224, 194, 0.28); border: 1px solid rgba(127, 224, 194, 0.5); }
.lg-med { width: 3px; height: 12px; border-radius: 2px; background: var(--mint); margin-left: 10px; }
.bench-src, .bench-note { font-size: 0.72rem; color: var(--faint); margin: 6px 0 0; line-height: 1.55; }
.bench-note { color: var(--muted); }

/* ── 바닥 줄 ── */
.foot { display: flex; align-items: center; gap: 14px; padding: 14px clamp(16px, 3vw, 32px) 18px; color: var(--muted); font-size: 0.8rem; flex-wrap: wrap; }
.foot .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); margin-right: -6px; }
.foot #local-note { margin-right: auto; }

/* ── ISIC 피커 ── */
.picker {
  width: min(1080px, calc(100vw - 32px)); max-height: calc(100vh - 48px);
  padding: 0; border: 1px solid var(--line-2); border-radius: 20px;
  background: #0b1118; color: var(--ink); overflow: hidden;
}
.picker::backdrop { background: rgba(4, 7, 10, 0.72); backdrop-filter: blur(4px); }
.pk { display: flex; flex-direction: column; max-height: calc(100vh - 50px); }
.pk-head { display: flex; align-items: center; gap: 14px; padding: 20px 22px 12px; }
.pk-head h2 { margin: 0; font-size: 1.15rem; white-space: nowrap; }
.pk-head input { flex: 1; }
.pk-close { background: none; border: 0; color: var(--muted); font-size: 1.1rem; cursor: pointer; padding: 6px; }
.pk-crumbs { display: flex; align-items: center; gap: 6px; padding: 0 22px 12px; flex-wrap: wrap; min-height: 34px; }
.pk-crumbs > button:not(.btn) { background: none; border: 0; color: var(--build); cursor: pointer; font-family: var(--mono); font-size: 0.85rem; padding: 2px 4px; }
.pk-crumbs > span { color: var(--faint); }
.pk-this { margin-left: auto; }
.pk-grid {
  overflow-y: auto; padding: 4px 22px 24px;
  display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
}
.pk-grid.deep, .pk-grid.list { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.pk-tile {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-align: left;
  padding: 16px; border-radius: 14px; cursor: pointer; min-height: 96px;
  background: linear-gradient(160deg, rgba(29, 41, 56, 0.9), rgba(14, 20, 28, 0.9));
  border: 1px solid var(--line); transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.pk-tile:hover { border-color: var(--build); transform: translateY(-2px); box-shadow: 0 10px 30px -12px rgba(111, 168, 255, 0.5); }
.pk-tile.cur { border-color: var(--amber); }
.pk-tile.lvl-section { min-height: 140px; }
.pk-glyph { font-size: 1.8rem; line-height: 1; margin-bottom: 6px; }
.pk-code { font-family: var(--mono); font-size: 0.75rem; color: var(--build); }
.pk-name { font-size: 0.88rem; line-height: 1.4; }
.pk-kids { margin-top: auto; padding-top: 6px; font-size: 0.72rem; color: var(--muted); }

/* ── 좁은 화면 ── */
@media (max-width: 1023px) {
  .space { grid-template-columns: 1fr; }
  .panel { position: static; max-height: none; }
  .stage { min-height: 0; }
  .stage-scroll { position: relative; inset: auto; max-height: 56vh; }
  .stage-empty { position: static; padding: 0 0 24px; }
}
@media (max-width: 560px) {
  .top { padding-top: 12px; }
  .brand-text b { font-size: 0.92rem; }
  .top-actions .home { display: none; }
  #new-btn-label { display: none; }
  #new-btn { width: 40px; height: 40px; padding: 0; font-size: 1.1rem; }
  .panel { padding: 18px 16px; }
  .ms-add { grid-template-columns: 1fr auto; }
  .ms-add input[name=title] { grid-column: 1 / -1; }
  .pk-head { flex-wrap: wrap; padding: 16px 16px 10px; }
  .pk-head input { order: 3; flex-basis: 100%; }
  .pk-head h2 { flex: 1; }
  .pk-crumbs, .pk-grid { padding-left: 16px; padding-right: 16px; }
  .pk-grid, .pk-grid.deep, .pk-grid.list { grid-template-columns: 1fr 1fr; }
  .pk-tile.lvl-section { min-height: 116px; }
  .pf-row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ── 코호트 차트: 같은 자리에서 출발한 회사들(닻 축) ── */
.cohort .cc-name { font-size: 0.76rem; color: var(--muted); margin: 10px 0 4px; line-height: 1.5; }
.cohort .cc-mode { margin-top: 6px; }
.cohort-chart { width: 100%; height: auto; display: block; margin-top: 4px; }
.cohort-chart .cc-grid { stroke: rgba(138, 155, 176, 0.12); }
.cohort-chart .cc-base { stroke: rgba(138, 155, 176, 0.3); }
.cohort-chart .cc-tick { font: 10.5px var(--mono); fill: var(--faint); }
.cohort-chart .cc-axis { font-size: 11.5px; fill: #c6d0db; }
.cohort-chart .cc-surv { font-size: 11px; fill: var(--mint); }
.cohort-chart .cc-band { fill: #9aa7b6; }
.cohort-chart .cc-band.outer { fill-opacity: 0.1; }
.cohort-chart .cc-band.inner { fill-opacity: 0.24; }
.cohort-chart .cc-dot { fill: #9aa7b6; }
.cohort-chart .cc-median { fill: none; stroke: var(--ink); stroke-width: 2; }
.cohort-chart .cc-median.thin { stroke-width: 1.1; stroke-opacity: 0.5; }
.cohort-chart .cc-med { fill: var(--ink); }
.cohort-chart .cc-med-label { font: 10px var(--mono); fill: #c6d0db; }
.cohort-chart .cc-single { fill: none; stroke: var(--ink); stroke-width: 1.4; }
.cohort-chart .cc-overlay { fill: var(--build); stroke: var(--void); stroke-width: 1.5; }
.cohort-chart .cc-future { fill: rgba(240, 180, 94, 0.035); }
.cohort-chart .cc-today { stroke: var(--amber); stroke-dasharray: 4 4; stroke-opacity: 0.75; }
.cohort-chart .cc-today-label { font-size: 11px; fill: var(--amber); }
.cohort .cc-overlay-note { font-size: 0.72rem; color: var(--build); margin: 6px 0 0; }
.cohort-chart .cc-annual { fill: var(--faint); font-size: 9.5px; }
.cohort .cc-elapsed { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 0.74rem; }
.cohort .cc-elapsed caption { text-align: left; color: var(--muted); padding-bottom: 6px; caption-side: top; }
.cohort .cc-elapsed th, .cohort .cc-elapsed td { padding: 4px 6px; border-top: 1px solid var(--line); text-align: right; font-weight: 400; }
.cohort .cc-elapsed th:first-child { text-align: left; color: var(--muted); }
.cohort .cc-elapsed td { font-family: var(--mono); }
.cohort .cc-elapsed td small { color: var(--muted); }
.cohort .cc-elapsed .cc-own-n { display: block; font-size: 0.66rem; }
