/* ../integration-canonical/web/style.css */
.nl-community {
  --wine:#652b45;
  --paper:#fcf8f1;
  font: 16px/1.5 system-ui, sans-serif;
  color: #322b2d;
}
.nl-community * {
  box-sizing: border-box;
}
.nl-community button,
.nl-community textarea {
  font: inherit;
}
.nl-community button {
  min-height: 44px;
  min-width: 44px;
  padding: 8px 14px;
  border: 1px solid #a88f99;
  border-radius: 9px;
  background: white;
  color: var(--wine);
  cursor: pointer;
}
.nl-community button:disabled {
  opacity: .55;
  cursor: not-allowed;
}
.nl-community button:focus-visible,
.nl-community textarea:focus-visible,
.nl-community input:focus-visible {
  outline: 3px solid #8b61ac;
  outline-offset: 2px;
}
.nl-community > [data-open] {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: var(--wine);
  color: white;
  z-index: 50;
  box-shadow: 0 4px 18px #45233530;
}
.nl-community dialog {
  position: fixed;
  margin: auto 20px 20px auto;
  width: min(520px, calc(100vw - 40px));
  max-width: none;
  max-height: calc(100dvh - 40px);
  border: 1px solid #d7c7ce;
  border-radius: 16px;
  padding: 20px;
  background: var(--paper);
  overflow: auto;
  box-shadow: 0 10px 60px #23131d44;
}
.nl-community dialog::backdrop {
  background: #281b2333;
}
.nl-community header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.nl-community h2 {
  font: 600 23px/1.2 Georgia, serif;
  margin: 0;
}
.nl-community header + p {
  font-size: 14px;
  color: #62545b;
}
.nl-community nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0;
}
.nl-community [aria-pressed=true] {
  background: var(--wine);
  color: white;
}
.nl-community label {
  display: block;
}
.nl-community label:has(input) {
  display: flex;
  align-items: center;
  min-height: 44px;
  gap: 8px;
  font-size: 14px;
}
.nl-community input[type=checkbox] {
  width: 24px;
  height: 24px;
}
.nl-community [data-messages] {
  height: 250px;
  overflow: auto;
  overscroll-behavior: contain;
  border-block: 1px solid #e3d5da;
  padding: 10px 0;
}
.nl-community article {
  background: white;
  border: 1px solid #ece0e5;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 10px;
  overflow-wrap: anywhere;
}
.nl-community time {
  display: block;
  font-size: 12px;
  color: #705c66;
}
.nl-community article p {
  white-space: pre-wrap;
  margin: 8px 0;
}
.nl-community article button {
  font-size: 13px;
  margin-right: 4px;
}
.nl-community textarea {
  display: block;
  resize: vertical;
  min-height: 80px;
  width: 100%;
  max-width: 100%;
  border: 1px solid #b8a2ac;
  border-radius: 8px;
  padding: 10px;
  background: white;
  color: #33252c;
}
.nl-community form > button {
  margin-top: 8px;
}
.nl-community [data-send] {
  background: var(--wine);
  color: white;
}
.nl-community [role=status] {
  min-height: 24px;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.nl-community [hidden] {
  display: none !important;
}
@media (max-width: 600px) {
  .nl-community dialog {
    inset: 0;
    margin: 0;
    width: 100vw;
    height: 100dvh;
    max-height: none;
    border-radius: 0;
    padding: 16px;
    display: none;
  }
  .nl-community dialog[open] {
    display: block;
  }
  .nl-community [data-messages] {
    height: 30dvh;
  }
  .nl-community > [data-open] {
    right: 12px;
    bottom: 12px;
  }
  .nl-community h2 {
    font-size: 20px;
  }
}

/* embedded.css */
#community[data-embedded=true] {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 45;
  max-width: calc(100vw - 2rem);
}
#community[data-embedded=true][hidden] {
  display: none;
}
