/* Cella007FX PRO panel-levels.css — panel v2 (11 Nov 2026, design/panel-v2/SPEC.md §4.5 / §4.6): Range card (#w-stats,
   classes st2-*, widgets/stats.js) and Levels card (#w-pivots, classes pv2-*, widgets/pivots.js). Tokens only (the
   --vz-ink-* text inks come from panel.css); every rule is scoped to its card, the shared kit stays in panel.css. */

/* ---- Range #w-stats ------------------------------------------------------------------------------------------- */
#w-stats .st2-rhead { margin-bottom: -6px; }
#w-stats .st2-rval { font-size: var(--vz-fs-sm); color: var(--text-1); }
#w-stats .vz-track { padding-top: 10px; }          /* the day bar's needle carries no label: no room reserved above it */
@media (pointer: coarse) { #w-stats .vz-track { padding-top: 18px; } }   /* ... but a finger needs room above the bar to hit the needle (review V4) */
#w-stats .st2-skel .vz-skel { display: block; width: 100%; }
#w-stats .st2-gauges { display: flex; align-items: flex-end; justify-content: space-around; flex-wrap: wrap; gap: 8px; min-width: 0; }
#w-stats .st2-gauge { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; }
#w-stats .st2-gauge > [role="button"] { border-radius: var(--radius); }
#w-stats .st2-adx [hidden] { display: none; }        /* the D1 / TF switch hides on the D1 chart (review V3) */
#w-stats .st2-gloss { margin: 2px 0 0; font-size: 11px; line-height: 1.4; }
#w-stats .st2-table td:first-child { color: var(--text-1); }
#w-stats .st2-table td.dim { font-size: var(--vz-fs-sm); }
/* same table type as the Trend drawer (11 px, 4/2 px cells): name and value never wrap, the dim note column takes the
   wrapping (on the 300 px desktop panel "ATR(14) M15" and "ADX(14) D1" used to break over two lines; 11 Nov 2026) */
#w-stats .st2-table { font-size: 11px; }
#w-stats .st2-table td { padding: 4px 2px; }
#w-stats .st2-table td:first-child, #w-stats .st2-table td:nth-child(2) { white-space: nowrap; }
#w-stats .st2-table td.dim { white-space: normal; font-size: 11px; }
/* 12 Nov 2026 (audit L22): the ATR rows name their style on a small second line ('ATR(14) M15' over 'Wilder'), so the
   name column keeps its width; the row's peek says how MT5's ATR differs */
#w-stats .st2-table .st2-k { display: inline-block; border-radius: 4px; }
#w-stats .st2-table .st2-k1, #w-stats .st2-table .st2-tag { display: block; }
#w-stats .st2-table .st2-tag { font-size: var(--vz-fs-micro); line-height: 1.2; color: var(--text-2); }
#pv-table tr[hidden] { display: none; }               /* Camarilla R4 / S4 rows hide for the other pivot types */

/* ---- Levels #w-pivots ------------------------------------------------------------------------------------------ */
#w-pivots .pv2-ctl { flex-wrap: wrap; row-gap: 4px; }
#w-pivots .pv2-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
#w-pivots .pv2-pair .vz-stat { padding: 6px 8px; background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); }
#w-pivots .pv2-up .vz-stat-k, #w-pivots .pv2-up .vz-stat-s { color: var(--vz-ink-up); }
#w-pivots .pv2-dn .vz-stat-k, #w-pivots .pv2-dn .vz-stat-s { color: var(--vz-ink-down); }
#w-pivots .pv2-wait .vz-skel { display: block; width: 100%; }
#w-pivots .pv2-wait .note { margin: 6px 0 0; }
#w-pivots .vz-ladder { border-radius: var(--radius); }
/* the live-price tag sits on its line between the name and price columns, so it never covers a level's price */
#w-pivots .vz-lad-tag { right: auto; left: calc(50% - 13px); transform: translate(-50%, -50%); }
#w-pivots .pv2-foot { margin: 2px 0 0; }
#pv-table td:first-child { font-weight: 600; }
