:root {
  --kfm-ivory: var(--ivory, #fbf8f2);
  --kfm-paper: var(--paper, #fffdf8);
  --kfm-ink: var(--ink, #403a36);
  --kfm-ink-soft: var(--ink-soft, #6e6660);
  --kfm-rosewood: var(--rosewood, #88676d);
  --kfm-rosewood-dark: var(--rosewood-dark, #6f5258);
  --kfm-oat: var(--oat, #eadcc6);
  --kfm-peach: var(--peach, #edcbb9);
  --kfm-line: var(--line, #ded5ca);
  --kfm-line-dark: var(--line-dark, #cabeb2);
}

.kfm-shell,
.kfm-shell * {
  box-sizing: border-box;
}

.kfm-shell {
  width: min(920px, calc(100vw - 64px));
  max-width: none;
  margin: 0 50%;
  color: var(--kfm-ink);
  line-height: 1.8;
  transform: translateX(-50%);
}

.kfm-page .standardPageClosing {
  display: none;
}

.kfm-recorder {
  scroll-margin-top: 28px;
}

.kfm-spBreak {
  display: none;
}

.kfm-shell button,
.kfm-shell input {
  font: inherit;
}

.standardPageContent .kfm-shell p,
.kfm-shell p {
  margin: 0;
}

.standardPageContent .kfm-shell h2,
.standardPageContent .kfm-shell h3,
.kfm-shell h2,
.kfm-shell h3 {
  border: 0;
  padding: 0;
}

.kfm-intro {
  width: min(680px, 100%);
  margin: 0 auto 78px;
  text-align: center;
}

.kfm-kicker,
.kfm-mapStep,
.kfm-historyLabel {
  color: var(--kfm-rosewood);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.standardPageContent .kfm-intro h2,
.kfm-intro h2 {
  margin: 19px 0 29px;
  color: var(--kfm-ink);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: clamp(27px, 4vw, 40px);
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: 0.055em;
}

.kfm-intro > p:not(.kfm-kicker) {
  color: var(--kfm-ink-soft);
  font-size: 14px;
  line-height: 2.1;
}

.kfm-intro > p + p {
  margin-top: 12px;
}

.kfm-recorder {
  padding: 48px 54px 43px;
  border: 1px solid var(--kfm-line);
  background: var(--kfm-ivory);
  box-shadow: 0 23px 70px rgba(91, 73, 68, 0.08);
}

.kfm-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: -48px -54px 0;
  border-bottom: 1px solid var(--kfm-line);
}

.kfm-tabs button {
  position: relative;
  min-height: 94px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 18px 25px;
  border: 0;
  border-right: 1px solid var(--kfm-line);
  border-radius: 0;
  background: rgba(255, 253, 248, 0.45);
  color: var(--kfm-ink-soft);
  cursor: pointer;
  text-align: left;
}

.kfm-tabs button:last-child {
  border-right: 0;
}

.kfm-tabs button::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: transparent;
}

.kfm-tabs button[aria-selected="true"] {
  background: var(--kfm-paper);
  color: var(--kfm-ink);
}

.kfm-tabs button[aria-selected="true"]::after {
  background: var(--kfm-rosewood);
}

.kfm-tabs button:focus-visible,
.kfm-shell button:focus-visible,
.kfm-plot:focus-visible,
.kfm-shell input:focus-visible,
.kfm-recordDetails summary:focus-visible {
  outline: 2px solid var(--kfm-rosewood);
  outline-offset: 3px;
}

.kfm-tabs button > span {
  color: var(--kfm-line-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
}

.kfm-tabs button > strong {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.035em;
}

.kfm-tabs button > small {
  min-width: 52px;
  padding: 4px 7px;
  border: 1px solid var(--kfm-line);
  color: var(--kfm-ink-soft);
  font-size: 10px;
  line-height: 1.35;
  text-align: center;
}

.kfm-tabs button > small.is-decided {
  border-color: rgba(136, 103, 109, 0.45);
  color: var(--kfm-rosewood-dark);
}

.kfm-mapPanel {
  padding-top: 54px;
}

.kfm-mapPanel[hidden] {
  display: none;
}

.kfm-mapHeader {
  text-align: center;
}

.standardPageContent .kfm-mapHeader h2,
.kfm-mapHeader h2 {
  margin: 10px 0 9px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.055em;
}

.kfm-mapInstruction {
  max-width: 600px;
  margin: 24px auto 27px !important;
  color: var(--kfm-ink-soft);
  font-size: 12px;
  line-height: 1.85;
  text-align: center;
}

.kfm-mapGrid {
  position: relative;
  width: min(730px, 100%);
  margin: 0 auto;
  padding: 40px 64px;
}

.kfm-axisLabel {
  position: absolute;
  z-index: 2;
  color: var(--kfm-ink-soft);
  font-size: 11px;
  line-height: 1.55;
  pointer-events: none;
}

.kfm-axisLabelTop,
.kfm-axisLabelBottom {
  left: 50%;
  width: max-content;
  max-width: calc(100% - 128px);
  text-align: center;
  transform: translateX(-50%);
}

.kfm-axisLabelTop {
  top: 0;
}

.kfm-axisLabelBottom {
  bottom: 0;
}

.kfm-axisLabelLeft,
.kfm-axisLabelRight {
  top: 50%;
  width: 64px;
  transform: translateY(-50%);
}

.kfm-axisLabelLeft {
  left: 0;
  padding-right: 12px;
  text-align: right;
}

.kfm-axisLabelRight {
  right: 0;
  padding-left: 12px;
  text-align: left;
}

.kfm-plot {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 0.82;
  overflow: visible;
  border: 1px solid var(--kfm-line-dark);
  background-color: var(--kfm-paper);
  background-image:
    repeating-linear-gradient(to right, transparent 0, transparent calc(25% - 1px), rgba(202, 190, 178, 0.28) calc(25% - 1px), rgba(202, 190, 178, 0.28) 25%),
    repeating-linear-gradient(to bottom, transparent 0, transparent calc(25% - 1px), rgba(202, 190, 178, 0.28) calc(25% - 1px), rgba(202, 190, 178, 0.28) 25%);
  cursor: crosshair;
  touch-action: manipulation;
}

.kfm-centerLine {
  position: absolute;
  z-index: 1;
  display: block;
  background: rgba(136, 121, 122, 0.48);
  pointer-events: none;
}

.kfm-centerLineX {
  top: 50%;
  right: 0;
  left: 0;
  height: 1px;
}

.kfm-centerLineY {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
}

.kfm-points,
.kfm-draftPoint {
  position: absolute;
  inset: 0;
  display: block;
  pointer-events: none;
}

.kfm-draftPoint::before {
  position: absolute;
  width: 13px;
  height: 13px;
  display: block;
  margin: -6.5px 0 0 -6.5px;
  border-radius: 50%;
}

.kfm-historyPoint {
  position: absolute;
  z-index: 3;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
}

.kfm-historyPoint::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  display: block;
  border: 0;
  border-radius: 50%;
  background: var(--kfm-rosewood);
  box-shadow: none;
  opacity: var(--kfm-point-opacity, 1);
  transform: translate(-50%, -50%);
}

.kfm-historyPoint.is-latest {
  z-index: 5;
}

.kfm-historyPoint.is-latest::before {
  width: 10px;
  height: 10px;
}

.kfm-draftPoint {
  z-index: 8;
  inset: auto;
  width: 0;
  height: 0;
}

.kfm-draftPoint[hidden] {
  display: none;
}

.kfm-draftPoint::before {
  content: "";
  width: 13px;
  height: 13px;
  margin: -6.5px 0 0 -6.5px;
  border: 2px solid var(--kfm-rosewood);
  border-radius: 50%;
  background: var(--kfm-peach);
  box-shadow: 0 3px 9px rgba(111, 82, 88, 0.2);
}

.kfm-pointTooltip,
.kfm-latestLabel {
  position: absolute;
  z-index: 12;
  left: 50%;
  bottom: calc(50% + 12px);
  width: max-content;
  max-width: min(290px, calc(100vw - 44px));
  padding: 7px 10px;
  border-radius: 2px;
  background: var(--kfm-rosewood-dark);
  color: #fffaf4;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.55;
  opacity: 0;
  pointer-events: none;
  text-align: left;
  transform: translateX(-50%) translateY(4px);
  transition: opacity 150ms ease, transform 150ms ease;
}

.kfm-pointTooltip::after,
.kfm-latestLabel::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  border: 4px solid transparent;
  border-top-color: var(--kfm-rosewood-dark);
  transform: translateX(-50%);
}

.kfm-historyPoint:hover .kfm-pointTooltip,
.kfm-historyPoint:focus-visible .kfm-pointTooltip,
.kfm-historyPoint.is-open .kfm-pointTooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.kfm-historyPoint.is-near-left-edge .kfm-pointTooltip {
  left: 10px;
  transform: translateX(0) translateY(4px);
}

.kfm-historyPoint.is-near-right-edge .kfm-pointTooltip {
  right: 10px;
  left: auto;
  transform: translateX(0) translateY(4px);
}

.kfm-historyPoint.is-near-left-edge:hover .kfm-pointTooltip,
.kfm-historyPoint.is-near-left-edge:focus-visible .kfm-pointTooltip,
.kfm-historyPoint.is-near-left-edge.is-open .kfm-pointTooltip,
.kfm-historyPoint.is-near-right-edge:hover .kfm-pointTooltip,
.kfm-historyPoint.is-near-right-edge:focus-visible .kfm-pointTooltip,
.kfm-historyPoint.is-near-right-edge.is-open .kfm-pointTooltip {
  transform: translateX(0) translateY(0);
}

.kfm-historyPoint.is-near-left-edge .kfm-pointTooltip::after {
  left: 10px;
  transform: none;
}

.kfm-historyPoint.is-near-right-edge .kfm-pointTooltip::after {
  right: 10px;
  left: auto;
  transform: none;
}

.kfm-latestLabel {
  bottom: auto;
  top: calc(50% + 12px);
  display: block;
  border: 1px solid var(--kfm-rosewood-dark);
  background: transparent;
  color: var(--kfm-rosewood-dark);
  opacity: 1;
  transform: translateX(-50%);
}

.kfm-latestLabel::after {
  display: none;
}

.kfm-choiceState {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 34px 0 0 92px;
  padding-top: 19px;
  border-top: 1px solid var(--kfm-line);
}

.kfm-choiceState > p {
  color: var(--kfm-ink-soft);
  font-size: 12px;
}

.kfm-skipButton,
.kfm-privacyButton,
.kfm-undoButton,
.kfm-clearButton {
  padding: 8px 0 6px;
  border: 0;
  border-bottom: 1px solid var(--kfm-line-dark);
  border-radius: 0;
  background: transparent;
  color: var(--kfm-ink-soft);
  cursor: pointer;
  font-size: 11px;
}

.kfm-skipButton[aria-pressed="true"] {
  border-color: var(--kfm-rosewood);
  color: var(--kfm-rosewood-dark);
  font-weight: 700;
}

.kfm-stepActions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 33px 0 0 92px;
}

.kfm-stepActionsSingle {
  justify-content: flex-end;
}

.kfm-primaryButton,
.kfm-secondaryButton {
  min-height: 52px;
  padding: 13px 21px;
  border: 1px solid var(--kfm-rosewood);
  border-radius: 0;
  cursor: pointer;
  font-size: 12px;
  letter-spacing: 0.035em;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.kfm-primaryButton {
  background: var(--kfm-rosewood);
  color: #fffaf4;
}

.kfm-secondaryButton {
  background: transparent;
  color: var(--kfm-rosewood-dark);
}

.kfm-primaryButton:hover,
.kfm-primaryButton:focus-visible {
  background: var(--kfm-rosewood-dark);
}

.kfm-secondaryButton:hover,
.kfm-secondaryButton:focus-visible {
  background: var(--kfm-paper);
}

.kfm-primaryButton:hover,
.kfm-secondaryButton:hover {
  transform: translateY(-1px);
}

.kfm-saveNotice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 17px 0 0 92px;
  padding: 14px 16px;
  border: 1px solid rgba(136, 103, 109, 0.38);
  background: var(--kfm-paper);
  color: var(--kfm-rosewood-dark);
  font-size: 12px;
}

.kfm-saveNotice[hidden] {
  display: none;
}

.kfm-saveNotice button {
  flex: 0 0 auto;
  padding: 5px 0;
  border: 0;
  border-bottom: 1px solid rgba(136, 103, 109, 0.45);
  border-radius: 0;
  background: transparent;
  color: var(--kfm-rosewood-dark);
  cursor: pointer;
  font-size: 10px;
}

.kfm-memoField {
  margin: 39px 0 0 92px;
  padding: 26px 0 0;
  border-top: 1px solid var(--kfm-line);
}

.kfm-memoField label {
  display: block;
  margin-bottom: 11px;
  color: var(--kfm-ink);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: 16px;
  font-weight: 600;
}

.kfm-memoInputRow {
  position: relative;
}

.kfm-memoInputRow input {
  width: 100%;
  min-height: 52px;
  padding: 11px 72px 11px 15px;
  border: 1px solid var(--kfm-line-dark);
  border-radius: 0;
  background: var(--kfm-paper);
  color: var(--kfm-ink);
  font-size: 14px;
}

.kfm-memoInputRow input::placeholder {
  color: #a59a93;
}

.kfm-memoInputRow > span {
  position: absolute;
  top: 50%;
  right: 14px;
  color: var(--kfm-ink-soft);
  font-size: 10px;
  transform: translateY(-50%);
}

.kfm-memoField > p {
  margin-top: 9px !important;
  color: var(--kfm-ink-soft);
  font-size: 10px;
}

.kfm-liveMessage {
  min-height: 1.8em;
  margin: 24px 0 0 92px !important;
  color: var(--kfm-rosewood-dark);
  font-size: 12px;
  text-align: right;
}

.kfm-liveMessage.is-error {
  color: #8a4d49;
  font-weight: 700;
}

.kfm-historySummary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 42px;
  padding: 28px 0 0;
  border-top: 1px solid var(--kfm-line-dark);
}

.kfm-historyActions {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 8px;
}

.kfm-historyCount {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 5px !important;
}

.kfm-historyCount strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 29px;
  font-weight: 400;
  line-height: 1;
}

.kfm-historyCount span {
  color: var(--kfm-ink-soft);
  font-size: 11px;
}

.kfm-undoButton:disabled,
.kfm-privacyButton:disabled,
.kfm-clearButton:disabled {
  cursor: default;
  opacity: 0.38;
}

.kfm-privacyButton[aria-pressed="true"] {
  border-color: var(--kfm-rosewood);
  color: var(--kfm-rosewood-dark);
  font-weight: 700;
}

.kfm-hiddenRecordsMessage {
  margin-top: 20px !important;
  padding: 13px 15px;
  border: 1px solid var(--kfm-line);
  background: var(--kfm-paper);
  color: var(--kfm-ink-soft);
  font-size: 11px;
  text-align: center;
}

.kfm-hiddenRecordsMessage[hidden] {
  display: none;
}

.kfm-shell.is-records-hidden .kfm-legend,
.kfm-shell.is-records-hidden .kfm-recordDetails {
  display: none;
}

.kfm-legend {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 19px;
  color: var(--kfm-ink-soft);
  font-size: 9px;
}

.kfm-legendDot {
  width: 8px;
  height: 8px;
  display: block;
  border-radius: 50%;
  background: var(--kfm-rosewood);
}

.kfm-legendDotOld {
  opacity: 0.22;
}

.kfm-legendDotMiddle {
  opacity: 0.56;
}

.kfm-recordDetails {
  margin-top: 25px;
  padding-top: 18px;
  border-top: 1px solid var(--kfm-line);
}

.kfm-recordDetails summary {
  color: var(--kfm-rosewood-dark);
  cursor: pointer;
  font-size: 11px;
}

.kfm-emptyRecords {
  margin-top: 18px !important;
  color: var(--kfm-ink-soft);
  font-size: 11px;
}

.kfm-recordList {
  margin: 18px 0 0 !important;
  padding: 0 !important;
  list-style: none;
}

.kfm-recordItem {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--kfm-line);
}

.kfm-recordItem time {
  color: var(--kfm-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
}

.kfm-recordItem p {
  margin-top: 5px !important;
  color: var(--kfm-ink-soft);
  font-size: 11px;
  line-height: 1.7;
}

.kfm-recordDelete {
  align-self: center;
  padding: 5px 0;
  border: 0;
  border-bottom: 1px solid var(--kfm-line);
  border-radius: 0;
  background: transparent;
  color: var(--kfm-ink-soft);
  cursor: pointer;
  font-size: 9px;
}

.kfm-clearButton {
  margin-top: 18px;
  color: #845754;
}

.kfm-explainers {
  width: min(760px, 100%);
  margin: 94px auto 0;
  border-top: 1px solid var(--kfm-line-dark);
}

.kfm-explainer {
  display: grid;
  grid-template-columns: minmax(210px, 0.85fr) minmax(0, 1.5fr);
  gap: 48px;
  padding: 37px 0 39px;
  border-bottom: 1px solid var(--kfm-line);
}

.standardPageContent .kfm-explainer > h2,
.kfm-explainer > h2 {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.75;
  letter-spacing: 0.045em;
}

.kfm-explainerText > p {
  margin: 0 !important;
  color: var(--kfm-ink-soft);
  font-size: 14px;
  line-height: 2.05;
}

.kfm-explainerText > p + p {
  margin-top: 17px !important;
}

.kfm-reading {
  width: min(720px, 100%);
  margin: 94px auto 0;
}

.standardPageContent .kfm-reading > h2,
.kfm-reading > h2 {
  margin: 0 0 29px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: 0.055em;
}

.kfm-reading > p {
  margin-bottom: 22px !important;
  color: var(--kfm-ink-soft);
  font-size: 14px;
  line-height: 2.05;
}

.kfm-storageNote {
  margin-top: 45px;
  padding: 31px 34px 29px;
  border: 1px solid var(--kfm-line);
  background: var(--kfm-ivory);
}

.standardPageContent .kfm-storageNote h3,
.kfm-storageNote h3 {
  margin: 0 0 17px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: 17px;
  font-weight: 600;
}

.standardPageContent .kfm-storageNote ul,
.kfm-storageNote ul {
  margin: 0;
  padding-left: 1.35em;
  color: var(--kfm-ink-soft);
  font-size: 11px;
  line-height: 1.9;
}

.kfm-pageClosing {
  margin: 94px 0 -128px;
  padding: 92px 0 96px;
  background: var(--kfm-ivory);
  box-shadow: 0 0 0 100vmax var(--kfm-ivory);
  clip-path: inset(0 -100vmax);
  text-align: center;
}

.kfm-closingInner {
  width: min(820px, calc(100% - 44px));
  margin: 0 auto;
}

.standardPageContent .kfm-closingInner > p,
.kfm-closingInner > p {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: clamp(22px, 2.35vw, 32px);
  line-height: 1.75;
  letter-spacing: 0.075em;
}

.standardPageContent .kfm-closingInner > p:first-child,
.kfm-closingInner > p:first-child {
  color: var(--kfm-rosewood);
  font-size: 14px;
}

.standardPageContent .kfm-closingInner > a,
.kfm-closingInner > a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 38px;
  color: var(--kfm-ink-soft);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-decoration: none;
}

@media (max-width: 680px) {
  .kfm-pcBreak {
    display: none;
  }

  .kfm-spBreak {
    display: inline;
  }

  .kfm-shell {
    width: calc(100vw - 24px);
  }

  .kfm-intro {
    margin-bottom: 52px;
    text-align: left;
  }

  .standardPageContent .kfm-intro h2,
  .kfm-intro h2 {
    margin: 15px 0 22px;
    font-size: 27px;
    line-height: 1.65;
  }

  .kfm-intro > p:not(.kfm-kicker) {
    font-size: 13px;
    line-height: 2;
  }

  .kfm-recorder {
    padding: 34px 12px 30px;
  }

  .kfm-tabs {
    margin: -34px -12px 0;
  }

  .kfm-tabs button {
    min-height: 90px;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 7px;
    padding: 14px 11px;
  }

  .kfm-tabs button > strong {
    font-size: 14px;
  }

  .kfm-tabs button > small {
    grid-column: 2;
    justify-self: start;
    min-width: 48px;
    padding: 2px 5px;
    font-size: 8px;
  }

  .kfm-mapPanel {
    padding-top: 42px;
  }

  .standardPageContent .kfm-mapHeader h2,
  .kfm-mapHeader h2 {
    font-size: 23px;
  }

  .kfm-mapInstruction {
    margin: 18px auto 22px !important;
    font-size: 11px;
    text-align: left;
  }

  .kfm-mapGrid {
    width: calc(100% + 16px);
    margin-left: -8px;
    padding: 34px 36px;
  }

  .kfm-axisLabel {
    font-size: 9px;
    line-height: 1.45;
  }

  .kfm-axisLabelTop,
  .kfm-axisLabelBottom {
    max-width: calc(100% - 72px);
  }

  .kfm-axisLabelLeft,
  .kfm-axisLabelRight {
    width: 36px;
  }

  .kfm-axisLabelLeft {
    padding-right: 5px;
  }

  .kfm-axisLabelRight {
    padding-left: 5px;
  }

  .kfm-plot {
    aspect-ratio: 1 / 1;
  }

  .kfm-pointTooltip {
    max-width: calc(100vw - 44px);
    white-space: normal;
  }

  .kfm-latestLabel {
    max-width: 156px;
    white-space: normal;
  }

  .kfm-choiceState,
  .kfm-stepActions,
  .kfm-memoField,
  .kfm-saveNotice,
  .kfm-liveMessage {
    margin-left: 0 !important;
  }

  .kfm-choiceState {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-top: 27px;
  }

  .kfm-stepActions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .kfm-stepActionsSingle {
    align-items: stretch;
  }

  .kfm-primaryButton,
  .kfm-secondaryButton {
    width: 100%;
  }

  .kfm-memoField {
    margin-top: 30px;
  }

  .kfm-saveNotice {
    align-items: flex-start;
    margin-top: 15px;
    padding: 13px 14px;
  }

  .kfm-liveMessage {
    margin-top: 18px !important;
    text-align: left;
  }

  .kfm-historySummary {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .kfm-historyActions {
    align-items: flex-start;
  }

  .kfm-legend {
    justify-content: flex-start;
  }

  .kfm-explainers {
    margin-top: 70px;
  }

  .kfm-explainer {
    display: block;
    padding: 29px 0 31px;
  }

  .standardPageContent .kfm-explainer > h2,
  .kfm-explainer > h2 {
    margin-bottom: 16px;
    font-size: 22px;
    line-height: 1.65;
  }

  .kfm-explainerText > p {
    font-size: 13px;
    line-height: 2;
  }

  .kfm-explainerText > p + p {
    margin-top: 14px !important;
  }

  .kfm-reading {
    margin-top: 70px;
  }

  .standardPageContent .kfm-reading > h2,
  .kfm-reading > h2 {
    font-size: 24px;
  }

  .kfm-reading > p {
    font-size: 13px;
  }

  .kfm-storageNote {
    padding: 25px 21px 23px;
  }

  .kfm-pageClosing {
    margin-top: 70px;
    margin-bottom: -88px;
    padding: 82px 0;
  }

  .standardPageContent .kfm-closingInner > p,
  .kfm-closingInner > p {
    font-size: 22px;
  }

  .standardPageContent .kfm-closingInner > p:first-child,
  .kfm-closingInner > p:first-child {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kfm-shell *,
  .kfm-shell *::before,
  .kfm-shell *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
