.ask-jeju {
  position: fixed;
  z-index: 80;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  color: #193f37;
  font: 15px/1.5 system-ui, sans-serif;
}
.ask-jeju [hidden], .ask-jeju[hidden] { display: none !important; }
.ask-jeju button, .ask-jeju input { font: inherit; }
.ask-jeju button { cursor: pointer; }
.ask-jeju :focus-visible { outline: 3px solid #b7552f; outline-offset: 2px; }
.ask-toggle {
  display: flex; align-items: center; gap: 6px; min-height: 44px;
  border: 1px solid #ffffff80; border-radius: 30px; padding: 7px 13px 7px 9px;
  background: #193f37; color: #fffdf5; box-shadow: 0 3px 14px #10271f30;
}
.ask-toggle .icon { width: 24px; height: 24px; color: #f9c396; }
.ask-toggle span { font-size: 13px; font-weight: 650; }
.ask-panel {
  position: absolute; bottom: calc(100% + 8px); right: 0; width: min(370px,calc(100vw - 32px));
  max-height: min(510px, calc(100dvh - 82px)); display: flex; flex-direction: column;
  background: #fcfbf5; border: 1px solid #bfcac2; border-radius: 15px; box-shadow: 0 8px 36px #112f252a;
  overflow: hidden;
}
.ask-panel header, .ask-panel header div, .ask-voice, .ask-input-row { display: flex; align-items: center; }
.ask-panel header { padding: 8px 12px 8px 16px; justify-content: space-between; background: #e9efe7; }
.ask-panel header div { gap: 9px; }
.ask-panel header .icon { width: 21px; height: 21px; }
.ask-panel h2 { margin: 0; color: inherit; font: 650 17px/1.4 system-ui,sans-serif; }
.ask-close { display: grid; place-items: center; width: 40px; height: 40px; border: 0; background: transparent; color: inherit; }
.ask-scroll { padding: 15px 17px; overflow-y: auto; overscroll-behavior: contain; min-height: 0; }
.ask-panel p { font: inherit; color: #23423a; margin: 0 0 .6em; }
.ask-examples { display: flex; flex-wrap: wrap; gap: 6px; }
.ask-examples button { padding: 6px 9px; color: #23483b; background: #f7f8f1; border: 1px solid #c6d1c7; border-radius: 9px; font-size: 13px; }
.ask-results article { padding: 9px 0; border-top: 1px solid #e0e6db; }
.ask-results .ask-question { font-weight: 650; }
.ask-results a { font-size: 13px; color: #255c4b; text-decoration: underline; text-underline-offset: 3px; }
.ask-form { padding: 10px 14px; border-top: 1px solid #d9dfd5; }
.ask-input-row { gap: 6px; }
.ask-input-row input { flex: 1; min-width: 0; width: 100%; border: 1px solid #aebeb0; border-radius: 8px; color: #193f37; background: #fff; padding: 9px; font-size: 16px; }
.ask-input-row button { border: 0; color: #fff; background: #204d40; border-radius: 8px; padding: 9px 12px; }
.ask-voice { gap: 8px; margin-top: 6px; }
.ask-mic { border: 0; color: #244f43; background: transparent; font-weight: 650!important; font-size: 13px!important; padding: 5px 0; flex-shrink: 0; }
.ask-mic[aria-pressed=true] { color: #943912; }
.ask-hint, .ask-status { color: #4b6057; font-size: 12px; }
.ask-status:not(:empty) { display: block; margin-top: 6px; }
.ask-only { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
@media(max-width:600px) {
  .ask-jeju { right: max(10px, env(safe-area-inset-right)); bottom: max(10px, env(safe-area-inset-bottom)); }
  .ask-toggle { padding: 8px; width: 44px; height: 44px; justify-content: center; }
  .ask-toggle span { display:none; }
  .ask-panel { width: min(370px,calc(100vw - 44px)); }
}
@media print { .ask-jeju { display: none !important; } }
