@import url("https://fonts.googleapis.com/css2?family=Comfortaa:wght@700&family=Inter:wght@300;600&display=swap");

/* Kee components. Values are lifted from the Tailwind classes in Version1.0/kee.portal.cms. */

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 14px;
  line-height: 20px;
}

.kee-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); padding: var(--space-4); }
.kee-stack { display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-4); max-width: 420px; }

:where(.kee-button, .kee-input, .kee-icon-button):focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

/* Button — px-4 py-2 text-sm, soft corners (radius-md) */
.kee-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--accent);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}
.kee-button--primary { background: var(--accent); color: var(--on-accent); }
.kee-button--primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
/* Secondary: no blue frame, so the one blue button on a view is the one to press (decided 27 Nov 2026) */
.kee-button--secondary { background: var(--surface); color: var(--accent); border-color: var(--border-subtle); }
.kee-button--secondary:hover { background: var(--surface-tint); border-color: var(--border-subtle); }
.kee-button--small { padding: 6px var(--space-3); font-size: 12px; line-height: 16px; border-radius: var(--radius-sm); }
.kee-button:disabled,
.kee-button[aria-disabled="true"] {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--gray-500);
  box-shadow: none;
  cursor: not-allowed;
}

/* Tag — soft tinted chip with the type's own ink, soft corners */
.kee-tag {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) 10px var(--space-1) var(--space-2);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  white-space: nowrap;
}
.kee-tag--villa { background: var(--property-villa-soft); color: var(--property-villa-ink); }
.kee-tag--terraced_house { background: var(--property-terraced_house-soft); color: var(--property-terraced_house-ink); }
.kee-tag--condominium { background: var(--property-condominium-soft); color: var(--property-condominium-ink); }
.kee-tag--country_property { background: var(--property-country_property-soft); color: var(--property-country_property-ink); }
.kee-tag--vacation_home { background: var(--property-vacation_home-soft); color: var(--property-vacation_home-ink); }
.kee-tag--building_plot { background: var(--property-building_plot-soft); color: var(--property-building_plot-ink); }

/* Energy label — the class name in 1.0 is bg-energy-<rating>; dark text where white falls below 4.5:1 */
.kee-energy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  color: var(--white);
}
.kee-energy--a2020 { background: var(--energy-a2020); }
.kee-energy--a2015 { background: var(--energy-a2015); color: var(--gray-900); }
.kee-energy--a2010 { background: var(--energy-a2010); color: var(--gray-900); }
.kee-energy--a { background: var(--energy-a); color: var(--gray-900); }
.kee-energy--b { background: var(--energy-b); color: var(--gray-900); }
.kee-energy--c { background: var(--energy-c); color: var(--gray-900); }
.kee-energy--d { background: var(--energy-d); color: var(--gray-900); }
.kee-energy--e { background: var(--energy-e); color: var(--gray-900); }
.kee-energy--f { background: var(--energy-f); }
.kee-energy--g { background: var(--energy-g); }
.kee-energy--unknown { background: var(--slate-800); }

/* Status — always a word, never color alone */
.kee-status {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  color: var(--ink);
}
.kee-status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: currentColor;
}
.kee-status--sent::before { background: var(--state-success); }
.kee-status--pending::before { background: var(--state-warning); }
.kee-status--rejected::before { background: var(--red-500); }
.kee-status--draft::before { background: var(--accent); }
.kee-status--sold::before { background: var(--red-500); }

/* Text input — soft corners (radius-md) */
/* Spacing by the parts' own margins, not a gap: password managers (LastPass and others) put an empty element after the
   input, and a gap would push the next field down a little after the page has loaded */
.kee-field { display: flex; flex-direction: column; }
.kee-field__label { margin-bottom: var(--space-1); }
.kee-field__hint, .kee-field__error { margin-top: var(--space-1); }
.kee-field__label { font-size: 12px; line-height: 16px; font-weight: 600; color: var(--ink); }
.kee-field__hint { font-size: 12px; line-height: 16px; color: var(--ink-muted); }
.kee-input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 10px var(--space-3);
  border: 1px solid var(--border-control);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 24px;
  font-weight: 300;
}
.kee-input::placeholder { color: var(--ink-muted); }
.kee-input:focus { border-color: var(--focus-ring); }
.kee-field--error .kee-input { border-color: var(--danger); box-shadow: 0 0 0 3px var(--danger-ring); }
.kee-field__error {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 2px;
  color: var(--danger);
  font-size: 13px;
  line-height: 18px;
  font-weight: 400;
}
.kee-field__error .kee-icon { width: 16px; height: 16px; margin-top: 1px; }

/* Notice — soft tinted box, rounded, no hard edge */
.kee-notice {
  padding: var(--space-4) 20px;
  border-radius: var(--radius-md);
  background: var(--surface-tint);
  color: var(--ink);
  font-size: 14px;
  line-height: 20px;
}
.kee-notice strong { font-weight: 600; }
/* Everything in a Notice keeps the ink: grey (ink-muted) on surface-tint reads too faintly */
.kee-notice :is(p, small, li, span) { color: var(--ink); }

/* Tooltip — bg-primary-800 p-2.5 with a 45° arrow */
.kee-tooltip {
  position: relative;
  display: inline-block;
  max-width: 260px;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  background: var(--primary-800);
  color: var(--white);
  font-size: 12px;
  line-height: 16px;
  box-shadow: var(--shadow-lg);
}
.kee-tooltip::after {
  content: "";
  position: absolute;
  top: -4px;
  left: 16px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: inherit;
  transform: rotate(45deg);
}
[data-theme="dark"] .kee-tooltip { background: var(--primary-50); color: var(--primary-900); }

/* Panel — soft card */
.kee-panel {
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-subtle);
}
.kee-panel__title { margin: 0 0 var(--space-2); font-family: var(--font-serif); font-size: 20px; line-height: 28px; font-weight: 700; color: var(--ink); }
.kee-panel__meta { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; }
.kee-panel__text { margin: var(--space-2) 0 var(--space-4); color: var(--ink-muted); font-size: 12px; line-height: 16px; }

/* Property type icons (assets/Icons), drawn in currentColor via CSS mask */
.kee-icon { display: inline-block; width: 16px; height: 16px; flex: none; background: currentColor; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.kee-tag .kee-icon { margin-right: 6px; }

/* General UI icons (assets/Icons/ui-*.svg) */
.kee-icon--briefcase { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%223%22 y=%227%22 width=%2218%22 height=%2213%22 rx=%222%22/%3E%3Cpath d=%22M8.5 7V5.5a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2V7%22/%3E%3Cpath d=%22M3 12.5h18%22/%3E%3C/svg%3E"); }
.kee-icon--building_plot { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M3 11.5 12 4.5l9 7%22 stroke-dasharray=%221.5 2.6%22/%3E%3Cpath d=%22M5.5 10v9.5M18.5 10v9.5%22 stroke-dasharray=%221.5 2.6%22/%3E%3Cpath d=%22M3 20h18%22/%3E%3C/svg%3E"); }
.kee-icon--condominium { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M6 19V5.5A1.5 1.5 0 0 1 7.5 4h9A1.5 1.5 0 0 1 18 5.5V19a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1z%22/%3E%3Cpath d=%22M9.5 8h.01M14.5 8h.01M9.5 12h.01M14.5 12h.01%22/%3E%3Cpath d=%22M10 20v-3a2 2 0 0 1 4 0v3%22/%3E%3C/svg%3E"); }
.kee-icon--country_property { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M2 13 7 9l5 4%22/%3E%3Cpath d=%22M3.5 12v7a1 1 0 0 0 1 1h8%22/%3E%3Cpath d=%22M12 20h7.5a1 1 0 0 0 1-1v-8.5L18.5 7h-4l-2 3.5V20%22/%3E%3Cpath d=%22M6 20v-2.5a1.5 1.5 0 0 1 3 0V20%22/%3E%3Cpath d=%22M15 20v-3h3v3%22/%3E%3C/svg%3E"); }
.kee-icon--terraced_house { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M2 12 6.5 6.5h11L22 12%22/%3E%3Cpath d=%22M4 10.5V19a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-8.5%22/%3E%3Cpath d=%22M6.5 20v-2.2a1 1 0 0 1 2 0V20M11 20v-2.2a1 1 0 0 1 2 0V20M15.5 20v-2.2a1 1 0 0 1 2 0V20%22/%3E%3C/svg%3E"); }
.kee-icon--vacation_home { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M2.5 12.5 12 7l9.5 5.5%22/%3E%3Cpath d=%22M5 11.5V19a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-7.5%22/%3E%3Cpath d=%22M10 20v-3a2 2 0 0 1 4 0v3%22/%3E%3Ccircle cx=%2219%22 cy=%224.5%22 r=%221.5%22/%3E%3C/svg%3E"); }
.kee-icon--villa { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M3 11.5 12 4.5l9 7%22/%3E%3Cpath d=%22M5.5 9.5V19a1 1 0 0 0 1 1h11a1 1 0 0 0 1-1V9.5%22/%3E%3Cpath d=%22M10 20v-3a2 2 0 0 1 4 0v3%22/%3E%3C/svg%3E"); }
.kee-icon--area { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%224%22 y=%224%22 width=%2216%22 height=%2216%22 rx=%222%22/%3E%3Cpath d=%22M8.5 15.5l7-7M11.5 8.5h4v4%22/%3E%3C/svg%3E"); }
.kee-icon--arrow-right { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 12h15M13.5 6.5 19 12l-5.5 5.5%22/%3E%3C/svg%3E"); }
.kee-icon--bell { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M6 16.5V11a6 6 0 0 1 12 0v5.5l1.5 2h-15z%22/%3E%3Cpath d=%22M10 20.5a2 2 0 0 0 4 0%22/%3E%3C/svg%3E"); }
.kee-icon--calendar { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%223.5%22 y=%225%22 width=%2217%22 height=%2215%22 rx=%222.5%22/%3E%3Cpath d=%22M3.5 10h17M8 3v4M16 3v4%22/%3E%3C/svg%3E"); }
.kee-icon--chart { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 20h16M7 16v-4M12 16V8M17 16V9%22/%3E%3C/svg%3E"); }
.kee-icon--check-circle { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%229%22/%3E%3Cpath d=%22M8 12.3l2.7 2.7L16 9.7%22/%3E%3C/svg%3E"); }
.kee-icon--check { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M5 12.5l4.5 4.5L19 7.5%22/%3E%3C/svg%3E"); }
.kee-icon--chevron-down { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M6 9.5l6 6 6-6%22/%3E%3C/svg%3E"); }
.kee-icon--chevron-right { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M9.5 6l6 6-6 6%22/%3E%3C/svg%3E"); }
.kee-icon--clock { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%228.5%22/%3E%3Cpath d=%22M12 7.5V12l3 2%22/%3E%3C/svg%3E"); }
.kee-icon--close-circle { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%229%22/%3E%3Cpath d=%22M9 9l6 6M15 9l-6 6%22/%3E%3C/svg%3E"); }
.kee-icon--close { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M6 6l12 12M18 6 6 18%22/%3E%3C/svg%3E"); }
.kee-icon--document { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z%22/%3E%3Cpath d=%22M14 3v5h5M9 13h6M9 17h4%22/%3E%3C/svg%3E"); }
.kee-icon--download { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 4v11M7 10.5l5 5 5-5M5 20h14%22/%3E%3C/svg%3E"); }
.kee-icon--edit { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M15.5 4.5l4 4L9 19H5v-4z%22/%3E%3Cpath d=%22M13.5 6.5l4 4%22/%3E%3C/svg%3E"); }
.kee-icon--energy { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M13 3 5 13.5h6L10 21l9-11h-6z%22/%3E%3C/svg%3E"); }
.kee-icon--eye-off { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M3 3l18 18%22/%3E%3Cpath d=%22M10.6 6.1A9.8 9.8 0 0 1 12 6c5 0 8.5 4.5 9.5 6a17 17 0 0 1-2.8 3.4M6.6 7.6A17 17 0 0 0 2.5 12c1 1.5 4.5 6 9.5 6a9.6 9.6 0 0 0 4.4-1.1%22/%3E%3Cpath d=%22M9.9 9.9a3 3 0 0 0 4.2 4.2%22/%3E%3C/svg%3E"); }
.kee-icon--eye { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M2.5 12S6 6 12 6s9.5 6 9.5 6-3.5 6-9.5 6-9.5-6-9.5-6z%22/%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%223%22/%3E%3C/svg%3E"); }
.kee-icon--filter { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 6h16M7 12h10M10 18h4%22/%3E%3C/svg%3E"); }
.kee-icon--heart { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 20s-7.2-4.4-8.7-8.8C2.1 7.4 4.6 4.5 7.7 4.5c1.9 0 3.3 1 4.3 2.5 1-1.5 2.4-2.5 4.3-2.5 3.1 0 5.6 2.9 4.4 6.7C19.2 15.6 12 20 12 20z%22/%3E%3C/svg%3E"); }
.kee-icon--info { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%229%22/%3E%3Cpath d=%22M12 11v5.5M12 7.5h.01%22/%3E%3C/svg%3E"); }
.kee-icon--key { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%228%22 cy=%2215%22 r=%224%22/%3E%3Cpath d=%22M11 12l8.5-8.5M16.5 6.5l2.5 2.5M14 9l2 2%22/%3E%3C/svg%3E"); }
.kee-icon--school { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M3 21h18%22/%3E%3Cpath d=%22M5 21V11l7-5 7 5v10%22/%3E%3Cpath d=%22M10 21v-5h4v5%22/%3E%3Cpath d=%22M12 6V2.5h3.5%22/%3E%3C/svg%3E"); }
.kee-icon--child { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%225.5%22 r=%222.5%22/%3E%3Cpath d=%22M6.5 11.5 12 10l5.5 1.5%22/%3E%3Cpath d=%22M9.5 21l1-6.5h3l1 6.5%22/%3E%3Cpath d=%22M10.5 14.5 10 10.5h4l-.5 4%22/%3E%3C/svg%3E"); }
.kee-icon--cart { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M3 4h2.2l2.3 11h10.3l2-7.5H6.3%22/%3E%3Ccircle cx=%229%22 cy=%2219.5%22 r=%221.5%22/%3E%3Ccircle cx=%2216.5%22 cy=%2219.5%22 r=%221.5%22/%3E%3C/svg%3E"); }
.kee-icon--train { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%226%22 y=%223%22 width=%2212%22 height=%2213%22 rx=%223%22/%3E%3Cpath d=%22M6 10h12%22/%3E%3Cpath d=%22M9 13h.01M15 13h.01%22/%3E%3Cpath d=%22m8.5 20 2-4M15.5 20l-2-4%22/%3E%3C/svg%3E"); }
.kee-icon--road { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M8 3 5 21M16 3l3 18%22/%3E%3Cpath d=%22M12 4v2.5M12 10.5v3M12 17.5V20%22/%3E%3C/svg%3E"); }
.kee-icon--bus { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%225%22 y=%223%22 width=%2214%22 height=%2214%22 rx=%223%22/%3E%3Cpath d=%22M5 10h14%22/%3E%3Cpath d=%22M8.5 13.5h.01M15.5 13.5h.01%22/%3E%3Cpath d=%22M7.5 17v3M16.5 17v3%22/%3E%3C/svg%3E"); }
.kee-icon--health { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%223.5%22 y=%223.5%22 width=%2217%22 height=%2217%22 rx=%224%22/%3E%3Cpath d=%22M12 8v8M8 12h8%22/%3E%3C/svg%3E"); }
.kee-icon--book { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 5.5A1.5 1.5 0 0 1 5.5 4H11v16H5.5A1.5 1.5 0 0 1 4 18.5z%22/%3E%3Cpath d=%22M13 4h5.5A1.5 1.5 0 0 1 20 5.5v13a1.5 1.5 0 0 1-1.5 1.5H13z%22/%3E%3C/svg%3E"); }
.kee-icon--plug { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M9 3v4M15 3v4%22/%3E%3Cpath d=%22M6.5 7h11v3.5a5.5 5.5 0 0 1-11 0z%22/%3E%3Cpath d=%22M12 16v5%22/%3E%3C/svg%3E"); }
.kee-icon--tree { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 3 6 12h3.5L6 17h12l-3.5-5H18z%22/%3E%3Cpath d=%22M12 17v4%22/%3E%3C/svg%3E"); }
.kee-icon--wave { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M3 9c2-2 4-2 6 0s4 2 6 0 4-2 6 0%22/%3E%3Cpath d=%22M3 15c2-2 4-2 6 0s4 2 6 0 4-2 6 0%22/%3E%3C/svg%3E"); }
.kee-icon--wind { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 10v11%22/%3E%3Cpath d=%22M12 10 12 3%22/%3E%3Cpath d=%22m12 10 6.5 3.5%22/%3E%3Cpath d=%22m12 10-6.5 3.5%22/%3E%3Ccircle cx=%2212%22 cy=%2210%22 r=%221.5%22/%3E%3Cpath d=%22M9 21h6%22/%3E%3C/svg%3E"); }
.kee-icon--sun { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%224%22/%3E%3Cpath d=%22M12 2.5v2M12 19.5v2M2.5 12h2M19.5 12h2M5.3 5.3l1.4 1.4M17.3 17.3l1.4 1.4M5.3 18.7l1.4-1.4M17.3 6.7l1.4-1.4%22/%3E%3C/svg%3E"); }
.kee-icon--letter-open { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M3 10.5 12 4l9 6.5V19a1.5 1.5 0 0 1-1.5 1.5h-15A1.5 1.5 0 0 1 3 19z%22/%3E%3Cpath d=%22M3.5 11l8.5 6 8.5-6%22/%3E%3C/svg%3E"); }
.kee-icon--letter-send { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M21 3 10.5 13.5%22/%3E%3Cpath d=%22M21 3l-6.5 18-4-7.5-7.5-4z%22/%3E%3C/svg%3E"); }
.kee-icon--letter { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%223%22 y=%225.5%22 width=%2218%22 height=%2213%22 rx=%222%22/%3E%3Cpath d=%22M3.5 7.5 12 13l8.5-5.5%22/%3E%3C/svg%3E"); }
.kee-icon--list { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M9 6h11M9 12h11M9 18h11M4.5 6h.01M4.5 12h.01M4.5 18h.01%22/%3E%3C/svg%3E"); }
.kee-icon--lock { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%225%22 y=%2210.5%22 width=%2214%22 height=%2210%22 rx=%222.5%22/%3E%3Cpath d=%22M8 10.5V8a4 4 0 0 1 8 0v2.5%22/%3E%3C/svg%3E"); }
.kee-icon--logout { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M10 4H6.5A1.5 1.5 0 0 0 5 5.5v13A1.5 1.5 0 0 0 6.5 20H10%22/%3E%3Cpath d=%22M14 8l4 4-4 4M18 12H9%22/%3E%3C/svg%3E"); }
.kee-icon--map-pin { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 21s-6.5-6-6.5-11a6.5 6.5 0 0 1 13 0c0 5-6.5 11-6.5 11z%22/%3E%3Ccircle cx=%2212%22 cy=%2210%22 r=%222.25%22/%3E%3C/svg%3E"); }
.kee-icon--map { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M3 6.5 9 4l6 2.5L21 4v13.5L15 20l-6-2.5L3 20z%22/%3E%3Cpath d=%22M9 4v13.5M15 6.5V20%22/%3E%3C/svg%3E"); }
.kee-icon--message { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 5.5h16a1.5 1.5 0 0 1 1.5 1.5v9a1.5 1.5 0 0 1-1.5 1.5h-9.5L6 21v-3.5H4A1.5 1.5 0 0 1 2.5 16V7A1.5 1.5 0 0 1 4 5.5z%22/%3E%3C/svg%3E"); }
.kee-icon--phone { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M7 3.5h3l1.5 4-2 1.5a11 11 0 0 0 5.5 5.5l1.5-2 4 1.5v3a2 2 0 0 1-2 2A16 16 0 0 1 5 5.5a2 2 0 0 1 2-2z%22/%3E%3C/svg%3E"); }
.kee-icon--plus { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 5v14M5 12h14%22/%3E%3C/svg%3E"); }
.kee-icon--qr-code { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%224%22 y=%224%22 width=%226%22 height=%226%22 rx=%221.2%22/%3E%3Crect x=%2214%22 y=%224%22 width=%226%22 height=%226%22 rx=%221.2%22/%3E%3Crect x=%224%22 y=%2214%22 width=%226%22 height=%226%22 rx=%221.2%22/%3E%3Cpath d=%22M14 14h3M14 17v3M17 17h3v3%22/%3E%3C/svg%3E"); }
.kee-icon--search { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2211%22 cy=%2211%22 r=%226%22/%3E%3Cpath d=%22M15.5 15.5 20 20%22/%3E%3C/svg%3E"); }
.kee-icon--settings { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 7h10M18 7h2M4 17h2M10 17h10%22/%3E%3Ccircle cx=%2216%22 cy=%227%22 r=%222%22/%3E%3Ccircle cx=%228%22 cy=%2217%22 r=%222%22/%3E%3C/svg%3E"); }
.kee-icon--trash { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4.5 7h15M9.5 7V4.5h5V7%22/%3E%3Cpath d=%22M6.5 7l1 12.5A1.5 1.5 0 0 0 9 21h6a1.5 1.5 0 0 0 1.5-1.5L17.5 7%22/%3E%3Cpath d=%22M10 11v6M14 11v6%22/%3E%3C/svg%3E"); }
.kee-icon--user { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%228.5%22 r=%223.5%22/%3E%3Cpath d=%22M5 20a7 7 0 0 1 14 0%22/%3E%3C/svg%3E"); }
.kee-icon--users { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%229%22 cy=%229%22 r=%223%22/%3E%3Cpath d=%22M3.5 19.5a5.5 5.5 0 0 1 11 0%22/%3E%3Cpath d=%22M15.5 6.2a3 3 0 0 1 0 5.6M17 14.3a5.5 5.5 0 0 1 3.5 5.2%22/%3E%3C/svg%3E"); }
.kee-icon--warning { --icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M10.3 4.9 2.9 17.6A2 2 0 0 0 4.6 20.6h14.8a2 2 0 0 0 1.7-3L13.7 4.9a2 2 0 0 0-3.4 0z%22/%3E%3Cpath d=%22M12 9.5v4M12 17h.01%22/%3E%3C/svg%3E"); }
.kee-icon--lg { width: 24px; height: 24px; }

/* Checkbox — Kee's own box instead of the browser's: soft corners (radius-sm), accent with a white tick when checked */
.kee-check { display: inline-flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 20px; color: var(--ink); cursor: pointer; }
.kee-checkbox {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  border: 1.5px solid var(--border-control);
  border-radius: var(--radius-sm);
  background: var(--surface) center / 13px no-repeat;
  cursor: pointer;
  transition: background-color .12s, border-color .12s;
}
.kee-checkbox:hover { border-color: var(--accent); }
.kee-checkbox:checked { border-color: var(--accent); background-color: var(--accent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.kee-checkbox:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.kee-checkbox:disabled { opacity: .5; cursor: not-allowed; }

/* ChoiceCard — a choice you press, for times, answers and channels. kee-choice--multi shows the checkbox (more than one
   can be chosen); without it one is chosen. The chosen card is marked with aria-pressed="true". */
.kee-choices { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.kee-choice {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 18px;
  font-weight: 400;
  cursor: pointer;
}
/* No blue edge: hover darkens the grey edge; the chosen card is the soft blue, in bold, and its edge melts into it */
.kee-choice:hover { border-color: var(--border-control); }
.kee-choice:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.kee-choice[aria-pressed="true"], .kee-choice[aria-pressed="true"]:hover { border-color: var(--surface-tint); background: var(--surface-tint); color: var(--accent); font-weight: 600; }
/* A description in the chosen card: grey on the tint reads too faintly, so it takes the ink */
.kee-choice[aria-pressed="true"] small, .kee-choice[aria-pressed="true"] .kee-choice__hint { color: var(--ink); }
.kee-choice--multi::before {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  box-sizing: border-box;
  border: 1.5px solid var(--border-control);
  border-radius: var(--radius-sm);
  background: var(--surface) center / 12px no-repeat;
}
.kee-choice--multi:hover::before { border-color: var(--ink-muted); }
.kee-choice--multi[aria-pressed="true"]::before { border-color: var(--accent); background-color: var(--accent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.kee-choice--large { padding: var(--space-3) var(--space-4); font-size: 15px; font-weight: 600; }
.kee-choice--large.kee-choice--multi::before { width: 18px; height: 18px; }
@media (prefers-reduced-motion: reduce) { .kee-checkbox { transition: none; } }

/* Every field on a phone is at least 16 px: below that, iOS zooms in on focus and the page jumps (decided 27 Nov 2026).
   On every input, select and textarea in every Kee system, whatever a page sets */
@media (max-width: 760px), (pointer: coarse) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), select, textarea { font-size: max(16px, 1em) !important; }
}
