.rsh-booking-wrap {
    --rsh-border: #b9c0c7;
    --rsh-bg: #ffffff;
    --rsh-soft: #f1f4f6;
    --rsh-text: #202124;
    --rsh-muted: #667085;
    --rsh-free: #e7f8e8;
    --rsh-confirmed: #f28f8f;
    --rsh-pending: #ffd66b;
    --rsh-blocked: #b8bec6;
    color: var(--rsh-text);
}
.rsh-booking-intro {
    margin-bottom: 1rem;
}
.rsh-alert {
    border-radius: 8px;
    padding: .85rem 1rem;
    margin: 1rem 0;
    border: 1px solid var(--rsh-border);
    background: var(--rsh-soft);
}
.rsh-alert-success {
    border-color: #7bc67b;
    background: #f1fff1;
}
.rsh-alert-error {
    border-color: #d98686;
    background: #fff4f4;
}
.rsh-calendar {
    margin: 1.25rem 0 2rem;
}
.rsh-calendar-legend {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 1rem;
    font-size: .95rem;
}
.rsh-key {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    border: 1px solid var(--rsh-border);
    border-radius: 999px;
    padding: .25rem .65rem;
    background: var(--rsh-bg);
}
.rsh-key::before {
    content: "";
    width: .8rem;
    height: .8rem;
    border-radius: 50%;
    display: inline-block;
    border: 1px solid var(--rsh-border);
}
.rsh-key.rsh-free::before { background: var(--rsh-free); }
.rsh-key.rsh-confirmed::before { background: var(--rsh-confirmed); }
.rsh-key.rsh-pending::before { background: var(--rsh-pending); }
.rsh-key.rsh-blocked::before { background: var(--rsh-blocked); }
.rsh-key.rsh-half::before {
    border-radius: 3px;
    background: linear-gradient(90deg, var(--rsh-confirmed) 0 50%, var(--rsh-free) 50% 100%);
}
.rsh-month-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}
.rsh-month {
    background: var(--rsh-bg);
    border: 1px solid var(--rsh-border);
    border-radius: 14px;
    padding: 1rem;
    box-shadow: 0 8px 22px rgba(0,0,0,.07);
}
.rsh-month h3 {
    margin: 0 0 .75rem;
    font-size: 1.05rem;
}
.rsh-weekdays,
.rsh-days {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: .25rem;
}
.rsh-weekdays span {
    text-align: center;
    color: var(--rsh-muted);
    font-size: .78rem;
    font-weight: 600;
}
.rsh-day {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid var(--rsh-border);
    background: var(--rsh-free);
    font-size: .9rem;
}
.rsh-day.rsh-empty {
    border-color: transparent;
    background: transparent;
}
.rsh-day.rsh-confirmed { background: var(--rsh-confirmed); }
.rsh-day.rsh-pending { background: var(--rsh-pending); }
.rsh-day.rsh-blocked { background: var(--rsh-blocked); color: #25313d; }
.rsh-day.rsh-confirmed,
.rsh-day.rsh-pending,
.rsh-day.rsh-blocked {
    border-color: rgba(32,33,36,.28);
}
.rsh-day.rsh-confirmed,
.rsh-day.rsh-pending {
    color: #1f2933;
}
.rsh-day.rsh-split {
    --rsh-am-bg: var(--rsh-free);
    --rsh-pm-bg: var(--rsh-free);
    background: linear-gradient(90deg, var(--rsh-am-bg) 0 calc(50% - 1px), rgba(0,0,0,.42) calc(50% - 1px) calc(50% + 1px), var(--rsh-pm-bg) calc(50% + 1px) 100%);
}
.rsh-day.rsh-am-free { --rsh-am-bg: var(--rsh-free); }
.rsh-day.rsh-am-confirmed { --rsh-am-bg: var(--rsh-confirmed); }
.rsh-day.rsh-am-pending { --rsh-am-bg: var(--rsh-pending); }
.rsh-day.rsh-am-blocked { --rsh-am-bg: var(--rsh-blocked); }
.rsh-day.rsh-pm-free { --rsh-pm-bg: var(--rsh-free); }
.rsh-day.rsh-pm-confirmed { --rsh-pm-bg: var(--rsh-confirmed); }
.rsh-day.rsh-pm-pending { --rsh-pm-bg: var(--rsh-pending); }
.rsh-day.rsh-pm-blocked { --rsh-pm-bg: var(--rsh-blocked); }
.rsh-day.rsh-arrival-day,
.rsh-day.rsh-departure-day,
.rsh-day.rsh-turnover-day {
    font-weight: 700;
    border-color: rgba(32,33,36,.34);
}
.rsh-booking-form {
    border: 1px solid var(--rsh-border);
    border-radius: 16px;
    background: var(--rsh-bg);
    padding: 1rem;
    box-shadow: 0 8px 22px rgba(0,0,0,.07);
}
.rsh-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .9rem;
}
.rsh-booking-form label {
    display: block;
    font-weight: 600;
    margin: 0 0 .9rem;
}
.rsh-booking-form input,
.rsh-booking-form textarea,
.rsh-booking-form select {
    width: 100%;
    box-sizing: border-box;
    margin-top: .35rem;
    border: 1px solid var(--rsh-border);
    border-radius: 8px;
    padding: .65rem .75rem;
    font: inherit;
}
.rsh-booking-form textarea {
    resize: vertical;
}
.rsh-checkbox {
    display: flex !important;
    gap: .55rem;
    align-items: flex-start;
    font-weight: 400 !important;
}
.rsh-checkbox input {
    width: auto;
    margin-top: .2rem;
}
.rsh-submit {
    border: 0;
    border-radius: 999px;
    padding: .75rem 1.2rem;
    font-weight: 700;
    cursor: pointer;
}
.rsh-availability-result {
    min-height: 1.5rem;
    margin: .25rem 0 1rem;
    font-weight: 600;
}
.rsh-availability-result.is-free { color: #207227; }
.rsh-availability-result.is-blocked { color: #9a4a00; }
.rsh-admin-wrap .rsh-month-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.rsh-badge {
    display: inline-block;
    padding: .2rem .5rem;
    border-radius: 999px;
    font-size: .82rem;
    border: 1px solid #ccd0d4;
    background: #fff;
}
.rsh-badge-pending { background: #ffd66b; }
.rsh-badge-confirmed { background: #f28f8f; }
.rsh-badge-blocked { background: #b8bec6; color: #25313d; }
.rsh-badge-cancelled { background: #f4f4f4; color: #777; }
.rsh-filter-links a {
    margin-right: .5rem;
}
@media (max-width: 680px) {
    .rsh-form-grid {
        grid-template-columns: 1fr;
    }
}
