.mt-visual { min-width: 0; }
.mt-visual p { margin: 0; }
.mt-visual .figure-note { padding: 16px 18px; border-left: 3px solid var(--visual-yellow); background: var(--visual-surface); }
.mt-visual .mt-whole-title { margin-top: 28px; padding: 18px 20px; border: 1px solid var(--visual-line); background: var(--visual-surface); font-weight: 700; line-height: 1.7; overflow-wrap: anywhere; }
.mt-whole-title .mt-part-service, .mt-whole-title .mt-part-town { color: var(--visual-ink); background: var(--visual-yellow); padding: 2px 6px; }
.mt-whole-title .mt-part-detail { color: var(--visual-white); border-bottom: 2px solid var(--visual-white); }
.mt-whole-title .mt-part-name { color: var(--visual-muted); border-bottom: 2px dashed var(--visual-muted); }
.mt-whole-title .mt-sep { color: var(--visual-muted); font-weight: 400; }
.mt-visual .mt-parts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; max-width: 560px; list-style: none; margin: 24px 0 0; padding: 0; }
.mt-visual .mt-slot { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: start; gap: 12px; margin: 0; padding: 18px 16px; border: 1px solid var(--visual-line); background: var(--visual-surface); }
.mt-visual .mt-slot-key { color: var(--visual-ink); background: var(--visual-yellow); border-color: var(--visual-yellow); }
.mt-visual .mt-slot-optional { border-style: dashed; border-color: var(--visual-muted); }
.mt-slot-number { font: 700 26px/1.1 var(--display); }
.mt-slot h4 { font-size: 15px; }
.mt-visual .mt-slot-text { margin-top: 8px; font-size: 15px; overflow-wrap: anywhere; }
.mt-result { margin-top: 28px; padding: 22px 24px; border: 1px solid var(--visual-line); background: var(--visual-surface); }
.mt-visual .mt-result-site { font-size: 14px; color: var(--visual-muted); }
.mt-visual .mt-result-link { margin-top: 6px; color: var(--visual-yellow); font: 700 20px/1.4 var(--display); text-decoration: underline; text-underline-offset: 4px; }
.mt-result-lines { display: grid; gap: 8px; margin-top: 14px; }
.mt-result-lines span { display: block; height: 10px; background: var(--visual-line); }
.mt-result-lines span:last-child { width: 70%; }
.mt-visual .mt-cut-parts { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2px; list-style: none; margin: 16px 0 0; padding: 0; }
.mt-visual .mt-cut-parts li { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 14px 16px; font-size: 15px; overflow-wrap: anywhere; }
.mt-visual .mt-cut-kept { color: var(--visual-ink); background: var(--visual-yellow); }
.mt-visual .mt-cut-lost { border: 1px dashed var(--visual-muted); color: var(--visual-muted); }
.mt-cut-label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.mt-cut-lost .mt-cut-text { text-decoration: line-through; }
.mt-visual .mt-pages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 28px 0 0; padding: 0; }
.mt-visual .mt-page { margin: 0; padding: 20px; border: 1px solid var(--visual-line); background: var(--visual-surface); }
.mt-page h4 { font-size: 15px; color: var(--visual-muted); }
.mt-visual .mt-page-title { margin-top: 10px; font-weight: 700; line-height: 1.6; overflow-wrap: anywhere; }
.mt-page-title mark { color: var(--visual-ink); background: var(--visual-yellow); padding: 1px 5px; }
.mt-visual .mt-page-count { margin-top: 10px; font-size: 14px; color: var(--visual-muted); }
.mt-visual .mt-page-wrong { border: 1px dashed #ffb7aa; background: #38201f; }
.mt-page-wrong h4 { color: #ffb7aa; }
.mt-page-wrong .mt-page-title s { color: #ffb7aa; text-decoration-thickness: 2px; }
.mt-wrong-mark { margin-right: 6px; }
@media (max-width: 700px) {
  .mt-visual .mt-parts { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .mt-visual .mt-cut-parts { grid-template-columns: minmax(0, 1fr); }
  .mt-visual .mt-pages { grid-template-columns: minmax(0, 1fr); }
  .mt-result { padding: 18px 16px; }
  .mt-visual .mt-result-link { font-size: 18px; }
}
