/* Inmate dossier: live desk facts and the profit-and-loss curve. */
#cellblock.cc #desk-status[data-status=locked]{color:#ff6b62}
#cellblock.cc #desk-status[data-status=holding]{color:#e8c46a}
#cellblock.cc #desk-status[data-status=watching]{color:#9fd59a}
#cellblock.cc #desk-last[data-sign=up]{color:#7ff0a8}
#cellblock.cc #desk-last[data-sign=down]{color:#ff7a6e}
#cellblock.cc .desk-meter-label{display:flex;justify-content:space-between;font-size:12.5px;color:var(--dim)}
#cellblock.cc .desk-meter-label span:last-child{color:var(--ink-hi)}
#cellblock.cc .desk-curve{margin:0;padding:10px 14px 12px;border-bottom:1px dashed var(--line-2)}
#cellblock.cc .desk-curve-head{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:6px;font-size:12px;color:var(--dim)}
#cellblock.cc .desk-curve-head i{font-style:normal;color:var(--faint)}
#cellblock.cc .desk-curve-head b{font-size:15px;font-variant-numeric:tabular-nums;color:var(--ink-hi)}
#cellblock.cc .desk-curve[data-sign=up] .desk-curve-head b{color:#3ddc84}
#cellblock.cc .desk-curve[data-sign=down] .desk-curve-head b{color:#ff4d4f}
#cellblock.cc #desk-curve-plot{display:block;width:100%;height:104px;background:linear-gradient(#ffffff05 1px,transparent 1px) 0 0/100% 24px,#0c0a0a;border:1px solid #241f1e;overflow:visible}
#cellblock.cc .desk-grid line{stroke:#2a2423;stroke-width:1;stroke-dasharray:2 4;vector-effect:non-scaling-stroke}
#cellblock.cc .desk-zero{stroke:#6d6360;stroke-width:1;stroke-dasharray:3 3;vector-effect:non-scaling-stroke}
#cellblock.cc .desk-line{fill:none;stroke-width:1.8;stroke-linejoin:round;vector-effect:non-scaling-stroke}
#cellblock.cc .desk-line-up{stroke:#3ddc84}
#cellblock.cc .desk-line-down{stroke:#ff4d4f}
#cellblock.cc .desk-dot{stroke:#0c0a0a;stroke-width:1.2;vector-effect:non-scaling-stroke}
#cellblock.cc .desk-dot.is-up,#cellblock.cc .desk-node.is-up{fill:#3ddc84}
#cellblock.cc .desk-node.is-down{fill:#ff4d4f}
#cellblock.cc .desk-node{stroke:#0c0a0a;stroke-width:1;vector-effect:non-scaling-stroke}
#cellblock.cc .desk-dot.is-down{fill:#ff4d4f;animation:desk-pulse 1.8s ease-in-out infinite}
@keyframes desk-pulse{50%{opacity:.35}}
@media (prefers-reduced-motion:reduce){#cellblock.cc .desk-dot.is-down{animation:none}}
#cellblock.cc .desk-curve-foot{display:flex;justify-content:space-between;gap:8px;margin-top:5px;font-size:10px;color:var(--faint);font-variant-numeric:tabular-nums;white-space:nowrap}
#cellblock.cc .desk-curve-foot span{overflow:hidden;text-overflow:ellipsis}
/* ERRNO's trading wallet: short form, one click copies the full address. */
#cellblock.cc .file-identity p.file-wallet::before{content:none}
#cellblock.cc .file-identity p.file-wallet{display:flex;align-items:baseline;gap:6px;margin-top:2px;color:var(--faint)}
#cellblock.cc #file-wallet{all:unset;cursor:pointer;color:var(--ink);font:12px var(--mono);font-variant-numeric:tabular-nums}
#cellblock.cc #file-wallet span{margin-left:8px;padding:0 4px;border:1px solid var(--line-2);font-size:9.5px;letter-spacing:.06em;color:var(--dim);text-transform:uppercase}
#cellblock.cc #file-wallet:hover,#cellblock.cc #file-wallet:focus-visible{color:var(--ink-hi)}
#cellblock.cc #file-wallet:hover span{border-color:var(--red);color:var(--red-ink)}
#cellblock.cc #file-wallet:focus-visible{outline:1px solid var(--red);outline-offset:3px}
#cellblock.cc #file-wallet[data-copied] span{border-color:#4a5a3c;color:#a8c78a}
