/* Nova Business Labs — misma paleta del sitio anterior (fondo noche, celeste y lavanda). */
:root {
  --bg: #080c14;
  --bg-2: #0d1422;
  --card: rgba(16, 24, 40, 0.72);
  --line: rgba(56, 189, 248, 0.16);
  --line-2: rgba(148, 163, 184, 0.18);
  --primary: #38bdf8;
  --primary-ink: #04121c;
  --primary-glow: rgba(56, 189, 248, 0.25);
  --accent: #818cf8;
  --text: #f1f5f9;
  --muted: #94a3b8;
  --ok: #34d399;
  --warn: #fbbf24;
  --danger: #f87171;
  /* Superficie clara del pago (el formulario de Mercado Pago se lee mejor sobre blanco) */
  --paper: #ffffff;
  --paper-ink: #0f172a;
  --paper-muted: #475569;
  --paper-line: #e2e8f0;
  --radius: 16px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--text); line-height: 1.6;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(129, 140, 248, 0.14), transparent 60%),
              radial-gradient(900px 500px at -10% 10%, rgba(56, 189, 248, 0.10), transparent 60%), var(--bg);
  min-height: 100vh;
}
a { color: var(--primary); }
img { max-width: 100%; }
.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(720px, 100% - 32px); margin-inline: auto; }

/* Encabezado */
.top { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(12px); background: rgba(8, 12, 20, 0.72); border-bottom: 1px solid var(--line-2); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 62px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: -0.01em; }
.brand-mark { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, var(--primary), var(--accent)); box-shadow: 0 0 22px var(--primary-glow); }
.top nav a { color: var(--muted); text-decoration: none; font-size: 0.93rem; margin-left: 18px; }
.top nav a:hover { color: var(--text); }

/* Tipografía */
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.lead { font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--muted); max-width: 62ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary); }
.grad { background: linear-gradient(90deg, var(--primary), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; font: inherit; font-weight: 600;
  padding: 14px 22px; border-radius: 12px; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, background .15s; min-height: 48px; }
.btn-primary { background: var(--primary); color: var(--primary-ink); box-shadow: 0 8px 30px var(--primary-glow); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 36px rgba(56, 189, 248, 0.38); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line-2); }
.btn-ghost:hover { border-color: var(--primary); }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.btn-block { width: 100%; }

/* Secciones */
.hero { padding: clamp(48px, 9vw, 110px) 0 40px; }
.section { padding: 40px 0; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.funnel-card { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--text); transition: border-color .2s, transform .2s; }
.funnel-card:hover { border-color: rgba(56, 189, 248, 0.5); transform: translateY(-2px); }
.funnel-card .meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 0.85rem; color: var(--muted); }
.funnel-card .price { margin-top: auto; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line-2); }
.price b { font-size: 1.35rem; color: var(--text); }
.tag { display: inline-block; font-size: 0.75rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: rgba(56, 189, 248, 0.12); color: var(--primary); }
.tag-warn { background: rgba(251, 191, 36, 0.14); color: var(--warn); }
.steps { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); counter-reset: s; }
.steps li { list-style: none; counter-increment: s; }
.steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(129, 140, 248, 0.18); color: var(--accent); font-weight: 700; margin-bottom: 8px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { padding-left: 30px; position: relative; }
.checks li::before { content: ''; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: rgba(52, 211, 153, 0.18);
  -webkit-mask: none; box-shadow: inset 0 0 0 2px var(--ok); }
.checks li::after { content: ''; position: absolute; left: 6px; top: 8px; width: 6px; height: 9px; border: solid var(--ok); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* Test */
.quiz { margin-top: 8px; }
.progress { height: 6px; background: rgba(148, 163, 184, 0.16); border-radius: 99px; overflow: hidden; margin-bottom: 18px; }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--primary), var(--accent)); transition: width .3s ease; }
.q-count { font-size: 0.85rem; color: var(--muted); margin-bottom: 6px; }
.q-text { font-size: clamp(1.2rem, 3vw, 1.5rem); font-weight: 650; margin: 0 0 18px; line-height: 1.3; }
.options { display: grid; gap: 10px; }
.opt { text-align: left; width: 100%; background: rgba(15, 23, 42, 0.6); color: var(--text); border: 1px solid var(--line-2); border-radius: 12px; padding: 15px 16px;
  font: inherit; cursor: pointer; transition: border-color .15s, background .15s; min-height: 52px; }
.opt:hover, .opt:focus-visible { border-color: var(--primary); outline: none; background: rgba(56, 189, 248, 0.06); }
.opt.sel { border-color: var(--primary); background: rgba(56, 189, 248, 0.12); }
.quiz-nav { display: flex; justify-content: space-between; margin-top: 16px; gap: 10px; }
.result-box { text-align: center; }
.meter { width: 140px; height: 140px; margin: 6px auto 14px; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--primary) calc(var(--p) * 1%), rgba(148, 163, 184, 0.16) 0); position: relative; }
.meter::before { content: ''; position: absolute; inset: 12px; border-radius: 50%; background: var(--bg-2); }
.meter b { position: relative; font-size: 2rem; }
.blur { filter: blur(5px); user-select: none; pointer-events: none; }
.locked { position: relative; border: 1px dashed var(--line); border-radius: 12px; padding: 16px; margin: 16px 0; text-align: left; }
.locked .lock-label { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 600; color: var(--text); background: rgba(8, 12, 20, 0.35); border-radius: 12px; }

/* Formularios */
label { display: block; font-size: 0.9rem; font-weight: 600; margin: 0 0 6px; }
input[type=text], input[type=email], input[type=password], input[type=number], textarea, select {
  width: 100%; font: inherit; color: var(--text); background: rgba(15, 23, 42, 0.7); border: 1px solid var(--line-2); border-radius: 10px; padding: 12px 14px; min-height: 46px; }
input:focus, textarea:focus, select:focus { outline: 2px solid rgba(56, 189, 248, 0.45); outline-offset: 1px; border-color: var(--primary); }
.field { margin-bottom: 14px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 0.88rem; color: var(--muted); }
.check input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.alert { border-radius: 10px; padding: 11px 14px; font-size: 0.92rem; margin: 10px 0; }
.alert-err { background: rgba(248, 113, 113, 0.12); border: 1px solid rgba(248, 113, 113, 0.35); color: #fecaca; }
.alert-ok { background: rgba(52, 211, 153, 0.12); border: 1px solid rgba(52, 211, 153, 0.35); color: #bbf7d0; }
.alert-warn { background: rgba(251, 191, 36, 0.12); border: 1px solid rgba(251, 191, 36, 0.35); color: #fde68a; }

/* Pago: superficie clara */
.pay { background: var(--paper); color: var(--paper-ink); border-radius: var(--radius); padding: 22px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35); }
.pay { padding: 26px 26px 18px; border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 24px 70px rgba(2, 6, 23, 0.55); }
.pay .pay-test { margin: -6px 0 16px; font-size: 0.74rem; color: #92400e; background: #fffbeb; border: 1px solid #fde68a; border-radius: 999px; padding: 5px 12px; text-align: center; }
.pay .pay-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 14px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--paper-line); }
.pay .pay-title { display: flex; gap: 12px; align-items: center; }
.pay .pay-title b { display: block; font-size: 1.02rem; letter-spacing: -0.01em; }
.pay .pay-title span { display: block; font-size: 0.78rem; color: var(--paper-muted); }
.pay .pay-lock { display: grid !important; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(135deg, #ecfdf5, #d1fae5); color: #047857; flex: none; }
.pay .brands img { display: block; width: 44px; height: 28px; padding: 4px 6px; object-fit: contain; background: #fff; border: 1px solid var(--paper-line); border-radius: 6px; transition: opacity .2s, transform .2s, box-shadow .2s, border-color .2s; }
.pay .brands.picked img { opacity: 0.25; filter: grayscale(1); }
.pay .brands.picked img.on { opacity: 1; filter: none; transform: translateY(-1px); border-color: #0369a1; box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.14); }
.pay .summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: #f8fafc; border: 1px solid var(--paper-line); border-radius: 12px; padding: 14px 16px; margin-bottom: 18px; }
.pay .summary .muted-ink { display: block; font-weight: 600; font-size: 0.92rem; }
.pay .summary .small-ink { display: block; font-size: 0.76rem; color: var(--paper-muted); margin-top: 2px; }
.pay .summary strong { font-size: 1.55rem; letter-spacing: -0.02em; white-space: nowrap; }
.pay .summary strong small { font-size: 0.72rem; font-weight: 600; color: var(--paper-muted); letter-spacing: 0; }
.pay .brand-hint { min-height: 1.1em; margin: -8px 0 8px; font-size: 0.78rem; font-weight: 600; color: #0369a1; }
.pay .brand-hint.bad { color: #b91c1c; }
.pay .trust { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 16px 0 0; margin: 18px 0 0; border-top: 1px solid var(--paper-line); }
.pay .trust li { display: flex; gap: 8px; align-items: flex-start; font-size: 0.72rem; line-height: 1.4; color: var(--paper-muted); }
.pay .trust li svg { flex: none; color: #047857; margin-top: 1px; }
.pay .trust b { display: block; color: var(--paper-ink); font-size: 0.76rem; }
.pay .pay-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-top: 14px; }
.pay .pay-foot .note { margin: 0; max-width: 52ch; font-size: 0.7rem; }
.pay .by-mp { display: inline-flex; align-items: center; gap: 6px; flex: none; font-size: 0.64rem; color: #94a3b8; opacity: 0.85; white-space: nowrap; }
.pay .by-mp img { height: 18px; width: auto; }
@media (max-width: 560px) {
  .pay .trust { grid-template-columns: 1fr; gap: 8px; }
  .pay .pay-foot { flex-direction: column; align-items: flex-end; }
  .pay .summary strong { font-size: 1.3rem; }
}
.pay .total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.pay .total strong { font-size: 1.6rem; }
.pay .note { font-size: 0.78rem; color: var(--paper-muted); line-height: 1.5; margin: 8px 0 0; }
.pay .alert-err { background: #fef2f2; color: #991b1b; border-color: #fecaca; }
.pay .alert-warn { background: #fffbeb; color: #92400e; border-color: #fde68a; }
.pay .alert-info { background: #f0f9ff; color: #0c4a6e; border: 1px solid #bae6fd; }
.pay .timer { font-size: 0.85rem; color: var(--paper-muted); }
.pay .timer b { color: var(--paper-ink); font-variant-numeric: tabular-nums; }
.pay iframe.challenge { width: 100%; height: 560px; border: 1px solid var(--paper-line); border-radius: 10px; background: #fff; }
.pay .btn-ghost { color: var(--paper-ink); border-color: var(--paper-line); }
.pay .secure { display: flex; gap: 8px; align-items: flex-start; border-top: 1px solid var(--paper-line); margin-top: 14px; padding-top: 12px; }
.brands { display: flex; gap: 6px; align-items: center; }
.brands span { font-size: 0.68rem; font-weight: 700; border: 1px solid var(--paper-line); border-radius: 5px; padding: 2px 6px; color: var(--paper-muted); }
.spin { display: inline-block; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; vertical-align: -3px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Reporte */
.report { background: var(--paper); color: var(--paper-ink); border-radius: var(--radius); padding: clamp(22px, 5vw, 48px); }
.report h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
.report h2 { margin-top: 1.6em; font-size: 1.35rem; color: #0c4a6e; }
.report h3 { margin-top: 1.3em; font-size: 1.1rem; }
.report blockquote { margin: 1em 0; padding: 12px 16px; border-left: 4px solid var(--primary); background: #f0f9ff; border-radius: 0 8px 8px 0; }
.report table { border-collapse: collapse; width: 100%; font-size: .92rem; }
.report th, .report td { border: 1px solid var(--paper-line); padding: 8px 10px; text-align: left; }
.report a { color: #0369a1; }
@media print { .top, .foot, .no-print { display: none !important; } body { background: #fff; } .report { box-shadow: none; padding: 0; } }

/* Admin */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.tabs button { background: transparent; color: var(--muted); border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 16px; font: inherit; cursor: pointer; }
.tabs button.on { color: var(--primary-ink); background: var(--primary); border-color: var(--primary); }
.table-wrap { overflow-x: auto; }
table.list { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
table.list th, table.list td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
table.list th { color: var(--muted); font-weight: 600; }
.kpis { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-bottom: 16px; }
.kpi { background: rgba(15, 23, 42, 0.6); border: 1px solid var(--line-2); border-radius: 12px; padding: 14px; }
.kpi b { display: block; font-size: 1.3rem; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
code, .mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.85em; word-break: break-all; }

.foot { border-top: 1px solid var(--line-2); margin-top: 60px; padding: 28px 0; color: var(--muted); font-size: 0.85rem; }
.foot .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.hidden { display: none !important; }
@media (max-width: 560px) {
  .top nav a:not(.keep) { display: none; }
  .card { padding: 18px; }
  .pay { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
/* Documento del formulario de Mercado Pago sin el selector RUT/Otro (queda "Otro", válido para cualquier país) */
.pay input.nbl-doc { width: 100% !important; flex: 1 1 auto; border-radius: 8px !important; }
/* Precio en moneda local / dólares */
.px-line { margin: 10px 0 0; font-size: 0.78rem; color: var(--muted); text-align: center; }
.px-line a, .pay .px-toggle { color: #38bdf8; font-weight: 600; text-decoration: none; white-space: nowrap; }
.pay .px-toggle { color: #0369a1; font-size: 0.74rem; background: none; border: 0; padding: 0; cursor: pointer; }
.pay .px-note { display: block; font-size: 0.72rem; color: var(--paper-muted); margin-top: 2px; }
.foot .attrib { margin-top: 10px; font-size: 0.7rem; opacity: 0.7; display: block; }
.foot .attrib a { color: inherit; }
.pay .summary .amt { text-align: right; flex: none; }
.pay .summary .amt strong { display: block; }
@media (max-width: 560px) {
  .pay .summary { flex-direction: column; align-items: stretch; gap: 8px; }
  .pay .summary .amt { display: flex; justify-content: space-between; align-items: center; gap: 10px; text-align: left; border-top: 1px solid var(--paper-line); padding-top: 10px; }
  .pay .summary .amt strong { font-size: 1.4rem; }
}
/* Selector de variante (ej. /test/empleabilidad) */
.choices { display: grid; gap: 12px; margin-top: 24px; }
.choice { display: flex; align-items: center; gap: 14px; padding: 18px 18px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(15, 23, 42, 0.6); color: inherit; text-decoration: none; transition: border-color .2s, transform .2s, background .2s; }
.choice:hover, .choice:focus-visible { border-color: #38bdf8; background: rgba(56, 189, 248, 0.08); transform: translateY(-1px); }
.choice-n { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(56, 189, 248, 0.15); color: #38bdf8; font-weight: 700; }
.choice-t { flex: 1; display: grid; gap: 4px; }
.choice-t b { font-size: 1.02rem; line-height: 1.35; }
.choice-go { flex: none; color: #38bdf8; font-size: 1.3rem; }
/* Pausa entre pilares */
.pause { text-align: center; padding: 8px 4px; }
.pause .pause-title { font-size: 1.4rem; margin: 6px 0 8px; }
.pause .fact { text-align: left; margin: 18px 0; padding: 14px 16px; border-radius: 12px; background: rgba(56, 189, 248, 0.08); border: 1px solid rgba(56, 189, 248, 0.25); font-size: 0.92rem; }
.pause .fact b { display: block; font-size: 0.75rem; letter-spacing: .06em; text-transform: uppercase; color: #38bdf8; margin-bottom: 4px; }
.pause .bar { height: 4px; border-radius: 4px; background: var(--line-2); overflow: hidden; margin: 18px 0 14px; }
.pause .bar span { display: block; height: 100%; width: 0; background: #38bdf8; animation: pausebar 6s linear forwards; }
@keyframes pausebar { to { width: 100%; } }
/* Producto único: CV, bloqueo, extras */
.drop { display: grid; gap: 4px; place-items: center; text-align: center; padding: 26px 16px; border: 2px dashed var(--line); border-radius: 14px; cursor: pointer; transition: border-color .2s, background .2s; }
.drop:hover, .drop.over { border-color: #38bdf8; background: rgba(56, 189, 248, 0.06); }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop:focus-within { outline: 2px solid #38bdf8; outline-offset: 2px; }
.cv-ok { display: grid; gap: 4px; margin-top: 14px; padding: 14px; border-radius: 12px; background: rgba(52, 211, 153, 0.1); border: 1px solid rgba(52, 211, 153, 0.3); }
.locked-result { text-align: center; }
.meter-locked { filter: blur(3px); opacity: .7; }
.lock-grid { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin-top: 18px; text-align: left; }
.lock-item { position: relative; padding: 12px 14px; border: 1px dashed var(--line); border-radius: 10px; overflow: hidden; display: grid; gap: 4px; font-size: .9rem; }
/* Análisis del CV dentro del reporte */
.cv-area { margin-top: 26px; display: grid; gap: 18px; }
.cv-area h2, .cv-area h3 { margin: 12px 0 8px; }
.cv-area h3 { font-size: 1.02rem; }
.score-card { display: flex; gap: 18px; align-items: center; margin: 10px 0; }
.score-card .meter { margin: 0; flex: none; }
.finding { border: 1px solid var(--line-2); border-left: 4px solid #64748b; border-radius: 10px; padding: 12px 14px; margin: 10px 0; }
.finding.sev-critica { border-left-color: #f87171; } .finding.sev-alta { border-left-color: #fb923c; } .finding.sev-media { border-left-color: #fbbf24; }
.finding .frag { font-style: italic; color: var(--muted); margin: 6px 0; }
.finding .ex { background: rgba(56, 189, 248, 0.08); border-radius: 8px; padding: 8px 10px; margin: 6px 0 0; }
.bar2 { display: inline-block; width: 90px; height: 8px; background: var(--line-2); border-radius: 6px; overflow: hidden; vertical-align: middle; margin-right: 6px; }
.bar2 span { display: block; height: 100%; background: #38bdf8; } .bar2 .good { background: #34d399; } .bar2 .mid { background: #fbbf24; } .bar2 .bad { background: #f87171; }
.tpls { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin: 12px 0; }
.tpl { display: grid; gap: 6px; align-content: start; border: 1px solid var(--line-2); border-radius: 12px; padding: 14px; }
.upsell { border-color: rgba(56, 189, 248, 0.4); }
.cv-area textarea, .cv-area select { width: 100%; }
@media print { .cv-area .upsell, .cv-area .drop { display: none; } }
.cv-area { grid-template-columns: minmax(0, 1fr); }
.cv-area .card { min-width: 0; overflow-wrap: anywhere; }
.cv-area .table-wrap { overflow-x: auto; max-width: 100%; }
.cv-area table.list { min-width: 0; }
.cv-area .finding { overflow-wrap: anywhere; }
.cv-area table.list td, .cv-area table.list th { white-space: normal; vertical-align: top; }
/* Pestaña IA: interruptor de proveedor */
.prov-switch { display: flex; align-items: center; gap: 14px; font-weight: 600; color: var(--muted); }
.prov-switch .on { color: var(--text); }
.sw { position: relative; display: inline-block; width: 58px; height: 30px; flex: none; }
.sw input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 2; }
.sw .knob { position: absolute; inset: 0; border-radius: 30px; background: #38bdf8; transition: background .2s; }
.sw .knob::after { content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 4px rgba(0,0,0,.4); }
.sw input:checked + .knob { background: #76b900; }
.sw input:checked + .knob::after { transform: translateX(28px); }
.sw input:focus-visible + .knob { outline: 2px solid #fff; outline-offset: 2px; }
.prov { border: 1px solid var(--line-2); border-radius: 14px; padding: 16px; margin: 12px 0; opacity: .75; }
.prov.sel { border-color: #38bdf8; opacity: 1; background: rgba(56, 189, 248, 0.04); }
