/* System management only. Preserve the original controls, form ownership and desktop presentation. */
body.mobile-ui-active #content:has(>.system-admin-page) > [data-company-toolbar]:not(:has([data-company-kind])){display:none!important;}
body.mobile-ui-active #content .msm-page{gap:8px;min-width:0;}
body.mobile-ui-active #content .msm-page .msm-inactive{display:none!important;}
body.mobile-ui-active #content .msm-page>.sa-page-head{margin:0;display:block;}
body.mobile-ui-active #content .msm-page>.sa-page-head>h3{display:none;}
body.mobile-ui-active #content .msm-page>.sa-page-head>nav{display:flex;flex-wrap:nowrap;gap:4px;width:100%;padding:0 0 6px;border-bottom:1px solid #dce5f1;}
body.mobile-ui-active #content .msm-page>.sa-page-head button{flex:1;min-width:0;min-height:36px;padding:4px 3px;font-size:12px;line-height:18px;border:0;border-radius:6px;background:transparent;color:#61758f;white-space:nowrap;}
body.mobile-ui-active #content .msm-page>.sa-page-head button.msm-selected{background:#eaf2ff;color:#175cc3;font-weight:600;}
body.mobile-ui-active #content .msm-page>.sa-page-head [data-system-action=refresh]{flex:0 0 auto;width:34px;font-size:0;}
body.mobile-ui-active #content .msm-page>.sa-page-head [data-system-action=refresh]::before{content:'↻';font-size:22px;}
body.mobile-ui-active #content .msm-page .sa-panel{padding:10px;border-radius:8px;}
body.mobile-ui-active #content .msm-page .sa-panel.sa-jump-target{outline:none;}
body.mobile-ui-active #content .msm-page .sa-heading{gap:8px;margin-bottom:7px;flex-wrap:nowrap;}
body.mobile-ui-active #content .msm-page h3{font-size:14px;line-height:21px;}
body.mobile-ui-active #content .msm-page h3 small{font-size:11px;margin-left:4px;}
body.mobile-ui-active #content .msm-page :is(button,.sa-file){font-family:inherit;font-size:12px;line-height:18px;min-height:32px;padding:5px 8px;}
body.mobile-ui-active #content .msm-page .sa-heading [data-system-action=new]{background:#175cc3;color:#fff;border-color:#175cc3;}
.msm-explain{display:contents;}
.msm-explain>summary{display:none;}
.msm-info-toggle{display:none;}
body.mobile-ui-active #content .msm-page .msm-info-toggle{display:block;}
body.mobile-ui-active #content .msm-page .msm-explain{display:block;margin:0 0 7px;font-size:11px;color:#63758f;}
body.mobile-ui-active #content .msm-page .msm-explain>summary{display:list-item;cursor:pointer;padding:3px 0;font-size:11px;}
body.mobile-ui-active #content .msm-page .msm-explain>p{margin:4px 0;font-size:12px;line-height:18px;}
body.mobile-ui-active #content .msm-page #systemEntities .table-scroll{border:0;overflow:visible;}
body.mobile-ui-active #content .msm-page #systemEntities table{display:block;min-width:0!important;margin:0;border:0;}
body.mobile-ui-active #content .msm-page #systemEntities thead{display:none;}
body.mobile-ui-active #content .msm-page #systemEntities tbody{display:grid;gap:6px;}
body.mobile-ui-active #content .msm-page .msm-company-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 6px;padding:7px 8px;border:1px solid #dce5f1;border-radius:7px;background:#fff;}
body.mobile-ui-active #content .msm-page .msm-company-row>td{min-width:0;padding:0;border:0;background:transparent;font-size:12px;line-height:18px;white-space:normal;}
body.mobile-ui-active #content .msm-page .msm-company-row>td:first-child{display:contents;}
body.mobile-ui-active #content .msm-page .msm-company-row>td:first-child strong{grid-column:1/-1;grid-row:1;padding-right:32px;font-size:14px;line-height:20px;font-weight:600;}
body.mobile-ui-active #content .msm-page .msm-company-row>td:first-child>small{grid-column:1;grid-row:2;align-self:center;}
body.mobile-ui-active #content .msm-page .msm-company-row>td small{font-size:11px;line-height:16px;margin-top:2px;}
body.mobile-ui-active #content .msm-page .msm-company-row>td:nth-child(4){grid-row:1;grid-column:2;justify-self:end;color:#317568;font-size:11px;}
body.mobile-ui-active #content .msm-page .msm-company-row>td.msm-disabled{color:#64748b;}
body.mobile-ui-active #content .msm-page .msm-company-row>td:last-child{grid-row:2;grid-column:2;min-width:0;align-self:end;}
body.mobile-ui-active #content .msm-page .msm-company-row>td[data-msm-label]{display:none;grid-column:1/-1;}
body.mobile-ui-active #content .msm-page .msm-company-row.msm-expanded>td[data-msm-label]{display:block;border-top:1px solid #edf1f6;padding-top:5px;}
body.mobile-ui-active #content .msm-page .msm-company-row>td[data-msm-label]::before{content:attr(data-msm-label);display:block;font-size:11px;color:#6b7d93;}
body.mobile-ui-active #content .msm-page .sa-row-actions{gap:5px;flex-wrap:nowrap;}
body.mobile-ui-active #content .msm-page .sa-row-actions>button,body.mobile-ui-active #content .msm-page .sa-more>summary{font-size:11px;line-height:18px;min-height:28px;padding:4px 0;border:0;background:transparent;color:#175cc3;}
body.mobile-ui-active #content .msm-page .sa-more>button{background:#fff;border:1px solid #dce5f1;border-radius:7px;box-shadow:0 5px 18px #20344b26;}
body.mobile-ui-active #content .msm-page .sa-backup-grid{display:grid;grid-template-columns:1fr;gap:7px;margin:0 0 8px;}
body.mobile-ui-active #content .msm-page .sa-backup-grid>div{padding:8px 9px;background:#fff;border:1px solid #dce5f1;border-radius:7px;}
body.mobile-ui-active #content .msm-page .sa-backup-grid h4{font-size:13px;line-height:20px;}
body.mobile-ui-active #content .msm-page .sa-backup-grid .msm-explain{margin-bottom:3px;}
body.mobile-ui-active #content .msm-page #systemDingtalk>summary{gap:4px 8px;font-size:13px;margin-bottom:8px;}
body.mobile-ui-active #content .msm-page #systemDingtalk>summary>span{font-size:11px;}
body.mobile-ui-active #content .msm-page .sa-form{display:flex;flex-direction:column;gap:5px;}
body.mobile-ui-active #content .msm-page .sa-field{display:grid;grid-template-columns:86px minmax(0,1fr);align-items:center;gap:8px;padding:4px 0;margin:0;border-bottom:1px solid #edf1f6;}
body.mobile-ui-active #content .msm-page .sa-field>span{font-size:12px;line-height:18px;}
body.mobile-ui-active #content .msm-page .sa-field :is(input,select,textarea){min-height:36px;padding:6px;font-family:inherit;font-size:13px;line-height:20px;border-radius:5px;}
body.mobile-ui-active #content .msm-page .sa-field textarea{height:64px;}
body.mobile-ui-active #content .msm-page .sa-form-actions{gap:6px;padding-top:8px;flex-wrap:wrap;}
body.mobile-ui-active #content .msm-page .sa-modal{top:var(--msm-vv-top,0px);bottom:auto;height:var(--msm-vv-height,100dvh);box-sizing:border-box;padding:8px;}
body.mobile-ui-active #content .msm-page .sa-dialog{width:100%;max-height:100%;border-radius:10px;}
body.mobile-ui-active #content .msm-page .sa-dialog>header{padding:8px 10px;flex-direction:row;justify-content:flex-start;gap:8px;}
body.mobile-ui-active #content .msm-page .sa-dialog>header button[data-system-action=close-modal]{order:-1;width:32px;flex:0 0 32px;min-height:34px;padding:0;font-size:0;background:#edf3ff;color:#175cc3;border:0;}
body.mobile-ui-active #content .msm-page .sa-dialog>header button[data-system-action=close-modal]::before{content:'‹';font-size:26px;}
body.mobile-ui-active #content .msm-page .sa-dialog>form{padding:10px;min-height:0;overflow:auto;}
body.mobile-ui-active #content .msm-page .sa-dialog .sa-form-actions{bottom:-10px;margin:0 -1px;padding-bottom:8px;flex-wrap:nowrap;}
body.mobile-ui-active .cw-backup-modal{position:fixed;inset:var(--msm-vv-top,0px) 0 auto;height:var(--msm-vv-height,100dvh);box-sizing:border-box;z-index:1500;display:flex;align-items:center;justify-content:center;padding:8px;background:#172c4380;}
body.mobile-ui-active .cw-backup-modal .cw-shell{display:flex;flex-direction:column;width:100%;height:auto;max-height:100%;overflow:hidden;border-radius:10px;background:#fff;}
body.mobile-ui-active .cw-backup-modal .cw-header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px;border-bottom:1px solid #dce5f1;}
body.mobile-ui-active .cw-backup-modal .cw-header h2{font-size:15px;line-height:22px;margin:0;}
body.mobile-ui-active .cw-backup-modal .cw-kicker{display:none;}
body.mobile-ui-active .cw-backup-modal .cw-body{overflow:auto;min-height:0;padding:10px;font-size:13px;line-height:20px;}
body.mobile-ui-active .cw-backup-modal .cw-body[data-backup-page=list]{display:flex;flex-direction:column;gap:8px;}
body.mobile-ui-active .cw-backup-modal .cw-backup-intro p{margin:0;font-size:12px;}
body.mobile-ui-active .cw-backup-modal .cw-muted{font-size:11px;line-height:17px;color:#64748b;}
body.mobile-ui-active .cw-backup-modal :is(button,.cw-backup-file summary){width:auto;min-height:32px;padding:5px 8px;border:1px solid #dce5f1;border-radius:6px;background:#fff;color:#175cc3;font-family:inherit;font-size:12px;line-height:20px;}
body.mobile-ui-active .cw-backup-modal .cw-actions{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0;}
body.mobile-ui-active .cw-backup-modal .cw-backup-list{border:0;overflow:visible;flex:none;min-height:0;}
body.mobile-ui-active .cw-backup-modal .cw-backup-list :is(table,tbody){display:block;min-width:0;width:100%;}
body.mobile-ui-active .cw-backup-modal .cw-backup-list thead{display:none;}
body.mobile-ui-active .cw-backup-modal .cw-backup-list tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 8px;border:1px solid #dce5f1;border-radius:7px;padding:7px 8px;margin-bottom:6px;}
body.mobile-ui-active .cw-backup-modal .cw-backup-list td{display:block;padding:0;border:0;font-size:11px;line-height:17px;}
body.mobile-ui-active .cw-backup-modal .cw-backup-list td:first-child{grid-column:1/-1;font-size:13px;}
body.mobile-ui-active .cw-backup-modal .cw-backup-list td:nth-child(3){grid-column:1;}
body.mobile-ui-active .cw-backup-modal .cw-backup-list td:last-child{grid-column:2;grid-row:2/4;align-self:end;}
body.mobile-ui-active .cw-backup-modal .cw-backup-list td[colspan]{grid-column:1/-1;grid-row:auto;}
body.mobile-ui-active .cw-backup-modal .cw-detail{display:grid;grid-template-columns:1fr;gap:7px;margin:8px 0;}
body.mobile-ui-active .cw-backup-modal .cw-detail>div{display:grid;grid-template-columns:92px minmax(0,1fr);gap:8px;}
body.mobile-ui-active .cw-backup-modal .cw-detail dt{font-size:11px;color:#64748b;}
body.mobile-ui-active .cw-backup-modal .cw-detail dd{margin:0;font-size:12px;line-height:19px;overflow-wrap:anywhere;}
body.mobile-ui-active .cw-backup-modal .cw-backup-selected h3{font-size:14px;line-height:21px;margin:8px 0;}
body.mobile-ui-active .cw-backup-modal .cw-backup-footer{position:sticky;bottom:-10px;display:flex;flex-wrap:wrap;gap:6px;background:#fff;border-top:1px solid #dce5f1;margin:10px -10px -10px;padding:8px 10px;}
body.mobile-ui-active #content .msm-page #systemBackup [data-system-fold=backups] .table-scroll{overflow:visible;border:0;}
body.mobile-ui-active #content .msm-page #systemBackup [data-system-fold=backups] :is(table,tbody){display:block;min-width:0;width:100%;}
body.mobile-ui-active #content .msm-page #systemBackup [data-system-fold=backups] thead{display:none;}
body.mobile-ui-active #content .msm-page #systemBackup [data-system-fold=backups] tbody>tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 6px;padding:7px 8px;margin-bottom:6px;border:1px solid #dce5f1;border-radius:7px;background:#fff;}
body.mobile-ui-active #content .msm-page #systemBackup [data-system-fold=backups] td{padding:0;min-width:0;border:0;font-size:11px;line-height:17px;white-space:normal;}
body.mobile-ui-active #content .msm-page #systemBackup [data-system-fold=backups] td:first-child{grid-column:1/-1;font-size:13px;}
body.mobile-ui-active #content .msm-page #systemBackup [data-system-fold=backups] td:nth-child(2){grid-column:1/-1;}
body.mobile-ui-active #content .msm-page #systemBackup [data-system-fold=backups] td:nth-child(2)>small{display:inline;margin-left:5px;font-size:11px;}
body.mobile-ui-active #content .msm-page #systemBackup [data-system-fold=backups] td:nth-child(3){align-self:center;}
body.mobile-ui-active #content .msm-page #systemBackup [data-system-fold=backups] td[colspan]{grid-column:1/-1;}
