/* v171: one shared edge alignment for the header and workspace. */
:root{--mc-page-gutter:32px}
.site-header .site-header-inner,.site-header-inner,.head-inner{
 width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;
 padding:0 max(var(--mc-page-gutter),env(safe-area-inset-right)) 0 max(var(--mc-page-gutter),env(safe-area-inset-left))!important;
 display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;grid-template-rows:80px!important;min-height:80px!important;height:auto!important;
 column-gap:40px!important;align-items:center!important;position:relative!important;box-sizing:border-box!important;
}
.site-header .site-brand,.site-header .brand,.head-inner .brand{grid-column:1!important;grid-row:1!important;justify-self:start!important}
.site-header .site-nav,.site-header .nav-links,.head-inner .nav{
 grid-column:2!important;grid-row:1!important;justify-self:start!important;justify-content:flex-start!important;
 width:auto!important;min-width:0!important;gap:24px!important;overflow:visible!important;
}
.site-header .site-actions,.site-header .header-actions,.head-inner .header-actions{grid-column:3!important;grid-row:1!important;justify-self:end!important;min-width:0}
.mc-menu-toggle{display:none}
body.mc-dashboard main,body.view-public-space main{
 width:100%!important;max-width:none!important;min-width:0!important;box-sizing:border-box;
 margin:0!important;padding-left:max(var(--mc-page-gutter),env(safe-area-inset-left))!important;
 padding-right:max(var(--mc-page-gutter),env(safe-area-inset-right))!important;
}
body.mc-dashboard .topline,body.mc-dashboard .space-navigation,body.mc-dashboard #dashboardViewport{min-width:0;max-width:100%}
body.mc-dashboard .space-tabs{width:100%;min-width:0;box-sizing:border-box}
body.mc-dashboard .space-tools{justify-content:flex-start}
@media(min-width:701px){body.mc-dashboard main{padding-top:24px!important}}
@media(min-width:701px) and (max-width:1000px){
 :root{--mc-page-gutter:24px}
 .site-header .site-header-inner,.site-header-inner,.head-inner{column-gap:24px!important}
 .site-header .site-nav,.site-header .nav-links,.head-inner .nav{gap:16px!important}
}
@media(max-width:700px){
 :root{--mc-page-gutter:14px}
 .site-header{display:block!important;padding:0!important;min-height:68px!important;height:auto!important}
 .site-header .site-header-inner,.site-header-inner,.head-inner{
  grid-template-columns:minmax(0,1fr) 40px auto!important;grid-template-rows:68px!important;
  column-gap:6px!important;min-height:68px!important;height:auto!important;
 }
 .site-header .site-brand,.site-header .brand,.head-inner .brand{font-size:17px!important;gap:6px!important;white-space:nowrap}
 .site-header .site-brand>span:last-child,.site-header .brand>span:last-child,.head-inner .brand>span:last-child{display:inline!important}
 .mc-menu-toggle{display:grid;place-items:center;grid-column:2;grid-row:1;width:40px;height:44px;border:0;border-radius:9px;background:transparent;color:#514b59;cursor:pointer}
 .mc-menu-toggle svg{width:22px;height:22px;pointer-events:none}
 .mc-menu-toggle[aria-expanded=true]{background:#fff0ce}
 .site-header .site-nav,.site-header .nav-links,.head-inner .nav{
  display:none!important;position:absolute!important;inset:auto var(--mc-page-gutter) auto auto!important;top:100%!important;
  transform:none!important;grid-column:auto!important;grid-row:auto!important;z-index:50;width:210px!important;
  flex-direction:column!important;align-items:stretch!important;gap:2px!important;padding:8px!important;margin:0!important;
  border:1px solid #e9e4dc;border-radius:14px;background:#fffdf8;box-shadow:0 10px 30px #30263c17;
 }
 .mc-nav-open .site-nav,.mc-nav-open .nav-links,.mc-nav-open .nav{display:flex!important}
 .site-header .site-nav a,.site-header .nav-links a,.head-inner .nav a{display:flex!important;flex-direction:row!important;justify-content:flex-start!important;gap:12px!important;padding:10px 12px!important;min-height:44px!important;font-size:14px!important}
 .mc-nav-open .mc-nav-label{font-size:14px!important;margin:0!important}
 .mc-nav-open a:hover{background:#fff3d7;border-radius:8px}
 .site-header .site-actions,.site-header .header-actions,.head-inner .header-actions{gap:0!important}
 body.mc-dashboard main{padding-top:20px!important}
}
