.ops-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 20px;padding:5px;background:#eaf1f7;border:1px solid var(--line);border-radius:11px;width:fit-content;max-width:100%}
.ops-tabs button{background:transparent;border-color:transparent;min-height:42px;padding:8px 18px}
.ops-tabs button.active{background:#fff;border-color:#c7dce9;color:var(--blue);box-shadow:0 2px 7px #233e500a;font-weight:600}
.ops-tabs button span{font-size:12px;border-radius:10px;padding:1px 6px;background:#edf6fc}
.ops-toolbar{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap;padding:18px;border-bottom:1px solid var(--line)}
.ops-toolbar label{display:flex;flex-direction:column;gap:6px;min-width:0;color:#435d70}
.ops-toolbar label:first-child{flex:1;min-width:min(280px,100%)}
.ops-toolbar label:not(:first-child){min-width:160px}
.ops-toolbar .actions button{min-height:44px}
.ops-tools{background:#fff;border:1px solid var(--line);border-radius:10px;margin:18px 0;color:var(--muted)}
.ops-tools>summary,.ops-replenishment>summary{padding:14px 18px;cursor:pointer;color:var(--blue);font-weight:600}
.ops-tools-body{padding:0 18px 14px}
.ops-utility-row{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;border-top:1px solid var(--line);padding:12px 0}
.ops-utility-row:last-child{padding-bottom:0}
.ops-replenishment>summary small{margin-left:10px;font-weight:400;white-space:normal}
.ops-replenishment>.note{margin:0 18px 16px}
.ops-inline-details{margin-top:9px;white-space:normal}
.ops-inline-details>summary{cursor:pointer;color:var(--blue);font-size:12px;padding:4px 0}
.ops-inline-details>div{padding:12px;margin-top:8px;background:#f6f9fc;border:1px solid var(--line);border-radius:8px;min-width:300px;max-width:min(850px,75vw)}
.ops-inline-details .table-wrap{background:white;border-radius:8px;margin-top:10px}
.ops-inline-details h3{margin:16px 0 6px}
.ops-inline-details .record-count{background:#fff}
.ops-record-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap;margin:0 0 8px}
.ops-record-heading small{display:block}
.ops-receipt-record+.ops-receipt-record{margin-top:16px;padding-top:16px;border-top:1px solid var(--line)}
.ops-batch-records>details{margin-top:14px}
.ops-batch-records>details>summary{color:var(--blue);cursor:pointer}
.ops-record-tabs{margin-bottom:14px}
.operations-workspace td .actions{gap:5px}
.operations-workspace td .actions button{margin:0}
@media(max-width:720px){
 .ops-tabs{width:100%;gap:3px;flex-wrap:nowrap}
 .ops-tabs button{flex:1;padding:8px 7px;white-space:normal;font-size:13px;line-height:1.5}
 .ops-toolbar{padding:14px;gap:10px}
 .ops-toolbar label:first-child,.ops-toolbar label:not(:first-child){min-width:100%;width:100%;flex:auto}
 .ops-toolbar>.actions{width:100%;justify-content:flex-end}
 .ops-utility-row>.actions{width:100%}
 .ops-utility-row>.actions button{flex:1;min-height:44px;font-size:12px}
 .ops-replenishment>summary small{display:block;margin:6px 0 0}
 .ops-inline-details>div{min-width:270px;max-width:calc(100vw - 85px)}
 .ops-record-tabs button{flex:1;min-height:44px}
}
