    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --accent:      #7aaa9d;
      --accent-dark: #5d8f83;
      --accent-soft: #e8f4f1;
      --text:        #1a1a2e;
      --text-s:      #6b7280;
      --bg:          #f5f7f9;
      --card:        #ffffff;
      --border:      #e5e7eb;
      --radius:      12px;
      --font:        'Inter', sans-serif;
    }

    body {
      font-family: var(--font);
      background: var(--bg);
      color: var(--text);
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

    /* ── Header ── */
    header {
      background: #fff;
      border-bottom: 1px solid var(--border);
      padding: 14px 24px;
      display: flex;
      align-items: center;
      gap: 12px;
      position: sticky;
      top: 0;
      z-index: 100;
    }

    .logo-circle {
      width: 38px; height: 38px;
      background: var(--accent);
      border-radius: 10px;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
    }
    .logo-circle svg {
      width: 20px; height: 20px;
      fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
    }
    .header-text h1 { font-size: 16px; font-weight: 700; }
    .header-text p  { font-size: 12px; color: var(--text-s); }

    /* ── Steps bar ── */
    .steps-bar {
      background: #fff;
      border-bottom: 1px solid var(--border);
      padding: 10px 24px;
      display: flex;
      align-items: center;
      overflow-x: auto;
    }
    .step-item { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
    .step-num {
      width: 24px; height: 24px;
      border-radius: 50%;
      border: 2px solid var(--border);
      font-size: 11px; font-weight: 700;
      color: var(--text-s);
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
    }
    .step-item.active .step-num { background: var(--accent); border-color: var(--accent); color: #fff; }
    .step-item.done  .step-num  { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
    .step-label { font-size: 13px; font-weight: 500; color: var(--text-s); }
    .step-item.active .step-label { color: var(--text); font-weight: 600; }
    .step-item.done  .step-label  { color: var(--accent); }
    .step-sep { width: 22px; height: 2px; background: var(--border); margin: 0 4px; flex-shrink: 0; }
    .step-sep.done { background: var(--accent); }

    /* ── Main ── */
    main { max-width: 900px; width: 100%; margin: 0 auto; padding: 28px 20px 60px; flex: 1; }

    .section-title { font-size: 20px; font-weight: 700; margin-bottom: 5px; }
    .section-sub   { font-size: 14px; color: var(--text-s); margin-bottom: 24px; }

    /* ── Apartment grid ── */
    .planta-lbl {
      font-size: 11px; font-weight: 600; color: var(--text-s);
      text-transform: uppercase; letter-spacing: .06em;
      margin: 0 0 10px;
    }
    .planta-bloc { margin-bottom: 20px; }
    .pis-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
    }
    @media (max-width: 560px) { .pis-grid { grid-template-columns: repeat(2, 1fr); } }

    .pis-card {
      background: var(--card);
      border-radius: var(--radius);
      overflow: hidden;
      cursor: pointer;
      border: 2px solid var(--border);
      padding: 0;
      width: 100%;
      color: inherit;
      font: inherit;
      text-align: left;
      appearance: none;
      transition: transform .15s, border-color .15s, box-shadow .15s;
    }
    .pis-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 4px 14px rgba(122,170,157,.2); }
    .pis-card:focus-visible { outline: 3px solid rgba(79,70,229,.35); outline-offset: 2px; }
    .pis-card.selected { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(122,170,157,.18); }
    .pis-stripe { height: 5px; }
    .pis-body   { padding: 13px 14px; }
    .pis-nom    { font-size: 14px; font-weight: 700; margin-bottom: 7px; }
    .pis-tags   { display: flex; gap: 5px; flex-wrap: wrap; }
    .pis-tag    { font-size: 11px; color: var(--text-s); background: var(--bg); border-radius: 5px; padding: 2px 7px; }

    /* ── Calendar ── */
    .sel-summary {
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 14px 18px;
      margin-bottom: 18px;
      display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
    }
    .sel-item { display: flex; flex-direction: column; gap: 3px; }
    .sel-lbl  { font-size: 10px; font-weight: 700; color: var(--text-s); text-transform: uppercase; letter-spacing: .07em; }
    .sel-val  { font-size: 15px; font-weight: 700; }
    .sel-val.empty { font-size: 13px; font-weight: 400; color: var(--text-s); font-style: italic; }
    .sel-nights {
      margin-left: auto;
      background: var(--accent-soft); color: var(--accent-dark);
      font-size: 13px; font-weight: 700;
      padding: 5px 14px; border-radius: 20px;
    }

    .cal-nav {
      display: flex; align-items: center; justify-content: space-between;
      margin-bottom: 14px;
    }
    .cal-nav-btn {
      background: #fff; border: 1px solid var(--border); border-radius: 8px;
      width: 32px; height: 32px; cursor: pointer; font-size: 17px;
      display: flex; align-items: center; justify-content: center;
      color: var(--text-s); transition: all .13s; line-height: 1;
    }
    .cal-nav-btn:hover { border-color: var(--accent); color: var(--accent); }
    .cal-nav-lbl { font-size: 13px; font-weight: 600; color: var(--text-s); }

    .cal-wrap {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
    }
    @media (max-width: 620px) { .cal-wrap { grid-template-columns: 1fr; } }

    .cal-month {
      background: var(--card); border: 1px solid var(--border);
      border-radius: var(--radius); padding: 16px;
    }
    .cal-header { font-size: 14px; font-weight: 700; text-align: center; margin-bottom: 10px; }
    .cal-grid   { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
    .cal-dow    { text-align: center; font-size: 10px; font-weight: 700; color: var(--text-s); padding: 3px 0 7px; }
    .cal-day    { text-align: center; border: 0; background: transparent; color: inherit; border-radius: 6px; font: inherit; font-size: 12px; padding: 6px 2px; line-height: 1; user-select: none; }
    .cal-day:disabled { opacity: 1; cursor: not-allowed; }
    .cal-day:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 1px; }
    .cal-day.empty    {}
    .cal-day.past     { color: #d1d5db; }
    .cal-day.occupied { background: #fef2f2; color: #fca5a5; text-decoration: line-through; }
    .cal-day.available{ cursor: pointer; }
    .cal-day.available:hover { background: var(--accent-soft); color: var(--accent-dark); }
    .cal-day.sel-start, .cal-day.sel-end { background: var(--accent); color: #fff; font-weight: 700; cursor: pointer; border-radius: 6px; }
    .cal-day.in-range  { background: var(--accent-soft); color: var(--accent-dark); cursor: pointer; border-radius: 0; }

    .cal-legend { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 12px; }
    .legend-item { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--text-s); }
    .legend-dot  { width: 12px; height: 12px; border-radius: 3px; flex-shrink: 0; }

    /* ── Form ── */
    .content-card {
      background: var(--card); border: 1px solid var(--border);
      border-radius: var(--radius); padding: 22px 24px; margin-bottom: 16px;
    }
    .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
    @media (max-width: 540px) { .form-grid { grid-template-columns: 1fr; } }
    .form-group      { display: flex; flex-direction: column; gap: 5px; }
    .form-group.full { grid-column: 1 / -1; }
    .form-label      { font-size: 13px; font-weight: 600; }
    .form-label span { color: var(--accent); }

    .form-input, .form-select, .form-textarea {
      border: 1.5px solid var(--border); border-radius: 8px;
      padding: 9px 12px; font-size: 14px; font-family: var(--font);
      color: var(--text); background: #fff;
      transition: border-color .13s; outline: none; width: 100%;
    }
    .form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--accent); }
    .form-textarea { resize: vertical; min-height: 80px; }
    .form-note { font-size: 12px; color: var(--text-s); margin-top: 14px; }
    .form-note a { color: var(--accent); }

    /* ── Buttons ── */
    .btn {
      padding: 11px 22px; border-radius: 10px;
      font-size: 14px; font-weight: 600; font-family: var(--font);
      cursor: pointer; border: none; transition: all .15s;
    }
    .btn-primary             { background: var(--accent); color: #fff; }
    .btn-primary:hover       { background: var(--accent-dark); }
    .btn-primary:disabled    { opacity: .45; cursor: not-allowed; }
    .btn-ghost               { background: #fff; color: var(--text-s); border: 1.5px solid var(--border); }
    .btn-ghost:hover         { border-color: var(--accent); color: var(--accent); }
    .btn-row { display: flex; gap: 10px; justify-content: flex-end; margin-top: 22px; }

    /* ── Confirmation ── */
    .confirm-icon {
      width: 60px; height: 60px; background: var(--accent-soft); border-radius: 50%;
      display: flex; align-items: center; justify-content: center; margin: 0 auto 18px;
    }
    .confirm-icon svg {
      width: 28px; height: 28px; stroke: var(--accent); stroke-width: 2.5;
      fill: none; stroke-linecap: round; stroke-linejoin: round;
    }
    .confirm-title { font-size: 22px; font-weight: 700; text-align: center; margin-bottom: 7px; }
    .confirm-sub   { font-size: 14px; color: var(--text-s); text-align: center; max-width: 400px; margin: 0 auto 26px; line-height: 1.5; }
    .confirm-table { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; margin-bottom: 18px; }
    .confirm-row   { display: flex; gap: 16px; padding: 11px 16px; border-bottom: 1px solid var(--border); font-size: 13px; }
    .confirm-row:last-child { border-bottom: none; }
    .confirm-key   { font-weight: 600; min-width: 110px; color: var(--text-s); flex-shrink: 0; }
    .confirm-val   { color: var(--text); }

    /* ── Loading & Error ── */
    .loading    { text-align: center; padding: 48px; color: var(--text-s); font-size: 14px; }
    .spinner    {
      display: inline-block; width: 22px; height: 22px;
      border: 3px solid var(--border); border-top-color: var(--accent);
      border-radius: 50%; animation: spin .65s linear infinite; margin-bottom: 10px;
    }
    @keyframes spin { to { transform: rotate(360deg); } }
    .error-msg {
      background: #fef2f2; border: 1px solid #fca5a5; color: #dc2626;
      border-radius: 8px; padding: 11px 14px; font-size: 13px; margin-top: 12px;
    }
    .error-msg a { color: #dc2626; }

    /* ── Footer ── */
    footer {
      text-align: center; padding: 24px 20px;
      color: var(--text-s); font-size: 12px;
      border-top: 1px solid var(--border); background: #fff;
    }
    footer a { color: var(--accent); text-decoration: none; }
