﻿/* Birth form: desktop combobox + mobile wheels (user_reg_free) */

/* Section headings — theme .daysleft pattern (#359bdc, bold) */
.astro-add-chart .astro-form-section-h,
.astro-reg-free .astro-form-section-h,
.astro-birth-flat-modern-form .astro-form-section-h,
#birthdayForm.astro-synastry-wizard .astro-form-section-h {
    float: none !important;
    width: 100%;
    box-sizing: border-box;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.45;
    color: #359bdc;
    padding: 0 0 0.5rem 0;
    margin: 0 0 0.5rem 0;
    border-bottom: 1px solid #359bdc;
    text-align: right;
    clear: both;
}

/* Desktop birth date/time combobox picker (user_reg_free) */
.astro-birth-post-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.astro-add-chart #birthdayForm.astro-birth-form--desktop-picker .form-row-date .astro-birth-post-hidden,
.astro-add-chart #birthdayForm.astro-birth-form--desktop-picker .form-row-time .astro-birth-post-hidden {
    grid-column: 1 / -1;
    height: 0 !important;
    margin: 0 !important;
    position: absolute !important;
}
.astro-add-chart #birthdayForm.astro-birth-form--desktop-picker .form-row-date,
.astro-add-chart #birthdayForm.astro-birth-form--desktop-picker .form-row-time {
    display: block;
    margin: 0;
    padding: 0;
}
/* Desktop wheels — trigger inputs like mobile buttons */
.astro-birth-form--desktop-wheels .astro-birth-dt-trigger-wrap {
    position: relative;
    width: 100%;
}
.astro-birth-form--desktop-wheels .astro-birth-dt-trigger-input.astro-birth-wheel-trigger {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0.625rem 0.75rem;
    padding-inline-end: 2.15rem;
    min-height: 3rem;
    font-size: 1rem;
    line-height: 1.35;
    font-family: inherit;
    text-align: right;
    color: #1e293b;
    background-color: #fff;
    border: 1px solid #94a3b8;
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
    cursor: text;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.astro-birth-form--desktop-wheels .astro-birth-dt-trigger-input.astro-birth-wheel-trigger[readonly] {
    cursor: text;
}
.astro-birth-form--desktop-wheels .astro-birth-dt-trigger__picker-btn {
    position: absolute;
    top: 50%;
    left: 0.35rem;
    transform: translateY(-50%);
    width: 2.15rem;
    height: 2.15rem;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 18px;
    cursor: pointer;
}
.astro-birth-form--desktop-wheels .astro-birth-dt-trigger__picker-btn:hover {
    background-color: #f0f9ff;
}
.astro-birth-form--desktop-wheels .astro-birth-dt-trigger__picker-btn--date {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23359bdc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
}
.astro-birth-form--desktop-wheels .astro-birth-dt-trigger__picker-btn--time {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23359bdc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E");
}
.astro-birth-form--desktop-wheels .astro-birth-dt-trigger-input.astro-birth-wheel-trigger:not([readonly]) {
    cursor: text;
    font-weight: 500;
}
.astro-birth-form--desktop-wheels .astro-birth-dt-trigger-input.astro-birth-wheel-trigger.is-placeholder {
    color: #64748b;
    font-weight: 500;
}
.astro-birth-form--desktop-wheels .astro-birth-dt-trigger-input.astro-birth-wheel-trigger:not(.is-placeholder):not(:focus) {
    font-weight: 600;
    color: #0f172a;
}
.astro-birth-form--desktop-wheels .astro-birth-dt-trigger-input.astro-birth-wheel-trigger--date,
.astro-birth-form--desktop-wheels .astro-birth-dt-trigger-input.astro-birth-wheel-trigger--time {
    padding-inline-start: 2.15rem;
}
.astro-birth-form--desktop-wheels .astro-birth-dt-trigger-input.astro-birth-wheel-trigger:focus {
    outline: none;
    border-color: #217eba;
    box-shadow: 0 0 0 3px rgba(33, 126, 186, 0.25);
}
.astro-birth-form--desktop-wheels .astro-birth-dt-trigger-input.astro-birth-wheel-trigger.is-disabled,
.astro-birth-form--desktop-wheels .astro-birth-dt-trigger-input.astro-birth-wheel-trigger:disabled {
    background-color: #f1f5f9;
    color: #94a3b8;
    cursor: not-allowed;
    opacity: 0.85;
}
.astro-birth-form--desktop-wheels .astro-birth-dt-trigger-input.astro-birth-wheel-trigger.is-invalid {
    border-color: #ef9a9a;
    background-color: #ffebee;
}
.astro-birth-form--desktop-picker .astro-birth-wheel-trigger.is-invalid,
.astro-birth-form--mobile-wheels .astro-birth-wheel-trigger.is-invalid,
.astro-birth-form--desktop-picker select.error,
.astro-birth-form--mobile-wheels select.error,
.astro-birth-form--desktop-picker input.name.error,
.astro-birth-form--mobile-wheels input.name.error,
.astro-birth-form--desktop-picker .astropro-city-display.error,
.astro-birth-form--mobile-wheels .astropro-city-display.error {
    border-color: #ef9a9a !important;
    background-color: #ffebee !important;
    box-shadow: 0 0 0 2px rgba(239, 154, 154, 0.22) !important;
}
.astro-birth-form--desktop-picker .date_error_div .error,
.astro-birth-form--desktop-picker .time_error_div .error,
.astro-birth-form--mobile-wheels .date_error_div .error,
.astro-birth-form--mobile-wheels .time_error_div .error,
.astro-lp-wizard-birth-shell .astro-lp-wizard__name-err .error,
.astro-lp-wizard-birth-shell .astro-lp-wizard__town-err .error {
    display: block;
    width: auto;
    box-sizing: border-box;
    margin: 0.35rem 0 0.55rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #b71c1c !important;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.35;
    text-align: right;
}
body.astro-birth-dt-dialog-open {
    overflow: hidden;
}
.astro-birth-dt-dialog {
    position: fixed;
    inset: 0;
    z-index: 10080;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    box-sizing: border-box;
}
.astro-birth-dt-dialog__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.52);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.astro-birth-dt-dialog__panel {
    position: relative;
    z-index: 1;
    width: min(100%, 36rem);
    max-height: min(90vh, 540px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #dcdce8;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.14);
    direction: rtl;
}
.astro-birth-dt-dialog__header {
    padding: 1rem 1.1rem 0.65rem;
    border-bottom: 1px solid #e2e8f0;
}
.astro-birth-dt-dialog__title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #222;
    text-align: center;
}
.astro-birth-dt-dialog__preview {
    margin: 0.35rem 0 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #359bdc;
    text-align: center;
}
.astro-birth-dt-dialog__body {
    padding: 0.75rem;
    overflow: auto;
    flex: 1 1 auto;
}
.astro-birth-dt-dialog__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    padding: 0.75rem 1rem 1rem;
    border-top: 1px solid #e2e8f0;
}
.astro-birth-dt-dialog__cancel {
    margin: 0;
    padding: 0.55rem 0.85rem;
    border: 1px solid #cbd5e1;
    background: #fff;
    border-radius: 10px;
    font: inherit;
    font-size: 0.92rem;
    color: #64748b;
    cursor: pointer;
}
.astro-birth-dt-dialog__cancel:hover {
    border-color: #94a3b8;
    background: #f8fafc;
}
.astro-birth-dt-dialog__done {
    margin: 0;
    margin-inline-start: auto;
    padding: 0.55rem 1.15rem;
    border: 0;
    background: linear-gradient(180deg, #359bdc 0%, #217eba 100%);
    border-radius: 10px;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(33, 126, 186, 0.35);
}
.astro-birth-dt-dialog__done:hover {
    filter: brightness(1.03);
}
.astro-birth-dt-dialog__body .astro-dt-picker {
    min-width: 0;
}
/* Desktop custom date/time picker (dialog) */
.astro-dt-picker {
    display: flex;
    align-items: stretch;
    gap: 0.5rem;
    direction: rtl;
    padding: 0.15rem 0;
    --dt-picker-accent: #359bdc;
    --dt-picker-accent-dark: #217eba;
    --dt-picker-accent-bg: rgba(240, 249, 255, 0.92);
    --dt-picker-border: #e2e8f0;
    --dt-picker-muted: #94a3b8;
    --dt-wheel-scroll-h: 200px;
}
.astro-dt-picker__col {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.astro-dt-picker__col--day {
    flex: 1.15 1 0;
}
.astro-dt-picker__col--wheel {
    flex: 0.95 1 0;
    border-inline-start: 1px solid #e8edf3;
    padding-inline-start: 0.35rem;
}
.astro-dt-picker__col--wheel:first-child {
    border-inline-start: 0;
    padding-inline-start: 0;
}
.astro-dt-picker__label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b;
    text-align: center;
    min-height: 1.25rem;
    line-height: 1.25rem;
}
.astro-dt-picker__day-panel {
    height: var(--dt-wheel-scroll-h);
    min-height: var(--dt-wheel-scroll-h);
    box-sizing: border-box;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid var(--dt-picker-border);
    padding: 0.4rem 0.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.astro-dt-picker__cal {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.28rem;
    width: 100%;
    padding: 0;
}
.astro-dt-picker__day {
    margin: 0;
    border: 1px solid var(--dt-picker-border);
    background: #fff;
    border-radius: 10px;
    min-height: 2rem;
    padding: 0.2rem 0;
    font: inherit;
    font-size: 0.92rem;
    color: #334155;
    cursor: pointer;
    text-align: center;
    line-height: 1.2;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.astro-dt-picker__day:hover {
    border-color: var(--dt-picker-accent);
    background: var(--dt-picker-accent-bg);
    color: var(--dt-picker-accent-dark);
}
.astro-dt-picker__day.is-selected {
    border-color: var(--dt-picker-accent);
    background: var(--dt-picker-accent-bg);
    color: var(--dt-picker-accent-dark);
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(33, 126, 186, 0.12);
}
.astro-dt-picker__wheel {
    position: relative;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    --dt-wheel-item-h: 40px;
    --dt-wheel-pad: calc((var(--dt-wheel-scroll-h) - var(--dt-wheel-item-h)) / 2);
    --dt-wheel-scrollbar-w: 12px;
}
.astro-dt-picker__wheel-scroll {
    position: relative;
    z-index: 2;
    height: var(--dt-wheel-scroll-h);
    overflow-y: auto;
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
    overscroll-behavior: contain;
    scrollbar-width: auto;
    scrollbar-color: #64748b #eef2f7;
    -webkit-overflow-scrolling: touch;
    mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 86%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 86%, transparent 100%);
}
.astro-dt-picker__wheel-scroll::-webkit-scrollbar {
    width: 12px;
}
.astro-dt-picker__wheel-scroll::-webkit-scrollbar-track {
    background: #eef2f7;
    border-radius: 999px;
    margin: 4px 0;
}
.astro-dt-picker__wheel-scroll::-webkit-scrollbar-thumb {
    background: #64748b;
    border-radius: 999px;
    border: 2px solid #eef2f7;
    min-height: 96px;
}
.astro-dt-picker__wheel-scroll::-webkit-scrollbar-thumb:hover {
    background: #475569;
}
.astro-dt-picker__wheel-scroll::-webkit-scrollbar-thumb:active {
    background: #334155;
}
.astro-dt-picker__wheel-pad {
    height: var(--dt-wheel-pad);
}
.astro-dt-picker__wheel-item {
    height: var(--dt-wheel-item-h);
    min-height: var(--dt-wheel-item-h);
    max-height: var(--dt-wheel-item-h);
    display: flex;
    align-items: center;
    justify-content: center;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    font-size: 0.98rem;
    line-height: 1;
    color: var(--dt-picker-muted);
    user-select: none;
    padding: 0 0.25rem;
    padding-inline-end: calc(0.25rem + var(--dt-wheel-scrollbar-w));
    box-sizing: border-box;
    cursor: pointer;
    transition: color 0.12s ease, background 0.12s ease;
}
.astro-dt-picker__wheel-item.is-selected {
    color: var(--dt-picker-accent-dark);
    font-weight: 700;
}
.astro-dt-picker__wheel-highlight {
    position: absolute;
    inset-inline-start: 0.35rem;
    inset-inline-end: calc(0.35rem + var(--dt-wheel-scrollbar-w));
    top: 50%;
    height: var(--dt-wheel-item-h);
    transform: translateY(-50%);
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid var(--dt-picker-accent);
    box-shadow: 0 2px 10px rgba(33, 126, 186, 0.12);
    pointer-events: none;
    z-index: 1;
}
.astro-dt-picker--time {
    justify-content: center;
    max-width: 18rem;
    margin: 0 auto;
}
.astro-dt-picker--time .astro-dt-picker__col--wheel:first-child {
    border-inline-start: 0;
}
.astro-birth-sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.astro-add-chart #birthdayForm.astro-birth-form--desktop-picker .form-row-name-desktop > label,
.astro-add-chart #birthdayForm.astro-birth-form--desktop-picker .form-row-city-desktop > label,
.astro-add-chart #birthdayForm.astro-birth-form--desktop-picker .form-row-date > label,
.astro-add-chart #birthdayForm.astro-birth-form--desktop-picker .form-row-time > label {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.astro-add-chart #birthdayForm.astro-birth-form--desktop-picker .form-row-dontknow .field-hint {
    display: none;
}
.astro-add-chart #birthdayForm.astro-birth-form--desktop-picker input[type="text"].name::placeholder,
.astro-add-chart #birthdayForm.astro-birth-form--desktop-picker .astropro-city-display::placeholder {
    color: #64748b;
    opacity: 1;
    font-weight: 500;
}
.astro-birth-dt-popup {
    background: #fff;
    border: 1px solid #dcdce8;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
    padding: 0.5rem;
    box-sizing: border-box;
}
.astro-birth-dt-popup__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem;
    margin-bottom: 0.45rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid #e2e8f0;
}
.astro-birth-dt-popup__nav-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #222;
}
.astro-birth-dt-popup__nav-btn {
    border: 1px solid #cbd5e1;
    background: #fff;
    border-radius: 8px;
    padding: 0.25rem 0.55rem;
    cursor: pointer;
    color: #359bdc;
    font-size: 1rem;
    line-height: 1;
}
.astro-birth-dt-popup__nav-btn:hover:not(:disabled) {
    border-color: #359bdc;
    background: #f0f9ff;
}
.astro-birth-dt-popup__nav-btn:disabled {
    opacity: 0.35;
    cursor: default;
}
.astro-birth-dt-popup__grid {
    display: grid;
    gap: 0.3rem;
    max-height: 240px;
    overflow-y: auto;
    overscroll-behavior: contain;
}
.astro-birth-dt-popup__grid--days {
    grid-template-columns: repeat(7, minmax(0, 1fr));
}
.astro-birth-dt-popup__grid--months {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.astro-birth-dt-popup__grid--years {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}
.astro-birth-dt-popup__grid--hours {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}
.astro-birth-dt-popup__grid--minutes {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.astro-birth-dt-popup__cell {
    border: 1px solid #e2e8f0;
    background: #fff;
    border-radius: 8px;
    padding: 0.4rem 0.25rem;
    font-size: 0.88rem;
    color: #222;
    cursor: pointer;
    text-align: center;
    line-height: 1.2;
    min-height: 2rem;
}
.astro-birth-dt-popup__cell:hover {
    border-color: #359bdc;
    background: #f0f9ff;
    color: #359bdc;
}
.astro-birth-dt-popup__cell.is-selected {
    border-color: #b4437b;
    background: #fdf2f8;
    color: #b4437b;
    font-weight: 600;
}
.astro-birth-dt-popup--hybrid {
    padding: 0.65rem;
}
.astro-birth-dt-popup__hybrid {
    display: flex;
    align-items: stretch;
    gap: 0.45rem;
    direction: rtl;
}
.astro-birth-dt-popup__hybrid--date {
    min-width: 26rem;
}
.astro-birth-dt-popup__col {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.astro-birth-dt-popup__col-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b;
    text-align: center;
    padding: 0 0.15rem;
}
.astro-birth-dt-popup__col .astro-birth-dt-popup__grid {
    max-height: 200px;
    overscroll-behavior: contain;
}
.astro-birth-dt-popup__col .astro-birth-dt-popup__nav {
    margin-bottom: 0.35rem;
}
.astro-birth-dt-popup__hybrid--time .astro-birth-dt-popup__col {
    flex-basis: 7rem;
}
/* Desktop compact layout — vertical rhythm like mobile-wheels */
.astro-add-chart #birthdayForm.astro-birth-form--desktop-picker .astro-form-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
}
.astro-add-chart #birthdayForm.astro-birth-form--desktop-picker .astro-form-inner > .astro-form-section-h,
.astro-add-chart #birthdayForm.astro-birth-form--desktop-picker .astro-form-inner > .form-row,
.astro-add-chart #birthdayForm.astro-birth-form--desktop-picker .astro-form-inner > .astro-birth-datetime-group,
.astro-add-chart #birthdayForm.astro-birth-form--desktop-picker .astro-form-inner > .astro-birth-city-chips--desktop,
.astro-add-chart #birthdayForm.astro-birth-form--desktop-picker .astro-form-inner > .butt,
.astro-add-chart #birthdayForm.astro-birth-form--desktop-picker .astro-form-inner > .date_error_div,
.astro-add-chart #birthdayForm.astro-birth-form--desktop-picker .astro-form-inner > .time_error_div {
    margin: 0 !important;
}
.astro-add-chart #birthdayForm.astro-birth-form--desktop-picker .astro-form-section-h {
    margin: 0 !important;
    padding: 0 0 0.5rem 0 !important;
}
.astro-add-chart #birthdayForm.astro-birth-form--desktop-picker .form-row:not(.form-row-names) {
    margin: 0 !important;
    gap: 0;
    padding: 0;
}
.astro-add-chart #birthdayForm.astro-birth-form--desktop-picker .form-row-name-desktop input.name {
    display: block;
    width: 100%;
    box-sizing: border-box;
    min-height: 3rem;
    padding: 0.625rem 0.75rem;
    border: 1px solid #94a3b8;
    border-radius: 10px;
    color: #1e293b;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
    line-height: 1.35;
}
.astro-add-chart #birthdayForm.astro-birth-form--desktop-picker .form-row-name-desktop input.name:focus {
    outline: none;
    border-color: #217eba;
    box-shadow: 0 0 0 3px rgba(33, 126, 186, 0.25);
}
.astro-birth-form--desktop-picker .astro-birth-datetime-group {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(7.5rem, 9rem);
    gap: 0.375rem 0.5rem;
    margin: 0;
    align-items: stretch;
}
.astro-birth-form--desktop-picker .astro-birth-datetime-group .form-row-date {
    grid-column: 1;
    grid-row: 1;
}
.astro-birth-form--desktop-picker .astro-birth-datetime-group .form-row-time {
    grid-column: 2;
    grid-row: 1;
}
.astro-add-chart #birthdayForm.astro-birth-form--desktop-picker .astro-birth-datetime-group .form-row-dontknow {
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0;
    min-height: 0;
}
.astro-add-chart #birthdayForm.astro-birth-form--desktop-picker .astro-birth-datetime-group label.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    width: 100%;
    min-height: 1.35rem;
    font-size: 0.84rem;
    font-weight: 500;
    line-height: 1.35;
    color: #64748b;
    cursor: pointer;
}
.astro-add-chart #birthdayForm.astro-birth-form--desktop-picker .astro-birth-datetime-group label.checkbox-label > span {
    flex: 1 1 auto;
    min-width: 0;
}
.astro-add-chart #birthdayForm.astro-birth-form--desktop-picker .astro-birth-datetime-group input.cbox {
    width: 1.05rem !important;
    height: 1.05rem;
    min-width: 1.05rem;
    margin: 0;
    flex-shrink: 0;
    accent-color: #359bdc;
}
.astro-birth-form--desktop-picker .astro-birth-datetime-group .date_error_div,
.astro-birth-form--desktop-picker .astro-birth-datetime-group .time_error_div {
    grid-column: 1 / -1;
    margin: 0 !important;
    min-height: 0;
    font-size: 0.82rem;
}
.astro-birth-form--desktop-picker .astro-birth-datetime-group .date_error_div {
    grid-row: 3;
}
.astro-birth-form--desktop-picker .astro-birth-datetime-group .time_error_div {
    grid-row: 4;
}
.astro-birth-form--desktop-picker .astro-birth-datetime-group .date_error_div:empty,
.astro-birth-form--desktop-picker .astro-birth-datetime-group .time_error_div:empty {
    display: none;
}
.astro-add-chart #birthdayForm.astro-birth-form--desktop-picker .form-row-city-desktop {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}
.astro-add-chart #birthdayForm.astro-birth-form--desktop-picker .form-row-city-desktop .astro-birth-city-chips--desktop {
    margin: 0;
}
.astro-add-chart #birthdayForm.astro-birth-form--desktop-picker .astro-form-inner > div[style*="clear"] {
    display: none !important;
}
.astro-add-chart #birthdayForm.astro-birth-form--desktop-picker .butt {
    margin: 0 !important;
    margin-top: 0.125rem !important;
    padding-top: 0.625rem !important;
    padding-bottom: 0 !important;
    border-top: 1px solid #dcdce8;
}
.astro-add-chart #birthdayForm.astro-birth-form--desktop-picker .butt .button {
    min-height: 3rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 !important;
    float: none !important;
}
/* Desktop city field + chips + loading (user_reg_free) */
.astro-add-chart #birthdayForm.astro-birth-form--desktop-picker .form-row-city-desktop .astropro-city-wrap {
    position: relative;
    width: 100%;
}
.astro-add-chart #birthdayForm.astro-birth-form--desktop-picker .form-row-city-desktop .astropro-city-display {
    width: 100% !important;
    min-height: 3rem;
    padding: 0.625rem 0.75rem;
    padding-inline-start: 2.35rem;
    border: 1px solid #94a3b8;
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
    line-height: 1.35;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23359bdc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 0.75rem center;
    background-size: 18px;
}
.astro-add-chart #birthdayForm.astro-birth-form--desktop-picker .form-row-city-desktop .astropro-city-display:focus {
    outline: none;
    border-color: #217eba;
    box-shadow: 0 0 0 3px rgba(33, 126, 186, 0.25);
}
.astro-add-chart #birthdayForm.astro-birth-form--desktop-picker .astropro-city-wrap.is-town-loading .astropro-city-display {
    opacity: 0.85;
    padding-inline-end: 2.5rem;
}
.astro-add-chart #birthdayForm.astro-birth-form--desktop-picker .astropro-city-wrap.is-town-loading::after {
    content: '';
    position: absolute;
    inset-inline-end: 0.75rem;
    top: 50%;
    width: 18px;
    height: 18px;
    margin-top: -9px;
    border: 2px solid #c8e6f7;
    border-top-color: #359bdc;
    border-radius: 50%;
    animation: astro-spin 0.9s linear infinite;
    pointer-events: none;
}
/* City preset chips — shared desktop + mobile */
.astro-birth-city-chips__btn {
    margin: 0;
    box-sizing: border-box;
    border: 1px solid #dcdce8;
    border-radius: 999px;
    background: #fff;
    padding: 0.15rem 0.52rem;
    min-height: 1.4rem;
    font: inherit;
    font-size: 0.76rem;
    line-height: 1.1;
    color: #334155;
    cursor: pointer;
}
.astro-birth-city-chips__btn:hover,
.astro-birth-city-chips__btn:focus {
    outline: none;
    border-color: #359bdc;
    color: #1a6fa0;
    background: #f0f9ff;
}
.astro-birth-city-chips__btn:disabled {
    opacity: 0.55;
    cursor: wait;
}
.astro-birth-city-chips__btn:active {
    background: #359bdc;
    border-color: #359bdc;
    color: #fff;
}
.astro-birth-city-chips--desktop {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 0.4rem;
}
.astro-birth-city-chips--desktop .astro-birth-city-chips__label {
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 500;
    line-height: 1.25;
}
.astro-birth-city-chips--desktop .astro-birth-city-chips__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
}
.astro-birth-city-chips--desktop button.astro-birth-city-chips__btn:hover,
.astro-birth-city-chips--desktop button.astro-birth-city-chips__btn:focus {
    border-color: #359bdc;
    color: #359bdc;
    background: #f0f9ff;
}
.astropro-city-dropdown__loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.85rem 0.65rem;
}
.astropro-city-dropdown__spinner {
    display: inline-block;
    width: 22px;
    height: 22px;
    border: 2px solid #c8e6f7;
    border-top-color: #359bdc;
    border-radius: 50%;
    animation: astro-spin 0.9s linear infinite;
}
.astropro-city-dropdown__loading-text {
    font-size: 0.82rem;
    color: #64748b;
}
@keyframes astro-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Mobile-native birth form — hide post inputs (all field pairs, incl. synastry *2) */
.astro-birth-form--mobile-native #dt_birth_datedrop,
.astro-birth-form--mobile-native #dt_birth_timedrop,
.astro-birth-form--mobile-wheels .form-row-date > input[type="text"],
.astro-birth-form--mobile-wheels .form-row-time > input[type="text"] {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.astro-birth-form--mobile-native .combodate {
    display: none !important;
}
.astro-birth-form--mobile-native .form-row-date,
.astro-birth-form--mobile-native .form-row-time {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
}
.astro-birth-form--mobile-wheels button.astro-birth-wheel-trigger {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0.65rem 0.85rem;
    padding-inline-end: 2.5rem;
    font-size: 16px;
    line-height: 1.4;
    font-family: inherit;
    text-align: right;
    color: #1e293b;
    background-color: #fff;
    border: 1px solid #94a3b8;
    border-radius: 10px;
    min-height: 2.75rem;
    cursor: pointer;
    -webkit-transition: border-color 0.2s ease, box-shadow 0.2s ease;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.astro-birth-form--mobile-wheels button.astro-birth-wheel-trigger.is-placeholder .astro-birth-wheel-trigger__text {
    color: #64748b;
    font-weight: 500;
}
.astro-birth-form--mobile-wheels button.astro-birth-wheel-trigger.is-placeholder {
    border-color: #94a3b8;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}
.astro-birth-form--mobile-wheels button.astro-birth-wheel-trigger--date {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23359bdc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 0.75rem center;
    background-size: 18px;
}
.astro-birth-form--mobile-wheels button.astro-birth-wheel-trigger--time {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23359bdc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 0.75rem center;
    background-size: 18px;
}
.astro-birth-form--mobile-wheels button.astro-birth-wheel-trigger--city {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23359bdc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 0.75rem center;
    background-size: 18px;
}
.astro-birth-form--mobile-wheels .form-row-city {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
}
/* Trigger fields: label text lives inside the button (placeholder), not floating above */
.astro-birth-form--mobile-wheels .form-row-date > label,
.astro-birth-form--mobile-wheels .form-row-time > label,
.astro-birth-form--mobile-wheels .form-row-city > label,
.astro-birth-form--mobile-wheels .form-row-name-mobile > label {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.astro-birth-form--mobile-wheels .form-row-city .astropro-city-wrap {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.astro-birth-form--mobile-wheels .form-row-date,
.astro-birth-form--mobile-wheels .form-row-time,
.astro-birth-form--mobile-wheels .form-row-city {
    gap: 0;
    position: relative;
}
.astro-birth-form--mobile-wheels .astropro-city-wrap .astropro-city-display {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.astro-birth-form--mobile-wheels button.astro-birth-wheel-trigger:hover {
    border-color: #64748b;
}
.astro-birth-form--mobile-wheels button.astro-birth-wheel-trigger:focus {
    outline: none;
    border-color: #217eba;
    box-shadow: 0 0 0 3px rgba(33, 126, 186, 0.25);
}
.astro-birth-form--mobile-wheels button.astro-birth-wheel-trigger.is-disabled,
.astro-birth-form--mobile-wheels button.astro-birth-wheel-trigger:disabled {
    background-color: #f1f5f9;
    color: #94a3b8;
    cursor: not-allowed;
    opacity: 0.85;
}
.astro-birth-form--mobile-native .form-row input.name,
.astro-birth-form--mobile-native .astropro-city-display {
    font-size: 16px;
    min-height: 2.5rem;
    padding: 0.5rem 0.75rem;
}
/* Compact mobile layout — /user-reg-free wheels form */
.astro-add-chart #birthdayForm.astro-birth-form--mobile-wheels .astro-form-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.625rem;
}
.astro-add-chart #birthdayForm.astro-birth-form--mobile-wheels .astro-form-inner > .form-row,
.astro-add-chart #birthdayForm.astro-birth-form--mobile-wheels .astro-form-inner > .astro-birth-datetime-group,
.astro-add-chart #birthdayForm.astro-birth-form--mobile-wheels .astro-form-inner > .form-row-city,
.astro-add-chart #birthdayForm.astro-birth-form--mobile-wheels .astro-form-inner > .butt,
.astro-add-chart #birthdayForm.astro-birth-form--mobile-wheels .astro-form-inner > .date_error_div,
.astro-add-chart #birthdayForm.astro-birth-form--mobile-wheels .astro-form-inner > .time_error_div {
    margin: 0 !important;
}
.astro-add-chart #birthdayForm.astro-birth-form--mobile-wheels .astro-form-section-h {
    margin: 0 0 0.125rem 0 !important;
    padding: 0 0 0.5rem 0 !important;
}
.astro-birth-form--mobile-wheels .astro-birth-datetime-group {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 5.75rem;
    gap: 0.375rem 0.5rem;
    margin: 0;
    align-items: stretch;
}
.astro-birth-form--mobile-wheels .astro-birth-datetime-group .form-row-date {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    gap: 0;
    display: flex;
    flex-direction: column;
    min-height: 3rem;
}
.astro-birth-form--mobile-wheels .astro-birth-datetime-group .form-row-time {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    gap: 0;
    display: flex;
    flex-direction: column;
    min-height: 3rem;
}
.astro-birth-form--mobile-wheels .astro-birth-datetime-group .form-row-date .astro-birth-wheel-trigger,
.astro-birth-form--mobile-wheels .astro-birth-datetime-group .form-row-time .astro-birth-wheel-trigger {
    flex: 1 1 auto;
    width: 100%;
    min-height: 3rem;
}
.astro-birth-form--mobile-wheels .astro-birth-datetime-group .date_error_div,
.astro-birth-form--mobile-wheels .astro-birth-datetime-group .time_error_div,
.astro-birth-form--mobile-wheels .astro-birth-datetime-group .date_error_div2,
.astro-birth-form--mobile-wheels .astro-birth-datetime-group .time_error_div2 {
    grid-column: 1 / -1;
    margin: 0;
    min-height: 0;
}
.astro-birth-form--mobile-wheels .astro-birth-datetime-group .date_error_div,
.astro-birth-form--mobile-wheels .astro-birth-datetime-group .date_error_div2 {
    grid-row: 3;
}
.astro-birth-form--mobile-wheels .astro-birth-datetime-group .time_error_div,
.astro-birth-form--mobile-wheels .astro-birth-datetime-group .time_error_div2 {
    grid-row: 4;
}
.astro-birth-form--mobile-wheels .astro-birth-datetime-group .date_error_div:empty,
.astro-birth-form--mobile-wheels .astro-birth-datetime-group .time_error_div:empty,
.astro-birth-form--mobile-wheels .astro-birth-datetime-group .date_error_div2:empty,
.astro-birth-form--mobile-wheels .astro-birth-datetime-group .time_error_div2:empty {
    display: none;
    margin: 0;
}
.astro-add-chart #birthdayForm.astro-birth-form--mobile-wheels .astro-birth-datetime-group .form-row-dontknow {
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0;
    min-height: 0;
}
.astro-add-chart #birthdayForm.astro-birth-form--mobile-wheels .form-row-dontknow .field-hint {
    display: none !important;
}
.astro-add-chart #birthdayForm.astro-birth-form--mobile-wheels .astro-birth-datetime-group label.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    width: 100%;
    min-height: 1.35rem;
    font-size: 0.84rem;
    font-weight: 500;
    line-height: 1.35;
    color: #64748b;
    cursor: pointer;
}
.astro-add-chart #birthdayForm.astro-birth-form--mobile-wheels .astro-birth-datetime-group label.checkbox-label > span {
    flex: 1 1 auto;
    min-width: 0;
}
.astro-add-chart #birthdayForm.astro-birth-form--mobile-wheels .astro-birth-datetime-group input.cbox {
    width: 1.05rem !important;
    height: 1.05rem;
    min-width: 1.05rem;
    margin: 0;
    flex-shrink: 0;
    accent-color: #359bdc;
}
.astro-birth-form--mobile-wheels .form-row:not(.form-row-names) {
    margin-bottom: 0;
    gap: 0;
    display: flex;
    flex-direction: column;
}
.astro-birth-form--mobile-wheels .form-row label {
    font-size: 0.85rem;
}
.astro-birth-form--mobile-wheels button.astro-birth-wheel-trigger {
    display: flex;
    align-items: center;
    padding: 0.625rem 0.75rem;
    padding-inline-end: 2.15rem;
    min-height: 3rem;
    border-radius: 10px;
}
.astro-birth-form--mobile-wheels button.astro-birth-wheel-trigger .astro-birth-wheel-trigger__text {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.35;
}
.astro-birth-form--mobile-wheels button.astro-birth-wheel-trigger--date,
.astro-birth-form--mobile-wheels button.astro-birth-wheel-trigger--city {
    background-size: 17px;
    background-position: left 0.6rem center;
}
.astro-birth-form--mobile-wheels .astro-birth-datetime-group .astro-birth-wheel-trigger--time {
    background-image: none;
    padding: 0.625rem 0.4rem;
    padding-inline-end: 0.4rem;
    justify-content: center;
    text-align: center;
}
.astro-birth-form--mobile-wheels .form-row-name-mobile input.name {
    display: block;
    width: 100%;
    box-sizing: border-box;
    font-size: 16px;
    min-height: 3rem;
    padding: 0.625rem 0.75rem;
    border: 1px solid #94a3b8;
    border-radius: 10px;
    color: #1e293b;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
    line-height: 1.35;
}
.astro-birth-form--mobile-wheels .form-row-name-mobile input.name::placeholder {
    color: #64748b;
    opacity: 1;
    font-weight: 500;
}
.astro-birth-form--mobile-wheels .form-row-name-mobile input.name:focus {
    outline: none;
    border-color: #217eba;
    box-shadow: 0 0 0 3px rgba(33, 126, 186, 0.25);
}
.astro-add-chart #birthdayForm.astro-birth-form--mobile-wheels {
    min-height: 0 !important;
    height: auto !important;
}
.astro-add-chart #birthdayForm.astro-birth-form--mobile-wheels .butt {
    margin-top: 0.125rem !important;
    margin-bottom: 0 !important;
    padding-top: 0.625rem !important;
    padding-bottom: 0 !important;
    border-top: 1px solid #e2e8f0;
}
.astro-add-chart #birthdayForm.astro-birth-form--mobile-wheels .astro-form-inner > div[style*="clear"] {
    display: none !important;
}
.astro-add-chart #birthdayForm.astro-birth-form--mobile-wheels .butt .button {
    min-height: 3rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 !important;
    float: none !important;
}
/* City preset chips — mobile city sheet layout (chip size: shared .astro-birth-city-chips__btn) */
.astro-city-sheet .astro-birth-city-chips {
    margin: 0 0 0.85rem;
    padding: 0;
    box-sizing: border-box;
}
.astro-city-sheet .astro-birth-city-chips__label {
    display: block;
    margin: 0 0 0.4rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748b;
    line-height: 1.25;
}
.astro-city-sheet .astro-birth-city-chips__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    direction: rtl;
}
@media (max-width: 639px) {
    .astro-reg-free #birthdayForm.astro-birthday-form {
        padding-inline: 1rem !important;
    }
    .astro-reg-free #birthdayForm.astro-birth-form--mobile-wheels {
        min-height: 0 !important;
        height: auto !important;
        padding-block: 1rem 0.5rem !important;
        margin-bottom: 0.85rem !important;
        border-radius: 14px;
    }
    .astro-reg-free #birthdayForm .butt .button {
        width: 100%;
        min-height: 2.85rem;
        font-size: 1rem;
    }
    .astro-reg-free #birthdayForm.astro-birth-form--mobile-wheels .butt .button {
        min-height: 3rem;
        font-size: 1rem;
    }
}
/* iOS-style wheel picker sheet — /user-reg-free mobile */
body.astro-wheel-sheet-open {
    overflow: hidden;
    touch-action: none;
}
body.astro-wheel-sheet-open.astro-wheel-sheet-scroll-lock {
    position: fixed;
    width: 100%;
    left: 0;
    right: 0;
}
.astro-wheel-sheet {
    position: fixed;
    top: var(--astro-wheel-vv-top, 0px);
    left: 0;
    right: 0;
    height: var(--astro-wheel-vv-height, 100dvh);
    max-height: var(--astro-wheel-vv-height, 100dvh);
    z-index: 10090;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
}
.astro-wheel-sheet[hidden] {
    display: none !important;
}
.astro-wheel-sheet__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.52);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.astro-wheel-sheet__panel {
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, #fafbfc 0%, #fff 28%);
    border-radius: 20px 20px 0 0;
    box-shadow:
        0 -4px 24px rgba(15, 23, 42, 0.08),
        0 -1px 0 #dcdce8;
    direction: rtl;
    padding-bottom: max(0.5rem, env(safe-area-inset-bottom, 0));
    animation: astro-wheel-sheet-in 0.28s ease-out;
    max-height: calc(var(--astro-wheel-vv-height, 100dvh) - 8px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.astro-city-sheet .astro-wheel-sheet__panel {
    display: flex;
    flex-direction: column;
    max-height: calc(var(--astro-wheel-vv-height, 100dvh) - 8px);
}
@keyframes astro-wheel-sheet-in {
    from { transform: translateY(100%); opacity: 0.6; }
    to { transform: translateY(0); opacity: 1; }
}
.astro-wheel-sheet__grab {
    width: 2.5rem;
    height: 0.28rem;
    margin: 0.55rem auto 0;
    border-radius: 999px;
    background: #cbd5e1;
}
.astro-wheel-sheet__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.55rem 0.85rem 0.65rem;
}
.astro-wheel-sheet__title {
    flex: 1;
    text-align: center;
    font-size: 1.02rem;
    font-weight: 700;
    color: #222;
    letter-spacing: -0.01em;
}
.astro-wheel-sheet__cancel {
    margin: 0;
    padding: 0.4rem 0.55rem;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 0.95rem;
    cursor: pointer;
    border-radius: 8px;
    color: #64748b;
}
.astro-wheel-sheet__done {
    margin: 0;
    padding: 0.4rem 0.85rem;
    border: 0;
    background: linear-gradient(180deg, #359bdc 0%, #217eba 100%);
    font: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    border-radius: 999px;
    color: #fff;
    box-shadow: 0 2px 8px rgba(33, 126, 186, 0.35);
}
.astro-wheel-sheet__cancel:active {
    background: #f1f5f9;
}
.astro-wheel-sheet__done:active {
    transform: scale(0.97);
}
.astro-wheel-picker {
    position: relative;
    margin: 0 0.65rem 0.75rem;
    padding: 0.25rem 0 0.5rem;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    --wheel-picker-pad-top: 0.25rem;
    --wheel-label-h: 1.75rem;
    --wheel-scroll-h: 232px;
    --wheel-item-h: 44px;
}
.astro-wheel-picker__cols {
    display: flex;
    align-items: stretch;
    gap: 0;
    direction: rtl;
    position: relative;
    z-index: 2;
}
.astro-wheel-col {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    border-inline-start: 1px solid #e8edf3;
}
.astro-wheel-col:first-child {
    border-inline-start: 0;
}
.astro-wheel-col__label {
    text-align: center;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b;
    padding: 0.45rem 0.25rem 0.25rem;
    min-height: 1.75rem;
    box-sizing: border-box;
}
.astro-wheel-col__scroll {
    height: var(--wheel-scroll-h, 232px);
    overflow-y: auto;
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 82%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 82%, transparent 100%);
}
.astro-wheel-col__scroll::-webkit-scrollbar {
    display: none;
}
.astro-wheel-col__pad {
    height: 88px;
    flex-shrink: 0;
}
.astro-wheel-col__item {
    height: var(--wheel-item-h, 44px);
    min-height: var(--wheel-item-h, 44px);
    max-height: var(--wheel-item-h, 44px);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    scroll-snap-align: center;
    text-align: center;
    font-size: 1.05rem;
    color: #94a3b8;
    user-select: none;
    box-sizing: border-box;
    padding: 0 0.15rem;
    transition: color 0.12s ease, font-size 0.12s ease;
}
.astro-wheel-picker__highlight {
    position: absolute;
    left: 0.35rem;
    right: 0.35rem;
    top: calc(
        var(--wheel-picker-pad-top, 0.25rem) + var(--wheel-label-h, 1.75rem) +
        (var(--wheel-scroll-h, 232px) - var(--wheel-item-h, 44px)) / 2
    );
    height: var(--wheel-item-h, 44px);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #cbd5e1;
    box-shadow: 0 2px 10px rgba(33, 126, 186, 0.1);
    pointer-events: none;
    z-index: 1;
    transform: none;
    margin-top: 0;
    box-sizing: border-box;
}
.astro-wheel-col__item.is-selected {
    color: #1a6fa0;
    font-weight: 700;
    font-size: 1.22rem;
    line-height: 1;
    position: relative;
    z-index: 3;
    transform: translateY(-2px);
}
.astro-wheel-picker__fade {
    display: none;
}
.astro-birth-form--mobile-wheels button.astro-birth-wheel-trigger:not(.is-placeholder) {
    font-weight: 600;
    color: #0f172a;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.astro-birth-form--mobile-wheels button.astro-birth-wheel-trigger:not(.is-disabled):active {
    transform: scale(0.995);
    border-color: #359bdc;
}
/* City search bottom sheet — /user-reg-free mobile */
.astro-city-sheet__body {
    padding: 0 0.85rem 0.85rem;
    direction: rtl;
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
}
.astro-city-sheet__chips {
    margin: 0 0 0.55rem;
}
.astro-city-sheet__or {
    margin: 0 0 0.45rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748b;
    text-align: center;
}
.astro-city-sheet__search-wrap {
    position: relative;
    margin: 0 0 0.35rem;
}
.astro-city-sheet__search {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 0.6rem 2.2rem 0.6rem 0.75rem;
    font: inherit;
    font-size: 16px;
    line-height: 1.35;
    color: #222;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    min-height: 2.75rem;
}
.astro-city-sheet__search:focus {
    outline: none;
    border-color: #217eba;
    box-shadow: 0 0 0 3px rgba(33, 126, 186, 0.2);
}
.astro-city-sheet__clear {
    position: absolute;
    top: 50%;
    left: 0.35rem;
    transform: translateY(-50%);
    margin: 0;
    padding: 0.15rem 0.45rem;
    border: 0;
    background: transparent;
    font-size: 1.35rem;
    line-height: 1;
    color: #94a3b8;
    cursor: pointer;
    border-radius: 6px;
}
.astro-city-sheet__hint {
    margin: 0 0 0.35rem;
    font-size: 0.78rem;
    color: #94a3b8;
    text-align: center;
}
.astro-city-sheet__results {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
}
.astro-city-sheet__results:empty {
    display: none;
}
.astro-city-sheet__results-item--message {
    padding: 0.85rem 0.75rem;
    text-align: center;
    font-size: 0.88rem;
    color: #64748b;
}
.astro-city-sheet__results-item--message.is-error {
    color: #b71c1c;
    background: #ffebee;
}
.astro-city-sheet__results-item--loading {
    padding: 0;
}
.astro-city-sheet__loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 1.35rem 0.75rem;
}
.astro-city-sheet__spinner {
    display: inline-block;
    width: 28px;
    height: 28px;
    border: 3px solid #c8e6f7;
    border-top-color: #359bdc;
    border-radius: 50%;
    animation: astro-spin 0.9s linear infinite;
}
.astro-city-sheet__loading-text {
    font-size: 0.84rem;
    color: #64748b;
}
button.astro-city-sheet__result-btn.is-picking {
    opacity: 0.65;
    pointer-events: none;
}
button.astro-city-sheet__result-btn.is-picking .astro-city-sheet__result-main::after {
    content: ' …';
    color: #64748b;
    font-weight: 500;
}
.astro-city-sheet.is-search-loading .astro-city-sheet__search {
    opacity: 0.85;
}
button.astro-city-sheet__result-btn {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0.65rem 0.75rem;
    min-height: 48px;
    border: 0;
    border-bottom: 1px solid #e8edf3;
    background: transparent;
    font: inherit;
    text-align: right;
    cursor: pointer;
    box-sizing: border-box;
}
.astro-city-sheet__results-item:last-child button.astro-city-sheet__result-btn {
    border-bottom: 0;
}
button.astro-city-sheet__result-btn:hover,
button.astro-city-sheet__result-btn:focus {
    outline: none;
    background: #eef6fb;
}
button.astro-city-sheet__result-btn:active {
    background: #dbeafe;
}
.astro-city-sheet__result-main {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
}
.astro-city-sheet__result-sub {
    display: block;
    margin-top: 0.12rem;
    font-size: 0.78rem;
    color: #64748b;
}
.astro-wheel-sheet__done:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

/* 5-step homepage wizard — same date/time pickers as user-reg-free */
.astro-lp-wizard-birth-shell.astro-add-chart {
	float: none;
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 0;
}
.astro-lp-wizard-birth-shell.astro-add-chart #birthdayForm.astro-birthday-form {
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	width: 100% !important;
	max-width: 100% !important;
	display: block !important;
}
.astro-main-free-about .astro-lp-wizard.astro-lp-wizard--home-embed .astro-lp-wizard__steps-host {
	position: relative;
	display: block;
	margin: 0;
	padding: 0;
	overflow: hidden;
}
.astro-main-free-about .astro-lp-wizard.astro-lp-wizard--home-embed .astro-lp-wizard__steps-host > .astro-lp-wizard__step:not(.astro-lp-wizard__step--active),
.astro-main-free-about .astro-lp-wizard.astro-lp-wizard--home-embed .astro-lp-wizard__steps-host > .astro-lp-wizard__step[hidden] {
	display: none !important;
	height: 0 !important;
	min-height: 0 !important;
	overflow: hidden !important;
	margin: 0 !important;
	padding: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
}
.astro-main-free-about .astro-lp-wizard.astro-lp-wizard--home-embed .astro-lp-wizard__steps-host > .astro-lp-wizard__step--active {
	display: block !important;
	position: relative !important;
	width: 100% !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	box-shadow: none !important;
	background: transparent !important;
}
.astro-lp-wizard-birth-shell.astro-add-chart #birthdayForm.astro-birth-form--desktop-picker .astro-lp-wizard__step .form-row-date,
.astro-lp-wizard-birth-shell.astro-add-chart #birthdayForm.astro-birth-form--desktop-picker .astro-lp-wizard__step .form-row-time,
.astro-lp-wizard-birth-shell.astro-add-chart #birthdayForm.astro-birth-form--mobile-wheels .astro-lp-wizard__step .form-row-date,
.astro-lp-wizard-birth-shell.astro-add-chart #birthdayForm.astro-birth-form--mobile-wheels .astro-lp-wizard__step .form-row-time {
    margin: 0 0 0.65rem;
}
.astro-lp-wizard-birth-shell.astro-add-chart #birthdayForm .astro-lp-wizard__step .date_error_div,
.astro-lp-wizard-birth-shell.astro-add-chart #birthdayForm .astro-lp-wizard__step .time_error_div {
    margin: 0 0 0.75rem;
}
.astro-main-free-about .astro-lp-wizard-birth-shell.astro-add-chart #birthdayForm .astro-lp-wizard__step .date_error_div:empty,
.astro-main-free-about .astro-lp-wizard-birth-shell.astro-add-chart #birthdayForm .astro-lp-wizard__step .time_error_div:empty {
	display: none !important;
	margin: 0 !important;
	padding: 0 !important;
	height: 0 !important;
	min-height: 0 !important;
}
.astro-lp-wizard-birth-shell.astro-add-chart #birthdayForm.astro-birth-form--desktop-picker .astro-lp-wizard__step .form-row-city-desktop {
	margin: 0 0 0.5rem;
}
.astro-lp-wizard-birth-shell.astro-add-chart #birthdayForm.astro-birth-form--mobile-wheels .astro-lp-wizard__step .form-row-city {
	margin: 0 0 0.5rem;
}
.astro-lp-wizard-birth-shell.astro-add-chart #birthdayForm.astro-birth-form--mobile-wheels .astro-lp-wizard__step .form-row-city .astropro-city-wrap {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* Homepage wizard — no inner #birthdayForm card; frame is .astro-lp-wizard--home-embed */
.astro-main-free-about .astro-lp-wizard-birth-shell.astro-add-chart #birthdayForm.astro-birthday-form,
.astro-main-free-about .astro-lp-wizard-birth-shell.astro-add-chart #birthdayForm.astro-birthday-form.astro-birth-form--desktop-picker,
.astro-main-free-about .astro-lp-wizard-birth-shell.astro-add-chart #birthdayForm.astro-birthday-form.astro-birth-form--desktop-wheels {
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	width: 100% !important;
	max-width: 100% !important;
	display: block !important;
	min-height: 0 !important;
	height: auto !important;
	gap: 0 !important;
}
.astro-main-free-about .astro-lp-wizard.astro-lp-wizard--home-embed .astro-lp-wizard__step,
.astro-main-free-about .astro-lp-wizard.astro-lp-wizard--home-embed .astro-lp-wizard__step--active {
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}
.astro-main-free-about .astro-lp-wizard.astro-lp-wizard--home-embed .astro-lp-wizard__nav {
	margin-bottom: 0 !important;
}
.astro-main-free-about .astro-lp-wizard-birth-shell.astro-add-chart #birthdayForm.astro-birth-form--desktop-picker .astro-lp-wizard__step .date_error_div:empty,
.astro-main-free-about .astro-lp-wizard-birth-shell.astro-add-chart #birthdayForm.astro-birth-form--desktop-picker .astro-lp-wizard__step .time_error_div:empty {
	display: none !important;
	margin: 0 !important;
	padding: 0 !important;
	height: 0 !important;
	min-height: 0 !important;
}

/* Synastry wizard (/synastry-chart-about) — vertical rhythm (flat_modern tokens) */
#birthdayForm.astro-synastry-wizard {
	--astro-syn-gap: 0.75rem;
	--astro-syn-gap-tight: 0.5rem;
	--astro-syn-nav-pad: 0.875rem;
}
#birthdayForm.astro-synastry-wizard .astro-form-inner {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: var(--astro-syn-gap);
}
#birthdayForm.astro-synastry-wizard fieldset.astro-synastry-step {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: var(--astro-syn-gap);
}
#birthdayForm.astro-synastry-wizard .astro-form-inner > .astro-form-section-h,
#birthdayForm.astro-synastry-wizard .astro-form-inner > #progressbar.astro-synastry-progress,
#birthdayForm.astro-synastry-wizard fieldset.astro-synastry-step > * {
	margin: 0 !important;
}
#birthdayForm.astro-synastry-wizard .astro-form-section-h,
#birthdayForm.astro-synastry-wizard fieldset.astro-synastry-step > .astro-form-section-h {
    padding: 0 0 0.5rem 0 !important;
}
#birthdayForm.astro-synastry-wizard #progressbar.astro-synastry-progress {
	padding: 0.35rem 0 0.15rem;
}
#birthdayForm.astro-synastry-wizard .astro-syn-city-hint {
	margin: 0 !important;
	padding: 0;
	font-size: 0.8rem;
	line-height: 1.45;
	color: #64748b;
	text-align: right;
}
#birthdayForm.astro-synastry-wizard .astro-synastry-city-fields {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: var(--astro-syn-gap);
	width: 100%;
}
#birthdayForm.astro-synastry-wizard .astro-synastry-city-fields > .form-row,
#birthdayForm.astro-synastry-wizard .astro-synastry-city-fields > .form-row-city {
	margin: 0 !important;
}
#birthdayForm.astro-synastry-wizard .form-row,
#birthdayForm.astro-synastry-wizard .form-row-name-desktop,
#birthdayForm.astro-synastry-wizard .form-row-city,
#birthdayForm.astro-synastry-wizard .form-row-city-desktop {
	margin: 0 !important;
	gap: 0;
	padding: 0;
}
#birthdayForm.astro-synastry-wizard.astro-birth-form--desktop-picker .form-row-name-desktop input.name,
#birthdayForm.astro-synastry-wizard.astro-birth-form--mobile-wheels .form-row-name-desktop input.name {
	display: block;
	width: 100%;
	box-sizing: border-box;
	min-height: 3rem;
	padding: 0.625rem 0.75rem;
	border: 1px solid #94a3b8;
	border-radius: 10px;
	color: #1e293b;
	background: #fff;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
	line-height: 1.35;
}
#birthdayForm.astro-synastry-wizard.astro-birth-form--desktop-picker .form-row-name-desktop input.name:focus,
#birthdayForm.astro-synastry-wizard.astro-birth-form--mobile-wheels .form-row-name-desktop input.name:focus {
	outline: none;
	border-color: #217eba;
	box-shadow: 0 0 0 3px rgba(33, 126, 186, 0.25);
}
#birthdayForm.astro-synastry-wizard .astro-synastry-person-block {
	display: flex;
	flex-direction: column;
	gap: var(--astro-syn-gap-tight);
	margin: 0 !important;
	padding: var(--astro-syn-gap) 0 0;
	border-top: 1px solid #e2e8f0;
}
#birthdayForm.astro-synastry-wizard .astro-synastry-person-block:first-of-type {
	border-top: 0;
	padding-top: 0;
}
#birthdayForm.astro-synastry-wizard .astro-synastry-person-label {
	font-size: 0.84rem;
	font-weight: 600;
	color: #64748b;
	margin: 0 !important;
	text-align: right;
}
#birthdayForm.astro-synastry-wizard .astro-birth-datetime-group .date_error_div,
#birthdayForm.astro-synastry-wizard .astro-birth-datetime-group .time_error_div,
#birthdayForm.astro-synastry-wizard .astro-birth-datetime-group .date_error_div2,
#birthdayForm.astro-synastry-wizard .astro-birth-datetime-group .time_error_div2 {
	grid-column: 1 / -1;
	margin: 0 !important;
	min-height: 0;
	font-size: 0.82rem;
}
#birthdayForm.astro-synastry-wizard .astro-birth-datetime-group .date_error_div:empty,
#birthdayForm.astro-synastry-wizard .astro-birth-datetime-group .time_error_div:empty,
#birthdayForm.astro-synastry-wizard .astro-birth-datetime-group .date_error_div2:empty,
#birthdayForm.astro-synastry-wizard .astro-birth-datetime-group .time_error_div2:empty {
	display: none;
}
#birthdayForm.astro-synastry-wizard .astro-synastry-step-nav.butt {
	margin: 0 !important;
	padding: var(--astro-syn-nav-pad) 0 0 !important;
	border-top: 1px solid #dcdce8;
}
#birthdayForm.astro-synastry-wizard .astro-synastry-step-nav .button.clear {
	order: 1;
}
#birthdayForm.astro-synastry-wizard .astro-synastry-step-nav .button.next,
#birthdayForm.astro-synastry-wizard .astro-synastry-step-nav .button.submit {
	order: 2;
}
/* Synastry wizard — mobile steps 2–3 */
@media (max-width: 639px) {
	#birthdayForm.astro-synastry-wizard.astro-birth-form--mobile-wheels fieldset.astro-synastry-step {
		gap: 0.625rem;
	}
	#birthdayForm.astro-synastry-wizard.astro-birth-form--mobile-wheels .form-row-name-desktop > label {
		position: absolute !important;
		width: 1px !important;
		height: 1px !important;
		padding: 0 !important;
		margin: -1px !important;
		overflow: hidden !important;
		clip: rect(0, 0, 0, 0) !important;
		white-space: nowrap !important;
		border: 0 !important;
	}
	#birthdayForm.astro-synastry-wizard.astro-birth-form--mobile-wheels fieldset.astro-synastry-step .form-row-city,
	#birthdayForm.astro-synastry-wizard.astro-birth-form--mobile-wheels fieldset.astro-synastry-step .astro-birth-datetime-group {
		width: 100%;
	}
	#birthdayForm.astro-synastry-wizard.astro-birth-form--mobile-wheels .astro-synastry-person-block {
		padding-top: 0.625rem;
	}
}
