/* Workspace modes */
.cn-workspace-modes {
  display: flex;
  min-width: 0;
  height: 34px;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid #394445;
  border-radius: 4px;
  background: #080c0d;
}
.cn-topbar { grid-template-columns: minmax(170px, .58fr) minmax(260px, 1fr) auto minmax(340px, .82fr); }
.cn-workspace-modes button {
  position: relative;
  display: inline-flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 9px;
  border: 0;
  border-right: 1px solid #394445;
  color: #84918e;
  background: transparent;
  font-size: 9px;
  font-weight: 850;
  white-space: nowrap;
}
.cn-workspace-modes button:last-child { border-right: 0; }
.cn-workspace-modes button:hover { color: #eef3f2; background: #151b1c; }
.cn-workspace-modes button.is-active { color: #eafffb; background: #1a2927; box-shadow: inset 0 -2px var(--cn-a); }
.cn-workspace-modes svg { width: 13px; height: 13px; }
.cn-mobile-companion { display: none; }

.cn-mode-preparation .cn-workspace { grid-template-columns: minmax(0, 1fr) 12px var(--cn-rundown-width, 430px); }
.cn-mode-preparation.is-rundown-collapsed .cn-workspace { grid-template-columns: minmax(0, 1fr) 0 52px; }
.cn-mode-preparation .cn-performance { grid-template-rows: minmax(270px, 43%) 12px minmax(210px, 57%); }
.cn-mode-preparation .cn-decks { grid-template-columns: minmax(270px, 1fr) 340px minmax(270px, 1fr); }
.cn-mode-preparation .cn-deck { grid-template-rows: 54px 38px minmax(70px, 1fr) 88px; }
.cn-mode-preparation .cn-deck-head { grid-template-columns: 39px minmax(0, 1fr) auto; padding: 4px 7px; }
.cn-mode-preparation .cn-artwork { width: 39px; height: 39px; }
.cn-mode-preparation .cn-deck-metrics { grid-template-columns: minmax(92px, 1fr) 52px 44px 56px; }
.cn-mode-preparation .cn-time { font-size: 18px; }
.cn-mode-preparation .cn-waveform { min-height: 70px; }
.cn-mode-preparation .cn-waveform > canvas { bottom: 28px; height: calc(100% - 28px); }
.cn-mode-preparation .cn-wave-overview { height: 20px; }
.cn-mode-preparation .cn-deck-controls { grid-template-columns: minmax(0, 1fr) 34px; gap: 5px; padding: 5px 7px; }
.cn-mode-preparation .cn-platter, .cn-mode-preparation .cn-hotcues, .cn-mode-preparation .cn-loop-row { display: none; }
.cn-mode-preparation .cn-center-controls { gap: 0; }
.cn-mode-preparation .cn-transport { height: 100%; }
.cn-mode-preparation .cn-control-button, .cn-mode-preparation .cn-control-button.is-play { min-height: 42px; }
.cn-mode-preparation .cn-fader-vertical { height: 65px; min-height: 60px; }
.cn-mode-preparation .cn-mixer { grid-template-rows: 34px 34px minmax(0, 1fr) 60px; }
.cn-mode-preparation .cn-fx-rack { display: none; }
.cn-mode-preparation .cn-library.cn-library-professional { margin: 0 6px 6px; }

.cn-mode-library .cn-workspace { grid-template-columns: minmax(0, 1fr) 12px var(--cn-rundown-width, 360px); }
.cn-mode-library.is-rundown-collapsed .cn-workspace { grid-template-columns: minmax(0, 1fr) 0 52px; }
.cn-mode-library .cn-performance { grid-template-rows: 138px 12px minmax(0, 1fr); }
.cn-mode-library .cn-decks { grid-template-columns: minmax(300px, 1fr) 220px minmax(300px, 1fr); gap: 6px; padding: 6px; }
.cn-mode-library .cn-deck { grid-template-rows: 54px 36px minmax(0, 1fr); }
.cn-mode-library .cn-deck-head { grid-template-columns: 39px minmax(0, 1fr) auto; gap: 7px; padding: 4px 7px; }
.cn-mode-library .cn-artwork { width: 39px; height: 39px; }
.cn-mode-library .cn-deck-metrics { grid-template-columns: minmax(88px, 1fr) 50px 43px 54px; gap: 4px; padding: 0 6px; }
.cn-mode-library .cn-time { font-size: 17px; }
.cn-mode-library .cn-time-block small { font-size: 9px; }
.cn-mode-library .cn-waveform { min-height: 0; }
.cn-mode-library .cn-waveform > canvas { inset: 0; width: 100%; height: 100%; }
.cn-mode-library .cn-wave-tools, .cn-mode-library .cn-wave-overview, .cn-mode-library .cn-deck-controls { display: none; }
.cn-mode-library .cn-mixer { grid-template-rows: 34px minmax(0, 1fr); }
.cn-mode-library .cn-mixer-body, .cn-mode-library .cn-fx-rack { display: none; }
.cn-mode-library .cn-crossfader { display: grid; align-content: center; padding: 5px 8px; }
.cn-mode-library .cn-library.cn-library-professional { margin: 0 6px 6px; }

.cn-platter-stack { position: relative; display: grid; align-self: center; justify-items: center; gap: 5px; }
.cn-jog-modes { display: grid; width: 100%; grid-template-columns: 1fr 1fr 24px; gap: 3px; }
.cn-jog-modes button, .cn-jog-panel button { display: inline-grid; min-width: 0; height: 22px; padding: 0 4px; place-items: center; border: 1px solid #3a4545; border-radius: 3px; color: #899694; background: #0d1213; font-size: 8px; font-weight: 820; }
.cn-jog-modes button.is-active, .cn-jog-panel button.is-active, .cn-saved-loops button.is-set { border-color: var(--deck); color: var(--deck); background: var(--deck-soft); }
.cn-jog-modes svg, .cn-jog-panel svg { width: 11px; height: 11px; }
.cn-platter.is-scratching { border-color: var(--deck); box-shadow: inset 0 0 0 7px #0a0e0f, inset 0 0 0 9px var(--deck), 0 0 16px var(--deck-soft); }
.cn-jog-panel { position: absolute; z-index: 18; bottom: calc(100% + 8px); left: 0; display: grid; width: min(310px, calc(100vw - 32px)); gap: 8px; padding: 10px; border: 1px solid #465253; border-radius: 5px; color: #dce3e1; background: #0d1213; box-shadow: 0 14px 34px rgba(0, 0, 0, .58); }
.cn-jog-panel[hidden] { display: none; }
.cn-jog-panel header { display: flex; align-items: center; justify-content: space-between; font-size: 11px; }
.cn-jog-panel header button { width: 24px; padding: 0; border: 0; background: transparent; }
.cn-jog-panel label { display: grid; grid-template-columns: 80px minmax(0, 1fr); align-items: center; gap: 8px; color: #9aa6a4; font-size: 9px; font-weight: 720; }
.cn-jog-panel input[type="range"] { width: 100%; height: 18px; margin: 0; accent-color: var(--deck); }
.cn-jog-panel-row { display: grid; grid-template-columns: 64px repeat(4, minmax(30px, 1fr)); align-items: center; gap: 4px; }
.cn-jog-panel-row > span { color: #818e8c; font-size: 9px; font-weight: 760; }
.cn-saved-loop-mode { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.cn-saved-loops { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.cn-control-button.is-cue.is-held { border-color: var(--deck); color: #06110f; background: var(--deck); }
.cn-mode-preparation .cn-platter-stack { display: none; }

@media (max-width: 1399px) and (min-width: 768px) {
  .cn-topbar { grid-template-columns: 142px minmax(220px, 1fr) auto minmax(270px, auto); gap: 8px; }
  .cn-brand-copy span, .cn-event-heading small { display: none; }
  .cn-top-button { width: 34px; padding: 0; font-size: 0; }
  .cn-top-button span { display: none; }
  .cn-top-button svg { width: 15px; height: 15px; }
  .cn-event-title { justify-content: flex-start; }
  .cn-workspace-modes button { padding: 0 7px; }
  .cn-workspace-modes button span { font-size: 9px; }
  .cn-mode-preparation .cn-workspace { grid-template-columns: minmax(0, 1fr) 12px var(--cn-rundown-width, 390px); }
  .cn-mode-preparation .cn-decks { grid-template-columns: minmax(250px, 1fr) 320px minmax(250px, 1fr); }
}

/* Mobile event companion */
@media (max-width: 767px) {
  html[data-odin-ui="console"], html[data-odin-ui="console"] body { min-width: 0; width: 100%; overflow: hidden; }
  .cn-shell {
    width: 100%;
    min-width: 0;
    grid-template-rows: 54px minmax(0, 1fr) 30px;
    font-size: 13px;
  }
  .cn-topbar {
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 8px;
    padding: 0 9px;
  }
  .cn-brand { gap: 0; }
  .cn-brand-mark { width: 36px; height: 36px; font-size: 11px; }
  .cn-brand-copy, .cn-event-thumb, .cn-event-heading span, .cn-event-heading small, .cn-workspace-modes { display: none; }
  .cn-event-title { min-width: 0; justify-content: flex-start; }
  .cn-event-heading { display: block; min-width: 0; }
  .cn-event-heading strong { max-width: 100%; overflow: hidden; margin: 0; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
  .cn-top-actions { min-width: 0; }
  .cn-top-actions > :not(.cn-system-strip) { display: none; }
  .cn-system-strip { min-height: 32px; padding: 0 2px 0 8px; border-left: 0; }
  .cn-system-strip span:last-child { display: none; }
  .cn-system-strip .cn-dot { width: 9px; height: 9px; }
  .cn-workspace { display: none; }
  .cn-mobile-companion {
    display: grid;
    min-width: 0;
    min-height: 0;
    grid-template-rows: 43px minmax(0, 1fr) 58px;
    background: #090d0e;
  }
  .cn-mobile-context {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 12px;
    border-bottom: 1px solid #2b3434;
    background: #111617;
  }
  .cn-mobile-context > span { min-width: 0; }
  .cn-mobile-context small, .cn-mobile-context strong { display: block; }
  .cn-mobile-context small { color: var(--cn-event); font-size: 9px; font-weight: 850; text-transform: uppercase; }
  .cn-mobile-context strong { overflow: hidden; margin-top: 2px; color: #edf2f1; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
  .cn-mobile-context em { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 4px; color: #86c99c; font-size: 9px; font-style: normal; font-weight: 800; }
  .cn-mobile-context em svg { width: 12px; height: 12px; }
  .cn-mobile-surface { min-width: 0; min-height: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #465351 #090d0e; }
  .cn-mobile-section-head {
    position: sticky;
    z-index: 5;
    top: 0;
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 7px 12px;
    border-bottom: 1px solid #303839;
    background: rgba(15, 20, 21, .97);
  }
  .cn-mobile-section-head span { min-width: 0; }
  .cn-mobile-section-head small, .cn-mobile-section-head strong { display: block; }
  .cn-mobile-section-head small { color: #75908b; font-size: 9px; font-weight: 850; text-transform: uppercase; }
  .cn-mobile-section-head strong { margin-top: 2px; font-size: 15px; }
  .cn-mobile-section-head > b { flex: 0 0 auto; color: #94a09d; font-size: 10px; }
  .cn-mobile-focus-stage { position: relative; min-width: 0; padding: 12px; border-bottom: 1px solid #394141; background: #111617; }
  .cn-mobile-focus-stage.is-now { background-color: #171310; background-image: linear-gradient(rgba(14, 12, 10, .92), rgba(14, 12, 10, .94)), url('/assets/console/event-wedding-room.webp'); background-position: center; background-size: cover; }
  .cn-mobile-focus-stage.is-selected { box-shadow: inset 3px 0 var(--cn-a); }
  .cn-mobile-focus-stage > header { display: flex; min-width: 0; align-items: center; gap: 7px; }
  .cn-mobile-focus-stage > header > span { color: var(--cn-event); font-size: 10px; font-weight: 900; text-transform: uppercase; }
  .cn-mobile-focus-stage > header time { margin-right: auto; color: #f2d2cd; font-size: 12px; font-weight: 850; font-variant-numeric: tabular-nums; }
  .cn-mobile-focus-stage em, .cn-mobile-upcoming-row em, .cn-mobile-prepare-row em { display: inline-flex; flex: 0 0 auto; min-height: 22px; align-items: center; padding: 0 6px; border: 1px solid #46504f; border-radius: 2px; color: #aeb8b6; background: #111617; font-size: 8px; font-style: normal; font-weight: 850; white-space: nowrap; }
  .cn-mobile-focus-stage em.is-live, .cn-mobile-upcoming-row em.is-live, .cn-mobile-prepare-row em.is-live { border-color: #754039; color: #f0a299; background: #2b1513; }
  .cn-mobile-focus-stage em.is-prepared, .cn-mobile-upcoming-row em.is-prepared, .cn-mobile-prepare-row em.is-prepared { border-color: #3a6552; color: #98d9ad; background: #12231a; }
  .cn-mobile-focus-stage em.is-executed, .cn-mobile-upcoming-row em.is-executed, .cn-mobile-prepare-row em.is-executed { border-color: #40564f; color: #b5c8c1; background: #17201d; }
  .cn-mobile-focus-stage em.is-requested, .cn-mobile-upcoming-row em.is-requested, .cn-mobile-prepare-row em.is-requested { border-color: #66512e; color: #dfba64; background: #261f0f; }
  .cn-mobile-focus-stage em.is-approved, .cn-mobile-upcoming-row em.is-approved, .cn-mobile-prepare-row em.is-approved { border-color: #3d5b69; color: #9fc8db; background: #132028; }
  .cn-mobile-stage-song { display: grid; min-width: 0; grid-template-columns: 52px minmax(0, 1fr); align-items: center; gap: 10px; margin-top: 10px; }
  .cn-mobile-stage-song img { width: 52px; height: 52px; border: 1px solid #4a5553; border-radius: 4px; object-fit: cover; }
  .cn-mobile-stage-song > span { min-width: 0; }
  .cn-mobile-stage-song strong, .cn-mobile-stage-song b, .cn-mobile-stage-song small { display: block; overflow-wrap: anywhere; }
  .cn-mobile-stage-song strong { color: #f4f7f6; font-size: 16px; line-height: 1.16; }
  .cn-mobile-stage-song b { margin-top: 4px; color: #d9e0de; font-size: 12px; }
  .cn-mobile-stage-song small { margin-top: 3px; color: #8f9b98; font-size: 10px; }
  .cn-mobile-focus-stage dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 11px 0 0; }
  .cn-mobile-focus-stage dl > div { min-width: 0; padding-left: 8px; border-left: 2px solid #36403f; }
  .cn-mobile-focus-stage dt { color: #71807d; font-size: 9px; font-weight: 850; text-transform: uppercase; }
  .cn-mobile-focus-stage dd { margin: 3px 0 0; color: #c8d0ce; font-size: 10px; line-height: 1.35; overflow-wrap: anywhere; }
  .cn-mobile-focus-stage > p { margin: 11px 0 0; padding-top: 9px; border-top: 1px solid rgba(255, 255, 255, .09); color: #cbd2d0; font-size: 11px; line-height: 1.45; overflow-wrap: anywhere; }
  .cn-mobile-focus-stage > footer { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; margin-top: 10px; }
  .cn-mobile-focus-stage footer button, .cn-mobile-upcoming-actions > button, .cn-mobile-prepare-row > button, .cn-mobile-track-row > div button, .cn-mobile-queue-row > div button {
    display: inline-flex;
    min-width: 42px;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0 9px;
    border: 1px solid #465250;
    border-radius: 4px;
    color: #c0cac8;
    background: #151b1c;
    font-size: 10px;
    font-weight: 800;
  }
  .cn-mobile-focus-stage footer button.is-primary { border-color: #47745e; color: #d8f4e1; background: #173025; }
  .cn-mobile-focus-stage footer button:disabled, .cn-mobile-upcoming-actions > button:disabled, .cn-mobile-prepare-row > button:disabled { cursor: not-allowed; opacity: .4; }
  .cn-mobile-focus-stage footer button svg, .cn-mobile-upcoming-actions > button svg, .cn-mobile-prepare-row > button svg, .cn-mobile-track-row > div button svg, .cn-mobile-queue-row > div button svg { width: 15px; height: 15px; }
  .cn-mobile-focus-stage footer button.cn-reference-button, .cn-mobile-upcoming-actions button.cn-reference-button { border-color: #754039; color: #f1aaa2; background: #281615; }
  .cn-mobile-upcoming-actions { display: flex; gap: 5px; }
  .cn-mobile-upcoming > header, .cn-mobile-track-results > header { position: sticky; z-index: 3; top: 0; display: flex; min-height: 34px; align-items: center; justify-content: space-between; padding: 0 12px; border-bottom: 1px solid #293132; color: #dce2e0; background: #0e1314; font-size: 10px; }
  .cn-mobile-upcoming > header span, .cn-mobile-track-results > header span { color: #778582; font-size: 9px; }
  .cn-mobile-upcoming-row { display: grid; min-width: 0; min-height: 70px; grid-template-columns: 42px 38px minmax(0, 1fr) auto auto; align-items: center; gap: 7px; padding: 7px 9px; border-bottom: 1px solid #252d2e; background: #0b1011; }
  .cn-mobile-upcoming-row.is-selected, .cn-mobile-prepare-row.is-selected { box-shadow: inset 3px 0 var(--cn-a); background: #111b1a; }
  .cn-mobile-upcoming-row time, .cn-mobile-prepare-row time { color: #c8d0ce; font-size: 10px; font-weight: 850; font-variant-numeric: tabular-nums; }
  .cn-mobile-upcoming-row img { width: 38px; height: 38px; border: 1px solid #414b49; border-radius: 3px; object-fit: cover; }
  .cn-mobile-upcoming-row > span, .cn-mobile-track-row > span, .cn-mobile-queue-row > span:not(.cn-mobile-order), .cn-mobile-prepare-row > span { min-width: 0; }
  .cn-mobile-upcoming-row strong, .cn-mobile-upcoming-row b, .cn-mobile-upcoming-row small,
  .cn-mobile-track-row strong, .cn-mobile-track-row b, .cn-mobile-track-row small, .cn-mobile-track-row em,
  .cn-mobile-queue-row strong, .cn-mobile-queue-row b, .cn-mobile-queue-row small,
  .cn-mobile-prepare-row strong, .cn-mobile-prepare-row b, .cn-mobile-prepare-row small { display: block; min-width: 0; overflow-wrap: anywhere; word-break: break-word; }
  .cn-mobile-upcoming-row strong, .cn-mobile-track-row strong, .cn-mobile-queue-row strong, .cn-mobile-prepare-row strong { color: #e9edec; font-size: 11px; line-height: 1.25; }
  .cn-mobile-upcoming-row b, .cn-mobile-track-row b, .cn-mobile-queue-row b, .cn-mobile-prepare-row b { margin-top: 2px; color: #aeb9b6; font-size: 10px; line-height: 1.25; }
  .cn-mobile-upcoming-row small, .cn-mobile-track-row small, .cn-mobile-queue-row small, .cn-mobile-prepare-row small { margin-top: 3px; color: #788582; font-size: 9px; line-height: 1.3; }
  .cn-mobile-finished { margin: 0; padding: 18px 12px; color: #788582; text-align: center; }
  .cn-mobile-search-head { position: sticky; z-index: 5; top: 0; padding: 10px 10px 8px; border-bottom: 1px solid #303839; background: #111617; }
  .cn-mobile-search-head label { display: grid; min-width: 0; height: 44px; grid-template-columns: 19px minmax(0, 1fr) 36px; align-items: center; gap: 6px; padding: 0 4px 0 10px; border: 1px solid #4a5755; border-radius: 5px; background: #070b0c; }
  .cn-mobile-search-head label:focus-within { border-color: #6f8d87; box-shadow: 0 0 0 1px rgba(89, 201, 190, .2); }
  .cn-mobile-search-head label > svg { width: 17px; height: 17px; color: #7f8c89; }
  .cn-mobile-search-head input { width: 100%; min-width: 0; height: 40px; padding: 0; border: 0; outline: 0; color: #f2f5f4; background: transparent; font: inherit; font-size: 13px; }
  .cn-mobile-search-head input::-webkit-search-cancel-button { display: none; appearance: none; }
  .cn-mobile-search-head label button { display: grid; width: 36px; height: 36px; padding: 0; place-items: center; border: 0; color: #87938f; background: transparent; }
  .cn-mobile-search-head label button svg { width: 16px; height: 16px; }
  .cn-mobile-search-head > span { display: block; margin-top: 6px; color: #788582; font-size: 9px; line-height: 1.35; }
  .cn-mobile-track-results, .cn-mobile-queue-list, .cn-mobile-prepare-list { min-width: 0; }
  .cn-mobile-track-results > header { top: 77px; }
  .cn-mobile-track-row { display: grid; min-width: 0; min-height: 78px; grid-template-columns: 50px minmax(0, 1fr) 88px; align-items: center; gap: 9px; padding: 8px 10px; border-bottom: 1px solid #252d2e; background: #0b1011; }
  .cn-mobile-track-row:nth-child(odd) { background: #0e1314; }
  .cn-mobile-track-row > img { width: 50px; height: 50px; border: 1px solid #414b49; border-radius: 4px; object-fit: cover; }
  .cn-mobile-track-row em { max-height: 31px; margin-top: 3px; overflow: hidden; color: #64716e; font-size: 9px; font-style: normal; line-height: 1.25; }
  .cn-mobile-track-row > div, .cn-mobile-queue-row > div { display: flex; justify-content: flex-end; gap: 4px; }
  .cn-mobile-track-row > div button, .cn-mobile-queue-row > div button { width: 42px; padding: 0; }
  .cn-mobile-track-row > div button:disabled, .cn-mobile-queue-row > div button:disabled { opacity: .35; }
  .cn-mobile-queue-row { display: grid; min-width: 0; min-height: 78px; grid-template-columns: 27px 44px minmax(0, 1fr) 88px; align-items: center; gap: 8px; padding: 8px 10px; border-bottom: 1px solid #252d2e; background: #0b1011; }
  .cn-mobile-order { color: var(--cn-a); font-size: 10px; font-weight: 900; font-variant-numeric: tabular-nums; }
  .cn-mobile-queue-row > img { width: 44px; height: 44px; border: 1px solid #414b49; border-radius: 3px; object-fit: cover; }
  .cn-mobile-preflight { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 1px solid #343c3c; background: #101516; }
  .cn-mobile-preflight > span { display: grid; min-width: 0; grid-template-columns: 22px minmax(0, 1fr); gap: 2px 6px; padding: 10px; border-right: 1px solid #343c3c; }
  .cn-mobile-preflight > span:last-child { border-right: 0; }
  .cn-mobile-preflight svg { grid-row: 1 / 3; width: 20px; height: 20px; color: var(--cn-green); }
  .cn-mobile-preflight .is-warning svg { color: var(--cn-warning); }
  .cn-mobile-preflight b { min-width: 0; color: #dbe2e0; font-size: 10px; overflow-wrap: anywhere; }
  .cn-mobile-preflight small { color: #788582; font-size: 9px; line-height: 1.3; overflow-wrap: anywhere; }
  .cn-mobile-prepare-row { display: grid; min-width: 0; min-height: 72px; grid-template-columns: 42px minmax(0, 1fr) auto 42px; align-items: center; gap: 7px; padding: 8px 9px; border-bottom: 1px solid #252d2e; background: #0b1011; }
  .cn-mobile-empty { display: grid; min-height: 180px; align-content: center; justify-items: center; gap: 7px; padding: 24px; color: #71807d; text-align: center; }
  .cn-mobile-empty > svg { width: 26px; height: 26px; }
  .cn-mobile-empty strong { color: #c6cfcd; font-size: 13px; }
  .cn-mobile-empty span { max-width: 280px; font-size: 10px; line-height: 1.45; }
  .cn-mobile-nav { display: grid; min-width: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid #3b4545; background: #101516; box-shadow: 0 -8px 20px rgba(0, 0, 0, .28); }
  .cn-mobile-nav button { position: relative; display: grid; min-width: 0; grid-template-rows: 22px 14px; align-content: center; justify-items: center; gap: 2px; padding: 4px 2px; border: 0; border-right: 1px solid #293132; color: #7f8c89; background: transparent; font-size: 9px; font-weight: 800; }
  .cn-mobile-nav button:last-child { border-right: 0; }
  .cn-mobile-nav button svg { width: 19px; height: 19px; }
  .cn-mobile-nav button.is-active { color: #b9eee5; background: #172321; box-shadow: inset 0 2px var(--cn-a); }
  .cn-mobile-nav button b { position: absolute; top: 4px; left: calc(50% + 7px); min-width: 17px; height: 17px; padding: 0 4px; border: 2px solid #101516; border-radius: 9px; color: #111; background: var(--cn-b); font-size: 8px; line-height: 13px; }
  .cn-footer { gap: 8px; padding: 0 9px; font-size: 9px; }
  .cn-footer .cn-foot-status:not(:first-child), .cn-footer .cn-session > span:first-child { display: none; }
  .cn-footer .cn-session { margin-left: auto; }
}

@media (max-width: 370px) {
  .cn-mobile-upcoming-row { grid-template-columns: 38px 34px minmax(0, 1fr) 40px; }
  .cn-mobile-upcoming-row img { width: 34px; height: 34px; }
  .cn-mobile-upcoming-row em { display: none; }
  .cn-mobile-track-row { grid-template-columns: 43px minmax(0, 1fr) 84px; padding-right: 7px; padding-left: 7px; }
  .cn-mobile-track-row > img { width: 43px; height: 43px; }
  .cn-mobile-queue-row { grid-template-columns: 23px 38px minmax(0, 1fr) 84px; padding-right: 7px; padding-left: 7px; }
  .cn-mobile-queue-row > img { width: 38px; height: 38px; }
  .cn-mobile-prepare-row { grid-template-columns: 38px minmax(0, 1fr) 40px; }
  .cn-mobile-prepare-row em { display: none; }
}

@media (min-width: 769px) and (max-width: 1279px) {
  html[data-odin-ui="console"],
  html[data-odin-ui="console"] body,
  .cn-shell { min-width: 1024px; }
  .cn-topbar { grid-template-columns: 152px minmax(180px, .8fr) auto auto; gap: 8px; padding: 0 8px; }
  .cn-brand-copy span, .cn-event-thumb, .cn-top-button span { display: none; }
  .cn-workspace { grid-template-columns: minmax(0, 1fr) 12px var(--cn-rundown-width, 312px); }
  .cn-decks { grid-template-columns: minmax(220px, 1fr) 184px minmax(220px, 1fr); gap: 5px; padding: 5px; }
  .cn-mixer { min-width: 0; }
  .cn-channel-strip { gap: 3px; }
  .cn-rundown { min-width: 0; }
}
:root {
  --cn-handoff-bg: #080c0d;
}

.cn-desktop-handoff {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 32px;
  color: #edf6f4;
  text-align: center;
  background: var(--cn-handoff-bg);
}

.cn-desktop-handoff-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid #31504d;
  border-radius: 8px;
  color: #82d4c8;
  background: #101819;
}

.cn-desktop-handoff-mark svg { width: 28px; height: 28px; }
.cn-desktop-handoff > span { color: #82d4c8; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.cn-desktop-handoff h2 { margin: 0; font-size: 32px; line-height: 1.1; letter-spacing: 0; }
.cn-desktop-handoff p { max-width: 520px; margin: 0; color: #9ca9a7; font-size: 16px; }
.cn-desktop-handoff > div:last-child { display: flex; gap: 10px; margin-top: 14px; }
.cn-desktop-handoff button { min-height: 42px; padding: 0 16px; border: 1px solid #35413f; border-radius: 6px; color: #dce6e4; background: #111718; font: inherit; font-weight: 750; cursor: pointer; }
.cn-desktop-handoff button.cn-handoff-primary { display: inline-flex; align-items: center; gap: 8px; border-color: #548f87; color: #07100f; background: #83d1c6; }
.cn-desktop-handoff button svg { width: 17px; height: 17px; }

@media (max-width: 560px) {
  .cn-desktop-handoff { padding: 24px; }
  .cn-desktop-handoff > div:last-child { width: min(100%, 320px); flex-direction: column; }
}

@media (max-height: 740px) {
  .cn-performance { grid-template-rows: minmax(340px, 61%) 12px minmax(0, 39%); }
  .cn-deck { grid-template-rows: 50px 34px minmax(78px, 1fr) 166px; }
  .cn-deck-head { grid-template-columns: 36px minmax(0, 1fr) auto; }
  .cn-artwork { width: 36px; height: 36px; }
  .cn-waveform { min-height: 78px; }
  .cn-deck-controls { min-height: 0; }
}

/* Professional workspace sizing and accessibility */
.cn-workspace {
  grid-template-columns: minmax(0, 1fr) 12px var(--cn-rundown-width, 400px);
}
.cn-shell.is-rundown-collapsed .cn-workspace {
  grid-template-columns: minmax(0, 1fr) 0 52px;
}
.cn-rundown-resizer {
  position: relative;
  z-index: 8;
  display: grid;
  min-width: 12px;
  height: 100%;
  place-items: center;
  border-inline: 1px solid #2d3737;
  color: #8c9996;
  background: #111617;
  cursor: col-resize;
  touch-action: none;
}
.cn-rundown-resizer::before {
  position: absolute;
  inset: 0 -4px;
  content: "";
}
.cn-rundown-resizer > span {
  position: relative;
  display: grid;
  width: 10px;
  height: 72px;
  place-items: center;
  border: 1px solid #3b4846;
  border-radius: 2px;
  background: #1a2121;
}
.cn-rundown-resizer svg { width: 10px; height: 26px; }
.cn-rundown-resizer:hover > span,
.cn-rundown-resizer:focus-visible > span,
.cn-rundown-resizer.is-resizing > span {
  border-color: #72c6b8;
  color: #e5fffa;
  background: #19312e;
}
.cn-shell.is-rundown-collapsed .cn-rundown-resizer { visibility: hidden; pointer-events: none; }
.cn-is-resizing-rundown { cursor: col-resize !important; user-select: none !important; }
.cn-library-resizer { min-height: 12px; }
.cn-library-resizer > span { width: 88px; height: 10px; }

.cn-library-browser,
.cn-library-toolbar,
.cn-rundown-head {
  background-image: url('/assets/console/technical-surface.webp');
  background-size: 512px 512px;
  background-blend-mode: soft-light;
}
.cn-library-row-pro[draggable="true"] .cn-row-grip,
[data-cn-stage-track-id][draggable="true"] { cursor: grab; }
.cn-library-row-pro.is-dragging,
[data-cn-stage-track-id].is-dragging { opacity: .56; cursor: grabbing; }
[data-cn-stage-track-id][draggable="true"]::after {
  position: absolute;
  top: 50%;
  left: 2px;
  width: 3px;
  height: 30px;
  transform: translateY(-50%);
  border-radius: 2px;
  background: var(--cn-green);
  content: "";
  opacity: .55;
}

@media (min-width: 768px) {
  .cn-topbar button,
  .cn-decks button,
  .cn-library button,
  .cn-rundown button,
  .cn-footer button {
    min-height: 32px;
    font-size: 11px;
  }
  .cn-icon-button,
  .cn-top-button,
  .cn-wave-tools button,
  .cn-library-browser > header button,
  .cn-library-refresh,
  .cn-rundown-collapse,
  .cn-row-actions > button,
  .cn-explicit-load button {
    min-width: 32px;
    width: 32px;
    height: 32px;
  }
  .cn-workspace-modes { min-height: 36px; height: 36px; }
  .cn-workspace-modes button,
  .cn-workspace-modes button span,
  .cn-topbar :is(small, em, label),
  .cn-footer :is(span, strong, small) { font-size: 11px; }

  .cn-decks :is(button, small, em, label, output),
  .cn-mixer :is(span, b, small, em, label, output) { font-size: 11px; }
  .cn-deck-status button,
  .cn-wave-tools button,
  .cn-grid-editor button,
  .cn-sync-strip button,
  .cn-hotcue,
  .cn-loop-button,
  .cn-cue-button,
  .cn-limiter-button,
  .cn-fx-selectors button,
  .cn-fx-parameters > button,
  .cn-curve-control button { min-width: 32px; min-height: 32px; height: auto; }
  .cn-precision-control { display: grid; min-width: 32px; min-height: 32px; place-items: center; }
  .cn-precision-wrap.is-compact,
  .cn-precision-wrap.is-micro,
  .cn-master-label,
  .cn-fx-channel > strong { font-size: 11px; }
  .cn-precision-control output { font-size: 11px; }
  .cn-fx-rack > header { display: none; }
  .cn-deck-controls { min-height: 176px; }
  .cn-hotcue { min-height: 32px; }
  .cn-loop-button { width: 32px; height: 32px; }
  .cn-loop-row { grid-template-columns: auto repeat(5, 32px); }
  .cn-sync-strip { grid-template-columns: repeat(3, minmax(34px, 1fr)) 34px 46px; }

  .cn-library :is(button, input, kbd, small, em, b),
  .cn-library-context,
  .cn-library-columns-pro,
  .cn-library-row-pro,
  .cn-library-row-pro .cn-library-copy span,
  .cn-source-badge,
  .cn-availability,
  .cn-provider-row small,
  .cn-provider-footer { font-size: 11px; }
  .cn-library-context small,
  .cn-library-context > span:last-child,
  .cn-library-empty span { font-size: 11px; }
  .cn-library-nav-item { min-height: 32px; }
  .cn-library-nav-item span,
  .cn-library-nav-item b,
  .cn-nav-heading,
  .cn-library-nav-empty { font-size: 11px; }
  .cn-library-search,
  .cn-library-filters { min-height: 34px; height: 34px; }
  .cn-library-search input { height: 32px; font-size: 12px; }
  .cn-library-filters button { min-width: 62px; }
  .cn-library-columns-pro { min-height: 32px; }
  .cn-library-columns-pro > button { min-height: 32px; font-size: 11px; }
  .cn-library-columns-pro > span { font-size: 11px; }
  .cn-library-row-pro { min-height: 46px; font-size: 11px; }
  .cn-library-row-pro .cn-library-copy strong { font-size: 12px; }
  .cn-library-row-pro .cn-library-art { width: 34px; height: 34px; }
  .cn-library-row-pro .cn-library-track { grid-template-columns: 14px 34px minmax(0, 1fr); }
  .cn-provider-row { min-height: 58px; }
  .cn-provider-row > button,
  .cn-provider-actions > button,
  .cn-provider-footer button { min-height: 32px; font-size: 11px; }

  .cn-rundown :is(button, small, em, b, time, p),
  .cn-rundown-head,
  .cn-oper-title span,
  .cn-oper-song small,
  .cn-oper-song em,
  .cn-oper-meta > span,
  .cn-oper-meta b,
  .cn-rundown-summary small,
  .cn-rundown-detail > span,
  .cn-rundown-detail > span b,
  .cn-rundown-detail > p { font-size: 11px; }
  .cn-panel-title div span { font-size: 11px; }
  .cn-panel-title div strong,
  .cn-rundown-summary strong,
  .cn-next-primary strong,
  .cn-oper-song strong { font-size: 12px; }
  .cn-oper-title h2 { font-size: 16px; }
  .cn-oper-now > header em,
  .cn-oper-next > header em,
  .cn-rundown-summary em,
  .cn-rundown-state { min-height: 26px; font-size: 11px; }
  .cn-oper-now footer button,
  .cn-oper-next footer button,
  .cn-rundown-detail footer button,
  .cn-next-primary > button { min-height: 32px; font-size: 11px; }
  .cn-rundown-summary { min-height: 58px; grid-template-columns: 42px 34px minmax(0, 1fr) auto 14px; }
  .cn-rundown-summary img { width: 34px; height: 34px; }
  .cn-upcoming-title { min-height: 34px; height: 34px; font-size: 11px; }
}

@media (min-width: 768px) and (max-width: 1399px) {
  .cn-topbar { grid-template-columns: 138px minmax(210px, 1fr) minmax(300px, auto) minmax(270px, auto); }
  .cn-brand-copy strong,
  .cn-event-heading strong { font-size: 13px; }
  .cn-workspace-modes button { padding-inline: 8px; }
  .cn-decks { grid-template-columns: minmax(280px, 1fr) 360px minmax(280px, 1fr); }
  .cn-library.cn-library-professional { grid-template-columns: 172px minmax(0, 1fr); }
  .cn-library-table { min-width: 900px; }
  .cn-library-columns-pro,
  .cn-library-row-pro {
    grid-template-columns: minmax(168px, 1.4fr) minmax(105px, .9fr) 72px 48px 48px 62px 76px 92px 170px;
    gap: 6px;
  }
  .cn-row-actions { gap: 4px; }
  .cn-explicit-load { display: none; }
  .cn-decks { grid-template-columns: minmax(280px, 1fr) 360px minmax(280px, 1fr); }
  .cn-deck-controls { grid-template-columns: 82px minmax(174px, 1fr) 34px; gap: 5px; }
  .cn-jog-modes { grid-template-columns: 40px 40px; justify-content: center; }
  .cn-jog-modes button { min-width: 32px; min-height: 32px; height: 32px; padding: 0 3px; font-size: 11px; }
  .cn-jog-modes button:nth-child(-n+2) { width: 40px; }
  .cn-jog-modes button:last-child { width: 32px; grid-column: 1 / -1; justify-self: center; }
  .cn-sync-strip { grid-template-columns: repeat(4, 36px) 40px; gap: 3px; }
  .cn-loop-row { grid-template-columns: repeat(5, 32px); gap: 3px; justify-content: start; }
  .cn-loop-row > span { display: none; }
  .cn-fader-vertical { min-width: 32px; width: 32px; }
  .cn-mixer-tool { min-width: 32px; width: 32px; min-height: 32px; height: 32px; }
  .cn-precision-fader.is-horizontal { min-height: 32px; height: 32px; }
  .cn-mixer { overflow: hidden; }
  .cn-mixer { grid-template-rows: 36px minmax(0, 1fr) 72px; }
  .cn-mixer-head { grid-template-columns: auto minmax(0, 1fr) 32px 32px; }
  .cn-fx-panel-toggle { display: grid; }
  .cn-fx-rack {
    position: absolute;
    z-index: 24;
    inset: 36px 0 0;
    display: none;
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: 40px repeat(2, minmax(104px, 1fr));
    gap: 8px;
    padding: 8px;
    overflow-y: auto;
    border-top: 1px solid #43504e;
    background: #0b1011;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, .45);
  }
  .cn-fx-rack.is-open { display: grid; }
  .cn-fx-rack > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 0 4px 6px;
    border-bottom: 1px solid #33403e;
  }
  .cn-fx-rack > header strong { font-size: 12px; }
  .cn-fx-rack > header button { display: grid; width: 32px; height: 32px; padding: 0; place-items: center; }
  .cn-fx-channel { grid-template-columns: 34px minmax(0, 1fr); grid-template-rows: 38px minmax(54px, 1fr); gap: 6px; padding: 6px; }
  .cn-fx-channel > strong { grid-row: 1 / 3; font-size: 11px; }
  .cn-fx-selectors { gap: 3px; overflow: visible; border: 0; }
  .cn-fx-selectors button { min-width: 36px; min-height: 34px; height: 34px; padding: 0 4px; border: 1px solid #35413f; font-size: 11px; }
  .cn-fx-parameters { grid-template-columns: 40px repeat(4, minmax(36px, 1fr)); gap: 4px; }
  .cn-fx-parameters > button { min-width: 36px; min-height: 34px; height: 34px; font-size: 11px; }
  .cn-crossfader { grid-template-rows: 16px 32px; align-content: center; }
}

@media (min-width: 768px) and (max-width: 1599px) {
  .cn-production-tools button span { display: none; }
  .cn-production-tools button { min-width: 32px; }
}

@media (min-width: 1400px) and (max-width: 1599px) {
  .cn-mixer { grid-template-rows: 36px 34px minmax(0,1fr) 72px; }
  .cn-fx-panel-toggle { display: grid; }
  .cn-fx-rack { position: absolute; z-index: 24; inset: 70px 0 0; display: none; min-height: 0; grid-template-columns: 1fr; grid-template-rows: 40px repeat(2,minmax(104px,1fr)); gap: 8px; padding: 8px; overflow-y: auto; border-top: 1px solid #43504e; background: #0b1011; box-shadow: 0 -8px 24px rgba(0,0,0,.45); }
  .cn-fx-rack.is-open { display: grid; }
  .cn-fx-rack > header { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 4px 6px; border-bottom: 1px solid #33403e; }
  .cn-fx-rack > header strong { font-size: 12px; }
  .cn-fx-rack > header button { display: grid; width: 32px; height: 32px; padding: 0; place-items: center; }
  .cn-fx-channel { grid-template-columns: 34px minmax(0,1fr); grid-template-rows: 38px minmax(54px,1fr); gap: 6px; padding: 6px; }
  .cn-fx-channel > strong { grid-row: 1 / 3; font-size: 11px; }
  .cn-fx-selectors { gap: 3px; overflow: visible; border: 0; }
  .cn-fx-selectors button { min-width: 36px; min-height: 34px; height: 34px; padding: 0 4px; border: 1px solid #35413f; font-size: 11px; }
  .cn-fx-parameters > button { min-width: 36px; min-height: 34px; height: 34px; font-size: 11px; }
}

@media (min-width: 1400px) and (max-width: 1599px) {
  .cn-top-button { width: 32px; min-width: 32px; padding: 0; font-size: 0; }
  .cn-top-button span { display: none; }
}

@media (min-width: 1600px) {
  .cn-fx-panel-toggle { display: grid; }
  .cn-mixer { grid-template-rows: 36px 34px minmax(0,1fr) 72px; }
  .cn-fx-rack { position: absolute; z-index: 24; inset: 70px 0 0; display: none; min-height: 0; grid-template-columns: 1fr; grid-template-rows: 40px repeat(2,minmax(112px,1fr)); gap: 8px; padding: 10px; overflow-y: auto; border-top: 1px solid #43504e; background: #0b1011; box-shadow: 0 -8px 24px rgba(0,0,0,.45); }
  .cn-fx-rack.is-open { display: grid; }
  .cn-fx-rack > header { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 4px 6px; border-bottom: 1px solid #33403e; }
  .cn-fx-rack > header strong { font-size: 12px; }
  .cn-fx-rack > header button { display: grid; width: 32px; height: 32px; padding: 0; place-items: center; }
  .cn-fx-channel { grid-template-columns: 40px minmax(0,1fr); grid-template-rows: 40px minmax(60px,1fr); gap: 7px; padding: 7px; }
  .cn-fx-channel > strong { grid-row: 1 / 3; font-size: 11px; }
  .cn-fx-selectors { gap: 4px; overflow: visible; border: 0; }
  .cn-fx-selectors button { min-width: 44px; min-height: 36px; height: 36px; padding: 0 6px; border: 1px solid #35413f; font-size: 11px; }
  .cn-fx-parameters { grid-template-columns: 44px repeat(4,minmax(44px,1fr)); gap: 5px; }
  .cn-fx-parameters > button { min-width: 44px; min-height: 36px; height: 36px; font-size: 11px; }
  .cn-top-button { width: auto; min-width: 32px; padding-inline: 10px; white-space: nowrap; }
}

@media (min-width: 768px) {
  .cn-jog-modes button:nth-child(-n+2) { min-width: 40px; width: 40px; }
}

@media (max-width: 767px) {
  .cn-rundown-resizer { display: none; }
  .cn-mobile-companion { grid-template-rows: 48px minmax(0, 1fr) 64px; }
  .cn-mobile-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cn-mobile-nav button {
    min-width: 44px;
    min-height: 64px;
    grid-template-rows: 24px 18px;
    font-size: 12px;
  }
  .cn-mobile-nav button b { min-width: 20px; height: 20px; font-size: 11px; line-height: 16px; }
  .cn-mobile-context small,
  .cn-mobile-context em,
  .cn-mobile-section-head small,
  .cn-mobile-section-head > b,
  .cn-mobile-focus-stage > header > span,
  .cn-mobile-focus-stage em,
  .cn-mobile-upcoming-row em,
  .cn-mobile-focus-stage dt,
  .cn-mobile-focus-stage dd,
  .cn-mobile-focus-stage > p,
  .cn-mobile-upcoming > header,
  .cn-mobile-upcoming > header span,
  .cn-mobile-track-results > header,
  .cn-mobile-track-results > header span,
  .cn-mobile-upcoming-row :is(time, strong, b, small),
  .cn-mobile-track-row :is(strong, b, small, em),
  .cn-mobile-queue-row :is(strong, b, small),
  .cn-mobile-empty span { font-size: 12px; }
  .cn-mobile-context strong { font-size: 14px; }
  .cn-mobile-focus-stage > header time,
  .cn-mobile-stage-song b,
  .cn-mobile-stage-song small { font-size: 12px; }
  .cn-mobile-stage-song strong { font-size: 17px; }
  .cn-mobile-focus-stage footer button,
  .cn-mobile-upcoming-actions > button,
  .cn-mobile-track-row > div button,
  .cn-mobile-queue-row > div button,
  .cn-mobile-search-head label button {
    min-width: 44px;
    width: 44px;
    min-height: 44px;
    height: 44px;
    font-size: 12px;
  }
  .cn-mobile-focus-stage footer button { font-size: 0; }
  .cn-mobile-focus-stage footer button svg { width: 18px; height: 18px; }
  .cn-mobile-search-head label { height: 48px; grid-template-columns: 20px minmax(0, 1fr) 44px; }
  .cn-mobile-search-head input { height: 44px; font-size: 14px; }
  .cn-mobile-track-row { min-height: 84px; grid-template-columns: 50px minmax(0, 1fr) 96px; }
  .cn-mobile-queue-row { min-height: 84px; grid-template-columns: 28px 46px minmax(0, 1fr) 96px; }
  .cn-footer { min-height: 30px; font-size: 11px; }
}
.cn-topbar { grid-template-columns: minmax(138px,.55fr) minmax(220px,1fr) auto 76px minmax(270px,.82fr); }
.cn-deck-layer-switch { display: grid; width: 76px; height: 34px; grid-template-columns: 1fr 1fr; overflow: hidden; border: 1px solid #394443; border-radius: 4px; background: #0b1011; }
.cn-deck-layer-switch button { min-width: 0; padding: 0; border: 0; border-right: 1px solid #394443; color: #7f8b89; background: transparent; font-size: 11px; font-weight: 850; }
.cn-deck-layer-switch button:last-child { border-right: 0; }
.cn-deck-layer-switch button.is-active { color: #07100f; background: #a7d8d2; box-shadow: inset 0 -2px #f2fffd; }

@media (max-width: 1399px) and (min-width: 768px) {
  .cn-topbar { grid-template-columns: 126px minmax(190px,1fr) auto 70px minmax(245px,auto); }
  .cn-deck-layer-switch { width: 70px; }
}

@media (min-width: 768px) and (max-width: 1279px) {
  .cn-decks,
  .cn-mode-preparation .cn-decks { grid-template-columns: minmax(220px, 1fr) 220px minmax(220px, 1fr); }
}

@media (min-width: 1280px) and (max-width: 1599px) {
  .cn-decks,
  .cn-mode-preparation .cn-decks { grid-template-columns: minmax(280px, 1fr) 360px minmax(280px, 1fr); }
}

@media (max-width: 767px) {
  .cn-deck-layer-switch { display: none; }
}

@media (min-width: 1400px) {
  .cn-mixer { grid-template-rows: 36px 34px minmax(0,1fr) 72px; }
}

@media (min-width: 768px) and (max-width: 1399px) {
  .cn-mixer, .cn-mode-preparation .cn-mixer { grid-template-rows: 36px 34px minmax(0,1fr) 72px; }
  .cn-mode-library .cn-mixer { grid-template-rows: 34px 32px minmax(0,1fr); }
  .cn-library-columns-pro, .cn-library-row-pro { grid-template-columns: minmax(168px,1.4fr) minmax(105px,.9fr) 72px 48px 48px 62px 88px 98px 218px; }
}

@media (min-width: 1400px) and (max-width: 1599px) {
  .cn-mixer { grid-template-rows: 36px 34px minmax(0,1fr) 72px; }
  .cn-fx-panel-toggle { display: grid; }
  .cn-fx-rack { position: absolute; z-index: 24; inset: 70px 0 0; display: none; min-height: 0; grid-template-columns: 1fr; grid-template-rows: 40px repeat(2,minmax(104px,1fr)); gap: 8px; padding: 8px; overflow-y: auto; border-top: 1px solid #43504e; background: #0b1011; box-shadow: 0 -8px 24px rgba(0,0,0,.45); }
  .cn-fx-rack.is-open { display: grid; }
  .cn-fx-rack > header { display: flex; }
}
