/* Create event wizard – step: pick event type (fixed layout, px only) */

.create-event-modal {
    width: 100%;
    max-width: 1232px;
    min-height: 0;
    max-height: 100%;
    font-family: Inter, system-ui, -apple-system, sans-serif;
    color: #2c2f33;
    position: relative;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.create-event-modal__step-panel {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.create-event-modal__close {
    position: absolute;
    right: 24px;
    top: 24px;
    z-index: 2;
    width: 32px;
    height: 32px;
    border: 0;
    padding: 0;
    margin: 0;
    background: transparent;
    cursor: pointer;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.create-event-modal__close:hover {
    background-color: #f5f5f5;
}

.create-event-modal__header {
    box-sizing: border-box;
    padding: 24px 24px 12px 24px;
    position: relative;
    flex-shrink: 0;
}

.create-event-modal__header::after {
    content: '';
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 0;
    height: 1px;
    background-color: #ebebeb;
}

.create-event-modal__title {
    margin: 0 0 7px 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    color: #2c2f33;
}

.create-event-modal__subtitle {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    color: #475569;
}

/* Два варианта шапки потока; видимость от экрана wedding-intake без JS (:has) */
.create-event-modal__flow-header-variant {
    display: none;
}

.create-event-modal__flow-panel-inner:has([data-create-event-screen='wedding-intake']:not([hidden])) .create-event-modal__flow-header-variant--wedding-zags {
    display: block;
}

.create-event-modal__flow-panel-inner:not(:has([data-create-event-screen='wedding-intake']:not([hidden]))) .create-event-modal__flow-header-variant--default {
    display: block;
}

/* Экран входа после результатов: своя шапка внутри контента */
.create-event-modal__flow-panel-inner:has([data-create-event-screen='shared-flow-login']:not([hidden]))
    .create-event-modal__flow-header-variant--default,
.create-event-modal__flow-panel-inner:has([data-create-event-screen='shared-flow-sms']:not([hidden]))
    .create-event-modal__flow-header-variant--default {
    display: none;
}

/* Шапка ЗАГС: заголовок + «Пропустить» в одной строке (не перекрывает прогресс ниже) */
.create-event-modal__flow-wedding-head {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    box-sizing: border-box;
    padding-right: 56px;
}

.create-event-modal__flow-wedding-head-text {
    min-width: 0;
    flex: 1 1 auto;
}

.create-event-modal__flow-wedding-skip {
    flex: 0 0 auto;
    margin: 0;
    height: 38px;
    padding: 0 20px;
    border: 1px solid #ebebeb;
    border-radius: 8px;
    background: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    color: #2c2f33;
    cursor: pointer;
    box-shadow: 0px 5px 15px -3px rgba(17, 50, 19, 0.2), 0px 4px 6px -4px rgba(17, 50, 19, 0.2);
}

.create-event-modal__flow-wedding-skip:hover {
    background: #fbfbfb;
}

.create-event-modal__body {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 24px;
    padding: 48px 24px 24px 96px;
    box-sizing: border-box;
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    max-height: 60svh;
    -webkit-overflow-scrolling: touch;
}

.create-event-modal__main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    padding: 0 48px 0 0;
    box-sizing: border-box;
}

.create-event-modal__question {
    margin: 0;
    width: 100%;
    font-size: 30px;
    font-weight: 700;
    line-height: 36px;
    text-align: center;
    color: #2c2f33;
}

.create-event-modal__cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 24px;
    width: 100%;
    box-sizing: border-box;
}

.create-event-type-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    border: 1px solid #ebebeb;
    border-radius: 16px;
    padding: 24px;
    background-color: #f9f9f9;
    box-sizing: border-box;
}

.create-event-type-card__hit {
    display: block;
    cursor: pointer;
    flex: none;
    align-self: stretch;
    text-decoration: none;
    color: inherit;
    width: 100%;
    box-sizing: border-box;
}

.create-event-type-card:hover {
    border-color: #d0d0d0;
}

.create-event-type-card__input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.create-event-type-card__mark {
    position: absolute;
    right: 24px;
    top: 24px;
    width: 24px;
    height: 24px;
    border-radius: 50px;
    border: 2px solid #475569;
    box-sizing: border-box;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.create-event-type-card__mark-icon {
    display: block;
    width: 18px;
    height: 18px;
    object-fit: contain;
    opacity: 0;
    pointer-events: none;
}

.create-event-type-card__input:checked + .create-event-type-card__body .create-event-type-card__mark {
    border: 1px solid #2e7d32;
    background-color: #2e7d32;
}

.create-event-type-card__input:checked + .create-event-type-card__body .create-event-type-card__mark-icon {
    opacity: 1;
}

.create-event-type-card:has(.create-event-type-card__input:checked) {
    border: 2px solid #2e7d32;
    padding: 23px;
    box-shadow: 0px 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.create-event-type-card:has(.create-event-type-card__input:checked) .create-event-type-card__mark {
    right: 23px;
    top: 23px;
}

.create-event-type-card__body {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 24px;
    width: 100%;
    box-sizing: border-box;
    padding-right: 40px;
}

.create-event-type-card__icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.create-event-type-card__icon-wrap--wedding {
    background-color: #fdecea;
}

.create-event-type-card__icon-wrap--birthday {
    background-color: #fff3e0;
}

.create-event-type-card__icon-wrap--corporate {
    background-color: #e3f2fd;
}

.create-event-type-card__icon-wrap--other {
    background-color: #ebebeb;
}

.create-event-type-card__icon {
    display: block;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    object-fit: contain;
}

.create-event-type-card__icon-svg {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
}

.create-event-type-card__icon-svg svg {
    display: block;
    width: 64px;
    height: 64px;
}

.create-event-type-card__text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
}

.create-event-type-card__label {
    display: block;
    width: 100%;
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    color: #2c2f33;
}

.create-event-type-card__desc {
    display: block;
    width: 100%;
    font-size: 16px;
    font-weight: 400;
    line-height: 19px;
    color: #475569;
}

.create-event-type-card__zags {
    display: none;
    margin: 0;
    padding: 0;
    border: 0;
    width: 100%;
    box-sizing: border-box;
}

.create-event-type-card__zags .ui-checkbox {
    width: 100%;
}

.create-event-type-card--wedding:has(.create-event-type-card__input:checked) .create-event-type-card__zags {
    display: block;
}

.create-event-modal__footer {
    padding: 24px;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    box-sizing: border-box;
    flex-shrink: 0;
    background-color: #ffffff;
}

.create-event-modal__next {
    min-width: 152px;
    height: 60px;
    padding: 0 48px;
    border: 0;
    border-radius: 12px;
    background-color: #2e7d32;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    line-height: 22px;
    cursor: pointer;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0px 5px 15px -3px rgba(17, 50, 19, 0.2), 0px 4px 6px -4px rgba(17, 50, 19, 0.2);
    box-sizing: border-box;
}

.create-event-modal__next-label {
    line-height: 22px;
}

.create-event-modal__next-icon {
    display: block;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    object-fit: contain;
}

.create-event-modal__next:hover {
    background-color: #276b2a;
}

.create-event-modal__next:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.create-event-modal__next:disabled:hover {
    background-color: #2e7d32;
}

/* Flow step panels (after Next): один корень – .__flow + .__flow-panel-inner на одном элементе */
.create-event-modal__flow.create-event-modal__flow-panel-inner {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    padding-bottom: 24px;
    box-sizing: border-box;
}

.create-event-modal__flow-title {
    font-size: 30px;
    font-weight: 700;
    line-height: 36px;
    color: #2c2f33;
    margin: 32px 0;
    text-align: center;
    min-height: 36px;
}

.create-event-modal__flow-lead {
    margin: 0 0 20px 0;
    font-size: 14px;
    line-height: 20px;
    color: #666666;
}

.create-event-modal__flow-header-stack,
.create-event-modal__flow-panel-inner > .create-event-modal__flow-stepper-wrap {
    flex-shrink: 0;
}

.create-event-modal__flow-screens {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    box-sizing: border-box;
}

.create-event-modal__flow-panel-inner:has([data-create-event-screen='shared-flow']:not([hidden])) .create-event-modal__flow-screens,
.create-event-modal__flow-panel-inner:has([data-create-event-screen='shared-flow-results']:not([hidden])) .create-event-modal__flow-screens,
.create-event-modal__flow-panel-inner:has([data-create-event-screen='shared-flow-login']:not([hidden])) .create-event-modal__flow-screens,
.create-event-modal__flow-panel-inner:has([data-create-event-screen='shared-flow-sms']:not([hidden])) .create-event-modal__flow-screens {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.create-event-modal__screen--shared-flow {
    margin-top: 48px;
    margin-bottom: 48px;
    max-height: 600px;
}

.create-event-modal__screen--shared-flow:not([hidden]) {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.create-event-modal__screen[data-create-event-screen='shared-flow-login']:not([hidden]),
.create-event-modal__screen[data-create-event-screen='shared-flow-sms']:not([hidden]) {
    margin-top: 0;
    margin-bottom: 0;
    max-height: none;
}

.create-event-modal__screen--shared-flow:not([hidden]) .create-event-modal__intake-layout {
    flex: 1 1 auto;
    min-height: 0;
}

.create-event-modal__intake-layout {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    box-sizing: border-box;
    padding: 0 24px;
}

.create-event-modal__intake-main {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    padding: 0 72px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.create-event-modal__intake-main > .create-event-modal__flow-stepper-wrap {
    flex-shrink: 0;
}

.create-event-modal__intake-scroll {
    flex: 1 1 auto;
    min-height: 0;
    min-width: 0;
    overflow-x: hidden;
    overflow-y: auto;
    box-sizing: border-box;
    padding-right: 12px;
}

.create-event-modal__intake-layout > .ui-selection-summary,
.create-event-modal__intake-layout > .create-event-modal__results-aside {
    flex: 0 0 300px;
    width: 300px;
    align-self: stretch;
}

.create-event-modal__flow-footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    box-sizing: border-box;
    flex-shrink: 0;
    justify-content: end;
    margin-top: auto;
    margin-bottom: 0;
    padding: 24px 24px 0 24px;
    background-color: #ffffff;
}

.create-event-modal__flow-footer--with-consent {
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.create-event-modal__flow-footer-consent {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    box-sizing: border-box;
}

.create-event-modal__flow-footer-consent[hidden] {
    display: none !important;
}

.create-event-modal__flow-footer-consent .ui-checkbox {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin: 0;
    padding: 0;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 38px;
    box-sizing: border-box;
    font-family: Inter, system-ui, -apple-system, sans-serif;
}

.create-event-modal__flow-footer-consent .ui-checkbox__box {
    flex: none;
    padding: 3px;
}

.create-event-modal__flow-footer-consent .ui-checkbox__label {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 19px;
    color: #475569;
}

.create-event-modal__flow-footer-consent-link {
    color: #475569;
    text-decoration: underline;
}

.create-event-modal__flow-footer-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.create-event-modal__flow-footer .create-event-modal__flow-nav-btn {
    min-height: 60px;
    height: 60px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    line-height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-sizing: border-box;
    cursor: pointer;
    box-shadow: 0px 5px 15px -3px rgba(17, 50, 19, 0.2), 0px 4px 6px -4px rgba(17, 50, 19, 0.2);
}

.create-event-modal__flow-footer .create-event-modal__flow-nav-btn--prev {
    min-width: 120px;
    padding: 0 24px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #334155;
}

.create-event-modal__flow-footer .create-event-modal__flow-nav-btn--prev:hover:not(:disabled) {
    background: #f8fafc;
}

.create-event-modal__flow-footer .create-event-modal__flow-nav-btn--prev:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.create-event-modal__step-panel[hidden] {
    display: none !important;
}

/* Shared intake (shared-flow screen 01) – full vs summary (wedding) */
.create-event-intake {
    max-width: none;
    min-width: 0;
}

.create-event-intake__full-only {
    display: block;
}

[data-create-event-intake][data-create-event-intake-mode='summary'] .create-event-intake__full-only {
    display: none;
}

.create-event-intake__field-label {
    margin: 0 0 12px 0;
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: #2c2f33;
    line-height: 1;
}

.create-event-intake__field-label--spaced {
    margin-top: 32px;
}

.create-event-intake__field-label--required::after {
    content: '*';
    color: #e53935;
    margin-left: 4px;
}

.create-event-intake__field-error {
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 18px;
    color: #e53935;
}

.create-event-intake__select--error,
.create-event-intake__select.create-event-intake__select--error:hover {
    border-color: #e53935;
}

.create-event-intake__filters {
    display: block;
}

.create-event-intake__filter-field {
    margin-bottom: 0;
}

.create-event-intake__filter-field--date {
    margin-top: 0;
}

.create-event-intake__select-wrap {
    position: relative;
}

.create-event-intake__select {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    height: 60px;
    padding: 0 20px 0 24px;
    border: 1px solid #ebebeb;
    border-radius: 12px;
    background-color: #fbfbfb;
    font-family: Inter, system-ui, -apple-system, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    color: #2c2f33;
    text-align: left;
    cursor: pointer;
    box-sizing: border-box;
}

.create-event-intake__select:hover {
    border-color: #d8d8d8;
}

.create-event-intake__select-icon {
    flex-shrink: 0;
    width: 20px;
    height: 24px;
}

.create-event-intake__select-icon--date {
    width: 32px;
    height: 32px;
}

.create-event-intake__select-text {
    flex: 1;
    min-width: 0;
}

.create-event-intake__select-text--placeholder {
    color: #94a3b8;
}

.create-event-intake__select-chevron {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.create-event-intake__select-dropdown {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    z-index: 30;
    padding: 8px;
    border: 1px solid #ebebeb;
    border-radius: 12px;
    background-color: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
}

.create-event-intake__select-dropdown.create-event-intake__select-dropdown--floating {
    position: fixed;
    right: auto;
    top: auto;
    z-index: 9100;
}

.create-event-intake__select-search-wrap {
    position: relative;
    margin-bottom: 8px;
}

.create-event-intake__select-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    width: 16px;
    height: 16px;
    margin-top: -8px;
    pointer-events: none;
}

.create-event-intake__select-search {
    box-sizing: border-box;
    width: 100%;
    padding: 10px 12px 10px 36px;
    border: 1px solid #ebebeb;
    border-radius: 10px;
    background-color: #fbfbfb;
    font-family: inherit;
    font-size: 14px;
    color: #2c2f33;
}

.create-event-intake__select-search:focus {
    outline: 2px solid rgba(46, 125, 50, 0.25);
    border-color: #2e7d32;
}

.create-event-intake__select-search::placeholder {
    color: #94a3b8;
}

.create-event-intake__select-list {
    max-height: 240px;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-y: auto;
}

.create-event-intake__select-empty {
    padding: 12px;
    font-size: 13px;
    color: #94a3b8;
    text-align: center;
}

.create-event-intake__select-option {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border: none;
    border-radius: 8px;
    background: none;
    font-family: inherit;
    font-size: 14px;
    color: #2c2f33;
    text-align: left;
    cursor: pointer;
}

.create-event-intake__select-option:hover {
    background-color: #f5f5f5;
}

.create-event-intake__select-option--active {
    background-color: #e8f5ec;
    color: #2e7d32;
    font-weight: 600;
}

.create-event-intake__calendar {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 9100;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background-color: rgba(0, 0, 0, 0.35);
    box-sizing: border-box;
}

.create-event-intake__calendar.create-event-intake__calendar--open {
    display: flex;
}

.create-event-intake__calendar-panel {
    width: 320px;
    padding: 20px;
    border-radius: 16px;
    background-color: #ffffff;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.create-event-intake__calendar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.create-event-intake__calendar-title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #2c2f33;
}

.create-event-intake__calendar-nav {
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid #ebebeb;
    border-radius: 10px;
    background-color: #fbfbfb;
    font-size: 20px;
    line-height: 1;
    color: #475569;
    cursor: pointer;
}

.create-event-intake__calendar-nav:hover {
    border-color: #2e7d32;
    color: #2e7d32;
}

.create-event-intake__calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 8px;
}

.create-event-intake__calendar-weekdays span {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    text-align: center;
}

.create-event-intake__calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.create-event-intake__calendar-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
}

.create-event-intake__calendar-cell--empty {
    pointer-events: none;
}

.create-event-intake__calendar-day {
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    border-radius: 10px;
    background: none;
    font-family: inherit;
    font-size: 14px;
    color: #2c2f33;
    cursor: pointer;
}

.create-event-intake__calendar-day:hover {
    background-color: #e8f5ec;
}

.create-event-intake__calendar-day:disabled,
.create-event-intake__calendar-cell--disabled .create-event-intake__calendar-day {
    color: #cbd5e1;
    cursor: not-allowed;
    background: none;
}

.create-event-intake__calendar-day:disabled:hover,
.create-event-intake__calendar-cell--disabled .create-event-intake__calendar-day:hover {
    background: none;
}

.create-event-intake__calendar-cell--selected .create-event-intake__calendar-day {
    background-color: #2e7d32;
    color: #ffffff;
    font-weight: 700;
}

.create-event-intake__calendar-cell--today .create-event-intake__calendar-day {
    border: 1px solid #2e7d32;
}

.create-event-intake__calendar-clear {
    width: 100%;
    margin-top: 16px;
    padding: 10px 16px;
    border: 1px solid #ebebeb;
    border-radius: 10px;
    background-color: #fbfbfb;
    font-family: inherit;
    font-size: 14px;
    color: #475569;
    cursor: pointer;
}

.create-event-intake__calendar-clear:hover {
    border-color: #2e7d32;
    color: #2e7d32;
}

.create-event-intake__slider-block {
    margin-top: 32px;
    min-width: 0;
    padding-left: 10px;
    padding-right: 10px;
    box-sizing: border-box;
}

.create-event-intake__slider-head {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    margin-left: -10px;
    margin-right: -10px;
    min-width: 0;
    color: #2C2F33;
}

.create-event-intake__slider-question {
    flex: 1 1 auto;
    min-width: 0;
}

.create-event-intake__value-box {
    flex-shrink: 0;
    padding: 0;
    border-radius: 12px;
    box-sizing: border-box;
    background-color: #FBFBFB;
    border: 1px solid #EBEBEB;
    width: 200px;
    max-width: 100%;
    height: 48px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    outline: none;
}

/*.create-event-intake__value-box--guests {
    min-width: 72px;
}

.create-event-intake__value-box--budget {
    min-width: 156px;
}*/

.create-event-intake__value-box-input {
    margin: 0;
    border: 0;
    box-sizing: border-box;
    background-color: transparent;
    background-image: none;
    -webkit-appearance: none;
    appearance: none;
    font-size: 24px;
    font-weight: 700;
    color: #2e7d32;
    text-align: center;
    font-family: inherit;
    line-height: 28px;
    outline: none;
    box-shadow: none;
    width: 100%;
    height: 100%;
    padding: 12px;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
}


.create-event-intake__value-box--budget {
    position: relative;
}

.create-event-intake__value-box-unlimited[hidden],
.create-event-intake__value-box-budget-row[hidden] {
    display: none !important;
}

.create-event-intake__value-box-unlimited:not([hidden]) {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 1;
    width: auto;
    padding: 0 12px;
    box-sizing: border-box;
    font-size: 16px;
    font-weight: 700;
    line-height: 48px;
    color: #2e7d32;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

.create-event-intake__value-box-budget-row:not([hidden]) {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 6px;
    position: absolute;
    inset: 0;
    z-index: 2;
    width: auto;
    height: auto;
    padding: 12px;
    box-sizing: border-box;
}

.create-event-intake__value-box-input--budget {
    width: auto;
    flex: 1 1 auto;
    min-width: 0;
    height: auto;
    padding: 0;
    padding-right: 28px;
}

.create-event-intake__budget-curr {
    font-size: 12px;
    font-weight: 400;
    line-height: 15px;
    color: #475569;
    position: absolute;
    right: 12px;
    bottom: 14px;
}

.create-event-intake__value-box-input:focus,
.create-event-intake__value-box-input:focus-visible,
.create-event-intake__value-box-input:active {
    outline: none;
    border: 0;
    box-shadow: none;
}

.create-event-intake__value-box:has(.create-event-intake__value-box-input:focus),
.create-event-intake__value-box:has(.create-event-intake__value-box-input:focus-visible) {
    border-color: rgba(46, 125, 50, 0.5);
    outline: none;
    box-shadow: none;
}

.create-event-intake__value-box--unlimited-active {
    border-color: #EBEBEB;
}

.create-event-intake__slider-ticks {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-top: 16px;
    margin-left: -10px;
    margin-right: -10px;
    min-width: 0;
    font-size: 10px;
    font-weight: 400;
    line-height: 1;
    color: #9f9f9f;
    text-transform: none;
}

.create-event-intake__slider-ticks span {
    min-width: 0;
}

.create-event-intake__range {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: transparent;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

.create-event-intake__range:focus {
    outline: none;
}

.create-event-intake__range:focus-visible {
    outline: 2px solid #388e3c;
    outline-offset: 4px;
    border-radius: 4px;
}

.create-event-intake__range::-webkit-slider-runnable-track {
    height: 4px;
    border-radius: 2px;
    background: #EBEBEB;
}

.create-event-intake__range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    margin-top: -7px;
    border-radius: 10px;
    background: #2e7d32;
    border: 2px solid #fff;
}

.create-event-intake__range::-moz-range-track {
    height: 4px;
    border-radius: 2px;
    background: #EBEBEB;
}

.create-event-intake__range::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 10px;
    background: #2e7d32;
    border: 2px solid #fff;
}

.create-event-intake__slider-ticks--budget {
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.create-event-intake__services {
    margin: 32px 0 0 0;
    padding: 0;
    border: 0;
    min-width: 0;
}

.create-event-intake__service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
    justify-content: start;
    gap: 16px 48px;
    margin-top: 12px;
}

.create-event-intake__svc {
    display: flex;
    align-items: center;
    min-width: 0;
}

.create-event-intake__svc .ui-checkbox {
    width: auto;
    max-width: 100%;
    color: #334155;
}

/* Типографика и квадрат чекбокса под макет Figma (только shared-flow / услуги) */
.create-event-modal__screen--shared-flow .create-event-intake__services .ui-checkbox__box {
    padding: 5px 3px;
}

.create-event-modal__screen--shared-flow .create-event-intake__services .ui-checkbox__label {
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    color: #475569;
}

@media (max-width: 1440px) {
    .create-event-modal__body {
        padding: 40px 24px 24px 48px;
        max-height: 65svh;
    }

    .create-event-modal__main {
        padding: 0 24px 0 0;
        gap: 24px;
    }

    .create-event-modal__question {
        font-size: 28px;
        line-height: 34px;
    }

    .create-event-modal__flow-title {
        font-size: 28px;
        line-height: 34px;
        margin: 28px 0;
    }

    .create-event-modal__intake-main {
        padding: 0 40px;
    }

    .create-event-modal__screen--shared-flow {
        margin-top: 32px;
        margin-bottom: 32px;
        max-height: 560px;
    }

    .create-event-modal__flow-wedding-skip {
        height: 36px;
        padding: 0 16px;
        font-size: 13px;
    }
}

.create-event-modal__type-pick {
    display: contents;
}

@media (max-width: 1024px) {
    .create-event-modal {
        height: 100%;
        max-height: 100%;
        min-height: 0;
        overflow: hidden;
    }

    .create-event-modal__body {
        flex-direction: column;
        padding: 32px 24px 96px 24px;
        gap: 16px;
        max-height: none;
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .create-event-modal__body > .ui-selection-summary {
        display: none;
    }

    .create-event-modal__step-panel:not([hidden]) {
        display: grid;
        grid-template-rows: auto minmax(0, 1fr);
        height: 100%;
        min-height: 0;
        overflow: hidden;
    }

    .create-event-modal__step-panel[data-create-event-step='pick']:not([hidden]) {
        display: flex;
        flex-direction: column;
        flex: 1 1 auto;
        min-height: 0;
        max-height: 100%;
        overflow: hidden;
    }

    .create-event-modal__type-pick {
        display: flex;
        flex-direction: column;
        flex: 1 1 auto;
        min-height: 0;
        max-height: 100%;
        overflow: hidden;
    }

    .create-event-modal__type-pick .create-event-modal__header {
        flex-shrink: 0;
    }

    .create-event-modal__type-pick .create-event-modal__body {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 32px 24px calc(88px + env(safe-area-inset-bottom, 0px)) 24px;
    }

    .modal-skeleton--create-event-wizard .create-event-modal__type-pick .create-event-modal__footer {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 9100;
        flex-shrink: 0;
        margin: 0;
        box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.08);
        border-top: 1px solid #ebebeb;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
        background-color: #ffffff;
        pointer-events: auto;
    }

    .modal-skeleton--create-event-wizard.modal-skeleton--open .create-event-modal__flow-footer:not([hidden]) {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 9050;
        margin: 0;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
        background-color: #ffffff;
        border-top: 1px solid #ebebeb;
        box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.08);
    }

    .create-event-modal__flow.create-event-modal__flow-panel-inner {
        display: grid;
        grid-template-rows: auto auto minmax(0, 1fr);
        height: 100%;
        min-height: 0;
        padding-bottom: 0;
        overflow: hidden;
    }

    .create-event-modal__flow-screens {
        min-height: 0;
        overflow: hidden;
    }

    .create-event-modal__intake-scroll {
        padding-bottom: 96px;
    }

    .create-event-modal__main {
        padding: 0;
        width: 100%;
    }

    .create-event-modal__intake-layout {
        flex-direction: column;
        padding: 0 16px;
    }

    .create-event-modal__intake-main {
        padding: 0 8px;
    }

    .create-event-modal__intake-layout > .ui-selection-summary,
    .create-event-modal__intake-layout > .create-event-modal__results-aside {
        flex: 1 1 auto;
        width: 100%;
        max-width: none;
    }

    .create-event-modal__flow-footer--with-consent {
        flex-direction: column;
        align-items: stretch;
    }

    .create-event-modal__cards {
        gap: 16px;
    }

    .create-event-type-card {
        padding: 20px;
        gap: 20px;
    }

    .create-event-type-card__body {
        gap: 20px;
        padding-right: 36px;
    }

    .create-event-modal__next {
        min-width: 140px;
        height: 56px;
        padding: 0 32px;
        font-size: 16px;
    }

    .create-event-intake__service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto;
        grid-auto-flow: row;
        gap: 12px 16px;
    }

    .create-event-intake__svc .ui-checkbox {
        width: 100%;
    }

    .create-event-modal__flow-footer .create-event-modal__flow-nav-btn {
        min-height: 56px;
        height: 56px;
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .create-event-modal {
        min-height: 0;
    }

    .create-event-modal__header {
        padding: 20px 16px 12px 16px;
    }

    .create-event-modal__header::after {
        left: 16px;
        right: 16px;
    }

    .create-event-modal__close {
        right: 16px;
        top: 16px;
    }

    .create-event-modal__body {
        padding: 20px 16px 12px 16px;
    }

    .create-event-modal__question {
        font-size: 24px;
        line-height: 30px;
    }

    .create-event-modal__flow-title {
        font-size: 24px;
        line-height: 30px;
        margin: 20px 0;
    }

    .create-event-modal__cards {
        grid-template-columns: 1fr;
    }

    .create-event-type-card {
        padding: 16px;
        gap: 16px;
    }

    .create-event-type-card__body {
        padding-right: 32px;
        gap: 16px;
    }

    .create-event-type-card__icon-wrap,
    .create-event-type-card__icon-svg {
        width: 56px;
        height: 56px;
    }

    .create-event-type-card__icon-svg svg,
    .create-event-type-card__icon {
        width: 56px;
        height: 56px;
    }

    .create-event-type-card__label {
        font-size: 18px;
        line-height: 22px;
    }

    .create-event-type-card__desc {
        font-size: 15px;
        line-height: 18px;
    }

    .create-event-modal__intake-main {
        padding: 0;
    }

    .create-event-modal__intake-layout {
        padding: 0 12px;
    }

    .create-event-modal__intake-scroll {
        padding-right: 0;
    }

    .create-event-modal__flow-wedding-head {
        padding-right: 40px;
        gap: 12px;
    }

    .create-event-modal__flow-wedding-skip {
        height: 34px;
        padding: 0 12px;
        font-size: 12px;
    }

    .create-event-modal__screen--shared-flow {
        margin-top: 16px;
        margin-bottom: 16px;
        max-height: none;
    }

    .create-event-modal__footer {
        padding: 16px;
        padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    }

    .create-event-modal__next {
        width: 100%;
        min-width: 0;
        height: 52px;
        padding: 0 24px;
    }

    .create-event-modal__flow-footer {
        flex-wrap: wrap;
        padding: 16px 16px 0 16px;
        padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
        gap: 10px;
    }

    .create-event-modal__flow-footer-consent {
        width: 100%;
    }

    .create-event-modal__flow-footer-consent .ui-checkbox__label {
        font-size: 14px;
        line-height: 18px;
    }

    .create-event-modal__flow-footer-actions {
        width: 100%;
    }

    .create-event-modal__flow-footer .create-event-modal__flow-nav-btn {
        min-height: 52px;
        height: 52px;
        font-size: 16px;
    }

    .create-event-modal__flow-footer .create-event-modal__flow-nav-btn--prev,
    .create-event-modal__flow-footer .create-event-modal__flow-nav-btn--next {
        flex: 1 1 auto;
        min-width: 0;
    }

    .create-event-modal__flow.create-event-modal__flow-panel-inner {
        padding-bottom: 16px;
    }
}

@media (max-width: 440px) {
    .create-event-modal__header {
        padding: 16px 12px 10px 12px;
    }

    .create-event-modal__header::after {
        left: 12px;
        right: 12px;
    }

    .create-event-modal__close {
        right: 12px;
        top: 12px;
        width: 28px;
        height: 28px;
    }

    .create-event-modal__title {
        font-size: 18px;
    }

    .create-event-modal__subtitle {
        font-size: 13px;
    }

    .create-event-modal__step-panel:not([hidden]) {
        display: grid;
        grid-template-rows: auto minmax(0, 1fr);
        height: 100%;
        min-height: 0;
        overflow: hidden;
    }

    .create-event-modal__step-panel[data-create-event-step='pick']:not([hidden]) {
        display: flex;
        flex-direction: column;
    }

    .create-event-modal__type-pick .create-event-modal__body {
        padding: 16px 12px calc(80px + env(safe-area-inset-bottom, 0px)) 12px;
    }

    .modal-skeleton--create-event-wizard .create-event-modal__type-pick .create-event-modal__footer {
        padding: 12px;
        padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    }

    .create-event-modal__body {
        padding: 16px 12px 96px 12px;
        gap: 12px;
        flex: 1 1 auto;
        min-height: 0;
        max-height: none;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .create-event-modal__body::-webkit-scrollbar {
        display: none;
    }

    .create-event-modal__main {
        gap: 16px;
    }

    .create-event-modal__question {
        font-size: 22px;
        line-height: 28px;
    }

    .create-event-modal__flow-title {
        font-size: 22px;
        line-height: 28px;
        margin: 16px 0;
    }

    .create-event-type-card {
        padding: 14px;
        border-radius: 12px;
    }

    .create-event-type-card:has(.create-event-type-card__input:checked) {
        padding: 13px;
    }

    .create-event-type-card__mark {
        right: 14px;
        top: 14px;
        width: 20px;
        height: 20px;
    }

    .create-event-type-card:has(.create-event-type-card__input:checked) .create-event-type-card__mark {
        right: 13px;
        top: 13px;
    }

    .create-event-type-card__mark-icon {
        width: 14px;
        height: 14px;
    }

    .create-event-type-card__body {
        padding-right: 28px;
        gap: 12px;
    }

    .create-event-type-card__icon-wrap,
    .create-event-type-card__icon-svg {
        width: 48px;
        height: 48px;
        border-radius: 10px;
    }

    .create-event-type-card__icon-svg svg,
    .create-event-type-card__icon {
        width: 48px;
        height: 48px;
    }

    .create-event-type-card__label {
        font-size: 17px;
        line-height: 21px;
    }

    .create-event-type-card__desc {
        font-size: 14px;
        line-height: 17px;
    }

    .create-event-modal__footer {
        padding: 12px;
        padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    }

    .create-event-modal__next {
        width: 100%;
        min-width: 0;
        height: 48px;
        font-size: 15px;
        border-radius: 10px;
    }

    .create-event-modal__intake-layout {
        padding: 0 8px;
    }

    .create-event-intake__field-label {
        font-size: 15px;
    }

    .create-event-intake__field-label--spaced {
        margin-top: 24px;
    }

    .create-event-intake__service-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .create-event-modal__flow-footer {
        padding: 12px 12px 0 12px;
        padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    }

    .create-event-modal__flow-footer .create-event-modal__flow-nav-btn {
        min-height: 48px;
        height: 48px;
        font-size: 15px;
        border-radius: 10px;
    }

    .create-event-modal__flow-wedding-head {
        padding-right: 32px;
        flex-direction: column;
        align-items: stretch;
    }

    .create-event-modal__flow-wedding-skip {
        align-self: flex-start;
    }

    .ui-selection-summary {
        display: none;
    }
}
