/* instrument.css · the graphs as instruments (founder 5 Dec 2026: Blind spots and Accuracy "so primitive", Forecasts'
   graph "still looks primitive"; her ledger: engraved rails with ticks, 0/50/100 scales, dotted gridlines, a thin lit
   line ending in a point, corner brackets, glass depth, a staged entrance; figures in today-blue boxes).
   One family for js/74b (Blind spots), js/74c (Accuracy, Forecasts). No glow on text, borders or rails. */

/* corner brackets: four engraved corners around a picture, "a touch of Palantir" */
.ins-br{ position:relative; padding:18px 20px 14px;
  --bc:rgba(127,211,255,.42); --bl:14px;
  background:
    linear-gradient(var(--bc),var(--bc)) left top / var(--bl) 1px no-repeat, linear-gradient(var(--bc),var(--bc)) left top / 1px var(--bl) no-repeat,
    linear-gradient(var(--bc),var(--bc)) right top / var(--bl) 1px no-repeat, linear-gradient(var(--bc),var(--bc)) right top / 1px var(--bl) no-repeat,
    linear-gradient(var(--bc),var(--bc)) left bottom / var(--bl) 1px no-repeat, linear-gradient(var(--bc),var(--bc)) left bottom / 1px var(--bl) no-repeat,
    linear-gradient(var(--bc),var(--bc)) right bottom / var(--bl) 1px no-repeat, linear-gradient(var(--bc),var(--bc)) right bottom / 1px var(--bl) no-repeat; }

/* engraved rails, ticks, dotted gridlines and their labels, inside an SVG */
.ins-rail{ fill:none; stroke:rgba(170,215,255,.30); stroke-width:1; }
.ins-tick{ fill:none; stroke:rgba(170,215,255,.36); stroke-width:1; }
.ins-tick.is-major{ stroke:rgba(190,232,255,.6); }
.ins-grid{ fill:none; stroke:rgba(170,215,255,.24); stroke-width:1; stroke-dasharray:1 4; }
.ins-said{ fill:none; stroke:#dff4ff; stroke-width:1.2; stroke-dasharray:4 3; }
.ins-pt{ fill:#dff4ff; }
.ins-lab{ font:400 var(--fs-12) var(--f-body, Manrope, sans-serif); fill:rgb(154,168,188); font-variant-numeric:tabular-nums; }
.ins-lab.is-today{ fill:#7FD3FF; font-weight:500; }
.ins-lab.is-k{ font-size:var(--fs-13); font-weight:500; fill:#7FD3FF; }
.ins-lab.is-v{ font-size:var(--fs-13); fill:#dff4ff; }

/* the one plain sentence under a picture, with its numbers */
.ins-says{ margin:14px 0 0; max-width:58ch; font:400 var(--fs-15)/1.5 var(--f-body, Manrope, sans-serif); color:rgb(180,190,204); }
.ins-says b{ color:#fff; font-weight:500; }
.ins-says--c{ margin-left:auto; margin-right:auto; text-align:center; }

/* the staged entrance: the floor first, row by row, then the rails, then the cubes (they already drop in) */
@media (prefers-reduced-motion:no-preference){
  .bsc:not(.is-built) .bsc-t0, .gr:not(.is-built) .gr-t0{ opacity:0; }
  .bsc .bsc-t0, .gr .gr-t0{ transition:opacity .5s ease var(--d,0ms); }
  .bsc:not(.is-built) .ins-rails, .gr:not(.is-built) .ins-rails{ opacity:0; }
  .bsc .ins-rails, .gr .ins-rails{ transition:opacity .8s ease .5s; }
  .gr:not(.is-built) .ins-bar__v{ transform:scaleX(0); }
  .gr .ins-bar__v{ transform-origin:left center; transition:transform 1s cubic-bezier(.2,.8,.2,1) .6s; }
}

/* ── BLIND SPOTS: the floor framed, the rails ruled, the cube's figures in boxes ── */
#view-blindspots .bsc.ins-br{ margin-top:14px; }
#view-blindspots .bsi-bars{ position:relative; display:flex; flex-direction:column; gap:16px; }
#view-blindspots .bsi-bars::before{ content:""; position:absolute; left:0; right:0; top:22px; bottom:0; pointer-events:none;
  background-image:linear-gradient(rgba(170,215,255,.22) 25%, transparent 25%), linear-gradient(rgba(170,215,255,.22) 25%, transparent 25%), linear-gradient(rgba(170,215,255,.22) 25%, transparent 25%);
  background-size:1px 4px; background-repeat:repeat-y; background-position:0 0, 50% 0, 100% 0; }
#view-blindspots .bsi-bar__t.is-minor{ height:4px; background:rgba(170,215,255,.22); }
#view-blindspots .bsi-bar__v{ height:1.5px; }
#view-blindspots .bsi-bar__v.is-bad, #view-blindspots .bsi-bar__v.is-yes{ box-shadow:none; }
#view-blindspots .bsi-bar__v::after{ right:-4px; top:-3px; width:7px; height:7px; border-radius:1.5px; }
#view-blindspots .bsx-key{ display:none; }
#view-blindspots .bsx-figs{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:12px; width:100%; max-width:470px; margin:2px auto 0; }
#view-blindspots .bsx-fig{ position:relative; margin:0; padding:14px 16px 16px; border-radius:16px; border:.8px solid rgba(190,232,255,.11);
  background:radial-gradient(240px 110px at 85% -10%, rgba(127,211,255,.11), transparent 70%), linear-gradient(180deg, rgba(10,40,78,.38), rgba(3,20,42,.30));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08), 0 18px 44px rgba(0,10,40,.45); }
#view-blindspots .bsx-fig::after{ content:""; position:absolute; left:16px; right:16px; top:0; height:1px; pointer-events:none; background:linear-gradient(90deg, transparent, rgba(207,243,255,.4), transparent); }
#view-blindspots .bsx-fig__k{ display:flex; align-items:center; gap:8px; margin:0; font:500 var(--fs-14)/1.3 var(--f-body, Manrope, sans-serif); color:#7FD3FF; white-space:nowrap; }
#view-blindspots .bsx-fig__k i{ flex:none; width:10px; height:10px; border-radius:2px; }
#view-blindspots .bsx-fig__k i.is-flag{ background:linear-gradient(150deg,rgba(0,191,255,.8),rgba(10,122,205,.7)); border:1px solid rgba(220,242,255,.6); }
#view-blindspots .bsx-fig__k i.is-bad{ background:linear-gradient(150deg,#e8f8ff,#7fd3ff); }
#view-blindspots .bsx-fig__k i.is-void{ background:rgba(236,248,255,.25); border:1px dashed #dff4ff; }
#view-blindspots .bsx-fig__v{ margin:10px 0 0; font:300 var(--fs-40)/1 var(--f-body, Manrope, sans-serif); letter-spacing:-.05em; font-variant-numeric:tabular-nums; color:rgb(238,240,243); }
#view-blindspots .bsx-fig__v.is-no{ color:rgb(154,168,188); }
@media (max-width:600px){ #view-blindspots .bsx-figs{ gap:8px; } #view-blindspots .bsx-fig{ padding:12px 12px 14px; } #view-blindspots .bsx-fig__k{ font-size:var(--fs-13); } }

/* ── ACCURACY and FORECASTS: the pictures framed; the band boxes carry the same ruled rail ── */
.gr-obj .ins-br, .gr-floorbox .ins-br{ display:block; }
.ins-bar{ position:relative; margin-top:18px; padding-bottom:18px; }
.ins-bar__track{ position:relative; height:12px; border-bottom:1px solid rgba(170,215,255,.28); }
.ins-bar__track::before{ content:""; position:absolute; left:0; right:0; top:-30px; bottom:0; pointer-events:none;
  background-image:linear-gradient(rgba(170,215,255,.2) 25%, transparent 25%), linear-gradient(rgba(170,215,255,.2) 25%, transparent 25%), linear-gradient(rgba(170,215,255,.2) 25%, transparent 25%);
  background-size:1px 4px; background-repeat:repeat-y; background-position:0 0, 50% 0, 100% 0; }
.ins-bar__t{ position:absolute; bottom:-1px; width:1px; height:4px; background:rgba(170,215,255,.26); }
.ins-bar__t.is-major{ height:7px; background:rgba(190,232,255,.55); }
.ins-bar__t:last-child{ margin-left:-1px; }
.ins-bar__v{ position:absolute; left:0; bottom:-1px; height:1.5px; background:#7FD3FF; }
.ins-bar__v::after{ content:""; position:absolute; right:-3.5px; top:-3px; width:7px; height:7px; border-radius:1.5px; background:#dff4ff; }
.ins-bar__said{ position:absolute; bottom:-1px; width:0; height:20px; border-left:1.2px dashed #dff4ff; }
.ins-bar__scale{ position:absolute; left:0; right:0; bottom:0; display:flex; justify-content:space-between; font:400 var(--fs-12)/1 var(--f-body, Manrope, sans-serif); color:rgb(154,168,188); font-variant-numeric:tabular-nums; }

/* on a phone the pictures shrink to a third: their small labels would be specks, so the picture keeps its rails and
   the words live where they can be read (the sentence under it, the band boxes, the lit tile for today) */
@media (max-width:600px){
  .gr-ten text, .gr-floor .ins-lab, .bsc .ins-lab, .bsc .bsc-day{ display:none; }
  .ins-br{ padding:12px 12px 10px; --bl:10px; }
}

/* a still-open decision on the Blind spots floor is frosted, as on Accuracy and Forecasts (her ledger: frosted, never black) */
#view-blindspots .bsc-cube.is-open polygon{ fill:rgba(236,248,255,.16); stroke:rgba(223,244,255,.85); stroke-dasharray:2 2; }
