/*
 * Naturfreunde Reservations – frontend (0.19.3).
 *
 * Deliberately lean: fonts, headings, links, form fields and buttons come from
 * the theme. The plugin only sets the layout and the colours that carry a
 * meaning in the calendar (booked, provisional, closed …).
 *
 * The accent colour is the theme's customizer colour --page_accent_color.
 * Every --nf-* property can be overwritten in the theme; the calendar reads
 * the same properties via public.js.
 */
.nf-public-reservations,
.nf-reservation-summary-slot {
    --nf-accent: var(--page_accent_color, #2271b1);
    --nf-accent-soft: color-mix(in srgb, var(--nf-accent) 20%, transparent);
    --nf-color-border: var(--color-gray, #dcdcde);
    --nf-color-muted: var(--color-text--dark, #50575e);
    --nf-color-error: var(--color-red-2, #b32d2e);
    --nf-color-error-bg: var(--color-lightred-1, #fcf0f1);
    /* Calendar states */
    --nf-color-booked: var(--color-red-1, #d63638);
    --nf-color-requested: var(--color-orange-1, #dba617);
    --nf-color-closed: var(--color-gray--darker, #646970);
    --nf-color-partial: var(--color-lightred-2, #f6e3a1);
    /* Guided flow: house not full, but too few places for the whole group. */
    --nf-color-too-small: #f3c4bf;
    /* Free days green; set to "transparent" to leave them white. */
    --nf-color-free: #084;
    /* Dormitories in the room selection (badge and edge). */
    --nf-color-dormitory: #5b3f8c;
    --nf-color-dormitory-bg: #f4f0fa;
    /* White gap between the days of the calendar (clearer grid). */
    --nf-calendar-gap: 1px;
    --nf-calendar-gap-color: #fff;
    /* Fixed header of the theme: scrolling to a step or the calendar stops
     * this much below the top of the window. */
    --nf-scroll-offset: 110px;
    --nf-color-past: transparent;
    /* Selection in blue so it cannot be mistaken for an occupancy state. */
    --nf-color-selection: var(--color-lightblue-3, #82cadf);
    --nf-color-selection-range: var(--color-lightblue-2, #b6e0ec);
    --nf-color-selection-pending: var(--color-lightblue-1, #eaf6fa);
    --nf-radius: var(--border-radius-medium, 0);
    --nf-radius-small: var(--border-radius-small, 0);
    /* Distance of the sticky summary from the top of the window (sticky menu
     * bar of the theme). */
    --nf-sticky-top: 130px;
}

/* Logged-in users additionally see the WordPress admin bar (32 px). */
.admin-bar .nf-public-reservations,
.admin-bar .nf-reservation-summary-slot {
    --nf-sticky-top: 162px;
}

/* ---------------------------------------------------------------- Layout
 * Selection left, sticky summary right; on small screens the summary sits
 * between the selection and the form. */
.nf-public-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "main" "aside" "form";
    gap: 0 40px;
}

.nf-public-main { grid-area: main; min-width: 0; }
.nf-public-aside { grid-area: aside; min-width: 0; margin-bottom: 40px; }
.nf-public-form-area { grid-area: form; min-width: 0; }

.nf-public-step {
    margin: 0 0 40px;
}

@media (min-width: 960px) {
    .nf-public-layout {
        grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
        grid-template-areas: "main aside" "form aside";
    }

    .nf-public-aside {
        align-self: start;
        position: sticky;
        top: var(--nf-sticky-top);
    }

    /* The summary card shows period, persons and accommodation; the outputs
     * directly below the sections are only needed on small screens. Errors
     * and notices stay visible. */
    .nf-public-reservations .nf-public-selection:not(:has(.is-error)),
    .nf-public-reservations #nf-public-person-summary:not(.is-error),
    .nf-public-reservations #nf-public-resource-summary:not(.is-error):not(.is-notice) {
        display: none;
    }

    /* Summary moved into the theme sidebar: one column for the selection. */
    .nf-public-reservations.nf-summary-external .nf-public-layout {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "main" "form";
    }

    .nf-public-reservations.nf-summary-external .nf-public-aside {
        display: none;
    }
}

/* ---------------------------------------------------------------- Summary card "Ihre Reservation" */
.nf-public-card {
    padding: 20px;
    border-radius: var(--nf-radius);
    background: var(--nf-accent-soft);
}

.nf-public-card > :first-child { margin-top: 0; }
.nf-public-card > :last-child { margin-bottom: 0; }

.nf-public-selection-summary {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 6px 12px;
    margin: 0 0 16px;
}

.nf-public-selection-summary dt { font-weight: 600; }
.nf-public-selection-summary dd { margin: 0; }

/* Summary in the theme sidebar (widget or [nf_reservation_summary]). The
 * widget frame of the theme is neutralised, the card brings its own
 * background. public.js keeps it in view while scrolling (position: fixed;
 * CSS sticky does not work when the sidebar is only as tall as its widgets).
 * Hidden on pages without reservation section and on small screens. */
.nf-reservation-summary-slot[hidden],
.widget:has(> .nf-reservation-summary-slot[hidden]),
.widget:has(> * > .nf-reservation-summary-slot[hidden]) {
    display: none !important;
}

.nf-reservation-summary-widget {
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    box-shadow: none !important;
}

.nf-reservation-summary-slot.is-fixed .nf-public-card {
    position: fixed;
    z-index: 10;
    box-sizing: border-box;
}

/* ---------------------------------------------------------------- Messages below the sections (small screens) */
.nf-public-selection,
.nf-public-summary {
    margin-top: 16px;
}

.nf-public-summary.is-notice,
.nf-public-summary.is-error {
    padding: 10px 14px;
    border-left: 4px solid var(--nf-accent);
    background: var(--nf-accent-soft);
}

.nf-public-summary.is-error {
    border-left-color: var(--nf-color-error);
    background: var(--nf-color-error-bg);
}

.nf-public-selection #nf-public-selected-range.is-error {
    color: var(--nf-color-error);
}

.nf-public-card .nf-public-summary {
    margin-top: 0;
}

/* ---------------------------------------------------------------- Persons and accommodation */
.nf-public-person-grid,
.nf-public-resource-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.nf-public-person-field,
.nf-public-resource-card {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 14px;
    border: 1px solid var(--nf-color-border);
    border-radius: var(--nf-radius);
    box-sizing: border-box;
}

.nf-public-person-field label {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.nf-public-person-field input {
    width: 100%;
    box-sizing: border-box;
}

.nf-public-person-field .nf-public-person-members {
    margin-top: 4px;
    font-size: 0.9em;
}

/* The label holds checkbox and texts; the calendar button is outside of it. */
.nf-public-resource-label {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 7px;
    cursor: pointer;
}

.nf-public-resource-card:has(input:checked) {
    border-color: var(--nf-accent);
    background: var(--nf-accent-soft);
}

.nf-public-resource-card.is-unavailable {
    opacity: 0.65;
}

.nf-public-resource-card.is-unavailable .nf-public-resource-label {
    cursor: not-allowed;
}

.nf-public-resource-card input {
    align-self: flex-start;
}

/* Dormitories (Massenlager/Schlafsaal) stand out from rooms (0.28.0). */
.nf-public-resource-card.is-dormitory {
    border-left: 6px solid var(--nf-color-dormitory);
    background: var(--nf-color-dormitory-bg);
}

.nf-public-resource-card.is-dormitory:has(input:checked) {
    border-color: var(--nf-accent);
    border-left-color: var(--nf-color-dormitory);
    background: var(--nf-accent-soft);
}

.nf-public-resource-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    align-self: flex-start;
    padding: 2px 9px 2px 7px;
    border-radius: 999px;
    background: var(--nf-color-dormitory);
    color: #fff;
    font-size: 0.8em;
    font-weight: 600;
    line-height: 1.5;
}

.nf-public-resource-badge i {
    flex: none;
}

/* Rooms that allow a limited guest category, e.g. "Hunde erlaubt" (0.29.0). */
.nf-public-resource-allowed {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9em;
    font-weight: 600;
    /* Darker than the calendar green: readable (WCAG AA) also on the tinted
     * background of dormitories and selected cards. */
    color: var(--nf-color-allowed, #005c2e);
}

.nf-public-resource-allowed i {
    flex: none;
}

/* Optional preview image of an accommodation (0.20.2). */
.nf-public-resource-image {
    display: block;
    width: 100%;
    height: 110px;
    object-fit: cover;
    border-radius: var(--nf-radius-small, var(--nf-radius));
}

.nf-public-resource-meta,
.nf-public-resource-status {
    font-size: 0.9em;
}

.nf-public-resource-status {
    font-weight: 600;
}

/* Text button "Belegung anzeigen" inside a resource card: looks like a link
 * of the theme. */
.nf-public-resource-show {
    align-self: flex-start;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    font-size: 0.9em;
    text-decoration: underline;
    cursor: pointer;
}

.nf-public-guest-type,
.nf-public-calendar-view {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin: 16px 0;
}

.nf-public-calendar-view {
    margin-top: 0;
}

@media (max-width: 800px) {
    .nf-public-person-grid,
    .nf-public-resource-grid {
        grid-template-columns: 1fr;
    }

    .nf-public-step {
        margin-bottom: 32px;
    }
}

/* ---------------------------------------------------------------- Price */
.nf-public-price-table {
    width: 100%;
    border-collapse: collapse;
}

.nf-public-price-table td,
.nf-public-price-table th {
    padding: 6px 0;
    border-bottom: 1px solid var(--nf-color-border);
    vertical-align: top;
}

.nf-public-price-table .nf-public-price-amount {
    padding-left: 16px;
    text-align: right;
    white-space: nowrap;
}

.nf-public-price-detail {
    display: block;
    font-size: 0.85em;
    color: var(--nf-color-muted);
}

.nf-public-price-table .nf-public-price-total td,
.nf-public-price-table .nf-public-price-total th {
    font-weight: 700;
    border-bottom: 2px solid currentColor;
}

/* ---------------------------------------------------------------- Calendar
 * FullCalendar v7: classes and variables are set on the documented day-cell
 * element by dayCellDidMount. Every day is split diagonally into a morning
 * half (until check-out) and an afternoon half (from check-in);
 * reservation-calendar.js sets --nf-day-am / --nf-day-pm. */
.nf-public-calendar {
    min-height: 320px;
}

.nf-public-calendar .fc {
    --fc-border-color: var(--nf-color-border);
}

.nf-public-calendar .nf-public-past-day {
    background-color: var(--nf-color-past) !important;
    cursor: not-allowed;
    opacity: 0.45;
}

.nf-public-calendar .nf-public-blocked-day {
    cursor: not-allowed;
}

.nf-public-calendar .nf-public-painted {
    background: linear-gradient(135deg, var(--nf-day-am, transparent) 0 50%, var(--nf-day-pm, transparent) 50% 100%) !important;
}

/* Clearer grid: a white gap around every day (inset ring above the day
 * colour), no thin grey lines. */
.nf-public-calendar .fc {
    --fc-border-color: var(--nf-calendar-gap-color);
}

.nf-public-calendar [role="gridcell"][data-date] {
    box-shadow: inset 0 0 0 var(--nf-calendar-gap) var(--nf-calendar-gap-color);
}

/* Day numbers: bold, a bit larger and always black or white so they stay
 * readable on every state colour. FullCalendar v7 uses generated class names,
 * hence the structural selector (first child of the day cell = number row). */
.nf-public-calendar [role="gridcell"][data-date] > :first-child {
    font-weight: 700;
    font-size: 1.1em;
}

.nf-public-calendar .nf-public-painted {
    color: #000 !important;
}

/* Half or light days: black number with a white halo. */
.nf-public-calendar .nf-public-painted:not(.nf-public-painted-dark) {
    text-shadow: 0 0 2px #fff, 0 0 3px #fff, 0 0 4px #fff;
}

/* Fully dark days (booked, provisional, closed, selection edges): white. */
.nf-public-calendar .nf-public-painted-dark {
    color: #fff !important;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.45);
}

/* Hover: selectable days get a blue frame and a pointer, so it is clear
 * that they can be clicked. Not on past, fully blocked or foreign-month days. */
@media (hover: hover) {
    .nf-public-calendar [role="gridcell"][data-date]:not(.nf-public-past-day):not(.nf-public-blocked-day):not(.nf-public-other-month) {
        cursor: pointer;
    }

    .nf-public-calendar [role="gridcell"][data-date]:not(.nf-public-past-day):not(.nf-public-blocked-day):not(.nf-public-other-month):hover {
        box-shadow: inset 0 0 0 var(--nf-calendar-gap) var(--nf-calendar-gap-color), inset 0 0 0 calc(var(--nf-calendar-gap) + 3px) var(--nf-color-selection) !important;
        background-color: var(--nf-color-selection-pending);
    }
}

/* Two-click selection: pending first click. */
.nf-public-calendar .nf-public-range-start-pending {
    box-shadow: inset 0 0 0 var(--nf-calendar-gap) var(--nf-calendar-gap-color), inset 0 0 0 calc(var(--nf-calendar-gap) + 2px) var(--nf-color-selection) !important;
}

.nf-public-calendar .nf-public-range-start-pending:not(.nf-public-painted) {
    background-color: var(--nf-color-selection-pending) !important;
}

/* Days of neighbouring months inside a month grid. */
.nf-public-calendar .nf-public-other-month {
    background: transparent !important;
    cursor: default;
    pointer-events: none;
}

.nf-public-calendar .nf-public-other-month > * {
    visibility: hidden;
}

/* Free places of capacity resources in the resource view (data attribute, no
 * foreign nodes in FullCalendar's DOM). */
.nf-public-calendar [data-nf-badge] {
    position: relative;
}

.nf-public-calendar [data-nf-badge]::after {
    content: attr(data-nf-badge);
    position: absolute;
    left: 4px;
    bottom: 3px;
    padding: 0 4px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.9);
    color: #000;
    font-size: 0.72em;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    text-shadow: none;
}

/* Legend */
.nf-public-calendar-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    margin-top: 12px;
    font-size: 0.9em;
}

.nf-public-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nf-public-legend-swatch {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 1px solid var(--nf-color-border);
    background: linear-gradient(135deg, var(--nf-day-am, transparent) 0 50%, var(--nf-day-pm, transparent) 50% 100%);
}

.nf-public-legend-note {
    flex-basis: 100%;
    margin: 4px 0 0;
    color: var(--nf-color-muted);
}

/* Confirmation page [nf_reservation_confirmation] (0.21.0). */
.nf-public-confirmation-list {
    display: grid;
    grid-template-columns: minmax(140px, max-content) 1fr;
    gap: 6px 16px;
    margin: 0 0 24px;
}

.nf-public-confirmation-list dt {
    font-weight: 600;
}

.nf-public-confirmation-list dd {
    margin: 0;
}

@media (max-width: 600px) {
    .nf-public-confirmation-list {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .nf-public-confirmation-list dd {
        margin-bottom: 8px;
    }
}


/* ---------------------------------------------------------------- Guided flow (0.23.0)
 * House setting "Schritt für Schritt": persons, period, rooms, form one after
 * another. Done steps collapse to one line with "ändern". */
.nf-flow-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.8em;
    height: 1.8em;
    margin-right: 0.35em;
    border-radius: 50%;
    background: var(--nf-accent);
    color: #fff;
    font-size: 0.8em;
    line-height: 1;
    vertical-align: middle;
}

.nf-flow-step {
    margin: 0 0 24px;
}

/* Number and title of a step vertically centred. */
.nf-flow-steps .nf-public-step > h2,
.nf-flow-summary-title {
    display: flex;
    align-items: center;
    gap: 0.45em;
}

.nf-flow-steps .nf-public-step > h2 .nf-flow-number,
.nf-flow-summary-title .nf-flow-number {
    flex: 0 0 auto;
    margin-right: 0;
}

/* Scrolling to a step or the calendar keeps it below the fixed header. */
.nf-public-reservations [data-nf-step],
.nf-public-reservations .nf-public-calendar,
.nf-public-reservations .nf-public-step {
    scroll-margin-top: var(--nf-scroll-offset);
}

.nf-flow-step.is-open {
    margin-bottom: 40px;
}

.nf-flow-step .nf-public-step {
    margin-bottom: 24px;
}

.nf-flow-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 16px;
    padding: 12px 16px;
    border-left: 4px solid var(--nf-accent);
    background: var(--nf-accent-soft);
    border-radius: var(--nf-radius-small);
}

.nf-flow-summary[hidden],
.nf-flow-body[hidden],
.nf-flow-step[hidden],
.nf-flow-steps .nf-public-form-area[hidden] {
    display: none;
}

.nf-flow-summary-title {
    font-weight: 700;
}

.nf-flow-summary-text {
    flex: 1 1 200px;
}

.nf-flow-change {
    margin-left: auto;
}

.nf-flow-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.nf-flow-actions .nf-flow-message {
    flex: 1 1 260px;
    margin: 0;
}

/* Buttons of the guided flow: the theme does not style plain <button>
 * elements, so they get the accent colour here (overridable via --nf-*). */
.nf-public-reservations .nf-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 24px;
    border: 2px solid var(--nf-accent);
    border-radius: var(--nf-radius-small);
    background: var(--nf-accent);
    color: #fff;
    font: inherit;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.nf-public-reservations .nf-button:hover,
.nf-public-reservations .nf-button:focus-visible {
    background: color-mix(in srgb, var(--nf-accent) 82%, #000);
    border-color: color-mix(in srgb, var(--nf-accent) 82%, #000);
    color: #fff;
}

.nf-public-reservations .nf-button:focus-visible {
    outline: 2px solid var(--nf-accent);
    outline-offset: 2px;
}

.nf-public-reservations .nf-button-secondary {
    min-height: 36px;
    padding: 6px 16px;
    background: #fff;
    color: var(--nf-accent);
    font-weight: 600;
}

.nf-public-reservations .nf-button-secondary:hover,
.nf-public-reservations .nf-button-secondary:focus-visible {
    background: var(--nf-accent);
    border-color: var(--nf-accent);
    color: #fff;
}

/* Guided flow: type of group and membership side by side. */
.nf-flow-options {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px 24px;
    margin: 24px 0 0;
}

@media (min-width: 600px) {
    .nf-flow-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.nf-flow-options .nf-public-guest-type,
.nf-flow-options .nf-public-membership,
.nf-flow-options .nf-public-membership label {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 6px;
    margin: 0;
}

.nf-flow-options .nf-public-guest-type label {
    display: block;
    margin: 0;
    text-align: left;
}

.nf-flow-options select {
    width: 100%;
    margin: 0;
}

.nf-flow-actions {
    margin-top: 16px;
}


/* ---------------------------------------------------------------- Keyboard (0.25.2)
 * Days of the calendar can be reached with Tab and moved with the arrow
 * keys; the focused day gets a clear frame. */
.nf-public-calendar [role="gridcell"]:focus {
    outline: none;
}

.nf-public-calendar [role="gridcell"]:focus-visible {
    outline: 3px solid var(--nf-color-focus, #1d2327);
    outline-offset: -3px;
    /* Two colours (0.37.0): dark frame outside, white ring inside – visible
     * on light and on dark days (closed days: 2.87:1 before). */
    box-shadow: inset 0 0 0 6px #fff !important;
    position: relative;
    z-index: 1;
}

.nf-public-reservations h2[tabindex="-1"]:focus {
    outline: none;
}


/* ---------------------------------------------------------------- Time slots (0.26.0)
 * Day guests in houses with time slots choose "ganztags" or single slots. */
.nf-public-slots fieldset {
    margin: 12px 0 0;
    padding: 12px 16px;
    border: 1px solid var(--nf-color-border);
    border-radius: var(--nf-radius-small, 4px);
}

.nf-public-slots legend {
    padding: 0 4px;
    font-weight: 700;
}

.nf-public-slot {
    display: block;
    margin: 4px 0;
}

.nf-public-slots-hint {
    margin: 8px 0 0;
    color: var(--nf-color-muted);
}

.nf-public-slots-hint.is-error {
    color: var(--nf-color-error);
}

/* Days with day guests in some time slots: small bar at the bottom. */
.nf-public-calendar .nf-public-day-use {
    position: relative;
}

.nf-public-calendar .nf-public-day-use::before {
    content: "";
    position: absolute;
    left: 4px;
    right: 4px;
    bottom: 3px;
    height: 4px;
    border-radius: 2px;
    background: var(--nf-color-day-use, var(--nf-color-booked));
    pointer-events: none;
}

.nf-public-legend-day-use .nf-public-legend-swatch {
    position: relative;
}

.nf-public-legend-day-use .nf-public-legend-swatch::before {
    content: "";
    position: absolute;
    left: 2px;
    right: 2px;
    bottom: 2px;
    height: 3px;
    border-radius: 2px;
    background: var(--nf-color-day-use, var(--nf-color-booked));
}


/* ---------------------------------------------------------------- 0.37.0
 * Text only for screen readers. */
.nf-sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Loading error of the calendar with "Erneut versuchen". */
.nf-public-calendar-status {
    margin: 0 0 12px;
    padding: 10px 14px;
    border-left: 4px solid #d63638;
    background: #fcf0f1;
    color: #1d2327;
}

.nf-public-calendar-status button {
    margin-left: 8px;
}

.nf-public-calendar[aria-busy="true"] {
    cursor: progress;
}

/* Price table: labels are row headers now (th), they keep the look of cells. */
.nf-public-price-table th {
    font-weight: inherit;
    text-align: left;
}

.nf-public-price-table .nf-public-price-total th {
    font-weight: 700;
}

/* Reduced motion: no transitions. */
@media (prefers-reduced-motion: reduce) {
    .nf-public-reservations *,
    .nf-public-reservations *::before,
    .nf-public-reservations *::after {
        transition: none !important;
        animation: none !important;
        scroll-behavior: auto !important;
    }
}

/* Windows contrast mode: the colour gradients would disappear and with them
 * every state. The day cells and legend keep their colours, past and blocked
 * days are struck through in addition, the focus uses the system colour. */
@media (forced-colors: active) {
    .nf-public-calendar [role="gridcell"][data-date],
    .nf-public-legend-swatch {
        forced-color-adjust: none;
    }

    .nf-public-calendar .nf-public-blocked-day,
    .nf-public-calendar .nf-public-past-day {
        text-decoration: line-through;
    }

    .nf-public-calendar [role="gridcell"]:focus-visible {
        outline-color: Highlight;
    }

    .nf-public-calendar .nf-public-range-day,
    .nf-public-calendar .nf-public-range-start-pending {
        outline: 2px solid Highlight;
        outline-offset: -2px;
    }
}
