/* 電線管のサイズ選定と曲げ寸法だけの見た目（共通の style.css には足さない）。
   色は共通のまま（墨・押せる所の藍・注意の茶）。図は薄墨の管と墨のマーク（アプリの朱は使わない）。 */

.result.answer { gap: 6px; background: var(--surface); }
.result.answer hr { border: 0; border-top: 1px solid var(--line); margin: 4px 0; width: 100%; }
.result.answer h3 { font-size: 14px; color: var(--muted); }
.result .headline { font-size: 17px; font-weight: 700; color: var(--warn); }

.answer-row { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.answer-row .title { font-size: 14px; color: var(--muted); margin-right: auto; }
.answer-row b { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 19px; overflow-wrap: anywhere; }
.answer-row.hero .title { color: var(--fg); font-weight: 700; font-size: 15px; }
.answer-row.hero b { font-size: 32px; line-height: 1.2; }
.answer-row .unit, .mark-row .unit { font-size: 14px; color: var(--muted); }

.adjustment { font-size: 13px; color: var(--muted); text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; }
.fits { font-size: 14px; }
.fits.ok span, .legality.ok span { color: var(--ok); }
.fits.warn, .legality.warn { color: var(--warn); }
.source, .citation { font-size: 13px; color: var(--muted); }

.mark-row { display: flex; align-items: baseline; gap: 10px; }
.mark-row .badge {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--fg); color: var(--surface); font-size: 12px; font-weight: 700;
  align-self: center;
}
.mark-row .title { font-size: 14px; color: var(--muted); margin-right: auto; }
.mark-row b { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 20px; }

.conduit-info { display: flex; flex-direction: column; gap: 2px; font-size: 14px; border-left: 3px solid var(--line); padding: 2px 10px; }
.conduit-info p:first-child { font-family: var(--mono); font-variant-numeric: tabular-nums; }


/* 曲げの図（viewBox は mm のまま） */
.bend-figure { display: block; width: 100%; height: auto; max-height: 300px; margin: 0 auto; }
.bend-figure .pipe { stroke: var(--muted); stroke-opacity: 0.85; }
.bend-figure .pipe-core { stroke: var(--surface); stroke-opacity: 0.6; }
.bend-figure .mark-line { stroke: var(--fg); stroke-linecap: round; }
.bend-figure .mark-badge { fill: var(--fg); }
.bend-figure .mark-number { fill: var(--surface); font-family: var(--font); font-weight: 700; }
.figure-example { margin: 0; display: flex; flex-direction: column; gap: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 10px; }
