:root {
  --bg: #f3f6fb;
  --card: #ffffff;
  --ink: #0f1b33;
  --muted: #5b6b86;
  --line: #e2e8f2;
  --navy: #0b2a5b;
  --navy-2: #123d82;
  --primary: #1554c7;
  --ok: #0e9f6e;
  --gold: #e5a50a;
  --warn: #c2410c;
  --danger: #d92d20;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(15, 27, 51, .06), 0 4px 16px rgba(15, 27, 51, .06);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); font-size: 15px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
a { color: var(--primary); text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.2; letter-spacing: -.01em; }
h1 { font-size: 26px; font-weight: 800; }
h2 { font-size: 17px; font-weight: 700; }
h3 { font-size: 14px; font-weight: 700; margin: 14px 0 6px; }
small { display: block; color: var(--muted); font-size: 12.5px; }
button { font: inherit; cursor: pointer; }
.muted { color: var(--muted); margin: 4px 0 0; }
.small { font-size: 12.5px; }
.grow { flex: 1; min-width: 0; }

/* layout */
.layout { min-height: 100vh; display: flex; }
.side { display: none; }
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-brand { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 800; }
.role-chip { font-size: 11.5px; font-weight: 700; color: var(--navy-2); background: #e8effc; padding: 3px 9px; border-radius: 99px; text-transform: uppercase; letter-spacing: .04em; }
.top-r { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.xp-pill { display: flex; align-items: center; gap: 5px; background: linear-gradient(135deg, #fff7db, #ffe9a8); color: #7a4b00; border: 1px solid #f5d77a; padding: 5px 11px; border-radius: 99px; font-size: 13px; white-space: nowrap; }
.xp-pill .lvl { display: none; font-weight: 600; }
.icon-btn { position: relative; border: 1px solid var(--line); background: #fff; width: 38px; height: 38px; border-radius: 12px; font-size: 17px; }
.icon-btn .dot { position: absolute; top: -5px; right: -5px; background: var(--danger); color: #fff; font-size: 10.5px; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; }
.who { border: 0; background: none; padding: 0; }
.content { width: 100%; max-width: 1180px; margin: 0 auto; padding: 18px 16px 110px; display: flex; flex-direction: column; gap: 16px; }
.content.narrow { max-width: 820px; }
.bottom { position: fixed; bottom: 0; left: 0; right: 0; z-index: 30; display: flex; background: #fff; border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
.bottom a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 10.5px; font-weight: 600; color: var(--muted); padding: 4px 0; border-radius: 10px; }
.bottom a .ic { font-size: 19px; filter: grayscale(1); opacity: .7; }
.bottom a.on { color: var(--primary); background: #eef3fd; }
.bottom a.on .ic { filter: none; opacity: 1; }

@media (min-width: 900px) {
  .side { display: flex; flex-direction: column; width: 248px; flex-shrink: 0; background: var(--navy); color: #fff; position: sticky; top: 0; height: 100vh; padding: 20px 14px; }
  .brand { display: flex; align-items: center; gap: 10px; color: #fff; padding: 0 6px 18px; }
  .brand small { color: #9fb3d9; }
  .nav { display: flex; flex-direction: column; gap: 3px; }
  .nav a { display: flex; align-items: center; gap: 10px; color: #c9d6ef; padding: 10px 12px; border-radius: 12px; font-weight: 600; }
  .nav a:hover { background: rgba(255, 255, 255, .07); color: #fff; }
  .nav a.on { background: #fff; color: var(--navy); }
  .side-foot { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
  .side-foot .link { color: #9fb3d9; }
  .mode { border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06); color: #dbe5f7; border-radius: 10px; padding: 8px 10px; font-size: 12.5px; text-align: left; }
  .mode.on { border-color: rgba(52, 211, 153, .5); }
  .bottom, .top-brand { display: none; }
  .xp-pill .lvl { display: inline; }
  .content { padding: 26px 28px 60px; }
}

.logo { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(135deg, #1554c7, #0e9f6e); color: #fff; font-weight: 800; font-size: 15px; letter-spacing: -.02em; flex-shrink: 0; }
.logo.sm { width: 30px; height: 30px; font-size: 12px; border-radius: 9px; }
.logo.xl { width: 56px; height: 56px; font-size: 21px; border-radius: 16px; }
.link { background: none; border: 0; color: var(--primary); padding: 4px 6px; font-size: 13px; }

/* blocos */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; }
.card > h2 { margin-bottom: 10px; }
.card-h, .sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.sec-h { margin: 4px 2px 10px; }
.page-h { display: flex; flex-direction: column; gap: 2px; }
.page-h.row { flex-direction: row; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.grid2 { display: grid; gap: 16px; }
.cards2, .cards3 { display: grid; gap: 12px; }
.stack { display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 760px) {
  .grid2 { grid-template-columns: 1fr 1fr; }
  .grid2.tight { gap: 20px; }
  .cards2 { grid-template-columns: repeat(2, 1fr); }
  .cards3 { grid-template-columns: repeat(3, 1fr); }
}
.empty { padding: 18px; border: 1.5px dashed var(--line); border-radius: 12px; color: var(--muted); text-align: center; font-size: 14px; background: #fafcff; }
.back { font-weight: 600; font-size: 14px; }

/* botões e pílulas */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; background: var(--primary); color: #fff; font-weight: 700; padding: 10px 16px; border-radius: 11px; font-size: 14px; white-space: nowrap; }
.btn:hover { filter: brightness(1.08); }
.btn.sm { padding: 7px 12px; font-size: 13px; border-radius: 9px; }
.btn.ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn.ghost:hover { background: #f5f8fd; filter: none; }
.btn.danger { background: var(--danger); }
.actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; }
.actions.center { justify-content: center; }
.pill { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 600; padding: 5px 10px; border-radius: 99px; background: #eef2f8; color: #3c4b66; }
.pill.ok { background: #e3f7ee; color: #0a7a55; }
.pill.match { background: linear-gradient(135deg, #e3f7ee, #e6efff); color: #0a5d8a; }
.pill.warn { background: #fff1e6; color: var(--warn); }
.pill.st-realizada { background: #e3f7ee; color: #0a7a55; }
.pill.st-agendada { background: #e6efff; color: var(--primary); }
.pill.est-contratando { background: #ffe9e3; color: #b42318; }
.pill.est-planejando { background: #fff6dd; color: #8a5a00; }
.cota { font-weight: 700; padding: 1px 7px; border-radius: 6px; font-size: 11px; }
.cota-master { background: #0b2a5b; color: #fff; }
.cota-ouro { background: #ffe9a8; color: #7a4b00; }
.tts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tt { font-size: 11.5px; font-weight: 700; color: var(--c); background: color-mix(in srgb, var(--c) 11%, white); border: 1px solid color-mix(in srgb, var(--c) 25%, white); padding: 2px 8px; border-radius: 99px; }

/* avatar e anel */
.av { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: #fff; font-weight: 800; font-size: 14px; flex-shrink: 0; }
.av.lg { width: 52px; height: 52px; font-size: 17px; border-radius: 15px; }
.ring { position: relative; width: 50px; height: 50px; flex-shrink: 0; }
.ring svg { width: 50px; height: 50px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 4.5; }
.ring .ring-bg { stroke: #e8edf5; }
.ring .ring-fg { stroke-linecap: round; transition: stroke-dashoffset .5s; }
.ring b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; }
.ring b small { display: inline; font-size: 9px; color: var(--muted); }
.bar { height: 9px; background: #e8edf5; border-radius: 99px; overflow: hidden; }
.bar span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--primary), var(--ok)); transition: width .5s; }

/* hero */
.hero-card { background: radial-gradient(120% 140% at 100% 0%, #1b5fd1 0%, #0b2a5b 58%); color: #fff; border-radius: 20px; padding: 18px; box-shadow: 0 10px 30px rgba(11, 42, 91, .25); }
.hero-card.company { background: radial-gradient(120% 140% at 100% 0%, #0e9f6e 0%, #0b2a5b 62%); }
.hero-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.hero-card h1 { font-size: 24px; }
.kicker { margin: 0; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #a9c4f5; }
.inv-muted { margin: 3px 0 0; color: #c9d6ef; font-size: 13.5px; }
.xp-big { text-align: center; background: rgba(255, 255, 255, .1); border-radius: 14px; padding: 8px 12px; }
.xp-big b { display: block; font-size: 24px; }
.xp-big span { font-size: 11px; color: #c9d6ef; font-weight: 700; }
.hero-card .bar { background: rgba(255, 255, 255, .18); }
.hero-card .bar span { background: linear-gradient(90deg, #ffd34d, #34d399); }
.hero-foot { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin: 10px 0 0; font-size: 13.5px; color: #dbe5f7; }
.hero-foot a { color: #fff; font-weight: 700; }

/* listas */
.alert { border-color: #f9d3b4; background: linear-gradient(180deg, #fffaf5, #fff); }
.row-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.row-item:first-of-type { border-top: 0; }
.row-act { display: flex; gap: 6px; }
.missions { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.missions a { display: flex; align-items: center; gap: 10px; color: var(--ink); padding: 8px; border-radius: 10px; font-size: 14px; }
.missions a:hover { background: #f5f8fd; }
.missions .chk { width: 22px; height: 22px; border-radius: 7px; border: 2px solid #cbd5e3; display: grid; place-items: center; font-size: 13px; font-weight: 800; color: #fff; flex-shrink: 0; }
.missions li.done .chk { background: var(--ok); border-color: var(--ok); }
.missions li.done .grow { text-decoration: line-through; color: var(--muted); }
.missions .xp, .sp .xp { font-size: 12px; font-weight: 800; color: #8a5a00; background: #fff6dd; padding: 3px 8px; border-radius: 99px; white-space: nowrap; }
.sponsor { background: linear-gradient(180deg, #fffcf2, #fff); border-color: #f3e2ac; }
.sp-list { display: grid; gap: 8px; margin-top: 10px; }
@media (min-width: 760px) { .sp-list { grid-template-columns: repeat(2, 1fr); } }
.sp { display: flex; align-items: center; gap: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.sp.done { opacity: .6; }
.sp-note { background: #fff8e1; border: 1px solid #f3e2ac; padding: 10px 12px; border-radius: 12px; font-size: 13.5px; margin: 12px 0 0; }
.sp-note.muted-note { background: #f5f8fd; border-color: var(--line); color: var(--muted); }

/* cards de match */
.match-card { display: flex; flex-direction: column; }
.match-card .actions { margin-top: auto; padding-top: 12px; }
.mc-head { display: flex; align-items: center; gap: 12px; }
.mc-title { font-weight: 700; font-size: 15.5px; color: var(--ink); }
.pitch { margin: 10px 0 0; color: #33425c; font-size: 14px; }
.pitch.lg { font-size: 16px; }
.why { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.why li { font-size: 13px; color: #33425c; padding-left: 20px; position: relative; }
.why li::before { content: "✓"; position: absolute; left: 2px; color: var(--ok); font-weight: 800; }
.plain { margin: 6px 0 0; padding-left: 18px; font-size: 14px; color: #33425c; }
.lead-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.detail h1 { font-size: 22px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 16px 0 0; }
.facts div { background: #f6f8fc; border-radius: 12px; padding: 10px 12px; }
.facts dt { font-size: 11.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.facts dd { margin: 3px 0 0; font-weight: 600; font-size: 14px; }

/* abas e filtros */
.tabs { display: flex; gap: 4px; background: #e9eef6; padding: 4px; border-radius: 12px; overflow-x: auto; scrollbar-width: none; }
.tabs button { flex: 1; border: 0; background: none; padding: 8px 12px; border-radius: 9px; font-weight: 600; color: var(--muted); white-space: nowrap; font-size: 13.5px; }
.tabs button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(15, 27, 51, .12); }
.filter { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.chip-btn { border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 6px 12px; font-size: 13px; font-weight: 600; color: #3c4b66; white-space: nowrap; }
.chip-btn.on { background: var(--navy); border-color: var(--navy); color: #fff; }

/* agenda */
.day-h { margin: 6px 2px 0; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.meet, .session { display: flex; gap: 14px; align-items: flex-start; }
.meet-time { min-width: 62px; text-align: center; background: #eef3fd; border-radius: 12px; padding: 8px 6px; }
.meet-time b { font-size: 17px; display: block; }
.meet-time span { display: block; margin-top: 4px; font-size: 11.5px; font-weight: 700; color: var(--primary); }
.meet.realizada .meet-time { background: #e3f7ee; }
.meet .actions, .session .actions { margin-top: 10px; }
.s-title { display: block; font-size: 15px; }

/* expo */
.passport .stamps { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: 8px; margin-top: 14px; }
.stamp { border: 2px dashed color-mix(in srgb, var(--c) 40%, white); border-radius: 14px; padding: 10px 6px; text-align: center; }
.stamp span { display: grid; place-items: center; width: 34px; height: 34px; margin: 0 auto 4px; border-radius: 50%; background: #eef2f8; color: var(--muted); font-weight: 800; }
.stamp.ok { border-style: solid; border-color: var(--c); background: color-mix(in srgb, var(--c) 7%, white); }
.stamp.ok span { background: var(--c); color: #fff; transform: rotate(-8deg); }
.stamp small { font-weight: 600; color: #33425c; font-size: 11.5px; overflow-wrap: anywhere; hyphens: auto; }
.map-h { color: var(--muted); font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; }
.map { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.stand { position: relative; min-height: 70px; border-radius: 12px; padding: 8px; background: color-mix(in srgb, var(--c) 9%, white); border: 1.5px solid color-mix(in srgb, var(--c) 35%, white); color: var(--ink); display: flex; flex-direction: column; gap: 2px; }
.stand span { font-size: 11px; font-weight: 800; color: var(--c); }
.stand b { font-size: 12.5px; line-height: 1.2; }
.stand.visited { background: var(--c); color: #fff; }
.stand.visited span { color: #fff; }
.stand i { position: absolute; top: 6px; right: 8px; font-style: normal; font-weight: 800; }
.stand.free { background: #f6f8fc; border: 1.5px dashed #dbe2ee; color: #a7b3c7; }
.stand.free span { color: #a7b3c7; }
.legend { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; }
.lg-v { background: linear-gradient(135deg, #059669, #7c3aed); }
.lg-d { background: var(--primary); }
.lg-o { background: var(--gold); }

/* ranking */
.podium { display: flex; justify-content: center; align-items: flex-end; gap: 10px; padding-top: 6px; }
.pod { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 110px; text-align: center; }
.pod b { font-size: 13px; }
.pod-base { width: 100%; border-radius: 12px 12px 0 0; color: #fff; font-weight: 800; font-size: 20px; display: grid; place-items: center; margin-top: 4px; }
.pod.p1 .pod-base { height: 86px; background: linear-gradient(180deg, #f5b301, #c98a00); }
.pod.p2 .pod-base { height: 62px; background: linear-gradient(180deg, #9fb3d9, #6b7fa6); }
.pod.p3 .pod-base { height: 46px; background: linear-gradient(180deg, #e0905a, #b5652f); }
.mypos { text-align: center; margin: 0; color: var(--muted); }
.rank { list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.rank li { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-top: 1px solid var(--line); }
.rank li:first-child { border-top: 0; }
.rank li.me { background: #fff8e1; }
.rank .pos { width: 24px; font-weight: 800; color: var(--muted); text-align: center; }
.rank .xp { font-size: 15px; }
.rank.compact { border: 0; }
.rank.compact li { padding: 8px 0; }
.lvl-tag { display: none; font-size: 12px; color: var(--muted); }
@media (min-width: 640px) { .lvl-tag { display: inline; } }
.badges { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.badge { border: 1px solid var(--line); border-radius: 14px; padding: 12px; text-align: center; opacity: .5; filter: grayscale(1); }
.badge.ok { opacity: 1; filter: none; background: linear-gradient(180deg, #fffbea, #fff); border-color: #f3e2ac; }
.badge span { font-size: 26px; display: block; }
.badge b { font-size: 13px; display: block; margin-top: 4px; }
.xp-lines { list-style: none; margin: 0; padding: 0; }
.xp-lines li { display: flex; justify-content: space-between; padding: 7px 0; border-top: 1px solid var(--line); font-size: 14px; }
.xp-lines li:first-child { border-top: 0; }
.xp-lines li.tot { font-weight: 800; border-top: 2px solid var(--ink); }
.rewards { display: grid; gap: 8px; margin-top: 10px; }
@media (min-width: 760px) { .rewards { grid-template-columns: repeat(2, 1fr); } }
.reward { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.reward b { color: #7a4b00; }

/* perfil e QR */
.center { text-align: center; }
.qr { width: 200px; margin: 14px auto 6px; background: #fff; padding: 8px; border: 1px solid var(--line); border-radius: 14px; }
.qr svg { width: 100%; height: auto; display: block; }
.qr-fallback { padding: 60px 10px; font-weight: 800; }
.code { font-family: ui-monospace, Consolas, monospace; font-weight: 700; letter-spacing: .08em; margin: 0; }

/* indicadores */
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 760px) { .kpis { grid-template-columns: repeat(6, 1fr); } .kpis.small { grid-template-columns: repeat(2, 1fr); } }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; box-shadow: var(--shadow); }
.kpi b { display: block; font-size: 24px; font-weight: 800; }
.kpi span { font-size: 12.5px; color: var(--muted); }
.bars, .funnel, .dxo { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.bars li, .funnel li { display: grid; grid-template-columns: minmax(120px, 1.3fr) 2fr 44px; gap: 10px; align-items: center; font-size: 13.5px; }
.bars li b, .funnel li b { text-align: right; }
.dxo li { display: grid; grid-template-columns: 1fr; gap: 4px; font-size: 13.5px; }
@media (min-width: 760px) { .dxo li { grid-template-columns: minmax(220px, 1.2fr) 2fr 50px; gap: 12px; align-items: center; } }
.dxo .dual { display: flex; flex-direction: column; gap: 3px; }
.dxo .bar { height: 7px; }
.dxo .bar.d span { background: var(--primary); }
.dxo .bar.o span { background: var(--gold); }
.dxo b { text-align: right; color: var(--muted); font-size: 12.5px; }
.gap { font-style: normal; font-size: 11px; font-weight: 700; background: #ffe9e3; color: #b42318; padding: 1px 6px; border-radius: 6px; margin-left: 4px; }

/* formulários */
.form { display: flex; flex-direction: column; gap: 14px; }
.form label { display: flex; flex-direction: column; gap: 5px; font-size: 13px; font-weight: 600; color: #33425c; }
.form input:not([type=checkbox]), .form select, .form textarea, .scan-form input { font: inherit; font-size: 15px; padding: 10px 12px; border: 1px solid #cfd8e6; border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus, .scan-form input:focus { outline: 2px solid #b9cdf5; border-color: var(--primary); }
.row2, .row3 { display: grid; gap: 12px; }
@media (min-width: 640px) { .row2 { grid-template-columns: 1fr 1fr; } .row3 { grid-template-columns: 1fr 1fr 1fr; } }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-size: 13px; font-weight: 700; color: #33425c; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { flex-direction: row !important; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; border: 1px solid #cfd8e6; border-radius: 99px; padding: 7px 12px; font-size: 13px; font-weight: 600; color: #3c4b66; background: #fff; cursor: pointer; }
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid #b9cdf5; }
.check { flex-direction: row !important; align-items: flex-start; gap: 10px !important; font-weight: 500 !important; background: #f6f8fc; padding: 12px; border-radius: 12px; }
.check input { margin-top: 3px; width: 18px; height: 18px; flex-shrink: 0; }
.form-foot { display: flex; gap: 10px; flex-wrap: wrap; }

/* entrada pública */
.entrar { min-height: 100vh; max-width: 920px; margin: 0 auto; padding: 32px 16px 40px; display: flex; flex-direction: column; gap: 22px; }
.entrar-hero { background: radial-gradient(120% 140% at 100% 0%, #1b5fd1 0%, #0b2a5b 60%); color: #fff; border-radius: 24px; padding: 28px 22px; }
.entrar-hero h1 { font-size: clamp(26px, 5vw, 38px); margin: 10px 0 10px; }
.entrar-hero .kicker { margin-top: 16px; }
.lead { font-size: 16.5px; color: #dbe5f7; margin: 0; max-width: 640px; }
.meta { margin: 14px 0 0; color: #a9c4f5; font-size: 13.5px; }
.entrar-grid { display: grid; gap: 10px; }
@media (min-width: 760px) { .entrar-grid { grid-template-columns: repeat(3, 1fr); } }
.persona { display: flex; align-items: center; gap: 12px; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; box-shadow: var(--shadow); color: var(--ink); }
.persona:hover { border-color: var(--primary); }
.persona b { display: block; font-size: 15px; margin: 2px 0; }
.persona span span, .persona .grow > span { font-size: 12.5px; color: var(--muted); }
.persona .arrow { font-size: 24px; color: var(--muted); }
.entrar-novo { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.nota { text-align: center; color: var(--muted); font-size: 12.5px; margin: 0; }
.public { min-height: 100vh; }
.public-h { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: #fff; border-bottom: 1px solid var(--line); }
.public-h .top-brand { display: flex; }

/* modal */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: end center; }
@media (min-width: 640px) { .modal { place-items: center; } }
.modal[hidden] { display: none; }
.modal-back { position: absolute; inset: 0; background: rgba(9, 20, 43, .55); }
.modal-box { position: relative; width: min(560px, 100%); max-height: 88vh; overflow: auto; background: #fff; border-radius: 22px 22px 0 0; padding: 22px 18px 24px; box-shadow: 0 20px 60px rgba(0, 0, 0, .25); animation: up .22s ease-out; }
@media (min-width: 640px) { .modal-box { border-radius: 22px; } }
@keyframes up { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-box > h2 { padding-right: 30px; margin-bottom: 4px; }
.modal-x { position: absolute; top: 12px; right: 12px; border: 0; background: #eef2f8; width: 32px; height: 32px; border-radius: 10px; font-size: 20px; line-height: 1; }
.modal-box .tabs { margin-top: 14px; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 6px; margin-top: 12px; }
.slot { border: 1px solid #cfd8e6; background: #fff; border-radius: 10px; padding: 9px 0; font-weight: 700; font-size: 14px; }
.slot:hover { border-color: var(--primary); background: #eef3fd; }
.slot.off { background: #f3f5f9; color: #b3bdcc; text-decoration: line-through; cursor: not-allowed; }
.scan-form { display: flex; gap: 8px; margin-top: 14px; }
.sim-list { display: flex; flex-direction: column; gap: 6px; }
.sim { text-align: left; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 9px 12px; font-size: 14px; }
.sim:hover { border-color: var(--primary); }
.sim b { color: var(--primary); margin-right: 6px; }
.stars { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.stars button { border: 1px solid var(--line); background: #fff; border-radius: 14px; width: 54px; height: 62px; font-size: 26px; color: var(--gold); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.stars button small { font-size: 11px; }
.stars button:hover { background: #fff8e1; border-color: var(--gold); }
.notifs { list-style: none; margin: 12px 0 0; padding: 0; }
.notifs li { padding: 10px 12px; border-radius: 10px; font-size: 14px; border-top: 1px solid var(--line); }
.notifs li.new { background: #eef3fd; font-weight: 600; }
.celebrate { text-align: center; padding: 6px 4px; }
.celebrate .big { font-size: 56px; animation: pop .5s ease-out; }
.celebrate p { margin: 8px 0 0; }
.celebrate .btn { margin-top: 16px; }
.celebrate .actions .btn { margin-top: 0; }
@keyframes pop { 0% { transform: scale(.3); } 70% { transform: scale(1.15); } 100% { transform: scale(1); } }

/* avisos */
#toasts { position: fixed; z-index: 200; left: 50%; bottom: 86px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; pointer-events: none; width: max-content; max-width: calc(100vw - 32px); }
@media (min-width: 900px) { #toasts { bottom: 28px; } }
.toast { background: #0f1b33; color: #fff; padding: 10px 16px; border-radius: 12px; font-size: 14px; font-weight: 600; box-shadow: 0 8px 24px rgba(0, 0, 0, .2); animation: up .2s ease-out; transition: opacity .3s, transform .3s; }
.toast.xp { background: linear-gradient(135deg, #f5b301, #e07a00); }
.toast.badge { background: linear-gradient(135deg, #0e9f6e, #1554c7); }
.toast.warn { background: #b42318; }
.toast.out { opacity: 0; transform: translateY(8px); }
