:root {
    --rak-ink: #1f2933;
    --rak-muted: #5f6c7b;
    --rak-line: #d8e0e8;
    --rak-surface: #ffffff;
    --rak-surface-alt: #f4f7f7;
    --rak-accent: #155e63;
    --rak-accent-soft: #dbf0ee;
    --rak-paid: #8b5e34;
    --rak-free: #1e7a46;
    --rak-info: #5b6470;
}

.rak-calendar-shell,
.rak-single-booking-box,
.rak-modal-panel {
    color: var(--rak-ink);
}

.rak-calendar-shell {
    scroll-margin-top: 7rem;
}

.rak-calendar-topbar {
    margin-bottom: 1rem;
}

.rak-calendar-heading {
    max-width: 44rem;
}

.rak-calendar-layout {
    align-items: start;
    display: grid;
    gap: 1.15rem;
    grid-template-columns: minmax(165px, 205px) minmax(0, 1fr);
}

.rak-calendar-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-bottom: 1rem;
    position: sticky;
    top: 1rem;
}

.rak-sidebar-group {
    background: linear-gradient(180deg, rgba(244, 247, 247, 0.62) 0%, rgba(255, 255, 255, 0.96) 100%);
    border: 1px solid rgba(216, 224, 232, 0.78);
    border-radius: 1rem;
    box-shadow: 0 14px 30px rgba(31, 41, 51, 0.04);
    padding: 0.7rem;
}

.rak-calendar-kicker,
.rak-modal-kicker {
    color: var(--rak-muted);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    margin: 0 0 0.35rem;
    text-transform: uppercase;
}

.rak-calendar-title {
    font-size: clamp(1.9rem, 4vw, 2.6rem);
    line-height: 1.1;
    margin: 0;
}

.rak-calendar-nav {
    align-items: stretch;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.rak-calendar-months {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.rak-calendar-content {
    min-width: 0;
}

.rak-nav-link,
.rak-filter,
.rak-button {
    border-radius: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.rak-nav-link,
.rak-filter {
    background: transparent;
    border: 1px solid transparent;
    color: var(--rak-ink);
    font-size: 0.9rem;
    line-height: 1.25;
    padding: 0.62rem 0.78rem;
}

.rak-nav-link.is-active,
.rak-nav-link.is-current {
    background: rgba(21, 94, 99, 0.1);
    border-color: rgba(21, 94, 99, 0.16);
    box-shadow: none;
    color: var(--rak-accent);
}

.rak-nav-toggle {
    align-self: stretch;
    border-color: rgba(216, 224, 232, 0.9);
    margin-bottom: 0;
}

.rak-month-link {
    font-size: 0.88rem;
    padding: 0.52rem 0.78rem;
}

.rak-filter.is-active {
    background: rgba(21, 94, 99, 0.1);
    border-color: rgba(21, 94, 99, 0.16);
    color: var(--rak-accent);
}

.rak-calendar-legend {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.rak-nav-link,
.rak-filter {
    text-align: left;
    width: 100%;
}

.rak-filter,
.rak-month-link {
    color: #334155;
}

.rak-sidebar-group-filters .rak-filter {
    background: #1954a6;
    border-color: #1954a6;
    color: #fff;
}

.rak-sidebar-group-filters .rak-filter.is-active {
    background: var(--rak-accent);
    border-color: var(--rak-accent);
    color: #fff;
}

.rak-nav-link:hover,
.rak-filter:hover {
    background: rgba(21, 94, 99, 0.06);
    border-color: rgba(21, 94, 99, 0.12);
    color: var(--rak-accent);
}

.rak-sidebar-group-filters .rak-filter:hover {
    background: #153a73;
    border-color: #153a73;
    color: #fff;
}

.rak-sidebar-group-filters .rak-filter.is-active:hover {
    background: var(--rak-accent);
    border-color: var(--rak-accent);
}

.rak-calendar-grid-wrap {
    overflow-x: visible;
    padding-bottom: 0.5rem;
}

.rak-calendar-grid {
    display: grid;
    gap: 0.4rem;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    min-width: 0;
}

.rak-calendar-head {
    color: var(--rak-muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.15rem;
    text-transform: uppercase;
}

.rak-calendar-day {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbfb 100%);
    border: 1px solid var(--rak-line);
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    min-height: 190px;
    padding: 0.6rem;
}

.rak-calendar-day.is-outside-month {
    opacity: 0.55;
}

.rak-day-label {
    align-items: baseline;
    display: flex;
    gap: 0.35rem;
}

.rak-day-number {
    font-size: 1.1rem;
    font-weight: 800;
}

.rak-day-date {
    color: var(--rak-muted);
    font-size: 0.66rem;
    text-transform: uppercase;
}

.rak-activity-card {
    background: var(--rak-surface);
    border: 1px solid var(--rak-line);
    border-left: 4px solid var(--rak-info);
    border-radius: 0.8rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.55rem;
}

.rak-activity-card.type-paid {
    border-left-color: var(--rak-paid);
}

.rak-activity-card.type-free {
    border-left-color: var(--rak-free);
}

.rak-activity-card.type-info {
    border-left-color: var(--rak-info);
}

.rak-activity-card.is-hidden {
    display: none;
}

.rak-activity-meta,
.rak-activity-footer {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: space-between;
}

.rak-badge {
    background: var(--rak-accent-soft);
    border-radius: 999px;
    color: var(--rak-accent);
    display: inline-flex;
    font-size: 0.62rem;
    font-weight: 800;
    padding: 0.24rem 0.42rem;
}

.rak-time,
.rak-activity-location,
.rak-activity-description,
.rak-price,
.rak-remaining,
.rak-empty-day {
    color: var(--rak-muted);
}

.rak-activity-title {
    font-size: 0.84rem;
    line-height: 1.25;
    margin: 0;
}

.rak-activity-location,
.rak-activity-description,
.rak-price,
.rak-remaining {
    font-size: 0.72rem;
    margin: 0;
}

.rak-time {
    font-size: 0.7rem;
}

.rak-activity-description {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
}

.rak-activity-read-more {
    margin: 0;
}

.rak-activity-read-more a {
    color: var(--rak-accent);
    font-size: 0.72rem;
    font-weight: 700;
    text-decoration: none;
}

.rak-activity-read-more a:hover {
    text-decoration: underline;
}

.rak-activity-action {
    margin-top: auto;
}

.rak-list-shell {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbfb 100%);
    border: 1px solid var(--rak-line);
    border-radius: 1.2rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.rak-list-head,
.rak-list-row {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: minmax(0, 1fr) 128px;
}

.rak-list-head {
    align-items: center;
    background: linear-gradient(180deg, var(--rak-surface-alt) 0%, #eef4f4 100%);
    border-bottom: 1px solid var(--rak-line);
    color: var(--rak-ink);
    font-size: 0.9rem;
    font-weight: 800;
    padding: 1rem 1.25rem;
}

.rak-list-head-main,
.rak-list-head-side {
    display: block;
}

.rak-list-head-side {
    color: var(--rak-muted);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-align: right;
    text-transform: uppercase;
}

.rak-list-row {
    align-items: start;
    border-bottom: 1px solid var(--rak-line);
    padding: 1.15rem 1.25rem;
    position: relative;
}

.rak-list-row:last-child {
    border-bottom: 0;
}

.rak-list-row::before {
    background: var(--rak-info);
    border-radius: 999px;
    content: "";
    inset: 1rem auto 1rem 0.5rem;
    position: absolute;
    width: 4px;
}

.rak-list-row.type-paid::before {
    background: var(--rak-paid);
}

.rak-list-row.type-free::before {
    background: var(--rak-free);
}

.rak-list-row.type-info::before {
    background: var(--rak-info);
}

.rak-list-row.is-hidden {
    display: none;
}

.rak-list-main {
    min-width: 0;
    padding-left: 0.35rem;
}

.rak-list-title-row {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: flex-start;
    margin-bottom: 0.4rem;
}

.rak-list-title {
    color: var(--rak-ink);
    font-size: 1.3rem;
    line-height: 1.2;
    margin: 0;
}

.rak-list-meta,
.rak-list-description,
.rak-list-price {
    color: var(--rak-muted);
    margin: 0;
}

.rak-list-meta {
    font-size: 0.92rem;
    font-weight: 600;
}

.rak-list-description {
    font-size: 0.98rem;
    line-height: 1.65;
    margin-top: 0.5rem;
    max-width: 72ch;
}

.rak-list-subrow {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 0.8rem;
}

.rak-list-price {
    color: var(--rak-ink);
    font-size: 1rem;
    font-weight: 700;
}

.rak-list-read-more {
    color: var(--rak-accent);
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
}

.rak-list-read-more:hover {
    text-decoration: underline;
}

.rak-list-action {
    margin-top: 1rem;
}

.rak-list-action .rak-button {
    min-height: 38px;
    min-width: 100px;
    padding: 0.68rem 0.9rem;
}

.rak-list-side {
    align-items: flex-end;
    align-self: stretch;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbfb 100%);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 0.9rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 10px 24px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    justify-content: center;
    min-width: 132px;
    padding: 0.9rem 0.95rem;
    text-align: right;
}

.rak-list-remaining-label {
    color: #667085;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rak-list-remaining-value {
    color: var(--rak-ink);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.15;
    text-align: right;
}

.rak-list-row.type-paid .rak-list-remaining-value {
    color: var(--rak-paid);
}

.rak-list-row.type-free .rak-list-remaining-value {
    color: var(--rak-free);
}

.rak-list-row.type-info .rak-list-remaining-value {
    color: var(--rak-info);
}

.rak-list-row.type-paid .rak-list-side {
    background: linear-gradient(180deg, rgba(139, 94, 52, 0.06) 0%, rgba(255, 255, 255, 0.98) 100%);
    border-color: rgba(139, 94, 52, 0.16);
}

.rak-list-row.type-free .rak-list-side {
    background: linear-gradient(180deg, rgba(30, 122, 70, 0.08) 0%, rgba(255, 255, 255, 0.98) 100%);
    border-color: rgba(30, 122, 70, 0.16);
}

.rak-list-row.type-info .rak-list-side {
    background: linear-gradient(180deg, rgba(91, 100, 112, 0.08) 0%, rgba(255, 255, 255, 0.98) 100%);
    border-color: rgba(91, 100, 112, 0.16);
}

.rak-single-booking-box {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbfb 100%);
    border: 1px solid var(--rak-line);
    border-radius: 1rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
    margin: 1.25rem 0;
    padding: 1rem;
}

.rak-single-booking-head {
    align-items: center;
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
    margin-bottom: 0.65rem;
}

.rak-single-booking-meta,
.rak-single-booking-price {
    color: var(--rak-muted);
    font-size: 0.94rem;
    margin: 0;
}

.rak-single-booking-action .rak-button {
    width: 100%;
}

.rak-button {
    border: 0;
    cursor: pointer;
    display: inline-flex;
    font-weight: 700;
    justify-content: center;
    padding: 0.95rem 1.15rem;
    text-decoration: none;
    width: auto;
}

.rak-button.is-primary {
    background: var(--rak-accent) !important;
    box-shadow: 0 10px 20px rgba(21, 94, 99, 0.18);
    color: #fff !important;
}

.rak-button.is-muted {
    background: #e8edf0 !important;
    color: var(--rak-muted) !important;
}

.rak-button.is-static {
    cursor: default;
}

.rak-button.is-full {
    width: 100%;
}

.rak-nav-link:hover,
.rak-filter:hover,
.rak-button:hover {
    box-shadow: 0 12px 24px rgba(31, 41, 51, 0.08);
    transform: translateY(-1px);
}

.rak-empty-day {
    font-size: 0.8rem;
}

@media (max-width: 1024px) {
    .rak-calendar-grid {
        gap: 0.45rem;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        min-width: 0;
    }

    .rak-calendar-grid-wrap {
        overflow: visible;
    }

    .rak-calendar-head {
        display: none;
    }

    .rak-calendar-day {
        min-height: 0;
        padding: 0.55rem;
    }

    .rak-calendar-day.is-outside-month {
        display: none;
    }

    .rak-day-label {
        align-items: center;
        border-bottom: 1px solid var(--rak-line);
        gap: 0.25rem;
        justify-content: space-between;
        padding-bottom: 0.35rem;
    }

    .rak-day-number {
        font-size: 1.05rem;
    }

    .rak-day-date,
    .rak-calendar-head {
        font-size: 0.62rem;
    }

    .rak-activity-card {
        border-left-width: 3px;
        gap: 0.35rem;
        padding: 0.5rem;
    }

    .rak-badge {
        font-size: 0.56rem;
        padding: 0.22rem 0.38rem;
    }

    .rak-activity-title {
        font-size: 0.8rem;
    }

    .rak-time,
    .rak-activity-location,
    .rak-activity-description,
    .rak-price,
    .rak-remaining,
    .rak-activity-read-more a,
    .rak-empty-day {
        font-size: 0.68rem;
    }

    .rak-button {
        min-height: 40px;
        padding: 0.7rem 0.75rem;
    }
}

@media (max-width: 900px) {
    .rak-calendar-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rak-list-head,
    .rak-list-row {
        grid-template-columns: 1fr;
    }

    .rak-list-head-side {
        display: none;
    }

    .rak-list-side {
        align-items: flex-start;
        align-self: auto;
        border-top: 1px solid var(--rak-line);
        margin-top: 0.8rem;
        padding-top: 0.8rem;
        padding-left: 0;
        padding-right: 0;
        background: transparent;
        border-left: 0;
        border-right: 0;
        border-bottom: 0;
        border-radius: 0;
    }

    .rak-list-remaining-value {
        text-align: left;
    }
}

.rak-modal[hidden] {
    display: none;
}

.rak-modal {
    inset: 0;
    position: fixed;
    z-index: 9999;
}

.rak-modal-backdrop {
    background: rgba(15, 23, 42, 0.52);
    inset: 0;
    position: absolute;
}

.rak-modal-panel {
    background: var(--rak-surface);
    border-radius: 1.2rem;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.2);
    left: 50%;
    max-width: 520px;
    padding: 1.5rem;
    position: relative;
    top: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 2rem);
}

.rak-modal-close {
    background: transparent;
    border: 0;
    color: var(--rak-accent);
    cursor: pointer;
    font-size: 2rem;
    line-height: 1;
    position: absolute;
    right: 1rem;
    top: 0.6rem;
}

.rak-booking-form {
    display: grid;
    gap: 0.9rem;
}

.rak-booking-form label {
    color: var(--rak-ink);
    display: grid;
    gap: 0.35rem;
    font-weight: 600;
}

.rak-booking-form input {
    background: #fff !important;
    border: 1px solid var(--rak-line) !important;
    color: var(--rak-ink) !important;
    border-radius: 0.8rem;
    box-shadow: none;
    padding: 0.85rem 1rem;
}

.rak-booking-form input::placeholder {
    color: #94a3b8;
}

.rak-booking-form input:focus {
    border-color: var(--rak-accent) !important;
    box-shadow: 0 0 0 3px rgba(21, 94, 99, 0.14);
    outline: 0;
}

.rak-form-message {
    font-size: 0.92rem;
    font-weight: 700;
    margin: 0;
}

.rak-form-message.is-error {
    color: #b42318;
}

.rak-form-message.is-success {
    color: #166534;
}

@media (max-width: 900px) {
    .rak-calendar-topbar {
        margin-bottom: 0.8rem;
    }

    .rak-calendar-layout {
        grid-template-columns: 1fr;
    }

    .rak-calendar-sidebar {
        margin-bottom: 0;
        position: static;
    }

    .rak-sidebar-group {
        padding: 0;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .rak-calendar-nav,
    .rak-calendar-months,
    .rak-calendar-legend {
        width: 100%;
    }

    .rak-calendar-nav,
    .rak-calendar-months {
        align-items: stretch;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .rak-calendar-legend {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .rak-nav-toggle {
        align-self: flex-start;
    }

    .rak-nav-link,
    .rak-filter {
        justify-content: center;
        text-align: center;
    }
}
        font-size: 1rem;
@media (max-width: 767px) {
    .rak-calendar-shell {
        padding: 0 0.1rem;
    }

    .rak-calendar-title {
        font-size: 1.75rem;
        font-size: 0.86rem;

    .rak-calendar-nav {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .rak-calendar-months {
        display: grid;
        flex-direction: unset;
        gap: 0.6rem;
        grid-template-columns: 1fr 1fr;
        width: 100%;
    }

    .rak-calendar-legend {
        display: grid;
        flex-direction: unset;
        grid-template-columns: 1fr 1fr;
    }

    .rak-filter,
    .rak-nav-link,
    .rak-button {
        min-height: 48px;
        width: 100%;
    }

    .rak-calendar-grid-wrap {
        overflow: visible;
    }

    .rak-calendar-grid {
        gap: 1rem;
        grid-template-columns: 1fr;
        min-width: 0;
    }

    .rak-calendar-head {
        display: none;
    }

    .rak-calendar-day {
        gap: 0.9rem;
        min-height: 0;
        padding: 0.9rem;
    }

    .rak-calendar-day.is-outside-month {
        display: none;
    }

    .rak-day-label {
        align-items: center;
        border-bottom: 1px solid var(--rak-line);
        justify-content: space-between;
        padding-bottom: 0.6rem;
    }

    .rak-day-number {
        font-size: 1.3rem;
    }

    .rak-day-date {
        font-size: 0.78rem;
    }

    .rak-activity-card {
        border-left-width: 4px;
        border-radius: 0.85rem;
        gap: 0.65rem;
        padding: 0.85rem;
    }

    .rak-activity-meta,
    .rak-activity-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .rak-activity-title {
        font-size: 1rem;
    }

    .rak-single-booking-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .rak-activity-location,
    .rak-activity-description,
    .rak-price,
    .rak-remaining,
    .rak-time,
    .rak-single-booking-meta,
    .rak-single-booking-price {
        font-size: 0.9rem;
    }

    .rak-modal {
        align-items: end;
        display: flex;
    }

    .rak-modal-panel {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        left: auto;
        max-width: none;
        top: auto;
        transform: none;
        width: 100%;
    }
}

@media (max-width: 520px) {
    .rak-calendar-months,
    .rak-calendar-legend {
        grid-template-columns: 1fr;
    }

    .rak-list-head,
    .rak-list-row {
        gap: 0.65rem;
    }

    .rak-list-row {
        padding: 0.85rem;
    }

    .rak-list-title {
        font-size: 0.92rem;
    }

    .rak-list-meta,
    .rak-list-description,
    .rak-list-price,
    .rak-list-read-more,
    .rak-list-remaining-value {
        font-size: 0.82rem;
    }

    .rak-modal-panel {
        padding: 1.2rem 1rem 1rem;
    }
}