#mrpAdvanced{--mrp-accent:#6350bd;--mrp-ink:#18243b;--mrp-muted:#68768e;color:var(--mrp-ink);font-size:13px!important}
#mrpAdvanced *{box-sizing:border-box}
#mrpAdvanced .mrp-hero{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:24px;border-radius:18px;background:linear-gradient(120deg,#f3effc,#eff6fc);border:1px solid #dfdff1;margin-bottom:16px}
#mrpAdvanced h2{font-size:24px!important;margin:7px 0}#mrpAdvanced h3{font-size:17px!important;margin:0 0 15px}#mrpAdvanced p{line-height:1.9}
#mrpAdvanced .mrp-eyebrow{font-size:10px;letter-spacing:2px;color:#6450a6;font-weight:800;direction:ltr;text-align:right}
#mrpAdvanced .mrp-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}
#mrpAdvanced button,.mrp-modal button{font-family:inherit;cursor:pointer;font-size:12px!important;padding:10px 15px!important;border:1px solid #d5dceb;border-radius:10px;color:#34455e;background:#fff}
#mrpAdvanced button.selected,#mrpAdvanced button.mrp-primary,.mrp-modal button.mrp-primary{background:#6350bd;color:#fff;border-color:#6350bd}
#mrpAdvanced button:disabled{opacity:.45;cursor:not-allowed}
#mrpAdvanced .mrp-box{border:1px solid #e0e4ed;border-radius:16px;padding:20px;background:#fff;margin:16px 0}
#mrpAdvanced .mrp-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:end}
#mrpAdvanced label,.mrp-modal label{display:block;font-size:11px!important;font-weight:700;color:#64708b;margin-bottom:5px}
#mrpAdvanced input,#mrpAdvanced select,#mrpAdvanced textarea,.mrp-modal input,.mrp-modal textarea{width:100%;padding:11px!important;background:#fafbfe!important;border:1px solid #d8dfeb!important;color:#1c2940!important;border-radius:8px;font-family:inherit;font-size:13px!important;min-height:42px}
#mrpAdvanced input[type=checkbox]{width:auto;min-height:initial}
#mrpAdvanced .mrp-scroll{overflow:auto;margin:12px 0}#mrpAdvanced table{width:100%;border-collapse:collapse;font-size:12px!important;white-space:nowrap}
#mrpAdvanced th{background:#f3f5fb;color:#68748b;text-align:right;padding:12px!important;font-size:11px!important;border-bottom:1px solid #d9e1ec}
#mrpAdvanced td{padding:12px!important;border-bottom:1px solid #edf0f7;font-size:12px!important;vertical-align:middle}
#mrpAdvanced table input,#mrpAdvanced table select{min-width:110px}#mrpAdvanced table .mrp-product{min-width:250px}
#mrpAdvanced .mrp-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}#mrpAdvanced .mrp-kpi{background:#fff;border:1px solid #e0e5f0;padding:17px;border-radius:13px}#mrpAdvanced .mrp-kpi b{display:block;margin-top:10px;font-size:25px!important;font-variant-numeric:tabular-nums}
#mrpAdvanced .mrp-help{color:var(--mrp-muted);font-size:12px;line-height:1.9}#mrpAdvanced .mrp-note{padding:13px;border:1px solid #eadbb4;background:#fff9ea;color:#786038;border-radius:10px;line-height:1.9;font-size:12px}
#mrpMessage{padding:12px;min-height:38px;line-height:1.8;color:#32694d}#mrpMessage[data-error=true]{background:#fff0ee;color:#a43c36;border-radius:10px}
#mrpAdvanced .mrp-tag{display:inline-block;padding:4px 8px;border-radius:6px;background:#eff3f9;color:#415676;font-size:11px}#mrpAdvanced .mrp-tag.done,#mrpAdvanced .mrp-tag.accepted,#mrpAdvanced .mrp-tag.active{background:#e8f6ef;color:#237347}#mrpAdvanced .mrp-tag.running,#mrpAdvanced .mrp-tag.in_progress{background:#ece8ff;color:#6851b2}#mrpAdvanced .mrp-tag.rejected{background:#ffeeee;color:#a03e3e}
#mrpAdvanced .mrp-operation{border-right:4px solid #afa0da;padding:14px;margin:12px 0;background:#fafafe;border-radius:10px}#mrpAdvanced .mrp-op-head{display:flex;justify-content:space-between;gap:14px;align-items:center;flex-wrap:wrap}#mrpAdvanced .mrp-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
#mrpAdvanced .mrp-empty{padding:36px;text-align:center;color:#64748b;border:1px dashed #cbd5e1;border-radius:12px}#mrpAdvanced .mrp-wide{grid-column:1/-1}
.mrp-modal{border:0;border-radius:18px;padding:25px;width:min(540px,92vw);font-family:inherit;direction:rtl;box-shadow:0 25px 70px #0003}.mrp-modal::backdrop{background:#111b2b77}.mrp-modal .field{margin:14px 0}.mrp-modal h3{margin:0 0 18px}.mrp-modal footer{display:flex;gap:10px;margin-top:20px}
@media(max-width:950px){#mrpAdvanced .mrp-grid{grid-template-columns:1fr 1fr}#mrpAdvanced .mrp-kpis{grid-template-columns:1fr 1fr}}@media(max-width:600px){#mrpAdvanced .mrp-grid{grid-template-columns:1fr}#mrpAdvanced .mrp-hero{display:block}}
