/* A15 option 4. Shared service header and section positions across all modes. */
body.shared-shell:not(.shell-preview){box-sizing:border-box!important;height:100dvh!important;min-height:0!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}
body.shared-shell:not(.shell-preview) .app-shell{flex:none;min-width:0;background:#fff}
body.shared-shell:not(.shell-preview) .app-shell header.top{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;box-sizing:border-box!important;height:40px!important;min-height:40px!important;padding:0 12px!important;margin:0!important;border:0!important;border-bottom:1px solid #d9dfe5!important;grid-template-columns:none!important;flex:none!important}
body.shared-shell:not(.shell-preview) .app-shell header.top:has(.document-export-status:not(:empty)){height:auto!important;padding:5px 12px!important}
body.shared-shell:not(.shell-preview) .shell-identity{display:flex!important;align-items:center!important;gap:8px!important;flex:none;min-width:0}
body.shared-shell:not(.shell-preview) .app-shell .brand{display:flex!important;align-items:center!important;gap:7px!important;font-size:18px!important;line-height:1!important;padding:0!important;white-space:nowrap}
body.shared-shell:not(.shell-preview) .app-shell .brand img{width:28px!important;height:28px!important;object-fit:contain!important}
body.shared-shell:not(.shell-preview) .app-shell .brand>span{display:none!important}
body.shared-shell:not(.shell-preview) .app-shell .app-editions{display:flex!important;align-items:center!important;gap:6px!important;position:static!important;grid-area:auto!important;margin:0!important}
body.shared-shell:not(.shell-preview) .app-shell .zora-version-button{margin:0!important}
body.shared-shell:not(.shell-preview) .app-shell .windows-edition{display:inline-flex!important;align-items:center!important;font-size:11px!important;font-weight:500;line-height:1.2;color:#687b8c!important;padding:3px 5px!important;border:0!important;background:none!important;text-decoration:none;white-space:nowrap}
body.shared-shell:not(.shell-preview) .shell-actions{display:flex!important;align-items:center;justify-content:flex-end;min-width:0;gap:5px;margin-left:auto}
body.shared-shell:not(.shell-preview) .shell-actions .current-material{max-width:100%;padding:0!important;margin:0!important;display:flex!important;align-items:center;gap:8px;min-width:0}
body.shared-shell:not(.shell-preview) .shell-actions .current-material-name{font-size:13px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
body.shared-shell:not(.shell-preview) .shell-actions .current-material-widths{font-size:12px!important;white-space:nowrap;flex:none}
body.shared-shell:not(.shell-preview) .shell-actions .custom-downloads,body.shared-shell:not(.shell-preview) .shell-actions .calculator-downloads{display:flex!important;gap:5px;flex:none;margin:0!important;padding:0!important;border:0!important}
body.shared-shell:not(.shell-preview) .app-shell .shared-navigation{box-sizing:border-box!important;height:40px!important;min-height:40px!important;margin:0!important;padding:0!important;width:100%!important;max-width:none!important;display:flex!important;border:0!important;border-bottom:1px solid #c7c9d1!important;position:relative!important;top:auto!important}
body.shared-shell:not(.shell-preview) .app-shell .shared-navigation [data-section],body.shared-shell:not(.shell-preview) .app-shell .shared-navigation .app-modes a{height:39px!important;min-height:0!important;box-sizing:border-box!important}
body.shared-shell:not(.shell-preview) .app-shell .shared-navigation .app-modes{margin:0!important;box-sizing:border-box;flex:0 0 184px!important;width:184px!important;justify-content:flex-end}
body.shared-shell:not(.shell-preview) .app-shell .shared-navigation .app-modes a{flex:1 1 0;justify-content:center}
body.shared-shell:is(.layout-workbench.compact-workbench,.custom-layout-review):not(.shell-preview) .app-shell .shared-navigation{height:auto!important;min-height:33px!important}
body.shared-shell:is(.layout-workbench.compact-workbench,.custom-layout-review):not(.shell-preview) .app-shell .shared-navigation :is([data-section],.app-modes a){height:32px!important}
body.shared-shell:is(.layout-workbench.compact-workbench,.custom-layout-review):not(.shell-preview) .app-shell .shared-navigation .app-modes{padding-block:0}
body.shared-shell:not(.shell-preview)>main{margin-top:0!important;flex:1!important;min-height:0!important}
body.shared-shell:not(.shell-preview)>main:not(.facade-main):not(.custom-main){max-width:none!important;width:100%!important;box-sizing:border-box;padding:8px 12px!important;overflow:auto!important}
@media(max-width:760px){
 body.shared-shell:not(.shell-preview) .app-shell header.top{height:auto!important;flex-wrap:wrap;padding:6px 12px!important;gap:5px 12px!important}
 body.shared-shell:not(.shell-preview) .shell-identity{flex:1 1 auto;flex-wrap:wrap}
 body.shared-shell:not(.shell-preview) .app-shell .app-editions{flex-wrap:wrap}
 body.shared-shell:not(.shell-preview) .shell-actions{flex:1 1 180px}
 body.shared-shell:not(.shell-preview) .app-shell .shared-navigation{height:auto!important;flex-wrap:wrap}
}
