.tr-repair{margin:1.5rem 0;border-top:1px solid #cfc4b5;padding-top:1rem;font-size:1rem;line-height:1.7;color:#403b36}
.tr-repair>summary{cursor:pointer;color:#792b3b;padding:.4rem 0;font-weight:600;font-size:.9375rem}
.tr-repair h4,.tr-method h4{font-size:1.125rem;line-height:1.5;margin:1rem 0}
.tr-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.tr-figure{margin:.6rem 0 1rem!important;min-width:0}
.tr-figure img{display:block;max-width:100%;width:100%;height:auto;border:1px solid #d9cfc2;border-radius:5px}
.tr-figure figcaption{font-size:1rem!important;line-height:1.65!important;color:#403b36!important;font-family:Arial,sans-serif;padding:.75rem .25rem}
.tr-instruction{border-left:3px solid #507d8b;padding:.5rem 1rem;background:#edf1f5}
.tr-method{margin:2.5rem 0;padding:1.5rem;border:1px solid #cfc4b5;background:#fffdf7}
.tr-method>.tr-kicker{font-size:.75rem;letter-spacing:.12em;color:#792b3b;margin:0 0 .5rem}
.tr-method>h3{font-size:1.5rem!important;line-height:1.35!important;margin:.5rem 0 1rem!important}
.tr-method p{font-size:1rem;line-height:1.75}
.tr-step-buttons{display:flex;flex-wrap:wrap;gap:.5rem;margin:1.5rem 0}
.tr-step-buttons button{font:inherit;font-size:.875rem;line-height:1.4;text-align:left;border:1px solid #cfc4b5;border-radius:4px;background:#fffdf7;color:#403b36;padding:.65rem .8rem;min-height:44px;cursor:pointer}
.tr-step-buttons button[aria-pressed=true]{background:#792b3b;border-color:#792b3b;color:#fffdf7}
.tr-step-buttons button:focus-visible,.tr-repair summary:focus-visible{outline:3px solid #507d8b;outline-offset:3px}
.tr-step{max-width:620px;margin-inline:auto}
.tr-progress{font-size:.875rem!important;color:#70675f;margin:.5rem 0 0}
[data-teaching-panel][hidden],.tr-step-buttons[hidden]{display:none}
@media(max-width:800px){.tr-pair{grid-template-columns:1fr}.tr-method{padding:1rem}.tr-step-buttons{display:grid;grid-template-columns:1fr}}
@media print{.tr-step-buttons,.tr-progress{display:none!important}.tr-step{break-inside:avoid}.tr-pair{grid-template-columns:1fr}}
