/* ADR-0113 (#56): kiosk touch shell. Large hit targets, high contrast, no hover-dependent affordances.
   Scoped under .page.kiosk-mode so it never leaks into the normal ERP chrome. */

.page.kiosk-mode .sidebar {
    width: 110px;
    background: #2b2118;
}

.kiosk-rail {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 6px;
    height: 100%;
}

.kiosk-rail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 88px;
    border-radius: 12px;
    color: #e8ddcd;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: background 0.12s, color 0.12s;
}

/* BL-130: icons are inline-SVG MudIcons (bootstrap-icons css was never loaded → invisible). */
.kiosk-rail-item .mud-icon-root {
    font-size: 32px;
    width: 32px;
    height: 32px;
}

.kiosk-rail-item:hover,
.kiosk-rail-item:focus-visible {
    background: rgba(255, 255, 255, 0.10);
    color: #fff;
}

.kiosk-rail-item.active {
    background: var(--mud-palette-primary, #5b4a33);
    color: #fff;
}

.kiosk-rail-label {
    letter-spacing: 0.02em;
    font-size: 0.78rem;      /* BL-130: icons WITH small words — make the words unmistakable */
    font-weight: 600;
    margin-top: 4px;
}

/* Roomier, touch-friendly content padding in kiosk mode. */
.page.kiosk-mode .content {
    padding: 18px 22px !important;
}

/* BL-130: kiosk pages are full-bleed — the app-chrome reading-width centering collapses grid pages
   to one column (same opt-out idiom as .ziggis-content:has(.grid-shell) in app.css). */
.ziggis-content:has(.kiosk-page) {
    max-width: none;
    margin: 0;
    width: 100%;
}

/* Bigger default tap targets for buttons inside the kiosk surface. */
.page.kiosk-mode .mud-button-root,
.page.kiosk-mode button:not(.kiosk-rail-item) {
    min-height: 48px;
}
