:root {
  --bg: #020503;
  --bg-2: #070d08;
  --surface: #0b140c;
  --surface-2: #111d12;
  --surface-3: #172818;
  --border: #1c311d;
  --border-2: #2a4a2b;
  --text: #eef8ec;
  --muted: #98ae96;
  --faint: #627a60;
  --neon: #43fd3b;
  --neon-2: #a1fd8a;
  --neon-ink: #020503;
  --neon-glow: rgba(67, 253, 59, .28);
  --neon-soft: rgba(67, 253, 59, .1);
  --wa: #25d366;
  --warn: #ffc94d;
  --warn-soft: rgba(255, 201, 77, .12);
  --danger: #ff6b6b;
  --danger-soft: rgba(255, 107, 107, .12);
  --info: #6cc8ff;
  --ink: 255 255 255;           /* realces e bordas translúcidas */
  --bar: 4 8 5;                 /* fundo das barras flutuantes */
  --input: #070a08;
  --input-border: #232b24;
  --danger-text: #ff8a8a;
  --warn-text: #ffe5a3;
  color-scheme: dark;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --font: 'Inter Tight', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter Tight', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --maxw: 1120px;
  --tabbar-h: 0px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.5 var(--font);
  min-height: 100vh;
}
/* Fundo limpo: uma cor sólida só. */
.mono { font-family: var(--font-mono); }
a { color: var(--neon); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0 0 .4em; line-height: 1.2; letter-spacing: -.015em; font-family: var(--font-display); }
h1 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: 22px; font-weight: 800; }
h3 { font-size: 17px; font-weight: 700; }
p { margin: 0 0 .8em; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.neon { color: var(--neon); }
.small { font-size: 13px; }
.nowrap { white-space: nowrap; }
hr { border: 0; border-top: 1px solid var(--border); margin: 20px 0; }

/* ---------- layout ---------- */
.view { max-width: var(--maxw); margin: 0 auto; padding: 24px 16px 48px; outline: none; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.page-head p { margin: 0; }
.grid { display: grid; gap: 14px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-stats { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.stack > * + * { margin-top: 12px; }
.spacer { flex: 1; }

/* ---------- topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgb(var(--bar) / .82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.topbar-inner { max-width: var(--maxw); margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; }
.brand:hover { text-decoration: none; }
.brand img { height: 30px; width: auto; display: block; filter: drop-shadow(0 0 12px rgba(67, 253, 59, .22)); }
.brand img.sym { display: none; height: 34px; }
@media (max-width: 420px) { .brand img.full { display: none; } .brand img.sym { display: block; } }
.nav { display: flex; gap: 4px; }
.nav a { color: var(--muted); padding: 8px 12px; border-radius: 9px; font-weight: 600; font-size: 14px; }
.nav a:hover { color: var(--text); background: var(--surface); text-decoration: none; }
.nav a.active { color: var(--neon); background: var(--neon-soft); }
.user-chip { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.user-chip strong { color: var(--text); display: block; font-size: 14px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--surface-3); border: 1px solid var(--border-2); display: grid; place-items: center; font-weight: 800; color: var(--neon); }

.tabbar { display: none; }

@media (max-width: 760px) {
  :root { --tabbar-h: 64px; }
  .nav, .user-chip .who { display: none; }
  .view { padding: 18px 16px calc(var(--tabbar-h) + 32px); }
  .tabbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    height: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    background: rgb(var(--bar) / .96); backdrop-filter: blur(10px); border-top: 1px solid var(--border);
  }
  .tabbar:empty { display: none; }
  .tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--faint); font-size: 11px; font-weight: 600; }
  .tabbar a:hover { text-decoration: none; }
  .tabbar a.active { color: var(--neon); }
  .tabbar svg { width: 22px; height: 22px; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 700; font-size: 14px; line-height: 1;
  padding: 11px 16px; border-radius: 11px; border: 1px solid var(--border-2);
  background: var(--surface-2); color: var(--text); cursor: pointer; white-space: nowrap;
  transition: transform .06s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn:hover { background: var(--surface-3); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--neon); color: var(--neon-ink); border-color: var(--neon); box-shadow: 0 0 0 0 var(--neon-glow); }
.btn-primary:hover { background: var(--neon-2); box-shadow: 0 0 22px var(--neon-glow); }
.btn-wa { background: var(--wa); color: #03140a; border-color: var(--wa); }
.btn-wa:hover { background: #45e07f; }
.btn-ghost { background: transparent; border-color: transparent; color: var(--muted); }
.btn-ghost:hover { background: var(--surface); color: var(--text); }
.btn-danger { color: var(--danger); }
.btn-danger:hover { background: var(--danger-soft); }
.btn-sm { padding: 8px 11px; font-size: 13px; border-radius: 9px; }
.btn-lg { padding: 15px 22px; font-size: 16px; border-radius: 13px; }
.btn-block { width: 100%; }
.icon-btn { padding: 8px; }

/* ---------- cards ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.card.tight { padding: 14px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.card-head h3 { margin: 0; }
.card.glow { border-color: var(--border-2); box-shadow: 0 0 0 1px rgba(67, 253, 59, .06), var(--shadow); }

.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.stat .label { color: var(--muted); font-size: 13px; font-weight: 600; }
.stat .value { font-size: 30px; font-weight: 800; letter-spacing: -.02em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.stat .hint { color: var(--faint); font-size: 12px; margin-top: 2px; }
.stat.accent .value { color: var(--neon); }

/* ---------- badges ---------- */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 650; background: var(--surface-3); color: var(--muted); border: 1px solid var(--border-2); white-space: nowrap; }
.badge svg { width: 13px; height: 13px; }
.badge.neon { background: var(--neon-soft); color: var(--neon); border-color: rgba(67, 253, 59, .3); }
.badge.warn { background: var(--warn-soft); color: var(--warn); border-color: rgba(255, 201, 77, .3); }
.badge.danger { background: var(--danger-soft); color: var(--danger); border-color: rgba(255, 107, 107, .3); }
.badge.info { background: rgba(108, 200, 255, .1); color: var(--info); border-color: rgba(108, 200, 255, .3); }

/* ---------- forms ---------- */
label.field { display: block; }
.field > span { display: block; font-size: 13px; font-weight: 650; color: var(--muted); margin-bottom: 6px; }
.field small { display: block; color: var(--faint); font-size: 12px; margin-top: 5px; }
input, select, textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--bg-2);
  border: 1px solid var(--border-2); border-radius: var(--radius-sm); padding: 11px 12px; outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
textarea { resize: vertical; min-height: 84px; }
input::placeholder, textarea::placeholder { color: var(--faint); }
input:focus, select:focus, textarea:focus { border-color: var(--neon); box-shadow: 0 0 0 3px var(--neon-soft); }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2398ae96' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 34px; }
input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--neon); margin: 0; flex: none; }
.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: 14px; }
.check input { margin-top: 2px; }
.form-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.form-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; margin-top: 18px; }
.error-box { background: var(--danger-soft); border: 1px solid rgba(255, 107, 107, .35); color: var(--danger-text); padding: 10px 12px; border-radius: var(--radius-sm); font-size: 14px; }
.error-box:empty { display: none; }

.seg { display: inline-flex; background: var(--bg-2); border: 1px solid var(--border-2); border-radius: 12px; padding: 4px; gap: 4px; }
.seg button { font: inherit; font-weight: 700; font-size: 14px; border: 0; background: transparent; color: var(--muted); padding: 9px 14px; border-radius: 9px; cursor: pointer; }
.seg button.on { background: var(--neon); color: var(--neon-ink); }

/* ---------- search ---------- */
.search-hero { padding: 8px 0 18px; }
.searchbox { display: flex; gap: 10px; background: var(--surface); border: 1px solid var(--border-2); border-radius: 16px; padding: 8px; box-shadow: 0 0 0 1px rgba(67, 253, 59, .05), var(--shadow); }
.searchbox:focus-within { border-color: var(--neon); box-shadow: 0 0 0 3px var(--neon-soft), var(--shadow); }
.searchbox .ico { display: grid; place-items: center; padding-left: 8px; color: var(--neon); }
.searchbox .ico svg { width: 22px; height: 22px; }
.searchbox input { border: 0; background: transparent; box-shadow: none; font-size: 17px; padding: 10px 4px; }
.searchbox input:focus { box-shadow: none; }
.filters { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.filters select { width: auto; min-width: 150px; padding-top: 9px; padding-bottom: 9px; font-size: 14px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.chip { font: inherit; font-size: 13px; font-weight: 600; border: 1px dashed var(--border-2); background: transparent; color: var(--muted); padding: 6px 11px; border-radius: 999px; cursor: pointer; }
.chip:hover { color: var(--neon); border-color: var(--neon); }

.results-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 22px 0 12px; flex-wrap: wrap; }
.result-list { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
@media (max-width: 400px) { .result-list { grid-template-columns: 1fr; } }

.part-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 10px; transition: border-color .15s ease, transform .15s ease; }
.part-card:hover { border-color: var(--border-2); }
.part-card .ptype { font-size: 12px; font-weight: 700; color: var(--neon); text-transform: uppercase; letter-spacing: .05em; }
.part-card .pmodel { font-size: 18px; font-weight: 800; margin: 2px 0 0; }
.part-card .price { font-size: 22px; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; }
.part-card .price.ask { font-size: 15px; color: var(--muted); font-weight: 650; }
.part-card .desc { color: var(--muted); font-size: 14px; margin: 0; }
.part-card .supplier { display: flex; align-items: center; gap: 10px; padding-top: 10px; border-top: 1px solid var(--border); }
.part-card .supplier .sname { font-weight: 700; color: var(--text); }
.part-card .supplier .sloc { font-size: 13px; color: var(--muted); }
.part-card .foot { display: flex; gap: 8px; align-items: center; justify-content: space-between; flex-wrap: wrap; }

.empty { text-align: center; padding: 40px 18px; border: 1px dashed var(--border-2); border-radius: var(--radius); color: var(--muted); }
.empty h3 { color: var(--text); }
.empty .big-ico { width: 56px; height: 56px; margin: 0 auto 12px; display: grid; place-items: center; border-radius: 16px; background: var(--neon-soft); color: var(--neon); }
.empty .big-ico svg { width: 28px; height: 28px; }

.callout { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 16px 18px; border-radius: var(--radius); background: linear-gradient(135deg, rgba(67, 253, 59, .12), rgba(67, 253, 59, .03)); border: 1px solid rgba(67, 253, 59, .3); }
.callout.warn { background: var(--warn-soft); border-color: rgba(255, 201, 77, .35); }
.callout h3 { margin: 0 0 3px; }
.callout p { margin: 0; color: var(--muted); }

/* ---------- list rows ---------- */
.list { display: flex; flex-direction: column; }
.list-item { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border); }
.list-item:last-child { border-bottom: 0; }
.list-item .grow { flex: 1; min-width: 0; }
.list-item .title { font-weight: 650; }
.list-item .sub { color: var(--muted); font-size: 13px; }
.count-pill { min-width: 34px; text-align: center; font-weight: 800; color: var(--neon); background: var(--neon-soft); border-radius: 9px; padding: 4px 8px; font-variant-numeric: tabular-nums; }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
th { color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; background: var(--bg-2); position: sticky; top: 0; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: rgb(var(--ink) / .015); }
td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
tr.off td { opacity: .5; }
td.actions { text-align: right; white-space: nowrap; }

@media (max-width: 760px) {
  table.responsive thead { display: none; }
  table.responsive, table.responsive tbody, table.responsive tr, table.responsive td { display: block; width: 100%; }
  table.responsive tr { padding: 12px 14px; border-bottom: 1px solid var(--border); }
  table.responsive td { border: 0; padding: 3px 0; }
  table.responsive td[data-label]::before { content: attr(data-label) ': '; color: var(--faint); font-size: 12px; }
  table.responsive td.actions { text-align: left; padding-top: 8px; }
}

/* ---------- switch ---------- */
.switch { position: relative; display: inline-block; width: 42px; height: 24px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; background: var(--surface-3); border: 1px solid var(--border-2); border-radius: 999px; cursor: pointer; transition: .15s; }
.switch span::before { content: ''; position: absolute; width: 18px; height: 18px; left: 2px; top: 2px; background: var(--muted); border-radius: 50%; transition: .15s; }
.switch input:checked + span { background: var(--neon-soft); border-color: var(--neon); }
.switch input:checked + span::before { transform: translateX(18px); background: var(--neon); }

/* ---------- modal ---------- */
.modal-back { position: fixed; inset: 0; z-index: 50; background: rgba(2, 6, 4, .7); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 16px; animation: fade .15s ease; }
.modal { width: 100%; max-width: 620px; max-height: calc(100vh - 32px); overflow: auto; background: var(--surface); border: 1px solid var(--border-2); border-radius: 18px; box-shadow: var(--shadow); animation: pop .18s ease; }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 0; }
.modal-head h2 { margin: 0; font-size: 19px; }
.modal-body { padding: 16px 20px 20px; }
@media (max-width: 560px) {
  .modal-back { place-items: end center; padding: 0; }
  .modal { border-radius: 18px 18px 0 0; max-height: 92vh; }
}
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }

/* ---------- toasts ---------- */
.toasts { position: fixed; z-index: 60; left: 50%; transform: translateX(-50%); bottom: calc(var(--tabbar-h) + 18px); display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; width: max-content; max-width: calc(100vw - 32px); }
.toast { background: var(--surface-3); border: 1px solid var(--border-2); color: var(--text); padding: 11px 16px; border-radius: 12px; box-shadow: var(--shadow); font-weight: 600; font-size: 14px; animation: pop .2s ease; }
.toast.ok { border-color: rgba(67, 253, 59, .5); }
.toast.err { border-color: rgba(255, 107, 107, .6); color: var(--danger-text); }

/* ---------- landing ---------- */
.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 36px; align-items: center; padding: 34px 0 20px; }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; padding-top: 10px; } }
.hero h1 { font-size: clamp(32px, 5.4vw, 54px); line-height: 1.05; letter-spacing: -.035em; }
.hero h1 em { font-style: normal; color: var(--neon); text-shadow: 0 0 28px var(--neon-glow); }
.hero .lead { font-size: 18px; color: var(--muted); max-width: 540px; margin: 16px 0 24px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 700; color: var(--neon); background: var(--neon-soft); border: 1px solid rgba(67, 253, 59, .25); padding: 5px 11px; border-radius: 999px; margin-bottom: 16px; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 10px var(--neon); }

.phone { position: relative; max-width: 330px; margin: 0 auto; width: 100%; background: #010302; border: 1px solid var(--border-2); border-radius: 36px; padding: 14px; box-shadow: 0 0 60px rgba(67, 253, 59, .12), var(--shadow); }
.phone-screen { background: var(--bg-2); border-radius: 26px; padding: 16px 14px; min-height: 420px; display: flex; flex-direction: column; gap: 10px; }
.mini-search { display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--neon); border-radius: 12px; padding: 10px 12px; font-weight: 600; box-shadow: 0 0 0 3px var(--neon-soft); }
.mini-search svg { width: 16px; height: 16px; color: var(--neon); }
.mini-result { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 11px 12px; font-size: 13px; }
.mini-result b { display: block; font-size: 14px; }
.mini-result .r { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }
.mini-wa { background: var(--wa); color: #03140a; font-weight: 800; font-size: 11px; padding: 5px 9px; border-radius: 8px; }

.section { padding: 46px 0 8px; }
.section > h2 { font-size: clamp(22px, 3vw, 30px); margin-bottom: 6px; }
.section > p.muted { max-width: 640px; margin-bottom: 22px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.step .n { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; background: var(--neon); color: var(--neon-ink); font-weight: 800; margin-bottom: 12px; }
.step p { color: var(--muted); margin: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }
.feature-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
.feature-list li { display: flex; gap: 10px; color: var(--muted); }
.feature-list li svg { width: 20px; height: 20px; color: var(--neon); flex: none; margin-top: 1px; }
.footer { border-top: 1px solid var(--border); margin-top: 50px; padding-top: 20px; color: var(--faint); font-size: 13px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

/* ---------- auth ---------- */
.auth { max-width: 460px; margin: 14px auto; }
.auth.wide { max-width: 640px; }
.demo-box { margin-top: 18px; padding: 14px; border: 1px dashed var(--border-2); border-radius: var(--radius); }
.demo-box .row .btn { flex: 1; }

/* ---------- requests ---------- */
.req-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.req-card.matched { border-color: rgba(67, 253, 59, .45); box-shadow: 0 0 0 1px rgba(67, 253, 59, .08); }
.req-card .meta { color: var(--muted); font-size: 13px; }
.responses { margin-top: 14px; display: grid; gap: 10px; }
.response { background: var(--bg-2); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; }
.response .msg { margin: 6px 0 10px; }

/* ---------- bars ---------- */
.bars { display: flex; align-items: flex-end; gap: 6px; height: 140px; padding-top: 10px; }
.bars .bar { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; height: 100%; min-width: 0; }
.bars .bar .col { width: 100%; max-width: 30px; background: var(--neon); border-radius: 5px 5px 2px 2px; position: relative; min-height: 2px; }
.bars .bar .col .unmet { position: absolute; left: 0; right: 0; bottom: 0; background: var(--warn); border-radius: 0 0 2px 2px; }
.bars .bar .d { font-size: 10px; color: var(--faint); }
.legend { display: flex; gap: 14px; font-size: 12px; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }

/* ---------- import ---------- */
.dropzone { display: block; border: 2px dashed var(--border-2); border-radius: var(--radius); padding: 30px 18px; text-align: center; cursor: pointer; transition: .15s; }
.dropzone:hover, .dropzone.over { border-color: var(--neon); background: var(--neon-soft); }
.dropzone svg { display: block; width: 34px; height: 34px; margin: 0 auto; color: var(--neon); }
.preview-wrap { max-height: 380px; overflow: auto; }
tr.bad td { background: var(--danger-soft); }

.banner { padding: 12px 14px; border-radius: 12px; display: flex; gap: 10px; align-items: flex-start; margin-bottom: 18px; }
.banner.warn { background: var(--warn-soft); border: 1px solid rgba(255, 201, 77, .35); color: var(--warn-text); }
.banner svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }

.loading { padding: 40px; text-align: center; color: var(--muted); }
.spinner { width: 26px; height: 26px; border: 3px solid var(--border-2); border-top-color: var(--neon); border-radius: 50%; animation: spin .7s linear infinite; margin: 0 auto 10px; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ---------- assinatura da marca ---------- */
.part-card .ptype, .eyebrow, .stat .label, .count-pill, .label-mono, .bars .bar .d, th, .chip { font-family: var(--font-mono); }
.stat .label, .label-mono { font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; }
.stat .value, .part-card .price, .part-card .pmodel, .hero h1 { font-family: var(--font-display); }
/* Painéis com o canto aceso, como nos vídeos da marca */
.stat, .card.glow { position: relative; }
.stat::before, .card.glow::before {
  content: ''; position: absolute; top: -1px; left: -1px; width: 46px; height: 46px; pointer-events: none;
  border-top: 2px solid var(--neon); border-left: 2px solid var(--neon); border-top-left-radius: var(--radius);
  filter: drop-shadow(0 0 6px var(--neon-glow)); opacity: .85;
}
.stat:not(.accent)::before { opacity: .35; filter: none; }
.btn-primary { font-family: var(--font-display); font-weight: 800; }
.slogan { font-family: var(--font-display); font-weight: 800; letter-spacing: -.02em; }
.slogan b { color: var(--neon); font-weight: 800; }
.brand-strip { margin-top: 26px; padding: 22px 24px; border-radius: 20px; border: 1px solid rgba(67, 253, 59, .28);
  background: linear-gradient(120deg, rgba(67, 253, 59, .13), rgba(67, 253, 59, .02) 60%); display: flex; gap: 20px 32px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.brand-strip .slogan { font-size: clamp(20px, 2.6vw, 28px); margin: 0; line-height: 1.15; max-width: 470px; }
.strip-stats { display: flex; gap: 26px; flex-wrap: wrap; }
.strip-stats div { display: flex; flex-direction: column; }
.strip-stats b { font-family: var(--font-display); font-size: 28px; font-weight: 800; color: var(--neon); line-height: 1.1; font-variant-numeric: tabular-nums; }
.strip-stats span { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.mini-result { border-radius: 14px 14px 14px 4px; }
.auth-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; max-width: 1040px; margin: 10px auto; }
.auth-split .auth { margin: 0; width: 100%; max-width: none; }
.auth-aside { padding: 10px 0; }
.auth-aside .aside-sym { width: 72px; height: 72px; filter: drop-shadow(0 0 22px rgba(67, 253, 59, .35)); margin-bottom: 18px; }
.auth-aside .slogan { font-size: clamp(26px, 3vw, 36px); line-height: 1.1; margin-bottom: 18px; }
@media (max-width: 860px) { .auth-split { grid-template-columns: 1fr; gap: 0; } .auth-aside { display: none; } }
@media (max-width: 560px) { .part-card .foot .btn-wa { width: 100%; } .filters select { flex: 1 1 140px; min-width: 0; } }

/* ---------- colar lista ---------- */
.paste-table td { padding: 6px 8px; border-bottom: 0; }
.paste-table tr.src-row td { padding: 0 8px 10px; border-bottom: 1px solid var(--border); }
.paste-table input:not([type=checkbox]), .paste-table select { padding: 7px 9px; font-size: 13.5px; }
.paste-table select { padding-right: 28px; background-position: right 8px center; }
.paste-table tr.warn-row td { background: var(--warn-soft); }
.paste-table tr.warn-row + .src-row td { background: var(--warn-soft); }
@media (max-width: 760px) { .paste-table tr.src-row { padding-top: 0; } }

/* ---------- avaliações ---------- */
.badge.rating { font-family: var(--font-mono); font-size: 11.5px; }
.feedback { border: 1px solid rgba(67, 253, 59, .35); background: linear-gradient(135deg, rgba(67, 253, 59, .1), rgba(67, 253, 59, .02)); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 18px; }
.feedback .fb-item { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 10px 0; border-top: 1px solid var(--border); }
.feedback .fb-item:first-of-type { border-top: 0; }
.feedback .fb-item .grow { flex: 1; min-width: 220px; }
.stars { display: flex; gap: 4px; }
.stars button { font-size: 30px; line-height: 1; background: none; border: 0; color: var(--border-2); cursor: pointer; padding: 2px; transition: transform .08s ease, color .1s ease; }
.stars button.on { color: var(--neon); text-shadow: 0 0 12px var(--neon-glow); }
.stars button:hover { transform: scale(1.12); }
.chip.on { color: var(--neon-ink); background: var(--neon); border-color: var(--neon); border-style: solid; }
.review { padding: 10px 0; border-bottom: 1px solid var(--border); }
.review:last-child { border-bottom: 0; }
.review .st { color: var(--neon); letter-spacing: 1px; }
.share-box { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.share-box code { font-family: var(--font-mono); font-size: 13px; background: var(--bg-2); border: 1px solid var(--border-2); border-radius: 9px; padding: 8px 10px; color: var(--neon); overflow-wrap: anywhere; flex: 1 1 220px; }

/* ---------- contadores no menu ---------- */
.nav a, .tabbar a { position: relative; }
.nav-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 6px; border-radius: 999px; background: var(--neon); color: #020503; font: 700 11px/1 'JetBrains Mono', monospace; vertical-align: 1px; box-shadow: 0 0 10px rgba(67, 253, 59, .45); }
.tabbar .nav-badge { position: absolute; top: 6px; left: calc(50% + 6px); margin: 0; }
.is-new { box-shadow: inset 3px 0 0 var(--neon); }
.new-pill { font: 700 10px/1 'JetBrains Mono', monospace; letter-spacing: .06em; text-transform: uppercase; color: #020503; background: var(--neon); padding: 3px 6px; border-radius: 5px; }

/* ---------- estoque que se corrige ---------- */
.part-card.reported { opacity: .78; }
.stock-flag { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-top: 8px; }
.link-btn { background: none; border: 0; padding: 0; color: var(--faint); font: inherit; font-size: 13px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--danger); }
.link-btn[disabled] { cursor: default; text-decoration: none; color: var(--faint); }
.correction-note { color: var(--muted); font-size: 14px; margin: -4px 0 12px; }
.correction-note strong { color: var(--text); }
.claim-link { display: flex; gap: 8px; align-items: center; }
.claim-link input { flex: 1; min-width: 0; font-family: 'JetBrains Mono', monospace; font-size: 13px; }
.banner:not(.warn) { background: var(--surface); border: 1px solid var(--border); }

/* ---------- campo antirrobô (escondido para pessoas) ---------- */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- fotos ---------- */
.thumb { flex: none; width: 56px; height: 56px; padding: 0; border-radius: 10px; overflow: hidden; border: 1px solid var(--border-2); background: var(--surface-3); cursor: zoom-in; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.photo-prev { width: 64px; height: 64px; border-radius: 12px; border: 1px dashed var(--border-2); display: grid; place-items: center; color: var(--faint); overflow: hidden; background: var(--surface); }
.photo-prev svg { width: 22px; height: 22px; }
.photo-prev img { width: 100%; height: 100%; object-fit: cover; }
.zoomed { display: block; max-width: 100%; max-height: 75vh; margin: 0 auto; border-radius: 12px; }

/* ---------- selo WhatsApp confirmado ---------- */
.verified { display: inline-grid; place-items: center; width: 16px; height: 16px; margin-left: 6px; border-radius: 50%; background: var(--neon); color: #020503; vertical-align: -2px; }
.verified svg { width: 11px; height: 11px; stroke-width: 3.2; }

/* ---------- média de preço ---------- */
.market { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; padding: 10px 14px; margin: 0 0 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); font-size: 14px; }

/* ---------- busca por voz ---------- */
.searchbox .mic { flex: none; }
.searchbox .mic.listening { color: #020503; background: var(--danger); animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(255, 107, 107, .18); } }

/* ---------- pedido urgente ---------- */
.req-card.urgent { border-color: rgba(255, 107, 107, .45); }
.urgent-check { padding: 10px 12px; border: 1px solid rgba(255, 107, 107, .35); border-radius: 10px; background: var(--danger-soft); }

/* ---------- código de 6 dígitos ---------- */
.code-input { font-family: var(--font-mono); font-size: 22px !important; letter-spacing: .35em; text-align: center; }

/* ---------- termos e privacidade ---------- */
.legal { max-width: 760px; margin: 0 auto; line-height: 1.65; }
.legal h1 { margin-top: 0; }
.legal h2 { font-size: 18px; margin: 22px 0 6px; color: var(--neon); }
.legal ul { padding-left: 20px; }
.footer a { color: var(--muted); }

/* ---------- mapa de demanda (admin) */
.demand { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 14px; align-items: start; }
@media (max-width: 820px) { .demand { grid-template-columns: 1fr; } }
.tilemap { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; max-width: 520px; margin: 0 auto; }
.tile { aspect-ratio: 1; border-radius: 10px; border: 1px solid var(--border-2); cursor: pointer; font: inherit; color: var(--text);
  background: color-mix(in srgb, var(--neon) var(--v), var(--surface-2)); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; padding: 2px; min-width: 0; }
.tile b { font-family: var(--font-mono); font-size: 13px; letter-spacing: .02em; }
.tile span { font-size: 11px; opacity: .85; font-variant-numeric: tabular-nums; }
.tile.dark { color: var(--neon-ink); }
.tile:hover { border-color: var(--neon); }
.tile.sel { outline: 2px solid var(--text); outline-offset: 2px; }
.legend { display: flex; align-items: center; gap: 8px; justify-content: center; margin-top: 12px; }
.legend .ramp { display: inline-block; width: 120px; height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--surface-2), var(--neon)); }
@media (max-width: 420px) { .tile b { font-size: 11px; } .tile span { font-size: 9.5px; } .tilemap { gap: 4px; } }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--danger); text-decoration: underline; cursor: pointer; }

/* ---------------------------------------------------------------- ofertas, selo de empresa, salvar e comparar */
.badge.promo { background: rgba(255, 201, 77, .14); color: var(--warn); border-color: rgba(255, 201, 77, .4); }
.price.promo { display: inline-flex; align-items: baseline; gap: 8px; color: var(--warn); }
.price.promo s { font-size: 14px; font-weight: 600; }
.badge.verified-biz { background: rgba(108, 200, 255, .1); color: var(--info); border-color: rgba(108, 200, 255, .35); }
.save-btn { font-size: 20px; line-height: 1; color: var(--muted); background: none; border: 1px solid var(--border-2); border-radius: 10px; min-width: 38px; min-height: 38px; cursor: pointer; }
.save-btn:hover { color: var(--text); }
.save-btn.on { color: var(--neon); border-color: rgba(67, 253, 59, .45); background: var(--neon-soft); }
.compare-check { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; color: var(--muted); cursor: pointer; }
.compare-check input { width: 16px; height: 16px; accent-color: var(--neon); }
.compare-bar { position: fixed; z-index: 40; left: 50%; transform: translateX(-50%); bottom: calc(var(--tabbar-h) + 16px); display: flex; align-items: center; gap: 10px; padding: 10px 12px 10px 16px; background: var(--surface-3); border: 1px solid rgba(67, 253, 59, .45); border-radius: 14px; box-shadow: var(--shadow); font-weight: 600; font-size: 14px; max-width: calc(100vw - 24px); }
table.compare { width: 100%; border-collapse: collapse; font-size: 14px; }
table.compare th, table.compare td { padding: 9px 10px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
table.compare th { color: var(--muted); font-weight: 600; white-space: nowrap; width: 1%; }
table.compare td.best { color: var(--neon); font-weight: 700; }
.review-reply { margin: 8px 0 4px; padding: 8px 12px; border-left: 2px solid var(--neon); background: var(--surface-2); border-radius: 0 8px 8px 0; font-size: 14px; color: var(--muted); }
.review-reply b { color: var(--text); }
.warn-text { color: var(--warn); }
ol.rank { margin: 0; padding-left: 22px; }
ol.rank li { padding: 4px 0; border-bottom: 1px solid var(--border); }
ol.rank li:last-child { border-bottom: 0; }
.print-only { display: none; }

/* ---------------------------------------------------------------- acessibilidade */
:focus-visible { outline: 2px solid var(--neon); outline-offset: 2px; }
#view:focus { outline: none; }
.skip { position: fixed; z-index: 100; left: 12px; top: -60px; padding: 10px 14px; background: var(--neon); color: var(--neon-ink); font-weight: 700; border: 0; border-radius: 10px; cursor: pointer; }
.skip:focus { top: 12px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Ícone dentro de título ou texto: do tamanho da letra. */
h1 > svg, h2 > svg, h3 > svg, h4 > svg { width: 1.05em; height: 1.05em; vertical-align: -0.15em; color: var(--neon); }
p svg, .small svg, label > span > svg { width: 1em; height: 1em; vertical-align: -0.125em; }

/* ---------------------------------------------------------------- horário, orçamento, gráfico de preço */
.badge.faint-badge { color: var(--faint); }
.spark { display: inline-flex; align-items: center; gap: 6px; color: var(--neon); }
.spark svg { display: block; }
.quote-total { font-size: 22px; font-family: var(--font-display); padding: 6px 0; }
.quote-item { flex-wrap: wrap; }
.month-label { font-weight: 700; min-width: 64px; text-align: center; text-transform: capitalize; }
.stat-hero { border-color: var(--neon); }
.stat-hero .value { color: var(--neon); }
.stat .up { color: var(--neon); } .stat .down { color: var(--danger-text); }
.sum-chart { display: flex; align-items: flex-end; gap: 2px; height: 160px; margin-top: 12px; border-bottom: 1px solid var(--border); }
.sum-col { flex: 1; height: 100%; display: flex; align-items: flex-end; cursor: pointer; outline: none; }
.sum-col i { display: block; width: 100%; background: var(--neon); border-radius: 4px 4px 0 0; opacity: .8; }
.sum-col:hover i, .sum-col:focus i, .sum-col.on i { opacity: 1; box-shadow: 0 0 0 2px rgba(67,253,59,.25); }
.sum-axis { display: flex; gap: 2px; } .sum-axis span { flex: 1; text-align: center; font-size: 11px; color: var(--faint); }
.sum-tip { margin-top: 8px; min-height: 18px; }
.quote-item .grow { flex: 1 1 260px; }
.quote-item .warranty { display: inline-block; font-size: 12px; font-weight: 700; padding: 1px 8px; border-radius: 99px; background: rgba(67,253,59,.12); color: var(--neon); }
.quote-item .warranty.off { background: var(--surface-2, rgb(var(--ink) / .06)); color: var(--faint); }
.quote-item .warranty.bad { background: rgba(255,107,107,.14); color: var(--danger-text); }
@media (max-width: 560px) { .hide-sm { display: none; } }

/* ---------------------------------------------------------------- estoque rápido */
.qs-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 6px; position: sticky; top: 64px; z-index: 5; background: var(--bg); padding: 8px 0; }
.qs-tools input { flex: 1; min-width: 220px; }
.qs-tools .chips { margin: 0; }
.qs-list { display: flex; flex-direction: column; gap: 8px; }
.qs-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; transition: border-color .2s, opacity .2s; }
.qs-row.off { opacity: .72; }
.qs-row.saving { border-color: var(--border-2); }
.qs-row.saved { border-color: rgba(67, 253, 59, .6); }
.qs-row .grow { flex: 1; min-width: 0; }
.qs-price { display: inline-flex; align-items: center; gap: 4px; }
.qs-price input { width: 96px; text-align: right; font-variant-numeric: tabular-nums; }
.qs-toggle { min-width: 84px; min-height: 44px; border-radius: 10px; border: 1px solid rgba(255, 107, 107, .45); background: var(--danger-soft); color: var(--danger); font-weight: 700; cursor: pointer; }
.qs-toggle.on { border-color: rgba(67, 253, 59, .5); background: var(--neon-soft); color: var(--neon); }
@media (max-width: 560px) {
  .qs-tools { top: 56px; }
  .qs-row { flex-wrap: wrap; }
  .qs-row .grow { flex-basis: 100%; }
  .qs-price { flex: 1; }
  .qs-price input { width: 100%; }
}

/* ---------------------------------------------------------------- lista de preços */
.pricelist { margin-top: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.pricelist header { display: flex; gap: 14px; align-items: center; border-bottom: 2px solid var(--neon); padding-bottom: 12px; margin-bottom: 8px; }
.pricelist header img { width: 44px; height: 44px; }
.pricelist header h2 { margin: 0; }
.pricelist table { width: 100%; border-collapse: collapse; }
.pricelist td { padding: 7px 4px; border-bottom: 1px solid var(--border); }
.pricelist td.num { text-align: right; white-space: nowrap; }
.pricelist tr.brand th { text-align: left; color: var(--neon); padding: 14px 4px 4px; font-size: 13px; letter-spacing: .06em; }
.pricelist footer { margin-top: 12px; font-size: 14px; }

/* ---------------------------------------------------------------- funil e gráficos do admin */
.funnel { display: flex; flex-direction: column; gap: 12px; }
.funnel .bar { height: 10px; background: var(--surface-3); border-radius: 999px; overflow: hidden; margin: 4px 0; }
.funnel .bar i { display: block; height: 100%; background: var(--neon); border-radius: 999px; }
.callout-mini { margin: 14px 0 0; padding: 10px 12px; background: var(--warn-soft); border: 1px solid rgba(255, 201, 77, .3); border-radius: 10px; font-size: 14px; }
.weeks { display: flex; align-items: flex-end; gap: 6px; height: 140px; overflow-x: auto; padding-bottom: 2px; }
.weeks .wk { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; height: 100%; min-width: 26px; }
.stack-bar { width: 18px; display: flex; flex-direction: column-reverse; border-radius: 4px; overflow: hidden; min-height: 2px; }
.stack-bar i { display: block; }
.stack-bar .s, .dot.s { background: var(--neon); }
.stack-bar .f, .dot.f { background: var(--info); }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; vertical-align: -1px; }
.weeks + .legend { display: flex; gap: 14px; margin-top: 8px; }
.qr { display: flex; justify-content: center; margin: 8px 0; }
.qr svg { background: #fff; border-radius: 8px; width: 200px; max-width: 100%; height: auto; }

/* ---------------------------------------------------------------- impressão (relatório do mês em PDF) */
@media print {
  :root { --bg: #fff; --surface: #fff; --surface-2: #f4f6f4; --surface-3: #eef1ee; --border: #d9ded9; --border-2: #c6cdc6; --text: #111; --muted: #444; --faint: #666; --neon: #138a0f; --warn: #8a5a00; }
  body { background: #fff !important; color: #111; font-size: 12pt; }
  .topbar, .tabbar, .toasts, .skip, .no-print, .compare-bar { display: none !important; }
  .print-only { display: block; }
  .view { padding: 0 !important; max-width: none !important; }
  .card { box-shadow: none !important; break-inside: avoid; border-color: #ccc; background: #fff; }
  .stat { break-inside: avoid; }
  .monthly header.print-only { font-size: 10pt; color: #444; border-bottom: 2px solid #138a0f; padding-bottom: 6px; margin-bottom: 12px; }
  .monthly footer.print-only { margin-top: 16px; }
  .pricelist { border: 0; padding: 0; margin: 0; background: #fff; }
  .pricelist tr { break-inside: avoid; }
  a { color: inherit; text-decoration: none; }
}


/* ---------------------------------------------------------------- permissões da equipe, fornecedores, primeiros passos */
.perm-row { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 6px; }
.perm-row .check { margin: 0; }
.fav-mark { color: var(--warn); font-size: 12px; font-weight: 600; white-space: nowrap; }
.onboarding .ob-bar { height: 8px; background: var(--surface-3); border-radius: 999px; overflow: hidden; margin: 2px 0 12px; }
.onboarding .ob-bar i { display: block; height: 100%; background: var(--neon); }
.ob-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px; }
.ob-step { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--border); border-radius: 12px; color: inherit; text-decoration: none; }
.ob-step:hover { border-color: var(--border-2); }
.ob-step > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.ob-step.done { opacity: .6; }
.ob-step.done b { text-decoration: line-through; }
.ob-check { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--border-2); display: grid; place-items: center; color: #020503; }
.ob-step.done .ob-check { background: var(--neon); border-color: var(--neon); }
.ob-check svg { width: 14px; height: 14px; }
.pricelist footer.pl-foot { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.pl-qr svg { width: 110px; height: auto; display: block; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sum-table th.num, .sum-table td.num { text-align: right; }
.sloc .km { color: var(--neon); font-weight: 700; }
.badge.partner { background: linear-gradient(90deg, rgba(255,211,77,.18), rgba(67,253,59,.14)); color: #ffd34d; border-color: rgba(255,211,77,.35); }
.plan-card { max-width: 560px; }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.plan-price b { font-size: 34px; color: var(--neon); }
.plan-list { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 10px; }
.plan-list li { display: flex; gap: 10px; align-items: flex-start; }
.plan-list svg { width: 18px; height: 18px; color: var(--neon); flex: none; margin-top: 2px; }
.banner.ok { border-color: rgba(67,253,59,.4); } .banner.ok svg { color: var(--neon); }

/* Ordem de serviço */
.os-box { border: 1px solid var(--border); border-radius: 12px; padding: 10px 14px; background: var(--surface); }
.os-box summary { cursor: pointer; padding: 4px 0; }
.os-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-top: 10px; }
.os-item { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); }
.os-item select { padding-top: 8px; padding-bottom: 8px; }
.os-photos { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.os-ph { position: relative; width: 72px; height: 72px; border-radius: 10px; overflow: hidden; border: 1px solid var(--border); display: block; }
.os-ph img { width: 100%; height: 100%; object-fit: cover; }
.os-ph button { position: absolute; top: 2px; right: 2px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(0,0,0,.7); color: #fff; cursor: pointer; line-height: 1; }
.os-add.busy { opacity: .6; pointer-events: none; }
/* Página do cliente */
.track { display: grid; gap: 14px; }
.track-total { font-size: 30px; font-weight: 800; color: var(--neon); margin-top: 8px; }
.track-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.track-steps li { display: flex; gap: 12px; align-items: flex-start; color: var(--faint); }
.track-steps .dot { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--border-2); display: grid; place-items: center; flex: none; }
.track-steps .dot svg { width: 14px; height: 14px; }
.track-steps li.done, .track-steps li.cur { color: var(--text); }
.track-steps li.done .dot { background: var(--neon); border-color: var(--neon); color: var(--neon-ink); }
.track-steps li.cur .dot { border-color: var(--neon); background: var(--neon); color: var(--neon-ink); box-shadow: 0 0 0 4px rgba(67,253,59,.18); }
.check-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 6px 12px; }
.check-list .ck b { display: inline-block; min-width: 62px; font-size: 12px; }
.check-list .ck.ok b { color: var(--neon); } .check-list .ck.defeito b { color: var(--danger-text); } .check-list .ck.nt b { color: var(--faint); }
.client-row { color: inherit; } .client-row:hover { text-decoration: none; background: rgb(var(--ink) / .02); }
.list-item.off { opacity: .55; }
.defect-badge.bad { background: rgba(255,107,107,.14); color: var(--danger-text); border-color: rgba(255,107,107,.35); }
.stock-note { margin-bottom: 12px; }
.batch-bar { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 12px; }

/* Cartão de peça: título, avisos, linhas de informação e botões que sempre cabem no cartão. */
.part-card { gap: 12px; min-width: 0; container-type: inline-size; }
.part-card .pc-head { display: flex; gap: 10px; align-items: flex-start; }
.part-card .pc-title { flex: 1; min-width: 0; }
.part-card .pc-side { display: flex; gap: 6px; align-items: center; flex: none; }
.part-card .pc-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.part-card .pc-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--muted); }
.part-card .mi { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.part-card .mi svg { width: 14px; height: 14px; flex: none; opacity: .85; }
.part-card .mi.ok { color: var(--neon); }
.part-card .mi.off { color: var(--faint); }
.part-card .mi.bad { color: var(--danger); }
.part-card .supplier { display: block; padding-top: 12px; }
.part-card .pc-sname { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.part-card .pc-sname .sname { font-size: 15px; }
.part-card .biz { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; font-weight: 650; color: var(--info); }
.part-card .biz svg { width: 13px; height: 13px; }
.part-card .sloc { margin-top: 2px; }
.part-card .sloc .fav-mark { margin: 0; }
.part-card .pc-meta.trust { margin-top: 8px; }
.part-card .foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border); display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.part-card .pc-price { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.part-card .pc-price .compare-check { margin: 0 0 4px; }
.part-card .pc-actions { display: flex; gap: 8px; }
.part-card .pc-actions .btn { min-width: 0; padding-left: 12px; padding-right: 12px; }
.part-card .pc-actions .btn-wa { overflow: hidden; text-overflow: ellipsis; }
@container (max-width: 300px) { .part-card .pc-actions .hide-sm { display: none; } }
.part-card .pc-actions .btn-wa { flex: 1; justify-content: center; }
.part-card .stock-flag { margin-top: -4px; justify-content: center; }
.part-card .stock-flag .link-btn { color: var(--faint); font-size: 12.5px; text-decoration-color: var(--border-2); }
.part-card .stock-flag .link-btn:hover { color: var(--danger); }

/* ---------------------------------------------------------------- balcão: pagamento, caixa, quadro, etiqueta, nota do cliente */
.q-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 5px; }
.pay-tag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 6px; font-size: 12px; font-weight: 650; background: var(--surface-3); color: var(--muted); white-space: nowrap; }
.pay-tag.ok { background: var(--neon-soft); color: var(--neon); }
.pay-tag.part { background: rgba(108, 200, 255, .1); color: var(--info); }
.pay-tag.due { background: var(--warn-soft); color: var(--warn); }
.pay-tag.star { color: var(--warn); }
.quote-item.hl { outline: 2px solid var(--neon); outline-offset: -2px; border-radius: 10px; }
.rv-sum { display: grid; gap: 6px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.rv-line { display: flex; justify-content: space-between; color: var(--muted); }
.rv-line b { color: var(--text); font-variant-numeric: tabular-nums; }
.rv-line.big { font-size: 17px; padding-top: 6px; border-top: 1px solid var(--border); }
.rv-line.big b.neon { color: var(--neon); } .rv-line.big b.warn-text { color: var(--warn); }
.rv-list { display: grid; gap: 4px; margin-top: 10px; }
.rv-pay { display: flex; align-items: center; gap: 10px; padding: 6px 4px 6px 10px; border-radius: 8px; background: var(--surface-2); }
.rv-pay span { flex: 1; } .rv-pay b { font-variant-numeric: tabular-nums; }
.pay-methods { display: flex; gap: 6px; flex-wrap: wrap; }
.pm input { position: absolute; opacity: 0; pointer-events: none; }
.pm span { display: inline-flex; padding: 9px 14px; border-radius: 10px; border: 1px solid var(--border-2); cursor: pointer; font-weight: 650; color: var(--muted); }
.pm input:checked + span { border-color: var(--neon); color: var(--neon); background: var(--neon-soft); }
.pm input:focus-visible + span { outline: 2px solid var(--neon); outline-offset: 2px; }
.more-list { display: grid; gap: 6px; }
.more-item { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font: inherit; cursor: pointer; }
.more-item:hover { border-color: var(--border-2); background: var(--surface-2); }
.more-item svg { width: 18px; height: 18px; color: var(--neon); flex: none; }
.sec-title { font-size: 16px; margin: 0 0 8px; }
.cash-stats .hero-stat .value { color: var(--neon); }
.cash-split { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.cash-split > div { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); }
.cash-split b { font-size: 18px; font-variant-numeric: tabular-nums; }
.day-nav input[type=date] { padding-top: 7px; padding-bottom: 7px; }
/* Quadro por etapa */
.board { display: grid; grid-template-columns: repeat(4, minmax(220px, 1fr)); gap: 12px; overflow-x: auto; padding-bottom: 6px; }
.bd-col { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 10px; min-height: 160px; display: flex; flex-direction: column; gap: 8px; }
.bd-col.over { border-color: var(--neon); background: var(--neon-soft); }
.bd-col header { display: flex; justify-content: space-between; align-items: center; padding: 2px 4px 6px; font-size: 14px; }
.bd-list { display: grid; gap: 8px; align-content: start; }
.bd-card { background: var(--surface-2); border: 1px solid var(--border-2); border-radius: 12px; padding: 10px 12px; cursor: grab; display: grid; gap: 4px; }
.bd-card.dragging { opacity: .5; }
.bd-card.late { border-color: rgba(255, 107, 107, .55); box-shadow: inset 3px 0 0 var(--danger); }
.bd-title { font-weight: 700; }
.bd-tags { display: flex; gap: 4px; flex-wrap: wrap; }
.bd-tags:empty { display: none; }
.bd-move { display: flex; justify-content: space-between; gap: 6px; margin-top: 4px; }
.bd-empty { margin: 4px; }
@media (max-width: 900px) { .board { grid-template-columns: repeat(4, minmax(240px, 82vw)); scroll-snap-type: x mandatory; } .bd-col { scroll-snap-align: start; } }
/* Etiqueta da OS */
.label-preview { display: flex; justify-content: center; padding: 16px; background: #e9ece8; border-radius: 12px; }
.os-label { width: 62mm; height: 34mm; background: #fff; color: #000; display: flex; gap: 2.5mm; padding: 2mm; border-radius: 2mm; box-sizing: border-box; font-family: Arial, Helvetica, sans-serif; overflow: hidden; }
.ol-qr { width: 28mm; height: 28mm; flex: none; align-self: center; }
.ol-qr svg { width: 100%; height: 100%; display: block; }
.ol-text { min-width: 0; display: flex; flex-direction: column; gap: .4mm; font-size: 2.6mm; line-height: 1.2; }
.ol-shop { font-size: 2.2mm; text-transform: uppercase; letter-spacing: .02em; color: #444; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ol-num { font-size: 5mm; font-weight: 800; }
.ol-line { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#label-print { display: none; }
@media print {
  body.print-label > *:not(#label-print) { display: none !important; }
  body.print-label { background: #fff !important; }
  body.print-label #label-print { display: block; }
  body.print-label .os-label { border-radius: 0; }
}
/* Nota do cliente */
.rate-head { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; align-items: flex-end; }
.rate-big { font-size: 26px; font-weight: 800; color: var(--warn); margin-top: 2px; }
.rate-big .faint { color: var(--faint); font-weight: 500; }
.rate-list { display: grid; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
.stars-on { color: var(--warn); letter-spacing: 1px; }
.star-pick { display: flex; gap: 4px; flex-direction: row-reverse; justify-content: flex-end; }
.star-pick label { cursor: pointer; font-size: 34px; line-height: 1; color: var(--border-2); }
.star-pick input { position: absolute; opacity: 0; pointer-events: none; }
.star-pick label:hover, .star-pick label:hover ~ label, .star-pick input:checked ~ span, .star-pick label:has(input:checked), .star-pick label:has(input:checked) ~ label { color: var(--warn); }
.star-pick label:has(input:focus-visible) { outline: 2px solid var(--neon); outline-offset: 2px; border-radius: 6px; }
/* Preço por quantidade */
.part-card .pc-tiers { display: flex; gap: 10px; flex-wrap: wrap; font-size: 12px; color: var(--muted); margin-top: 2px; }
.part-card .pc-tiers b { color: var(--neon); font-weight: 700; }
.tier-rows { display: grid; gap: 6px; }
.tier-row { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; flex-wrap: wrap; }
.tier-row input { width: 90px; }

/* Menu do topo: cada item numa linha só, o número ao lado do nome e o nome da loja sem quebrar. */
.topbar-inner { gap: 14px; }
.brand { flex: none; }
.nav { min-width: 0; flex-wrap: nowrap; align-items: center; }
.nav a { display: inline-flex; align-items: center; white-space: nowrap; line-height: 1.2; }
.nav a .nav-badge { vertical-align: 0; }
.user-chip { flex: none; min-width: 0; }
.user-chip .who { display: flex; flex-direction: column; line-height: 1.25; max-width: 170px; min-width: 0; white-space: nowrap; }
.user-chip .who, .user-chip .who strong { overflow: hidden; text-overflow: ellipsis; }
#install-btn { flex: none; white-space: nowrap; }
@media (max-width: 1100px) and (min-width: 761px) {
  .topbar-inner { gap: 10px; }
  .nav { gap: 2px; }
  .nav a { padding: 8px 9px; font-size: 13.5px; }
  .user-chip .who { display: none; }
}

/* Em celular estreito, os selos do cabeçalho do cartão descem para a linha de baixo em vez de passar da borda. */
.card-head { flex-wrap: wrap; }
.card-head > div:first-child { min-width: 0; flex: 1 1 200px; }

/* Bancada no celular: nome em cima, botões embaixo (não passam da borda). */
@media (max-width: 520px) {
  .st-item { flex-wrap: wrap; }
  .st-item .grow { flex: 1 1 calc(100% - 60px); }
  .st-item .st-acts { margin-left: auto; }
}

/* ===== Visual mais limpo (rodada 10) ===== */
/* Cartão da peça: preço, fornecedor e botão; o resto em "Mais detalhes". */
.part-card { gap: 10px; }
.part-card .pc-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.part-card .pc-price .pc-tiers { flex-basis: 100%; }
.part-card .supplier { padding-top: 10px; }
.part-card .pc-meta { margin-top: 4px; gap: 4px 12px; }
.part-card .pc-actions { margin-top: auto; }
.part-card .pc-actions .icon-btn { flex: none; width: 42px; padding: 0; justify-content: center; }
.pc-more { font-size: 13px; color: var(--muted); }
.pc-more summary { cursor: pointer; color: var(--faint); font-size: 12.5px; list-style: none; text-align: center; padding: 2px 0; }
.pc-more summary::-webkit-details-marker { display: none; }
.pc-more summary::after { content: ' ▾'; }
.pc-more[open] summary::after { content: ' ▴'; }
.pc-more summary:hover { color: var(--text); }
.pc-more-body { display: grid; gap: 4px; padding-top: 8px; margin-top: 6px; border-top: 1px dashed var(--border); }
.pc-more-body .desc { font-size: 13px; }
.pc-more-acts { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.pc-more-acts .compare-check { margin: 0; }
.pc-more-acts .link-btn { color: var(--faint); font-size: 12.5px; }
.pc-more-acts .link-btn:hover { color: var(--danger); }
.filters-toggle { margin-top: 12px; display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; color: var(--muted); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; padding: 4px 0; }
.filters-toggle svg { width: 16px; height: 16px; }
.filters-toggle:hover, .filters-toggle[aria-expanded="true"] { color: var(--text); }
.filters[hidden] { display: none; }
.filters-toggle .nav-badge { margin-left: 2px; }

/* Abas do balcão (no lugar de vários botões e do "← Orçamentos") */
.desk-tabs { display: flex; gap: 4px; margin: -6px 0 16px; border-bottom: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; }
.desk-tabs::-webkit-scrollbar { display: none; }
.desk-tabs a { padding: 9px 12px; color: var(--muted); font-weight: 600; font-size: 14px; white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; text-decoration: none; }
.desk-tabs a:hover { color: var(--text); }
.desk-tabs a.on { color: var(--text); border-bottom-color: var(--neon); }

/* Linha do orçamento: o principal à esquerda, valor, situação e 2 ícones à direita */
.quote-item { align-items: center; }
.q-title { background: none; border: 0; padding: 0; color: var(--text); font: inherit; font-weight: 650; text-align: left; cursor: pointer; }
.q-title:hover { color: var(--neon); }
.q-side { display: flex; align-items: center; gap: 8px; flex: none; }
.q-side select { width: auto; max-width: 190px; padding-top: 7px; padding-bottom: 7px; font-size: 13.5px; }
.q-total { min-width: 84px; text-align: right; }
.btn.icon-only { width: 34px; padding: 0; justify-content: center; }
.btn.icon-only svg { width: 17px; height: 17px; }
@media (max-width: 760px) {
  .quote-item { flex-wrap: wrap; }
  .quote-item .grow { flex: 1 1 100%; }
  .q-side { flex-wrap: wrap; width: 100%; justify-content: flex-end; }
  .q-side select { flex: 1 1 150px; max-width: none; }
  .q-total { min-width: 0; margin-right: auto; order: -1; font-size: 16px; }
}

/* Formulário do orçamento: o resto fica em "Mais opções" */
.q-extra { border: 1px dashed var(--border); border-radius: 12px; padding: 10px 12px; }
.q-extra summary { cursor: pointer; font-weight: 600; font-size: 14px; }
.pw-wrap { display: flex; gap: 6px; }
.pw-wrap input { flex: 1; min-width: 0; }
.left-items { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-check { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--border); border-radius: 999px; padding: 5px 11px; font-size: 13px; cursor: pointer; }
.chip-check input { width: 15px; height: 15px; accent-color: var(--neon); }
.chip-check:has(input:checked) { border-color: var(--neon); color: var(--text); }

/* Meta do mês */
.goal-card { display: grid; gap: 8px; }
.goal-bar { height: 10px; border-radius: 99px; background: var(--surface-2, #1c1f1c); overflow: hidden; }
.goal-bar i { display: block; height: 100%; background: var(--neon); border-radius: 99px; }

/* Painel do fornecedor */
.ob-compact { padding: 12px 16px; }
.ob-compact .ob-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.ob-compact .ob-txt { flex: 1; min-width: 160px; display: grid; }
a.stat.stat-link { text-decoration: none; color: inherit; }
a.stat.stat-link:hover { border-color: var(--border-2); }
.fold-card > summary { list-style: none; cursor: pointer; }
.fold-card > summary::-webkit-details-marker { display: none; }
.fold-card > summary h3 { margin: 0; display: inline; }
.fold-card > summary::after { content: ' ▾'; color: var(--faint); }
.fold-card[open] > summary::after { content: ' ▴'; }
.fold-card[open] > summary { margin-bottom: 10px; }
.rv-box { margin-top: 10px; }
.rv-box summary { cursor: pointer; }
#goal-set, #rv-more { color: var(--neon); text-decoration: none; }
#goal-set:hover, #rv-more:hover { text-decoration: underline; color: var(--neon); }
@media (max-width: 520px) {
  .q-side { flex-wrap: nowrap; gap: 6px; }
  .q-side select { flex: 1 1 auto; min-width: 0; }
  .q-side .btn:not(.icon-only) { padding-left: 10px; padding-right: 10px; }
  .q-side:has(.btn-primary, [data-remind], [data-pickup]) { flex-wrap: wrap; }
  .grid-stats { grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 8px; }
  .grid-stats .stat { padding: 10px 12px; }
  .grid-stats .stat .value { font-size: 17px; overflow-wrap: anywhere; }
  .grid-stats .stat .label { font-size: 10px; }
  .grid-stats .stat .hint { font-size: 11px; }
}

/* Me avisa quando chegar */
.al-list { display: grid; gap: 12px; }
.al-card { padding: 16px; display: grid; gap: 12px; }
.al-card.has-new { border-color: rgba(67,253,59,.45); }
.al-head { display: flex; align-items: center; gap: 12px; }
.al-head h3 { margin: 0; font-size: 16px; }
.al-head h3 .faint { font-weight: 500; font-size: 14px; }
.al-ico { width: 36px; height: 36px; flex: none; border-radius: 10px; display: grid; place-items: center; background: rgb(var(--ink) / .05); color: var(--muted); }
.al-ico svg { width: 18px; height: 18px; }
.al-card.has-new .al-ico { background: rgba(67,253,59,.12); color: var(--neon); }
.al-status { flex: none; font-size: 12px; font-weight: 650; padding: 4px 10px; border-radius: 99px; color: var(--muted); background: rgb(var(--ink) / .05); }
.al-status.new { color: var(--neon); background: rgba(67,253,59,.12); }
.al-del { flex: none; color: var(--faint); }
.al-del:hover { color: var(--danger); }
.al-hits { display: grid; gap: 8px; }
.al-hit { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; background: rgb(var(--ink) / .03); border: 1px solid var(--border); }
.al-hit .grow { min-width: 0; }
.al-hit-title { font-weight: 650; }
.al-new { display: inline-block; vertical-align: 1px; margin-left: 6px; font-size: 11px; font-weight: 700; color: var(--neon); background: rgba(67,253,59,.12); padding: 1px 7px; border-radius: 99px; }
.al-hit .faint a { color: var(--muted); }
.al-hit .faint a:hover { color: var(--neon); }
.al-buy { display: flex; align-items: center; gap: 12px; flex: none; }
.al-price { font-size: 17px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.al-more { font-size: 13.5px; justify-self: start; }
.al-wait { margin: 0; color: var(--muted); font-size: 14px; padding-left: 48px; }
@media (max-width: 560px) {
  .al-hit { flex-wrap: wrap; }
  .al-hit .grow { flex: 1 1 100%; }
  .al-buy { width: 100%; justify-content: space-between; }
  .al-wait { padding-left: 0; }
}
.al-head .grow, .al-hit .grow { flex: 1; min-width: 0; }
.al-del { background: none; border: 0; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; cursor: pointer; padding: 0; }
.al-del svg { width: 17px; height: 17px; }
.al-del:hover { background: rgba(255,107,107,.1); }

/* Elemento marcado como escondido fica escondido, mesmo quando outra regra dá display a ele. */
[hidden] { display: none !important; }

/* conta com os dois lados */
.side-switch { gap: 6px; border-color: rgba(67, 253, 59, .45); color: var(--neon); white-space: nowrap; }
.side-card { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
@media (max-width: 520px) { .side-switch span { display: none; } .side-card .btn { width: 100%; } }

/* plano e faturas */
.banner.danger { background: var(--danger-soft); border: 1px solid rgba(255, 107, 107, .4); color: var(--danger-text); }
.banner.danger svg { color: var(--danger); }
.bill .bill-h { font-size: 18px; margin: 22px 0 10px; }
.bill-now .bill-big { font-family: var(--font-display); font-size: 24px; font-weight: 800; }
.bill-now .bill-big .muted { font-size: 15px; font-weight: 600; font-family: inherit; }
.bill-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.bill-opt { display: flex; flex-direction: column; }
.bill-opt .plan-list { flex: 1; }
.bill-opt.on { border-color: rgba(67, 253, 59, .55); }
.bill-opt-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 6px; }
.bill-price { font-family: var(--font-display); font-size: 26px; font-weight: 800; color: var(--neon); margin-bottom: 10px; }
.bill-price .faint { font-size: 14px; font-weight: 600; font-family: inherit; }
.bill-item { flex-wrap: wrap; gap: 10px; }
.bill-amount { font-family: var(--font-display); white-space: nowrap; }
.bill-pix { padding: 12px 14px; margin: 0 0 6px; border: 1px dashed rgba(67, 253, 59, .4); border-radius: 12px; background: var(--neon-soft); }
.bill-pix input { flex: 1; min-width: 0; }
@media (max-width: 640px) { .bill-opts { grid-template-columns: 1fr; } .bill-item .grow { flex-basis: 100%; } }
.bill-opt .plan-list { align-content: start; }

/* ---------- landing (menu flutuante, janela do sistema, seções em cartões) ---------- */
body.bare #topbar { display: none; }
body.bare .view { padding-top: 0; }
.lx { --lx-grad: linear-gradient(90deg, #43fd3b, #b8ff72); position: relative; }
.lx::before { content: ''; position: absolute; inset: -40px -16px auto; height: 720px; pointer-events: none; z-index: -1;
  background: radial-gradient(ellipse 60% 50% at 75% 20%, rgba(67, 253, 59, .10), transparent 70%), radial-gradient(ellipse 40% 40% at 10% 0%, rgba(67, 253, 59, .06), transparent 70%); }

.lx-nav { position: sticky; top: 12px; z-index: 30; display: flex; align-items: center; gap: 10px; max-width: 760px; margin: 12px auto 0;
  padding: 7px 7px 7px 14px; border: 1px solid rgb(var(--ink) / .14); border-radius: 999px; background: rgb(var(--bar) / .55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: background .2s, border-color .2s; }
.lx-nav.solid { background: rgb(var(--bar) / .88); border-color: rgba(67, 253, 59, .22); }
.lx-brand img { height: 26px; display: block; }
.lx-links { display: flex; gap: 2px; margin: 0 auto; }
.lx-links button { font: inherit; font-size: 14px; font-weight: 600; color: var(--muted); background: none; border: 0; padding: 8px 12px; border-radius: 999px; cursor: pointer; }
.lx-links button:hover { color: var(--text); background: rgb(var(--ink) / .05); }
.lx-login { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 14px; color: var(--neon-ink); background: var(--lx-grad); padding: 9px 16px; border-radius: 999px; box-shadow: 0 0 22px rgba(67, 253, 59, .35); white-space: nowrap; }
.lx-login svg, .lx-btn svg { width: 16px; height: 16px; }
.lx-login:hover { text-decoration: none; filter: brightness(1.06); }

.lx-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 44px; align-items: center; padding: 46px 0 34px; }
.lx-logo { height: 34px; display: block; margin-bottom: 18px; }
.lx-switch { margin-bottom: 18px; }
.lx-chip { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--neon);
  padding: 6px 12px; border: 1px solid rgba(67, 253, 59, .3); border-radius: 999px; background: rgba(67, 253, 59, .07); margin-bottom: 16px; }
.lx-chip svg { width: 14px; height: 14px; }
.lx-hero h1 { font-family: var(--font-display); font-size: clamp(34px, 4.6vw, 56px); line-height: 1.04; letter-spacing: -.035em; margin: 0 0 16px; }
.lx-grad { background: var(--lx-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lx-lead { font-size: 18px; color: var(--muted); max-width: 540px; margin: 0 0 26px; line-height: 1.5; }
.lx-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.lx-ctas.center { justify-content: center; }
.lx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 800; font-size: 16px; padding: 14px 22px; border-radius: 14px; white-space: nowrap; transition: transform .15s, filter .15s; }
.lx-btn:hover { text-decoration: none; transform: translateY(-1px); }
.lx-btn-main { color: var(--neon-ink); background: var(--lx-grad); box-shadow: 0 10px 30px rgba(67, 253, 59, .28); }
.lx-btn-main:hover { filter: brightness(1.06); }
.lx-btn-alt { color: var(--text); background: rgb(var(--ink) / .05); border: 1px solid rgb(var(--ink) / .12); }
.lx-btn-alt:hover { background: rgb(var(--ink) / .09); }
.lx-trust { display: flex; align-items: center; gap: 7px; color: var(--faint); font-size: 13px; margin: 16px 0 0; }
.lx-trust svg { width: 15px; height: 15px; color: var(--neon); }

/* janela do sistema (desenho, sem dado real) */
.lx-win { border-radius: 16px; border: 1px solid rgb(var(--ink) / .12); background: var(--win-bg, #070b08); overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(67, 253, 59, .06), 0 0 70px rgba(67, 253, 59, .1); transform: perspective(1400px) rotateY(-4deg); }
.lx-win-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: var(--win-bar, #0c120d); border-bottom: 1px solid rgb(var(--ink) / .07); }
.lx-win-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.lx-win-bar i:nth-child(2) { background: #febc2e; } .lx-win-bar i:nth-child(3) { background: #28c840; }
.lx-win-bar span { margin-left: 10px; font-size: 11px; color: var(--faint); background: rgb(var(--ink) / .04); padding: 4px 10px; border-radius: 7px; flex: 1; max-width: 300px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lx-win-body { display: grid; grid-template-columns: 132px minmax(0, 1fr); min-height: 300px; }
.lx-win-side { display: flex; flex-direction: column; gap: 3px; padding: 12px 8px; border-right: 1px solid rgb(var(--ink) / .06); background: var(--win-side, #080d09); }
.lx-win-side img { height: 16px; width: auto; align-self: flex-start; margin: 2px 6px 12px; }
.lx-win-side b { font-size: 11px; font-weight: 600; color: var(--faint); padding: 7px 8px; border-radius: 7px; }
.lx-win-side b.on { color: var(--neon); background: rgba(67, 253, 59, .1); }
.lx-win-main { padding: 14px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.lx-search { display: flex; align-items: center; gap: 8px; padding: 9px 9px 9px 12px; border-radius: 10px; border: 1px solid var(--neon); box-shadow: 0 0 0 3px rgba(67, 253, 59, .1); font-size: 13px; font-weight: 600; }
.lx-search svg { width: 14px; height: 14px; color: var(--neon); }
.lx-search span { flex: 1; }
.lx-search b { font-size: 11px; background: var(--neon); color: var(--neon-ink); padding: 5px 10px; border-radius: 7px; }
.lx-win-cap { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); }
.lx-win-cap span { color: var(--neon); }
.lx-rows { display: flex; flex-direction: column; gap: 7px; }
.lx-row { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; background: var(--surface-2); border: 1px solid rgb(var(--ink) / .06); font-size: 11px; }
.lx-row > div { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.lx-row small { color: var(--neon); font-size: 9px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.lx-row b { font-size: 12px; }
.lx-tag { font-size: 10px; color: var(--muted); border: 1px solid rgb(var(--ink) / .12); padding: 2px 7px; border-radius: 99px; white-space: nowrap; }
.lx-where { color: var(--faint); white-space: nowrap; }
.lx-price { font-family: var(--font-display); white-space: nowrap; }
.lx-wa { display: inline-flex; align-items: center; gap: 4px; background: var(--wa); color: #03140a; font-weight: 800; font-size: 10px; padding: 5px 8px; border-radius: 7px; white-space: nowrap; }
.lx-wa svg { width: 11px; height: 11px; }
.lx-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.lx-kpis div { padding: 10px; border-radius: 10px; background: var(--surface-2); border: 1px solid rgb(var(--ink) / .06); }
.lx-kpis small { display: block; font-size: 9px; color: var(--faint); text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.lx-kpis b { font-family: var(--font-display); font-size: 22px; }

/* números */
.lx-band { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; text-align: center; padding: 26px 18px; margin: 10px 0 0;
  border-top: 1px solid rgb(var(--ink) / .07); border-bottom: 1px solid rgb(var(--ink) / .07); background: rgb(var(--ink) / .015); }
.lx-band div { display: flex; flex-direction: column; gap: 3px; }
.lx-band b { font-family: var(--font-display); font-size: 32px; letter-spacing: -.02em; }
.lx-band span { font-size: 13px; color: var(--faint); }

/* seções */
.lx-sec { padding: 72px 0 0; }
.lx-head { text-align: center; max-width: 620px; margin: 0 auto 30px; }
.lx-label { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--neon); padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(67, 253, 59, .28); background: rgba(67, 253, 59, .06); margin-bottom: 14px; }
.lx-head h2 { font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -.03em; margin: 0 0 10px; }
.lx-head p { color: var(--muted); margin: 0; }
.lx-feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.lx-feat { position: relative; overflow: hidden; padding: 22px; border-radius: 16px; border: 1px solid rgb(var(--ink) / .08); background: linear-gradient(180deg, rgb(var(--ink) / .03), rgb(var(--ink) / .01)); }
.lx-feat::after { content: ''; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(67, 253, 59, .12), transparent 70%); pointer-events: none; }
.lx-feat:hover { border-color: rgba(67, 253, 59, .3); }
.lx-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: rgba(67, 253, 59, .1); border: 1px solid rgba(67, 253, 59, .25); color: var(--neon); margin-bottom: 14px; }
.lx-ico svg { width: 19px; height: 19px; }
.lx-feat h3 { font-size: 17px; margin: 0 0 6px; }
.lx-feat p { color: var(--muted); font-size: 14px; margin: 0; }

.lx-table { max-width: 820px; margin: 0 auto; border-radius: 18px; border: 1px solid rgb(var(--ink) / .1); overflow: hidden; background: rgb(var(--ink) / .015); }
.lx-tr { display: grid; grid-template-columns: minmax(0, 1fr) 110px 130px; align-items: center; gap: 10px; padding: 14px 20px; border-top: 1px solid rgb(var(--ink) / .06); font-size: 15px; }
.lx-tr > span:not(:first-child) { text-align: center; }
.lx-th { border-top: 0; background: rgb(var(--ink) / .04); font-size: 13px; font-weight: 800; color: var(--muted); }
.lx-yes, .lx-no { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; }
.lx-yes { background: rgba(67, 253, 59, .12); border: 1px solid rgba(67, 253, 59, .45); color: var(--neon); }
.lx-yes svg { width: 14px; height: 14px; }
.lx-no { border: 1px solid rgb(var(--ink) / .14); color: var(--faint); font-weight: 800; }

.lx-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.lx-step { padding: 22px; border-radius: 16px; border: 1px solid rgb(var(--ink) / .08); background: rgb(var(--ink) / .02); }
.lx-n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(67, 253, 59, .12); border: 1px solid rgba(67, 253, 59, .35); color: var(--neon); font-weight: 800; margin-bottom: 14px; }
.lx-step h3 { font-size: 17px; margin: 0 0 6px; }
.lx-step p { color: var(--muted); font-size: 14px; margin: 0 0 14px; }
.lx-tagline { display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--neon-2); background: rgba(67, 253, 59, .08); padding: 4px 9px; border-radius: 7px; }

.lx-final { max-width: 760px; margin: 76px auto 0; text-align: center; padding: 40px 24px; border-radius: 22px; border: 1px solid rgba(67, 253, 59, .28);
  background: radial-gradient(ellipse at top left, rgba(67, 253, 59, .14), transparent 60%), linear-gradient(180deg, rgb(var(--ink) / .03), rgb(var(--ink) / .01)); box-shadow: 0 0 60px rgba(67, 253, 59, .07); }
.lx-final h2 { font-family: var(--font-display); font-size: clamp(24px, 3vw, 32px); letter-spacing: -.02em; margin: 0 0 8px; }
.lx-final > p { color: var(--muted); margin: 0 0 22px; }
.lx-final .lx-small { font-size: 13px; color: var(--faint); margin: 18px 0 0; }

.lx-faq { max-width: 720px; margin: 0 auto; }
.lx-faq details { border: 1px solid rgb(var(--ink) / .08); border-radius: 12px; background: rgb(var(--ink) / .02); padding: 0 18px; margin-top: 10px; }
.lx-faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.lx-faq summary::-webkit-details-marker { display: none; }
.lx-faq summary::after { content: '+'; color: var(--neon); font-size: 20px; line-height: 1; }
.lx-faq details[open] summary::after { content: '−'; }
.lx-faq details p { color: var(--muted); margin: 0 0 16px; }
.lx-other { text-align: center; color: var(--faint); margin: 22px 0 0; }
.lx-other .link-btn { color: var(--neon); font-weight: 700; }

.lx-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 70px; padding: 22px 0 6px; border-top: 1px solid rgb(var(--ink) / .07); font-size: 13px; color: var(--faint); }
.lx-foot span:last-child { display: flex; gap: 16px; }
.lx-foot a { color: var(--muted); }

.rv { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.rv.in { opacity: 1; transform: none; }
.lx-sticky { display: none; }

@media (max-width: 960px) {
  .lx-hero { grid-template-columns: 1fr; gap: 30px; padding-top: 30px; }
  .lx-win { transform: none; }
  .lx-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .lx-links { display: none; }
  .lx-nav { justify-content: space-between; }
  .lx-hero h1 { font-size: 34px; }
  .lx-lead { font-size: 16px; }
  .lx-ctas .lx-btn { width: 100%; }
  .lx-switch { display: flex; width: 100%; } .lx-switch button { flex: 1; }
  .lx-win-body { grid-template-columns: 1fr; min-height: 0; }
  .lx-win-side { display: none; }
  .lx-feats, .lx-steps { grid-template-columns: 1fr; }
  .lx-tr { grid-template-columns: minmax(0, 1fr) 64px 64px; padding: 12px 14px; font-size: 14px; }
  .lx-th span { font-size: 11px; }
  .lx-sec { padding-top: 56px; }
  .lx-band b { font-size: 24px; }
  .lx-band { grid-template-columns: 1fr 1fr; }
  .lx-sticky { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, var(--bg) 35%); transform: translateY(110%); transition: transform .2s; }
  .lx-sticky.on { transform: none; }
  .lx-sticky .lx-btn { width: 100%; }
  .lx { padding-bottom: 70px; }
}

/* ---------- entrar e cadastro (cartão no meio) ---------- */
.lg { min-height: calc(100vh - 40px); display: flex; flex-direction: column; align-items: center; }
.lg-top { align-self: stretch; padding: 14px 0 0; }
.lg-back { color: var(--muted); font-weight: 600; font-size: 14px; }
.lg-back:hover { color: var(--text); text-decoration: none; }
.lg-card { width: 100%; max-width: 420px; margin: 34px auto 0; padding: 32px 30px 26px; border-radius: 20px; border: 1px solid rgb(var(--ink) / .1);
  background: linear-gradient(180deg, rgb(var(--ink) / .035), rgb(var(--ink) / .015)); box-shadow: 0 30px 80px rgba(0, 0, 0, .45), 0 0 60px rgba(67, 253, 59, .05); }
.lg-card.wide { max-width: 640px; }
.lg-logo { display: block; text-align: center; margin-bottom: 18px; }
.lg-logo img { height: 34px; }
.lg-title { text-align: center; font-family: var(--font-display); font-size: 28px; letter-spacing: -.02em; margin: 0 0 6px; }
.lg-sub { text-align: center; color: var(--muted); margin: 0 0 22px; font-size: 14px; }
.lg-card .seg { display: flex; margin: 0 0 18px; } .lg-card .seg button { flex: 1; }
.lg-inp { position: relative; display: flex; align-items: center; }
.lg-inp > svg { position: absolute; left: 13px; width: 17px; height: 17px; color: var(--faint); pointer-events: none; }
.lg-inp input { width: 100%; padding-left: 40px !important; }
.lg-inp:focus-within > svg { color: var(--neon); }
.lg-eye { position: absolute; right: 6px; display: grid; place-items: center; width: 34px; height: 34px; border: 0; background: none; color: var(--faint); border-radius: 8px; cursor: pointer; }
.lg-eye svg { width: 17px; height: 17px; }
.lg-eye:hover, .lg-eye.on { color: var(--neon); }
.lg-inp:has(.lg-eye) input { padding-right: 44px !important; }
.lg-forgot { text-align: right; margin: 6px 0 4px; font-size: 13px; line-height: 1.3; }
.lg-forgot a { display: inline-block; padding: 4px 0; color: var(--muted); font-weight: 600; }
.lg-forgot a:hover { color: var(--neon); }
.lg-alt { text-align: center; color: var(--muted); font-size: 14px; margin: 18px 0 0; }
.lg-alt a { color: var(--neon); font-weight: 700; }
.lg-card .demo-box { margin-top: 18px; }
.lg-foot { color: var(--faint); font-size: 12px; margin: 18px 0 8px; text-align: center; }
.lg-foot a { color: var(--muted); }
@media (max-width: 520px) { .lg-card { padding: 26px 18px 22px; margin-top: 22px; } }

.lx-row small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lx-meta { display: flex; align-items: center; gap: 6px; color: var(--faint); font-size: 10.5px; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ==========================================================================
   Área logada no estilo da landing: topo em pílula flutuante, superfícies
   neutras com brilho verde, botão principal em degradê e cartões em vidro.
   ========================================================================== */
:root {
  --bg: #030504; --bg-2: #070a08; --surface: #0b0f0c; --surface-2: #111612; --surface-3: #181f19;
  --border: #1a211b; --border-2: #263027; --muted: #9aa89a; --faint: #66736a;
  --grad: linear-gradient(90deg, #43fd3b, #b8ff72); --radius: 16px; --radius-sm: 12px;
  --glass: linear-gradient(180deg, rgb(var(--ink) / .035), rgb(var(--ink) / .012));
}
body:not(.bare) { background: radial-gradient(ellipse 70% 420px at 70% -120px, rgba(67, 253, 59, .09), transparent 70%) no-repeat, var(--bg); }

/* topo */
.topbar { top: 0; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 0; padding: 10px 16px 0; pointer-events: none; }
.topbar-inner { pointer-events: auto; max-width: calc(var(--maxw) - 32px); padding: 6px 8px 6px 16px; gap: 14px; border: 1px solid rgb(var(--ink) / .12); border-radius: 999px;
  background: rgb(var(--bar) / .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.brand img { height: 26px; filter: none; }
.brand img.sym { height: 28px; }
.nav { gap: 2px; }
.nav a { border-radius: 999px; padding: 8px 13px; }
.nav a:hover { background: rgb(var(--ink) / .05); }
.nav a.active { color: var(--neon); background: rgba(67, 253, 59, .12); }
.avatar { width: 32px; height: 32px; background: rgba(67, 253, 59, .1); border-color: rgba(67, 253, 59, .35); }
.user-chip .btn-ghost.icon-btn { border-radius: 999px; }
.side-switch { border-radius: 999px; }
.view { padding-top: 26px; }

/* menu de baixo no celular: barra flutuante */
@media (max-width: 760px) {
  .topbar { padding: 8px 10px 0; }
  .topbar-inner { padding: 5px 6px 5px 12px; }
  .tabbar { left: 10px; right: 10px; bottom: calc(8px + env(safe-area-inset-bottom)); height: var(--tabbar-h); padding-bottom: 0; border: 1px solid rgb(var(--ink) / .12); border-radius: 20px;
    background: rgb(var(--bar) / .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 10px 30px rgba(0, 0, 0, .45); overflow: hidden; }
  .tabbar a.active { background: rgba(67, 253, 59, .08); }
  .view { padding-top: 20px; padding-bottom: calc(var(--tabbar-h) + 44px); }
}

/* botões */
.btn { border-radius: 12px; background: rgb(var(--ink) / .045); border-color: rgb(var(--ink) / .12); }
.btn:hover { background: rgb(var(--ink) / .08); }
.btn-primary { background: var(--grad); border-color: transparent; color: var(--neon-ink); box-shadow: 0 8px 24px rgba(67, 253, 59, .22); }
.btn-primary:hover { background: var(--grad); filter: brightness(1.06); box-shadow: 0 10px 30px rgba(67, 253, 59, .32); }
.btn-wa { background: var(--wa); border-color: var(--wa); }
.btn-wa:hover { background: #45e07f; }
.btn-ghost { background: transparent; border-color: transparent; }
.btn-ghost:hover { background: rgb(var(--ink) / .06); }
.btn-sm { border-radius: 10px; }

/* cartões, números e listas */
.card, .stat, .part-card, .table-wrap { background: var(--glass), var(--surface); border-color: var(--border); }
.card.glow { border-color: rgba(67, 253, 59, .22); box-shadow: 0 0 50px rgba(67, 253, 59, .05), 0 20px 50px rgba(0, 0, 0, .35); }
.part-card:hover { border-color: rgba(67, 253, 59, .3); }
.stat { position: relative; overflow: hidden; }
.stat::after { content: ''; position: absolute; right: -50px; top: -50px; width: 130px; height: 130px; border-radius: 50%; background: radial-gradient(circle, rgba(67, 253, 59, .08), transparent 70%); pointer-events: none; }
.stat .label { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.stat .value { font-family: var(--font-display); }
.empty { border-color: rgb(var(--ink) / .1); background: rgb(var(--ink) / .012); }
.empty .big-ico { border: 1px solid rgba(67, 253, 59, .25); }
th { background: rgb(var(--ink) / .03); color: var(--faint); font-size: 11px; letter-spacing: .08em; }
.modal { background: var(--surface); border-color: rgb(var(--ink) / .12); box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 60px rgba(67, 253, 59, .05); }

/* campos */
input, select, textarea { background: var(--input); border-color: var(--input-border); }
input:focus, select:focus, textarea:focus { border-color: rgba(67, 253, 59, .7); box-shadow: 0 0 0 3px rgba(67, 253, 59, .12); }
.searchbox { background: var(--glass), var(--surface); border-color: rgb(var(--ink) / .12); box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }
.searchbox:focus-within { border-color: rgba(67, 253, 59, .7); box-shadow: 0 0 0 3px rgba(67, 253, 59, .12), 0 20px 50px rgba(0, 0, 0, .35); }
.seg { background: rgb(var(--ink) / .03); border-color: rgb(var(--ink) / .1); }
.seg button.on { background: var(--grad); }

/* título das páginas */
.page-head h1 { letter-spacing: -.035em; }
.badge.neon { background: rgba(67, 253, 59, .1); }

/* liberação do acesso: tela de espera / vencido e o modal do admin */
.access-gate { text-align: left; }
.access-ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 12px;
  background: var(--neon-soft); color: var(--neon); box-shadow: 0 0 32px rgba(67, 253, 59, .25); }
.access-ico svg { width: 28px; height: 28px; }
.access-ico.late { background: var(--danger-soft); color: var(--danger); box-shadow: 0 0 32px rgba(255, 107, 107, .2); }
.access-steps { list-style: none; margin: 4px 0 6px; padding: 0; display: grid; gap: 10px; }
.access-steps li { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; }
.access-steps li svg { width: 18px; height: 18px; flex: none; padding: 5px; box-sizing: content-box; border-radius: 999px; border: 1px solid var(--border-2); }
.access-steps li.done { color: var(--text); }
.access-steps li.done svg { background: var(--neon); color: var(--neon-ink); border-color: var(--neon); }
.access-steps li.now { color: var(--text); font-weight: 600; }
.access-steps li.now svg { color: var(--neon); border-color: rgba(67, 253, 59, .6); animation: accPulse 1.8s ease-in-out infinite; }
@keyframes accPulse { 50% { box-shadow: 0 0 0 6px rgba(67, 253, 59, .12); } }
@media (prefers-reduced-motion: reduce) { .access-steps li.now svg { animation: none; } }
.access-bill { margin-top: 14px; padding: 12px 14px; border-radius: 12px; border: 1px dashed rgba(67, 253, 59, .4); background: var(--neon-soft); display: grid; gap: 10px; }
.access-bill input, #access-card input { flex: 1; min-width: 0; }
.rl-quick { margin-top: 0; }
.rl-sum { padding: 10px 12px; border-radius: 12px; background: var(--neon-soft); border: 1px solid rgba(67, 253, 59, .3); display: grid; gap: 2px; }

/* landing: planos com o preço que o admin colocou */
.lx-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; max-width: 900px; margin: 0 auto; }
.lx-plan { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 24px 22px; border-radius: 18px; border: 1px solid rgb(var(--ink) / .08);
  background: linear-gradient(180deg, rgb(var(--ink) / .035), rgb(var(--ink) / .01)); }
.lx-plan.best { border-color: rgba(67, 253, 59, .45); box-shadow: 0 0 40px rgba(67, 253, 59, .12); }
.lx-plan h3 { margin: 0; font-size: 18px; }
.lx-plan-aud { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--neon); }
.lx-plan-price { font-family: var(--font-display); font-size: 34px; font-weight: 800; margin: 6px 0 14px; }
.lx-plan-price small { font-size: 15px; font-weight: 600; color: var(--muted); font-family: inherit; }
.lx-plan .lx-btn { margin-top: auto; justify-content: center; }
.lx-plan-note { text-align: center; color: var(--muted); font-size: 14px; max-width: 720px; margin: 18px auto 0; }

/* admin: lista de usuários */
.sit { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.sit .badge, td .badge { white-space: nowrap; }
.sit .faint { white-space: nowrap; }
td.actions .acts { display: inline-flex; align-items: center; justify-content: flex-end; gap: 6px; }
td.actions .btn-icon { width: 32px; height: 32px; padding: 0; display: inline-grid; place-items: center; }
td.actions .btn-icon svg { width: 16px; height: 16px; }
@media (max-width: 640px) { table.responsive td.actions .acts { justify-content: flex-start; } }

/* Topo: o menu nunca passa por baixo do "Instalar app" e do nome. Se faltar espaço, ele rola de lado. */
.topbar-inner > .nav { flex: 0 1 auto; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; padding: 2px 0; }
.topbar-inner > .nav::-webkit-scrollbar { display: none; }
.topbar-inner > .spacer { min-width: 0; }
/* Passos de aperto (o app.js liga um por um até o menu caber). */
.topbar-inner.t1 #install-btn .install-label { display: none; }
.topbar-inner.t1 #install-btn { padding-left: 10px; padding-right: 10px; }
.topbar-inner.t2 .user-chip .who { display: none; }
.topbar-inner.t3 { gap: 8px; }
.topbar-inner.t3 .nav a { padding: 8px 9px; font-size: 13.5px; }
.topbar-inner.t4 .brand img.full { display: none; }
.topbar-inner.t4 .brand img.sym { display: block; }

/* O topo pode ser mais largo que o conteúdo: em tela grande cabe o menu inteiro, o nome e o "Instalar app". */
.topbar-inner { max-width: min(1440px, 100%); }

/* admin: denúncias */
.rep-tabs { margin: 0 0 16px; }
.rep-tabs button { display: inline-flex; align-items: center; gap: 8px; }
.rep-n { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; display: inline-grid; place-items: center; font-size: 12px; font-weight: 700;
  background: rgb(var(--ink) / .08); color: var(--muted); }
.rep-tabs button.on .rep-n { background: rgba(0, 0, 0, .25); color: inherit; }
.rep-list { display: grid; gap: 12px; }
.rep-card { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; }
.rep-card.aberta { border-color: rgba(255, 196, 77, .28); }
.rep-ico { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 196, 77, .12); color: var(--warn); }
.rep-card:not(.aberta) .rep-ico { background: rgb(var(--ink) / .06); color: var(--muted); }
.rep-ico svg { width: 22px; height: 22px; }
.rep-body { flex: 1; min-width: 0; display: grid; gap: 6px; }
.rep-head { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; }
.rep-sup { font-weight: 700; }
.rep-reason { margin: 0; font-size: 17px; }
.rep-quote { margin: 0; padding: 8px 12px; border-left: 3px solid rgba(255, 196, 77, .5); background: rgb(var(--ink) / .03); border-radius: 0 10px 10px 0; color: var(--muted); }
.rep-note { padding: 6px 10px; border-radius: 10px; background: var(--neon-soft); }
.rep-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
@media (max-width: 520px) { .rep-card { padding: 14px; gap: 10px; } .rep-ico { width: 36px; height: 36px; } }

/* Celular: filtros em pílula e menu de baixo nunca passam da borda */
.seg { max-width: 100%; }
.seg button { white-space: nowrap; }
@media (max-width: 760px) {
  .seg { overflow-x: auto; scrollbar-width: none; }
  .seg::-webkit-scrollbar { display: none; }
  .seg button { padding: 8px 11px; font-size: 13px; }
  .tabbar a { min-width: 0; padding: 0 2px; }
  .tabbar a span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .tabbar:has(a:nth-child(7)) a { font-size: 10px; }
  .tabbar:has(a:nth-child(7)) svg { width: 20px; height: 20px; }
}

/* Etiqueta longa (nota com texto, horário) quebra em vez de passar da borda no celular. */
.badge { max-width: 100%; }
.badge.rating { white-space: normal; text-align: left; line-height: 1.35; }

/* Cadastro/entrar: as três abas sempre cabem no cartão. */
.lg-card .seg { overflow: visible; }
.lg-card .seg button { min-width: 0; padding: 9px 6px; white-space: normal; line-height: 1.2; }

/* ==========================================================================
   Tema claro. O escuro é o padrão; o app liga este com <html data-theme="light">
   (botão de sol/lua no topo, ou Perfil → Aparência). As cores do resto vêm das variáveis.
   ========================================================================== */
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f3f6f2; --bg-2: #e9eee8; --surface: #ffffff; --surface-2: #f4f7f3; --surface-3: #e8eee7;
  --border: #dbe3d9; --border-2: #c3cec1;
  --text: #0e1a0f; --muted: #4c5e4b; --faint: #6c7d6a;
  --neon: #0f8a0b; --neon-2: #2fb526; --neon-ink: #04110a;
  --neon-glow: rgba(15, 138, 11, .18); --neon-soft: rgba(15, 138, 11, .09);
  --warn: #a86a00; --warn-soft: rgba(230, 160, 20, .14); --warn-text: #7a4d00;
  --danger: #d23434; --danger-soft: rgba(210, 52, 52, .09); --danger-text: #b42323;
  --info: #1272b8;
  --ink: 14 30 16;
  --bar: 255 255 255;
  --input: #ffffff; --input-border: #cdd6cb;
  --shadow: 0 10px 30px rgba(20, 40, 22, .10);
  --glass: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .6));
}
:root[data-theme="light"] body:not(.bare) { background: radial-gradient(ellipse 70% 420px at 70% -120px, rgba(67, 253, 59, .16), transparent 70%) no-repeat, var(--bg); }
:root[data-theme="light"] .brand img, :root[data-theme="light"] .lx-brand img { filter: none; }
:root[data-theme="light"] .topbar-inner, :root[data-theme="light"] .tabbar, :root[data-theme="light"] .lx-nav { box-shadow: 0 8px 24px rgba(20, 40, 22, .10); }
:root[data-theme="light"] .card.glow { box-shadow: 0 0 40px rgba(67, 253, 59, .10), 0 16px 40px rgba(20, 40, 22, .08); }
:root[data-theme="light"] .searchbox { box-shadow: 0 14px 34px rgba(20, 40, 22, .10); }
:root[data-theme="light"] .modal { box-shadow: 0 30px 80px rgba(20, 40, 22, .25); }
/* Botão principal e chamadas da página inicial: o verde da marca continua vivo, com o texto escuro. */
:root[data-theme="light"] .btn-primary, :root[data-theme="light"] .seg button.on { color: #04110a; }
:root[data-theme="light"] .btn-primary { box-shadow: 0 8px 20px rgba(40, 180, 30, .25); }
:root[data-theme="light"] .lx-grad { background: linear-gradient(90deg, #12a00c, #4bc72a); -webkit-background-clip: text; background-clip: text; }
:root[data-theme="light"] .hero h1 em { text-shadow: none; }
:root[data-theme="light"] .stars button.on { text-shadow: none; }
:root[data-theme="light"] .error-box, :root[data-theme="light"] .banner.danger { border-color: rgba(210, 52, 52, .3); }
:root[data-theme="light"] .banner.warn { border-color: rgba(200, 140, 0, .35); }
:root[data-theme="light"] .lx { --win-bg: #ffffff; --win-bar: #f1f5f0; --win-side: #f6f9f5; }
:root[data-theme="light"] .lx-win { box-shadow: 0 30px 70px rgba(20, 40, 22, .16); }
:root[data-theme="light"] .modal-back { background: rgba(14, 26, 15, .45); }

/* Botão de trocar o tema (sol / lua) */
.theme-btn { width: 36px; height: 36px; padding: 0; display: inline-grid; place-items: center; border-radius: 999px; }
.theme-btn svg { width: 18px; height: 18px; }
.lx-theme { flex: none; width: 38px; height: 38px; display: inline-grid; place-items: center; border-radius: 999px; border: 1px solid rgb(var(--ink) / .14);
  background: rgb(var(--ink) / .05); color: var(--text); cursor: pointer; padding: 0; }
.lx-theme:hover { background: rgb(var(--ink) / .1); }
.lx-theme svg { width: 18px; height: 18px; }
