/* Ajustements circonscrits à la navigation et au parc informatique. */
@media(min-width:761px){
 body .sidebar{width:248px!important}body .main{margin-left:248px!important}
 body .nav-section-toggle{min-height:40px!important;padding:8px 12px!important;flex:0 0 auto!important}
 body .nav-group{flex:0 0 auto!important}body #nav{gap:5px!important}
 body .top-actions{gap:8px!important;align-items:center}
 body .top-actions>button{width:auto;min-width:36px;flex:0 0 auto;height:36px;padding:6px 10px}
 body .top-actions .app-clock{flex:0 0 auto}
}
.asset-equipment566{display:inline-flex;align-items:center;gap:12px;color:#006458!important;font-weight:700!important;text-align:left}
.asset-equipment566 svg{width:26px;height:26px;flex:0 0 26px;color:#213f56}
html body #entityTable table[data-entity="assets"] .reading-link.asset-equipment566,
html body #entityTable table[data-entity="assets"] .asset-equipment566>span{color:#006458!important;font-weight:700!important}
.asset-state566{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;color:var(--text,#25394b)}
.asset-state-dot566{width:10px;height:10px;border-radius:50%;background:#8192a4;flex:0 0 10px}
.asset-state566.online .asset-state-dot566{background:#16b663}.asset-state566.offline .asset-state-dot566{background:#ef4444}.asset-state566.warning .asset-state-dot566{background:#f59e0b}
.asset-state566.online{color:#087b52}.asset-state566.offline{color:#ad2634}.asset-state566.warning{color:#996000}
#entityTable table[data-entity="assets"] .asset-client566{color:#0067d9!important}
#entityTable table[data-entity="assets"] th[data-column="equipment"]{min-width:190px}
#entityTable table[data-entity="assets"] td{padding-top:10px;padding-bottom:10px}
#detailDialog.asset-workspace .aw-tab-body[data-aw-panel="hardware"],
#detailDialog.asset-workspace .aw-tab-body[data-aw-panel="disks"],
#detailDialog.asset-workspace .aw-tab-body[data-aw-panel="security"],
#detailDialog.asset-workspace .aw-tab-body[data-aw-panel="software"]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
html body #detailDialog#detailDialog.m1-detail.asset-workspace .aw-tab-body:is([data-aw-panel="hardware"],[data-aw-panel="disks"],[data-aw-panel="security"],[data-aw-panel="software"]){display:grid!important}
#detailDialog.asset-workspace .aw-tab-body>.aw-card{min-width:0;margin:0;overflow:auto}
#detailDialog.asset-workspace .aw-tab-body>p{grid-column:1/-1;margin:0}
#detailDialog.asset-workspace .aw-tab-body table{max-width:100%}
#detailDialog.asset-workspace .aw-tab-body input,#detailDialog.asset-workspace .aw-tab-body select{max-width:100%}
#detailDialog.asset-workspace #awSoftwareResults{min-width:0;overflow:auto}
#detailDialog.asset-workspace .aw-tab-body[data-aw-panel="software"]{grid-template-columns:minmax(180px,.6fr) minmax(0,1.4fr)}
@media(min-width:761px){
 #detailDialog#detailDialog.asset-workspace[open]{grid-template-rows:auto minmax(0,1fr)!important;align-content:stretch!important;align-items:stretch!important;overflow:hidden!important}
 #detailDialog.asset-workspace #detailWorkspace{grid-row:2!important;grid-column:1!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden;overscroll-behavior:contain;max-height:100%;padding-bottom:24px}
 #detailDialog.asset-workspace>.right-tools-aside{grid-row:1/3!important;align-self:stretch!important;min-height:0;height:100%!important;max-height:100%!important;overflow-y:auto}
}
@media(max-width:1000px){
 #detailDialog.asset-workspace .aw-tab-body[data-aw-panel]{grid-template-columns:minmax(0,1fr)}
}

/* Dimensions de navigation conservant le mode épinglé/rétractable. */
@media(min-width:761px){
 html body>.sidebar{width:248px!important}html body>.main{margin-left:248px!important}
 html body .app-status-footer{left:248px!important}
 html body.m1-unpinned>.sidebar{width:64px!important}html body.m1-unpinned>.main{margin-left:64px!important}
 html body.m1-unpinned .app-status-footer{left:64px!important}
 html body.m1-unpinned>.sidebar:hover,html body.m1-unpinned>.sidebar:focus-within{width:248px!important}
 html body>.sidebar #nav{gap:5px!important}
 html body>.sidebar #nav>.nav-group{flex:0 0 auto!important;gap:3px!important}
 html body>.sidebar #nav .nav-section-toggle{min-height:40px!important;padding:8px 12px!important;flex:0 0 auto!important}
 html body>.sidebar .sidebar-exit{margin-top:6px!important}
 html body .top-actions{gap:8px!important}
}

html body #detailDialog#detailDialog.m1-detail.asset-workspace .aw-tab-body[data-aw-panel="software"]>.aw-card{grid-column:auto!important}
