/*! Voices · (c) 2026 Antichaos — antichaosdata.com. All rights reserved. Proprietary. */

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: #faf7f8; color: #211a1e; }

.stage { position: absolute; inset: 0; overflow: auto; }
.hidden { display: none !important; }

/* The wall: a masonry column flow of testimonial cards. */
.wall {
  --accent: #e0457b; --ink: #211a1e; --muted: #6c636a; --line: #ece4e8; --star: #f5b301;
  column-gap: 18px; padding: 18px 20px 24px; min-height: 100%;
}
.wall.is-serif { font-family: "Georgia", "Iowan Old Style", "Source Serif Pro", serif; }
.wall.is-sans { font-family: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif; }

.voice {
  break-inside: avoid; margin: 0 0 18px; padding: 18px 18px 16px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 1px 2px rgba(33, 26, 30, .05), 0 10px 26px rgba(33, 26, 30, .05);
  position: relative;
}

.qmark {
  font-family: "Georgia", serif; font-size: 52px; line-height: .6; color: var(--accent);
  opacity: .9; height: 26px; margin: -2px 0 6px;
}

.stars { display: inline-flex; gap: 2px; margin: 0 0 8px; }
.star { width: 16px; height: 16px; }
.star .star-bg { fill: #e7dfe3; }
.star .star-fg { fill: var(--star); }
.star.empty .star-fg { display: none; }
.star.half .star-fg { clip-path: url(#half); }

.quote {
  margin: 0 0 14px; font-size: 15.5px; line-height: 1.55; color: var(--ink);
}
.wall.is-serif .quote { font-size: 16px; }

.who { display: flex; align-items: center; gap: 11px; margin: 0; }
.avatar {
  width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex: 0 0 auto;
  background: #efe7eb; border: 1px solid var(--line);
}
.avatar--initials {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: "Inter", system-ui, sans-serif; font-weight: 700; font-size: 14px;
  color: #fff; background: var(--accent); border-color: transparent;
}
.who-text { display: flex; flex-direction: column; min-width: 0; }
.name { font-family: "Inter", system-ui, sans-serif; font-weight: 700; font-size: 13.5px; color: var(--ink); }
.role { font-family: "Inter", system-ui, sans-serif; font-size: 11.5px; color: var(--muted); margin-top: 1px; }

/* Click-to-cross-filter */
.wall .clickable { cursor: pointer; transition: box-shadow .15s ease, transform .15s ease; }
.wall .clickable:hover { box-shadow: 0 8px 24px rgba(33, 26, 30, .12); transform: translateY(-2px); }
.wall.has-selection .voice:not(.sel) { opacity: .42; }
.wall .voice.sel { box-shadow: 0 0 0 2px var(--accent); }

/* No-data onboarding state */
#remark_container, #empty_container {
  display: none; position: fixed; inset: 0; align-items: center; justify-content: center;
  background: #faf7f8; padding: 24px;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
}
#remark_container.show, #empty_container.show { display: flex; }
.setup-card { width: 100%; max-width: 400px; text-align: center; }
.setup-icon {
  width: 64px; height: 64px; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center;
  border-radius: 16px; background: color-mix(in srgb, #e0457b 12%, transparent); color: #e0457b;
}
.setup-card h2 { margin: 0 0 6px; font-size: 20px; font-weight: 800; color: #211a1e; }
.setup-card p { margin: 0; font-size: 13px; line-height: 1.6; color: #6c636a; }
.setup-brand { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; text-decoration: none; color: #8b97a8; font-size: 12px; }
.setup-brand .ac-logo { width: 18px; height: 18px; }
