/* ============================================================
   高配当と無分配の比較（money/dividend-vs-accumulating.html）だけの見た目
   色は共通の変数だけを使う
   ============================================================ */

/* 高・無 の札（費用の入力欄の左） */
html[data-ui="v2"] .input-unit .unit.dv-ab { min-width: 0; font-weight: 700; color: var(--ink-2); }

/* 差の内訳 */
.dv-h { font-size: 15px; margin: 20px 0 6px; }
#steps .data td { text-align: left; }
#steps .data td.n { text-align: right; font-variant-numeric: tabular-nums; }
#steps .dv-sum td { font-weight: 700; border-top: 2px solid var(--line-strong); }

/* グラフ：高配当は濃い灰、無分配は分野の色 */
.mo-chart .ln-acc { fill: none; stroke: var(--accent); stroke-width: 2.5; }
.mo-chart .ln-high { fill: none; stroke: color-mix(in srgb, var(--ink) 70%, var(--surface)); stroke-width: 2.5; stroke-dasharray: 6 3; }
.mo-legend i.la { border-top-color: var(--accent); }
.mo-legend i.lh { border-top: 2.5px dashed color-mix(in srgb, var(--ink) 70%, var(--surface)); }

/* 結果の列が中の表の幅で広がらないように */
.tool-layout > * { min-width: 0; }
#formula .fl { overflow-wrap: anywhere; }
html[data-ui="v2"] #result .res-mini .v, html[data-ui="v2"] #result .res-hero .big b { overflow-wrap: anywhere; }
