.protocols-page {
  --protocols-blue: #1677ff;
  --protocols-blue-hover: #0958d9;
  --protocols-text: #1d2939;
  --protocols-muted: #667085;
  --protocols-line: #e2e8f0;
  --protocols-surface-soft: #f8fafc;
  min-width: 0;
}

.protocols-page .page-toolbar {
  min-height: 40px;
  margin-bottom: 16px;
}

.protocols-page .page-actions {
  gap: 8px;
}

.protocols-page .btn {
  min-height: 40px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
}

.protocols-page .btn.primary {
  background: var(--protocols-blue);
  border-color: var(--protocols-blue);
  box-shadow: none;
}

.protocols-page .btn.primary:hover {
  background: var(--protocols-blue-hover);
  border-color: var(--protocols-blue-hover);
}

.protocols-page .btn:focus-visible,
.protocols-page a:focus-visible {
  outline: 2px solid var(--protocols-blue);
  outline-offset: 2px;
}

.protocols-page .panel {
  margin-bottom: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--protocols-line);
  border-radius: 8px;
  box-shadow: none;
}

.protocols-page .panel:last-child {
  margin-bottom: 0;
}

.protocols-page .panel-head {
  min-height: 52px;
  padding: 0 20px;
  border-bottom-color: var(--protocols-line);
}

.protocols-page .panel-head h3 {
  gap: 8px;
  color: var(--protocols-text);
  font-size: 16px;
  font-weight: 650;
}

.protocols-page .panel-head h3::before {
  width: 3px;
  height: 16px;
  background: var(--protocols-blue);
  border-radius: 2px;
}

.protocols-page .panel-head > span {
  color: var(--protocols-muted);
  font-size: 12px;
}

.protocols-page .panel-body {
  min-width: 0;
  padding: 16px 20px 20px;
}

.protocols-page .protocol-template-table-wrap,
.protocols-page .protocol-point-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--protocols-line);
  border-radius: 8px;
}

.protocols-page .protocol-template-table-wrap .data-table {
  min-width: 1100px;
}

.protocols-page .protocol-point-table-wrap .data-table {
  min-width: 940px;
}

.protocols-page .data-table th,
.protocols-page .data-table td {
  height: 54px;
  padding: 12px 14px;
  color: #344054;
  font-size: 14px;
  border-bottom-color: var(--protocols-line);
}

.protocols-page .data-table th {
  height: 44px;
  color: var(--protocols-muted);
  font-size: 12px;
  font-weight: 600;
  background: var(--protocols-surface-soft);
}

.protocols-page .data-table tbody tr:hover td {
  background: #f7fbff;
}

.protocols-page .protocol-template-table-wrap td:first-child,
.protocols-page .protocol-point-table-wrap td:nth-child(2) {
  color: var(--protocols-text);
  font-weight: 600;
}

.protocols-page .protocol-point-table-wrap td:first-child,
.protocols-page .protocol-point-table-wrap td:nth-child(3),
.protocols-page .protocol-point-table-wrap td:nth-child(4) {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
}

.protocols-page .badge {
  min-height: 24px;
  padding: 0 8px;
  font-size: 12px;
  border-radius: 12px;
}

.protocols-page .data-table td a {
  color: var(--protocols-blue);
  font-size: 13px;
  font-weight: 500;
}

.protocols-page .data-table td a:hover {
  color: var(--protocols-blue-hover);
}

.protocols-page .pagination {
  padding: 14px 0 0;
  color: var(--protocols-muted);
  font-size: 13px;
  border-top: 0;
}

.protocols-page .page-number {
  width: 32px;
  height: 32px;
  border: 1px solid var(--protocols-line);
  border-radius: 6px;
}

.protocols-page .page-number.active {
  color: #fff;
  background: var(--protocols-blue);
  border-color: var(--protocols-blue);
}

@media (max-width: 720px) {
  .protocols-page .panel-head,
  .protocols-page .panel-body {
    padding-right: 14px;
    padding-left: 14px;
  }
}
