:root {
    --prog-brand: #5b5cf0;
    --prog-brand-dark: #4338ca;
    --prog-accent: #06b6d4;
    --prog-text: #111827;
    --prog-muted: #6b7280;
    --prog-bg: #f4f7ff;
    --prog-card: #ffffff;
    --prog-radius: 18px;
    --prog-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; }

.prog-public-body {
    margin: 0;
    font-family: "Source Sans 3", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: var(--prog-text);
    background: linear-gradient(180deg, var(--prog-bg) 0%, #eef2fb 100%);
    overflow-x: hidden;
}

.prog-topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.prog-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    gap: 1rem;
}

.prog-brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    line-height: 0;
}

.prog-brand img {
    display: block;
    height: 36px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.prog-topnav {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.prog-topnav a {
    color: var(--prog-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}

.prog-topnav .prog-nav-site {
    font-weight: 700;
    border: 1px solid #cbd5e1;
    color: var(--prog-text);
    background: #fff;
    white-space: nowrap;
}

.prog-topnav .prog-nav-site:hover {
    background: #f8fafc;
    color: var(--prog-text);
}

.prog-topnav .prog-nav-cauta {
    font-weight: 700;
    white-space: nowrap;
}

.prog-public-body.prog-nav-cauta-only .prog-topbar__inner {
    justify-content: flex-end;
}

/* Footer promo (acelasi ca calendar.php / app.css) */
@keyframes app-footer-enter {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

.prog-public-body .app-footer {
    margin-top: 2rem;
    padding: 1.5rem 0 1.75rem;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    background: transparent;
}

.prog-public-body .footer-card {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    padding: 1.15rem 1.25rem 1.2rem;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.06);
    animation: app-footer-enter 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.08s forwards;
}

.prog-public-body .footer-line1 {
    margin: 0 0 0.35rem;
    font-size: 0.875rem;
    color: #64748b;
}

.prog-public-body .footer-brand { font-weight: 500; color: #475569; }

.prog-public-body .footer-line2 {
    margin: 0 0 0.95rem;
    font-size: 0.875rem;
    color: #475569;
}

.prog-public-body .footer-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.55rem 1.35rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    color: #fff !important;
    border-radius: 10px;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 42%, #2563eb 100%);
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.22);
}

.prog-public-body .footer-button:hover {
    color: #fff !important;
    transform: translateY(-2px);
}

@media (max-width: 767px) {
    .prog-public-body .footer-card { padding: 0.85rem 1rem; }
    .prog-public-body .footer-button { width: 100%; }
}

.prog-main { padding-bottom: 5rem; }

.prog-biz-page {
    padding-top: 0.75rem;
    padding-bottom: 2rem;
}

body.prog-has-sticky-cta .prog-main {
    padding-bottom: calc(6.5rem + env(safe-area-inset-bottom));
}

body.prog-drawer-open {
    overflow: hidden;
}

.prog-hero {
    padding: 2rem 0 1.5rem;
}

.prog-hero h1 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 0.75rem;
}

.prog-hero p {
    color: var(--prog-muted);
    max-width: 42rem;
    margin-bottom: 1.25rem;
}

.prog-search-hero {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: var(--prog-card);
    padding: 1rem;
    border-radius: var(--prog-radius);
    box-shadow: var(--prog-shadow);
}

.prog-search-hero input {
    width: 100%;
    border: 1px solid #dbe3f0;
    border-radius: 14px;
    padding: 0.95rem 1rem;
    font-size: 16px;
    min-height: 52px;
}

.prog-search-hero .btn {
    min-height: 52px;
    border-radius: 14px;
    font-weight: 700;
}

.prog-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.prog-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #dbe3f0;
    color: var(--prog-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.prog-section {
    padding: 1.5rem 0;
}

.prog-section h2 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.prog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .prog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
    .prog-grid--3 { grid-template-columns: repeat(3, 1fr); }
    .prog-search-hero { flex-direction: row; align-items: stretch; }
    .prog-search-hero input { flex: 1; }
    .prog-search-hero .btn { width: auto; min-width: 140px; }
}

.prog-card {
    background: var(--prog-card);
    border-radius: var(--prog-radius);
    box-shadow: var(--prog-shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 1rem;
    border: 1px solid rgba(15, 23, 42, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.prog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}

.prog-card__head {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
}

.prog-card__head-text {
    flex: 1;
    min-width: 0;
}

.prog-card__media {
    flex-shrink: 0;
    text-decoration: none;
}

.prog-card__media img,
.prog-card__placeholder {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--prog-brand), var(--prog-accent));
    color: #fff;
    font-size: 1rem;
}

.prog-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    width: 100%;
}

.prog-card__title {
    font-size: 1rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.25;
}

.prog-card__title a { color: inherit; text-decoration: none; }
.prog-card__title a:hover { color: var(--prog-brand); }

.prog-card__meta {
    color: var(--prog-muted);
    font-size: 0.8125rem;
    margin: 0.15rem 0 0;
    line-height: 1.35;
}

.prog-card__rating {
    margin: 0;
    font-size: 0.8125rem;
    color: #b45309;
    font-weight: 600;
}

.prog-card__rating .bi { color: #f59e0b; margin-right: 0.15rem; }

.prog-card__services {
    color: var(--prog-muted);
    font-size: 0.8125rem;
    margin: 0;
    line-height: 1.45;
}

.prog-card__footer {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-top: 0.35rem;
    padding-top: 0.65rem;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.prog-card__footer-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.75rem;
}

.prog-card__status {
    color: #059669;
    font-weight: 600;
    font-size: 0.8125rem;
    margin: 0;
}

.prog-card__status--slot strong { font-weight: 700; }

.prog-card__price {
    font-size: 0.8125rem;
    color: var(--prog-muted);
    margin: 0;
    font-weight: 600;
}

.prog-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    padding: 0.6rem 1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--prog-brand), #3b82f6);
    color: #fff !important;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    border: none;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.22);
    transition: background 0.15s, box-shadow 0.15s, transform 0.15s;
}

.prog-card__cta:hover {
    background: linear-gradient(135deg, var(--prog-brand-dark), #2563eb);
    color: #fff !important;
    box-shadow: 0 8px 22px rgba(37, 99, 235, 0.28);
    transform: translateY(-1px);
}

.prog-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    width: 100%;
}

.prog-card__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-height: 44px;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    border: 1px solid var(--prog-border, #e2e8f0);
    background: #fff;
    color: var(--prog-text, #0f172a) !important;
    font-weight: 600;
    font-size: 0.8125rem;
    text-decoration: none;
    transition: border-color 0.15s, background 0.15s;
}

.prog-card__link:hover {
    border-color: var(--prog-brand, #2563eb);
    background: #f8faff;
    color: var(--prog-brand, #2563eb) !important;
}

.prog-card__actions .prog-card__cta {
    flex: 1.4;
    width: auto;
}

.prog-card--compact {
    padding: 0.85rem;
}

.prog-card--compact .prog-card__title { font-size: 0.9375rem; }

.prog-steps { display: grid; gap: 0.75rem; }
.prog-step {
    background: #fff;
    border-radius: 14px;
    padding: 1rem;
    box-shadow: var(--prog-shadow);
}

.prog-faq details {
    background: #fff;
    border-radius: 14px;
    padding: 0.85rem 1rem;
    margin-bottom: 0.5rem;
    box-shadow: var(--prog-shadow);
}

.prog-faq summary { font-weight: 700; cursor: pointer; }

.prog-breadcrumb {
    font-size: 0.9rem;
    color: var(--prog-muted);
    margin-bottom: 1rem;
}

.prog-breadcrumb a { color: var(--prog-brand-dark); text-decoration: none; }

/* Business page */
.prog-biz-hero {
    background: linear-gradient(135deg, #5b5cf0, #7c3aed 55%, #2563eb);
    color: #fff;
    border-radius: 24px;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--prog-shadow);
}

.prog-biz-hero h1 { font-size: clamp(1.4rem, 4vw, 2rem); font-weight: 800; }

.prog-biz-meta { opacity: 0.95; font-size: 0.95rem; }

.prog-biz-info-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.35rem 0.5rem;
    font-size: 0.95rem;
}

.prog-biz-info-row > .bi { flex-shrink: 0; margin-top: 0.15rem; }

.prog-biz-maps-link {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.prog-biz-maps-cta a {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 700;
    text-decoration: none;
}

.prog-biz-maps-cta a:hover { text-decoration: underline; }

.prog-hours { margin-top: 0.35rem; }

.prog-hours__toggle {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 0.4rem;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
    touch-action: manipulation;
}

.prog-hours__toggle .bi-clock { margin-right: 0.15rem; }

.prog-hours__status.is-open { color: #bbf7d0; font-weight: 800; }

.prog-hours__status.is-closed { color: #fecaca; font-weight: 700; }

.prog-hours__sep { opacity: 0.85; }

.prog-hours__detail { opacity: 0.95; }

.prog-hours__chevron {
    margin-left: auto;
    transition: transform 0.2s ease;
}

.prog-hours__toggle[aria-expanded="true"] .prog-hours__chevron {
    transform: rotate(180deg);
}

.prog-hours__panel {
    margin: 0.5rem 0 0 1.35rem;
    padding: 0.5rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.prog-hours__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.prog-hours__list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.35rem 0;
    font-size: 0.9rem;
}

.prog-hours__list li.is-today {
    font-weight: 800;
}

.prog-hours__day { opacity: 0.95; }

.prog-hours__time { text-align: right; }

.prog-section--booking {
    scroll-margin-top: 5rem;
}

.prog-section__title {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
}

.prog-section__lead {
    color: var(--prog-muted);
    margin-bottom: 1rem;
}

.prog-biz-hero__cta {
    margin-top: 1rem;
    width: 100%;
    min-height: 48px;
    font-weight: 700;
    border-radius: 14px;
}

.prog-service-card,
.prog-spec-card {
    background: #fff;
    border-radius: 16px;
    padding: 1rem;
    box-shadow: var(--prog-shadow);
    margin-bottom: 0.75rem;
}

.prog-service-card--info,
.prog-spec-card--info {
    padding: 0.85rem 1rem;
}

/* Booking wizard — mobile first */
.prog-wizard {
    width: 100%;
    max-width: 100%;
    margin: 0;
    background: #fff;
    border-radius: 20px;
    padding: 1rem;
    box-shadow: var(--prog-shadow);
}

.prog-wizard__label {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--prog-muted);
    margin: 0 0 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.prog-wizard__back {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 0;
    background: transparent;
    color: var(--prog-brand-dark);
    font-weight: 700;
    font-size: 1rem;
    padding: 0.5rem 0;
    margin-bottom: 0.75rem;
    min-height: 44px;
    cursor: pointer;
}

.prog-wizard__back[hidden] {
    display: none !important;
}

.prog-wizard-steps {
    display: flex;
    gap: 0.35rem;
    margin-bottom: 1rem;
}

.prog-wizard-step {
    flex: 1;
    height: 5px;
    border-radius: 4px;
    background: #dbe3f0;
}

.prog-wizard-step.is-done { background: var(--prog-brand); }
.prog-wizard-step.is-current { background: var(--prog-accent); }

.prog-panel { display: none; }
.prog-panel.is-active {
    display: block;
    animation: progPanelIn 0.25s ease;
}

@keyframes progPanelIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.prog-panel__heading {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 0.85rem;
}

.prog-panel__hint {
    color: var(--prog-muted);
    font-size: 0.95rem;
    margin: -0.5rem 0 0.75rem;
}

.prog-choice-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.prog-choice-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border: 2px solid transparent;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.prog-choice-card.is-selected {
    border-color: var(--prog-brand);
    box-shadow: 0 0 0 1px rgba(91, 92, 240, 0.2);
}

.prog-choice-card--btn {
    width: 100%;
    text-align: left;
    cursor: pointer;
    font: inherit;
}

.prog-choice-card--btn.is-selected,
.prog-choice-card--btn:focus-visible {
    border-color: var(--prog-brand);
    outline: none;
}

.prog-choice-card__title {
    display: block;
    font-size: 1.05rem;
    font-weight: 800;
}

.prog-choice-card__desc {
    color: var(--prog-muted);
    font-size: 0.92rem;
    margin: 0.2rem 0 0;
}

.prog-choice-card__meta {
    color: var(--prog-muted);
    font-size: 0.9rem;
    margin: 0;
}

.prog-touch-btn {
    width: 100%;
    min-height: 48px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
}

.prog-slot-days {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0.15rem 0 0.5rem;
    margin: 0 -0.25rem;
    scroll-snap-type: x mandatory;
}

.prog-slot-day {
    flex: 0 0 auto;
    min-width: 76px;
    min-height: 56px;
    border: 2px solid #dbe3f0;
    background: #fff;
    border-radius: 14px;
    padding: 0.6rem 0.75rem;
    text-align: center;
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    scroll-snap-align: start;
    touch-action: manipulation;
}

.prog-slot-day.is-active {
    border-color: var(--prog-brand);
    background: rgba(91, 92, 240, 0.12);
    color: var(--prog-brand-dark);
}

.prog-slot-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.prog-slot-btn {
    min-height: 52px;
    border-radius: 12px;
    border: 2px solid #dbe3f0;
    background: #fff;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    touch-action: manipulation;
}

.prog-slot-btn.is-selected {
    background: var(--prog-brand);
    border-color: var(--prog-brand);
    color: #fff;
}

.prog-slot-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.prog-slot-loading,
.prog-slot-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--prog-muted);
    padding: 1rem 0.5rem;
    margin: 0;
}

.prog-slot-empty--error {
    color: #b91c1c;
}

.prog-spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid #cbd5e1;
    border-top-color: var(--prog-brand);
    border-radius: 50%;
    animation: progSpin 0.7s linear infinite;
    vertical-align: middle;
    margin-right: 0.35rem;
}

@keyframes progSpin {
    to { transform: rotate(360deg); }
}

.prog-form-control {
    min-height: 52px;
    font-size: 16px;
    border-radius: 12px;
    padding: 0.75rem 1rem;
}

.prog-booking-form textarea.prog-form-control {
    min-height: 88px;
}

.prog-gdpr-check .form-check-input {
    width: 1.2rem;
    height: 1.2rem;
    margin-top: 0.15rem;
}

.prog-gdpr-check .form-check-label {
    font-size: 0.92rem;
    line-height: 1.45;
    padding-left: 0.25rem;
}

.prog-summary-card {
    background: linear-gradient(135deg, rgba(91, 92, 240, 0.08), rgba(6, 182, 212, 0.08));
    border: 1px solid rgba(91, 92, 240, 0.2);
    border-radius: 14px;
    padding: 0.85rem 1rem;
    margin-bottom: 1rem;
}

.prog-summary-card__title {
    font-weight: 800;
    font-size: 0.95rem;
    margin: 0 0 0.5rem;
}

.prog-summary-card__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.prog-summary-card__list li {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.35rem 0;
    font-size: 0.95rem;
}

.prog-summary-card__list span {
    color: var(--prog-muted);
}

.prog-sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -8px 30px rgba(15, 23, 42, 0.1);
    backdrop-filter: blur(8px);
}

.prog-sticky-cta .btn {
    width: 100%;
    min-height: 54px;
    border-radius: 14px;
    font-weight: 800;
    font-size: 1.02rem;
    touch-action: manipulation;
}

.prog-sticky-cta .btn:disabled {
    opacity: 0.55;
}

.prog-sticky-cta .btn.is-loading {
    pointer-events: none;
    opacity: 0.85;
}

.prog-btn-confirm {
    background: #16a34a !important;
    border-color: #15803d !important;
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 800;
    min-height: 54px;
    border-radius: 14px;
}

.prog-btn-confirm:hover,
.prog-btn-confirm:focus {
    background: #15803d !important;
    border-color: #166534 !important;
    color: #fff !important;
}

.prog-btn-confirm:disabled {
    background: #86efac !important;
    border-color: #86efac !important;
}

.prog-sticky-cta .btn.prog-btn-confirm {
    width: 100%;
}

.prog-wizard--step-form .prog-btn-confirm.d-md-inline-flex {
    display: none !important;
}

@media (min-width: 768px) {
    .prog-wizard--step-form .prog-btn-confirm[data-prog-submit-inline] {
        display: inline-flex !important;
    }
}

.prog-steps--numbered {
    padding-left: 1.25rem;
    margin: 0;
}

.prog-steps--numbered li {
    margin-bottom: 0.45rem;
}

/* Confirmare rezervare */
.prog-confirm-page {
    max-width: 480px;
    margin: 0 auto;
    padding: 1.5rem 0 2rem;
}

.prog-confirm-card {
    background: #fff;
    border-radius: 20px;
    padding: 1.25rem;
    box-shadow: var(--prog-shadow);
    margin-bottom: 1rem;
}

.prog-confirm-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.15);
    color: #059669;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.prog-confirm-actions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.prog-confirm-actions .btn {
    min-height: 52px;
    border-radius: 14px;
    font-weight: 700;
    width: 100%;
}

@media (min-width: 400px) {
    .prog-slot-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    .prog-wizard {
        max-width: 520px;
        margin: 0 auto;
    }

    .prog-choice-card:not(.prog-choice-card--btn) {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .prog-touch-btn {
        width: auto;
        min-width: 120px;
    }

    .prog-slot-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .prog-confirm-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .prog-confirm-actions .btn {
        width: auto;
        flex: 1;
        min-width: 140px;
    }
}

.prog-filter-drawer {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 120;
    background: #fff;
    border-radius: 20px 20px 0 0;
    padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom));
    box-shadow: 0 -20px 50px rgba(0,0,0,.15);
    transform: translateY(110%);
    transition: transform 0.3s ease;
}
.prog-filter-drawer.is-open { transform: translateY(0); }

.prog-alert-migration {
    background: #fff7ed;
    border: 1px solid #fdba74;
    border-radius: 14px;
    padding: 1rem;
    margin: 1rem 0;
}

.prog-footer {
    margin-top: 2rem;
    padding: 2rem 0;
    border-top: 1px solid rgba(148, 163, 184, 0.3);
    color: var(--prog-muted);
}

@media (prefers-reduced-motion: reduce) {
    .prog-card:hover { transform: none; }
    .prog-filter-drawer { transition: none; }
    .prog-panel.is-active { animation: none; }
    .prog-spinner { animation: none; }
}

@media (max-width: 767px) {
    .prog-topnav a:not(.btn) {
        font-size: 0.88rem;
    }

    .prog-biz-hero {
        padding: 1.15rem;
        border-radius: 18px;
    }

    .prog-breadcrumb {
        font-size: 0.82rem;
        line-height: 1.4;
    }
}
