/* Voice & language (app/js/ui/voice-section.js): Brands > Voice and Creators > Voice. Studio tokens from studio.css. */
.vx { display: grid; gap: 16px; min-width: 0; }
.vx-cols { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.vx-panel { min-width: 0; }
.vx-panel h3 { margin: 0; }
.vx .btn.small { min-height: 28px; padding: 0 10px; font-size: 13px; }
.vx .btn.disabled { opacity: .5; pointer-events: none; }
.vx-locked { background: #EEF4F0; border-color: #C5DACB; }
.vx-examples { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.vx-ex { display: grid; grid-template-rows: 1fr auto; gap: 6px; border: 1px solid var(--line); border-radius: 10px; padding: 8px; background: #FBFAF7; min-width: 0; }
.vx-ex.text { grid-column: span 2; }
.vx-ex-text { margin: 0; font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; white-space: pre-wrap; max-height: 9.5em; overflow: auto; }
.vx-ex img { width: 100%; max-height: 180px; object-fit: contain; border-radius: 6px; background: #F2EFE9; }
.vx-ex-foot { justify-content: space-between; gap: 6px; flex-wrap: nowrap; }
.vx-add textarea { min-height: 72px; }
.vx-keep { align-items: flex-start; gap: 8px; flex-wrap: nowrap; }
.vx-keep input, .vx-ex-foot .btn { flex: none; }
.vx-keep input[type=checkbox] { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--accent); }
.vx-refs ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.vx-ref { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.vx-ref img { width: 44px; height: 44px; object-fit: cover; border-radius: 6px; }
.vx-control { display: grid; gap: 6px; }
.vx-control .seg { justify-self: start; max-width: 100%; }
.vx-control .seg button { min-height: 32px; }
.vx-foot { gap: 12px; }
.vx-guide-head { gap: 10px; flex-wrap: wrap; }
.vx-guide-head h3 { margin-right: auto !important; }
.vx-guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; }
.vx-g p { margin: 0; }
.vx-g ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
.vx-samples { grid-column: 1 / -1; }
.vx-g:has(.vx-samples) { grid-column: 1 / -1; }
.vx-samples li { font-size: 15px; }
.vx-words { display: flex; flex-wrap: wrap; gap: 6px; }
.vx-words .pill { font-size: 13px; line-height: 24px; padding: 0 9px; }
.vx-hint { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 0; }
.vx-swatch { display: inline-block; width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.2); }
.vx label.field > .vx-hintline { font-weight: 400; color: var(--muted); font-size: 12px; }
.vx-write { white-space: normal; text-align: left; max-width: 100%; }
/* the Voice check (app/js/ui/voice-check.js): Voice tab, Make's caption, the Creators editor */
.vcheck { display: grid; gap: 6px; font-size: 13px; }
.vcheck:empty { display: none; }
.vcheck-pill { justify-self: start; font-size: 12.5px; line-height: 24px; padding: 0 10px; }
.vcheck[data-tone="bad"] .vcheck-pill { background: #F6DCD6; color: #7A2416; }
.vcheck-flags { margin: 0; padding-left: 18px; display: grid; gap: 3px; }
.vcheck-flags li.hard { color: var(--bad); }
/* on-screen text styles (app/js/ui/caption-styles.js) */
.cs-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.cs-item { display: grid; gap: 8px; border: 1px solid var(--line); border-radius: 10px; padding: 10px; background: #FBFAF7; min-width: 0; }
.cs-preview { background: #2B2925; border-radius: 8px; padding: 18px 14px; min-height: 84px; display: grid; align-content: center; font-size: 20px; line-height: 1.5; overflow: hidden; }
.cs-item-foot { justify-content: space-between; }
.cs-form .cs-preview { max-width: 420px; }
.cs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px 14px; }
.cs-colour input[type=color] { width: 44px; height: 36px; padding: 2px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); cursor: pointer; }
@media (max-width: 760px) {
  .vx-cols, .vx-guide-grid { grid-template-columns: minmax(0, 1fr); }
  .vx-examples { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vx-ex.text { grid-column: 1 / -1; }
  .vx-control .seg { display: flex; flex-wrap: wrap; }
}
