

/* ==== from resources/regulation-docs.html ==== */

:root {
  --primary: #1a56db;
  --primary-light: #3b82f6;
  --primary-dark: #1e40af;
  --accent: #0ea5e9;
  --bg: #f8fafc;
  --card-bg: #ffffff;
  --text: #1e293b;
  --text-light: #64748b;
  --border: #e2e8f0;
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.08), 0 4px 6px rgba(0,0,0,0.04);
  --radius: 12px;
  --tag-bg: #eff6ff;
  --tag-text: #1a56db;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}
.header {
  background: linear-gradient(135deg, #0f172a 0%, var(--primary-dark) 50%, var(--primary) 100%);
  color: white;
  padding: 48px 0 40px;
  text-align: center;
}
.header h1 { font-size: 28px; font-weight: 700; margin-bottom: 8px; }
.header p { font-size: 15px; opacity: 0.9; }
.container { max-width: 900px; margin: 0 auto; padding: 0 24px; }
.breadcrumb {
  padding: 16px 0;
  font-size: 14px;
  color: var(--text-light);
}
.breadcrumb a { color: var(--primary); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

.reg-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}
.reg-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  color: var(--text);
}
.reg-nav-item:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
  transform: translateX(4px);
}
.reg-nav-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
}
.reg-nav-info { flex: 1; }
.reg-nav-title { font-size: 15px; font-weight: 600; color: var(--text); }
.reg-nav-desc { font-size: 13px; color: var(--text-light); margin-top: 2px; }
.reg-nav-tag {
  flex-shrink: 0;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}
.reg-nav-tag.core { background: #fef2f2; color: #dc2626; }
.reg-nav-tag.key { background: #fffbeb; color: #d97706; }
.reg-nav-tag.industry { background: #f0fdf4; color: #16a34a; }

.reg-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  margin-bottom: 32px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.reg-header {
  padding: 24px 28px;
  background: linear-gradient(135deg, #f0f4ff 0%, #e0e7ff 100%);
  border-bottom: 1px solid var(--border);
}
.reg-header h2 { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.reg-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-light);
}
.reg-meta span { display: flex; align-items: center; gap: 4px; }
.reg-meta strong { color: var(--text); }
.checklist { padding: 20px 28px; }
.checklist-intro {
  font-size: 14px;
  color: var(--text-light);
  padding: 12px 16px;
  background: var(--tag-bg);
  border-radius: 8px;
  margin-bottom: 20px;
  border-left: 3px solid var(--primary);
}
.check-group-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary-dark);
  margin: 20px 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px dashed var(--border);
}
.check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
}
.check-item:last-child { border-bottom: none; }
.check-box {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border: 2px solid #cbd5e1;
  border-radius: 4px;
  margin-top: 3px;
  position: relative;
}
.check-text {
  flex: 1;
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
}
.check-lock {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--text-light);
  padding: 2px 8px;
  background: #f1f5f9;
  border-radius: 4px;
  white-space: nowrap;
  margin-top: 2px;
}
.reg-footer {
  padding: 16px 28px;
  background: #f8fafc;
  border-top: 1px solid var(--border);
  text-align: center;
}
.reg-footer a {
  display: inline-block;
  padding: 8px 24px;
  background: var(--primary);
  color: white;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s;
}
.reg-footer a:hover { background: var(--primary-dark); }

.cta-banner {
  background: linear-gradient(135deg, #1e3a5f 0%, var(--primary) 100%);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  margin: 40px 0;
  color: white;
}
.cta-banner h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.cta-banner p { font-size: 14px; opacity: 0.9; margin-bottom: 20px; }
.cta-button {
  display: inline-block;
  padding: 12px 32px;
  background: white;
  color: var(--primary);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.footer {
  text-align: center;
  padding: 32px 0;
  color: var(--text-light);
  font-size: 13px;
  border-top: 1px solid var(--border);
  margin-top: 40px;
}
.section-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}
@media (max-width: 640px) {
  .header h1 { font-size: 22px; }
  .container { padding: 0 16px; }
  .reg-header { padding: 16px 18px; }
  .checklist { padding: 16px 18px; }
}
