.mzaf { margin: 2rem 0; padding: 1.6rem 0; border-top: 1px solid #dedede; border-bottom: 1px solid #dedede; }
.mzaf h2 { margin: 0; font: inherit; font-size: 1.6rem; font-weight: 700; color: #171717; }
.mzaf__intro,.mzaf__note { margin: .7rem 0 1.2rem; font-size: 1.3rem; line-height: 1.5; color: #595959; }
.mzaf__fields { display: grid; grid-template-columns: 1fr 1.4fr .8fr; gap: .8rem; }
.mzaf label { display: flex; min-width: 0; flex-direction: column; gap: .5rem; font-size: 1.2rem; font-weight: 600; }
.mzaf select { width: 100%; min-width: 0; min-height: 44px; border: 1px solid #aaa; border-radius: 4px; background: #fff; color: #171717; padding: .8rem .5rem; font: inherit; font-size: 1.3rem; }
.mzaf select:disabled { color: #666; background: #f3f3f3; }
.mzaf__check { width: 100%; min-height: 44px; margin: 1rem 0; border: 1px solid #222; border-radius: 4px; background: #fff; color: #171717; font: inherit; font-size: 1.4rem; font-weight: 650; cursor: pointer; }
.mzaf__check:disabled { border-color: #ccc; color: #777; cursor: default; }
.mzaf :is(select,button,summary,a):focus-visible { outline: 2px solid #171717; outline-offset: 3px; }
.mzaf__result { padding: 1rem; margin: .3rem 0 1rem; background: #f4f4f4; font-size: 1.4rem; line-height: 1.5; border-left: 3px solid #777; }
.mzaf__result[data-state="match"] { background: #edf6ef; color: #17623a; border-color: #187443; }
.mzaf__result[data-state="unknown"],.mzaf__result[data-state="conditional"] { background: #fff8e7; color: #694b10; border-color: #ad7b0c; }
.mzaf .mz-link { font-size: 1.2rem; }
.mzaf__models { margin-top: 1.2rem; font-size: 1.2rem; line-height: 1.6; }
.mzaf__models summary { cursor: pointer; padding: .6rem 0; }
.mzaf__models ul { max-height: 20rem; overflow: auto; padding-left: 1.8rem; }
@media(max-width: 749px) { .mzaf select { font-size: 16px; } }
@media(max-width: 420px) { .mzaf__fields { grid-template-columns: 1fr; } }

.mzaf [hidden] { display: none !important; }
.mzaf.is-checked { padding: 0; border: 0; }
.mzaf__banner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 1.4rem; border: 1px solid #ddd; border-radius: 4px; background: #f6f6f6; color: #424242; }
.mzaf__banner[data-state="match"] { background: #edf6ef; color: #17623a; border-color: #b7d9c3; }
.mzaf__banner .mzaf__result { margin: 0; padding: 0; border: 0; background: none; color: inherit; }
.mzaf__bike { display: block; margin-top: .3rem; font-size: 1.2rem; }
.mzaf__change { flex-shrink: 0; min-height: 44px; padding: .4rem; border: 0; background: none; color: inherit; font: inherit; font-size: 1.2rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media(max-width: 420px) { .mzaf__banner { align-items: flex-start; flex-direction: column; gap: .2rem; } }
