/* App-local skin for the shared booking entry point; structure remains plugin-owned. */
.appointments-panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.5rem 2.5rem;
    align-items: center;
    width: min(calc(100% - 2.5rem), var(--lcd-max-width));
    margin: var(--lcd-section-gap) auto 0;
    overflow: hidden;
    padding: clamp(2rem, 4vw, 3.5rem);
    color: var(--lcd-ink-soft);
    background:
        radial-gradient(circle at 100% 0, var(--lcd-sky-a12), transparent 34%),
        var(--lcd-surface);
    border: 1px solid var(--lcd-border);
    border-radius: var(--lcd-radius-xl);
    box-shadow: var(--lcd-shadow);
}

.appointments-panel::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 0.25rem;
    background: var(--lcd-orange-a35);
}

.appointments-panel__content {
    position: relative;
    display: grid;
    gap: 0.65rem;
}

.appointments-panel__kicker {
    color: var(--lcd-sky-dark);
    font-family: var(--motif-font-label);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.appointments-panel h2 {
    max-width: 18ch;
    color: var(--lcd-ink);
    font-size: clamp(1.8rem, 3.4vw, 3rem);
    text-wrap: balance;
}

.appointments-panel__content > p {
    max-width: 58ch;
    color: var(--lcd-ink-muted);
    line-height: 1.7;
}

.appointments-panel__button {
    grid-row: 1;
    grid-column: 2;
    display: inline-flex;
    min-height: var(--layout-control-min-height);
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.45rem;
    color: var(--motif-button-primary-text);
    background: linear-gradient(135deg, var(--lcd-orange), var(--lcd-orange-highlight));
    border-radius: var(--motif-radius-pill);
    box-shadow: 0 12px 28px var(--lcd-orange-a25);
    font-family: var(--motif-font-button);
    font-size: 0.95rem;
    font-weight: 800;
    text-align: center;
}

.appointments-panel__button:hover,
.appointments-panel__button:focus-visible {
    color: var(--motif-button-primary-text);
    background: linear-gradient(135deg, var(--lcd-orange), var(--lcd-orange-highlight));
    box-shadow: 0 18px 40px var(--lcd-orange-a35);
    transform: translateY(-2px);
}

@media (max-width: 760px) {
    .appointments-panel {
        grid-template-columns: 1fr;
        width: min(calc(100% - 1.1rem), var(--lcd-max-width));
        padding: 1.75rem 1.35rem;
        border-radius: var(--lcd-radius-lg);
    }

    .appointments-panel__button {
        grid-row: auto;
        grid-column: auto;
        width: 100%;
    }
}
