/* ── Design tokens (dle dobreprodat.cz) ── */
  .dp-oceneni {
    --modra: #3452e1;
    --modra-hover: #2a42c8;
    --navy: #1b2341;
    --svetle-modra: #ebf0ff;
    --input-bg: #f7f8fa;
    --zelena: #22c55e;
    --zluta-bg: #fff8e6;
    --zluta-border: #f5d98a;
    --sediva-text: #6b7280;
    --border: #e5e7eb;
    --radius-karta: 20px;
    --radius-input: 8px;

    font-family: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--navy);
    max-width: 640px;
    margin: 0 auto;
    box-sizing: border-box;
    line-height: 1.5;
  }
  .dp-oceneni *,
  .dp-oceneni *::before,
  .dp-oceneni *::after {
    box-sizing: border-box;
  }

  /* ── Karta ── */
  .dp-card {
    background: #fff;
    border-radius: var(--radius-karta);
    box-shadow: 0 4px 24px rgba(27, 35, 65, 0.08);
    padding: 32px;
  }
  @media (max-width: 520px) {
    .dp-card {
      padding: 22px 18px;
    }
  }

  /* ── Progress stepper ── */
  .dp-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 28px;
  }
  .dp-step-dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    background: var(--input-bg);
    color: var(--sediva-text);
    border: 2px solid var(--border);
    transition: all 0.25s ease;
    flex: 0 0 auto;
  }
  .dp-step-dot.active {
    background: var(--modra);
    color: #fff;
    border-color: var(--modra);
  }
  .dp-step-dot.done {
    background: var(--svetle-modra);
    color: var(--modra);
    border-color: var(--svetle-modra);
  }
  .dp-step-line {
    height: 2px;
    width: 26px;
    background: var(--border);
    transition: background 0.25s ease;
  }
  .dp-step-line.done {
    background: var(--modra);
  }

  /* ── Typografie kroku ── */
  .dp-step-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 6px;
  }
  .dp-step-sub {
    font-size: 15px;
    color: var(--sediva-text);
    margin: 0 0 24px;
  }

  /* ── Vizuální karty (typ, stav) ── */
  .dp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .dp-choice {
    border: 2px solid var(--border);
    border-radius: 14px;
    background: var(--input-bg);
    padding: 20px 16px;
    cursor: pointer;
    text-align: center;
    transition: all 0.18s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 15px;
    user-select: none;
  }
  .dp-choice:hover {
    border-color: var(--modra);
    background: var(--svetle-modra);
  }
  .dp-choice.selected {
    border-color: var(--modra);
    background: var(--svetle-modra);
    box-shadow: 0 0 0 3px rgba(52, 82, 225, 0.12);
  }
  .dp-choice .dp-ico {
    font-size: 28px;
    line-height: 1;
  }
  .dp-choice small {
    font-weight: 400;
    color: var(--sediva-text);
    font-size: 12.5px;
  }

  /* ── Inputy ── */
  .dp-field {
    margin-bottom: 16px;
  }
  .dp-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
  }
  .dp-label .req {
    color: var(--modra);
  }
  .dp-input {
    width: 100%;
    padding: 13px 14px;
    border: 2px solid transparent;
    border-radius: var(--radius-input);
    background: var(--input-bg);
    font-family: inherit;
    font-size: 15px;
    color: var(--navy);
    transition: border-color 0.18s ease, background 0.18s ease;
    -webkit-appearance: none;
  }
  .dp-input::placeholder {
    color: #aab0bd;
  }
  .dp-input:focus {
    outline: none;
    border-color: var(--modra);
    background: #fff;
  }
  .dp-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  @media (max-width: 480px) {
    .dp-row {
      grid-template-columns: 1fr;
    }
  }

  /* ── Pills (dispozice) ── */
  .dp-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .dp-pill {
    padding: 9px 16px;
    border-radius: 999px;
    border: 2px solid var(--border);
    background: var(--input-bg);
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.15s ease;
    user-select: none;
  }
  .dp-pill:hover {
    border-color: var(--modra);
  }
  .dp-pill.selected {
    background: var(--modra);
    border-color: var(--modra);
    color: #fff;
  }

  /* ── Toggly (vybavení) ── */
  .dp-toggles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  @media (max-width: 480px) {
    .dp-toggles {
      grid-template-columns: 1fr;
    }
  }
  .dp-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-input);
    background: var(--input-bg);
    cursor: pointer;
    font-weight: 600;
    font-size: 14.5px;
    transition: all 0.15s ease;
    user-select: none;
  }
  .dp-toggle:hover {
    border-color: var(--modra);
  }
  .dp-toggle.selected {
    border-color: var(--modra);
    background: var(--svetle-modra);
  }
  .dp-switch {
    width: 40px;
    height: 23px;
    border-radius: 999px;
    background: #d1d5db;
    position: relative;
    transition: background 0.18s ease;
    flex: 0 0 auto;
  }
  .dp-switch::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: #fff;
    transition: transform 0.18s ease;
  }
  .dp-toggle.selected .dp-switch {
    background: var(--modra);
  }
  .dp-toggle.selected .dp-switch::after {
    transform: translateX(17px);
  }

  /* ── Checkboxy (kontakt) ── */
  .dp-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--navy);
    cursor: pointer;
    margin-bottom: 12px;
  }
  .dp-check input {
    margin-top: 2px;
    width: 18px;
    height: 18px;
    accent-color: var(--modra);
    flex: 0 0 auto;
    cursor: pointer;
  }
  .dp-check a {
    color: var(--modra);
    text-decoration: underline;
  }

  /* ── Tlačítka ── */
  .dp-actions {
    display: flex;
    gap: 12px;
    margin-top: 26px;
  }
  .dp-btn {
    font-family: inherit;
    font-size: 15.5px;
    font-weight: 600;
    border-radius: 10px;
    padding: 14px 22px;
    cursor: pointer;
    border: none;
    transition: all 0.18s ease;
    flex: 1;
  }
  .dp-btn-primary {
    background: var(--modra);
    color: #fff;
  }
  .dp-btn-primary:hover:not(:disabled) {
    background: var(--modra-hover);
  }
  .dp-btn-primary:disabled {
    opacity: 0.45;
    cursor: not-allowed;
  }
  .dp-btn-ghost {
    background: transparent;
    color: var(--sediva-text);
    flex: 0 0 auto;
    padding: 14px 18px;
  }
  .dp-btn-ghost:hover {
    color: var(--navy);
  }

  /* ── Loading ── */
  .dp-loading {
    text-align: center;
    padding: 30px 10px;
  }
  .dp-spinner {
    width: 56px;
    height: 56px;
    border: 5px solid var(--svetle-modra);
    border-top-color: var(--modra);
    border-radius: 50%;
    margin: 0 auto 22px;
    animation: dp-spin 0.9s linear infinite;
  }
  @keyframes dp-spin {
    to {
      transform: rotate(360deg);
    }
  }
  .dp-loading-msg {
    font-size: 16px;
    font-weight: 600;
    min-height: 24px;
    transition: opacity 0.3s ease;
  }
  .dp-loading-sub {
    color: var(--sediva-text);
    font-size: 14px;
    margin-top: 6px;
  }

  /* ── Výsledek ── */
  .dp-result-hero {
    background: var(--navy);
    color: #fff;
    border-radius: var(--radius-karta);
    padding: 28px;
    text-align: center;
    margin-bottom: 16px;
  }
  .dp-result-hero .lbl {
    font-size: 14px;
    opacity: 0.75;
    margin-bottom: 6px;
  }
  .dp-result-hero .price {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.1;
  }
  @media (max-width: 480px) {
    .dp-result-hero .price {
      font-size: 32px;
    }
  }
  .dp-result-hero .range {
    font-size: 15px;
    opacity: 0.8;
    margin-top: 8px;
  }
  .dp-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 16px;
  }
  .dp-stat {
    background: var(--input-bg);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
  }
  .dp-stat .val {
    font-size: 20px;
    font-weight: 700;
    color: var(--modra);
  }
  .dp-stat .cap {
    font-size: 12.5px;
    color: var(--sediva-text);
    margin-top: 3px;
  }
  .dp-section-h {
    font-size: 15px;
    font-weight: 700;
    margin: 18px 0 10px;
  }
  .dp-zduvodneni {
    font-size: 14.5px;
    color: #374151;
    background: var(--input-bg);
    border-radius: 12px;
    padding: 16px;
  }
  .dp-comp {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 8px;
    font-size: 13.5px;
  }
  .dp-comp .top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-weight: 600;
  }
  .dp-comp .meta {
    color: var(--sediva-text);
    font-size: 12.5px;
    margin-top: 3px;
  }
  .dp-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--svetle-modra);
    color: var(--modra);
    white-space: nowrap;
  }
  .dp-disclaimer {
    background: var(--zluta-bg);
    border: 1px solid var(--zluta-border);
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 13px;
    color: #8a6d1f;
    margin: 16px 0;
  }
  .dp-cta {
    background: var(--svetle-modra);
    border-radius: var(--radius-karta);
    padding: 24px;
    text-align: center;
    margin-top: 16px;
  }
  .dp-cta h3 {
    margin: 0 0 6px;
    font-size: 19px;
  }
  .dp-cta p {
    margin: 0 0 16px;
    font-size: 14px;
    color: var(--sediva-text);
  }
  .dp-trust {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 16px;
    font-size: 13px;
    color: var(--sediva-text);
  }
  .dp-trust span::before {
    content: "✓ ";
    color: var(--zelena);
    font-weight: 700;
  }

  .dp-error {
    text-align: center;
    padding: 24px;
  }
  .dp-error .dp-ico {
    font-size: 40px;
  }

  /* ── Plovoucí nápověda „Skrolujte dolů" (když je obsah pod viditelnou oblastí) ── */
  .dp-scrollhint {
    position: sticky;
    bottom: 14px;
    z-index: 30;
    display: none;
    justify-content: center;
    pointer-events: none;
  }
  .dp-scrollhint.dp-show {
    display: flex;
  }
  .dp-scrollhint button {
    pointer-events: auto;
    cursor: pointer;
    border: none;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: var(--modra);
    padding: 9px 16px;
    border-radius: 999px;
    box-shadow: 0 8px 22px rgba(52, 82, 225, 0.45);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    animation: dp-hint-bounce 1.4s ease-in-out infinite;
  }
  .dp-scrollhint svg {
    width: 14px;
    height: 14px;
  }
  @keyframes dp-hint-bounce {
    0%,
    100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(4px);
    }
  }

  .dp-hidden {
    display: none !important;
  }
