/* Shared worksheet shell — 1.1.1. Keep this stylesheet last.
   Navigation -> actions -> linked logo -> editor. All sizing is screen-only. */
/* Website editors use the same navigation and output-bar styles as the
   original five materials. Screen-only sizing never enters physical A4 output. */
@media screen {
 [data-worksheet-shell] .material-nav * {box-sizing:border-box}
 [data-worksheet-shell] .material-nav {
  box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;
  width:100%;max-width:960px;height:auto;margin:0 auto;padding:18px 24px;gap:12px;
 }
 body[data-website-material] .topbar.material-nav {
  width:100%;max-width:960px;height:auto;margin:0 auto;padding:18px 24px;
 }
 .website-material-brand {box-sizing:border-box;width:100%;max-width:1100px;margin:0 auto;padding:0 24px}
 .website-material-brand .hub-brand {display:inline-flex;align-items:center;gap:8px;text-decoration:none}
 .website-material-brand .hub-brand img:first-child {width:40px;height:40px;object-fit:contain}
 .website-material-brand .hub-brand img:last-child {width:100px;height:40px;object-fit:contain}
 body[data-website-material] .topbar #home {
  padding:10px 0;min-height:44px;font-size:14px;font-weight:700;color:#2a3f4c;
 }
 body[data-website-material] .topbar #info {
  width:44px;height:44px;font:italic 700 24px/1 Georgia,serif;
 }
 #actions .action-inner {display:contents}
 #actions .action-inner button {
  width:auto;height:auto;min-height:46px;border-radius:12px;
  font:650 15px/1.25 system-ui,-apple-system,sans-serif;
 }
 #actions #idea {width:auto;min-width:84px;font-style:italic}
 body[data-website-material] #app>.wrap {
  box-sizing:border-box;width:100%;max-width:1100px;min-width:0;
  margin:0 auto;padding:22px 24px 60px;
 }
 body[data-website-material] .editor-head>div:first-child {min-width:0}
 body[data-website-material] .editor-head h1 {overflow-wrap:anywhere}
 body[data-website-material] .material-symbol {margin-right:0}
 body[data-website-material] .workspace {min-width:0;align-items:center}
 body[data-website-material] .workspace>.paper {max-width:100%;flex:none}
 body[data-website-material]>.site-footer {
  box-sizing:border-box;width:100%;max-width:1100px;margin:0 auto;padding:20px 24px;
 }
 body[data-website-material] .idea-pop {
  right:max(14px,calc((100vw - 1112px)/2));
 }
}
@media screen and (max-width:620px) {
 [data-worksheet-shell] .material-nav {padding:15px 14px}
 body[data-website-material] .topbar.material-nav {padding:15px 14px}
 .website-material-brand {padding:0 14px}
 body[data-website-material] #app>.wrap {padding:12px 14px 35px}
 body[data-website-material]>.site-footer {padding:20px 14px}
 #actions #idea {min-width:0}
 body[data-website-material] .idea-pop {right:12px}
}

@media screen {
 /* The common linked brand replaces older decorative duplicates only. */
 [data-worksheet-shell] .ac-top .ac-brand,
 [data-worksheet-shell] .kh-top .kh-brand,
 [data-worksheet-shell] .story-brand,
 [data-worksheet-shell] .material-nav .material-parent-link {display:none}
}
@media print {.website-material-brand{display:none!important}}
