.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}
/* Keep the module visible while the Astral navigation initializes. */

.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}}
.astral-tools-toggle { border:1px solid #9fc6f0; border-radius:9px; padding:9px 16px; color:white; background:#ffffff1c; font:700 12px Arial,sans-serif; cursor:pointer; }
.astral-tools-toggle:hover { background:#ffffff32; }
.astral-bar > .astral-tiles { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:9px; }
.astral-bar > .astral-tiles .astral-tile { min-width:0; max-width:none; width:100%; }
.astral-tools-dialog { box-sizing:border-box; width:min(900px,calc(100vw - 32px)); max-height:85dvh; padding:26px; overflow:auto; border:1px solid #c4d8ed; border-radius:18px; color:#183f64; background:#f5f9ff; box-shadow:0 24px 80px #08234a55; }
.astral-tools-dialog::backdrop { background:#071a36a6; backdrop-filter:blur(3px); }
.astral-tools-dialog > header { display:flex; justify-content:space-between; align-items:center; gap:20px; margin-bottom:24px; }
.astral-tools-dialog h2 { margin:0 0 6px; font:700 24px Arial,sans-serif; }
.astral-tools-dialog p { margin:0; font:13px Arial,sans-serif; color:#617b95; }
.astral-tools-close { border:1px solid #c7d8e9; border-radius:9px; width:38px; height:38px; background:white; color:#254b70; font-size:26px; cursor:pointer; }
.astral-tools-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.astral-tools-grid .astral-tile { width:100%; min-width:0; max-width:none; min-height:76px; background:white; color:#204b75; border:1px solid #cfdeee; box-shadow:0 3px 10px #16395808; }
.astral-tools-grid .astral-tile-icon { background:#e8f2ff; color:#286eb2; }
.astral-tools-grid .astral-tile:hover,.astral-tools-grid .astral-tile.is-active { background:#e1eeff; border-color:#78a8da; }
.astral-tools-grid .astral-tile strong { overflow:visible; }
.astral-tools-dialog button:focus-visible,.astral-tools-dialog a:focus-visible,.astral-tools-toggle:focus-visible { outline:3px solid #67a8ed; outline-offset:3px; }
@media(max-width:1000px){.astral-bar > .astral-tiles{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:600px){.astral-bar > .astral-tiles{grid-template-columns:repeat(2,minmax(0,1fr));max-height:158px;overflow:auto}.astral-tools-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.astral-tools-dialog{padding:18px}.astral-heading{gap:10px}.astral-actions:empty{display:none}.astral-heading label{margin-left:auto}}
.astral-tile[hidden]{display:none!important}
/* V125 : raccourcis permanents et pictogrammes métiers. */
.astral-actions .astral-quick-action { display:inline-flex; align-items:center; justify-content:center; gap:7px; padding:8px 9px; border:1px solid #92bce54d; border-radius:10px; color:#e7f3ff; background:#ffffff0d; text-decoration:none; font:600 11px Arial,sans-serif; cursor:pointer; }
.astral-quick-action .astral-tile-icon { width:26px; height:26px; border-radius:7px; background:transparent; }
.astral-quick-action .astral-tile-icon svg { width:21px; height:21px; }
.astral-actions .astral-quick-action:hover { background:#ffffff25; border-color:#a4caef; }
.astral-actions .astral-quick-action:focus-visible { outline:2px solid #b9ddff; outline-offset:3px; }
.astral-quick-action[hidden] { display:none!important; }
.astral-heading { gap:12px; }
@media(max-width:1250px){.astral-quick-action strong{display:none}.astral-actions .astral-quick-action{padding:7px}.astral-actions{flex:1}}
@media(max-width:760px){.astral-actions{order:3;flex-basis:100%;justify-content:flex-start}.astral-quick-action strong{display:inline}.astral-actions .astral-quick-action{flex:0 0 auto}.astral-actions .astral-quick-action .astral-tile-icon{width:22px}}
/* V126 : navigation normale directe et sélecteurs lisibles. */
#appSidebar .nav-list > .nav-item { margin-left:0; width:100%; }
#appSidebar .normal-tools { margin-top:9px; border-top:1px solid #ffffff25; padding-top:9px; }
#appSidebar .normal-tools > summary { display:flex; align-items:center; justify-content:space-between; padding:12px 14px; color:#e5f1ff; font-weight:700; border-radius:9px; cursor:pointer; list-style:none; }
#appSidebar .normal-tools > summary::after { content:'›'; font-size:22px; }
#appSidebar .normal-tools[open] > summary::after { transform:rotate(90deg); }
#appSidebar .normal-tools > summary::-webkit-details-marker { display:none; }
#appSidebar .normal-tools > summary:hover { background:#ffffff14; }
#appSidebar .normal-tools-list { display:grid; gap:5px; padding:5px 0 5px 8px; }
#appSidebar .normal-tools > summary:focus-visible { outline:2px solid #9acaff; outline-offset:2px; }
[data-menu-mode] { color-scheme:light; }
[data-menu-mode] option,[data-menu-mode] optgroup { color:#173c62!important; background:#fff!important; }
.astral-actions [aria-label="BioPartner"] { background:#d9f5ee; color:#155c51; border-color:#9ad9c9; }
.astral-actions [aria-label="BioPartner"]:hover { background:#bdebdc; }
/* V135: rail de navigation et sélecteur lisible. */
.normal-nav-icon{display:inline-flex;align-items:center;justify-content:center;width:23px;min-width:23px;height:23px;margin-right:10px}.normal-nav-icon svg{width:23px;height:23px}.normal-menu-compact-toggle{display:flex;align-items:center;justify-content:center;gap:9px;padding:8px;border:1px solid #ffffff40;border-radius:9px;background:#ffffff12;color:#edf5ff;cursor:pointer;margin-bottom:10px}.normal-menu-compact-toggle>span:first-child{font-size:24px;line-height:1}.menu-mode-control{display:flex!important;flex-direction:column;align-items:stretch!important;gap:6px;width:100%;box-sizing:border-box}.menu-mode-control select{box-sizing:border-box;width:100%!important;min-width:0!important;max-width:none!important;padding:10px 26px 10px 10px!important}.normal-menu-compact-toggle{flex:none}#appSidebar .normal-tools>summary{justify-content:flex-start}.normal-menu-compact-toggle:focus-visible{outline:2px solid #c6e7ff}
@media(min-width:1001px){html.menu-normal-compact:not(.menu-astral) #appShell.app-shell{grid-template-columns:76px minmax(0,1fr)!important}html.menu-normal-compact:not(.menu-astral) body.gmao-shell{--gmao-sidebar:76px;padding-left:76px!important}html.menu-normal-compact:not(.menu-astral) #appSidebar{width:76px!important;min-width:76px!important;padding:14px 8px!important;box-sizing:border-box}html.menu-normal-compact:not(.menu-astral) #appSidebar .brand,html.menu-normal-compact:not(.menu-astral) #appSidebar .sidebar-welcome,html.menu-normal-compact:not(.menu-astral) #appSidebar .nav-label,html.menu-normal-compact:not(.menu-astral) #appSidebar .nav-chevron,html.menu-normal-compact:not(.menu-astral) #appSidebar .compact-toggle-label,html.menu-normal-compact:not(.menu-astral) #appSidebar .menu-mode-control{display:none!important}html.menu-normal-compact:not(.menu-astral) #appSidebar .nav-item,html.menu-normal-compact:not(.menu-astral) #appSidebar .nav-group-toggle,html.menu-normal-compact:not(.menu-astral) #appSidebar .normal-tools>summary{display:flex;align-items:center;justify-content:center;padding:12px 5px!important;min-height:44px;width:100%;box-sizing:border-box}html.menu-normal-compact:not(.menu-astral) #appSidebar .normal-nav-icon{margin:0}html.menu-normal-compact:not(.menu-astral) #appSidebar .normal-tools-list{padding:4px 0}html.menu-normal-compact:not(.menu-astral) #appSidebar .normal-tools>summary::after{display:none}html.menu-normal-compact:not(.menu-astral) #appSidebar .nav-subgroup{margin:0}html.menu-normal-compact:not(.menu-astral) #appSidebar .sidebar-actions{display:flex;flex-direction:column;align-items:center}html.menu-normal-compact:not(.menu-astral) #appSidebar .sidebar-actions>button{max-width:58px;overflow:hidden}}
@media(max-width:1000px){.normal-menu-compact-toggle{display:none}}
#appSidebar [hidden]{display:none!important}
.compact-action-icon{display:none}@media(min-width:1001px){html.menu-normal-compact:not(.menu-astral) #appSidebar .sidebar-actions{display:flex!important;flex-direction:column!important;align-items:center!important;gap:5px;width:100%}html.menu-normal-compact:not(.menu-astral) #appSidebar .normal-action-content{display:none!important}html.menu-normal-compact:not(.menu-astral) #appSidebar .compact-action-icon{display:inline-flex;align-items:center;justify-content:center;width:23px;height:23px}html.menu-normal-compact:not(.menu-astral) #appSidebar .compact-action-icon svg{width:23px;height:23px}html.menu-normal-compact:not(.menu-astral) #appSidebar .normal-compact-action{display:flex;align-items:center;justify-content:center;min-width:40px;width:46px;min-height:36px;padding:6px;border:1px solid #ffffff22;border-radius:8px;background:#ffffff0a;color:#d9ecff}html.menu-normal-compact:not(.menu-astral) #appSidebar .sidebar-actions>*{max-width:100%;box-sizing:border-box}}
.menu-mode-control{grid-column:1/-1;max-width:none!important}
/* V136 : menus automatiques et épinglage. */
.normal-menu-controls{display:flex;align-items:center;justify-content:flex-end;gap:4px;margin-bottom:8px}.normal-menu-controls .normal-menu-compact-toggle,.menu-pin,.astral-menu-reveal{display:inline-flex;align-items:center;justify-content:center;flex:none;width:28px;height:28px;padding:3px;margin:0;border:1px solid #ffffff30;border-radius:7px;background:#ffffff0a;color:#dceeff;cursor:pointer}.normal-menu-controls .normal-menu-compact-toggle>span{font-size:22px}.menu-pin svg{width:17px;height:17px}.menu-pin[aria-pressed=true]{background:#cce7ff;color:#12436f;border-color:#cce7ff}.menu-pin:focus-visible,.astral-menu-reveal:focus-visible{outline:2px solid #b8dbff;outline-offset:2px}.astral-menu-reveal{display:none}
@media(min-width:1001px){html.menu-normal-compact:not(.menu-astral) .normal-menu-controls{justify-content:center;gap:2px}.astral-bar{position:sticky}html.menu-astral-compact .astral-bar{padding:4px 18px;min-height:36px}html.menu-astral-compact .astral-bar>.astral-heading,html.menu-astral-compact .astral-bar>.astral-tiles{display:none}html.menu-astral-compact .astral-bar>.astral-menu-reveal{display:flex;width:100%;height:28px;border:none;font-size:24px}}
@media(max-width:1000px){.normal-menu-controls{display:none}}
/* V138 : icônes conservées dans le menu Astral réduit. */
.astral-bar>.menu-pin{position:absolute;right:8px;top:12px}.astral-bar>.astral-heading{padding-right:28px}
@media(min-width:1001px){html.menu-astral-compact .astral-bar{padding:4px 48px 4px 12px;min-height:48px}html.menu-astral-compact .astral-bar>.astral-menu-reveal{display:none}html.menu-astral-compact .astral-bar>.astral-tiles{display:flex!important;align-items:center;justify-content:flex-start;gap:7px;padding:0;overflow-x:auto}html.menu-astral-compact .astral-bar>.astral-tiles .astral-tile{display:flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;min-width:40px;max-width:40px;min-height:38px;height:38px;padding:3px;border-radius:9px}html.menu-astral-compact .astral-bar>.astral-tiles .astral-tile strong{display:none}html.menu-astral-compact .astral-bar>.astral-tiles .astral-tile-icon{width:29px;height:29px}html.menu-astral-compact .astral-bar>.menu-pin{top:9px}}

@media (min-width:1001px) {
  html.menu-normal-compact:not(.menu-astral) #appSidebar .sidebar-actions .inbox-wrapper { display:flex!important; flex-direction:column; align-items:center; gap:4px; width:100%; min-width:0; }
  html.menu-normal-compact:not(.menu-astral) #appSidebar .inbox-wrapper > button { flex:none; max-width:100%; margin:0; }
}

/* Organisation et affichage à gauche, déconnexion en dernière position. */
.astral-bar > .astral-heading{justify-content:flex-start;padding-right:0;flex-wrap:wrap}
.astral-heading > label{margin-left:0;flex:none}
.astral-heading > strong{min-width:0;overflow-wrap:anywhere}
.astral-heading > .astral-actions{margin-left:auto;align-items:center;flex-wrap:wrap}
.astral-actions .astral-logout{margin-left:auto}
.astral-actions .astral-logout strong{display:inline}
@media(max-width:760px){.astral-heading > .astral-actions{overflow:visible}.astral-heading > label{flex-wrap:wrap}}

/* V171 : en-tête commun et commandes lisibles. */
.astral-bar > .astral-heading{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:16px;align-items:center}
.astral-identity{display:flex;align-items:center;gap:12px;max-width:350px;flex-wrap:wrap}
.astral-identity > strong{overflow-wrap:anywhere}
.astral-identity label{margin:0}
.astral-heading > .astral-actions{margin:0;justify-content:center;flex-wrap:wrap;overflow:visible}
.astral-account-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px}
.astral-account-actions .menu-pin{position:static;width:40px;height:40px;border:2px solid #badcff;background:#fff;color:#123e68;box-shadow:0 2px 6px #0003}
.astral-account-actions .menu-pin svg{width:23px;height:23px}
.astral-account-actions .menu-pin[aria-pressed=true]{background:#9cdec9;color:#083e30;border-color:#9cdec9}
.astral-account-actions .astral-logout{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;margin:0;padding:6px;border:1px solid #a8cfee;border-radius:10px;background:#ffffff17;color:white;cursor:pointer}
.astral-account-actions .astral-logout strong{display:none!important}
.astral-account-actions button:focus-visible{outline:3px solid #fff;outline-offset:3px}
html.dashboard-home body.is-authenticated .astral-bar{display:block!important;padding:12px 18px;min-height:0}
html.dashboard-home body.is-authenticated .astral-bar > .astral-heading{display:grid!important;margin-bottom:0}
html.dashboard-home body.is-authenticated .astral-bar > .astral-tiles{display:none!important}
@media(max-width:1100px){.astral-bar > .astral-heading{grid-template-columns:minmax(0,1fr) auto}.astral-identity{max-width:none}.astral-heading > .astral-actions{grid-column:1/-1;grid-row:2;justify-content:center}.astral-account-actions{grid-column:2;grid-row:1}}
@media(max-width:480px){.astral-bar > .astral-heading{gap:10px}.astral-identity{gap:8px}.astral-identity > strong{font-size:13px}.astral-account-actions{gap:6px}.astral-identity select{min-width:120px;max-width:100%}}

html.dashboard-home body.is-authenticated{padding-top:0!important}

.astral-bar > .astral-menu-reveal{display:block!important;position:absolute;right:8px;top:8px;width:30px;height:30px;cursor:pointer;z-index:2}.astral-bar>.astral-heading{padding-right:34px}.normal-menu-compact-toggle:focus-visible,.astral-menu-reveal:focus-visible{outline:2px solid #4ca7ff;outline-offset:2px}

html.menu-astral-compact .astral-bar > .astral-menu-reveal{width:30px!important;height:30px!important;left:auto!important;right:8px;top:8px;display:flex!important}

