/* Customer Voice Lab */
.customer-voice-lab { --voice-ink: #172338; }
.voice-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); background: #fff; }
.voice-summary > div { min-width: 0; padding: 18px 20px; border-right: 1px solid var(--line); }
.voice-summary > div:nth-child(1) { box-shadow: inset 0 4px #f7c948; }
.voice-summary > div:nth-child(2) { box-shadow: inset 0 4px #4cb7a5; }
.voice-summary > div:nth-child(3) { box-shadow: inset 0 4px #ef8d6f; }
.voice-summary > div:nth-child(4) { border-right: 0; box-shadow: inset 0 4px #7a8fd1; }
.voice-summary strong { display: block; margin: 5px 0 2px; color: var(--voice-ink); font-size: 1.65rem; line-height: 1; }
.voice-summary small { color: var(--muted); font-size: .78rem; }

.voice-theme-band { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(90deg, #fff9df 0 33.33%, #eef9f5 33.33% 66.66%, #fff1ec 66.66%); }
.voice-theme-band > div { min-width: 0; padding: 22px; border-right: 1px solid var(--line); }
.voice-theme-band > div:last-child { border-right: 0; }
.voice-theme-band h2 { margin: 5px 0 14px; color: var(--voice-ink); font-size: 1.03rem; line-height: 1.25; }
.voice-theme-band ul { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.voice-theme-band li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: start; padding-top: 7px; border-top: 1px solid rgba(23, 35, 56, .12); color: #47566e; font-size: .8rem; }
.voice-theme-band li strong { color: var(--voice-ink); }

.voice-record-list { border: 1px solid var(--line); background: #fff; }
.voice-record-list__head,
.voice-record-row { display: grid; grid-template-columns: 1fr 1.7fr .9fr .9fr .8fr auto; gap: 14px; align-items: center; padding: 12px 14px; }
.voice-record-list__head { background: #f3f6f8; color: #6b7a90; font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.voice-record-row { min-height: 78px; border-top: 1px solid var(--line); color: #435067; font-size: .79rem; }
.voice-record-row > span { min-width: 0; }
.voice-record-row strong { display: block; color: var(--voice-ink); }
.voice-record-row small { display: block; margin-top: 3px; color: var(--muted); line-height: 1.35; }
.voice-record-row > span:nth-child(2) small { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }

.voice-opportunity-band { display: flex; gap: 12px; align-items: center; padding: 18px 20px; border: 1px solid #b9ddcf; border-left: 5px solid #29927f; background: #effaf6; }
.voice-opportunity-band > div { min-width: 260px; margin-right: auto; }
.voice-opportunity-band h2 { margin: 3px 0; color: var(--voice-ink); font-size: 1rem; }
.voice-opportunity-band p { margin: 0; color: #526479; font-size: .82rem; }

.voice-draft-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); background: #fff; }
.voice-draft-strip article { min-width: 0; padding: 18px; border-right: 1px solid var(--line); }
.voice-draft-strip article:last-child { border-right: 0; }
.voice-draft-strip h3 { margin: 12px 0 7px; color: var(--voice-ink); font-size: 1rem; line-height: 1.3; }
.voice-draft-strip p { margin: 0 0 10px; color: #526077; font-size: .8rem; line-height: 1.45; }
.voice-draft-strip small { color: var(--muted); }

.voice-review-context { padding: 18px; border: 1px solid #c7d5e2; border-left: 5px solid #7a8fd1; background: #f7f9ff; }
.voice-review-context blockquote { margin: 7px 0 16px; color: var(--voice-ink); font-size: 1.02rem; font-weight: 750; line-height: 1.45; }
.voice-review-context > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; }
.voice-review-context > div span { color: #526077; font-size: .78rem; line-height: 1.4; }
.voice-review-context > div strong { display: block; margin-bottom: 2px; color: var(--voice-ink); }
.voice-copy-preview { margin-top: 12px; padding: 18px; border: 1px solid #ead493; background: #fff9df; }
.voice-copy-preview h3 { margin: 5px 0; color: var(--voice-ink); font-size: 1.08rem; }
.voice-copy-preview p { margin: 0 0 7px; color: #526077; font-size: .82rem; }
.voice-copy-preview small { color: #78652f; }

@media (max-width: 900px) {
  .voice-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .voice-summary > div:nth-child(2) { border-right: 0; }
  .voice-summary > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .voice-theme-band,
  .voice-draft-strip { grid-template-columns: 1fr; background: #fff; }
  .voice-theme-band > div,
  .voice-draft-strip article { border-right: 0; border-bottom: 1px solid var(--line); }
  .voice-theme-band > div:nth-child(1) { background: #fff9df; }
  .voice-theme-band > div:nth-child(2) { background: #eef9f5; }
  .voice-theme-band > div:nth-child(3) { border-bottom: 0; background: #fff1ec; }
  .voice-draft-strip article:last-child { border-bottom: 0; }
  .voice-record-list__head { display: none; }
  .voice-record-row { grid-template-columns: minmax(0, 1fr) auto; gap: 10px 14px; align-items: start; padding: 16px; }
  .voice-record-row > span:nth-child(1),
  .voice-record-row > span:nth-child(2) { grid-column: 1 / -1; }
  .voice-record-row > span:nth-child(3)::before { content: "Permission: "; font-weight: 800; color: var(--voice-ink); }
  .voice-record-row > span:nth-child(4) { display: none; }
  .voice-record-row > span:nth-child(5) { grid-column: 1; }
  .voice-record-row > span:nth-child(6) { grid-column: 2; grid-row: 4; }
  .voice-opportunity-band { align-items: stretch; flex-direction: column; }
  .voice-opportunity-band > div { min-width: 0; margin: 0 0 4px; }
}

@media (max-width: 520px) {
  .voice-summary { grid-template-columns: 1fr 1fr; }
  .voice-summary > div { padding: 15px 13px; }
  .voice-summary strong { font-size: 1.35rem; }
  .voice-theme-band > div { padding: 18px 15px; }
  .voice-review-context > div { grid-template-columns: 1fr; }
}
