/* ============================================================
   ロット数（ポジションサイズ）の計算（money/position-size.html）だけの見た目
   色は共通の変数だけを使う（money.css・ek.css の v2 層の上に重ねる）
   ============================================================ */

.ps-gap { margin-top: 8px; }
.ps-pairnote { margin: 6px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.6; }
html[data-ui="v2"] .input-unit .unit[hidden] { display: none; }

html[data-ui="v2"] #form select {
  width: 100%; height: 44px; padding: 0 10px; font: inherit; font-size: 15px; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r);
}
@media (max-width: 560px) { html[data-ui="v2"] #form select { font-size: 16px; } }

/* 損失の注意（まず結論・結果のそば） */
.callout li.ps-warn { color: var(--ink); }
.mo-note.ps-risk { font-weight: 600; color: var(--tint-warn-ink, #8A4B00); }
.ps-bad { color: var(--s2, #B4442C); font-weight: 600; }

/* 早見表 */
table.data tr.hit td { background: var(--accent-soft); font-weight: 700; }
table.data tr.ps-short td { color: var(--s2, #B4442C); }
table.data.ps-tbl th:first-child, table.data.ps-tbl td:first-child { text-align: left; }
@media (max-width: 560px) { table.data.ps-tbl th, table.data.ps-tbl td { padding-left: 6px; padding-right: 6px; } }

.formula 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; }
#formula .fl { overflow-wrap: anywhere; }
html[data-ui="v2"] #result .res-hero .sub, html[data-ui="v2"] #result .res-mini .v { overflow-wrap: anywhere; }
.article code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12.5px; overflow-wrap: anywhere; word-break: break-all; }
