.method-presentation .mm-player {
  --mm-line: #d2d8c9;
  --mm-dark: #254435;
  --mm-accent: #985337;
  --mm-paper: #f8f9f1;
  min-width: 0;
  align-self: start;
  color: #23392d;
  border: 1px solid var(--mm-line);
  border-radius: 8px;
  background: #fffefa;
  overflow: hidden;
}
.mm-player [hidden] { display: none !important; }
.mm-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 9px 14px;
  border-bottom: 1px solid var(--mm-line);
}
.mm-modes { display: inline-flex; padding: 2px; border: 1px solid var(--mm-line); border-radius: 5px; gap: 2px; }
.mm-player button { font: inherit; color: inherit; cursor: pointer; }
.mm-modes .mm-mode, .mm-playback {
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 3px; background: transparent;
  min-height: 32px; font-size: .88rem; font-weight: 550; line-height: 1.2;
  padding: 5px 11px;
}
.mm-modes .mm-mode[aria-pressed="true"] { background: var(--mm-dark); color: #fff; }
.mm-mode[aria-pressed="false"]:hover, .mm-playback:hover { background: #eaf0e4; }
.mm-player :is(button,a):focus-visible { outline: 2px solid var(--mm-accent); outline-offset: -2px; }
.mm-playback { gap: 8px; color: var(--mm-dark); }
.mm-transport { display: inline-flex; align-items: center; gap: .28rem; margin-inline-start: auto; }
.mm-speed {
  min-height: 32px; padding: 2px 19px 2px 6px; border: 0; border-radius: 3px;
  appearance: none; color: var(--mm-dark); font: 550 .84rem var(--sans, sans-serif);
  font-variant-numeric: tabular-nums; cursor: pointer;
  background: linear-gradient(45deg, transparent 49%, currentColor 50%) right 11px center / 4px 4px no-repeat,
              linear-gradient(135deg, currentColor 49%, transparent 50%) right 7px center / 4px 4px no-repeat;
}
.mm-speed:hover { background-color: #eaf0e4; }
.mm-speed:focus-visible { outline: 2px solid var(--mm-accent); outline-offset: -2px; }
.mm-play-icon { display: inline-block; width: 0; height: 0; border-block: 5px solid transparent; border-left: 8px solid currentColor; }
.mm-playback[data-action="pause"] .mm-play-icon { width: 9px; height: 11px; border: 0; border-inline: 3px solid currentColor; }
.mm-view { min-width: 0; overflow: hidden; background: var(--mm-paper); }
.mm-steps {
  display: flex; flex-wrap: wrap; align-items: stretch; gap: 2px;
  border-top: 1px solid var(--mm-line);
  padding: 8px 12px 0;
}
.mm-steps .mm-step {
  display: inline-flex; align-items: center; justify-content: flex-start; gap: 7px;
  padding: 5px 9px; min-height: 32px; border: 1px solid transparent; border-radius: 4px;
  font-size: .86rem; font-weight: 500; line-height: 1.28; color: #4d5c50; background: transparent;
}
.mm-step:hover { background: #f0f4e9; }
.mm-step[aria-pressed="true"] { border-color: #d5ddcf; background: #ecf1e6; color: var(--mm-dark); font-weight: 650; }
.mm-step-number {
  width: 1.2rem; height: 1.2rem; flex: none; display: inline-grid; place-items: center;
  border: 1px solid #b7c2b0; border-radius: 50%; font: 550 .74rem/1 var(--sans,sans-serif);
  font-variant-numeric: tabular-nums;
}
.mm-step[aria-pressed="true"] .mm-step-number { color: #fff; background: var(--mm-dark); border-color: var(--mm-dark); }
.method-presentation .mm-description { margin: 6px 0 0; padding: 0 20px 14px; line-height: 1.52; font-size: .95rem; color: #3a4e40; }
.method-presentation .mm-original .mp-wide-diagram,
.method-presentation .mm-original .mp-mobile-diagram,
.method-presentation .mm-original .mp-concept-image { border: 0; border-radius: 0; }
@media(max-width:600px) {
  .mm-toolbar { padding: 7px 10px; }
  .mm-steps { padding: 8px 7px 0; }
  .mm-steps .mm-step { font-size: .83rem; padding: 4px 6px; gap: 5px; }
  .method-presentation .mm-description { padding: 0 12px 12px; }
}
@media(prefers-reduced-motion:reduce) {
  .mm-player *, .mm-player *::before, .mm-player *::after { animation-duration: 0s !important; transition: none !important; }
}
@media print {
  .mm-player .mm-toolbar, .mm-player .mm-animation { display: none !important; }
  .mm-player .mm-original[hidden] { display: block !important; }
}


.spx-pipeline {
  --spx-paper: #faf9f2;
  --spx-rule: #d8ddcf;
  --spx-ink: #293a31;
  --spx-muted: #58665b;
  color: var(--spx-ink);
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr);
  align-items: stretch;
  gap: clamp(.6rem, 1.5vw, 1.2rem);
  width: 100%;
  min-width: 0;
  font: 500 .95rem/1.4 var(--sans, system-ui, sans-serif);
}
.spx-scene, .spx-readouts {
  min-width: 0;
  padding: clamp(.7rem, 1.4vw, 1.1rem);
  border-radius: .44rem;
  background: var(--spx-paper);
  border: 1px solid var(--spx-rule);
}
.spx-scene { display: flex; flex-direction: column; }
.spx-readouts { display: flex; align-items: stretch; background: #f2f3e9; }
.spx-readout { width: 100%; min-width: 0; display: flex; flex-direction: column; }
.spx-readout[hidden] { display: none; }
.spx-fig-head, .spx-footlabel, .spx-block-legend,
.spx-member-legend, .spx-block-legend>span, .spx-matrix-key>div, .spx-member-legend>div {
  display: flex; align-items: center;
}
.spx-fig-head {
  flex-wrap: wrap; justify-content: space-between; gap: .25rem .5rem;
  min-height: 1.35rem;
  font: 650 .94rem/1.3 var(--sans, system-ui, sans-serif);
}
.spx-count-label { color: var(--spx-muted); font: 500 .8rem/1.3 var(--sans, system-ui, sans-serif); }
.spx-cloud { display: block; width: 100%; height: auto; max-height: 242px; flex: 1 1 auto; min-height: 0; }
.spx-block-legend { justify-content: flex-start; gap: .75rem 1.1rem; flex-wrap: wrap; }
.spx-block-legend>span { gap: .32rem; font-size: .82rem; color: var(--spx-muted); }
.spx-block-legend i { height: .55rem; width: .55rem; border-radius: 50%; background: var(--tone); }
.spx-primitive {
  opacity: 1;
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity .65s ease, transform .8s cubic-bezier(.22,.68,.24,1);
}
.spx-boundary { stroke-width: 1.05; transition: stroke-width .35s ease; }
.spx-ghost-outline, .spx-local-quota { display: none; }
.spx-quota-id, .spx-quota-value { font: 700 17px system-ui,sans-serif; }
.spx-quota-value { fill: #263a32; font-variant-numeric: tabular-nums; }
.spx-pipeline[data-step="2"] .spx-block-id { display: none; }
.spx-pipeline[data-step="2"] .spx-local-quota { display: inline; }
.spx-pipeline[data-step="2"] .spx-local-quota rect { animation: spx-quota-in .45s ease-out backwards; }
.spx-rays { opacity: 0; transition: opacity .35s ease; pointer-events: none; }
.spx-pipeline[data-step="0"] .spx-boundary { animation: spx-outline .8s ease-out both; }
.spx-pipeline[data-step="0"] .spx-primitive { animation: spx-group-in .55s calc(var(--i) * .025s) ease-out backwards; }
.spx-pipeline[data-step="1"] .spx-rays { opacity: .96; }
.spx-pipeline[data-step="1"] .spx-rays>path { animation: spx-trace .85s ease-out both; }
.spx-pipeline[data-step="1"] .spx-measured .spx-boundary { stroke-width: 2.25; stroke-dasharray: 5 3; }
.spx-pipeline[data-step="3"] .spx-cut,
.spx-pipeline[data-step="4"] .spx-cut { opacity: .23; }
.spx-pipeline:is([data-step="3"],[data-step="4"]) .spx-cut .spx-ghost-outline { display: inline; }
.spx-pipeline .spx-kept { opacity: 1; }
.spx-pipeline[data-step="4"] .spx-kept { transform: translate(var(--dx),var(--dy)) rotate(var(--twist)) scale(1.06,.96); }
.spx-allocation, .spx-retention-key { display: none; }
.spx-pipeline:is([data-step="2"],[data-step="3"],[data-step="4"]) .spx-block-legend { display: none; }
.spx-pipeline[data-step="2"] .spx-allocation { display: grid; gap: .25rem; }
.spx-allocation-heading, .spx-retention-key, .spx-retention-key>span { align-items: center; }
.spx-allocation-heading {
  display: flex; justify-content: space-between; gap: .5rem;
  color: var(--spx-muted); font-size: .82rem;
}
.spx-allocation-heading b { color: var(--spx-ink); font-family: var(--mono, monospace); }
.spx-allocation-ribbon { display: flex; gap: .18rem; overflow: hidden; border-radius: .2rem; }
.spx-allocation-ribbon span {
  flex: var(--new) 1 0; min-width: 0; padding: .18rem 0;
  text-align: center; white-space: nowrap; background: var(--tone); color: #fff;
  font: 650 .8rem/1.25 var(--sans, system-ui, sans-serif);
  animation: spx-redistribute .7s cubic-bezier(.27,.65,.28,1) both;
}
.spx-allocation-ribbon span:nth-child(2) { color: #302310; }
.spx-pipeline:is([data-step="3"],[data-step="4"]) .spx-retention-key {
  display: flex; flex-wrap: wrap; gap: .32rem 1.25rem; color: var(--spx-muted); font-size: .82rem;
}
.spx-retention-key>span { display: inline-flex; gap: .4rem; }
.spx-retention-key i { display: inline-block; width: 1.03rem; height: .53rem; border-radius: 50%; transform: rotate(-22deg); }
.spx-solid-sample { background: #5264a2; }
.spx-ghost-sample { background: #e1deeb; border: 1px dashed #9b99b1; }
.spx-body { display: flex; flex-direction: column; justify-content: center; flex: 1; padding-top: .65rem; gap: .7rem; min-width: 0; }
.spx-block-list { display: grid; gap: .5rem; }
.spx-group-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .7rem; }
.spx-group-row>b:last-child, .spx-count>b { font: 600 .94rem/1 var(--mono, monospace); }
.spx-block-token {
  width: 1.65rem; height: 1.5rem; display: inline-grid; place-items: center;
  font: 700 .84rem/1 var(--mono, monospace); border-radius: .28rem;
  background: color-mix(in srgb, var(--tone) 13%, #fffdf7);
  color: color-mix(in srgb, var(--tone) 66%, #172e26);
  border: 1px solid color-mix(in srgb, var(--tone) 55%, #eee);
}
.spx-dotline { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); align-items: center; gap: .23rem; }
.spx-dotline i { display: block; height: .83rem; background: #e0e3d8; border-radius: .16rem; }
.spx-dotline i.spx-on { background: var(--tone); }
.spx-enter-dots i.spx-on { animation: spx-fill .55s calc(var(--i) * .05s) ease-out backwards; transform-origin: left; }
.spx-footlabel {
  border-top: 1px solid #d1d7ca; padding-top: .58rem;
  justify-content: space-between; gap: .5rem; flex-wrap: wrap; color: var(--spx-muted);
  font-size: .84rem;
}
.spx-footlabel>span:last-child { color: #394e42; font: 650 .92rem/1.2 var(--mono, monospace); }
.spx-response { display: grid; grid-template-columns: minmax(140px, 1.35fr) minmax(96px, 1fr); gap: .65rem; align-items: center; }
.spx-grid {
  display: grid; justify-self: center; width: min(100%, 222px); aspect-ratio: 1;
  grid-template: repeat(7,minmax(0,1fr)) / repeat(7,minmax(0,1fr)); gap: 2px;
}
.spx-axis { display: grid; place-content: center; font: 600 .76rem/1 var(--mono, monospace); color: #34473a; }
.spx-grid .spx-cell {
  appearance: none; position: relative; min-width: 0; min-height: 0; padding: 0; border: 0;
  background: var(--cell, #879d89); border-radius: 2px; cursor: pointer;
  animation: spx-cell-in .52s calc(var(--i) * .028s) ease backwards;
}
.spx-grid .spx-cell:is(:hover,:focus-visible,[aria-pressed="true"])::after {
  content: ''; position: absolute; inset: 1px; border: 2px solid #1e372c; border-radius: 2px;
  box-shadow: inset 0 0 0 1.5px #fffdf5; pointer-events: none;
}
.spx-grid .spx-cell[aria-pressed="true"]::before {
  content: ''; position: absolute; inset: 34%; background: #233e30; border: 1px solid #fffdf5; border-radius: 50%;
}
.spx-cell.spx-diag { box-shadow: inset 0 0 0 1.75px #304b3f; }
.spx-matrix-key { display: grid; gap: .35rem; min-width: 0; }
.spx-matrix-key>strong { font: 600 clamp(1rem,1.45vw,1.28rem)/1.2 var(--serif, Georgia, serif); }
.spx-matrix-key>span { font-size: .82rem; color: var(--spx-muted); margin-bottom: .12rem; }
.spx-matrix-key>div,.spx-member-legend>div { gap: .4rem; font-size: .82rem; color: var(--spx-muted); line-height: 1.25; }
.spx-square { display: inline-block; flex: 0 0 .72rem; width: .72rem; height: .72rem; border-radius: .08rem; }
.spx-diag-key { border: 2px solid #304b3f; background: #f2f5eb; }
.spx-pos-key { background: #548171; }
.spx-neg-key { background: #b76d48; }
.spx-amber-key { background: #cd9134; }
.spx-cut-key { border: 1.5px dashed #777f70; background: transparent; }
.spx-quotas {
  display: grid; grid-template-columns: 1.65rem minmax(0,1fr) minmax(0,1fr);
  align-items: center; column-gap: .58rem; row-gap: .55rem;
}
.spx-quotas>span:nth-child(2), .spx-quotas>span:nth-child(3) { color: var(--spx-muted); font-size: .8rem; }
.spx-count { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: .35rem; align-items: center; }
.spx-count .spx-dotline { gap: 2px; }
.spx-count .spx-dotline i { height: .8rem; }
.spx-members { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: .28rem; }
.spx-member { display: grid; justify-items: center; gap: .5rem; }
.spx-member b { font: 600 .88rem/1 var(--mono, monospace); }
.spx-member-shape { width: min(100%, 40px); aspect-ratio: 1.7; border-radius: 50%; transform: rotate(-28deg); }
.spx-member-kept .spx-member-shape { background: radial-gradient(ellipse at 30% 25%,#ffd2ad 0,#e5bc73 27%,#d6a458 55%,#af7945 84%,#eddac4 100%); }
.spx-member-removed { color: #687263; }
.spx-member-removed .spx-member-shape {
  border: 1px dashed #b5a994;
  background: radial-gradient(ellipse at 30% 25%, #faf5ea 0, #f1e9d9 43%, #e8ddca 82%, #f3eee4 100%);
  animation: spx-deselect .6s calc(var(--i) * .035s) ease both;
}
.spx-member-legend { gap: .6rem 1.3rem; flex-wrap: wrap; }
.spx-refine { display: grid; grid-template-columns: minmax(90px,1.1fr) minmax(95px,1fr); align-items: center; gap: .5rem; }
.spx-refine>svg { width: 100%; height: auto; max-height: 123px; }
.spx-update-ellipse { transform-box: fill-box; transform-origin: center; animation: spx-refine .85s ease-out both; }
.spx-splat-button { cursor: pointer; outline: none; touch-action: manipulation; }
.spx-hit-area { pointer-events: all; }
.spx-splat-button:hover .spx-hit-area { stroke: #506755; stroke-width: .9; }
.spx-splat-button:focus-visible .spx-hit-area { fill: none; stroke: #263c31; stroke-width: 1.4; stroke-dasharray: 2 3; }
.spx-boundary, .spx-block-id, .spx-local-quota, .spx-rings { pointer-events: none; }
.spx-ring { display: none; }
.spx-ring[data-active="true"] { display: inline; }
.spx-ring-outer { stroke: #fffdf4; stroke-width: 4.4px; }
.spx-ring-inner { stroke: #20392e; stroke-width: 2.15px; }
.spx-ring[data-secondary="true"] .spx-ring-inner { stroke-dasharray: 4.5 2.5; }
.spx-ring-motion { transform-box: fill-box; transform-origin: center; transition: transform .8s cubic-bezier(.22,.68,.24,1); }
.spx-pipeline[data-step="4"] .spx-ring-survivor { transform: translate(var(--dx),var(--dy)) rotate(var(--twist)) scale(1.06,.96); }
.spx-inspector { border-top: 1px solid var(--spx-rule); margin-top: .6rem; padding-top: .55rem; color: #263b30; }
.spx-inspector-tools, .spx-inspector-label, .spx-record, .spx-matrix-inputs, .spx-matrix-detail {
  display: flex; align-items: center; flex-wrap: wrap; gap: .35rem .55rem;
}
.spx-inspector-tools { justify-content: space-between; }
.spx-inspector-label, .spx-matrix-inputs label { font: 600 .875rem/1.3 var(--sans, sans-serif); color: #314536; }
.spx-pipeline select {
  max-width: 100%; min-height: 2.22rem; margin: 0; padding: .22rem .4rem;
  font: 550 .875rem/1.2 var(--sans, sans-serif); color: #213a2d;
  border: 1px solid #a7b5a4; border-radius: .27rem; background: #fffef9; cursor: pointer;
}
.spx-pipeline .spx-inspector-clear {
  min-height: 2.22rem; margin: 0; padding: .25rem .42rem; border: 0; border-radius: .2rem;
  background: transparent; color: #354e3f; text-decoration: underline; text-underline-offset: .18em;
  font: 550 .85rem/1.2 var(--sans, sans-serif); cursor: pointer;
}
.spx-pipeline .spx-inspector-clear[aria-disabled="true"] { color: #566257; cursor: default; text-decoration: none; }
.spx-pipeline :is(select,.spx-inspector-clear):focus-visible { outline: 2px solid #425e45; outline-offset: 2px; }
.spx-inspector-readout, .spx-matrix-detail { margin-top: .35rem; color: #374b3c; font: 450 .875rem/1.4 var(--sans, sans-serif); }
.spx-record { column-gap: .5rem; row-gap: .1rem; }
.spx-record+.spx-record { margin-top: .3rem; padding-top: .28rem; border-top: 1px dotted #c7d0c0; }
.spx-record-id, .spx-entry-value, .spx-diagonal-value strong {
  color: #213e2e; font: 650 .91rem/1.3 var(--mono, monospace); font-variant-numeric: tabular-nums;
}
.spx-stage-status { color: #354a3a; }
.spx-matrix-inputs { gap: .35rem .55rem; }
.spx-matrix-inputs label { display: inline-flex; align-items: center; gap: .28rem; }
.spx-matrix-detail { border-top: 1px solid var(--spx-rule); margin: 0; padding-top: .42rem; }
.spx-matrix-detail strong { color: #283d30; }
@keyframes spx-outline { from { opacity: 0; stroke-dashoffset: 30; } to { opacity: 1; stroke-dashoffset: 0; } }
@keyframes spx-group-in { from { transform: translate(var(--dx),var(--dy)); } to { transform: none; } }
@keyframes spx-quota-in { from { opacity: .15; } to { opacity: 1; } }
@keyframes spx-redistribute { from { flex-grow: var(--old); } to { flex-grow: var(--new); } }
@keyframes spx-trace { from { stroke-dashoffset: 36; opacity: .1; } to { stroke-dashoffset: 0; opacity: 1; } }
@keyframes spx-fill { from { transform: scaleX(.14); opacity: .15; } to { transform: scaleX(1); opacity: 1; } }
@keyframes spx-cell-in { from { transform: scale(.7); opacity: .22; } to { transform: scale(1); opacity: 1; } }
@keyframes spx-deselect { from { border-style: solid; background: #d6a458; } to { background: #f6f6ed; } }
@keyframes spx-refine { from { transform: translate(-18px,18px) rotate(13deg) scale(.88,1.13); } to { transform: none; } }
@media (max-width: 740px) {
  .spx-pipeline { grid-template-columns: minmax(0,1fr); gap: .55rem; }
  .spx-cloud { max-height: 172px; }
  .spx-readouts { min-height: 155px; }
  .spx-block-list { gap: .4rem; }
  .spx-body { padding-top: .55rem; gap: .5rem; }
  .spx-response { grid-template-columns: minmax(142px,1.32fr) minmax(88px,1fr); }
  .spx-grid { max-width: 195px; }
  .spx-footlabel { padding-top: .45rem; }
}
@media (prefers-reduced-motion: reduce) {
  .spx-pipeline *, .spx-pipeline *::before, .spx-pipeline *::after { animation: none!important; transition: none!important; }
}


.quota-motion {
  --quota-ink: #294438;
  --quota-rule: #c6c9b8;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding: 3.1% 4.5% 1.5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--quota-ink);
  background: #f3f2e9;
  overflow: hidden;
  font-family: var(--sans, system-ui, sans-serif);
}
.quota-motion *, .quota-motion *::after { box-sizing: border-box; }
.quota-motion__space {
  flex: 0 0 auto;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 530 / 193;
  overflow: visible;
}
.quota-motion__ground { fill: #e6e8db; fill-opacity: .74; }
.quota-motion__guide, .quota-motion__partition, .quota-motion__leader,
.quota-motion__sight, .quota-motion__camera {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.quota-motion__guide { stroke: #b8c2ad; stroke-width: 1; }
.quota-motion__partition { stroke: #9ca993; stroke-width: 1.5; stroke-dasharray: 4 5; }
.quota-motion__leader { stroke: #8f9b85; stroke-width: 1.4; }
.quota-motion__sight, .quota-motion__camera { stroke: #6b7868; stroke-width: 2; }
.quota-motion__block-letter {
  font: 600 19px var(--serif, Georgia, serif);
  text-anchor: middle;
  dominant-baseline: central;
}
.quota-motion__depth { font: 500 18px var(--sans, system-ui, sans-serif); fill: #546452; }
.quota-motion__splat { opacity: 1; transition: opacity .65s ease, filter .65s ease; }
.quota-motion__splat[data-kept="false"] { opacity: .18; filter: grayscale(1); }
.quota-motion__status-key { transition: opacity .3s ease; }
.quota-motion[data-step="0"] .quota-motion__status-key { opacity: 0; }
.quota-motion__key-label { font: 500 16px var(--sans, system-ui, sans-serif); fill: #495749; }
.quota-motion__budget {
  flex: 0 0 auto;
  margin-top: 1.6%;
  padding-top: 2.3%;
  border-top: 1px solid var(--quota-rule);
}
.quota-motion__budget-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .65em;
  margin-bottom: .5em;
  font-size: clamp(.76rem,1vw,.93rem);
  line-height: 1.15;
  font-weight: 600;
}
.quota-motion__total { font-family: var(--serif, Georgia, serif); font-style: italic; }
.quota-motion__band {
  position: relative;
  display: flex;
  width: 100%;
  height: clamp(23px,2.2vw,30px);
  border-radius: 4px;
  background: #e4e7da;
  box-shadow: inset 0 0 0 1px #aab49d;
  overflow: hidden;
}
.quota-motion__unassigned {
  position: absolute;
  inset: 0;
  padding-left: .7em;
  display: flex;
  align-items: center;
  color: #5a6958;
  background: repeating-linear-gradient(-45deg,transparent 0 5px,#6f806817 5px 6px);
  font-size: clamp(.7rem,.9vw,.82rem);
  font-weight: 500;
  transition: opacity .35s ease;
}
.quota-motion:not([data-step="0"]):not([data-empty="true"]) .quota-motion__unassigned { opacity: 0; pointer-events: none; }
.quota-motion__share {
  position: relative;
  display: grid;
  place-items: center;
  height: 100%;
  min-width: 0;
  overflow: hidden;
  color: var(--region-ink);
  background-color: var(--region-color);
  font: 600 clamp(.77rem,1.1vw,.98rem)/1 var(--serif, Georgia, serif);
  transition: width 1s cubic-bezier(.22,.68,.28,1);
}
.quota-motion__share--visible + .quota-motion__share--visible::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: #f3f2e9;
}
.quota-motion__share--narrow { color: transparent; }
.quota-motion__comparison {
  display: grid;
  grid-template-columns: auto repeat(3,minmax(0,1fr));
  gap: .55em;
  align-items: center;
  margin: .55em 0 .68em;
  font: 540 clamp(.72rem,.85vw,.82rem)/1.3 var(--sans,system-ui,sans-serif);
  font-variant-numeric: tabular-nums;
}
.quota-motion__comparison > :first-child { color: #4e5d50; }
.quota-motion__counts { white-space: nowrap; }
.quota-motion__counts::before {
  content: ""; display: inline-block; width: .48em; height: .48em; margin-right: .32em;
  border-radius: 50%; vertical-align: .09em; background: var(--region-color);
}
.quota-motion__controls {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr)) auto;
  align-items: center;
  gap: clamp(9px,1.4vw,20px);
  border-top: 1px solid var(--quota-rule);
  padding-top: .65rem;
}
.quota-motion__field {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: baseline;
  gap: 0 .25em;
  color: var(--quota-ink);
  font: 590 clamp(.74rem,.95vw,.88rem)/1.2 var(--sans,system-ui,sans-serif);
}
.quota-motion__field output { font-variant-numeric: tabular-nums; }
.quota-motion__field input[type="range"] {
  grid-column: 1 / -1;
  display: block;
  width: 100%; min-width: 0; height: 32px;
  padding: 0; margin: 0;
  accent-color: #356150;
  cursor: pointer;
}
.quota-motion__field input:focus-visible { outline: 2px solid #8a4d31; outline-offset: 1px; border-radius: 3px; }
.method-presentation .quota-motion__reset {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; padding: .4em .72em; border: 1px solid #aeb8a5; border-radius: 5px;
  background: transparent; color: #344d3c; font: 560 clamp(.75rem,.9vw,.84rem)/1.1 var(--sans,system-ui,sans-serif);
}
.method-presentation .quota-motion__reset:hover { background: #e4eadc; }
.quota-motion:focus-within :is(.quota-motion__splat,.quota-motion__share) { transition-duration: .12s; }
@media (prefers-reduced-motion: reduce) {
  .quota-motion__splat, .quota-motion__share, .quota-motion__status-key, .quota-motion__unassigned { transition: none; }
}


.mp-pair-view {
  container-type: inline-size;
  min-width: 0;
}
.mp-pair-canvas {
  --pair-bg: #f8f8ef;
  --pair-ink: #284637;
  --pair-muted: #526754;
  --pair-edge: #9aa99a;
  --pair-delete: #98442b;
  --pair-kept-fill: #b5e9c8;
  --pair-kept-outline: #5b9d6d;
  --pair-removed-fill: #fbe3d6;
  --pair-removed-outline: #df9769;
  --pair-cross: #a64050;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: center;
  gap: 3.1%;
  width: 100%;
  min-width: 0;
  aspect-ratio: 1.72;
  padding: 3.2% 3.4%;
  background: var(--pair-bg);
  color: var(--pair-ink);
  font-family: var(--sans,system-ui,sans-serif);
  font-variant-numeric: tabular-nums;
}
.mp-pair-plot, .mp-pair-ledger { min-width: 0; }
.mp-pair-kicker {
  display: block;
  margin: 0;
  color: var(--pair-muted);
  font-size: clamp(.75rem, 2.8cqw, .91rem);
  font-weight: 590;
  line-height: 1.3;
}
.mp-pair-plot > .mp-pair-kicker { margin-left: 2.5%; }
.mp-pair-graph {
  display: block;
  width: 100%;
  height: auto;
  margin-top: .15rem;
  overflow: visible;
  font-family: var(--sans,system-ui,sans-serif);
}
.mp-pair-edges, .mp-pair-edge-values { transition: opacity 440ms ease; }
.mp-pair-canvas[data-frame="0"] :is(.mp-pair-edges,.mp-pair-edge-values) { opacity: 0; }
.mp-pair-edge { stroke: var(--pair-edge); stroke-width: 1.5; transition: stroke .36s, stroke-width .36s; }
.mp-pair-edge-value rect { fill: var(--pair-bg); }
.mp-pair-edge-value text { fill: #435e4d; font: 550 14.6px var(--sans,system-ui,sans-serif); }
.mp-pair-edge.is-active { stroke: var(--pair-delete); stroke-width: 3.7; }
.mp-pair-edge-value.is-active :is(text) { fill: var(--pair-delete); font-weight: 760; }
.mp-pair-canvas[data-frame="2"] .mp-pair-edge.is-active { stroke: #286246; }
.mp-pair-canvas[data-frame="2"] .mp-pair-edge-value.is-active text { fill: #1b603e; }
.mp-pair-node-disc { fill: #edf0e9; stroke: #8b9589; stroke-width: 1.7; transition: fill .38s ease, stroke .38s ease; }
.mp-pair-node.is-kept .mp-pair-node-disc { fill: var(--pair-kept-fill); stroke: var(--pair-kept-outline); }
.mp-pair-node.is-deleted .mp-pair-node-disc { fill: var(--pair-removed-fill); stroke: var(--pair-removed-outline); stroke-width: 2; }
.mp-pair-letter { fill: #1f3029; font: 640 20px var(--serif,Georgia,serif); }
.mp-pair-score { fill: #293c31; font: 550 14px var(--sans,system-ui,sans-serif); }
.mp-pair-node.is-deleted :is(.mp-pair-letter,.mp-pair-score) { fill: #3e322f; }
.mp-pair-cross { opacity: 0; transition: opacity .34s; }
.mp-pair-node.is-deleted .mp-pair-cross { opacity: 1; }
.mp-pair-cross circle { fill: #f8e9e6; stroke: var(--pair-cross); stroke-width: 1.25; }
.mp-pair-cross path { fill: none; stroke: var(--pair-cross); stroke-width: 1.8; stroke-linecap: round; }
.mp-pair-key { display: flex; justify-content: center; flex-wrap: wrap; gap: .2rem .8rem; margin-top: .1rem; }
.mp-pair-key-item { display: inline-flex; align-items: center; gap: .26rem; color: #314337; font: 520 clamp(.7rem,2.45cqw,.8rem)/1.2 var(--sans,system-ui,sans-serif); }
.mp-pair-key-item i { display: inline-grid; place-items: center; width: 1.05em; height: 1.05em; border: 1px solid; border-radius: 50%; font: 700 1em/1 var(--sans,system-ui,sans-serif); }
.mp-pair-key-kept { color: var(--pair-kept-outline); background: var(--pair-kept-fill); }
.mp-pair-key-item .mp-pair-key-removed { color: var(--pair-cross); background: var(--pair-removed-fill); border-color: var(--pair-removed-outline); }
.mp-pair-ledger {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-left: clamp(.65rem,3.2cqw,1.2rem);
  border-left: 1px solid #c5cebf;
}
.mp-pair-chosen {
  display: block;
  color: var(--pair-delete);
  margin: .16em 0 .44em;
  font: 510 clamp(1.3rem,5cqw,1.8rem)/1.1 var(--serif,Georgia,serif);
  white-space: nowrap;
}
.mp-pair-cost-kind { margin-top: .06rem; }
.mp-pair-calculation { display: block; margin-top: .3rem; color: #3a463b; font-size: clamp(.81rem,3.15cqw,1.02rem); line-height: 1.4; white-space: nowrap; }
.mp-pair-total {
  display: block;
  color: var(--pair-delete);
  margin: .12rem 0 0;
  font: 520 clamp(1.6rem,7.6cqw,2.65rem)/1.08 var(--serif,Georgia,serif);
  letter-spacing: -.04em;
}
.mp-pair-canvas[data-frame="2"] .mp-pair-total { color: #205b3e; }
@media(prefers-reduced-motion: reduce) {
  .mp-pair-canvas * { transition-duration: 0s; }
}

/* The graph doubles as a four-button input. A single pick is provisional until its partner is chosen. */
.mp-pair-view [hidden] { display: none !important; }
.mp-pair-node { cursor: pointer; outline: none; -webkit-tap-highlight-color: transparent; }
.mp-pair-node .mp-pair-hit {
  fill: transparent;
  stroke: transparent;
  stroke-width: 2.2;
  pointer-events: all;
}
.mp-pair-node:hover .mp-pair-node-disc { stroke-width: 2.9; }
.mp-pair-node:focus-visible .mp-pair-hit { stroke: #285b4a; stroke-dasharray: 4 2; }
.mp-pair-node.is-pending .mp-pair-node-disc {
  fill: var(--pair-removed-fill);
  stroke: var(--pair-delete);
  stroke-width: 2.6;
  stroke-dasharray: 4 2;
}
.mp-pair-canvas[data-pending="true"] .mp-pair-key-kept {
  color: #8b9589;
  background: #edf0e9;
}
.mp-pair-canvas[data-best="true"] .mp-pair-edge.is-active { stroke: #286246; }
.mp-pair-canvas[data-best="true"] .mp-pair-edge-value.is-active text,
.mp-pair-canvas[data-best="true"] .mp-pair-total { color: #205b3e; fill: #205b3e; }
.mp-pair-cost-model {
  display: block;
  margin-top: .25rem;
  color: #536456;
  font: 500 clamp(.72rem, 2.4cqw, .82rem)/1.2 var(--serif,Georgia,serif);
}
.mp-pair-gap {
  margin-top: .28rem;
  color: #4e5d50;
  font-size: clamp(.72rem, 2.48cqw, .83rem);
  line-height: 1.3;
}
.mp-pair-canvas[data-best="true"] .mp-pair-gap { color: #245d40; }
.mp-pair-view .mp-pair-lab {
  background: #fafaf4;
  border-top: 1px solid #d9ded1;
  color: #284637;
  padding: .45rem clamp(.65rem, 2.8cqw, 1rem) .35rem;
  font: 450 .89rem/1.45 var(--sans,system-ui,sans-serif);
}
.mp-pair-view .mp-pair-hint {
  margin: 0;
  color: #374f40;
  font-size: .86rem;
  line-height: 1.43;
}
.mp-pair-actions { display: flex; flex-wrap: wrap; gap: .35rem .5rem; margin: .35rem 0 .15rem; }
.mp-pair-view .mp-pair-actions button,
.mp-pair-view .mp-pair-rank-button {
  appearance: none;
  border: 1px solid #9eaf9e;
  border-radius: 3px;
  padding: .25rem .48rem;
  min-height: 2rem;
  color: #2c503b;
  background: #f4f6ed;
  font: 580 .84rem/1.2 var(--sans,system-ui,sans-serif);
  cursor: pointer;
}
.mp-pair-view .mp-pair-actions button:disabled { opacity: .5; cursor: default; }
.mp-pair-view .mp-pair-actions button:enabled:hover,
.mp-pair-view .mp-pair-rank-button:hover { background: #e4eedf; }
.mp-pair-ranking { margin: .22rem 0 0; }
.mp-pair-ranking > summary {
  display: list-item;
  color: #455c48;
  cursor: pointer;
  padding: .37rem .05rem;
  font-size: .83rem;
  font-weight: 610;
  line-height: 1.4;
}
.mp-pair-ranking table {
  width: 100%;
  margin: .08rem 0 .4rem;
  border-collapse: collapse;
  border: 0;
  font: 450 .85rem/1.32 var(--sans,system-ui,sans-serif);
  font-variant-numeric: tabular-nums;
}
.mp-pair-ranking caption { text-align: left; margin: 0; padding: .28rem 0 .38rem; color: #515e50; font-size: .81rem; }
.mp-pair-ranking :is(td, th) { border: 0; border-bottom: 1px solid #dee1d5; padding: .22rem .37rem; text-align: right; }
.mp-pair-ranking tr > :first-child { text-align: left; }
.mp-pair-ranking thead th { background: #ecefe5; font-size: .77rem; font-weight: 620; color: #48584a; }
.mp-pair-ranking tbody tr { cursor: pointer; }
.mp-pair-ranking tbody tr:hover > * { background: #f0f3e9; }
.mp-pair-ranking tbody tr.is-chosen > * { background: #e7efe0; }
.mp-pair-ranking .mp-pair-rank-button { font-size: .83rem; white-space: nowrap; min-width: 3.55rem; min-height: 1.85rem; }
.mp-pair-ranking .mp-pair-rank-button[aria-pressed="true"] { color: #fff; background: #2b563e; border-color: #2b563e; }
.mp-pair-view :is(button, summary):focus-visible { outline: 2px solid #974b2d; outline-offset: 2px; }
.mp-pair-sr-status { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; white-space: nowrap; clip-path: inset(50%); }
@container (max-width: 22rem) {
  .mp-pair-ranking :is(td,th) { padding: .22rem .21rem; }
  .mp-pair-ranking .mp-pair-rank-button { font-size: .8rem; }
}
