.request-launcher {
  position: fixed;
  z-index: 180;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  color: #FFFFFF;
  background: #14284B;
  border: 1px solid #14284B;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(20, 40, 75, 0.24);
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
}

.request-launcher:hover,
.request-launcher:focus-visible {
  color: #14284B;
  background: #E3B23C;
  border-color: #E3B23C;
}

.anchor-request-dialog-backdrop {
  position: fixed;
  z-index: 1100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow-y: auto;
  background: rgba(10, 24, 48, 0.62);
}

.anchor-request-dialog {
  width: min(100%, 660px);
  max-height: min(860px, calc(100dvh - 48px));
  overflow-y: auto;
  background: #FFFFFF;
  border: 1px solid rgba(20, 40, 75, 0.18);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(4, 18, 42, 0.36);
}

.anchor-request-assistant {
  width: 100%;
  color: #142238;
  font-family: "Inter", Arial, sans-serif;
}

.anchor-request-panel {
  padding: clamp(22px, 4vw, 40px);
}

.anchor-request-panel.is-embedded {
  padding: clamp(22px, 4vw, 36px);
  background: #FFFFFF;
  border: 1px solid #D5DEE7;
  border-top: 4px solid #E3B23C;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(20, 40, 75, 0.08);
}

.anchor-request-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.anchor-request-header h2,
.anchor-request-content h2,
.anchor-request-content h3 {
  margin: 0;
  color: #14284B;
  font-family: "Manrope", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.16;
}

.anchor-request-header h2 {
  font-size: clamp(1.7rem, 4vw, 2.15rem);
}

.anchor-request-content h2 {
  margin-bottom: 18px;
  font-size: clamp(1.3rem, 3vw, 1.7rem);
}

.anchor-request-content h3 {
  margin: 24px 0 12px;
  font-size: 1.06rem;
}

.anchor-request-close {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  padding: 0;
  color: #14284B;
  background: #F3F6F9;
  border: 1px solid #D5DEE7;
  border-radius: 8px;
  font-size: 1.7rem;
  line-height: 1;
}

.anchor-request-close:hover {
  color: #FFFFFF;
  background: #14284B;
}

.anchor-request-intro {
  max-width: 54ch;
  margin: 12px 0 28px;
  color: #53657A;
  font-size: 0.92rem;
  line-height: 1.55;
}

.anchor-request-content {
  min-height: 172px;
}

.anchor-request-field {
  display: grid;
  gap: 7px;
}

.anchor-request-field > label,
.anchor-request-check-field > label {
  color: #14284B;
  font-size: 0.89rem;
  font-weight: 700;
  line-height: 1.4;
}

.anchor-request-field > input,
.anchor-request-field > textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  color: #142238;
  background: #FFFFFF;
  border: 1px solid #AEBBC6;
  border-radius: 8px;
  font: inherit;
  line-height: 1.4;
}

.anchor-request-field > textarea {
  min-height: 100px;
  resize: vertical;
}

.anchor-request-field > input:focus,
.anchor-request-field > textarea:focus,
.anchor-request-file-label:focus-within {
  border-color: #1F6FB2;
  outline: 3px solid rgba(31, 111, 178, 0.2);
  outline-offset: 1px;
}

.anchor-request-field > input[aria-invalid="true"],
.anchor-request-check-field input[aria-invalid="true"] {
  border-color: #A73B33;
}

.anchor-request-help,
.anchor-request-photo-count {
  margin: 4px 0 0;
  color: #53657A;
  font-size: 0.82rem;
  line-height: 1.45;
}

.anchor-request-field-error {
  min-height: 1.2em;
  margin: 0;
  color: #A73B33;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.4;
}

.anchor-request-check-field {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  margin-top: 16px;
}

.anchor-request-check-field input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: #14284B;
}

.anchor-request-check-field .anchor-request-field-error {
  grid-column: 2;
}

.anchor-request-file-label {
  display: inline-flex;
  width: fit-content;
  min-height: 45px;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  color: #14284B;
  background: #F3F6F9;
  border: 1px solid #AEBBC6;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.87rem;
  font-weight: 700;
}

.anchor-request-file-label:hover {
  background: #E3B23C;
  border-color: #E3B23C;
}

.anchor-request-field input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.anchor-request-photo-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 14px 0 0;
  list-style: none;
}

.anchor-request-photo {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 8px;
  background: #F3F6F9;
  border: 1px solid #D5DEE7;
  border-radius: 8px;
}

.anchor-request-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #D5DEE7;
  border-radius: 4px;
}

.anchor-request-photo span {
  overflow: hidden;
  color: #14284B;
  font-size: 0.75rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.anchor-request-text-button {
  justify-self: start;
  padding: 0;
  color: #8C342D;
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 700;
}

.anchor-request-summary {
  margin: 0;
  border-top: 1px solid #D5DEE7;
}

.anchor-request-summary-row {
  display: grid;
  grid-template-columns: minmax(130px, 0.8fr) minmax(0, 1.2fr);
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #D5DEE7;
}

.anchor-request-summary dt {
  color: #53657A;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.4;
}

.anchor-request-summary dd {
  min-width: 0;
  margin: 0;
  color: #14284B;
  font-size: 0.84rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.anchor-request-status {
  min-height: 1.5em;
  margin: 18px 0 0;
  color: #53657A;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.45;
}

.anchor-request-status.is-error {
  color: #A73B33;
}

.anchor-request-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.anchor-request-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-size: 0.87rem;
  font-weight: 700;
  line-height: 1.2;
}

.anchor-request-button.is-primary {
  color: #FFFFFF;
  background: #14284B;
  border-color: #14284B;
}

.anchor-request-button.is-primary:hover,
.anchor-request-button.is-primary:focus-visible {
  color: #14284B;
  background: #E3B23C;
  border-color: #E3B23C;
}

.anchor-request-button.is-secondary {
  color: #14284B;
  background: #FFFFFF;
  border-color: #AEBBC6;
}

.anchor-request-button.is-secondary:hover {
  background: #F3F6F9;
  border-color: #14284B;
}

.anchor-request-button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.anchor-request-success-copy {
  margin: 0;
  color: #14284B;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.55;
}

@media (max-width: 600px) {
  .request-launcher {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
  }

  .anchor-request-dialog-backdrop {
    align-items: end;
    padding: 12px 0 0;
  }

  .anchor-request-dialog {
    max-height: calc(100dvh - 12px);
    border-radius: 8px 8px 0 0;
  }

  .anchor-request-panel {
    padding: 22px 18px max(22px, env(safe-area-inset-bottom));
  }

  .anchor-request-photo-list {
    grid-template-columns: 1fr;
  }

  .anchor-request-summary-row {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .anchor-request-actions {
    justify-content: stretch;
  }

  .anchor-request-actions .anchor-request-button {
    flex: 1 1 140px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .request-launcher,
  .anchor-request-button,
  .anchor-request-close {
    transition: none;
  }
}

.anchor-request-content>h3+.anchor-request-field>label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.anchor-request-content h3{font-size:23px;line-height:1.3;margin-bottom:22px}.anchor-request-summary-row dd{overflow-wrap:anywhere}.request-admin-reply pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#f3f6f9;padding:14px;border-radius:8px;font:13px/1.6 Inter,sans-serif}
