.page-system {
    --mc-dark: #123e35;
    --mc-tint: #f0f5f1;
    --bs-heading: #284e3a;
    --bs-text: #637264;
    --bs-line: #dce5d8;
    --bs-soft: #f1f5ed;
    --bs-panel: #fff;
}

.page-system h1,
.page-system h2,
.page-system h3 {
    letter-spacing: 0;
    text-wrap: balance;
}

/* The document already supplies scroll-padding for the public header. */
.page-system main section[id],
.page-system main .bs-wide-visual[id],
.page-system main .bs-story[id],
.page-system main .bs-collaboration[id],
.page-system main .bs-tools[id] {
    scroll-margin-top: calc(var(--site-header-height) - 28px);
}

.page-system main a:focus-visible,
.page-system main button:focus-visible,
.page-system main [role="tabpanel"]:focus-visible {
    outline: 3px solid #bca15a;
    outline-offset: 4px;
}

.page-system .mc-hero-grid {
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.1fr);
    gap: 38px;
    min-height: 640px;
}

.page-system .bs-hero h1 {
    font-size: clamp(35px, 3.8vw, 49px);
    line-height: 1.4;
}

.page-system .bs-hero h1 > span {
    margin-top: 13px;
    font-size: clamp(20px, 1.8vw, 24px);
    line-height: 1.65;
}

.page-system .bs-hero .mc-hero-description {
    font-size: 17px;
    line-height: 1.95;
}

.page-system .mc-hero-visual img {
    display: block;
    width: 100%;
    height: auto;
}

.page-system .mc-nav a {
    white-space: nowrap;
}

.bs-kicker {
    display: block;
    margin-bottom: 14px;
    color: #768456;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 1px;
}

.bs-soft {
    background: #f3f5ef;
}

.bs-wide-visual,
.bs-admin-visual {
    min-width: 0;
    width: 100%;
    margin: 0 auto;
}

.bs-principles,
.bs-page-types,
.bs-inline-features,
.bs-management-grid,
.bs-collaboration,
.bs-scenarios {
    display: grid;
    gap: 28px;
}

.bs-principles,
.bs-inline-features,
.bs-collaboration {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bs-page-types,
.bs-management-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.bs-scenarios {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bs-principles > *,
.bs-page-types > *,
.bs-inline-features > *,
.bs-management-grid > *,
.bs-collaboration > *,
.bs-scenarios > * {
    min-width: 0;
}

.bs-principles {
    margin-top: 38px;
    gap: 34px;
}

.bs-principles > * {
    padding: 25px 8px 4px;
    border-top: 1px solid var(--bs-line);
}

.bs-principles h3,
.bs-page-types h3,
.bs-inline-features h3,
.bs-management-grid h3,
.bs-collaboration h3,
.bs-scenarios h3 {
    margin: 12px 0 11px;
    color: var(--bs-heading);
    font-size: 21px;
    font-weight: 500;
    line-height: 1.6;
}

.bs-principles p,
.bs-page-types p,
.bs-inline-features p,
.bs-management-grid p,
.bs-collaboration p,
.bs-scenarios p {
    margin: 0;
    color: var(--bs-text);
    font-size: 15px;
    line-height: 1.9;
}

.bs-management-grid > * > span {
    color: #7c9066;
    font-size: 14px;
}

.bs-principles svg,
.bs-page-types svg,
.bs-inline-features svg,
.bs-management-grid svg,
.bs-collaboration svg,
.bs-scenarios svg {
    display: block;
    width: 30px;
    height: 30px;
    color: #5d8468;
    stroke-width: 1.5;
}

.bs-story {
    display: grid;
    grid-template-columns: minmax(0, .94fr) minmax(0, 1.14fr);
    align-items: center;
    gap: 52px;
}

.bs-story + .bs-story {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid var(--bs-line);
}

.bs-story > *,
.bs-story-copy,
.bs-visual {
    min-width: 0;
}

.bs-story-reverse {
    grid-template-columns: minmax(0, 1.14fr) minmax(0, .94fr);
}

.bs-story-reverse .bs-story-copy {
    grid-column: 2;
    grid-row: 1;
}

.bs-story-reverse > .bs-visual,
.bs-story-reverse > .mc-diagram {
    grid-column: 1;
    grid-row: 1;
}

.bs-story-copy h3,
.bs-extension-summary h3,
.bs-radar h3 {
    margin: 0 0 18px;
    color: var(--bs-heading);
    font-size: 29px;
    font-weight: 500;
    line-height: 1.55;
}

.bs-story-copy > p,
.bs-extension-summary p,
.bs-radar p {
    margin: 0 0 22px;
    color: var(--bs-text);
    font-size: 16px;
    line-height: 1.95;
}

.bs-story-copy .mc-check-list {
    gap: 15px;
    line-height: 1.85;
}

.bs-visual {
    width: 100%;
    margin: 0;
}

.bs-visual img,
.bs-visual picture {
    display: block;
    width: 100%;
    height: auto;
}

.bs-page-types {
    margin-top: 40px;
    gap: 20px;
}

.bs-page-types > * {
    padding: 24px 23px;
    background: #fafbf7;
    border: 1px solid #e1e8dc;
    border-radius: 8px;
}

.bs-page-types h3 {
    font-size: 19px;
}

.bs-page-types p {
    font-size: 14px;
}

.bs-inline-features {
    margin-top: 35px;
    gap: 28px 32px;
}

.bs-inline-features > * {
    padding-top: 23px;
    border-top: 1px solid var(--bs-line);
}

.bs-inline-features h3 {
    margin-top: 0;
    font-size: 20px;
}

.bs-inline-features strong {
    display: block;
    margin-bottom: 9px;
    color: var(--bs-heading);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.6;
}

.bs-inline-features span {
    display: block;
    color: var(--bs-text);
    font-size: 14px;
    line-height: 1.85;
}

.bs-inline-features svg + h3 {
    margin-top: 12px;
}

.bs-definition-list {
    display: grid;
    gap: 19px;
    margin: 25px 0 0;
}

.bs-definition-list > div {
    padding-left: 17px;
    border-left: 2px solid #b5c69f;
}

.bs-definition-list dt {
    margin: 0 0 6px;
    color: var(--bs-heading);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.6;
}

.bs-definition-list dd {
    margin: 0;
    color: var(--bs-text);
    font-size: 14px;
    line-height: 1.85;
}

.bs-membership-scope {
    margin-top: 34px;
    padding: 26px 30px;
    border-radius: 7px;
    background: #eef4e9;
}

.bs-membership-scope h3 {
    margin: 0 0 12px;
    color: var(--bs-heading);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.6;
}

.bs-membership-scope p {
    margin: 0;
    color: var(--bs-text);
    font-size: 15px;
    line-height: 1.9;
}

.bs-entitlements {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 18px;
    color: #466444;
    font-size: 14px;
    line-height: 1.8;
}

.bs-applications {
    --bs-heading: #eee3c4;
    --bs-text: #c4d3c2;
    --bs-line: #496a53;
    --bs-soft: #204b3b;
    --bs-panel: #1b4235;
    color: #dce6d8;
    background: radial-gradient(ellipse at 85% 20%, #395f4140, transparent 60%), #153e33;
}

.bs-applications .mc-heading h2,
.bs-applications .bs-story-copy h3 {
    color: var(--bs-heading);
}

.bs-applications .mc-heading p,
.bs-applications .bs-story-copy > p,
.bs-applications .mc-check-list {
    color: var(--bs-text);
}

.bs-applications .bs-kicker,
.bs-applications .mc-check-list li::before {
    color: #c2ce9f;
}

.bs-tool-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.13fr) minmax(0, .87fr);
    align-items: center;
    gap: 46px;
}

.bs-tool-intro > * {
    min-width: 0;
}

.bs-tool-intro .mc-diagram {
    padding: 16px;
    border: 1px solid #dbe4d0;
    border-radius: 11px;
    background: #f7f8f1;
}

.bs-tool-intro h3 {
    margin: 0 0 18px;
    color: var(--bs-heading);
    font-size: 29px;
    font-weight: 500;
    line-height: 1.55;
}

.bs-tool-intro p {
    margin: 0 0 24px;
    color: var(--bs-text);
    font-size: 16px;
    line-height: 1.95;
}

.bs-tool-intro .mc-check-list {
    gap: 15px;
    line-height: 1.85;
}

.bs-tools {
    margin-top: 45px;
}

.bs-tools > .mc-tab-list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 13px;
    margin-bottom: 30px;
}

.bs-tools .mc-tab-list a {
    min-width: 0;
    min-height: 66px;
    padding: 15px 10px;
    border: 1px solid var(--bs-line);
    border-radius: 6px;
    background: var(--bs-panel);
    color: var(--bs-heading);
    font-size: 17px;
    line-height: 1.6;
    text-align: center;
    transition: color .18s, background .18s, border-color .18s;
}

.bs-tools .mc-tab-list a[aria-selected="true"] {
    border-color: #305b43;
    background: #305b43;
    color: #fff;
}

.bs-applications .bs-tools .mc-tab-list a[aria-selected="true"] {
    border-color: #e1cf9c;
    background: #e1cf9c;
    color: #244231;
}

.bs-tools .mc-tab-list svg {
    width: 24px;
    height: 24px;
}

.bs-tools [data-product-panel] {
    min-width: 0;
    padding: 30px;
    border: 1px solid var(--bs-line);
    border-radius: 9px;
    background: var(--bs-panel);
}

.bs-tools [data-product-panel] > h3 {
    margin: 0 0 23px;
    color: var(--bs-heading);
    font-size: 23px;
    font-weight: 500;
}

.bs-tools [data-product-panel] > header {
    margin-bottom: 27px;
}

.bs-tools [data-product-panel] > header > span {
    display: block;
    margin-bottom: 8px;
    color: var(--bs-text);
    font-size: 13px;
    line-height: 1.7;
}

.bs-tools [data-product-panel] > header > h3 {
    margin: 0;
    color: var(--bs-heading);
    font-size: 25px;
    font-weight: 500;
    line-height: 1.6;
}

/* Keep the shared JavaScript's inactive panels in the equal-height grid. */
.bs-tools.mc-tabs-enhanced .mc-tab-panels {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
}

.bs-tools.mc-tabs-enhanced [data-product-panel] {
    grid-area: 1 / 1;
    align-self: stretch;
}

.bs-tools.mc-tabs-enhanced [data-product-panel][aria-hidden="true"] {
    visibility: hidden;
    pointer-events: none;
}

.bs-tool-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 32px;
    margin: 0;
}

.bs-tool-list > div {
    min-width: 0;
    padding-top: 16px;
    border-top: 1px solid var(--bs-line);
}

.bs-tool-list dt {
    margin: 0 0 8px;
    color: var(--bs-heading);
    font-size: 19px;
    font-weight: 500;
    line-height: 1.65;
}

.bs-tool-list dd {
    margin: 0;
    color: var(--bs-text);
    font-size: 14px;
    line-height: 1.85;
}

.bs-management-grid {
    margin-top: 38px;
    gap: 21px;
}

.bs-management-grid > * {
    padding: 26px 23px;
    background: #f5f7f0;
    border: 1px solid #e1e8da;
    border-radius: 8px;
}

.bs-management-grid h3 {
    font-size: 20px;
}

.bs-management-grid p {
    font-size: 14px;
}

.bs-collaboration {
    margin-top: 40px;
    padding-top: 35px;
    border-top: 1px solid var(--bs-line);
    gap: 35px;
}

.bs-collaboration > * {
    padding: 0 6px;
}

.bs-collaboration article > span,
.bs-extension-summary article > span {
    display: block;
    margin-bottom: 10px;
    color: #7d8b60;
    font-size: 13px;
    line-height: 1.7;
}

.bs-collaboration h3 {
    margin-top: 0;
}

.bs-collaboration svg + h3 {
    margin-top: 13px;
}

.bs-radar {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: 30px;
    margin-top: 37px;
    padding: 29px 31px;
    border-left: 3px solid #aabd8d;
    background: #f2f5eb;
    border-radius: 0 7px 7px 0;
}

.bs-radar h3 {
    margin-bottom: 0;
    font-size: 23px;
}

.bs-radar > strong {
    color: var(--bs-heading);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.8;
}

.bs-radar p {
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.85;
}

.bs-extension-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: 40px;
    margin-top: 35px;
}

.bs-extension-summary > * {
    min-width: 0;
}

.bs-extension-summary h3 {
    font-size: 25px;
}

.bs-extension-summary p {
    font-size: 15px;
    margin-bottom: 0;
}

.bs-scenarios {
    gap: 23px;
}

.bs-scenarios > * {
    padding: 31px 34px;
    background: #fff;
    border: 1px solid #e0e7db;
    border-radius: 9px;
}

.bs-scenarios h3 {
    font-size: 24px;
}

.bs-scenarios article > span {
    display: block;
    color: #829065;
    font-size: 13px;
    line-height: 1.7;
}

.bs-scenarios article > div {
    margin-top: 20px;
    padding-top: 17px;
    border-top: 1px solid #e1e8da;
    color: #657d50;
    font-size: 14px;
    line-height: 1.9;
    text-wrap: balance;
}

.bs-scenarios ul,
.bs-scenarios ol {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 12px;
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
    color: #55704d;
    font-size: 13px;
    line-height: 1.7;
}

.bs-scenarios li {
    padding: 5px 10px;
    border-radius: 4px;
    background: #f0f4e9;
}

.page-system .mc-diagram-dialog.is-zoomed img {
    width: auto;
}

@media (max-width: 1100px) {
    .page-system .mc-hero-grid {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
        gap: 16px;
    }

    .page-system .mc-hero-visual {
        max-width: 720px;
    }

    .bs-story,
    .bs-story-reverse,
    .bs-tool-intro {
        gap: 30px;
    }

    .bs-story-copy h3 {
        font-size: 26px;
    }

    .bs-tool-intro h3 {
        font-size: 26px;
    }

    .bs-page-types,
    .bs-management-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bs-principles,
    .bs-inline-features,
    .bs-collaboration {
        gap: 24px;
    }

    .bs-tools .mc-tab-list a {
        font-size: 15px;
        gap: 8px;
    }

    .bs-tools [data-product-panel] {
        padding: 25px;
    }

    .bs-tool-list {
        gap: 25px;
    }

    .bs-scenarios > * {
        padding: 28px;
    }
}

@media (max-width: 700px) {
    .page-system main section[id],
    .page-system main .bs-wide-visual[id],
    .page-system main .bs-story[id],
    .page-system main .bs-collaboration[id],
    .page-system main .bs-tools[id] {
        scroll-margin-top: calc(var(--site-header-height) + 10px);
    }

    .page-system .bs-hero h1 {
        font-size: clamp(29px, 7.8vw, 36px);
    }

    .page-system .bs-hero h1 > span {
        margin-top: 10px;
        font-size: 19px;
    }

    .page-system .bs-hero .mc-hero-description {
        font-size: 15px;
        line-height: 1.9;
    }

    .page-system .mc-nav > .container {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 4px;
    }

    .page-system .mc-nav a {
        min-height: 35px;
        padding-inline: 2px;
        font-size: 12px;
    }

    .bs-kicker {
        margin-bottom: 11px;
        font-size: 12px;
        letter-spacing: .6px;
    }

    .bs-principles {
        grid-template-columns: minmax(0, 1fr);
        margin-top: 27px;
        gap: 22px;
    }

    .bs-principles > * {
        padding: 21px 1px 0;
    }

    .bs-principles h3,
    .bs-collaboration h3 {
        font-size: 20px;
    }

    .bs-principles p,
    .bs-inline-features p,
    .bs-collaboration p,
    .bs-scenarios p {
        font-size: 14px;
    }

    .bs-story,
    .bs-story-reverse {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 25px;
    }

    .bs-story + .bs-story {
        margin-top: 38px;
        padding-top: 38px;
    }

    .bs-story-copy h3 {
        margin-bottom: 15px;
        font-size: 25px;
    }

    .bs-story-copy > p {
        margin-bottom: 20px;
        font-size: 15px;
    }

    .bs-page-types {
        margin-top: 28px;
        gap: 13px;
    }

    .bs-page-types > *,
    .bs-management-grid > * {
        padding: 21px 18px;
    }

    .bs-page-types h3,
    .bs-management-grid h3 {
        font-size: 18px;
    }

    .bs-page-types p,
    .bs-management-grid p {
        font-size: 13px;
        line-height: 1.85;
    }

    .bs-inline-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 28px;
        gap: 23px 21px;
    }

    .bs-inline-features h3 {
        font-size: 19px;
    }

    .bs-inline-features strong {
        font-size: 19px;
    }

    .bs-definition-list {
        gap: 18px;
        margin-top: 22px;
    }

    .bs-definition-list dt {
        font-size: 17px;
    }

    .bs-membership-scope {
        margin-top: 24px;
        padding: 22px 20px;
    }

    .bs-membership-scope h3 { font-size: 18px; }
    .bs-membership-scope p { font-size: 14px; }
    .bs-entitlements { gap: 8px 16px; font-size: 13px; }

    .bs-tool-intro {
        grid-template-columns: minmax(0, 1fr);
        gap: 27px;
    }

    .bs-tool-intro .mc-diagram {
        padding: 9px;
        border-radius: 8px;
    }

    .bs-tool-intro h3 {
        font-size: 25px;
    }

    .bs-tool-intro p {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .bs-tools {
        margin-top: 30px;
    }

    .bs-tools > .mc-tab-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 9px;
        margin-bottom: 21px;
    }

    .bs-tools .mc-tab-list a {
        flex-direction: column;
        min-height: 78px;
        padding: 12px 5px;
        gap: 8px;
        font-size: 13px;
    }

    .bs-tools .mc-tab-list svg {
        width: 23px;
        height: 23px;
    }

    .bs-tools [data-product-panel] {
        padding: 23px 19px;
    }

    .bs-tools [data-product-panel] > h3 {
        margin-bottom: 20px;
        font-size: 21px;
    }

    .bs-tools [data-product-panel] > header {
        margin-bottom: 23px;
    }

    .bs-tools [data-product-panel] > header > h3 {
        font-size: 22px;
    }

    .bs-tool-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 21px;
    }

    .bs-tool-list > div {
        padding-top: 14px;
    }

    .bs-tool-list dt {
        margin-bottom: 7px;
        font-size: 17px;
    }

    .bs-tool-list dd {
        font-size: 13px;
        line-height: 1.85;
    }

    .bs-management-grid {
        margin-top: 27px;
        gap: 13px;
    }

    .bs-collaboration {
        grid-template-columns: minmax(0, 1fr);
        margin-top: 29px;
        padding-top: 28px;
        gap: 26px;
    }

    .bs-collaboration > * {
        padding: 0;
    }

    .bs-radar {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        margin-top: 28px;
        padding: 23px 22px;
    }

    .bs-radar h3 {
        font-size: 21px;
    }

    .bs-radar > strong {
        font-size: 17px;
    }

    .bs-extension-summary {
        grid-template-columns: minmax(0, 1fr);
        margin-top: 28px;
        gap: 25px;
    }

    .bs-extension-summary h3 {
        margin-bottom: 12px;
        font-size: 23px;
    }

    .bs-extension-summary p {
        font-size: 14px;
    }

    .bs-scenarios {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .bs-scenarios > * {
        padding: 26px;
    }

    .bs-scenarios h3 {
        font-size: 23px;
    }
}

@media (max-width: 370px) {
    .page-system .mc-nav a {
        font-size: 11px;
    }

    .bs-page-types,
    .bs-inline-features,
    .bs-management-grid,
    .bs-tool-list {
        grid-template-columns: minmax(0, 1fr);
    }

    .bs-page-types > *,
    .bs-management-grid > * {
        padding: 21px;
    }

    .bs-tools > .mc-tab-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bs-tools .mc-tab-list a {
        flex-direction: row;
        min-height: 60px;
        padding-inline: 9px;
        font-size: 12px;
    }

    .bs-tools .mc-tab-list svg {
        width: 21px;
        height: 21px;
    }

    .bs-tool-list {
        gap: 20px;
    }

    .bs-tool-list dt {
        font-size: 18px;
    }

    .bs-tool-list dd {
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bs-tools .mc-tab-list a,
}
