/* Shared by console, remote windows, sign-in and download pages. */
:root{--font-ui:"Xiya Sans",-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei UI","Microsoft YaHei","PingFang SC","Hiragino Sans GB","Noto Sans CJK SC",Arial,sans-serif;--text-body:15px;--text-label:14px;--text-meta:13px;--text-heading:18px;--ink:var(--pas-legacy-text-203b32ff);--muted:var(--pas-legacy-text-536b61ff);--accent:var(--pas-legacy-text-176e55ff);--bg:var(--pas-legacy-fill-f5f8f6ff);--line:var(--pas-legacy-fill-dbe5dfff)}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{font-family:var(--font-ui);font-size:var(--text-body);line-height:1.65}
button,input,select,textarea{font-family:var(--font-ui)}
/* Stable geometry; only the neutral thumb appears during scrolling. */
html,body,html body *{scrollbar-width:thin;scrollbar-color:transparent transparent}
html.pas-scrolling,body.pas-scrolling,html body .pas-scrolling{scrollbar-color:var(--pas-legacy-fill-64706b70) transparent}
*::-webkit-scrollbar{width:8px;height:8px;background:transparent}
*::-webkit-scrollbar-track{background:transparent;margin:10px;border-radius:999px}
*::-webkit-scrollbar-thumb{background:transparent;border:2px solid transparent;border-radius:999px;background-clip:padding-box;min-height:28px;min-width:28px;transition:background-color .18s ease}
.pas-scrolling::-webkit-scrollbar-thumb{background-color:var(--pas-legacy-fill-64706b70)}
*::-webkit-scrollbar-corner{background:transparent}
@media(forced-colors:active){html.pas-scrolling,body.pas-scrolling,html body .pas-scrolling{scrollbar-color:CanvasText transparent}.pas-scrolling::-webkit-scrollbar-thumb{background-color:CanvasText}}
@media(prefers-reduced-motion:reduce){*::-webkit-scrollbar-thumb{transition:none}}
/* WebKit's custom track allows insets around rounded corners. */
@supports selector(::-webkit-scrollbar){html,body,html body *,html.pas-scrolling,body.pas-scrolling,html body .pas-scrolling{scrollbar-width:auto;scrollbar-color:auto}}
/* Touch scrolls without painted tracks, including hybrid touch/mouse devices,
   horizontal lists, dialogs and standalone remote windows. */
@media(any-pointer:coarse){
 html,body,html body *{scrollbar-width:none!important;scrollbar-gutter:auto!important}
 *::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
}

/* HomePage typography: one variable font, restrained weights and readable metadata.
   Compact remote controls and monospace editors retain their own geometry. */
/* Inset focus remains visible inside clipped toolbars, without an outer glow. */
:where(button,a,input,select,textarea,summary):focus-visible{outline:2px solid var(--accent)!important;outline-offset:-3px!important}
:where(input,textarea)::placeholder{color:var(--muted);opacity:1}
:where(h1,h2,h3,h4){font-weight:600;text-wrap:balance}
:where(p,dt,dd){overflow-wrap:anywhere}
.sidebar-menu [data-page]{font-size:var(--text-label);font-weight:500}
.sidebar-menu [data-page].active{font-weight:600}
.sidebar-brand .brand{font-family:var(--font-ui)}
:is(.policy-copy-note,.help-disclosure,.module-intro,.health-note,.settings-note,.reboot-note){font-size:var(--text-label);line-height:1.75}
:is(.fields dt,.fields dd,.hardware-component,.hardware-partition){font-size:var(--text-label);line-height:1.65}
:is(.health-row-reason,.health-row-time,.health-resource-card>span,.health-resource-card small,.gmc-device-identity>span,.gmc-device-status>small,.gmc-tab-state,.gmc-change-meta,.event-legend-row,.access-scope,.module-chip){font-size:var(--text-meta);line-height:1.6}
:is(.health-stat>span,.fleet-stat-card>span,.health-safe-card>span){font-size:var(--text-label)}
:is(.health-stat strong,.fleet-stat-card strong,.health-resource-card strong){font-variant-numeric:tabular-nums;font-weight:600}
:is(.policy-card h2,.settings-card h2,.health-safe-title,.fleet-stat-section h2){font-weight:600}
.help-disclosure>summary{font-size:var(--text-label);min-height:36px;color:var(--muted)}
.health-warranty-link{display:inline-flex;align-items:center;justify-content:center;flex:none;min-height:40px;padding:8px 12px;border:1px solid var(--line);border-radius:var(--control-radius,8px);background:var(--pas-legacy-fill-ffffffff);color:var(--ink);font-size:var(--text-label);text-decoration:none;white-space:nowrap}
.health-warranty-link:hover{border-color:var(--accent)}
.health-date-actions [role=status]:empty{display:none}
.health-warranty-source{margin:0 0 12px;font-size:var(--text-meta);line-height:1.7;color:var(--muted);overflow-wrap:anywhere}
.help-disclosure[open]>summary{margin-bottom:8px}
.certificate-toolbar{display:flex;align-items:center;gap:10px}
:is(.certificate-identity,.certificate-deployment,.certificate-card) .policy-card-body{padding:16px;gap:12px}
:is(.certificate-identity,.certificate-deployment,.certificate-card) .policy-card-body>h2{margin:0;font-size:var(--text-heading)}
:is(.certificate-identity,.certificate-deployment,.certificate-card) .policy-card-body>p{margin:0}
@media(max-width:700px){
  .sidebar-menu [data-page]{font-size:var(--text-body)}
  :is(.certificate-identity,.certificate-deployment,.certificate-card) .policy-card-body{padding:0}
}
@media(max-width:540px){
  .admin-shell>main>.module-bar:has(.certificate-toolbar){flex-wrap:wrap}
  .module-bar:has(.certificate-toolbar)>#refresh{margin-left:auto}
  .module-bar:has(.certificate-toolbar)>#module-tools{order:3;flex:1 0 100%;overflow:visible}
  .certificate-toolbar{width:100%;gap:8px}
  .certificate-toolbar>button{flex:1;padding-inline:8px}
}
.health-dialog-header .health-device-hostname{display:block;margin-top:4px;font-size:12px;font-weight:400;color:var(--muted);letter-spacing:0}

/* Keep page controls outside the independently scrolling result surface. */
#workspace:has(>.module-content:is(.gmc-page,.batch-page,.feedback-page):not([hidden])),
#workspace:has(>.module-content:not([hidden])>.activation-view){display:flex;flex-direction:column;overflow:hidden;padding-bottom:0;scrollbar-gutter:auto}
.module-content:is(.gmc-page,.batch-page,.feedback-page),.module-content:has(>.activation-view){display:flex;flex-direction:column;flex:1;min-height:0;height:100%;overflow:hidden}
.gmc-page>.gmc-list,.batch-page>.batch-results,.feedback-page>.feedback-table-wrap{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.module-content>.activation-view{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}
.activation-view>.activation-table-wrap{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain}
:is(.module-content,dialog) :is(.gmc-pager,.health-pager,.activation-pagination,.feedback-pagination,.event-pagination,.batch-pagination,.pas-pagination){display:flex;align-items:center;justify-content:center;flex:none;flex-wrap:wrap;gap:10px;margin:0;padding:12px 16px calc(12px + env(safe-area-inset-bottom,0px));min-height:64px;border-top:1px solid var(--line);background:var(--pas-surface);color:var(--muted);font-size:13px;line-height:1.5;font-variant-numeric:tabular-nums;z-index:2}
:is(.module-content,dialog) :is(.gmc-pager,.health-pager,.activation-pagination,.feedback-pagination,.event-pagination,.batch-pagination,.pas-pagination):empty{display:none}
:is(.module-content,dialog) :is(.gmc-pager,.health-pager,.activation-pagination,.feedback-pagination,.event-pagination,.batch-pagination,.pas-pagination)>button{min-height:38px;padding:7px 14px;border-radius:var(--control-radius,12px);font-size:14px;white-space:nowrap}
:is(.module-content,dialog) :is(.gmc-pager,.health-pager,.activation-pagination,.feedback-pagination,.event-pagination,.batch-pagination)>span{min-width:170px;text-align:center}
.deploy-history-dialog .pas-pagination{justify-content:flex-end}.deploy-history-dialog .pas-pagination .deploy-history-summary{margin-right:auto}
.gmc-page>.gmc-summary{grid-template-columns:repeat(5,minmax(0,1fr));flex:none;gap:10px;margin:0 0 16px}
.gmc-page .gmc-summary-item{padding:16px 18px;border-radius:12px;box-shadow:none;background:var(--pas-surface);border-color:var(--line)}
.gmc-page .gmc-summary-item[aria-pressed=true]{background:var(--pas-selected);border-color:var(--pas-accent-line)}
.gmc-page .gmc-summary-item>strong{font-size:25px}.gmc-page .gmc-summary-ignored>strong{color:var(--muted)}
.gmc-page>.gmc-list{border:1px solid var(--line);border-radius:14px 14px 0 0;background:var(--pas-surface)}
.gmc-page .gmc-device-row{padding:18px 20px;min-height:84px;grid-template-columns:minmax(150px,1fr) minmax(130px,.65fr) auto}
.gmc-page .gmc-device-identity{gap:4px}.gmc-page .gmc-device-status{gap:6px}.gmc-page .gmc-device-actions{gap:8px;flex-wrap:wrap;justify-content:flex-end}
.gmc-page .gmc-row-error{max-width:420px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.gmc-page>.gmc-pager{border:1px solid var(--line);border-top:0;border-radius:0 0 14px 14px}
.gmc-state-ignored{background:var(--pas-surface-soft);color:var(--muted)}
.gmc-page .gmc-ignore{background:transparent;color:var(--muted)}
@media(max-width:700px){
 .gmc-page>.gmc-summary{gap:6px;margin-bottom:10px}.gmc-page .gmc-summary-item{flex-direction:column;align-items:flex-start;gap:6px;padding:10px 8px}.gmc-page .gmc-summary-item>span{font-size:12px;white-space:nowrap}.gmc-page .gmc-summary-item>strong{font-size:23px}
 .gmc-page .gmc-device-row{grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:16px}.gmc-page .gmc-device-status{align-items:flex-end}.gmc-page .gmc-device-actions{grid-column:1/-1;justify-content:flex-start}.gmc-page .gmc-row-error{max-width:160px;font-size:13px;text-align:right}
 :is(.module-content,dialog) :is(.gmc-pager,.health-pager,.activation-pagination,.feedback-pagination,.event-pagination,.batch-pagination,.pas-pagination){gap:8px;padding:10px 8px calc(10px + env(safe-area-inset-bottom,0px));min-height:60px;font-size:12px}
 :is(.module-content,dialog) :is(.gmc-pager,.health-pager,.activation-pagination,.feedback-pagination,.event-pagination,.batch-pagination)>span{min-width:0}
 :is(.module-content,dialog) :is(.gmc-pager,.health-pager,.activation-pagination,.feedback-pagination,.event-pagination,.batch-pagination,.pas-pagination)>button{font-size:13px;padding:7px 10px}
}
.event-dialog[open]{display:flex;flex-direction:column;height:fit-content;max-height:min(860px,calc(100dvh - 24px));overflow:hidden}
.event-dialog>.access-dialog-body{display:flex;flex:0 1 auto;min-height:0;max-height:none;overflow:hidden}
.feedback-dialog .feedback-pane:has(>.feedback-pagination){overflow:hidden}
.feedback-dialog .feedback-pane>.feedback-history-list{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain}
@media(max-width:360px){.gmc-page>.gmc-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.gmc-page .gmc-summary-item{flex-direction:row;align-items:center}}
@media(max-width:780px){
 .gmc-page .gmc-device-row{grid-template-columns:minmax(0,1fr) auto}
 .gmc-page .gmc-device-identity{grid-column:1;grid-row:1}
 .gmc-page .gmc-device-status{grid-column:2;grid-row:1;justify-items:end;align-items:start}
 .gmc-page .gmc-device-actions{grid-column:1/-1;grid-row:2;flex-direction:row;align-self:auto;justify-content:flex-start}
}

.deploy-history-dialog>.pas-pagination{min-height:64px;flex-wrap:nowrap;justify-content:center}
.deploy-history-dialog>.pas-pagination .deploy-history-summary{flex:0 1 auto;min-width:0;margin:0;text-align:center}
.deploy-history-dialog>.pas-pagination [data-page]{margin:0;width:auto}
@media(max-width:700px){
 :is(.module-content,dialog) :is(.gmc-pager,.health-pager,.activation-pagination,.feedback-pagination,.event-pagination,.batch-pagination,.pas-pagination){display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:6px}
 :is(.module-content,dialog) :is(.gmc-pager,.health-pager,.activation-pagination,.feedback-pagination,.event-pagination,.batch-pagination,.pas-pagination)>:is(span,.deploy-history-summary){min-width:0;white-space:normal;text-align:center}
}

/* Shared page chrome: real scrolling results remain visible through the edge. */
.floating-panel-chrome{position:relative;--panel-header-height:0px;--panel-footer-height:0px;--panel-top-reach:0px;--panel-bottom-reach:0px}
.floating-panel-chrome>.floating-panel-scroll{position:relative;z-index:0;margin-top:calc(-1 * var(--panel-header-height));margin-bottom:calc(-1 * var(--panel-footer-height));padding-top:var(--panel-header-height);padding-bottom:var(--panel-footer-height);scroll-padding-top:calc(var(--panel-header-height) + var(--material-reach));scroll-padding-bottom:calc(var(--panel-footer-height) + var(--material-reach))}
.floating-panel-chrome>.floating-panel-control{position:relative;z-index:3;flex-shrink:0}
.floating-panel-chrome>:is(.gmc-pager,.health-pager,.activation-pagination,.feedback-pagination,.event-pagination,.batch-pagination,.pas-pagination){background:transparent;box-shadow:none;border-top-color:transparent}
.floating-panel-chrome>.panel-top-material,.floating-panel-chrome>.panel-bottom-material{left:0;right:0;z-index:2;pointer-events:none}
.floating-panel-chrome>.panel-top-material{top:0;bottom:auto;height:calc(var(--panel-header-height) + var(--panel-top-reach));--panel-corners:var(--panel-radius) var(--panel-radius) 0px 0px}
.floating-panel-chrome>.panel-bottom-material{top:auto;bottom:0;height:calc(var(--panel-footer-height) + var(--panel-bottom-reach));--material-direction:to top;--panel-corners:0px 0px var(--panel-radius) var(--panel-radius)}
.floating-panel-chrome>:is(.panel-top-material,.panel-bottom-material){border-radius:var(--panel-corners)}
.floating-panel-chrome>:is(.panel-top-material,.panel-bottom-material)>span,.floating-panel-chrome>:is(.panel-top-material,.panel-bottom-material)::after{border-radius:var(--panel-corners)}
/* Pagination also has shared module styles; keep real footer controls above
   the dialog's material rather than allowing its z-index to fall below it. */
.floating-dialog-chrome>.floating-dialog-footer{z-index:4}
@media(prefers-reduced-transparency:reduce),(forced-colors:active){
 .floating-panel-chrome>.panel-top-material{height:var(--panel-header-height)}
 .floating-panel-chrome>.panel-bottom-material{height:var(--panel-footer-height)}
}
/* A fixed dialog with one results scroller in every target mode. */
#deployment-panel{height:min(800px,calc(100dvh - 40px))}
#deployment-panel>.dialog-body{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden;gap:12px;overflow-anchor:none}
#deployment-panel .deploy-target-bar{display:grid;grid-template-columns:250px minmax(0,440px);gap:16px;align-items:end;flex:none}
#deployment-panel .deploy-target-bar label{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;margin:0;font-size:14px;min-width:0}
#deployment-panel .deploy-target-bar select{margin:0;min-width:0;width:100%;height:44px}
#deployment-panel .deploy-store-tools{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;margin:0;min-width:0}
#deployment-panel .deploy-store-tools>label{min-width:0}
#deployment-panel .deploy-store-tools .store-combobox{width:100%;min-width:0;max-width:280px}
#deployment-panel .deploy-store-tools .store-combobox input{height:44px;min-height:44px;margin:0}
#deployment-panel .deploy-store-tools>button{flex:none;white-space:nowrap;min-height:44px;margin:0}
#deployment-panel .deploy-target-bar:has([data-discovery-picker]:not([hidden])){grid-template-columns:250px minmax(0,380px) auto;gap:12px}
#deployment-panel .deploy-target-bar>.deploy-selection-tools{justify-content:flex-end;flex-wrap:nowrap}
#deployment-panel .deploy-target-bar .deploy-selection-tools>button{height:44px;min-height:44px}
#deployment-panel [data-range]{margin:0;min-width:0}
#deployment-panel .deploy-ip-range{margin:0}
#deployment-panel .deploy-discovery-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px 14px;flex-wrap:wrap;flex:none}
#deployment-panel .deploy-scan-progress{display:flex;align-items:center;gap:8px;margin:0;min-height:32px;font-size:14px}
#deployment-panel .deploy-scan-progress progress{width:100px;max-width:30vw}
#deployment-panel .deploy-selection-tools{display:flex;align-items:center;gap:8px;margin:0;flex-wrap:wrap}
#deployment-panel .deploy-selection-tools>span{margin:0;font-size:14px}
#deployment-panel .deploy-selection-tools button,#deployment-panel .deploy-heading-actions button{font-size:14px;min-height:40px;white-space:nowrap}
#deployment-panel [data-discovery]:not([hidden]){display:flex;flex-direction:column;flex:1;min-height:0;gap:10px}
#deployment-panel [data-device-results],#deployment-panel [data-results]{flex:1;min-height:0;max-height:none;margin:0;overflow:auto}
#deployment-panel [data-list]:not([hidden]){display:flex;flex-direction:column;flex:1;min-height:100px;margin:0;font-size:14px}
#deployment-panel [data-list] textarea{flex:1;min-height:80px;height:auto;margin:8px 0 0;resize:none}
#deployment-panel [data-current]:not([hidden]){display:flex;flex-direction:column;flex:1;min-height:0;gap:8px}
#deployment-panel [data-current] h3{flex:none;font-size:14px;margin:0}
#deployment-panel .deploy-status{flex:none;min-height:0;margin:0;display:flex;align-items:center;flex-wrap:wrap;gap:6px 18px}
#deployment-panel .deploy-submit>.deploy-status{grid-column:1/-1}
#deployment-panel .deploy-status:has(>[data-queue]:empty):has(>[data-status]:empty):not(:has(>[data-scan-summary]:not([hidden]))):not(:has(>[data-executor-status]:not([hidden]))){display:none}
#deployment-panel .deploy-status>[data-selected-count]{margin-left:auto;white-space:nowrap;color:var(--pas-muted);font-size:14px}
#deployment-panel .deploy-status .deploy-scan-progress{min-height:0}
#deployment-panel .deploy-status p{margin:0;font-size:14px;line-height:1.6}
#deployment-panel .deploy-status p:empty{display:none}
#deployment-panel>.deploy-submit{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 16px;flex:none}
#deployment-panel .deploy-submit .deploy-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:0;min-width:0}
#deployment-panel .deploy-submit label{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;white-space:nowrap;font-size:14px;color:var(--pas-ink);margin:0}
#deployment-panel .deploy-submit input{box-sizing:border-box;min-height:44px;min-width:0;width:100%;margin:0;font-size:14px}
#deployment-panel .deploy-submit>[data-deploy]{width:auto;min-height:44px;white-space:nowrap;font-size:14px}
.deployment-dialog .deploy-fixed-table :is(th,td){font-size:14px;line-height:1.6}
.deployment-dialog .deploy-fixed-table small,.deployment-dialog .deploy-tag{font-size:13px}
#deployment-panel :is(.deploy-device-name,.deploy-detail,.deploy-version){display:block;margin-top:4px;font-size:14px;line-height:1.6;color:var(--pas-muted)}
/* Keep sticky table headers and row paints within their own scroll layer. */
.deployment-dialog .deploy-table-scroll{overflow-anchor:none}
.health-list-panel .health-device-row{border-radius:0;border:0;border-bottom:1px solid var(--pas-line);box-shadow:none}
.health-list-panel .health-device-row:last-child{border-bottom:0}
.hardware-health .health-state{border:1px solid var(--pas-line);line-height:1.4}
.hardware-health .health-state.health-critical{border-color:var(--pas-danger-line);background:var(--pas-danger-bg);color:var(--pas-danger)}
.hardware-health .health-state.health-warning{border-color:var(--pas-warning-line);background:var(--pas-warning-bg);color:var(--pas-warning)}
.hardware-health .health-state.health-observed{border-color:var(--pas-accent-line);background:var(--pas-success-bg);color:var(--pas-success)}
.module-bar #module-tools>.health-module-tools.management-toolbar{flex:0 1 auto;min-width:0}
.module-bar #module-tools .health-module-tools>.health-search{flex:0 1 200px;width:200px;max-width:200px;min-width:0}
.health-fleet .health-page-header{gap:10px}
.health-fleet .health-page-header>small{font-size:12px;color:var(--pas-muted)}
.health-fleet .health-summary-toggle{min-height:36px;padding:6px 12px}
.health-fleet .health-load-error{margin:0 0 12px;color:var(--pas-danger)}
.health-fleet .health-overview{align-items:stretch}
.health-fleet .health-chart-legend button{border-radius:var(--pas-radius-compact)}
.health-fleet .health-stat>span{min-width:0;line-height:1.4}
.health-fleet :is(.health-device-heading,.health-device-row){
 display:grid;grid-template-columns:minmax(0,1.35fr) minmax(110px,1fr) minmax(0,1fr) minmax(126px,.9fr) 82px;
 align-items:center;gap:10px;padding-inline:16px;
}
.health-fleet .health-device-heading{flex:none;padding-block:9px;border-bottom:1px solid var(--pas-line);font-size:12px;font-weight:600;color:var(--pas-muted);background:var(--pas-surface-soft)}
.health-fleet .health-device-heading[hidden]{display:none}
.health-fleet .health-device-heading>span:last-child{text-align:center}
.health-fleet .health-device-row{min-height:54px;padding-block:8px;cursor:pointer}
.health-fleet .health-device-identity strong{white-space:normal;overflow-wrap:anywhere}
.health-fleet :is(.health-device-identity,.health-row-labels,.health-row-reason,.health-row-time){--pas-user-select:text}
.health-fleet .health-row-reason{overflow-wrap:anywhere}
.health-fleet .health-row-time{font-variant-numeric:tabular-nums}
.health-fleet .health-row-action{min-height:34px;padding:6px 8px;justify-self:stretch;text-align:center;border-color:transparent;background:transparent;color:var(--pas-accent);box-shadow:none;white-space:nowrap}
.health-fleet .health-row-action:hover{background:var(--pas-selected);border-color:var(--pas-accent-line)}
.health-dialog:has(.health-detail-layout){width:min(920px,calc(100vw - 24px));height:min(680px,calc(100dvh - 24px))}
.health-dialog .health-detail-layout{grid-template-columns:164px minmax(0,1fr)}
.health-dialog .health-detail-panels{padding:20px}
.health-dialog .health-detail-tabs button:disabled{opacity:.64}
@media(min-width:1001px) and (min-height:601px){
 .health-module-tools .responsive-filter-field{display:contents}
 .health-module-tools .responsive-filter-field>span{display:none}
 .module-bar #module-tools .health-module-tools select{width:142px;min-width:0;margin:0}
}
@media(max-width:1080px){
 .health-fleet :is(.health-device-heading,.health-device-row){grid-template-columns:minmax(0,1.35fr) minmax(104px,.95fr) minmax(0,1fr) 82px}
 .health-fleet .health-device-heading>span:nth-child(4){display:none}
}
@media(max-width:700px){
 .health-fleet .health-page-header>small{display:none}
 .health-fleet .health-device-heading{display:none}
 .health-fleet .health-device-row{grid-template-columns:minmax(0,1fr) auto;gap:4px 8px;padding:8px 12px}
 .health-fleet .health-device-row>*{grid-column:auto;grid-row:auto}
 .health-fleet .health-row-labels{justify-content:flex-end}
 .health-fleet .health-row-action{min-height:36px;justify-self:end}
 .health-dialog .health-detail-layout{grid-template-columns:minmax(0,1fr)}
 .health-dialog .health-detail-layout .health-detail-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;overflow:visible}
 .health-dialog .health-detail-tabs button{justify-content:center;text-align:center;white-space:normal;padding:5px 4px}
 .health-dialog .health-detail-panels{padding:14px}
}
@media(max-width:460px){.health-dialog .health-detail-tabs .health-icon{display:none}}

/* Device detail navigation uses a quiet row for each category. */
:is(.info-dialog #detail>.info-tabs,.health-dialog .health-detail-layout>.health-detail-tabs)>button{
 flex:none;margin:0;border:0;border-radius:6px;background:transparent;color:var(--pas-ink);box-shadow:none;transition:none;
}
:is(.info-dialog #detail>.info-tabs,.health-dialog .health-detail-layout>.health-detail-tabs)>button:hover:not(:disabled){background:var(--pas-surface-soft)}
:is(.info-dialog #detail>.info-tabs,.health-dialog .health-detail-layout>.health-detail-tabs)>button.active{
 background:var(--pas-selected);color:var(--pas-accent);
}
@media(min-width:701px){
 .info-dialog #detail{grid-template-columns:166px minmax(0,1fr)}
 :is(.info-dialog #detail>.info-tabs,.health-dialog .health-detail-layout>.health-detail-tabs){
  display:flex;flex-direction:column;gap:2px;padding:10px 8px;
 }
 :is(.info-dialog #detail>.info-tabs,.health-dialog .health-detail-layout>.health-detail-tabs)>button{
  min-height:36px;padding:6px 10px;
 }
 :is(.info-dialog #detail>.info-tabs,.health-dialog .health-detail-layout>.health-detail-tabs)>button.active{font-weight:600}
 .info-dialog #detail>.info-tabs>button[data-detail-tab=events]+button{margin-top:8px}
}
@media(min-width:701px) and (pointer:coarse){
 :is(.info-dialog #detail>.info-tabs,.health-dialog .health-detail-layout>.health-detail-tabs)>button{min-height:44px}
}
@media(max-width:700px){
 :is(.info-dialog #detail>.info-tabs,.health-dialog .health-detail-layout>.health-detail-tabs){padding-block:4px}
 :is(.info-dialog #detail>.info-tabs,.health-dialog .health-detail-layout>.health-detail-tabs)>button{
  min-height:44px;border-bottom:2px solid transparent;border-radius:0;
 }
 :is(.info-dialog #detail>.info-tabs,.health-dialog .health-detail-layout>.health-detail-tabs)>button.active{
  border-bottom-color:var(--pas-accent);background:transparent;
 }
}
@media(forced-colors:active){
 :is(.info-dialog #detail>.info-tabs,.health-dialog .health-detail-layout>.health-detail-tabs)>button.active:not(:focus-visible){outline:1px solid Highlight!important;outline-offset:-1px!important}
}
@media(min-width:701px) and (max-width:1000px){#deployment-panel .deploy-target-bar:has([data-discovery-picker]:not([hidden])){grid-template-columns:250px minmax(0,1fr)}#deployment-panel .deploy-target-bar>.deploy-selection-tools{grid-column:1/-1}}
@media(max-width:700px){
 #deployment-panel{height:calc(100dvh - 24px)}
 #deployment-panel .deploy-target-bar{grid-template-columns:minmax(0,1fr);gap:10px}
 #deployment-panel .deploy-target-bar:has([data-discovery-picker]:not([hidden])){grid-template-columns:minmax(0,1fr);gap:8px}
 #deployment-panel .deploy-target-bar>.deploy-selection-tools{grid-column:1}
 #deployment-panel .deploy-target-bar>label{grid-template-columns:56px minmax(0,1fr)}
 #deployment-panel .deploy-store-tools>label{grid-template-columns:56px minmax(0,1fr)}
 #deployment-panel .deploy-store-tools{gap:8px;flex-wrap:nowrap}
 #deployment-panel .deploy-store-tools>label{min-width:0}
 #deployment-panel .deploy-store-tools>button{width:auto;padding-inline:8px}
 #deployment-panel .deploy-discovery-toolbar{gap:6px}
 #deployment-panel .deploy-selection-tools button{font-size:13px;padding:8px}
 #deployment-panel>.deploy-submit{grid-template-columns:minmax(0,1fr);gap:10px}
 #deployment-panel .deploy-submit .deploy-fields{gap:10px}
 #deployment-panel .deploy-submit label{grid-template-columns:auto minmax(0,1fr);gap:6px}
 #deployment-panel .deploy-submit input{font-size:16px}
 #deployment-panel .deploy-submit>[data-deploy]{width:100%;font-size:15px}
 #deployment-panel [data-device-results] .deploy-fixed-table{display:block;min-width:0}
 #deployment-panel [data-device-results] colgroup{display:none}
 #deployment-panel [data-device-results] thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
 #deployment-panel [data-device-results] tbody{display:block}
 #deployment-panel [data-device-results] tr{display:grid;grid-template-columns:24px minmax(0,1fr) auto;gap:6px 8px;padding:12px;border-bottom:1px solid var(--pas-line)}
 #deployment-panel [data-device-results] tr:last-child{border-bottom:0}
 #deployment-panel [data-device-results] td{min-width:0;padding:0;border:0}
 #deployment-panel [data-device-results] td:first-child{grid-row:1/3}
 #deployment-panel [data-device-results] td:nth-child(3){text-align:right}
 #deployment-panel [data-device-results] td:nth-child(4){grid-column:2/-1}
 #deployment-panel [data-device-results] .deploy-ip{white-space:nowrap;letter-spacing:0}
 #deployment-panel [data-device-results] .deploy-empty{grid-column:1/-1;padding:24px 0}
}
@media(min-width:460px) and (max-width:700px){#deployment-panel .deploy-submit label{grid-template-columns:auto minmax(0,1fr)}}

.notification-settings{margin-top:18px}
.notification-settings h2{font-size:18px;margin:0 0 18px}
.notification-settings-form{display:grid;gap:18px}
.notification-address{display:flex;align-items:end;gap:12px;flex-wrap:wrap}
.notification-address>.form-field{flex:1;min-width:220px;margin:0}
.notification-address input{width:100%;min-width:0}
.notification-address-state{font-size:14px;align-self:center;color:var(--pas-muted)}
.notification-categories{display:flex;gap:12px 22px;flex-wrap:wrap;border:0;padding:0;margin:0;min-width:0}
.notification-categories legend{font-size:14px;margin-bottom:12px}
.notification-categories label{display:inline-flex;align-items:center;gap:8px;font-size:14px;margin:0;white-space:nowrap}
.notification-categories input{width:18px;height:18px;margin:0;accent-color:var(--pas-accent)}
.notification-settings-note{font-size:14px;line-height:1.7;color:var(--pas-muted);margin:0}
.notification-settings-form>.primary{justify-self:start}

/* Fixed result dialogs retain the shared glass while only the table scrolls. */
.fixed-results-dialog-chrome .deploy-table-scroll{padding-bottom:var(--material-reach);scroll-padding-bottom:var(--material-reach)}
.fixed-results-dialog-chrome>.dialog-body{margin:0}
/* A short result does not need an empty track beside the last column. */
#deployment-panel .deploy-table-scroll,.deploy-history-dialog .deploy-table-scroll{overflow-y:auto;scrollbar-gutter:auto}
.deploy-history-dialog{height:fit-content;max-height:calc(100dvh - 40px)}
.deploy-history-dialog>.dialog-body{flex:0 1 auto}
.deploy-history-dialog .deploy-table-scroll{flex:0 1 auto;max-height:calc(100dvh - 290px)}
.deploy-history-dialog .deploy-fixed-table :is(th,td){vertical-align:middle;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.deploy-history-dialog .deploy-fixed-table :is(th,td):nth-child(3){white-space:nowrap}
.deploy-history-dialog .deploy-history-meta{overflow:hidden}
.deploy-history-dialog .deploy-history-meta time,.deploy-history-dialog .deploy-history-meta small{display:inline-block;vertical-align:middle;overflow:hidden;text-overflow:ellipsis}
.deploy-history-dialog .deploy-history-meta small{max-width:calc(100% - 154px);margin:0 0 0 8px}
.deploy-history-dialog>.pas-pagination{min-height:56px;padding-block:8px}
@media(max-width:700px){.deploy-history-dialog{max-height:calc(100dvh - 24px)}.deploy-history-dialog .deploy-table-scroll{max-height:calc(100dvh - 260px)}}
.remote-resolution{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding-block:12px;border-block:1px solid var(--pas-line);color:var(--pas-ink)}
.remote-resolution>span,.remote-resolution>select:first-of-type,.remote-resolution>p,.remote-resolution>div{grid-column:1/-1}
.remote-resolution select,.remote-resolution input{min-width:0;width:100%}
.remote-resolution p{margin:0;font-size:14px;overflow-wrap:anywhere}
.remote-resolution>div{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:8px}
.remote-resolution [hidden]{display:none!important}
.remote-resolution[hidden]{display:none}
/* Tables share edge-attached headers, one scroll layer, and the same five-step
   frost as module chrome. Fixed cells contain no per-row backdrop filters. */
.pas-table-viewport{overflow-anchor:none;scrollbar-gutter:auto;overscroll-behavior:none;border-radius:var(--pas-radius-surface)}
#workspace.pas-table-viewport{border-radius:0}
.pas-material-table{border-collapse:separate;border-spacing:0}
.pas-material-table>thead{position:sticky;top:0;z-index:6}
.pas-material-table>thead>tr>:is(th,td){position:static!important;top:auto!important;background:transparent!important}
.pas-material-table>thead>tr>.pas-frozen-cell{position:sticky!important}
.pas-material-table>thead,.pas-material-table>thead>tr,.pas-material-table>thead>tr>:is(th,td){border-bottom:0!important;box-shadow:none!important}
.pas-material-table>thead>tr:first-child>:first-child{border-top-left-radius:var(--pas-table-top-left,0px)}
.pas-material-table>thead>tr:first-child>:last-child{border-top-right-radius:var(--pas-table-top-right,0px)}
.pas-material-table .pas-frozen-cell{background:transparent!important}
:is(.pas-table-head-layer,.pas-table-left-layer,.pas-table-right-layer){position:sticky;left:0;top:0;display:block;min-height:0;margin:0;padding:0;pointer-events:none;overflow:visible;flex:none}
.pas-table-head-layer{z-index:4}.pas-table-left-layer,.pas-table-right-layer{z-index:2}
:is(.pas-table-head-material,.pas-table-left-material,.pas-table-right-material){inset:auto;bottom:auto;left:0;--material-rgb:var(--pas-surface-rgb);--material-ramp:64px;--material-tint-lift:6px}
.pas-table-left-material{--material-direction:to right}.pas-table-right-material{left:auto;right:0;--material-direction:to left}
.pas-table-head-material{border-radius:var(--pas-table-top-left,0px) var(--pas-table-top-right,0px) 0 0}
.pas-table-left-material{border-radius:0 0 0 var(--pas-table-bottom-left,0px)}
.pas-table-right-material{border-radius:0 0 var(--pas-table-bottom-right,0px) 0}
:is(.pas-table-head-material,.pas-table-left-material,.pas-table-right-material,.pas-table-corner-material)>span,:is(.pas-table-head-material,.pas-table-left-material,.pas-table-right-material,.pas-table-corner-material)::after{border-radius:inherit}
.pas-table-corner-material{inset:0 -16px 0 0;z-index:-1;border-radius:inherit;--material-direction:to right;--material-rgb:var(--pas-surface-rgb);--material-ramp:64px;--material-tint-lift:6px}
.pas-table-corner-material[data-side=right]{inset:0 0 0 -16px;--material-direction:to left}
:is(.gmc-list,.update-table-wrap,.batch-results,.feedback-table-wrap,.activation-table-wrap,.health-table-scroll,.deploy-table-scroll,.gp-bulk-scroll).pas-table-viewport{padding:0;border-radius:var(--pas-radius-surface)}
.gp-bulk-dialog>.gp-bulk-scroll{padding:0!important;margin:0!important;scroll-padding-top:80px}
.gp-bulk-table :is(th,td){background:var(--pas-surface)}
.gp-bulk-table thead .gp-bulk-device{position:sticky!important;left:0}
.gp-bulk-table tbody .gp-bulk-device{z-index:3}
.gp-bulk-dialog>.access-dialog-header{border-bottom:1px solid var(--pas-line)}
/* A result row is one stable line before, during and after deployment. */
#deployment-panel [data-device-results] .deploy-fixed-table{display:table;min-width:896px}
#deployment-panel [data-device-results] colgroup{display:table-column-group}
#deployment-panel [data-device-results] thead{position:sticky;width:auto;height:auto;padding:0;margin:0;overflow:visible;clip:auto;white-space:nowrap}
#deployment-panel [data-device-results] tbody{display:table-row-group}
#deployment-panel [data-device-results] tr{display:table-row;height:56px;padding:0;border:0}
#deployment-panel [data-device-results] td{display:table-cell;padding:10px 12px;border-bottom:1px solid var(--pas-line);text-align:left;vertical-align:middle;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#deployment-panel [data-device-results] .deploy-ip{display:inline;font-size:14px}
#deployment-panel [data-device-results] .deploy-device-name{display:inline;margin-left:10px;white-space:nowrap;-webkit-line-clamp:unset;overflow:hidden}
#deployment-panel [data-device-results] .deploy-version{display:inline;margin-left:8px;white-space:nowrap}
.deploy-result-inline{display:flex;align-items:center;min-width:0;gap:10px;white-space:nowrap}
.deploy-result-inline>span:first-child{flex:none}
.deploy-result-inline .deploy-detail{display:block;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.deployment-dialog .deploy-fixed-table td:is(.deploy-single-detail,.deploy-history-detail){white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.deployment-dialog .deploy-fixed-table .deploy-detail-trigger{all:unset;box-sizing:border-box;display:block;width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}
.deployment-dialog .deploy-fixed-table .deploy-detail-trigger:focus-visible{outline:2px solid var(--pas-accent);outline-offset:-2px}
.deploy-detail-tooltip{position:fixed;inset:auto;z-index:5;margin:0;box-sizing:border-box;width:max-content;max-width:min(34rem,var(--deploy-detail-width));max-height:min(18rem,var(--deploy-detail-height,100dvh));overflow:auto;overscroll-behavior:contain;padding:10px 12px;border:1px solid var(--pas-line-strong);border-radius:8px;background:var(--pas-surface);color:var(--pas-ink);box-shadow:0 4px 16px var(--pas-shadow);font-size:13px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere;user-select:text}
#deployment-panel [data-device-results] .deploy-empty{display:table-cell;padding:24px}
@media(max-height:620px){
 #deployment-panel[data-mode="discovery"]>.dialog-body{overflow-y:auto}
 #deployment-panel[data-mode="discovery"] [data-discovery]:not([hidden]){min-height:120px}
}
.floating-panel-chrome:has(>.pas-table-viewport){--panel-top-reach:0px!important}
.floating-panel-chrome>.pas-table-viewport.floating-panel-scroll{margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:32px}

:is(.pas-table-head-layer,.pas-table-left-layer,.pas-table-right-layer)[hidden]{display:none!important}
.pas-table-viewport:has(>table):not(#workspace,.ip-table-region){padding:0}
.deploy-tag-conflict{color:var(--pas-danger);background:var(--pas-danger-bg);border:1px solid var(--pas-danger-line)}

.fixed-results-dialog-chrome{--material-top-reach:0px!important}

.floating-panel-chrome>:is(.panel-top-material,.panel-bottom-material){--material-rgb:var(--panel-material-rgb,var(--pas-surface-rgb))}
/* Workspace pagination sits against the same page as the device toolbar.
   Contained lists and dialogs retain the tint of their own surface. */
#workspace>.floating-panel-chrome,#workspace>.module-content>.activation-view{--panel-material-rgb:var(--pas-material-rgb)}
.remote-dialog .remote-viewport canvas.remote-preview-pending{filter:blur(10px) grayscale(var(--remote-image-gray,0));transition:filter .3s ease;will-change:filter}
.remote-dialog .remote-viewport canvas.remote-preview-ready{filter:blur(0) grayscale(var(--remote-image-gray,0));transition:filter .3s ease}
@media(prefers-reduced-motion:reduce){.remote-dialog .remote-viewport canvas.remote-preview-ready{transition:none}}

.remote-dialog .remote-viewport canvas.remote-image-gray{--remote-image-gray:1}
.remote-dialog .remote-viewport canvas.remote-image-gray:not(.remote-preview-pending,.remote-preview-ready){filter:grayscale(1)}

/* One rhythm for the whole display menu; operation feedback uses dialogs. */
.remote-mode-panel{box-sizing:border-box;width:336px;display:grid;gap:9px;padding:12px;font-size:var(--control-font-size);line-height:1.5}
.remote-settings-group{display:grid;gap:4px;min-width:0}
.remote-settings-group+.remote-settings-group{padding-top:8px;border-top:1px solid var(--pas-line)}
.remote-settings-group h3{display:flex;align-items:center;gap:6px;margin:0 0 2px;color:var(--pas-muted);font:600 12px/1.4 var(--font-ui)}
.remote-settings-group h3 svg{width:16px;height:16px;flex:none}
.remote-settings-group>label{display:grid;grid-template-columns:4.3em minmax(0,1fr);align-items:center;gap:8px;min-width:0;margin:0;color:var(--pas-ink);font:500 14px/1.4 var(--font-ui)}
.remote-settings-group>label[hidden]{display:none}
.remote-mode-panel :is(select,input,button){min-width:0;min-height:34px;height:34px;font-family:inherit}
.remote-mode-panel select{padding-block:4px}
.remote-resolution{padding-block:6px 0;border-bottom:0;gap:5px;font:inherit}
.remote-resolution>span{color:var(--pas-muted);font-size:13px}
@media(max-width:700px),(pointer:coarse){
 .remote-mode-panel :is(select,input,button){min-height:44px;height:44px}
}
@media(max-width:300px){
 .remote-settings-group>label{grid-template-columns:minmax(0,1fr);gap:3px}
}

/* Management pages share one result viewport and a fixed pagination footer. */
#workspace:has(>.paged-module:not([hidden])){display:flex;flex-direction:column;overflow:hidden;padding-bottom:0;scrollbar-gutter:auto}
.module-content.paged-module{display:flex;flex-direction:column;flex:1;min-width:0;min-height:0;height:100%;overflow:hidden}
.paged-module>.data-table-region{flex:1;min-height:0;min-width:0;overflow:auto;overscroll-behavior:none;scrollbar-gutter:auto}
.paged-module>:is(.updates-notice,.settings-status):empty{display:none}
.paged-module>.pas-pagination{flex:none}
.user-management-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;width:100%}
.user-management-toolbar .access-tabs{display:flex;flex:none;gap:6px;margin:0}
.user-management-toolbar .user-list-search{flex:1 1 220px;min-width:120px;width:auto;margin:0}
.users-page>.access-list{margin:0}
.users-page .data-table-region>.permission-group-grid{align-items:start;padding-bottom:16px}
.module-details>summary,.access-scope-details>summary{cursor:pointer;min-height:36px;display:list-item;align-content:center;color:var(--pas-muted)}
.module-details>.group-summary{padding-top:8px}
.access-scope-details>summary{min-height:28px;font-size:13px}
.access-scope-details>p{margin:8px 0 0}
.certificate-content{display:flex;flex-direction:column;gap:16px;padding-bottom:16px}
.certificate-content>.policy-card{flex:none;margin:0}
.certificate-content>.tags-grid{display:flex;flex-direction:column;gap:10px}
.certificate-content .certificate-card{padding:0;margin:0}
.certificate-summary{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;padding:14px 16px;min-height:48px;cursor:pointer;list-style:none}
.certificate-summary::-webkit-details-marker{display:none}
.certificate-summary::after{content:'›';font-size:20px;color:var(--pas-muted);margin-left:auto}
details[open]>.certificate-summary::after{transform:rotate(90deg)}
.certificate-summary>strong{min-width:0;overflow-wrap:anywhere;font-size:14px}
.certificate-summary>:is(span,small){font-size:13px;color:var(--pas-muted);overflow-wrap:anywhere}
.certificate-identity-detail{padding:0;border:1px solid var(--pas-line);border-radius:var(--pas-radius-surface)}
.certificate-identity-body{padding:0 16px 16px}
.certificate-warning{color:var(--pas-warning);font-size:14px;margin:0}
@media(max-width:1160px){
 .module-bar #module-tools>.user-management-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;min-width:0}
 .user-management-toolbar>.access-tabs{grid-column:1/-1;min-width:0}
 .module-bar #module-tools .user-management-toolbar>.access-tabs button{flex:1 1 auto;padding-inline:8px}
 .user-management-toolbar>.primary{grid-column:2;grid-row:2}
 .module-bar #module-tools .user-management-toolbar>:is(.user-list-search,select){grid-column:1;grid-row:2;width:100%;min-width:0;max-width:none;margin:0}
 .module-bar #module-tools .user-management-toolbar>.user-list-search~select{grid-row:3;grid-column:1/-1}
}
.organization-editor{display:grid;gap:16px}
.organization-editor>.form-field,.organization-editor>p{margin:0}
@media(max-width:700px){
 .certificate-toolbar{flex-wrap:wrap}
 .certificate-toolbar>input{flex:1 0 100%;min-width:0;width:100%}
 .certificate-summary{padding:12px;gap:6px 10px}
 .certificate-content>.tags-grid{gap:8px}
}

/* IP inventory shares the console table's progressive glass surfaces. */
.ip-toolbar{display:flex;align-items:center;gap:18px;flex-wrap:wrap;min-width:0}
.ip-toolbar select{max-width:100%;min-width:180px}
.ip-hide-unused{display:flex;align-items:center;gap:8px;white-space:nowrap;font-size:14px}
.module-bar #module-tools .ip-hide-unused input{width:17px;min-width:17px;height:17px;min-height:17px;flex:none;padding:0;margin:0;accent-color:var(--pas-accent)}
.ip-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.ip-summary span{color:var(--pas-muted);font-size:13px}
.ip-warning{color:var(--pas-warning);background:var(--pas-warning-bg);border-radius:10px;padding:12px;margin-bottom:12px}
.ip-table-region{overflow:auto;min-height:160px}
.ip-table-region>.pas-table-head-layer>.pas-table-head-material{--material-rgb:var(--pas-material-rgb)}
.ip-management-page>.ip-table-region.pas-table-viewport.floating-panel-scroll{
  margin-bottom:calc(-1 * var(--panel-footer-height));
  padding-bottom:calc(var(--panel-footer-height) + 12px);
}
.ip-table{width:100%;border-collapse:collapse;font-size:14px}
.ip-table th,.ip-table td{padding:14px 12px;text-align:left;border-bottom:1px solid var(--pas-line)}
.ip-table th{white-space:nowrap;color:var(--pas-muted);font-weight:500}
.ip-table td{vertical-align:middle}
.ip-address,.ip-time,.ip-mac{white-space:nowrap;font-variant-numeric:tabular-nums}
.ip-address{font-weight:600}.ip-mac{font-size:13px}
.ip-note{min-width:160px;max-width:340px;overflow-wrap:anywhere;white-space:pre-wrap}
.ip-badges{display:flex;flex-wrap:wrap;gap:6px;min-width:126px}
.ip-badge{display:inline-flex;align-items:center;padding:3px 9px;border-radius:7px;font-size:12px;white-space:nowrap;line-height:1.6}
.ip-tone-green{color:var(--pas-success);background:var(--pas-success-bg)}
.ip-tone-gray{color:var(--pas-muted);background:var(--pas-surface-soft)}
.ip-tone-blue{color:var(--pas-info);background:var(--pas-info-bg)}
.ip-tone-purple{color:var(--pas-purple);background:var(--pas-purple-bg)}
.ip-tone-orange{color:var(--pas-warning);background:var(--pas-warning-bg)}
.ip-tone-red{color:var(--pas-danger);background:var(--pas-danger-bg)}
.ip-icon-button{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;padding:7px;flex:none}
.ip-icon-button svg{width:18px;height:18px}
.ip-edit-form{display:grid;gap:16px}.ip-edit-form .form-field{margin:0}
.ip-edit-form textarea{width:100%;resize:vertical}
.ip-log-dialog>.access-dialog-body{display:block;min-height:0;overflow:auto;overscroll-behavior:contain}
.ip-log-list{display:grid;gap:16px}.ip-log-entry{padding-bottom:16px;border-bottom:1px solid var(--pas-line)}
.ip-log-heading{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}
.ip-log-heading time,.ip-log-actor{font-size:13px;color:var(--pas-muted)}
.ip-log-actor{margin-top:6px}.ip-log-changes{display:grid;grid-template-columns:auto minmax(0,1fr);gap:6px 14px;font-size:14px;margin-bottom:0}
.ip-log-changes dt{grid-column:1;color:var(--pas-muted)}.ip-log-changes dd{margin:0;grid-column:2;white-space:pre-wrap;overflow-wrap:anywhere}
.ip-log-after{color:var(--pas-ink)}
.system-settings-page{display:grid;grid-template-columns:minmax(0,1fr);gap:20px;max-width:1100px}
.system-settings-page .settings-card{margin:0;box-shadow:none;min-width:0}
.system-settings-page .notification-settings,.system-settings-page .ip-settings{display:block}
.system-settings-page h2{font-size:17px;margin:0 0 20px;font-weight:600}
.system-settings-page .notification-settings-form{gap:22px}
.system-settings-page .notification-address>.form-field{min-width:0;flex-basis:100%}
.system-settings-page .notification-address input{font-size:14px}
.system-settings-page .notification-categories label{padding:10px 12px;background:var(--pas-surface-soft);border-radius:9px}
.system-settings-page .notification-categories{gap:10px}
.system-settings-page .notification-settings-form>.form-field{max-width:320px;margin:0}
.ip-settings-form{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}
.ip-release-setting{display:flex;align-items:center;gap:12px;font-size:14px;flex-wrap:wrap}
.ip-release-setting select{min-width:88px}
@media(max-width:600px){.ip-toolbar{gap:12px}.ip-toolbar select{min-width:0;max-width:180px}.ip-summary{align-items:flex-start}.ip-summary span{line-height:1.7}.ip-table th,.ip-table td{padding:12px 10px}.ip-settings-form>.primary{margin-left:auto}.system-settings-page .notification-categories{display:grid;grid-template-columns:1fr}.system-settings-page .notification-categories label{white-space:normal}}

/* Shared result footer: one measured material surface, compact controls at right. */
:is(.module-content,dialog,.feedback-pane) .pas-pagination{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:12px;padding:12px 16px calc(12px + env(safe-area-inset-bottom,0px));font-size:13px;border-top:0;min-height:64px}
:is(.module-content,dialog,.feedback-pane) .pas-pagination>.pas-pagination-leading{margin-right:auto;color:var(--pas-ink);font-size:13px;line-height:1.6;min-width:0;text-align:left}
.pas-pagination>.pas-pagination-controls{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:14px;margin-left:auto;min-width:0;max-width:100%}
.pas-pagination .pas-pagination-total{min-width:0;white-space:nowrap;color:var(--pas-muted)}
.pas-pagination .pas-pagination-size{margin:0;display:flex;align-items:center;flex:none}
.pas-pagination .pas-pagination-size select{width:92px;min-width:0;height:34px;min-height:34px;padding:5px 24px 5px 11px;border-radius:10px;font-size:13px;background-color:var(--pas-surface);border-color:var(--pas-line);color:var(--pas-ink)}
.pas-pagination .pas-pagination-nav{display:flex;align-items:center;justify-content:flex-end;gap:5px;flex:none}
.pas-pagination .pas-pagination-nav>button{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;min-height:34px;padding:8px;border-radius:10px;background:transparent;border-color:transparent;color:var(--pas-ink)}
.pas-pagination .pas-pagination-nav>button:hover:not(:disabled){background:var(--pas-surface-soft);border-color:var(--pas-line)}
.pas-pagination .pas-pagination-nav>button:disabled{opacity:.36;color:var(--pas-disabled);cursor:default}
.pas-pagination .pas-pagination-nav svg{width:17px;height:17px;stroke-width:1.8}
.pas-pagination .pas-pagination-nav>input,body .info-dialog .event-pagination.pas-pagination .pas-pagination-nav>input{width:40px;min-width:0;height:34px;min-height:34px;margin:0;padding:5px 3px;text-align:center;font-size:13px;border:1px solid var(--pas-line);border-radius:9px;background:var(--pas-surface);color:var(--pas-ink);appearance:textfield;-moz-appearance:textfield}
.pas-pagination .pas-pagination-nav>input::-webkit-inner-spin-button,.pas-pagination .pas-pagination-nav>input::-webkit-outer-spin-button{appearance:none;margin:0}
.pas-pagination .pas-pagination-pages{min-width:22px;text-align:center;white-space:nowrap;color:var(--pas-muted)}
.pas-control-label{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
body .pas-refresh-button,body .module-bar #refresh.pas-refresh-button,body dialog .pas-refresh-button{display:inline-flex;align-items:center;justify-content:center;flex:none;width:38px;min-width:38px;height:38px;min-height:38px;padding:9px;border-radius:50%;border:1px solid var(--pas-line);background:var(--pas-surface);color:var(--pas-ink)}
body .module-bar #refresh.pas-refresh-button{width:var(--control-height);min-width:var(--control-height);height:var(--control-height);min-height:var(--control-height);padding:0}
body .pas-refresh-button svg{width:18px;height:18px;flex:none;stroke-width:1.7}
body .pas-refresh-button:hover{border-color:var(--pas-accent-line);color:var(--pas-accent);background:var(--pas-selected)}
.inline-edit-actions{display:inline-flex;align-items:center;justify-content:flex-end;gap:4px;flex:none;max-width:100%}
body .inline-edit-actions>button{min-height:30px;padding:5px 12px;font-size:12px;line-height:1.5;border:1px solid var(--pas-line);border-radius:999px;background:var(--pas-surface);color:var(--pas-ink);white-space:nowrap}
body .edit-line>.inline-edit-actions>button{height:var(--control-height);min-height:var(--control-height)}
.info-dialog .summary-names>.edit-line,.info-dialog .device-store-setting{display:grid;grid-template-columns:minmax(0,1fr);align-items:start}
.info-dialog .edit-line>.inline-edit-actions{justify-self:end}
.info-dialog .network-card>.inline-edit-actions{display:flex;margin-top:12px}
body .inline-edit-actions>.primary{background:var(--pas-accent-solid);border-color:var(--pas-accent-solid);color:var(--pas-on-solid)}
body .inline-edit-actions>button:hover:not(:disabled){border-color:var(--pas-accent-line)}
.gp-cell-editor{grid-template-columns:minmax(0,1fr) auto}.gp-cell-editor>.inline-edit-actions{align-self:start}
.ip-management-page>.ip-warning[hidden]{display:none}
.ip-management-page .ip-table{table-layout:fixed;min-width:1040px}
.ip-management-page .ip-col-address{width:148px}
.ip-management-page .ip-col-name{width:160px}
.ip-management-page .ip-col-state{width:145px}
.ip-management-page .ip-col-time{width:116px}
.ip-management-page .ip-col-mac{width:155px}
.ip-management-page .ip-col-log{width:58px}
.ip-address-content{display:inline-flex;align-items:center;gap:8px;max-width:100%}
.ip-presence-dot{display:inline-block;flex:none;width:8px;height:8px;border-radius:50%;background:var(--pas-disabled)}
.ip-presence-online{background:var(--pas-success)}
.ip-presence-offline{background:var(--pas-warning-line);box-shadow:inset 0 0 0 1px var(--pas-warning)}
.ip-management-page .ip-table th:last-child{text-align:center}
.ip-device-name{white-space:normal;overflow-wrap:anywhere;line-height:1.65;font-weight:500}
.ip-identity-conflict{color:var(--pas-warning)}
.ip-management-page .ip-table td:last-child{text-align:center}
.ip-management-page .ip-table .ip-note{min-width:0;max-width:none;width:auto;white-space:normal}
.ip-note-trigger{display:block;width:100%;min-height:36px;padding:6px 0;text-align:left;border:0;background:transparent;color:var(--pas-ink);white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.65;border-radius:8px}
.ip-note-trigger:hover{background:var(--pas-surface-soft)}
.ip-note-trigger:focus-visible,.ip-label-trigger:focus-visible{outline:2px solid var(--pas-accent-line);outline-offset:3px}
.ip-note-editor{display:flex;flex-direction:column;align-items:stretch;gap:8px;min-width:0}
.ip-note-editor textarea{display:block;width:100%;min-height:76px;resize:vertical;font-size:14px;line-height:1.65;padding:9px 11px;border-radius:10px;border:1px solid var(--pas-accent-line);background:var(--pas-surface);color:var(--pas-ink)}
.ip-note-editor>.inline-edit-actions{align-self:flex-end}.ip-note-editor .dialog-status{font-size:12px;color:var(--pas-danger);white-space:normal}
.ip-label-trigger{padding:3px 0;border:0;background:transparent;min-height:34px;display:flex;align-items:center;justify-content:flex-start;border-radius:8px}
.ip-management-page .ip-icon-button{width:34px;height:34px;min-width:34px;min-height:34px;border-radius:10px;border:1px solid var(--pas-line);padding:7px;background:var(--pas-surface);color:var(--pas-muted)}
.ip-management-page .ip-icon-button:hover{color:var(--pas-accent);border-color:var(--pas-accent-line);background:var(--pas-selected)}
.ip-management-page .ip-icon-button svg{width:18px;height:18px;stroke-width:1.65}
.health-sort-select,.tag-sort-select{width:auto;max-width:190px}
@media(max-width:700px){
 :is(.module-content,dialog,.feedback-pane) .pas-pagination{display:flex;justify-content:flex-end;gap:8px;padding:10px 10px calc(10px + env(safe-area-inset-bottom,0px));min-height:62px}
 .pas-pagination>.pas-pagination-controls{gap:8px}
 .pas-pagination .pas-pagination-size select{width:84px}
 .pas-pagination>.pas-pagination-leading{flex-basis:100%;margin:0}
 .ip-management-page .ip-table{min-width:1040px}
 .module-bar #module-tools .ip-toolbar>select{flex:none;width:clamp(156px,43vw,180px)}
}
@media(max-width:420px){
 .pas-pagination>.pas-pagination-controls{display:grid;grid-template-columns:auto auto;gap:6px 12px;justify-content:end}
 .pas-pagination .pas-pagination-total{text-align:right}.pas-pagination .pas-pagination-nav{grid-column:1/-1}
 .pas-pagination>.pas-pagination-leading{align-self:flex-start}
 .ip-management-page.floating-panel-chrome>.pas-pagination{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 12px}
 .ip-management-page .pas-pagination-controls{display:contents}
 .ip-management-page :is(.pas-pagination-leading,.pas-pagination-size){grid-column:1}
 .ip-management-page :is(.pas-pagination-total,.pas-pagination-nav){grid-column:2}
 .ip-management-page :is(.pas-pagination-leading,.pas-pagination-total){grid-row:1}
 .ip-management-page :is(.pas-pagination-size,.pas-pagination-nav){grid-row:2}
 .ip-management-page .pas-pagination-leading{align-self:center}
}
.inventory-sort-select{margin-left:auto;width:auto;max-width:160px;height:34px;padding-block:5px;font-size:13px}

/* A short feedback window must leave a full result row below the sticky head. */
.feedback-personal-table th .table-sort-button{min-height:28px;height:auto;padding:0;font-size:inherit;line-height:1.6}
.feedback-history-list .feedback-personal-table th{padding-block:8px}
@media(max-height:540px){.feedback-window .feedback-pane:has(>.feedback-history-list){padding-block:12px;gap:10px}}

/* Enterprise settings share the console controls and material hierarchy. */
.enterprise-settings-page{max-width:1200px;grid-template-columns:210px minmax(0,1fr);align-items:start;gap:24px;min-width:0}
.settings-navigation{display:flex;flex-direction:column;gap:6px;position:sticky;top:0;min-width:0;padding:4px}
.settings-tab{display:flex;align-items:center;gap:11px;min-height:46px;width:100%;padding:10px 14px;border:1px solid transparent;border-radius:11px;background:transparent;color:var(--pas-muted);font:inherit;font-size:14px;text-align:left;white-space:nowrap;cursor:pointer}
.settings-tab svg{width:20px;height:20px;flex:none}.settings-tab:hover{background:var(--pas-surface-soft);color:var(--pas-ink)}.settings-tab[aria-selected=true]{background:var(--pas-selected);border-color:var(--pas-accent-line);color:var(--pas-accent);font-weight:600}
.settings-panels,.settings-panel{min-width:0}.settings-panel{display:grid;gap:20px}.settings-panel[hidden]{display:none!important}
.system-settings-page .enterprise-settings-card{display:block;padding:26px}.enterprise-settings-card h2{margin:0 0 22px;font-size:18px}.enterprise-settings-form{display:grid;gap:22px;min-width:0}.enterprise-settings-form .form-field{margin:0;font-size:14px;display:grid;gap:8px;min-width:0;color:var(--pas-ink)}
.enterprise-settings-form :is(input:not([type=checkbox]),select,textarea){width:100%;min-width:0;min-height:44px;padding:10px 12px;border:1px solid var(--pas-line-strong);border-radius:10px;background:var(--pas-surface);color:var(--pas-ink);font:inherit;font-size:15px;line-height:1.5}.enterprise-settings-form textarea{resize:vertical;min-height:96px}
.settings-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.settings-field-grid>.form-field:only-child{grid-column:1/-1;max-width:580px}.settings-toggle{display:flex;align-items:center;gap:11px;font-size:14px;line-height:1.6;margin:0;cursor:pointer}.settings-toggle input{width:18px;height:18px;flex:none;accent-color:var(--pas-accent-solid)}
.settings-summary{margin:0;font-size:14px;line-height:1.7;color:var(--pas-muted);overflow-wrap:anywhere}.settings-card-actions{display:flex;justify-content:flex-end;align-items:center;gap:14px;flex-wrap:wrap}.settings-card-actions>button{min-height:42px;white-space:nowrap}.settings-save-status{font-size:14px;color:var(--pas-accent);margin-right:auto;overflow-wrap:anywhere}.settings-save-status.is-error{color:var(--pas-danger)}
.watermark-variables,.settings-link-actions{display:flex;gap:8px;flex-wrap:wrap}.watermark-variables button{font-size:13px;min-height:36px;padding:6px 11px;border-radius:9px;background:var(--pas-surface-soft);color:var(--pas-ink);border:1px solid var(--pas-line)}
.settings-watermark-preview{display:flex;align-items:center;justify-content:center;min-height:140px;overflow:hidden;border:1px solid var(--pas-line);border-radius:12px;background:var(--pas-surface-soft);padding:25px}.settings-watermark-preview span{display:block;max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere;text-align:center;color:var(--pas-muted);transform:rotate(-15deg);font:500 14px/1.7 var(--font-ui)}.settings-watermark-preview.is-disabled::after{content:'水印已关闭';font-size:14px;color:var(--pas-muted)}
.settings-overview{display:grid;grid-template-columns:minmax(90px,auto) minmax(0,1fr);gap:14px 24px;margin:0;font-size:14px}.settings-overview dt{color:var(--pas-muted)}.settings-overview dd{margin:0;overflow-wrap:anywhere}
.local-users-status{font-size:13px;color:var(--pas-muted)}.local-users-status.is-disabled{color:var(--pas-danger)}.local-user-identity strong{overflow-wrap:anywhere}.local-user-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.local-user-actions button{min-height:38px;font-size:13px;padding:7px 11px}.local-user-form{display:grid;gap:20px}.local-user-form .form-field{margin:0}.local-user-form input:not([type=checkbox]),.local-user-form select{font-size:15px;min-height:44px}.local-password-message{font-size:14px;color:var(--pas-muted);margin:0}
.local-users-list .access-row{grid-template-columns:minmax(140px,1fr) minmax(140px,1.3fr) minmax(0,auto)}
.health-summary-toggle{margin-left:auto;min-height:36px;padding:6px 10px;font-size:13px;background:transparent;color:var(--pas-muted);white-space:nowrap}.health-summary-toggle:hover{color:var(--pas-accent)}
@media(max-width:900px){.enterprise-settings-page{grid-template-columns:minmax(0,1fr);gap:18px}.settings-navigation{position:static;flex-direction:row;overflow-x:auto;max-width:100%;gap:6px;padding:2px 0 8px;scroll-padding-inline:4px;overscroll-behavior-x:contain}.settings-tab{flex:none;width:auto;padding:10px 12px;min-height:44px}.settings-tab svg{width:18px;height:18px}}
@media(max-width:1000px),(max-height:600px){.module-bar #module-tools .health-module-tools.responsive-filters{display:flex;flex-wrap:nowrap;min-width:0;gap:8px}.health-module-tools.responsive-filters>input{flex:1;min-width:80px;width:100%}.health-module-tools.responsive-filters>.responsive-filter-trigger{flex:none;min-height:44px}}
@media(max-width:1100px){.generic-organizations .store-row{grid-template-areas:"identity identity" "networks actions";grid-template-columns:minmax(0,1fr) auto;gap:10px 12px}.generic-organizations .store-row>.store-identity{grid-area:identity}.generic-organizations .store-row>.store-network-editor{grid-area:networks}.generic-organizations .store-row>.store-actions{grid-area:actions}.generic-organizations .store-row>.store-identity>strong{font-size:15px}.generic-organizations .store-row>.store-identity>span{font-size:14px;line-height:1.65}}
@media(max-width:420px){.generic-organizations .store-row{grid-template-areas:"identity" "networks" "actions";grid-template-columns:minmax(0,1fr)}.generic-organizations .store-row .network-display{min-height:36px;padding-block:4px}.store-sync-module-action .store-create-label{font-size:0}.store-sync-module-action .store-create-label::after{content:'新增';font-size:13px}}
.device-groups:not([data-density="minimal"]) .tiles .asset-caption{position:relative;min-height:32px}.device-groups:not([data-density="minimal"]) .tiles .asset-caption .asset-card-selection{position:absolute;left:0;top:50%;transform:translateY(-50%)}.device-groups:not([data-density="minimal"]) .tiles .asset-caption .asset-name{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;white-space:normal;text-wrap:balance;overflow-wrap:anywhere;font-size:14px;line-height:16px;max-height:32px}.device-groups.device-selection-active:not([data-density="minimal"]) .tiles .asset-caption .asset-name{padding-left:32px}
@media(any-pointer:coarse){.device-groups:not([data-density="minimal"]) .tiles .asset-caption{min-height:40px}}
@media(max-width:700px){.device-groups:not([data-density="minimal"]) .tiles .asset-caption .asset-name{font-size:15px;line-height:1.45;max-height:44px}.device-groups:not([data-density="minimal"]) .tiles .asset-caption{min-height:44px}}
#deployment-panel.deployment-executor-disabled>.deploy-submit{grid-template-columns:minmax(0,1fr) auto auto}#deployment-panel [data-save-credentials]{min-height:44px;font-size:14px;white-space:nowrap}
@media(max-width:700px){#deployment-panel.deployment-executor-disabled>.deploy-submit{grid-template-columns:repeat(2,minmax(0,1fr))}#deployment-panel.deployment-executor-disabled .deploy-fields{grid-column:1/-1}#deployment-panel.deployment-executor-disabled [data-save-credentials]{grid-column:1;grid-row:auto;width:100%}#deployment-panel.deployment-executor-disabled [data-deploy]{grid-column:2;grid-row:auto;width:100%}}
@media(max-width:800px){.local-users-list .access-row{grid-template-columns:minmax(0,1fr);gap:12px}.local-users-list .access-scope{grid-column:1;grid-row:auto}.local-user-actions{grid-column:1;justify-content:flex-start}}
@media(max-width:600px){.system-settings-page .enterprise-settings-card{padding:20px 18px}.settings-field-grid{grid-template-columns:minmax(0,1fr)}.enterprise-settings-card h2{font-size:17px}.settings-card-actions>button{min-height:44px}.enterprise-settings-form :is(input:not([type=checkbox]),select,textarea),.local-user-form input:not([type=checkbox]),.local-user-form select{font-size:16px}.local-user-actions{justify-content:flex-start}.local-user-actions button{min-height:40px}}

/* The header and actions stay in reach while the complete authorization form scrolls. */
.user-access-dialog[open]{display:flex;flex-direction:column;min-height:0;overflow:hidden}
.user-access-dialog>.access-dialog-header,.user-access-dialog>.access-dialog-footer{flex:none}
.user-access-dialog>.access-dialog-body{min-height:0;max-height:none;overflow:auto;overscroll-behavior:contain}
.user-access-dialog .store-choices,.user-access-dialog .employee-results{max-height:none;overflow:visible}
.user-access-dialog .employee-lookup,.user-access-dialog .user-assignment,.local-account-extra[open]>.local-account-fields{display:grid;min-width:0;gap:14px}
.user-access-dialog .user-search{margin:0;align-items:end}
.user-access-dialog .user-search>.form-field{min-width:0}
.user-access-dialog .user-search input{width:100%;box-sizing:border-box}
.user-access-dialog .user-search button{flex:none}
.user-access-dialog .access-selected-user{flex-direction:row;align-items:center;justify-content:space-between;gap:12px}
.user-access-dialog .access-selected-user>.access-identity{min-width:0;overflow-wrap:anywhere}
.user-access-dialog .access-selected-user button{flex:none}
.user-access-dialog .store-choice-count,.directory-access-note{color:var(--pas-muted)}
.directory-access-note{font-size:14px;margin:0 0 12px}
.user-access-dialog .scope-label{margin:0;font-weight:600}
.local-user-form{gap:16px}
.local-account-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:14px 18px}
.local-account-fields .form-field{min-width:0}
.local-account-extra summary{display:list-item;min-height:40px;align-content:center;cursor:pointer;color:var(--pas-muted)}
.local-account-extra>.local-account-fields{margin-top:8px}
@media(max-width:550px){.local-account-fields{grid-template-columns:minmax(0,1fr)}.user-access-dialog .user-search{flex-wrap:wrap}.user-access-dialog .user-search>.form-field{flex:1 1 150px}}
@media(max-height:500px){.user-access-dialog>.access-dialog-header,.user-access-dialog>.access-dialog-footer{padding-block:8px}.user-access-dialog>.access-dialog-body{padding-block:12px}}

/* Device statistics follows the fleet's institution picker and compact data rhythm. */
.module-bar #module-tools>.fleet-stat-tools{display:flex;align-items:center;min-width:0}
.fleet-stat-summary{gap:12px;margin-bottom:16px}
.fleet-stat-summary>.fleet-stat-card{padding:14px 18px}
.fleet-stat-summary .fleet-stat-card strong{font-size:clamp(24px,2vw,30px);margin-top:4px}
.fleet-stat-grid{gap:16px}
.fleet-stat-grid .fleet-stat-panel{padding:16px;min-width:0}
.fleet-stat-panel h2{margin-bottom:12px}
.fleet-stat-panel button.fleet-stat-group{min-height:44px;margin:0;padding:8px 10px}
.fleet-stat-group>div{align-items:baseline;gap:6px 10px;margin-bottom:5px}
.fleet-stat-group>div>span{min-width:0;overflow-wrap:anywhere}
.fleet-stat-group strong{flex:none;white-space:nowrap;font-variant-numeric:tabular-nums}
.fleet-stat-table{table-layout:fixed}
.fleet-stat-table th:first-child{width:43%}
.fleet-stat-table :is(th,td){padding:0 4px}
.fleet-stat-table .table-sort-button{min-height:40px;padding-inline:4px}
.fleet-stat-table .fleet-stat-store-name{gap:2px 8px}
.fleet-stat-table .fleet-stat-store-name>strong{min-width:0;overflow-wrap:anywhere}
.fleet-stat-table .fleet-stat-name-link{width:100%;overflow-wrap:anywhere}
.fleet-stat-table :is(.fleet-stat-name-link,.fleet-stat-count){min-height:40px}
.fleet-stat-grid button:disabled,.fleet-stat-summary button:disabled{cursor:default}
.fleet-stat-table .fleet-stat-count:disabled{text-decoration:none}
@media(max-width:700px){
 .admin-shell>main>.module-bar:has(.fleet-stat-tools){grid-template-columns:minmax(0,1fr) repeat(2,var(--control-height))}
 .module-bar:has(.fleet-stat-tools)>#module-tools{grid-column:2;grid-row:1}
 .module-bar:has(.fleet-stat-tools)>#refresh{grid-column:3}
 .module-bar #module-tools .fleet-stat-tools :is(.store-combobox,.store-arrow){width:var(--control-height);min-width:var(--control-height);height:var(--control-height);min-height:var(--control-height)}
 .fleet-stat-summary>.fleet-stat-card{padding:12px 14px}
 .fleet-stat-grid .fleet-stat-panel{padding:14px 12px}
 .fleet-stat-table :is(.table-sort-button,.fleet-stat-name-link,.fleet-stat-count){min-height:44px}
}

/* Shared segmented, swatch and spatial inputs retain native radio semantics. */
.pas-choice-field{display:grid;gap:6px;min-width:0}
.pas-choice-group{min-width:0}
.pas-choice{position:relative;display:block;min-width:0;margin:0;cursor:pointer}
.pas-choice>input[type=radio]{position:absolute;inset:0;z-index:1;width:100%;height:100%;min-height:0;margin:0;opacity:0;cursor:inherit}
.policy-card .form-field .pas-choice>input[type=radio]{margin:0}
.pas-choice-face{box-sizing:border-box;display:grid;place-items:center;text-align:center;min-height:40px;padding:6px 10px;border:1px solid var(--pas-line);border-radius:var(--pas-radius-control);background:var(--pas-surface);color:var(--pas-ink);font:inherit;line-height:1.25}
.pas-choice:has(input:enabled):hover>.pas-choice-face{border-color:var(--pas-line-strong)}
.pas-choice>input:checked+.pas-choice-face{border-color:var(--pas-accent-line);background:var(--pas-selected);color:var(--pas-accent);font-weight:600}
.pas-choice>input:focus-visible+.pas-choice-face{outline:2px solid var(--pas-accent);outline-offset:2px}
.pas-choice:has(input:disabled){cursor:default}
.pas-choice>input:disabled+.pas-choice-face{opacity:.58}
.pas-color-choices{display:flex;flex-wrap:nowrap;align-items:center;gap:2px}
.pas-color-choices .pas-choice{flex:0 1 34px}
.pas-color-choices .pas-choice[hidden]{display:none}
.pas-color-choices .pas-choice-face{position:relative;width:100%;height:40px;min-height:40px;padding:0;background:transparent;border-color:transparent}
.pas-color-choices .pas-choice-face::after{content:"";width:22px;height:22px;border-radius:50%;border:1px solid var(--pas-line-strong);background:var(--pas-choice-color)}
.pas-color-choices .pas-choice>input:checked+.pas-choice-face{border-color:transparent;background:transparent}
.pas-color-choices .pas-choice>input:checked+.pas-choice-face::after{outline:2px solid var(--pas-accent);outline-offset:3px}
.pas-position-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(3,minmax(36px,1fr));gap:4px;padding:9px;border:1px solid var(--pas-line-strong);border-radius:var(--pas-radius-surface);background:var(--pas-surface-soft)}
.pas-position-choices .pas-choice-face{min-height:36px;padding:4px 2px;font-size:13px}
.pas-position-choices [data-value=top-left]{grid-area:1/1}
.pas-position-choices [data-value=top-right]{grid-area:1/3}
.pas-position-choices [data-value=center]{grid-area:2/2}
.pas-position-choices [data-value=bottom-left]{grid-area:3/1}
.pas-position-choices [data-value=bottom-right]{grid-area:3/3}
.ip-search-match{color:var(--pas-warning);background:var(--pas-warning-bg);border-radius:2px}
@media(forced-colors:active){
 .pas-choice>input:checked+.pas-choice-face{outline:2px solid Highlight}
 .pas-color-choices .pas-choice-face::after{forced-color-adjust:none}
 .ip-search-match{color:HighlightText;background:Highlight}
}


/* The module bar owns control geometry. Module styles still set widths and layout. */
.module-bar :is(button,select,input[type=search],input[type=text]):not(.store-arrow,.table-sort-button){
  min-height:var(--control-height);height:var(--control-height);border-radius:var(--pas-radius-control);font-size:14px;box-sizing:border-box
}
.module-bar :is(button,select,input[type=search],input[type=text]):focus-visible{
  outline:2px solid var(--pas-accent);outline-offset:-2px
}
.module-bar #module-tools :is(.ip-toolbar,.certificate-toolbar).management-toolbar{width:100%;min-width:0}
.module-bar #module-tools .ip-toolbar input[type=search]{min-width:156px;max-width:420px}
.module-bar #module-tools .certificate-toolbar input[type=search]{max-width:360px}
.ip-hide-unused{white-space:nowrap}

/* Personal preferences and policy color controls share the same material and palette. */
/* Both policy preset labels and exact custom hexadecimal colors are available. */
.policy-color{display:grid;gap:6px;align-items:start;margin-top:8px}
.policy-card .form-field .policy-color input[type=text]{margin:0;min-width:0;width:min(100%,9em);height:38px}
.policy-color input[type=text]{font-family:ui-monospace,Consolas,monospace}

.personal-preferences>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px 6px;flex:none}
.personal-preferences h2{font-size:19px;line-height:28px;margin:0}
.personal-preferences header button{display:grid;place-items:center;width:40px;height:40px;min-height:40px;padding:0;border:0;background:transparent;color:var(--pas-muted);border-radius:var(--pas-radius-compact)}
.personal-preferences header button:hover{background:var(--pas-surface-soft);color:var(--pas-ink)}
.personal-preferences header button svg{width:20px;height:20px}
.personal-preferences form{display:flex;flex-direction:column;min-height:0;overflow:hidden}
.preferences-body{display:grid;gap:10px;overflow:auto;overscroll-behavior:contain;padding:4px 18px 12px}
.preferences-section{display:grid;gap:8px;padding:10px 12px;border:1px solid var(--pas-line);border-radius:var(--pas-radius-surface);background:color-mix(in srgb,var(--pas-surface) 62%,transparent)}
.preferences-section h3{font-size:13px;font-weight:600;color:var(--pas-ink);margin:0}
.preferences-modes,.preferences-connection{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.preferences-modes .pas-choice-face{display:flex;flex-direction:column;gap:7px;padding:8px 3px;min-height:66px}
.preferences-modes .pas-choice-face::before{content:"";width:28px;height:19px;border:1px solid var(--pas-line-strong);border-radius:4px;background:var(--pas-theme-preview)}
.preferences-modes [data-value=light]{--pas-theme-preview:var(--pas-preview-light)}
.preferences-modes [data-value=dark]{--pas-theme-preview:var(--pas-preview-dark)}
.preferences-modes [data-value=system]{--pas-theme-preview:var(--pas-preview-dark)}
.preferences-modes [data-value=system] .pas-choice-face::before{box-shadow:inset 13px 0 var(--pas-preview-light)}
.preferences-connection .pas-choice-face{min-height:44px;padding:4px;text-wrap:balance;font-size:12px}
.personal-preferences footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 18px 14px;flex:none}
.preferences-status{color:var(--pas-muted);font-size:12px;overflow-wrap:anywhere}
.preferences-actions{display:flex;flex:none;gap:8px;margin-inline-start:auto}
.personal-preferences footer button{font-size:13px;min-height:40px;padding:6px 16px;border-radius:var(--pas-radius-control)}
.personal-preferences .pas-choice{display:block;min-height:0}
.personal-preferences .preferences-actions button{margin:0}

/* IP history scrolls inside the dialog body, with all five columns visible on phones. */
dialog.ip-log-dialog{width:min(920px,calc(100vw - 24px))}
/* Let the dialog body own both scroll axes, including wheel gestures over table cells. */
.ip-log-table-wrap{overflow:visible}
.ip-log-table{width:100%;min-width:620px;border-collapse:collapse;text-align:start;font-size:14px;line-height:1.45}
.ip-log-table :is(th,td){padding:9px 10px;border-bottom:1px solid var(--pas-line);text-align:start;vertical-align:top}
.ip-log-table th{font-weight:600;color:var(--pas-ink);background:var(--pas-surface-soft)}
.ip-log-table td:is(:nth-child(2),:nth-child(3)){white-space:normal;overflow-wrap:anywhere;min-width:78px}
.ip-log-table .ip-log-time{color:var(--pas-muted);font-variant-numeric:tabular-nums;white-space:nowrap}
.ip-log-table .ip-log-value{white-space:pre-wrap;overflow-wrap:anywhere;min-width:105px}
.ip-log-table tbody tr:last-child td{border-bottom:0}
.ip-note-automatic{display:inline-block;margin-inline-start:6px;font-size:11px;color:var(--pas-muted)}

@media(max-width:680px){
  .ip-log-table{min-width:0;table-layout:fixed;font-size:12px}
  .ip-log-table :is(th,td){padding:8px 4px;white-space:normal;overflow-wrap:anywhere;min-width:0}
  .ip-log-table td:is(:nth-child(2),:nth-child(3)),.ip-log-table .ip-log-value{min-width:0}
  .ip-log-table .ip-log-time{white-space:normal}
  .ip-log-table th:nth-child(1){width:24%}
  .ip-log-table th:nth-child(2){width:18%}
  .ip-log-table th:nth-child(3){width:16%}
}

.module-bar #module-tools .updates-search{max-width:320px;min-width:0}
.updates-catalog{flex:none;margin:0 0 12px;padding:0 0 12px;border-bottom:1px solid var(--pas-line);color:var(--pas-ink);font-size:var(--text-label)}
.updates-catalog>h2{margin:0 0 8px;font-size:var(--text-heading);line-height:1.4}
.updates-catalog-platforms{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px 18px;margin:0}
.updates-catalog-platform{display:grid;grid-template-columns:max-content minmax(0,1fr);align-items:baseline;gap:8px;min-width:0}
.updates-catalog-platform dt{font-weight:600}
.updates-catalog-platform dd{display:flex;flex-wrap:wrap;gap:2px 14px;min-width:0;margin:0}
.updates-catalog-release{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 6px;min-width:0;font-variant-numeric:tabular-nums}
.updates-catalog-detail{color:var(--pas-muted)}
@media(max-width:700px){
 .updates-catalog-platforms{grid-template-columns:1fr}
 .updates-catalog-platform{grid-template-columns:5.2em minmax(0,1fr)}
}
@media(min-width:1001px) and (min-height:601px){
 .updates-tools .responsive-filter-field{display:contents}
 .updates-tools .responsive-filter-field>span{display:none}
}
@media(max-width:1000px),(max-height:600px){
 .module-bar #module-tools .updates-tools.responsive-filters{display:flex;flex-wrap:nowrap;min-width:0;gap:8px}
 .module-bar #module-tools .updates-tools>.updates-search{flex:1 1 0;min-width:0;width:0}
}
