
.omori-quick-nav {
  align-items: center;
  background: #f4fbfa;
  border: 1px solid #abd2cf;
  border-radius: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1rem 0 1.25rem;
  padding: 0.8rem 0.9rem;
}

.omori-quick-nav strong {
  color: #083b42;
  flex-basis: 100%;
  font-size: 0.82rem;
}

.omori-quick-nav a {
  background: #fff;
  border: 1px solid #7bb9b5;
  border-radius: 999px;
  color: #0b5f62;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.35;
  padding: 0.45rem 0.7rem;
  text-decoration: none;
}

.omori-quick-nav a:hover,
.omori-quick-nav a:focus-visible {
  background: #dff4f1;
  color: #083b42;
  outline: 3px solid rgba(11, 112, 111, 0.2);
  outline-offset: 2px;
}

.omori-hero,
.omori-converter {
  color: #12383a;
  border: 1px solid rgba(18, 56, 58, 0.16);
  border-radius: 24px;
  margin: 1.5rem 0 2rem;
}

.omori-hero {
  background: #f5f2e9;
  padding: clamp(1.25rem, 4vw, 2.25rem);
}

.omori-hero__eyebrow,
.omori-converter__eyebrow {
  color: #0b706f;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0 0 0.45rem;
  text-transform: uppercase;
}

.omori-hero h2,
.omori-converter h2 {
  color: #062f33;
  font-size: clamp(1.75rem, 6vw, 2.75rem);
  line-height: 1.2;
  margin: 0;
}

.omori-hero__lead {
  font-size: clamp(1rem, 3.5vw, 1.18rem);
  line-height: 1.8;
  margin: 1rem 0 1.25rem;
}

.omori-hero__quick {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.omori-hero__quick span {
  background: #fff;
  border-radius: 14px;
  display: grid;
  padding: 0.75rem 0.5rem;
  text-align: center;
}

.omori-hero__quick b {
  color: #0b706f;
  font-size: 0.8rem;
}

.omori-converter {
  background: #fff;
  box-shadow: 0 16px 40px rgba(6, 47, 51, 0.1);
  overflow: hidden;
  padding: clamp(1.25rem, 4vw, 2.25rem);
}

.omori-converter__heading > p:last-child {
  margin: 0.65rem 0 0;
}

.omori-converter__fields {
  align-items: end;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  margin-top: 1.35rem;
}

.omori-converter__field {
  color: #12383a;
  display: grid;
  font-weight: 800;
  gap: 0.45rem;
}

.omori-converter__input {
  align-items: center;
  background: #f7f5ef;
  border: 2px solid #bfd3d2;
  border-radius: 14px;
  display: flex;
  min-width: 0;
  padding: 0 0.8rem;
}

.omori-converter__input:focus-within {
  border-color: #0b706f;
  box-shadow: 0 0 0 4px rgba(24, 183, 177, 0.2);
}

.omori-converter__input input {
  appearance: textfield;
  background: transparent;
  border: 0;
  color: #062f33;
  font-size: clamp(1.35rem, 5vw, 2rem);
  font-weight: 800;
  min-width: 0;
  padding: 0.8rem 0;
  width: 100%;
}

.omori-converter__input input:focus {
  outline: 0;
}

.omori-converter__input b {
  color: #315f61;
  font-size: 1rem;
}

.omori-converter__equals {
  color: #0b706f;
  font-size: 1.6rem;
  font-weight: 900;
  padding-bottom: 0.7rem;
}

.omori-converter__result {
  background: #062f33;
  border-radius: 18px;
  color: #fff;
  display: grid;
  gap: 0.35rem;
  margin-top: 1rem;
  padding: 1.1rem 1.25rem;
}

.omori-converter__result strong {
  color: #fff;
  font-size: clamp(1.45rem, 5vw, 2.25rem);
}

.omori-converter__result span {
  color: #d9eeee;
  font-size: 0.9rem;
}

.omori-converter__presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.omori-converter__presets button {
  background: #e8f7f5;
  border: 1px solid #7bb9b5;
  border-radius: 999px;
  color: #12383a;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  min-height: 42px;
  padding: 0.55rem 0.85rem;
}

.omori-converter__presets button:hover,
.omori-converter__presets button:focus-visible {
  background: #18b7b1;
  border-color: #0b706f;
  color: #062f33;
  outline: 3px solid rgba(11, 112, 111, 0.25);
  outline-offset: 2px;
}

.omori-converter__note {
  color: #426a6c;
  font-size: 0.82rem;
  line-height: 1.65;
  margin: 0.9rem 0 0;
}

.omori-table-wrap {
  border: 1px solid #c9d9d7;
  border-radius: 18px;
  max-height: 680px;
  overflow: auto;
}

.omori-table {
  border-collapse: collapse;
  margin: 0;
  width: 100%;
}

.omori-table caption {
  background: #f5f2e9;
  color: #12383a;
  font-weight: 800;
  padding: 0.8rem;
  text-align: left;
}

.omori-table th {
  background: #062f33;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1;
}

.omori-table th,
.omori-table td {
  border-bottom: 1px solid #d8e3e1;
  padding: 0.72rem 1rem;
  text-align: left;
}

.omori-table tbody tr:nth-child(even) {
  background: #f7f5ef;
}

.omori-table td:last-child {
  color: #0b706f;
  font-weight: 800;
}

.omori-answer-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.omori-answer-grid article {
  background: #f5f2e9;
  border: 1px solid #c9d9d7;
  border-radius: 16px;
  display: grid;
  gap: 0.25rem;
  padding: 1rem;
}

.omori-answer-grid span,
.omori-answer-grid small {
  color: #426a6c;
}

.omori-answer-grid strong {
  color: #062f33;
  font-size: 1.6rem;
}

@media (max-width: 700px) {
  .omori-hero__quick {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .omori-converter__fields {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .omori-converter__equals {
    padding: 0;
    text-align: center;
    transform: rotate(90deg);
  }

  .omori-answer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .omori-converter__presets button {
    scroll-behavior: auto;
  }
}
