.msjt-type {
  background: #ffffff;
  border: 1px solid #d4dfd6;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(24, 48, 34, 0.06);
  overflow: hidden;
}
.msjt-type [hidden] {
  display: none !important;
}
.msjt-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.msjt-type-bar {
  background: #163a2a;
  color: #ffffff;
  padding: 12px 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.msjt-type-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.msjt-ttab {
  background: rgba(255, 255, 255, 0.1);
  color: #cfe0d4;
  border: 0;
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.msjt-ttab.is-active {
  background: #2f7d4f;
  color: #ffffff;
}
.msjt-type-stats {
  display: flex;
  gap: 10px;
  align-items: center;
}
.msjt-tstat {
  background: rgba(255, 255, 255, 0.09);
  padding: 5px 11px;
  border-radius: 8px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.msjt-tstat span {
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: #bfd0c4;
}
.msjt-tstat strong {
  font-size: 17px;
  font-variant-numeric: tabular-nums;
}
.msjt-tstat-clock {
  background: #0e261b;
  border: 1px solid rgba(243, 201, 105, 0.45);
}
.msjt-tstat-clock strong {
  color: #f3c969;
}
.msjt-type-body {
  padding: 18px 20px;
}
.msjt-passage-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.msjt-badge-green,
.msjt-badge-gold {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  margin-right: 8px;
}
.msjt-badge-green {
  background: #e2f0e6;
  color: #1d5a38;
}
.msjt-badge-gold {
  background: #f6eed9;
  color: #775112;
}
.msjt-passage-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.msjt-tbtn {
  border: 1px solid #cbd8ce;
  background: #ffffff;
  color: #243829;
  border-radius: 8px;
  padding: 7px 13px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.msjt-tbtn-primary {
  background: #2f7d4f;
  border-color: #2f7d4f;
  color: #ffffff;
}
.msjt-target-text {
  background: #f6f9f6;
  border: 1px solid #dbe5dd;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 15.5px;
  line-height: 1.7;
  margin-bottom: 12px;
  user-select: none;
}
.msjt-w-ok {
  color: #1b5231;
  background: rgba(47, 125, 79, 0.1);
  border-radius: 3px;
}
.msjt-w-err {
  color: #a1261b;
  background: rgba(214, 69, 53, 0.18);
  text-decoration: underline;
  border-radius: 3px;
}
.msjt-w-cur {
  border-bottom: 2px solid #d9a441;
  font-weight: 600;
}
.msjt-type-input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #c4d4c8;
  border-radius: 10px;
  padding: 11px 13px;
  font-family: inherit;
  font-size: 14.5px;
  line-height: 1.55;
}
.msjt-type-input:focus {
  outline: 2px solid #2f7d4f;
  border-color: #2f7d4f;
}
.msjt-paste-note {
  margin: 0 20px 14px;
  padding: 8px 12px;
  background: #fdf4f2;
  border: 1px solid #e6bfb8;
  border-radius: 8px;
  font-size: 12.5px;
  color: #8c2f23;
}
.msjt-tbtn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}
.msjt-compose-scenario {
  margin: 0 0 14px;
  padding: 12px 14px;
  background: #f6f9f6;
  border-left: 3px solid #2f7d4f;
  border-radius: 0 8px 8px 0;
  font-size: 14.5px;
  line-height: 1.58;
}
.msjt-compose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.msjt-compose-box {
  border: 1px solid #d7e2d9;
  border-radius: 10px;
  padding: 12px;
}
.msjt-compose-qhead {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  color: #1b5231;
  margin-bottom: 4px;
}
.msjt-compose-box p {
  margin: 0 0 8px;
  font-size: 13.5px;
  font-weight: 600;
}
.msjt-compose-foot {
  margin-top: 12px;
  display: flex;
  justify-content: flex-end;
}
.msjt-type-report {
  border-top: 2px solid #2f7d4f;
  background: #f8fbf8;
  padding: 18px 20px;
}
.msjt-type-report h2 {
  margin: 0 0 6px;
  font-size: 19px;
}
.msjt-type-report p {
  margin: 0 0 14px;
  font-size: 14px;
  color: #465a4a;
}
.msjt-treport-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.msjt-tr-card {
  background: #ffffff;
  border: 1px solid #d7e2d9;
  border-radius: 10px;
  padding: 10px 12px;
}
.msjt-tr-card span {
  display: block;
  font-size: 11.5px;
  color: #526355;
}
.msjt-tr-card strong {
  font-size: 18px;
  color: #163a2a;
}
@media (max-width: 720px) {
  .msjt-compose-grid {
    grid-template-columns: 1fr;
  }
}