/*
 * CamPos is a desktop-only application.
 * Keep one stable canvas instead of rearranging the interface at small widths.
 */
:root {
    --app-desktop-width: 1366px;
}

html,
body {
    min-width: var(--app-desktop-width) !important;
}

html {
    overflow-x: auto !important;
}

body {
    overflow-x: visible !important;
}

/* The authenticated shell always keeps the full desktop sidebar and canvas. */
body > .sidebar {
    position: fixed !important;
}

body > .main-content {
    min-width: calc(var(--app-desktop-width) - 250px) !important;
}

html[data-sidebar-collapsed="true"] body > .main-content {
    min-width: calc(var(--app-desktop-width) - 76px) !important;
}

/* Login is also rendered as its two-column desktop composition. */
.auth-shell {
    min-width: var(--app-desktop-width) !important;
}

