/* غرفة العمليات · قيم 165 — جدول ومحطات */
.o-room{display:block}
.o-head{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;background:linear-gradient(120deg,#43287f,#5b3fa0 55%,#4f79c9);color:#fff;border-radius:20px;padding:20px 24px;margin-bottom:14px}
.o-head h2{margin:0;font-size:26px;color:#fff}
.o-head p{margin:4px 0 0;opacity:.85}
.o-kpis{display:flex;gap:10px;flex-wrap:wrap}
.o-kpis div{background:#ffffff1f;border-radius:14px;padding:8px 16px;text-align:center;min-width:84px}
.o-kpis strong{display:block;font-size:24px}
.o-kpis span{font-size:12px;opacity:.9}
.o-kpis .bad strong{color:#ffc2b8}.o-kpis .ok strong{color:#b9f0cf}
.o-tools{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-bottom:8px}
.o-filters{display:flex;gap:6px;flex-wrap:wrap}
.o-filters button,.o-switch{border:1px solid #e3ddf0;background:#fff;color:#24203a;border-radius:20px;padding:8px 14px;font:inherit;font-size:14px;cursor:pointer;min-height:40px}
.o-filters button em{font-style:normal;color:#7a7690;margin-inline-start:4px}
.o-filters button.on{background:#5b3fa0;border-color:#5b3fa0;color:#fff}.o-filters button.on em{color:#e5dcff}
.o-switch{margin-inline-start:auto;background:#f6f3fc}
#o-search{flex:1;min-width:180px;max-width:320px;border:1px solid #e3ddf0;border-radius:20px;padding:9px 14px;font:inherit;font-size:15px;background:#fff}
.o-legend{display:flex;gap:14px;flex-wrap:wrap;font-size:12px;color:#7a7690;margin:6px 4px 10px}
.o-legend i{display:inline-block;width:10px;height:10px;border-radius:50%;background:#e3ddf0;margin-inline-end:5px;vertical-align:middle}
.o-legend i.d{background:#14a39a}.o-legend i.c{background:#e8a317}
.o-table{background:#fff;border-radius:18px;box-shadow:0 1px 4px #2a1d5010;overflow:hidden}
.o-tr{display:grid;grid-template-columns:minmax(0,2.2fr) minmax(0,1.1fr) 170px minmax(0,1.2fr) 110px;gap:12px;align-items:center;padding:12px 18px;border:0;border-top:1px solid #f0ecf7;background:#fff;width:100%;font:inherit;color:inherit;text-align:right;cursor:pointer}
.o-tr:hover{background:#faf8fe}
.o-th{background:#f3effb;font-size:13px;color:#5a5570;font-weight:700;cursor:default;border-top:0}
.o-th:hover{background:#f3effb}
.o-name b{font-size:15px}
.o-mgr{color:#5a5570;font-size:14px}
.o-route{display:flex;align-items:center}
.o-route span{position:relative;flex:1;display:flex;flex-direction:column;align-items:center}
.o-route span::before{content:"";position:absolute;top:6px;left:50%;width:100%;height:3px;background:#e3ddf0;z-index:0}
.o-route span:first-child::before{display:none}
.o-route span.d::before,.o-route span.c::before{background:#14a39a}
.o-route i{position:relative;z-index:1;width:14px;height:14px;border-radius:50%;background:#fff;border:3px solid #e3ddf0}
.o-route .d i{background:#14a39a;border-color:#14a39a}
.o-route .c i{background:#e8a317;border-color:#e8a317;box-shadow:0 0 0 4px #e8a31733}
.o-route.big i{width:22px;height:22px}
.o-route.big span::before{top:10px;height:4px}
.o-route.big small{margin-top:8px;font-size:13px;color:#5a5570;text-align:center}
.o-route.big .c small{color:#a77208;font-weight:700}
.o-pct{display:flex;align-items:center;gap:8px}
.o-bar{flex:1;height:8px;background:#eee9f6;border-radius:5px;overflow:hidden;min-width:50px}
.o-bar i{display:block;height:100%;background:#14a39a;border-radius:5px}
.o-pct b{font-size:13px;min-width:38px;text-align:left}
.o-tag{display:inline-block;padding:4px 10px;border-radius:12px;font-size:12px;font-weight:700;white-space:nowrap}
.o-tag.ok{background:#e7f6ee;color:#227a47}.o-tag.warn{background:#fff4dc;color:#a77208}.o-tag.bad{background:#fdecea;color:#c43c2c}
.o-tag.done{background:#efeafb;color:#5b3fa0}.o-tag.idle{background:#f1f1f4;color:#6b6880}
.o-mute{color:#8a8699}
.o-empty{padding:24px;text-align:center;color:#8a8699}
.o-back{border:0;background:none;color:#5b3fa0;font:inherit;font-weight:700;cursor:pointer;padding:6px 0;margin-bottom:8px;min-height:40px}
.o-hero{display:flex;justify-content:space-between;align-items:center;gap:16px;background:linear-gradient(120deg,#43287f,#5b3fa0 55%,#4f79c9);color:#fff;border-radius:20px;padding:22px 26px;margin-bottom:14px}
.o-hero small{opacity:.85}.o-hero h2{margin:4px 0 10px;font-size:26px;color:#fff}
.o-big{font-size:40px;font-weight:800;text-align:center;line-height:1}.o-big small{display:block;font-size:13px;font-weight:400;opacity:.85;margin-top:4px}
.o-box{background:#fff;border-radius:18px;padding:16px 20px;box-shadow:0 1px 4px #2a1d5010;margin-bottom:14px}
.o-box h3{margin:0 0 12px;font-size:17px;display:flex;align-items:center;gap:8px}
.o-box h3 em{font-style:normal;font-size:12px;background:#f3effb;color:#5b3fa0;border-radius:10px;padding:2px 8px}
.o-box h4{margin:14px 0 6px;font-size:14px;color:#a77208}.o-box h4 small{color:#8a8699;font-weight:400}
.o-cols{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:14px}
.o-pkg{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) 90px 40px;gap:10px;align-items:center;padding:10px 0;border-top:1px solid #f0ecf7}
.o-pkg:first-of-type{border-top:0}
.o-pkg small{display:block;color:#8a8699;font-size:12px}
.o-pkgv span{font-size:13px}
.o-kv{display:grid;grid-template-columns:110px minmax(0,1fr);gap:10px;padding:6px 0;border-top:1px solid #f6f3fa;font-size:14px}
.o-kv:first-of-type{border-top:0}.o-kv span{color:#8a8699}.o-kv p{margin:0}
.o-list{list-style:none;margin:0;padding:0}
.o-list li{padding:8px 0;border-top:1px solid #f6f3fa;display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.o-list li:first-child{border-top:0}
.o-list a{color:#5b3fa0;font-weight:600}
.o-list small{color:#8a8699;width:100%;font-size:12px}
@media(max-width:900px){
 .o-th{display:none}
 .o-tr{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"n t" "m m" "r r" "p p";gap:6px;padding:14px 16px}
 .o-tr>span:nth-child(1){grid-area:n}.o-tr>span:nth-child(2){grid-area:m}.o-tr>span:nth-child(3){grid-area:r}.o-tr>span:nth-child(4){grid-area:p}.o-tr>span:nth-child(5){grid-area:t}
 .o-cols{grid-template-columns:1fr}
 .o-pkg{grid-template-columns:minmax(0,1fr) 44px;grid-template-areas:"a e" "b b" "c c"}
 .o-pkg>div:nth-child(1){grid-area:a}.o-pkg>div:nth-child(2){grid-area:b}.o-pkg>.o-bar{grid-area:c}.o-pkg>b{grid-area:e;text-align:left}
 .o-switch{margin-inline-start:0}
 #o-search{max-width:none}
 .o-head h2,.o-hero h2{font-size:22px}
}
.o-hero small,.o-big small,.o-head p{color:#fff!important;opacity:.85}
