/* オプション（money/options.html）だけの見た目。タブ・Excel の式・注意の帯は bond.css とそろえてある */

.op-tabs { display: flex; gap: 4px; margin: 0 0 12px; padding: 4px; background: var(--surface); border-radius: var(--r, 10px); box-shadow: var(--shadow); }
.op-tabs button {
  flex: 1 1 0; min-width: 0; padding: 11px 6px; font: inherit; font-size: 15px; font-weight: 600; line-height: 1.35;
  color: var(--ink-2); background: transparent; border: 0; border-radius: 8px; cursor: pointer;
}
.op-tabs button[aria-selected="true"] { background: var(--accent-soft); color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); }
.op-tabs button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.op-tabs button small { display: block; font-size: 11.5px; font-weight: 400; color: var(--muted); }
@media (max-width: 560px) {
  .op-tabs button { font-size: 13.5px; padding: 9px 2px; }
  .op-tabs button small { display: none; }
}

/* Excel の式・注意の帯 */
.op-excel { margin: 12px 0 0; font-size: 13px; line-height: 1.8; color: var(--ink-2); overflow-wrap: anywhere; }
.op-excel:empty { display: none; }
.op-excel code, .article code, .formula code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12.5px; background: var(--page); padding: 1px 5px; border-radius: 4px; color: var(--ink); overflow-wrap: anywhere; }
.op-warn { margin: 12px 0 0; padding: 10px 12px; border-radius: var(--r, 10px); background: var(--tint-warn, #FFF4E0); color: var(--tint-warn-ink, #8A4B00); font-size: 13.5px; line-height: 1.75; }
.op-warn:empty { display: none; }
.formula .fl { overflow-wrap: anywhere; }

/* グリークスの表：選んだほう */
table.data td.op-on { font-weight: 700; color: var(--ink); background: var(--accent-soft); }
html[data-ui="v2"] .mo-out .res-mini .v.op-neg { color: var(--tint-warn-ink, #8A4B00); }

/* 損益図 */
.mo-chart .op-zero { stroke: var(--ink-2); stroke-width: 1.2; }
.mo-chart .op-dot { fill: var(--accent); stroke: var(--surface); stroke-width: 2; }
.mo-chart .op-axis-name { fill: var(--muted); font-size: 11px; }
.mo-legend i.op-dot-l { width: 9px; height: 9px; border: 0; border-radius: 50%; background: var(--accent); }

/* 式の導出（折りたたみ） */
.op-derive { margin-top: 12px; }
.op-derive > div { padding-top: 6px; }
