.rb-panel{background:#fffaf0;border:1px solid #e6cf9f;border-radius:12px;padding:12px;margin-bottom:16px}
.rb-profits{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:16px}
.rb-profits>div{background:#fff;border:1px solid #bbdfc7;border-radius:10px;padding:12px;min-width:0}
.rb-profits strong{display:block;font-size:clamp(1.1rem,3vw,1.6rem);color:#166534;overflow-wrap:anywhere}
.rb-profits small{display:block;color:#526457;font-size:.75rem}
.rb-profits [data-loss="true"]{color:#b91c1c}
#market-competitors{list-style:none;padding:0;margin:0}
#room-4 .rb-profits p,#room-4 .rb-bubble p{margin:4px 0 0}
.rb-mini{float:left;margin-right:8px}
.rb-stage{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.rb-hero{width:150px;height:105px;flex:none;background:#f7ead0;border-radius:10px}
.rb-hero svg,.rb-loaf svg,.rb-mini svg{width:100%;height:100%;display:block}
.rb-bubble{position:relative;flex:1 1 220px;background:#fff;border:2px solid #c9a15a;border-radius:14px;padding:10px 12px;font-size:.9rem;color:#4a3515}
.rb-bubble:before{content:"";position:absolute;left:-10px;top:30px;width:16px;height:16px;background:#fff;border-left:2px solid #c9a15a;border-bottom:2px solid #c9a15a;transform:rotate(45deg)}
@media(max-width:520px){.rb-bubble:before{left:40px;top:-10px;transform:rotate(135deg)}.rb-hero{width:120px;height:84px}}
.rb-scale{display:grid;grid-template-columns:repeat(10,1fr);gap:2px;margin-top:10px;list-style:none;padding:0}
.rb-scale li{text-align:center;font-size:.7rem;border-radius:6px;padding:2px;border:2px solid transparent}
.rb-scale li.on{border-color:#2f7d46;background:#eaf6ec;font-weight:700}
.rb-scale svg{width:100%;height:auto;display:block}
.rb-days{display:grid;gap:8px;margin-top:8px}
.rb-day{background:#fff;border:1px solid #e6cf9f;border-radius:8px;padding:8px}
.rb-day h4{font-weight:700;font-size:.9rem;margin-bottom:4px}
.rb-loaves{display:flex;flex-wrap:wrap;gap:2px}
.rb-loaf{width:34px;height:24px;animation:rbpop .3s ease-out both}
.rb-mini{width:72px;height:50px;margin-bottom:4px}
.rb-zero{font-style:italic;color:#6b5a3a}
@keyframes rbpop{from{opacity:0;transform:scale(.6)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.rb-loaf{animation:none}}
