.console{grid-template-columns:216px 1fr;grid-template-rows:64px 1fr;background:#f1f4f8}.console-topbar{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;padding:0 22px;background:linear-gradient(90deg,#084d9f,#0b5fc1);color:#fff;box-shadow:0 2px 8px #12345a22;z-index:2}.console-topbar .console-brand{padding:0;color:#fff}.console-topbar .logo{background:#fff;color:#0b57b7;border-radius:10px}.console-topbar small{color:#d7e8ff}.console-topbar nav{display:flex;align-items:center;gap:6px}.console-topbar nav button{border:0;background:transparent;color:#fff;padding:11px 14px;border-radius:5px}.console-topbar nav button:hover{background:#ffffff18}.operator{display:flex;align-items:center;gap:8px;margin-left:12px;padding-left:18px;border-left:1px solid #ffffff35;font-size:13px}.operator i{width:9px;height:9px;background:#4ee28a;border-radius:50%}.console aside{grid-row:2;padding:12px 0 14px;gap:0;border-right:1px solid #dfe5ee;box-shadow:2px 0 8px #12345a0a}.nav-group{padding:5px 0 9px}.nav-group>small{display:block;padding:8px 24px;color:#9aa6b5;font-size:10px;letter-spacing:1px}.console .tab{width:100%;border-radius:0;padding:11px 20px;display:flex;align-items:center;gap:12px;color:#566477;border-left:4px solid transparent}.console .tab b{width:18px;text-align:center;color:#8491a2;font-size:14px}.console .tab.active,.console .tab:hover{background:#0b57b7;color:#fff;border-left-color:#ffb300}.console .tab.active b,.console .tab:hover b{color:#fff}.console .back{margin:10px 18px 0;border-top:1px solid #edf0f4;border-radius:0;padding-top:18px}.workspace{grid-column:2;grid-row:2;padding:18px 22px 32px}.workspace>header{min-height:52px}.workspace h2{font-size:20px;margin:4px 0 12px}.auth-bar{border-radius:3px;box-shadow:0 2px 9px #16385c0b}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:14px}.dashboard-main{display:grid;gap:14px}.dashboard-side{display:grid;align-content:start;gap:14px}.panel,.list-panel{background:#fff;border:1px solid #e0e6ee;border-radius:3px;box-shadow:0 2px 10px #16385c0b}.panel-title{min-height:50px;padding:0 17px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e9edf3;color:#344154;font-size:14px}.link-button{border:0;background:transparent;color:#0b57b7;font-size:12px}.resource-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;padding:18px}.resource{position:relative;overflow:hidden;color:#fff;min-height:108px;padding:17px 18px;border-radius:5px;background:#1689ed}.resource:after{content:"";position:absolute;width:100px;height:100px;border-radius:50%;background:#ffffff12;right:-25px;bottom:-36px}.resource.orange{background:linear-gradient(135deg,#ffb43d,#ff8115)}.resource.blue{background:linear-gradient(135deg,#18a7ee,#1575ed)}.resource.cyan{background:linear-gradient(135deg,#1abddb,#1688ed)}.resource.deep{background:linear-gradient(135deg,#1874e7,#0a56c4)}.resource span,.resource small{display:block;font-size:12px}.resource strong{display:block;font-size:28px;margin:8px 0}.resource small{opacity:.75}.overview-lower{display:grid;grid-template-columns:.9fr 1.1fr;gap:14px}.expiry-list{padding:7px 16px}.expiry-list button{width:100%;display:flex;justify-content:space-between;border:0;border-bottom:1px solid #edf0f4;background:#fff;padding:11px 4px;color:#455166}.expiry-list button b{color:#f08a00}.mini-metrics{display:grid;grid-template-columns:1fr 1fr;padding:14px}.mini-metrics div{padding:16px;border:1px solid #edf0f4;margin:-1px 0 0 -1px}.mini-metrics span{display:block;color:#778396;font-size:11px}.mini-metrics strong{display:block;color:#0b57b7;font-size:24px;margin-top:8px}.quick-links{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;padding:18px}.quick-links button{border:0;background:#eaf3ff;color:#0b57b7;padding:14px;border-radius:3px}.notice-list article{display:flex;gap:11px;padding:15px 16px;border-bottom:1px solid #edf0f4}.notice-list i{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#e8f1ff;color:#0b57b7;font-style:normal}.notice-list b,.notice-list small{display:block}.notice-list b{font-size:12px;margin-bottom:5px}.notice-list small{font-size:10px;color:#8792a1}.help-card{padding:18px}.help-card p{color:#707c8e;font-size:12px;line-height:1.7}.help-card button{width:100%;border:0;background:#0b57b7;color:#fff;padding:10px}.compact-empty{text-align:center;padding:32px;color:#929cab;font-size:12px}.list-panel{padding:18px}.action-row,.search-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.action-row>div{display:flex;gap:8px}.action-row .primary,.action-row .outline,.search-row .outline{border-radius:3px;padding:8px 15px;font-size:12px}.view-switch button{border:1px solid #0b57b7;background:#0b57b7;color:#fff;padding:7px 13px}.search-row{justify-content:flex-start;margin:10px 0}.search-row input{width:360px;border-radius:2px;padding:8px 11px;font-size:12px}.search-row span{margin-left:auto;color:#7b8796;font-size:12px}.status-tabs{display:flex;gap:22px;border-bottom:1px solid #e2e7ee;margin:5px 0 15px}.status-tabs button{border:0;border-bottom:2px solid transparent;background:transparent;padding:9px 0;color:#4d5b6d;font-size:12px}.status-tabs button.active{color:#0b57b7;border-color:#0b57b7}.list-panel .table-wrap{border-radius:2px}.list-panel th{background:#eef4fd;color:#425269}.list-panel td{border-right:1px solid #edf0f4}.cell-link{color:#0757b7}.cell-note{display:block;max-width:260px;overflow:hidden;text-overflow:ellipsis;color:#8b95a3;margin-top:5px}.ghost{border:0;background:transparent;color:#0757b7}.server{border-radius:3px}.auth-bar .primary{border-radius:3px}
@media(max-width:1100px){.resource-grid{grid-template-columns:1fr 1fr}.dashboard-grid{grid-template-columns:1fr}.dashboard-side{grid-template-columns:1fr 1fr}.overview-lower{grid-template-columns:1fr}.quick-links{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.console{grid-template-columns:68px 1fr}.console-topbar{padding:0 10px}.console-topbar .console-brand div,.console-topbar nav button{display:none}.nav-group>small{font-size:0;padding:5px}.console .tab{padding:13px 20px;font-size:0}.console .tab b{font-size:16px}.console .back{font-size:0;margin:5px}.workspace{padding:12px}.resource-grid,.dashboard-side,.quick-links{grid-template-columns:1fr}.search-row input{width:100%}.status-tabs{gap:12px;overflow:auto}.action-row{align-items:flex-start;flex-direction:column}}

/* 2026-08 管理导航可读性与现代化图标 */
.console{grid-template-columns:248px 1fr}.console aside{background:#fff}.nav-group{padding:8px 10px 12px}.nav-group>small{padding:8px 12px 7px;color:#66758a;font-size:12px;font-weight:700;letter-spacing:.06em;border-bottom:1px solid #edf2f8;margin-bottom:5px}.console .tab{min-height:44px;padding:10px 12px;border-radius:9px;border-left:0;gap:11px;font-size:14px;font-weight:500}.console .tab b{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:#edf4ff;color:#1769c2;font-size:15px;font-family:"Segoe UI Symbol","Noto Sans Symbols",sans-serif}.console .tab.active,.console .tab:hover{background:linear-gradient(90deg,#0b5fc1,#176fce);box-shadow:0 5px 14px #0b5fc12a}.console .tab.active b,.console .tab:hover b{background:#ffffff22;color:#fff}.crumb{font-size:13px;color:#68778c;font-weight:600}.workspace h2{font-size:24px}.backup-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.backup-grid .panel{padding:22px;border-radius:14px}.backup-grid p{color:#65748a;line-height:1.7}.backup-grid button{margin-top:12px}.backup-grid small{display:block;margin-top:12px;color:#52657f}.danger-zone{border-color:#f3c6c6!important;background:#fffafa!important}@media(max-width:900px){.backup-grid{grid-template-columns:1fr}}@media(max-width:760px){.console{grid-template-columns:76px 1fr}.nav-group>small{font-size:0;border:0}.console .tab{justify-content:center;padding:9px;font-size:0}.console .tab b{font-size:16px}}
.smart-paste{margin:16px 24px 0;padding:14px;background:#f3f7fd;border:1px solid #dce8f8;border-radius:8px}.smart-paste label{display:grid;gap:7px;color:#526276;font-size:12px}.smart-paste textarea{min-height:68px}.smart-paste>div{display:flex;gap:8px;margin-top:9px}.smart-paste small{display:block;color:#7b8796;margin-top:8px}.license-result{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:20px;align-items:center;margin:20px 24px 24px}.license-result>div{min-width:0}.license-result code{margin:0!important}.qr-box{display:grid;place-items:center;min-height:220px;border:1px solid #dce3ec;background:#fff;color:#7f8b99}.qr-box svg{width:210px;height:210px}.batch-body{margin:0 24px;padding:10px 0}.batch-body p{font-size:12px;color:#677487}.batch-actions{display:flex;gap:10px;align-items:center}.check-row{display:flex!important;grid-template-columns:18px 1fr!important;align-items:center;gap:8px!important;margin:14px 0}.check-row input{width:16px}.batch-preview{margin-top:14px;max-height:390px;overflow:auto;border:1px solid #dfe5ed;padding:12px}.batch-preview .table-wrap{margin-top:10px}#batchDialog{width:min(1100px,calc(100% - 28px))}
@media(max-width:700px){.license-result{grid-template-columns:1fr}.smart-paste>div,.batch-actions{flex-wrap:wrap}.qr-box{min-height:190px}.qr-box svg{width:180px;height:180px}}
.device-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:14px}.device-metrics article{background:#fff;border:1px solid #e0e6ee;padding:18px;box-shadow:0 2px 8px #16385c0b}.device-metrics span{display:block;color:#778396;font-size:12px}.device-metrics strong{display:block;color:#0757b7;font-size:26px;margin-top:8px}.chart-panel{margin-bottom:14px}.chart-panel small{color:#8792a1}.trend-chart{display:block;width:100%;height:240px;padding:14px}.trend-chart line{stroke:#d9e1eb}.trend-chart polyline{fill:none;stroke:#1675e8;stroke-width:3;stroke-linejoin:round}.trend-chart text{fill:#8491a2;font-size:10px}.md-preview{max-width:360px;max-height:120px;overflow:auto;margin:0;white-space:pre-wrap;font-family:inherit;color:#526174}.notice-level{display:inline-block;padding:4px 8px;border-radius:3px;background:#e8f1ff;color:#0757b7}.notice-level.warning{background:#fff1da;color:#b86600}.notice-level.success{background:#e3f5e8;color:#16763a}.notice-level.critical{background:#fde7e7;color:#c5221f}.cloud-summary{display:grid;grid-template-columns:1fr minmax(220px,420px) auto;gap:18px;align-items:center;background:#fff;border:1px solid #e0e6ee;padding:18px;margin-bottom:14px}.cloud-summary div span{display:block;color:#7a8797;font-size:12px;margin-top:5px}.cloud-summary progress{width:100%;height:12px;accent-color:#1675e8}
@media(max-width:800px){.device-metrics{grid-template-columns:1fr 1fr}.cloud-summary{grid-template-columns:1fr}.trend-chart{height:190px}}
.product-dialog{width:min(1080px,calc(100% - 28px));max-height:92vh}.product-dialog .dialog-head{margin:0;padding:18px 24px}.product-dialog .dialog-head h3{margin:0 0 5px}.product-dialog .dialog-head small{color:#7a8797}.product-editor{padding:4px 24px 10px;max-height:calc(92vh - 145px);overflow:auto}.product-editor section{padding:12px 0 18px;border-bottom:1px solid #e8edf3}.product-editor h4{margin:8px 0 13px;color:#344154}.form-tip{padding:10px 12px;background:#eef5ff;border-left:3px solid #1a73e8;color:#607087;font-size:12px}.feature-columns{display:grid;grid-template-columns:1fr 1fr;gap:20px}.feature-columns>div{padding:14px;border:1px solid #dfe6ef;background:#fbfcfe}.feature-head{display:flex;align-items:center;gap:8px;margin-bottom:12px}.feature-head b{margin-right:auto}.feature-head button{border:0;background:#e8f1ff;color:#0b57b7;padding:5px 9px;border-radius:4px;font-size:11px}.feature-checks{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:12px}.feature-checks label{display:flex;align-items:center;gap:8px;padding:8px;border:1px solid #e2e7ee;background:#fff;cursor:pointer}.feature-checks input{width:16px}.feature-checks span{font-size:12px}.feature-checks small{display:block;color:#909baa;font-size:9px;margin-top:2px}.feature-columns textarea{min-height:72px}.product-dialog>.dialog-actions,.product-dialog form>.dialog-actions{margin:0;padding:14px 24px;background:#fff;border-top:1px solid #e5eaf0}
@media(max-width:760px){.feature-columns{grid-template-columns:1fr}.feature-checks{grid-template-columns:1fr}.product-dialog .form-grid{grid-template-columns:1fr}}
.record-dialog{width:min(860px,calc(100% - 28px));max-height:92vh}.record-dialog .dialog-head{margin:0;padding:18px 24px}.record-dialog .dialog-head h3{margin:0 0 5px}.record-dialog .dialog-head small{color:#7a8797}.record-dialog #recordFields{margin:0;padding:20px 24px;max-height:65vh;overflow:auto}.record-dialog .dialog-actions{margin:0;padding:14px 24px;border-top:1px solid #e5eaf0;background:#fff}.record-dialog label small{display:block;margin-top:5px;color:#7c8898;font-size:11px}.record-dialog textarea[readonly],.record-dialog input[readonly]{background:#f3f5f8;color:#657185}.danger-link{border:0;background:transparent;color:#d93025;padding:6px 8px}.danger-link:hover{background:#fce8e6;border-radius:4px}
.record-strategy{margin-top:4px;padding:16px 18px;border:1px solid #d9e6f7;border-radius:6px;background:#f6f9fe;color:#4c5d72}.record-strategy h4{margin:0 0 12px;color:#174d8d}.strategy-grid{display:grid;grid-template-columns:.9fr 1.4fr;gap:20px;font-size:12px;line-height:1.8}.strategy-grid b{display:block;color:#33465d;margin-bottom:4px}.strategy-grid p{margin:0 0 8px}.record-strategy code{display:inline-block;margin:2px 5px 2px 0;padding:2px 5px;border-radius:3px;background:#e6f0fd;color:#0757b7}.strategy-example{margin-top:10px;padding-top:10px;border-top:1px dashed #c8d8eb}.strategy-example b{display:block;margin-bottom:6px}.strategy-example code{display:block;padding:8px;white-space:normal;line-height:1.6}
@media(max-width:700px){.strategy-grid{grid-template-columns:1fr}}
.record-dialog:has(.md-editor){width:min(1180px,calc(100% - 28px))}.md-field{font-weight:600;color:#465568}.md-editor{margin-top:7px;border:1px solid #d7dee8;border-radius:7px;overflow:hidden;background:#fff}.md-toolbar{display:flex;align-items:center;gap:4px;flex-wrap:wrap;padding:7px 9px;border-bottom:1px solid #dfe5ed;background:#f6f8fb}.md-toolbar button{min-width:30px;height:30px;padding:0 8px;border:1px solid transparent;border-radius:4px;background:transparent;color:#405066}.md-toolbar button:hover{border-color:#bfd2ed;background:#eaf2fd;color:#0757b7}.md-toolbar .md-preview-toggle{margin-left:auto;min-width:58px;background:#e8f1ff;color:#0757b7}.md-workspace{display:grid;grid-template-columns:1fr 1fr;min-height:310px}.md-workspace>textarea{min-height:310px;border:0;border-radius:0;padding:16px;font:13px/1.7 Consolas,"Microsoft YaHei UI",sans-serif;resize:vertical}.md-live{overflow:auto;max-height:500px;padding:16px;border-left:1px solid #e1e6ed;background:#fff}.md-editor.preview-only .md-workspace{grid-template-columns:1fr}.md-editor.preview-only textarea{display:none}.md-editor.preview-only .md-live{border-left:0}.md-preview .markdown-body{max-width:380px;max-height:140px;overflow:auto;font-size:11px}.md-preview .code-block{max-height:90px}.markdown-body{font-weight:400;color:#364152;line-height:1.75;white-space:normal;word-break:break-word}.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4{color:#1f2d3d;line-height:1.35;margin:1.1em 0 .55em}.markdown-body h1{font-size:1.85em}.markdown-body h2{font-size:1.5em;border-bottom:1px solid #e4e9f0;padding-bottom:.3em}.markdown-body h3{font-size:1.25em}.markdown-body p{margin:.65em 0}.markdown-body ul{padding-left:1.7em}.markdown-body blockquote{margin:.8em 0;padding:9px 14px;border-left:4px solid #8ab4f8;background:#f5f8fd;color:#526276}.markdown-body a{color:#0757b7}.markdown-body figure{margin:14px 0;text-align:center}.markdown-body figure img{display:block;max-width:100%;height:auto;margin:auto;border-radius:6px;box-shadow:0 3px 14px #1f35521f}.markdown-body figcaption{margin-top:6px;color:#788596;font-size:11px}.inline-code{padding:2px 5px;border-radius:4px;background:#edf2f7;color:#bf2340;font-family:Consolas,monospace}.code-block{position:relative;overflow:auto;margin:12px 0;padding:34px 15px 15px;border-radius:7px;background:#172033;color:#d8e2f0;font:12px/1.7 Consolas,monospace}.code-lang{position:absolute;top:7px;right:10px;color:#8da2bd;font-size:10px}.code-keyword{color:#72b7ff}.code-string{color:#a8d98c}.md-alert{margin:10px 0;padding:11px 13px;border-left:4px solid #4285f4;background:#eef5ff}.md-alert b{margin-right:9px}.md-alert.tip{border-color:#34a853;background:#edf8f0}.md-alert.warning{border-color:#f9ab00;background:#fff7e5}.md-alert.important{border-color:#d93025;background:#fce8e6}.md-table-wrap{overflow:auto;margin:12px 0}.markdown-body table{width:100%;border-collapse:collapse;white-space:normal}.markdown-body th,.markdown-body td{padding:8px 10px;border:1px solid #dfe5ed}.markdown-body th{position:static;background:#edf4fd;color:#33465d}.markdown-body hr{border:0;border-top:1px solid #dfe5ed;margin:18px 0}
@media(max-width:800px){.md-workspace{grid-template-columns:1fr}.md-live{border-left:0;border-top:1px solid #e1e6ed}.md-workspace>textarea{min-height:230px}.md-toolbar .md-preview-toggle{margin-left:0}}
#offlineLicense{display:block;max-height:180px;overflow:auto;padding:14px;background:#f1f3f4;border-radius:9px;word-break:break-all;white-space:pre-wrap;font-size:11px;line-height:1.55}#onlineLicenseTitle,#offlineLicenseTitle{margin:16px 0 8px;font-size:13px;color:#3c4043}
.data-grid-tools{display:grid;grid-template-columns:minmax(180px,240px) minmax(280px,1fr) 140px;align-items:end;gap:9px 12px;min-width:680px;margin:10px 0;padding:10px 12px;background:#fff;border:1px solid #dce5f1;border-radius:10px}.grid-control{display:flex;min-width:0;flex-direction:column;gap:5px}.grid-control>span{color:#52657d;font-size:11px;font-weight:700}.grid-query-control{min-width:0}.data-grid-tools select,.data-grid-tools input{width:100%;height:34px;border:1px solid #cbd7e7;border-radius:6px;background:#fff;color:#243750;padding:0 10px}.grid-actions{display:flex;grid-column:1/-1;align-items:center;gap:7px;overflow-x:auto;padding-top:1px}.data-grid-tools button{min-height:34px;padding:0 12px;white-space:nowrap}.data-grid-pager{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0 18px;padding:0 4px;color:#60718a;font-size:12px}.data-grid-pager>div{display:flex;align-items:center;gap:9px}.data-grid-pager button{min-height:32px;padding:0 12px}.grid-page{min-width:72px;text-align:center;white-space:nowrap}.table-wrap th:first-child,.table-wrap td:first-child{text-align:center;min-width:42px}.grid-row-check{width:16px;height:16px;accent-color:#1769d2}
@media(max-width:900px){.data-grid-tools{grid-template-columns:190px minmax(280px,1fr) 130px}.data-grid-pager{flex-wrap:wrap}}
/* 管理后台页头：页面信息与账户操作统一收纳进蓝色顶栏 */
.console-topbar{justify-content:flex-start;gap:18px}
.console-page-context{display:flex;min-width:150px;flex-direction:column;justify-content:center;padding-left:18px;border-left:1px solid rgba(255,255,255,.25);line-height:1.2}
.console-page-context .crumb{color:rgba(255,255,255,.72);font-size:10px;font-weight:500}
.console-page-context strong{margin:0;color:#fff;font-size:16px;font-weight:700;white-space:nowrap;text-shadow:none}
.console-topbar nav{margin-left:auto;flex-shrink:0}
.topbar-session{display:flex!important;align-items:center!important;flex-direction:row!important;justify-content:flex-start!important;gap:8px!important;flex-shrink:0;margin:0!important;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:#fff!important}
.topbar-session.hidden{display:none!important}
.topbar-session .server{display:flex;align-items:center;gap:6px;padding:7px 8px;border:0;border-radius:5px;background:transparent;color:rgba(255,255,255,.9);font-size:11px;white-space:nowrap}
.topbar-session .live{width:7px;height:7px;background:#43df87;box-shadow:0 0 0 3px rgba(67,223,135,.14)}
.topbar-user{font-size:11px;white-space:nowrap;color:rgba(255,255,255,.9)}
.topbar-session b{color:#fff!important;text-shadow:none}
.topbar-session .outline{height:30px;padding:0 10px;border:0;border-radius:5px;background:transparent;color:#fff;font-size:11px;box-shadow:none;text-shadow:none}
.topbar-session .outline:hover{background:rgba(255,255,255,.13);color:#fff}
.workspace{padding-top:14px}

@media(max-width:1280px){
  .console-topbar nav{display:none}
}
.license-group-title{grid-column:1/-1;margin:8px 0 0;padding:9px 11px;border-left:3px solid #1f6fe5;background:#eef5ff;color:#174f95;font-size:14px}.license-product-meta{grid-column:1/-1;display:flex;gap:8px;flex-wrap:wrap;padding:9px 11px;border:1px solid #cfe0f5;border-radius:8px;background:#f7faff}.license-product-meta span{color:#60718a;font-size:11px}
.notice-product-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px}.notice-product-grid label{display:flex;align-items:center;gap:7px;padding:9px;border:1px solid #d8e3f1;border-radius:8px;background:#fff}.notice-product-grid input{width:17px;height:17px}.notice-product-grid small{color:#77869a}
@media(max-width:900px){
  body.console-open{overflow:hidden!important}
  body.console-open>.topbar,body.console-open>main,body.console-open>footer{display:none!important}
  .topbar-session .server,.topbar-user{display:none}
  .console-page-context{margin-left:auto}
}

/* 手机后台使用底部横向导航，避免窄侧栏把表格和卡片压成竖排 */
@media(max-width:700px){
  .console{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:54px minmax(0,1fr) 62px!important}
  .console-topbar{grid-column:1!important;grid-row:1!important}
  .workspace{grid-column:1!important;grid-row:2!important;padding:8px!important;padding-bottom:14px!important}
  .console aside{grid-column:1!important;grid-row:3!important;width:100%!important;min-width:0!important;height:62px!important;display:flex!important;align-items:center!important;gap:4px!important;padding:5px 7px!important;overflow-x:auto!important;overflow-y:hidden!important;border-top:1px solid #dce5f1;box-shadow:0 -4px 16px #173b6414}
  .console aside .nav-group{display:contents!important}
  .console aside .tab,.console aside .back{flex:0 0 48px!important;width:48px!important;height:48px!important;min-height:48px!important;margin:0!important;padding:4px!important}
  .console aside .tab b{width:34px!important;height:34px!important;font-size:16px!important}
  .console-page-context{max-width:none!important}
  .topbar-session #adminLogout{font-size:10px!important;padding:0 6px!important}
  dialog{max-width:calc(100vw - 16px)!important}
  .product-dialog .product-editor,.record-dialog #recordFields{padding-left:12px!important;padding-right:12px!important}
  .inline-tools{display:flex;gap:6px;flex-wrap:wrap}.inline-tools button{font-size:11px;padding:7px 9px}
}
@media(max-width:620px){
  .console-topbar{gap:8px;padding:0 10px}
  .console-page-context{min-width:0;padding-left:10px}
  .console-page-context .crumb{display:none}
  .console-page-context strong{margin:0;font-size:14px;max-width:92px;overflow:hidden;text-overflow:ellipsis}
  .topbar-session{gap:5px}
  .topbar-session .outline{padding:0 7px;font-size:10px}
}

/* 吾爱GIS 统一品牌 LOG */
.logo{overflow:hidden;background:#fff url('/assets/brand/yhgis-logo-512.png?v=20260805') center/cover no-repeat!important;color:transparent!important;font-size:0!important;text-indent:-9999px;box-shadow:none!important}
.release-file-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:8px}.release-file-tools button{min-height:32px;padding:0 11px;font-size:11px}.release-hash-status{color:#60718a;font-size:11px;line-height:1.5}.record-dialog label>small{line-height:1.55}

/* 手机后台：隐藏前台页头，限制横向溢出，表格只在自身区域滚动 */
@media(max-width:900px){
  body:has(#console:not(.hidden)){overflow:hidden}
  body:has(#console:not(.hidden))>.topbar,body:has(#console:not(.hidden))>main,body:has(#console:not(.hidden))>footer{display:none!important}
  .console{inset:0!important;width:100vw!important;max-width:100vw!important;height:100dvh!important;grid-template-columns:58px minmax(0,1fr)!important;grid-template-rows:56px minmax(0,1fr)!important;overflow:hidden!important}
  .console-topbar{min-width:0;height:56px;padding:0 8px!important;gap:7px!important;overflow:hidden}
  .console-topbar .console-brand{flex:0 0 38px;padding:0!important}
  .console-topbar .console-brand .logo{width:36px;height:36px;border-radius:9px}
  .console-topbar .console-brand div{display:none!important}
  .console-page-context{min-width:0!important;max-width:118px;margin:0!important;padding-left:8px!important;flex:1 1 auto}
  .console-page-context strong{display:block;max-width:100%!important;font-size:13px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .topbar-session{flex:0 0 auto!important;gap:2px!important}
  .topbar-session .server,.topbar-user,#changeAdminPassword{display:none!important}
  .topbar-session #adminLogout{height:32px;padding:0 8px;font-size:11px}
  .console aside{grid-column:1;grid-row:2;width:58px;min-width:58px;padding:6px 4px!important;overflow-x:hidden}
  .nav-group{padding:3px 0 5px!important}
  .nav-group>small{display:none!important}
  .console .tab{width:50px!important;min-height:42px!important;justify-content:center!important;padding:6px!important;margin:1px 0!important;font-size:0!important;border-radius:8px!important}
  .console .tab b{width:30px!important;height:30px!important;font-size:15px!important;flex:0 0 30px}
  .console .back{width:50px;margin:3px 0!important;padding:8px!important;font-size:0!important;text-align:center}
  .workspace{grid-column:2;grid-row:2;min-width:0!important;max-width:100%!important;width:100%!important;padding:10px!important;overflow-x:hidden!important;overflow-y:auto!important}
  #consoleContent{min-width:0;max-width:100%}
  .toolbar{align-items:flex-start;gap:8px;flex-wrap:wrap;margin:8px 0 10px}
  .toolbar>span{width:100%;font-size:11px;line-height:1.5}
  .toolbar>div{display:flex;max-width:100%;gap:6px;flex-wrap:wrap}
  .toolbar button{padding:8px 10px;font-size:12px;white-space:nowrap}
  .data-grid-tools{width:100%;min-width:0!important;grid-template-columns:minmax(92px,.9fr) minmax(130px,1.5fr) minmax(76px,.7fr)!important;gap:7px!important;padding:8px!important;overflow:hidden}
  .grid-control>span{font-size:10px}.data-grid-tools select,.data-grid-tools input{height:32px;min-width:0;padding:0 7px;font-size:11px}
  .grid-actions{width:100%;padding-bottom:2px;overflow-x:auto}.data-grid-tools button{min-height:31px;padding:0 9px;font-size:11px}
  .table-wrap{display:block;width:100%!important;max-width:100%!important;overflow-x:auto!important;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
  .table-wrap table{width:max-content;min-width:100%}
  .data-grid-pager{margin-bottom:12px;font-size:11px}.data-grid-pager button{min-height:30px;padding:0 9px}
  .metric-grid,.device-metrics{grid-template-columns:1fr 1fr!important;gap:8px}.metric,.device-metrics article{padding:12px}.metric strong,.device-metrics strong{font-size:20px}
}
