:root {
  --ce-ink: #1f2733;
  --ce-muted: #6b7787;
  --ce-line: #e3e8ef;
  --ce-bg: #f6f7f9;
  --ce-accent: #3a6ea5;
}

body {
  background: var(--ce-bg);
  color: var(--ce-ink);
  font-family: -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.ce-nav {
  background: #fff;
  border-bottom: 1px solid var(--ce-line);
}

.navbar-brand {
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--ce-ink);
}

.ce-footer {
  border-top: 1px solid var(--ce-line);
  background: #fff;
  color: var(--ce-muted);
  font-size: 13px;
  padding: 16px 0;
  margin-top: 48px;
}

.ce-hero {
  background: #fff;
  border: 1px solid var(--ce-line);
  border-radius: 14px;
  padding: 40px 32px;
}

.ce-hero h1 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 12px;
}

.ce-hero p {
  color: var(--ce-muted);
  max-width: 720px;
  margin-bottom: 24px;
}

.ce-section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ce-ink);
  margin-bottom: 12px;
}

.ce-group-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ce-accent);
  margin: 24px 0 12px;
}

.ce-card {
  background: #fff;
  border: 1px solid var(--ce-line);
  border-radius: 12px;
  padding: 16px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ce-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ce-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: 0 0 auto;
}

.ce-badge {
  margin-left: auto;
  font-size: 11px;
  color: var(--ce-muted);
  border: 1px solid var(--ce-line);
  border-radius: 999px;
  padding: 1px 8px;
}

.ce-card-body {
  color: var(--ce-muted);
  font-size: 13px;
  flex: 1 1 auto;
}

.ce-card-foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  border-top: 1px dashed var(--ce-line);
  padding-top: 8px;
}

.ce-card-foot a {
  text-decoration: none;
}

.ce-card-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ce-inline-form {
  display: inline;
  margin: 0;
}

.ce-link-btn {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-size: 13px;
  color: var(--ce-accent);
  cursor: pointer;
}

.ce-link-btn:hover {
  text-decoration: underline;
}

.ce-cal-header {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
  background: #fff;
  border: 1px solid var(--ce-line);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 16px;
}

.ce-crumbs {
  font-size: 12.5px;
  color: var(--ce-muted);
}

.ce-crumbs a {
  text-decoration: none;
}

.ce-profile-head {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--ce-line);
  border-radius: 14px;
  padding: 20px;
}

.ce-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ce-accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 700;
}

.ce-panel {
  background: #fff;
  border: 1px solid var(--ce-line);
  border-radius: 12px;
  padding: 20px;
}

.ce-panel-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
}

.ce-empty {
  background: #fff;
  border: 1px dashed var(--ce-line);
  border-radius: 12px;
  padding: 28px;
  color: var(--ce-muted);
  text-align: center;
}

.ce-note {
  font-size: 13px;
  color: var(--ce-muted);
  background: #fff;
  border-left: 3px solid var(--ce-accent);
  padding: 10px 14px;
  border-radius: 6px;
}

.ce-code {
  background: #fff;
  border: 1px solid var(--ce-line);
  border-radius: 8px;
  padding: 12px;
  font-size: 12.5px;
  color: #33445a;
  overflow-x: auto;
}

.ce-cal-h1 {
  font-size: 22px;
  font-weight: 700;
  margin: 4px 0 6px;
}

.ce-cal-desc {
  color: var(--ce-muted);
  font-size: 13.5px;
  max-width: 640px;
  margin-bottom: 10px;
}

.ce-cal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ce-cal-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.ce-cal-actions form {
  margin: 0;
}

