.mkhge {
  --mkhge-orange: #f26522;
  --mkhge-black: #111317;
  --mkhge-dark: #252932;
  --mkhge-gray: #69707d;
  --mkhge-line: #dfe3e8;
  --mkhge-soft: #f4f6f8;
  --mkhge-white: #ffffff;
  --mkhge-font-body: "Segoe UI Variable Text", Aptos, "Avenir Next", Inter, Roboto, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mkhge-font-display: Bahnschrift, "Segoe UI Variable Display", "Avenir Next Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
  --mkhge-font-tech: "Bahnschrift SemiCondensed", Bahnschrift, "DIN Alternate", "Avenir Next Condensed", "Arial Narrow", sans-serif;
  max-width: 1120px;
  margin: 32px auto;
  color: var(--mkhge-black);
  font-family: var(--mkhge-font-body);
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.mkhge * { box-sizing: border-box; }
.mkhge [hidden], .mkhge .mkhge-is-hidden { display: none !important; }
.mkhge button, .mkhge input, .mkhge select, .mkhge textarea { font: inherit; }
.mkhge h1, .mkhge h2, .mkhge h3, .mkhge h4, .mkhge h5, .mkhge h6,
.mkhge__button, .mkhge__progress button, .mkhge__mode-tabs button,
.mkhge__eyebrow, .mkhge__section-head > p, .mkhge__goal-context-label {
  font-family: var(--mkhge-font-display);
}
.mkhge__brand-main, .mkhge__brand-engine, .mkhge__brand-version {
  font-family: var(--mkhge-font-tech);
  font-stretch: condensed;
}
.mkhge__hero {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 6vw, 68px);
  border-radius: 24px 24px 0 0;
  color: var(--mkhge-white);
  background: linear-gradient(125deg, #101216 0%, #242832 72%, #313742 100%);
}
.mkhge__hero::after {
  content: "";
  position: absolute;
  right: -130px;
  bottom: -170px;
  width: 410px;
  height: 410px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  box-shadow: 0 0 0 45px rgba(255,255,255,.025), 0 0 0 90px rgba(255,255,255,.02);
}
/* Version 0.2.1: Stronger Animated Brand Hierarchy */
.mkhge__brand-lockup {
  position: relative;
  z-index: 2;
  display: inline-grid;
  grid-template-columns: auto auto;
  align-items: end;
  gap: 2px 16px;
  max-width: 100%;
  padding: clamp(18px, 2.8vw, 28px) clamp(20px, 3.5vw, 36px) clamp(15px, 2.4vw, 23px);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,255,255,.11), rgba(255,255,255,.025));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10), 0 18px 45px rgba(0,0,0,.28), 0 0 0 1px rgba(242,101,34,.05);
  isolation: isolate;
  opacity: 1;
  transform: translate3d(0,0,0);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform, opacity;
}
.mkhge__brand-lockup::after {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: .48;
  background: radial-gradient(circle at 76% 45%, rgba(242,101,34,.22), transparent 42%);
  animation: mkhgeBrandGlow 3.8s ease-in-out infinite;
}
.mkhge__brand-main {
  color: #fff;
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 950;
  line-height: .88;
  letter-spacing: .075em;
  text-shadow: 0 8px 28px rgba(0,0,0,.32);
  will-change: transform, opacity, filter, background-position;
}
.mkhge__brand-engine {
  color: var(--mkhge-orange);
  font-size: clamp(25px, 3.9vw, 43px);
  font-weight: 950;
  line-height: .93;
  letter-spacing: .115em;
  text-shadow: 0 0 22px rgba(242,101,34,.42);
  will-change: transform, opacity, filter, text-shadow, letter-spacing;
}
.mkhge__brand-version {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 11px;
  color: #c9d0da;
  font-size: 9px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.mkhge__brand-version i { width: 7px; height: 7px; border-radius: 50%; background: var(--mkhge-orange); box-shadow: 0 0 0 0 rgba(242,101,34,.55); animation: mkhgeVersionPulse 2s ease-out infinite; }
.mkhge__brand-scan { position: absolute; z-index: -1; inset: -45% auto -45% -35%; width: 24%; transform: skewX(-18deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,.24), transparent); animation: mkhgeBrandScan 4.4s ease-in-out .9s infinite; }
@keyframes mkhgeBrandEnter { from { opacity: 0; transform: translateY(-12px) scale(.965); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes mkhgeWordReveal { from { opacity: 0; transform: translateY(12px); filter: blur(5px); } to { opacity: 1; transform: translateY(0); filter: blur(0); } }
@keyframes mkhgeBrandFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes mkhgeBrandGlow { 0%, 100% { opacity: .34; } 50% { opacity: .68; } }
@keyframes mkhgeEnginePulse { 0%, 100% { text-shadow: 0 0 18px rgba(242,101,34,.32); } 50% { text-shadow: 0 0 30px rgba(242,101,34,.62); } }
@keyframes mkhgeBrandScan { 0%, 55% { left: -35%; opacity: 0; } 65% { opacity: 1; } 88%, 100% { left: 125%; opacity: 0; } }
@keyframes mkhgeVersionPulse { 0% { box-shadow: 0 0 0 0 rgba(242,101,34,.5); } 65%, 100% { box-shadow: 0 0 0 9px rgba(242,101,34,0); } }
.mkhge__eyebrow { margin: 24px 0 8px; color: var(--mkhge-orange); font-size: 11px; font-weight: 850; letter-spacing: .16em; }
.mkhge__hero h2 {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: clamp(19px, 2.65vw, 30px);
  font-weight: 760;
  line-height: 1.22;
  letter-spacing: -.018em;
}
.mkhge__hero > p:last-child { position: relative; z-index: 1; max-width: 720px; margin: 14px 0 0; color: #cdd2da; font-size: 15px; line-height: 1.65; }
.mkhge__progress { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--mkhge-line); border-top: 0; background: #fff; }
.mkhge__progress button { min-height: 70px; border: 0; border-right: 1px solid var(--mkhge-line); background: #fff; color: var(--mkhge-gray); font-size: 13px; font-weight: 750; cursor: pointer; }
.mkhge__progress button:last-child { border-right: 0; }
.mkhge__progress button span { display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: 8px; border: 1px solid var(--mkhge-line); border-radius: 50%; }
.mkhge__progress button.is-active { color: var(--mkhge-black); box-shadow: inset 0 -3px 0 var(--mkhge-orange); }
.mkhge__progress button.is-active span, .mkhge__progress button.is-complete span { border-color: var(--mkhge-orange); background: var(--mkhge-orange); color: #fff; }
.mkhge__progress button:disabled { cursor: default; opacity: .7; }
.mkhge__form, .mkhge__results { padding: clamp(24px, 5vw, 56px); border: 1px solid var(--mkhge-line); border-top: 0; border-radius: 0 0 24px 24px; background: #fff; box-shadow: 0 18px 60px rgba(20,25,35,.08); }
.mkhge__step { animation: mkhgeFade .24s ease; }
@keyframes mkhgeFade { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
.mkhge__section-head { margin-bottom: 28px; }
.mkhge__section-head p { margin: 0 0 6px; color: var(--mkhge-orange); font-size: 12px; font-weight: 850; letter-spacing: .15em; }
.mkhge__section-head h3 { margin: 0; font-size: clamp(25px, 4vw, 38px); line-height: 1.15; outline: none; }
.mkhge__choice-grid { display: grid; gap: 12px; }
.mkhge__choice-grid--four { grid-template-columns: repeat(4, 1fr); }
.mkhge__choice-grid--three, .mkhge__field-grid--three { grid-template-columns: repeat(3, 1fr); }
.mkhge__choice-grid--two { grid-template-columns: repeat(2, 1fr); }
.mkhge__choice { position: relative; min-width: 0; cursor: pointer; }
.mkhge__choice input { position: absolute; opacity: 0; pointer-events: none; }
.mkhge__choice span { display: block; height: 100%; min-height: 138px; padding: 20px; border: 1px solid var(--mkhge-line); border-radius: 14px; background: #fff; transition: .18s ease; }
.mkhge__choice strong { display: block; margin-bottom: 10px; font-size: 16px; }
.mkhge__choice small { display: block; color: var(--mkhge-gray); font-size: 13px; line-height: 1.55; }
.mkhge__choice input:checked + span { border-color: var(--mkhge-orange); box-shadow: 0 0 0 2px rgba(242,101,34,.13); background: #fffaf7; }
.mkhge__choice input:focus-visible + span { outline: 3px solid rgba(242,101,34,.3); outline-offset: 2px; }
.mkhge__fieldset { margin: 28px 0 0; padding: 22px; border: 1px solid var(--mkhge-line); border-radius: 14px; }
.mkhge__fieldset legend { padding: 0 8px; font-weight: 800; }
.mkhge__segmented { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mkhge__segmented label { position: relative; cursor: pointer; }
.mkhge__segmented input { position: absolute; opacity: 0; }
.mkhge__segmented span { display: grid; place-items: center; min-height: 48px; padding: 10px; border: 1px solid var(--mkhge-line); border-radius: 10px; font-weight: 750; }
.mkhge__segmented input:checked + span { border-color: var(--mkhge-orange); background: var(--mkhge-orange); color: #fff; }
.mkhge__hint { margin: 12px 0 0; color: var(--mkhge-gray); font-size: 13px; line-height: 1.55; }
.mkhge__field-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.mkhge__field { display: flex; flex-direction: column; gap: 8px; min-width: 0; color: var(--mkhge-dark); font-weight: 750; }
.mkhge__field input, .mkhge__field select { width: 100%; min-height: 50px; padding: 10px 13px; border: 1px solid #cfd4db; border-radius: 10px; background: #fff; color: var(--mkhge-black); }
.mkhge__field input:focus, .mkhge__field select:focus { border-color: var(--mkhge-orange); outline: 3px solid rgba(242,101,34,.14); }
.mkhge__field small { color: var(--mkhge-gray); font-size: 12px; font-weight: 500; line-height: 1.45; }
.mkhge .is-invalid { border-color: #b42318 !important; outline: 2px solid rgba(180,35,24,.12); }
.mkhge__units { margin-top: 22px; }
.mkhge__check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.mkhge__check-grid--one { grid-template-columns: 1fr; }
.mkhge__check { display: flex; align-items: flex-start; gap: 11px; min-height: 48px; padding: 13px; border: 1px solid var(--mkhge-line); border-radius: 10px; background: #fff; color: var(--mkhge-dark); font-size: 14px; line-height: 1.5; cursor: pointer; }
.mkhge__check input { flex: 0 0 auto; width: 19px; height: 19px; margin-top: 1px; accent-color: var(--mkhge-orange); }
.mkhge__safety { border-color: #efc7c4; background: #fff9f8; }
.mkhge__consent { margin-top: 24px; padding: 18px; border: 2px solid var(--mkhge-orange); border-radius: 14px; background: linear-gradient(135deg, #fff8f3, #fff); box-shadow: 0 10px 30px rgba(242,101,34,.10); transition: .18s ease; }
.mkhge__consent-head { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 12px; margin-bottom: 12px; }
.mkhge__consent-head > span { padding: 5px 8px; border-radius: 999px; background: var(--mkhge-orange); color: #fff; font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.mkhge__consent-head > strong { font-size: 16px; }
.mkhge__ack { margin: 0; border-color: #f3b18e; background: #fff; font-weight: 800; }
.mkhge__ack input { width: 22px; height: 22px; }
.mkhge__consent > p { margin: 10px 2px 0; color: #9a3a0e; font-size: 12px; font-weight: 750; line-height: 1.45; }
.mkhge__consent.is-required-error { border-color: #b42318; background: #fff4f3; box-shadow: 0 0 0 4px rgba(180,35,24,.10); animation: mkhgeConsentShake .28s ease; }
@keyframes mkhgeConsentShake { 0%, 100% { transform: translateX(0); } 35% { transform: translateX(-4px); } 70% { transform: translateX(4px); } }
.mkhge__controls { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--mkhge-line); }
.mkhge__button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 20px; border: 1px solid var(--mkhge-orange); border-radius: 9px; background: var(--mkhge-orange); color: #fff !important; font-weight: 850; text-decoration: none !important; cursor: pointer; }
.mkhge__button:hover { filter: brightness(.96); transform: translateY(-1px); }
.mkhge__button:disabled { opacity: .65; cursor: wait; transform: none; }
.mkhge__button--ghost { border-color: #cfd4db; background: #fff; color: var(--mkhge-black) !important; }
.mkhge__error { margin-top: 20px; padding: 13px 15px; border: 1px solid #f0b7b2; border-radius: 9px; background: #fff4f3; color: #8d1c14; font-weight: 700; }
.mkhge__results { border-top: 1px solid var(--mkhge-line); border-radius: 24px; }
.mkhge__result-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.mkhge__result-top h3 { margin: 0; font-size: clamp(28px, 4vw, 42px); }
.mkhge__result-top .mkhge__eyebrow { margin-top: 0; }
.mkhge__headline-result { margin: 32px 0 20px; padding: clamp(22px, 4vw, 38px); border-radius: 18px; background: var(--mkhge-black); color: #fff; }
.mkhge__headline-result span { color: var(--mkhge-orange); font-size: 12px; font-weight: 850; letter-spacing: .14em; }
.mkhge__headline-result strong { display: block; margin-top: 8px; font-size: clamp(30px, 5vw, 52px); line-height: 1.05; }
.mkhge__headline-result p { margin: 12px 0 0; color: #cfd4db; }
.mkhge__metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.mkhge__metric { padding: 19px; border: 1px solid var(--mkhge-line); border-radius: 14px; background: #fff; }
.mkhge__metric > span { color: var(--mkhge-gray); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.mkhge__metric > strong { display: block; margin-top: 8px; font-size: 21px; }
.mkhge__metric p { margin: 9px 0 0; color: var(--mkhge-gray); font-size: 13px; line-height: 1.5; }
.mkhge__result-section { margin-top: 38px; padding-top: 30px; border-top: 1px solid var(--mkhge-line); }
.mkhge__result-section .mkhge__eyebrow { margin-top: 0; }
.mkhge__result-section h4 { margin: 0; font-size: clamp(23px, 3vw, 32px); }
.mkhge__section-copy { max-width: 780px; color: var(--mkhge-gray); line-height: 1.65; }
.mkhge__action-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 0; list-style: none; counter-reset: action; }
.mkhge__action-list li { position: relative; min-height: 92px; padding: 18px 18px 18px 58px; border: 1px solid var(--mkhge-line); border-radius: 12px; line-height: 1.55; counter-increment: action; }
.mkhge__action-list li::before { content: counter(action); position: absolute; left: 17px; top: 17px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--mkhge-orange); color: #fff; font-weight: 900; }
.mkhge__product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 20px; }
.mkhge__product { position: relative; display: flex; flex-direction: column; padding: 18px; border: 1px solid var(--mkhge-line); border-radius: 16px; background: #fff; }
.mkhge__product img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; margin: 8px 0 15px; border-radius: 12px; background: var(--mkhge-soft); }
.mkhge__tier { align-self: flex-start; padding: 6px 9px; border-radius: 999px; background: #fff1e9; color: #b7430b; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.mkhge__product h5 { margin: 10px 0 8px; font-size: 20px; line-height: 1.25; }
.mkhge__product p { color: var(--mkhge-gray); font-size: 13px; line-height: 1.55; }
.mkhge__product .mkhge__why { color: var(--mkhge-dark); font-weight: 700; }
.mkhge__facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; margin: 12px 0; }
.mkhge__facts div { padding: 9px; border-radius: 8px; background: var(--mkhge-soft); }
.mkhge__facts span { display: block; color: var(--mkhge-gray); font-size: 10px; text-transform: uppercase; }
.mkhge__facts strong { display: block; margin-top: 3px; font-size: 13px; }
.mkhge__boundary { padding: 10px; border-left: 3px solid var(--mkhge-orange); background: #fffaf7; }
.mkhge__small { font-size: 12px !important; }
.mkhge__product-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; padding-top: 14px; }
.mkhge__product-actions .mkhge__button { padding: 9px 10px; font-size: 13px; }
.mkhge__no-product { margin-top: 18px; padding: 22px; border: 1px dashed #b8bec7; border-radius: 13px; background: var(--mkhge-soft); }
.mkhge__no-product p { margin-bottom: 0; color: var(--mkhge-gray); }
.mkhge__science { margin-top: 32px; border: 1px solid var(--mkhge-line); border-radius: 12px; }
.mkhge__science summary { padding: 17px; font-weight: 850; cursor: pointer; }
.mkhge__science-body { padding: 0 17px 17px; color: var(--mkhge-gray); line-height: 1.65; }
.mkhge__science-body a { color: #a73c0a; }
.mkhge__stop { margin-top: 24px; padding: 24px; border: 1px solid #efb6b0; border-radius: 14px; background: #fff6f5; color: #5f211c; line-height: 1.65; }
@media (max-width: 900px) {
  .mkhge__choice-grid--four, .mkhge__metric-grid { grid-template-columns: repeat(2, 1fr); }
  .mkhge__product-grid { grid-template-columns: 1fr; }
}
@media (max-width: 660px) {
  .mkhge { margin: 12px auto; }
  .mkhge__hero { padding: 26px 20px 32px; }
  .mkhge__brand-lockup { display: grid; grid-template-columns: 1fr; gap: 4px; width: 100%; padding: 20px 18px 16px; }
  .mkhge__brand-main { font-size: clamp(34px, 12vw, 50px); line-height: .92; }
  .mkhge__brand-engine { font-size: clamp(23px, 8.2vw, 34px); line-height: .96; }
  .mkhge__brand-version { grid-column: 1; margin-top: 10px; }
  .mkhge__hero h2 { max-width: 34rem; font-size: clamp(18px, 5.6vw, 23px); line-height: 1.3; }
  .mkhge__hero > p:last-child { font-size: 14px; line-height: 1.6; }
  .mkhge__hero, .mkhge__form, .mkhge__results { border-radius: 14px; }
  .mkhge__progress { overflow-x: auto; grid-template-columns: repeat(4, minmax(94px, 1fr)); }
  .mkhge__progress button { min-height: 58px; padding: 8px; font-size: 11px; }
  .mkhge__progress button span { display: grid; margin: 0 auto 4px; }
  .mkhge__choice-grid--four, .mkhge__choice-grid--three, .mkhge__choice-grid--two, .mkhge__field-grid, .mkhge__field-grid--three, .mkhge__check-grid, .mkhge__metric-grid, .mkhge__action-list { grid-template-columns: 1fr; }
  .mkhge__choice span { min-height: 108px; }
  .mkhge__segmented { grid-template-columns: 1fr; }
  .mkhge__controls, .mkhge__result-top { flex-direction: column; }
  .mkhge__controls .mkhge__button, .mkhge__result-top .mkhge__button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .mkhge *, .mkhge *::before, .mkhge *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

/* Version 0.2.0: Saved Plans and Adaptive Progress Check-In */
.mkhge__saved-plan {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--mkhge-line);
  border-top: 0;
  border-radius: 0 0 24px 24px;
  background: linear-gradient(135deg, #fff 0%, #fff8f3 100%);
  box-shadow: 0 18px 60px rgba(20,25,35,.08);
}
.mkhge__saved-plan .mkhge__eyebrow { margin-top: 0; }
.mkhge__saved-plan h3 { margin: 0; font-size: clamp(25px, 3.5vw, 38px); line-height: 1.15; }
.mkhge__saved-plan p { max-width: 780px; margin: 12px 0 0; color: var(--mkhge-gray); line-height: 1.65; }
.mkhge__saved-plan .mkhge__privacy-note { margin-top: 9px; color: #7a421f; font-size: 12px; font-weight: 700; }
.mkhge__saved-actions { display: grid; min-width: 220px; gap: 9px; }
.mkhge__text-button { padding: 8px; border: 0; background: transparent; color: #8d1c14; font-size: 12px; font-weight: 750; text-decoration: underline; cursor: pointer; }
.mkhge__checkin {
  padding: clamp(24px, 5vw, 56px);
  border: 1px solid var(--mkhge-line);
  border-top: 0;
  border-radius: 0 0 24px 24px;
  background: #fff;
  box-shadow: 0 18px 60px rgba(20,25,35,.08);
}
.mkhge__checkin-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.mkhge__checkin-head .mkhge__eyebrow { margin-top: 0; }
.mkhge__checkin-head h2 { max-width: 780px; margin: 0; font-size: clamp(29px, 4.5vw, 48px); line-height: 1.06; letter-spacing: -.025em; }
.mkhge__checkin-head p:last-child { max-width: 760px; margin: 15px 0 0; color: var(--mkhge-gray); line-height: 1.65; }
.mkhge__checkin-plan { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 30px 0 38px; }
.mkhge__checkin-form { padding-top: 30px; border-top: 1px solid var(--mkhge-line); }
.mkhge__check--alert { margin-top: 24px; border-color: #efc7c4; background: #fff9f8; color: #6f2721; font-weight: 750; }
.mkhge__saved-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 28px;
  padding: 18px 20px;
  border: 1px solid #f4b68f;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff8f3, #fff);
}
.mkhge__saved-notice strong { display: block; font-size: 16px; }
.mkhge__saved-notice p { margin: 5px 0 0; color: var(--mkhge-gray); font-size: 13px; line-height: 1.5; }
.mkhge__status { margin: 26px 0; padding: 22px; border: 1px solid var(--mkhge-line); border-left-width: 5px; border-radius: 14px; }
.mkhge__status > span { display: block; font-size: 18px; font-weight: 900; }
.mkhge__status p { margin: 8px 0 0; line-height: 1.6; }
.mkhge__status--success { border-left-color: #16834b; background: #f2fbf6; color: #135b38; }
.mkhge__status--warning { border-left-color: #d47b00; background: #fff9ec; color: #6b4308; }
.mkhge__status--danger { border-left-color: #b42318; background: #fff4f3; color: #6d1b15; }
.mkhge__status--neutral { border-left-color: #69707d; background: #f5f7f9; color: #353b45; }
.mkhge__trend-card { margin: 24px 0; padding: 20px; border: 1px solid var(--mkhge-line); border-radius: 16px; background: #fff; overflow: hidden; }
.mkhge__trend-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 12px; }
.mkhge__trend-head > div { font-weight: 900; }
.mkhge__trend-head > span { color: var(--mkhge-gray); font-size: 12px; font-weight: 750; }
.mkhge__trend-card svg { display: block; width: 100%; height: auto; min-height: 190px; }
.mkhge__chart-axis { stroke: #dfe3e8; stroke-width: 1.5; }
.mkhge__chart-line { fill: none; stroke: var(--mkhge-orange); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.mkhge__chart-point { fill: #fff; stroke: var(--mkhge-orange); stroke-width: 4; }
.mkhge__chart-value { fill: var(--mkhge-black); font-size: 13px; font-weight: 850; }
.mkhge__chart-label { fill: var(--mkhge-gray); font-size: 11px; font-weight: 750; }
.mkhge__metric-grid--progress { margin-top: 18px; }
.mkhge__adjustment-note { margin: 20px 0; padding: 18px; border-left: 4px solid var(--mkhge-orange); border-radius: 0 12px 12px 0; background: #fff8f3; }
.mkhge__adjustment-note strong { display: block; }
.mkhge__adjustment-note p { margin: 6px 0 0; color: #70401f; line-height: 1.6; }
.mkhge__adherence-bars { display: grid; gap: 15px; margin-top: 20px; }
.mkhge__adherence-item > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 7px; font-size: 13px; }
.mkhge__adherence-item span { font-weight: 750; }
.mkhge__bar-track { height: 12px; overflow: hidden; border-radius: 999px; background: #e7eaee; }
.mkhge__bar-fill { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #f26522, #f58c54); transition: width .6s ease; }
.mkhge__next-date { display: inline-block; margin: 18px 0 0; padding: 10px 13px; border-radius: 9px; background: var(--mkhge-soft); font-weight: 800; }
.mkhge__result-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--mkhge-line); }

@media (max-width: 900px) {
  .mkhge__saved-plan { grid-template-columns: 1fr; }
  .mkhge__saved-actions { min-width: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mkhge__saved-actions .mkhge__text-button { grid-column: 1 / -1; }
  .mkhge__checkin-plan { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 660px) {
  .mkhge__saved-plan, .mkhge__checkin { border-radius: 0 0 14px 14px; }
  .mkhge__saved-actions, .mkhge__checkin-plan { grid-template-columns: 1fr; }
  .mkhge__checkin-head, .mkhge__saved-notice, .mkhge__result-actions { flex-direction: column; align-items: stretch; }
  .mkhge__checkin-head .mkhge__button, .mkhge__saved-notice .mkhge__button, .mkhge__result-actions .mkhge__button { width: 100%; }
  .mkhge__trend-card { padding: 14px 8px; }
  .mkhge__trend-card svg { min-height: 170px; }
}


/* Version 0.2.2: Animated Brand System and Simple / Advanced Modes */
.mkhge__brand-lockup::before {
  content: "";
  position: absolute;
  z-index: -3;
  inset: -90%;
  opacity: .22;
  background: conic-gradient(from 0deg, transparent 0 34%, rgba(242,101,34,.78) 42%, transparent 50% 84%, rgba(255,255,255,.4) 91%, transparent 100%);
  animation: mkhgeBrandOrbit 10s linear infinite;
}
.mkhge__brand-main {
  background: linear-gradient(100deg, #fff 0%, #fff 38%, #f2f4f7 48%, #fff 58%, #fff 100%);
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: mkhgeTitleShimmer 5.8s ease-in-out 1.4s infinite;
}
.mkhge__brand-engine { transform-origin: left center; animation: mkhgeEnginePulse 3.6s ease-in-out 1.3s infinite, mkhgeEngineTracking 5.2s ease-in-out 1.3s infinite; }
@keyframes mkhgeBrandOrbit { to { transform: rotate(360deg); } }
@keyframes mkhgeTitleShimmer { 0%, 55%, 100% { background-position: 100% 50%; } 72% { background-position: 0 50%; } }
@keyframes mkhgeEngineTracking { 0%, 100% { letter-spacing: .115em; } 50% { letter-spacing: .132em; } }
.mkhge__brand-lockup--css-animate { animation: mkhgeBrandEnter .76s cubic-bezier(.2,.8,.2,1) both; }
.mkhge__brand-lockup--css-animate .mkhge__brand-main { animation: mkhgeWordReveal .72s cubic-bezier(.2,.8,.2,1) .08s both, mkhgeTitleShimmer 5.8s ease-in-out 1.4s infinite; }
.mkhge__brand-lockup--css-animate .mkhge__brand-engine { animation: mkhgeWordReveal .72s cubic-bezier(.2,.8,.2,1) .18s both, mkhgeEnginePulse 3.6s ease-in-out 1.3s infinite, mkhgeEngineTracking 5.2s ease-in-out 1.3s infinite; }

.mkhge__mode-picker {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .9fr);
  align-items: center;
  gap: 30px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--mkhge-line);
  border-top: 0;
  background: linear-gradient(135deg, #fff 0%, #f7f8fa 100%);
}
.mkhge__mode-copy .mkhge__eyebrow { margin-top: 0; }
.mkhge__mode-copy h2 { margin: 0; font-size: clamp(24px, 3.2vw, 38px); line-height: 1.12; letter-spacing: -.025em; }
.mkhge__mode-copy > p:last-child { max-width: 650px; margin: 12px 0 0; color: var(--mkhge-gray); line-height: 1.6; }
.mkhge__mode-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 7px; border: 1px solid #d6dbe2; border-radius: 17px; background: #e9edf1; box-shadow: inset 0 1px 3px rgba(20,25,35,.08); }
.mkhge__mode-tabs button { position: relative; display: grid; grid-template-columns: 38px 1fr; grid-template-rows: auto auto; gap: 2px 10px; align-items: center; min-height: 88px; padding: 14px; border: 1px solid transparent; border-radius: 12px; background: transparent; color: #59616e; text-align: left; cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease; }
.mkhge__mode-tabs button:hover { transform: translateY(-1px); }
.mkhge__mode-tabs button.is-active { border-color: rgba(242,101,34,.3); background: #fff; color: var(--mkhge-black); box-shadow: 0 8px 22px rgba(20,25,35,.12), inset 0 -3px 0 var(--mkhge-orange); }
.mkhge__mode-tabs button:focus-visible { outline: 3px solid rgba(242,101,34,.3); outline-offset: 2px; }
.mkhge__mode-icon { grid-row: 1 / 3; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: #dce1e7; color: #707783; font-size: 10px; font-weight: 950; letter-spacing: .08em; }
.mkhge__mode-tabs button.is-active .mkhge__mode-icon { background: var(--mkhge-orange); color: #fff; box-shadow: 0 0 0 5px rgba(242,101,34,.10); }
.mkhge__mode-tabs strong { align-self: end; font-size: 15px; line-height: 1.2; }
.mkhge__mode-tabs small { align-self: start; color: inherit; opacity: .78; font-size: 11px; line-height: 1.35; }

.mkhge__simple-panel { border: 1px solid var(--mkhge-line); border-top: 0; border-radius: 0 0 24px 24px; background: #fff; box-shadow: 0 18px 60px rgba(20,25,35,.08); }
.mkhge__simple-form, .mkhge__simple-results { padding: clamp(24px, 5vw, 56px); }
.mkhge__simple-head > span { display: block; margin-top: 10px; color: var(--mkhge-gray); font-size: 13px; font-weight: 650; }
.mkhge__simple-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.mkhge__simple-units { margin-top: 18px; }
.mkhge__simple-consent { margin-top: 28px; }
.mkhge__simple-safety-list { display: grid; gap: 6px; margin: 0 0 12px 18px; padding: 0; color: #70401f; font-size: 13px; font-weight: 700; line-height: 1.45; }
.mkhge__simple-safety-list li::marker { color: var(--mkhge-orange); }
.mkhge__simple-controls { justify-content: flex-end; }
.mkhge__simple-controls .mkhge__button { min-width: 240px; }
.mkhge__simple-results { animation: mkhgeFade .28s ease; }
.mkhge__headline-result--simple { margin-top: 24px; }
.mkhge__metric-grid--simple { grid-template-columns: repeat(3, 1fr); }
.mkhge__simple-upgrade { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 28px; padding: 22px; border: 1px solid rgba(242,101,34,.36); border-radius: 16px; background: linear-gradient(135deg, #fff8f3, #fff); }
.mkhge__simple-upgrade span { display: block; color: var(--mkhge-orange); font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.mkhge__simple-upgrade h4 { margin: 5px 0 0; font-size: 22px; }
.mkhge__simple-upgrade p { max-width: 720px; margin: 8px 0 0; color: var(--mkhge-gray); font-size: 13px; line-height: 1.55; }
.mkhge__simple-upgrade .mkhge__button { flex: 0 0 auto; }
.mkhge__advanced-shell { animation: mkhgeFade .28s ease; }

@media (max-width: 900px) {
  .mkhge__mode-picker { grid-template-columns: 1fr; }
  .mkhge__simple-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 660px) {
  .mkhge__mode-picker { padding: 22px 18px; }
  .mkhge__mode-tabs { grid-template-columns: 1fr; }
  .mkhge__mode-tabs button { min-height: 74px; }
  .mkhge__simple-panel { border-radius: 0 0 14px 14px; }
  .mkhge__simple-grid, .mkhge__metric-grid--simple { grid-template-columns: 1fr; }
  .mkhge__simple-controls .mkhge__button { width: 100%; min-width: 0; }
  .mkhge__simple-upgrade { flex-direction: column; align-items: stretch; }
  .mkhge__simple-upgrade .mkhge__button { width: 100%; }
}

/* Version 0.3.0: Smart Macro Planner and Meal Distribution */
.mkhge__macro {
  border: 1px solid var(--mkhge-line);
  border-top: 0;
  border-radius: 0 0 24px 24px;
  background: #fff;
  box-shadow: 0 18px 60px rgba(20,25,35,.08);
  animation: mkhgeFade .28s ease;
}
.mkhge__macro-form,
.mkhge__macro-results { padding: clamp(24px, 5vw, 56px); }
.mkhge__inline-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.mkhge__saved-actions { grid-template-columns: 1fr; }
.mkhge__day-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 440px;
  gap: 6px;
  margin: 24px 0;
  padding: 6px;
  border: 1px solid #d8dde3;
  border-radius: 14px;
  background: #edf0f3;
}
.mkhge__day-toggle button {
  min-height: 44px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #636b77;
  font-weight: 850;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.mkhge__day-toggle button:hover { transform: translateY(-1px); }
.mkhge__day-toggle button.is-active {
  background: #fff;
  color: var(--mkhge-black);
  box-shadow: 0 6px 18px rgba(20,25,35,.12), inset 0 -3px 0 var(--mkhge-orange);
}
.mkhge__headline-result--macro {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 85% 10%, rgba(242,101,34,.18), transparent 32%), linear-gradient(135deg, #15181e, #272c34);
}
.mkhge__headline-result--macro::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,.10) 45%, transparent 65%);
  transform: translateX(-120%);
  animation: mkhgeMacroSweep 4.8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes mkhgeMacroSweep { 0%, 55% { transform: translateX(-120%); } 78%, 100% { transform: translateX(120%); } }
.mkhge__macro-rings {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 22px 0 28px;
}
.mkhge__macro-ring-card {
  display: grid;
  place-items: center;
  padding: 24px 18px;
  border: 1px solid var(--mkhge-line);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #fafbfc);
  text-align: center;
}
.mkhge__macro-ring {
  display: grid;
  place-items: center;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: conic-gradient(var(--mkhge-orange) var(--mkhge-ring-value), #e7eaee 0);
  animation: mkhgeRingIn .85s cubic-bezier(.2,.8,.2,1) both;
}
.mkhge__macro-ring::before {
  content: "";
  position: absolute;
  width: 98px;
  height: 98px;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(20,25,35,.05);
}
.mkhge__macro-ring { position: relative; }
.mkhge__macro-ring > div { position: relative; z-index: 1; display: flex; align-items: baseline; gap: 3px; }
.mkhge__macro-ring strong { font-size: 29px; line-height: 1; }
.mkhge__macro-ring span { color: var(--mkhge-gray); font-size: 12px; font-weight: 850; }
.mkhge__macro-ring-card h5 { margin: 14px 0 4px; font-size: 16px; }
.mkhge__macro-ring-card p { margin: 0; color: var(--mkhge-gray); font-size: 11px; font-weight: 700; }
@keyframes mkhgeRingIn { from { opacity: 0; transform: scale(.8) rotate(-30deg); } to { opacity: 1; transform: scale(1) rotate(0); } }
.mkhge__metric-grid--macro-compare { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mkhge__meal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  margin-top: 20px;
}
.mkhge__meal-card {
  padding: 18px;
  border: 1px solid var(--mkhge-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(20,25,35,.05);
}
.mkhge__meal-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mkhge__meal-head strong { font-size: 15px; }
.mkhge__meal-head span { padding: 5px 7px; border-radius: 999px; background: #fff0e7; color: #a74712; font-size: 9px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.mkhge__meal-card > b { display: block; margin-top: 13px; font-size: 22px; }
.mkhge__meal-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 14px; }
.mkhge__meal-facts > div { padding: 8px 5px; border-radius: 8px; background: var(--mkhge-soft); text-align: center; }
.mkhge__meal-facts span { display: block; color: var(--mkhge-gray); font-size: 9px; font-weight: 750; }
.mkhge__meal-facts strong { display: block; margin-top: 3px; font-size: 12px; }
.mkhge__food-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; margin-top: 20px; }
.mkhge__food-card { padding: 20px; border: 1px solid var(--mkhge-line); border-radius: 14px; background: linear-gradient(180deg, #fff, #f8f9fb); }
.mkhge__food-card h5 { margin: 0 0 12px; font-size: 16px; }
.mkhge__food-card ul { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.mkhge__food-card li { padding: 6px 9px; border: 1px solid #dfe3e8; border-radius: 999px; background: #fff; font-size: 11px; font-weight: 700; }
.mkhge__result-actions--simple { margin-top: 20px; padding-top: 0; border-top: 0; }

@media (max-width: 800px) {
  .mkhge__macro-rings,
  .mkhge__metric-grid--macro-compare,
  .mkhge__food-grid { grid-template-columns: 1fr; }
  .mkhge__macro-ring-card { grid-template-columns: auto 1fr; grid-template-rows: auto auto; justify-items: start; gap: 0 18px; text-align: left; }
  .mkhge__macro-ring { grid-row: 1 / 3; width: 106px; height: 106px; }
  .mkhge__macro-ring::before { width: 78px; height: 78px; }
  .mkhge__macro-ring strong { font-size: 23px; }
  .mkhge__macro-ring-card h5 { align-self: end; margin: 0 0 5px; }
  .mkhge__macro-ring-card p { align-self: start; }
}
@media (max-width: 660px) {
  .mkhge__macro { border-radius: 0 0 14px 14px; }
  .mkhge__inline-actions { width: 100%; }
  .mkhge__inline-actions .mkhge__button { width: 100%; }
  .mkhge__day-toggle { max-width: none; }
  .mkhge__meal-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .mkhge__headline-result--macro::after,
  .mkhge__macro-ring { animation: none !important; }
}

/* Version 0.3.1: Explicit Goal Context in the Smart Macro Planner */
.mkhge__goal-context {
  position: relative;
  overflow: hidden;
  margin-top: 18px;
  padding: 18px 20px 18px 24px;
  border: 1px solid rgba(242,101,34,.34);
  border-left: 5px solid var(--mkhge-orange);
  border-radius: 14px;
  background: linear-gradient(135deg, #171a20, #262b33);
  color: #fff;
  box-shadow: 0 12px 34px rgba(20,25,35,.15);
  animation: mkhgeGoalContextIn .45s cubic-bezier(.2,.8,.2,1) both;
}
.mkhge__goal-context::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 28%, rgba(255,255,255,.08) 46%, transparent 64%);
  transform: translateX(-120%);
  animation: mkhgeGoalContextSweep 5.4s ease-in-out infinite;
  pointer-events: none;
}
.mkhge__goal-context-label {
  position: relative;
  z-index: 1;
  display: block;
  color: #ff9a62;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .16em;
}
.mkhge__goal-context strong {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 5px;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.08;
}
.mkhge__goal-context p {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 8px 0 0;
  color: #cbd1d8;
  font-size: 12px;
  line-height: 1.55;
}
.mkhge__goal-context--result { margin: 22px 0 8px; }
.mkhge__result-subtitle { margin: 7px 0 0; color: var(--mkhge-gray); font-size: 13px; font-weight: 800; }
@keyframes mkhgeGoalContextIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes mkhgeGoalContextSweep { 0%, 62% { transform: translateX(-120%); } 82%, 100% { transform: translateX(120%); } }
@media (max-width: 660px) {
  .mkhge__goal-context { padding: 16px 16px 16px 18px; }
  .mkhge__goal-context strong { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  .mkhge__goal-context,
  .mkhge__goal-context::after { animation: none !important; }
}

/* v0.3.4 English-only typography and cross-browser motion hardening */
.mkhge--motion-enabled .mkhge__brand-lockup::before,
.mkhge--motion-enabled .mkhge__brand-lockup::after,
.mkhge--motion-enabled .mkhge__brand-main,
.mkhge--motion-enabled .mkhge__brand-engine,
.mkhge--motion-enabled .mkhge__brand-version i,
.mkhge--motion-enabled .mkhge__brand-scan {
  animation-play-state: running !important;
}

.mkhge--waapi .mkhge__brand-lockup,
.mkhge--waapi .mkhge__brand-main,
.mkhge--waapi .mkhge__brand-engine,
.mkhge--waapi .mkhge__brand-version {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.mkhge select {
  min-height: 48px;
  font-weight: 650;
  letter-spacing: .005em;
}

.mkhge__field > span,
.mkhge__choice strong,
.mkhge__check strong,
.mkhge__metric strong {
  font-family: var(--mkhge-font-display);
}

@media (max-width: 782px) {
  .mkhge__brand-main,
  .mkhge__brand-engine {
    font-stretch: normal;
  }
}

/* Version 0.3.8: Front-End UI and UX Refinement */
.mkhge {
  --mkhge-focus: rgba(242, 101, 34, .24);
  --mkhge-shadow-soft: 0 12px 34px rgba(18, 22, 30, .08);
  --mkhge-shadow-strong: 0 24px 70px rgba(18, 22, 30, .14);
}

.mkhge__hero-facts {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.mkhge__hero-facts span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: #dfe4ea;
  font-family: var(--mkhge-font-display);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .045em;
}

.mkhge__live-status {
  position: fixed;
  z-index: 99999;
  left: 50%;
  bottom: max(22px, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 11px;
  width: min(92vw, 430px);
  padding: 14px 18px;
  border: 1px solid rgba(242,101,34,.38);
  border-radius: 14px;
  background: rgba(17,19,23,.96);
  color: #fff;
  box-shadow: 0 18px 60px rgba(0,0,0,.28);
  transform: translateX(-50%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.mkhge__live-status strong { font-size: 13px; letter-spacing: .01em; }
.mkhge__status-spinner {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border: 2px solid rgba(255,255,255,.24);
  border-top-color: var(--mkhge-orange);
  border-radius: 50%;
  animation: mkhgeStatusSpin .75s linear infinite;
}
@keyframes mkhgeStatusSpin { to { transform: rotate(360deg); } }

.mkhge__mode-tabs button { grid-template-rows: auto auto auto; }
.mkhge__mode-tabs button em {
  grid-column: 2;
  display: inline-flex;
  width: max-content;
  margin-top: 4px;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(89,97,110,.10);
  color: inherit;
  font-size: 9px;
  font-style: normal;
  font-weight: 850;
  letter-spacing: .045em;
  text-transform: uppercase;
}
.mkhge__mode-tabs button.is-active em { background: #fff0e7; color: #a74712; }

.mkhge__progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 24px 12px;
  border: 1px solid var(--mkhge-line);
  border-bottom: 0;
  background: #fff;
}
.mkhge__progress-meta > div { display: grid; gap: 2px; }
.mkhge__progress-meta span {
  color: var(--mkhge-gray);
  font-family: var(--mkhge-font-display);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .075em;
  text-transform: uppercase;
}
.mkhge__progress-meta strong { font-size: 18px; }
.mkhge__progress-track {
  height: 5px;
  overflow: hidden;
  border-inline: 1px solid var(--mkhge-line);
  background: #edf0f3;
}
.mkhge__progress-track span {
  display: block;
  width: 25%;
  height: 100%;
  border-radius: 0 999px 999px 0;
  background: linear-gradient(90deg, #d84e0c, var(--mkhge-orange), #ff9a62);
  box-shadow: 0 0 18px rgba(242,101,34,.32);
  transition: width .32s cubic-bezier(.2,.8,.2,1);
}
.mkhge__progress button {
  display: grid;
  grid-template-columns: 32px 1fr;
  grid-template-rows: auto auto;
  align-content: center;
  align-items: center;
  gap: 2px 9px;
  padding: 12px 14px;
  text-align: left;
}
.mkhge__progress button span { grid-row: 1 / 3; margin: 0; }
.mkhge__progress button strong { font-size: 13px; line-height: 1.2; }
.mkhge__progress button small { color: inherit; opacity: .7; font-size: 10px; line-height: 1.25; }
.mkhge__progress button.is-complete span::before { content: "✓"; }
.mkhge__progress button.is-complete span { font-size: 0; }
.mkhge__progress button.is-complete span::before { font-size: 13px; }

.mkhge__form--wizard { position: relative; }
.mkhge__section-head { max-width: 850px; }
.mkhge__section-head h3 { letter-spacing: -.025em; }
.mkhge__choice span,
.mkhge__field input,
.mkhge__field select,
.mkhge__check,
.mkhge__segmented span {
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}
.mkhge__choice:hover span { transform: translateY(-1px); border-color: #bcc3cc; box-shadow: var(--mkhge-shadow-soft); }
.mkhge__choice input:checked + span { box-shadow: 0 0 0 3px rgba(242,101,34,.12), var(--mkhge-shadow-soft); }
.mkhge__field input,
.mkhge__field select { min-height: 56px; border-radius: 12px; font-size: 15px; }
.mkhge__field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 42px;
  background-image: linear-gradient(45deg, transparent 50%, #68707c 50%), linear-gradient(135deg, #68707c 50%, transparent 50%);
  background-position: calc(100% - 19px) 50%, calc(100% - 14px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.mkhge__field input:hover,
.mkhge__field select:hover { border-color: #aeb6c0; }
.mkhge__field input:focus-visible,
.mkhge__field select:focus-visible,
.mkhge__button:focus-visible,
.mkhge__text-button:focus-visible,
.mkhge__progress button:focus-visible {
  outline: 3px solid var(--mkhge-focus);
  outline-offset: 2px;
}
.mkhge__check { min-height: 48px; padding: 11px 12px; border: 1px solid transparent; border-radius: 11px; }
.mkhge__check:hover { border-color: var(--mkhge-line); background: #fafbfc; }
.mkhge__check:has(input:checked) { border-color: rgba(242,101,34,.35); background: #fff8f3; }

.mkhge__info-button {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-left: 5px;
  padding: 0;
  border: 1px solid #cbd1d8;
  border-radius: 50%;
  background: #fff;
  color: #59616d;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  vertical-align: middle;
}
.mkhge__info-button::after {
  content: attr(data-tooltip);
  position: absolute;
  z-index: 40;
  left: 50%;
  bottom: calc(100% + 10px);
  width: min(280px, 75vw);
  padding: 10px 12px;
  border-radius: 9px;
  background: #171a20;
  color: #fff;
  font-family: var(--mkhge-font-body);
  font-size: 12px;
  font-weight: 550;
  line-height: 1.45;
  text-align: left;
  box-shadow: 0 12px 34px rgba(0,0,0,.22);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 6px);
  transition: opacity .18s ease, transform .18s ease;
}
.mkhge__info-button:hover::after,
.mkhge__info-button:focus-visible::after,
.mkhge__info-button.is-open::after { opacity: 1; transform: translate(-50%, 0); }

.mkhge__controls--wizard {
  align-items: center;
  flex-wrap: wrap;
  background: #fff;
}
.mkhge__control-hint {
  margin-right: auto;
  color: var(--mkhge-gray);
  font-size: 11px;
  font-weight: 750;
}
.mkhge__control-hint.is-ready { color: #087443; }
.mkhge__control-hint.is-ready::before { content: "✓ "; }
.mkhge__button:disabled { cursor: not-allowed; opacity: .46; filter: grayscale(.15); }
.mkhge__button.is-loading { position: relative; padding-left: 42px; }
.mkhge__button.is-loading::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-top: -8px;
  border: 2px solid rgba(255,255,255,.42);
  border-top-color: #fff;
  border-radius: 50%;
  animation: mkhgeStatusSpin .75s linear infinite;
}
.mkhge__button--ghost.is-loading::before { border-color: rgba(17,19,23,.22); border-top-color: var(--mkhge-orange); }

.mkhge__result-intro { margin: 30px 0 16px; }
.mkhge__result-intro .mkhge__eyebrow { margin: 0 0 5px; }
.mkhge__result-intro h4 { margin: 0; font-size: clamp(21px, 3vw, 29px); }
.mkhge__result-intro > p:last-child { max-width: 740px; margin: 8px 0 0; color: var(--mkhge-gray); font-size: 13px; line-height: 1.55; }

.mkhge__summary-card {
  position: relative;
  overflow: hidden;
  margin: 18px 0 24px;
  padding: clamp(20px, 4vw, 32px);
  border: 1px solid rgba(242,101,34,.28);
  border-radius: 20px;
  background: radial-gradient(circle at 90% 0%, rgba(242,101,34,.17), transparent 35%), linear-gradient(135deg, #15181d, #252b34);
  color: #fff;
  box-shadow: var(--mkhge-shadow-strong);
}
.mkhge__summary-card::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -90px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
  box-shadow: 0 0 0 30px rgba(255,255,255,.018), 0 0 0 60px rgba(255,255,255,.012);
}
.mkhge__summary-head,
.mkhge__summary-footer { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.mkhge__summary-head > div { display: flex; align-items: baseline; gap: 8px; font-family: var(--mkhge-font-tech); }
.mkhge__summary-head span { font-size: 20px; font-weight: 950; letter-spacing: .06em; }
.mkhge__summary-head strong { color: var(--mkhge-orange); font-size: 15px; letter-spacing: .10em; }
.mkhge__summary-head small { color: #bfc6d0; font-size: 9px; font-weight: 850; letter-spacing: .12em; }
.mkhge__summary-goal { position: relative; z-index: 1; margin-top: 24px; }
.mkhge__summary-goal span { display: block; color: #ff9a62; font-size: 9px; font-weight: 900; letter-spacing: .15em; }
.mkhge__summary-goal strong { display: block; margin-top: 5px; font-size: clamp(24px, 4vw, 38px); line-height: 1.05; }
.mkhge__summary-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.mkhge__summary-grid > div { padding: 13px; border: 1px solid rgba(255,255,255,.11); border-radius: 12px; background: rgba(255,255,255,.055); }
.mkhge__summary-grid span { display: block; color: #bfc6d0; font-size: 9px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.mkhge__summary-grid strong { display: block; margin-top: 6px; color: #fff; font-size: 14px; line-height: 1.3; }
.mkhge__summary-footer { margin-top: 18px; padding-top: 15px; border-top: 1px solid rgba(255,255,255,.10); }
.mkhge__summary-footer > span { color: #bbc2cb; font-size: 10px; line-height: 1.4; }
.mkhge__summary-footer .mkhge__text-button { color: #ff9a62; }

.mkhge__product { overflow: hidden; padding: 16px; box-shadow: 0 10px 30px rgba(20,25,35,.06); }
.mkhge__product:hover { border-color: #c6ccd4; box-shadow: 0 18px 42px rgba(20,25,35,.10); transform: translateY(-2px); }
.mkhge__product { transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.mkhge__product-topline { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mkhge__stock { display: inline-flex; align-items: center; gap: 5px; color: #087443; font-size: 10px; font-weight: 850; }
.mkhge__stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #11a36a; box-shadow: 0 0 0 4px rgba(17,163,106,.11); }
.mkhge__product-match { margin: 4px 0 12px; padding: 12px; border-left: 3px solid var(--mkhge-orange); border-radius: 0 9px 9px 0; background: #fff7f1; }
.mkhge__product-match > span { display: block; color: #a74712; font-size: 9px; font-weight: 900; letter-spacing: .08em; }
.mkhge__product-match .mkhge__why { margin: 6px 0 0; }
.mkhge__product-contribution { margin: 0 0 12px; color: var(--mkhge-dark) !important; }
.mkhge__overlap-note { padding: 10px 11px; border-radius: 8px; background: #fff6df; color: #6d4a00 !important; }
.mkhge__facts { grid-template-columns: repeat(2, minmax(0,1fr)); }

.mkhge__error {
  scroll-margin-top: 110px;
  border-radius: 11px;
  box-shadow: 0 8px 22px rgba(180,35,24,.08);
}
.mkhge [aria-invalid="true"] { border-color: #b42318 !important; box-shadow: 0 0 0 3px rgba(180,35,24,.11); }

@media (max-width: 900px) {
  .mkhge__summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 782px) {
  .mkhge { margin-bottom: 96px; }
  .mkhge__form--wizard { padding-bottom: 118px; }
  .mkhge__controls--wizard {
    position: fixed;
    z-index: 9990;
    left: 10px;
    right: 10px;
    bottom: 8px;
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 8px;
    margin: 0 auto;
    padding: 10px 10px calc(10px + env(safe-area-inset-bottom));
    border: 1px solid rgba(205,211,219,.92);
    border-radius: 16px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 -8px 34px rgba(20,25,35,.18);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }
  .mkhge__controls--wizard .mkhge__control-hint { grid-column: 1 / -1; margin: 0; text-align: center; }
  .mkhge__controls--wizard .mkhge__button { width: 100%; min-height: 49px; }
  .mkhge__controls--wizard [data-next]:only-of-type,
  .mkhge__controls--wizard [data-submit]:only-of-type { grid-column: 1 / -1; }
  .mkhge--editing .mkhge__controls--wizard { transform: translateY(calc(100% + 40px)); pointer-events: none; }
  .mkhge__progress-meta { padding: 14px 16px 10px; }
  .mkhge__progress { position: sticky; top: 0; z-index: 20; box-shadow: 0 8px 20px rgba(20,25,35,.08); }
  .admin-bar .mkhge__progress { top: 46px; }
  .mkhge__live-status { bottom: calc(86px + env(safe-area-inset-bottom)); }
}

@media (max-width: 660px) {
  .mkhge__hero-facts { gap: 6px; }
  .mkhge__hero-facts span { font-size: 9px; }
  .mkhge__progress button { min-width: 104px; grid-template-columns: 27px 1fr; padding: 9px 8px; }
  .mkhge__progress button span { width: 27px; height: 27px; }
  .mkhge__summary-card { border-radius: 16px; }
  .mkhge__summary-head { align-items: flex-start; }
  .mkhge__summary-head > div { display: grid; gap: 1px; }
  .mkhge__summary-grid { grid-template-columns: 1fr; }
  .mkhge__summary-footer { align-items: flex-start; flex-direction: column; }
  .mkhge__product-actions { grid-template-columns: 1fr; }
  .mkhge__info-button::after { position: fixed; left: 16px; right: 16px; bottom: calc(88px + env(safe-area-inset-bottom)); width: auto; transform: translateY(8px); }
  .mkhge__info-button:hover::after,
  .mkhge__info-button:focus-visible::after,
  .mkhge__info-button.is-open::after { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .mkhge__status-spinner,
  .mkhge__progress-track span,
  .mkhge__product,
  .mkhge__choice span { animation: none !important; transition: none !important; }
}
@media (max-width: 782px) {
  .mkhge__controls--wizard.is-first [data-next],
  .mkhge__controls--wizard.is-final [data-submit] { grid-column: 1 / -1; }
}

/* v0.3.9 Public Beta */
.mkhge__beta-banner,.mkhge__system-notice,.mkhge__beta-footer{margin:18px 0;border:1px solid rgba(247,89,0,.34);border-radius:18px;background:linear-gradient(135deg,#fff7f1,#fff);box-shadow:0 10px 30px rgba(20,25,35,.07)}
.mkhge__beta-banner{display:flex;align-items:center;gap:14px;padding:14px 18px;font-size:.92rem}.mkhge__beta-banner strong{display:inline-flex;padding:7px 11px;border-radius:999px;background:#10151d;color:#fff;letter-spacing:.12em;font-size:.75rem}.mkhge__beta-banner span{color:#303744;font-weight:700}
.mkhge__system-notice{padding:14px 18px;background:#fff4df;color:#6a3d00;font-weight:800}
.mkhge__beta-footer{display:flex;justify-content:space-between;align-items:center;gap:22px;padding:22px}.mkhge__beta-footer h3{margin:4px 0 8px}.mkhge__beta-footer p{margin:0;max-width:800px;color:#505865}.mkhge__button--feedback{white-space:nowrap}
.mkhge__feedback-modal{position:fixed;inset:0;z-index:999999;display:grid;place-items:center;padding:18px}.mkhge__feedback-modal[hidden]{display:none!important}.mkhge__feedback-backdrop{position:absolute;inset:0;background:rgba(4,8,14,.76);backdrop-filter:blur(8px)}.mkhge__feedback-dialog{position:relative;z-index:1;width:min(620px,100%);max-height:min(820px,92vh);overflow:auto;border-radius:24px;background:#fff;padding:26px;box-shadow:0 32px 100px rgba(0,0,0,.38)}.mkhge__feedback-close{position:absolute;right:16px;top:12px;border:0;background:transparent;font-size:2rem;line-height:1;cursor:pointer}.mkhge__feedback-dialog textarea{width:100%;resize:vertical}.mkhge-feedback-open{overflow:hidden}.mkhge__feedback-success{padding:12px;border-radius:12px;background:#e9f8ef;color:#146b37;font-weight:800}.mkhge__recommendation-feedback{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:18px;padding:14px 16px;border-radius:14px;background:#f6f7f9}.mkhge__recommendation-feedback .mkhge__text-button{border:1px solid #d6d9df;border-radius:999px;padding:7px 12px;background:#fff}
@media (max-width:680px){.mkhge__beta-banner,.mkhge__beta-footer{align-items:flex-start;flex-direction:column}.mkhge__button--feedback{width:100%}.mkhge__feedback-dialog{padding:22px 18px}.mkhge__feedback-modal{padding:10px}}
