.ops-panel{margin-top:24px;padding:24px}.ops-head,.ops-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.ops-head h2{margin:0}.ops-panel p{color:var(--muted,#63777a);font-size:13px}.ops-panel label{font-size:13px}.ops-panel select,.ops-panel input{max-width:100%;border:1px solid #d7e1de;border-radius:8px;padding:9px;background:white;color:#152c30;font:inherit}.ops-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0}.ops-maintenance{border:1px solid #d9e5df;border-radius:14px;padding:18px;background:#fbfdfc}.ops-maintenance h3{font-size:15px;margin:0 0 8px}.ops-state{font-size:12px;color:#187f77}.ops-state.overdue,.ops-state.due{color:#ae4e24}.ops-state.missing{color:#697b7f}.ops-state.near{color:#9b7435}.ops-progress{height:6px;background:#e4ece8;border-radius:5px;overflow:hidden;margin:12px 0}.ops-progress span{height:100%;display:block;background:#187f77}.ops-record{padding:14px 0;border-bottom:1px solid #e4ece8;display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.ops-record strong,.ops-record small{display:block}.ops-record small{color:#697b7f;margin-top:5px;overflow-wrap:anywhere}.ops-record.voided{opacity:.6}.ops-panel .ops-table{overflow-x:auto}.ops-table table{border-collapse:collapse;width:100%;font-size:13px;min-width:540px}.ops-table th,.ops-table td{padding:13px;text-align:right;border-bottom:1px solid #e4ece8}.ops-note{padding:12px;background:#f5f3ec;border-radius:8px;font-size:13px;color:#785f35}.ops-dialog{max-width:680px;width:calc(100% - 28px)}.ops-dialog label{display:flex;flex-direction:column;gap:7px}.ops-dialog input,.ops-dialog select,.ops-dialog textarea{width:100%;padding:10px;border:1px solid #d7e1de;border-radius:7px;background:white;font:inherit;box-sizing:border-box}.ops-dialog .ops-checkbox{display:flex;flex-direction:row;align-items:center}.ops-checkbox input{width:auto}.ops-dialog .ops-form-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0}.ops-dialog .ops-full{grid-column:1/-1}.ops-kpis{display:flex;gap:24px;flex-wrap:wrap;margin:18px 0}.ops-kpis strong{display:block;font-size:22px}.ops-kpis small{color:#697b7f}.ops-error{color:#ae4e24;white-space:pre-line}.ops-actions button:focus-visible{outline:3px solid #187f77;outline-offset:3px}@media(max-width:600px){.ops-panel{padding:16px}.ops-grid{grid-template-columns:1fr}.ops-dialog .ops-form-fields{grid-template-columns:1fr}.ops-record{flex-wrap:wrap}.ops-actions .button{flex-grow:1}.ops-kpis{gap:18px}.ops-dialog{max-height:90vh;overflow:auto}}
.performance-machines{display:grid;gap:24px;margin-top:22px}.performance-machine{border-top:1px solid #d9e5df;padding-top:22px;min-width:0}.performance-machine h3{font-size:19px;margin:0 0 8px}.performance-status{font-size:13px;color:#536e6d}.performance-status.over-budget{color:#ae4e24}.performance-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 24px;margin:24px 0}.performance-metrics dt{font-size:12px;color:#536e6d}.performance-metrics dd{font-size:22px;font-weight:600;margin:8px 0;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.performance-metrics small{font-size:11px;line-height:1.7;color:#647778}.budget-comparison table{border-collapse:collapse;width:100%;font-size:13px}.budget-comparison caption{text-align:right;font-size:14px;font-weight:600;padding:14px 0}.budget-comparison td,.budget-comparison th{padding:14px 10px;border-bottom:1px solid #e4ece8;text-align:right;font-variant-numeric:tabular-nums}.budget-comparison thead{color:#536e6d}.budget-comparison tbody tr:last-child{background:#f2f7f5;font-weight:600}.performance-plan,.performance-missing{overflow-wrap:anywhere;line-height:1.9}.performance-open{margin-top:8px}.ops-panel button,.ops-panel input,.ops-panel select,.ops-dialog button{min-height:44px}.ops-panel button:focus-visible,.ops-history summary:focus-visible{outline:3px solid #187f77;outline-offset:3px}.ops-history summary{cursor:pointer;font-weight:600;padding:16px 0;min-height:44px}.ops-dialog .ops-form-fields{padding:0 22px}.ops-dialog .form-actions{position:sticky;bottom:0;background:white;border-top:1px solid #e4ece8;padding:16px 22px;z-index:1}.ops-dialog #ops-form-error{padding:0 22px}.ops-dialog textarea{min-height:76px}.ops-panel #ops-feedback:empty{display:none}.ops-panel #ops-feedback{color:#187f77}.ops-head label{display:flex;flex-direction:column;gap:8px}.ops-panel{scroll-margin-top:90px}
@media(max-width:600px){.performance-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px}.performance-metrics dd{font-size:19px}.performance-machine .ops-head{align-items:flex-start}.performance-machine .ops-head>div{flex:1 1 130px}.performance-machine h3{font-size:18px}.budget-comparison table,.budget-comparison tbody,.budget-comparison tr{display:block}.budget-comparison thead{display:none}.budget-comparison tbody tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;border-bottom:1px solid #d9e5df;padding:12px 0}.budget-comparison tbody th{grid-column:1/-1;border:0;padding:0 8px}.budget-comparison td{padding:6px 8px;border:0;overflow-wrap:anywhere}.budget-comparison td::before{display:block;font-size:10px;color:#647778;font-weight:400;margin-bottom:8px}.budget-comparison td:nth-child(2)::before{content:'التقديري'}.budget-comparison td:nth-child(3)::before{content:'المسجل فعليًا'}.budget-comparison td:nth-child(4)::before{content:'الفرق'}.ops-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ops-actions button{width:100%;font-size:12px;padding-inline:8px}.ops-panel input,.ops-panel select,.ops-dialog input,.ops-dialog select,.ops-dialog textarea,#edit-dialog input,#edit-dialog select,#edit-dialog textarea{font-size:16px}.ops-panel .ops-table{overflow:auto}.ops-table table{min-width:0;font-size:12px}.ops-table th,.ops-table td{padding:10px 8px}.ops-dialog .form-actions{padding-bottom:max(16px,env(safe-area-inset-bottom))}.ops-dialog .ops-form-fields{padding:0 16px}.ops-dialog{max-height:calc(100dvh - 24px)}.ops-record>div{min-width:0;flex:1 1 180px}.ops-head>label{width:100%}.performance-open{width:100%}}
.performance-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;cursor:pointer;min-height:44px;list-style:none;padding-bottom:12px}.performance-summary::-webkit-details-marker{display:none}.performance-summary::after{content:'';width:8px;height:8px;flex-shrink:0;border-inline-end:2px solid #536e6d;border-bottom:2px solid #536e6d;transform:rotate(45deg);margin:8px}.performance-machine[open]>.performance-summary::after{transform:rotate(225deg)}.performance-controls{justify-content:flex-end;margin:8px 0}.performance-summary:focus-visible{outline:3px solid #187f77;outline-offset:3px}
@media(max-width:600px){.budget-comparison caption{display:block;width:100%;box-sizing:border-box}}
