.crm-ops{--ops-bg:#f3f5f9;--ops-card:#fff;--ops-text:#202638;--ops-muted:#63718c;--ops-border:#dde3ed;--ops-teal:#087f7c;background:var(--ops-bg);color:var(--ops-text);padding:16px;width:100%;min-width:0;min-height:0;flex:1;overflow:auto;font-size:12px}.crm-ops.hidden{display:none!important}.ops-toolbar{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-bottom:8px}.crm-ops .ops-toolbar :is(input,select){width:auto;min-width:120px;max-width:210px;height:34px;border:1px solid var(--ops-border);border-radius:6px;padding:5px 9px;font:inherit}.crm-ops .ops-toolbar input{width:210px}.ops-count{font-size:11px;color:var(--ops-muted);margin-left:auto}.crm-ops button{font:inherit;cursor:pointer}.ops-primary{background:#0f817a;color:white;border:1px solid #0f817a;border-radius:6px;padding:7px 11px}.ops-link{background:transparent;color:var(--ops-teal);border:0;padding:5px 7px;font-size:11px!important}.ops-link:hover{text-decoration:underline}.ops-note{font-size:11px;color:var(--ops-muted);margin:0 0 12px}.ops-error{color:#b45309;margin:10px 0}.ops-table{overflow:auto;border:1px solid var(--ops-border);border-radius:11px;background:var(--ops-card);min-height:240px}.ops-table table{border-collapse:collapse;width:100%;font-size:12px;white-space:nowrap}.ops-table th{text-align:left;font-size:10px;text-transform:uppercase;font-weight:600;color:var(--ops-muted);background:var(--ops-bg)}.ops-table :is(th,td){padding:11px 13px;border-bottom:1px solid var(--ops-border)}.ops-table tr:last-child td{border-bottom:0}.ops-table td.ops-empty{padding:60px 20px;text-align:center;color:var(--ops-muted)}.ops-overdue{color:#b45309}.ops-badge{background:var(--ops-bg);padding:3px 7px;border-radius:5px;font-size:10px}.crm-ops :focus-visible{outline:2px solid #0d9488;outline-offset:2px}#product-shell #content-stage #main-content.crm-ops-active{padding:0!important;gap:0!important;overflow:hidden}:root[data-es-color-mode=dark] .crm-ops{--ops-bg:#101724;--ops-card:#1b2638;--ops-text:#f0f4fa;--ops-muted:#b1bdd1;--ops-border:#334155;--ops-teal:#72ddd0}:root[data-es-color-mode=dark] .ops-overdue{color:#ffcf8d}@media(max-width:700px){.crm-ops{padding:12px}.crm-ops .ops-toolbar :is(input,select){height:42px}.crm-ops button{min-height:40px}.ops-count{margin-left:0}}

/* Property inventory cards retain the existing permission-scoped data and actions. */
.inventory-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:13px;align-items:start}
.inventory-unit-card{background:var(--ops-card);border:1px solid var(--ops-border);border-radius:12px;overflow:hidden;min-width:0;box-shadow:0 1px 2px #2336580a}
.inventory-card-head{display:flex;align-items:center;justify-content:space-between;padding:15px 15px 10px;gap:10px}
.inventory-unit-icon{display:grid;place-items:center;width:35px;height:35px;border-radius:10px;background:#e5f3f1;color:#0f817a}
.inventory-unit-icon svg{width:21px;height:21px}
.inventory-status{font-size:10px;font-weight:600;padding:4px 8px;border-radius:5px;border:1px solid transparent}
.inventory-status[data-status=available]{background:#eaf7ee;color:#247443;border-color:#d5ebdc}
.inventory-status[data-status=allocated]{background:#fff5df;color:#926518;border-color:#f3e5c3}
.inventory-status[data-status=booked]{background:#eaf1ff;color:#365f9c;border-color:#d5e2fb}
.inventory-unit-card .inventory-project-name{margin:0 15px 3px;color:var(--ops-muted);font-size:11px;overflow-wrap:anywhere}
.inventory-unit-card h2{margin:0 15px;font-size:19px;font-weight:650;letter-spacing:-.3px;line-height:1.4;color:var(--ops-text);overflow-wrap:anywhere}
.inventory-unit-card .inventory-firm-name{margin:4px 15px 0;color:var(--ops-muted);font-size:10px}
.inventory-unit-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 10px;margin:16px 15px}
.inventory-unit-details div{min-width:0}.inventory-unit-details dt{color:var(--ops-muted);font-size:10px;margin-bottom:3px}.inventory-unit-details dd{margin:0;font-size:13px;font-weight:600;color:var(--ops-text);overflow-wrap:anywhere}
.inventory-unit-card footer{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;border-top:1px solid var(--ops-border);background:var(--ops-bg)}
.inventory-unit-card footer>span{font-size:9px;color:var(--ops-muted)}.inventory-unit-card footer button{white-space:nowrap;font-weight:600}
.inventory-card-empty{grid-column:1/-1;background:var(--ops-card);border:1px dashed var(--ops-border);border-radius:10px;padding:50px 20px;text-align:center;color:var(--ops-muted)}
:root[data-es-color-mode=dark] .inventory-unit-icon{background:#203d3c;color:#9ce1d8}
:root[data-es-color-mode=dark] .inventory-status[data-status=available]{background:#203d32;color:#a3e7b5;border-color:#345c46}
:root[data-es-color-mode=dark] .inventory-status[data-status=allocated]{background:#433825;color:#ffdc91;border-color:#665438}
:root[data-es-color-mode=dark] .inventory-status[data-status=booked]{background:#263b56;color:#b3d2ff;border-color:#3d587b}
@media(max-width:400px){.inventory-card-grid{grid-template-columns:minmax(0,1fr)}}
