.mt-tools{max-width:1120px;scroll-margin-top:110px;color:var(--ink,#33252e)}
.mt-tools,.mt-tools *{box-sizing:border-box}
.mt-tools [hidden]{display:none!important}
.mt-tools h2{font-size:clamp(26px,3vw,38px);line-height:1.25;margin:0 0 16px;color:var(--brand-wine,#792747)}
.mt-tools h3{font-size:22px;line-height:1.4;margin:0 0 12px;text-transform:none;letter-spacing:normal}
.mt-tools p{line-height:1.75;max-width:76ch;margin:0 0 16px}
.mt-tools a{color:var(--brand-wine,#792747);text-decoration:underline;text-underline-offset:4px;font-weight:600}
.mt-tools .mt-small{font-size:14px;color:#62545e;line-height:1.7}
.mt-paths{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-block:1px solid #dfcbd2;margin-top:28px}
.mt-paths article{padding:26px 24px;display:flex;flex-direction:column;align-items:flex-start}
.mt-paths article:first-child{padding-left:0}
.mt-paths article+article{border-left:1px solid #dfcbd2}
.mt-paths a{margin-top:auto}
.mt-number{font-size:14px;font-weight:700;color:#792747;border-bottom:2px solid #c39a38;padding-bottom:5px;margin-bottom:18px}
.mt-control{display:grid;gap:10px;max-width:760px;margin:24px 0}
.mt-control label{font-weight:650;line-height:1.5}
.mt-control select,.mt-control input{font:inherit;width:100%;min-width:0;max-width:100%;color:#33252e;background:#fff;border:1px solid #b99ba7;border-radius:8px;padding:12px;min-height:48px}
.mt-control select{padding-right:28px;text-overflow:ellipsis}
.mt-control input[type=file]{padding:8px;font-size:14px}
.mt-control input::file-selector-button{font:inherit;padding:8px;border:1px solid #b99ba7;background:#fbf5ed;color:#792747;border-radius:4px;margin-right:8px}
.mt-control .btn{justify-self:start;margin-top:4px}
.mt-exercise,.mt-help{border:1px solid #dfcbd2;border-radius:12px;padding:28px;margin:24px 0;background:#fffcf7}
.mt-exercise{max-width:820px}
.mt-hands{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:24px 0}
.mt-hand>p{font-size:14px;font-weight:700;margin-bottom:10px}
.mt-cards{display:flex;gap:10px}
.mt-card{display:flex;align-items:center;justify-content:center;width:72px;height:98px;background:white;border:1px solid #cabba9;border-radius:8px;color:#352c34;font-size:27px;font-weight:700;line-height:1.15;font-family:Georgia,serif}
.mt-card small{font-size:30px;display:block;text-align:center}
.mt-red{color:#a52e54}
.mt-choices{border:0;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:10px}
.mt-choices legend{padding:0;margin-bottom:12px;font-weight:650}
.mt-choices button{font:inherit;color:#792747;background:#fff;border:1px solid #b99ba7;border-radius:8px;min-height:48px;padding:10px 20px;cursor:pointer}
.mt-choices button[aria-pressed=true]{background:#792747;color:white;border-color:#792747}
.mt-tools :is(button,input,select,a):focus-visible{outline:3px solid #b17817;outline-offset:3px}
.mt-explanation{margin-top:24px;padding-top:20px;border-top:1px solid #dfcbd2}
.mt-explanation [data-verdict]{font-weight:700;color:#792747}
.mt-explanation [data-verdict]:empty{display:none}
.mt-explanation p:last-child,.mt-help p:last-child{margin-bottom:0}
.mt-note{border-left:3px solid #c39a38;padding:10px 16px;background:#f8f0df}
.mt-result:not(:empty){padding:16px;border:1px solid #b99ba7;border-radius:8px;background:#fbf5ed;overflow-wrap:anywhere}
.mt-result[data-result=invalid],.mt-result[data-result=different]{border-color:#a52e54}
.mt-checker input[aria-invalid=true]{border-color:#a52e54}
@media(max-width:760px){.mt-paths{grid-template-columns:1fr}.mt-paths article,.mt-paths article:first-child{padding:22px 0}.mt-paths article+article{border-left:0;border-top:1px solid #dfcbd2}.mt-exercise,.mt-help{padding:20px}.mt-tools h3{font-size:20px}.mt-paths p{max-width:55ch}}
@media(max-width:460px){.mt-hands{grid-template-columns:1fr;gap:20px}.mt-card{width:64px;height:86px;font-size:25px}.mt-card small{font-size:27px}.mt-control select{font-size:15px}.mt-choices button{flex:1 1 auto;padding:10px 14px}.mt-tools p{font-size:16px}.mt-tools .mt-small{font-size:14px}}
