/* File: /assets/css/heat-engine.css
   Module: EKG Animations, Prism Blocks & Behavioral Modal */

/* Baseline phase (score < 50): emerald, the brand color. Must match the first
   band of render() in heat-engine.js, so the color painted before the deferred
   script runs is the color it keeps. Heat climbs emerald -> blue -> amber -> red. */
:root {
    --ch-ekg-color: #10B981;
    --ch-ekg-color-muted: rgba(16, 185, 129, 0.15);
    --ch-ekg-speed: 3.0s;
    --ch-ekg-glow: rgba(16, 185, 129, 0.2);
}

/* ==========================================================================
   1. BLOCKQUOTES EKG
   The trace carries a neon drop-shadow so the pulse reads as a living signal
   on both the light tint and the dark well behind it. Field notes ([ch_note])
   carry the same trace.
   ========================================================================== */
.entry-content blockquote::before,
.entry-content .ch-note::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 24px;
    background-color: var(--ch-ekg-color);
    -webkit-mask-image: var(--dyn-mask-url, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 150'%3E%3Cpath d='M6,0 V60 L2,65 L22,75 L2,85 L6,90 V150' fill='none' stroke='black' stroke-width='4' stroke-linejoin='round' stroke-linecap='round'/%3E%3C/svg%3E"));
    mask-image: var(--dyn-mask-url, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 150'%3E%3Cpath d='M6,0 V60 L2,65 L22,75 L2,85 L6,90 V150' fill='none' stroke='black' stroke-width='4' stroke-linejoin='round' stroke-linecap='round'/%3E%3C/svg%3E"));
    -webkit-mask-size: 24px var(--dyn-mask-h, 150px); mask-size: 24px var(--dyn-mask-h, 150px);
    -webkit-mask-repeat: repeat-y; mask-repeat: repeat-y;
    animation: ch-ekg-pulse-vert-dyn calc(var(--ch-ekg-speed) * var(--dyn-anim-speed, 1)) linear infinite;
    filter: drop-shadow(0 0 5px var(--ch-ekg-glow));
    transition: background-color 0.5s ease; z-index: 1;
}
@keyframes ch-ekg-pulse-vert-dyn {
    0% { -webkit-mask-position-y: 0; mask-position-y: 0; }
    100% { -webkit-mask-position-y: var(--dyn-mask-h, 150px); mask-position-y: var(--dyn-mask-h, 150px); }
}

/* ==========================================================================
   2. UNORDERED LISTS: Cyber Nodes Wave (Fixed Direction)
   A data packet travels the chain: the feed line and its node fire together,
   the node fills solid and emits a double ring (halo + neon glow).
   ========================================================================== */
.entry-content ul > li::before {
    content: ""; position: absolute; left: 0; top: 0.75em; width: 12px; height: 2px;
    background: var(--ch-border); border-radius: 2px;
    animation: ch-node-line var(--ch-ekg-speed) infinite calc(var(--ch-ekg-speed) * -1 * ((var(--list-total, 1) - var(--node-idx, 0)) / var(--list-total, 1)));
    transition: width 0.3s ease, background 0.3s ease;
}
.entry-content ul > li::after {
    content: ""; position: absolute; left: 12px; top: calc(0.75em - 3.5px); width: 9px; height: 9px;
    border: 2px solid var(--ch-border); border-radius: 50%; background: var(--ch-bg-main);
    box-sizing: border-box; z-index: 2;
    animation: ch-node-idle var(--ch-ekg-speed) infinite calc(var(--ch-ekg-speed) * -1 * ((var(--list-total, 1) - var(--node-idx, 0)) / var(--list-total, 1)));
}
@keyframes ch-node-idle {
    0%, 16%, 100% { border-color: var(--ch-border); box-shadow: none; background: var(--ch-bg-main); transform: scale(1); }
    5% { border-color: var(--ch-ekg-color); background: var(--ch-ekg-color); box-shadow: 0 0 0 4px var(--ch-ekg-color-muted), 0 0 10px var(--ch-ekg-glow); transform: scale(1.2); }
}
@keyframes ch-node-line {
    0%, 16%, 100% { background-color: var(--ch-border); }
    5% { background-color: var(--ch-ekg-color); }
}
.entry-content ul > li:hover::before, .entry-content ul > li:hover::after {
    transition: all 0.05s ease-out !important;
    background-color: var(--ch-ekg-color) !important;
}
.entry-content ul > li:hover::before { width: 18px !important; }
.entry-content ul > li:hover::after {
    left: 18px !important; border-color: var(--ch-ekg-color) !important;
    box-shadow: 0 0 0 4px var(--ch-ekg-color-muted), 0 0 12px var(--ch-ekg-glow) !important; transform: scale(1.3) !important;
}

/* ==========================================================================
   3. ORDERED LISTS: Sequential Pipelines (Fixed Direction)
   The chip fires solid (white digits on heat color, halo ring), then a light
   packet flows DOWN the connector toward the next step - a living pipeline.
   ========================================================================== */
.entry-content ol > li::before {
    content: counter(ch-ordered-list, decimal-leading-zero); counter-increment: ch-ordered-list;
    position: absolute; left: 0; top: 0.1em; width: 34px; height: 24px;
    display: flex; align-items: center; justify-content: center;
    font-family: 'JetBrains Mono', 'Roboto Mono', monospace; font-weight: 800; font-size: 0.8rem;
    color: var(--ch-text-muted); background-color: var(--ch-bg-main);
    border: 2px solid var(--ch-border); border-radius: 6px; z-index: 2;
    animation: ch-ol-idle var(--ch-ekg-speed) infinite calc(var(--ch-ekg-speed) * -1 * ((var(--list-total, 1) - var(--node-idx, 0)) / var(--list-total, 1)));
}
.entry-content ol > li::after {
    content: ''; position: absolute; left: 16px; top: 1.8em; bottom: -1.1rem; width: 2px;
    background-color: var(--ch-border);
    background-image: linear-gradient(180deg, var(--ch-border) 0%, var(--ch-border) 38%, var(--ch-ekg-color) 50%, var(--ch-border) 62%, var(--ch-border) 100%);
    background-size: 100% 400%; background-position-y: 0%;
    animation: ch-ol-flow var(--ch-ekg-speed) infinite calc(var(--ch-ekg-speed) * -1 * ((var(--list-total, 1) - var(--node-idx, 0)) / var(--list-total, 1)));
    z-index: 1; transition: background-color 0.3s ease;
}
.entry-content ol > li:last-child::after { display: none; }
@keyframes ch-ol-idle {
    0%, 16%, 100% { border-color: var(--ch-border); color: var(--ch-text-muted); box-shadow: none; transform: scale(1); background-color: var(--ch-bg-main); }
    5% { border-color: var(--ch-ekg-color); color: #FFFFFF; box-shadow: 0 0 0 4px var(--ch-ekg-color-muted), 0 0 14px var(--ch-ekg-glow); transform: scale(1.08); background-color: var(--ch-ekg-color); }
}
/* Packet ride: 0% shows plain rail, sweeping to 100% pushes the glowing segment
   through the visible window; both endpoints render identical plain rail, so the
   loop reset is invisible. */
@keyframes ch-ol-flow {
    0%, 7% { background-position-y: 0%; }
    30%, 100% { background-position-y: 100%; }
}
.entry-content ol > li:hover::before, .entry-content ol > li:hover::after {
    transition: all 0.05s ease-out !important;
    background-color: var(--ch-ekg-color) !important;
    background-image: none !important;
    box-shadow: 0 0 12px var(--ch-ekg-glow) !important;
}
.entry-content ol > li:hover::before { border-color: var(--ch-ekg-color) !important; color: #ffffff !important; transform: scale(1.1) !important; }

/* ==========================================================================
   4. DATA TABLES EKG
   ========================================================================== */
.type-post .entry-content table thead::after {
    content: ''; position: absolute; bottom: -2px; left: 0; width: 100%; height: 24px;
    background-color: var(--ch-ekg-color);
    -webkit-mask-image: var(--dyn-mask-url, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2000 24'%3E%3Cpath d='M0,22 H1900 L1915,8 L1930,26 L1950,2 L1965,22 H2000' fill='none' stroke='black' stroke-width='4' stroke-linejoin='round' stroke-linecap='round'/%3E%3C/svg%3E"));
    mask-image: var(--dyn-mask-url, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2000 24'%3E%3Cpath d='M0,22 H1900 L1915,8 L1930,26 L1950,2 L1965,22 H2000' fill='none' stroke='black' stroke-width='4' stroke-linejoin='round' stroke-linecap='round'/%3E%3C/svg%3E"));
    -webkit-mask-size: var(--dyn-mask-w, 2000px) 24px; mask-size: var(--dyn-mask-w, 2000px) 24px;
    -webkit-mask-repeat: repeat-x; mask-repeat: repeat-x;
    animation: ch-ekg-pulse-horiz-dyn calc(var(--ch-ekg-speed) * var(--dyn-anim-speed, 1)) linear infinite;
    filter: drop-shadow(0 0 5px var(--ch-ekg-glow));
    z-index: 10; transition: background-color 0.5s ease; pointer-events: none;
}
@keyframes ch-ekg-pulse-horiz-dyn {
    0% { -webkit-mask-position-x: 0; mask-position-x: 0; }
    100% { -webkit-mask-position-x: var(--dyn-mask-w, 2000px); mask-position-x: var(--dyn-mask-w, 2000px); }
}

/* ==========================================================================
   5. CODE BLOCKS EKG (PRISM.JS)
   Traces start below the injected terminal header (.ch-code-head, ~2.4rem)
   so the vitals run only along the code body, never across the chrome.
   ========================================================================== */
div.code-toolbar.ch-short-code::after {
    content: ''; position: absolute; top: 2.4rem; left: 0; bottom: 0; width: 3px;
    background: linear-gradient(180deg, transparent 0%, var(--ch-ekg-color) 50%, transparent 100%); background-size: 100% 200%;
    animation: ch-short-pulse calc(var(--ch-ekg-speed) * 0.8) linear infinite;
    box-shadow: 0 0 10px var(--ch-ekg-glow); border-radius: 0 0 0 12px; z-index: 11; pointer-events: none;
}
@keyframes ch-short-pulse { 0% { background-position: 0 -100%; } 100% { background-position: 0 200%; } }

div.code-toolbar.ch-long-code::after {
    content: ''; position: absolute; left: 0; top: 2.4rem; bottom: 0; width: 24px; background-color: var(--ch-ekg-color);
    -webkit-mask-image: var(--code-mask-url, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 150'%3E%3Cpath d='M6,0 V60 L2,65 L22,75 L2,85 L6,90 V150' fill='none' stroke='black' stroke-width='4' stroke-linejoin='round' stroke-linecap='round'/%3E%3C/svg%3E"));
    mask-image: var(--code-mask-url, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 150'%3E%3Cpath d='M6,0 V60 L2,65 L22,75 L2,85 L6,90 V150' fill='none' stroke='black' stroke-width='4' stroke-linejoin='round' stroke-linecap='round'/%3E%3C/svg%3E"));
    -webkit-mask-size: 24px var(--code-mask-h, 150px); mask-size: 24px var(--code-mask-h, 150px);
    -webkit-mask-repeat: repeat-y; mask-repeat: repeat-y;
    animation: ch-ekg-pulse-vert-dynamic calc(var(--ch-ekg-speed) * var(--code-anim-speed, 1)) linear infinite;
    filter: drop-shadow(0 0 5px var(--ch-ekg-glow));
    transition: background-color 0.5s ease; z-index: 11; border-radius: 0 0 0 12px; pointer-events: none;
}
@keyframes ch-ekg-pulse-vert-dynamic {
    0% { -webkit-mask-position-y: 0; mask-position-y: 0; }
    100% { -webkit-mask-position-y: var(--code-mask-h, 150px); mask-position-y: var(--code-mask-h, 150px); }
}

/* ==========================================================================
   5b. SCROLL REVEAL (article blocks fade up as they enter the viewport)
   The .ch-reveal class is stamped by heat-engine.js only when the browser
   supports IntersectionObserver AND motion is allowed - no-JS keeps content
   fully visible. Transition lives on .is-inview so the hidden state applies
   instantly with zero flash.
   ========================================================================== */
.ch-reveal { opacity: 0; transform: translateY(16px); }
.ch-reveal.is-inview {
    opacity: 1; transform: translateY(0);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   5c. REDUCED MOTION (kill every loop; content stays fully readable)
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    .entry-content blockquote::before,
    .entry-content .ch-note::before,
    .entry-content ul > li::before,
    .entry-content ul > li::after,
    .entry-content ol > li::before,
    .entry-content ol > li::after,
    .type-post .entry-content table thead::after,
    div.code-toolbar.ch-short-code::after,
    div.code-toolbar.ch-long-code::after,
    .ch-code-dots i {
        animation: none !important;
    }
    .ch-reveal { opacity: 1 !important; transform: none !important; }
}

/* ==========================================================================
   6. CONVERSION MODAL (Heart Attack)
   ========================================================================== */
.ch-heart-attack-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(15, 23, 42, 0.85); backdrop-filter: blur(12px); z-index: 9999; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
/* Anti-FOUC: the modal ships with the [hidden] attribute so it is display:none from
   first parse (UA stylesheet), never flashing before heat-engine.css/js apply. The JS
   removes the attribute on DOMContentLoaded once it controls visibility via .is-active.
   The attribute selector outranks the display:flex above, so hidden always wins. */
.ch-heart-attack-overlay[hidden] { display: none; }
.ch-heart-attack-overlay.is-active { opacity: 1; pointer-events: all; animation: ch-modal-fade-in 0.6s ease-out forwards; }
.ch-heart-attack-modal {
    background: #FFFFFF; border: 2px solid var(--ch-cta); border-radius: 12px; padding: 2.5rem 2.25rem; max-width: 460px; width: 90%; text-align: center; box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.35), 0 0 40px rgba(16, 185, 129, 0.15); transform: translateY(20px) scale(0.95); transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); max-height: 85vh; overflow-y: auto;
}
.ch-heart-attack-modal::-webkit-scrollbar { width: 6px; }
.ch-heart-attack-modal::-webkit-scrollbar-track { background: var(--ch-bg-main); border-radius: 6px; }
.ch-heart-attack-modal::-webkit-scrollbar-thumb { background: var(--ch-border); border-radius: 6px; }
.ch-heart-attack-overlay.is-active .ch-heart-attack-modal { transform: translateY(0) scale(1); }

.ch-ha-logo { display: flex; align-items: center; justify-content: center; gap: 0.25rem; margin-bottom: 1.5rem; }
.ch-ha-logo .ch-logo-icon { width: 45px; height: 45px; flex-shrink: 0; display: block; }
.ch-ha-logo .ch-logo-text { font-family: 'Inter', sans-serif; font-weight: 800; font-size: 1.7rem; color: var(--ch-text-main); line-height: 1; }

.ch-ha-title { color: var(--ch-text-main); font-size: 1.5rem; font-weight: 800; margin-bottom: 1rem; font-family: 'Inter', sans-serif; letter-spacing: -0.5px; }
.ch-ha-title span { color: var(--ch-cta); }
.ch-ha-desc { color: var(--ch-text-muted); font-size: 1rem; line-height: 1.55; margin-bottom: 1.75rem; }
.ch-ha-desc strong { color: var(--ch-text-main); }

.ch-ha-features { list-style: none; padding: 1.35rem 1.5rem; margin: 0 0 1.75rem; text-align: left; background: var(--ch-bg-main); border-radius: 10px; border: 1px solid var(--ch-border); }
.ch-ha-features li { position: relative; padding-left: 1.85rem; color: var(--ch-text-main); font-size: 0.92rem; font-weight: 500; margin-bottom: 0.55rem; line-height: 1.4; }
.ch-ha-features li:last-child { margin-bottom: 0; }
.ch-ha-features li strong { font-weight: 800; }
.ch-ha-features li::before {
    content: '';
    position: absolute;
    left: 0; top: 0.05rem;
    width: 20px; height: 20px;
    border-radius: 50%;
    background-color: var(--ch-cta);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 60%;
}

/* The upgrade button is the sitewide Premium button (style.css :root
   --ch-pro-*, Adrian 2026-10-03): blue fill, glow and light sweep. White on
   the old #10B981 was 2.5:1; on the Premium fill it is 5.2:1 or better. */
.ch-ha-btn { position: relative; isolation: isolate; overflow: hidden; display: inline-block; border: 1px solid var(--ch-pro-line); background-color: #2563EB; background-image: var(--ch-pro-fill); color: #fff !important; font-weight: 800; font-size: 1.1rem; padding: 0.85rem 2rem; border-radius: 10px; text-decoration: none; transition: background-color 0.2s, transform 0.2s, box-shadow 0.25s; box-shadow: var(--ch-pro-glow); width: 100%; }
.ch-ha-btn::after { content: ""; position: absolute; z-index: -1; top: 0; left: -80%; width: 45%; height: 100%; background: var(--ch-pro-sweep); transform: skewX(-18deg); transition: left 0.7s cubic-bezier(0.22, 1, 0.36, 1); pointer-events: none; }
.ch-ha-btn:hover, .ch-ha-btn:focus-visible, .ch-ha-btn:active { background-color: #1D4ED8; background-image: var(--ch-pro-fill-hi); box-shadow: var(--ch-pro-glow-hi); transform: translateY(-2px); color: #fff !important; text-decoration: none; }
.ch-ha-btn:hover::after, .ch-ha-btn:focus-visible::after { left: 130%; }
.ch-ha-btn:focus-visible { outline: 3px solid var(--ch-pro-ring); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .ch-ha-btn, .ch-ha-btn::after { transition: none; } .ch-ha-btn:hover { transform: none; } .ch-ha-btn:hover::after, .ch-ha-btn:focus-visible::after { left: -80%; } }
.ch-ha-close { display: block; margin-top: 1.25rem; color: var(--ch-text-muted); font-size: 0.85rem; cursor: pointer; text-decoration: underline; transition: color 0.2s; }
.ch-ha-close:hover { color: var(--ch-text-main); }

@keyframes ch-modal-fade-in {
    0% { opacity: 0; backdrop-filter: blur(0px); }
    100% { opacity: 1; backdrop-filter: blur(12px); }
}

@media (max-width: 480px) {
    .ch-heart-attack-modal { padding: 2rem 1.5rem; }
    .ch-ha-title { font-size: 1.3rem; }
    .ch-ha-desc { font-size: 0.95rem; }
    .ch-ha-features { padding: 1.1rem 1.15rem; }
}

/* ==========================================================================
   7. PREMIUM: OFF THE MONITOR
   body.ch-heat-premium is stamped server-side from CH_IAM::is_premium()
   (heat-engine.php); heat-engine.js stops before any tracking, so nothing here
   depends on a score. Every trace settles into one steady emerald line, and
   where the heartbeat spike used to fire sits the verified seal: a filled
   rosette with the check cut out of it. Nothing moves while a member reads;
   hover highlights still answer the pointer.
   Geometry of the vertical trace (24px wide pseudo-element): seal 20px at
   x 2, y 26; the line is 3px at x 10.5, from 0 to 22 and from 50 to the end,
   leaving a 4px gap either side of the seal.
   ========================================================================== */
body.ch-heat-premium {
    --ch-ekg-color: #10B981;
    --ch-ekg-color-muted: rgba(16, 185, 129, 0.15);
    --ch-ekg-glow: rgba(16, 185, 129, 0.22);
    --ch-seal: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cdefs%3E%3Cmask id='c'%3E%3Crect width='24' height='24' fill='white'/%3E%3Cpath d='M8.5 12.2l2.4 2.4 4.6-5' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/mask%3E%3C/defs%3E%3Cpath mask='url(%23c)' fill='black' d='M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z'/%3E%3C/svg%3E");
}

/* Vertical traces: quotes, field notes, code blocks (long and short alike) */
body.ch-heat-premium .entry-content blockquote::before,
body.ch-heat-premium .entry-content .ch-note::before,
body.ch-heat-premium div.code-toolbar.ch-long-code::after,
body.ch-heat-premium div.code-toolbar.ch-short-code::after {
    width: 24px;
    background: var(--ch-ekg-color);
    box-shadow: none;
    -webkit-mask-image: var(--ch-seal), linear-gradient(#000, #000), linear-gradient(#000, #000);
    mask-image: var(--ch-seal), linear-gradient(#000, #000), linear-gradient(#000, #000);
    -webkit-mask-size: 20px 20px, 3px 22px, 3px calc(100% - 50px);
    mask-size: 20px 20px, 3px 22px, 3px calc(100% - 50px);
    -webkit-mask-position: 2px 26px, 10.5px 0, 10.5px 100%;
    mask-position: 2px 26px, 10.5px 0, 10.5px 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    animation: none;
    filter: drop-shadow(0 0 4px var(--ch-ekg-glow));
}

/* Table header: a straight line with the seal where the spike was, sitting
   centered on the header's bottom edge (the element straddles it). */
body.ch-heat-premium .type-post .entry-content table thead::after {
    bottom: -12px;
    -webkit-mask-image: var(--ch-seal), linear-gradient(#000, #000), linear-gradient(#000, #000);
    mask-image: var(--ch-seal), linear-gradient(#000, #000), linear-gradient(#000, #000);
    -webkit-mask-size: 20px 20px, calc(100% - 58px) 3px, 30px 3px;
    mask-size: 20px 20px, calc(100% - 58px) 3px, 30px 3px;
    -webkit-mask-position: calc(100% - 34px) 2px, 0 10.5px, 100% 10.5px;
    mask-position: calc(100% - 34px) 2px, 0 10.5px, 100% 10.5px;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    animation: none;
}

/* Lists: every node lit and still, the pipeline solid */
body.ch-heat-premium .entry-content ul > li::before {
    animation: none;
    background: var(--ch-ekg-color);
}
body.ch-heat-premium .entry-content ul > li::after {
    animation: none;
    border-color: var(--ch-ekg-color);
    background: var(--ch-bg-main);
}
body.ch-heat-premium .entry-content ol > li::before {
    animation: none;
    border-color: var(--ch-ekg-color);
    color: #047857;
    color: color-mix(in srgb, var(--ch-ekg-color) 62%, var(--ch-text-main));
}
body.ch-heat-premium .entry-content ol > li::after {
    animation: none;
    background-image: none;
    background-color: color-mix(in srgb, var(--ch-ekg-color) 40%, var(--ch-border));
}

/* The note's heartbeat icon belongs to the monitor; the seal on the trace
   already marks the block. */
body.ch-heat-premium .ch-note-label svg { display: none; }