/* Phase 29: public module pages now use the homepage's clean top row — no extra navigation links. */
.m-header-inner{max-width:1240px;min-height:76px;justify-content:space-between}
.m-header .m-nav{display:none!important}
.m-header .m-top-search{max-width:510px;flex:1}
.m-header .m-actions{margin-left:auto;flex:0 0 auto}
.m-header .m-top-search input{font-size:13px}
.m-header .m-actions>a.m-shortcut{display:inline-flex;width:37px;height:37px;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:10px;color:var(--text);text-decoration:none;font-size:15px}
.m-header .m-actions>a.m-shortcut:hover{background:var(--soft)}
.m-header .m-module-panel{max-height:min(70vh,640px);overflow:auto}
.p29-paywall{margin:12px 20px;padding:20px;border:1px solid var(--line);border-radius:14px;background:var(--soft)}
.p29-paywall strong{font-size:15px}
@media(max-width:800px){.m-header-inner{min-height:64px}.m-header .m-top-search{display:flex!important;flex:1;min-width:60px}.m-header .m-actions{gap:6px}.m-header .m-brand img{width:120px}.m-header .m-actions>a.m-shortcut{display:none}.m-header .m-actions #m-theme{width:33px;height:33px}.m-header .m-user{max-width:80px}}
