/* ==========================================================================
   SafeAudioKit Pro Sound Editor Workstation Stylesheet
   Theme-Friendly (Clean Light Card Design matching SafeAudioKit standards)
   High-contrast studio audio viewport with responsive precision controls
   ========================================================================== */

:root {
  --se-brand-blue: #2563eb;
  --se-brand-blue-hover: #1d4ed8;
  --se-brand-blue-subtle: #eff6ff;
  --se-card-bg: #ffffff;
  --se-card-border: #e2e8f0;
  --se-subtle-bg: #f8fafc;
  --se-subtle-hover: #f1f5f9;
  --se-text-dark: #0f172a;
  --se-text-body: #334155;
  --se-text-secondary: #475569;
  --se-text-muted: #64748b;
  --se-primary: #2563eb;
  --se-primary-hover: #1d4ed8;
  --se-accent-cyan: #0284c7;
  --se-accent-emerald: #10b981;
  --se-accent-rose: #f43f5e;
  --se-accent-amber: #f59e0b;
  --se-waveform-bg: #0b1120;
  --se-waveform-color: #38bdf8;
  --se-waveform-progress: #2563eb;
  --se-selection-bg: rgba(37, 99, 235, 0.28);
  --se-selection-border: #3b82f6;
  --se-shadow-card: 0 10px 30px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Workstation base layout */
#workspace {
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

.se-studio-wrapper {
  width: 100%;
  max-width: 960px;
  margin: 15px auto 24px auto;
  padding: 0 12px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--se-text-body);
  box-sizing: border-box;
}

.se-studio-wrapper * {
  box-sizing: border-box;
}

/* Safe desktop width with active left and right sidebar ads */
@media (min-width: 1025px) {
  .se-studio-wrapper,
  .se-studio-workspace {
    max-width: min(960px, calc(100vw - 440px)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* Studio Main Workspace Card (Theme-Friendly White Card) */
.se-studio-workspace {
  background: var(--se-card-bg);
  border: 1px solid var(--se-card-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--se-shadow-card);
  position: relative;
  display: flex;
  flex-direction: column;
}

/* 1. Top Header & Metadata Bar */
.se-top-header {
  background: #ffffff;
  border-bottom: 1px solid var(--se-card-border);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.se-track-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.se-logo-badge {
  background: var(--se-brand-blue-subtle);
  color: var(--se-brand-blue);
  border: 1px solid #bfdbfe;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.se-track-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--se-text-dark);
  max-width: 240px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.se-meta-tags {
  display: flex;
  align-items: center;
  gap: 6px;
}

.se-meta-tag {
  background: var(--se-subtle-bg);
  border: 1px solid var(--se-card-border);
  color: var(--se-text-secondary);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 6px;
}

.se-top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.se-btn-icon-label {
  background: var(--se-subtle-bg);
  border: 1px solid #cbd5e1;
  color: var(--se-text-body);
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.se-btn-icon-label:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: var(--se-text-dark);
}

/* History Undo/Redo */
.se-history-btn-group {
  display: inline-flex;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  overflow: hidden;
}

.se-history-btn {
  background: var(--se-subtle-bg);
  border: none;
  border-right: 1px solid #cbd5e1;
  color: var(--se-text-secondary);
  padding: 7px 12px;
  cursor: pointer;
  font-size: 12px;
  transition: all 0.15s ease;
}

.se-history-btn:last-child {
  border-right: none;
}

.se-history-btn:hover:not(:disabled) {
  background: #f1f5f9;
  color: var(--se-text-dark);
}

.se-history-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* 2. Main Transport Bar */
.se-transport-bar {
  background: var(--se-subtle-bg);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--se-card-border);
  flex-wrap: wrap;
  gap: 12px;
}

.se-transport-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.se-play-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--se-brand-blue);
  border: none;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
  transition: all 0.15s ease;
}

.se-play-btn:hover {
  background: var(--se-brand-blue-hover);
  transform: scale(1.05);
}

.se-play-btn svg {
  width: 20px;
  height: 20px;
}

.se-transport-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: var(--se-text-secondary);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.se-transport-btn:hover {
  background: #f1f5f9;
  color: var(--se-text-dark);
  border-color: #94a3b8;
}

.se-transport-btn.active {
  background: var(--se-brand-blue-subtle);
  border-color: var(--se-brand-blue);
  color: var(--se-brand-blue);
}

/* High Precision Time Display */
.se-timecode-box {
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 8px;
  padding: 4px 14px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: "Courier New", Courier, monospace, monospace;
}

.se-timecode-main {
  font-size: 19px;
  font-weight: 700;
  color: #38bdf8;
  letter-spacing: 0.5px;
}

.se-timecode-sep {
  color: #64748b;
  font-size: 13px;
}

.se-timecode-total {
  font-size: 13px;
  font-weight: 600;
  color: #94a3b8;
}

.se-selection-length-badge {
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: #93c5fd;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  display: none;
}

/* Transport Right: Zoom & Snap */
.se-transport-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.se-zoom-group {
  display: inline-flex;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  overflow: hidden;
}

.se-zoom-btn {
  background: #ffffff;
  border: none;
  border-right: 1px solid #cbd5e1;
  color: var(--se-text-secondary);
  padding: 6px 10px;
  cursor: pointer;
  font-size: 11.5px;
  transition: all 0.15s ease;
}

.se-zoom-btn:last-child {
  border-right: none;
}

.se-zoom-btn:hover {
  background: #f1f5f9;
  color: var(--se-text-dark);
}

.se-snap-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: var(--se-text-secondary);
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.15s ease;
}

.se-snap-btn.active {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #059669;
}

/* 3. Editing Actions Command Bar */
.se-actions-toolbar {
  background: #ffffff;
  padding: 8px 18px;
  border-bottom: 1px solid var(--se-card-border);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.se-action-chip {
  background: #ffffff;
  border: 1px solid var(--se-card-border);
  color: var(--se-text-body);
  padding: 5px 11px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.se-action-chip:hover {
  background: var(--se-subtle-bg);
  border-color: #cbd5e1;
  color: var(--se-text-dark);
  transform: translateY(-1px);
}

.se-action-chip i {
  font-size: 11px;
  color: var(--se-brand-blue);
}

.se-action-divider {
  width: 1px;
  height: 20px;
  background: var(--se-card-border);
  margin: 0 4px;
}

/* 4. Waveform & Visualizer Stage (High-Contrast Navy Studio Viewport) */
.se-waveform-stage {
  background: var(--se-waveform-bg);
  padding: 0;
  position: relative;
  display: flex;
  border-bottom: 1px solid var(--se-card-border);
}

.se-waveform-main-col {
  flex: 1;
  min-width: 0;
  position: relative;
  overflow: hidden;
}

/* Time Ruler */
.se-time-ruler {
  height: 24px;
  background: #070e1b;
  border-bottom: 1px solid #1e293b;
  width: 100%;
  display: block;
  user-select: none;
}

/* Waveform Canvas Viewport */
.se-canvas-viewport {
  position: relative;
  width: 100%;
  height: 180px;
  cursor: crosshair;
  user-select: none;
  touch-action: none;
}

#se-waveform-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Real-Time Playhead Line */
.se-playhead-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #ffffff;
  pointer-events: none;
  z-index: 10;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
  display: none;
}

.se-playhead-flag {
  position: absolute;
  top: 0;
  left: -14px;
  width: 30px;
  height: 16px;
  background: var(--se-brand-blue);
  color: #ffffff;
  font-size: 9px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
}

/* Interactive Region Selection Box */
.se-selection-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  background: var(--se-selection-bg);
  border-left: 2px solid var(--se-selection-border);
  border-right: 2px solid var(--se-selection-border);
  pointer-events: none;
  z-index: 5;
  display: none;
}

/* Stereo VU / Peak Meter on the Right */
.se-meter-col {
  width: 52px;
  background: #070e1b;
  border-left: 1px solid #1e293b;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 6px;
  user-select: none;
}

.se-meter-title {
  font-size: 9px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.se-dual-meters {
  display: flex;
  gap: 4px;
  flex: 1;
  width: 100%;
}

.se-meter-channel {
  flex: 1;
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 3px;
  position: relative;
  overflow: hidden;
}

.se-meter-fill {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0%;
  background: linear-gradient(to top, #10b981 0%, #10b981 70%, #f59e0b 85%, #f43f5e 100%);
  transition: height 0.05s ease-out;
}

.se-meter-clip-led {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #334155;
  margin-top: 6px;
}

.se-meter-clip-led.active {
  background: #f43f5e;
  box-shadow: 0 0 6px #f43f5e;
}

/* 5. Pro DSP Effects Rack Tabs */
.se-fx-rack {
  background: #ffffff;
  border-bottom: 1px solid var(--se-card-border);
}

.se-fx-tab-nav {
  display: flex;
  background: var(--se-subtle-bg);
  border-bottom: 1px solid var(--se-card-border);
  overflow-x: auto;
}

.se-fx-tab-btn {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--se-text-muted);
  font-size: 12.5px;
  font-weight: 600;
  padding: 10px 16px;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.se-fx-tab-btn:hover {
  color: var(--se-text-dark);
  background: #f1f5f9;
}

.se-fx-tab-btn.active {
  color: var(--se-brand-blue);
  border-bottom-color: var(--se-brand-blue);
  background: #ffffff;
  font-weight: 700;
}

.se-fx-panel {
  display: none;
  padding: 18px 24px;
  background: #ffffff;
}

.se-fx-panel.active {
  display: block;
}

/* Effects Controls Layout */
.se-knobs-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.se-control-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 140px;
  flex: 1;
}

.se-control-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
}

.se-control-label {
  color: var(--se-text-body);
}

.se-control-val {
  color: var(--se-brand-blue);
  font-family: monospace;
  font-size: 12px;
  font-weight: 700;
}

.se-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #e2e8f0;
  outline: none;
  transition: all 0.15s ease;
}

.se-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--se-brand-blue);
  cursor: pointer;
  border: 2px solid #ffffff;
  box-shadow: 0 1px 4px rgba(37, 99, 235, 0.4);
  transition: all 0.15s ease;
}

.se-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  background: var(--se-brand-blue-hover);
}

.se-btn-apply-fx {
  background: var(--se-brand-blue);
  color: #ffffff;
  border: none;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.se-btn-apply-fx:hover {
  background: var(--se-brand-blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

/* EQ Sliders Grid */
.se-eq-grid {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  overflow-x: auto;
  padding: 10px 0;
}

.se-eq-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 44px;
}

.se-eq-freq {
  font-size: 11px;
  font-weight: 600;
  color: var(--se-text-secondary);
}

.se-eq-val {
  font-size: 10.5px;
  color: var(--se-brand-blue);
  font-family: monospace;
  font-weight: 700;
}

.se-vert-slider-wrap {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.se-vert-slider {
  writing-mode: vertical-lr;
  direction: rtl;
  -webkit-appearance: slider-vertical;
  appearance: slider-vertical;
  width: 14px;
  height: 100px;
  padding: 0 5px;
  cursor: pointer;
}

/* 6. Master Export Bar */
.se-master-bar {
  background: var(--se-subtle-bg);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--se-card-border);
  flex-wrap: wrap;
  gap: 16px;
}

.se-master-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.se-master-vol-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.se-master-vol-group i {
  color: var(--se-text-secondary);
}

.se-master-slider {
  width: 120px;
}

.se-master-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.se-format-select {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: var(--se-text-dark);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  outline: none;
  cursor: pointer;
}

.se-format-select:focus {
  border-color: var(--se-brand-blue);
}

.se-btn-export-master {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  border: none;
  padding: 9px 22px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.15s ease;
}

.se-btn-export-master:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.5);
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
  .se-studio-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin: 6px auto 16px auto !important;
    padding: 0 4px !important;
  }

  .se-studio-workspace {
    border-radius: 12px;
  }

  .se-top-header {
    padding: 8px 10px;
    gap: 8px;
    flex-direction: column;
    align-items: stretch;
  }

  .se-track-meta {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px;
  }

  .se-logo-badge {
    font-size: 10px;
    padding: 3px 7px;
  }

  .se-track-title {
    font-size: 12.5px;
    max-width: 140px;
  }

  .se-meta-tags {
    gap: 4px;
  }

  .se-meta-tag {
    font-size: 9.5px;
    padding: 2px 5px;
  }

  .se-top-actions {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
  }

  .se-btn-icon-label {
    flex: 1;
    justify-content: center;
    padding: 6px 8px;
    font-size: 11.5px;
    white-space: nowrap;
  }

  .se-history-btn-group {
    flex-shrink: 0;
  }

  .se-transport-bar {
    padding: 8px 10px;
    gap: 8px;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }

  .se-transport-left {
    gap: 5px;
  }

  .se-play-btn {
    width: 38px;
    height: 38px;
  }

  .se-play-btn svg {
    width: 18px;
    height: 18px;
  }

  .se-transport-btn {
    width: 32px;
    height: 32px;
  }

  .se-timecode-box {
    padding: 4px 8px;
    gap: 5px;
    order: 2;
    flex-grow: 1;
    justify-content: center;
  }

  .se-timecode-main {
    font-size: 14px;
  }

  .se-timecode-sep {
    font-size: 11px;
  }

  .se-timecode-total {
    font-size: 11px;
  }

  .se-selection-length-badge {
    font-size: 9.5px;
    padding: 2px 5px;
  }

  .se-transport-right {
    width: 100%;
    order: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-top: 2px;
  }

  .se-zoom-group {
    flex: 1;
    display: flex;
  }

  .se-zoom-btn {
    flex: 1;
    text-align: center;
    padding: 6px 3px;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .se-snap-btn {
    padding: 6px 8px;
    font-size: 11px;
    flex-shrink: 0;
  }

  .se-actions-toolbar {
    padding: 6px 8px;
    gap: 5px;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .se-actions-toolbar::-webkit-scrollbar {
    display: none;
  }

  .se-action-chip {
    flex-shrink: 0;
    padding: 5px 8px;
    font-size: 11px;
    white-space: nowrap;
  }

  .se-action-divider {
    flex-shrink: 0;
    margin: 0 1px;
  }

  .se-canvas-viewport {
    height: 150px;
  }

  .se-meter-col {
    width: 28px;
    padding: 4px 2px;
  }

  .se-meter-title {
    display: none;
  }

  .se-dual-meters {
    gap: 2px;
  }

  .se-meter-clip-led {
    width: 4px;
    height: 4px;
    margin-top: 3px;
  }

  .se-fx-tab-nav {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .se-fx-tab-nav::-webkit-scrollbar {
    display: none;
  }

  .se-fx-tab-btn {
    padding: 8px 12px;
    font-size: 11.5px;
    flex-shrink: 0;
  }

  .se-fx-panel {
    padding: 12px 10px;
  }

  .se-knobs-row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .se-control-group {
    width: 100%;
    min-width: 0;
  }

  .se-control-group select,
  .se-control-group input[type="text"],
  .se-control-group input[type="number"] {
    max-width: 100%;
    box-sizing: border-box;
  }

  .se-btn-apply-fx {
    width: 100%;
    justify-content: center;
    padding: 10px 14px;
    font-size: 13px;
    margin-top: 4px;
    box-sizing: border-box;
  }

  .se-eq-grid {
    gap: 6px;
    padding: 6px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .se-eq-col {
    min-width: 24px;
  }

  .se-master-bar {
    padding: 10px;
    gap: 10px;
    flex-direction: column;
    align-items: stretch;
  }

  .se-master-left {
    width: 100%;
  }

  .se-master-vol-group {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .se-master-slider {
    flex: 1;
    width: auto;
    max-width: none;
  }

  .se-master-right {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .se-format-select {
    width: 100%;
    box-sizing: border-box;
    padding: 9px 12px;
    font-size: 13px;
  }

  .se-btn-export-master {
    width: 100%;
    justify-content: center;
    padding: 11px 16px;
    font-size: 14px;
    box-sizing: border-box;
  }

  .se-upload-helpers-row {
    padding: 0 8px;
    gap: 6px;
  }

  .se-upload-helpers-row button {
    flex: 1 1 calc(50% - 6px);
    font-size: 11.5px !important;
    padding: 7px 8px !important;
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 440px) {
  .se-track-meta {
    justify-content: flex-start;
  }

  .se-track-title {
    max-width: 110px;
  }

  .se-timecode-box {
    width: 100%;
    order: 2;
  }

  .se-transport-left {
    width: 100%;
    justify-content: center;
    order: 1;
  }
}

/* Quick upload helper badges */
.se-upload-helpers-row {
  margin: 16px auto 0 auto;
  max-width: 600px;
}
.se-upload-helpers-row button:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

/* ==========================================================================
   Fullscreen DAW Workstation Mode (Full height and width of screen)
   ========================================================================== */
body.se-fullscreen-active {
  overflow: hidden !important;
  width: 100vw !important;
  height: 100vh !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.se-fullscreen-active nav,
body.se-fullscreen-active header,
body.se-fullscreen-active footer,
body.se-fullscreen-active .appscms-sidebar-left,
body.se-fullscreen-active .appscms-sidebar-right,
body.se-fullscreen-active .appscms-upload-section-container,
body.se-fullscreen-active .container:not(.se-studio-wrapper),
body.se-fullscreen-active .allblogs,
body.se-fullscreen-active .feature-description-boxes,
body.se-fullscreen-active .blog-share,
body.se-fullscreen-active .rating-stars,
body.se-fullscreen-active .container.heading {
  display: none !important;
}

.se-studio-wrapper:fullscreen,
.se-studio-wrapper:-webkit-full-screen,
.se-studio-wrapper.is-fullscreen,
body.se-fullscreen-active .se-studio-wrapper {
  max-width: 100vw !important;
  width: 100vw !important;
  height: 100vh !important;
  max-height: 100vh !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 2147483647 !important;
  background: #0f172a !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

.se-studio-wrapper:fullscreen .se-studio-workspace,
.se-studio-wrapper:-webkit-full-screen .se-studio-workspace,
.se-studio-wrapper.is-fullscreen .se-studio-workspace,
body.se-fullscreen-active .se-studio-workspace {
  border-radius: 0 !important;
  border: none !important;
  min-height: 100vh !important;
  height: 100% !important;
  box-shadow: none !important;
  display: flex !important;
  flex-direction: column !important;
}

.se-studio-wrapper:fullscreen .se-canvas-viewport,
.se-studio-wrapper:-webkit-full-screen .se-canvas-viewport,
.se-studio-wrapper.is-fullscreen .se-canvas-viewport,
body.se-fullscreen-active .se-canvas-viewport {
  height: calc(100vh - 460px) !important;
  min-height: 220px !important;
}

.se-studio-wrapper.is-fullscreen #se-btn-fullscreen,
body.se-fullscreen-active #se-btn-fullscreen {
  background: var(--se-brand-blue) !important;
  color: #fff !important;
  border-color: var(--se-brand-blue-hover) !important;
}
