/*
 * Pharmaoffer-style layout layer, in Allingre's own colors (dark navy,
 * white buttons on dark, a soft blue for small highlights). Loaded after theme.css on every page; removing
 * its <link> restores the previous look. Shared parts (header, footer,
 * buttons) apply sitewide; .po-home rules only touch the homepage.
 */

:root {
  /* Type: SK hynix's pairing — Roboto for Latin and numbers, Noto Sans KR
     for Korean (Roboto has no Hangul, so Korean falls through to it). */
  --font-main: "Roboto", "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;

  /* --po-teal is the primary brand color (name kept from the first pass) */
  --po-teal: #141b3d;
  --po-teal-deep: #0c1230;
  /* Small highlights on dark backgrounds (stars, checks, step numbers) */
  --po-accent: #a9b8ff;
  --po-accent-hover: #93a5ff;
  --po-accent-ink: #141b3d;
  /* Buttons on dark backgrounds */
  --po-cta: #ffffff;
  --po-cta-hover: #e4e8f6;
  --po-black: #0a0e22;
  --po-gray: #f4f5f9;
  --po-text: #161a2e;
  --po-muted: #747a8c;
  --brand: #141b3d;
  --brand-soft: #eceffa;
  --action: #141b3d;
  --action-hover: #0c1230;
}

html body {
  background: #fff;
  font-family: var(--font-main);
}

/* Same pairing as SK hynix per language: Roboto for Latin, then the Noto
   Sans family for that script. site-chrome.js loads the JP file. */
html[lang="ja"] {
  --font-main: "Roboto", "Noto Sans JP", "Noto Sans KR", sans-serif;
}

/* Chinese follows CXMT (cxmt.com): the system Chinese UI fonts, no web font */
html[lang="zh-CN"] {
  --font-main: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", "WenQuanYi Micro Hei", sans-serif;
}

/* English: NVIDIA Sans (nvidia.com) is proprietary, so Barlow — a free
   DIN-like grotesk with the same straight, technical feel. */
html[lang="en"] {
  --font-main: "Barlow", "Roboto", "Noto Sans KR", sans-serif;
}

html[lang="vi"] {
  --font-main: "Roboto", "Noto Sans KR", sans-serif;
}

/* ---------- Floating pill header ---------- */
html body .site-header {
  position: sticky;
  top: 10px;
  z-index: 50;
  margin: 10px 16px 0;
  height: 46px;
  min-height: 46px;
  padding-left: 8px;
  padding-right: 10px;
  border: 1px solid #e6e8ea;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 6px 24px rgba(16, 40, 46, 0.08);
}

html body .site-header .brand {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

html body .site-header .brand .brand-mark {
  width: 32px;
  height: 32px;
  flex-basis: 32px;
}

html body .main-nav a,
html body .main-nav a.active,
html body .main-nav a.ingredient-register-nav {
  font-size: 15px;
  font-weight: 500;
}

html body .main-nav a.active::after,
html body .main-nav a[aria-current="page"]::after {
  background: var(--po-teal);
}

html body .header-actions .auth-link[href$="signup.html"] {
  min-height: 34px;
  border-radius: 999px;
  background: var(--po-teal);
}

html body .header-actions .auth-link[href$="signup.html"]:hover {
  background: var(--po-teal-deep);
}

html body .primary-button {
  border-radius: 999px;
}

/* ---------- Shared buttons ---------- */
.po-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease;
}

.po-btn svg {
  width: 18px;
  height: 18px;
}

.po-btn-dark {
  background: var(--po-teal);
  color: #fff;
}

.po-btn-dark:hover {
  background: var(--po-teal-deep);
}

.po-btn-light {
  background: #fff;
  color: var(--po-teal);
}

.po-btn-light:hover {
  background: #eef0f8;
}

.po-btn-outline {
  border: 1px solid var(--po-teal);
  color: var(--po-teal);
}

.po-btn-outline:hover {
  background: var(--po-teal);
  color: #fff;
}

/* ---------- Homepage ---------- */
html body.po-home .site-header,
html body.po-list .site-header {
  margin-bottom: -56px;
}

/* Tall hero, like the reference: fills most of the first screen. */
html body.po-home .hero.po-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(640px, 94vh, 900px);
  padding: 136px 16px 96px;
  background:
    radial-gradient(1100px 520px at 85% 0%, rgba(169, 184, 255, 0.10), transparent 60%),
    radial-gradient(900px 500px at 0% 100%, rgba(120, 140, 255, 0.14), transparent 60%),
    var(--po-teal);
  border: 0;
}

html body.po-home .po-hero .hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.po-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 22px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.po-badge span {
  color: var(--po-accent);
}

html body.po-home .po-hero h1 {
  margin: 0;
  color: #fff;
  font-size: 56px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

html body.po-home .po-hero .hero-description {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
  line-height: 1.6;
}

html body :is(.po-hero, .po-search-hero) .search-panel {
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(680px, 100%);
  margin: 32px auto 0;
  padding: 8px 8px 8px 0;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.18);
}

html body :is(.po-hero, .po-search-hero) .search-field {
  flex: 1 1 auto;
  min-height: 52px;
  padding: 0 8px 0 26px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

html body :is(.po-hero, .po-search-hero) .search-field:focus-within {
  box-shadow: none;
}

html body :is(.po-hero, .po-search-hero) .search-field svg {
  color: var(--po-teal);
}

html body :is(.po-hero, .po-search-hero) .search-field input {
  font-size: 17px;
}

.po-search-button {
  flex: 0 0 auto;
  height: 46px;
  padding: 0 34px;
  border: 0;
  border-radius: 999px;
  background: var(--po-teal);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.po-search-button:hover {
  background: var(--po-teal-deep);
}

.po-popular {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 12px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.po-popular a {
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.po-popular a:hover {
  background: rgba(255, 255, 255, 0.12);
}

.po-checks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.po-checks li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.po-checks svg {
  width: 16px;
  height: 16px;
  padding: 2px;
  border-radius: 50%;
  background: rgba(169, 184, 255, 0.2);
  color: var(--po-accent);
}

/* Section titles: light, large, centered */
.po-section-title {
  margin: 0;
  color: var(--po-text);
  font-size: 40px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.03em;
  word-break: keep-all;
}

/* Who it's for */
.po-section {
  padding: 96px var(--page-gutter);
}

.po-audience {
  text-align: center;
}

.po-audience-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.po-audience-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 20px 16px 36px;
  border-radius: 18px;
  background: var(--po-gray);
}

.po-audience-card strong {
  color: var(--po-text);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.35;
  word-break: keep-all;
}

.po-icon-lg,
.po-icon-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--po-teal);
  color: #fff;
}

.po-icon-lg {
  width: 104px;
  height: 104px;
}

.po-icon-lg svg {
  width: 46px;
  height: 46px;
  stroke-width: 1.6;
}

/* Solid illustrated glyphs: white shapes, navy cut-outs (currentColor) */
.po-icon-lg .po-glyph {
  width: 72px;
  height: 72px;
  color: var(--po-teal);
  overflow: visible;
}

.po-icon-sm {
  width: 56px;
  height: 56px;
}

.po-icon-sm svg {
  width: 24px;
  height: 24px;
}

/* How it works */
.po-how {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 64px;
  padding-top: 24px;
}

.po-how .po-section-title {
  font-size: 46px;
}

.po-steps {
  margin: 44px 0 40px;
  padding: 0;
  list-style: none;
}

.po-steps li {
  position: relative;
  display: flex;
  gap: 20px;
  padding-bottom: 26px;
}

.po-steps li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 36px;
  bottom: 6px;
  width: 1px;
  background: #e1e4e6;
}

.po-steps li > span {
  display: inline-flex;
  flex: 0 0 30px;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #eef0f1;
  color: var(--po-teal);
  font-size: 13px;
}

.po-steps strong {
  display: block;
  color: var(--po-text);
  font-size: 17px;
  font-weight: 500;
}

.po-steps p {
  margin: 6px 0 0;
  color: var(--po-muted);
  font-size: 16px;
}

.po-how-visual {
  padding: 28px;
  border-radius: 20px;
  background: var(--po-gray);
}

.po-how-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(16, 40, 46, 0.14);
}

/* Dark promo band: a product mock-up of the sourcing request flow */
.po-dark {
  position: relative;
  overflow: hidden;
  padding: 130px var(--page-gutter);
  background:
    radial-gradient(700px 420px at 18% 30%, rgba(110, 130, 255, 0.20), transparent 65%),
    radial-gradient(600px 400px at 95% 100%, rgba(169, 184, 255, 0.12), transparent 60%),
    var(--po-black);
  color: #fff;
}

.po-dark-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: 88px;
}

.po-dark-visual {
  position: relative;
  padding: 0 40px 56px 0;
}

.po-req-card {
  position: relative;
  z-index: 1;
  max-width: 470px;
  padding: 26px 26px 24px;
  border-radius: 20px;
  background: #fff;
  color: var(--po-text);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

.po-req-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid #eceef4;
  font-size: 17px;
  font-weight: 700;
}

.po-req-head em {
  margin-left: auto;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eef0fa;
  color: #3a4790;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
}

.po-req-logo {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: url("favicon.svg") center / cover no-repeat;
}

.po-req-field {
  display: grid;
  gap: 6px;
  padding: 11px 14px;
  border: 1px solid #e3e6ef;
  border-radius: 10px;
}

.po-req-field small {
  color: #8a90a2;
  font-size: 11px;
  font-weight: 600;
}

.po-req-field b {
  font-size: 15px;
  font-weight: 600;
}

.po-req-wide {
  margin-top: 18px;
  border-color: var(--po-teal);
  box-shadow: 0 0 0 3px #e6e9f7;
}

.po-req-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}

.po-req-submit {
  margin-top: 18px;
  padding: 13px;
  border-radius: 999px;
  background: var(--po-teal);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}

.po-req-steps {
  position: absolute;
  top: 92px;
  right: 0;
  z-index: 2;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 18px 20px;
  list-style: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(29, 37, 71, 0.92);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  font-size: 14px;
}

.po-req-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
}

.po-req-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  font-size: 11px;
  font-weight: 700;
}

.po-req-steps em {
  font-style: normal;
}

.po-req-steps .done {
  color: #fff;
}

.po-req-steps .done span {
  background: #3fbf8a;
  color: #fff;
}

.po-req-steps .now {
  color: var(--po-accent);
  font-weight: 600;
}

.po-req-steps .now span {
  background: var(--po-accent);
  color: var(--po-accent-ink);
}

.po-req-toast {
  position: absolute;
  right: 6px;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 14px;
  background: #fff;
  color: var(--po-text);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.po-req-toast-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--po-accent);
  color: var(--po-accent-ink);
}

.po-req-toast b {
  display: block;
  font-size: 14px;
}

.po-req-toast small {
  color: #8a90a2;
  font-size: 12px;
}

.po-dark-eyebrow {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 6px 14px;
  border: 1px solid rgba(169, 184, 255, 0.4);
  border-radius: 999px;
  color: var(--po-accent);
  font-size: 13px;
  font-weight: 700;
}

.po-dark-points {
  display: grid;
  gap: 12px;
  margin: -16px 0 40px;
  padding: 0;
  list-style: none;
}

.po-dark-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
}

.po-dark-points li::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(169, 184, 255, 0.18);
  color: var(--po-accent);
  font-size: 11px;
  font-weight: 700;
}

.po-btn-accent {
  border: 0;
  background: var(--po-cta);
  color: var(--po-teal);
  font-weight: 700;
  cursor: pointer;
}

.po-btn-accent:hover {
  background: var(--po-cta-hover);
}

.po-dark-copy h2 {
  margin: 0;
  color: #fff;
  font-size: 46px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.po-dark-copy > p:not(.po-dark-eyebrow) {
  margin: 34px 0 40px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
  line-height: 1.6;
}

/* Why cards (reuses the SEO section) */
html body.po-home .po-why {
  padding-top: 110px;
  padding-bottom: 96px;
  background: #fff;
  border: 0;
}

html body.po-home .po-why .seo-topic-inner {
  display: block;
  text-align: center;
}

html body.po-home .po-why .seo-topic-inner > h2 {
  font-size: 40px;
  font-weight: 500;
  color: var(--po-text);
}

html body.po-home .po-why .seo-topic-inner > p:not(.eyebrow) {
  max-width: none;
  margin: 14px 0 0;
  color: var(--po-muted);
  font-size: 16px;
  font-weight: 400;
}

html body.po-home .po-why .seo-topic-grid a .po-icon-sm {
  color: #fff;
}

html body.po-home .po-why .seo-topic-grid {
  display: grid;
  grid-column: auto;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 44px;
  text-align: left;
}

html body.po-home .po-why .seo-topic-grid a,
html body.po-home .po-why .seo-topic-grid a:first-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  min-height: 300px;
  padding: 40px;
  border: 1px solid #eef0f1;
  border-radius: 16px;
  background: #fff;
  box-shadow: none;
}

html body.po-home .po-why .seo-topic-grid a::before {
  display: none;
}

html body.po-home .po-why .seo-topic-grid a strong {
  margin-top: 32px;
  color: var(--po-text);
  font-size: 22px;
  font-weight: 500;
}

html body.po-home .po-why .seo-topic-grid a > span:last-child {
  margin-top: 18px;
  color: var(--po-muted);
  font-size: 15px;
  line-height: 1.7;
}

html body.po-home .po-why .seo-topic-grid a:hover strong {
  color: var(--po-teal);
}

/* CTA band */
.po-cta {
  margin: 0 var(--page-gutter) 40px;
  padding: 72px 24px;
  border-radius: 20px;
  background: var(--po-gray);
  text-align: center;
}

.po-cta h2 {
  margin: 0;
  color: var(--po-text);
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.po-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 36px;
}

/* ---------- Dark rounded footer (sitewide) ---------- */
html body .site-footer {
  margin: 0 20px 20px;
  padding-top: 64px;
  padding-bottom: 40px;
  border: 0;
  border-radius: 20px;
  background: var(--po-black);
  color: rgba(255, 255, 255, 0.6);
}

html body .site-footer strong {
  color: #fff;
  font-size: 22px;
  font-weight: 500;
}

html body .site-footer p {
  color: rgba(255, 255, 255, 0.6);
}

html body .site-footer {
  align-items: center;
  padding-top: 32px;
  padding-bottom: 32px;
}

html body .site-footer .footer-copyright {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
}

html body .site-footer a {
  color: #fff;
}

html body .site-footer a:hover {
  color: var(--po-accent);
}

/* ---------- Header search + language (site-chrome.js) ---------- */
html body .site-header {
  justify-content: flex-start;
  gap: 20px;
}

html body .site-header .main-nav {
  margin-left: 12px;
}

html body .site-header .header-actions {
  gap: 10px;
}

/* Menu items never wrap; if a language makes them too long for the bar,
   the menu scrolls sideways instead of spilling out of the header. */
html body .site-header .brand,
html body .main-nav a,
html body .header-actions,
html body .header-actions > * {
  white-space: nowrap;
}

html body .site-header .main-nav {
  flex: 0 1 auto;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

html body .site-header .main-nav::-webkit-scrollbar {
  display: none;
}

html body .site-header .brand,
html body .site-header .header-actions {
  flex: 0 0 auto;
}

/* 공급사 menu */
.supplier-menu {
  position: relative;
  flex: 0 0 auto;
  padding-left: 18px;
  border-left: 1px solid #d9dde0;
}

.supplier-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 32px;
  padding: 0 4px;
  border: 0;
  background: none;
  color: #8a9096;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
}

.supplier-toggle:hover,
.supplier-toggle[aria-expanded="true"] {
  color: var(--po-teal);
}

.supplier-toggle svg {
  transition: transform 0.15s ease;
}

.supplier-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.supplier-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 6px;
  z-index: 60;
  display: grid;
  min-width: 180px;
  padding: 6px;
  border: 1px solid #e6e8ea;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(16, 40, 46, 0.14);
}

.supplier-dropdown[hidden] {
  display: none;
}

html body .supplier-dropdown a,
html body .supplier-dropdown a.ingredient-register-nav {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--po-text);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

html body .supplier-dropdown a::after {
  display: none;
}

html body .supplier-dropdown a:hover {
  background: #f1f2f8;
  color: var(--po-teal);
}

.header-search {
  display: flex;
  flex: 0 1 300px;
  align-items: center;
  min-width: 0;
  height: 34px;
  margin-left: auto;
  padding: 0 4px 0 14px;
  border: 1px solid #d9dde0;
  border-radius: 8px;
  background: #fff;
}

.header-search:focus-within {
  border-color: var(--po-teal);
}

.header-search input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--po-text);
  font-size: 14px;
}

.header-search input::placeholder {
  color: #8a8f95;
}

.header-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  color: var(--po-text);
  cursor: pointer;
}

.lang-switch {
  position: relative;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--po-text);
  cursor: pointer;
}

.lang-toggle:hover,
.lang-toggle[aria-expanded="true"] {
  background: #eef0f8;
}

.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 60;
  min-width: 150px;
  margin: 0;
  padding: 6px;
  list-style: none;
  border: 1px solid #e6e8ea;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(16, 40, 46, 0.14);
}

.lang-menu[hidden] {
  display: none;
}

.lang-menu button {
  display: block;
  width: 100%;
  padding: 9px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--po-text);
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}

.lang-menu button:hover {
  background: #f1f2f8;
}

.lang-menu button[aria-current="true"] {
  color: var(--po-teal);
  font-weight: 700;
}

/* Google Translate: keep the page, hide Google's own bar and tooltips */
iframe.skiptranslate,
.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame,
#google_translate_element {
  display: none !important;
}

html body {
  top: 0 !important;
}

/* Pill search boxes show focus on the pill, not a square ring on the input */
html body :is(.po-hero, .po-search-hero) .search-field input:focus-visible,
.header-search input:focus-visible {
  outline: none;
}

html body :is(.po-hero, .po-search-hero) .search-panel:focus-within {
  box-shadow: 0 0 0 3px rgba(169, 184, 255, 0.6), 0 10px 34px rgba(0, 0, 0, 0.18);
}

/* Popular chips are links now */
.po-popular a {
  display: inline-block;
}

/* ---------- Search page ---------- */
html body.po-list .po-search-hero {
  padding: 120px 16px 56px;
  background: var(--po-teal);
  text-align: center;
}

.po-search-hero-inner {
  max-width: 760px;
  margin: 0 auto;
}

.po-search-hero h1 {
  margin: 0;
  color: #fff;
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.po-search-hero-inner > p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
}

html body.po-list .marketplace.po-results {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  align-items: start;
  gap: 56px;
  padding: 40px var(--page-gutter) 80px;
  background: #f6f7f7;
}

html body.po-list .po-results .content-area {
  width: 100%;
  margin: 0;
}

/* Filter sidebar */
.po-filter {
  position: sticky;
  top: 80px;
}

.po-filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0 16px;
  border-bottom: 1px solid #e3e6e8;
}

.po-filter-head h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--po-text);
  font-size: 18px;
  font-weight: 500;
}

.po-filter-head h2 svg {
  color: var(--po-teal);
}

.po-filter-head button {
  border: 0;
  background: none;
  color: var(--po-muted);
  font-size: 13px;
  cursor: pointer;
}

.po-filter-head button:hover {
  color: var(--po-teal);
}

.po-filter-group {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 22px 0 24px;
  border: 0;
  border-bottom: 1px solid #e3e6e8;
}

.po-filter-group legend {
  float: left;
  width: 100%;
  margin-bottom: 4px;
  color: var(--po-text);
  font-size: 15px;
  font-weight: 500;
}

.po-filter-group label {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--po-text);
  font-size: 15px;
  cursor: pointer;
}

.po-filter-group input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--po-teal);
  cursor: pointer;
}

.po-filter-group small {
  color: #a3a8ad;
  font-size: 13px;
}

/* Results header */
.po-results-head {
  margin-bottom: 20px;
}

.po-results-head h2 {
  margin: 0;
  color: var(--po-text);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
  word-break: keep-all;
}

.po-results-head h2 span {
  margin-left: 0.2em;
  color: #8a9096;
}

/* Machine-translated country names come back lower-case ("germany") */
html[lang="en"] .po-result-meta b,
html[lang="en"] .ingredient-detail .detail-chip,
html[lang="en"] .ingredient-detail .supplier-detail-grid strong {
  text-transform: capitalize;
}

.po-results-head p {
  margin: 6px 0 0;
  color: var(--po-muted);
  font-size: 15px;
}

/* Result cards */
html body.po-list .ingredient-grid.po-result-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  border: 0;
}

html body.po-list .po-result-list .ingredient-card.po-result-card {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  grid-template-areas: "thumb body";
  align-items: stretch;
  gap: 24px;
  min-height: 0;
  padding: 20px 24px 20px 20px;
  border: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(16, 40, 46, 0.06);
  cursor: pointer;
  transition: box-shadow 0.15s ease;
}

html body.po-list .po-result-list .ingredient-card.po-result-card:hover {
  background: #fff;
  box-shadow: 0 6px 22px rgba(16, 40, 46, 0.12);
}

.po-result-thumb {
  grid-area: thumb;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 108px;
  border-radius: 12px;
  background: #f2f3f4;
  color: #c3c8cc;
  font-size: 44px;
  font-weight: 700;
}

.po-result-thumb.sector-식품 { background: #eef8f3; color: #9fd3b8; }
.po-result-thumb.sector-제약 { background: #eef4fc; color: #a5c3eb; }
.po-result-thumb.sector-화장품 { background: #f5f0fc; color: #c8b3ea; }

.po-result-body {
  grid-area: body;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.po-result-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

html body.po-list .po-result-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  margin: 0;
  color: var(--po-text);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.35;
}

html body.po-list .po-result-card h3 a {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html body.po-list .po-result-card h3 a:hover {
  color: var(--po-teal);
}

.po-result-flag {
  flex: 0 0 auto;
  width: 22px;
  height: auto;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
}

html body.po-list .po-result-card .favorite-button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid #e3e6e8;
  border-radius: 999px;
  background: #fff;
  font-size: 15px;
}

.po-result-en {
  margin: 2px 0 0;
  overflow: hidden;
  color: #8a9096;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.po-result-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 0;
  margin-top: 12px;
  color: #8a9096;
  font-size: 13px;
}

.po-result-meta > span + span:not(.po-type-badge)::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 12px;
  margin: 0 10px;
  background: #d5d9dc;
  vertical-align: -1px;
}

.po-result-meta b {
  color: var(--po-text);
  font-weight: 500;
}

.po-type-badge {
  margin-right: 2px;
  padding: 3px 10px;
  border: 1px solid;
  border-radius: 6px;
  font-size: 13px;
}

.po-type-badge.sector-식품 { border-color: #9fd3b8; background: #f1faf5; color: #1f7a4d; }
.po-type-badge.sector-제약 { border-color: #a5c3eb; background: #f1f6fd; color: #2459a6; }
.po-type-badge.sector-화장품 { border-color: #c8b3ea; background: #f7f3fd; color: #6a3fb0; }

.po-result-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 14px;
}

.po-result-desc {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: #8a9096;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html body.po-list .po-result-card .card-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

html body.po-list .po-result-card .card-actions button {
  min-height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

html body.po-list .po-result-card .sample-button {
  border: 1px solid var(--po-teal);
  background: #fff;
  color: var(--po-teal);
}

html body.po-list .po-result-card .quote-button {
  border: 1px solid var(--po-teal);
  background: var(--po-teal);
  color: #fff;
}

html body.po-list .po-result-card .quote-button:hover {
  background: var(--po-teal-deep);
}

html body.po-list .po-result-list .empty-state {
  padding: 48px 24px;
  border-radius: 16px;
  background: #fff;
  text-align: center;
}

/* ---------- Responsive ---------- */
/* 721-1023px: the header is two rows (theme.css); keep the pill around both. */
@media (min-width: 721px) and (max-width: 1023px) {
  html body .site-header {
    height: auto;
    min-height: 0;
    padding: 8px 14px;
    border-radius: 24px;
    grid-template-areas:
      "brand actions"
      "nav supplier";
  }

  html body .site-header .main-nav {
    margin-left: 0;
  }

  .supplier-menu {
    grid-area: supplier;
    align-self: center;
  }

  .supplier-dropdown {
    right: 0;
    left: auto;
  }

  html body.po-home .site-header,
  html body.po-list .site-header {
    margin-bottom: -100px;
  }

  html body.po-home .hero.po-hero {
    padding-top: 150px;
  }

  html body.po-list .po-search-hero {
    padding-top: 140px;
  }
}

@media (max-width: 900px) {
  html body.po-list .marketplace.po-results {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding: 24px 16px 56px;
  }

  .po-filter {
    position: static;
  }

  .po-filter-head {
    padding-bottom: 12px;
  }

  .po-filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    padding: 14px 0 16px;
  }

  .po-filter-group legend {
    margin-bottom: 8px;
  }

  html body.po-list .po-result-list .ingredient-card.po-result-card {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "body";
    padding: 18px;
  }

  .po-result-thumb {
    display: none;
  }

  .po-result-bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .po-result-desc {
    white-space: normal;
  }

  html body.po-list .po-result-card .card-actions {
    width: 100%;
  }

  html body.po-list .po-result-card .card-actions button {
    flex: 1;
  }
}

@media (max-width: 1240px) {
  .header-search {
    display: none;
  }

  html body .site-header .header-actions {
    margin-left: auto;
  }
}

@media (max-width: 1080px) {
  .po-audience-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  html body.po-home .po-why .seo-topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .po-how,
  .po-dark-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .po-dark-copy {
    order: -1;
  }
}

@media (max-width: 720px) {
  html body .site-header {
    top: 8px;
    margin: 8px 12px 0;
    height: auto;
    min-height: 0;
    padding: 8px 12px;
    border-radius: 22px;
  }

  html body.po-home .site-header,
  html body.po-list .site-header {
    margin-bottom: -96px;
  }

  html body .site-header {
    grid-template-areas:
      "brand actions"
      "nav supplier";
  }

  html body .site-header .main-nav {
    margin-left: 0;
    overflow-x: auto;
    -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent);
    mask-image: linear-gradient(90deg, #000 82%, transparent);
  }

  .supplier-menu {
    grid-area: supplier;
    align-self: center;
    padding-left: 10px;
  }

  .supplier-dropdown {
    right: 0;
    left: auto;
  }

  html body.po-home .hero.po-hero {
    min-height: 0;
    padding: 140px 16px 56px;
  }

  html body.po-home .po-hero h1 {
    font-size: 36px;
  }

  html body.po-home .po-hero .hero-description {
    font-size: 15px;
  }

  html body.po-list .po-search-hero {
    padding: 140px 16px 40px;
  }

  .po-search-hero h1 {
    font-size: 30px;
  }

  .po-search-hero-inner > p {
    font-size: 15px;
  }

  .po-br {
    display: none;
  }

  html body :is(.po-hero, .po-search-hero) .search-panel {
    flex-direction: row;
    align-items: center;
    padding: 6px;
  }

  html body.po-home .po-why .seo-topic-inner > h2 {
    font-size: 28px;
  }

  html body :is(.po-hero, .po-search-hero) .search-field {
    min-height: 44px;
    padding-left: 14px;
  }

  html body :is(.po-hero, .po-search-hero) .search-field input {
    font-size: 15px;
  }

  .po-search-button {
    height: 42px;
    padding: 0 18px;
  }

  .po-popular > span {
    width: 100%;
  }

  .po-checks {
    flex-direction: column;
    align-items: center;
  }

  .po-section-title,
  .po-how .po-section-title,
  .po-dark-copy h2 {
    font-size: 28px;
  }

  .po-section {
    padding: 64px 16px;
  }

  .po-how {
    padding-top: 8px;
  }

  .po-audience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .po-audience-card {
    gap: 22px;
  }

  .po-icon-lg {
    width: 72px;
    height: 72px;
  }

  .po-icon-lg svg {
    width: 32px;
    height: 32px;
  }

  .po-icon-lg .po-glyph {
    width: 50px;
    height: 50px;
  }

  .po-audience-card strong {
    font-size: 15px;
  }

  .po-how-visual {
    padding: 12px;
  }

  .po-dark {
    padding: 72px 16px;
  }

  .po-dark-visual {
    display: grid;
    gap: 12px;
    padding: 0;
  }

  .po-req-card {
    padding: 20px 18px;
  }

  .po-req-steps,
  .po-req-toast {
    position: static;
  }

  .po-dark-points {
    margin-top: -12px;
  }

  html body.po-home .po-why {
    padding-top: 64px;
    padding-bottom: 56px;
  }

  html body.po-home .po-why .seo-topic-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  html body.po-home .po-why .seo-topic-grid a,
  html body.po-home .po-why .seo-topic-grid a:first-child {
    min-height: 0;
    padding: 28px;
  }

  html body.po-home .po-why .seo-topic-grid a strong {
    margin-top: 28px;
  }

  .po-cta {
    margin: 0 16px 24px;
    padding: 48px 16px;
  }

  .po-cta h2 {
    font-size: 26px;
  }

  html body .site-footer {
    margin: 0 12px 12px;
    padding-top: 28px;
    padding-bottom: 28px;
  }
}

/* ---------- 소개 page (intro.html, body.po-intro) ---------- */
html body.po-intro .site-header {
  margin-bottom: -56px;
}

html body.po-intro .intro-page .intro-hero {
  align-items: center;
  gap: 56px;
  min-height: clamp(600px, 86vh, 820px);
  padding: 136px var(--page-gutter) 88px;
  background:
    radial-gradient(1000px 480px at 90% 0%, rgba(169, 184, 255, 0.10), transparent 60%),
    radial-gradient(800px 460px at 0% 100%, rgba(120, 140, 255, 0.14), transparent 60%),
    var(--po-teal);
  border: 0;
}

html body.po-intro .intro-hero-copy .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

html body.po-intro .intro-page .intro-hero-copy h1 {
  color: #fff;
  font-size: 50px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

html body.po-intro .intro-page .intro-hero-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  line-height: 1.65;
}

html body.po-intro .intro-hero-actions {
  gap: 14px;
  margin-top: 32px;
}

html body.po-intro .intro-hero-actions a,
html body.po-intro .supplier-onboarding-section .primary-button {
  min-height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
}

html body.po-intro .intro-hero-actions .primary-button {
  border: 0;
  background: var(--po-cta);
  color: var(--po-teal);
}

html body.po-intro .intro-hero-actions .primary-button:hover {
  background: var(--po-cta-hover);
}

html body.po-intro .intro-hero-actions .outline-button {
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: transparent;
  color: #fff;
}

html body.po-intro .intro-hero-actions .outline-button:hover {
  background: rgba(255, 255, 255, 0.1);
}

html body.po-intro .intro-page .intro-hero-media {
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
}

html body.po-intro .intro-page .intro-hero-media img {
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
}

/* Section heads: centered, light and large like the homepage */
html body.po-intro .intro-section-head {
  margin-bottom: 44px;
  text-align: center;
}

html body.po-intro .intro-section-head .eyebrow,
html body.po-intro .official-info-section .eyebrow,
html body.po-intro .news-heading-copy .eyebrow {
  color: #4352a0;
  font-size: 14px;
  font-weight: 700;
}

html body.po-intro .intro-section-head h2,
html body.po-intro .official-info-section h2,
html body.po-intro .news-heading h2 {
  color: var(--po-text);
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

html body.po-intro .intro-steps,
html body.po-intro .intro-sectors,
html body.po-intro .intro-features {
  padding-top: 96px;
  padding-bottom: 96px;
  border: 0;
  background: #fff;
}

/* Steps: grey rounded cards with a round navy icon */
html body.po-intro .intro-step-list {
  gap: 20px;
}

html body.po-intro .intro-step-list li {
  position: relative;
  padding: 36px 32px;
  border: 0;
  border-radius: 18px;
  background: var(--po-gray);
}

html body.po-intro .intro-step-list svg,
html body.po-intro .intro-feature-grid svg {
  box-sizing: content-box;
  width: 24px;
  height: 24px;
  padding: 16px;
  border-radius: 50%;
  background: var(--po-teal);
  color: #fff;
}

html body.po-intro .intro-step-num {
  color: #c9cddb;
  font-size: 28px;
  font-weight: 700;
}

html body.po-intro .intro-step-list h3,
html body.po-intro .intro-feature-grid h3 {
  margin-top: 28px;
  color: var(--po-text);
  font-size: 21px;
  font-weight: 500;
}

html body.po-intro .intro-step-list p,
html body.po-intro .intro-feature-grid p {
  color: var(--po-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* Sector cards */
html body.po-intro .intro-sectors {
  background: var(--po-gray);
}

html body.po-intro .intro-sector-grid {
  gap: 24px;
}

html body.po-intro .intro-sector-card {
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(22, 31, 71, 0.06);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

html body.po-intro .intro-sector-card:hover {
  box-shadow: 0 10px 30px rgba(22, 31, 71, 0.12);
  transform: translateY(-2px);
}

html body.po-intro .intro-sector-card img {
  object-fit: cover;
}

html body.po-intro .intro-page .intro-hero-media img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

html body.po-intro .intro-sector-card > div {
  padding: 24px 28px 30px;
}

html body.po-intro .intro-sector-card h3 {
  font-size: 21px;
  font-weight: 500;
}

/* Feature cards: white with a light border, like the homepage guide cards */
html body.po-intro .intro-feature-grid {
  gap: 24px;
}

html body.po-intro .intro-feature-grid article {
  padding: 36px 32px;
  border: 1px solid #eceef4;
  border-radius: 18px;
  background: #fff;
}

/* Supplier band: dark, like the homepage promo band */
html body.po-intro .intro-page .supplier-onboarding-section {
  padding-top: 110px;
  padding-bottom: 110px;
  border: 0;
  background: var(--po-black);
  color: #fff;
}

html body.po-intro .supplier-onboarding-copy .eyebrow {
  color: var(--po-accent);
  font-size: 14px;
  font-weight: 700;
}

html body.po-intro .supplier-onboarding-copy h2 {
  color: #fff;
  font-size: 38px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

html body.po-intro .supplier-onboarding-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.75;
}

html body.po-intro .supplier-onboarding-section .primary-button {
  border: 0;
  background: #fff;
  color: var(--po-teal);
}

html body.po-intro .supplier-onboarding-section .primary-button:hover {
  background: #eef0f8;
}

html body.po-intro .supplier-onboarding-points {
  display: grid;
  gap: 14px;
}

html body.po-intro .supplier-onboarding-points div {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: linear-gradient(135deg, #1d2547, #141831);
}

html body.po-intro .supplier-onboarding-points strong {
  flex: 0 0 auto;
  white-space: nowrap;
  color: var(--po-accent);
  font-size: 15px;
}

html body.po-intro .supplier-onboarding-points span {
  color: #fff;
  font-size: 17px;
}

/* Official info: grey rounded box like the homepage CTA */
html body.po-intro .intro-page .official-info-section {
  width: auto;
  margin: 96px var(--page-gutter) 0;
  padding: 64px clamp(24px, 5vw, 72px);
  border: 0;
  border-radius: 20px;
  background: var(--po-gray);
  text-align: center;
}

html body.po-intro .official-info-section > p:not(.eyebrow) {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  color: var(--po-muted);
}

html body.po-intro .official-info-links {
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

html body.po-intro .official-info-links a {
  padding: 12px 22px;
  border: 1px solid var(--po-teal);
  border-radius: 999px;
  color: var(--po-teal);
  font-weight: 600;
}

html body.po-intro .official-info-links a:hover {
  background: var(--po-teal);
  color: #fff;
}

html body.po-intro .news-section {
  padding-top: 96px;
  padding-bottom: 96px;
  border: 0;
  background: #fff;
}

@media (max-width: 1023px) {
  html body.po-intro .site-header {
    margin-bottom: -100px;
  }

  html body.po-intro .intro-page .intro-hero {
    padding-top: 150px;
  }
}

@media (max-width: 720px) {
  html body.po-intro .site-header {
    margin-bottom: -96px;
  }

  html body.po-intro .intro-page .intro-hero {
    min-height: 0;
    gap: 32px;
    padding: 140px 16px 56px;
  }

  html body.po-intro .intro-page .intro-hero-copy h1 {
    font-size: 32px;
  }

  html body.po-intro .intro-page .intro-hero-copy p:not(.eyebrow) {
    font-size: 15px;
  }

  html body.po-intro .intro-section-head h2,
  html body.po-intro .official-info-section h2,
  html body.po-intro .news-heading h2,
  html body.po-intro .supplier-onboarding-copy h2 {
    font-size: 28px;
  }

  html body.po-intro .intro-steps,
  html body.po-intro .intro-sectors,
  html body.po-intro .intro-features,
  html body.po-intro .news-section,
  html body.po-intro .intro-page .supplier-onboarding-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  html body.po-intro .intro-page .official-info-section {
    margin: 64px 16px 0;
    padding: 44px 20px;
  }
}

/* ---------- Boards: 원료 소싱요청 / 원료문의 (body.po-board) ---------- */
html body.po-board .site-header {
  margin-bottom: -56px;
}

html body.po-board .community-page {
  background: #f6f7fa;
}

html body.po-board .community-hero.po-board-hero {
  display: block;
  padding: 132px 16px 72px;
  border: 0;
  background:
    radial-gradient(900px 420px at 85% 0%, rgba(169, 184, 255, 0.10), transparent 60%),
    radial-gradient(800px 420px at 0% 100%, rgba(120, 140, 255, 0.14), transparent 60%),
    var(--po-teal);
  text-align: center;
}

.po-board-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 760px;
  margin: 0 auto;
}

html body.po-board .po-board-hero .po-badge {
  margin: 0 0 22px;
  color: #fff;
}

html body.po-board .community-list .pagination-bar {
  background: transparent;
}

html body.po-board .po-board-hero h1 {
  margin: 0;
  color: #fff;
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.035em;
}

html body.po-board .po-board-hero .po-board-desc {
  max-width: none;
  margin: 18px 0 30px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 17px;
  line-height: 1.65;
}

.po-board-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.po-board-steps li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.po-board-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(169, 184, 255, 0.2);
  color: var(--po-accent);
  font-size: 12px;
  font-weight: 700;
}

html body.po-board .community-section {
  padding-top: 48px;
  padding-bottom: 96px;
  background: #f6f7fa;
}

/* Sector tabs as a segmented pill */
html body.po-board .community-sector-tabs {
  display: inline-flex;
  gap: 4px;
  margin-bottom: 18px;
  padding: 5px;
  border: 0 !important;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(22, 31, 71, 0.06);
}

html body.po-board .community-sector-tabs button,
html body.po-board .community-sector-tabs button:hover {
  min-height: 38px;
  padding: 0 20px !important;
  border-radius: 999px !important;
  color: var(--po-muted);
  font-size: 14px;
  font-weight: 600;
}

html body.po-board .community-sector-tabs button::after {
  display: none !important;
}

html body.po-board .community-sector-tabs button.active {
  background: var(--po-teal) !important;
  color: #fff;
}

/* Toolbar: pill search + navy write button */
html body.po-board .community-toolbar {
  gap: 12px;
  margin-bottom: 20px;
}

html body.po-board .community-search {
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid #e3e6ef;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(22, 31, 71, 0.05);
}

html body.po-board .community-search:focus-within {
  border-color: var(--po-teal);
  box-shadow: 0 0 0 3px #e6e9f7;
}

html body.po-board .community-search input:focus-visible {
  outline: none;
}

html body.po-board .community-write-button {
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: var(--po-teal);
  color: #fff;
  font-weight: 700;
}

html body.po-board .community-write-button:hover {
  background: var(--po-teal-deep);
  color: #fff;
}

/* Write form as a card */
html body.po-board .community-write-form {
  margin-bottom: 20px;
  padding: 28px;
  border: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(22, 31, 71, 0.08);
}

html body.po-board .community-write-form input,
html body.po-board .community-write-form select,
html body.po-board .community-write-form textarea {
  border-radius: 10px;
}

html body.po-board .community-write-form .primary-button,
html body.po-board .community-write-form .outline-button {
  border-radius: 999px;
}

/* Posts as white cards */
html body.po-board .community-list {
  display: grid;
  gap: 12px;
  border: 0;
}

html body.po-board .community-board-head {
  display: none !important;
}

html body.po-board .community-post,
html body.po-board .community-post:last-child {
  grid-template-columns: max-content minmax(0, 1fr) max-content max-content max-content;
  grid-template-areas: "badge title author date stats";
  gap: 18px;
  min-height: 0;
  padding: 22px 26px;
  border: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(22, 31, 71, 0.06);
}

html body.po-board .community-post:hover {
  background: #fff;
  box-shadow: 0 8px 24px rgba(22, 31, 71, 0.12);
}

html body.po-board .community-post:hover > * {
  transform: none;
}

html body.po-board .community-post .sector-label {
  grid-area: badge;
  padding: 3px 10px;
  border: 1px solid !important;
  border-radius: 6px !important;
  font-size: 13px;
}

html body.po-board .community-post .sector-label.sector-식품 { border-color: #9fd3b8 !important; background: #f1faf5 !important; color: #1f7a4d; }
html body.po-board .community-post .sector-label.sector-제약 { border-color: #a5c3eb !important; background: #f1f6fd !important; color: #2459a6; }
html body.po-board .community-post .sector-label.sector-화장품 { border-color: #c8b3ea !important; background: #f7f3fd !important; color: #6a3fb0; }

html body.po-board .community-post h3 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  min-width: 0;
  margin: 0;
  color: var(--po-text);
  font-size: 17px;
  font-weight: 500;
}

html body.po-board .community-post .post-author {
  grid-area: author;
  color: var(--po-muted);
  font-size: 13px;
}

html body.po-board .community-post h3 {
  grid-area: title;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html body.po-board .community-post .post-date {
  grid-area: date;
  color: #9aa0b1;
  font-size: 13px;
}

html body.po-board .community-post .post-stats {
  grid-area: stats;
  display: flex;
  gap: 14px;
  color: #9aa0b1;
  font-size: 13px;
}

html body.po-board .community-list .empty-state {
  padding: 56px 24px;
  border: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(22, 31, 71, 0.06);
  color: var(--po-muted);
  text-align: center;
}

@media (max-width: 1023px) {
  html body.po-board .site-header {
    margin-bottom: -100px;
  }

  html body.po-board .community-hero.po-board-hero {
    padding-top: 148px;
  }
}

@media (max-width: 720px) {
  html body.po-board .site-header {
    margin-bottom: -96px;
  }

  html body.po-board .community-hero.po-board-hero {
    padding: 140px 16px 52px;
  }

  html body.po-board .po-board-hero h1 {
    font-size: 32px;
  }

  html body.po-board .po-board-hero .po-board-desc {
    font-size: 15px;
  }

  html body.po-board .community-section {
    padding: 28px 16px 64px;
  }

  html body.po-board .community-sector-tabs {
    display: flex;
    width: 100%;
  }

  html body.po-board .community-sector-tabs button {
    flex: 1;
    padding: 0 8px !important;
  }

  html body.po-board .community-post,
  html body.po-board .community-post:last-child {
    grid-template-columns: max-content minmax(0, 1fr);
    grid-template-areas:
      "badge title"
      "badge meta";
    row-gap: 6px;
    padding: 18px;
  }

  html body.po-board .community-post .post-author {
    grid-area: meta;
    justify-self: start;
  }

  html body.po-board .community-post .post-date {
    grid-area: meta;
    justify-self: end;
  }

  html body.po-board .community-post .post-stats {
    display: none;
  }
}

/* ---------- Ingredient detail panel (opens under a clicked ingredient) ---------- */
html body .ingredient-detail {
  padding: 0;
  border: 0;
  background: transparent;
}

html body .ingredient-detail .ingredient-detail-card {
  margin: 0;
  padding: 32px 36px 28px;
  border: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 34px rgba(22, 31, 71, 0.12);
}

html body.po-list .po-result-list .ingredient-detail {
  margin-top: -8px;
}

html body .ingredient-detail .detail-head {
  padding-bottom: 18px;
  border-bottom: 1px solid #eceef4;
}

html body .ingredient-detail .detail-head h2 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin: 0;
  color: var(--po-text);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

html body .ingredient-detail .detail-head h2 span {
  color: #8a90a2;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
}

html body .ingredient-detail .detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

html body .ingredient-detail .detail-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border: 1px solid #e3e6ef;
  border-radius: 999px;
  background: #fff;
  color: #4a5068;
  font-size: 13px;
  font-weight: 500;
}

html body .ingredient-detail .detail-chip-sector.sector-식품 { border-color: #9fd3b8; background: #f1faf5; color: #1f7a4d; }
html body .ingredient-detail .detail-chip-sector.sector-제약 { border-color: #a5c3eb; background: #f1f6fd; color: #2459a6; }
html body .ingredient-detail .detail-chip-sector.sector-화장품 { border-color: #c8b3ea; background: #f7f3fd; color: #6a3fb0; }

html body .ingredient-detail .detail-flag {
  width: 18px;
  height: auto;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
}

html body .ingredient-detail .detail-desc {
  margin: 18px 0 0;
  color: #4a5068;
  font-size: 15px;
  line-height: 1.7;
}

html body .ingredient-detail .supplier-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

html body .ingredient-detail .supplier-detail-grid > div {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  grid-template-areas:
    "icon label"
    "icon value"
    "icon note";
  align-content: start;
  column-gap: 12px;
  row-gap: 3px;
  min-height: 0;
  padding: 16px 18px;
  border: 0;
  border-radius: 14px;
  background: var(--po-gray);
  box-shadow: none;
}

html body .ingredient-detail .supplier-detail-grid i {
  grid-area: icon;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--po-teal);
  color: #fff;
  font-style: normal;
}

html body .ingredient-detail .supplier-detail-grid span {
  grid-area: label;
  color: #8a90a2;
  font-size: 12px;
  font-weight: 600;
}

html body .ingredient-detail .supplier-detail-grid strong,
html body .ingredient-detail .supplier-detail-grid a {
  grid-area: value;
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  overflow: hidden;
  color: var(--po-text);
  font-size: 15px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html body .ingredient-detail .supplier-detail-grid a {
  display: block;
  color: var(--po-teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

html body .ingredient-detail .supplier-detail-grid small {
  grid-area: note;
  color: #9aa0b1;
  font-size: 12px;
}

html body .ingredient-detail .detail-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #eceef4;
}

html body .ingredient-detail .detail-actions button {
  min-height: 42px;
  padding: 0 22px;
  border: 1px solid var(--po-teal);
  border-radius: 999px;
  background: #fff;
  color: var(--po-teal);
  font-size: 14px;
  font-weight: 600;
}

html body .ingredient-detail .detail-actions .quote-button {
  background: var(--po-teal);
  color: #fff;
}

html body .ingredient-detail .detail-actions .quote-button:hover {
  background: var(--po-teal-deep);
}

html body .ingredient-detail .detail-actions .outline-button:hover,
html body .ingredient-detail .detail-actions .sample-button:hover {
  background: #eef0f8;
}

@media (max-width: 900px) {
  html body .ingredient-detail .ingredient-detail-card {
    padding: 22px 18px;
  }

  html body .ingredient-detail .detail-head h2 {
    font-size: 21px;
  }

  html body .ingredient-detail .supplier-detail-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  html body .ingredient-detail .detail-actions button {
    flex: 1;
  }
}

/* ---------- Other pages (body.po-page): register, messages, my page,
   favorites, login, signup, suggestions, terms, privacy ---------- */
html body.po-page .site-header {
  margin-bottom: -56px;
}

html body.po-page main {
  padding-bottom: 96px;
  background: #f6f7fa;
}

html body.po-page :is(.register-hero, .signup-hero, .community-hero, .legal-hero) {
  display: block;
  margin: 0 0 48px;
  padding: 128px 16px 64px;
  border: 0;
  background:
    radial-gradient(900px 420px at 85% 0%, rgba(169, 184, 255, 0.10), transparent 60%),
    radial-gradient(800px 420px at 0% 100%, rgba(110, 130, 255, 0.14), transparent 60%),
    var(--po-teal);
  text-align: center;
}

html body.po-page :is(.register-hero, .signup-hero, .community-hero, .legal-hero) > * {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

html body.po-page :is(.register-hero, .signup-hero, .community-hero, .legal-hero) .eyebrow {
  color: var(--po-accent);
  font-size: 14px;
  font-weight: 600;
}

html body.po-page :is(.register-hero, .signup-hero, .community-hero, .legal-hero) h1 {
  margin-top: 8px;
  color: #fff;
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.035em;
}

html body.po-page :is(.register-hero, .signup-hero, .community-hero, .legal-hero) p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.65;
}

/* White rounded cards */
html body.po-page :is(.auth-required, .register-form, .signup-form, .legal-document, .message-thread-list, .message-room) {
  border: 0;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(22, 31, 71, 0.07);
}

html body.po-page :is(.register-form, .signup-form, .legal-document) {
  padding: 36px 40px;
}

html body.po-page .form-section h2,
html body.po-page .form-section h3,
html body.po-page .legal-document h2 {
  color: var(--po-text);
  font-weight: 600;
}

/* Inputs */
html body.po-page :is(input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="url"], input[type="number"], input:not([type]), select, textarea) {
  border: 1px solid #e1e4ee;
  border-radius: 10px;
  background: #fbfbfd;
}

html body.po-page :is(input, select, textarea):focus-visible {
  outline: none;
  border-color: var(--po-teal);
  box-shadow: 0 0 0 3px #e6e9f7;
}

/* Buttons */
html body.po-page :is(.primary-button, .outline-button) {
  border-radius: 999px;
}

html body.po-page .primary-button {
  border-color: var(--po-teal);
  background: var(--po-teal);
  color: #fff;
}

html body.po-page .primary-button:hover {
  background: var(--po-teal-deep);
}

html body.po-page .outline-button {
  border-color: var(--po-teal);
  color: var(--po-teal);
}

/* Messages: tabs as a segmented pill */
html body.po-page .message-view-tabs {
  display: flex;
  width: fit-content;
  max-width: calc(100% - 32px);
  margin: 0 auto 20px;
  gap: 4px;
  padding: 5px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(22, 31, 71, 0.06);
}

html body.po-page .message-view-tabs button {
  min-height: 38px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--po-muted);
  font-weight: 600;
}

html body.po-page .message-view-tabs button::after {
  display: none;
}

html body.po-page .message-view-tabs button.active,
html body.po-page .message-view-tabs button[aria-selected="true"] {
  background: var(--po-teal);
  color: #fff;
}

html body.po-page .marketplace {
  background: transparent;
}

/* Favorites list rows */
html body.po-page .favorites-page .ingredient-grid {
  gap: 10px;
  border: 0;
}

html body.po-page .favorites-page .ingredient-grid .ingredient-card {
  border: 0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(22, 31, 71, 0.06);
}

html body.po-page .favorites-page .empty-state {
  border: 0;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(22, 31, 71, 0.07);
}

@media (max-width: 1023px) {
  html body.po-page .site-header {
    margin-bottom: -100px;
  }

  html body.po-page :is(.register-hero, .signup-hero, .community-hero, .legal-hero) {
    padding-top: 148px;
  }
}

@media (max-width: 720px) {
  html body.po-page .site-header {
    margin-bottom: -96px;
  }

  html body.po-page :is(.register-hero, .signup-hero, .community-hero, .legal-hero) {
    margin-bottom: 28px;
    padding: 140px 16px 44px;
  }

  html body.po-page :is(.register-hero, .signup-hero, .community-hero, .legal-hero) h1 {
    font-size: 30px;
  }

  html body.po-page :is(.register-form, .signup-form, .legal-document) {
    padding: 24px 18px;
  }
}
