/* Lightroom Classic's panels, rebuilt from the screen recording; used inside the stories' frame (story.css).
   Everything is laid out in the recording's own pixels (1080 × 760) through --u, so the panel stays
   sharp at any width. Colours are sampled from the recording. */
.lrq {
  --u: calc(100cqw / 1080);
  position: relative; width: 100%; aspect-ratio: 1080 / 760; overflow: hidden;
  container-type: inline-size; border-radius: inherit;
  background: #4f4f4f; color: #c6c6c6;
  font-family: "Myriad Pro", "Myriad Set Pro", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  user-select: none;
}
.lrq-defs { position: absolute; width: 0; height: 0; }

/* rules: grooves; the one between White Balance and Tone is only a little deeper, so it does not pull the eye */
.lrq-rule { position: absolute; left: calc(40 * var(--u)); right: calc(40 * var(--u)); top: calc(var(--y) * var(--u)); height: calc(4 * var(--u));
  background: linear-gradient(#444 0 50%, #575757 50% 100%); }
.lrq-rule-thick { background: linear-gradient(#3c3c3c 0 50%, #595959 50% 100%); }
.lrq-head { position: absolute; left: calc(296 * var(--u)); top: calc(var(--y) * var(--u)); font-size: calc(32 * var(--u)); line-height: 1; color: #cfcfcf;
  text-shadow: 0 calc(2 * var(--u)) calc(2 * var(--u)) rgba(0, 0, 0, 0.55); }

/* one slider row: --y is the centre line of the track, --t the centre of the thumb */
.lrq-row { position: absolute; left: 0; right: 0; top: calc(var(--y) * var(--u)); height: 0; }
.lrq-label, .lrq-val { position: absolute; top: calc(-30 * var(--u)); line-height: calc(40 * var(--u)); white-space: nowrap;
  text-shadow: 0 calc(2 * var(--u)) calc(2.5 * var(--u)) rgba(0, 0, 0, 0.6); }
.lrq-label { right: calc(812 * var(--u)); padding: 0 calc(14 * var(--u)); border-radius: calc(7 * var(--u)); font-size: calc(37 * var(--u)); color: #c6c6c6;
  transition: background-color 120ms ease, box-shadow 120ms ease; }
.lrq-label.is-hover, .lrq-hot.is-hover { background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 calc(1.5 * var(--u)) rgba(255, 255, 255, 0.2); }
.lrq-val { position: absolute; top: calc(-30 * var(--u)); line-height: calc(40 * var(--u)); white-space: nowrap;
  text-shadow: 0 calc(2 * var(--u)) calc(2.5 * var(--u)) rgba(0, 0, 0, 0.6); }
.lrq-label { right: calc(812 * var(--u)); padding: 0 calc(14 * var(--u)); border-radius: calc(7 * var(--u)); font-size: calc(37 * var(--u)); color: #c6c6c6;
  transition: background-color 120ms ease, box-shadow 120ms ease; }
.lrq-label.is-hover, .lrq-hot.is-hover { background-color: rgba(255, 255, 255, 0.13); }
.lrq-val { right: calc(73 * var(--u)); top: calc(-24 * var(--u)); font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif; font-size: calc(36 * var(--u)); color: #e6e6e6; font-variant-numeric: tabular-nums; }

/* the track: a dark outline round a gradient, tick marks above it, the centre one taller */
.lrq-track { position: absolute; left: calc(297 * var(--u)); width: calc(500 * var(--u)); top: calc(-6 * var(--u)); height: calc(12 * var(--u));
  border-radius: calc(6 * var(--u)); box-shadow: 0 0 0 calc(2.6 * var(--u)) #161616;
  background: linear-gradient(90deg, #1c1c1c, #4a4a4a 45%, #8a8a8a 80%, #a0a0a0); }
.lrq-temp .lrq-track { background: linear-gradient(90deg, #35338f, #4b4a78 30%, #6a6b5d 55%, #8e9046 85%, #9a9c3f); }
.lrq-tint .lrq-track { background: linear-gradient(90deg, #3f7a3d, #557056 30%, #666166 55%, #8b528a 80%, #9d489d); }
.lrq-track::before, .lrq-track::after { content: ""; position: absolute; pointer-events: none; }
.lrq-track::before { left: calc(5 * var(--u)); right: calc(11 * var(--u)); top: calc(-19 * var(--u)); height: calc(7 * var(--u));
  background: repeating-linear-gradient(90deg, #2c2c2c 0 calc(2.2 * var(--u)), transparent calc(2.2 * var(--u)) calc(60 * var(--u))); }
.lrq-track::after { left: calc(246 * var(--u)); top: calc(-23 * var(--u)); width: calc(2.2 * var(--u)); height: calc(11 * var(--u)); background: #2c2c2c; }

/* the thumb: Lightroom's teardrop, pale grey with a black edge */
.lrq-thumb { position: absolute; left: calc((var(--t) - 21) * var(--u)); top: calc(-19 * var(--u)); width: calc(42 * var(--u)); height: calc(38 * var(--u)); overflow: visible; }
.lrq-thumb path { fill: url(#lrq-thumb-fill); stroke: #0b0b0b; stroke-width: 2.6; stroke-linejoin: round; }

/* the click ring under the pointer */
.lrq-ring { position: absolute; left: 0; top: 0; width: calc(60 * var(--u)); height: calc(60 * var(--u)); margin: calc(-30 * var(--u)) 0 0 calc(-30 * var(--u));
  border-radius: 50%; box-shadow: 0 0 0 calc(3 * var(--u)) rgba(190, 190, 190, 0.85); opacity: 0; transform: scale(0.5); pointer-events: none; }
.lrq-ring.is-on { animation: lrq-ring 420ms ease-out both; }
@keyframes lrq-ring { 0% { opacity: 0.95; transform: scale(0.45); } 100% { opacity: 0; transform: scale(1.15); } }
/* the panels: full-height screens, one shown at a time (js/shift.js moves them) */
.lrq-strip { position: absolute; inset: 0; }
.lrq-page { position: absolute; inset: 0; overflow: hidden; visibility: hidden; background: #4f4f4f; }
.lrq-page.is-on, .lrq-page.is-was { visibility: visible; }
.lrq-shift { position: absolute; inset: 0; }
.lrq-shift { transform: translateY(calc(var(--up) * -1 * var(--u))); }
.lrq-hot { padding: calc(4 * var(--u)) calc(14 * var(--u)); margin: calc(-4 * var(--u)) calc(-14 * var(--u)); border-radius: calc(7 * var(--u)); transition: background-color 120ms ease, box-shadow 120ms ease; }
.lrq-head.lrq-hot, .lrq-name, .lrq-title { color: #cfcfcf; white-space: nowrap; }
.lrq-bar { position: absolute; left: 0; right: 0; top: calc(var(--y) * var(--u)); height: calc(76 * var(--u)); background: linear-gradient(#303030, #2a2a2a); box-shadow: 0 0 0 calc(2 * var(--u)) #1a1a1a; }
.lrq-title { position: absolute; right: calc(120 * var(--u)); top: 50%; transform: translateY(-50%); margin: 0; font-weight: 400; font-size: calc(39 * var(--u)); line-height: 1.1; }
.lrq-title.lrq-hot { padding: calc(1 * var(--u)) calc(14 * var(--u)); margin: 0 calc(-14 * var(--u)); } /* air above and below the highlight */
.lrq-bar::after { content: ""; position: absolute; right: calc(54 * var(--u)); top: 50%; margin-top: calc(-11 * var(--u)); border: calc(15 * var(--u)) solid transparent; border-top: calc(24 * var(--u)) solid #bdbdbd; border-bottom: 0; }
.lrq-text, .lrq-name { position: absolute; left: calc(var(--x) * var(--u)); top: calc(var(--y) * var(--u)); transform: translateY(-50%); font-size: calc(36 * var(--u)); line-height: 1.1; color: var(--c, #c6c6c6); white-space: nowrap; text-shadow: 0 calc(2 * var(--u)) calc(2 * var(--u)) rgba(0, 0, 0, 0.55); }
.lrq-name { margin: 0 calc(-14 * var(--u)); }
.lrq-dots { position: absolute; left: 0; top: calc(var(--y) * var(--u)); }
.lrq-dot { position: absolute; left: calc((var(--x) - 24) * var(--u)); top: calc(-24 * var(--u)); width: calc(48 * var(--u)); height: calc(48 * var(--u)); border-radius: 50%; box-shadow: inset 0 0 0 calc(6 * var(--u)) var(--c); }
/* all colors at once */
.lrq-dot.is-all { box-shadow: none; background: radial-gradient(circle, #fff 0 22%, transparent 25%), conic-gradient(#bb3a30, #d07a35, #c9ac3a, #4f9a45, #3fa7bd, #3a6fd0, #8a3fd0, #c93ac9, #bb3a30); }
.lrq-dot.is-on { background: radial-gradient(circle, #fff 0 22%, var(--c) 25%); }
.lrq-text.is-mid { transform: translate(-50%, -50%); }
.lrq-text.is-mid.lrq-hot { margin: 0; }
.lrq-dots.is-small .lrq-dot { left: calc((var(--x) - 20) * var(--u)); top: calc(-20 * var(--u)); width: calc(40 * var(--u)); height: calc(40 * var(--u)); box-shadow: inset 0 0 0 calc(5 * var(--u)) var(--c); }
.lrq-lum .lrq-track { left: calc(405 * var(--u)); width: calc(270 * var(--u)); }
.lrq-lum .lrq-track::before, .lrq-lum .lrq-track::after { display: none; }
.lrq-wheel { position: absolute; left: calc((var(--x) - 135) * var(--u)); top: calc((var(--y) - 135) * var(--u)); width: calc(270 * var(--u)); height: calc(270 * var(--u)); border-radius: 50%;
  background: radial-gradient(circle, rgba(112, 112, 112, 0.95), rgba(112, 112, 112, 0) 72%), conic-gradient(from 90deg, #8a2320, #7a1f7a 60deg, #23239a 120deg, #2a7272 180deg, #2f8a2a 240deg, #7a7a22 300deg, #8a2320); }
.lrq-wheel i { position: absolute; left: calc(50% + var(--px) * var(--u)); top: calc(50% + var(--py) * var(--u)); width: calc(40 * var(--u)); height: calc(40 * var(--u)); margin: calc(-20 * var(--u)); border-radius: 50%; box-shadow: inset 0 0 0 calc(6 * var(--u)) #1b1b1b, inset 0 0 0 calc(10 * var(--u)) #e8e8e8; }
.lrq-text.is-right { left: auto; right: calc(73 * var(--u)); }
.lrq-eye { position: absolute; left: calc(52 * var(--u)); top: calc(46 * var(--u)); width: calc(46 * var(--u)); height: calc(28 * var(--u)); fill: none; stroke: #b0b0b0; stroke-width: 2.6; overflow: visible; }
.lrq-eye circle { fill: #b0b0b0; stroke: none; }

/* Quick Sync: no widget in the picture, so the panel stands in the middle. Its foot fades into its own grey,
   and the message sits under it, half on the panel's soft edge and half on the dunes, as the widget does in its block */
.st-scene.sh-scene { --fx: 115; --fy: 90; }
.lrq-veil { position: absolute; left: 0; right: 0; bottom: 0; height: calc(230 * var(--u)); pointer-events: none;
  background: linear-gradient(to bottom, rgba(79, 79, 79, 0), rgba(79, 79, 79, 0.85) 45%, #4f4f4f 70%); }
.sh-toast { --k: calc(var(--u) * 850 / 1080); position: absolute; left: calc(var(--fx) * var(--u) + 220 * var(--k)); top: calc((var(--fy) + 582) * var(--u)); width: calc(640 * var(--k)); height: calc(88 * var(--k));
  display: flex; align-items: center; justify-content: center; gap: calc(22 * var(--k)); border-radius: calc(11 * var(--k));
  background: #0a0a0a; box-shadow: 0 0 0 calc(1.5 * var(--k)) #2a2a2a, 0 calc(8 * var(--k)) calc(30 * var(--k)) rgba(0, 0, 0, 0.35);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif; color: #fff; opacity: 0; transition: opacity 200ms ease; }
.sh-toast.is-on { opacity: 1; }
.sh-check { font-size: calc(26 * var(--k)); color: #d6d6d6; }
.sh-name { font-size: calc(38 * var(--k)); font-weight: 500; letter-spacing: -0.005em; }
