/* Ausschließlich Schlagmuster-Finder v7.  */
@font-face{font-family:"MW-SMF-v7-Lato";src:url("./fonts/mw-smf-v7-lato-regular.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"MW-SMF-v7-Lato";src:url("./fonts/mw-smf-v7-lato-black.woff2") format("woff2");font-weight:900;font-style:normal;font-display:swap}
.mw-smf-v7{--mw-smf-ink:#202020;--mw-smf-accent:#9a0002;--mw-smf-soft:#eee;box-sizing:border-box;width:100%;max-width:1140px;margin:0 auto;padding:clamp(16px,3vw,36px);background:#fff;color:var(--mw-smf-ink);font-family:"MW-SMF-v7-Lato",Arial,sans-serif;font-size:16px;line-height:1.6;text-align:left;isolation:isolate}
.mw-smf-v7 *,.mw-smf-v7 *::before,.mw-smf-v7 *::after{box-sizing:border-box}
.mw-smf-v7 h2,.mw-smf-v7 h3,.mw-smf-v7 h4,.mw-smf-v7 p,.mw-smf-v7 label,.mw-smf-v7 legend,.mw-smf-v7 button,.mw-smf-v7 select{font-family:inherit;color:var(--mw-smf-ink)!important;letter-spacing:normal;text-transform:none}
.mw-smf-v7 h2{font-size:clamp(1.8em,4vw,2.4em);line-height:1.2;font-weight:900;margin:0 0 16px}
.mw-smf-v7 p{font-size:1em;line-height:1.6;margin:0}
.mw-smf-v7 .mw-smf-v7__eyebrow{color:var(--mw-smf-accent)!important;font-size:.9em;font-weight:900;margin:0 0 10px}
.mw-smf-v7__header{max-width:800px;margin-bottom:28px}
.mw-smf-v7__inline-arrow{font-family:Arial,sans-serif;font-weight:bold;color:var(--mw-smf-accent)}
.mw-smf-v7__controls{display:flex;flex-wrap:wrap;align-items:flex-end;gap:24px;padding:24px;background:#f6f6f6;border:1px solid #dedede;border-top:3px solid var(--mw-smf-accent)}
.mw-smf-v7__meter-label{display:grid;gap:8px;flex:1 1 160px;font-weight:900;margin:0;font-size:1em}
.mw-smf-v7 select{appearance:auto;display:block;width:100%;min-height:46px;border:1px solid #999;border-radius:5px;background:#fff;padding:8px 12px;font-size:1em;line-height:1.4}
.mw-smf-v7 fieldset{flex:2 1 270px;border:0;padding:0;margin:0;min-width:0}
.mw-smf-v7 legend{font-weight:900;float:none;width:auto;padding:0;margin:0 0 8px;font-size:1em;line-height:1.6}

.mw-smf-v7 button{flex:1 1 120px;min-height:46px;padding:5px 15px;border:1px solid #202020;border-radius:25px;font-size:16px;line-height:1.5;font-weight:400;background:#fff;cursor:pointer;transition:background .3s ease-in-out}
.mw-smf-v7 button[aria-pressed="true"]{background:var(--mw-smf-accent);border-color:var(--mw-smf-accent);color:#fff!important}
.mw-smf-v7 button:hover{background:#202020;border-color:#202020;color:#fff!important}
.mw-smf-v7 button:focus-visible,.mw-smf-v7 select:focus-visible,.mw-smf-v7 [tabindex]:focus-visible{outline:3px solid var(--mw-smf-accent)!important;outline-offset:4px}
.mw-smf-v7__legend{display:flex;flex-wrap:wrap;gap:8px 24px;margin:24px 0 12px;font-size:.9em}
.mw-smf-v7__legend span{display:inline-flex;align-items:center;gap:8px}
.mw-smf-v7__legend b{font-family:Arial,sans-serif;font-size:22px;color:var(--mw-smf-accent);line-height:1.4}
.mw-smf-v7 .mw-smf-v7__help,.mw-smf-v7 .mw-smf-v7__count-note,.mw-smf-v7 .mw-smf-v7__footnote{font-size:.9em;color:#505050!important}
.mw-smf-v7 .mw-smf-v7__count-note{margin-top:12px;padding-left:14px;border-left:3px solid #ccc}
.mw-smf-v7__results-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:32px 0 8px}
.mw-smf-v7 h3{font-size:1.3em;font-weight:900;line-height:1.3;margin:0}
.mw-smf-v7__results-head p{font-size:.9em}
.mw-smf-v7 .mw-smf-v7__scroll-note{font-size:.9em;color:#505050!important;margin:0 0 16px}
.mw-smf-v7__results{display:grid;gap:18px;min-width:0}
.mw-smf-v7__card{min-width:0;border:1px solid #d7d7d7;border-radius:8px;padding:20px;background:#fff}
.mw-smf-v7__card-heading{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 14px;margin-bottom:6px}
.mw-smf-v7 h4{font-size:1.1em;font-weight:900;line-height:1.4;margin:0}
.mw-smf-v7__badge{font-size:.9em;color:var(--mw-smf-accent);background:#faf0f0;padding:2px 10px;border-radius:20px}
.mw-smf-v7 .mw-smf-v7__card-description{font-size:.9em;color:#505050!important}
.mw-smf-v7__scroll{overflow-x:auto;max-width:100%;margin-top:16px;padding:0 2px 10px;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#999 #eee}
.mw-smf-v7__bar{display:grid;grid-template-columns:repeat(var(--mw-smf-slots),minmax(2.5em,1fr));position:relative;min-width:calc(var(--mw-smf-slots)*2.5em);border-left:2px solid #202020;border-right:3px double #202020}
.mw-smf-v7__cell{position:relative;display:grid;grid-template-rows:24px 44px 24px 32px;text-align:center;min-width:0;border-left:1px solid #eee;background:linear-gradient(to bottom,#fafafa 0%,#fafafa 74%,#fff 74%)}
.mw-smf-v7__cell--beat{border-left:1px solid #aaa}
.mw-smf-v7__cell--group{background:linear-gradient(to bottom,#f7eeee 0%,#f7eeee 74%,#fff 74%)}
.mw-smf-v7__accent{font-family:Arial,sans-serif;font-size:22px;line-height:24px;font-weight:bold;color:var(--mw-smf-accent)}
.mw-smf-v7__stroke{display:flex;align-items:center;justify-content:center;font-family:Arial,sans-serif;font-size:34px;line-height:1;color:var(--mw-smf-ink)}
.mw-smf-v7__stroke svg{display:block;width:24px;height:38px;fill:none;stroke:currentColor;stroke-width:2.7;stroke-linecap:round;stroke-linejoin:round}
.mw-smf-v7__cell--accent .mw-smf-v7__stroke{color:var(--mw-smf-accent)}
.mw-smf-v7__count{grid-row:4;font-size:1em;line-height:32px;font-variant-numeric:tabular-nums}
.mw-smf-v7__cell--beat .mw-smf-v7__count{font-weight:900}
.mw-smf-v7 .mw-smf-v7__footnote{margin-top:24px}
.mw-smf-v7__sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:575px){.mw-smf-v7__controls{padding:16px;gap:18px}.mw-smf-v7__card{padding:16px 12px}.mw-smf-v7__meter-label,.mw-smf-v7 fieldset{flex-basis:100%}}
@media(prefers-reduced-motion:reduce){.mw-smf-v7 button{transition:none}}
@media print{.mw-smf-v7{max-width:none;padding:0}.mw-smf-v7__controls,.mw-smf-v7__scroll-note{display:none}.mw-smf-v7__card{break-inside:avoid}.mw-smf-v7__bar{min-width:0;grid-template-columns:repeat(var(--mw-smf-slots),minmax(0,1fr))}.mw-smf-v7__scroll{overflow:visible}}

.mw-smf-v7__cell--barline{border-left:3px double #202020}

.mw-smf-v7__checkbox{display:flex;align-items:center;gap:12px;flex:1 0 100%;cursor:pointer;min-height:48px;margin:0;font-size:1em}
.mw-smf-v7__checkbox input{appearance:auto;position:static;opacity:1;flex:0 0 auto;width:22px;height:22px;margin:0;accent-color:#9a0002;cursor:pointer}
.mw-smf-v7__checkbox strong{font-weight:900}
.mw-smf-v7__checkbox small{display:block;font-size:.9em;font-weight:400;line-height:1.5}
.mw-smf-v7 .mw-smf-v7__mode-note{padding:12px 0 0;font-size:.9em}
.mw-smf-v7__level{min-width:0;border-top:1px solid #ccc}
.mw-smf-v7__level summary{cursor:pointer;min-height:48px;padding:16px 4px;font-size:1.1em;font-weight:900;color:#202020;list-style:disclosure-closed}
.mw-smf-v7__level[open] summary{list-style:disclosure-open;color:#9a0002}
.mw-smf-v7__level-cards{display:grid;gap:18px;padding:0 0 18px}
.mw-smf-v7 input:focus-visible,.mw-smf-v7 summary:focus-visible{outline:3px solid #9a0002!important;outline-offset:4px}

/* Kompakte Einzeldarstellung mit responsiven Notationszeilen. */
.mw-smf-v7__header{margin-bottom:18px}
.mw-smf-v7__controls{padding:18px;gap:14px 20px}
.mw-smf-v7__choice{display:grid;gap:6px;min-width:0;flex:1 1 180px;font-weight:900;font-size:1em;margin:0}
.mw-smf-v7__pattern-picker{display:grid;gap:6px;margin:18px 0 12px;font-weight:900;font-size:1em}
.mw-smf-v7__card{padding:16px;min-width:0}
.mw-smf-v7__notation{min-width:0;width:100%;display:grid;gap:10px;margin-top:12px}
.mw-smf-v7__notation-row{min-width:0;width:100%}
.mw-smf-v7 .mw-smf-v7__row-label{font-size:.9em;color:#505050!important;margin:0 0 3px}
.mw-smf-v7__bar{width:100%;min-width:0;grid-template-columns:repeat(var(--mw-smf-slots),minmax(0,1fr))}
.mw-smf-v7__navigation{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:14px}
.mw-smf-v7__navigation button{flex:1 1 110px;max-width:190px}
.mw-smf-v7__navigation p{flex:2 1 220px;text-align:center;font-size:.9em}
.mw-smf-v7 button:disabled{opacity:.45;cursor:default;background:#eee;color:#202020!important;border-color:#aaa}
.mw-smf-v7__explanations{margin-top:18px;border-top:1px solid #ccc}
.mw-smf-v7__explanations summary{font-weight:900;cursor:pointer;min-height:46px;padding:12px 0}
.mw-smf-v7__explanations p{font-size:.9em;margin:0 0 10px}
.mw-smf-v7__explanations .mw-smf-v7__legend{margin:0 0 12px}
.mw-smf-v7__explanations h3{font-size:1em;margin:16px 0 8px}
.mw-smf-v7__checkbox{flex-basis:100%}
.mw-smf-v7 select{max-width:100%;min-width:0;text-overflow:ellipsis}
.mw-smf-v7__card-heading{align-items:flex-start}
.mw-smf-v7 h4{overflow-wrap:anywhere}
@media(max-width:575px){.mw-smf-v7__choice{flex-basis:100%}.mw-smf-v7__card{padding:10px}.mw-smf-v7__navigation p{order:-1;flex-basis:100%}.mw-smf-v7__navigation button{max-width:none}.mw-smf-v7__controls{padding:12px}}

.mw-smf-v7__cell{grid-template-rows:22px 42px 30px;background:linear-gradient(to bottom,#fafafa 0%,#fafafa 68%,#fff 68%)}
.mw-smf-v7__count{grid-row:3;line-height:30px}
.mw-smf-v7__cell--group{background:linear-gradient(to bottom,#f7eeee 0%,#f7eeee 68%,#fff 68%)}
