.tmi {
  background: #172333;
  color: #f8eedc;
  border: 1px solid #a98751;
  border-radius: 14px;
  padding: clamp(1rem, 5vw, 2.5rem);
}
.tmi label { display: grid; gap: .3rem; margin: .6rem 0; }
.tmi form > label[for] { margin-bottom: .25rem; }
.tmi input, .tmi textarea, .tmi select {
  display: block; width: 100%; box-sizing: border-box; padding: .65rem;
  font: inherit; color: #fff7e9; background: #111b29; border: 1px solid #93794e;
  border-radius: 5px;
}
.tmi textarea { resize: vertical; }
.tmi button {
  margin: .3rem .35rem .3rem 0; padding: .55rem .8rem; min-height: 44px;
  font: inherit; font-weight: 600; border-radius: 5px; color: #171510; background: #e7c48c;
  border: 1px solid #e7c48c; cursor: pointer;
}
.tmi button:disabled { opacity: .65; cursor: wait; }
.tmi :focus-visible { outline: 2px solid #fff4cd; outline-offset: 3px; }
.tmi a { color: #f4d29b; text-decoration: underline; }
.tmi-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: .6rem 1rem; }
.tmi details, .tmi-card { border-top: 1px solid #8c764f; padding: .85rem 0; }
.tmi summary { cursor: pointer; padding: .35rem 0; }
.tmi-answer { white-space: pre-wrap; }
.tmi-note { color: #e3d3b9; font-size: .92rem; }
