/* WOW Studios — Pro studio (Session room): cinematic dark console, arrange, inspector, transport.
   Desktop ≥1100 px: a fixed-height DAW (arrange + inspector over a full mixer console).
   Phone <768 px: an app — Arrange / Mixer / Studio tabs, swipeable channel strips, big transport.
   Every meter here is a canvas painted from real AnalyserNode samples (studio-pro.js). */

:root { --steel: #121218; --steel-2: #0c0c11; --steel-3: #1b1b23; --amber: #ffcf6b; --lcd: #07090a; --glow: 0 0 18px rgba(243, 220, 148, 0.25); }

body.in-session { background-image: radial-gradient(90% 50% at 50% -20%, rgba(212, 175, 55, 0.14), transparent 60%), radial-gradient(60% 40% at 100% 100%, rgba(120, 90, 30, 0.10), transparent 70%); }
body.in-session main.wide { padding-top: 10px; }

/* ---------- header row ---------- */
.ses.pro { gap: 8px; padding-top: 0; }
.pro-head { display: grid; grid-template-columns: auto minmax(160px, 260px) minmax(0, 1fr) auto; gap: 10px; align-items: center; min-width: 0; }
.pro-head .ses-name { font-size: 20px !important; min-height: 40px !important; }
.pro-head .intent { display: flex; align-items: center; gap: 8px; min-width: 0; margin: 0; padding: 0 4px 0 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(10, 10, 14, 0.6); }
.pro-head .intent span { font: 700 10px var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
.pro-head .intent input { border: 0 !important; background: transparent !important; min-height: 38px !important; padding: 6px 4px !important; font-size: 14px; min-width: 0; width: 100%; }
.pro-head .slot { display: flex; align-items: center; gap: 6px; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.pro-head .slot select { min-height: 38px; padding: 4px 8px; width: auto; }

/* ---------- transport ---------- */
.pro-tbar { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 16px; border: 1px solid var(--line-2);
  background: linear-gradient(180deg, #17171e, #0b0b10 60%, #08080b); box-shadow: 0 1px 0 rgba(255, 240, 200, 0.06) inset, 0 18px 40px -22px rgba(0, 0, 0, 0.9); }
.pro-tbar .xport { display: flex; align-items: center; gap: 6px; flex: none; }
.pro-tbar .tb { height: 44px; min-width: 44px; border-radius: 11px; background: linear-gradient(180deg, #23232c, #15151b); border-color: rgba(212, 175, 55, 0.22); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset; }
.pro-tbar .tb svg { width: 20px; height: 20px; }
.pro-tbar .tb svg.st, .tb svg.st { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pro-tbar .tb.tog { display: inline-flex; gap: 6px; padding: 0 10px; }
.pro-tbar .tb .tl { font-size: 12px; letter-spacing: 0.04em; }
.pro-tbar .tb.play { width: 54px; height: 54px; border-radius: 50%; background: var(--gold-grad); box-shadow: 0 0 0 1px rgba(255, 240, 190, 0.4) inset, 0 0 24px rgba(212, 175, 55, 0.35); }
.pro-tbar .tb.play[aria-pressed="true"] { box-shadow: 0 0 0 1px rgba(255, 240, 190, 0.5) inset, 0 0 34px rgba(243, 220, 148, 0.65); }
.pro-tbar .tb.rec { color: #ff6264; }
.lcd { position: relative; display: grid; justify-items: center; align-content: center; min-width: 168px; padding: 4px 16px; height: 54px; border-radius: 10px; background: var(--lcd);
  border: 1px solid rgba(255, 207, 107, 0.22); box-shadow: 0 0 0 1px #000 inset, 0 0 24px rgba(255, 190, 80, 0.06) inset; overflow: hidden; }
.lcd::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 3px); }
.lcd .lcd-k { font: 700 8.5px var(--sans); letter-spacing: 0.22em; color: rgba(255, 207, 107, 0.45); }
.lcd b { font: 600 25px/1 var(--mono) !important; color: var(--amber) !important; text-shadow: 0 0 12px rgba(255, 190, 80, 0.45); letter-spacing: 0.02em !important; }
.lcd small { font: 500 11px var(--mono) !important; color: rgba(255, 207, 107, 0.6) !important; margin-top: 2px !important; }
.tfields { display: flex; gap: 6px; flex: none; }
.tf { display: grid; gap: 1px; justify-items: center; padding: 3px 8px; border-radius: 10px; background: var(--lcd); border: 1px solid rgba(255, 207, 107, 0.16); min-width: 56px; }
.tf span { font: 700 8.5px var(--sans); letter-spacing: 0.18em; color: rgba(255, 207, 107, 0.5); text-transform: uppercase; }
.tf b, .tf input, .tf select { font: 600 15px var(--mono); color: var(--amber); }
.tf input, .tf select { width: 64px; min-height: 26px !important; padding: 0 2px !important; border: 0 !important; background: transparent !important; text-align: center; text-align-last: center; }
.tf select { width: auto; max-width: 96px; }
.tstats { display: flex; gap: 6px; align-items: center; margin-left: auto; min-width: 0; }
.ts { display: grid; justify-items: end; padding: 2px 8px; border-left: 1px solid var(--line); }
.ts span { font: 700 8.5px var(--sans); letter-spacing: 0.16em; color: var(--faint); }
.ts b { font: 600 13px var(--mono); color: var(--gold-hi); }
.tmini { width: 8px; height: 40px; border-radius: 3px; background: #15151b; position: relative; overflow: hidden; box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.2) inset; }
.tmini i { position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--v, 0) * 100%); background: linear-gradient(0deg, #1f8f5f, #5ccf8f 40%, #e8c766 75%, #ff3b3b); }
.tedit { display: flex; gap: 6px; flex: none; }
.tedit .tb { min-width: 40px; padding: 0 8px; }
.keysheet { position: relative; z-index: 30; margin-top: -2px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(10, 10, 14, 0.97); box-shadow: 0 30px 60px -20px #000; }
.keysheet .keys { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

/* ---------- panes ---------- */
.pro-arr, .pro-insp, .pro-console { min-width: 0; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(180deg, rgba(17, 17, 22, 0.96), rgba(9, 9, 12, 0.98)); }
.pro-arr { padding: 10px; display: flex; flex-direction: column; min-height: 0; }
.pro-arr .arr { border-radius: 12px; background: #050507; flex: none; }
.pro-arr .arr-tools .btn.sm { min-height: 36px; }
.pro-insp { display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.itabs { display: flex; gap: 2px; padding: 6px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); background: rgba(6, 6, 8, 0.7); flex: none; }
.itabs::-webkit-scrollbar { display: none; }
.itabs button { flex: none; border: 0; background: transparent; color: var(--muted); font: 650 12px var(--sans); letter-spacing: 0.02em; padding: 8px 10px; border-radius: 9px; min-height: 34px; }
.itabs button[aria-selected="true"] { background: linear-gradient(180deg, rgba(212, 175, 55, 0.22), rgba(212, 175, 55, 0.08)); color: var(--gold-hi); box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.35) inset; }
.ibody { padding: 12px 14px 18px; overflow-y: auto; min-height: 0; flex: 1; display: grid; gap: 10px; align-content: start; }
.ibody .card-head h2 { font-size: 18px; }
.ph { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 10px; }
.ph h3 { margin: 0; font: 600 19px/1.2 var(--display); color: var(--gold-hi); display: flex; align-items: center; gap: 8px; }
.cdot { width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); display: inline-block; }
.rack { list-style: none; margin: 0; padding: 6px; display: grid; gap: 4px; border-radius: 12px; background: #060608; border: 1px solid var(--line); }
.rack li { display: grid; grid-template-columns: 10px 18px minmax(0, auto) minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 8px;
  background: linear-gradient(180deg, #17171e, #101015); border: 1px solid rgba(255, 255, 255, 0.04); font-size: 12.5px; }
.rack li b { font-weight: 700; white-space: nowrap; }
.rack .rn { font: 600 10px var(--mono); color: var(--faint); }
.rack .rd { color: var(--muted); font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: right; }
.rack .led { width: 8px; height: 8px; border-radius: 50%; background: #2a2a31; box-shadow: 0 0 0 1px #000 inset; }
.rack li.on { border-color: rgba(212, 175, 55, 0.28); }
.rack li.on .led { background: #6dff9e; box-shadow: 0 0 8px #3dd27a; }
.chain-rack li { grid-template-columns: 10px 18px minmax(0, 1fr) auto; }
.chain-rack .rd { grid-column: 3 / -1; text-align: left; white-space: normal; }
.nb-tag { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--warn); }
.curves { display: grid; grid-template-columns: 1.6fr 1fr; gap: 8px; }
.curves figure { margin: 0; display: grid; gap: 4px; }
.curves canvas { width: 100%; height: 110px; border-radius: 10px; background: #050507; border: 1px solid var(--line); display: block; }
.curves figcaption { font-size: 10.5px; color: var(--faint); letter-spacing: 0.04em; }
.insp-inserts .card-head { margin-top: 4px; }
textarea.spk { width: 100%; min-height: 84px; resize: vertical; padding: 12px; border-radius: 12px; border: 1px solid var(--line-2); background: #060608; color: var(--gold-hi); font: italic 500 16px/1.45 var(--display); }
.pro-x { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.pro-x .xg { display: grid; gap: 3px; padding: 10px; border-radius: 10px; background: #08080b; border: 1px solid rgba(212, 175, 55, 0.25); }
.pro-x .xg b { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.pro-x .xg span { font: 500 12px var(--mono); color: var(--text); }
ul.why { margin: 0; padding-left: 18px; font-size: 12.5px; color: var(--muted); display: grid; gap: 4px; }
.small.ok, .ok { color: var(--ok); }
.dna2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dnacol { padding: 10px; border-radius: 12px; background: #08080b; border: 1px solid var(--line); min-width: 0; }
.dl { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 6px; }
.dl li { display: grid; font-size: 12.5px; }
.lbl { display: block; font: 700 10.5px var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
table.anch { width: 100%; border-collapse: collapse; font-size: 12.5px; }
table.anch th { text-align: left; font: 700 10px var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); padding: 6px 4px; border-bottom: 1px solid var(--line); }
table.anch td { padding: 7px 4px; border-bottom: 1px solid rgba(212, 175, 55, 0.08); font-family: var(--mono); vertical-align: top; }
table.anch td:first-child { font-family: var(--sans); }
.pk-big { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pk-big div { display: grid; padding: 10px; border-radius: 12px; background: #08080b; border: 1px solid var(--line); }
.pk-big b { font: 600 24px var(--mono); color: var(--gold-hi); }
.pk-big span { font-size: 11px; color: var(--muted); }
canvas.pocketcv { width: 100%; height: 130px; border-radius: 10px; background: #050507; border: 1px solid var(--line); display: block; }
.qcfloor { display: grid; gap: 4px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line-2); font-size: 12.5px; }
.qcfloor.pass { border-color: rgba(92, 207, 143, 0.5); background: rgba(92, 207, 143, 0.06); }
.qcfloor.fail { border-color: rgba(240, 180, 76, 0.5); background: rgba(240, 180, 76, 0.06); }
.qcfloor .no { color: var(--warn); }
.rcpts { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.rcpts li { display: grid; grid-template-columns: auto 1fr; gap: 0 10px; padding: 8px 10px; border-radius: 10px; background: #08080b; border: 1px solid rgba(212, 175, 55, 0.1); font-size: 12.5px; }
.rcpts .ra { font: 700 11px var(--mono); color: var(--gold-hi); text-transform: uppercase; letter-spacing: 0.04em; }
.rcpts .small { text-align: right; }
.rcpts .rdd { grid-column: 1 / -1; color: var(--muted); font-size: 12px; }
.linkbtn { border: 0; background: none; color: var(--gold-hi); padding: 0; text-decoration: underline; font-size: inherit; }

/* ---------- console ---------- */
.pro-console { padding: 8px; overflow: hidden; background: linear-gradient(180deg, #121218, #09090c); }
.console { display: grid; grid-template-columns: minmax(0, 1fr) 176px 132px minmax(280px, 360px); gap: 8px; height: 100%; min-height: 0; }
.cstrips { display: flex; gap: 4px; overflow-x: auto; overflow-y: hidden; padding: 0; min-width: 0; scrollbar-color: var(--gold-lo) transparent; }
.cstrip { position: relative; flex: 0 0 100px; display: grid; grid-template-rows: auto auto auto auto minmax(0, 1fr) auto auto; gap: 5px; padding: 6px 6px 8px; border-radius: 10px;
  background: linear-gradient(180deg, #1a1a22, #101015 30%, #0b0b0f); border: 1px solid rgba(255, 255, 255, 0.05); min-height: 0; }
.cstrip::before { content: ""; position: absolute; left: 6px; right: 6px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--c); box-shadow: 0 0 10px var(--c); }
.cstrip.sel { border-color: rgba(212, 175, 55, 0.6); box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.4) inset, 0 0 20px -6px rgba(212, 175, 55, 0.4); }
.cs-num { position: absolute; top: 6px; right: 7px; font: 600 9px var(--mono); color: var(--faint); }
.cs-name { border: 0; background: #060608; border-radius: 6px; color: var(--text); font: 700 11px var(--sans); padding: 6px 4px; margin-top: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-height: 28px; }
.cs-slots { display: grid; gap: 2px; }
.islot { border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 4px; background: #0a0a0d; color: var(--faint); font: 700 8.5px var(--sans); letter-spacing: 0.1em; padding: 3px 4px; text-align: left; min-height: 18px; position: relative; padding-left: 12px; }
.islot::before { content: ""; position: absolute; left: 4px; top: 50%; width: 4px; height: 4px; margin-top: -2px; border-radius: 50%; background: #2a2a31; }
.islot.on { color: var(--gold-hi); border-color: rgba(212, 175, 55, 0.35); background: linear-gradient(90deg, rgba(212, 175, 55, 0.16), #0a0a0d); }
.islot.on::before { background: #6dff9e; box-shadow: 0 0 6px #3dd27a; }
.cs-sends { display: grid; gap: 3px; }
.cs-sends span { display: grid; grid-template-columns: 22px 1fr; align-items: center; gap: 4px; font: 700 8px var(--sans); letter-spacing: 0.08em; color: var(--faint); }
.cs-sends i { height: 4px; border-radius: 2px; background: linear-gradient(90deg, #7fb7ff calc(var(--v) * 100%), #1f1f27 calc(var(--v) * 100%)); }
.cs-pan { display: grid; gap: 1px; font-size: 9px; color: var(--faint); font-weight: 700; letter-spacing: 0.08em; }
.cs-pan span { display: flex; justify-content: space-between; } .cs-pan b { font: 600 9.5px var(--mono); color: var(--gold-hi); }
.cs-pan input[type="range"] { min-height: 20px; height: 20px; }
.cs-fader { display: grid; grid-template-columns: 1fr 30px; gap: 2px; min-height: 0; align-items: stretch; }
.cs-fader canvas.mcv { width: 100%; height: 100%; min-height: 60px; display: block; }
.cs-fader input[type="range"].vfader, .cm-row input[type="range"].vfader { height: 100%; min-height: 60px; width: 30px; }
.cs-read { display: grid; gap: 1px; justify-items: center; }
.cs-read output { font: 600 10.5px var(--mono); color: var(--gold-hi); }
.cs-read .pkv { color: #8fe3b0; background: #050507; border-radius: 4px; padding: 1px 5px; min-width: 52px; text-align: center; }
.cs-read .pkv.hot { color: #fff; background: #c22; }
.cstrip .ms { justify-content: center; gap: 2px; flex-wrap: wrap; }
.cstrip .tbn { width: 19px; height: 22px; border-radius: 5px; font-size: 10px; }
.cbus, .cmaster, .cana { display: grid; gap: 6px; align-content: start; padding: 8px; border-radius: 10px; background: linear-gradient(180deg, #1a1a22, #0d0d12); border: 1px solid rgba(212, 175, 55, 0.18); min-height: 0; min-width: 0; }
.cb-h { font: 700 10px var(--sans); letter-spacing: 0.2em; color: var(--gold); display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.cb-h .small { font-size: 10px; letter-spacing: 0; color: var(--faint); font-weight: 500; }
.cbus .mini select { min-height: 32px; font-size: 12px; }
.cbus .check.limit { font-size: 11px; } .cbus .check.limit .m { font-size: 10.5px; }
.cmaster { grid-template-rows: auto minmax(0, 1fr) auto; align-content: stretch; }
.cm-row { display: grid; grid-template-columns: 1fr 30px; gap: 2px; min-height: 0; }
.cm-row canvas { width: 100%; height: 100%; min-height: 80px; display: block; }
#mvo { font: 600 11px var(--mono); color: var(--gold-hi); text-align: center; }
.cana { grid-template-rows: auto minmax(60px, 1fr) auto auto auto; }
.spec canvas { width: 100%; height: 100%; min-height: 60px; display: block; border-radius: 8px; background: #050507; border: 1px solid var(--line); }
.spec { min-height: 0; display: grid; }
.lgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.lr { display: grid; padding: 4px 8px; border-radius: 8px; background: var(--lcd); border: 1px solid rgba(255, 207, 107, 0.14); }
.lr span { font: 700 8px var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 207, 107, 0.5); }
.lr b { font: 600 16px/1.1 var(--mono); color: var(--amber); text-shadow: 0 0 10px rgba(255, 190, 80, 0.35); }
.lr b.hot { color: #ff6a4d; }
.lr small { font: 500 9px var(--mono); color: rgba(255, 207, 107, 0.45); }
.lr.big b { font-size: 18px; }
.corr { display: grid; grid-template-columns: auto 1fr auto 40px; gap: 6px; align-items: center; font: 600 9px var(--mono); color: var(--faint); }
.cbar { position: relative; height: 8px; border-radius: 4px; background: linear-gradient(90deg, #ff3b3b, #2a2a31 45%, #2a2a31 55%, #5ccf8f); }
.cbar i { position: absolute; top: -3px; width: 4px; height: 14px; margin-left: -2px; border-radius: 2px; background: var(--gold-hi); box-shadow: 0 0 6px var(--gold-hi); left: 50%; }
.corr b { font: 600 11px var(--mono); color: var(--gold-hi); text-align: right; }
.cnote { margin: 0; font-size: 10.5px !important; line-height: 1.35; }

/* ---------- desktop: the fixed-height studio ---------- */
@media (min-width: 960px) {
  body.in-session .app { grid-template-columns: 76px 1fr; }
  body.in-session .nav { padding: 14px 10px; }
  body.in-session .nav a { justify-content: center; padding: 0; font-size: 0; gap: 0; }
  body.in-session .nav a span { display: none; }
  body.in-session main.wide { padding: 10px 14px 14px; }
}
@media (min-width: 1100px) {
  .ses.pro { display: grid; grid-template-columns: minmax(0, 1fr) 400px; grid-template-rows: auto auto minmax(0, 1fr) minmax(250px, 31vh);
    grid-template-areas: "head head" "tbar tbar" "arr insp" "con con"; height: calc(100dvh - 66px - 24px); min-height: 640px; }
  .ses.pro > .pro-head { grid-area: head; } .ses.pro > .pro-tbar { grid-area: tbar; position: relative; top: auto; }
  .ses.pro > .keysheet { grid-area: arr; align-self: start; }
  .ses.pro > .pro-arr { grid-area: arr; overflow: auto; } .ses.pro > .pro-insp { grid-area: insp; } .ses.pro > .pro-console { grid-area: con; }
  .ses.pro > .busy { grid-area: arr; align-self: end; z-index: 6; }
  .ses.pro.no-insp { grid-template-columns: minmax(0, 1fr) 0; } .ses.pro.no-insp > .pro-insp { display: none; }
  .ses.pro.no-insp > .pro-arr { grid-column: 1 / -1; }
  .ses.pro.no-console { grid-template-rows: auto auto minmax(0, 1fr) 0; } .ses.pro.no-console > .pro-console { display: none; }
}
@media (min-width: 768px) and (max-width: 1099px) {
  .ses.pro > .pro-console { height: 380px; }
  .console { grid-template-columns: minmax(0, 1fr) 132px; grid-template-rows: minmax(0, 1fr); }
  .console .cbus, .console .cana { display: none; }
  .ses.pro > .pro-insp { max-height: 760px; }
  .tstats .ts:nth-child(n+3) { display: none; }
}
@media (min-width: 768px) and (max-width: 1280px) { .tstats { display: none; } .tf:nth-child(2) { display: none; } }

/* ---------- phone: an app ---------- */
@media (max-width: 767px) {
  .ses.pro { gap: 10px; }
  .ses[data-tab="inspect"] .pane:not([data-pane="inspect"]) { display: none; }
  .pro-head { grid-template-columns: auto minmax(0, 1fr) auto; }
  .pro-head .intent { grid-column: 1 / -1; order: 5; }
  .ses-tabs { position: sticky; top: 64px; z-index: 12; }
  .pro-tbar { position: fixed; left: 8px; right: 8px; bottom: calc(var(--nav-h) + 8px + env(safe-area-inset-bottom)); padding: 8px; gap: 8px; justify-content: space-between; border-radius: 20px; }
  .pro-tbar .xport { gap: 5px; }
  .pro-tbar .tb { height: 52px; min-width: 46px; }
  .pro-tbar .tb.tog { padding: 0; width: 46px; justify-content: center; }
  .pro-tbar .tb .tl { display: none; }
  .pro-tbar .tb.play { width: 64px; height: 64px; }
  .pro-tbar .tb.play svg { width: 26px; height: 26px; }
  .lcd { min-width: 0; flex: 1; padding: 4px 6px; height: 52px; }
  .lcd b { font-size: 18px !important; }
  .pro-arr, .pro-insp, .pro-console { border-radius: 14px; }
  .pro-insp { max-height: none; }
  .itabs { position: sticky; top: 0; }
  .curves { grid-template-columns: 1fr; }
  .pro-console { padding: 6px; }
  .console { grid-template-columns: 1fr; height: auto; gap: 10px; }
  .cstrips { scroll-snap-type: x mandatory; gap: 6px; padding-bottom: 4px; height: min(58vh, 470px); }
  .cstrip { flex: 0 0 calc((100vw - 56px) / 3); scroll-snap-align: start; padding: 8px 8px 10px; }
  .cs-name { font-size: 12.5px; min-height: 34px; }
  .islot { min-height: 24px; font-size: 9.5px; }
  .cs-fader { grid-template-columns: 1fr 40px; }
  .cs-fader input[type="range"].vfader { width: 40px; }
  .cstrip .tbn { width: 30px; height: 32px; font-size: 12px; }
  .cmaster { grid-template-rows: auto 220px auto; }
  .cm-row { grid-template-columns: 1fr 44px; } .cm-row input[type="range"].vfader { width: 44px; }
  .cana { grid-template-rows: auto 120px auto auto auto; }
  .lr b { font-size: 18px; }
  .dna2 { grid-template-columns: 1fr; }
  .pk-big b { font-size: 20px; }
}

/* arrange polish: cinematic lanes and clips */
.pro-arr .arr-heads { background: linear-gradient(90deg, #111117, #0b0b10); }
.pro-arr .thead { border-bottom-color: rgba(212, 175, 55, 0.1); }
.pro-arr .thead::before { width: 4px; box-shadow: 0 0 12px var(--c); }
.pro-arr .ruler { background: linear-gradient(to right, rgba(243, 220, 148, 0.45) 1px, transparent 1px) 0 0 / var(--bar) 12px repeat-x, linear-gradient(180deg, #16161d, #0d0d12); }
.pro-arr .ruler .bl { color: var(--gold-hi); opacity: 0.8; }
.pro-arr .lane { border-bottom-color: rgba(212, 175, 55, 0.08); }
.pro-arr .clip { border-radius: 6px; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 22%, #0b0b10), color-mix(in srgb, var(--c) 8%, #07070a)); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 8px 18px -10px color-mix(in srgb, var(--c) 60%, transparent); }
.pro-arr .clip .cname { top: 2px; font-size: 10px; letter-spacing: 0.02em; }
.pro-arr .playhead { width: 1.5px; box-shadow: 0 0 14px rgba(243, 220, 148, 0.85), 0 0 2px #fff; }
.pro-head .bpmp input { width: 64px; min-height: 38px; padding: 4px 6px; }
@media (max-width: 767px) { .pro-head { grid-template-columns: auto minmax(0, 1fr) auto auto; } .pro-head .ses-name { grid-column: 1 / -1; order: -1; } }

@media (min-width: 768px) { .pro-head .bpmp { display: none !important; } }
@media (max-width: 1599px) { .tf.sig, .ts.fps { display: none; } }
.cstrip .ms { align-self: end; }
/* strips: compact 2×2 insert slots + one-row sends so the fader/meter gets the height */
.cs-slots { grid-template-columns: 1fr 1fr; }
.islot { padding-left: 10px; font-size: 8px; letter-spacing: 0.06em; }
.islot::before { left: 3px; }
.cs-sends { grid-template-columns: 1fr 1fr; gap: 4px; }
.cs-sends span { grid-template-columns: auto 1fr; }
.cs-read { grid-template-columns: 1fr 1fr; gap: 2px; }
.cs-read output { font-size: 9.5px; }
.cs-read .pkv { min-width: 0; padding: 1px 2px; }
@media (min-width: 1100px) { .ses.pro { grid-template-rows: auto auto minmax(0, 1fr) minmax(290px, 34vh); } }
@media (max-width: 767px) { .cs-read { grid-template-columns: 1fr; } .islot { font-size: 9px; } }
