/**
 * Spectra Mini - Edition-specific styles
 * These styles are only included in Mini builds (browser + desktop)
 */

/* ============================================
   LAYOUT FIXES
   ============================================ */

/* Mini: main canvas area extends to right edge (no sidebar) */
/* Scoped to mini edition to not affect Full when both CSS files load */
body:not([data-edition="full"]) main .page .center {
	right: 0;
}

/* ============================================
   TIMELINE - MINI EDITION
   ============================================ */

/* Timeline height is set by timeline-mini.js (25px) */

/* Mini: hide timeline info pane delete button and global checkbox */
/* Scoped to mini edition to not affect Full when both CSS files load */
body:not([data-edition="full"]) .timeline-info-delete,
body:not([data-edition="full"]) .timeline-info-global-label {
	display: none !important;
}

/* ============================================
   TUNING SETTINGS
   ============================================ */

/* Ensure .hidden class properly hides tuning settings panels */
.tuning-settings.hidden {
	display: none !important;
}

/* ============================================
   INFO WINDOW POSITIONING
   ============================================ */

/* Mini: position info-window in top-right (Full uses right-panels-container from auth-ui.js) */
/* Matches minimap positioning: width 150px, 10px from right */
body:not([data-edition="full"]) .info-window {
	position: absolute;
	top: 33px;
	right: 10px;
	width: 150px;
	z-index: 1001;
}

/* Mini: right-panels-container should not have top offset (no timeline lanes) */
body:not([data-edition="full"]) .right-panels-container {
	top: unset;
}

/* ============================================
   BUTTON GROUPING
   ============================================ */

/* Mini: magnet and headphones buttons are not grouped, need full border radius */
body:not([data-edition="full"]) .switch-magnet .switch-checkbox + label,
body:not([data-edition="full"]) .switch-headphones .switch-checkbox + label {
	border-radius: 2px;
}

/* ============================================
   FEATURE HIDING
   ============================================ */

/* Elements that should never appear in Mini */
/* Scoped to mini edition to not affect Full when both CSS files load */
body:not([data-edition="full"]) .markers-lane,
body:not([data-edition="full"]) .loop-region {
	display: none !important;
}

/* Mini: Hide "Things" tab in Setup */
body:not([data-edition="full"]) .setup-tab[value="Things"] {
	display: none !important;
}

/* Mini: Hide Spatial Output Routing section */
body:not([data-edition="full"]) .spatial-imager-section {
	display: none !important;
}

/* Mini: Hide API tab and section in I/O */
body:not([data-edition="full"]) .io-tab[value="API"] {
	display: none !important;
}
body:not([data-edition="full"]) .io-section[data-section="4"] {
	display: none !important;
}

/* Mini: Hide API flow diagram elements */
body:not([data-edition="full"]) .io-flow-input[data-type="api-in"],
body:not([data-edition="full"]) .io-flow-output[data-type="api-out"] {
	display: none !important;
}

/* Mini: Hide Full edition tuning-type (for dev mode with unprocessed HTML) */
body:not([data-edition="full"]) .tuning-type-full {
	display: none !important;
}
