/* 0.2.35 larger type on desktop (over 1100px) and phones (under 600px) only, in the block at the end of this file.
   Tablet (600px to 1100px) keeps every 0.2.34 size except step and list text (larger than its number or bullet) and bold text (1.08em).
   0.2.34 Help Assistant bubble and panel. Mocha #3C2212 with cream #F3E6CF, like the site-wide selected style.
   Bottom right, under modals and the phone menu (z-index 9990), raised above the book page sticky bar. */
#bb-hb{--hb-bark:#3C2212;--hb-cream:#F3E6CF;--hb-ink:#2A1A0E;--hb-paper:#FBF5EA;--hb-line:#e0cfae;position:fixed;right:max(16px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom));z-index:9990;display:flex;flex-direction:column;align-items:flex-end;gap:10px;font-family:inherit;line-height:1.45;pointer-events:none}
#bb-hb *,#bb-hb *::before,#bb-hb *::after{box-sizing:border-box}
#bb-hb>*{pointer-events:auto}
html.bb-sticky-on #bb-hb{bottom:calc(5.2rem + env(safe-area-inset-bottom))}
#bb-hb .bb-hb-btn{display:inline-flex;align-items:center;gap:.45rem;min-height:44px;margin:0;padding:.45rem 1rem .45rem .5rem;border:1px solid rgba(217,163,91,.7);border-radius:999px;background:var(--hb-bark)!important;color:var(--hb-cream)!important;font:600 .95rem/1 inherit;font-family:inherit;cursor:pointer;box-shadow:0 6px 20px rgba(42,26,14,.3)}
#bb-hb .bb-hb-btn:hover{background:#2A1A0E!important}
#bb-hb .bb-hb-q{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:var(--hb-cream);color:var(--hb-bark);font-weight:700}
#bb-hb button:focus-visible,#bb-hb a:focus-visible,#bb-hb input:focus-visible,#bb-hb .bb-hb-log:focus-visible{outline:3px solid #d9a35b;outline-offset:2px}
#bb-hb .bb-hb-panel{display:flex;flex-direction:column;width:min(380px,calc(100vw - 32px));max-height:min(560px,calc(100vh - 96px));max-height:min(560px,calc(100dvh - 96px));background:var(--hb-paper);color:var(--hb-ink);border:1px solid var(--hb-line);border-radius:16px;box-shadow:0 14px 40px rgba(42,26,14,.35);overflow:hidden}
#bb-hb .bb-hb-panel[hidden]{display:none}
#bb-hb .bb-hb-head{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.6rem .6rem .6rem 1rem;background:var(--hb-bark);color:var(--hb-cream)}
#bb-hb .bb-hb-title{margin:0;font-size:1.05rem;line-height:1.2;color:var(--hb-cream)!important;font-family:inherit}
#bb-hb .bb-hb-x{width:36px;height:36px;margin:0;padding:0;border:0;border-radius:50%;background:transparent!important;color:var(--hb-cream)!important;font-size:1.5rem;line-height:1;cursor:pointer}
#bb-hb .bb-hb-x:hover{background:rgba(243,230,207,.15)!important}
#bb-hb .bb-hb-label{margin:0;padding:.35rem 1rem;background:#efe1c7;color:var(--hb-ink);font-size:.8rem}
#bb-hb .bb-hb-log{flex:1 1 auto;min-height:120px;overflow-y:auto;overflow-x:hidden;padding:.8rem;overscroll-behavior:contain}
#bb-hb .bb-hb-msg{margin:0 0 .7rem;font-size:.92rem;overflow-wrap:anywhere}
#bb-hb .bb-hb-msg p{margin:0 0 .4rem}
#bb-hb .bb-hb-me{margin-left:2.5rem;padding:.5rem .75rem;border-radius:12px 12px 2px 12px;background:var(--hb-bark);color:var(--hb-cream)}
#bb-hb .bb-hb-me p{margin:0;color:var(--hb-cream)}
#bb-hb .bb-hb-bot{margin-right:1rem}
#bb-hb .bb-hb-res{margin:.4rem 0 .6rem;padding:.6rem .7rem;border:1px solid var(--hb-line);border-radius:12px;background:#fff}
#bb-hb .bb-hb-rt{margin:.2rem 0 .35rem;font-size:.95rem;line-height:1.3;color:var(--hb-ink);font-family:inherit}
#bb-hb .bb-hb-steps{margin:.2rem 0 .4rem;padding-left:1.3rem}
#bb-hb .bb-hb-steps li{margin:0 0 .25rem}
#bb-hb .bb-hb-ui{font-weight:700}
#bb-hb .bb-hb-more,#bb-hb .bb-hb-wait{color:#6b4a2b;font-size:.85rem}
#bb-hb a{color:#7a3e12;text-decoration:underline}
#bb-hb .bb-hb-full{display:inline-block;margin-top:.1rem;font-weight:600}
#bb-hb .bb-hb-links{display:flex;flex-wrap:wrap;gap:.4rem .9rem}
#bb-hb .bb-hb-sug{margin:.2rem 0 .5rem;padding-left:1.1rem}
#bb-hb .bb-hb-chips{display:flex;flex-wrap:wrap;gap:.35rem}
#bb-hb .bb-hb-chip{margin:0;padding:.35rem .7rem;border:1px solid var(--hb-line);border-radius:999px;background:#fff!important;color:var(--hb-ink)!important;font:inherit;font-size:.82rem;cursor:pointer}
#bb-hb .bb-hb-chip:hover{background:#efe1c7!important}
#bb-hb .bb-hb-form{display:flex;gap:.4rem;padding:.6rem;border-top:1px solid var(--hb-line);background:var(--hb-paper)}
#bb-hb .bb-hb-in{flex:1 1 auto;min-width:0;margin:0;padding:.55rem .7rem;border:1px solid #8a6a4a;border-radius:10px;background:#fff;color:var(--hb-ink);font:inherit;font-size:16px}
#bb-hb .bb-hb-send{margin:0;padding:.5rem .95rem;border:0;border-radius:10px;background:var(--hb-bark)!important;color:var(--hb-cream)!important;font:inherit;font-weight:600;cursor:pointer}
#bb-hb .bb-hb-send:disabled{opacity:.6;cursor:default}
#bb-hb .bb-hb-foot{margin:0;padding:0 .8rem .6rem;font-size:.82rem;background:var(--hb-paper)}
#bb-hb .bb-hb-sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media (max-width:480px){
 #bb-hb{right:12px;bottom:max(12px,env(safe-area-inset-bottom))}
 #bb-hb.is-open{left:12px}
 #bb-hb .bb-hb-panel{width:100%;max-height:calc(100vh - 84px);max-height:calc(100dvh - 84px)}
 #bb-hb .bb-hb-btn{min-height:44px;padding:.4rem .85rem .4rem .45rem}
}
/* 0.2.35 larger type, desktop and phone only (Michael: overall font larger, the goal line larger than the text) */
@media (min-width:1101px),(max-width:599.98px){
 #bb-hb .bb-hb-btn{font-size:18px;font-weight:600;line-height:1}
 #bb-hb .bb-hb-q{width:32px;height:32px;font-size:19px}
 #bb-hb .bb-hb-panel{width:min(440px,calc(100vw - 32px));max-height:min(680px,calc(100vh - 96px));max-height:min(680px,calc(100dvh - 96px))}
 #bb-hb .bb-hb-title{font-size:24px;font-weight:700}
 #bb-hb .bb-hb-x{width:40px;height:40px;font-size:28px}
 #bb-hb .bb-hb-label{font-size:15px}
 #bb-hb .bb-hb-msg{margin:0 0 .8rem;font-size:17px;line-height:1.5}
 #bb-hb .bb-hb-msg p.bb-hb-goal{margin:0 0 .6rem;font-size:22px;font-weight:600;line-height:1.35;color:var(--hb-ink)}
 #bb-hb .bb-hb-rt{margin:.2rem 0 .4rem;font-size:20px;font-weight:700}
 #bb-hb .bb-hb-more,#bb-hb .bb-hb-wait{font-size:16px}
 #bb-hb .bb-hb-chip{font-size:16px;line-height:1.3}
 #bb-hb .bb-hb-in{font-size:17px}
 #bb-hb .bb-hb-send{font-size:17px}
 #bb-hb .bb-hb-foot{padding:0 .8rem .7rem;font-size:16px}
}
@media (max-width:599.98px){
 #bb-hb .bb-hb-title{font-size:22px}
 #bb-hb .bb-hb-msg p.bb-hb-goal{font-size:21px}
 #bb-hb .bb-hb-rt{font-size:19px}
 #bb-hb .bb-hb-in{font-size:16px}
}
@media (max-width:480px){
 #bb-hb .bb-hb-panel{width:100%;max-height:calc(100vh - 84px);max-height:calc(100dvh - 84px)}
 #bb-hb .bb-hb-me{margin-left:1.5rem}
 #bb-hb .bb-hb-bot{margin-right:0}
}
/* 0.2.35 tablet, 600px to 1100px (Michael: step text larger than its number or bullet, bold slightly larger than regular text).
   Everything else stays at the 0.2.34 sizes (body 14.72px). */
@media (min-width:600px) and (max-width:1100px){
 #bb-hb .bb-hb-steps li,#bb-hb .bb-hb-sug li{font-size:17px}
 #bb-hb .bb-hb-steps li::marker,#bb-hb .bb-hb-sug li::marker{font-size:.8em}
 #bb-hb .bb-hb-ui,#bb-hb b,#bb-hb strong{font-size:1.08em}
}
@media print{#bb-hb{display:none}}
