/* MAIAN EXPERIENCE / isolated interaction workspace */
#experience {
  --mx-bg: #f2f0ec;
  --mx-panel: #ffffff;
  --mx-line: #dedbd4;
  --mx-muted: #7f8178;
  --mx-gold: #9f8e6e;
  --mx-green: #367b55;
  position: fixed;
  inset: 0;
  z-index: 80;
  background: var(--mx-bg);
  color: #2b2c29;
  overflow: auto;
  font:
    14px/1.65 'Microsoft YaHei',
    'Segoe UI',
    sans-serif;
  scrollbar-color: #536457 #15201c;
  scroll-behavior: smooth;
}
#experience[hidden] {
  display: none !important;
}
.mx-active {
  overflow: hidden;
}
.mx-active #experienceReturn {
  display: none;
}
#experience * {
  box-sizing: border-box;
}
#experience button,
#experience input {
  font: inherit;
}
#experience button {
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 9px;
  color: inherit;
  background: transparent;
  padding: 9px 14px;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}
#experience button:hover:not(:disabled) {
  background: #233a2a08;
  border-color: #233a2a25;
}
#experience button:focus-visible,
#experience input:focus-visible {
  outline: 2px solid var(--mx-gold);
  outline-offset: 4px;
}
#experience button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
#experience h1,
#experience h2,
#experience p {
  margin: 0;
}
#experience h2 {
  font-size: 20px;
  line-height: 1.5;
  color: inherit;
}
#experience small {
  font-size: 11px;
}
#experience .mx-primary {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--mx-gold);
  border-color: var(--mx-gold);
  color: #20271e;
  padding: 13px 20px;
  font-weight: bold;
  box-shadow: 0 4px 20px #0002;
}
#experience .mx-primary:hover:not(:disabled) {
  background: #f6d7a1;
  transform: translateY(-2px);
  box-shadow: 0 7px 25px #0005;
}
#experience input:not([type='checkbox']):not([type='range']) {
  width: 100%;
  padding: 12px;
  background: #ffffff;
  border: 1px solid #dce3d8;
  border-radius: 7px;
  color: #24392d;
  margin-top: 7px;
  min-width: 0;
}
#experience input[type='checkbox'] {
  accent-color: var(--mx-gold);
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  margin: 4px 0 0;
}
#experience input[type='range'] {
  width: 100%;
  accent-color: var(--mx-gold);
  cursor: ew-resize;
  height: 28px;
}
#experience input:disabled {
  opacity: 0.5;
}
#experience label {
  color: #526b49;
  font-size: 13px;
}
#experience .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.mx-top {
  height: 86px;
  padding: 0 4.5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--mx-line);
  gap: 24px;
  background: #fafbf8f5;
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
}
#experience .mx-brand {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 0;
  border: none;
}
.mx-brand > span {
  display: grid;
  place-items: center;
  border: 1px solid #dac18a77;
  border-radius: 10px;
  width: 40px;
  height: 42px;
  color: var(--mx-gold);
  font:
    25px Georgia,
    serif;
  transform: rotate(-6deg);
}
.mx-brand > b {
  font-size: 21px;
  letter-spacing: 4px;
  line-height: 1.25;
  text-align: left;
}
.mx-brand small {
  display: block;
  font-size: 8px;
  letter-spacing: 2px;
  color: var(--mx-muted);
  margin-top: 5px;
  font-weight: normal;
}
.mx-top nav {
  display: flex;
  gap: 8px;
}
.mx-top nav button {
  color: var(--mx-muted) !important;
  font-size: 13px !important;
}
.mx-top nav .selected {
  color: #294330 !important;
  background: #eee8da !important;
}
.mx-top-right {
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 12px;
}
.mx-live {
  color: var(--mx-green);
  font-size: 11px;
  white-space: nowrap;
}
.mx-top-right button {
  border-color: var(--mx-line) !important;
  font-size: 12px !important;
}
.mx-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
.mx-section-heading small {
  font-size: 9px !important;
  letter-spacing: 2px;
  color: var(--mx-muted);
}
.mx-section-heading h2 {
  font-size: 22px !important;
  margin-top: 6px !important;
}
.mx-section-heading p,
.mx-section-heading > span {
  font-size: 11px;
  color: var(--mx-muted);
}
.mx-foot {
  font-size: 10px;
  color: #7f9284;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--mx-line);
  margin-top: 32px;
  padding: 20px 0 24px;
}
.mx-return {
  position: fixed;
  right: 26px;
  bottom: 22px;
  z-index: 75;
  background: #193f34;
  color: #f6dfb4;
  box-shadow: 0 5px 25px #0003;
  border: 1px solid #9ba984;
  border-radius: 25px;
  padding: 11px 18px;
  cursor: pointer;
}
.mx-flowbar {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 15px 4.5%;
  border-bottom: 1px solid var(--mx-line);
  background: #eef2e8;
}
.mx-flowbar > button {
  font-size: 11px !important;
  color: var(--mx-muted) !important;
  white-space: nowrap;
}
.mx-flow-context {
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--mx-line);
  padding-left: 20px;
  white-space: nowrap;
}
.mx-flow-context span {
  font: 10px Consolas;
  color: var(--mx-gold);
}
.mx-flow-context b {
  font-size: 12px;
}
.mx-flowbar nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex: 1;
}
.mx-flowbar nav button {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 11px !important;
  color: var(--mx-muted) !important;
  white-space: nowrap;
  padding: 8px !important;
}
.mx-flowbar nav button > span {
  font: 10px Consolas;
  border: 1px solid #dce4d4;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
}
.mx-flowbar nav .current {
  color: var(--mx-gold) !important;
  background: #e7bf7510 !important;
}
.mx-flowbar nav .current > span {
  border-color: var(--mx-gold);
}
.mx-flowbar nav .complete {
  color: var(--mx-green) !important;
}
.mx-workspace {
  max-width: 1440px;
  margin: auto;
  padding: 36px 4.5% 0;
}
.mx-stage-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  animation: mxIn 0.4s ease-out;
}
.mx-stage-heading small {
  font-size: 10px !important;
  letter-spacing: 2px;
  color: var(--mx-gold);
}
.mx-stage-heading h1 {
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 500;
  margin: 10px 0 !important;
  letter-spacing: -1px;
  outline: none;
}
.mx-stage-heading p {
  color: var(--mx-muted);
  font-size: 12px;
}
.mx-step-count {
  font: 44px 'Segoe UI';
  color: #bcc7b5;
  white-space: nowrap;
}
.mx-step-count i {
  font-style: normal;
  font-size: 15px;
  color: #97a68d;
}
.mx-diagnose-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 28px;
  animation: mxIn 0.4s ease-out;
}
.mx-batch-visual {
  border: 1px solid #d0b27033;
  border-radius: 16px;
  position: relative;
  min-height: 420px;
  background:
    radial-gradient(ellipse at 50% 50%, #a47f2f35, transparent 70%),
    repeating-linear-gradient(0deg, #c2b17604 0 1px, transparent 1px 36px), #17241d;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}
.mx-tag {
  position: absolute;
  top: 24px;
  left: 24px;
  border: 1px solid #b29f7044;
  padding: 5px 10px;
  border-radius: 5px;
  color: var(--mx-muted);
  font-size: 11px;
}
.mx-can {
  width: 118px;
  height: 210px;
  margin-top: -55px;
  position: relative;
  border-radius: 18px 18px 24px 24px;
  background: linear-gradient(90deg, #7c6234, #d5b873 20%, #ecd493 43%, #ba9958 70%, #65502d);
  box-shadow:
    25px 25px 35px #0007,
    inset 0 0 0 1px #fff3;
  transform: rotate(-12deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #244332;
  animation: mxFloat 7s ease-in-out infinite;
}
.mx-can:before {
  content: '';
  position: absolute;
  top: -4px;
  left: 0;
  right: 0;
  height: 15px;
  background: linear-gradient(#e3e4cc, #7d8776, #d4d9c0);
  border: 2px solid #b5bba7;
  border-radius: 50%;
}
.mx-can small {
  font-size: 8px !important;
  letter-spacing: 1px;
}
.mx-can b {
  font-size: 25px;
  writing-mode: vertical-rl;
  letter-spacing: 5px;
  max-height: 120px;
  margin: 10px 0;
}
.mx-can span {
  font-size: 5px;
  letter-spacing: 1px;
}
.mx-window {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  border-top: 1px solid #dce4d4;
  padding-top: 16px;
  display: flex;
  gap: 22px;
  align-items: center;
}
.mx-window > b {
  font: 46px 'Segoe UI';
  color: var(--mx-gold);
}
.mx-window b small {
  font: 12px 'Microsoft YaHei' !important;
  margin-left: 6px;
}
.mx-window > span {
  font-size: 11px;
  color: var(--mx-muted);
}
.mx-evidence {
  padding: 12px 0;
}
.mx-checks {
  display: grid;
  gap: 5px;
}
.mx-scan-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--mx-line);
  animation: mxIn 0.5s both;
  animation-delay: var(--delay);
}
.mx-scan-item > span {
  color: var(--mx-green);
  background: #4e956b1f;
  display: grid;
  place-items: center;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  flex-shrink: 0;
}
.mx-scan-item b {
  font-size: 13px;
}
.mx-scan-item p {
  font-size: 12px;
  color: var(--mx-muted);
  margin-top: 5px !important;
}
.mx-scan-item > small {
  color: #8ab399;
  white-space: nowrap;
  margin-left: auto;
}
.mx-callout {
  border-left: 2px solid var(--mx-gold);
  padding: 12px 15px;
  background: #d4b56b0a;
  color: #656c4e;
  font-size: 12px;
  margin: 20px 0;
}
.mx-option-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
#experience .mx-option {
  padding: 22px;
  text-align: left;
  border: 1px solid var(--mx-line);
  background: #ffffff;
  position: relative;
  overflow: hidden;
  animation: mxIn 0.4s ease-out;
}
#experience .mx-option.selected {
  border-color: #d3b577;
  background: linear-gradient(120deg, #eee5cc77, #f3f6ec);
  box-shadow: inset 0 0 0 1px #c5ae7130;
}
#experience .mx-option:hover:not(:disabled) {
  transform: translateY(-4px);
}
.mx-option > span {
  color: var(--mx-muted);
  font-size: 10px;
}
.mx-option em {
  font-style: normal;
  color: var(--mx-gold);
  padding: 3px 7px;
  background: #d9b65f18;
  border-radius: 4px;
  margin-left: 8px;
}
.mx-option h2 {
  margin: 12px 0 6px !important;
}
.mx-option p {
  color: var(--mx-muted);
  font-size: 11px;
}
.mx-option strong {
  display: block;
  font: 27px 'Segoe UI';
  color: var(--mx-gold);
  margin: 20px 0 3px;
}
.mx-option > small {
  color: #708366;
  font-size: 10px !important;
}
.mx-option > i {
  position: absolute;
  right: 22px;
  bottom: 23px;
  color: var(--mx-gold);
  font-size: 20px;
  font-style: normal;
}
.mx-work-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(290px, 1fr);
  gap: 24px;
  animation: mxIn 0.35s ease-out;
}
.mx-simulator,
.mx-impact,
.mx-artifacts,
.mx-confirm,
.mx-review-grid > article {
  background: #ffffff;
  border: 1px solid var(--mx-line);
  border-radius: 13px;
  padding: 25px;
}
.mx-simulator .mx-section-heading h2 {
  font-size: 18px !important;
}
.mx-allocation {
  display: flex;
  align-items: center;
  gap: 25px;
  margin: 30px 0;
}
.mx-allocation > div:first-child,
.mx-allocation > div:last-child {
  flex-shrink: 0;
}
.mx-allocation small {
  display: block;
  color: var(--mx-muted);
}
.mx-allocation b {
  font: 32px 'Segoe UI';
  display: block;
  margin-top: 8px;
}
.mx-allocation b i {
  font: 11px 'Microsoft YaHei';
  color: var(--mx-muted);
  margin-left: 5px;
}
.mx-allocation-line {
  height: 10px;
  border-radius: 5px;
  background: #6c9f8544;
  flex: 1;
  position: relative;
}
.mx-allocation-line > span {
  display: block;
  height: 100%;
  border-radius: 5px;
  background: var(--mx-gold);
  transition: width 0.15s;
}
.mx-allocation-line > i {
  position: absolute;
  font-style: normal;
  top: -12px;
  left: 50%;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #314336;
  color: #ece1ba;
  display: grid;
  place-items: center;
  border: 1px solid #6f795e;
}
.mx-slider-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}
.mx-slider-label output {
  color: var(--mx-gold);
  font: 13px Consolas;
}
.mx-input-row {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 18px 0;
}
.mx-input-row label {
  width: 175px;
  flex-shrink: 0;
}
.mx-input-row p {
  font-size: 11px;
  color: var(--mx-muted);
}
.mx-rule {
  padding: 11px 13px;
  border: 1px solid;
  border-radius: 6px;
  font-size: 11px;
  line-height: 1.9;
}
.mx-rule.pass {
  color: #397450;
  border-color: #54966b44;
  background: #4a875719;
}
.mx-rule.blocked {
  color: #a95b3e;
  border-color: #c7815944;
  background: #b4623e10;
}
.mx-source {
  font-size: 10px;
  color: var(--mx-muted);
  margin-top: 15px !important;
}
.mx-impact > small,
.mx-confirm > small,
.mx-artifact-content section > small {
  font-size: 9px !important;
  letter-spacing: 1.5px;
  color: #a3b498;
  display: block;
  margin-bottom: 23px;
}
.mx-impact > div > span {
  display: block;
  color: var(--mx-muted);
  font-size: 12px;
}
.mx-impact > div > b {
  display: block;
  font: 44px 'Segoe UI';
  color: var(--mx-gold);
  letter-spacing: -1px;
  line-height: 1.5;
}
.mx-impact-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  border-top: 1px solid var(--mx-line);
  margin: 17px 0;
  padding-top: 17px;
}
.mx-impact-pair span {
  color: var(--mx-muted);
  font-size: 11px;
  display: block;
}
.mx-impact-pair strong {
  font: 20px 'Segoe UI';
  display: block;
  margin-top: 5px;
}
.mx-impact > p {
  font-size: 10px;
  color: var(--mx-muted);
  margin: 15px 0 22px !important;
}
.mx-impact > .mx-primary {
  width: 100%;
  font-size: 12px !important;
}
.mx-waterfall > div {
  height: 10px;
  display: flex;
  border-radius: 4px;
  overflow: hidden;
  background: var(--mx-gold);
}
.mx-waterfall span {
  display: block;
  background: #657b68;
}
.mx-waterfall p {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: var(--mx-muted);
  margin-top: 8px !important;
}
.mx-facts-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  border: 1px solid var(--mx-line);
  background: #ffffff;
  border-radius: 10px;
  margin-bottom: 24px;
  padding: 20px;
}
.mx-facts-strip small {
  color: var(--mx-muted);
  display: block;
  font-size: 10px !important;
}
.mx-facts-strip b {
  display: block;
  font: 20px 'Segoe UI';
  margin-top: 5px;
}
.mx-artifacts {
  padding: 0;
  overflow: hidden;
}
.mx-artifact-tabs {
  display: flex;
  gap: 6px;
  padding: 12px;
  border-bottom: 1px solid var(--mx-line);
  background: #f1f4eb;
}
.mx-artifact-tabs button {
  flex: 1;
  font-size: 12px !important;
  color: var(--mx-muted) !important;
  white-space: nowrap;
}
.mx-artifact-tabs button[aria-selected='true'] {
  background: #d9c18018 !important;
  color: var(--mx-gold) !important;
  border-color: #d5b67955 !important;
}
.mx-artifact-content {
  padding: 30px;
  min-height: 290px;
}
.mx-artifact-content section[hidden] {
  display: none !important;
}
.mx-artifact-content h2 {
  margin: 10px 0 !important;
}
.mx-artifact-content p {
  color: var(--mx-muted);
  font-size: 12px;
  margin-top: 13px !important;
}
.mx-document-amount {
  padding: 20px 0;
  border-bottom: 1px solid var(--mx-line);
  font: 20px 'Segoe UI';
  color: #53694f;
}
.mx-document-amount b {
  display: block;
  font: 38px 'Segoe UI';
  color: var(--mx-gold);
  margin-top: 7px;
}
.mx-confirm {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.mx-confirm > small {
  margin-bottom: 0;
}
.mx-checkbox {
  display: flex;
  gap: 12px;
  border-bottom: 1px solid var(--mx-line);
  padding-bottom: 15px;
  align-items: flex-start;
}
.mx-confirm .mx-primary {
  margin-top: auto;
}
.mx-confirm #mxConfirmError {
  color: #a95b3e;
  font-size: 12px;
}
.mx-mini-poster {
  border: 1px solid #d2af6233;
  background: radial-gradient(ellipse at 90% 100%, #d7b46c3d, transparent 60%), #e4eddb;
  padding: 25px;
}
.mx-mini-poster > span {
  color: var(--mx-gold);
  letter-spacing: 3px;
  font-size: 11px;
}
.mx-mini-poster h2 {
  font-size: 26px !important;
  overflow-wrap: anywhere;
  color: #304f31 !important;
}
.mx-execution-heading {
  display: flex;
  align-items: center;
  gap: 25px;
  margin: 25px 0;
}
.mx-execution-heading span {
  margin-left: auto;
  color: var(--mx-muted);
  font-size: 12px;
}
.mx-progress {
  height: 6px;
  width: 180px;
  background: #dfe7d7;
  border-radius: 4px;
  overflow: hidden;
}
.mx-progress i {
  display: block;
  height: 100%;
  background: var(--mx-gold);
  transition: width 0.5s;
}
.mx-handoff-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.mx-handoff {
  border: 1px solid #c5ab6c33;
  background: #ffffff;
  border-radius: 12px;
  padding: 24px 20px;
  position: relative;
  animation: mxIn 0.4s ease-out;
}
.mx-role-index {
  font-size: 10px;
  color: var(--mx-gold);
  letter-spacing: 1px;
}
.mx-task-dot {
  position: absolute;
  right: 20px;
  top: 20px;
  border-radius: 50%;
  border: 1px solid #c5ab6c55;
  color: var(--mx-gold);
  width: 24px;
  height: 24px;
  text-align: center;
  font-style: normal;
}
.mx-handoff h2 {
  font-size: 17px !important;
  margin: 30px 0 12px !important;
}
.mx-handoff p {
  font-size: 12px;
  color: var(--mx-muted);
  min-height: 65px;
}
.mx-handoff small {
  display: block;
  color: #adbaa8;
  margin: 20px 0;
  font-size: 10px !important;
}
.mx-handoff button {
  border-color: #ac9b6155 !important;
  width: 100%;
  font-size: 12px !important;
  color: var(--mx-gold) !important;
}
.mx-handoff.done {
  border-color: #689d7666;
  background: #eef5e9;
}
.mx-handoff.done .mx-task-dot {
  color: var(--mx-green);
  border-color: #7eb88a55;
}
.mx-result-entry {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  align-items: center;
  gap: 22px;
  margin-top: 24px;
  padding: 25px;
  border: 1px solid var(--mx-line);
  border-radius: 13px;
  background: #ffffff;
}
.mx-result-entry small {
  color: var(--mx-gold);
  letter-spacing: 1px;
  font-size: 9px !important;
}
.mx-result-entry h2 {
  margin: 6px 0 !important;
}
.mx-result-entry p {
  color: var(--mx-muted);
  font-size: 11px;
}
.mx-result-entry .mx-primary {
  font-size: 12px !important;
  white-space: nowrap;
  gap: 10px;
}
.mx-result-entry #mxActualError {
  color: #a95b3e;
  grid-column: 1/-1;
}
.mx-review-hero {
  padding: 38px;
  border: 1px solid #c9ab6533;
  border-radius: 15px;
  background: radial-gradient(ellipse at 12% 80%, #be9b4d24, transparent 60%), #ffffff;
  display: flex;
  align-items: center;
  gap: 70px;
  animation: mxIn 0.5s ease-out;
}
.mx-review-hero > div > small {
  color: var(--mx-muted);
  font-size: 12px !important;
}
.mx-review-hero > div > b {
  font: 80px/1.5 'Segoe UI';
  color: var(--mx-gold);
  letter-spacing: -4px;
  display: block;
}
.mx-review-hero b i {
  font-style: normal;
  font-size: 30px;
  letter-spacing: 0;
  margin-left: 7px;
}
.mx-review-hero p {
  color: var(--mx-muted);
  font-size: 12px;
}
.mx-review-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  flex: 1;
}
.mx-review-stats span {
  font-size: 11px;
  color: var(--mx-muted);
  display: block;
}
.mx-review-stats b {
  font: 27px 'Segoe UI';
  display: block;
  margin-top: 15px;
}
.mx-review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}
.mx-review-grid article > small {
  color: var(--mx-gold);
  font-size: 9px !important;
  letter-spacing: 2px;
}
.mx-review-grid h2 {
  margin: 10px 0 22px !important;
}
.mx-review-grid p {
  color: var(--mx-muted);
  font-size: 12px;
  margin: 15px 0 !important;
}
.mx-bar-row {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 22px 0;
}
.mx-bar-row b {
  font-size: 12px;
  white-space: nowrap;
}
.mx-bar-row > div {
  height: 22px;
  position: relative;
  flex: 1;
}
.mx-bar-row > div span {
  display: block;
  background: #d5dfc4aa;
  height: 100%;
  border-radius: 3px;
}
.mx-bar-row > div i {
  position: absolute;
  top: 6px;
  left: 0;
  display: block;
  background: var(--mx-gold);
  height: 10px;
  border-radius: 3px;
  animation: mxBar 0.7s ease-out;
  transform-origin: left;
}
.mx-bar-row small {
  font-size: 10px !important;
  white-space: nowrap;
  color: var(--mx-muted);
}
.mx-stale {
  border: 1px solid #b2794d;
  padding: 16px;
  background: #7a492122;
  color: #9b662e;
  margin-bottom: 20px;
  border-radius: 8px;
}
.mx-workspace > footer {
  margin-top: 35px;
}
#experience #mxPrompt {
  position: fixed;
  inset: 0;
  margin: auto;
  padding: 30px;
  background: #ffffff;
  color: #33342f;
  border: 1px solid #bda66b77;
  border-radius: 15px;
  width: min(480px, 90vw);
  box-shadow: 0 25px 100px #0009;
}
#mxPrompt::backdrop {
  background: #08120caa;
  backdrop-filter: blur(8px);
}
#experience #mxPrompt > small {
  color: var(--mx-gold);
  letter-spacing: 2px;
  font-size: 9px;
}
#experience #mxPrompt h2 {
  margin: 14px 0 !important;
  font-size: 23px;
}
#experience #mxPrompt p {
  font-size: 13px;
  color: var(--mx-muted);
  margin-bottom: 24px !important;
}
#experience #mxPrompt > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
#experience #mxPrompt button {
  font-size: 12px;
}
@keyframes mxIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes mxFloat {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -8px;
  }
}
@keyframes mxBar {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
#experience #mxQuestionFeedback {
  flex-basis: 100%;
  font-size: 11px;
  color: #a95b3e;
  padding-left: 35px;
}
#experience #mxQuestionFeedback[hidden] {
  display: none;
}
@media (min-width: 1001px) and (max-height: 850px) {
  .mx-top {
    height: 68px;
  }
  .mx-flowbar {
    padding-top: 9px;
    padding-bottom: 9px;
  }
  .mx-workspace {
    padding-top: 20px;
  }
  .mx-stage-heading {
    margin-bottom: 18px;
  }
  .mx-stage-heading h1 {
    font-size: 27px;
    margin: 6px 0 !important;
  }
  .mx-stage-heading p {
    font-size: 11px;
  }
  .mx-option-grid {
    gap: 14px;
    margin-bottom: 18px;
  }
  #experience .mx-option {
    padding: 15px 18px;
  }
  .mx-option h2 {
    font-size: 18px !important;
    margin: 7px 0 4px !important;
  }
  .mx-option strong {
    font-size: 23px;
    margin: 10px 0 2px;
  }
  .mx-option p {
    font-size: 10px;
  }
  .mx-simulator,
  .mx-impact {
    padding: 18px;
  }
  .mx-simulator .mx-section-heading {
    margin-bottom: 12px;
  }
  .mx-allocation {
    margin: 16px 0;
  }
  .mx-allocation b {
    font-size: 28px;
  }
  .mx-input-row {
    margin: 10px 0;
  }
  .mx-input-row label {
    margin: 6px 0;
  }
  .mx-input-row input {
    padding: 8px !important;
  }
  .mx-impact > small {
    margin-bottom: 12px;
  }
  .mx-impact > div > b {
    font-size: 35px;
  }
  .mx-impact-pair {
    margin: 12px 0;
    padding-top: 12px;
  }
  .mx-impact-pair strong {
    font-size: 18px;
  }
  .mx-impact > p {
    margin: 10px 0 16px !important;
  }
  .mx-impact > .mx-primary {
    padding: 11px 15px !important;
  }
  .mx-source {
    margin-top: 10px !important;
  }
  .mx-rule {
    padding: 8px 10px;
  }
}
@media (max-width: 1100px) {
  .mx-top {
    padding: 0 3%;
    gap: 10px;
  }
  .mx-top nav {
    gap: 0;
  }
  .mx-top-right {
    gap: 8px;
  }
  .mx-live {
    display: none;
  }
  .mx-flow-context {
    display: none;
  }
  .mx-flowbar {
    padding: 12px 3%;
    gap: 8px;
  }
  .mx-flowbar nav {
    gap: 0;
  }
  .mx-flowbar nav button {
    font-size: 10px !important;
    padding: 6px !important;
  }
  .mx-workspace {
    padding-left: 3%;
    padding-right: 3%;
  }
  .mx-work-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(275px, 1fr);
  }
  .mx-handoff-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mx-result-entry {
    grid-template-columns: 1fr 1fr;
  }
  .mx-result-entry > div {
    grid-column: 1/-1;
  }
  .mx-review-hero {
    gap: 35px;
    padding: 26px;
  }
  .mx-review-stats {
    gap: 15px;
  }
  .mx-review-stats b {
    font-size: 22px;
  }
}
@media (max-width: 700px) {
  .mx-top {
    height: auto;
    min-height: 72px;
    flex-wrap: wrap;
    padding: 12px 5%;
    gap: 12px;
  }
  .mx-top nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    border-top: 1px solid var(--mx-line);
    padding-top: 8px;
  }
  .mx-top nav button {
    padding: 5px 10px !important;
    font-size: 12px !important;
  }
  .mx-brand > b {
    font-size: 17px;
  }
  .mx-brand small {
    font-size: 7px;
  }
  .mx-brand > span {
    width: 34px;
    height: 36px;
  }
  .mx-top-right button {
    font-size: 10px !important;
    padding: 6px !important;
  }
  .mx-section-heading {
    align-items: flex-start;
    gap: 10px;
    flex-direction: column;
  }
  .mx-section-heading h2 {
    font-size: 20px !important;
  }
  .mx-section-heading p {
    font-size: 10px;
  }
  .mx-foot {
    font-size: 9px;
    gap: 10px;
    flex-direction: column;
  }
  .mx-flowbar {
    flex-wrap: wrap;
    padding: 9px 4%;
    gap: 5px;
    position: relative;
  }
  .mx-flowbar > button {
    font-size: 10px !important;
    padding: 5px !important;
  }
  .mx-flowbar nav {
    order: 3;
    flex-basis: 100%;
    justify-content: space-between;
    overflow: auto;
    padding-top: 6px;
  }
  .mx-flowbar nav button {
    font-size: 9px !important;
    gap: 5px;
    flex-direction: column;
    line-height: 1.3;
  }
  .mx-flowbar nav button > span {
    height: 22px;
    width: 22px;
    font-size: 9px;
  }
  .mx-flowbar > button:last-child {
    margin-left: auto;
  }
  .mx-workspace {
    padding: 25px 5% 0;
  }
  .mx-stage-heading {
    gap: 5px;
    margin-bottom: 24px;
    align-items: flex-start;
  }
  .mx-stage-heading h1 {
    font-size: 25px;
    line-height: 1.4;
    letter-spacing: -0.5px;
  }
  .mx-stage-heading small {
    font-size: 8px !important;
  }
  .mx-stage-heading p {
    font-size: 11px;
  }
  .mx-step-count {
    display: none;
  }
  .mx-diagnose-grid,
  .mx-work-grid,
  .mx-review-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .mx-batch-visual {
    min-height: 330px;
  }
  .mx-can {
    scale: 0.8;
    margin-top: -35px;
  }
  .mx-window {
    bottom: 18px;
    left: 18px;
    right: 18px;
    gap: 16px;
  }
  .mx-window > b {
    font-size: 38px;
  }
  .mx-window > span {
    font-size: 10px;
  }
  .mx-evidence .mx-section-heading > span {
    font-size: 10px;
  }
  .mx-scan-item {
    gap: 10px;
  }
  .mx-scan-item p {
    font-size: 11px;
  }
  .mx-option-grid {
    gap: 8px;
  }
  #experience .mx-option {
    padding: 13px 10px;
    border-radius: 8px;
  }
  .mx-option h2 {
    font-size: 13px !important;
  }
  .mx-option p {
    font-size: 9px;
    min-height: 44px;
  }
  .mx-option strong {
    font-size: 18px;
    margin-top: 12px;
  }
  .mx-option em {
    display: none;
  }
  .mx-option > span {
    font-size: 9px;
  }
  .mx-option > small {
    font-size: 8px !important;
  }
  .mx-option > i {
    display: none;
  }
  .mx-simulator,
  .mx-impact,
  .mx-confirm {
    padding: 19px;
  }
  .mx-allocation {
    gap: 14px;
    margin: 25px 0;
  }
  .mx-allocation b {
    font-size: 29px;
  }
  .mx-input-row {
    gap: 15px;
  }
  .mx-input-row label {
    width: 135px;
  }
  .mx-input-row p {
    font-size: 10px;
  }
  .mx-impact > div > b {
    font-size: 40px;
  }
  .mx-facts-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 17px;
  }
  .mx-facts-strip b {
    font-size: 18px;
  }
  .mx-artifact-tabs {
    gap: 0;
    padding: 8px;
  }
  .mx-artifact-tabs button {
    font-size: 10px !important;
    padding: 8px 6px !important;
  }
  .mx-artifact-content {
    padding: 22px;
    min-height: 280px;
  }
  .mx-document-amount b {
    font-size: 32px;
  }
  .mx-handoff-grid {
    gap: 10px;
  }
  .mx-handoff {
    padding: 17px 13px;
  }
  .mx-handoff h2 {
    font-size: 14px !important;
    margin-top: 25px !important;
  }
  .mx-handoff p {
    font-size: 10px;
    min-height: 68px;
  }
  .mx-role-index {
    font-size: 9px;
  }
  .mx-task-dot {
    right: 13px;
    top: 15px;
    font-size: 12px;
    width: 20px;
    height: 20px;
  }
  .mx-handoff small {
    font-size: 9px !important;
    min-height: 30px;
  }
  .mx-handoff button {
    font-size: 10px !important;
    padding: 8px !important;
  }
  .mx-execution-heading {
    gap: 10px;
    flex-wrap: wrap;
  }
  .mx-execution-heading h2 {
    font-size: 18px !important;
  }
  .mx-execution-heading span {
    font-size: 10px;
  }
  .mx-progress {
    width: 100%;
    height: 4px;
  }
  .mx-result-entry {
    padding: 18px;
    gap: 14px;
  }
  .mx-result-entry .mx-primary {
    grid-column: 1/-1;
  }
  .mx-result-entry h2 {
    font-size: 18px !important;
  }
  .mx-result-entry label {
    font-size: 11px !important;
  }
  .mx-review-hero {
    display: block;
    padding: 23px;
  }
  .mx-review-hero > div > b {
    font-size: 70px;
  }
  .mx-review-stats {
    margin-top: 25px;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .mx-review-stats b {
    font-size: 23px;
    margin-top: 6px;
  }
  .mx-review-grid > article {
    padding: 20px;
  }
  .mx-bar-row {
    gap: 10px;
  }
  .mx-bar-row small {
    font-size: 9px !important;
  }
  .mx-return {
    font-size: 11px;
    right: 14px;
    bottom: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #experience {
    scroll-behavior: auto;
  }
  #experience *,
  #experience *:before,
  #experience *:after {
    animation: none !important;
    transition: none !important;
  }
}

@media (min-width: 1001px) and (max-height: 850px) {
  .mx-workspace {
    padding-top: 16px;
  }
  .mx-stage-heading {
    margin-bottom: 12px;
  }
  .mx-option-grid {
    margin-bottom: 14px;
  }
  .mx-option strong {
    margin-top: 8px;
  }
  .mx-impact > small {
    margin-bottom: 8px;
  }
  .mx-impact > div > b {
    font-size: 32px;
  }
  .mx-impact > p {
    margin: 8px 0 12px !important;
    line-height: 1.5;
  }
  .mx-source {
    font-size: 9px;
  }
}

#experience .mx-top {
  border-bottom-color: #e0e5d8;
  color: #334b34;
}
#experience .mx-top nav button {
  font-size: 14px !important;
}
#experience .mx-top-right button {
  background: #f3f5ed;
}
#experience .mx-brand > b {
  color: #29412e;
}
#experience .mx-brand > span {
  color: #8b794b;
}
#experience .mx-top .mx-live {
  color: #779064;
}

#experience .mx-primary {
  background: #29302b;
  border-color: #29302b;
  color: #f5f3ed;
}
#experience .mx-primary:hover:not(:disabled) {
  background: #3a443c;
  color: #fff;
}
