/* إضافات النسخة المحلية فقط — لا تغيّر تصميم التطبيق الأصلي */
.sysbanner{position:sticky;top:0;z-index:30;padding:8px 14px;font-size:13.5px;font-weight:600;text-align:center}
.sysbanner.info{background:#e6effa;color:#1f5fa8}
.sysbanner.warn{background:#fdecea;color:#b3261e}

/* وضع الجوال: عرض وبحث فقط (المنع الحقيقي يتم في الخادم) */
html.ro #addBtn,html.ro #selRow,html.ro #selBar,html.ro #entBtn,
html.ro .btn.issue,html.ro .btn.mine,html.ro .btn.got,
html.ro #saveBtn,html.ro #delBtn,html.ro .dq,html.ro .dpick,html.ro #copyReps,
html.ro #printSum,html.ro #printLog,html.ro #printMe{display:none!important}
html.ro #form input,html.ro #form select,html.ro #form textarea{pointer-events:none;background:transparent!important;border-color:transparent!important}
html.ro #form .qchips{display:none}
html.ro .toolbar{grid-template-columns:1fr 1fr!important}

/* لوحة النظام (الكمبيوتر فقط) */
.sysgrid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}
.sysgrid .btn{background:var(--card);border:1px solid var(--line);font-size:14px}
.devrow,.bkrow,.aurow{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:9px 4px;border-bottom:1px solid var(--line);font-size:13.5px}
.devrow small,.bkrow small,.aurow small{color:var(--muted);display:block}
.aurow{align-items:flex-start;font-size:12.5px}
.aurow code{direction:ltr;unicode-bidi:embed;font-size:11.5px;color:var(--muted)}
.qrbox{display:flex;justify-content:center;margin:12px 0}
.qrbox svg{width:220px;height:220px;background:#fff;padding:6px;border-radius:12px}
.mono{direction:ltr;unicode-bidi:embed;font-family:ui-monospace,Consolas,monospace;font-size:12px;word-break:break-all}
.okmsg{background:#e8f5e9;color:#2e7d32;padding:8px 12px;border-radius:8px;font-size:13px;margin:10px 0}

/* نسخة الجوال */
header{padding-top:calc(20px + env(safe-area-inset-top))!important}
.fab{bottom:calc(20px + env(safe-area-inset-bottom))!important}
.brand{position:relative}
.quicklock{margin-inline-start:auto;background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.3);color:#fff;border-radius:12px;width:42px;height:42px;font-size:18px;cursor:pointer}
html.locked body>*:not(.lockscreen){visibility:hidden}
.lockscreen{position:fixed;inset:0;z-index:100;background:#0f5b45;display:flex;align-items:center;justify-content:center;padding:calc(20px + env(safe-area-inset-top)) 18px 20px}
.lockcard{background:var(--card,#fff);color:var(--ink,#1d2a24);border-radius:20px;padding:24px 20px;width:100%;max-width:400px;box-shadow:0 10px 40px rgba(0,0,0,.25)}
.lockcard h1{margin:6px 0 4px;font-size:21px;color:var(--brand,#0f5b45)}
.lockcard p{color:var(--muted,#6b7570);font-size:14px;line-height:1.7;margin:4px 0 12px}
.lockcard input{width:100%;padding:13px;border-radius:12px;border:1px solid var(--line,#e3e6e1);font:inherit;font-size:16px;margin-bottom:10px;background:var(--bg,#f4f5f2);color:var(--ink,#1d2a24)}
.lockcard .btn{width:100%;padding:13px;font-size:16px}
.lkicon{font-size:36px}.lkwarn{font-size:12.5px!important;margin-top:12px!important}
