:root {
  --faq-ink: #17242a;
  --faq-muted: #5d696e;
  --faq-brand: #103943;
  --faq-blue: #1d527b;
  --faq-blue-dark: #153f61;
  --faq-accent: #ef6a3a;
  --faq-line: #dce5e7;
  --faq-soft: #f3f7f7;
  --faq-warm: #fff7f2;
  --faq-white: #fff;
}

html { scroll-behavior: smooth; }
.ddd-faq-page,
.ddd-faq-page * { box-sizing: border-box; }
.ddd-faq-page {
  min-width: 0;
  color: var(--faq-ink);
  background: var(--faq-white);
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
}
.ddd-faq-page button,
.ddd-faq-page input { font: inherit; }
.ddd-faq-container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.ddd-faq-eyebrow,
.ddd-faq-kicker {
  margin: 0 0 9px;
  color: var(--faq-accent);
  font-size: 14px;
  font-weight: 700;
  line-height: 22px;
  letter-spacing: 0;
}

.ddd-faq-hero {
  padding: 66px 0 54px;
  color: var(--faq-white);
  background: var(--faq-brand);
}
.ddd-faq-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, .5fr);
  gap: 72px;
  align-items: end;
}
.ddd-faq-hero h1 {
  max-width: 780px;
  margin: 0;
  color: var(--faq-white);
  font-size: 46px;
  line-height: 1.25;
  letter-spacing: 0;
}
.ddd-faq-lead {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: 17px;
  line-height: 30px;
}
.ddd-faq-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.ddd-faq-primary,
.ddd-faq-secondary {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border: 1px solid var(--faq-accent);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  line-height: 22px;
  text-decoration: none;
}
.ddd-faq-primary { color: var(--faq-white); background: var(--faq-accent); }
.ddd-faq-secondary { color: var(--faq-white); background: transparent; }
.ddd-faq-primary:hover,
.ddd-faq-primary:focus-visible { background: #d9582b; }
.ddd-faq-secondary:hover,
.ddd-faq-secondary:focus-visible { color: var(--faq-brand); background: var(--faq-white); border-color: var(--faq-white); }
.ddd-faq-hero-index {
  min-width: 0;
  padding: 3px 0 3px 34px;
  border-left: 1px solid rgba(255, 255, 255, .22);
}
.ddd-faq-hero-index > p {
  margin: 0;
  color: rgba(255, 255, 255, .64);
  font-size: 13px;
  line-height: 22px;
}
.ddd-faq-hero-index > strong {
  display: block;
  margin-top: 2px;
  color: var(--faq-white);
  font-size: 54px;
  line-height: 1.1;
}
.ddd-faq-hero-index > span {
  display: block;
  margin-top: 4px;
  color: var(--faq-white);
  font-size: 15px;
  line-height: 24px;
}
.ddd-faq-hero-index ul { margin: 18px 0 0; padding: 0; list-style: none; }
.ddd-faq-hero-index li {
  position: relative;
  margin-top: 7px;
  padding-left: 15px;
  color: rgba(255, 255, 255, .7);
  font-size: 13px;
  line-height: 22px;
}
.ddd-faq-hero-index li::before {
  position: absolute;
  top: 9px;
  left: 0;
  width: 5px;
  height: 5px;
  background: var(--faq-accent);
  border-radius: 50%;
  content: "";
}

.ddd-faq-browser {
  padding: 68px 0 78px;
  background: var(--faq-soft);
  scroll-margin-top: 18px;
}
.ddd-faq-browser-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}
.ddd-faq-browser-heading h2,
.ddd-faq-contact h2 {
  margin: 0;
  color: var(--faq-brand);
  font-size: 31px;
  line-height: 1.35;
  letter-spacing: 0;
}
.ddd-faq-browser-heading > p {
  max-width: 390px;
  margin: 0 0 3px;
  color: var(--faq-muted);
  font-size: 14px;
  line-height: 24px;
  text-align: right;
}
.ddd-faq-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: end;
  margin-top: 30px;
}
.ddd-faq-search-label {
  display: block;
  margin-bottom: 7px;
  color: var(--faq-brand);
  font-size: 13px;
  font-weight: 700;
  line-height: 21px;
}
.ddd-faq-search-box {
  display: grid;
  min-height: 50px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  overflow: hidden;
  background: var(--faq-white);
  border: 1px solid #cbd8da;
  border-radius: 4px;
}
.ddd-faq-search-box:focus-within { border-color: var(--faq-blue); box-shadow: 0 0 0 3px rgba(29, 82, 123, .12); }
.ddd-faq-search input {
  width: 100%;
  min-width: 0;
  height: 48px;
  padding: 0 16px;
  color: var(--faq-ink);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 15px;
}
.ddd-faq-search input::placeholder { color: #8a969b; }
.ddd-faq-search button {
  min-height: 34px;
  margin-right: 8px;
  padding: 5px 10px;
  color: var(--faq-blue);
  background: transparent;
  border: 0;
  border-radius: 3px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}
.ddd-faq-search button:hover,
.ddd-faq-search button:focus-visible { background: #eaf1f4; }
.ddd-faq-result {
  display: flex;
  min-width: 120px;
  align-items: baseline;
  justify-content: flex-end;
  gap: 5px;
  margin: 0 0 8px;
  color: var(--faq-muted);
  font-size: 13px;
  line-height: 22px;
}
.ddd-faq-result strong { color: var(--faq-accent); font-size: 25px; line-height: 30px; }
.ddd-faq-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}
.ddd-faq-filters button {
  min-height: 40px;
  padding: 8px 14px;
  color: var(--faq-blue);
  background: var(--faq-white);
  border: 1px solid #cbd8da;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  line-height: 22px;
}
.ddd-faq-filters button span { margin-left: 4px; color: var(--faq-muted); font-size: 12px; }
.ddd-faq-filters button:hover,
.ddd-faq-filters button:focus-visible { color: var(--faq-blue-dark); border-color: var(--faq-blue); }
.ddd-faq-filters button[aria-pressed="true"] { color: var(--faq-white); background: var(--faq-blue); border-color: var(--faq-blue); }
.ddd-faq-filters button[aria-pressed="true"] span { color: rgba(255, 255, 255, .72); }
.ddd-faq-list-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 24px;
  padding-bottom: 10px;
  border-bottom: 1px solid #cbd8da;
}
.ddd-faq-list-actions button {
  padding: 5px 0;
  color: var(--faq-blue);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  line-height: 22px;
}
.ddd-faq-list-actions button:hover,
.ddd-faq-list-actions button:focus-visible { color: var(--faq-accent); text-decoration: underline; }

.ddd-faq-group {
  display: grid;
  grid-template-columns: minmax(220px, .38fr) minmax(0, 1fr);
  gap: 56px;
  padding: 48px 0;
  border-bottom: 1px solid #cbd8da;
}
.ddd-faq-group[hidden],
.ddd-faq-page [hidden] { display: none !important; }
.ddd-faq-group-heading { display: grid; grid-template-columns: 35px minmax(0, 1fr); gap: 14px; align-items: start; }
.ddd-faq-group-heading > span { color: var(--faq-accent); font-size: 13px; font-weight: 700; line-height: 24px; }
.ddd-faq-group-heading p { margin: 0; color: var(--faq-blue); font-size: 14px; font-weight: 700; line-height: 23px; }
.ddd-faq-group-heading h2 { margin: 7px 0 0; color: var(--faq-brand); font-size: 22px; line-height: 1.45; letter-spacing: 0; }
.ddd-faq-items { min-width: 0; border-top: 1px solid #cbd8da; }
.ddd-faq-items details {
  min-width: 0;
  background: transparent;
  border-bottom: 1px solid #cbd8da;
  scroll-margin-top: 20px;
}
.ddd-faq-items details[open] { background: var(--faq-white); }
.ddd-faq-items summary {
  position: relative;
  display: flex;
  min-height: 66px;
  align-items: center;
  padding: 17px 54px 17px 18px;
  color: var(--faq-ink);
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  line-height: 27px;
  list-style: none;
}
.ddd-faq-items summary::-webkit-details-marker { display: none; }
.ddd-faq-items summary::after {
  position: absolute;
  top: 50%;
  right: 19px;
  display: inline-flex;
  width: 25px;
  height: 25px;
  align-items: center;
  justify-content: center;
  color: var(--faq-blue);
  border: 1px solid #aebfc3;
  border-radius: 50%;
  content: "+";
  font-size: 19px;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-50%);
}
.ddd-faq-items details[open] summary { color: var(--faq-blue); }
.ddd-faq-items details[open] summary::after { color: var(--faq-white); background: var(--faq-blue); border-color: var(--faq-blue); content: "−"; }
.ddd-faq-items summary:hover,
.ddd-faq-items summary:focus-visible { color: var(--faq-blue); }
.ddd-faq-answer { padding: 0 54px 21px 18px; }
.ddd-faq-answer p { margin: 0; color: var(--faq-muted); font-size: 14px; line-height: 27px; }
.ddd-faq-empty {
  margin-top: 34px;
  padding: 34px 24px;
  color: var(--faq-muted);
  background: var(--faq-white);
  border-left: 4px solid var(--faq-accent);
  text-align: center;
}
.ddd-faq-empty strong { display: block; color: var(--faq-brand); font-size: 19px; line-height: 28px; }
.ddd-faq-empty p { margin: 8px 0 0; font-size: 14px; line-height: 24px; }
.ddd-faq-empty button {
  min-height: 40px;
  margin-top: 16px;
  padding: 8px 15px;
  color: var(--faq-white);
  background: var(--faq-blue);
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
}

.ddd-faq-contact { padding: 58px 0; background: var(--faq-warm); }
.ddd-faq-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 54px;
  align-items: center;
}
.ddd-faq-contact p:last-child { max-width: 710px; margin: 13px 0 0; color: var(--faq-muted); font-size: 15px; line-height: 27px; }
.ddd-faq-contact-actions { min-width: 220px; padding-left: 28px; border-left: 1px solid #e7cdbc; }
.ddd-faq-contact-actions span,
.ddd-faq-contact-actions small { display: block; color: var(--faq-muted); font-size: 13px; line-height: 22px; }
.ddd-faq-contact-actions a { display: block; margin: 4px 0; color: var(--faq-accent); font-size: 24px; font-weight: 700; line-height: 34px; text-decoration: none; }
.ddd-faq-contact-actions a:hover,
.ddd-faq-contact-actions a:focus-visible { color: #c94e25; text-decoration: underline; }
.ddd-faq-notice { padding: 18px 0; color: #697579; background: #eef3f3; font-size: 12px; line-height: 22px; }
.ddd-faq-notice strong { color: var(--faq-brand); }

@media (max-width: 920px) {
  .ddd-faq-hero-layout { grid-template-columns: minmax(0, 1fr) 220px; gap: 38px; }
  .ddd-faq-group { grid-template-columns: minmax(180px, .3fr) minmax(0, 1fr); gap: 30px; }
}

@media (max-width: 760px) {
  .ddd-faq-container { width: min(100% - 24px, 1180px); }
  .ddd-faq-hero { padding: 45px 0 36px; }
  .ddd-faq-hero-layout { grid-template-columns: 1fr; gap: 32px; }
  .ddd-faq-hero h1 { font-size: 34px; line-height: 1.3; }
  .ddd-faq-lead { margin-top: 14px; font-size: 15px; line-height: 27px; }
  .ddd-faq-hero-actions { margin-top: 23px; }
  .ddd-faq-primary,
  .ddd-faq-secondary { flex: 1 1 138px; padding-right: 12px; padding-left: 12px; }
  .ddd-faq-hero-index { padding: 22px 0 0; border-top: 1px solid rgba(255, 255, 255, .22); border-left: 0; }
  .ddd-faq-hero-index > strong { font-size: 42px; }
  .ddd-faq-hero-index ul { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 13px; }
  .ddd-faq-hero-index li { margin-top: 0; }
  .ddd-faq-browser { padding: 47px 0 56px; }
  .ddd-faq-browser-heading { display: block; }
  .ddd-faq-browser-heading h2,
  .ddd-faq-contact h2 { font-size: 25px; line-height: 1.4; }
  .ddd-faq-browser-heading > p { margin-top: 9px; text-align: left; }
  .ddd-faq-search-row { grid-template-columns: 1fr; gap: 8px; margin-top: 24px; }
  .ddd-faq-result { justify-content: flex-start; margin: 0; }
  .ddd-faq-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .ddd-faq-filters button { width: 100%; padding-right: 8px; padding-left: 8px; }
  .ddd-faq-list-actions { justify-content: flex-start; }
  .ddd-faq-group { display: block; padding: 38px 0; }
  .ddd-faq-group-heading { margin-bottom: 20px; }
  .ddd-faq-group-heading h2 { font-size: 20px; }
  .ddd-faq-items summary { min-height: 62px; padding: 15px 47px 15px 13px; font-size: 15px; line-height: 25px; }
  .ddd-faq-items summary::after { right: 13px; }
  .ddd-faq-answer { padding: 0 14px 19px; }
  .ddd-faq-contact { padding: 45px 0; }
  .ddd-faq-contact-layout { grid-template-columns: 1fr; gap: 27px; }
  .ddd-faq-contact-actions { min-width: 0; padding: 20px 0 0; border-top: 1px solid #e7cdbc; border-left: 0; }
  .ddd-faq-contact-actions a { overflow-wrap: anywhere; }
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within { scroll-behavior: auto; }
}
