
body .szpc-card,
body .szpc-card * {
  box-sizing: border-box;
}

body .szpc-card button,
body .szpc-card a {
  font: inherit;
  letter-spacing: normal;
  text-shadow: none !important;
}

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

.szpc-card {
  --szpc-icons-wrap-width: 150px;
  --szpc-icons-gap: 8px;
  --szpc-icons-max-slots: 3;
  --szpc-icon-size: calc(
    (var(--szpc-icons-wrap-width) - (var(--szpc-icons-gap) * (var(--szpc-icons-max-slots) - 1)))
    / var(--szpc-icons-max-slots)
  );
  min-width: 0;
  height: 100%;
}

.szpc-card__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 22px 22px 20px;
  border: 1px solid #d9dee5;
  border-radius: 26px;
  background: linear-gradient(180deg, #f9f9fa 0%, #f3f3f4 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset;
  color: #1d1f23;
}

.szpc-card__head {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  padding-right: 46px;
}

.szpc-card__badges {
  min-height: 72px;
  max-height: 72px;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: flex-start;
  align-content: flex-start;
  margin-bottom: 0;
  padding-right: 8px;
}

.szpc-card__badge-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #f1c8aa;
  background: #fff4ec;
  color: #ef6c1a;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .02em;
  white-space: nowrap;
}

.szpc-card__badge-item::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex: 0 0 auto;
}

.szpc-card__badge-item:nth-child(n+3) {
  display: none !important;
}

.szpc-card__title {
  margin: 0;
  font-size: 28px;
  line-height: 1.08;
  font-weight: 800;
  color: #1a1b1f !important;
  min-height: calc(1.08em * 3);
  max-height: calc(1.08em * 3);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-clamp: 3;
}

body .szpc-card .szpc-card__info-btn,
body .szpc-card .szpc-card__info-btn:visited,
body .szpc-card .szpc-card__info-btn:focus,
body .szpc-card .szpc-card__info-btn:active {
  -webkit-appearance: none;
  appearance: none;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 6;
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid #d9dde3 !important;
  background: #f7f7f8 !important;
  color: #6b7280 !important;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: all .18s ease;
  box-shadow: none !important;
  background-image: none !important;
}

body .szpc-card .szpc-card__info-btn:hover,
body .szpc-card .szpc-card__info-btn:focus-visible,
body .szpc-card .szpc-card__info-btn.is-open {
  background: #fff !important;
  color: #1f1f22 !important;
  border-color: #cfd5dd !important;
}

.szpc-card__intro {
  flex: 0 0 calc(1em * 1.55 * 3);
  min-height: calc(1em * 1.55 * 3);
  max-height: calc(1em * 1.55 * 3);
  margin-top: 12px;
  margin-bottom: 18px;
  font-size: 14px;
  line-height: 1.55;
  color: #666;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-clamp: 3;
}

.szpc-card__controls {
  flex: 0 0 146px;
  min-height: 146px;
  max-height: 146px;
  padding-bottom: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.szpc-card__control-label {
  font-size: 13px;
  font-weight: 700;
  color: #707070;
  margin-bottom: 8px;
}

.szpc-card__switch {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  align-items: center;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 2px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.szpc-card__switch::-webkit-scrollbar {
  display: none;
}

body .szpc-card .szpc-card__switch-btn,
body .szpc-card .szpc-card__switch-btn:visited,
body .szpc-card .szpc-card__switch-btn:focus,
body .szpc-card .szpc-card__switch-btn:active {
  -webkit-appearance: none;
  appearance: none;
  border: 1px solid #e2d6cb !important;
  background: #faf7f3 !important;
  color: #7b8491 !important;
  border-radius: 999px;
  min-height: 40px;
  padding: 0 14px;
  font-size: 13px;
  line-height: 1;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s ease;
  box-shadow: none !important;
  background-image: none !important;
  white-space: nowrap;
  flex: 0 0 auto;
}

body .szpc-card .szpc-card__switch-btn:hover,
body .szpc-card .szpc-card__switch-btn:focus-visible {
  border-color: #d8c5b4 !important;
  background: #f5eee7 !important;
  color: #5f6773 !important;
}

body .szpc-card .szpc-card__switch-btn.is-active,
body .szpc-card .szpc-card__switch-btn.is-active:hover,
body .szpc-card .szpc-card__switch-btn.is-active:focus-visible {
  background: #1f1f22 !important;
  color: #fff !important;
  border-color: #1f1f22 !important;
}

.szpc-card__switch-btn.is-disabled,
.szpc-card__switch-btn:disabled {
  opacity: .38;
  cursor: not-allowed;
  pointer-events: none;
  background: #f5f6f7 !important;
  color: #a1a8b3 !important;
  border-color: #e3e7eb !important;
}

/* default layout */
.szpc-card:not(.szpc-card--band) .szpc-card__hero {
  flex: 0 0 86px;
  min-height: 86px;
  max-height: 86px;
  margin-top: 22px;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.szpc-card__pricing {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
}

.szpc-card__old-price {
  font-size: 18px;
  line-height: 1.1;
  color: #a2a8b2 !important;
  text-decoration: line-through;
  font-weight: 600;
  margin-bottom: 8px;
}

.szpc-card__old-price[hidden] {
  display: none !important;
}

.szpc-card__price-main {
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 10px;
}

.szpc-card__price {
  flex: 0 0 auto;
  font-size: 36px;
  line-height: 1;
  font-weight: 800;
  color: #eb6f1d !important;
  white-space: nowrap;
}

.szpc-card__period {
  flex: 0 0 auto;
  font-size: 15px;
  line-height: 1.3;
  color: #7f8794 !important;
  font-weight: 600;
  padding-bottom: 0;
  white-space: nowrap;
}

.szpc-card:not(.szpc-card--band) .szpc-card__icons-wrap {
  flex: 0 0 var(--szpc-icons-wrap-width);
  width: var(--szpc-icons-wrap-width);
  min-width: var(--szpc-icons-wrap-width);
  max-width: var(--szpc-icons-wrap-width);
  min-height: 52px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  overflow: visible;
  margin-left: 0;
}

.szpc-card:not(.szpc-card--band) .szpc-card__desc {
  flex: 0 0 calc(1em * 1.6 * 5);
  min-height: calc(1em * 1.6 * 5);
  max-height: calc(1em * 1.6 * 5);
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.6;
  color: #333;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  line-clamp: 5;
}

.instrument-icons-block.szpc-card__icons {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 0;
  margin: 0;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  gap: var(--szpc-icons-gap);
  flex-wrap: nowrap;
  overflow: visible;
}

.instrument-icons-block.szpc-card__icons .instrument-item {
  flex: 0 0 var(--szpc-icon-size);
  width: var(--szpc-icon-size);
  height: var(--szpc-icon-size);
  min-width: var(--szpc-icon-size);
  min-height: var(--szpc-icon-size);
  max-width: var(--szpc-icon-size);
  max-height: var(--szpc-icon-size);
  aspect-ratio: 1 / 1;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #d8dde5;
  box-shadow: 0 1px 2px rgba(0,0,0,.05);
  overflow: visible;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.instrument-icons-block.szpc-card__icons .instrument-item:hover {
  transform: translateY(-1px);
  border-color: #c8d0db;
  box-shadow: 0 8px 18px rgba(0,0,0,.10);
}

.instrument-icons-block.szpc-card__icons .instrument-item img {
  width: 72% !important;
  height: 72% !important;
  max-width: 72% !important;
  max-height: 72% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  object-fit: contain !important;
  display: block !important;
  transform: none !important;
  -webkit-mask-size: contain !important;
  mask-size: contain !important;
}

.instrument-icons-block.szpc-card__icons .instrument-item:hover img {
  transform: none !important;
}

.instrument-icons-block.szpc-card__icons .instrument-item::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 9px);
  transform: translateX(-50%) translateY(4px);
  white-space: nowrap;
  padding: 7px 10px;
  border-radius: 10px;
  background: #1f2328;
  color: #fff;
  font-size: 12px;
  line-height: 1;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity .14s ease, transform .14s ease;
  z-index: 30;
}

.instrument-icons-block.szpc-card__icons .instrument-item::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 3px);
  width: 8px;
  height: 8px;
  background: #1f2328;
  transform: translateX(-50%) translateY(4px) rotate(45deg);
  opacity: 0;
  pointer-events: none;
  transition: opacity .14s ease, transform .14s ease;
  z-index: 29;
}

.instrument-icons-block.szpc-card__icons .instrument-item:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.instrument-icons-block.szpc-card__icons .instrument-item:hover::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0) rotate(45deg);
}

/* bottom */
.szpc-card:not(.szpc-card--band) .szpc-card__details {
  margin-top: auto;
  border-top: 1px solid #e3e5e8 !important;
}

.szpc-card__details-table {
  display: flex;
  flex-direction: column;
}

.szpc-card__detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  border-bottom: 1px solid #e3e5e8 !important;
}

.szpc-card__detail-name {
  font-size: 15px;
  line-height: 1.4;
  color: #707986 !important;
  font-weight: 500;
}

.szpc-card__detail-value {
  font-size: 15px;
  line-height: 1.4;
  color: #1e2024 !important;
  font-weight: 700;
  text-align: right;
}

.szpc-card:not(.szpc-card--band) .szpc-card__details[hidden] + .szpc-card__note {
  margin-top: auto;
}

.szpc-card:not(.szpc-card--band) .szpc-card__details[hidden] + .szpc-card__note[hidden] + .szpc-card__cta {
  margin-top: auto;
}

.szpc-card__note {
  margin-top: 18px;
  padding: 14px 16px;
  background: #eee8e4;
  border-radius: 16px;
  border-left: 4px solid #ef6c1a;
  font-size: 14px;
  line-height: 1.45;
  color: #3a3f46 !important;
  font-weight: 400;
  min-height: calc(1em * 1.45 * 2 + 28px);
  max-height: calc(1em * 1.45 * 2 + 28px);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
}

.szpc-card__note[hidden] {
  display: none !important;
}

body .szpc-card .szpc-card__cta,
body .szpc-card .szpc-card__cta:visited,
body .szpc-card .szpc-card__cta:focus,
body .szpc-card .szpc-card__cta:active {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  margin-top: 18px;
  padding: 0 18px;
  border: 0 !important;
  border-radius: 14px;
  background: linear-gradient(180deg,#f2822f 0%,#eb6f1d 100%) !important;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  box-shadow: none !important;
  transition: transform .16s ease, filter .16s ease;
  background-image: linear-gradient(180deg,#f2822f 0%,#eb6f1d 100%) !important;
}

body .szpc-card .szpc-card__cta:hover,
body .szpc-card .szpc-card__cta:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.03);
  color: #fff !important;
}

.szpc-card__cta.is-disabled,
.szpc-card__cta[aria-disabled="true"] {
  opacity: .5;
  pointer-events: none;
  cursor: default;
}

/* band layout */
.szpc-band__inner {
  border-color: rgba(239, 108, 26, .45);
  background:
    radial-gradient(circle at 100% 0%, rgba(239,108,26,.08) 0%, rgba(239,108,26,0) 32%),
    linear-gradient(180deg, #fcfcfd 0%, #f5f5f6 100%);
  box-shadow:
    0 24px 48px rgba(15, 23, 42, 0.10),
    0 0 0 1px rgba(239,108,26,.08);
}

.szpc-band__head {
  padding-right: 46px;
}

.szpc-band__header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.szpc-band__title-wrap {
  min-width: 0;
  flex: 1 1 auto;
}

.szpc-band__title {
  min-height: auto;
  max-height: none;
  display: block;
  overflow: visible;
}

.szpc-band__subtitle {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: #6a7280;
  min-height: calc(1em * 1.5 * 2);
  max-height: calc(1em * 1.5 * 2);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.szpc-band__top-kpi {
  flex: 0 0 auto;
  text-align: right;
  min-width: 90px;
}

.szpc-band__top-kpi-value {
  font-size: 18px;
  line-height: 1;
  font-weight: 800;
  color: #eb6f1d;
}

.szpc-band__top-kpi-label {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.25;
  color: #7f8794;
}

.szpc-card--band .szpc-card__controls {
  margin-top: 18px;
  flex: 0 0 auto;
  min-height: 0;
  max-height: none;
}

.szpc-band__price-row {
  margin-top: 18px;
}

.szpc-band__price-row .szpc-card__price {
  font-size: 40px;
}

.szpc-band__desc {
  margin-top: 16px;
  min-height: calc(1em * 1.55 * 2);
  max-height: calc(1em * 1.55 * 2);
  line-height: 1.55;
}

.szpc-band__stats {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.szpc-band__stat {
  padding: 14px 12px;
  border: 1px solid #e4e7eb;
  border-radius: 14px;
  background: #f7f7f8;
}

.szpc-band__stat b {
  display: block;
  font-size: 16px;
  line-height: 1.1;
  color: #1d1f23;
  margin-bottom: 4px;
}

.szpc-band__stat span {
  display: block;
  font-size: 12px;
  line-height: 1.25;
  color: #737b88;
}

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

.szpc-band__feature {
  min-height: 88px;
  padding: 14px 14px 12px 40px;
  border-radius: 16px;
  background: #efe9e4;
  position: relative;
}

.szpc-band__feature::before {
  content: "✓";
  position: absolute;
  left: 14px;
  top: 14px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(239,108,26,.12);
  color: #ef6c1a;
  font-size: 11px;
  font-weight: 700;
}

.szpc-band__feature-title {
  font-size: 14px;
  line-height: 1.25;
  font-weight: 700;
  color: #1d1f23;
  margin-bottom: 4px;
}

.szpc-band__feature-text {
  font-size: 14px;
  line-height: 1.35;
  color: #646d79;
}

.szpc-card--band .szpc-band__note {
  margin-top: 14px;
  min-height: calc(1em * 1.45 * 2 + 28px);
  max-height: calc(1em * 1.45 * 2 + 28px);
}

.szpc-card--band .szpc-band__cta {
  margin-top: 16px;
  min-height: 46px;
}

/* popover */
@keyframes szpcPopoverIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

body .szpc-card .szpc-card__popover {
  position: absolute;
  top: 42px;
  right: 0;
  width: min(420px, calc(100vw - 32px));
  padding: 0;
  border: 1px solid rgba(217, 222, 229, 0.95) !important;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(248,249,251,.98) 100%) !important;
  box-shadow:
    0 24px 60px rgba(15, 23, 42, 0.16),
    0 8px 24px rgba(15, 23, 42, 0.08),
    0 1px 0 rgba(255,255,255,.7) inset !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
  z-index: 40;
  animation: szpcPopoverIn .18s ease;
}

body .szpc-card .szpc-card__popover::before {
  content: "";
  position: absolute;
  top: -7px;
  right: 12px;
  width: 14px;
  height: 14px;
  background: rgba(255,255,255,.98);
  border-left: 1px solid rgba(217, 222, 229, 0.95);
  border-top: 1px solid rgba(217, 222, 229, 0.95);
  transform: rotate(45deg);
  z-index: 1;
}

body .szpc-card .szpc-card__popover-head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin: 0;
  padding: 16px 16px 14px;
  border-bottom: 1px solid rgba(227, 229, 232, 0.9);
  background:
    radial-gradient(circle at 100% 0%, rgba(255,85,0,.08) 0%, rgba(255,85,0,0) 35%),
    linear-gradient(180deg, rgba(255,255,255,.7) 0%, rgba(255,255,255,0) 100%);
}

body .szpc-card .szpc-card__popover-title {
  margin: 0;
  padding-top: 1px;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -.01em;
  color: #17191d !important;
}

body .szpc-card .szpc-card__popover-close {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  border: 1px solid #e4e8ee !important;
  border-radius: 12px;
  background: #fff !important;
  color: #6b7280 !important;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: none !important;
  transition: all .18s ease;
}

body .szpc-card .szpc-card__popover-close:hover,
body .szpc-card .szpc-card__popover-close:focus-visible {
  border-color: #d5dbe3 !important;
  background: #f8fafc !important;
  color: #17191d !important;
  transform: translateY(-1px);
}

body .szpc-card .szpc-card__popover-content {
  position: relative;
  z-index: 2;
  max-height: min(52vh, 420px);
  overflow: auto;
  padding: 16px 16px 18px;
  font-size: 14px;
  line-height: 1.65;
  color: #4e5561 !important;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #cfd5dd transparent;
}

body .szpc-card .szpc-card__popover-content::-webkit-scrollbar {
  width: 8px;
}

body .szpc-card .szpc-card__popover-content::-webkit-scrollbar-thumb {
  background: #cfd5dd;
  border-radius: 999px;
}

body .szpc-card .szpc-card__popover-content::-webkit-scrollbar-track {
  background: transparent;
}

body .szpc-card .szpc-card__popover-content p {
  margin: 0 0 12px;
}

body .szpc-card .szpc-card__popover-content p:last-child,
body .szpc-card .szpc-card__popover-content ul:last-child,
body .szpc-card .szpc-card__popover-content ol:last-child {
  margin-bottom: 0;
}

body .szpc-card .szpc-card__popover-content ul,
body .szpc-card .szpc-card__popover-content ol {
  margin: 0 0 14px;
  padding-left: 20px;
}

body .szpc-card .szpc-card__popover-content li + li {
  margin-top: 6px;
}

body .szpc-card .szpc-card__popover-content strong,
body .szpc-card .szpc-card__popover-content b {
  color: #1b1f24 !important;
  font-weight: 700;
}

body .szpc-card .szpc-card__popover-content a {
  color: #eb6f1d !important;
  text-decoration: underline !important;
  text-underline-offset: 2px;
}

@media (max-width: 1140px) {
  .szpc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .szpc-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .szpc-card {
    --szpc-icons-wrap-width: 132px;
    --szpc-icons-gap: 6px;
    --szpc-icons-max-slots: 3;
  }

  .szpc-card__inner {
    padding: 18px;
    border-radius: 22px;
  }

  .szpc-card__head {
    padding-right: 42px;
  }

  .szpc-card__badges {
    min-height: 64px;
    max-height: 64px;
  }

  .szpc-card__title {
    font-size: 24px;
  }

  .szpc-card__intro {
    flex-basis: calc(1em * 1.55 * 3);
    min-height: calc(1em * 1.55 * 3);
    max-height: calc(1em * 1.55 * 3);
  }

  .szpc-card__controls {
    flex-basis: 132px;
    min-height: 132px;
    max-height: 132px;
  }

  .szpc-card__switch-btn,
  body .szpc-card .szpc-card__switch-btn,
  body .szpc-card .szpc-card__switch-btn:visited,
  body .szpc-card .szpc-card__switch-btn:focus,
  body .szpc-card .szpc-card__switch-btn:active {
    min-height: 38px;
  }

  .szpc-card:not(.szpc-card--band) .szpc-card__hero {
    flex: 0 0 94px;
    min-height: 94px;
    max-height: 94px;
    gap: 12px;
  }

  .szpc-card:not(.szpc-card--band) .szpc-card__icons-wrap {
    width: var(--szpc-icons-wrap-width);
    min-width: var(--szpc-icons-wrap-width);
    max-width: var(--szpc-icons-wrap-width);
    min-height: 44px;
    justify-content: flex-end;
    margin-left: 0;
  }

  .instrument-icons-block.szpc-card__icons {
    justify-content: flex-end;
  }

  .szpc-card__price {
    font-size: 32px;
  }

  .szpc-band__header-row {
    flex-direction: column;
    gap: 10px;
  }

  .szpc-band__top-kpi {
    text-align: left;
  }

  .szpc-band__stats {
    grid-template-columns: 1fr 1fr;
  }

  .szpc-band__features {
    grid-template-columns: 1fr;
  }

  .szpc-card__detail-row {
    min-height: 46px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 10px 0;
  }

  .szpc-card__detail-value {
    text-align: left;
  }

  body .szpc-card .szpc-card__info-btn {
    width: 26px;
    height: 26px;
    font-size: 13px;
  }

  body .szpc-card .szpc-card__popover {
    position: fixed;
    top: auto;
    right: 16px;
    left: 16px;
    bottom: 16px;
    width: auto;
    max-width: none;
    border-radius: 24px;
    z-index: 9999;
  }

  body .szpc-card .szpc-card__popover::before {
    display: none;
  }

  body .szpc-card .szpc-card__popover-head {
    padding: 16px 16px 12px;
  }

  body .szpc-card .szpc-card__popover-content {
    max-height: min(62vh, 520px);
    padding: 14px 16px 18px;
  }
}


/* =========================================================
   PLUGIN MODAL
   ========================================================= */

body.szpc-plugin-modal-open {
  overflow: hidden;
}

.szpc-plugin-modal[hidden] {
  display: none !important;
}

.szpc-plugin-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
}

.szpc-plugin-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.48);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.szpc-plugin-modal__dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(680px, calc(100vw - 32px));
  max-height: min(84vh, 820px);
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  border: 1px solid rgba(217, 222, 229, 0.95);
  background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(248,249,251,.98) 100%);
  box-shadow:
    0 24px 60px rgba(15, 23, 42, 0.22),
    0 8px 24px rgba(15, 23, 42, 0.10),
    0 1px 0 rgba(255,255,255,.7) inset;
  overflow: hidden;
}

.szpc-plugin-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 18px 14px;
  border-bottom: 1px solid rgba(227, 229, 232, 0.9);
  background:
    radial-gradient(circle at 100% 0%, rgba(255,85,0,.08) 0%, rgba(255,85,0,0) 35%),
    linear-gradient(180deg, rgba(255,255,255,.7) 0%, rgba(255,255,255,0) 100%);
}

.szpc-plugin-modal__title {
  font-size: 18px;
  line-height: 1.3;
  font-weight: 800;
  color: #17191d;
}

.szpc-plugin-modal__close {
  -webkit-appearance: none;
  appearance: none;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  margin: 0;
  padding: 0;
  border: 1px solid #e4e8ee;
  border-radius: 12px;
  background: #fff;
  color: #6b7280;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: all .18s ease;
}

.szpc-plugin-modal__close:hover,
.szpc-plugin-modal__close:focus-visible {
  border-color: #d5dbe3;
  background: #f8fafc;
  color: #17191d;
  transform: translateY(-1px);
}

.szpc-plugin-modal__body {
  overflow: auto;
  padding: 18px;
}

.szpc-plugin-modal__body > :first-child {
  margin-top: 0;
}

.szpc-plugin-modal__body > :last-child {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .szpc-plugin-modal__dialog {
    width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
    border-radius: 22px;
  }

  .szpc-plugin-modal__head {
    padding: 16px 16px 12px;
  }

  .szpc-plugin-modal__body {
    padding: 16px;
  }
}
