/* Bozo's Website App v2.7: only the plugin's own dashboard and native bar. */
body.bwa-mobile3 .bwa-app-toolbar-native{
  border-radius:16px 16px 0 0;
  box-shadow:0 -5px 22px rgba(7,29,57,.14);
  padding-bottom:calc(5px + env(safe-area-inset-bottom, 0px));
  touch-action:manipulation;
}
body.bwa-mobile3 .bwa-app-toolbar-native :is(a,button){
  -webkit-tap-highlight-color:transparent;
  min-height:53px;
  transition:background-color .18s ease, color .18s ease;
}
body.bwa-mobile3 .bwa-app-toolbar-native [aria-current="page"]{
  box-shadow:inset 0 -3px 0 var(--bwa-mobile-accent,#13609c);
  font-weight:800;
}
body.bwa-mobile3 .bwa-app-toolbar-native :is(a,button):focus-visible{
  outline:3px solid var(--bwa-native-accent,#13609c)!important;
  outline-offset:-2px;
}
body.bwa-mobile3[data-bwa-mobile-nav-density="compact"] .bwa-app-toolbar-native{padding-top:2px;padding-bottom:calc(3px + env(safe-area-inset-bottom,0px))}
body.bwa-mobile3[data-bwa-mobile-nav-density="compact"] .bwa-app-toolbar-native :is(a,button){min-height:44px;gap:2px;padding:3px 2px}
body.bwa-mobile3[data-bwa-mobile-nav-density="compact"] .bwa-app-toolbar-native .bwa-tab-icon{width:20px;height:20px}
body.bwa-mobile3[data-bwa-mobile-nav-labels="icons"] .bwa-app-toolbar-native :is(a,button)>span:not(.bwa-tab-icon){display:none!important}
@media(max-width:360px){body.bwa-mobile3[data-bwa-mobile-nav-labels="auto"] .bwa-app-toolbar-native :is(a,button)>span:not(.bwa-tab-icon){display:none!important}}
/* Theme override is deliberately scoped to Bozo's app bar, not the website theme. */
body.bwa-mobile3[data-bwa-mobile-theme="dark"]{
  --bwa-native-bg:#13253a;--bwa-native-ink:#f7f9fc;
  --bwa-native-border:#50677c;--bwa-native-accent:#ffe08a;
  --bwa-native-active-bg:#29415d;
}
body.bwa-mobile3[data-bwa-mobile-theme="light"]{
  --bwa-native-bg:#fff;--bwa-native-ink:#172b42;
  --bwa-native-border:#b8cbdc;--bwa-native-accent:#155f95;
  --bwa-native-active-bg:#e5f2fc;
}
body.bwa-mobile3[data-bwa-mobile-theme="dark"] .bwa-app-toolbar-native,
body.bwa-mobile3[data-bwa-mobile-theme="light"] .bwa-app-toolbar-native{
  background:var(--bwa-native-bg)!important;color:var(--bwa-native-ink)!important;
}
body.bwa-mobile3[data-bwa-mobile-theme="dark"] .bwa-app-toolbar-native :is(a,button),
body.bwa-mobile3[data-bwa-mobile-theme="light"] .bwa-app-toolbar-native :is(a,button){color:var(--bwa-native-ink)!important}
body.bwa-mobile3[data-bwa-mobile-theme="dark"] .bwa-app-toolbar-native [aria-current="page"],
body.bwa-mobile3[data-bwa-mobile-theme="light"] .bwa-app-toolbar-native [aria-current="page"]{
  color:var(--bwa-native-accent)!important;background:var(--bwa-native-active-bg)!important;
}
/* Quick actions are part of the dashboard flow, never floating buttons. */
#bwa-app-home .bwa-home-quick-actions{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;
  margin:0 0 18px;max-width:720px;
}
#bwa-app-home .bwa-home-quick-actions :is(a,button){
  display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;
  min-width:0;min-height:65px;padding:10px 7px;
  border-radius:14px;border:1px solid var(--bwa-home-outline);
  background:var(--bwa-home-surface)!important;color:var(--bwa-home-text)!important;
  text-decoration:none!important;font:750 12px/1.25 system-ui,sans-serif;
  text-align:center;cursor:pointer;
}
#bwa-app-home .bwa-home-quick-actions .bwa-quick-symbol{
  display:block;font-size:23px;line-height:1;font-weight:850;color:var(--bwa-home-text);
}
#bwa-app-home .bwa-home-quick-actions :is(a,button):active{background:var(--bwa-home-feature)!important}
#bwa-app-home .bwa-home-quick-actions :is(a,button):focus-visible{outline:3px solid #167fb0!important;outline-offset:2px}
#bwa-app-home .bwa-home-scroll{padding-top:max(14px,env(safe-area-inset-top,0px));padding-bottom:max(25px,env(safe-area-inset-bottom,0px))}
#bwa-app-home[data-mobile-density="compact"] .bwa-home-module-grid{gap:9px}
#bwa-app-home[data-mobile-density="compact"] .bwa-home-module{padding:12px;border-radius:13px}
#bwa-app-home[data-mobile-density="compact"] .bwa-home-feature{padding:9px;min-height:110px}
#bwa-app-home[data-mobile-density="compact"] .bwa-home-subtitle{margin:7px 0 9px}
#bwa-app-home[data-mobile-density="compact"] .bwa-home-shortcut img{width:48px;height:48px}
@media(min-width:900px) and (max-width:1250px){
  #bwa-app-home[data-tablet-layout="wide"] .bwa-home-module-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(min-width:700px) and (max-width:1150px){
  #bwa-app-home[data-tablet-layout="single"] .bwa-home-module-grid{grid-template-columns:1fr;max-width:720px;margin-inline:auto}
  #bwa-app-home[data-tablet-layout="wide"] .bwa-home-museum-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:480px){
  #bwa-app-home .bwa-home-topbar{display:flex;flex-direction:column;gap:10px;align-items:stretch}
  #bwa-app-home .bwa-home-header-actions{justify-content:flex-start;margin:0}
  #bwa-app-home .bwa-home-header-actions .bwa-home-website{min-height:44px;padding:9px 13px}
  #bwa-app-home .bwa-home-subtitle{font-size:13px;line-height:1.5}
  #bwa-app-home .bwa-home-museum-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  #bwa-app-home .bwa-home-feature{min-height:118px}
  #bwa-app-home .bwa-home-shortcut{min-height:84px}
}
@media(max-width:335px){#bwa-app-home .bwa-home-quick-actions{gap:5px}#bwa-app-home .bwa-home-quick-actions :is(a,button){font-size:11px;padding:8px 4px}}
@media(prefers-reduced-motion:reduce){body.bwa-mobile3 .bwa-app-toolbar-native *{transition:none!important}}
@media(forced-colors:active){
  #bwa-app-home .bwa-home-quick-actions :is(a,button),
  body.bwa-mobile3 .bwa-app-toolbar-native [aria-current="page"]{forced-color-adjust:auto;border:1px solid ButtonText}
}

#bwa-app-home .bwa-home-quick-actions .bwa-quick-icon{width:23px;height:23px;display:block;stroke:currentColor}
