.osbw {
    box-sizing: border-box;
    width: 100%;
    max-width: 780px;
    margin: 0 auto;
    padding: 0 18px 40px;
    border: 0;
    background: transparent;
    color: #0a0000;
    font-family: "Involve", Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
  }

  .osbw[hidden],
  .osbw [hidden] {
    display: none !important;
  }

  .osbw-fallback {
    width: min(100% - 36px, 780px);
    margin: 0 auto;
    border-top: 1px solid #d76f2c;
    border-bottom: 1px solid #d76f2c;
    padding: 14px 0;
    color: #34210f;
    font-family: "Involve", Arial, sans-serif;
    line-height: 1.45;
  }

  .osbw-fallback[hidden] {
    display: none !important;
  }

  .osbw-fallback a {
    color: #8b3d12;
    font-weight: 700;
  }

  .osbw *,
  .osbw *::before,
  .osbw *::after {
    box-sizing: border-box;
  }

  .osbw h2,
  .osbw p {
    margin-top: 0;
  }

  .osbw h2 {
    margin-bottom: 12px;
    color: #d76f2c;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
  }

  .osbw__telegram-wrap {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    margin-top: 32px;
    border-top: 1px solid rgba(215, 111, 44, 0.76);
    padding-top: 22px;
    font-size: 15px;
  }

  .osbw__telegram-choice {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    border: 1.5px solid #0a0000;
    border-radius: 28px;
    padding: 6px 16px 6px 7px;
    color: #0a0000;
    font-weight: 700;
    text-decoration: none;
  }

  .osbw__telegram-icon {
    display: inline-flex;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #229ed9;
    color: #fff;
    box-shadow: none;
  }

  .osbw__telegram-icon svg {
    width: 21px;
    height: 21px;
    fill: currentColor;
  }

  .osbw__telegram-choice:focus-visible,
  .osbw button:focus-visible,
  .osbw input:focus,
  .osbw select:focus,
  .osbw textarea:focus {
    outline: 2px solid #d76f2c;
    outline-offset: 2px;
  }

  .osbw__demo-note {
    margin: 0 0 26px;
    border-top: 1px solid #d76f2c;
    border-bottom: 1px solid #d76f2c;
    padding: 10px 0;
    color: #4b260f;
    font-size: 14px;
    line-height: 1.4;
  }

  .osbw__progress {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin: 0 0 42px;
    padding: 0;
    list-style: none;
  }

  .osbw__progress li {
    display: flex;
    gap: 5px;
    align-items: baseline;
    min-width: 0;
    border-bottom: 1px solid rgba(215, 111, 44, 0.48);
    padding: 0 0 10px;
    color: #67543d;
    font-size: 13px;
  }

  .osbw__progress span {
    display: inline;
    width: auto;
    height: auto;
    flex: 0 0 auto;
    border: 0;
    color: #9b4c1c;
    font-weight: 700;
  }

  .osbw__progress li[aria-current="step"],
  .osbw__progress li[data-complete="true"] {
    border-bottom: 2px solid #d76f2c;
    color: #0a0000;
  }

  .osbw__progress li[aria-current="step"] span,
  .osbw__progress li[data-complete="true"] span {
    color: #d76f2c;
  }

  .osbw__form,
  .osbw__step,
  .osbw__participant-list,
  .osbw__service-list,
  .osbw__fieldset {
    display: grid;
    gap: 24px;
  }

  .osbw__step-head p {
    margin-bottom: 0;
    color: #4d3b24;
    font-size: 16px;
    line-height: 1.6;
  }

  .osbw__eyebrow {
    margin-bottom: 6px;
    color: #9b4c1c;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
  }

  .osbw__participant {
    display: grid;
    gap: 22px;
    border: 0;
    border-top: 1px solid rgba(215, 111, 44, 0.7);
    border-radius: 0;
    padding: 30px 0 12px;
    background: transparent;
  }

  .osbw__participant:first-child {
    border-top: 0;
    padding-top: 0;
  }

  .osbw__participant-head {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
  }

  .osbw__participant-head h3 {
    margin: 0;
    color: #d76f2c;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0;
  }

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

  .osbw label {
    display: grid;
    gap: 10px;
    min-width: 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
  }

  .osbw input,
  .osbw select,
  .osbw textarea {
    width: 100%;
    min-height: 58px;
    border: 0;
    border-radius: 32px;
    padding: 15px 22px;
    background: #fff;
    color: #0a0000;
    box-shadow: 0 0 0 1px rgba(10, 0, 0, 0.16);
    font: inherit;
    font-size: 16px;
    font-weight: 400;
  }

  .osbw textarea {
    min-height: 112px;
    border-radius: 32px;
    padding-top: 18px;
    resize: vertical;
    line-height: 1.4;
  }

  .osbw__fieldset {
    min-width: 0;
    margin: 0;
    border: 0;
    padding: 0;
  }

  .osbw__fieldset legend {
    margin-bottom: 12px;
    padding: 0;
    color: #d76f2c;
    font-size: 19px;
    font-weight: 600;
  }

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

  .osbw__segmented label {
    display: block;
  }

  .osbw__segmented input {
    position: absolute;
    width: 1px;
    min-height: 1px;
    opacity: 0;
    pointer-events: none;
  }

  .osbw__segmented span {
    display: flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #0a0000;
    border-radius: 27px;
    padding: 11px 18px;
    background: transparent;
    color: #0a0000;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
  }

  .osbw__segmented input:checked + span {
    border-color: #009ec0;
    background: #009ec0;
    color: #fff;
  }

  .osbw__hint {
    margin: -2px 0 0;
    color: #5d4933;
    font-size: 14px;
    line-height: 1.6;
  }

  .osbw__hint a {
    color: #8b3d12;
    font-weight: 700;
  }

  .osbw__optional {
    color: #6b5944;
    font-size: 13px;
    font-weight: 400;
  }

  .osbw__field-note {
    margin-top: -2px;
    color: #6b5944;
    font-size: 12px;
    font-weight: 400;
  }

  .osbw button {
    width: auto;
    min-width: 210px;
    min-height: 58px;
    border: 0;
    border-radius: 30px;
    padding: 14px 30px;
    background: #009ec0;
    color: #fff !important;
    box-shadow: 5px 5px 7px rgba(30, 65, 73, 0.28);
    cursor: pointer;
    font: inherit;
    font-weight: 700;
  }

  .osbw button.osbw__secondary {
    min-width: 0;
    border: 1.5px solid #0a0000;
    background: transparent;
    color: #0a0000 !important;
    box-shadow: none;
  }

  .osbw button.osbw__remove {
    width: 40px;
    min-width: 40px;
    min-height: 40px;
    border: 1.5px solid #0a0000;
    border-radius: 50%;
    padding: 0;
    background: transparent;
    color: #0a0000 !important;
    box-shadow: none;
    font-size: 23px;
    line-height: 1;
  }

  .osbw button:disabled {
    cursor: not-allowed;
    opacity: 0.45;
  }

  .osbw__actions {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: flex-start;
    margin-top: 12px;
  }

  .osbw button.osbw__service {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 18px;
    width: 100%;
    min-height: 0;
    border: 1.5px solid rgba(215, 111, 44, 0.76);
    border-radius: 30px;
    padding: 21px 24px;
    background: transparent;
    color: #0a0000 !important;
    box-shadow: none;
    text-align: left;
  }

  .osbw button.osbw__service[aria-pressed="true"] {
    border-color: #009ec0;
    background: rgba(0, 158, 192, 0.1);
    box-shadow: inset 0 0 0 1px #009ec0;
  }

  .osbw__service-title {
    font-size: 18px;
    font-weight: 600;
  }

  .osbw__service-price {
    white-space: nowrap;
    font-size: 16px;
    font-weight: 600;
  }

  .osbw__service-meta {
    grid-column: 1 / -1;
    color: #58452f;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.55;
  }

  .osbw__empty {
    border-left: 4px solid #d76f2c;
    padding: 6px 0 6px 14px;
    line-height: 1.45;
  }

  .osbw__loading {
    padding: 12px 0;
    font-weight: 700;
  }

  .osbw__calendar-wrap {
    display: grid;
    gap: 16px;
    max-width: 520px;
  }

  .osbw__calendar-head {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 8px;
    align-items: center;
    text-align: center;
  }

  .osbw button.osbw__icon-button {
    width: 44px;
    min-width: 44px;
    min-height: 44px;
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
    font-size: 28px;
    line-height: 1;
  }

  .osbw__weekdays,
  .osbw__calendar {
    display: grid;
    grid-template-columns: repeat(7, minmax(38px, 1fr));
    gap: 7px;
  }

  .osbw__weekdays span {
    padding: 5px 0;
    color: #69543d;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
  }

  .osbw button.osbw__day {
    position: relative;
    isolation: isolate;
    width: 100%;
    min-width: 0;
    min-height: 48px;
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
    color: #0a0000 !important;
    box-shadow: none;
    font-size: 14px;
  }

  .osbw button.osbw__day[data-available="true"]::before {
    position: absolute;
    z-index: -1;
    inset: 3px;
    border: 3px solid #009ec0;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.24);
    content: "";
  }

  .osbw button.osbw__day[aria-pressed="true"] {
    color: #fff !important;
    font-weight: 700;
  }

  .osbw button.osbw__day[aria-pressed="true"]::before {
    border-color: #007f9a;
    background: #009ec0;
  }

  .osbw button.osbw__day:disabled {
    opacity: 0.3;
  }

  .osbw__time-field {
    max-width: 520px;
  }

  .osbw__slot-detail {
    max-width: 520px;
    border-left: 4px solid #d76f2c;
    padding: 10px 0 10px 18px;
    color: #34210f;
    line-height: 1.6;
  }

  .osbw__summary {
    display: grid;
    gap: 18px;
    border-top: 1px solid rgba(215, 111, 44, 0.76);
    border-bottom: 1px solid rgba(215, 111, 44, 0.76);
    padding: 26px 0;
  }

  .osbw__summary-row {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 18px;
    line-height: 1.55;
  }

  .osbw__summary-row dt {
    color: #7b3d17;
  }

  .osbw__summary-row dd {
    margin: 0;
    font-weight: 600;
  }

  .osbw label.osbw__check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-weight: 600;
    line-height: 1.4;
  }

  .osbw .osbw__check input {
    position: relative;
    appearance: none;
    width: 21px;
    min-height: 21px;
    flex: 0 0 21px;
    margin: 1px 0 0;
    padding: 0;
    border: 2px solid #0a0000;
    border-radius: 50%;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
  }

  .osbw .osbw__check input:checked {
    border-color: #009ec0;
    background: #009ec0;
  }

  .osbw .osbw__check input:checked::after {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 10px;
    height: 6px;
    border-bottom: 2.5px solid #fff;
    border-left: 2.5px solid #fff;
    content: "";
    transform: rotate(-45deg);
  }

  .osbw__consent {
    max-width: 680px;
  }

  .osbw__status {
    margin: 0 0 16px;
    border-left: 4px solid #d76f2c;
    padding: 8px 0 8px 14px;
    line-height: 1.45;
  }

  .osbw__status[data-kind="error"] {
    border-left-color: #a62f1f;
    color: #7b2514;
  }

  .osbw__status[data-kind="ok"] {
    border-left-color: #d76f2c;
    color: #34210f;
  }

  .osbw__success {
    display: grid;
    gap: 32px;
  }

  .osbw__success-mark {
    position: relative;
    width: 92px;
    height: 92px;
    background: transparent;
  }

  .osbw__success-mark::before {
    position: absolute;
    inset: 5px;
    border: 3px solid #258c57;
    border-right-color: transparent;
    border-radius: 50%;
    content: "";
    pointer-events: none;
    transform: rotate(-18deg);
  }

  .osbw__success-mark::after {
    position: absolute;
    top: 23px;
    left: 22px;
    width: 48px;
    height: 25px;
    border-bottom: 4px solid #258c57;
    border-left: 4px solid #258c57;
    content: "";
    pointer-events: none;
    transform: rotate(-45deg);
  }

  .osbw__success p {
    margin-bottom: 0;
    line-height: 1.65;
  }

  .osbw__success-lead {
    max-width: 680px;
    font-size: 18px;
    font-weight: 400;
  }

  .osbw__success-section {
    display: grid;
    gap: 18px;
    border-top: 1px solid rgba(215, 111, 44, 0.76);
    padding-top: 28px;
  }

  .osbw__success-section h3 {
    margin: 0;
    color: #d76f2c;
    font-size: 23px;
    font-weight: 700;
    letter-spacing: 0;
  }

  .osbw__success-section p {
    margin: 0;
  }

  .osbw__checklist {
    display: grid;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .osbw__checklist li {
    position: relative;
    display: flex;
    min-height: 50px;
    align-items: center;
    padding-left: 66px;
    line-height: 1.6;
  }

  .osbw__checklist li::before {
    position: absolute;
    top: 2px;
    left: 0;
    width: 46px;
    height: 46px;
    border: 2.5px solid #0a0000;
    border-right-color: transparent;
    border-radius: 50%;
    content: "";
    transform: rotate(-18deg);
  }

  .osbw__checklist li::after {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 28px;
    height: 15px;
    border-bottom: 3px solid #0a0000;
    border-left: 3px solid #0a0000;
    content: "";
    transform: rotate(-45deg);
  }

  .osbw__success-section a:not(.osbw__button-link) {
    color: #8b3d12;
    font-weight: 700;
  }

  .osbw__success-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    border-top: 1px solid rgba(215, 111, 44, 0.76);
    padding-top: 28px;
  }

  .osbw__success-actions button {
    width: 100%;
    min-width: 0;
  }

  .osbw__success-actions button[data-book-again] {
    border-color: #009ec0;
    background: #009ec0;
    color: #fff !important;
    box-shadow: 5px 5px 7px rgba(30, 65, 73, 0.28);
  }

  .osbw__participant-manager {
    display: grid;
    gap: 18px;
    border-top: 1px solid rgba(215, 111, 44, 0.76);
    padding-top: 28px;
  }

  .osbw__participant-manager h3,
  .osbw__participant-manager p {
    margin: 0;
  }

  .osbw__participant-manager h3 {
    color: #d76f2c;
    font-size: 23px;
  }

  .osbw__participant-manager-list {
    display: grid;
  }

  .osbw__participant-manager-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    border-bottom: 1px solid rgba(215, 111, 44, 0.76);
    padding: 18px 0;
  }

  .osbw__participant-manager-row:first-child {
    border-top: 1px solid rgba(215, 111, 44, 0.76);
  }

  .osbw__participant-manager-row button {
    min-height: 44px;
    padding: 9px 18px;
  }

  .osbw__button-link {
    display: flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #0a0000;
    border-radius: 30px;
    padding: 12px 24px;
    color: #0a0000;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
  }

  @media (max-width: 640px) {
    .osbw {
      padding: 0 14px 28px;
    }

    .osbw h2 {
      font-size: 24px;
    }

    .osbw__telegram-wrap {
      align-items: center;
      flex-direction: row;
      gap: 9px;
    }

    .osbw__progress b {
      display: block;
      font-size: 10px;
      line-height: 1.2;
    }

    .osbw__progress li {
      align-items: flex-start;
      flex-direction: column;
      gap: 2px;
      justify-content: flex-start;
    }

    .osbw__participant {
      padding: 18px 0 2px;
    }

    .osbw__service {
      padding: 15px;
    }

    .osbw__participant-grid,
    .osbw__contact-grid {
      grid-template-columns: 1fr;
    }

    .osbw__actions {
      align-items: stretch;
      flex-direction: column-reverse;
    }

    .osbw__actions button,
    .osbw button.osbw__secondary {
      width: 100%;
    }

    .osbw__service {
      grid-template-columns: 1fr;
    }

    .osbw__service-meta {
      grid-column: 1;
    }

    .osbw__weekdays,
    .osbw__calendar {
      grid-template-columns: repeat(7, minmax(34px, 1fr));
      gap: 3px;
    }

    .osbw__summary-row {
      grid-template-columns: 1fr;
      gap: 3px;
    }

    .osbw__success-actions {
      grid-template-columns: 1fr;
    }
  }
