/* Help center — Outcry desk */

body.ox-help {
  --oxh-ink: var(--ox-ink, #141820);
  --oxh-mute: var(--ox-mute, #5d6776);
  --oxh-coral: var(--ox-coral, #ff5a3c);
  --oxh-aqua: var(--ox-aqua, #1fb8ad);
  --oxh-display: var(--ox-display, "Syne", sans-serif);
  --oxh-sans: var(--ox-sans, "Outfit", sans-serif);
  --oxh-mono: var(--ox-mono, "DM Mono", monospace);
  --oxh-ease: var(--ox-ease, cubic-bezier(0.22, 1, 0.36, 1));
  color: var(--oxh-ink);
  font-family: var(--oxh-sans);
  background: transparent !important;
}

body.ox-help .a71-main {
  color: var(--oxh-ink);
}

.oxh-board {
  padding: clamp(1.15rem, 2.5vw, 1.85rem) clamp(1rem, 2.2vw, 1.7rem) 2.4rem;
  max-width: none;
  width: 100%;
  box-sizing: border-box;
}

.oxh-brand {
  margin: 0 0 0.45rem;
  font-family: var(--oxh-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--oxh-coral);
}

.oxh-mast h1 {
  margin: 0;
  font-family: var(--oxh-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
  color: var(--oxh-ink);
}

.oxh-lede {
  margin: 0.5rem 0 1.25rem;
  max-width: 38rem;
  color: var(--oxh-mute);
  font-size: 1rem;
}

.oxh-seek {
  display: flex;
  width: min(100%, 36rem);
  min-height: 2.9rem;
  border-radius: 0.9rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(20, 24, 32, 0.12);
  box-shadow: 0 8px 22px rgba(20, 24, 32, 0.05);
}

.oxh-seek:focus-within {
  border-color: var(--oxh-aqua);
  box-shadow: 0 10px 28px rgba(31, 184, 173, 0.15);
}

.oxh-seek input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--oxh-ink);
  padding: 0 1rem;
  outline: none;
  font: inherit;
}

.oxh-seek input::placeholder {
  color: #8a93a1;
}

.oxh-seek button {
  border: 0;
  padding: 0 1.25rem;
  background: var(--oxh-ink);
  color: #fff;
  font-weight: 650;
  cursor: pointer;
}

.oxh-seek button:hover,
.oxh-seek button:focus-visible {
  background: var(--oxh-coral);
  outline: none;
}

.oxh-meta {
  margin: 0.6rem 0 1.2rem;
  font-family: var(--oxh-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--oxh-mute);
}

.oxh-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr);
  gap: 1.2rem;
  align-items: start;
}

.oxh-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.05rem;
}

.oxh-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.35rem;
  padding: 0.4rem 0.9rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(20, 24, 32, 0.14);
  background: #fff;
  color: var(--oxh-ink);
  font: inherit;
  font-weight: 650;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.2s var(--oxh-ease), color 0.2s var(--oxh-ease), border-color 0.2s var(--oxh-ease);
}

.oxh-chip small {
  font-family: var(--oxh-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--oxh-mute);
}

.oxh-chip:hover,
.oxh-chip:focus-visible {
  border-color: var(--oxh-ink);
  background: #f3f5f8;
  color: var(--oxh-ink);
  outline: none;
}

.oxh-chip:hover small,
.oxh-chip:focus-visible small {
  color: var(--oxh-mute);
}

.oxh-chip.is-on {
  border-color: var(--oxh-ink);
  background: var(--oxh-ink);
  color: #fff;
}

.oxh-chip.is-on small {
  color: rgba(255, 255, 255, 0.72);
}

.oxh-stream {
  display: grid;
  gap: 0.55rem;
}

.oxh-item {
  background: #fff;
  border: 1px solid rgba(20, 24, 32, 0.1);
  border-radius: 0.95rem;
  overflow: hidden;
  opacity: 0;
  transform: translateY(10px);
  animation: oxh-rise 0.5s var(--oxh-ease) calc(var(--oxh-i, 1) * 40ms) forwards;
}

.oxh-ask {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 0.75rem;
  row-gap: 0.3rem;
  align-items: center;
  padding: 1rem 1.1rem;
  border: 0;
  background: #fff;
  text-align: left;
  cursor: pointer;
  color: var(--oxh-ink);
  font: inherit;
}

.oxh-ask::after {
  content: "";
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--oxh-mute);
  border-bottom: 2px solid var(--oxh-mute);
  transform: rotate(45deg);
  transition: transform 0.25s var(--oxh-ease);
  align-self: center;
}

.oxh-ask[aria-expanded="true"]::after {
  transform: rotate(-135deg);
  border-color: var(--oxh-coral);
}

.oxh-ask:hover,
.oxh-ask:focus-visible {
  background: #f7f9fc;
  outline: none;
}

.oxh-tag {
  grid-column: 1;
  font-family: var(--oxh-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--oxh-mute);
}

.oxh-q {
  grid-column: 1;
  font-family: var(--oxh-display);
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.28;
  color: var(--oxh-ink);
}

.oxh-ask[aria-expanded="true"] .oxh-q {
  color: var(--oxh-coral);
}

.oxh-reply {
  padding: 0 1.1rem 1.1rem;
  border-top: 1px solid rgba(20, 24, 32, 0.08);
  background: #fafbfc;
}

.oxh-a {
  padding-top: 0.9rem;
  color: #3e4754;
  font-size: 0.96rem;
  line-height: 1.55;
}

.oxh-a a {
  color: var(--oxh-ink);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.oxh-a a:hover,
.oxh-a a:focus-visible {
  color: var(--oxh-coral);
  outline: none;
}

.oxh-empty {
  margin: 0.5rem 0 0;
  padding: 1.25rem;
  text-align: center;
  color: var(--oxh-mute);
  background: #fff;
  border-radius: 0.95rem;
  border: 1px dashed rgba(20, 24, 32, 0.18);
}

.oxh-aside {
  position: sticky;
  top: 6.5rem;
  padding: 1.2rem 1.25rem 1.35rem;
  background: #fff;
  border: 1px solid rgba(20, 24, 32, 0.1);
  border-radius: 1rem;
  display: grid;
  gap: 0.7rem;
}

.oxh-aside h2 {
  margin: 0;
  font-family: var(--oxh-display);
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  color: var(--oxh-ink);
}

.oxh-aside p {
  margin: 0;
  color: var(--oxh-mute);
  font-size: 0.92rem;
}

.oxh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7rem;
  padding: 0.55rem 1.15rem;
  border-radius: 0.8rem;
  background: var(--oxh-ink);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.25s var(--oxh-ease), background 0.25s var(--oxh-ease);
}

.oxh-btn:hover,
.oxh-btn:focus-visible {
  background: var(--oxh-coral);
  transform: translateY(-2px);
  outline: none;
  color: #fff;
}

.oxh-mail,
.oxh-link {
  font-size: 0.9rem;
  color: var(--oxh-mute);
  text-decoration: underline;
  text-underline-offset: 0.15em;
  word-break: break-all;
}

.oxh-mail:hover,
.oxh-link:hover,
.oxh-mail:focus-visible,
.oxh-link:focus-visible {
  color: var(--oxh-coral);
  outline: none;
}

@keyframes oxh-rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .oxh-item {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .oxh-btn,
  .oxh-chip,
  .oxh-ask::after {
    transition: none;
  }
}

@media (max-width: 900px) {
  .oxh-layout {
    grid-template-columns: 1fr;
  }

  .oxh-aside {
    position: static;
  }

  .oxh-seek {
    width: 100%;
  }
}
