/* ================================================================
   IN100 — Estilos isolados
   Depende das CSS variables do sistema hospedeiro:
     --bg, --surface, --surface2, --surface3, --border, --border2,
     --accent, --accent-light, --accent-dark, --accent2,
     --success, --success-light, --danger, --danger-light,
     --warn, --warn-light, --text, --text2, --text3,
     --radius, --shadow, --shadow-lg
   Se seu sistema não tiver essas vars, defina-as no :root antes
   de carregar este arquivo.
   ================================================================ */

/* ─── PAINEL PRINCIPAL ─── */
.in100-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.in100-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--success), var(--accent2));
}
.in100-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  cursor: pointer;
  user-select: none;
}
.in100-header h3 {
  font-size: 15px;
  font-weight: 700;
  flex: 1;
  color: var(--text);
}
.in100-toggle {
  font-size: 12px;
  color: var(--text3);
  transition: transform .2s;
}
.in100-panel.collapsed .in100-body { display: none; }
.in100-panel.collapsed .in100-toggle { transform: rotate(-90deg); }

/* ─── CORPO E ROWS ─── */
.in100-body { display: block; }
.in100-row {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  align-items: flex-end;
  flex-wrap: wrap;
}

/* ─── CAMPOS ─── */
.in100-field { flex: 1; min-width: 120px; }
.in100-field label {
  display: block;
  font-size: 9px;
  font-weight: 600;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 5px;
}
.in100-field input,
.in100-field select {
  width: 100%;
  padding: 9px 12px;
  background: var(--surface2);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  transition: all .2s;
}
.in100-field input:focus,
.in100-field select:focus {
  outline: none;
  border-color: var(--accent);
}

/* ─── BOTÕES ─── */
.in100-btn {
  padding: 9px 18px;
  border: none;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.in100-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
}
.in100-btn:disabled {
  opacity: .5;
  cursor: wait;
  transform: none;
}
.in100-btn-login  { background: var(--accent);  color: #fff; }
.in100-btn-sms    { background: var(--success); color: #fff; }
.in100-btn-search { background: var(--accent2); color: #fff; }
.in100-btn-fill   { background: var(--accent);  color: #fff; }

/* ─── STATUS BOXES ─── */
.in100-status {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 11px;
  margin-bottom: 12px;
  font-family: 'JetBrains Mono', monospace;
  line-height: 1.6;
}
.in100-status.ok   { background: var(--success-light); border: 1px solid rgba(16,185,129,.25);  color: var(--success); }
.in100-status.err  { background: var(--danger-light);  border: 1px solid rgba(239,68,68,.2);    color: var(--danger);  }
.in100-status.info { background: var(--accent-light);  border: 1px solid rgba(37,99,235,.2);    color: var(--accent);  }
.in100-status.warn { background: var(--warn-light);    border: 1px solid rgba(245,158,11,.25);  color: var(--warn);    }

/* ─── LISTA DE BENEFÍCIOS ─── */
.in100-benefits {
  max-height: 400px;
  overflow-y: auto;
  margin-top: 10px;
}
.in100-benefit {
  background: var(--surface2);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all .2s;
}
.in100-benefit:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}
.in100-benefit.selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}
.in100-benefit .bf-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.in100-benefit .bf-nb {
  font-size: 14px;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text);
}
.in100-benefit .bf-tag {
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}
.in100-benefit .bf-tag.ok      { background: var(--success-light); color: var(--success); }
.in100-benefit .bf-tag.no      { background: var(--danger-light);  color: var(--danger);  }
.in100-benefit .bf-tag.blocked { background: var(--warn-light);    color: var(--warn);    }
.in100-benefit .bf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 6px;
}
.in100-benefit .bf-item { font-size: 10px; }
.in100-benefit .bf-item .lbl { color: var(--text3); font-weight: 500; }
.in100-benefit .bf-item .val {
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text);
}

/* ─── EXPAND: TODOS OS DADOS DA IN100 ─── */
.bf-expand-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: var(--text3);
  cursor: pointer;
  padding: 8px 0;
  user-select: none;
  transition: color .15s;
  border: none;
  background: none;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
}
.bf-expand-btn:hover { color: var(--accent); }
.bf-expand-arrow {
  transition: transform .2s;
  display: inline-block;
}
.bf-expand-arrow.open { transform: rotate(90deg); }
.bf-details {
  display: none;
  margin-top: 8px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  max-height: 300px;
  overflow-y: auto;
}
.bf-details.open { display: block; }
.bf-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 4px 14px;
}
.bf-detail-item {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  border-bottom: 1px solid var(--border);
  font-size: 10px;
  gap: 8px;
}
.bf-detail-item .dk {
  color: var(--text3);
  white-space: nowrap;
  flex-shrink: 0;
}
.bf-detail-item .dv {
  color: var(--text);
  font-family: 'JetBrains Mono', monospace;
  text-align: right;
  word-break: break-all;
}

/* ─── SPINNER E SEPARADOR ─── */
.in100-spin {
  display: inline-block;
  width: 14px; height: 14px;
  border: 2px solid rgba(37,99,235,.2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: in100-spin .6s linear infinite;
}
@keyframes in100-spin {
  to { transform: rotate(360deg); }
}
.in100-sep {
  border: none;
  border-top: 1px solid var(--border);
  margin: 16px 0;
}

/* ─── BARRA DE STATUS DO PROXY ─── */
.in100-proxy-bar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 20px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  box-shadow: var(--shadow);
}
.proxy-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 4px;
}
.proxy-dot.on  { background: var(--success); box-shadow: 0 0 8px rgba(16,185,129,.4); }
.proxy-dot.off { background: var(--danger);  box-shadow: 0 0 8px rgba(239,68,68,.3); }

/* ─── SELETOR DE PROVIDER (v2) ─── */
.in100-provider-switch {
  display: flex;
  align-items: center;
  margin-bottom: 4px;
  padding: 10px 14px;
  background: var(--surface2);
  border: 1px dashed var(--border);
  border-radius: 10px;
}
.in100-provider-switch select:focus {
  outline: none;
  border-color: var(--accent);
}

/* ─── TOGGLE SWITCH "Enviar SMS" ─── */
.in100-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
  gap: 10px;
}
.in100-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.in100-slider {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 22px;
  background: var(--border2);
  border-radius: 22px;
  transition: background .2s;
  flex-shrink: 0;
}
.in100-slider::before {
  content: '';
  position: absolute;
  height: 16px;
  width: 16px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform .2s;
}
.in100-switch input:checked + .in100-slider {
  background: var(--accent);
}
.in100-switch input:checked + .in100-slider::before {
  transform: translateX(16px);
}
.in100-switch-label {
  font-size: 11px;
  color: var(--text);
  font-weight: 600;
}

/* ─── BOX DO LINK DE AUTORIZAÇÃO ─── */
.in100-link-box {
  margin-top: 12px;
  padding: 14px;
  background: linear-gradient(135deg, rgba(37,99,235,.06), rgba(16,185,129,.04));
  border: 1.5px solid rgba(37,99,235,.25);
  border-radius: 12px;
  position: relative;
}
.in100-link-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--success));
  border-radius: 12px 12px 0 0;
}
.in100-link-header {
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.in100-link-warn {
  background: var(--warn-light);
  color: var(--warn);
  font-size: 9px;
  padding: 2px 8px;
  border-radius: 5px;
  font-weight: 700;
}
.in100-link-url {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--accent);
  text-decoration: underline;
  word-break: break-all;
  margin-bottom: 10px;
  padding: 8px;
  background: var(--surface);
  border-radius: 6px;
  border: 1px solid var(--border);
}
.in100-link-url:hover { color: var(--accent-dark); }
.in100-link-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

/* ════════════════════════════════════════════════════════════
   IN100 v2 — REDESIGN
   ════════════════════════════════════════════════════════════ */

.in100-shell { display: flex; flex-direction: column; gap: 14px; }

/* ── TOPBAR (status backend + provider) ── */
.in100-topbar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--line);
  border-radius: 10px;
  flex-wrap: wrap;
}
.in100-topbar-status { display: flex; align-items: center; gap: 8px; }
.in100-topbar-status #proxyStatus {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}
.in100-topbar-provider {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.in100-topbar-provider label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--mute);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.in100-topbar-provider select {
  background: var(--ink-3);
  border: 1px solid var(--line-2);
  border-radius: 6px;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 5px 10px;
  cursor: pointer;
}
.in100-btn-ghost-sm {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-2);
  color: var(--text-2);
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 11px;
  font-family: inherit;
  cursor: pointer;
  letter-spacing: 0.02em;
}
.in100-btn-ghost-sm:hover {
  background: rgba(79,211,255,0.08);
  color: var(--cyan-glow);
  border-color: var(--cyan);
}

/* ── BANNER de autenticação ── */
.in100-auth-banner {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(74,222,128,0.10);
  border: 1px solid rgba(74,222,128,0.30);
  border-radius: 10px;
  font-size: 13px;
  color: #BAF8C8;
}
.in100-auth-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 8px #4ADE80;
}
.in100-auth-meta {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(186,248,200,0.7);
}

/* ── STEPS (cada passo = card) ── */
.in100-step {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.in100-step-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.in100-step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--cyan-bg);
  color: var(--cyan-glow);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  flex-shrink: 0;
}
.in100-step-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-2);
  font-weight: 500;
}
.in100-step-pill { margin-left: auto; }
.in100-step-side { margin-left: 8px; }

.in100-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 500;
}
.in100-pill-ok {
  background: rgba(74,222,128,0.14);
  color: #4ADE80;
  border: 1px solid rgba(74,222,128,0.30);
}

.in100-step-body { padding: 18px; display: flex; flex-direction: column; gap: 14px; }

.in100-fields-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}
.in100-fields-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 600px) {
  .in100-fields-grid-2 { grid-template-columns: 1fr; }
}

.in100-shell .in100-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: initial;
  min-width: 0;
}
.in100-shell .in100-field label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--mute);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.in100-shell .in100-field-opt {
  text-transform: none;
  letter-spacing: 0;
  color: var(--mute-2);
  font-style: italic;
}
.in100-shell .in100-field input,
.in100-shell .in100-field select {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-2);
  border-radius: 8px;
  padding: 9px 12px;
  color: var(--text);
  font-size: 13px;
  font-family: inherit;
  outline: none;
  transition: border-color .15s, background .15s;
  width: 100%;
}
.in100-shell .in100-field input:focus,
.in100-shell .in100-field select:focus {
  border-color: var(--cyan);
  background: rgba(79,211,255,0.05);
}

.in100-step-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.in100-btn-primary {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-2) 100%);
  color: var(--ink);
  border: none;
  border-radius: 8px;
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 0.01em;
  transition: filter .15s, box-shadow .15s;
  white-space: nowrap;
}
.in100-btn-primary:hover:not(:disabled) {
  filter: brightness(1.08);
  box-shadow: 0 0 16px rgba(79,211,255,0.25);
}
.in100-btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }

.in100-btn-magenta {
  background: linear-gradient(135deg, var(--magenta) 0%, var(--magenta-2) 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}
.in100-btn-magenta:hover { filter: brightness(1.08); }

.in100-btn-success-sm {
  background: var(--success);
  color: var(--ink);
  border: none;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

/* ── INFO box (azul claro/cyan suave) ── */
.in100-info {
  padding: 12px 14px;
  background: rgba(79,211,255,0.06);
  border: 1px solid rgba(79,211,255,0.20);
  border-left-width: 3px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-2);
}
.in100-info strong { color: var(--cyan-glow); }

/* ── TOGGLE row ── */
.in100-toggle-row {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 4px 0;
}
.in100-toggle-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}
.in100-toggle-text strong { font-size: 13px; color: var(--text); font-weight: 500; }
.in100-toggle-text span   { font-size: 11px; color: var(--mute); }

.in100-shell .in100-switch {
  position: relative;
  width: 38px;
  height: 22px;
  display: inline-block;
  flex-shrink: 0;
  cursor: pointer;
}
.in100-shell .in100-switch input { opacity: 0; width: 0; height: 0; }
.in100-shell .in100-slider {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.10);
  border-radius: 11px;
  transition: .2s;
}
.in100-shell .in100-slider::before {
  content: "";
  position: absolute;
  width: 16px; height: 16px;
  left: 3px; top: 3px;
  background: var(--mute);
  border-radius: 50%;
  transition: .2s;
}
.in100-shell .in100-switch input:checked + .in100-slider { background: rgba(79,211,255,0.30); }
.in100-shell .in100-switch input:checked + .in100-slider::before {
  transform: translateX(16px);
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

/* ── POLL badge ── */
.in100-poll-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.in100-poll-badge.warn { background: rgba(255,200,87,0.14); color: var(--warn); }
.in100-poll-badge.info { background: rgba(79,211,255,0.14); color: var(--cyan-glow); }
.in100-poll-badge.ok   { background: rgba(74,222,128,0.14); color: #4ADE80; }
.in100-poll-badge.err  { background: rgba(255,77,106,0.14); color: var(--danger); }

/* ── Status box (acima dos botões) ── */
.in100-shell .in100-status {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.5;
  border: 1px solid;
  border-left-width: 3px;
}
.in100-shell .in100-status.ok   { background: rgba(74,222,128,0.08);  border-color: rgba(74,222,128,0.30);  color: #BAF8C8; }
.in100-shell .in100-status.err  { background: rgba(255,77,106,0.08);  border-color: rgba(255,77,106,0.35);  color: #FFD0D8; }
.in100-shell .in100-status.warn { background: rgba(255,200,87,0.08);  border-color: rgba(255,200,87,0.35);  color: #FFE8B5; }
.in100-shell .in100-status.info { background: rgba(79,211,255,0.08);  border-color: rgba(79,211,255,0.30);  color: var(--cyan-glow); }

.in100-status-meta {
  display: inline-block;
  margin-top: 4px;
  font-size: 11px;
  color: var(--mute);
}
.in100-status-meta.warn   { color: var(--warn); }
.in100-status-meta.accent { color: var(--cyan-glow); font-weight: 500; }
.in100-status-meta.mono   { font-family: var(--font-mono); font-size: 10px; }

/* ── Search row do step 3 ── */
.in100-search-row {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  flex-wrap: wrap;
}

/* ── LINK BOX (após criar autorização) ── */
.in100-shell .in100-link-box {
  background: rgba(79,211,255,0.04);
  border: 1px solid rgba(79,211,255,0.25);
  border-radius: 10px;
  padding: 14px 16px;
}
.in100-shell .in100-link-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.in100-shell .in100-link-header > span:first-child {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--cyan);
  font-weight: 500;
}
.in100-shell .in100-link-warn {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--warn);
  background: rgba(255,200,87,0.12);
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  margin-left: auto;
}
.in100-shell .in100-link-url {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cyan-glow);
  background: rgba(0,0,0,0.25);
  padding: 8px 10px;
  border-radius: 6px;
  word-break: break-all;
  margin-bottom: 10px;
  text-decoration: none;
  letter-spacing: 0.02em;
}
.in100-shell .in100-link-url:hover { background: rgba(0,0,0,0.35); }
.in100-shell .in100-link-actions { display: flex; gap: 6px; flex-wrap: wrap; }

/* ════════════════════════════════════════════════════════════
   CARD DO BENEFÍCIO (resultado da consulta)
   ════════════════════════════════════════════════════════════ */
.in100-shell .in100-benefits {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}

.in100-shell .in100-benefit {
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 18px;
  cursor: pointer;
  transition: border-color .15s, background .15s, transform .15s;
  position: relative;
}
.in100-shell .in100-benefit:hover {
  border-color: var(--line-3);
  background: rgba(255,255,255,0.04);
}
.in100-shell .in100-benefit.selected {
  border-color: var(--cyan);
  background: rgba(79,211,255,0.05);
  box-shadow: 0 0 0 1px var(--cyan);
}

/* Header do card: nome + NB + pills */
.in100-shell .bf-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.in100-shell .bf-head-left { flex: 1; min-width: 200px; }
.in100-shell .bf-head-right {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}
.in100-shell .bf-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 4px;
}
.in100-shell .bf-nb-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--mute);
  letter-spacing: 0.04em;
}
.in100-shell .bf-nb strong { color: var(--cyan-glow); font-weight: 500; }
.in100-shell .bf-cpf { color: var(--text-2); }

/* Pills de status no canto direito */
.in100-shell .bf-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 500;
  white-space: nowrap;
}
.in100-shell .bf-pill.ok   { background: rgba(74,222,128,0.14);  color: #4ADE80;        border: 1px solid rgba(74,222,128,0.30); }
.in100-shell .bf-pill.warn { background: rgba(255,200,87,0.12);  color: var(--warn);    border: 1px solid rgba(255,200,87,0.30); }
.in100-shell .bf-pill.err  { background: rgba(255,77,106,0.12);  color: var(--danger);  border: 1px solid rgba(255,77,106,0.30); }
.in100-shell .bf-sit-pill {
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: var(--text-2);
  border: 1px solid var(--line-2);
}
.in100-shell .bf-sit-pill.ok {
  background: rgba(74,222,128,0.10);
  color: #4ADE80;
  border-color: rgba(74,222,128,0.25);
}

/* HIGHLIGHT — 3 valores principais grandes */
.in100-shell .bf-highlight {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
  padding: 14px;
  background: rgba(0,0,0,0.20);
  border-radius: 10px;
  border: 1px solid var(--line);
}
.in100-shell .bf-hl-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.in100-shell .bf-hl-label {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--mute);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
.in100-shell .bf-hl-value {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.in100-shell .bf-hl-value.accent { color: var(--cyan-glow); }
.in100-shell .bf-hl-value.empty  { color: var(--mute-2); font-size: 16px; }

@media (max-width: 600px) {
  .in100-shell .bf-highlight { grid-template-columns: 1fr; }
}

/* GRID secundário (Espécie / UF / etc) */
.in100-shell .bf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px 14px;
  padding: 12px 14px 0;
  border-top: 1px dashed var(--line);
  margin: 0 -2px;
}
.in100-shell .bf-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.in100-shell .bf-item .lbl {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--mute);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.in100-shell .bf-item .val {
  font-size: 13px;
  color: var(--text);
  word-break: break-word;
  font-weight: 500;
}

/* Aviso de bloqueado */
.in100-shell .bf-warning {
  margin-top: 12px;
  padding: 8px 12px;
  background: rgba(255,200,87,0.06);
  border: 1px solid rgba(255,200,87,0.25);
  border-left-width: 3px;
  border-radius: 6px;
  font-size: 12px;
  color: var(--warn);
}

.in100-shell .bf-empty {
  padding: 16px;
  text-align: center;
  color: var(--mute);
  font-size: 13px;
  background: rgba(255,200,87,0.04);
  border: 1px dashed rgba(255,200,87,0.25);
  border-radius: 8px;
}

/* Disclosure de detalhes técnicos */
.in100-shell .bf-expand-btn {
  margin-top: 12px;
  background: transparent;
  border: 1px dashed var(--line-2);
  color: var(--mute);
  padding: 7px 12px;
  border-radius: 6px;
  font-size: 11px;
  cursor: pointer;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all .15s;
  width: 100%;
  justify-content: center;
}
.in100-shell .bf-expand-btn:hover {
  color: var(--cyan-glow);
  border-color: var(--cyan);
  background: rgba(79,211,255,0.04);
}
.in100-shell .bf-expand-arrow {
  display: inline-block;
  transition: transform .2s;
}
.in100-shell .bf-expand-arrow.open { transform: rotate(90deg); }

.in100-shell .bf-details {
  display: none;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.in100-shell .bf-details.open { display: block; }
.in100-shell .bf-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 6px 14px;
}
.in100-shell .bf-detail-item {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px dotted var(--line);
  font-family: var(--font-mono);
  font-size: 10px;
}
.in100-shell .bf-detail-item .dk { color: var(--mute); }
.in100-shell .bf-detail-item .dv { color: var(--text-2); text-align: right; word-break: break-all; }

/* Spin do loading inline */
.in100-shell .in100-spin {
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 2px solid rgba(255,255,255,0.2);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: uz-spin .7s linear infinite;
  vertical-align: -2px;
  margin-right: 4px;
}

/* ════════════════════════════════════════════════════════════
   IN100 v3 — Collapse banner + botões grandes + espaçamentos
   ════════════════════════════════════════════════════════════ */

/* Aumenta gap geral entre cards (era 14px, fica 18px) */
.in100-shell {
  gap: 18px;
}

/* ── BANNER COLAPSÁVEL no topo ── */
.in100-collapse {
  display: flex;
  flex-direction: column;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .15s;
}

/* Faixa superior (anônima ou autenticada) */
.in100-collapse-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: rgba(255,255,255,0.025);
  border: none;
  width: 100%;
  font-family: inherit;
  text-align: left;
  color: var(--text);
  cursor: default;
}

.in100-collapse-bar-anon { border-bottom: 1px solid var(--line); }
.in100-collapse-bar-auth {
  background: rgba(74,222,128,0.08);
  border-bottom: 1px solid rgba(74,222,128,0.20);
  cursor: pointer;
  transition: background .15s;
}
.in100-collapse-bar-auth:hover { background: rgba(74,222,128,0.12); }

.in100-collapse-bar .proxy-dot { flex-shrink: 0; }
.in100-collapse-bar .in100-bar-text {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  color: var(--mute);
  flex: 1;
  min-width: 0;
}
.in100-collapse-bar-auth .in100-bar-text {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: normal;
  color: #fff;
  font-weight: 400;
  text-transform: none;
}
.in100-collapse-bar-auth .in100-bar-text strong {
  font-weight: 500;
  color: #BAF8C8;
}

.in100-collapse-bar .in100-bar-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(186,248,200,0.65);
  margin-left: auto;
}

.in100-auth-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 8px #4ADE80;
  flex-shrink: 0;
  animation: uz-pulse 2s ease-in-out infinite;
}

.in100-collapse-arrow {
  font-size: 12px;
  color: rgba(186,248,200,0.7);
  transition: transform .25s;
  flex-shrink: 0;
  margin-left: 8px;
}
.in100-collapse.collapsed .in100-collapse-arrow {
  transform: rotate(180deg);
}

/* Conteúdo recolhível */
.in100-collapse-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 1200px;
  opacity: 1;
  overflow: hidden;
  transition: max-height .35s ease, opacity .25s ease, padding .25s ease;
}
.in100-collapse.collapsed .in100-collapse-body {
  max-height: 0;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
}

/* ── Linha do provider (dentro do collapse) ── */
.in100-provider-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line);
  flex-wrap: wrap;
}
.in100-provider-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--mute);
  font-weight: 500;
}
.in100-provider-row select {
  background: var(--ink-3);
  border: 1px solid var(--line-2);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 7px 12px;
  cursor: pointer;
  letter-spacing: 0.04em;
  flex: 1;
  max-width: 280px;
}
.in100-provider-row select:focus {
  outline: none;
  border-color: var(--cyan);
}

/* O step 1 dentro do collapse precisa perder a borda externa */
.in100-collapse-body .in100-step {
  border: none;
  background: transparent;
}
.in100-collapse-body .in100-step .in100-step-head {
  padding: 0 0 12px 0;
  border-bottom: 1px solid var(--line);
}
.in100-collapse-body .in100-step .in100-step-body {
  padding: 14px 0 0 0;
}

/* ── Steps externos (2 e 3) com mais respiro ── */
.in100-step .in100-step-head {
  padding: 16px 20px;
  gap: 14px;
}
.in100-step .in100-step-body {
  padding: 18px 20px 20px;
  gap: 16px;
}
.in100-step-head-right {
  margin-left: auto;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

/* ── BOTÕES GRANDES (override) ── */
.in100-btn-lg {
  padding: 12px 28px !important;
  font-size: 14px !important;
  min-width: 160px;
  justify-content: center;
}
.in100-shell .in100-btn-primary,
.in100-shell .in100-btn-magenta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.in100-step-actions {
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}

/* Search row do step 3 — alinha botões com input */
.in100-search-row {
  align-items: stretch;
}
.in100-search-row .in100-field { display: flex; flex-direction: column; }
.in100-search-row .in100-btn-lg {
  align-self: flex-end;
  height: fit-content;
}

/* ── REMOVE estilos antigos não usados ── */
.in100-shell .in100-topbar,
.in100-shell .in100-auth-banner,
.in100-shell .in100-toggle-row,
.in100-shell .in100-info,
.in100-step-pill,
.in100-pill-ok {
  display: none !important;
}

/* No mobile, botões viram full-width */
@media (max-width: 600px) {
  .in100-btn-lg {
    width: 100%;
    min-width: 0;
  }
  .in100-step-actions {
    flex-direction: column;
  }
  .in100-search-row {
    flex-direction: column;
  }
  .in100-search-row .in100-btn-lg {
    align-self: stretch;
  }
  .in100-collapse-bar { flex-wrap: wrap; }
  .in100-collapse-bar .in100-bar-meta { width: 100%; margin-left: 0; }
}

/* ════════════════════════════════════════════════════════════
   IN100 v4 — Info principal grande + Bloqueio TBM destacado
   ════════════════════════════════════════════════════════════ */

/* ── Info principal: 3 campos grandes (Espécie / Idade / DDB) ── */
.in100-shell .bf-info-main {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
  padding: 16px 18px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.in100-shell .bf-info-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.in100-shell .bf-info-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--mute);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 500;
}
.in100-shell .bf-info-value {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.in100-shell .bf-info-sub {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-2);
  letter-spacing: 0;
}

@media (max-width: 700px) {
  .in100-shell .bf-info-main { grid-template-columns: 1fr; }
}

/* ── Esconde a grid antiga de info secundária (UF/Banco/etc) ── */
.in100-shell .bf-grid {
  display: none !important;
}

/* ── BLOQUEIO POR TBM: destaque vermelho ── */
.in100-shell .bf-warning-tbm {
  background: rgba(255,77,106,0.10);
  border-color: rgba(255,77,106,0.35);
  color: #FFC8D2;
  padding: 12px 16px;
}
.in100-shell .bf-warn-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.in100-shell .bf-warn-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: #FF6B7E;
  letter-spacing: -0.01em;
}
.in100-shell .bf-warn-info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255,107,126,0.20);
  color: #FFB0BC;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  cursor: help;
  position: relative;
  outline: none;
  transition: background .15s, transform .15s;
}
.in100-shell .bf-warn-info:hover,
.in100-shell .bf-warn-info:focus {
  background: rgba(255,107,126,0.35);
  transform: scale(1.1);
}

/* Tooltip do ⓘ */
.in100-shell .bf-warn-info::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  max-width: 90vw;
  padding: 12px 14px;
  background: var(--ink);
  border: 1px solid var(--line-2);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
  text-align: left;
  white-space: normal;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
  box-shadow: 0 12px 30px rgba(0,0,0,0.5);
}
.in100-shell .bf-warn-info::before {
  content: "";
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--line-2);
  opacity: 0;
  transition: opacity .2s;
  z-index: 101;
}
.in100-shell .bf-warn-info:hover::after,
.in100-shell .bf-warn-info:focus::after,
.in100-shell .bf-warn-info:hover::before,
.in100-shell .bf-warn-info:focus::before {
  opacity: 1;
  pointer-events: auto;
}

/* Mobile: tooltip ancorado ao lado direito (não corta) */
@media (max-width: 600px) {
  .in100-shell .bf-warn-info::after {
    left: auto;
    right: 0;
    transform: none;
    width: 280px;
  }
  .in100-shell .bf-warn-info::before { display: none; }
}

/* ════════════════════════════════════════════════════════════
   IN100 v5 — sem números, passo 2 collapse, detalhes expandidos
   ════════════════════════════════════════════════════════════ */

/* ── Esconde os números 1/2/3 dos passos (não precisamos) ── */
.in100-shell .in100-step-num {
  display: none !important;
}

/* O eyebrow vira o título principal — um pouco maior */
.in100-shell .in100-step-eyebrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--cyan-glow);
}
.in100-shell .in100-step-eyebrow::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 1px;
  background: var(--cyan);
  margin-right: 10px;
  vertical-align: middle;
  opacity: 0.7;
}

/* ── Passo 2 collapsível (header clicável + seta) ── */
.in100-shell .in100-step-collapsible > .in100-step-head {
  cursor: pointer;
  user-select: none;
  transition: background .15s;
}
.in100-shell .in100-step-collapsible > .in100-step-head:hover {
  background: rgba(255,255,255,0.025);
}
.in100-shell .in100-step-arrow {
  margin-left: 8px;
  font-size: 12px;
  color: var(--mute);
  transition: transform .25s;
  flex-shrink: 0;
}
.in100-shell .in100-step-collapsible.collapsed .in100-step-arrow {
  transform: rotate(180deg);
}

/* Body do passo 2 colapsado */
.in100-shell .in100-step-collapsible .in100-step-body {
  max-height: 1500px;
  opacity: 1;
  overflow: hidden;
  transition: max-height .35s ease, opacity .25s ease, padding .25s ease;
}
.in100-shell .in100-step-collapsible.collapsed .in100-step-body {
  max-height: 0;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
  border: none;
}

/* ── "Ver todos os dados técnicos" — expande na tela inteira (sem scroll interno) ── */
.in100-shell .bf-details {
  max-height: none !important;
  overflow: visible !important;
  background: rgba(0,0,0,0.20);
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid var(--line);
  margin-top: 12px;
}
.in100-shell .bf-details-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 4px 18px;
}
.in100-shell .bf-detail-item {
  font-size: 11px;
  padding: 5px 0;
}
.in100-shell .bf-detail-item .dk { font-weight: 500; }

/* Botão "Ver todos os dados técnicos" mais convidativo */
.in100-shell .bf-expand-btn {
  font-size: 12px;
  padding: 9px 14px;
}

/* ════════════════════════════════════════════════════════════
   IN100 v6 — Anula limites de altura herdados do CSS legado
   ════════════════════════════════════════════════════════════ */

/* O CSS antigo tinha .in100-benefits com max-height: 400px + overflow-y:auto
   Isso fazia o conteúdo expandir DENTRO do container em vez de aumentar
   a página. Anula no escopo do novo shell. */
.in100-shell .in100-benefits {
  max-height: none !important;
  overflow: visible !important;
}

/* Garante que o card do benefício também não tenha altura limitada */
.in100-shell .in100-benefit {
  max-height: none !important;
  overflow: visible !important;
}
