/* Scoped styles: reuse the host site's palette without affecting existing pages. */
.ddf-page {
  --ddf-border: rgba(255, 255, 255, 0.12);
  --ddf-dim: #c0b9c5;
  --ddf-panel: #191921;
}
.ddf-page [hidden] {
  display: none !important;
}
.ddf-page button,
.ddf-page a,
.ddf-page input,
.ddf-page textarea {
  -webkit-tap-highlight-color: transparent;
}
.ddf-page button:focus-visible,
.ddf-page a:focus-visible,
.ddf-page summary:focus-visible,
.ddf-page textarea:focus-visible,
.ddf-page input:focus-visible,
.ddf-page [tabindex]:focus-visible {
  outline: 3px solid #f39aaa;
  outline-offset: 4px;
}
.ddf-shell {
  padding-block: 22px 64px;
}
.ddf-mode {
  color: var(--ddf-dim);
  font-size: 0.72rem;
  padding: 10px 14px;
  border: 1px solid var(--ddf-border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
}
.ddf-hero {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 70px;
  align-items: center;
  padding: 48px 0 54px;
}
.ddf-hero h1 {
  font-size: clamp(2.9rem, 5.4vw, 4.8rem);
  line-height: 1.02;
  margin: 0 0 23px;
  letter-spacing: -0.05em;
}
.ddf-hero h1 em,
.ddf-chat-intro h2 em {
  color: var(--accent-bright, #f06f7e);
  font-family: Georgia, serif;
  font-weight: 400;
}
.ddf-lede {
  color: var(--ddf-dim);
  font-size: 1rem;
  margin-bottom: 26px;
}
.ddf-search label {
  display: block;
  font-size: 0.79rem;
  font-weight: 700;
  margin-bottom: 9px;
}
.ddf-search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px 7px 16px;
  border: 1px solid rgba(255, 255, 255, 0.21);
  border-radius: 16px;
  background: var(--ddf-panel);
}
.ddf-search-field > span {
  font-size: 1.7rem;
  color: var(--gold, #d5a15b);
}
.ddf-search input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: var(--text, #f7f2ee);
  font-size: 0.9rem;
}
.ddf-search input::placeholder,
.ddf-chat-form textarea::placeholder {
  color: #a9a1af;
  opacity: 1;
}
.ddf-search button {
  flex-shrink: 0;
  min-height: 44px;
  padding: 0 15px;
  border: 0;
  border-radius: 10px;
  background: var(--accent, #d44f62);
  font-weight: 700;
  cursor: pointer;
}
.ddf-hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 15px;
  color: var(--ddf-dim);
  font-size: 0.72rem;
}
.ddf-hero-notes strong {
  color: #f7f2ee;
}
.ddf-welcome-card {
  padding: 34px;
  border: 1px solid rgba(212, 161, 91, 0.28);
  border-radius: 24px;
  background: radial-gradient(ellipse at 90% 0%, rgba(212, 79, 98, 0.14), transparent 60%), #19171e;
}
.ddf-helper-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: 26px;
  font-size: 1.2rem;
  font-weight: 850;
  border: 1px solid rgba(212, 161, 91, 0.5);
  border-radius: 19px;
  color: #e3ba86;
  background: #31232a;
}
.ddf-helper-mark > span {
  position: absolute;
  right: -8px;
  bottom: -6px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #d44f62;
  color: #fff;
  font-size: 0.9rem;
}
.ddf-welcome-card .eyebrow {
  margin-bottom: 10px;
  font-size: 0.64rem;
}
.ddf-welcome-card h2 {
  font-size: 1.9rem;
  line-height: 1.1;
  margin-bottom: 14px;
}
.ddf-welcome-card > p:not(.eyebrow) {
  font-size: 0.86rem;
  color: var(--ddf-dim);
}
.ddf-welcome-card small {
  display: block;
  margin-top: 14px;
  font-size: 0.7rem;
  color: var(--ddf-dim);
}
.ddf-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 19px;
}
.ddf-section-head .eyebrow {
  font-size: 0.65rem;
  margin-bottom: 8px;
}
.ddf-section-head h2 {
  font-size: 1.9rem;
  margin: 0;
}
.ddf-categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.ddf-category {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 20px;
  min-height: 152px;
  border: 1px solid var(--ddf-border);
  border-radius: 16px;
  background: var(--ddf-panel);
  text-align: left;
  cursor: pointer;
  transition:
    border-color 0.16s,
    background 0.16s;
}
.ddf-category:hover,
.ddf-category[aria-pressed='true'] {
  border-color: #e28c99;
  background: #2b1d26;
}
.ddf-category-number {
  color: #e3ba86;
  font-size: 0.73rem;
  letter-spacing: 0.1em;
}
.ddf-category strong {
  font-size: 0.88rem;
}
.ddf-category-description {
  color: var(--ddf-dim);
  font-size: 0.75rem;
  line-height: 1.5;
}
.ddf-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 295px;
  gap: 45px;
  margin: 65px 0;
  scroll-margin-top: 100px;
}
.ddf-result-count {
  color: var(--ddf-dim);
  font-size: 0.79rem;
  margin-bottom: 18px;
}
.ddf-item {
  border-bottom: 1px solid var(--ddf-border);
}
.ddf-item:first-child {
  border-top: 1px solid var(--ddf-border);
}
.ddf-item summary {
  position: relative;
  padding: 22px 32px 22px 0;
  list-style: none;
  cursor: pointer;
  font-size: 0.91rem;
  font-weight: 700;
  line-height: 1.45;
}
.ddf-item summary::-webkit-details-marker {
  display: none;
}
.ddf-item summary::after {
  content: '+';
  position: absolute;
  right: 2px;
  top: 17px;
  color: #de8794;
  font-size: 1.6rem;
  font-weight: 400;
}
.ddf-item[open] summary::after {
  content: '\2212';
}
.ddf-item[open] summary {
  color: #f3acb5;
  padding-bottom: 14px;
}
.ddf-item-content {
  padding: 0 0 24px;
}
.ddf-item-content > p {
  color: #d5cdd8;
  font-size: 0.88rem;
  margin-bottom: 14px;
}
.ddf-stage {
  display: inline-block;
  padding: 5px 9px;
  margin: 0 0 12px;
  border: 1px solid #554638;
  border-radius: 7px;
  background: #31271f;
  font-size: 0.66rem;
  font-weight: 750;
  color: #f0c895;
}
.ddf-stage--beta {
  background: #22282c;
  color: #cee1e5;
  border-color: #405159;
}
.ddf-stage--both {
  background: #29243a;
  color: #d8cafa;
  border-color: #4e4266;
}
.ddf-context {
  border-left: 2px solid #c39156;
  padding: 9px 12px;
  background: rgba(213, 161, 91, 0.06);
  color: #ddc3a7 !important;
  font-size: 0.77rem !important;
  line-height: 1.65;
}
.ddf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ddf-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 13px;
  border: 1px solid rgba(240, 111, 126, 0.35);
  border-radius: 9px;
  background: rgba(212, 79, 98, 0.08);
  color: #ffc1c9;
  font-size: 0.77rem;
  text-decoration: none;
  line-height: 1.4;
  cursor: pointer;
}
.ddf-chip:hover {
  background: rgba(212, 79, 98, 0.18);
}
.ddf-inline-button {
  min-height: 44px;
  padding: 9px 0;
  color: #f7adb8;
  border: 0;
  background: none;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
}
.ddf-show-all {
  margin-top: 23px;
}
.ddf-empty {
  padding: 28px;
  border: 1px dashed var(--ddf-border);
  border-radius: 14px;
}
.ddf-empty p {
  color: var(--ddf-dim);
}
.ddf-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 8px;
}
.ddf-side-card {
  padding: 25px;
  border: 1px solid var(--ddf-border);
  border-radius: 17px;
  background: #181820;
}
.ddf-side-card--contact {
  background: #211b22;
  border-color: rgba(212, 79, 98, 0.23);
}
.ddf-overline {
  display: block;
  color: #dbb589;
  font-size: 0.65rem;
  letter-spacing: 0.11em;
  font-weight: 800;
  margin-bottom: 16px;
}
.ddf-side-card h3 {
  font-size: 1.15rem;
  line-height: 1.25;
}
.ddf-side-card p {
  color: var(--ddf-dim);
  font-size: 0.79rem;
}
.ddf-side-card p:last-child {
  margin-bottom: 0;
}
.ddf-contact-link {
  font-size: 0.82rem;
  font-weight: 750;
  color: #ffd0d5;
  overflow-wrap: anywhere;
}
.ddf-contact-link + p {
  margin-top: 18px;
}
.ddf-small {
  font-size: 0.7rem !important;
  line-height: 1.65;
  color: var(--ddf-dim);
}
.ddf-chat-section {
  display: grid;
  grid-template-columns: 0.78fr 1.3fr;
  gap: 50px;
  align-items: start;
  padding: 42px;
  border: 1px solid rgba(212, 79, 98, 0.24);
  border-radius: 24px;
  background: radial-gradient(ellipse at 0% 0%, rgba(212, 79, 98, 0.08), transparent 70%), #15141b;
  scroll-margin-top: 100px;
}
.ddf-chat-intro {
  min-width: 0;
  padding-top: 18px;
}
.ddf-chat-intro > .eyebrow {
  font-size: 0.61rem;
  line-height: 1.7;
}
.ddf-chat-intro h2 {
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  line-height: 1.04;
}
.ddf-chat-intro > p:not(.eyebrow) {
  color: var(--ddf-dim);
  font-size: 0.87rem;
}
.ddf-privacy-note {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--ddf-border);
}
.ddf-privacy-note strong {
  color: #edceaa;
  font-size: 0.78rem;
}
.ddf-privacy-note p {
  margin: 10px 0 0;
  color: var(--ddf-dim);
  font-size: 0.74rem;
}
.ddf-chat-panel {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  overflow: hidden;
  background: #101016;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
}
.ddf-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 17px;
  border-bottom: 1px solid var(--ddf-border);
  background: #1d1922;
}
.ddf-chat-identity {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ddf-chat-identity strong {
  font-size: 0.9rem;
}
.ddf-chat-identity small {
  display: block;
  margin-top: 3px;
  color: var(--ddf-dim);
  font-size: 0.66rem;
}
.ddf-mini-mark {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 11px;
  background: #693443;
  color: #ffdde4;
  font-size: 0.73rem;
  font-weight: 800;
}
.ddf-reset {
  min-height: 44px;
  border: 0;
  background: none;
  color: #d9bdc6;
  font-size: 0.68rem;
  cursor: pointer;
  padding: 7px;
}
.ddf-chat-log {
  height: 440px;
  padding: 17px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #66515e #19141c;
}
.ddf-message {
  max-width: 100%;
  padding: 15px;
  margin-bottom: 14px;
  border: 1px solid var(--ddf-border);
  border-radius: 3px 14px 14px 14px;
  background: #202029;
  overflow-wrap: anywhere;
}
.ddf-message-label {
  display: block;
  margin-bottom: 7px;
  font-size: 0.64rem;
  font-weight: 800;
  color: #edba98;
}
.ddf-message p {
  margin: 0 0 12px;
  font-size: 0.8rem;
  line-height: 1.7;
  white-space: pre-line;
}
.ddf-message p:last-child {
  margin-bottom: 0;
}
.ddf-message--user {
  margin-left: 30px;
  border-color: rgba(233, 139, 155, 0.25);
  background: #3c2330;
  border-radius: 14px 3px 14px 14px;
}
.ddf-message--user .ddf-message-label {
  color: #fac7d0;
}
.ddf-message--answer > p:first-of-type {
  font-weight: 800;
  font-size: 0.84rem;
}
.ddf-message .ddf-actions {
  margin-block: 12px;
}
.ddf-chat-menu {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}
.ddf-suggestions {
  display: grid;
  gap: 7px;
}
.ddf-choice {
  width: 100%;
  text-align: left;
  min-height: 44px;
  padding: 10px;
  border: 1px solid #61515e;
  border-radius: 8px;
  background: #2c252f;
  color: #f0dee7;
  font-size: 0.72rem;
  line-height: 1.5;
  cursor: pointer;
  overflow-wrap: anywhere;
}
.ddf-choice:hover {
  border-color: #f0acb7;
  background: #382936;
}
.ddf-feedback {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 15px;
  padding-top: 10px;
  border-top: 1px solid var(--ddf-border);
  color: var(--ddf-dim);
  font-size: 0.7rem;
}
.ddf-feedback-button {
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid #655866;
  border-radius: 7px;
  background: transparent;
  color: #f0dee7;
  cursor: pointer;
  font-size: 0.71rem;
}
.ddf-chat-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 17px;
  border-top: 1px solid var(--ddf-border);
  font-size: 0.66rem;
  color: var(--ddf-dim);
}
.ddf-chat-form {
  display: flex;
  gap: 9px;
  padding: 0 15px 12px;
  align-items: end;
}
.ddf-chat-form textarea {
  resize: vertical;
  min-width: 0;
  width: 100%;
  max-height: 130px;
  min-height: 58px;
  padding: 12px;
  border: 1px solid #5c4d5c;
  border-radius: 12px;
  background: #1c1921;
  color: #fff;
  font-size: 0.85rem;
  line-height: 1.45;
}
.ddf-chat-form button {
  flex-shrink: 0;
  width: 47px;
  height: 54px;
  border: 0;
  border-radius: 12px;
  background: #d44f62;
  color: #fff;
  font-weight: 800;
  font-size: 1.5rem;
  cursor: pointer;
}
.ddf-input-note {
  margin: 0;
  padding: 0 17px 16px;
  color: #b5aab8;
  font-size: 0.62rem;
  line-height: 1.7;
}
.ddf-editorial-note {
  max-width: 850px;
  margin: 30px auto 0;
  text-align: center;
  font-size: 0.67rem;
  color: #b6a8b7;
}
.ddf-launcher {
  position: fixed;
  right: 22px;
  bottom: 25px;
  z-index: 950;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid #a55868;
  border-radius: 999px;
  background: #351e29;
  color: #ffe2e7;
  box-shadow: 0 5px 22px rgba(0, 0, 0, 0.28);
  font-size: 0.8rem;
  font-weight: 800;
}
.ddf-launcher[aria-current='page'] {
  display: none;
}
@media (max-width: 1000px) {
  .ddf-hero {
    gap: 30px;
  }
  .ddf-categories {
    grid-template-columns: repeat(2, 1fr);
  }
  .ddf-body {
    grid-template-columns: minmax(0, 1fr) 255px;
    gap: 25px;
  }
  .ddf-chat-section {
    padding: 28px;
    gap: 28px;
    grid-template-columns: 0.8fr 1.3fr;
  }
  .ddf-chat-intro h2 {
    font-size: 2.2rem;
  }
}
@media (max-width: 760px) {
  .ddf-shell {
    width: calc(100% - 32px);
    padding-top: 16px;
  }
  .ddf-mode {
    font-size: 0.66rem;
    line-height: 1.5;
  }
  .ddf-hero {
    grid-template-columns: 1fr;
    padding: 30px 0;
    gap: 24px;
  }
  .ddf-hero h1 {
    font-size: 3.1rem;
  }
  .ddf-hero .eyebrow {
    font-size: 0.65rem;
  }
  .ddf-welcome-card {
    padding: 23px;
  }
  .ddf-helper-mark {
    width: 45px;
    height: 45px;
    margin-bottom: 16px;
    font-size: 1rem;
  }
  .ddf-welcome-card h2 {
    font-size: 1.5rem;
  }
  .ddf-welcome-card h2 br {
    display: none;
  }
  .ddf-welcome-card p {
    max-width: 480px;
  }
  .ddf-lede {
    font-size: 0.92rem;
  }
  .ddf-search-field {
    padding-left: 11px;
    gap: 6px;
  }
  .ddf-search button {
    font-size: 0.76rem;
    padding: 0 12px;
  }
  .ddf-search input {
    font-size: 0.82rem;
  }
  .ddf-hero-notes {
    font-size: 0.66rem;
    gap: 9px;
  }
  .ddf-section-head h2 {
    font-size: 1.65rem;
  }
  .ddf-category {
    padding: 16px;
    min-height: 142px;
  }
  .ddf-category strong {
    font-size: 0.83rem;
  }
  .ddf-category-description {
    font-size: 0.72rem;
  }
  .ddf-body {
    grid-template-columns: 1fr;
    margin: 38px 0;
  }
  .ddf-side {
    padding-top: 0;
  }
  .ddf-side-card {
    padding: 22px;
  }
  .ddf-chat-section {
    grid-template-columns: minmax(0, 1fr);
    padding: 20px 12px 12px;
    gap: 24px;
    border-radius: 19px;
  }
  .ddf-chat-intro {
    padding: 5px 8px 0;
  }
  .ddf-chat-intro h2 {
    font-size: 2.7rem;
  }
  .ddf-chat-intro h2 br {
    display: none;
  }
  .ddf-chat-intro h2 br::after {
    content: ' ';
  }
  .ddf-privacy-note {
    margin-top: 19px;
    padding-top: 15px;
  }
  .ddf-chat-log {
    padding: 12px;
    height: 430px;
  }
  .ddf-message {
    padding: 12px;
  }
  .ddf-chat-header {
    padding: 12px;
  }
  .ddf-chat-identity small {
    font-size: 0.61rem;
  }
  .ddf-reset {
    padding: 3px;
    font-size: 0.64rem;
  }
  .ddf-mini-mark {
    width: 30px;
    height: 30px;
  }
  .ddf-chat-form {
    padding-inline: 12px;
  }
  .ddf-chat-form textarea {
    font-size: 16px;
  }
  .ddf-chat-menu {
    gap: 6px;
  }
  .ddf-choice {
    font-size: 0.7rem;
  }
  .ddf-launcher {
    bottom: 86px;
    right: 15px;
    font-size: 0.74rem;
  }
  .ddf-editorial-note {
    font-size: 0.65rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .ddf-page * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

.ddf-chat-identity {
  min-width: 0;
}
.ddf-chat-identity small {
  white-space: normal;
}
.ddf-chat-header .ddf-reset {
  flex-shrink: 0;
}

.ddf-shell {
  width: min(1220px, calc(100% - 40px));
  margin-inline: auto;
}
.ddf-page {
  display: block;
  --accent: #b73861;
  --accent-bright: #e990ad;
  --gold: #d5a15b;
}
.ddf-page p {
  line-height: 1.65;
}
.ddf-page button {
  color: #fff;
}
.ddf-page .button {
  width: auto;
}
.ddf-stage {
  font-family: inherit;
}
.ddf-page .ddf-editorial-note {
  display: none;
}
.faq-admin-content {
  max-width: 1220px;
  margin: 0 auto;
  padding: 24px 20px;
}
.faq-admin-content:has(#help-content:empty) {
  display: none;
}
