:root {
  color-scheme: light;
  --ink: #15231d;
  --muted: #65736d;
  --line: #dce5e0;
  --mint: #e6f6f2;
  --green: #5bbfab;
  --deep: #246e60;
  --cream: #f7f6f0;
  font-family: "DM Sans", "Noto Sans KR", Arial, "Apple SD Gothic Neo", sans-serif;
  background: #fbfcfa;
  color: var(--ink);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

button,
input,
select {
  font: inherit;
}

button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.shell {
  min-height: 100vh;
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid rgba(220, 229, 224, 0.85);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  padding: 14px 24px;
}

.app-header div {
  display: flex;
  align-items: baseline;
  gap: 12px;
  min-width: 0;
}

.app-header .factory-header-brand {
  align-items: center;
}

.app-header .factory-header-brand .hero-brand-button {
  border: 0;
  min-height: auto;
  padding: 0;
}

.app-header .header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.app-header strong {
  font-size: 18px;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 9px;
  letter-spacing: -0.5px;
}

.brand-mark span {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 9px 2px 9px 2px;
  background: var(--green);
  color: #ffffff;
  font-size: 16px;
}

.app-header span {
  color: #65717f;
  font-size: 14px;
}

.public-nav {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: 32px;
}

.public-nav a {
  color: #43504a;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.public-nav a:hover {
  color: var(--green);
}

.app-header button,
.auth-tabs button,
.auth-form button,
.company-form button,
.crawl-form button,
.candidate-toolbar button,
.admin-product-actions button {
  border: 1px solid #c7d0da;
  border-radius: 6px;
  background: #ffffff;
  color: #24313f;
  cursor: pointer;
  min-height: 40px;
  padding: 0 16px;
  text-decoration: none;
}

.app-header .header-actions button {
  border-radius: 10px;
  width: 96px;
  min-width: 96px;
  min-height: 40px;
  padding: 10px 15px;
  font-size: 13px;
  font-weight: 700;
}

.app-header .header-actions button:nth-child(2) {
  border-color: var(--green);
  background: var(--green) !important;
  color: #ffffff !important;
  font-weight: 700;
}

.auth-shell,
.factory-shell {
  display: grid;
  min-height: calc(100vh - 65px);
  place-items: start center;
  padding: 42px 24px;
}

.auth-shell {
  position: fixed;
  inset: 0;
  z-index: 60;
  min-height: auto;
  overflow: auto;
  background: rgba(253, 255, 254, 0.97);
  backdrop-filter: blur(18px);
}

.factory-shell {
  gap: 16px;
}

.auth-card,
.factory-panel {
  width: min(100%, 560px);
  border: 1px solid #d8dee6;
  border-radius: 8px;
  background: #ffffff;
  padding: 20px;
}

.auth-card {
  position: relative;
  box-shadow: 0 24px 70px rgba(29, 64, 49, 0.13);
}

.auth-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #ffffff;
  color: #65736d;
  font-size: 18px;
  line-height: 1;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 18px;
}

.auth-tabs button.active,
.auth-form button {
  border-color: var(--green);
  background: var(--green);
  color: #ffffff;
}

.auth-form {
  display: grid;
  gap: 12px;
}

.auth-form h1,
.factory-panel h1 {
  margin: 0 0 4px;
  font-size: 20px;
}

.auth-form label {
  display: grid;
  gap: 6px;
  color: #415162;
  font-size: 14px;
}

.auth-form input,
.auth-form select {
  min-height: 42px;
  border: 1px solid #c7d0da;
  border-radius: 6px;
  background: #ffffff;
  padding: 0 12px;
}

.password-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px;
  gap: 8px;
}

.password-field input {
  min-width: 0;
  width: 100%;
}

.auth-form .password-toggle {
  padding: 0 8px;
  background: #ffffff;
  color: var(--green);
  font-size: 14px;
}

.auth-form small {
  color: #65717f;
  font-size: 12px;
}

.verification-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 10px;
}

.verification-row label {
  min-width: 0;
}

.verification-row button {
  min-height: 42px;
  white-space: nowrap;
}

.verification-message {
  margin: -4px 0 0;
  color: var(--green);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.terms-row {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: flex-start;
  gap: 10px !important;
}

.terms-row input {
  min-height: auto;
  margin-top: 3px;
}

.auth-message {
  margin: 14px 0 0;
  color: #c24136;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.auth-message.success {
  color: var(--green);
}

.auth-message.error {
  color: #c24136;
}

.auth-help-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.auth-help-actions button {
  min-height: 34px;
  border: 0;
  background: transparent;
  color: #53606b;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.auth-help-actions button:hover {
  color: var(--green);
}

.account-results {
  display: grid;
  gap: 6px;
  border: 1px solid #dce8e1;
  border-radius: 8px;
  background: #f8fbf8;
  padding: 14px;
  color: #14281c;
}

.account-results p {
  margin: 0;
  color: #53606b;
  font-weight: 700;
}

.reset-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--green);
  border-radius: 6px;
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
}

.factory-panel {
  display: grid;
  gap: 18px;
  width: min(100%, 1180px);
}

.factory-panel p {
  margin: 6px 0 0;
  color: #65717f;
}

.company-form button,
.crawl-form button,
.candidate-toolbar button,
.admin-product-actions button:first-child {
  border-color: var(--green);
  background: var(--green);
  color: #ffffff;
}

.company-form {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(260px, 1.4fr) minmax(180px, 0.55fr);
  align-items: end;
  gap: 10px;
}

.company-form button {
  grid-column: 3;
  align-self: end;
  justify-self: end;
  width: auto;
  height: 38px;
  min-height: 38px;
  min-width: 170px;
  padding: 0 24px;
}

.company-form label,
.crawl-form label,
.admin-fields label {
  display: grid;
  gap: 6px;
  color: #415162;
  font-size: 13px;
}

.company-form input,
.crawl-form input,
.admin-fields input {
  min-height: 38px;
  border: 1px solid #c7d0da;
  border-radius: 6px;
  background: #ffffff;
  padding: 0 10px;
}

.crawl-form input[readonly] {
  color: #65717f;
  background: #f4f6f8;
}

.admin-message {
  margin: 0;
  color: #415162;
  overflow-wrap: anywhere;
}

.company-saved-card {
  display: grid;
  gap: 12px;
  border: 1px solid #d8e3dd;
  border-radius: 8px;
  background: #f8fbf8;
  padding: 14px;
}

.company-saved-card > strong {
  color: #10251b;
  font-size: 16px;
}

.company-saved-card dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.company-saved-card div {
  min-width: 0;
}

.company-saved-card dt {
  margin-bottom: 4px;
  color: #65717f;
  font-size: 12px;
  font-weight: 700;
}

.company-saved-card dd {
  margin: 0;
  color: #17251f;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.billing-panel {
  display: grid;
  gap: 16px;
  width: min(100%, 1180px);
  border: 1px solid #d8dee6;
  border-radius: 8px;
  background: #ffffff;
  padding: 18px;
}

.billing-panel .admin-products-head {
  margin-bottom: 0;
}

.billing-panel .admin-products-head p {
  margin: 4px 0 0;
  color: #65717f;
  font-size: 13px;
}

.billing-status {
  border: 1px solid #cfdad4;
  border-radius: 999px;
  padding: 6px 10px;
  color: #65717f;
  font-size: 12px;
  font-weight: 800;
}

.billing-status.active {
  border-color: var(--green);
  color: var(--green);
}

.billing-status.pending {
  border-color: #b69a55;
  color: #80661f;
}

.billing-usage {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #e3e8ef;
  border-bottom: 1px solid #e3e8ef;
  padding: 12px 0;
}

.billing-usage strong {
  color: #10251b;
}

.billing-usage span {
  color: #65717f;
  font-size: 13px;
}

.billing-period {
  display: grid;
  gap: 8px;
  border: 1px solid #cfe0d7;
  border-radius: 8px;
  background: #f5faf7;
  padding: 12px 14px;
}

.billing-period-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.billing-period span {
  color: #65717f;
  font-size: 13px;
  font-weight: 700;
}

.billing-period strong {
  color: var(--green);
}

.billing-expiry-warning {
  color: #c43d32;
  font-size: 13px;
  font-weight: 800;
  text-align: right;
}

.billing-plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.billing-plan {
  display: grid;
  gap: 8px;
  min-width: 0;
  border: 1px solid #d8dee6;
  border-radius: 8px;
  padding: 14px;
}

.billing-plan.selected {
  border-color: var(--green);
  background: #f5faf7;
}

.billing-plan > span,
.billing-plan > small {
  color: #65717f;
}

.billing-plan > strong {
  color: #10251b;
  font-size: 18px;
}

.billing-plan button {
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  background: var(--green);
  color: #ffffff;
  box-shadow: none;
  font-weight: 700;
}

.billing-plan button:disabled {
  cursor: default;
  opacity: 0.6;
}

.billing-duration {
  display: grid;
  grid-template-columns: auto minmax(120px, 180px) 1fr auto;
  align-items: center;
  gap: 12px;
  border: 1px solid #cfe0d7;
  border-radius: 8px;
  background: #f5faf7;
  padding: 12px 14px;
}

.billing-duration label,
.billing-duration strong {
  color: #10251b;
}

.billing-duration select {
  min-height: 42px;
  border: 1px solid #bdcec5;
  border-radius: 6px;
  background: #fff;
  padding: 0 12px;
  font: inherit;
}

.billing-duration strong {
  justify-self: end;
  color: #65717f;
  font-size: 13px;
}

.billing-duration-actions {
  display: flex;
  gap: 8px;
}

.billing-duration-actions button {
  min-height: 42px;
  border: 1px solid var(--green);
  border-radius: 6px;
  background: var(--green);
  padding: 0 18px;
  color: #fff;
  font: inherit;
  font-weight: 800;
}

.billing-duration-actions .secondary-button {
  background: #fff;
  color: var(--green);
}

.deposit-guide {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  border: 1px solid #ddd4b7;
  border-radius: 8px;
  background: #fbfaf5;
  padding: 12px 14px;
  color: #574b2e;
}

.deposit-guide small {
  flex-basis: 100%;
  color: #786b4d;
}

.deposit-guide .deposit-deadline {
  color: #b33b30;
  font-weight: 800;
}

.admin-products {
  width: min(100%, 1180px);
  border: 1px solid #d8dee6;
  border-radius: 8px;
  background: #ffffff;
  padding: 18px;
}

.admin-products-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.admin-products-head h1 {
  font-size: 20px;
}

.admin-products-head span {
  color: #65717f;
}

.crawl-panel {
  display: grid;
  gap: 14px;
}

.crawl-form {
  display: grid;
  grid-template-columns: minmax(260px, 1.6fr) repeat(3, minmax(110px, 0.5fr));
  align-items: end;
  gap: 10px;
}

.crawl-label-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.crawl-label-line small {
  color: #65717f;
  font-weight: 500;
}

.direct-product-form {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  align-items: end;
  gap: 10px;
}

.direct-product-form label {
  display: grid;
  gap: 6px;
  color: #405064;
  font-weight: 700;
}

.direct-product-form textarea {
  min-height: 132px;
  border: 1px solid #c7d0da;
  border-radius: 6px;
  padding: 10px;
  resize: vertical;
  font: inherit;
}

.direct-product-form button {
  min-height: 38px;
  border: 1px solid var(--green);
  border-radius: 6px;
  background: var(--green);
  color: white;
  padding: 0 24px;
  font-weight: 800;
}

.crawl-form button {
  grid-column: 1 / -1;
  justify-self: end;
  width: auto;
  min-width: 170px;
  padding: 0 24px;
}

.candidate-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #e3e8ef;
  padding-top: 14px;
}

.candidate-select-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 700;
}

.candidate-select-all input {
  width: 24px;
  height: 24px;
  margin: 0;
  cursor: pointer;
}

.candidate-toolbar > button {
  margin-left: auto;
}

.candidate-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 12px;
}

.candidate-card {
  display: grid;
  grid-template-columns: 50px 116px 1fr;
  gap: 12px;
  align-items: center;
  border: 1px solid #d8dee6;
  border-radius: 8px;
  background: #ffffff;
  padding: 10px;
}

.candidate-check {
  display: grid;
  justify-items: center;
  gap: 8px;
  color: #415162;
  font-weight: 700;
}

.candidate-check input {
  width: 24px;
  height: 24px;
}

.candidate-thumb {
  display: block;
  width: 116px;
  height: 116px;
  border: 1px solid #d8dee6;
  border-radius: 6px;
  background: #ffffff;
}

.candidate-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

.candidate-info {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.candidate-info strong,
.candidate-info a {
  overflow-wrap: anywhere;
}

.candidate-info span {
  color: #65717f;
}

.candidate-info a {
  color: var(--green);
  font-size: 13px;
}

.admin-product-card {
  display: grid;
  grid-template-columns: 156px 1fr;
  gap: 14px;
  border-top: 1px solid #e3e8ef;
  padding: 14px 0;
}

.admin-thumb {
  display: block;
  width: 156px;
  height: 156px;
  border: 1px solid #d8dee6;
  border-radius: 6px;
  background: #ffffff;
}

.admin-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.admin-product-main {
  min-width: 0;
}

.admin-product-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.admin-product-title strong {
  overflow-wrap: anywhere;
}

.admin-product-title span {
  border: 1px solid #a4dfd3;
  border-radius: 999px;
  color: #246e60;
  background: #e6f6f2;
  padding: 4px 10px;
  white-space: nowrap;
}

.admin-product-title span.hidden {
  border-color: #ffd6a8;
  color: #8a4b00;
  background: #fff7ed;
}

.admin-url {
  display: block;
  color: var(--green);
  font-size: 13px;
  overflow-wrap: anywhere;
  margin-bottom: 10px;
}

.admin-fields {
  display: grid;
  grid-template-columns: repeat(5, minmax(110px, 1fr));
  gap: 8px;
}

.admin-product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.admin-product-actions .danger {
  border-color: #d92d20;
  color: #d92d20;
}

.company-product-pagination {
  margin-top: 18px;
  border-top: 1px solid #e3e8ef;
  padding-top: 18px;
}

.public-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(420px, 570px) minmax(420px, 620px);
  justify-content: center;
  align-items: center;
  gap: 40px;
  min-height: 680px;
  overflow: hidden;
  background: linear-gradient(120deg, #eef7f0 0%, #f9f7ef 64%);
  padding: 138px 34px 74px;
}

.hero-top-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 76px;
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 56px;
  padding: 0 max(24px, calc((100vw - 1240px) / 2 + 24px));
  background: #fff;
  z-index: 30;
}

.hero-top-nav button {
  font: inherit;
}

.hero-brand-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  justify-self: start;
  border: 0;
  background: transparent;
  color: #10231b;
  cursor: pointer;
  padding: 0;
}

.hero-brand-button span {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 9px 2px 9px 2px;
  background: var(--green);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.hero-brand-button strong {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.hero-nav-links,
.hero-nav-actions {
  display: flex;
  align-items: center;
}

.hero-nav-links {
  justify-content: flex-start;
  gap: 34px;
}

.hero-nav-actions {
  justify-self: end;
  justify-content: flex-end;
  gap: 10px;
}

.hero-nav-actions .hero-user-label {
  color: #657067;
  font-size: clamp(13px, 1.1vw, 15px);
  font-weight: 700;
  white-space: nowrap;
}

.hero-nav-links button,
.hero-nav-actions button {
  border: 0;
  background: transparent;
  color: #394841;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  padding: 10px 12px;
  -webkit-tap-highlight-color: transparent;
}

.hero-nav-links button:hover,
.hero-nav-actions .plain:hover {
  color: var(--green);
}

.hero-nav-actions .filled,
.hero-nav-actions .outline {
  border-radius: 10px;
  padding: 10px 15px;
}

.hero-nav-actions .filled {
  background: var(--green);
  color: #fff;
}

.hero-nav-actions .outline {
  border: 1px solid #c8d6cf;
  background: #fff;
  color: #33443c;
}

.hero-nav-actions .logout-plain {
  border: 0;
  background: transparent;
}

.hero-nav-actions .seller-dashboard-link {
  border: 1px solid #c8d3dd;
  border-radius: 10px;
  background: #ffffff;
  color: #24313f;
  padding: 10px 15px;
}

.hero-nav-actions .seller-dashboard-link:hover {
  border-color: var(--green);
  color: var(--green);
}

.hero-top-nav button:focus-visible,
.upload-zone:focus-within,
.query-wrap textarea:focus-visible,
.search-button:focus-visible {
  outline: 3px solid rgba(91, 191, 171, 0.3);
  outline-offset: 3px;
}

.eyebrow,
.section-kicker {
  color: var(--green);
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 700;
}

.pulse {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: #5bbfab;
  box-shadow: 0 0 0 5px rgba(91, 191, 171, 0.14);
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.public-hero h1 {
  margin: 20px 0 18px;
  font-size: clamp(34px, 3.7vw, 48px);
  font-weight: 740;
  line-height: 1.13;
  letter-spacing: -1px;
}

.public-hero h1 em {
  color: var(--green);
  font-style: normal;
}

.hero-description {
  max-width: 520px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.8;
}

.finder-card {
  max-width: 570px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 50px rgba(29, 64, 49, 0.12);
  padding: 12px;
}

.upload-zone {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 85px;
  overflow: hidden;
  border: 1px dashed #9db8aa;
  border-radius: 12px;
  background: #f8fcf9;
  cursor: pointer;
  padding: 14px 18px;
}

.upload-zone input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.upload-zone.has-image {
  border-style: solid;
  border-color: #5bbfab;
  background: #e6f6f2;
}

.upload-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--mint);
  color: #6f7c76;
  font-size: 24px;
  font-weight: 700;
}

.upload-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.upload-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.upload-copy strong {
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upload-copy small {
  color: #8a9690;
  font-size: 11px;
}

.upload-zone img {
  position: absolute;
  top: 7px;
  right: 8px;
  width: 70px;
  height: 70px;
  border-radius: 9px;
  object-fit: cover;
}

.remove-upload-image {
  position: absolute;
  z-index: 2;
  top: 3px;
  right: 3px;
  display: grid;
  width: 22px;
  height: 22px;
  min-width: 22px;
  padding: 0;
  place-items: center;
  border: 1px solid #d7dfda;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 7px rgba(19, 39, 30, 0.16);
  color: #495650;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.remove-upload-image:hover {
  border-color: #c63f33;
  color: #c63f33;
}

.remove-upload-image:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.query-wrap {
  display: flex;
  gap: 10px;
  padding-top: 10px;
}

.query-wrap textarea {
  flex: 1;
  resize: none;
  border: 0;
  border-radius: 11px;
  outline: 0;
  background: #f4f6f4;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  line-height: 1.5;
  padding: 15px;
}

.search-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 11px;
  background: var(--green);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  padding: 0 20px;
  white-space: nowrap;
}

.search-button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.search-button:disabled {
  opacity: 0.68;
  cursor: wait;
}

.quick-prompts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 10px 3px 0;
}

.quick-prompts span {
  margin-right: 3px;
  color: #8c9892;
  font-size: 10px;
}

.quick-prompts button {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #ffffff;
  color: #627068;
  font-size: 10px;
  padding: 6px 9px;
}

.search-status {
  min-height: 17px;
  margin: 10px 3px 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.search-status.error {
  color: #b45548;
  font-weight: 700;
}

.trust-row {
  display: flex;
  gap: 24px;
  margin-top: 24px;
  color: #7c8983;
  font-size: 11px;
}

.trust-row span + span {
  border-left: 1px solid #cbd6d0;
  padding-left: 24px;
}

.trust-row b {
  color: var(--ink);
  margin-right: 4px;
}

.hero-visual {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.packaging-hero-image {
  flex: none;
  width: min(680px, 115%);
  max-width: none;
  max-height: 600px;
  height: auto;
  object-fit: cover;
  mix-blend-mode: multiply;
  border-radius: 48% 48% 24px 24px;
}


.floating-card {
  position: absolute;
  z-index: 3;
  border: 1px solid #ffffff;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 15px 35px rgba(31, 72, 53, 0.13);
  backdrop-filter: blur(12px);
}

.match-card {
  top: 25%;
  right: 3%;
  width: 130px;
  border-radius: 14px;
  padding: 14px;
}

.match-card span {
  display: block;
  color: var(--muted);
  font-size: 10px;
}

.match-card strong {
  display: block;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.1;
}

.mini-bar {
  height: 4px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 4px;
  background: #e5ece8;
}

.mini-bar i {
  display: block;
  width: 95%;
  height: 100%;
  background: #5bbfab;
}

.spec-card {
  left: 4%;
  bottom: 20%;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 13px;
  padding: 12px 16px;
}

.spec-card .check {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 50%;
  background: var(--mint);
  color: var(--green);
}

.spec-card strong,
.spec-card small {
  display: block;
}

.spec-card strong {
  font-size: 11px;
}

.spec-card small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
}

.how-it-works {
  width: min(100%, 1440px);
  margin: 0 auto;
  background: #ffffff;
  padding: 118px 80px 120px;
  text-align: center;
}

.how-it-works .section-kicker {
  color: #5bbfab;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
}

.how-it-works > h1 {
  margin: 28px 0 78px;
  color: #14231b;
  font-size: clamp(25px, 2.5vw, 34px);
  font-weight: 740;
  line-height: 1.18;
  letter-spacing: 0;
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  max-width: 1140px;
  margin: 0 auto;
}

.step-card {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  min-height: 250px;
  padding: 18px 44px 0;
}

.step-card + .step-card {
  border-left: 1px solid #dfe7e2;
}

.step-number {
  position: absolute;
  top: 3px;
  right: 36px;
  color: #d2ddd7;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0;
}

.step-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 24px;
  background: #e6f6f2;
  color: #5bbfab;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.step-card h2 {
  margin: 30px 0 20px;
  color: #14231b;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
}

.step-card p {
  margin: 0;
  color: #718078;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: 0;
}

.search-panel {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid #d8dee6;
  background: #ffffff;
  padding: 18px 24px 16px;
}

.buyer-search-panel {
  position: static;
  border-bottom: 1px solid #dfe6ed;
  background: #f8fafc;
  padding: 24px;
}

.buyer-search-panel .brand-line {
  align-items: center;
  border: 1px solid #d8dee6;
  border-radius: 8px;
  background: #ffffff;
  padding: 18px;
}

.buyer-search-panel .brand-line h1 {
  font-size: 22px;
  letter-spacing: -0.4px;
}

.public-catalog-panel {
  position: static;
  border-bottom: 0;
  background: #fbfcfa;
  padding-top: 72px;
}

.packaging-signal {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1fr);
  gap: 84px;
  width: min(100%, 1440px);
  margin: 56px auto 0;
  border-radius: 18px;
  background: #f6f4ec;
  padding: 86px 86px 78px 105px;
}

.signal-copy {
  display: grid;
  align-content: center;
  justify-items: start;
}

.signal-copy span {
  color: #5bbfab;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
}

.signal-copy h1 {
  margin: 28px 0 26px;
  color: #14231b;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 740;
  line-height: 1.22;
  letter-spacing: 0;
}

.signal-copy p {
  margin: 0 0 34px;
  color: #69766f;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.9;
}

.signal-copy button {
  min-height: 58px;
  border: 0;
  border-radius: 10px;
  background: #10251b;
  color: #ffffff;
  cursor: pointer;
  font-size: 15px;
  font-weight: 750;
  padding: 0 28px;
}

.signal-list {
  display: grid;
  align-content: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.signal-list li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 24px;
  min-height: 112px;
  border-bottom: 1px solid #d9ddd5;
}

.signal-list li:first-child {
  border-top: 0;
}

.signal-list span {
  color: #a0aaa4;
  font-size: 14px;
  font-weight: 700;
}

.signal-list strong {
  display: block;
  color: #14231b;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
}

.signal-list small {
  display: block;
  margin-top: 6px;
  color: #879189;
  font-size: 12px;
  font-weight: 650;
}

.signal-list b {
  color: #5bbfab;
  font-size: 20px;
  font-weight: 700;
}

.trend-modal {
  width: min(760px, 100%);
  max-height: min(720px, calc(100vh - 48px));
  overflow: auto;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.28);
}

.trend-chart {
  display: grid;
  gap: 0;
  padding: 8px 24px 24px;
}

.trend-chart-row {
  display: grid;
  grid-template-columns: 38px minmax(120px, 0.8fr) minmax(160px, 1fr) 58px;
  align-items: center;
  gap: 16px;
  min-height: 66px;
  border-bottom: 1px solid #e1e7e2;
}

.trend-chart-row span {
  color: #a0aaa4;
  font-size: 13px;
  font-weight: 700;
}

.trend-chart-row strong {
  color: #14231b;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.trend-chart-row em {
  color: #6d7872;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  text-align: right;
}

.trend-bar {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e5ede8;
}

.trend-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
}

.public-catalog-panel .brand-line {
  align-items: flex-end;
}

.public-catalog-panel h1 {
  margin-top: 8px;
  font-size: 22px;
  letter-spacing: -0.8px;
}

.brand-line {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto 16px;
  max-width: 1440px;
}

h1 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}

.brand-line p {
  margin: 6px 0 0;
  color: #65717f;
  font-size: 14px;
}

.api-state {
  border: 1px solid #cdd6df;
  border-radius: 6px;
  padding: 8px 12px;
  color: #415162;
  white-space: nowrap;
}

.api-state.loading {
  border-color: var(--green);
  color: var(--green);
}

.toolbar,
.text-search,
.image-search {
  display: flex;
  gap: 10px;
  margin: 0 auto;
  max-width: 1440px;
}

.filter-panel {
  align-items: end;
}

.filter-panel label {
  display: grid;
  gap: 5px;
  color: #415162;
  font-size: 12px;
}

.filter-panel label span {
  font-weight: 700;
}

.filter-panel .search-keyword {
  flex: 1 1 280px;
}

.filter-actions {
  display: flex;
  gap: 8px;
}

.toolbar {
  margin-bottom: 12px;
}

.toolbar button,
.text-search button,
.image-search button {
  border: 1px solid #c7d0da;
  border-radius: 6px;
  background: #ffffff;
  color: #24313f;
  cursor: pointer;
  min-height: 40px;
  padding: 0 16px;
}

.buyer-search-panel .toolbar {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.buyer-search-panel .toolbar button {
  display: grid;
  gap: 4px;
  min-height: 72px;
  align-content: center;
  border-color: #d8dee6;
  background: #ffffff;
  text-align: left;
}

.buyer-search-panel .toolbar button strong {
  font-size: 16px;
}

.buyer-search-panel .toolbar button small {
  color: #65717f;
  font-size: 12px;
}

.buyer-search-panel .toolbar button.active small {
  color: rgba(255, 255, 255, 0.82);
}

.toolbar button.active,
.text-search button[type="submit"],
.image-search button {
  border-color: var(--green);
  background: var(--green);
  color: #ffffff;
}

.text-search {
  align-items: center;
  flex-wrap: wrap;
}

.buyer-search-panel .text-search,
.buyer-search-panel .image-search-panel {
  border: 1px solid #d8dee6;
  border-radius: 8px;
  background: #ffffff;
  padding: 14px;
}

.text-search input,
.text-search select {
  min-height: 40px;
  border: 1px solid #c7d0da;
  border-radius: 6px;
  background: #ffffff;
  padding: 0 12px;
}

.text-search input {
  flex: 1 1 280px;
  min-width: 220px;
}

.text-search select {
  flex: 0 1 190px;
}

.secondary {
  background: #f8fafc !important;
  color: #24313f !important;
}

.image-search {
  align-items: center;
  flex-wrap: wrap;
}

.image-search-panel {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto auto;
  align-items: stretch;
}

.upload-box {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border: 1px solid #c7d0da;
  border-radius: 6px;
  background: #ffffff;
  cursor: pointer;
  padding: 0 14px;
}

.upload-drop {
  gap: 12px;
  min-height: 78px;
  border-style: dashed;
  border-color: #9db8aa;
  background: #f8fcf9;
}

.upload-drop-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--mint);
  color: var(--green);
  font-size: 22px;
  font-weight: 700;
}

.upload-drop strong,
.upload-drop small {
  display: block;
}

.upload-drop small {
  margin-top: 3px;
  color: #65717f;
  font-size: 12px;
}

.upload-box input {
  display: none;
}

.upload-preview {
  width: 78px;
  height: 78px;
  border: 1px solid #d8dee6;
  border-radius: 6px;
  background: #ffffff;
}

.upload-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.error {
  max-width: 1440px;
  margin: 12px auto 0;
  color: #b42318;
}

.login-required {
  max-width: 1440px;
  margin: 12px auto 0;
  border: 1px solid #c7d0da;
  border-radius: 8px;
  background: #f8fafc;
  color: #415162;
  padding: 12px 14px;
}

.result-options {
  display: flex;
  justify-content: flex-end;
  margin: 0;
}

.search-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 1440px;
  margin: 0 auto 12px;
  color: #65717f;
  font-size: 13px;
}

.result-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #415162;
  font-size: 13px;
}

.result-options select {
  min-height: 38px;
  border: 1px solid #c7d0da;
  border-radius: 6px;
  background: #ffffff;
  padding: 0 10px;
}

.curated-products {
  max-width: 1160px;
  margin: 0 auto;
  padding: 42px 24px 72px;
}

.curated-head {
  margin-bottom: 34px;
}

.curated-head > span {
  display: block;
  color: #5bbfab;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
}

.curated-head h1 {
  margin: 24px 0 16px;
  color: #14231b;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 740;
  line-height: 1.12;
  letter-spacing: 0;
}

.curated-head p {
  margin: 0;
  color: #6a7871;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
}

.category-menu-shell {
  margin-top: 34px;
}

.curated-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.category-menu-summary {
  margin-bottom: 0;
}

.category-menu-panel {
  margin-top: 12px;
  max-height: 300px;
  overflow: auto;
  border: 1px solid #e1e7e2;
  border-radius: 18px;
  background: #ffffff;
  padding: 14px;
  box-shadow: 0 16px 34px rgba(29, 64, 49, 0.08);
}

.category-menu-list {
  align-items: flex-start;
}

.curated-tabs button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid #d7e2dc;
  border-radius: 999px;
  background: #ffffff;
  color: #6f7c76;
  cursor: pointer;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: 0;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.curated-tabs button:hover {
  border-color: #a9c4b7;
  color: #5bbfab;
  transform: translateY(-1px);
}

.curated-tabs button.active {
  border-color: #14231b;
  background: #14231b;
  color: #ffffff;
}

.menu-trigger {
  gap: 6px;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.pagination-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  color: #6a7871;
  font-size: 14px;
  font-weight: 650;
}

.pagination-bar > span {
  justify-self: start;
}

.pagination-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  grid-column: 2;
}

.pagination-actions strong {
  min-width: 66px;
  color: #14231b;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
}

.pagination-actions button {
  min-width: 72px;
  min-height: 38px;
  border: 1px solid #d7e2dc;
  border-radius: 999px;
  background: #ffffff;
  color: #14231b;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.pagination-actions button:not(:disabled):hover {
  border-color: #5bbfab;
  color: #5bbfab;
}

.pagination-actions button:disabled {
  color: #a7b0ab;
  cursor: not-allowed;
}

.product-card {
  display: grid;
  grid-template-rows: 235px auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #ffffff;
  box-shadow: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 160ms ease;
}

.product-card:hover {
  border-color: #c8c8c8;
  box-shadow: 0 16px 32px rgba(30, 60, 47, 0.1);
  transform: translateY(-5px);
}

.thumb {
  display: block;
  border: 0;
  border-bottom: 1px solid #dddddd;
  background: #eef3f0;
  cursor: pointer;
  padding: 18px;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0;
  mix-blend-mode: multiply;
}

.thumb img.is-broken {
  opacity: 0.25;
}

.product-body {
  display: grid;
  align-content: start;
  gap: 9px;
  padding: 18px 20px 20px;
}

.product-title-row {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
}

.product-title-row h2 {
  margin: 0;
  color: #111111;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
}

.similarity-badge {
  border-radius: 999px;
  padding: 4px 8px;
  white-space: nowrap;
}

.similarity-badge.strong {
  color: #075985;
  background: #e0f2fe;
}

.similarity-badge.good {
  color: #246e60;
  background: #e6f6f2;
}

.similarity-badge.muted {
  color: #65717f;
  background: #f4f6f8;
}

h2 {
  margin: 0;
  color: #14231b;
  font-size: 19px;
  line-height: 1.25;
}

.catalog-code,
.catalog-capacity,
.catalog-spec {
  margin: 0;
  color: #686868;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.catalog-code {
  color: #5f5f5f;
}

.catalog-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 4px;
}

dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 10px;
  margin: 0 0 14px;
}

dt {
  color: #65717f;
  font-size: 12px;
}

dd {
  margin: 2px 0 0;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.detail-link {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  background: transparent;
  min-height: 28px;
  border: 0;
  border-radius: 0;
  color: #6b7280;
  cursor: pointer;
  font-size: 12px;
  font-weight: 750;
  padding: 0;
  text-decoration: none;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: rgba(18, 28, 24, 0.52);
  padding: 24px;
}

.product-modal {
  width: min(1080px, 100%);
  max-height: min(820px, calc(100vh - 48px));
  overflow: auto;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.28);
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #e6ebe7;
  padding: 22px 24px;
}

.modal-head span {
  color: #65717f;
  font-size: 13px;
  font-weight: 700;
}

.modal-head h1 {
  margin: 5px 0 0;
  color: #14231b;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
}

.modal-head button {
  min-height: 36px;
  border: 1px solid #cbd5cf;
  border-radius: 6px;
  background: #ffffff;
  cursor: pointer;
  padding: 0 14px;
  color: #435349;
  font-weight: 700;
}

.modal-body {
  display: grid;
  grid-template-columns: minmax(360px, 1.08fr) minmax(320px, 0.92fr);
  gap: 24px;
  padding: 24px;
}

.modal-image {
  min-height: 470px;
  border: 1px solid #e1e6e2;
  border-radius: 8px;
  background: #fafbf9;
}

.modal-image img {
  width: 100%;
  height: 100%;
  max-height: 620px;
  object-fit: contain;
  padding: 24px;
}

.modal-info {
  display: grid;
  align-content: start;
  gap: 16px;
}

.modal-company,
.modal-summary {
  border: 1px solid #e0e7e1;
  border-radius: 8px;
  background: #fbfdfb;
  padding: 16px;
}

.modal-company {
  display: grid;
  gap: 6px;
}

.modal-company span,
.modal-summary span {
  color: #65717f;
  font-size: 12px;
  font-weight: 700;
}

.modal-company strong {
  color: #14231b;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
}

.modal-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.modal-summary strong {
  color: #14231b;
  font-size: 18px;
  font-weight: 700;
}

.spec-grid {
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0;
}

.spec-grid div {
  min-height: 74px;
  border: 1px solid #e0e7e1;
  border-radius: 8px;
  background: #ffffff;
  padding: 13px;
}

.spec-grid dt {
  font-weight: 700;
}

.spec-grid dd {
  color: #17231d;
  font-size: 14px;
  font-weight: 650;
}

.modal-info p {
  margin: 0;
  color: #415162;
}

.modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.external-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid #5bbfab;
  border-radius: 6px;
  color: #ffffff;
  background: #5bbfab;
  padding: 0 14px;
  text-decoration: none;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

.contact-link {
  min-height: 46px;
  border: 1px solid #cbd5cf;
  border-radius: 6px;
  background: #f6f8f6;
  color: #69766e;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.contact-link:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.modal-info .inquiry-message {
  border: 1px solid #cae1d3;
  border-radius: 6px;
  background: #f1f8f4;
  padding: 10px 12px;
  color: #246e60;
  font-size: 13px;
  font-weight: 650;
}

.contact-panel {
  display: grid;
  gap: 10px;
  border: 1px solid #d8e6dd;
  border-radius: 8px;
  background: #f7fbf8;
  padding: 14px;
}

.contact-panel div {
  display: grid;
  gap: 4px;
}

.contact-panel span {
  color: #65717f;
  font-size: 12px;
  font-weight: 700;
}

.contact-panel a {
  color: #14231b;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.external-url {
  display: block;
  max-width: 100%;
  color: #6b7785;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.empty-state {
  display: grid;
  gap: 6px;
  grid-column: 1 / -1;
  border: 1px solid #d8dee6;
  border-radius: 8px;
  background: #ffffff;
  padding: 34px;
  text-align: center;
  color: #65717f;
}

.empty-state strong {
  color: #24313f;
  font-size: 16px;
}

.empty-state span {
  font-size: 13px;
}

@media (max-width: 720px) {
  .billing-duration {
    grid-template-columns: 1fr;
  }

  .billing-duration strong {
    justify-self: start;
  }
  .app-header {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 14px;
  }

  .public-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .public-nav a {
    flex: none;
    font-size: 12px;
  }

  .public-hero {
    grid-template-columns: 1fr;
    gap: 22px;
    min-height: auto;
    padding: 148px 16px 44px;
  }

  .hero-top-nav {
    height: auto;
    min-height: 118px;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px 14px;
    justify-content: start;
    overflow: visible;
    padding: 10px 14px;
  }

  .hero-brand-button {
    gap: 8px;
  }

  .hero-brand-button span {
    width: 29px;
    height: 29px;
    border-radius: 7px;
    font-size: 16px;
  }

  .hero-brand-button strong {
    font-size: 17px;
  }

  .hero-nav-links {
    justify-content: flex-end;
    gap: 14px;
    white-space: nowrap;
  }

  .hero-nav-links button {
    padding: 10px 0;
    font-size: 12px;
  }

  .hero-nav-actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
    white-space: nowrap;
    width: 100%;
  }

  .hero-nav-actions button {
    min-height: 34px;
    padding: 8px 10px;
    font-size: 12px;
  }

  .hero-nav-actions .filled,
  .hero-nav-actions .outline {
    border-radius: 9px;
    padding: 8px 12px;
  }

  .hero-copy {
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
  }

  .public-hero h1 {
    font-size: clamp(32px, 9vw, 46px);
    letter-spacing: -1px;
  }

  .hero-description {
    font-size: 14px;
    line-height: 1.65;
  }

  .query-wrap {
    display: grid;
    grid-template-columns: 1fr;
  }

  .search-button {
    min-height: 52px;
    border-radius: 14px;
    box-shadow: 0 8px 18px rgba(91, 191, 171, 0.2);
  }

  .trust-row {
    gap: 12px;
    flex-wrap: wrap;
  }

  .trust-row span + span {
    padding-left: 12px;
  }

  .hero-visual {
    min-height: 320px;
  }

  .packaging-hero-image {
    width: 112%;
    max-height: 310px;
  }

  .match-card {
    top: 11%;
    right: 4%;
    width: 116px;
  }

  .spec-card {
    bottom: 9%;
    left: 4%;
    max-width: 176px;
  }

  .public-catalog-panel {
    padding-top: 34px;
  }

  .how-it-works {
    padding: 58px 22px 62px;
  }

  .how-it-works .section-kicker {
    font-size: 11px;
    letter-spacing: 3px;
  }

  .how-it-works > h1 {
    margin: 18px 0 34px;
    font-size: 25px;
  }

  .steps-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .step-card {
    min-height: auto;
    padding: 28px 18px 34px;
  }

  .step-card + .step-card {
    border-top: 1px solid #dfe7e2;
    border-left: 0;
  }

  .step-number {
    top: 28px;
    right: 20px;
  }

  .step-card h2 {
    margin: 20px 0 12px;
    font-size: 18px;
  }

  .step-card p {
    font-size: 15px;
  }

  .packaging-signal {
    grid-template-columns: 1fr;
    gap: 34px;
    width: auto;
    margin: 26px 14px 0;
    border-radius: 14px;
    padding: 38px 24px 30px;
  }

  .signal-copy span {
    font-size: 11px;
    letter-spacing: 3px;
  }

  .signal-copy h1 {
    margin: 18px 0 16px;
    font-size: 26px;
  }

  .signal-copy p {
    margin-bottom: 24px;
    font-size: 15px;
  }

  .signal-copy button {
    width: 100%;
  }

  .signal-list li {
    grid-template-columns: 34px minmax(0, 1fr) 24px;
    gap: 14px;
    min-height: 92px;
  }

  .signal-list strong {
    font-size: 17px;
  }

  .trend-chart {
    padding: 4px 16px 18px;
  }

  .trend-chart-row {
    grid-template-columns: 32px minmax(0, 1fr) 48px;
    gap: 10px;
    min-height: 72px;
  }

  .trend-chart-row strong {
    font-size: 14px;
  }

  .trend-bar {
    grid-column: 2 / 4;
  }

  .curated-products {
    padding: 38px 16px 58px;
  }

  .curated-head {
    margin-bottom: 24px;
  }

  .curated-head > span {
    font-size: 11px;
    letter-spacing: 3px;
  }

  .curated-head h1 {
    margin: 18px 0 12px;
    font-size: 26px;
  }

  .curated-head p {
    font-size: 15px;
  }

  .category-menu-shell {
    margin-top: 22px;
  }

  .curated-tabs {
    gap: 8px;
  }

  .curated-tabs button {
    min-height: 36px;
    padding: 0 14px;
    font-size: 13px;
  }

  .category-menu-panel {
    max-height: 260px;
    border-radius: 16px;
    padding: 12px;
  }

  .search-panel {
    padding: 14px;
  }

  .brand-line {
    display: block;
  }

  .app-header,
  .app-header div {
    align-items: flex-start;
  }

  .app-header div {
    display: grid;
    gap: 4px;
  }

  .app-header .header-actions {
    display: flex;
    flex-wrap: wrap;
  }

  .api-state {
    display: inline-flex;
    margin-top: 10px;
  }

  .toolbar,
  .text-search,
  .image-search {
    gap: 8px;
  }

  .buyer-search-panel .toolbar,
  .image-search-panel {
    grid-template-columns: 1fr;
  }

  .buyer-search-panel {
    padding: 14px;
  }

  .buyer-search-panel .brand-line {
    padding: 14px;
  }

  .text-search input,
  .text-search select,
  .text-search button,
  .image-search button,
  .upload-box,
  .company-form button,
  .crawl-form button,
  .candidate-toolbar button {
    flex: 1 1 100%;
    width: 100%;
  }

  .filter-panel label,
  .filter-actions {
    flex: 1 1 100%;
  }

  .result-options {
    justify-content: stretch;
  }

  .search-meta-row {
    display: grid;
    gap: 8px;
  }

  .result-options label {
    display: grid;
    width: 100%;
    gap: 5px;
  }

  .result-options select {
    width: 100%;
  }

  .pagination-bar {
    align-items: center;
    flex-direction: column;
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .pagination-bar > span,
  .pagination-actions {
    grid-column: 1;
    justify-content: center;
  }

  .verification-row {
    grid-template-columns: 1fr;
  }

  .company-form,
  .crawl-form,
  .direct-product-form,
  .admin-product-card,
  .admin-fields {
    grid-template-columns: 1fr;
  }

  .company-form button {
    grid-column: 1;
    justify-self: stretch;
  }

  .company-saved-card dl {
    grid-template-columns: 1fr;
  }

  .billing-plans {
    grid-template-columns: 1fr;
  }

  .billing-usage {
    align-items: flex-start;
    flex-direction: column;
  }

  .billing-panel .admin-products-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .candidate-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .candidate-toolbar > button {
    margin-left: 0;
  }

  .candidate-list {
    grid-template-columns: 1fr;
  }

  .candidate-card {
    grid-template-columns: 42px 96px 1fr;
  }

  .candidate-thumb {
    width: 96px;
    height: 96px;
  }

  .admin-thumb {
    width: 100%;
  }

  .results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 0;
  }

  .product-card {
    grid-template-rows: 150px auto;
    border-radius: 14px;
  }

  .thumb {
    padding: 10px;
  }

  .product-body {
    gap: 6px;
    padding: 12px;
  }

  .product-title-row {
    gap: 6px;
  }

  .product-title-row h2 {
    font-size: 14px;
  }

  .similarity-badge {
    padding: 3px 6px;
    font-size: 11px;
  }

  .catalog-code,
  .catalog-capacity,
  .catalog-spec {
    font-size: 11px;
    line-height: 1.35;
  }

  .detail-link {
    min-height: 24px;
    font-size: 11px;
  }

  .modal-body {
    grid-template-columns: 1fr;
  }

  .modal-image {
    min-height: 260px;
  }

  .modal-actions,
  .spec-grid {
    grid-template-columns: 1fr;
  }
}
