/* Dar ekran (≤991 px) şimdilik desteklenmiyor: uygulama yerine uyarı gösterilir.
   Eşik layouts/root.py içindeki NARROW_SCREEN_MAX_WIDTH ile aynı tutulmalı.
   Sayfa altta yerleşimini korur; dönüşte grafikler yeniden boyutlanmak zorunda kalmaz. */
.q-narrow-screen-notice { display: none; }

@media (max-width: 991px) {
    html, body { overflow: hidden; }
    .q-narrow-screen-notice {
        position: fixed;
        inset: 0;
        z-index: 2147483646;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 24px;
        background: var(--q-canvas, #ffffff);
        color: var(--q-text-strong, #0f172a);
        text-align: center;
    }
    .q-narrow-screen-notice-body { max-width: 420px; }
    .q-narrow-screen-notice h1 { font-size: 22px; margin: 0 0 12px; }
    .q-narrow-screen-notice p { color: var(--q-text-muted, #64748b); font-size: 15px; line-height: 1.6; margin: 0; }
}
