:root {
  --paper: #ffffff;
  --ink: #0b0c0e;
  --hush: #9a9a96;
  --rule: #e6e5e1;
  --accent: #2f5bff;
  --field: 54px;
  --row: 48px;
  --size: clamp(16px, 1.4vmin + 11px, 19px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Mona Sans Variable', system-ui, sans-serif;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.stage {
  height: 100vh;
  height: 100dvh;
  display: grid;
  place-items: center;
  padding: 16px;
}
.find {
  position: relative;
  width: min(440px, 100%);
  height: calc(var(--field) + 10px + var(--row) * 3);
}
.find__field {
  position: relative;
  height: var(--field);
}
.find__line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
}
.find__box {
  position: absolute;
  inset: 0 52px 0 2px;
  display: flex;
  align-items: center;
}
.find__input {
  width: 100%;
  border: 0;
  outline: 0;
  background: none;
  font: inherit;
  font-size: var(--size);
  font-variation-settings: 'wght' 480, 'wdth' 100;
  letter-spacing: -0.005em;
  color: var(--ink);
  caret-color: var(--accent);
  opacity: 0;
  -webkit-appearance: none;
  appearance: none;
}
.find__input::placeholder { color: var(--hush); opacity: 1; }
.find__input::-webkit-search-cancel-button { display: none; }
.find__sign {
  position: absolute;
  top: 50%;
  right: 2px;
  width: 48px;
  height: 48px;
  margin-top: -24px;
  border: 0;
  background: none;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.find__sign:focus-visible { outline: 1.5px solid var(--accent); outline-offset: 2px; }
.find__sign-in { display: grid; place-items: center; width: 30px; height: 30px; }
.find__sign svg { width: 30px; height: 30px; overflow: visible; }
.find__ring, .find__stroke {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
}
.find__list {
  list-style: none;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--field) + 10px);
}
.find__row {
  position: relative;
  height: var(--row);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 2px;
  font-size: calc(var(--size) * 0.86);
  cursor: pointer;
}
.find__rule {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--rule);
  transform-origin: left center;
}
.find__name { font-variation-settings: 'wght' 420, 'wdth' 100; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.find__name b { font-weight: inherit; font-variation-settings: 'wght' 560, 'wdth' 100; color: var(--accent); }
.find__kind { color: var(--hush); }
.find__price { color: var(--hush); font-variation-settings: 'wght' 440, 'wdth' 92; flex: none; }
@media (hover: hover) {
  .find__row:hover .find__name { color: var(--ink); }
}
.find__caret {
  position: absolute;
  left: -2px;
  top: 50%;
  width: 1.5px;
  height: 1.25em;
  margin-top: -0.625em;
  font-size: var(--size);
  background: var(--accent);
  border-radius: 1px;
  pointer-events: none;
}
.find__mirror {
  position: absolute;
  visibility: hidden;
  white-space: pre;
  font-size: var(--size);
  font-variation-settings: 'wght' 480, 'wdth' 100;
  letter-spacing: -0.005em;
}
.find__input { caret-color: transparent; }
