.section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.section-heading p{margin:4px 0;color:#64766f}
.summary-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}
.summary-cards>div{display:grid;gap:4px;background:#f3f6f4;border-radius:11px;padding:14px}
.summary-cards span{color:#64766f;font-size:.85rem}
.summary-cards b{font-size:1.45rem}
.status{display:inline-block;border-radius:999px;padding:4px 9px;font-size:.8rem;font-weight:750}
.status-sent{background:#dcfce7;color:#166534}
.status-failed{background:#fee2e2;color:#991b1b}
.status-sending{background:#fef3c7;color:#854d0e}
.empty-state{text-align:center;color:#64766f;padding:25px}
#adminButton,#adminBack{display:none!important}
.catalog-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 18px;padding:6px;background:#e7eeea;border-radius:12px}
.catalog-tabs button{flex:1;min-width:180px;border:0;background:transparent}
.catalog-tabs button.active{background:#173c32;color:#fff;box-shadow:0 4px 12px #173c3226}
.product-search-control{display:grid;grid-template-columns:minmax(0,1fr) 48px;align-items:stretch}
.product-search-control #productSearch{border-radius:9px 0 0 9px;border-right:0}
#productDropdownButton{width:48px;padding:0;border:1px solid #173c32;background:#173c32;color:#fff;font-size:1.05rem;line-height:1;border-radius:0 9px 9px 0}
#productDropdownButton:hover{background:#245648}
#productFields{position:relative}
#productFields .results{width:100%;margin-top:-8px}
.login-links{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px}
.login-links .link-button{margin:0;padding:8px 0}
.help-link,.header-help{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-weight:750;border-radius:9px}
.help-link{color:#173c32;padding:8px 0}
.header-help{padding:.75rem 1rem;background:#eaf2ed;color:#173c32;border:1px solid #cad7d1}
.request-type-field{max-width:440px}
.request-entry-grid{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:12px;align-items:start}
.quantity-field input{text-align:center;font-weight:750;font-size:1.05rem}
@media(max-width:760px){.section-heading{display:grid}.summary-cards{grid-template-columns:1fr}}
@media(max-width:620px){.request-entry-grid{grid-template-columns:minmax(0,1fr) 105px}.login-links{align-items:flex-start;flex-direction:column}.header-help{padding:.65rem .8rem}}
.list-selector.active{background:#eaf2ed;border-color:#173c32;color:#173c32;box-shadow:inset 0 0 0 1px #173c32}
#printSelectedButton:disabled{opacity:.45;cursor:not-allowed}
#factoryView .print-sheet section{margin-top:28px}
#factoryView .print-sheet section h2{margin:0 0 10px}
#factoryView .print-sheet table{table-layout:fixed}
#factoryView .print-sheet th:nth-child(1),#factoryView .print-sheet td:nth-child(1){width:16%}
#factoryView .print-sheet th:nth-child(3),#factoryView .print-sheet td:nth-child(3){width:15%}
@media print{
  #factoryView .print-sheet section{margin-top:4mm}
  #factoryView .print-sheet section h2{margin:0 0 1.5mm}
  #factoryView .print-sheet th:nth-child(1),#factoryView .print-sheet td:nth-child(1){width:30mm}
  #factoryView .print-sheet th:nth-child(3),#factoryView .print-sheet td:nth-child(3){width:25mm}
}
