:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  color: #101d34;
  background: #f5f7fb;
  --ink: #101d34;
  --muted: #4b5d77;
  --line: #dbe2ee;
  --blue: #204ad4;
  --deep: #102750;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-width: 300px;
  font-size: 1rem;
  line-height: 1.5;
}
[hidden] {
  display: none !important;
}
a {
  color: var(--blue);
  text-underline-offset: 0.21em;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
  border: 1px solid #bed0f3;
  border-radius: 0.58rem;
  background: #eef3fd;
  color: #183c9f;
  padding: 0.54rem 0.87rem;
  font-weight: 680;
  min-height: 42px;
}
button:hover {
  background: #dbe6fe;
}
button:disabled {
  cursor: wait;
  opacity: 0.7;
}
:focus-visible {
  outline: 3px solid #376bf0;
  outline-offset: 3px;
}
.primary {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
  padding-inline: 1.13rem;
  white-space: nowrap;
}
.primary:hover {
  background: #1b3bb2;
}
.frame {
  width: min(1180px, 100% - 3rem);
  margin-inline: auto;
}
.skip {
  position: absolute;
  left: 0.75rem;
  top: -100px;
  background: white;
  padding: 0.5rem 0.85rem;
  z-index: 2;
}
.skip:focus {
  top: 0.75rem;
}
.top {
  background: white;
  border-bottom: 1px solid var(--line);
}
.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  min-height: 69px;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 0.62rem;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}
.wordmark strong {
  letter-spacing: 0.1em;
}
.mark {
  background: #203fc6;
  color: #fff;
  border-radius: 0.52rem;
  display: grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  font-weight: 800;
}
nav {
  display: flex;
  gap: 1.4rem;
}
nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 650;
  font-size: 0.9rem;
}
nav a:hover {
  text-decoration: underline;
}
.environment {
  font-size: 0.875rem;
  color: #2d496f;
  font-weight: 630;
  white-space: nowrap;
}
.intro {
  margin-top: 2rem;
  padding: 2.8rem 2.9rem;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(200px, 0.55fr);
  align-items: end;
  gap: 2.5rem;
  border-radius: 1.3rem;
  color: white;
  background:
    radial-gradient(ellipse at 100% 110%, #355ee0 0%, transparent 58%),
    linear-gradient(122deg, #10274e, #192e76);
}
.intro h1,
.intro h2,
.detail h1 {
  font-size: clamp(2.25rem, 4.6vw, 4.15rem);
  line-height: 1.04;
  letter-spacing: -0.048em;
  margin: 0.42rem 0 0.8rem;
}
.intro p {
  color: #dfe8ff;
  margin: 0.2rem 0 0;
  max-width: 35rem;
}
.intro .category-label {
  font-weight: 690;
  font-size: 0.94rem;
  color: #a9c2ff;
}
.sample {
  padding: 1.04rem 1.12rem;
  border: 1px solid #a4b8ef66;
  background: #10264c70;
  border-radius: 0.78rem;
  display: grid;
  gap: 0.4rem;
}
.sample span {
  font-size: 0.875rem;
  color: #cddcff;
}
.sample button {
  text-align: left;
  border: 0;
  background: transparent;
  color: white;
  padding: 0;
  line-height: 1.42;
  min-height: unset;
  text-decoration: underline;
  text-decoration-color: #9bb5ff;
  text-underline-offset: 0.22em;
}
.search,
.detail,
.purchase-list,
.agent {
  margin-top: 1.2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.3rem 1.5rem;
}
label {
  color: #354762;
  font-size: 0.9rem;
  font-weight: 665;
  display: block;
}
.search-controls {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.3rem;
}
.shop-search-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(9rem, 12rem) auto;
  gap: 0.65rem;
  align-items: end;
}
.shop-search-controls input {
  display: block;
  margin-top: 0.3rem;
}
@media (max-width: 590px) {
  .shop-search-controls {
    grid-template-columns: 1fr;
  }
  .shop-search-controls button {
    justify-self: start;
  }
}
input:not([type="checkbox"]),
select,
textarea {
  border: 1px solid #bcc9df;
  border-radius: 0.55rem;
  background: #fff;
  color: var(--ink);
  min-width: 0;
  width: 100%;
  min-height: 44px;
  padding: 0.55rem 0.68rem;
}
input::placeholder {
  color: #5e6b82;
  opacity: 1;
}
select {
  appearance: none;
  background: no-repeat right 0.9rem
    center/conic-gradient(
      from 45deg at 50% 47%,
      transparent 0deg,
      #41567a 1deg 90deg,
      transparent 91deg
    )
    #fff;
  padding-right: 1.6rem;
  background-size: 10px 10px;
}
.filters {
  display: grid;
  grid-template-columns: 1.1fr 1.25fr repeat(5, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}
.filters input,
.filters select {
  display: block;
  margin-top: 0.3rem;
}
.check {
  display: flex;
  align-items: center;
  gap: 0.52rem;
  margin-top: 0.9rem;
  width: max-content;
  max-width: 100%;
}
.check input {
  width: 1.12rem;
  height: 1.12rem;
  margin: 0;
  accent-color: var(--blue);
}
.interior {
  margin-top: 0.8rem;
  color: #354762;
  font-weight: 665;
  font-size: 0.9rem;
}
.interior summary {
  cursor: pointer;
  width: max-content;
  max-width: 100%;
}
.interior .filters {
  grid-template-columns: repeat(2, minmax(0, 12rem));
}
.purchase-list summary {
  font-weight: 665;
  cursor: pointer;
  width: fit-content;
}
.purchase-list form {
  margin-top: 0.85rem;
}
.purchase-list textarea {
  display: block;
  margin: 0.3rem 0;
  font: 0.87rem/1.55 ui-monospace, monospace;
  white-space: pre;
  resize: vertical;
}
.purchase-list .actions {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 0.55rem;
  margin: 0.65rem 0;
}
.purchase-list input[type="file"] {
  display: block;
  max-width: 16rem;
  margin-top: 0.3rem;
}
.purchase-list-row {
  border-top: 1px solid var(--line);
  margin-top: 0.9rem;
  padding-top: 0.85rem;
  overflow-wrap: anywhere;
}
.purchase-list-row > h3 {
  margin: 0 0 0.55rem;
  font-size: 1rem;
}
#purchase-list-share {
  margin-top: 1rem;
}
#purchase-list-share-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.purchase-list p {
  font-size: 0.9rem;
  color: var(--muted);
}
.results-section {
  margin: 1.8rem 0;
}
.results-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.72rem;
}
h2 {
  font-size: 1.25rem;
  margin: 0;
  letter-spacing: -0.019em;
}
.results-heading p,
.agent p,
.detail p,
.footer {
  color: var(--muted);
}
.results-heading p,
.agent p {
  margin: 0;
  font-size: 0.9rem;
}
.cards {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 0.88rem;
  min-width: 0;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.37rem;
}
.card .merchant {
  font-size: 0.91rem;
  color: #2748a1;
  font-weight: 680;
}
.card h3,
.card h4 {
  color: var(--ink);
  font-size: 1.095rem;
  line-height: 1.25;
  margin: 0;
}
.card p {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0;
}
.card-bottom {
  display: flex;
  gap: 0.5rem;
  align-items: end;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.7rem;
}
.card-bottom strong {
  display: block;
  font-size: 1.35rem;
  line-height: 1.14;
  letter-spacing: -0.025em;
}
.card-bottom small {
  font-size: 0.8rem;
  color: var(--muted);
}
.agent {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
}
.agent p {
  margin-top: 0.2rem;
}
#shop-links h1 {
  margin: 0.3rem 0 0.4rem;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.045em;
}
.setup-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1rem;
}
.agent-install {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  padding-top: 0.8rem;
}
.agent-install summary {
  cursor: pointer;
  font-weight: 680;
}
.install-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 0.85rem;
}
.agent-install h3 {
  margin-bottom: 0.35rem;
  font-size: 1rem;
}
.agent-install pre {
  margin-top: 0;
  padding: 0.65rem;
  background: #f5f7fb;
  border-radius: 0.5rem;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
#copy-status:empty,
#install-copy-status:empty {
  margin: 0;
}
.agent input {
  font-family: ui-monospace, monospace;
  font-size: 0.875rem;
}
.detail {
  max-width: 730px;
  margin: 2rem auto;
  padding: clamp(1.2rem, 4vw, 2.4rem);
}
.detail h1 {
  font-size: clamp(2rem, 3.1vw, 3.1rem);
}
.detail .overline {
  color: #2748a1;
  font-weight: 720;
  margin: 0;
}
.detail dl {
  margin: 1.4rem 0;
  background: #f4f7fd;
  padding: 0.55rem 1rem;
  border-radius: 0.65rem;
}
.detail dl div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
}
.detail dl div:last-child {
  border-bottom: 0;
  font-weight: 730;
  color: #142c66;
}
.detail dd {
  margin: 0;
  text-align: right;
}
.detail .actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.1rem;
}
.detail .support {
  border-top: 1px solid var(--line);
  margin-top: 1.4rem;
  padding-top: 1.15rem;
}
.detail .support form {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 0.65rem;
  margin-top: 0.6rem;
}
.merchant-support summary {
  cursor: pointer;
  font-weight: 665;
  width: fit-content;
}
.merchant-support > p {
  margin-top: 0.65rem;
}
.merchant-support li {
  overflow-wrap: anywhere;
}
.notice {
  margin: 1rem 0;
  color: #723111;
}
.notice:empty {
  display: none;
}
.save-search {
  margin-top: 1rem;
}
.saved {
  margin-top: 1.5rem;
}
.watch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.45rem;
}
.footer {
  font-size: 0.875rem;
  padding: 1.2rem 0 1.8rem;
}
@media (max-width: 940px) {
  .filters {
    grid-template-columns: repeat(4, 1fr);
  }
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .intro {
    padding: 2.2rem;
  }
}
@media (max-width: 640px) {
  .frame {
    width: calc(100% - 1.5rem);
  }
  .intro,
  .agent {
    grid-template-columns: 1fr;
    gap: 1.05rem;
  }
  .intro {
    margin-top: 1rem;
    padding: 1.3rem 1rem;
  }
  .search,
  .purchase-list,
  .agent {
    padding: 1rem;
  }
  .filters {
    grid-template-columns: repeat(2, 1fr);
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .top-inner {
    min-height: 59px;
    flex-wrap: wrap;
    gap: 0.42rem 0.8rem;
    padding-block: 0.55rem;
  }
  .top nav {
    width: 100%;
    order: 3;
    flex-wrap: wrap;
    gap: 0.35rem 1rem;
  }
  .results-heading {
    flex-wrap: wrap;
    gap: 0.3rem;
  }
  .card {
    padding: 0.9rem;
  }
  .detail .support form {
    align-items: stretch;
    flex-direction: column;
  }
  .detail .support form button {
    align-self: start;
  }
}
