@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

.hmm3y-converter-shell-2027 {
  --hmm3y-navy: #13213c;
  --hmm3y-text: #24324a;
  --hmm3y-muted: #60708a;
  --hmm3y-border: #dce3ee;
  --hmm3y-border-strong: #c7d2e2;
  --hmm3y-surface: #ffffff;
  --hmm3y-soft: #f5f7fb;
  --hmm3y-blue: #3568df;
  --hmm3y-blue-dark: #254eb5;
  --hmm3y-violet: #7357dc;
  --hmm3y-success: #167252;
  --hmm3y-error: #b4233b;
  --hmm3y-focus: #175cd3;
  position: relative;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  padding: clamp(24px, 4vw, 54px) 16px;
  color: var(--hmm3y-text);
  background:
    radial-gradient(circle at 50% 12%, rgba(73, 99, 224, 0.08), transparent 34%),
    linear-gradient(180deg, #f8f9fc 0%, #ffffff 72%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.hmm3y-converter-shell-2027,
.hmm3y-converter-shell-2027 * {
  box-sizing: border-box;
}

.hmm3y-converter-shell-2027 .hmm3y-title-region {
  width: 100%;
  max-width: 850px;
  margin: 0 auto clamp(20px, 3vw, 34px);
  text-align: center;
}

.hmm3y-converter-shell-2027 .hmm3y-page-title {
  margin: 0;
  color: var(--hmm3y-navy);
  font-size: clamp(1.9rem, 4vw, 3.35rem);
  font-weight: 780;
  line-height: 1.08;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.hmm3y-converter-shell-2027 .hmm3y-page-subtitle {
  max-width: 700px;
  margin: 12px auto 0;
  color: var(--hmm3y-muted);
  font-size: clamp(0.96rem, 1.5vw, 1.12rem);
  line-height: 1.65;
  text-wrap: balance;
}

.hmm3y-converter-shell-2027 .hmm3y-tool-surface {
  position: relative;
  width: 100%;
  max-width: 1300px;
  min-width: 0;
  margin: 0 auto;
  overflow: hidden;
  padding: clamp(18px, 3vw, 38px);
  border: 1px solid rgba(195, 205, 221, 0.82);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow:
    0 24px 70px rgba(27, 42, 78, 0.1),
    0 4px 14px rgba(27, 42, 78, 0.05),
    inset 0 1px 0 #ffffff;
}

.hmm3y-converter-shell-2027 .hmm3y-decorative-line {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 10%;
  width: 80%;
  height: 3px;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(90deg, transparent, var(--hmm3y-blue), var(--hmm3y-violet), transparent);
  opacity: 0.8;
  pointer-events: none;
}

.hmm3y-converter-shell-2027 .hmm3y-feature-strip,
.hmm3y-converter-shell-2027 .hmm3y-conversion-layout,
.hmm3y-converter-shell-2027 .hmm3y-formula-note {
  position: relative;
  z-index: 1;
}

.hmm3y-converter-shell-2027 .hmm3y-feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 clamp(20px, 3vw, 32px);
  padding: 0;
  list-style: none;
}

.hmm3y-converter-shell-2027 .hmm3y-feature-item {
  display: flex;
  min-width: 0;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid #e4e9f1;
  border-radius: 11px;
  color: #46546b;
  background: #f8f9fc;
  font-size: 0.82rem;
  font-weight: 680;
  line-height: 1.2;
  text-align: center;
}

.hmm3y-converter-shell-2027 .hmm3y-feature-icon {
  position: relative;
  display: inline-flex;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  align-items: center;
  justify-content: center;
  border: 1px solid #cfd9ec;
  border-radius: 6px;
  color: var(--hmm3y-blue-dark);
  background: #eef3ff;
  font-size: 0.61rem;
  font-weight: 800;
}

.hmm3y-converter-shell-2027 .hmm3y-feature-icon--instant::before {
  width: 6px;
  height: 8px;
  border: solid currentColor;
  border-width: 0 0 2px 2px;
  content: "";
  transform: skew(-20deg);
}

.hmm3y-converter-shell-2027 .hmm3y-feature-icon--copy::before,
.hmm3y-converter-shell-2027 .hmm3y-feature-icon--copy::after {
  position: absolute;
  width: 7px;
  height: 8px;
  border: 1.5px solid currentColor;
  border-radius: 2px;
  content: "";
}

.hmm3y-converter-shell-2027 .hmm3y-feature-icon--copy::before {
  top: 4px;
  left: 5px;
}

.hmm3y-converter-shell-2027 .hmm3y-feature-icon--copy::after {
  right: 4px;
  bottom: 4px;
  background: #eef3ff;
}

.hmm3y-converter-shell-2027 .hmm3y-conversion-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  min-width: 0;
}

.hmm3y-converter-shell-2027 .hmm3y-input-section,
.hmm3y-converter-shell-2027 .hmm3y-result-panel {
  min-width: 0;
  border-radius: 19px;
}

.hmm3y-converter-shell-2027 .hmm3y-input-section {
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid var(--hmm3y-border);
  background: #fbfcfe;
}

.hmm3y-converter-shell-2027 .hmm3y-section-heading-row,
.hmm3y-converter-shell-2027 .hmm3y-result-topline {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.hmm3y-converter-shell-2027 .hmm3y-eyebrow,
.hmm3y-converter-shell-2027 .hmm3y-result-label {
  margin: 0 0 4px;
  color: var(--hmm3y-blue-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hmm3y-converter-shell-2027 .hmm3y-section-heading {
  margin: 0;
  color: var(--hmm3y-navy);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.hmm3y-converter-shell-2027 .hmm3y-rate-badge {
  display: inline-flex;
  min-height: 32px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  border: 1px solid #d8e1f4;
  border-radius: 9px;
  color: var(--hmm3y-blue-dark);
  background: #eff4ff;
  font-size: 0.82rem;
  font-weight: 800;
}

.hmm3y-converter-shell-2027 .hmm3y-conversion-form {
  margin-top: 22px;
}

.hmm3y-converter-shell-2027 .hmm3y-field-group {
  min-width: 0;
}

.hmm3y-converter-shell-2027 .hmm3y-input-label {
  display: block;
  color: var(--hmm3y-navy);
  font-size: 0.91rem;
  font-weight: 730;
}

.hmm3y-converter-shell-2027 .hmm3y-years-input {
  display: block;
  width: 100%;
  min-width: 0;
  height: 54px;
  margin-top: 8px;
  padding: 0 15px;
  border: 1px solid var(--hmm3y-border-strong);
  border-radius: 11px;
  outline: none;
  color: var(--hmm3y-navy);
  background: var(--hmm3y-surface);
  box-shadow: 0 1px 2px rgba(20, 33, 61, 0.04);
  font: inherit;
  font-size: 1.08rem;
  font-weight: 690;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
  appearance: textfield;
}

.hmm3y-converter-shell-2027 .hmm3y-years-input::-webkit-inner-spin-button,
.hmm3y-converter-shell-2027 .hmm3y-years-input::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

.hmm3y-converter-shell-2027 .hmm3y-years-input:hover {
  border-color: #9dadc5;
}

.hmm3y-converter-shell-2027 .hmm3y-years-input[aria-invalid="true"] {
  border-color: var(--hmm3y-error);
  background: #fffafb;
}

.hmm3y-converter-shell-2027 .hmm3y-helper-text,
.hmm3y-converter-shell-2027 .hmm3y-validation-message {
  margin: 6px 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
}

.hmm3y-converter-shell-2027 .hmm3y-helper-text {
  color: var(--hmm3y-muted);
}

.hmm3y-converter-shell-2027 .hmm3y-validation-message {
  min-height: 1.15em;
  color: var(--hmm3y-error);
  font-weight: 680;
}

.hmm3y-converter-shell-2027 .hmm3y-main-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 15px;
}

.hmm3y-converter-shell-2027 .hmm3y-convert-action,
.hmm3y-converter-shell-2027 .hmm3y-reset-action,
.hmm3y-converter-shell-2027 .hmm3y-preset-action,
.hmm3y-converter-shell-2027 .hmm3y-copy-action {
  min-height: 46px;
  border-radius: 10px;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 730;
  line-height: 1.2;
  cursor: pointer;
  transition:
    transform 150ms ease,
    border-color 150ms ease,
    background-color 150ms ease,
    color 150ms ease,
    box-shadow 150ms ease,
    opacity 150ms ease;
  -webkit-tap-highlight-color: transparent;
}

.hmm3y-converter-shell-2027 .hmm3y-convert-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 18px;
  border: 1px solid transparent;
  color: #ffffff;
  background: linear-gradient(115deg, var(--hmm3y-blue-dark), var(--hmm3y-blue) 52%, var(--hmm3y-violet));
  box-shadow: 0 8px 18px rgba(52, 89, 198, 0.22);
}

.hmm3y-converter-shell-2027 .hmm3y-action-arrow {
  font-size: 1.08rem;
  transition: transform 150ms ease;
}

.hmm3y-converter-shell-2027 .hmm3y-convert-action:hover {
  box-shadow: 0 10px 22px rgba(52, 89, 198, 0.29);
  transform: translateY(-1px);
}

.hmm3y-converter-shell-2027 .hmm3y-convert-action:hover .hmm3y-action-arrow {
  transform: translateX(2px);
}

.hmm3y-converter-shell-2027 .hmm3y-reset-action {
  padding: 0 17px;
  border: 1px solid var(--hmm3y-border-strong);
  color: #42516a;
  background: #ffffff;
}

.hmm3y-converter-shell-2027 .hmm3y-reset-action:hover {
  border-color: #9baac0;
  background: var(--hmm3y-soft);
}

.hmm3y-converter-shell-2027 .hmm3y-preset-fieldset {
  min-width: 0;
  margin: 20px 0 0;
  padding: 0;
  border: 0;
}

.hmm3y-converter-shell-2027 .hmm3y-preset-legend {
  margin-bottom: 9px;
  padding: 0;
  color: #526078;
  font-size: 0.78rem;
  font-weight: 730;
}

.hmm3y-converter-shell-2027 .hmm3y-preset-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
}

.hmm3y-converter-shell-2027 .hmm3y-preset-action {
  min-width: 0;
  min-height: 44px;
  padding: 6px 8px;
  border: 1px solid var(--hmm3y-border);
  color: #506078;
  background: #ffffff;
  white-space: normal;
}

.hmm3y-converter-shell-2027 .hmm3y-preset-action:hover {
  border-color: #aab9d5;
  color: var(--hmm3y-blue-dark);
  background: #f5f8ff;
}

.hmm3y-converter-shell-2027 .hmm3y-preset-action.is-selected {
  border-color: var(--hmm3y-blue);
  color: #1e459f;
  background: #eaf1ff;
  box-shadow: inset 0 0 0 1px rgba(53, 104, 223, 0.18);
}

.hmm3y-converter-shell-2027 .hmm3y-preset-action.is-selected::before {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 50%;
  background: currentColor;
  content: "";
  vertical-align: 1px;
}

.hmm3y-converter-shell-2027 .hmm3y-result-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(21px, 3vw, 34px);
  border: 1px solid rgba(97, 112, 196, 0.35);
  color: #ffffff;
  background:
    radial-gradient(circle at 90% 8%, rgba(158, 136, 255, 0.26), transparent 37%),
    linear-gradient(145deg, #15274b 0%, #1c3262 57%, #312967 100%);
  box-shadow: 0 14px 34px rgba(25, 40, 84, 0.2);
}

.hmm3y-converter-shell-2027 .hmm3y-result-panel::after {
  position: absolute;
  right: -55px;
  bottom: -76px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hmm3y-converter-shell-2027 .hmm3y-result-label {
  color: #aebfff;
}

.hmm3y-converter-shell-2027 .hmm3y-result-validity {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  color: #dbe4ff;
  font-size: 0.7rem;
  font-weight: 680;
  line-height: 1.25;
}

.hmm3y-converter-shell-2027 .hmm3y-validity-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #66e3b4;
  box-shadow: 0 0 0 3px rgba(102, 227, 180, 0.13);
}

.hmm3y-converter-shell-2027 .hmm3y-result-value {
  display: flex;
  min-width: 0;
  align-items: baseline;
  gap: 10px;
  margin-top: clamp(22px, 4vw, 38px);
  color: #ffffff;
  line-height: 1;
  overflow-wrap: anywhere;
}

.hmm3y-converter-shell-2027 .hmm3y-result-number {
  min-width: 0;
  font-size: clamp(3rem, 9vw, 5.8rem);
  font-weight: 790;
  letter-spacing: -0.065em;
}

.hmm3y-converter-shell-2027 .hmm3y-result-unit {
  color: #d7dffe;
  font-size: clamp(1.05rem, 2.2vw, 1.45rem);
  font-weight: 690;
  letter-spacing: -0.025em;
}

.hmm3y-converter-shell-2027 .hmm3y-result-equation {
  max-width: 100%;
  margin: 20px 0 0;
  color: #dce4ff;
  font-size: clamp(0.86rem, 1.6vw, 1rem);
  font-weight: 650;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.hmm3y-converter-shell-2027 .hmm3y-result-sentence {
  max-width: 520px;
  margin: 7px 0 0;
  color: #bfcbee;
  font-size: 0.87rem;
  line-height: 1.55;
}

.hmm3y-converter-shell-2027 .hmm3y-copy-action {
  position: relative;
  z-index: 1;
  display: inline-flex;
  min-width: 142px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 23px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.hmm3y-converter-shell-2027 .hmm3y-copy-action:hover {
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.17);
  transform: translateY(-1px);
}

.hmm3y-converter-shell-2027 .hmm3y-copy-action:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
}

.hmm3y-converter-shell-2027 .hmm3y-copy-icon {
  position: relative;
  width: 16px;
  height: 17px;
  flex: 0 0 16px;
}

.hmm3y-converter-shell-2027 .hmm3y-copy-icon::before,
.hmm3y-converter-shell-2027 .hmm3y-copy-icon::after {
  position: absolute;
  width: 9px;
  height: 11px;
  border: 1.5px solid currentColor;
  border-radius: 2px;
  content: "";
}

.hmm3y-converter-shell-2027 .hmm3y-copy-icon::before {
  top: 0;
  left: 0;
  opacity: 0.65;
}

.hmm3y-converter-shell-2027 .hmm3y-copy-icon::after {
  right: 0;
  bottom: 0;
  background: #243967;
}

.hmm3y-converter-shell-2027 .hmm3y-assistive-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.hmm3y-converter-shell-2027 .hmm3y-result-panel.is-emphasized .hmm3y-result-value {
  animation: hmm3y-result-emphasis-2027 320ms ease-out;
}

.hmm3y-converter-shell-2027 .hmm3y-formula-note {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  padding: 15px 17px;
  border: 1px solid #e1e6ef;
  border-radius: 14px;
  background: #f7f8fb;
}

.hmm3y-converter-shell-2027 .hmm3y-formula-symbol {
  display: inline-flex;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid #d6dff0;
  border-radius: 10px;
  color: var(--hmm3y-blue-dark);
  background: #edf2ff;
  font-family: Georgia, serif;
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 700;
}

.hmm3y-converter-shell-2027 .hmm3y-formula-copy {
  min-width: 0;
}

.hmm3y-converter-shell-2027 .hmm3y-formula-line,
.hmm3y-converter-shell-2027 .hmm3y-clarification-line {
  margin: 0;
  overflow-wrap: anywhere;
}

.hmm3y-converter-shell-2027 .hmm3y-formula-line {
  color: var(--hmm3y-navy);
  font-size: 0.88rem;
}

.hmm3y-converter-shell-2027 .hmm3y-clarification-line {
  margin-top: 3px;
  color: var(--hmm3y-muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.hmm3y-converter-shell-2027 .hmm3y-years-input:focus-visible,
.hmm3y-converter-shell-2027 .hmm3y-convert-action:focus-visible,
.hmm3y-converter-shell-2027 .hmm3y-reset-action:focus-visible,
.hmm3y-converter-shell-2027 .hmm3y-preset-action:focus-visible,
.hmm3y-converter-shell-2027 .hmm3y-copy-action:focus-visible {
  outline: 3px solid rgba(23, 92, 211, 0.3);
  outline-offset: 3px;
}

.hmm3y-converter-shell-2027 .hmm3y-years-input:focus-visible {
  border-color: var(--hmm3y-focus);
  box-shadow: 0 0 0 4px rgba(23, 92, 211, 0.1);
}

.hmm3y-converter-shell-2027 .hmm3y-convert-action:active,
.hmm3y-converter-shell-2027 .hmm3y-reset-action:active,
.hmm3y-converter-shell-2027 .hmm3y-preset-action:active,
.hmm3y-converter-shell-2027 .hmm3y-copy-action:active {
  transform: translateY(1px);
}

@keyframes hmm3y-result-emphasis-2027 {
  0% {
    opacity: 0.72;
    transform: translateY(3px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 320px) and (max-width: 374px) {
  .hmm3y-converter-shell-2027 {
    padding: 22px 10px 28px;
  }

  .hmm3y-converter-shell-2027 .hmm3y-title-region {
    margin-bottom: 18px;
  }

  .hmm3y-converter-shell-2027 .hmm3y-page-title {
    font-size: 1.92rem;
    line-height: 1.08;
  }

  .hmm3y-converter-shell-2027 .hmm3y-page-subtitle {
    margin-top: 9px;
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .hmm3y-converter-shell-2027 .hmm3y-tool-surface {
    padding: 14px;
    border-radius: 18px;
  }

  .hmm3y-converter-shell-2027 .hmm3y-decorative-line {
    left: 22%;
    width: 56%;
  }

  .hmm3y-converter-shell-2027 .hmm3y-feature-strip {
    grid-template-columns: 1fr;
    gap: 5px;
    margin-bottom: 14px;
  }

  .hmm3y-converter-shell-2027 .hmm3y-feature-item {
    min-height: 35px;
    justify-content: flex-start;
    padding: 6px 9px;
    font-size: 0.75rem;
  }

  .hmm3y-converter-shell-2027 .hmm3y-conversion-layout {
    gap: 14px;
  }

  .hmm3y-converter-shell-2027 .hmm3y-input-section,
  .hmm3y-converter-shell-2027 .hmm3y-result-panel {
    padding: 16px;
    border-radius: 15px;
  }

  .hmm3y-converter-shell-2027 .hmm3y-conversion-form {
    margin-top: 17px;
  }

  .hmm3y-converter-shell-2027 .hmm3y-years-input {
    height: 50px;
  }

  .hmm3y-converter-shell-2027 .hmm3y-main-actions {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hmm3y-converter-shell-2027 .hmm3y-convert-action,
  .hmm3y-converter-shell-2027 .hmm3y-reset-action {
    width: 100%;
    min-height: 46px;
  }

  .hmm3y-converter-shell-2027 .hmm3y-preset-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .hmm3y-converter-shell-2027 .hmm3y-preset-action:last-child {
    grid-column: 1 / -1;
  }

  .hmm3y-converter-shell-2027 .hmm3y-result-validity {
    max-width: 92px;
    text-align: right;
  }

  .hmm3y-converter-shell-2027 .hmm3y-result-value {
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 22px;
  }

  .hmm3y-converter-shell-2027 .hmm3y-result-number {
    font-size: clamp(2.8rem, 17vw, 4rem);
  }

  .hmm3y-converter-shell-2027 .hmm3y-copy-action {
    width: 100%;
  }

  .hmm3y-converter-shell-2027 .hmm3y-formula-note {
    align-items: flex-start;
    gap: 10px;
    margin-top: 14px;
    padding: 13px;
  }
}

@media (min-width: 375px) and (max-width: 429px) {
  .hmm3y-converter-shell-2027 {
    padding: 26px 13px 34px;
  }

  .hmm3y-converter-shell-2027 .hmm3y-page-title {
    font-size: 2.08rem;
  }

  .hmm3y-converter-shell-2027 .hmm3y-page-subtitle {
    font-size: 0.94rem;
  }

  .hmm3y-converter-shell-2027 .hmm3y-tool-surface {
    padding: 17px;
    border-radius: 20px;
  }

  .hmm3y-converter-shell-2027 .hmm3y-feature-strip {
    grid-template-columns: 1fr;
    gap: 6px;
    margin-bottom: 17px;
  }

  .hmm3y-converter-shell-2027 .hmm3y-feature-item {
    min-height: 37px;
    justify-content: flex-start;
    padding: 7px 10px;
  }

  .hmm3y-converter-shell-2027 .hmm3y-conversion-layout {
    gap: 17px;
  }

  .hmm3y-converter-shell-2027 .hmm3y-input-section,
  .hmm3y-converter-shell-2027 .hmm3y-result-panel {
    padding: 19px;
    border-radius: 17px;
  }

  .hmm3y-converter-shell-2027 .hmm3y-years-input {
    height: 52px;
  }

  .hmm3y-converter-shell-2027 .hmm3y-main-actions {
    grid-template-columns: 1fr;
  }

  .hmm3y-converter-shell-2027 .hmm3y-convert-action,
  .hmm3y-converter-shell-2027 .hmm3y-reset-action {
    width: 100%;
    min-height: 47px;
  }

  .hmm3y-converter-shell-2027 .hmm3y-preset-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .hmm3y-converter-shell-2027 .hmm3y-preset-action:nth-child(4),
  .hmm3y-converter-shell-2027 .hmm3y-preset-action:nth-child(5) {
    grid-column: span 1;
  }

  .hmm3y-converter-shell-2027 .hmm3y-result-value {
    margin-top: 27px;
  }

  .hmm3y-converter-shell-2027 .hmm3y-result-number {
    font-size: clamp(3.25rem, 16vw, 4.4rem);
  }

  .hmm3y-converter-shell-2027 .hmm3y-copy-action {
    width: 100%;
    min-height: 47px;
  }

  .hmm3y-converter-shell-2027 .hmm3y-formula-note {
    margin-top: 17px;
  }
}

@media (min-width: 430px) and (max-width: 767px) {
  .hmm3y-converter-shell-2027 {
    padding: 32px 18px 42px;
  }

  .hmm3y-converter-shell-2027 .hmm3y-page-title {
    font-size: clamp(2.15rem, 8vw, 2.75rem);
  }

  .hmm3y-converter-shell-2027 .hmm3y-page-subtitle {
    font-size: 1rem;
  }

  .hmm3y-converter-shell-2027 .hmm3y-tool-surface {
    padding: 22px;
    border-radius: 22px;
  }

  .hmm3y-converter-shell-2027 .hmm3y-feature-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    margin-bottom: 22px;
  }

  .hmm3y-converter-shell-2027 .hmm3y-feature-item {
    min-height: 52px;
    flex-direction: column;
    gap: 5px;
    padding: 7px;
    font-size: 0.72rem;
  }

  .hmm3y-converter-shell-2027 .hmm3y-input-section,
  .hmm3y-converter-shell-2027 .hmm3y-result-panel {
    padding: 23px;
  }

  .hmm3y-converter-shell-2027 .hmm3y-years-input {
    height: 54px;
  }

  .hmm3y-converter-shell-2027 .hmm3y-main-actions {
    grid-template-columns: minmax(0, 1fr) 104px;
  }

  .hmm3y-converter-shell-2027 .hmm3y-preset-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
  }

  .hmm3y-converter-shell-2027 .hmm3y-preset-action {
    min-height: 46px;
    padding: 5px;
    font-size: 0.78rem;
  }

  .hmm3y-converter-shell-2027 .hmm3y-result-value {
    margin-top: 30px;
  }

  .hmm3y-converter-shell-2027 .hmm3y-result-number {
    font-size: clamp(3.8rem, 14vw, 5rem);
  }

  .hmm3y-converter-shell-2027 .hmm3y-copy-action {
    min-height: 48px;
  }

  .hmm3y-converter-shell-2027 .hmm3y-formula-note {
    padding: 16px 18px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hmm3y-converter-shell-2027 {
    padding: 42px 24px 54px;
  }

  .hmm3y-converter-shell-2027 .hmm3y-title-region {
    margin-bottom: 28px;
  }

  .hmm3y-converter-shell-2027 .hmm3y-page-title {
    font-size: clamp(2.65rem, 5.5vw, 3.2rem);
  }

  .hmm3y-converter-shell-2027 .hmm3y-page-subtitle {
    font-size: 1.06rem;
  }

  .hmm3y-converter-shell-2027 .hmm3y-tool-surface {
    padding: 30px;
    border-radius: 25px;
  }

  .hmm3y-converter-shell-2027 .hmm3y-feature-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 28px;
  }

  .hmm3y-converter-shell-2027 .hmm3y-feature-item {
    min-height: 44px;
    flex-direction: row;
    font-size: 0.8rem;
  }

  .hmm3y-converter-shell-2027 .hmm3y-conversion-layout {
    grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
    gap: 22px;
    align-items: stretch;
  }

  .hmm3y-converter-shell-2027 .hmm3y-input-section,
  .hmm3y-converter-shell-2027 .hmm3y-result-panel {
    padding: 25px;
  }

  .hmm3y-converter-shell-2027 .hmm3y-years-input {
    height: 55px;
  }

  .hmm3y-converter-shell-2027 .hmm3y-main-actions {
    grid-template-columns: 1fr 92px;
    gap: 8px;
  }

  .hmm3y-converter-shell-2027 .hmm3y-preset-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hmm3y-converter-shell-2027 .hmm3y-result-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .hmm3y-converter-shell-2027 .hmm3y-result-value {
    margin-top: 31px;
  }

  .hmm3y-converter-shell-2027 .hmm3y-result-number {
    font-size: clamp(4rem, 8vw, 5.15rem);
  }

  .hmm3y-converter-shell-2027 .hmm3y-copy-action {
    align-self: flex-start;
  }

  .hmm3y-converter-shell-2027 .hmm3y-formula-note {
    margin-top: 22px;
    padding: 17px 20px;
  }
}

@media (min-width: 1024px) {
  .hmm3y-converter-shell-2027 {
    padding: 50px 28px 66px;
  }

  .hmm3y-converter-shell-2027 .hmm3y-title-region {
    margin-bottom: 32px;
  }

  .hmm3y-converter-shell-2027 .hmm3y-page-title {
    font-size: clamp(3rem, 4.25vw, 3.65rem);
  }

  .hmm3y-converter-shell-2027 .hmm3y-page-subtitle {
    font-size: 1.1rem;
  }

  .hmm3y-converter-shell-2027 .hmm3y-tool-surface {
    padding: 36px;
    border-radius: 27px;
  }

  .hmm3y-converter-shell-2027 .hmm3y-feature-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 760px;
    margin: 0 auto 32px;
  }

  .hmm3y-converter-shell-2027 .hmm3y-feature-item {
    min-height: 45px;
    font-size: 0.84rem;
  }

  .hmm3y-converter-shell-2027 .hmm3y-conversion-layout {
    grid-template-columns: minmax(420px, 0.94fr) minmax(460px, 1.06fr);
    gap: 28px;
    align-items: stretch;
  }

  .hmm3y-converter-shell-2027 .hmm3y-input-section,
  .hmm3y-converter-shell-2027 .hmm3y-result-panel {
    padding: 30px;
  }

  .hmm3y-converter-shell-2027 .hmm3y-years-input {
    height: 57px;
    font-size: 1.13rem;
  }

  .hmm3y-converter-shell-2027 .hmm3y-main-actions {
    grid-template-columns: minmax(0, 1fr) 110px;
    gap: 11px;
  }

  .hmm3y-converter-shell-2027 .hmm3y-convert-action,
  .hmm3y-converter-shell-2027 .hmm3y-reset-action,
  .hmm3y-converter-shell-2027 .hmm3y-copy-action {
    min-height: 49px;
  }

  .hmm3y-converter-shell-2027 .hmm3y-preset-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
  }

  .hmm3y-converter-shell-2027 .hmm3y-result-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .hmm3y-converter-shell-2027 .hmm3y-result-value {
    margin-top: 36px;
  }

  .hmm3y-converter-shell-2027 .hmm3y-result-number {
    font-size: clamp(4.8rem, 6.7vw, 6.1rem);
  }

  .hmm3y-converter-shell-2027 .hmm3y-result-equation {
    margin-top: 23px;
    font-size: 1.02rem;
  }

  .hmm3y-converter-shell-2027 .hmm3y-copy-action {
    align-self: flex-start;
    margin-top: 26px;
  }

  .hmm3y-converter-shell-2027 .hmm3y-formula-note {
    margin-top: 26px;
    padding: 18px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hmm3y-converter-shell-2027 .hmm3y-years-input,
  .hmm3y-converter-shell-2027 .hmm3y-convert-action,
  .hmm3y-converter-shell-2027 .hmm3y-reset-action,
  .hmm3y-converter-shell-2027 .hmm3y-preset-action,
  .hmm3y-converter-shell-2027 .hmm3y-copy-action,
  .hmm3y-converter-shell-2027 .hmm3y-action-arrow {
    transition: none;
  }

  .hmm3y-converter-shell-2027 .hmm3y-result-panel.is-emphasized .hmm3y-result-value {
    animation: none;
  }
}