/* =====================================================
   App-specific component styles — Anette Design Code
   richer · rounded · with breathing room
   ===================================================== */

/* ===== APP SHELL ===== */
.app {
  max-width: 1640px;
  margin: 0 auto;
  padding: 28px 32px 140px;
}

/* ===== TOP BAR ===== */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 96px;
}
.topbar-left { display: flex; align-items: center; gap: 16px; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 12px;
  background: #ffffff;
  display: grid; place-items: center;
  position: relative;
  border: 1px solid var(--line);
  box-shadow: 0 4px 14px rgba(33, 45, 53, 0.08);
  overflow: hidden;
}
.brand-mark img {
  width: 32px; height: 32px;
  object-fit: contain;
  display: block;
}
.brand-mark::after {
  content: ""; position: absolute; bottom: -3px; right: -3px;
  width: 10px; height: 10px; border-radius: 99px;
  background: var(--accent);
  box-shadow: 0 2px 8px rgba(180, 70, 79, 0.3);
}
.brand-text { display: flex; flex-direction: column; gap: 3px; }
.brand-name { font-size: 13px; font-weight: 600; color: var(--ink-0); letter-spacing: 0.01em; }
.brand-name span { color: var(--ink-3); font-weight: 400; }
.brand-sub { font-family: var(--font-en); font-size: 10.5px; letter-spacing: 0.2em; color: var(--ink-3); text-transform: uppercase; font-weight: 500; }
.topbar-right { display: flex; align-items: center; gap: 16px; font-family: var(--font-en); font-size: 10.5px; color: var(--ink-2); letter-spacing: 0.16em; font-weight: 500; white-space: nowrap; }
.live-dot {
  width: 7px; height: 7px; border-radius: 99px;
  background: var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
  display: inline-block; margin-right: 8px; vertical-align: middle;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(180, 70, 79, 0.4); }
  50% { box-shadow: 0 0 0 7px rgba(180, 70, 79, 0); }
}

/* ===== HERO ===== */
.hero {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 80px;
  margin-bottom: 140px;
  align-items: end;
  position: relative;
}

.hero-meta-row {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 36px;
  font-family: var(--font-en); font-size: 11px; letter-spacing: 0.22em;
  color: var(--ink-2); text-transform: uppercase; font-weight: 500;
}
.hero-meta-row .chip {
  padding: 7px 13px; border: 1px solid var(--line); border-radius: 99px;
  color: var(--ink-1); background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
}
.hero-meta-row .chip.amber {
  border-color: var(--accent); color: var(--accent);
  background: rgba(180, 70, 79, 0.06);
}
.hero-meta-row .sep::before {
  content: "/"; color: var(--ink-4); margin: 0 2px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.02;
  color: var(--ink-0);
  margin: 0;
  text-wrap: balance;
}
.hero-title .amber { color: var(--accent); font-style: normal; }

.hero-subhead {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.3vw, 19px);
  font-weight: 400;
  letter-spacing: 0.005em;
  color: var(--ink-1);
  line-height: 1.85;
  margin: 36px 0 0;
  max-width: 620px;
  text-wrap: pretty;
}
.hero-subhead b { font-weight: 600; color: var(--ink-0); }
.hero-subhead .accent-mark {
  color: var(--accent);
  font-weight: 600;
  position: relative;
}
.hero-subhead .accent-mark::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--accent);
  opacity: 0.4;
}

.hero-right { display: flex; flex-direction: column; gap: 16px; align-items: stretch; }
.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.hero-stat {
  padding: 24px 24px 26px;
  display: flex; flex-direction: column;
  gap: 14px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  position: relative;
  transition: all 0.2s;
}
.hero-stat:hover {
  border-color: var(--line-strong);
  box-shadow: 0 12px 32px rgba(33, 45, 53, 0.08);
  transform: translateY(-2px);
}
.hero-stat .label {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 600;
  white-space: nowrap;
}
.hero-stat .label-jp {
  color: var(--ink-1);
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.04em;
  font-weight: 500;
  text-transform: none;
  margin-right: 6px;
}
.hero-stat .label::before {
  content: ""; width: 4px; height: 4px; background: var(--accent); border-radius: 99px;
  flex-shrink: 0;
}
.hero-stat .num {
  font-family: var(--font-en);
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--ink-0);
  line-height: 1;
}
.hero-stat .num .unit {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  margin-left: 6px;
  letter-spacing: 0;
}

/* ===== SECTION HEADERS ===== */
.section { margin-bottom: 130px; }
.section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--ink-0);
  position: relative;
}
.section-head::before {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 64px; height: 3px;
  background: var(--accent);
  border-radius: 99px;
}
.section-head-left { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }

.section-num {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--accent);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 12px 5px 0;
  position: relative;
}
.section-num::after {
  content: "";
  position: absolute;
  left: -16px; top: 50%;
  width: 8px; height: 1px;
  background: var(--accent);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink-0);
  margin: 0;
  line-height: 1.15;
}
.section-en {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.section-desc {
  font-size: 13.5px;
  color: var(--ink-2);
  max-width: 380px;
  line-height: 1.8;
  text-align: right;
}

/* ===== INSIGHTS DASHBOARD ===== */
.insights-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}
.insight-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 28px 28px;
  position: relative;
  overflow: hidden;
  transition: all 0.22s;
}
.insight-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 14px 36px rgba(33, 45, 53, 0.08);
}
.insight-card.span-2 { grid-column: span 2; }
.insight-card.dark {
  background: var(--color-main);
  color: var(--bg-0);
  border-color: var(--color-main);
}
.insight-card.dark .insight-title { color: var(--bg-0); }
.insight-card.dark .insight-meta { color: rgba(236, 232, 233, 0.5); }
.insight-card.dark .insight-head { border-bottom-color: rgba(236, 232, 233, 0.14); }

.insight-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}
.insight-title {
  font-size: 14px; color: var(--ink-0); font-weight: 600;
  letter-spacing: 0.005em; line-height: 1.4;
}
.insight-meta {
  font-family: var(--font-en); font-size: 10px;
  color: var(--ink-3); letter-spacing: 0.2em;
  text-transform: uppercase; font-weight: 500;
}

/* AI skill histogram */
.skill-hist { display: flex; align-items: flex-end; gap: 14px; height: 140px; padding-top: 28px; }
.skill-bar {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  gap: 10px; height: 100%; justify-content: flex-end;
  cursor: pointer;
  transition: transform 0.18s;
}
.skill-bar:hover { transform: translateY(-2px); }
.skill-bar:hover .skill-bar-fill { background: var(--accent); }
.skill-bar-fill {
  width: 100%;
  background: var(--ink-0);
  border-radius: 4px 4px 0 0;
  position: relative;
  min-height: 4px;
  transition: height 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.skill-bar-fill.accent { background: var(--accent); }
.skill-bar-fill .count {
  position: absolute; top: -24px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-en); font-size: 13px;
  color: var(--ink-0); font-weight: 600;
  white-space: nowrap;
}
.skill-bar-fill .count-unit {
  font-family: var(--font-sans); font-size: 10px;
  color: var(--ink-3); font-weight: 500;
  margin-left: 1px;
  letter-spacing: 0;
}
.skill-bar-label {
  font-family: var(--font-en); font-size: 11px; color: var(--ink-2);
  font-weight: 500;
}
.skill-bar-stars { display: flex; gap: 2px; }
.skill-bar-stars span { width: 5px; height: 5px; border-radius: 99px; background: var(--ink-4); }
.skill-bar-stars span.on { background: var(--accent); }

/* freq donut */
.freq-block { display: flex; align-items: center; gap: 22px; }
.freq-list { flex: 1; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.freq-row {
  display: flex; align-items: center; gap: 10px; font-size: 12.5px;
  cursor: pointer;
  padding: 2px 6px; margin: 0 -6px;
  border-radius: 6px;
  transition: background 0.18s;
}
.freq-row:hover { background: var(--bg-1); }
.freq-row .swatch { width: 9px; height: 9px; border-radius: 99px; flex-shrink: 0; }
.freq-row .label-text {
  color: var(--ink-1); flex: 1; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.freq-row .num {
  font-family: var(--font-en); color: var(--ink-0);
  font-size: 13px; font-weight: 600;
}
.freq-row .num-unit, .tool-count .num-unit {
  font-family: var(--font-sans); font-size: 10px;
  color: var(--ink-3); font-weight: 500;
  margin-left: 1px; letter-spacing: 0;
}

/* tool bars */
.tool-list { display: flex; flex-direction: column; gap: 14px; }
.tool-row {
  display: grid; grid-template-columns: 96px 1fr 32px; gap: 14px; align-items: center;
  cursor: pointer;
  padding: 4px 6px; margin: 0 -6px;
  border-radius: 6px;
  transition: background 0.18s;
}
.tool-row:hover { background: var(--bg-1); }
.tool-row:hover .tool-bar-fill { background: var(--accent); }
.tool-name { font-size: 13px; color: var(--ink-0); font-weight: 500; }
.tool-bar { height: 6px; background: var(--bg-3); border-radius: 99px; overflow: hidden; position: relative; }
.tool-bar-fill {
  height: 100%;
  background: var(--ink-0);
  border-radius: 99px;
  transition: width 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.tool-row:first-child .tool-bar-fill { background: var(--accent); }
.tool-count {
  font-family: var(--font-en); font-size: 12.5px; color: var(--ink-0);
  text-align: right; font-weight: 600;
}

/* barrier rows */
.barrier-list { display: flex; flex-direction: column; gap: 0; counter-reset: barrier; }
.barrier-row {
  display: grid; grid-template-columns: 32px 1fr auto; gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  cursor: pointer;
  transition: padding 0.18s, background 0.18s;
}
.barrier-row:last-child { border-bottom: none; }
.barrier-row:hover {
  padding-left: 8px;
  background: linear-gradient(90deg, rgba(180, 70, 79, 0.04), transparent 80%);
}
.barrier-row:hover .barrier-label { color: var(--accent-deep); }
.barrier-row::before {
  content: counter(barrier, decimal-leading-zero);
  counter-increment: barrier;
  font-family: var(--font-en); font-size: 11px; color: var(--accent);
  font-weight: 600; letter-spacing: 0.1em;
}
.barrier-label { font-size: 13px; color: var(--ink-0); line-height: 1.5; }
.barrier-count {
  font-family: var(--font-en); font-size: 12px; color: var(--ink-2);
  white-space: nowrap; font-weight: 500;
}

/* keyword cloud */
.kw-cloud { display: flex; flex-wrap: wrap; gap: 6px; align-content: flex-start; }
.kw-chip {
  padding: 6px 13px; border-radius: 99px;
  background: var(--bg-2); border: 1px solid var(--line);
  color: var(--ink-2); font-size: 12px;
  transition: all 0.18s;
  font-family: var(--font-sans);
}
.kw-chip:hover {
  color: var(--ink-0); border-color: var(--ink-0);
  background: var(--bg-2);
}
.kw-chip.hot {
  color: var(--accent); border-color: var(--accent);
  background: rgba(180, 70, 79, 0.06);
  font-weight: 600;
}
.insight-card.dark .kw-chip {
  background: rgba(236, 232, 233, 0.06);
  border-color: rgba(236, 232, 233, 0.18);
  color: rgba(236, 232, 233, 0.78);
}
.insight-card.dark .kw-chip:hover {
  background: rgba(236, 232, 233, 0.12);
  border-color: rgba(236, 232, 233, 0.4);
  color: var(--bg-0);
}
.insight-card.dark .kw-chip.hot {
  background: rgba(180, 70, 79, 0.18);
  border-color: var(--accent);
  color: var(--bg-0);
}

/* ===== FILTERS BAR ===== */
.filters-bar {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-bottom: 32px;
}
.filter-group {
  display: flex; align-items: center; gap: 4px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 4px;
}
.filter-btn {
  padding: 8px 14px; border-radius: 99px;
  background: transparent;
  color: var(--ink-2); font-size: 12px;
  border: none;
  font-family: var(--font-sans); font-weight: 500;
  letter-spacing: 0.02em; transition: all 0.18s;
}
.filter-btn:hover { color: var(--ink-0); background: var(--bg-1); }
.filter-btn.active {
  background: var(--ink-0); color: var(--bg-0);
}
.filter-btn .count {
  font-family: var(--font-en); font-size: 10.5px; color: var(--ink-3);
  margin-left: 6px; font-weight: 500;
}
.filter-btn.active .count { color: var(--accent); }

.search-input {
  flex: 1; min-width: 240px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 99px;
  padding: 11px 18px 11px 40px; color: var(--ink-0);
  font-size: 13px; font-family: var(--font-sans);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23969994' stroke-width='2'><circle cx='11' cy='11' r='8'/><path d='m21 21-4.3-4.3'/></svg>");
  background-repeat: no-repeat; background-position: 16px center;
  outline: none; transition: all 0.18s;
}
.search-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(180, 70, 79, 0.08); }
.search-input::placeholder { color: var(--ink-3); }

.results-count {
  font-family: var(--font-en); font-size: 11px; color: var(--ink-2);
  letter-spacing: 0.18em; text-transform: uppercase; margin-left: auto;
  font-weight: 500;
}

/* ===== MEMBER GRID ===== */
.member-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 18px;
}
.member-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px 28px 24px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  scroll-margin-top: 90px;
  overflow: hidden;
}
.member-card::after {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 4px; height: 0;
  background: var(--accent);
  transition: height 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.member-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(33, 45, 53, 0.12),
              0 4px 12px rgba(33, 45, 53, 0.06);
}
.member-card:hover::after { height: 100%; }
.member-card.flash {
  animation: cardFlash 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes cardFlash {
  0% {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(180, 70, 79, 0.2),
                0 22px 48px rgba(180, 70, 79, 0.15);
  }
  100% {
    border-color: var(--line);
    box-shadow: none;
  }
}

.member-id-tag {
  position: absolute; top: 22px; right: 26px;
  font-family: var(--font-en); font-size: 10px;
  color: var(--ink-3); letter-spacing: 0.18em;
  font-weight: 600;
  background: var(--bg-1);
  padding: 4px 9px;
  border-radius: 99px;
  border: 1px solid var(--line);
}

.member-top { display: grid; grid-template-columns: 88px 1fr; gap: 20px; align-items: flex-start; }
.member-photo-slot {
  width: 88px; height: 88px; border-radius: 50%;
  position: relative; overflow: hidden;
  border: 2px solid var(--bg-2);
  flex-shrink: 0;
  background: var(--bg-3);
  box-shadow: 0 0 0 1px var(--line-strong),
              0 6px 18px rgba(33, 45, 53, 0.1);
}
.member-photo-slot.has-photo {
  box-shadow: 0 0 0 1px var(--line-strong),
              0 8px 22px rgba(33, 45, 53, 0.14);
}
.member-photo-slot img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
  display: block; position: absolute; inset: 0; z-index: 1;
}
.member-photo-slot image-slot {
  width: 100%; height: 100%; display: block;
  position: relative; z-index: 2;
  border-radius: 50%;
  --image-slot-radius: 999px;
}
/* Hide image-slot's internal empty-state UI (icon + caption).
   Drag-and-drop still works on the slot itself. */
.member-photo-slot image-slot::part(empty),
.member-photo-slot image-slot::part(frame) {
  background: transparent !important;
}
.member-photo-slot image-slot::part(empty) {
  visibility: hidden;
}
.member-photo-fallback {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 30px;
  color: var(--bg-0);
  background: linear-gradient(135deg, var(--color-main) 0%, #2a3741 100%);
  pointer-events: none;
  z-index: 0;
  letter-spacing: -0.02em;
}
.member-photo-slot .gloss {
  position: absolute; inset: 0; border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 55%);
  pointer-events: none; z-index: 3;
}
.member-photo-slot .drop-hint {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px 6px 8px;
  font-family: var(--font-en); font-size: 9px; letter-spacing: 0.16em;
  text-align: center; text-transform: uppercase;
  color: var(--bg-0); font-weight: 600;
  background: linear-gradient(180deg, transparent 0%, rgba(33, 45, 53, 0.85) 65%);
  opacity: 0; transition: opacity 0.18s;
  pointer-events: none; z-index: 4;
}
.member-card:hover .member-photo-slot .drop-hint { opacity: 1; }
.member-photo-slot.has-photo .member-photo-fallback { display: none; }

.member-name-block {
  display: flex; flex-direction: column; gap: 3px; min-width: 0;
  padding-right: 50px;
}
.member-name {
  font-size: 20px; font-weight: 700; color: var(--ink-0);
  letter-spacing: -0.01em; line-height: 1.2;
  font-family: var(--font-display);
}
.member-line {
  font-family: var(--font-en); font-size: 10px;
  color: var(--ink-3); letter-spacing: 0.14em;
  font-weight: 500; text-transform: uppercase;
}
.member-company {
  font-size: 13.5px; color: var(--ink-1); font-weight: 500;
  line-height: 1.5; margin-top: 8px;
}
.member-title {
  font-size: 11.5px; color: var(--ink-2); font-family: var(--font-sans);
  margin-top: 3px; letter-spacing: 0.02em; line-height: 1.5;
}

.member-pref {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 10px;
  padding: 3px 10px; border-radius: 99px;
  background: rgba(180, 70, 79, 0.08); border: 1px solid var(--accent-line);
  font-size: 10.5px; color: var(--accent-deep);
  font-family: var(--font-en); letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 600;
  width: fit-content;
}
.member-pref::before {
  content: ""; width: 5px; height: 5px; border-radius: 99px;
  background: var(--accent);
}

.member-comment {
  font-size: 13.5px; color: var(--ink-0); line-height: 1.85;
  text-wrap: pretty;
  padding: 14px 18px;
  background: linear-gradient(135deg, rgba(180, 70, 79, 0.04) 0%, rgba(33, 45, 53, 0.02) 100%);
  border-radius: 12px;
  border-left: 3px solid var(--accent);
  font-weight: 400;
  position: relative;
}

.member-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.member-tag {
  font-size: 11px; padding: 4px 11px; border-radius: 99px;
  background: var(--bg-1); border: 1px solid var(--line);
  color: var(--ink-2); font-family: var(--font-sans);
  letter-spacing: 0.02em; font-weight: 500;
  transition: all 0.15s;
  cursor: pointer;
}
.member-tag:hover { color: var(--ink-0); border-color: var(--ink-0); background: var(--bg-2); }
.member-tag.active {
  color: var(--bg-0); border-color: var(--accent); background: var(--accent);
}

.member-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-top: 16px; margin-top: auto;
  border-top: 1px solid var(--line);
}
.member-skill { display: flex; align-items: center; gap: 8px; font-family: var(--font-en); font-size: 10.5px; color: var(--ink-2); letter-spacing: 0.12em; font-weight: 600; }
.member-skill .dots { display: flex; gap: 3px; }
.member-skill .dots span { width: 7px; height: 7px; border-radius: 99px; background: var(--ink-4); }
.member-skill .dots span.on { background: var(--accent); }

.member-freq-pill {
  font-family: var(--font-en); font-size: 10px;
  padding: 5px 11px; border-radius: 99px;
  letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 600;
}
.member-freq-pill.daily { background: var(--accent); color: var(--bg-0); border: 1px solid var(--accent); }
.member-freq-pill.weekly { background: var(--ink-0); color: var(--bg-0); border: 1px solid var(--ink-0); }
.member-freq-pill.monthly { background: var(--bg-1); color: var(--ink-1); border: 1px solid var(--line-strong); }
.member-freq-pill.rare { background: var(--bg-1); color: var(--ink-3); border: 1px solid var(--line); }

.member-tools-row { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.member-tool-mini {
  font-family: var(--font-en); font-size: 10px;
  padding: 3px 9px; border-radius: 99px;
  background: var(--bg-1); border: 1px solid var(--line-strong);
  color: var(--ink-1);
  letter-spacing: 0.04em; font-weight: 500;
}

.member-card.pending {
  background: linear-gradient(135deg, rgba(33, 45, 53, 0.03), rgba(150, 153, 148, 0.04));
}
.member-card.pending .member-comment {
  color: var(--ink-3); font-style: italic; border-left-color: var(--line); background: transparent;
}
.member-card.pending .member-name { color: var(--ink-1); }
.member-pending-pill {
  font-family: var(--font-en); font-size: 10px;
  padding: 5px 12px; border-radius: 99px;
  background: transparent; border: 1px dashed var(--line-strong);
  color: var(--ink-3); letter-spacing: 0.16em;
  font-weight: 500; text-transform: uppercase;
}

/* responsive */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 48px; }
  .insights-grid { grid-template-columns: 1fr 1fr; }
  .insight-card.span-2 { grid-column: span 2; }
  .section-head { grid-template-columns: 1fr; }
  .section-desc { text-align: left; }
}
@media (max-width: 640px) {
  .app { padding: 18px 18px 80px; }
  .insights-grid { grid-template-columns: 1fr; }
  .insight-card.span-2 { grid-column: span 1; }
}
