.quick-partner-page .quick-stock-grid th { min-width:170px; text-transform:uppercase; }
#quickPartnerTable thead { position:sticky; top:0; z-index:12; background:var(--erp-surface,#fff); }
#quickPartnerTable thead th { position:relative; top:auto; }
.quick-partner-page .quick-stock-grid th[data-column="name"] { min-width:300px; }
.quick-partner-page .quick-stock-grid th[data-column="email"] { min-width:240px; }
.quick-partner-page .quick-stock-grid th[data-column="type"] { min-width:210px; }
.quick-partner-page .quick-stock-grid th[data-column="result"] { min-width:260px; }
.quick-partner-page .quick-stock-grid td { height:28px; padding:0; white-space:nowrap; }
.quick-partner-page .quick-stock-grid td:last-child { padding:0 6px; }
.quick-partner-page .quick-stock-grid input,.quick-partner-page .quick-stock-grid select { font:inherit; }
.quick-partner-sort { flex:1; min-width:0; padding:0; text-align:left; border:0; background:transparent; color:inherit; font:inherit; font-weight:inherit; letter-spacing:inherit; text-transform:inherit; cursor:pointer; }
.quick-partner-filter { width:16px; padding:0; border:0; background:transparent; font:inherit; cursor:pointer; }
.quick-partner-filter.is-active { color:var(--erp-accent); background:var(--erp-surface); }
.quick-partner-page .quick-stock-grid .quick-partner-cell-error { box-shadow:inset 0 0 0 1px var(--erp-danger); }
.quick-partner-page .quick-stock-grid tr.is-dirty { box-shadow:inset 3px 0 var(--erp-accent); }
.quick-partner-page .quick-stock-grid tr.has-error td:last-child { color:var(--erp-danger); }
.quick-partner-page .quick-stock-grid .empty-row { padding:12px; text-align:left; white-space:normal; }
.quick-partner-page .quick-stock-footer { grid-template-columns:auto auto minmax(120px,1fr) auto auto; }
.quick-partner-page .partner-workspace-pager { display:flex; align-items:center; gap:6px; margin-right:100px; }
.quick-partner-page .partner-workspace-pager button { height:21px; padding:2px 5px; font:inherit; border:1px solid var(--erp-border); background:var(--erp-surface); color:var(--erp-navy); border-radius:2px; }
.quick-partner-tools { position:relative; }
.quick-partner-tools summary { list-style:none; cursor:pointer; }
.quick-partner-tools summary::-webkit-details-marker { display:none; }
.quick-partner-tools-menu { position:absolute; z-index:40; top:calc(100% + 4px); right:0; width:230px; padding:4px; display:grid; gap:3px; border:1px solid var(--erp-border); background:var(--erp-surface); box-shadow:0 4px 12px rgb(0 0 0 / 12%); }
.quick-partner-tools-menu button,.quick-partner-tools-menu label { padding:7px; display:flex; gap:8px; align-items:center; font-size:12px; text-align:left; border:0; background:transparent; color:var(--erp-navy); }
.quick-partner-tools-menu button:hover { background:var(--erp-surface-muted); }
.quick-partner-tools-menu input { width:16px; height:16px; }
.quick-partner-dialog { width:min(850px,calc(100vw - 32px)); max-height:calc(100dvh - 32px); }
.quick-partner-dialog form { display:flex; flex-direction:column; gap:12px; min-width:0; }
.quick-partner-dialog textarea { width:100%; min-height:220px; max-height:45dvh; resize:vertical; font-size:12px; box-sizing:border-box; }
.quick-partner-dialog input[type="checkbox"] { width:16px; height:16px; }
.quick-partner-view-editor .product-workspace-column-option > label { display:grid; grid-template-columns:22px minmax(0,1fr); align-items:center; gap:10px; min-width:0; margin:0; }
.quick-partner-view-editor .product-workspace-column-option input[type="checkbox"] { width:18px; height:18px; min-height:0; margin:0; padding:0; }
.quick-partner-view-error:empty { display:none; }
.quick-partner-print { display:none; }
.quick-partner-paste-dialog .quick-stock-paste-summary { color:var(--muted); font-size:9px; }
.quick-partner-paste-error { margin:0 auto 0 0; align-self:center; font-size:11px; }
.quick-partner-paste-error:empty { display:none; }
.quick-partner-paste-dialog footer { align-items:center; }
@media(max-width:1400px) { .quick-partner-key-hint { display:none; } .quick-partner-page .quick-stock-footer { grid-template-columns:auto auto minmax(120px,1fr) auto; } }
@media(max-width:900px) { .quick-partner-page .quick-stock-toolbar { grid-template-columns:1fr; } .quick-partner-page .quick-stock-commands { flex-wrap:wrap; justify-content:flex-start; } .quick-partner-page .quick-stock-footer { display:flex; flex-wrap:wrap; } }
@media print {
  #quickPartnerTable thead { position:static; }
  body.quick-partner-printing > :not(.quick-partner-print) { display:none !important; }
  body.quick-partner-printing { height:auto !important; overflow:visible !important; background:white; color:black; }
  .quick-partner-print { display:block; font:10pt sans-serif; }
  .quick-partner-print h1 { font-size:16pt; }
  .quick-partner-print table { width:100%; border-collapse:collapse; }
  .quick-partner-print th,.quick-partner-print td { border:1px solid #999; padding:4px; overflow-wrap:anywhere; }
  .quick-partner-print thead { display:table-header-group; }
}
