.bestie-launch, .bestie-panel button { border:1px solid #79572e; border-radius:999px; background:#fff6de; color:#402817; font:inherit; font-weight:700; padding:.5rem .8rem; cursor:pointer; min-height:44px; }
.bestie-launch { position:fixed; bottom:max(1rem, env(safe-area-inset-bottom)); right:1rem; z-index:80; background:#ffd24a; box-shadow:0 3px 0 #8d671c,0 5px 15px #48230035; }
.bestie-panel { width:min(420px, calc(100% - 24px)); max-height:calc(100dvh - 24px); margin:12px 12px 12px auto; padding:1rem; border:1px solid #aa8852; border-radius:20px; color:#402817; background:#fffaf0; box-shadow:0 10px 40px #321d2050; overflow:auto; }
.bestie-panel::backdrop { background:#231f2363; }
.bestie-panel header { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.bestie-panel h2 { font-size:1.7rem; line-height:1.1; }
.bestie-panel p { line-height:1.45; margin:.55em 0; }
.bestie-panel p:empty { display:none; }
.bestie-panel small { display:block; margin:.5rem 0; }
.bestie-feed article { padding:.75rem; border-radius:.8rem; border:1px solid #cbac77; background:#fff; margin:.6rem 0; }
.bestie-feed summary { font-weight:700; cursor:pointer; min-height:36px; padding:.35rem 0; }
.bestie-feed a { display:inline-block; margin-top:.3rem; }
.bestie-topics, .bestie-panel footer { display:flex; flex-wrap:wrap; gap:6px; margin:.55rem 0; }
.bestie-panel button { font-size:.84rem; }
.bestie-panel button:disabled { opacity:.5; cursor:default; }
.bestie-panel footer p { flex-basis:100%; }
.bestie-form { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:.4rem; }
.bestie-form input { min-width:0; border:1px solid #896839; background:white; border-radius:.6rem; font:inherit; padding:.5rem; color:#402817; }
.bestie-form button { background:#ffd24a; }
@media(max-width:450px) { .bestie-panel { margin:auto 12px 12px; } .bestie-launch { right:.65rem; } }
@media print { .bestie-panel,.bestie-launch { display:none!important; } }
.bestie-feed { max-height:38dvh; overflow:auto; overscroll-behavior:contain; }
.ingredient-entries details { padding:.7rem 0; border-bottom:1px solid #aa885266; }
.ingredient-entries summary { cursor:pointer; font-weight:bold; }
.ingredient-entries details:target { background:#fff6de; }
.bestie-remaining { font-size:.84rem; font-weight:700; color:#7a5530; }
.bestie-sources { margin:.3rem 0 .2rem; padding-left:1.2rem; font-size:.86rem; }
.bestie-sources li { margin:.35rem 0; }
.bestie-sources span { color:#7a6557; }
.bestie-feed article > small { color:#7a6557; font-size:.78rem; }
.bestie-lead form { display:grid; gap:.35rem; margin-top:.4rem; }
.bestie-lead label { font-size:.86rem; font-weight:700; }
.bestie-lead input[type=text], .bestie-lead input[type=tel] { min-width:0; border:1px solid #896839; background:white; border-radius:.6rem; font:inherit; padding:.5rem; color:#402817; }
.bestie-lead .bestie-consent { font-weight:400; display:flex; gap:.45rem; align-items:flex-start; line-height:1.4; }
.bestie-lead .bestie-consent input { margin-top:.2rem; min-width:18px; min-height:18px; }
.bestie-lead button { justify-self:start; background:#ffd24a; }
