.oab46-data-page,
.oabeiros-ai-widget,
.oabeiros-inline-ai {
  font-family: inherit;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

.oab46-simple-search-title {
  margin: 28px 0 -12px;
}

.oab46-simple-search-title h2 {
  font-size: 26px;
  line-height: 1.15;
  margin: 0;
}

.oab46-proof-search-block {
  background: #fffaf5;
  border: 1px solid var(--oab46-line, #e6ded8);
  color: var(--oab46-ink, #16110f);
  margin: 0 0 18px;
  padding: 18px;
}

.oab46-proof-search-block__head {
  align-items: end;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
}

.oab46-proof-search-block h2 {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.08;
  margin: 0 0 8px;
}

.oab46-proof-search-block p {
  color: var(--oab46-muted, #6e625d);
  line-height: 1.5;
  margin: 0;
}

.oab46-proof-simple-form {
  display: grid;
  gap: 10px;
}

.oab46-proof-simple-form label {
  display: grid;
  gap: 6px;
}

.oab46-proof-simple-form span,
.oab46-result-meta {
  color: var(--oab46-muted, #6e625d);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.oab46-proof-simple-form input {
  background: #fff;
  border: 1px solid var(--oab46-line, #e6ded8);
  color: var(--oab46-ink, #16110f);
  font: inherit;
  min-height: 44px;
  padding: 10px 12px;
  width: 100%;
}

.oab46-proof-simple-form button {
  background: var(--oab46-deep, #5a0a0a);
  border: 0;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  min-height: 44px;
  padding: 10px 16px;
  width: fit-content;
}

.oab46-simple-results {
  margin-top: 14px;
}

.oab46-simple-results-list {
  display: grid;
  gap: 10px;
}

.oab46-simple-result-card {
  background: #fff;
  border: 1px solid var(--oab46-line, #e6ded8);
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 14px;
}

.oab46-simple-result-card h3 {
  font-size: 20px;
  line-height: 1.2;
  margin: 2px 0 6px;
}

.oab46-simple-result-card p {
  line-height: 1.45;
  margin: 0 0 5px;
}

.oab46-result-links {
  align-content: start;
  display: grid;
  gap: 8px;
  justify-items: end;
}

.oab46-result-links a {
  color: var(--oab46-deep, #5a0a0a);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.oab46-proof-ai-panel {
  border-color: #d8c4ad;
}

.oab46-proof-ai-panel .oab46-section-head a,
.oab46-ai-link {
  color: var(--oab46-deep, #5a0a0a);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.oab46-ai-intro,
.oab46-ai-note {
  color: var(--oab46-muted, #6e625d);
  line-height: 1.55;
  margin: 0 0 14px;
}

.oab46-ai-search-form,
.oabeiros-inline-ai form,
.oabeiros-ai-widget form {
  display: grid;
  gap: 12px;
}

.oab46-ai-search-form label,
.oabeiros-inline-ai label,
.oabeiros-ai-widget label {
  display: grid;
  gap: 6px;
}

.oab46-ai-search-form span,
.oabeiros-inline-ai label span,
.oabeiros-ai-widget label span {
  color: var(--oab46-muted, #6e625d);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.oab46-ai-search-form textarea,
.oab46-ai-search-form select,
.oabeiros-inline-ai textarea,
.oabeiros-inline-ai select,
.oabeiros-ai-widget textarea,
.oabeiros-ai-widget select {
  background: #fff;
  border: 1px solid var(--oab46-line, #e6ded8);
  color: var(--oab46-ink, #16110f);
  font: inherit;
  line-height: 1.45;
  padding: 10px 12px;
  width: 100%;
}

.oab46-ai-search-form button,
.oabeiros-inline-ai button[type="submit"],
.oabeiros-ai-widget button[type="submit"] {
  background: var(--oab46-deep, #5a0a0a);
  border: 0;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  min-height: 44px;
  padding: 10px 16px;
  width: fit-content;
}

.oab46-ai-output,
.oabeiros-ai-output {
  margin-top: 14px;
}

.oab46-ai-answer {
  background: #fff;
  border: 1px solid var(--oab46-line, #e6ded8);
  color: var(--oab46-ink, #16110f);
  line-height: 1.65;
  padding: 16px;
  white-space: normal;
}

.oab46-ai-loading,
.oab46-ai-error {
  background: #fff;
  border: 1px solid var(--oab46-line, #e6ded8);
  color: var(--oab46-muted, #6e625d);
  line-height: 1.5;
  padding: 12px 14px;
}

.oab46-ai-error {
  border-color: #b3261e;
  color: #8a1c15;
}

.oab46-ai-local-results {
  background: #fff;
  border: 1px solid var(--oab46-line, #e6ded8);
  margin-top: 12px;
  padding: 12px 14px;
}

.oab46-ai-local-results summary {
  color: var(--oab46-deep, #5a0a0a);
  cursor: pointer;
  font-weight: 800;
}

.oab46-ai-local-results ol {
  margin: 12px 0 0 22px;
  padding: 0;
}

.oab46-ai-local-results li {
  line-height: 1.45;
  margin: 8px 0;
}

.oab46-ai-local-results span {
  color: var(--oab46-muted, #6e625d);
  display: block;
}

.oab46-ai-local-results a {
  color: var(--oab46-deep, #5a0a0a);
  font-weight: 800;
  margin-right: 10px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.oabeiros-inline-ai {
  background: #fffaf5;
  border: 1px solid #e6ded8;
  color: #16110f;
  margin: 28px 0;
  padding: 22px;
}

.oabeiros-inline-ai h2 {
  font-size: 28px;
  line-height: 1.15;
  margin: 0 0 10px;
}

.oabeiros-inline-ai p {
  color: #6e625d;
  line-height: 1.55;
}

.oabeiros-ai-widget {
  bottom: 18px;
  position: fixed;
  right: 18px;
  z-index: 9999;
}

.oabeiros-ai-widget__toggle {
  background: #5a0a0a;
  border: 1px solid rgba(255,255,255,.28);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  min-height: 44px;
  padding: 10px 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,.22);
}

.oabeiros-ai-widget__panel {
  background: #fffaf5;
  border: 1px solid #d8c4ad;
  bottom: 56px;
  box-shadow: 0 18px 50px rgba(0,0,0,.24);
  color: #16110f;
  max-height: min(680px, calc(100vh - 96px));
  overflow: auto;
  padding: 16px;
  position: absolute;
  right: 0;
  width: min(380px, calc(100vw - 36px));
}

.oabeiros-ai-widget__head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.oabeiros-ai-widget__head strong {
  color: #16110f;
  font-size: 18px;
}

.oabeiros-ai-widget__head button {
  background: transparent;
  border: 0;
  color: #5a0a0a;
  cursor: pointer;
  font: inherit;
  font-size: 24px;
  line-height: 1;
}

.oabeiros-ai-widget__panel p {
  color: #6e625d;
  line-height: 1.45;
  margin: 0 0 12px;
}

@media (max-width: 760px) {
  .oab46-proof-search-block__head,
  .oab46-simple-result-card {
    grid-template-columns: 1fr;
  }

  .oab46-result-links {
    justify-items: start;
  }

  .oab46-proof-simple-form button,
  .oab46-ai-search-form button,
  .oabeiros-inline-ai button[type="submit"],
  .oabeiros-ai-widget button[type="submit"] {
    width: 100%;
  }

  .oabeiros-ai-widget {
    bottom: 12px;
    right: 12px;
  }
}
