/* Beger AI Inspire beta.14.19 -- calculator accordion + compare overlay hotfix.
   This stylesheet loads AFTER the v14.18 full-width History layout. */
/* Do not visually show the asynchronous auto-marker status inside image controls.
   Keep it as a screen-reader-friendly live region outside the toolbar. */
html body .wb-ai-prompt-widget .beger-pointer-auto-status,
html body .wb-ai-prompt-widget .wb-ai-zoom-btn-bar .beger-pointer-auto-status {
  position:absolute!important;
  width:1px!important;height:1px!important;
  padding:0!important;margin:-1px!important;
  overflow:hidden!important;white-space:nowrap!important;
  clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;
  border:0!important;max-width:1px!important;
}
/* Never let non-control text protrude from the 44px fullscreen toolbar. */
html body .wb-ai-prompt-widget.beger-design-v14 .beger-result-visual > .wb-ai-zoom-btn-bar > :not(.wb-ai-zoom-btn){
  display:none!important;
}
/* Default CLOSED accordion: only the requested question is visible. */
html body .wb-ai-prompt-widget.beger-design-v14 details.beger-paint-calculator{
  display:block!important;box-sizing:border-box!important;
  padding:0!important;margin:0!important;overflow:hidden!important;
  border:1px solid #d8e3f1!important;border-radius:14px!important;
  background:#fff!important;color:#19324f!important;
}
html body .wb-ai-prompt-widget.beger-design-v14 details.beger-paint-calculator > summary.beger-paint-accordion-toggle{
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  gap:12px!important;list-style:none!important;
  min-height:56px!important;margin:0!important;padding:15px 18px!important;
  background:#fff!important;color:#19324f!important;
  font:500 16px/1.5 Prompt,'Noto Sans Thai',Tahoma,sans-serif!important;
  letter-spacing:normal!important;text-decoration:none!important;
  cursor:pointer!important;user-select:none!important;
}
html body .wb-ai-prompt-widget.beger-design-v14 details.beger-paint-calculator > summary::-webkit-details-marker{display:none!important;}
html body .wb-ai-prompt-widget.beger-design-v14 details.beger-paint-calculator > summary::marker{content:'';}
html body .wb-ai-prompt-widget.beger-design-v14 details.beger-paint-calculator > summary:hover{background:#f5f8fe!important;}
html body .wb-ai-prompt-widget.beger-design-v14 details.beger-paint-calculator > summary:focus-visible{
  outline:3px solid #94bdf5!important;outline-offset:-3px!important;
}
html body .wb-ai-prompt-widget.beger-design-v14 details.beger-paint-calculator > summary svg{
  width:20px!important;height:20px!important;display:block!important;flex:0 0 20px;
  color:#0b3f94!important;transition:transform .16s ease;
}
html body .wb-ai-prompt-widget.beger-design-v14 details.beger-paint-calculator[open] > summary svg{transform:rotate(180deg);}
html body .wb-ai-prompt-widget.beger-design-v14 details.beger-paint-calculator > .beger-paint-accordion-content{
  display:block!important;padding:18px 18px 20px!important;
  border-top:1px solid #e6edf6!important;
}
html body .wb-ai-prompt-widget.beger-design-v14 details.beger-paint-calculator:not([open]) > .beger-paint-accordion-content{
  display:none!important;
}
@media(max-width:767px){
  html body .wb-ai-prompt-widget.beger-design-v14 details.beger-paint-calculator > summary.beger-paint-accordion-toggle{font-size:15px!important;padding:14px 16px!important;}
  html body .wb-ai-prompt-widget.beger-design-v14 details.beger-paint-calculator > .beger-paint-accordion-content{padding:16px!important;}
}
@media(prefers-reduced-motion:reduce){
  html body .wb-ai-prompt-widget.beger-design-v14 details.beger-paint-calculator > summary svg{transition:none!important;}
}
