:root {
  --itp-green: #1c6b5c;
  --itp-green-dark: #155245;
  --itp-green-soft: #e8f2ef;
  --itp-detail-action: #2563eb;
  --itp-detail-action-hover: #1d4ed8;
  --itp-mint: #f3f8f6;
  --itp-mint-band: #eaf4f1;
  --itp-cream: #fcf6eb;
  --itp-border: #efece0;
  --itp-border-strong: #e5e1d2;
  --itp-ink: #313433;
  --itp-ink-deep: #1c1f1e;
  --itp-muted: #828887;
  --itp-soft-text: #a8adac;
  --itp-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --itp-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --itp-motion-fast: 160ms;
  --itp-motion-base: 240ms;
  --itp-motion-slow: 560ms;
}

html {
  margin: 0 !important;
}

body.ingretool-preview-body {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
  overflow-x: hidden;
  background: #fff;
  color: var(--itp-ink);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

.ingretool-preview-body *,
.ingretool-preview-body *::before,
.ingretool-preview-body *::after {
  box-sizing: border-box;
}

.itp-header *,
.itp-header *::before,
.itp-header *::after,
.itp-page *,
.itp-page *::before,
.itp-page *::after {
  letter-spacing: 0;
}

.itp-header a,
.itp-page a {
  color: inherit;
  text-decoration: none;
}

.itp-frame {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
}

.itp-header {
  position: relative;
  z-index: 40;
  height: 65px;
  border-bottom: 1px solid var(--itp-border);
  background: #fff;
}

.itp-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1280px, calc(100% - 40px));
  height: 65px;
  margin: 0 auto;
}

.itp-logo {
  display: inline-flex;
  align-items: center;
  width: 129px;
  height: 30px;
}

.itp-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.itp-account {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--itp-green);
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
}

.itp-account a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  transition:
    color var(--itp-motion-fast) var(--itp-ease),
    background var(--itp-motion-fast) var(--itp-ease),
    box-shadow var(--itp-motion-fast) var(--itp-ease),
    transform var(--itp-motion-fast) var(--itp-ease);
}

.itp-account-name {
  display: inline-block;
  max-width: 160px;
  overflow: hidden;
  color: var(--itp-ink);
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.itp-account-primary {
  min-width: 58px;
  padding: 8px 16px;
  border-radius: 5px;
  color: #fff !important;
  background: var(--itp-green);
}

.itp-account a:hover,
.itp-account a:focus-visible {
  color: var(--itp-green-dark);
  transform: translateY(-1px);
}

.itp-account-primary:hover,
.itp-account-primary:focus-visible {
  background: var(--itp-green-dark);
  box-shadow: 0 8px 18px rgba(20, 87, 72, 0.16);
}

@keyframes itp-fade-up {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes itp-drop-in {
  from {
    opacity: 0;
    transform: translate3d(0, -10px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes itp-pop-in {
  from {
    opacity: 0;
    transform: translate3d(0, 12px, 0) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes itp-bar-grow-y {
  from {
    transform: scaleY(0.08);
  }

  to {
    transform: scaleY(1);
  }
}

@keyframes itp-bar-grow-x {
  from {
    transform: scaleX(0.08);
  }

  to {
    transform: scaleX(1);
  }
}

.ingretool-preview-body .itp-header {
  animation: itp-drop-in var(--itp-motion-slow) var(--itp-ease-out) both;
}

.itp-reveal {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition:
    opacity var(--itp-motion-slow) var(--itp-ease-out),
    transform var(--itp-motion-slow) var(--itp-ease-out);
  transition-delay: var(--itp-reveal-delay, 0ms);
  will-change: opacity, transform;
}

.itp-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.itp-home-hero h1,
.itp-home-copy,
.itp-home-tabs,
.itp-home-search-box,
.itp-home-hotline,
.itp-ingredient-hero .itp-kicker,
.itp-ingredient-hero h1,
.itp-ingredient-search {
  animation: itp-fade-up var(--itp-motion-slow) var(--itp-ease-out) both;
}

.itp-home-copy,
.itp-ingredient-hero h1 {
  animation-delay: 80ms;
}

.itp-home-tabs,
.itp-ingredient-search {
  animation-delay: 160ms;
}

.itp-home-search-box {
  animation-delay: 220ms;
}

.itp-home-hotline {
  animation-delay: 300ms;
}

.itp-page {
  width: 100%;
  overflow: hidden;
}

.itp-home-hero {
  position: relative;
  height: 505px;
  overflow: visible;
  background:
    linear-gradient(90deg, rgba(203, 232, 225, 0.36) 0%, rgba(246, 251, 249, 0.08) 52%, rgba(210, 238, 231, 0.46) 100%),
    #eef8f5 url("../img/ingretool-home-banner-bg.svg") left top / cover no-repeat;
  background-blend-mode: multiply, normal;
}

.itp-home-hero::before {
  position: absolute;
  top: -192px;
  left: -120px;
  width: 585px;
  height: 306px;
  border-radius: 0 0 260px 260px;
  background: #cfe8e1;
  opacity: 0.76;
  transform: rotate(-3deg);
  content: "";
}

.itp-home-body .itp-home-hero::before,
.itp-home-body .itp-home-hero::after,
.itp-home-body .itp-hero-bg::before,
.itp-home-body .itp-hero-bg::after {
  display: none;
}

.itp-home-hero::after {
  position: absolute;
  right: 0;
  top: -79px;
  width: 865px;
  height: 655px;
  border-radius: 174px 0 0 174px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.76), rgba(241, 249, 246, 0.96));
  content: "";
}

.itp-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.itp-hero-bg::before,
.itp-hero-bg::after {
  position: absolute;
  border-radius: 999px;
  background: #cfe8e1;
  content: "";
}

.itp-hero-bg::before {
  top: -65px;
  left: calc(50% + 154px);
  width: 423px;
  height: 393px;
  opacity: 0.68;
}

.itp-hero-bg::after {
  top: 361px;
  left: calc(50% + 326px);
  width: 346px;
  height: 361px;
  opacity: 0.75;
}

.itp-home-hero .itp-frame {
  position: relative;
  z-index: 2;
  height: 505px;
}

.itp-home-hero h1 {
  position: absolute;
  top: 110px;
  left: 80px;
  width: 1120px;
  margin: 0;
  color: #111816;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 52px;
  font-weight: 700;
  line-height: 58px;
  text-align: center;
}

.itp-home-hero h1 span {
  color: var(--itp-green);
}

.itp-home-copy {
  position: absolute;
  top: 191px;
  left: 80px;
  width: 1120px;
  margin: 0;
  color: #606967;
  font-size: 18px;
  line-height: 28px;
  text-align: center;
}

.itp-home-search {
  position: absolute;
  top: 300px;
  left: 80px;
  z-index: 12;
  width: 1120px;
}

.itp-home-tabs {
  display: flex;
  gap: 10px;
  height: 36px;
}

.itp-home-tabs button,
.itp-home-tabs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 23px;
  border: 1px solid var(--itp-border-strong);
  border-radius: 7px;
  background: #fff;
  color: #414645;
  font: inherit;
  font-size: 15px;
  line-height: 23px;
  cursor: pointer;
  transition:
    border-color var(--itp-motion-fast) var(--itp-ease),
    color var(--itp-motion-fast) var(--itp-ease),
    background var(--itp-motion-fast) var(--itp-ease),
    box-shadow var(--itp-motion-fast) var(--itp-ease),
    transform var(--itp-motion-fast) var(--itp-ease);
}

.itp-home-tabs .is-active {
  border-color: var(--itp-green);
  color: #fff;
  background: var(--itp-green);
}

.itp-home-tabs a:hover,
.itp-home-tabs button:hover,
.itp-home-tabs a:focus-visible,
.itp-home-tabs button:focus-visible {
  border-color: rgba(28, 107, 92, 0.38);
  box-shadow: 0 8px 16px rgba(20, 87, 72, 0.1);
  transform: translateY(-1px);
}

.itp-home-search-box {
  position: relative;
  z-index: 12;
  display: flex;
  align-items: center;
  height: 66px;
  margin-top: 12px;
  padding: 2px 7px 2px 2px;
  border: 1px solid var(--itp-border-strong);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 16px rgba(16, 62, 53, 0.1);
  transition:
    border-color var(--itp-motion-base) var(--itp-ease),
    box-shadow var(--itp-motion-base) var(--itp-ease),
    transform var(--itp-motion-base) var(--itp-ease);
}

.itp-home-search-box:focus-within {
  border-color: rgba(28, 107, 92, 0.42);
  box-shadow: 0 16px 28px rgba(16, 62, 53, 0.13);
}

.itp-home-source-dropdown {
  position: relative;
  z-index: 14;
  flex: 0 0 174px;
  width: 174px;
  height: 100%;
  border-right: 1px solid var(--itp-border);
}

.itp-home-source-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  height: 100%;
  padding: 0 22px 0 28px;
  border: 0;
  border-radius: 8px 0 0 8px;
  outline: 0;
  color: var(--itp-ink);
  background: #fff;
  font: inherit;
  font-size: 17px;
  cursor: pointer;
  transition:
    background var(--itp-motion-fast) var(--itp-ease),
    color var(--itp-motion-fast) var(--itp-ease);
}

.itp-home-source-toggle:focus {
  box-shadow: inset 0 0 0 2px rgba(28, 107, 92, 0.14);
}

.itp-home-source-toggle i {
  width: 12px;
  height: 8px;
  background: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.25 1.5L6 6.25L10.75 1.5' stroke='%231c6b5c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.18s ease;
}

.itp-home-source-dropdown.open .itp-home-source-toggle i {
  transform: rotate(180deg);
}

.itp-home-source-menu {
  position: absolute;
  top: calc(100% + 7px);
  left: 0;
  z-index: 120;
  width: 174px;
  padding: 6px;
  border: 1px solid var(--itp-border-strong);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 20px rgba(16, 62, 53, 0.14);
  opacity: 0;
  transform: translate3d(0, -6px, 0) scale(0.98);
  transform-origin: top left;
  transition:
    opacity var(--itp-motion-fast) var(--itp-ease),
    transform var(--itp-motion-fast) var(--itp-ease),
    visibility var(--itp-motion-fast) var(--itp-ease);
}

.itp-home-source-menu:not(.hidden) {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.itp-home-source-option {
  display: flex;
  align-items: center;
  width: 100%;
  height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 6px;
  color: var(--itp-ink);
  background: transparent;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  transition:
    color var(--itp-motion-fast) var(--itp-ease),
    background var(--itp-motion-fast) var(--itp-ease),
    transform var(--itp-motion-fast) var(--itp-ease);
}

.itp-home-source-option:hover,
.itp-home-source-option:focus,
.itp-home-source-option.is-active {
  color: var(--itp-green);
  background: #e7f3ef;
}

.itp-home-source-option:hover,
.itp-home-source-option:focus {
  transform: translateX(2px);
}

.itp-home-search-box input {
  min-width: 0;
  flex: 1;
  height: 100%;
  padding: 0 24px;
  border: 0;
  outline: 0;
  color: var(--itp-ink);
  font: inherit;
  font-size: 18px;
}

.itp-home-search-box input::placeholder {
  color: var(--itp-soft-text);
}

.itp-home-search-submit {
  flex: 0 0 146px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 146px;
  height: 56px;
  padding: 0 24px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--itp-green);
  font: inherit;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background var(--itp-motion-fast) var(--itp-ease),
    box-shadow var(--itp-motion-fast) var(--itp-ease),
    transform var(--itp-motion-fast) var(--itp-ease);
}

.itp-home-search-submit:hover,
.itp-home-search-submit:focus-visible {
  background: var(--itp-green-dark);
  box-shadow: 0 10px 22px rgba(20, 87, 72, 0.18);
  transform: translateY(-1px);
}

.itp-home-search-submit i {
  position: relative;
  flex: 0 0 19px;
  width: 19px;
  height: 19px;
  border: 2px solid #fff;
  border-radius: 50%;
}

.itp-home-search-submit i::after {
  position: absolute;
  right: -5px;
  bottom: -4px;
  width: 8px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transform: rotate(45deg);
  content: "";
}

.itp-home-hotline {
  position: absolute;
  top: 436px;
  left: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 1120px;
  height: 23px;
  color: var(--itp-muted);
  font-size: 15px;
  line-height: 23px;
}

.itp-home-hotline div {
  display: flex;
  gap: 18px;
}

.itp-home-hotline strong {
  color: var(--itp-ink);
}

.itp-register-link {
  position: relative;
  color: #1c6b5c !important;
  font-weight: 700;
}

.itp-register-link::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-right: 10px;
  border: 2px solid #1c6b5c;
  border-radius: 4px;
  color: #1c6b5c;
  content: "✓";
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.itp-tools-band {
  padding: 96px 0 72px;
  background: var(--itp-mint);
}

.itp-search-results-band {
  padding: 0 0 54px;
  background: var(--itp-mint);
}

.itp-search-results-band + .itp-tools-band {
  padding-top: 50px;
}

.itp-search-result-panel {
  position: relative;
  z-index: 3;
  margin-top: -46px;
  padding: 30px;
  border: 1px solid var(--itp-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 22px rgba(13, 17, 16, 0.08);
}

.itp-ingredient-result-panel {
  margin-top: 0;
}

.itp-search-result-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 22px;
}

.itp-search-result-eyebrow {
  display: block;
  margin-bottom: 8px;
  color: var(--itp-green);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.itp-search-result-head h2 {
  margin: 0;
  color: var(--itp-ink);
  font-size: 26px;
  font-weight: 700;
  line-height: 34px;
}

.itp-search-result-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  height: 34px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--itp-green);
  background: #e7f3ef;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.itp-search-empty {
  padding: 34px 28px;
  border: 1px dashed var(--itp-border-strong);
  border-radius: 12px;
  color: var(--itp-muted);
  background: #fbfdfc;
  font-size: 16px;
  line-height: 26px;
  text-align: center;
}

.itp-search-empty-no-data {
  display: flex;
  align-items: center;
  flex-direction: column;
  min-height: 210px;
  padding: 42px 28px;
}

.itp-empty-icon {
  position: relative;
  display: block;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #e7f3ef;
}

.itp-empty-icon::before {
  position: absolute;
  top: 17px;
  left: 17px;
  width: 17px;
  height: 17px;
  border: 3px solid var(--itp-green);
  border-radius: 50%;
  content: "";
}

.itp-empty-icon::after {
  position: absolute;
  top: 36px;
  left: 35px;
  width: 14px;
  height: 3px;
  border-radius: 999px;
  background: var(--itp-green);
  transform: rotate(45deg);
  content: "";
}

.itp-search-empty-no-data strong {
  margin-bottom: 8px;
  color: var(--itp-ink);
  font-size: 22px;
  line-height: 30px;
}

.itp-search-empty-no-data p {
  max-width: 560px;
  margin: 0;
  color: var(--itp-muted);
  font-size: 15px;
  line-height: 25px;
}

.itp-table-empty {
  margin-top: 18px;
}

.itp-prohibited-table-wrap {
  overflow-x: auto;
}

.itp-prohibited-table th {
  height: 58px;
  padding: 12px 16px;
  color: #fff;
  background: var(--itp-green);
  font-size: 14px;
  font-weight: 700;
  line-height: 21px;
  text-align: left;
}

.itp-prohibited-table td {
  height: 64px;
  padding: 12px 16px;
  border-bottom: 1px solid #edf2ef;
  color: #414645;
  font-size: 14px;
  line-height: 21px;
  vertical-align: middle;
}

.itp-prohibited-table tr.is-tinted td {
  background: #e8f2ef;
}

.itp-prohibited-table th:nth-child(1),
.itp-prohibited-table td:nth-child(1) {
  width: 21%;
}

.itp-prohibited-table th:nth-child(2),
.itp-prohibited-table td:nth-child(2) {
  width: 9%;
  text-align: center;
}

.itp-prohibited-table th:nth-child(3),
.itp-prohibited-table td:nth-child(3) {
  width: 25%;
}

.itp-prohibited-table th:nth-child(4),
.itp-prohibited-table td:nth-child(4) {
  width: 30%;
}

.itp-prohibited-table th:nth-child(5),
.itp-prohibited-table td:nth-child(5) {
  width: 15%;
}

.itp-pagination.itp-result-pagination a,
.itp-pagination.itp-result-pagination > span {
  flex: 0 0 auto;
  width: auto;
  min-width: 28px;
  padding: 0 10px;
  white-space: nowrap;
}

.itp-figma-card-grid {
  display: grid;
  grid-template-columns: repeat(6, 195px);
  grid-template-rows: repeat(2, 460px);
  gap: 22px;
  width: 1280px;
}

.itp-figma-card {
  position: relative;
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 460px;
  padding: 44px 40px 34px;
  border: 1px solid var(--itp-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 12px rgba(13, 17, 16, 0.08);
  color: inherit;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition:
    border-color var(--itp-motion-base) var(--itp-ease),
    box-shadow var(--itp-motion-base) var(--itp-ease),
    transform var(--itp-motion-base) var(--itp-ease);
}

.itp-figma-card:hover,
.itp-figma-card:focus-visible {
  border-color: rgba(28, 107, 92, 0.24);
  box-shadow: 0 18px 30px rgba(13, 17, 16, 0.12);
  transform: translateY(-5px);
}

.itp-figma-card:focus-visible {
  outline: 3px solid rgba(28, 107, 92, 0.28);
  outline-offset: 3px;
}

.itp-figma-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.itp-figma-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.itp-icon-bubble {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin-bottom: 12px;
  border-radius: 0;
  background: transparent;
}

.itp-icon-bubble img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  transition: transform var(--itp-motion-base) var(--itp-ease);
}

.itp-figma-card:hover .itp-icon-bubble img {
  transform: scale(1.05);
}

.itp-figma-card h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin: 0;
  color: var(--itp-ink);
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 24px;
}

.itp-card-subtitle {
  min-height: 34px;
  margin: 0;
  color: #a4aaa8;
  font-size: 12px;
  line-height: 18px;
}

.itp-figma-card > i {
  display: block;
  width: 40px;
  height: 2px;
  margin: 0 0 14px;
  border-radius: 2px;
  background: #cde5df;
}

.itp-card-text {
  width: 100%;
  max-width: 300px;
  min-height: 86px;
  margin: 0;
  color: #78817f;
  font-size: 13px;
  line-height: 22px;
}

.itp-card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 35px;
  margin-top: 30px;
  padding: 8px 18px;
  border-radius: 999px;
  color: #fff;
  background: var(--itp-green);
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
  transition:
    background var(--itp-motion-fast) var(--itp-ease),
    box-shadow var(--itp-motion-fast) var(--itp-ease),
    transform var(--itp-motion-fast) var(--itp-ease);
}

.itp-card-action {
  cursor: pointer;
  user-select: none;
}

.itp-figma-card:hover .itp-card-action,
.itp-figma-card:focus-visible .itp-card-action {
  background: var(--itp-green-dark);
  box-shadow: 0 8px 16px rgba(20, 87, 72, 0.16);
  transform: translateY(-1px);
}

.itp-card-badge {
  position: absolute;
  top: 22px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 43px;
  height: 24px;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--itp-green-dark);
  background: var(--itp-green-soft);
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: 0.72px;
}

.itp-card-badge-hot {
  min-width: 47px;
  color: #d9572e;
  background: #fbede9;
}

.itp-card-badge-new {
  min-width: 49px;
  color: #155245;
  background: #e8f2ef;
}

.itp-note-band {
  background: var(--itp-mint-band);
}

.itp-home-note-band {
  padding: 56px 0;
}

.itp-note-card {
  width: 1280px;
  padding: 43px 55px;
  border: 1px solid var(--itp-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 1px 1px rgba(13, 17, 16, 0.05);
  transition:
    box-shadow var(--itp-motion-base) var(--itp-ease),
    transform var(--itp-motion-base) var(--itp-ease);
}

.itp-note-card:hover {
  box-shadow: 0 12px 26px rgba(13, 17, 16, 0.08);
}

.itp-note-card h2 {
  margin: 0 0 30px;
  color: var(--itp-ink-deep);
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 34px;
  text-align: center;
}

.itp-note-card ol {
  display: grid;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: notes;
}

.itp-note-card li {
  position: relative;
  min-height: 26px;
  padding-left: 40px;
  color: #414645;
  font-size: 14px;
  line-height: 26px;
  counter-increment: notes;
}

.itp-note-card li strong {
  color: var(--itp-ink);
  font-weight: 700;
}

.itp-note-card li::before {
  position: absolute;
  top: 1px;
  left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--itp-green);
  border-radius: 999px;
  color: var(--itp-green);
  content: counter(notes);
  font-size: 12px;
  font-weight: 700;
}

.itp-ingredient-hero {
  height: 276px;
  overflow: hidden;
  background: #fcf6eb url("../img/ingretool-ingredient-banner-bg.svg") left top / cover no-repeat;
}

.itp-ingredient-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 276px;
  padding-top: 32px;
}

.itp-kicker {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 16px;
  color: var(--itp-green);
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: 1.8px;
}

.itp-kicker span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--itp-green);
}

.itp-ingredient-hero h1 {
  margin: 0 0 16px;
  color: var(--itp-ink-deep);
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 40px;
  letter-spacing: -0.32px;
  text-align: center;
}

.itp-ingredient-search {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(880px, calc(100% - 40px));
  height: 56px;
  padding: 5px 9px 5px 24px;
  border: 1px solid var(--itp-border-strong);
  border-radius: 8px;
  background: #fff;
  transition:
    border-color var(--itp-motion-base) var(--itp-ease),
    box-shadow var(--itp-motion-base) var(--itp-ease);
}

.itp-ingredient-search:focus-within {
  border-color: rgba(28, 107, 92, 0.42);
  box-shadow: 0 12px 24px rgba(20, 87, 72, 0.12);
}

.itp-ingredient-search i {
  position: relative;
  display: block;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
}

.itp-ingredient-search i::before {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border: 2px solid #a8adac;
  border-radius: 50%;
  content: "";
}

.itp-ingredient-search i::after {
  position: absolute;
  right: 3px;
  bottom: 4px;
  width: 9px;
  height: 2px;
  border-radius: 2px;
  background: #a8adac;
  transform: rotate(45deg);
  content: "";
}

.itp-ingredient-search input {
  min-width: 0;
  height: 44px;
  flex: 1;
  padding: 0;
  border: 0;
  outline: 0;
  color: var(--itp-ink);
  font: inherit;
  font-size: 16px;
  line-height: 44px;
}

.itp-ingredient-search input::placeholder {
  color: #757575;
}

.itp-ingredient-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 104px;
  height: 44px;
  border: 0;
  border-radius: 5px;
  color: #fff;
  background: var(--itp-green);
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition:
    background var(--itp-motion-fast) var(--itp-ease),
    box-shadow var(--itp-motion-fast) var(--itp-ease),
    transform var(--itp-motion-fast) var(--itp-ease);
}

.itp-ingredient-search button:hover,
.itp-ingredient-search button:focus-visible {
  background: var(--itp-green-dark);
  box-shadow: 0 8px 18px rgba(20, 87, 72, 0.16);
  transform: translateY(-1px);
}

.itp-data-band {
  padding-bottom: 64px;
  background: #fbfaf6;
}

.itp-data-panel {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  padding: 30px;
  border: 1px solid var(--itp-border);
  border-radius: 18px 18px 0 0;
  background: #fff;
}

.itp-stat-panel {
  display: grid;
  grid-template-columns: minmax(170px, 0.76fr) 1px minmax(360px, 1.25fr) 1px minmax(340px, 1.55fr);
  gap: 18px 26px;
  min-height: 202px;
  padding: 30px;
  border: 1px solid var(--itp-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 2px 3px rgba(13, 17, 16, 0.08);
  transition:
    box-shadow var(--itp-motion-base) var(--itp-ease),
    transform var(--itp-motion-base) var(--itp-ease);
}

.itp-stat-panel:hover {
  box-shadow: 0 12px 28px rgba(13, 17, 16, 0.09);
}

.itp-stat-total {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.itp-stat-total strong {
  color: var(--itp-green);
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 72px;
  font-weight: 400;
  line-height: 68px;
  letter-spacing: -2px;
}

.itp-stat-total b {
  margin-top: 4px;
  color: var(--itp-ink);
  font-size: 17px;
  line-height: 25px;
}

.itp-stat-divider {
  background: var(--itp-border);
}

.itp-stat-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 12px;
}

.itp-stat-metrics p {
  margin: 0;
  padding: 11px 8px 10px;
  border: 1px solid var(--itp-metric-border, rgba(28, 107, 92, 0.14));
  border-radius: 12px;
  background: var(--itp-metric-bg, #f4f8f6);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42);
}

.itp-stat-metrics p:nth-child(1),
.itp-stat-metrics p:nth-child(4) {
  --itp-metric-bg: #fff;
  --itp-metric-border: #e4e8e5;
  --itp-metric-color: #1c6b5c;
}

.itp-stat-metrics p:nth-child(2) {
  --itp-metric-bg: #eef3f6;
  --itp-metric-border: #dbe4e8;
  --itp-metric-color: #26333a;
}

.itp-stat-metrics p:nth-child(3) {
  --itp-metric-bg: #e8f6f1;
  --itp-metric-border: #c7e5dc;
  --itp-metric-color: #137a67;
}

.itp-stat-metrics p:nth-child(5) {
  --itp-metric-bg: #fff3df;
  --itp-metric-border: #efd7b4;
  --itp-metric-color: #835419;
}

.itp-stat-metrics p:nth-child(6) {
  --itp-metric-bg: #eaf4ff;
  --itp-metric-border: #c8ddf2;
  --itp-metric-color: #246b9f;
}

.itp-stat-metrics strong {
  display: block;
  color: var(--itp-metric-color, var(--itp-ink));
  font-family: "IBM Plex Mono", monospace;
  font-size: 30px;
  font-weight: 700;
  line-height: 34px;
}

.itp-stat-metrics span {
  color: var(--itp-muted);
  font-size: 13px;
  line-height: 21px;
  white-space: nowrap;
}

.itp-year-chart {
  display: flex;
  flex-direction: column;
  justify-content: center;
  justify-self: stretch;
  width: 100%;
  max-width: 560px;
  gap: 14px;
}

.itp-year-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--itp-muted);
  font-size: 14px;
}

.itp-year-title b {
  font-size: 16px;
}

.itp-year-bars {
  display: flex;
  align-items: end;
  justify-content: space-between;
  width: 100%;
  height: 98px;
  gap: 16px;
}

.itp-stat-panel-prohibited .itp-year-chart {
  justify-content: center;
  align-items: stretch;
  max-width: 300px;
  margin: 0 auto;
}

.itp-stat-panel-prohibited .itp-year-title {
  justify-content: space-between;
  gap: 16px;
  padding: 0 4px;
}

.itp-stat-panel-prohibited .itp-year-bars {
  justify-content: space-between;
  width: min(280px, 100%);
  margin: 0 auto;
  gap: 12px;
}

.itp-stat-panel-prohibited .itp-year-bars span {
  width: 42px;
}

.itp-stat-panel-prohibited .itp-year-bars i {
  width: 24px;
}

.itp-stat-panel-prohibited .itp-year-bars .is-active i {
  width: 28px;
}

.itp-year-bars span {
  display: grid;
  justify-items: center;
  gap: 5px;
  color: var(--itp-soft-text);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
}

.itp-year-bars em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 19px;
  padding: 0 6px;
  border-radius: 999px;
  color: #5d706c;
  background: #edf5f2;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  line-height: 19px;
}

.itp-year-bars i {
  display: block;
  width: clamp(22px, 2vw, 34px);
  border-radius: 3px 3px 0 0;
  background: #a3d0c6;
  transform-origin: bottom;
}

.itp-year-bars .is-active {
  color: var(--itp-green);
  font-weight: 700;
}

.itp-year-bars .is-active em {
  color: #fff;
  background: var(--itp-green);
}

.itp-year-bars .is-active i {
  width: clamp(26px, 2.2vw, 38px);
  background: #1f7665;
}

.itp-meta-line {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 34px;
  margin: 0;
  padding-top: 4px;
  color: var(--itp-muted);
  font-size: 12px;
  line-height: 18px;
}

.itp-meta-line span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.itp-meta-line span::before {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0;
  border-radius: 999px;
  background: var(--itp-green);
  content: "";
}

.itp-meta-line b {
  color: var(--itp-green);
  font-weight: 700;
}

.itp-data-updated-at {
  margin-inline-start: auto;
  color: #88938f;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.itp-stat-footnote {
  grid-column: 1 / -1;
  margin: -14px 0 0;
  color: #a8b0ad;
  font-size: 11px;
  line-height: 18px;
}

.itp-data-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 286px;
  align-items: start;
  gap: 22px;
  margin-top: 20px;
}

/* 禁用目录没有侧栏，表格整幅铺开；提高特异性以覆盖断点里的两列规则。 */
.itp-data-layout.itp-data-layout-full {
  grid-template-columns: minmax(0, 1fr);
  margin-top: 0;
}

.itp-table-area {
  min-width: 0;
}

.itp-directory-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--itp-border);
}

.itp-directory-summary p {
  margin: 0;
  max-width: 420px;
  color: #5f6764;
  font-size: 12px;
  line-height: 20px;
  text-align: right;
}

.itp-filter-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.itp-filter-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 14px;
  border: 1px solid var(--itp-border-strong);
  border-radius: 999px;
  color: var(--itp-muted);
  background: #fff;
  font-size: 12px;
  transition:
    border-color var(--itp-motion-fast) var(--itp-ease),
    color var(--itp-motion-fast) var(--itp-ease),
    background var(--itp-motion-fast) var(--itp-ease),
    box-shadow var(--itp-motion-fast) var(--itp-ease),
    transform var(--itp-motion-fast) var(--itp-ease);
}

.itp-status-filter-row {
  flex-wrap: wrap;
  margin-top: -4px;
}

.itp-status-filter-row > span {
  color: var(--itp-soft-text);
  font-size: 12px;
}

.itp-filter-row a.is-active {
  border-color: var(--itp-green);
  color: #fff;
  background: var(--itp-green);
}

.itp-filter-row a:hover,
.itp-filter-row a:focus-visible {
  border-color: rgba(28, 107, 92, 0.42);
  box-shadow: 0 6px 14px rgba(20, 87, 72, 0.1);
  transform: translateY(-1px);
}

.itp-public-record-back,
.itp-public-record-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--itp-green);
  border-radius: 7px;
  color: #fff;
  background: var(--itp-green);
  font-size: 13px;
  font-weight: 700;
}

.itp-public-record-back {
  color: var(--itp-green);
  background: #fff;
}

.itp-result-region {
  position: relative;
  min-width: 0;
  transition: opacity var(--itp-motion-fast) var(--itp-ease);
}

.itp-result-region.is-loading {
  opacity: 0.55;
  pointer-events: none;
}

.itp-result-region.is-loading::after {
  position: absolute;
  top: 24px;
  left: 50%;
  width: 24px;
  height: 24px;
  border: 3px solid rgba(28, 107, 92, 0.2);
  border-top-color: var(--itp-green);
  border-radius: 50%;
  content: '';
  transform: translateX(-50%);
  animation: itp-result-loading 0.7s linear infinite;
}

@keyframes itp-result-loading {
  to {
    transform: translateX(-50%) rotate(360deg);
  }
}

.itp-public-record-link {
  color: var(--itp-green);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(28, 107, 92, 0.28);
  text-underline-offset: 3px;
}

.itp-public-record-location {
  white-space: nowrap;
}

.itp-public-record-card .itp-mobile-result-head .itp-status {
  flex: 0 1 auto;
  height: auto;
  margin: 0;
}

.itp-public-record-card .itp-public-record-more {
  min-height: 34px;
  margin: 0 14px 14px;
}

.itp-public-record-back {
  margin-bottom: 14px;
}

.itp-public-record-detail {
  overflow: hidden;
  border: 1px solid var(--itp-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(13, 17, 16, 0.06);
}

.itp-public-record-detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--itp-border);
  background: #f2f8f6;
}

.itp-public-record-detail-head p,
.itp-public-record-detail-head h2 {
  margin: 0;
}

.itp-public-record-detail-head p {
  margin-bottom: 5px;
  color: var(--itp-muted);
  font-size: 12px;
}

.itp-public-record-detail-head h2 {
  color: var(--itp-ink);
  font-size: 24px;
  line-height: 34px;
}

.itp-public-record-detail-head .itp-status {
  flex: 0 0 auto;
  margin: 0;
}

.itp-public-record-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 10px 24px;
}

.itp-public-record-fields > div {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #edf2ef;
}

.itp-public-record-fields dt,
.itp-public-record-fields dd {
  margin: 0;
  font-size: 14px;
  line-height: 22px;
}

.itp-public-record-fields dt {
  color: var(--itp-muted);
}

.itp-public-record-fields dd {
  color: var(--itp-ink);
  word-break: break-word;
}

.itp-public-record-attachment {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 18px 24px;
}

.itp-public-record-attachment a {
  color: var(--itp-green);
  font-weight: 700;
}

.itp-public-record-attachment span {
  color: var(--itp-muted);
  font-size: 12px;
}

.itp-public-record-history,
.itp-public-record-enrichment {
  margin: 0 24px 24px;
  padding: 20px;
  border-radius: 10px;
  background: #f8fbfa;
}

.itp-public-record-history h3,
.itp-public-record-enrichment h3 {
  margin: 0 0 12px;
  color: var(--itp-ink);
  font-size: 18px;
}

.itp-public-record-history h4 {
  margin: 18px 0 10px;
  color: var(--itp-ink);
  font-size: 14px;
}

.itp-public-record-history-raw,
.itp-public-record-enrichment-note,
.itp-public-record-enrichment-summary {
  margin: 0 0 12px;
  color: var(--itp-muted);
  font-size: 13px;
  line-height: 22px;
}

.itp-public-record-history ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.itp-public-record-history li {
  padding: 12px 14px;
  border-left: 3px solid var(--itp-green);
  background: #fff;
}

.itp-public-record-history li div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.itp-public-record-history li p,
.itp-public-record-history li time,
.itp-public-record-enrichment-content {
  color: var(--itp-muted);
  font-size: 13px;
  line-height: 22px;
}

.itp-public-record-history li p,
.itp-public-record-enrichment-content > :first-child {
  margin-top: 6px;
}

.itp-public-record-enrichment {
  border: 1px solid #e7ded0;
  background: #fffaf2;
}

.itp-table-wrap {
  position: relative;
  overflow: visible;
  border: 1px solid #efece0;
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(13, 17, 16, 0.05);
  transition: box-shadow var(--itp-motion-base) var(--itp-ease);
}

.itp-table-wrap:hover {
  box-shadow: 0 10px 24px rgba(13, 17, 16, 0.08);
}

.itp-mobile-result-list {
  display: none;
}

.itp-mobile-result-card {
  border: 1px solid var(--itp-border);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(13, 17, 16, 0.05);
  transition:
    box-shadow var(--itp-motion-base) var(--itp-ease),
    transform var(--itp-motion-base) var(--itp-ease);
}

.itp-mobile-result-card:hover {
  box-shadow: 0 10px 22px rgba(13, 17, 16, 0.08);
  transform: translateY(-3px);
}

.itp-mobile-result-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 14px 12px;
  border-bottom: 1px solid #edf2ef;
  background: #e8f2ef;
}

.itp-mobile-result-head strong {
  min-width: 0;
  color: var(--itp-ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 23px;
}

.itp-mobile-result-head span,
.itp-mobile-result-head em {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  color: var(--itp-green);
  background: #fff;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 22px;
}

.itp-mobile-result-head em {
  color: #fff;
  background: #ff4b4b;
}

.itp-mobile-result-card dl {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 4px 14px 12px;
}

.itp-mobile-result-card dl > div {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid #f0f4f2;
}

.itp-mobile-result-card dl > div:last-child {
  border-bottom: 0;
}

.itp-mobile-result-card dt,
.itp-mobile-result-card dd {
  margin: 0;
  font-size: 13px;
  line-height: 21px;
}

.itp-mobile-result-card dt {
  color: var(--itp-muted);
  white-space: nowrap;
}

.itp-mobile-result-card dd {
  min-width: 0;
  color: var(--itp-ink);
  word-break: break-word;
}

.itp-mobile-result-card dd .itp-status,
.itp-mobile-result-card dd .itp-status-empty {
  margin: 0;
}

.itp-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.itp-db-table th {
  height: 63px;
  padding: 12px 13px;
  color: #fff;
  background: var(--itp-green);
  font-size: 13px;
  font-weight: 700;
  line-height: 19.5px;
  text-align: left;
}

.itp-db-table td {
  height: 66px;
  padding: 12px 13px;
  border-bottom: 1px solid #edf2ef;
  color: #414645;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 14px;
  line-height: 21px;
  vertical-align: middle;
  transition: background var(--itp-motion-fast) var(--itp-ease);
}

.itp-db-table tr.is-tinted td {
  background: #e8f2ef;
}

.itp-db-table tbody tr:hover td {
  background: #eef7f4;
}

.itp-db-table th:nth-child(1),
.itp-db-table td:nth-child(1) {
  width: 10%;
}

.itp-db-table td:nth-child(1) {
  white-space: nowrap;
}

.itp-db-table th:nth-child(2),
.itp-db-table td:nth-child(2) {
  width: 14%;
}

.itp-db-table th:nth-child(3),
.itp-db-table td:nth-child(3) {
  width: 19%;
}

.itp-db-table th:nth-child(4),
.itp-db-table td:nth-child(4) {
  width: 16%;
}

.itp-db-table th:nth-child(5),
.itp-db-table td:nth-child(5) {
  width: 7%;
}

.itp-db-table th:nth-child(6),
.itp-db-table td:nth-child(6) {
  width: 9%;
}

.itp-db-table th:nth-child(7),
.itp-db-table td:nth-child(7) {
  width: 15%;
}

.itp-db-table th:nth-child(8),
.itp-db-table td:nth-child(8) {
  width: 10%;
}

.itp-db-table--with-extra-date th:nth-child(1),
.itp-db-table--with-extra-date td:nth-child(1) {
  width: 10%;
}

.itp-db-table--with-extra-date th:nth-child(2),
.itp-db-table--with-extra-date td:nth-child(2) {
  width: 10%;
}

.itp-db-table--with-extra-date td:nth-child(2) {
  white-space: nowrap;
}

.itp-db-table--with-extra-date th:nth-child(3),
.itp-db-table--with-extra-date td:nth-child(3) {
  width: 13%;
}

.itp-db-table--with-extra-date th:nth-child(4),
.itp-db-table--with-extra-date td:nth-child(4) {
  width: 17%;
}

.itp-db-table--with-extra-date th:nth-child(5),
.itp-db-table--with-extra-date td:nth-child(5) {
  width: 14%;
}

.itp-db-table--with-extra-date th:nth-child(6),
.itp-db-table--with-extra-date td:nth-child(6) {
  width: 7%;
}

.itp-db-table--with-extra-date th:nth-child(7),
.itp-db-table--with-extra-date td:nth-child(7) {
  width: 8%;
}

.itp-db-table--with-extra-date th:nth-child(8),
.itp-db-table--with-extra-date td:nth-child(8) {
  width: 13%;
}

.itp-db-table--with-extra-date th:nth-child(9),
.itp-db-table--with-extra-date td:nth-child(9) {
  width: 8%;
}

.itp-prohibited-db-table th:nth-child(1),
.itp-prohibited-db-table td:nth-child(1) {
  width: 10%;
}

.itp-prohibited-db-table th:nth-child(2),
.itp-prohibited-db-table td:nth-child(2) {
  width: 35%;
}

.itp-prohibited-db-table th:nth-child(3),
.itp-prohibited-db-table td:nth-child(3) {
  width: 55%;
}

.itp-prohibited-db-table--with-cas th:nth-child(2),
.itp-prohibited-db-table--with-cas td:nth-child(2) {
  width: 30%;
}

.itp-prohibited-db-table--with-cas th:nth-child(3),
.itp-prohibited-db-table--with-cas td:nth-child(3) {
  width: 42%;
}

.itp-prohibited-db-table--with-cas th:nth-child(4),
.itp-prohibited-db-table--with-cas td:nth-child(4) {
  width: 18%;
}

.itp-prohibited-group-head {
  cursor: pointer;
}

.itp-prohibited-group-head:hover,
.itp-prohibited-group-head:focus-visible {
  background: #f2f8f6;
}

.itp-group-toggle {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-top: 4px;
  color: var(--itp-green);
  font-size: 11px;
  line-height: 16px;
  white-space: nowrap;
}

/* .itp-db-table em 是列表里的红色角标，分组展开提示不能被它接管。 */
.itp-db-table .itp-group-toggle em {
  display: inline;
  height: auto;
  padding: 0;
  border-radius: 0;
  color: inherit;
  background: none;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  line-height: 16px;
}

.itp-group-toggle svg {
  transition: transform var(--itp-motion-fast) var(--itp-ease);
}

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

.itp-prohibited-group-child > td {
  height: auto;
  padding-top: 8px;
  padding-bottom: 8px;
  font-size: 13px;
}

.itp-prohibited-group-child > td:first-child {
  border-left: 2px solid var(--itp-green);
}

.itp-group-toggle-button {
  width: 100%;
  margin-top: 8px;
  padding: 7px 0;
  border: 1px solid var(--itp-border-strong);
  border-radius: 7px;
  color: var(--itp-green);
  background: #fff;
  font-size: 12px;
  cursor: pointer;
}

.itp-mobile-group-child {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--itp-border-strong);
}

.itp-mobile-group-child > strong {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
}

.itp-cell-lines {
  display: -webkit-box;
  max-height: 42px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  word-break: break-word;
}

.itp-cell-tooltip {
  position: relative;
  display: block;
  min-width: 0;
}

.itp-cell-tooltip .itp-cell-lines {
  cursor: help;
}

.itp-cell-tooltip-content {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  z-index: 90;
  width: max-content;
  max-width: min(360px, calc(100vw - 64px));
  padding: 8px 10px;
  border-radius: 8px;
  color: #fff;
  background: rgba(28, 31, 30, 0.96);
  box-shadow: 0 10px 24px rgba(16, 36, 31, 0.18);
  font-size: 12px;
  font-weight: 500;
  line-height: 20px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition:
    opacity var(--itp-motion-fast) var(--itp-ease),
    transform var(--itp-motion-fast) var(--itp-ease),
    visibility var(--itp-motion-fast) var(--itp-ease);
  visibility: hidden;
  white-space: normal;
  word-break: break-word;
}

.itp-cell-tooltip-content::after {
  position: absolute;
  bottom: -5px;
  left: 16px;
  width: 10px;
  height: 10px;
  background: rgba(28, 31, 30, 0.96);
  transform: rotate(45deg);
  content: "";
}

.itp-cell-tooltip:hover .itp-cell-tooltip-content,
.itp-cell-tooltip:focus-within .itp-cell-tooltip-content {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.itp-prohibited-db-table td:last-child .itp-cell-tooltip-content {
  right: 0;
  left: auto;
}

.itp-prohibited-db-table td:last-child .itp-cell-tooltip-content::after {
  right: 16px;
  left: auto;
}

.itp-cell-mono {
  font-family: inherit;
  line-height: 21px;
}

.itp-cell-muted {
  color: #828887;
}

.itp-ingredient-name {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 7px;
  color: #313433;
}

.itp-ingredient-name .itp-cell-lines {
  min-width: 0;
}

.itp-db-table em {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  color: #fff;
  background: #ff4b4b;
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  line-height: 18px;
}

.itp-db-table th.itp-status-heading,
.itp-db-table th.itp-detail-heading,
.itp-db-table td.itp-status-cell,
.itp-db-table td.itp-detail-cell {
  padding-inline: 4px;
  text-align: center;
}

.itp-status-cell,
.itp-detail-cell {
  vertical-align: middle;
}

a.itp-public-record-detail-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 6px;
  color: #fff;
  background: var(--itp-detail-action);
  box-shadow: 0 1px 2px rgba(37, 99, 235, 0.22);
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  touch-action: manipulation;
}

a.itp-public-record-detail-button:hover {
  background: var(--itp-detail-action-hover);
  box-shadow: 0 5px 12px rgba(37, 99, 235, 0.24);
}

a.itp-public-record-detail-button:focus-visible {
  outline-offset: 2px;
}

@media (prefers-reduced-motion: no-preference) {
  a.itp-public-record-detail-button {
    transition:
      background var(--itp-motion-fast) var(--itp-ease),
      box-shadow var(--itp-motion-fast) var(--itp-ease),
      transform var(--itp-motion-fast) var(--itp-ease);
  }

  a.itp-public-record-detail-button:hover {
    transform: translateY(-1px);
  }

  a.itp-public-record-detail-button:active {
    transform: scale(0.96);
  }
}

.itp-status {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 54px;
  min-height: 22px;
  padding: 2px 8px;
  margin: 0 auto;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 17px;
  text-align: center;
}

.itp-status-monitoring {
  color: #295fa8;
  background: #eaf1fb;
}

.itp-status-registered {
  color: #1f7350;
  background: #e8f6ef;
}

.itp-status-catalog {
  color: #705313;
  background: #fff3c9;
}

.itp-status-terminal {
  color: #963b36;
  background: #fdecea;
}

.itp-status-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 22px;
  margin: 0 auto;
  color: #313433;
  font-size: 14px;
  line-height: 21px;
}

.itp-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.itp-pagination a,
.itp-pagination > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--itp-border-strong);
  border-radius: 5px;
  color: var(--itp-muted);
  background: #fff;
  font-size: 12px;
  transition:
    border-color var(--itp-motion-fast) var(--itp-ease),
    color var(--itp-motion-fast) var(--itp-ease),
    background var(--itp-motion-fast) var(--itp-ease),
    box-shadow var(--itp-motion-fast) var(--itp-ease),
    transform var(--itp-motion-fast) var(--itp-ease);
}

.itp-pagination a.is-active,
.itp-pagination > span.is-active {
  border-color: var(--itp-green);
  color: #fff;
  background: var(--itp-green);
}

.itp-pagination a:hover,
.itp-pagination a:focus-visible {
  border-color: rgba(28, 107, 92, 0.42);
  box-shadow: 0 6px 12px rgba(20, 87, 72, 0.1);
  transform: translateY(-1px);
}

.itp-pagination-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
}

.itp-pagination-bar .itp-pagination {
  gap: 4px;
  margin-top: 0;
}

.itp-pagination-bar .itp-pagination a,
.itp-pagination-bar .itp-pagination > span {
  min-width: 40px;
  height: 40px;
  padding: 0 8px;
  font-size: 14px;
}

.itp-pagination-bar .itp-pagination a {
  text-decoration: none;
}

.itp-pagination .itp-pagination-direction {
  padding: 0;
}

.itp-pagination .itp-pagination-direction svg {
  pointer-events: none;
}

.itp-pagination .itp-pagination-direction.is-disabled {
  cursor: not-allowed;
  color: #b9bfbd;
  background: #f7f8f8;
}

.itp-pagination .itp-pagination-ellipsis {
  min-width: 28px;
  padding: 0;
  border-color: transparent;
  color: var(--itp-muted);
  background: transparent;
}

.itp-pagination-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.itp-pagination-count {
  color: var(--itp-muted);
  font-size: 14px;
  white-space: nowrap;
}

.itp-pagination-size,
.itp-pagination-size label {
  display: flex;
  align-items: center;
}

.itp-pagination-size-select {
  position: relative;
  display: inline-flex;
  min-width: 104px;
  height: 40px;
}

.itp-pagination-size-select select {
  width: 100%;
  height: 100%;
  padding: 0 34px 0 14px;
  border: 1px solid var(--itp-border-strong);
  border-radius: 5px;
  appearance: none;
  color: var(--itp-muted);
  background: #fff;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.itp-pagination-size-select > i {
  position: absolute;
  top: 50%;
  right: 13px;
  width: 10px;
  height: 6px;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%231c6b5c' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transform: translateY(-50%);
}

.itp-pagination-size-select select:focus-visible {
  outline: 2px solid rgba(28, 107, 92, 0.42);
  outline-offset: 2px;
}

.itp-pagination-size .select2-container {
  min-width: 104px;
  color: var(--itp-muted);
  font-size: 14px;
}

.itp-pagination-size .select2-selection--single {
  height: 40px;
  border-color: var(--itp-border-strong);
  border-radius: 5px;
}

.itp-pagination-size
  .select2-selection--single
  .select2-selection__rendered {
  padding-right: 34px;
  color: var(--itp-muted);
  line-height: 38px;
}

.itp-pagination-size
  .select2-selection--single
  .select2-selection__arrow {
  height: 40px;
}

.itp-pagination-size .select2-selection--single:focus-visible {
  outline: 2px solid rgba(28, 107, 92, 0.42);
  outline-offset: 2px;
}

.itp-pagination-size-dropdown {
  min-width: 104px;
  border-color: var(--itp-border-strong);
  font-size: 14px;
}

.itp-pagination-size-dropdown .select2-results__option {
  padding: 8px 14px;
}

.itp-visually-hidden {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  border: 0;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.itp-side-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 40px;
}

.itp-side-panel-compact {
  gap: 10px;
}

.itp-side-card {
  display: block;
  padding: 16px;
  border: 1px solid var(--itp-border-strong);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 1px rgba(13, 17, 16, 0.05);
  text-decoration: none;
  transition:
    border-color var(--itp-motion-base) var(--itp-ease),
    box-shadow var(--itp-motion-base) var(--itp-ease),
    transform var(--itp-motion-base) var(--itp-ease);
}

.itp-side-panel-compact .itp-side-card {
  padding: 12px 14px;
}

.itp-side-card:hover {
  border-color: rgba(28, 107, 92, 0.22);
  box-shadow: 0 10px 22px rgba(13, 17, 16, 0.08);
  transform: translateY(-3px);
}

.itp-side-card h2 {
  margin: 0;
  color: var(--itp-ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
}

.itp-side-card p {
  margin: 3px 0 14px;
  color: var(--itp-soft-text);
  font-size: 10.5px;
  line-height: 16px;
}

.itp-side-panel-compact .itp-side-card p {
  margin-bottom: 8px;
}

.itp-side-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.itp-side-panel-compact .itp-side-card-head {
  margin-bottom: 8px;
}

.itp-side-card-head p {
  margin-bottom: 0;
}

.itp-side-card-head > span {
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--itp-green);
  background: #eef7f4;
  font-size: 10px;
  font-weight: 700;
  line-height: 14px;
}

.itp-ranking-card {
  cursor: pointer;
}

.itp-ranking-card:focus-visible,
.itp-official-card:focus-visible {
  outline: 2px solid rgba(28, 107, 92, 0.35);
  outline-offset: 3px;
}

.itp-ranking-row {
  display: grid;
  grid-template-columns: 22px minmax(46px, 76px) minmax(0, 1fr) 34px;
  gap: 8px;
  align-items: center;
  margin-top: 9px;
  color: var(--itp-muted);
  font-size: 11px;
}

.itp-side-panel-compact .itp-ranking-row {
  margin-top: 6px;
}

.itp-ranking-row em,
.itp-frequency-list span {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  color: var(--itp-green);
  background: #edf6f3;
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
}

.itp-ranking-row strong {
  min-width: 0;
  overflow: hidden;
  color: var(--itp-ink);
  font-size: 11px;
  font-weight: 700;
  line-height: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.itp-ranking-row i,
.itp-ranking-list i {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf5f2;
}

.itp-ranking-row b,
.itp-ranking-list b {
  display: block;
  max-width: 100%;
  height: 100%;
  border-radius: inherit;
  background: var(--itp-green);
}

.itp-ranking-row span {
  color: var(--itp-green);
  font-weight: 700;
  text-align: right;
}

.itp-frequency-list {
  display: grid;
  gap: 9px;
  max-height: 214px;
  overflow-y: auto;
  overscroll-behavior: contain;
  margin: 0;
  padding: 0 6px 0 0;
  list-style: none;
  scrollbar-color: rgba(28, 107, 92, 0.45) #edf5f2;
  scrollbar-width: thin;
}

.itp-side-panel-compact .itp-frequency-list {
  gap: 7px;
  max-height: 136px;
}

.itp-frequency-list::-webkit-scrollbar {
  width: 5px;
}

.itp-frequency-list::-webkit-scrollbar-track {
  border-radius: 999px;
  background: #edf5f2;
}

.itp-frequency-list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(28, 107, 92, 0.45);
}

.itp-frequency-list li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 32px;
  gap: 8px;
  align-items: center;
  min-height: 26px;
}

.itp-side-panel-compact .itp-frequency-list li {
  min-height: 22px;
}

.itp-frequency-list strong {
  display: -webkit-box;
  min-width: 0;
  overflow: hidden;
  color: var(--itp-ink);
  font-size: 11px;
  font-weight: 600;
  line-height: 16px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.itp-frequency-list em {
  color: var(--itp-green);
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  text-align: right;
}

.itp-official-card {
  color: inherit;
}

.itp-official-card strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 30px;
  margin-top: 12px;
  border-radius: 7px;
  color: #fff;
  background: var(--itp-green);
  font-size: 11px;
  font-weight: 700;
}

.itp-side-panel-compact .itp-official-card strong {
  height: 28px;
  margin-top: 10px;
}

.itp-ranking-modal.hidden {
  display: none;
}

.itp-modal-open body {
  overflow: hidden;
}

.itp-ranking-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 28px;
}

.itp-ranking-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 31, 28, 0.5);
}

.itp-ranking-dialog {
  position: relative;
  z-index: 1;
  width: min(430px, 100%);
  max-height: min(640px, calc(100vh - 56px));
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--itp-border-strong);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(13, 17, 16, 0.18);
}

.itp-ranking-dialog > button {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  color: var(--itp-green);
  background: #eef7f4;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

.itp-ranking-dialog > span {
  display: none;
}

.itp-ranking-dialog h2 {
  margin: 0 38px 14px 0;
  padding-bottom: 10px;
  border-bottom: 1px solid #a8b1ad;
  color: var(--itp-green);
  font-size: 18px;
  font-weight: 700;
  line-height: 26px;
}

.itp-ranking-list {
  display: grid;
  gap: 10px;
  max-height: min(540px, calc(100vh - 156px));
  overflow-y: auto;
  overscroll-behavior: contain;
  contain: paint;
  margin: 0;
  padding: 0 6px 0 0;
  list-style: none;
  scrollbar-color: rgba(28, 107, 92, 0.45) #edf5f2;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
}

.itp-ranking-list::-webkit-scrollbar {
  width: 5px;
}

.itp-ranking-list::-webkit-scrollbar-track {
  border-radius: 999px;
  background: #edf5f2;
}

.itp-ranking-list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(28, 107, 92, 0.45);
}

.itp-ranking-list li {
  display: grid;
  grid-template-columns: 26px minmax(72px, 120px) minmax(0, 1fr) 42px;
  gap: 10px;
  align-items: center;
  min-height: 34px;
  padding: 8px 0;
  border-bottom: 1px solid #edf2ef;
}

.itp-ranking-list li:last-child {
  border-bottom: 0;
}

.itp-ranking-list em {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  color: var(--itp-green);
  background: #edf6f3;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
}

.itp-ranking-list strong {
  min-width: 0;
  overflow: hidden;
  color: var(--itp-ink);
  font-size: 13px;
  line-height: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.itp-ranking-list span {
  color: var(--itp-green);
  font-size: 13px;
  font-weight: 700;
  text-align: right;
}

.itp-share-ranking-list {
  gap: 2px;
}

.itp-share-ranking-list li {
  grid-template-columns: minmax(56px, 84px) minmax(0, 1fr) 52px auto;
  min-height: 28px;
  padding: 3px 6px;
  border: 0;
  border-radius: 5px;
  transition: background var(--itp-motion-fast) var(--itp-ease);
}

.itp-share-ranking-list li:hover {
  background: #d8ece7;
}

.itp-share-ranking-list strong {
  color: var(--itp-ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
  overflow: visible;
  overflow-wrap: anywhere;
  text-overflow: clip;
  white-space: normal;
}

.itp-share-ranking-list i {
  height: 8px;
  background: transparent;
}

.itp-share-ranking-list b {
  min-width: 5px;
  background: var(--itp-green);
}

.itp-share-ranking-list span {
  color: var(--itp-ink);
  font-size: 12px;
  font-weight: 500;
  text-align: right;
  white-space: nowrap;
}

.itp-share-ranking-list em {
  display: inline-grid;
  place-items: center;
  width: auto;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 5px;
  color: #fff;
  background: #999f9c;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
}

.itp-donut-row {
  display: flex;
  align-items: center;
  gap: 18px;
}

.itp-donut {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: conic-gradient(var(--itp-green) 0 79%, #98cfc3 79% 91%, #dfeeea 91% 100%);
  box-shadow: inset 0 0 0 16px #fff;
  transition: transform var(--itp-motion-base) var(--itp-ease);
}

.itp-side-card:hover .itp-donut {
  transform: rotate(12deg) scale(1.03);
}

.itp-donut-row ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  color: var(--itp-muted);
  font-size: 11px;
  list-style: none;
}

.itp-progress-row {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) 30px;
  gap: 10px;
  align-items: center;
  margin: 9px 0;
  color: var(--itp-muted);
  font-size: 11px;
}

.itp-progress-row span {
  min-width: 0;
  line-height: 16px;
}

.itp-progress-row i {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf5f2;
}

.itp-progress-row b {
  display: block;
  max-width: 100%;
  height: 100%;
  border-radius: inherit;
  background: var(--itp-green);
  transform-origin: left center;
}

.itp-progress-row strong {
  color: var(--itp-green);
  font-size: 11px;
  text-align: right;
}

.itp-small-bars {
  display: flex;
  align-items: end;
  justify-content: space-between;
  height: 48px;
  gap: 8px;
}

.itp-small-bars i {
  flex: 1 1 0;
  display: block;
  max-width: 38px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #6fb5a8, var(--itp-green));
  transform-origin: bottom;
}

.itp-small-bars i:nth-child(1) { height: 31px; }
.itp-small-bars i:nth-child(2) { height: 38px; }
.itp-small-bars i:nth-child(3) { height: 42px; }
.itp-small-bars i:nth-child(4) { height: 28px; }
.itp-small-bars i:nth-child(5) { height: 35px; }

.itp-query-card div {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
}

.itp-query-card span {
  display: grid;
  place-items: center;
  height: 28px;
  border-radius: 7px;
  color: #4f7f77;
  background: #f2f7f5;
  font-size: 10px;
}

.itp-external-card p {
  margin-bottom: 8px;
}

.itp-external-card span {
  display: block;
  color: #5f6764;
  font-size: 11px;
  line-height: 18px;
}

.itp-external-card em {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
  color: var(--itp-green);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  line-height: 16px;
}

.itp-external-card em::after {
  content: "↗";
  font-size: 12px;
}

.itp-ingredient-note-band {
  padding: 48px 0;
}

.itp-ingredient-note-card {
  padding: 30px 38px;
  border-radius: 14px;
}

.itp-note-title {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
  text-align: center;
}

.itp-note-title h2 {
  margin: 0;
  font-size: 22px;
  line-height: 30px;
}

.itp-ingredient-note-card ol {
  grid-template-columns: 1fr;
  gap: 14px;
}

.itp-ingredient-note-card li {
  min-height: 28px;
  padding-left: 32px;
  font-size: 13px;
  line-height: 22px;
}

.itp-ingredient-note-card li::before {
  width: 22px;
  height: 22px;
  font-size: 11px;
}

.itp-footer {
  height: 500px;
  color: rgba(255, 255, 255, 0.8);
  background: #2b2b2b;
}

.itp-footer-inner {
  position: relative;
  display: grid;
  grid-template-columns: 305px repeat(4, 105px) 375px;
  gap: 36px;
  height: 500px;
  padding-top: 70px;
}

.itp-footer-brand {
  display: flex;
  flex-direction: column;
}

.itp-footer-brand img {
  width: 260px;
  height: 74px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 10px;
}

.itp-footer-brand p {
  margin: 0 0 10px 26px;
  color: #fff;
  font-size: 16px;
  line-height: 40px;
}

.itp-footer-brand strong {
  color: #fff;
  font-size: 36px;
  font-weight: 400;
  line-height: 40px;
}

.itp-footer-brand span {
  color: #fff;
  font-size: 14px;
  line-height: 40px;
}

.itp-footer-links {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.itp-footer-links strong {
  margin-bottom: 24px;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.itp-footer-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 36px;
}

.itp-qr-wrap {
  display: flex;
  gap: 53px;
}

.itp-qr-wrap span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 162px;
  color: #fff;
  font-size: 12px;
  line-height: 18px;
  text-align: center;
}

.itp-qr-wrap img {
  width: 160px;
  height: 160px;
  object-fit: cover;
}

.itp-copyright {
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  margin: 0 !important;
  padding-top: 19px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 12px;
  line-height: 18px;
  text-align: center;
}

.itp-float {
  position: fixed;
  right: 0;
  top: 454px;
  z-index: 50;
  display: grid;
  gap: 12px;
  width: 52px;
}

.itp-float a {
  display: grid;
  place-items: center;
  width: 52px;
  height: 62px;
  padding: 6px 4px;
  border-radius: 5px 0 0 5px;
  color: #fff;
  background: #3b7dd8;
  box-shadow: 0 4px 6px rgba(13, 17, 16, 0.08);
  font-size: 11px;
  line-height: 16px;
  text-align: center;
}

.itp-float a + a {
  background: #2e9e6b;
}

.itp-reveal .itp-year-bars i,
.itp-reveal .itp-small-bars i {
  transform: scaleY(0.08);
}

.itp-reveal.is-visible .itp-year-bars i,
.itp-reveal.is-visible .itp-small-bars i {
  animation: itp-bar-grow-y 720ms var(--itp-ease-out) both;
}

.itp-reveal .itp-progress-row b {
  transform: scaleX(0.08);
}

.itp-reveal.is-visible .itp-progress-row b {
  animation: itp-bar-grow-x 720ms var(--itp-ease-out) both;
}

.itp-reveal.is-visible .itp-year-bars span:nth-child(2) i,
.itp-reveal.is-visible .itp-progress-row:nth-of-type(2) b,
.itp-reveal.is-visible .itp-small-bars i:nth-child(2) {
  animation-delay: 80ms;
}

.itp-reveal.is-visible .itp-year-bars span:nth-child(3) i,
.itp-reveal.is-visible .itp-progress-row:nth-of-type(3) b,
.itp-reveal.is-visible .itp-small-bars i:nth-child(3) {
  animation-delay: 140ms;
}

.itp-reveal.is-visible .itp-year-bars span:nth-child(4) i,
.itp-reveal.is-visible .itp-small-bars i:nth-child(4) {
  animation-delay: 200ms;
}

.itp-reveal.is-visible .itp-year-bars span:nth-child(5) i,
.itp-reveal.is-visible .itp-small-bars i:nth-child(5) {
  animation-delay: 260ms;
}

@media (prefers-reduced-motion: reduce) {
  .ingretool-preview-body *,
  .ingretool-preview-body *::before,
  .ingretool-preview-body *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .itp-reveal,
  .itp-reveal .itp-year-bars i,
  .itp-reveal .itp-small-bars i,
  .itp-reveal .itp-progress-row b {
    opacity: 1 !important;
    transform: none !important;
  }
}

.ingretool-preview-body .footer-center {
  width: min(1100px, calc(100% - 40px));
  min-width: 0;
}

.ingretool-preview-body .footer-nav {
  max-width: 100%;
}

.ingretool-preview-body .floating-consult-tools {
  right: 24px;
  z-index: 45;
}

@media (min-width: 1600px) {
  .itp-tools-band .itp-frame {
    width: min(1840px, calc(100% - 80px));
  }

  .itp-figma-card-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-template-rows: minmax(460px, auto);
    width: 100%;
  }

  .itp-figma-card,
  .itp-figma-card:nth-child(4),
  .itp-figma-card:nth-child(5) {
    grid-column: auto;
  }
}

@media (min-width: 981px) and (max-width: 1599px) {
  .itp-figma-card h2 {
    font-size: 19px;
    line-height: 27px;
  }

  .itp-card-subtitle {
    font-size: 13px;
    line-height: 20px;
  }

  .itp-card-text {
    max-width: 330px;
    font-size: 14px;
    line-height: 24px;
  }

  .itp-card-action {
    min-height: 38px;
    padding: 9px 20px;
    font-size: 14px;
  }
}

@media (max-width: 1360px) {
  .itp-frame,
  .itp-header-inner,
  .itp-data-panel {
    width: min(1120px, calc(100% - 40px));
  }

  .itp-home-hero h1,
  .itp-home-copy,
  .itp-home-search,
  .itp-home-hotline {
    left: 0;
    width: 100%;
  }

  .itp-figma-card-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    width: 100%;
  }

  .itp-figma-card,
  .itp-figma-card:nth-child(4),
  .itp-figma-card:nth-child(5) {
    width: auto;
  }

  .itp-note-card {
    width: 100%;
  }

  .itp-data-layout {
    grid-template-columns: minmax(0, 1fr) 286px;
  }

  .itp-footer-inner {
    grid-template-columns: 280px repeat(4, 95px) 300px;
    gap: 28px;
  }

  .itp-qr-wrap {
    gap: 24px;
  }
}

@media (max-width: 980px) {
  .itp-home-hero {
    height: auto;
    min-height: 500px;
    padding: 42px 0;
  }

  .itp-home-hero .itp-frame {
    height: auto;
  }

  .itp-home-hero h1,
  .itp-home-copy,
  .itp-home-search,
  .itp-home-hotline {
    position: relative;
    top: auto;
    left: auto;
  }

  .itp-home-hero h1 {
    width: 100%;
    font-size: 34px;
    line-height: 44px;
  }

  .itp-home-copy {
    width: 100%;
    margin-top: 16px;
    font-size: 15px;
  }

  .itp-home-search {
    width: 100%;
    margin-top: 54px;
  }

  .itp-home-hotline {
    width: 100%;
    margin-top: 30px;
    align-items: flex-start;
    flex-direction: column;
    height: auto;
    gap: 12px;
  }

  .itp-home-hotline div {
    flex-wrap: wrap;
  }

  .itp-tools-band {
    padding-top: 64px;
  }

  .itp-search-results-band {
    padding-bottom: 42px;
  }

  .itp-search-result-panel {
    margin-top: -28px;
    padding: 24px;
  }

  .itp-search-result-head {
    flex-direction: column;
    gap: 14px;
  }

  .itp-prohibited-table {
    min-width: 860px;
  }

  .itp-figma-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }

  .itp-figma-card,
  .itp-figma-card:nth-child(4),
  .itp-figma-card:nth-child(5) {
    grid-column: auto;
    min-height: 460px;
    padding: 44px 34px 34px;
  }

  .itp-data-panel {
    padding: 20px;
  }

  .itp-data-layout,
  .itp-ingredient-note-card ol {
    grid-template-columns: 1fr;
  }

  .itp-directory-summary {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .itp-directory-summary p {
    max-width: none;
    text-align: left;
  }

  .itp-side-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 0;
  }

  .itp-side-card {
    min-width: 0;
  }

  .itp-stat-panel {
    grid-template-columns: 130px 1px 230px 1px minmax(0, 1fr);
    gap: 14px 16px;
    padding: 24px;
  }

  .itp-stat-total strong {
    font-size: 56px;
    line-height: 58px;
  }

  .itp-stat-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 22px;
  }

  .itp-stat-metrics strong {
    font-size: 26px;
    line-height: 30px;
  }

  .itp-year-bars {
    gap: 10px;
  }

  .itp-year-bars i {
    width: 22px;
  }

  .itp-year-bars .is-active i {
    width: 26px;
  }

  .itp-meta-line {
    gap: 8px 28px;
    padding-top: 4px;
  }

  .itp-footer {
    height: auto;
  }

  .itp-footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    height: auto;
    padding-bottom: 90px;
  }

  .itp-footer-brand,
  .itp-qr-wrap,
  .itp-copyright {
    grid-column: 1 / -1;
  }

  .ingretool-preview-body .floating-consult-tools {
    right: 18px;
  }
}

@media (min-width: 641px) and (max-width: 1200px) {
  .ingretool-preview-body .floating-consult-tools {
    position: static !important;
    transform: none !important;
    display: flex !important;
    justify-content: center;
    width: min(280px, calc(100% - 40px)) !important;
    margin: 24px auto !important;
  }

  .ingretool-preview-body .floating-tool-guide {
    display: none !important;
  }

  .ingretool-preview-body .floating-tool-item {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100% !important;
    height: 46px !important;
    min-height: 46px !important;
    padding: 0 18px !important;
    border-radius: 999px !important;
    box-shadow: 0 8px 18px rgba(20, 87, 72, 0.18) !important;
  }

  .ingretool-preview-body .floating-tool-icon {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
  }

  .ingretool-preview-body .floating-tool-label {
    position: static !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    overflow: visible !important;
    clip: auto !important;
    white-space: nowrap !important;
    font-size: 14px;
    line-height: 20px;
  }
}

@media (max-width: 640px) {
  .itp-frame,
  .itp-header-inner,
  .itp-data-panel {
    width: calc(100% - 32px);
  }

  .itp-header,
  .itp-header-inner {
    height: 58px;
  }

  .itp-logo {
    width: 110px;
  }

  .itp-account {
    gap: 10px;
    font-size: 12px;
  }

  .itp-account-name {
    max-width: 92px;
  }

  .itp-account-primary {
    min-width: 48px;
    padding: 6px 12px;
  }

  .itp-home-hero h1 {
    max-width: 330px;
    margin: 0 auto;
    font-size: 23px;
    line-height: 32px;
  }

  .itp-home-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    height: auto;
    gap: 8px;
    overflow: visible;
    padding-bottom: 0;
  }

  .itp-home-tabs button,
  .itp-home-tabs a {
    width: 100%;
    height: 34px;
    padding: 0 8px;
    font-size: 13px;
    white-space: nowrap;
  }

  .itp-home-search-box {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    height: auto;
    padding: 8px;
  }

  .itp-home-source-dropdown {
    width: 100%;
    height: 36px;
    border-right: 0;
    border-bottom: 1px solid var(--itp-border);
  }

  .itp-home-source-toggle {
    justify-content: flex-start;
    height: 36px;
    padding: 0 12px;
    border-radius: 6px 6px 0 0;
    font-size: 14px;
  }

  .itp-home-source-toggle i {
    margin-left: auto;
  }

  .itp-home-source-menu {
    width: 100%;
  }

  .itp-home-search-box input {
    width: 100%;
    height: 44px;
    padding: 0 10px;
    font-size: 14px;
  }

  .itp-home-search {
    margin-top: 44px;
  }

  .itp-home-hotline {
    margin-top: 26px;
  }

  .itp-home-search-submit {
    flex: 0 0 auto;
    width: 100%;
    height: 44px;
    padding: 0 16px;
    gap: 9px;
    font-size: 14px;
  }

  .itp-search-results-band {
    padding-bottom: 34px;
  }

  .itp-search-result-panel {
    margin-top: -18px;
    padding: 20px 16px;
    border-radius: 14px;
  }

  .itp-search-result-eyebrow {
    font-size: 11px;
    letter-spacing: 1.4px;
  }

  .itp-search-result-head h2 {
    font-size: 21px;
    line-height: 29px;
  }

  .itp-search-empty {
    padding: 24px 16px;
    font-size: 14px;
    line-height: 24px;
  }

  .itp-tools-band {
    padding: 48px 0;
  }

  .itp-figma-card-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .itp-figma-card {
    min-height: 410px;
    padding: 28px 24px;
  }

  .itp-card-text {
    width: 100%;
  }

  .itp-note-card {
    padding: 28px 20px;
  }

  .itp-note-card h2 {
    font-size: 22px;
  }

  .itp-note-title {
    flex-wrap: wrap;
    row-gap: 4px;
  }

  .itp-note-card li {
    white-space: normal;
  }

  .itp-ingredient-hero {
    height: auto;
    min-height: 236px;
  }

  .itp-ingredient-hero-inner {
    height: auto;
    padding: 30px 0;
  }

  .itp-ingredient-hero h1 {
    max-width: 330px;
    font-size: 22px;
    line-height: 31px;
  }

  .itp-ingredient-search {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 8px 10px;
    width: 100%;
    height: auto;
    padding: 10px;
  }

  .itp-ingredient-search input {
    width: 100%;
    height: 38px;
    font-size: 14px;
  }

  .itp-ingredient-search button {
    grid-column: 1 / -1;
    width: 100%;
    height: 40px;
    font-size: 14px;
  }

  .itp-stat-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .itp-stat-panel {
    grid-template-columns: 1fr;
  }

  .itp-stat-divider {
    height: 1px;
  }

  .itp-year-bars {
    justify-content: space-between;
    gap: 10px;
  }

  .itp-stat-panel-prohibited .itp-year-bars {
    width: min(280px, 100%);
    justify-content: space-between;
    gap: 8px;
  }

  .itp-filter-row {
    flex-wrap: wrap;
    overflow: visible;
  }

  .itp-filter-row a {
    flex: 0 0 auto;
  }

  .itp-public-record-detail-head {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px;
  }

  .itp-public-record-detail-head .itp-status {
    margin: 0;
  }

  .itp-public-record-fields {
    grid-template-columns: 1fr;
    padding: 8px 18px;
  }

  .itp-public-record-fields > div {
    grid-template-columns: 102px minmax(0, 1fr);
  }

  .itp-public-record-attachment {
    padding: 16px 18px;
  }

  .itp-public-record-history,
  .itp-public-record-enrichment {
    margin: 0 18px 18px;
    padding: 16px;
  }

  .itp-public-record-history li div {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .itp-table-wrap {
    display: none;
  }

  .itp-mobile-result-list {
    display: grid;
    gap: 12px;
  }

  .itp-pagination {
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100%;
  }

  .itp-pagination a {
    flex: 0 0 auto;
  }

  .itp-pagination-bar {
    gap: 12px;
  }

  .itp-pagination-bar .itp-pagination,
  .itp-pagination-meta {
    width: 100%;
  }

  .itp-pagination-meta {
    justify-content: center;
  }

  .itp-side-panel {
    grid-template-columns: 1fr;
  }

  .itp-query-card div {
    grid-template-columns: 1fr;
  }

  .itp-progress-row {
    grid-template-columns: 58px minmax(0, 1fr) 34px;
  }

  .itp-donut-row {
    gap: 14px;
  }

  .itp-small-bars {
    justify-content: space-between;
  }

  .itp-small-bars i {
    width: 18%;
  }

  .itp-footer-inner {
    grid-template-columns: 1fr;
  }

  .itp-footer-links,
  .itp-footer-brand,
  .itp-qr-wrap,
  .itp-copyright {
    grid-column: auto;
  }

  .itp-qr-wrap {
    flex-wrap: wrap;
  }

  .ingretool-preview-body .floating-consult-tools {
    position: static !important;
    transform: none !important;
    display: flex !important;
    justify-content: center;
    gap: 8px;
    width: calc(100% - 32px) !important;
    margin: 18px auto !important;
  }

  .ingretool-preview-body .floating-tool-guide {
    display: none !important;
  }

  .ingretool-preview-body .floating-tool-item {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100% !important;
    max-width: 342px;
    height: 46px !important;
    min-height: 46px !important;
    padding: 0 18px !important;
    border-radius: 999px !important;
    box-shadow: 0 8px 18px rgba(20, 87, 72, 0.18) !important;
  }

  .ingretool-preview-body .floating-tool-icon {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
  }

  .ingretool-preview-body .floating-tool-label {
    position: static !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    overflow: visible !important;
    clip: auto !important;
    white-space: nowrap !important;
    font-size: 14px;
    line-height: 20px;
  }

  .ingretool-preview-body .footer-center {
    width: calc(100% - 32px);
  }

  .ingretool-preview-body .footer-nav {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .itp-float {
    display: none;
  }
}
