/* FAQ and public feature/bug submission pages. */
.community-page {
  background: #fff;
}

.community-page [hidden] {
  display: none !important;
}

.community-hero {
  padding: 62px 0 56px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 15%, rgb(59 205 123 / 22%), transparent 28%),
    linear-gradient(125deg, #272635 0%, #3f3270 62%, #018786 130%);
}

.community-hero .container {
  max-width: min(980px, calc(100% - var(--gap) - var(--gap)));
  margin-left: max(25px, calc((100% - 1200px) / 2));
}

.community-hero h1 {
  width: auto;
  margin: 4px 0 14px;
  color: #fff;
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.05;
}

.community-hero p:last-child {
  max-width: 780px;
  color: rgb(255 255 255 / 86%);
  font-size: 17px;
  line-height: 1.55;
}

.community-eyebrow {
  color: #018786;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
}

.community-hero .community-eyebrow {
  color: #80efb1;
}

.community-content {
  padding-top: 48px;
  padding-bottom: 72px;
}

.community-inline-link {
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.community-footer-links {
  margin: 12px auto 8px;
}

.about-page-content {
  max-width: min(1080px, calc(100% - var(--gap) - var(--gap)));
}
.about-principles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.about-principle {
  padding: 28px;
  border: 1px solid #dedce6;
  border-top: 4px solid #018786;
  border-radius: 7px;
  background: #f8f8fa;
}
.about-principle h2 {
  color: #272635;
  font-size: 23px;
  font-style: italic;
  font-weight: 700;
}
.about-principle blockquote { margin: 22px 0 0; }
.about-principle blockquote p {
  color: #353342;
  font-size: clamp(19px, 1.7vw, 24px);
  font-style: italic;
  line-height: 1.55;
}
.about-story { max-width: 800px; margin-top: 48px; }
.about-story h2 {
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 4px solid #018786;
  color: #272635;
  font-size: 27px;
  line-height: 1.3;
}
.about-story p {
  margin: 0 0 20px;
  color: #4d4c58;
  font-size: 17px;
  line-height: 1.75;
}
.about-story .about-signoff { margin-top: 28px; }
.about-story .about-faq-link { margin-top: 32px; font-size: 15px; }
@media screen and (max-width: 700px) {
  .about-principles { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .about-principle { padding: 22px; }
  .about-story { margin-top: 36px; }
}

.faq-page-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 44px 54px;
  max-width: min(1080px, calc(100% - var(--gap) - var(--gap)));
}

.faq-section h2 {
  margin-bottom: 14px;
  padding-bottom: 11px;
  border-bottom: 4px solid #018786;
  color: var(--dark);
  font-size: 23px;
  font-weight: 700;
}

.faq-item {
  border-bottom: 1px solid #d9d9de;
}

.faq-item summary {
  position: relative;
  padding: 17px 44px 17px 0;
  color: #272635;
  cursor: pointer;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.38;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 5px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: var(--blue);
  background: #f0edf7;
  font-size: 20px;
  font-weight: 500;
  line-height: 24px;
  text-align: center;
  transform: translateY(-50%);
}

.faq-item[open] summary::after {
  content: "−";
  color: #fff;
  background: var(--blue);
}

.faq-item summary:hover,
.faq-item summary:focus-visible {
  color: var(--blue);
}

.faq-answer {
  padding: 0 42px 19px 0;
  color: #4d4c58;
  font-size: 15px;
  line-height: 1.62;
}

.feedback-page-content {
  max-width: min(1040px, calc(100% - var(--gap) - var(--gap)));
}

.feedback-toolbar,
.feedback-controls,
.feedback-list-heading,
.feedback-form-heading,
.feedback-form-actions,
.feedback-card,
.feedback-card-meta {
  display: flex;
}

.feedback-toolbar {
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.feedback-controls {
  display: grid;
  flex: 1 1 100%;
  grid-template-columns: minmax(220px, 1.5fr) repeat(3, minmax(135px, 1fr));
  gap: 12px;
}

.feedback-controls label,
.feedback-form-panel label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #3d3c47;
  font-weight: 650;
}

.feedback-controls select,
.feedback-controls input,
.feedback-form-panel input,
.feedback-form-panel select,
.feedback-form-panel textarea {
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid #b9b9c2;
  border-radius: 5px;
  color: var(--dark);
  background: #fff;
  font: inherit;
  width: 100%;
  min-width: 0;
}

.feedback-form-panel textarea {
  min-height: 112px;
  resize: vertical;
}

.feedback-controls select:focus,
.feedback-controls input:focus,
.feedback-form-panel input:focus,
.feedback-form-panel select:focus,
.feedback-form-panel textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgb(103 58 183 / 15%);
}

.feedback-hide,
.feedback-delete,
.feedback-primary,
.feedback-secondary,
.feedback-vote-button,
.feedback-close {
  border-radius: 5px;
  font: inherit;
}

.feedback-primary {
  min-height: 44px;
  border-color: var(--blue);
  color: #fff;
  background: var(--blue);
  font-weight: 700;
}

.feedback-primary:hover,
.feedback-primary:focus-visible {
  border-color: #482288;
  background: #552a9d;
}

.feedback-secondary {
  border: 1px solid #aaaab3;
  color: var(--dark);
  background: #fff;
}

.feedback-hide, .feedback-delete { min-height: 44px; padding: 10px 16px; }
.feedback-hide { background: #e5e7eb; border: 1px solid #9ca3af; color: #252930; }
.feedback-hide:hover, .feedback-hide:focus-visible { background: #d1d5db; }
.feedback-delete { background: #b91c1c; border: 1px solid #b91c1c; color: #fff; }
.feedback-delete:hover, .feedback-delete:focus-visible { background: #991b1b; }
.feedback-form-actions button:disabled { opacity: .6; cursor: wait; }

.feedback-form-panel {
  margin-bottom: 40px;
  padding: 26px;
  border: 1px solid #d8d5df;
  border-top: 5px solid #018786;
  border-radius: 7px;
  background: #f8f8fa;
  box-shadow: 0 10px 28px rgb(39 38 53 / 8%);
}

.contact-form-panel {
  max-width: 850px;
  margin-bottom: 0;
}

.feedback-form-heading {
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.feedback-form-heading h2 {
  margin-top: 3px;
  font-weight: 700;
}

.feedback-close {
  padding: 0;
  border: 0;
  color: #666572;
  background: transparent;
  font-size: 28px;
  line-height: 1;
}

.feedback-form-panel form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, .45fr);
  gap: 18px;
}

.feedback-description-field,
.feedback-form-actions {
  grid-column: 1 / -1;
}

.feedback-character-count {
  color: #666572;
  font-size: 12px;
  font-weight: 400;
  text-align: right;
}

.feedback-honeypot {
  position: absolute;
  left: -10000px;
}

.feedback-form-actions {
  align-items: center;
  gap: 10px;
}

.feedback-status,
.feedback-card-status {
  color: #55545f;
  font-size: 13px;
}

.feedback-list-heading {
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 15px;
}

.feedback-list-heading h2 {
  margin-bottom: 4px;
  font-weight: 700;
}

.feedback-list-heading p {
  color: #666572;
}

.feedback-result-count {
  white-space: nowrap;
}

.feedback-list {
  display: grid;
  gap: 13px;
}

.feedback-card {
  align-items: stretch;
  min-height: 154px;
  border: 1px solid #dad9df;
  border-radius: 7px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 3px 12px rgb(39 38 53 / 5%);
}

.feedback-vote-panel {
  display: flex;
  flex: 0 0 122px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 14px;
  border-right: 1px solid #e3e2e7;
  background: #f7f6fa;
}

.feedback-vote-count {
  color: var(--blue);
  font-size: 30px;
  font-weight: 750;
  line-height: 1;
}

.feedback-vote-panel > span {
  margin: 3px 0 11px;
  color: #686771;
  font-size: 12px;
}

.feedback-vote-button {
  min-width: 76px;
  padding: 7px 12px;
  border: 1px solid var(--blue);
  color: var(--blue);
  background: #fff;
  font-weight: 700;
}

.feedback-vote-button:hover:not(:disabled),
.feedback-vote-button:focus-visible:not(:disabled) {
  color: #fff;
  background: var(--blue);
}

.feedback-vote-button:disabled {
  border-color: #9a99a1;
  color: #686771;
  cursor: default;
  opacity: .78;
}

.feedback-card-body {
  flex: 1 1 auto;
  min-width: 0;
  padding: 20px 22px;
}

.feedback-card-meta {
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 11px;
  flex-wrap: wrap;
}

.feedback-submission-attribution {
  color: #777680;
  font-size: 12px;
  margin-left: auto;
}

.feedback-submission-attribution time {
  color: inherit;
  font-size: inherit;
}

.feedback-progress {
  display: inline-block;
  padding: 4px 9px;
  border: 1px solid #d7d5de;
  border-radius: 999px;
  color: #514c63;
  background: #f4f3f7;
  font-size: 11px;
  font-weight: 750;
}

.feedback-progress-new,
.feedback-progress-under_review,
.feedback-progress-planned,
.feedback-progress-in_progress {
  color: #137333;
  border-color: #a8d5b5;
  background: #e6f4ea;
}

.feedback-progress-completed {
  color: #8a4b00;
  border-color: #f0c27a;
  background: #fff1dc;
}

.feedback-progress-declined {
  color: #b3261e;
  border-color: #efb3ae;
  background: #fce8e6;
}

.feedback-updated {
  display: block;
  margin-top: 13px;
  color: #6b6874;
  font-size: 12px;
}

.feedback-developer-response {
  margin-top: 16px;
  padding: 13px 15px;
  border-left: 3px solid #018786;
  border-radius: 3px;
  color: #3d4a49;
  background: #f0f7f5;
  font-size: 14px;
  line-height: 1.55;
}

.feedback-developer-response p {
  margin-top: 4px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.feedback-field-help {
  color: #63616d;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}

.feedback-privacy-note {
  display: block;
  margin-top: 5px;
  max-width: 620px;
  line-height: 1.45;
}

.policy-document {
  max-width: 850px;
}

.policy-document h2 {
  margin: 28px 0 8px;
  padding-bottom: 8px;
  border-bottom: 3px solid #018786;
}

.policy-document h2:first-child {
  margin-top: 0;
}

.policy-document p {
  margin-bottom: 14px;
  color: #4b4a59;
  font-size: 16px;
  line-height: 1.65;
}

.feedback-similar {
  grid-column: 1 / -1;
  padding: 16px;
  border: 1px solid #d8cfeb;
  border-radius: 5px;
  color: #51466a;
  background: #f4f0fb;
}

.feedback-similar h3 {
  margin-bottom: 5px;
  font-weight: 700;
}

.feedback-similar > p {
  margin-bottom: 10px;
  line-height: 1.5;
}

.feedback-similar-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  margin-top: 7px;
  border: 1px solid #ded6ec;
  border-radius: 4px;
  color: #47356a;
  background: #fff;
  text-align: left;
  font: inherit;
}

.feedback-similar-item span {
  color: #6b607c;
  font-size: 12px;
}

.feedback-card:focus {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.feedback-admin-back {
  margin-bottom: 20px;
}

.feedback-admin-item {
  --feedback-admin-control-width: 161px;
  margin: 0;
}

.feedback-admin-item .feedback-progress-field,
.feedback-admin-item .feedback-form-actions > .feedback-primary {
  width: var(--feedback-admin-control-width);
  max-width: 100%;
  flex-shrink: 0;
}

.feedback-admin-item h2 {
  font-size: 21px;
  overflow-wrap: anywhere;
}

.feedback-admin-summary-details {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 3px;
}

.feedback-admin-summary-details .feedback-field-help {
  margin: 0;
}

.feedback-admin-progress {
  display: inline-block;
  flex: 0 0 auto;
  padding: 2px 8px;
  border: 1px solid;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.feedback-admin-progress-new,
.feedback-admin-progress-under_review,
.feedback-admin-progress-planned,
.feedback-admin-progress-in_progress {
  color: #137333;
  border-color: #a8d5b5;
  background: #e6f4ea;
}

.feedback-admin-progress-completed {
  color: #8a4b00;
  border-color: #f0c27a;
  background: #fff1dc;
}

.feedback-admin-progress-declined {
  color: #b3261e;
  border-color: #efb3ae;
  background: #fce8e6;
}

.feedback-admin-item-header {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
}

.feedback-admin-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  color: #51466a;
  cursor: pointer;
}
.feedback-admin-toggle::before {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}
.feedback-admin-toggle[aria-expanded="true"]::before { transform: rotate(45deg); }
.feedback-admin-toggle:hover { background: #ece6f7; }
.feedback-admin-toggle:focus-visible { outline: 3px solid #673ab7; outline-offset: 2px; }

.feedback-admin-item-body[hidden] {
  display: none;
}

.feedback-admin-contact {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 4px 12px;
  margin: 14px 0;
  padding: 12px;
  background: #f3f6f7;
  font-size: 14px;
}
.feedback-admin-contact dt { font-weight: 600; }
.feedback-admin-contact dd { margin: 0; overflow-wrap: anywhere; }

.feedback-admin-description {
  margin: 12px 0 20px;
  overflow-wrap: anywhere;
  line-height: 1.5;
}

#feedback-admin-workspace > .feedback-field-help,
#feedback-admin-load-status {
  margin-bottom: 15px;
}

.feedback-card h3,
.feedback-card-body > p,
.feedback-similar-item strong {
  overflow-wrap: anywhere;
}

.feedback-tag {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 750;
}

.feedback-tag-feature {
  color: #155f3b;
  background: #dff7e9;
}

.feedback-tag-bug {
  color: #8b2d35;
  background: #fde6e8;
}

.feedback-card h3 {
  margin-bottom: 7px;
  color: #272635;
  font-size: 19px;
  font-weight: 700;
}

.feedback-card-body > p:not(.feedback-card-status) {
  color: #51505a;
  font-size: 14px;
  line-height: 1.55;
}

.feedback-card-status {
  margin-top: 7px;
  color: #a1333c;
}

.feedback-empty,
.feedback-error,
.feedback-loading {
  padding: 36px 24px;
  border: 1px dashed #c8c7ce;
  border-radius: 7px;
  color: #5d5c67;
  background: #fafafa;
  text-align: center;
}

.feedback-empty h3,
.feedback-error h3 {
  margin-bottom: 7px;
  color: var(--dark);
  font-size: 18px;
  font-weight: 700;
}

.feedback-error button {
  margin-top: 15px;
}

@media screen and (max-width: 1000px) {
  .community-page + footer .nav,
  #root > footer .nav {
    position: static;
    display: flex;
    justify-content: center;
    margin: 0 auto 14px;
    flex-wrap: wrap;
  }

  .community-hero {
    padding: 48px 0 44px;
  }
}

@media screen and (max-width: 760px) {
  .faq-page-content {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .feedback-toolbar,
  .feedback-list-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .feedback-controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feedback-form-panel form {
    grid-template-columns: 1fr;
  }

  .feedback-description-field,
  .feedback-form-actions {
    grid-column: 1;
  }

  .feedback-result-count {
    align-self: flex-start;
  }
}

@media screen and (max-width: 520px) {
  .feedback-admin-item { --feedback-admin-control-width: 100%; }
  .community-hero .container {
    margin-left: auto;
  }

  .community-hero h1 {
    font-size: 35px;
  }

  .community-content {
    padding-top: 34px;
    padding-bottom: 50px;
  }

  .feedback-controls {
    grid-template-columns: 1fr;
  }

  .feedback-card {
    flex-direction: column;
  }

  .feedback-vote-panel {
    flex: 0 0 auto;
    flex-direction: row;
    justify-content: flex-start;
    gap: 7px;
    border-right: 0;
    border-bottom: 1px solid #e3e2e7;
  }

  .feedback-vote-count {
    font-size: 24px;
  }

  .feedback-vote-panel > span {
    margin: 0 auto 0 0;
  }

  .feedback-card-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .feedback-submission-attribution {
    margin-left: 0;
  }

  .feedback-form-actions {
    align-items: stretch;
    flex-direction: column;
  }
}
