/* Mobile layout v20260924-1. Desktop rules and business data are untouched. */
.bs-m-nav,.bs-m-menu-toggle,.bs-m-doc-controls,.bs-m-shade{display:none}
@media (max-width:900px){
 html,body,#app{min-width:0!important;width:100%!important;max-width:100%!important}
 html.bs-mobile,html.bs-mobile body,html.bs-mobile #app{min-width:0!important;width:100%!important;max-width:100%!important}
 html.bs-mobile{--bs-m-bottom:calc(64px + env(safe-area-inset-bottom,0px));-webkit-text-size-adjust:100%}
 html.bs-mobile body{overflow-x:hidden!important}
 html.bs-mobile #app>.el-container{height:auto!important;min-height:100dvh}
 html.bs-mobile #app>.el-container>.view{width:100%!important;height:auto!important;overflow:visible!important;padding-bottom:var(--bs-m-bottom)}
 html.bs-mobile .control,html.bs-mobile .control>.el-container{width:100%!important;height:auto!important;min-width:0!important}
 html.bs-mobile .control>.el-container>.el-main{width:100%!important;height:auto!important;min-width:0!important;padding:12px!important;margin:0!important;overflow:visible!important}
 html.bs-mobile #app>.el-container>.el-header{height:auto!important;min-height:60px;padding:0 12px!important;z-index:2100}
 html.bs-mobile #app>.el-container>.el-header>.el-row{flex-wrap:wrap!important;height:auto!important;min-height:60px;gap:0 8px}
 html.bs-mobile #app>.el-container>.el-header>.el-row>.el-col:first-child{flex:1 1 180px!important;min-width:0!important;margin:0!important;max-width:calc(100% - 100px)!important}
 html.bs-mobile #app>.el-container>.el-header .text-4{height:60px!important;font-size:14px!important;letter-spacing:0!important;overflow:hidden!important;white-space:nowrap!important;gap:6px!important}
 html.bs-mobile #app>.el-container>.el-header .text-4 img{height:28px!important;max-width:44px;object-fit:contain}
 html.bs-mobile #app>.el-container>.el-header>.el-row>.el-col:nth-child(2){display:none!important;order:4;width:100%!important;margin:0!important}
 html.bs-mobile.bs-m-menu-open #app>.el-container>.el-header>.el-row>.el-col:nth-child(2){display:block!important}
 html.bs-mobile #app>.el-container>.el-header>.el-row>.el-col:nth-child(3){order:3;flex:1 1 100%!important;width:100%!important;margin:0!important;overflow:visible!important;padding-bottom:8px!important}
 html.bs-mobile #app>.el-container>.el-header>.el-row>.el-col:nth-child(4){order:2;margin:0!important}
 html.bs-mobile #app>.el-container>.el-header .el-row .el-row>.el-col{height:auto!important;margin:0!important}
 html.bs-mobile #app>.el-container>.el-header .el-row .el-row>.el-col+.el-col{margin-left:6px!important}
 html.bs-mobile #app>.el-container>.el-header .dis-flex,html.bs-mobile #app>.el-container>.el-header .box-two{display:none!important}
 html.bs-mobile #app>.el-container>.el-header .el-select{max-width:100%!important;width:100%!important}
 html.bs-mobile #app>.el-container>.el-header .el-select .el-input__inner{height:40px!important;line-height:40px!important;font-size:14px!important}
 html.bs-mobile #app>.el-container>.el-header .el-button--small,html.bs-mobile #app>.el-container>.el-header .el-dropdown-selfdefine{min-height:40px;min-width:40px}
 html.bs-mobile .control>.el-container>.el-menu{display:none!important}
 html.bs-mobile.bs-m-menu-open .control>.el-container>.el-menu{display:block!important;position:fixed!important;top:var(--bs-m-menu-top,230px)!important;bottom:var(--bs-m-bottom)!important;left:12px!important;width:min(320px,calc(100vw - 24px))!important;height:auto!important;overflow-y:auto!important;border-radius:12px!important;z-index:2099!important}
 html.bs-mobile.bs-m-menu-open .control>.el-container>.el-menu .el-menu-item{width:100%!important;height:52px!important;display:flex!important;flex-direction:row!important;gap:8px!important;align-items:center;padding-left:20px!important}
 html.bs-mobile.bs-m-menu-open .control>.el-container>.el-menu .el-menu-item .el-tooltip{width:48px!important;position:relative!important;padding:0!important;display:flex!important;align-items:center;justify-content:center}
 html.bs-mobile.bs-m-menu-open .control>.el-container>.el-menu .bs-nav-t{position:static!important;display:block!important;white-space:normal!important;width:auto!important;max-width:none!important;font-size:14px!important;line-height:20px!important;text-align:left!important}
 html.bs-mobile .bs-m-nav{position:fixed;display:flex;left:0;right:0;bottom:0;height:var(--bs-m-bottom);padding:4px 8px calc(4px + env(safe-area-inset-bottom,0px));box-sizing:border-box;background:rgba(255,255,255,.97);border-top:1px solid #e2e8f0;z-index:2200;box-shadow:0 -3px 16px #12263d0a}
 html.bs-mobile .bs-m-nav button{flex:1;border:0;background:transparent;color:#6c7c8f;font:500 11px/16px -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border-radius:9px;min-height:48px;cursor:pointer}
 html.bs-mobile .bs-m-nav button[aria-current=page]{color:#06365f;background:#edf4fa}
 html.bs-mobile .bs-m-nav svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
 html.bs-mobile .bs-m-shade{position:fixed;inset:0;background:#0e203d66;z-index:2090}
 html.bs-mobile.bs-m-menu-open .bs-m-shade,html.bs-mobile.bs-m-folders .bs-m-shade{display:block}
 html.bs-mobile .enterpriseIndex{padding:12px!important;width:100%!important;box-sizing:border-box}
 html.bs-mobile .enterpriseIndex>.flexLR{display:flex!important;flex-direction:column!important;gap:16px}
 html.bs-mobile .enterpriseIndex>.flexLR>div{width:100%!important;min-width:0!important;margin:0!important;flex:auto!important}
 html.bs-mobile .enterpriseIndex .el-card.box-card>.el-card__header{padding:12px!important}
 html.bs-mobile .enterpriseIndex .el-card.box-card>.el-card__body{padding:12px!important}
 html.bs-mobile .enterpriseIndex .el-card__header .el-row{flex-wrap:wrap!important;width:100%!important;gap:8px!important}
 html.bs-mobile .enterpriseIndex .el-card__header .el-col{flex:1 1 100%!important;min-width:0!important;width:100%!important;margin:0!important}
 html.bs-mobile .enterpriseIndex .el-card__header .el-select,html.bs-mobile .enterpriseIndex .el-card__header .search-input{width:100%!important}
 html.bs-mobile .enterpriseIndex .height710{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
 html.bs-mobile .enterpriseIndex .enterpriseIndexIcon{padding:10px!important}
 html.bs-mobile .enterpriseIndex .enterpriseIndexIcon span{white-space:normal!important;overflow-wrap:anywhere;min-height:38px;font-size:13px!important;line-height:19px!important}
 html.bs-mobile .enterpriseIndex .enterpriseIndexIcon .gl{opacity:1;font-size:10px!important;right:6px!important;top:6px!important;padding:3px 6px!important}
 html.bs-mobile .userprojectindex{width:100%!important;height:auto!important;padding:0!important;min-height:0!important}
 html.bs-mobile .userprojectindex.bs-home-6>.el-row{grid-template-columns:minmax(0,1fr)!important;gap:14px!important;height:auto!important}
 html.bs-mobile .userprojectindex.bs-home-6 [data-bs-card]{grid-area:auto!important;height:auto!important;min-height:0!important;width:100%!important}
 html.bs-mobile .userprojectindex .el-card__body{padding:14px!important;height:auto!important}
 html.bs-mobile .userprojectindex [data-bs-card=details] .el-row{height:auto!important;display:block!important;margin:0!important}
 html.bs-mobile .userprojectindex [data-bs-card=details] .textP{width:100%!important;float:none!important;padding:0!important;height:auto!important}
 html.bs-mobile .userprojectindex [data-bs-card=details] .textP>img{width:100%!important;max-height:190px!important;object-fit:contain!important;padding:8px!important;margin:0 0 14px!important}
 html.bs-mobile .userprojectindex [data-bs-card=details] .textP .el-col{float:none!important;width:100%!important;padding:0!important}
 html.bs-mobile .userprojectindex .bs-pd-top{gap:12px;flex-wrap:wrap}
 html.bs-mobile .userprojectindex .bs-pd-name{font-size:19px!important;white-space:normal!important}
 html.bs-mobile .userprojectindex .hiddenScroll{height:auto!important;max-height:240px}
 html.bs-mobile .userprojectindex #cy{min-height:180px}
 html.bs-mobile .el-input__inner,html.bs-mobile .el-textarea__inner{font-size:16px!important}
 html.bs-mobile .el-input__inner{min-height:40px}
 html.bs-mobile .el-dialog{width:calc(100% - 24px)!important;max-width:640px!important;margin:16px auto!important}
 html.bs-mobile .el-dialog__body{padding:16px!important;max-height:75dvh;overflow:auto}
 html.bs-mobile .el-drawer{max-width:100vw;width:100%!important}
 html.bs-mobile .el-message-box{width:calc(100vw - 32px)!important}
 html.bs-mobile .el-popover{max-width:calc(100vw - 32px)!important;box-sizing:border-box}
 html.bs-mobile .el-select-dropdown{max-width:calc(100vw - 24px);min-width:0!important}
 html.bs-mobile .el-select-dropdown__item{height:auto;min-height:44px;line-height:24px;padding-top:10px;padding-bottom:10px;white-space:normal}
 html.bs-mobile .el-button{min-height:40px}
 html.bs-mobile .el-pagination{white-space:normal;display:flex;flex-wrap:wrap;gap:6px;height:auto!important}
 html.bs-mobile:not(.bs-viewer) #bs-pet{bottom:calc(var(--bs-m-bottom) + 12px)!important;right:12px!important;transform:scale(.85);transform-origin:bottom right}
 html.bs-mobile:has(#dropZone) .el-table td:first-child .cell,html.bs-mobile:has(#dropZone) .el-table th:first-child .cell{padding:0!important;overflow:visible!important;text-overflow:clip!important;text-align:center}
 html.bs-mobile:has(#dropZone) .el-table td:nth-child(2) button{font-size:14px!important}
 html.bs-mobile .userprojectindex [data-bs-card=details] .textP:first-child{max-width:100%!important;border:0!important;border-radius:0!important;min-height:0!important;padding:0!important}
 /* Login: one form, compact brand banner, normal document flow for the keyboard. */
 html.bs-mobile .login-main{width:100%!important;min-height:100dvh;height:auto!important}
 html.bs-mobile .login-bg{position:relative!important;inset:auto!important;min-height:100dvh;box-sizing:border-box;padding:24px 20px!important;justify-content:center}
 html.bs-mobile .register-bj{flex-direction:column!important;width:100%!important;max-width:440px!important;height:auto!important;overflow:visible!important;border-radius:20px!important}
 html.bs-mobile .register-bj .register-left{width:100%!important;height:112px!important;border:0!important;border-radius:20px 20px 0 0!important}
 html.bs-mobile .register-bj .register-left img{padding:16px!important;max-height:112px!important}
 html.bs-mobile .register-bj .el-carousel__arrow,html.bs-mobile .register-bj .el-carousel__indicators{display:none!important}
 html.bs-mobile .register-bj .register-right{width:100%!important;height:auto!important;padding:20px 24px 28px!important;box-sizing:border-box}
 html.bs-mobile .register-bj .register-right .register-right-content{position:relative!important;transform:none!important;left:auto!important;top:auto!important;margin:0!important;width:100%!important;padding:0!important}
 html.bs-mobile .register-bj .register-right-content h3{font-size:24px!important;margin:10px 0 28px!important;padding-right:44px;text-align:left!important}
 html.bs-mobile .register-bj .el-tag{top:18px!important;right:20px!important;height:32px!important;line-height:30px!important}
 html.bs-mobile .register-bj .el-input__inner{height:48px!important;font-size:16px!important}
 html.bs-mobile .register-bj .accounts .accounts-icon{top:24px!important}
 html.bs-mobile .register-bj .register-right-content button{height:48px!important;font-size:16px!important}
 html.bs-mobile .record{text-align:center;line-height:1.6;max-width:100%;margin-top:20px!important}
 /* Documents: reuse original row controls as stacked entries. */
 html.bs-mobile:has(#dropZone) #dropZone{display:block!important;width:100%!important;height:auto!important}
 html.bs-mobile:has(#dropZone) #dropZone>.left-panel,html.bs-mobile:has(#dropZone) #dropZone>.resizer{display:none!important}
 html.bs-mobile:has(#dropZone).bs-m-folders #dropZone>.left-panel{display:block!important;position:fixed!important;left:12px;right:12px;top:116px;bottom:var(--bs-m-bottom);width:auto!important;min-width:calc(100vw - 24px)!important;box-sizing:border-box!important;max-width:none!important;z-index:2105;overflow:auto!important;box-shadow:0 0 0 100vmax #14263b55;padding:16px!important;background:white!important}
 html.bs-mobile:has(#dropZone) .left-panel .el-tree-node__content{min-height:44px!important;height:auto!important}
 html.bs-mobile:has(#dropZone) .right-panel{width:100%!important;min-width:0!important;padding:0!important;margin:0!important;flex:auto!important}
 html.bs-mobile:has(#dropZone) .right-panel>.el-container,html.bs-mobile:has(#dropZone) .right-panel .el-main{height:auto!important;overflow:visible!important;padding:12px!important}
 html.bs-mobile .bs-m-doc-controls{display:flex;gap:8px;justify-content:space-between;margin:0 0 12px}
 html.bs-mobile .bs-m-doc-controls button{min-height:42px;border:1px solid #d6e1ed;border-radius:9px;background:#fff;color:#06365f;padding:8px 14px;font-size:14px}
 html.bs-mobile:has(#dropZone) .right-panel .el-header{height:auto!important;min-height:0!important;padding:0!important;margin:0!important}
 html.bs-mobile:has(#dropZone) .right-panel .el-header>.el-row{display:none!important}
 html.bs-mobile:has(#dropZone[data-bs-m-tools="open"]) .right-panel .el-header>.el-row{display:flex!important;gap:8px!important;padding:12px!important;box-sizing:border-box}
 html.bs-mobile:has(#dropZone) .right-panel .el-header .bs-toolrow>*{margin:0!important;max-width:100%!important;min-width:0!important}
 html.bs-mobile:has(#dropZone) .bs-doc-icons{margin:0!important}
 html.bs-mobile:has(#dropZone) .bs-find-search,html.bs-mobile:has(#dropZone) .bs-find-filterline{flex:1 1 100%!important;width:100%!important;flex-wrap:wrap!important}
 html.bs-mobile:has(#dropZone) .right-panel .el-main>p{margin:0 0 14px!important;width:100%!important;line-height:26px!important;overflow-wrap:anywhere}
 html.bs-mobile:has(#dropZone) .el-table{height:auto!important;overflow:visible!important}
 html.bs-mobile:has(#dropZone) .el-table__body-wrapper{height:auto!important;max-height:none!important;overflow:visible!important}
 html.bs-mobile:has(#dropZone) .el-table__body,html.bs-mobile:has(#dropZone) .el-table__header{width:100%!important;display:block}
 html.bs-mobile:has(#dropZone) .el-table colgroup{display:none!important}
 html.bs-mobile:has(#dropZone) .el-table thead,html.bs-mobile:has(#dropZone) .el-table tbody{display:block;width:100%}
 html.bs-mobile:has(#dropZone) .el-table tr{display:grid!important;grid-template-columns:36px minmax(0,1fr);width:100%;padding:8px 0;border-bottom:1px solid #e4eaf1;box-sizing:border-box}
 html.bs-mobile:has(#dropZone) .el-table td,html.bs-mobile:has(#dropZone) .el-table th{display:block!important;width:auto!important;border:0!important;padding:2px!important;min-width:0;grid-column:2;text-align:left!important}
 html.bs-mobile:has(#dropZone) .el-table td:first-child,html.bs-mobile:has(#dropZone) .el-table th:first-child{grid-column:1;grid-row:1;align-self:center}
 html.bs-mobile:has(#dropZone) .el-table td:nth-child(2),html.bs-mobile:has(#dropZone) .el-table th:nth-child(2){grid-row:1}
 html.bs-mobile:has(#dropZone) .el-table th:nth-child(n+3){display:none!important}
 html.bs-mobile:has(#dropZone) .el-table td:nth-child(n+4){display:none!important}
 html.bs-mobile:has(#dropZone[data-bs-m-tools="open"]) .el-table td:nth-child(n+4){display:block!important}
 html.bs-mobile:has(#dropZone[data-bs-m-tools="open"]) .el-table td:nth-child(n+4):before{content:attr(data-bs-m-label);font-size:11px;color:#7b8999;padding-left:10px}
 html.bs-mobile:has(#dropZone) .el-table .cell{padding:0 8px!important;max-width:100%!important;width:auto!important;overflow-wrap:anywhere;white-space:normal!important}
 html.bs-mobile:has(#dropZone) .el-table td:nth-child(2) button,html.bs-mobile:has(#dropZone) .el-table td:nth-child(2) button>span{width:100%!important;max-width:100%!important;white-space:normal!important;word-break:break-word;line-height:22px!important;margin:0!important;text-align:left;overflow:visible!important}
 html.bs-mobile:has(#dropZone) .el-table td:nth-child(3) .cell:empty{display:none}
 html.bs-mobile:has(#dropZone) .bs-column-split{display:none!important}
 html.bs-mobile:has(#dropZone) .el-checkbox{padding:8px 0}
 html.bs-mobile:has(#dropZone) .el-checkbox__inner{width:18px;height:18px}
 html.bs-mobile:has(#dropZone) .el-checkbox__inner:after{left:6px;top:3px}
 html.bs-mobile #app>.el-container>.el-header>.el-row>.el-col:nth-child(2)>.el-row{flex-wrap:wrap!important}
 html.bs-mobile.bs-m-issues .control .el-main>.el-card>.el-card__header .clearfix>div{flex-wrap:wrap;gap:12px}
 html.bs-mobile.bs-m-issues .control .el-main>.el-card>.el-card__header .flexLR{width:100%!important;gap:8px}
 html.bs-mobile.bs-m-issues .control .el-main>.el-card>.el-card__body{padding:12px!important;height:auto!important}
 html.bs-mobile.bs-m-issues .control .el-main>.el-card>.el-card__body>.home{height:auto!important}
 html.bs-mobile.bs-m-issues .home>.el-table,html.bs-mobile.bs-m-issues .home>.el-table .el-table__body-wrapper{height:auto!important;max-height:none!important;overflow:visible!important;border:0!important}
 html.bs-mobile.bs-m-issues .home>.el-table .el-table__header-wrapper,html.bs-mobile.bs-m-issues .home>.el-table colgroup{display:none!important}
 html.bs-mobile.bs-m-issues .home>.el-table .el-table__body,html.bs-mobile.bs-m-issues .home>.el-table tbody{display:block!important;width:100%!important}
 html.bs-mobile.bs-m-issues .home>.el-table tr{display:grid;grid-template-columns:1fr 1fr;border:1px solid #dce5ef;border-radius:12px;margin-bottom:12px;padding:12px;gap:10px 6px}
 html.bs-mobile.bs-m-issues .home>.el-table td{display:block;border:0!important;text-align:left;min-width:0;padding:0!important;background:transparent!important}
 html.bs-mobile.bs-m-issues .home>.el-table td:before{content:attr(data-bs-m-label);display:block;font-size:11px;color:#718198;padding:0 4px 4px}
 html.bs-mobile.bs-m-issues .home>.el-table td .cell{padding:0 4px!important;white-space:normal;overflow-wrap:anywhere;font-size:14px!important}
 html.bs-mobile.bs-m-issues .home>.el-table td:nth-child(1),html.bs-mobile.bs-m-issues .home>.el-table td:nth-child(5),html.bs-mobile.bs-m-issues .home>.el-table td:last-child{grid-column:1/-1}
 html.bs-mobile.bs-m-issues .home>.el-table td:nth-child(5){grid-row:1;font-weight:600}
 html.bs-mobile.bs-m-issues .home>.el-table td:last-child .cell{display:flex;gap:8px;flex-wrap:wrap}
 html.bs-mobile.bs-m-issues .home>.el-table td:last-child button{margin:0!important}
 html.bs-mobile.bs-m-folders .bs-m-doc-controls>button:first-child{position:fixed;right:24px;top:120px;z-index:2110;background:#06365f;color:white}
 html.bs-mobile.bs-m-folders .left-panel .el-tree{margin-top:50px!important}
 html.bs-mobile.bs-viewer #bs-pet{display:none!important}
 html.bs-mobile.bs-viewer .dialog .dialog-header{display:flex!important;align-items:center!important;justify-content:space-between!important;padding:4px 12px!important;box-sizing:border-box}
 html.bs-mobile.bs-viewer .dialog .dialog-header .header-buttons{position:static!important;margin-left:auto!important}
 html.bs-mobile input[type=text],html.bs-mobile input[type=password],html.bs-mobile input[type=search],html.bs-mobile textarea{font-size:16px!important}
 html.bs-mobile.bs-viewer .dialog.dialog3 .bs-reply243 textarea{font-size:16px!important;line-height:22px!important;min-height:90px!important}
 html.bs-mobile.bs-viewer .dialog.dialog3 .bs-reply243 button{min-height:44px!important;padding:8px 18px!important;font-size:14px!important}
 /* Viewer: full canvas with stacked, scrollable comment sheets. */
 html.bs-mobile.bs-viewer{--bs-det-size:0px!important;--bs-det-r:0px!important;--bs-list-size:0px!important}
 html.bs-mobile.bs-viewer .dialog.dialog2,html.bs-mobile.bs-viewer .dialog.dialog3{left:0!important;right:0!important;top:auto!important;bottom:0!important;width:100%!important;height:78dvh!important;max-height:78dvh!important;border-radius:18px 18px 0 0!important;transform:none!important;box-sizing:border-box;padding-bottom:env(safe-area-inset-bottom,0px)!important}
 html.bs-mobile.bs-viewer .dialog.dialog2{z-index:2300!important}
 html.bs-mobile.bs-viewer .dialog.dialog3{z-index:2301!important}
 html.bs-mobile.bs-viewer .dialog .dialog-header{min-height:48px!important;touch-action:pan-y}
 html.bs-mobile.bs-viewer .dialog .control-btn{min-width:44px!important;min-height:44px!important}
 html.bs-mobile.bs-viewer .dialog .dialog-content{overflow:auto!important;overscroll-behavior:contain;min-height:0!important}
 html.bs-mobile.bs-viewer .dialog.dialog3 .el-textarea__inner{min-height:90px!important;height:90px!important;font-size:16px!important}
 html.bs-mobile.bs-viewer .bs-m-nav{display:none!important}
 html.bs-mobile.bs-viewer #app>.el-container>.view{padding:0!important}
 html.bs-mobile.bs-viewer .el-button{min-height:40px}
 html.bs-mobile.bs-m-keyboard .bs-m-nav{display:none!important}
 @media(max-width:359px){html.bs-mobile .enterpriseIndex .height710{grid-template-columns:minmax(0,1fr)!important}}
}

/* Mobile compact revision: no dependence on a hidden desktop toolbar's measured height. */
@media(max-width:900px){
 html.bs-mobile #app>.el-container>.el-header{min-height:48px;padding:0 10px!important}
 html.bs-mobile #app>.el-container>.el-header>.el-row{min-height:48px}
 html.bs-mobile #app>.el-container>.el-header .text-4{height:48px!important}
 html.bs-mobile #app>.el-container>.el-header>.el-row>.el-col:nth-child(3){padding-bottom:4px!important}
 html.bs-mobile #app>.el-container>.el-header .el-select .el-input__inner{height:34px!important;min-height:34px!important;line-height:34px!important}
 html.bs-mobile #app>.el-container>.el-header .el-input__icon{line-height:34px!important}
 html.bs-mobile #app>.el-container>.el-header .el-button--small,html.bs-mobile #app>.el-container>.el-header .el-dropdown-selfdefine{min-height:36px!important;min-width:36px!important}
 html.bs-mobile .enterpriseIndex{padding:8px!important}
 html.bs-mobile .enterpriseIndex>.flexLR>:not(:first-child),html.bs-mobile .enterpriseIndex>.flexLR>:first-child>.el-card>.el-card__header{display:none!important}
 html.bs-mobile .enterpriseIndex .el-card.box-card>.el-card__body{padding:8px!important}
 html.bs-mobile .enterpriseIndex .height710{gap:10px!important}
 html.bs-mobile .enterpriseIndex .enterpriseIndexIcon{padding:8px!important}
 html.bs-mobile .enterpriseIndex .enterpriseIndexIcon span{min-height:19px!important}
 html.bs-mobile .enterpriseIndex .enterpriseIndexIcon p{margin-top:2px!important;margin-bottom:0!important;line-height:18px!important}
 html.bs-mobile:has(#dropZone) .control>.el-container>.el-main{padding:8px!important}
 html.bs-mobile:has(#dropZone) .right-panel>.el-container{padding:0!important}
 html.bs-mobile:has(#dropZone) .right-panel .el-main{padding:8px!important}
 html.bs-mobile .bs-m-doc-controls{gap:6px;margin-bottom:6px}
 html.bs-mobile .bs-m-doc-controls button{min-height:36px;padding:6px 10px;font-size:13px}
 html.bs-mobile:has(#dropZone) .right-panel .el-main>p{margin:0 0 6px!important;line-height:22px!important;font-size:13px!important}
 html.bs-mobile:has(#dropZone) .el-table tr{padding:1px 0!important}
 html.bs-mobile:has(#dropZone) .el-table td,html.bs-mobile:has(#dropZone) .el-table th{padding:0!important}
 html.bs-mobile:has(#dropZone) .el-table td:nth-child(3):has(.cell:empty){display:none!important}
 html.bs-mobile:has(#dropZone) .el-table td:nth-child(2) button{min-height:42px!important;padding-top:6px!important;padding-bottom:6px!important}
 html.bs-mobile:has(#dropZone) .el-table th .cell{line-height:30px!important}
 html.bs-mobile:has(#dropZone).bs-m-folders #dropZone>.left-panel{top:var(--bs-m-folder-top,92px)!important;left:8px!important;right:8px!important;min-width:calc(100vw - 16px)!important;padding:10px!important}
 html.bs-mobile.bs-m-folders .bs-m-doc-controls>button:first-child{top:calc(var(--bs-m-folder-top,92px) + 6px)!important;right:18px!important}
 html.bs-mobile.bs-m-folders .left-panel .el-tree{margin-top:42px!important}
 html.bs-mobile:has(#dropZone) #dropZone.resizable-container>.left-panel .el-tree-node__content,
 html.bs-mobile:has(#dropZone) #dropZone.resizable-container>.left-panel .el-tree>.el-tree-node>.el-tree-node__content{height:auto!important;min-height:42px!important;line-height:22px!important;padding-top:4px!important;padding-bottom:4px!important;box-sizing:border-box!important}
 html.bs-mobile:has(#dropZone) #dropZone>.left-panel .el-tree-node{min-width:0!important}
 html.bs-mobile:has(#dropZone) #dropZone>.left-panel .custom-tree-node{min-width:0!important;white-space:normal!important}
 html.bs-mobile:has(#dropZone) #dropZone>.left-panel .node-label{white-space:normal!important;overflow-wrap:anywhere;line-height:22px!important}
}

/* Foldable inner screen: four projects. Normal phone keeps two columns. */
@media(min-width:600px) and (max-width:900px){
 html.bs-mobile .enterpriseIndex .height710{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}
@media(max-width:900px){
 /* The dash is an empty-tag placeholder, not file content. */
 html.bs-mobile:has(#dropZone) .el-table .bs-p-none{display:none!important}
 html.bs-mobile:has(#dropZone) .el-table td:nth-child(3):has(.bs-p-none):not(:has(.bs-p:not(.bs-p-none))){display:none!important}
 /* Original company selector remains available after opening a project or browser Back. */
 html.bs-mobile #app>.el-container>.el-header .bs-m-context-row{display:flex!important;flex-wrap:wrap!important;gap:4px 8px!important;justify-content:flex-start!important}
 html.bs-mobile #app>.el-container>.el-header .bs-m-company-choice{display:block!important}
 html.bs-mobile #app>.el-container>.el-header .bs-m-project-choice{flex:1 1 130px!important;min-width:0!important;width:auto!important;max-width:260px!important;margin-left:0!important}
 html.bs-mobile #app>.el-container>.el-header .bs-m-context-row>.el-col>span.font-sz16{display:none!important}
 html.bs-mobile.bs-m-projects #app>.el-container>.el-header .bs-m-project-choice{display:none!important}
}

/* Hide empty tag slots before the legacy renderer replaces its raw dash placeholder. */
@media(max-width:900px){
 html.bs-mobile:has(#dropZone) #dropZone .el-table td:nth-child(3){display:none!important}
 html.bs-mobile:has(#dropZone) #dropZone .el-table td:nth-child(3).bs-m-has-tags{display:block!important}
}

/* The legacy filter bar mounts in el-main before moving into the toolbar.
   Keep all of its mount positions closed until this Documents instance is opened. */
@media(max-width:900px){
 html.bs-mobile #dropZone:not([data-bs-m-tools="open"]) .right-panel .el-header,
 html.bs-mobile:has(#dropZone:not([data-bs-m-tools="open"])) #bs-find{display:none!important}
}
