/* Generated from frontend/css/pages/booking-plan.css by scripts/build_frontend.mjs. */
.course-picker {
    min-width: 0;
    position: relative;
}

.course-picker__suggestions {
    background: var(--fb-color-surface, #fff);
    border: 1px solid var(--public-line);
    border-radius: 0.75rem;
    box-shadow: 0 0.75rem 2rem rgb(16 43 34 / 12%);
    margin-top: 0.5rem;
    overflow: hidden;
}

.course-picker__options {
    list-style: none;
    margin: 0;
    max-height: 19rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0.25rem;
}

.course-picker__option {
    border: 2px solid transparent;
    border-radius: 0.5rem;
    cursor: pointer;
    min-height: 3rem;
    padding: 0.625rem 0.75rem;
}

.course-picker__option + .course-picker__option {
    margin-top: 0.125rem;
}

.course-picker__option:hover,
.course-picker__option[aria-selected="true"] {
    background: var(--public-soft);
    border-color: var(--public-green);
}

.course-picker__option strong,
.course-picker__option span {
    display: block;
    overflow-wrap: anywhere;
}

.course-picker__option strong {
    color: var(--public-ink);
    font-size: 0.9375rem;
    line-height: 1.4;
}

.course-picker__option span {
    color: var(--public-muted);
    font-size: 0.8125rem;
    line-height: 1.45;
    margin-top: 0.2rem;
}

.course-picker__note,
.course-picker__help {
    color: var(--public-muted);
    font-size: 0.8125rem;
    line-height: 1.5;
    margin: 0;
    overflow-wrap: anywhere;
}

.course-picker__note {
    border-top: 1px solid var(--public-line);
    padding: 0.625rem 0.875rem;
}

.course-picker__help {
    margin-top: 0.5rem;
}

@media (forced-colors: active) {
    .course-picker__option[aria-selected="true"] {
        border-color: Highlight;
    }
}/* Native details keeps its keyboard and focus behavior. Older browsers retain
   the same disclosure without motion when intrinsic-size transitions are absent. */
@supports (interpolate-size: allow-keywords) and selector(details::details-content) {
    @media (prefers-reduced-motion: no-preference) {
        .landing-faq__list details,
        .plan-partner-disclosure {
            interpolate-size: allow-keywords;
        }

        .landing-faq__list details::details-content,
        .plan-partner-disclosure::details-content {
            block-size: 0;
            opacity: 0;
            overflow: clip;

            /* Exclude closing inputs from Tab order before geometry settles. */
            visibility: hidden;
            transition:
                block-size var(--fb-duration-normal) var(--fb-ease-standard),
                opacity var(--fb-duration-fast) var(--fb-ease-standard),
                content-visibility var(--fb-duration-normal) allow-discrete;
        }

        .landing-faq__list details[open]::details-content,
        .plan-partner-disclosure[open]::details-content {
            block-size: auto;
            opacity: 1;
            visibility: visible;
        }
    }
}

.plan-frame { width: min(1160px, 100%); margin: 0 auto; padding: 28px 24px 60px; }
.plan-heading { max-width: 700px; margin-bottom: 36px; }
.plan-eyebrow { color: var(--fb-color-evergreen); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.plan-heading h1 { margin: 14px 0 20px; font-family: var(--fb-font-display); font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 400; line-height: 1.06; letter-spacing: -.04em; }
.plan-heading h1 em { color: var(--fb-color-evergreen); font-weight: 400; }
.plan-heading > p:last-child { max-width: 620px; color: var(--fb-color-muted); font-size: 1.0625rem; line-height: 1.7; }
.plan-layout { display: grid; grid-template-columns: 1.2fr 1fr; align-items: start; gap: 28px; }

/* Keep text contrast stable as autosave enables and disables the actions. */
.plan-layout .fb-button { transition: none; }
.plan-editor { min-width: 0; padding: 30px; background: var(--fb-color-surface); border: 1px solid var(--fb-color-border); border-radius: 18px; }
.plan-section-title { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.plan-section-title span { color: var(--fb-color-muted); font-size: .75rem; }
.plan-section-title h2 { margin: 0; font-size: 1.2rem; }
.plan-section-title--group { margin-top: 32px; }
.plan-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.plan-section-title + .plan-fields { margin-top: 0; margin-bottom: 24px; }
.plan-timing { border: 1px solid var(--fb-color-border); border-radius: 12px; padding: 16px 18px; margin-top: 24px; background: var(--fb-color-sage); }
.plan-timing h3 { font-size: 1rem; margin: 8px 0; }
.plan-timing p { color: var(--fb-color-muted); font-size: .8125rem; line-height: 1.65; margin: 0; }
.plan-fields > *, .plan-editor .fb-field, .plan-summary { min-width: 0; }
.plan-editor input, .plan-editor select { width: 100%; max-width: 100%; min-width: 0; min-height: 48px; }
.plan-editor .fb-field__control[readonly] { color: var(--fb-color-ink); }
.plan-editor select { overflow: hidden; text-overflow: ellipsis; }
.plan-window { min-width: 0; border: 0; margin: 28px 0 0; padding: 0; }
.plan-window legend { font-weight: 600; }
.plan-window > p { color: var(--fb-color-muted); margin: 8px 0 0; font-size: .875rem; }
.plan-window .plan-fields { margin-top: 14px; }
.plan-partners { margin-top: 20px; display: grid; gap: 16px; }
.plan-optional { color: var(--fb-color-muted); font-size: .75rem; font-weight: 400; }
.plan-save-row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; border-top: 1px solid var(--fb-color-border); margin-top: 28px; padding-top: 22px; }
.plan-save-row span { color: var(--fb-color-muted); font-size: .8125rem; }
.plan-summary { position: sticky; top: 24px; border: 1px solid var(--fb-color-border); border-radius: 18px; padding: 30px; background: #eef3ed; }
.plan-summary-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.plan-draft-badge { border: 1px solid #c4d0c3; color: #38533c; padding: 5px 8px; border-radius: 5px; font-size: .6875rem; }
.plan-summary h2 { font-family: var(--fb-font-display); font-size: clamp(1.8rem, 3vw, 2.3rem); font-weight: 400; letter-spacing: -.035em; line-height: 1.15; margin: 28px 0 18px; }
.plan-preview-course { font-size: 1rem; font-weight: 600; overflow-wrap: anywhere; }
.plan-preview-time { display: flex; flex-direction: column; gap: 8px; margin: 28px 0; }
.plan-preview-time strong { font-family: var(--fb-font-display); font-size: 3rem; font-weight: 400; }
.plan-preview-time span { font-size: .875rem; color: var(--fb-color-muted); }
.plan-preview-details { margin: 0; display: grid; gap: 18px; }
.plan-preview-details > div { display: grid; grid-template-columns: 1fr 1.1fr; gap: 12px; border-bottom: 1px solid #d6dfd4; padding-bottom: 15px; font-size: .8125rem; line-height: 1.5; }
.plan-preview-details dt { color: var(--fb-color-muted); }
.plan-preview-details dd { margin: 0; text-align: right; font-weight: 600; }
.plan-release-note, .plan-next-step p, .plan-footnote { color: var(--fb-color-muted); font-size: .8125rem; line-height: 1.65; }
.plan-release-note { margin: 18px 0 26px; }
.plan-next-step { border-top: 1px solid #d6dfd4; padding-top: 22px; }
.plan-next-step > span { color: var(--fb-color-muted); font-size: .6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.plan-next-step h3 { font-size: 1.0625rem; margin: 10px 0; }
.plan-continue { width: 100%; margin-top: 16px; white-space: normal; text-align: center; }
.plan-footnote { text-align: center; font-size: .6875rem; margin-bottom: 0; }
.plan-notice { padding: 16px 20px; background: var(--fb-color-sage); border: 1px solid var(--fb-color-border); border-radius: 10px; margin-bottom: 24px; line-height: 1.6; }
.plan-notice--error { background: var(--fb-color-danger-bg); color: var(--fb-color-danger); border-color: var(--fb-color-danger); }
.plan-progress { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 0; margin: 0 0 28px; list-style: none; }
.plan-progress li { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 12px; border: 1px solid var(--fb-color-border); border-radius: 10px; font-size: .8125rem; line-height: 1.4; }
.plan-progress li > span { flex: 0 0 auto; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--fb-color-sage); color: var(--fb-color-evergreen); font-weight: 700; }
.plan-progress small { display: block; margin-top: 3px; color: var(--fb-color-muted); font-size: .6875rem; }
.plan-progress [aria-current="step"] { border-color: var(--fb-color-evergreen); }
.plan-progress [data-complete="true"] small { color: var(--fb-color-success); }
.plan-course-support { border-left: 3px solid var(--fb-color-evergreen); padding: 12px 14px; margin-top: 16px; background: var(--fb-color-sage); font-size: .8125rem; line-height: 1.6; overflow-wrap: anywhere; }
.plan-course-support p { margin: 6px 0 0; color: var(--fb-color-muted); }
.plan-course-support a, .plan-expired a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--fb-color-evergreen); font-weight: 600; }
.plan-expired p { margin: 6px 0 0; }
.plan-expired[hidden], .plan-course-support[hidden], .plan-course-support a[hidden] { display: none; }
.plan-confirm { display: flex; align-items: start; gap: 10px; margin-top: 12px; font-size: .875rem; line-height: 1.6; }
.plan-confirm input { width: 20px; min-height: 20px; margin-top: 3px; flex-shrink: 0; }

@media (width <= 800px) {
    .plan-progress { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .plan-layout { grid-template-columns: 1fr; }
    .plan-summary { position: static; }
    .plan-heading { margin-bottom: 26px; }
}

@media (width <= 440px) {
    .plan-frame { padding: 16px 16px 40px; }
    .plan-editor, .plan-summary { padding: 22px 18px; }
    .plan-fields { gap: 16px; grid-template-columns: 1fr; }
    .plan-editor .fb-field__label { font-size: .8125rem; }
    .plan-heading h1 { font-size: 2.75rem; }
}

.plan-signout { color: var(--fb-color-muted); background: transparent; border: 0; padding: 8px; font: inherit; cursor: pointer; text-decoration: underline; }

.plan-account-label { color: var(--fb-color-muted); font-size: .8125rem; margin: 0 0 24px; overflow-wrap: anywhere; }

.fb-plan-page .fb-auth-footer nav { flex-wrap: wrap; justify-content: center; gap: 12px 24px; }

.fb-plan-page .fb-auth-footer a { min-height: 44px; display: inline-flex; align-items: center; }

.fb-plan-page { --public-line: var(--fb-color-border); --public-soft: var(--fb-color-sage); --public-green: var(--fb-color-evergreen); --public-ink: var(--fb-color-ink); --public-muted: var(--fb-color-muted); }
.plan-partner-disclosure { border-top: 1px solid var(--fb-color-border); margin-top: 20px; }
.plan-partner-disclosure > summary { display: flex; align-items: center; gap: 8px; min-height: 52px; cursor: pointer; font-size: .875rem; font-weight: 600; list-style: none; }
.plan-partner-disclosure > summary::-webkit-details-marker { display: none; }
.plan-partner-disclosure > summary span { font-size: .6875rem; color: var(--fb-color-muted); font-weight: 400; margin-left: auto; }
.plan-partner-disclosure > summary svg { flex-shrink: 0; }
.plan-partner-disclosure[open] > summary svg { transform: rotate(180deg); }
.plan-partner-directory { margin-bottom: 16px; }
.plan-partner-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.plan-partner-tools p { flex: 1 1 180px; margin: 0; }
.plan-partner-notice { border-left: 3px solid var(--fb-color-evergreen); padding: 10px 12px; background: var(--fb-color-sage); font-size: .8125rem; line-height: 1.6; }
.plan-partner-notice[hidden] { display: none; }
.plan-save-status { display: grid; grid-template-columns: 1rem minmax(0, 1fr); align-items: start; gap: 6px; color: var(--fb-color-muted); font-size: .8125rem; line-height: 1.5; min-height: 4.5em; margin: 14px 0 0; }
.plan-save-status[data-state="saved"] { color: var(--fb-color-success); }
.plan-save-status[data-state="error"] { color: var(--fb-color-danger); }
.plan-save-status__check { width: 1rem; height: 1rem; margin-top: .125rem; opacity: 0; transform: scale(.8); }
.plan-save-status[data-state="saved"] .plan-save-status__check { opacity: 1; transform: scale(1); transition: opacity var(--fb-duration-fast) var(--fb-ease-standard), transform var(--fb-duration-normal) var(--fb-ease-standard); }
.plan-save-status__text--updated { animation: plan-save-status-swap var(--fb-duration-fast) var(--fb-ease-standard); }

@keyframes plan-save-status-swap {
    /* Status text must retain its full contrast throughout the swap. */
    from { transform: translateY(3px); }
    to { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .plan-save-status__text--updated { animation: none; }
    .plan-save-status[data-state="saved"] .plan-save-status__check { transition: none; }
}

.plan-reload { display: inline-flex; align-items: center; min-height: 44px; color: var(--fb-color-evergreen); font-weight: 600; }
.plan-reload[hidden] { display: none; }
.plan-mobile-bar { display: none; }
.plan-editor input[type="date"], .plan-editor input[type="time"] { font-size: 1rem; padding-inline: 12px; }
.plan-editor input[type="date"] { scroll-margin-top: 60px; }

/* Keep the next step reachable when the summary is taller than the window. */
@media (width <= 800px), (height <= 900px) {
    .fb-plan-page { padding-bottom: 84px; }
    .plan-mobile-bar { position: fixed; z-index: 20; bottom: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 16px max(10px, env(safe-area-inset-bottom)); border-top: 1px solid var(--fb-color-border); background: var(--fb-color-canvas); box-shadow: 0 -4px 20px rgb(20 32 25 / 5%); }
    .plan-mobile-bar > div { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
    .plan-mobile-bar strong { font-size: .8125rem; overflow-wrap: anywhere; }
    .plan-mobile-bar a { font-size: .75rem; color: var(--fb-color-evergreen); min-height: 24px; }
    .plan-mobile-bar .fb-button { flex: 0 1 auto; min-height: 44px; width: auto; white-space: normal; text-align: center; }
    .plan-mobile-bar--keyboard { display: none; }
    .plan-summary { position: static; }
    html:has(.fb-plan-page) { scroll-padding-bottom: 100px; }
}

@media (width > 800px) and (height <= 900px) {
    .fb-plan-page .fb-auth-main { padding-block: 16px 24px; }
    .plan-frame { padding-block: 12px 32px; }
    .plan-heading { max-width: none; margin-bottom: 24px; }
    .plan-heading h1 { font-size: clamp(2.25rem, 4vw, 3rem); margin-block: 8px 12px; }
    .plan-heading > p:last-child { max-width: 48rem; margin-bottom: 0; }
    .plan-heading h1 br { display: none; }
    .plan-heading h1 em::before { content: " "; }
    .plan-editor, .plan-summary { padding: 24px; }
    .plan-mobile-bar { left: 50%; right: auto; bottom: 12px; transform: translateX(-50%); width: calc(100% - 64px); max-width: 1112px; border: 1px solid var(--fb-color-border); border-radius: 12px; }
}

@media (width <= 800px) {
    .fb-plan-page .fb-auth-main { padding-inline: 0; }
    .plan-frame { padding-top: 12px; }
    .plan-heading h1 { font-size: clamp(2.15rem, 7vw, 3rem); margin: 10px 0 14px; }
    .plan-heading > p:last-child { font-size: .9375rem; line-height: 1.6; }
    .plan-heading { margin-bottom: 22px; }
    .plan-summary { padding: 24px; }
    .plan-summary h2 { font-size: 1.65rem; margin: 18px 0 12px; scroll-margin-top: 20px; }
    .plan-preview-time { margin: 20px 0; }
    .plan-preview-time strong { font-size: 2.25rem; }
    .plan-preview-details > div { padding-bottom: 10px; }
}

@media (width <= 440px) {
    .plan-editor, .plan-summary { padding: 20px 16px; }
    .plan-window .plan-fields { grid-template-columns: 1fr 1fr; gap: 12px; }
    .plan-window .fb-field__label { line-height: 1.45; }
    .plan-window select { font-size: .875rem; padding-inline: 9px; }
    .plan-partner-disclosure > summary { flex-wrap: nowrap; }
}

@media (width < 1200px) {
    .fb-plan-page[data-app-page] .plan-mobile-bar { bottom: calc(var(--fb-mobile-nav-height) + var(--fb-safe-bottom)); left: 0; right: 0; width: auto; max-width: none; transform: none; border-radius: 0; padding-bottom: 10px; }
    .fb-plan-page[data-app-page] .plan-frame { padding-bottom: 100px; }
}

@media (width >= 1200px) and (height <= 900px) {
    .fb-plan-page[data-app-page] .plan-mobile-bar { left: calc(var(--fb-sidebar-width) + (100% - var(--fb-sidebar-width)) / 2); width: calc(100% - var(--fb-sidebar-width) - 64px); }
}
