/* REL · Real Estate Land (by Motometria) · v2 layout com sidebar (0.5: conta, filtros, site map). Cores do tenant via --primary e --accent. */
:root {
  --primary: #203040; --accent: #12b2cb;
  --ink: #18212b; --muted: #6b7682; --line: #e4e8ee; --bg: #f3f5f8; --card: #ffffff;
  --ok: #1d8f5a; --warn: #d9822b; --err: #c62d2d; --side-w: 236px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font: 14.5px/1.5 "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif; color: var(--ink); background: var(--bg); }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-weight: 650; letter-spacing: -0.01em; }

/* ---------- shell ---------- */
.shell { display: flex; min-height: 100vh; }
.side { width: var(--side-w); flex: 0 0 var(--side-w); background: var(--primary); color: #fff; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
.side-brand { padding: 18px 18px 14px; display: flex; flex-direction: column; gap: 12px; }
.logo-chip { background: #fff; border-radius: 8px; padding: 9px 12px; display: flex; align-items: center; justify-content: center; }
.logo-chip img { height: 24px; width: auto; display: block; }
.rel-mark { display: flex; align-items: baseline; gap: 8px; padding: 0 2px; }
.rel-mark b { font-size: 18px; letter-spacing: 2.5px; }
.rel-mark small { font-size: 10px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.side-new { margin: 4px 18px 10px; }
.side-new a { display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--accent); color: #fff; border-radius: 8px; padding: 10px 12px; font-weight: 650; }
.side-new a:hover { text-decoration: none; filter: brightness(1.08); }
.side nav { display: flex; flex-direction: column; gap: 2px; padding: 6px 10px; }
.side nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; color: rgba(255,255,255,.82); font-weight: 500; }
.side nav a svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 18px; }
.side nav a:hover { background: rgba(255,255,255,.08); text-decoration: none; color: #fff; }
.side nav a.on { background: rgba(255,255,255,.14); color: #fff; }
.side-foot { margin-top: auto; padding: 14px 18px 16px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12.5px; color: rgba(255,255,255,.7); display: flex; flex-direction: column; gap: 8px; }
.side-foot .who { color: #fff; font-weight: 600; }
.side-foot a { color: rgba(255,255,255,.75); }
.side-foot .powered { display: flex; align-items: center; gap: 6px; margin-top: 6px; opacity: .85; }
.side-foot .powered img { height: 16px; width: auto; background: #fff; padding: 3px 6px; border-radius: 4px; }
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar { height: 56px; display: flex; align-items: center; justify-content: space-between; padding: 0 28px; background: #fff; border-bottom: 1px solid var(--line); }
.topbar h1 { margin: 0; font-size: 17px; color: var(--primary); }
.topbar .crumbs { font-size: 13px; color: var(--muted); }
.topbar .crumbs a { color: var(--muted); }
.content { padding: 24px 28px 40px; max-width: 1320px; width: 100%; }
@media (max-width: 900px) {
  .shell { flex-direction: column; }
  .side { width: 100%; flex: none; height: auto; position: static; }
  .side nav { flex-direction: row; flex-wrap: wrap; }
  .side-foot { display: none; }
  .content { padding: 16px; }
  .topbar { padding: 0 16px; }
}

/* ---------- blocos ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; margin-bottom: 18px; }
.card h2 { margin: 0 0 12px; font-size: 15px; color: var(--primary); display: flex; align-items: center; gap: 8px; }
.card h2 small { font-weight: 400; font-size: 12.5px; color: var(--muted); }
.card h2 .right { margin-left: auto; font-size: 13px; font-weight: 500; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid-2 > *, .grid-3 > * { min-width: 0; }
.grid-2.wide { grid-template-columns: 1.2fr 1fr; }
.grid-3 { display: grid; grid-template-columns: 2fr 1fr; gap: 18px; }
@media (max-width: 1000px) { .grid-2, .grid-2.wide, .grid-3 { grid-template-columns: 1fr; } }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.mt { margin-top: 18px; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.page-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; align-items: center; }
.page-actions .spacer { flex: 1; }

/* KPIs */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
@media (max-width: 900px) { .kpis { grid-template-columns: repeat(2, 1fr); } }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; position: relative; overflow: hidden; }
.kpi::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--accent); }
.kpi .n { font-size: 30px; font-weight: 700; line-height: 1.1; color: var(--primary); }
.kpi .l { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .6px; }

/* empty state */
.empty { text-align: center; padding: 40px 20px; color: var(--muted); }
.empty .btn { margin-top: 12px; }

/* tabelas */
.scroll { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tbl th, .tbl td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl thead th { font-size: 11.5px; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); background: #fafbfc; white-space: nowrap; }
.tbl tbody tr:hover td { background: #fbfcfd; }
.tbl.compact td, .tbl.compact th { padding: 6px 8px; }
.tbl .num { text-align: right; white-space: nowrap; }
.tbl.facts th { width: 40%; color: var(--muted); font-weight: 500; }
.tbl td.bar { width: 45%; }
.tbl td.bar span { display: block; height: 8px; background: var(--accent); border-radius: 4px; min-width: 2px; }
.tbl .chk-col { width: 28px; }
.tbl .chk-col input { margin: 0; }
.tag { display: inline-block; background: #eef4f7; color: var(--primary); border-radius: 4px; padding: 1px 7px; font-size: 11.5px; margin: 1px 3px 1px 0; white-space: nowrap; }
.tag.warn { background: #fdf1e3; color: #9a5a12; }
.tag.ok { background: #e4f5ec; color: var(--ok); }
.stage { display: inline-block; border-left: 3px solid var(--accent); padding-left: 6px; font-size: 13px; white-space: nowrap; }
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; background: #e9edf1; color: var(--muted); }
.pill.running { background: #fff3e4; color: var(--warn); }
.pill.done { background: #e4f5ec; color: var(--ok); }
.pill.error { background: #fbe4e4; color: var(--err); }
.pill.queued { background: #e8f6f9; color: var(--accent); }

/* formulários e botões */
.form label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.form input, .form select, .form textarea { display: block; width: 100%; margin-top: 5px; padding: 10px 11px; border: 1px solid #cfd6dd; border-radius: 8px; font: inherit; color: var(--ink); background: #fff; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid color-mix(in srgb, var(--accent) 45%, #fff); border-color: var(--accent); }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form input[type=file] { padding: 8px; background: #fafbfc; border-style: dashed; }
.checks { margin: 2px 0 16px; }
.chk { display: flex !important; align-items: center; gap: 8px; margin-bottom: 8px !important; color: var(--ink) !important; font-size: 13.5px; }
.chk input { width: auto; margin: 0; }
.btn { display: inline-flex; align-items: center; gap: 6px; background: var(--primary); color: #fff; border: 1px solid var(--primary); border-radius: 8px; padding: 9px 16px; font: inherit; font-weight: 600; cursor: pointer; line-height: 1.2; }
.btn:hover { text-decoration: none; filter: brightness(1.1); }
.btn.alt { background: var(--accent); border-color: var(--accent); }
.btn.ghost { background: #fff; color: var(--primary); border-color: #cfd6dd; }
.btn.small { padding: 6px 11px; font-size: 13px; font-weight: 500; }
.btn.danger { background: #fff; color: var(--err); border-color: #e7baba; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.filters { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.filters input, .filters select { padding: 8px 10px; border: 1px solid #cfd6dd; border-radius: 8px; font: inherit; }
.alert { background: #fbe4e4; color: var(--err); padding: 10px 12px; border-radius: 8px; margin-bottom: 12px; }
.ok-msg { background: #e4f5ec; color: var(--ok); padding: 8px 12px; border-radius: 8px; margin-bottom: 12px; }
.toolbar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 0 0 12px; padding: 10px 12px; background: #fafbfc; border: 1px solid var(--line); border-radius: 10px; }
.toolbar .spacer { flex: 1; }
.toolbar .chk { margin: 0 !important; font-size: 13px; }
.hint { display: flex; gap: 12px; align-items: flex-start; background: #f7f9fb; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-size: 13.5px; color: #3b4652; }
.hint b { color: var(--primary); }
.steps { padding-left: 18px; font-size: 13.5px; margin: 6px 0 0; }
.steps li { margin-bottom: 4px; }

/* login */
body.login-page { display: flex; align-items: center; justify-content: center; min-height: 100vh; background: linear-gradient(160deg, var(--primary) 0%, color-mix(in srgb, var(--primary) 70%, var(--accent)) 100%); }
.login-card { width: min(420px, 100% - 32px); background: #fff; border-radius: 14px; padding: 32px 34px 28px; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.login-card .logo-chip { border: 1px solid var(--line); margin-bottom: 18px; }
.login-card h1 { margin: 0 0 4px; font-size: 22px; color: var(--primary); }
.login-card .rel-mark b { color: var(--primary); }
.login-foot { text-align: center; font-size: 12px; color: var(--muted); margin-top: 14px; }
.login-foot img { height: 14px; vertical-align: middle; margin-left: 4px; }
.pw { position: relative; display: block; }
.pw input { padding-right: 150px; }
.pw-toggle { position: absolute; right: 6px; top: 11px; background: none; border: 1px solid #cfd6dd; border-radius: 6px; padding: 3px 8px; font: inherit; font-size: 12px; color: var(--primary); cursor: pointer; }

/* progresso e log */
.status-row { display: flex; align-items: center; gap: 14px; }
.progress { flex: 1; height: 10px; background: #e9edf1; border-radius: 5px; overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--accent); transition: width .4s; }
pre#log { background: #0f1b2a; color: #d7e3ee; font-size: 12px; padding: 12px; border-radius: 8px; max-height: 220px; overflow: auto; white-space: pre-wrap; }
details summary { cursor: pointer; color: var(--muted); font-size: 13px; margin: 8px 0; }

/* plantas */
.plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.plans figure { margin: 0; }
.plans img { width: 100%; border: 1px solid var(--line); border-radius: 8px; display: block; }
.plans figcaption { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* sinais-chave na ficha */
.signals { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.signal { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; min-width: 120px; }
.signal .k { font-size: 11px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); }
.signal .v { font-weight: 650; color: var(--primary); font-size: 14px; }
.signal.yes .v { color: var(--warn); }
.signal.no .v { color: var(--ok); }

/* ---------- 0.5: conta, utilizadores, filtros, ordenação, site map, acções por linha ---------- */
.side-foot .who { display: flex; flex-direction: column; gap: 1px; color: #fff; font-weight: 600; line-height: 1.25; }
.side-foot .who small { font-weight: 400; font-size: 11px; color: rgba(255,255,255,.65); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-foot .who:hover { text-decoration: none; color: #fff; }
.side-foot .foot-links { display: flex; gap: 14px; }
.row-actions { white-space: nowrap; text-align: right; }
.row-actions a, .row-actions button.link { display: inline-block; font-size: 11.5px; font-weight: 600; color: var(--primary); background: #eef4f7; border: 0; border-radius: 5px; padding: 2px 6px; margin-left: 3px; cursor: pointer; font-family: inherit; line-height: 1.5; }
.tbl th.row-actions-h { width: 1%; }
.row-actions a:hover, .row-actions button.link:hover { background: #e1ecf2; text-decoration: none; }
.row-actions button.link.danger { color: var(--err); background: #fbe9e9; }
.row-actions form { display: inline; }
.tbl thead th.sort a { color: inherit; display: inline-flex; align-items: center; gap: 4px; }
.tbl thead th.sort a::after { content: "↕"; opacity: .35; font-size: 10px; }
.tbl thead th.sort.asc a::after { content: "↑"; opacity: 1; color: var(--accent); }
.tbl thead th.sort.desc a::after { content: "↓"; opacity: 1; color: var(--accent); }
table.sortable thead th[data-sort] { cursor: pointer; user-select: none; }
table.sortable thead th[data-sort]::after { content: " ↕"; opacity: .35; font-size: 10px; }
table.sortable thead th[data-sort].asc::after { content: " ↑"; opacity: 1; color: var(--accent); }
table.sortable thead th[data-sort].desc::after { content: " ↓"; opacity: 1; color: var(--accent); }
.filters-bar { display: grid; grid-template-columns: minmax(160px, 1.6fr) repeat(6, minmax(0, 1fr)) auto; gap: 10px; align-items: end; padding: 14px 16px; }
.filters-bar label { font-size: 12px; color: var(--muted); display: flex; flex-direction: column; gap: 4px; }
.filters-bar input, .filters-bar select { padding: 8px 10px; border: 1px solid #cfd6dd; border-radius: 8px; font: inherit; color: var(--ink); background: #fff; min-width: 0; }
.filters-bar .filters-actions { display: flex; gap: 6px; }
@media (max-width: 1100px) { .filters-bar { grid-template-columns: repeat(3, 1fr); } .filters-bar label:first-child { grid-column: 1 / -1; } }
.sel-hint { margin: 0 0 8px; }
@media (max-width: 700px) { .toolbar .out-lbl { display: flex; align-items: center; width: 100%; } .toolbar .out-lbl .sel { flex: 1; min-width: 0; max-width: 100%; } .toolbar .btn { width: 100%; } .toolbar .spacer { display: none; } }
.toolbar .sel { max-width: 100%; margin-left: 6px; padding: 7px 10px; border: 1px solid #cfd6dd; border-radius: 8px; font: inherit; background: #fff; }
.site-map { display: block; }
.site-map img { width: 100%; max-width: 560px; aspect-ratio: 1 / 1; object-fit: cover; border: 1px solid var(--line); border-radius: 10px; display: block; background: #eef1f4; }
.facts-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
@media (max-width: 1000px) { .facts-cols { grid-template-columns: 1fr; } }
.tbl.users input, .tbl.users select { width: 100%; min-width: 120px; padding: 6px 8px; border: 1px solid #cfd6dd; border-radius: 6px; font: inherit; font-size: 13px; }
.tbl.users td.center { text-align: center; }
.tbl.users tr.inactive td { opacity: .55; }
.tbl.users td { vertical-align: middle; }

/* ---------- 0.6: enquiry à junta ---------- */
.enq-grid { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(0, 1.6fr); gap: 20px; }
@media (max-width: 1000px) { .enq-grid { grid-template-columns: 1fr; } }
.enq-c { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin-bottom: 12px; }
.enq-c .k { font-size: 11px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); }
.enq-c .n { font-weight: 650; color: var(--primary); margin: 2px 0 6px; }
.enq .row { display: flex; align-items: center; gap: 8px; margin: 4px 0; min-width: 0; }
.enq .row.top { align-items: flex-start; }
.enq .row code { font: 13px/1.4 ui-monospace, Consolas, monospace; background: #f3f5f8; padding: 3px 8px; border-radius: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.enq .row input, .enq .row textarea { flex: 1; min-width: 0; padding: 8px 10px; border: 1px solid #cfd6dd; border-radius: 8px; font: inherit; color: var(--ink); background: #fff; }
.enq .row textarea { font-size: 13px; line-height: 1.45; resize: vertical; }
.enq-mail label { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 12px; }
.enq .copy { flex: 0 0 auto; font: inherit; font-size: 12px; font-weight: 600; color: var(--primary); background: #eef4f7; border: 0; border-radius: 6px; padding: 4px 10px; cursor: pointer; }
.enq .copy:hover { background: #e1ecf2; }
.enq .copy.ok { background: #e4f5ec; color: var(--ok); }

/* ---------- 0.7: powered by Motometria com ligação ---------- */
.side-foot a.powered { display: flex; align-items: center; gap: 6px; margin-top: 6px; opacity: .85; color: rgba(255,255,255,.75); flex-wrap: wrap; }
.side-foot a.powered:hover { opacity: 1; text-decoration: none; }
.side-foot a.powered small { font-size: 11px; width: 100%; color: rgba(255,255,255,.6); }
.login-foot a { color: var(--muted); }

/* marca Motometria no rodapé de todas as páginas (26-10-2026) */
.page-foot { margin-top: auto; padding: 14px 28px; border-top: 1px solid var(--line); background: #fff; font-size: 12px; }
.page-foot a { display: flex; align-items: center; gap: 12px; color: var(--muted); flex-wrap: wrap; }
.page-foot a:hover { color: var(--primary); text-decoration: none; }
.page-foot img { height: 26px; width: auto; }
.login-foot a { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.login-foot img { height: 26px; margin: 0; }
.login-foot small { font-size: 11px; }
@media (max-width: 900px) { .page-foot { padding: 12px 16px; } }

/* versão e What's new (26-10-2026) */
.ver-btn { position: relative; background: none; border: 0; padding: 0 0 0 10px; color: inherit; font: inherit; font-size: 11px; opacity: .8; cursor: pointer; }
.ver-btn:hover { opacity: 1; text-decoration: underline; }
.ver-dot { position: absolute; top: -2px; right: -8px; width: 8px; height: 8px; border-radius: 50%; background: #e53935; box-shadow: 0 0 0 2px rgba(229,57,53,.25); }
.page-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.page-foot .spacer { flex: 1; }
.page-foot .ver-btn { color: var(--muted); font-size: 12px; }
.wn-pop { position: fixed; inset: 0; background: rgba(15,36,64,.35); z-index: 1000; display: flex; align-items: flex-end; justify-content: flex-start; padding: 24px; }
.wn-pop[hidden] { display: none; }
.wn-card { background: #fff; border-radius: 12px; max-width: 520px; width: 100%; max-height: 80vh; overflow: auto; padding: 18px 20px; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.wn-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.wn-head b { color: var(--primary); font-size: 15px; }
.wn-x { margin-left: auto; background: none; border: 0; font-size: 22px; line-height: 1; cursor: pointer; color: var(--muted); }
.wn-list { margin: 0 0 10px 18px; padding: 0; font-size: 13px; line-height: 1.45; }
.wn-list li { margin-bottom: 4px; }

.prof { display: inline-block; min-width: 20px; text-align: center; font-weight: 700; font-size: 11.5px; border-radius: 4px; padding: 1px 5px; color: #fff; }
.prof-A { background: #1e7d4f; } .prof-B { background: #43a26b; } .prof-C { background: #2f7fb5; } .prof-D { background: #d98e2b; } .prof-E { background: #b3261e; }

/* entrada de terrenos (1.3) */
.addwrap { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
.addmain { min-width: 0; }
.addbar { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.addmap { height: 62vh; min-height: 380px; border-radius: 12px; border: 1px solid var(--line); background: #e8ecef; }
.addstatus { margin: 10px 2px 0; line-height: 1.45; }
.addstatus.warn { color: #b45309; }
.addpaste { margin-top: 12px; }
.paste-list { margin-top: 8px; display: flex; flex-direction: column; gap: 6px; }
.paste-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; }
.paste-row.bad { color: var(--muted); }
.addside { position: sticky; top: 14px; }
.addsum { display: flex; flex-direction: column; gap: 6px; margin: 4px 0 14px; font-size: 13px; }
.addsum > div { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dashed var(--line); padding-bottom: 5px; }
.addsum .k { color: var(--muted); }
.addsum .v { text-align: right; }
.leaflet-container { font: inherit; }
@media (max-width: 1000px) { .addwrap { grid-template-columns: 1fr; } .addmap { height: 52vh; min-height: 320px; } .addside { position: static; } }
.addpaste textarea { display: block; width: 100%; box-sizing: border-box; padding: 10px 11px; border: 1px solid #cfd6dd; border-radius: 8px; font: inherit; font-size: 13px; resize: vertical; }
.addpaste textarea:focus { outline: 2px solid color-mix(in srgb, var(--accent) 45%, #fff); border-color: var(--accent); }

/* v1.5 · idiomas e glossário */
.lang-sw { display: inline-flex; gap: 2px; align-items: center; }
.lang-sw a { font-size: 11px; font-weight: 600; letter-spacing: .3px; padding: 1px 5px; border-radius: 4px; opacity: .7; }
.lang-sw a.on { opacity: 1; background: rgba(255,255,255,.18); color: #fff; }
.lang-sw a:hover { opacity: 1; text-decoration: none; }
.page-foot .lang-sw a { color: var(--muted); }
.page-foot .lang-sw a.on { background: rgba(0,0,0,.06); color: var(--primary); }
.page-foot .gl-btn { color: var(--muted); font-size: 12px; }
abbr.sig { text-decoration: underline dotted; text-underline-offset: 2px; cursor: help; white-space: nowrap; }
abbr.sig::after { content: "i"; display: inline-block; width: 11px; height: 11px; line-height: 11px; margin-left: 2px; border-radius: 50%; border: 1px solid currentColor; font-size: 8px; font-weight: 700; font-style: italic; font-family: Georgia, serif; text-align: center; vertical-align: super; opacity: .7; }
abbr.sig:hover::after, abbr.sig:focus::after { opacity: 1; }
.gl-tip { position: fixed; z-index: 1100; max-width: 340px; background: #1b2a3a; color: #fff; padding: 9px 12px; border-radius: 8px; font-size: 12.5px; line-height: 1.4; box-shadow: 0 10px 30px rgba(0,0,0,.25); pointer-events: none; }
.gl-tip[hidden] { display: none; }
.gl-card { max-width: 640px; }
.gl-list { margin: 0; padding: 0; font-size: 13px; line-height: 1.4; display: grid; grid-template-columns: max-content 1fr; column-gap: 14px; row-gap: 5px; }
.gl-list dt { font-weight: 700; color: var(--primary); }
.gl-list dd { margin: 0; color: var(--ink, #1b2a3a); }

/* v1.5 · barra lateral: Desenvolvido por + logótipo maior + MOTOMETRIA */
.side-foot a.powered { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; margin-top: 10px; opacity: .92; color: rgba(255,255,255,.75); flex-wrap: nowrap; }
.side-foot a.powered small { font-size: 11px; width: auto; color: rgba(255,255,255,.6); }
.side-foot a.powered img { height: 48px; width: auto; max-width: 100%; background: #fff; padding: 5px 12px; border-radius: 8px; box-sizing: border-box; }
.side-foot a.powered b { font-size: 12.5px; font-weight: 700; letter-spacing: 1.6px; color: #fff; }
.side-foot a.powered:hover { opacity: 1; text-decoration: none; }
.side-foot a.powered:hover b { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 700px) { .stage-bar .out-lbl { flex-wrap: wrap; } .stage-bar .out-lbl .sel { flex: 1 1 100%; margin: 6px 0 0; } }

.pr-grid { columns: 2 280px; column-gap: 24px; margin: 0 0 10px; }
.pr-grid .pr-classe { font-weight: 600; color: var(--ink, #1d2733); margin: 8px 0 4px; break-after: avoid; }
.pr-grid .chk { display: block; margin: 3px 0 !important; break-inside: avoid; }
pre.log { white-space: pre-wrap; font-size: 12px; background: #fafbfc; border: 1px solid var(--line); border-radius: 8px; padding: 10px; max-height: 320px; overflow: auto; }
