/* Shared header only. Screen-only: no slide, preview or export selectors. */
.site-header{position:sticky;top:0;z-index:40;display:grid;grid-template-columns:auto minmax(0,1fr) minmax(160px,230px) 44px;grid-template-rows:auto;align-items:center;justify-content:stretch;gap:14px;height:auto;min-height:88px;padding:8px 24px;background:var(--cs-surface,#fffefb)}
.site-header>.site-logo{grid-column:1;grid-row:1;min-width:0}
.site-header>.site-logo img{width:200px;height:68px;max-width:100%;object-fit:contain}
.site-header>.site-nav{grid-column:2;grid-row:1;position:static;display:flex;flex-direction:row;justify-content:center;justify-self:stretch;align-items:center;flex-wrap:nowrap;width:auto;max-height:none;overflow:visible;padding:0;gap:2px;border:0;border-radius:0;background:transparent;box-shadow:none}
.site-header>.site-nav.is-collapsed{display:none}
.site-header .site-nav>a,.site-header .site-nav .account-link,.site-header .nav-library-toggle{font-size:12px;padding:11px 9px;margin:0;max-width:none;white-space:nowrap}
.site-header .nav-library{width:auto}
.site-header .nav-library-menu{position:absolute;top:100%;left:0;min-width:270px;width:max-content;max-width:calc(100vw - 32px);box-shadow:0 10px 30px #183a2526}
.site-header>.header-profile-search{grid-column:3;grid-row:1;width:100%;min-width:0;height:42px}
.site-header .header-profile-search input{font-size:13px;padding:10px 8px}
.site-header>.nav-toggle{display:block;grid-column:4;grid-row:1;width:44px;height:44px;flex:none}
@media(max-width:1199px){
 .site-header{grid-template-columns:auto minmax(0,1fr) 44px;gap:12px;padding:8px 16px;min-height:80px;max-height:100dvh;overflow-y:auto}
 .site-header>.site-logo img{width:170px;height:58px}
 .site-header>.header-profile-search{grid-column:2;grid-row:1;max-width:340px;justify-self:end}
 .site-header>.nav-toggle{grid-column:3}
 .site-header>.site-nav{display:none;grid-column:1/-1;grid-row:2;flex-direction:column;align-items:stretch;width:100%;padding:10px 0 14px;gap:4px}
 .site-header>.site-nav.is-open{display:flex}
 .site-header .site-nav>a,.site-header .site-nav .account-link,.site-header .nav-library-toggle{font-size:14px;padding:12px 14px;white-space:normal}
 .site-header .nav-library{width:100%}
 .site-header .nav-library-toggle{width:100%;justify-content:space-between}
 .site-header .nav-library-menu{position:static;width:100%;min-width:0;max-width:none;box-shadow:none}
}
@media(max-width:500px){
 .site-header{padding:8px 10px;gap:8px;grid-template-columns:86px minmax(0,1fr) 40px;min-height:66px}
 .site-header>.site-logo img{width:86px;height:42px}
 .site-header>.header-profile-search{height:40px}
 .site-header .header-profile-search input{padding:9px 6px;font-size:12px}
 .site-header .header-profile-search button{flex-basis:32px;width:32px;height:38px;padding:6px}
 .site-header>.nav-toggle{width:40px;height:40px}
}
