.app-page[data-page="stock-quick-pricing"] { min-height:0; height:100%; overflow:hidden; grid-template-rows:minmax(0,1fr); }
#quickStockPricingWorkspace {height:100%;min-height:0;}
.qsp-shell {--ui-content-font:var(--erp-content-font-size,9pt);display:flex;flex-direction:column;gap:6px;height:100%;min-height:0;padding:6px;font-size:var(--ui-content-font);}
.qsp-heading,.qsp-actions,.qsp-footer {display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;}
.qsp-heading h1 {margin:0;font-size:22px;color:var(--navy,#20355c);}
.qsp-heading p {margin:0;}
.qsp-types {margin:0;padding:5px 8px;border:1px solid var(--border,#dce4e8);border-radius:11px;max-height:100px;overflow:auto;flex-shrink:0;}
.qsp-types legend {font-weight:700;}
#qspTypes {display:flex;gap:6px 16px;flex-wrap:wrap;}
#qspTypes label {display:flex;align-items:center;gap:5px;font-weight:600;cursor:pointer;}
#qspTypes input {width:16px;height:16px;accent-color:#4d9c9d;}
.qsp-filters {display:flex;align-items:end;gap:5px;flex-wrap:nowrap;margin:0;}
.qsp-filters label {display:flex;flex-direction:column;gap:3px;flex:0 1 88px;min-width:64px;}
.qsp-filters .qsp-search {flex:1 1 150px;min-width:100px;}
.qsp-filters .qsp-date {flex:0 1 138px;min-width:115px;}
.qsp-filters .standard-command-set {flex-shrink:0;flex-wrap:nowrap;gap:4px;}
.qsp-filters input,.qsp-filters select {width:100%;min-width:0;}
.qsp-actions>span {color:var(--muted,#687889);font-size:12px;}
#qspGrid {flex:1 1 150px;min-height:0;overflow:auto;}
#qspGrid table {width:100%;min-width:650px;}
#qspGrid th {min-width:110px;position:sticky;top:0;z-index:1;}
#qspGrid th[data-standard-column-id="name"] {min-width:230px;}
#qspGrid td {height:28px;padding:1px 4px;line-height:1.2;}
#qspGrid input {--ui-control-min-height:max(24px,calc(1.2em + 4px));box-sizing:border-box;width:100%;min-width:100px;min-height:var(--ui-control-min-height);height:var(--ui-control-min-height);padding:1px 4px;line-height:1.2;text-align:right;background:transparent;border:1px solid transparent;}
#qspGrid input.qsp-changed {background:color-mix(in srgb,#62c8c8 13%,var(--erp-surface,#fff));border-color:#4d9c9d;}
#qspGrid output {display:block;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums;}
.qsp-changes-dialog {box-sizing:border-box;width:min(1100px,calc(100vw - 32px));max-height:calc(100dvh - 40px);padding:12px;border:1px solid var(--erp-border);border-radius:14px;color:var(--ink);background:var(--erp-surface);}
.qsp-changes-dialog::backdrop {background:#15233b70;}
.qsp-changes-shell {display:flex;flex-direction:column;gap:8px;min-height:0;max-height:calc(100dvh - 68px);}
.qsp-changes-shell h2 {margin:0;font-size:20px;}
.qsp-changes-shell p {margin:3px 0;}
#qspChangesGrid {min-height:0;overflow:auto;}
#qspChangesGrid table {width:100%;min-width:760px;}
#qspChangesGrid th {position:sticky;top:0;z-index:1;}
#qspChangesGrid td {padding:3px 6px;height:28px;}
#qspChangesGrid td:is([data-standard-cell-id="old"],[data-standard-cell-id="new"]) {text-align:right;white-space:nowrap;}
.qsp-footer {flex-shrink:0;min-height:40px;}
@media(max-width:1250px) {.qsp-filters{flex-wrap:wrap;}.qsp-filters label{flex:1 1 120px;min-width:0;}.qsp-filters .qsp-search{flex:2 1 180px;}.qsp-filters .standard-command-set{flex-wrap:wrap;}}
@media(max-width:768px) {.qsp-shell {overflow:auto;} .qsp-types {max-height:90px;} #qspGrid {flex-basis:230px;flex-shrink:0;} }
