.mhtt-wrap {
  background: #fff;
  border: 1px solid #e6e8ee;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 10px 28px rgba(17, 24, 39, .06);
  margin: 20px 0
}

.mhtt-header h2 {
  margin: 0 0 6px;
  font-size: 26px;
  line-height: 1.2;
  color: #111827;
  font-weight: 700
}

.mhtt-header p {
  margin: 0 0 16px;
  color: #6b7280;
  font-size: 15px
}

.mhtt-empty {
  padding: 18px;
  background: #f9fafb;
  border-radius: 12px;
  color: #6b7280
}

.mhtt-table-wrap {
  overflow: auto;
  border: 1px solid #e5e7eb;
  border-radius: 12px
}

.mhtt-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
  border: 0 !important;
  margin: 0 !important;
  border-spacing: 0 !important;
  background: #fff !important
}

.mhtt-wrap .mhtt-table,
.mhtt-wrap .mhtt-table thead,
.mhtt-wrap .mhtt-table tbody,
.mhtt-wrap .mhtt-table tr,
.mhtt-wrap .mhtt-table th,
.mhtt-wrap .mhtt-table td {
  font-family: inherit !important;
  line-height: 1.45 !important;
  vertical-align: middle !important;
  box-sizing: border-box !important
}

.mhtt-wrap .mhtt-table thead {
  display: table-header-group !important
}

.mhtt-wrap .mhtt-table tbody {
  display: table-row-group !important
}

.mhtt-wrap .mhtt-table tr {
  display: table-row !important;
  border: 0 !important;
  margin: 0 !important
}

.mhtt-wrap .mhtt-table th,
.mhtt-wrap .mhtt-table td {
  display: table-cell !important;
  padding: 12px 10px;
  border: 1px solid #edf0f5 !important;
  border-left-width: 1px !important;
  border-right-width: 1px !important;
  border-top-width: 1px !important;
  border-bottom-width: 1px !important;
  border-color: #edf0f5 !important;
  text-align: left !important;
  font-size: 14px !important;
  background-image: none !important;
  box-shadow: none !important
}

.mhtt-wrap .mhtt-table th {
  color: #374151;
  background: #f8fafc;
  font-weight: 700;
  position: sticky;
  top: 0;
  z-index: 1
}

.mhtt-wrap .mhtt-table tbody tr:hover td {
  background: #fafcff
}

.mhtt-wrap .mhtt-table thead tr:first-child th {
  border-top: 0 !important
}

.mhtt-wrap .mhtt-table tbody tr:last-child td {
  border-bottom: 0 !important
}

.mhtt-wrap .mhtt-table tr > *:first-child {
  border-left: 0 !important
}

.mhtt-wrap .mhtt-table tr > *:last-child {
  border-right: 0 !important
}

.mhtt-btn {
  display: inline-block;
  background: #2563eb;
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none !important;
  font-weight: 600;
  border: none;
  cursor: pointer
}

.mhtt-btn:hover {
  background: #1d4ed8;
  color: #fff;
  text-decoration: none !important
}

.mhtt-btn:focus,
.mhtt-btn:active {
  color: #fff;
  text-decoration: none !important
}

.mhtt-btn-block {
  width: 100%;
  text-align: center
}

.mhtt-detail-cell {
  background: #fcfdff;
  padding: 0 10px 14px !important
}

.mhtt-details summary {
  cursor: pointer;
  font-weight: 600;
  color: #1f2937;
  padding-top: 8px
}

.mhtt-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 10px
}

.mhtt-detail-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px
}

.mhtt-detail-card h4 {
  margin: 0 0 8px;
  font-size: 14px;
  color: #111827
}

.mhtt-detail-card p {
  margin: 4px 0;
  color: #4b5563;
  font-size: 13px
}

.mhtt-wrap.mhtt-login-wrap {
  width: min(100%, 460px) !important;
  max-width: 460px !important;
  margin: 24px auto !important;
  padding: 28px
}

.mhtt-login-form {
  display: flex;
  flex-direction: column;
  gap: 10px
}

.mhtt-label {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-top: 2px
}

.mhtt-input {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.3;
  background: #fff
}

.mhtt-input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .15)
}

.mhtt-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #4b5563;
  margin: 4px 0 8px
}

.mhtt-help {
  font-size: 13px;
  color: #6b7280;
  margin: 14px 0 0
}

.mhtt-help a {
  color: #2563eb;
  text-decoration: none
}

.mhtt-help a:hover {
  text-decoration: underline
}

.mhtt-wrap:not(.mhtt-login-wrap) .mhtt-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.mhtt-wrap:not(.mhtt-login-wrap) .mhtt-header-main {
  flex: 1 1 auto;
}
.mhtt-wrap:not(.mhtt-login-wrap) .mhtt-header-actions {
  margin-left: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mhtt-logout {
  background: transparent;
  color: #374151;
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid transparent;
  box-shadow: none;
  text-decoration: none;
}
.mhtt-logout:hover {
  background: #f3f4f6;
  color: #111827;
  border-color: #e6e8ee;
}
.mhtt-logout:active {
  background: #eef2f7;
}

.mhtt-help-muted {
  color: #6b7280;
  font-weight: 500
}

.mhtt-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  margin-bottom: 10px
}

.mhtt-notice {
  background: #ecfeff;
  border: 1px solid #a5f3fc;
  color: #155e75;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  margin-bottom: 10px
}

.mhtt-inline-login-hint {
  margin-top: 6px;
  font-size: 13px
}

.mhtt-inline-login-hint a {
  color: #2563eb;
  text-decoration: underline
}