.kfg-fxmm,
.kfg-fxmm * {
  box-sizing: border-box;
}

.kfg-fxmm__language-switch {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.8rem;
  font-size: 0.82rem;
  color: #667085;
}

.kfg-fxmm__language-switch span {
  margin-right: 0.2rem;
  font-weight: 700;
}

.kfg-fxmm__language-switch button {
  appearance: none;
  border: 1px solid #d0d5dd;
  border-radius: 999px;
  background: #fff;
  color: #344054;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  line-height: 1;
  padding: 0.55rem 0.8rem;
}

.kfg-fxmm__language-switch button:hover,
.kfg-fxmm__language-switch button:focus-visible {
  border-color: #d79a3b;
  outline: none;
}

.kfg-fxmm__language-switch button.is-active {
  border-color: #d79a3b;
  background: #1b2433;
  color: #f5f1e8;
}

.kfg-fxmm {
  --fxmm-ink: #172033;
  --fxmm-muted: #667085;
  --fxmm-line: #e4e7ec;
  --fxmm-soft: #f7f9fc;
  --fxmm-blue: #1769e0;
  --fxmm-blue-dark: #0d4fb3;
  --fxmm-green: #078a59;
  --fxmm-amber: #b54708;
  --fxmm-red: #c4320a;
  --fxmm-purple: #6941c6;
  color: var(--fxmm-ink);
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.75;
  margin: 24px auto;
}

.kfg-fxmm button,
.kfg-fxmm input,
.kfg-fxmm select {
  font: inherit;
}

.kfg-fxmm__shell {
  max-width: 1040px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--fxmm-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 60px rgba(23, 32, 51, .09);
}

.kfg-fxmm__pr {
  padding: 8px 18px;
  color: #475467;
  background: #f2f4f7;
  font-size: 12px;
  text-align: center;
}

.kfg-fxmm__hero {
  padding: 38px 30px 30px;
  text-align: center;
  background:
    radial-gradient(circle at 10% 15%, rgba(23, 105, 224, .09), transparent 27%),
    radial-gradient(circle at 90% 10%, rgba(105, 65, 198, .08), transparent 25%),
    linear-gradient(180deg, #f6f9ff 0%, #fff 100%);
}

.kfg-fxmm__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 3px 13px;
  border-radius: 999px;
  color: var(--fxmm-blue-dark);
  background: #e9f2ff;
  font-size: 13px;
  font-weight: 800;
}

.kfg-fxmm__hero h2 {
  margin: 8px 0 12px;
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.3;
  letter-spacing: -.03em;
}

.kfg-fxmm__hero p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--fxmm-muted);
  font-size: 16px;
}

.kfg-fxmm__trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.kfg-fxmm__trust-row span {
  padding: 5px 11px;
  border: 1px solid #cfe0fb;
  border-radius: 999px;
  color: #344054;
  background: rgba(255, 255, 255, .9);
  font-size: 12px;
  font-weight: 700;
}

.kfg-fxmm__notice {
  margin: 0 26px 24px;
  padding: 15px 17px;
  border: 1px solid #f2c94c;
  border-radius: 13px;
  color: #694100;
  background: #fffbeb;
  font-size: 13px;
}

.kfg-fxmm__tabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding: 0 26px;
  border-bottom: 1px solid var(--fxmm-line);
  scrollbar-width: thin;
}

.kfg-fxmm__tabs button {
  position: relative;
  flex: 0 0 auto;
  min-height: 48px;
  padding: 10px 15px;
  border: 0;
  border-bottom: 3px solid transparent;
  color: var(--fxmm-muted);
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
}

.kfg-fxmm__tabs button:hover,
.kfg-fxmm__tabs button:focus-visible {
  color: var(--fxmm-blue);
  outline: none;
}

.kfg-fxmm__tabs button.is-active {
  border-bottom-color: var(--fxmm-blue);
  color: var(--fxmm-blue-dark);
}

.kfg-fxmm__pro-badge {
  display: inline-block;
  margin-left: 5px;
  padding: 1px 5px;
  border-radius: 5px;
  color: #fff;
  background: var(--fxmm-purple);
  font-size: 9px;
  line-height: 1.6;
  vertical-align: 1px;
}

.kfg-fxmm__panels {
  min-height: 520px;
}

.kfg-fxmm__panel {
  padding: 32px 30px 40px;
  animation: fxmmFade .22s ease;
}

.kfg-fxmm__panel[hidden] {
  display: none !important;
}

.kfg-fxmm__section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.kfg-fxmm__step,
.kfg-fxmm__result-kicker {
  color: var(--fxmm-blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
}

.kfg-fxmm__section-head h3,
.kfg-fxmm__result-head h3,
.kfg-fxmm__locked h3 {
  margin: 3px 0 7px;
  font-size: clamp(21px, 3.5vw, 29px);
  line-height: 1.45;
}

.kfg-fxmm__section-head p,
.kfg-fxmm__result-head p {
  margin: 0;
  color: var(--fxmm-muted);
  font-size: 14px;
}

.kfg-fxmm__grid {
  display: grid;
  gap: 15px;
  margin-bottom: 15px;
}

.kfg-fxmm__grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.kfg-fxmm__field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.kfg-fxmm__field > span {
  color: #344054;
  font-size: 13px;
  font-weight: 800;
}

.kfg-fxmm__field small {
  color: var(--fxmm-muted);
  font-size: 11px;
  line-height: 1.45;
}

.kfg-fxmm__field.is-required > span::after {
  content: " 必須";
  color: var(--fxmm-red);
  font-size: 10px;
}

.kfg-fxmm__field input,
.kfg-fxmm__field select {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #d0d5dd;
  border-radius: 10px;
  color: var(--fxmm-ink);
  background: #fff;
  font-size: 15px;
  outline: none;
  transition: border-color .16s ease, box-shadow .16s ease;
}

.kfg-fxmm__field input:focus,
.kfg-fxmm__field select:focus {
  border-color: var(--fxmm-blue);
  box-shadow: 0 0 0 3px rgba(23, 105, 224, .12);
}

.kfg-fxmm__suffix {
  position: relative;
}

.kfg-fxmm__suffix input {
  padding-right: 54px;
}

.kfg-fxmm__suffix em {
  position: absolute;
  top: 50%;
  right: 12px;
  color: var(--fxmm-muted);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
  transform: translateY(-50%);
}

.kfg-fxmm__check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 8px 0 20px;
  padding: 13px 15px;
  border-radius: 10px;
  background: var(--fxmm-soft);
  color: #344054;
  font-size: 13px;
  cursor: pointer;
}

.kfg-fxmm__check input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.kfg-fxmm__actions,
.kfg-fxmm__result-actions,
.kfg-fxmm__history-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.kfg-fxmm__button,
.kfg-fxmm a.kfg-fxmm__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none !important;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.kfg-fxmm__button:hover,
.kfg-fxmm__button:focus-visible {
  outline: none;
  transform: translateY(-1px);
}

.kfg-fxmm__button:disabled {
  cursor: default;
  opacity: .65;
  transform: none;
}

.kfg-fxmm__button--primary {
  color: #fff !important;
  background: var(--fxmm-blue);
  box-shadow: 0 8px 22px rgba(23, 105, 224, .2);
}

.kfg-fxmm__button--primary:hover {
  background: var(--fxmm-blue-dark);
}

.kfg-fxmm__button--secondary {
  border-color: #d0d5dd;
  color: #344054 !important;
  background: #fff;
}

.kfg-fxmm__button--danger {
  border-color: #fecdca;
  color: var(--fxmm-red) !important;
  background: #fff5f4;
}

.kfg-fxmm__error {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid #fecdca;
  border-radius: 10px;
  color: #912018;
  background: #fff5f4;
  font-size: 13px;
  font-weight: 700;
}

.kfg-fxmm__result {
  margin-top: 30px;
  padding: 25px;
  border: 1px solid #cfe0fb;
  border-radius: 16px;
  background: linear-gradient(180deg, #f8fbff, #fff 35%);
}

.kfg-fxmm__result-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 23px;
}

.kfg-fxmm__result-head h3 strong {
  color: var(--fxmm-blue-dark);
}

.kfg-fxmm__gauge {
  --score: 0;
  position: relative;
  display: grid;
  flex: 0 0 118px;
  width: 118px;
  height: 118px;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(from -90deg, #ef4444 calc(var(--score) * 1%), #e8edf5 0);
}

.kfg-fxmm__gauge::before {
  position: absolute;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #fff;
  content: "";
}

.kfg-fxmm__gauge > div,
.kfg-fxmm__gauge > span {
  position: relative;
  z-index: 1;
}

.kfg-fxmm__gauge > div {
  display: flex;
  align-items: baseline;
  margin-top: 10px;
}

.kfg-fxmm__gauge strong {
  font-size: 27px;
  line-height: 1;
}

.kfg-fxmm__gauge small {
  color: var(--fxmm-muted);
  font-size: 10px;
}

.kfg-fxmm__gauge > span {
  margin-top: -31px;
  color: #475467;
  font-size: 11px;
  font-weight: 800;
}

.kfg-fxmm__metrics {
  display: grid;
  gap: 11px;
}

.kfg-fxmm__metrics--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.kfg-fxmm__metric {
  min-width: 0;
  padding: 14px 13px;
  border: 1px solid var(--fxmm-line);
  border-radius: 11px;
  background: #fff;
}

.kfg-fxmm__metric span {
  display: block;
  margin-bottom: 4px;
  overflow: hidden;
  color: var(--fxmm-muted);
  font-size: 11px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kfg-fxmm__metric strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: clamp(15px, 2vw, 19px);
  line-height: 1.35;
}

.kfg-fxmm__metric.is-primary {
  border-color: #84adf4;
  background: #f5f9ff;
}

.kfg-fxmm__metric.is-primary strong {
  color: var(--fxmm-blue-dark);
}

.kfg-fxmm__metric.is-good {
  border-color: #abefc6;
  background: #ecfdf3;
}

.kfg-fxmm__metric.is-good strong,
.kfg-fxmm .is-positive {
  color: var(--fxmm-green);
}

.kfg-fxmm__metric.is-warn {
  border-color: #fedf89;
  background: #fffaeb;
}

.kfg-fxmm__metric.is-warn strong {
  color: var(--fxmm-amber);
}

.kfg-fxmm__metric.is-bad {
  border-color: #fecdca;
  background: #fff5f4;
}

.kfg-fxmm__metric.is-bad strong,
.kfg-fxmm .is-negative {
  color: var(--fxmm-red);
}

.kfg-fxmm__alert {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 11px;
  font-size: 13px;
}

.kfg-fxmm__alert--danger {
  border: 1px solid #fecdca;
  color: #912018;
  background: #fff5f4;
}

.kfg-fxmm__comparison {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid #d6bbfb;
  border-radius: 13px;
  background: #f9f5ff;
}

.kfg-fxmm__comparison h4,
.kfg-fxmm__chart-card h4,
.kfg-fxmm__day-stats h4,
.kfg-fxmm__table-wrap h4 {
  margin: 0 0 12px;
  font-size: 16px;
}

.kfg-fxmm__comparison-note {
  margin: 10px 0 0;
  color: #475467;
  font-size: 13px;
}

.kfg-fxmm__advice {
  margin-top: 21px;
  padding: 20px;
  border: 1px solid #d6bbfb;
  border-radius: 14px;
  background: #faf8ff;
}

.kfg-fxmm__advice-title {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 13px;
}

.kfg-fxmm__advice-title > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  background: var(--fxmm-purple);
  font-size: 12px;
  font-weight: 900;
}

.kfg-fxmm__advice-title strong,
.kfg-fxmm__advice-title small {
  display: block;
}

.kfg-fxmm__advice-title small {
  color: var(--fxmm-muted);
  font-size: 11px;
}

.kfg-fxmm__advice-list {
  display: grid;
  gap: 9px;
}

.kfg-fxmm__advice-list article {
  padding: 12px 14px;
  border-left: 4px solid #98a2b3;
  border-radius: 8px;
  background: #fff;
}

.kfg-fxmm__advice-list article.is-good { border-left-color: var(--fxmm-green); }
.kfg-fxmm__advice-list article.is-warn { border-left-color: var(--fxmm-amber); }
.kfg-fxmm__advice-list article.is-danger { border-left-color: var(--fxmm-red); }

.kfg-fxmm__advice-list strong {
  font-size: 13px;
}

.kfg-fxmm__advice-list p {
  margin: 3px 0 0;
  color: #475467;
  font-size: 12px;
}

.kfg-fxmm__upgrade {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(120deg, #344054, #101828);
}

.kfg-fxmm__upgrade strong,
.kfg-fxmm__upgrade span {
  display: block;
}

.kfg-fxmm__upgrade span {
  color: #d0d5dd;
  font-size: 12px;
}

.kfg-fxmm__upgrade a {
  flex: 0 0 auto;
  padding: 9px 14px;
  border-radius: 9px;
  color: #101828 !important;
  background: #fff;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none !important;
}

.kfg-fxmm__mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 150px;
  margin: 22px 0;
  padding: 14px;
  border: 1px solid var(--fxmm-line);
  border-radius: 12px;
  background: linear-gradient(180deg, #fff, var(--fxmm-soft));
}

.kfg-fxmm__mini-chart span {
  flex: 1;
  min-width: 3px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, #1769e0, #84adf4);
}

.kfg-fxmm__table-wrap {
  overflow-x: auto;
  margin-top: 20px;
}

.kfg-fxmm__table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 13px;
}

.kfg-fxmm__table th,
.kfg-fxmm__table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--fxmm-line);
  text-align: right;
  white-space: nowrap;
}

.kfg-fxmm__table th:first-child,
.kfg-fxmm__table td:first-child {
  text-align: left;
}

.kfg-fxmm__table th {
  color: #475467;
  background: var(--fxmm-soft);
  font-size: 11px;
}

.kfg-fxmm__skip td {
  color: var(--fxmm-muted);
  text-align: center !important;
}

.kfg-fxmm__history-limit {
  flex: 0 0 auto;
  padding: 5px 10px;
  border-radius: 999px;
  color: #475467;
  background: var(--fxmm-soft);
  font-size: 11px;
  font-weight: 800;
}

.kfg-fxmm__history-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.kfg-fxmm__history-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 16px;
  border: 1px solid var(--fxmm-line);
  border-radius: 11px;
  background: #fff;
}

.kfg-fxmm__history-item > div {
  min-width: 0;
}

.kfg-fxmm__history-item span,
.kfg-fxmm__history-item strong,
.kfg-fxmm__history-item p {
  display: block;
}

.kfg-fxmm__history-item span {
  color: var(--fxmm-muted);
  font-size: 10px;
}

.kfg-fxmm__history-item strong {
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kfg-fxmm__history-item p {
  margin: 2px 0 0;
  color: #475467;
  font-size: 12px;
}

.kfg-fxmm__history-item button {
  flex: 0 0 auto;
  padding: 6px 9px;
  border: 1px solid #fecdca;
  border-radius: 7px;
  color: var(--fxmm-red);
  background: #fff5f4;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
}

.kfg-fxmm__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 45px 20px;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  color: var(--fxmm-muted);
  text-align: center;
}

.kfg-fxmm__empty strong {
  color: #344054;
}

.kfg-fxmm__empty span {
  font-size: 12px;
}

.kfg-fxmm__upgrade-inline {
  margin-top: 18px;
  padding: 17px;
  border: 1px solid #d6bbfb;
  border-radius: 12px;
  background: #f9f5ff;
}

.kfg-fxmm__upgrade-inline p {
  margin: 3px 0 0;
  color: #475467;
  font-size: 12px;
}

.kfg-fxmm__locked {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 660px;
  margin: 35px auto;
  padding: 42px 28px;
  border: 1px solid #d6bbfb;
  border-radius: 16px;
  background: linear-gradient(180deg, #f9f5ff, #fff);
  text-align: center;
}

.kfg-fxmm__locked-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 15px;
  background: #eee7ff;
  font-size: 28px;
}

.kfg-fxmm__locked p {
  max-width: 560px;
  margin: 0 0 20px;
  color: var(--fxmm-muted);
  font-size: 14px;
}

.kfg-fxmm__locked small {
  max-width: 560px;
  margin-top: 14px;
  color: var(--fxmm-muted);
  font-size: 11px;
}

.kfg-fxmm__locked code {
  padding: 2px 5px;
  border-radius: 4px;
  color: #344054;
  background: #f2f4f7;
}

.kfg-fxmm__dropzone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  padding: 25px;
  border: 2px dashed #b2ccff;
  border-radius: 15px;
  background: #f8fbff;
  text-align: center;
  transition: border-color .15s ease, background .15s ease;
}

.kfg-fxmm__dropzone.is-dragging {
  border-color: var(--fxmm-blue);
  background: #edf5ff;
}

.kfg-fxmm__dropzone input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.kfg-fxmm__dropzone-icon {
  display: grid;
  width: 56px;
  height: 56px;
  margin-bottom: 10px;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: var(--fxmm-blue);
  font-size: 13px;
  font-weight: 900;
}

.kfg-fxmm__dropzone strong {
  font-size: 16px;
}

.kfg-fxmm__dropzone span {
  color: var(--fxmm-muted);
  font-size: 12px;
}

.kfg-fxmm__csv-status {
  margin-top: 13px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
}

.kfg-fxmm__csv-status.is-loading {
  color: #175cd3;
  background: #eff8ff;
}

.kfg-fxmm__csv-status.is-success {
  color: #027a48;
  background: #ecfdf3;
}

.kfg-fxmm__csv-status.is-error {
  color: #912018;
  background: #fff5f4;
}

.kfg-fxmm__chart-card,
.kfg-fxmm__day-stats {
  margin-top: 20px;
  padding: 17px;
  border: 1px solid var(--fxmm-line);
  border-radius: 12px;
  background: #fff;
}

.kfg-fxmm__chart-card canvas {
  display: block;
  width: 100%;
  max-width: 100%;
}

.kfg-fxmm__day-stats > div {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 7px;
}

.kfg-fxmm__day-stats span {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 9px 5px;
  border-radius: 8px;
  background: var(--fxmm-soft);
}

.kfg-fxmm__day-stats strong,
.kfg-fxmm__day-stats em,
.kfg-fxmm__day-stats small {
  font-style: normal;
}

.kfg-fxmm__day-stats em {
  font-size: 12px;
  font-weight: 800;
}

.kfg-fxmm__day-stats small {
  color: var(--fxmm-muted);
  font-size: 9px;
}

.kfg-fxmm__privacy-note {
  margin-top: 16px;
  padding: 11px 13px;
  border-radius: 9px;
  color: #475467;
  background: var(--fxmm-soft);
  font-size: 11px;
  text-align: center;
}

.kfg-fxmm__footer {
  padding: 19px 28px 23px;
  border-top: 1px solid var(--fxmm-line);
  color: var(--fxmm-muted);
  background: #fafbfc;
  font-size: 11px;
  text-align: center;
}

.kfg-fxmm__footer p {
  margin: 0;
}

.kfg-fxmm__footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 7px;
}

.kfg-fxmm__footer a {
  color: var(--fxmm-blue-dark);
  font-weight: 700;
}

@keyframes fxmmFade {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 820px) {
  .kfg-fxmm__grid--3,
  .kfg-fxmm__metrics--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kfg-fxmm__day-stats > div {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .kfg-fxmm {
    margin: 14px auto;
  }

  .kfg-fxmm__shell {
    border-radius: 14px;
  }

  .kfg-fxmm__hero {
    padding: 28px 18px 22px;
  }

  .kfg-fxmm__hero p {
    font-size: 14px;
  }

  .kfg-fxmm__notice {
    margin: 0 14px 18px;
  }

  .kfg-fxmm__tabs {
    padding: 0 10px;
  }

  .kfg-fxmm__tabs button {
    padding: 9px 11px;
    font-size: 12px;
  }

  .kfg-fxmm__panel {
    padding: 24px 16px 30px;
  }

  .kfg-fxmm__section-head,
  .kfg-fxmm__result-head,
  .kfg-fxmm__upgrade {
    flex-direction: column;
  }

  .kfg-fxmm__grid--3,
  .kfg-fxmm__metrics--4 {
    grid-template-columns: 1fr;
  }

  .kfg-fxmm__actions,
  .kfg-fxmm__result-actions,
  .kfg-fxmm__history-actions {
    flex-direction: column;
  }

  .kfg-fxmm__button,
  .kfg-fxmm a.kfg-fxmm__button {
    width: 100%;
  }

  .kfg-fxmm__result {
    padding: 18px 14px;
  }

  .kfg-fxmm__gauge {
    align-self: center;
  }

  .kfg-fxmm__upgrade a {
    width: 100%;
    text-align: center;
  }

  .kfg-fxmm__day-stats > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kfg-fxmm__history-item {
    align-items: flex-start;
  }

  .kfg-fxmm__footer {
    padding: 18px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kfg-fxmm *,
  .kfg-fxmm *::before,
  .kfg-fxmm *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

.kfg-fxmm[data-plan="pro"] .kfg-fxmm__upgrade { display: none; }
