html, body {
    font-family: 'Sarabun', sans-serif;
}

h1:focus {
    outline: none;
}

#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: #b32121;
    padding: 1rem;
    color: white;
}

/* --- โหมดพิมพ์ / บันทึก PDF --- ซ่อนเมนู แถบบน และปุ่มสั่งงาน เหลือเฉพาะเนื้อหา */
@media print {
    .mud-drawer, .mud-appbar, .mud-overlay, .export-hide,
    .mud-snackbar-provider, #blazor-error-ui {
        display: none !important;
    }
    .mud-main-content {
        margin: 0 !important;
        padding: 0 !important;
    }
    .mud-layout, .mud-main-content, body, html {
        background: #fff !important;
    }
    .board-scroll {
        overflow: visible !important;
    }
    table.roster {
        font-size: 10px !important;
    }
    @page {
        size: landscape;
        margin: 10mm;
    }
}
