.mech-eyebrow { margin: 14px 0 0; font-family: var(--pixel); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.mech-eyebrow + .intro { padding: 0; }
.mech-eyebrow + .intro h1 { margin: 12px 0 0; font-size: 26px; line-height: 1.12; font-weight: 800; letter-spacing: -.01em; }
@media (min-width: 900px) { .mech-eyebrow + .intro h1 { font-size: 40px; } }
.mech-eyebrow, .mech-main, .mech-sec--key, .mech-sec--how, .mech-eyebrow + .intro { line-height: 1.45; }
.mech-eyebrow + .intro .mech-lead { margin: 12px 0 0; color: var(--muted); font-size: 16px; line-height: 1.45; max-width: none; }
.mech-f { font-weight: 700; }
.mech-hero { display: block; }
.mech-hero > * { min-width: 0; }
.mech-hero .mech-sec--key { margin-top: 20px; }
@media (min-width: 900px) { .mech-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; align-items: start; } .mech-hero .mech-sec--key { margin-top: 0; } }
.mech-eyebrow + .intro .mech-trustrow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 12px 0 0; max-width: none; }
.mech-trust { display: inline-flex; align-items: center; gap: 6px; min-height: 24px; padding: 0 8px; border: 1px dashed var(--line-2); border-radius: 6px; font-size: 12px; font-weight: 700; color: var(--text); white-space: nowrap; }
.mech-trust::before { content: "◐"; }

.mech-sec { margin: 20px 0 0; }
.mech-sec > h2 { margin: 0; font-size: 18px; line-height: 1.2; font-weight: 800; }
.mech-main .mech-sec > * + *, .mech-sec--how > * + * { margin-top: 12px; }
.mech-sec--key + .mech-main { margin-top: 20px; }
.mech-sec--key { margin-top: 20px; }
.mech-main { display: block; }
.mech-main > .mech-bar + .mech-sec { margin-top: 12px; }
.mech-main [hidden] { display: none !important; }
.mech-fine, .mech-fine-inline { color: var(--dim); font-size: 14px; }
.mech-fine { margin: 0; }
.mech-rowf { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0; }
.mech-stack > * + * { margin-top: 12px; }
.mech-u { display: contents; }
.mech-lnk { display: inline-block; padding: 5px 0; color: var(--text); font-weight: 800; text-decoration: none; background: none; border: 0; font: inherit; font-weight: 800; cursor: pointer; }
.mech-lnk:hover, .mech-lnk:focus-visible { text-decoration: underline; text-underline-offset: 3px; }

.mech-key { margin: 0; padding: 0; border-top: 1px solid var(--line); border-radius: 0; font-size: 16px; line-height: 1.45; list-style: none; display: block; font-variant-numeric: normal; }
.mech-key > li { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 4px 12px; align-items: center; padding: 10px 0; }
.mech-key > li + li { border-top: 1px solid var(--line); }
.mech-key .dx-key__k { max-width: none; white-space: normal; align-self: start; padding-top: 5px; font-family: var(--pixel); font-size: 12px; font-weight: 400; letter-spacing: .05em; text-transform: uppercase; color: var(--dim); }
.mech-key .dx-key__v { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-width: 0; font-size: 14px; }
.mech-key .dx-key__v > .mech-seg { flex-basis: auto; }
.mech-key .dx-key__v > span { min-width: 0; }
@media (max-width: 360px) { .mech-key > li { grid-template-columns: minmax(0, 1fr); gap: 2px; } .mech-key .dx-key__k { padding-top: 0; } }

.mech-bar { display: grid; gap: 12px; }
.mech-tiles { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.mech-tiles--scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-right: 28px; -webkit-mask-image: linear-gradient(90deg, var(--mask-on) calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, var(--mask-on) calc(100% - 28px), transparent); }
.mech-tiles--scroll > * { flex: 0 0 auto; }
.mech-tile { display: inline-flex; align-items: baseline; gap: 6px; min-height: 40px; padding: 8px 12px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface); color: var(--muted); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.mech-tile b { font-family: var(--pixel); font-size: 16px; color: var(--text); }
.mech-tile[aria-pressed="true"] { background: var(--seg-on); border-color: var(--seg-on); color: var(--seg-on-ink); }
.mech-tile[aria-pressed="true"] b { color: var(--seg-on-ink); }
.mech-tile:focus-visible, .mech-open:focus-visible, .mech-x:focus-visible, .mech-sent__go:focus-visible, .mech-btn:focus-visible, .mech-pin:focus-visible, .mech-lnk:focus-visible,
.mech-seg button:focus-visible, .mech-field input:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.mech-open { min-height: 40px; padding: 0 12px; border: 1px solid transparent; border-radius: 10px; background: none; color: var(--muted); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.mech-sent { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 46px; padding: 6px 6px 6px 12px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); font-size: 14px; }
.mech-sent__w { margin: 0; min-width: 0; }
.mech-sent__w b { text-decoration: underline dotted; text-underline-offset: 3px; }
.mech-sent__go { margin-left: auto; flex: none; min-height: 34px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 9px; background: none; color: var(--muted); font: inherit; font-size: 12px; font-weight: 700; white-space: nowrap; cursor: pointer; }
.mech-chips { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.mech-x { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 8px 0 10px; border: 1px solid var(--text); border-radius: 999px; background: none; color: var(--text); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.mech-x::after { content: "×"; font-size: 16px; }

.mech-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); color: var(--text); font: inherit; font-size: 16px; font-weight: 700; text-decoration: none; white-space: nowrap; cursor: pointer; }
.mech-btn--pri { background: var(--red-fill); border-color: var(--red-fill); color: var(--on-fill); }
.mech-btn--wide { width: 100%; white-space: normal; text-align: center; padding-top: 8px; padding-bottom: 8px; }
@media (min-width: 700px) { .mech-btn--wide:not(.mech-btn--pri) { width: auto; min-width: 200px; justify-self: start; align-self: flex-start; } }
.mech-pin { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: none; width: 44px; height: 44px; min-height: 44px; font-weight: 700; padding: 0; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); color: var(--text); text-decoration: none; }
.mech-pin .i { width: 18px; height: 18px; }
.mech-seg { display: inline-flex; flex-wrap: wrap; max-width: 100%; padding: 3px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); }
.mech-seg button { min-height: 38px; padding: 0 13px; border: 0; border-radius: 9px; background: none; color: var(--muted); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.mech-seg button[aria-pressed="true"] { background: var(--seg-on); color: var(--seg-on-ink); }
.mech-seg--col { display: grid; }
.mech-seg--col button { text-align: left; }
.mech-field { display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); }
.mech-field::before { content: "⌕"; font-size: 18px; color: var(--dim); line-height: 1; }
.mech-field input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: 16px; color: var(--text); outline: 0; }
.mech-sheet { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: grid; gap: 12px; max-height: 86dvh; overflow-y: auto; padding: 6px 16px 16px; border: 1px solid var(--line-2); border-radius: 18px 18px 0 0; background: var(--surface); box-shadow: 0 1px 1px var(--shade-12), 0 6px 20px var(--shade-12); }
.mech-sheet h3 { margin: 0; font-size: 16px; font-weight: 700; }
.mech-sheet__grab { width: 40px; height: 4px; border-radius: 2px; background: var(--line-2); margin: 2px auto 4px; }
.mech-scrim { position: fixed; z-index: 59; inset: 0; background: var(--scrim); }
@media (min-width: 900px) {
  .mech-bar { position: relative; }
  .mech-sheet { position: absolute; top: calc(100% + 6px); bottom: auto; right: 0; left: auto; width: min(440px, 100%); border-radius: 14px; box-shadow: 0 10px 28px var(--shade-35); max-height: 70dvh; }
  .mech-sheet__grab { display: none; }
  .mech-scrim { background: transparent; }
}
.mech-sheet .mech-tile, .mech-sheet .mech-seg { margin: 0; }
.mech-sheet .dx-key__v > span { display: flex; flex-wrap: wrap; gap: 6px; }

.mech-empty { display: grid; gap: 8px; justify-items: start; padding: 16px 0; border-top: 1px solid var(--line); }
.mech-empty__l { margin: 0; }
.mech-count { display: flex; align-items: baseline; gap: 8px; margin: 0; padding: 6px 0 2px; font-size: 14px; color: var(--muted); }
.mech-count[hidden], .mech-showmore[hidden] { display: none; }
@media (min-width: 700px) { .mech-count, .mech-showmore { display: none !important; } }
@media (max-width: 699px) and (scripting: enabled) { [data-mech-list]:not(.is-more) [data-late], [data-mech-list]:not(.is-more) > [data-late] { display: none; } }

.mech-rows { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--line); }
.mech-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; min-height: 52px; padding: 8px 0; border-top: 1px solid var(--line); }
.mech-row__w { display: block; min-width: 0; }
.mech-t { display: inline-block; padding: 5px 0 1px; font-weight: 700; font-size: 16px; text-decoration: none; color: var(--text); }
.mech-s { display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; color: var(--muted); font-size: 14px; }
.mech-s a:not([class]) { color: inherit; text-decoration: none; }
.mech-s a:not([class]):hover { text-decoration: underline; }
.mech-owp { display: inline-block; flex: none; width: 32px; height: 40px; background: var(--mech-owp) no-repeat; background-size: 2048px auto; image-rendering: pixelated; }
.mech-owp--none { background: none; }
.mech-more { margin-top: 4px; }
details.mech-more > summary { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; color: var(--text); font-weight: 800; font-size: 14px; cursor: pointer; list-style: none; }
details.mech-more > summary::-webkit-details-marker { display: none; }
details.mech-more > summary::after { content: "▾"; color: var(--dim); }
details.mech-more[open] > summary::after { content: "▴"; }
details.mech-more[open] > summary { margin-bottom: 4px; }
.mech-who { display: flex; align-items: flex-start; gap: 10px; }
.mech-who > :last-child { min-width: 0; flex: 1; }
.mech-who h3 { margin: 0; font-size: 16px; line-height: 1.25; font-weight: 700; }
.mech-countchip { display: inline-flex; align-items: center; gap: 6px; }
.mech-num { font-family: var(--pixel); font-size: 14px; letter-spacing: .02em; }
.mech-chipgrid { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; max-width: 100%; padding: 6px 0; }
.mech-qline { display: grid; gap: 4px; flex: 1 1 100%; }

.mech-arows { border-bottom: 1px solid var(--line); }
.mech-arow { border-top: 1px solid var(--line); }
.mech-arow > summary { display: grid; grid-template-columns: 9px minmax(0, 1fr) 16px; gap: 2px 10px; align-items: center; min-height: 56px; padding: 8px 0; list-style: none; cursor: pointer; }
.mech-arow > summary::-webkit-details-marker { display: none; }
.mech-arow > summary::after { content: "▾"; color: var(--dim); grid-column: 3; grid-row: 1 / span 2; }
.mech-arow[open] > summary::after { content: "▴"; }
.mech-arow > summary .mech-t { grid-column: 2; padding: 0; font-weight: 800; font-size: 16px; }
.mech-arow .mech-row .mech-t { padding: 5px 0 1px; font-weight: 700; }
.mech-arow .mech-a { grid-column: 2; display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; color: var(--muted); font-size: 14px; }
.mech-led { grid-row: 1 / span 2; width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); flex: none; }
.mech-arow[open] > summary .mech-led { background: var(--text); }
.mech-arow__body { padding: 4px 0 16px 19px; }
.mech-arow__body > * + * { margin-top: 12px; }
.mech-arow > summary:focus-visible { outline: 3px solid var(--focus); outline-offset: -2px; }
.mech-sec--how { margin-top: 20px; }
.mech-band2 { display: block; }
.mech-band2 > * { min-width: 0; }
.mech-cols { display: block; border-bottom: 1px solid var(--line); }
.mech-col { min-width: 0; }
.mech-cols .mech-arow:last-child, .mech-cols .mech-col > .mech-arow:last-child { border-bottom: 0; }
@media (min-width: 700px) and (max-width: 899px) { .mech-band2, .mech-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; align-items: start; } .mech-cols { border-bottom: 0; } .mech-col { border-bottom: 1px solid var(--line); } }
@media (min-width: 900px) { .mech-band2, .mech-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; align-items: start; } .mech-cols { border-bottom: 0; } .mech-col { border-bottom: 1px solid var(--line); } }

.mech-steps { margin: 0; padding: 0; list-style: none; counter-reset: st; border-bottom: 1px solid var(--line); }
.mech-step { counter-increment: st; display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 4px 10px; align-items: start; padding: 12px 0; border-top: 1px solid var(--line); }
.mech-step::before { content: counter(st); width: 28px; height: 28px; border-radius: 6px; border: 1px solid var(--line-2); display: grid; place-items: center; font-family: var(--pixel); font-size: 14px; }
.mech-step > div > b { font-size: 16px; font-weight: 700; }
.mech-step .mech-s { margin: 4px 0 0; }
.mech-step__pin { display: inline-flex; align-items: center; gap: 8px; }

.mech-dtw { overflow-x: auto; border-top: 1px solid var(--line); }
.mech-dt { border-collapse: collapse; width: 100%; font-size: 14px; }
.mech-dt th, .mech-dt td { padding: 8px 10px 8px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.mech-dt th { font-family: var(--pixel); font-size: 12px; font-weight: 400; letter-spacing: .05em; text-transform: uppercase; color: var(--dim); }
.mech-dt th a { display: inline; min-height: 0; color: inherit; text-decoration: none; }
.mech-dt td.mech-n, .mech-dt th.mech-n { width: 1%; padding-left: 10px; text-align: right; font-family: var(--pixel); font-size: 14px; white-space: nowrap; }
.mech-dt td { white-space: nowrap; }
.mech-dt td .mech-s { display: block; margin-top: 2px; white-space: normal; }
.mech-mfacts { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; }
.mech-dt .mech-only-d { display: none; }
@media (min-width: 700px) { .mech-dt .mech-only-d { display: table-cell; } .mech-dt td .mech-only-p { display: none; } }

.mech-pill { display: inline-flex; align-items: center; min-height: 24px; padding: 0 8px; border: 1px solid var(--line-2); border-radius: 6px; font-size: 12px; font-weight: 700; color: var(--text); white-space: nowrap; }
.mech-pill--late { border-style: dashed; }
.mech-sec .mm-prop:not([href$="#mm-promethium"]) { display: inline-flex; align-items: center; min-height: 24px; margin: 0; padding: 0 8px; border: 1px solid var(--line-2); border-radius: 6px; background: none; color: var(--text); font-size: 12px; font-weight: 700; line-height: 1.45; white-space: nowrap; }
.mech-sec .mm-prop:not([href$="#mm-promethium"]) svg { display: none; }
.mech-sec .mm-prop[href$="#mm-promethium"] { display: inline-flex; align-items: center; min-height: 32px; margin: 0; padding: 0 10px; border: 1px solid var(--line); border-radius: 9px; background: var(--chip); color: var(--text); font-size: 14px; font-weight: 600; }
.mech-sec a.mm-prop:hover { background: none; border-color: var(--text); }
.mech-sec a.mm-prop[href$="#unconfirmed"]::before { content: "?"; margin-right: 4px; font-family: var(--pixel); }

.mech-main .mm-sveil { margin: 0; }
.mech-main .mm-sveil__row:not(.mm-sveil__row--sm) { padding: 10px 12px; font-size: 16px; line-height: 1.45; }
.mech-main .mm-sveil__row:not(.mm-sveil__row--sm) .mm-sveil__what { font-weight: 800; }
.mech-main .mm-sveil__fine { color: var(--muted); font-size: 14px; }
.mech-main .mm-sveil .link-btn { min-height: 44px; padding: 0 4px; color: var(--muted); font: inherit; font-size: 14px; font-weight: 700; text-decoration: none; }
.mech-main .mm-sveil .link-btn:hover, .mech-main .mm-sveil .link-btn:focus-visible { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.mech-main .mm-sveil .link-btn:focus-visible, .mech-main .mm-sveil__show:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.mech-main .mech-cols .mm-sveil { border-top: 1px solid var(--line); }
.mech-main .mech-cols .mm-sveil__row:not(.mm-sveil__row--sm) { display: grid; grid-template-columns: 24px minmax(0, 1fr); grid-template-areas: "i w" "i f" "i a"; align-items: center; gap: 2px 10px; min-height: 56px; padding: 8px 0; border: 0; border-radius: 0; background: none; }
.mech-main .mech-cols .mm-sveil__ico { grid-area: i; align-self: start; padding-top: 2px; }
.mech-main .mech-cols .mm-sveil__what { grid-area: w; font-size: 16px; }
.mech-main .mech-cols .mm-sveil__fine { grid-area: f; display: block; }
.mech-main .mech-cols .mm-sveil__acts { grid-area: a; margin: 0; }
@media (min-width: 900px) { .mech-main .mech-cols .mm-sveil__row:not(.mm-sveil__row--sm) { grid-template-columns: 24px minmax(0, 1fr) auto; grid-template-areas: "i w a" "i f a"; } }

html[data-mech-wait] .mech-main > :not(.mech-bar), html[data-mech-wait] .mech-sec--how { visibility: hidden; }
html.mech-sheet-open { overflow: hidden; }
@media (min-width: 900px) { html.mech-sheet-open { overflow: auto; } }
@media (prefers-reduced-motion: no-preference) { .mech-sheet { animation: mech-in .18s ease-out; } @keyframes mech-in { from { transform: translateY(12px); opacity: .6; } } }
.mech-quote { display: inline; font-style: normal; quotes: "“" "”"; }
.mech-dt--wrap td { white-space: normal; }
.mech-dt--wrap td.mech-n { white-space: nowrap; }
.mech-sub { margin: 14px 0 4px; color: var(--dim); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; }
.mech-fold { border-top: 1px solid var(--line); }
.mech-fold > summary { display: flex; align-items: center; min-height: 44px; font-weight: 700; cursor: pointer; list-style: none; }
.mech-fold > summary::-webkit-details-marker { display: none; }
.mech-fold > summary::after { content: "▾"; margin-left: 6px; color: var(--dim); }
.mech-fold[open] > summary::after { content: "▴"; }
.mech-fold__b > * + * { margin-top: 10px; }
.mech-fold__b { padding-bottom: 8px; }
.mech-jumps { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.mech-jump { display: inline-flex; align-items: center; min-height: 36px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface); color: var(--text); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.mech-jump:hover { border-color: var(--text); }
.mech-jump:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.mech-jumps--lead { margin-top: 12px; margin-bottom: 4px; }
@media (max-width: 699px) { .mech-jumps { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; } .mech-jump { min-height: 44px; } }
.mech-tide { max-width: 480px; }
.mech-tide__row { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: 2px; }
.mech-tide__h { height: 18px; border: 1px solid var(--text); border-radius: 3px; background: transparent; }
.mech-tide__h.is-high { background: var(--text); }
.mech-tide__ax { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 3px; color: var(--dim); font-size: 12px; font-family: var(--pixel); }
.mech-places { line-height: 2; }
.mech-arow__body > .mech-blk + .mech-key, .mech-arow__body > .mech-key + .mech-blk { margin-top: 12px; }
