#tune, #tuneHost, .tn-root { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; background: #111214; }
.tn-root { position: relative; flex: 1 1 auto; min-height: 0; }
.tn-canvas { flex: 1 1 auto; width: 100%; height: 100%; min-height: 0; display: block; background: #111214; }
.tn-sum { flex: 0 0 auto; max-height: 16vh; overflow: auto; background: #fff; color: #111; padding: 10px 14px; font-size: 16px; border-top: 1px solid #e5e5ea; }
.tn-sum .mute, .tn-sheet .mute { color: #5b6475; font-size: 13px; }
.tn-sheet { flex: 1 1 auto; overflow: auto; background: #fff; color: #111; padding: 16px; -webkit-overflow-scrolling: touch; }
.tn-sheet h1, .tn-sheet h2 { margin: 0 0 8px; font-size: 22px; }
.tn-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.tn-table th, .tn-table td { border-bottom: 1px solid #e5e5ea; padding: 8px 6px; text-align: left; vertical-align: top; }
.tn-rank { padding-left: 20px; } .tn-rank li { margin: 6px 0; }
.pri-high { color: #b42318; font-weight: 800; } .pri-medium { color: #b54708; font-weight: 800; } .pri-low { color: #027a48; font-weight: 700; }
.tn-cons { display: flex; flex-direction: column; gap: 8px; margin: 12px 0; }
.tn-con { text-align: left; border: 1px solid #e5e5ea; border-radius: 14px; padding: 12px; background: #fff; cursor: pointer; }
.tn-con.on { border-color: #039cdb; background: #e8f7fc; }
.tn-con b { display: block; font-size: 16px; }
.tn-con span, .tn-con i { display: block; font-style: normal; font-size: 13px; color: #5b6475; margin-top: 4px; }
.tn-sheet .note, .tn-sum .note { background: #fff8e6; border: 1px solid #f3dca5; color: #5a4300; border-radius: 10px; padding: 8px 10px; font-size: 13px; }

@media (max-width: 1024px) {
  body.m-ui #tune { display: none; }
  body.m-ui #tune.on { display: flex; flex-direction: column; }
  body.m-ui #tuneHost, body.m-ui .tn-root { flex: 1 1 auto; min-height: 0; }
  body.m-ui #tnCanvas { flex: 1 1 auto; width: 100% !important; height: 100% !important; }
}

@media print {
  body.tn-print #portalBar, body.tn-print #mDock, body.tn-print #mSheet, body.tn-print #mSheetScrim,
  body.tn-print #sidebar, body.tn-print #tnCanvas, body.tn-print #tnSummary, body.tn-print .whats { display: none !important; }
  body.tn-print #tnSheet, body.tn-print .tn-amp-sheet { display: block !important; position: static; background: #fff; color: #000; }
  body.tn-print #tune, body.tn-print #tuneHost, body.tn-print .tn-root { display: block; height: auto; overflow: visible; background: #fff; }
}

.tn-eq { flex: 0 0 auto; max-height: 34vh; background: #fff; color: #111; border-top: 1px solid #e5e5ea; overflow: auto; -webkit-overflow-scrolling: touch; }
.tn-eq-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 12px 4px; font-size: 14px; flex-wrap: wrap; }
.tn-eq-h span { color: #5b6475; font-size: 12px; }
.tn-tgt { font-size: 13px; }
.tn-tgt select { font: 15px inherit; min-height: 36px; border-radius: 8px; border: 1px solid #e5e5ea; }
.tn-sliders { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 0 2px; padding: 4px 8px 10px; }
.tn-sl { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.tn-sl span, .tn-sl em { font-size: 9px; font-weight: 700; line-height: 1.1; color: #374151; }
.tn-sl input[type=range] { -webkit-appearance: slider-vertical; appearance: slider-vertical; writing-mode: vertical-lr; direction: rtl; height: 84px; width: 26px; margin: 4px 0; padding: 0; }
.tn-peq { padding: 8px 12px 16px; }
.tn-peq-row { display: grid; grid-template-columns: 2rem 1fr 1fr 1fr; gap: 8px; padding: 8px 0; border-bottom: 1px solid #eee; font-size: 15px; }
.tn-table tr.ok td { color: #067647; } .tn-table tr.bad td { color: #b42318; font-weight: 700; }
@media (max-width: 1024px) {
  body.m-ui #tune, body.m-ui #tuneHost, body.m-ui .tn-root { max-width: 100%; overflow-x: hidden; }
  body.m-ui #tnEqPanel { max-height: 42vh; z-index: 4; position: relative; overflow-x: hidden; overflow-y: auto; }
  body.m-ui #tnCanvas { flex: 1 1 auto; min-height: 42vh; max-width: 100%; }
  body.m-ui .tn-sliders { grid-template-columns: repeat(11, minmax(0, 1fr)); }
  body.m-ui .tn-sl input[type=range] { height: 52px; width: 20px; }
  body.m-ui .tn-eq-h { padding: 6px 10px 2px; }
  body.m-ui .tn-eq, body.m-ui #tnSheet, body.m-ui #tnSummary { flex: 0 0 auto; max-width: 100%; }
}

/* v0.9.8 live-sonar overlay on the in-flow scanner / tune canvas */
body.m-ui #tnCanvas { min-height: 60dvh !important; }
body.m-ui #tuneHost, body.m-ui .tn-root { position: relative !important; }
#tuneHost #lsHero, .tn-root #lsHero {
  position: absolute !important;
  pointer-events: none !important;
  z-index: 5;
}
/* v0.9.8 asset */
