.topbar .mobile-search-toggle{display:none}
@media(max-width:720px){
 .topbar .header-actions{justify-content:flex-end;gap:5px!important}
 .topbar .header-actions .search.mobile-search-ready{display:flex!important;position:static;flex:0 0 32px!important;width:32px!important;height:32px!important;padding:0!important;border-radius:50%;box-sizing:border-box}
 .topbar .search.mobile-search-ready>span{display:none}
 .topbar .search.mobile-search-ready .mobile-search-toggle{display:grid;place-items:center;width:100%;height:100%;padding:0;border:0;border-radius:50%;background:transparent;color:var(--text,#edf4fa);cursor:pointer}
 .mobile-search-toggle svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
 .topbar .search.mobile-search-ready input{display:none}
 .topbar .search.mobile-search-open input{display:block;position:absolute;top:calc(100% + 8px);left:14px;right:14px;width:calc(100% - 28px)!important;max-width:calc(100% - 28px)!important;height:44px;padding:10px 12px;border:1px solid var(--mo-border,#36576e);border-radius:12px;background:var(--mo-surface,#14283e);color:var(--text,#edf4fa);font-size:16px;box-shadow:0 8px 24px #0006;z-index:2}
 .topbar .header-actions :is(.calendar-header-link,.calendar-bell){flex:0 0 32px!important;width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;margin-right:0;padding:0;box-sizing:border-box}
 .topbar .header-actions :is(.calendar-header-link,.calendar-bell) svg{width:18px;height:18px}
 .topbar .mobile-search-toggle:focus-visible{outline:2px solid var(--mo-ice,#a9d5f2);outline-offset:3px}
}
@media(max-width:480px){
 .topbar .header-actions #account-label{display:none}
 .topbar .account-button{width:32px;min-height:32px;height:32px;padding:5px;justify-content:center}
 .topbar{column-gap:6px!important}
}

/* Touch: per Tipp geöffnetes Kategorie-Menü (mobile-header.js). */
.topbar .main-nav .nav-menu.is-open .menu{opacity:1;visibility:visible;transform:none}
/* Handy: feste Leiste unten (mobile-header.js). */
.mobile-tabbar{display:none}
@media(max-width:720px){
 .mobile-tabbar{position:fixed;z-index:60;left:0;right:0;bottom:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:4px max(8px,env(safe-area-inset-right,0px)) calc(4px + env(safe-area-inset-bottom,0px)) max(8px,env(safe-area-inset-left,0px));border-top:1px solid var(--mo-border,#2c4762);background:color-mix(in srgb,var(--bg,#0d1928) 94%,transparent);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
 .mobile-tab{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:52px;padding:4px 0;border:0;border-radius:10px;background:none;color:var(--muted,#aec0d0);font:600 11px/1.2 system-ui,sans-serif;text-decoration:none;cursor:pointer}
 .mobile-tab svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
 /* Theme-Regeln geben Knöpfen Hintergrund und Rahmen; hier sollen alle Einträge gleich aussehen. */
 html:root body .mobile-tabbar .mobile-tab.mobile-tab{background:none!important;border:0!important;box-shadow:none!important;color:var(--muted,#aec0d0)!important}
 html:root body .mobile-tabbar .mobile-tab.mobile-tab[aria-current="page"]{color:var(--mo-accent,#cd6b5b)!important}
 .mobile-tab:focus-visible{outline:2px solid var(--mo-accent,#cd6b5b);outline-offset:-2px}
 body.has-mobile-tabbar{padding-bottom:calc(64px + env(safe-area-inset-bottom,0px))}
}
