/* ==========================================================================
   LIVE CUSTOMER PORTFOLIOS — the board in Results and the profile sheet.
   One idea runs through it: capital is frost, earnings are gold. Every
   balance carries an "ingot" split at the deposit, so growth reads at a
   glance in the totals, on each row and in each profile.
   ========================================================================== */

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* the ingot: frost = deposited, gold = made by ZEUS ---------------------- */
.pf-ingot { --cap: 1; position: relative; display: block; height: 4px; border-radius: 3px; overflow: hidden; background: var(--gold-grad); }
.pf-ingot > i { position: absolute; inset: 0; background: #4c5566; transform-origin: left; transform: scaleX(var(--cap)); transition: transform .8s var(--ease-out); }
.pf-ingot--lg { height: 10px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35); }
.pf-key { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 8px; vertical-align: 1px; }
.pf-key--cap { background: #4c5566; }
.pf-key--earn { background: var(--gold); }
.pf-legend { display: flex; justify-content: space-between; gap: 8px 20px; flex-wrap: wrap; margin-top: 12px; font-size: 13px; color: var(--text-3); }
.pf-legend b { margin-left: 8px; font-weight: 500; color: var(--text-hi); }

/* board ------------------------------------------------------------------ */
.pf { padding: clamp(18px, 2.4vw, 28px); }
.pf-sum { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px clamp(24px, 4vw, 56px); align-items: end; padding: 4px 4px 26px; box-shadow: inset 0 -1px 0 var(--edge-soft); }
.pf-sum__total b { display: block; margin-top: 10px; font-family: var(--font-display); font-weight: 500; font-size: clamp(40px, 4.8vw, 60px); line-height: 1; font-variant-numeric: tabular-nums; }
.pf-sum__split { padding-bottom: 4px; }
.pf-sum__tf { display: grid; gap: 3px; text-align: right; font-size: 13px; color: var(--text-3); padding-bottom: 2px; }
.pf-sum__tf b { font-size: 24px; font-weight: 500; }
.pf-sum__count { color: var(--text-2); }

.pf-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px 20px; flex-wrap: wrap; padding: 18px 4px; }
.pf-bar__l { display: flex; align-items: center; gap: 12px; }
.pf-live { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-3); }
.pf-live b { font-weight: 500; color: var(--up); }
.pf-live.is-closed b { color: var(--text-2); }
.sample-tag.pf-sample { position: static; }
.pf-sort select {
  appearance: none; -webkit-appearance: none; height: 40px; padding: 0 40px 0 18px; border: 0; border-radius: var(--r-pill); cursor: pointer;
  font: inherit; font-size: 14px; color: var(--text); box-shadow: var(--sh-hair);
  background: var(--glass) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239da7ba' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 16px center / 12px no-repeat;
  transition: background-color .2s;
}
.pf-sort select:hover { background-color: var(--glass-2); }
.pf-sort option { background: #0b0d1a; color: var(--text); }

.pf-cols, .pf-row { display: grid; grid-template-columns: 34px minmax(170px, 1.6fr) .85fr 1.2fr .8fr 1.2fr .62fr .62fr auto; gap: 16px; align-items: center; }
.pf-cols { padding: 10px 16px; box-shadow: inset 0 -1px 0 var(--edge-soft); }
.pf-cols span:first-child { text-align: center; }
.pf-list { list-style: none; margin: 0; padding: 6px 0 0; display: grid; gap: 2px; }
.pf-list > li { position: relative; transition: transform .55s var(--ease-out); }
.pf-row { width: 100%; padding: 14px 16px; border-radius: 12px; text-align: left; transition: background-color .2s; -webkit-tap-highlight-color: transparent; }
.pf-row:active { background: var(--glass-2); }
.pf-row:active .pf-open__k { color: var(--gold-hi); box-shadow: inset 0 0 0 1px var(--gold-edge); }
@media (hover: hover) {
  .pf-row:hover { background: var(--glass-2); }
  .pf-row:hover .pf-open__t { color: var(--text-hi); }
  .pf-row:hover .pf-open__k { color: var(--gold-hi); background-color: rgba(242, 199, 92, .08); box-shadow: inset 0 0 0 1px var(--gold-edge); }
  .pf-row:hover .pf-open__k svg { transform: translateX(2px); }
}
.pf-rank { font-family: var(--font-dot); font-weight: 800; font-size: 20px; line-height: 1; text-align: center; color: var(--text-4); }
.pf-top .pf-rank { color: var(--gold-hi); text-shadow: 0 0 10px rgba(242, 199, 92, .5); }
.pf-who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.pf-ava { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 600; color: var(--text-hi); background: var(--glass-2); box-shadow: var(--sh-hair), inset 0 1px 1px rgba(216, 236, 248, .14); }
.pf-ava--zeus { color: var(--gold-hi); box-shadow: inset 0 0 0 1px var(--gold-edge), inset 0 1px 1px rgba(255, 231, 163, .25); }
.pf-ava--apollo { color: #d8ecf8; box-shadow: inset 0 0 0 1px rgba(182, 217, 252, .45), inset 0 1px 1px rgba(216, 236, 248, .2); }
.pf-ava--olympus { color: #1b1305; background: var(--gold-grad); box-shadow: var(--sh-gold); }
/* which EA the trader runs, in that EA's colour */
.pf-prod { display: inline-block; margin-right: 7px; padding: 1px 6px; border-radius: 4px; font-style: normal; font-family: var(--font-mono); font-size: 10px; line-height: 1.5; vertical-align: 1px; }
.pf-prod--zeus { color: var(--gold-hi); background: var(--gold-soft); }
.pf-prod--apollo { color: #d8ecf8; background: rgba(152, 192, 239, .16); }
.pf-prod--olympus { color: #1b1305; background: var(--gold-grad); }
/* real photos are blurred for privacy; scaled so the blur never shows a soft edge, ring painted above */
.pf-ava { position: relative; overflow: hidden; }
.pf-ava img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.22); filter: blur(2.6px) saturate(.85) brightness(.9); }
.pf-ava.has-photo { background: #11131f; }
.pf-ava.has-photo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(216, 236, 248, .22); }
.pf-ava--zeus.has-photo::after { box-shadow: inset 0 0 0 1.5px rgba(242, 199, 92, .6); }
.pf-ava--apollo.has-photo::after { box-shadow: inset 0 0 0 1.5px rgba(182, 217, 252, .6); }
.pf-ava--olympus.has-photo::after { box-shadow: inset 0 0 0 2px var(--gold); }
.pf-name { min-width: 0; }
.pf-name b, .pf-name small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-name b { font-weight: 500; font-size: 15px; color: var(--text-hi); }
.pf-name small { font-size: 12.5px; color: var(--text-3); }
.pf-tag { font-style: normal; font-size: 10.5px; padding: 1px 6px; margin-left: 4px; border-radius: 4px; background: var(--glass-3); color: var(--text-2); }
.pf-start { font-size: 14px; color: var(--text-3); }
.pf-now { display: grid; gap: 8px; }
.pf-now__v b { font-weight: 500; font-size: 15px; color: var(--text-hi); }
.pf-from { display: none; }
.pf-growth b { font-weight: 500; font-size: 16px; }
.pf-growth small { display: block; font-size: 11px; color: var(--text-4); }
.pf-growth small:empty { display: none; }
.pf-spark svg { width: 100%; height: 36px; overflow: visible; }
.pf-spark__l { fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.pf-spark__a { fill: url(#pfFill); }
.pf-dd, .pf-wr { font-size: 14px; color: var(--text-2); }
/* "View portfolio": the site's frosted icon tile, so every row reads as something that opens.
   Gold arrives only on hover / press; the whole row is the tap target. */
.pf-open { justify-self: end; display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.pf-open__t { font-size: 13px; color: var(--text-2); transition: color .2s; }
.pf-open__n { display: none; }
.pf-open__k { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: var(--text-2); background: var(--glass-2); box-shadow: var(--sh-hair), inset 0 1px 1px rgba(216, 236, 248, .14); transition: color .2s, background-color .2s, box-shadow .2s; }
.pf-open__k svg { width: 14px; height: 14px; transition: transform .2s var(--ease-out); }
.pf-hint .pf-open__k { animation: pfHint 1.3s var(--ease-out) 2; }
.pf-hint .pf-open__k svg { animation: pfNudge 1.3s var(--ease-out) 2; }
@keyframes pfHint { 35% { color: var(--gold-hi); box-shadow: inset 0 0 0 1px rgba(242, 199, 92, .7), 0 0 0 5px rgba(242, 199, 92, .12); } }
@keyframes pfNudge { 35% { transform: translateX(3px); } }
.pf-empty { padding: 28px 16px; text-align: center; color: var(--text-3); }

/* folded board: top three, the fourth fades out under the button */
.pf.is-collapsed .pf-list > li:nth-child(n+5) { display: none; }
.pf.is-collapsed .pf-list > li:nth-child(4) { height: 46px; overflow: hidden; pointer-events: none; -webkit-mask-image: linear-gradient(rgba(0, 0, 0, .55), transparent); mask-image: linear-gradient(rgba(0, 0, 0, .55), transparent); }
.pf-more { position: relative; z-index: var(--z-raised); display: flex; justify-content: center; padding: 14px 0 6px; }
.pf.is-collapsed .pf-more { margin-top: -24px; padding-top: 0; }
.pf-more__btn {
  display: inline-flex; align-items: center; gap: 12px; height: 46px; padding: 0 18px 0 8px; border-radius: var(--r-pill);
  font-size: 14px; font-weight: 500; color: var(--text-hi); -webkit-tap-highlight-color: transparent;
  background: #0a0c19; box-shadow: var(--sh-hair), inset 0 1px 1px rgba(216, 236, 248, .16), 0 16px 32px -16px rgba(0, 0, 0, .9);
  transition: box-shadow .2s, transform .2s var(--ease-out);
}
.pf-more__btn.is-open { padding-left: 18px; }
.pf-more__stack { display: flex; padding-left: 9px; }
.pf-more__stack:empty { display: none; }
.pf-more__stack .pf-ava { width: 32px; height: 32px; margin-left: -9px; font-size: 10.5px; border: 2px solid #0a0c19; }
.pf-more__btn svg { width: 16px; height: 16px; color: var(--text-3); transition: transform .3s var(--ease-out), color .2s; }
.pf-more__btn.is-open svg { transform: rotate(180deg); }
.pf-more__btn:active { transform: scale(.97); }
@media (hover: hover) {
  .pf-more__btn:hover { box-shadow: inset 0 0 0 1px var(--edge-strong), inset 0 1px 1px rgba(216, 236, 248, .22), 0 16px 32px -16px rgba(0, 0, 0, .9); }
  .pf-more__btn:hover svg { color: var(--text-hi); transform: translateY(2px); }
  .pf-more__btn.is-open:hover svg { transform: rotate(180deg) translateY(2px); }
}
.pf-list > li.pf-enter { animation: pfEnter .5s var(--ease-out) backwards; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes pfEnter { from { opacity: 0; transform: translateY(12px); } }

/* a trade just closed on this account */
.pf-flash--up .pf-row { animation: pfRowUp 1.4s var(--ease-out); }
.pf-flash--down .pf-row { animation: pfRowDown 1.4s var(--ease-out); }
.pf-flash--up .pf-now__v b { animation: pfUp 1.4s var(--ease-out); }
.pf-flash--down .pf-now__v b { animation: pfDown 1.4s var(--ease-out); }
@keyframes pfRowUp { from { background-color: rgba(79, 214, 184, .1); } }
@keyframes pfRowDown { from { background-color: rgba(240, 132, 102, .1); } }
@keyframes pfUp { from { color: var(--up); } }
@keyframes pfDown { from { color: var(--down); } }

/* the master account, below the board */
.track-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px 40px; flex-wrap: wrap; margin: clamp(72px, 9vw, 112px) 0 24px; }
.track-head h3 { font-size: clamp(26px, 3vw, 34px); }
.track-head p { max-width: 520px; color: var(--text-3); }

@media (max-width: 1100px) {
  .pf-cols, .pf-row { grid-template-columns: 30px minmax(160px, 1.6fr) .9fr 1.2fr .8fr 1.1fr auto; }
  .pf-open__t { display: none; }
  .pf-dd, .pf-wr, .pf-cols span:nth-child(7), .pf-cols span:nth-child(8) { display: none; }
}
@media (max-width: 760px) {
  .pf { padding: 16px 12px 12px; }
  .pf-sum { grid-template-columns: 1fr; gap: 16px; padding: 2px 6px 20px; }
  .pf-sum__total b { font-size: 44px; }
  .pf-legend { gap: 4px 14px; font-size: 12.5px; }
  .pf-legend b { margin-left: 6px; }
  .pf-sum__tf { text-align: left; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 10px; }
  .pf-sum__tf b { font-size: 20px; }
  .pf-sum__count { grid-column: 1 / -1; }
  .sample-tag.pf-sample { position: absolute; top: 16px; right: 14px; bottom: auto; }
  /* status + sort share a row; the time frames get full-width, thumb-sized buttons */
  .pf-bar { padding: 14px 6px 12px; gap: 12px; }
  .pf-bar__l { flex: 1 1 0; min-width: 0; }
  .pf-live { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 8px; row-gap: 1px; }
  .pf-live #pfAgo { grid-column: 2; font-size: 12px; color: var(--text-4); }
  .pf-sort select { height: 38px; padding: 0 32px 0 14px; font-size: 13.5px; background-position: right 12px center; }
  .pf-bar .seg { order: 2; display: flex; width: 100%; }
  .pf-bar .seg button { flex: 1; height: 40px; padding: 0 4px; font-size: 13.5px; }
  .pf-cols { display: none; }
  .pf-list { gap: 0; padding-top: 0; }
  .pf-list > li + li::before { content: ""; position: absolute; top: 0; left: 6px; right: 6px; height: 1px; background: var(--edge-soft); }
  /* two-line rows; the rank rides on the avatar */
  .pf-row { position: relative; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "who growth" "now spark" "cta cta"; gap: 12px; padding: 14px 6px; }
  .pf-rank { position: absolute; left: 0; top: 9px; z-index: var(--z-raised); min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; display: grid; place-items: center; font-family: var(--font-mono); font-weight: 500; font-size: 11px; color: var(--text-3); background: #0a0c19; box-shadow: var(--sh-hair); }
  .pf-top .pf-rank { color: var(--gold-hi); text-shadow: none; box-shadow: inset 0 0 0 1px var(--gold-edge); }
  .pf-who { grid-area: who; }
  .pf-growth { grid-area: growth; text-align: right; }
  .pf-growth b { font-size: 17px; }
  .pf-now { grid-area: now; padding-left: 50px; }
  .pf-now__v { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
  .pf-spark { grid-area: spark; width: 80px; }
  .pf-start { display: none; }
  /* phones: a footer line that says what opens, and what is inside */
  .pf-open { grid-area: cta; justify-self: stretch; margin-left: 50px; gap: 8px; }
  .pf-open__t { display: inline; font-size: 13.5px; font-weight: 500; color: var(--text-hi); }
  .pf-open__n { display: inline; margin-right: auto; font-family: var(--font-mono); font-size: 11.5px; color: var(--text-4); }
  .pf-from { display: inline; font-size: 11.5px; color: var(--text-4); }
  .pf.is-collapsed .pf-list > li:nth-child(4) { height: 58px; }
}

/* profile sheet ------------------------------------------------------------ */
html.pf-locked { overflow: hidden; scrollbar-gutter: stable; }
.pf-sheet {
  position: fixed; inset: 0 0 0 auto; width: min(580px, 100vw); height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; overflow: hidden; color: var(--text); background: #070914;
  box-shadow: var(--sh-modal), -1px 0 0 var(--edge);
}
.pf-sheet[open] { animation: pfIn .38s var(--ease-out); }
.pf-sheet.is-closing { animation: pfOut .24s ease-in forwards; }
.pf-sheet::backdrop { background: rgba(3, 4, 10, .66); backdrop-filter: blur(3px); animation: pfFade .3s var(--ease-out); }
.pf-sheet.is-closing::backdrop { animation: pfFadeOut .24s ease-in forwards; }
@keyframes pfIn { from { transform: translateX(48px); opacity: 0; } }
@keyframes pfOut { to { transform: translateX(48px); opacity: 0; } }
@keyframes pfInUp { from { transform: translateY(100%); } }
@keyframes pfOutDown { to { transform: translateY(100%); } }
@keyframes pfFade { from { opacity: 0; } }
@keyframes pfFadeOut { to { opacity: 0; } }

.pf-sheet__in { display: flex; flex-direction: column; height: 100%; }
.pf-sheet__head { position: relative; flex: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px 18px 24px; box-shadow: inset 0 -1px 0 var(--edge-soft); }
.pf-sheet__head .pf-who { gap: 14px; }
.pf-sheet__head .pf-ava { width: 44px; height: 44px; font-size: 14px; }
.pf-sheet__id h3 { font-size: 20px; }
.pf-sheet__id p { margin-top: 2px; font-size: 13px; color: var(--text-3); }
.pf-grab { display: none; }
.pf-x { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--text-2); background: var(--glass-2); box-shadow: var(--sh-hair); transition: background-color .2s, color .2s; }
.pf-x:hover { color: var(--text-hi); background: var(--glass-3); }
.pf-x svg { width: 16px; height: 16px; }
.pf-sheet__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 26px 24px 40px; scrollbar-width: thin; scrollbar-color: var(--glass-3) transparent; }

.pf-hero__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.pf-big { display: block; margin-top: 8px; font-size: clamp(32px, 7vw, 44px); font-weight: 500; line-height: 1; }
.pf-meta { margin-top: 14px; font-size: 13px; color: var(--text-3); }
.pf-sheet__tf { margin: 28px 0 14px; }
.pf-sheet__tf .seg { display: flex; width: 100%; }
.pf-sheet__tf .seg button { flex: 1; padding: 0 6px; }

.pf-chart { position: relative; height: 220px; cursor: crosshair; touch-action: pan-y; user-select: none; }
.pf-chart svg { width: 100%; height: 100%; overflow: visible; }
.pf-chart__a { fill: url(#pfFill); }
.pf-chart__l { fill: none; stroke: var(--gold); stroke-width: 2; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(242, 199, 92, .45)); }
.pf-chart__base { stroke: rgba(186, 214, 247, .32); stroke-dasharray: 3 5; }
.pf-chart__lbl { font-family: var(--font-mono); font-size: 10.5px; fill: var(--text-4); }
.pf-chart__dot { fill: var(--gold-hi); }
.pf-chart__halo { fill: rgba(242, 199, 92, .2); }
.pf-chart__cross line { stroke: rgba(216, 236, 248, .3); }
.pf-chart__cross circle { fill: var(--bg); stroke: var(--gold-hi); stroke-width: 2; }
.pf-tip { position: absolute; left: 0; top: 0; pointer-events: none; padding: 8px 11px; border-radius: 10px; white-space: nowrap; background: var(--deep-glass); box-shadow: var(--sh-modal); font-family: var(--font-mono); font-size: 11.5px; color: var(--text-3); }
.pf-tip b { display: block; margin: 2px 0; font-size: 14px; font-weight: 500; color: var(--gold-hi); }
.pf-tip em { font-style: normal; }

.pf-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 18px 0 0; border-radius: 12px; overflow: hidden; background: var(--edge-soft); box-shadow: var(--sh-hair); }
.pf-kpis div { padding: 12px 14px; background: #070914; }
.pf-kpis dt { font-size: 12px; color: var(--text-4); }
.pf-kpis dd { margin: 4px 0 0; font-size: 15px; color: var(--text-hi); }

.pf-block { margin-top: 32px; }
.pf-block h4 { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; font-size: 16px; }
.pf-block h4 span { font-family: var(--font-body); font-size: 12.5px; font-weight: 400; color: var(--text-4); }
.pf-months { display: grid; grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: 4px; }
.pf-m { padding: 8px 9px; border-radius: 8px; }
.pf-m span { display: block; font-size: 11px; color: var(--text-3); }
.pf-m b { display: block; margin-top: 2px; font-family: var(--font-mono); font-size: 12.5px; font-weight: 500; }

.pf-trs, .pf-ghosts { display: grid; gap: 1px; }
.pf-trs { border-radius: 12px 12px 0 0; overflow: hidden; }
.pf-trs:last-child { border-radius: 12px; }
.pf-tr { display: grid; grid-template-columns: 1.15fr 1.2fr .8fr 1fr; gap: 10px; align-items: center; padding: 12px 14px; font-size: 13px; color: var(--text-2); background: var(--glass-2); }
.pf-tr small { display: block; font-size: 11px; color: var(--text-4); }
.pf-tr__sym b { margin-right: 8px; font-family: var(--font-mono); font-weight: 500; color: var(--text-hi); }
.pf-side { font-style: normal; font-size: 11px; padding: 2px 6px; border-radius: 4px; }
.pf-side--buy { background: var(--up-bg); color: var(--up); }
.pf-side--sell { background: var(--down-bg); color: var(--down); }
.pf-tr__lots { color: var(--text-3); }
.pf-tr__pl { text-align: right; font-weight: 500; }

.pf-lock { position: relative; min-height: 290px; margin-top: 1px; }
.pf-ghosts { filter: blur(5px); opacity: .5; user-select: none; pointer-events: none; -webkit-mask-image: linear-gradient(#000 15%, transparent 95%); mask-image: linear-gradient(#000 15%, transparent 95%); }
.pf-gate { position: absolute; left: 50%; top: 30px; transform: translateX(-50%); width: min(380px, calc(100% - 24px)); padding: 24px 20px 22px; text-align: center; border-radius: 16px; background: rgba(7, 9, 20, .88); box-shadow: var(--sh-modal), 0 0 0 1px var(--gold-edge), 0 24px 60px -24px rgba(242, 199, 92, .35); }
.pf-gate .tile { margin: 0 auto 14px; color: var(--gold-hi); background: var(--gold-soft); box-shadow: inset 0 0 0 1px var(--gold-edge); }
.pf-gate b { display: block; font-size: 17px; font-weight: 500; color: var(--text-hi); }
.pf-gate p { margin-top: 6px; font-size: 13.5px; color: var(--text-3); }
.pf-gate__ctas { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.pf-fine { margin-top: 28px; font-size: 12px; line-height: 1.55; color: var(--text-4); }

@media (max-width: 700px) {
  .pf-sheet { inset: auto 0 0 0; width: 100%; height: min(92dvh, 100%); border-radius: 22px 22px 0 0; box-shadow: var(--sh-modal), 0 -1px 0 var(--edge); }
  .pf-sheet[open] { animation-name: pfInUp; }
  .pf-sheet.is-closing { animation-name: pfOutDown; }
  .pf-sheet__head { padding: 24px 14px 14px 18px; touch-action: none; }
  .pf-grab { display: block; position: absolute; top: 9px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: var(--glass-3); }
  .pf-sheet__body { padding: 20px 16px calc(28px + env(safe-area-inset-bottom)); }
  .pf-chart { height: 190px; }
  .pf-big { font-size: 36px; }
  .pf-sheet__tf .seg button { height: 38px; }
  .pf-kpis { grid-template-columns: repeat(2, 1fr); }
  .pf-tr { grid-template-columns: minmax(0, 1fr) auto; row-gap: 4px; }
  .pf-tr__lots { display: none; }
  .pf-tr__pl { grid-column: 2; grid-row: 1 / span 2; }
}
@media (prefers-reduced-motion: reduce) {
  .pf-sheet[open], .pf-sheet.is-closing, .pf-sheet::backdrop { animation: none; }
  .pf-list > li, .pf-ingot > i { transition: none; }
  .pf-list > li.pf-enter, .pf-hint .pf-open__k, .pf-hint .pf-open__k svg { animation: none; }
}
