.wa-widget #wa-panel {
  max-height: calc(100vh - 110px);
  max-height: calc(100dvh - 110px - env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
}

.wa-widget .wa-topic-body { padding: 16px; }
.wa-topic-body [hidden] { display: none !important; }
.wa-topic-prompt { margin: 0 0 10px; color: #183e2e; font-size: 14px; font-weight: 600; }
.wa-topic-list { display: grid; gap: 8px; }

.wa-topic-body .wa-topic-option {
  display: flex;
  align-items: center;
  min-height: 44px;
  width: 100%;
  box-sizing: border-box;
  padding: 10px 13px;
  border: 1px solid #dce5d9;
  border-radius: 10px;
  background: #f1f6ec;
  color: #183e2e;
  font: 600 14px/1.4 system-ui, sans-serif;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.wa-topic-body .wa-topic-option:hover { background: #e4efd9; }
.wa-topic-back {
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: #183e2e;
  font: 600 13px/1.4 system-ui, sans-serif;
  cursor: pointer;
}
.wa-topic-option:focus-visible, .wa-topic-back:focus-visible {
  outline: 2px solid #116433;
  outline-offset: 2px;
}
