        .ma {
            margin: auto;
        }
        .buttoncontainer {
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 1rem;
            transition: transform 0.06s ease-out;
        }
        .buttoncontainer:active {
            transform: scale(0.96);
        }
        .buttontitle {
            font-size: 0.75rem;
            color: #e2e8f0;
            opacity: 1 !important;
            transition: none;
        }
        .buttontitle:active {
            opacity: 1 !important;
        }

        /* Fade buttons as they scroll into/out of the clipped viewport.
           Buttons are hidden until JS adds .is-inview, honoring that JS is
           present (mobile2.js already runs here). */
        .buttoncontainer {
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        .buttoncontainer.is-inview {
            opacity: 1;
        }
        @media (prefers-reduced-motion: reduce) {
            .buttoncontainer {
                transition: none !important;
            }
        }
        .panelbutton {
            background: linear-gradient(180deg, green 0%, blue 100%);
            border-radius: 0.75rem;
            border: 1px solid rgba(255, 255, 255, 0.35) !important;
            box-shadow: inset 0 0 6px rgba(159, 169, 214, 0.12);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: box-shadow 0.08s ease-out;
        }
        .panelbutton:active {
            box-shadow: inset 0 0 12px rgba(245, 158, 11, 0.35);
        }
        .titlediv {
            width: 100%;
            text-align: center;
            pointer-events: none;
        }
    .accordion-content {
      max-height: 0;
      opacity: 0;
      overflow: hidden;
      transition: max-height 0.25s cubic-bezier(0, 1, 0, 1), opacity 0.2s ease-in-out;
    }
    .accordion-item.is-expanded .accordion-content {
      max-height: 400px;
      opacity: 1;
      transition: max-height 0.3s ease-in-out, opacity 0.25s ease-in-out;
      padding: 4px;
    }
    .accordion-item.is-expanded .chevron-icon {
      transform: rotate(180deg);
    }
    select {
      background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%238b9bb4' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
      background-position: right 0.75rem center;
      background-repeat: no-repeat;
      background-size: 1.25em 1.25em;
      padding-right: 2.5rem;
    }

    /* Interactive toggle styles */
    .toggle-checkbox:checked + .toggle-track {
      background-color: #f59e0b;
    }
    .toggle-checkbox:checked + .toggle-track .toggle-thumb {
      transform: translateX(1.5rem);
    }
    .toggle-checkbox:checked + .toggle-track .toggle-check-icon {
      opacity: 1;
      transform: scale(1);
    }
    .toggle-checkbox:not(:checked) + .toggle-track .toggle-check-icon {
      opacity: 0;
      transform: scale(0.6);
    }
