/* Fixed, zero-based scales; unlimited plans are never drawn as finite bars. */
.plan-charts { display: grid; gap: 24px; margin: 28px 0; }
.plan-chart { min-width: 0; padding: 26px; border: 1px solid var(--border); border-radius: 16px; background: var(--card); }
.chart-index { color: #b6b8ff; font-size: 12px; font-weight: 700; letter-spacing: .05em; }
.article-body .plan-chart h3 { margin: 10px 0; font-size: 23px; line-height: 1.35; }
.article-body .plan-chart figcaption p { color: var(--text2); font-size: 14px; margin: 0 0 24px; }
.client-controls { margin: 22px 0 28px; }
.client-controls[hidden] { display: none; }
.client-controls label { display: block; font-size: 15px; margin-bottom: 14px; }
.client-controls output { color: #c9caff; font-size: 21px; font-weight: 700; }
.client-controls input[type="range"] { display: block; width: 100%; min-height: 32px; accent-color: #a5a6ff; cursor: pointer; }
.client-controls .volume-label { margin-top: 22px; margin-bottom: 8px; }
.client-controls select { width: 100%; min-height: 48px; padding: 10px; background: #222838; color: var(--text); border: 1px solid #596279; border-radius: 8px; font: inherit; font-size: 13px; }
.client-controls label.tsd-option { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 13px; margin-top: 16px; }
.tsd-option input { width: 20px; height: 20px; accent-color: #a5a6ff; }
.tsd-option span { color: var(--text2); }
.article-body .plan-chart .chart-intro { font-size: 14px; line-height: 1.7; color: var(--text2); }
.chart-presets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chart-presets button { min-height: 44px; padding: 8px 12px; border-radius: 8px; border: 1px solid #596279; background: transparent; color: var(--text); font: inherit; font-size: 13px; cursor: pointer; }
.chart-presets button[aria-pressed="true"] { border-color: #b1b3ff; background: #383956; color: #fff; }
.plan-chart :is(input,button):focus-visible { outline: 3px solid #b1b3ff; outline-offset: 4px; }
.chart-row { margin-top: 20px; }
.chart-row-label { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; font-size: 14px; line-height: 1.5; margin-bottom: 8px; }
.chart-row-label strong { font-size: 20px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.chart-row-label small { display: block; color: var(--text2); font-size: 12px; margin-top: 3px; }
.chart-track { height: 24px; background: #272d3d; border-left: 1px solid #65708a; }
.chart-bar { height: 100%; border-radius: 0 4px 4px 0; }
.skirbo-bar { background: #9b9dfb; }
.mpfit-bar { background: #83969e; }
.volume-bar { background: #e0ac65; }
.tsd-bar { background: #76c8b4; }
.chart-stack { display: flex; }
.chart-stack .chart-bar { border-radius: 0; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; color: var(--text2); font-size: 11px; }
.chart-legend span { display: inline-flex; align-items: center; gap: 6px; }
.chart-legend i { display: inline-block; width: 10px; height: 10px; }
.article-body .cost-breakdown { margin: 14px 0 0; color: var(--text2); font-size: 13px; }
.cost-scenarios { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; margin: 24px 0; }
.cost-scenarios > div { padding: 16px; border: 1px solid #596279; border-radius: 10px; }
.cost-scenarios span { display: block; font-size: 12px; color: var(--text2); }
.cost-scenarios strong { display: block; font-size: 26px; margin: 8px 0; }
.article-body .cost-scenarios p { font-size: 13px; line-height: 1.7; margin: 0; color: var(--text2); }
.chart-axis { display: flex; justify-content: space-between; gap: 10px; margin-top: 8px; color: var(--text2); font-size: 11px; }
.chart-result { display: flex; flex-direction: column; gap: 4px; border-left: 3px solid #9b9dfb; padding: 16px 20px; background: #24263e; margin: 24px 0; font-size: 14px; }
.chart-result > strong { font-size: 25px; line-height: 1.3; }
.chart-result > span:last-child { color: var(--text2); font-size: 13px; }
.article-body .plan-chart .chart-note { margin: 18px 0 0; font-size: 13px; line-height: 1.7; color: var(--text2); }
.unlimited-note { display: flex; align-items: center; gap: 20px; border-top: 1px solid var(--border); margin-top: 24px; padding-top: 18px; }
.unlimited-note > span { font-size: 48px; line-height: 1; color: #b0c5ce; }
.article-body .unlimited-note p { font-size: 13px; margin: 0; color: var(--text2); }
.staff-comparison { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.staff-card { min-width: 0; padding: 18px; border: 1px solid #495269; border-radius: 12px; }
.staff-card > span { display: block; font-size: 13px; min-height: 42px; }
.staff-card > strong { display: block; font-size: 46px; line-height: 1.2; }
.staff-card strong small { display: block; font-size: 14px; font-weight: 500; margin-top: 4px; }
.staff-dots,.staff-unlimited { display: grid; grid-template-columns: repeat(5, 12px); gap: 8px; margin: 22px 0; }
.staff-dots i,.staff-unlimited i { display: block; width: 12px; height: 12px; border-radius: 50%; background: #9b9dfb; }
.staff-unlimited { position: relative; }
.staff-unlimited i { background: #83969e; }
.staff-unlimited > span { position: absolute; left: 105px; bottom: 0; font-size: 28px; line-height: 16px; }
.article-body .staff-card p { margin: 0; font-size: 12px; color: var(--text2); }
@media(max-width:640px) {
  .plan-chart { padding: 22px 16px; }
  .article-body .plan-chart h3 { font-size: 21px; }
  .chart-row-label { font-size: 12px; gap: 10px; }
  .chart-row-label strong { font-size: 18px; }
  .chart-presets button { flex: 1 1 40%; }
  .staff-comparison, .cost-scenarios { grid-template-columns: minmax(0,1fr); }
  .staff-card > span { min-height: 0; margin-bottom: 12px; }
}
