.app-page[data-page="stock-price-history"]{min-height:0;height:100%;overflow:hidden;grid-template-rows:minmax(0,1fr)}
#stockPriceHistoryWorkspace{height:100%;min-height:0;overflow:hidden}
.sph-shell{height:100%;min-height:0;display:flex;flex-direction:column;gap:6px;padding:6px;font-size:var(--erp-content-font-size,9pt)}
.sph-heading,.sph-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;flex:none}
.sph-heading{padding:8px 10px;border:1px solid var(--border,#dce4e8);border-radius:12px;background:var(--surface,#fff)}
.sph-heading h1,.sph-heading h2{margin:0;color:var(--navy,#20355c);font-size:22px;overflow-wrap:anywhere}.sph-heading p{margin:0}
.sph-filters{display:flex;gap:8px;align-items:end;flex-wrap:wrap;flex:none}.sph-filters label{display:flex;flex-direction:column;gap:3px;min-width:130px;font-weight:600}
.sph-filters .sph-search{flex:1 1 240px}.sph-filters input{width:100%;box-sizing:border-box;min-height:36px;border:1px solid var(--border,#dce4e8);border-radius:9px;padding:5px 10px;color:inherit;background:var(--surface,#fff);font:inherit}
#sphGrid,#sphDetailGrid{min-height:0;flex:1 1 0;overflow:auto}#sphGrid table{width:100%;min-width:780px}#sphDetailGrid table{width:100%;min-width:1350px}
#sphGrid td,#sphDetailGrid td{height:28px;padding:3px 8px;white-space:nowrap;box-sizing:border-box}#sphGrid th,#sphDetailGrid th{white-space:nowrap}
#sphRows tr[data-product-id]{cursor:pointer}#sphRows tr:focus-visible{outline:2px solid var(--teal,#4d9c9d);outline-offset:-2px}.sph-number{text-align:right;font-variant-numeric:tabular-nums}
.sph-footer{padding:5px 8px;color:var(--muted,#687889)}.sph-note{font-size:.85em;color:var(--muted,#687889);margin:4px 8px;flex:none}
.sph-dialog{width:min(1480px,calc(100vw - 32px));height:min(750px,calc(100dvh - 40px));max-height:calc(100dvh - 40px);padding:10px;border:1px solid var(--border,#dce4e8);border-radius:18px;color:var(--text,#20355c);background:var(--surface,#fff)}
.sph-dialog::backdrop{background:rgba(24,39,68,.4)}.sph-detail-shell{height:100%;min-height:0;display:flex;flex-direction:column;gap:6px}.sph-dialog .sph-heading{flex-shrink:0}
@media(max-width:700px){.sph-heading h1,.sph-heading h2{font-size:18px}.sph-dialog{width:calc(100vw - 16px);padding:6px}.sph-heading .standard-command-set{flex-wrap:wrap}.sph-filters .standard-command-set{flex-wrap:wrap}}
