.native-dialog {
  width: min(680px, calc(100vw - 24px));
  max-height: 90dvh;
  padding: 18px;
  box-sizing: border-box;
  border: 1px solid #ddd;
  border-radius: 18px;
  overflow-y: auto;
}
.native-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.native-top h2 {
  font-size: 20px;
}
.native-dialog section {
  padding: 12px 0;
  border-bottom: 1px solid #ddd;
}
.native-dialog label {
  display: block;
  margin: 10px 0;
}
.native-dialog input:not([type="checkbox"]),
.native-dialog textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-top: 6px;
}
.native-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.native-dialog pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 320px;
  overflow: auto;
}
.native-dialog p {
  overflow-wrap: anywhere;
}
.native-dialog form {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 12px;
  margin: 10px 0;
}
.native-dialog .native-skill {
  display: flex;
  align-items: start;
  gap: 8px;
}
.native-skill small {
  display: block;
  color: #666;
}
.native-dialog::backdrop {
  background: #0006;
}
#nativeNotice {
  position: sticky;
  top: 0;
  background: var(--bg, #fff);
  z-index: 1;
}
#nativeFeatures {
  white-space: nowrap;
}
#chatActions {
  flex-wrap: wrap;
}

.elicitation-form fieldset { min-width: 0; margin: 10px 0; padding: 10px; border: 1px solid var(--line, #ddd); border-radius: 12px; }
.elicitation-form legend { max-width: 100%; font-weight: 600; overflow-wrap: anywhere; }
.elicitation-form fieldset > small { display: block; margin-bottom: 6px; }
.elicitation-form fieldset > input, .elicitation-form select { width: 100%; min-width: 0; box-sizing: border-box; min-height: 42px; font: inherit; }
.elicitation-form fieldset label { display: flex; align-items: center; gap: 8px; margin: 5px 0; }
.elicitation-form input[type=checkbox] { flex: 0 0 auto; width: 20px !important; height: 20px; margin: 0; }
.elicitation-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.elicitation-form [role=status] { overflow-wrap: anywhere; }
