.an-page { background: #061416; }
.an-page .nav-links a[aria-current] { color: var(--ink); background: rgba(239, 247, 244, .07); }
.an-page .btn { text-decoration: none; }
.an { flex: none; display: block; width: 100%; max-width: 1080px; margin: 0 auto; padding: 36px 24px 60px; }
.an-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.an-head h1 { font: 400 46px/1 var(--serif); letter-spacing: -.01em; }
.an-loading { padding: 80px 0; color: var(--muted); text-align: center; }
.seg { display: inline-flex; gap: 2px; padding: 3px; background: rgba(0, 0, 0, .3); border: 1px solid var(--line); border-radius: 12px; box-shadow: inset 0 1px 3px rgba(0, 0, 0, .4); }
.seg button { padding: 6px 12px; background: none; border: 1px solid transparent; border-radius: 9px; color: var(--muted); font: 500 13px var(--sans); transition: color .2s, background .2s; }
.seg button:hover { color: var(--ink); }
.seg button[aria-selected="true"] { color: var(--ink); border-color: rgba(239, 247, 244, .12); background: linear-gradient(180deg, rgba(239, 247, 244, .1), rgba(239, 247, 244, .03)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 2px 8px rgba(0, 0, 0, .35); }
.seg.small button { padding: 5px 10px; font-size: 12px; }
.kpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-bottom: 22px; }
.kpis b, .trio b { display: block; font: 500 30px/1.15 var(--sans); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.kpis span, .trio span { color: var(--muted); font-size: 13px; }
.box { position: relative; margin-bottom: 18px; padding: 20px; background: linear-gradient(rgba(14, 33, 37, .7), rgba(8, 22, 25, .8)); border: 1px solid var(--line-strong); border-radius: 20px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 30px 70px -30px rgba(0, 0, 0, .6); }
.box h2 { margin-bottom: 16px; font: 500 15px var(--sans); }
.chart-top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.chart-top b { display: block; font: 500 30px/1.1 var(--sans); letter-spacing: -.02em; }
.chart-top small { color: var(--muted); font-size: 13px; }
.chart { position: relative; height: 280px; padding-right: 92px; padding-bottom: 26px; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 100%; }
.bar { position: relative; flex: 1; height: var(--h); min-width: 4px; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, #e9f3f0, #8fa6a1); box-shadow: inset 0 1px 0 #fff; transition: filter .2s, height .4s var(--ease); }
.bar.now { background: linear-gradient(180deg, #c8fff1, #4fd9b8); box-shadow: inset 0 1px 0 #fff, 0 0 30px -6px rgba(151, 252, 228, .6); }
.bar:hover { filter: brightness(1.15); }
.bar em { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); padding: 6px 9px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 8px; color: var(--muted); font: 400 11px/1.4 var(--mono); font-style: normal; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s; z-index: 2; }
.bar em b { color: var(--ink); font-weight: 500; }
.bar:hover em { opacity: 1; }
.ticks { position: absolute; top: 0; right: 0; bottom: 26px; width: 84px; }
.ticks span { position: absolute; right: 0; transform: translateY(-50%); color: var(--faint); font: 400 11px var(--mono); }
.xl { position: absolute; left: 0; right: 92px; bottom: 0; display: flex; justify-content: space-between; color: var(--faint); font: 400 11px var(--mono); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 18px; }
.trio > div { padding-right: 12px; }
.trio > div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.trio b { font-size: 22px; }
.sub { margin: 14px 0 8px; color: var(--muted); font-size: 12px; }
.split { display: flex; gap: 3px; height: 8px; }
.split i { border-radius: 4px; min-width: 3px; }
.c0 { background: var(--accent); } .c1 { background: #c9d6d3; } .c2 { background: #4b6664; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 9px; color: var(--muted); font-size: 12px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend b { color: var(--ink); font: 500 12px var(--mono); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #4b6664; font-style: normal; }
.dot.on, .dot.c0 { background: var(--accent); } .dot.c1 { background: #c9d6d3; }
.meter { height: 8px; border-radius: 4px; background: rgba(239, 247, 244, .08); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #4fd9b8, var(--accent)); box-shadow: 0 0 12px rgba(151, 252, 228, .5); }
.rowlist div { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.rowlist div:last-child { border: 0; }
.rowlist span { color: var(--muted); }
.rowlist b { font: 500 13px var(--mono); }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { padding: 0 0 10px; color: var(--muted); font-size: 12px; font-weight: 500; text-align: right; }
.tbl td { padding: 10px 0; border-top: 1px solid var(--line); font: 400 13px var(--mono); text-align: right; font-variant-numeric: tabular-nums; }
.tbl th:first-child, .tbl td:first-child { text-align: left; font-family: var(--sans); }
.note { margin-top: 14px; color: var(--faint); font-size: 12px; line-height: 1.6; }
.an-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; padding: 22px; border-top: 1px solid var(--line); color: var(--faint); font: 400 12px var(--mono); }
.an-foot a { color: var(--muted); text-decoration: none; }
.an-foot a:hover { color: var(--accent); }
@media (max-width: 820px) {
  .kpis { grid-template-columns: 1fr 1fr; }
  .grid2 { grid-template-columns: 1fr; }
  .chart { padding-right: 0; height: 220px; } .ticks { display: none; } .xl { right: 0; }
  .an-head { flex-wrap: wrap; }
  .an-head h1 { font-size: 36px; }
  .tbl th:nth-child(4), .tbl td:nth-child(4) { display: none; }
}
.kpi-hl b { color: var(--accent); }
