/* لوحة المالك: بطاقات أرقام كبيرة للجوال، أشرطة بالساعة بلا مكتبات */
.filters { padding: 12px 14px; }
.filters .f { display: inline-flex; flex-direction: column; gap: 2px; font-size: .85rem; color: var(--muted); }
.filters input, .filters select { font: inherit; font-size: .95rem; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--ink); min-height: 38px; }
button.small { min-height: 38px; padding: 6px 14px; }
.muted { color: var(--muted); font-size: .85rem; }
.center { text-align: center; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.tile { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; display: flex; flex-direction: column; min-width: 0; }
.tile.big { grid-column: 1 / -1; background: var(--head); color: #fff; border: 0; }
.tile .k { font-size: .8rem; color: var(--muted); }
.tile.big .k { color: #d7e3f5; }
.tile b { font-size: 1.25rem; font-variant-numeric: tabular-nums; direction: ltr; text-align: end; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile.big b { font-size: 2.2rem; }
.tile small { color: var(--muted); font-size: .78rem; }
.tile.big small { color: #d7e3f5; }
.tile small.up { color: var(--green); } .tile small.down { color: var(--red); }
.tile.big small.up { color: #9fe6bd; } .tile.big small.down { color: #ffb3ad; }
.alerts { margin: 0; padding: 0 18px 0 0; }
.alerts li { padding: 4px 0; }
.alerts li.bad { color: var(--red); font-weight: 700; }
.alerts li.warn { color: var(--amber); font-weight: 600; }
.list .shift { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; margin-top: 8px; display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; }
.list .shift.open { border-color: var(--green); background: var(--green-soft); }
.list .shift .t { font-weight: 700; }
.list .shift .n { font-variant-numeric: tabular-nums; direction: ltr; text-align: end; }
.list .shift .d { grid-column: 1 / -1; font-size: .85rem; color: var(--muted); }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 150px; padding-top: 18px; direction: ltr; }
.bars .bar { flex: 1; background: var(--btn); border-radius: 3px 3px 0 0; position: relative; min-width: 0; }
.bars .bar.max { background: var(--btn-ok); }
.bars .bar span { position: absolute; bottom: -20px; left: 0; right: 0; font-size: .65rem; color: var(--muted); text-align: center; }
.bars .bar i { position: absolute; top: -17px; left: 0; right: 0; font-size: .62rem; font-style: normal; color: var(--ink); text-align: center; white-space: nowrap; }
.bars-wrap { padding-bottom: 22px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
@media (max-width: 640px) { .two { grid-template-columns: 1fr; } .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tile.big b { font-size: 1.9rem; } }
/* الجداول على الجوال: تمرير أفقي داخل البطاقة بدل القص، وأرقام أصغر */
.card table { display: block; overflow-x: auto; white-space: nowrap; }
.card table th, .card table td { font-size: .88rem; padding: 7px 6px; }
.list .shift .d { line-height: 1.5; }
