/* One shared brand/navigation bar, with a compact disclosure on narrow screens. */
body .masthead.site-masthead{position:sticky;top:0;z-index:40;background:#142018;display:block}
body .masthead.site-masthead .header{position:relative;display:flex;align-items:center;justify-content:flex-start;flex-direction:row;flex-wrap:nowrap;gap:20px;height:60px;min-height:60px;padding:4px 0;width:calc(100% - 32px);max-width:1360px;margin:0 auto}
body .masthead.site-masthead .header .brand{order:0;flex:0 0 190px;display:flex;justify-content:flex-start;margin:0 auto 0 0}
body .masthead.site-masthead .header .brand img{width:190px;height:auto;max-height:48px;object-fit:contain}
body .masthead.site-masthead .header .site-main-nav{order:1;position:static;display:flex;flex:none;align-items:center;gap:20px!important;min-height:0;margin:0;padding:0;background:none;border:0;white-space:nowrap}
body .masthead.site-masthead .site-main-nav a{font-size:14px;line-height:1.3;padding:10px 6px;min-height:40px;display:flex;align-items:center}
body .masthead.site-masthead .header .compact{order:2;flex:none;width:auto;min-height:40px;margin:0;padding:9px 14px;font-size:13px}
body .site-menu-toggle{display:none}
body main>.crumb{display:none}
.editor-mode.compact-workspace>.site-masthead{display:block;height:52px}
.editor-mode.compact-workspace>.site-masthead .header{height:52px;min-height:52px}
.editor-mode.compact-workspace>.site-masthead .brand{flex-basis:160px}
.editor-mode.compact-workspace>.site-masthead .brand img{width:160px;max-height:44px}
.editor-mode.compact-workspace>main.wrap{height:calc(100dvh - 52px);max-height:calc(100dvh - 52px)}
.compact-workspace .workspace-home{display:none}
.compact-workspace main>.workspace-actions #back-catalog{margin-right:auto}
@media(max-width:760px){
 body .masthead.site-masthead .header{height:56px;min-height:56px;width:calc(100% - 24px);gap:8px}
 body .masthead.site-masthead .header .brand{flex:0 1 130px;min-width:86px;margin-right:auto}
 body .masthead.site-masthead .header .brand img{width:130px;max-width:100%;max-height:44px}
 body .masthead.site-masthead .header .compact{font-size:12px;padding:8px 10px;min-height:44px}
 body .masthead.site-masthead .header .compact span{display:none}
 body .masthead.site-masthead .site-menu-toggle{display:block;order:3;min-height:44px;padding:8px 12px;border:1px solid #87917d;border-radius:5px;background:#203027;color:#f4ecdc;font:inherit;font-size:13px;flex:none}
 body .masthead.site-masthead .header .site-main-nav{display:none;position:absolute;top:100%;left:0;right:0;z-index:50;flex-direction:column;align-items:stretch;padding:12px;background:#17271d;border:1px solid #7b896d;border-radius:0 0 8px 8px;gap:4px!important}
 body .masthead.site-masthead.site-menu-open .header .site-main-nav{display:flex}
 body .masthead.site-masthead .site-main-nav a{min-height:44px;padding:10px 14px}
 .editor-mode.compact-workspace>.site-masthead{height:56px}
 .editor-mode.compact-workspace>.site-masthead .header{height:56px;min-height:56px}
 .editor-mode.compact-workspace>.site-masthead .brand{flex-basis:130px}
 .editor-mode.compact-workspace>main.wrap{height:calc(100dvh - 56px);max-height:calc(100dvh - 56px)}
}

.site-masthead .brand,.automation-workspace-brand{position:relative}
.brand-home-label{position:absolute;right:4px;bottom:2px;display:flex;align-items:center;gap:3px;color:#f0d9ad;font:9px/1 Arial,sans-serif;white-space:nowrap;pointer-events:none}
.brand-home-label i{display:inline-block;width:5px;height:5px;border:1px solid currentColor;border-radius:50%}
body .site-menu-toggle[hidden]{display:none!important}
.screen-controls.with-site-nav{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:14px;height:44px}
.screen-controls.with-site-nav>.screen-hint,.screen-controls.with-site-nav>.showcase-total{grid-column:1;grid-row:1;margin:0;justify-self:start}
.screen-page-navigation{grid-column:2;grid-row:1;display:flex;align-items:center;justify-content:center;gap:14px}
.screen-bottom-actions{grid-column:3;grid-row:1;display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0}
.screen-controls .screen-site-links{display:flex;align-items:center;gap:8px;margin:0;padding:0;background:none;border:0;position:static;min-height:0}
.screen-controls .screen-site-links a,.screen-bottom-actions .screen-reading{display:flex;align-items:center;justify-content:center;min-height:32px;padding:4px 9px;border:1px solid #718368;border-radius:5px;background:transparent;color:#e8e7df;font:12px/1.2 Arial,sans-serif;text-decoration:none;white-space:nowrap;margin:0}
.screen-controls .screen-site-links a:focus-visible{outline:2px solid #e8c98e;outline-offset:2px}
@media(max-width:999px){
 body.bottom-site-navigation{padding-bottom:90px}
 .screen-controls.with-site-nav{height:90px;grid-template-columns:1fr;grid-template-rows:32px 32px 14px;gap:3px;padding:3px 8px}
 .screen-controls.with-site-nav>.screen-hint,.screen-controls.with-site-nav>.showcase-total{grid-column:1;grid-row:3;justify-self:center;font-size:10px;line-height:14px}
 .screen-page-navigation{grid-column:1;grid-row:1;gap:12px}
 .screen-bottom-actions{grid-column:1;grid-row:2;justify-content:center;gap:6px}
 .screen-controls .screen-site-links{gap:6px}
 .screen-controls .screen-site-links a,.screen-bottom-actions .screen-reading{font-size:11px;padding:4px 8px}
}
