:root {
  --bg: #f5f5f3; --surface: #fff; --ink: #0b0b0b; --muted: #52514e; --line: #e5e4df; --chip: #f0efeb;
  --blue: #2a78d6; --orange: #eb6834; --aqua: #1baf7a;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15px/1.5 var(--sans); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.top { background: var(--surface); border-bottom: 1px solid var(--line); padding: 28px 0 22px; margin-bottom: 20px; }
h1 { font-size: 28px; margin: 0 0 6px; letter-spacing: -0.01em; }
h2 { font-size: 18px; margin: 0 0 12px; }
h3 { font-size: 14px; margin: 18px 0 8px; color: var(--muted); font-weight: 600; }
.lede { margin: 0; color: var(--muted); max-width: 720px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 20px; margin-bottom: 16px; min-width: 0; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid2 .panel { margin-bottom: 0; }
.grid2 + .panel, .grid2 + .grid2 { margin-top: 16px; }
.inputs { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin-bottom: 14px; }
label { display: grid; gap: 4px; font-size: 13px; color: var(--muted); }
input, select { font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; min-height: 40px; width: 100%; }
input:focus, select:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.kpi { background: var(--chip); border-radius: 10px; padding: 12px 14px; display: grid; gap: 2px; min-width: 0; }
.kpi span, .kpi small { font-size: 12px; color: var(--muted); }
.kpi b { font-size: 22px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.chart { position: relative; height: 280px; }
.small-chart { height: 220px; }
.result { background: var(--chip); border-radius: 10px; padding: 12px 14px; margin: 0; }
.result b { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.scroll { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; margin-bottom: 12px; }
.tbl th, .tbl td { padding: 7px 8px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.tbl th:first-child, .tbl td:first-child { text-align: left; white-space: normal; }
.tbl th { font-size: 12px; color: var(--muted); font-weight: 500; }
.tbl tr.best td { font-weight: 600; }
details { margin-top: 10px; }
summary { cursor: pointer; color: var(--blue); font-size: 14px; }
a { color: var(--blue); }
.foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: 13px; padding-bottom: 32px; }
@media (max-width: 860px) {
  .grid2 { grid-template-columns: minmax(0, 1fr); }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  h1 { font-size: 23px; }
  .panel { padding: 14px; }
  .kpi b { font-size: 18px; }
  .inputs { grid-template-columns: minmax(0, 1fr); }
}
/* FDI page */
:root { --red: #c4452c; --grey: #b9b8b2; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.chip { font: inherit; font-size: 13px; border: 1px solid var(--line); background: var(--chip); color: var(--ink); border-radius: 999px; padding: 6px 12px; cursor: pointer; min-height: 34px; }
.chip[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.cap { display: flex; align-items: center; gap: 8px; justify-content: flex-end; }
.cap i { display: inline-block; width: 70px; height: 8px; border-radius: 4px; background: var(--chip); position: relative; overflow: hidden; }
.cap i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--blue); }
.cap.none i::after { background: var(--red); width: 100%; opacity: .35; }
.tbl td.wrap-cell { white-space: normal; text-align: left; min-width: 180px; color: var(--muted); font-size: 13px; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.timeline li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 10px; }
.timeline b { font-variant-numeric: tabular-nums; color: var(--blue); }
.timeline span { color: var(--muted); font-size: 14px; }
.tall-chart { height: 460px; }
@media (max-width: 600px) {
  .chart { height: 260px; } .chart.tall-chart { height: 620px; }
  #capTable thead { display: none; }
  #capTable tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
  #capTable td { border: 0; padding: 0; white-space: normal; text-align: left; }
  #capTable td[data-l="Sector"] { font-weight: 600; }
  #capTable td[data-l="Route"] { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }
  #capTable td[data-l="Route"]::before { content: "Route: "; }
  #capTable td.wrap-cell { grid-column: 1 / -1; min-width: 0; }
  #capTable td.wrap-cell:empty { display: none; }
}
.tbl td[data-l="Route"] { text-align: left; white-space: normal; }
.tbl th:nth-child(3) { text-align: left; }


:root{--bg:#eeede7;--surface:#faf9f4;--ink:#243747;--muted:#647078;--line:#d8dedc;--chip:#e8ece9;--blue:#476e87;--orange:#b68b50;--aqua:#448477;--grey:#8a979f;--red:#b85a4b;--sans:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color-scheme:light}
body{-webkit-font-smoothing:antialiased}html{scroll-behavior:smooth;scroll-padding-top:24px}.wrap{max-width:1320px;padding-left:40px;padding-right:40px}.masthead{height:80px;display:flex;justify-content:space-between;align-items:center}.masthead a{text-decoration:none;color:var(--ink)}.brand{font-size:19px;letter-spacing:-.03em}.masthead>div{display:flex;gap:28px;font-size:12px}.top{background:#243747;color:#f0eee5;padding:54px 0 48px;margin-bottom:30px;border:0}.label{font:11px ui-monospace,monospace;letter-spacing:.12em;color:#c4b190;display:block;margin-bottom:22px}h1{font:500 clamp(40px,5vw,68px)/1.06 Georgia,serif;letter-spacing:-.045em;margin:0 0 24px}h1 em{font-style:italic;color:#c6d6d9}.lede{font-size:15px;line-height:1.8;color:#cbd4d9;max-width:680px}.panel{border-radius:12px;padding:28px;margin-bottom:24px}h2{font-size:25px;letter-spacing:-.035em;font-weight:600;margin-bottom:22px}h3{font-size:13px;font-weight:500;color:var(--muted);margin-top:28px}.kpis{gap:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-bottom:28px}.kpi{background:transparent;border-radius:0;padding:20px;border-right:1px solid var(--line);gap:8px}.kpi:first-child{padding-left:0}.kpi:last-child{border-right:0}.kpi b{font-size:32px;letter-spacing:-.035em;font-weight:550;font-variant-numeric:tabular-nums}.kpi span,.kpi small{font-size:12px;line-height:1.6}.chart{min-width:0;max-width:100%;height:320px}.chart canvas{max-width:100%}.small-chart{height:250px}.grid2{gap:24px}.grid2+.panel{margin-top:24px}.chip{font:500 13px var(--sans);border:1px solid var(--line);border-radius:7px;padding:9px 18px;background:transparent;color:var(--muted);cursor:pointer;transition:background 160ms,color 160ms}.chip[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:white}.inputs{gap:18px;margin-bottom:22px}label{font-size:12px;gap:8px}input,select{min-height:46px;border-radius:8px;background:var(--surface);padding:10px 12px;font-size:15px}.tbl td,.tbl th{padding:13px 10px;font-size:12px}.result{background:#e8ece9;border-left:3px solid var(--blue);border-radius:8px;padding:18px;font-size:14px;line-height:1.8}.small{line-height:1.8}.cap i{background:var(--chip)}.cap i::after{background:var(--blue)}summary{padding:14px 0}.timeline li{line-height:1.8}.deal{border:1px solid var(--line);border-top:3px solid var(--c,var(--blue));border-radius:10px;background:var(--surface)}.foot{border-top:1px solid var(--line);padding-top:24px;font-size:12px}a:focus-visible,button:focus-visible,summary:focus-visible{outline:2px solid var(--blue);outline-offset:4px}
@media(max-width:640px){.wrap{padding-left:20px;padding-right:20px}.masthead{height:68px}.brand{font-size:16px}.masthead>div a:not(:last-child){display:none}.top{padding:34px 0}h1{font-size:42px}.panel{padding:18px}.kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.kpi,.kpi:first-child{padding:16px 12px}.kpi:nth-child(2){border-right:0}.kpi:nth-child(-n+2){border-bottom:1px solid var(--line)}.kpi b{font-size:25px}.chart{height:270px}h2{font-size:23px}.grid2{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}
