﻿.msub {
  color: #1f2937;
  font-size: 0.875rem;
  line-height: 1.45;
}
.msub-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-bottom: 0.75rem;
}
.msub-title {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 600;
  color: #111827;
}
.msub-count {
  font-size: 0.8125rem;
  color: #6b7280;
  font-variant-numeric: tabular-nums;
}
.msub-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  overflow: hidden;
}
.msub-scroll {
  max-height: 60vh;
  overflow: auto;
}
.msub-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
.msub-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 0.6rem 0.9rem;
  text-align: left;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #6b7280;
  background: #f8fafc;
  white-space: nowrap;
  box-shadow: inset 0 -1px 0 #e5e7eb;
}
.msub-sortable {
  cursor: pointer;
  user-select: none;
}
.msub-sortable:hover {
  color: #111827;
  background: #f1f5f9;
}
.msub-active {
  color: #111827;
}
.msub-arw {
  margin-left: 0.25rem;
  color: #2563eb;
}
.msub-table td {
  padding: 0.6rem 0.9rem;
  vertical-align: top;
  border-bottom: 1px solid #f1f3f5;
  overflow-wrap: anywhere;
}
.msub-table tbody tr:last-child td {
  border-bottom: 0;
}
.msub-table tbody tr:hover td {
  background: #f8fafc;
}
.msub-clickable tbody tr {
  cursor: pointer;
}
.msub-name {
  font-weight: 600;
  color: #111827;
}
.msub-date {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.msub-dash {
  color: #cbd5e1;
}
.msub-pill {
  display: inline-block;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}
.msub-expired {
  background: #fee2e2;
  color: #991b1b;
}
.msub-urgent {
  background: #ffedd5;
  color: #9a3412;
}
.msub-soon {
  background: #fef9c3;
  color: #854d0e;
}
.msub-ok {
  background: #e0f2fe;
  color: #075985;
}
.msub-empty {
  padding: 2.5rem 1rem;
  text-align: center;
  color: #6b7280;
}