/* A. S. Bookbinding ERP V51.63 Hotfix 12 — Reports Platform */
#h10ReportsCenter{max-width:1600px;margin:0 auto;padding:18px 22px 38px;color:var(--ink,#162434)}
#h11ReportsHome,#h11ReportView{min-width:0}
.h11-home-head,.h11-report-titlebar{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:14px}
.h11-home-head h2,.h11-report-titlebar h2{margin:2px 0 0;font-size:24px;line-height:1.2;letter-spacing:-.02em}
.h11-report-titlebar p{margin:5px 0 0;color:var(--muted,#657386);font-size:13px;max-width:880px}
.h11-home-actions{display:flex;align-items:center;gap:8px;min-width:360px;justify-content:flex-end}
.h11-home-actions select,.h11-report-search{height:38px;border:1px solid var(--line,#d9e0e7);border-radius:7px;background:#fff}
.h11-report-search{display:flex;align-items:center;gap:7px;padding:0 10px;min-width:310px;box-shadow:0 1px 1px rgba(14,30,47,.02)}
.h11-report-search span{font-size:18px;color:#68788a}
.h11-report-search input{border:0;outline:0;flex:1;min-width:0;background:transparent;font:inherit}
.h11-home-actions select{padding:0 30px 0 10px;max-width:250px}
.h11-tabs{display:flex;gap:3px;border-bottom:1px solid var(--line,#d9e0e7);margin-bottom:18px}
.h11-tabs button{appearance:none;border:0;background:transparent;padding:9px 12px 10px;color:#526275;font-weight:600;border-bottom:2px solid transparent;margin-bottom:-1px;cursor:pointer}
.h11-tabs button.active{color:#153d5a;border-bottom-color:#153d5a}
.h11-library-section{margin:0 0 21px}
.h11-library-head,.h11-section-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 6px}
.h11-library-head h3,.h11-section-title h3{font-size:13px;text-transform:none;letter-spacing:0;margin:0;color:#26384a}
.h11-library-head>span,.h11-section-title>span{font-size:11px;color:#7a8795}
.h11-library-list,.h11-search-list,.h11-saved-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px;border-top:1px solid #e5e9ed}
.h11-library-row{display:flex;align-items:center;min-width:0;border-bottom:1px solid #e8edf1;min-height:42px}
.h11-report-open{appearance:none;border:0;background:transparent;color:#1c3145;text-align:left;display:flex;align-items:center;gap:8px;min-width:0;flex:1;padding:9px 7px;cursor:pointer;font-size:13px;font-weight:600}
.h11-report-open:hover{color:#0d4d75;text-decoration:underline}
.h11-report-open span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.h11-report-open small{font-size:10px;color:#7b8794;font-weight:500;white-space:nowrap}
.h11-star{appearance:none;border:0!important;background:transparent!important;color:#aab4bd!important;padding:7px 8px!important;min-width:30px!important;cursor:pointer;font-size:15px;line-height:1}
.h11-star.active{color:#a16c00!important}
.h11-empty-state,.h11-empty{padding:30px 18px;text-align:center;color:#687789;border:1px dashed #d6dde4;border-radius:8px;background:#fafbfc}
.h11-empty-state{display:flex;flex-direction:column;align-items:center;gap:7px}
.h11-empty-state b{color:#26384a}
.h11-empty-state button{margin-top:6px}
.h11-back{border:0!important;background:transparent!important;padding:2px 0!important;color:#47667f!important;font-weight:600;cursor:pointer}
.h11-title-row{display:flex;align-items:center;gap:8px}
.h11-toolbar{position:sticky;top:0;z-index:7;display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:9px;border:1px solid #d9e0e7;border-radius:8px;background:rgba(255,255,255,.97);box-shadow:0 2px 8px rgba(25,47,66,.045);margin-bottom:8px}
.h11-toolbar button,.h11-toolbar select,.h11-toolbar input,.h11-customize button,.h11-customize select,.h11-customize input{height:34px;border:1px solid #cfd7df;border-radius:5px;background:#fff;color:#203345;font:inherit;font-size:12px}
.h11-toolbar button{padding:0 11px;cursor:pointer;font-weight:600}
.h11-toolbar button:hover{background:#f5f8fa}
.h11-toolbar .primary,.h11-customize .primary{background:#163f5c!important;border-color:#163f5c!important;color:#fff!important}
.h11-date-control{display:flex;align-items:center;gap:6px;padding-right:2px}
.h11-date-control>span:first-child{font-size:11px;font-weight:700;color:#536476;text-transform:uppercase;letter-spacing:.03em}
.h11-date-control input{width:132px;padding:0 7px}
.h11-preset{padding:0 26px 0 8px}
.h11-menu-wrap{position:relative}
.h11-menu{position:absolute;right:0;top:38px;z-index:30;min-width:190px;padding:5px;background:#fff;border:1px solid #ced7df;border-radius:6px;box-shadow:0 10px 28px rgba(17,35,52,.17)}
.h11-menu.hidden{display:none}
.h11-menu button{display:block;width:100%;text-align:left;border:0!important;background:#fff!important;border-radius:4px;padding:8px 9px!important;height:auto!important;font-weight:500}
.h11-menu button:hover{background:#f3f6f8!important}
.h11-menu .danger-text{color:#9b2c2c!important}
.h11-filter-chips{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin:6px 0 10px}
.h11-filter-chips span{font-size:11px;padding:4px 7px;border:1px solid #dce2e8;background:#f7f9fb;border-radius:12px;color:#556577}
.h11-filter-chips button{border:0;background:transparent;color:#506b80;font-size:11px;cursor:pointer}
.h11-kpis{display:flex;flex-wrap:wrap;gap:0;margin:6px 0 12px;border:1px solid #dde3e8;border-radius:7px;background:#fff;overflow:hidden}
.h11-kpis>div{min-width:125px;flex:1 1 150px;max-width:245px;padding:9px 12px;border-right:1px solid #e5e9ed}
.h11-kpis>div:last-child{border-right:0}
.h11-kpis span{display:block;font-size:10px;color:#6f7d89;text-transform:uppercase;letter-spacing:.035em;margin-bottom:2px}
.h11-kpis b{font-size:17px;color:#162c3f;line-height:1.2;font-variant-numeric:tabular-nums}
.h11-kpis small{display:block;font-size:10px;color:#7c8791;margin-top:2px}
.h11-comparison{margin:10px 0 14px;padding:10px;border:1px solid #dce3e9;border-radius:7px;background:#fbfcfd}
.h11-table-shell{border:1px solid #dce2e7;border-radius:7px;background:#fff;overflow:hidden}
.h11-table-meta{display:flex;align-items:center;justify-content:flex-end;gap:15px;padding:6px 9px;border-bottom:1px solid #e2e7eb;background:#fafbfc;color:#677585;font-size:11px}
.h11-table-meta label{display:flex;align-items:center;gap:5px}
.h11-table-meta select{height:26px;border:1px solid #d1d9e0;border-radius:4px;background:white;font-size:11px}
.h11-table-wrap{width:100%;max-width:100%;overflow-x:auto}
.h11-report-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:12px}
.h11-report-table th{position:sticky;top:0;z-index:2;background:#f4f7f9;color:#435365;text-align:left;font-size:10.5px;font-weight:700;padding:7px 8px;border-bottom:1px solid #ccd6de;cursor:pointer;white-space:normal;overflow-wrap:anywhere}
.h11-report-table td{padding:7px 8px;border-bottom:1px solid #e7ebef;vertical-align:top;color:#263647;overflow-wrap:anywhere}
.h11-report-table tbody tr:hover td{background:#fbfcfd}
.h11-report-table tbody tr:last-child td{border-bottom:0}
.h11-report-table .h11-money,.h11-report-table .h11-qty,.h11-report-table .h11-pct{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.h11-report-table .h11-date,.h11-report-table .h11-datetime{white-space:nowrap}
.h11-cell-link{appearance:none;border:0;background:transparent;color:#14567c;padding:0;text-align:inherit;font:inherit;font-weight:600;cursor:pointer;text-decoration:none}
.h11-cell-link:hover{text-decoration:underline}
.h11-pagination{display:flex;justify-content:flex-end;align-items:center;gap:10px;padding:7px 9px;border-top:1px solid #e2e7eb;background:#fafbfc;font-size:11px;color:#657483}
.h11-pagination button{height:29px;padding:0 10px;border:1px solid #cfd7de;border-radius:4px;background:#fff;cursor:pointer}
.h11-pagination button:disabled{opacity:.45;cursor:default}
.h11-customize{min-width:min(820px,86vw)}
.h11-customize section{border-bottom:1px solid #e1e6ea;padding:0 0 13px;margin:0 0 13px}
.h11-customize h3{font-size:13px;margin:0 0 9px;color:#263a4d}
.h11-custom-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px 12px}
.h11-customize .field{display:flex;flex-direction:column;gap:4px;min-width:0}
.h11-customize .field label{font-size:10.5px;font-weight:700;color:#5e6c79;text-transform:none}
.h11-customize select,.h11-customize input{width:100%;padding:0 7px}
.h11-column-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px 12px}
.h11-column-picker label{display:flex;align-items:center;gap:6px;font-size:12px;color:#33485a}
.h11-column-picker input{width:auto;height:auto}
.h11-customize>.toolbar{display:flex;justify-content:flex-end;gap:7px}
.h11-customize>.toolbar button{padding:0 12px}
.h11-context-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;min-width:min(520px,80vw)}
.h11-context-list button{text-align:left;padding:9px 10px;border:1px solid #d8e0e6;border-radius:5px;background:#fff;cursor:pointer}
.h11-context-list button:hover{background:#f6f8fa}
@media(max-width:1000px){#h10ReportsCenter{padding:14px}.h11-home-head{flex-direction:column}.h11-home-actions{width:100%;min-width:0;justify-content:flex-start}.h11-report-search{min-width:220px;flex:1}.h11-library-list,.h11-search-list,.h11-saved-list{grid-template-columns:1fr}.h11-custom-grid,.h11-column-picker{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.h11-home-actions{flex-direction:column;align-items:stretch}.h11-report-search{width:100%}.h11-toolbar{position:static}.h11-date-control{width:100%;flex-wrap:wrap}.h11-custom-grid,.h11-column-picker,.h11-context-list{grid-template-columns:1fr}.h11-kpis>div{max-width:none}.h11-table-meta{justify-content:flex-start;flex-wrap:wrap}}
.h11-report-loading{padding:28px 16px;text-align:center;color:#657585;border:1px solid #e0e5e9;border-radius:7px;background:#fafbfc}

/* Hotfix 12: index-level fallback shell while the report engine initializes. */
.h12-reports-fallback{max-width:1600px;margin:0 auto;padding:20px 22px 36px}.h12-reports-fallback h1{margin:0 0 12px;font-size:24px}.h12-fallback-search{height:38px;border:1px solid #d9e0e7;border-radius:7px;background:#fff;padding:9px 11px;color:#687789;margin-bottom:12px}.h12-fallback-tabs{display:flex;gap:4px;border-bottom:1px solid #d9e0e7;margin-bottom:16px}.h12-fallback-tabs span{padding:9px 12px}.h12-fallback-tabs span:last-child{font-weight:700;border-bottom:2px solid #153d5a}.h12-fallback-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 22px}.h12-fallback-grid div{padding:10px 5px;border-bottom:1px solid #e6ebef;font-size:13px;font-weight:600;color:#314456}@media(max-width:760px){.h12-fallback-grid{grid-template-columns:1fr}}
