/* Área da conta e admin do Xcandle.ai — mesmo estilo claro da landing (inspirado no Attio). */
:root {
  --bg-0: #ffffff; --bg-1: #fafafb; --bg-2: #f3f4f6; --bg-3: #edeff3;
  --line: #eeeff1; --line-2: #e4e7ec; --line-3: #d3d8df;
  --text: #1c1d1f; --text-2: #505967; --text-3: #8f99a8; --text-4: #b5bdc9;
  --ink: #1c1d1f;
  --accent: #266df0; --accent-2: #245bc2; --accent-soft: #e8f0ff;
  --buy: #0db472; --buy-2: #0a9a61; --buy-soft: #e3f7ee;
  --sell: #f65351; --sell-2: #e03e3b; --sell-soft: #fdecec;
  --radius: 8px;
  --shadow: 0 1px 2px rgba(28,29,31,.06), 0 0 0 1px rgba(28,29,31,.06);
  --shadow-lg: 0 24px 48px -16px rgba(28,29,31,.14), 0 0 0 1px rgba(28,29,31,.07);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --dots: radial-gradient(#dfe3e9 1px, transparent 1px);
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg-0); color: var(--text); font-family: var(--font); font-size: 14.5px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
body { font-feature-settings: 'cv11', 'ss01'; }
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }
.num, td.num { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: .95em; letter-spacing: -.02em; }
.muted { color: var(--text-2); } .faint { color: var(--text-3); }
.up { color: var(--buy-2); } .down { color: var(--sell-2); }
::selection { background: #c8dcff; }

/* ---------------------------------------------------------------- topo e moldura */
.top { position: sticky; top: 0; z-index: 5; background: rgba(255,255,255,.88); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line-2); }
.top-in { display: flex; align-items: center; gap: 24px; height: 60px; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--text); font-weight: 600; font-size: 17px; letter-spacing: -.03em; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand em { font-style: normal; color: var(--text-3); font-weight: 500; }
.logo-mark { color: var(--ink); display: block; }
.tag { font-size: 11px; font-weight: 600; color: var(--text-2); background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 6px; padding: 1px 7px; letter-spacing: 0; margin-left: 2px; }
.top nav { display: flex; gap: 2px; }
.top nav a { color: var(--text); padding: 6px 9px; border-radius: 8px; font-weight: 450; font-size: 14px; white-space: nowrap; }
.top nav a:hover { background: var(--bg-2); text-decoration: none; }
.top nav a.on { background: var(--bg-2); font-weight: 550; }
.who { margin-left: auto; display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--text-3); }
.who-mail { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.who-out { color: var(--text-2); }
.avatar { width: 28px; height: 28px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--bg-2); box-shadow: var(--shadow); color: var(--text-2); font-size: 12px; font-weight: 600; }

.frame { max-width: 1240px; margin: 0 auto; border-left: 1px solid var(--line-2); border-right: 1px solid var(--line-2); min-height: calc(100vh - 60px - 70px); }
.wrap { max-width: 760px; margin: 0 auto; padding: 48px 24px 72px; }
.wrap.wide { max-width: none; padding: 40px 40px 72px; }
.foot { border-top: 1px solid var(--line-2); font-size: 12.5px; color: var(--text-3); }
.foot-in { max-width: 1240px; margin: 0 auto; padding: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

h1 { font-size: 30px; letter-spacing: -.04em; line-height: 1.15; margin: 0 0 6px; font-weight: 600; }
h2 { font-size: 16px; letter-spacing: -.02em; margin: 0 0 12px; font-weight: 600; }
.lead { color: var(--text-3); font-size: 15.5px; margin: 0 0 28px; }

/* ---------------------------------------------------------------- cartões e números */
.card { background: #fff; border-radius: 12px; padding: 22px 24px; margin-bottom: 16px; box-shadow: var(--shadow); }
.card h2 { display: flex; align-items: center; gap: 8px; }
.card > p.muted { margin-top: 0; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-2); border-radius: 12px; overflow: hidden; margin-bottom: 16px; box-shadow: var(--shadow); }
.kpi { background: #fff; padding: 18px 20px; }
.kpi span { display: block; font-size: 12.5px; color: var(--text-3); font-weight: 500; }
.kpi b { display: block; font-size: 26px; font-weight: 600; letter-spacing: -.04em; margin-top: 4px; font-feature-settings: 'tnum'; }
.kpi small { color: var(--text-3); font-size: 12.5px; }

/* ---------------------------------------------------------------- formulários */
form .field, .field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
label { font-size: 13px; color: var(--text); font-weight: 500; }
.label-link { float: right; font-weight: 450; color: var(--text-3); font-size: 12.5px; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=tel], select, textarea {
  width: 100%; height: 40px; padding: 0 12px; border-radius: var(--radius); border: 1px solid var(--line-2);
  background: #fff; color: var(--text); font: inherit; outline: none; box-shadow: 0 1px 2px rgba(28,29,31,.04);
  transition: border-color .12s, box-shadow .12s;
}
input::placeholder, textarea::placeholder { color: var(--text-4); }
textarea { height: 96px; padding: 10px 12px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px #266df02e; }
input:disabled { background: var(--bg-2); color: var(--text-3); }
.hint { font-size: 12.5px; color: var(--text-3); }
.check { display: flex; align-items: flex-start; gap: 9px; color: var(--text-2); font-weight: 400; font-size: 13.5px; margin-bottom: 18px; line-height: 1.45; }
.check input { margin: 2px 0 0; accent-color: var(--ink); width: 15px; height: 15px; flex-shrink: 0; }

/* WhatsApp: país + número */
.phone { display: flex; height: 40px; border: 1px solid var(--line-2); border-radius: var(--radius); background: #fff; box-shadow: 0 1px 2px rgba(28,29,31,.04); transition: border-color .12s, box-shadow .12s; }
.phone:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px #266df02e; }
.phone-cc { position: relative; display: flex; align-items: center; gap: 6px; padding: 0 10px 0 12px; border-right: 1px solid var(--line-2); font-weight: 500; font-size: 14px; color: var(--text); background: var(--bg-1); border-radius: var(--radius) 0 0 var(--radius); cursor: pointer; white-space: nowrap; }
.phone-cc::after { content: ''; width: 6px; height: 6px; border-right: 1.5px solid var(--text-3); border-bottom: 1.5px solid var(--text-3); transform: rotate(45deg) translateY(-2px); margin-left: 2px; }
.phone-flag { font-size: 16px; line-height: 1; }
.phone-cc select { position: absolute; inset: 0; opacity: 0; cursor: pointer; height: 100%; }
.phone input { border: 0; box-shadow: none; height: 38px; border-radius: 0 var(--radius) var(--radius) 0; font-variant-numeric: tabular-nums; }
.phone input:focus { box-shadow: none; }
.inline-form { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.inline-form .field { flex: 1; min-width: 260px; margin-bottom: 0; }
.wa { color: var(--buy-2); white-space: nowrap; }

/* ---------------------------------------------------------------- botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 38px; padding: 0 15px; border-radius: var(--radius); border: 1px solid var(--line-2);
  background: #fff; color: var(--text); font: inherit; font-weight: 500; cursor: pointer; white-space: nowrap; box-shadow: 0 1px 2px rgba(28,29,31,.05); transition: background .12s, border-color .12s; }
.btn:hover { background: var(--bg-1); border-color: var(--line-3); text-decoration: none; }
.btn.primary, .btn.dark { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.12); }
.btn.primary:hover, .btn.dark:hover { background: #2e3238; border-color: #2e3238; }
.btn.danger { color: var(--sell-2); border-color: #f9d0cf; background: var(--sell-soft); }
.btn.sm { height: 32px; padding: 0 12px; font-size: 13.5px; }
.btn.lg { height: 44px; font-size: 15px; border-radius: 10px; }
.btn.block { width: 100%; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

/* ---------------------------------------------------------------- avisos e selos */
.flash { padding: 12px 14px; border-radius: var(--radius); margin-bottom: 18px; background: var(--bg-2); color: var(--text-2); font-size: 14px; }
.flash.ok { background: var(--buy-soft); color: #087a4d; }
.flash.err { background: var(--sell-soft); color: #c42f2c; }

.badge { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 12px; font-weight: 600; background: var(--bg-2); color: var(--text-2); border: 1px solid var(--line-2); }
.badge.plan-pro { background: var(--accent-soft); color: var(--accent-2); border-color: #c8dcff; }
.badge.plan-ultra { background: #f3effd; color: #6e56cf; border-color: #ddd3fb; }
.badge.ok { background: var(--buy-soft); color: var(--buy-2); border-color: #bfe9d6; }
.badge.bad { background: var(--sell-soft); color: var(--sell-2); border-color: #f9d0cf; }

/* ---------------------------------------------------------------- tabelas */
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
th { text-align: left; color: var(--text-3); font-weight: 500; font-size: 12.5px; padding: 11px 14px; border-bottom: 1px solid var(--line-2); white-space: nowrap; background: var(--bg-1); }
td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
tr:hover td { background: var(--bg-1); }
td a { color: var(--text); font-weight: 500; }
td a.wa { color: var(--buy-2); font-weight: 450; }
.table-card { padding: 0; overflow: auto; }
.filters { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.filters input, .filters select { width: auto; min-width: 200px; }

/* troca de senha (logado) */
.auth { max-width: 420px; margin: 24px auto; }
.auth .card { padding: 30px; }
.auth h1 { font-size: 24px; }
.auth .alt { margin-top: 18px; font-size: 13.5px; color: var(--text-3); text-align: center; }

/* planos na página da conta */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.plan-opt { border-radius: 12px; padding: 18px; background: #fff; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 4px; }
.plan-opt:last-child { box-shadow: 0 0 0 1.5px var(--ink); }
.plan-opt b { font-size: 26px; font-weight: 600; letter-spacing: -.04em; display: block; margin: 2px 0 6px; }
.plan-opt b small { font-size: 14px; font-weight: 400; letter-spacing: 0; }
.plan-opt .save { color: var(--buy-2); font-size: 12.5px; font-weight: 600; margin-bottom: 4px; }
.plan-opt form { margin-top: auto; padding-top: 8px; }
.secret { font-family: var(--mono); font-size: 12.5px; color: var(--text-2); word-break: break-all; }
.pill-env { font-size: 11px; color: var(--accent-2); font-weight: 500; }

/* ---------------------------------------------------------------- telas de entrada (entrar, criar, senha) */
.area-auth { background: #fff; }
.auth-split { display: grid; grid-template-columns: minmax(420px, 1fr) 1.15fr; min-height: 100vh; }
.auth-side { display: flex; flex-direction: column; padding: 28px 48px; }
.auth-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.auth-back { color: var(--text-3); font-size: 13.5px; }
.auth-form { width: 100%; max-width: 400px; margin: auto; padding: 48px 0; }
.auth-form h1 { font-size: 34px; letter-spacing: -.045em; margin-bottom: 8px; }
.auth-form .lead { margin-bottom: 30px; }
.auth-form .alt { margin-top: 22px; font-size: 14px; color: var(--text-3); text-align: center; }
.auth-form .alt a { color: var(--text); font-weight: 500; }
.auth-legal { font-size: 12px; color: var(--text-4); margin: 0; }

.auth-show { position: relative; overflow: hidden; border-left: 1px solid var(--line-2); background-color: var(--bg-1); background-image: var(--dots); background-size: 16px 16px; display: flex; align-items: center; justify-content: center; padding: 48px; }
.auth-show::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 50% at 50% 40%, rgba(255,255,255,.9), transparent 70%); pointer-events: none; }
.show-in { position: relative; width: 100%; max-width: 520px; display: flex; flex-direction: column; gap: 22px; }
.show-badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 9px; background: #fff; box-shadow: var(--shadow); font-size: 13px; font-weight: 500; }
.show-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--buy); box-shadow: 0 0 0 3px var(--buy-soft); }
.auth-show h2 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -.045em; line-height: 1.08; margin: 0; }
.auth-show h2 span { color: var(--text-3); }
.show-card { background: #f3f4f6; border-radius: 14px; padding: 7px; box-shadow: var(--shadow-lg); }
.show-card > * { background: #fff; }
.show-bar { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 12px; border-radius: 8px 8px 0 0; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.show-bar b { font-weight: 600; }
.lights { display: flex; gap: 6px; }
.lights i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.lights i:nth-child(2) { background: #febc2e; }
.lights i:nth-child(3) { background: #28c840; }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 11.5px; font-weight: 500; background: var(--bg-2); color: var(--text-2); margin-left: auto; }
.pill.live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--buy); }
.show-chart { display: block; width: 100%; height: 170px; padding: 12px 10px 4px; }
.show-quote { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 12px 12px; border-radius: 0 0 8px 8px; }
.q { display: flex; flex-direction: column; gap: 1px; padding: 8px 12px; border-radius: 8px; }
.q span { font-size: 10.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.q b { font-family: var(--mono); font-weight: 500; font-size: 16px; }
.q.sell { background: var(--sell-soft); color: var(--sell-2); }
.q.buy { background: var(--buy-soft); color: var(--buy-2); align-items: flex-end; }
.show-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.show-list li { position: relative; padding-left: 26px; color: var(--text-2); font-size: 14.5px; }
.show-list li::before { content: ''; position: absolute; left: 3px; top: 6px; width: 10px; height: 5.5px; border-left: 1.7px solid var(--text); border-bottom: 1.7px solid var(--text); transform: rotate(-45deg); }
.show-os { display: flex; align-items: center; gap: 16px; font-size: 13.5px; color: var(--text-2); font-weight: 500; }
.show-os span { display: inline-flex; align-items: center; gap: 6px; }
.show-os svg { width: 14px; height: 14px; fill: currentColor; }
.show-os .faint { font-weight: 400; }

/* ---------------------------------------------------------------- responsivo */
@media (max-width: 980px) {
  .auth-split { grid-template-columns: 1fr; }
  .auth-show { display: none; }
  .auth-side { padding: 20px 20px 24px; min-height: 100vh; }
  .auth-form { padding: 32px 0; }
}
@media (max-width: 860px) {
  .top-in { gap: 12px; padding: 0 16px; overflow-x: auto; }
  .top nav a { padding: 6px 8px; }
  .who-mail, .who-out { display: none; }
  .frame { border: 0; }
  .wrap, .wrap.wide { padding: 28px 16px 56px; }
  .grid2, .plans { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 26px; }
  .filters input, .filters select { min-width: 0; flex: 1 1 160px; }
}
@media (max-width: 480px) {
  .auth-back { display: none; }
  .auth-form h1 { font-size: 28px; }
}
h1 .badge { vertical-align: middle; position: relative; top: -3px; margin-left: 6px; }

/* ---------------------------------------------------------------- rodapé, termos e aceite */
.foot-links { display: flex; gap: 16px; flex-wrap: wrap; }
.foot-links a { color: var(--text-2); }
.auth-legal a { color: var(--text-3); text-decoration: underline; text-underline-offset: 2px; }

.consent { display: flex; flex-direction: column; gap: 2px; margin: 4px 0 6px; }
.consent .check { margin-bottom: 12px; }
.consent .check a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.consent .check b { color: var(--text); font-weight: 600; }
.legal-summary { background: var(--bg-1); border-radius: 12px; box-shadow: var(--shadow); padding: 16px 18px; margin-bottom: 22px; font-size: 14px; color: var(--text-2); }
.legal-summary p { margin: 0 0 6px; color: var(--text); }
.legal-summary ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }

.legal { max-width: 720px; margin: 0 auto; }
.legal-meta { font-size: 13px; color: var(--text-3); margin: 0 0 10px; }
.legal h1 { font-size: 40px; letter-spacing: -.045em; margin-bottom: 12px; }
.legal .lead { color: var(--text-2); font-size: 16.5px; line-height: 1.6; }
.legal h2 { font-size: 20px; letter-spacing: -.025em; margin: 40px 0 12px; scroll-margin-top: 80px; }
.legal p, .legal li { color: var(--text-2); font-size: 15.5px; line-height: 1.7; }
.legal p { margin: 0 0 14px; }
.legal ul { padding-left: 20px; margin: 0 0 14px; }
.legal li { margin-bottom: 6px; }
.legal b { color: var(--text); font-weight: 600; }
.legal a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.legal-box { background: var(--bg-1); background-image: var(--dots); background-size: 16px 16px; border-radius: 14px; box-shadow: var(--shadow); padding: 20px 22px 8px; margin: 8px 0 12px; }
.legal-box > b { display: block; font-size: 15px; margin-bottom: 8px; }
.legal-box ul { background: transparent; }
.legal-table { margin: 6px 0 18px; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); font-size: 14px; }
.legal-table td { color: var(--text-2); vertical-align: top; line-height: 1.55; }
.legal-table td:first-child { color: var(--text); font-weight: 500; width: 30%; }
.legal-table tr:hover td { background: transparent; }
.kpis-5 { grid-template-columns: repeat(5, 1fr); } @media (max-width: 860px) { .kpis-5 { grid-template-columns: 1fr 1fr; } }

/* ---------------------------------------------------------------- download */
.dl { max-width: 720px; margin: 0 auto; }
.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.dl-card { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: 14px; background: #fff; box-shadow: var(--shadow); color: var(--text); }
.dl-card:hover { text-decoration: none; box-shadow: var(--shadow-lg); }
.dl-card b { font-size: 16px; letter-spacing: -.02em; }
.dl-card .btn { margin-top: 10px; align-self: flex-start; }
.dl-help ol { margin: 0 0 12px; padding-left: 20px; color: var(--text-2); line-height: 1.7; }
.dl-help b { color: var(--text); }
.small { font-size: 12.5px; }
@media (max-width: 640px) { .dl-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- senha com olho */
.pw-wrap { position: relative; display: block; width: 100%; }
.pw-wrap input { padding-right: 44px !important; }
.pw-eye { position: absolute; top: 50%; right: 6px; transform: translateY(-50%); width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 6px; background: none; color: var(--text-3); cursor: pointer; }
.pw-eye:hover { color: var(--text); background: var(--bg-2); }
.pw-eye:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }

/* ---------------------------------------------------------------- confirmação de e-mail */
.confirm-box { background: var(--bg-1); border-radius: 12px; box-shadow: var(--shadow); padding: 18px 20px; margin-bottom: 22px; }
.confirm-box p { margin: 0 0 8px; color: var(--text-2); line-height: 1.55; }
.confirm-box b { color: var(--text); }
.confirm-ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: #fff; box-shadow: var(--shadow); color: var(--text); margin-bottom: 12px; }

/* ---------------------------------------------------------------- download em destaque (Minha conta) */
.dl-hero { margin: 0 0 16px; padding: 30px 30px 28px; border-radius: 16px; box-shadow: var(--shadow); background-color: var(--bg-1); background-image: var(--dots); background-size: 16px 16px; }
.dl-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--text-3); margin-bottom: 12px; }
.dl-eyebrow i { width: 7px; height: 7px; border-radius: 2px; background: var(--buy); }
.dl-hero h2 { font-size: 26px; letter-spacing: -.035em; line-height: 1.2; margin: 0 0 10px; display: block; }
.dl-hero h2 span { color: var(--text-3); }
.dl-hero > p { margin: 0 0 22px; max-width: 620px; }
.dl-os { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dl-os-card { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
.dl-os-ico { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; background: #fff; box-shadow: var(--shadow); margin-bottom: 6px; }
.dl-os-ico svg { width: 21px; height: 21px; fill: var(--ink); }
.dl-os-card b { font-size: 19px; letter-spacing: -.02em; }
.dl-os-card .muted { font-size: 14px; }
.dl-os-card .btn { margin-top: 12px; align-self: flex-start; }
.dl-os-card .btn svg { width: 15px; height: 15px; fill: currentColor; }
@media (max-width: 700px) { .dl-hero { padding: 22px 18px; } .dl-os { grid-template-columns: 1fr; } .dl-os-card .btn { align-self: stretch; } .dl-hero h2 { font-size: 22px; } }

/* ---------------------------------------------------------------- ilustração do SmartScreen (download Windows) */
.ss-demo { margin: 16px 0 14px; padding: 18px; border-radius: 12px; background: var(--bg-1); background-image: var(--dots); background-size: 16px 16px; }
.ss-win { max-width: 440px; margin: 0 auto; background: #1f5fbf; color: #fff; padding: 18px 20px 14px; border-radius: 4px; box-shadow: 0 18px 40px -12px rgba(0,0,0,.35); font-family: 'Segoe UI', var(--font); }
.dl-help .ss-win b { color: #fff; display: block; font-size: 19px; font-weight: 400; margin-bottom: 8px; }
.ss-win p { margin: 0 0 6px; font-size: 13px; line-height: 1.45; opacity: .92; }
.ss-link { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; text-decoration: underline; }
.ss-foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 28px; }
.ss-btn { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; font-size: 13px; background: #fff; color: #1c1d1f; font-weight: 600; }
.ss-run { outline: 3px solid #febc2e; outline-offset: 2px; }
.ss-demo i { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #febc2e; color: #1c1d1f; font-style: normal; font-size: 12px; font-weight: 700; text-decoration: none; }

/* assinatura na página da conta */
.sub-box { border: 1px solid var(--line-2); border-radius: 10px; padding: 16px 18px; background: var(--bg-1); }
.sub-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sub-row > div { display: flex; flex-direction: column; gap: 3px; }
.sub-row b { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.sub-row .up { color: var(--buy-2); }
.sub-row .down, b.down { color: var(--sell-2); }
.sub-actions { margin-top: 16px; }
.sub-actions form { margin: 0; }
.btn.ghost-danger { background: transparent; border-color: transparent; box-shadow: none; color: var(--sell-2); }
.btn.ghost-danger:hover { background: var(--sell-soft); }
.sub-h { margin: 22px 0 8px; font-size: 14px; font-weight: 600; }
.sub-table th, .sub-table td { padding: 8px 10px; }
@media (max-width: 640px) { .sub-row { grid-template-columns: 1fr; } }

/* licença do usuário (admin) */
.lic-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.lic-grid > div { display: flex; flex-direction: column; gap: 4px; }
.lic-grid b { font-size: 15px; font-weight: 600; }
.lic-reason { font-weight: 450 !important; font-size: 13.5px !important; }
.lic-actions { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 14px; }
.lic-box { border: 1px solid var(--line-2); border-radius: 10px; padding: 14px 16px; background: var(--bg-1); margin: 0; }
.lic-box h3 { margin: 0 0 10px; font-size: 14px; }
.lic-table th, .lic-table td { padding: 8px 10px; }
@media (max-width: 900px) { .lic-grid, .lic-actions { grid-template-columns: 1fr 1fr; } }

/* planos na página da conta */
.cycle-toggle { display: inline-flex; gap: 2px; margin: 18px 0 14px; padding: 3px; border-radius: 10px; background: var(--bg-2); }
.cycle-toggle button { border: 0; background: transparent; padding: 7px 14px; border-radius: 8px; font: inherit; font-size: 13.5px; font-weight: 500; color: var(--text-2); cursor: pointer; }
.cycle-toggle button.on { background: #fff; color: var(--text); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.cycle-toggle .save-tag { margin-left: 4px; font-size: 11px; font-weight: 600; color: var(--buy-2); }
.plans3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: stretch; }
.plans3[data-cycle="mensal"] .only-anual, .plans3[data-cycle="anual"] .only-mensal { display: none; }
.plan3 { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; }
.plan3.best { border: 2px solid var(--ink); box-shadow: 0 10px 30px rgba(28,29,31,.08); }
.plan3-tag { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); white-space: nowrap; padding: 3px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 11.5px; font-weight: 600; }
.plan3-name { font-size: 16px; font-weight: 600; display: flex; gap: 6px; align-items: center; }
.plan3-price b { font-size: 28px; font-weight: 600; letter-spacing: -.03em; font-feature-settings: 'tnum'; }
.plan3-price span { color: var(--text-3); margin-left: 2px; }
.plan3-note { font-size: 12.5px; min-height: 18px; margin-bottom: 4px; }
.plan3 form { margin: 0; }
.plan3 .btn.disabled { opacity: .55; pointer-events: none; }
.plan3-feats { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--text-2); }
.plan3-feats li::before { content: '✓'; color: var(--buy-2); font-weight: 700; margin-right: 7px; }
@media (max-width: 820px) { .plans3 { grid-template-columns: 1fr; } }

/* jornada do usuário (admin) */
.journey { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 500; white-space: nowrap; color: var(--text-2); }
.journey-dots { display: inline-flex; gap: 2px; }
.journey-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); }
.journey.j0 .journey-dots i.on { background: #c9c5ba; }
.journey.j1 .journey-dots i.on { background: #d8a13c; }
.journey.j2 .journey-dots i.on { background: #6c9ee8; }
.journey.j3 .journey-dots i.on { background: #4f8fe0; }
.journey.j4 .journey-dots i.on { background: #2f9e6a; }
.journey.j4 { color: #2f7d55; font-weight: 600; }
.funnel { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line-2); border-radius: 12px; overflow: hidden; margin-bottom: 16px; box-shadow: var(--shadow); }
.funnel-step { display: flex; flex-direction: column; gap: 3px; background: #fff; padding: 14px 16px; color: inherit; text-decoration: none; }
.funnel-step:hover { background: #fafaf8; }
.funnel-step.on { box-shadow: inset 0 -3px 0 var(--ink); }
.funnel-step b { font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
.funnel-step span { font-size: 12.5px; font-weight: 500; }
.funnel-step small { font-size: 11.5px; }
.journey-line { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.journey-line li { position: relative; display: flex; flex-direction: column; gap: 3px; padding-top: 22px; }
.journey-line li::before { content: ''; position: absolute; top: 6px; left: 0; right: 0; height: 2px; background: var(--line-2); }
.journey-line li.done::before { background: #2f9e6a; }
.journey-line .jl-dot { position: absolute; top: 0; left: 0; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid var(--line-2); }
.journey-line li.done .jl-dot { background: #2f9e6a; border-color: #2f9e6a; }
.journey-line b { font-size: 13px; }
@media (max-width: 820px) { .funnel, .journey-line { grid-template-columns: 1fr 1fr; } }
