/* ================= Botões ================= */
.btn {
  --h: 40px;
  height: var(--h);
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: var(--fs-base);
  font-weight: 500;
  white-space: nowrap;
  transition:
    background var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    color var(--dur) var(--ease),
    transform 80ms;
  user-select: none;
}

.btn:active:not(:disabled) {
  transform: translateY(1px);
}

.btn:disabled,
.btn.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 600;
}

.btn-primary:hover:not(:disabled) {
  background: #d4fb72;
}

.btn-secondary {
  background: var(--surface-3);
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-secondary:hover:not(:disabled) {
  background: #282834;
}

.btn-outline {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-outline:hover:not(:disabled) {
  border-color: var(--text-subtle);
  background: var(--surface-2);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
}

.btn-ghost:hover:not(:disabled) {
  background: var(--surface-2);
  color: var(--text);
}

.btn-danger {
  background: var(--danger-bg);
  color: var(--red);
  border-color: rgba(255, 92, 103, 0.18);
}

.btn-danger:hover:not(:disabled) {
  background: #361a1d;
}

.btn-sm {
  --h: 32px;
  padding: 0 12px;
  font-size: var(--fs-sm);
  border-radius: var(--radius-sm);
}

.btn-lg {
  --h: 46px;
  padding: 0 20px;
  font-size: var(--fs-md);
}

.btn-block {
  width: 100%;
}

.btn-icon {
  --h: 36px;
  width: var(--h);
  padding: 0;
  background: var(--surface-3);
  border-color: var(--border);
  color: var(--text-muted);
}

.btn-icon:hover:not(:disabled) {
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-icon.btn-sm {
  --h: 30px;
}

.btn .spinner {
  width: 14px;
  height: 14px;
}

/* ================= Chips / segmentos ================= */
.chips {
  display: inline-flex;
  gap: 6px;
  flex-wrap: wrap;
}

.chip {
  height: 32px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-weight: 500;
  font-size: var(--fs-sm);
  white-space: nowrap;
  transition:
    border-color var(--dur),
    color var(--dur),
    background var(--dur);
}

.chip:hover {
  color: var(--text);
  border-color: var(--border-strong);
}

.chip.is-active,
.chip[aria-pressed='true'],
.chip[aria-selected='true'] {
  background: var(--surface-3);
  border-color: var(--accent);
  color: var(--text);
}

.chip .count {
  font-family: var(--mono);
  color: var(--text-subtle);
}

.chip.is-active .count {
  color: var(--accent);
}

.segmented {
  display: inline-grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  padding: 3px;
  gap: 3px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.segmented > * {
  height: 32px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 500;
}

.segmented > *:hover {
  color: var(--text);
}

.segmented > .is-active,
.segmented > [aria-pressed='true'] {
  background: var(--surface-3);
  border-color: var(--accent);
  color: var(--text);
}

.segmented.block {
  display: grid;
  width: 100%;
}

/* ================= Badge de status ================= */
.badge {
  --c: var(--gray);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 22px;
  padding: 0 9px;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--c) 14%, transparent);
  color: var(--c);
  font-size: var(--fs-xs);
  font-weight: 600;
  white-space: nowrap;
}

.badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.badge.no-dot::before {
  display: none;
}

.badge-gray {
  --c: var(--gray);
}

.badge-blue {
  --c: var(--blue);
}

.badge-green {
  --c: var(--green);
}

.badge-red {
  --c: var(--red);
}

.badge-amber {
  --c: var(--amber);
}

.badge-violet {
  --c: var(--violet);
}

.badge-accent {
  --c: var(--accent);
}

.badge-muted {
  --c: #5d5d69;
}

.badge-blue::before {
  animation: pulse 1.4s ease-in-out infinite;
}

@keyframes pulse {
  50% {
    opacity: 0.35;
  }
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 22px;
  padding: 0 8px;
  border-radius: 6px;
  background: var(--surface-3);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: var(--fs-xs);
  font-weight: 500;
  white-space: nowrap;
}

/* ================= Campos ================= */
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-muted);
}

.field-hint {
  font-size: var(--fs-xs);
  color: var(--text-subtle);
}

.field-error {
  font-size: var(--fs-xs);
  color: var(--red);
}

.input,
.select,
.textarea {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  outline: none;
  transition:
    border-color var(--dur),
    box-shadow var(--dur);
}

.input::placeholder,
.textarea::placeholder {
  color: var(--text-subtle);
}

.input:focus,
.select:focus,
.textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200, 246, 90, 0.08);
}

.input.is-error,
.textarea.is-error,
.field.is-error .input {
  border-color: var(--red);
}

.textarea {
  height: auto;
  min-height: 110px;
  padding: 10px 12px;
  resize: vertical;
  line-height: 1.5;
}

.select {
  appearance: none;
  padding-right: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23A1A1AE' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

.select.sm,
.input.sm {
  height: 32px;
  font-size: var(--fs-sm);
  border-radius: var(--radius-sm);
}

.input-group {
  position: relative;
}

.input-group .input {
  padding-right: 42px;
}

.input-group .input-action {
  position: absolute;
  right: 4px;
  top: 4px;
  height: 32px;
  width: 34px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--text-subtle);
  border-radius: 7px;
}

.input-group .input-action:hover {
  color: var(--text);
  background: var(--surface-3);
}

.checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: var(--text-muted);
  font-size: var(--fs-sm);
}

.checkbox input {
  appearance: none;
  width: 16px;
  height: 16px;
  margin: 0;
  border-radius: 5px;
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
  display: grid;
  place-items: center;
}

.checkbox input:checked {
  background: var(--accent);
  border-color: var(--accent);
}

.checkbox input:checked::after {
  content: '';
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--accent-text);
  border-bottom: 2px solid var(--accent-text);
  transform: rotate(-45deg) translate(1px, -1px);
}

input[type='range'] {
  width: 100%;
  accent-color: var(--accent);
}

/* ================= Toggle (36×20) ================= */
.toggle {
  position: relative;
  display: inline-flex;
  flex: none;
  width: 36px;
  height: 20px;
  cursor: pointer;
}

.toggle input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}

.toggle .track {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background: var(--border-strong);
  transition: background var(--dur) var(--ease);
}

.toggle .track::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--text);
  transition: transform var(--dur) var(--ease);
}

.toggle input:checked + .track {
  background: var(--accent);
}

.toggle input:checked + .track::after {
  transform: translateX(16px);
  background: var(--accent-text);
}

.toggle input:focus-visible + .track {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.toggle-row:last-child {
  border-bottom: 0;
}

/* ================= Cards ================= */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.card-head p {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  margin-top: 2px;
}

.card.flat {
  background: var(--surface-2);
}

.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.stat-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  font-weight: 500;
}

.stat-label .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c, var(--gray));
}

.stat-value {
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.stat-value small {
  font-size: 14px;
  color: var(--text-subtle);
  font-weight: 500;
}

.stat-foot {
  color: var(--text-subtle);
  font-size: var(--fs-sm);
}

.stat.is-positive .stat-value {
  color: var(--green);
}

/* ================= Banner / aviso ================= */
.banner {
  --c: var(--accent);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid color-mix(in srgb, var(--c) 28%, transparent);
  background: color-mix(in srgb, var(--c) 7%, var(--surface));
}

.banner > .icon {
  color: var(--c);
}

.banner .banner-body {
  flex: 1;
  min-width: 0;
}

.banner .banner-body strong {
  display: block;
  font-size: var(--fs-base);
}

.banner .banner-body span {
  color: var(--text-muted);
  font-size: var(--fs-sm);
}

.banner.green {
  --c: var(--green);
}

.banner.amber {
  --c: var(--amber);
}

.banner.blue {
  --c: var(--blue);
}

.banner.red {
  --c: var(--red);
}

.notice {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: var(--fs-sm);
}

.notice .icon {
  color: var(--text-subtle);
  margin-top: 1px;
}

/* ================= Progresso ================= */
.progress {
  height: 6px;
  border-radius: 6px;
  background: var(--surface-3);
  overflow: hidden;
}

.progress > span {
  display: block;
  height: 100%;
  width: var(--p, 0%);
  border-radius: inherit;
  background: var(--c, var(--accent));
  transition: width 600ms var(--ease);
}

.progress.blue > span {
  --c: var(--blue);
}

.spinner {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-right-color: transparent;
  animation: spin 0.7s linear infinite;
  flex: none;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ================= Miniaturas ================= */
.thumb {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface-3);
  aspect-ratio: var(--ar, 16 / 9);
  isolation: isolate;
}

.thumb-art {
  position: absolute;
  inset: 0;
  background: var(--g);
  z-index: -1;
}

/* textura sutil sobre o degradê para não parecer bloco chapado */
.thumb-art::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 80% 10%, rgba(255, 255, 255, 0.22), transparent 55%),
    radial-gradient(90% 70% at 10% 100%, rgba(0, 0, 0, 0.45), transparent 60%);
}

.thumb-model {
  position: absolute;
  top: 8px;
  left: 8px;
  height: 20px;
  padding: 0 7px;
  border-radius: 6px;
  background: rgba(10, 10, 13, 0.62);
  backdrop-filter: blur(6px);
  color: var(--text);
  font-size: 10.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.thumb-duration {
  position: absolute;
  right: 8px;
  bottom: 8px;
  height: 20px;
  padding: 0 6px;
  border-radius: 6px;
  background: rgba(10, 10, 13, 0.62);
  font: 500 10.5px/20px var(--mono);
}

.thumb-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 38px;
  height: 38px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(10, 10, 13, 0.5);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
}

.thumb-play .icon {
  fill: currentColor;
  margin-left: 2px;
}

.thumb.sm .thumb-play {
  width: 26px;
  height: 26px;
}

.thumb.is-blocked .thumb-art {
  filter: blur(14px) saturate(0.5) brightness(0.6);
}

.thumb-state {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  background: rgba(10, 10, 13, 0.35);
}

/* ================= Toasts ================= */
.toasts {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 360px;
  pointer-events: none;
}

.toast {
  --c: var(--accent);
  pointer-events: auto;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-left: 3px solid var(--c);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-pop);
  animation: toast-in 220ms var(--ease);
}

.toast.is-leaving {
  animation: toast-out 180ms var(--ease) forwards;
}

.toast > .icon {
  color: var(--c);
  margin-top: 1px;
}

.toast-body {
  flex: 1;
  min-width: 0;
}

.toast-body strong {
  display: block;
  font-size: var(--fs-base);
}

.toast-body p {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  margin-top: 2px;
}

.toast-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  font-size: var(--fs-sm);
}

.toast-close {
  background: none;
  border: 0;
  padding: 2px;
  color: var(--text-subtle);
}

.toast-close:hover {
  color: var(--text);
}

.toast.success {
  --c: var(--green);
}

.toast.error {
  --c: var(--red);
}

.toast.warning {
  --c: var(--amber);
}

.toast.info {
  --c: var(--blue);
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
}

@keyframes toast-out {
  to {
    opacity: 0;
    transform: translateX(16px);
  }
}

/* ================= Modal ================= */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(5, 5, 8, 0.72);
  backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  padding: 24px;
  animation: fade-in 160ms var(--ease);
}

.modal {
  width: min(440px, 100%);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-pop);
  padding: 24px;
  animation: pop-in 200ms var(--ease);
}

.modal-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 181, 71, 0.14);
  color: var(--amber);
  margin-bottom: 14px;
}

.modal h2 {
  font-size: 18px;
}

.modal p {
  color: var(--text-muted);
  margin-top: 6px;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
}

@keyframes pop-in {
  from {
    opacity: 0;
    transform: translateY(6px) scale(0.98);
  }
}

/* ================= Dropdown / popover ================= */
.dropdown {
  position: relative;
}

.popover {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 60;
  min-width: 240px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-pop);
  padding: 6px;
  animation: pop-in 160ms var(--ease);
}

.popover[hidden] {
  display: none;
}

.menu-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
}

.menu-item:hover {
  background: var(--surface-3);
}

.menu-item.danger {
  color: var(--red);
}

/* central de notificações */
.notif-pop {
  width: 380px;
  padding: 0;
}

.notif-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}

.notif-list {
  max-height: 380px;
  overflow-y: auto;
  padding: 6px;
}

.notif {
  --c: var(--gray);
  display: flex;
  gap: 12px;
  padding: 10px;
  border-radius: var(--radius);
  position: relative;
}

.notif:hover {
  background: var(--surface-3);
}

.notif-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  flex: none;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--c) 14%, transparent);
  color: var(--c);
}

.notif strong {
  font-size: var(--fs-base);
  display: block;
}

.notif p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.notif time {
  font-size: var(--fs-xs);
  color: var(--text-subtle);
}

.notif.is-unread::after {
  content: '';
  position: absolute;
  right: 12px;
  top: 16px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.notif.completed {
  --c: var(--green);
}

.notif.failed {
  --c: var(--red);
}

.notif.nsfw {
  --c: var(--amber);
}

.notif.balance {
  --c: var(--accent);
}

.notif.limit {
  --c: var(--violet);
}

/* ================= Estado vazio ================= */
.empty {
  display: grid;
  place-items: center;
  text-align: center;
  gap: 10px;
  padding: 64px 24px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.empty-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--surface-3);
  color: var(--text-muted);
}

.empty p {
  color: var(--text-muted);
  max-width: 360px;
}

/* ================= Upload ================= */
.dropzone {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--surface-2);
  cursor: pointer;
  transition:
    border-color var(--dur),
    background var(--dur);
}

.dropzone:hover,
.dropzone.is-over {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 4%, var(--surface-2));
}

.dropzone input[type='file'] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.dropzone-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--surface-3);
  color: var(--text-muted);
}

.dropzone-preview {
  width: 48px;
  height: 48px;
  border-radius: 9px;
  flex: none;
  background-size: cover;
  background-position: center;
}

.dropzone-body {
  flex: 1;
  min-width: 0;
}

.dropzone-body strong {
  display: block;
  font-weight: 500;
}

.dropzone-body span {
  font-size: var(--fs-xs);
  color: var(--text-subtle);
}

.dropzone[data-state='uploading'] {
  border-style: solid;
}

.dropzone[data-state='done'] {
  border-style: solid;
  border-color: var(--border);
}

.dropzone[data-state='error'] {
  border-color: var(--red);
  background: color-mix(in srgb, var(--red) 5%, var(--surface-2));
}

.dropzone[data-state='error'] .dropzone-icon {
  color: var(--red);
  background: var(--danger-bg);
}

.dropzone .progress {
  margin-top: 6px;
}

/* ================= Tabelas ================= */
.table-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th {
  text-align: left;
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  white-space: nowrap;
}

.table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.table tr:last-child td {
  border-bottom: 0;
}

.table tbody tr {
  transition: background var(--dur);
}

.table tbody tr:hover {
  background: var(--surface-2);
}

.table .num {
  text-align: right;
  font-family: var(--mono);
}

/* ================= Paginação ================= */
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  color: var(--text-muted);
  font-size: var(--fs-sm);
}

.pagination .pages {
  display: flex;
  gap: 4px;
}

.pagination .pages a,
.pagination .pages span {
  min-width: 30px;
  height: 30px;
  padding: 0 8px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  background: var(--surface-2);
  font-family: var(--mono);
}

.pagination .pages a:hover {
  border-color: var(--border-strong);
  color: var(--text);
}

.pagination .pages .is-active {
  border-color: var(--accent);
  color: var(--text);
  background: var(--surface-3);
}

.pagination .pages .is-disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* ================= Diversos ================= */
.copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: none;
  padding: 0;
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: var(--fs-sm);
}

.copy:hover {
  color: var(--text);
}

.copy .icon {
  opacity: 0.6;
}

.kv {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 16px;
  font-size: var(--fs-sm);
}

.kv dt {
  color: var(--text-subtle);
}

.kv dd {
  margin: 0;
  text-align: right;
  color: var(--text);
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 28px 0 14px;
}

.section-title:first-child {
  margin-top: 0;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c, var(--gray));
}
