/* HF30A UI-only: shared compact layout for quotation and delivery-note reports. */
.compact-report-page{padding:14px;display:grid;gap:10px;background:#f5f8f7;min-height:100%;box-sizing:border-box}
.compact-report-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;background:#fff;border:1px solid #dce8e3;border-radius:12px;padding:12px 14px}
.compact-report-head h1{margin:1px 0 3px;font-size:21px;line-height:1.2;color:#153d31}.compact-report-head p{margin:0;color:#60736c;font-size:11px}.compact-report-eyebrow{font-size:9.5px;font-weight:800;letter-spacing:.08em;color:#17745a}.compact-report-actions{display:flex;gap:7px}.compact-report-actions button,.compact-report-pagination button{height:32px;border:1px solid #cddbd5;background:#fff;border-radius:7px;padding:0 11px;font-size:11px;font-weight:700;color:#315d4f}.compact-report-actions button:hover,.compact-report-pagination button:hover{background:#f1f7f4}.compact-report-actions button:disabled,.compact-report-pagination button:disabled{opacity:.5;cursor:not-allowed}
.compact-report-filter,.compact-report-filter-card{background:#fff;border:1px solid #dce8e3;border-radius:12px;padding:10px}.compact-report-filter{display:grid;gap:7px 8px;align-items:end}.compact-report-filter label,.dn-report-page .document-search-form label,.dn-report-page .td-search label{display:grid;gap:3px;margin:0;font-size:10.5px;font-weight:700;color:#50665d;min-width:0}.compact-report-filter input,.compact-report-filter select,.dn-report-page .document-search-form input,.dn-report-page .td-search input{width:100%;min-width:0;height:32px;box-sizing:border-box;border:1px solid #cddbd5;border-radius:7px;padding:4px 8px;background:#fff;color:#17395e;font-size:11px}.compact-report-filter select{padding-right:24px}.compact-report-primary,.dn-report-page .document-search-form>button{height:32px!important;min-height:32px!important;border:1px solid #17745a!important;background:#17745a!important;color:#fff!important;border-radius:7px!important;padding:0 13px!important;font-size:11px!important;font-weight:800!important;white-space:nowrap}
.quote-report-filter{grid-template-columns:125px 125px minmax(145px,.9fr) minmax(160px,1fr) minmax(180px,1.1fr) minmax(160px,1fr) auto}.quote-report-filter label:nth-child(4){grid-column:1;grid-row:2}.quote-report-filter label:nth-child(5){grid-column:4;grid-row:1}.quote-report-filter label:nth-child(6){grid-column:5;grid-row:1}.quote-report-filter label:nth-child(7){grid-column:2/4;grid-row:2}.quote-report-filter label:nth-child(8){grid-column:6;grid-row:1}.quote-report-filter label:nth-child(9){grid-column:4;grid-row:2}.quote-report-filter label:nth-child(10){grid-column:5;grid-row:2}.quote-report-filter label:nth-child(11){grid-column:6;grid-row:2}.quote-report-filter>button{grid-column:7;grid-row:1}
.compact-report-table-card{background:#fff;border:1px solid #dce8e3;border-radius:12px;overflow:hidden}.compact-report-table-head{min-height:42px;padding:8px 11px;border-bottom:1px solid #e3ece8;display:flex;justify-content:space-between;align-items:center;gap:10px}.compact-report-table-head>div:first-child{display:grid;gap:1px}.compact-report-table-head strong{font-size:12px;color:#244d41}.compact-report-table-head small{font-size:10.5px;color:#70847b}.compact-report-pagination{display:flex;align-items:center;gap:6px;color:#70847b;font-size:10.5px}.compact-report-pagination footer{display:flex!important;align-items:center;gap:8px;margin:0!important;padding:0!important;border:0!important}.compact-report-pagination footer>span{margin-right:2px}.compact-report-pagination footer>div{display:flex;gap:5px}
.compact-report-page .flow-table-wrap,.compact-report-scroll{overflow:auto;max-height:calc(100vh - 300px);border:0!important;border-radius:0!important;margin:0!important}.compact-report-page table{width:100%;border-collapse:collapse;font-size:11px;min-width:850px}.compact-report-page th{position:sticky;top:0;z-index:1;background:#f2f7f5!important;color:#4d6259!important;text-align:left;white-space:nowrap;padding:7px 9px!important;font-size:10.5px!important}.compact-report-page td{padding:7px 9px!important;border-bottom:1px solid #e6eeeb!important;vertical-align:middle;font-size:11px!important}.compact-report-page tbody tr:nth-child(even){background:#fbfdfc}.compact-report-page tbody tr:hover{background:#f2f8f5}.compact-report-page td small{display:block;color:#7d8d87;margin-top:2px;font-size:10px}.compact-report-page td button{min-height:28px;padding:4px 8px;border-radius:7px;font-size:10.5px}.compact-report-error:empty{display:none}.compact-report-error{margin:0;color:#b42318;font-size:11px;font-weight:700}
.dn-report-page .compact-report-filter-card{padding:10px}.dn-report-page .document-search-form{display:grid!important;grid-template-columns:125px 125px minmax(170px,1fr) minmax(180px,1.15fr) 105px 105px auto;gap:7px 8px!important;align-items:end;margin:0!important}.dn-report-page .td-search{margin-top:7px}.dn-report-page .td-search label{grid-template-columns:115px minmax(260px,1fr);align-items:center;gap:8px}.dn-report-page .td-search input{height:32px}.dn-report-page [data-search-error]:empty{display:none}.dn-report-page [data-search-error]{margin:5px 0 0;font-size:10.5px;color:#b42318}.dn-report-page .dn-history-table{max-height:calc(100vh - 292px)!important}.dn-report-page .dn-history-table table{min-width:880px!important}.dn-report-page .flow-primary{background:#17745a!important;color:#fff!important;border-color:#17745a!important}
@media(max-width:1250px){.quote-report-filter{grid-template-columns:repeat(4,minmax(135px,1fr))}.quote-report-filter label:nth-child(n){grid-column:auto;grid-row:auto}.quote-report-filter>button{grid-column:auto;grid-row:auto}.dn-report-page .document-search-form{grid-template-columns:repeat(4,minmax(125px,1fr)) auto}.dn-report-page .document-search-form>button{grid-column:auto}}
@media(max-width:760px){.compact-report-page{padding:9px}.compact-report-head{display:grid;padding:10px 12px}.compact-report-head h1{font-size:18px}.compact-report-filter,.dn-report-page .document-search-form{grid-template-columns:1fr 1fr!important}.quote-report-filter label:nth-child(n),.quote-report-filter>button,.dn-report-page .document-search-form>button{grid-column:auto!important;grid-row:auto!important}.dn-report-page .td-search label{display:flex;flex-direction:column;align-items:stretch}.compact-report-table-head{align-items:flex-start;flex-wrap:wrap}.compact-report-page .flow-table-wrap,.compact-report-scroll,.dn-report-page .dn-history-table{max-height:none!important}}

/* HF30C UI-only refinement: tighter header/filter/top spacing. No data/logic changes. */
.compact-report-page{
  padding:0 2px 8px;
  gap:8px;
}
.compact-report-head{
  padding:7px 11px;
  border-radius:10px;
  gap:10px;
}
.compact-report-head h1{
  margin:0 0 1px;
  font-size:19px;
  line-height:1.15;
}
.compact-report-head p{
  font-size:10px;
  line-height:1.3;
}
.compact-report-eyebrow{
  font-size:9px;
  line-height:1.2;
}
.compact-report-actions button,.compact-report-pagination button{
  height:30px;
  padding:0 10px;
  font-size:10.5px;
}
.compact-report-filter,.compact-report-filter-card{
  padding:8px;
  border-radius:10px;
}
.compact-report-filter{
  gap:5px 7px;
}
.compact-report-filter label,.dn-report-page .document-search-form label,.dn-report-page .td-search label{
  gap:2px;
  font-size:10px;
  line-height:1.2;
}
.compact-report-filter input,.compact-report-filter select,.dn-report-page .document-search-form input,.dn-report-page .td-search input{
  height:30px;
  padding:3px 7px;
  font-size:10.5px;
  border-radius:6px;
}
.compact-report-primary,.dn-report-page .document-search-form>button{
  height:30px!important;
  min-height:30px!important;
  padding:0 12px!important;
  font-size:10.5px!important;
  border-radius:6px!important;
}
.compact-report-table-card{
  border-radius:10px;
}
.compact-report-table-head{
  min-height:36px;
  padding:5px 9px;
  gap:8px;
}
.compact-report-table-head strong{font-size:11.5px}
.compact-report-table-head small,.compact-report-pagination{font-size:10px}
.dn-report-page .compact-report-filter-card{padding:8px}
.dn-report-page .document-search-form{gap:5px 7px!important}
.dn-report-page .td-search{margin-top:5px}
.dn-report-page .td-search label{grid-template-columns:105px minmax(260px,1fr);gap:7px}
.dn-report-page .td-search input{height:30px}
.dn-report-page [data-search-error]{margin:3px 0 0}
.dn-report-page .dn-history-table{max-height:calc(100vh - 260px)!important}
@media(max-width:760px){
  .compact-report-page{padding:0 0 7px;gap:7px}
  .compact-report-head{padding:7px 9px}
  .compact-report-head h1{font-size:17px}
}
