.musician-identity { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr); }
.instrument-heading { display:flex; align-items:center; gap:16px; margin:28px 0 23px; }
.instrument-heading > span { display:grid; place-items:center; width:52px; height:52px; background:#263d2d; color:var(--mint); border:1px solid #48634e; border-radius:13px; flex-shrink:0; }
.instrument-heading h2 { font-size:1.6rem; }
.instrument-heading p { font-size:1rem; color:var(--muted); margin-top:7px; }
.instrument-empty { text-align:center; padding:70px 20px; background:var(--panel); border:1px dashed var(--border); border-radius:12px; }
.instrument-empty > .icon { width:50px; height:50px; color:#a0c3aa; margin-bottom:23px; }
.instrument-empty h2 { font-size:1.5rem; }
.instrument-empty p { color:var(--muted); font-size:1rem; margin-top:14px; }
.musician-issues .issue-tile { min-height:215px; }
.musician-message-text { white-space:pre-wrap; overflow-wrap:anywhere; line-height:1.7; font-size:1rem; color:#e0ebe4; margin-top:20px; }
.message-unread-count { color:var(--muted); font-size:1rem; margin-bottom:25px; }
.musician-popup { position:fixed; right:24px; bottom:24px; z-index:120; width:420px; max-width:calc(100vw - 32px); max-height:calc(100dvh - 48px); overflow:auto; padding:23px; background:#20352b; border:1px solid #8ab8a0; border-radius:15px; color:#eff8f2; box-shadow:0 14px 65px #0009; }
.musician-popup-header { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:20px; }
.musician-popup-header > span { display:flex; gap:8px; align-items:center; font-size:.75rem; line-height:1.5; letter-spacing:.06em; color:#badbc7; }
.musician-popup-header .icon { width:19px; height:19px; }
.popup-minimize { display:grid; place-items:center; width:38px; height:38px; border:1px solid #678d76; border-radius:7px; background:transparent; color:#daeadf; font-size:1.4rem; flex-shrink:0; }
.musician-popup h2 { font-size:1.25rem; line-height:1.4; overflow-wrap:anywhere; }
.musician-popup-channel { color:#b0c8ba; font-size:.875rem; margin-top:8px; }
.musician-popup-text { margin:20px 0; padding:18px 15px; border-radius:8px; border:1px solid #4c6b58; background:#13251b; white-space:pre-wrap; overflow-wrap:anywhere; overflow:auto; max-height:40dvh; font-size:1rem; line-height:1.7; }
.musician-popup-actions { display:flex; gap:10px; flex-wrap:wrap; }
.musician-popup-actions button { flex:1; font-size:.875rem; min-height:46px; white-space:nowrap; }
.popup-offline { color:var(--amber); font-size:.875rem; margin-bottom:14px; }
.metal-source, .shared-metal-help { grid-column:1/-1; }
.shared-metal-help { display:flex; align-items:flex-start; gap:9px; color:#a4c8b1; font-size:.9375rem; line-height:1.6; }
.shared-metal-help > .icon { width:20px; height:20px; margin-top:3px; }
.drum-section-picker { margin:0 0 25px; }
.drum-picker-label { display:block; font-size:1rem; color:#bacdc0; margin-bottom:13px; }
.drum-parts { display:flex; flex-wrap:wrap; gap:10px; }
.drum-part { min-height:46px; padding:12px 17px; background:#18271d; border:1px solid #3b5544; border-radius:8px; color:#bccfc2; font-size:1rem; }
.drum-part.selected { background:var(--mint); border-color:var(--mint); color:#153522; font-weight:600; }
.drum-section-heading { margin-top:24px; padding-top:21px; border-top:1px solid var(--border); }
.drum-section-heading h3 { font-size:1.3rem; }
.drum-section-heading p { color:var(--muted); font-size:1rem; margin-top:8px; }
.drummer-monitor-destination { padding:24px; background:#203a2b; border:1px solid #668e72; border-radius:12px; margin-bottom:22px; }
.monitor-routing-label { display:block; color:#a8cbb3; font-size:.75rem; font-weight:600; letter-spacing:.07em; line-height:1.5; margin-bottom:12px; }
.drummer-monitor-destination > strong { display:block; font-size:1.5rem; font-weight:600; line-height:1.4; overflow-wrap:anywhere; }
.drummer-monitor-destination > label { display:block; max-width:560px; margin-top:22px; font-size:.9375rem; }
.drummer-monitor-destination > p { color:#afc9b8; font-size:1rem; margin-top:16px; }
.monitor-source-list { display:grid; gap:14px; }
.monitor-source-row { display:flex; justify-content:space-between; align-items:center; gap:24px; padding:22px; background:var(--panel); border:1px solid var(--border); border-radius:11px; }
.monitor-source-heading { display:flex; align-items:center; gap:15px; min-width:0; }
.monitor-source-heading > span { display:grid; place-items:center; width:40px; height:40px; border:1px solid #3a5543; background:#233c2b; border-radius:10px; color:#badcc3; flex-shrink:0; }
.monitor-source-heading h3 { font-size:1.15rem; line-height:1.4; letter-spacing:-.025em; }
.monitor-source-heading p { color:var(--muted); font-size:.9375rem; line-height:1.6; margin-top:6px; }
.monitor-source-actions { display:grid; grid-template-columns:110px 110px; gap:12px; flex-shrink:0; }
.monitor-level-button { display:flex; justify-content:center; align-items:center; gap:10px; width:100%; min-height:52px; border:1px solid #668872; border-radius:9px; background:#2a4935; color:#d6f2de; font-size:1rem; font-weight:600; }
.monitor-level-button.down { background:#1b2d22; }
.monitor-level-button > span { font-size:1.5rem; font-weight:400; }
.monitor-send-status { display:block; font-size:.8125rem; color:var(--mint); text-align:center; line-height:1.5; margin-top:8px; }
.monitor-send-status:empty { display:none; }
.request-context.monitor-routing { display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:15px; width:100%; max-width:1000px; margin-top:22px; }
.routing-card { border:1px solid #ffffff44; border-radius:10px; padding:17px; background:#ffffff0b; text-align:left; min-width:0; }
.routing-card > span { display:block; font-size:.75rem; font-weight:600; letter-spacing:.07em; line-height:1.5; margin-bottom:10px; opacity:.8; }
.routing-card > strong { display:block; font-size:clamp(1.15rem,2.5vw,2rem); font-weight:650; line-height:1.35; overflow-wrap:anywhere; }
.routing-card > p { font-size:1.05rem; line-height:1.4; margin-top:9px; overflow-wrap:anywhere; }
.request-context.monitor-routing > .monitor-routing-scope { grid-column:1/-1; font-size:1rem; line-height:1.5; margin:0; }
.sound-alarm:has(.monitor-routing) .alarm-title { font-size:clamp(2.25rem,5.5vw,6rem); }
@media (max-width:650px) {
  .monitor-source-row { flex-direction:column; align-items:stretch; gap:18px; padding:18px; }
  .monitor-source-actions { grid-template-columns:1fr 1fr; }
  .drummer-monitor-destination { padding:20px; }
  .drummer-monitor-destination > strong { font-size:1.3rem; }
  .request-context.monitor-routing { grid-template-columns:1fr; gap:10px; }
  .routing-card { padding:14px; }
}
@media (max-width:800px) { .musician-identity { grid-template-columns:1fr 1fr; } .musician-identity > label:last-child { grid-column:1/-1; } }
@media (max-width:520px) { .musician-identity { grid-template-columns:1fr; } .instrument-heading { gap:12px; } .instrument-heading h2 { font-size:1.4rem; } .instrument-heading p { font-size:.875rem; } .musician-popup { right:16px; bottom:16px; padding:20px; } .musician-issues .issue-tile { min-height:235px; } }
