/* The Day stripes style of the glucose chart (views/chart-stripes.js; the pilot docs/mockups/charts/d-print.html): the
   box is a printed page on a calm paper with a faint grain; its colours are the --strp-* tokens of style.css, light and
   dark. The words are HTML over the SVG page, placed by the renderer in px from the box's top. */
.ins-box[data-style=stripes]{background:var(--strp-paper);border:0;border-radius:8px;box-shadow:var(--strp-shadow);color:var(--strp-ink)}
.strp-wrap{position:relative;height:100%}
.ins-curve.strp{display:block;width:100%;height:100%;overflow:visible}
.ins-curve.strp text{font-family:var(--sans)}
.strp .strp-grain{opacity:var(--strp-grain);mix-blend-mode:var(--strp-blend);pointer-events:none}
.strp .strp-edge{stroke:var(--strp-paper);stroke-width:.8;stroke-dasharray:1 3;opacity:.9}
.strp .strp-ev{fill:var(--strp-ink);stroke:var(--strp-paper);stroke-width:2.6px;paint-order:stroke;font-size:8.5px;font-weight:800}
.strp .strp-yg{stroke:var(--strp-paper);stroke-width:.7;stroke-dasharray:1 4;opacity:.55}
.strp .strp-yl{fill:var(--strp-ink);stroke:var(--strp-paper);stroke-width:2.6px;stroke-linejoin:round;paint-order:stroke;font-size:8.5px;font-weight:700}
.strp .strp-ghost{fill:none;stroke:var(--strp-ink);stroke-width:1;stroke-dasharray:2 3;opacity:.45}
.strp .strp-ghost-b{fill:var(--strp-paper);opacity:.28}
.strp .strp-halo{fill:none;stroke:var(--strp-paper);stroke-width:3.6;stroke-linejoin:round;stroke-linecap:round;opacity:.8}
.strp .strp-line{fill:none;stroke:var(--strp-ink);stroke-width:1.3;stroke-linejoin:round;stroke-linecap:round}
.strp .win{fill:var(--strp-ink);opacity:0;transition:opacity .2s}
.strp .win.on{opacity:.14}
.strp .strp-lead{stroke:var(--strp-ink);stroke-width:.8}
.strp .strp-dot{fill:var(--strp-paper);stroke:var(--strp-ink);stroke-width:1}
.strp .strp-off{fill:none}
.strp .strp-nowh{fill:var(--strp-ink);opacity:.14}
.strp .strp-now{fill:var(--strp-paper);stroke:var(--strp-ink);stroke-width:1.3}
.strp .strp-rule,.strp .strp-tick{stroke:var(--strp-ink);stroke-width:.6;fill:none}
.strp .strp-rule,.strp .strp-tick.major{stroke-width:1}
.strp .strp-hour{fill:var(--strp-ink2);font-family:var(--serif);font-size:10.5px}
.strp .strp-brk{fill:none;stroke:var(--strp-mut);stroke-width:.8}
@media (prefers-reduced-motion:no-preference){
  .strp .strp-line.draw{stroke-dasharray:1;stroke-dashoffset:1;animation:ins-draw 1s cubic-bezier(.3,.6,.3,1) forwards}
  .strp .strp-bars.draw{animation:strp-print .9s cubic-bezier(.3,.6,.3,1) both}
}
@keyframes strp-print{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 0)}}
/* the words: the headline in the serif with its emphasised part in the accent (upright in Hebrew, which has no
   italic), the line under it, the notes over the peaks, the brackets' labels, the key and the three numbers */
.strp-head,.strp-dek{position:absolute;inset-inline:12px;margin:0;pointer-events:none}
.strp-head{font:600 1.19rem/22px var(--serif);letter-spacing:-.01em;color:var(--strp-ink)}
.strp-head em{font-style:italic;color:var(--strp-acc)}
.strp-head[dir=rtl] em{font-style:normal}
.strp-dek{font:400 .8rem/1.3 var(--serif);color:var(--strp-ink2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.strp-notes,.strp-ents{position:absolute;inset:0;pointer-events:none}
.ins-box.scrubbing .strp-notes{opacity:.15;transition:none}
.strp-note{position:absolute;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:0;padding:0;border:0;background:none;color:var(--strp-ink);font-family:var(--sans);cursor:pointer;pointer-events:auto;overflow:visible}
/* the time, then the name as its own box with dir=auto, so a long name is cut at its logical end in its own
   direction (a Hebrew one on its left), never across the start the left-to-right line would cut */
.strp-nl{display:flex;gap:.4em;max-width:100%;font-size:.5rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;line-height:1.2;color:var(--strp-mut);white-space:nowrap}
.strp-nl .num{flex:none}
.strp-nm{min-width:0;overflow:hidden;text-overflow:ellipsis}
.strp-nl .he{font-size:.62rem;letter-spacing:0}
.strp-note b{font:italic 600 .9rem/1.05 var(--serif);white-space:nowrap}
.strp-note.more{justify-content:center;border:1px solid var(--strp-line);border-radius:999px;font-size:.66rem;font-weight:800;padding:0 8px;width:auto}
.strp-note:focus-visible,.strp-ent:focus-visible{outline:2px solid var(--focus);outline-offset:2px;border-radius:6px}
.strp-ent{position:absolute;display:flex;justify-content:center;align-items:flex-start;min-height:24px;padding:0;border:0;background:none;color:var(--strp-mut);font:italic 400 .72rem/1.3 var(--serif);cursor:pointer;pointer-events:auto;white-space:nowrap}
.strp-ent .i{width:13px;height:13px}
.strp-ent.more{font:700 .66rem/1.3 var(--sans);font-style:normal;padding:0 6px}
.strp-key{position:absolute;inset-inline:12px;display:flex;white-space:nowrap;overflow:hidden;align-items:center;gap:8px;font-size:.62rem;font-weight:700;line-height:1.2;color:var(--strp-mut);pointer-events:none}
.strp-key svg{flex:none;direction:ltr}
.strp-key text{fill:var(--strp-mut);font-size:7px;font-weight:700}
.strp-key path{stroke:var(--strp-mut);stroke-width:.7}
.strp-stats{position:absolute;inset-inline:12px;display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--strp-ink);pointer-events:none}
.strp-stats div{padding-top:6px;padding-inline-start:10px;border-inline-start:1px solid var(--strp-line)}
.strp-stats div:first-child{border:0;padding-inline-start:0}
.strp-stats b{display:block;font:600 1.1rem/1.1 var(--serif);color:var(--strp-ink)}
.strp-stats small{font-size:.56rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--strp-mut)}
.strp-stats[dir=rtl] small,.strp-key[dir=rtl] span{font-size:.66rem;letter-spacing:0}
