/* T-1028-01: 각 표 안에서 세로·가로 스크롤을 함께 처리한다. */
html[data-fui=saleslist] .wrap{max-height:70vh;overflow:auto}
html[data-fui=saleslist] .wrap>table>thead>tr>th,
.sbox>table>thead>tr>th{position:sticky;top:0;z-index:3;background:var(--card)}
.tbox,.sbox{scroll-padding-top:var(--table-head-height,40px)}
[hidden]{display:none!important}

.communication,.sales-memo{min-width:320px}.sales-memo textarea{display:block;width:100%;min-height:90px;resize:vertical;font:inherit;color:var(--txt);background:var(--card);border:1px solid var(--line)}
.check-summary{white-space:pre-wrap;margin-bottom:8px}.communication .memo{display:none}

.ss-wrap input,.ss-dd,.ss-o,.ss-h,.ss-chip, input[type=search],.filters input{color:var(--txt,#f5f5f5)!important;background:var(--card,#161619)!important}.ss-wrap{position:relative;max-width:100%}.ss-wrap input{max-width:100%}.ss-dd{position:absolute;top:100%;left:0;z-index:30;max-height:260px;overflow:auto;border:1px solid var(--line);min-width:230px}.ss-o{display:block;width:100%;text-align:left;border:0;padding:8px;font:inherit}
html[data-fui=dashboard] .ticker,html[data-fui=dashboard] .elbar .live,html[data-fui=saleslist] .elbar .live,html[data-fui=schedule] .elbar .live,html[data-fui=mastertab] .elbar .live{display:none!important}

/* 현황판은 외곽 한 곳에 두어 모든 탭이 날짜·접기를 공유한다. */
html.el-embed .elb{display:none!important}
html[data-fui=dashboard] .elb.open .elb-bd{grid-template-columns:repeat(4,minmax(0,1fr))!important}
html[data-fui=dashboard] .elb-s{min-width:0;max-height:260px;display:flex;flex-direction:column}
html[data-fui=dashboard] .elb-s .elb-w{min-height:0;max-height:224px;overflow:auto}
@media(max-width:760px){html[data-fui=dashboard] .elb.open .elb-bd{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

.back-button{border:1px solid var(--line);background:var(--card);color:var(--txt);border-radius:8px;font:inherit;padding:8px 12px;white-space:nowrap}.elbar:has(.back-button){flex-wrap:wrap}

html[data-fui=saleslist] .modal .box{max-height:calc(100dvh - 60px);overflow:auto;flex:none}
