/* Native selects need room for Persian ascenders/descenders, including Safari. */
html body select:not([multiple]){
  box-sizing:border-box!important;min-height:44px!important;height:auto!important;
  padding:6px 12px!important;padding-inline-end:32px!important;
  font-size:16px!important;line-height:1.6!important;max-width:100%;vertical-align:middle;
}
html body select[multiple]{min-height:100px;height:auto;line-height:1.6}
html body option{line-height:1.6}
.member-menu-toggle{display:none!important}
@media(max-width:760px){
 .member-menu-ready .member-menu-toggle{display:flex!important;align-items:center;justify-content:space-between;width:100%;min-height:46px;padding:8px 12px;margin-top:8px;font-size:14px;border:1px solid var(--line);border-radius:10px;background:var(--surface,#fffaf0);color:var(--sidebar-ink,#28462e)}
 .sidebar.member-menu-ready:not(.member-menu-open) nav{display:none}
 .sidebar.member-menu-ready nav{grid-template-columns:1fr;flex-direction:column;flex-wrap:nowrap;gap:4px;max-height:60vh;max-height:60dvh;overflow-y:auto;overscroll-behavior:contain}
 .sidebar nav a,.sidebar nav button,.sidebar nav form button{font-size:14px!important;line-height:1.6!important;min-height:44px;box-sizing:border-box;padding:9px 12px;width:100%;justify-content:flex-start}
 .sidebar .sidebar-identity{display:flex;align-items:center;justify-content:space-between}
 .sidebar .brand{display:flex;align-items:center;gap:8px}
 .sidebar .brand-logo{width:42px;height:42px;min-height:0;background-size:contain}
 .sidebar .brand-label{font-size:16px;margin:0}
 .sidebar .sidebar-profile img{width:40px;height:40px}
 .sidebar{padding:10px 12px}
}
