.yp-hero {
  --yp-green: #059669;
  --yp-green-dark: #047857;
  --yp-green-soft: #d1fae5;
  --yp-ink: #111827;
  --yp-copy: #5b6679;
  --yp-line: #e5e7eb;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(236, 253, 245, 0.85) 0%, #ffffff 72%);
  isolation: isolate;
}

.yp-hero::before,
.yp-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  pointer-events: none;
}

.yp-hero::before {
  width: 260px;
  height: 260px;
  top: -120px;
  right: -75px;
  background: rgba(209, 250, 229, 0.66);
}

.yp-hero::after {
  width: 210px;
  height: 210px;
  left: -105px;
  bottom: -110px;
  background: rgba(245, 243, 255, 0.68);
}

.yp-hero__inner {
  width: min(100% - 32px, 1420px);
  margin: 0 auto;
  padding: 42px 0 38px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(660px, 1.08fr);
  gap: clamp(34px, 5vw, 74px);
  align-items: center;
}

.yp-hero__copy {
  min-width: 0;
  padding-bottom: 6px;
}

.yp-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--yp-green-soft);
  color: var(--yp-green-dark);
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
}

.yp-hero__eyebrow-mark,
.yp-hero__check {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--yp-green);
}

.yp-hero__eyebrow-mark {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  color: #ffffff;
  background: #10b981;
  font-size: 10px;
}

.yp-hero h1 {
  margin: 0;
  max-width: 660px;
  color: var(--yp-ink);
  font-size: clamp(38px, 4.05vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 800;
}

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

.yp-hero__lead {
  max-width: 615px;
  margin: 28px 0 0;
  color: var(--yp-copy);
  font-size: 18px;
  line-height: 1.65;
}

.yp-hero__benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px 20px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  color: #596477;
  font-size: 14px;
}

.yp-hero__benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.yp-hero__check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #d1fae5;
  font-size: 12px;
  font-weight: 800;
}

.yp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 35px;
}

.yp-hero__primary,
.yp-hero__secondary,
.yp-selector__buy,
.yp-selector__demo {
  appearance: none;
  border: 0;
  border-radius: 11px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.yp-hero__primary {
  min-height: 50px;
  padding: 0 21px;
  background: var(--yp-green);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(5, 150, 105, 0.17);
}

.yp-hero__secondary {
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid #d7dce3;
  background: rgba(255, 255, 255, 0.72);
  color: #414b5e;
}

.yp-hero__primary:hover,
.yp-selector__buy:hover {
  background: var(--yp-green-dark);
  transform: translateY(-1px);
}

.yp-hero__secondary:hover {
  border-color: #aeb7c3;
  background: #ffffff;
  transform: translateY(-1px);
}

.yp-hero__how {
  appearance: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: #667085;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: #cbd5e1;
  text-underline-offset: 3px;
  cursor: pointer;
}

.yp-hero__how:hover {
  color: var(--yp-green-dark);
  text-decoration-color: #6ee7b7;
}

.yp-hero__note {
  margin: 24px 0 0;
  color: #98a2b3;
  font-size: 12px;
}

.yp-selector {
  min-width: 0;
  padding: 25px 28px 18px;
  border: 1px solid rgba(218, 222, 229, 0.95);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 52px rgba(31, 41, 55, 0.11);
}

.yp-selector__heading {
  margin: 0;
  color: var(--yp-ink);
  font-size: 27px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.yp-selector__hint {
  margin: 5px 0 0;
  color: #7c8594;
  font-size: 14px;
}

.yp-selector__tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-top: 18px;
}

.yp-selector__tab {
  position: relative;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 76px;
  padding: 8px 9px;
  border: 1px solid var(--yp-line);
  border-radius: 13px;
  background: #ffffff;
  color: #424b5f;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.yp-selector__tab:hover {
  border-color: #a7f3d0;
  transform: translateY(-1px);
}

.yp-selector__tab[aria-selected="true"] {
  border: 2px solid #10b981;
  padding: 7px 8px;
  background: #ecfdf5;
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.08);
}

.yp-selector__thumb {
  width: 50px;
  height: 52px;
  object-fit: contain;
  border-radius: 7px;
  background: #f9fafb;
}

.yp-selector__tab-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.yp-selector__tab-name,
.yp-selector__tab-price {
  overflow: hidden;
  text-overflow: ellipsis;
}

.yp-selector__tab-name {
  overflow: visible;
  white-space: normal;
  text-overflow: clip;
  color: #444d60;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
}

.yp-selector__tab-price {
  white-space: nowrap;
}

.yp-selector__tab-price {
  color: var(--yp-ink);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 800;
}

.yp-selector__deal {
  display: none;
  width: fit-content;
  margin-top: 1px;
  padding: 2px 6px;
  border-radius: 999px;
  background: #10b981;
  color: #ffffff;
  font-size: 8px;
  line-height: 1.25;
  font-weight: 800;
  text-transform: uppercase;
}

.yp-selector__tab[data-product="bundle"] .yp-selector__deal {
  display: block;
}

.yp-selector__preview {
  position: relative;
  display: grid;
  place-items: center;
  height: 360px;
  margin-top: 18px;
  padding: 14px 48px;
  overflow: hidden;
  border: 1px solid #e9e3ff;
  border-radius: 16px;
  background: linear-gradient(135deg, #f6f1ff 0%, #ffffff 48%, #ecfdf5 100%);
  cursor: zoom-in;
  touch-action: pan-y;
}

.yp-selector__discount {
  position: absolute;
  z-index: 1;
  top: 14px;
  left: 14px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #7c3aed;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
}

.yp-selector__image {
  position: absolute;
  inset: 14px 48px;
  width: calc(100% - 96px);
  height: calc(100% - 28px);
  object-fit: contain;
  object-position: center;
  pointer-events: none;
  transition: opacity 140ms ease, transform 220ms ease;
}

.yp-selector__preview.is-changing .yp-selector__image {
  opacity: 0;
  transform: scale(0.98);
}

.yp-selector__preview:not(.is-changing):hover .yp-selector__image {
  transform: scale(1.012);
}

.yp-selector__expand {
  position: absolute;
  z-index: 3;
  right: 13px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.76);
  color: #ffffff;
  font: inherit;
  font-size: 11px;
  font-weight: 750;
  box-shadow: 0 7px 20px rgba(17, 24, 39, 0.2);
  cursor: zoom-in;
  backdrop-filter: blur(5px);
  transition: background 160ms ease, transform 160ms ease;
}

.yp-selector__expand span {
  font-family: Arial, sans-serif;
  font-size: 17px;
  line-height: 1;
}

.yp-selector__expand:hover {
  background: rgba(4, 120, 87, 0.92);
  transform: translateY(-1px);
}

.yp-selector__nav {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0 0 3px;
  border: 1px solid rgba(209, 213, 219, 0.9);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #374151;
  box-shadow: 0 7px 18px rgba(31, 41, 55, 0.14);
  cursor: pointer;
  transform: translateY(-50%);
  transition: color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.yp-selector__nav span {
  font-family: Arial, sans-serif;
  font-size: 29px;
  line-height: 1;
}

.yp-selector__nav--prev {
  left: 12px;
}

.yp-selector__nav--next {
  right: 12px;
}

.yp-selector__nav:hover {
  border-color: #6ee7b7;
  color: var(--yp-green-dark);
  box-shadow: 0 9px 22px rgba(5, 150, 105, 0.16);
  transform: translateY(-50%) scale(1.05);
}

.yp-selector__preview.has-single-slide .yp-selector__nav {
  display: none;
}

.yp-selector__gallery-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 44px;
  align-items: center;
  gap: 10px;
  min-height: 22px;
  margin-top: 8px;
  color: #7c8594;
  font-size: 11px;
}

.yp-selector__slide-label {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.yp-selector__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.yp-selector__dot {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #d1d5db;
  cursor: pointer;
  transition: width 160ms ease, background 160ms ease, transform 160ms ease;
}

.yp-selector__dot:hover {
  background: #6ee7b7;
  transform: scale(1.2);
}

.yp-selector__dot[aria-current="true"] {
  width: 17px;
  background: var(--yp-green);
}

.yp-selector__counter {
  justify-self: end;
  color: #667085;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.yp-selector__details {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 18px;
  align-items: end;
  margin-top: 13px;
}

.yp-selector__product-title {
  margin: 0;
  color: var(--yp-ink);
  font-size: 20px;
  line-height: 1.25;
  font-weight: 800;
}

.yp-selector__description {
  margin: 4px 0 0;
  color: #7a8493;
  font-size: 12px;
  line-height: 1.4;
}

.yp-selector__price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 8px;
}

.yp-selector__price {
  color: var(--yp-ink);
  font-size: 29px;
  line-height: 1;
  font-weight: 800;
}

.yp-selector__old-price {
  color: #9ca3af;
  font-size: 13px;
  text-decoration: line-through;
}

.yp-selector__value {
  display: grid;
  gap: 3px;
  margin: 8px 0 0;
  color: #687386;
  font-size: 10px;
  line-height: 1.35;
}

.yp-selector__value strong {
  color: #047857;
  font-weight: 800;
}

.yp-selector__cta-group {
  display: grid;
  gap: 7px;
  min-width: 250px;
}

.yp-selector__buy {
  min-width: 250px;
  min-height: 52px;
  padding: 0 18px;
  background: var(--yp-green);
  color: #ffffff;
  font-size: 15px;
  box-shadow: 0 10px 22px rgba(5, 150, 105, 0.14);
}

.yp-selector__demo {
  display: grid;
  place-content: center;
  min-height: 43px;
  padding: 5px 16px;
  border: 1px solid #d8dee7;
  background: #ffffff;
  color: #344054;
  font-size: 13px;
  line-height: 1.2;
}

.yp-selector__demo small {
  margin-top: 2px;
  color: #8b95a5;
  font-size: 9px;
  font-weight: 500;
}

.yp-selector__demo:hover {
  border-color: #6ee7b7;
  background: #f0fdf4;
  color: var(--yp-green-dark);
  transform: translateY(-1px);
}

.yp-selector__demo-disclaimer {
  grid-column: 1 / -1;
  display: grid;
  gap: 3px;
  margin: 1px 0 0;
  padding: 11px 13px;
  border: 1px solid #fde68a;
  border-radius: 11px;
  background: #fffbeb;
  color: #7c5a12;
  font-size: 13px;
  line-height: 1.42;
}

.yp-selector__demo-disclaimer strong {
  color: #754b08;
  font-size: 14px;
  font-weight: 800;
}

.yp-selector__trust {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px 20px;
  margin-top: 3px;
  color: #667085;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 650;
}

.yp-selector__trust span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.yp-selector__trust i {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #d1fae5;
  color: #059669;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

.yp-demo[hidden],
.yp-finance-demo__view[hidden] {
  display: none;
}

.yp-demo {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
  overflow: hidden;
  background: rgba(17, 24, 39, 0.58);
  backdrop-filter: blur(3px);
}

.yp-demo__card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(100%, 1180px);
  height: min(92vh, 880px);
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  background: #f7faf8;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.24);
  box-sizing: border-box;
}

.yp-finance-demo,
.yp-finance-demo * {
  box-sizing: border-box;
}

.yp-finance-demo button,
.yp-finance-demo input,
.yp-finance-demo select {
  font: inherit;
}

.yp-finance-demo__header {
  display: flex;
  flex: 0 0 auto;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 23px 25px 17px;
  border-bottom: 1px solid #e6ede8;
  background: #ffffff;
}

.yp-finance-demo__header-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.yp-demo__close {
  appearance: none;
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  padding: 0 0 3px;
  border: 0;
  border-radius: 50%;
  background: #f3f4f6;
  color: #667085;
  font: 400 27px/1 Arial, sans-serif;
  cursor: pointer;
}

.yp-demo__close:hover {
  background: #e5e7eb;
  color: #111827;
}

.yp-demo__eyebrow {
  width: fit-content;
  margin: 0 0 8px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #d1fae5;
  color: #047857;
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.yp-demo h2 {
  margin: 0;
  color: #111827;
  font-size: 27px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.yp-demo__lead {
  margin: 7px 0 0;
  color: #667085;
  font-size: 13px;
  line-height: 1.45;
}

.yp-finance-demo__reset {
  appearance: none;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid #d0d5dd;
  border-radius: 10px;
  background: #ffffff;
  color: #475467;
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
}

.yp-finance-demo__reset:hover {
  border-color: #9ca3af;
  color: #111827;
}

.yp-finance-demo__notice {
  display: flex;
  flex: 0 0 auto;
  justify-content: center;
  gap: 28px;
  padding: 9px 24px;
  border-bottom: 1px solid #e6ede8;
  background: #edfdf5;
  color: #286b52;
  font-size: 10px;
  font-weight: 700;
}

.yp-finance-demo__notice span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.yp-finance-demo__notice i {
  display: inline-grid;
  place-items: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #10b981;
  color: #ffffff;
  font-size: 8px;
  font-style: normal;
}

.yp-finance-demo__tabs {
  display: flex;
  flex: 0 0 auto;
  gap: 5px;
  padding: 9px 24px;
  border-bottom: 1px solid #e6ede8;
  background: #ffffff;
}

.yp-finance-demo__tabs button {
  appearance: none;
  min-height: 35px;
  padding: 0 14px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #667085;
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
}

.yp-finance-demo__tabs button:hover {
  background: #f3f6f4;
  color: #344054;
}

.yp-finance-demo__tabs button[aria-selected="true"] {
  background: #e7f8ef;
  color: #047857;
  box-shadow: inset 0 0 0 1px #bdebd2;
}

.yp-finance-demo__scroll {
  flex: 1 1 auto;
  min-height: 0;
  padding: 18px 24px 25px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.yp-finance-demo__kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.yp-finance-demo__kpis article {
  min-width: 0;
  padding: 14px 15px;
  border: 1px solid #e1e8e4;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(16, 42, 31, 0.035);
}

.yp-finance-demo__kpis article.is-accent {
  border-color: #9fe2c1;
  background: linear-gradient(145deg, #e9fbf2, #f8fffb);
}

.yp-finance-demo__kpis article.is-danger {
  border-color: #fecaca;
  background: #fff7f7;
}

.yp-finance-demo__kpis span {
  display: block;
  margin-bottom: 5px;
  color: #667085;
  font-size: 10px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.035em;
}

.yp-finance-demo__kpis strong {
  display: block;
  overflow: hidden;
  color: #111827;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.yp-finance-demo__kpis small {
  display: block;
  margin-top: 5px;
  overflow: hidden;
  color: #8a949f;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.yp-finance-demo__dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 12px;
  margin-top: 12px;
}

.yp-finance-demo__dashboard--bottom {
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
}

.yp-finance-demo__panel {
  min-width: 0;
  padding: 16px;
  border: 1px solid #e1e8e4;
  border-radius: 15px;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(16, 42, 31, 0.03);
}

.yp-finance-demo__panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.yp-finance-demo__panel-head h3,
.yp-finance-demo__section-head h3 {
  margin: 2px 0 0;
  color: #1d2939;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 800;
}

.yp-finance-demo__panel-head p {
  margin: 4px 0 0;
  color: #98a2b3;
  font-size: 9px;
  line-height: 1.4;
}

.yp-finance-demo__panel-head button,
.yp-finance-demo__goal-card button {
  appearance: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: #059669;
  font-size: 10px;
  line-height: 1.4;
  font-weight: 750;
  cursor: pointer;
}

.yp-finance-demo__panel-head button:hover {
  color: #047857;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.yp-finance-demo__overline {
  color: #059669;
  font-size: 8px;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.065em;
}

.yp-finance-demo__donut-wrap {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  min-height: 175px;
  padding-top: 9px;
}

.yp-finance-demo__donut {
  position: relative;
  display: grid;
  place-items: center;
  width: 142px;
  aspect-ratio: 1;
  margin-inline: auto;
  border-radius: 50%;
  background: #e5e7eb;
  transform: rotate(-90deg);
  transition: background 180ms ease;
}

.yp-finance-demo__donut::after {
  content: "";
  position: absolute;
  inset: 25px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.08);
}

.yp-finance-demo__donut > span {
  position: relative;
  z-index: 1;
  display: grid;
  text-align: center;
  transform: rotate(90deg);
}

.yp-finance-demo__donut strong {
  color: #1d2939;
  font-size: 15px;
  line-height: 1.1;
}

.yp-finance-demo__donut small {
  margin-top: 3px;
  color: #98a2b3;
  font-size: 8px;
}

.yp-finance-demo__legend {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.yp-finance-demo__legend-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  color: #475467;
  font-size: 9px;
}

.yp-finance-demo__legend-row > span {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 7px;
}

.yp-finance-demo__legend-row i {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-radius: 3px;
}

.yp-finance-demo__legend-row b {
  overflow: hidden;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.yp-finance-demo__legend-row strong {
  color: #344054;
  font-size: 9px;
}

.yp-finance-demo__bars {
  display: grid;
  gap: 17px;
  padding: 22px 1px 4px;
}

.yp-finance-demo__bar-row > div:first-child {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.yp-finance-demo__bar-row span {
  color: #475467;
  font-size: 10px;
  font-weight: 700;
}

.yp-finance-demo__bar-row strong {
  color: #1d2939;
  font-size: 12px;
}

.yp-finance-demo__track,
.yp-finance-demo__goal-track,
.yp-finance-demo__mini-track {
  position: relative;
  height: 7px;
  margin-top: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf1ef;
}

.yp-finance-demo__track i,
.yp-finance-demo__goal-track i,
.yp-finance-demo__mini-track i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #34d399, #059669);
  transition: width 240ms ease;
}

.yp-finance-demo__bar-row.is-over .yp-finance-demo__track i,
.yp-finance-demo__budget-row.is-over .yp-finance-demo__mini-track i {
  background: #ef4444;
}

.yp-finance-demo__bar-row small {
  display: block;
  margin-top: 5px;
  color: #98a2b3;
  font-size: 8px;
}

.yp-finance-demo__transactions {
  display: grid;
  gap: 2px;
  margin-top: 11px;
}

.yp-finance-demo__transaction {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  min-height: 42px;
  padding: 5px 3px;
  border-bottom: 1px solid #eef2ef;
}

.yp-finance-demo__transaction:last-child {
  border-bottom: 0;
}

.yp-finance-demo__transaction-mark {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 9px;
  background: #fff1f2;
  color: #e11d48;
  font-size: 14px;
  font-weight: 800;
}

.yp-finance-demo__transaction.is-income .yp-finance-demo__transaction-mark {
  background: #e8faf1;
  color: #059669;
}

.yp-finance-demo__transaction > div {
  display: grid;
  min-width: 0;
}

.yp-finance-demo__transaction > div strong {
  overflow: hidden;
  color: #344054;
  font-size: 10px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.yp-finance-demo__transaction > div span {
  overflow: hidden;
  margin-top: 2px;
  color: #98a2b3;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.yp-finance-demo__transaction > b {
  color: #e11d48;
  font-size: 10px;
  white-space: nowrap;
}

.yp-finance-demo__transaction.is-income > b {
  color: #059669;
}

.yp-finance-demo__transaction > button {
  appearance: none;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  padding: 0 0 2px;
  border: 0;
  border-radius: 7px;
  background: #f5f6f6;
  color: #98a2b3;
  font-size: 17px;
  cursor: pointer;
}

.yp-finance-demo__transaction > button:hover {
  background: #fee2e2;
  color: #dc2626;
}

.yp-finance-demo__goal-copy {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-top: 22px;
}

.yp-finance-demo__goal-copy strong {
  color: #111827;
  font-size: 24px;
}

.yp-finance-demo__goal-copy span,
.yp-finance-demo__goal-card > p {
  color: #667085;
  font-size: 9px;
}

.yp-finance-demo__goal-copy b {
  color: #344054;
}

.yp-finance-demo__goal-track {
  height: 10px;
  margin-top: 14px;
}

.yp-finance-demo__goal-card > p {
  margin: 8px 0 1px;
}

.yp-finance-demo__locked {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px dashed #9edfc0;
  border-radius: 13px;
  background: #f0fbf5;
}

.yp-finance-demo__locked > span {
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #d1fae5;
  color: #059669;
  font-size: 15px;
}

.yp-finance-demo__locked strong {
  color: #245844;
  font-size: 10px;
}

.yp-finance-demo__locked p {
  margin: 3px 0 0;
  color: #5f7f70;
  font-size: 9px;
  line-height: 1.45;
}

.yp-finance-demo__section-head {
  margin-bottom: 14px;
}

.yp-finance-demo__section-head h3 {
  font-size: 20px;
}

.yp-finance-demo__section-head p {
  margin: 5px 0 0;
  color: #667085;
  font-size: 11px;
  line-height: 1.45;
}

.yp-finance-demo__operations-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 12px;
}

.yp-finance-demo__operation-form {
  align-self: start;
  display: grid;
  gap: 11px;
  padding: 17px;
  border: 1px solid #cfe9dc;
  border-radius: 15px;
  background: #ffffff;
}

.yp-finance-demo__type-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  border-radius: 10px;
  background: #f1f4f2;
}

.yp-finance-demo__type-switch button {
  appearance: none;
  min-height: 35px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #667085;
  font-size: 10px;
  font-weight: 750;
  cursor: pointer;
}

.yp-finance-demo__type-switch button[aria-pressed="true"] {
  background: #ffffff;
  color: #047857;
  box-shadow: 0 2px 8px rgba(16, 42, 31, 0.08);
}

.yp-finance-demo__operation-form label,
.yp-finance-demo__settings label {
  display: grid;
  gap: 5px;
  color: #344054;
  font-size: 10px;
  font-weight: 700;
}

.yp-finance-demo__operation-form label span small {
  color: #98a2b3;
  font-size: 8px;
  font-weight: 500;
}

.yp-finance-demo__operation-form input,
.yp-finance-demo__operation-form select,
.yp-finance-demo__settings input {
  width: 100%;
  height: 41px;
  padding: 0 11px;
  border: 1px solid #d0d5dd;
  border-radius: 9px;
  outline: 0;
  background: #ffffff;
  color: #1d2939;
  font-size: 11px;
}

.yp-finance-demo__operation-form input:focus,
.yp-finance-demo__operation-form select:focus,
.yp-finance-demo__settings input:focus,
.yp-finance-demo__budget-row input:focus {
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12);
}

.yp-finance-demo__form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.yp-finance-demo__add,
.yp-finance-demo__buy {
  appearance: none;
  min-height: 45px;
  padding: 0 17px;
  border: 0;
  border-radius: 10px;
  background: #059669;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 9px 20px rgba(5, 150, 105, 0.16);
}

.yp-finance-demo__add:hover,
.yp-finance-demo__buy:hover {
  background: #047857;
}

.yp-finance-demo__form-note {
  margin: 0;
  color: #98a2b3;
  font-size: 8px;
  line-height: 1.4;
  text-align: center;
}

.yp-finance-demo__journal {
  max-height: 505px;
}

.yp-finance-demo__count {
  flex: 0 0 auto;
  padding: 4px 7px;
  border-radius: 999px;
  background: #edfdf5;
  color: #047857;
  font-size: 8px;
  font-weight: 750;
}

.yp-finance-demo__transactions--full {
  max-height: 427px;
  overflow-y: auto;
  padding-right: 4px;
}

.yp-finance-demo__transactions--full .yp-finance-demo__transaction {
  grid-template-columns: 28px minmax(0, 1fr) auto 24px;
}

.yp-finance-demo__plan-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(310px, 0.92fr);
  gap: 12px;
}

.yp-finance-demo__settings {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 15px;
}

.yp-finance-demo__panel h4 {
  margin: 19px 0 8px;
  color: #344054;
  font-size: 11px;
}

.yp-finance-demo__budget-list,
.yp-finance-demo__debt-list {
  display: grid;
  gap: 9px;
}

.yp-finance-demo__budget-row,
.yp-finance-demo__debt {
  padding: 10px 11px;
  border: 1px solid #e7ece9;
  border-radius: 11px;
  background: #fbfcfb;
}

.yp-finance-demo__budget-row > div:first-child,
.yp-finance-demo__debt > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.yp-finance-demo__budget-row strong,
.yp-finance-demo__debt strong {
  color: #344054;
  font-size: 10px;
}

.yp-finance-demo__budget-row label {
  display: flex;
  align-items: center;
  width: 92px;
  height: 29px;
  padding-right: 7px;
  border: 1px solid #d7dfda;
  border-radius: 7px;
  background: #ffffff;
}

.yp-finance-demo__budget-row input {
  width: 100%;
  min-width: 0;
  height: 27px;
  padding: 0 4px 0 7px;
  border: 0;
  border-radius: 7px;
  outline: 0;
  color: #344054;
  font-size: 9px;
  text-align: right;
}

.yp-finance-demo__budget-row label span {
  color: #98a2b3;
  font-size: 9px;
}

.yp-finance-demo__mini-track {
  height: 5px;
}

.yp-finance-demo__budget-row > small {
  display: block;
  margin-top: 5px;
  color: #98a2b3;
  font-size: 8px;
}

.yp-finance-demo__debt > div:first-child > div {
  display: grid;
  gap: 2px;
}

.yp-finance-demo__debt span {
  color: #98a2b3;
  font-size: 8px;
}

.yp-finance-demo__debt b {
  color: #475467;
  font-size: 9px;
}

.yp-finance-demo__debt button {
  appearance: none;
  width: 100%;
  min-height: 30px;
  margin-top: 8px;
  border: 1px solid #b7e8ce;
  border-radius: 8px;
  background: #edfdf5;
  color: #047857;
  font-size: 9px;
  font-weight: 750;
  cursor: pointer;
}

.yp-finance-demo__debt button:hover {
  background: #dcfce7;
}

.yp-finance-demo__debt button:disabled {
  border-color: #e5e7eb;
  background: #f4f5f5;
  color: #98a2b3;
  cursor: default;
}

.yp-finance-demo__empty {
  margin: 12px 0;
  color: #98a2b3;
  font-size: 9px;
  line-height: 1.45;
}

.yp-finance-demo__footer {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 24px;
  border-top: 1px solid #dfe8e3;
  background: #ffffff;
  box-shadow: 0 -7px 22px rgba(16, 42, 31, 0.04);
}

.yp-finance-demo__footer > div {
  display: grid;
  gap: 2px;
}

.yp-finance-demo__footer strong {
  color: #1d2939;
  font-size: 11px;
}

.yp-finance-demo__footer span {
  color: #667085;
  font-size: 9px;
}

.yp-finance-demo__buy {
  flex: 0 0 auto;
  min-height: 43px;
  min-width: 280px;
}

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

.yp-demo button:focus-visible,
.yp-demo input:focus-visible,
.yp-demo select:focus-visible {
  outline: 3px solid rgba(16, 185, 129, 0.28);
  outline-offset: 2px;
}

@media (max-width: 900px) {
  .yp-finance-demo__kpis {
    grid-template-columns: 1fr 1fr;
  }

  .yp-finance-demo__dashboard,
  .yp-finance-demo__dashboard--bottom,
  .yp-finance-demo__operations-layout,
  .yp-finance-demo__plan-grid {
    grid-template-columns: 1fr;
  }

  .yp-finance-demo__journal {
    max-height: none;
  }

  .yp-finance-demo__transactions--full {
    max-height: 360px;
  }
}

.yp-hero button:focus-visible {
  outline: 3px solid rgba(16, 185, 129, 0.28);
  outline-offset: 3px;
}

.yp-selector__preview:focus-visible {
  outline: 3px solid rgba(16, 185, 129, 0.22);
  outline-offset: 3px;
}

@media (max-width: 1150px) {
  .yp-hero__inner {
    grid-template-columns: minmax(0, 0.9fr) minmax(590px, 1.1fr);
    gap: 28px;
  }

  .yp-selector__preview {
    height: 325px;
  }

  .yp-hero h1 {
    font-size: clamp(37px, 4.2vw, 50px);
  }

  .yp-selector {
    padding-inline: 22px;
  }

  .yp-selector__tab {
    grid-template-columns: 43px minmax(0, 1fr);
    padding-inline: 7px;
  }

  .yp-selector__tab[aria-selected="true"] {
    padding-inline: 6px;
  }

  .yp-selector__thumb {
    width: 43px;
  }

  .yp-selector__buy {
    min-width: 220px;
  }

  .yp-selector__cta-group {
    min-width: 220px;
  }
}

@media (max-width: 980px) {
  .yp-hero__inner {
    grid-template-columns: 1fr;
    max-width: 860px;
    padding-top: 44px;
    row-gap: 0;
  }

  .yp-hero__copy {
    display: contents;
  }

  .yp-hero__eyebrow {
    order: 1;
    justify-self: center;
  }

  .yp-hero h1 {
    order: 2;
    justify-self: center;
    text-align: center;
  }

  .yp-hero__lead {
    order: 3;
    margin-inline: auto;
    text-align: center;
  }

  .yp-selector {
    order: 4;
    margin-top: 30px;
  }

  .yp-selector__preview {
    height: 405px;
  }

  .yp-hero__benefits {
    order: 5;
    max-width: 620px;
    margin-inline: auto;
    text-align: left;
  }

  .yp-hero__actions {
    order: 6;
    justify-content: center;
  }

  .yp-hero__note {
    order: 7;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .yp-hero__inner {
    width: min(100% - 24px, 760px);
    padding: 29px 0 34px;
    gap: 0;
  }

  .yp-hero__eyebrow {
    margin-bottom: 15px;
    font-size: 11px;
  }

  .yp-hero h1 {
    font-size: clamp(32px, 10.6vw, 43px);
    line-height: 1.09;
  }

  .yp-hero__lead {
    margin-top: 19px;
    font-size: 15px;
    line-height: 1.55;
  }

  .yp-hero__benefits {
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
    margin-top: 25px;
    font-size: 13px;
  }

  .yp-hero__actions {
    display: none;
  }

  .yp-hero__note {
    display: none;
  }

  .yp-selector {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 24px;
    padding: 20px 14px 16px;
    border-radius: 20px;
    box-sizing: border-box;
  }

  .yp-selector__heading {
    font-size: 23px;
  }

  .yp-selector__hint {
    font-size: 12px;
    line-height: 1.45;
  }

  .yp-selector__tabs {
    order: 3;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .yp-selector__heading {
    order: 1;
  }

  .yp-selector__hint {
    order: 2;
  }

  .yp-selector__tab,
  .yp-selector__tab[aria-selected="true"] {
    grid-template-columns: 40px minmax(0, 1fr);
    min-height: 69px;
    padding: 7px;
  }

  .yp-selector__tab[aria-selected="true"] {
    padding: 6px;
  }

  .yp-selector__thumb {
    width: 40px;
    height: 46px;
  }

  .yp-selector__tab-name {
    font-size: 11px;
  }

  .yp-selector__tab-price {
    font-size: 12px;
  }

  .yp-selector__preview {
    order: 5;
    height: 278px;
    margin-top: 14px;
    padding: 10px 42px;
  }

  .yp-selector__image {
    inset: 10px 42px;
    width: calc(100% - 84px);
    height: calc(100% - 20px);
  }

  .yp-selector__nav {
    width: 36px;
    height: 36px;
  }

  .yp-selector__nav--prev {
    left: 8px;
  }

  .yp-selector__nav--next {
    right: 8px;
  }

  .yp-selector__gallery-meta {
    order: 6;
    grid-template-columns: minmax(0, 1fr) auto 38px;
    gap: 7px;
    font-size: 10px;
  }

  .yp-selector__dots {
    gap: 4px;
  }

  .yp-selector__dot {
    width: 5px;
    height: 5px;
  }

  .yp-selector__dot[aria-current="true"] {
    width: 14px;
  }

  .yp-selector__details {
    order: 4;
    grid-template-columns: 1fr;
    align-items: stretch;
    margin-top: 15px;
  }

  .yp-selector__product-title {
    font-size: 19px;
  }

  .yp-selector__buy {
    width: 100%;
    min-width: 0;
  }

  .yp-selector__cta-group {
    min-width: 0;
  }

  .yp-selector__value {
    font-size: 10px;
  }

  .yp-selector__demo-disclaimer {
    grid-column: auto;
    padding: 10px 11px;
    font-size: 11px;
  }

  .yp-selector__demo-disclaimer strong {
    font-size: 12px;
  }

  .yp-selector__trust {
    grid-column: auto;
    gap: 7px 12px;
    line-height: 1.4;
    font-size: 12px;
  }

  .yp-demo {
    align-items: stretch;
    padding: 0;
  }

  .yp-demo__card {
    width: 100%;
    height: 100dvh;
    max-height: none;
    border: 0;
    border-radius: 0;
  }

  .yp-demo h2 {
    font-size: 21px;
  }

  .yp-demo__lead {
    max-width: 290px;
    font-size: 10px;
  }

  .yp-finance-demo__header {
    gap: 9px;
    padding: 14px 12px 11px;
  }

  .yp-finance-demo__header-actions {
    gap: 5px;
  }

  .yp-finance-demo__reset {
    width: 34px;
    min-height: 34px;
    padding: 0;
    overflow: hidden;
    color: transparent;
    font-size: 0;
  }

  .yp-finance-demo__reset::before {
    content: "↺";
    color: #667085;
    font-size: 20px;
  }

  .yp-demo__close {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
  }

  .yp-demo__eyebrow {
    margin-bottom: 5px;
    font-size: 8px;
  }

  .yp-finance-demo__notice {
    justify-content: flex-start;
    gap: 15px;
    padding: 7px 12px;
    overflow-x: auto;
    font-size: 8px;
    white-space: nowrap;
  }

  .yp-finance-demo__tabs {
    gap: 3px;
    padding: 7px 8px;
  }

  .yp-finance-demo__tabs button {
    flex: 1 1 0;
    min-width: 0;
    padding-inline: 5px;
    font-size: 9px;
  }

  .yp-finance-demo__scroll {
    padding: 12px 10px 18px;
  }

  .yp-finance-demo__kpis {
    gap: 7px;
  }

  .yp-finance-demo__kpis article {
    padding: 11px;
    border-radius: 11px;
  }

  .yp-finance-demo__kpis span {
    font-size: 8px;
  }

  .yp-finance-demo__kpis strong {
    font-size: 17px;
  }

  .yp-finance-demo__kpis small {
    font-size: 7px;
  }

  .yp-finance-demo__panel {
    padding: 13px;
    border-radius: 12px;
  }

  .yp-finance-demo__donut-wrap {
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 13px;
    min-height: 145px;
  }

  .yp-finance-demo__donut {
    width: 118px;
  }

  .yp-finance-demo__donut::after {
    inset: 21px;
  }

  .yp-finance-demo__donut strong {
    font-size: 12px;
  }

  .yp-finance-demo__legend-row {
    font-size: 8px;
  }

  .yp-finance-demo__dashboard {
    gap: 8px;
    margin-top: 8px;
  }

  .yp-finance-demo__locked {
    margin-top: 8px;
  }

  .yp-finance-demo__section-head h3 {
    font-size: 18px;
  }

  .yp-finance-demo__operations-layout,
  .yp-finance-demo__plan-grid {
    gap: 8px;
  }

  .yp-finance-demo__form-grid,
  .yp-finance-demo__settings {
    grid-template-columns: 1fr;
  }

  .yp-finance-demo__transactions--full {
    max-height: none;
  }

  .yp-finance-demo__transaction {
    grid-template-columns: 27px minmax(0, 1fr) auto;
    gap: 7px;
  }

  .yp-finance-demo__transactions--full .yp-finance-demo__transaction {
    grid-template-columns: 27px minmax(0, 1fr) auto 24px;
  }

  .yp-finance-demo__footer {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 9px 10px max(9px, env(safe-area-inset-bottom));
  }

  .yp-finance-demo__footer > div {
    display: none;
  }

  .yp-finance-demo__buy {
    width: 100%;
    min-width: 0;
    min-height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .yp-hero *,
  .yp-hero *::before,
  .yp-hero *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Spreadsheet-style demo: intentionally mirrors the purchased Google Sheet. */
.yp-sheet-demo,
.yp-sheet-demo * {
  box-sizing: border-box;
}

.yp-demo__card.yp-sheet-demo {
  width: min(98vw, 1420px);
  height: min(95vh, 960px);
  max-height: none;
  overflow: hidden;
  border: 1px solid #cfd4da;
  border-radius: 14px;
  background: #ffffff;
  color: #202124;
  font-family: Montserrat, Arial, sans-serif;
  box-shadow: 0 28px 85px rgba(15, 23, 42, 0.3);
}

.yp-sheet-demo button,
.yp-sheet-demo input,
.yp-sheet-demo select {
  font: inherit;
}

.yp-sheet-demo__titlebar {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 8px 12px 7px 15px;
  border-bottom: 1px solid #e5e7eb;
  background: #ffffff;
}

.yp-sheet-demo__document {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 11px;
}

.yp-sheet-demo__document > div {
  min-width: 0;
}

.yp-sheet-demo__document h2 {
  margin: 0;
  overflow: hidden;
  color: #202124;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.yp-sheet-demo__document > div > span {
  display: block;
  margin-top: 3px;
  color: #6b7280;
  font-size: 9px;
}

.yp-sheet-demo__file-icon {
  position: relative;
  display: block;
  flex: 0 0 30px;
  width: 30px;
  height: 38px;
  overflow: hidden;
  border-radius: 3px;
  background: #0f9d58;
}

.yp-sheet-demo__file-icon::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  border-width: 0 0 9px 9px;
  border-style: solid;
  border-color: transparent transparent rgba(255, 255, 255, 0.72) transparent;
}

.yp-sheet-demo__file-icon::after {
  content: "";
  position: absolute;
  inset: 13px 6px 6px;
  border: 2px solid #ffffff;
  background: repeating-linear-gradient(to bottom, transparent 0 4px, #ffffff 4px 5px), repeating-linear-gradient(to right, transparent 0 6px, #ffffff 6px 7px);
}

.yp-sheet-demo__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.yp-sheet-demo__reset {
  appearance: none;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #dadce0;
  border-radius: 17px;
  background: #ffffff;
  color: #3c4043;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
}

.yp-sheet-demo__reset:hover {
  background: #f8f9fa;
  border-color: #bdc1c6;
}

.yp-sheet-demo .yp-demo__close {
  flex-basis: 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f1f3f4;
  color: #5f6368;
}

.yp-sheet-demo__menus,
.yp-sheet-demo__toolbar {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  overflow-x: auto;
  border-bottom: 1px solid #e5e7eb;
  background: #ffffff;
  scrollbar-width: none;
  white-space: nowrap;
}

.yp-sheet-demo__menus::-webkit-scrollbar,
.yp-sheet-demo__toolbar::-webkit-scrollbar,
.yp-sheet-demo__tabs::-webkit-scrollbar {
  display: none;
}

.yp-sheet-demo__menus {
  min-height: 29px;
  gap: 19px;
  padding: 0 16px 1px 56px;
  color: #3c4043;
  font-size: 9px;
}

.yp-sheet-demo__toolbar {
  min-height: 37px;
  gap: 12px;
  padding: 4px 14px;
  color: #4b5563;
  font-size: 11px;
}

.yp-sheet-demo__toolbar span,
.yp-sheet-demo__toolbar strong,
.yp-sheet-demo__toolbar em,
.yp-sheet-demo__toolbar u,
.yp-sheet-demo__toolbar b {
  display: inline-grid;
  min-width: 22px;
  height: 27px;
  place-items: center;
  padding: 0 5px;
  border-radius: 4px;
  font-style: normal;
  font-weight: 500;
  text-decoration: none;
}

.yp-sheet-demo__toolbar b {
  min-width: 44px;
  border: 1px solid #e5e7eb;
  justify-content: start;
}

.yp-sheet-demo__toolbar strong {
  font-weight: 800;
}

.yp-sheet-demo__toolbar em {
  font-style: italic;
}

.yp-sheet-demo__toolbar u {
  text-decoration: underline;
}

.yp-sheet-demo__toolbar i {
  flex: 0 0 1px;
  width: 1px;
  height: 23px;
  background: #dadce0;
}

.yp-sheet-demo__formula {
  display: grid;
  flex: 0 0 32px;
  grid-template-columns: 64px 34px minmax(0, 1fr);
  align-items: center;
  border-bottom: 1px solid #cbd0d6;
  background: #ffffff;
  color: #3c4043;
  font-size: 10px;
}

.yp-sheet-demo__formula > span:first-child {
  height: 24px;
  padding: 5px 8px;
  border-right: 1px solid #dadce0;
  text-align: center;
  font-weight: 600;
}

.yp-sheet-demo__formula i {
  color: #5f6368;
  font: italic 13px/1 Georgia, serif;
  text-align: center;
}

.yp-sheet-demo__formula > span:last-child {
  min-width: 0;
  height: 24px;
  padding: 5px 9px;
  overflow: hidden;
  border-left: 1px solid #e5e7eb;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.yp-sheet-demo__hint {
  display: flex;
  flex: 0 0 28px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 14px;
  border-bottom: 1px solid #d8e9df;
  background: #e9f7ef;
  color: #24704d;
  font-size: 9px;
  font-weight: 600;
  text-align: center;
}

.yp-sheet-demo__hint small {
  display: none;
  font-size: 8px;
  font-weight: 500;
}

.yp-sheet-demo__viewport {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  background: #f8f9fa;
  -webkit-overflow-scrolling: touch;
}

.yp-sheet-demo__view[hidden] {
  display: none !important;
}

.yp-sheet-demo__view {
  width: max-content;
  min-width: 100%;
  min-height: 100%;
  background: #ffffff;
}

.yp-sheet-demo__grid-canvas {
  position: relative;
  width: 1266px;
  min-height: 1080px;
  padding: 44px 20px 66px 62px;
  background-color: #ffffff;
  background-image: linear-gradient(#e2e5e8 1px, transparent 1px), linear-gradient(90deg, #e2e5e8 1px, transparent 1px);
  background-position: 50px 28px;
  background-size: 32px 24px;
}

.yp-sheet-demo__grid-canvas.is-summary {
  min-height: 720px;
}

.yp-sheet-demo__grid-canvas.is-settings {
  min-height: 950px;
}

.yp-sheet-demo__corner {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  width: 50px;
  height: 28px;
  border-right: 1px solid #c8cdd2;
  border-bottom: 1px solid #c8cdd2;
  background: #f1f3f4;
}

.yp-sheet-demo__corner::after {
  content: "";
  position: absolute;
  right: 3px;
  bottom: 3px;
  border-width: 0 0 7px 7px;
  border-style: solid;
  border-color: transparent transparent #9aa0a6 transparent;
}

.yp-sheet-demo__column-heads {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 50px;
  display: grid;
  grid-template-columns: repeat(38, 32px);
  width: 1216px;
  height: 28px;
  border-bottom: 1px solid #c8cdd2;
  background: #f1f3f4;
}

.yp-sheet-demo__column-heads span {
  display: grid;
  place-items: center;
  border-right: 1px solid #d5d9dd;
  color: #5f6368;
  font: 500 8px/1 Arial, sans-serif;
}

.yp-sheet-demo__row-heads {
  position: absolute;
  z-index: 2;
  top: 28px;
  left: 0;
  display: grid;
  grid-auto-rows: 24px;
  width: 50px;
  border-right: 1px solid #c8cdd2;
  background: #f1f3f4;
}

.yp-sheet-demo__row-heads span {
  display: grid;
  place-items: center;
  border-bottom: 1px solid #d5d9dd;
  color: #5f6368;
  font: 500 8px/1 Arial, sans-serif;
}

.yp-sheet-demo__sheet-body {
  position: relative;
  z-index: 1;
  width: 1184px;
  min-height: 620px;
  font-family: Montserrat, Arial, sans-serif;
}

.yp-sheet-demo__demo-stamp {
  position: absolute;
  z-index: 4;
  right: 10px;
  bottom: -43px;
  padding: 6px 10px;
  border: 1px solid #b7d8c5;
  border-radius: 3px;
  background: rgba(235, 247, 240, 0.94);
  color: #3d7a59;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.yp-sheet-cell {
  position: relative;
  outline: none;
}

.yp-sheet-cell.is-selected,
.yp-sheet-cell:focus {
  z-index: 3;
  box-shadow: inset 0 0 0 2px #1a73e8 !important;
}

.yp-sheet-demo__settings-title {
  display: grid;
  grid-template-columns: 290px 1fr;
  width: 920px;
  min-height: 55px;
  margin: 0 auto 24px;
  border: 1px solid #b7b7b7;
  background: #ffffff;
}

.yp-sheet-demo__settings-title strong,
.yp-sheet-demo__settings-title span {
  display: grid;
  place-items: center;
}

.yp-sheet-demo__settings-title strong {
  color: #0000ff;
  font-size: 28px;
}

.yp-sheet-demo__settings-title span {
  border-left: 1px solid #b7b7b7;
  background: #f3f3f3;
  font-size: 15px;
  font-weight: 800;
}

.yp-sheet-demo__settings-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  width: 920px;
  margin: 0 auto;
}

.yp-sheet-demo__settings-column {
  border: 1px solid #b7b7b7;
  background: #ffffff;
}

.yp-sheet-demo__settings-column h3 {
  display: grid;
  min-height: 32px;
  margin: 0;
  place-items: center;
  border-bottom: 1px solid #b7b7b7;
  background: #f3f3f3;
  font-size: 12px;
  font-weight: 800;
}

.yp-sheet-demo__settings-column input {
  display: block;
  width: 100%;
  height: 24px;
  padding: 0 5px;
  border: 0;
  border-bottom: 1px solid #d9d9d9;
  background: #ffffff;
  color: #202124;
  font-size: 9px;
}

.yp-sheet-demo__summary-title {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 520px;
  min-height: 42px;
  margin: 0 0 24px 24px;
  border: 1px solid #b7b7b7;
  background: #ffffff;
}

.yp-sheet-demo__summary-title strong,
.yp-sheet-demo__summary-title span {
  display: grid;
  place-items: center;
}

.yp-sheet-demo__summary-title strong {
  color: #0000ff;
  font-size: 24px;
}

.yp-sheet-demo__summary-title span {
  border-left: 1px solid #b7b7b7;
  background: #f3f3f3;
  font-size: 13px;
  font-weight: 800;
}

.yp-sheet-demo__summary-kpis {
  position: absolute;
  top: 0;
  right: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  width: 500px;
}

.yp-sheet-demo__summary-kpi {
  display: grid;
  min-height: 42px;
  border: 1px solid #b7b7b7;
  background: #ffffff;
  text-align: center;
}

.yp-sheet-demo__summary-kpi b {
  display: grid;
  place-items: center;
  border-bottom: 1px solid #d9d9d9;
  background: #f3f3f3;
  font-size: 10px;
}

.yp-sheet-demo__summary-kpi span {
  display: grid;
  place-items: center;
  font-size: 9px;
}

.yp-sheet-demo__summary-note {
  width: fit-content;
  margin: -12px auto 12px;
  padding: 4px 8px;
  background: #fff7d7;
  color: #806414;
  font-size: 8px;
}

.yp-sheet-demo__summary-charts,
.yp-sheet-demo__month-charts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.yp-sheet-demo__summary-charts {
  margin-top: 15px;
}

.yp-sheet-demo__chart-box {
  min-width: 0;
  min-height: 225px;
  border: 1px solid #bfc4c9;
  background: #ffffff;
}

.yp-sheet-demo__chart-box > h3 {
  display: grid;
  min-height: 26px;
  margin: 0;
  place-items: center;
  border-bottom: 1px solid #c9cdd1;
  background: #f3f3f3;
  font-size: 9px;
  font-weight: 800;
}

.yp-sheet-demo__pie-layout {
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 190px;
  padding: 12px;
}

.yp-sheet-demo__pie {
  position: relative;
  display: grid;
  width: 128px;
  height: 128px;
  margin: auto;
  place-items: center;
  border-radius: 50%;
  background: #e6e8eb;
  transition: background 150ms ease;
}

.yp-sheet-demo__pie::after {
  content: "";
  position: absolute;
  inset: 43px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
}

.yp-sheet-demo__pie span {
  position: relative;
  z-index: 1;
  color: #394150;
  font-size: 8px;
  font-weight: 700;
}

.yp-sheet-demo__chart-legend {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.yp-sheet-demo__chart-legend > span {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr) 26px;
  gap: 5px;
  align-items: center;
  min-width: 0;
  color: #5f6368;
  font-size: 7px;
}

.yp-sheet-demo__chart-legend i {
  width: 7px;
  height: 7px;
}

.yp-sheet-demo__chart-legend b {
  overflow: hidden;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.yp-sheet-demo__chart-legend em {
  font-style: normal;
  text-align: right;
}

.yp-sheet-demo__bar-chart {
  position: relative;
  display: flex;
  height: 190px;
  align-items: flex-end;
  justify-content: center;
  gap: 24px;
  padding: 29px 20px 28px;
  overflow: hidden;
}

.yp-sheet-demo__bar-gridlines {
  position: absolute;
  inset: 20px 14px 27px;
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  pointer-events: none;
}

.yp-sheet-demo__bar-gridlines i {
  border-top: 1px solid #d8dadd;
}

.yp-sheet-demo__bar-item {
  position: relative;
  z-index: 1;
  display: grid;
  width: 43px;
  align-items: end;
  justify-items: center;
}

.yp-sheet-demo__bar-item > b {
  margin-bottom: 4px;
  color: #4b5563;
  font-size: 6px;
  font-weight: 600;
}

.yp-sheet-demo__bar-item > span {
  display: block;
  width: 20px;
  min-height: 4px;
}

.yp-sheet-demo__bar-item > small {
  position: absolute;
  top: calc(100% + 5px);
  width: 68px;
  color: #5f6368;
  font-size: 6px;
  text-align: center;
}

.yp-sheet-demo__locked-area {
  display: grid;
  grid-template-columns: 34px 1fr;
  width: 650px;
  margin: 28px auto 0;
  padding: 13px 16px;
  border: 1px dashed #a9b0b6;
  background: rgba(248, 249, 250, 0.92);
  color: #5f6368;
}

.yp-sheet-demo__locked-area > span {
  position: relative;
  align-self: center;
  width: 16px;
  height: 13px;
  margin-left: 4px;
  border: 2px solid #7b8389;
  border-radius: 2px;
  grid-row: 1 / 3;
}

.yp-sheet-demo__locked-area > span::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 2px;
  width: 8px;
  height: 9px;
  border: 2px solid #7b8389;
  border-bottom: 0;
  border-radius: 7px 7px 0 0;
}

.yp-sheet-demo__locked-area strong {
  font-size: 10px;
}

.yp-sheet-demo__locked-area small {
  margin-top: 3px;
  font-size: 8px;
}

.yp-sheet-demo__month-title {
  display: grid;
  min-height: 34px;
  margin: 0 0 14px;
  place-items: center;
  border: 1px solid #b7b7b7;
  background: #f3f3f3;
  color: #202124;
  font-size: 18px;
  line-height: 1;
  font-weight: 800;
}

.yp-sheet-demo__month-summary {
  display: grid;
  grid-template-columns: 190px repeat(4, 150px) 112px 158px;
  gap: 8px;
  align-items: stretch;
}

.yp-sheet-demo__logo-block,
.yp-sheet-demo__metric {
  min-width: 0;
  min-height: 74px;
  border: 1px solid #b7b7b7;
  background: #ffffff;
}

.yp-sheet-demo__logo-block > strong {
  display: grid;
  min-height: 38px;
  place-items: center;
  color: #0000ff;
  font-size: 21px;
}

.yp-sheet-demo__logo-block label {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  min-height: 34px;
  align-items: center;
  border-top: 1px solid #b7b7b7;
  font-size: 8px;
  font-weight: 700;
  text-align: center;
}

.yp-sheet-demo__logo-block input {
  width: 100%;
  height: 33px;
  padding: 0 5px;
  border: 0;
  border-left: 1px solid #d9d9d9;
  background: #ffffff;
  color: #202124;
  font-size: 8px;
  font-weight: 700;
  text-align: right;
}

.yp-sheet-demo__metric h3 {
  display: grid;
  min-height: 25px;
  margin: 0;
  place-items: center;
  border-bottom: 1px solid #c9c9c9;
  background: #f3f3f3;
  font-size: 8px;
  font-weight: 800;
}

.yp-sheet-demo__metric > div,
.yp-sheet-demo__metric > p {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
  text-align: center;
}

.yp-sheet-demo__metric > div b,
.yp-sheet-demo__metric > p span {
  display: grid;
  min-width: 0;
  min-height: 22px;
  place-items: center;
  border-right: 1px solid #d9d9d9;
  overflow: hidden;
  font-size: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.yp-sheet-demo__metric > p span {
  border-top: 1px solid #e5e5e5;
  font-size: 8px;
  font-weight: 600;
}

.yp-sheet-demo__metric > div b:last-child,
.yp-sheet-demo__metric > p span:last-child {
  border-right: 0;
}

.yp-sheet-demo__metric--single > p {
  grid-template-columns: 1fr;
}

.yp-sheet-demo__metric--single > p span {
  min-height: 45px;
  border-right: 0;
}

.yp-sheet-demo__metric--trend > p span:first-child {
  color: #2f8f68;
}

.yp-sheet-demo__metric--trend > p span:last-child {
  color: #b45309;
}

.yp-sheet-demo__month-charts {
  margin-top: 14px;
}

.yp-sheet-demo__month-charts .yp-sheet-demo__chart-box {
  min-height: 230px;
}

.yp-sheet-demo__plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 14px;
}

.yp-sheet-demo__daily {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 14px;
}

.yp-sheet-demo__table {
  min-width: 0;
  border: 1px solid #b7b7b7;
  background: #ffffff;
}

.yp-sheet-demo__plans > .yp-sheet-demo__table {
  min-height: 282px;
}

.yp-sheet-demo__table > h3 {
  display: grid;
  min-height: 25px;
  margin: 0;
  place-items: center;
  border-bottom: 1px solid #b7b7b7;
  background: #f3f3f3;
  font-size: 8px;
  font-weight: 800;
}

.yp-sheet-demo__table-head,
.yp-sheet-demo__table-row,
.yp-sheet-demo__table-total {
  display: grid;
  min-height: 24px;
  align-items: stretch;
}

.yp-sheet-demo__table-head.is-plan,
.yp-sheet-demo__table-row.is-plan,
.yp-sheet-demo__table-total.is-plan,
.yp-sheet-demo__table-head.is-debt,
.yp-sheet-demo__table-row.is-debt,
.yp-sheet-demo__table-total.is-debt {
  grid-template-columns: 1.45fr 0.75fr 0.75fr;
}

.yp-sheet-demo__table-head.is-daily,
.yp-sheet-demo__table-row.is-daily {
  grid-template-columns: 78px 1.05fr 80px 1.25fr 22px;
}

.yp-sheet-demo__table-head > span,
.yp-sheet-demo__table-total > *,
.yp-sheet-demo__table-row > input,
.yp-sheet-demo__table-row > select,
.yp-sheet-demo__table-row > span {
  display: grid;
  min-width: 0;
  min-height: 24px;
  padding: 0 4px;
  place-items: center;
  border: 0;
  border-right: 1px solid #d9d9d9;
  border-bottom: 1px solid #d9d9d9;
  border-radius: 0;
  outline: 0;
  background: #ffffff;
  color: #202124;
  font-size: 7px;
  text-align: center;
}

.yp-sheet-demo__table-head > span {
  background: #f3f3f3;
  font-weight: 700;
}

.yp-sheet-demo__table-row > input::placeholder {
  color: #c0c4c8;
}

.yp-sheet-demo__table-row > select {
  padding-right: 14px;
  text-align-last: center;
}

.yp-sheet-demo__table-row > .is-formula {
  background: #fafafa;
}

.yp-sheet-demo__table-head > *:last-child,
.yp-sheet-demo__table-row > *:last-child,
.yp-sheet-demo__table-total > *:last-child {
  border-right: 0;
}

.yp-sheet-demo__table-total {
  margin-top: auto;
  background: #f6f6f6;
}

.yp-sheet-demo__table-total > * {
  background: #f6f6f6;
  font-size: 7px;
  font-weight: 800;
}

.yp-sheet-demo__table-total > b {
  justify-content: end;
  padding-right: 12px;
}

.yp-sheet-demo__table-row.is-daily > button {
  appearance: none;
  display: grid;
  min-height: 24px;
  padding: 0;
  place-items: center;
  border: 0;
  border-bottom: 1px solid #d9d9d9;
  background: #fafafa;
  color: #9aa0a6;
  font-size: 13px;
  cursor: pointer;
}

.yp-sheet-demo__table-row.is-daily > button:hover:not(:disabled) {
  background: #fee2e2;
  color: #b91c1c;
}

.yp-sheet-demo__table-row.is-daily > button:disabled {
  color: transparent;
  cursor: default;
}

.yp-sheet-demo__table--daily {
  min-height: 200px;
}

.yp-sheet-demo__tabs {
  display: flex;
  flex: 0 0 39px;
  align-items: stretch;
  gap: 2px;
  padding: 0 8px;
  overflow-x: auto;
  border-top: 1px solid #c8cdd2;
  border-bottom: 1px solid #d9dde1;
  background: #f8f9fa;
  scrollbar-width: none;
  white-space: nowrap;
}

.yp-sheet-demo__tab-add {
  display: grid;
  flex: 0 0 34px;
  place-items: center;
  color: #5f6368;
  font-size: 19px;
}

.yp-sheet-demo__tabs button {
  appearance: none;
  position: relative;
  flex: 0 0 auto;
  min-width: 68px;
  padding: 0 13px;
  border: 0;
  background: transparent;
  color: #4b5563;
  font-size: 9px;
  font-weight: 600;
  cursor: pointer;
}

.yp-sheet-demo__tabs button:hover:not(:disabled) {
  background: #eef1f2;
}

.yp-sheet-demo__tabs button[aria-selected="true"] {
  background: #ffffff;
  color: #146c43;
}

.yp-sheet-demo__tabs button[aria-selected="true"]::after {
  content: "";
  position: absolute;
  right: 8px;
  bottom: 0;
  left: 8px;
  height: 3px;
  background: #0f9d58;
}

.yp-sheet-demo__tabs button.is-locked {
  color: #a0a6ab;
  cursor: not-allowed;
}

.yp-sheet-demo__footer {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 64px;
  padding: 9px 13px 9px 18px;
  background: #eff8f2;
  color: #245c3f;
}

.yp-sheet-demo__footer > div {
  display: grid;
  gap: 3px;
}

.yp-sheet-demo__footer strong {
  font-size: 10px;
}

.yp-sheet-demo__footer span {
  color: #5f7869;
  font-size: 8px;
}

.yp-sheet-demo__buy {
  appearance: none;
  min-height: 43px;
  padding: 0 19px;
  border: 0;
  border-radius: 7px;
  background: #0f9d58;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 5px 13px rgba(15, 157, 88, 0.18);
}

.yp-sheet-demo__buy:hover {
  background: #0b8043;
}

.yp-sheet-demo__live {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .yp-demo {
    padding: 0;
  }

  .yp-demo__card.yp-sheet-demo {
    width: 100%;
    height: 100dvh;
    border: 0;
    border-radius: 0;
  }

  .yp-sheet-demo__titlebar {
    min-height: 54px;
    padding: 7px 8px 6px 10px;
  }

  .yp-sheet-demo__document {
    gap: 8px;
  }

  .yp-sheet-demo__file-icon {
    flex-basis: 25px;
    width: 25px;
    height: 32px;
  }

  .yp-sheet-demo__file-icon::after {
    inset: 11px 5px 5px;
  }

  .yp-sheet-demo__document h2 {
    max-width: 205px;
    font-size: 13px;
  }

  .yp-sheet-demo__document > div > span {
    font-size: 7px;
  }

  .yp-sheet-demo__reset {
    width: 32px;
    min-height: 32px;
    padding: 0;
    overflow: hidden;
    color: transparent;
    font-size: 0;
  }

  .yp-sheet-demo__reset::before {
    content: "↺";
    color: #5f6368;
    font-size: 18px;
  }

  .yp-sheet-demo .yp-demo__close {
    flex-basis: 32px;
    width: 32px;
    height: 32px;
  }

  .yp-sheet-demo__menus {
    min-height: 27px;
    gap: 16px;
    padding-left: 12px;
    font-size: 8px;
  }

  .yp-sheet-demo__toolbar {
    min-height: 34px;
    gap: 8px;
    padding-inline: 8px;
  }

  .yp-sheet-demo__formula {
    flex-basis: 30px;
    grid-template-columns: 52px 30px minmax(0, 1fr);
    font-size: 8px;
  }

  .yp-sheet-demo__hint {
    display: grid;
    flex-basis: 36px;
    gap: 1px;
    justify-content: stretch;
    padding: 3px 7px;
    font-size: 7px;
    line-height: 1.25;
  }

  .yp-sheet-demo__hint small {
    display: block;
  }

  .yp-sheet-demo__tabs {
    flex-basis: 38px;
  }

  .yp-sheet-demo__tabs button {
    min-width: 62px;
    padding-inline: 10px;
    font-size: 8px;
  }

  .yp-sheet-demo__footer {
    min-height: 58px;
    padding: 7px 8px max(7px, env(safe-area-inset-bottom));
  }

  .yp-sheet-demo__footer > div {
    display: none;
  }

  .yp-sheet-demo__buy {
    width: 100%;
    min-height: 43px;
    font-size: 9px;
  }
}

/* Product-specific Google Sheets demos */
.yp-products-demo-notice {
  display: grid;
  gap: 3px;
  width: min(100%, 800px);
  margin-top: 20px;
  padding: 14px 16px;
  border: 1px solid #fde68a;
  border-radius: 12px;
  background: #fffbeb;
  color: #7c5a12;
  font-size: 14px;
  line-height: 1.45;
}

.yp-products-demo-notice strong {
  color: #754b08;
  font-size: 16px;
  font-weight: 800;
}

.yp-planner-card {
  display: flex;
  flex-direction: column;
}

.yp-card-content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
}

.yp-card-footer {
  margin-top: auto !important;
}

.yp-card-purchase-row {
  gap: 12px;
  align-items: flex-end !important;
}

.yp-card-purchase-row > :first-child {
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
}

.yp-card-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.yp-card-actions > button:not(.yp-card-demo-button) {
  min-height: 40px;
  padding-inline: 14px !important;
  gap: 6px !important;
  font-size: 13px !important;
}

.yp-card-demo-button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 82px;
  min-height: 34px;
  margin: 0;
  padding: 0 8px;
  border: 1.5px solid #10b981;
  border-radius: 10px;
  background: #ffffff;
  color: #087a55;
  font: inherit;
  font-size: 10px;
  font-weight: 750;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.yp-landing-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.yp-landing-actions > button:first-child {
  min-height: 48px;
}

.yp-landing-demo {
  appearance: none;
  min-height: 40px;
  padding: 0 18px;
  border: 1.5px solid #10b981;
  border-radius: 10px;
  background: #ffffff;
  color: #087a55;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.yp-landing-demo:hover {
  background: #ecfdf5;
  color: #065f46;
  box-shadow: 0 7px 16px rgba(16, 185, 129, 0.12);
  transform: translateY(-1px);
}

.yp-landing-demo-note {
  display: grid;
  gap: 2px;
  width: min(100%, 500px);
  margin: 2px auto 0;
  padding: 10px 12px;
  border: 1px solid #fde68a;
  border-radius: 10px;
  background: #fffbeb;
  color: #7c5a12;
  font-size: 12px;
  line-height: 1.4;
}

.yp-landing-demo-note strong {
  color: #754b08;
  font-size: 13px;
  font-weight: 800;
}

.yp-card-demo-button:hover {
  background: #ecfdf5;
  color: #065f46;
  box-shadow: 0 7px 16px rgba(16, 185, 129, 0.12);
  transform: translateY(-1px);
}

.yp-product-sheet-demo__viewport > [data-product-demo-host] {
  width: max-content;
  min-width: 100%;
  min-height: 100%;
  background: #ffffff;
}

.yp-pdemo-grid {
  position: relative;
  min-height: 720px;
  padding: 42px 22px 74px 58px;
  color: #202124;
  background-color: #ffffff;
  background-image: linear-gradient(#e3e6e8 1px, transparent 1px), linear-gradient(90deg, #e3e6e8 1px, transparent 1px);
  background-position: 46px 26px;
  background-size: 34px 24px;
  box-sizing: border-box;
}

.yp-pdemo-grid.is-weekly,
.yp-pdemo-grid.is-fitness {
  width: 1840px;
}

.yp-pdemo-grid.is-weekly-calendar {
  width: 1450px;
}

.yp-pdemo-grid.is-habits {
  width: 1540px;
}

.yp-pdemo-grid.is-habits-year,
.yp-pdemo-grid.is-habits-goals {
  width: 1220px;
}

.yp-pdemo-grid.is-tasks {
  width: 980px;
  min-height: 620px;
}

.yp-pdemo-grid__corner {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  width: 46px;
  height: 27px;
  border-right: 1px solid #c9cdd1;
  border-bottom: 1px solid #c9cdd1;
  background: #f1f3f4;
}

.yp-pdemo-grid__columns {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 46px;
  display: grid;
  height: 27px;
  grid-auto-flow: column;
  grid-auto-columns: 64px;
  overflow: hidden;
  border-bottom: 1px solid #c9cdd1;
  background: #f1f3f4;
}

.yp-pdemo-grid__columns span {
  display: grid;
  place-items: center;
  border-right: 1px solid #d9dde1;
  color: #5f6368;
  font-size: 9px;
}

.yp-pdemo-grid__rows {
  position: absolute;
  z-index: 2;
  top: 27px;
  bottom: 0;
  left: 0;
  display: grid;
  width: 46px;
  grid-auto-rows: 24px;
  align-content: start;
  overflow: hidden;
  border-right: 1px solid #c9cdd1;
  background: #f1f3f4;
}

.yp-pdemo-grid__rows span {
  display: grid;
  place-items: center;
  border-bottom: 1px solid #d9dde1;
  color: #5f6368;
  font-size: 8px;
}

.yp-pdemo-grid__body {
  position: relative;
  z-index: 1;
  min-height: 540px;
  background: rgba(255, 255, 255, 0.96);
}

.yp-pdemo-grid input,
.yp-pdemo-grid select,
.yp-pdemo-grid textarea,
.yp-pdemo-grid button {
  box-sizing: border-box;
  font: inherit;
}

.yp-pdemo-grid input:not([type="checkbox"]),
.yp-pdemo-grid select,
.yp-pdemo-grid textarea {
  width: 100%;
  min-width: 0;
  min-height: 25px;
  padding: 3px 6px;
  border: 1px solid #d6d9dc;
  border-radius: 0;
  outline: 0;
  background: #ffffff;
  color: #202124;
  font-size: 9px;
}

.yp-pdemo-grid input:not([type="checkbox"]):focus,
.yp-pdemo-grid select:focus,
.yp-pdemo-grid textarea:focus,
.yp-pdemo-grid [data-cell].is-selected {
  position: relative;
  z-index: 2;
  border-color: #1a73e8;
  box-shadow: inset 0 0 0 1px #1a73e8;
}

.yp-pdemo-grid input[type="checkbox"] {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: #0f9d58;
  cursor: pointer;
}

.yp-pdemo-stamp {
  position: absolute;
  z-index: 5;
  right: 22px;
  bottom: 18px;
  padding: 5px 9px;
  border: 1px solid rgba(15, 157, 88, 0.24);
  background: rgba(233, 247, 239, 0.92);
  color: #177047;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.yp-pdemo-ring {
  position: relative;
  display: grid;
  width: 92px;
  height: 92px;
  margin: 8px auto;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--pd-color) calc(var(--pd-progress) * 1%), #e6e8eb 0);
}

.yp-pdemo-ring::after {
  content: "";
  position: absolute;
  inset: 17px;
  border-radius: 50%;
  background: #ffffff;
}

.yp-pdemo-ring > span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
}

.yp-pdemo-ring strong {
  font-size: 17px;
}

.yp-pdemo-ring small {
  color: #71777d;
  font-size: 7px;
  font-weight: 600;
}

.yp-pdemo-locked {
  display: grid;
  margin-top: 18px;
  padding: 13px 16px;
  border: 1px dashed #c2c8ce;
  background: #f8f9fa;
  text-align: center;
}

.yp-pdemo-locked strong {
  font-size: 10px;
}

.yp-pdemo-locked span {
  margin-top: 3px;
  color: #737a80;
  font-size: 8px;
}

/* Weekly planner */
.yp-pdemo-week__top {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 14px;
}

.yp-pdemo-week__top > aside {
  display: grid;
  align-content: start;
  gap: 11px;
}

.yp-pdemo-week__year,
.yp-pdemo-week__start,
.yp-pdemo-week__goals,
.yp-pdemo-week__analytics,
.yp-pdemo-week__day,
.yp-pdemo-habits,
.yp-pdemo-diary {
  border: 1px solid #cbd1d7;
  background: #ffffff;
}

.yp-pdemo-week__year {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
}

.yp-pdemo-week__year strong,
.yp-pdemo-week__year b {
  padding: 7px 9px;
  background: #eef3f7;
  font-size: 10px;
}

.yp-pdemo-week__year span {
  grid-column: 1 / -1;
  padding: 5px 8px;
  text-align: center;
  font-size: 9px;
}

.yp-pdemo-week__start {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  background: #eef3f7;
  font-size: 9px;
  font-weight: 750;
  text-align: center;
}

.yp-pdemo-week__start input {
  border: 0 !important;
  font-weight: 700 !important;
  text-align: center;
}

.yp-pdemo-week__goals > h3,
.yp-pdemo-week__analytics > h3,
.yp-pdemo-habits > h3,
.yp-pdemo-diary > h3 {
  display: grid;
  min-height: 28px;
  margin: 0;
  place-items: center;
  border-bottom: 1px solid #cbd1d7;
  background: #eef3f7;
  font-size: 10px;
  font-weight: 800;
}

.yp-pdemo-week__goals label {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: center;
  min-height: 30px;
  padding-left: 7px;
  border-bottom: 1px solid #e1e4e7;
}

.yp-pdemo-week__goals label input[type="text"],
.yp-pdemo-week__goals label input:not([type="checkbox"]) {
  border: 0;
}

.yp-pdemo-week__analytics {
  padding-bottom: 9px;
}

.yp-pdemo-week__analytics dl {
  margin: 0 9px;
}

.yp-pdemo-week__analytics dl div {
  display: grid;
  grid-template-columns: 1fr auto;
  padding: 4px 2px;
  border-bottom: 1px solid #e1e4e7;
  font-size: 8px;
}

.yp-pdemo-week__analytics dt,
.yp-pdemo-week__analytics dd {
  margin: 0;
}

.yp-pdemo-week__days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

.yp-pdemo-week__day > h3 {
  display: grid;
  min-height: 37px;
  margin: 0;
  place-items: center;
  background: #eef3f7;
  font-size: 10px;
  text-transform: lowercase;
}

.yp-pdemo-week__day > h3 small {
  font-size: 7px;
  font-weight: 500;
}

.yp-pdemo-week__task-list {
  min-height: 99px;
}

.yp-pdemo-week__task {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: center;
  min-height: 33px;
  padding-left: 6px;
  border-bottom: 1px solid #e1e4e7;
}

.yp-pdemo-week__task input:not([type="checkbox"]) {
  border: 0;
  font-size: 8px;
}

.yp-pdemo-week__day .yp-pdemo-ring {
  width: 78px;
  height: 78px;
  margin-block: 16px;
}

.yp-pdemo-week__day .yp-pdemo-ring::after {
  inset: 14px;
}

.yp-pdemo-week__day .yp-pdemo-ring strong {
  font-size: 14px;
}

.yp-pdemo-week__day-total {
  display: flex;
  justify-content: space-between;
  padding: 7px 8px;
  background: #e6e8ea;
  font-size: 8px;
}

.yp-pdemo-week__bottom {
  display: grid;
  grid-template-columns: 0.9fr 1.25fr;
  gap: 14px;
  margin-top: 16px;
}

.yp-pdemo-habit-head,
.yp-pdemo-habit-row {
  display: grid;
  grid-template-columns: minmax(165px, 1fr) repeat(7, 35px) 50px;
  align-items: center;
  min-height: 29px;
}

.yp-pdemo-habit-head {
  background: #f3f5f6;
  font-size: 8px;
  font-weight: 750;
  text-align: center;
}

.yp-pdemo-habit-head span,
.yp-pdemo-habit-row > * {
  display: grid;
  min-height: 29px;
  place-items: center;
  border-right: 1px solid #e1e4e7;
  border-bottom: 1px solid #e1e4e7;
}

.yp-pdemo-habit-row > input:not([type="checkbox"]) {
  border: 0;
  text-align: left;
}

.yp-pdemo-habit-row > input[type="checkbox"] {
  justify-self: center;
}

.yp-pdemo-habit-row b {
  font-size: 8px;
}

.yp-pdemo-diary-head,
.yp-pdemo-diary-row {
  display: grid;
  grid-template-columns: 42px 60px 75px 82px minmax(200px, 1fr);
  align-items: center;
}

.yp-pdemo-diary-head {
  min-height: 29px;
  background: #f3f5f6;
  font-size: 8px;
  font-weight: 750;
  text-align: center;
}

.yp-pdemo-diary-head span,
.yp-pdemo-diary-row > * {
  min-height: 29px;
  border-right: 1px solid #e1e4e7;
  border-bottom: 1px solid #e1e4e7;
}

.yp-pdemo-diary-row > b {
  display: grid;
  place-items: center;
  font-size: 8px;
}

.yp-pdemo-diary-row input,
.yp-pdemo-diary-row select {
  border: 0 !important;
  text-align: center;
}

/* Weekly calendar */
.yp-pdemo-calendar__title {
  padding: 8px 10px;
  background: #3f76b5;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
}

.yp-pdemo-calendar__controls {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 7px;
}

.yp-pdemo-calendar__controls label {
  display: grid;
  grid-template-columns: auto 130px;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  font-weight: 750;
}

.yp-pdemo-calendar__layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 0;
}

.yp-pdemo-calendar__layout section {
  border: 1px solid #b9c1c9;
}

.yp-pdemo-calendar__layout section > h3 {
  display: grid;
  min-height: 30px;
  margin: 0;
  place-items: center;
  background: #3f76b5;
  color: #ffffff;
  font-size: 10px;
}

.yp-pdemo-calendar__task-head,
.yp-pdemo-calendar__task {
  display: grid;
  grid-template-columns: 34px 1fr 65px;
  align-items: center;
  min-height: 30px;
  border-bottom: 1px solid #dde1e4;
  font-size: 8px;
}

.yp-pdemo-calendar__task-head {
  background: #f0f3f6;
  font-weight: 750;
  text-align: center;
}

.yp-pdemo-calendar__task input {
  justify-self: center;
}

.yp-pdemo-calendar__task time {
  text-align: center;
}

.yp-pdemo-calendar__weekdays,
.yp-pdemo-calendar__days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.yp-pdemo-calendar__weekdays span {
  display: grid;
  min-height: 28px;
  place-items: center;
  border-right: 1px solid #d8dde1;
  background: #f0f3f6;
  font-size: 8px;
  font-weight: 750;
}

.yp-pdemo-calendar__day {
  position: relative;
  min-height: 72px;
  padding: 20px 5px 4px;
  border-right: 1px solid #d8dde1;
  border-bottom: 1px solid #d8dde1;
  font-size: 7px;
}

.yp-pdemo-calendar__day.is-demo-week {
  background: #fff4c8;
}

.yp-pdemo-calendar__day > b {
  position: absolute;
  top: 4px;
  right: 5px;
}

.yp-pdemo-calendar__day > span {
  display: block;
  margin-top: 3px;
  padding: 3px;
  overflow: hidden;
  background: #e8f0fe;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.yp-pdemo-calendar__day > span.is-done {
  color: #777;
  text-decoration: line-through;
}

/* Habit planner */
.yp-pdemo-habits__summary {
  display: grid;
  grid-template-columns: 260px repeat(4, 180px) 260px;
  gap: 0;
}

.yp-pdemo-habits__summary > section {
  min-height: 190px;
  border: 1px solid #aeb5bb;
  background: #ffffff;
}

.yp-pdemo-habits__summary h3 {
  display: grid;
  min-height: 30px;
  margin: 0;
  place-items: center;
  background: #f1c8c8;
  font-size: 9px;
}

.yp-pdemo-habits__summary > section:nth-child(3) h3 { background: #bfd1ef; }
.yp-pdemo-habits__summary > section:nth-child(4) h3 { background: #c9dfc2; }
.yp-pdemo-habits__summary > section:nth-child(5) h3 { background: #f2e0ae; }
.yp-pdemo-habits__summary > .is-overall h3 { background: #83b1b8; color: #ffffff; }
.yp-pdemo-habits__summary > .yp-pdemo-habits__top h3 { background: #f2d2b5; }

.yp-pdemo-habits__summary .yp-pdemo-ring {
  width: 115px;
  height: 115px;
}

.yp-pdemo-habits__summary .yp-pdemo-ring::after {
  inset: 22px;
}

.yp-pdemo-habits__summary .is-overall {
  display: grid;
  grid-template-columns: 1fr 90px;
}

.yp-pdemo-habits__summary .is-overall h3 {
  grid-column: 1 / -1;
}

.yp-pdemo-habits__summary .is-overall dl {
  margin: 20px 0 0 18px;
}

.yp-pdemo-habits__summary .is-overall dl div {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid #dde1e4;
  font-size: 9px;
}

.yp-pdemo-habits__summary .is-overall dt,
.yp-pdemo-habits__summary .is-overall dd {
  margin: 0;
}

.yp-pdemo-habits__top > span {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: 5px;
  padding: 7px 9px;
  border-bottom: 1px solid #e1e4e7;
  font-size: 8px;
}

.yp-pdemo-habits__top em {
  font-style: normal;
  font-weight: 750;
}

.yp-pdemo-habits__date {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 260px;
  min-height: 52px;
  margin-top: 14px;
  padding: 0 16px;
  background: #83b1b8;
  color: #ffffff;
}

.yp-pdemo-habits__date strong {
  font-size: 15px;
}

.yp-pdemo-habits__date span {
  font-size: 8px;
}

.yp-pdemo-habits__tracker {
  margin-top: 12px;
  border: 1px solid #aeb5bb;
}

.yp-pdemo-habits__tracker > h3 {
  display: grid;
  min-height: 32px;
  margin: 0;
  place-items: center;
  background: #f1f3f4;
  font-size: 11px;
}

.yp-pdemo-habits__head,
.yp-pdemo-habits__row {
  display: grid;
  grid-template-columns: 250px repeat(14, 48px) 65px;
  align-items: center;
  min-height: 34px;
}

.yp-pdemo-habits__head > span,
.yp-pdemo-habits__row > * {
  display: grid;
  min-height: 34px;
  place-items: center;
  border-right: 1px solid #d7dce0;
  border-bottom: 1px solid #d7dce0;
}

.yp-pdemo-habits__head {
  background: #f5f6f7;
  font-size: 8px;
  font-weight: 750;
  text-align: center;
}

.yp-pdemo-habits__head .week-0,
.yp-pdemo-habits__row input[type="checkbox"]:nth-of-type(n+2):nth-of-type(-n+8) {
  background-color: #f9dddd;
}

.yp-pdemo-habits__head .week-1 {
  background: #dae5f7;
}

.yp-pdemo-habits__row > input:not([type="checkbox"]) {
  border: 0;
  text-align: left;
}

.yp-pdemo-habits__row > input[type="checkbox"] {
  justify-self: center;
}

.yp-pdemo-habits__row b {
  font-size: 9px;
}

.yp-pdemo-year__heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  padding: 12px;
  background: #ededed;
}

.yp-pdemo-year__heading h2 {
  margin: 0;
  padding: 10px 90px;
  background: #bdbdbd;
  font-size: 14px;
  font-weight: 500;
}

.yp-pdemo-year__heading label {
  display: grid;
  gap: 3px;
  text-align: center;
  font-size: 9px;
}

.yp-pdemo-year__chart {
  display: grid;
  height: 300px;
  padding: 20px 30px 26px;
  grid-template-columns: repeat(12, 1fr);
  align-items: end;
  gap: 10px;
  border: 1px solid #c8cdd1;
  background: repeating-linear-gradient(to top, #ffffff 0 59px, #dfe3e6 60px);
}

.yp-pdemo-year__chart > div {
  display: grid;
  justify-items: center;
  align-items: end;
}

.yp-pdemo-year__chart b,
.yp-pdemo-year__chart small {
  font-size: 8px;
}

.yp-pdemo-year__chart span {
  width: 38px;
  margin: 4px 0;
  background: #b8cff4;
}

.yp-pdemo-year__months {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px 30px;
  margin: 18px auto;
  padding: 0 70px;
}

.yp-pdemo-year__months section {
  border: 1px solid #bfc4c8;
}

.yp-pdemo-year__months h3 {
  margin: 0;
  padding: 6px;
  background: #c5c5c5;
  text-align: center;
  font-size: 9px;
  font-weight: 500;
}

.yp-pdemo-year__months dl {
  margin: 0;
}

.yp-pdemo-year__months dl div {
  display: flex;
  justify-content: space-between;
  padding: 5px 8px;
  border-top: 1px solid #d9dde1;
  font-size: 8px;
}

.yp-pdemo-year__months dt,
.yp-pdemo-year__months dd {
  margin: 0;
}

.yp-pdemo-goals__title {
  display: grid;
  grid-template-columns: 2fr 3fr;
  min-height: 44px;
  background: #efefef;
  font-size: 15px;
  text-align: center;
}

.yp-pdemo-goals__title > * {
  display: grid;
  place-items: center;
  border-right: 1px solid #bfc4c8;
}

.yp-pdemo-goals__head,
.yp-pdemo-goals__row {
  display: grid;
  grid-template-columns: 150px 1.2fr 1fr 1fr 1fr;
}

.yp-pdemo-goals__head {
  min-height: 32px;
  background: #f5f6f7;
  font-size: 9px;
  font-weight: 750;
  text-align: center;
}

.yp-pdemo-goals__head span,
.yp-pdemo-goals__row > * {
  border-right: 1px solid #cfd4d8;
  border-bottom: 1px solid #cfd4d8;
}

.yp-pdemo-goals__head span {
  display: grid;
  place-items: center;
}

.yp-pdemo-goals__row input,
.yp-pdemo-goals__row textarea {
  min-height: 58px !important;
  border: 0 !important;
  resize: none;
}

.yp-pdemo-goals__row:nth-child(even) input,
.yp-pdemo-goals__row:nth-child(even) textarea {
  background: #f9fafb;
}

/* Smart task list */
.yp-pdemo-tasks__title {
  display: grid;
  min-height: 48px;
  place-items: center;
  background: #d6e7ea;
  font-size: 22px;
  font-weight: 900;
}

.yp-pdemo-tasks__summary {
  display: flex;
  gap: 24px;
  padding: 9px 14px;
  background: #f1f6f7;
  font-size: 9px;
}

.yp-pdemo-tasks__summary b {
  color: #087a55;
}

.yp-pdemo-tasks__head,
.yp-pdemo-tasks__row {
  display: grid;
  grid-template-columns: minmax(330px, 1fr) 128px 54px 126px 48px 130px;
  align-items: center;
}

.yp-pdemo-tasks__head {
  min-height: 34px;
  background: #accbd0;
  font-size: 10px;
  font-weight: 850;
}

.yp-pdemo-tasks__head span,
.yp-pdemo-tasks__row > * {
  display: grid;
  min-height: 35px;
  place-items: center;
  border-right: 1px solid #78868a;
  border-bottom: 1px solid #78868a;
}

.yp-pdemo-tasks__row {
  background: #b7e1cd;
}

.yp-pdemo-tasks__row input:not([type="checkbox"]),
.yp-pdemo-tasks__row select {
  border: 0;
  background: transparent;
}

.yp-pdemo-tasks__row > input:first-child {
  padding-left: 9px;
  text-align: left;
}

.yp-pdemo-tasks__row label span {
  display: none;
}

.yp-pdemo-tasks__row.is-done {
  background: #c6ead9;
}

.yp-pdemo-tasks__row.is-done > input:first-child {
  color: #5d6a64;
  text-decoration: line-through;
}

.yp-pdemo-tasks__row.priority-срочно {
  box-shadow: inset 5px 0 0 #ef4444;
}

.yp-pdemo-tasks__row.priority-высокий {
  box-shadow: inset 5px 0 0 #f59e0b;
}

.yp-pdemo-tasks__row.priority-средний {
  box-shadow: inset 5px 0 0 #3b82f6;
}

.yp-pdemo-tasks__row.priority-низкий {
  box-shadow: inset 5px 0 0 #10b981;
}

/* Fitness planner */
.yp-pdemo-fitness__logo {
  padding: 5px 0 13px;
  color: #2525ff;
  font-size: 24px;
  font-weight: 900;
  text-align: center;
}

.yp-pdemo-fitness__layout {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 12px;
}

.yp-pdemo-fitness__layout > aside {
  display: grid;
  align-content: start;
  gap: 0;
  border: 1px solid #b9c0c6;
}

.yp-pdemo-fitness__layout > aside > label {
  display: grid;
  grid-template-columns: 1fr 90px;
  align-items: center;
  min-height: 34px;
  padding-left: 9px;
  border-bottom: 1px solid #d9dde1;
  font-size: 9px;
}

.yp-pdemo-fitness__layout > aside > label input {
  border: 0;
  border-left: 1px solid #d9dde1;
  text-align: center;
}

.yp-pdemo-fitness__layout > aside > section {
  display: grid;
  justify-items: center;
  padding: 10px;
}

.yp-pdemo-fitness__layout > aside h3 {
  margin: 0;
  font-size: 10px;
}

.yp-pdemo-fitness__layout > aside section > b {
  font-size: 8px;
}

.yp-pdemo-fitness__days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.yp-pdemo-fitness__day {
  border: 1px solid #b9c0c6;
  background: #ffffff;
}

.yp-pdemo-fitness__day > h3 {
  display: grid;
  min-height: 40px;
  margin: 0;
  place-items: center;
  background: #eee7f6;
  font-size: 10px;
}

.yp-pdemo-fitness__day:nth-child(even) > h3 {
  background: #e1efe6;
}

.yp-pdemo-fitness__day > h3 small {
  font-size: 7px;
  font-weight: 500;
}

.yp-pdemo-fitness__rings {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 10px 4px;
}

.yp-pdemo-fitness__rings .yp-pdemo-ring {
  width: 70px;
  height: 70px;
  margin: 0;
}

.yp-pdemo-fitness__rings .yp-pdemo-ring::after {
  inset: 13px;
}

.yp-pdemo-fitness__rings .yp-pdemo-ring strong {
  font-size: 12px;
}

.yp-pdemo-fitness__exercise-head,
.yp-pdemo-fitness__exercise {
  display: grid;
  grid-template-columns: 1fr 34px;
  align-items: center;
  min-height: 29px;
  padding-left: 7px;
  border-top: 1px solid #d9dde1;
  font-size: 8px;
}

.yp-pdemo-fitness__exercise-head {
  background: #f3f5f6;
  font-weight: 750;
}

.yp-pdemo-fitness__exercise input {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
}

.yp-pdemo-fitness__exercise span {
  grid-column: 1;
  grid-row: 1;
}

.yp-pdemo-fitness__number,
.yp-pdemo-fitness__mood {
  display: grid;
  grid-template-columns: 1fr 75px;
  align-items: center;
  min-height: 31px;
  padding-left: 7px;
  border-top: 1px solid #d9dde1;
  font-size: 8px;
}

.yp-pdemo-fitness__number input,
.yp-pdemo-fitness__mood select {
  border: 0 !important;
  border-left: 1px solid #d9dde1 !important;
  text-align: center;
}

@media (max-width: 760px) {
  .yp-card-demo-button {
    min-width: 86px;
    min-height: 34px;
    padding-inline: 8px;
    font-size: 10px;
  }

  .yp-card-purchase-row {
    gap: 8px;
  }

  .yp-card-actions {
    gap: 6px;
  }

  .yp-pdemo-grid {
    padding-top: 36px;
    padding-left: 50px;
  }

  .yp-pdemo-grid__corner {
    width: 40px;
  }

  .yp-pdemo-grid__columns {
    left: 40px;
  }

  .yp-pdemo-grid__rows {
    width: 40px;
  }
}

/* Keep the complete desktop hero inside the first viewport while preserving a useful image area. */
@media (min-width: 981px) {
  .yp-hero__inner {
    min-height: calc(100svh - 65px);
    padding-top: clamp(16px, 2.1vh, 28px);
    padding-bottom: clamp(16px, 2.1vh, 28px);
    box-sizing: border-box;
  }

  .yp-selector {
    padding: clamp(17px, 2vh, 22px) clamp(20px, 2vw, 26px) 14px;
  }

  .yp-selector__heading {
    font-size: clamp(24px, 2vw, 27px);
  }

  .yp-selector__hint {
    margin-top: 4px;
    font-size: 13px;
  }

  .yp-selector__tabs {
    gap: 8px;
    margin-top: 12px;
  }

  .yp-selector__tab {
    min-height: 68px;
    padding: 7px 8px;
  }

  .yp-selector__tab[aria-selected="true"] {
    padding: 6px 7px;
  }

  .yp-selector__tab-name {
    font-size: 11px;
  }

  .yp-selector__preview {
    height: clamp(250px, calc(100svh - 610px), 360px);
    margin-top: 12px;
  }

  .yp-selector__gallery-meta {
    margin-top: 6px;
  }

  .yp-selector__details {
    gap: 9px 16px;
    margin-top: 9px;
  }

  .yp-selector__description {
    margin-top: 3px;
  }

  .yp-selector__price-row,
  .yp-selector__value {
    margin-top: 6px;
  }

  .yp-selector__cta-group {
    gap: 6px;
  }

  .yp-selector__buy {
    min-height: 48px;
  }

  .yp-selector__demo {
    min-height: 40px;
  }

  .yp-selector__demo-disclaimer {
    padding: 8px 11px;
    font-size: 12px;
  }

  .yp-selector__demo-disclaimer strong {
    font-size: 14px;
  }

  .yp-selector__trust {
    gap: 7px 16px;
    margin-top: 1px;
    font-size: 13px;
  }
}

@media (min-width: 981px) and (max-height: 820px) {
  .yp-hero__inner {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .yp-hero__eyebrow {
    margin-bottom: 12px;
  }

  .yp-hero h1 {
    font-size: 46px;
    line-height: 1.05;
  }

  .yp-hero__lead {
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.5;
  }

  .yp-hero__benefits {
    gap: 10px 18px;
    margin-top: 20px;
  }

  .yp-hero__actions {
    margin-top: 22px;
  }

  .yp-hero__note {
    margin-top: 14px;
  }

  .yp-selector {
    padding: 13px 18px 10px;
  }

  .yp-selector__heading {
    font-size: 23px;
  }

  .yp-selector__hint {
    font-size: 12px;
  }

  .yp-selector__tabs {
    gap: 6px;
    margin-top: 8px;
  }

  .yp-selector__tab,
  .yp-selector__tab[aria-selected="true"] {
    grid-template-columns: 42px minmax(0, 1fr);
    min-height: 60px;
    padding: 5px 6px;
  }

  .yp-selector__tab[aria-selected="true"] {
    padding: 4px 5px;
  }

  .yp-selector__thumb {
    width: 42px;
    height: 44px;
  }

  .yp-selector__tab-name {
    font-size: 10.5px;
  }

  .yp-selector__tab-price {
    font-size: 11.5px;
  }

  .yp-selector__preview {
    height: 230px;
    margin-top: 8px;
    padding: 8px 42px;
  }

  .yp-selector__image {
    inset: 8px 42px;
    width: calc(100% - 84px);
    height: calc(100% - 16px);
  }

  .yp-selector__gallery-meta {
    min-height: 18px;
    margin-top: 5px;
  }

  .yp-selector__details {
    gap: 6px 12px;
    margin-top: 6px;
  }

  .yp-selector__product-title {
    font-size: 18px;
  }

  .yp-selector__description {
    font-size: 11px;
    line-height: 1.3;
  }

  .yp-selector__price-row,
  .yp-selector__value {
    margin-top: 4px;
  }

  .yp-selector__price {
    font-size: 25px;
  }

  .yp-selector__value {
    gap: 1px;
    font-size: 9px;
  }

  .yp-selector__cta-group {
    gap: 5px;
    min-width: 220px;
  }

  .yp-selector__buy {
    min-width: 220px;
    min-height: 42px;
    font-size: 13px;
  }

  .yp-selector__demo {
    min-height: 36px;
    font-size: 11px;
  }

  .yp-selector__demo small {
    font-size: 8px;
  }

  .yp-selector__demo-disclaimer {
    gap: 2px;
    padding: 6px 8px;
    font-size: 10.5px;
    line-height: 1.3;
  }

  .yp-selector__demo-disclaimer strong {
    font-size: 11.5px;
  }

  .yp-selector__trust {
    gap: 5px 12px;
    font-size: 11px;
  }

  .yp-selector__trust i {
    width: 15px;
    height: 15px;
    font-size: 9px;
  }

  .yp-selector__expand {
    min-height: 28px;
    padding-inline: 9px;
    font-size: 10px;
  }
}
