/* FL Buddy 7 · Mobile Fahrlehrer · Phase 8A */
@media (max-width: 760px){
  body.flb7-workspace{padding-bottom:calc(78px + env(safe-area-inset-bottom));}
  body.flb7-workspace .sidebar{display:none!important;}
  body.flb7-workspace .main-content{margin-left:0!important;width:100%!important;min-width:0!important;}
  body.flb7-workspace .mobile-menu-global{display:none!important;}
  body.flb7-workspace .flb7-globalbar{position:sticky;top:0;z-index:85;padding:10px 12px!important;min-height:58px;background:rgba(7,31,38,.96);backdrop-filter:blur(16px);}
  body.flb7-workspace .flb7-search{width:100%;min-width:0;}
  body.flb7-workspace .flb7-search input{font-size:16px;min-width:0;}
  body.flb7-workspace .flb7-search kbd{display:none;}
  body.flb7-workspace .flb7-global-spacer,body.flb7-workspace .flb7-user{display:none!important;}
  body.flb7-workspace .flb7-tabsbar{display:none!important;}
  body.flb7-workspace .page-view{padding-left:12px!important;padding-right:12px!important;padding-bottom:18px!important;}
  body.flb7-workspace .topbar{padding-top:12px;gap:10px;align-items:flex-start;}
  body.flb7-workspace .topbar h1{font-size:clamp(1.35rem,7vw,1.8rem);line-height:1.12;}
  body.flb7-workspace .top-actions{gap:7px;flex-wrap:wrap;justify-content:flex-end;}
  body.flb7-workspace .top-actions .online-pill,body.flb7-workspace .top-actions .cockpit-customize-trigger span{display:none;}
  body.flb7-workspace .hero-card{border-radius:18px;padding:18px!important;grid-template-columns:1fr!important;}
  body.flb7-workspace .hero-copy h2{font-size:1.45rem;}
  body.flb7-workspace .hero-stats{grid-template-columns:1fr 1fr!important;gap:8px!important;}
  body.flb7-workspace .hero-stats article{min-width:0;padding:12px!important;}
  body.flb7-workspace .hero-stats article.next{grid-column:1/-1;}
  body.flb7-workspace button,body.flb7-workspace .button{min-height:44px;}
  body.flb7-workspace .flb7-mobile-bottom{display:grid!important;}
  body.flb7-workspace .flb7-mobile-more{display:block;}
  body.flb7-workspace .modal-card,body.flb7-workspace .dialog-card{max-height:calc(100dvh - 92px);overflow:auto;}
  body.flb7-workspace table{font-size:13px;}
}
@media (min-width:761px){.flb7-mobile-bottom,.flb7-mobile-more{display:none!important;}}
.flb7-mobile-bottom{position:fixed;left:8px;right:8px;bottom:calc(8px + env(safe-area-inset-bottom));z-index:2147481000;grid-template-columns:repeat(5,1fr);gap:3px;padding:6px;border:1px solid rgba(130,210,203,.18);border-radius:19px;background:rgba(7,31,38,.97);box-shadow:0 14px 42px rgba(0,0,0,.38);backdrop-filter:blur(18px)}
.flb7-mobile-bottom button{appearance:none;border:0;background:transparent;color:#9db7bc;border-radius:14px;padding:7px 2px 6px;min-width:0;font:inherit;font-size:10px;font-weight:800;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;line-height:1.1}
.flb7-mobile-bottom button .ico{font-size:19px;line-height:1}
.flb7-mobile-bottom button.active{background:rgba(73,201,183,.13);color:#6fe0cf}
.flb7-mobile-more{position:fixed;inset:0;z-index:2147480900;background:rgba(1,12,16,.68);backdrop-filter:blur(5px)}
.flb7-mobile-more[hidden]{display:none!important}
.flb7-mobile-more-sheet{position:absolute;left:10px;right:10px;bottom:calc(86px + env(safe-area-inset-bottom));padding:14px;border-radius:20px;border:1px solid rgba(130,210,203,.2);background:#0a2932;box-shadow:0 22px 60px rgba(0,0,0,.5)}
.flb7-mobile-more-head{display:flex;align-items:center;justify-content:space-between;margin:2px 4px 12px}.flb7-mobile-more-head strong{font-size:16px}.flb7-mobile-more-head button{border:0;background:rgba(255,255,255,.06);color:inherit;border-radius:12px;width:42px;height:42px;font-size:22px}
.flb7-mobile-more-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.flb7-mobile-more-grid button{border:1px solid rgba(130,210,203,.14);background:rgba(255,255,255,.035);color:inherit;border-radius:15px;padding:14px 10px;text-align:left;font:inherit;font-weight:800;min-height:58px}.flb7-mobile-more-grid button small{display:block;color:#88a8ae;font-weight:600;margin-top:3px}
