body.dt-app,
body.dt-app * {
  box-sizing: border-box;
}
html, body {
  min-height: 100%;
}
body.dt-app {
  margin: 0;
  font-family: Arial, sans-serif;
  line-height: 1.4;
  background: #f3f5f1;
  color: #1f2a1f;
}
body.dt-app button,
body.dt-app input,
body.dt-app textarea,
body.dt-app select {
  font: inherit;
  color: inherit;
}
body.dt-app button {
  -webkit-appearance: none;
  appearance: none;
}
body.dt-app a {
  color: inherit;
}
body.dt-app.has-advisor-open {
  overflow: hidden;
}
body.dt-app.is-embed {
  background: transparent;
}
body.dt-app.is-section-embed {
  background: transparent;
}
:root {
  --panel-height: calc(100vh - 140px);
  --panel-min-height: 720px;
}
.app-shell {
  min-height: 100vh;
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.app-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.app-title { font-size: 28px; font-weight: 700; }
.app-subtitle { margin-top: 6px; color: #556255; font-size: 14px; }
.app-body {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 20px;
  align-items: start;
}
.content-panel, .chat-panel {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 14px 36px rgba(0,0,0,0.07);
  overflow: hidden;
}
.content-panel {
  height: var(--panel-height);
  min-height: var(--panel-min-height);
  max-height: var(--panel-height);
  overflow-y: auto;
  padding: 18px;
  background:
    radial-gradient(circle at top left, rgba(31,122,61,0.08), transparent 24%),
    linear-gradient(180deg, #fdfefd 0%, #fbfcfa 100%);
}
.chat-panel {
  display: flex;
  flex-direction: column;
  height: var(--panel-height);
  min-height: var(--panel-min-height);
  max-height: var(--panel-height);
  position: sticky;
  top: 24px;
}
.advisor-fab {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px 14px 14px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #1f7a3d 0%, #2f9250 100%);
  color: #fff;
  box-shadow: 0 18px 40px rgba(31,122,61,0.28);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
body.dt-app.is-section-embed .advisor-fab {
  display: none;
}
.advisor-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(31,122,61,0.32);
}
.advisor-fab__icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.2);
  font-size: 18px;
  font-weight: 800;
}
.advisor-fab__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}
.advisor-fab__text strong {
  font-size: 14px;
  font-weight: 800;
}
.advisor-fab__text small {
  margin-top: 3px;
  color: rgba(255,255,255,0.78);
  font-size: 11px;
  font-weight: 600;
}
.advisor-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
}
.advisor-overlay.is-open {
  pointer-events: auto;
}
body.dt-app.is-embed .app-shell,
body.dt-app.is-embed .advisor-fab {
  display: none;
}
body.dt-app.is-embed .advisor-overlay {
  position: static;
  inset: auto;
  display: block;
  pointer-events: auto;
  height: 100vh;
  width: 100%;
}
body.dt-app.is-embed .advisor-overlay__backdrop {
  display: none;
}
body.dt-app.is-embed .advisor-modal {
  position: relative;
  left: 0;
  right: auto;
  bottom: auto;
  width: 100%;
  height: 100vh;
  max-height: none;
  min-height: 100vh;
  border: none;
  border-radius: 0;
  box-shadow: none;
  opacity: 1;
  transform: none;
  transform-origin: center;
  background: #f6f9f4;
}
body.dt-app.is-embed .advisor-modal__content {
  padding: 0;
  height: calc(100vh - 77px);
  min-height: 0;
}
body.dt-app.is-embed .advisor-modal__header {
  padding: 16px 18px;
  background: #f6f9f4;
  border-bottom-color: #dde7da;
  position: sticky;
  top: 0;
  z-index: 2;
}
body.dt-app.is-embed .advisor-modal__layout {
  display: block;
  height: 100%;
  min-height: 0;
  width: 100%;
}
body.dt-app.is-embed .advisor-modal__panel,
body.dt-app.is-embed .advisor-chat-panel {
  height: 100%;
  min-height: 0;
  width: 100%;
}
body.dt-app.is-embed .advisor-chat-panel {
  border: none;
  border-radius: 0;
  background: #f6f9f4;
}
body.dt-app.is-embed .advisor-modal__panel {
  padding: 0 18px 18px;
  overflow-y: auto;
}
body.dt-app.is-embed .advisor-chat-panel__header,
body.dt-app.is-embed .advisor-chat-panel__footer {
  background: #f6f9f4;
}
body.dt-app.is-embed .advisor-chat-messages {
  padding: 18px;
  background: #f6f9f4;
  overflow-y: auto;
}
body.dt-app.is-embed .advisor-modal__close {
  background: #fff;
}
.advisor-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 35, 26, 0.34);
  opacity: 0;
  transition: opacity 220ms ease;
}
.advisor-overlay.is-open .advisor-overlay__backdrop {
  opacity: 1;
}
.advisor-modal {
  position: absolute;
  right: 28px;
  bottom: 96px;
  width: min(680px, calc(100vw - 32px));
  height: min(820px, calc(100vh - 132px));
  max-height: calc(100vh - 132px);
  display: flex;
  flex-direction: column;
  min-height: 0;
  border: 1px solid #dbe6d8;
  border-radius: 26px;
  background: linear-gradient(180deg, #fdfefd 0%, #f9fbf8 100%);
  box-shadow: 0 28px 70px rgba(21, 31, 22, 0.24);
  overflow: hidden;
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  transform-origin: bottom right;
  transition: opacity 220ms ease, transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}
.advisor-overlay.is-open .advisor-modal {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.advisor-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid #e5ece2;
  background:
    radial-gradient(circle at top left, rgba(31,122,61,0.1), transparent 30%),
    linear-gradient(180deg, #fbfdf9 0%, #f4f8f2 100%);
}
.advisor-modal__eyebrow {
  color: #617061;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.advisor-modal__title {
  margin-top: 4px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.advisor-modal__close {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border: 1px solid #d8e3d5;
  border-radius: 12px;
  background: rgba(255,255,255,0.9);
  color: #405040;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.advisor-modal__content {
  flex: 1;
  padding: 18px;
  overflow: hidden;
  min-height: 0;
}
.advisor-modal__layout {
  display: block;
  height: 100%;
  min-height: 620px;
}
.advisor-modal__panel {
  min-width: 0;
  height: 100%;
  overflow-y: auto;
}
.advisor-chat-panel {
  min-width: 0;
  display: none;
  height: 100%;
  min-height: 0;
  flex-direction: column;
  border: 1px solid #e2e9df;
  border-radius: 22px;
  background: #fbfcfa;
  overflow: hidden;
}
.advisor-chat-panel__header {
  padding: 10px 18px;
  border-bottom: 1px solid #e5ece2;
  background: linear-gradient(180deg, #fcfefb 0%, #f5f9f3 100%);
}
.advisor-chat-messages {
  flex: 1;
  min-height: 0;
  padding: 16px;
  overflow-y: auto;
}
.advisor-chat-panel__footer {
  display: flex;
  justify-content: flex-end;
  padding: 14px 16px 16px;
  border-top: 1px solid #e5ece2;
  background: #fff;
}
.advisor-overlay[data-advisor-mode="reply"] .advisor-modal__panel {
  display: none;
}
.advisor-overlay[data-advisor-mode="reply"] .advisor-chat-panel {
  display: flex;
}
.advisor-overlay[data-advisor-mode="form"] .advisor-chat-panel,
.advisor-overlay[data-advisor-mode="loading"] .advisor-chat-panel {
  display: none;
}
.advisor-overlay[data-advisor-mode="form"] .advisor-modal__panel,
.advisor-overlay[data-advisor-mode="loading"] .advisor-modal__panel {
  display: block;
}
body.dt-app .chat-panel__header {
  padding: 18px 20px;
  border-bottom: 1px solid #e7ece5;
  background: #f8fbf7;
}
body.dt-app .chat-panel__title { font-weight: 700; }
body.dt-app .chat-panel__subtitle { margin-top: 4px; font-size: 13px; color: #607060; }
body.dt-app .section-title { font-size: 24px; font-weight: 800; margin-bottom: 6px; letter-spacing: -0.02em; }
body.dt-app .section-subtitle { color: #5e6b5e; margin-bottom: 14px; line-height: 1.5; max-width: 64ch; }
body.dt-app .content-hero {
  position: relative;
  margin-bottom: 12px;
  padding: 0;
  border: none;
  background: transparent;
}
body.dt-app .content-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f1f5ef;
  color: #5e6d5e;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
body.dt-app .content-hero .section-title {
  font-size: 21px;
  margin-bottom: 4px;
}
body.dt-app .content-hero .section-subtitle {
  margin-bottom: 0;
  max-width: 58ch;
  font-size: 13px;
  line-height: 1.45;
}
body.dt-app .menu-grid, body.dt-app .faq-grid, body.dt-app .options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
body.dt-app .menu-card, body.dt-app .faq-card, body.dt-app .option-card, body.dt-app .result-card, body.dt-app .form-card {
  border: 1px solid #e3e9e1;
  border-radius: 16px;
  background: #fff;
}
body.dt-app .menu-card, body.dt-app .faq-card, body.dt-app .option-card {
  padding: 15px;
  cursor: pointer;
  text-align: left;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}
body.dt-app .menu-card:hover, body.dt-app .faq-card:hover, body.dt-app .option-card:hover {
  transform: translateY(-2px);
  border-color: #1f7a3d;
  box-shadow: 0 14px 26px rgba(31,122,61,0.1);
}
.menu-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.menu-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  background: #f1f6ef;
  color: #2d4d2d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.menu-card__kicker {
  color: #708070;
  font-size: 12px;
  font-weight: 600;
}
.menu-card__title, .faq-card__title, .option-card__title {
  font-weight: 800;
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.menu-card__desc, .faq-card__desc, .option-card__desc {
  color: #5a665a;
  font-size: 13px;
  line-height: 1.45;
}
.menu-card__cta {
  margin-top: 10px;
  color: #1f7a3d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.menu-card--featured {
  grid-column: span 2;
  border-color: #bfd6c0;
  background:
    radial-gradient(circle at top right, rgba(31,122,61,0.14), transparent 24%),
    linear-gradient(135deg, #f5fbf3 0%, #eef7ec 52%, #fbfcfa 100%);
  box-shadow: 0 18px 34px rgba(31,122,61,0.12);
}
.menu-card--featured .menu-card__badge {
  background: #1f7a3d;
  color: #fff;
}
.menu-card--featured .menu-card__title {
  font-size: 20px;
}
.menu-card--featured .menu-card__cta {
  font-size: 12px;
}
.faq-card__desc { display: none; }
.faq-card, .option-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfa 100%);
}
.faq-card__title, .option-card__title {
  font-size: 17px;
}
.advisor-shell {
  display: grid;
  gap: 10px;
}
.advisor-shell--result {
  gap: 12px;
}
.advisor-header-card,
.advisor-step-card {
  border: 1px solid #e1e9df;
  border-radius: 18px;
  background: #fff;
}
.advisor-header-card {
  padding: 14px 16px;
  background:
    radial-gradient(circle at top right, rgba(31,122,61,0.1), transparent 24%),
    linear-gradient(180deg, #fcfefb 0%, #f7faf6 100%);
}
.advisor-header-card--result {
  background:
    radial-gradient(circle at top right, rgba(31,122,61,0.14), transparent 24%),
    linear-gradient(180deg, #f9fdf8 0%, #f1f8ee 100%);
}
.advisor-header-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.advisor-header-card__subtitle {
  max-width: 54ch;
  margin-bottom: 0;
}
.advisor-header-card__subtitle span {
  display: block;
  margin-top: 4px;
  color: #2f4b31;
  font-weight: 700;
}
.advisor-progress__count {
  flex-shrink: 0;
  padding: 8px 12px;
  border-radius: 999px;
  background: #eef5eb;
  color: #305230;
  font-size: 12px;
  font-weight: 800;
}
.advisor-progress {
  margin-top: 8px;
}
.advisor-progress--done {
  margin-top: 12px;
}
.advisor-progress__bar {
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: #e8efe6;
}
.advisor-progress__bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1f7a3d 0%, #36a55a 100%);
  transition: width 320ms ease;
}
.advisor-progress__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
  color: #5d6b5d;
  font-size: 11px;
  font-weight: 600;
}
.advisor-summary-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 10px;
}
.advisor-summary-mini--result {
  margin-top: 12px;
}
.advisor-summary-mini__label {
  color: #5d6b5d;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.advisor-summary-mini__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #f1f6ef;
  color: #294029;
  font-size: 12px;
  line-height: 1.2;
}
.advisor-summary-mini--result .advisor-summary-mini__chip {
  padding: 7px 10px;
}
.advisor-summary-mini__chip small {
  color: #617061;
  font-size: 11px;
  font-weight: 700;
}
.advisor-summary-mini__chip strong {
  font-weight: 800;
}
.advisor-summary-mini__empty {
  color: #6a776a;
  font-size: 12px;
}
.advisor-step-card {
  padding: 12px 14px;
}
.advisor-step-card--result {
  padding: 14px 16px;
}
.advisor-step-card__eyebrow {
  color: #1f7a3d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.advisor-step-card__title {
  margin-top: 6px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.advisor-step-card__hint {
  margin-top: 4px;
  color: #5c685c;
  font-size: 13px;
  line-height: 1.4;
}
.advisor-options-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.advisor-options-grid .option-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-color: #dfe8dd;
}
.advisor-options-grid .option-card__title {
  font-size: 16px;
  margin-bottom: 0;
}
.advisor-options-grid .option-card:hover {
  background:
    radial-gradient(circle at top right, rgba(31,122,61,0.08), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f8fbf7 100%);
}
body.dt-app .breadcrumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  color: #627062;
  font-size: 13px;
}
body.dt-app .breadcrumbs button, body.dt-app .ghost-btn, body.dt-app .pill-btn {
  border: 1px solid #d6e2d4;
  background: #fff;
  color: #1f7a3d;
  border-radius: 999px;
  cursor: pointer;
}
body.dt-app .ghost-btn { padding: 10px 16px; font-weight: 600; }
body.dt-app .pill-btn { padding: 8px 14px; font-weight: 600; }
body.dt-app .inline-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
body.dt-app .inline-actions--advisor-result { margin-top: 2px; }
body.dt-app .form-card, body.dt-app .result-card { padding: 18px; }
.advisor-loading {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  min-height: 420px;
  margin-top: 8px;
  padding: 28px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(31,122,61,0.16), transparent 34%),
    radial-gradient(circle at bottom right, rgba(173,126,55,0.16), transparent 30%),
    linear-gradient(135deg, #f5fbf3 0%, #eef6eb 52%, #f8fbf7 100%);
  border: 1px solid #dbe8d8;
}
.advisor-loading__hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.advisor-loading__badge {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(31,122,61,0.1);
  color: #1f7a3d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.advisor-loading__orb {
  position: relative;
  width: 168px;
  height: 168px;
  display: grid;
  place-items: center;
}
.advisor-loading__orb-core {
  position: relative;
  z-index: 2;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #1f7a3d 0%, #2b9450 100%);
  color: #fff;
  font-size: 38px;
  font-weight: 800;
  box-shadow: 0 18px 34px rgba(31,122,61,0.24);
  animation: advisorFloat 2.4s ease-in-out infinite;
}
.advisor-loading__orb span {
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  border: 1px solid rgba(31,122,61,0.18);
  animation: advisorPulse 2.8s ease-out infinite;
}
.advisor-loading__orb span:nth-child(2) { animation-delay: 0.35s; }
.advisor-loading__orb span:nth-child(3) { animation-delay: 0.7s; }
.advisor-loading__orb span:nth-child(4) { animation-delay: 1.05s; }
.advisor-loading__content .section-title {
  margin-bottom: 12px;
}
.advisor-loading__content .section-subtitle {
  max-width: 560px;
  margin-bottom: 18px;
}
.advisor-loading__steps {
  display: grid;
  gap: 12px;
}
.advisor-loading__step {
  position: relative;
  padding: 14px 16px 14px 48px;
  border-radius: 16px;
  background: rgba(255,255,255,0.8);
  border: 1px solid #deeadb;
  color: #2b352b;
  font-weight: 600;
  opacity: 0.45;
  transform: translateX(0);
  box-shadow: 0 8px 18px rgba(31,122,61,0);
  transition:
    opacity 420ms ease,
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 420ms ease,
    background-color 420ms ease,
    box-shadow 520ms ease;
}
.advisor-loading__step.is-done,
.advisor-loading__step.is-current {
  opacity: 1;
  border-color: #b9d8bf;
  background: rgba(255,255,255,0.98);
}
.advisor-loading__step.is-current {
  transform: translateX(6px);
  box-shadow: 0 14px 24px rgba(31,122,61,0.08);
}
.advisor-loading__step::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  border-radius: 50%;
  background: #9bb59d;
  transform: scale(0.92);
  box-shadow: 0 0 0 0 rgba(31,122,61,0);
  transition:
    background-color 320ms ease,
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 420ms ease;
}
.advisor-loading__step.is-done::before {
  background: #1f7a3d;
  transform: scale(1);
}
.advisor-loading__step.is-current::before {
  background: #1f7a3d;
  transform: scale(1.06);
  box-shadow: 0 0 0 0 rgba(31,122,61,0.28);
  animation: advisorDotPulse 1.6s ease-in-out infinite;
}
body.dt-app .form-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
body.dt-app .form-row label { font-weight: 600; }
body.dt-app .form-row input {
  height: 46px;
  border: 1px solid #d6ddd4;
  border-radius: 12px;
  padding: 0 14px;
  font-size: 14px;
}
body.dt-app .primary-btn {
  height: 46px;
  padding: 0 18px;
  border: none;
  border-radius: 12px;
  background: #1f7a3d;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
body.dt-app .primary-btn:disabled { opacity: 0.6; cursor: not-allowed; }
body.dt-app .result-card__title { font-weight: 700; margin-bottom: 10px; }
body.dt-app .result-card__body { white-space: pre-wrap; line-height: 1.6; color: #273227; }
body.dt-app .helper-text { font-size: 13px; color: #5c685c; line-height: 1.5; }
body.dt-app .chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  background: #fafcf9;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
body.dt-app .message {
  max-width: 88%;
  padding: 12px 14px;
  border-radius: 14px;
  line-height: 1.45;
  font-size: 14px;
  white-space: pre-wrap;
}
body.dt-app .message.user { align-self: flex-end; background: #1f7a3d; color: #fff; }
body.dt-app .message.bot { align-self: flex-start; background: #fff; border: 1px solid #e5ece4; }
body.dt-app .message.system { align-self: center; background: transparent; color: #7a867a; font-size: 12px; padding: 0; }
body.dt-app .message.typing {
  align-self: flex-start;
  background: #fff;
  border: 1px solid #e5ece4;
  color: #5c685c;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
body.dt-app .typing-dots {
  display: inline-flex;
  gap: 4px;
}
body.dt-app .typing-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7b8c7b;
  animation: typingBounce 1.1s infinite ease-in-out;
}
body.dt-app .typing-dots span:nth-child(2) { animation-delay: 0.15s; }
body.dt-app .typing-dots span:nth-child(3) { animation-delay: 0.3s; }
body.dt-app .message.product-card { display: flex; flex-direction: column; gap: 8px; }
body.dt-app .message.product-card img { width: 100%; border-radius: 12px; object-fit: cover; }
body.dt-app .product-card__caption { display: flex; justify-content: space-between; gap: 8px; font-weight: 700; }
body.dt-app .product-card__price { color: #1f7a3d; }
body.dt-app .message.link-card { padding: 0; border: none; background: transparent; }
body.dt-app .message.link-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 10px 16px;
  border-radius: 12px;
  text-decoration: none;
  background: #1f7a3d;
  color: #fff;
  font-weight: 700;
}
body.dt-app .chat-form {
  display: flex;
  gap: 10px;
  padding: 14px;
  border-top: 1px solid #e7ece5;
  background: #fff;
}
body.dt-app .chat-form input {
  flex: 1;
  min-width: 0;
  height: 46px;
  border: 1px solid #d6ddd4;
  border-radius: 12px;
  padding: 0 14px;
  font-size: 14px;
}
body.dt-app .suggestion-list, body.dt-app .quick-links { border: none; background: transparent; padding: 0; }
body.dt-app .suggestion-list__grid, body.dt-app .quick-links__grid { display: flex; flex-direction: column; gap: 10px; }
body.dt-app .suggestion-card {
  border: 1px solid #e0e6de;
  border-radius: 12px;
  padding: 10px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) minmax(132px, 168px);
  grid-template-areas:
    "image name button"
    "image price button";
  gap: 8px 12px;
  align-items: center;
  background: #fff;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 420ms ease, transform 520ms ease;
}
body.dt-app .suggestion-card--enter {
  opacity: 0;
  transform: translateY(16px);
}
body.dt-app .suggestion-card img {
  grid-area: image;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
}
body.dt-app .suggestion-card__name {
  grid-area: name;
  min-width: 0;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
body.dt-app .suggestion-card__price {
  grid-area: price;
  color: #1f7a3d;
  font-weight: 700;
  white-space: nowrap;
}
body.dt-app .suggestion-card__btn, body.dt-app .quick-link-btn {
  border: 1px solid #1f7a3d;
  background: #fff;
  color: #1f7a3d;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 700;
  cursor: pointer;
}
body.dt-app .suggestion-card__btn {
  grid-area: button;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px 10px;
  font-size: 12px;
}
body.dt-app .hidden { display: none !important; }
@keyframes typingBounce {
  0%, 80%, 100% { transform: scale(0.7); opacity: 0.45; }
  40% { transform: scale(1); opacity: 1; }
}
@keyframes advisorPulse {
  0% { transform: scale(0.72); opacity: 0; }
  35% { opacity: 0.32; }
  100% { transform: scale(1.06); opacity: 0; }
}
@keyframes advisorFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes advisorDotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(31,122,61,0.12); transform: scale(1); }
  50% { box-shadow: 0 0 0 10px rgba(31,122,61,0); transform: scale(1.12); }
}
@media (max-width: 960px) {
  .app-body { grid-template-columns: 1fr; }
  .content-panel, .chat-panel { min-height: auto; max-height: none; height: auto; position: static; }
  .advisor-fab {
    right: 16px;
    bottom: 16px;
    padding-right: 14px;
  }
  .advisor-fab__text small {
    display: none;
  }
  .advisor-modal {
    right: 12px;
    left: 12px;
    bottom: 84px;
    width: auto;
    height: calc(100vh - 104px);
    max-height: calc(100vh - 104px);
    border-radius: 22px;
    transform-origin: bottom center;
  }
  .advisor-modal__header,
  .advisor-modal__content {
    padding-left: 16px;
    padding-right: 16px;
  }
  .advisor-modal__layout {
    min-height: auto;
  }
  .advisor-modal__panel {
    overflow-y: auto;
  }
  .advisor-chat-panel {
    min-height: 260px;
  }
  .advisor-loading {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 16px;
    gap: 14px;
  }
  body.dt-app .advisor-loading__hero {
    gap: 12px;
  }
  body.dt-app .advisor-loading__badge {
    padding: 6px 12px;
    font-size: 11px;
  }
  body.dt-app .advisor-loading__orb {
    width: 116px;
    height: 116px;
  }
  body.dt-app .advisor-loading__orb-core {
    width: 68px;
    height: 68px;
    font-size: 28px;
  }
  body.dt-app .advisor-loading__content .section-title {
    font-size: 21px;
    margin-bottom: 8px;
  }
  body.dt-app .advisor-loading__content .section-subtitle {
    margin-bottom: 12px;
    font-size: 12px;
    line-height: 1.4;
  }
  body.dt-app .advisor-loading__steps {
    gap: 8px;
  }
  body.dt-app .advisor-loading__step {
    padding: 11px 12px 11px 40px;
    border-radius: 14px;
    font-size: 13px;
  }
  body.dt-app .advisor-loading__step::before {
    left: 14px;
    width: 14px;
    height: 14px;
    margin-top: -7px;
  }
  .menu-card--featured {
    grid-column: span 1;
  }
  .advisor-header-card__top,
  .advisor-progress__meta {
    flex-direction: column;
  }
  .advisor-progress__count {
    text-align: left;
  }
  body.dt-app .advisor-summary-mini {
    display: none;
  }
  body.dt-app .advisor-header-card,
  body.dt-app .advisor-header-card--result {
    padding: 12px 12px 10px;
    border-radius: 16px;
  }
  body.dt-app .advisor-header-card .section-title,
  body.dt-app .advisor-header-card--result .section-title {
    font-size: 20px;
    margin-bottom: 4px;
  }
  body.dt-app .advisor-header-card .section-subtitle,
  body.dt-app .advisor-header-card--result .section-subtitle {
    margin-bottom: 8px;
    font-size: 12px;
    line-height: 1.4;
  }
  body.dt-app .advisor-progress__count {
    padding: 6px 10px;
    font-size: 11px;
  }
  body.dt-app .advisor-progress {
    margin-top: 6px;
  }
  body.dt-app .advisor-progress__bar {
    height: 6px;
  }
  body.dt-app .advisor-progress__meta {
    margin-top: 5px;
    font-size: 10px;
    gap: 6px;
  }
  body.dt-app .advisor-progress__meta span:last-child {
    display: none;
  }
  body.dt-app .suggestion-card {
    grid-template-columns: 44px minmax(0, 1fr);
    grid-template-areas:
      "image name"
      "image price"
      "button button";
    gap: 8px 10px;
    align-items: start;
    padding: 10px;
  }
  body.dt-app .suggestion-card img {
    grid-area: image;
    width: 44px;
    height: 44px;
  }
  body.dt-app .suggestion-card__name {
    grid-area: name;
    font-size: 12px;
    line-height: 1.3;
  }
  body.dt-app .suggestion-card__price {
    grid-area: price;
    font-size: 13px;
  }
  body.dt-app .suggestion-card__btn {
    grid-area: button;
    width: 100%;
    justify-content: center;
    padding: 9px 12px;
    font-size: 13px;
  }
}
