.percent-page main {
  background:
    radial-gradient(circle at 8% 12%, rgba(8, 174, 100, .07), transparent 260px),
    radial-gradient(circle at 88% 20%, rgba(22, 136, 255, .07), transparent 300px),
    linear-gradient(180deg, #fbfdff 0%, #f7fbff 54%, #fff 100%);
}

body.percent-page {
  max-width: 100%;
  overflow-x: hidden;
}

@supports selector(:has(*)) {
  html:has(body.percent-page) {
    overflow-x: hidden;
  }
}

.percent-page .directory-header,
.percent-page .directory-footer,
.percent-page .cookie-bar {
  background: #fff;
}

.percent-hero {
  padding: 24px 0 16px;
  border-bottom: 1px solid #e4ebf3;
  background:
    radial-gradient(circle at 74% 42%, rgba(32, 207, 208, .1), transparent 240px),
    linear-gradient(180deg, #fff 0%, #f9fcff 100%);
}

.percent-breadcrumbs,
.percent-title-row,
.percent-trust,
.percent-card-head,
.percent-actions,
.percent-answer,
.percent-formula,
.visual-head,
.percent-tabs,
.example-list button,
.mini-related-grid a {
  display: flex;
  align-items: center;
}

.percent-breadcrumbs {
  gap: 8px;
  margin-bottom: 18px;
  color: #1688ff;
  font-size: 12px;
  font-weight: 750;
}

.percent-breadcrumbs span:last-child {
  color: #061738;
}

.percent-breadcrumbs svg {
  width: 12px;
  height: 12px;
}

.percent-title-row {
  gap: 28px;
}

.percent-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  flex: 0 0 auto;
  border-radius: 18px;
  background: linear-gradient(145deg, #25c878, #009e57);
  color: #fff;
  font-size: 50px;
  line-height: 1;
  font-weight: 850;
  box-shadow: 0 20px 34px rgba(0, 166, 87, .22);
}

.percent-title-row h1 {
  margin: 0;
  color: #061738;
  font-size: 44px;
  line-height: 1;
  font-weight: 850;
}

.percent-title-row p {
  margin: 10px 0 18px;
  color: #48607f;
  font-size: 16px;
}

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

.percent-trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid #d5e9de;
  border-radius: 999px;
  background: #f3fbf7;
  color: #087846;
  font-size: 12px;
  font-weight: 800;
}

.percent-workspace {
  padding: 18px 0 16px;
}

.percent-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  align-items: start;
  gap: 18px;
}

.percent-card,
.percent-info-card {
  border: 1px solid #dce6f2;
  border-radius: 8px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 16px 38px rgba(25, 60, 102, .07);
}

.percent-card {
  padding: 18px;
}

.percent-card-head {
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.percent-card-head h2 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #061738;
  font-size: 18px;
  font-weight: 850;
}

.percent-inline-icon {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: #08ae64;
}

.percent-icon-calculator {
  border: 2px solid currentColor;
  border-radius: 3px;
}

.percent-icon-calculator::before,
.percent-icon-calculator::after {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
}

.percent-icon-calculator::before {
  top: 3px;
  height: 3px;
  border-radius: 1px;
  background: currentColor;
}

.percent-icon-calculator::after {
  top: 8px;
  height: 6px;
  background:
    radial-gradient(circle, currentColor 0 2px, transparent 2.3px) 0 0 / 6px 6px,
    radial-gradient(circle, currentColor 0 2px, transparent 2.3px) 6px 0 / 6px 6px,
    radial-gradient(circle, currentColor 0 2px, transparent 2.3px) 0 6px / 6px 6px,
    radial-gradient(circle, currentColor 0 2px, transparent 2.3px) 6px 6px / 6px 6px;
}

.percent-icon-chart {
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.percent-icon-chart::before {
  content: "";
  position: absolute;
  left: 4px;
  bottom: 3px;
  width: 3px;
  height: 6px;
  border-radius: 2px 2px 0 0;
  background: currentColor;
  box-shadow: 5px -4px 0 currentColor, 10px -8px 0 currentColor;
}

.percent-side-icon {
  position: relative;
  display: inline-block;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: #1688ff;
}

.percent-icon-lightbulb::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 10px;
  height: 11px;
  border: 2px solid currentColor;
  border-radius: 8px 8px 6px 6px;
}

.percent-icon-lightbulb::after {
  content: "";
  position: absolute;
  left: 7px;
  bottom: 1px;
  width: 6px;
  height: 4px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.percent-mode-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid #cdd9e8;
  border-radius: 8px;
  background: #f7faff;
}

.percent-mode-tabs button {
  min-height: 38px;
  border: 0;
  border-right: 1px solid #cdd9e8;
  background: transparent;
  color: #061738;
  font-size: 13px;
  font-weight: 800;
}

.percent-mode-tabs button:last-child {
  border-right: 0;
}

.percent-mode-tabs button.is-active {
  background: linear-gradient(180deg, #12bd72, #009e57);
  color: #fff;
}

.percent-form {
  display: grid;
  gap: 14px;
}

.percent-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
}

.percent-field {
  display: grid;
  gap: 8px;
  color: #173153;
  font-size: 13px;
  font-weight: 850;
}

.percent-input {
  display: flex;
  align-items: center;
  height: 44px;
  overflow: hidden;
  border: 1px solid #dce6f2;
  border-radius: 7px;
  background: #fbfdff;
}

.percent-input:focus-within {
  border-color: rgba(8, 174, 100, .75);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(8, 174, 100, .08);
}

.percent-input input {
  width: 100%;
  min-width: 0;
  height: 42px;
  padding: 0 14px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #071b43;
  font-size: 14px;
  font-weight: 800;
  appearance: textfield;
}

.percent-input input::-webkit-outer-spin-button,
.percent-input input::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}

.percent-input small {
  min-width: 42px;
  padding-right: 12px;
  color: #48607f;
  font-size: 13px;
  font-weight: 850;
  text-align: right;
}

.percent-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 520px;
}

.percent-primary,
.percent-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 850;
}

.percent-primary {
  border: 1px solid #08ae64;
  background: linear-gradient(180deg, #12bd72, #00a85c);
  color: #fff;
  box-shadow: 0 12px 22px rgba(0, 166, 87, .18);
}

.percent-secondary {
  border: 1px solid #dce6f2;
  background: #fff;
  color: #173153;
}

.percent-answer {
  justify-content: center;
  min-height: 128px;
  margin: 18px 0 14px;
  border: 1px solid rgba(8, 174, 100, .25);
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 0%, rgba(8, 174, 100, .12), transparent 220px),
    linear-gradient(120deg, #fff, #effbf5);
  text-align: center;
}

.percent-answer span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #087846;
  font-size: 13px;
  font-weight: 850;
}

.percent-answer strong {
  display: block;
  margin: 8px 0 4px;
  color: #087846;
  font-size: 48px;
  line-height: 1;
  font-weight: 850;
}

.percent-answer p {
  margin: 0;
  color: #173153;
  font-size: 14px;
  font-weight: 800;
}

.percent-formula {
  gap: 12px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid #cfe4fb;
  border-radius: 7px;
  background: linear-gradient(90deg, #fff, #f0f7ff);
  color: #173153;
  font-size: 13px;
}

.percent-formula svg {
  color: #1688ff;
}

.percent-formula code {
  margin-left: auto;
  color: #061738;
  font: inherit;
  font-weight: 850;
}

.percent-visual {
  margin-top: 18px;
}

.visual-head {
  gap: 8px;
  margin-bottom: 12px;
  color: #173153;
  font-size: 13px;
  font-weight: 850;
}

.visual-head strong {
  margin-left: auto;
  color: #48607f;
}

.percent-track {
  height: 18px;
  overflow: hidden;
  border-radius: 999px;
  background:
    repeating-linear-gradient(90deg, transparent 0 19.8%, rgba(255, 255, 255, .86) 19.8% 20%),
    #e9eef5;
}

.percent-track span {
  display: block;
  width: var(--percent-fill, 25%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #08ae64, #20cfd0);
}

.percent-visual p {
  margin: 9px 0 0;
  color: #48607f;
  font-size: 13px;
  font-weight: 700;
}

.percent-side {
  display: grid;
  align-content: start;
  gap: 18px;
}

.example-list {
  display: grid;
  gap: 10px;
}

.example-row {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 14px;
  min-height: 58px;
  padding: 8px 12px;
  border: 1px solid #dce6f2;
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #fbfdff);
  color: #061738;
  text-align: left;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.example-row:hover {
  transform: translateY(-1px);
  border-color: rgba(8, 174, 100, .34);
  box-shadow: 0 10px 22px rgba(25, 60, 102, .08);
}

.example-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  grid-row: 1;
  border: 1px solid rgba(8, 174, 100, .18);
  border-radius: 999px;
  background: #edf9f3;
  color: #08ae64;
}

.example-icon svg {
  width: 26px;
  height: 26px;
  stroke-width: 2.1;
}

.example-symbol {
  position: relative;
  display: inline-block;
  width: 27px;
  height: 27px;
  color: currentColor;
}

.example-symbol-cart::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  width: 15px;
  height: 9px;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 2px 2px 4px 4px;
  transform: skewX(-8deg);
}

.example-symbol-cart::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 5px;
  width: 18px;
  height: 17px;
  border-top: 2px solid currentColor;
  background:
    radial-gradient(circle, currentColor 0 2px, transparent 2.4px) 7px 15px / 6px 6px no-repeat,
    radial-gradient(circle, currentColor 0 2px, transparent 2.4px) 17px 15px / 6px 6px no-repeat;
}

.example-symbol-star::before {
  content: "";
  position: absolute;
  inset: 3px;
  background: currentColor;
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 56%, 79% 92%, 50% 70%, 21% 92%, 32% 56%, 2% 35%, 39% 35%);
}

.example-symbol-trend::before,
.example-symbol-trend::after {
  content: "";
  position: absolute;
}

.example-symbol-trend::before {
  left: 3px;
  top: 15px;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: rotate(-38deg);
  transform-origin: left center;
  box-shadow: 7px -2px 0 currentColor;
}

.example-symbol-trend::after {
  right: 3px;
  top: 4px;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(12deg);
}

.example-home .example-icon {
  border-color: rgba(22, 136, 255, .2);
  background: #edf6ff;
  color: #1688ff;
}

.example-star .example-icon {
  border-color: rgba(245, 185, 23, .32);
  background: #fff8dc;
  color: #f5b917;
}

.example-growth .example-icon {
  border-color: rgba(32, 207, 208, .25);
  background: #e9fbfb;
  color: #20cfd0;
}

.example-copy,
.example-value {
  display: grid;
  align-content: center;
  min-width: 0;
}

.example-copy strong {
  font-size: 14px;
  line-height: 1.15;
  font-weight: 850;
}

.example-copy small,
.example-value small {
  color: #48607f;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
}

.example-value {
  justify-items: end;
  text-align: right;
}

.example-value b {
  color: #08ae64;
  font-size: 16px;
  line-height: 1.1;
  font-weight: 850;
}

.example-value small {
  color: #087846;
  font-size: 11px;
}

.examples-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 34px;
  margin-top: 10px;
  color: #087846;
  font-size: 13px;
  font-weight: 850;
}

.examples-more svg {
  width: 16px;
  height: 16px;
}

.mini-related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mini-related-grid a {
  gap: 8px;
  min-height: 52px;
  padding: 0 12px;
  border: 1px solid #dce6f2;
  border-radius: 8px;
  background: #fff;
  color: #061738;
  font-size: 12px;
  font-weight: 850;
}

.mini-related-grid svg {
  color: #08ae64;
}

.percent-content {
  padding: 4px 0 18px;
}

.percent-tabs {
  gap: 30px;
  border-bottom: 1px solid #dce6f2;
}

.percent-tabs button {
  position: relative;
  min-height: 42px;
  border: 0;
  background: transparent;
  color: #48607f;
  font-size: 13px;
  font-weight: 850;
}

.percent-tabs button.is-active {
  color: #1688ff;
}

.percent-tabs button.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  border-radius: 999px;
  background: #1688ff;
}

.percent-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.percent-info-card {
  position: relative;
  display: none;
  min-height: 120px;
  padding: 18px 18px 18px 90px;
}

.percent-info-card.is-active {
  display: block;
}

.info-icon {
  position: absolute;
  left: 20px;
  top: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: linear-gradient(145deg, #1688ff, #0f66d8);
  color: #fff;
}

.info-icon svg {
  width: 25px;
  height: 25px;
}

.percent-info-card h2 {
  margin: 0 0 8px;
  color: #061738;
  font-size: 17px;
  font-weight: 850;
}

.percent-info-card p {
  margin: 0 0 12px;
  color: #48607f;
  font-size: 13px;
  line-height: 1.5;
}

.percent-info-card code {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border-radius: 7px;
  background: #f0f7ff;
  color: #061738;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
}

.percent-related-section {
  background: #fff;
}

@media (max-width: 1180px) {
  .percent-layout {
    grid-template-columns: 1fr;
  }

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

  .percent-page .newsletter-inner {
    grid-template-columns: auto 1fr;
  }

  .percent-page .directory-newsletter form {
    grid-column: 1 / -1;
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 760px) {
  .percent-page .mobile-menu[aria-hidden="true"] {
    display: none;
  }

  .percent-page.menu-open .mobile-menu {
    display: flex;
  }

  .percent-hero {
    padding: 20px 0 14px;
  }

  .percent-title-row {
    align-items: flex-start;
    gap: 16px;
  }

  .percent-mark {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    font-size: 40px;
  }

  .percent-title-row h1 {
    font-size: 34px;
  }

  .percent-title-row p {
    font-size: 14px;
  }

  .percent-workspace {
    padding-top: 14px;
  }

  .percent-card {
    padding: 16px;
  }

  .percent-mode-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .percent-mode-tabs button:nth-child(2) {
    border-right: 0;
  }

  .percent-mode-tabs button:nth-child(-n + 2) {
    border-bottom: 1px solid #cdd9e8;
  }

  .percent-fields,
  .percent-actions,
  .percent-side,
  .mini-related-grid {
    grid-template-columns: 1fr;
  }

  .percent-answer strong {
    font-size: 44px;
  }

  .percent-formula {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 14px;
  }

  .percent-formula code {
    margin-left: 0;
  }

  .percent-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    border-bottom: 0;
  }

  .percent-tabs button {
    min-height: 40px;
    border: 1px solid #dce6f2;
    border-radius: 7px;
    background: #fff;
  }

  .percent-info-card {
    padding: 78px 16px 16px;
  }

  .info-icon {
    top: 16px;
    left: 16px;
  }
}

@media (max-width: 420px) {
  .percent-title-row {
    flex-direction: column;
  }

  .example-row {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 10px;
  }

  .example-icon {
    width: 42px;
    height: 42px;
  }

  .example-icon svg {
    width: 22px;
    height: 22px;
  }

  .example-value {
    grid-column: 2;
    justify-items: start;
    text-align: left;
  }
}
