.hg-weeks-grid {
    display: grid;
    grid-template-columns: repeat(var(--hg-columns-desktop, 5), minmax(0, 1fr));
    gap: 10px;
    margin: 16px 0;
    font-family: inherit;
}
.hg-weeks-grid .hg-week-card {
    min-width: 0;
    border-radius: 10px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 6px rgb(0 0 0 / 4%);
    color: #1e293b;
}
.hg-weeks-grid .is-available {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-top: 4px solid #16a34a;
}
.hg-weeks-grid .is-booked {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-top: 4px solid #dc2626;
}
.hg-week-header { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.hg-week-number { font-size: 1.1rem; font-weight: 700; }
.hg-badge { font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .03em; }
.is-available .hg-badge { background: #dcfce7; color: #166534; }
.is-booked .hg-badge { background: #fee2e2; color: #991b1b; }
.hg-weeks-grid .hg-week-card.is-past { background: #f3f4f6; border-color: #d1d5db; border-top-color: #9ca3af; }
.hg-week-card.is-past .hg-badge { background: #e5e7eb; color: #4b5563; }
.hg-week-dates { font-size: .98rem; font-weight: 500; color: #334155; margin-bottom: 6px; overflow-wrap: anywhere; }
.hg-week-meta { font-size: .85rem; color: #475569; line-height: 1.6; }
.hg-weeks-message { color: #475569; }
.hg-week-filters { border: 0; padding: 0; margin: 20px 0 12px; display: flex; flex-wrap: wrap; gap: 12px 24px; }
.hg-week-filters legend { font-weight: 600; margin-bottom: 12px; }
.hg-week-filters label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.hg-week-filters input { width: 18px; height: 18px; accent-color: var(--hg-green, #243b2f); }
.hg-weeks-grid .hg-week-card[hidden], [data-hg-empty][hidden] { display: none; }
.hg-weeks-grid .is-example { background: #f8fafc; border: 1px dashed #94a3b8; }
.is-example .hg-badge { background: #e2e8f0; color: #475569; }
.hg-week-card small { font-size: .7rem; margin-top: 4px; color: #64748b; }
.hg-week-meta { font-weight: 600; }

@media (max-width: 1100px) {
    .hg-weeks-grid { grid-template-columns: repeat(var(--hg-columns-tablet, 3), minmax(0, 1fr)); }
}
@media (max-width: 700px) {
    .hg-weeks-grid { grid-template-columns: repeat(var(--hg-columns-mobile, 2), minmax(0, 1fr)); }
}
@media (max-width: 480px) {
    .hg-weeks-grid { grid-template-columns: repeat(var(--hg-columns-mobile, 1), minmax(0, 1fr)); }
}

.hg-booking-alert {
    box-sizing: border-box;
    width: min(30rem, calc(100% - 2rem));
    max-height: calc(100% - 2rem);
    padding: clamp(1rem, 4vw, 1.75rem);
    border: 1px solid var(--hg-line, #ddd);
    border-radius: 12px;
    color: var(--hg-green-dark, #243b2f);
    background: #fff;
    box-shadow: 0 12px 36px rgb(0 0 0 / 16%);
}
.hg-booking-alert::backdrop { background: rgb(23 35 28 / 42%); }
.hg-booking-alert h3 { font-size: 1.25rem; margin: 0 0 .65rem; }
.hg-booking-alert p { margin: 0 0 1rem; }
.hg-booking-alert ul { margin: 0 0 1rem 1.2rem; font-size: .9rem; }
.hg-booking-alert button { border-radius: 6px; padding: .55rem .9rem; }
