/* WebNewBee app (§494, Ron 2026-11-07): installable-app sheet, phone "Question?" button, Notifications page, phone fixes.
   Loaded AFTER app.css on every app page and on the builder pages. Brand: Bee #FFC31F, ink #1F150E, cream #FFF8E7. */
.wnb-sheet{position:fixed;inset:0;z-index:1000;background:rgb(31 21 14/.42);display:flex;align-items:flex-end;justify-content:center;padding:0 0 env(safe-area-inset-bottom)}
.wnb-sheet-in{position:relative;width:100%;max-width:480px;max-height:92vh;max-height:92dvh;overflow:auto;background:#fff;color:#1F150E;border-radius:20px 20px 0 0;padding:22px 18px 20px;box-shadow:0 -10px 40px rgb(0 0 0/.25);font:16px/1.5 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;animation:wnbUp .22s ease-out}
@media (min-width:700px){.wnb-sheet{align-items:center}.wnb-sheet-in{border-radius:20px}}
@keyframes wnbUp{from{transform:translateY(30px);opacity:.4}to{transform:none;opacity:1}}
.wnb-sheet h2{font-size:1.2rem;line-height:1.25;margin:0 44px 8px 0}
.wnb-sheet p{margin:0 0 12px}
.wnb-sheet-ic{float:right;margin:-4px 34px 6px 10px;border-radius:14px;background:#FFF8E7}
.wnb-x{position:absolute;top:8px;right:8px;width:44px;height:44px;border:0;border-radius:50%;background:transparent;font:400 28px/1 system-ui;color:#1F150E;cursor:pointer}
.wnb-x:hover,.wnb-x:focus-visible{background:#FFF8E7}
.wnb-steps{margin:4px 0 14px;padding-left:22px}.wnb-steps li{margin:0 0 8px}
.wnb-ico{display:inline-flex;vertical-align:-4px;padding:2px 4px;border:1px solid #e6dbc5;border-radius:6px;background:#F7F7F7}
.wnb-sheet-btns{display:flex;gap:10px;flex-wrap:wrap;clear:both}
.wnb-btn{flex:1 1 140px;min-height:48px;padding:11px 18px;border-radius:999px;border:2px solid #1F150E;background:#fff;color:#1F150E;font:inherit;font-weight:700;cursor:pointer}
.wnb-btn.wnb-bee{background:#FFC31F}.wnb-btn[disabled]{opacity:.55}
.wnb-msg{min-height:0;font-weight:600}.wnb-msg:empty{display:none}
.wnb-ask label{display:block;font-weight:600;margin:10px 0 0}
.wnb-ask input,.wnb-ask textarea{display:block;width:100%;margin-top:6px;font:inherit;font-size:16px;padding:11px 12px;border:2px solid #cbbd9f;border-radius:10px;background:#fff;color:#1F150E}
.wnb-ask .wnb-hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.wnb-ask-fab{position:fixed;right:14px;bottom:calc(14px + env(safe-area-inset-bottom));z-index:900;min-height:48px;padding:10px 16px;border-radius:999px;border:2px solid #1F150E;background:#FFC31F;color:#1F150E;font:700 15px/1 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;box-shadow:0 6px 18px rgb(31 21 14/.25);cursor:pointer;transition:opacity .15s,transform .15s}
.wnb-ask-fab span{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#1F150E;color:#FFC31F;margin-right:4px;font-size:14px}
.wnb-ask-fab.compact{padding:0;width:48px;height:48px;justify-content:center;font-size:0}.wnb-ask-fab.compact span{margin:0;width:26px;height:26px;font-size:16px}
.wnb-ask-fab.above-foot{bottom:calc(86px + env(safe-area-inset-bottom))}
.wnb-ask-fab.wnb-hide,.wnb-ask-fab.wnb-hide2{opacity:0;pointer-events:none;transform:translateY(10px)}
@media (min-width:761px){.wnb-ask-fab{display:none}}
@media print{.wnb-ask-fab,.wnb-sheet{display:none}}
/* Notifications page */
.crumb{margin:8px 0 0}.crumb a{display:inline-block;padding:10px 0;font-weight:600;text-decoration:none}
.btnrow{display:flex;gap:10px;flex-wrap:wrap}.btnrow .btn[hidden]{display:none}
.pushstate{font-weight:600}
.switchrow{display:flex;gap:12px;align-items:flex-start;font-weight:400;margin:6px 0;padding:12px 4px;border-bottom:1px solid var(--line,#e6dbc5);cursor:pointer;min-height:48px}
.switchrow input{width:24px;height:24px;flex:none;margin:2px 0 0;accent-color:#1F150E}
.switchrow small{display:block;color:var(--muted,#5b4d40);font-size:.92rem}
/* ---- phones + tablets: app pages (dashboard, sign-up, checkout, billing, settings) ---- */
@media (max-width:760px){
  header.top{position:relative;padding:10px 16px 4px;gap:6px}
  .top .brand img{width:150px;height:auto}
  .top nav{width:100%;flex-wrap:wrap;gap:8px;padding:2px 0 8px}   /* every item on screen (Ron 11-07: Notifications was hidden past the edge of a swipe strip) */
  .top nav::-webkit-scrollbar{display:none}
  .top nav a{flex:0 1 auto;display:inline-flex;align-items:center;min-height:44px;padding:0 13px;border-radius:999px;background:#fff;border:1px solid var(--line,#e6dbc5);font-size:.95rem;white-space:nowrap}
  .top nav a[aria-current=page]{border-color:var(--ink,#1F150E);box-shadow:inset 0 0 0 1px var(--ink,#1F150E)}
  .top nav a.lang{position:absolute;top:6px;right:16px;min-width:48px;justify-content:center;border:2px solid var(--ink,#1F150E);background:transparent;padding:0 12px}
  main{padding-bottom:84px}   /* room for the "Question?" button */
}
@media (pointer:coarse){
  .btn{min-height:48px}
  .btn.small{min-height:44px;display:inline-flex;align-items:center;justify-content:center}
  summary{min-height:44px;padding:10px 0;box-sizing:border-box}
  main p>a:only-child:not(.btn),.crumb a{display:inline-block;padding:11px 0}
  input[type=radio],input[type=checkbox]{width:22px;height:22px;accent-color:var(--ink,#1F150E)}
  .check{min-height:44px;align-items:center}
  input,select,textarea{font-size:16px}   /* iOS never zooms into a field */
  .rkp-eye{width:44px!important;height:44px!important;right:2px!important}
  .top .brand{display:inline-block;padding:8px 0}
  .top nav a{min-height:44px;display:inline-flex;align-items:center}   /* tablets too (the phone header above is <= 760 px) */
  td a{display:inline-block;padding:10px 0}
}
/* §613 EN · FR · ES switch on phones: the pill sits where the single language link was (top right) */
@media (max-width:760px){
  .top nav .langs{position:absolute;top:6px;right:16px;min-height:40px;align-items:stretch}
  .top nav .langs a.lang,.top nav .langs .lang{position:static;min-width:40px;min-height:0;display:inline-flex;align-items:center;justify-content:center;padding:0 9px;background:transparent;border:0;border-radius:0}
  .top nav .langs .lang+.lang{border-left:1px solid var(--ink,#1F150E)}
  .top nav .langs .lang.on{background:var(--ink,#1F150E);color:#fff}
}
