﻿.qo {
  color: #1f2937;
  font-size: 0.875rem;
  line-height: 1.45;
}
.qoHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-bottom: 0.875rem;
}
.qoTitle {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.011em;
  color: #111827;
}
.qoTools {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}
.qoSearch {
  position: relative;
  display: flex;
  align-items: center;
}
.qoSearch svg {
  position: absolute;
  left: 0.7rem;
  color: #9ca3af;
  pointer-events: none;
}
.qoSearch input {
  width: 20rem;
  max-width: 100%;
  padding: 0.5rem 2rem 0.5rem 2.15rem;
  font: inherit;
  font-size: 0.875rem;
  color: #1f2937;
  background: #fff;
  border: 1px solid #d5d9e0;
  border-radius: 8px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.qoSearch input::placeholder {
  color: #9ca3af;
}
.qoSearch input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.qoClear {
  position: absolute;
  right: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  padding: 0;
  font-size: 1.05rem;
  line-height: 1;
  color: #9ca3af;
  background: transparent;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}
.qoClear:hover {
  color: #374151;
  background: #eef1f4;
}
.qoCount {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #374151;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.qoDim {
  font-weight: 400;
  color: #6b7280;
}
.qoCard {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  overflow: hidden;
}
.qoScroll {
  max-height: 760px;
  min-height: 760px;
  overflow: auto;
  overscroll-behavior: contain;
}
.qoTable {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
}
.qoTable th {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 0.6875rem 0.9375rem;
  text-align: left;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  color: #6b7280;
  background: #f8fafc;
  white-space: nowrap;
  user-select: none;
  box-shadow: inset 0 -1px 0 #e5e7eb;
  transition: color 0.12s ease, background 0.12s ease;
}
.qoTable td {
  padding: 0.6875rem 0.9375rem;
  vertical-align: top;
  border-bottom: 1px solid #f1f3f5;
  overflow-wrap: anywhere;
}
.qoTable tbody tr:last-child td {
  border-bottom: 0;
}
.qoTable tbody tr:hover td {
  background: #f8fafc;
}
.qoSortable {
  cursor: pointer;
}
.qoSortable:hover {
  color: #111827;
  background: #edf2f7;
}
.qoActive {
  color: #111827;
}
.qoArw {
  display: inline-block;
  width: 0.9em;
  margin-left: 0.25rem;
  color: #2563eb;
  font-size: 0.8125rem;
}
.qoId {
  font-weight: 600;
  color: #111827;
  font-variant-numeric: tabular-nums;
}
.qoTerm {
  color: #334155;
}
.qoNote {
  color: #4b5563;
  font-size: 0.8125rem;
}
.qoDash {
  color: #cbd5e1;
  user-select: none;
}
.qoChip {
  display: inline-block;
  margin: 0 0.25rem 0.25rem 0;
  padding: 0.1rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.5;
  color: #3730a3;
  background: #eef2ff;
  border: 1px solid #e0e7ff;
  border-radius: 999px;
  white-space: nowrap;
}
.qoEmpty {
  padding: 3rem 1rem;
  text-align: center;
  color: #6b7280;
}
.qoError {
  padding: 1rem 1.25rem;
  text-align: left;
  color: #b42318;
  background: #fffbfa;
  white-space: pre-wrap;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.8125rem;
}
@media (max-width: 900px) {
  .qoHead {
    align-items: stretch;
  }
  .qoTools {
    width: 100%;
    justify-content: space-between;
  }
  .qoSearch input {
    width: 100%;
  }
}
.qoStatsHeader {
  margin-top: 2vh;
}
.qoStats {
  display: grid;
  flex-direction: column;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 0.125rem 1.5rem;
  margin-bottom: 1rem;
  max-height: 200px;
  overflow: auto;
  border: 1px solid #e0e7ff;
}
.qoStat {
  display: grid;
  grid-template-columns: minmax(6rem, auto) 1fr 2.5rem;
  align-items: center;
  gap: 0.625rem;
  width: 100%;
  padding: 0.3rem 0.375rem;
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  text-align: left;
  font: inherit;
}
.qoStat:hover {
  background: var(--qo-hover);
}
.qoStatName {
  font-size: 0.8125rem;
  color: #374151;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.qoStatTrack {
  height: 6px;
  background: var(--qo-line-2);
  border-radius: 4px;
  overflow: hidden;
}
.qoStatFill {
  display: block;
  height: 100%;
  background: var(--qo-accent);
  border-radius: 4px;
}
.qoStatNum {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #111827;
  text-align: right;
  font-variant-numeric: tabular-nums;
}