/* Fechamento do mês (pv-fechamento.js). Só tokens do tema: claro e escuro saem das mesmas
   variáveis do index (--surface, --ink, --bar, --good, --crit…). Prefixo pfc- em tudo. */
html.pfc-trava, html.pfc-trava body { overflow: hidden }

.pfc-scrim { position: fixed; inset: 0; z-index: 99990; display: flex; align-items: center; justify-content: center;
  padding: clamp(0px, 3vw, 28px); background: rgba(8, 16, 34, .46); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .18s var(--ease, ease) }
.pfc-scrim.on { opacity: 1 }
.pfc-card { position: relative; width: min(1120px, 100%); height: min(940px, 100%); display: flex; flex-direction: column; overflow: hidden;
  background: var(--canvas); color: var(--ink); border-radius: 18px; box-shadow: var(--shadow-3);
  transform: translateY(14px) scale(.985); transition: transform .26s var(--ease-out, cubic-bezier(.16, 1, .3, 1)) }
.pfc-scrim.on .pfc-card { transform: none }

/* cabeçalho */
.pfc-hd { display: flex; align-items: flex-start; gap: 16px; padding: 22px 26px 14px; background: var(--surface); border-bottom: 1px solid var(--line) }
.pfc-ttl { flex: 1; min-width: 0 }
.pfc-kick { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-bright) }
.pfc-hd h2 { margin: 2px 0 2px; font-size: clamp(22px, 3vw, 30px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1 }
.pfc-hd p { margin: 0; font-size: 12.5px; color: var(--ink-3) }
.pfc-hd-r { display: flex; align-items: center; gap: 8px; padding-top: 6px }
.pfc-sel { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-3) }
.pfc-sel select { font: inherit; font-size: 13px; color: var(--ink); background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 8px; padding: 6px 8px }
.pfc-x { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%;
  background: var(--surface-2); color: var(--ink-2); cursor: pointer; transition: background .15s, color .15s, transform .15s }
.pfc-x:hover { background: var(--crit-soft); color: var(--crit); transform: rotate(90deg) }
.pfc-x:focus-visible, .pfc-scrim button:focus-visible, .pfc-sel select:focus-visible { outline: 2px solid var(--brand-bright); outline-offset: 2px }
.pfc-x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round }

.pfc-previa { display: flex; align-items: center; gap: 16px; padding: 12px 26px; background: var(--warn-soft); color: var(--ink); font-size: 13px; line-height: 1.45; border-bottom: 1px solid var(--line) }
.pfc-previa > div { flex: 1 }
.pfc-previa.ok { background: var(--good-soft) }
.pfc-pub { flex: none; font: inherit; font-size: 13.5px; font-weight: 700; color: #fff; background: var(--brand-bright); border: 0; border-radius: 10px; padding: 10px 16px; cursor: pointer }
.pfc-pub:hover { filter: brightness(1.08) }
.pfc-pub:disabled { opacity: .6; cursor: default }

.pfc-nav { display: flex; gap: 6px; padding: 10px 26px; overflow-x: auto; scrollbar-width: none; background: var(--surface); border-bottom: 1px solid var(--line) }
.pfc-nav::-webkit-scrollbar { display: none }
.pfc-nav button { flex: none; font: inherit; font-size: 12.5px; font-weight: 600; color: var(--ink-2); background: transparent; border: 1px solid var(--line-2);
  border-radius: 999px; padding: 6px 12px; cursor: pointer; transition: background .15s, color .15s, border-color .15s }
.pfc-nav button:hover { color: var(--ink); border-color: var(--ink-3) }
.pfc-nav button.on { background: var(--ink); border-color: var(--ink); color: var(--surface) }

.pfc-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 22px 26px 8px; scroll-behavior: smooth; scroll-padding-top: 12px }
.pfc-load { display: flex; gap: 8px; justify-content: center; padding: 120px 0 }
.pfc-load i { width: 10px; height: 10px; border-radius: 50%; background: var(--bar); animation: pfc-p 1s infinite ease-in-out }
.pfc-load i:nth-child(2) { animation-delay: .15s } .pfc-load i:nth-child(3) { animation-delay: .3s }
@keyframes pfc-p { 0%, 100% { opacity: .25; transform: scale(.8) } 50% { opacity: 1; transform: none } }

/* seções */
.pfc-sec { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; margin-bottom: 16px;
  opacity: 0; transform: translateY(10px); transition: opacity .45s var(--ease, ease), transform .45s var(--ease, ease) }
.pfc-sec.vis, .pfc-sec.sem-anim { opacity: 1; transform: none }
.pfc-sec.sem-anim { transition: none }
.pfc-sh { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-bottom: 16px }
.pfc-sh h3 { margin: 0; font-size: 17px; font-weight: 750; letter-spacing: -.01em }
.pfc-sh p { flex: 1 1 320px; margin: 0; font-size: 13px; color: var(--ink-3); line-height: 1.5 }
.pfc-sh p b { color: var(--ink) }
.pfc-sh2 { margin-top: 26px; align-items: center }
.pfc-vazio { margin: 0; padding: 18px 0; font-size: 13px; color: var(--ink-3) }
.pfc-nota { margin: 10px 0 0; font-size: 12px; line-height: 1.5; color: var(--ink-3) }
.pfc-seg { display: inline-flex; padding: 3px; gap: 2px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; margin-left: auto }
.pfc-seg button { font: inherit; font-size: 12.5px; font-weight: 600; color: var(--ink-2); background: transparent; border: 0; border-radius: 7px; padding: 6px 11px; cursor: pointer }
.pfc-seg button.on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(10, 26, 60, .12) }

/* chip de variação: seta + texto, a cor nunca sozinha */
.pfc-chip { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; font-size: 12px; font-weight: 650; color: var(--ink);
  border-radius: 999px; padding: 3px 9px; background: var(--surface-2); font-variant-numeric: tabular-nums }
.pfc-chip i { font-style: normal; font-size: 9px }
.pfc-chip.up { background: var(--good-soft) } .pfc-chip.up i { color: var(--good) }
.pfc-chip.dn { background: var(--crit-soft) } .pfc-chip.dn i { color: var(--crit) }
.pfc-chip.eq i { color: var(--ink-3) }

/* resumo */
.pfc-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px; align-items: start;
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface) 55%, var(--brand-soft) 140%) }
.pfc-rot { font-size: 13px; font-weight: 650; color: var(--ink-2) }
.pfc-big { margin: 6px 0 10px; font-size: clamp(38px, 6vw, 60px); font-weight: 800; letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap }
.pfc-hero .pfc-chip { font-size: 13px; padding: 5px 11px }
.pfc-frase { margin: 16px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); max-width: 56ch }
.pfc-frase b { color: var(--ink); font-weight: 700 }
.pfc-casa { margin: 10px 0 0; font-size: 13px; color: var(--ink-3) }
.pfc-casa b { color: var(--ink-2) }
.pfc-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px }
.pfc-t3 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) }
.pfc-tile { display: flex; flex-direction: column; gap: 3px; padding: 14px 16px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; min-width: 0 }
.pfc-tile span { font-size: 12px; font-weight: 600; color: var(--ink-3) }
.pfc-tile b { font-size: 24px; font-weight: 780; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap }
.pfc-tile b small { font-size: 13px; font-weight: 600; color: var(--ink-3) }
.pfc-tile > small { font-size: 12px; color: var(--ink-3); line-height: 1.4; overflow: hidden; text-overflow: ellipsis }
.pfc-tile > small b { font-size: 12px; color: var(--ink) }
.pfc-tile.pos { box-shadow: inset 3px 0 0 var(--good) } .pfc-tile.neg { box-shadow: inset 3px 0 0 var(--crit) }

/* ponte do patrimônio (cascata) */
.pfc-wf { margin-top: 4px }
.pfc-wf-p { position: relative; height: 230px; margin-top: 26px; border-bottom: 1px solid var(--line-2) }
.pfc-wf-c { position: absolute; top: 0; bottom: 0 }
.pfc-wf-c b { position: absolute; left: 18%; right: 18%; border-radius: 4px; min-height: 2px; cursor: default;
  transform-origin: bottom; transition: filter .15s }
.pfc-sec.vis .pfc-wf-c b { animation: pfc-cresce .55s var(--ease-out, ease) both; animation-delay: calc(var(--i) * 70ms) }
@keyframes pfc-cresce { from { transform: scaleY(0) } to { transform: none } }
.pfc-wf-c b.tot { background: var(--bar); border-radius: 4px 4px 0 0 }
.pfc-wf-c b.tot.hi { background: var(--bar-hi) }
.pfc-wf-c b.corte::after { content: ""; position: absolute; left: -4px; right: -4px; bottom: 14px; height: 5px; transform: skewY(-7deg);
  border-top: 2px solid var(--surface); border-bottom: 2px solid var(--surface) }   /* marca de eixo cortado: // */
.pfc-wf-c b.pos { background: var(--good) } .pfc-wf-c b.neg { background: var(--crit) } .pfc-wf-c b.neu { background: var(--ink-3) }
.pfc-wf-p:hover .pfc-wf-c b:not(:hover) { filter: saturate(.5) opacity(.55) }
.pfc-wf-c em { position: absolute; left: 0; right: 0; text-align: center; font-style: normal; font-size: 13px; font-weight: 700; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums }
.pfc-wf-l { position: absolute; height: 0; border-top: 1px dashed var(--ink-3); opacity: .7 }
.pfc-wf-x { display: flex }
.pfc-wf-x span { text-align: center; padding-top: 8px; font-size: 12.5px; font-weight: 600; color: var(--ink-2) }
.pfc-evol { margin-top: 4px }

/* legendas */
.pfc-leg { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: -4px 0 12px; font-size: 12px; color: var(--ink-3) }
.pfc-leg span { display: inline-flex; align-items: center; gap: 6px }
.pfc-leg i { display: inline-block; width: 10px; height: 10px; border-radius: 50% }
.pfc-leg .k-eu { background: var(--brand-bright); box-shadow: 0 0 0 2px var(--surface), 0 0 0 3px var(--brand-bright) }
.pfc-leg .k-idx { width: 9px; height: 9px; border-radius: 1px; transform: rotate(45deg); background: var(--ink-2) }
.pfc-leg .k-up { width: 16px; height: 4px; border-radius: 2px; background: var(--good) }
.pfc-leg .k-dn { width: 16px; height: 4px; border-radius: 2px; background: var(--crit) }
.pfc-leg .k-r { background: var(--ink-3); opacity: .7 }
.pfc-leg .k-med { width: 2px; height: 14px; border-radius: 1px; background: var(--ink) }

/* fundos × índice */
.pfc-fl { display: flex; flex-direction: column }
.pfc-fr { display: grid; grid-template-columns: minmax(170px, 1.1fr) minmax(160px, 1.6fr) 236px; align-items: center; gap: 14px; padding: 9px 4px;
  border-top: 1px solid var(--line); border-radius: 6px }
.pfc-fr:first-child { border-top: 0 }
.pfc-fr:hover { background: var(--surface-2) }
.pfc-fn { display: flex; flex-direction: column; min-width: 0; text-align: left }
.pfc-fn b { font-size: 13px; font-weight: 650; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.pfc-fn small { font-size: 11.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.pfc-trk { position: relative; height: 22px }
.pfc-eixo { padding-top: 0; padding-bottom: 0; border: 0 } .pfc-eixo:hover { background: none }
.pfc-eixo .pfc-trk { height: 16px } .pfc-eixo .pfc-trk::before { display: none }
.pfc-eixo em { position: absolute; top: 0; transform: translateX(-50%); font-style: normal; font-size: 10.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap }
.pfc-trk::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid var(--line) }
.pfc-trk i { position: absolute; top: 50% }
.pfc-trk .z { top: 2px; bottom: 2px; width: 0; border-left: 1px dashed var(--line-2) }
.pfc-trk .lig { height: 4px; margin-top: -2px; border-radius: 2px; opacity: .85 }
.pfc-trk .lig.up { background: var(--good) } .pfc-trk .lig.dn { background: var(--crit) } .pfc-trk .lig.eq { background: var(--ink-3) }
.pfc-trk .idx { width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; background: var(--ink-2); transform: rotate(45deg); border-radius: 1px; box-shadow: 0 0 0 2px var(--surface) }
.pfc-trk .eu { width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--brand-bright); box-shadow: 0 0 0 2px var(--surface) }
.pfc-sec.vis .pfc-trk .eu { animation: pfc-pop .4s var(--ease-out, ease) both; animation-delay: calc(var(--i) * 35ms) }
@keyframes pfc-pop { from { transform: scale(0) } to { transform: none } }
.pfc-fv { display: flex; align-items: center; justify-content: flex-end; gap: 8px; min-width: 0 }
.pfc-fv > b { font-size: 14px; font-weight: 750; font-variant-numeric: tabular-nums; min-width: 56px; text-align: right }
.pfc-fv > small { font-size: 11.5px; color: var(--ink-3) }

/* concorrentes */
.pfc-cl { display: flex; flex-direction: column; gap: 4px }
.pfc-cr { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; transition: border-color .15s }
.pfc-cr.on { border-color: var(--line-2) }
.pfc-crb { width: 100%; display: grid; grid-template-columns: minmax(170px, 1.1fr) minmax(180px, 1.8fr) 236px; align-items: center; gap: 14px;
  padding: 10px 12px; font: inherit; color: inherit; text-align: left; background: transparent; border: 0; cursor: pointer }
.pfc-crb:hover { background: var(--surface-2) }
.pfc-strip { position: relative; height: 30px; margin: 0 46px }
.pfc-strip::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 6px; margin-top: -3px; border-radius: 3px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line) }
.pfc-strip i { position: absolute; top: 50% }
.pfc-strip .r { width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--ink-3); opacity: .7; box-shadow: 0 0 0 2px var(--surface); transition: transform .12s, opacity .12s }
.pfc-strip .r:hover { opacity: 1; transform: scale(1.35) }
.pfc-strip .med { width: 2px; height: 20px; margin: -10px 0 0 -1px; border-radius: 1px; background: var(--ink) }
.pfc-strip .eu { width: 15px; height: 15px; margin: -7.5px 0 0 -7.5px; border-radius: 50%; background: var(--brand-bright); box-shadow: 0 0 0 2px var(--surface), 0 0 0 3.5px var(--brand-bright); z-index: 1 }
.pfc-strip .lim { position: absolute; top: 50%; transform: translateY(-50%); right: calc(100% + 10px); font-size: 10.5px; color: var(--ink-3); white-space: nowrap; font-variant-numeric: tabular-nums }
.pfc-strip .lim.dir { right: auto; left: calc(100% + 10px) }
.pfc-rk { display: flex; align-items: baseline; justify-content: flex-end; gap: 6px; white-space: nowrap }
.pfc-rk > b { font-size: 20px; font-weight: 800; letter-spacing: -.02em }
.pfc-rk > small { font-size: 12px; color: var(--ink-3); margin-right: 4px }
.pfc-rank { list-style: none; margin: 0; padding: 6px 14px 14px; border-top: 1px solid var(--line); background: var(--surface-2) }
.pfc-rank li { display: grid; grid-template-columns: 34px minmax(140px, 1.3fr) minmax(120px, 1.4fr) 64px; gap: 10px; align-items: center; padding: 4px 0; font-size: 12.5px }
.pfc-rank .p { color: var(--ink-3); font-variant-numeric: tabular-nums }
.pfc-rank .n { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink-2) }
.pfc-rank .n em { font-style: normal; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--brand-bright); margin-left: 4px }
.pfc-rank .t { position: relative; height: 14px }
.pfc-rank .t::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid var(--line-2) }
.pfc-rank .t .d { position: absolute; top: 50%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: var(--ink-3) }
.pfc-rank .t .med { position: absolute; top: 0; bottom: 0; width: 0; border-left: 1.5px solid var(--ink); opacity: .5 }
.pfc-rank .v { text-align: right; font-weight: 650; font-variant-numeric: tabular-nums }
.pfc-rank li.eu .n, .pfc-rank li.eu .v { color: var(--ink); font-weight: 750 }
.pfc-rank li.eu .t .d { width: 12px; height: 12px; margin: -6px 0 0 -6px; background: var(--brand-bright); box-shadow: 0 0 0 2px var(--surface-2), 0 0 0 3.5px var(--brand-bright) }
.pfc-rank + .pfc-nota { margin: 0; padding: 0 14px 12px; background: var(--surface-2) }

/* movimentações */
.pfc-mvs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px }
.pfc-mv h4, .pfc-novos h4, .pfc-conf h4, .pfc-ev h4 { margin: 0 0 8px; font-size: 13px; font-weight: 700; color: var(--ink-2) }
.pfc-mv ol { list-style: none; margin: 0; padding: 0 }
.pfc-mv li { position: relative; display: flex; align-items: center; gap: 10px; padding: 8px 0 10px; border-top: 1px solid var(--line) }
.pfc-mv li:first-child { border-top: 0 }
.pfc-mv li > div { flex: 1; display: flex; flex-direction: column; min-width: 0 }
.pfc-mv li b { font-size: 13px; font-weight: 650 }
.pfc-mv li small { font-size: 11.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.pfc-mv .v { font-size: 13.5px; font-weight: 750; font-variant-numeric: tabular-nums; white-space: nowrap }
.pfc-mv li > i { position: absolute; left: 0; bottom: 3px; height: 3px; border-radius: 2px; opacity: .8 }
.pfc-mv li > i.pos { background: var(--good) } .pfc-mv li > i.neg { background: var(--crit) }
.pfc-novos { margin-top: 18px }
.pfc-novos ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0 }
.pfc-novos li { font-size: 12.5px; padding: 6px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--ink-2) }
.pfc-novos li b { color: var(--ink) }

/* onde está o patrimônio */
.pfc-el { display: flex; flex-direction: column }
.pfc-er { display: grid; grid-template-columns: minmax(130px, 1fr) minmax(120px, 2fr) 92px 178px; align-items: center; gap: 12px; padding: 8px 4px; border-top: 1px solid var(--line) }
.pfc-er:first-child { border-top: 0 }
.pfc-er:hover { background: var(--surface-2) }
.pfc-er .n { display: flex; flex-direction: column; font-size: 13px; font-weight: 650; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.pfc-er .n small { font-size: 11.5px; font-weight: 400; color: var(--ink-3) }
.pfc-er .t { height: 10px; border-radius: 5px; background: var(--surface-2); overflow: hidden }
.pfc-er .t i { display: block; height: 100%; border-radius: 0 5px 5px 0; background: var(--bar); transform-origin: left }
.pfc-sec.vis .pfc-er .t i { animation: pfc-barra .6s var(--ease-out, ease) both; animation-delay: calc(var(--i) * 40ms) }
@keyframes pfc-barra { from { transform: scaleX(0) } to { transform: none } }
.pfc-er .v { text-align: right; font-size: 13.5px; font-weight: 750; font-variant-numeric: tabular-nums; white-space: nowrap }
.pfc-er .pfc-chip { justify-self: end }

/* operação */
.pfc-op2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 18px }
.pfc-op2:empty { display: none }
.pfc-segbar { display: flex; gap: 2px; height: 14px; border-radius: 7px; overflow: hidden }
.pfc-segbar i, .pfc-lg2 i { background: var(--ink-3) }
.pfc-segbar .ok, .pfc-lg2 .ok { background: var(--good) } .pfc-segbar .dv, .pfc-lg2 .dv { background: var(--crit) }
.pfc-segbar .sb, .pfc-lg2 .sb { background: var(--warn) } .pfc-segbar .nv, .pfc-lg2 .nv { background: var(--bar) }
.pfc-lg2 { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 8px 0 0; padding: 0; font-size: 12px; color: var(--ink-2) }
.pfc-lg2 li { display: inline-flex; align-items: center; gap: 6px }
.pfc-lg2 i { width: 9px; height: 9px; border-radius: 2px }
.pfc-ev ul { list-style: none; margin: 0; padding: 0; font-size: 12.5px; color: var(--ink-2) }
.pfc-ev li { padding: 5px 0; border-top: 1px solid var(--line) }
.pfc-ev li:first-child { border-top: 0 }
.pfc-ev li b { font-variant-numeric: tabular-nums; color: var(--ink); margin-right: 4px }
.pfc-ev small { color: var(--ink-3) }
.pfc-dz { margin: 0; font-size: 13px; color: var(--ink-3) } .pfc-dz b { font-size: 20px; color: var(--ink) }

/* mercado */
.pfc-mk { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px }
.pfc-mk div { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line) }
.pfc-mk span { font-size: 12px; font-weight: 600; color: var(--ink-3) }
.pfc-mk b { font-size: 20px; font-weight: 780; font-variant-numeric: tabular-nums }
.pfc-mk .up { box-shadow: inset 3px 0 0 var(--good) } .pfc-mk .dn { box-shadow: inset 3px 0 0 var(--crit) }

.pfc-ft { display: flex; align-items: center; gap: 18px; padding: 6px 2px 22px }
.pfc-ft p { flex: 1; margin: 0; font-size: 11.5px; line-height: 1.5; color: var(--ink-3) }
.pfc-ok { flex: none; font: inherit; font-size: 13.5px; font-weight: 650; color: var(--ink); background: var(--surface); border: 1px solid var(--line-2); border-radius: 10px; padding: 9px 18px; cursor: pointer }
.pfc-ok:hover { background: var(--surface-2) }

/* faixa no painel */
.pfc-faixa-dash { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 16px }
.pfc-fx { flex: 1 1 340px; display: flex; align-items: center; gap: 14px; padding: 12px 16px; font: inherit; color: var(--ink); text-align: left; cursor: pointer;
  background: linear-gradient(100deg, var(--surface) 40%, var(--brand-soft)); border: 1px solid var(--line); border-radius: 12px; transition: border-color .15s, box-shadow .15s }
.pfc-fx:hover { border-color: var(--brand-bright); box-shadow: var(--shadow-2) }
.pfc-fx.pv { flex-grow: .6; background: var(--surface); border-style: dashed }
.pfc-fx-ic { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: var(--bar-hi); color: #fff }
.pfc-fx-ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round }
.pfc-fx-t { flex: 1; display: flex; flex-direction: column; min-width: 0 }
.pfc-fx-t b { font-size: 14px; font-weight: 700 }
.pfc-fx-t b em { font-style: normal; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: #fff; background: var(--crit); border-radius: 999px; padding: 2px 7px; margin-left: 6px; vertical-align: 2px }
.pfc-fx-t small { font-size: 12.5px; color: var(--ink-3) }
.pfc-fx-v { flex: none; font-size: 13px; font-weight: 700; color: var(--brand-bright) }

@media (max-width: 860px) {
  .pfc-hero { grid-template-columns: 1fr }
  .pfc-fr, .pfc-crb { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px }
  .pfc-eixo { display: none }
  .pfc-fr .pfc-trk, .pfc-crb .pfc-strip { grid-column: 1 / -1; grid-row: 2 }
  .pfc-fv { display: contents }
  .pfc-fv > b { grid-column: 2; grid-row: 1; align-self: center }
  .pfc-fv > .pfc-chip, .pfc-fv > small { grid-column: 1 / -1; grid-row: 3; justify-self: start }
  .pfc-crb .pfc-rk .pfc-chip { display: none }
  .pfc-er { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px }
  .pfc-er .t { grid-column: 1 / -1; grid-row: 2 }
  .pfc-er .pfc-chip { grid-column: 1 / -1; justify-self: start }
  .pfc-mvs { grid-template-columns: 1fr }
}
@media (max-width: 560px) {
  .pfc-scrim { padding: 0 }
  .pfc-card { height: 100%; border-radius: 0 }
  .pfc-hd { padding: calc(14px + env(safe-area-inset-top, 0px)) 16px 10px }
  .pfc-hd-r { display: none }
  .pfc-nav, .pfc-previa { padding-left: 16px; padding-right: 16px }
  .pfc-previa { flex-direction: column; align-items: stretch }
  .pfc-body { padding: 14px 12px 4px }
  .pfc-sec { padding: 18px 16px; border-radius: 12px }
  .pfc-tiles { grid-template-columns: 1fr 1fr }
  .pfc-tile b { font-size: 20px }
  .pfc-wf-c em { font-size: 10.5px; letter-spacing: -.02em }
  .pfc-wf-x span { font-size: 11px }
  .pfc-rank li { grid-template-columns: 28px minmax(0, 1fr) 60px; }
  .pfc-rank .t { display: none }
  .pfc-ft { flex-direction: column; align-items: stretch; padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px)) }
}
@media (prefers-reduced-motion: reduce) {
  .pfc-scrim, .pfc-card, .pfc-sec { transition: none } .pfc-sec { opacity: 1; transform: none }
  .pfc-sec.vis .pfc-wf-c b, .pfc-sec.vis .pfc-trk .eu, .pfc-sec.vis .pfc-er .t i { animation: none }
}
