/* Explicit unit space, readable numeric controls and local horizontal scrolling. */
#root #rows{min-width:0;max-width:100%}
#root .sh-quote-scroll{overflow-x:auto;max-width:100%;overscroll-behavior-x:contain;padding:2px 2px 8px;scrollbar-gutter:stable}
#root .sh-quote-scroll:focus-visible{outline:2px solid #b99354;outline-offset:2px}
#root .sh-quote-scroll .qt{min-width:1400px;width:100%;table-layout:fixed}
#root .sh-quote-scroll .qt th{white-space:normal;overflow-wrap:anywhere;padding:6px 4px;line-height:1.35}
#root .sh-quote-scroll .qt select,#root .sh-quote-scroll .qt input{box-sizing:border-box;min-height:38px;font-size:13px;line-height:1.35}
#root .sh-quote-scroll .qt select[data-k=lu],#root .sh-quote-scroll .qt select[data-k=wu]{min-width:86px;width:100%;padding:8px 26px 8px 7px;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%2334485c' stroke-width='1.7' d='m1 1 5 5 5-5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 8px center;background-size:12px 8px}
#root .sh-quote-scroll .qt input.inp{padding:8px 6px}
#root .sh-quote-scroll .qt td.calc{white-space:normal;overflow-wrap:anywhere;line-height:1.4}
#root .sh-quote-scroll .qt [data-k=notes]{min-height:32px}
#root .sh-quote-scroll-hint{font-size:11px;color:#63788b;margin:3px 0 0}
#root #shQuoteScope{padding:12px 16px;border:1px solid #dce5ed;border-left:3px solid #b99354;border-radius:8px;background:#f8fafc;font-size:12px;line-height:1.6;margin:0 0 16px}
#root #shQuoteScope strong{color:#173248}
#root #view .grid>*{min-width:0}
#root #view .grid select{min-width:0;max-width:100%;padding-right:28px}
#root select[id^="r_"],#root #inv_role{min-width:168px;padding-right:30px}
#root .sh-quote-scroll input:disabled,#root .sh-quote-scroll select:disabled{opacity:1;color:#405268;-webkit-text-fill-color:#405268;background-color:#f5f7fa}
@media(forced-colors:active){#root .sh-quote-scroll .qt select[data-k=lu],#root .sh-quote-scroll .qt select[data-k=wu]{appearance:auto;background-image:none}}
