      :root {
        --primary: #4a148c;
        --primary-light: #7c43bd;
        --primary-glow: rgba(74, 20, 140, 0.25);
        --secondary: #5a9e5e;
        --secondary-light: #81c784;
        --secondary-dark: #388e3c;
        --accent: #1a1a1a;
        --accent-soft: #37474f;
        --bg-color: #f0f4f8;
        --white: #ffffff;
        --glass: rgba(255, 255, 255, 0.97);
        --glass-border: rgba(255, 255, 255, 0.8);
        --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.06);
        --shadow-medium: 0 12px 40px rgba(74, 20, 140, 0.12);
        --shadow-strong: 0 20px 50px rgba(0, 0, 0, 0.1);
        --radius-sm: 12px;
        --radius-md: 16px;
        --radius-lg: 24px;
        --radius-xl: 32px;
        --radius-full: 9999px;
        --transition: 0.25s ease;
      }

      /* Language visibility */
      html[lang="ar"] .lang-en,
      html[lang="en"] .lang-ar {
        display: none !important;
      }
      html[lang="en"] .lang-en,
      html[lang="ar"] .lang-ar {
        display: inline;
      }
      html[lang="en"] .form-group label.lang-en,
      html[lang="en"] .wrap-label.lang-en,
      html[lang="ar"] .form-group label.lang-ar,
      html[lang="ar"] .wrap-label.lang-ar {
        display: block !important;
      }
      html[lang="en"] .form-group label.lang-ar,
      html[lang="en"] .wrap-label.lang-ar,
      html[lang="ar"] .form-group label.lang-en,
      html[lang="ar"] .wrap-label.lang-en {
        display: none !important;
      }

      * {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
        font-family: "Tajawal", sans-serif;
      }

      body {
        background: var(--bg-color);
        min-height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
        color: var(--accent);
        overflow-x: hidden;
        position: relative;
      }

      /* ========== Decorative background ========== */
      .page-bg {
        position: fixed;
        inset: 0;
        pointer-events: none;
        z-index: 0;
        overflow: hidden;
      }

      .grid-pattern {
        position: absolute;
        inset: 0;
        background-image:
          linear-gradient(rgba(74, 20, 140, 0.03) 1px, transparent 1px),
          linear-gradient(90deg, rgba(74, 20, 140, 0.03) 1px, transparent 1px);
        background-size: 28px 28px;
      }

      .shape {
        position: absolute;
        border-radius: 50%;
        filter: blur(60px);
        opacity: 0.5;
        animation: float 18s ease-in-out infinite;
      }

      .shape-1 {
        width: 400px;
        height: 400px;
        background: linear-gradient(
          135deg,
          var(--primary-light),
          var(--primary)
        );
        top: -120px;
        right: -80px;
        animation-delay: 0s;
      }

      .shape-2 {
        width: 320px;
        height: 320px;
        background: linear-gradient(
          135deg,
          var(--secondary),
          var(--secondary-dark)
        );
        bottom: -60px;
        left: -60px;
        animation-delay: -6s;
      }

      .shape-3 {
        width: 200px;
        height: 200px;
        background: linear-gradient(
          135deg,
          var(--primary-glow),
          var(--secondary-light)
        );
        top: 50%;
        left: 10%;
        animation-delay: -3s;
      }

      .shape-4 {
        width: 160px;
        height: 160px;
        background: linear-gradient(
          135deg,
          var(--secondary-light),
          var(--white)
        );
        top: 20%;
        right: 20%;
        animation-delay: -9s;
      }

      @keyframes float {
        0%,
        100% {
          transform: translate(0, 0) scale(1);
        }
        33% {
          transform: translate(15px, -20px) scale(1.05);
        }
        66% {
          transform: translate(-10px, 10px) scale(0.98);
        }
      }

      /* ========== App container ========== */
      .app-container {
        width: 100%;
        max-width: 480px;
        padding: 24px;
        position: relative;
        z-index: 1;
        animation: panelIn 0.6s ease-out;
      }

      @keyframes panelIn {
        from {
          opacity: 0;
          transform: translateY(20px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }

      .glass-panel {
        background: var(--glass);
        border-radius: var(--radius-xl);
        padding: 36px 28px;
        box-shadow:
          var(--shadow-soft),
          0 0 0 1px var(--glass-border);
        text-align: center;
        backdrop-filter: blur(20px);
        position: relative;
        overflow: hidden;
      }

      .glass-panel::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, var(--primary), var(--secondary));
        border-radius: var(--radius-xl) var(--radius-xl) 0 0;
      }

      /* ========== Header & Logo ========== */
      .app-header {
        margin-bottom: 32px;
      }

      .header-row {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 16px;
        margin-bottom: 12px;
        position: relative;
      }

      /* Logo link: clickable to the LngGo home page */
      .logo-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: inherit;
        border-radius: var(--radius-lg);
        transition:
          transform var(--transition),
          box-shadow var(--transition);
        outline: none;
      }

      .logo-link:hover {
        transform: scale(1.04);
        box-shadow: 0 8px 24px var(--primary-glow);
      }

      .logo-link:focus-visible {
        outline: 2px solid var(--primary);
        outline-offset: 4px;
      }

      .logo-wrap {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 96px;
        height: 96px;
        border-radius: var(--radius-lg);
        background: linear-gradient(145deg, var(--white) 0%, #f5f5f5 100%);
        box-shadow:
          0 4px 14px rgba(74, 20, 140, 0.12),
          inset 0 1px 0 rgba(255, 255, 255, 0.9);
        border: 2px solid rgba(74, 20, 140, 0.08);
        overflow: hidden;
        position: relative;
      }

      .app-logo {
        width: 80px;
        height: 80px;
        object-fit: contain;
        display: block;
      }

      .logo-fallback {
        display: none;
        font-size: 14px;
        font-weight: 800;
        color: var(--primary);
        text-align: center;
        line-height: 1.2;
        padding: 0 6px;
      }

      .logo-fallback.show {
        display: block;
      }

      .btn-lang {
        position: absolute;
        top: 0;
        inset-inline-end: 0;
        padding: 8px 14px;
        border-radius: var(--radius-full);
        border: 2px solid var(--primary);
        background: var(--white);
        color: var(--primary);
        font-size: 12px;
        font-weight: 700;
        cursor: pointer;
        transition:
          background var(--transition),
          color var(--transition),
          transform 0.2s;
      }

      .btn-lang:hover {
        background: var(--primary);
        color: var(--white);
        transform: scale(1.02);
      }

      .app-header h1 {
        color: var(--primary);
        font-size: 26px;
        font-weight: 800;
        margin-bottom: 4px;
        letter-spacing: -0.02em;
        font-family: "Tajawal", sans-serif;
      }

      /* تعريف قصير بالتطبيق تحت العنوان (block: قاعدة اللغة تجعل .lang-* سطريًّا) */
      html[lang="ar"] .app-intro.lang-ar,
      html[lang="en"] .app-intro.lang-en {
        display: block;
      }
      .app-intro {
        max-width: 440px;
        margin: 8px auto 0;
        font-size: 14px;
        line-height: 1.8;
        color: var(--accent-soft);
      }

      /* ========== Buttons ========== */
      .btn {
        border: none;
        border-radius: var(--radius-md);
        cursor: pointer;
        font-size: 16px;
        font-weight: 700;
        transition:
          transform 0.2s,
          box-shadow 0.2s,
          background 0.2s;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        color: var(--white);
        font-family: "Tajawal", sans-serif;
        padding: 15px 2px;
      }

      .btn:active {
        transform: scale(0.98);
      }

      .btn-card {
        border-radius: var(--radius-lg);
        padding: 20px 16px;
        box-shadow: var(--shadow-soft);
        position: relative;
        overflow: hidden;
      }

      .btn-card::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(
          180deg,
          rgba(255, 255, 255, 0.15) 0%,
          transparent 50%
        );
        pointer-events: none;
        border-radius: inherit;
      }

      .btn-card:hover {
        box-shadow: var(--shadow-medium);
        transform: translateY(-2px);
      }

      .btn-large {
        flex-direction: column;
        gap: 12px;
        padding: 24px 20px;
      }

      .btn-icon-wrap {
        width: 52px;
        height: 52px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.25);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
      }

      .btn-primary {
        background: linear-gradient(145deg, var(--primary) 0%, #6a1b9a 100%);
        box-shadow: 0 6px 20px var(--primary-glow);
      }

      .btn-primary:hover {
        box-shadow: 0 10px 28px var(--primary-glow);
      }

      .btn-secondary {
        background: linear-gradient(
          145deg,
          var(--secondary) 0%,
          var(--secondary-dark) 100%
        );
        box-shadow: 0 6px 20px rgba(56, 142, 60, 0.25);
      }

      .btn-secondary:hover {
        box-shadow: 0 10px 28px rgba(56, 142, 60, 0.3);
      }

      .btn-accent {
        background: linear-gradient(145deg, var(--accent) 0%, #37474f 100%);
        padding: 18px 20px;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
      }

      .btn-accent:hover {
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
      }

      .btn-text {
        background: transparent;
        color: var(--accent-soft);
        padding: 12px;
        box-shadow: none;
      }

      .btn-text:hover {
        background: rgba(0, 0, 0, 0.04);
      }

      /* Menu layout */
      .menu-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        margin-bottom: 16px;
      }

      .btn-full {
        width: 100%;
      }

      /* Views */
      .hidden {
        display: none !important;
      }

      /* ========== Customization panel ========== */
      [dir="rtl"] .panel-header,
      [dir="rtl"] .scroll-content {
        text-align: right;
      }
      [dir="ltr"] .panel-header,
      [dir="ltr"] .scroll-content {
        text-align: left;
      }

      .panel-header {
        margin-bottom: 24px;
        padding-bottom: 16px;
        border-bottom: 2px solid transparent;
        border-image: linear-gradient(
            90deg,
            transparent,
            var(--primary),
            var(--secondary),
            transparent
          )
          1;
        border-image-slice: 1;
      }

      .panel-header h2 {
        font-size: 20px;
        font-weight: 800;
        color: var(--primary);
        font-family: "Tajawal", sans-serif;
      }

      .scroll-content {
        max-height: 420px;
        overflow-y: auto;
        padding: 4px;
        margin: 0 -4px;
      }

      .scroll-content::-webkit-scrollbar {
        width: 6px;
      }

      .scroll-content::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.04);
        border-radius: var(--radius-full);
      }

      .scroll-content::-webkit-scrollbar-thumb {
        background: var(--primary);
        border-radius: var(--radius-full);
        opacity: 0.3;
      }

      .form-group {
        margin-bottom: 18px;
        padding: 14px 16px;
        background: rgba(255, 255, 255, 0.7);
        border-radius: var(--radius-md);
        border: 1px solid rgba(74, 20, 140, 0.06);
      }

      .form-group > label:first-of-type,
      .wrap-label {
        display: block;
        margin-bottom: 8px;
        font-weight: 700;
        color: var(--primary);
        font-size: 14px;
      }

      .level-row {
        display: flex;
        align-items: center;
        gap: 12px;
        flex-wrap: wrap;
      }

      .level-row select {
        flex: 0 0 auto;
        min-width: 88px;
      }

      .level-display {
        font-size: 13px;
        color: var(--accent-soft);
        font-weight: 600;
        padding: 4px 10px;
        background: rgba(74, 20, 140, 0.06);
        border-radius: var(--radius-sm);
      }

      .option-check-wrap .option-check {
        margin-top: 8px;
      }

      .hint {
        font-size: 12px;
        color: var(--accent-soft);
        margin-top: 6px;
        opacity: 0.9;
      }

      select {
        width: 100%;
        padding: 12px 14px;
        border-radius: var(--radius-sm);
        border: 2px solid rgba(74, 20, 140, 0.12);
        font-size: 14px;
        outline: none;
        background: var(--white);
        font-family: "Tajawal", sans-serif;
        transition: border-color 0.2s;
      }

      select:focus {
        border-color: var(--secondary);
      }

      .option-check {
        background: var(--white);
        padding: 12px 14px;
        border-radius: var(--radius-sm);
        border: 1px solid rgba(74, 20, 140, 0.08);
        display: flex;
        align-items: center;
        gap: 10px;
      }

      .radio-group {
        display: flex;
        gap: 16px;
        flex-wrap: wrap;
        background: var(--white);
        padding: 12px 14px;
        border-radius: var(--radius-sm);
        border: 1px solid rgba(74, 20, 140, 0.08);
      }

      .radio-group label {
        display: flex;
        align-items: center;
        gap: 8px;
        cursor: pointer;
        font-weight: 500;
      }

      .full-width {
        width: 100%;
      }

      .panel-actions {
        margin-top: 24px;
        display: flex;
        flex-direction: column;
        gap: 12px;
      }

      /* Disabled state for negative checkbox wrap */
      .option-check-wrap.disabled {
        opacity: 0.85;
      }

      /* ===========================
   PRINT STYLES – Beautiful test paper
   =========================== */
      #print-container {
        display: none;
      }

      @media print {
        body {
          background: white;
          display: block;
        }

        .page-bg,
        .app-container {
          display: none !important;
        }

        #print-container {
          display: block;
        }

        @page {
          size: A4;
          margin: 0;
        }

        .print-page {
          width: 210mm;
          height: 297mm;
          padding: 15mm;
          box-sizing: border-box;
          page-break-after: always;
          position: relative;
          background: #fff;
        }

        .print-page::before {
          content: "";
          position: absolute;
          top: 0;
          left: 0;
          right: 0;
          height: 5px;
          background: linear-gradient(90deg, #4a148c, #5a9e5e);
          border-radius: 0 0 8px 8px;
        }
        .print-page {
          overflow: hidden;
        }
        /* Test header - FIXED LAYOUT */
        .test-header {
          display: grid;
          grid-template-columns: auto 1fr auto;
          align-items: start;
          gap: 12px;
          padding: 8px 10px;
          margin-bottom: 18px;
          font-size: 16px;
          border-bottom: 2px solid #4a148c;
          border-radius: 0 0 8px 8px;
          background: linear-gradient(
            180deg,
            rgba(74, 20, 140, 0.04) 0%,
            transparent 100%
          );
        }

        /* Logo always on the LEFT */
        .header-logo-left {
          display: flex;
          justify-content: flex-start;
          align-items: flex-start;
          order: 1;
        }

        .print-logo {
          height: 96px;
          max-width: 200px;
          object-fit: contain;
        }

        .print-logo.text-logo {
          font-size: 15px;
          font-weight: 800;
          color: #4a148c;
          width: auto;
          height: auto;
          padding: 10px;
        }

        .header-head-photo {
          display: block;
          margin: 0 auto 6px;
          max-height: 70px;
          max-width: 160px;
          object-fit: contain;
        }

        /* Center content */
        .header-center {
          text-align: center;
          min-width: 200px;
          order: 2;
          gap: 3px;
        }

        /* QR code always on the RIGHT */
        .header-qr-right {
          display: flex;
          justify-content: flex-end;
          align-items: flex-start;
          order: 3;
        }

        .header-qr-right img {
          width: 96px;
          height: 96px;
          border-radius: 6px;
        }

        .test-title {
          font-size: 15px;
          font-weight: 800;
          color: #4a148c;
          margin-bottom: 4px;
          letter-spacing: -0.02em;
          align-items: center;
        }

        .test-meta {
          font-size: 18px; /* زيادة من 15px إلى 18px */
          color: #1a1a1a;
          line-height: 1.5;
        }

        .student-box {
          border: 2px solid #ccc;
          padding: 4px 12px;
          border-radius: 10px;
          margin-top: 2px;
          min-width: 400px;
          display: inline-block;
          color: #888;
          font-size: 14px; /* زيادة من 10px إلى 14px */
        }

        /* Questions – card style */
        .questions-wrapper {
          display: flex;
          flex-direction: column;
          gap: 16px;
        }
        .question-card {
          background: #fafbfc;
          border: 1px solid #e8e8e8;
          padding: 16px 20px;
          margin-bottom: 0;
          border-radius: 12px;
          page-break-inside: avoid;
          box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
          display: flex;
          flex-direction: row;
          align-items: center;
          justify-content: flex-start;
          gap: 0;
          direction: inherit;
        }

        .q-text {
          font-size: 20px;
          font-weight: 700;
          display: flex;
          align-items: center;
          gap: 10px;
          direction: inherit;
          flex: 0 0 50%; /* تحديد نصف العرض */
          text-align: start;
          justify-content: center; /* توسيط المحتوى */
          padding-inline-end: 30px;
          line-height: 1.5;
        }

        .q-number {
          font-size: 14px;
          color: #4a148c;
          font-weight: 800;
          flex-shrink: 0;
          min-width: 28px;
          text-align: center;
          padding: 3px 7px;
          background: rgba(74, 20, 140, 0.1);
          border-radius: 6px;
          display: inline-flex;
          align-items: center;
          justify-content: center;
          border: 1px solid #4a148c;
          align-self: flex-start;
        }

        .options-row {
          display: flex;
          gap: 16px;
          direction: inherit;
          flex: 0 0 50%;
          flex-wrap: nowrap;
          justify-content: flex-start; /* البداية من اليسار/اليمين */
          padding-inline-start: 0;
        }

        .option-item {
          display: flex;
          align-items: center;
          gap: 6px;
          font-size: 14px;
          font-weight: 500;
          white-space: nowrap;
        }

        .bubble {
          width: 16px;
          height: 16px;
          border: 2px solid #333;
          border-radius: 50%;
          display: inline-block;
          flex-shrink: 0;
        }

        /* Answer sheet */
        .correction-page {
          direction: ltr;
          padding: 24px;
          background: linear-gradient(180deg, #f0f7f0 0%, #fff 30%);
          border: 3px solid #388e3c;
          border-radius: 12px;
        }

        .correction-page::before {
          background: linear-gradient(90deg, #388e3c, #5a9e5e);
        }

        .correction-title {
          text-align: center;
          font-size: 18px;
          font-weight: 800;
          color: #388e3c;
          margin-bottom: 22px;
          text-transform: uppercase;
          letter-spacing: 0.04em;
          border-bottom: 2px dashed #37474f;
          padding-bottom: 12px;
        }

        .answer-line {
          font-family: "Courier New", monospace;
          font-size: 13px;
          margin-bottom: 14px;
          padding: 12px 16px;
          background: #fff;
          border-radius: 10px;
          border-left: 4px solid #4a148c;
          display: flex;
          flex-wrap: wrap;
          align-items: baseline;
          gap: 8px;
          box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
        }

        .answer-line .key-id {
          font-weight: bold;
          color: #4a148c;
          min-width: 52px;
        }

        .answer-line .key-data {
          letter-spacing: 0.5px;
          flex: 1;
        }
        .math-formula {
          unicode-bidi: isolate;
          white-space: nowrap; /* يمنع نزول الأرقام أو الرموز لسطر جديد */
          display: inline-block;
        }
      }
      /* نقاط الارتكاز (Fiducial Markers) للتصحيح التلقائي بالذكاء الاصطناعي */
      /* ── Fiducial marks: L-corners, I-beam, crosshair ── */
      .fiducial-mark {
        position: absolute;
        width: 22px;
        height: 22px;
        background: none !important;
        border: 4px solid #000;
        z-index: 100;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
      }

      /* ── Corner L-shapes: top row (horizontal pos set per-dir) ── */
      .fiducial-mark.tl { top: 15px; }
      .fiducial-mark.tr { top: 15px; }

      /* RTL: .tl → physical top-left ┌, .tr → physical top-right ┐ */
      .print-page[dir="rtl"] .fiducial-mark.tl {
        left: 15px; right: auto;
        border-right: none; border-bottom: none;
      }
      .print-page[dir="rtl"] .fiducial-mark.tr {
        right: 15px; left: auto;
        border-left: none; border-bottom: none;
      }
      /* LTR: .tl → physical top-right ┐, .tr → physical top-left ┌ */
      .print-page[dir="ltr"] .fiducial-mark.tl {
        right: 15px; left: auto;
        border-left: none; border-bottom: none;
      }
      .print-page[dir="ltr"] .fiducial-mark.tr {
        left: 15px; right: auto;
        border-right: none; border-bottom: none;
      }

      /* Bottom corners: fixed positions */
      .fiducial-mark.bl {
        bottom: 15px; left: 15px;
        border-right: none; border-top: none; /* └ */
      }
      .fiducial-mark.br {
        bottom: 15px; right: 15px;
        border-left: none; border-top: none;  /* ┘ */
      }

      /* ── Mid markers ── */
      .questions-area { position: relative; padding-top: 34px; }

      .fiducial-mark.mid-square,
      .fiducial-mark.mid-triangle { top: 0; border: none; }

      /* mid-square → L-shape: top corner-like */
      .fiducial-mark.mid-square {
        width: 22px; height: 22px;
        border: 4px solid #000;
      }


      /* mid-triangle → crosshair: horizontal + vertical bars */
      .fiducial-mark.mid-triangle {
        width: 22px; height: 22px;
      }
      .fiducial-mark.mid-triangle::before,
      .fiducial-mark.mid-triangle::after {
        content: '';
        position: absolute;
        background: #000;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
      }
      .fiducial-mark.mid-triangle::before { /* horizontal bar */
        width: 100%; height: 4px;
        top: 50%; left: 0;
        transform: translateY(-50%);
      }
      .fiducial-mark.mid-triangle::after { /* vertical bar */
        height: 100%; width: 4px;
        left: 50%; top: 0;
        transform: translateX(-50%);
      }

      /* Mid horizontal positions */
      .print-page[dir="rtl"] .fiducial-mark.mid-square  { left: calc(15px - 10mm); right: auto; }
      .print-page[dir="rtl"] .fiducial-mark.mid-triangle { right: calc(15px - 10mm); left: auto; }
      .print-page[dir="ltr"] .fiducial-mark.mid-square  { right: calc(15px - 10mm); left: auto; }
      .print-page[dir="ltr"] .fiducial-mark.mid-triangle { left: calc(15px - 10mm); right: auto; }

      /* Mid-square L-shape borders */
      .print-page[dir="rtl"] .fiducial-mark.mid-square {
        border-right: none; border-bottom: none;
      }
      .print-page[dir="ltr"] .fiducial-mark.mid-square {
        border-left: none; border-bottom: none;
      }

      /* ========== Compact mobile overrides ========== */
      @media (max-width: 700px) {
        body {
          align-items: flex-start;
        }

        .app-container {
          max-width: 100%;
          padding: 18px 14px 28px;
        }

        .glass-panel {
          padding: 26px 18px 22px;
          border-radius: 22px;
        }

        .app-header {
          margin-bottom: 22px;
        }

        .header-row {
          gap: 10px;
        }

        .logo-wrap {
          width: 80px;
          height: 80px;
        }

        .app-logo {
          width: 64px;
          height: 64px;
        }

        .btn-lang {
          padding: 6px 10px;
          font-size: 11px;
        }

        .app-header h1 {
          font-size: 22px;
        }

        .menu-grid {
          grid-template-columns: 1fr;
        }

        .btn-large {
          padding: 18px 16px;
          gap: 10px;
        }

        .btn-icon-wrap {
          width: 44px;
          height: 44px;
          font-size: 20px;
        }

        .btn {
          font-size: 15px;
          padding: 14px 2px;
        }

        .btn-card {
          padding: 18px 16px;
        }

        .scroll-content {
          max-height: 58vh;
        }

        .form-group {
          margin-bottom: 14px;
          padding: 12px 12px;
        }

        select {
          font-size: 13px;
          padding: 10px 12px;
        }

        .panel-header h2 {
          font-size: 18px;
        }
      }

      @media (max-width: 420px) {
        .glass-panel {
          padding: 22px 14px 18px;
          border-radius: 18px;
        }

        .app-header h1 {
          font-size: 20px;
        }

        .btn {
          font-size: 14px;
        }

        .level-display {
          font-size: 12px;
        }
      }

.is-busy{opacity:.6;cursor:progress}
