/* ===== MY-FAMILY.CSS — Dashboard + inline card styles ===== */

/* Age insight card (appears after entering DOB) */
.mf-age-insight {
    margin-top: 0.75rem;
    padding: 0.85rem 1rem;
    background: var(--white);
    border-left: 3px solid var(--pool);
    font-size: 0.82rem;
    color: var(--charcoal);
    line-height: 1.65;
    animation: mf-fade-in 0.3s ease;
}
.mf-age-insight strong {
    color: var(--black);
}
@keyframes mf-fade-in {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Child entry rows */
.mf-child-entry {
    padding: 1rem 0;
    margin-bottom: 0;
    position: relative;
    border-bottom: 1px solid var(--rule);
}
.mf-child-entry:last-child {
    border-bottom: none;
}
.mf-child-entry__row {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
}
.mf-child-entry__field {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.mf-child-entry__field label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray);
}
.mf-child-entry__field input {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.92rem;
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--rule);
    color: var(--charcoal);
    background: var(--white);
    outline: none;
    transition: border-color 0.15s;
}
.mf-child-entry__field input:focus {
    border-color: var(--pool-deep);
}
.mf-child-entry__remove {
    position: absolute;
    top: 0.75rem;
    right: 0;
    background: none;
    border: none;
    color: var(--light-gray);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.25rem;
    line-height: 1;
}
.mf-child-entry__remove:hover {
    color: #DC2626;
}
.mf-add-child {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--pool-deep);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.75rem 0 0.25rem;
}
.mf-add-child:hover {
    text-decoration: underline;
}

/* Situation select */
.mf-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}
.mf-option {
    padding: 1rem 1.25rem;
    border: 1.5px solid var(--rule);
    background: var(--white);
    cursor: pointer;
    transition: all 0.15s;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.mf-option:hover {
    border-color: var(--pool-deep);
}
.mf-option.selected {
    border-color: var(--pool);
    background: rgba(7, 105, 95, 0.04);
}
.mf-option__radio {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid var(--rule);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.15s;
}
.mf-option.selected .mf-option__radio {
    border-color: var(--pool);
}
.mf-option.selected .mf-option__radio::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--pool);
}
.mf-option__label {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--charcoal);
}

/* Follow-up questions (conditional) */
.mf-followup {
    display: none;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--rule);
}
.mf-followup.visible {
    display: block;
}
.mf-field {
    margin-bottom: 1.25rem;
}
.mf-field label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray);
    margin-bottom: 0.4rem;
}
.mf-field select,
.mf-field input[type="date"] {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.92rem;
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--rule);
    color: var(--charcoal);
    background: var(--white);
    width: 100%;
    outline: none;
    transition: border-color 0.15s;
}
.mf-field select:focus,
.mf-field input[type="date"]:focus {
    border-color: var(--pool-deep);
}
.mf-field .mf-hint {
    font-size: 0.75rem;
    color: var(--light-gray);
    margin-top: 0.3rem;
}

/* Priority pills */
.mf-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}
.mf-pill {
    padding: 0.55rem 1rem;
    border: 1.5px solid var(--rule);
    background: var(--white);
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--charcoal);
    cursor: pointer;
    transition: all 0.15s;
    user-select: none;
}
.mf-pill:hover {
    border-color: var(--pool-deep);
}
.mf-pill.selected {
    border-color: var(--pool);
    background: var(--pool);
    color: var(--white);
}
.mf-pill-limit {
    font-size: 0.75rem;
    color: var(--light-gray);
    margin-bottom: 1.5rem;
}

/* Card actions */
.mf-btn {
    padding: 0.75rem 2rem;
    font-family: 'Inter', -apple-system, sans-serif;
    font-weight: 700;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}
.mf-btn--primary {
    background: var(--pool);
    color: var(--white);
}
.mf-btn--primary:hover {
    background: var(--black);
}
.mf-btn--primary:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}
.mf-btn--primary:disabled:hover {
    background: var(--pool);
}
.mf-btn--secondary {
    background: none;
    border: 1px solid var(--rule);
    color: var(--gray);
}
.mf-btn--secondary:hover {
    border-color: var(--charcoal);
    color: var(--charcoal);
}

/* ===== DASHBOARD ===== */
.mf-dash {
    max-width: 680px;
    margin: 0 auto;
    padding: 3rem 2rem 4rem;
}
.mf-dash__header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 2.5rem;
}
.mf-dash__header h1 {
    font-family: 'DM Serif Display', Georgia, serif;
    font-weight: 400;
    font-size: 2rem;
    color: var(--black);
}
.mf-dash__edit {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--pool-deep);
    cursor: pointer;
    background: none;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.mf-dash__edit:hover {
    text-decoration: underline;
}

/* Section headers */
.mf-section {
    margin-bottom: 2.5rem;
}
.mf-section__label {
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--pool-deep);
    margin-bottom: 1rem;
}

/* Child cards on dashboard */
.mf-child-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
.mf-child-card {
    flex: 1;
    min-width: 200px;
    padding: 1.25rem;
    border: 1px solid var(--rule);
    background: var(--cream);
}
.mf-child-card__name {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.15rem;
    color: var(--black);
    margin-bottom: 0.25rem;
}
.mf-child-card__age {
    font-size: 0.82rem;
    color: var(--gray);
}
.mf-child-card__situation {
    font-size: 0.78rem;
    color: var(--light-gray);
    margin-top: 0.5rem;
}

/* ===== TIMELINE ===== */
.mf-timeline {
    position: relative;
    padding-left: 2rem;
}
.mf-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 9px;
    bottom: 0;
    width: 2px;
    background: var(--rule);
}
.mf-milestone {
    position: relative;
    padding-bottom: 2rem;
}
.mf-milestone:last-child {
    padding-bottom: 0;
}
.mf-milestone__dot {
    position: absolute;
    left: -2rem;
    top: 0.15rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--rule);
    background: var(--white);
    z-index: 1;
}
.mf-milestone.past .mf-milestone__dot {
    border-color: var(--light-gray);
    background: var(--light-gray);
}
.mf-milestone.current .mf-milestone__dot {
    border-color: var(--pool);
    background: var(--pool);
}
.mf-milestone.future .mf-milestone__dot {
    border-color: var(--rule);
    background: var(--white);
}
.mf-milestone__label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.15rem;
}
.mf-milestone.past .mf-milestone__label {
    color: var(--light-gray);
}
.mf-milestone.current .mf-milestone__label {
    color: var(--pool-deep);
}
.mf-milestone.future .mf-milestone__label {
    color: var(--light-gray);
}
.mf-milestone__date {
    font-size: 0.78rem;
    color: var(--gray);
    margin-bottom: 0.25rem;
}
.mf-milestone__desc {
    font-size: 0.85rem;
    color: var(--charcoal);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}
.mf-milestone__actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.mf-milestone__link {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--pool-deep);
    text-decoration: none;
}
.mf-milestone__link:hover {
    text-decoration: underline;
}
.mf-milestone__cal {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--gray);
    background: none;
    border: 1px solid var(--rule);
    padding: 0.35rem 0.65rem;
    cursor: pointer;
    transition: border-color 0.15s;
}
.mf-milestone__cal:hover {
    border-color: var(--charcoal);
}

/* Overdue banner */
.mf-overdue {
    padding: 0.85rem 1.25rem;
    background: #FEF2F2;
    border-left: 3px solid #DC2626;
    margin-bottom: 1.5rem;
    font-size: 0.82rem;
    color: #991B1B;
}

/* TBD state */
.mf-tbd {
    padding: 1.25rem;
    background: var(--cream);
    border-left: 3px solid var(--pool);
    margin-bottom: 0;
}
.mf-tbd__title {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--black);
    margin-bottom: 0.5rem;
}
.mf-tbd__desc {
    font-size: 0.82rem;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 0;
}
.mf-tbd__btn {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--pool-deep);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
}

/* ===== GUIDANCE CARD ===== */
.mf-guidance {
    padding: 1.5rem;
    border: 1px solid var(--rule);
    background: var(--cream);
}
.mf-guidance__stage {
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--pool-deep);
    margin-bottom: 0.5rem;
}
.mf-guidance__title {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.2rem;
    color: var(--black);
    margin-bottom: 0.5rem;
}
.mf-guidance__body {
    font-size: 0.85rem;
    color: var(--charcoal);
    line-height: 1.7;
    margin-bottom: 1rem;
}
.mf-guidance__links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.mf-guidance__link {
    display: inline-block;
    padding: 0.55rem 1.25rem;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-decoration: none;
    transition: all 0.15s;
}
.mf-guidance__link--primary {
    background: var(--pool);
    color: var(--white);
}
.mf-guidance__link--primary:hover {
    background: var(--black);
    text-decoration: none;
}
.mf-guidance__link--secondary {
    border: 1px solid var(--rule);
    color: var(--charcoal);
    background: var(--white);
}
.mf-guidance__link--secondary:hover {
    border-color: var(--charcoal);
    text-decoration: none;
}

/* ===== PRIORITIES SECTION ===== */
.mf-priorities {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.mf-priority-pill {
    padding: 0.45rem 0.85rem;
    background: rgba(7, 105, 95, 0.08);
    color: var(--pool-deep);
    font-size: 0.75rem;
    font-weight: 600;
}
.mf-recommendation {
    padding: 1rem 1.25rem;
    background: var(--cream);
    border-left: 3px solid var(--pool);
    font-size: 0.85rem;
    color: var(--charcoal);
    line-height: 1.6;
}

/* ===== AGE-OUT EMAIL DRAFT ===== */
.mf-email-draft {
    padding: 1.25rem;
    background: var(--cream);
    border: 1px solid var(--rule);
    margin-top: 0;
    margin-bottom: 1.5rem;
}
.mf-email-draft__subject {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gray);
    margin-bottom: 0.5rem;
}
.mf-email-draft__body {
    font-size: 0.85rem;
    color: var(--charcoal);
    line-height: 1.7;
    white-space: pre-line;
    margin-bottom: 1rem;
}
.mf-email-draft__copy {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--pool-deep);
    background: none;
    border: 1px solid var(--pool-deep);
    padding: 0.5rem 1.25rem;
    cursor: pointer;
    transition: all 0.15s;
}
.mf-email-draft__copy:hover {
    background: var(--pool);
    color: var(--white);
}
.mf-email-draft__copy--primary {
    background: var(--pool);
    color: var(--white);
    border: none;
    padding: 0.65rem 1.5rem;
    font-size: 0.75rem;
}
.mf-email-draft__copy--primary:hover {
    background: var(--black);
}

/* Secondary "already know the date?" */
.mf-tbd-secondary {
    font-size: 0.82rem;
    color: var(--gray);
    margin-top: 1.25rem;
    margin-bottom: 1.5rem;
}
.mf-tbd__btn--link {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--pool-deep);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
}

/* ===== LOADING ===== */
.mf-loading {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--gray);
    font-size: 0.88rem;
}

/* ===== NOTIFICATION CTA (non-logged-in dashboard) ===== */
.mf-notify-cta {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--cream);
    border: 1px solid var(--rule);
    text-align: center;
}
.mf-notify-cta__title {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.3rem;
    color: var(--black);
    margin-bottom: 0.5rem;
}
.mf-notify-cta__desc {
    font-size: 0.88rem;
    color: var(--gray);
    margin-bottom: 0.75rem;
}
.mf-notify-cta__list {
    list-style: none;
    padding: 0;
    margin: 0 auto 1.25rem;
    display: inline-block;
    text-align: left;
}
.mf-notify-cta__list li {
    font-size: 0.85rem;
    color: var(--charcoal);
    padding: 0.3rem 0;
    padding-left: 1.25rem;
    position: relative;
}
.mf-notify-cta__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 6px;
    height: 6px;
    background: var(--pool);
    border-radius: 50%;
}
.mf-notify-cta__btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: var(--pool);
    color: var(--white);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: background 0.2s;
}
.mf-notify-cta__btn:hover {
    background: var(--black);
    text-decoration: none;
}
.mf-notify-cta__sub {
    margin-top: 0.75rem;
    font-size: 0.75rem;
    color: var(--light-gray);
}

/* ===== READINESS CARD ===== */
.mf-readiness {
    padding: 1.75rem 1.5rem 1.5rem;
    background: var(--cream);
    border: 1px solid var(--rule);
    border-left: 4px solid var(--pool);
    margin-bottom: 2.5rem;
}
.mf-readiness--complete {
    border-left-color: var(--rule);
}

/* ===== READINESS GAUGE ===== */
.mf-gauge {
    text-align: center;
    padding: 0.5rem 0 0;
}
.mf-gauge svg {
    display: block;
    margin: 0 auto;
}
.mf-gauge__score {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 2.8rem;
    font-weight: 400;
    color: var(--black);
    margin-top: -0.25rem;
    line-height: 1;
}
.mf-gauge__of {
    font-size: 0.78rem;
    font-weight: 400;
    color: var(--light-gray);
    margin-top: 0.15rem;
}
.mf-gauge__label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gray);
    margin-top: 0.25rem;
}

/* ===== NEXT ACTIONS ===== */
.mf-next-actions {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--rule);
}
.mf-next-actions__title {
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--pool-deep);
    margin-bottom: 0.5rem;
}
.mf-next-actions__list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.mf-next-actions__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 0.75rem;
    margin: 0 -0.75rem;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s;
    cursor: pointer;
    min-height: 44px;
}
.mf-next-actions__item:hover {
    background: rgba(7, 105, 95, 0.05);
    text-decoration: none;
}
.mf-next-actions__item + .mf-next-actions__item {
    border-top: 1px solid var(--rule);
}
.mf-next-actions__label {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--charcoal);
}
.mf-next-actions__right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    color: var(--pool-deep);
}
.mf-next-actions__pts {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--pool-deep);
    background: rgba(7, 105, 95, 0.1);
    padding: 0.3rem 0.65rem;
    white-space: nowrap;
}
.mf-next-actions__done {
    font-size: 0.88rem;
    color: var(--gray);
    padding: 0.5rem 0 0;
    text-align: center;
}

/* ===== BRIEFING CARD ===== */
.mf-briefing {
    padding: 2rem 1.75rem;
    background: var(--cream);
    border: 1px solid var(--rule);
    border-left: 4px solid var(--pool);
    margin-bottom: 1.5rem;
    animation: mf-fade-in 0.4s ease;
}
.mf-briefing__title {
    font-family: 'DM Serif Display', Georgia, serif;
    font-weight: 400;
    font-size: 1.35rem;
    color: var(--black);
    margin-bottom: 1rem;
    line-height: 1.3;
}
.mf-briefing__body {
    font-size: 0.88rem;
    color: var(--charcoal);
    line-height: 1.75;
}
.mf-briefing__body p {
    margin-bottom: 0.65rem;
}
.mf-briefing__body p:last-child {
    margin-bottom: 0;
}
.mf-briefing__body strong {
    color: var(--black);
}
.mf-briefing__body a {
    color: var(--pool-deep);
    font-weight: 600;
}
.mf-briefing__actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 1.25rem;
}
.mf-briefing__cta {
    display: inline-block;
    padding: 0.65rem 1.5rem;
    background: var(--pool);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-decoration: none;
    transition: background 0.2s;
}
.mf-briefing__cta:hover {
    background: var(--black);
    text-decoration: none;
}
.mf-briefing__share {
    display: inline-block;
    padding: 0.65rem 1.5rem;
    background: none;
    border: 1px solid var(--rule);
    color: var(--charcoal);
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: all 0.15s;
}
.mf-briefing__share:hover {
    border-color: var(--charcoal);
    color: var(--black);
}

/* ===== INLINE READINESS SCORE (demoted) ===== */
.mf-readiness-inline {
    margin-bottom: 2rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--rule);
}
.mf-readiness-inline__text {
    font-size: 0.82rem;
    color: var(--gray);
}
.mf-readiness-inline__toggle {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--pool-deep);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: 0.5rem;
}
.mf-readiness-inline__toggle:hover {
    text-decoration: underline;
}
.mf-readiness-inline__panel {
    margin-top: 0.75rem;
}

/* ===== PHASE MAP (Research → Tour → Apply) ===== */
.mf-phase {
    margin-bottom: 0;
}
.mf-phase__bar {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    padding: 0.5rem 0 1.25rem;
}
.mf-phase__segment {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    min-width: 80px;
    position: relative;
}
.mf-phase__icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.mf-phase__segment--past .mf-phase__icon {
    background: var(--light-gray);
    color: var(--white);
}
.mf-phase__segment--current .mf-phase__icon {
    background: var(--pool);
    color: var(--white);
    box-shadow: 0 0 0 4px rgba(7, 105, 95, 0.15);
}
.mf-phase__segment--future .mf-phase__icon {
    background: var(--white);
    border: 2px solid var(--rule);
    color: var(--light-gray);
}
.mf-phase__label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.mf-phase__segment--past .mf-phase__label {
    color: var(--light-gray);
}
.mf-phase__segment--current .mf-phase__label {
    color: var(--pool-deep);
}
.mf-phase__segment--future .mf-phase__label {
    color: var(--light-gray);
}
.mf-phase__marker {
    font-size: 0.62rem;
    font-weight: 600;
    color: var(--pool-deep);
    background: rgba(7, 105, 95, 0.08);
    padding: 0.2rem 0.5rem;
    white-space: nowrap;
    margin-top: 0.1rem;
}
.mf-phase__connector {
    display: flex;
    align-items: center;
    padding-top: 0.85rem; /* align with icon center */
    color: var(--rule);
}
.mf-phase__connector--done {
    color: var(--light-gray);
}

/* Phase guidance callout */
.mf-phase__guidance {
    padding: 1.25rem 1.5rem;
    background: var(--cream);
    border: 1px solid var(--rule);
    border-left: 3px solid var(--pool);
}
.mf-phase__guidance-title {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.1rem;
    color: var(--black);
    margin-bottom: 0.35rem;
}
.mf-phase__guidance-body {
    font-size: 0.85rem;
    color: var(--charcoal);
    line-height: 1.65;
    margin-bottom: 0.85rem;
}
.mf-phase__guidance-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* ===== HORIZONTAL TIMELINE ===== */
.mf-htl {
    position: relative;
    margin-bottom: 1rem;
}
.mf-htl__track {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0.5rem 0 1rem;
    position: relative;
}
.mf-htl__track::-webkit-scrollbar {
    display: none;
}
/* Connecting line behind dots */
.mf-htl__track::before {
    content: '';
    position: absolute;
    top: calc(0.5rem + 9px); /* dot center */
    left: 0;
    right: 0;
    height: 2px;
    background: var(--rule);
    z-index: 0;
}
.mf-htl__item {
    flex: 0 0 140px;
    scroll-snap-align: center;
    text-align: center;
    cursor: pointer;
    padding: 0 0.5rem;
    position: relative;
    z-index: 1;
    transition: opacity 0.15s;
}
.mf-htl__item:hover {
    opacity: 0.8;
}
.mf-htl__dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    margin: 0 auto 0.4rem;
    transition: all 0.2s;
}
/* Past: gray filled */
.mf-htl__item--past .mf-htl__dot {
    background: var(--light-gray);
    border: 2px solid var(--light-gray);
}
/* Current: teal filled, larger */
.mf-htl__item--current .mf-htl__dot {
    background: var(--pool);
    border: 2px solid var(--pool);
    width: 22px;
    height: 22px;
    margin-top: -2px;
}
/* Future: hollow */
.mf-htl__item--future .mf-htl__dot {
    background: var(--white);
    border: 2px solid var(--rule);
}
/* Selected state (when tapped) */
.mf-htl__item--selected .mf-htl__dot {
    box-shadow: 0 0 0 3px rgba(7, 105, 95, 0.2);
}
.mf-htl__label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.3;
    margin-bottom: 0.15rem;
}
.mf-htl__item--past .mf-htl__label {
    color: var(--light-gray);
}
.mf-htl__item--current .mf-htl__label {
    color: var(--pool-deep);
    font-weight: 800;
}
.mf-htl__item--future .mf-htl__label {
    color: var(--light-gray);
}
.mf-htl__date {
    font-size: 0.72rem;
    color: var(--gray);
}
.mf-htl__item--past .mf-htl__date {
    color: var(--light-gray);
}
.mf-htl__item--current .mf-htl__date {
    color: var(--charcoal);
    font-weight: 500;
}

/* Detail panel below timeline strip */
.mf-htl__detail {
    padding: 1.25rem;
    background: var(--cream);
    border: 1px solid var(--rule);
    animation: mf-fade-in 0.25s ease;
}
.mf-htl__detail-label {
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--pool-deep);
    margin-bottom: 0.25rem;
}
.mf-htl__detail-date {
    font-size: 0.82rem;
    color: var(--gray);
    margin-bottom: 0.4rem;
}
.mf-htl__detail-desc {
    font-size: 0.88rem;
    color: var(--charcoal);
    line-height: 1.65;
    margin-bottom: 0.75rem;
}
.mf-htl__detail-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

/* ===== SAVED PROVIDERS LIST ===== */
.mf-saved-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.mf-saved-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--rule);
    background: var(--white);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.mf-saved-item:hover {
    border-color: rgba(7,105,95,0.3);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    text-decoration: none;
}
.mf-saved-item__info {
    flex: 1;
    min-width: 0;
}
.mf-saved-item__name {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1rem;
    color: var(--black);
}
.mf-saved-item__hood {
    font-size: 0.72rem;
    color: var(--gray);
    margin-top: 0.1rem;
}
.mf-saved-item__icon {
    flex-shrink: 0;
    color: var(--pool-deep);
}
.mf-saved-item__unsave {
    flex-shrink: 0;
    background: none;
    border: none;
    color: var(--rule);
    cursor: pointer;
    padding: 0.25rem;
    opacity: 0;
    transition: opacity 0.15s, color 0.15s;
}
.mf-saved-item:hover .mf-saved-item__unsave {
    opacity: 1;
}
.mf-saved-item__unsave:hover {
    color: #DC2626;
}
.mf-saved-empty {
    text-align: center;
    padding: 3rem 1.5rem;
    background: var(--cream);
    border: 1px dashed var(--rule);
    margin-bottom: 2rem;
}
.mf-saved-empty__text {
    font-size: 0.88rem;
    color: var(--gray);
    margin-bottom: 1.25rem;
    line-height: 1.6;
}
.mf-saved-empty__cta {
    display: inline-block;
    padding: 0.65rem 1.5rem;
    background: var(--pool);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition: background 0.2s;
}
.mf-saved-empty__cta:hover {
    background: var(--black);
    text-decoration: none;
}

/* Cards section label */
.mf-cards-label {
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--light-gray);
    margin-bottom: 0.75rem;
}

/* Continue link (inline card advance) */
.mf-continue {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--pool-deep);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.75rem 0 0;
    margin-top: 0.5rem;
}
.mf-continue:hover { text-decoration: underline; }
.mf-continue svg { transition: transform 0.15s; }
.mf-continue:hover svg { transform: translateX(2px); }

/* ===== PROGRESSIVE INLINE CARDS ===== */
.mf-inline-card {
    border: 1px solid var(--rule);
    background: var(--cream);
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
    overflow: hidden;
}
.mf-inline-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    cursor: pointer;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
}
.mf-inline-card__step {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--rule);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--gray);
    margin-top: 0.1rem;
    transition: all 0.2s;
}
.mf-inline-card--done .mf-inline-card__step {
    border-color: var(--pool);
    background: var(--pool);
    color: var(--white);
}
.mf-inline-card--open .mf-inline-card__step {
    border-color: var(--pool-deep);
    color: var(--pool-deep);
}
.mf-inline-card__text {
    flex: 1;
    min-width: 0;
}
.mf-inline-card__title {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.05rem;
    color: var(--black);
    line-height: 1.3;
}
.mf-inline-card__desc {
    font-size: 0.78rem;
    color: var(--gray);
    line-height: 1.5;
    margin-top: 0.2rem;
}
.mf-inline-card--done .mf-inline-card__desc {
    display: none;
}
.mf-inline-card__summary {
    display: none;
    font-size: 0.78rem;
    color: var(--pool-deep);
    margin-top: 0.15rem;
    font-weight: 500;
}
.mf-inline-card--done .mf-inline-card__summary {
    display: block;
}
.mf-inline-card--open .mf-inline-card__summary {
    display: none;
}
.mf-inline-card--open .mf-inline-card__desc {
    display: block;
}
.mf-inline-card__chevron {
    flex-shrink: 0;
    color: var(--rule);
    transition: transform 0.2s;
    margin-top: 0.2rem;
}
.mf-inline-card--open .mf-inline-card__chevron {
    transform: rotate(180deg);
    color: var(--gray);
}
.mf-inline-card__body {
    display: none;
    padding: 0 1.5rem 1.5rem;
}
.mf-inline-card--open .mf-inline-card__body {
    display: block;
    animation: mf-fade-in 0.25s ease;
}

/* ===== EMPTY STATE FEATURES ===== */
.mf-saved-empty__icon {
    margin-bottom: 0.75rem;
}
.mf-saved-empty__ctas {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}
.mf-saved-empty__cta--secondary {
    background: var(--white);
    color: var(--pool);
    border: 1px solid var(--pool);
}
.mf-saved-empty__features {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--rule);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    text-align: center;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}
.mf-saved-empty__feature-title {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.1rem;
    color: var(--black);
    margin-bottom: 0.25rem;
}
.mf-saved-empty__feature-desc {
    font-size: 0.72rem;
    color: var(--gray);
    line-height: 1.5;
}
.mf-saved-item__info-link {
    text-decoration: none;
    color: inherit;
}
.mf-no-timeline {
    color: var(--gray);
    font-size: 0.85rem;
}
.mf-tbd--spaced {
    margin-bottom: 1.5rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
    .mf-child-entry__row {
        flex-direction: column;
        gap: 0.75rem;
    }
    .mf-child-entry__field input {
        width: 100%;
    }
    .mf-dash {
        padding: 2rem 1.5rem 3rem;
    }
    .mf-dash__header h1 {
        font-size: 1.6rem;
    }
    .mf-inline-card__header {
        padding: 1rem 1.25rem;
    }
    .mf-inline-card__body {
        padding: 0 1.25rem 1.25rem;
    }
    .mf-inline-card__desc {
        font-size: 0.75rem;
    }
    .mf-saved-item__unsave {
        opacity: 1;
    }
    .mf-child-cards {
        flex-direction: column;
    }
    .mf-child-card {
        min-width: 100%;
    }
    .mf-guidance__links {
        flex-direction: column;
    }
    .mf-guidance__link {
        text-align: center;
    }
    .mf-milestone__actions {
        flex-direction: column;
    }
    .mf-readiness {
        padding: 1.25rem 1rem 1rem;
    }
    .mf-gauge__score {
        font-size: 2.2rem;
    }
    .mf-next-actions__label {
        font-size: 0.82rem;
    }
    /* Phase map mobile */
    .mf-phase__segment {
        min-width: 64px;
    }
    .mf-phase__icon {
        width: 38px;
        height: 38px;
    }
    .mf-phase__label {
        font-size: 0.65rem;
    }
    .mf-phase__guidance-links {
        flex-direction: column;
    }
    .mf-phase__guidance-links .mf-guidance__link {
        text-align: center;
    }
    /* Briefing card mobile */
    .mf-briefing {
        padding: 1.5rem 1.25rem;
    }
    .mf-briefing__title {
        font-size: 1.15rem;
    }
    .mf-briefing__body {
        font-size: 0.85rem;
    }
    .mf-briefing__actions {
        flex-direction: column;
    }
    .mf-briefing__cta,
    .mf-briefing__share {
        display: block;
        text-align: center;
        width: 100%;
    }
    /* Horizontal timeline mobile */
    .mf-htl__item {
        flex: 0 0 120px;
    }
    .mf-htl__detail-actions {
        flex-direction: column;
    }
}
