/* Approved A05 option 5: sections and the available modes share one compact row. */
.shared-navigation{display:flex;align-items:stretch;gap:0;flex-shrink:0;min-width:0;background:#fff;border-bottom:1px solid #c7c9d1}
body.shared-nav-app .shared-navigation>.facade-sections,body.shared-nav-app .shared-navigation>#sections{display:flex;flex:1;flex-wrap:nowrap;min-width:0;gap:0;padding:0;margin:0;border:0;background:#fff;justify-content:stretch}
body.shared-nav-app .shared-navigation .facade-sections>a,body.shared-nav-app .shared-navigation>#sections>button{flex:1 1 0;min-width:0;min-height:34px;padding:5px 4px;gap:5px;display:flex;justify-content:center;align-items:center;border:0;border-radius:0;box-shadow:none;background:transparent;color:#78858e;font-size:11px;line-height:1.2}
body.shared-nav-app .shared-navigation .facade-sections>a+a,body.shared-nav-app .shared-navigation>#sections>button+button{border-left:1px solid #d7dde2}
body.shared-nav-app .shared-navigation .section-icon svg{width:19px;height:19px}
body.shared-nav-app .shared-navigation .section-label{overflow-wrap:anywhere}
body.shared-nav-app .shared-navigation .facade-sections>a:before,body.shared-nav-app .shared-navigation>#sections>button:before{display:none}
body.shared-nav-app .shared-navigation [data-section][aria-current=page]{color:#264d63;background:#f4f8fa;box-shadow:inset 0 -2px #4338ca;font-weight:650}
body.shared-nav-app .shared-navigation [data-section]:hover{background:#f0f5f8;color:#0e7490}
body.shared-nav-app .shared-navigation>.app-modes{display:flex;align-items:center;flex-shrink:0;margin:0;padding:3px 7px;gap:4px;border-left:1px solid #c7d2db;font-size:11px}
body.shared-nav-app .shared-navigation>.app-modes a{display:flex;align-items:center;justify-content:center;padding:5px 8px;min-height:27px;border:1px solid #cbd6de;border-radius:3px;white-space:nowrap;color:#78858e;background:#fff;font-size:11px;line-height:1.2}
body.shared-nav-app .shared-navigation>.app-modes a[aria-current]{background:#e8eff5;border-color:#a8baca;color:#34596f;font-weight:600;box-shadow:none}
body.shared-nav-app .shared-navigation>.app-modes .section-icon{display:none}
body.shared-nav-app.compact-workbench header.top.has-current-material{grid-template-columns:auto minmax(0,1fr)}
body.shared-nav-app .facade-main>.shared-navigation,body.shared-nav-app .custom-main>.shared-navigation{flex-shrink:0}
body.shared-nav-app:not(.desktop-workbench):not(.custom-layout-review) .shared-navigation{position:sticky;top:62px;z-index:25;margin-bottom:18px;border:1px solid #d5dce4}
@media(max-width:1100px){body.shared-nav-app .shared-navigation .facade-sections>a,body.shared-nav-app .shared-navigation>#sections>button{font-size:10px;gap:4px;padding-inline:3px}body.shared-nav-app .shared-navigation .section-icon svg{width:17px;height:17px}body.shared-nav-app .shared-navigation>.app-modes{padding-inline:5px;gap:3px}body.shared-nav-app .shared-navigation>.app-modes a{font-size:10px;padding-inline:6px}}
@media(max-width:760px){.shared-navigation{flex-wrap:wrap}body.shared-nav-app .shared-navigation>.facade-sections,body.shared-nav-app .shared-navigation>#sections{flex-basis:100%;overflow-x:auto;justify-content:flex-start}body.shared-nav-app .shared-navigation .facade-sections>a,body.shared-nav-app .shared-navigation>#sections>button{flex:0 0 auto;min-width:100px;white-space:nowrap}body.shared-nav-app .shared-navigation>.app-modes{margin-left:auto;border-left:0}body.shared-nav-app.compact-workbench header.top.has-current-material{min-height:46px;grid-template-columns:auto minmax(0,1fr)}body.shared-nav-app .shared-navigation .section-label{overflow-wrap:normal}}
