.mobile-nav-toggle{display:none}
.mobile-nav-dialog{position:fixed;inset:0 0 0 auto;width:min(340px,calc(100vw - 32px));max-width:none;height:100vh;height:100dvh;max-height:none;margin:0;padding:max(24px,env(safe-area-inset-top)) 20px max(24px,env(safe-area-inset-bottom));border:0;border-radius:22px 0 0 22px;background:#fff;color:#443b41;box-shadow:-12px 0 48px #38242d12;font-family:Pretendard,-apple-system,BlinkMacSystemFont,'Apple SD Gothic Neo',sans-serif;text-align:left;overflow-y:auto;overscroll-behavior:contain;box-sizing:border-box}
.mobile-nav-dialog[open]{display:flex;flex-direction:column;animation:mobile-menu-in .25s cubic-bezier(.2,.8,.2,1) both}
.mobile-nav-dialog::backdrop{background:#342b343d;backdrop-filter:blur(3px);animation:mobile-backdrop-in .2s ease both}
.mobile-nav-dialog.is-closing{animation:mobile-menu-out .18s ease-in both}
.mobile-nav-dialog.is-closing::backdrop{animation:mobile-backdrop-out .18s ease-in both}
.mobile-nav-dialog a{color:inherit;text-decoration:none}
.mobile-nav-dialog button{font:inherit;cursor:pointer}
.mobile-nav-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:28px;flex-shrink:0}
.mobile-nav-top h2{margin:0 0 0 8px;font-size:17px;line-height:26px;font-weight:600;letter-spacing:-.4px}
.mobile-nav-close{display:grid;place-items:center;width:40px;height:40px;padding:0;border:0;border-radius:12px;background:#faf8f9;color:#97868e;flex-shrink:0}
.mobile-nav-close svg{width:20px;height:20px}
.mobile-nav-close:hover{background:#f4eff1;color:#70525e}
.mobile-nav-account{margin-bottom:24px}
.mobile-nav-profile{display:flex;align-items:center;gap:11px;padding:16px 12px;border-radius:15px;background:#faf7f8}
.mobile-nav-avatar{display:grid;place-items:center;width:38px;height:38px;flex-shrink:0;border-radius:13px;background:#f3e5e8;color:#b3737f;font-size:14px;font-weight:600}
.mobile-nav-identity{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1}
.mobile-nav-identity strong{font-size:14px;line-height:20px;font-weight:600;overflow-wrap:anywhere}
.mobile-nav-identity>span{color:#a19199;font-size:11px;line-height:18px;overflow-wrap:anywhere}
.mobile-nav-profile-more{display:flex;align-items:center;gap:3px;font-size:10px;line-height:18px;color:#a48e98;white-space:nowrap}
.mobile-nav-profile-more svg{width:12px;height:12px}
.mobile-nav-links{display:flex;flex-direction:column;gap:8px}
.mobile-nav-link{display:flex;align-items:center;gap:13px;width:100%;padding:18px 12px;border:0;border-radius:14px;background:transparent;text-align:left;color:#62535c;min-height:78px}
.mobile-nav-link[aria-current="page"]{background:#fcf1f2;color:#b55d6c}
.mobile-nav-link:hover{background:#faf6f7}
.mobile-nav-icon{display:grid;place-items:center;flex-shrink:0;width:24px;color:#a7919b}
.mobile-nav-icon svg{width:22px;height:22px}
.mobile-nav-link[aria-current="page"] .mobile-nav-icon{color:#bd7a86}
.mobile-nav-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:5px}
.mobile-nav-label{font-size:15px;line-height:22px;font-weight:550;letter-spacing:-.25px}
.mobile-nav-description{font-size:11px;line-height:18px;font-weight:400;color:#a1929b;word-break:keep-all;letter-spacing:-.15px}
.mobile-nav-arrow{color:#c3b6bc;display:flex}.mobile-nav-arrow svg{width:14px;height:14px}
.mobile-nav-footer{margin-top:auto;padding:32px 8px 0;flex-shrink:0}
.mobile-nav-auth{display:flex;gap:8px}
.mobile-nav-login,.mobile-nav-signup{display:flex;flex:1;justify-content:center;align-items:center;min-height:45px;border:1px solid #eadfe3;border-radius:12px;font-size:13px;font-weight:550}
.mobile-nav-auth .mobile-nav-signup{background:#df3e43;border-color:#df3e43;color:#fff}
.mobile-nav-logout{padding:10px 0;min-height:44px;border:0;background:none;font-size:12px!important;color:#9d8b95}
.mobile-nav-logout:disabled{opacity:.5;cursor:wait}
.mobile-nav-note{margin:20px 0 0;font-size:10px;line-height:18px;color:#c1b3ba;letter-spacing:-.1px}
.mobile-nav-error{font-size:12px;line-height:20px;color:#af6473}
.mobile-nav-dialog :focus-visible{outline:2px solid #c58c99;outline-offset:3px}
body.mobile-nav-open{overflow:hidden}
@media(min-width:701px) and (max-width:1050px){
 body.mobile-nav-ready>header{height:72px;min-height:72px;flex-wrap:nowrap;gap:14px;padding:0 16px}
 body.mobile-nav-ready>header .brand{width:108px;height:33px;margin-block:0}
 body.mobile-nav-ready>header .brand img{width:158.4px;height:158.4px;left:calc(50% - 1.53px)}
 body.mobile-nav-ready>header .header-menu{order:0;flex-basis:auto;flex-shrink:0;width:auto;margin-left:0;padding:0;gap:14px}
 body.mobile-nav-ready>header .header-menu>a,body.mobile-nav-ready>header .header-menu>button{font-size:13px}
 body.mobile-nav-ready>header .header-actions{margin:0 0 0 auto;gap:6px}
 body.mobile-nav-ready>header .notification-button{width:36px;height:36px}
 body.mobile-nav-ready>header .profile-link{gap:6px;padding:5px 6px;font-size:12px}
 body.mobile-nav-ready>header .profile-avatar{width:30px;height:30px}
 body.mobile-nav-ready>header .profile-label{max-width:64px}
}
@media(max-width:700px){
 body.mobile-nav-ready>header{min-height:68px;height:68px;flex-wrap:nowrap;gap:8px;padding:0 16px}
 body.mobile-nav-ready>header .brand{margin:0;flex-shrink:0}
 body.mobile-nav-ready>header .header-menu{display:none}
 body.mobile-nav-ready>header .header-actions{margin:0 0 0 auto;gap:0}
 body.mobile-nav-ready>header .header-actions .login,body.mobile-nav-ready>header .header-actions .small-cta,body.mobile-nav-ready>header .profile-container{display:none}
 body.mobile-nav-ready>header .notification-button{width:40px;height:40px}
 .mobile-nav-ready .mobile-nav-toggle{display:grid;place-items:center;width:40px;height:40px;flex-shrink:0;padding:0;border:0;border-radius:11px;background:transparent;color:#796971;cursor:pointer}
 .mobile-nav-toggle svg{width:23px;height:23px}
 .mobile-nav-toggle:hover{background:#faf5f7;color:#a76a7b}
 .mobile-nav-toggle:focus-visible{outline:2px solid #c58c99;outline-offset:2px}
 body.mobile-nav-ready .notification-panel{right:-48px}
}
@keyframes mobile-menu-in{from{opacity:.7;transform:translateX(32px)}to{opacity:1;transform:translateX(0)}}
@keyframes mobile-menu-out{to{opacity:0;transform:translateX(32px)}}
@keyframes mobile-backdrop-in{from{opacity:0}to{opacity:1}}
@keyframes mobile-backdrop-out{to{opacity:0}}
@media(prefers-reduced-motion:reduce){.mobile-nav-dialog[open],.mobile-nav-dialog.is-closing,.mobile-nav-dialog::backdrop,.mobile-nav-dialog.is-closing::backdrop{animation:none}}

.header-menu [hidden],.mobile-nav-link[hidden]{display:none!important}

/* Text enlargement and long menus use the same accessible drawer when space runs out. */
body.mobile-nav-ready.mobile-nav-overflow>header{flex-wrap:nowrap;gap:8px}
body.mobile-nav-ready.mobile-nav-overflow>header .header-menu{display:none}
body.mobile-nav-ready.mobile-nav-overflow>header .header-actions{margin:0 0 0 auto;gap:0}
body.mobile-nav-ready.mobile-nav-overflow>header .header-actions .login,body.mobile-nav-ready.mobile-nav-overflow>header .header-actions .small-cta,body.mobile-nav-ready.mobile-nav-overflow>header .profile-container{display:none}
body.mobile-nav-ready.mobile-nav-overflow>header .notification-button{width:40px;height:40px}
.mobile-nav-ready.mobile-nav-overflow .mobile-nav-toggle{display:grid;place-items:center;width:40px;height:40px;flex-shrink:0;padding:0;border:0;border-radius:11px;background:transparent;color:#796971;cursor:pointer}
.mobile-nav-overflow .mobile-nav-toggle svg{width:23px;height:23px}
.mobile-nav-overflow .mobile-nav-toggle:hover{background:#faf5f7;color:#a76a7b}
.mobile-nav-overflow .mobile-nav-toggle:focus-visible{outline:2px solid #c58c99;outline-offset:2px}
body.mobile-nav-ready.mobile-nav-overflow .notification-panel{right:-48px}

/* Shared beta badge for desktop navigation and mobile menu. */
.nav-beta{display:inline-flex;align-items:center;vertical-align:middle;margin-left:4px;padding:0;border:0;border-radius:0;background:transparent;color:#c35b60;font-family:inherit;font-size:8px;font-weight:500;line-height:12px;letter-spacing:.1px}
.mobile-nav-label .nav-beta{margin-left:7px;vertical-align:2px}

/* Materials stays in desktop navigation only. */
@media(max-width:700px){.mobile-nav-dialog .mobile-nav-link[href$="/materials.html"]{display:none}}
