/* FL Buddy v87: mobile dashboard cleanup. Desktop untouched. */
@media(max-width:760px){
 body.flb7-workspace .flb7-globalbar{grid-template-columns:minmax(0,1fr) auto!important;column-gap:8px!important;row-gap:10px!important}
 body.flb7-workspace .flb7-mobile-identity{min-width:0!important}
 body.flb7-workspace .flb7-mobile-identity img:first-child{object-fit:cover;border-radius:11px}
 body.flb7-workspace .flb7-header-controls{grid-column:2;grid-row:1;display:flex;align-items:center;gap:5px;justify-self:end;min-width:0}
 body.flb7-workspace .flb7-header-controls>button{position:relative!important;inset:auto!important;margin:0!important;display:grid!important;place-items:center!important;width:39px!important;height:42px!important;min-width:39px!important;max-width:39px!important;padding:0!important;flex:0 0 39px!important;border:1px solid var(--flb-light-line, rgba(139,186,194,.24))!important;border-radius:13px!important;background:rgba(255,255,255,.035)!important;color:inherit!important}
 body.flb7-workspace .flb7-header-controls svg{width:19px;height:19px}
 body.flb7-workspace .flb7-header-controls .cockpit-customize-trigger span{display:none!important}
 body.flb7-workspace .flb7-globalbar>.flb7-event-bell{display:none!important}
 body.flb7-workspace .flb7-globalbar .flb7-search{grid-row:2;grid-column:1/-1}
 body.flb7-workspace .flb7-quick-trigger{display:none!important}
 body.flb7-workspace #flbSystemStatusButton{display:none!important}
 body.flb7-workspace #page-cockpit>.topbar{padding:14px 0 8px!important;display:block!important;margin:0!important}
 body.flb7-workspace #page-cockpit>.topbar>div:first-child{margin:0!important;padding:0!important;transform:none!important;text-align:left!important;width:100%!important}
 body.flb7-workspace #page-cockpit>.topbar .top-actions{display:none!important}
 body.flb7-workspace #page-cockpit>.topbar h1{margin:5px 0 8px!important}
 body.flb7-workspace #page-cockpit .hero-card{display:none!important}
 body.flb7-workspace #page-cockpit .cockpit-v8-grid>.schedule-panel{margin-top:12px!important}
 body.flb7-workspace #page-cockpit .cockpit-config-popover{position:fixed!important;top:calc(env(safe-area-inset-top, 0px) + 80px)!important;left:12px!important;right:12px!important;width:auto!important;max-height:75dvh;overflow:auto;z-index:1000!important}
 body.flb7-workspace #page-cockpit{padding-bottom:calc(110px + env(safe-area-inset-bottom,0px))!important}
}

/* v87: Begrüßung auf Mobilgeräten wieder als eigene, hellere Fläche. */
@media (max-width:760px){
  body.flb7-workspace #page-cockpit > .topbar{
    background:linear-gradient(135deg,var(--flb-light-teal-soft, rgba(22,96,103,.50)),var(--flb-light-teal-soft, rgba(23,78,83,.28)))!important;
    border:1px solid var(--flb-light-outline, rgba(111,199,197,.24))!important;
    border-radius:19px!important;
    padding:18px 16px 17px!important;
    margin:10px 0 18px!important;
    box-shadow:0 8px 24px rgba(0,0,0,.10)!important;
  }
  body.flb7-workspace #page-cockpit > .topbar > div:first-child{
    padding:0!important;margin:0!important;max-width:100%!important;
  }
  body.flb7-workspace #page-cockpit > .topbar h1{line-height:1.2!important;}
}
