:root { --bg: #000000; --panel: #333; --border: #333; --accent: #00ffcc; --text: #e0e0e0; }
body { background-color: var(--bg); color: var(--text); font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; margin: 0; height: 100vh; display: flex; flex-direction: column; overflow: hidden; user-select: none; }

select, input, textarea { user-select: text !important; pointer-events: auto !important; }

body.is-dragging-window, body.is-dragging-window * { cursor: move !important; }
body.is-panning-stage, body.is-panning-stage * { cursor: grabbing !important; }
body.is-dragging-block .container-box .block, body.is-dragging-block .cue-ui-row .block { pointer-events: none !important; }
body.is-dragging-block .drop-target > span { pointer-events: none !important; }

#floating-vis-content, #floating-pools-content, #floating-groups-header, #floating-showfile-header, #vis-stage-container, #busking-header { cursor: move; }

.toggle-container { display: flex; align-items: center; }
.switch { position: relative; display: inline-block; width: 44px; height: 22px; margin: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #222; transition: .3s; border-radius: 22px; border: 1px solid #555; }
.slider:before { position: absolute; content: ""; height: 14px; width: 14px; left: 3px; bottom: 3px; background-color: #888; transition: .3s; border-radius: 50%; }
input:checked + .slider { background-color: rgba(0, 255, 204, 0.2); border-color: var(--accent); }
input:checked + .slider:before { transform: translateX(22px); background-color: var(--accent); }
.toggle-label { margin-left: 8px; font-weight: bold; color: #aaa; font-size: 0.85rem; text-transform: uppercase; user-select: none;}
input:checked ~ .toggle-label { color: var(--accent); }

.vis-header-controls { display: flex; align-items: center; gap: 15px; }
.vis-slider-group { display: flex; align-items: center; gap: 5px; }
.vis-slider-group label { font-size: 0.75rem; color: #aaa; font-weight: bold; text-transform: uppercase; }
.vis-slider-group input[type=range] { width: 70px; accent-color: var(--accent); cursor: pointer; }

#top-bar { background-color: black; padding: 10px 20px; display: flex; flex-direction: column; gap: 10px; border-bottom: 1px solid var(--border); z-index: 100;}
.top-bar-row { display: flex; justify-content: space-between; align-items: center; width: 100%; }
#keypad-container { display: flex; gap: 6px; align-items: center; flex-wrap: nowrap;}

.key-btn { background: #333; color: white; border: 1px solid #444; padding: 10px 14px; border-radius: 4px; cursor: pointer; font-weight: bold; font-size: 1rem; transition: background 0.1s;}
.key-btn:active { background: #555; border-color: var(--accent); }
.key-btn.action-btn { background: #2c3e50; }
.key-btn.clear-btn { background: #8b0000; }
.key-btn.save-btn { background: #27ae60; border-color: #2ecc71; }

.toggle-group { margin-left: auto; display: flex; gap: 10px; align-items: center;}
.key-btn.showfile-toggle { background: #2c3e50; border-color: #34495e; }
.key-btn.groups-toggle { background: #e67e22; border-color: #d35400; }
.key-btn.pools-toggle { background: #d35400; border-color: #e67e22; }
.key-btn.vis-toggle { background: #8e44ad; border-color: #9b59b6; margin-left: 0; }

#active-selection { background: #000; color: var(--accent); padding: 10px 15px; border-radius: 4px; font-family: monospace; font-size: 1.2rem; min-width: 150px; text-align: center; border: 1px solid var(--border); margin-left: 10px; white-space: nowrap;}

.floating-window { display: none; position: absolute; background: #000; border: 1px solid #555; border-radius: 8px; z-index: 2000; flex-direction: column; box-shadow: 0 10px 40px rgba(0,0,0,0.8); resize: both; overflow: hidden; }
.floating-header { background: #222; padding: 8px 10px; cursor: move; font-weight: bold; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #444; font-size: 0.9rem; text-transform: uppercase;}
.vis-close-btn { background: none; border: none; color: #aaa; cursor: pointer; font-size: 1.2rem; line-height: 1; padding: 0 5px;}
.vis-close-btn:hover { color: #fff; }

#floating-vis { top: 70px; right: 30px; width: 600px; height: 400px; min-width: 300px; min-height: 200px;}
#floating-vis-header { color: #fff; }
#floating-vis-content { flex: 1; position: relative; overflow: hidden; } 
#floating-pools { top: 100px; left: 30px; width: 500px; height: 350px; min-width: 250px; min-height: 150px;}
#floating-pools-header { color: #e67e22; }
#floating-pools-content { flex: 1; position: relative; overflow: auto; padding: 15px; }
#floating-groups { top: 130px; left: 80px; width: 450px; height: 300px; min-width: 200px; min-height: 250px;}
#floating-groups-header { color: #e67e22; }
#floating-groups-content { flex: 1; position: relative; overflow-y: auto; padding: 15px; background: #111;}
#floating-showfile { top: 80px; left: 50px; width: 480px; height: 420px; min-width: 350px; min-height: 250px;}
#floating-showfile-header { color: var(--accent); }
#floating-showfile-content { flex: 1; position: relative; overflow-y: auto; padding: 15px; background: #111; display: flex; flex-direction: column; gap: 15px;}

#tab-nav { display: flex; background-color: #222; border-bottom: 2px solid #444; padding: 0 20px; overflow-x: auto; flex-shrink: 0; z-index: 100;}
.tab-btn { background: none; color: #888; border: none; padding: 15px 15px; font-size: 0.9rem; font-weight: bold; cursor: pointer; border-bottom: 3px solid transparent; text-transform: uppercase; white-space: nowrap; transition: all 0.2s; }
.tab-btn.active { color: #fff; border-bottom: 3px solid var(--accent); background-color: #1a1a1a; }
.tab-btn.drag-hover-tab { background-color: #333; border-bottom: 3px solid #ffaa00; }

.sub-tab-btn { background: none; color: #888; border: none; padding: 10px 15px; font-size: 0.85rem; font-weight: bold; cursor: pointer; text-transform: uppercase; transition: all 0.2s; border-radius: 4px; }
.sub-tab-btn.active { background: #34495e; color: #fff; }

#workspace { flex: 1; position: relative; overflow: hidden; background-color: var(--bg); z-index: 10;}
.tab-content { display: none; position: absolute; top: 0; left: 0; right: 0; bottom: 0; padding: 20px; overflow-y: auto; }
.tab-content.active { display: flex; flex-direction: column; gap: 20px; }

.create-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.create-panel { background: var(--panel); border: 1px solid var(--border); border-radius: 8px; padding: 15px; display: flex; flex-direction: column; gap: 12px; }
.create-panel h3 { margin: 0 0 5px 0; color: #aaa; border-bottom: 1px solid var(--border); padding-bottom: 5px; font-size: 1rem; text-transform: uppercase; letter-spacing: 1px;}

.xy-pad { width: 100%; height: 200px; border-radius: 6px; position: relative; cursor: crosshair; overflow: hidden; border: 2px solid #444; touch-action: none; }
#color-pad { background: linear-gradient(to bottom, transparent, black), linear-gradient(to right, red, yellow, lime, cyan, blue, magenta, red); }
#pos-pad { background: radial-gradient(circle, #333 1px, transparent 1px) 0 0 / 20px 20px; background-color: #0a0a0a; }
.xy-thumb { width: 18px; height: 18px; background: white; border: 2px solid black; border-radius: 50%; position: absolute; transform: translate(-50%, -50%); pointer-events: none; box-shadow: 0 0 8px rgba(0,0,0,0.8); }

.fx-controls { display: flex; flex-direction: column; gap: 10px; }
.fx-input { background: #111; color: #fff; border: 1px solid #444; padding: 10px; border-radius: 4px; width: 100%; box-sizing: border-box; font-size: 1rem;}
.slider-group { display: flex; flex-direction: column; gap: 2px; }
.slider-group label { font-size: 0.85rem; color: #aaa; display: flex; justify-content: space-between; margin-bottom: 5px;}
input[type=range] { width: 100%; accent-color: var(--accent); cursor: pointer;}
#fx-canvas-container { flex-grow: 1; min-height: 120px; background: #000; border: 1px solid #444; border-radius: 6px; position: relative; overflow: hidden;}
canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: block;}

.assign-btn { color: white; border: none; padding: 12px; border-radius: 4px; font-weight: bold; cursor: pointer; text-transform: uppercase; margin-top: auto; transition: opacity 0.2s; font-size: 0.95rem;}
.assign-btn:active { opacity: 0.7; }
.assign-btn.color { background: #9b59b6; }
.assign-btn.pos { background: #2980b9; }
.assign-btn.fx { background: #e74c3c; }
.assign-btn.btnmod { background: #16a085; }
.assign-btn.intensity { background: #f39c12; color: black; }
.assign-btn.bpm { background: #8e44ad; color: white; }

.pools-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; }
.pool { background-color: var(--panel); border: 1px solid var(--border); border-radius: 8px; padding: 12px; display: flex; flex-direction: column; gap: 10px; min-height: 150px; }
.pool h3 { margin: 0; font-size: 0.95rem; color: #aaa; border-bottom: 1px solid var(--border); padding-bottom: 5px; text-transform: uppercase; }

.block { padding: 10px; border-radius: 4px; cursor: grab; font-weight: bold; text-align: center; font-size: 0.9rem; position: relative; z-index: 10; box-shadow: 0 2px 4px rgba(0,0,0,0.4); touch-action: none;}
.block:active { cursor: grabbing; opacity: 0.7; transform: scale(0.98);}

.var-color { background-color: #8e44ad; border: 1px solid #9b59b6; }
.var-intensity { background-color: #f39c12; border: 1px solid #f1c40f; color: black; }
.var-position { background-color: #2980b9; border: 1px solid #3498db; }
.var-mask { background-color: #34495e; border: 1px solid #2c3e50; }
.var-fx { background-color: #d35400; border: 1px solid #e67e22; }
.modifier { background-color: #c0392b; border: 1px solid #e74c3c; }
.var-bpm { background-color: #8e44ad; border: 1px solid #9b59b6; }
.var-group { background-color: #e67e22; border: 1px solid #d35400; color: white; }

.containers-layout { display: flex; gap: 20px; height: 100%; }
.container-col { flex: 1; background: #1a1a1a; border-radius: 8px; display: flex; flex-direction: column; overflow: hidden; border: 1px solid #333; min-width: 300px;}
.container-col-header { padding: 15px; background: #222; border-bottom: 1px solid #444; display: flex; justify-content: space-between; align-items: center;}
.container-col-header h3 { margin: 0; color: var(--accent); text-transform: uppercase; font-size: 1.1rem;}
.container-col-body { padding: 15px; overflow-y: auto; display: flex; flex-direction: column; gap: 15px; flex: 1;}

.container-box { background: #222; border: 2px solid #444; border-radius: 8px; padding: 10px; display: flex; flex-direction: column; gap: 8px; transition: border 0.2s; cursor: grab;}
.container-box:active { cursor: grabbing; }
.container-box:focus-within { border-color: var(--accent); }
.container-box .edit-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #333; padding-bottom: 8px; margin-bottom: 5px; gap: 10px;}
.playback-title-sync { background: #111; border: 1px solid #444; color: var(--accent); font-weight: bold; font-size: 1rem; padding: 5px 10px; border-radius: 4px; flex: 1; outline: none; transition: border 0.2s; cursor: text;}
.playback-title-sync:focus { border-color: var(--accent); }
.container-actions { display: flex; gap: 5px; }
.container-actions select, .container-actions button { background: #333; color: #fff; border: 1px solid #555; border-radius: 4px; cursor: pointer; padding: 5px 8px; font-weight: bold; font-size: 0.75rem; text-transform: uppercase;}
.container-actions select { background: #2980b9; border-color: #3498db; }
.container-actions button.del-btn { background: #c0392b; border-color: #e74c3c; }

.drop-target { transition: background 0.2s, border 0.2s; position: relative; }
.global-modifier-zone { background-color: #111; border: 1px dashed #e74c3c; border-radius: 4px; min-height: 45px; display: flex; align-items: center; justify-content: center; color: #e74c3c; font-size: 0.8rem; flex-wrap: wrap; padding: 5px; gap: 5px; }
.payload-zone { background-color: #111; border: 1px dashed #3498db; border-radius: 4px; padding: 10px; display: flex; flex-direction: column; gap: 8px; min-height: 80px; align-items: center; justify-content: center;}
.payload-zone.has-items { justify-content: flex-start; align-items: stretch; }
.drag-over { background-color: #333 !important; border-color: #fff !important; }

.stack-row { display: flex; gap: 8px; background: #2a2a2a; padding: 6px; border-radius: 4px; align-items: stretch; pointer-events: auto !important; border: 1px solid #444;}
.stack-row > .block { flex: 1; margin: 0; }
.local-modifier-zone { flex: 1; background: #111; border: 1px dashed #666; border-radius: 4px; display: flex; align-items: center; padding: 5px; gap: 5px; color: #666; font-size: 0.8rem; flex-wrap: wrap; pointer-events: auto !important; min-width: 80px;}

.grid-layout { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 15px; }
.playback-box { background-color: #1a1a1a; border: 2px solid #444; border-radius: 8px; padding: 10px; display: flex; flex-direction: column; gap: 10px; height: 280px; transition: all 0.2s ease; overflow: hidden; cursor: grab;}
.playback-box:active { cursor: grabbing; }
.playback-box.is-button { height: 120px; }
.playback-box.dragging { opacity: 0.4; border: 1px dashed var(--accent); }
.playback-box.active-playback { border-color: var(--accent); box-shadow: 0 0 15px rgba(0,255,204,0.3); }
.playback-box.active-playback .pb-action-btn.flash { background: #f1c40f; color: #000; }

.ui-title-display { color: #aaa; font-weight: bold; border-bottom: 1px solid #333; padding-bottom: 5px; font-size: 0.9rem; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none;}
.fader-core { display: flex; flex-direction: column; align-items: center; flex: 1; gap: 10px; min-height: 0;}

input[type=range].vertical-fader { writing-mode: vertical-lr; direction: rtl; appearance: auto; width: 25px; flex: 1; min-height: 120px; cursor: pointer; accent-color: var(--accent); margin: 10px 0;}

.pb-action-btn { width: 100%; background: #2c3e50; border: none; color: white; padding: 12px 5px; font-weight: bold; border-radius: 4px; cursor: pointer; text-transform: uppercase; font-size: 0.85rem; transition: background 0.1s;}
.pb-action-btn.flash { background: #e67e22; }

.stack-list-container { display: flex; flex-direction: column; gap: 10px; background: #1a1a1a; border: 1px solid #333; border-radius: 8px; padding: 15px; padding-bottom: 40px; overflow-y: auto; flex: 1;}

.cue-ui-row { display: flex; gap: 10px; background: #222; border: 1px solid #444; border-radius: 6px; padding: 10px; align-items: center; cursor: grab; transition: opacity 0.2s;}
.cue-ui-row:active { cursor: grabbing; }
.cue-ui-row.dragging { opacity: 0.4; border: 1px dashed var(--accent); }
.cue-ui-row.active-playback { border-color: var(--accent); box-shadow: 0 0 10px rgba(0,255,204,0.2);}
.cue-ui-row.active-playback .pb-bump { background: var(--accent); color: black;}
.stack-number { background: #111; padding: 10px; border-radius: 4px; font-weight: bold; color: var(--accent); display: flex; align-items: center; justify-content: center; min-width: 40px; pointer-events: none;}

.cue-input-col { display:flex; flex-direction:column; gap:2px; font-size:0.65rem; color:#aaa; font-weight:bold; transition: all 0.3s; overflow: hidden; }
.cue-input-col label { display:flex; justify-content: space-between; align-items: center; width: 65px;}
.cue-num-input { width: 30px; background: #000; color: var(--accent); border: 1px solid #555; text-align: center; padding: 2px;}

.patch-row { display: flex; flex-direction: column; gap: 10px; background: #222; border: 1px solid #444; border-radius: 6px; padding: 10px; cursor: grab; transition: opacity 0.2s;}
.patch-row:active { cursor: grabbing; }
.patch-row.dragging { opacity: 0.4; border: 1px dashed var(--accent); }
.stack-row-header { display: flex; gap: 15px; align-items: stretch; width: 100%;}
.stack-details { display: flex; flex-direction: column; gap: 5px; flex: 1;}
.stack-title { background: transparent; border: none; color: #fff; font-size: 1.1rem; font-weight: bold; outline: none; border-bottom: 1px solid transparent; cursor: text;}
.stack-title:focus { border-bottom: 1px solid var(--accent) !important; }

.patch-inputs { display: flex; gap: 15px; background: #111; padding: 8px; border-radius: 4px; align-items: center; margin-top: 5px;}
.patch-inputs label { font-size: 0.8rem; color: #888; font-weight: bold; display: flex; align-items: center; gap: 5px;}
.patch-num-input { background: #000; border: 1px solid #333; color: var(--accent); padding: 5px; border-radius: 4px; font-weight: bold; width: 60px; font-family: monospace; font-size: 1rem; outline: none;}
.patch-num-input:focus { border-color: var(--accent); }
.patch-actions { display: flex; flex-direction: row; gap: 5px; justify-content: flex-end; align-items: center;}
.patch-btn { background: #27ae60; color: white; border: none; padding: 12px 24px; border-radius: 4px; cursor: pointer; font-weight: bold; margin-bottom: 15px; display: inline-block;}
.edit-btn { background: #f39c12; color: white; border: none; padding: 8px 12px; border-radius: 4px; cursor: pointer; font-weight: bold; font-size: 0.8rem;}
.dup-btn { background: #2980b9; color: white; border: none; padding: 8px 12px; border-radius: 4px; cursor: pointer; font-weight: bold; font-size: 0.8rem;}
.del-btn { background: #c0392b; color: white; border: none; padding: 8px 12px; border-radius: 4px; cursor: pointer; font-weight: bold; font-size: 0.8rem;}
.channel-mapping { display: block; font-size: 0.8rem; color: #888; font-family: monospace; word-wrap: break-word; margin-top: -2px;}

.vis-layout { display: flex; gap: 20px; height: 100%; align-items: stretch; transition: all 0.3s ease; }
.vis-sidebar { width: 330px; background: #1a1a1a; border: 1px solid #333; border-radius: 8px; display: flex; flex-direction: column; overflow: hidden; flex-shrink: 0;}
.vis-sidebar-header { background: #222; padding: 15px; border-bottom: 1px solid #444; display: flex; flex-direction: column; gap: 10px;}
.vis-fixture-list { flex: 1; overflow-y: auto; padding: 10px; display: flex; flex-direction: column; gap: 10px; }
.vis-fix-item { background: #111; border: 1px solid #444; padding: 10px; border-radius: 4px; display: flex; flex-direction: column; gap: 5px;}
.vis-fix-title { font-weight: bold; font-size: 0.9rem; color: #fff;}
.vis-coord-inputs { display: flex; gap: 4px; }
.vis-coord-inputs label { font-size: 0.7rem; color: #aaa; display: flex; align-items: center; gap: 2px;}
.vis-coord-inputs input[type=number] { width: 42px; background: #000; border: 1px solid #555; color: var(--accent); padding: 3px; border-radius: 3px; font-family: monospace; text-align: center; font-size: 0.8rem;}

.vis-stage-container { flex: 1; background: #000; border: 1px solid #333; border-radius: 8px; position: relative; overflow: hidden;}

#modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.8); z-index: 1000; align-items: center; justify-content: center; }
.modal-box { background: var(--panel); border: 1px solid var(--border); border-radius: 8px; padding: 25px; width: 480px; max-height: 90vh; display: flex; flex-direction: column; gap: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.9); overflow: hidden;}
.modal-box h2 { margin: 0; color: var(--accent); border-bottom: 1px solid var(--border); padding-bottom: 10px; flex-shrink: 0;}
.modal-row { display: flex; flex-direction: column; gap: 5px; flex-shrink: 0;}
.modal-row label { color: #aaa; font-size: 0.9rem; font-weight: bold; }
.modal-input { background: #111; color: white; border: 1px solid #444; padding: 10px; border-radius: 4px; font-size: 1rem; }
#custom-channels-container { max-height: 250px; overflow-y: auto; background: #0a0a0a; border: 1px solid #333; border-radius: 4px; padding: 10px; flex-grow: 1;}
.ch-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.ch-label { color: var(--accent); font-family: monospace; font-weight: bold; width: 45px; }
.modal-actions { display: flex; gap: 10px; margin-top: 10px; flex-shrink: 0;}
.modal-btn { flex: 1; padding: 12px; border: none; border-radius: 4px; font-weight: bold; cursor: pointer; text-transform: uppercase;}
.modal-save { background: #27ae60; color: white; }
.modal-cancel { background: #c0392b; color: white; }

#basic-workspace { display: none; position: absolute; top: 70px; left: 0; right: 0; bottom: 0; background: var(--bg); z-index: 500; flex-direction: row; }
.basic-fixture { position: absolute; width: 40px; height: 40px; transform-origin: 50% 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 30;}
.basic-fix-body { width: 40px; height: 40px; background-color: #111; border: 2px solid var(--accent); border-radius: 8px; color: #fff; font-weight: bold; display: flex; align-items: center; justify-content: center; cursor: grab; box-shadow: 0 4px 10px rgba(0,0,0,0.5); transition: border-color 0.2s;}
.basic-fix-body:active { cursor: grabbing; }
.basic-rot-handle { width: 12px; height: 12px; background: #e74c3c; border: 2px solid #fff; border-radius: 50%; position: absolute; top: -20px; cursor: pointer; display: flex; align-items: center; justify-content: center;}
.basic-rot-line { width: 2px; height: 20px; background: #fff; position: absolute; top: -10px; z-index: -1;}

.basic-sidebar { width: 400px; background: #1a1a1a; display: flex; flex-direction: column; flex-shrink: 0; z-index: 550; border-left: 2px solid #333; }
.basic-tabs { display: flex; background: #222; border-bottom: 2px solid #444; }
.basic-tab-btn { flex: 1; background: none; color: #888; border: none; padding: 15px; font-weight: bold; font-size: 1rem; cursor: pointer; text-transform: uppercase; border-bottom: 3px solid transparent; }
.basic-tab-btn.active { color: #fff; border-bottom-color: var(--accent); background: #111; }
.basic-panel { flex: 1; display: none; flex-direction: column; overflow-y: auto; padding: 15px; gap: 15px; }
.basic-panel.active { display: flex; }
.basic-card { background: #222; border: 1px solid #444; border-radius: 8px; padding: 15px; display: flex; flex-direction: column; gap: 10px; }
.basic-card h3 { margin: 0; color: #fff; font-size: 1.1rem; border-bottom: 1px solid #444; padding-bottom: 5px; display: flex; justify-content: space-between;}
.basic-intensity-row { display: flex; align-items: center; gap: 10px; }
.basic-intensity-row input[type="range"] { flex: 1; accent-color: #f1c40f; }
.basic-color-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 5px;}
.basic-col-btn { height: 35px; border: 2px solid transparent; border-radius: 4px; cursor: pointer; transition: transform 0.1s, border-color 0.2s; }
.basic-col-btn:active { transform: scale(0.95); }
.basic-col-btn.selected { border-color: #fff; box-shadow: 0 0 10px rgba(255,255,255,0.5); }
.basic-record-btn { flex: 1; background: #e74c3c; color: white; font-weight: bold; font-size: 1.1rem; border: none; border-radius: 6px; padding: 15px; cursor: pointer; text-transform: uppercase;}
.basic-clear-btn { background: #8b0000; color: white; font-weight: bold; border: none; border-radius: 4px; padding: 5px 10px; cursor: pointer; font-size: 0.8rem;}

/* BASIC MODE OVERRIDES */
body.is-basic-mode #tab-nav,
body.is-basic-mode #top-bar .toggle-group button:not(.showfile-toggle),
body.is-basic-mode #keypad-container,
body.is-basic-mode #bo-btn,
body.is-basic-mode label.hide-in-basic,
body.is-basic-mode #grand-master-fader,
body.is-basic-mode label:has(#grand-master-fader),
body.is-basic-mode label:has(#solo-over-gm),
body.is-basic-mode label:has(#solo-over-bo),
body.is-basic-mode #cue-playbacks-warning { display: none !important; }

body.is-basic-mode .tab-content { display: none !important; }
body.is-basic-mode .cue-input-col { display: none !important; }

body.is-basic-mode #basic-workspace { display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; width: 100vw !important; position: absolute !important; top: 60px !important; bottom: 0 !important; left: 0 !important; background: #000; z-index: 500; }
body.is-basic-mode .basic-sidebar { width: 50vw !important; flex: 0 0 50vw !important; max-width: 50vw !important; border-right: 2px solid #333 !important; border-left: none !important; height: 100% !important; display: flex !important; flex-direction: column !important; overflow-y: auto; }
body.is-basic-mode .vis-stage-container { width: 50vw !important; flex: 0 0 50vw !important; max-width: 50vw !important; border-radius: 0 !important; border: none !important; height: 100% !important; position: relative !important; }
body.is-basic-mode .cue-ui-row { flex-wrap: wrap; }