.fx {
  --fx-ink: #30231c;
  --fx-muted: #6c6158;
  --fx-action: #37241a;
  --fx-line: #e7d9cd;
  --fx-pale: #ffead7;
  color: var(--fx-ink);
  font-size: 15px;
  text-align: left;
  width: 100%;
}
.fx * {
  box-sizing: border-box;
}
.fx button,
.fx input,
.fx select,
.fx textarea {
  font: inherit;
}
.fx button {
  cursor: pointer;
}
.fx button:disabled {
  cursor: default;
  opacity: 0.48;
}
.fx :is(button, input, select, textarea, summary):focus-visible {
  outline: 3px solid #b95d35;
  outline-offset: 2px;
}
.fx [hidden] {
  display: none !important;
}
.fx :is(h2, h3, h4, p, ol) {
  margin: 0;
}
.fx > * + * {
  margin-top: 16px;
}
.fx :is(h2, h3, h4) {
  color: var(--fx-ink);
}
.fx .fx-intro h2 {
  font-family: inherit;
  font-size: clamp(24px, 4.5vw, 34px);
  line-height: 1.35;
  letter-spacing: -0.025em;
  font-weight: 650;
}
.fx .fx-intro p,
.fx .fx-hint {
  color: var(--fx-muted);
  font-size: 13px;
  line-height: 1.7;
}
.fx .fx-intro p {
  margin-top: 5px;
}
.fx h3 {
  font-size: 16px;
  font-weight: 680;
  line-height: 1.5;
}
.fx h4 {
  font-size: 15px;
  font-weight: 650;
}
.fx .fx-card,
.fx .fx-summary,
.fx .fx-reply,
.fx .fx-replies {
  border: 1px solid var(--fx-line);
  border-radius: 17px;
  padding: 19px;
  background: #fff;
}
.fx .fx-cardhead,
.fx .fx-actions,
.fx .fx-inline,
.fx .fx-rounds,
.fx .fx-filebar,
.fx .fx-footer {
  display: flex;
  align-items: center;
  gap: 10px;
}
.fx .fx-cardhead,
.fx .fx-actions,
.fx .fx-rounds {
  justify-content: space-between;
}
.fx .fx-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: start;
}
.fx .fx-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 15px;
}
.fx .fx-field:first-child,
.fx .fx-two:first-child .fx-field {
  margin-top: 0;
}
.fx :is(.fx-field label, .fx-rounds label) {
  font-weight: 650;
  font-size: 13px;
}
.fx .fx-field small {
  font-weight: 400;
  color: var(--fx-muted);
  margin-left: 4px;
}
.fx :is(input, textarea, select) {
  border: 1px solid #ddcfc3;
  border-radius: 10px;
  background: #fff;
  color: var(--fx-ink);
  padding: 10px 12px;
  width: 100%;
  min-width: 0;
  line-height: 1.55;
}
.fx select {
  height: 44px;
  padding-right: 23px;
}
.fx textarea {
  resize: vertical;
  vertical-align: top;
}
.fx :is(input, textarea)::placeholder {
  color: #786b61;
}
.fx input[readonly] {
  background: #f6f0e9;
}
.fx .fx-tabs {
  display: inline-flex;
  padding: 4px;
  gap: 3px;
  border-radius: 13px;
  background: #f2e8dc;
  max-width: 100%;
}
.fx .fx-tabs button,
.fx .fx-btn {
  min-height: 42px;
  border: 0;
  line-height: 1.3;
  font-weight: 600;
  font-size: 14px;
  color: var(--fx-ink);
  background: transparent;
  padding: 10px 16px;
  border-radius: 9px;
  transition:
    background 0.15s,
    transform 0.15s;
}
.fx .fx-tabs button {
  min-width: 90px;
}
.fx .fx-tabs button[aria-pressed='true'] {
  background: white;
  color: var(--fx-action);
  box-shadow: 0 2px 5px #50415813;
}
.fx .fx-btn:hover:not(:disabled) {
  filter: brightness(0.96);
}
.fx .fx-primary {
  background: var(--fx-action);
  color: white;
  box-shadow: 0 3px 8px #72432314;
}
.fx .fx-soft {
  background: var(--fx-pale);
  color: var(--fx-action);
}
.fx .fx-link,
.fx .fx-danger {
  min-height: 38px;
  color: var(--fx-action);
  padding: 7px 3px;
  font-size: 13px;
}
.fx .fx-danger {
  color: #985953;
}
.fx .fx-icon {
  min-height: 36px;
  min-width: 34px;
  padding: 5px 7px;
  background: #f8eee4;
  color: #685345;
}
.fx .fx-actions,
.fx .fx-footer {
  flex-wrap: wrap;
}
.fx .fx-footer {
  justify-content: flex-start;
}
.fx .fx-inline select {
  flex: 1;
}
.fx .fx-inline button {
  flex-shrink: 0;
}
.fx .fx-rounds select {
  width: auto;
  max-width: 70%;
}
.fx .fx-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  border: 0;
  clip-path: inset(50%);
  overflow: hidden;
  padding: 0;
}
.fx .fx-file-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(130px, 100%), 1fr));
  gap: 10px;
}
.fx .fx-file {
  position: relative;
  background: #f9eee2;
  border: 1px solid var(--fx-line);
  border-radius: 13px;
  padding: 7px;
  min-width: 0;
}
.fx .fx-file img {
  object-fit: contain;
  display: block;
  width: 100%;
  height: 100px;
  border-radius: 7px;
  background: #fff;
}
.fx .fx-file strong {
  display: block;
  font-size: 12px;
  text-align: center;
  margin-top: 5px;
}
.fx .fx-filebar {
  gap: 3px;
  justify-content: center;
  flex-wrap: wrap;
}
.fx .fx-drop {
  min-height: 137px;
  border: 1px dashed #d9a385;
  color: var(--fx-action);
  border-radius: 13px;
  background: #fff0e2;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 4px;
}
.fx .fx-drop b {
  font-weight: 400;
  font-size: 26px;
  line-height: 1;
}
.fx .fx-drop span {
  font-size: 12px;
  color: var(--fx-muted);
}
.fx .fx-lines {
  display: grid;
  gap: 9px;
  margin: 10px 0;
}
.fx .fx-line {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) 34px;
  gap: 7px;
  align-items: start;
}
.fx .fx-line textarea {
  height: 54px;
  min-height: 44px;
}
.fx .fx-line .uncertain {
  background: #fff4dd;
  border-color: #e5ca92;
}
.fx .fx-uncertain {
  color: #7e5b30;
  font-size: 12px;
}
.fx .fx-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}
.fx .fx-meta span {
  color: var(--fx-action);
  background: var(--fx-pale);
  padding: 3px 9px;
  border-radius: 20px;
  font-size: 12px;
}
.fx .fx-meta time {
  color: var(--fx-muted);
  font-size: 12px;
  margin-left: 3px;
}
.fx .fx-summary {
  background: #ffeedd;
  border-color: #e4d9ef;
}
.fx .fx-summary p,
.fx .fx-observation p {
  font-size: 15px;
  line-height: 1.8;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin-top: 7px;
}
.fx .fx-observation {
  margin-top: 13px;
  padding-left: 12px;
  border-left: 3px solid #e9be98;
}
.fx .fx-observation button {
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--fx-action);
  font-size: 13px;
  line-height: 1.6;
  text-align: left;
  overflow-wrap: anywhere;
}
.fx .fx-replies {
  background: #fcfaf7;
}
.fx .fx-reply {
  margin-top: 11px;
  padding: 13px;
}
.fx .fx-reply:nth-of-type(2) {
  border-color: #ddded1;
}
.fx .fx-reply textarea {
  background: #faf8f6;
  border-color: #eee7e1;
  padding: 10px;
  margin: 6px 0;
  border-radius: 8px;
  min-height: 63px;
}
.fx .fx-reply p {
  font-size: 13px;
  color: var(--fx-muted);
  line-height: 1.6;
}
.fx .fx-transcript {
  border-top: 1px solid var(--fx-line);
  padding-top: 13px;
  margin-top: 17px;
}
.fx .fx-transcript summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}
.fx .fx-transcript ol {
  list-style: none;
  padding: 0;
}
.fx .fx-transcript li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  line-height: 1.6;
  padding: 9px 5px;
  border-bottom: 1px dotted var(--fx-line);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.fx .fx-transcript li:focus {
  outline: 2px solid #bd6338;
  background: var(--fx-pale);
}
.fx .fx-transcript li b {
  font-size: 12px;
  flex: 0 0 32px;
  color: var(--fx-action);
}
.fx .fx-status,
.fx .fx-example,
.fx .fx-error {
  font-size: 13px;
  line-height: 1.65;
  border-radius: 10px;
  padding: 10px 13px;
}
.fx .fx-status {
  color: var(--fx-action);
  background: var(--fx-pale);
}
.fx .fx-status:before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #dfb99b;
  border-top-color: var(--fx-action);
  margin-right: 8px;
  vertical-align: -2px;
  animation: fxspin 1s linear infinite;
}
.fx .fx-example {
  background: #faf1dc;
  color: #74591f;
}
.fx .fx-error {
  background: #fff0eb;
  color: #8f412d;
}
.fx .fx-manage {
  text-align: right;
  margin-top: 5px;
}
.fx .fx-form .fx-footer {
  margin-top: 19px;
}
@keyframes fxspin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 570px) {
  .fx .fx-card,
  .fx .fx-summary,
  .fx .fx-replies {
    padding: 14px;
    border-radius: 14px;
  }
  .fx .fx-line {
    grid-template-columns: 77px minmax(0, 1fr) 30px;
    gap: 4px;
  }
  .fx .fx-icon {
    min-width: 30px;
  }
  .fx .fx-line select {
    padding-left: 6px;
  }
  .fx .fx-inline {
    align-items: stretch;
  }
  .fx .fx-file-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(95px, 100%), 1fr));
  }
  .fx :is(input, textarea, select) {
    font-size: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .fx * {
    scroll-behavior: auto !important;
    animation-duration: 0s !important;
    transition: none !important;
  }
}
