.gf-msa-overview {
  display: grid;
  gap: 18px;
}

.gf-msa-section-title {
  font-weight: 700;
}

.gf-msa-copy {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.gf-msa-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.gf-msa-product {
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(78, 58, 29, 0.1);
  background: rgba(255, 255, 255, 0.68);
}

.gf-msa-product strong {
  display: block;
  margin-bottom: 6px;
}

.gf-msa-status-ok {
  color: #0c6d58;
  font-weight: 700;
}

.gf-msa-status-warning {
  color: #8b1d1d;
  font-weight: 700;
}

.gf-msa-table-wrap {
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid rgba(78, 58, 29, 0.1);
}

.gf-msa-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.52);
}

.gf-msa-table th,
.gf-msa-table td {
  padding: 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(78, 58, 29, 0.08);
}

.gf-msa-table th {
  color: var(--muted);
  background: rgba(248, 241, 231, 0.92);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.gf-msa-depth-chart {
  display: block;
  width: 100%;
  max-width: 540px;
  margin-top: 10px;
}

.gf-msa-parsed-head {
  display: flex;
  gap: 12px;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 10px;
}

.gf-msa-alignment-wrap {
  max-height: 520px;
  overflow: auto;
  border-radius: 14px;
  border: 1px solid rgba(78, 58, 29, 0.1);
  background: rgba(255, 255, 255, 0.7);
}

.gf-msa-alignment {
  display: inline-grid;
  min-width: 100%;
  grid-auto-rows: min-content;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 20px;
  white-space: pre;
}

.gf-msa-alignment-ruler,
.gf-msa-alignment-row {
  display: grid;
  grid-template-columns: 220px 1fr;
}

.gf-msa-alignment-ruler {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--panel-strong, #fff);
  border-bottom: 1px solid var(--line);
}

.gf-msa-alignment-label {
  position: sticky;
  left: 0;
  z-index: 1;
  padding: 2px 10px;
  overflow: hidden;
  border-right: 1px solid var(--line);
  background: var(--panel-strong, #fff);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gf-msa-alignment-ruler .gf-msa-alignment-label {
  z-index: 3;
  color: var(--muted);
  font-weight: 700;
}

.gf-msa-alignment-sequence {
  padding: 2px 10px;
}

.gf-msa-aa-match { color: rgba(30, 36, 33, 0.62); }
.gf-msa-aa-mismatch { color: #a65b20; background: rgba(183, 101, 49, 0.12); }
.gf-msa-aa-gap { color: rgba(94, 87, 75, 0.35); }
.gf-msa-aa-insert { color: #176457; background: rgba(31, 90, 79, 0.12); }

.gf-msa-empty {
  padding: 14px;
  color: var(--muted);
  line-height: 1.5;
}
