body {
    font-family: "Inter", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: #102033;
    background:
        radial-gradient(circle at top left, rgba(15, 118, 110, 0.12), transparent 28%),
        radial-gradient(circle at top right, rgba(245, 158, 11, 0.12), transparent 24%),
        linear-gradient(180deg, #f4f8fc 0%, #eef4fb 100%);
}

.astrid-body {
    min-height: 100vh;
}

.astrid-auth {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(15, 118, 110, 0.14), transparent 30%),
        radial-gradient(circle at bottom right, rgba(245, 158, 11, 0.14), transparent 26%),
        linear-gradient(135deg, #eff6ff, #f7fbff 45%, #eef8f6);
}

.landing-modal-open {
    overflow: hidden;
}

.landing-modal {
    position: fixed;
    inset: 0;
    z-index: 70;
}

.landing-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(16, 32, 51, 0.45);
    border: 0;
    width: 100%;
}

.landing-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(32rem, calc(100vw - 2rem));
    margin: 6vh auto 0;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 26px 70px rgba(16, 32, 51, 0.22);
    backdrop-filter: blur(16px);
    padding: 1.5rem;
}

.landing-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    border: 0;
    border-radius: 999px;
    background: #eef2f7;
    color: #102033;
    font-size: 1.5rem;
    line-height: 1;
}

.astrid-shell {
    position: relative;
    display: flex;
    min-height: 100vh;
}

.astrid-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 40;
    width: 18rem;
    padding: 1rem;
    transition: transform 0.28s ease, width 0.28s ease;
}

.astrid-sidebar__panel {
    display: flex;
    height: 100%;
    flex-direction: column;
    gap: 1.5rem;
    border: 1px solid rgba(217, 227, 240, 0.95);
    border-radius: 1.75rem;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 22px 52px rgba(16, 32, 51, 0.12);
    backdrop-filter: blur(18px);
    padding: 1.15rem;
}

.astrid-sidebar__brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.astrid-brandmark {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
}

.astrid-brandmark--logo-only {
    display: flex;
    width: 100%;
    justify-content: center;
}

.astrid-brandmark__badge {
    display: inline-flex;
    height: 2.85rem;
    width: 2.85rem;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: linear-gradient(135deg, #0f766e, #134e4a);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
}

.astrid-brandmark__badge--logo {
    overflow: hidden;
    width: 100%;
    height: auto;
    min-height: 4.5rem;
    border-radius: 1.25rem;
    padding: 0.75rem 0.9rem;
    background: #fff;
    color: inherit;
    box-shadow: 0 10px 24px rgba(16, 32, 51, 0.08);
}

.astrid-brandmark__badge--logo img {
    width: 100%;
    height: 100%;
    max-height: 5.25rem;
    object-fit: contain;
}

.astrid-brandmark__text,
.astrid-usercard__text,
.astrid-nav-section__title,
.astrid-nav-link__label,
.astrid-brandmark__meta {
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.astrid-brandmark__text {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.astrid-brandmark__name {
    font-size: 1rem;
    font-weight: 700;
    color: #102033;
    letter-spacing: 0.02em;
}

.astrid-brandmark__meta {
    color: #5b7089;
    font-size: 0.78rem;
}

.astrid-sidebar__iconbutton,
.astrid-mobile-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.24rem;
    border: 0;
    border-radius: 999px;
    background: rgba(238, 244, 251, 0.95);
    color: #102033;
    cursor: pointer;
    padding: 0.8rem;
}

.astrid-sidebar__iconbutton span,
.astrid-mobile-toggle span {
    display: block;
    width: 1rem;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.astrid-sidebar__sections {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 1rem;
    overflow-y: auto;
    padding-right: 0.2rem;
}

.astrid-nav-section {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.equipment-photo-thumb,
.equipment-photo-preview,
.equipment-select-row__photo {
    display: block;
    object-fit: cover;
    background: #eef4fb;
}

.equipment-photo-thumb,
.equipment-photo-placeholder {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 0.75rem;
}

.equipment-photo-preview {
    width: 10rem;
    height: 7rem;
    border: 1px solid #d9e3f0;
    border-radius: 0.85rem;
}

.equipment-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.equipment-form-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.equipment-photo-field {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: start;
}

.equipment-photo-field__upload {
    min-width: 0;
}

.equipment-option-row {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    align-items: flex-start;
    min-height: 3rem;
}

.equipment-photo-placeholder,
.equipment-select-row__placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eef4fb;
    color: #40556f;
    font-weight: 700;
}

.equipment-select-row {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.equipment-select-row .form-select {
    min-width: 0;
}

.equipment-select-row__photo,
.equipment-select-row__placeholder {
    flex: 0 0 auto;
    width: 4rem;
    height: 4rem;
    border: 1px solid #d9e3f0;
    border-radius: 1rem;
}

.astrid-nav-section__title {
    padding: 0 0.75rem;
    color: #7a8ea5;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.astrid-nav-list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.astrid-nav-link {
    display: flex;
    align-items: center;
    gap: 0.40rem;
    border-radius: 1rem;
    color: var(--astrid-accent, #0f766e);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.25rem 0.25rem;
    text-decoration: none;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.astrid-nav-link:hover {
    background: var(--astrid-mist, #eef4fb);
    color: var(--astrid-accent, #0f766e);
}

.astrid-nav-link.is-active {
    background: var(--astrid-mist, #eef4fb);
    color: var(--astrid-accent, #0f766e);
}

.astrid-nav-link__short {
    display: inline-flex;
    height: 2rem;
    width: 2rem;
    flex: 0 0 2rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.85rem;
    background: rgba(16, 32, 51, 0.06);
    color: inherit;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.astrid-sidebar__footer {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    border-top: 1px solid rgba(217, 227, 240, 0.95);
    padding-top: 1rem;
}

.astrid-locale-form {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.astrid-locale-form__label {
    color: #5b7089;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.astrid-locale-form__select {
    width: 100%;
    border: 1px solid rgba(217, 227, 240, 0.95);
    border-radius: 0.95rem;
    background: #fff;
    color: #102033;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.72rem 0.9rem;
}

.astrid-usercard {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    border: 1px solid transparent;
    border-radius: 1rem;
    color: inherit;
    padding: 0.55rem 0.65rem;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.astrid-usercard:hover {
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(217, 227, 240, 0.95);
    box-shadow: 0 10px 24px rgba(16, 32, 51, 0.08);
    transform: translateY(-1px);
}

.astrid-usercard__avatar {
    display: inline-flex;
    height: 2.65rem;
    width: 2.65rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.9rem;
    background: #102033;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
}

.astrid-usercard__name {
    color: #102033;
    font-size: 0.92rem;
    font-weight: 700;
}

.astrid-usercard__roles {
    color: #5b7089;
    font-size: 0.78rem;
}

.astrid-logout {
    width: 100%;
    border: 1px solid rgba(217, 227, 240, 0.95);
    border-radius: 999px;
    background: #fff;
    color: #102033;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.82rem 1rem;
    transition: border-color 0.18s ease, background-color 0.18s ease;
}

.astrid-logout:hover {
    background: rgba(238, 244, 251, 0.95);
    border-color: rgba(15, 118, 110, 0.35);
}

.astrid-shell__main {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    padding-left: 18rem;
    transition: padding-left 0.28s ease;
}

.astrid-topbar {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 1.25rem 0;
}

.astrid-mobile-toggle {
    display: none;
}

.astrid-topbar__eyebrow {
    color: #7a8ea5;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.astrid-topbar__title {
    color: #102033;
    font-size: 1.15rem;
    font-weight: 700;
}

.astrid-main {
    width: 100%;
    max-width: 1800px;
    padding: 1rem 1.25rem 1.5rem;
}

.astrid-sidebar-overlay {
    display: none;
}

.astrid-shell[data-sidebar-state="collapsed"] .astrid-sidebar {
    width: 6.1rem;
}

.astrid-shell[data-sidebar-state="collapsed"] .astrid-shell__main {
    padding-left: 6.1rem;
}

.astrid-shell[data-sidebar-state="collapsed"] .astrid-sidebar__panel {
    padding-left: 0.7rem;
    padding-right: 0.7rem;
}

.astrid-shell[data-sidebar-state="collapsed"] .astrid-brandmark__text,
.astrid-shell[data-sidebar-state="collapsed"] .astrid-nav-link__label,
.astrid-shell[data-sidebar-state="collapsed"] .astrid-usercard__text,
.astrid-shell[data-sidebar-state="collapsed"] .astrid-logout {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-8px);
}

.astrid-shell[data-sidebar-state="collapsed"] .astrid-sidebar__iconbutton {
    margin-inline: auto;
}

.astrid-shell[data-sidebar-state="collapsed"] .astrid-sidebar__sections {
    gap: 1.15rem;
    padding-right: 0;
}

.astrid-shell[data-sidebar-state="collapsed"] .astrid-nav-section {
    gap: 0.7rem;
    align-items: center;
}

.astrid-shell[data-sidebar-state="collapsed"] .astrid-nav-link {
    justify-content: center;
    width: 3.3rem;
    min-width: 3.3rem;
    min-height: 3.3rem;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 999px;
    box-shadow: none;
    gap: 0;
}

.astrid-shell[data-sidebar-state="collapsed"] .astrid-nav-link:hover {
    background: transparent;
    transform: none;
}

.astrid-shell[data-sidebar-state="collapsed"] .astrid-usercard {
    justify-content: center;
}

.astrid-shell[data-sidebar-state="collapsed"] .astrid-sidebar__footer {
    align-items: center;
}

.astrid-shell[data-sidebar-state="collapsed"] .astrid-nav-link__short {
    height: 3rem;
    width: 100%;
    max-width: 3rem;
    border-radius: 999px;
    background: #eef2f7;
    border: 1px solid transparent;
    color: #50657d;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    box-shadow: none;
}

.astrid-shell[data-sidebar-state="collapsed"] .astrid-nav-link.is-active {
    background: var(--astrid-mist, #eef4fb);
}

.astrid-shell[data-sidebar-state="collapsed"] .astrid-nav-link.is-active .astrid-nav-link__short {
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.18), rgba(15, 118, 110, 0.1));
    color: #24535c;
}

.astrid-shell[data-sidebar-state="collapsed"] .astrid-nav-section__title {
    opacity: 1;
    pointer-events: auto;
    transform: none;
    display: block;
    width: 100%;
    padding: 0;
    text-align: center;
    color: #7b93ae;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.22em;
}

.booking-days-grid {
    display: grid;
    gap: 1rem;
    grid-auto-flow: column;
    grid-auto-columns: minmax(6.75rem, 0.5fr);
    overflow-x: auto;
    padding-bottom: 0.25rem;
}

.booking-day-column {
    display: flex;
    min-width: 0;
    flex-direction: column;
    border: 1px solid rgba(217, 227, 240, 0.95);
    border-radius: 1.4rem;
    background: linear-gradient(180deg, rgba(248, 251, 255, 0.96), rgba(255, 255, 255, 0.96));
    min-height: 100%;
}

.booking-day-column__header {
    border-bottom: 1px solid rgba(217, 227, 240, 0.95);
    padding: 1rem 1rem 0.9rem;
}

.booking-day-column__title {
    color: #102033;
    font-size: 0.95rem;
    font-weight: 700;
}

.booking-day-column__date {
    color: #5b7089;
    font-size: 0.82rem;
    margin-top: 0.15rem;
}

.booking-day-column.is-past-day {
    background: linear-gradient(180deg, rgba(241, 245, 249, 0.98), rgba(248, 250, 252, 0.98));
}

.booking-day-column.is-past-day .booking-day-column__title,
.booking-day-column.is-past-day .booking-day-column__date {
    color: #64748b;
}

.landing-schedule__grid {
    gap: 0.75rem;
}

.landing-schedule .booking-day-column__header {
    padding: 0.85rem 0.85rem 0.75rem;
}

.landing-schedule .booking-day-column__slots {
    gap: 0.5rem;
    padding: 0.85rem;
}

.landing-schedule .booking-slot {
    min-height: 2.2rem;
    padding: 0.38rem 0.62rem;
}

.landing-schedule .booking-slot__time {
    font-size: 0.85rem;
}

.landing-schedule .booking-slot__occupant {
    font-size: 0.62rem;
    letter-spacing: 0.04em;
}

.booking-day-column__slots {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.65rem;
    padding: 1rem;
}

.booking-slot {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    min-height: 2.55rem;
    border: 1px solid transparent;
    border-radius: 1rem;
    color: #102033;
    cursor: pointer;
    padding: 0.45rem 0.75rem;
    text-align: left;
    transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.booking-slot:hover:not(:disabled) {
    box-shadow: 0 14px 26px rgba(16, 32, 51, 0.12);
    transform: translateY(-1px);
}

.booking-slot.is-selected {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-color: #1d4ed8;
    color: #fff;
}

.booking-slot.is-available {
    background: #dcfce7;
    border-color: #86efac;
    color: #14532d;
}

.booking-slot.is-pending {
    background: #fef3c7;
    border-color: #fcd34d;
    color: #854d0e;
}

.booking-slot.is-unavailable {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #991b1b;
    cursor: not-allowed;
}

.booking-slot.is-past {
    background: #e2e8f0;
    border-color: #cbd5e1;
    color: #64748b;
    cursor: not-allowed;
}

.booking-status-badge {
    display: inline-flex;
    align-items: center;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1;
    padding: 0.34rem 0.62rem;
    text-transform: lowercase;
}

.booking-status-badge.is-approved {
    background: #dcfce7;
    border-color: #86efac;
    color: #14532d;
}

.booking-status-badge.is-pending {
    background: #fef3c7;
    border-color: #fcd34d;
    color: #854d0e;
}

.booking-status-badge.is-unavailable {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #991b1b;
}

.booking-status-badge.is-past {
    background: #e2e8f0;
    border-color: #cbd5e1;
    color: #64748b;
}

.booking-review-note {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    border: 1px solid #f59e0b;
    border-radius: 999px;
    background: #fffbeb;
    color: #92400e;
    cursor: help;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1;
}

.booking-review-note::after {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 0.45rem);
    z-index: 30;
    display: none;
    width: max-content;
    max-width: 16rem;
    border-radius: 0.6rem;
    background: #102033;
    box-shadow: 0 12px 28px rgba(16, 32, 51, 0.22);
    color: #fff;
    content: attr(data-review-note);
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.3;
    padding: 0.5rem 0.65rem;
    pointer-events: none;
    text-align: left;
    transform: translateX(-50%);
    white-space: normal;
}

.booking-review-note:hover::after,
.booking-review-note:focus::after {
    display: block;
}

.booking-slot.is-selected,
.booking-slot.is-selected.is-available,
.booking-slot.is-selected.is-pending,
.booking-slot.is-selected.is-unavailable {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-color: #1d4ed8;
    color: #fff;
}

.booking-slot__time {
    font-size: 0.94rem;
    font-weight: 700;
}

.booking-slot--static {
    justify-content: space-between;
    cursor: default;
}

.booking-slot--static:hover {
    transform: none;
    box-shadow: none;
}

.booking-slot__occupant {
    position: relative;
    flex: 0 0 auto;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.36);
    min-width: 1.5rem;
    padding: 0.18rem 0.38rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    opacity: 0.9;
    text-align: center;
    text-transform: uppercase;
}

.booking-slot__occupant::after {
    position: absolute;
    right: 0;
    bottom: calc(100% + 0.45rem);
    z-index: 20;
    display: none;
    width: max-content;
    max-width: 12rem;
    border-radius: 0.55rem;
    background: #102033;
    box-shadow: 0 12px 28px rgba(16, 32, 51, 0.22);
    color: #fff;
    content: attr(data-full-name);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.2;
    padding: 0.42rem 0.58rem;
    pointer-events: none;
    text-transform: none;
    white-space: normal;
}

.booking-slot__occupant:hover::after,
.booking-slot__occupant:focus::after {
    display: block;
}

.booking-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    border: 1px solid rgba(217, 227, 240, 0.95);
    border-radius: 1.25rem;
    background: #f8fbff;
    padding: 0.9rem 1rem;
}

.booking-legend__item {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: #40556f;
    font-size: 0.88rem;
    font-weight: 600;
}

.booking-legend__swatch {
    display: inline-flex;
    width: 1rem;
    height: 1rem;
    border-radius: 999px;
}

.booking-legend__swatch.is-available {
    background: #22c55e;
}

.booking-legend__swatch.is-selected {
    background: #2563eb;
}

.booking-legend__swatch.is-pending {
    background: #f59e0b;
}

.booking-legend__swatch.is-unavailable {
    background: #ef4444;
}

.booking-legend__swatch.is-past {
    background: #94a3b8;
}

.booking-legend__swatch.is-business-hours {
    background: #fde68a;
}

.booking-policy-note {
    border: 1px solid color-mix(in srgb, var(--astrid-signal, #f59e0b) 42%, #fff);
    border-radius: 1rem;
    background: color-mix(in srgb, var(--astrid-signal, #f59e0b) 14%, #fff);
    color: color-mix(in srgb, var(--astrid-signal, #f59e0b) 72%, var(--astrid-ink, #102033));
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.45;
    padding: 0.85rem 1rem;
}

.fluid-calendar-shell {
    overflow-x: auto;
    overflow-y: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    background: #fff;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.fluid-calendar-shell::-webkit-scrollbar {
    display: none;
}

.fluid-calendar {
    --fluid-minute-height: 1.2px;
    position: relative;
    display: grid;
    grid-template-columns: 5rem repeat(7, minmax(50px, 1fr));
    min-width: 20rem;
    user-select: none;
}

.fluid-calendar__corner,
.fluid-calendar__day-header {
    position: sticky;
    top: 0;
    z-index: 8;
    min-height: 5rem;
    border-bottom: 1px solid #e2e8f0;
    background: rgba(255, 255, 255, 0.96);
}

.fluid-calendar__corner {
    left: 0;
    z-index: 10;
    border-right: 1px solid #e2e8f0;
}

.fluid-calendar__day-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.12rem;
    border-right: 1px solid #e2e8f0;
}

.fluid-calendar__day-number {
    color: #102033;
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1;
}

.fluid-calendar__day-name,
.fluid-calendar__day-month {
    color: #40556f;
    font-size: 0.9rem;
    font-weight: 700;
}

.fluid-calendar__day-month {
    font-size: 0.78rem;
}

.fluid-calendar__times,
.fluid-calendar__day {
    position: relative;
    height: calc(1440 * var(--fluid-minute-height));
}

.fluid-calendar__times {
    position: sticky;
    left: 0;
    z-index: 6;
    grid-column: 1;
    grid-row: 2;
    border-right: 1px solid #e2e8f0;
    background: #fff;
}

.fluid-calendar__time {
    position: absolute;
    right: 0.65rem;
    color: #334155;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1;
    transform: translateY(-50%);
    white-space: nowrap;
}

.fluid-calendar__time:first-child {
    margin-top: 0.8rem;
    transform: none;
}

.fluid-calendar__day {
    grid-row: 2;
    border-right: 1px solid #e2e8f0;
    background:
        repeating-linear-gradient(
            to bottom,
            transparent 0,
            transparent calc(30 * var(--fluid-minute-height) - 1px),
            #edf2f7 calc(30 * var(--fluid-minute-height) - 1px),
            #edf2f7 calc(30 * var(--fluid-minute-height))
        );
    cursor: crosshair;
}

.fluid-calendar--readonly .fluid-calendar__day {
    cursor: default;
}

.fluid-calendar__day.is-past-day,
.fluid-calendar__day.is-unavailable-day {
    background-color: #f8fafc;
}

.fluid-calendar__business-hours,
.fluid-calendar__past-time {
    position: absolute;
    right: 0;
    left: 0;
    pointer-events: none;
}

.fluid-calendar__business-hours {
    z-index: 1;
    background: rgba(253, 230, 138, 0.42);
}

.fluid-calendar__past-time {
    z-index: 2;
    background: rgba(148, 163, 184, 0.28);
}

.fluid-calendar__hour-line {
    position: absolute;
    right: 0;
    left: 0;
    z-index: 2;
    border-top: 1px solid #e2e8f0;
    pointer-events: none;
}

.fluid-calendar__event,
.fluid-calendar__selection,
.fluid-calendar__hover {
    position: absolute;
    right: 0.65rem;
    left: 0.65rem;
    z-index: 3;
    border-radius: 0.85rem;
    padding: 0.65rem 0.75rem;
    overflow: hidden;
}

.fluid-calendar__event {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    box-shadow: 0 12px 26px rgba(16, 32, 51, 0.13);
    color: #fff;
    pointer-events: none;
}

.fluid-calendar__event.is-booked {
    background: #ef4444;
}

.fluid-calendar__event.is-pending {
    background: #f59e0b;
    color: #102033;
}

.fluid-calendar__event strong {
    font-size: 0.95rem;
    line-height: 1.2;
}

.fluid-calendar__event span,
.fluid-calendar__event small {
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.25;
}

.fluid-calendar__hover {
    z-index: 12;
    border: 1px solid rgba(16, 32, 51, 0.08);
    background: rgba(16, 32, 51, 0.9);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1;
    padding: 0.45rem 0.6rem;
    pointer-events: none;
    width: max-content;
}

.fluid-calendar__selection {
    z-index: 5;
    min-height: 1.5rem;
    border: 1px solid rgba(29, 78, 216, 0.3);
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    box-shadow: 0 16px 34px rgba(29, 78, 216, 0.26);
    color: #fff;
    pointer-events: none;
}

.fluid-calendar__selection.is-invalid {
    border-color: rgba(220, 38, 38, 0.45);
    background: linear-gradient(135deg, #ef4444, #b91c1c);
    box-shadow: 0 16px 34px rgba(185, 28, 28, 0.22);
}

.fluid-calendar__selection strong,
.fluid-calendar__selection span {
    display: block;
    line-height: 1.25;
}

.fluid-calendar__selection strong {
    font-size: 0.92rem;
}

.fluid-calendar__selection span {
    margin-top: 0.2rem;
    font-size: 0.78rem;
    font-weight: 700;
}

.booking-form-row {
    display: grid;
    gap: 0.9rem;
    align-items: center;
    grid-template-columns: minmax(10rem, 15rem) minmax(0, 1fr);
}

.booking-form-row--textarea {
    align-items: flex-start;
}

.booking-form-row__label {
    color: #102033;
    font-size: 0.95rem;
    font-weight: 600;
}

.booking-form-row__field {
    min-width: 0;
}

.booking-equipment-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(9rem, 13rem);
    gap: 1rem;
    align-items: stretch;
}

.booking-equipment-panel__fields {
    min-width: 0;
}

.booking-equipment-panel__media {
    min-height: 100%;
}

.booking-equipment-panel__photo,
.booking-equipment-panel__placeholder {
    width: 100%;
    height: 100%;
    min-height: 8.25rem;
    border: 1px solid #d9e3f0;
    border-radius: 1.25rem;
    background: #eef4fb;
}

.booking-equipment-panel__photo {
    display: block;
    object-fit: cover;
}

.booking-equipment-panel__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #40556f;
    font-size: 1.6rem;
    font-weight: 700;
}

.booking-week-link {
    display: inline-flex;
    flex-direction: column;
    gap: 0.1rem;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    background: #fff;
    color: #334155;
    padding: 0.7rem 1rem;
    text-decoration: none;
    transition: border-color 0.18s ease, color 0.18s ease, background-color 0.18s ease;
}

.booking-week-link:hover {
    border-color: #0f766e;
    color: #0f766e;
    background: #f8fbff;
}

.booking-week-link--next .booking-week-link__title {
    font-weight: 800;
}

.booking-week-link__title {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.1;
}

.booking-week-link__dates {
    font-size: 0.78rem;
    font-weight: 400;
    line-height: 1.2;
}

.booking-nav-label--mobile,
.booking-nav-dates--mobile {
    display: none;
}

.slot {
    border-radius: 0.5rem;
    padding: 0.45rem 0.6rem;
    margin-bottom: 0.4rem;
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.slot-available {
    background: #f8f9fa;
    border: 1px dashed #ced4da;
}

.slot-past {
    background: #e9ecef;
    border: 1px solid #ced4da;
    color: #6c757d;
}

.slot-approved {
    background: #d1e7dd;
}

.slot-pending_approval {
    background: #fff3cd;
}

.slot-revision_requested,
.slot-rejected,
.slot-cancelled {
    background: #f8d7da;
}

.calendar-day .card-body {
    max-height: 24rem;
    overflow-y: auto;
}

.card,
.table-responsive,
.alert {
    border-radius: 1.25rem;
}

.card {
    border: 1px solid rgba(217, 227, 240, 0.8);
    box-shadow: 0 16px 36px rgba(16, 32, 51, 0.08);
}

.card-header,
.card-body {
    background-clip: padding-box;
}

.table > :not(caption) > * > * {
    padding-top: 0.95rem;
    padding-bottom: 0.95rem;
}

@media (max-width: 1023px) {
    .astrid-sidebar {
        transform: translateX(-100%);
        width: min(19rem, calc(100vw - 1.5rem));
    }

    .astrid-shell__main {
        padding-left: 0;
    }

    .astrid-shell[data-sidebar-mobile="open"] .astrid-sidebar {
        transform: translateX(0);
    }

    .astrid-shell[data-sidebar-mobile="open"] .astrid-sidebar-overlay {
        position: fixed;
        inset: 0;
        z-index: 30;
        display: block;
        background: rgba(16, 32, 51, 0.35);
        border: 0;
    }

    .astrid-mobile-toggle {
        display: inline-flex;
    }

    .astrid-sidebar__iconbutton {
        display: none;
    }

    .astrid-topbar {
        padding: 1rem 1rem 0;
    }

    .astrid-main {
        padding: 1rem 1rem 1.25rem;
    }
}

@media (max-width: 767px) {
    .booking-days-grid {
        display: block;
        overflow-x: visible;
        padding-bottom: 0;
    }

    .booking-day-column {
        width: 100%;
    }

    .booking-day-column.is-mobile-hidden {
        display: none;
    }

    .fluid-calendar {
        grid-template-columns: 4.6rem minmax(0, 1fr);
        min-width: 0;
    }

    .fluid-calendar__day-header.is-mobile-hidden,
    .fluid-calendar__day.is-mobile-hidden {
        display: none;
    }

    .fluid-calendar__day-header {
        grid-column: 2;
    }

    .fluid-calendar__day {
        grid-column: 2;
    }

    .booking-nav-label--desktop,
    .booking-nav-dates--desktop {
        display: none;
    }

    .booking-nav-label--mobile,
    .booking-nav-dates--mobile {
        display: inline;
    }

    .booking-form-row {
        grid-template-columns: 1fr;
        gap: 0.45rem;
    }

    .booking-equipment-panel {
        grid-template-columns: 1fr;
    }

    .booking-equipment-panel__photo,
    .booking-equipment-panel__placeholder {
        height: 10rem;
    }

    .equipment-form-grid,
    .equipment-form-grid--three,
    .equipment-photo-field {
        grid-template-columns: 1fr;
    }

    .equipment-photo-preview {
        width: 100%;
        height: 11rem;
    }
}

@media (min-width: 1280px) {
    .landing-schedule__grid {
        grid-auto-flow: row;
        grid-auto-columns: unset;
        grid-template-columns: repeat(7, minmax(0, 1fr));
        overflow-x: visible;
    }
}
