.mf-tech .mf-panel {
    background: var(--brand-card);
    border-color: #363636;
    box-shadow: none;
}
.mf-tech .mf-panel > figcaption { border-color: var(--brand-border); }
.mf-tech .mf-panel figcaption span,
.mf-tech .mf-panel li { background: #141414; }
.mf-tech .mf-panel li { border-color: var(--brand-border); }
.mf-tech .mf-panel-icon,
.mf-tech .mf-icon { background: rgb(0 85 255 / 13%); }
.mf-tech .mf-panel-result { background: #201910; }
.mf-tech .mf-panel-result p, .mf-tech .mf-panel li small { color: #c8c8c8; }

.mf-tech-evidence-card { align-items: stretch; }
.mf-tech-evidence-card h3 { font-size: clamp(1.2rem, 2.3vw, 1.65rem); }
.mf-tech-evidence-card > p { margin-block: .9rem; }
.mf-tech-excerpts,
.mf-tech-sample {
    display: grid;
    align-items: center;
    min-height: 12.5rem;
    gap: .65rem;
    padding: .65rem;
    margin-top: .9rem;
    border: 1px solid var(--brand-border);
    border-radius: .4rem;
    background: #111;
}
.mf-tech-excerpts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mf-tech-excerpts figure { align-self: center; min-width: 0; }
.mf-tech-excerpts img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: .2rem;
}
.mf-tech-excerpts figcaption { margin-top: .3rem; color: #d3d3d3; font-size: .82rem; }
.mf-tech-sample img {
    display: block;
    width: min(100%, 17.5rem);
    height: auto;
    margin-inline: auto;
    border-radius: .2rem;
}
.mf-tech-reference {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .5rem;
    margin-bottom: .65rem;
}
.mf-tech-reference > div {
    border: 1px solid var(--brand-border);
    border-radius: .35rem;
    padding: .5rem .65rem;
}
.mf-tech-reference dt { color: var(--brand-text); font-size: .8rem; }
.mf-tech-reference dd { margin-top: .2rem; font-size: .92rem; font-weight: 600; }
.mf-tech-evidence-card footer {
    border-top: 1px solid var(--brand-border);
    margin-top: auto;
    color: var(--brand-text);
    font-size: .84rem;
}
.mf-tech-evidence-card footer a {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    min-height: 44px;
    text-underline-offset: .2em;
}
.mf-tech-evidence-card footer svg { width: 1rem; height: 1rem; flex: none; }
@media (max-width: 780px) {
    .mf-tech-evidence { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 500px) {
    .mf-tech-excerpts { grid-template-columns: minmax(0, 1fr); }
    .mf-tech-excerpts, .mf-tech-sample { min-height: 0; }
}

.mf-tech-method .mf-tech-category {
    color: var(--mf-green);
    font-size: .82rem;
    font-weight: 600;
    margin: 0 0 .35rem;
}
.mf-tech-method h3 { font-size: clamp(1.3rem, 2.4vw, 1.65rem); font-weight: 600; }
.mf-tech-method > p:not(.mf-tech-category) { max-width: 46ch; }
.mf-tech-method dl {
    width: 100%;
    padding-top: .75rem;
    margin-top: auto;
    border-top: 1px solid var(--brand-border);
    font-size: .94rem;
}
.mf-tech-method dt { font-weight: 600; }
.mf-tech-method dd { margin-top: .2rem; color: var(--brand-text); }
.mf-tech-flow {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.mf-tech-flow li {
    position: relative;
    padding: 1.35rem clamp(.8rem, 2.2vw, 1.6rem);
    border: 1px solid var(--brand-border);
    border-top: 2px solid #3377ff;
    border-radius: .55rem;
    background: var(--brand-card);
}
.mf-tech-flow { gap: 1.65rem; }
.mf-tech-flow li + li::before {
    content: "";
    position: absolute;
    inset-inline-start: -1.2rem;
    top: calc(50% - .28rem);
    width: .56rem;
    height: .56rem;
    border: solid var(--mf-green);
    border-width: 1px 1px 0 0;
    transform: rotate(45deg);
}
.mf-tech-flow h3 { min-width: 0; overflow-wrap: anywhere; hyphens: auto; }
.mf-tech-flow p,
.mf-tech-flow-note p { margin-top: .45rem; }
.mf-tech-flow-note {
    max-width: 50rem;
    padding: .8rem 1rem;
    margin-top: 1rem;
    border-left: 2px solid #3377ff;
    background: rgb(0 85 255 / 8%);
}
@media (max-width: 680px) {
    .mf-tech-flow { grid-template-columns: minmax(0, 1fr); }
    .mf-tech-flow li + li::before {
        inset-inline-start: calc(50% - .28rem);
        top: -1.24rem;
        transform: rotate(135deg);
    }
}
