/* public/css/sys/shell.css - Core Desktop Container */

body.siteos-monochrome-body {
    background-color: #FFFFFF;
    font-family: var(--xp-font-ui);
    margin: 0; padding: 0;
    height: 100dvh; width: 100vw;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* --- Responsive XP (Mobile) --- */
body.is-mobile .siteos-window {
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: calc(100% - 30px) !important; /* Full height minus taskbar */
    border-radius: 0 !important;
    box-shadow: none !important;
}

body.is-mobile .siteos-window-title-bar {
    border-radius: 0 !important;
    cursor: default !important; /* No dragging on mobile */
}

body.is-mobile .siteos-window.maximized {
    /* Already handled by fixed sizing above, but ensure it sticks */
    width: 100% !important;
    height: calc(100% - 30px) !important;
}

/* Hide Window Controls on Mobile (except Close) */
body.is-mobile .siteos-window-controls .minimize,
body.is-mobile .siteos-window-controls .maximize {
    display: none !important;
}

/* Hide Resize Handles */
body.is-mobile .ui-resizable-handle {
    display: none !important;
}

/* Simplify Taskbar on Mobile */
body.is-mobile #xp-taskbar-items,
body.is-mobile #xp-99names-ticker,
body.is-mobile #xp-system-tray {
    display: none !important;
}

/* Ensure Start Button remains visible and touch-friendly */
body.is-mobile #xp-start-button {
    flex-grow: 1; /* Take up full width */
    justify-content: center; /* Center text */
    max-width: none !important;
}

/* Mobile Start Menu Adjustments */
body.is-mobile #xp-start-menu {
    width: 100% !important;
    left: 0 !important;
    bottom: 30px !important;
    border-radius: 0 !important;
}

#siteos-desktop {
    flex-grow: 1;
    position: relative;
    overflow: hidden;
    background-color: #3B6EA5; /* Default XP Blue */
    background-size: cover;
    background-position: center;
}