@font-face { font-family: "General Sans"; src: url("/static/homepage/fonts/GeneralSans-Variable.woff2") format("woff2"); font-weight: 200 700; font-display: swap; }

body:has(.wearable-finder) {
  background: #fff;
}

.wearable-finder {
  --wf-ink: #252525;
  --wf-muted: #5e5e5e;
  --wf-border: #d2d2d2;
  --wf-paper: #fff;
  --wf-accent: #396385;
  --wf-rule: #d0d0d0;
  position: relative;
  min-height: 100dvh;
  background: #fff;
  color: #000;
  font: 300 16px/1.35 Inter, system-ui, sans-serif;
}

.wearable-finder [hidden] { display: none !important; }
.wearable-finder:has(.wf-chart:not([hidden])) {
  height: 100dvh;
  min-height: 617px;
}
.wearable-finder h2,
.wearable-finder h3 {
  color: var(--wf-ink);
  font-family: "General Sans", Inter, system-ui, sans-serif;
  letter-spacing: -.04em;
  line-height: 1.12;
}
.wearable-finder :focus-visible { outline: 2px solid var(--wf-accent); outline-offset: 2px; }
.wf-results a,
.wf-model-dialog a { color: var(--wf-accent); text-decoration: underline; text-underline-offset: 3px; }

/* Header: logo block over the settings column, view links across the top. */
.wf-logo {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 210px;
  height: 82px;
  padding: 0 15px;
  border-bottom: 1px solid var(--wf-rule);
  background: #f0f0f0;
}
.wf-logo h1 {
  margin: 0;
  color: #111;
  font: 600 25px/1 "General Sans", Inter, system-ui, sans-serif;
  letter-spacing: -.035em;
  white-space: nowrap;
}
.wf-logo h1.wf-long { font-size: 19px; line-height: 1.04; white-space: normal; }
.wf-logo a { display: flex; align-items: center; gap: 5px; color: #6b6b6b; font-size: 12px; line-height: 1; text-decoration: none; }
.wf-logo img { display: block; width: auto; }
/* "by" sits on the wordmark's baseline and the sun on its optical centre. */
.wf-logo span { position: relative; top: -1px; }
.wf-logo .wf-wordmark { height: 15px; }
.wf-logo .wf-sun { position: relative; top: -1px; height: 17px; margin-left: -2px; }
.wf-icontitle {
  position: absolute;
  top: 0;
  left: 210px;
  right: 0;
  display: flex;
  align-items: center;
  height: 82px;
  padding-left: 25px;
  overflow: auto;
  border-bottom: 1px solid var(--wf-rule);
  font-size: 14px;
  white-space: nowrap;
}
.wf-icontitle .wf-category {
  min-width: 110px;
  height: 50px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: #000;
  font: inherit;
  letter-spacing: 0;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.wf-view-toggle {
  display: inline-flex;
  margin-right: 28px;
  padding: 3px;
  border-radius: 9px;
  background: #e9e9e9;
}
.wf-view-toggle button {
  min-width: 96px;
  padding: 8px 16px;
  border: 0;
  border-radius: 7px;
  background: none;
  color: #505050;
  font: 500 14px/1.2 Inter, system-ui, sans-serif;
  cursor: pointer;
}
.wf-view-toggle button:hover { color: #000; }
.wf-view-toggle button[aria-pressed="true"] { background: #fff; box-shadow: 0 1px 3px #0003; color: #000; }
.wf-category svg {
  display: inline-block;
  height: 25px;
  fill: none;
  stroke: #eb4209;
  stroke-width: 2;
}
.wf-category circle { fill: #eb4209; stroke: none; }
.wf-icontitle .wf-category { min-width: 104px; }
.wf-category.wf-current { font-weight: 600; }
.wf-category:not(.wf-current):not(:hover) { filter: grayscale(100%); }
.wf-category:not(.wf-current):hover { text-decoration: underline; }

/* Settings column */
.wf-settings {
  position: absolute;
  left: 0;
  top: 82px;
  bottom: 0;
  width: 210px;
  min-height: 535px;
  overflow: auto;
  background: #f0f0f0;
  font-size: 16px;
}
.wf-settings a { color: #000; text-decoration: none; }
.wf-settings label { display: block; white-space: nowrap; }
.wf-settings label span { display: inline-block; max-width: 158px; vertical-align: top; white-space: normal; }
.wf-settings input { margin-top: 4px; }
.wf-settings input[type="checkbox"] { width: 13px; height: 13px; margin: 4px 3px 3px 4px; vertical-align: baseline; }
.wf-settings input[type="radio"] {
  width: 13px;
  height: 13px;
  margin: 4px 3px 3px 4px;
  border: 1px solid #000;
  border-radius: 50%;
  background: #fff;
  vertical-align: baseline;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.wf-settings input[type="radio"]:checked { background: #000; box-shadow: inset 0 0 0 2px #fff; }
.wf-settings input[type="text"] { width: 100%; border: 1px solid #c0c0c0; background: #fff; color: #000; font: inherit; }
.wf-go { margin: 10px 0; text-align: center; }
.wf-go button {
  padding: 6px 12px;
  border: 1px solid #c0c0c0;
  border-radius: 4px;
  background: linear-gradient(to bottom, #f0f0f0 0%, #e0e0e0 100%);
  color: #303030;
  font: 400 17px Inter, system-ui, sans-serif;
  cursor: pointer;
}
.wf-toggle {
  display: block;
  margin: 0 0 0 5px;
  padding: 10px;
  border-top: 1px solid var(--wf-rule);
}
.wf-toggle.wf-first { border-top: 0; }
.wf-toggle:hover { background: #f5f5f5; }
.wf-toggle::before { content: "→ "; }
.wf-toggle.active::before { content: "↓ "; }
.wf-toggle-container { display: none; padding: 0 8px 10px 10px; }
.wf-lala { margin: 20px 0 0 7px; }
.wf-lala > div { margin: 15px 15px 15px 5px; }
.wf-check-option { margin-top: 10px; }
.wf-reset { padding: 10px 0; border-top: 1px solid var(--wf-rule); text-align: center; }
.wf-settings .wf-reset a { color: #808080; }
.wf-settings .wf-reset a:hover { text-decoration: underline; }
.wf-sort-by,
.wf-matching-info,
.wf-settings-info,
#wf-setting-impact { display: none; }

/* Sliders: a thin track with round handles that snap to the values in the data. */
.wf-noui {
  position: relative;
  height: 10px;
  border: 1px solid #c0c0c0;
  border-radius: 4px;
  background: #fafafa;
  box-shadow: inset 0 1px 1px #f0f0f0, 0 3px 6px -5px #bbb;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
.wf-noui-base { position: relative; width: 100%; height: 100%; }
.wf-noui-origin { position: absolute; inset: 0; border-radius: 2px; }
.wf-noui-handle {
  position: relative;
  z-index: 1;
  left: -10px;
  top: -6px;
  width: 20px;
  height: 20px;
  border: 1px solid #909090;
  border-radius: 30px;
  background: #fff;
  box-shadow: inset 0 0 1px #fff, inset 0 1px 7px #ebebeb, 0 3px 6px -3px #bbb;
  cursor: default;
}
.wf-noui-stacking .wf-noui-handle { z-index: 10; }
.wf-noui-handle.wf-active { box-shadow: inset 0 0 1px #fff, inset 0 1px 7px #ddd, 0 3px 6px -3px #bbb; }
.wf-state-tap .wf-noui-origin { transition: left .3s; }

/* Chart */
#wf-chart-items {
  position: absolute;
  left: 310px;
  top: 88px;
  right: 0;
  bottom: 35px;
  min-width: 550px;
  min-height: 500px;
}
/* A passive reminder of the tracking filters, behind the bubbles. */
.wf-backdrop {
  position: absolute;
  top: 6px;
  left: 4px;
  margin: 0;
  padding: 0;
  color: #d4d4d4;
  font: 600 38px/1.22 "General Sans", Inter, system-ui, sans-serif;
  letter-spacing: -.035em;
  list-style: none;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}
.wf-backdrop li { transition: color .3s; }
.wf-js:not(.wf-ready) .wf-results { display: none; }
/* Two lines down, so the bubbles at the top of the chart (often Ray) don't cover the sentence. */
.wf-sentence { top: calc(6px + 2lh); }
.wf-sentence p { margin: 0; white-space: nowrap; font-size: clamp(22px, 2.6vw, 38px); }
.wf-sentence ul { margin: 6px 0 0; padding: 0; list-style: none; font-size: clamp(20px, 2.2vw, 32px); }
.wf-sentence li::before { content: "\2022"; display: inline-block; width: 1.1em; padding-left: .15em; color: #8a8a8a; transition: color .3s; }
.wf-sentence li:has(.wf-off)::before { color: #ececec; }
.wf-sentence button {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: #8a8a8a;
  font: inherit;
  letter-spacing: inherit;
  cursor: pointer;
  pointer-events: auto;
  transition: color .3s;
}
.wf-sentence button:hover { color: #666; }
.wf-sentence button.wf-off { color: #ececec; }
.wf-sentence button.wf-off:hover { color: #c8c8c8; }
.wf-sentence button:focus-visible { outline: 2px solid #9a9a9a; outline-offset: 2px; }
.wf-backdrop .wf-off { color: #e9e9e9; text-decoration: line-through; text-decoration-thickness: 2px; }
.wf-item {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  width: 25px;
  height: 25px;
  padding: calc(var(--wf-item-size, 25px) * .13);
  border: 1px solid #c0c0c0;
  border-radius: 50%;
  outline: 0;
  background: #fff 50% 50% / contain no-repeat;
  background-origin: content-box;
  color: #211b14;
  transition: all .5s linear, opacity 1.2s linear, box-shadow .15s linear;
}
.wf-item:hover { border: 1px solid #808080; }
.wf-item.wf-loc-match { box-shadow: 0 0 0 5px #ffd36e8c; }
.wf-item[data-id="ray"] { padding: calc(var(--wf-item-size, 25px) * .07); border-color: #d23b13; }
.wf-item.dismissed { opacity: 0 !important; }
.wf-item.highlighted,
.wf-item.highlighted:hover { border: 4px solid #50f020; }
.wf-item > .wf-item-info { display: none; }
.wf-item .wf-no-photo {
  display: grid;
  height: 100%;
  place-items: center;
  overflow: hidden;
  font-size: .62rem;
  font-weight: 600;
}
.wf-axis {
  position: absolute;
  display: block;
  width: 350px;
  background: linear-gradient(#000, #000) 0 50% / 100% 1px no-repeat;
  font-size: 21px;
  font-weight: 500;
  letter-spacing: 2px;
  line-height: 28px;
  text-align: center;
  text-transform: uppercase;
}
.wf-x-axis { bottom: -31px; left: 7%; }
.wf-x-break { position: absolute; top: 0; bottom: 0; width: 0; border-left: 2px dashed #e2e2e2; pointer-events: none; }
.wf-y-axis { left: -96px; bottom: 5%; transform: rotate(-90deg); transform-origin: 0 0; }
.wf-axis::after {
  position: absolute;
  top: 8px;
  left: 100%;
  display: block;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 6px solid #505050;
  content: "";
}
.wf-axis div { position: relative; display: inline-block; padding: 0 12px; background: #fff; }
.wf-ticks span {
  position: absolute;
  right: 100%;
  padding-right: 12px;
  color: #505050;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
  transform: translateY(-50%);
  transition: top .5s linear;
}
.wf-ticks span::after {
  position: absolute;
  top: 50%;
  right: 2px;
  width: 6px;
  border-top: 1px solid #808080;
  content: "";
}
@media (prefers-reduced-motion: reduce) {
  .wf-item, .wf-state-tap .wf-noui-origin { transition: none; }
}

/* Hover cards live on <body> so they can overlap the whole page. */
.wf-tooltip {
  position: absolute;
  z-index: 1000000;
  border: 1px solid #808080;
  background: #fff;
  color: #000;
  font: 300 16px/1.35 Inter, system-ui, sans-serif;
}
.wf-tooltip a { color: #000; text-decoration: none; }
.wf-tooltip a:hover { text-decoration: underline; }
.wf-tooltip table { border-collapse: collapse; border-spacing: 0; }
.wf-tooltip td { padding: 0; }
.wf-tooltip > table { width: 100%; }
.wf-tooltip .wf-name {
  max-width: 220px;
  margin-bottom: 5px;
  overflow: hidden;
  border-bottom: 1px solid #808080;
  font-weight: 400;
}
.wf-tooltip .wf-name a:hover { text-decoration: none; }
.wf-tooltip .wf-last-update,
.wf-tooltip .wf-last-update a { color: #404040; font-size: 10px; }
.wf-tooltip .wf-info { padding: 5px 5px 15px; color: #808080; font-size: 14px; text-align: center; }
.wf-tooltip .wf-data { padding: 10px 10px 10px 0; vertical-align: top; }
.wf-tooltip img { display: block; width: 160px; height: 160px; margin: 10px 20px; border: 0; object-fit: contain; }
.wf-tooltip .wf-specs { max-height: 250px; overflow-x: hidden; overflow-y: auto; }
.wf-tooltip .wf-specs td { padding-right: 10px; white-space: nowrap; }
.wf-tooltip .wf-controls { display: flex; border-top: 1px solid #808080; text-align: center; }
.wf-tooltip .wf-controls > * { flex: 1; padding: 5px; cursor: pointer; }
.wf-tooltip .wf-details { border-right: 1px solid #808080; }
.wf-tooltip .wf-details:hover { background: #ffff00; text-decoration: none; }
.wf-tooltip .wf-highlight { border-right: 1px solid #808080; }
.wf-tooltip .wf-highlight:hover,
.wf-tooltip .wf-highlight.highlighted { background: #50f040; }
.wf-tooltip .wf-dismiss:hover,
.wf-tooltip .wf-dismiss.dismissed { background: #ff5010; }

.wf-model-dialog {
  position: fixed;
  inset: 0;
  box-sizing: border-box;
  width: min(680px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 24px;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--wf-border);
  border-radius: 18px;
  background: var(--wf-paper);
  color: var(--wf-ink);
  box-shadow: 0 20px 90px #20180f45;
}
.wf-model-dialog::backdrop { background: #261c15a8; }
.wf-dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.wf-dialog-header p { margin: 0 0 5px; color: var(--wf-muted); font-size: .85rem; }
.wf-dialog-header h2 { margin: 0; font-size: clamp(1.55rem, 4vw, 2.25rem); }
.wf-dialog-header .wf-close,
.wf-dialog-actions button {
  border: 1px solid var(--wf-border);
  border-radius: 9px;
  background: #fff;
  color: var(--wf-ink);
  cursor: pointer;
}
.wf-dialog-header .wf-close { width: 42px; height: 42px; font-size: 1.45rem; line-height: 1; }
.wf-dialog-content {
  display: grid;
  grid-template-columns: minmax(130px, 34%) 1fr;
  gap: 18px;
  align-items: start;
}
.wf-dialog-photo {
  position: relative;
  display: grid;
  min-height: 120px;
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--wf-border);
  border-radius: 12px;
  background: #fff;
}
.wf-dialog-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.wf-photo-credit { display: inline-block; margin-top: 5px; font-size: .75rem; }
.wf-dialog-specs {
  display: grid;
  grid-template-columns: minmax(90px, 26%) 1fr;
  gap: 6px 12px;
  margin: 0;
  font-size: .92rem;
}
.wf-dialog-specs dt { font-weight: 650; }
.wf-dialog-specs dd { margin: 0; color: var(--wf-muted); }
.wf-dialog-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 15px; margin-top: 20px; font-size: .88rem; }
.wf-dialog-actions button { min-height: 42px; padding: 6px 12px; }
.wf-dialog-actions button[aria-pressed="true"] { color: var(--wf-accent); border-color: currentColor; }
.wf-table .wf-quick-view { display: block; margin: 4px 0 0; padding: 2px 0; text-decoration: underline; color: var(--wf-muted); font-size: .78rem; }

.wf-results { min-width: 0; margin-left: 210px; padding: 106px 24px 24px; font-weight: 400; }
.wf-results h2 { scroll-margin-top: 100px; }
.wf-results .wf-heading p { margin: 5px 0 0; color: var(--wf-muted); }
.wf-save input { width: 17px; height: 17px; margin: 0 4px 0 0; vertical-align: middle; accent-color: var(--wf-accent); }
.wf-table-wrap {
  overflow: auto;
  max-height: min(760px, 80vh);
  margin-top: 14px;
  border: 1px solid var(--wf-border);
  border-radius: 12px;
}
.wf-table { width: 100%; min-width: 1240px; border-collapse: separate; border-spacing: 0; font-size: .89rem; }
.wf-table th,
.wf-table td { padding: 11px 12px; border-bottom: 1px solid var(--wf-border); background: var(--wf-paper); text-align: left; vertical-align: top; }
.wf-table thead th { position: sticky; top: 0; z-index: 2; white-space: nowrap; background: #ede3d4; }
.wf-table .wf-model { position: sticky; left: 0; z-index: 1; min-width: 145px; box-shadow: 1px 0 var(--wf-border); }
.wf-table thead .wf-model { z-index: 3; }
.wf-table [data-id="ray"] th,
.wf-table [data-id="ray"] td { background: #fff0dd; }
.wf-table button { margin: 0 0 0 3px; border: 0; padding: 1px 5px; color: inherit; background: transparent; }
.wf-table th[aria-sort="ascending"] button,
.wf-table th[aria-sort="descending"] button { color: var(--wf-accent); font-weight: 700; }
.wf-table small { display: block; margin-top: 4px; color: var(--wf-muted); }
/* Explanatory copy and links below the chart */
.wf-about {
  max-width: 1040px;
  margin: 0 auto;
  padding: 56px 24px 72px;
  color: #252525;
  font: 400 16px/1.6 Inter, system-ui, sans-serif;
}
.wf-about h2 { margin: 0 0 14px; color: #111; font: 600 clamp(1.6rem, 3.2vw, 2.2rem)/1.12 "General Sans", Inter, system-ui, sans-serif; letter-spacing: -.035em; }
.wf-about h3 { margin: 36px 0 10px; color: #111; font: 600 1.15rem/1.25 "General Sans", Inter, system-ui, sans-serif; letter-spacing: -.02em; }
.wf-about p { max-width: 74ch; margin: 0; }
.wf-about a { color: #396385; text-decoration: underline; text-underline-offset: 3px; }
.wf-about-lists { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0 28px; }
.wf-about-lists ul { margin: 0; padding: 0; list-style: none; }
.wf-about-lists li { margin: 4px 0; }
.wf-faq { max-width: 74ch; margin: 0; }
.wf-faq dt { margin-top: 16px; font-weight: 600; }
.wf-faq dd { margin: 4px 0 0; color: #5e5e5e; }
.wf-method { color: #5e5e5e; }

.wf-heading { display: flex; justify-content: space-between; align-items: end; gap: 14px; }
.wf-heading h2 { margin: 0; font-size: clamp(1.55rem, 3vw, 2.2rem); }
.wf-no-photo { font-size: .67rem; font-weight: 650; }
.wf-table button { cursor: pointer; }

/* Phones: settings first, then a list of matching wearables. */
@media (max-width: 800px) {
  body:has(.wearable-finder) { background: #f5f5f5; }
  .wearable-finder { background: #f5f5f5; }
  .wearable-finder,
  .wearable-finder:has(.wf-chart:not([hidden])) { height: auto; min-height: 100dvh; }
  .wf-logo { position: static; width: 100%; align-items: center; }
  .wf-icontitle { position: static; flex-shrink: 0; background: #fff; }
  .wf-icontitle { padding-left: 15px; }
  .wf-view-toggle { margin-right: 12px; }
  .wf-view-toggle button { min-width: 0; padding-inline: 13px; }
  .wf-icontitle > :first-child { margin-left: auto; }
  .wf-icontitle > :last-child { margin-right: auto; }
  #wf-setting-impact {
    position: absolute;
    top: -1000px;
    left: 50%;
    z-index: 100;
    display: inline-block;
    padding: 10px;
    border: 1px solid #f08040;
    background: #505050;
    box-shadow: 7px 7px 7px #404040;
    color: #fff;
    font-size: 20px;
    text-transform: capitalize;
    white-space: nowrap;
    transform: translateX(-50%);
  }
  .wf-settings-info { display: block; margin: 0; padding: 20px 10%; font-size: 18px; }
  .wf-settings {
    position: static;
    width: 100%;
    min-height: 0;
    padding: 0 10%;
    background: #505050;
    color: #fff;
    font-size: 18px;
  }
  .wf-settings label span { max-width: none; }
  .wf-settings .wf-toggle,
  .wf-settings .wf-toggle-container a { color: #fff; }
  .wf-toggle:hover { background: #505050; }
  .wf-noui-handle { left: -15px; top: -12px; width: 30px; height: 30px; box-shadow: 5px 5px 4px #404040; }
  .wf-axis, .wf-ticks, .wf-backdrop, #wf-toggle-compare, #wf-toggle-compare-container { display: none !important; }
  #wf-chart-items { position: relative; inset: 10px 0 0; min-width: 0; min-height: 400px; }
  .wf-matching-info {
    display: block;
    padding-top: 18px;
    color: #505050;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    text-transform: capitalize;
  }
  .wf-item { border-radius: 10%; box-shadow: 5px 5px 4px #a0a0a0; }
  .wf-item > .wf-item-info {
    position: absolute;
    top: -1px;
    left: -1px;
    display: block;
    width: calc(75vw - 75px);
    min-width: 150px;
    margin-left: 100px;
    color: #000;
    font-size: 14px;
  }
  .wf-item-name {
    margin: 0 0 8px;
    overflow: hidden;
    font-size: 17px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .wf-spec-part { overflow-x: auto; white-space: nowrap; }
  .wf-spec-part span {
    display: inline-block;
    margin: 0 10px 5px 0;
    padding: 0 4px;
    background: #e8e8e8;
    white-space: nowrap;
  }
  .wf-item-info b { font-weight: 400; }
  .wf-item-status { color: #505050; }
  .wf-sort-by { display: block; padding: 10px 0; border-top: 1px solid var(--wf-rule); text-align: center; }
  .wf-sort-by select {
    display: inline-block;
    width: 100%;
    margin-bottom: 5px;
    padding: .5em 3.5em .5em 1em;
    border: 0;
    border-radius: 4px;
    background-color: #f7f7f7;
    background-image:
      linear-gradient(45deg, transparent 50%, #f0f0f0 50%),
      linear-gradient(135deg, #f0f0f0 50%, transparent 50%),
      linear-gradient(to right, #a0a0a0, #a0a0a0);
    background-position: calc(100% - 20px) calc(1em + 2px), calc(100% - 15px) calc(1em + 2px), 100% 0;
    background-repeat: no-repeat;
    background-size: 5px 5px, 5px 5px, 2.5em 2.5em;
    color: #000;
    font: 400 17px/1.5em Inter, system-ui, sans-serif;
    appearance: none;
    -webkit-appearance: none;
  }
  .wf-sort-by select:focus { outline: 0; }
  .wf-reset { padding: 4px 0 18px; border-top: 0; }
  .wf-results { margin-left: 0; padding: 14px; }
}
@media (max-width: 680px) {
  .wf-model-dialog { padding: 16px; }
  .wf-dialog-content { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .wf-dialog-photo { width: min(130px, 45%); min-height: 0; }
  .wf-table .wf-model { min-width: 120px; }
  .wf-table th,
  .wf-table td { padding: 10px; }
}
.wf-model-dialog { font-weight: 400; }
/* Keep the toggle's space before the script reveals it, so the chart links beside it never shift. */
.wf-view-toggle.wf-pending { visibility: hidden; }
