/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer properties;
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
      "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --spacing: 0.25rem;
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --default-transition-duration: 150ms;
    --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b, strong {
    font-weight: bolder;
  }
  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol, ul, menu {
    list-style: none;
  }
  img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not (-webkit-appearance: -apple-pay-button))  or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentcolor;
      @supports (color: color-mix(in lab, red, red)) {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}
@layer utilities {
  .collapse {
    visibility: collapse;
  }
  .visible {
    visibility: visible;
  }
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border-width: 0;
  }
  .absolute {
    position: absolute;
  }
  .fixed {
    position: fixed;
  }
  .static {
    position: static;
  }
  .start {
    inset-inline-start: var(--spacing);
  }
  .end {
    inset-inline-end: var(--spacing);
  }
  .block {
    display: block;
  }
  .grid {
    display: grid;
  }
  .hidden {
    display: none;
  }
  .inline {
    display: inline;
  }
  .table {
    display: table;
  }
  .transform {
    transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
  }
  .resize {
    resize: both;
  }
  .truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }
  .outline {
    outline-style: var(--tw-outline-style);
    outline-width: 1px;
  }
  .blur {
    --tw-blur: blur(8px);
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
  }
  .filter {
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
  }
  .transition {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .ease-out {
    --tw-ease: var(--ease-out);
    transition-timing-function: var(--ease-out);
  }
}
:root {
  --ink: #201c26;
  --muted: #746d79;
  --line: #e8e2ea;
  --page: #fbf9fc;
  --white: #ffffff;
  --purple: #4b184f;
  --purple-soft: #82518e;
  --yellow: #ffbd24;
  --lilac: #f8ebf9;
  --blue: #def0ff;
  --green: #e4f6e9;
  --sand: #fff2d2;
  --coral: #ffe8df;
  --slate: #eef0f5;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--page);
  color: var(--ink);
  font-family: var(--font-geist-sans), Arial, sans-serif;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}
button, input, select {
  font: inherit;
}
button, select {
  cursor: pointer;
}
button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid rgba(130,81,142,.22);
  outline-offset: 2px;
}
.topbar {
  backdrop-filter: blur(16px);
  background: linear-gradient(135deg, rgba(255,255,255,.96) 0%, rgba(248,235,249,.88) 58%, rgba(222,240,255,.76) 100%);
  border-bottom: 1px solid rgba(112,68,122,.1);
  box-shadow: 0 8px 24px rgba(75,24,79,.045);
  display: grid;
  height: 82px;
  padding: 6px 16px 0;
  place-items: center;
  position: sticky;
  top: 0;
  z-index: 20;
}
.brand {
  display: block;
  height: 70px;
  overflow: hidden;
  position: relative;
  width: min(268px, calc(100vw - 32px));
}
.brand img {
  height: auto;
  left: 50%;
  max-width: none;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(292px, calc(100vw - 10px));
}
.page {
  margin: 0 auto;
  max-width: 1200px;
  padding: 27px 16px calc(154px + env(safe-area-inset-bottom));
}
.page--home {
  min-height: calc(100vh - 82px);
}
.intro {
  align-items: center;
  display: grid;
  grid-template-columns: minmax(0,1fr) 88px;
  margin-bottom: 25px;
}
.eyebrow {
  color: var(--purple-soft);
  display: block;
  font-size: 10px;
  font-weight: 830;
  letter-spacing: .1em;
  margin-bottom: 8px;
  text-transform: uppercase;
}
h1 {
  font-size: clamp(36px, 10vw, 57px);
  letter-spacing: -.055em;
  line-height: .98;
  margin: 0;
}
.intro p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
  margin: 13px 0 0;
  max-width: 590px;
}
.intro-icon {
  filter: drop-shadow(0 10px 10px rgba(71,41,78,.18));
  height: 92px;
  object-fit: contain;
  width: 92px;
}
.floating-navigation {
  bottom: max(8px, calc(env(safe-area-inset-bottom) + 8px));
  display: grid;
  gap: 8px;
  left: 50%;
  position: fixed;
  transform: translateX(-50%);
  width: min(1200px, calc(100vw - 28px));
  z-index: 35;
}
.floating-navigation.is-home {
  width: min(1200px, calc(100vw - 28px));
}
.floating-menu {
  backdrop-filter: blur(22px) saturate(1.08);
  background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(247,241,252,.75));
  border: 1px solid rgba(203,181,255,.78);
  border-radius: 999px;
  box-shadow: 0 18px 38px rgba(69,38,95,.2), inset 0 1px 0 rgba(255,255,255,.96);
  display: grid;
  gap: clamp(10px, 3.2vw, 18px);
  grid-auto-columns: 58px;
  grid-auto-flow: column;
  justify-content: space-evenly;
  margin: 0;
  min-height: 82px;
  padding: 8px 16px;
  width: 100%;
}
.floating-action {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: #6636c3;
  display: grid;
  justify-items: center;
  min-width: 0;
  padding: 0;
  transition: filter .16s, transform .16s;
}
.floating-action > svg {
  aspect-ratio: 1;
  background: radial-gradient(circle at 30% 22%, #fff 0 25%, rgba(249,245,255,.98) 62%, #ece6f8 100%);
  border: 1px solid rgba(255,255,255,.98);
  border-radius: 999px;
  box-shadow: 0 8px 16px rgba(84,50,114,.13), inset 0 1px 0 rgba(255,255,255,.98);
  fill: none;
  height: auto;
  padding: 28%;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
  width: 100%;
}
.floating-action > span {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}
.floating-action:hover {
  filter: brightness(.97);
}
.floating-action:active {
  transform: scale(.94);
}
.floating-action--share > svg {
  background: radial-gradient(circle at 30% 22%, #6c3a76, #4b184f 72%);
  box-shadow: 0 8px 18px rgba(75,24,79,.32), inset 0 1px 0 rgba(255,255,255,.16);
  color: var(--yellow);
}
.keypad-modal__backdrop {
  align-items: flex-end;
  background: rgba(26,20,30,.54);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 0;
  position: fixed;
  z-index: 80;
}
.keypad-modal {
  background: linear-gradient(145deg, #fff, #fbf7fc);
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 25px 25px 0 0;
  box-shadow: 0 -18px 70px rgba(26,20,30,.3);
  max-height: min(92vh, 680px);
  overflow: auto;
  padding: 18px 16px calc(16px + env(safe-area-inset-bottom));
  width: min(100%, 640px);
}
.keypad-modal__header {
  align-items: flex-start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}
.keypad-modal__header .eyebrow {
  margin-bottom: 5px;
}
.keypad-modal__header h2 {
  font-size: 24px;
  letter-spacing: -.04em;
  margin: 0;
}
.keypad-modal__close {
  align-items: center;
  background: #f3edf7;
  border: 1px solid #e7d9ef;
  border-radius: 12px;
  color: #5d5361;
  display: flex;
  flex: 0 0 auto;
  font-size: 25px;
  height: 42px;
  justify-content: center;
  line-height: 1;
  padding: 0 0 3px;
  width: 42px;
}
.keypad-modal__close:focus-visible {
  outline-color: rgba(130,81,142,.55);
}
.keypad-modal__display {
  align-items: baseline;
  background: #f7f1fa;
  border: 1px solid #e8dcef;
  border-radius: 17px;
  display: flex;
  gap: 9px;
  justify-content: center;
  margin-top: 16px;
  min-height: 68px;
  padding: 10px 16px;
}
.keypad-modal__display strong {
  color: var(--ink);
  font-size: 35px;
  font-weight: 820;
  letter-spacing: -.04em;
  line-height: 1;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.keypad-modal__display span {
  color: var(--purple-soft);
  font-size: 17px;
  font-weight: 780;
}
.keypad-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 13px;
}
.keypad-key {
  align-items: center;
  background: #f2eafa;
  border: 1px solid #e6d8f0;
  border-radius: 14px;
  color: #351342;
  display: flex;
  font-size: 23px;
  font-weight: 760;
  justify-content: center;
  min-height: 54px;
  transition: background .15s, transform .15s;
}
.keypad-key:hover {
  background: #eadcf5;
}
.keypad-key:active {
  transform: scale(.97);
}
.keypad-key--backspace {
  color: #70427a;
  font-size: 22px;
}
.keypad-modal__actions {
  display: grid;
  gap: 9px;
  grid-template-columns: 1fr 1.25fr;
  margin-top: 13px;
}
.keypad-modal__actions button {
  border: 0;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 790;
  min-height: 48px;
}
.keypad-clear {
  background: #eee6f2;
  color: #5d5361;
}
.keypad-done {
  background: var(--purple);
  box-shadow: 0 8px 16px rgba(75,24,79,.2);
  color: var(--yellow);
}
.confirm-modal__backdrop {
  align-items: center;
  background: rgba(26,20,30,.54);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 22px;
  position: fixed;
  z-index: 60;
}
.confirm-modal {
  background: linear-gradient(145deg, #fff 0%, #fbf7fc 100%);
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 27px;
  box-shadow: 0 30px 90px rgba(26,20,30,.34), 0 10px 28px rgba(75,24,79,.12);
  max-width: 460px;
  padding: 27px 25px 25px;
  text-align: center;
  width: 100%;
}
.confirm-modal__icon {
  align-items: center;
  background: linear-gradient(145deg, #f6edfb, #e5d9f4);
  border: 1px solid #fff;
  border-radius: 17px;
  box-shadow: 0 8px 18px rgba(91,51,112,.12);
  color: #6d3ea3;
  display: inline-flex;
  font-size: 32px;
  height: 56px;
  justify-content: center;
  line-height: 1;
  margin-bottom: 15px;
  width: 56px;
}
.confirm-modal__icon svg {
  fill: none;
  height: 30px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 30px;
}
.confirm-modal .eyebrow {
  margin-bottom: 7px;
}
.confirm-modal h2 {
  font-size: 23px;
  letter-spacing: -.04em;
  margin: 0;
}
.confirm-modal p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  margin: 10px auto 20px;
  max-width: 310px;
}
.confirm-modal__actions {
  display: grid;
  gap: 9px;
  grid-template-columns: 1fr 1.25fr;
}
.confirm-modal__actions button {
  border: 0;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 780;
  min-height: 46px;
  padding: 0 12px;
}
.confirm-modal__cancel {
  background: #f0ebf2;
  color: #5d5361;
}
.confirm-modal__confirm {
  background: var(--purple);
  box-shadow: 0 8px 16px rgba(75,24,79,.18);
  color: var(--yellow);
}
.category-tabs {
  display: flex;
  gap: 8px;
  margin: 0 -16px 18px;
  overflow-x: auto;
  padding: 3px 16px 10px;
  scrollbar-width: none;
}
.category-tabs::-webkit-scrollbar {
  display: none;
}
.category-tab {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  color: #5f5863;
  display: flex;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 720;
  gap: 6px;
  padding: 6px 11px 6px 7px;
  transition: border .15s, background .15s, color .15s, transform .15s;
}
.category-tab img {
  height: 32px;
  object-fit: contain;
  width: 32px;
}
.category-tab.is-active {
  background: var(--purple);
  border-color: var(--purple);
  box-shadow: 0 8px 20px rgba(75,24,79,.15);
  color: white;
}
.category-tab:active {
  transform: scale(.98);
}
.converter-shell {
  display: grid;
  gap: 14px;
}
.converter-card, .result-card {
  border: 1px solid var(--line);
  border-radius: 25px;
  box-shadow: 0 12px 40px rgba(43,28,49,.035);
}
.converter-card {
  background: var(--white);
  padding: 20px;
}
.card-heading {
  align-items: center;
  display: flex;
  gap: 12px;
}
.card-heading h2 {
  font-size: 23px;
  letter-spacing: -.035em;
  margin: 0;
}
.card-heading .eyebrow {
  margin-bottom: 4px;
}
.icon-box {
  align-items: center;
  border-radius: 17px;
  display: flex;
  height: 58px;
  justify-content: center;
  width: 58px;
}
.icon-box img {
  filter: drop-shadow(0 5px 5px rgba(48,31,54,.17));
  height: 68px;
  object-fit: contain;
  width: 68px;
}
.tone-blue {
  background: var(--blue);
}
.tone-green {
  background: var(--green);
}
.tone-lilac {
  background: var(--lilac);
}
.tone-yellow {
  background: var(--sand);
}
.tone-coral {
  background: var(--coral);
}
.tone-slate {
  background: var(--slate);
}
.conversion-fields {
  display: grid;
  gap: 14px;
  margin-top: 21px;
}
.value-field, .select-field {
  display: grid;
  gap: 7px;
}
.value-field > span, .select-field > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}
.value-control {
  align-items: center;
  background: #fcfafc;
  border: 1px solid var(--line);
  border-radius: 17px;
  display: flex;
  min-height: 77px;
  padding: 10px 15px;
  transition: border .15s, box-shadow .15s;
}
.value-control:focus-within {
  border-color: #b783c0;
  box-shadow: 0 0 0 3px rgba(183,131,192,.14);
}
.value-control input {
  background: transparent;
  border: 0;
  color: var(--ink);
  font-size: 35px;
  font-weight: 800;
  letter-spacing: -.04em;
  min-width: 0;
  outline: 0;
  width: 100%;
}
.value-control strong {
  color: var(--purple-soft);
  font-size: 18px;
  white-space: nowrap;
}
.value-field small {
  color: #a34836;
  font-size: 11px;
  font-weight: 650;
}
.unit-grid {
  align-items: end;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0,1fr) 40px minmax(0,1fr);
}
.select-control {
  display: block;
  position: relative;
}
.select-control > strong {
  color: #423a47;
  font-size: 14px;
  font-weight: 780;
  left: 12px;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}
.select-control::after {
  border-bottom: 2px solid #71427a;
  border-right: 2px solid #71427a;
  content: '';
  height: 7px;
  pointer-events: none;
  position: absolute;
  right: 13px;
  top: 20px;
  transform: rotate(45deg);
  width: 7px;
}
.select-field select {
  appearance: none;
  background: #f8f5f9;
  border: 1px solid #e7dfe9;
  border-radius: 14px;
  color: transparent;
  font-size: 12px;
  font-weight: 700;
  height: 51px;
  max-width: 100%;
  overflow: hidden;
  padding: 0 31px 0 11px;
  text-overflow: ellipsis;
  width: 100%;
}
.select-field select option {
  color: #423a47;
}
.swap-button {
  align-items: center;
  background: var(--purple);
  border: 0;
  border-radius: 13px;
  box-shadow: 0 6px 14px rgba(75,24,79,.15);
  color: var(--yellow);
  display: flex;
  font-size: 22px;
  height: 40px;
  justify-content: center;
  margin-bottom: 5px;
  transition: transform .16s, background .16s;
  width: 40px;
}
.swap-icon-2d {
  display: block;
  height: 24px;
  position: relative;
  width: 28px;
}
.swap-icon-2d i {
  background: var(--yellow);
  border-radius: 4px;
  height: 7px;
  position: absolute;
  width: 19px;
  z-index: 1;
}
.swap-icon-2d i:first-child {
  left: 4px;
  top: 3px;
}
.swap-icon-2d i:last-child {
  bottom: 3px;
  right: 4px;
}
.swap-icon-2d i::after {
  border-bottom: 7px solid transparent;
  border-top: 7px solid transparent;
  content: '';
  position: absolute;
  top: -3.5px;
}
.swap-icon-2d i:first-child::after {
  border-left: 8px solid var(--yellow);
  right: -5px;
}
.swap-icon-2d i:last-child::after {
  border-right: 8px solid var(--yellow);
  left: -5px;
}
.swap-icon-2d i::before {
  background: #c28ae0;
  content: '';
  height: 10px;
  position: absolute;
  top: -1.5px;
  width: 10px;
  z-index: -1;
}
.swap-icon-2d i:first-child::before {
  border-radius: 9px 2px 9px 9px;
  left: -4px;
}
.swap-icon-2d i:last-child::before {
  border-radius: 9px 9px 9px 2px;
  right: -4px;
}
.swap-button:hover {
  background: #5b1d60;
}
.swap-button:active {
  transform: scale(.92);
}
.result-card {
  min-height: 255px;
  overflow: hidden;
  padding: 23px;
  position: relative;
}
.result-card::after {
  background: rgba(255,255,255,.45);
  border-radius: 999px;
  content: '';
  height: 180px;
  position: absolute;
  right: -74px;
  top: -78px;
  width: 180px;
}
.result-label {
  color: #5c5260;
  font-size: 12px;
  font-weight: 760;
  position: relative;
  z-index: 1;
}
.result-value {
  align-items: baseline;
  display: flex;
  gap: 8px;
  margin-top: 17px;
  min-width: 0;
  position: relative;
  white-space: nowrap;
  z-index: 1;
}
.result-value strong {
  font-size: clamp(36px, 10vw, 58px);
  letter-spacing: -.055em;
  line-height: 1;
}
.result-value.is-long strong {
  font-size: clamp(29px, 7.8vw, 48px);
}
.result-value.is-extra-long strong {
  font-size: clamp(23px, 6.2vw, 38px);
  letter-spacing: -.04em;
}
.result-value span {
  color: #514956;
  flex: 0 0 auto;
  font-size: 16px;
  font-weight: 760;
}
.result-card p {
  color: #625a66;
  font-size: 12px;
  line-height: 1.5;
  margin: 14px 0 22px;
  position: relative;
  z-index: 1;
}
.share-button {
  align-items: center;
  background: #4b184f;
  border: 0;
  border-radius: 16px;
  color: var(--yellow);
  display: grid;
  gap: 11px;
  grid-template-columns: 38px minmax(0,1fr) auto;
  margin-top: 10px;
  min-height: 58px;
  padding: 8px 13px 8px 9px;
  position: relative;
  text-align: left;
  transition: background .15s, transform .15s;
  width: 100%;
  z-index: 1;
}
.share-button > svg {
  background: rgba(255,189,36,.13);
  border-radius: 11px;
  fill: none;
  height: 38px;
  padding: 9px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 38px;
}
.share-button > span {
  display: grid;
  gap: 2px;
}
.share-button strong {
  font-size: 13px;
}
.share-button small {
  color: #f0d8ee;
  font-size: 10px;
}
.share-button > b {
  font-size: 22px;
  font-weight: 600;
}
.share-button:hover:not(:disabled) {
  background: #5b1d60;
}
.share-button:active:not(:disabled) {
  transform: scale(.99);
}
.share-button:disabled {
  cursor: default;
  opacity: .5;
}
.share-modal__backdrop {
  align-items: center;
  background: rgba(26,20,30,.58);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 22px;
  position: fixed;
  z-index: 50;
}
.share-modal {
  background: white;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 28px;
  box-shadow: 0 30px 90px rgba(26,20,30,.28);
  max-height: min(90vh, 720px);
  max-width: 610px;
  overflow: auto;
  padding: 26px;
  width: 100%;
}
.share-modal__header {
  align-items: flex-start;
  display: flex;
  gap: 20px;
  justify-content: space-between;
}
.share-modal__header .eyebrow {
  margin-bottom: 7px;
}
.share-modal__header h2 {
  font-size: 27px;
  letter-spacing: -.04em;
  margin: 0;
}
.share-modal__header p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  margin: 7px 0 0;
}
.share-modal__close {
  align-items: center;
  background: #f4f0f5;
  border: 0;
  border-radius: 11px;
  color: #5d5361;
  display: flex;
  flex: 0 0 auto;
  font-size: 23px;
  height: 38px;
  justify-content: center;
  padding: 0 0 3px;
  width: 38px;
}
.share-modal__close:disabled {
  cursor: wait;
  opacity: .55;
}
.share-preview {
  align-items: center;
  border-radius: 20px;
  display: grid;
  gap: 10px;
  grid-template-columns: 58px minmax(0,1fr) auto minmax(0,1fr);
  margin-top: 21px;
  min-height: 86px;
  padding: 10px 15px 10px 9px;
}
.share-preview img {
  filter: drop-shadow(0 5px 5px rgba(48,31,54,.14));
  height: 64px;
  object-fit: contain;
  width: 64px;
}
.share-preview > span {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.share-preview > span small {
  color: #6b626e;
  font-size: 10px;
  font-weight: 700;
}
.share-preview > span strong {
  font-size: 17px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.share-preview > i {
  color: var(--purple-soft);
  font-size: 25px;
  font-style: normal;
}
.share-preview > b {
  font-size: clamp(17px, 4.3vw, 23px);
  min-width: 0;
  text-align: right;
  white-space: nowrap;
}
.share-preview > b small {
  color: #5f5863;
  font-size: .58em;
}
.share-details {
  display: grid;
  gap: 9px;
  grid-template-columns: repeat(2, minmax(0,1fr));
  margin-top: 12px;
}
.share-details > div {
  background: #f8f5f9;
  border: 1px solid #eee7f0;
  border-radius: 15px;
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 12px 13px;
}
.share-details small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 680;
}
.share-details strong {
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.share-modal__note {
  align-items: flex-start;
  background: #f2eef4;
  border-radius: 14px;
  color: #625a66;
  display: flex;
  font-size: 11px;
  gap: 8px;
  line-height: 1.45;
  margin: 12px 0 0;
  padding: 11px 12px;
}
.share-modal__note span {
  align-items: center;
  border: 1px solid #b7aebc;
  border-radius: 999px;
  display: flex;
  flex: 0 0 auto;
  font-size: 9px;
  font-weight: 800;
  height: 18px;
  justify-content: center;
  width: 18px;
}
.share-modal__error {
  background: #fff1ed;
  border-radius: 12px;
  color: #9a4936;
  font-size: 12px;
  margin: 12px 0 0;
  padding: 10px 12px;
}
.share-modal__footer {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 18px;
}
.pdf-button {
  border: 0;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 760;
  min-height: 48px;
  padding: 0 19px;
}
.pdf-button--ghost {
  background: #f4f0f5;
  color: #5d2462;
}
.pdf-button--share {
  background: #201c26;
  color: white;
}
.pdf-button:disabled {
  cursor: wait;
  opacity: .55;
}
.quick-section {
  margin-top: 38px;
}
.quick-section--home {
  margin-top: 8px;
}
.section-heading h2 {
  font-size: 25px;
  letter-spacing: -.04em;
  margin: 0 0 17px;
}
.quick-grid {
  display: grid;
  gap: 9px;
}
.quick-card {
  align-items: center;
  border: 0;
  border-radius: 18px;
  color: var(--ink);
  display: grid;
  gap: 9px;
  grid-template-columns: 51px minmax(0,1fr) auto;
  min-height: 70px;
  padding: 8px 14px 8px 8px;
  text-align: left;
  transition: filter .15s, transform .15s;
}
.quick-card:hover {
  filter: brightness(.98);
  transform: translateY(-1px);
}
.quick-card img {
  filter: drop-shadow(0 4px 4px rgba(48,31,54,.15));
  height: 56px;
  object-fit: contain;
  width: 56px;
}
.quick-card span {
  display: grid;
  gap: 2px;
}
.quick-card small {
  color: #6b626e;
  font-size: 10px;
  font-weight: 680;
}
.quick-card strong {
  font-size: 14px;
}
.quick-card b {
  color: var(--purple-soft);
  font-size: 25px;
  font-weight: 500;
}
.notice {
  align-items: flex-start;
  background: #f2eef4;
  border-radius: 18px;
  color: #625a66;
  display: flex;
  gap: 11px;
  margin-top: 24px;
  padding: 15px 16px;
}
.notice span {
  align-items: center;
  border: 1px solid #b7aebc;
  border-radius: 999px;
  display: flex;
  flex: 0 0 auto;
  font-size: 10px;
  font-weight: 800;
  height: 19px;
  justify-content: center;
  width: 19px;
}
.notice p {
  font-size: 11px;
  line-height: 1.5;
  margin: 0;
}
@media (max-width: 699px) {
  .confirm-modal__backdrop {
    padding: 18px 20px;
  }
  .confirm-modal {
    padding: 24px 20px 20px;
  }
  .confirm-modal__actions {
    grid-template-columns: 1fr;
  }
  .confirm-modal__actions button {
    width: 100%;
  }
  .share-modal__backdrop {
    align-items: flex-end;
    padding: 0;
  }
  .share-modal {
    border-radius: 26px 26px 0 0;
    max-height: 92vh;
    padding: 21px 16px calc(18px + env(safe-area-inset-bottom));
  }
  .share-modal__header h2 {
    font-size: 23px;
  }
  .share-preview {
    gap: 7px;
    grid-template-columns: 52px minmax(0,1fr) auto minmax(0,1fr);
    padding-left: 7px;
  }
  .share-preview img {
    height: 56px;
    width: 56px;
  }
  .share-preview > span strong {
    font-size: 14px;
  }
  .share-preview > b {
    font-size: clamp(14px, 4.2vw, 19px);
  }
  .share-details {
    grid-template-columns: 1fr;
  }
  .share-modal__footer {
    display: grid;
    grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr);
  }
  .pdf-button {
    min-width: 0;
    padding-left: 10px;
    padding-right: 10px;
    white-space: normal;
  }
}
@media (min-width: 700px) {
  .topbar {
    height: 94px;
    padding-top: 6px;
  }
  .brand {
    height: 82px;
    width: 320px;
  }
  .brand img {
    width: 356px;
  }
  .page {
    padding: 38px 28px 184px;
  }
  .page--home {
    min-height: calc(100vh - 94px);
  }
  .intro {
    grid-template-columns: minmax(0,1fr) 130px;
    margin-bottom: 32px;
  }
  .intro--home {
    margin-bottom: 40px;
  }
  .intro-icon {
    height: 132px;
    width: 132px;
  }
  .intro p {
    font-size: 18px;
  }
  .category-tabs {
    margin: 0 0 20px;
    padding: 3px 0 10px;
  }
  .category-tab {
    font-size: 13px;
    padding: 7px 13px 7px 8px;
  }
  .category-tab img {
    height: 36px;
    width: 36px;
  }
  .converter-shell {
    gap: 18px;
    grid-template-columns: minmax(0,1.08fr) minmax(300px,.92fr);
  }
  .converter-card {
    padding: 28px;
  }
  .result-card {
    min-height: 100%;
    padding: 29px;
  }
  .result-value strong {
    font-size: clamp(38px, 4.5vw, 58px);
  }
  .result-value.is-long strong {
    font-size: clamp(31px, 3.7vw, 46px);
  }
  .result-value.is-extra-long strong {
    font-size: clamp(24px, 3vw, 36px);
  }
  .quick-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
  .floating-navigation {
    bottom: max(10px, calc(env(safe-area-inset-bottom) + 10px));
    width: min(1200px, calc(100vw - 28px));
  }
  .floating-navigation.is-home {
    width: min(1200px, calc(100vw - 28px));
  }
  .floating-menu {
    border-radius: 999px;
    gap: 26px;
    grid-auto-columns: 74px;
    min-height: 88px;
    padding: 7px 20px;
  }
}
@media (min-width: 1050px) {
  .intro {
    grid-template-columns: minmax(0,1fr) 160px;
  }
  .intro-icon {
    height: 155px;
    width: 155px;
  }
  .converter-card {
    padding: 32px;
  }
  .result-card {
    padding: 33px;
  }
  .quick-grid {
    grid-template-columns: repeat(3, minmax(0,1fr));
  }
}
@media (max-width: 370px) {
  .brand {
    width: min(246px, calc(100vw - 28px));
  }
  .brand img {
    width: min(276px, calc(100vw - 4px));
  }
  .intro {
    grid-template-columns: minmax(0,1fr) 68px;
  }
  .intro-icon {
    height: 73px;
    width: 73px;
  }
  .unit-grid {
    grid-template-columns: minmax(0,1fr) 34px minmax(0,1fr);
    gap: 6px;
  }
  .swap-button {
    border-radius: 11px;
    font-size: 19px;
    height: 34px;
    width: 34px;
  }
  .select-field select {
    font-size: 11px;
    padding-left: 8px;
  }
  .floating-menu {
    gap: 6px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .keypad-modal {
    padding-left: 12px;
    padding-right: 12px;
  }
  .keypad-key {
    min-height: 50px;
  }
  .keypad-modal__display strong {
    font-size: 31px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
@property --tw-rotate-x {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-y {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-z {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-x {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-y {
  syntax: "*";
  inherits: false;
}
@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-outline-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-blur {
  syntax: "*";
  inherits: false;
}
@property --tw-brightness {
  syntax: "*";
  inherits: false;
}
@property --tw-contrast {
  syntax: "*";
  inherits: false;
}
@property --tw-grayscale {
  syntax: "*";
  inherits: false;
}
@property --tw-hue-rotate {
  syntax: "*";
  inherits: false;
}
@property --tw-invert {
  syntax: "*";
  inherits: false;
}
@property --tw-opacity {
  syntax: "*";
  inherits: false;
}
@property --tw-saturate {
  syntax: "*";
  inherits: false;
}
@property --tw-sepia {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false;
}
@property --tw-ease {
  syntax: "*";
  inherits: false;
}
@layer properties {
  @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
    *, ::before, ::after, ::backdrop {
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-border-style: solid;
      --tw-outline-style: solid;
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
      --tw-ease: initial;
    }
  }
}
