/* ================================================================ aba "OBS e live" e saída da voz (configurações) */

.obs-intro { max-width: 640px; }
.obs-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 12px; background: var(--bg-1); border: 1px solid var(--line-2); }
.obs-card.on { border-color: rgba(43, 255, 154, 0.35); background: linear-gradient(90deg, rgba(43, 255, 154, 0.07), var(--bg-1) 60%); }
.obs-card.empty { border-style: dashed; }
.obs-card-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: var(--hot); background: rgba(var(--hot-rgb), 0.12); }
.obs-card.on .obs-card-icon { color: var(--green); background: rgba(43, 255, 154, 0.12); box-shadow: 0 0 18px rgba(43, 255, 154, 0.2); }
.obs-card-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.obs-card-text strong { font: 700 13.5px/1.3 var(--font-display); letter-spacing: 0.08em; text-transform: uppercase; }
.obs-card-text small { font-size: 12.5px; color: var(--text-2); }
.obs-card-tools { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }

.obs-list { display: flex; flex-direction: column; gap: 6px; }
.obs-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; background: var(--bg-1); border: 1px solid var(--line); transition: border-color 0.15s, background 0.15s; }
.obs-row:hover { border-color: var(--line-2); background: var(--bg-2); }
.obs-row.todos, .obs-row.overlay { border-color: rgba(var(--hot-rgb), 0.3); }
.obs-row-art { display: grid; place-items: center; }
.obs-glyph { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 30%; color: #fff; background: var(--grad); box-shadow: 0 0 14px rgba(var(--hot-rgb), 0.3); }
.obs-glyph .icon { width: 17px; height: 17px; }
.obs-row-text { display: flex; flex-direction: column; min-width: 0; }
.obs-row-text strong { font-weight: 700; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.obs-row-text small { font-size: 12px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.obs-row-tools { display: flex; gap: 6px; }
.obs-row-tools .btn.small { height: 32px; padding: 0 11px; gap: 6px; }
.obs-row-tools .btn .icon { width: 15px; height: 15px; }
.obs-hint { padding: 4px 4px 0; font-size: 12.5px; }
.obs-overlay { display: flex; flex-direction: column; gap: 12px; }
.obs-steps ol { margin: 0; padding: 0; counter-reset: obs; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.obs-steps li { position: relative; padding-left: 36px; font-size: 13.5px; color: var(--text-2); line-height: 1.5; }
.obs-steps li b { color: var(--text); }
.obs-steps li::before { counter-increment: obs; content: counter(obs); position: absolute; left: 0; top: -1px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; font: 700 12px/1 var(--font-display); color: #fff; background: rgba(var(--hot-rgb), 0.2); box-shadow: inset 0 0 0 1px rgba(var(--hot-rgb), 0.5); }
.obs-steps .hint { margin-top: 12px; font-size: 12.5px; }

.voice-out { display: flex; flex-direction: column; gap: 8px; }
.voice-out:empty { display: none; }
.voice-out .hint { font-size: 12.5px; }
.voice-out-adv summary { cursor: pointer; font-size: 13px; color: var(--text-2); }
.voice-out-adv summary:hover { color: var(--text); }
.voice-out-adv[open] summary { margin-bottom: 8px; }
.voice-out-rows { display: flex; flex-direction: column; gap: 6px; }
.voice-out-row { display: grid; grid-template-columns: minmax(0, 160px) minmax(0, 1fr); align-items: center; gap: 12px; font-size: 13.5px; }
.voice-out-row > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.voice-out-row select { padding-top: 8px; padding-bottom: 8px; }

@media (max-width: 640px) {
  .obs-card { grid-template-columns: auto minmax(0, 1fr); }
  .obs-card-tools { grid-column: 1 / -1; justify-content: flex-start; }
  .obs-row { grid-template-columns: 34px minmax(0, 1fr); }
  .obs-row-tools { grid-column: 2; }
}
