/* ==================================================
   WAVEMIND
   C-001 THE CHOICE MACHINE
   PROTOTYPE v0.3
   ================================================== */


/* ==================================================
   RESET
   ================================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    background: #edf2f7;
    color: #182230;
}



/* ==================================================
   TOP BAR
   ================================================== */

.topbar {
    height: 56px;

    padding: 0 34px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: #0f1b2d;
    color: white;
}

.brand {
    font-size: 23px;
    font-weight: 750;

    letter-spacing: -0.5px;
}

.discovery-code {
    font-size: 13px;
    font-weight: 600;

    color: #b9c6d6;
}



/* ==================================================
   DISCOVERY SHELL
   ================================================== */

.discovery-shell {
    height: calc(100vh - 56px);

    padding: 14px;

    display: flex;
    align-items: stretch;
    justify-content: center;

    overflow: hidden;
}

.discovery-card {
    width: min(1180px, 100%);
    height: 100%;

    min-height: 0;

    display: grid;

    grid-template-rows:
        auto
        minmax(0, 1fr)
        176px
        38px;

    background: white;

    border: 1px solid #dbe2ea;
    border-radius: 22px;

    overflow: hidden;

    box-shadow:
        0 16px 50px
        rgba(20, 35, 55, 0.08);
}



/* ==================================================
   TITLE
   ================================================== */

.discovery-heading {
    padding: 14px 28px 12px;

    text-align: center;

    border-bottom: 1px solid #e3e8ee;
}

.eyebrow {
    margin-bottom: 3px;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.7px;

    color: #6483a2;
}

.discovery-heading h1 {
    margin: 0;

    font-size: 27px;
    letter-spacing: -0.8px;
}

.discovery-heading p {
    margin: 5px 0 0;

    font-size: 13px;

    color: #687789;
}



/* ==================================================
   MAIN WORKSPACE
   ================================================== */

.workspace {
    min-height: 0;

    padding: 12px 16px;

    display: grid;

    grid-template-columns:
        minmax(220px, 0.9fr)
        minmax(250px, 1fr)
        minmax(290px, 1.2fr);

    gap: 12px;

    overflow: hidden;
}



/* ==================================================
   COMMON PANELS
   ================================================== */

.panel {
    min-width: 0;
    min-height: 0;

    display: flex;
    flex-direction: column;

    background: #f8fafc;

    border: 1px solid #e0e6ec;
    border-radius: 15px;

    overflow: hidden;
}

.panel-title-row {
    min-height: 38px;

    padding: 10px 14px 7px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.panel-title {
    font-size: 13px;
    font-weight: 750;

    color: #33485d;
}


/* internal scrolling */

.panel-scroll {
    min-height: 0;

    overflow-y: auto;
    overflow-x: hidden;

    scrollbar-width: thin;
}



/* ==================================================
   CHOICE PANEL
   ================================================== */

.choice-scroll {
    padding: 4px 14px 14px;
}

.choice-group {
    margin-bottom: 13px;
}

.choice-group:last-child {
    margin-bottom: 0;
}

.choice-label {
    margin: 0 0 6px;

    font-size: 12px;
    font-weight: 650;

    color: #6a7989;
}

.choice-buttons {
    display: grid;

    gap: 6px;
}

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

.choice-button {
    width: 100%;
    min-height: 42px;

    padding: 7px 10px;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    gap: 8px;

    border: 1px solid #d3dce5;
    border-radius: 9px;

    background: white;
    color: #26384b;

    font-size: 12px;
    font-weight: 650;

    cursor: pointer;

    transition:
        border-color 0.15s ease,
        background 0.15s ease,
        box-shadow 0.15s ease;
}

.choice-button:hover {
    border-color: #8ba8c4;
}

.choice-button.selected {
    border-color: #1976d2;

    background: #edf6ff;

    box-shadow:
        inset 0 0 0 1px #1976d2;
}

.button-icon {
    min-width: 33px;

    text-align: center;

    color: #27445f;
}



/* ==================================================
   ROBOT PANEL
   ================================================== */

.robot-panel {
    padding-bottom: 10px;
}

.robot-display {
    min-height: 0;
    flex: 1;

    margin: 0 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: white;

    border: 1px solid #dfe5ec;
    border-radius: 13px;

    overflow: hidden;
}

.empty-robot {
    text-align: center;

    color: #8190a0;
}

.empty-robot p {
    margin: 6px 0 0;

    font-size: 12px;
}

.empty-icon {
    width: 58px;
    height: 58px;

    margin: auto;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 2px dashed #cad4de;
    border-radius: 50%;

    font-size: 25px;

    color: #a0adba;
}



/* ==================================================
   MAIN ROBOT
   ================================================== */

.robot-stage {
    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;
}

.robot-head {
    width: 82px;
    height: 61px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 3px;

    border: 3px solid #18324a;

    font-size: 22px;
}

.robot-body {
    width: 103px;
    height: 73px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 3px solid #18324a;

    font-size: 24px;
}



/* head variations */

.head-A {
    background: #74cfd0;

    border-radius: 20px;
}

.head-B {
    background: #f2a752;

    border-radius:
        34px 34px 13px 13px;
}

.head-C {
    background: #9983da;

    border-radius: 11px;
}


/* body variations */

.body-1 {
    background: #75ced0;

    border-radius: 16px;
}

.body-2 {
    background: #efad59;

    border-radius:
        27px 27px 14px 14px;
}



/* ==================================================
   BUILD BUTTON
   ================================================== */

.build-button {
    width: calc(100% - 24px);

    min-height: 40px;

    margin: 8px 12px 0;

    flex-shrink: 0;

    border: none;
    border-radius: 9px;

    background: #176fc1;
    color: white;

    font-size: 12px;
    font-weight: 750;

    letter-spacing: 0.3px;

    cursor: pointer;
}

.build-button:hover {
    background: #1264b0;
}

.build-message {
    height: 20px;

    padding-top: 4px;

    flex-shrink: 0;

    text-align: center;

    font-size: 11px;
    font-weight: 650;
}

.build-message.success {
    color: #277455;
}

.build-message.duplicate {
    color: #896a27;
}

.build-message.warning {
    color: #a34a4a;
}



/* ==================================================
   COLLECTION
   ================================================== */

.robot-count {
    width: 25px;
    height: 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #e8f1fa;
    color: #35638e;

    font-size: 11px;
    font-weight: 750;
}

.robot-gallery {
    min-height: 0;
    flex: 1;

    padding: 4px 11px 11px;

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    grid-auto-rows: 105px;

    gap: 7px;

    align-content: start;
}

.empty-collection {
    grid-column: 1 / -1;

    min-height: 145px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    color: #8998a7;

    font-size: 12px;
}



/* ==================================================
   MINI ROBOTS
   ================================================== */

.mini-robot {
    min-width: 0;
    min-height: 0;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    background: white;

    border: 1px solid #dfe5eb;
    border-radius: 10px;

    overflow: hidden;
}

.mini-head {
    width: 40px;
    height: 29px;

    margin-bottom: 2px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 2px solid #18324a;

    font-size: 10px;
}

.mini-body {
    width: 49px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 2px solid #18324a;

    font-size: 12px;
}



/* ==================================================
   THINKING PANEL
   ================================================== */

.thinking-panel {
    min-height: 0;

    margin: 0 16px 10px;

    background: #f2f6fa;

    border: 1px solid #d6e0e9;
    border-radius: 14px;

    overflow: hidden;
}

.thinking-scroll {
    width: 100%;
    height: 100%;

    padding: 14px 18px;

    overflow-y: auto;
    overflow-x: hidden;

    scrollbar-width: thin;
}

.thinking-content {
    min-height: 100%;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;
}

.thinking-label {
    margin-bottom: 4px;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1.6px;

    color: #5d7c9b;
}

.thinking-text {
    font-size: 16px;
    font-weight: 650;

    color: #26384b;
}

.thinking-text span {
    display: block;

    margin-top: 3px;

    font-size: 12px;
    font-weight: 450;

    color: #68798b;
}



/* ==================================================
   PAUSE
   ================================================== */

.pause-layout,
.all-found-message {
    min-height: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 22px;
}

.all-found-message h3 {
    margin: 0 0 4px;

    font-size: 17px;
}

.all-found-message p {
    max-width: 650px;

    margin: 0;

    font-size: 12px;
    line-height: 1.45;

    color: #647487;
}



/* ==================================================
   SECONDARY BUTTON
   ================================================== */

.secondary-button {
    flex-shrink: 0;

    padding: 10px 14px;

    border: 1px solid #8fa9c1;
    border-radius: 9px;

    background: white;
    color: #34526e;

    font-size: 11px;
    font-weight: 750;

    cursor: pointer;
}

.secondary-button:hover {
    background: #edf4fa;
}



/* ==================================================
   ORGANISATION VIEW
   ================================================== */

.organisation-layout {
    min-height: 100%;

    display: grid;

    grid-template-columns:
        minmax(145px, 0.7fr)
        minmax(300px, 1.4fr)
        minmax(160px, 0.8fr);

    align-items: center;

    gap: 18px;
}

.organisation-intro h3 {
    margin: 0;

    font-size: 15px;
}

.organisation-intro p {
    margin: 4px 0 0;

    font-size: 12px;

    color: #68798b;
}

.organisation-main {
    min-width: 0;

    overflow-x: auto;
}



/* ==================================================
   GRID
   ================================================== */

.choice-grid {
    min-width: 300px;

    display: grid;

    grid-template-columns:
        72px
        minmax(90px, 1fr)
        minmax(90px, 1fr);

    gap: 5px;
}

.grid-label {
    min-height: 32px;

    padding: 4px 6px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #e4ebf2;

    border-radius: 6px;

    font-size: 10px;
    font-weight: 700;

    color: #506579;
}

.row-label {
    justify-content: flex-start;

    padding-left: 9px;
}

.grid-corner {
    background: transparent;
}

.grid-cell {
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 6px;
}

.discovered-cell {
    background: white;

    border: 1px solid #d5dfe8;
}

.missing-cell {
    background: #f8fafc;

    border: 1px dashed #c9d4de;

    font-size: 18px;
    font-weight: 750;

    color: #a3afba;
}



/* smaller robot inside grid */

.grid-cell .mini-robot {
    width: 100%;
    height: 100%;

    border: none;
    border-radius: 0;

    background: transparent;
}

.grid-cell .mini-head {
    width: 27px;
    height: 18px;

    font-size: 6px;

    border-width: 1px;
}

.grid-cell .mini-body {
    width: 33px;
    height: 20px;

    font-size: 7px;

    border-width: 1px;
}



/* ==================================================
   ORGANISATION QUESTION
   ================================================== */

.organisation-question {
    font-size: 12px;

    color: #516579;
}

.organisation-question p {
    margin: 3px 0 8px;

    line-height: 1.45;
}

.small-note {
    font-size: 11px;

    color: #8190a0;
}



/* ==================================================
   REFLECTION
   ================================================== */

.reflection-layout {
    min-height: 100%;

    display: grid;

    grid-template-columns:
        minmax(230px, 1fr)
        minmax(260px, 1.3fr)
        auto;

    align-items: center;

    gap: 14px;
}

.reflection-question h3 {
    margin: 0;

    font-size: 16px;
}

.reflection-question p {
    margin: 4px 0 0;

    font-size: 11px;
    line-height: 1.4;

    color: #6b7b8c;
}

.reflection-layout textarea {
    width: 100%;
    height: 86px;

    padding: 10px;

    resize: none;

    border: 1px solid #cbd6e0;
    border-radius: 9px;

    outline: none;

    font-family: inherit;
    font-size: 12px;
}

.reflection-layout textarea:focus {
    border-color: #6e96ba;
}

.reflection-layout textarea.needs-answer {
    border-color: #b55a5a;
}

.continue-button {
    padding: 10px 14px;

    border: none;
    border-radius: 9px;

    background: #176fc1;
    color: white;

    font-size: 11px;
    font-weight: 750;

    cursor: pointer;
}



/* ==================================================
   REVEAL
   ================================================== */

.reveal-layout {
    min-height: 100%;

    display: grid;

    grid-template-columns:
        minmax(300px, 1fr)
        minmax(300px, 1fr);

    align-items: center;

    gap: 26px;
}

.reveal-copy h3 {
    margin: 0;

    font-size: 16px;
}

.reveal-copy p {
    margin: 4px 0 0;

    font-size: 12px;

    color: #68798b;
}

.math-reveal {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 9px;
}

.math-box {
    min-height: 60px;

    padding: 8px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    background: white;

    border: 1px solid #d8e2eb;
    border-radius: 9px;

    font-size: 16px;
}

.math-box strong {
    font-size: 19px;

    color: #176fc1;
}



/* ==================================================
   STATUS BAR
   ================================================== */

.status-bar {
    min-height: 38px;

    padding: 0 18px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-top: 1px solid #e3e8ee;

    font-size: 10px;

    color: #718092;
}

.status-text {
    display: flex;
    align-items: center;

    gap: 7px;
}

.status-dot {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #4ba377;
}

.progress-text {
    font-weight: 650;
}



/* ==================================================
   BELOW-DISCOVERY MATERIAL
   ================================================== */

.after-discovery {
    padding: 65px 22px 90px;

    background: white;

    border-top: 1px solid #e3e8ee;
}

.after-discovery.hidden {
    display: none;
}

.support-shell {
    width: min(1050px, 100%);

    margin: auto;
}

.support-heading {
    max-width: 680px;

    margin-bottom: 32px;
}

.support-heading h2 {
    margin: 4px 0 9px;

    font-size: 30px;
    letter-spacing: -0.8px;
}

.support-heading p {
    margin: 0;

    font-size: 15px;
    line-height: 1.6;

    color: #657487;
}

.support-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 16px;
}

.support-card {
    min-height: 200px;

    padding: 22px;

    background: #f8fafc;

    border: 1px solid #dfe5eb;
    border-radius: 15px;
}

.support-number {
    margin-bottom: 17px;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.4px;

    color: #6c8baa;
}

.support-card h3 {
    margin: 0 0 8px;

    font-size: 17px;
}

.support-card p {
    margin: 0;

    font-size: 13px;
    line-height: 1.55;

    color: #667588;
}



/* ==================================================
   TABLET
   On small screens we deliberately allow
   the page to become vertically scrollable.
   ================================================== */

@media (max-width: 900px) {

    .discovery-shell {
        height: auto;

        min-height: calc(100vh - 56px);

        overflow: visible;
    }

    .discovery-card {
        height: auto;

        display: block;

        overflow: visible;
    }

    .workspace {
        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        overflow: visible;
    }

    .collection-panel {
        grid-column: 1 / -1;

        min-height: 260px;
    }

    .robot-gallery {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .thinking-panel {
        min-height: 190px;
    }

    .organisation-layout {
        grid-template-columns: 1fr;
    }

    .reflection-layout {
        grid-template-columns: 1fr;
    }

    .reveal-layout {
        grid-template-columns: 1fr;
    }

    .support-grid {
        grid-template-columns: 1fr;
    }

}



/* ==================================================
   MOBILE
   ================================================== */

@media (max-width: 600px) {

    .topbar {
        padding: 0 16px;
    }

    .discovery-shell {
        padding: 8px;
    }

    .workspace {
        grid-template-columns: 1fr;
    }

    .collection-panel {
        grid-column: auto;
    }

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

    .pause-layout,
    .all-found-message {
        flex-direction: column;

        justify-content: center;

        text-align: center;
    }

    .math-reveal {
        grid-template-columns: 1fr;
    }

}
/* Shared Discovery Player. Experience styles above retain their original layout. */
.player-navigation {
    padding: 12px max(16px, calc((100% - 1152px) / 2));
    background: #f8fafc;
    border-bottom: 1px solid #dbe2ea;
}
.player-summary { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: #33485d; }
.experience-completion:not([hidden]) { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 10px; font-size: 12px; color: #276347; }
#continueAvailability { color: #687789; font-size: 11px; }
#continueExperience:disabled { color: #687789; border-color: #d3dce5; background: #f8fafc; cursor: default; }
.player-navigation p { margin: 0; font-size: 11px; color: #687789; line-height: 1.5; }
#storageMessage { color: #a34a4a; }
.reset-discovery { margin-top: 5px; padding: 2px 0; border: 0; background: transparent; color: #687789; font: inherit; font-size: 11px; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.reset-discovery:hover { color: #26384b; }
button:focus-visible { outline: 2px solid #1976d2; outline-offset: 2px; }
@media (max-width: 600px) {
    .player-summary { flex-direction: column; gap: 4px; }
}

.support-choice { margin-top: 6px; }
.scaffold-options { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
#scaffoldFeedback { margin: 8px 0 0; font-size: 12px; color: #a34a4a; }

/* Experience 2 uses its own layout; the original robot experience is unchanged. */
.bigger-shell { padding: 24px 16px 48px; }
.bigger-card { max-width: 850px; margin: auto; padding: 28px; background: white; border: 1px solid #dbe2ea; border-radius: 22px; }
.bigger-card h1 { margin: 6px 0 24px; }
.bigger-content { display: grid; gap: 16px; line-height: 1.6; }
.bigger-content p { margin: 0; }
.bigger-content label { display: grid; gap: 8px; font-weight: 600; }
.bigger-content input, .bigger-content select, .bigger-content textarea { padding: 10px; border: 1px solid #8fa9c1; border-radius: 8px; font: inherit; width: 100%; box-sizing: border-box; }
.bigger-content textarea { min-height: 100px; }
.bigger-content input { max-width: 200px; }
.bigger-choices, .bigger-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.bigger-groups div { padding: 14px; border: 1px solid #dbe2ea; border-radius: 10px; background: #f8fafc; }
.bigger-groups span { display: block; font-size: 13px; }
.bigger-preview { padding: 16px; background: #edf6ff; border-radius: 10px; text-align: center; }
.bigger-collection { display: flex; flex-wrap: wrap; gap: 10px; }
.bigger-robot { display: flex; align-items: center; flex-direction: column; padding: 8px; }
.bigger-robot .head-D { background: #a5d998; border-radius: 10px; }
.bigger-robot .body-3 { background: #acc6ed; border-radius: 5px; }
.bigger-math { font-size: 24px; font-weight: 700; color: #176fc1; }
#biggerFeedback { font-size: 14px; line-height: 1.5; }
#previousExperience { margin-right: 14px; }
@media (max-width: 600px) {
    .bigger-card { padding: 18px; }
    .bigger-choices, .bigger-groups { grid-template-columns: 1fr; }
}

#resetStep { margin-right: 14px; }

/* Step 3: each nested branch represents an actual successive choice. */
.third-card { max-width: 1100px; }
.third-heads { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; padding: 0; list-style: none; }
.third-tree ul ul { list-style: none; padding-left: 12px; border-left: 2px solid #8fa9c1; }
.third-tree li li { position: relative; margin: 12px 0; font-size: 12px; }
.third-tree li li::before { content: ''; position: absolute; left: -12px; top: 10px; width: 9px; border-top: 2px solid #8fa9c1; }
.third-tree button { display: block; white-space: normal; padding: 6px; font-size: 11px; }
.third-leaves li { background: #edf6ff; padding: 4px; border-radius: 4px; }
#thirdFeedback { line-height: 1.5; }
@media(max-width:900px){ .third-heads { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:600px){ .third-heads { grid-template-columns:1fr; } }

/* Compact Step 3 structure: expand one head, then compare repeated groups. */
.third-single-head { margin: 16px auto 0; width: max-content; padding: 10px 24px; background: #edf6ff; border: 1px solid #8fa9c1; border-radius: 8px; }
.third-body-branches { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin-top: 22px; border-top: 2px solid #8fa9c1; }
.third-body-branch { display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 18px; position: relative; }
.third-body-branch::before { content: ''; height: 16px; border-left: 2px solid #8fa9c1; position: absolute; top: 0; }
.third-antennae { display: flex; gap: 8px; border-top: 1px solid #8fa9c1; padding-top: 10px; font-size: 12px; }
.third-antennae span { padding: 4px 8px; background: #edf6ff; border-radius: 4px; }
.third-subtotal { padding-top: 24px; text-align: center; }
.third-repeat { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin-top: 12px; }
.third-repeat div { display: grid; gap: 8px; padding: 14px; border: 1px solid #8fa9c1; border-radius: 8px; background: #f8fafc; }
.third-repeat span { font-size: 12px; }
@media(max-width:600px) { .third-body-branches { grid-template-columns: 1fr; } .third-repeat { grid-template-columns: repeat(2,minmax(0,1fr)); } }

/* Shared attention priority is independent of interaction availability. */
[data-ux="active"] { outline: none; }
[data-ux="completed"] { background-color: #f8fafc; }
[data-ux="upcoming"] { color: #687789; }
.ux-primary { background: #176fc1 !important; color: white !important; border-color: #176fc1 !important; font-weight: 700; padding: 11px 18px; }
.ux-secondary, .ux-help { background: transparent !important; color: #516579 !important; border: 1px solid #d3dce5; box-shadow: none; }
.ux-help { justify-self: start; font-size: 12px; margin-top: 4px; }
.ux-question { font-size: 19px; font-weight: 650; line-height: 1.5; }
.ux-concept, .ux-number { padding: 20px 0; }
.ux-concept[data-ux="completed"] { padding: 12px; border-radius: 8px; }
.ux-concept[data-ux="completed"] .ux-question { font-size: 14px; font-weight: 500; }
.ux-concept[data-ux="completed"] button { padding: 6px 10px; font-size: 11px; }
.ux-number label { font-size: 18px; }
.ux-number button { margin-top: 12px; }
.ux-review { margin-top: 18px; padding: 12px; border-top: 1px solid #dbe2ea; font-size: 13px; line-height: 1.5; }
.ux-review summary { cursor: pointer; color: #516579; }
.experience-completion:not([hidden]) { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; max-width: 1050px; margin: 24px auto; padding: 24px; border-top: 1px solid #dbe2ea; color: #26384b; background: white; }
#continueExperience, #testingContinue { background: #176fc1; color: white; padding: 12px 22px; font-weight: 700; }
#completionTakeaway { margin: 0; line-height: 1.5; }
#reflectionGuidance { font-size: 12px; }
.workspace[data-ux="completed"] .robot-display { background: #f8fafc; }
.thinking-panel[data-ux="active"] { border-color: #8fa9c1; }
@media(prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }

.thinking-panel:has(.ux-review) { overflow-y: auto; }
.third-groups[data-ux="completed"] .third-repeat div { background: transparent; border-color: #dbe2ea; padding: 10px; }
.third-groups[data-ux="completed"] { font-size: 13px; }

.third-support { padding: 18px 0; }
.third-support h2 { font-size: 21px; margin: 4px 0 20px; }
.third-support label { font-size: 18px; line-height: 1.5; }
.third-support button { display: inline-block; width: auto; margin-top: 12px; }
.third-support ~ .ux-review { font-size: 12px; }

/* Discovery Player v1 grammar, currently adopted by Step 3. */
.wm-screen { max-width: 1160px; margin: 0 auto; padding: 20px; }
.wm-screen h1 { font-size: 26px; margin: 0 0 20px; }
.wm-layout { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(300px,1fr); gap: 24px; align-items: start; }
.wm-workspace { position: sticky; top: 16px; padding: 20px; background: white; border: 1px solid #dbe2ea; border-radius: 14px; }
.wm-thinking { min-width: 0; padding: 20px; background: white; border: 1px solid #dbe2ea; border-radius: 14px; line-height: 1.6; }
.wm-thinking label { display: grid; gap: 10px; font-weight: 600; }
.wm-thinking input { width: 130px; max-width: 100%; padding: 10px; border: 1px solid #8fa9c1; border-radius: 8px; font: inherit; }
.wm-thinking button { width: auto; margin: 10px 6px 4px 0; }
.wm-thinking h2 { font-size: 19px; }
.wm-thinking .bigger-math { font-size: 21px; }
.wm-trail { margin-top: 20px; border-top: 1px solid #dbe2ea; padding: 12px 0; color: #516579; font-size: 13px; }
.wm-trail h2 { font-size: 13px; font-weight: 650; }
.wm-trail ol { padding-left: 20px; line-height: 1.8; }
.wm-workspace .third-repeat { grid-template-columns:repeat(2,minmax(0,1fr)); }
.wm-workspace .third-body-branches { gap: 8px; }
.wm-workspace .third-antennae { flex-wrap: wrap; justify-content: center; }
.wm-workspace[data-support="0"] .third-antennae { visibility: hidden; }
.wm-workspace[data-support="0"] .third-subtotal,
.wm-workspace[data-support="1"] .third-subtotal,
.wm-workspace[data-support="2"] .third-subtotal,
.wm-workspace[data-support="0"] .wm-later-total,
.wm-workspace[data-support="1"] .wm-later-total,
.wm-workspace[data-support="2"] .wm-later-total { visibility: hidden; }
.wm-workspace[data-support="0"] .third-body-branch > strong { text-decoration: underline; text-underline-offset: 4px; }
.wm-workspace[data-support="1"] .third-antennae { border-color: #176fc1; }
.wm-optional-total { margin-top: 12px; font-size: 13px; }
.wm-optional-total summary { cursor: pointer; color: #516579; }
.developer-tools { font-size: 11px; color: #687789; margin-top: 8px; }
.developer-tools { border:1px dashed #64748b; background:#f0f3f7; border-radius:8px; padding:8px 12px; }
.developer-tools > summary { font-weight:700; letter-spacing:.04em; text-transform:uppercase; }
.profile-menu { position:relative; font-size:13px; color:#e6edf5; }
.profile-menu summary { cursor:pointer; }
.profile-menu[open] { z-index:20; }
.profile-menu a { display:block; padding:7px 10px; background:#fff; color:#17364d; text-decoration:none; white-space:nowrap; }
.profile-menu a:hover,.profile-menu a:focus-visible { background:#e8f0f5; }
.topbar { gap:18px; }
.topbar .discovery-code { flex:1; min-width:0; text-align:center; }
.topbar .member-return { margin-left:0; white-space:nowrap; }
.pilot-feedback-anchor { position:relative; }
.pilot-feedback-open { border:1px solid rgba(255,255,255,.45); border-radius:999px; padding:7px 12px; background:transparent; color:#fff; font:inherit; font-size:13px; font-weight:700; white-space:nowrap; cursor:pointer; }
.pilot-feedback-open:hover,.pilot-feedback-open:focus-visible { background:#fff; color:#17364d; outline:none; }
.pilot-feedback-coach { position:absolute; top:calc(100% + 14px); right:0; z-index:90; width:310px; padding:16px 42px 16px 17px; border:1px solid #aebfc7; border-radius:13px; background:#fff; color:#17364d; box-shadow:0 12px 36px rgba(15,27,45,.2); animation:pilot-coach-in .22s ease-out both; }
.pilot-feedback-coach[hidden] { display:none; }
.pilot-feedback-coach::before { content:""; position:absolute; top:-8px; right:42px; width:14px; height:14px; border-left:1px solid #aebfc7; border-top:1px solid #aebfc7; background:#fff; transform:rotate(45deg); }
.pilot-feedback-coach strong,.pilot-feedback-coach span { display:block; line-height:1.42; }
.pilot-feedback-coach strong { font-size:14px; }
.pilot-feedback-coach span { margin-top:5px; color:#4a6271; font-size:13px; }
.pilot-feedback-coach-close { position:absolute; top:7px; right:8px; width:30px; height:30px; border:0; border-radius:50%; background:transparent; color:#526b79; font-size:23px; line-height:1; cursor:pointer; }
.pilot-feedback-coach-close:hover,.pilot-feedback-coach-close:focus-visible { background:#edf3f5; outline:2px solid #527487; }
@keyframes pilot-coach-in { from { opacity:0; transform:translateY(-5px); } to { opacity:1; transform:translateY(0); } }
.pilot-feedback-sheet { position:fixed; right:24px; bottom:24px; z-index:80; width:min(410px,calc(100vw - 32px)); padding:25px 26px 22px; border:1px solid #b8c7ce; border-radius:18px; background:#fff; color:#17364d; box-shadow:0 18px 55px rgba(15,27,45,.22); }
.pilot-feedback-sheet[hidden] { display:none; }
.pilot-feedback-sheet h2 { margin:3px 34px 8px 0; font-size:25px; line-height:1.15; }
.pilot-feedback-sheet > p:not(.pilot-feedback-eyebrow) { margin:0 0 19px; color:#40596a; line-height:1.5; }
.pilot-feedback-eyebrow { margin:0; color:#527487; font-size:11px; font-weight:800; letter-spacing:.1em; }
.pilot-feedback-close { position:absolute; top:12px; right:14px; width:34px; height:34px; border:0; border-radius:50%; background:transparent; color:#40596a; font-size:27px; line-height:1; cursor:pointer; }
.pilot-feedback-close:hover,.pilot-feedback-close:focus-visible { background:#edf3f5; outline:2px solid #527487; }
.pilot-feedback-actions { display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
.pilot-feedback-primary,.pilot-feedback-actions a { min-height:42px; padding:10px 15px; border-radius:9px; font:inherit; font-weight:750; cursor:pointer; text-decoration:none; }
.pilot-feedback-primary { border:1px solid #17364d; background:#17364d; color:#fff; }
.pilot-feedback-actions a { border:1px solid #8ca2ad; background:#fff; color:#17364d; }
.pilot-feedback-primary:hover,.pilot-feedback-primary:focus-visible,.pilot-feedback-actions a:hover,.pilot-feedback-actions a:focus-visible { outline:3px solid rgba(34,112,139,.25); outline-offset:2px; }
@media(max-width:600px) {
    .topbar { height:auto; min-height:56px; padding:10px 16px; display:grid; grid-template-columns:1fr auto auto; gap:8px 9px; }
    .topbar .brand { font-size:20px; }
    .topbar .discovery-code { grid-column:1 / -1; grid-row:2; text-align:left; font-size:11px; }
    .topbar .member-return,.topbar .profile-menu { font-size:12px; }
    .topbar #joinWaveMind,.topbar #memberReturn { display:none; }
    .pilot-feedback-open { padding:6px 9px; font-size:12px; }
    .pilot-feedback-coach { position:fixed; top:102px; right:12px; left:12px; width:auto; }
    .pilot-feedback-coach::before { right:83px; }
    .pilot-feedback-sheet { right:16px; bottom:16px; padding:22px 20px 19px; }
}
@media(prefers-reduced-motion:reduce) { .pilot-feedback-sheet { scroll-behavior:auto; } .pilot-feedback-coach { animation:none; } }
.learner-nav { max-width:1100px; margin:6px auto; padding:0 20px; }
.discovery-path { display:flex; flex-wrap:wrap; gap:3px; list-style:none; padding:0; margin:8px 0 0; }
.discovery-path li { width:15px; height:15px; flex:none; border-radius:50%; border:1px solid #cbd6df; color:#738393; font-size:9px; line-height:14px; text-align:center; background:#f5f7f9; }
.discovery-path li[data-status="complete"] { background:#dce9ed; border-color:#8daeb9; color:#274a57; }
.discovery-path li[data-status="current"] { background:#1d526b; border-color:#1d526b; color:white; font-weight:700; }
.player-summary small { display:block; font-size:12px; font-weight:400; color:#52677b; margin-top:3px; }
.concept-note-access { align-self:flex-start; margin-top:5px; }
.mtpc002-page .player-summary { flex-direction:row; flex-wrap:wrap; align-items:center; gap:8px 12px; }
.mtpc002-page .player-summary > strong { flex-basis:100%; }
.mtpc002-page .concept-note-access { align-self:auto; margin-top:0; }
.concept-note[hidden] { display:none; }
.concept-note { width:min(930px,calc(100vw - 32px)); max-height:min(88vh,1000px); padding:0; border:1px solid #c7d9e5; border-radius:16px; color:#182a38; background:#fff; box-shadow:0 22px 70px #10233538; overflow:auto; }
.concept-note::backdrop { background:#102335a8; }
.concept-note-header { display:flex; justify-content:space-between; align-items:flex-start; gap:20px; padding:25px 30px 21px; border-bottom:1px solid #dbe7ed; }
.concept-note-header h2 { margin:0 0 8px; color:#17364d; font-size:29px; line-height:1.2; }
.concept-note-header p:last-child { margin:0; color:#4e6878; }
.concept-note-eyebrow { margin:0 0 5px; color:#557a96; font-size:12px; font-weight:800; letter-spacing:.11em; text-transform:uppercase; }
.concept-note-header button { flex:none; }
.concept-note-body { padding:8px 30px 28px; font-size:17px; line-height:1.55; }
.concept-note-body section { padding:20px 0; border-bottom:1px solid #dbe7ed; }
.concept-note-body h3 { margin:0 0 10px; color:#17364d; font-size:21px; }
.concept-note-body p { margin:0 0 13px; max-width:760px; }
.concept-note-route { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin:16px 0; }
.concept-note-route span { padding:8px 12px; background:#e9f3f6; border:1px solid #9fbdca; border-radius:8px; font-weight:750; }
.concept-note-route strong { color:#225b77; }
.concept-note-groups { display:grid; gap:8px; margin:16px 0; }
.concept-note-groups > div { display:flex; flex-wrap:wrap; align-items:center; gap:7px; padding:10px 12px; background:#eef5f8; border-radius:9px; }
.concept-note-groups strong { min-width:68px; color:#17465f; }
.concept-note-groups span { padding:4px 8px; background:white; border:1px solid #9fbdca; border-radius:6px; font-weight:750; color:#17465f; }
.concept-note-groups em { margin-left:auto; color:#486779; font-style:normal; font-weight:700; }
.concept-note-equation { display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin:16px 0; font-weight:750; color:#17465f; }
.concept-note-equation span:first-child,.concept-note-equation span:nth-child(3),.concept-note-equation strong { padding:8px 11px; background:#e9f3f6; border-radius:7px; }
.concept-note-cases { display:grid; gap:9px; margin:17px 0; }
.concept-note-cases > div { display:flex; flex-wrap:wrap; align-items:center; gap:9px; padding:14px; background:#eef5f8; border-radius:9px; }
.concept-note-cases > div strong { min-width:90px; color:#17465f; }
.concept-note-cases > div span { padding:6px 9px; background:white; border:1px solid #9fbdca; border-radius:6px; }
.concept-note-cases > div b { color:#17465f; }
.concept-note-cases > p { margin:0 0 0 14px; font-size:14px; font-weight:800; color:#496b7e; }
.concept-note-circle-wrap { display:flex; flex-wrap:wrap; align-items:center; gap:24px; margin:20px 0; padding:16px; background:#eef5f8; border-radius:10px; }
.concept-note-circle-wrap > p { max-width:380px; margin:0; }
.concept-note-circle { position:relative; flex:none; width:210px; height:210px; margin:14px; border:3px solid #83a8bb; border-radius:50%; }
.concept-note-circle-token { position:absolute; min-width:62px; padding:7px 9px; text-align:center; font-weight:750; color:#17465f; background:#fff; border:2px solid #7da6b8; border-radius:8px; }
.concept-note-circle-token.top { top:0; left:50%; transform:translate(-50%,-50%); }
.concept-note-circle-token.right { top:50%; right:0; transform:translate(50%,-50%); }
.concept-note-circle-token.bottom { bottom:0; left:50%; transform:translate(-50%,50%); }
.concept-note-circle-token.left { top:50%; left:0; transform:translate(-50%,-50%); }
.concept-note-takeaway { padding:16px 18px; background:#eaf4f7; border-left:4px solid #4c819b; border-radius:6px; }
.concept-note-end { display:flex; align-items:center; justify-content:space-between; gap:16px; padding-top:22px; }
.concept-note-end p { margin:0; color:#4e6878; }
@media(max-width:650px) { .concept-note-header,.concept-note-end { display:block; } .concept-note-header button,.concept-note-end button { margin-top:15px; } .concept-note-header { padding:20px; } .concept-note-body { padding:4px 20px 22px; } .concept-note-groups em { margin-left:0; width:100%; } }
.member-discoveries { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.member-discoveries article { border:1px solid #d7e2e9; border-radius:10px; padding:16px; background:#fff; }
.member-discoveries h3 { margin:0 0 8px; font-size:18px; }
.member-discoveries span { display:block; margin-top:9px; color:#53677a; font-size:13px; }
.member-topic { color:#53677a; }
.mtpc002-page .wm-screen { max-width:1100px; margin:auto; }
.mtpc002-page .wm-layout { grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr); }
.mtpc002-page .wm-workspace { position:static; }
.mtpc002-page .wm-thinking { background:#fff; border:1px solid #dbe2ea; border-radius:14px; padding:20px; }
.mtpc002-page .wm-thinking h2,.mtpc002-page .wm-workspace h2 { margin-top:0; font-size:20px; color:#17364d; }
.mtpc002-page .wm-thinking button,.mtpc002-page .wm-workspace button { margin:5px 6px 5px 0; }
.c2-board,.c2-compare { display:grid; gap:16px; }
.c2-compare { grid-template-columns:repeat(2,minmax(0,1fr)); }
.c2-compare section,.c2-groups section { border:1px solid #dce5eb; border-radius:9px; padding:12px; background:#f8fafb; }
.c2-tray,.c2-slots { display:flex; flex-wrap:wrap; gap:8px; margin:12px 0; align-items:stretch; }
.c2-tray button,.c2-slots button,.c2-slots span,.c2-tray span { border:1px solid #b9cbd8; border-radius:9px; background:#f4f8fa; padding:12px; color:#17364d; min-width:70px; text-align:center; }
.c2-tray button[aria-pressed="true"] { border-color:#1b6691; box-shadow:0 0 0 2px #b8d9e8; }
.c2-slots > div { display:flex; flex-direction:column; gap:5px; }
.c2-slots small { color:#52677b; }
.c2-shape { display:inline-flex; align-items:center; justify-content:center; min-width:80px; min-height:45px; font-weight:650; }
.c2-shape.disk::before { content:'●'; color:#ad3434; margin-right:6px; }
.c2-shape.diamond::before { content:'◆'; color:#285db5; margin-right:6px; }
.c2-shape.star::before { content:'★'; color:#9a6b00; margin-right:6px; }
.c2-found { border-top:1px solid #dce5eb; margin-top:14px; }
.c2-groups { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.c2-groups h3 { font-size:14px; margin:0; }
.c2-groups p { font-size:13px; }
.c2-field { display:block; margin:12px 0; font-weight:600; }
.c2-field input,.c2-field textarea { display:block; width:100%; box-sizing:border-box; margin-top:6px; padding:10px; border:1px solid #aabfce; border-radius:7px; font:inherit; font-weight:400; }
.c2-support { padding:12px; background:#eaf4f8; border-left:3px solid #4c8aac; margin-top:16px; }
.c2-support p { margin:8px 0; }
.c2-empty,.c2-snapshot { padding:16px; border:1px solid #c6d9e4; border-radius:8px; background:#f3f8fa; }
.c2-countdown,.c2-equation { font-size:1.2rem; font-weight:650; line-height:1.5; overflow-wrap:anywhere; }
.c2-s4 { min-width:0; }
.c2-s4 h3 { font-size:.95rem; margin:17px 0 7px; }
.c2-s4-palette,.c2-s4-flash-slots,.c2-s4-sequence,.c2-s4-positions,.c2-s4-medals,.c2-s4-extend { display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.c2-s4-palette button,.c2-s4-flash-slots button { border:1px solid #aabfce; border-radius:10px; background:#fff; padding:6px; min-height:55px; }
.c2-s4-palette button[aria-pressed="true"],.c2-s4-buckets button[aria-pressed="true"] { outline:3px solid #377da4; outline-offset:2px; }
.c2-s4-flash-slots button,.c2-s4-flash-slot { min-width:78px; min-height:62px; display:grid; place-items:center; border:2px dashed #a8bfcd; border-radius:10px; padding:5px; text-align:center; color:#37546a; }
.c2-s4-flash-slot.active { border-color:#33779e; background:#edf6fb; }
.c2-s4-flash { display:inline-grid; place-items:center; min-width:64px; min-height:46px; padding:3px 7px; border-radius:8px; color:#fff; font-weight:700; box-sizing:border-box; }
.c2-s4-flash.red { background:#b83c37; }.c2-s4-flash.blue { background:#2365aa; }.c2-s4-flash.yellow { background:#f3cb44; color:#463813; }
.c2-s4-saved { border-top:1px solid #d7e3e9; margin-top:18px; padding-top:7px; }
.c2-s4-saved-row { display:flex; align-items:flex-start; gap:10px; margin:8px 0; padding:7px; background:#f7fafb; border-radius:8px; overflow-x:auto; }
.c2-s4-saved-row > strong { min-width:22px; color:#49677b; }
.c2-s4-sequence { flex-wrap:nowrap; }
.c2-s4-sequence .c2-s4-flash { min-width:45px; min-height:34px; font-size:.78rem; }
.c2-s4-comparison { border:1px solid #d6e3e9; border-radius:10px; padding:12px; margin:12px 0; background:#f8fafb; }
.c2-s4-mixed-section.active { border-color:#33779e; box-shadow:0 0 0 2px #d7ebf5; }
.c2-s4-inspect { display:flex; align-items:center; flex-wrap:wrap; gap:6px; margin:9px 0 16px; }
.c2-s4-inspect button { border:1px solid #aabfce; border-radius:7px; background:#fff; padding:7px 10px; }
.c2-s4-inspect button[aria-pressed="true"] { border-color:#33779e; background:#e5f2f8; font-weight:700; }
.c2-s4-runners { display:flex; flex-wrap:wrap; gap:5px; margin:10px 0; }
.c2-s4-runners span { border:1px solid #b9cdd8; border-radius:7px; background:#fff; padding:6px; font-size:.8rem; }
.c2-s4-windows { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:5px; margin:12px 0; }
.c2-s4-window { display:flex; flex-direction:column; align-items:center; gap:5px; min-width:0; border:1px solid #a8bdc9; border-radius:9px; padding:7px 3px; background:#f4f8fa; color:#17364d; }
.c2-s4-window strong { font-size:.75rem; }
.c2-s4-window-pane { display:block; width:min(100%,54px); height:45px; border:3px solid #6e8594; border-radius:6px; background:#263b4a; box-shadow:inset 0 0 0 3px #1b2b35; }
.c2-s4-window-pane.lit { background:#ffe17a; box-shadow:0 0 11px #e6c661, inset 0 0 0 3px #ffefa9; }
.c2-s4-window small { font-size:.75rem; }
.c2-s4-medals span,.c2-s4-positions span,.c2-s4-extend span { padding:9px; border:1px solid #bfd3dc; border-radius:8px; background:#fff; }
.c2-s4-buckets { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.c2-s4-buckets button,.c2-s4-buckets > div { min-width:0; display:flex; flex-direction:column; align-items:center; gap:6px; padding:10px 5px; border:1px solid #aabfce; border-radius:10px; background:#f8fafb; color:#17364d; }
.c2-s4-stock { display:flex; flex-wrap:wrap; justify-content:center; min-height:34px; gap:1px; font-size:1.55rem; line-height:1.2; }
.c2-s4-stock-table { width:100%; margin:14px 0; border-collapse:collapse; table-layout:fixed; font-size:.9rem; }
.c2-s4-stock-table caption { margin-bottom:7px; text-align:left; font-weight:700; }
.c2-s4-stock-table th,.c2-s4-stock-table td { padding:8px 5px; border:1px solid #c7d9e2; text-align:center; overflow-wrap:anywhere; }
.c2-s4-stock-table thead th { background:#eaf4f8; }
.c2-s4-stock-table tbody th { text-align:left; background:#f8fafb; }
.c2-s4-ship-edit,.c2-s4-ship { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:5px; }
.c2-s4-ship-edit > div,.c2-s4-ship > span { min-width:0; display:flex; flex-direction:column; align-items:center; text-align:center; gap:5px; border:1px solid #b9cdd8; border-radius:8px; padding:7px 3px; background:#fff; }
.c2-s4-ship-edit > div > strong { font-size:.78rem; }
.c2-s4-ship-edit button { width:100%; min-height:46px; margin:0!important; overflow-wrap:anywhere; }
.c2-s4-ship-edit button + button { min-height:28px; font-size:.75rem; }
.c2-s4-ship b { font-size:1.45rem; }.c2-s4-ship em { font-size:.75rem; font-style:normal; }
.c2-s4-telegraph { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.c2-s4-telegraph > section { min-width:0; border:1px solid #c7d9e2; border-radius:10px; padding:8px; text-align:center; }
.c2-s4-arm { display:flex; align-items:center; flex-direction:column; gap:3px; font-size:.8rem; }
.c2-s4-arm-face { position:relative; width:92px; height:92px; border:1px solid #9eb8c8; border-radius:50%; background:radial-gradient(circle,#fff 0 40%,#edf3f6 41%); }
.c2-s4-arm-face.copper { --arm-color:#ad632d; }.c2-s4-arm-face.teal { --arm-color:#19817b; }.c2-s4-arm-face.violet { --arm-color:#7956a6; }
.c2-s4-rod { position:absolute; left:50%; top:50%; width:37px; height:9px; border-radius:6px; background:var(--arm-color); transform-origin:0 50%; box-shadow:0 1px 3px #354c5a55; }
.c2-s4-rod.left { transform:rotate(180deg); }.c2-s4-rod.up { transform:rotate(-90deg); }.c2-s4-rod.right { transform:rotate(0deg); }.c2-s4-rod.down { transform:rotate(90deg); }
.c2-s4-pivot { position:absolute; left:calc(50% - 7px); top:calc(50% - 7px); width:14px; height:14px; border-radius:50%; background:#1e435b; border:2px solid #fff; box-sizing:border-box; }
.c2-s4-arm-controls { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:4px; margin-top:7px; }
.c2-s4-arm-controls button { margin:0!important; padding:6px 2px; border:1px solid #afc3cd; border-radius:6px; background:#fff; font-size:.8rem; }
.c2-s4-arm-controls button[aria-pressed="true"] { background:#dceef6; border-color:#33779e; font-weight:700; }
.c2-s4-arm.mini .c2-s4-arm-face { width:52px; height:52px; }.c2-s4-arm.mini .c2-s4-rod { width:20px; height:6px; }.c2-s4-arm.mini .c2-s4-pivot { left:calc(50% - 5px); top:calc(50% - 5px); width:10px; height:10px; }
@media(max-width:600px) { .c2-s4-buckets { grid-template-columns:repeat(3,minmax(0,1fr)); }.c2-s4-stock { font-size:1.1rem; }.c2-s4-telegraph.editable { grid-template-columns:1fr; }.c2-s4-telegraph.editable > section { display:flex; align-items:center; justify-content:space-between; gap:8px; }.c2-s4-arm-controls { width:min(52%,190px); }.c2-s4-ship-edit,.c2-s4-ship { gap:2px; }.c2-s4-ship-edit button { font-size:.72rem; padding:3px; } }
.c2-photo-fixed { display:inline-flex; align-items:center; gap:12px; padding:10px 14px; border:2px solid #487c9b; border-radius:9px; background:#eff7fb; }
.c2-photo-groups { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; margin:12px 0; }
.c2-photo-groups span { padding:9px; border:1px solid #c6d9e4; border-radius:7px; background:#f4f8fa; }
.c2-factor-fields { margin:12px 0; }
.c2-factor-fields > strong { display:block; margin-bottom:9px; }
.c2-factor-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px 8px; }
.c2-factor-cell { position:relative; min-width:0; display:grid; grid-template-columns:minmax(0,1fr) 12px; gap:3px; align-items:center; font-size:12px; }
.c2-factor-cell span { grid-column:1 / -1; }
.c2-factor-cell input { width:100%; min-width:0; box-sizing:border-box; padding:8px 2px; border:1px solid #aabfce; border-radius:7px; font:inherit; font-size:1rem; text-align:center; }
.c2-factor-cell b { font-size:1rem; text-align:center; }
.c2-options { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:12px 0; }
.c2-options button,.c2-inline-choice button { border:1px solid #aabfce; border-radius:7px; background:#f4f8fa; padding:9px; color:#17364d; }
.c2-options button:hover,.c2-inline-choice button:hover { border-color:#1b6691; }
.c2-options button[aria-pressed="true"],.c2-s3-factors button[aria-pressed="true"],.c2-s3-quotient button[aria-pressed="true"] { border:2px solid #1b6691; background:#e5f2f8; box-shadow:0 0 0 2px #b8d9e8; font-weight:700; }
.c2-options button[data-result="correct"],.c2-s3-quotient button[data-result="correct"] { border-color:#3f7653; background:#eef7f0; }
.c2-options button[data-result="incorrect"],.c2-s3-quotient button[data-result="incorrect"] { border-color:#a85644; background:#fff2ed; }
.c2-s3-choice-state { display:block; margin-top:3px; font-size:.71rem; font-weight:650; line-height:1.2; }
.c2-s3-factors,.c2-s3-quotient,.c2-s3-structure { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:12px 0; }
.c2-s3-factors button,.c2-s3-quotient button { border:1px solid #aabfce; border-radius:7px; background:#f4f8fa; padding:10px 14px; color:#17364d; }
.c2-s3-tail-comparison,.c2-s3-choices-earned { display:flex; flex-wrap:wrap; gap:8px; margin:12px 0; }
.c2-s3-tail-comparison span,.c2-s3-choices-earned span { padding:8px 11px; border:1px solid #c6d9e4; border-radius:7px; background:#f4f8fa; }
.c2-s3-tail-comparison span:last-child { border-style:dashed; }
.c2-s3-structure > * { padding:9px 12px; border:1px solid #c6d9e4; border-radius:7px; background:#f4f8fa; }
.c2-s3-note { color:#52677b; font-size:.94rem; }
.c2-s3-alternative { margin-top:16px; padding-top:8px; border-top:1px solid #dce5eb; }
.c2-s3-alternative summary { cursor:pointer; color:#285d7d; }
.c2-ack-next { margin-top:12px; }
@media (max-width:520px) { .c2-photo-groups { grid-template-columns:1fr; } }
.c2-s1-board { display:grid; gap:18px; margin:18px 0; }
.c2-s1-tray { display:flex; flex-wrap:wrap; align-items:center; gap:10px; min-height:82px; padding:12px; border:1px solid #d4e0e7; border-radius:12px; background:#f8fafb; }
.c2-s1-tray .c2-s1-pick { min-width:88px; min-height:82px; border:1px solid #b9cbd8; border-radius:10px; background:#fff; cursor:pointer; }
.c2-s1-tray .c2-s1-pick[aria-pressed="true"] { outline:3px solid #4c8aac; outline-offset:2px; }
.c2-s1-tray .c2-s1-pick:disabled { opacity:1; cursor:default; }
.mtpc002-page #wm-thinking button[data-action="keep"]:disabled { opacity:.45; cursor:not-allowed; }
.c2-s1-tray-empty { color:#607486; font-size:13px; }
.c2-s1-places { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.c2-s1-places:has(.c2-s1-place:nth-child(4)) { grid-template-columns:repeat(4,minmax(0,1fr)); }
@media (max-width:520px) { .c2-s1-places:has(.c2-s1-place:nth-child(4)) { grid-template-columns:repeat(2,minmax(0,1fr)); } }
.c2-s1-place { min-width:0; display:flex; flex-direction:column; gap:6px; text-align:center; }
.c2-s1-place > strong { font-size:13px; color:#425a6d; }
.c2-s1-place .c2-s1-slot { width:100%; min-height:100px; margin:0; padding:7px; border:2px dashed #a8bfcd; border-radius:12px; background:#f7fafb; display:flex; align-items:center; justify-content:center; flex-direction:column; cursor:pointer; }
.c2-s1-place .c2-s1-slot:has(.c2-s1-piece),.c2-s1-place .c2-s1-slot:has(.c2-s1-person) { border-style:solid; background:white; }
.c2-s1-place .c2-s1-slot:disabled { opacity:.65; cursor:default; }
.c2-s1-empty { font-size:12px; color:#61788a; }
.c2-s1-piece { display:inline-flex; flex-direction:column; align-items:center; justify-content:center; gap:7px; min-width:64px; min-height:64px; }
.c2-s1-shape { display:block; width:42px; height:42px; flex:none; }
.c2-s1-shape.disk { border-radius:50%; background:#c63434; box-shadow:inset -5px -5px 0 #a92424; }
.c2-s1-shape.diamond { width:34px; height:34px; margin:4px; transform:rotate(45deg); background:#2464c6; box-shadow:inset -4px -4px 0 #1c4d9b; }
.c2-s1-shape.star::before { content:'★'; display:block; font-size:52px; line-height:42px; color:#d19612; text-shadow:1px 1px #9f6d07; }
.c2-s1-shape.square { background:#279557; box-shadow:inset -5px -5px 0 #1b6d40; border-radius:5px; }
.c2-s1-label { font-size:11px; color:#324d60; line-height:1.15; }
.c2-s1-piece.mini { min-width:28px; min-height:28px; }
.c2-s1-piece.mini .c2-s1-shape { width:22px; height:22px; }
.c2-s1-piece.mini .c2-s1-shape.diamond { width:17px; height:17px; margin:2px; }
.c2-s1-piece.mini .c2-s1-shape.star::before { font-size:30px; line-height:22px; }
.c2-s1-found { border-top:1px solid #dce5eb; margin-top:20px; padding-top:12px; }
.c2-s1-rows { display:grid; gap:6px; }
.c2-s1-row { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:5px; max-width:340px; }
.c2-s1-row:has(.c2-s1-row-cell:nth-child(4)) { grid-template-columns:repeat(4,minmax(0,1fr)); }
.c2-s1-row-cell { display:flex; align-items:center; justify-content:center; min-height:38px; border:1px solid #d7e2e8; border-radius:7px; background:#fff; }
.c2-s1-groups { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin-top:16px; }
.c2-s1-groups section { min-width:0; padding:10px; border:1px solid #dce5eb; border-radius:9px; background:#f8fafb; }
.c2-s1-groups h3 { display:flex; align-items:center; gap:5px; margin:0 0 9px; font-size:13px; }
.c2-s1-groups .c2-s1-row { gap:3px; }
.c2-s1-groups .c2-s1-row-cell { min-height:30px; }
.c2-s1-places.quiet { font-size:13px; color:#5b7182; margin:16px 0; }
.c2-s1-person { display:inline-flex; flex-direction:column; align-items:center; gap:5px; min-width:60px; font-size:12px; font-weight:650; }
.c2-s1-person-icon { position:relative; width:38px; height:42px; }
.c2-s1-person-icon::before { content:''; position:absolute; top:1px; left:13px; width:13px; height:13px; border-radius:50%; background:#4c7da2; }
.c2-s1-person-icon::after { content:''; position:absolute; bottom:1px; left:6px; width:27px; height:25px; border-radius:13px 13px 5px 5px; background:#4c7da2; }
.c2-s1-chair-icon { font-size:38px; line-height:36px; color:#67879b; }
.c2-s1-equation { font-size:24px; font-weight:700; color:#1d526b; margin:20px 0 6px; }
.c2-s1-choice-track { display:flex; flex-wrap:wrap; gap:6px; }
.c2-s1-choice-track span { padding:5px 8px; border:1px solid #c4d8df; border-radius:7px; background:#eef6f8; font-size:12px; }
.c2-s1-verify { margin:18px 0; }
.c2-s1-verify details { padding:8px 10px; margin:6px 0; border:1px solid #d7e2e8; border-radius:8px; background:#f8fafb; }
.c2-s1-verify summary { display:flex; align-items:center; gap:8px; cursor:pointer; font-size:13px; font-weight:650; }
.c2-s1-verify details .c2-s1-rows { margin:9px 0 0 35px; }
.c2-s1-support-demo { margin:16px 0; padding:12px; border:1px solid #9fc6d4; border-radius:10px; background:#eef7fa; }
.c2-s1-support-demo h3 { margin:0 0 5px; font-size:16px; }
.c2-s1-support-demo .c2-s1-tray { min-height:52px; }
.c2-s1-support-demo button { min-width:48px; min-height:45px; border:1px solid #aac7d3; border-radius:7px; background:#fff; }
@media(max-width:850px) { .c2-s1-groups { grid-template-columns:1fr; } }
@media(max-width:500px) { .c2-s1-places,.c2-s1-places:has(.c2-s1-place:nth-child(4)) { gap:5px; } .c2-s1-place .c2-s1-slot { min-height:85px; padding:4px; } .c2-s1-piece { min-width:40px; } .c2-s1-shape { width:33px; height:33px; } .c2-s1-shape.diamond { width:27px; height:27px; margin:3px; } .c2-s1-shape.star::before { font-size:42px; line-height:33px; } }
@media(max-width:850px) { .mtpc002-page .wm-layout,.member-discoveries,.c2-compare { grid-template-columns:1fr; } .c2-groups { grid-template-columns:1fr; } }
.developer-tools > summary { cursor: pointer; }
.developer-tools label { display: inline-block; margin: 10px; }
.developer-tools button, .developer-tools select { font: inherit; margin: 6px; }
.developer-tools pre { max-height: 300px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; }
@media(max-width:850px) { .wm-layout { grid-template-columns:1fr; gap: 14px; } .wm-workspace { position:static; } .wm-screen { padding:14px; } }
@media(max-width:600px) { .wm-workspace .third-body-branches { grid-template-columns:repeat(3,minmax(0,1fr)); } .wm-workspace button { padding:5px; font-size:10px; } }

/* Discovery Snapshot: step-authored mathematics inside a shared, quiet shell. */
.discovery-snapshot { margin: 28px 0; padding: 28px; background: white; border: 1px solid #b8c9d8; border-radius: 16px; }
.snapshot-visual { margin: 24px auto; max-width: 680px; }
.snapshot-stages { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 18px; }
.snapshot-stages div { border-bottom: 2px solid #8fa9c1; padding: 12px; font-size: 12px; letter-spacing: 1px; }
.snapshot-stages strong { display: block; font-size: 20px; letter-spacing: 0; margin-top: 10px; }
.snapshot-equation { font-size: 32px; text-align: center; font-weight: 700; }
.snapshot-groups { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.snapshot-groups div { display: grid; gap: 12px; text-align: center; padding: 12px; border-bottom: 1px solid #8fa9c1; }
.snapshot-groups span { color: #34526e; white-space: nowrap; }
.snapshot-compression { display: grid; gap: 8px; text-align: center; font-size: 23px; margin-top: 20px; }
.snapshot-summary { font-size: 20px; line-height: 1.5; text-align: center; font-weight: 600; }
.bt-discovery-note{display:grid;gap:14px;padding:20px;border:1px solid #a8c8d2;border-left:5px solid #317b91;border-radius:12px;background:#f5fafb;color:#193e50;text-align:left}
.bt-discovery-note h3{margin:0;color:#17475b;font-size:1.35rem;line-height:1.25}
.bt-discovery-note p{margin:0;line-height:1.58;font-size:1rem}
.bt-discovery-note strong{color:#14546d}
.snapshot-actions .experience-completion { padding: 12px 0 0; margin-bottom: 0; }
.wm-reconstruction input { width: 250px; }
.wm-workspace[data-support="reconstruct"] .third-subtotal,
.wm-workspace[data-support="reconstruct"] .wm-later-total { visibility: hidden; }
.wm-workspace[data-support="reconstruct"] .wm-repetition { opacity: .6; }
.head-partners { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 20px 0; }
.head-partners span { background: #edf6ff; padding: 8px; border-radius: 6px; }
.equal-machine select { font: inherit; padding: 6px; border: 1px solid #8fa9c1; border-radius: 6px; }
.equal-machine button { display: block; margin: 10px 0; }
.machine-compression { text-align: center; font-size: 22px; margin-top: 20px; }
.machine-scale { display: grid; gap: 14px; padding: 30px 16px; text-align: center; border: 1px solid #b8c9d8; border-radius: 12px; }
.machine-scale strong { font-size: 30px; }
@media(max-width:600px){.discovery-snapshot { padding:18px; }.snapshot-groups{grid-template-columns:repeat(2,1fr);}.snapshot-summary{font-size:18px;}}

/* Native mathematical manipulatives, shared by the workspace and its snapshot. */
.machine-robot { display: grid; justify-items: center; gap: 4px; margin: 0; min-width: 48px; }
.machine-head, .machine-body { display: inline-block; background: #d7e4ef; border: 2px solid #52718c; }
.machine-head { width: 26px; height: 24px; }
.machine-head-A { border-radius: 50%; }
.machine-head-B { border-radius: 2px; }
.machine-head-C { clip-path: polygon(50% 0,100% 100%,0 100%); background: #52718c; }
.machine-head-D { clip-path: polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%); background: #52718c; }
.machine-body { width: 34px; height: 28px; }
.machine-body-1 { border-radius: 2px; }
.machine-body-2 { border-radius: 45%; }
.machine-body-3 { clip-path: polygon(20% 0,80% 0,100% 100%,0 100%); background: #52718c; }
.machine-robot figcaption { font-size: 12px; font-weight: 600; }
.robot-parts { display:flex; flex-wrap:wrap; align-items:center; gap:12px; font-size:12px; }
.part-key { display:grid; justify-items:center; gap:4px; }
.part-key i { transform:scale(.7); }
.machine-builder { display:flex; align-items:center; justify-content:space-between; gap:16px; margin:20px 0; }
.machine-builder label { display:block; margin:8px 0; font-size:14px; }
.machine-builder select { margin-left:8px; }
.robot-preview { display:grid; gap:8px; text-align:center; font-size:12px; }
.robot-groups { display:grid; gap:12px; margin-top:18px; }
.robot-group { display:flex; align-items:center; justify-content:space-between; gap:12px; border-bottom:1px solid #dbe2ea; padding:10px 0; }
.robot-group > strong { font-size:13px; white-space:nowrap; }
.robot-row { display:flex; justify-content:space-around; gap:16px; flex:1; }
.machine-compact { font-size:12px; }
.machine-compact .robot-parts { display:none; }
.machine-compact .robot-group { padding:5px 0; }
.machine-compact .machine-robot { gap:1px; }
.machine-compact .machine-head { width:18px; height:16px; }
.machine-compact .machine-body { width:24px; height:20px; }
.machine-compact .machine-compression { font-size:16px; margin:12px 0; }
.machine-compact .machine-compression p { margin:4px; }
.robot-snapshot.snapshot-groups { display:block; max-width:440px; margin:auto; }
.robot-snapshot.snapshot-groups .robot-groups { display:grid; padding:0; border:0; }
.robot-snapshot.snapshot-groups .robot-group { display:flex; text-align:left; }
.robot-snapshot.snapshot-groups .robot-row { display:flex; padding:0; border:0; }
.snapshot-split { display:grid; justify-items:center; gap:14px; text-align:center; font-size:20px; }
.snapshot-pairs { display:grid; grid-template-columns:repeat(6,1fr); gap:18px; }
.snapshot-pairs > span { display:grid; grid-template-columns:1fr 1fr; justify-items:center; gap:3px; }
.snapshot-pairs i { display:block; width:10px; height:10px; border:1px solid #52718c; background:#d7e4ef; }
.snapshot-pairs i:first-child, .snapshot-pairs b { grid-column:1 / -1; }
.snapshot-pairs b { font-size:15px; font-weight:400; }
.support-summary { font-size:13px; color:#52677a; }
.retry-actions { display:flex; flex-wrap:wrap; gap:12px; }
.wm-workspace[data-support="0"] .wm-baseline { font-size:19px; font-weight:600; }
.wm-workspace[data-support="1"] .third-body-branch:not(:first-child),
.wm-workspace[data-support="concept-0"] .third-body-branch:not(:first-child) { opacity:.25; }
.wm-workspace[data-support="1"] .third-body-branch:first-child,
.wm-workspace[data-support^="concept-"] .third-body-branch:first-child { outline:2px solid #8fa9c1; outline-offset:4px; border-radius:4px; }
.wm-workspace[data-support="1"] .wm-repetition,
.wm-workspace[data-support^="concept-"] .wm-repetition { opacity:.4; }
.wm-workspace[data-support^="concept-"] .third-subtotal,
.wm-workspace[data-support^="concept-"] .wm-later-total { visibility:hidden; }
@media(max-width:600px) { .robot-row { gap:6px; }.machine-builder{gap:8px}.snapshot-pairs{gap:10px}.snapshot-equation{font-size:26px;} }

/* Step 4: places are nodes; independently operable roads are SVG paths. */
.route-map { display:block; width:100%; height:auto; overflow:visible; }
.route-hit { fill:none; stroke:transparent; stroke-width:26; pointer-events:stroke; }
.route-line { fill:none; stroke:#6a8297; stroke-width:3; pointer-events:none; }
.route-road { cursor:pointer; outline:none; }
.route-road.is-selected .route-line { stroke:#174f78; stroke-width:7; }
.route-road.is-focus .route-line { stroke-width:7; }
.route-road.is-quiet .route-line { opacity:.3; }
.route-road:focus .route-line { stroke:#152e44; stroke-width:9; }
.route-road:hover .route-line { stroke-width:6; }
.route-road-label { text-anchor:middle; font-size:15px; fill:#294861; pointer-events:none; }
.route-place { pointer-events:none; }
.route-place circle { fill:white; stroke:#294861; stroke-width:3; }
.route-place text { text-anchor:middle; font-size:14px; letter-spacing:1px; fill:#294861; }
.route-location { font-size:14px; line-height:1.5; min-height:3em; }
.route-groups { display:grid; gap:14px; max-width:420px; margin:18px auto; }
.route-groups > div { display:flex; align-items:center; gap:24px; justify-content:space-between; font-size:14px; }
.route-comparison { border-left:2px solid #8fa9c1; padding-left:16px; line-height:2; font-size:14px; }
.route-workbench .snapshot-compression { font-size:21px; }

.route-found { margin:12px 0 20px; }
.route-found h2 { font-size:12px; letter-spacing:1px; font-weight:600; }
.route-found > p { font-size:13px; color:#52677a; }
.route-journey-chips { display:flex; flex-wrap:wrap; gap:8px; }
.route-journey-chips > span { display:inline-block; padding:5px 9px; border:1px solid #c5d2dc; border-radius:5px; font-size:14px; background:#f7fafc; }
.route-location > strong, .route-location > span { display:block; }
.route-location > span { margin-top:6px; color:#52677a; }
.route-notation { display:grid; gap:12px; margin:14px 0; }
.route-notation > div { display:flex; align-items:center; gap:14px; }
.route-notation > div > strong { min-width:34px; font-size:14px; }
.route-established { border-top:1px solid #dbe2ea; padding-top:12px; }
.route-established > p { font-size:14px; }
.route-abstraction { border-top:1px solid #dbe2ea; padding-top:12px; }
.route-compress-arrow, .route-snapshot-lead { text-align:center; }
.route-snapshot-lead { font-size:20px; line-height:1.6; }

/* Step 5 adapts the original robot geometry; every override is scoped to bm classes. */
.bm-head.bm-Blue { background:#a8cede; border-radius:20px; }
.bm-head.bm-Red { background:#d9a5a1; border-radius:34px 34px 13px 13px; }
.bm-head.bm-Gold { background:#d7c48b; border-radius:8px; }
.bm-body.bm-Light { background:#eef3f7; border-radius:8px; }
.bm-body.bm-Medium { background:#c9d4dd; border-radius:20px; }
.bm-body.bm-Heavy { background:#9babb9; border-radius:3px; border-width:5px; }
.bm-selectors fieldset { border:0; padding:0; margin:12px 0; display:flex; gap:10px; flex-wrap:wrap; }
.bm-selectors legend { font-size:14px; font-weight:600; margin-bottom:8px; }
.bm-part-choice { display:flex; flex-direction:column; align-items:center; gap:7px; padding:9px; border:1px solid #c5d2dc; background:white; border-radius:8px; font:inherit; font-size:12px; cursor:pointer; }
.bm-part-choice[aria-pressed="true"] { outline:2px solid #345b79; outline-offset:1px; }
.bm-part-choice .bm-head { width:40px; height:30px; border-width:2px; }
.bm-part-choice .bm-body { width:48px; height:36px; border-width:2px; }
.bm-guidance { font-size:18px; font-weight:600; margin:16px 0 8px; }
.bm-attachment { padding:16px 0 46px; min-height:210px; border-bottom:1px solid #dbe2ea; }
.bm-head-piece, .bm-body-piece { display:flex; flex-direction:column; align-items:center; position:relative; }
.bm-head-piece .bm-head { margin-bottom:0; }
.bm-neck { width:20px; height:12px; background:#d4dce3; border:2px solid #18324a; border-top:0; z-index:1; }
.bm-socket { position:absolute; top:-4px; width:28px; height:9px; border:2px solid #18324a; background:#fff; border-radius:3px; }
.bm-empty-head { height:73px; width:82px; border:1px dashed #b7c4ce; border-radius:12px; }
/* One coordinate system: head y=0..61, neck y=61..73,
   body y=73, socket y=69..78. All parts share x=60. */
.bm-attachment .robot-stage { position:relative; width:120px; height:190px; margin:0 auto; display:block; }
.bm-attachment .bm-head-piece { position:absolute; top:0; left:19px; width:82px; }
.bm-attachment .bm-body-piece { position:absolute; top:73px; left:8.5px; width:103px; transform:translateY(0); }
.bm-attachment .bm-neck { flex:none; }
.bm-attachment .bm-body { flex:none; }
.bm-attachment.bm-loose .bm-body-piece,
.bm-attachment.bm-body-start .bm-body-piece,
.bm-attachment.bm-rejected .bm-body-piece { transform:translateY(36px); }
.bm-approaching .bm-body-piece { animation:bm-attach 600ms ease-in-out both; }
.bm-approaching.bm-reject-motion .bm-body-piece { animation-name:bm-reject; }
@keyframes bm-attach {
    0% { transform:translateY(36px); }
    60% { transform:translateY(12px); }
    85%, 100% { transform:translateY(0); }
}
@keyframes bm-reject {
    0% { transform:translateY(36px); }
    60% { transform:translateY(12px); }
    100% { transform:translateY(36px); }
}
.bm-mini .bm-neck { width:9px; height:5px; border-width:1px; }
.bm-mini .bm-socket { width:13px; height:4px; top:-2px; border-width:1px; }
.bm-machine > button { width:auto; }
.bm-built h2 { font-size:13px; font-weight:600; }
.bm-built > div { display:flex; flex-wrap:wrap; gap:12px; }
.bm-mini { margin:0; text-align:center; }
.bm-mini .bm-head { width:30px; height:23px; border-width:2px; margin-bottom:0; }
.bm-mini .bm-body { width:38px; height:29px; border-width:2px; }
.bm-mini figcaption { font-size:10px; margin-top:5px; }
.bm-table-wrap { overflow-x:auto; }
.bm-table { width:100%; border-collapse:collapse; font-size:12px; }
.bm-table caption { text-align:left; font-size:15px; font-weight:600; margin-bottom:16px; }
.bm-table th, .bm-table td { padding:9px 4px; border-bottom:1px solid #dbe2ea; text-align:center; }
.bm-table th[scope="row"] { text-align:left; }
.bm-focus-row { outline:2px solid #8fa9c1; outline-offset:-2px; }
.bm-unavailable { display:grid; gap:6px; font-size:24px; }
.bm-unavailable span { font-size:11px; }
.bm-group-counts { font-size:15px; text-align:center; }
.bm-equation { font-size:22px; text-align:center; line-height:1.6; }
.bm-comparison { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.bm-comparison section { border-top:2px solid #8fa9c1; padding:12px; }
.bm-comparison h3 { font-size:12px; letter-spacing:.7px; }
.bm-comparison p { font-size:16px; }
.bm-code-parts { display:flex; gap:12px; margin:18px 0; }
.bm-code-parts span { padding:10px 15px; border:1px solid #8fa9c1; border-radius:6px; font-size:20px; }
@media(prefers-reduced-motion:reduce) { .bm-approaching .bm-body-piece {animation:none;} }
@media(max-width:500px) { .bm-comparison {gap:8px;} .bm-comparison section{padding:8px;} .bm-selectors fieldset{gap:8px;} }

/* Answer alternatives never inherit primary-action emphasis before a response. */
.wm-thinking .wm-answer,
.wm-thinking button[data-value]:not([data-value=""]),
.scaffold-options .secondary-button {
    background:#fff !important; color:#26384b !important;
    border:1px solid #aebecb !important; font-weight:500;
    box-shadow:none;
}
.wm-thinking .wm-answer:hover, .scaffold-options .secondary-button:hover { background:#f1f5f8 !important; }
/* Step 4's choice-chain decision must remain selected over the shared neutral-answer reset. */
.mtpc002-page .wm-thinking button[data-action="s4-mixed-available"][aria-pressed="true"] {
    background:#d8eaf5 !important;
    border:2px solid #1b6691 !important;
    color:#17364d !important;
    font-weight:700;
    box-shadow:inset 0 0 0 1px #1b6691;
}
.build-button:disabled, .bm-part-choice:disabled { opacity:.55; cursor:not-allowed; box-shadow:none; }
.build-button:not(:disabled) { cursor:pointer; }
#brokenMachineFeedback { font-weight:700; font-size:18px; min-height:1.5em; }
.wm-thinking textarea { display:block; width:100%; margin:12px 0; padding:12px; font:inherit; border:1px solid #aebecb; border-radius:6px; resize:vertical; }
.wm-thinking textarea:focus-visible { outline:2px solid #1976d2; outline-offset:2px; }
.bm-code-row { display:grid; grid-template-columns:20px 16px 24px 24px minmax(100px,1fr) 40px; gap:8px; align-items:center; margin:18px 0; }
.bm-code-row span strong { font-size:12px; }
.bm-general-summary { display:flex; flex-wrap:wrap; gap:18px; }
.bm-general-summary p { font-size:16px; line-height:1.8; }

/* Step 6: the objects are countable possibilities, not decorative illustrations. */
.add-doors h2, .add-book-fair h2, .add-outfits h2, .add-challenges h2 { font-size:20px; }
.add-door-row { display:grid; grid-template-columns:82px minmax(0,1fr) auto; gap:18px; align-items:center; padding:14px 0; }
.add-door { position:relative; min-height:104px; padding:10px 6px; border:2px solid #506b80; border-radius:30px 30px 3px 3px; background:#f1ece2; color:#253e52; cursor:pointer; display:flex; flex-direction:column; justify-content:space-between; align-items:center; font:inherit; font-size:12px; }
.add-door i { width:6px; height:6px; border-radius:50%; background:#506b80; align-self:flex-end; }
.add-door[aria-expanded="true"] { background:#e8eff3; border-style:double; border-width:3px; }
.add-door small { font-size:11px; }
.add-destinations { border-left:2px solid #9caebc; display:grid; gap:8px; padding-left:16px; }
.add-destinations[hidden] { display:none; }
.add-destination { position:relative; display:flex; align-items:center; gap:7px; font-size:13px; min-height:27px; }
.add-destination::before { content:''; position:absolute; width:16px; left:-18px; top:50%; border-top:1px solid #9caebc; }
.add-place-mark { border:1px solid #aebecb; background:#f5f8fa; padding:1px 7px; font-size:18px; border-radius:4px; }
.add-row-count { font-size:20px; }
.add-focus { outline:2px solid #708ea4; outline-offset:3px; border-radius:4px; }
.add-equation { font-size:24px; font-weight:650; text-align:center; margin:24px 0 10px; }
.add-symbolic { font-size:18px; color:#516579; }
.add-cue { font-weight:700; letter-spacing:.025em; }
.add-caution { border-top:1px solid #cbd6df; padding-top:12px; color:#415b70; line-height:1.6; }
.add-world-explanation { border-top:1px solid #cbd6df; margin-top:20px; padding-top:12px; }
.add-world-explanation p, .add-doors > p, .add-book-fair > p, .add-outfits > p, .add-challenges > p { line-height:1.65; }
.add-earlier { margin-top:22px; border-top:1px solid #cad5de; padding-top:14px; font-size:13px; }
.add-branches { display:grid; gap:14px; margin:18px 0; }
.add-branch { display:grid; grid-template-columns:minmax(48px,auto) 12px minmax(60px,1fr) 16px; gap:7px; align-items:center; font-size:13px; }
.add-leaves { display:flex; flex-wrap:wrap; gap:6px; padding:5px 0 5px 10px; border-left:2px solid #8fa5b6; }
.add-leaf { position:relative; width:13px; height:20px; border:1px solid #58778e; background:#e9f0f4; border-radius:3px; }
.add-comparison { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.add-comparison section { min-width:0; border-top:2px solid #9aafbf; padding-top:10px; }
.add-comparison h2 { font-size:16px; }
.add-comparison p { font-size:14px; line-height:1.6; }
.add-comparison .add-equation { font-size:19px; }
.add-shelf { margin:20px 0; }
.add-shelf h3 { font-size:14px; font-weight:650; margin:0 0 8px; }
.add-shelf > div { display:flex; flex-wrap:wrap; gap:7px; padding:8px 0 5px; border-bottom:5px double #879eaf; }
.add-book { width:65px; min-height:105px; padding:7px; border:1px solid #7993a6; border-left:5px solid #7993a6; border-radius:2px 5px 5px 2px; background:#edf2f5; color:#263e50; cursor:pointer; font:inherit; font-size:11px; line-height:1.4; }
.add-shelf:nth-of-type(2) .add-book { background:#eeeae1; }
.add-shelf:nth-of-type(3) .add-book { background:#e5eeea; }
.add-review-book { display:flex; align-items:center; justify-content:center; }
.add-book[aria-pressed="true"], .add-outfits button[aria-pressed="true"], .add-challenge[aria-pressed="true"] { outline:2px solid #345b79; outline-offset:2px; }
.add-book[aria-pressed="true"]::after, .add-challenge[aria-pressed="true"]::after { content:' ✓'; }
.add-outfits fieldset { border:0; padding:0; margin:16px 0; display:flex; flex-wrap:wrap; gap:8px; }
.add-outfits legend { font-size:14px; margin-bottom:8px; }
.add-outfits button { border:1px solid #b6c6d2; border-radius:5px; background:#fff; cursor:pointer; padding:3px; }
.add-garment { width:62px; height:62px; display:block; }
.add-garment path { fill:#d9e7ef; stroke:#486980; stroke-width:2; }
.add-garment text { font-size:12px; fill:#243e51; }
.add-tone-2 path { fill:#eadbd8; }
.add-tone-3 path { fill:#e7e2c9; }
.add-tone-4 path { fill:#d7e5dc; }
.add-outfit-pair { display:flex; flex-direction:column; align-items:center; padding:16px; border-top:1px solid #d7e0e7; }
.add-outfit-pair .add-garment { width:86px; height:72px; }
.add-outfit-pair .add-garment + .add-garment { margin-top:-9px; }
.add-partners { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:8px; border-top:1px solid #d7e0e7; padding-top:12px; font-size:13px; }
.add-challenge-tiles { display:flex; flex-wrap:wrap; gap:8px; }
.add-challenge { width:80px; min-height:74px; display:flex; flex-direction:column; justify-content:center; gap:8px; align-items:center; border:1px solid #9eb2c1; border-radius:6px; background:#f6f8fa; color:#2d4658; cursor:pointer; font:inherit; font-size:11px; }
.add-challenge-mark { font-size:18px; }
.add-challenge-case { padding:10px 0; }
.add-challenge-case h3 { font-size:14px; }

/* Step 7: complete cases contain successive choices. */
.nested-world > p, .nested-network > p, .nested-principles p { line-height:1.65; }
.nested-counters, .nested-families { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.nested-counters > section, .nested-family { min-width:0; border-top:2px solid #9bafbe; padding-top:10px; }
.nested-counters h3, .nested-family h3 { font-size:15px; margin:8px 0; }
.nested-counters fieldset { border:0; padding:0; margin:14px 0; display:flex; flex-wrap:wrap; gap:7px; }
.nested-counters legend { font-size:13px; margin-bottom:8px; }
.nested-counters button { border:1px solid #b2c3d0; background:white; border-radius:5px; padding:4px; cursor:pointer; color:#294559; }
.nested-object { display:flex; flex-direction:column; align-items:center; width:57px; margin:0; }
.nested-object svg { width:54px; height:60px; }
.nested-object path { fill:#dce8ef; stroke:#496c84; stroke-width:2; }
.nested-object circle { fill:#294559; }
.nested-object text { font-size:13px; fill:#294559; }
.nested-object figcaption { font-size:10px; line-height:1.4; text-align:center; }
.nested-tone-2 path { fill:#e9ded9; }
.nested-tone-3 path { fill:#dedfc7; }
.nested-tone-4 path { fill:#d7e6dd; }
.nested-counters button[aria-pressed="true"], .nested-leg-controls button[aria-pressed="true"], .nested-journey-card[aria-pressed="true"] { outline:2px solid #3d6683; outline-offset:2px; }
.nested-assembly { display:grid; grid-template-columns:auto 36px auto; align-items:center; justify-content:center; gap:12px; margin:20px 0; padding:18px; border:1px solid #b5c6d1; border-radius:8px; }
.nested-assembly > p { grid-column:1 / -1; font-size:14px; text-align:center; margin:8px 0 0; }
.nested-assembly > strong { font-size:12px; text-align:center; }
.nested-rejected { border:2px dashed #6b7884; column-gap:30px; }
#nestedConstructionFeedback { font-weight:600; font-size:14px; line-height:1.5; }
.nested-character.nested-valid { display:flex; flex-direction:column; gap:0; }
.nested-character.nested-valid > strong { display:none; }
.nested-character.nested-valid figcaption { font-size:10px; }
.nested-character.nested-valid > div + strong + div { margin-top:-2px; }
.nested-partners { display:flex; align-items:center; gap:5px; border-bottom:1px solid #e0e7ec; padding:9px 0; }
.nested-partners > div { display:flex; gap:4px; flex-wrap:wrap; }
.nested-partners .nested-object { width:34px; }
.nested-partners svg { width:32px; height:37px; }
.nested-partners figcaption { font-size:9px; }
.nested-equation { font-size:22px; font-weight:650; text-align:center; line-height:1.6; }
.nested-or { text-align:center; font-weight:700; letter-spacing:.1em; }
.nested-principles { border-top:1px solid #b5c6d1; margin-top:20px; padding-top:14px; }
.nested-network > svg { width:100%; height:auto; margin:12px 0; overflow:visible; }
.nested-network svg text { font-size:12px; fill:#294559; paint-order:stroke; stroke:#fff; stroke-width:3px; stroke-linejoin:round; }
.nested-network svg circle { fill:#edf3f6; stroke:#617f95; stroke-width:2; }
.nested-road { fill:none; stroke:#afc0cd; stroke-width:3; }
.nested-road.selected { stroke:#285c83; stroke-width:6; }
.nested-leg-controls { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.nested-leg-controls fieldset { padding:6px; border:1px solid #d3dfe7; border-radius:5px; }
.nested-leg-controls legend { font-size:12px; }
.nested-leg-controls button { border:1px solid #9eb4c4; padding:7px; margin:3px; background:#fff; font:inherit; font-size:12px; color:#294559; border-radius:4px; cursor:pointer; }
.nested-grouping { padding-top:16px; }
.nested-grouping > p { font-size:14px; line-height:1.6; }
.nested-unplaced { display:flex; flex-wrap:wrap; gap:8px; padding:12px 0; }
.nested-journey-card { display:block; background:#f6f9fb; border:1px solid #9eb4c4; border-radius:5px; padding:10px; margin:8px 0; font:inherit; font-size:12px; cursor:pointer; color:#294559; }
.nested-support { border-left:3px solid #7697ae; padding:10px 14px; background:#f2f6f9; margin-top:20px; line-height:1.6; }
.nested-support h3 { font-size:14px; }
.nested-support-focus { outline:2px solid #7697ae; outline-offset:4px; }
.nested-road.support-route { stroke:#577d98; stroke-width:6; }
.expression-line { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:9px; padding:16px 0; }
.expression-family { display:flex; align-items:center; gap:3px; border-bottom:2px solid #8ca6b9; padding-bottom:8px; }
.expression-family > span { font-size:24px; }
.wm-thinking .expression-slot { padding:9px 6px; min-width:38px; min-height:44px; margin:0; font:inherit; font-size:19px; background:white; border:1px solid #9eb4c4; border-radius:4px; cursor:pointer; color:#294559; }
.wm-thinking .expression-slot[aria-pressed="true"] { outline:2px solid #285c83; outline-offset:2px; }
.expression-bank { display:flex; flex-wrap:wrap; gap:9px; padding:12px 0; }
.wm-thinking .expression-bank button { min-width:42px; min-height:44px; padding:8px; margin:0; font:inherit; font-size:20px; background:#eef4f8; border:1px solid #8da8bb; border-radius:5px; cursor:pointer; }
.expression-slot:focus-visible, .expression-bank button:focus-visible { outline:3px solid #285c83; outline-offset:3px; }
.nested-valid.nested-arrive:not(.nested-character) > div:first-child { animation:nested-join-left 500ms ease-out both; }
.nested-valid.nested-start:not(.nested-character) > div:first-child { transform:translateX(-24px); }
.nested-valid.nested-start:not(.nested-character) > div:nth-of-type(2) { transform:translateX(24px); }
.nested-character.nested-start > div:nth-of-type(2) { transform:translateY(24px); }
.nested-valid.nested-arrive:not(.nested-character) > div:nth-of-type(2) { animation:nested-join-right 500ms ease-out both; }
.nested-character.nested-arrive > div:nth-of-type(2) { animation:nested-join-up 500ms ease-out both; }
.nested-families.nested-arrive .nested-partners { animation:nested-organise 450ms ease-out both; }
@keyframes nested-join-left { from {transform:translateX(-24px);} to {transform:translateX(0);} }
@keyframes nested-join-right { from {transform:translateX(24px);} to {transform:translateX(0);} }
@keyframes nested-join-up { from {transform:translateY(24px);} to {transform:translateY(0);} }
@keyframes nested-organise { from {transform:translateY(16px);} to {transform:translateY(0);} }
@media(prefers-reduced-motion:reduce) { .nested-arrive * { animation:none !important; } .nested-start > div { transform:none !important; } }
@media(max-width:600px) {
    .nested-counters, .nested-families { grid-template-columns:1fr; }
    .nested-object { width:61px; }
    .wm-workspace .nested-leg-controls button { padding:8px; font-size:12px; }
    .wm-workspace .nested-journey-card { padding:10px; font-size:12px; }
    .nested-equation { font-size:20px; }
}
@media(max-width:600px) {
    .add-comparison { grid-template-columns:1fr; gap:20px; }
    .add-door-row { gap:12px; grid-template-columns:70px minmax(0,1fr) auto; }
    .wm-workspace .add-door { font-size:12px; min-height:100px; }
    .wm-workspace .add-book { font-size:11px; width:58px; }
    .add-garment { width:50px; height:55px; }
    .wm-workspace .add-challenge { font-size:11px; width:74px; }
}

/* Keep Step 7's active consequence beside its mathematical controls. */
.nested-active-stage { scroll-margin-top:24px; }
.nested-selection-layout { display:grid; grid-template-columns:minmax(0,1fr) 170px; gap:16px; align-items:start; }
.nested-purchase { position:sticky; top:16px; background:#f5f8fa; border:1px solid #b5c6d1; border-radius:8px; padding:10px; min-height:145px; }
.nested-purchase h3 { margin:0 0 10px; font-size:15px; }
.nested-purchase .nested-assembly { margin:0; padding:8px 0; border:0; gap:4px; grid-template-columns:auto 25px auto; }
.nested-purchase .nested-object { width:48px; }
.nested-purchase .nested-object svg { width:44px; height:48px; }
.nested-journey-card[aria-pressed="true"] { background:#dceaf3; border:2px solid #285c83; }
.nested-grouping .nested-counters > section { min-height:140px; background:#f6f9fb; padding:10px; }
.nested-grouping .nested-counters { gap:12px; }
.nested-grouping .nested-counters button { padding:10px; }
.nested-support-focus { background:#eaf2f7; border-radius:5px; }
/* Each bracket pair and its slots form one indivisible family at all widths. */
.expression-line .expression-family { flex:0 0 auto; display:inline-flex; flex-wrap:nowrap; gap:5px; padding:8px 6px; border:1px solid #8ca6b9; border-radius:6px; background:#f4f8fb; }
.expression-family > .expression-bracket { display:inline-block; flex:0 0 12px; width:12px; font-size:30px; line-height:1.5; font-weight:600; color:#294559; }
.expression-line > .expression-slot { flex:0 0 38px; }
@media(max-width:900px) {
    .nested-selection-layout { grid-template-columns:minmax(0,1fr) 145px; gap:10px; }
    .nested-selection-layout .nested-counters { grid-template-columns:1fr; }
}
@media(max-width:400px) {
    .nested-selection-layout { grid-template-columns:minmax(0,1fr) 125px; }
    .nested-purchase { padding:6px; }
    .nested-purchase .nested-object { width:38px; }
    .nested-purchase .nested-object svg { width:36px; }
}

/* Step 7 transfer finale: keep each new action with its stage heading. */
.activity-finale { padding-top:12px; scroll-margin-top:24px; }
.activity-finale > h2 { margin-top:0; }
.activity-families { display:flex; align-items:center; gap:12px; }
.activity-families > section { flex:1; min-width:0; border:1px solid #b5c6d1; border-radius:8px; padding:10px; }
.activity-families h3 { margin:0 0 8px; font-size:14px; }
.activity-families p { margin:6px 0; font-size:13px; }
.activity-cards { display:flex; flex-wrap:wrap; gap:5px; }
.activity-cards span { background:#edf3f6; border:1px solid #c5d3de; padding:5px; border-radius:4px; font-size:11px; }
.activity-cards i { font-style:normal; }
.activity-finale textarea { display:block; width:100%; box-sizing:border-box; margin:10px 0; }
.activity-finale .expression-builder { margin-bottom:16px; }
#activity-feedback { font-weight:600; line-height:1.5; }
@media(max-width:520px) { .activity-families { gap:6px; } .activity-families > section { padding:6px; } .activity-cards span { padding:3px; } }

/* Step 8 owns one active workbench; earlier Player layouts are unchanged. */
.wm-screen:has(.s8-stage) .wm-layout { display:block; }
.wm-screen:has(.s8-stage) .wm-thinking { display:none; }
.wm-screen:has(.s8-stage) .wm-workspace { position:static; max-height:none; overflow:visible; }
.s8-stage { scroll-margin-top:20px; color:#213d50; }
.s8-stage h2 { margin:0 0 12px; font-size:clamp(22px,3vw,30px); }
.s8-stage h3 { margin:10px 0; font-size:17px; }
.s8-context { max-width:78ch; line-height:1.6; margin:0 0 20px; }
.s8-workbench { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(230px,1fr); gap:24px; align-items:start; }
.s8-workbench:has(.s8-machines), .s8-workbench:has(.s8-snapshot) { grid-template-columns:1fr; }
.s8-task { position:sticky; top:20px; background:#f3f7f9; padding:16px; border-radius:8px; min-width:0; }
.s8-task:empty { display:none; }
.s8-stage button { font:inherit; font-size:14px; line-height:1.35; min-height:44px; color:#23475e; background:white; border:1px solid #a5bcca; border-radius:6px; padding:9px 12px; margin:4px; cursor:pointer; }
.s8-stage button[aria-pressed="true"] { border:2px solid #285c83; background:#e3eff6; padding:8px 11px; }
.s8-stage button:disabled { color:#667783; background:#eceff1; border-style:dashed; cursor:default; }
.s8-stage button:focus-visible,.s8-stage input:focus-visible,.s8-stage textarea:focus-visible { outline:3px solid #285c83; outline-offset:3px; }
.s8-stage fieldset { border:0; padding:0; margin:8px 0 12px; min-width:0; }
.s8-stage legend { font-size:14px; font-weight:600; margin-bottom:6px; }
.s8-stage input,.s8-stage textarea { display:block; width:100%; box-sizing:border-box; font:inherit; font-size:17px; background:white; color:#213d50; border:1px solid #8ba9bb; border-radius:5px; padding:10px; margin:10px 0; }
.s8-stage label { display:block; font-weight:600; line-height:1.5; }
.s8-small { font-size:13px; line-height:1.5; }
.s8-options,.s8-collection { display:flex; flex-wrap:wrap; gap:6px; align-items:center; }
.s8-builder { display:grid; grid-template-columns:minmax(0,1fr) 155px; gap:16px; }
.s8-pools button { display:inline-flex; flex-direction:column; align-items:center; width:90px; vertical-align:top; }
.s8-shape { width:52px; height:56px; fill:#d7e6ee; stroke:#4c7086; stroke-width:2; }
.s8-tone-2 { fill:#b9d0df; }.s8-tone-3 { fill:#839fae; }
.s8-shape text { stroke:none; fill:#173448; font-size:19px; font-weight:700; }
.s8-stripes { fill:none; stroke:#45687d; stroke-width:3; }
.s8-pair { display:inline-flex; flex-direction:column; align-items:center; margin:5px; vertical-align:middle; }
.s8-pair .s8-shape { height:44px; width:47px; }
.s8-pair .s8-shape+.s8-shape { margin-top:-8px; }
.s8-pair small { font-size:12px; }
.s8-attempt { position:sticky; top:20px; align-self:start; text-align:center; padding:12px; border:1px solid #a7bdca; border-radius:8px; background:#edf4f7; }
.s8-attempt > strong { display:block; }.s8-attempt p { font-size:13px; line-height:1.5; }
.s8-forbidden { border:2px solid #995143; border-radius:6px; background:#fff3ee; padding:8px; }
.s8-forbidden .s8-pair .s8-shape+.s8-shape { margin-top:10px; }
.s8-stage details { padding:12px 0; line-height:1.5; }.s8-stage summary { cursor:pointer; font-size:14px; }
.s8-numbers { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.s8-number { border:1px solid #bdcdd7; border-radius:7px; padding:12px; background:white; }
.s8-number > strong { display:block; font-size:30px; margin-bottom:8px; }
.s8-number button { font-size:12px; padding:8px 6px; margin:3px 0; display:block; width:100%; }
.s8-number button[aria-pressed="true"] { padding:7px 5px; }
.s8-eligible { background:#eef5f8; }
.s8-marks { display:flex; flex-wrap:wrap; gap:4px; min-height:45px; }
.s8-marks span { display:block; font-size:11px; padding:3px; border-radius:3px; background:#e1ecf2; }
.s8-lists,.s8-machines { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.s8-lists > section,.s8-machine { background:#f6f9fb; border:1px solid #c0d1db; border-radius:8px; padding:12px; }
.s8-lists button { display:block; margin:6px 0; }
.s8-person { display:block; padding:4px; }.s8-person small { display:block; font-size:12px; max-width:18ch; }
.s8-person-collection { border-top:2px solid #9db5c4; margin-top:18px; padding-top:8px; }
.s8-person-collection p { font-size:14px; line-height:1.5; }
.s8-person-collection .s8-person { border:1px solid #a7bdca; border-radius:6px; }
.s8-person-collection .s8-person button { display:block; font-size:12px; }
.s8-focus { outline:2px solid #416d89; outline-offset:3px; background:#e4eff5; }
.s8-code { font-size:30px; letter-spacing:8px; background:white; padding:10px; border-bottom:2px solid #718f9f; }
.s8-count { margin:12px 0; }
.s8-machine > p { line-height:1.5; }
.s8-support { border-left:4px solid #537e98; padding:10px 16px; background:#eaf2f6; margin-top:20px; line-height:1.6; }
.s8-evidence { border:1px solid #b4c8d4; border-radius:7px; padding:12px; margin:12px 0; }
.s8-evidence p { font-size:14px; line-height:1.5; margin:6px 0; }.s8-evidence .s8-number { display:inline-block; min-width:70px; }
.s8-evidence h3 { margin:4px 0 8px; }
.s8-evidence .s8-forbidden { display:flex; align-items:center; gap:10px; }
.s8-evidence .s8-pair .s8-shape { width:30px; height:30px; }
.s8-evidence .s8-person span { display:block; font-size:13px; margin:8px 0; }
.s8-mini-grid { display:flex; flex-wrap:wrap; gap:8px; }
.s8-snapshot { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.s8-takeaway { font-size:20px; line-height:1.8; }
.s8-exact { white-space:pre-wrap; overflow-wrap:anywhere; }
#s8-feedback:empty { display:none; }#s8-feedback { font-weight:600; line-height:1.5; margin:0 0 12px; }
.s8-local-feedback:empty { display:none; }.s8-local-feedback { font-weight:600; line-height:1.5; margin:0 0 12px; }
.s8-task:has(> #s8-feedback:only-child:empty) { display:none; }
@media(max-width:800px) {
    .s8-workbench { grid-template-columns:1fr; gap:16px; }
    .s8-task { position:static; }
    .s8-snapshot { grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; }
    .s8-snapshot .s8-evidence { padding:6px; }
    .s8-snapshot h3 { font-size:13px; }
    .s8-snapshot .s8-forbidden { display:block; padding:3px; font-size:11px; }
    .s8-snapshot .s8-number { min-width:0; padding:4px; }
}
@media(max-width:480px) {
    .s8-builder { grid-template-columns:minmax(0,1fr) 115px; gap:8px; }
    .s8-pools button { width:66px; font-size:12px; padding:5px; margin:3px; }
    .s8-pools button[aria-pressed="true"] { padding:4px; }
    .s8-shape { width:38px; height:40px; }
    .s8-attempt { padding:6px; }
    .s8-numbers { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .s8-machines { grid-template-columns:1fr; }
    .s8-lists { gap:8px; }.s8-lists > section { padding:8px; }
}

/* Step 8 human-review corrections: local feedback and accumulated outcomes. */
.s8-remaining:empty { display:none; }
.s8-remaining { line-height:1.5; }
.s8-classification-error { border:2px solid #995143; background:#fff3ee; }
.s8-number .s8-local-feedback { margin:8px 0 0; font-size:13px; }
.s8-code-collection { border-top:1px solid #a7bdca; margin:12px 0; padding-top:8px; }
.s8-code-collection h4 { margin:4px 0 8px; }
.s8-code-row { display:flex; gap:8px; margin:6px 0; }
.s8-code-row span { min-width:2.5em; padding:7px; text-align:center; border:1px solid #8da9ba; background:white; border-radius:4px; font-size:19px; }
.s8-meal { margin:14px 0; padding:12px; border:1px solid #8da9ba; line-height:1.6; }
.s8-rule { font-size:24px; line-height:1.6; }
.s8-sports p { line-height:1.8; }
.s8-clear-snapshot { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.s8-clear-snapshot .s8-evidence { margin:0; }
.s8-snapshot-example { display:flex; gap:12px; align-items:center; margin:12px 0; }
.s8-snapshot-example .s8-pair { flex-shrink:0; }
.s8-stage:has(.s8-clear-snapshot) .s8-workbench { grid-template-columns:1fr; }
.s8-stage:has(.s8-clear-snapshot) .s8-takeaway { font-size:17px; }
.s8-decisions button { background:white; color:#213d50; }
.s8-decisions button[aria-pressed="true"] { border:2px solid #416d89; background:#e4eff5; }
@media(max-width:700px) { .s8-clear-snapshot { grid-template-columns:1fr; } }

/* Local acknowledgements for the approved Steps 1–7 retuning. */
.answer-acknowledgement { flex-basis:100%; width:100%; margin:12px 0; }
.answer-acknowledgement p { margin:0 0 10px; color:#28533b; }
.activity-finale #nested-activityModel { display:block; width:100%; max-width:32rem; box-sizing:border-box; padding:12px; margin:10px 0; font:inherit; border:1px solid #9eb4c4; border-radius:5px; }
.activity-finale #activity-feedback { margin:10px 0; }
.nested-journey-card.nested-misplaced { border:2px solid #9b463e; }
.nested-journey-card.nested-misplaced > strong:last-child { display:block; margin-top:6px; color:#81352e; }
.third-codes .snapshot-stages section { padding:12px; border-bottom:2px solid #8fa9c1; }

/* Shared C-001 feedback hierarchy: rejected actions are prominent; success stays quiet. */
.wm-feedback-message { box-sizing:border-box; margin:9px 0; padding:9px 11px; border-left:4px solid #7893a5; border-radius:5px; background:#f1f5f7; }
.wm-feedback-warning { border-color:#b47724; background:#fff4df; color:#68420d; }
.wm-feedback-warning::before { content:"⚠ "; font-weight:800; }
.wm-feedback-success { border-color:#5f8a70; background:#edf6f0; color:#28533b; }
.mtbt0001-page .wm-thinking [role="status"],.mtbt0002-page .wm-thinking [role="status"],.mtbt0003-page .wm-thinking [role="status"]{white-space:pre-line;line-height:1.5}
.wm-feedback-info { border-color:#7893a5; background:#f1f5f7; color:#314f62; }

/* Steps 9–10: position and condition workspaces. Earlier experiences are untouched. */
.wm-screen:has(.lab-stage) .wm-layout { display:block; }
.wm-screen:has(.lab-stage) .wm-thinking { display:none; }
.wm-screen:has(.lab-stage) .wm-workspace { position:static; max-height:none; overflow:visible; }
.lab-stage { color:#213d50; line-height:1.6; scroll-margin-top:20px; }
.lab-stage h2 { margin:0 0 12px; font-size:clamp(22px,3vw,30px); line-height:1.3; }
.lab-stage h3 { font-size:18px; margin:14px 0 8px; }
.lab-stage p { margin:10px 0; }
.lab-stage button { font:inherit; font-size:14px; color:#23475e; background:#fff; border:1px solid #a5bcca; border-radius:6px; padding:9px 12px; margin:4px; min-height:44px; cursor:pointer; line-height:1.4; }
.lab-stage button[aria-pressed="true"] { outline:2px solid #285c83; outline-offset:1px; background:#e5eff5; }
.lab-stage button:disabled { opacity:.65; cursor:default; }
.lab-stage button:focus-visible,.lab-stage input:focus-visible,.lab-stage textarea:focus-visible,.lab-stage summary:focus-visible { outline:3px solid #285c83; outline-offset:3px; }
.lab-stage input,.lab-stage textarea { display:block; width:100%; box-sizing:border-box; font:inherit; color:inherit; background:#fff; border:1px solid #8ba9bb; border-radius:5px; padding:10px; margin:8px 0; }
.lab-stage textarea { resize:vertical; }
.lab-stage label { display:block; font-weight:600; }
.lab-stage fieldset { min-width:0; border:0; margin:8px 0; padding:0; }
.lab-stage legend { font-weight:600; font-size:14px; }
.lab-workbench { display:grid; grid-template-columns:minmax(0,1.3fr) minmax(240px,1fr); gap:24px; align-items:start; }
.lab-workbench > * { min-width:0; }
.lab-response { padding:16px; background:#f4f7f9; border-radius:8px; }
.lab-count + .lab-count { border-top:1px solid #c2d2dc; padding-top:14px; margin-top:14px; }
.lab-strip { display:flex; gap:8px; margin:12px 0; }
.lab-strip > div { flex:1; min-width:0; max-width:105px; }
.lab-strip button { width:100%; margin:0; padding:9px 4px; }
.lab-strip small,.lab-strip strong { display:block; }
.lab-strip small { font-size:11px; font-weight:400; }
.lab-strip strong { font-size:30px; font-weight:600; }
.lab-bank { display:flex; flex-wrap:wrap; gap:4px; }
.lab-bank button { min-width:45px; font-size:20px; }
.lab-notice { font-size:14px; font-weight:600; overflow-wrap:anywhere; }
.lab-notice:empty { display:none; }
.lab-notice-warning { padding:10px 12px; border-left:4px solid #b47724; border-radius:5px; background:#fff4df; color:#68420d; }
.lab-notice-warning::before { content:"⚠ "; font-weight:800; }
.lab-notice-success { padding:8px 10px; border-left:3px solid #5f8a70; border-radius:5px; background:#edf6f0; color:#28533b; }
.lab-notice-info { color:#4f6878; }
.lab-instruction { font-size:14px; }
.lab-question-kicker { margin:0 0 2px; color:#5d7180; font-size:11px; font-weight:800; letter-spacing:1.2px; }
.lab-central-question { margin:4px 0 16px; padding:13px 14px; border-left:4px solid #456f88; background:#edf3f6; border-radius:6px; }
.lab-central-question p { margin:0 0 5px; font-size:13px; color:#526b7a; }
.lab-central-question h3 { margin:0; color:#173f58; font-size:19px; line-height:1.35; }
.lab-prediction { margin-bottom:20px; }
.lab-prediction small { display:block; }
.lab-model { border-top:1px solid #b6c9d5; margin-top:24px; padding-top:12px; }
.lab-map { border:1px solid #b6c9d5; border-radius:8px; padding:12px; margin:14px 0; }
.lab-map-positions { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.lab-map-positions fieldset { border-left:2px solid #d0dce4; padding-left:10px; }
.lab-map-positions button { padding:8px; margin:3px; min-width:37px; }
.lab-stage details { margin:12px 0; }
.lab-stage summary { cursor:pointer; font-size:14px; }
.lab-examples { display:flex; flex-wrap:wrap; gap:8px; }
.lab-examples > div { border:1px solid #becfd9; border-radius:5px; padding:7px; display:flex; flex-direction:column; align-items:center; }
.lab-examples code { font-size:22px; letter-spacing:3px; }
.lab-examples small { font-size:12px; }
.lab-examples button { font-size:12px; padding:5px 8px; }
.lab-support { border-left:4px solid #537e98; background:#edf4f8; padding:12px; margin:16px 0; scroll-margin-top:20px; }
.lab-flow { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:7px; margin:0 0 18px; }
.lab-flow span { padding:7px 8px; border:1px solid #c1d1db; border-radius:5px; color:#637886; background:#f8fafb; font-size:12px; text-align:center; }
.lab-flow span.done { color:#234e67; border-color:#7398ad; background:#e9f1f5; font-weight:650; }
.lab-next-clue { margin:18px 0; padding:12px; border-left:3px solid #8ba9bb; background:#f5f8fa; }
.lab-rule-positions { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:7px; margin:12px 0; }
.lab-stage .lab-rule-position { margin:0; width:100%; min-height:58px; }
.lab-stage .lab-rule-position.selected { color:#173f58; border-color:#285c83; background:#e2edf4; box-shadow:inset 0 0 0 1px #285c83; }
.lab-current-rule { margin:14px 0; padding:12px; border:1px solid #b6c9d5; border-radius:7px; background:#f8fafb; }
.lab-current-rule > strong { display:block; margin-bottom:7px; }
.lab-empty-rule { color:#627987; font-size:14px; }
.lab-connection { display:grid; grid-template-columns:minmax(130px,.7fr) minmax(180px,1fr) auto; gap:10px; align-items:center; padding:8px 0; border-top:1px solid #d4e0e7; }
.lab-connection strong { color:#234e67; }
.lab-connection span { font-size:13px; }
.lab-stage .lab-connection button { min-height:36px; margin:0; padding:6px 9px; font-size:12px; }
.lab-discovery,.lab-ready { margin:18px 0 8px; padding:14px; border:1px solid #789caf; border-left:5px solid #315f7a; border-radius:7px; background:#edf4f8; }
.lab-discovery strong,.lab-ready strong { display:block; color:#1f4e68; }
.lab-code-display { font-size:32px; letter-spacing:10px; border-bottom:2px solid #8ba9bb; padding:12px; display:inline-block; }
.lab-job-slots { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.lab-job-slots button { width:100%; margin:0; min-height:84px; }
.lab-job-slots small,.lab-job-slots strong,.lab-person-pool strong,.lab-person-pool small { display:block; }
.lab-job-slots small { font-size:12px; }.lab-job-slots strong { font-size:19px; }
.lab-person-pool { display:flex; flex-wrap:wrap; margin:12px 0; }
.lab-person-pool button { flex:1 1 100px; }
.lab-person-pool small { font-size:11px; }
.lab-mini-board { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); border:1px solid #b8ccd9; border-radius:6px; padding:8px; margin:10px 0; gap:5px; }
.lab-mini-board span { padding:5px; background:#f3f7f9; }.lab-mini-board small,.lab-mini-board strong { display:block; }
.lab-mini-board small { font-size:11px; }.lab-mini-board p { grid-column:1 / -1; font-size:13px; }
.lab-rule-comparison { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.lab-rule-comparison section { padding:12px; background:#f2f6f8; border:1px solid #b5cad7; border-radius:7px; }
.lab-rule-editor { display:flex; flex-wrap:wrap; align-items:start; gap:12px; margin:18px 0; }
.lab-rule-editor fieldset { flex:1 1 180px; }.lab-rule-editor > p { width:100%; }
.lab-condition-results { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin:12px 0; font-size:14px; }
.lab-condition-results section { padding:9px 11px; border:1px solid #afc2cd; border-radius:6px; background:#f5f8fa; }
.lab-condition-results h4,.lab-condition-results p { margin:0; }
.lab-calculation { margin:18px 0; padding:13px; border:1px solid #afc4d0; border-radius:8px; background:#fff; }
.lab-calculation h4 { margin:0 0 8px; }
.lab-calculation-line { display:block; min-height:34px; padding:9px 11px; margin:7px 0 12px; border:2px solid #789caf; border-radius:6px; background:#f7fafb; color:#173f58; font-size:20px; font-weight:650; overflow-wrap:anywhere; }
.lab-calculation-controls { display:flex; flex-wrap:wrap; gap:6px; align-items:end; }
.lab-calculation-controls label { flex-basis:100%; }
.lab-stage .lab-calculation-controls input { width:110px; margin:0; }
.lab-stage .lab-calculation-controls button { margin:0; }
.lab-operator-bank { display:flex; gap:5px; }
.lab-stage .lab-operator-bank button { min-width:46px; font-size:19px; }
.lab-snapshot { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:20px; }
.lab-snapshot > section { padding:14px; border:1px solid #bacdd8; border-radius:8px; }
.lab-equation { font-size:20px; font-weight:600; }.lab-exact { white-space:pre-wrap; overflow-wrap:anywhere; }
@media(max-width:850px) { .lab-workbench { grid-template-columns:1fr; }.lab-map-positions { gap:5px; } }
@media(max-width:600px) { .lab-flow { grid-template-columns:repeat(2,minmax(0,1fr)); }.lab-connection { grid-template-columns:1fr; }.lab-stage .lab-connection button { width:max-content; } }
@media(max-width:480px) { .lab-rule-comparison,.lab-map-positions,.lab-condition-results { grid-template-columns:1fr; }.lab-strip { gap:5px; }.lab-strip strong { font-size:25px; }.lab-stage .lab-strip button { padding:8px 3px; }.lab-rule-positions { grid-template-columns:repeat(2,minmax(0,1fr)); } }

/* Step 11 — an independent evidence challenge, not a quiz scoreboard. */
.s11-progress { display:grid; grid-template-columns:repeat(7,1fr); gap:6px; max-width:520px; margin:0 0 20px; }
.s11-progress span { display:grid; place-items:center; min-height:30px; border-bottom:3px solid #cad6dd; color:#667b88; font-size:12px; }
.s11-progress span.done { border-color:#658b73; color:#315c42; }
.s11-progress span.active { border-color:#315f7a; color:#173f58; font-weight:800; }
.s11-intro { max-width:680px; margin:0 0 22px; padding:14px 16px; border-left:4px solid #789caf; background:#f1f6f8; }
.s11-challenge { max-width:820px; padding:22px; border:1px solid #b8cad5; border-radius:12px; background:#fff; }
.s11-kicker,.s11-support-label { margin:0; color:#5d7180; font-size:11px; font-weight:800; letter-spacing:1.2px; }
.s11-challenge > h2 { margin-top:4px; }
.s11-problem { margin:18px 0; padding:18px; border-left:4px solid #456f88; border-radius:7px; background:#edf3f6; }
.s11-problem > h3:last-child { margin-bottom:0; color:#173f58; font-size:21px; }
.s11-problem blockquote { margin:14px 0; padding:10px 14px; border-left:3px solid #8ba9bb; background:#fff; }
.s11-cases { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.s11-cases section { padding:10px 12px; border:1px solid #bdced8; border-radius:6px; background:#fff; }
.s11-choice-row,.s11-lineup { display:flex; flex-wrap:wrap; gap:10px; margin:14px 0; }
.s11-choice-row span { display:grid; min-width:100px; padding:10px 12px; border:1px solid #b7cad5; border-radius:7px; background:#fff; text-align:center; }
.s11-choice-row strong { font-size:24px; color:#234e67; }
.s11-choice-row small { color:#536b79; }
.s11-lineup span { display:grid; place-items:center; width:48px; height:48px; border-radius:50%; border:2px solid #789caf; background:#fff; color:#234e67; font-weight:800; }
.s11-place-cue { display:flex; gap:10px; margin-top:16px; }
.s11-place-cue span { display:grid; min-width:78px; padding:8px; border-bottom:2px solid #789caf; text-align:center; font-size:28px; }
.s11-place-cue small { font-size:11px; font-weight:500; color:#5d7180; }
.s11-response { max-width:660px; }
.s11-response fieldset { margin-bottom:14px; }
.s11-help-controls { margin:14px 0; }
.s11-support { margin:18px 0; padding:14px 16px; border-left:4px solid #537e98; border-radius:5px; background:#eaf2f6; }
.s11-support p { max-width:680px; }
.s11-complete { margin:20px 0 12px; padding:14px 16px; border-left:4px solid #5f8a70; border-radius:6px; background:#edf6f0; color:#28533b; }
.s11-complete h3 { margin-top:0; }
.s11-honesty { color:#596f7d; font-size:13px; }
.s11-finale { max-width:900px; padding:24px; border:1px solid #9eb7c5; border-radius:12px; background:#f7fafb; }
.s11-finale > .eyebrow { color:#285c83; font-weight:800; letter-spacing:1.2px; }
.s11-snapshot { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin:22px 0; }
.s11-snapshot section { padding:14px; border-top:3px solid #789caf; background:#fff; }
@media(max-width:650px) { .s11-challenge,.s11-finale { padding:16px; }.s11-cases,.s11-snapshot { grid-template-columns:1fr; }.s11-progress { gap:3px; } }
/* Minimal Phase 2A member surfaces; Discovery styles remain unchanged. */
.member-pending #experienceRoot,.member-pending .player-navigation{visibility:hidden}
.member-return{margin-left:auto;color:#fff;text-decoration:none;font-weight:600}
.member-gate-message{max-width:720px;margin:2rem auto;padding:1rem;border:1px solid #b9cad6;border-radius:8px}
.member-page{background:#f2f6f9;color:#21384a;min-height:100vh}
.member-shell{max-width:650px;margin:3rem auto;padding:0 1rem}
.member-card{background:#fff;border:1px solid #ccd8e1;border-radius:12px;padding:2rem;box-shadow:0 8px 26px rgba(28,57,75,.06)}
.member-card h1{font-size:2rem;margin:0 0 1rem}.member-card h2{font-size:1.3rem;margin:1.6rem 0 .5rem}
.member-card form{display:grid;gap:1rem;margin:1.25rem 0}.member-card label{display:grid;gap:.35rem;font-weight:600}
.member-card input,.member-card select{font:inherit;padding:.7rem;border:1px solid #91a9bb;border-radius:6px;max-width:100%;background:#fff;color:#21384a}
.member-card button,.member-button{font:inherit;display:inline-block;width:max-content;padding:.7rem 1rem;background:#284e69;color:#fff;border:1px solid #284e69;border-radius:6px;text-decoration:none;cursor:pointer}
.member-card [hidden]{display:none}
.member-card button:disabled{opacity:.6;cursor:wait}.member-card .member-link{background:none;border:0;color:#245a82;padding:.2rem;text-decoration:underline}
.member-status:not(:empty){background:#eaf3f8;border-left:4px solid #497b99;padding:.8rem 1rem;margin-bottom:1rem}
.member-warning{margin:0;color:#7b3d1b;font-weight:700}
@media(max-width:600px){.member-shell{margin:1rem auto}.member-card{padding:1.25rem}}
/* Member learning home: subject and chapter catalogue, separate from account forms. */
.member-page .member-shell{max-width:1120px;margin:0 auto;padding:36px 28px 76px}
.member-page .member-card{max-width:650px;margin:12px auto}
.member-dashboard{color:#17364d}
.member-dashboard[hidden]{display:none}
.member-home-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px}
.member-home-heading h1{font-size:clamp(30px,3.3vw,43px);line-height:1.1;letter-spacing:-.035em;margin:4px 0 0}
.member-eyebrow{color:#5c7789;font-size:11px;font-weight:800;letter-spacing:.13em;margin:0;text-transform:uppercase}
.member-account-note{font-size:13px;color:#667b89;margin:9px 0 28px}
.member-dashboard .member-link{background:none;border:0;color:#45687b;cursor:pointer;flex:none;font:inherit;font-size:14px;padding:5px 0;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
.member-resume{border-radius:22px;background:#143b50;color:#fff;overflow:hidden;box-shadow:0 16px 36px rgba(23,54,77,.12)}
.member-resume #memberResume{display:grid;grid-template-columns:minmax(0,1fr) 240px;min-height:245px}
.member-resume-content{padding:31px 38px 32px}
.member-resume .member-eyebrow{color:#a9d0dc}
.member-resume h2{font-size:clamp(27px,3vw,37px);letter-spacing:-.025em;line-height:1.14;margin:10px 0 11px}
.member-resume-content>p:not(.member-eyebrow){font-size:16px;line-height:1.5;margin:0 0 11px;color:#d9e9ef}
.member-resume-content .member-resume-position{font-size:14px;color:#b5d0dc;margin:15px 0 19px}
.member-resume-action{display:inline-flex;align-items:center;gap:18px;background:#fff;border-radius:9px;color:#143b50;font-size:15px;font-weight:750;padding:12px 18px;text-decoration:none}
.member-resume-action:hover,.member-resume-action:focus-visible{background:#e6f3f6}
.member-resume-art{display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#1b5870,#326e77)}
.member-resume-art svg{width:182px;height:120px;opacity:.95}
.member-resume-art svg path,.member-resume-art svg rect,.member-resume-art svg circle{fill:none;stroke:#d5eced;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.member-resume-art svg circle,.member-resume-art svg rect{fill:#2d7180}
.member-resume-art svg text{fill:#fff;font-size:19px;font-weight:800;text-anchor:middle}
.member-library{margin-top:45px}
.member-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:18px}
.member-section-heading h2{font-size:28px;letter-spacing:-.025em;margin:5px 0 0}
.member-section-heading>p{font-size:14px;color:#667b89;max-width:360px;margin:0 0 2px;text-align:right}
#memberSubjects{display:grid;gap:24px}
.member-subject{background:#fff;border:1px solid #d9e5e9;border-radius:18px;overflow:hidden}
.member-subject-title{display:flex;align-items:center;gap:13px;padding:20px 26px;border-bottom:1px solid #e1e9ed}
.member-subject-title h3{font-size:23px;letter-spacing:-.02em;margin:3px 0 0}
.member-subject-mark{display:grid;place-items:center;background:#e1f0f1;color:#246474;border-radius:11px;width:42px;height:42px;font-size:25px;font-weight:650}
.member-chapter{padding:0}
.member-chapter+.member-chapter{border-top:1px solid #e1e9ed}
.member-chapter-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:22px 26px;cursor:pointer;list-style:none}
.member-chapter-heading::-webkit-details-marker{display:none}
.member-chapter-heading:hover{background:#f7fafb}
.member-chapter-heading:focus-visible{outline:3px solid #347e97;outline-offset:-4px;border-radius:8px}
.member-chapter-label{display:grid;gap:4px}
.member-chapter-label strong{font-size:21px;letter-spacing:-.02em}
.member-chapter-description{font-size:14px;color:#647d8b}
.member-chapter-meta{display:flex;align-items:center;gap:16px;font-size:13px;color:#647d8b;white-space:nowrap}
.member-chapter-chevron{display:grid;place-items:center;width:28px;height:28px;border:1px solid #c5d9df;border-radius:50%}
.member-chapter-chevron::before{content:"";width:7px;height:7px;border-right:2px solid #416a78;border-bottom:2px solid #416a78;transform:translateY(-2px) rotate(45deg);transition:transform .2s ease}
.member-chapter[open] .member-chapter-chevron::before{transform:translateY(2px) rotate(225deg)}
.member-chapter>.member-path{margin:0 26px 26px}
.member-path{position:relative;display:grid;gap:10px}
.member-path:before{content:"";position:absolute;left:21px;top:26px;bottom:26px;width:2px;background:#d5e5e9}
.member-path-item{position:relative;display:grid;grid-template-columns:44px 78px minmax(0,1fr) auto;align-items:center;gap:16px;padding:16px 18px 16px 0;border:1px solid #e1e9ed;border-radius:13px;background:#fbfdfd;min-height:112px}
.member-path-item.state-in-progress{border-color:#8bb4bf;background:#f5fafb}
.member-path-number{z-index:1;display:grid;place-items:center;width:34px;height:34px;margin-left:5px;border:2px solid #a8c4cb;border-radius:50%;background:#fff;color:#416a78;font-size:14px;font-weight:800}
.member-path-item.state-completed .member-path-number{background:#d9ecea;border-color:#63a69c;color:#14534d}
.member-path-item.state-in-progress .member-path-number{background:#246981;border-color:#246981;color:#fff}
.member-path-visual{display:grid;place-items:center;width:78px;height:70px;background:#eaf3f5;border-radius:11px}
.member-path-visual svg{width:72px;height:52px}
.member-path-visual svg path,.member-path-visual svg rect,.member-path-visual svg circle{fill:none;stroke:#558397;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.member-path-visual svg circle,.member-path-visual svg rect{fill:#fff}
.member-path-visual svg text{fill:#326175;font-size:18px;font-weight:800;text-anchor:middle}
.member-path-copy{min-width:0}
.member-path-copy h5{font-size:18px;line-height:1.25;margin:0 0 4px}
.member-path-copy p{font-size:14px;line-height:1.4;color:#587284;margin:0 0 8px}
.member-path-status{font-size:12px;font-weight:700;color:#47788b}
.state-completed .member-path-status{color:#33776b}
.member-path-action{display:inline-flex;align-items:center;gap:9px;color:#1c5a74;font-size:14px;font-weight:750;text-decoration:none;white-space:nowrap;padding:9px 11px;border-radius:8px}
.member-path-action:hover,.member-path-action:focus-visible{background:#e4f1f4;text-decoration:underline}
@media(max-width:720px){
  .member-page .member-shell{padding:24px 16px 54px}
  .member-resume #memberResume{grid-template-columns:minmax(0,1fr) 145px}
  .member-resume-content{padding:27px 25px}
  .member-resume-art svg{width:118px}
  .member-section-heading{display:block}
  .member-section-heading>p{text-align:left;margin-top:8px}
  .member-path-item{grid-template-columns:38px 66px minmax(0,1fr);gap:11px;padding:14px 12px 14px 0}
  .member-path-visual{width:66px;height:65px}
  .member-path-visual svg{width:60px}
  .member-path-action{grid-column:3;justify-self:start;padding-left:0}
  .member-path:before{left:18px}
  .member-path-number{margin-left:2px}
}
@media(max-width:480px){
  .member-page .topbar .discovery-code{display:none}
  .member-resume #memberResume{display:block;min-height:0}
  .member-resume-art{display:none}
  .member-chapter-heading{padding:19px 14px}
  .member-chapter>.member-path{margin:0 14px 20px}
  .member-subject-title{padding:18px 15px}
  .member-chapter-heading{align-items:flex-start}
  .member-chapter-meta{gap:8px;font-size:11px}
}
@media(prefers-reduced-motion:reduce){.member-chapter-chevron::before{transition:none}}
/* MTPC002 Batch B: persistent objects and local comparison cards. */
.mtpc002-page .b-stage{display:grid;gap:12px;min-width:0}
.mtpc002-page .b-stage h2,.mtpc002-page .b-stage h3,.mtpc002-page .b-saved h3{margin:0}
.mtpc002-page .b-stage p{margin:0;line-height:1.45}
.mtpc002-page .b-board,.mtpc002-page .b-observation,.mtpc002-page .b-saved,.mtpc002-page .b-compare>section{border:1px solid #cbdde2;border-radius:12px;padding:12px;background:#f8fbfb;min-width:0}
.mtpc002-page .b-tray,.mtpc002-page .b-slots,.mtpc002-page .b-choices,.mtpc002-page .b-controls,.mtpc002-page .b-candidates{display:flex;flex-wrap:wrap;gap:8px;align-items:stretch}
.mtpc002-page .b-tray{min-height:46px;margin-bottom:10px}
.mtpc002-page .b-slots{display:grid;grid-template-columns:repeat(auto-fit,minmax(82px,1fr))}
.mtpc002-page .b-slot{display:grid;gap:5px;min-width:0}
.mtpc002-page .b-slot strong{font-size:12px;line-height:1.2}
.mtpc002-page .b-slot button{min-height:56px;width:100%;overflow-wrap:anywhere}
.mtpc002-page .b-board button,.mtpc002-page .b-choices button,.mtpc002-page .b-candidates button,.mtpc002-page .b-controls button{min-height:42px;font-size:14px}
.mtpc002-page .b-token{display:inline-block;font-weight:700;font-size:1.05em}
.mtpc002-page .b-token.b-clap{border-bottom:4px solid #b45726;padding-bottom:3px}
.mtpc002-page .b-token.b-tap{border-bottom:4px dotted #176789;padding-bottom:3px}
.mtpc002-page .b-board button[aria-pressed="true"],.mtpc002-page .b-choices button[aria-pressed="true"],.mtpc002-page .b-candidates button[aria-pressed="true"]{outline:3px solid #245a70;outline-offset:1px;background:#d6eff2}
.mtpc002-page .b-mini-row{display:inline-flex;flex-wrap:wrap;gap:3px;vertical-align:middle}
.mtpc002-page .b-mini-row>span{display:inline-block;padding:4px 7px;border:1px solid #b4c9d1;border-radius:6px;background:#fff}
.mtpc002-page .b-saved-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.mtpc002-page .b-saved-list>span{display:inline-flex;gap:6px;align-items:center;padding:4px;border:1px solid #d6e3e7;border-radius:7px;background:#fff}
.mtpc002-page .b-candidates{margin-top:8px}.mtpc002-page .b-candidates button{flex:1 1 140px}
.mtpc002-page .b-compare{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.mtpc002-page .b-observation{display:grid;gap:8px;background:#edf6f8}
.mtpc002-page .b-earned,.mtpc002-page .b-local.good{color:#17523e;font-weight:700}
.mtpc002-page .b-local.warn{color:#8b3f20;font-weight:700}
.mtpc002-page .b-stock{font-weight:700}
.mtpc002-page .b-snapshot{line-height:1.7}
.mtpc002-page .b-person{display:inline-flex;flex-direction:column;align-items:center;gap:2px;min-width:38px;line-height:1.1}
.mtpc002-page .b-person svg{display:block;width:46px;height:46px;max-width:100%}
.mtpc002-page .b-person-name{font-size:12px;font-weight:700;white-space:nowrap}
.mtpc002-page .b-mini-row .b-person svg{width:32px;height:32px}
.mtpc002-page .b-mini-row .b-person-name{font-size:11px}
.mtpc002-page .b-rule-card{display:grid;gap:8px;padding:12px;border:1px solid #cbdde2;border-radius:12px;background:#f8fbfb;min-width:0}
.mtpc002-page .b-rule-card h3,.mtpc002-page .b-rule-card p{margin:0}
.mtpc002-page .b-s6-snapshot{display:grid;gap:14px;line-height:1.5}
.mtpc002-page .b-s6-snapshot section{display:grid;gap:7px;padding:12px;border:1px solid #cbdde2;border-radius:10px;background:#f8fbfb;min-width:0}
.mtpc002-page .b-s6-snapshot h3,.mtpc002-page .b-s6-snapshot p{margin:0}
.mtpc002-page .b-exchange-lane{position:relative;width:max-content;max-width:100%;padding:30px 0;margin:0 auto}
.mtpc002-page .b-exchange-row{display:grid;grid-template-columns:repeat(var(--exchange-count),minmax(0,48px));gap:7px}
.mtpc002-page .b-exchange-row>span,.mtpc002-page .b-moving-tile{box-sizing:border-box;display:grid;place-items:center;height:46px;border:2px solid #63899a;border-radius:8px;background:#fff;color:#204759;font-size:20px;font-weight:700}
.mtpc002-page .b-moving-tile{position:absolute;z-index:2;pointer-events:none;box-shadow:0 4px 12px #174a5e33}
.mtpc002-page .b-exchange-lane.is-exchanging[data-moving-kinds="A"] .b-exchange-row>[data-exchange-kind="A"],.mtpc002-page .b-exchange-lane.is-exchanging[data-moving-kinds="B"] .b-exchange-row>[data-exchange-kind="B"],.mtpc002-page .b-exchange-lane.is-exchanging[data-moving-kinds="AB"] .b-exchange-row>span{visibility:hidden}
.mtpc002-page .b-exchange-result{display:grid;gap:5px;padding:9px;border-left:3px solid #63899a;background:#fff}
.mtpc002-page .b-exchange-note{font-size:13px;color:#456675}
.mtpc002-page .b-grouped-line{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:10px 0}
.mtpc002-page .b-grouped-line>.b-person,.mtpc002-page .b-pair-card,.mtpc002-page .b-performance-card,.mtpc002-page .b-performance-group{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:50px;padding:5px;border:2px solid #63899a;border-radius:8px;background:#fff;color:#204759;text-align:center}
.mtpc002-page .b-pair-card{gap:2px}
.mtpc002-page .b-performance-card,.mtpc002-page .b-performance-group{min-width:80px;font-weight:700;line-height:1.25}
.mtpc002-page .b-performance-group{flex-direction:column}
.mtpc002-page .b-performance-group small{font-size:11px;font-weight:400}
.mtpc002-page .b-person-exchange-lane{position:relative;width:max-content;max-width:100%;padding:30px 0;margin:0 auto}
.mtpc002-page .b-person-exchange-row{display:flex;gap:7px}
.mtpc002-page .b-person-exchange-row>span,.mtpc002-page .b-moving-person{box-sizing:border-box;display:grid;place-items:center;min-width:55px;padding:3px;border:2px solid #63899a;border-radius:8px;background:#fff}
.mtpc002-page .b-moving-person{position:absolute;z-index:2;pointer-events:none;box-shadow:0 4px 12px #174a5e33}
.mtpc002-page .b-person-exchange-lane.is-exchanging .b-person-exchange-row>[data-person-name="Ari"],.mtpc002-page .b-person-exchange-lane.is-exchanging .b-person-exchange-row>[data-person-name="Bea"]{visibility:hidden}
.mtpc002-page .b-s7-snapshot{display:grid;gap:14px;line-height:1.5}
.mtpc002-page .b-s7-snapshot section{display:grid;gap:7px;padding:12px;border:1px solid #cbdde2;border-radius:10px;background:#f8fbfb}
.mtpc002-page .b-s7-snapshot h3,.mtpc002-page .b-s7-snapshot p{margin:0}
.mtpc002-page .b-colour-choice,.mtpc002-page .b-colour-flash{font-weight:700;border-width:2px;min-width:72px}
.mtpc002-page .b-colour-choice[data-colour="Red"],.mtpc002-page .b-colour-flash[data-colour="Red"]{background:#b63c43;color:#fff;border-color:#8a252f}
.mtpc002-page .b-colour-choice[data-colour="Blue"],.mtpc002-page .b-colour-flash[data-colour="Blue"]{background:#285d98;color:#fff;border-color:#194571}
.mtpc002-page .b-colour-choice[data-colour="Yellow"],.mtpc002-page .b-colour-flash[data-colour="Yellow"]{background:#f5d65d;color:#2c342e;border-color:#ad8516}
.mtpc002-page .b-colour-choice[aria-pressed="true"]{outline:3px solid #193c50;outline-offset:3px;box-shadow:inset 0 0 0 2px #fff}
.mtpc002-page [data-rhythm-beat].is-playing{background:#d6eff2;border-color:#125c79;box-shadow:0 0 0 3px #8ac7da}
.mtpc002-page [data-rhythm-beat].is-playing .b-token{transform:scale(1.1)}
@media(prefers-reduced-motion:reduce){.mtpc002-page .b-moving-tile,.mtpc002-page .b-moving-person{display:none}}
@media(max-width:650px){.mtpc002-page .b-compare{grid-template-columns:1fr}.mtpc002-page .b-slots{grid-template-columns:repeat(3,minmax(0,1fr))}.mtpc002-page .b-board,.mtpc002-page .b-observation,.mtpc002-page .b-saved{padding:9px}.mtpc002-page .b-slot button{min-height:62px}}

/* MTPC002 Step 8: badge rows and the book spaces remain readable together. */
.mtpc002-page .wm-workspace:has(.s8-row-work){min-width:0}
.mtpc002-page .s8-row-work,.mtpc002-page .s8-gaps,.mtpc002-page .s8-saved,.mtpc002-page .s8-support{min-width:0;padding:12px;border:1px solid #c9dce2;border-radius:11px;background:#f8fbfb}
.mtpc002-page .s8-row-work h2,.mtpc002-page .s8-gaps h2,.mtpc002-page .s8-support h3{margin:0 0 10px}
.mtpc002-page .s8-tray{display:flex;flex-wrap:wrap;gap:7px;min-height:54px;margin-bottom:12px}
.mtpc002-page .s8-card{display:flex;align-items:center;gap:6px;min-height:46px;padding:6px 9px;border:2px solid #63899a;border-radius:8px;background:#fff;color:#193c50;font-size:13px;font-weight:700;text-align:left}
.mtpc002-page .s8-card-symbol{display:inline-grid;place-items:center;width:24px;height:24px;flex:none;font-size:21px}
.mtpc002-page .s8-circle .s8-card-symbol{color:#14668f}.mtpc002-page .s8-triangle .s8-card-symbol{color:#a34b32}
.mtpc002-page .s8-ordinary{background:#f2f7ea}.mtpc002-page .s8-special{background:#fff4e4}
.mtpc002-page .s8-card[aria-pressed="true"],.mtpc002-page .s8-choice[aria-pressed="true"]{border:3px solid #124d66;background:#ccebf1;box-shadow:inset 0 0 0 2px #fff;color:#143e51}
.mtpc002-page .s8-row{display:grid;grid-template-columns:repeat(var(--s8-places,5),minmax(0,1fr));gap:5px}
.mtpc002-page .s8-row:has(.s8-place:nth-child(6)){--s8-places:6}
.mtpc002-page .s8-row:has(.s8-place:nth-child(3):last-child){--s8-places:3}
.mtpc002-page .s8-place{box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:78px;padding:5px;border:2px dashed #8aa8b4;border-radius:8px;background:#fff;color:#204759;text-align:center;overflow-wrap:anywhere}
.mtpc002-page .s8-place.is-filled{border-style:solid;background:#eef6f7}
.mtpc002-page .s8-place small{font-size:11px;color:#456675}.mtpc002-page .s8-place strong{font-size:12px;line-height:1.2}.mtpc002-page .s8-place>span{font-size:20px}
.mtpc002-page .s8-instruction{margin:9px 0 0;font-size:13px}
.mtpc002-page .s8-saved{margin-top:12px}.mtpc002-page .s8-saved h3,.mtpc002-page .s8-saved p{margin:0 0 5px;overflow-wrap:anywhere}
.mtpc002-page .s8-earned{color:#17523e;font-weight:700}
.mtpc002-page .s8-choices{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}
.mtpc002-page .s8-choice{display:inline-flex;align-items:center;gap:8px;min-height:48px;padding:8px 12px;border:2px solid #63899a;border-radius:8px;background:#fff;color:#204759;font-weight:700;text-align:left;box-shadow:none}
.mtpc002-page .s8-choice-mark{display:inline-grid;place-items:center;flex:none;width:21px;height:21px;border:2px solid #7896a3;border-radius:50%;background:#fff;color:#fff;font-size:14px;line-height:1}
.mtpc002-page .wm-thinking button.s8-choice[aria-pressed="true"],.mtpc002-page .s8-insertion.is-selected{border:3px solid #124d66 !important;background:#ccebf1 !important;color:#143e51 !important;box-shadow:inset 0 0 0 2px #fff !important;font-weight:700}
.mtpc002-page .s8-choice.is-selected .s8-choice-mark,.mtpc002-page .s8-insertion.is-selected .s8-choice-mark{border-color:#124d66;background:#124d66;color:#fff}
.mtpc002-page .s8-field{display:grid;gap:6px;margin:10px 0;font-weight:700}.mtpc002-page .s8-field input,.mtpc002-page .s8-field textarea{box-sizing:border-box;width:100%;max-width:460px;padding:10px;border:2px solid #7397a5;border-radius:7px;background:#fff;color:#193c50;font:inherit}
.mtpc002-page .s8-ordinary-held,.mtpc002-page .s8-book-experience{min-width:0;margin-top:12px;padding:12px;border:1px solid #c9dce2;border-radius:11px;background:#f8fbfb}
.mtpc002-page .s8-ordinary-held h2,.mtpc002-page .s8-book-experience h2{margin:0 0 8px}.mtpc002-page .s8-book-experience p{margin:6px 0 10px}
.mtpc002-page .s8-book-row{display:grid;grid-template-columns:repeat(var(--s8-book-count),minmax(0,1fr));gap:5px;width:100%;min-width:0}
.mtpc002-page .s8-book{display:grid;place-items:center;min-width:0;min-height:48px;padding:5px;border:1px solid #648570;border-radius:7px;background:#f2f7ea;color:#244837;font-size:12px;font-weight:700;text-align:center;overflow-wrap:anywhere}
.mtpc002-page .s8-book-special{border-color:#a4773e;background:#fff4e4;color:#68491f}
.mtpc002-page .s8-current-row{padding:10px;border:2px solid #6696a5;border-radius:9px;background:#fff}.mtpc002-page .s8-current-row h3,.mtpc002-page .s8-tried-rows h3{margin:0 0 8px;font-size:14px}
.mtpc002-page .s8-insertion-options{display:grid;gap:8px;margin-top:12px}.mtpc002-page .s8-insertion{position:relative;display:block;width:100%;min-width:0;padding:7px;border:2px solid #63899a;border-radius:8px;background:#fff;color:#204759;text-align:left;box-shadow:none}
.mtpc002-page .s8-insertion .s8-choice-mark{position:absolute;top:-7px;left:-7px;z-index:1}.mtpc002-page .s8-tried-rows{display:grid;gap:7px;margin-top:12px}.mtpc002-page .s8-tried-rows .s8-book{min-height:37px}
.mtpc002-page .s8-local-warning{color:#9d3c1d;font-weight:700}.mtpc002-page .s8-local-success{color:#17523e;font-weight:700}
.mtpc002-page .s8-patterns{margin-top:10px;padding:10px;border:1px solid #9ab9c2;border-radius:8px;background:#f8fbfb}.mtpc002-page .s8-patterns h3{margin:0 0 6px}.mtpc002-page .s8-patterns p{margin:5px 0;overflow-wrap:anywhere}
.mtpc002-page .s8-support{margin-top:12px;background:#edf6f8}.mtpc002-page .s8-support p{margin:0 0 8px}.mtpc002-page .s8-snapshot{display:grid;gap:12px;line-height:1.55}.mtpc002-page .s8-snapshot p{margin:0;padding:12px;border:1px solid #c9dce2;border-radius:9px;background:#f8fbfb}
.mtpc002-page .s8-card:focus-visible,.mtpc002-page .s8-choice:focus-visible,.mtpc002-page .s8-place:focus-visible,.mtpc002-page .s8-insertion:focus-visible{outline:3px solid #a54412;outline-offset:4px}

/* MTPC002 Batch C: complete results remain readable in each mathematical context. */
.mtpc002-page .bc-context{min-width:0;display:grid;gap:10px}.mtpc002-page .bc-context h2{margin:0}.mtpc002-page .bc-context p{margin:0;line-height:1.55}
.mtpc002-page .bc-object,.mtpc002-page .bc-saved,.mtpc002-page .bc-collections section,.mtpc002-page .bc-support{min-width:0;padding:12px;border:1px solid #c9dce2;border-radius:10px;background:#f8fbfb}
.mtpc002-page .bc-tray,.mtpc002-page .bc-places,.mtpc002-page .bc-options{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0}
.mtpc002-page .bc-place{display:grid;gap:4px;align-content:center;min-height:62px;min-width:76px;flex:1 1 76px;padding:8px;border:2px solid #7896a3;border-radius:8px;background:#fff;color:#183e50;text-align:center}
.mtpc002-page .bc-place small{font-size:.75em}.mtpc002-page .bc-place.is-filled{background:#e9f3f5;border-color:#557e90}.mtpc002-page .bc-place:disabled{opacity:1;cursor:default}
.mtpc002-page .bc-button,.mtpc002-page .bc-option{min-height:48px;padding:8px 12px;border:2px solid #63899a;border-radius:8px;background:#fff;color:#204759;font:inherit;font-weight:700;cursor:pointer}
.mtpc002-page .bc-button:hover,.mtpc002-page .bc-option:hover,.mtpc002-page .bc-place:not(:disabled):hover{background:#eaf4f7}.mtpc002-page .bc-button:disabled,.mtpc002-page .bc-option:disabled{opacity:.55;cursor:not-allowed}
.mtpc002-page .wm-thinking button.bc-option[aria-pressed="true"],.mtpc002-page .bc-tray button.bc-option[aria-pressed="true"]{border:3px solid #124d66!important;background:#ccebf1!important;color:#143e51!important;box-shadow:inset 0 0 0 2px #fff!important}
.mtpc002-page .bc-option{display:inline-flex;align-items:center;gap:8px;text-align:left}.mtpc002-page .bc-mark{display:inline-grid;place-items:center;flex:none;width:21px;height:21px;border:2px solid #7896a3;border-radius:50%;background:#fff;color:#fff;line-height:1}.mtpc002-page .bc-option[aria-pressed="true"] .bc-mark{border-color:#124d66;background:#124d66;color:#fff}
.mtpc002-page .bc-button:focus-visible,.mtpc002-page .bc-option:focus-visible,.mtpc002-page .bc-place:focus-visible,.mtpc002-page .bc-field input:focus-visible,.mtpc002-page .bc-field textarea:focus-visible{outline:3px solid #a54412;outline-offset:4px}
.mtpc002-page .bc-operate{font-size:.9rem;color:#466373}.mtpc002-page .bc-field{display:grid;gap:6px;margin:10px 0;font-weight:700}.mtpc002-page .bc-field input,.mtpc002-page .bc-field textarea{box-sizing:border-box;width:100%;max-width:500px;padding:10px;border:2px solid #7397a5;border-radius:7px;background:#fff;color:#193c50;font:inherit}
.mtpc002-page .bc-saved ul{display:grid;gap:6px;list-style:none;margin:8px 0 0;padding:0}.mtpc002-page .bc-saved li{display:flex;flex-wrap:wrap;justify-content:space-between;gap:5px;padding:7px;border-bottom:1px solid #dbe6ea}.mtpc002-page .bc-saved li span{color:#315c6b}
.mtpc002-page .bc-collections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.mtpc002-page .bc-collections h3{margin:0 0 8px}.mtpc002-page .bc-collections p{overflow-wrap:anywhere;padding:6px;border-bottom:1px solid #dbe6ea}.mtpc002-page .bc-collection-note,.mtpc002-page .bc-fixed{padding:9px;border-left:3px solid #537e98;background:#edf5f8}
.mtpc002-page .bc-support{margin-top:12px;background:#edf6f8}.mtpc002-page .bc-support h3{margin:0 0 8px}.mtpc002-page .bc-earned{padding:10px;border-left:4px solid #5f8a70;background:#edf6f0}.mtpc002-page .bc-summary{display:grid;gap:10px;line-height:1.55}.mtpc002-page .bc-summary p{margin:0;padding:12px;border:1px solid #c9dce2;border-radius:9px;background:#f8fbfb}
@media(max-width:540px){.mtpc002-page .bc-collections{grid-template-columns:1fr}.mtpc002-page .bc-place{min-width:62px;flex-basis:62px}.mtpc002-page .bc-tray .bc-option{flex:1 1 42%}}
.mtpc002-page .bc-object.number .bc-places,.mtpc002-page .bc-object.code .bc-places{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;max-width:420px;margin:14px auto}
.mtpc002-page .bc-object.number .bc-place,.mtpc002-page .bc-object.code .bc-place{min-width:0;border-radius:0;font-size:1.3rem}.mtpc002-page .bc-object.number .bc-place:first-child,.mtpc002-page .bc-object.code .bc-place:first-child{border-radius:9px 0 0 9px}.mtpc002-page .bc-object.number .bc-place:last-child,.mtpc002-page .bc-object.code .bc-place:last-child{border-radius:0 9px 9px 0}
.mtpc002-page .bc-object.number .bc-place:not(:first-child),.mtpc002-page .bc-object.code .bc-place:not(:first-child){border-left:0}.mtpc002-page .bc-object.number .bc-place strong,.mtpc002-page .bc-object.code .bc-place strong{font-size:1.4em}
.mtpc002-page .bc-object.bc-stack .bc-places{display:flex;flex-direction:column-reverse;align-items:center;gap:1px}.mtpc002-page .bc-object.bc-stack .bc-place{width:min(100%,280px);min-height:56px;border-radius:50% 50% 35% 35%;flex:none}.mtpc002-page .bc-object.bc-stack .bc-place:first-child{border-bottom:5px solid #80674e}
.mtpc002-page .bc-object.rhythm .bc-places{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.mtpc002-page .bc-object.rhythm .bc-place{min-width:0;flex-basis:auto}.mtpc002-page .bc-object.rhythm .bc-place strong{overflow-wrap:anywhere}
.mtpc002-page .bc-object.lantern .bc-place.is-filled::before{content:'◉';color:#a5792b;font-size:1.25em;line-height:1}.mtpc002-page .bc-object.kite .bc-place.is-filled::before{content:'◆';color:#537e98;font-size:1.25em;line-height:1}
.mtpc002-page .bc-ledger{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.mtpc002-page .bc-ledger>div{display:grid;gap:6px;padding:9px;border:1px solid #c9dce2;border-radius:8px;background:#edf6f8}.mtpc002-page .bc-ledger small{line-height:1.25}.mtpc002-page .bc-ledger strong{font-size:1.25rem}
@media(max-width:540px){.mtpc002-page .bc-object.rhythm .bc-places{grid-template-columns:repeat(2,minmax(0,1fr))}.mtpc002-page .bc-ledger{grid-template-columns:1fr}.mtpc002-page .bc-ledger>div{grid-template-columns:1fr auto;align-items:center}}
@media(max-width:540px){.mtpc002-page .bc-object.kite .bc-places{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}.mtpc002-page .bc-object.kite .bc-place{min-width:0;padding:3px;font-size:.7rem}.mtpc002-page .bc-object.kite .bc-place strong{white-space:nowrap;letter-spacing:-.04em}}
.mtpc002-page .s10-builder{padding:12px;border:1px solid #c9dce2;border-radius:10px;background:#f8fbfb}.mtpc002-page .s10-builder .bc-places{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.mtpc002-page .s10-builder .bc-place{min-width:0;overflow-wrap:anywhere}.mtpc002-page .s10-line{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px;overflow-wrap:anywhere}.mtpc002-page .s10-line.is-linked{border-left:4px solid #3e7c8a;background:#edf7f8;padding-left:7px}.mtpc002-page .s10-tag{font-size:.78rem;color:#245b68;font-weight:700}.mtpc002-page .s10-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px;border:2px solid #3e7c8a;border-radius:9px;background:#edf7f8}.mtpc002-page .s10-pair>div{min-width:0}.mtpc002-page .s10-pair p{overflow-wrap:anywhere}.mtpc002-page .s10-broad{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.mtpc002-page .s10-broad h3{grid-column:1/-1}.mtpc002-page .s10-broad section{padding:10px;border:1px solid #c9dce2;border-radius:8px}.mtpc002-page .s10-mark-list{display:grid;gap:8px}.mtpc002-page .s10-mark-list .bc-option[aria-pressed="true"]{border:3px solid #124d66;background:#ccebf1;color:#143e51}.mtpc002-page .s10-builder .bc-button{margin-top:6px}
@media(max-width:540px){.mtpc002-page .s10-pair,.mtpc002-page .s10-broad{grid-template-columns:1fr}.mtpc002-page .s10-builder .bc-places{grid-template-columns:repeat(2,minmax(0,1fr))}.mtpc002-page .s10-broad h3{grid-column:1}}
.mtpc002-page .s10-turned-lists .s10-turn{padding:8px 0;border-bottom:1px solid #d9e5e9}.mtpc002-page .s10-turned-lists .s10-turn:last-child{border-bottom:0}.mtpc002-page .s10-turned-lists .s10-line{margin:3px 0}.mtpc002-page .s10-turned-lists .is-turned{padding:5px 7px;background:#edf7f8;border-left:4px solid #3e7c8a}.mtpc002-page .s10-turned-lists .bc-button{margin:4px 0;font-size:.9rem}
.mtpc002-page .s10-local-feedback,.mtpc002-page .s10-ref{margin:8px 0 0;padding:9px;border-left:3px solid #537e98;background:#edf5f8;overflow-wrap:anywhere}.mtpc002-page .s10-earlier{margin-top:10px;padding:8px;border:1px solid #c9dce2;border-radius:8px}.mtpc002-page .s10-earlier summary{cursor:pointer;font-weight:700}
.mtpc002-page .s11-grid-wrap{max-width:100%;overflow-x:auto}.mtpc002-page .s11-grid{display:grid;grid-template-columns:64px repeat(6,minmax(36px,1fr));gap:4px;min-width:306px;max-width:720px;align-items:stretch}.mtpc002-page .s11-axis-corner,.mtpc002-page .s11-blue-head,.mtpc002-page .s11-red-head{display:grid;place-items:center;padding:4px;border-radius:5px;text-align:center;font-size:.78rem}.mtpc002-page .s11-axis-corner{background:#edf4f7;color:#345360}.mtpc002-page .s11-blue-head{background:#dcebf8;color:#1b4f74}.mtpc002-page .s11-red-head{background:#f9e0df;color:#862f31}.mtpc002-page .s11-cell{display:grid;gap:1px;align-content:center;min-height:52px;padding:3px;border:2px solid #94a9b2;border-radius:6px;background:#fff;color:#203d4c;font:inherit;font-size:.76rem;cursor:pointer}.mtpc002-page .s11-cell .s11-red{color:#8a3032;font-weight:700}.mtpc002-page .s11-cell .s11-blue{color:#245c85;font-weight:700}.mtpc002-page .s11-cell.is-marked{border-color:#12516b;background:#ccebf1;box-shadow:inset 0 0 0 1px #fff}.mtpc002-page .s11-cell.is-incorrect{border-color:#a54412;background:#fce8dc}.mtpc002-page .s11-cell.is-left{border-color:#9b7625;background:#fff6db}.mtpc002-page .s11-cell:focus-visible{outline:3px solid #a54412;outline-offset:2px}.mtpc002-page .s11-cell:disabled{opacity:1;cursor:default}.mtpc002-page .s11-three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.mtpc002-page .s11-die{min-width:0;padding:10px;border:2px solid;border-radius:9px}.mtpc002-page .s11-die.red{border-color:#b96d6d;background:#fff3f1}.mtpc002-page .s11-die.blue{border-color:#6596bd;background:#f1f8ff}.mtpc002-page .s11-die.green{border-color:#6c9e7e;background:#f0f8f2}.mtpc002-page .s11-die h3{margin:0 0 5px}.mtpc002-page .s11-face-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.mtpc002-page .s11-face-row .bc-option{display:grid;place-items:center;min-width:0;padding:4px}.mtpc002-page .s11-examples{margin-top:10px;padding:10px;border:1px solid #c9dce2;border-radius:8px;background:#f8fbfb}.mtpc002-page .s11-examples h3{margin:0 0 6px}.mtpc002-page .s11-examples p{display:flex;justify-content:space-between;gap:8px;margin:4px 0;overflow-wrap:anywhere}.mtpc002-page .s11-examples span{color:#345d6c}.mtpc002-page .s11-row-builder .bc-places{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.mtpc002-page .s11-row-builder.code .bc-places{grid-template-columns:repeat(3,minmax(0,1fr));max-width:450px}.mtpc002-page .s11-row-builder.scoop .bc-places{display:flex;flex-direction:column-reverse;align-items:center;gap:2px}.mtpc002-page .s11-row-builder.scoop .bc-place{width:min(100%,260px);flex:none;border-radius:48% 48% 28% 28%}.mtpc002-page .s11-row-builder .bc-place{min-width:0;overflow-wrap:anywhere}.mtpc002-page .s11-row-builder .bc-tray{min-height:20px}.mtpc002-page .s11-local{margin:8px 0;padding:9px;border-left:3px solid #537e98;background:#edf5f8}.mtpc002-page .s11-legacy{margin-top:10px;padding:8px;border:1px solid #c9dce2;border-radius:8px}.mtpc002-page .s11-legacy summary{cursor:pointer;font-weight:700}.mtpc002-page .s11-code-ledger{grid-template-columns:repeat(2,minmax(0,1fr))}.mtpc002-page .s11-code-ledger strong{font-size:1rem}
@media(max-width:540px){.mtpc002-page .s11-grid{grid-template-columns:50px repeat(6,minmax(34px,1fr));gap:2px}.mtpc002-page .s11-cell{min-height:43px;font-size:.65rem}.mtpc002-page .s11-three{grid-template-columns:1fr}.mtpc002-page .s11-face-row{grid-template-columns:repeat(6,minmax(0,1fr))}.mtpc002-page .s11-code-ledger{grid-template-columns:1fr}.mtpc002-page .s11-examples p{display:grid}}
.mtpc002-page .s11-model{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(190px,1fr);gap:12px;align-items:start}.mtpc002-page .s11-model-grid,.mtpc002-page .s11-model-green{min-width:0;padding:12px;border:1px solid #c9dce2;border-radius:8px;background:#f8fbfb}.mtpc002-page .s11-model h3{margin:0 0 8px}.mtpc002-page .s11-model p{margin:8px 0 0}.mtpc002-page .s11-model-grid .s11-grid{grid-template-columns:48px repeat(6,minmax(30px,1fr));gap:2px;min-width:240px}.mtpc002-page .s11-model-grid .s11-cell{min-height:34px;font-size:.64rem}.mtpc002-page .s11-model-grid .s11-axis-corner,.mtpc002-page .s11-model-grid .s11-blue-head,.mtpc002-page .s11-model-grid .s11-red-head{font-size:.65rem}.mtpc002-page .s11-green-numbers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.mtpc002-page .s11-green-numbers span{display:grid;place-items:center;min-height:42px;border:2px solid #6c9e7e;border-radius:7px;background:#f0f8f2;color:#264b35;font-weight:700}.mtpc002-page .s11-model-bridge{padding:10px 12px;border-left:4px solid #537e98;background:#edf5f8;font-weight:700}
.mtpc002-page .s11-dice-reference{display:inline-block;max-width:100%;margin:10px 0 16px;padding:10px 14px;border:1px solid #c9dce2;border-radius:8px;background:#f8fbfb}.mtpc002-page .s11-dice-reference-row{display:flex;flex-wrap:wrap;gap:16px;align-items:start}.mtpc002-page .s11-reference-die{display:grid;justify-items:center;gap:5px;min-width:60px}.mtpc002-page .s11-reference-die strong{font-size:.82rem;color:#29495a}.mtpc002-page .s11-reference-face{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);gap:3px;width:54px;height:54px;padding:8px;border:2px solid;border-radius:10px;box-shadow:0 2px 0 #d3e0e6}.mtpc002-page .s11-reference-face span{display:grid;place-items:center}.mtpc002-page .s11-reference-face .is-pip::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}.mtpc002-page .s11-reference-face.red{border-color:#ad6868;background:#fff0ef;color:#8b2f35}.mtpc002-page .s11-reference-face.blue{border-color:#608fb6;background:#ecf5ff;color:#245c85}.mtpc002-page .s11-reference-face.green{border-color:#639778;background:#edf7ef;color:#285d3d}.mtpc002-page .s11-dice-reference p{margin:7px 0 0;color:#506b79;font-size:.82rem}
@media(max-width:650px){.mtpc002-page .s11-model{grid-template-columns:1fr}.mtpc002-page .s11-green-numbers{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:850px){.mtpc002-page .wm-layout:has(.s8-row-work){grid-template-columns:minmax(0,1fr)}.mtpc002-page .wm-workspace:has(.s8-row-work){min-width:0}}
@media(max-width:650px){.mtpc002-page .s8-row{grid-template-columns:repeat(3,minmax(0,1fr))}.mtpc002-page .s8-card{font-size:12px}.mtpc002-page .s8-book{font-size:10px;line-height:1.2;padding:4px 2px}}
/* MTPC002 Batch D mathematical workspaces */
.mtpc002-page .d-builder{margin:12px 0}.mtpc002-page .d-builder .bc-tray{display:flex;flex-wrap:wrap;gap:7px;min-height:45px}.mtpc002-page .d-builder .bc-option,.mtpc002-page .d-seat-actions .bc-option{border:2px solid #789aa9;background:#fff;color:#153b4f;cursor:pointer}.mtpc002-page .d-builder .bc-option.is-selected,.mtpc002-page .d-seat-actions .bc-option.is-selected,.mtpc002-page .d-target-ring .bc-place.is-selected{border-color:#124c68;background:#cce9f0;box-shadow:inset 0 0 0 1px #fff}.mtpc002-page .d-builder .bc-option:focus-visible,.mtpc002-page .d-ring .bc-place:focus-visible,.mtpc002-page .d-seat-actions .bc-option:focus-visible{outline:3px solid #ab691c;outline-offset:2px}.mtpc002-page .d-line{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.mtpc002-page .d-line .bc-place{min-width:0;overflow-wrap:anywhere}.mtpc002-page .d-comparison{display:flex;flex-wrap:wrap;gap:12px;margin:12px 0}.mtpc002-page .d-comparison>p,.mtpc002-page .d-comparison>div,.mtpc002-page .d-comparison>.d-saved{flex:1 1 180px;margin:0;padding:12px;border:1px solid #adc7d2;border-radius:8px;background:#f4f9fb}.mtpc002-page .d-saved{margin:12px 0;padding:9px 12px;border:1px solid #c5d8df;border-radius:8px;background:#f7fbfc}.mtpc002-page .d-saved h3{margin:0 0 8px}.mtpc002-page .d-saved p{margin:5px 0;overflow-wrap:anywhere}.mtpc002-page .d-local{padding:9px;border-left:3px solid #426f84;background:#edf5f8}.mtpc002-page .d-reference{margin:12px 0;padding:10px;border-left:3px solid #547f92;background:#eff6f8}.mtpc002-page .d-ring,.mtpc002-page .d-mini-ring{position:relative;width:min(100%,310px);height:260px;margin:12px auto;border:3px solid #84a6b7;border-radius:50%;background:#f9fcfd}.mtpc002-page .d-ring .bc-place,.mtpc002-page .d-mini-ring span{position:absolute;display:grid;place-items:center;width:84px;min-height:55px;padding:5px;transform:translate(-50%,-50%);border:2px solid #789aa9;border-radius:9px;background:#fff;text-align:center;font:inherit;overflow-wrap:anywhere;cursor:pointer}.mtpc002-page .d-ring .bc-place.is-filled{border-color:#2d6b82;background:#e4f2f5}.mtpc002-page .d-ring .bc-place:disabled{opacity:1;cursor:default}.mtpc002-page .d-mini-ring{width:210px;height:175px}.mtpc002-page .d-mini-ring span{width:62px;min-height:40px;font-size:.78rem}.mtpc002-page .d-ring.n4 .bc-place:nth-child(1),.mtpc002-page .d-mini-ring:has(span:nth-child(4):last-child) span:nth-child(1){left:50%;top:5%}.mtpc002-page .d-ring.n4 .bc-place:nth-child(2),.mtpc002-page .d-mini-ring:has(span:nth-child(4):last-child) span:nth-child(2){left:89%;top:50%}.mtpc002-page .d-ring.n4 .bc-place:nth-child(3),.mtpc002-page .d-mini-ring:has(span:nth-child(4):last-child) span:nth-child(3){left:50%;top:95%}.mtpc002-page .d-ring.n4 .bc-place:nth-child(4),.mtpc002-page .d-mini-ring:has(span:nth-child(4):last-child) span:nth-child(4){left:11%;top:50%}.mtpc002-page .d-ring.n5 .bc-place:nth-child(1),.mtpc002-page .d-mini-ring:has(span:nth-child(5):last-child) span:nth-child(1){left:50%;top:5%}.mtpc002-page .d-ring.n5 .bc-place:nth-child(2),.mtpc002-page .d-mini-ring:has(span:nth-child(5):last-child) span:nth-child(2){left:87%;top:32%}.mtpc002-page .d-ring.n5 .bc-place:nth-child(3),.mtpc002-page .d-mini-ring:has(span:nth-child(5):last-child) span:nth-child(3){left:73%;top:82%}.mtpc002-page .d-ring.n5 .bc-place:nth-child(4),.mtpc002-page .d-mini-ring:has(span:nth-child(5):last-child) span:nth-child(4){left:27%;top:82%}.mtpc002-page .d-ring.n5 .bc-place:nth-child(5),.mtpc002-page .d-mini-ring:has(span:nth-child(5):last-child) span:nth-child(5){left:13%;top:32%}.mtpc002-page .d-ring.n6 .bc-place:nth-child(1){left:50%;top:5%}.mtpc002-page .d-ring.n6 .bc-place:nth-child(2){left:83%;top:27%}.mtpc002-page .d-ring.n6 .bc-place:nth-child(3){left:83%;top:73%}.mtpc002-page .d-ring.n6 .bc-place:nth-child(4){left:50%;top:95%}.mtpc002-page .d-ring.n6 .bc-place:nth-child(5){left:17%;top:73%}.mtpc002-page .d-ring.n6 .bc-place:nth-child(6){left:17%;top:27%}.mtpc002-page .d-seat-actions,.mtpc002-page .d-lab-actions{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.mtpc002-page .d-lab.d-letter-surface .bc-place{font-size:1.2rem}.mtpc002-page .d-lab.d-book-surface .bc-place{min-height:100px;border-radius:4px 12px 12px 4px}.mtpc002-page .d-lab.d-flag-surface .bc-place{border-radius:3px 20px 20px 3px}.mtpc002-page .d-lab.d-flag-surface .bc-place strong{font-size:1.3rem}@media(max-width:540px){.mtpc002-page .d-line{grid-template-columns:repeat(5,minmax(0,1fr));gap:3px}.mtpc002-page .d-line .bc-place{padding:4px;font-size:.78rem}.mtpc002-page .d-line .bc-place small{font-size:.62rem}.mtpc002-page .d-ring{height:230px}.mtpc002-page .d-ring .bc-place{width:68px;min-height:48px;font-size:.75rem}.mtpc002-page .d-mini-ring{height:160px}.mtpc002-page .d-mini-ring span{width:54px;font-size:.68rem}}
/* Batch D Lab objects retain readable names as well as distinct visual forms. */
.mtpc002-page .d-lab.d-card-surface .bc-place{border-radius:7px;background:linear-gradient(145deg,#fff 77%,#e5eef4 77%);box-shadow:2px 3px 0 #c4d2da}.mtpc002-page .d-lab.d-trail-surface .bc-place{border-radius:4px 18px 18px 4px;border-left-width:5px;background:#fffdf2}.mtpc002-page .d-lab.d-letter-surface .bc-place{border-radius:8px;background:#fff7df}.mtpc002-page .d-lab.d-circle-surface [data-token="Red"]{border-color:#a43c3c;background:#fae3e1;color:#732323}.mtpc002-page .d-lab.d-circle-surface [data-token="Blue"]{border-color:#396d9a;background:#e0effa;color:#174b70}.mtpc002-page .d-lab.d-circle-surface [data-token="Green"]{border-color:#42865c;background:#e2f5e9;color:#1c603b}.mtpc002-page .d-lab.d-circle-surface [data-token="Yellow"]{border-color:#a88428;background:#fff2bd;color:#664d11}
.mtpc002-page .d-circle-work{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;align-items:start}.mtpc002-page .d-circle-work h3{margin:6px 0}.mtpc002-page .d-circle-work .d-ring{margin:8px auto}.mtpc002-page .d-static-ring .bc-place{cursor:default}.mtpc002-page .d-current-reading,.mtpc002-page .d-readings{padding:10px;border:1px solid #b8ced8;border-radius:8px;background:#f5fafb}.mtpc002-page .d-readings ol{margin:8px 0;padding-left:25px}.mtpc002-page .d-readings li{margin:0 0 8px;overflow-wrap:anywhere}@media(max-width:700px){.mtpc002-page .d-circle-work{grid-template-columns:1fr}.mtpc002-page .d-circle-work .d-ring{margin:10px auto}.mtpc002-page .d-readings{margin-top:0}}
.mtpc002-page .d-turn-motion{animation:d-circle-turn .55s ease-out both}.mtpc002-page .d-turn-motion .bc-place strong{animation:d-circle-label .55s ease-out both}@keyframes d-circle-turn{from{transform:rotate(-90deg)}to{transform:rotate(0deg)}}@keyframes d-circle-label{from{transform:rotate(90deg)}to{transform:rotate(0deg)}}@media(prefers-reduced-motion:reduce){.mtpc002-page .d-turn-motion,.mtpc002-page .d-turn-motion .bc-place strong{animation:none}}
.mtpc002-page .d-circle-work .d-static-ring{width:min(100%,250px);height:250px}@media(max-width:540px){.mtpc002-page .d-circle-work .d-static-ring{width:min(100%,230px);height:230px}}
.mtpc002-page .d-numbered-ring .bc-place{min-height:62px;gap:2px}.mtpc002-page .d-numbered-ring .bc-place small{display:block;font-size:.6rem;font-weight:700;line-height:1;color:#41667a}.mtpc002-page .d-numbered-ring .bc-place strong{line-height:1.15}
.mtpc002-page .d-reference-preview .bc-place{cursor:default}
.mtpc002-page .d-circle-special{gap:18px}.mtpc002-page .d-circle-special>div{flex:1 1 350px;min-width:0;overflow:visible}.mtpc002-page .d-circle-special .d-ring{width:min(250px,calc(100% - 100px));height:240px;margin:28px auto}.mtpc002-page .d-circle-special .d-mini-ring{width:min(210px,calc(100% - 80px));margin:28px auto}
@media(max-width:540px){.mtpc002-page .d-circle-special .d-ring{height:210px}.mtpc002-page .d-circle-special .d-mini-ring{height:170px}}
.mtpc002-page .d-circle-special .d-mini-ring.d-flower-ring{width:min(250px,calc(100% - 100px));height:240px}
.mtpc002-page .d-mini-ring.d-flower-ring>span{box-sizing:border-box;width:88px;min-height:65px;padding:4px;line-height:1.1}
.mtpc002-page .d-circle-special .d-ring.n6.d-flower-ring{width:min(280px,calc(100% - 92px));height:280px}
.mtpc002-page .d-ring.d-flower-ring .bc-place{box-sizing:border-box;width:92px;min-height:65px;padding:4px}
.mtpc002-page .d-flower-ring .d-flower-icon{display:block;font-size:1.5rem;line-height:1}
.mtpc002-page .d-flower-ring em{display:block;font-size:.72rem;font-style:normal;line-height:1.1;font-weight:600}
@media(max-width:540px){.mtpc002-page .d-circle-special .d-mini-ring.d-flower-ring{width:min(205px,calc(100% - 80px));height:205px}.mtpc002-page .d-mini-ring.d-flower-ring>span{width:70px;min-height:52px}.mtpc002-page .d-circle-special .d-ring.n6.d-flower-ring{width:min(210px,calc(100% - 74px));height:210px}.mtpc002-page .d-ring.d-flower-ring .bc-place{width:70px;min-height:52px}.mtpc002-page .d-flower-ring .d-flower-icon{font-size:1.1rem}.mtpc002-page .d-flower-ring em{font-size:.6rem}}
.mtpc002-page .d-reference-work{margin:12px 0;padding:12px;border:1px solid #b8ced8;border-radius:8px;background:#f5fafb}.mtpc002-page .d-reference-work>h3{margin:0 0 8px}.mtpc002-page .d-reference-work .d-seat-actions{align-content:center}.mtpc002-page .d-reference-work .d-seat-actions .bc-button{width:100%;text-align:left}.mtpc002-page .d-reference-gallery{margin-top:22px}.mtpc002-page .d-circle-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.mtpc002-page .d-circle-gallery>div{min-width:0;padding:12px;border:1px solid #c5d8df;border-radius:8px;background:#fff}.mtpc002-page .d-circle-gallery .d-mini-ring{width:min(170px,calc(100% - 72px));height:150px;margin:18px auto 22px}.mtpc002-page .d-circle-gallery .d-mini-ring span{width:52px;min-height:36px;padding:4px;font-size:.76rem;box-sizing:border-box}@media(max-width:520px){.mtpc002-page .d-circle-gallery{grid-template-columns:1fr}}
.mtpc002-page .d-circle-work:has(.d-turn-motion) .d-current-reading,.mtpc002-page .d-circle-work:has(.d-turn-motion) .d-readings li:last-child{animation:d-reading-appear .55s steps(1,end) both}@keyframes d-reading-appear{from{visibility:hidden}to{visibility:visible}}@media(prefers-reduced-motion:reduce){.mtpc002-page .d-circle-work:has(.d-turn-motion) .d-current-reading,.mtpc002-page .d-circle-work:has(.d-turn-motion) .d-readings li:last-child{animation:none}}
.mtpc002-page .d-rule-label{display:inline-block;margin-left:7px;padding:2px 6px;border:1px solid #abc2ce;border-radius:5px;background:#eaf3f7;color:#234c61;font-size:.75rem;font-weight:700}
.mtpc003-page .c3-world{min-width:0}.mtpc003-page .c3-world>p{max-width:66ch}.mtpc003-page .c3-tray{display:flex;flex-wrap:wrap;gap:9px;margin:10px 0}.mtpc003-page .c3-pick{display:flex;align-items:center;gap:7px;min-height:58px;padding:7px 10px;border:2px solid #8da9b7;border-radius:9px;background:#fff;color:#173b4e;cursor:pointer;font:inherit}.mtpc003-page .c3-pick>span:first-child{font-size:1.35rem}.mtpc003-page .c3-pick.is-selected{border-color:#17536c;background:#d8edf3;box-shadow:inset 0 0 0 1px #fff}.mtpc003-page .c3-pick .c3-check{display:inline-grid;place-items:center;min-width:20px;font-weight:800}.mtpc003-page .c3-pick:focus-visible,.mtpc003-page [data-action]:focus-visible{outline:3px solid #ad6b16;outline-offset:2px}.mtpc003-page .c3-operate{font-size:.9rem;color:#476679}.mtpc003-page .c3-cards{display:flex;flex-wrap:wrap;gap:7px;align-items:center;min-height:64px;padding:8px;border:2px solid #aac6d1;border-radius:12px;background:#f4f9fb}.mtpc003-page .c3-cards.is-row{border-radius:7px;background:#f3f7fc}.mtpc003-page .c3-card{display:inline-flex;align-items:center;gap:5px;padding:6px 8px;border:1px solid #6d9aab;border-radius:8px;background:#fff;color:#173b4e}.mtpc003-page .c3-card>span{font-size:1.2rem}.mtpc003-page .c3-result{min-width:0;margin:10px 0}.mtpc003-page .c3-result>strong{display:block;margin-bottom:5px}.mtpc003-page .c3-columns{display:flex;flex-wrap:wrap;gap:12px;align-items:start}.mtpc003-page .c3-columns>*{flex:1 1 190px;min-width:0}.mtpc003-page .c3-saved{margin:10px 0;padding:10px;border:1px solid #bed1d9;border-radius:9px;background:#f8fbfc}.mtpc003-page .c3-saved h3{margin:0 0 7px}.mtpc003-page .c3-saved ol{margin:0;padding-left:24px}.mtpc003-page .c3-saved li{padding:3px 0;overflow-wrap:anywhere}.mtpc003-page .c3-actions{display:flex;flex-wrap:wrap;gap:7px}.mtpc003-page .c3-world .bc-button{margin:6px 6px 6px 0}@media(max-width:540px){.mtpc003-page .c3-pick{min-height:52px;padding:5px 7px}.mtpc003-page .c3-columns>*{flex-basis:100%}}
.mtpc003-page .c3-dance{margin:16px 0;padding:16px;border:1px solid #bad0da;border-radius:16px;background:#f7fafb}.mtpc003-page .c3-dance-rules{display:flex;flex-wrap:wrap;gap:8px}.mtpc003-page .c3-dance-rules span{padding:6px 10px;border-radius:999px;background:#e7f1f5;color:#214c60;font-weight:700;font-size:.9rem}.mtpc003-page .c3-dance-progress{margin:16px 0 12px}.mtpc003-page .c3-dance-pools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.mtpc003-page .c3-dance-pools>div,.mtpc003-page .c3-dance-floor{padding:12px;border:1px solid #c2d5dc;border-radius:12px;background:#fff}.mtpc003-page .c3-dance h3{margin:0 0 9px;font-size:1rem}.mtpc003-page .c3-dance-person,.mtpc003-page .c3-dance-couple{font:inherit;color:#173b4e;cursor:pointer;background:#fff;border:2px solid #86a8b7;border-radius:10px;padding:9px 12px;min-height:46px}.mtpc003-page .c3-dance-person.is-selected{background:#dceff5;border-color:#17536c;box-shadow:inset 0 0 0 1px #17536c}.mtpc003-page .c3-dance-floor{margin:14px 0}.mtpc003-page .c3-dance-couples{display:flex;flex-wrap:wrap;gap:9px;align-items:stretch}.mtpc003-page .c3-dance-couple{display:grid;gap:3px;text-align:left;background:#edf6f8}.mtpc003-page .c3-dance-couple small{font-size:.75rem;color:#466578}.mtpc003-page .c3-dance-couple.is-fixed{background:#e5f1e9;border-color:#6b9c7e;cursor:default}.mtpc003-page .c3-dance-calc{display:flex;flex-wrap:wrap;gap:8px;align-items:end}.mtpc003-page .c3-dance-calc .bc-field{flex:1 1 130px}.mtpc003-page .c3-dance-calc>span{padding-bottom:14px;font-weight:700}@media(max-width:600px){.mtpc003-page .c3-dance{padding:10px}.mtpc003-page .c3-dance-pools{grid-template-columns:1fr}}
.mtpc003-page .c3-grid-wrap{max-width:560px;margin:18px 0;padding:18px}.mtpc003-page .c3-grid-board{position:relative;width:100%;max-width:460px;border:2px solid #638496;border-radius:3px;background:#f8fbfc}.mtpc003-page .c3-grid-board svg{display:block;width:100%;height:100%}.mtpc003-page .c3-grid-dot{position:absolute;z-index:1;transform:translate(-50%,-50%);width:26px;height:26px;border:3px solid #235c77;border-radius:50%;background:#fff;cursor:pointer}.mtpc003-page .c3-grid-dot.is-selected{background:#235c77;box-shadow:0 0 0 3px #fff inset}.mtpc003-page .c3-grid-status,.mtpc003-page .c3-path-status{padding:9px 12px;border-left:4px solid #477d91;background:#eef6f8}.mtpc003-page .c3-path-wrap{max-width:560px;padding:8px;margin:14px 0}.mtpc003-page .c3-path-board{display:block;width:100%;max-height:410px;background:#f8fbfc;border:1px solid #b4cbd4;border-radius:10px}.mtpc003-page .c3-grid-board .c3-grid-dot:focus-visible{outline:3px solid #ad6b16;outline-offset:3px}@media(max-width:540px){.mtpc003-page .c3-grid-wrap{padding:14px}.mtpc003-page .c3-grid-dot{width:23px;height:23px}}
.mtpc003-page .c3-line-scroll{max-width:600px;overflow-x:auto;padding:12px 24px 16px 10px;margin:12px 0}.mtpc003-page .c3-line-machine{display:grid;grid-template-columns:64px minmax(0,1fr);grid-template-rows:auto 50px auto;column-gap:12px;max-width:540px;padding:8px 22px 18px 8px}.mtpc003-page .c3-line-machine.is-chess{min-width:540px}.mtpc003-page .c3-line-top-label{grid-column:2;grid-row:1;margin:0 0 8px;color:#175878;font-weight:750}.mtpc003-page .c3-line-top-controls{position:relative;grid-column:2;grid-row:2}.mtpc003-page .c3-line-side-controls{position:relative;grid-column:1;grid-row:3}.mtpc003-page .c3-line-side-label{position:absolute;top:-78px;left:0;width:64px;color:#955811;font-size:.76rem;font-weight:750;line-height:1.1}.mtpc003-page .c3-line-machine .c3-grid-board{grid-column:2;grid-row:3;max-width:none}.mtpc003-page .c3-grid-line-button{position:absolute;z-index:2;display:grid;place-items:center;width:39px;height:39px;padding:0;border:2px solid #7397a5;border-radius:50%;background:#fff;color:#163d51;font:inherit;font-weight:750;cursor:pointer}.mtpc003-page .c3-grid-line-button.is-vertical{top:0;transform:translateX(-50%);border-color:#2d789f}.mtpc003-page .c3-grid-line-button.is-horizontal{left:50%;transform:translate(-50%,-50%);border-color:#a56d2b}.mtpc003-page .c3-grid-line-button.is-selected.is-vertical{background:#165c85;border-color:#165c85;color:#fff}.mtpc003-page .c3-grid-line-button.is-selected.is-horizontal{background:#a05f13;border-color:#a05f13;color:#fff}@media(max-width:540px){.mtpc003-page .c3-line-machine:not(.is-chess){grid-template-columns:52px minmax(0,1fr);column-gap:8px;padding-right:18px}.mtpc003-page .c3-grid-line-button{width:34px;height:34px;font-size:.85rem}.mtpc003-page .c3-line-side-label{width:52px;font-size:.7rem}}
.mtpc003-page .c3-binom{display:inline-grid;grid-template-rows:1fr 1fr;vertical-align:middle;line-height:1;text-align:center;position:relative;padding:0 .55em;margin:0 .12em;font-size:.84em}.mtpc003-page .c3-binom::before,.mtpc003-page .c3-binom::after{position:absolute;top:-.05em;bottom:-.05em;font-size:2.2em;font-weight:400;line-height:1}.mtpc003-page .c3-binom::before{content:'(';left:0}.mtpc003-page .c3-binom::after{content:')';right:0}.mtpc003-page .c3-binom>span{white-space:nowrap}
.mtpc003-page .c3-gallery{margin-top:14px}.mtpc003-page .c3-gallery>h3{margin:0 0 8px}.mtpc003-page .c3-group-case{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:12px;margin:10px 0;padding:12px;border:1px solid #bed1d9;border-radius:9px;background:#f8fbfc}.mtpc003-page .c3-group-case>div{min-width:0}.mtpc003-page .c3-group-case .c3-cards{margin-top:7px}.mtpc003-page .c3-group-case p{margin:7px 0 0;color:#476679}.mtpc003-page .c3-group-case ol{margin:7px 0 0;padding-left:23px}.mtpc003-page .c3-group-case li{padding:2px 0;overflow-wrap:anywhere}@media(max-width:620px){.mtpc003-page .c3-group-case{grid-template-columns:1fr}}
.mtpc003-page .c3-factor-machine,.mtpc003-page .c3-factor{margin:14px 0;padding:14px;border:1px solid #bed1d9;border-radius:10px;background:#f4f9fb}.mtpc003-page .c3-factor-machine h3{margin:0 0 8px}.mtpc003-page .c3-factor-machine p{margin:6px 0 12px}.mtpc003-page .c3-fraction{display:grid;gap:0;margin:14px 0;max-width:420px;text-align:center}.mtpc003-page .c3-fraction>div{padding:9px}.mtpc003-page .c3-fraction>div:first-child{border-bottom:2px solid #315b70}.mtpc003-page .c3-factor-strip{min-height:30px;font-size:1.25rem;font-weight:700}.mtpc003-page .c3-factor-machine .c3-columns{gap:20px}.mtpc003-page .c3-factor-machine .c3-actions{margin-top:7px}
.mtpc003-page .c3-note-symbols{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px;margin:16px 0}.mtpc003-page .c3-note-symbols>div{padding:14px;border:1px solid #bfd4de;border-radius:9px;background:#f5fafc}.mtpc003-page .c3-note-symbols>div>strong{display:block;margin-bottom:7px;color:#17465f;font-size:1.35rem}.mtpc003-page .c3-note-symbols p{margin:0}.mtpc003-page .c3-math{display:inline-block;white-space:nowrap;font-family:inherit;font-style:normal;font-weight:750}.mtpc003-page .c3-math sup,.mtpc003-page .c3-math sub{font-size:.68em;line-height:0}
.mtpc003-page .c3-place-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0}.mtpc003-page .c3-place-count{display:grid;gap:7px;font-weight:750;color:#193c50}.mtpc003-page .c3-place-count input{box-sizing:border-box;width:100%;max-width:130px;padding:10px;border:2px solid #7397a5;border-radius:7px;background:#fff;color:#193c50;font:inherit}.mtpc003-page .c3-place-count input:focus-visible{outline:3px solid #a54412;outline-offset:3px}.mtpc003-page .c3-calc-preview{color:#486779}@media(max-width:540px){.mtpc003-page .c3-place-counts{grid-template-columns:1fr}.mtpc003-page .c3-place-count input{max-width:100%}}
.mtpc003-page .c3-route{display:flex;flex-wrap:wrap;align-items:stretch;gap:9px;margin:16px 0}.mtpc003-page .c3-route>span{flex:1 1 150px;padding:12px;border:1px solid #a9c4cf;border-radius:9px;background:#f2f8fb;color:#193c50}.mtpc003-page .c3-route>span strong{display:block;font-size:1.15em}.mtpc003-page .c3-route>b{align-self:center;color:#376276}.mtpc003-page .c3-symbol-line{display:flex;align-items:center;gap:8px;margin:20px 0;font-size:1.3rem}.mtpc003-page .c3-symbol-line>span{display:inline-grid;place-items:center;min-width:72px;min-height:56px;padding:5px;border:2px solid #9dbcc9;border-radius:8px;background:#fff;font-weight:750}.mtpc003-page .c3-symbol-line>b{color:#376276}
.mtpc003-page .c3-calculation{margin:16px 0;padding:14px;border:1px solid #bed1d9;border-radius:10px;background:#f4f9fb}.mtpc003-page .c3-calculation h3{margin:0 0 10px}.mtpc003-page .c3-calculation-board{display:flex;flex-wrap:wrap;align-items:center;gap:6px;min-height:62px;margin-bottom:14px;padding:8px;border:2px solid #8daebd;border-radius:8px;background:#fff}.mtpc003-page .c3-calculation-box{display:inline-grid;place-items:center;min-width:32px;min-height:42px;padding:3px 5px;border:1px solid #7ea3b3;border-radius:6px;background:#e8f3f7;color:#173b4e;font-size:1.15rem;font-weight:750}.mtpc003-page .c3-calculation-placeholder{color:#476679}.mtpc003-page .c3-tile-palette{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:12px}.mtpc003-page .c3-tile{min-width:45px;min-height:48px;padding:5px 9px;border:2px solid #7397a5;border-radius:7px;background:#fff;color:#193c50;font:inherit;font-weight:750;cursor:pointer}.mtpc003-page .c3-tile:hover{background:#e7f3f8}
.mtpc003-page .c3-counter-pile{display:flex;flex-wrap:wrap;gap:18px;align-items:center;margin:18px 0}.mtpc003-page .c3-counter{display:grid;place-items:center;width:74px;height:74px;border:3px solid #8a3232;border-radius:50%;background:#d95858;color:#ad2e2e;cursor:pointer;box-shadow:inset -8px -8px 0 rgba(0,0,0,.08)}.mtpc003-page .c3-counter span{font-size:1.6rem;line-height:1;opacity:.35}.mtpc003-page .c3-counter.is-selected{outline:4px solid #24566f;outline-offset:4px;transform:translateY(-5px)}.mtpc003-page .c3-counter:focus-visible{outline:4px solid #ad6b16;outline-offset:5px}@media(max-width:540px){.mtpc003-page .c3-counter{width:60px;height:60px}.mtpc003-page .c3-counter-pile{gap:14px}}
.mtpc003-page .c3-counter-tray{margin:16px 0;padding:12px 16px;border:1px solid #bed1d9;border-radius:10px;background:#f8fbfc}.mtpc003-page .c3-counter-tray h3{margin:0;color:#23485b}.mtpc003-page .c3-counter-tray .c3-counter-pile{min-height:74px;margin:12px 0 0}.mtpc003-page .c3-counter-empty{color:#587184}@media(max-width:540px){.mtpc003-page .c3-counter-tray .c3-counter-pile{min-height:60px}}
.mtpc003-page .c3-binary-machine,.mtpc003-page .c3-quantity-machine{margin:14px 0;padding:14px;border:1px solid #bed1d9;border-radius:10px;background:#f4f9fb}.mtpc003-page .c3-binary-machine h3,.mtpc003-page .c3-quantity-machine h3{margin:0 0 12px}.mtpc003-page .c3-binary-row,.mtpc003-page .c3-quantity-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:9px 0;padding:8px;border-bottom:1px solid #d4e2e8}.mtpc003-page .c3-binary-row>strong,.mtpc003-page .c3-quantity-row>strong{min-width:145px}.mtpc003-page .c3-binary-row button,.mtpc003-page .c3-quantity-row button,.mtpc003-page .c3-binary-machine>.bc-option{min-height:44px;cursor:pointer}.mtpc003-page .c3-binary-row button.is-selected,.mtpc003-page .c3-quantity-row .bc-option.is-selected,.mtpc003-page .c3-binary-machine>.bc-option.is-selected{background:#d8edf3;border-color:#17536c;color:#173b4e}
.mtpc003-page .c3-quantity-row button:disabled,.mtpc003-page .c3-binary-machine>.bc-option:disabled,.mtpc003-page .c3-counter:disabled{cursor:default;opacity:.78}
.mtpc003-page .c3-mixed-inventory,.mtpc003-page .c3-mixed-selection{margin:14px 0;padding:12px 14px;border:1px solid #bed1d9;border-radius:10px;background:#f8fbfc}.mtpc003-page .c3-mixed-inventory h3{margin:0 0 10px}.mtpc003-page .c3-mixed-selection>strong{display:block;margin-bottom:8px}.mtpc003-page .c3-mixed-symbol-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px;min-height:32px}.mtpc003-page .c3-inventory-kind{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border:1px solid #aac6d1;border-radius:8px;background:#fff;font-size:.88rem}.mtpc003-page .c3-symbols{display:inline-flex;align-items:center;gap:3px;vertical-align:middle}.mtpc003-page .c3-symbol-counter{display:inline-block;width:17px;height:17px;flex:none;border:2px solid rgba(0,0,0,.25);border-radius:50%}.mtpc003-page .c3-symbol-red{background:#d95858}.mtpc003-page .c3-symbol-blue{background:#5497ce}.mtpc003-page .c3-symbol-green{background:#73b77a}.mtpc003-page .c3-symbol-named{width:26px;height:26px;flex:none;vertical-align:middle}.mtpc003-page .c3-quantity-row>strong{display:inline-flex;align-items:center;gap:6px}.mtpc003-page .c3-quantity-row .bc-option,.mtpc003-page .c3-binary-machine>.bc-option{display:inline-flex;align-items:center;justify-content:center;gap:6px}.mtpc003-page .c3-mixed-selection .c3-symbol-counter{width:24px;height:24px}.mtpc003-page .c3-mixed-selection .c3-symbol-named{width:30px;height:30px}
.mtpc003-page .c3-decision-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0}.mtpc003-page .c3-decision-card{min-width:0;padding:13px;border:1px solid #aec9d4;border-radius:10px;background:#f5fafc}.mtpc003-page .c3-decision-card>strong{display:block;margin-bottom:10px;font-size:1.08rem}.mtpc003-page .c3-decision-actions{display:flex;flex-wrap:wrap;gap:8px}.mtpc003-page .c3-decision{flex:1 1 100px;min-height:46px;padding:8px;border:2px solid #8da9b7;border-radius:8px;background:#fff;color:#193c50;font:inherit;font-weight:700;cursor:pointer}.mtpc003-page .c3-decision.is-selected{border-color:#17536c;background:#d8edf3}.mtpc003-page .c3-decision-card>small{display:block;margin-top:9px;color:#476679}.mtpc003-page .c3-method{margin:16px 0;padding:14px;border-left:4px solid #3e7e70;border-radius:4px;background:#edf7f2;color:#1c4738}.mtpc003-page .c3-method h3{margin:0 0 8px;font-size:1.08rem}.mtpc003-page .c3-method p{margin:6px 0}@media(max-width:620px){.mtpc003-page .c3-decision-grid{grid-template-columns:1fr}}
.mtpc003-page .c3-venn-work{margin:18px 0;padding:14px;border:1px solid #bed1d9;border-radius:10px;background:#f8fbfc}.mtpc003-page .c3-venn-work h3{margin:0 0 6px}.mtpc003-page .c3-venn-work>p{margin:6px 0 12px}.mtpc003-page .c3-venn{position:relative;width:100%;height:318px;border:2px solid #9ab4c1;border-radius:10px;background:#fff;overflow:hidden}.mtpc003-page .c3-venn-circles{position:absolute;inset:0;pointer-events:none}.mtpc003-page .c3-venn-circle{position:absolute;top:60px;width:54%;height:194px;border:3px solid #43839a;border-radius:50%;background:rgba(94,160,183,.12)}.mtpc003-page .c3-venn-left{left:10%}.mtpc003-page .c3-venn-right{right:10%;border-color:#6b819e;background:rgba(107,129,158,.12)}.mtpc003-page .c3-venn-headings{position:absolute;top:12px;left:6%;right:6%;display:flex;justify-content:space-between;gap:20px;text-align:center;color:#23485b}.mtpc003-page .c3-venn-headings strong{width:37%;font-size:.96rem}.mtpc003-page .c3-venn-zones{position:absolute;inset:0}.mtpc003-page .c3-venn-zone{position:absolute;top:133px;min-height:50px;padding:6px;border:2px solid #829fad;border-radius:8px;background:rgba(255,255,255,.94);color:#173b4e;font:inherit;font-size:.88rem;font-weight:700;cursor:pointer}.mtpc003-page .c3-venn-zone-no-musician{left:13%;width:24%}.mtpc003-page .c3-venn-zone-both{left:39%;width:22%}.mtpc003-page .c3-venn-zone-no-athlete{right:13%;width:24%}.mtpc003-page .c3-venn-zone-neither{top:266px;left:35%;width:30%;min-height:40px}.mtpc003-page .c3-venn-zone.is-selected{border-color:#185775;background:#d7ebf1;box-shadow:0 0 0 2px #fff}.mtpc003-page .c3-venn-zone:disabled{cursor:default;opacity:1}.mtpc003-page .c3-venn-work>.c3-operate{margin:8px 0 0}@media(max-width:620px){.mtpc003-page .c3-venn{height:282px}.mtpc003-page .c3-venn-circle{top:62px;height:167px}.mtpc003-page .c3-venn-headings strong{font-size:.79rem}.mtpc003-page .c3-venn-zone{top:132px;min-height:54px;padding:3px;font-size:.68rem}.mtpc003-page .c3-venn-zone-neither{top:238px;min-height:34px}}
.mtpc003-page .c3-venn-zone.is-selected{min-height:68px}.mtpc003-page .c3-venn-team,.mtpc003-page .c3-venn-label{display:block;overflow-wrap:anywhere}.mtpc003-page .c3-venn-team{font-size:.9rem}.mtpc003-page .c3-venn-label{margin-top:3px;font-size:.77rem;font-weight:500}@media(max-width:620px){.mtpc003-page .c3-venn-zone.is-selected{min-height:68px}.mtpc003-page .c3-venn-team{font-size:.68rem}.mtpc003-page .c3-venn-label{font-size:.62rem}}
.mtpc003-page .c3-venn{height:350px}.mtpc003-page .c3-venn-universe{position:absolute;top:8px;left:12px;z-index:1;padding:2px 6px;background:#fff;color:#173b4e;font-size:.9rem}.mtpc003-page .c3-venn-headings{top:82px;z-index:1;pointer-events:none}.mtpc003-page .c3-venn-zone-neither{top:274px;left:29%;width:42%}@media(max-width:620px){.mtpc003-page .c3-venn{height:320px}.mtpc003-page .c3-venn-universe{font-size:.75rem}.mtpc003-page .c3-venn-headings{top:85px;gap:8px}.mtpc003-page .c3-venn-zone-neither{top:248px;left:25%;width:50%}}
/* MTPC003 Steps 9–12: quantity records, factor chips and point choices. */
.c3-case-choice .bc-option,.c3-point-controls .bc-option{margin:.2rem .25rem .2rem 0}
.c3-prime-chips{display:flex;flex-wrap:wrap;gap:.35rem;margin:.65rem 0}
.c3-prime-chips span{min-width:2rem;padding:.3rem .55rem;text-align:center;border:1px solid #7c98aa;border-radius:.4rem;background:#f3f8fb;font-weight:700}
.c3-geometry-board{display:block;width:min(100%,34rem);height:auto;aspect-ratio:1.75;margin:.6rem auto;background:#f7fbfd;border:1px solid #c1d0d9;border-radius:.6rem}
.c3-geometry-board text{font-weight:700}
.c3-crossing-board{display:block;width:min(100%,34rem);height:auto;aspect-ratio:1.5;margin:.6rem auto;background:#f7fbfd;border:1px solid #c1d0d9;border-radius:.6rem}
.c3-crossing-board>line{stroke:#688da4;stroke-width:1.15;vector-effect:non-scaling-stroke}
.c3-crossing-board>line.c3-crossing-join{stroke:#ba6c24;stroke-width:2}
.c3-crossing-board text{fill:#173b4e;font-size:5px;font-weight:700}
.c3-crossing-point{fill:#fff;stroke:#174f7a;stroke-width:1;vector-effect:non-scaling-stroke}
.c3-crossing-point.is-selected,.c3-crossing-active{fill:#d98a38;stroke:#8f4d16;stroke-width:1;vector-effect:non-scaling-stroke}
.c3-point-controls{display:flex;flex-wrap:wrap;gap:.3rem;margin:.5rem 0}
.c3-transfer-points{display:grid;grid-template-columns:repeat(4,1fr);grid-template-rows:repeat(2,4rem);align-items:center;justify-items:center;max-width:32rem;margin:.75rem auto;padding:.5rem;border:1px solid #c1d0d9;border-radius:.6rem;background:linear-gradient(to bottom,#f7fbfd 0 70%,#8299a7 70% 71%,#f7fbfd 71%)}
.c3-transfer-points span{display:grid;place-items:center;width:2rem;height:2rem;background:#fff;border:2px solid #2c6489;border-radius:50%;font-weight:700}
.c3-transfer-points span:nth-child(1){grid-column:1;grid-row:1}.c3-transfer-points span:nth-child(2){grid-column:4;grid-row:1}
.c3-transfer-points span:nth-child(n+3){grid-row:2}
@media(max-width:390px){.c3-geometry-board{aspect-ratio:1.3}.c3-transfer-points{grid-template-rows:repeat(2,3.25rem)}.c3-point-controls .bc-option{min-width:2.5rem}}
.mtpc003-page .c3-team-roster{display:flex;flex-wrap:wrap;gap:8px;padding:12px;margin:12px 0;border:1px solid #bed1d9;border-radius:10px;background:#f4f9fb}.mtpc003-page .c3-team-status,.mtpc003-page .c3-lab-current{padding:9px 12px;border-left:4px solid #477d91;background:#eef6f8}.mtpc003-page .c3-role-board,.mtpc003-page .c3-lab-grid-controls,.mtpc003-page .c3-lab-review{margin:14px 0;padding:14px;border:1px solid #bed1d9;border-radius:10px;background:#f4f9fb}.mtpc003-page .c3-role-board h3{margin:0 0 9px}.mtpc003-page .c3-role-places{display:flex;flex-wrap:wrap;gap:9px;margin-top:12px}.mtpc003-page .c3-role-place{display:grid;gap:5px;flex:1 1 150px;min-height:74px;padding:9px;border:2px solid #7a9aa8;border-radius:9px;background:#fff;color:#173b4e;text-align:left;font:inherit;cursor:pointer}.mtpc003-page .c3-role-place span{font-size:.95rem}.mtpc003-page .c3-rule{padding:9px 12px;border-left:4px solid #a05f13;background:#fcf5e8}.mtpc003-page .c3-lab-grid-controls>strong{display:block;margin:8px 0 5px}.mtpc003-page .c3-lab-grid{display:block;width:100%;max-width:460px;margin:12px 0;border:1px solid #b4cbd4;border-radius:8px;background:#f8fbfc}.mtpc003-page .c3-lab-review p{margin:7px 0}
/* Binomial Discovery: one bracket-choice workbench across all seven Steps. */
.mtbt0001-page .bt-workbench{display:grid;gap:16px}
.mtbt0001-page .bt-workbench-heading h2{font-size:1.55rem;margin:0 0 5px;color:#173b4e}
.mtbt0001-page .bt-workbench-heading p{margin:0;color:#426278}
.mtbt0001-page .bt-brackets{display:flex;flex-wrap:wrap;gap:10px}
.mtbt0001-page .bt-bracket{display:grid;gap:5px;min-width:104px;padding:10px;border:1px solid #b8d1da;border-radius:12px;background:#f4f9fb}
.mtbt0001-page .bt-bracket-label{font-size:.78rem;font-weight:700;color:#49687b}
.mtbt0001-page .bt-parts{display:flex;gap:4px}
.mtbt0001-page .bt-part,.mtbt0001-page .bt-option{min-height:44px;border:2px solid #81a6b5;border-radius:9px;background:white;color:#183f53;font:inherit;font-weight:700;cursor:pointer}
.mtbt0001-page .bt-part{flex:1;padding:5px 9px}
.mtbt0001-page .bt-part.is-selected,.mtbt0001-page .bt-option.is-selected{border-color:#1f6983;background:#d9eef4;box-shadow:inset 0 0 0 1px #1f6983}
.mtbt0001-page .bt-part:disabled{cursor:default;opacity:1}
.mtbt0001-page .bt-part:focus-visible,.mtbt0001-page .bt-option:focus-visible{outline:3px solid #bd6631;outline-offset:2px}
.mtbt0001-page .bt-route{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:12px;border:1px solid #c4d8df;border-radius:10px;background:#eef6f8}
.mtbt0001-page .bt-route strong:first-child{width:100%;font-size:.85rem}
.mtbt0001-page .bt-product{margin-left:auto;padding:5px 9px;border-radius:7px;background:#d9ebdf;color:#24563a}
.mtbt0001-page .bt-route-actions,.mtbt0001-page .bt-actions{display:flex;flex-wrap:wrap;gap:8px}
.mtbt0001-page .bt-route-actions button{min-height:44px;padding:9px 14px;border:2px solid #2871a8;border-radius:9px;background:#1972bd;color:white;font:inherit;font-weight:700;cursor:pointer}
.mtbt0001-page .bt-route-actions .secondary-button{border-color:#7397a7;background:#fff;color:#21495d}
.mtbt0001-page .bt-power-panel{padding:15px;border:1px solid #a9c9d3;border-radius:12px;background:#f2f8fa}
.mtbt0001-page .bt-power-panel h3{margin:0 0 7px;font-size:1.08rem;color:#173b4e}
.mtbt0001-page .bt-power-panel p{margin:6px 0;color:#426278}
.mtbt0001-page .bt-power-options{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}
.mtbt0001-page .bt-power-button{min-width:54px;min-height:45px;padding:6px 10px;border:2px solid #81a6b5;border-radius:9px;background:#fff;color:#183f53;font:inherit;font-weight:700;cursor:pointer}
.mtbt0001-page .bt-power-button.is-selected{border-color:#1f6983;background:#d9eef4;box-shadow:inset 0 0 0 1px #1f6983}
.mtbt0001-page .bt-power-button:focus-visible{outline:3px solid #bd6631;outline-offset:2px}
.mtbt0001-page .bt-power-result{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:12px 0;font-size:1.25rem}
.mtbt0001-page .bt-power-result span,.mtbt0001-page .bt-power-result strong{padding:7px 12px;border:1px solid #a9c9d3;border-radius:8px;background:#fff}
.mtbt0001-page .bt-power-result strong{border-color:#78a6b5;background:#e0f0f4;color:#16475c}
.mtbt0001-page .bt-power-empty{font-style:italic}
.mtbt0001-page .bt-saved{padding:14px;border:1px solid #c3d8df;border-radius:11px;background:#fafcfd}
.mtbt0001-page .bt-saved h3{margin:0 0 7px;font-size:1.05rem}
.mtbt0001-page .bt-saved-total{margin:0 0 10px;color:#456579}
.mtbt0001-page .bt-trays{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:9px}
.mtbt0001-page .bt-tray{padding:9px;border:1px solid #b9d4dc;border-radius:9px;background:#fff}
.mtbt0001-page .bt-tray strong{display:flex;justify-content:space-between;gap:6px}
.mtbt0001-page .bt-tray strong span{padding:0 6px;border-radius:9px;background:#dceff3}
.mtbt0001-page .bt-tray ul{padding-left:20px;margin:7px 0 0;font-size:.88rem;line-height:1.4}
.mtbt0001-page .bt-matching{display:grid;gap:9px;padding:13px;border:1px solid #a7c6d1;border-radius:10px;background:#f1f8fa}
.mtbt0001-page .bt-matching h3,.mtbt0001-page .bt-matching p{margin:0}
.mtbt0001-page .bt-match-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.mtbt0001-page .bt-match-card{display:grid;gap:4px;min-height:52px;padding:8px;border:2px solid #84a7b4;border-radius:8px;background:#fff;color:#173b4e;font:inherit;text-align:left;cursor:pointer}
.mtbt0001-page .bt-match-card small{font-size:.82rem;color:#47697b}
.mtbt0001-page .bt-match-card.is-selected{border-color:#1f6983;background:#d9eef4;box-shadow:inset 0 0 0 1px #1f6983}
.mtbt0001-page .bt-matching>button{justify-self:start;min-height:44px;padding:8px 13px;border:2px solid #2871a8;border-radius:8px;background:#1972bd;color:#fff;font:inherit;font-weight:700;cursor:pointer}
.mtbt0001-page .bt-match-found{color:#276248;font-weight:700}
.mtbt0001-page .bt-term-builder{display:grid;gap:10px;margin:14px 0}
.mtbt0001-page .bt-term-builder fieldset{display:flex;flex-wrap:wrap;gap:8px;min-width:0;padding:10px;border:1px solid #b7d1db;border-radius:9px}
.mtbt0001-page .bt-term-builder legend{padding:0 4px;font-weight:700}
.mtbt0001-page .bt-term-builder .bt-option{flex:1 1 110px;min-height:46px}
.mtbt0001-page .bt-path{display:grid;gap:5px;padding:10px;border:1px solid #b9d2db;border-radius:9px;background:#fff}
.mtbt0001-page .bt-path svg{width:min(100%,310px);height:auto}
.mtbt0001-page .bt-result{padding:14px;border-left:4px solid #4b9472;border-radius:8px;background:#e8f3eb;color:#23523a}
.mtbt0001-page .bt-result p{margin:6px 0 0;font-size:1.14rem;font-weight:700}
.mtbt0001-page .bt-stage{font-size:.8rem;letter-spacing:.05em;text-transform:uppercase;color:#507084;font-weight:700}
.mtbt0001-page .bt-progress{padding:9px 12px;border-left:4px solid #37798e;background:#eaf4f6}
.mtbt0001-page .bt-answer{display:grid;gap:8px;margin:14px 0;font-weight:700}
.mtbt0001-page .bt-answer input,.mtbt0001-page .bt-answer textarea{width:100%;box-sizing:border-box;padding:12px;border:2px solid #87aebb;border-radius:8px;background:white;font:inherit;color:#193e50}
.mtbt0001-page .bt-options{display:grid;gap:8px;margin:14px 0}
.mtbt0001-page .bt-option{display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;padding:10px 13px}
.mtbt0001-page .wm-thinking button.bt-option[aria-pressed="true"]{border:2px solid #1f6983!important;background:#d9eef4!important;color:#183f53!important;font-weight:700;box-shadow:inset 0 0 0 1px #1f6983}
.mtbt0001-page .bt-choice-indicator{font-size:.8rem;white-space:nowrap}
.mtbt0001-page .bt-hint{margin-top:14px;padding:12px;border-left:4px solid #5c8c9c;border-radius:8px;background:#edf5f7}
.mtbt0001-page .bt-hint h3{margin:0 0 5px;font-size:1rem}
.mtbt0001-page .bt-hint p{margin:0 0 10px}
@media(max-width:600px){.mtbt0001-page .bt-bracket{min-width:84px}.mtbt0001-page .bt-trays{grid-template-columns:1fr 1fr}}

/* MTBT0002: the learner grows a row by sending visible contributions. */
.mtbt0002-page .bt2-machine{display:grid;gap:13px;padding:18px;border:1px solid #b8d2db;border-radius:14px;background:#f3f9fa;color:#193e50}
.mtbt0002-page .bt2-machine h2{margin:0;font-size:1.28rem;color:#173b4e}
.mtbt0002-page .bt2-machine p{margin:0;line-height:1.45}
.mtbt0002-page .bt2-sources,.mtbt0002-page .bt2-targets{display:flex;justify-content:center;flex-wrap:wrap;gap:8px}
.mtbt0002-page .bt2-source,.mtbt0002-page .bt2-target{display:grid;justify-items:center;gap:7px;min-width:86px;padding:10px;border:1px solid #a9c9d3;border-radius:10px;background:#fff}
.mtbt0002-page .bt2-source strong,.mtbt0002-page .bt2-target strong{font-size:1.45rem}
.mtbt0002-page .bt2-source>div{display:flex;gap:4px}
.mtbt0002-page .bt2-source button{min-width:38px;min-height:42px;padding:4px;border:2px solid #6d9aab;border-radius:8px;background:#e2f1f5;color:#154e65;font:inherit;font-weight:800;cursor:pointer}
.mtbt0002-page .bt2-source button:disabled{background:#e4f1e9;border-color:#6e9e7d;color:#2a6545;cursor:default}
.mtbt0002-page .bt2-target{background:#e9f4f7;border-color:#8ebbc9}
.mtbt0002-page .bt2-target small{font-size:.73rem;color:#4c6877}
.mtbt0002-page .bt2-action-count,.mtbt0002-page .bt2-target-note{padding:9px 11px;border-left:4px solid #347b91;background:#e3f1f5}
.mtbt0002-page .bt2-triangle{display:grid;gap:8px;overflow-x:auto;padding:12px;border:1px solid #c4d9df;border-radius:10px;background:white}
.mtbt0002-page .bt2-row{display:flex;justify-content:center;align-items:center;gap:7px;min-width:max-content}
.mtbt0002-page .bt2-row-name{width:76px;font-size:.7rem;color:#587589;text-align:right}
.mtbt0002-page .bt2-cell{display:grid;place-items:center;min-width:34px;min-height:34px;padding:4px;border:1px solid #b7d1db;border-radius:8px;background:#eef7f8;font-weight:700}
.mtbt0002-page .bt2-cell.bt2-focus{border:2px solid #27748b;background:#d9eff3}
.mtbt0002-page .bt2-sum-cells{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}
.mtbt0002-page .bt2-sum-cells button{min-width:55px;min-height:53px;border:2px solid #6e9eae;border-radius:9px;background:#fff;color:#194b60;font:inherit;font-weight:800;cursor:pointer}
.mtbt0002-page .bt2-sum-cells button small{display:block;margin-top:2px;font-size:.68em;font-weight:600}
.mtbt0002-page .bt2-sum-cells button:disabled{border-color:#6e9e7d;background:#e1f1e6;color:#24583c}
.mtbt0002-page .bt2-total{padding:10px;border-radius:8px;background:#e4f0f4}
.mtbt0002-page .bt2-people{display:flex;flex-wrap:wrap;gap:8px}
.mtbt0002-page .bt2-person{display:flex;align-items:center;gap:7px;min-height:48px;padding:5px 10px;border:2px solid #92b2bf;border-radius:11px;background:#fff;color:#183f53;font:inherit;font-weight:700;cursor:pointer}
.mtbt0002-page .bt2-person.bt2-featured{border-color:#af9378}
.mtbt0002-page .bt2-person.is-selected{border-color:#27748b;background:#daeff3}
.mtbt0002-page .bt2-mirror-row{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:7px}
.mtbt0002-page .bt2-mirror-row strong{width:78px;font-size:.83rem}
.mtbt0002-page .bt2-mirror-row button,.mtbt0002-page .bt2-mirror-row span{display:grid;place-items:center;min-width:38px;min-height:42px;border:2px solid #80a9b8;border-radius:8px;background:white;color:#194b60;font:inherit;font-weight:800}
.mtbt0002-page .bt2-mirror-row button{cursor:pointer}
.mtbt0002-page .bt2-mirror-partner span{border-color:#9cae82;background:#f0f6e7}
.mtbt0002-page .bt2-avatar{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#e6d7c5;color:#704833;font-weight:800}
.mtbt0002-page .bt2-saved{padding:10px;border:1px solid #c3d6dd;border-radius:9px;background:white}
.mtbt0002-page .bt2-selection{font-weight:700}
.mtbt0002-page .bt2-stage{font-size:.8rem;letter-spacing:.05em;text-transform:uppercase;color:#54748a;font-weight:700}
.mtbt0002-page .bt2-answer{display:grid;gap:8px;margin:14px 0;font-weight:700}
.mtbt0002-page .bt2-answer input,.mtbt0002-page .bt2-answer textarea{width:100%;box-sizing:border-box;padding:12px;border:2px solid #87aebb;border-radius:8px;background:white;font:inherit;color:#193e50}
.mtbt0002-page .bt2-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.mtbt0002-page .bt2-progress{padding:9px 12px;border-left:4px solid #37798e;background:#eaf4f6}
.mtbt0002-page .bt2-hint{margin-top:14px;padding:12px;border-left:4px solid #5c8c9c;border-radius:8px;background:#edf5f7}
.mtbt0002-page .bt2-hint h3{margin:0 0 5px;font-size:1rem}
.mtbt0002-page .bt2-hint p{margin:0 0 10px}
.mtbt0002-page .bt2-hint button{margin:4px}
.mtbt0002-page .bt2-machine button:focus-visible{outline:3px solid #bd6631;outline-offset:2px}
.mtbt0002-page .bt2-parent-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:8px}
.mtbt0002-page .bt2-parent{display:grid;gap:5px;padding:10px;border:1px solid #aecbd5;border-radius:9px;background:#fff}
.mtbt0002-page .bt2-parent>strong{font-size:1.15rem}
.mtbt0002-page .bt2-parent>span{font-size:.85rem;color:#486a7b}
.mtbt0002-page .bt2-parent>div{display:flex;flex-wrap:wrap;gap:5px}
.mtbt0002-page .bt2-parent button{min-height:40px;padding:5px 8px;border:2px solid #6d9aab;border-radius:7px;background:#e2f1f5;color:#154e65;font:inherit;font-weight:700;cursor:pointer}
.mtbt0002-page .bt2-parent button:disabled{border-color:#6e9e7d;background:#e4f1e9;color:#2a6545;cursor:default}
.mtbt0002-page .bt2-target-product,.mtbt0002-page .bt2-meeting{padding:10px;border-left:4px solid #347b91;background:#e3f1f5}
.mtbt0002-page .bt2-meeting{display:grid;gap:7px}
.mtbt0002-page .bt2-meeting>div{display:flex;flex-wrap:wrap;gap:8px}
.mtbt0002-page .bt2-meeting span{padding:6px 9px;border:1px solid #a8cbd5;border-radius:7px;background:#fff}
.mtbt0002-page .bt2-cell.bt2-empty-target{border:2px dashed #27748b;background:#fff;color:#175469}
.mtbt0002-page .bt2-case-board{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.mtbt0002-page .bt2-case-board>div{padding:10px;border:1px solid #b8d2db;border-radius:9px;background:#fff}
.mtbt0002-page .bt2-case-board strong{display:block;margin-bottom:5px}
.mtbt0002-page .bt2-bridge{display:grid;gap:12px;margin-top:5px;padding:16px;border:2px solid #6b9fb1;border-radius:12px;background:#fff}
.mtbt0002-page .bt2-bridge h3{margin:0;color:#174b60;font-size:1.13rem}
.mtbt0002-page .bt2-bridge-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.mtbt0002-page .bt2-bridge-grid>strong{padding:5px 8px;color:#315f72}
.mtbt0002-page .bt2-bridge-case{display:grid;align-content:start;gap:5px;padding:11px;border:1px solid #b3d0d9;border-radius:9px;background:#f2f9fb}
.mtbt0002-page .bt2-bridge-case strong{color:#173f52}
.mtbt0002-page .bt2-bridge-case b{color:#17617a;font-size:1.08rem}
.mtbt0002-page .bt2-bridge-total{padding:12px;border-left:5px solid #2d788e;border-radius:6px;background:#e4f2f5;font-weight:600}
@media(max-width:500px){.mtbt0001-page .bt-match-cards,.mtbt0002-page .bt2-case-board{grid-template-columns:1fr}}
@media(max-width:500px){.mtbt0002-page .bt2-bridge{padding:12px}.mtbt0002-page .bt2-bridge-grid{gap:5px}.mtbt0002-page .bt2-bridge-case{padding:8px;font-size:.9rem}}
@media(max-width:650px){.mtbt0002-page .bt2-machine{padding:12px}.mtbt0002-page .bt2-source,.mtbt0002-page .bt2-target{min-width:61px;padding:7px}.mtbt0002-page .bt2-row-name{width:56px}}

.mtbt0003-page .bt3-workbench{display:grid;gap:14px;padding:18px;border:1px solid #b8d2db;border-radius:14px;background:#f3f9fa;color:#193e50}
.mtbt0003-page .bt3-workbench h2{margin:0 0 5px;font-size:1.55rem;color:#173b4e}
.mtbt0003-page .bt3-workbench h3{margin:0;font-size:1.1rem}
.mtbt0003-page .bt3-workbench p{margin:0;line-height:1.45}
.mtbt0003-page .bt3-parts{display:flex;flex-wrap:wrap;gap:8px}
.mtbt0003-page .bt3-parts span{padding:8px 11px;border:1px solid #b5d0d9;border-radius:9px;background:#fff}
.mtbt0003-page .bt3-parts strong{margin-left:5px;color:#165b74}
.mtbt0003-page .bt3-model,.mtbt0003-page .bt3-closed,.mtbt0003-page .bt3-build-context,.mtbt0003-page .bt3-earned{display:grid;gap:10px;padding:13px;border:1px solid #bed5dd;border-radius:10px;background:#fff}
.mtbt0003-page .bt3-brackets{display:grid;grid-template-columns:repeat(auto-fit,minmax(61px,1fr));gap:6px}
.mtbt0003-page .bt3-brackets:has(.bt3-wide-choice){grid-template-columns:repeat(auto-fit,minmax(84px,1fr))}
.mtbt0003-page .bt3-term-list{display:flex;flex-wrap:wrap;gap:7px}
.mtbt0003-page .bt3-bracket,.mtbt0003-page .bt3-term,.mtbt0003-page .bt3-option{display:grid;gap:4px;min-height:48px;padding:9px;border:2px solid #8cabb8;border-radius:9px;background:#fff;color:#193e50;font:inherit;text-align:left;cursor:pointer}
.mtbt0003-page .bt3-bracket{min-width:0;padding:7px}
.mtbt0003-page .bt3-copy-box{cursor:default}
.mtbt0003-page .bt3-copy-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px}
.mtbt0003-page .bt3-copy-choices button{min-width:0;padding:2px 0;border:1px solid #8cabb8;border-radius:5px;background:#fff;color:#193e50;font:inherit;font-size:.85rem;font-weight:700;line-height:1.15;cursor:pointer}
.mtbt0003-page .bt3-copy-choices button.is-selected{border-color:#1f6983;background:#d9eef4;box-shadow:inset 0 0 0 1px #1f6983;color:#173b4e}
.mtbt0003-page .bt3-bracket small,.mtbt0003-page .bt3-term small{font-size:.77rem;color:#4f6d7e}
.mtbt0003-page .bt3-term{min-width:86px;flex:1 1 86px}
.mtbt0003-page .bt3-term span{font-size:.77rem;color:#4f6d7e}
.mtbt0003-page .bt3-bracket.is-selected,.mtbt0003-page .bt3-term.is-selected,.mtbt0003-page .bt3-option.is-selected,.mtbt0003-page .wm-thinking .bt3-option[aria-pressed="true"]{border-color:#1f6983;background:#d9eef4;box-shadow:inset 0 0 0 1px #1f6983;color:#173b4e}
.mtbt0003-page .bt3-ledger{display:grid;grid-template-columns:repeat(auto-fit,minmax(105px,1fr));gap:8px}
.mtbt0003-page .bt3-ledger div{display:grid;gap:3px;padding:9px;border:1px solid #b7d1d9;border-radius:8px;background:#eef7f8}
.mtbt0003-page .bt3-ledger small{color:#4f6d7e}
.mtbt0003-page .bt3-result,.mtbt0003-page .bt3-selection{padding:10px;border-left:4px solid #37798e;background:#e7f2f5}
.mtbt0003-page .bt3-earned{border-left:4px solid #5a9875;background:#edf6ef}
.mtbt0003-page .bt3-stage{font-size:.8rem;letter-spacing:.05em;text-transform:uppercase;color:#54748a;font-weight:700}
.mtbt0003-page .bt3-answer{display:grid;gap:8px;margin:14px 0;font-weight:700}
.mtbt0003-page .bt3-answer input,.mtbt0003-page .bt3-answer textarea{width:100%;box-sizing:border-box;padding:12px;border:2px solid #87aebb;border-radius:8px;background:white;font:inherit;color:#193e50}
.mtbt0003-page .bt3-options,.mtbt0003-page .bt3-build-fields{display:grid;gap:9px;margin:14px 0}
.mtbt0003-page .bt3-build-fields fieldset{display:grid;gap:8px;min-width:0;padding:11px;border:1px solid #b7d1db;border-radius:9px}
.mtbt0003-page .bt3-build-fields legend{padding:0 5px;font-weight:700}
.mtbt0003-page .bt3-option{width:100%;box-sizing:border-box}
.mtbt0003-page .bt3-option small{font-size:.8rem;color:#165b74}
.mtbt0003-page .bt3-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.mtbt0003-page .bt3-hint{display:grid;gap:7px;margin-top:14px;padding:12px;border-left:4px solid #5c8c9c;border-radius:8px;background:#edf5f7}
.mtbt0003-page .bt3-hint p{margin:0}
.mtbt0003-page .bt3-hint button{justify-self:start}
.mtbt0003-page button:focus-visible{outline:3px solid #bd6631;outline-offset:2px}
@media(max-width:600px){.mtbt0003-page .bt3-workbench{padding:12px}.mtbt0003-page .bt3-bracket{min-width:67px}.mtbt0003-page .bt3-term{min-width:72px}}
.mtbt0003-page .bt3-factor-row{display:flex;align-items:center;flex-wrap:nowrap;gap:3px;padding:8px;border:1px solid #c5dce3;border-radius:9px;background:#f5fafb;overflow-x:auto}
.mtbt0003-page .bt3-factor-row span{padding:3px;border:1px solid #afcdd7;border-radius:7px;background:white;font-size:.81rem;font-weight:700;white-space:nowrap}
.mtbt0003-page .bt3-factor-row b{color:#6d8893;font-size:.7rem}
.mtbt0003-page .bt3-factor-caption{font-size:.94rem;color:#315d70}
.mtbt0003-page .bt3r-machine{display:grid;gap:15px;padding:20px;border:1px solid #b8d2db;border-radius:14px;background:#f3f9fa;color:#193e50}
.mtbt0003-page .bt3r-machine h2,.mtbt0003-page .bt3r-machine p{margin:0}
.mtbt0003-page .bt3r-machine h2{font-size:1.55rem}
.mtbt0003-page .bt3r-controls,.mtbt0003-page .bt3r-people,.mtbt0003-page .bt3r-cases,.mtbt0003-page .bt3r-groups{display:flex;flex-wrap:wrap;gap:8px}
.mtbt0003-page .bt3r-controls button,.mtbt0003-page .bt3r-cases button,.mtbt0003-page .bt3r-people button{padding:9px 12px;border:2px solid #8cabb8;border-radius:8px;background:white;color:#193e50;font:inherit;cursor:pointer}
.mtbt0003-page .bt3r-controls button.is-selected,.mtbt0003-page .bt3r-cases button.is-selected,.mtbt0003-page .bt3r-people button.is-selected{border-color:#1f6983;background:#d9eef4}
.mtbt0003-page .bt3r-row{display:grid;grid-template-columns:repeat(6,minmax(65px,1fr));gap:6px;overflow-x:auto}
.mtbt0003-page .bt3r-row>div{display:grid;gap:5px;min-width:65px;padding:10px;border:1px solid #b8d2db;border-radius:8px;background:white;text-align:center}
.mtbt0003-page .bt3r-row small{color:#4f6d7e}.mtbt0003-page .bt3r-row strong{font-size:1.2rem}
.mtbt0003-page .bt3r-observation{padding:10px 12px;border-left:4px solid #317b91;background:#e7f2f5}
.mtbt0003-page .bt3r-people>div{display:flex;align-items:center;gap:6px;padding:7px;border:1px solid #b8d2db;border-radius:8px;background:white}
.mtbt0003-page .bt3r-groups span{padding:8px;border:1px solid #b8d2db;border-radius:8px;background:white;font-size:.88rem}
.mtbt0003-page .bt3r-ledger{display:grid;gap:8px;padding:12px;border:1px solid #b8d2db;border-radius:9px;background:white}
.mtbt0003-page .bt3r-square{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.mtbt0003-page .bt3r-square button{padding:9px;border:2px solid #8cabb8;border-radius:8px;background:white;color:#193e50;font:inherit;font-size:.88rem;text-align:left;cursor:pointer}
.mtbt0003-page .bt3r-square button.is-selected{border-color:#1f6983;background:#d9eef4}
.mtbt0003-page .bt3r-warning{padding:10px;border-left:4px solid #bd7533;background:#fff2dd}
.mtbt0003-page .bt3r-machine button:focus-visible{outline:3px solid #bd6631;outline-offset:2px}
.mtbt0003-page .bt3r-group-machine .bt3r-controls{gap:6px}
.mtbt0003-page .bt3r-group-machine .bt3r-controls button{padding:7px 9px;font-size:.9rem}
.mtbt0003-page .bt3r-coeff{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:10px;border:1px solid #b8d2db;border-radius:9px;background:white}
.mtbt0003-page .bt3r-coeff span{display:grid;min-width:48px;padding:5px 7px;border-radius:6px;background:#e7f2f5;text-align:center}
.mtbt0003-page .bt3r-coeff small{font-size:.7rem;color:#4f6d7e}
.mtbt0003-page .bt3r-grid-wrap{max-height:420px;overflow:auto;border:1px solid #b8d2db;border-radius:9px;background:white}
.mtbt0003-page .bt3r-grid{width:100%;border-collapse:collapse;font-size:.83rem}
.mtbt0003-page .bt3r-grid th,.mtbt0003-page .bt3r-grid td{padding:6px;border-bottom:1px solid #e1ebee;text-align:center;white-space:nowrap}
.mtbt0003-page .bt3r-grid th:first-child{text-align:left}
.mtbt0003-page .bt3r-grid thead th{position:sticky;top:0;background:#e7f2f5;z-index:1}
.mtbt0003-page .bt3r-grid .bt3r-member{color:#1f6983;font-weight:700}
.mtbt0003-page .bt3r-grid .bt3r-focus,.mtbt0003-page .bt3r-grid .bt3r-traced{background:#e4f3e8}
.mtbt0003-page .bt3r-sample{display:grid;gap:8px;padding:12px;border:1px solid #b8d2db;border-radius:9px;background:white}
.mtbt0003-page .bt3r-sample h3{margin:0;font-size:1rem}
.mtbt0003-page .bt3r-role-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
.mtbt0003-page .bt3r-role-grid span{padding:6px;border:1px solid #b8d2db;border-radius:5px;font-size:.75rem}
.mtbt0003-page .bt3r-role-grid .bt3r-same{background:#e4f3e8;border-color:#87ab92}
.mtbt0003-page .bt3-captain-groups,.mtbt0003-page .bt3-captain-decisions{display:flex;flex-wrap:wrap;gap:8px}
.mtbt0003-page .bt3-captain-groups button{padding:9px 12px;border:2px solid #8cabb8;border-radius:8px;background:#fff;color:#193e50;font:inherit;cursor:pointer}
.mtbt0003-page .bt3-captain-groups button.is-selected{border-color:#1f6983;background:#d9eef4}
.mtbt0003-page .bt3-captain-decision{display:grid;gap:6px;flex:1 1 145px;padding:10px;border:1px solid #b8d2db;border-radius:8px;background:#fff}
.mtbt0003-page .bt3-captain-decision .bt3r-controls button{padding:6px 8px;font-size:.85rem}
.mtbt0003-page .bt3-captain-save{justify-self:start;padding:9px 12px;border:2px solid #1f6983;border-radius:8px;background:#d9eef4;color:#193e50;font:inherit;font-weight:700;cursor:pointer}
.mtbt0003-page .bt3-captain-machine .bt3r-ledger h3{margin:0;font-size:1rem}
.mtbt0003-page .bt3-role-jobs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.mtbt0003-page .bt3-role-jobs>div{display:grid;gap:8px;padding:10px;border:1px solid #b8d2db;border-radius:8px;background:#fff}
.mtbt0003-page .bt3-role-totals{display:flex;flex-wrap:wrap;gap:8px}
.mtbt0003-page .bt3-role-totals span{padding:9px 12px;border:1px solid #b8d2db;border-radius:8px;background:#fff}
@media(max-width:600px){.mtbt0003-page .bt3-role-jobs{grid-template-columns:1fr}}
@media(max-width:600px){.mtbt0003-page .bt3r-machine{padding:12px}.mtbt0003-page .bt3r-row{grid-template-columns:repeat(6,65px)}}

/* MTPC0004: sharing and grouping workbench */
.mtpc0004-page .pc4-workbench{display:grid;gap:16px}
.mtpc0004-page .pc4-scene-heading h2{font-size:1.55rem;margin:0 0 5px;color:#173b4e}
.mtpc0004-page .pc4-scene-heading p{margin:0;color:#426278}
.mtpc0004-page .pc4-machine-part,.mtpc0004-page .pc4-saved{padding:15px;border:1px solid #bdd4dc;border-radius:12px;background:#f5fafb}
.mtpc0004-page .pc4-machine-part h3,.mtpc0004-page .pc4-saved h3{font-size:1.05rem;margin:0 0 10px;color:#173d51}
.mtpc0004-page .pc4-items{display:grid;gap:8px}
.mtpc0004-page .pc4-item{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:9px;padding:9px;border:1px solid #ccdde3;border-radius:9px;background:#fff}
.mtpc0004-page .pc4-item>strong{min-width:64px}
.mtpc0004-page .pc4-destinations{display:flex;flex-wrap:wrap;gap:6px}
.mtpc0004-page .pc4-choice,.mtpc0004-page .pc4-qty-controls button{min-height:42px;border:2px solid #7fa4b2;border-radius:9px;background:#fff;color:#194154;font:inherit;font-weight:700;cursor:pointer}
.mtpc0004-page .pc4-choice{padding:6px 10px}
.mtpc0004-page .pc4-choice.is-selected{border-color:#1d6984;background:#d9eef4;box-shadow:inset 0 0 0 1px #1d6984}
.mtpc0004-page .pc4-concept-choices{display:grid;gap:9px;margin:18px 0}
.mtpc0004-page .pc4-concept-choices .pc4-choice{text-align:left;padding:11px 13px;line-height:1.35}
.mtpc0004-page .wm-thinking .pc4-concept-choices .pc4-choice[aria-pressed="true"]{border:2px solid #17617b !important;background:#d9eef4 !important;color:#153e50 !important;font-weight:800;box-shadow:inset 0 0 0 2px #fff,0 0 0 1px #17617b !important}
.mtpc0004-page .pc4-concept-choices .pc4-choice[aria-pressed="true"]::before{content:"✓";display:inline-grid;place-items:center;width:23px;height:23px;margin-right:9px;border-radius:50%;background:#17617b;color:#fff;font-weight:800}
.mtpc0004-page .pc4-concept-choices .pc4-choice:disabled{opacity:1;cursor:default}
.mtpc0004-page .pc4-order-machine{display:grid;gap:12px}
.mtpc0004-page .pc4-order-machine p{margin:0;color:#426278}
.mtpc0004-page .pc4-order-comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.mtpc0004-page .pc4-order-comparison>div{min-width:0;padding:10px;border:1px solid #bdd4dc;border-radius:9px;background:#fff}
.mtpc0004-page .pc4-order-comparison>div>strong{display:block;margin-bottom:7px;color:#173d51}
.mtpc0004-page .pc4-order-visible-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.mtpc0004-page .pc4-order-comparison .pc4-order-visible-groups{grid-template-columns:1fr}
.mtpc0004-page .pc4-order-bin{position:relative;min-width:0;min-height:76px;overflow:hidden;padding:13px 10px 10px;border:2px solid;border-radius:10px}
.mtpc0004-page .pc4-order-bin::before{content:"";position:absolute;inset:0 0 auto;height:8px;background:currentColor;opacity:.5}
.mtpc0004-page .pc4-order-bin-red{color:#9d4851;background:#fff0f0}
.mtpc0004-page .pc4-order-bin-blue{color:#346d9f;background:#edf5ff}
.mtpc0004-page .pc4-order-box{border-radius:11px 11px 20px 20px;border-bottom-width:7px}
.mtpc0004-page .pc4-order-shelf{border-radius:4px 4px 2px 2px;border-bottom-width:9px}
.mtpc0004-page .pc4-order-shelf::before{height:0}
.mtpc0004-page .pc4-order-shelf .pc4-order-bin-tickets{flex-wrap:nowrap;overflow-x:auto;padding-bottom:3px}
.mtpc0004-page .pc4-order-bin strong{position:relative;display:block;margin:0 0 9px;color:inherit}
.mtpc0004-page .pc4-order-bin-tickets{position:relative;display:flex;align-items:center;flex-wrap:wrap;gap:5px;min-height:30px}
.mtpc0004-page .pc4-order-ticket{padding:4px 7px;border:1px solid currentColor;border-radius:6px;background:#fff;color:#173d51;font-weight:700}
.mtpc0004-page .pc4-order-arrow{font-weight:800}
.mtpc0004-page .pc4-order-bin em{color:#526d7c}
.mtpc0004-page .pc4-order-first-action{margin:16px 0;padding:12px 14px;border-left:4px solid #28718a;border-radius:6px;background:#e9f4f7;color:#21495a;line-height:1.5}
.mtpc0004-page .pc4-order-row{display:flex;align-items:center;flex-wrap:wrap;gap:5px}
.mtpc0004-page .pc4-order-row span{padding:6px 8px;border:1px solid #9bbeca;border-radius:7px;background:#fff;color:#173d51;font-weight:700}
.mtpc0004-page .pc4-order-row b{color:#1d6984;font-size:1.5rem}
.mtpc0004-page .pc4-order-boundary{font-size:.92rem;color:#426278}
.mtpc0004-page .pc4-order-book-choices{display:grid;gap:8px}
.mtpc0004-page .pc4-order-book-choice{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:8px 10px;border:1px solid #bdd4dc;border-radius:8px;background:#fff}
.mtpc0004-page .pc4-order-book-choice>div{display:flex;flex-wrap:wrap;gap:7px}
.mtpc0004-page .pc4-order-excluded{padding:10px 12px;border:1px solid #bdd4dc;border-radius:8px;background:#fff}
.mtpc0004-page .pc4-order-excluded p{margin:5px 0 0}
.mtpc0004-page .pc4-order-controls{display:grid;gap:6px}
.mtpc0004-page .pc4-order-controls>div{display:flex;flex-wrap:wrap;gap:6px}
.mtpc0004-page .pc4-order-controls button{font:inherit}
.mtpc0004-page .pc4-order-rule{padding:12px;border:1px solid #bdd4dc;border-radius:9px;background:#fff}
@media(max-width:650px){.mtpc0004-page .pc4-order-comparison,.mtpc0004-page .pc4-order-visible-groups{grid-template-columns:1fr}}
.mtpc0004-page .pc4-row-lab{display:grid;gap:12px}
.mtpc0004-page .pc4-row-lab p{margin:0;color:#426278}
.mtpc0004-page .pc4-row-slots,.mtpc0004-page .pc4-labelled-row{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px}
.mtpc0004-page .pc4-row-slot{min-height:62px;font-size:1.25rem}
.mtpc0004-page .pc4-row-slot.is-selected{background:#d9eef4;border-color:#17617b;color:#153e50}
.mtpc0004-page .pc4-labelled-row span{display:grid;place-items:center;min-height:55px;border:2px solid #9bbeca;border-radius:8px;background:#fff;color:#1b4960;font-weight:800}
.mtpc0004-page .pc4-labelled-row .is-divider{background:#e5f3f8;border-color:#40829a}
.mtpc0004-page .pc4-row-shares{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.mtpc0004-page .pc4-row-shares>div,.mtpc0004-page .pc4-example-rows>div{display:grid;gap:3px;padding:9px;border:1px solid #bdd4dc;border-radius:8px;background:#fff}
.mtpc0004-page .pc4-row-shares strong{color:#173d51}
.mtpc0004-page .pc4-row-shares span,.mtpc0004-page .pc4-example-rows small{color:#426278}
.mtpc0004-page .pc4-row-swap-controls{display:flex;flex-wrap:wrap;gap:7px}
.mtpc0004-page .pc4-row-swap-controls button{font:inherit;cursor:pointer}
.mtpc0004-page .pc4-example-rows{display:grid;gap:6px}
.mtpc0004-page .pc4-example-rows span{font-size:1.3rem;letter-spacing:.15em;color:#1b4960}
@media(max-width:650px){.mtpc0004-page .pc4-row-slots,.mtpc0004-page .pc4-labelled-row{gap:4px}.mtpc0004-page .pc4-row-slot{min-height:48px;padding:3px}.mtpc0004-page .pc4-row-shares{grid-template-columns:1fr}}
.mtpc0004-page .pc4-qty-grid{display:grid;gap:9px}
.mtpc0004-page .pc4-qty-row{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:8px 10px;border:1px solid #ccdde3;border-radius:9px;background:#fff}
.mtpc0004-page .pc4-qty-row>strong{min-width:110px}
.mtpc0004-page .pc4-qty-controls{display:flex;align-items:center;gap:7px}
.mtpc0004-page .pc4-qty-controls button{width:42px;font-size:1.2rem}
.mtpc0004-page .pc4-qty-controls button:disabled{opacity:.45;cursor:not-allowed}
.mtpc0004-page .pc4-qty-controls span{min-width:20px;text-align:center;font-weight:800}
.mtpc0004-page .pc4-counter-dots{color:#c75d42;letter-spacing:3px;min-height:28px}
.mtpc0004-page .pc4-remainder{margin:10px 0 0;color:#466779}
.mtpc0004-page .pc4-dividers{margin-top:12px;padding:10px;border:1px solid #afcbd5;border-radius:8px;background:white}
.mtpc0004-page .pc4-dividers>div{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:7px 0;font-size:1.35rem;color:#ba6248}
.mtpc0004-page .pc4-dividers b{font-size:1.6rem;color:#225e76}
.mtpc0004-page .pc4-dividers em{font-size:.85rem;color:#5d7381}
.mtpc0004-page .pc4-dividers p{margin:0;font-size:.86rem;color:#48697b}
.mtpc0004-page .pc4-current{padding:12px;border-left:4px solid #459379;background:#eaf5ee;border-radius:8px}
.mtpc0004-page .pc4-current p{margin:5px 0 0;overflow-wrap:anywhere}
.mtpc0004-page .pc4-save{justify-self:start;min-height:44px;padding:9px 15px;border:2px solid #2871a8;border-radius:9px;background:#1972bd;color:white;font:inherit;font-weight:700;cursor:pointer}
.mtpc0004-page .pc4-machine-feedback{margin:-7px 0 0;padding:9px 11px;border-left:4px solid #6893a3;border-radius:6px;background:#eef5f7;color:#254b60}
.mtpc0004-page [id^="pc4-"][id$="-feedback"]{white-space:pre-line}
.mtpc0004-page .pc4-saved ol{padding-left:24px;margin:4px 0;line-height:1.55}
.mtpc0004-page .pc4-saved li{overflow-wrap:anywhere}
.mtpc0004-page .pc4-saved p{margin:0;color:#557184}
.mtpc0004-page .pc4-stage{font-size:.8rem;letter-spacing:.05em;text-transform:uppercase;color:#507084;font-weight:700}
.mtpc0004-page .pc4-progress{padding:9px 12px;border-left:4px solid #37798e;background:#eaf4f6}
.mtpc0004-page .pc4-removal-examples{margin:12px 0;padding:11px;border:1px solid #bdd4dc;border-radius:9px;background:#f5fafb}
.mtpc0004-page .pc4-removal-examples h3{margin:0 0 4px;color:#173d51;font-size:1rem}
.mtpc0004-page .pc4-removal-examples p{margin:0 0 9px;color:#466779;font-size:.88rem;line-height:1.35}
.mtpc0004-page .pc4-removal-examples>div{display:grid;gap:6px}
.mtpc0004-page .pc4-removal-examples button{display:grid;gap:2px;width:100%;padding:7px 9px;border:1px solid #bdd4dc;border-radius:7px;background:#fff;color:#173d51;text-align:left;font:inherit;cursor:pointer}
.mtpc0004-page .pc4-removal-examples button strong{font-size:.9rem}
.mtpc0004-page .pc4-removal-examples button span{font-size:.8rem;color:#466779}
.mtpc0004-page .pc4-removal-examples button.is-selected{border-color:#1d6984;background:#eaf4f6}
.mtpc0004-page .pc4-removal-examples button:focus-visible{outline:3px solid #bd6631;outline-offset:2px}
.mtpc0004-page .pc4-answer{display:grid;gap:8px;margin:14px 0;font-weight:700}
.mtpc0004-page .pc4-answer input,.mtpc0004-page .pc4-answer textarea{width:100%;box-sizing:border-box;padding:12px;border:2px solid #87aebb;border-radius:8px;background:#fff;font:inherit;color:#193e50}
.mtpc0004-page .pc4-actions{display:flex;flex-wrap:wrap;gap:8px}
.mtpc0004-page .pc4-hint{margin-top:14px;padding:12px;border-left:4px solid #5c8c9c;border-radius:8px;background:#edf5f7}
.mtpc0004-page .pc4-hint h3{margin:0 0 5px;font-size:1rem}
.mtpc0004-page .pc4-hint p{margin:0 0 10px}
.mtpc0004-page .pc4-snapshot-bins{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}
.mtpc0004-page .pc4-snapshot-bins>div{min-width:112px;padding:9px;border:1px solid #bfd4da;border-radius:8px;background:#f2f8f9}
.mtpc0004-page .pc4-snapshot-bins strong{display:block;font-size:.82rem;color:#365f70}
.mtpc0004-page .pc4-snapshot-bins span{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px}
.mtpc0004-page .pc4-snapshot-bins i{font-style:normal;padding:3px 5px;border-radius:5px;background:white;color:#174054}
.mtpc0004-page .pc4-choice:focus-visible,.mtpc0004-page .pc4-qty-controls button:focus-visible,.mtpc0004-page .pc4-save:focus-visible{outline:3px solid #bd6631;outline-offset:2px}
.mtpc0004-page .pc4-parcel-preview{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:8px;margin:12px 0}
.mtpc0004-page .pc4-parcel-preview>div{display:grid;gap:3px;padding:10px;border:1px solid #bfd4da;border-radius:8px;background:#fff}
.mtpc0004-page .pc4-parcel-preview span{color:#426278;overflow-wrap:anywhere}
.mtpc0004-page .pc4-gallery>p{margin:6px 0 12px;color:#426278}
.mtpc0004-page .pc4-gallery h4{margin:15px 0 5px;color:#173d51;font-size:.94rem}
.mtpc0004-page .pc4-gallery-filters{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}
.mtpc0004-page .pc4-gallery-filters button,.mtpc0004-page .pc4-sign-builder button,.mtpc0004-page .pc4-general-builder button{min-height:40px;padding:7px 11px;border:2px solid #86aab6;border-radius:8px;background:#fff;color:#194154;font:inherit;font-weight:700;cursor:pointer}
.mtpc0004-page .pc4-gallery-filters button.is-selected,.mtpc0004-page .pc4-sign-builder button.is-selected,.mtpc0004-page .pc4-general-builder button.is-selected{border-color:#1d6984;background:#d9eef4}
.mtpc0004-page .pc4-gallery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr));gap:9px;max-height:500px;overflow:auto;padding:9px;border:1px solid #c9dce2;border-radius:8px;background:#fff}
.mtpc0004-page .pc4-gallery-card{display:grid;align-content:start;gap:6px;min-height:132px;padding:10px;border:2px solid #b9d0d8;border-radius:8px;background:#f8fbfc;color:#254c60;text-align:left;font:inherit;cursor:pointer}
.mtpc0004-page .pc4-gallery-card.is-selected{border-color:#1d6984;box-shadow:0 0 0 2px #b7dbe5}
.mtpc0004-page .pc4-gallery-card.is-removed{opacity:.3;text-decoration:line-through}
.mtpc0004-page .pc4-card-id{font-size:.78rem;font-weight:800}
.mtpc0004-page .pc4-card-contents{display:grid;gap:3px}
.mtpc0004-page .pc4-card-envelope{display:grid;grid-template-columns:48px minmax(0,1fr);gap:5px;padding:2px 5px;border-left:3px solid #8aa9b3;background:#fff;font-size:.77rem;line-height:1.35;overflow-wrap:anywhere}
.mtpc0004-page .pc4-card-envelope strong{font-weight:800}
.mtpc0004-page .pc4-card-envelope-red{border-left-color:#bf5959}
.mtpc0004-page .pc4-card-envelope-blue{border-left-color:#4a8db9}
.mtpc0004-page .pc4-card-envelope-green{border-left-color:#589567}
.mtpc0004-page .pc4-card-detail{margin:12px 0;padding:10px;border-left:4px solid #28718c;border-radius:6px;background:#eaf4f7}
.mtpc0004-page .pc4-card-detail p{margin:4px 0}
.mtpc0004-page .pc4-case-board>p{margin:5px 0 11px;color:#426278}
.mtpc0004-page .pc4-case-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:8px;margin:10px 0}
.mtpc0004-page .pc4-case-grid>div{padding:9px;border:1px solid #bfd4da;border-radius:8px;background:#fff}
.mtpc0004-page .pc4-case-grid>div.is-matched{border-color:#327a8d;background:#e2f2f5;box-shadow:inset 0 0 0 1px #327a8d}
.mtpc0004-page .pc4-case-grid strong{display:block;color:#173d51}
.mtpc0004-page .pc4-case-grid p{margin:5px 0 0;font-size:.85rem;color:#426278}
.mtpc0004-page .pc4-probe-buttons{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}
.mtpc0004-page .pc4-probe-buttons button{padding:8px 12px}
.mtpc0004-page .pc4-case-equation{padding:8px 10px;border-left:4px solid #37798e;background:#eaf4f6}
.mtpc0004-page .pc4-removal-strip{height:26px;border:1px solid #b8d0d8;border-radius:6px;background:#e8c6b8;overflow:hidden}
.mtpc0004-page .pc4-removal-strip span{display:block;height:100%;background:#55a494;transition:width .2s ease}
.mtpc0004-page .pc4-rule-machine>p{margin:5px 0 12px;color:#426278}
.mtpc0004-page .pc4-rule-doors{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0 14px}
.mtpc0004-page .pc4-rule-doors button,.mtpc0004-page .pc4-rule-doors span{padding:8px 10px;border:2px solid #84aab6;border-radius:8px;background:#fff;color:#194154;font:inherit;font-weight:700}
.mtpc0004-page .pc4-rule-doors button{cursor:pointer}
.mtpc0004-page .pc4-rule-doors .is-closed{border-color:#b57461;background:#fff0e8;color:#773f32}
.mtpc0004-page .pc4-rule-doors button:focus-visible{outline:3px solid #bd6631;outline-offset:2px}
.mtpc0004-page .pc4-rule-rows{display:grid;gap:5px;margin:12px 0}
.mtpc0004-page .pc4-rule-rows>div{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 9px;border:1px solid #c5d9df;border-radius:7px;background:#fff}
.mtpc0004-page .pc4-rule-rows>div>span{display:flex;flex-wrap:wrap;gap:5px;justify-content:flex-end}
.mtpc0004-page .pc4-rule-rows button{padding:4px 8px;border:1px solid #78a1ae;border-radius:5px;background:#fff;color:#21556a;font:inherit;font-size:.88rem;font-weight:700;cursor:pointer}
.mtpc0004-page .pc4-rule-rows button.is-selected{border-color:#1d6984;background:#d9eef4;box-shadow:inset 0 0 0 1px #1d6984}
.mtpc0004-page .pc4-rule-rows button:focus-visible{outline:3px solid #bd6631;outline-offset:2px}
.mtpc0004-page .pc4-rule-result{margin-top:12px;padding:10px;border:1px solid #b9d4dc;border-radius:8px;background:#fff}
.mtpc0004-page .pc4-rule-result>p{margin:8px 0 0}
.mtpc0004-page .pc4-count-board ul{list-style:none;padding:0;margin:0;display:grid;gap:5px}
.mtpc0004-page .pc4-count-board li{display:flex;justify-content:space-between;gap:12px;padding:4px 0;border-bottom:1px solid #c8dbe1}
.mtpc0004-page .pc4-count-board li strong{color:#14576d}
.mtpc0004-page .pc4-sign-builder>div{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:8px 0;padding:10px;border:1px solid #cadce2;border-radius:8px}
.mtpc0004-page .pc4-sign-builder>div span{display:flex;gap:6px}
.mtpc0004-page .pc4-sign-builder button{min-width:46px;font-size:1.2rem}
.mtpc0004-page .pc4-table-form{container-type:inline-size}
.mtpc0004-page .pc4-table-row{display:grid;grid-template-columns:minmax(135px,1fr) repeat(3,minmax(0,1.2fr));gap:10px;align-items:end;padding:12px 0;border-bottom:1px solid #cfdee3}
.mtpc0004-page .pc4-table-row>strong{align-self:center}
.mtpc0004-page .pc4-table-row label{display:grid;align-content:end;gap:5px;min-width:0;font-size:.9rem}
.mtpc0004-page .pc4-table-row input{width:100%;box-sizing:border-box;padding:9px;border:2px solid #87aebb;border-radius:7px;font:inherit}
.mtpc0004-page .pc4-earlier-work{padding:10px 14px;background:#f8fbfc}
.mtpc0004-page .pc4-earlier-work summary{cursor:pointer;color:#426278;font-weight:700}
.mtpc0004-page .pc4-earlier-work[open] summary{margin-bottom:10px}
.mtpc0004-page .pc4-machine-instruction{margin:0 0 12px;color:#476b7c}
.mtpc0004-page .pc4-ticket{display:inline-flex;align-items:center;gap:8px;min-width:82px;padding:6px 9px;border:1px solid currentColor;border-radius:8px;background:#fff;font-weight:800;white-space:nowrap;box-shadow:0 2px 0 rgba(24,57,73,.12)}
.mtpc0004-page .pc4-ticket svg{width:24px;height:24px;flex:none;fill:currentColor}
.mtpc0004-page .pc4-ticket-0{color:#535b99;background:#f2f0ff}
.mtpc0004-page .pc4-ticket-1{color:#a9581e;background:#fff0d4}
.mtpc0004-page .pc4-ticket-2{color:#32714e;background:#e7f5e9}
.mtpc0004-page .pc4-ticket-3{color:#287999;background:#e3f4fa}
.mtpc0004-page .pc4-ticket-small{min-width:0;padding:3px 5px;gap:4px;font-size:.8rem;border-radius:6px}
.mtpc0004-page .pc4-ticket-small svg{width:16px;height:16px}
.mtpc0004-page .pc4-envelope-bank{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:10px;margin:15px 0}
.mtpc0004-page .pc4-envelope{position:relative;min-height:108px;padding:17px 10px 10px;border:2px solid currentColor;border-radius:10px;background:#fff;overflow:hidden}
.mtpc0004-page .pc4-envelope>strong,.mtpc0004-page .pc4-envelope>div{position:relative;z-index:1}
.mtpc0004-page .pc4-envelope>strong{display:block;margin-bottom:9px;color:#173d51}
.mtpc0004-page .pc4-envelope>div{display:flex;flex-wrap:wrap;align-content:start;gap:5px;min-height:38px}
.mtpc0004-page .pc4-envelope em{font-size:.82rem;color:#587383}
.mtpc0004-page .pc4-envelope-flap{position:absolute;inset:0 0 auto;height:17px;opacity:.45;background:currentColor;clip-path:polygon(0 0,100% 0,50% 100%)}
.mtpc0004-page .pc4-envelope-0{color:#ae5b64;background:#fff1f0}
.mtpc0004-page .pc4-envelope-1{color:#477fae;background:#eef6ff}
.mtpc0004-page .pc4-envelope-2{color:#4b9069;background:#eff9f0}
.mtpc0004-page .pc4-envelope-3{color:#ad8540;background:#fff9e8}
.mtpc0004-page .pc4-envelope.is-closed{filter:grayscale(.35);background:#edf1f2;border-style:dashed}
.mtpc0004-page .pc4-branch-path,.mtpc0004-page .pc4-witness-tracker{padding:11px 13px;border-left:4px solid #377c91;border-radius:8px;background:#eaf4f7}
.mtpc0004-page .pc4-branch-path>div{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin:9px 0}
.mtpc0004-page .pc4-branch-path>div>span{display:grid;gap:5px;justify-items:center}
.mtpc0004-page .pc4-branch-path b{font-size:.8rem;color:#355b6e}
.mtpc0004-page .pc4-branch-path p,.mtpc0004-page .pc4-witness-tracker p{margin:6px 0 0;color:#355b6e}
.mtpc0004-page .pc4-sort-decision,.mtpc0004-page .pc4-sort-shelf,.mtpc0004-page .pc4-ledger-lists{margin-top:12px}
.mtpc0004-page .pc4-sort-decision{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:9px;border-radius:8px;background:#edf5f7}
.mtpc0004-page .pc4-sort-decision button,.mtpc0004-page .pc4-table-row button{padding:6px 9px;border:1px solid #668e9f;border-radius:7px;background:#fff;color:#1b536a;font:inherit;font-size:.85rem;font-weight:700;cursor:pointer}
.mtpc0004-page .pc4-sort-shelf{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:8px}
.mtpc0004-page .pc4-sort-shelf>div{display:grid;align-content:start;gap:4px;padding:9px;border:1px solid #bed2d9;border-radius:8px;background:#fff}
.mtpc0004-page .pc4-sort-shelf span{color:#41677a}
.mtpc0004-page .pc4-sort-shelf p{margin:0;font-size:.82rem;color:#526e7d}
.mtpc0004-page .pc4-ledger-lists{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:8px}
.mtpc0004-page .pc4-ledger-lists>div{padding:10px;border:2px solid #bfd4da;border-radius:9px;background:#fff}
.mtpc0004-page .pc4-ledger-lists>div.is-matched{border-color:#387e72;background:#eaf7f2}
.mtpc0004-page .pc4-ledger-lists strong,.mtpc0004-page .pc4-ledger-lists span{display:block}
.mtpc0004-page .pc4-ledger-lists span{font-size:.86rem;color:#526f7f}
.mtpc0004-page .pc4-ledger-lists p{margin:8px 0 0;font-size:.86rem}
.mtpc0004-page .pc4-ledger-witness{display:flex;flex-wrap:wrap;gap:4px}
.mtpc0004-page .pc4-ledger-caption{padding:8px 10px;border-left:4px solid #387e72;background:#eaf7f2}
.mtpc0004-page .pc4-table-row>strong{display:grid;justify-items:start;gap:7px}
.mtpc0004-page .pc4-table-row.is-active{padding:12px;background:#eef7f8;border-radius:8px}
.mtpc0004-page .pc4-table-row button[aria-pressed="true"]{background:#d8eef2;border:2px solid #17617b;color:#153e50;box-shadow:inset 0 0 0 1px #fff}
.mtpc0004-page .pc4-table-row button[aria-pressed="true"]::before{content:"✓ ";font-weight:900}
.mtpc0004-page .pc4-probe-controls{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}
.mtpc0004-page .pc4-probe-controls label{display:grid;gap:4px;font-weight:700}
.mtpc0004-page .pc4-probe-controls select{padding:6px;border:1px solid #87aebb;border-radius:6px;background:white;font:inherit}
.mtpc0004-page .pc4-probe-objects{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}
.mtpc0004-page .pc4-probe-envelope{padding:8px;border:1px solid #87aebb;border-radius:6px;background:#fff}
.mtpc0004-page .pc4-probe-envelope.is-closed{background:#f2dfd8;border-color:#ae715d}
@container (max-width:760px){.mtpc0004-page .pc4-table-row{grid-template-columns:repeat(3,minmax(0,1fr))}.mtpc0004-page .pc4-table-row>strong{grid-column:1/-1}}
@container (max-width:340px){.mtpc0004-page .pc4-table-row{grid-template-columns:1fr}.mtpc0004-page .pc4-table-row>strong{grid-column:auto}}
.mtpc0004-page .pc4-general-builder fieldset{display:grid;gap:7px;margin:14px 0;padding:11px;border:1px solid #bdd4dc;border-radius:9px}
.mtpc0004-page .pc4-general-builder legend{font-weight:800;color:#173d51}
.mtpc0004-page .pc4-general-builder button{text-align:left}
.mtpc0004-page .wm-thinking .pc4-general-builder button[aria-pressed="true"]{border:2px solid #17617b !important;background:#d9eef4 !important;color:#153e50 !important;font-weight:800;box-shadow:inset 0 0 0 2px #fff,0 0 0 1px #17617b !important}
.mtpc0004-page .pc4-general-builder button[aria-pressed="true"]::before{content:"✓";display:inline-grid;place-items:center;width:23px;height:23px;margin-right:9px;border-radius:50%;background:#17617b;color:#fff;font-weight:800}
.mtpc0004-page .pc4-transfer-workbench .pc4-machine-part{overflow:hidden}
.mtpc0004-page .pc4-transfer-line-controls{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:10px 0 2px;color:#285a6f;font-size:.86rem;font-weight:700}
.mtpc0004-page .pc4-transfer-line-controls[hidden]{display:none}
.mtpc0004-page .pc4-transfer-line-controls button{flex:none;min-width:38px;min-height:36px;padding:2px 8px;border:2px solid #86aab6;border-radius:7px;background:#fff;color:#195168;font:inherit;font-size:1.25rem;cursor:pointer}
.mtpc0004-page .pc4-transfer-line-controls button:disabled{opacity:.35;cursor:default}
.mtpc0004-page .pc4-transfer-line-cue{text-align:center}
.mtpc0004-page .pc4-transfer-line-scroll,.mtpc0004-page .pc4-transfer-seat-scroll{overflow-x:auto;padding:5px 2px 12px}
.mtpc0004-page .pc4-transfer-line,.mtpc0004-page .pc4-transfer-seat-row{display:flex;align-items:center;gap:4px;width:max-content;min-width:100%;white-space:nowrap}
.mtpc0004-page .pc4-transfer-gap{min-width:36px;min-height:44px;padding:3px;border:2px solid #86aab6;border-radius:7px;background:#fff;color:#195168;font:inherit;font-weight:800;cursor:pointer}
.mtpc0004-page .pc4-transfer-gap.is-selected{border-color:#17617b;background:#d9eef4;box-shadow:inset 0 0 0 1px #17617b}
.mtpc0004-page .pc4-transfer-counter{color:#bf5d42;font-size:1.5rem;line-height:1}
.mtpc0004-page .pc4-transfer-local{margin:12px 0;padding:9px 11px;border-left:4px solid #3b7c8d;background:#eaf4f6;color:#234b5d}
.mtpc0004-page .pc4-transfer-valid{color:#256448;font-weight:700}.mtpc0004-page .pc4-transfer-invalid{padding:8px 10px;border-left:4px solid #bc7730;background:#fff1de;color:#6e4316;font-weight:700}
.mtpc0004-page .pc4-transfer-saved{display:flex;flex-wrap:wrap;gap:7px}.mtpc0004-page .pc4-transfer-saved span{padding:5px 9px;border:1px solid #a9c7d0;border-radius:7px;background:#fff}
.mtpc0004-page .pc4-transfer-stepper{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:10px 0}.mtpc0004-page .pc4-transfer-stepper strong{min-width:85px}.mtpc0004-page .pc4-transfer-stepper button{min-width:42px;min-height:42px;border:2px solid #79a2b1;border-radius:8px;background:#fff;color:#173e50;font:inherit;font-weight:800;cursor:pointer}.mtpc0004-page .pc4-transfer-stepper button:disabled{opacity:.45;cursor:default}
.mtpc0004-page .pc4-transfer-weighted-bars{display:grid;gap:9px}.mtpc0004-page .pc4-transfer-weighted-bars>div{padding:10px;border:1px solid #bdd4dc;border-radius:8px;background:#fff}.mtpc0004-page .pc4-transfer-weighted-bars strong{display:block;margin-bottom:6px}.mtpc0004-page .pc4-transfer-weighted-bars span{display:flex;flex-wrap:wrap;gap:4px;color:#b65742;font-size:1.14rem;letter-spacing:.05em}.mtpc0004-page .pc4-transfer-weighted-bars i{padding:2px 5px;border:1px solid #d99f8f;border-radius:6px;background:#fff4ed;font-style:normal}
.mtpc0004-page .pc4-transfer-yz-line{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:10px;border:1px solid #bdd4dc;border-radius:8px;background:#fff}
.mtpc0004-page .pc4-transfer-yz-line span{display:flex;align-items:center;flex-wrap:wrap;gap:3px;color:#b65742;letter-spacing:.05em}
.mtpc0004-page .pc4-transfer-yz-line strong{margin-right:5px;color:#173d51}
.mtpc0004-page .pc4-transfer-yz-line b{color:#17617b;font-size:1.6rem}
.mtpc0004-page .pc4-transfer-note{margin-bottom:0;color:#426278}
.mtpc0004-page .pc4-transfer-scroll-cue{margin:7px 0;color:#426278;font-size:.85rem}
.mtpc0004-page .pc4-transfer-seat-row{gap:3px}.mtpc0004-page .pc4-transfer-seat{display:grid;place-items:center;gap:1px;min-width:43px;min-height:56px;border:2px solid #a7bfca;border-radius:8px;background:#fff;color:#4b6877;font:inherit;font-size:.8rem;font-weight:700;cursor:pointer}.mtpc0004-page .pc4-transfer-seat small{font-size:.7rem;line-height:1}.mtpc0004-page .pc4-transfer-seat strong{font-size:.82rem;line-height:1.1}.mtpc0004-page .pc4-transfer-seat.is-occupied{border-color:#17617b;background:#d9eef4;color:#153e50}.mtpc0004-page .pc4-transfer-seat.is-conflict{border-color:#af6337;background:#fff0df;color:#704119}
.mtpc0004-page .pc4-transfer-gap-board{margin-top:15px;padding:11px;border:1px solid #bdd4dc;border-radius:9px;background:#fff}.mtpc0004-page .pc4-transfer-gap-board h4{margin:0 0 9px}.mtpc0004-page .pc4-transfer-gap-board>div{display:grid;grid-template-columns:repeat(auto-fit,minmax(86px,1fr));gap:6px}.mtpc0004-page .pc4-transfer-gap-board span{display:grid;gap:4px;padding:7px;border:1px solid #bdd4dc;border-radius:7px;background:#f5fafb}.mtpc0004-page .pc4-transfer-gap-board span.is-empty-middle{border-color:#b67138;background:#fff0df}.mtpc0004-page .pc4-transfer-gap-board small{color:#426278}.mtpc0004-page .pc4-transfer-gap-board b{font-size:1.1rem}.mtpc0004-page .pc4-transfer-gap-board p{margin-bottom:0;color:#426278}
.mtpc0004-page .pc4-transfer-summary{display:flex;gap:12px;flex-wrap:wrap;margin:10px 0;font-size:1.4rem;color:#22556a}
.mtpc0004-page .pc4-transfer-workbench button:focus-visible{outline:3px solid #bd6631;outline-offset:2px}
.mtpc0004-page .pc4-rule-preview{padding:12px;border-left:4px solid #28718c;border-radius:8px;background:#eaf4f7}
.mtpc0004-page .pc4-rule-preview p{margin:6px 0 0}
.mtpc0004-page .pc4-rule-preview span{font-weight:800;color:#173d51}
.mtpc0004-page .pc4-removal-progress{padding:8px 12px;border-left:4px solid #28718c;background:#eaf4f7}
.mtpc0004-page .pc4-removal-progress p{margin:5px 0}
.mtpc0004-page .pc4-gallery button:focus-visible,.mtpc0004-page .pc4-sign-builder button:focus-visible,.mtpc0004-page .pc4-general-builder button:focus-visible{outline:3px solid #bd6631;outline-offset:2px}
.mtpc0004-page .pc4-overlap-machine>p{margin:5px 0 12px;color:#426278}
.mtpc0004-page .pc4-overlap-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:8px;max-height:440px;overflow:auto;padding:8px;border:1px solid #c4d8de;border-radius:10px;background:#fff}
.mtpc0004-page .pc4-overlap-card{display:grid;gap:5px;min-width:0;padding:8px;border:2px solid #b8d1d9;border-radius:9px;background:#f8fbfc;color:#173d51;text-align:left;font:inherit;cursor:pointer}
.mtpc0004-page .pc4-overlap-card.is-selected{border-color:#247b68;background:#e8f6ef;box-shadow:inset 0 0 0 1px #247b68}
.mtpc0004-page .pc4-overlap-card.is-inspected{outline:2px solid #205f7a;outline-offset:1px}
.mtpc0004-page .pc4-overlap-card:focus-visible{outline:3px solid #bd6631;outline-offset:2px}
.mtpc0004-page .pc4-overlap-card-number{font-size:.78rem;font-weight:800;color:#426278}
.mtpc0004-page .pc4-overlap-routes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
.mtpc0004-page .pc4-overlap-route{display:grid;gap:1px;padding:3px 5px;border-radius:5px;font-size:.75rem;line-height:1.2}
.mtpc0004-page .pc4-overlap-route b,.mtpc0004-page .pc4-overlap-route em{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mtpc0004-page .pc4-overlap-route em{font-style:normal}
.mtpc0004-page .pc4-overlap-route-0{background:#fff0ef;color:#853d47}
.mtpc0004-page .pc4-overlap-route-1{background:#e8f2fd;color:#265f8d}
.mtpc0004-page .pc4-overlap-route-2{background:#e9f7ec;color:#326949}
.mtpc0004-page .pc4-overlap-selection{padding:8px 10px;border-left:4px solid #247b68;background:#e8f6ef;font-weight:700}
.mtpc0004-page .pc4-earlier-gallery{margin:10px 0;padding:9px;border:1px solid #c2d7dd;border-radius:8px;background:#f6fafb}
.mtpc0004-page .pc4-earlier-gallery summary{cursor:pointer;font-weight:700;color:#205a72}
.mtpc0004-page .pc4-earlier-gallery>button{min-height:40px;padding:6px 10px;border:2px solid #86aab6;border-radius:7px;background:#fff;color:#205a72;font:inherit;font-weight:700;cursor:pointer}
.mtpc0004-page .pc4-earlier-gallery h4{margin:12px 0 6px}
.mtpc0004-page .pc4-earlier-gallery .pc4-overlap-grid{max-height:230px}
.mtpc0004-page .pc4-reference-shelf{margin:12px 0;padding:11px;border:1px solid #bcd5dc;border-radius:9px;background:#eef7f9}
.mtpc0004-page .pc4-reference-shelf h4{margin:0 0 4px;color:#173d51}
.mtpc0004-page .pc4-reference-shelf>p{margin:0 0 9px;color:#426278}
.mtpc0004-page .pc4-reference-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.mtpc0004-page .pc4-reference-card{display:grid;gap:4px;min-width:0;padding:8px;border:1px solid #b8d1d9;border-radius:7px;background:#fff;color:#254c60}
.mtpc0004-page .pc4-reference-source{font-size:.78rem;font-weight:700;color:#557386}
.mtpc0004-page .pc4-overlap-card.is-checked-match{border-color:#247b68;background:#e8f6ef}
.mtpc0004-page .pc4-overlap-card.is-checked-miss{border-color:#ad6b24;background:#fff4e2}
.mtpc0004-page .pc4-card-check{font-weight:700}
@media (max-width:640px){.mtpc0004-page .pc4-overlap-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-height:330px}}
@media (max-width:500px){.mtpc0004-page .pc4-reference-cards{grid-template-columns:1fr}}
.mtpc0004-page .pc4-divider-machine>p{margin:8px 0;color:#426278}
.mtpc0004-page .pc4-counter-share-machine>h3:not(:first-child){margin-top:18px}
.mtpc0004-page .pc4-owner-slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:12px 0}
.mtpc0004-page .pc4-owner-slot{min-height:110px;padding:11px;border:1px solid #b9d0d9;border-radius:9px;background:#fff;display:flex;flex-direction:column;align-items:flex-start;gap:6px}
.mtpc0004-page .pc4-owner-slot.is-placed{border-color:#5d9c9c;background:#eaf6f2}
.mtpc0004-page .pc4-owner-slot small{font-size:.78rem;color:#527285}
.mtpc0004-page .pc4-owner-slot strong{color:#173d51}
.mtpc0004-page .pc4-owner-count{font-size:.9rem;color:#235d53;overflow-wrap:anywhere}
.mtpc0004-page .pc4-owner-waiting{font-size:.88rem;color:#688092}
.mtpc0004-page .pc4-owner-place{min-height:42px;padding:6px 9px;border:2px solid #367b89;border-radius:7px;background:#fff;color:#194c5b;font:inherit;font-weight:700;cursor:pointer}
.mtpc0004-page .pc4-owner-place:focus-visible{outline:3px solid #bd6631;outline-offset:2px}
@media (max-width:640px){.mtpc0004-page .pc4-owner-slots{grid-template-columns:1fr}.mtpc0004-page .pc4-owner-slot{min-height:0}}
.mtpc0004-page .pc4-mark-row{margin:10px 0;padding:10px;border:1px solid #c2d8df;border-radius:9px;background:#fff}
.mtpc0004-page .pc4-mark-row>strong{display:block;margin-bottom:8px;font-size:.9rem;color:#315e73}
.mtpc0004-page .pc4-mark-row>div{display:flex;flex-wrap:wrap;gap:6px}
.mtpc0004-page .pc4-mark-row span{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border:1px solid #a8c5ce;border-radius:7px;font-size:1.35rem;font-weight:800}
.mtpc0004-page .pc4-mark-row .is-divider{color:#215f76;background:#e7f4f8}
.mtpc0004-page .pc4-mark-row .is-counter{color:#be5e46;background:#fff3ee}
.mtpc0004-page .pc4-partition-line{display:flex;align-items:center;justify-content:safe center;flex-wrap:nowrap;gap:3px;max-width:100%;overflow-x:auto;box-sizing:border-box;padding:14px 5px;border:1px solid #c2d8df;border-radius:10px;background:#fff}
.mtpc0004-page .pc4-line-counter{flex:0 0 auto;font-size:1.75rem;color:#be5e46;line-height:1}
.mtpc0004-page .pc4-divider-gap{display:grid;flex:0 0 auto;justify-items:center;min-width:48px;gap:4px}
.mtpc0004-page .pc4-bar-marks{min-height:28px;color:#215f76;font-size:1.5rem;font-weight:800;letter-spacing:2px}
.mtpc0004-page .pc4-gap-controls{display:flex;gap:2px}
.mtpc0004-page .pc4-gap-controls button{width:27px;height:30px;padding:0;border:1px solid #6f9aaa;border-radius:6px;background:#fff;color:#194154;font:inherit;font-weight:800;cursor:pointer}
.mtpc0004-page .pc4-gap-controls button:disabled{opacity:.36;cursor:default}
.mtpc0004-page .pc4-gap-controls button:focus-visible{outline:3px solid #bd6631;outline-offset:2px}
.mtpc0004-page .pc4-divider-machine .pc4-divider-warning{padding:7px 9px;border-left:4px solid #b86b45;background:#fff2e9;color:#783e28}
.mtpc0004-page .pc4-jar-preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:12px}
.mtpc0004-page .pc4-jar{min-width:0;min-height:92px;display:flex;flex-direction:column;gap:5px;margin-top:7px;padding:10px;border:2px solid #b7cdd5;border-top-width:7px;border-radius:8px 8px 17px 17px;background:#fff;box-sizing:border-box}
.mtpc0004-page .pc4-jar strong{font-size:.95rem;color:#23485b}
.mtpc0004-page .pc4-jar span{font-size:.88rem;color:#496b7b}
.mtpc0004-page .pc4-jar .pc4-jar-counters{color:#be5e46;letter-spacing:3px;overflow-wrap:anywhere}
.mtpc0004-page .pc4-jar-0{border-color:#c17a72;background:#fff5f3}
.mtpc0004-page .pc4-jar-1{border-color:#78a4c5;background:#f1f7fc}
.mtpc0004-page .pc4-jar-2{border-color:#78ae8b;background:#f2faf4}
.mtpc0004-page .pc4-jar.is-empty{border-style:dashed}
.mtpc0004-page .pc4-jar.is-empty span{font-weight:700}
.mtpc0004-page .pc4-failure-lists{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:8px}
.mtpc0004-page .pc4-failure-lists>div{padding:9px;border:1px solid #c0d2da;border-radius:8px;background:#fff}
.mtpc0004-page .pc4-failure-lists>div.is-matched{border-color:#b76c49;background:#fff1e9}
.mtpc0004-page .pc4-failure-lists strong,.mtpc0004-page .pc4-failure-lists span{display:block}
.mtpc0004-page .pc4-failure-lists span{margin-top:4px;font-size:.85rem;color:#466779}
.mtpc0004-page .pc4-failure-board>p{margin:7px 0 11px;color:#426278}
.mtpc0004-page .pc4-failure-lists .pc4-assignment-card{display:block;padding:8px;border:1px solid #b76c49;border-radius:7px;background:#fff;color:#613c2d;font-weight:700;line-height:1.35}
.mtpc0004-page .pc4-failure-lists>div.is-matched{box-shadow:inset 0 0 0 1px #b76c49}
.mtpc0004-page .pc4-count-board ul{list-style:none;margin:0;padding:0}
.mtpc0004-page .pc4-count-board li{display:flex;justify-content:space-between;gap:12px;padding:5px 0;border-top:1px solid #d9e7eb}
.mtpc0004-page .pc4-exclusion-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;margin:12px 0}
.mtpc0004-page .pc4-exclusion-cards button{display:grid;gap:7px;text-align:left;white-space:normal}
.mtpc0004-page .pc4-exclusion-cards small{font-size:.82rem;font-weight:600;color:#426278}
.mtpc0004-page .pc4-exclusion-cards .is-selected{border-color:#b76550;background:#fff1ea}
.mtpc0004-page .pc4-case-machine .pc4-probe-buttons{display:flex;flex-wrap:wrap;gap:8px}
.mtpc0004-page .pc4-merged-shelf{margin-top:12px;padding:10px;border:1px solid #b8d4c9;border-radius:9px;background:#f0f9f4}
.mtpc0004-page .pc4-merged-shelf h4{margin:0 0 7px;color:#235b4d}
.mtpc0004-page .pc4-merged-shelf .pc4-overlap-grid{min-height:56px;max-height:230px;background:#fff}
.mtpc0004-page .pc4-merged-shelf .pc4-overlap-grid>p{margin:auto;color:#5a7380}
.mtpc0004-page .pc4-lot-name-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid #d4e3e8}
.mtpc0004-page .pc4-lot-name-row>div{display:flex;flex-wrap:wrap;gap:6px}
.mtpc0004-page .pc4-lot-name-machine .pc4-save{margin-top:12px}
@media (max-width:640px){.mtpc0004-page .pc4-lot-name-row{align-items:flex-start;flex-direction:column}}
.mtpc0004-page .pc4-partner-machine:has(.pc4-pair-results)~.pc4-unnamed-machine,.mtpc0004-page .pc4-workbench:has(.pc4-partner-machine) .pc4-current{display:none}
.mtpc0004-page .pc4-partner-options{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.mtpc0004-page .pc4-pair-results{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0}
.mtpc0004-page .pc4-pair-result{display:flex;align-items:center;justify-content:center;gap:8px;min-width:175px;padding:14px;border:2px solid #9bbeca;border-radius:10px;background:#fff;color:#173d51;font-weight:800}
.mtpc0004-page .pc4-pair-result b{color:#648798}
.mtpc0004-page .pc4-partner-machine>.secondary-button{margin-top:2px}
.mtpc0004-page .pc4-partner-pending{margin:12px 0 0;color:#527184}
.mtpc0004-page .pc4-workbench:has(.pc4-first-pair-machine) .pc4-current,.mtpc0004-page .pc4-workbench:has(.pc4-first-pair-machine) .pc4-unnamed-machine,.mtpc0004-page .pc4-workbench:has(.pc4-first-pair-machine) .pc4-saved{display:none}
.mtpc0004-page .pc4-first-pair-machine .pc4-pair-result{display:grid;justify-items:start;gap:5px;min-width:min(100%,220px)}
.mtpc0004-page .pc4-first-pair-machine .pc4-pair-result small{font-size:.78rem;color:#56798a}
.mtpc0004-page .pc4-first-pair-machine .pc4-pair-result strong{font-size:1.05rem}
.mtpc0004-page .pc4-first-pair-machine .pc4-save{margin:2px 0 12px}
.mtpc0004-page .pc4-pair-comparison{display:grid;gap:5px;margin-top:12px;padding:12px;border-left:4px solid #2c756a;background:#eaf7f2;border-radius:7px;color:#194a42}
.mtpc0004-page .pc4-pair-comparison p{margin:6px 0 0}
.mtpc0005-page .pc5-workbench{display:grid;gap:16px}.mtpc0005-page .pc5-problem{margin:0;padding:16px 18px;border-left:4px solid #286f83;border-radius:9px;background:#edf5f7;color:#173949;font-size:1.08rem;line-height:1.48}.mtpc0005-page .pc5-control,.mtpc0005-page .pc5-saved,.mtpc0005-page .pc5-test{padding:15px;border:1px solid #bed0d8;border-radius:10px;background:#f8fbfc}.mtpc0005-page .pc5-control h3,.mtpc0005-page .pc5-saved h3{margin:0 0 10px;font-size:1.02rem}.mtpc0005-page .pc5-control h3:not(:first-child){margin-top:14px}.mtpc0005-page .pc5-options{display:flex;flex-wrap:wrap;gap:8px;margin:9px 0}.mtpc0005-page .pc5-choice{min-height:42px;padding:8px 11px;border:2px solid #8faab7;border-radius:9px;background:#fff;color:#173949;font:inherit;cursor:pointer}.mtpc0005-page .pc5-choice:hover{border-color:#2b708b;background:#f0f8fa}.mtpc0005-page .pc5-choice.is-selected{border-color:#195b77;background:#d8edf5;box-shadow:inset 0 0 0 1px #195b77;font-weight:700}.mtpc0005-page button:focus-visible,.mtpc0005-page textarea:focus-visible,.mtpc0005-page input:focus-visible{outline:3px solid #e48a22;outline-offset:2px}.mtpc0005-page .pc5-operate{margin:8px 0;color:#466272;font-size:.92rem}.mtpc0005-page .pc5-assignment,.mtpc0005-page .pc5-amount{display:grid;grid-template-columns:minmax(80px,120px) 1fr;align-items:center;gap:9px;padding:9px 0;border-bottom:1px solid #d5e0e5}.mtpc0005-page .pc5-amount{grid-template-columns:minmax(80px,120px) auto minmax(62px,1fr) auto}.mtpc0005-page .pc5-assignment:last-child,.mtpc0005-page .pc5-amount:last-child{border-bottom:0}.mtpc0005-page .pc5-assignment .pc5-options{margin:0}.mtpc0005-page .pc5-diagram{display:block;width:100%;max-width:440px;margin:10px auto;border:1px solid #c5d6dd;border-radius:9px;background:#fff}.mtpc0005-page .pc5-local{min-height:1.35em;margin:8px 0 0;color:#315469}.mtpc0005-page .pc5-saved ol{display:grid;gap:8px;max-height:280px;overflow:auto;padding-left:24px}.mtpc0005-page .pc5-saved li{padding:7px;border-bottom:1px solid #e1e9ed;overflow-wrap:anywhere}.mtpc0005-page .pc5-saved small{display:block;margin-top:4px}.mtpc0005-page .pc5-valid{color:#256847}.mtpc0005-page .pc5-invalid{color:#9a4e1b}.mtpc0005-page .pc5-remaining,.mtpc0005-page .pc5-claim-feedback{padding:10px 12px;border-left:4px solid #397c88;background:#eaf4f5}.mtpc0005-page .pc5-method{margin-top:16px;padding:13px 16px;border-left:4px solid #2d785c;border-radius:8px;background:#eaf6ef}.mtpc0005-page .pc5-method h3{margin:0 0 7px}.mtpc0005-page .pc5-method p{margin:0}.mtpc0005-page .pc5-claim,.mtpc0005-page .pc5-plan{margin:16px 0;padding:13px 15px;border:1px solid #bed0d8;border-radius:9px}.mtpc0005-page .pc5-claim h3,.mtpc0005-page .pc5-plan h3{margin:0 0 8px}.mtpc0005-page .pc5-plan label{display:grid;gap:6px}.mtpc0005-page .pc5-plan textarea{width:100%;box-sizing:border-box;font:inherit}.mtpc0005-page .pc5-shelf{padding:12px;margin:10px 0;border-left:4px solid #4a7a8a;background:#edf5f7}.mtpc0005-page .pc5-book{display:inline-flex;gap:5px;align-items:center;padding:7px;border:1px solid #b4cbd3;border-radius:8px;background:#fff}.mtpc0005-page .pc5-book button{padding:5px 7px;font-size:.8rem}.mtpc0005-page .pc5-snapshot{display:grid;grid-template-columns:auto 1fr;gap:7px 13px;align-items:start}.mtpc0005-page .pc5-snapshot strong{overflow-wrap:anywhere}
@media(max-width:600px){.mtpc0005-page .pc5-assignment{grid-template-columns:1fr}.mtpc0005-page .pc5-options{gap:6px}.mtpc0005-page .pc5-choice{min-height:44px}.mtpc0005-page .pc5-amount{grid-template-columns:minmax(80px,1fr) auto minmax(45px,1fr) auto}.mtpc0005-page .pc5-control,.mtpc0005-page .pc5-saved,.mtpc0005-page .pc5-test{padding:11px}}
.mtpc0005-page .pc5-clubs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.mtpc0005-page .pc5-clubs>div,.mtpc0005-page .pc5-half-row>div{padding:10px;border:1px solid #c4d8df;border-radius:9px;background:#fff}.mtpc0005-page .pc5-clubs>div:nth-child(2){background:#e9f4ef}.mtpc0005-page .pc5-gap-row,.mtpc0005-page .pc5-seats{display:flex;align-items:stretch;gap:5px;overflow-x:auto;padding:8px 0}.mtpc0005-page .pc5-gap-row .pc5-choice{flex:0 0 auto;min-width:75px}.mtpc0005-page .pc5-seat{display:flex;flex:0 0 auto;flex-direction:column;justify-content:center;align-items:center;min-width:68px;min-height:53px;padding:5px;border:1px solid #9bb9c7;border-radius:7px;background:#eaf3f7;font-weight:700;text-align:center}.mtpc0005-page .pc5-seat small{display:block;font-size:.72rem;font-weight:400}.mtpc0005-page .pc5-half-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0}.mtpc0005-page .pc5-observation{padding:11px 13px;border-left:4px solid #2f7e67;background:#eaf5ee}.mtpc0005-page .pc5-seats .pc5-seat{min-width:56px}.mtpc0005-page .pc5-seats small{overflow-wrap:anywhere}@media(max-width:760px){.mtpc0005-page .pc5-clubs,.mtpc0005-page .pc5-half-row{grid-template-columns:1fr}}
.mtpc0005-page .wm-workspace,.mtpc0005-page .pc5-workbench,.mtpc0005-page .pc5-control{min-width:0;max-width:100%;box-sizing:border-box}.mtpc0005-page .pc5-gap-row,.mtpc0005-page .pc5-seats{max-width:100%}
.mtpc0005-page .pc5-divider{font-size:2rem;line-height:1;color:#286f83;align-self:center}
/* MTPC0006: compact mathematical machines inside the shared Player. */
.mtpc0006-page .pc6-machine{padding:1.25rem;background:#f2f8f9;border:1px solid #bfd8df;border-radius:14px}
.mtpc0006-page .pc6-machine h2{margin:0 0 .65rem;color:#173e50}
.mtpc0006-page .pc6-machine h3{margin:1rem 0 .4rem;color:#173e50;font-size:1rem}
.mtpc0006-page .pc6-strip{display:flex;align-items:stretch;gap:3px;min-height:55px;max-width:100%;overflow-x:auto;padding:.3rem 0;margin:.75rem 0}
.mtpc0006-page .pc6-tile,.mtpc0006-page .pc6-cell{display:flex;align-items:center;justify-content:center;flex:none;width:42px;min-height:48px;border:2px solid #5b96aa;border-radius:7px;background:#dceef2;font-weight:700;color:#173e50}
.mtpc0006-page .pc6-tile.domino{width:87px;background:#f7e9ce;border-color:#b68a48}
.mtpc0006-page .pc6-cell{background:#fff;border-style:dashed;border-color:#bbced4}
.mtpc0006-page .pc6-actions,.mtpc0006-page .pc6-number-line{display:flex;flex-wrap:wrap;gap:.55rem;margin:.8rem 0}
.mtpc0006-page .pc6-button,.mtpc0006-page .pc6-card{padding:.6rem .8rem;background:white;border:2px solid #9ebfcc;border-radius:8px;color:#173e50;font:inherit;cursor:pointer}
.mtpc0006-page .pc6-button.is-selected,.mtpc0006-page .pc6-card.is-selected{background:#dceef2;border-color:#216882}
.mtpc0006-page .pc6-button:focus-visible,.mtpc0006-page .pc6-card:focus-visible{outline:3px solid #1463c2;outline-offset:2px}
.mtpc0006-page .pc6-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:.6rem}
.mtpc0006-page .pc6-card{text-align:left;min-width:0}
.mtpc0006-page .pc6-card .pc6-strip{transform:scale(.8);transform-origin:left center;width:125%;margin:0}
.mtpc0006-page .pc6-local{min-height:1.25em;color:#315c6e}
.mtpc0006-page .pc6-saved{display:grid;gap:.35rem}
.mtpc0006-page .pc6-saved .pc6-strip{margin:0}
.mtpc0006-page .pc6-field{display:block;margin:1rem 0;font-weight:700}
.mtpc0006-page .pc6-field input,.mtpc0006-page .pc6-field textarea{display:block;width:100%;box-sizing:border-box;margin:.4rem 0;padding:.65rem;border:2px solid #8db5c1;border-radius:8px;font:inherit}
.mtpc0006-page .pc6-field textarea{min-height:100px}
.mtpc0006-page .pc6-help{padding:.8rem;background:#fff7e8;border-left:4px solid #bb8532;margin-top:1rem}
.mtpc0006-page .pc6-note{color:#48677a}
.mtpc0006-page .pc6-counts{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:.5rem}
.mtpc0006-page .pc6-counts>div,.mtpc0006-page .pc6-state-view{display:grid;gap:.2rem;background:white;border:1px solid #bfd8df;border-radius:8px;padding:.6rem}
.mtpc0006-page .pc6-route{display:flex;align-items:center;gap:.35rem;flex-wrap:wrap;min-height:3rem}
.mtpc0006-page .pc6-person{padding:.5rem .7rem;border:2px solid #5b96aa;border-radius:8px;background:white;font-weight:700}
.mtpc0006-page .pc6-table{border:1px solid #bfd8df;border-radius:8px;overflow:hidden;background:white}
.mtpc0006-page .pc6-table>div{display:grid;grid-template-columns:repeat(3,1fr);padding:.3rem .6rem;border-bottom:1px solid #e1ecef}
.mtpc0006-page .pc6-table>div:last-child{border-bottom:0}
.mtpc0006-page .pc6-snapshot{max-width:100%;overflow:hidden}
.mtpc0006-page .pc6-accepted{padding:.55rem .75rem;margin-bottom:1rem;border-left:4px solid #368267;background:#eaf5ee;color:#245945}
.mtpc0006-page .pc6-accepted p{margin:.2rem 0 0}
.mtpc0006-page .pc6-trays{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem;margin-top:1rem}
.mtpc0006-page .pc6-trays>div{display:grid;gap:.25rem;padding:.7rem;background:#fff;border:1px solid #bfd8df;border-radius:8px}
.mtpc0006-page .pc6-new-person{padding:.7rem;border-left:4px solid #368267;background:#eaf5ee}
.mtpc0006-page .pc6-envelopes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.55rem;margin:1rem 0}
.mtpc0006-page .pc6-envelope{display:flex;flex-direction:column;align-items:stretch;gap:.6rem;min-width:0;padding:.7rem;background:#fff;border:2px solid #9ebfcc;border-radius:10px;color:#173e50;text-align:left;font:inherit}
.mtpc0006-page button.pc6-envelope{cursor:pointer}
.mtpc0006-page button.pc6-envelope.is-selected{border-color:#216882;background:#dceef2}
.mtpc0006-page button.pc6-envelope:focus-visible{outline:3px solid #1463c2;outline-offset:2px}
.mtpc0006-page .pc6-envelope strong{font-size:.9em}
.mtpc0006-page .pc6-letter{display:block;padding:.45rem;border-radius:6px;background:#f7e9ce;color:#745529;font-weight:700}
.mtpc0006-page .pc6-letter.is-correct,.mtpc0006-page .pc6-mini-row .is-correct{background:#eaf5ee;color:#245945}
.mtpc0006-page .pc6-mini-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.25rem;margin-bottom:.45rem}
.mtpc0006-page .pc6-mini-row span{min-width:0;padding:.25rem;background:#f2f8f9;border-radius:5px;font-size:.84em;text-align:center}
.mtpc0006-page .pc6-assignment.is-marked{border-color:#368267;background:#eaf5ee}
.mtpc0006-page .pc6-case-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem;margin:1rem 0}
.mtpc0006-page .pc6-case-pair>div{padding:.8rem;background:#fff;border:1px solid #bfd8df;border-radius:9px}
.mtpc0006-page .pc6-case-pair p{margin:.45rem 0}
.mtpc0006-page .pc6-envelope-snapshot{display:flex;gap:.3rem}
.mtpc0006-page .pc6-envelope-snapshot span{padding:.25rem .5rem;border:1px solid #9ebfcc;border-radius:5px}
.mtpc0006-page .pc6-reduction{margin-top:.9rem;padding:.8rem;border-left:4px solid #216882;background:#fff;border-radius:7px}
.mtpc0006-page .pc6-reduction p{margin:.4rem 0}
.mtpc0006-page .pc6-reduced{margin-top:.65rem;padding:.6rem;background:#eaf5ee;border-radius:7px}
@media(max-width:640px){.mtpc0006-page .pc6-envelopes{grid-template-columns:repeat(2,minmax(0,1fr))}.mtpc0006-page .pc6-case-pair{grid-template-columns:1fr}.mtpc0006-page .pc6-mini-row{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Binomial people-to-brackets bridge and visible coefficient identities. */
.bt-person-brackets { display:grid; grid-template-columns:repeat(auto-fit,minmax(140px,1fr)); gap:12px; margin:18px 0; }
.bt-person-bracket { display:flex; flex-direction:column; gap:8px; padding:12px; border:1px solid #a9cbd7; border-radius:12px; background:white; }
.bt-person-bracket>div { display:flex; flex-wrap:wrap; gap:7px; }
.bt-person-bracket button { padding:7px 9px; border:1px solid #86adbd; border-radius:8px; background:white; color:#204c60; }
.bt-person-bracket button.is-selected { background:#d8edf4; outline:2px solid #286b83; font-weight:700; }
.bt-pascal { margin:20px 0; overflow-x:auto; padding:8px 0; }
.bt-pascal-row { display:flex; justify-content:center; align-items:center; gap:5px; min-width:360px; margin:7px 0; }
.bt-pascal-row>small { width:44px; color:#536c7b; }
.bt-pascal-cell { display:inline-flex; justify-content:center; align-items:center; box-sizing:border-box; min-width:34px; height:34px; font-weight:650; border:1px solid transparent; }
button.bt-pascal-cell { padding:0; border:2px solid #36788e; border-radius:7px; background:#ecf6f8; color:#173e50; }
button.bt-pascal-cell.is-selected { background:#24647b; color:white; }
.bt-diagonal-target { border:2px dashed #986623; border-radius:7px; background:#fff3de; }
.bt-numbered-positions { display:flex; flex-wrap:wrap; gap:10px; }
.bt-numbered-positions span { padding:9px 14px; border:1px solid #9cbcc7; border-radius:8px; }
.bt-numbered-positions .is-selected { background:#d6eaf1; border:2px solid #24647b; font-weight:bold; }
.bt-population { border-left:4px solid #a45f47; background:white; padding:12px 16px; margin:12px 0; border-radius:6px; }
.bt-population.blue { border-color:#367b9a; }
.mtbt0004-page .bt4-population-machine{gap:14px}
.mtbt0004-page .bt4-section{display:grid;gap:12px;padding:16px;border:1px solid #b8d2db;border-radius:10px;background:#fff}
.mtbt0004-page .bt4-section h2,.mtbt0004-page .bt4-section h3{margin:0;color:#193e50}
.mtbt0004-page .bt4-section h3{font-size:1.08rem}
.mtbt0004-page .bt4-context{padding:10px 12px;border-left:4px solid #317b91;background:#e7f2f5}
.mtbt0004-page .bt4-classes{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.mtbt0004-page .bt4-classes>div{padding:12px;border:1px solid #d0e1e7;border-left:4px solid #a45f47;border-radius:8px;background:#fafcfc}
.mtbt0004-page .bt4-classes>div+div{border-left-color:#367b9a}
.mtbt0004-page .bt4-people,.mtbt0004-page .bt4-splits,.mtbt0004-page .bt4-terms{display:flex;flex-wrap:wrap;gap:7px}
.mtbt0004-page .bt4-people button,.mtbt0004-page .bt4-splits button,.mtbt0004-page .bt4-terms button,.mtbt0004-page .bt4-combine-grid button{padding:7px 10px;border:2px solid #8cabb8;border-radius:7px;background:#fff;color:#193e50;font:inherit;cursor:pointer}
.mtbt0004-page .bt4-people button.is-selected,.mtbt0004-page .bt4-splits button.is-selected,.mtbt0004-page .bt4-terms button.is-selected,.mtbt0004-page .bt4-combine-grid button.is-selected{border-color:#1f6983;background:#d9eef4}
.mtbt0004-page .wm-thinking .bt3-options button{min-height:48px;padding:10px 14px;border:2px solid #b5cbd5;border-radius:7px;background:#fff;color:#193e50;font:inherit;text-align:left;cursor:pointer}
.mtbt0004-page .wm-thinking .bt3-options button.is-selected{border:2px solid #1f6983 !important;background:#d9eef4 !important;color:#193e50 !important}
.mtbt0004-page .bt4-local{min-height:1.2em;color:#965819}
.mtbt0004-page .bt4-table-scroll{max-width:100%;overflow:auto;border:1px solid #b8d2db;border-radius:8px}
.mtbt0004-page .bt4-focused{background:#e7f2f5}
.mtbt0004-page .bt4-combine-grid th,.mtbt0004-page .bt4-combine-grid td{white-space:normal;min-width:92px}
.mtbt0004-page .bt4-combine-grid button{font-size:.8rem;white-space:nowrap}
.mtbt0004-page .bt4-expansion{display:grid;gap:6px;padding:10px;border-left:4px solid #a45f47;background:#f5fafb;border-radius:6px}
.mtbt0004-page .bt4-expansion+.bt4-expansion{border-left-color:#367b9a}
.mtbt0004-page .bt4-collected{display:flex;flex-wrap:wrap;gap:7px}
.mtbt0004-page .bt4-collected span{padding:7px;border:1px solid #b8d2db;border-radius:6px;background:#f3f9fa}
.mtbt0004-page .bt4-conclusion{border-left:5px solid #317b91}
@media(max-width:650px){.mtbt0004-page .bt4-classes{grid-template-columns:1fr}}

/* Binomial diagonal: construct selections before reading their counts in Pascal's triangle. */
.bt-diagonal-work{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
.bt-diagonal-cards,.bt-diagonal-triangle{padding:16px;border:1px solid #bfd7df;border-radius:12px;background:#fff}
.bt-diagonal-cards h3,.bt-diagonal-triangle h3{margin:0 0 8px;color:#173e50}
.bt-diagonal-results{margin:14px 0;padding:12px;border-radius:9px;background:#eff6f8}
.bt-diagonal-results .bt3r-groups{margin-top:8px}
.bt-diagonal-count{display:block;margin:12px 0;font-weight:650}
.bt-diagonal-count input{display:block;width:min(100%,220px);margin-top:7px;padding:10px;border:2px solid #8cabb8;border-radius:7px;font:inherit}
.bt-diagonal-build{margin-top:8px;padding:9px 12px;border:2px solid #36788e;border-radius:8px;background:#e8f4f8;color:#173e50;font:inherit;cursor:pointer}
.bt-diagonal-build:disabled{opacity:.5;cursor:default}
.bt-diagonal-feedback{padding:10px;border-left:4px solid #36788e;background:#e8f4f8}
.bt-diagonal-triangle .bt-pascal{margin:12px 0}
.bt-diagonal-triangle .bt-pascal-row{min-width:0}
.bt-diagonal-triangle .bt-pascal-cell.bt-diagonal-pending{border:2px dashed #8cabb8;border-radius:7px}
.bt-diagonal-triangle .bt-pascal-cell.bt-diagonal.is-selected{background:#24647b;color:#fff;border-radius:7px}
