*,
*:before,
*:after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    Segoe UI,
    Roboto,
    sans-serif;
  color: #1a1a2e;
  background: #f4f5f7;
  display: flex;
  height: 100vh;
  overflow: hidden;
}
#root {
  display: flex;
  width: 100%;
  height: 100%;
}
::-webkit-scrollbar {
  width: 4px;
}
::-webkit-scrollbar-thumb {
  background: #d0d4db;
  border-radius: 4px;
}
:root {
  --accent: #0073bb;
  --accent-hover: #005a93;
  --accent-light: #e8f4fd;
  --border: #e1e4e8;
  --bg-page: #f4f5f7;
  --bg-white: #ffffff;
  --bg-subtle: #f8f9fa;
  --text-primary: #16213e;
  --text-muted: #6b7280;
  --text-faint: #9ca3af;
  --radius: 8px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.1);
}
table.g {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
  background: var(--bg-white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow:
    0 1px 4px #00000014,
    0 0 0 1px #c8d0da;
  margin-bottom: 4px;
}
table.g thead tr {
  background: linear-gradient(180deg, #e8edf3, #dce3eb);
  border-left: 3px solid var(--accent);
}
table.g thead th {
  text-align: left;
  padding: 11px 14px;
  color: #1e3a5f;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.07em;
  border-bottom: 2px solid #b0bec8;
  border-right: 1px solid #c8d0da;
  white-space: nowrap;
  position: sticky;
  top: 0;
  z-index: 1;
  background: inherit;
}
table.g thead th:last-child {
  border-right: none;
}
table.g thead th:first-child {
  border-radius: 10px 0 0;
}
table.g thead th:last-child {
  border-radius: 0 10px 0 0;
}
table.g tbody tr:nth-child(odd) {
  background: #fff;
}
table.g tbody tr:nth-child(2n) {
  background: #f2f6fb;
}
table.g tbody tr:hover {
  background: #dbeeff;
  transition: background 0.1s;
}
table.g tbody td {
  padding: 10px 14px;
  border-bottom: 1px solid #dde2e8;
  border-right: 1px solid #e8ecf0;
  vertical-align: middle;
  color: var(--text-primary);
  line-height: 1.5;
}
table.g tbody td:last-child {
  border-right: none;
}
table.g tbody tr:last-child td {
  border-bottom: none;
}
table.g tbody tr:last-child td:first-child {
  border-radius: 0 0 0 10px;
}
table.g tbody tr:last-child td:last-child {
  border-radius: 0 0 10px;
}
table.g tbody td:first-child {
  font-weight: 600;
  color: #16213e;
  border-right: 1px solid #c8d0da;
}
table.g tbody tr:hover td:first-child {
  border-left: 3px solid var(--accent);
  padding-left: 11px;
}
table.g tfoot td {
  padding: 10px 14px;
  border-top: 2px solid #b0bec8;
  font-weight: 700;
  background: linear-gradient(180deg, #e8edf3, #dce3eb);
  color: var(--text-primary);
  border-right: 1px solid #c8d0da;
}
table.g tfoot td:last-child {
  border-right: none;
}
table.g td code,
table.g th code {
  font-family: SFMono-Regular, Consolas, monospace;
  font-size: 13px;
  background: #eef1f5;
  padding: 1px 5px;
  border-radius: 3px;
  border: 1px solid #d0d5dc;
}
table.g.compact thead th {
  padding: 7px 10px;
  font-size: 11px;
}
table.g.compact tbody td {
  padding: 7px 10px;
  font-size: 13px;
}
.prose {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-primary);
}
.prose p {
  margin-bottom: 8px;
}
.prose ul,
.prose ol {
  padding-left: 20px;
  margin-bottom: 8px;
}
.prose li {
  margin-bottom: 3px;
}
.prose code {
  font-family: SFMono-Regular, Consolas, monospace;
  font-size: 13px;
  background: #f0f1f3;
  padding: 1px 5px;
  border-radius: 3px;
}
.prose pre {
  background: #f0f1f3;
  padding: 10px 14px;
  border-radius: 6px;
  overflow-x: auto;
  margin-bottom: 8px;
  font-size: 13px;
}
.prose strong {
  font-weight: 600;
}
.prose a {
  color: var(--accent);
  text-decoration: none;
}
.prose a:hover {
  text-decoration: underline;
}
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(3px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes bounce {
  0%,
  80%,
  to {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-4px);
  }
}
