/* NISA の枠は何年で埋まる（money/nisa-limit.html）だけの見た目。
   色は共通の変数（--accent・--s2）を使い、ダークモードは ek.css の切り替えに任せる */

/* 結果のタブ */
.nl-tabs { display: flex; gap: 6px; margin: 22px 0 12px; border-bottom: 1px solid var(--grid); }
.nl-tabs button {
  border: 0; background: none; font: inherit; font-size: 14px; font-weight: 700; color: var(--ink-2);
  padding: 10px 14px; margin-bottom: -1px; border-bottom: 3px solid transparent; cursor: pointer; min-height: 44px;
}
.nl-tabs button[aria-selected="true"] { color: var(--accent); border-bottom-color: var(--accent); }
.nl-tabs button:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
[role="tabpanel"][hidden] { display: none; }

/* 比較のグラフ：A は緑（--accent）、B は橙（--s2） */
.mo-chart .ln-a { fill: none; stroke: var(--accent); stroke-width: 2.5; }
.mo-chart .ln-b { fill: none; stroke: var(--s2, #B4442C); stroke-width: 2.5; }
.mo-chart .band-a { fill: var(--accent); opacity: 0.13; }
.mo-chart .band-b { fill: var(--s2, #B4442C); opacity: 0.13; }
.mo-legend i.a { border-top-color: var(--accent); }
.mo-legend i.b { border-top-color: var(--s2, #B4442C); }
.mo-legend i.band-a, .mo-legend i.band-b { height: 10px; border: 0; opacity: 0.25; }
.mo-legend i.band-a { background: var(--accent); }
.mo-legend i.band-b { background: var(--s2, #B4442C); }

.nl-busy { font-size: 13px; color: var(--muted); margin: 12px 0 0; }
table.data td.nl-a { color: var(--accent); font-weight: 700; }
table.data tr.nl-fill td { background: var(--accent-soft); }
