/* ============================================================
   トルコリラのスワップ計算（money/lira-swap.html）だけの見た目
   色は共通の変数だけを使う（money.css・ek.css の v2 層の上に重ねる）
   ============================================================ */

/* 通貨ペアの枠 */
.ls-pair { margin: 0 0 12px; padding: 10px 12px 2px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.ls-chk { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: var(--ink); margin: 0 0 8px; cursor: pointer; }
.ls-chk input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); }
.ls-pairBody[hidden] { display: none; }

.ls-group { margin: 6px 0 4px; padding-top: 10px; border-top: 1px dashed var(--line); }
.ls-group > .ls-gh { font-size: 13px; font-weight: 700; color: var(--ink-2); margin: 0 0 6px; }

/* 政策金利の3つの欄 */
.ls-3col { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 560px) { .ls-3col { grid-template-columns: 1fr; } }
html[data-ui="v2"] .input-unit .unit.ls-tag { min-width: 0; font-weight: 700; color: var(--ink-2); }

/* 結果のすぐ上の注意 */
.ls-caution { margin: 0 0 12px; padding: 8px 12px; border-left: 4px solid var(--tint-warn-ink, #8A4B00); background: var(--tint-warn, var(--accent-soft)); font-size: 13.5px; font-weight: 700; color: var(--ink); line-height: 1.6; }
.callout li.ls-warn { color: var(--ink); }

/* 表 */
table.data.ls-tbl { font-size: 13.5px; }
table.data.ls-tbl th:first-child, table.data.ls-tbl td:first-child { text-align: left; }
table.data.ls-tbl td.bad { color: var(--tint-warn-ink, #8A4B00); font-weight: 700; }
table.data.ls-tbl .sub { display: block; font-size: 11.5px; color: var(--muted); font-weight: 400; }
.ls-tbl + .table-scroll, .table-scroll + .table-scroll { margin-top: 12px; }
#simOut p { font-size: 13.5px; line-height: 1.8; margin: 6px 0; }
.mo-chart .ls-cut { stroke: var(--tint-warn-ink, #8A4B00); stroke-width: 1; stroke-dasharray: 3 3; }
.mo-chart .ls-cut-t { fill: var(--tint-warn-ink, #8A4B00); font-size: 11px; }

#formula .fl { overflow-wrap: anywhere; }
html[data-ui="v2"] #result .res-hero .big b, html[data-ui="v2"] #result .res-hero .sub, html[data-ui="v2"] #result .res-mini .v { overflow-wrap: anywhere; }
@media (max-width: 560px) { table.data.ls-tbl th, table.data.ls-tbl td { padding-left: 6px; padding-right: 6px; } }
.mo-chart .mc-det { fill: none; stroke: color-mix(in srgb, var(--ink) 45%, var(--surface)); stroke-width: 2; stroke-dasharray: 6 4; }
.mo-legend i.mc-det { border-top: 2px dashed color-mix(in srgb, var(--ink) 45%, var(--surface)); }

/* 過去の実際の動き（値動きの入力の下の参考・表） */
.ls-ref { margin: 0 0 10px; font-size: 12.5px; color: var(--muted); line-height: 1.6; }
#history table.data.ls-tbl td.n, #histOut table.data.ls-tbl td.n { white-space: nowrap; }
#history table.data.ls-tbl .sub, #histOut table.data.ls-tbl .sub { white-space: normal; min-width: 8em; }
/* 当てはめの表：主役は「要ったスワップ」。仮定の列は色で良し悪しを付けない */
.ls-lead { margin: 0 0 10px; font-size: 14px; line-height: 1.7; }
table.data.ls-replay td.ls-need { font-weight: 700; font-size: 15px; }
table.data.ls-replay th.ls-assume, table.data.ls-replay td.ls-assume { color: var(--ink-2); font-weight: 400; }
