/* joho-tradeoff（技術の 折り合い）。合う＝みどり、合わない＝きいろ系（せめない）。○×の 字も そえる（色だけに たよらない）。字は 17px 以上、ボタンは 44px 以上。 */
.jt-w { font-size: 1.08rem; line-height: 1.65; }
.jt-w button { font-family: inherit; line-height: 1.3; cursor: pointer; touch-action: manipulation; color: var(--ink, #1f2937); }
.jt-w button:focus-visible { outline: 3px solid #2563eb; outline-offset: 2px; }
.jt-w p { margin: 6px 0; }
.jt-w [hidden] { display: none !important; }
.jt-b { font-size: 1.02rem; min-height: 48px; padding: 6px 16px; border-radius: 12px; border: 2px solid var(--line, #e5e7eb); background: #fff; font-weight: 700; }
.jt-b.main { background: var(--teal-d, #0f8a72); border-color: var(--teal-d, #0f8a72); color: #fff !important; }
.jt-b.idk { border-style: dashed; color: var(--sub, #4b5563); }
.jt-b.opt { text-align: left; }
.jt-b:disabled, .jt-sg:disabled, .jt-tab:disabled { opacity: .45; cursor: default; }
.jt-ctl { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 10px 0 0; }
.jt-mini { font-size: .92rem; color: var(--sub, #4b5563); text-align: center; }
.jt-lead { font-weight: 700; }
.jt-prog { text-align: center; font-size: .95rem; color: var(--sub, #4b5563); margin: 0 !important; }
.jt-ctx { background: #f1f5f9; border-radius: 10px; padding: 6px 12px; }
.jt-q { font-weight: 700; }
.jt-opts { display: flex; flex-direction: column; gap: 8px; }
.jt-task { font-weight: 700; border-left: 5px solid var(--teal-d, #0f8a72); padding-left: 10px; }
.jt-note { background: #f8fafc; border-radius: 10px; padding: 6px 12px; }
.jt-note.try { background: var(--orange-l, #fff4dc); }
.jt-praise { background: #e7f7ef; color: #0b6b58; border-radius: 12px; padding: 8px 12px; font-weight: 700; }
.jt-hint:not(:empty) { border: 2px dashed #f59e0b; border-radius: 12px; padding: 2px 10px; background: #fffbeb; margin-top: 6px; }
.jt-hint .jt-note { background: transparent; padding: 4px 0; }
.jt-tabs { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 6px 0; }
.jt-tab { min-height: 44px; padding: 4px 12px; border-radius: 999px; border: 2px solid #cbd5e1; background: #fff; font-weight: 700; font-size: .98rem; }
.jt-tab[aria-pressed="true"] { background: #1f2937; border-color: #1f2937; color: #fff !important; }
.jt-stage { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 8px; }
@media (min-width: 720px) { .jt-stage { grid-template-columns: 200px 1fr; } .jt-meters { grid-column: 1 / -1; } }
.jt-pic { display: flex; justify-content: center; align-items: center; }
.jt-knobs { display: flex; flex-direction: column; gap: 8px; }
.jt-knob { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.jt-kl { font-weight: 700; min-width: 7.5em; }
.jt-seg { display: flex; flex-wrap: wrap; gap: 4px; }
.jt-sg { min-width: 48px; min-height: 44px; padding: 2px 10px; border-radius: 10px; border: 2px solid #94a3b8; background: #fff; font-weight: 700; font-size: 1.02rem; }
.jt-sg[aria-pressed="true"] { background: #f59e0b; border-color: #b45309; color: #1f2937; }
.jt-meters { display: flex; flex-direction: column; gap: 6px; }
.jt-m { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "t ok" "bar bar" "v v"; gap: 2px 8px; border: 2px solid #e5e7eb; border-radius: 12px; padding: 6px 10px; background: #fff; }
.jt-m.ok { border-color: #86efac; }
.jt-m.ng { border-color: #fcd34d; background: #fffbeb; }
.jt-mt { grid-area: t; font-weight: 700; }
.jt-mt small { margin-left: 6px; font-weight: 400; color: var(--sub, #4b5563); font-size: .85rem; }
.jt-ok { grid-area: ok; font-weight: 700; white-space: nowrap; }
.jt-m.ok .jt-ok { color: #0f8a72; }
.jt-m.ng .jt-ok { color: #b45309; }
.jt-bar { grid-area: bar; position: relative; height: 12px; border-radius: 6px; background: #e5e7eb; }
.jt-bar.none { display: none; }
.jt-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 6px; background: #38bdf8; transition: width .25s; }
@media (prefers-reduced-motion: reduce) { .jt-fill { transition: none; } }
.jt-mark { position: absolute; top: -4px; bottom: -4px; width: 3px; margin-left: -1px; background: #1f2937; }
.jt-mv { grid-area: v; font-size: 1rem; }
.jt-mv small { margin-left: 8px; color: var(--sub, #4b5563); font-size: .88rem; }
.jt-sum { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.jt-chip { display: inline-block; border-radius: 999px; padding: 2px 10px; font-weight: 700; font-size: .95rem; border: 2px solid #cbd5e1; background: #fff; }
.jt-chip.ok { border-color: #86efac; background: #e7f7ef; color: #0b6b58; }
.jt-chip.ng { border-color: #fcd34d; background: #fffbeb; color: #92400e; }
.jt-chip.un { color: var(--sub, #4b5563); }
.jt-trail { text-align: center; }
