    /* CARDS */
    .card {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      padding: 22px;
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
      position: relative;
      transition: border-color 0.25s, box-shadow 0.25s;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
    }

    .card:hover {
      border-color: rgba(255, 255, 255, 0.12);
    }

    .metrics-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
      margin-bottom: 24px;
    }

    .metric-card {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      padding: 18px 20px;
      backdrop-filter: blur(12px);
      position: relative;
      transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .metric-card:hover {
      border-color: var(--border-focus);
      transform: translateY(-1px);
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    }

    .metric-top {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 8px;
    }

    .metric-lbl {
      font-size: 11px;
      color: var(--text-dim);
      text-transform: uppercase;
      font-weight: 700;
      letter-spacing: 0.06em;
      font-family: var(--font-mono);
    }

    .metric-val {
      font-size: 26px;
      font-weight: 800;
      font-family: var(--font-mono);
      letter-spacing: -0.03em;
      line-height: 1.1;
    }

    .metric-sub {
      font-size: 11px;
      color: var(--text-muted);
      margin-top: 6px;
      font-family: var(--font-mono);
    }

    /* TENT VISUALIZER */
    .tent-box {
      background: rgba(6, 9, 15, 0.85);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-sm);
      padding: 24px;
      position: relative;
      margin-bottom: 24px;
    }

    .range-bar {
      position: relative;
      height: 58px;
      margin: 32px 0 24px 0;
      background: rgba(255, 255, 255, 0.015);
      border-radius: var(--radius-sm);
      border: 1px solid rgba(255, 255, 255, 0.04);
    }

    .tent-fill {
      height: 8px;
      background: linear-gradient(90deg, rgba(255, 42, 85, 0.6) 0%, rgba(0, 240, 144, 0.9) 50%, rgba(255, 42, 85, 0.6) 100%);
      border-radius: 4px;
      position: absolute;
      left: 10%;
      right: 10%;
      top: 25px;
      box-shadow: 0 0 20px var(--green-glow);
    }

    .pin-mark {
      position: absolute;
      top: 6px;
      transform: translateX(-50%);
      text-align: center;
      z-index: 5;
    }

    .pin-dot {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      margin: 0 auto;
      border: 2px solid #000;
    }

    .dot-center { 
      background: var(--accent); 
      box-shadow: 0 0 14px var(--accent); 
    }
    .dot-wing { 
      background: var(--blue); 
      box-shadow: 0 0 10px var(--blue);
    }

    .spot-pointer {
      position: absolute;
      top: -24px;
      transform: translateX(-50%);
      display: flex;
      flex-direction: column;
      align-items: center;
      z-index: 10;
      transition: left 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .spot-badge {
      background: #fff;
      color: #030508;
      font-size: 11px;
      font-weight: 800;
      padding: 3px 8px;
      border-radius: 3px;
      font-family: var(--font-mono);
      box-shadow: 0 0 16px rgba(255, 255, 255, 0.6);
      white-space: nowrap;
    }

    .spot-line { 
      width: 2px; 
      height: 42px; 
      background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0.2) 100%); 
    }

    /* TABLES */
    .table-responsive {
      width: 100%;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      margin-bottom: 8px;
    }

    .custom-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 12px;
      min-width: 620px;
    }

    .custom-table th {
      text-align: left;
      font-size: 10px;
      color: var(--text-dim);
      text-transform: uppercase;
      letter-spacing: 0.08em;
      padding: 11px 14px;
      border-bottom: 1px solid var(--border-subtle);
      font-family: var(--font-mono);
      font-weight: 700;
      background: rgba(255, 255, 255, 0.01);
    }

    .custom-table td {
      padding: 12px 14px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.03);
      font-family: var(--font-mono);
      color: var(--text-main);
    }

    .custom-table tr:hover td {
      background: rgba(255, 255, 255, 0.025);
    }

    /* BADGES */
    .badge {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      padding: 3px 8px;
      border-radius: 3px;
      font-size: 10px;
      font-weight: 700;
      font-family: var(--font-mono);
      letter-spacing: 0.04em;
      white-space: nowrap;
      flex-shrink: 0;
    }

    .badge-gold { background: rgba(198, 255, 0, 0.1); color: var(--accent); border: 1px solid var(--border-focus); }
    .badge-green { background: rgba(0, 240, 144, 0.1); color: var(--green); border: 1px solid rgba(0, 240, 144, 0.3); }
    .badge-red { background: rgba(255, 42, 85, 0.1); color: var(--red); border: 1px solid rgba(255, 42, 85, 0.3); }
    .badge-blue { background: rgba(0, 229, 255, 0.1); color: var(--blue); border: 1px solid rgba(0, 229, 255, 0.3); }

    /* BUTTONS */
    .btn {
      padding: 9px 16px;
      border-radius: var(--radius-sm);
      font-size: 12px;
      font-weight: 700;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 7px;
      transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
      border: 1px solid transparent;
      outline: none;
      font-family: var(--font-sans);
      letter-spacing: -0.01em;
      user-select: none;
    }

    .btn-gold {
      background: var(--accent);
      color: #030508;
      border-color: var(--accent);
      box-shadow: 0 0 16px var(--accent-glow);
    }

    .btn-gold:hover {
      filter: brightness(1.1);
      transform: translateY(-1px);
      box-shadow: 0 0 24px var(--accent);
    }

    .btn-gold:active {
      transform: translateY(0);
    }

    .btn-danger {
      background: rgba(255, 42, 85, 0.12);
      color: var(--red);
      border: 1px solid rgba(255, 42, 85, 0.35);
    }

    .btn-danger:hover {
      background: rgba(255, 42, 85, 0.22);
      box-shadow: 0 0 16px var(--red-glow);
      transform: translateY(-1px);
    }

    .btn-outline {
      background: rgba(255, 255, 255, 0.03);
      color: var(--text-main);
      border: 1px solid var(--border-subtle);
    }

    .btn-outline:hover {
      background: rgba(125, 125, 125, 0.08);
      border-color: var(--accent);
      color: var(--text-main);
    }

    /* FORMS */
    .form-group {
      margin-bottom: 16px;
    }

    .form-group label {
      display: block;
      font-size: 11px;
      color: var(--text-dim);
      margin-bottom: 6px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      font-family: var(--font-mono);
    }

    .form-input, .form-select {
      width: 100%;
      background: rgba(6, 9, 15, 0.9);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-sm);
      padding: 10px 14px;
      color: var(--text-main);
      font-family: var(--font-sans);
      font-size: 13px;
      outline: none;
      transition: all 0.2s ease;
    }

    .form-input:focus, .form-select:focus {
      border-color: var(--accent);
      box-shadow: 0 0 12px var(--accent-glow);
    }

    .form-select option {
      background: #0d1322;
      color: #f1f5f9;
    }

    /* MODALS */
    .modal-overlay {
      position: fixed;
      inset: 0;
      background: rgba(2, 4, 8, 0.85);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      display: none;
      align-items: center;
      justify-content: center;
      z-index: 1500;
    }

    .modal-box {
      width: 90%;
      max-width: 520px;
      background: #080d16;
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: var(--radius-md);
      padding: 22px 26px;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
      max-height: 88vh;
      overflow-y: auto;
    }

    /* AUTH OVERLAY */
    .auth-overlay {
      position: fixed;
      inset: 0;
      background: rgba(2, 4, 8, 0.92);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 2000;
    }

    .auth-card {
      width: 440px;
      background: #080d16;
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: var(--radius-lg);
      padding: 34px 30px;
      box-shadow: 0 0 60px rgba(0, 0, 0, 0.9);
      position: relative;
    }

    .auth-card::before {
      content: "";
      position: absolute;
      top: 0;
      left: 10%;
      right: 10%;
      height: 1px;
      background: linear-gradient(90deg, transparent, var(--accent), transparent);
    }

    /* TOAST */
    .toast {
      position: fixed;
      bottom: 24px;
      right: 24px;
      background: var(--bg-panel-elevated);
      color: var(--text-main);
      border: 1px solid var(--accent);
      padding: 12px 20px;
      border-radius: var(--radius-sm);
      font-size: 12px;
      font-weight: 600;
      display: none;
      align-items: center;
      gap: 10px;
      z-index: 9999;
      box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
      font-family: var(--font-mono);
      transition: all 0.2s ease;
    }

    #toastMsg {
      color: var(--text-main);
      font-weight: 600;
    }

    @keyframes spin {
      from { transform: rotate(0deg); }
      to { transform: rotate(360deg); }
    }

    .spinner {
      display: inline-block;
      animation: spin 0.9s linear infinite;
    }

    /* FAQ & Setup Guide Styles */
    .faq-item {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-sm);
      margin-bottom: 10px;
      overflow: hidden;
      transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

    .faq-item:hover {
      border-color: var(--border-accent);
    }

    .faq-item[open] {
      border-color: var(--border-accent);
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    }

    .faq-summary {
      padding: 14px 18px;
      font-size: 13px;
      font-weight: 700;
      color: var(--text-main);
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      list-style: none;
      user-select: none;
    }

    .faq-summary::-webkit-details-marker {
      display: none;
    }

    .faq-summary::after {
      content: '▸';
      font-size: 14px;
      color: var(--accent);
      transition: transform 0.2s ease;
    }

    .faq-item[open] .faq-summary::after {
      transform: rotate(90deg);
    }

    .faq-body {
      padding: 12px 18px 16px 18px;
      font-size: 12px;
      line-height: 1.6;
      color: var(--text-muted);
      border-top: 1px solid var(--border-subtle);
    }

    .guide-step-card {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-sm);
      padding: 18px;
      transition: border-color 0.2s ease;
    }

    .guide-step-card:hover {
      border-color: var(--border-accent);
    }

    .step-num-pill {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 24px;
      height: 24px;
      border-radius: 50%;
      background: rgba(198, 255, 0, 0.12);
      color: var(--accent);
      font-family: var(--font-mono);
      font-weight: 800;
      font-size: 11px;
      margin-right: 8px;
      flex-shrink: 0;
    }
