/* My New Future Business Operations Toolkit — isolated member interface */
.mnf-bot-shell,
.mnf-bot-access-card {
    --ca-navy: #061b4c;
    --ca-navy-2: #0b2d6b;
    --ca-blue: #1069ce;
    --ca-blue-2: #2680e4;
    --ca-green: #239c4c;
    --ca-green-soft: #e6f8eb;
    --ca-gold: #f2a424;
    --ca-gold-soft: #fff5df;
    --ca-text: #17284f;
    --ca-muted: #526888;
    --ca-border: #dce7f3;
    --ca-background: #f5faff;
    --ca-white: #ffffff;
    --ca-shadow: 0 10px 28px rgba(14, 43, 95, .10);
    box-sizing: border-box;
    color: var(--ca-text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.mnf-bot-shell *,
.mnf-bot-access-card * { box-sizing: border-box; }

/* Break out of typical theme content containers so the 4-card desktop layout
   can match the supplied dashboard template. */
.mnf-bot-shell {
    position: relative;
    left: 50%;
    width: min(1500px, calc(100vw - 36px));
    max-width: none;
    margin: 30px 0;
    transform: translateX(-50%);
}
.mnf-bot-dashboard { padding: 6px 0 0; }
.mnf-bot-dashboard h1,
.mnf-bot-dashboard h2,
.mnf-bot-dashboard h3,
.mnf-bot-service h1,
.mnf-bot-service h2,
.mnf-bot-service h3,
.mnf-bot-access-card h2 { color: var(--ca-navy); font-family: inherit; }
.mnf-bot-dashboard p,
.mnf-bot-service p,
.mnf-bot-access-card p { color: var(--ca-muted); }
.mnf-bot-dashboard a,
.mnf-bot-service a,
.mnf-bot-access-card a { text-decoration: none; }
.mnf-bot-dashboard button,
.mnf-bot-service button,
.mnf-bot-dashboard input,
.mnf-bot-service input,
.mnf-bot-dashboard textarea,
.mnf-bot-service textarea,
.mnf-bot-dashboard select,
.mnf-bot-service select { font: inherit; }
.mnf-bot-dashboard :focus-visible,
.mnf-bot-service :focus-visible,
.mnf-bot-access-card :focus-visible { outline: 3px solid rgba(30, 121, 225, .42); outline-offset: 3px; }

/* Dashboard template */
.mnf-bot-dashboard-header {
    display: grid;
    grid-template-columns: 282px minmax(0, 1fr) auto;
    align-items: center;
    gap: 26px;
    min-height: 140px;
    padding: 10px 2px 21px;
}
.mnf-bot-dashboard-brand,
.mnf-bot-service-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
    color: var(--ca-navy) !important;
}
.mnf-bot-logo-image,
.mnf-bot-logo-mark {
    width: 102px;
    height: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    overflow: hidden;
}
.mnf-bot-logo-image img { width: 100%; height: 100%; display: block; object-fit: contain; }
.mnf-bot-logo-mark {
    position: relative;
    flex-direction: column;
    padding: 9px 5px 7px;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(145deg, #0b4c9c 0%, #1482d5 55%, #47b154 56%, #238247 100%);
    border-radius: 2px;
    box-shadow: 0 5px 15px rgba(21, 85, 169, .18);
    text-align: center;
    line-height: .82;
}
.mnf-bot-logo-mark:before {
    position: absolute;
    inset: 8px 5px auto;
    height: 14px;
    border-bottom: 3px solid rgba(255, 255, 255, .85);
    border-radius: 50%;
    content: "";
    transform: rotate(-10deg);
}
.mnf-bot-logo-mark b { margin-top: 18px; font-size: 14px; letter-spacing: -.06em; }
.mnf-bot-logo-mark i { color: #ecf7ff; font-size: 13px; font-style: normal; font-weight: 800; letter-spacing: -.08em; }
.mnf-bot-logo-mark small { margin-top: 4px; font-size: 7px; font-weight: 700; }
.mnf-bot-dashboard-brand-text { display: flex; flex-direction: column; line-height: .95; }
.mnf-bot-dashboard-brand-text strong { color: #1655a8; font-size: 21px; font-weight: 800; letter-spacing: -.05em; }
.mnf-bot-dashboard-brand-text em { color: #5eb649; font-size: 22px; font-style: normal; font-weight: 800; letter-spacing: -.05em; }
.mnf-bot-dashboard-brand-text small { margin-top: 7px; color: #5e758c; font-size: 9px; font-weight: 700; letter-spacing: .02em; }
.mnf-bot-dashboard-title .mnf-bot-eyebrow { margin-bottom: 4px; }
.mnf-bot-eyebrow {
    display: inline-block;
    color: #1269c9;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1.35;
}
.mnf-bot-dashboard-title h1 {
    margin: 0;
    color: var(--ca-navy);
    font-size: clamp(36px, 4.6vw, 64px);
    font-weight: 800;
    letter-spacing: -.055em;
    line-height: .99;
}
.mnf-bot-dashboard-title p {
    max-width: 720px;
    margin: 10px 0 0;
    color: #2b3e62;
    font-size: 16px;
    line-height: 1.45;
}
.mnf-bot-password-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    gap: 7px;
    min-height: 45px;
    padding: 11px 20px;
    color: #fff;
    background: linear-gradient(135deg, #102f6d, #061b4c);
    border-radius: 999px;
    box-shadow: 0 6px 14px rgba(8, 34, 81, .15);
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.mnf-bot-dashboard-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 26px;
    align-items: start;
}
.mnf-bot-dashboard-aside { display: grid; gap: 25px; }
.mnf-bot-benefits-card,
.mnf-bot-membership-card,
.mnf-bot-service-card {
    background: var(--ca-white);
    border: 1px solid #e3ebf5;
    border-radius: 20px;
    box-shadow: var(--ca-shadow);
}
.mnf-bot-benefits-card { min-height: 417px; padding: 26px 26px 24px; }
.mnf-bot-benefits-card h2 {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    font-size: 32px;
    font-weight: 850;
    letter-spacing: -.055em;
    line-height: 1.03;
}
.mnf-bot-benefits-card h2 em { color: var(--ca-blue); font-style: normal; }
.mnf-bot-blue-rule { display: block; width: 56px; height: 3px; margin: 22px 0; background: var(--ca-blue); }
.mnf-bot-live-count { display: grid; gap: 9px; margin: 0 0 22px; }
.mnf-bot-live-count strong { color: var(--ca-green); font-size: 16px; letter-spacing: .01em; }
.mnf-bot-live-count span { color: var(--ca-blue); font-size: 15px; font-weight: 800; line-height: 1.25; }
.mnf-bot-benefits-card ul { display: grid; gap: 14px; padding: 0; margin: 0; list-style: none; }
.mnf-bot-benefits-card li { display: flex; align-items: start; gap: 10px; color: var(--ca-navy); font-size: 15px; line-height: 1.25; }
.mnf-bot-benefits-card li span { color: var(--ca-green); font-size: 21px; font-weight: 900; line-height: .75; }
.mnf-bot-membership-card {
    min-height: 224px;
    padding: 22px 26px;
    color: #fff;
    background: linear-gradient(145deg, #1677dc, #0751ad);
    border: 0;
}
.mnf-bot-membership-icon {
    display: grid;
    width: 62px;
    height: 62px;
    place-items: center;
    margin-bottom: 13px;
    background: #fff;
    border-radius: 50%;
    font-size: 31px;
}
.mnf-bot-membership-card h2 { margin: 0 0 8px; color: #fff; font-size: 24px; letter-spacing: -.04em; line-height: 1.05; }
.mnf-bot-membership-card p { margin: 0; color: rgba(255,255,255,.92); font-size: 15px; line-height: 1.45; }

.mnf-bot-service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-flow: row;
    grid-auto-rows: minmax(244px, auto);
    gap: 16px;
    max-height: none !important;
    overflow: visible !important;
}
/* Hard reset for themes or legacy dashboard CSS that hides later cards. */
.mnf-bot-dashboard .mnf-bot-service-grid > .mnf-bot-service-card,
.mnf-bot-dashboard .mnf-bot-service-grid > .mnf-bot-service-card:nth-child(n) {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    max-height: none !important;
}
.mnf-bot-service-card {
    display: flex;
    min-height: 244px;
    padding: 16px;
    flex-direction: column;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.mnf-bot-service-card:hover { border-color: #c6daf2; box-shadow: 0 15px 30px rgba(14, 43, 95, .15); transform: translateY(-3px); }
.mnf-bot-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mnf-bot-card-icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    background: #f2f7fd;
    border: 1px solid #e2eaf4;
    border-radius: 12px;
    font-size: 25px;
}
.mnf-bot-card-live {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 5px 11px;
    color: #18803f;
    background: #e9f9ed;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .025em;
    text-transform: uppercase;
    white-space: nowrap;
}
.mnf-bot-service-card h2 { margin: 13px 0 8px; color: var(--ca-navy); font-size: 18px; font-weight: 800; letter-spacing: -.033em; line-height: 1.08; }
.mnf-bot-service-card h2 span { font-weight: 900; }
.mnf-bot-service-card p { min-height: 64px; margin: 0 0 15px; color: #253a60; font-size: 13px; line-height: 1.43; }
.mnf-bot-service-card > a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 39px;
    margin-top: auto;
    color: #fff !important;
    background: linear-gradient(90deg, #126ad0, #1476d7);
    border-radius: 9px;
    font-size: 13px;
    font-weight: 800;
}
.mnf-bot-service-card > a:hover { color: #fff; background: linear-gradient(90deg, #0a58b5, #1268c6); }
.mnf-bot-next-banner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    min-height: 77px;
    margin: 24px auto 0;
    padding: 14px 22px;
    color: #fff;
    background: linear-gradient(105deg, #061b4c, #0e2f69);
    border-radius: 13px;
    box-shadow: 0 8px 18px rgba(5, 28, 76, .14);
}
.mnf-bot-next-icon { font-size: 37px; }
.mnf-bot-next-banner h2 { margin: 0 0 4px; color: #fff; font-size: 16px; letter-spacing: -.025em; }
.mnf-bot-next-banner p { margin: 0; color: #fff; font-size: 13px; line-height: 1.35; }
.mnf-bot-growth-icon { font-size: 35px; }

/* Individual service overview / workspace */
.mnf-bot-service { padding-bottom: 4px; }
.mnf-bot-service-topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 66px; padding: 0 3px 18px; border-bottom: 1px solid var(--ca-border); }
.mnf-bot-service-brand { gap: 10px; }
.mnf-bot-service-brand .mnf-bot-logo-image,
.mnf-bot-service-brand .mnf-bot-logo-mark { width: 48px; height: 44px; border-radius: 8px; }
.mnf-bot-service-brand .mnf-bot-logo-mark:before { inset: 4px 4px auto; height: 9px; border-bottom-width: 2px; }
.mnf-bot-service-brand .mnf-bot-logo-mark b { margin-top: 10px; font-size: 8px; }
.mnf-bot-service-brand .mnf-bot-logo-mark i { font-size: 7px; }
.mnf-bot-service-brand .mnf-bot-logo-mark small { margin-top: 2px; font-size: 4px; }
.mnf-bot-service-brand strong { display: block; color: var(--ca-navy); font-size: 16px; letter-spacing: -.03em; }
.mnf-bot-service-brand small { display: block; margin-top: 2px; color: #66809a; font-size: 10px; font-weight: 700; }
.mnf-bot-back-link { display: inline-flex; align-items: center; gap: 7px; color: #1269c9 !important; font-size: 13px; font-weight: 800; }
.mnf-bot-service-hero {
    position: relative;
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 17px;
    min-height: 177px;
    margin-top: 22px;
    padding: 30px;
    overflow: hidden;
    background: linear-gradient(110deg, #eaf6ff 0%, #f7fbff 60%, #e8f6ee 100%);
    border: 1px solid #d5e8f7;
    border-radius: 20px;
}
.mnf-bot-service-hero:after { position: absolute; right: -100px; bottom: -120px; width: 260px; height: 260px; border: 36px solid rgba(41, 154, 81, .07); border-radius: 50%; content: ""; }
.mnf-bot-service-number { color: rgba(9, 73, 154, .18); font-size: 54px; font-weight: 900; letter-spacing: -.07em; line-height: 1; }
.mnf-bot-service-icon { display: grid; width: 72px; height: 72px; place-items: center; background: #fff; border: 1px solid #d9e6f2; border-radius: 18px; box-shadow: 0 8px 18px rgba(24, 69, 123, .06); font-size: 35px; }
.mnf-bot-service-hero-copy { position: relative; z-index: 1; }
.mnf-bot-service-hero h1 { margin: 5px 0 7px; font-size: clamp(29px, 3.4vw, 46px); letter-spacing: -.05em; line-height: 1.03; }
.mnf-bot-service-hero p { max-width: 760px; margin: 0; color: #2a4165; font-size: 16px; line-height: 1.46; }
.mnf-bot-live-badge { position: relative; z-index: 1; align-self: start; padding: 8px 13px; color: #14713b; background: #e4f8e9; border-radius: 999px; font-size: 11px; font-weight: 850; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; }
.mnf-bot-service-overview { display: grid; grid-template-columns: minmax(0, 1.28fr) minmax(280px, .72fr); gap: 22px; margin-top: 22px; }
.mnf-bot-overview-copy,
.mnf-bot-how-card,
.mnf-bot-workspace,
.mnf-bot-history,
.mnf-bot-finder-routes,
.mnf-bot-data-notice,
.mnf-bot-result-card { border: 1px solid var(--ca-border); border-radius: 18px; }
.mnf-bot-overview-copy { padding: 27px 30px; background: #fff; }
.mnf-bot-overview-copy h2,
.mnf-bot-how-card h2,
.mnf-bot-workspace h2,
.mnf-bot-history h2,
.mnf-bot-finder-routes h2 { margin: 7px 0 9px; font-size: 27px; letter-spacing: -.045em; line-height: 1.08; }
.mnf-bot-overview-copy > p { margin: 0; color: #3e5575; font-size: 15px; line-height: 1.56; }
.mnf-bot-service-outcomes { margin-top: 23px; padding-top: 20px; border-top: 1px solid #e6edf5; }
.mnf-bot-service-outcomes h3 { margin: 0 0 11px; font-size: 15px; }
.mnf-bot-service-outcomes ul { display: grid; gap: 8px; padding: 0; margin: 0; list-style: none; }
.mnf-bot-service-outcomes li { display: flex; gap: 8px; color: #304563; font-size: 14px; line-height: 1.35; }
.mnf-bot-service-outcomes li span { color: var(--ca-green); font-weight: 900; }
.mnf-bot-how-card { padding: 27px 27px 22px; background: linear-gradient(145deg, #0c5ebd, #073978); }
.mnf-bot-how-card h2 { margin-top: 0; color: #fff; font-size: 25px; }
.mnf-bot-how-card ol { display: grid; gap: 17px; padding: 0; margin: 19px 0 0; list-style: none; }
.mnf-bot-how-card li { display: flex; gap: 11px; align-items: start; }
.mnf-bot-how-card li > span { display: grid; width: 24px; height: 24px; place-items: center; flex: 0 0 auto; color: #0d51a5; background: #dff3ff; border-radius: 50%; font-size: 12px; font-weight: 900; }
.mnf-bot-how-card li p { margin: 2px 0 0; color: #fff; font-size: 14px; line-height: 1.35; }
.mnf-bot-finder-routes { display: grid; grid-template-columns: minmax(280px, .9fr) minmax(0, 1.1fr); gap: 22px; margin-top: 22px; padding: 25px; background: #f8fcff; }
.mnf-bot-finder-routes h2 { max-width: 510px; }
.mnf-bot-finder-routes p { max-width: 570px; margin: 0; color: #485f7d; font-size: 14px; line-height: 1.5; }
.mnf-bot-source-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; align-content: start; }
.mnf-bot-source-list a { display: flex; min-height: 92px; padding: 14px; flex-direction: column; color: var(--ca-text) !important; background: #fff; border: 1px solid #dce8f5; border-radius: 11px; }
.mnf-bot-source-list strong { color: #0b55a7; font-size: 13px; line-height: 1.2; }
.mnf-bot-source-list span { margin-top: 5px; color: #5c7390; font-size: 11px; }
.mnf-bot-source-list small { margin-top: auto; color: #1c8c48; font-size: 11px; font-weight: 800; }
.mnf-bot-data-notice { display: flex; align-items: start; gap: 13px; margin-top: 22px; padding: 18px 21px; background: #fff9eb; border-color: #f1dfab; }
.mnf-bot-data-notice > span { font-size: 21px; }
.mnf-bot-data-notice strong { color: #74500b; font-size: 14px; }
.mnf-bot-data-notice p { margin: 4px 0 0; color: #6b5a34; font-size: 13px; line-height: 1.47; }
.mnf-bot-workspace { margin-top: 22px; padding: 28px; background: #fff; box-shadow: 0 9px 24px rgba(14, 43, 95, .06); }
.mnf-bot-workspace-heading { display: flex; align-items: start; justify-content: space-between; gap: 18px; padding-bottom: 21px; border-bottom: 1px solid #e5edf5; }
.mnf-bot-workspace-heading h2 { margin-top: 6px; }
.mnf-bot-workspace-heading p { margin: 0; color: #667a95; font-size: 13px; }
.mnf-bot-ai-ready,
.mnf-bot-ai-setup { display: inline-flex; align-items: center; gap: 7px; min-height: 31px; padding: 7px 11px; border: 1px solid; border-radius: 999px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.mnf-bot-ai-ready { color: #176e39; background: #eefaf1; border-color: #bde7c9; }
.mnf-bot-ai-ready span { color: var(--ca-green); }
.mnf-bot-ai-setup { color: #875a12; background: #fff9e8; border-color: #eedca4; }
.mnf-bot-ai-setup span { color: var(--ca-gold); }
.mnf-bot-form { margin-top: 22px; }
.mnf-bot-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.mnf-bot-field { min-width: 0; }
.mnf-bot-field-wide { grid-column: 1 / -1; }
.mnf-bot-field label { display: block; margin: 0 0 7px; color: #21385b; font-size: 13px; font-weight: 800; line-height: 1.3; }
.mnf-bot-required { color: #bd2c2c; }
.mnf-bot-field input[type="text"],
.mnf-bot-field textarea,
.mnf-bot-field select { width: 100%; color: var(--ca-text); background: #fff; border: 1px solid #cbd9e8; border-radius: 9px; box-shadow: none; font-size: 14px; line-height: 1.4; }
.mnf-bot-field input[type="text"],
.mnf-bot-field select { min-height: 44px; padding: 10px 12px; }
.mnf-bot-field textarea { min-height: 116px; padding: 11px 12px; resize: vertical; }
.mnf-bot-field input::placeholder,
.mnf-bot-field textarea::placeholder { color: #91a0b4; opacity: 1; }
.mnf-bot-field input:focus,
.mnf-bot-field textarea:focus,
.mnf-bot-field select:focus { border-color: #4d95e5; outline: 0; box-shadow: 0 0 0 3px rgba(49, 130, 219, .12); }
.mnf-bot-checkbox-group { display: flex; flex-wrap: wrap; gap: 8px; }
.mnf-bot-checkbox-group label { display: inline-flex; align-items: center; gap: 6px; min-height: 35px; padding: 8px 10px; margin: 0; background: #f7fbff; border: 1px solid #d7e5f4; border-radius: 8px; color: #455c7d; font-size: 12px; font-weight: 650; }
.mnf-bot-checkbox-group input { width: 15px; height: 15px; margin: 0; accent-color: var(--ca-blue); }
.mnf-bot-form-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 25px; padding-top: 20px; border-top: 1px solid #e6edf5; }
.mnf-bot-form-footer p { max-width: 670px; margin: 0; color: #647795; font-size: 13px; line-height: 1.4; }
.mnf-bot-form-footer p span { color: var(--ca-blue); }
.mnf-bot-button { display: inline-flex; align-items: center; justify-content: center; min-height: 43px; padding: 10px 17px; border: 1px solid transparent; border-radius: 9px; cursor: pointer; font-size: 13px; font-weight: 800; line-height: 1.2; transition: transform .15s ease, background .15s ease, border-color .15s ease; }
.mnf-bot-button:hover { transform: translateY(-1px); }
.mnf-bot-button:disabled { cursor: wait; opacity: .7; transform: none; }
.mnf-bot-button-primary { color: #fff !important; background: linear-gradient(90deg, #0f67cd, #1a79dc); box-shadow: 0 7px 16px rgba(23, 103, 205, .16); }
.mnf-bot-button-primary:hover { color: #fff !important; background: linear-gradient(90deg, #0958b5, #146ac6); }
.mnf-bot-button-secondary { color: #1e5fae !important; background: #fff; border-color: #bcd4ed; }
.mnf-bot-button-secondary:hover { color: #124982 !important; background: #f4f9ff; }
/* Direct server-generated PDF download, branded to match the My New Future
   Business Operations Toolkit interface. This does not depend on popup permissions. */
.mnf-bot-button-pdf { color: #fff !important; background: linear-gradient(90deg, #16864b, #22a65e); box-shadow: 0 7px 16px rgba(22, 134, 75, .16); }
.mnf-bot-button-pdf:hover { color: #fff !important; background: linear-gradient(90deg, #10733d, #188c4d); }
.mnf-bot-generate { min-width: 189px; gap: 8px; }
.mnf-bot-button-spinner { display: none; width: 14px; height: 14px; border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%; animation: mnf-bot-spin .8s linear infinite; }
.mnf-bot-generate.is-loading .mnf-bot-button-spinner { display: inline-block; }
@keyframes mnf-bot-spin { to { transform: rotate(360deg); } }
.mnf-bot-results-shell { margin-top: 22px; }
.mnf-bot-results-shell[hidden] { display: none; }
.mnf-bot-result-card { padding: 27px; background: #f8fcff; border-color: #cfe0f3; }
.mnf-bot-result-header { display: flex; align-items: start; justify-content: space-between; gap: 18px; }
.mnf-bot-result-header h2 { margin: 6px 0 0; font-size: 27px; letter-spacing: -.045em; }
.mnf-bot-saved-label { display: inline-flex; padding: 7px 10px; color: #4d647f; background: #fff; border: 1px solid #d9e5f0; border-radius: 999px; font-size: 11px; font-weight: 800; white-space: nowrap; }
.mnf-bot-result-intro { margin: 10px 0 17px; color: #58708d; font-size: 13px; line-height: 1.4; }
.mnf-bot-result-content { min-height: 260px; padding: 22px; overflow-wrap: anywhere; color: #24385a; background: #fff; border: 1px solid #d2dfed; border-radius: 12px; font-size: 15px; line-height: 1.62; }
.mnf-bot-result-content:focus { outline: 3px solid rgba(31, 115, 215, .18); border-color: #83b2e7; }
.mnf-bot-result-content h2 { margin: 0 0 10px; font-size: 22px; }
.mnf-bot-result-content h3 { margin: 20px 0 8px; font-size: 18px; }
.mnf-bot-result-content h4 { margin: 17px 0 7px; font-size: 15px; }
.mnf-bot-result-content p { margin: 0 0 13px; color: inherit; }
.mnf-bot-result-content ul,
.mnf-bot-result-content ol { margin: 0 0 14px 21px; padding: 0; }
.mnf-bot-result-content li { margin: 5px 0; }
.mnf-bot-result-sources { margin-top: 17px; padding: 19px; background: #fffdf7; border: 1px solid #f1dfad; border-radius: 12px; }
.mnf-bot-result-sources h3 { margin: 0 0 5px; color: #75520d; font-size: 16px; }
.mnf-bot-result-sources > p { margin: 0 0 13px; color: #6f6246; font-size: 13px; }
.mnf-bot-result-sources > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mnf-bot-result-sources a { display: flex; min-height: 105px; flex-direction: column; padding: 13px; color: var(--ca-text) !important; background: #fff; border: 1px solid #e9ddba; border-radius: 9px; }
.mnf-bot-result-sources a span { color: #a06b14; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.mnf-bot-result-sources a strong { margin: 3px 0 5px; color: #1b5fab; font-size: 13px; line-height: 1.22; }
.mnf-bot-result-sources a small { color: #5d6876; font-size: 11px; line-height: 1.33; }
.mnf-bot-result-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 17px; }
.mnf-bot-history { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: start; margin-top: 22px; padding: 26px; background: #fff; }
.mnf-bot-history h2 { margin-top: 6px; }
.mnf-bot-history p { max-width: 650px; margin: 0; color: #617592; font-size: 13px; line-height: 1.45; }
.mnf-bot-history-list { grid-column: 1 / -1; }
.mnf-bot-empty-history { margin: 0 !important; padding: 15px; background: #f7fbff; border: 1px dashed #cadced; border-radius: 9px; color: #60738f !important; }
.mnf-bot-history-items { display: grid; gap: 8px; padding: 0; margin: 0; list-style: none; }
.mnf-bot-history-items li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 14px; background: #f8fcff; border: 1px solid #dce8f4; border-radius: 9px; }
.mnf-bot-history-items strong { display: block; color: var(--ca-text); font-size: 13px; }
.mnf-bot-history-items li span { display: block; margin-top: 3px; color: #6b7e98; font-size: 11px; }
.mnf-bot-history-items li > div:last-child { display: inline-flex; gap: 10px; }
.mnf-bot-text-button { padding: 0; color: #1768be; background: transparent; border: 0; cursor: pointer; font-size: 12px; font-weight: 800; }
.mnf-bot-text-danger { color: #b12c2c; }
.mnf-bot-error,
.mnf-bot-message { margin: 0 0 15px; padding: 13px 15px; border-radius: 9px; font-size: 13px; line-height: 1.4; }
.mnf-bot-error { color: #902828; background: #fff2f2; border: 1px solid #efc4c4; }
.mnf-bot-message { color: #176e39; background: #edfaf1; border: 1px solid #bfe4ca; }

/* Access protection screen */
.mnf-bot-access-card { width: min(620px, calc(100% - 36px)); margin: 45px auto; padding: 42px; background: #fff; border: 1px solid #dce7f3; border-radius: 18px; box-shadow: var(--ca-shadow); text-align: center; }
.mnf-bot-access-icon { display: grid; width: 58px; height: 58px; place-items: center; margin: 0 auto 16px; color: #176ac3; background: #eaf5ff; border-radius: 50%; font-size: 25px; }
.mnf-bot-access-card h2 { margin: 0 0 8px; font-size: 29px; letter-spacing: -.045em; }
.mnf-bot-access-card p { margin: 0 auto 20px; max-width: 470px; line-height: 1.5; }

@media (max-width: 1400px) {
    .mnf-bot-dashboard-header { grid-template-columns: 245px minmax(0, 1fr) auto; gap: 20px; }
    .mnf-bot-logo-image,
    .mnf-bot-logo-mark { width: 82px; height: 70px; }
    .mnf-bot-dashboard-brand-text strong { font-size: 19px; }
    .mnf-bot-dashboard-brand-text em { font-size: 20px; }
    .mnf-bot-dashboard-layout { grid-template-columns: 246px minmax(0, 1fr); gap: 20px; }
    .mnf-bot-benefits-card { padding: 22px; }
    .mnf-bot-benefits-card h2 { font-size: 28px; }
    .mnf-bot-membership-card { padding: 20px 22px; }
    .mnf-bot-service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1120px) {
    .mnf-bot-dashboard-header { grid-template-columns: 1fr auto; min-height: 0; }
    .mnf-bot-dashboard-title { grid-column: 1 / -1; grid-row: 2; }
    .mnf-bot-dashboard-brand { grid-column: 1; grid-row: 1; }
    .mnf-bot-password-badge { grid-column: 2; grid-row: 1; }
    .mnf-bot-dashboard-layout { grid-template-columns: 1fr; }
    .mnf-bot-dashboard-aside { grid-template-columns: 1.1fr .9fr; gap: 16px; }
    .mnf-bot-benefits-card,
    .mnf-bot-membership-card { min-height: 0; }
    .mnf-bot-benefits-card ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mnf-bot-membership-card { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; }
    .mnf-bot-membership-icon { grid-row: 1 / span 2; margin: 0; }
    .mnf-bot-membership-card h2 { margin: 0; }
    .mnf-bot-membership-card p { margin: 5px 0 0; }
    .mnf-bot-service-overview { grid-template-columns: 1fr; }
    .mnf-bot-finder-routes { grid-template-columns: 1fr; }
}
@media (max-width: 840px) {
    .mnf-bot-shell { width: min(calc(100% - 24px), 720px); margin: 20px 0; }
    .mnf-bot-dashboard-header { gap: 14px; padding-bottom: 16px; }
    .mnf-bot-dashboard-title h1 { font-size: clamp(34px, 7vw, 50px); }
    .mnf-bot-dashboard-title p { font-size: 14px; }
    .mnf-bot-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mnf-bot-service-card { min-height: 235px; }
    .mnf-bot-service-hero { grid-template-columns: auto minmax(0, 1fr); padding: 23px; }
    .mnf-bot-service-number { display: none; }
    .mnf-bot-service-icon { width: 59px; height: 59px; font-size: 28px; }
    .mnf-bot-service-hero-copy { grid-column: 1 / -1; }
    .mnf-bot-live-badge { grid-column: 2; grid-row: 1; justify-self: end; }
    .mnf-bot-form-grid { grid-template-columns: 1fr; }
    .mnf-bot-field-wide { grid-column: auto; }
    .mnf-bot-finder-routes,
    .mnf-bot-workspace,
    .mnf-bot-result-card,
    .mnf-bot-history { padding: 21px; }
}
@media (max-width: 590px) {
    .mnf-bot-shell { width: min(calc(100% - 20px), 520px); }
    .mnf-bot-dashboard-header { display: flex; flex-wrap: wrap; align-items: center; }
    .mnf-bot-dashboard-brand { flex: 1 1 auto; }
    .mnf-bot-password-badge { padding: 9px 13px; font-size: 11px; }
    .mnf-bot-logo-image,
    .mnf-bot-logo-mark { width: 57px; height: 50px; }
    .mnf-bot-logo-mark:before { inset: 4px 3px auto; height: 7px; border-bottom-width: 2px; }
    .mnf-bot-logo-mark b { margin-top: 10px; font-size: 9px; }
    .mnf-bot-logo-mark i { font-size: 8px; }
    .mnf-bot-logo-mark small { margin-top: 2px; font-size: 4px; }
    .mnf-bot-dashboard-brand-text strong { font-size: 17px; }
    .mnf-bot-dashboard-brand-text em { font-size: 18px; }
    .mnf-bot-dashboard-brand-text small { display: none; }
    .mnf-bot-dashboard-title { width: 100%; }
    .mnf-bot-dashboard-title h1 { font-size: 34px; }
    .mnf-bot-dashboard-aside { grid-template-columns: 1fr; }
    .mnf-bot-benefits-card { padding: 21px; }
    .mnf-bot-benefits-card ul { grid-template-columns: 1fr; gap: 11px; }
    .mnf-bot-service-grid { grid-template-columns: 1fr; }
    .mnf-bot-service-card { min-height: 213px; }
    .mnf-bot-service-card p { min-height: 0; }
    .mnf-bot-next-banner { grid-template-columns: auto minmax(0, 1fr); padding: 15px; }
    .mnf-bot-growth-icon { display: none; }
    .mnf-bot-next-banner p { font-size: 12px; }
    .mnf-bot-service-topbar { min-height: 55px; padding-bottom: 13px; }
    .mnf-bot-service-brand strong { font-size: 14px; }
    .mnf-bot-service-brand small { font-size: 9px; }
    .mnf-bot-back-link { font-size: 12px; }
    .mnf-bot-service-hero { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 15px; padding: 19px; }
    .mnf-bot-service-hero-copy { flex-basis: 100%; }
    .mnf-bot-service-hero h1 { font-size: 31px; }
    .mnf-bot-service-hero p { font-size: 14px; }
    .mnf-bot-live-badge { margin-left: auto; }
    .mnf-bot-overview-copy,
    .mnf-bot-how-card,
    .mnf-bot-finder-routes,
    .mnf-bot-workspace,
    .mnf-bot-result-card,
    .mnf-bot-history { padding: 18px; border-radius: 14px; }
    .mnf-bot-overview-copy h2,
    .mnf-bot-how-card h2,
    .mnf-bot-workspace h2,
    .mnf-bot-history h2,
    .mnf-bot-finder-routes h2,
    .mnf-bot-result-header h2 { font-size: 23px; }
    .mnf-bot-source-list,
    .mnf-bot-result-sources > div { grid-template-columns: 1fr; }
    .mnf-bot-workspace-heading,
    .mnf-bot-form-footer,
    .mnf-bot-history { flex-direction: column; display: flex; align-items: stretch; }
    .mnf-bot-workspace-heading .mnf-bot-ai-ready,
    .mnf-bot-workspace-heading .mnf-bot-ai-setup { align-self: flex-start; }
    .mnf-bot-form-footer .mnf-bot-button { width: 100%; }
    .mnf-bot-result-header { flex-direction: column; gap: 7px; }
    .mnf-bot-result-content { padding: 16px; font-size: 14px; }
    .mnf-bot-result-actions { display: grid; grid-template-columns: 1fr; }
    .mnf-bot-history-items li { align-items: start; flex-direction: column; }
    .mnf-bot-data-notice { padding: 15px; }
    .mnf-bot-access-card { padding: 28px 21px; }
}
@media print {
    body * { visibility: hidden !important; }
    .mnf-bot-results-shell,
    .mnf-bot-results-shell * { visibility: visible !important; }
    .mnf-bot-results-shell { position: absolute !important; top: 0; left: 0; width: 100%; margin: 0; }
    .mnf-bot-result-card { padding: 0; background: #fff; border: 0; }
    .mnf-bot-result-actions,
    .mnf-bot-result-sources { display: none !important; }
    .mnf-bot-result-content { min-height: 0; padding: 0; border: 0; }
}

/*
 * Version 2.1 catalogue visibility safeguard:
 * no responsive breakpoint may suppress services 8–12.
 */
.mnf-bot-dashboard,
.mnf-bot-dashboard-layout,
.mnf-bot-dashboard .mnf-bot-service-grid {
    overflow: visible !important;
}


/* Grant Finder and Grant Application Writer guided flow */
.mnf-bot-grant-flow,
.mnf-bot-grant-writer {
    display: grid;
    gap: 22px;
    margin-top: 22px;
}
.mnf-bot-flow-progress {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 8px;
    background: #edf5fd;
    border: 1px solid #d9e8f6;
    border-radius: 16px;
}
.mnf-bot-writer-step-tabs {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}
.mnf-bot-flow-progress button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 9px 12px;
    color: #44607e;
    background: transparent;
    border: 0;
    border-radius: 11px;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}
.mnf-bot-flow-progress button span {
    display: inline-grid;
    width: 23px;
    height: 23px;
    place-items: center;
    color: #436487;
    background: #fff;
    border: 1px solid #cbddef;
    border-radius: 50%;
    font-size: 11px;
}
.mnf-bot-flow-progress button:hover,
.mnf-bot-flow-progress button.is-active {
    color: #fff;
    background: #1269c9;
}
.mnf-bot-flow-progress button.is-active span {
    color: #1269c9;
    border-color: #fff;
}
.mnf-bot-flow-step,
.mnf-bot-writer-section {
    display: block;
}
.mnf-bot-flow-step[hidden],
.mnf-bot-writer-section[hidden] {
    display: none !important;
}
.mnf-bot-flow-card,
.mnf-bot-application-summary,
.mnf-bot-saved-applications {
    padding: 26px;
    background: #fff;
    border: 1px solid #dce7f3;
    border-radius: 19px;
    box-shadow: var(--ca-shadow);
}
.mnf-bot-flow-card-heading,
.mnf-bot-application-summary {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 22px;
}
.mnf-bot-flow-card-heading h2,
.mnf-bot-application-summary h2 {
    margin: 4px 0 8px;
    color: var(--ca-navy);
    font-size: clamp(23px, 2.6vw, 32px);
    letter-spacing: -.045em;
    line-height: 1.05;
}
.mnf-bot-flow-card-heading p,
.mnf-bot-application-summary p {
    max-width: 760px;
    margin: 0;
    color: #506784;
    font-size: 14px;
    line-height: 1.55;
}
.mnf-bot-flow-status {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    min-height: 28px;
    padding: 5px 10px;
    color: #1f7e41;
    background: #e9f8ee;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 850;
    white-space: nowrap;
}
.mnf-bot-consent {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 17px;
    color: #405a78;
    font-size: 13px;
    line-height: 1.45;
}
.mnf-bot-consent input {
    width: 17px;
    height: 17px;
    margin: 1px 0 0;
    accent-color: #1269c9;
}
.mnf-bot-flow-feedback {
    min-height: 1px;
}
.mnf-bot-flow-actions {
    margin: 18px 0;
}
.mnf-bot-flow-nav-row,
.mnf-bot-writer-section-actions,
.mnf-bot-summary-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}
.mnf-bot-flow-nav-row {
    justify-content: space-between;
    margin-top: 22px;
    padding-top: 19px;
    border-top: 1px solid #e2ebf5;
}
.mnf-bot-profile-summary {
    margin: 18px 0 0;
    padding: 17px 19px;
    background: #f7fbff;
    border: 1px solid #dce9f6;
    border-radius: 13px;
}
.mnf-bot-profile-summary dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px 20px;
    padding: 0;
    margin: 0;
}
.mnf-bot-profile-summary dl > div {
    min-width: 0;
}
.mnf-bot-profile-summary dt {
    margin: 0 0 3px;
    color: #5a708b;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .055em;
    text-transform: uppercase;
}
.mnf-bot-profile-summary dd {
    margin: 0;
    color: var(--ca-navy);
    font-size: 14px;
    font-weight: 700;
    overflow-wrap: anywhere;
}
.mnf-bot-match-results {
    margin-top: 20px;
}
.mnf-bot-match-brief {
    padding: 21px;
    background: #fbfdff;
    border: 1px solid #d9e7f5;
    border-radius: 15px;
}
.mnf-bot-match-brief-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 13px;
}
.mnf-bot-match-brief h3 {
    margin: 4px 0 0;
    color: var(--ca-navy);
    font-size: 22px;
    letter-spacing: -.04em;
}
.mnf-bot-safe-output {
    color: #283f61;
    font-size: 14px;
    line-height: 1.58;
}
.mnf-bot-safe-output h2,
.mnf-bot-safe-output h3,
.mnf-bot-safe-output h4 {
    margin: 20px 0 8px;
    color: var(--ca-navy);
    font-size: 17px;
    letter-spacing: -.025em;
}
.mnf-bot-safe-output h2:first-child,
.mnf-bot-safe-output h3:first-child,
.mnf-bot-safe-output h4:first-child {
    margin-top: 0;
}
.mnf-bot-safe-output p {
    margin: 0 0 12px;
}
.mnf-bot-safe-output ul,
.mnf-bot-safe-output ol {
    display: grid;
    gap: 6px;
    margin: 8px 0 16px;
    padding-left: 20px;
}
.mnf-bot-compact-notice {
    margin: 0 0 21px;
}
.mnf-bot-manual-application {
    margin-top: 22px;
    border: 1px solid #dce7f3;
    border-radius: 14px;
    background: #fbfdff;
}
.mnf-bot-manual-application summary {
    padding: 16px 19px;
    color: #1269c9;
    font-weight: 800;
    cursor: pointer;
}
.mnf-bot-manual-application form {
    padding: 0 19px 19px;
}
.mnf-bot-application-summary {
    margin-top: 22px;
    background: linear-gradient(110deg, #edf7ff, #f8fcff 62%, #edf8ef);
}
.mnf-bot-application-summary h2 {
    font-size: 27px;
}
.mnf-bot-application-summary p strong {
    color: #1269c9;
}
.mnf-bot-writer-progress {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    color: #223d62;
    font-size: 13px;
}
.mnf-bot-writer-progress strong {
    flex: 0 0 auto;
}
.mnf-bot-writer-progress > span {
    display: block;
    width: 100%;
    height: 9px;
    overflow: hidden;
    background: #e4edf7;
    border-radius: 99px;
}
.mnf-bot-writer-progress i {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #1269c9, #35a853);
    border-radius: inherit;
    transition: width .24s ease;
}
.mnf-bot-writer-section-actions {
    justify-content: flex-end;
    margin-top: 18px;
}
.mnf-bot-assist-result {
    margin-top: 18px;
}
.mnf-bot-ai-suggestion {
    padding: 18px;
    background: #f5fbff;
    border: 1px solid #cfe4f8;
    border-radius: 13px;
}
.mnf-bot-ai-suggestion h3 {
    margin: 4px 0 10px;
    color: var(--ca-navy);
    font-size: 17px;
}
.mnf-bot-ai-suggestion .mnf-bot-button {
    margin-top: 4px;
}
.mnf-bot-review-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
    margin: 0 0 20px;
}
.mnf-bot-review-grid article {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px;
    background: #f9fcff;
    border: 1px solid #dfeaf5;
    border-radius: 11px;
}
.mnf-bot-review-grid strong {
    color: var(--ca-navy);
    font-size: 14px;
}
.mnf-bot-review-grid span {
    padding: 4px 8px;
    border-radius: 99px;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}
.mnf-bot-review-grid .is-saved {
    color: #197842;
    background: #e8f8ed;
}
.mnf-bot-review-grid .is-missing {
    color: #a95d08;
    background: #fff2dd;
}
.mnf-bot-saved-applications {
    margin-top: 22px;
}
.mnf-bot-saved-applications .mnf-bot-flow-card-heading {
    margin-bottom: 13px;
}
.mnf-bot-application-list {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}
.mnf-bot-application-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 15px;
    background: #fbfdff;
    border: 1px solid #dce7f3;
    border-radius: 12px;
}
.mnf-bot-application-list li.is-current {
    background: #f0f8ff;
    border-color: #a9cfed;
}
.mnf-bot-application-list strong,
.mnf-bot-application-list span {
    display: block;
}
.mnf-bot-application-list strong {
    color: var(--ca-navy);
    font-size: 14px;
}
.mnf-bot-application-list span {
    margin-top: 3px;
    color: #69809a;
    font-size: 12px;
}
.mnf-bot-application-list li > div:last-child {
    display: flex;
    align-items: center;
    gap: 13px;
    white-space: nowrap;
}
.mnf-bot-application-output {
    margin-top: 0;
}
.mnf-bot-application-output .mnf-bot-result-content {
    min-height: 280px;
}

@media (max-width: 800px) {
    .mnf-bot-flow-progress,
    .mnf-bot-writer-step-tabs {
        grid-template-columns: 1fr;
    }
    .mnf-bot-flow-progress button {
        justify-content: flex-start;
    }
    .mnf-bot-flow-card,
    .mnf-bot-application-summary,
    .mnf-bot-saved-applications {
        padding: 19px;
    }
    .mnf-bot-flow-card-heading,
    .mnf-bot-application-summary,
    .mnf-bot-flow-nav-row {
        flex-direction: column;
        align-items: stretch;
    }
    .mnf-bot-profile-summary dl,
    .mnf-bot-review-grid {
        grid-template-columns: 1fr;
    }
    .mnf-bot-summary-actions,
    .mnf-bot-writer-section-actions {
        justify-content: stretch;
    }
    .mnf-bot-summary-actions .mnf-bot-button,
    .mnf-bot-writer-section-actions .mnf-bot-button {
        flex: 1 1 210px;
    }
    .mnf-bot-application-list li {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Structured AI output: Markdown action plans, schedules and registers are
   rendered as readable branded tables instead of raw pipe characters. */
.mnf-bot-result-content .mnf-bot-table-wrap,
.mnf-bot-safe-output .mnf-bot-table-wrap {
    width: 100%;
    margin: 18px 0;
    overflow-x: auto;
    background: #fff;
    border: 1px solid #bfd5ea;
    border-radius: 10px;
    box-shadow: 0 4px 13px rgba(17, 69, 132, .06);
    -webkit-overflow-scrolling: touch;
}
.mnf-bot-result-content .mnf-bot-data-table,
.mnf-bot-safe-output .mnf-bot-data-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    table-layout: fixed;
    color: #24385a;
    font-size: 13px;
    line-height: 1.45;
}
.mnf-bot-result-content .mnf-bot-data-table th,
.mnf-bot-safe-output .mnf-bot-data-table th,
.mnf-bot-result-content .mnf-bot-data-table td,
.mnf-bot-safe-output .mnf-bot-data-table td {
    padding: 11px 12px;
    vertical-align: top;
    overflow-wrap: anywhere;
    word-break: normal;
    border-right: 1px solid #d5e3f0;
    border-bottom: 1px solid #d5e3f0;
}
.mnf-bot-result-content .mnf-bot-data-table th:last-child,
.mnf-bot-safe-output .mnf-bot-data-table th:last-child,
.mnf-bot-result-content .mnf-bot-data-table td:last-child,
.mnf-bot-safe-output .mnf-bot-data-table td:last-child { border-right: 0; }
.mnf-bot-result-content .mnf-bot-data-table tr:last-child td,
.mnf-bot-safe-output .mnf-bot-data-table tr:last-child td { border-bottom: 0; }
.mnf-bot-result-content .mnf-bot-data-table th,
.mnf-bot-safe-output .mnf-bot-data-table th {
    color: #fff;
    background: #09295f;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .015em;
    text-align: left;
}
.mnf-bot-result-content .mnf-bot-data-table tbody tr:nth-child(even),
.mnf-bot-safe-output .mnf-bot-data-table tbody tr:nth-child(even) { background: #f4f9fe; }
.mnf-bot-result-content .mnf-bot-data-table tbody tr:hover { background: #eaf4ff; }
@media (max-width: 590px) {
    .mnf-bot-result-content .mnf-bot-table-wrap,
    .mnf-bot-safe-output .mnf-bot-table-wrap { margin: 15px 0; border-radius: 8px; }
    .mnf-bot-result-content .mnf-bot-data-table,
    .mnf-bot-safe-output .mnf-bot-data-table { font-size: 12px; }
    .mnf-bot-result-content .mnf-bot-data-table th,
    .mnf-bot-safe-output .mnf-bot-data-table th,
    .mnf-bot-result-content .mnf-bot-data-table td,
    .mnf-bot-safe-output .mnf-bot-data-table td { padding: 9px 10px; }
}
@media print {
    .mnf-bot-result-content .mnf-bot-table-wrap { overflow: visible; border: 0; box-shadow: none; }
    .mnf-bot-result-content .mnf-bot-data-table { min-width: 0; font-size: 9pt; }
    .mnf-bot-result-content .mnf-bot-data-table th,
    .mnf-bot-result-content .mnf-bot-data-table td { padding: 6px 7px; }
    .mnf-bot-result-content .mnf-bot-data-table thead { display: table-header-group; }
    .mnf-bot-result-content .mnf-bot-data-table tr { break-inside: avoid; }
}

/* Business Coach entry funnel: catalogue remains public, workspaces do not. */
.mnf-bot-onboarding-card { align-content: start; }
.mnf-bot-onboarding-card .mnf-bot-membership-icon { margin-bottom: 12px; }
.mnf-bot-onboarding-card h2 { margin-bottom: 7px; }
.mnf-bot-onboarding-actions { display: flex; flex-direction: column; gap: 9px; margin-top: 17px; }
.mnf-bot-onboarding-actions .mnf-bot-button { width: 100%; text-align: center; }
.mnf-bot-service-card-locked { border-color: #d9e4ef; background: #fbfdff; }
.mnf-bot-service-card-locked .mnf-bot-card-live { color: #687b96; background: #eef3f8; }
.mnf-bot-service-card-locked > a { color: #1d5b9f; }
.mnf-bot-service-card-locked > a:hover { color: #12467e; }
.mnf-bot-locked-badge { color: #785516; background: #fff8e8; border-color: #eddcae; }
.mnf-bot-tool-lock { margin-top: 24px; padding: 22px; background: #f7fbff; border: 1px solid #d5e5f4; border-radius: 14px; }
.mnf-bot-tool-lock .mnf-bot-membership-card { max-width: 760px; margin: 0 auto; }
.mnf-bot-welcome-message { margin-bottom: 20px; }

@media (max-width: 1120px) {
    .mnf-bot-onboarding-actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
    .mnf-bot-onboarding-actions .mnf-bot-button { width: auto; flex: 1 1 190px; }
}

@media (max-width: 600px) {
    .mnf-bot-tool-lock { padding: 16px; }
    .mnf-bot-onboarding-actions { flex-direction: column; }
    .mnf-bot-onboarding-actions .mnf-bot-button { width: 100%; }
}
