:root{--op-bg:#f4f7fc;--op-card:#fff;--op-text:#10213b;--op-muted:#6d7d96;--op-border:#dce6f3;--op-primary:#2563eb;--op-success:#07864b;--op-danger:#c62828;--op-shadow:0 12px 34px rgba(35,58,95,.08)}
.ops-page{display:grid;gap:16px;color:var(--op-text)}.ops-hero{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:26px 28px;border:1px solid var(--op-border);border-radius:24px;background:linear-gradient(135deg,#fff,#f5f9ff);box-shadow:var(--op-shadow)}.ops-hero h1{margin:4px 0 6px;font-size:34px;letter-spacing:-.03em}.ops-hero p,.ops-toolbar p{margin:0;color:var(--op-muted)}.ops-eyebrow{color:#2563eb;font-size:11px;font-weight:900;letter-spacing:.13em}.ops-primary,.ops-secondary,.ops-link{border:0;border-radius:12px;min-height:42px;padding:10px 16px;font-weight:900;cursor:pointer}.ops-primary{background:linear-gradient(135deg,#1478ef,#6145ef);color:#fff;box-shadow:0 10px 22px rgba(37,99,235,.22)}.ops-secondary{background:#eef4ff;color:#1d4ed8;border:1px solid #cfe0ff}.ops-link{background:#eef4ff;color:#1d4ed8;min-height:34px;padding:7px 11px}.ops-link.danger{background:#fff0f0;color:#c62828}.ops-link:disabled,.ops-primary:disabled,.ops-secondary:disabled{opacity:.45;cursor:not-allowed}.ops-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.ops-kpis article{position:relative;overflow:hidden;padding:20px;border:1px solid var(--op-border);border-radius:20px;background:var(--op-card);box-shadow:var(--op-shadow)}.ops-kpis article:after{content:"";position:absolute;width:84px;height:84px;border-radius:50%;right:-24px;top:-24px;background:rgba(37,99,235,.07)}.ops-kpis small,.ops-table small,.ops-detail-grid small{display:block;color:var(--op-muted)}.ops-kpis strong{display:block;margin:7px 0 4px;font-size:28px}.ops-card{border:1px solid var(--op-border);border-radius:24px;background:var(--op-card);box-shadow:var(--op-shadow);overflow:hidden}.ops-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 22px;border-bottom:1px solid #edf2f8}.ops-toolbar h2{margin:0 0 4px;font-size:19px}.ops-toolbar-actions,.ops-actions{display:flex;align-items:center;gap:8px}.ops-input{width:100%;min-height:42px;border:1px solid #d5e1f0;border-radius:12px;padding:9px 12px;background:#fff;color:#10213b;outline:none}.ops-input:focus{border-color:#60a5fa;box-shadow:0 0 0 4px rgba(37,99,235,.1)}.ops-textarea{resize:vertical}.ops-table-wrap{overflow:auto}.ops-table-wrap.compact{max-height:58vh}.ops-table{width:100%;border-collapse:collapse}.ops-table th{padding:13px 15px;text-align:left;color:#52627a;background:#f6f9fd;font-size:11px;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap}.ops-table td{padding:14px 15px;border-top:1px solid #edf2f8;vertical-align:middle}.ops-table td b,.ops-table td small{display:block}.ops-table tbody tr:hover{background:#fbfdff}.ops-code{display:inline-flex;padding:6px 9px;border-radius:9px;background:#edf4ff;color:#1d4ed8;font-weight:900}.ops-status{display:inline-flex;padding:6px 9px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:11px;font-weight:900}.ops-status.inprogress,.ops-status.partiallyreturned{background:#fff5d6;color:#8a5a00}.ops-status.pendingreview{background:#e0f2fe;color:#075985}.ops-status.returned,.ops-status.approved,.ops-status.posted,.ops-status.fiscalized{background:#dcfce7;color:#067a42}.ops-status.cancelled,.ops-status.rejected{background:#fff1f2;color:#b42318}.ops-progress{height:7px;margin-top:6px;border-radius:999px;background:#e8eef7;overflow:hidden}.ops-progress span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#2563eb,#10b981)}.ok{color:#07864b!important}.warn{color:#c2410c!important}.ops-alert{padding:14px 16px;border-radius:16px;font-weight:800}.ops-alert.error{border:1px solid #fecdd3;background:#fff1f2;color:#b42318}.ops-alert.success{border:1px solid #bbf7d0;background:#dcfce7;color:#067a42}.ops-loading,.ops-empty{padding:36px;text-align:center;color:var(--op-muted)}.ops-loading span{display:inline-block;width:20px;height:20px;margin-right:8px;border:3px solid #dbeafe;border-top-color:#2563eb;border-radius:50%;animation:opspin .8s linear infinite}.ops-empty b,.ops-empty small{display:block}.ops-empty b{color:var(--op-text);font-size:16px}.ops-empty small{margin-top:5px}.ops-modal-backdrop{position:fixed;inset:0;z-index:1100;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(8,20,40,.56);backdrop-filter:blur(5px)}.ops-modal{width:min(720px,96vw);max-height:92vh;overflow:auto;border-radius:24px;background:#fff;box-shadow:0 24px 70px rgba(0,0,0,.28)}.ops-modal.wide{width:min(1120px,96vw)}.ops-modal-head{display:flex;justify-content:space-between;align-items:center;padding:22px 24px;border-bottom:1px solid #edf2f8}.ops-modal-head h2{margin:4px 0 0}.ops-modal-head>button{width:40px;height:40px;border:0;border-radius:12px;background:#eef3fa;font-size:18px}.ops-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;padding:22px 24px}.ops-form-grid.one-column{grid-template-columns:1fr}.ops-form-grid label{display:grid;gap:6px;color:#52627a;font-size:12px;font-weight:800}.ops-check{display:flex!important;align-items:center;gap:9px;grid-column:1/-1}.ops-modal-actions{display:flex;justify-content:flex-end;gap:10px;padding:16px 24px;border-top:1px solid #edf2f8}.ops-detail-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:18px 24px}.ops-detail-grid>div{padding:14px;border:1px solid var(--op-border);border-radius:14px;background:#f8fbff}.notify-workspace{display:grid;grid-template-columns:minmax(340px,.85fr) minmax(480px,1.15fr);gap:16px}.notify-presets{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:0 24px 18px;color:var(--op-muted);font-size:12px}.notify-presets button{border:1px solid #d7e3f2;border-radius:999px;padding:7px 10px;background:#fff;color:#334155;font-weight:800}.notify-agent-list{max-height:560px;overflow:auto}.notify-agent-row{display:flex;align-items:center;gap:11px;padding:13px 18px;border-top:1px solid #edf2f8;cursor:pointer}.notify-agent-row:hover{background:#fbfdff}.notify-avatar{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:12px;background:linear-gradient(135deg,#1478ef,#6145ef);color:#fff;font-weight:900}.notify-agent-main{min-width:0;flex:1}.notify-agent-main b,.notify-agent-main small{display:block}.notify-agent-main small{color:var(--op-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.notify-ready{padding:6px 9px;border-radius:999px;background:#dcfce7;color:#067a42;font-size:10px;font-weight:900}.returns-hero-web{background:linear-gradient(135deg,#fff,#fff5f5)}.inventory-hero-web{background:linear-gradient(135deg,#fff,#f1fbff)}@keyframes opspin{from{transform:matrix(1,0,0,1,0,0)}to{transform:matrix(1,0,0,1,0,0)}}
@media(max-width:1000px){.ops-kpis{grid-template-columns:repeat(2,1fr)}.notify-workspace{grid-template-columns:1fr}.ops-detail-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){.ops-hero,.ops-toolbar{align-items:flex-start;flex-direction:column}.ops-hero h1{font-size:27px}.ops-kpis,.ops-form-grid{grid-template-columns:1fr}.ops-toolbar-actions{width:100%;flex-wrap:wrap}.ops-table{min-width:900px}.ops-detail-grid{grid-template-columns:1fr}}

/* MOB365 R13.5 – Business Central inspired inventory / returns */
.bc-ops-workspace{gap:14px;max-width:100%}.bc-ops-hero{border-radius:12px;padding:23px 26px;box-shadow:none;border-color:#dce6ed;background:#fff}.bc-ops-hero h1{font-size:28px;color:#12344a}.bc-ops-hero .ops-eyebrow{color:#087f88}.bc-ops-workspace .ops-kpis{gap:12px}.bc-ops-workspace .ops-kpis article{border-radius:10px;box-shadow:none;padding:18px 20px}.bc-ops-workspace .ops-kpis article strong{color:#14344a}.bc-ops-card{border-radius:12px;box-shadow:none;border-color:#dce6ed}.bc-ops-card .ops-toolbar{padding:16px 18px;align-items:flex-start}.bc-ops-card .ops-toolbar-actions{flex-wrap:wrap;justify-content:flex-end;max-width:70%}.bc-ops-card .ops-toolbar-actions>.ops-input{width:auto;min-width:155px;flex:1 1 180px}.bc-ops-card .ops-toolbar-actions>.bc-ops-select{min-width:140px;flex:0 1 155px}.bc-ops-card .ops-input{border-radius:6px;min-height:36px}.bc-ops-card .ops-secondary{border-radius:6px;min-height:36px;padding:7px 12px}.bc-ops-card .ops-table th{background:#f1f5f9;color:#466079}.bc-ops-card .ops-table td{padding:12px 14px}.bc-ops-card .ops-link{border-radius:6px}.bc-ops-tabs{display:flex;gap:5px;flex-wrap:wrap;border:1px solid #dce6ed;border-radius:10px;background:#fff;padding:8px}.bc-ops-tab{background:transparent;border:1px solid transparent;color:#486078;border-radius:7px;padding:10px 13px;font-weight:700;cursor:pointer}.bc-ops-tab span{margin-left:5px;padding:2px 6px;border-radius:6px;background:#edf3fa;font-size:12px}.bc-ops-tab.active{background:#eaf3ff;border-color:#c6ddfb;color:#155fc4}.bc-ops-tab.active span{background:#d5e8ff}.bc-ops-tab:hover:not(.active){background:#f3f7fc}.bc-ops-results{font-size:12px;color:#64748b;padding:9px 18px;border-bottom:1px solid #e8eef4}.bc-ops-workspace .ops-status{border-radius:6px}.bc-ops-workspace .ops-primary{border-radius:7px;background:#1468d6;box-shadow:none}@media(max-width:900px){.bc-ops-card .ops-toolbar-actions{max-width:100%;width:100%;justify-content:flex-start}.bc-ops-card .ops-toolbar-actions>.ops-input{flex:1 1 180px}.bc-ops-tabs{overflow-x:auto;flex-wrap:nowrap}.bc-ops-tab{white-space:nowrap}}
