/* bz-app: the phone app layer. Everything here is phones only; desktop is untouched. */
.bzt,.bzt-sh,.bzt-title,.lm-b{display:none}
@media (max-width:640px){
  /* header: logo, page title, nothing else */
  .bzn{height:56px!important;background:rgba(255,255,255,.94)!important;border-bottom:1px solid rgba(0,0,0,.06);box-shadow:none!important}
  .bzn-in{padding:0 16px!important;gap:12px!important}
  .bzn-logo img{width:30px!important;height:30px!important}
  .bzn-links,.bzn-sheet,.bzn-burger,.bzn-act>:not(.menu){display:none!important}.bzn-act{margin-left:auto}   /* bz-app3: the Docs Contents button stays on phones */
  .bzt-title{display:block;font:600 17px/1 Inter,system-ui,sans-serif;letter-spacing:-.01em;color:#111}
  /* no desktop chrome: footer, side curtains, the follow rail */
  footer.bzf,#sky,.rail,.bz-ht,#bgfx,p.back{display:none!important}
  body>main.pv-wrap,body>div.wrap{padding-top:72px!important}
  body{padding-bottom:calc(84px + env(safe-area-inset-bottom))!important}
  .wrap,.pv-wrap{padding-left:12px!important;padding-right:12px!important}
  /* cards: flat, rounded, app-like */
  .card,.xp-card{border-radius:16px!important;box-shadow:0 1px 2px rgba(0,0,0,.04)!important;border:1px solid rgba(0,0,0,.06)!important;overflow:hidden}
  .how{display:none}
  .sec{margin-top:26px!important}
  .sec-h h2{font-size:19px!important;letter-spacing:-.01em}
  .rows li a{min-height:64px}
  /* launch: a mode picked from the + sheet locks the form to it */
  .bz-mlock .step .modes,.bz-mlock .step:has(.modes)>p{display:none!important}
  .lm-b{display:none}
  .bz-mlock .lm-a{display:none}.bz-mlock .lm-b{display:inline}
  .lm-chg{margin-left:8px;border:0;background:none;padding:0;color:#888;font:500 14px Inter,system-ui,sans-serif;text-decoration:underline;cursor:pointer}

  /* tab bar: floating glass pill, launch in the middle (bz-tabs3) */
  .bzt{display:grid;grid-template-columns:repeat(5,1fr);align-items:center;position:fixed;left:12px;right:12px;bottom:calc(10px + env(safe-area-inset-bottom));z-index:9000;height:64px;padding:0 6px;border-radius:24px;background:rgba(255,255,255,.78);-webkit-backdrop-filter:blur(24px) saturate(180%);backdrop-filter:blur(24px) saturate(180%);border:1px solid rgba(255,255,255,.7);box-shadow:0 12px 32px rgba(17,17,17,.14),0 2px 6px rgba(17,17,17,.06),inset 0 1px 0 rgba(255,255,255,.9);font-family:Inter,system-ui,sans-serif;transition:transform .25s cubic-bezier(.2,.8,.2,1),opacity .2s}
  .bzt a,.bzt button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;height:100%;padding:0;border:0;background:none;color:#8e8e93;font:500 10.5px Inter,system-ui,sans-serif;letter-spacing:.01em;text-decoration:none;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:color .15s,transform .15s}
  .bzt a:active,.bzt button:active{transform:scale(.9)}
  .bzt svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
  .bzt .on{color:#111}.bzt .on svg{fill:currentColor;stroke-width:1.75}
  .bzt .on::after{content:"";position:absolute;bottom:7px;width:4px;height:4px;border-radius:50%;background:#1A5FF2}
  .bzt .on span{opacity:0}
  .bzt .bzt-go{color:#111}.bzt .bzt-go::after{display:none}
  .bzt .bzt-go i{display:grid;place-items:center;width:50px;height:50px;border-radius:17px;background:linear-gradient(180deg,#3d7dff 0%,#1A5FF2 100%);box-shadow:0 8px 20px rgba(26,95,242,.42),0 2px 4px rgba(26,95,242,.3),inset 0 1px 0 rgba(255,255,255,.35),inset 0 -1px 0 rgba(0,0,0,.12);transition:transform .2s cubic-bezier(.2,.8,.2,1),box-shadow .2s}
  .bzt .bzt-go i svg{width:22px;height:22px;stroke:#fff;stroke-width:2.6;fill:none!important}
  .bzt .bzt-go:active{transform:none}.bzt .bzt-go:active i{transform:scale(.9) rotate(90deg);box-shadow:0 4px 10px rgba(26,95,242,.35),inset 0 1px 0 rgba(255,255,255,.35)}
  .bzt .bzt-pf{width:25px;height:25px;border-radius:50%;object-fit:cover;box-shadow:0 0 0 1.5px rgba(0,0,0,.08)}
  .bzt .on .bzt-pf{box-shadow:0 0 0 2px #111}
  .bzt-kb .bzt{transform:translateY(140%);opacity:0}
  body{padding-bottom:calc(96px + env(safe-area-inset-bottom))!important}
  /* sheets */
  .bzt-sh{display:block;position:fixed;inset:0;z-index:9001;pointer-events:none}
  .bzt-sh .bg{position:absolute;inset:0;background:rgba(0,0,0,.35);opacity:0;transition:opacity .2s}
  .bzt-sh .pn{position:absolute;left:0;right:0;bottom:0;max-height:85vh;overflow:auto;padding:10px 16px calc(18px + env(safe-area-inset-bottom));background:#fff;border-radius:20px 20px 0 0;transform:translateY(105%);transition:transform .28s cubic-bezier(.2,.8,.2,1);font-family:Inter,system-ui,sans-serif}
  .bzt-sh.open{pointer-events:auto}.bzt-sh.open .bg{opacity:1}.bzt-sh.open .pn{transform:none}
  .bzt-sh .gr{width:38px;height:4px;margin:0 auto 14px;border-radius:2px;background:#ddd}
  .bzt-sh h3{margin:0 0 12px;font-size:18px;font-weight:600;color:#111}
  .bzt-sh .md{display:flex;align-items:center;gap:14px;padding:14px;margin:0 0 8px;border:1px solid rgba(0,0,0,.08);border-radius:14px;color:#111;text-decoration:none}
  .bzt-sh .md i{flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#EEF3FF;color:#1A5FF2;font:700 15px Inter,system-ui,sans-serif;font-style:normal}
  .bzt-sh .md>span{display:block;color:#111}.bzt-sh .md b{display:block;font-size:15.5px;font-weight:600;margin-bottom:2px;color:#111}.bzt-sh .md>span>span{display:block;font-size:13px;line-height:1.35;color:#777}
  .bzt-sh .md:active,.bzt-sh .li:active{background:#f5f5f5}
  .bzt-sh .who{display:flex;align-items:center;gap:12px;padding:4px 2px 14px;margin-bottom:6px;border-bottom:1px solid #eee;color:#111;text-decoration:none}
  .bzt-sh .who img{width:44px;height:44px;border-radius:50%;object-fit:cover;background:#eee}
  .bzt-sh .who b{display:block;font-size:16px}.bzt-sh .who small{color:#888;font-size:13px}
  .bzt-sh .li{display:flex;align-items:center;justify-content:space-between;padding:14px 4px;border-bottom:1px solid #f0f0f0;color:#111;text-decoration:none;font-size:15.5px;font-weight:500;background:none;border-left:0;border-right:0;border-top:0;width:100%;font-family:inherit;cursor:pointer;text-align:left}
  .bzt-sh .li small{color:#999;font-weight:400;font-size:13px}
  .bzt-sh .li:last-child{border-bottom:0}
  .bzt-sh .cta{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;margin:6px 0 10px;padding:14px;border:0;border-radius:14px;background:#111;color:#fff;font:600 15.5px Inter,system-ui,sans-serif;cursor:pointer}
  .bzt-sh .cta svg{width:16px;height:16px}
}
@media (max-width:640px){.bzt-title,.bzt-sh .md i{display:none!important}}   /* bz-app2: no page title, no mode letters */
