/* Match EQ-only overrides. Audio DSP and pages of earlier modules remain untouched. */
.matchlab .mb-hero{grid-template-columns:minmax(0,1.45fr) minmax(270px,.7fr)}
.match-hero-visual{min-height:225px;border:1px solid rgba(255,204,0,.24);border-radius:18px;background:radial-gradient(circle at 85% 25%,rgba(255,204,0,.1),transparent 53%),#0c111b;display:flex;flex-direction:column;justify-content:space-between;gap:19px;padding:23px 20px 19px;overflow:hidden}
.match-visual-label{font-size:11px;font-weight:900;letter-spacing:.11em;color:#d9d7c9}.match-hero-visual svg{display:block;width:100%;height:136px;filter:drop-shadow(0 0 12px rgba(255,204,0,.09))}
.match-hero-keys{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px}.match-hero-keys span{display:flex;align-items:center;gap:7px;color:#c6d1e1;font-size:10px;font-weight:850;letter-spacing:.04em}
.match-key-your,.match-key-ref,.match-key-desired,.match-key-applied{display:inline-block;width:21px;height:3px;border-radius:3px;flex:none;background:#7bcaff}.match-key-ref{background:#ffcf57}.match-key-desired{background:#b89dff}.match-key-applied{background:#ffe071}
.match-input-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.matchlab .match-drop{min-width:0;gap:13px;padding:21px 20px}.matchlab .match-drop h2{font-size:19px}.matchlab .match-drop .mb-upload-icon{width:52px;height:52px;flex-basis:52px;font-size:29px}.matchlab .match-drop-reference{border-color:rgba(117,197,255,.4);background:linear-gradient(90deg,rgba(117,197,255,.07),#15171f 70%)}
.matchlab .match-drop-reference .mb-upload-icon{color:#7bcaff;border-color:rgba(117,197,255,.3);background:rgba(117,197,255,.08)}.matchlab .match-drop-reference.drag{border-color:#a4dbff;background:#202837}
.matchlab .mb-readings{grid-template-columns:minmax(0,1fr) 26px minmax(0,1fr)}.matchlab .mb-metric-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.match-legend{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:24px;margin:-4px 0 13px}.match-legend span{display:flex;align-items:center;gap:8px;color:#d4dce8;font-weight:760;font-size:11px}
.match-chart-shell{position:relative;overflow:hidden;border:1px solid rgba(255,255,255,.09);background:linear-gradient(180deg,#101621,#0d121b);border-radius:14px;padding:7px 12px 5px;min-height:288px}
.match-chart-shell canvas{width:100%;height:276px;display:block;touch-action:pan-y}.match-chart-empty{position:absolute;inset:6px;display:grid;place-items:center;text-align:center;pointer-events:none;color:#a6b6cd;font-size:12px;line-height:1.6;background:rgba(13,18,27,.78);padding:25px}
.match-chart-empty[hidden]{display:none}
.match-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:14px}.match-metrics>div{min-width:0;border:1px solid rgba(255,255,255,.08);border-radius:12px;background:#121720;padding:13px 14px;display:flex;flex-direction:column;gap:8px}
.match-metrics span{color:#aab8cb;font-size:10px;line-height:1.4}.match-metrics strong{font-size:15px;line-height:1.3;font-weight:860;color:#f3eedf;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.match-curve-metrics strong{color:#ffe07c}
.match-inline-tip{padding:14px 15px;color:#bfc9d6;line-height:1.6;font-size:11px;border:1px solid rgba(255,204,0,.2);background:rgba(255,204,0,.045);border-radius:12px}.match-inline-tip strong{color:#ffde72}
.matchlab .mb-control-card .mb-control:last-of-type{margin-bottom:19px}
.matchlab .match-export{display:flex;gap:22px;align-items:center;justify-content:space-between;flex-wrap:wrap}.match-export>div:first-child{min-width:0;flex:1;max-width:850px}.match-export h2{font-size:clamp(25px,2.7vw,33px);letter-spacing:-.04em;margin:8px 0 13px}.match-export p{color:#abb8c9;font-size:12px;line-height:1.7;margin:0 0 8px}.match-export .mb-export-note{color:#e1c989}.match-export .mb-export-action{min-width:200px;display:flex;flex-direction:column;align-items:stretch;gap:9px}.match-export .mb-export-action span{font-size:11px;color:#b2bed1;text-align:center;line-height:1.4}
.matchlab .match-faq h2{font-size:24px;letter-spacing:-.03em;margin:0 0 14px}.matchlab .match-faq p{font-size:13px;line-height:1.8;color:#b0bccd;margin:0 0 9px}.matchlab .match-faq b{color:#e8dfc4}
.match-player .match-ab button{min-width:59px}.matchlab .mb-preset-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.matchlab .mb-preset{min-height:111px}.matchlab .match-drop .mb-btn{flex:none}
@media(max-width:1100px){.match-input-grid{grid-template-columns:1fr}.matchlab .mb-preset-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:850px){.matchlab .mb-hero{grid-template-columns:1fr}.match-hero-visual{display:none}.matchlab .mb-readings{grid-template-columns:1fr}.matchlab .mb-arrow{transform:rotate(90deg)}.matchlab .match-export{display:block}.match-export .mb-export-action{max-width:340px;margin-top:15px}}
@media(max-width:700px){.matchlab .mb-preset-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.matchlab .mb-metric-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.match-metrics{grid-template-columns:1fr 1fr}.match-metrics>div:last-child:nth-child(3){grid-column:1/-1}.matchlab .match-chart-shell{padding:5px 7px;min-height:241px}.match-chart-shell canvas{height:230px}.matchlab .match-drop{gap:11px;padding:17px 15px}.matchlab .match-drop .mb-upload-icon{width:44px;height:44px;flex-basis:44px;font-size:25px}.matchlab .match-drop h2{font-size:17px}.matchlab .match-drop .mb-btn{padding:10px}.match-legend{gap:14px}.match-player .match-ab button{min-width:53px}.matchlab .mb-heading{flex-wrap:wrap}.matchlab .mb-readings-title{font-size:9px}}
@media(max-width:470px){.matchlab .match-drop{flex-wrap:wrap}.matchlab .match-drop .mb-upload-copy{flex-basis:calc(100% - 70px)}.matchlab .match-drop .mb-btn{width:100%}.matchlab .mb-preset{min-height:122px}.match-metrics{grid-template-columns:1fr}.match-metrics>div:last-child:nth-child(3){grid-column:auto}.matchlab .mb-metric{padding:10px 7px}.matchlab .mb-metric strong{font-size:18px}.matchlab .mb-metric small{font-size:9px}.match-chart-shell canvas{height:220px}.matchlab .mb-panel{padding:21px 17px}}
.match-raw-toggle{display:inline-flex;align-items:center;gap:7px;margin-left:auto;color:#adb8c7;font-size:11px;cursor:pointer}
.match-raw-toggle input{accent-color:#ffcc00}
.match-tooltip{position:absolute;z-index:3;max-width:min(420px,calc(100% - 20px));border-radius:9px;border:1px solid rgba(255,204,0,.3);background:rgba(20,25,35,.97);color:#f5f0e4;box-shadow:0 6px 24px rgba(0,0,0,.36);font-size:10px;line-height:1.5;padding:8px 10px;pointer-events:none;white-space:normal}
.match-tooltip[hidden]{display:none}
.match-library-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:15px}
.match-library-toolbar input{min-width:100px;flex:1;max-width:370px;box-sizing:border-box;padding:12px 13px;background:#202631;color:#eff1f8;border:1px solid rgba(255,255,255,.12);border-radius:11px;font-size:12px;outline-offset:3px}
.match-library-toolbar span{color:#a6b8c9;font-size:11px;font-weight:750}
.match-show-more{margin:7px auto 0;width:100%;max-width:290px}
@media(max-width:700px){.match-raw-toggle{margin-left:0}.match-tooltip{font-size:9px}}
