.dt360-calculator-start {
  max-width: 100%;
  display: block;
  padding: clamp(20px, 4vw, 38px);
  border: 1px solid var(--dt360-border);
  border-radius: var(--dt360-radius);
  background:
    linear-gradient(
      180deg,
      var(--dt360-panel-strong),
      var(--dt360-panel)
    );
  box-shadow: var(--dt360-shadow);
}

.dt360-calculator-kicker {
  margin: 0 0 12px;
  color: var(--dt360-text-soft);
  font-family: Aldrich, Space Grotesk, system-ui, sans-serif;
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

#calculator-start-title {
  margin: 0 0 12px;
  color: var(--dt360-text-primary);
  font-family:
    Space Grotesk,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.62;
  font-weight: 700;
  letter-spacing: 0;
}

.dt360-calculator-summary {
  margin: 0 0 1lh;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.dt360-calculator-summary li {
  display: flex;
  min-width: 0;
  gap: 12px;
  align-items: flex-start;
  color: var(--dt360-text-soft);
  font-size: 16px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.dt360-calculator-summary li::before {
  content: "✓";
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--dt360-success-border);
  border-radius: 999px;
  background: var(--dt360-success-bg);
  color: var(--dt360-success-green);
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
}

.dt360-calculator-prefill-note {
  margin: 0 0 1lh;
  color: var(--dt360-text-soft);
  font-size: 16px;
  line-height: 1.62;
  white-space: pre-line;
}

.dt360-calculator-validation {
  margin: 0 0 1lh;
  padding: 16px 0;
  border-top: 1px solid var(--dt360-border-soft);
  border-bottom: 1px solid var(--dt360-border-soft);
}

.dt360-calculator-validation-kicker {
  margin: 0 0 6px;
  color: var(--dt360-text-soft);
  font-family: Aldrich, Space Grotesk, system-ui, sans-serif;
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

#calculator-validation-title {
  margin: 0 0 6px;
  color: var(--dt360-text-primary);
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
}

.dt360-calculator-validation-text {
  margin: 0;
  color: var(--dt360-text-soft);
  font-size: 15px;
  line-height: 1.55;
}

.dt360-calculator-validation-details {
  margin-top: 14px;
}

.dt360-calculator-validation-details summary {
  cursor: pointer;
  color: var(--dt360-text-primary);
  font-size: 15px;
  line-height: 1.5;
  font-weight: 700;
}

.dt360-calculator-validation-items {
  display: grid;
  gap: 0;
  margin-top: 10px;
}

.dt360-calculator-validation-item {
  padding: 14px 0;
  border-top: 1px solid var(--dt360-border-soft);
}

.dt360-calculator-validation-item h3 {
  margin: 0 0 10px;
  color: var(--dt360-text-primary);
  font-size: 15px;
  line-height: 1.45;
}

.dt360-calculator-validation-item dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.dt360-calculator-validation-item dl > div {
  min-width: 0;
}

.dt360-calculator-validation-item dt {
  margin: 0 0 2px;
  color: var(--dt360-text-soft);
  font-size: 12px;
  line-height: 1.4;
}

.dt360-calculator-validation-item dd {
  margin: 0;
  color: var(--dt360-text-primary);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 700;
}

.dt360-calculator-validation-item p {
  margin: 10px 0 0;
  color: var(--dt360-text-soft);
  font-size: 13px;
  line-height: 1.5;
}

.dt360-calculator-loading,
.dt360-calculator-error,
.dt360-calculator-prefill-error {
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--dt360-border-soft);
  background: rgba(255, 255, 255, 0.03);
}

.dt360-calculator-loading p,
.dt360-calculator-error p,
.dt360-calculator-prefill-error p {
  margin: 0;
}

.dt360-calculator-preview,
.dt360-calculator-detail {
  display: grid;
  gap: 16px;
  padding: 18px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background:
    linear-gradient(
      180deg,
      var(--dt360-color-elevated-purple),
      var(--dt360-color-panel-purple)
    );
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.42);
}

.dt360-calculator-preview-result,
.dt360-calculator-preview-error,
.dt360-calculator-detail-error {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--dt360-border-soft);
  background: rgba(255, 255, 255, 0.03);
}

#detail-result.dt360-calculator-detail-result {
  display: grid;
  gap: 20px;
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--dt360-border-soft);
  border-radius: 18px;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.045),
      rgba(255, 255, 255, 0.018)
    );
}

.dt360-cost-result-heading {
  display: grid;
  gap: 10px;
}

#detail-result .dt360-calculator-kicker {
  margin: 0;
  color: var(--dt360-text-soft);
}

#detail-result-label {
  margin: 0;
  color: var(--dt360-text-primary);
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.15;
}

.dt360-calculator-result-grid.dt360-cost-result-hero {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 22px;
  border: 1px solid rgba(180, 132, 255, 0.58);
  border-radius: 18px;
  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(155, 101, 229, 0.17),
      transparent 38%
    ),
    linear-gradient(
      145deg,
      rgba(100, 61, 151, 0.24),
      rgba(29, 17, 49, 0.72)
    );
  box-shadow:
    0 0 0 1px rgba(180, 132, 255, 0.08) inset,
    0 14px 34px rgba(0, 0, 0, 0.24);
}

.dt360-cost-result-hero dt,
.dt360-cost-result-hero dd {
  margin: 0;
}

.dt360-cost-result-hero dt {
  color: var(--dt360-text-soft);
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.dt360-cost-result-range {
  position: relative;
  min-width: 0;
  min-height: 68px;
  padding-left: 70px;
  display: grid;
  align-content: center;
}

.dt360-cost-result-range::before {
  content: "€";
  position: absolute;
  top: 50%;
  left: 0;
  width: 52px;
  height: 52px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(180, 132, 255, 0.36);
  border-radius: 13px;
  background: rgba(155, 101, 229, 0.12);
  color: #c59cff;
  font-family: Aldrich, Space Grotesk, system-ui, sans-serif;
  font-size: 22px;
  font-weight: 700;
}

.dt360-cost-result-range dd {
  margin-top: 5px;
  color: var(--dt360-text-primary);
  font-family: Aldrich, Space Grotesk, system-ui, sans-serif;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.06;
  font-weight: 700;
  white-space: nowrap;
}

.dt360-cost-result-confidence {
  position: relative;
  min-width: 0;
  min-height: 56px;
  margin-top: 18px;
  padding: 16px 0 0 70px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  border-left: 0;
  display: grid;
  align-content: center;
}

.dt360-cost-result-confidence::before {
  content: "✓";
  position: absolute;
  left: 7px;
  bottom: 0;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(153, 255, 77, 0.34);
  border-radius: 11px;
  background: rgba(102, 255, 102, 0.09);
  color: var(--dt360-success-green);
  font-size: 20px;
  line-height: 1;
  font-weight: 700;
}

.dt360-cost-result-confidence dd {
  margin-top: 3px;
  color: var(--dt360-success-soft);
  font-size: 17px;
  line-height: 1.2;
  font-weight: 700;
}

.dt360-cost-result-section {
  position: relative;
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 18px;
}

.dt360-cost-result-section::before {
  content: "";
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 0;
  width: 3px;
  border-radius: 999px;
  background: rgba(180, 132, 255, 0.88);
}

.dt360-cost-result-section h4 {
  margin: 0;
  color: var(--dt360-text-primary);
  font-size: 18px;
  line-height: 1.22;
}

.dt360-cost-result-section p {
  margin: 0;
  color: var(--dt360-text-soft);
  font-size: 15px;
  line-height: 1.45;
}

#detail-result-cta-wrap {
  margin: 0;
}

#detail-result-cta {
  color: var(--dt360-text-soft);
}

#detail-result .dt360-calculator-preview-actions {
  margin-top: auto;
  grid-template-columns: minmax(240px, 360px);
  justify-content: center;
}

#detail-result [data-action="edit-detail"] {
  width: 100%;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--dt360-cta-lime);
  border-color: var(--dt360-cta-lime);
  color: var(--dt360-cta-text-dark);
  font-weight: 700;
  box-shadow:
    0 0 0 1px var(--dt360-lime-border),
    0 8px 22px rgba(102, 255, 102, 0.12);
}

#detail-result [data-action="edit-detail"]::after {
  content: "→";
  font-size: 19px;
  line-height: 1;
}

#detail-result [data-action="edit-detail"]:hover {
  background: var(--dt360-cta-lime-hover);
  border-color: var(--dt360-cta-lime-hover);
  color: var(--dt360-cta-text-dark);
}

.dt360-calculator-question {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.dt360-calculator-question h3 {
  margin: 0;
  color: var(--dt360-text-primary);
  font-size: clamp(18px, 2.4vw, 22px);
  line-height: 1.35;
  font-weight: 600;
}

.dt360-calculator-impact-area {
  margin: 0 0 8px;
  color: var(--dt360-success-soft);
  font-family: Aldrich, Space Grotesk, system-ui, sans-serif;
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dt360-calculator-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.dt360-calculator-option {
  width: 100%;
  min-height: 64px;
  margin: 0;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(20, 12, 41, 0.45);
  color: var(--dt360-text-primary);
  text-align: left;
  line-height: 1.4;
  white-space: normal;
  transition:
    border-color 0.18s ease,
    background-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.15s ease;
}

.dt360-calculator-option:hover {
  border-color: rgba(180, 255, 115, 0.45);
  background: rgba(42, 26, 82, 0.72);
}

.dt360-calculator-option.is-selected,
.dt360-calculator-option[aria-pressed="true"] {
  border-color: var(--dt360-cta-lime);
  background:
    linear-gradient(
      180deg,
      rgba(153, 255, 77, 0.14),
      rgba(23, 53, 31, 0.42)
    );
  box-shadow:
    0 0 0 1px rgba(153, 255, 77, 0.3),
    inset 0 0 0 1px rgba(102, 255, 102, 0.12);
}

.dt360-calculator-option:focus-visible {
  border-color: var(--dt360-cta-lime-hover);
  outline: 2px solid rgba(180, 255, 115, 0.32);
  outline-offset: 2px;
}

@media (min-width: 761px) {
  .dt360-calculator-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.dt360-calculator-submit-note {
  margin: 0;
  color: var(--dt360-info-text);
}

.dt360-calculator-preview-actions {
  display: grid;
  gap: 10px;
  align-items: center;
}

#preview-flow .dt360-calculator-preview-actions {
  grid-template-columns:
    minmax(180px, 220px)
    minmax(220px, 280px);
  justify-content: center;
}

#detail-flow .dt360-calculator-preview-actions {
  grid-template-columns:
    minmax(120px, 160px)
    minmax(180px, 240px);
  justify-content: center;
}

.dt360-calculator-preview-actions button[disabled] {
  opacity: 0.48;
  cursor: not-allowed;
  transform: none;
}

[data-action="start-preview"],
[data-action="preview-next"],
[data-action="detail-next"],
[data-action="start-detail"],
[data-action="retry-preview"],
[data-action="retry-detail"] {
  background: var(--dt360-cta-lime);
  border-color: var(--dt360-cta-lime);
  color: var(--dt360-cta-text-dark);
  box-shadow: 0 0 0 1px var(--dt360-lime-border);
}

[data-action="start-preview"]:hover,
[data-action="preview-next"]:hover,
[data-action="detail-next"]:hover,
[data-action="start-detail"]:hover,
[data-action="retry-preview"]:hover,
[data-action="retry-detail"]:hover {
  background: var(--dt360-cta-lime-hover);
  border-color: var(--dt360-cta-lime-hover);
  color: var(--dt360-cta-text-dark);
  box-shadow:
    0 0 0 1px var(--dt360-lime-border),
    0 8px 18px rgba(102, 255, 102, 0.14);
}

[data-action="preview-prev"],
[data-action="detail-prev"],
[data-action="edit-preview"] {
  background: var(--dt360-panel);
  border-color: var(--dt360-border);
  color: var(--dt360-text-primary);
}

[data-action="back-to-preview-result"] {
  border: 0;
  box-shadow: none;
  background: transparent;
  color: var(--dt360-text-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

[data-action="back-to-preview-result"]:hover {
  border: 0;
  box-shadow: none;
  background: transparent;
  color: var(--dt360-text-primary);
}

@media (max-width: 1023px) {
  .dt360-shell-stage {
    min-height: 0;
    min-width: 0;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior-y: contain;
  }

  .dt360-calculator-start,
  .dt360-calculator-preview,
  .dt360-calculator-detail,
  .dt360-calculator-preview-result,
  .dt360-calculator-detail-result,
  .dt360-calculator-preview-error,
  .dt360-calculator-detail-error,
  .dt360-calculator-prefill-error,
  .dt360-calculator-error,
  .dt360-calculator-loading {
    min-width: 0;
    box-sizing: border-box;
  }
}

@media (max-width: 760px) {
  .dt360-calculator-start {
    padding: 16px;
  }

  .dt360-calculator-kicker {
    margin-bottom: 8px;
  }

  #calculator-start-title {
    margin-bottom: 10px;
  }

  .dt360-calculator-prefill-note {
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.5;
  }

  .dt360-calculator-validation {
    margin-bottom: 16px;
    padding: 14px 0;
  }

  #calculator-validation-title {
    font-size: 17px;
  }

  .dt360-calculator-validation-item dl {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .dt360-calculator-summary {
    margin-bottom: 16px;
    gap: 8px;
  }

  .dt360-calculator-summary li {
    gap: 10px;
    font-size: 15px;
    line-height: 1.45;
  }

  .dt360-calculator-summary li::before {
    width: 18px;
    height: 18px;
    margin-top: 1px;
    font-size: 11px;
  }

  .dt360-calculator-meta {
    font-size: 15px;
    line-height: 1.4;
  }

  .dt360-calculator-start-actions {
    margin-top: 18px;
    justify-items: stretch;
    gap: 6px;
  }

  .dt360-calculator-start-actions [data-action="start-preview"] {
    width: 100%;
    min-width: 0;
  }

  .dt360-calculator-skip-prefill {
    width: 100%;
    min-height: 40px;
    padding: 8px 10px;
    text-align: center;
  }

  .dt360-calculator-preview,
  .dt360-calculator-detail {
    gap: 12px;
    padding: 14px 12px;
    border-radius: 14px;
  }

  .dt360-calculator-question h3 {
    font-size: 18px;
    line-height: 1.3;
  }

  .dt360-calculator-impact-area {
    margin-bottom: 6px;
    font-size: 11px;
  }

  .dt360-calculator-options {
    gap: 8px;
  }

  .dt360-calculator-option {
    min-height: 52px;
    padding: 10px 12px;
    border-radius: 12px;
  }

  #preview-flow .dt360-calculator-preview-actions,
  #detail-flow .dt360-calculator-preview-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .dt360-calculator-preview-result,
  .dt360-calculator-preview-error,
  .dt360-calculator-detail-error {
    gap: 10px;
    padding: 12px;
    border-radius: 12px;
  }

  .dt360-calculator-result-grid {
    gap: 6px;
  }

  #preview-result-drivers {
    gap: 4px;
  }

  #detail-result.dt360-calculator-detail-result {
    min-height: 100%;
    gap: 14px;
    padding: 16px;
    border-radius: 14px;
  }

  #detail-result .dt360-calculator-kicker {
    font-size: 10px;
    line-height: 1.2;
  }

  #detail-result-label {
    font-size: 20px;
    line-height: 1.15;
  }

  .dt360-calculator-result-grid.dt360-cost-result-hero {
    grid-template-columns: 1fr;
    padding: 15px;
    border-radius: 14px;
  }

  .dt360-cost-result-hero dt {
    font-size: 10px;
  }

  .dt360-cost-result-range {
    min-height: 56px;
    padding-left: 58px;
  }

  .dt360-cost-result-range::before {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    font-size: 20px;
  }

  .dt360-cost-result-range dd {
    margin-top: 3px;
    font-size: clamp(18px, 5.2vw, 22px);
    line-height: 1.05;
    white-space: nowrap;
  }

  .dt360-cost-result-confidence {
    min-height: 48px;
    margin-top: 13px;
    padding: 11px 0 0 58px;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.11);
  }

  .dt360-cost-result-confidence::before {
    left: 4px;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    font-size: 17px;
  }

  .dt360-cost-result-confidence dd {
    margin-top: 2px;
    font-size: 14px;
  }

  .dt360-cost-result-section {
    gap: 4px;
    padding-left: 13px;
  }

  .dt360-cost-result-section::before {
    top: 4px;
    bottom: 4px;
  }

  .dt360-cost-result-section h4 {
    font-size: 16px;
    line-height: 1.2;
  }

  .dt360-cost-result-section p {
    font-size: 14px;
    line-height: 1.38;
  }

  #detail-result #detail-result-drivers {
    gap: 5px;
  }

  #detail-result-drivers li {
    min-height: 36px;
    padding: 8px 11px;
    font-size: 12px;
    white-space: nowrap;
    word-break: normal;
  }

  #detail-result .dt360-calculator-preview-actions {
    margin-top: auto;
    grid-template-columns: minmax(0, 1fr);
  }

  #detail-result [data-action="edit-detail"] {
    min-height: 52px;
    border-radius: 14px;
  }
}

.dt360-calculator-result-grid {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.dt360-calculator-result-grid dt,
.dt360-calculator-result-grid dd {
  margin: 0;
}

.dt360-calculator-result-grid dt {
  color: var(--dt360-text-soft);
  font-size: 13px;
}

.dt360-calculator-result-grid dd {
  font-weight: 700;
}

.dt360-preview-orientation-cost {
  grid-column: 1 / -1;
  padding: 14px 16px;
  border: 1px solid rgba(180, 132, 255, 0.38);
  border-radius: 12px;
  background: rgba(155, 101, 229, 0.10);
}

.dt360-preview-orientation-cost dd {
  margin-top: 5px;
  font-family: Aldrich, Space Grotesk, system-ui, sans-serif;
  font-size: clamp(24px, 3.6vw, 34px);
  line-height: 1.1;
}

/* DT360 CALCULATOR SHELL RESULT START — replaces the separate Screen-A card. */
#preview-result.dt360-direct-preview-result {
  display: block;
  width: 100%;
  max-width: 48rem;
  min-width: 0;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
#preview-result.dt360-direct-preview-result::before { content: none; }
#preview-result.dt360-direct-preview-result > p { margin: 0 0 12px; }
#preview-result.dt360-direct-preview-result > h3 { margin: 0 0 10px; }
#preview-result.dt360-direct-preview-result > h4 { margin: 18px 0 6px; }
#preview-result.dt360-direct-preview-result > p:last-of-type { margin-bottom: 0; }
:is(#preview-intake-answers, #preview-answers-overlay-grid) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0;
}
:is(#preview-intake-answers, #preview-answers-overlay-grid) .dt360-result-panel {
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 5px 10px;
  min-width: 0;
}
:is(#preview-intake-answers, #preview-answers-overlay-grid) dt { grid-column: 1; font-size: 14px; line-height: 1.3; }
:is(#preview-intake-answers, #preview-answers-overlay-grid) [data-answer-text] {
  grid-column: 1;
  font-size: 14px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
:is(#preview-intake-answers, #preview-answers-overlay-grid) [data-answer-rank] {
  grid-column: 2;
  grid-row: 1 / 3;
  white-space: nowrap;
  color: var(--dt360-cta-lime);
  font-size: 24px;
  line-height: 1.2;
}
:is(#preview-intake-extent, #preview-answers-overlay-extent) { color: var(--dt360-text-soft); }
@media (max-width: 520px) {
  :is(#preview-intake-answers, #preview-answers-overlay-grid) .dt360-result-panel {
    grid-template-columns: minmax(0, 1fr);
    padding: 10px;
  }
  :is(#preview-intake-answers, #preview-answers-overlay-grid) [data-answer-rank] { grid-column: 1; grid-row: auto; font-size: 20px; }
}
/* Link uses DT360 canonical .dt360-ds-text-link presentation; not a CTA button. */
#preview-intake-details-trigger {
  display: none;
  align-items: center;
  width: fit-content;
  min-height: 38px;
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--dt360-ds-lime, #b1ff38) !important;
  font-family: Space Grotesk, system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 900;
  text-decoration: underline !important;
  text-underline-offset: 4px;
  cursor: pointer;
}
#preview-intake-details-trigger:hover,
#preview-intake-details-trigger:focus-visible { color: var(--dt360-ds-lime-soft, #d4ff7a) !important; }
#preview-intake-details-trigger[hidden] { display: none !important; }
@media (max-width: 720px) {
  #app-root[data-calculator-mode="direct"] .dt360-shell[data-screen-state="preview-result"] #preview-intake-answers,
  #app-root[data-calculator-mode="direct"] .dt360-shell[data-screen-state="preview-result"] #preview-intake-extent { display: none !important; }
  #app-root[data-calculator-mode="direct"] .dt360-shell[data-screen-state="preview-result"] #preview-intake-details-trigger:not([hidden]) { display: inline-flex; }
}
#preview-intake-intro { color: var(--dt360-text-soft); }
#preview-intake-title { text-wrap: balance; }
#app-root[data-calculator-mode="direct"] .dt360-shell[data-screen-state="preview-result"] {
  height: auto;
  min-height: 0;
  max-height: calc(100dvh - 96px);
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  overflow: hidden;
}
#app-root[data-calculator-mode="direct"] .dt360-shell[data-screen-state="preview-result"] > .dt360-shell-stage {
  min-height: 0;
  min-width: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
}
#app-root[data-calculator-mode="direct"] .dt360-shell[data-screen-state="preview-result"] > footer.dt360-shell-actions {
  display: block;
  margin: 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--dt360-border-soft);
  min-width: 0;
}
#preview-direct-check-cta {
  display: grid;
  gap: 8px;
  width: 100%;
  max-width: 48rem;
  margin: 0 auto;
}
#preview-intake-duration {
  margin: 0;
  color: var(--dt360-text-soft);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
}
#preview-start-check-validation {
  width: 100%;
  min-height: 48px;
  background: var(--dt360-cta-lime);
  border-color: var(--dt360-cta-lime);
  color: var(--dt360-cta-text-dark);
  font-size: 15px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
#preview-start-check-validation:hover {
  background: var(--dt360-cta-lime-hover);
  border-color: var(--dt360-cta-lime-hover);
}
@media (max-width: 1023px) {
  #app-root[data-calculator-mode="direct"]:has(> .dt360-shell[data-screen-state="preview-result"]) {
    width: 100%;
    margin: 0;
    padding: 0;
  }
  #app-root[data-calculator-mode="direct"] .dt360-shell[data-screen-state="preview-result"] {
    height: 100dvh;
    max-height: 100dvh;
    min-height: 0;
  }
  #preview-result.dt360-direct-preview-result > p {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 6px;
  }
  #preview-result.dt360-direct-preview-result > h3 { font-size: 22px; line-height: 1.25; margin-bottom: 8px; }
  #preview-result.dt360-direct-preview-result > h4 { font-size: 17px; line-height: 1.3; margin-top: 8px; }
}
/* DT360 CALCULATOR SHELL RESULT END */


#preview-result-drivers {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 6px;
  color: var(--dt360-text-soft);
}

.dt360-calculator-next-hint {
  margin: 0;
  color: var(--dt360-text-soft);
}

.dt360-calculator-contact-busy {
  margin: 0;
  color: var(--dt360-info-text);
}

.dt360-calculator-contact-error {
  margin: 0;
  color: var(--dt360-danger-text);
}

.dt360-calculator-preview-error,
.dt360-calculator-detail-error {
  border-color: var(--dt360-danger-border);
  box-shadow: 0 0 0 1px rgba(255, 92, 122, 0.22) inset;
}

.dt360-calculator-preview-error p,
.dt360-calculator-detail-error p {
  margin: 0;
}

.dt360-calculator-preview-error p + p,
.dt360-calculator-detail-error p + p {
  color: var(--dt360-text-soft);
}

#detail-result-drivers {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  color: var(--dt360-text-soft);
}

#detail-result-drivers li {
  flex: 0 0 auto;
  max-width: 100%;
  min-height: 40px;
  padding: 9px 15px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(180, 132, 255, 0.4);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 13px;
  line-height: 1.2;
  text-align: left;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
}

#detail-result-drivers li::before {
  content: "◇";
  flex: 0 0 auto;
  color: #bd8cff;
  font-size: 12px;
  line-height: 1;
}

.dt360-calculator-error,
.dt360-calculator-prefill-error {
  border-color: var(--dt360-danger-border);
  box-shadow: 0 0 0 1px rgba(255, 92, 122, 0.22) inset;
}

.dt360-calculator-error p + p,
.dt360-calculator-prefill-error p + p {
  margin-top: 8px;
  color: var(--dt360-text-soft);
}

#app-root[data-calculator-state="ready"] .dt360-shell-progress-meter progress {
  accent-color: var(--dt360-success-green);
}

#app-root[data-calculator-state="error"] .dt360-shell-progress-wrap {
  border-color: var(--dt360-danger-border);
  box-shadow: 0 0 0 1px rgba(255, 92, 122, 0.22) inset;
}

#app-root[data-calculator-state="prefill-error"] .dt360-shell-progress-wrap {
  border-color: var(--dt360-danger-border);
  box-shadow: 0 0 0 1px rgba(255, 92, 122, 0.22) inset;
}

#app-root[data-calculator-state="preview-submitting"] .dt360-shell-progress-wrap {
  border-color: var(--dt360-info-border);
  box-shadow: 0 0 0 1px rgba(102, 217, 255, 0.2) inset;
}

#app-root[data-calculator-state="preview-ready"] .dt360-shell-progress-wrap {
  border-color: var(--dt360-success-border);
  box-shadow: 0 0 0 1px rgba(102, 255, 102, 0.2) inset;
}

#app-root[data-calculator-state="preview-error"] .dt360-shell-progress-wrap {
  border-color: var(--dt360-danger-border);
  box-shadow: 0 0 0 1px rgba(255, 92, 122, 0.22) inset;
}

#app-root[data-calculator-state="detail-submitting"] .dt360-shell-progress-wrap {
  border-color: var(--dt360-info-border);
  box-shadow: 0 0 0 1px rgba(102, 217, 255, 0.2) inset;
}

#app-root[data-calculator-state="detail-ready"] .dt360-shell-progress-wrap {
  border-color: var(--dt360-success-border);
  box-shadow: 0 0 0 1px rgba(102, 255, 102, 0.2) inset;
}

#app-root[data-calculator-state="detail-error"] .dt360-shell-progress-wrap {
  border-color: var(--dt360-danger-border);
  box-shadow: 0 0 0 1px rgba(255, 92, 122, 0.22) inset;
}

/* Calculator state visibility */
#app-root [hidden] {
  display: none;
}

/* Check -> Kostenplanung: sichtbarer Prefill-Uebergang */
body.dt360-calculator-prefill-bridge-open {
  overflow: hidden;
}

.dt360-calculator-prefill-bridge {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 20px;
}

.dt360-calculator-prefill-bridge__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 6, 36, 0.88);
  backdrop-filter: blur(10px);
}

.dt360-calculator-prefill-bridge__card {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  padding: 30px 24px;
  border-radius: 24px;
  border: 1px solid rgba(102, 255, 102, 0.28);
  background: linear-gradient(145deg, #1a1037 0%, #2a1f4a 100%);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  color: #ffffff;
  text-align: center;
}

.dt360-calculator-prefill-bridge__card p {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 700;
}

.dt360-calculator-prefill-bridge__spinner {
  width: 42px;
  height: 42px;
  margin: 0 auto;
  border: 4px solid rgba(255, 255, 255, 0.16);
  border-top-color: #66ff66;
  border-radius: 50%;
  animation: dt360-calculator-prefill-spin 0.8s linear infinite;
}

@keyframes dt360-calculator-prefill-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .dt360-calculator-prefill-bridge__spinner {
    animation: none;
  }
}


.dt360-calculator-start-actions {
  margin-top: 24px;
  display: grid;
  justify-items: start;
  gap: 8px;
}

.dt360-calculator-start-actions [data-action="start-preview"] {
  width: auto;
  min-width: 240px;
  max-width: 100%;
}

.dt360-calculator-skip-prefill {
  width: auto;
  min-height: 44px;
  padding: 10px 12px;
  border: 0;
  box-shadow: none;
  background: transparent;
  color: var(--dt360-text-soft);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.dt360-calculator-skip-prefill:hover {
  border: 0;
  box-shadow: none;
  background: transparent;
  color: var(--dt360-text-primary);
}


#calculator-status[data-state="error"] {
  border-color: var(--dt360-danger-border);
  background: rgba(255, 92, 122, 0.08);
  color: var(--dt360-danger-text);
  box-shadow: 0 0 0 1px rgba(255, 92, 122, 0.22) inset;
}


.dt360-calculator-meta {
  margin: 0;
  color: var(--dt360-text-soft);
  font-size: 16px;
  line-height: 1.5;
}

.dt360-calculator-report-mail-note {
  margin: -6px 0 0;
  color: var(--dt360-text-soft);
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}

/* DT360 SERVICE ORIGIN BACKLINK START */
.dt360-origin-backlink {
  display: none;
  align-items: center;
  min-height: 30px;
  width: max-content;
  max-width: 100%;
  margin-top: 4px;
  font: 500 12px/1.25 "Space Grotesk", system-ui, sans-serif;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
  touch-action: manipulation;
}

.dt360-origin-backlink.is-visible {
  display: inline-flex;
}

.dt360-origin-backlink:hover,
.dt360-origin-backlink:focus-visible {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 720px) {
  .dt360-origin-backlink {
    min-height: 28px;
    margin-top: 2px;
    font-size: 12px;
  }
}
/* DT360 SERVICE ORIGIN BACKLINK END */

/* DT360 CALCULATOR CHECK NAVIGATION REUSE START */
#preview-flow.dt360-calculator-preview:not([hidden]) .dt360-calculator-check-nav,
#detail-flow.dt360-calculator-detail:not([hidden]) .dt360-calculator-check-nav {
  flex: 0 0 auto;
  margin: 0 0 12px;
  padding: 0;
}

#preview-flow.dt360-calculator-preview:not([hidden]) .dt360c-orientation,
#detail-flow.dt360-calculator-detail:not([hidden]) .dt360c-orientation {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 8px;
  font-family: Aldrich, Space Grotesk, system-ui, sans-serif;
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dt360-text-soft);
}

#preview-flow.dt360-calculator-preview:not([hidden]) .dt360-q-stepper-row,
#detail-flow.dt360-calculator-detail:not([hidden]) .dt360-q-stepper-row {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0 0 12px;
}

#preview-flow.dt360-calculator-preview:not([hidden]) .dt360-q-stepper-nav,
#detail-flow.dt360-calculator-detail:not([hidden]) .dt360-q-stepper-nav {
  display: none;
}

#preview-flow.dt360-calculator-preview:not([hidden]) .dt360-q-stepper,
#detail-flow.dt360-calculator-detail:not([hidden]) .dt360-q-stepper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  max-width: 100%;
  min-width: 0;
  flex: 0 0 auto;
}

#preview-flow.dt360-calculator-preview:not([hidden]) .dt360-q-chip,
#detail-flow.dt360-calculator-detail:not([hidden]) .dt360-q-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  min-width: 34px;
  max-width: 34px;
  height: 34px;
  min-height: 34px;
  flex: 0 0 34px;
  padding: 0;
  box-sizing: border-box;
  white-space: nowrap;
  border-radius: 999px;
  border: 1px solid rgba(149, 122, 191, 0.5);
  background: rgba(33, 20, 54, 0.72);
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0;
}

#preview-flow.dt360-calculator-preview:not([hidden]) .dt360-q-chip.is-answered,
#detail-flow.dt360-calculator-detail:not([hidden]) .dt360-q-chip.is-answered {
  border-color: rgba(166, 255, 47, 0.42);
  color: rgba(166, 255, 47, 0.82);
}

#preview-flow.dt360-calculator-preview:not([hidden]) .dt360-q-chip.is-active,
#preview-flow.dt360-calculator-preview:not([hidden]) .dt360-q-chip.is-open,
#detail-flow.dt360-calculator-detail:not([hidden]) .dt360-q-chip.is-active,
#detail-flow.dt360-calculator-detail:not([hidden]) .dt360-q-chip.is-open {
  border-color: var(--dt360-lime, #a6ff2f);
  background: rgba(153, 255, 77, 0.14);
  color: var(--dt360-lime, #a6ff2f);
  box-shadow: 0 0 0 1px rgba(166, 255, 47, 0.22), 0 0 18px rgba(166, 255, 47, 0.16);
}
/* DT360 CALCULATOR CHECK NAVIGATION REUSE END */

/* DT360 CALCULATOR MOBILE STABLE QUESTION ACTIONS START */
@media (max-width: 720px) {
  body:has(#preview-flow:not([hidden])),
  body:has(#detail-flow:not([hidden])) {
    overflow: hidden;
  }

  .dt360-shell:has(#preview-flow:not([hidden])),
  .dt360-shell:has(#detail-flow:not([hidden])) {
    height: 100dvh;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .dt360-shell:has(#preview-flow:not([hidden])) .dt360-shell-stage,
  .dt360-shell:has(#detail-flow:not([hidden])) .dt360-shell-stage {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  #preview-flow.dt360-calculator-preview:not([hidden]),
  #detail-flow.dt360-calculator-detail:not([hidden]) {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  #preview-flow.dt360-calculator-preview:not([hidden]) > .dt360-calculator-question,
  #detail-flow.dt360-calculator-detail:not([hidden]) > .dt360-calculator-question {
    flex: 0 0 auto;
  }

  #preview-flow.dt360-calculator-preview:not([hidden]) > .dt360-calculator-options,
  #detail-flow.dt360-calculator-detail:not([hidden]) > .dt360-calculator-options {
    flex: 0 1 auto;
    min-height: 0;
    align-content: start;
  }

  .dt360-shell > footer.dt360-shell-actions.dt360-calculator-shell-actions:not([hidden]) {
    flex: 0 0 auto;
    display: flex;
    width: 100%;
    margin: 10px 0 0;
    padding: 10px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    background: transparent;
  }

  .dt360-shell > footer.dt360-shell-actions.dt360-calculator-shell-actions .dt360-calculator-preview-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .dt360-shell > footer.dt360-shell-actions.dt360-calculator-shell-actions .dt360-calculator-preview-actions[hidden] {
    display: none !important;
  }
}
/* DT360 CALCULATOR MOBILE STABLE QUESTION ACTIONS END */

/* DT360 PREFILLED PREVIEW SHELL SPACING START */
@media (max-width: 720px) {
  #app-root:not([data-calculator-mode="direct"]) .dt360-shell[data-screen-state="preview-result"] { min-height:100dvh; padding-bottom:16px; }
  #app-root:not([data-calculator-mode="direct"]) .dt360-shell[data-screen-state="preview-result"] .dt360-shell-stage { overflow:visible; }
  #app-root:not([data-calculator-mode="direct"]) .dt360-shell[data-screen-state="preview-result"] .dt360-shell-header { margin-bottom:8px; }
  #app-root:not([data-calculator-mode="direct"]) .dt360-shell[data-screen-state="preview-result"] .dt360-origin-backlink { min-height:24px; margin-top:3px; }
  #app-root:not([data-calculator-mode="direct"]) .dt360-shell[data-screen-state="preview-result"] .dt360-shell-progress-wrap { margin:8px 0; }
  #app-root:not([data-calculator-mode="direct"]) .dt360-shell[data-screen-state="preview-result"] .dt360-shell-progress-meter { padding:8px 10px; border-radius:14px; }
  #app-root:not([data-calculator-mode="direct"]) .dt360-shell[data-screen-state="preview-result"] .dt360-shell-progress-meter p { margin-bottom:4px; font-size:12px; }
  #app-root:not([data-calculator-mode="direct"]) .dt360-shell[data-screen-state="preview-result"] .dt360-shell-progress-meter progress { height:6px; }
}
/* DT360 PREFILLED PREVIEW SHELL SPACING END */


/* DT360 VALIDATION RESULTS OVERLAY START */
#calculator-validation-details.dt360-validation-details-inline-hidden {
  display: none !important;
}

.dt360-validation-results-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: auto;
  min-height: 0;
  margin: 12px 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--dt360-cta-lime, #99ff4d);
  font: inherit;
  font-weight: 800;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
  box-shadow: none;
}

.dt360-validation-results-trigger:hover,
.dt360-validation-results-trigger:focus-visible {
  background: transparent;
  color: var(--dt360-cta-lime-hover, #b4ff73);
  box-shadow: none;
}

.dt360-validation-results-trigger-icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: currentColor;
  font-family: Aldrich, Space Grotesk, system-ui, sans-serif;
  font-size: 13px;
  line-height: 1;
}

.dt360-validation-results-trigger-text {
  color: currentColor;
}

html.dt360-validation-results-open,
html.dt360-validation-results-open body {
  overflow: hidden;
}

.dt360-validation-results-overlay[hidden] {
  display: none !important;
}

.dt360-validation-results-overlay:not([hidden]) {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(8, 5, 19, 0.66);
  backdrop-filter: blur(18px);
}

.dt360-validation-results-backdrop {
  position: absolute;
  inset: 0;
}

.dt360-validation-results-dialog {
  position: relative;
  z-index: 1;
  width: min(520px, calc(100vw - 32px));
  max-height: min(76dvh, 560px);
  overflow: auto;
  padding: 24px;
  border: 1px solid rgba(153, 255, 77, 0.22);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(45, 31, 73, 0.98), rgba(25, 13, 45, 0.98));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.58), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.dt360-validation-results-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  min-height: 34px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(153, 255, 77, 0.35);
  background: rgba(20, 12, 41, 0.68);
  color: var(--dt360-cta-lime, #99ff4d);
}

.dt360-validation-results-kicker {
  margin: 0 42px 8px 0;
  color: var(--dt360-cta-lime, #99ff4d);
  font-family: Aldrich, Space Grotesk, system-ui, sans-serif;
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dt360-validation-results-dialog h3 {
  margin: 0 42px 16px 0;
  color: var(--dt360-text-primary, #fff);
  font-size: 22px;
  line-height: 1.25;
}

.dt360-validation-results-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
}

@media (max-width: 720px) {
  .dt360-validation-results-trigger {
    margin-top: 10px;
  }

  .dt360-validation-results-overlay:not([hidden]) {
    align-items: end;
    padding: 12px;
  }

  .dt360-validation-results-dialog {
    width: 100%;
    max-height: 78dvh;
    padding: 22px 18px 20px;
    border-radius: 22px;
  }
}
/* DT360 VALIDATION RESULTS OVERLAY END */




/* DT360 PREFILLED VALIDATION COMPACT HEADER START */
.dt360-shell.dt360-prefilled-validation-compact-header #calculator-shell-title {
  display: none !important;
}

.dt360-shell.dt360-prefilled-validation-compact-header .dt360-shell-brand,
.dt360-shell.dt360-prefilled-validation-compact-header [data-shell-brand] {
  max-width: calc(100% - 92px);
  color: var(--dt360-text-primary, #fff);
  font-family: Aldrich, Space Grotesk, system-ui, sans-serif;
  font-size: clamp(15px, 4.2vw, 18px);
  line-height: 1.15;
  letter-spacing: 0;
  text-transform: none;
  white-space: normal;
}

@media (max-width: 720px) {
  .dt360-shell.dt360-prefilled-validation-compact-header .dt360-shell-header {
    align-items: flex-start;
    gap: 12px;
  }
}
/* DT360 PREFILLED VALIDATION COMPACT HEADER END */

/* DT360 PREFILLED HEADER STATUS CHIP FIX START */
.dt360-shell.dt360-prefilled-validation-compact-header .dt360-shell-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: start;
  column-gap: 12px;
  overflow: visible;
}

.dt360-shell.dt360-prefilled-validation-compact-header .dt360-shell-brand,
.dt360-shell.dt360-prefilled-validation-compact-header [data-shell-brand] {
  min-width: 0;
  max-width: none;
  overflow-wrap: anywhere;
}

.dt360-shell.dt360-prefilled-validation-compact-header .dt360-status,
.dt360-shell.dt360-prefilled-validation-compact-header .dt360-shell-status,
.dt360-shell.dt360-prefilled-validation-compact-header .dt360-shell-chip,
.dt360-shell.dt360-prefilled-validation-compact-header [data-shell-status],
.dt360-shell.dt360-prefilled-validation-compact-header [data-shell-chip] {
  justify-self: end;
  flex: 0 0 auto;
  width: auto;
  min-width: max-content;
  max-width: none;
  white-space: nowrap;
  overflow: visible;
}
/* DT360 PREFILLED HEADER STATUS CHIP FIX END */

/* DT360 PREFILLED HEADER TITLE STYLE FIX START */
.dt360-shell.dt360-prefilled-validation-compact-header .dt360-shell-brand,
.dt360-shell.dt360-prefilled-validation-compact-header [data-shell-brand] {
  display: grid;
  gap: 2px;
  align-content: start;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.dt360-prefilled-header-title-kicker {
  display: block;
  color: var(--dt360-text-soft, #d8ccff);
  font-family: Space Grotesk, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  line-height: 1.12;
  font-weight: 650;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.dt360-prefilled-header-title-main {
  display: block;
  color: var(--dt360-text-primary, #fff);
  font-family: Aldrich, Space Grotesk, system-ui, sans-serif;
  font-size: clamp(15px, 4.4vw, 18px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: 0 !important;
  text-transform: none !important;
  overflow-wrap: normal;
  word-break: normal;
}
/* DT360 PREFILLED HEADER TITLE STYLE FIX END */


/* DT360 VALIDATION COPY FINAL START */
#calculator-validation-text[hidden],
.dt360-calculator-validation-text[hidden] {
  display: none !important;
}

#calculator-validation-details,
#calculator-validation-details[open],
#calculator-validation-details.dt360-validation-details-inline-hidden {
  display: none !important;
}

#calculator-validation-items {
  display: none !important;
}

#calculator-validation-title {
  margin-bottom: 8px;
}
/* DT360 VALIDATION COPY FINAL END */
\n\n/* DT360 PREFILLED REMOVE EXTRA DURATION START */
#app-root[data-calculator-mode="prefilled"] .dt360-calculator-start-meta[hidden],
#app-root[data-calculator-mode="prefilled"] #calculator-start-meta[hidden] {
  display: none !important;
}
/* DT360 PREFILLED REMOVE EXTRA DURATION END */\n

/* DT360 BADGE DISPLAY ONLY FIX START */
.dt360-shell-brand-top {
  box-sizing: border-box;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.dt360-shell-brand-top > p {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
}

.dt360-shell-readiness {
  box-sizing: border-box;
  flex: 0 0 auto;
  max-width: min(34vw, 8.25rem);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
}

@media (max-width: 520px) {
  .dt360-shell-brand-top {
    gap: 8px;
  }

  .dt360-shell-readiness {
    max-width: min(32vw, 7.5rem);
    padding-inline: 0.65rem;
  }
}
/* DT360 BADGE DISPLAY ONLY FIX END */

/* DT360 CALCULATOR CONTACT MODAL CHECK PARITY CSS START */
#calculator-transition-state-layer {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  pointer-events: none;
}

.dt360-modal-state {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.dt360-modal-state:not(.dt360-hidden) {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.dt360-hidden {
  opacity: 0;
  visibility: hidden;
}

.dt360-state-box {
  max-width: 420px;
  width: calc(100% - 40px);
  padding: 18px 20px;
  border: 1px solid rgba(177, 255, 56, 0.28);
  border-radius: 12px;
  background: #2A1F4A;
  color: var(--dt360-text-primary);
}

.dt360-spinner {
  width: 24px;
  height: 24px;
  margin: 0 auto 10px;
  border: 3px solid rgba(255, 255, 255, 0.22);
  border-top-color: var(--dt360-cta-lime);
  border-radius: 50%;
  animation: dt360-modal-spin 0.8s linear infinite;
}

@keyframes dt360-modal-spin {
  to {
    transform: rotate(360deg);
  }
}

.dt360-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px 16px;
}

.dt360-modal.is-active {
  display: flex;
}

body.dt360-modal-open {
  overflow: hidden;
  touch-action: none;
}

.dt360-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 0, 20, 0.88);
  backdrop-filter: blur(6px);
}

.dt360-modal-card {
  position: relative;
  z-index: 2;
  width: min(640px, 100%);
  max-height: calc(100dvh - 56px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 26px 22px;
  border: 1px solid rgba(177, 255, 56, 0.2);
  border-radius: 20px;
  background: linear-gradient(180deg, #1F1344, #120726);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.62);
}

.dt360-modal-scroll {
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.dt360-modal-header h2 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.2;
}

.dt360-modal-sub {
  margin: 0 0 16px;
  color: #C6B9FF;
  font-size: 14px;
  line-height: 1.5;
}

.dt360-modal-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.dt360-modal-section {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  border: 0;
}

.dt360-modal-section h3,
.dt360-modal-section h4 {
  margin: 0;
  font-family: Aldrich, Space Grotesk, system-ui, sans-serif;
  color: var(--dt360-text-primary);
}

.dt360-modal-section h3 {
  font-size: 17px;
  line-height: 1.3;
}

.dt360-modal-section h4 {
  font-size: 14px;
  line-height: 1.3;
  color: var(--dt360-text-soft);
}

.dt360-modal-section + .dt360-modal-section {
  margin-top: 2px;
}

.dt360-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.dt360-floating-field {
  position: relative;
  width: 100%;
}

.dt360-floating-field > input:not([type="checkbox"]),
.dt360-floating-field > textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: #2A1F4A;
  color: var(--dt360-text-primary);
  padding: 16px 12px 8px;
  font: 500 14px/1.4 Space Grotesk, system-ui, sans-serif;
}

.dt360-floating-field > textarea {
  min-height: 92px;
  resize: vertical;
}

.dt360-floating-field > input:not([type="checkbox"])::placeholder,
.dt360-floating-field > textarea::placeholder {
  color: transparent;
}

.dt360-floating-field > input:not([type="checkbox"]):focus,
.dt360-floating-field > textarea:focus {
  outline: none;
  border-color: var(--dt360-cta-lime);
  box-shadow: 0 0 0 2px rgba(177, 255, 56, 0.18);
}

.dt360-floating-field > label {
  position: absolute;
  left: 10px;
  top: 14px;
  transform: none;
  pointer-events: none;
  padding: 0 6px;
  border-radius: 6px;
  background: #2A1F4A;
  color: #9c95c9;
  font: 500 13px/1.1 Space Grotesk, system-ui, sans-serif;
  transition: top 0.18s ease, transform 0.18s ease, font-size 0.18s ease, color 0.18s ease;
}

.dt360-floating-field > textarea + label {
  top: 14px;
}

.dt360-floating-field:focus-within > label,
.dt360-floating-field.is-filled > label,
.dt360-floating-field > input:not([type="checkbox"]):focus + label,
.dt360-floating-field > input:not([type="checkbox"]):not(:placeholder-shown) + label,
.dt360-floating-field > textarea:focus + label,
.dt360-floating-field > textarea:not(:placeholder-shown) + label,
.dt360-floating-field > input:not([type="checkbox"]):-webkit-autofill + label {
  top: -8px;
  transform: none;
  font-size: 11px;
  color: #C6B9FF;
}

.dt360-section-optional {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 12px;
}

.dt360-section-optional[data-state="collapsed"] {
  opacity: 0.4;
  transform: scale(0.98);
  pointer-events: none;
  transition: all 0.2s ease;
}

.dt360-section-optional[data-state="active"] {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  border-color: rgba(177, 255, 56, 0.25);
  background: rgba(255, 255, 255, 0.02);
}

.dt360-section-actions[data-state="hidden"] {
  display: none;
}

.dt360-section-actions[data-state="visible"] {
  display: grid;
  gap: 12px;
  position: sticky;
  bottom: 0;
  z-index: 3;
  padding: 14px 0 2px;
  margin-top: 2px;
  background: linear-gradient(180deg, rgba(18, 7, 38, 0) 0%, rgba(18, 7, 38, 0.94) 28%, #120726 100%);
}

.dt360-privacy {
  display: flex;
  gap: 12px;
  align-items: start;
  margin: 0;
  color: var(--dt360-text-soft);
  font-size: 13px;
  line-height: 1.5;
}

.dt360-privacy input {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  flex: 0 0 auto;
}

.dt360-modal-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

#calculator-contact-submit {
  background: var(--dt360-cta-lime);
  border-color: var(--dt360-cta-lime);
  color: var(--dt360-cta-text-dark);
}

#calculator-contact-submit:hover {
  background: var(--dt360-cta-lime-hover);
  border-color: var(--dt360-cta-lime-hover);
  color: var(--dt360-cta-text-dark);
}

.dt360-modal-hint {
  margin: 0;
  color: var(--dt360-text-muted);
  font-size: 12px;
  line-height: 1.4;
}

@media (max-width: 720px) {
  .dt360-modal-actions button {
    width: 100%;
  }

  .dt360-grid-2 {
    grid-template-columns: 1fr;
  }

  .dt360-modal {
    align-items: flex-end;
    padding: 12px;
  }

  /* Only the five-answer overlay is top-aligned within the mobile safe area. */
  #preview-answers-overlay.dt360-modal {
    align-items: flex-start;
    padding: calc(12px + env(safe-area-inset-top, 0px)) 12px
             calc(12px + env(safe-area-inset-bottom, 0px));
  }
  #preview-answers-overlay > .dt360-modal-card {
    max-height: calc(100dvh - 24px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
  }

  .dt360-modal-card {
    max-height: calc(100dvh - 24px);
    border-radius: 16px;
    padding: 18px 14px;
  }

  .dt360-modal-scroll {
    padding-right: 2px;
  }

  .dt360-modal-form {
    gap: 14px;
  }

  .dt360-section-optional {
    padding: 10px;
  }

  .dt360-state-box {
    width: calc(100% - 24px);
    padding: 14px 12px;
  }
}
/* DT360 CALCULATOR CONTACT MODAL CHECK PARITY CSS END */

/* DT360 CONTACT MODAL CSS STATE BRIDGE START */
#calculator-contact-form:has(#calculator-contact-first-name:valid):has(#calculator-contact-last-name:valid):has(#calculator-contact-company:valid):has(#calculator-contact-email:valid) .dt360-section-optional[data-state="collapsed"],
#calculator-contact-form:has(#calculator-contact-first-name:valid):has(#calculator-contact-last-name:valid):has(#calculator-contact-company:valid):has(#calculator-contact-email:valid) .dt360-section-actions[data-state="hidden"] {
  display: grid !important;
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

/* DT360 CONTACT MODAL CSS STATE BRIDGE END */


/* DT360 CALCULATOR DESKTOP ACTION BUTTONS SAFE START */
@media (min-width: 721px) {
  .dt360-shell > footer.dt360-shell-actions.dt360-calculator-shell-actions .dt360-calculator-preview-actions[hidden],
  .dt360-shell > footer.dt360-shell-actions.dt360-calculator-shell-actions .dt360-calculator-detail-actions[hidden] {
    display: none !important;
  }

  .dt360-shell > footer.dt360-shell-actions.dt360-calculator-shell-actions .dt360-calculator-preview-actions:not([hidden]),
  .dt360-shell > footer.dt360-shell-actions.dt360-calculator-shell-actions .dt360-calculator-detail-actions:not([hidden]) {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 14px !important;
    width: 100%;
    margin: 0 auto;
  }

  .dt360-shell > footer.dt360-shell-actions.dt360-calculator-shell-actions .dt360-calculator-preview-actions:not([hidden]) button,
  .dt360-shell > footer.dt360-shell-actions.dt360-calculator-shell-actions .dt360-calculator-detail-actions:not([hidden]) button {
    width: auto !important;
    min-width: 180px;
    max-width: 260px;
    flex: 0 0 auto;
  }

  .dt360-shell > footer.dt360-shell-actions.dt360-calculator-shell-actions .dt360-calculator-preview-actions:not([hidden]) button[data-action$="-next"],
  .dt360-shell > footer.dt360-shell-actions.dt360-calculator-shell-actions .dt360-calculator-detail-actions:not([hidden]) button[data-action$="-next"] {
    min-width: 220px;
  }
}
/* DT360 CALCULATOR DESKTOP ACTION BUTTONS SAFE END */

/* DT360 CHECK INSIGHTS V1.0.0 BEGIN — only prefilled return screen */
#calculator-start .dt360-check-insights {
  margin: 12px 0 22px;
  padding: 17px 0 0;
  border-top: 1px solid var(--dt360-border-soft);
  color: var(--dt360-text-primary);
}
#calculator-start .dt360-check-insights__kicker {
  margin: 0 0 5px;
  font-family: Aldrich, Space Grotesk, system-ui, sans-serif;
  color: var(--dt360-text-soft);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
#calculator-start .dt360-check-insights h3 {
  margin: 0 0 12px;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.3;
  font-weight: 700;
  color: var(--dt360-text-primary);
}
#calculator-start .dt360-check-insights__context,
#calculator-start .dt360-check-insights__empty {
  margin: 2px 0 12px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--dt360-text-soft);
}
#calculator-start .dt360-check-insights__item {
  display: grid;
  gap: 3px;
  margin: 0;
  padding: 12px 0;
  border-top: 1px solid var(--dt360-border-soft);
}
#calculator-start .dt360-check-insights__status {
  margin: 0;
  color: var(--dt360-text-soft);
  font-size: 12px;
  line-height: 1.4;
}
#calculator-start .dt360-check-insights__item h4 {
  margin: 0;
  color: var(--dt360-text-primary);
  font-size: 16px;
  line-height: 1.35;
  font-weight: 700;
}
#calculator-start .dt360-check-insights__description {
  margin: 0;
  color: var(--dt360-text-soft);
  font-size: 14px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
#calculator-start .dt360-check-insights__report {
  display: inline-block;
  margin: 9px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--dt360-text-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 760px) {
  #calculator-start .dt360-check-insights {
    margin: 10px 0 16px;
    padding-top: 13px;
  }
  #calculator-start .dt360-check-insights__item {padding: 10px 0;}
  #calculator-start .dt360-check-insights__item h4 {font-size: 15px;}
  #calculator-start .dt360-check-insights__description {font-size: 14px;}
  #calculator-start .dt360-check-insights__report {font-size: 14px;}
}
/* DT360 CHECK INSIGHTS V1.0.0 END */

/* DT360 CHECK INSIGHTS SINGLE CONTINUE V1.0.2 BEGIN */
#calculator-start.dt360-check-insights-single-cta .dt360-calculator-start-actions [data-action="start-preview"] {
  display: none !important;
}
#calculator-start.dt360-check-insights-single-cta .dt360-calculator-start-actions [data-action="skip-prefilled-preview"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: 100%;
  min-height: 44px;
  padding: 11px 22px;
  border: 1px solid var(--dt360-cta-lime);
  border-radius: 999px;
  background: var(--dt360-cta-lime);
  color: var(--dt360-cta-text-dark);
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 0 0 1px var(--dt360-lime-border);
}
#calculator-start.dt360-check-insights-single-cta .dt360-calculator-start-actions [data-action="skip-prefilled-preview"]:hover {
  background: var(--dt360-cta-lime-hover);
  border-color: var(--dt360-cta-lime-hover);
  color: var(--dt360-cta-text-dark);
  text-decoration: none;
}
#calculator-start.dt360-check-insights-single-cta .dt360-calculator-start-actions [data-action="skip-prefilled-preview"]:focus-visible {
  outline: 2px solid var(--dt360-cta-lime);
  outline-offset: 3px;
}
@media (max-width: 760px) {
  #calculator-start.dt360-check-insights-single-cta .dt360-calculator-start-actions [data-action="skip-prefilled-preview"] {
    width: 100%;
  }
}
/* DT360 CHECK INSIGHTS SINGLE CONTINUE V1.0.2 END */

/* DT360 BLOCK JUMP V1.0.0 START */
#preview-flow .dt360-cross-block-jump[hidden],
#detail-flow .dt360-cross-block-jump[hidden] {
  display: none !important;
}
#preview-flow .dt360c-orientation:has(.dt360-cross-block-jump:not([hidden])),
#detail-flow .dt360c-orientation:has(.dt360-cross-block-jump:not([hidden])) {
  justify-content: space-between;
  gap: 8px;
  flex-wrap: nowrap;
}
#preview-flow .dt360-cross-block-jump,
#detail-flow .dt360-cross-block-jump {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  min-height: 32px;
  max-width: 53%;
  padding: 4px 0 4px 5px;
  border: 0;
  background: none;
  box-shadow: none;
  color: var(--dt360-cta-lime, #D3FF3D);
  font: 600 12px/1.15 Space Grotesk, system-ui, sans-serif;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-align: right;
  white-space: nowrap;
  cursor: pointer;
}
#preview-flow .dt360-cross-block-jump:focus-visible,
#detail-flow .dt360-cross-block-jump:focus-visible {
  outline: 2px solid var(--dt360-cta-lime, #D3FF3D);
  outline-offset: 2px;
  border-radius: 3px;
}
@media (max-width: 390px) {
  #preview-flow .dt360c-orientation:has(.dt360-cross-block-jump:not([hidden])),
  #detail-flow .dt360c-orientation:has(.dt360-cross-block-jump:not([hidden])) {
    gap: 4px;
  }
  #preview-flow .dt360-cross-block-jump,
  #detail-flow .dt360-cross-block-jump {
    font-size: 11px;
  }
}
/* DT360 BLOCK JUMP V1.0.0 END */
