.crm-ops{font:14px/1.5 Inter,system-ui,sans-serif;color:#24324a;--ops-card:#fff;--ops-border:#e2e8f0;--ops-muted:#64748b}.dark .crm-ops{color:#e2e8f0;--ops-card:#172033;--ops-border:#334155;--ops-muted:#94a3b8}.crm-ops-nav{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:24px}.crm-ops-nav a{padding:9px 14px;border:1px solid var(--ops-border);border-radius:8px}.crm-ops-nav a.active{background:#5541bd;color:white;border-color:#5541bd}.crm-ops-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:24px}.crm-ops h1{font-size:28px;font-weight:750}.crm-ops h2{font-size:20px;font-weight:700}.crm-ops-heading p,.crm-ops-help{color:var(--ops-muted);margin-top:5px}.crm-ops button{cursor:pointer}.crm-ops-heading>button,.crm-ops-modal footer button:last-child{background:#5541bd;color:#fff;border-radius:8px;padding:10px 16px;font-weight:650}.crm-ops-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}.crm-ops-metrics>button,.crm-ops-metrics>div{display:flex;flex-direction:column;text-align:left;padding:20px;background:var(--ops-card);border:1px solid var(--ops-border);border-top:3px solid #8b5cf6;border-radius:12px}.crm-ops-metrics span{color:var(--ops-muted);font-size:12px}.crm-ops-metrics strong{font-size:27px;color:#8b6de4;margin-top:6px}.crm-ops-filters{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-bottom:18px}.crm-ops input,.crm-ops select,.crm-ops textarea{background:var(--ops-card);color:inherit;border:1px solid var(--ops-border);border-radius:7px;padding:9px 12px;font-size:14px;max-width:100%}.crm-ops-filters>input{flex:1;min-width:190px}.crm-ops-filters>button{padding:9px 13px;background:#5541bd;color:white;border-radius:7px}.crm-ops-table{border:1px solid var(--ops-border);border-radius:12px;overflow:auto;background:var(--ops-card)}.crm-ops table{width:100%;text-align:left;border-collapse:collapse}.crm-ops th{font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:var(--ops-muted);background:#64748b0c}.crm-ops th,.crm-ops td{padding:13px 16px;border-bottom:1px solid var(--ops-border);vertical-align:top}.crm-ops td small{display:block;font-size:11px;color:var(--ops-muted);margin-top:3px}.crm-ops td a,.crm-ops-link{color:#7095ed;font-weight:600}.crm-ops-status{display:inline-block;border-radius:20px;padding:3px 9px;font-size:11px;font-weight:650;background:#64748b22;color:var(--ops-muted)}.crm-ops-status--approved,.crm-ops-status--paid{background:#10b98120;color:#10b981}.crm-ops-status--requested,.crm-ops-status--sent{background:#3b82f620;color:#5896ef}.crm-ops-status--pending,.crm-ops-status--draft{background:#f59e0b20;color:#d99a20}.crm-ops-status--cancelled,.crm-ops-status--declined{background:#ef444420;color:#ef6666}.crm-ops-actions{min-width:160px}.crm-ops-actions>button,.crm-ops-actions>a{display:inline-block;border:1px solid var(--ops-border);border-radius:6px;padding:4px 7px;margin:0 4px 5px 0;font-size:11px;white-space:nowrap}.crm-ops-pagination{margin:18px 0}.crm-ops-detail{padding:24px;background:var(--ops-card);border:1px solid var(--ops-border);border-radius:12px;margin-top:24px}.crm-ops-detail header,.crm-ops-modal header{display:flex;justify-content:space-between;gap:15px;margin-bottom:18px}.crm-ops-detail p{margin:12px 0;white-space:pre-wrap}.crm-ops-detail label{display:block;margin:12px 0}.crm-ops-detail label input{display:block;width:100%}.crm-ops-modal-backdrop{position:fixed;inset:0;background:#020617b3;backdrop-filter:blur(3px);z-index:2000;display:flex;align-items:center;justify-content:center;padding:20px}.crm-ops-modal{background:var(--ops-card);border:1px solid var(--ops-border);width:750px;max-width:100%;max-height:90vh;overflow:auto;padding:25px;border-radius:14px;box-shadow:0 20px 80px #0005}.crm-ops-modal header>button{font-size:24px}.crm-ops-modal label{display:flex;flex-direction:column;gap:5px;margin-bottom:14px;font-size:12px;color:var(--ops-muted)}.crm-ops-modal input,.crm-ops-modal select,.crm-ops-modal textarea{width:100%;color:inherit}.crm-ops-modal fieldset{border:1px solid var(--ops-border);padding:14px;border-radius:8px;margin:15px 0}.crm-ops-modal legend{font-size:12px;padding:0 5px}.crm-ops-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.crm-ops-modal footer{display:flex;justify-content:flex-end;gap:15px;margin-top:22px}.crm-ops-modal p{font-size:12px;color:var(--ops-muted);margin:8px 0}.crm-ops-error{border:1px solid #f8717180;background:#ef44441a;color:#e75d5d;padding:12px;border-radius:8px;margin:12px 0}.crm-ops-help{margin-top:15px;font-size:12px}.crm-ops-file-list{display:flex;gap:12px;flex-wrap:wrap}.crm-ops-file-list a{color:#7095ed}.crm-ops-image{max-width:110px;max-height:90px;object-fit:contain;border-radius:7px;margin:8px 0}@media(max-width:700px){.crm-ops-heading{align-items:flex-start;flex-direction:column}.crm-ops-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.crm-ops-metrics strong{font-size:23px}.crm-ops th,.crm-ops td{padding:10px}.crm-ops-modal{padding:17px}.crm-ops-form-grid{grid-template-columns:1fr}.crm-ops h1{font-size:24px}}

.crm-ops-filters button[aria-pressed="false"]{background:var(--ops-card);color:var(--ops-muted);border:1px solid var(--ops-border)}
