/* 云计算目录页（对照云工具目录）：整宽壳层 + 左侧分类 + 工具条 + 流程卡片 */
.cc-page {
  --cc-ink: #16365c;
  --cc-ink-soft: #2b4f7d;
  --cc-muted: #6b81a0;
  --cc-muted-2: #8ba0bb;
  --cc-primary: #1d67b2;
  --cc-primary-deep: #154b85;
  --cc-line: rgba(29, 103, 178, 0.12);
  --cc-line-2: rgba(29, 103, 178, 0.2);
  --cc-bg: #f4f7fb;
  --cc-card: #ffffff;
  --cc-radius: 14px;
  --cc-shadow-s: 0 2px 8px rgba(21, 52, 92, 0.05);
  --cc-shadow-m: 0 16px 34px rgba(21, 52, 92, 0.1);
  --cc-green: #0f9967;
  --cc-orange: #c2410c;
  background: var(--cc-bg);
  padding: 16px 28px 44px;
  color: var(--cc-ink);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
.cc-page *,
.cc-page *::before,
.cc-page *::after { box-sizing: border-box; }
.cc-page a { color: inherit; text-decoration: none; }
.cc-page button,
.cc-page input,
.cc-page select { font-family: inherit; }
.cc-page button { cursor: pointer; }
.cc-page svg { display: block; }

.cc-sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* 让主容器与页面底色连成一片，避免内容下方出现白色断层 */
body.dashboard-page-advanced-analysis .dashboard-app,
body.dashboard-page-advanced-analysis .dashboard-main { background: #f4f7fb; }
body.dashboard-page-advanced-analysis .dashboard-main { padding-bottom: 0; }

/* ── 新人福利条 ───────────────────────────── */
.cc-notice {
  display: flex; align-items: center; justify-content: center; gap: 10px; text-align: center;
  padding: 8px 14px;
  border: 1px solid rgba(15, 153, 103, 0.18);
  background: linear-gradient(90deg, #f2fbf6, #f8fdfa 70%, #f4fbf8);
  border-radius: 11px;
  font-size: 12.5px; color: #2c6a52;
}
.cc-notice-tag {
  flex: 0 0 auto; font-size: 10.5px; font-weight: 700; letter-spacing: .4px;
  color: #0f7d55; background: #dff5e9; border-radius: 6px; padding: 2px 7px;
}
.cc-notice b { color: #0d6b48; }
.cc-notice-more {
  margin-left: 0; color: #0f8a5f; font-weight: 600; font-size: 12px;
  display: inline-flex; align-items: center; gap: 4px; white-space: nowrap;
}
.cc-notice-more:hover { color: #0b6b49; }

/* ── 布局 ─────────────────────────────────── */
.cc-layout {
  display: grid; grid-template-columns: 218px minmax(0, 1fr);
  gap: 22px; align-items: start; margin-top: 16px;
}
.cc-layout > * { min-width: 0; }

.cc-side {
  position: sticky; top: calc(var(--cc-top, 64px) + 12px);
  background: #fff; border: 1px solid var(--cc-line); border-radius: 16px;
  padding: 10px; box-shadow: var(--cc-shadow-s);
}
.cc-side-group + .cc-side-group { margin-top: 12px; padding-top: 11px; border-top: 1px dashed rgba(29, 103, 178, 0.12); }
.cc-side-title { font-size: 11px; letter-spacing: 1.2px; color: var(--cc-muted-2); font-weight: 600; padding: 2px 8px 8px; }
.cc-side-item {
  display: flex; align-items: center; gap: 9px; width: 100%;
  padding: 8px 9px; border: 0; background: transparent; border-radius: 9px;
  font-size: 13.5px; color: var(--cc-ink-soft); text-align: left;
}
.cc-side-item svg { color: #9db2ca; flex: 0 0 auto; }
.cc-side-item:hover { background: #f3f8fd; }
.cc-side-item.is-on { background: #eaf2fc; color: var(--cc-primary); font-weight: 600; }
.cc-side-item.is-on svg { color: var(--cc-primary); }
.cc-side-count { margin-left: auto; font-size: 11.5px; color: var(--cc-muted-2); font-variant-numeric: tabular-nums; }
.cc-side-item.is-on .cc-side-count { color: #fff; background: var(--cc-primary); border-radius: 999px; padding: 1px 7px; font-weight: 600; }
.cc-side-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .75; flex: 0 0 auto; }
.cc-side-note { margin-top: 12px; padding: 10px 11px; border-radius: 11px; background: #f7fafe; border: 1px dashed rgba(29, 103, 178, 0.16); }
.cc-side-note-title { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--cc-ink-soft); }
.cc-side-note-title i { width: 6px; height: 6px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 3px rgba(22, 163, 74, .12); }
.cc-side-note-text { margin-top: 5px; font-size: 11px; color: var(--cc-muted-2); line-height: 1.6; }

/* ── 工具条 ───────────────────────────────── */
.cc-toolbar-wrap {
  position: sticky; top: var(--cc-top, 64px); z-index: 20;
  padding: 0 0 10px;
  background: linear-gradient(180deg, var(--cc-bg) 82%, rgba(244, 247, 251, 0));
}
.cc-toolbar {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 10px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid var(--cc-line); border-radius: 12px;
  padding: 7px 10px; box-shadow: var(--cc-shadow-s);
}
/* 顶部渐变细线（与云工具目录一致） */
.cc-toolbar::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, #1d67b2 0%, #4aa3df 38%, #37b58a 68%, #f0a531 100%);
  opacity: 0.75; pointer-events: none;
}
.cc-tabs { display: flex; align-items: center; gap: 2px; }
.cc-tab {
  display: inline-flex; align-items: center; gap: 6px;
  border: 0; background: transparent; font-size: 13.5px; color: #3c5a80;
  padding: 8px 12px; border-radius: 9px; white-space: nowrap;
}
.cc-tab .cc-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--d, #9db2ca); flex: 0 0 auto; }
.cc-tab:hover { background: #f2f7fd; }
.cc-tab.is-on { background: var(--cc-primary); color: #fff; font-weight: 600; box-shadow: 0 6px 14px rgba(29, 103, 178, 0.22); }
.cc-tab.is-on .cc-dot { background: #fff; }
.cc-tab-count {
  font-size: 11px; font-weight: 600; color: var(--cc-muted-2); background: #f1f5fa;
  border-radius: 999px; padding: 1px 6px; font-variant-numeric: tabular-nums;
}
.cc-tab.is-on .cc-tab-count { background: rgba(255, 255, 255, .22); color: #fff; }
.cc-tab:focus-visible,
.cc-sort:focus-visible,
.cc-chip:focus-visible,
.cc-find:focus-visible { outline: 2px solid rgba(29, 103, 178, .45); outline-offset: 2px; }

.cc-sorts { display: flex; align-items: center; gap: 2px; padding-left: 10px; border-left: 1px solid var(--cc-line); }
.cc-sort {
  display: flex; align-items: center; gap: 5px;
  border: 0; background: transparent; font-size: 13px; color: var(--cc-muted);
  padding: 8px 9px; border-radius: 8px; white-space: nowrap;
}
.cc-sort svg { opacity: .75; }
.cc-sort:hover { color: var(--cc-ink); }
.cc-sort.is-on { color: var(--cc-primary); font-weight: 600; }

.cc-search { margin-left: auto; display: flex; align-items: center; gap: 8px; flex: 1 1 430px; max-width: 560px; min-width: 0; }
.cc-search-field { position: relative; flex: 1 1 270px; min-width: 150px; }
.cc-search-field svg { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: #a3b4c9; }
.cc-search input {
  width: 100%; height: 38px; border: 1px solid var(--cc-line-2); border-radius: 8px;
  padding: 0 11px 0 31px; font-size: 13px; color: var(--cc-ink); outline: 0; background: #fbfdff;
}
.cc-search input:focus { border-color: var(--cc-primary); background: #fff; box-shadow: 0 0 0 3px rgba(29, 103, 178, 0.1); }
.cc-search input::placeholder { color: #a3b4c9; }
.cc-search select {
  height: 38px; width: 104px; border: 1px solid var(--cc-line-2); border-radius: 8px;
  padding: 0 8px; font-size: 13px; color: var(--cc-ink-soft); background: #fff; outline: 0;
}
.cc-find {
  height: 38px; padding: 0 14px; border: 0; border-radius: 8px;
  background: var(--cc-primary); color: #fff; font-size: 13.5px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; flex: 0 0 auto;
  box-shadow: 0 6px 14px rgba(29, 103, 178, 0.22);
}
.cc-find:hover { filter: brightness(1.06); }

/* ── 输入类型快捷筛选 ─────────────────────── */
.cc-data-row { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin: 0 0 10px; }
.cc-data-label { font-size: 12px; color: var(--cc-muted-2); margin-right: 2px; }
.cc-chip {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--cc-line-2); background: #fff; color: #3c5a80;
  font-size: 12px; padding: 5px 11px; border-radius: 999px;
}
.cc-chip:hover { border-color: rgba(29, 103, 178, .36); color: var(--cc-primary); }
.cc-chip-n { color: var(--cc-muted-2); font-variant-numeric: tabular-nums; font-size: 11px; }
.cc-chip.is-on { background: #eaf2fc; border-color: rgba(29, 103, 178, 0.3); color: var(--cc-primary); font-weight: 600; }
.cc-chip.is-on .cc-chip-n { color: var(--cc-primary); }

/* ── 结果行 ───────────────────────────────── */
.cc-result { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 2px 0 12px; font-size: 12.5px; color: var(--cc-muted); }
.cc-result b { color: var(--cc-ink); font-size: 14px; }
.cc-filter-chip {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px;
  background: #eaf2fc; color: var(--cc-primary); padding: 4px 8px 4px 10px; border-radius: 999px;
}
.cc-filter-chip button { border: 0; background: transparent; color: currentColor; font-size: 13px; line-height: 1; padding: 0; opacity: .7; }
.cc-filter-chip button:hover { opacity: 1; }
.cc-clear-all { border: 0; background: transparent; color: var(--cc-primary); font-size: 12.5px; text-decoration: underline; text-underline-offset: 3px; }
.cc-active-filters { display: flex; gap: 6px; flex-wrap: wrap; }

/* ── 卡片网格 ─────────────────────────────── */
/* ≥1701 固定 5 列（2026-11-03 用户要求）；flex + 居中让不满一行的末行居中对齐 */
.cc-grid { display: flex; flex-wrap: wrap; gap: 16px; justify-content: flex-start; }
.cc-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--cc-card); border: 1px solid var(--cc-line); border-radius: var(--cc-radius);
  width: calc((100% - 64px) / 5);
  padding: 14px 15px 12px; box-shadow: var(--cc-shadow-s); cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.cc-card:hover { transform: translateY(-3px); box-shadow: var(--cc-shadow-m); border-color: rgba(29, 103, 178, .26); }
.cc-card-top { display: flex; gap: 11px; align-items: flex-start; }
.cc-thumb {
  flex: 0 0 auto; width: 62px; height: 62px; border-radius: 14px; overflow: hidden;
  background: linear-gradient(150deg, #f5faff, #eef5fe); border: 1px solid rgba(29, 103, 178, 0.09);
  display: grid; place-items: center;
}
.cc-thumb img { width: 100%; height: 100%; object-fit: contain; }
.cc-thumb.is-empty::after {
  content: ""; width: 26px; height: 26px; opacity: .35;
  background: currentColor;
  -webkit-mask: radial-gradient(circle at 50% 50%, #000 2px, transparent 2px) 0 0 / 13px 13px;
  mask: radial-gradient(circle at 50% 50%, #000 2px, transparent 2px) 0 0 / 13px 13px;
}
.cc-head-text { min-width: 0; flex: 1; }
.cc-card h3 {
  margin: 0; font-size: 14.5px; line-height: 1.4; font-weight: 600; letter-spacing: -.1px;
  text-wrap: balance; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.cc-card h3 a:hover { color: var(--cc-primary); }
.cc-sub { display: flex; align-items: center; gap: 6px; margin-top: 5px; font-size: 11.5px; color: var(--cc-muted-2); }
.cc-sub-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cat, #9db2ca); }
.cc-tag-hot { font-size: 10px; font-weight: 700; letter-spacing: .3px; color: #c0392b; background: #fdecea; border-radius: 5px; padding: 1px 5px; }
.cc-tag-new { font-size: 10px; font-weight: 700; letter-spacing: .3px; color: #0f7d55; background: #e6f7ee; border-radius: 5px; padding: 1px 5px; }
.cc-desc {
  margin: 10px 0 0; font-size: 12.5px; line-height: 1.62; color: var(--cc-muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 40px;
}
.cc-card-foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; gap: 8px; }
.cc-price { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 600; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.cc-price.is-coin { color: var(--cc-orange); background: #fdf0e6; }
.cc-price.is-free { color: var(--cc-green); background: #e9f7ef; }
.cc-price.is-beta { color: #5b7799; background: #eef3f9; }
.cc-star {
  margin-left: auto; border: 0; background: transparent; color: #c3d1e2;
  font-size: 14px; line-height: 1; padding: 0 2px 0 0;
}
.cc-star:hover { color: #f0a531; }
.cc-star.is-on { color: #f0a531; }
.cc-star:focus-visible { outline: 2px solid rgba(240, 165, 49, .5); outline-offset: 2px; border-radius: 4px; }
.cc-cta { display: inline-flex; align-items: center; gap: 3px; font-size: 12.5px; font-weight: 600; color: var(--cc-primary); white-space: nowrap; }
.cc-cta svg { transition: transform .16s ease; }
.cc-card:hover .cc-cta svg { transform: translateX(2px); }

.cc-grid[data-cols="4"] .cc-card { width: calc((100% - 48px) / 4); }
.cc-grid[data-cols="3"] .cc-card { width: calc((100% - 32px) / 3); }

.cc-pager { display: flex; justify-content: center; margin: 26px 0 8px; }
.cc-pager:empty { display: none; }
.cc-pager-box {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: center;
  background: #fff; border: 1px solid rgba(29, 103, 178, 0.16); border-radius: 12px;
  padding: 8px 14px; box-shadow: var(--cc-shadow-s);
}
.cc-pager-total { font-size: 13px; color: var(--cc-muted); margin-right: 10px; }
.cc-page-btn {
  min-width: 34px; height: 34px; padding: 0 10px; border: 0; border-radius: 8px;
  background: transparent; color: var(--cc-ink-soft); font: inherit; font-size: 13.5px; cursor: pointer;
  font-variant-numeric: tabular-nums; transition: background 0.14s ease, color 0.14s ease;
}
.cc-page-btn:hover:not(:disabled) { background: #eef5fc; color: var(--cc-primary); }
.cc-page-btn.is-active { background: var(--cc-primary); color: #fff; font-weight: 600; }
.cc-page-btn:disabled { color: #c3d1e2; cursor: default; }
.cc-page-gap { color: var(--cc-muted-2); padding: 0 2px; user-select: none; }

/* ── 空态 / 页脚 ──────────────────────────── */
.cc-empty {
  width: 100%; background: #fff; border: 1px dashed var(--cc-line-2);
  border-radius: var(--cc-radius); padding: 46px 20px; text-align: center; color: var(--cc-muted);
}
.cc-empty strong { display: block; color: var(--cc-ink); font-size: 15px; margin-bottom: 6px; }

@media (max-width: 1700px) {
  .cc-card { width: calc((100% - 32px) / 3); }
}
@media (max-width: 1280px) {
  .cc-card { width: calc((100% - 16px) / 2); }
  .cc-tab { padding: 7px 9px; font-size: 13px; }
  .cc-sort { padding: 7px 7px; font-size: 12.5px; }
  .cc-sorts { padding-left: 6px; }
  .cc-search select { display: none; }
}
@media (max-width: 1180px) {
  .cc-toolbar { flex-wrap: wrap; row-gap: 8px; }
  .cc-search { width: 100%; flex: 1 1 100%; max-width: none; }
  .cc-search-field { flex: 1 1 auto; }
}
@media (max-width: 1080px) {
  .cc-layout { grid-template-columns: 1fr; }
  .cc-side { position: static; }
  .cc-toolbar-wrap { position: static; background: none; }
}
@media (max-width: 860px) {
  .cc-page { padding: 14px 16px 40px; }
  .cc-card { width: 100%; }
}
@media (max-width: 640px) {
  .cc-notice { flex-wrap: wrap; row-gap: 4px; }
  .cc-notice-more { display: none; }
  .cc-toolbar { gap: 6px; }
  .cc-tab { padding: 7px 9px; gap: 5px; }
  .cc-tab-count { display: none; }
  .cc-sorts { border-left: 0; padding-left: 0; }
}
