/* The app's model picker in its default dark look: ModelDial.css, PickerStyleStrip.css and ModelPicker.css at d0275e6 plus the live site's picker.css, scoped to .wpk. */
@font-face{font-family:"Wink Mono";src:url(../kit/fonts/jetbrains-mono-latin-wght.woff2) format("woff2");font-weight:100 800;font-display:swap}

.wpk {
  --picker-accent: #ed6549;
  --spring: linear(0.0000, 0.0572, 0.1867, 0.3424, 0.4963, 0.6332, 0.7465, 0.8350, 0.9008, 0.9472, 0.9782, 0.9974, 1.0083, 1.0134, 1.0148, 1.0140, 1.0121, 1.0098, 1.0075, 1.0055, 1.0038, 1.0025, 1.0015, 1.0008, 1.0003, 1.0000, 0.9999, 0.9998, 0.9998, 0.9998, 0.9998);
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #050608;
  color: #f2f3f5;
  font: 400 12px/1.3 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-align: left;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  contain: layout paint;
  outline: none;
}
.wpk, .wpk *, .wpk *::before, .wpk *::after { box-sizing: border-box; }
/* Host without a height: the picker takes the size the long page was drawn for. */
.wpk[data-auto] { height: clamp(640px, calc(100svh - 120px), 860px); }
@media (max-width: 800px) { .wpk[data-auto] { height: 780px; } }
.wpk[data-family="codex"] { --picker-accent: #3594ff; }
.wpk[data-family="grok"] { --picker-accent: #8b929c; }
.wpk[data-family="gemini"] { --picker-accent: #aa7bfa; }
.wpk[data-family="muse"] { --picker-accent: #43ce8b; }
.wpk[data-view="list"] { background: #030407; }
/* Inline on a phone the picker runs edge to edge, so its ground fades into the page at the top and bottom. */
@media (max-width: 800px) {
  .wpk[data-inline] { background: linear-gradient(transparent, #050608 48px calc(100% - 48px), transparent); }
  .wpk[data-inline][data-view="list"] { background: linear-gradient(transparent, #030407 48px calc(100% - 48px), transparent); }
  .wpk[data-inline] .wpk-dial { background: none; }
  .wpk[data-inline] .dial-scene { mask-image: linear-gradient(transparent, #000 48px calc(100% - 48px), transparent); }
}
.wpk:focus-visible { outline: 1.5px solid rgb(116 167 255 / .6); outline-offset: -2px; }
.wpk :where(button) { margin: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: inherit; cursor: pointer; }
.wpk-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wpk kbd svg { width: 1.05em; height: 1.05em; }
.wpk-view { position: absolute; inset: 0; }
.wpk-view[hidden] { display: none; }

/* Header: the style button, and Cancel when it is a dialog. */
.wpk-head { position: absolute; z-index: 3; top: 20px; right: 24px; display: flex; align-items: center; color: #a2a4ad; }
.wpk-style { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 8px 0 10px; border: 1px solid #ffffff1a; border-radius: 8px; font-size: 12px; white-space: nowrap; transition: background-color 110ms, color 110ms; }
.wpk-style[aria-expanded="true"] { background: #ffffff14; color: #f2f3f5; }
.wpk-x { position: relative; padding: 8px; }
@media (hover: hover) { .wpk-style:hover, .wpk-x:hover { color: #f2f3f5; } }
.wpk-head button:focus-visible { outline: 2px solid #f3f4fa; outline-offset: 4px; }
.wpk[data-narrow] .wpk-style { padding: 0 6px 0 8px; }
.wpk[data-tiny] .wpk-style span { display: none; }
@media (pointer: coarse) {
  .wpk-style::before, .wpk-x::before { content: ""; position: absolute; inset: -7px -3px; }
  .wpk-x::before { inset: -5px; }
  .wpk .dial-seg::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; }
  .wpk .dial-stage[data-phone] .dial-seg::after { inset: -8px; }
}

/* Style strip */
.wpk-strip {
  --pss-ground: #121318;
  --pss-edge: #ffffff1c;
  --pss-ink: #f2f3f5;
  --pss-dim: #9a9ca6;
  --pss-tile: #ffffff14;
  --pss-on: #ffffff0f;
  position: absolute;
  z-index: 20;
  top: 58px;
  right: 24px;
  width: 250px;
  max-height: calc(100% - 70px);
  overflow-y: auto;
  padding: 12px 12px 14px;
  border: 1px solid var(--pss-edge);
  border-radius: 14px;
  background: var(--pss-ground);
  box-shadow: 0 18px 48px #000000b3;
  color: var(--pss-ink);
  font: 12px/1.3 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  transform-origin: top right;
  animation: wpk-pop 150ms cubic-bezier(.2, 0, .38, .9);
}
.wpk[data-dialog] .wpk-strip { right: 58px; }
.wpk-strip[hidden] { display: none; }
.wpk-strip[data-closing] { animation: wpk-out 110ms cubic-bezier(.2, 0, 1, .9) forwards; pointer-events: none; }
@keyframes wpk-pop { from { transform: scale(.96) translateY(6px); opacity: 0; } }
@keyframes wpk-out { to { opacity: 0; } }
.pss-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 2px 8px; font-weight: 600; letter-spacing: .02em; }
.pss-keys { display: inline-flex; gap: 3px; }
.wpk .pss-keys kbd { padding: 1px 5px; background: none; border: 1px solid var(--pss-edge); border-radius: 4px; color: var(--pss-dim); font: 500 10.5px "Inter", sans-serif; }
.pss-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pss-tile { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 6px; border: 1px solid var(--pss-tile); border-radius: 12px; color: inherit; text-align: left; transition: border-color 120ms, background-color 120ms; }
.pss-tile[aria-checked="true"] { border-color: var(--picker-accent); background: var(--pss-on); }
@media (hover: hover) { .pss-tile:not([aria-checked="true"]):hover { background: var(--pss-on); } }
.pss-tile:focus-visible { outline: 2px solid var(--picker-accent); outline-offset: 2px; }
.pss-name { display: flex; align-items: center; justify-content: space-between; gap: 4px; padding: 0 2px; font-size: 12px; font-weight: 500; }
.pss-name span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pss-name svg { flex: none; color: var(--picker-accent); }
.pss-tile[aria-checked="false"] .pss-name svg { display: none; }
.pss-mini { --pv-face: #0b0c10; --pv-card: #1a1c22; --pv-ink: #eceef2; --pv-dim: #7f828c; --pv-line: #ffffff30; display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 8px; background: var(--pv-face); box-shadow: 0 0 0 1px var(--pss-edge); }
.pss-mini svg { display: block; width: 100%; height: 100%; }
.pss-mini .f-card { fill: var(--pv-card); }
.pss-mini .f-ink { fill: var(--pv-ink); }
.pss-mini .f-dim { fill: var(--pv-dim); }
.pss-mini .f-acc { fill: var(--picker-accent); }
.pss-mini .s-line { stroke: var(--pv-line); }
.pss-mini .s-acc { stroke: var(--picker-accent); }
.pss-mini .s-dim { stroke: var(--pv-dim); }
.pss-mini .s-ink { stroke: var(--pv-ink); }
.pss-mini svg * { vector-effect: non-scaling-stroke; }
.pss-mini svg .thick { vector-effect: none; }
@media (pointer: coarse) { .pss-keys { display: none; } }
.wpk[data-narrow] .wpk-strip { right: 8px; width: 204px; padding: 10px 10px 12px; }
.wpk[data-narrow] .pss-tiles { gap: 6px; }
.wpk[data-narrow] .pss-tile { padding: 4px; gap: 4px; border-radius: 10px; }
.wpk[data-narrow] .pss-name { font-size: 11px; }
@media (pointer: coarse) { .wpk .pss-tile { min-height: 44px; } }

/* Dial */
.wpk-dial {
  --click: linear(0.0000, 0.0396, 0.1386, 0.2710, 0.4167, 0.5607, 0.6927, 0.8066, 0.8996, 0.9711, 1.0226, 1.0564, 1.0755, 1.0831, 1.0821, 1.0752, 1.0649, 1.0530, 1.0408, 1.0293, 1.0193, 1.0109, 1.0043, 0.9994, 0.9961, 0.9941, 0.9932, 0.9931, 0.9935, 0.9943, 1.0000);
  --flip: linear(0.0000, 0.0444, 0.1560, 0.3057, 0.4696, 0.6299, 0.7741, 0.8948, 0.9889, 1.0562, 1.0990, 1.1209, 1.1262, 1.1194, 1.1045, 1.0852, 1.0645, 1.0444, 1.0265, 1.0117, 1.0002, 0.9921, 0.9870, 0.9845, 0.9841, 0.9851, 0.9871, 0.9895, 0.9922, 0.9947, 1.0000);
  --ink: #f2f3f5;
  --ink-2: #a7a9b3;
  --ink-3: #6c6f7a;
  --ink-4: #43464f;
  --mono: "Wink Mono", "Cascadia Mono", Consolas, monospace;
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  place-items: center;
  overflow: hidden;
  background: #050608;
  color: var(--ink);
}
.wpk-dial button:focus-visible { outline: 2px solid #f3f4fa; outline-offset: 3px; }
@media (max-width: 699px) { .wpk-dial { --mono: "Wink Mono", Consolas, monospace; } }
.wpk .dial-stage {
  --t: 140ms;
  --cx: 470px;
  --cy: 400px;
  --cw: 340px;
  --ch: 64px;
  --R: 318px;
  --pw: 1440px;
  --ph: 900px;
  --m: 96px;
  --head: 44px;
  --stats: 712px;
  --fs: 1;
  --floor: 0px;
  --glow: .5;
  --accent: #ed6549;
  --accent-ink: color-mix(in srgb, var(--accent) 72%, white);
  --hot: color-mix(in srgb, var(--accent) 60%, white);
  position: relative;
  flex: none;
  width: var(--pw);
  height: var(--ph);
  overflow: hidden;
  user-select: none;
  touch-action: none;
}
.wpk[data-inline] .dial-stage { touch-action: pan-y; }
.wpk[data-inline]:focus-within .dial-card { touch-action: none; }
.wpk [data-boot], .wpk [data-boot] * { transition: none !important; animation: none !important; }
.wpk .dial-stage[data-phase] :is(.dial-wheel, .dial-rail, .dial-typeahead, .dial-stats, .dial-footer) { display: none; }
.wpk .dial-layer { position: absolute; inset: 0; }
.wpk .dial-mark, .wpk .dial-mark * { display: block; fill: currentColor; overflow: visible; }

.wpk .dial-scene { opacity: .5; }
.wpk .dial-scene-base { background: radial-gradient(900px 700px at var(--cx) var(--cy), #0d0f14 0%, transparent 70%), radial-gradient(1600px 1000px at 50% 40%, #07080b, #030405); }
.wpk .dial-scene-lab {
  opacity: 0;
  transition: opacity var(--t) linear;
  background:
    radial-gradient(300px 300px at var(--cx) var(--cy), color-mix(in srgb, var(--c) 20%, transparent), transparent 70%),
    radial-gradient(560px 420px at var(--cx) var(--cy), color-mix(in srgb, var(--c) 8%, transparent), transparent 75%),
    radial-gradient(420px 150px at calc(var(--cx) + var(--R) + 152px) var(--cy), color-mix(in srgb, var(--c) 9%, transparent), transparent 70%);
}
.wpk .dial-scene-lab[data-on] { opacity: 1; }
.wpk .dial-orbits { position: absolute; left: calc(var(--cx) - 600px); top: calc(var(--cy) - 600px); width: 1200px; height: 1200px; opacity: .55; transform: scale(var(--fs)); }

.wpk .dial-top { position: absolute; left: var(--m); top: var(--head); }
.wpk .dial-top h2 { margin: 0; font-family: inherit; font-size: 32px; font-weight: 600; line-height: 1.1; letter-spacing: -.02em; }
.wpk .dial-top p { margin: 8px 0 0; color: var(--ink-2); font-size: 14px; }
.wpk .dial-pill { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 6px 10px; border: 1px solid color-mix(in srgb, var(--accent) 38%, transparent); border-radius: 8px; background: color-mix(in srgb, var(--accent) 8%, transparent); color: var(--accent-ink); font: 500 max(10.5px, var(--floor))/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.wpk .dial-pill::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--accent); box-shadow: 0 0 calc(8px * var(--glow)) var(--accent); }

.wpk .dial-face { position: absolute; left: calc(var(--cx) - 240px); top: calc(var(--cy) - 240px); width: 480px; height: 480px; transform: scale(var(--fs)); }
.wpk .dial-face .dial-layer, .wpk .dial-pointer { pointer-events: none; }
.wpk .dial-seg, .wpk .dial-gauge[data-on] .dial-notch { pointer-events: auto; }
.wpk .dial-spin { transition: transform var(--t) var(--click); }
.wpk .dial-ticks { transform: rotate(calc(var(--face, 0deg) - var(--turn) * var(--step) * 1deg)); }
.wpk .dial-chamber .lit { opacity: 0; fill: var(--c); }
.wpk .dial-chamber[data-on] .lit { opacity: 1; }
.wpk .dial-labring { transform: rotate(calc(var(--face, 0deg) - var(--lab) * var(--lab-step) * 1deg)); }
.wpk .dial-labring, .wpk .dial-seg { transition-timing-function: var(--flip); }
.wpk .dial-seg { position: absolute; left: 228px; top: 228px; display: grid; width: 24px; height: 24px; place-items: center; transform: rotate(calc(var(--face, 0deg) - var(--lab) * var(--lab-step) * 1deg + var(--a))) translateX(174px) rotate(calc(var(--lab) * var(--lab-step) * 1deg - var(--a) - var(--face, 0deg))); }
.wpk .dial-seg .dial-mark { grid-area: 1 / 1; width: 18px; height: 18px; color: #7d808b; transition: opacity var(--t) linear; }
.wpk .dial-seg .dial-mark.lit { opacity: 0; color: var(--c); filter: drop-shadow(0 0 calc(6px * var(--glow)) color-mix(in srgb, var(--c) 80%, transparent)); }
.wpk .dial-seg[data-on] .dial-mark { opacity: 0; }
.wpk .dial-seg[data-on] .dial-mark.lit { opacity: 1; }
.wpk .dial-wedge { opacity: 0; color: var(--c); transform: rotate(calc(var(--face, 0deg) - (var(--lab) - var(--j)) * var(--lab-step) * 1deg)); transition: opacity var(--t) linear, transform var(--t) var(--flip); }
.wpk .dial-wedge[data-on] { opacity: 1; }
.wpk .dial-wedge .edge { filter: drop-shadow(0 0 calc(5px * var(--glow)) var(--c)); }
.wpk .dial-gauge { opacity: 0; transition: opacity var(--t) linear; }
.wpk .dial-gauge[data-on] { opacity: 1; }
.wpk .dial-notch { cursor: pointer; }
.wpk .dial-notch .lit { opacity: 0; fill: var(--accent); transition: opacity 90ms linear; }
.wpk .dial-notch[data-lit] .lit { opacity: 1; }
/* Max: the gauge burns hot in rainbow, one hue per notch; Overdrive's outer arc stays lit at rest. */
.wpk .dial-stage[data-max] :is(.dial-notch, .dial-overdrive path) { --hue: calc(20deg + var(--p) * 290deg); --hot: oklch(.84 .12 var(--hue)); --halo: oklch(.7 .19 var(--hue)); }
.wpk .dial-stage[data-max] .dial-notch .lit { fill: var(--hot); filter: drop-shadow(0 0 calc(3px + 6px * var(--glow)) var(--halo)); }
.wpk .dial-overdrive { display: none; }
.wpk .dial-stage[data-max] .dial-overdrive { display: block; }
.wpk .dial-overdrive path { fill: var(--hot); filter: drop-shadow(0 0 calc(2px + 3px * var(--glow)) var(--halo)); }
.wpk .dial-overdrive .head { opacity: 0; }
.wpk .dial-overdrive .head::after { content: ""; position: absolute; left: 368px; top: 232px; width: 4px; height: 16px; border-radius: 2px; background: linear-gradient(transparent, #fff); box-shadow: 0 0 calc(6px + 6px * var(--glow)) #fff9; }
.wpk .dial-shock { position: absolute; left: -22px; top: -22px; width: 524px; height: 524px; border-radius: 50%; background: conic-gradient(in oklch, oklch(.86 .13 20), oklch(.86 .13 140), oklch(.86 .13 260), oklch(.86 .13 20)); mask: radial-gradient(closest-side, transparent 89%, #000 95% 98%, transparent); opacity: 0; }
.wpk .dial-pointer { transform: rotate(var(--g)); }
.wpk .dial-nub { position: absolute; left: 368px; top: 234px; width: 12px; height: 12px; background: var(--accent); clip-path: polygon(0 50%, 100% 0, 100% 100%); filter: drop-shadow(0 0 4px var(--accent)); }
.wpk .dial-socket { position: absolute; left: 136px; top: 136px; width: 208px; height: 208px; border-radius: 50%; background: radial-gradient(circle, #0a0b0f 60%, #0e1015); box-shadow: inset 0 0 0 1px #ffffff0c, inset 0 10px 30px #0008; }
.wpk .dial-tile { position: absolute; left: 162px; top: 162px; width: 156px; height: 156px; border-radius: 28px; background: linear-gradient(150deg, #26272f, #111318 55%, #0b0c10); box-shadow: inset 0 1px 0 #ffffff1f, inset 0 0 0 1px #ffffff0d, 0 16px 34px #000c; }
/* Each lab's logo rides the lab ring, so a lab flip swings the outgoing logo out and the next one in. */
.wpk .dial-logo { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transform: rotate(calc((var(--lab) - var(--j)) * var(--lab-step) * -1deg)) scale(.8); transition: opacity var(--t) linear, transform var(--t) var(--flip); }
.wpk .dial-logo[data-on] { opacity: 1; transform: rotate(calc((var(--lab) - var(--j)) * var(--lab-step) * -1deg)); }
.wpk .dial-logo .dial-mark { width: 72px; height: 72px; color: var(--c); filter: drop-shadow(0 0 calc(16px * var(--glow)) color-mix(in srgb, var(--c) 70%, transparent)); }
.wpk .dial-tile[data-q="0"] [data-on] .dial-mark { animation: wpk-squash-a var(--t) ease-out; }
.wpk .dial-tile[data-q="1"] [data-on] .dial-mark { animation: wpk-squash-b var(--t) ease-out; }
@keyframes wpk-squash-a { 62% { transform: scale(1.09, .88); } 85% { transform: scale(.98, 1.02); } }
@keyframes wpk-squash-b { 62% { transform: scale(1.09, .88); } 85% { transform: scale(.98, 1.02); } }
.wpk .dial-effort { position: absolute; left: 140px; top: 328px; display: flex; width: 200px; height: 34px; flex-direction: column; align-items: center; gap: 5px; color: var(--ink-3); font: 500 max(9px, var(--floor) / var(--fs))/1 var(--mono); letter-spacing: .24em; text-transform: uppercase; }
.wpk .dial-effort[hidden] { display: none; }
.wpk .dial-effort b { color: var(--accent-ink); font: 600 max(17px, var(--floor) / var(--fs) * 1.25)/1 var(--mono); letter-spacing: .1em; }

/* Wheel: flat cards on spokes around the dial center. */
.wpk .dial-wheel { position: absolute; inset: 0; pointer-events: none; mask-image: linear-gradient(#000 calc(var(--stats) - 72px), transparent calc(var(--stats) - 8px)); }
.wpk .dial-plane { position: absolute; left: var(--cx); top: var(--cy); width: 0; height: 0; }
.wpk .dial-card {
  --cf: calc(var(--floor) / .95);
  position: absolute;
  left: 0;
  top: calc(var(--ch) / -2);
  display: flex;
  width: var(--cw);
  height: var(--ch);
  align-items: center;
  gap: 14px;
  padding: 0 14px 0 18px;
  border: 1px solid #2a2d37;
  border-radius: 14px;
  background: linear-gradient(145deg, #181920, #0a0c10);
  box-shadow: inset 0 1px 0 #ffffff0d, 0 10px 24px #0007;
  text-align: left;
  pointer-events: auto;
  transform-origin: 0 50%;
  transform: rotate(calc(var(--k) * 17deg + var(--push, 0deg))) translateX(var(--R)) scale(calc(1 - min(var(--ak), 1) * .05));
  opacity: var(--o);
  transition: transform var(--t) var(--click) var(--lag), opacity var(--t) linear var(--lag);
}
.wpk .dial-plane[data-open] .dial-card { --push: calc(clamp(0, var(--k), 1) * 5deg); }
.wpk .dial-card .dial-mark { flex: none; width: 18px; height: 18px; color: #8a8d97; }
.wpk .dial-card-text { display: flex; flex: 1; flex-direction: column; gap: 5px; min-width: 0; }
.wpk .dial-card-name { overflow: hidden; color: #c9ccd3; font-size: 19px; font-weight: 600; line-height: 1.1; letter-spacing: -.01em; white-space: nowrap; }
.wpk .dial-card-line { overflow: hidden; color: var(--ink-3); font: 400 max(11px, var(--cf))/1.2 var(--mono); white-space: nowrap; text-overflow: ellipsis; }
.wpk .dial-card-badge { display: flex; flex: none; min-width: 44px; justify-content: center; padding: 4px 7px; border: 1px solid #ffffff17; border-radius: 7px; color: var(--ink-3); font: 600 max(11px, var(--cf))/1.2 var(--mono); letter-spacing: .04em; }
.wpk .dial-card[aria-pressed="true"] .dial-mark { color: var(--accent); }
.wpk .dial-card[aria-pressed="true"] .dial-card-name { color: var(--ink); }
.wpk .dial-card[aria-pressed="true"] .dial-card-line { color: var(--ink-2); }
.wpk .dial-card[aria-pressed="true"] .dial-card-badge { border-color: color-mix(in srgb, var(--accent) 50%, transparent); background: color-mix(in srgb, var(--accent) 13%, transparent); color: var(--accent-ink); }
.wpk .dial-frame {
  position: absolute;
  left: calc(var(--R) - 7px);
  top: calc(var(--ch) / -2 - 7px);
  width: calc(var(--cw) + 14px);
  height: calc(var(--ch) + 14px);
  border: 1.5px solid var(--c);
  border-radius: 19px;
  box-shadow: 0 0 calc(8px * var(--glow)) color-mix(in srgb, var(--c) 60%, transparent), 0 0 calc(28px * var(--glow)) color-mix(in srgb, var(--c) 28%, transparent), inset 0 0 18px color-mix(in srgb, var(--c) 9%, transparent);
  opacity: 0;
  pointer-events: none;
  transform-origin: 7px 50%;
  transition: opacity var(--t) linear;
}
.wpk .dial-frame[data-on] { opacity: 1; }
.wpk .dial-plane[data-f="0"] .dial-frame[data-on] { animation: wpk-lift-a var(--t) var(--click); }
.wpk .dial-plane[data-f="1"] .dial-frame[data-on] { animation: wpk-lift-b var(--t) var(--click); }
@keyframes wpk-lift-a { from { transform: scale(.95); } }
@keyframes wpk-lift-b { from { transform: scale(.95); } }
.wpk .dial-link { position: absolute; left: calc(206px * var(--fs)); top: -.75px; width: calc(var(--R) - 206px * var(--fs) - 7px); height: 1.5px; background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 35%, transparent), var(--accent)); box-shadow: 0 0 6px color-mix(in srgb, var(--accent) 60%, transparent); }
.wpk .dial-link::after { content: ""; position: absolute; right: -4px; top: -3.25px; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); box-shadow: 0 0 calc(8px * var(--glow)) var(--accent); }
/* Bar: comes before the cards in the plane so it slides out from under the active one. */
.wpk .dial-bar { position: absolute; left: var(--R); top: calc(var(--ch) / 2 - 8px); width: var(--cw); height: 46px; padding: 8px 14px 0; border: 1px solid #ffffff14; border-radius: 12px; background: #08090c; box-shadow: 0 10px 24px #0008; color: var(--ink-2); font: 500 max(13.5px, var(--floor))/38px var(--mono); white-space: nowrap; opacity: 0; transform: translateY(-38px); pointer-events: none; }
.wpk .dial-plane[data-open] .dial-bar { opacity: 1; transform: none; transition: transform 90ms ease-out, opacity 40ms linear; }
.wpk .dial-bar b { display: inline-block; color: var(--accent-ink); font-weight: 600; }
.wpk .dial-stage[data-max] .dial-bar b { background-image: linear-gradient(90deg, oklch(.8 .15 20), oklch(.88 .15 90), oklch(.85 .15 150), oklch(.8 .14 240), oklch(.78 .16 300)); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 calc(2px + 4px * var(--glow)) #fff6); }
.wpk .dial-bar-text { display: inline-block; overflow: clip; vertical-align: top; }
.wpk .dial-caret { display: inline-block; width: 1ch; height: 2px; margin-left: 2px; background: var(--accent); opacity: 0; }

.wpk .dial-rail { position: absolute; left: calc(var(--cx) + var(--R) + var(--cw) + 24px); top: calc(var(--cy) - 80px); display: flex; flex-direction: column; gap: 4px; padding: 5px; border: 1px solid #ffffff12; border-radius: 16px; background: #0b0d11d9; box-shadow: 0 12px 30px #0009; }
.wpk .dial-rail button { display: grid; width: 44px; height: 48px; place-items: center; border-radius: 11px; color: var(--ink-2); }
@media (hover: hover) { .wpk .dial-rail button:hover { background: #ffffff0b; color: var(--ink); } }
.wpk .dial-rail button[data-pick] { color: var(--accent); }
.wpk .dial-typeahead { position: absolute; left: min(var(--cx) + var(--R) + var(--cw) - 28px, var(--pw) - var(--m) - 220px); top: calc(var(--cy) + 104px); width: 220px; color: var(--accent-ink); font: 500 max(12px, var(--floor))/1.5 var(--mono); opacity: 0; transition: opacity 200ms linear; }
.wpk .dial-typeahead[data-on] { opacity: 1; transition: none; }
.wpk .dial-typeahead b { color: var(--ink); font-weight: 600; }
.wpk .dial-typeahead svg { display: inline-block; width: 1em; height: 1em; vertical-align: -.12em; }
.wpk .dial-typeahead[data-miss] { color: var(--ink-3); }

/* Stats */
.wpk .dial-stats { position: absolute; left: var(--m); right: var(--m); top: var(--stats); display: flex; align-items: center; gap: clamp(20px, var(--m) * .6, 56px); }
.wpk .dial-cta { display: flex; height: 56px; align-items: center; gap: 14px; padding: 0 18px 0 20px; border: 1px solid color-mix(in srgb, var(--accent) 50%, transparent); border-radius: 14px; background: color-mix(in srgb, var(--accent) 9%, #0b0d11); box-shadow: 0 0 calc(22px * var(--glow)) color-mix(in srgb, var(--accent) 16%, transparent); font-size: max(16px, var(--floor)); font-weight: 500; white-space: nowrap; }
.wpk .dial-stage :is([data-pick], [data-dial-pick]) { position: relative; transition: transform 90ms var(--spring), filter 90ms linear; }
.wpk .dial-stage :is([data-pick], [data-dial-pick]):enabled:active { transform: scale(.94); filter: brightness(.9); }
.wpk .dial-stage :is([data-pick], [data-dial-pick])::after { content: ""; position: absolute; inset: -1px; border: 1px solid var(--accent); border-radius: inherit; opacity: 0; pointer-events: none; }
.wpk .dial-stage kbd { display: inline-grid; min-width: 22px; height: 22px; place-items: center; padding: 0 6px; border: 1px solid #ffffff1f; border-radius: 5px; background: #ffffff08; color: var(--ink-2); font: 500 max(10.5px, var(--floor)) var(--mono); }
.wpk .dial-stat { display: flex; align-items: center; gap: 16px; }
.wpk .dial-stat-text { display: flex; flex-direction: column; gap: 6px; }
.wpk .dial-label { color: var(--ink-2); font: 500 max(10.5px, var(--floor))/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.wpk .dial-src { color: var(--ink-3); font: 400 max(11px, var(--floor))/1.2 var(--mono); text-wrap: balance; }
.wpk .dial-big { font-size: 32px; font-weight: 600; letter-spacing: -.01em; }
.wpk .dial-big .unit { margin-left: 6px; color: var(--ink-3); font-size: max(14px, var(--floor)); font-weight: 500; letter-spacing: 0; }

.wpk .dial-odo { --h: 1.08em; position: relative; display: inline-flex; height: var(--h); line-height: var(--h); font-variant-numeric: tabular-nums; vertical-align: top; }
.wpk .dial-odo .cells { display: inline-flex; transition: opacity var(--t) linear; }
.wpk .dial-odo .dg { display: inline-block; height: var(--h); overflow: hidden; }
.wpk .dial-odo .strip { display: flex; flex-direction: column; transform: translateY(calc(var(--d, 0) * var(--h) * -1)); transition: transform var(--t) var(--spring); }
.wpk .dial-odo .strip i { height: var(--h); font-style: normal; text-align: center; }
.wpk .dial-odo .dash { position: absolute; left: 0; top: 0; color: var(--ink-4); opacity: 0; transition: opacity var(--t) linear; }
.wpk .dial-odo[data-none] .cells { opacity: 0; }
.wpk .dial-odo[data-none] .dash { opacity: 1; }

.wpk .dial-ring { --w: 5px; position: relative; flex: none; width: 78px; height: 78px; }
.wpk .dial-ring .track { position: absolute; inset: 0; border: var(--w) solid #ffffff10; border-radius: 50%; }
.wpk .dial-ring .fill { position: absolute; inset: 0; filter: drop-shadow(0 0 calc(5px * var(--glow)) color-mix(in srgb, var(--accent) 70%, transparent)); transition: opacity var(--t) linear; }
.wpk .dial-ring[data-none] .fill { opacity: 0; }
.wpk .dial-ring .half { position: absolute; inset: 0; }
.wpk .dial-ring .half.r { clip-path: inset(0 0 0 50%); }
.wpk .dial-ring .half.l { clip-path: inset(0 50% 0 0); }
.wpk .dial-ring .arc { position: absolute; inset: 0; border: var(--w) solid var(--accent); border-radius: 50%; }
.wpk .dial-ring .half.r .arc { clip-path: inset(0 50% 0 0); }
.wpk .dial-ring .half.l .arc { clip-path: inset(0 0 0 50%); }
.wpk .dial-ring .cap { position: absolute; left: calc(50% - var(--w) / 2); top: 0; width: var(--w); height: var(--w); border-radius: 50%; background: var(--accent); transform-origin: 50% 39px; }
.wpk .dial-ring .num { position: absolute; inset: 0; display: grid; place-items: center; font-size: 21px; font-weight: 600; }
.wpk .dial-ring .dash { right: 0; text-align: center; }

.wpk .dial-cost { position: relative; align-self: flex-start; }
.wpk .dial-squiggle { position: absolute; left: 0; bottom: -7px; width: 100%; height: 16px; overflow: hidden; }
.wpk .dial-squiggle[data-w="0"] .wipe { animation: wpk-wipe-a 160ms ease-out; }
.wpk .dial-squiggle[data-w="1"] .wipe { animation: wpk-wipe-b 160ms ease-out; }
.wpk .dial-squiggle .wipe { display: block; width: 100%; height: 100%; }
@keyframes wpk-wipe-a { from { transform: translateX(-100%); } }
@keyframes wpk-wipe-b { from { transform: translateX(-100%); } }
.wpk .dial-squiggle svg { display: block; width: 240px; height: 16px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; filter: drop-shadow(0 0 3px color-mix(in srgb, var(--accent) 60%, transparent)); transform: translateX(var(--wave, 0)); transition: transform var(--t) var(--spring); }

.wpk .dial-footer { position: absolute; left: var(--m); right: var(--m); bottom: 16px; display: flex; min-height: 40px; align-items: center; justify-content: space-between; border-top: 1px solid #ffffff10; color: var(--ink-3); font: 500 max(11px, var(--floor)) var(--mono); letter-spacing: .16em; }
.wpk .dial-footer b { color: var(--accent-ink); font-weight: 500; }
.wpk .dial-keys { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; letter-spacing: .02em; }
.wpk .dial-keys span { display: inline-flex; flex: none; align-items: center; gap: 6px; white-space: nowrap; }

/* Phone: dial on top facing down, cards as a drum below it. */
.wpk .dial-stage[data-phone] { --face: 90deg; --floor: 10px; --top: 0px; --gap: max(0px, (var(--ph) - 800px) / 3); --cx: 50%; --cy: calc(238px + var(--top) + var(--gap)); --cw: calc(var(--pw) - 32px); --ch: 58px; width: var(--pw); height: var(--ph); overflow: visible; clip-path: inset(0 -100vw); }
.wpk .dial-stage[data-phone] .dial-scene { left: -100vw; right: -100vw; pointer-events: none; }
.wpk .dial-stage[data-phone] :is(.dial-top p, .dial-orbits, .dial-link, .dial-rail, .dial-typeahead, .dial-keys, .dial-src, .dial-cta kbd) { display: none; }
@media (pointer: fine) { .wpk .dial-stage[data-phone] .dial-cta kbd { display: inline-grid; } }
.wpk .dial-stage[data-phone] .dial-top { left: 16px; top: calc(16px + var(--top)); width: calc(var(--pw) - 32px); }
.wpk .dial-stage[data-phone] .dial-top h2 { font-size: 22px; }
.wpk .dial-stage[data-phone] .dial-pill { margin-top: 8px; padding: 4px 8px; font-size: max(9.5px, var(--floor)); }
.wpk .dial-stage[data-phone] .dial-face { --fs: .625; }
.wpk .dial-stage[data-phone] .dial-seg { left: 222px; top: 222px; width: 36px; height: 36px; }
.wpk .dial-stage[data-phone] .dial-seg .dial-mark { width: 30px; height: 30px; }
.wpk .dial-stage[data-phone] .dial-effort { left: 90px; top: 324px; width: 300px; height: 56px; gap: 6px; font-size: max(15px, var(--floor) / var(--fs)); }
.wpk .dial-stage[data-phone] .dial-effort b { font-size: max(30px, var(--floor) / var(--fs)); }
.wpk .dial-stage[data-phone] .dial-scene-lab { background: radial-gradient(250px 250px at var(--cx) var(--cy), color-mix(in srgb, var(--c) 20%, transparent), transparent 70%), radial-gradient(320px 130px at 50% calc(489px + var(--top) + 2 * var(--gap)), color-mix(in srgb, var(--c) 9%, transparent), transparent 70%); }
.wpk .dial-stage[data-phone] .dial-wheel { mask-image: none; }
.wpk .dial-stage[data-phone] .dial-plane { left: 16px; top: calc(489px + var(--top) + 2 * var(--gap)); }
.wpk .dial-stage[data-phone] .dial-card { --cf: calc(var(--floor) / .94); transform-origin: 50% 50%; transform: translateY(calc(var(--k) * 66px)) scale(calc(1 - var(--ak) * .06)); padding: 0 14px 0 16px; gap: 14px; }
.wpk .dial-stage[data-phone] .dial-plane[data-open] .dial-card { opacity: calc(var(--o) * (1 - clamp(0, var(--k), 1))); }
.wpk .dial-stage[data-phone] .dial-bar { left: 0; font-size: max(12px, var(--floor)); }
.wpk .dial-stage[data-phone] .dial-card-name { font-size: max(19px, var(--cf)); }
.wpk .dial-stage[data-phone] .dial-card-line { font-size: max(12px, var(--cf)); }
.wpk .dial-stage[data-phone] .dial-frame { left: -6px; top: calc(var(--ch) / -2 - 6px); width: calc(var(--cw) + 12px); height: calc(var(--ch) + 12px); border-radius: 18px; }
.wpk .dial-stage[data-phone] .dial-stats { left: 16px; right: 16px; top: auto; bottom: 60px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 6px; align-items: start; }
.wpk .dial-stage[data-phone] .dial-label { letter-spacing: .1em; }
.wpk .dial-stage[data-phone] .dial-stat { flex-direction: column-reverse; align-items: center; gap: 6px; }
.wpk .dial-stage[data-phone] .dial-stat-text { align-items: center; text-align: center; }
.wpk .dial-stage[data-phone] .dial-cta { grid-column: 1 / -1; grid-row: 2; justify-content: center; height: 52px; }
.wpk .dial-stage[data-phone] .dial-ring { --w: 5px; width: 66px; height: 66px; }
.wpk .dial-stage[data-phone] .dial-ring .cap { transform-origin: 50% 33px; }
.wpk .dial-stage[data-phone] .dial-ring .num { font-size: max(18px, var(--floor)); }
.wpk .dial-stage[data-phone] .dial-big { display: flex; height: 66px; align-items: center; justify-content: center; align-self: center; font-size: 28px; }
.wpk .dial-stage[data-phone] .dial-big .unit { margin-left: 4px; font-size: max(13px, var(--floor)); }
.wpk .dial-stage[data-phone] .dial-label { font-size: max(10.5px, var(--floor)); }
.wpk .dial-stage[data-phone] .dial-footer { left: 16px; right: 16px; bottom: 12px; height: 34px; font-size: max(9.5px, var(--floor)); letter-spacing: .12em; }

/* List: the cross picker, cards on a model column and an effort row. */
.wpk-list { display: flex; flex-direction: column; color: #f2f3f5; }
.wpk .model-cross-stage {
  --picker-x-step: 130px;
  --picker-y-step: 130px;
  --picker-card-width: 110px;
  --picker-card-height: 100px;
  position: relative;
  flex: 1;
  min-height: 180px;
  overflow: hidden;
  zoom: var(--z, 1);
  touch-action: none;
  background: radial-gradient(ellipse 330px 270px at center, color-mix(in srgb, var(--picker-accent) 9%, transparent), transparent);
  mask-image: linear-gradient(transparent, #000 max(8%, min(50% - 180px, 620px - 100%)) min(92%, max(50% + 180px, 200% - 620px)), transparent);
}
.wpk[data-inline] .model-cross-stage { touch-action: pan-y; }
.wpk[data-inline]:focus-within :is(.model-cross-column, .model-cross-up, .model-cross-down) { touch-action: none; }
.wpk .model-cross-plane { position: relative; width: 100%; height: 100%; transition: transform 600ms var(--spring); }
.wpk .model-cross-column { position: absolute; top: calc(50% - var(--picker-card-height) / 2); left: calc(50% - var(--picker-card-width) / 2); display: flex; flex-direction: column; gap: calc(var(--picker-y-step) - var(--picker-card-height)); transition: transform 600ms var(--spring); will-change: transform; }
.wpk .model-cross-cell {
  position: relative;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: var(--picker-card-width);
  height: var(--picker-card-height);
  padding: 10px 6px;
  border: 1px solid #53545f;
  border-radius: 16px;
  background: linear-gradient(145deg, #191a22, #090b10);
  color: #f2f3f5;
  opacity: .5;
  box-shadow: inset 0 1px 1px #ffffff12;
  text-align: center;
  transition: opacity 180ms, background 180ms, scale 120ms cubic-bezier(.2, .8, .2, 1), transform 200ms cubic-bezier(.2, .8, .2, 1);
}
.wpk .model-cross-cell > svg { flex-shrink: 0; color: #c9ccd3; margin-bottom: 3px; }
@media (hover: hover) { .wpk .model-cross-cell:hover { opacity: .85; } }
.wpk .model-cross-cell[aria-pressed="true"] { opacity: 1; background: linear-gradient(145deg, #20212b, #0b0e16); }
.wpk .model-cross-column .model-cross-cell[aria-pressed="true"] { border-color: transparent; transform: scale(1.12, 1.14); }
.wpk .model-cross-cell:active { scale: .98; }
.wpk-list button:focus-visible { outline: 2px solid #f3f4fa; outline-offset: 4px; }
.wpk .model-cross-engine { color: #a7a9b3; font-size: 10px; line-height: 1; }
.wpk .model-cross-name { font-size: 13px; font-weight: 600; line-height: 1.2; overflow-wrap: anywhere; }
.wpk .model-cross-chrome { position: absolute; z-index: 2; top: calc(50% - var(--picker-card-height) / 2); left: calc(50% - var(--picker-card-width) / 2); width: var(--picker-card-width); height: var(--picker-card-height); border: 2px solid var(--picker-accent); border-radius: 16px; box-shadow: 0 0 7px color-mix(in srgb, var(--picker-accent) 65%, transparent), 0 0 25px color-mix(in srgb, var(--picker-accent) 35%, transparent), inset 0 0 16px color-mix(in srgb, var(--picker-accent) 8%, transparent); pointer-events: none; }
.wpk .model-cross-chrome[hidden] { display: none; }
.wpk .model-cross-model-chrome { top: calc(50% - var(--picker-card-height) / 2 - 7px); left: calc(50% - var(--picker-card-width) / 2 - 7px); width: calc(var(--picker-card-width) + 14px); height: calc(var(--picker-card-height) + 14px); border-radius: 18px; }
.wpk .model-cross-efforts { position: absolute; inset: 0; pointer-events: none; transition: transform 600ms var(--spring); }
.wpk .model-cross-effort { position: absolute; top: calc(50% - var(--picker-card-height) / 2 + 4px); left: calc(50% - var(--picker-card-width) / 2); height: calc(var(--picker-card-height) - 8px); gap: 10px; pointer-events: auto; }
.wpk .model-cross-effort .model-cross-name { text-transform: capitalize; }
.wpk .model-cross-effort-chrome { top: calc(50% - var(--picker-card-height) / 2 + 4px); height: calc(var(--picker-card-height) - 8px); transition: transform 600ms var(--spring); will-change: transform; }
.wpk .model-cross-chevron, .wpk .model-cross-edge { position: absolute; z-index: 3; display: grid; place-items: center; width: 24px; height: 24px; margin-left: -12px; color: #c5c8d0; pointer-events: auto; transition: color 120ms cubic-bezier(.2, .8, .2, 1), transform 600ms var(--spring); }
.wpk .model-cross-chevron { left: 50%; top: calc(50% - 12px); }
.wpk .model-cross-left, .wpk .model-cross-right { border-radius: 50%; background: #030407; box-shadow: 0 0 16px 12px #030407; }
.wpk .model-cross-up { top: calc(50% - var(--picker-card-height) / 2 - 28px); }
.wpk .model-cross-down { top: calc(50% + var(--picker-card-height) / 2 + 4px); }
.wpk .model-cross-edge { left: 50%; color: var(--picker-accent); }
.wpk .model-cross-top { top: 22px; }
.wpk .model-cross-bottom { bottom: 22px; }
@media (hover: hover) { .wpk .model-cross-chevron:hover { color: #fff; } }
.wpk-list.dragging :is(.model-cross-column, .model-cross-efforts) { transition: none; }
@media (hover: hover) { .wpk-list .model-cross-stage, .wpk-list .model-cross-stage * { cursor: grab; } .wpk-list.held .model-cross-stage, .wpk-list.held .model-cross-stage * { cursor: grabbing; } }
@media (pointer: coarse) {
  .wpk .model-cross-chevron::before, .wpk .model-cross-edge::before { content: ""; position: absolute; inset: -10px; }
}
.wpk .model-cross-options { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; padding: 8px 24px; }
.wpk .model-cross-current { display: flex; min-width: 0; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; color: #a7a9b3; font-size: 12px; line-height: 1.4; text-align: center; }
.wpk .model-cross-current .ink { color: #e1e3e9; overflow-wrap: anywhere; }
.wpk .model-cross-current .ready { padding: 2px 8px; border-radius: 999px; background: #7fdcae1a; color: #7fdcae; }
.wpk .model-cross-footer { flex-shrink: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; padding: 20px 16px 28px; color: #c5c7d0; font-size: 11px; }
.wpk .model-cross-binding { display: inline-flex; align-items: center; gap: 5px; }
.wpk .model-cross-binding kbd { display: grid; place-items: center; min-width: 22px; height: 23px; padding: 0 5px; border: 1px solid #373a44; border-radius: 4px; background: #11141a; color: inherit; font: inherit; box-shadow: 0 1px 2px #0009; }
@media (hover: hover) { .wpk button.model-cross-binding:hover { color: #fff; } }
.wpk[data-narrow] .model-cross-footer { column-gap: 12px; row-gap: 8px; }
.wpk[data-narrow] :is(.model-cross-left, .model-cross-right) { background: none; box-shadow: none; }
@media (pointer: coarse) {
  .wpk .model-cross-footer [data-legend], .wpk .model-cross-footer kbd { display: none; }
  .wpk button.model-cross-binding { min-width: 64px; min-height: 44px; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .wpk *, .wpk *::before, .wpk *::after { transition: none !important; animation: none !important; }
  .wpk .dial-stage :is([data-pick], [data-dial-pick]):enabled:active { transform: none; }
}
