#ant-help-center-root {
  position: relative;
  z-index: 1200;
}

body.ant-help-center-open {
  overflow: hidden;
}

.ant-help-center-header-button,
.ant-help-center-canvas-button,
.ant-agent-team-help-button {
  border: 1px solid rgba(226, 180, 74, 0.54);
  color: #f8d989;
  background: rgba(78, 54, 18, 0.28);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.ant-help-center-header-button {
  min-height: 38px;
  border-radius: 999px;
  padding: 0 13px;
  white-space: nowrap;
}

.ant-help-center-canvas-button {
  position: fixed;
  z-index: 214;
  top: 18px;
  right: 18px;
  display: none;
  min-height: 36px;
  border-radius: 999px;
  padding: 0 13px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(14px);
}

body.agent-canvas-focus-mode .ant-help-center-canvas-button,
body.agent-canvas-window-mode .ant-help-center-canvas-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ant-agent-team-actions .ant-agent-team-help-button {
  width: 34px;
  min-width: 34px;
  padding: 0;
  border-radius: 50%;
  font-size: 15px;
}

.ant-help-center-header-button:hover,
.ant-help-center-header-button:focus-visible,
.ant-help-center-canvas-button:hover,
.ant-help-center-canvas-button:focus-visible,
.ant-agent-team-help-button:hover,
.ant-agent-team-help-button:focus-visible {
  border-color: #f4c760;
  color: #171108;
  background: #f4c760;
  outline: none;
}

.ant-help-center-overlay {
  position: fixed;
  z-index: 1200;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(2, 5, 10, 0.78);
  backdrop-filter: blur(12px);
  animation: ant-help-overlay-in 160ms ease-out both;
}

@keyframes ant-help-overlay-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.ant-help-center {
  box-sizing: border-box;
  width: min(1180px, calc(100vw - 48px));
  max-height: min(800px, calc(100vh - 48px));
  overflow: hidden;
  border: 1px solid rgba(226, 180, 74, 0.58);
  border-radius: 22px;
  color: #fff7e4;
  background:
    radial-gradient(circle at 82% 14%, rgba(52, 111, 165, 0.2), transparent 34%),
    linear-gradient(145deg, #111927, #171109 72%);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.64);
  animation: ant-help-panel-in 180ms ease-out both;
}

@keyframes ant-help-panel-in {
  from { opacity: 0; transform: translateY(12px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.ant-help-center-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px 16px;
  border-bottom: 1px solid rgba(226, 180, 74, 0.18);
}

.ant-help-center-head > div {
  display: grid;
  gap: 4px;
}

.ant-help-center-head span,
.ant-help-center-content > span {
  color: #e8b84e;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.ant-help-center-head h2,
.ant-help-center-content h3,
.ant-help-center-head p,
.ant-help-center-content p {
  margin: 0;
}

.ant-help-center-head h2 {
  font-size: 27px;
}

.ant-help-center-head p {
  color: #b9c4d1;
  font-size: 13px;
}

.ant-help-center-head > button {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  color: #fff7e4;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  font: inherit;
  font-size: 23px;
}

.ant-help-center-head > button:hover,
.ant-help-center-head > button:focus-visible {
  color: #171108;
  background: #f4c760;
  outline: none;
}

.ant-help-center-search {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  margin: 16px 24px;
  color: #e1cfaa;
  font-size: 12px;
  font-weight: 800;
}

.ant-help-center-search input {
  box-sizing: border-box;
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(111, 155, 196, 0.44);
  border-radius: 12px;
  padding: 0 14px;
  color: #ecf7ff;
  background: rgba(5, 18, 31, 0.82);
  font: inherit;
}

.ant-help-center-search input:focus {
  border-color: #6eb2ed;
  outline: 2px solid rgba(66, 146, 215, 0.24);
}

.ant-help-center-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.34fr) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  height: calc(min(800px, 100vh - 48px) - 165px);
  min-height: 0;
  border-top: 1px solid rgba(226, 180, 74, 0.14);
}

.ant-help-center-nav {
  display: grid;
  align-content: start;
  gap: 7px;
  overflow: auto;
  padding: 16px;
  border-right: 1px solid rgba(226, 180, 74, 0.14);
  background: rgba(3, 9, 17, 0.44);
}

.ant-help-center-nav button {
  display: grid;
  gap: 4px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 11px 12px;
  color: #e6edf5;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font: inherit;
}

.ant-help-center-nav button:hover,
.ant-help-center-nav button:focus-visible {
  border-color: rgba(92, 154, 209, 0.34);
  background: rgba(31, 69, 103, 0.35);
  outline: none;
}

.ant-help-center-nav button.is-active {
  border-color: rgba(226, 180, 74, 0.52);
  color: #fff2ce;
  background: linear-gradient(135deg, rgba(89, 61, 19, 0.75), rgba(20, 42, 63, 0.78));
}

.ant-help-center-nav small {
  color: #ad9872;
  font-size: 10px;
}

.ant-help-center-nav strong {
  font-size: 13px;
}

.ant-help-center-empty {
  margin: 12px;
  color: #aeb8c4;
  font-size: 13px;
}

.ant-help-center-content {
  overflow: auto;
  padding: 28px 32px 32px;
}

.ant-help-center-content h3 {
  margin-top: 6px;
  font-size: 25px;
}

.ant-help-center-content > p {
  margin-top: 8px;
  color: #b9c8d7;
  font-size: 14px;
  line-height: 1.65;
}

.ant-help-center-steps {
  margin-top: 24px;
}

.ant-help-center-steps h4,
.ant-help-center-sections h4 {
  margin: 0;
  color: #fff0c3;
  font-size: 16px;
}

.ant-help-center-steps ol {
  display: grid;
  gap: 11px;
  margin: 13px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: help-step;
}

.ant-help-center-steps li {
  position: relative;
  min-height: 34px;
  padding: 10px 12px 10px 52px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 13px;
  color: #eef5fb;
  background: rgba(255, 255, 255, 0.04);
  font-size: 14px;
  line-height: 1.65;
  counter-increment: help-step;
}

.ant-help-center-steps li::before {
  content: counter(help-step);
  position: absolute;
  top: 10px;
  left: 12px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #171108;
  background: linear-gradient(135deg, #f9dc8d, #d7a43b);
  font-size: 12px;
  font-weight: 900;
}

.ant-help-center-media {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.ant-help-center-media figure {
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(226, 180, 74, 0.32);
  border-radius: 16px;
  background: #05070a;
}

.ant-help-center-media img {
  display: block;
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  object-position: top center;
}

.ant-help-center-media figcaption {
  padding: 10px 13px;
  color: #c8b991;
  background: rgba(11, 14, 20, 0.92);
  font-size: 12px;
  line-height: 1.55;
}

.ant-help-center-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 18px 0 0;
}

.ant-help-center-facts > div,
.ant-help-center-live-grid > div {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 11px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.035);
}

.ant-help-center-facts dt,
.ant-help-center-live-grid span {
  color: #9fb0c0;
  font-size: 11px;
}

.ant-help-center-facts dd,
.ant-help-center-live-grid strong {
  overflow-wrap: anywhere;
  margin: 4px 0 0;
  color: #f3e3bb;
  font-size: 13px;
  line-height: 1.5;
}

.ant-help-center-sections {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.ant-help-center-sections section {
  border: 1px solid rgba(86, 146, 199, 0.26);
  border-radius: 14px;
  padding: 15px 16px;
  background: rgba(7, 32, 54, 0.34);
}

.ant-help-center-sections p {
  margin: 7px 0 0;
  color: #c3d0db;
  font-size: 13px;
  line-height: 1.65;
}

.ant-help-center-sections ul,
.ant-help-center-live-status ul {
  display: grid;
  gap: 7px;
  margin: 10px 0 0;
  padding-left: 19px;
  color: #e7edf2;
  font-size: 13px;
  line-height: 1.6;
}

.ant-help-center-live-status {
  margin-top: 18px;
  border: 1px solid rgba(226, 180, 74, 0.35);
  border-radius: 14px;
  padding: 14px;
  background: rgba(72, 48, 12, 0.23);
}

.ant-help-center-live-status.is-ready {
  border-color: rgba(76, 195, 135, 0.46);
  background: rgba(17, 78, 54, 0.24);
}

.ant-help-center-live-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ant-help-center-live-head > div {
  display: grid;
  gap: 3px;
}

.ant-help-center-live-head strong,
.ant-help-center-live-status > strong {
  color: #f8d67b;
  font-size: 14px;
}

.ant-help-center-live-head span,
.ant-help-center-live-status > p {
  margin: 0;
  color: #aebfce;
  font-size: 11px;
  line-height: 1.55;
}

.ant-help-center-live-head button,
.ant-help-center-live-status > button {
  min-height: 32px;
  border: 1px solid rgba(226, 180, 74, 0.44);
  border-radius: 9px;
  padding: 0 10px;
  color: #f5d988;
  background: rgba(86, 57, 14, 0.26);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
}

.ant-help-center-live-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.ant-help-center-live-status details {
  margin-top: 11px;
  color: #d9c79f;
  font-size: 12px;
}

.ant-help-center-note,
.ant-help-center-ai {
  margin-top: 18px;
  border: 1px solid rgba(226, 180, 74, 0.34);
  border-radius: 14px;
  padding: 13px 14px;
  background: rgba(86, 57, 14, 0.22);
}

.ant-help-center-note strong,
.ant-help-center-ai strong {
  display: block;
  color: #f7d57e;
  font-size: 13px;
}

.ant-help-center-note p {
  margin-top: 5px;
  color: #e8dcc0;
  font-size: 13px;
  line-height: 1.65;
}

.ant-help-center-ai {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-color: rgba(83, 151, 211, 0.36);
  background: rgba(10, 43, 71, 0.42);
}

.ant-help-center-ai div {
  display: grid;
  gap: 4px;
}

.ant-help-center-ai span {
  color: #bdd0df;
  font-size: 12px;
  line-height: 1.5;
}

.ant-help-center-ai button {
  flex: 0 0 auto;
  min-height: 38px;
  border: 0;
  border-radius: 10px;
  padding: 0 14px;
  color: #152031;
  background: #8cc9f4;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

@media (max-width: 760px) {
  .ant-help-center-overlay { padding: 10px; }
  .ant-help-center { width: calc(100vw - 20px); max-height: calc(100vh - 20px); border-radius: 17px; }
  .ant-help-center-head { padding: 17px 16px 13px; }
  .ant-help-center-search { grid-template-columns: 1fr; gap: 6px; margin: 12px 16px; }
  .ant-help-center-layout { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); height: calc(100vh - 166px); }
  .ant-help-center-nav { grid-auto-flow: column; grid-auto-columns: minmax(180px, 1fr); overflow-x: auto; border-right: 0; border-bottom: 1px solid rgba(226, 180, 74, 0.14); }
  .ant-help-center-content { padding: 22px 18px 26px; }
  .ant-help-center-facts,
  .ant-help-center-live-grid { grid-template-columns: 1fr; }
  .ant-help-center-media img { max-height: 240px; }
  .ant-help-center-ai { align-items: stretch; flex-direction: column; }
  .ant-help-center-canvas-button { top: 60px; right: 10px; }
}
