.dt-pb-page {
  --pb-ink: #121826;
  --pb-muted: #5d687b;
  --pb-line: #d9dee8;
  --pb-blue: #5366cc;
  --pb-blue-dark: #3f51b5;
  --pb-teal: #31a7b8;
  --pb-warm: #f8f1eb;
  background: var(--pb-warm);
  color: var(--pb-ink);
  min-height: 70vh;
}

.dt-pb-intro {
  border-block-end: 1px solid #e6ddd5;
  padding-block: 52px 34px;
}

.dt-pb-intro h1 {
  font: 600 52px/1.08 "Sora", sans-serif;
  letter-spacing: 0;
  margin: 0;
  max-width: 800px;
}

.dt-pb-intro p {
  color: var(--pb-muted);
  font-size: 17px;
  line-height: 1.7;
  margin: 16px 0 0;
  max-width: 780px;
}

.dt-pb-section { padding-block: 34px 72px; }

.dt-pb-app {
  align-items: stretch;
  background: #fff;
  border: 1px solid #dfe3eb;
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(26, 34, 52, .08);
  display: grid;
  grid-template-columns: minmax(238px, 286px) minmax(0, 1fr);
  min-height: 640px;
  overflow: hidden;
}

.dt-pb-rail {
  background: #f7f8fb;
  border-inline-end: 1px solid var(--pb-line);
  padding: 28px 22px;
}

.dt-pb-context { border-block-end: 1px solid var(--pb-line); padding-block-end: 22px; }
.dt-pb-context > span { color: var(--pb-blue); display: block; font-size: 12px; font-weight: 700; margin-block-end: 7px; text-transform: uppercase; }
.dt-pb-context strong { display: block; font: 600 18px/1.35 "Sora", sans-serif; }
.dt-pb-context p { color: var(--pb-muted); font-size: 13px; line-height: 1.55; margin: 8px 0 0; }
.dt-pb-context img { aspect-ratio: 16 / 9; border: 1px solid var(--pb-line); border-radius: 5px; margin-block-start: 14px; object-fit: cover; width: 100%; }

.dt-pb-stepper { display: grid; gap: 2px; list-style: none; margin: 20px 0; padding: 0; }
.dt-pb-stepper button {
  align-items: center; background: transparent; border: 0; border-inline-start: 2px solid transparent; color: #697488;
  cursor: pointer; display: grid; font: 500 13px/1.3 "Inter", sans-serif; gap: 10px; grid-template-columns: 25px 1fr;
  letter-spacing: 0; min-height: 38px; padding: 6px 9px; text-align: start; width: 100%;
}
.dt-pb-stepper button span { color: #8a94a5; font: 500 11px/1 "JetBrains Mono", monospace; }
.dt-pb-stepper button:hover:not(:disabled) { border-inline-start-color: var(--pb-teal); color: var(--pb-ink); }
.dt-pb-stepper button[aria-current="step"] { border-inline-start-color: var(--pb-blue); color: var(--pb-ink); font-weight: 600; }
.dt-pb-stepper button[aria-current="step"] span { color: var(--pb-blue); }
.dt-pb-stepper button:disabled { cursor: default; opacity: .55; }
.dt-pb-stepper button.is-complete:not(:disabled) span { color: var(--pb-teal); }

.dt-pb-start-over { background: transparent; border: 0; color: var(--pb-blue-dark); cursor: pointer; font: 600 13px/1.4 "Inter", sans-serif; padding: 5px 0; }
.dt-pb-start-over:hover { text-decoration: underline; text-underline-offset: 3px; }
.dt-pb-rail-note { color: #798396; font-size: 12px; line-height: 1.5; margin: 12px 0 0; }
.dt-pb-mobile-progress { display: none; }

.dt-pb-workspace { min-width: 0; padding: 36px clamp(26px, 4vw, 58px); }
.dt-pb-loading { color: var(--pb-muted); padding-block: 80px; text-align: center; }
.dt-pb-loading.is-error { color: #9d2d35; }
.dt-pb-form { margin: 0; }
.dt-pb-step-header { border-block-end: 1px solid var(--pb-line); margin-block-end: 28px; padding-block-end: 22px; }
.dt-pb-step-header > span { color: var(--pb-blue); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.dt-pb-step-header h2 { font: 600 34px/1.2 "Sora", sans-serif; letter-spacing: 0; margin: 6px 0 8px; outline: 0; }
.dt-pb-step-header p { color: var(--pb-muted); line-height: 1.6; margin: 0; }

.dt-pb-fields { display: grid; gap: 24px; }
.dt-pb-field { min-width: 0; }
.dt-pb-field > label,
.dt-pb-field legend { color: var(--pb-ink); display: block; font-size: 14px; font-weight: 600; line-height: 1.45; margin: 0 0 8px; padding: 0; }
.dt-pb-field fieldset { border: 0; margin: 0; min-width: 0; padding: 0; }
.dt-pb-required { color: #a35634; }
.dt-pb-field input:not([type="checkbox"]):not([type="radio"]),
.dt-pb-field textarea,
.dt-pb-field select {
  appearance: none; background: #fff; border: 1px solid #cfd5df; border-radius: 5px; box-shadow: none; box-sizing: border-box;
  color: var(--pb-ink); font: 400 15px/1.5 "Inter", sans-serif; letter-spacing: 0; min-height: 46px; padding: 10px 12px; width: 100%;
}
.dt-pb-field select { background-image: linear-gradient(45deg, transparent 50%, #68758a 50%), linear-gradient(135deg, #68758a 50%, transparent 50%); background-position: calc(100% - 18px) 20px, calc(100% - 13px) 20px; background-repeat: no-repeat; background-size: 5px 5px; padding-inline-end: 34px; }
[dir="rtl"] .dt-pb-field select { background-position: 18px 20px, 13px 20px; padding-inline: 34px 12px; }
.dt-pb-field textarea { min-height: 108px; resize: vertical; }
.dt-pb-field input:focus,
.dt-pb-field textarea:focus,
.dt-pb-field select:focus { border-color: var(--pb-blue); box-shadow: 0 0 0 3px rgba(83, 102, 204, .14); outline: 0; }

.dt-pb-choices { display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dt-pb-choice,
.dt-pb-check { align-items: flex-start; color: #2c3546; cursor: pointer; display: flex; font-size: 14px; gap: 9px; line-height: 1.45; min-width: 0; }
.dt-pb-choice { border-block-end: 1px solid #edf0f4; min-height: 40px; padding: 8px 4px; }
.dt-pb-choice input,
.dt-pb-check input { accent-color: var(--pb-blue); flex: 0 0 auto; height: 18px; margin: 1px 0 0; width: 18px; }
.dt-pb-choice span,
.dt-pb-check span { min-width: 0; overflow-wrap: anywhere; }
.dt-pb-help,
.dt-pb-assets-note { color: var(--pb-muted); font-size: 13px; line-height: 1.5; margin: 7px 0 0; }
.dt-pb-field-error { color: #9d2d35; font-size: 13px; font-weight: 600; margin: 7px 0 0; }
.dt-pb-field.has-error input:not([type="checkbox"]):not([type="radio"]),
.dt-pb-field.has-error textarea,
.dt-pb-field.has-error select { border-color: #b54c55; }

.dt-pb-sensitive-warning { border-inline-start: 3px solid #c89b4a; color: #5c4a29; font-size: 13px; line-height: 1.55; margin: 0; padding: 10px 12px; }
.dt-pb-privacy-box { background: #f8f9fc; border: 1px solid var(--pb-line); border-radius: 6px; display: grid; gap: 18px; padding: 20px; }
.dt-pb-privacy-box a { color: var(--pb-blue-dark); font-weight: 600; }

.dt-pb-actions { align-items: center; border-block-start: 1px solid var(--pb-line); display: flex; gap: 12px; justify-content: flex-end; margin-block-start: 34px; padding-block-start: 22px; }
.dt-pb-button { border: 1px solid transparent; border-radius: 5px; cursor: pointer; font: 600 14px/1 "Inter", sans-serif; letter-spacing: 0; min-height: 44px; padding: 0 19px; }
.dt-pb-button--primary { background: var(--pb-blue); color: #fff; }
.dt-pb-button--primary:hover { background: var(--pb-blue-dark); }
.dt-pb-button--secondary { background: #fff; border-color: #cfd5df; color: var(--pb-ink); }
.dt-pb-button:disabled { cursor: wait; opacity: .65; }

.dt-pb-error-summary { background: #fff7f7; border: 1px solid #e1a6aa; border-inline-start: 3px solid #b54c55; border-radius: 4px; color: #712a30; margin-block-end: 24px; padding: 14px 16px; }
.dt-pb-error-summary ul { margin: 8px 0 0; padding-inline-start: 20px; }
.dt-pb-error-summary a { color: inherit; }
.dt-pb-review { display: grid; gap: 22px; }
.dt-pb-review-group { border-block-end: 1px solid var(--pb-line); padding-block-end: 20px; }
.dt-pb-review-group > div { align-items: center; display: flex; justify-content: space-between; }
.dt-pb-review-group h3 { font: 600 18px/1.35 "Sora", sans-serif; margin: 0; }
.dt-pb-review-group button { background: transparent; border: 0; color: var(--pb-blue-dark); cursor: pointer; font-weight: 600; }
.dt-pb-review-group dl { display: grid; gap: 8px 18px; grid-template-columns: minmax(150px, .45fr) minmax(0, 1fr); margin: 14px 0 0; }
.dt-pb-review-group dt { color: var(--pb-muted); font-size: 13px; }
.dt-pb-review-group dd { color: var(--pb-ink); font-size: 14px; margin: 0; overflow-wrap: anywhere; white-space: pre-wrap; }
.dt-pb-review-warnings { background: #fffaf0; border-inline-start: 3px solid #c89b4a; margin-block-end: 20px; padding: 12px 15px; }
.dt-pb-review-warnings p { margin: 0; }

.dt-pb-success { margin: 60px auto; max-width: 600px; text-align: center; }
.dt-pb-success h2 { font: 600 34px/1.2 "Sora", sans-serif; margin: 0 0 14px; outline: 0; }
.dt-pb-success p { color: var(--pb-muted); line-height: 1.65; }
.dt-pb-success strong { color: var(--pb-blue-dark); font-family: "JetBrains Mono", monospace; }
.dt-pb-noscript { background: #fff7f7; border: 1px solid #e1a6aa; margin-block-end: 20px; padding: 16px; }

@media (max-width: 900px) {
  .dt-pb-intro { padding-block: 38px 28px; }
  .dt-pb-app { grid-template-columns: 220px minmax(0, 1fr); }
  .dt-pb-rail { padding: 22px 16px; }
  .dt-pb-stepper button { font-size: 12px; gap: 6px; }
  .dt-pb-workspace { padding: 28px 24px; }
  .dt-pb-choices { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .dt-pb-intro { padding-block: 28px 22px; }
  .dt-pb-intro h1 { font-size: 32px; }
  .dt-pb-intro p { font-size: 15px; line-height: 1.6; }
  .dt-pb-section { padding-block: 18px 42px; }
  .dt-pb-app { display: block; min-height: 0; }
  .dt-pb-rail { border-block-end: 1px solid var(--pb-line); border-inline-end: 0; padding: 18px; }
  .dt-pb-context { padding-block-end: 15px; }
  .dt-pb-context p { margin-block-start: 5px; }
  .dt-pb-context img { display: none; }
  .dt-pb-stepper { display: none; }
  .dt-pb-mobile-progress { display: grid; gap: 5px; margin-block-start: 15px; }
  .dt-pb-mobile-progress span { color: var(--pb-blue); font-size: 12px; font-weight: 700; }
  .dt-pb-mobile-progress strong { font-size: 14px; }
  .dt-pb-mobile-progress progress { accent-color: var(--pb-blue); height: 5px; width: 100%; }
  .dt-pb-start-over { margin-block-start: 12px; }
  .dt-pb-rail-note { display: none; }
  .dt-pb-workspace { padding: 24px 18px; }
  .dt-pb-step-header { margin-block-end: 22px; padding-block-end: 18px; }
  .dt-pb-step-header h2 { font-size: 26px; }
  .dt-pb-fields { gap: 21px; }
  .dt-pb-actions { justify-content: stretch; }
  .dt-pb-button { flex: 1 1 0; padding-inline: 12px; }
  .dt-pb-review-group dl { grid-template-columns: 1fr; gap: 4px; }
  .dt-pb-review-group dd + dt { margin-block-start: 8px; }
}

@media (max-width: 360px) {
  .dt-pb-intro h1 { font-size: 29px; }
  .dt-pb-workspace { padding-inline: 14px; }
  .dt-pb-rail { padding-inline: 14px; }
  .dt-pb-actions { align-items: stretch; flex-direction: column-reverse; }
  .dt-pb-button { width: 100%; }
}

[dir="rtl"] .dt-pb-stepper button,
[dir="rtl"] .dt-pb-field > label,
[dir="rtl"] .dt-pb-field legend,
[dir="rtl"] .dt-pb-review-group { text-align: start; }
[dir="rtl"] .dt-pb-actions { flex-direction: row-reverse; }
@media (max-width: 360px) { [dir="rtl"] .dt-pb-actions { flex-direction: column-reverse; } }
