/* User-focused worship musician workspace: scannable on phones and desktop. */
.mt-shell{margin:14px 0 20px;padding:18px;border:1px solid var(--line,#d9e3f0);border-radius:20px;background:#f8fbff;color:#172c43}
.mt-intro{display:flex;justify-content:space-between;gap:10px;align-items:start;flex-wrap:wrap}.mt-intro h2{margin:0 0 4px}.mt-intro p{margin:0;color:#60738a;font-size:14px}.mt-stop{background:#fff;border:1px solid #dbbab7;color:#98372f;border-radius:10px;padding:10px 12px;font-weight:700;cursor:pointer}.mt-categories{display:flex;overflow-x:auto;gap:7px;padding:16px 0 12px;scrollbar-width:thin}.mt-filter{white-space:nowrap;border:1px solid #d9e3f0;border-radius:30px;background:#fff;color:#39536b;padding:9px 13px;font-weight:700;cursor:pointer}.mt-filter.is-on{background:#1766ad;border-color:#1766ad;color:white}.mt-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.mt-tile{border:1px solid #d8e4f2;border-radius:12px;background:#fff;color:#19344c;padding:14px;text-align:left;cursor:pointer;min-height:78px}.mt-tile strong{display:block;font-size:14px;line-height:1.35}.mt-tile span{display:block;color:#65788d;font-size:12px;margin-top:5px;line-height:1.35}.mt-tile.is-selected{background:#eef6ff;border:2px solid #1766ad;padding:13px}.mt-active{margin-top:15px;border-radius:16px;border:1px solid #d6e2ef;background:white;padding:18px;min-width:0}.mt-active-head{border-bottom:1px solid #e4eaf2;padding-bottom:12px;margin-bottom:16px}.mt-active-head h3{margin:3px 0 0;font-size:22px}.mt-eyebrow{font-size:11px;font-weight:800;letter-spacing:.12em;color:#587899}.mt-inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.mt-field{display:flex;flex-direction:column;font-size:13px;font-weight:700;color:#425a70;gap:6px;margin:0 0 12px}.mt-field select,.mt-field input,.mt-field textarea{font:inherit;width:100%;max-width:100%;box-sizing:border-box;border:1px solid #cdd9e7;background:white;color:#192c40;border-radius:10px;min-height:44px;padding:10px 11px;font-size:16px}.mt-field textarea{resize:vertical}.mt-actions{display:flex;flex-wrap:wrap;gap:10px;margin:4px 0 14px}.mt-button{border:1px solid #ccdaea;background:#fff;color:#205382;font-size:14px;font-weight:750;min-height:44px;padding:10px 17px;border-radius:11px;cursor:pointer}.mt-button.primary{background:#1766ad;border-color:#1766ad;color:#fff}.mt-hint,.mt-footnote{font-size:12px;line-height:1.5;color:#65788d;margin:9px 0}.mt-footnote{margin-bottom:0}.mt-beats{display:flex;gap:10px;margin:12px 0}.mt-beat{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;border:1px solid #cadeee;background:#e8f0f9;color:#496882;font-weight:800}.mt-beat.active{background:#1766ad;color:white}.mt-pitch{font-size:22px;font-weight:800;text-align:center;padding:20px 0}.mt-meter{height:12px;background:linear-gradient(90deg,#edd0a4,#75cba7,#edd0a4);border-radius:8px;position:relative;margin:10px 0 19px}.mt-meter-needle{position:absolute;height:24px;width:4px;top:-6px;left:50%;border-radius:5px;background:#b57925;transform:translateX(-50%)}.mt-result{background:#f7faff;border:1px solid #e0e9f4;border-radius:13px;padding:14px;margin:10px 0;min-width:0;overflow-wrap:anywhere}.mt-big{font-size:22px;line-height:1.4;color:#173c68}.mt-keyboard{display:flex;gap:2px;align-items:stretch;min-height:84px;overflow:auto;margin-top:13px}.mt-key{min-width:25px;flex:1;display:flex;align-items:end;justify-content:center;border:1px solid #aec1d2;border-radius:0 0 4px 4px;background:white;font-size:9px;padding-bottom:6px;color:#465e76}.mt-key.black{background:#263d55;color:#fff;min-height:60px;flex:.8}.mt-key.lit{background:#4d9cc9;color:#fff}.mt-key.black.lit{background:#1766ad}.mt-chord-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.mt-chord-chips span{border-radius:8px;background:#e8f2fe;padding:7px 10px;font-weight:700}.mt-fret-scroll{overflow-x:auto}.mt-fretboard{min-width:620px;background:#f3f8fd;padding:9px;border-radius:12px}.mt-fret-row{display:grid;grid-template-columns:repeat(13,minmax(0,1fr));gap:4px;margin:5px 0}.mt-fret{display:grid;place-items:center;min-height:31px;background:white;border:1px solid #d3e0ec;color:#5a6e81;border-radius:5px;font-size:11px;font-weight:700}.mt-fret-head{background:#dfeaf5}.mt-fret.lit{background:#1766ad;color:white;border-color:#1766ad}.mt-drum-grid{overflow:auto;margin:12px 0}.mt-drum-row{display:flex;gap:5px;align-items:center;margin-bottom:7px;min-width:440px}.mt-drum-row strong{min-width:62px;font-size:12px}.mt-drum-cell{min-width:32px;flex:1;text-align:center;background:#f1f5fa;padding:10px 0;border-radius:6px;color:#a7b7c7}.mt-drum-cell.on{background:#d6e8fa;color:#1766ad}.mt-drum-cell.pulse{outline:3px solid #1766ad;outline-offset:-2px}.mt-ref{display:flex;justify-content:space-between;align-items:center;gap:10px;border-bottom:1px solid #e1eaf2;padding:12px 0}.mt-ref p{font-size:12px;color:#5d7286;margin:5px 0;line-height:1.5}.mt-ref>div:last-child{display:flex;gap:4px;flex-shrink:0}.mt-mini{border:1px solid #dae4ed;border-radius:7px;background:white;padding:7px;font-size:12px;font-weight:700;color:#1766ad;cursor:pointer}
@media(min-width:900px){.mt-tiles{grid-template-columns:repeat(4,minmax(0,1fr))}.mt-shell{padding:22px}.mt-active{max-width:850px}}
@media(max-width:520px){.mt-shell{padding:12px;margin:12px 0}.mt-tiles{gap:7px}.mt-tile{padding:11px;min-height:84px}.mt-tile.is-selected{padding:10px}.mt-active{padding:13px}.mt-inputs{grid-template-columns:1fr}.mt-intro h2{font-size:23px}.mt-active-head h3{font-size:19px}.mt-big{font-size:19px}.mt-key{min-width:19px}}

.mt-shell [hidden]{display:none!important}
.mt-progress{white-space:normal;overflow-wrap:anywhere}.mt-transposed{background:#eef7ff;border-color:#c8dff3}.mt-transposed .mt-big{font-weight:800}

/* Nashville converter: obvious input mode and immediate visual feedback. */
.mt-nash-intro{background:#eff7ff;border:1px solid #d7e7f8;border-radius:12px;padding:12px 14px;font-size:14px;line-height:1.55;color:#294960;margin:0 0 16px}
.mt-nash-mode{display:flex;gap:8px;margin:10px 0 16px}
.mt-mode-btn{flex:1;min-height:46px;padding:9px;border:1px solid #cddfed;border-radius:10px;background:#fff;color:#264c72;font-weight:750;font-size:14px;cursor:pointer}
.mt-mode-btn.is-on{background:#1766ad;border-color:#1766ad;color:white}
.mt-nash-editor textarea{min-height:110px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:17px;line-height:1.5;letter-spacing:.015em}
.mt-nash-status{font-size:12px;color:#536d84;line-height:1.5;margin-top:-2px}
.mt-nash-status.has-warning{background:#fff4e6;border:1px solid #e8c99b;padding:9px 12px;border-radius:10px;color:#754c22;margin:8px 0}
.mt-result .mt-progress{white-space:normal;overflow-wrap:break-word;word-break:normal}
@media(max-width:520px){.mt-nash-mode{gap:6px}.mt-mode-btn{padding:9px 5px}.mt-nash-intro{font-size:13px}}

/* Personalized instrument tools. Keep controls comfortably tappable on phones. */
.mt-profile-strip{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:15px;padding:13px 14px;border-radius:14px;border:1px solid #cbdcef;background:white}
.mt-profile-strip>div{display:grid;gap:5px;min-width:0}
.mt-profile-strip strong{font-size:19px;color:#173c68}
.mt-profile-strip button{flex-shrink:0}
.mt-role-editor{padding:13px 14px 2px;margin-top:8px;background:#edf5ff;border:1px solid #cbdcef;border-radius:12px}
.mt-role-editor[hidden]{display:none!important}
.mt-role-editor .mt-field{margin:0}
.mt-role-editor .mt-actions{margin:12px 0 5px}
.mt-view-row{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:18px 2px 9px;font-weight:750;color:#3a5876;font-size:13px}
.mt-view-toggle{min-height:44px;border:1px solid #ccddee;border-radius:10px;padding:9px 13px;background:white;color:#1766ad;font-size:13px;font-weight:800;cursor:pointer}
.mt-group-head{grid-column:1/-1;color:#536f8d;font-size:11px;font-weight:850;letter-spacing:.13em;text-transform:uppercase;margin:8px 0 0}
.mt-group-head:first-child{margin-top:0}
.mt-active #mt-legacy-slot .card{max-width:none;box-shadow:none;padding:0;border:0;background:transparent;margin:0}
.mt-active #mt-legacy-slot .card h2{margin:7px 0 14px;font-size:20px}
.mt-active #mt-legacy-slot .card .field{max-width:700px}
.mt-active #mt-legacy-slot .calc-result{max-width:700px}
@media(max-width:520px){.mt-profile-strip{padding:11px}.mt-view-row{margin-top:12px}.mt-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.mt-group-head{margin-top:6px}.mt-role-editor .mt-actions{flex-wrap:wrap}}
