body.tools-page .tool-main {
  max-width: 1056px;
  width: calc(100% - 48px);
  margin: 120px auto 150px;
  min-height: 360px;
}
body.tools-page .tool-main.track-main {
  max-width: 850px;
  margin-top: 118px;
}
.tool-heading {
  margin-bottom: 30px;
}
.tool-heading h1 {
  font-size: 30px;
  letter-spacing: -1.1px;
  line-height: 1.25;
  margin: 0 0 10px;
  font-weight: 600;
}
.tool-heading p {
  color: #858588;
  font-size: 15px;
  margin: 0;
  line-height: 1.6;
}
.tool-heading.center {
  text-align: center;
  margin-bottom: 38px;
}
.tool-heading.center p {
  max-width: 480px;
  margin: auto;
}
.tool-search {
  display: flex;
  border: 1px solid #29292b;
  border-radius: 12px;
  overflow: hidden;
  background: #19191b;
  height: 50px;
}
.tool-search > span {
  width: 42px;
  display: grid;
  place-items: center;
  color: #777;
}
.tool-search input {
  flex: 1;
  background: transparent;
  border: 0;
  padding: 0 0 0 4px;
  color: #eee;
  outline-offset: -3px;
}
.tool-search button {
  border: 0;
  border-left: 1px solid #29292b;
  padding: 0 20px;
  border-radius: 0;
  background: #202023;
  color: #ddd;
}
.tool-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.tool-card {
  border: 1px solid #2b2b2d;
  background: #19191b;
  border-radius: 12px;
  padding: 23px;
}
.tool-card .feature-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #27272a;
  background: #1c1c1e;
  border-radius: 9px;
  font-size: 23px;
  margin-bottom: 14px;
  color: #ccc;
}
.tool-card h3 {
  font-size: 14px;
  margin: 0 0 8px;
  font-weight: 600;
}
.tool-card p {
  font-size: 13px;
  line-height: 1.65;
  color: #88888d;
  margin: 0;
}
.tool-status {
  color: #999;
  margin: 18px 0;
  line-height: 1.65;
}
.tool-result[hidden] {
  display: none;
}
.tool-result {
  margin-top: 30px;
}
.tool-result iframe {
  width: 100%;
  border: 0;
  border-radius: 12px;
  min-height: 560px;
  background: #fff;
}
.tool-tabs {
  display: flex;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
  margin: 30px auto 78px;
  border: 1px solid #262628;
  border-radius: 12px;
  padding: 4px;
  width: fit-content;
}
.tool-tabs button {
  padding: 10px 15px;
  border: 0;
  border-radius: 7px;
  color: #888;
  background: transparent;
}
.tool-tabs button[aria-selected="true"] {
  background: #ededee;
  color: #161616;
}
.agent-podium {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: end;
}
.agent-card {
  text-align: center;
  padding: 36px 20px;
  border: 1px solid #2c2c30;
  border-radius: 15px;
  position: relative;
  background: #121212;
}
.agent-card.best {
  padding-top: 52px;
  padding-bottom: 52px;
  border-color: #888;
}
.agent-card .feature-icon {
  margin: 0 auto 16px;
  font-weight: bold;
  font-size: 28px;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid #29292b;
  border-radius: 12px;
}
.agent-card h3 {
  margin: 0 0 7px;
  font-size: 17px;
}
.agent-card p {
  font-size: 12px;
  color: #8b8b90;
}
.tool-button {
  display: inline-block;
  padding: 9px 15px;
  border: 1px solid #333;
  border-radius: 7px;
  background: #202023;
}
.tool-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 25px;
  font-size: 13px;
}
.tool-table th,
.tool-table td {
  text-align: left;
  padding: 17px 12px;
  border-bottom: 1px solid #29292b;
}
.tool-table th {
  color: #888;
  font-weight: 400;
}
.tool-table-wrap {
  overflow-x: auto;
}
.tool-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  border: 1px solid #29292b;
  background: #19191b;
  padding: 25px;
  border-radius: 12px;
}
.tool-form label {
  display: grid;
  gap: 8px;
  font-size: 12px;
  color: #aaa;
}
.tool-form input,
.tool-form select {
  width: 100%;
  padding: 11px;
  border: 1px solid #333;
  border-radius: 7px;
  background: #202023;
  color: #eee;
}
.tool-form button {
  padding: 11px;
  border-radius: 7px;
  background: #eee;
  color: #111;
  align-self: end;
}
.tool-section-heading {
  font-size: 18px;
  margin: 45px 0 22px;
}
.qc-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.qc-tile {
  border: 1px solid #2b2b2e;
  border-radius: 11px;
  overflow: hidden;
  background: #1b1b1d;
}
.qc-tile img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #202023;
}
.qc-tile strong,
.qc-tile small {
  display: block;
  margin: 12px;
  font-size: 12px;
}
.qc-tile small {
  color: #888;
}
.qc-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 20px;
}
.qc-gallery img {
  width: 100%;
  border-radius: 10px;
}
.guide-steps {
  display: grid;
  gap: 16px;
}
.guide-steps details {
  border: 1px solid #2b2b2e;
  background: #19191b;
  border-radius: 12px;
  padding: 22px;
}
.guide-steps summary {
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
}
.guide-steps p {
  color: #999;
  line-height: 1.8;
}
.guide-steps a {
  color: var(--accent) !important;
}
.tracker-links {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.tools-page .site-footer {
  margin-top: 0;
}
body.redesign.converter-page .converter-main {
  max-width: 850px;
  padding-top: 100px;
}
body.redesign.converter-page .converter-banner {
  display: none;
}
body.redesign.converter-page .converter-hero {
  background: none !important;
  border: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}
body.redesign.converter-page .converter-hero h1 {
  font-size: 34px !important;
  margin: 0 0 10px !important;
}
body.redesign.converter-page .converter-hero p {
  font-size: 15px !important;
  color: #888 !important;
}
body.redesign.converter-page .converter-results-shell {
  margin-top: 32px !important;
}
@media (max-width: 700px) {
  body.tools-page .tool-main,
  body.tools-page .tool-main.track-main {
    width: calc(100% - 32px);
    margin: 60px auto 80px;
  }
  .tool-heading h1 {
    font-size: 28px;
  }
  .tool-features,
  .agent-podium {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .tool-form {
    grid-template-columns: 1fr 1fr;
    padding: 18px;
  }
  .qc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .qc-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .tool-tabs {
    margin-bottom: 35px;
  }
  .tool-tabs button {
    font-size: 12px;
    padding: 9px;
  }
  .agent-card.best {
    padding: 36px 20px;
  }
  .tool-search button {
    padding: 0 12px;
  }
  .tool-heading.center {
    text-align: left;
  }
}

.tool-search select {
  border: 0;
  border-left: 1px solid #29292b;
  background: #19191b;
  padding: 0 12px;
  max-width: 130px;
}
.tools-page .converter-results {
  grid-template-columns: 1fr;
}
.tool-search input {
  width: 0;
  min-width: 0;
}
.tools-page .converter-result-card {
  background: #19191b !important;
  border: 1px solid #333 !important;
  box-shadow: none !important;
}
.lookup-single .qc-tile {
  max-width: 240px;
  display: block;
}
@media (max-width: 480px) {
  .tool-search select {
    max-width: 94px;
    padding: 0 6px;
  }
  .tool-search button {
    font-size: 12px;
    padding: 0 8px;
  }
}
body.tools-page
  .tool-main:not(.parcel-calculator-main):not(.buying-guide-main):not(.spreadsheet-main):not(
    .outfits-main
  ) {
  padding: 0 !important;
}
body.tools-page .tool-heading {
  text-align: left !important;
  background: none !important;
  border: 0 !important;
  padding: 0 !important;
}
body.tools-page .tool-heading.center {
  text-align: center !important;
}
body.tools-page .subpage-preferences {
  display: none !important;
}
body.tools-page .site-header {
  border-bottom: 0 !important;
}
body.tools-page .site-footer nav {
  flex-wrap: wrap;
  max-width: 600px;
}
body.tools-page::-webkit-scrollbar-thumb {
  background: #48484f !important;
}
body.tools-page .tool-heading:not(.center) h1 {
  text-align: left !important;
}
html:has(body.tools-page)::-webkit-scrollbar-thumb {
  background: #48484f !important;
}
body.tools-page .tool-heading.center h1 {
  text-align: center !important;
}
@media (max-width: 700px) {
  body.tools-page.redesign:not([data-public-page="agent"])
    .tool-main:not(.qc-lookup-page):not(.link-converter-main):not(.parcel-tracker-main):not(
      .parcel-calculator-main
    ):not(.buying-guide-main):not(.spreadsheet-main):not(.outfits-main),
  body.tools-page.redesign .tool-main.track-main {
    width: calc(100% - 32px) !important;
    max-width: none !important;
    margin: 60px auto 80px !important;
    padding: 0 !important;
  }
  body.tools-page:not([data-public-page="agent"])
    .tool-main:not(.qc-lookup-page):not(.link-converter-main):not(.parcel-tracker-main):not(
      .parcel-calculator-main
    ):not(.buying-guide-main):not(.spreadsheet-main):not(.outfits-main)
    .tool-heading.center {
    text-align: left !important;
  }
  body.tools-page:not([data-public-page="agent"])
    .tool-main:not(.qc-lookup-page):not(.link-converter-main):not(.parcel-tracker-main):not(
      .parcel-calculator-main
    ):not(.buying-guide-main):not(.spreadsheet-main):not(.outfits-main)
    .tool-heading.center
    h1 {
    text-align: left !important;
  }
}

/* A native dark timeline for the Kakobuy shipment events. */
body.tools-page .waybill-panel {
  background: #19191b;
  color: #d6d6dc;
  border: 1px solid #303033;
  border-radius: 16px;
  padding: 28px;
  font: inherit;
  text-align: left;
  overflow: hidden;
}
.waybill-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.waybill-eyebrow {
  font-size: 10px;
  letter-spacing: 1.6px;
  color: #81818c;
  font-weight: 600;
}
body.tools-page .waybill-panel h2 {
  color: #f4f4f6;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  margin: 7px 0 0;
  text-align: left;
  letter-spacing: -0.5px;
}
.waybill-source {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border: 1px solid #35353b;
  background: #222225;
  border-radius: 7px;
  color: #bdbdc7;
  font-size: 11px;
  white-space: nowrap;
}
.waybill-source > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent, #00bd8b);
}
.waybill-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 19px 0 0;
}
.waybill-meta strong {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.7px;
  color: #c9c9d2;
  font-variant-numeric: tabular-nums;
}
.waybill-country {
  font-size: 10px;
  border: 1px solid #38383e;
  border-radius: 4px;
  color: #a4a4ae;
  padding: 2px 6px;
}
.waybill-count {
  margin-left: auto;
  font-size: 11px;
  color: #858590;
}
.waybill-divider {
  height: 1px;
  background: #2c2c31;
  margin: 24px 0 8px;
}
.waybill-state {
  font-size: 12px;
  color: var(--accent, #00bd8b);
  margin: 16px 0 0;
}
.waybill-events {
  list-style: none;
  margin: 0;
  padding: 0;
}
.waybill-events li {
  position: relative;
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  column-gap: 31px;
  padding: 20px 0;
  line-height: 1.65;
}
.waybill-events li::before {
  content: "";
  position: absolute;
  left: 140px;
  top: 27px;
  width: 7px;
  height: 7px;
  background: #55555e;
  border: 3px solid #19191b;
  box-sizing: content-box;
  border-radius: 50%;
  z-index: 1;
}
.waybill-events li::after {
  content: "";
  position: absolute;
  left: 146px;
  top: 33px;
  width: 1px;
  bottom: -33px;
  background: #33333a;
}
.waybill-events li:last-child::after {
  display: none;
}
.waybill-events time {
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: #a4a4b0;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  padding-top: 1px;
}
.waybill-events time small {
  color: #71717e;
  font-size: 11px;
}
.event-content {
  min-width: 0;
  padding-left: 12px;
}
.event-content p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: #a8a8b4;
  overflow-wrap: anywhere;
}
.event-location {
  display: inline-block;
  font-size: 11px;
  color: #777785;
  margin-top: 5px;
}
.event-latest-label {
  font-size: 9px;
  line-height: 1.5;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--accent, #00bd8b);
  display: block;
  margin-bottom: 5px;
}
.waybill-events li.latest-event::before {
  background: var(--accent, #00bd8b);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent, #00bd8b) 12%, transparent);
}
.latest-event .event-content p {
  color: #ededf1;
  font-weight: 500;
  font-size: 14px;
}
.latest-event time {
  color: #d1d1da;
}
.waybill-carrier {
  margin-top: 16px;
  padding-top: 20px;
  border-top: 1px solid #303036;
}
body.tools-page .waybill-panel h3 {
  color: #e7e7ed;
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 12px;
  text-align: left;
}
.waybill-empty {
  color: #9a9aa6;
  padding: 18px 0;
  line-height: 1.7;
}
.waybill-footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 15px;
  padding-top: 18px;
  border-top: 1px solid #2c2c32;
  font-size: 10px;
  color: #6f6f7d;
}
.waybill-footer strong {
  font-weight: 400;
  color: #92929f;
  margin-left: 6px;
}
.tracker-links {
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  gap: 12px;
}
.tracker-links small {
  color: #666673;
  font-size: 10px;
}
.tracker-links button {
  font-size: 12px;
  padding: 10px 14px;
  border-radius: 8px;
}
.parcel-tracker-main:has(#trackingResult:not([hidden])) .tool-features {
  display: none;
}
@media (max-width: 600px) {
  body.tools-page .waybill-panel {
    padding: 20px 17px;
    border-radius: 12px;
  }
  .waybill-heading {
    gap: 10px;
  }
  body.tools-page .waybill-panel h2 {
    font-size: 20px;
  }
  .waybill-source {
    font-size: 10px;
    padding: 6px 8px;
  }
  .waybill-meta {
    gap: 8px;
  }
  .waybill-count {
    font-size: 10px;
  }
  .waybill-events li {
    grid-template-columns: minmax(0, 1fr);
    padding: 17px 0 17px 23px;
    gap: 7px;
  }
  .waybill-events li::before {
    left: 0;
    top: 24px;
  }
  .waybill-events li::after {
    left: 6px;
    top: 31px;
    bottom: -24px;
  }
  .waybill-events time {
    flex-direction: row;
    align-items: baseline;
    gap: 9px;
    font-size: 11px;
    white-space: normal;
  }
  .waybill-events time small {
    font-size: 10px;
  }
  .event-content {
    padding-left: 0;
  }
  .event-content p,
  .latest-event .event-content p {
    font-size: 12px;
  }
  .event-latest-label {
    font-size: 8px;
  }
  .waybill-footer {
    display: block;
    line-height: 1.8;
  }
  .waybill-footer > span {
    display: block;
  }
  .waybill-footer strong {
    display: block;
    margin-left: 0;
  }
  .waybill-meta strong {
    font-size: 12px;
  }
  .tracker-links {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* QC landing, carousels and product gallery. */
body.tools-page .tool-main.qc-lookup-page {
  max-width: 1280px;
  width: calc(100% - 96px);
  margin: 128px auto 100px;
}
body.tools-page .qc-lookup-page > .tool-heading {
  margin-bottom: 22px;
}
body.tools-page .qc-lookup-page > .tool-heading.center {
  text-align: center;
}
body.tools-page .qc-lookup-page > .tool-heading h1 {
  font-optical-sizing: none;
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Builder Display",
    system-ui, sans-serif;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.8px;
  line-height: 48px;
  text-align: center;
  margin: 0;
}
body.tools-page .qc-lookup-page > .tool-heading p {
  max-width: none;
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 21px;
  color: #8f8f94;
}
.qc-lookup-page [hidden] {
  display: none !important;
}
.qc-lookup-page .qc-search {
  max-width: 820px;
  height: 40px;
  min-height: 40px;
  margin: 0 auto;
  border: 1px solid #252528;
  border-radius: 12px;
  background: #18181b;
}
.qc-search:focus-within {
  border-color: #74747c;
}
.qc-search input {
  padding: 0 8px;
  font-size: 14px;
  min-width: 0;
}
.qc-search > .qc-search-icon {
  flex: 0 0 28px;
  width: 28px;
  margin-left: 12px;
  color: #8f8f94;
}
.qc-search-icon svg {
  width: 20px;
  height: 20px;
}
.qc-search select {
  font-size: 11px;
  color: #aaa;
  background: transparent;
}
.qc-search button {
  flex: 0 0 47px;
  width: 44px;
  padding: 0;
  display: grid;
  place-items: center;
  background: #1d1d20;
  border-left: 1px solid #252528;
}
.qc-search button svg {
  width: 18px;
  height: 18px;
}
.qc-search button:disabled {
  color: #8f8f94;
  cursor: default;
}
.qc-lookup-page > .tool-status {
  font-size: 12px;
  text-align: center;
  margin: 18px 0;
}
.qc-lookup-page > .tool-status:empty {
  display: none;
}
.qc-discovery {
  margin-top: 36px;
}
.qc-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 14px;
}
.qc-section-head h2 {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: normal;
  line-height: 28.5px;
  margin: 0;
}
.qc-section-head h2 span {
  font-size: 12px;
  font-weight: 400;
  color: #8b8b91;
}
.qc-section-head > a {
  font-size: 12px;
  color: #929297;
}
.qc-section-head a:hover {
  color: #eee;
}
.qc-carousel {
  position: relative;
}
.qc-lookup-page .qc-card-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 220px;
  grid-template-columns: none;
  gap: 10px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 0;
}
.qc-card-row::-webkit-scrollbar {
  display: none;
}
.qc-scroll {
  position: absolute;
  z-index: 3;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  padding: 8px;
  display: grid;
  place-items: center;
  border: 1px solid #ececee;
  border-radius: 50%;
  background: #18181bcc;
  backdrop-filter: blur(6px);
  color: #eee;
  font-size: 25px;
  cursor: pointer;
}
.qc-scroll.previous {
  left: 0;
}
.qc-scroll.next {
  right: 0;
}
.qc-scroll svg {
  width: 20px;
  height: 20px;
}
.qc-scroll:disabled {
  opacity: 0;
  pointer-events: none;
}
.qc-lookup-page .qc-tile {
  position: relative;
  display: block;
  width: 100% !important;
  min-width: 0 !important;
  aspect-ratio: 3/4;
  overflow: hidden;
  border: 1px solid #252528;
  border-radius: 12px;
  background: #18181b;
  scroll-snap-align: start;
  isolation: isolate;
  color: white;
  transition: border-color 0.15s ease;
}
.qc-lookup-page .qc-tile:hover {
  border-color: #7c7c84;
}
.qc-tile:focus-visible,
.qc-scroll:focus-visible,
.qc-photo:focus-visible {
  outline: 2px solid var(--accent, #00bd8b);
  outline-offset: 3px;
}
.qc-lookup-page .qc-tile > .qc-card-image {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #1c1c1e;
}
.qc-card-caption {
  position: absolute;
  inset: auto 0 0;
  padding: 44px 12px 12px;
  background: linear-gradient(to top, #000c, transparent);
}
.qc-lookup-page .qc-card-caption strong {
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: 2.9em;
  color: #fafafa;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}
.qc-card-caption small {
  display: block;
  font:
    700 14px/21px ui-monospace,
    "SF Mono",
    SFMono-Regular,
    Menlo,
    Consolas,
    "Liberation Mono",
    monospace;
  color: #fff;
  margin-top: 4px;
}
.qc-card-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  line-height: 16.5px;
  border: 0;
  border-radius: 20px;
  background: #0009;
  backdrop-filter: blur(8px);
  padding: 4px 8px;
}
.qc-card-badge svg {
  width: 12px;
  height: 12px;
}
.qc-card-count {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  align-items: center;
  gap: 2px;
  background: #0009;
  border: 0;
  border-radius: 999px;
  padding: 2px 8px 2px 2px;
  backdrop-filter: blur(8px);
  font-size: 11px;
  line-height: 11px;
  min-height: 24px;
}
.qc-card-count > img {
  width: 20px;
  height: 20px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid #ffffff4d;
  margin-right: -6px;
}
.qc-card-count > span {
  padding-left: 6px;
}
.qc-all-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
.qc-load-more {
  display: block;
  border: 1px solid #343438;
  border-radius: 8px;
  background: #1b1b1e;
  color: #bbb;
  font-size: 12px;
  padding: 11px 20px;
  margin: 26px auto 0;
  cursor: pointer;
}
.qc-load-more:disabled {
  color: #777;
}
.qc-feed-note {
  text-align: center;
  color: #888;
  font-size: 12px;
}
.qc-skeletons {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.qc-skeletons i {
  aspect-ratio: 3/4;
  border: 1px solid #29292d;
  border-radius: 11px;
  background: linear-gradient(110deg, #19191b 30%, #252528 45%, #19191b 60%);
  background-size: 250% 100%;
  animation: qc-loading 1.5s infinite;
}
.qc-empty {
  text-align: center;
  padding: 50px 20px;
  margin-top: 40px;
  border: 1px solid #29292c;
  border-radius: 12px;
}
.qc-empty h2,
.qc-empty h3 {
  font-size: 17px;
  font-weight: 500;
}
.qc-empty p {
  font-size: 12px;
  color: #929299;
  line-height: 1.7;
}
body.tools-page .tool-main.qc-product-mode {
  margin-top: 128px;
}
.qc-product-mode .qc-search {
  max-width: none;
  margin-bottom: 32px;
}
.qc-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #8f8f94;
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 16px;
}
.qc-back svg {
  width: 24px;
  height: 24px;
}
.qc-product-summary {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 40px;
  margin-bottom: 20px;
  align-items: start;
}
.qc-product-gallery {
  min-width: 0;
}
.qc-product-zoom {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.qc-product-zoom:disabled {
  cursor: default;
  opacity: 1;
}
.qc-thumb-unavailable {
  display: grid;
  place-items: center;
  position: absolute;
  inset: 0;
  color: #8f8f94;
  font-size: 9px;
  padding: 3px;
}
.qc-product-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  border: 1px solid #29292d;
  border-radius: 12px;
  background: #1c1c1e;
}
.qc-tile-placeholder {
  display: grid;
  place-items: center;
  color: #6b6b73;
  font-size: 14px;
  text-align: center;
  padding: 20px;
}
.qc-product-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 24px;
  padding: 12px;
  background: #18181b;
  border: 1px solid #252528;
  border-radius: 12px;
}
.qc-product-thumbs button {
  position: relative;
  padding: 0;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  background: #202023;
  border: 1px solid #36363b;
  border-radius: 8px;
  overflow: hidden;
  color: #ddd;
  cursor: pointer;
}
.qc-product-thumbs button[aria-pressed="true"] {
  border-color: #ddd;
}
.qc-product-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.qc-product-thumb-more {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: #0009;
  color: white;
  font-size: 14px;
  font-weight: 600;
}
.qc-eyebrow {
  font-size: 14px;
  line-height: 20px;
  color: #8f8f94;
  margin: 0 0 12px;
  text-transform: capitalize;
}
.qc-product-copy h2 {
  font-size: 24px;
  font-weight: 700;
  line-height: 30px;
  letter-spacing: -1.2px;
  margin: 0 0 20px;
  overflow-wrap: anywhere;
}
.qc-product-price {
  font-size: 24px;
  font-weight: 600;
  font-family:
    ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  line-height: 32px;
  color: #ececee;
  margin: 18px 0 16px;
}
.qc-product-price.qc-price-unavailable {
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: #8f8f94;
}
.qc-purchase-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.qc-agent-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  position: relative;
  background: #ececee;
  border-radius: 8px;
}
.qc-agent-links:has(.qc-agent-picker) > a {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.qc-agent-links img {
  object-fit: contain;
  border-radius: 2px;
}
.qc-agent-picker summary {
  display: grid;
  place-items: center;
  width: 31px;
  height: 38px;
  padding: 0;
  border: 0;
  border-left: 1px solid #ffffff33;
  border-radius: 0 8px 8px 0;
  background: #ececee;
  color: #111112;
  list-style: none;
  cursor: pointer;
}
.qc-agent-picker summary::-webkit-details-marker {
  display: none;
}
.qc-agent-picker summary svg {
  width: 14px;
  height: 14px;
}
.qc-agent-picker > div {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 10;
  display: grid;
  min-width: 180px;
  padding: 4px;
  border: 1px solid #252528;
  border-radius: 8px;
  background: #18181b;
  box-shadow: 0 6px 20px #0005;
}
.qc-agent-picker button {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #ececee;
  padding: 8px 12px;
  font-size: 14px;
  line-height: 20px;
  text-align: left;
  cursor: pointer;
}
.qc-agent-picker button:hover,
.qc-agent-picker button[aria-pressed="true"] {
  background: #252528;
}
.qc-agent-links a {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  padding: 9px 14px;
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  background: #18181b;
  color: #ececee;
}
.qc-agent-links .primary {
  background: #ececee;
  color: #111112;
}
.qc-agent-links a span {
  font-size: inherit;
}
.qc-product-actions {
  display: contents;
}
.qc-cart-destination {
  display: inline-flex;
  white-space: nowrap;
}
body.redesign .qc-product-actions button {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #252528;
  background: #18181b;
  color: #8f8f94;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  cursor: pointer;
}
.qc-product-actions button[aria-pressed="true"] {
  color: var(--accent, #00bd8b);
}
.qc-product-actions button svg {
  width: 16px;
  height: 16px;
}
.qc-product-actions [data-share-qc],
.qc-product-actions [data-qc-cart] {
  padding: 9px;
  width: 40px;
  height: 40px;
  justify-content: center;
}
.qc-product-actions [data-share-qc] svg {
  width: 16px;
  height: 16px;
}
.qc-product-options {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin: 0;
  padding-bottom: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  cursor: grab;
}
.qc-product-options::-webkit-scrollbar {
  display: none;
}
.qc-product-copy {
  min-width: 0;
  font-family:
    ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
    "Noto Color Emoji";
}
.qc-product-copy button,
.qc-product-copy a {
  font-family: inherit;
}
.qc-variant-controls {
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
}
.qc-product-options span {
  border: 1px solid #303035;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 12px;
  color: #bbb;
}
.qc-description {
  margin-top: 20px;
  font-family:
    ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
    "Noto Color Emoji";
}
.qc-description summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 17px 0;
  list-style: none;
  cursor: pointer;
}
.qc-description summary::-webkit-details-marker {
  display: none;
}
.qc-description summary h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
  letter-spacing: -0.5px;
}
.qc-description summary svg {
  width: 20px;
  height: 20px;
}
.qc-description[open] summary svg {
  transform: rotate(180deg);
}
.qc-description p {
  margin: 0 0 8px;
  font-size: 14px;
  color: #8f8f94;
  line-height: 1.625;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.qc-description-content img {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  object-fit: contain;
  margin: 0 auto 8px;
  border-radius: 8px;
}
.qc-results {
  margin-top: 30px;
}
.qc-source-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.qc-source-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #303034;
  background: #19191b;
  border-radius: 7px;
  padding: 9px 11px;
  font-size: 11px;
  cursor: pointer;
}
.qc-source-chip input {
  accent-color: var(--accent, #00bd8b);
  width: 13px;
  height: 13px;
  margin: 0;
}
.qc-source-chip small {
  font-size: 10px;
  color: #777780;
}
.qc-source-chip.selected {
  border-color: #51515a;
}
.qc-source-chip[data-state="available"] small {
  color: var(--accent, #00bd8b);
}
.qc-photo-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
.qc-photo {
  display: block;
  position: relative;
  padding: 0;
  overflow: hidden;
  border: 1px solid #303034;
  border-radius: 10px;
  background: #1c1c1e;
  text-align: left;
  cursor: zoom-in;
  min-width: 0;
}
.qc-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  background: #202023;
}
.qc-photo span {
  position: absolute;
  inset: auto 0 0;
  font-size: 10px;
  color: #eee;
  padding: 26px 10px 10px;
  background: linear-gradient(transparent, #111c);
  overflow-wrap: anywhere;
}
.qc-photo:hover {
  border-color: #999;
}
.qc-viewer {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #111112f2;
  color: #ececee;
  border: 0;
  border-radius: 0;
  backdrop-filter: blur(12px);
}
.qc-viewer[open] {
  display: flex;
  flex-direction: column;
}
.qc-viewer::backdrop {
  background: #111112e6;
}
.qc-viewer-head {
  position: absolute;
  inset: 16px 16px auto;
  z-index: 3;
  pointer-events: none;
}
#qcPhotoLabel {
  display: inline-block;
  max-width: calc(100% - 200px);
  padding: 6px 10px;
  background: #111b;
  border-radius: 8px;
  font-size: 12px;
}
body.redesign .qc-viewer-head button {
  position: absolute;
  right: 0;
  top: 0;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #ececee1a;
  color: #ececee;
  font-size: 28px;
  cursor: pointer;
  pointer-events: auto;
}
.qc-viewer-image {
  position: relative;
  flex: 1;
  min-height: 0;
  padding: 16px;
  overflow: hidden;
}
.qc-viewer-canvas {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  touch-action: none;
}
.qc-viewer-canvas img {
  width: 90vw;
  height: 85vh;
  max-width: none;
  max-height: none;
  object-fit: contain;
  user-select: none;
  transform-origin: center;
}
body.redesign .qc-viewer-image > button {
  position: absolute;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 1px solid #ececee33;
  border-radius: 50%;
  background: #111a;
  color: #eee;
  font-size: 26px;
  cursor: pointer;
}
.qc-viewer-image > button:first-child {
  left: 16px;
}
.qc-viewer-image > button[data-photo-step="1"] {
  right: 16px;
}
.qc-viewer-controls {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #111c;
  z-index: 2;
}
body.redesign .qc-viewer-controls button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #eee;
  font-size: 22px;
  cursor: pointer;
}
.qc-viewer-controls output {
  width: 48px;
  text-align: center;
  color: #aaa;
  font-size: 12px;
}
.qc-viewer-controls button:hover {
  background: #ececee1a;
}
.qc-viewer-thumbs {
  flex: 0 0 96px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-top: 1px solid #252528;
  overflow-x: auto;
  scrollbar-width: thin;
}
.qc-viewer-thumbs button {
  flex: 0 0 80px;
  width: 80px;
  height: 80px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: #18181b;
  cursor: pointer;
  opacity: 0.55;
}
.qc-viewer-thumbs button:first-child {
  margin-left: auto;
}
.qc-viewer-thumbs button:last-child {
  margin-right: auto;
}
.qc-viewer-thumbs button[aria-pressed="true"] {
  border-color: #ececee;
  opacity: 1;
}
.qc-viewer-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.qc-viewer .tool-button {
  position: absolute;
  top: 16px;
  right: 72px;
  margin: 0;
  font-size: 12px;
  background: #111a;
  z-index: 3;
}
.qc-search-matches {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin-top: 30px;
}
.qc-search-matches > a {
  display: grid;
  gap: 10px;
  border: 1px solid #303034;
  border-radius: 10px;
  padding: 12px;
  font-size: 12px;
}
.qc-search-matches img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 8px;
}
.qc-search-matches small {
  color: #999;
}
@keyframes qc-loading {
  to {
    background-position: -150% 0;
  }
}
@media (max-width: 1050px) {
  .qc-all-grid,
  .qc-skeletons {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .qc-product-copy h2 {
    font-size: 24px;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  body.tools-page .tool-main.qc-lookup-page {
    width: calc(100% - 80px);
  }
}
@media (max-width: 767px) {
  body.tools-page.redesign .tool-main.qc-lookup-page {
    width: calc(100% - 28px);
    margin-top: 50px;
  }
  body.tools-page.redesign .tool-main.qc-product-mode {
    margin-top: 50px;
  }
  .qc-search {
    width: 100%;
  }
  .qc-search input {
    font-size: 16px;
  }
  .qc-section-head > a {
    font-size: 11px;
  }
  .qc-lookup-page .qc-card-row {
    grid-auto-columns: 200px;
    gap: 10px;
  }
  .qc-all-grid,
  .qc-skeletons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .qc-product-summary {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 20px;
  }
  .qc-product-gallery {
    max-width: none;
    width: 100%;
    margin: auto;
  }
  .qc-product-copy h2 {
    font-size: 24px;
    margin-bottom: 20px;
  }
  .qc-source-filters {
    gap: 6px;
  }
  .qc-source-chip {
    padding: 9px 8px;
    gap: 6px;
  }
  .qc-source-chip small {
    font-size: 9px;
  }
  .qc-search-matches {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .qc-photo-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 639px) {
  .qc-photo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .qc-product-summary {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .qc-skeletons i {
    animation: none;
  }
  .qc-tile {
    transition: none;
  }
}
.qc-product-options button {
  padding: 6px 12px;
  display: grid;
  place-items: center;
  width: auto;
  flex: 0 0 auto;
  height: 32px;
  white-space: nowrap;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: #ececee;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  cursor: pointer;
}
.qc-product-options button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.qc-product-options button:hover {
  border-color: rgba(255, 255, 255, 0.4);
}
.qc-product-options button[aria-pressed="true"] {
  border-color: #ececee;
}
.qc-color-options button {
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 8px;
}
.qc-color-options button[aria-pressed="true"] {
  outline: 2px solid #ececee;
  outline-offset: -2px;
}
.qc-color-options button span {
  padding: 3px;
  font-size: 10px;
  line-height: 12px;
  white-space: normal;
  overflow-wrap: anywhere;
}
.qc-product-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  border: 1px solid #252528;
  border-radius: 12px;
  background: #18181b;
  margin: 18px 0 0;
  padding: 14px;
}
.qc-product-metrics > div {
  min-width: 0;
}
.qc-product-metrics dt {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
  font-size: 12px;
  color: #8f8f94;
  line-height: 16px;
}
.qc-product-metrics dt svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.7;
}
.qc-product-metrics dd {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  color: #ececee;
}
@media (max-width: 639px) {
  .qc-product-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.qc-saved-toolbar {
  display: flex;
  justify-content: flex-end;
  margin: 24px 0 16px;
}
.public-recommendations {
  margin-top: 48px;
}
.public-recommendations[aria-busy="true"] {
  min-height: 780px;
}
.recommendation-section {
  margin-bottom: 48px;
}
.recommendation-section:last-child {
  margin-bottom: 0;
}
.recommendation-section .section-heading {
  margin-bottom: 20px;
  gap: 8px;
  justify-content: flex-start;
}
.recommendation-section .section-heading > a { margin-left: auto; }
.recommendation-icon { width: 24px; height: 24px; flex: 0 0 24px; }
.public-recommendations .sheet-poster { aspect-ratio: 4/5; align-self: start; }
.recommendation-section .section-heading h2 {
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
  letter-spacing: -0.5px;
}
.recommendation-photo-missing {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 80px;
  font-size: 12px;
  color: #8f8f94;
}
.public-recommendations .price {
  font-family:
    ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}
body.redesign .public-recommendations .product-card {
  content-visibility: visible;
  contain-intrinsic-size: none;
  min-height: 0;
}
body.redesign .public-recommendations .product-media {
  margin: 0;
}
.public-recommendations .public-rail {
  grid-auto-columns: 218px;
  gap: 16px;
}
body.redesign .public-recommendations .card-view {
  font-size: 12.5px;
  font-weight: 500;
}
@media (max-width: 767px) {
  .public-recommendations .public-rail { grid-auto-columns: 200px; }
}
@media (max-width: 639px) {
  .public-recommendations .public-rail { grid-auto-columns: 176px; }
}
.recommendation-status {
  margin: 0;
  font-size: 14px;
  color: #8f8f94;
}
.qc-saved-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #303034;
}
.qc-saved-row a {
  overflow-wrap: anywhere;
  min-width: 0;
}
.qc-saved-row button {
  flex: none;
}
#qcSavedList {
  padding: 16px;
  border: 1px solid #303034;
  border-radius: 12px;
  margin-bottom: 24px;
}

.qc-photo-unavailable {
  position: relative;
  min-height: 160px;
}
.qc-photo-error {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  color: #aaaab5;
  font-size: 12px;
  pointer-events: none;
}
