#creditors-view{max-width:1000px;width:100%;margin:0 auto;align-self:start;grid-column:1/-1;font:13px/1.3 Arial,sans-serif;padding:12px;color:#17191d}
#creditors-view *{box-sizing:border-box}
#creditors-view [hidden]{display:none!important}
#creditors-view .cq-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}
#creditors-view h1{font-size:19px;margin:0 0 2px}
#creditors-view .cq-muted,#creditors-view .cq-code,#creditors-view .cq-buyer,#creditors-view .cq-period{font-size:11px;color:#666f7b}
#creditors-view button,#creditors-view input,#creditors-view select{font:inherit}
#creditors-view .cq-heading button{padding:9px 11px;font-size:12px}
#creditors-view .cq-searchbar{display:flex;align-items:flex-start;gap:6px;margin-bottom:8px}
#creditors-view #cq-search{min-width:0;width:0;flex:1;background:white;border:1px solid #d9dce3;border-radius:6px;padding:8px;font-size:16px;height:37px}
#creditors-view #cq-filters{position:relative;flex-shrink:0}
#creditors-view #cq-filters summary{background:white;border:1px solid #d9dce3;border-radius:6px;padding:10px;font-size:12px;cursor:pointer;list-style:none}
#creditors-view #cq-filters .cq-filter-box{position:absolute;right:0;top:40px;width:270px;max-width:calc(100vw - 32px);padding:10px;background:white;border:1px solid #d9dce3;border-radius:6px;z-index:5;box-shadow:0 4px 12px #0002;font-size:12px}
#creditors-view #cq-buyer{display:block;width:100%;margin-top:5px}
#creditors-view .cq-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:8px 0;border:1px solid #d9dce3;border-radius:7px;background:white;font-variant-numeric:tabular-nums}
#creditors-view .cq-totals>div{padding:0 9px;min-width:0}
#creditors-view .cq-totals>div+div{border-left:1px solid #d9dce3}
#creditors-view .cq-totals span{display:block;font-size:11px;color:#666f7b;min-height:27px}
#creditors-view .cq-totals b{display:block;font-size:19px;white-space:nowrap;letter-spacing:-.4px}
#creditors-view .cq-red{color:#ce1539}
#creditors-view #cq-asof{margin:5px 0 9px}
#creditors-view #cq-status{font-size:12px;margin:5px 0;color:#6f4a15}
#creditors-view .cq-tools{display:flex;align-items:center;flex-wrap:wrap;gap:6px;font-size:11px;color:#666f7b;margin-bottom:6px}
#creditors-view .cq-tools label{display:flex;align-items:center;gap:4px}
#creditors-view select{border:1px solid #d9dce3;background:white;border-radius:5px;padding:5px 3px;font-size:11px;color:#17191d;max-width:100%;height:30px;min-height:30px;width:auto;margin:0}
#creditors-view #cq-count{margin-bottom:7px}
#creditors-view #cq-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,350px),1fr));align-items:start;gap:8px}
#creditors-view .cq-card{background:#fff;border:1px solid #d9dce3;border-radius:7px;padding:9px;overflow:hidden}
#creditors-view .cq-top{display:flex;justify-content:space-between;flex-wrap:wrap;align-items:baseline;gap:4px 8px}
#creditors-view .cq-top h2{font-size:13px;margin:0;overflow-wrap:anywhere}
#creditors-view .cq-buyer{margin-left:auto;max-width:100%;overflow-wrap:anywhere}
#creditors-view .cq-code{margin-top:4px}
#creditors-view .cq-metrics{display:grid;grid-template-columns:1fr 1.15fr 1fr;margin-top:10px;font-variant-numeric:tabular-nums}
#creditors-view .cq-metrics>div{padding:0 5px;min-width:0}
#creditors-view .cq-metrics>div:first-child{padding-left:0}
#creditors-view .cq-metrics>div+div{border-left:1px solid #d9dce3}
#creditors-view .cq-metrics span{display:block;font-size:11px;color:#666f7b;white-space:nowrap;letter-spacing:-.2px;margin-bottom:4px}
#creditors-view .cq-metrics b{font-size:17px;white-space:nowrap;letter-spacing:-.5px}
#creditors-view .cq-period{margin-top:4px}
#creditors-view .cq-expand{padding:3px 7px;font-size:11px;line-height:1.2;border:1px solid #d9dce3;background:#f5f6f8;border-radius:4px;margin-top:5px;cursor:pointer;min-height:0}
#creditors-view .cq-detail{border-top:1px solid #d9dce3;margin:8px -9px -1px;padding:8px 9px 0}
#creditors-view .cq-split{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:8px}
#creditors-view .cq-split h3{font-size:11px;font-weight:400;color:#666f7b;margin:0 0 5px}
#creditors-view .cq-split table{width:100%;border-collapse:collapse;font-size:11px;font-variant-numeric:tabular-nums}
#creditors-view .cq-split th{font-weight:400;text-align:left;padding:5px 0;border-bottom:1px solid #d9dce3;text-transform:capitalize}
#creditors-view .cq-split td{font-weight:700;text-align:right;padding:5px 0 5px 3px;border-bottom:1px solid #d9dce3;white-space:nowrap}
#creditors-view .cq-sum{background:#f5f6f8}
#creditors-view .cq-stock{padding-left:8px;border-left:1px solid #d9dce3}
#creditors-view .cq-stock>div{font-size:11px;color:#666f7b;line-height:1.15;margin-bottom:5px}
#creditors-view .cq-stock b{display:block;font-size:13px;color:#17191d;font-variant-numeric:tabular-nums;margin-top:2px;white-space:nowrap}
#creditors-view .cq-meta{display:grid;grid-template-columns:103px minmax(0,1fr);gap:5px;font-size:12px;margin-top:7px;overflow-wrap:anywhere}
#creditors-view .cq-meta>span:first-child{font-size:11px;color:#666f7b}
#creditors-view .cq-comment{white-space:pre-wrap}
#creditors-view .cq-warning{font-size:11px;color:#805410;margin-top:7px}
#creditors-view .cq-pages{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:12px}
.cq-roles{margin-top:10px;font-size:12px}.cq-roles label{display:inline-flex;align-items:center;gap:3px;margin:4px 8px 4px 0}.cq-roles span{display:block;font-size:12px}
@media(max-width:600px){#creditors-view{padding:10px 8px}#creditors-view .cq-totals b{font-size:17px}#creditors-view .cq-totals>div{padding:0 6px}}
@media(max-width:360px){#creditors-view .cq-card{padding:8px 5px}#creditors-view .cq-metrics b{font-size:14px}#creditors-view .cq-metrics>div{padding:0 2px}#creditors-view .cq-metrics span{letter-spacing:-.4px}#creditors-view .cq-totals b{font-size:15px}#creditors-view .cq-detail{margin-left:-5px;margin-right:-5px;padding-left:5px;padding-right:5px}}
/* Match the compact DZ/PDZ controls and use a 3:1 search/filter split. */
#creditors-view .cq-searchbar{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,1fr);gap:5px;margin-bottom:6px}
#creditors-view #cq-search{width:100%;min-height:32px;height:32px;padding:5px 8px;font-size:14px;line-height:1.2;border-radius:5px}
#creditors-view #cq-filters{min-width:0}
#creditors-view #cq-filters summary{height:32px;min-height:32px;padding:7px 4px;font-size:11px;text-align:center;white-space:nowrap;border-radius:5px}
#creditors-view #cq-filters .cq-filter-box{top:35px}
#creditors-view .cq-totals{padding:6px 0;margin:0 0 5px;text-align:center}
#creditors-view .cq-totals span{font-size:10px;line-height:1.15;min-height:0;margin-bottom:2px}
#creditors-view .cq-totals b{font-size:16px;line-height:1.3;letter-spacing:-.3px}
#creditors-view .cq-tools{margin:3px 0 5px;gap:6px;flex-wrap:nowrap}
#creditors-view #cq-scope{flex:1;min-width:0;font-size:10px}
#creditors-view .cq-tools>label{font-size:0;gap:0;flex-shrink:0}
#creditors-view .cq-tools select{min-height:26px;height:26px;font-size:10px;padding:3px 5px;margin:0;width:auto;max-width:143px}
#creditors-view #cq-size{min-width:54px;max-width:90px}
#creditors-view #cq-status:empty{display:none}
#creditors-view .cq-unpriced{margin-top:3px;color:#17191d}
#creditors-view .cq-unpriced summary{font-size:11px;padding:2px 0;cursor:pointer}
#creditors-view .cq-unpriced table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:10px;line-height:1.2;margin-top:3px}
#creditors-view .cq-unpriced th{font-weight:400;color:#666f7b;text-align:left;background:#f5f6f8}
#creditors-view .cq-unpriced th,#creditors-view .cq-unpriced td{padding:3px;border-bottom:1px solid #e3e5e9;vertical-align:top;overflow-wrap:anywhere}
#creditors-view .cq-unpriced th:nth-child(1){width:22%}
#creditors-view .cq-unpriced th:nth-child(2){width:23%}
#creditors-view .cq-unpriced th:nth-child(3){width:55%}
@media(max-width:360px){#creditors-view .cq-totals b{font-size:14px}#creditors-view .cq-tools{gap:4px}#creditors-view .cq-tools select{max-width:126px}}
#creditors-view .cq-expand{background:#d61c38;color:#fff;border-color:#d61c38}
#creditors-view #cq-refresh{font-size:10px;line-height:1.1;min-height:27px;flex:0 0 auto;padding:6px 9px;border-radius:5px}
#creditors-view #cq-buyers{padding:0;border:0;margin:0;max-height:260px;overflow:auto;border-radius:0}
#creditors-view #cq-buyers legend{font-size:11px;color:#666f7b;margin-bottom:5px}
#creditors-view #cq-buyers label{display:flex;align-items:center;gap:6px;font-size:12px;line-height:1.3;padding:5px 0;color:#17191d}
#creditors-view #cq-buyers input{width:16px;height:16px;min-height:16px;flex:0 0 auto;margin:0;padding:0;accent-color:#d61c38}
#creditors-view #cq-clear-buyers{min-height:26px;font-size:11px;padding:3px 7px;margin-top:7px}
#creditors-view .cq-unpriced th:nth-child(1){width:18%}
#creditors-view .cq-unpriced th:nth-child(2){width:21%}
#creditors-view .cq-unpriced th:nth-child(3){width:44%}
#creditors-view .cq-unpriced th:nth-child(4){width:17%;text-align:right}
#creditors-view .cq-unpriced .cq-qty{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
#creditors-view .cq-owners{margin-top:8px;border-top:1px solid #e3e5e9;padding-top:6px}
#creditors-view .cq-owners h3{font-size:11px;font-weight:400;color:#666f7b;margin:0 0 4px}
#creditors-view .cq-owners table{width:100%;border-collapse:collapse;font-size:11px;line-height:1.2;table-layout:fixed}
#creditors-view .cq-owners th{font-size:10px;font-weight:400;color:#666f7b;background:#f5f6f8;text-align:left}
#creditors-view .cq-owners th,#creditors-view .cq-owners td{padding:4px 3px;border-bottom:1px solid #e3e5e9;overflow-wrap:anywhere;vertical-align:top}
#creditors-view .cq-owners th:last-child,#creditors-view .cq-owners td:last-child{width:25%;text-align:right;font-variant-numeric:tabular-nums}
