/* Scoped maintenance UI. Uses the console's typography and blue/purple accents. */
.hm-sidebar{min-width:0}
.hm-open{overflow:hidden}.hm-mask{position:fixed;inset:0;z-index:1500;background:rgba(26,35,59,.38);display:flex;align-items:center;justify-content:center;padding:24px;backdrop-filter:blur(5px)}
.hm-dialog{--hm-blue:#3f70ef;position:relative;display:grid;grid-template-columns:208px minmax(0,1fr);width:min(1460px,100%);height:min(960px,100%);overflow:hidden;border:1px solid #dfe7f4;border-radius:18px;background:#f4f7fd;box-shadow:0 25px 100px #1b30594d;font-size:13px;color:#162b4d}
.hm-dialog button,.hm-dialog input,.hm-dialog select{font:inherit}.hm-dialog button{cursor:pointer}.hm-dialog button:disabled{opacity:.5;cursor:not-allowed}.hm-dialog :focus-visible{outline:3px solid #7b9aff;outline-offset:2px}.hm-dialog svg,.hm-device-change svg{width:19px;height:19px;flex:none}
.hm-sidebar{display:flex;min-height:0;flex-direction:column;border-right:1px solid #e4eaf5;background:#fff}.hm-brand{display:flex;align-items:center;gap:12px;padding:25px 22px 2px;font-size:20px;font-weight:700}.hm-brand>svg{width:38px;height:38px;padding:8px;color:#fff;background:#3f70ef;border-radius:10px}.hm-brand-sub{padding:0 0 22px 72px;color:#7f91ac;font-size:10px}.hm-nav{gap:3px;padding:10px;overflow:auto;display:flex;flex-direction:column;flex:1}.hm-nav-button{border:0;background:transparent;display:flex;align-items:center;gap:11px;flex:none;text-align:left;border-radius:8px;padding:10px 13px;color:#45607f;font-size:13px;min-height:36px}.hm-nav-button svg{width:17px;height:17px;color:#8094b0}.hm-nav-button:hover{background:#f3f6fc}.hm-nav-button.active{background:#eaf0ff;color:#3569f5;font-weight:700}.hm-nav-button.active svg{color:#3569f5}.hm-device-footer{padding:15px 22px 20px;border-top:1px solid #edf0f7;display:flex;gap:6px;flex-direction:column}.hm-device-footer small{font-size:11px;color:#8a9bb2}.hm-device-footer strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hm-device-footer>span{font-size:11px;color:#7c8da5}
.hm-main{min-width:0;display:flex;flex-direction:column;overflow:hidden}.hm-header{display:flex;align-items:center;gap:16px;justify-content:space-between;padding:24px 26px 15px;flex:none}.hm-headings{min-width:0}.hm-breadcrumb{color:#8496af;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:10px}.hm-title,h2#hmTitle{font-size:24px;font-weight:700;letter-spacing:.2px;margin:0 0 5px}.hm-subtitle{color:#7c90ae;font-size:12px;margin:0}.hm-header-actions{display:flex;gap:8px;flex:none}.hm-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;min-height:35px;padding:7px 13px;background:#fff;color:#24466f;border:1px solid #dfe6f3;border-radius:8px;font-size:12px;font-weight:500}.hm-button:hover{background:#f0f4ff;border-color:#b6c9f6}.hm-primary{background:#3f70ef;border-color:#3f70ef;color:#fff}.hm-primary:hover{background:#315ed1}.hm-close{padding-inline:10px}.hm-live{color:#8a9bb1;font-size:10px;padding:0 26px 8px;min-height:22px}.hm-content{flex:1;min-height:0;overflow:auto;padding:0 26px 24px;scrollbar-gutter:stable}.hm-content>h3{margin:18px 0 12px}.hm-message{display:flex;align-items:flex-start;gap:9px;padding:11px 13px;margin:0 0 12px;border-radius:8px;font-size:12px;line-height:1.6}.hm-message>svg{margin-top:1px;width:16px;height:16px}.hm-neutral{--hm-fg:#7c8ca4;--hm-bg:#edf1f7}.hm-good{--hm-fg:#178f6a;--hm-bg:#e7f6ef}.hm-warn{--hm-fg:#bc7d17;--hm-bg:#fff4df}.hm-danger{--hm-fg:#d14857;--hm-bg:#ffebee}.hm-info{--hm-fg:#3e70e8;--hm-bg:#ecf2ff}.hm-message{background:var(--hm-bg);color:var(--hm-fg)}
.hm-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}.hm-card{min-width:0;min-height:139px;border:1px solid #dfe7f5;border-radius:14px;padding:16px 16px 12px;background:#fff;display:flex;flex-direction:column;box-shadow:0 2px 0 #e9eef8}.hm-card-label{display:flex;align-items:center;gap:10px;color:#7790b0;font-size:11px;white-space:nowrap}.hm-card-label>svg{color:var(--hm-fg);background:var(--hm-bg);box-sizing:content-box;padding:8px;border-radius:10px;width:18px;height:18px}.hm-card-value{font-size:27px;letter-spacing:-.6px;margin:8px 0 16px;line-height:1.3;word-break:break-word}.hm-card.hm-neutral .hm-card-value{color:#8191aa}.hm-card p{font-size:11px;color:#8294b0;line-height:1.6;margin:auto 0 0}.hm-clickable{cursor:pointer}.hm-clickable:hover{border-color:#86a7fa}
.hm-toolbar{display:flex;align-items:center;gap:9px;margin:14px 0 12px;flex-wrap:wrap}.hm-search,.hm-directory-path{min-width:100px;flex:1;background:#fff;border:1px solid #dfe7f3;border-radius:8px;min-height:36px;padding:8px 11px;color:#28476e;user-select:text!important}.hm-search{background:#fafdff}.hm-select{min-height:36px;background:#fff;color:#315279;border:1px solid #dfe6f2;border-radius:8px;padding:7px 30px 7px 11px;max-width:210px}.hm-table-wrap{background:#fff;border:1px solid #dfe7f4;border-radius:10px;overflow:auto;max-height:540px;min-height:220px}.hm-table{width:100%;border-collapse:separate;border-spacing:0;margin:0;font-size:12px}.hm-table th,.hm-table td{padding:11px 13px;line-height:1.6;border-right:1px solid #f0f3fa;border-bottom:1px solid #edf1f8;text-align:left;white-space:nowrap;max-width:420px;overflow:hidden;text-overflow:ellipsis;user-select:text}.hm-table thead th{position:sticky;top:0;background:#fafdff;color:#45638a;font-weight:500;font-size:11px;border-bottom:1px solid #dfe7f3;z-index:1}.hm-table tbody tr:hover:not(.hm-table-group){background:#f8faff}.hm-table-group th{color:#406fbd;font-size:11px;font-weight:500;background:#f5f8ff;border-bottom:1px solid #e6ecf7;padding:7px 13px}.hm-pill{display:inline-flex;gap:5px;align-items:center;border-radius:20px;padding:3px 9px;font-size:10px;line-height:1.5;background:var(--hm-bg);color:var(--hm-fg);white-space:nowrap}.hm-pill:before{content:'';width:5px;height:5px;border:1px solid currentColor;border-radius:100%;flex:none}.hm-detail-button{font-size:11px;border:0;border-radius:5px;padding:3px 8px;background:#edf3ff;color:#446ad5}.hm-table-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:13px;flex-wrap:wrap}.hm-result-count{color:#8a9bb1;font-size:11px}.hm-pager{display:flex;gap:6px}.hm-note{color:#8495af;font-size:11px;line-height:1.7;margin:13px 0 0}.hm-empty{text-align:center!important;height:180px;color:#8c9db5}.hm-empty svg{display:block;width:28px;height:28px;margin:0 auto 12px}.hm-empty strong{font-weight:500}.hm-empty p{font-size:11px}.hm-trend{border:1px solid #e0e8f5;border-radius:10px;background:#fff;display:flex;align-items:center;gap:18px;padding:14px 17px;margin-bottom:16px;overflow:hidden}.hm-trend>strong{font-size:11px;font-weight:500;color:#8b9bb4;white-space:nowrap}.hm-trend-bars{display:flex;align-items:flex-end;justify-content:space-around;gap:8px;flex:1;min-height:52px;overflow:auto}.hm-trend-unit{display:flex;align-items:center;justify-content:flex-end;flex-direction:column;min-width:34px;gap:3px}.hm-trend-unit>i{display:block;background:#4476ef;border-radius:3px;width:34px}.hm-trend-unit>small{color:#6a89c6;font-size:10px}.hm-metric-bars{height:64px;display:flex;flex:1;gap:3px;align-items:flex-end}.hm-metric-bars>span{display:block;min-width:2px;flex:1;background:#6c93f2;border-radius:3px 3px 0 0}
.hm-coverage,.hm-watch-panel{border:1px solid #e1e8f5;background:#fff;border-radius:10px;padding:16px;margin-bottom:16px}.hm-coverage h3,.hm-watch-panel h3{font-size:13px;margin:0 0 12px}.hm-coverage h4{font-size:12px;margin:17px 0 8px}.hm-coverage-row{display:flex;align-items:center;gap:12px;padding:7px 0;flex-wrap:wrap;border-bottom:1px solid #f1f4f9}.hm-coverage-row>strong{font-size:11px;font-weight:500;min-width:70px;overflow-wrap:anywhere}.hm-coverage-row>small{color:#8b9cb4;font-size:10px}.hm-watch-head{display:flex;align-items:center;justify-content:space-between;margin:12px 0}.hm-watch-head h3{font-size:14px;margin:0}.hm-check{display:flex;align-items:center;gap:8px;font-size:12px;color:#476186;margin:12px 0}.hm-check input{accent-color:#4075ed}.hm-watch-directory{display:flex;align-items:center;gap:10px}.hm-watch-directory>.hm-check{flex:none}.hm-watch-actions{display:flex;align-items:center;gap:8px;margin-top:16px;flex-wrap:wrap}.hm-watch-actions>small{color:#8a9ab1;margin-right:auto;font-size:10px}.hm-path,.hm-detail pre{user-select:text;overflow-wrap:anywhere}.hm-detail{position:absolute;inset:55px 25px 25px 235px;background:#fff;border:1px solid #dfe7f4;box-shadow:0 10px 45px #263b6e33;border-radius:14px;z-index:5;padding:20px;overflow:auto}.hm-detail>header{display:flex;align-items:center;justify-content:space-between;gap:20px;position:sticky;top:-20px;background:#fff;padding:8px 0}.hm-detail h3{font-size:16px}.hm-detail h4{font-size:12px;color:#7c91b2}.hm-detail pre{background:#f5f8fd;border:1px solid #edf1f7;border-radius:8px;white-space:pre-wrap;padding:15px;font-size:12px;line-height:1.7}.hm-detail>p{line-height:1.9;font-size:12px;user-select:text}
.hm-device-statuses{display:flex;gap:3px;flex-wrap:wrap;min-width:205px}.hm-device-statuses .hm-pill{padding:2px 6px;font-size:9px}.hm-device-change{display:inline-flex;align-items:center;gap:5px;font:inherit;font-size:10px;color:var(--hm-fg);background:var(--hm-bg);border:0;border-radius:5px;padding:3px 6px;margin-top:6px;cursor:pointer}.hm-device-change svg{width:13px;height:13px}.hm-device-stale{display:block;color:#8e9bb0;font-size:9px;margin-top:3px}#view-devices>.card{overflow-x:auto}#view-devices .row-acts{flex-wrap:wrap;min-width:180px}.hm-row-entry{color:#3e70e8!important}
@media(max-width:1150px){.hm-mask{padding:12px}.hm-dialog{grid-template-columns:180px minmax(0,1fr)}.hm-brand{padding-left:16px;font-size:18px}.hm-brand-sub{padding-left:65px}.hm-header{padding:20px 18px 12px}.hm-content{padding-inline:18px}.hm-live{padding-inline:18px}.hm-cards{gap:9px}.hm-card{padding:12px;min-height:135px}.hm-card-value{font-size:23px}.hm-card-label{gap:7px}.hm-card-label>svg{width:15px;height:15px;padding:6px}.hm-detail{left:200px}}
@media(max-width:760px){.hm-mask{padding:0}.hm-dialog{border-radius:0;border:0;width:100%;height:100%;grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr)}.hm-sidebar{border:0}.hm-brand,.hm-brand-sub,.hm-device-footer{display:none}.hm-nav{flex-direction:row;padding:8px;overflow:auto;gap:3px;border-bottom:1px solid #e5ebf6}.hm-nav-button{padding:9px;font-size:11px;gap:5px}.hm-nav-button svg{width:15px}.hm-header{padding:15px 14px 10px}h2#hmTitle{font-size:21px}.hm-subtitle{font-size:10px}.hm-breadcrumb{max-width:calc(100vw - 190px);font-size:10px;margin-bottom:6px}.hm-header-actions{gap:5px}.hm-header-actions .hm-button{font-size:10px;padding:7px 8px;gap:4px}.hm-close{font-size:0!important}.hm-close svg{width:18px}.hm-content{padding:0 12px 20px}.hm-live{padding-inline:14px;font-size:9px}.hm-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.hm-card{min-height:122px}.hm-card-value{font-size:24px;margin:8px 0 12px}.hm-card p{font-size:10px}.hm-toolbar{gap:6px}.hm-search{flex-basis:100%}.hm-select{flex:1;max-width:100%;min-width:0;font-size:11px}.hm-table th,.hm-table td{padding:10px;font-size:11px}.hm-table-wrap{max-height:460px}.hm-watch-directory{flex-wrap:wrap;gap:5px;margin-bottom:10px}.hm-directory-path{flex-basis:100%}.hm-detail{inset:12px;padding:15px}.hm-detail>header{top:-15px}.hm-pager{flex-wrap:wrap}.hm-button{font-size:11px}.hm-trend{padding:11px;gap:8px}.hm-trend>strong{font-size:10px}.hm-coverage-row{gap:6px}}
@media(max-width:760px){.hm-dialog{grid-template-columns:minmax(0,1fr)}.hm-nav{width:100%;min-width:0}.hm-card{min-width:0}}
@media(min-width:761px) and (max-width:1150px){.hm-brand-sub{padding:6px 16px 12px;font-size:9px;white-space:nowrap}}
.hm-coverage>summary{cursor:pointer;list-style:none;outline-offset:5px}.hm-coverage>summary::-webkit-details-marker{display:none}.hm-coverage-heading{display:flex;align-items:center;gap:8px;color:#47668e}.hm-coverage-heading>strong{font-size:12px}.hm-coverage-heading>small{font-size:10px;color:#8b9db5}.hm-coverage-heading>svg{width:17px;height:17px}.hm-coverage-heading>svg:last-child{margin-left:auto;transition:transform .15s}.hm-coverage[open] .hm-coverage-heading>svg:last-child{transform:rotate(90deg)}.hm-coverage-brief{font-size:11px;color:#bc7d17;line-height:1.7;margin:10px 0 0}.hm-coverage[open]>summary{padding-bottom:12px;border-bottom:1px solid #edf1f8;margin-bottom:6px}@media(max-width:760px){.hm-coverage-heading>small{display:none}.hm-coverage-brief{font-size:10px}}
@media(max-width:760px){.hm-coverage{padding:12px}}
.hm-collection-panel{border:1px solid #dfe7f5;background:#fff;border-radius:12px;padding:15px 17px;margin-bottom:16px}.hm-collection-head,.hm-collection-title{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.hm-collection-head{justify-content:space-between}.hm-collection-title{font-size:13px;color:#294b76}.hm-collection-title>svg{width:20px;height:20px;color:#4a78df}.hm-collection-panel>p{font-size:12px;line-height:1.75;color:#627a98;margin:10px 0 0}.hm-collection-panel>.hm-message{margin-top:10px;margin-bottom:0}@media(max-width:600px){.hm-collection-panel{padding:12px}.hm-collection-head{gap:6px;flex-wrap:nowrap}.hm-collection-title{gap:6px}.hm-collection-head>.hm-button{padding-inline:9px;flex:none}.hm-collection-title>svg{display:none}}

.hm-collection-help{margin-top:9px;font-size:11px;color:#7286a3;line-height:1.7}.hm-collection-help summary{cursor:pointer;color:#5275a5}.hm-collection-help p{margin:8px 0}
@media(max-width:600px){.hm-header{padding-block:12px 8px}.hm-collection-panel{padding:8px 10px;margin-bottom:8px}.hm-collection-panel>p{display:none}.hm-collection-help{margin-top:5px;font-size:10px}.hm-cards{gap:6px;margin-bottom:8px}.hm-card{min-height:86px;padding:8px}.hm-card-label{font-size:10px;gap:6px}.hm-card-label>svg{width:14px;height:14px;padding:4px}.hm-card-value{font-size:22px;line-height:1.2;margin:4px 0 6px}.hm-card p{font-size:10px;line-height:1.4}}
