/* ════════════════════════════════════════════════════════════════════════════
   Onflow no padrão dos apps do Zheus AI — a casca e as peças do app.
     .zh-app / .zh-rail*      a cápsula de navegação (o menu lateral em lista saiu)
     .zh-head*                caminho "Onflow / Área / Aba", abas da área em pílula, ação em metal
     .of-* / .cs-*            os componentes do Onflow redesenhados no material da casa
     .ent*                    a entrada com o prisma WebGPU
     .zh-home*                o Início
   Base em zheus/kit.css (estruturas do MiraAds/Zheus AI) e zheus/zheus.css (tokens e material).
   ════════════════════════════════════════════════════════════════════════════ */

/* ── A casca ─────────────────────────────────────────────────────────────── */
html[data-theme="dark"] .cs-app.zh-app { background: transparent; }
.cs-app.zh-app { position: relative; z-index: 1; display: block; height: 100vh; padding: 0 0 0 104px; gap: 0; }
.zh-app .cs-content { position: relative; z-index: 1; height: 100vh; overflow: hidden auto; scrollbar-width: thin; padding: 0 28px 0 4px; display: flex; flex-direction: column; }
.zh-app .cs-content::-webkit-scrollbar { display: block; }
.zh-app .cs-pagina { padding: 6px 0 48px; width: min(1320px, 100%); margin: 0 auto; }

/* cápsula */
.zh-rail-wrap { z-index: 1000; }
.zh-rail-brand { border: 0; background: transparent; cursor: pointer; }
.zh-rail-brand img { width: 34px; height: 34px; filter: grayscale(1) brightness(1.7) contrast(1.05); }
.zh-rail-link { border: 0; background: transparent; cursor: pointer; padding: 0; }
.zh-rail-link[aria-current="page"] .z-ico { stroke-width: 1.7; }
.zh-rail-mini { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid #ffffff14; background: #0b0c0e8c; color: #8b9399; cursor: pointer; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: color .3s var(--ease-ui), border-color .3s var(--ease-ui); }
.zh-rail-mini:hover { color: #eeeef0; border-color: #ffffff30; }
.zh-rail-mini > em { position: absolute; top: -2px; right: -2px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 9px; background: #f2f4f6; color: #0b0c0e; font-style: normal; font-size: 9.5px; font-weight: 600; display: grid; place-items: center; box-shadow: 0 0 0 2px #000; }
.zh-rail-mini > em.novo { min-width: 7px; width: 7px; height: 7px; padding: 0; top: 4px; right: 4px; background: #c0d3de; }
.zh-rail-account { border: 0; background: transparent; cursor: pointer; padding: 0; }
.zh-rail-account .cs-ini { width: 38px; height: 38px; font-size: 12px; box-shadow: 0 0 0 2px #000, 0 0 0 3px #ffffff24; }
.zh-rail-account .zh-on { position: absolute; right: 9px; bottom: 9px; width: 9px; height: 9px; border-radius: 50%; background: #a9d6bd; border: 2px solid #000; }
.cs-ini { display: inline-grid; place-items: center; border-radius: 50%; background: linear-gradient(180deg, #2a2e32, #131619); color: #e2e5e8; font-weight: 500; letter-spacing: .02em; overflow: hidden; }
.cs-ini.foto { background: none; }
.cs-ini img { width: 100%; height: 100%; object-fit: cover; }
.zh-conta-menu { min-width: 250px; }
.zh-conta-cab { display: flex; align-items: center; gap: 11px; padding: 12px 12px 10px; }
.zh-conta-cab .cs-ini { width: 34px; height: 34px; font-size: 11px; flex: none; }
.zh-conta-cab b { display: block; font-size: 13.5px; font-weight: 500; color: #eeeef0; }
.zh-conta-cab small { display: block; font-size: 11.5px; color: #7d858c; }
.zh-conta-menu .q-item .z-ico { color: #8b9399; }
.zh-conta-menu .q-item__section--avatar { min-width: 34px; }

/* cabeçalho da página */
.zh-app .zh-head { position: relative; z-index: 50; padding: 18px 0 14px; width: min(1320px, 100%); margin: 0 auto; background: none; }
.zh-crumb a, .zh-crumb button { color: inherit; text-decoration: none; transition: color .2s; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.zh-crumb a:hover, .zh-crumb button:hover { color: #eeeef0; }
.zh-burger { display: none; }
.zh-hello { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid #ffffff14; background: #ffffff04; color: #a9b1b8; font-size: 12px; white-space: nowrap; }
.zh-hello i { width: 6px; height: 6px; border-radius: 50%; border: 1px solid #c0d3de; }
.zh-tabs > button { font: inherit; cursor: pointer; }

/* celular: a cápsula vira barra embaixo */
@media (max-width: 760px) {
  .cs-app.zh-app { padding: 0 0 86px; height: auto; min-height: 100vh; }
  .zh-app .cs-content { height: auto; overflow: visible; padding: 0 14px; }
  .zh-rail-wrap { top: auto; right: 0; width: auto; height: 76px; flex-direction: row; justify-content: center; }
  .zh-rail-brand, .zh-rail-foot .zh-rail-mini { display: none; }
  .zh-rail { flex-direction: row; width: auto; max-width: calc(100vw - 92px); margin: 0 0 12px; overflow-x: auto; padding: 7px; border-radius: 34px; scrollbar-width: none; }
  .zh-rail-link { flex: none; width: 40px; height: 40px; }
  .zh-rail-foot { flex-direction: row; padding: 0 0 12px 8px; }
  .zh-app .zh-head { padding: 12px 0 10px; }
  .zh-hello { display: none; }
}

/* ── Títulos e topo das telas ────────────────────────────────────────────── */
.of-topo { gap: 14px; margin-bottom: 22px; min-height: 40px; align-items: flex-end; }
.of-topo .tit h2, .cs-h2 { font-size: 28px !important; font-weight: 400 !important; letter-spacing: -.04em !important; line-height: 1.12; color: #eeeef0 !important; }
.of-topo .tit p, .cs-sub-h { color: var(--x8-muted) !important; font-size: 13.5px !important; }
.cs-h2 { padding-bottom: 20px !important; }
.of-sec, .dsh-bloco-cab p + p { font-family: var(--x8-label-font); font-weight: 400 !important; font-size: 10px !important; letter-spacing: .16em !important; color: var(--x8-dim) !important; }
.of-dica .q-icon { color: #646b71; }
.of-dica:hover .q-icon { color: #c0d3de; }

/* ── Botões do Onflow ────────────────────────────────────────────────────── */
/* principal: placa de metal (o motor acende o metal líquido no hover) */
html[data-theme="dark"] .cs-btn:not(.sec) { height: 38px; padding: 0 18px; border-radius: 999px; background: var(--x8-plate); border: 1px solid #ffffff30; color: #eeeef0; font-weight: 500; font-size: 13px; box-shadow: 0 5px 14px #0005, inset 0 1px 0 #ffffff10; display: inline-flex; align-items: center; gap: 6px; transition: border-color .3s var(--ease-ui), background-color .3s var(--ease-ui); }
html[data-theme="dark"] .cs-btn:not(.sec):hover { background: #14171a; border-color: #ffffff55; }
/* secundário: fosco */
html[data-theme="dark"] .cs-btn.sec { height: 38px; padding: 0 16px; border-radius: 999px; background: #ffffff03; border: 1px solid #ffffff1c; color: #bfc7ce; display: inline-flex; align-items: center; gap: 6px; }
html[data-theme="dark"] .cs-btn.sec:hover { background: #ffffff08; border-color: #ffffff3a; color: #eeeef0; }

/* ── Painéis, cartões e números ──────────────────────────────────────────── */
html[data-theme="dark"] .cs-card, html[data-theme="dark"] .of-card, html[data-theme="dark"] .zh-panel { border-radius: 20px; border: 1px solid #ffffff14; background: linear-gradient(160deg, #ffffff0b, #ffffff03 58%, #ffffff06); box-shadow: inset 0 1px 0 #ffffff0d; }
html[data-theme="dark"] .of-card.clicavel:hover, html[data-theme="dark"] .cs-card.clicavel:hover { border-color: #d9e4ed40; background: linear-gradient(160deg, #ffffff10, #ffffff04 58%, #ffffff08); }
.cs-card h3, .zh-panel h3 { font-size: 15px !important; font-weight: 500 !important; letter-spacing: -.025em; }
html[data-theme="dark"] .of-card-novo { border-radius: 20px; border: 1px dashed #ffffff26; color: #92979c; background: transparent; }
html[data-theme="dark"] .of-card-novo:hover { border-color: #ffffff55; color: #eeeef0; background: #ffffff05; }

/* KPIs: cada número no seu cartão (zh-metric), rótulo em voz de terminal, número grande e fino */
html[data-theme="dark"] .of-kpis { gap: var(--x8-card-gap); background: none; border: 0; border-radius: 0; overflow: visible; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
html[data-theme="dark"] .of-kpi { padding: 16px 18px 15px; border-radius: 18px; border: 1px solid #ffffff14; background: linear-gradient(160deg, #ffffff0b, #ffffff03 58%, #ffffff06); box-shadow: inset 0 1px 0 #ffffff0d; grid-template-columns: 22px minmax(0, 1fr); animation: zh-rise 1s var(--ease-expo) both; }
html[data-theme="dark"] .of-kpi:nth-child(2) { animation-delay: .06s } html[data-theme="dark"] .of-kpi:nth-child(3) { animation-delay: .12s } html[data-theme="dark"] .of-kpi:nth-child(4) { animation-delay: .18s }
html[data-theme="dark"] .of-kpi:nth-child(5) { animation-delay: .24s } html[data-theme="dark"] .of-kpi:nth-child(6) { animation-delay: .3s } html[data-theme="dark"] .of-kpi:nth-child(7) { animation-delay: .36s } html[data-theme="dark"] .of-kpi:nth-child(8) { animation-delay: .42s }
html[data-theme="dark"] .of-kpi-ico { width: 22px; height: 22px; border-radius: 7px; background: #ffffff08 !important; border: 1px solid #ffffff14; color: #92979c !important; }
html[data-theme="dark"] .of-kpi-txt small { font-family: var(--x8-label-font); font-weight: 400; font-size: 9.5px; letter-spacing: .15em; color: var(--x8-dim); }
html[data-theme="dark"] .of-kpi-txt b { margin-top: 14px; font-size: 38px; font-weight: 400; letter-spacing: -.06em; line-height: 1; color: #eeeef0; }
html[data-theme="dark"] .of-kpi-txt span { margin-top: 9px; font-size: 12px; color: var(--x8-muted); }

/* chips → pílulas de estado (cor dessaturada, sempre com texto) */
html[data-theme="dark"] .of-chip { height: 22px; line-height: 20px; border-radius: 999px; padding: 0 9px; font-size: 11px; font-weight: 400; background: #ffffff06; border: 1px solid #ffffff1c; color: #c9d0d5; }
html[data-theme="dark"] .of-chip.ok { background: #a9d6bd0d; color: #a9d6bd; border-color: #a9d6bd3d; }
html[data-theme="dark"] .of-chip.erro { background: #e9b1a80d; color: #e9b1a8; border-color: #e9b1a83d; }
html[data-theme="dark"] .of-chip.aviso { background: #e6cb940d; color: #e6cb94; border-color: #e6cb943d; }
html[data-theme="dark"] .of-chip.info { background: #a9c8e60d; color: #a9c8e6; border-color: #a9c8e63d; }
html[data-theme="dark"] .of-chip.roxo { background: #ffffff0a; color: #eeeef0; border-color: #ffffff30; }
html[data-theme="dark"] .of-bolinha.on { background: #a9d6bd; box-shadow: 0 0 0 3px #a9d6bd24; }
html[data-theme="dark"] .of-bolinha.aviso { background: #e6cb94; } html[data-theme="dark"] .of-bolinha.erro { background: #e9b1a8; }

/* filtros, pastas e segmentados: pílulas (x8-st-tabs) */
html[data-theme="dark"] .of-pastas { gap: 6px; }
html[data-theme="dark"] .of-pasta, html[data-theme="dark"] .of-seg button { height: 34px; padding: 0 14px; border-radius: 30px; border: 1px solid transparent; color: #92979c; font-weight: 400; font-size: 13px; letter-spacing: 0; }
html[data-theme="dark"] .of-pasta:hover, html[data-theme="dark"] .of-seg button:hover { color: #e6ebef; }
html[data-theme="dark"] .of-pasta.on, html[data-theme="dark"] .of-seg button.on { border-color: #ffffff21; background: #ffffff0b; color: #fff; }
html[data-theme="dark"] .of-seg { gap: 4px; }

/* tabelas */
html[data-theme="dark"] .of-tabela th { font-family: var(--x8-label-font); font-weight: 400; font-size: 9.5px; letter-spacing: .15em; color: var(--x8-dim); background: transparent; border-bottom-color: #ffffff10; }
html[data-theme="dark"] .of-tabela td { border-bottom-color: #ffffff0b; color: #bfc7ce; }
html[data-theme="dark"] .of-tabela tr:hover td { background: #ffffff05; }
html[data-theme="dark"] .of-copiar { border-radius: 12px; background: #ffffff05; border-color: #ffffff1c; font-family: var(--x8-label-font); letter-spacing: .04em; }
html[data-theme="dark"] .of-painel { border-radius: 16px; background: #ffffff07; border: 1px solid #ffffff1c; color: #dfe5ea; }

/* ── Estado vazio = palco ────────────────────────────────────────────────── */
html[data-theme="dark"] .of-vazio.zh-vazio { padding: clamp(12px, 4vh, 42px) 0; background: none; border: 0; border-radius: 0; display: grid; place-items: center; text-align: center; color: inherit; }
.zh-vazio .zh-stage-card { margin: 0 auto; }
.zh-vazio .zh-stage-card h2 { font-size: clamp(22px, 2.2vw, 28px); }
.zh-vazio .of-vazio-acoes { display: grid; grid-template-columns: minmax(0, 1fr); justify-content: stretch; gap: 8px; width: 100%; }
.zh-vazio .of-vazio-acoes:empty { display: none; }
/* a primeira ação vira a ação larga branca do cartão (x8-st-upload); as outras, foscas */
html[data-theme="dark"] .zh-vazio .of-vazio-acoes > :is(.cs-btn, .q-btn):first-child { width: 100% !important; height: 46px; border-radius: 13px !important; border: 0 !important; background: linear-gradient(180deg, #ffffff, #dfe5ea) !important; color: #14181c !important; font-size: 14px; font-weight: 500; box-shadow: 0 10px 28px -14px #000, inset 0 1px 0 #fff !important; justify-content: center; }
html[data-theme="dark"] .zh-vazio .of-vazio-acoes > .q-btn:first-child .q-btn__content, html[data-theme="dark"] .zh-vazio .of-vazio-acoes > :first-child .q-icon { color: #14181c !important; }
html[data-theme="dark"] .zh-vazio .of-vazio-acoes > :is(.cs-btn, .q-btn):not(:first-child) { width: 100% !important; height: 42px; justify-content: center; border-radius: 13px !important; }
.cs-card .zh-vazio .zh-stage-card, .q-card .zh-vazio .zh-stage-card, .of-card .zh-vazio .zh-stage-card { border: 0; background: none; box-shadow: none; padding: 0; }
.zh-arte { position: absolute; inset: 0; --px: 0; --py: 0; }
.zh-arte .zh-draw { transform: translate3d(calc(var(--px) * -8px), calc(var(--py) * -6px), 0); transition: transform .05s linear; }
.zh-media-glow { transform: translate3d(calc(var(--px) * 10px), calc(var(--py) * 8px), 0); }
.zh-draw .zh-bolha, .zh-draw .zh-grade > g, .zh-draw .zh-grade-it, .zh-draw .zh-leque > g { animation: zh-rise 1s var(--ease-expo) both; animation-delay: calc(var(--i, 0) * 110ms + 300ms); }
.zh-draw .zh-grade > g { animation-delay: calc(var(--i, 0) * 40ms + 300ms); }
.zh-draw .zh-onda { transform-box: fill-box; transform-origin: center; animation: zh-onda 3.2s var(--ease-gelo) infinite; }
@keyframes zh-onda { from { transform: scale(1); opacity: .8; } to { transform: scale(3.4); opacity: 0; } }
.zh-draw .zh-scan { animation: zh-scan 2.8s var(--ease-gelo) infinite; }
@keyframes zh-scan { 0%, 100% { transform: translateY(0); opacity: .2; } 50% { transform: translateY(60px); opacity: 1; } }
.zh-draw .zh-barra { transform-box: fill-box; transform-origin: bottom; animation: zh-barra 1.4s var(--ease-casa) both; animation-delay: calc(var(--i, 0) * 80ms + 200ms); }
@keyframes zh-barra { from { transform: scaleY(0); } }
.zh-draw .zh-lupa { offset-path: path('M100 90 C180 40 300 80 300 140 C300 200 160 220 100 180 Z'); offset-rotate: 0deg; animation: zh-lupa 9s linear infinite; }
@keyframes zh-lupa { to { offset-distance: 100%; } }
@media (prefers-reduced-motion: reduce) {
  .zh-draw .zh-bolha, .zh-draw .zh-grade > g, .zh-draw .zh-grade-it, .zh-draw .zh-leque > g, .zh-draw .zh-onda, .zh-draw .zh-scan, .zh-draw .zh-barra, .zh-draw .zh-lupa { animation: none !important; }
}

/* ── Entrada (login): o prisma do Zheus AI ───────────────────────────────── */
.ent.zh-ent { position: relative; min-height: 100vh; display: grid; grid-template-columns: 1fr; place-items: center; background: #000 !important; overflow: hidden; }
.zh-ent .ent-prisma { position: absolute; inset: 0; z-index: 0; }
.zh-ent .ent-prisma canvas { display: block; width: 100%; height: 100%; touch-action: none; }
.zh-ent .ent-triangulo { position: absolute; left: 50%; top: 9vh; width: min(300px, 46vw); height: min(260px, 40vw); transform: translateX(-50%); pointer-events: none; }
.zh-ent .ent-topo { position: absolute; z-index: 2; top: 18px; left: 22px; right: 22px; display: flex; align-items: center; justify-content: space-between; }
.zh-ent .ent-topo img { height: 24px; width: auto; filter: grayscale(1) brightness(1.7); }
.zh-ent .ent-form { position: relative; z-index: 2; width: 100%; padding: calc(9vh + min(260px, 40vw) + 18px) 20px 40px; display: flex; justify-content: center; }
.zh-ent .ent-box { width: 100%; max-width: 340px; text-align: center; }
.zh-ent .ent-tit { margin: 0 0 8px; font-size: 22px; font-weight: 400; letter-spacing: -.035em; color: #eeeef0; }
.zh-ent .ent-p { margin: 0 0 22px; font-size: 13px; color: #92979c; }
.zh-ent .ent-campos { gap: 10px; }
html[data-theme="dark"] .zh-ent .ent-campos .q-field--outlined .q-field__control { height: 44px; min-height: 44px; border-radius: 999px; background: var(--x8-plate); padding: 0 16px; }
html[data-theme="dark"] .zh-ent .ent-campos .q-field--outlined .q-field__control:before { border-color: #ffffff1c; }
html[data-theme="dark"] .zh-ent .ent-campos .q-field--outlined.q-field--highlighted .q-field__control:after { border-color: #d7e2ec66; }
.zh-ent .ent-campos .q-field__native { font-size: 14px; text-align: left; }
.zh-ent .ent-campos .q-field__label { font-size: 13px; }
.zh-ent .ent-campos .q-field--float .q-field__label { display: none; }
.zh-ent .ent-campos .q-field__prepend .q-icon, .zh-ent .ent-campos .q-field__append .q-icon { font-size: 17px; color: #646b71; }
.zh-ent .ent-campos .q-field__control-container { padding-top: 0 !important; }
.zh-ent .ent-campos .q-field--labeled .q-field__native { padding-top: 0; padding-bottom: 0; }
html[data-theme="dark"] .zh-ent .ent-btn { height: 44px; min-height: 44px; border-radius: 999px !important; background: var(--x8-plate) !important; color: #eeeef0 !important; border: 1px solid #ffffff30; font-weight: 500; font-size: 13.5px; letter-spacing: -.01em; margin-top: 4px; }
html[data-theme="dark"] .zh-ent .ent-btn .q-btn__content { color: #eeeef0 !important; }
.zh-ent .ent-rodape { font-size: 12.5px; color: #7d858c; margin-top: 18px; }
.zh-ent .ent-link { color: #dfe5ea; font-weight: 400; }
.zh-ent .ent-link:hover { color: #fff; }
.zh-ent .ent-copy { position: absolute; z-index: 2; bottom: 16px; left: 0; right: 0; text-align: center; font-family: var(--x8-label-font); font-size: 9.5px; letter-spacing: .2em; color: #4b5257; }
.zh-ent .of-tema-btn { color: #7d858c; background: none; border: 0; cursor: pointer; }
html[data-theme="light"] .zh-ent .ent-tit, html[data-theme="light"] .zh-ent .ent-link { color: #eeeef0; }

/* ── Início ──────────────────────────────────────────────────────────────── */
.zh-home { position: relative; }
.zh-home .zh-ghost { position: fixed; inset: 0 0 0 104px; z-index: -1; }
.zh-home .zh-ghost span { -webkit-text-stroke: 1px #ffffff0d; animation: zh-ghost 2.4s var(--ease-casa) both; }
.zh-home-hero { position: relative; display: grid; justify-items: center; text-align: center; padding: clamp(18px, 6vh, 64px) 0 clamp(18px, 4vh, 40px); }
.zh-home-hero h1 { margin: 18px 0 14px; font-size: clamp(40px, 5.6vw, 76px); font-weight: 500; letter-spacing: -.055em; line-height: .96; color: #f2f4f6; }
.zh-home-hero p { max-width: 560px; margin: 0 0 26px; color: var(--x8-muted); font-size: 15px; line-height: 1.55; }
.zh-home-bar { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.zh-home-bar .of-seg { padding: 4px; border-radius: 999px; border: 1px solid #ffffff14; background: #0b0c0e8c; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.zh-home-bar .of-seg button { height: 32px; }
.zh-home .zh-section-label:first-of-type { margin-top: 12px; }
.zh-home .zh-apps { grid-auto-rows: 176px; }
.zh-home .zh-app-card { border: 1px solid #dce6ee26; background: radial-gradient(90% 90% at 50% 20%, #15202a, #07090b 70%); padding: 0; font: inherit; }
.zh-home .zh-app-card .zh-arte { inset: 4% 4% 26%; }
.zh-home .zh-app-card[data-rows="2"] .zh-arte { inset: 10% 6% 22%; }
.zh-home .dsh-bloco-cab { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.zh-home .dsh-bloco-cab h3 { margin: 0 0 4px; }
.zh-home .dsh-bloco-cab p { margin: 0; color: var(--x8-muted); font-size: 12.5px; }
.zh-home .dsh-grade { margin-top: var(--x8-card-gap); gap: var(--x8-card-gap); }
.zh-home .dsh-recarga { opacity: .55; transition: opacity .3s; }
html[data-theme="dark"] .dsh-fluxo-barra, html[data-theme="dark"] .dsh-prog { background: #ffffff0d !important; border-radius: 99px; }
html[data-theme="dark"] .dsh-fluxo-barra span, html[data-theme="dark"] .dsh-prog span { background: linear-gradient(90deg, #ffffff40, #f2f4f6) !important; border-radius: 99px; }
html[data-theme="dark"] .dsh-item.clicavel:hover { background: #ffffff06 !important; }
html[data-theme="dark"] .dsh-mini-vazio { color: var(--x8-muted); }
html[data-theme="dark"] .dsh-mini-vazio > .q-icon { color: #646b71; }
@media (max-width: 760px) { .zh-home .zh-ghost { inset: 0; } }

/* ── Fluxos: palco quando não há fluxo ───────────────────────────────────── */
html[data-theme="dark"] .fx-card { border-radius: 20px !important; border: 1px solid #ffffff14 !important; background: linear-gradient(160deg, #ffffff0b, #ffffff03 58%, #ffffff06) !important; box-shadow: inset 0 1px 0 #ffffff0d; transition: border-color .3s var(--ease-ui), transform .6s var(--ease-expo); }
html[data-theme="dark"] .fx-card:hover { border-color: #d9e4ed45 !important; transform: translateY(-2px); }
html[data-theme="dark"] .fx-card-num { border-radius: 14px !important; background: #ffffff08 !important; border: 1px solid #ffffff1c; color: #bfc7ce !important; font-weight: 400 !important; letter-spacing: -.04em; }
html[data-theme="dark"] .fx-card-num.on { color: #0b0c0e !important; background: linear-gradient(180deg, #f6f8fa, #c3ccd3) !important; border-color: transparent; }

/* a marca na cápsula: a onda do Onflow em prata, traço da casa */
.zh-marca { width: 38px; height: 38px; fill: none; stroke: url(#zh-prata) #dfe5ea; stroke: #dfe5ea; stroke-width: 3.6; stroke-linecap: round; }
.zh-marca circle { fill: #f2f4f6; stroke: none; }
.zh-rail-brand:hover .zh-marca { stroke: #fff; }

/* botão de metal dentro de janela ou menu: o brilho do material vaza 65px pra fora do botão e o cartão do Quasar (overflow: auto)
   contava isso como conteúdo, criando barras de rolagem. Aqui o material fica recortado no próprio botão. */
.q-dialog .q-card :is(button, a)[data-x8-metal] > .x8-material, .q-menu :is(button, a)[data-x8-metal] > .x8-material { overflow-clip-margin: 0px; overflow: hidden; }
