/* C103: route-specific manual references and an explicitly reviewed USD estimate. */
html[data-theme] #modalContent [data-functional-account-fx] {
  grid-column: 1 / -1;
  min-width: 0;
}
html[data-theme] #modalContent [data-functional-account-fx] > summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  padding: 8px 0;
}
html[data-theme] #modalContent [data-functional-account-fx] > p {
  font-size: 13px;
  line-height: 1.6;
  margin: 8px 0 16px;
}
html[data-theme] #modalContent [data-functional-account-fx] > .mova-form-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  margin: 0;
}
html[data-theme] #modalContent [data-functional-account-fx] :is(label, input) {
  min-width: 0;
}
html[data-theme] #modalContent [data-functional-account-fx] input {
  width: 100%;
  box-sizing: border-box;
}

html[data-theme] #page .settings-data-grid:has(.fx-settings-editor) .fx-example {
  align-self: start;
  height: auto;
  min-height: 0;
  padding: 24px;
}
html[data-theme] #page .settings-data-grid:has(.fx-settings-editor) .fx-example p,
html[data-theme] #page .settings-data-grid:has(.fx-settings-editor) .fx-example > b {
  font-size: 13px;
  line-height: 1.6;
}
html[data-theme] #page .settings-data-grid:has(.fx-settings-editor) .fx-example > small { font-size: 11px; }
html[data-theme] #page .fx-settings-editor {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}
html[data-theme] #page .fx-settings-editor .fx-main-currency,
html[data-theme] #page .fx-settings-editor .fx-paxum-fees,
html[data-theme] #page .fx-settings-editor .fx-real-calculator,
html[data-theme] #page .fx-settings-editor .fx-save-controls {
  grid-column: 1 / -1;
  min-width: 0;
}
html[data-theme] #page .fx-settings-editor p,
html[data-theme] #page .fx-settings-editor label,
html[data-theme] #page .fx-settings-editor label small,
html[data-theme] #page .fx-settings-editor summary {
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: normal;
  text-transform: none;
}
html[data-theme] #page .fx-settings-editor label {
  display: grid;
  gap: 7px;
  min-width: 0;
}
html[data-theme] #page .fx-settings-editor input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  box-sizing: border-box;
  font-size: 16px;
  height: auto;
  padding: 9px 11px;
  border: 1px solid #b7a2d4;
  border-radius: 10px;
  background: #fff;
  color: #382052;
}
html[data-theme] #page .fx-settings-editor .fx-rate-field > label > div,
html[data-theme] #page .fx-settings-editor .fx-paxum-fees label > div { display: flex; align-items: center; gap: 9px; }
html[data-theme] #page .fx-settings-editor label > div > b { font-size: 12px; }
html[data-theme] #page .fx-settings-editor .fx-rate-field { min-width: 0; }
html[data-theme] #page .fx-settings-editor .fx-rate-origin { margin: 8px 0; }
html[data-theme] #page .fx-settings-editor summary {
  cursor: pointer;
  font-weight: 700;
  padding: 9px 0;
}
html[data-theme] #page .fx-settings-editor details > label { margin: 12px 0; }
html[data-theme] #page .fx-settings-editor .fx-paxum-fees,
html[data-theme] #page .fx-settings-editor .fx-calculation-inputs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
html[data-theme] #page .fx-settings-editor .fx-calculation-inputs label:last-child { grid-column: 1 / -1; }
html[data-theme] #page .fx-settings-editor .fx-real-calculator {
  border: 1px solid #c9b4ec;
  border-radius: 18px;
  padding: 14px 18px;
  background: #f7f1ff;
}
html[data-theme] #page .fx-settings-editor .fx-real-preview {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #c9b4ec;
}
html[data-theme] #page .fx-settings-editor .fx-real-preview > strong { font-size: 22px; }
html[data-theme] #page .fx-settings-editor button {
  min-height: 44px;
  white-space: normal;
  line-height: 1.4;
  font-size: 13px;
  padding: 10px 16px;
}
html[data-theme] #page .fx-settings-editor .fx-real-calculator button { margin-top: 14px; }
html[data-theme] #page .fx-settings-editor .fx-save-controls { display: grid; gap: 12px; }
html[data-theme] #page .fx-settings-editor :focus-visible { outline: 3px solid #9663ed; outline-offset: 3px; }
html[data-theme="light"] #page .fx-settings-editor p,
html[data-theme="light"] #page .fx-settings-editor label small { color: #5b4378; }
html[data-theme="dark"] #page .fx-settings-editor .fx-real-calculator { background: #261d39; border-color: #705491; }
html[data-theme="dark"] #page .fx-settings-editor .fx-real-preview { border-color: #705491; }
html[data-theme="dark"] #page .fx-settings-editor p,
html[data-theme="dark"] #page .fx-settings-editor label small { color: #d4c2ec; }
html[data-theme="dark"] #page .fx-settings-editor input { background: #21192f; border-color: #705491; color: #f8f3ff; }
@media (max-width: 760px) {
  html[data-theme] #page .fx-settings-editor { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  html[data-theme] #page .fx-settings-editor .fx-paxum-fees,
  html[data-theme] #page .fx-settings-editor .fx-calculation-inputs { grid-template-columns: minmax(0, 1fr); }
  html[data-theme] #page .fx-settings-editor .fx-real-calculator { padding: 12px; }
  html[data-theme] #page .fx-settings-editor button { width: 100%; }
}
