.menu-mode-control{display:grid;gap:5px;color:#d9e9fc;font-size:11px;font-weight:800;letter-spacing:.03em;text-transform:uppercase}.menu-mode-control select,.astral-heading select{width:100%;border:1px solid #7da8db;border-radius:8px;background:#102f59;color:#fff;padding:8px 10px;font:inherit}.sidebar-actions .menu-mode-control{width:100%}.astral-bar[hidden]{display:none!important}.astral-bar{position:sticky;top:0;z-index:80;box-sizing:border-box;width:100%;padding:12px 18px 14px;background:linear-gradient(105deg,#08234a,#103e77);color:#fff;box-shadow:0 6px 22px #08234a22}.astral-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:11px}.astral-heading strong{font-size:15px;letter-spacing:.02em}.astral-heading strong span{font-weight:500;color:#a8d5ff;margin-left:9px}.astral-heading label{display:flex;align-items:center;gap:9px;font-size:11px;font-weight:800;text-transform:uppercase}.astral-heading select{width:auto;min-width:140px;background:#153e70}.astral-actions{display:flex;justify-content:flex-end;flex:1;gap:6px}.astral-actions button{border:1px solid #ffffff77;border-radius:8px;background:#ffffff17;color:white;padding:7px 10px;cursor:pointer;font-size:11px;font-weight:700}.astral-actions button:hover{background:#ffffff32}.astral-tiles{display:flex;gap:9px;overflow-x:auto;overflow-y:hidden;padding:1px 2px 7px;scrollbar-color:#83b7ed transparent}.astral-tile{box-sizing:border-box;display:grid;grid-template-columns:34px minmax(0,1fr);grid-template-rows:auto auto;align-items:center;column-gap:9px;min-width:152px;max-width:190px;min-height:62px;padding:9px 11px;border:1px solid #a5c7ed88;border-radius:12px;background:#ffffff14;color:#fff;text-align:left;text-decoration:none;cursor:pointer;font:inherit;white-space:normal}.astral-tile:hover,.astral-tile:focus-visible{background:#ffffff2a;border-color:#d6eaff;outline:none}.astral-tile.is-active{background:#e9f4ff;color:#08234a;border-color:#fff}.astral-tile-icon{grid-row:1/3;display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:#ffffff25}.astral-tile.is-active .astral-tile-icon{background:#cfe6ff}.astral-tile-icon svg{width:22px;height:22px}.astral-tile strong{overflow:hidden;text-overflow:ellipsis;font-size:12px;line-height:1.2}.astral-tile small{color:#bfdfff;font-size:10px;line-height:1.2}.astral-tile.is-active small{color:#38658d}
body.menu-astral .app-shell{display:block!important;width:100%!important;max-width:none!important;height:100dvh;overflow:auto!important}body.menu-astral .app-shell>.sidebar,body.menu-astral .app-shell>.mobile-app-bar,body.menu-astral .app-shell>.mobile-sidebar-backdrop{display:none!important}body.menu-astral .app-shell>.main{width:100%;max-width:none;box-sizing:border-box}body.menu-astral .app-shell>.view{width:100%;max-width:none}body.gmao-shell.menu-astral{padding:0!important}body.gmao-shell.menu-astral .gmao-sidebar-context,body.gmao-shell.menu-astral .gmao-menu-toggle{display:none!important}body.gmao-shell.menu-astral .di-workspace,body.gmao-shell.menu-astral .stock-workspace{max-width:none;width:100%;box-sizing:border-box}body.gmao-shell.menu-astral.eqt-workspace-body .eqt-page{height:auto;min-height:calc(100dvh - 116px)}@media(max-width:760px){.astral-bar{padding:9px 10px}.astral-heading{margin-bottom:7px;flex-wrap:wrap}.astral-heading strong{font-size:13px}.astral-heading strong span{display:none}.astral-actions{order:3;flex-basis:100%;justify-content:flex-start;overflow-x:auto}.astral-tile{min-width:132px;min-height:58px}.astral-heading select{min-width:120px}body.gmao-shell.menu-astral .di-workspace{min-height:calc(100dvh - 110px)}}
html.menu-astral .app-shell{display:block!important;width:100%!important;max-width:none!important;height:100dvh;overflow:auto!important}
html.menu-astral .app-shell>.sidebar,html.menu-astral .app-shell>.mobile-app-bar,html.menu-astral .app-shell>.mobile-sidebar-backdrop{display:none!important}
html.menu-astral .app-shell>.main,html.menu-astral .app-shell>.view{width:100%!important;max-width:none!important;box-sizing:border-box}
html.menu-astral body.gmao-shell{padding:0!important}
html.menu-astral body.gmao-shell .gmao-sidebar-context,html.menu-astral body.gmao-shell .gmao-menu-toggle{display:none!important}
html.menu-astral body.gmao-shell .di-workspace,html.menu-astral body.gmao-shell .stock-workspace{max-width:none;width:100%;box-sizing:border-box}
html.menu-astral body.gmao-shell.eqt-workspace-body .eqt-page{height:auto;min-height:calc(100dvh - 116px)}
/* La barre Astral prend sa hauteur, puis seule la vue du module défile. */
html.menu-astral .app-shell{display:flex!important;flex-direction:column;height:100dvh!important;padding-top:0!important;overflow:hidden!important}
html.menu-astral .app-shell>.astral-bar{flex:0 0 auto}
html.menu-astral .app-shell>.main{flex:1 1 auto;min-height:0!important;height:auto!important;overflow:hidden!important}
html.menu-astral .app-shell>.main>.view.active{flex:1 1 auto;min-height:0;overflow-y:auto!important}
.astral-tile.is-single-line{min-height:54px}
.astral-tile.is-single-line strong{grid-row:1/3;align-self:center}
.inventory-custom-table .table-head [data-inventory-sort]{cursor:pointer;user-select:none}
.inventory-custom-table .table-head [data-inventory-sort]::after{content:" ↕";color:#6b91bd;font-size:11px}
.inventory-custom-table .table-head [aria-sort="ascending"]::after{content:" ▲";color:#1266f1}
.inventory-custom-table .table-head [aria-sort="descending"]::after{content:" ▼";color:#1266f1}
.inventory-custom-table .table-head [data-inventory-sort]:focus-visible{outline:2px solid #1266f1;outline-offset:-2px}
html.menu-astral:not(.menu-astral-ready) #appShell,html.menu-astral:not(.menu-astral-ready) body.gmao-shell .di-workspace,html.menu-astral:not(.menu-astral-ready) body.gmao-shell .stock-workspace{visibility:hidden}

.sidebar .nav-group:not(.open) > .nav-submenu{display:none!important}.sidebar .nav-group.open > .nav-submenu{display:grid!important}.sidebar .nav-subgroup{margin-left:8px}.sidebar .nav-subgroup > .nav-group-toggle{font-size:12px}
html.dashboard-home body.is-authenticated #appSidebar,html.dashboard-home body.is-authenticated .astral-bar,html.dashboard-home body.is-authenticated .mobile-app-bar,html.dashboard-home body.is-authenticated .mobile-sidebar-backdrop{display:none!important}
html.dashboard-home body.is-authenticated #appShell{display:block!important;grid-template-columns:minmax(0,1fr)!important;width:100%!important;max-width:none!important;overflow:auto!important}
html.dashboard-home body.is-authenticated #appShell>.main{width:100%!important;max-width:none!important;min-height:100dvh!important;overflow:visible!important}
html.dashboard-home body.is-authenticated #dashboard{width:100%!important;max-width:none!important;overflow:visible!important}
.dashboard-action-card[href]{text-decoration:none;color:inherit;display:flex}
.astral-subtiles{display:flex;align-items:center;gap:8px;padding:6px 14px 10px;flex-wrap:wrap;border-top:1px solid #dce7f2}.astral-subtiles[hidden],.astral-subtile[hidden]{display:none!important}.astral-subtile{min-height:32px!important;padding:6px 12px!important;border-radius:7px!important;font-size:12px!important}.astral-subtile strong{font-weight:600}.astral-group-tile{cursor:pointer}
.dashboard-unread-dialog{width:min(520px,calc(100vw - 32px));border:1px solid #b7d0e9;border-radius:14px;padding:24px;color:#193c61;box-shadow:0 24px 70px #102d5266}.dashboard-unread-dialog::backdrop{background:#1028438c}.dashboard-unread-dialog h2{margin:0 0 8px}.dashboard-unread-dialog>div{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
/* V109 : libellés centrés sous le visuel. */
.dashboard-action-card,.dashboard-action-card[href]{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:154px;padding:18px 12px;text-align:center}
.dashboard-action-card .dashboard-action-symbol{display:grid;place-items:center;flex:0 0 auto;width:54px;height:54px;padding:0;border-radius:15px;background:#e5f3ff;color:#0c5a9b;font-size:20px;font-weight:800;letter-spacing:.04em}
.dashboard-action-card .dashboard-action-copy{display:grid;gap:5px;justify-items:center;align-content:center;width:100%;padding:0;text-align:center}
.dashboard-action-card .dashboard-action-copy strong,.dashboard-action-card .dashboard-action-copy small{text-align:center}
/* Accueil : cinq vignettes par rangée, images et cartes de taille uniforme. */
.dashboard-heading-tools{display:flex;align-items:center;gap:16px;flex-wrap:wrap;justify-content:flex-end}
.dashboard-quick-actions{display:flex;align-items:center;gap:7px}
.dashboard-quick-actions button{position:relative;display:grid;place-items:center;width:38px;height:38px;padding:7px;border:1px solid #b9d5eb;border-radius:10px;background:#f2f8ff;color:#12578f;cursor:pointer}
.dashboard-quick-actions button:hover:not(:disabled){background:#deefff;border-color:#7db7e4}
.dashboard-quick-actions button:disabled{opacity:.45;cursor:not-allowed}
.dashboard-quick-actions svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.dashboard-quick-count{position:absolute;right:-5px;top:-6px;display:grid;place-items:center;min-width:16px;height:16px;padding:1px 3px;border-radius:10px;background:#dc3b49;color:white;font-size:10px;font-weight:800}
#dashboard .dashboard-action-grid{grid-template-columns:repeat(10,minmax(0,1fr));grid-auto-rows:212px;gap:14px}
#dashboard .dashboard-action-grid>.dashboard-action-card{grid-column:span 2;display:grid;grid-template-rows:128px 1fr;align-items:stretch;width:100%;height:212px;min-height:0;padding:0;gap:0;text-align:center;overflow:hidden}
#dashboard .dashboard-action-grid>.dashboard-action-card img{display:block;box-sizing:border-box;width:100%;height:128px;min-height:0;max-height:128px;object-fit:cover;object-position:center;background:#e7f3fa}
#dashboard .dashboard-action-grid>.dashboard-action-card .dashboard-action-copy{box-sizing:border-box;display:grid;gap:4px;justify-items:center;align-content:center;width:100%;height:84px;min-height:0;padding:9px 8px;text-align:center}
#dashboard .dashboard-action-grid>.dashboard-action-card .dashboard-action-copy strong,#dashboard .dashboard-action-grid>.dashboard-action-card .dashboard-action-copy small{text-align:center}
#dashboard .dashboard-action-grid.count-6>:nth-child(6){grid-column:5/span 2}
#dashboard .dashboard-action-grid.count-7>:nth-child(6){grid-column:4/span 2}
#dashboard .dashboard-action-grid.count-8>:nth-child(6){grid-column:3/span 2}
#dashboard .dashboard-action-grid.count-9>:nth-child(6){grid-column:2/span 2}
@media(max-width:1100px){#dashboard .dashboard-action-grid{grid-template-columns:repeat(6,minmax(0,1fr))}#dashboard .dashboard-action-grid.count-6>:nth-child(6),#dashboard .dashboard-action-grid.count-7>:nth-child(6),#dashboard .dashboard-action-grid.count-8>:nth-child(6),#dashboard .dashboard-action-grid.count-9>:nth-child(6){grid-column:span 2}}
@media(max-width:720px){.dashboard-heading-tools{justify-content:flex-start}#dashboard .dashboard-action-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:204px}#dashboard .dashboard-action-grid>.dashboard-action-card{grid-column:span 1;grid-template-rows:120px 1fr;height:204px}#dashboard .dashboard-action-grid>.dashboard-action-card img{height:120px;max-height:120px}#dashboard .dashboard-action-grid.count-6>:nth-child(6),#dashboard .dashboard-action-grid.count-7>:nth-child(6),#dashboard .dashboard-action-grid.count-8>:nth-child(6),#dashboard .dashboard-action-grid.count-9>:nth-child(6){grid-column:span 1}}
@media(max-width:420px){#dashboard .dashboard-action-grid{grid-template-columns:1fr}}
