:root {
  color-scheme: dark;
  --bg: #141e33; --surface: #1b2742; --surface-2: #22304f; --surface-3: #2b3b5f; --border: #2e3d60; --border-2: #3d5078;
  --text: #edf2fa; --text-2: #b3c0d6; --muted: #8494b2;
  --accent: #a3cbf1; --accent-2: #3987e5; --grad: linear-gradient(90deg, #19c2f0 0%, #3a64f0 55%, #5b3cf5 100%);
  --s1: #3987e5; --s2: #d95926; --s3: #199e70; --s4: #c98500; --s5: #d55181; --s6: #9085e9;
  --good: #3fbf8f; --bad: #e66767; --warn: #e0a526;
  --radius: 12px; --shadow: 0 8px 30px rgba(0,0,0,.35);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 14px; line-height: 1.45; }
body {
  background:
    radial-gradient(900px 600px at 8% -5%, rgba(163,203,241,.13), transparent 60%),
    radial-gradient(1000px 700px at 100% 0%, rgba(91,60,245,.16), transparent 62%),
    radial-gradient(900px 700px at 60% 110%, rgba(25,194,240,.10), transparent 60%),
    radial-gradient(rgba(255,255,255,.045) 1px, transparent 1.2px) 0 0 / 22px 22px,
    var(--bg);
  background-attachment: fixed;
}
a { color: var(--accent); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.2; letter-spacing: -.01em; }
h1 { font-size: 22px; } h2 { font-size: 18px; } h3 { font-size: 15px; }
.muted { color: var(--muted); } .small { font-size: 12px; } .right { text-align: right; } .nowrap { white-space: nowrap; }
.pos { color: var(--good); } .neg { color: var(--bad); }
.hidden { display: none !important; }

/* ---------- layout ---------- */
.topbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 16px; padding: 10px 20px; background: rgba(20,30,51,.82); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.topbar::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--grad); opacity: .8; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand img { width: 34px; height: 34px; border-radius: 50%; }
.brand b { font-size: 15px; } .brand span { display: block; font-size: 11px; color: var(--muted); }
.for { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-2); }
.for img { width: 28px; height: 28px; border-radius: 7px; }
.for b { color: var(--text); font-size: 13px; }
.usermenu { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.shell { display: grid; grid-template-columns: 220px 1fr; min-height: calc(100vh - 57px); }
.side { background: rgba(20,30,51,.55); border-right: 1px solid var(--border); padding: 16px 10px; position: sticky; top: 57px; height: calc(100vh - 57px); overflow: auto; }
.side a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 9px; color: var(--text-2); text-decoration: none; font-weight: 500; }
.side a:hover { background: var(--surface); color: var(--text); }
.side a.active { background: var(--surface-2); color: var(--text); box-shadow: inset 3px 0 0 var(--accent); }
.side .sep { margin: 16px 12px 6px; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.side svg { width: 16px; height: 16px; flex: none; opacity: .85; }
.main { padding: 18px 24px 60px; min-width: 0; }

/* ---------- filtros ---------- */
.filters { position: sticky; top: 57px; z-index: 20; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px 14px; margin: -18px -24px 18px; background: rgba(20,30,51,.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.filters .grp { display: flex; align-items: center; gap: 6px; }
.filters select { width: auto; max-width: 260px; }
.filters label.lbl { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
select, input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], input[type=month], textarea {
  background: var(--surface); border: 1px solid var(--border-2); border-radius: 8px; padding: 7px 10px; outline: none; min-width: 0; }
select:focus, input:focus, textarea:focus { border-color: var(--accent-2); box-shadow: 0 0 0 3px rgba(57,135,229,.2); }
textarea { width: 100%; resize: vertical; line-height: 1.5; }
.seg { display: inline-flex; background: var(--surface); border: 1px solid var(--border-2); border-radius: 8px; padding: 2px; }
.seg button { border: 0; background: transparent; padding: 5px 10px; border-radius: 6px; cursor: pointer; color: var(--text-2); font-weight: 500; }
.seg button.on { background: var(--surface-3); color: var(--text); }
.switch { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; user-select: none; color: var(--text-2); font-size: 13px; }
.switch input { appearance: none; width: 32px; height: 18px; border-radius: 10px; background: var(--surface-3); border: 1px solid var(--border-2); position: relative; cursor: pointer; margin: 0; }
.switch input::after { content: ''; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--text-2); transition: .15s; }
.switch input:checked { background: var(--accent-2); border-color: var(--accent-2); }
.switch input:checked::after { left: 16px; background: #fff; }
.btn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--border-2); background: var(--surface-2); padding: 7px 12px; border-radius: 8px; cursor: pointer; font-weight: 500; text-decoration: none; color: var(--text); }
.btn:hover { border-color: var(--accent-2); }
.btn.primary { background: var(--accent-2); border-color: var(--accent-2); color: #fff; }
.btn.ghost { background: transparent; }
.btn.danger { color: var(--bad); }
.btn.sm { padding: 4px 9px; font-size: 12px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.chip { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; padding: 2px 8px; border-radius: 20px; background: var(--surface-3); color: var(--text-2); border: 1px solid var(--border-2); white-space: nowrap; }
.chip.open { color: var(--warn); border-color: rgba(224,165,38,.4); }
.chip.good { color: var(--good); border-color: rgba(63,191,143,.35); }
.chip.info { color: var(--accent); border-color: rgba(163,203,241,.35); }
.chip.bad { color: var(--bad); border-color: rgba(230,103,103,.35); }

/* ---------- cards ---------- */
.grid { display: grid; gap: 14px; }
.g2 { grid-template-columns: repeat(2, minmax(0,1fr)); } .g3 { grid-template-columns: repeat(3, minmax(0,1fr)); } .g4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.card { background: rgba(27,39,66,.88); backdrop-filter: blur(4px); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; min-width: 0; }
.card h3 { display: flex; align-items: center; gap: 8px; }
.card .sub { color: var(--muted); font-size: 12px; margin: -4px 0 10px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin-bottom: 14px; }
.kpi { background: rgba(27,39,66,.88); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; position: relative; overflow: hidden; }
.kpi .t { font-size: 12px; color: var(--text-2); display: flex; justify-content: space-between; gap: 6px; }
.kpi .v { font-size: 22px; font-weight: 700; margin-top: 4px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.kpi .d { font-size: 12px; color: var(--muted); margin-top: 2px; }
.kpi.hl::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--grad); }
.pagehead { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.pagehead p { margin: 2px 0 0; color: var(--muted); }
.note { font-size: 12px; color: var(--muted); border-left: 2px solid var(--border-2); padding: 2px 0 2px 10px; margin: 10px 0; }

/* ---------- tabelas ---------- */
.tablewrap { overflow: auto; border: 1px solid var(--border); border-radius: 10px; }
table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
th, td { padding: 7px 10px; border-bottom: 1px solid var(--border); text-align: left; white-space: nowrap; }
th { position: sticky; top: 0; background: var(--surface-2); font-size: 12px; font-weight: 600; color: var(--text-2); z-index: 1; }
td.num, th.num { text-align: right; }
tr:hover td { background: rgba(255,255,255,.02); }
table.dre td:first-child, table.dre th:first-child { position: sticky; left: 0; background: var(--surface); z-index: 2; min-width: 260px; }
table.dre th:first-child { background: var(--surface-2); z-index: 3; }
table.dre tr.line td:first-child { padding-left: 24px; color: var(--text-2); }
table.dre tr.total td { font-weight: 700; background: var(--surface-2); }
table.dre tr.total td:first-child { background: var(--surface-2); }
table.dre tr.strong td { color: var(--accent); }
table.dre tr.sub td { font-weight: 600; }
tr.clickable { cursor: pointer; }
tr.sel td { background: rgba(57,135,229,.12) !important; }

/* ---------- categorias ---------- */
.catlist .row { display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: center; padding: 10px 6px; border-bottom: 1px solid var(--border); cursor: pointer; }
.catlist .row:hover { background: var(--surface-2); }
.catlist .dot { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; color: #fff; font-weight: 700; }
.catlist .val { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.catlist .val small { display: block; color: var(--muted); font-weight: 400; font-size: 11px; }
.catlist .items { padding: 2px 0 8px 40px; }
.catlist .item { display: flex; justify-content: space-between; gap: 10px; padding: 5px 6px; border-bottom: 1px dashed var(--border); font-size: 13px; color: var(--text-2); }
.catlist .total { display: flex; justify-content: flex-end; gap: 10px; padding: 12px 6px; font-size: 16px; font-weight: 700; }
.bar { height: 6px; border-radius: 4px; background: var(--surface-3); overflow: hidden; }
.bar > i { display: block; height: 100%; background: var(--accent-2); border-radius: 4px; }

/* ---------- gráficos ---------- */
.chart { position: relative; width: 100%; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart .grid line { stroke: var(--border); stroke-width: 1; }
.chart text { fill: var(--muted); font-size: 11px; font-family: var(--font); }
.legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; color: var(--text-2); margin: 0 0 8px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.legend i.line { height: 3px; border-radius: 2px; vertical-align: 3px; }
.tip { position: fixed; z-index: 100; pointer-events: none; background: #0e1628; border: 1px solid var(--border-2); border-radius: 8px; padding: 8px 10px; font-size: 12px; box-shadow: var(--shadow); min-width: 150px; }
.tip b { display: block; margin-bottom: 4px; color: var(--text); }
.tip .r { display: flex; justify-content: space-between; gap: 14px; color: var(--text-2); }
.tip .r span:last-child { color: var(--text); font-variant-numeric: tabular-nums; }

/* ---------- texto rico ---------- */
.md h2 { font-size: 17px; margin-top: 18px; } .md h3 { margin-top: 14px; }
.md p { margin: 6px 0 10px; color: var(--text-2); } .md ul { margin: 6px 0 12px; padding-left: 20px; color: var(--text-2); } .md li { margin: 3px 0; }
.md strong { color: var(--text); }
.tese .sec { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 12px; }
.tese .sec h2 { margin-top: 0; }

/* ---------- apresentação ---------- */
.deck { position: relative; background: radial-gradient(1200px 500px at 90% -10%, rgba(91,60,245,.18), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(25,194,240,.12), transparent 60%), var(--surface); border: 1px solid var(--border); border-radius: 16px; min-height: 560px; padding: 36px 44px 70px; overflow: hidden; }
.deck .slide-title { font-size: 30px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 6px; }
.deck .slide-sub { color: var(--text-2); font-size: 15px; margin-bottom: 22px; }
.deck .nav { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; border-top: 1px solid var(--border); background: rgba(11,18,32,.5); }
.deck .dots { display: flex; gap: 6px; } .deck .dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--surface-3); cursor: pointer; } .deck .dots i.on { background: var(--accent); }
.cover { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; min-height: 440px; gap: 18px; }
.cover .logos { display: flex; align-items: center; gap: 20px; }
.cover .logos img { width: 92px; height: 92px; border-radius: 50%; }
.cover .logos img.lt { border-radius: 20px; }
.cover .x { font-size: 28px; color: var(--muted); }
.cover h1 { font-size: 44px; font-weight: 800; margin: 0; letter-spacing: -.03em; }
.cover .gradtext { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bigstat { font-size: 40px; font-weight: 800; letter-spacing: -.03em; }
.deck.fs { position: fixed; inset: 0; z-index: 200; border-radius: 0; min-height: 100vh; }

/* ---------- Niko ---------- */
.chat { display: flex; flex-direction: column; height: calc(100vh - 150px); min-height: 420px; }
.msgs { flex: 1; overflow: auto; padding: 8px 4px; display: flex; flex-direction: column; gap: 12px; }
.msg { max-width: 820px; padding: 10px 14px; border-radius: 12px; line-height: 1.55; }
.msg.user { align-self: flex-end; background: var(--accent-2); color: #fff; border-bottom-right-radius: 4px; }
.msg.bot { align-self: flex-start; background: var(--surface-2); border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.msg.bot p { margin: 4px 0 8px; color: var(--text); } .msg.bot ul { margin: 4px 0 8px; padding-left: 18px; }
.msg .who { font-size: 11px; color: var(--muted); margin-bottom: 4px; display: flex; align-items: center; gap: 6px; }
.composer { display: flex; gap: 8px; padding-top: 10px; border-top: 1px solid var(--border); }
.composer textarea { min-height: 46px; max-height: 160px; }
.suggest { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.suggest button { border: 1px solid var(--border-2); background: var(--surface); color: var(--text-2); border-radius: 20px; padding: 6px 12px; cursor: pointer; font-size: 12px; }
.suggest button:hover { color: var(--text); border-color: var(--accent-2); }
.niko-avatar { width: 22px; height: 22px; border-radius: 50%; background: var(--grad); display: inline-grid; place-items: center; font-size: 11px; font-weight: 800; color: #fff; }
.typing span { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--muted); margin-right: 3px; animation: blink 1s infinite; }
.typing span:nth-child(2) { animation-delay: .2s; } .typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 100% { opacity: .2; } 50% { opacity: 1; } }

/* ---------- login / modal ---------- */
.center { min-height: 100vh; display: grid; place-items: center; padding: 16px; background: radial-gradient(900px 500px at 80% 0%, rgba(91,60,245,.2), transparent 60%), radial-gradient(900px 500px at 0% 100%, rgba(25,194,240,.14), transparent 60%), var(--bg); }
.loginbox { width: 100%; max-width: 400px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 28px; box-shadow: var(--shadow); }
.loginbox .logos { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.loginbox .logos img { width: 44px; height: 44px; border-radius: 50%; } .loginbox .logos img.lt { border-radius: 10px; }
.field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; }
.field label { font-size: 12px; color: var(--text-2); }
.err { color: var(--bad); font-size: 13px; min-height: 18px; }
.modal-bg { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 300; display: grid; place-items: center; padding: 16px; }
.modal { width: 100%; max-width: 620px; max-height: 90vh; overflow: auto; background: var(--surface); border: 1px solid var(--border-2); border-radius: 14px; padding: 22px; box-shadow: var(--shadow); }
.toast { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); background: #0e1628; border: 1px solid var(--border-2); padding: 10px 16px; border-radius: 10px; z-index: 400; box-shadow: var(--shadow); }

/* ---------- rodapé de confidencialidade ---------- */
.conf-foot { position: fixed; right: 14px; bottom: 10px; z-index: 150; pointer-events: none; font-size: 11px; color: var(--muted); background: rgba(20,30,51,.75); border: 1px solid var(--border); padding: 3px 10px; border-radius: 20px; backdrop-filter: blur(6px); }

/* ---------- admin ---------- */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 14px; flex-wrap: wrap; }
.tabs button { background: none; border: 0; padding: 9px 14px; color: var(--text-2); cursor: pointer; border-bottom: 2px solid transparent; font-weight: 500; }
.tabs button.on { color: var(--text); border-color: var(--accent); }
.maptable td { padding: 5px 6px; } .maptable select, .maptable input { padding: 4px 6px; font-size: 12px; }
.maptable tr.dirty td { background: rgba(224,165,38,.07); }
.maptable tr.auto td:first-child { box-shadow: inset 3px 0 0 var(--warn); }
.formrow { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; }
.formrow .field { margin: 0; }
details summary { cursor: pointer; color: var(--text-2); }
pre.ctx { white-space: pre-wrap; font-size: 12px; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 12px; max-height: 60vh; overflow: auto; }

/* ---------- responsivo ---------- */
@media (max-width: 1100px) { .g4 { grid-template-columns: repeat(2, minmax(0,1fr)); } .g3 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 820px) {
  .shell { grid-template-columns: 1fr; }
  .side { position: static; height: auto; display: flex; overflow-x: auto; gap: 4px; padding: 8px; border-right: 0; border-bottom: 1px solid var(--border); }
  .side a { white-space: nowrap; padding: 7px 10px; } .side .sep { display: none; }
  .main { padding: 14px 16px 60px; }
  .filters { margin: -14px -16px 14px; top: 57px; position: static; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .for span.txt, .usermenu .txt, .brand span { display: none; }
  .topbar { gap: 10px; padding: 10px 14px; } .brand b { white-space: nowrap; font-size: 14px; }
  .deck { padding: 22px 18px 70px; } .cover h1 { font-size: 30px; } .deck .slide-title { font-size: 22px; }
}

/* ---------- impressão ---------- */
@media print {
  body { background: #fff; color: #000; }
  .side, .filters .noprint, .topbar .usermenu, .composer, .deck .nav { display: none !important; }
  .shell { display: block; } .main { padding: 0; }
  .card, .kpi, .tablewrap { border-color: #ccc; background: #fff; }
  .conf-foot { position: fixed; bottom: 4px; right: 8px; color: #555; background: none; border: 0; }
}

/* ---------- carregando ---------- */
.loadbar { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 500; pointer-events: none; opacity: 0; transition: opacity .2s; overflow: hidden; }
.loadbar.on { opacity: 1; }
.loadbar::before { content: ''; position: absolute; top: 0; bottom: 0; left: -40%; width: 40%; background: var(--grad); border-radius: 3px; animation: loadslide 1.1s ease-in-out infinite; }
@keyframes loadslide { 0% { left: -40%; } 100% { left: 100%; } }
.busy { opacity: .55; transition: opacity .15s; pointer-events: none; }
.spin { display: inline-block; width: 12px; height: 12px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; margin-right: 6px; vertical-align: -2px; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn.disabled { opacity: .6; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .loadbar::before, .spin { animation-duration: 3s; } }

.help { display: inline-grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; background: var(--surface-3); color: var(--text-2); font-size: 10px; font-weight: 700; cursor: help; margin-left: 4px; vertical-align: 1px; }
.help:hover { background: var(--accent-2); color: #fff; }
.issue h3 { font-size: 15px; }
table.dre tr.drill td:first-child { cursor: pointer; }
table.dre tr.drill:hover td:first-child { color: var(--accent); text-decoration: underline dotted; }
.filters input.assin { width: 64px; }

/* ---------- checklist ---------- */
.cklist { display: flex; flex-direction: column; gap: 8px; }
.ckgroup { font-size: 15px; margin: 14px 0 2px; color: var(--accent); }
.ckitem { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px; }
.ckitem:hover { border-color: var(--border-2); }
.ckid { font-weight: 800; color: var(--accent); font-size: 15px; }
.ckq { font-weight: 600; margin-bottom: 4px; }
.ckq .chip { margin-left: 6px; vertical-align: 1px; }
.cka { color: var(--text-2); }
.ckgo { text-align: right; white-space: nowrap; }
.ckgo .small { margin-top: 4px; }
/* ---------- pontos fortes ---------- */
.card.forca h3 { font-size: 16px; }
.card.forca.warn { border-color: rgba(224,165,38,.45); }
.card.forca.warn h3 { color: var(--warn); }
/* ---------- galeria Apollo ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.gallery figure { margin: 0; cursor: zoom-in; background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.gallery figure:hover { border-color: var(--accent-2); }
.gallery img { display: block; width: 100%; height: 130px; object-fit: cover; object-position: top; }
.gallery figcaption { padding: 8px 10px; font-size: 12px; color: var(--text-2); }
.ckedit td { vertical-align: top; }
.ckedit textarea { width: 100%; min-height: 64px; }
@media (max-width: 820px) {
  .ckitem { grid-template-columns: 1fr; gap: 6px; }
  .ckgo { text-align: left; }
}

/* ---------- guia (tour) ---------- */
.tour { position: fixed; inset: 0; z-index: 200; }
.tour-shade { position: fixed; inset: 0; background: rgba(6,10,20,.66); }
.tour-hole { position: fixed; border-radius: 10px; box-shadow: 0 0 0 9999px rgba(6,10,20,.66), 0 0 0 2px var(--accent-2), 0 0 24px rgba(57,135,229,.6); transition: all .25s ease; pointer-events: none; }
.tour-card { position: fixed; width: min(440px, calc(100vw - 24px)); max-height: calc(100vh - 24px); overflow: auto; background: var(--surface); border: 1px solid var(--border-2); border-radius: 14px; padding: 18px 20px; box-shadow: var(--shadow); transition: left .25s ease, top .25s ease; }
.tour-card h2 { display: flex; align-items: center; gap: 10px; font-size: 18px; margin: 4px 0 8px; }
.tour-card .md { font-size: 14px; line-height: 1.55; }
.tour-card::before { content: ''; position: absolute; width: 14px; height: 14px; background: var(--surface); border: 1px solid var(--border-2); transform: rotate(45deg); display: none; }
.tour-card.arrow-left::before { display: block; left: -8px; top: calc(var(--ay, 30px) - 7px); border-top: 0; border-right: 0; }
.tour-card.arrow-top::before { display: block; top: -8px; left: calc(var(--ax, 30px) - 7px); border-bottom: 0; border-right: 0; }
.tour-card.arrow-bottom::before { display: block; bottom: -8px; left: calc(var(--ax, 30px) - 7px); border-top: 0; border-left: 0; }
.gstep { font-size: 12px; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.gnav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.gnav .dots { display: flex; gap: 6px; }
.gnav .dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--border-2); cursor: pointer; display: block; }
.gnav .dots i.on { background: var(--accent-2); }
@media print { .tour { display: none; } }

.niko-livre{border:1px solid rgba(245,158,11,.45);border-left:4px solid #f59e0b;background:rgba(245,158,11,.12);color:inherit;font-size:14px;line-height:1.5}
.niko-livre b{color:#fbbf24}
