*, *::before, *::after { box-sizing: border-box; }
h1, h2, h3, p { margin: 0; }

html, body {
  margin: 0;
  touch-action: manipulation;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  background-color: #f6f9fc;
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  padding: 1rem;
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  -webkit-tap-highlight-color: transparent;
}

.flex { display: flex; }
.inline-flex { display: inline-flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.flex-1 { flex: 1 1 0%; }
.relative { position: relative; }
.absolute { position: absolute; }
.w-full { width: 100%; }
.max-w-md { max-width: 28rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.min-h-screen { min-height: 100vh; }
.gap-2 { gap: .5rem; }
.gap-2\.5 { gap: .625rem; }
.gap-3 { gap: .75rem; }
.gap-4 { gap: 1rem; }
.mt-1 { margin-top: .25rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.px-1 { padding-left: .25rem; padding-right: .25rem; }
.pl-3 { padding-left: .75rem; }
.pr-2 { padding-right: .5rem; }
.pt-1 { padding-top: .25rem; }
.pt-2 { padding-top: .5rem; }
.pb-1 { padding-bottom: .25rem; }
.pb-2\.5 { padding-bottom: .625rem; }
.py-1 { padding-top: .25rem; padding-bottom: .25rem; }
.py-2\.5 { padding-top: .625rem; padding-bottom: .625rem; }
.right-3 { right: .75rem; }
.right-9 { right: 2.25rem; }
.top-2 { top: .5rem; }
.left-2 { left: .5rem; }
.w-7 { width: 1.75rem; }
.w-40 { width: 10rem; }
.w-\[51px\] { width: 51px; }
.w-\[27px\] { width: 27px; }
.h-11 { height: 2.75rem; }
.h-\[31px\] { height: 31px; }
.h-\[27px\] { height: 27px; }
.shrink-0 { flex-shrink: 0; }
.hidden { display: none !important; }
.overflow-x-auto { overflow-x: auto; }
.whitespace-nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.pointer-events-none { pointer-events: none; }
.cursor-pointer { cursor: pointer; }
.select-none { user-select: none; }
.bg-white { background-color: #fff; }
.bg-transparent { background-color: transparent; }
.bg-slate-50 { background-color: #f8fafc; }
.bg-slate-200\/80 { background-color: rgb(226 232 240 / .8); }
.text-slate-800 { color: #1e293b; }
.text-slate-900 { color: #0f172a; }
.text-slate-700 { color: #334155; }
.text-slate-600 { color: #475569; }
.text-slate-500 { color: #64748b; }
.text-slate-400 { color: #94a3b8; }
.text-slate-300 { color: #cbd5e1; }
.rounded-xl { border-radius: .75rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-slate-100 { border-color: #f1f5f9; }
.border-slate-200\/80 { border-color: rgb(226 232 240 / .8); }
.shadow-md { box-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1); }
.shadow-\[0_10px_30px_-5px_rgba\(0\,0\,0\,0\.05\)\] { box-shadow: 0 10px 30px -5px rgb(0 0 0 / .05); }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-xs { font-size: .75rem; line-height: 1rem; }
.text-sm { font-size: .875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-\[10px\] { font-size: 10px; }
.font-medium { font-weight: 500; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.uppercase { text-transform: uppercase; }
.tracking-tight { letter-spacing: -.025em; }
.tracking-wider { letter-spacing: .05em; }
.antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.transition-all, .transition-colors, .transition-transform { transition-property: all; transition-duration: 150ms; }
.duration-200 { transition-duration: 200ms; }
.ease-in-out { transition-timing-function: ease-in-out; }
.border-collapse { border-collapse: collapse; }
table { border-spacing: 0; }
tbody.divide-y > tr + tr { border-top: 1px solid #f1f5f9; }
input[type="text"], input[type="number"], input { font-size: 16px; }
button { font-family: inherit; border: 0; }
input, button, textarea, select { margin: 0; font: inherit; }
input { border: 0; }
.input-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px 56px;
  align-items: center;
  background-color: #f6f9fc;
  border: 1px solid #edf1f5;
}
.field-input {
  min-width: 0;
  width: 100%;
  padding: 0 .75rem;
}
.field-unit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 44px;
}
.clear-input-button {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  margin: 0;
  line-height: 1;
  flex-shrink: 0;
  background-color: transparent;
}
.clear-input-glyph {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  background-color: rgb(226 232 240 / .8);
  font-size: 16px;
  font-weight: 700;
}
.toggle-row { min-height: 44px; }
.toggle-control {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 44px;
  flex: 0 0 52px;
}
.toggle-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
  opacity: 0;
}
.toggle-track {
  display: block;
  width: 52px;
  height: 32px;
  padding: 2px;
  border-radius: 9999px;
  background-color: #d1d5db;
  transition: background-color 160ms ease-in-out;
  pointer-events: none;
}
.toggle-thumb {
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 9999px;
  background-color: #fff;
  box-shadow: 0 1px 3px rgb(15 23 42 / .22);
  transition: transform 160ms ease-in-out;
}
.toggle-input:checked + .toggle-track { background-color: #34c759; }
.toggle-input:checked + .toggle-track .toggle-thumb { transform: translateX(20px); }
.toggle-input:focus-visible + .toggle-track { box-shadow: 0 0 0 3px rgb(52 199 89 / .3); }
.focus-within\:bg-white:focus-within { background-color: #fff; }
.focus-within\:ring-2:focus-within { box-shadow: 0 0 0 2px rgb(59 130 246 / .2); }
.hover\:text-slate-600:hover { color: #475569; }
.hover\:bg-slate-300:hover, .active\:bg-slate-300:active { background-color: #cbd5e1; }

@media (min-width: 640px) {
  .sm\:p-6 { padding: 1.5rem; }
  .sm\:p-5 { padding: 1.25rem; }
  .sm\:w-44 { width: 11rem; }
}
