.pipeToolsPage {
  background: #f5f2ec;
  color: #2d2925;
  min-height: 70vh;
  padding-bottom: 70px;
  font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}
.pipeToolsPage * {
  box-sizing: border-box;
}
.pipeToolsPage .sectionWrapper {
  max-width: 1180px;
}
.pipeToolsPage .pathSection {
  padding-top: 22px;
  color: #857c70;
}
.pipeToolsPage .pathSection a {
  color: #68543f;
}
.pipeToolsPage .pathSection span {
  margin: 0 8px;
}
.toolHero {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 50px;
  padding: 72px 0 54px;
  border-bottom: 1px solid #d8d1c8;
}
.toolHero > div:first-child {
  max-width: 760px;
}
.toolEyebrow {
  display: block;
  color: #8b5c35;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.4px;
  margin-bottom: 18px;
}
.toolHero h1 {
  font-family: Georgia, "Songti SC", serif;
  font-size: 47px;
  line-height: 1.16;
  font-weight: 500;
  letter-spacing: -1px;
  color: #2d2925;
  margin: 0 0 19px;
}
.toolHero p {
  max-width: 710px;
  color: #6d665e;
  font-size: 16px;
  line-height: 1.9;
  margin: 0;
}
.toolHeroIndex {
  padding-top: 86px;
  align-items: center;
}
.toolHeroIndex h1 {
  font-size: 58px;
}
.toolHeroMark {
  position: relative;
  width: 260px;
  height: 130px;
  flex: 0 0 260px;
}
.toolHeroMark span {
  position: absolute;
  left: 8px;
  top: 6px;
  width: 92px;
  height: 92px;
  border: 14px solid #4e3d2e;
  border-top-width: 8px;
  border-radius: 9px 9px 34px 34px;
  transform: rotate(-5deg);
}
.toolHeroMark i {
  position: absolute;
  left: 84px;
  top: 70px;
  width: 160px;
  height: 31px;
  border-bottom: 14px solid #4e3d2e;
  border-radius: 0 0 80px 0;
  transform: rotate(3deg);
}
.toolMetric {
  border-left: 1px solid #bcae9f;
  padding: 2px 0 2px 28px;
  min-width: 200px;
}
.toolMetric span,
.toolMetric small {
  display: block;
  color: #7c7369;
  font-size: 12px;
}
.toolMetric strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 35px;
  font-weight: 500;
  color: #543f2e;
  margin: 8px 0;
}
.toolCardGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #d8d1c8;
  border: 1px solid #d8d1c8;
  margin-top: 40px;
}
.toolCard {
  display: block;
  position: relative;
  background: #fbfaf7;
  color: #2d2925;
  min-height: 280px;
  padding: 35px 34px;
  text-decoration: none;
  transition:
    background 0.2s,
    transform 0.2s;
}
.toolCard:hover {
  background: #fff;
  transform: translateY(-3px);
  z-index: 1;
}
.toolCardIcon {
  display: flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  background: #ece5dc;
  color: #765236;
  border-radius: 50%;
  font-size: 20px;
}
.toolCardTag {
  position: absolute;
  top: 35px;
  right: 34px;
  color: #8a7d70;
  font-size: 11px;
  letter-spacing: 1px;
}
.toolCard h2 {
  font-family: Georgia, "Songti SC", serif;
  font-size: 23px;
  font-weight: 500;
  margin: 30px 0 12px;
}
.toolCard p {
  color: #756d65;
  font-size: 14px;
  line-height: 1.75;
  min-height: 74px;
  margin: 0 0 20px;
}
.toolCard strong {
  color: #69482f;
  font-size: 13px;
  font-weight: 600;
}
.toolCard strong i {
  margin-left: 8px;
}
.toolPrinciples {
  margin: 62px 0 0;
}
.toolPrinciples > h2 {
  font-family: Georgia, "Songti SC", serif;
  font-size: 30px;
  font-weight: 500;
  margin: 0 0 24px;
}
.toolPrinciples > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.toolPrinciples article {
  border-top: 2px solid #5b4534;
  padding: 24px 10px 5px 0;
}
.toolPrinciples b {
  color: #a18b78;
  font-family: Georgia, serif;
  font-size: 13px;
}
.toolPrinciples h3 {
  font-size: 17px;
  margin: 16px 0 9px;
}
.toolPrinciples p {
  color: #756d65;
  line-height: 1.7;
  margin: 0;
  font-size: 14px;
}
.toolWorkspace {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 28px;
  margin-top: 36px;
  align-items: start;
}
.toolPanel {
  background: #fff;
  border: 1px solid #ddd5cb;
  padding: 34px;
}
.toolPanelWide {
  margin-top: 36px;
}
.toolPanelHead {
  display: flex;
  align-items: flex-start;
  gap: 17px;
  border-bottom: 1px solid #e3ddd5;
  padding-bottom: 23px;
  margin-bottom: 26px;
}
.toolPanelHead > span {
  display: flex;
  width: 35px;
  height: 35px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #563f2f;
  color: #fff;
  font-family: Georgia, serif;
  font-size: 12px;
  flex: 0 0 35px;
}
.toolPanelHead h2 {
  font-family: Georgia, "Songti SC", serif;
  font-size: 25px;
  font-weight: 500;
  margin: 1px 0 6px;
}
.toolPanelHead p {
  font-size: 13px;
  color: #837a71;
  margin: 0;
  line-height: 1.6;
}
.toolFieldGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 18px;
}
.toolField {
  display: block;
  color: #4f4943;
  font-size: 13px;
}
.toolField > span:first-child {
  display: block;
  font-weight: 600;
  margin-bottom: 9px;
}
.toolField span b {
  color: #9a8d80;
  font-size: 11px;
  font-weight: 400;
  float: right;
}
.toolField input,
.toolField select,
.unitItem input,
.unitItem select,
.blendTable input {
  width: 100%;
  height: 45px;
  padding: 0 12px;
  border: 1px solid #d6cfc6;
  border-radius: 2px;
  background: #fff;
  color: #332f2b;
  font-size: 14px;
  outline: none;
}
.toolField input:focus,
.toolField select:focus,
.unitItem input:focus,
.unitItem select:focus,
.blendTable input:focus {
  border-color: #70513a;
  box-shadow: 0 0 0 2px rgba(112, 81, 58, 0.1);
}
.toolField small {
  display: block;
  color: #8a8178;
  font-size: 11px;
  line-height: 1.55;
  margin-top: 7px;
}
.toolCompound {
  display: flex !important;
  margin: 0 !important;
}
.toolCompound input {
  flex: 1;
  min-width: 0;
  border-radius: 2px 0 0 2px;
}
.toolCompound select {
  width: 88px;
  border-left: 0;
  border-radius: 0 2px 2px 0;
}
.toolDetails {
  border-top: 1px solid #e4ddd5;
  margin-top: 26px;
  padding-top: 22px;
}
.toolDetails summary {
  cursor: pointer;
  color: #674831;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}
.toolDetails p {
  font-size: 12px;
  color: #857b71;
}
.toolRule {
  height: 1px;
  background: #e4ddd5;
  margin: 28px 0;
}
.toolPrimaryButton,
.toolSecondaryButton,
.toolTextButton,
.customsCard button {
  border: 0;
  border-radius: 2px;
  cursor: pointer;
  font-family: inherit;
}
.toolPrimaryButton {
  height: 48px;
  background: #503b2b;
  color: #fff;
  padding: 0 27px;
  font-size: 14px;
  font-weight: 600;
  margin-top: 26px;
}
.toolPrimaryButton:hover {
  background: #3e2d21;
}
.toolSecondaryButton {
  height: 46px;
  background: #eee8e0;
  color: #594636;
  padding: 0 20px;
  font-size: 13px;
  margin: 26px 0 0 9px;
}
.toolTextButton {
  background: transparent;
  color: #9b4a35;
  padding: 4px 6px;
}
.toolError {
  display: none;
  background: #fff0ec;
  border-left: 3px solid #a64b35;
  color: #8b3c2b;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.6;
  margin-top: 20px;
}
.toolAside {
  position: sticky;
  top: 25px;
}
.toolResult {
  display: block;
  background: #312b27;
  color: #f5f1ec;
  padding: 30px;
  min-height: 270px;
}
.toolEmptyState {
  text-align: center;
  padding: 28px 5px;
}
.toolEmptyState > span {
  display: flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  border: 1px solid #655b53;
  border-radius: 50%;
  margin: 0 auto 18px;
  color: #c1a88e;
  font-size: 20px;
}
.toolEmptyState h2 {
  font-family: Georgia, "Songti SC", serif;
  font-weight: 500;
  font-size: 22px;
  margin: 0 0 10px;
}
.toolEmptyState p {
  color: #aaa099;
  line-height: 1.7;
  font-size: 13px;
  margin: 0;
}
.toolResult > p {
  color: #bdb4ac;
  font-size: 12px;
  line-height: 1.7;
  margin: 20px 0 0;
}
.toolResultGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: #514842;
}
.toolResultGrid article {
  background: #312b27;
  padding: 19px 15px;
}
.toolResultGrid span {
  display: block;
  color: #b5aaa2;
  font-size: 11px;
  margin-bottom: 8px;
}
.toolResultGrid strong {
  font-family: Georgia, "Songti SC", serif;
  color: #f7f3ed;
  font-size: 18px;
  font-weight: 500;
}
.toolResultHero {
  border-bottom: 1px solid #62574f;
  padding-bottom: 22px;
  margin-bottom: 1px;
}
.toolResultHero span,
.toolResultHero small {
  display: block;
  color: #b9aea6;
  font-size: 11px;
}
.toolResultHero strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 31px;
  font-weight: 500;
  color: #e5cbb0;
  margin: 8px 0;
}
.toolWarning {
  background: #4d3028;
  padding: 13px !important;
  color: #f0cbbb !important;
}
.toolNotice {
  background: #e7dfd5;
  border: 1px solid #d4c9bd;
  padding: 22px 24px;
  margin-top: 18px;
}
.toolNotice strong {
  font-size: 13px;
  color: #674831;
}
.toolNotice p {
  font-size: 12px;
  line-height: 1.7;
  color: #766d64;
  margin: 8px 0 0;
}
.toolNoticeFull {
  margin-top: 18px;
}
.toolFormula {
  border-left: 3px solid #75563e;
  margin-top: 38px;
  padding: 7px 0 7px 22px;
  max-width: 780px;
}
.toolFormula h2 {
  font-family: Georgia, "Songti SC", serif;
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 8px;
}
.toolFormula p {
  font-size: 13px;
  line-height: 1.75;
  color: #766d64;
  margin: 0;
}
.customsReference {
  background: #e9e2d9;
  border: 1px solid #d7cec3;
  padding: 29px 32px;
  margin-top: 36px;
}
.customsHead {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 22px;
}
.customsHead span {
  font-size: 11px;
  color: #987b62;
  letter-spacing: 1.5px;
}
.customsHead h2 {
  font-family: Georgia, "Songti SC", serif;
  font-weight: 500;
  font-size: 25px;
  margin: 6px 0 0;
}
.customsHead p {
  color: #7b7269;
  font-size: 12px;
  margin: 0;
}
.customsCards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.customsCard {
  background: #fff;
  padding: 20px;
  border: 1px solid #dad2c8;
}
.customsCard > div {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #736960;
}
.customsCard > div b {
  font-size: 11px;
  color: #486143;
}
.customsCard.is-pending > div b,
.customsCard.is-unavailable > div b {
  color: #9a6c38;
}
.customsCard > strong {
  display: block;
  color: #4b3728;
  margin: 18px 0 12px;
}
.customsCard > strong small {
  font-size: 12px;
  font-weight: 400;
}
.customsCard > strong span {
  font-family: Georgia, serif;
  font-size: 27px;
  margin-left: 7px;
}
.customsCard > p {
  color: #887d73;
  font-size: 11px;
  margin: 0 0 14px;
}
.customsCard button {
  background: #5c4533;
  color: #fff;
  font-size: 12px;
  padding: 9px 14px;
}
.customsCard button:disabled {
  background: #bbb2a9;
  cursor: not-allowed;
}
.customsSource {
  color: #766c63;
  font-size: 11px;
  line-height: 1.6;
  margin: 17px 0 0;
}
.customsSource a {
  color: #65452f;
}
.unitItemGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.unitItem {
  min-width: 0;
  border: 1px solid #d8d0c6;
  padding: 18px;
  margin: 0;
}
.unitItem legend {
  font-family: Georgia, "Songti SC", serif;
  font-size: 18px;
  padding: 0 8px;
  color: #553d2d;
}
.unitItem label {
  display: block;
  font-size: 11px;
  color: #756c63;
  margin-bottom: 12px;
}
.unitItem label input,
.unitItem label select {
  display: block;
  margin-top: 6px;
  height: 39px;
  font-size: 13px;
}
.toolResultFull {
  margin-top: 24px;
  min-height: 170px;
}
.toolTableWrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.toolCompareTable,
.blendTable {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  color: #342f2a;
  font-size: 13px;
}
.toolCompareTable th,
.toolCompareTable td,
.blendTable th,
.blendTable td {
  padding: 14px 12px;
  border-bottom: 1px solid #ded7cf;
  text-align: left;
  white-space: nowrap;
}
.toolCompareTable thead th,
.blendTable thead th {
  background: #e8e1d8;
  color: #63574c;
  font-size: 11px;
}
.toolCompareTable tr.is-best td {
  background: #f4eee6;
}
.toolCompareTable td b {
  display: inline-block;
  background: #6b8a63;
  color: #fff;
  font-size: 9px;
  margin-left: 7px;
  padding: 3px 5px;
}
.blendControls {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}
.blendTable input {
  height: 38px;
}
.blendTable td:first-child {
  width: 45%;
}
.toolResultActions {
  margin-top: 16px;
}
.toolResultActions .toolSecondaryButton {
  margin: 0 8px 0 0;
}
.guideSection {
  padding: 58px 0;
  border-bottom: 1px solid #d8d1c8;
}
.guideSectionHead {
  max-width: 780px;
  margin-bottom: 30px;
}
.guideSectionHead > span {
  font-size: 11px;
  letter-spacing: 1.5px;
  color: #9a7555;
}
.guideSectionHead h2 {
  font-family: Georgia, "Songti SC", serif;
  font-size: 31px;
  font-weight: 500;
  margin: 8px 0 10px;
}
.guideSectionHead p {
  font-size: 14px;
  line-height: 1.7;
  color: #766d64;
  margin: 0;
}
.filterGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #d7cfc5;
  border: 1px solid #d7cfc5;
}
.filterGrid article {
  background: #fff;
  padding: 27px 23px;
  min-height: 365px;
}
.filterGrid article > b {
  font-family: Georgia, serif;
  color: #9c8066;
  font-size: 28px;
  font-weight: 500;
}
.filterGrid h3 {
  font-size: 18px;
  margin: 18px 0 10px;
}
.filterGrid p {
  font-size: 13px;
  color: #766d64;
  line-height: 1.7;
  min-height: 88px;
}
.filterGrid dl {
  font-size: 11px;
  margin: 20px 0 0;
}
.filterGrid dt {
  font-weight: 700;
  color: #5e4a39;
  margin-top: 10px;
}
.filterGrid dd {
  color: #82786e;
  line-height: 1.55;
  margin: 3px 0 0;
}
.measureGuide {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 40px;
  background: #312b27;
  color: #fff;
  margin-top: 22px;
  padding: 27px 30px;
}
.measureGuide h3 {
  font-family: Georgia, "Songti SC", serif;
  font-size: 22px;
  font-weight: 500;
}
.measureGuide ol {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 35px;
  margin: 0;
  padding-left: 22px;
}
.measureGuide li {
  color: #c8beb6;
  font-size: 12px;
  line-height: 1.6;
  padding-left: 5px;
}
.shapeGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.shapeGrid article {
  background: #fff;
  border: 1px solid #ded7ce;
  padding: 23px;
  min-height: 365px;
}
.shapeGrid svg {
  display: block;
  width: 100%;
  height: 105px;
  fill: #5b4636;
  background: #eee8e0;
  margin-bottom: 21px;
}
.shapeGrid > article > span {
  font-size: 10px;
  color: #9a826c;
  letter-spacing: 1px;
}
.shapeGrid h3 {
  font-family: Georgia, "Songti SC", serif;
  font-size: 20px;
  font-weight: 500;
  margin: 8px 0 10px;
}
.shapeGrid p {
  font-size: 13px;
  line-height: 1.65;
  color: #655e57;
}
.shapeGrid small {
  display: block;
  min-height: 56px;
  color: #8b8178;
  font-size: 11px;
  line-height: 1.55;
}
.shapeGrid a {
  display: inline-block;
  color: #6b4932;
  font-size: 12px;
  font-weight: 600;
  margin-top: 15px;
}
.stemSection > div:last-child {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}
.stemSection article {
  border-top: 2px solid #614835;
  padding: 18px 8px 5px 0;
}
.stemSection h3 {
  font-family: Georgia, serif;
  font-size: 18px;
  margin: 0 0 8px;
}
.stemSection p {
  color: #766d64;
  font-size: 12px;
  line-height: 1.6;
}
.relatedTools {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 1px solid #d8d1c8;
  margin-top: 60px;
  padding-top: 28px;
}
.relatedTools span {
  font-size: 10px;
  color: #9b8068;
  letter-spacing: 1px;
}
.relatedTools h2 {
  font-family: Georgia, "Songti SC", serif;
  font-size: 25px;
  font-weight: 500;
  margin: 5px 0 0;
}
.relatedTools > div:last-child {
  display: flex;
  gap: 10px;
}
.relatedTools a {
  background: #fff;
  border: 1px solid #d7cec4;
  color: #604630;
  font-size: 12px;
  padding: 10px 14px;
}
.pipeToolsPage em {
  font-style: normal;
}
.pipeToolsPage a {
  text-decoration: none;
}
@media (max-width: 900px) {
  .pipeToolsPage {
    padding-bottom: 40px;
  }
  .pipeToolsPage .sectionWrapper {
    width: 100%;
    padding: 0 15px;
  }
  .pipeToolsPage .pathSection {
    font-size: 11px;
    padding-top: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .toolHero,
  .toolHeroIndex {
    display: block;
    padding: 43px 0 33px;
  }
  .toolHero h1,
  .toolHeroIndex h1 {
    font-size: 32px;
    letter-spacing: -0.4px;
    line-height: 1.25;
  }
  .toolHero p {
    font-size: 14px;
    line-height: 1.75;
  }
  .toolHeroMark {
    display: none;
  }
  .toolMetric {
    margin-top: 25px;
    border-left: 0;
    border-top: 1px solid #cfc6bc;
    padding: 18px 0 0;
  }
  .toolMetric strong {
    font-size: 27px;
  }
  .toolCardGrid {
    grid-template-columns: 1fr;
    margin-top: 22px;
  }
  .toolCard {
    min-height: 210px;
    padding: 26px 24px;
  }
  .toolCardTag {
    top: 27px;
    right: 24px;
  }
  .toolCard h2 {
    font-size: 21px;
    margin-top: 22px;
  }
  .toolCard p {
    min-height: 0;
  }
  .toolPrinciples {
    margin-top: 38px;
  }
  .toolPrinciples > h2 {
    font-size: 25px;
  }
  .toolPrinciples > div {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .toolWorkspace {
    display: block;
    margin-top: 22px;
  }
  .toolPanel {
    padding: 23px 18px;
  }
  .toolPanelHead h2 {
    font-size: 21px;
  }
  .toolFieldGrid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .toolPrimaryButton,
  .toolSecondaryButton {
    width: 100%;
    margin: 17px 0 0;
  }
  .toolAside {
    position: static;
    margin-top: 17px;
  }
  .toolResult {
    padding: 22px 16px;
  }
  .toolResultGrid {
    grid-template-columns: 1fr;
  }
  .toolResultGrid article {
    padding: 15px;
  }
  .customsReference {
    padding: 22px 16px;
    margin-top: 22px;
  }
  .customsHead {
    display: block;
  }
  .customsHead h2 {
    font-size: 21px;
  }
  .customsHead p {
    margin-top: 9px;
  }
  .customsCards {
    grid-template-columns: 1fr;
  }
  .unitItemGrid {
    grid-template-columns: 1fr;
  }
  .unitItem {
    padding: 16px;
  }
  .blendControls {
    grid-template-columns: 1fr;
  }
  .blendTable {
    min-width: 510px;
  }
  .toolCompareTable {
    min-width: 730px;
  }
  .filterGrid {
    grid-template-columns: 1fr;
  }
  .filterGrid article {
    min-height: 0;
  }
  .filterGrid p {
    min-height: 0;
  }
  .measureGuide {
    display: block;
    padding: 22px;
  }
  .measureGuide ol {
    grid-template-columns: 1fr;
    gap: 11px;
  }
  .shapeGrid {
    grid-template-columns: 1fr;
  }
  .shapeGrid article {
    min-height: 0;
  }
  .shapeGrid small {
    min-height: 0;
  }
  .stemSection > div:last-child {
    grid-template-columns: 1fr;
  }
  .relatedTools {
    display: block;
  }
  .relatedTools > div:last-child {
    display: flex;
    flex-wrap: wrap;
    margin-top: 17px;
  }
  .relatedTools a {
    flex: 1 0 42%;
    text-align: center;
  }
  .guideSection {
    padding: 40px 0;
  }
  .toolFormula {
    margin-top: 26px;
  }
  .customsCard > strong span {
    font-size: 23px;
  }
}
@media print {
  .topNavBar,
  .pathSection,
  .footerLayout,
  .fixedBar,
  .relatedTools,
  .toolPrimaryButton,
  .toolSecondaryButton,
  .toolTextButton,
  .toolResultActions {
    display: none !important;
  }
  .pipeToolsPage {
    background: #fff;
  }
  .toolResult {
    color: #000;
    background: #fff;
    border: 1px solid #999;
  }
  .toolResultGrid article {
    background: #fff;
  }
  .toolResultGrid strong,
  .toolResult > p {
    color: #000;
  }
}
