    :root {
      --widget-accent: #3b8cc5;
      --widget-accent-hover: #4f46e5;
      --widget-radius: 16px;
      --widget-transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
      --widget-bg: #f8fafc;
    }

    .widget-section {
      padding: 2rem 1rem;
    }

    .widget-section__title {
      text-align: center;
      font-size: 1.5rem;
      font-weight: 700;
      color: #1e293b;
      margin-bottom: 0.5rem;
    }

    .widget-section__subtitle {
      text-align: center;
      font-size: 0.9375rem;
      color: #64748b;
      margin-bottom: 2rem;
    }

    /* ======================== сетка КНОПОК ======================== */
    .widget-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1rem;
      max-width: 720px;
      margin: 0 auto;
    }

    @media (max-width: 560px) {
      .widget-grid {
        grid-template-columns: 1fr;
        gap: 0.875rem;
      }
    }

    /* ======================== КАРТОЧКА-КНОПКА ======================== */
    .widget-card {
      position: relative;
      display: flex;
      align-items: center;
      gap: 1rem;
      padding: 1.25rem 1.25rem;
      background: #fff;
      border: 2px solid #e2e8f0;
      border-radius: var(--widget-radius);
      text-decoration: none;
      color: inherit;
      cursor: pointer;
      font-family: inherit;
      font-size: inherit;
      transition: transform var(--widget-transition),
                  box-shadow var(--widget-transition),
                  border-color 0.25s ease;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
      overflow: hidden;
      text-align: left;
      width: 100%;
    }

    .widget-card::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(99, 102, 241, 0.04), rgba(167, 139, 250, 0.04));
      opacity: 0;
      transition: opacity 0.3s ease;
      pointer-events: none;
    }

    .widget-card:hover {
      transform: translateY(-3px);
      box-shadow: 0 12px 32px rgba(99, 102, 241, 0.15),
                  0 4px 12px rgba(0, 0, 0, 0.06);
      border-color: #c7d2fe;
    }

    .widget-card:hover::before { opacity: 1; }

    .widget-card:active { transform: translateY(-1px); }

    .widget-card.is-active {
      border-color: var(--widget-accent);
      background: linear-gradient(135deg, rgba(99, 102, 241, 0.03), rgba(167, 139, 250, 0.03));
      box-shadow: 0 8px 24px rgba(99, 102, 241, 0.18);
    }

    .widget-card.is-active:hover { transform: translateY(0); }

    .widget-card__icon {
      flex-shrink: 0;
      width: 52px;
      height: 52px;
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-size: 1.4rem;
      box-shadow: 0 6px 16px rgba(99, 102, 241, 0.3);
    }

    .widget-card__icon--primary {
      background: linear-gradient(135deg, #3072a0, #3b8cc5);
    }

    .widget-card__icon--secondary {
      background: linear-gradient(135deg, #2093ab, #14c9ef);
      box-shadow: 0 6px 16px rgba(236, 72, 153, 0.3);
    }

    .widget-card__body {
      flex-grow: 1;
      min-width: 0;
      position: relative;
      z-index: 1;
    }

    .widget-card__title {
      font-size: 1rem;
      font-weight: 600;
      color: #1e293b;
      margin: 0 !important;
      line-height: 1.3;
    }

    .widget-card__desc {
      font-size: 0.8125rem;
      color: #64748b;
      margin: 0;
      line-height: 1.4;
    }

    .widget-card__badge {
      display: inline-block;
      font-size: 0.6875rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.03em;
      color: var(--widget-accent);
      background: rgb(55 130 184 / 12%);
      padding: 0.2rem 0.5rem;
      border-radius: 6px;
      margin-top: 0.5rem;
    }

    .widget-card__badge--orange {
    color: #2099b3;
    background: rgb(30 154 180 / 15%);
    }

    .widget-card__arrow {
      flex-shrink: 0;
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: #f1f5f9;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #64748b;
      font-size: 1rem;
      transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
      position: relative;
      z-index: 1;
    }

    .widget-card:hover .widget-card__arrow {
      background: var(--widget-accent);
      color: #fff;
      transform: translateX(4px);
    }

    .widget-card.is-active .widget-card__arrow {
      background: var(--widget-accent);
      color: #fff;
      transform: rotate(90deg);
    }

    .widget-card.is-active:hover .widget-card__arrow {
      transform: rotate(90deg) scale(1.05);
    }

    /* ======================== АККОРДЕОН С IFRAME ======================== */
    .widget-accordion {
      1max-width: 720px;
      margin: 0 auto;
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                  margin-top 0.3s ease;
    }

    .widget-accordion.is-open {
      max-height: 700px;
      margin-top: 1.5rem;
    }

    .widget-accordion__inner {
      background: var(--widget-bg);
      border-radius: var(--widget-radius);
      border: 1px solid #e2e8f0;
      padding: 1rem;
      position: relative;
      box-shadow: 0 8px 32px rgba(99, 102, 241, 0.08);
    }

    /* Заголовок аккордеона */
    .widget-accordion__header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 1rem;
      padding: 0 0.25rem;
    }

    .widget-accordion__title {
      font-size: 0.9375rem;
      font-weight: 600;
      color: #1e293b;
      margin: 0;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .widget-accordion__status-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #94a3b8;
      transition: background 0.3s ease;
    }

    .widget-accordion__status-dot.is-ready { background: #16a34a; }
    .widget-accordion__status-dot.is-loading {
      background: var(--widget-accent);
      animation: pulse 1.2s ease-in-out infinite;
    }

    @keyframes pulse {
      0%, 100% { opacity: 1; }
      50% { opacity: 0.4; }
    }

    .widget-accordion__close {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      border: none;
      background: #fff;
      color: #64748b;
      font-size: 0.875rem;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: background 0.2s, color 0.2s, transform 0.2s;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    }

    .widget-accordion__close:hover {
      background: #ef4444;
      color: #fff;
      transform: rotate(90deg);
    }

    /* Контейнер iframe */
    .widget-accordion__frame-wrap {
      position: relative;
      border-radius: 12px;
      overflow: hidden;
      background: #fff;
      border: 1px solid #e2e8f0;
      aspect-ratio: 16 / 10;
      min-height: 420px;
    }

    .widget-accordion__frame-wrap iframe {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      border: none;
      opacity: 0;
      transition: opacity 0.4s ease;
    }

    .widget-accordion__frame-wrap iframe.is-loaded { opacity: 1; }

    /* Лоадер */
    .widget-accordion__loader {
      position: absolute;
      inset: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 0.75rem;
      background: #fff;
      z-index: 2;
      opacity: 1;
      transition: opacity 0.3s ease;
      pointer-events: none;
    }

    .widget-accordion__loader.is-hidden { opacity: 0; }

    .widget-accordion__loader .spinner-border {
      color: var(--widget-accent);
      width: 2.25rem;
      height: 2.25rem;
      border-width: 0.22em;
    }

    .widget-accordion__loader span {
      font-size: 0.8125rem;
      color: #64748b;
      font-weight: 500;
    }

    /* ======================== МОБИЛЬНАЯ АДАПТАЦИЯ ======================== */
    @media (max-width: 560px) {
      .widget-section { padding: 1.5rem 0.75rem; }
      .widget-section__title { font-size: 1.25rem; }
      .widget-section__subtitle { font-size: 0.875rem; margin-bottom: 1.5rem; }

      .widget-card {
        padding: 1rem 1rem;
        gap: 0.875rem;
      }

      .widget-card__icon {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
        border-radius: 12px;
      }

      .widget-card__title {font-size: 0.9375rem; }
      .widget-card__desc { font-size: 0.8125rem; }

      .widget-card__arrow {
        width: 32px;
        height: 32px;
        font-size: 0.875rem;
      }

      /* Аккордеон на мобильном — почти весь экран */
      .widget-accordion.is-open {
        max-height: calc(100dvh - 160px);
        margin-top: 1rem;
      }

      .widget-accordion__inner {
        padding: 0.75rem;
        border-radius: 14px;
      }

      .widget-accordion__frame-wrap {
        aspect-ratio: unset;
        height: calc(100dvh - 260px);
        min-height: 380px;
        max-height: 680px;
        border-radius: 10px;
      }

      .widget-accordion__close {
        width: 36px;
        height: 36px;
        font-size: 1rem;
      }
    }

    @media (max-width: 360px) {
      .widget-card { padding: 0.875rem 0.75rem; gap: 0.75rem; }
      .widget-card__icon { width: 44px; height: 44px; font-size: 1.125rem; }
      .widget-card__title { font-size: 0.875rem; }
      .widget-card__desc { font-size: 0.75rem; }

      .widget-accordion.is-open {
        max-height: calc(100dvh - 140px);
      }

      .widget-accordion__frame-wrap {
        height: calc(100dvh - 240px);
        min-height: 340px;
      }
    }