.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 1em;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  vertical-align: -0.15em;
}

/* ── ヘッダー ── */
.category-page-header {
  border-left: 4px solid var(--category-color, #3498db);
  padding: 16px 20px;
  margin-bottom: 24px;
  background: #fafafa;
  border-radius: 0 8px 8px 0;
}

.category-page-title {
  font-size: 1.6em;
  font-weight: 700;
  color: var(--category-color, #333);
  margin: 0 0 8px 0;
}

.category-page-description {
  font-size: 0.95em;
  color: #555;
  margin: 0 0 10px 0;
}

.category-page-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 0.85em;
  color: #666;
}

.category-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.category-meta-item .material-symbols-outlined {
  font-size: 1.1em;
  color: var(--category-color, #3498db);
}

.category-meta-sep {
  color: #bbb;
}

/* ── 目次（TOC） ── */
.category-toc {
  background: #f5f7fa;
  border: 1px solid #e5e8ed;
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 32px;
}

.category-toc-title {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.88em;
  font-weight: 700;
  color: #444;
  margin-bottom: 10px;
}

.category-toc-title .material-symbols-outlined {
  font-size: 1.1em;
  color: #666;
}

.category-toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
}

.category-toc-link {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px 10px 3px 2px;
  font-size: 0.85em;
  color: #555;
  text-decoration: none;
  border-radius: 4px;
  transition: color 0.15s ease, background 0.15s ease;
}

.category-toc-link:hover {
  color: var(--category-color, #3498db);
  background: #eef2f7;
}

.category-toc-link .material-symbols-outlined {
  font-size: 1em;
  color: #aaa;
  flex-shrink: 0;
  transition: color 0.15s ease;
}

.category-toc-link:hover .material-symbols-outlined {
  color: var(--category-color, #3498db);
}

.category-toc-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e0e5ec;
  color: #666;
  font-size: 0.8em;
  font-weight: 600;
  border-radius: 10px;
  padding: 0 6px;
  min-width: 20px;
  height: 16px;
  margin-left: 4px;
  line-height: 1;
}

/* ── 指標グループ ── */
.indicator-group {
  margin-bottom: 28px;
  scroll-margin-top: 16px;
}

.indicator-group-title {
  font-size: 1.05em;
  font-weight: 700;
  color: #444;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 6px;
  margin: 0 0 14px 0;
}

/* ── 指標カード ── */
.indicator-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.indicator-card {
  display: inline-flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 10px 14px;
  text-decoration: none;
  color: #333;
  font-size: 0.9em;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.indicator-card:hover {
  border-color: #5397cb;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  color: #3b85c3;
}

.indicator-card-label {
  font-weight: 600;
}

.indicator-card-desc {
  font-size: 0.85em;
  color: #777;
  margin-top: 4px;
}

.indicator-card-date {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-top: 6px;
  font-size: 0.75em;
  color: #999;
}

.indicator-card-date .material-symbols-outlined {
  font-size: 1em;
}

/* ── 周期タグ ── */
.indicator-card-tags {
  margin-top: 6px;
  min-height: 0;
}

.indicator-card-tags:empty {
  display: none;
}

.indicator-tag {
  display: inline-block;
  font-size: 0.75em;
  font-weight: 600;
  padding: 1px 7px;
  border-radius: 10px;
  line-height: 1.6;
}

.tag-daily {
  background: #e3f0fd;
  color: #1565c0;
}

.tag-monthly {
  background: #e8f5e9;
  color: #2e7d32;
}

.tag-quarterly {
  background: #fff3e0;
  color: #e65100;
}

.tag-yearly {
  background: #f3e5f5;
  color: #6a1b9a;
}
