/* Compact public/member navigation. Existing brand artwork and routes are retained. */
:root{--rail:232px;--rail-small:62px}
html body .site-header,html[data-theme] body .site-header{display:flex;min-height:68px;padding:6px 18px;gap:10px;flex-wrap:nowrap;row-gap:4px!important}
html body .site-header .brand-shell{width:176px;min-width:140px;flex:0 0 176px}
html body .site-header .top-navigation{order:0;flex:1 1 auto;gap:5px;padding:0;overflow:visible}
html body .site-header .top-navigation .nav-signature{width:128px;min-width:128px;min-height:44px}
html body .site-header .top-navigation .nav-signature:nth-child(2){width:148px;min-width:148px}
html body .site-header .top-navigation .nav-create{position:relative;width:206px;min-width:206px;min-height:48px;background-image:url('/assets/button-orange.png');padding-right:28px}
.site-header .header-create-arrow{position:absolute;right:15px;top:calc(50% - 9px);width:18px;height:18px;stroke-width:1.4}
html body .site-header .header-actions{order:0;flex:0 1 auto;width:auto;margin-left:auto;gap:6px;flex-wrap:nowrap!important;min-width:0}
html body .header-actions .icon-button{display:grid;width:44px;height:44px;min-height:44px;flex:0 0 44px}
html body .header-actions .account{width:clamp(174px,15vw,240px);min-width:150px;max-width:240px!important;min-height:46px!important;padding:5px 14px!important;font-size:14px!important}
html body .header-actions .account .member-display-name{font-size:14px;overflow:hidden;text-overflow:ellipsis}
html body .header-actions .account .member-avatar-image{width:30px!important;height:30px!important}
html body .header-actions .r4d-language{flex:none;margin:0}
html body .header-actions .r4d-language-button{min-width:44px;min-height:44px;height:44px}
html body .header-actions .member-storage-gauge{max-width:168px;font-size:11px;padding:3px 5px}
html body .header-actions .member-storage-gauge svg{width:40px;height:30px;flex-basis:40px}
html body .left-navigation{padding:6px 8px;border-radius:15px}
html body .left-navigation .sidebar-controls{margin:0 0 4px;gap:3px;min-height:44px}
html body .left-navigation .sidebar-mode{font:12px/1.25 var(--ui,Arial,sans-serif);white-space:nowrap}
html body .left-navigation .sidebar-link{padding:9px 8px;min-height:44px;gap:10px;font-size:12px;line-height:1.45}
html body .left-navigation .sidebar-notice{margin:10px 6px 0;padding-top:10px}
html body .left-navigation .sidebar-notice-copy p{margin-bottom:8px;line-height:1.5}
html body .left-navigation .sidebar-help{font:12px/1.4 var(--ui,Arial,sans-serif);margin:12px 6px}
#mobile-menu-open{display:none}
#navigation-drawer:not([open]){display:none}
@media(min-width:900px){
 body[data-menu-mode=auto] .left-navigation:not([data-expanded=true]) .sidebar-link{flex-direction:row;justify-content:center;padding:10px 0;gap:0}
 body[data-menu-mode=auto] .left-navigation:not([data-expanded=true]) .sidebar-label{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap!important}
 body[data-menu-mode=auto] .left-navigation:not([data-expanded=true]) .sidebar-link>svg{width:24px;height:24px}
 body[data-menu-mode=auto] .left-navigation:not([data-expanded=true]) .user-sidebar-section h2,
 body[data-menu-mode=auto] .left-navigation:not([data-expanded=true]) .user-sidebar-section>button{display:none}
 body[data-menu-mode=auto] .left-navigation:not([data-expanded=true]) .user-sidebar-section{margin:6px 0;padding-top:6px}
 body[data-menu-mode=auto] .left-navigation[data-expanded=true]{width:var(--rail);padding-inline:8px}
 body[data-menu-mode=auto] .left-navigation[data-expanded=true] .sidebar-caption{display:none}
 html body .left-navigation .sidebar-close{min-height:44px;min-width:44px}
}
@media(min-width:900px) and (max-width:1199px){
 html body .site-header,html[data-theme] body .site-header{display:grid;grid-template-columns:auto minmax(0,1fr);gap:2px 10px;padding:5px 12px}
 html body .site-header .header-actions{justify-self:end;max-width:100%}
 html body .site-header .top-navigation{grid-column:1/-1;justify-content:center}
 html body .header-actions .member-storage-gauge{max-width:150px}
}
@media(max-width:899px){
 html body .site-header,html[data-theme] body .site-header{padding:6px 10px;min-height:56px;gap:8px;flex-wrap:nowrap!important}
 html body .site-header .brand-shell{width:148px;min-width:100px;flex:0 1 148px}
 html body .site-header .top-navigation{display:none}
 html body .site-header .header-actions{flex:0 1 auto!important;width:auto;gap:5px}
 html body .header-actions .account{width:180px;min-width:120px;max-width:220px!important;font-size:13px!important}
 #mobile-menu-open{display:grid;position:relative;place-items:center;flex:0 0 44px;width:44px;height:44px;padding:4px;border:1.5px solid #ee801c;border-radius:10px;background:#fffdf8;color:#143859;overflow:hidden}
 .mobile-menu-symbol{display:grid;place-items:center;width:30px;height:30px}
 .mobile-menu-symbol svg{width:27px;height:27px}
 .mobile-menu-mark{position:absolute;right:1px;bottom:0;background:#fffdf8;border-radius:3px;padding:0 2px;font:11px/13px Arial,sans-serif}
 body.navigation-drawer-open{overflow:hidden}
 #navigation-drawer{position:fixed;inset:8px auto 8px 8px;margin:0;width:min(320px,calc(100vw - 16px));max-width:none;height:calc(100dvh - 16px);max-height:none;padding:0;overflow:auto;border:1px solid #ee801c;border-radius:16px;background:#fffdf8;color:#143859;box-shadow:4px 8px 28px #0a264140}
 #navigation-drawer::backdrop{background:#07182b80}
 #navigation-drawer>.popup-brand{display:none}
 html body #navigation-drawer .left-navigation{position:static;display:block;inset:auto;width:100%;height:auto;min-height:100%;margin:0;padding:8px 12px;border:0;border-radius:0;overflow:visible;box-shadow:none;background:#fffdf8}
 html body #navigation-drawer .sidebar-controls{display:flex!important;position:sticky;top:0;background:#fffdf8;z-index:1;min-height:44px;margin:0 0 6px}
 html body #navigation-drawer .sidebar-caption{display:block;font-size:14px}
 html body #navigation-drawer .sidebar-mode,html body #navigation-drawer .sidebar-help{display:none!important}
 html body #navigation-drawer .sidebar-close{display:block;min-width:44px;min-height:44px;margin-left:auto}
 html body #navigation-drawer nav{display:block;overflow:visible;padding:0}
 html body #navigation-drawer .sidebar-link{display:flex;flex-direction:row;justify-content:flex-start;gap:12px;font-size:13px;min-height:46px;padding:9px 8px;text-align:left;white-space:normal}
 html body #navigation-drawer .sidebar-label{display:block;white-space:normal}
 html body #navigation-drawer .sidebar-create-label{display:flex;align-items:flex-start}
 html body #navigation-drawer .sidebar-create-label>.create-second{justify-content:flex-start}
 html body #navigation-drawer .sidebar-link>svg{width:24px;height:24px}
 html body #navigation-drawer .sidebar-notice{display:block;margin:12px 8px 0}
 html body #navigation-drawer .sidebar-notice[hidden]{display:none!important}
 html body #navigation-drawer .sidebar-notice h2{font-size:12px}
}
@media(max-width:600px){
 html body .site-header,html[data-theme] body .site-header{display:grid;grid-template-columns:44px 44px minmax(0,1fr) 44px;gap:4px 6px!important;padding:5px 10px}
 #mobile-menu-open{grid-column:1;grid-row:1}
 html body .site-header .brand-shell{grid-column:2/4;grid-row:1;justify-self:start;width:142px;min-width:0;max-width:100%}
 html body .site-header .header-actions{display:contents}
 html body .header-actions>a.icon-button{grid-column:1;grid-row:2}
 html body .header-actions>#appearance-open{grid-column:2;grid-row:2}
 html body .header-actions .account{grid-column:3/5;grid-row:2;justify-self:stretch;min-width:0;width:100%;max-width:none!important;min-height:44px!important;font-size:13px!important;padding:4px 12px!important;gap:5px!important}
 html body .header-actions .account .member-display-name{font-size:13px}
 html body .header-actions .r4d-language{grid-column:4;grid-row:1;justify-self:end}
 html body .header-actions .member-storage-gauge{grid-column:1/-1;grid-row:3;justify-self:end;max-width:100%;margin:0;min-height:30px}
}
@media(prefers-reduced-motion:reduce){.mobile-menu-symbol,.left-navigation{animation:none!important;transition:none!important}}

/* The right column occupies the space freed by moving Create to the header. */
.homepage-hero .hero-introduction.intro-compact{display:block}
@media(min-width:900px){
 html body .homepage-hero .hero-inner.hero-grid{grid-template-columns:minmax(0,2.45fr) minmax(230px,1fr);grid-template-rows:auto auto auto auto;column-gap:20px;row-gap:10px;align-items:start}
 .homepage-hero .hero-introduction{grid-column:1;grid-row:1}
 .homepage-hero .hero-inner>.screen-layout{display:contents}
 .homepage-hero #home-screen{grid-column:1;grid-row:2;min-width:0}
 .homepage-hero .right-column{grid-column:2;grid-row:1/3;min-width:0;gap:12px}
 .homepage-hero [data-align-columns=true] .right-column{height:var(--home-column-height)!important}
 .homepage-hero [data-align-columns=true] .right-column .suggestions{display:flex;flex-direction:column;flex:1 1 auto!important;min-height:140px;overflow:hidden}
 .homepage-hero [data-align-columns=true] .suggestions-motion-heading{flex:none}
 .homepage-hero [data-align-columns=true] #public-suggestions.suggestions-moving{flex:1 1 auto;height:auto!important;min-height:0;max-height:none}
 .homepage-hero [data-align-columns=true] .ad-space{flex:0 0 auto}
 .homepage-hero #homepage-filmstrip{grid-column:1/-1;grid-row:3}
 .homepage-hero .hero-notes{grid-column:1/-1;grid-row:4}
 .homepage-hero .ad-space{padding:12px}
}
@media(min-width:900px) and (max-width:1199px){
 html body .homepage-hero .hero-inner.hero-grid{grid-template-columns:minmax(0,2fr) minmax(205px,1fr);column-gap:13px}
}
