.module-shell{display:flex;flex-direction:column;flex:1;min-width:0;min-height:0}
.module-nav{display:flex;flex-wrap:wrap;gap:8px;padding:12px 22px;flex-shrink:0;background:var(--mb-paper,#faf8f2);border-bottom:1px solid var(--mb-line,#d5dfd6)}
.module-nav[hidden]{display:none}
.module-nav button,.scenario-shortcuts button{font:inherit;font-size:15px;line-height:1.5;white-space:nowrap;padding:8px 16px;border:1px solid #cbd5c6;border-radius:4px;color:#314d41;background:#fcfaf3;cursor:pointer}
.module-nav button[aria-current=page]{background:#e5eadd;border-color:#4f7162;color:#203b2f;box-shadow:inset 0 -2px #4f7162;font-weight:600}
.module-nav button:focus-visible,.scenario-shortcuts button:focus-visible{outline:2px solid #4f7162;outline-offset:2px}
.module-shell>.page-shell{width:100%}
.module-shell .creation-hub-panel,.module-shell .dr-workspace{position:absolute;inset:0;z-index:21}
.module-shell .composer-heading+.creation-hub-tabs,.module-shell .creation-hub-panel[data-reference-key=medical]>.creation-hub-tabs,.module-shell .creation-hub-panel[data-reference-key=slim]>.creation-hub-tabs{display:none}
.scenario-shortcuts{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}
body.composing .scenario-shortcuts{display:none}
.rail-bottom #worksBtn{font:inherit;background:transparent;border:0;cursor:pointer}
.rail-bottom #worksBtn.active{background:#e5eadd;color:#314d41;border-left:2px solid #ab674b}
.side-rail .rail-item[data-key=article] span{white-space:normal;overflow-wrap:anywhere;max-width:100%;text-align:center}
@media(max-width:600px){.module-nav{gap:6px;padding:10px 12px}.module-nav button{font-size:14px;padding:8px 10px;flex:0 0 auto}.scenario-shortcuts button{font-size:14px}.module-shell{min-width:0}}
