.go-shell {
  max-width: min(1080px, calc(100% - 32px));
  margin: 24px auto 56px;
  padding: 0;
  color: #0f172a;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  display: grid;
  gap: 16px;
}

.go-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #64748b;
}

.go-breadcrumbs a {
  color: #64748b;
  text-decoration: none;
}

.go-breadcrumbs a:hover,
.go-breadcrumbs a:focus-visible {
  color: #1d4ed8;
  text-decoration: underline;
}

.go-converter-title {
  margin: 0;
  font-size: 22px;
  color: #151a1f;
}

h1.go-converter-title {
  padding-bottom: 8px;
}

.go-intro {
  margin: 0;
  color: #4b535d;
  font-size: 15px;
  line-height: 1.6;
}

.go-card {
  background: #ffffff;
  border: 1px solid #d8e0ee;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 18px 34px -30px rgba(15, 23, 42, 0.7);
}

.go-converter-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.go-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.go-side {
  display: grid;
  gap: 0;
}

.go-equals {
  font-size: 2rem;
  line-height: 1;
  font-weight: 700;
  color: #475569;
  margin: 0 2px;
  align-self: center;
}

.go-side input {
  width: 100%;
  border: 1px solid #b9c7df;
  border-bottom: 0;
  border-radius: 0;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  padding: 10px 14px;
  font-size: 2.1rem;
  font-weight: 500;
  text-align: center;
  color: #0f172a;
  background: #fff;
  min-height: 64px;
}

.go-side input.go-overflow-right {
  text-align: right;
}

.go-side select {
  width: 100%;
  border: 1px solid #b9c7df;
  border-radius: 0;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  padding: 10px 14px;
  font-size: 1rem;
  font-weight: 500;
  color: #0f172a;
  background: #fff;
  min-height: 48px;
  cursor: pointer;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--rp-select-chevron-color, #334155) 50%),
    linear-gradient(135deg, var(--rp-select-chevron-color, #334155) 50%, transparent 50%);
  background-position:
    calc(100% - var(--rp-select-chevron-right, 18px)) 20px,
    calc(100% - var(--rp-select-chevron-right-inner, 13px)) 20px;
  background-size:
    var(--rp-select-chevron-size, 5px) var(--rp-select-chevron-size, 5px),
    var(--rp-select-chevron-size, 5px) var(--rp-select-chevron-size, 5px);
  background-repeat: no-repeat;
  padding-right: var(--rp-select-padding-right, 36px);
}

.go-side select option {
  cursor: pointer;
}

.go-side .go-select-wrap {
  position: relative;
}

.go-side .go-native-select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.go-side .go-select-trigger {
  width: 100%;
  border: 1px solid #b9c7df;
  border-radius: 0;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  padding: 10px 14px;
  padding-right: var(--rp-select-padding-right, 36px);
  font-size: 1rem;
  font-weight: 500;
  color: #0f172a;
  background-color: #fff;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--rp-select-chevron-color, #334155) 50%),
    linear-gradient(135deg, var(--rp-select-chevron-color, #334155) 50%, transparent 50%);
  background-position:
    calc(100% - var(--rp-select-chevron-right, 18px)) 20px,
    calc(100% - var(--rp-select-chevron-right-inner, 13px)) 20px;
  background-size:
    var(--rp-select-chevron-size, 5px) var(--rp-select-chevron-size, 5px),
    var(--rp-select-chevron-size, 5px) var(--rp-select-chevron-size, 5px);
  background-repeat: no-repeat;
  min-height: 48px;
  cursor: pointer;
  text-align: left;
}

.go-side .go-select-wrap.is-open .go-select-trigger {
  border-color: #2563eb;
  box-shadow: 0 18px 34px -30px rgba(15, 23, 42, 0.7);
}

.go-side .go-select-trigger:focus {
  border-color: #2563eb;
  box-shadow: 0 18px 34px -30px rgba(15, 23, 42, 0.7);
  outline: none;
  position: relative;
  z-index: 2;
}

.go-side .go-select-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid #b9c7df;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 34px -30px rgba(15, 23, 42, 0.7);
  z-index: 40;
}

.go-side .go-select-option {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(185, 199, 223, 0.75);
  background: #fff;
  padding: 9px 12px;
  text-align: left;
  color: #0f172a;
  font-size: 1rem;
  line-height: 1.45;
  cursor: pointer;
}

.go-side .go-select-option:last-child {
  border-bottom: 0;
}

.go-side .go-select-option:hover,
.go-side .go-select-option:focus-visible {
  background: #eff4ff;
}

.go-side .go-select-option:focus-visible {
  outline: none;
}

.go-side input:focus {
  border-color: #2563eb;
  box-shadow: 0 18px 34px -30px rgba(15, 23, 42, 0.7);
  outline: none;
  position: relative;
  z-index: 2;
}

#go-from-value.is-flash,
#go-to-value.is-flash {
  animation: go-result-flash 2s ease-out;
}

@keyframes go-result-flash {
  0% {
    background-color: rgba(16, 185, 129, 0.12);
  }
  100% {
    background-color: #fff;
  }
}

.go-side select:focus {
  border-color: #2563eb;
  box-shadow: 0 18px 34px -30px rgba(15, 23, 42, 0.7);
  outline: none;
  position: relative;
  z-index: 2;
}

.go-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.go-pill {
  border: 1px solid #d9dadb;
  background: #fff;
  color: #0f172a;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.go-pill:hover,
.go-pill:focus-visible {
  border-color: #2563eb;
  color: #1e40af;
}

.go-converter-meta {
  font-size: 12px;
  color: #6b737c;
  margin-top: 8px;
}

.go-note {
  margin: 12px 0 0;
  color: #475569;
  font-size: 14px;
}

.go-reference h2 {
  margin: 18px 0 8px;
  font-size: 1.45rem;
}

.go-reference h2:first-child {
  margin-top: 0;
}

.go-reference p {
  margin: 0;
  color: #334155;
  line-height: 1.65;
}

.go-reference ul {
  margin: 0;
  padding-left: 20px;
  padding-top: 0;
  color: #334155;
  display: grid;
  gap: 6px;
}

.go-reference ul.content-link-list,
.go-reference ul.go-related-pills {
  padding-left: 0;
  padding-top: 5px;
}

.go-reference p + p,
.go-reference p + ul,
.go-reference p + .go-examples-table-wrap,
.go-reference ul + h2,
.go-reference .go-faq + h2 {
  margin-top: 10px;
  margin-bottom: 10px;
}

.go-examples-table-wrap {
  margin-top: 10px;
  border: 1px solid #d8e0ee;
  border-radius: 12px;
  background: #fff;
  overflow-x: auto;
}

.go-examples-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
}

.go-examples-table thead th {
  text-align: left;
  font-size: 0.9rem;
  font-weight: 700;
  color: #475569;
  padding: 12px 14px;
  border-bottom: 1px solid #d8e0ee;
  background: #f8fafc;
}

.go-examples-table tbody td {
  padding: 11px 14px;
  color: #0f172a;
  border-bottom: 1px solid #e2e8f0;
  white-space: nowrap;
}

.go-examples-table tbody tr:last-child td {
  border-bottom: 0;
}

.go-examples-table tbody tr:nth-child(even) td {
  background: #fcfdff;
}

.go-reference a {
  color: #1d4ed8;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.go-related-pills {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px;
  overflow: visible;
  grid-template-columns: none !important;
}

.go-related-pills li {
  margin: 0;
  display: inline-flex;
  list-style: none;
}

.go-related-pills a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid #bfd1ef;
  border-radius: 999px;
  background: #fff;
  color: var(--dbg-text);
  text-decoration: none;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.go-related-pills a:hover,
.go-related-pills a:focus-visible {
  border-color: #2563eb;
  color: var(--dbg-text);
  text-decoration: none;
}

.go-faq {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.go-faq-item {
  border: 1px solid #d4d9e1;
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
}

.go-faq-item summary {
  cursor: pointer;
  list-style: none;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  color: #0f172a;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.go-faq-item summary::-webkit-details-marker {
  display: none;
}

.go-faq-item summary::before {
  content: "\25B6";
  font-size: 11px;
  color: #334155;
  transform: translateY(-1px);
  transition: transform 0.15s ease;
}

.go-faq-item[open] summary::before {
  transform: rotate(90deg) translateX(1px);
}

.go-faq-item > p {
  margin: 0;
  padding: 0 14px 14px 34px;
  font-size: 15px;
  line-height: 1.65;
  color: #374151;
}

@media (max-width: 760px) {
  .go-shell {
    margin-top: 16px;
    padding: 0;
  }

  .go-card {
    padding: 14px;
    border-radius: 14px;
  }

  .go-form {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .go-equals {
    justify-self: center;
    margin: 2px 0;
    font-size: 1.7rem;
  }

  .go-side input {
    font-size: 1.9rem;
    min-height: 56px;
  }

  .go-examples-table {
    min-width: 420px;
  }

  .go-examples-table-wrap {
    overflow-x: hidden;
  }

  .go-examples-table {
    min-width: 0;
    width: 100%;
    table-layout: fixed;
  }

  .go-examples-table thead th,
  .go-examples-table tbody td {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}
