    /* Google Drive section – hidden until re-enabled (see index.html #google-drive-section) */
    .drive-section-hidden { display: none !important; }

    :root {
      /* Netsertive Brand Colors */
      --netsertive-blue: #1B73D1;
      --netsertive-aqua: #249BD2;
      --netsertive-black: #262626;
      --netsertive-dark-gray: #7D7D7D;
      --netsertive-light-gray: #F2F1F1;
      --netsertive-orange: #F47C02;
      --white: #FFFFFF;
      
      /* Typography */
      --font-header: 'Montserrat', sans-serif;
      --font-body: 'Lato', sans-serif;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: var(--font-body);
      background: linear-gradient(160deg, var(--netsertive-light-gray) 0%, #e8eced 100%);
      color: var(--netsertive-black);
      min-height: 100vh;
      padding: 0;
      letter-spacing: 0.5px;
      line-height: 1.6;
    }

    .main-content {
      padding: 40px 0;
    }

    .container {
      max-width: 1400px;
      margin: 0 auto;
      padding: 0 24px;
    }

    /* Main Navigation Bar */
    .main-nav {
      background: rgba(255, 255, 255, 0.98);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid rgba(27, 115, 209, 0.12);
      padding: 0;
      margin-bottom: 0;
      box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
      position: sticky;
      top: 0;
      z-index: 1000;
    }

    .nav-container {
      max-width: 1400px;
      margin: 0 auto;
      padding: 0 24px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      height: 70px;
    }

    .nav-logo {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .nav-logo-icon {
      width: 40px;
      height: 40px;
      background: linear-gradient(135deg, var(--netsertive-blue) 0%, var(--netsertive-aqua) 100%);
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-weight: 700;
      font-size: 18px;
      font-family: var(--font-header);
      box-shadow: 0 2px 8px rgba(27, 115, 209, 0.3);
    }

    .nav-logo-img {
      height: 36px;
      width: auto;
      display: block;
      object-fit: contain;
    }

    .nav-logo-text {
      font-family: var(--font-header);
      font-size: 18px;
      font-weight: 600;
      color: var(--netsertive-black);
      letter-spacing: 0.5px;
    }

    .nav-links {
      display: flex;
      gap: 8px;
      align-items: center;
    }

    .nav-link {
      display: flex;
      align-items: center;
      padding: 10px 16px;
      background: none;
      border: none;
      border-radius: 6px;
      font-family: var(--font-body);
      font-size: 14px;
      font-weight: 500;
      color: var(--netsertive-dark-gray);
      cursor: pointer;
      transition: all 0.2s ease;
      letter-spacing: 0.2px;
      white-space: nowrap;
    }

    .nav-link:hover {
      background: rgba(27, 115, 209, 0.05);
      color: var(--netsertive-blue);
    }

    .nav-link.active {
      background: var(--netsertive-blue);
      color: white;
    }


    /* Page Sections */
    .page-section {
      display: none;
      padding: 40px 0;
    }

    .page-section.active {
      display: block;
    }

    #past-reports-page {
      margin-top: 32px;
    }

    #help-section {
      margin-top: 32px;
    }

    .section-header {
      margin-bottom: 32px;
      padding-bottom: 16px;
      border-bottom: 2px solid rgba(27, 115, 209, 0.15);
    }

    .section-header h1 {
      font-family: var(--font-header);
      font-size: 2rem;
      font-weight: 600;
      color: var(--netsertive-black);
      margin-bottom: 8px;
      letter-spacing: 0.5px;
    }

    .section-subtitle {
      font-family: var(--font-body);
      font-size: 15px;
      color: var(--netsertive-dark-gray);
      margin: 0;
      line-height: 1.6;
    }

    /* Header with Netsertive branding (hidden) */
    .header {
      display: none;
    }

    .header-content {
      max-width: 1400px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      gap: 24px;
    }

    .header-logo {
      width: 48px;
      height: 48px;
      background: var(--netsertive-blue);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-weight: 700;
      font-size: 20px;
      font-family: var(--font-header);
      letter-spacing: 1px;
    }

    .header-text h1 {
      font-family: var(--font-header);
      font-size: 2rem;
      font-weight: 600;
      color: var(--netsertive-black);
      margin-bottom: 4px;
      letter-spacing: 1px;
    }

    .header-text p {
      font-family: var(--font-body);
      font-size: 14px;
      color: var(--netsertive-dark-gray);
      letter-spacing: 0.5px;
    }

    .card {
      background: var(--white);
      border-radius: 14px;
      padding: 40px;
      margin-bottom: 24px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
      border: 1px solid rgba(27, 115, 209, 0.08);
      transition: box-shadow 0.25s ease, border-color 0.25s ease;
    }
    .card:hover {
      box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
      border-color: rgba(27, 115, 209, 0.12);
    }

    .card h2 {
      font-family: var(--font-header);
      color: var(--netsertive-black);
      margin-bottom: 24px;
      font-size: 1.5rem;
      font-weight: 600;
      letter-spacing: 0.5px;
    }

    .tabs {
      display: flex;
      gap: 8px;
      margin-bottom: 32px;
      border-bottom: 2px solid var(--netsertive-light-gray);
    }

    .tab {
      padding: 14px 28px;
      background: none;
      border: none;
      cursor: pointer;
      font-family: var(--font-body);
      font-size: 15px;
      font-weight: 400;
      color: var(--netsertive-dark-gray);
      transition: all 0.3s ease;
      border-bottom: 3px solid transparent;
      letter-spacing: 0.5px;
      position: relative;
      top: 2px;
    }

    .tab:hover {
      color: var(--netsertive-blue);
      background: rgba(27, 115, 209, 0.05);
    }

    .tab.active {
      color: var(--netsertive-blue);
      border-bottom-color: var(--netsertive-blue);
      font-weight: 700;
    }

    .tab-content {
      display: none;
    }

    .tab-content.active {
      display: block;
    }

    .url-input-group {
      margin-bottom: 20px;
    }

    .url-input-group label {
      display: block;
      margin-bottom: 10px;
      font-family: var(--font-body);
      color: var(--netsertive-black);
      font-weight: 700;
      font-size: 14px;
      letter-spacing: 0.5px;
    }

    .url-input-group input {
      width: 100%;
      padding: 14px 16px;
      border: 2px solid var(--netsertive-light-gray);
      border-radius: 8px;
      font-family: var(--font-body);
      font-size: 15px;
      color: var(--netsertive-black);
      transition: all 0.3s ease;
      letter-spacing: 0.3px;
    }

    .url-input-group input:focus {
      outline: none;
      border-color: var(--netsertive-blue);
      box-shadow: 0 0 0 3px rgba(27, 115, 209, 0.1);
    }

    .url-input-group input::placeholder {
      color: var(--netsertive-dark-gray);
      opacity: 0.6;
    }

    .checkbox-group {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-top: 15px;
    }

    .checkbox-group input[type="checkbox"] {
      width: 20px;
      height: 20px;
      cursor: pointer;
    }

    .checkbox-group label {
      cursor: pointer;
      font-family: var(--font-body);
      color: var(--netsertive-black);
      font-size: 14px;
      letter-spacing: 0.3px;
    }

    .checkbox-group input[type="checkbox"]:checked {
      accent-color: var(--netsertive-blue);
    }

    .btn {
      background: var(--netsertive-blue);
      color: var(--white);
      border: none;
      padding: 16px 32px;
      border-radius: 8px;
      font-family: var(--font-body);
      font-size: 15px;
      font-weight: 700;
      cursor: pointer;
      transition: all 0.3s ease;
      width: 100%;
      margin-top: 24px;
      letter-spacing: 0.5px;
      box-shadow: 0 2px 8px rgba(27, 115, 209, 0.25);
    }

    .btn:hover:not(:disabled) {
      background: var(--netsertive-aqua);
      transform: translateY(-2px);
      box-shadow: 0 4px 16px rgba(27, 115, 209, 0.35);
    }

    .btn:active:not(:disabled) {
      transform: translateY(0);
      box-shadow: 0 2px 8px rgba(27, 115, 209, 0.25);
    }

    .btn:disabled {
      opacity: 0.5;
      cursor: not-allowed;
      transform: none;
      background: var(--netsertive-dark-gray);
    }

    .progress-container {
      display: none;
      margin-top: 20px;
    }

    .progress-container.active {
      display: block;
    }

    .progress-bar {
      width: 100%;
      height: 10px;
      background: rgba(27, 115, 209, 0.12);
      border-radius: 6px;
      overflow: hidden;
      margin-bottom: 12px;
    }

    .progress-fill {
      height: 100%;
      background: linear-gradient(90deg, var(--netsertive-blue) 0%, var(--netsertive-aqua) 100%);
      width: 0%;
      transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      border-radius: 6px;
    }

    .progress-text {
      text-align: center;
      font-family: var(--font-body);
      color: var(--netsertive-dark-gray);
      font-size: 14px;
      letter-spacing: 0.3px;
      margin-top: 8px;
    }

    /* Test Info Display */
    .test-info-container {
      margin: 20px 0;
      display: none;
    }

    .test-info-container.active {
      display: block;
    }

    .test-info-card {
      background: linear-gradient(135deg, rgba(27, 115, 209, 0.05) 0%, rgba(36, 155, 210, 0.05) 100%);
      border: 2px solid var(--netsertive-aqua);
      border-radius: 12px;
      padding: 20px;
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .test-info-icon {
      font-size: 32px;
      flex-shrink: 0;
    }

    .test-info-content {
      flex: 1;
    }

    .test-info-label {
      font-family: var(--font-body);
      font-size: 12px;
      color: var(--netsertive-dark-gray);
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-bottom: 4px;
      font-weight: 600;
    }

    .test-info-value {
      font-family: var(--font-header);
      font-size: 16px;
      color: var(--netsertive-black);
      font-weight: 600;
      word-break: break-all;
      margin-bottom: 4px;
    }

    .test-info-details {
      font-family: var(--font-body);
      font-size: 13px;
      color: var(--netsertive-dark-gray);
    }

    /* Status Message Card */
    .status-message-card {
      background: linear-gradient(135deg, rgba(76, 175, 80, 0.1) 0%, rgba(139, 195, 74, 0.1) 100%);
      border: 2px solid rgba(76, 175, 80, 0.3);
      border-radius: 12px;
      padding: 24px;
      margin: 24px 0;
      display: flex;
      align-items: flex-start;
      gap: 16px;
      animation: slideIn 0.3s ease;
    }

    @keyframes slideIn {
      from {
        opacity: 0;
        transform: translateY(-10px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .status-message-icon {
      font-size: 36px;
      flex-shrink: 0;
      line-height: 1;
    }

    .status-message-content {
      flex: 1;
    }

    .status-message-title {
      font-family: var(--font-header);
      font-size: 16px;
      font-weight: 600;
      color: var(--netsertive-black);
      margin-bottom: 8px;
      letter-spacing: 0.3px;
    }

    .status-message-text {
      font-family: var(--font-body);
      font-size: 14px;
      color: var(--netsertive-dark-gray);
      line-height: 1.6;
      margin-bottom: 8px;
    }

    .status-message-next {
      font-family: var(--font-body);
      font-size: 13px;
      color: #4caf50;
      font-weight: 600;
      padding-top: 8px;
      border-top: 1px solid rgba(76, 175, 80, 0.2);
      margin-top: 4px;
    }

    .result-container {
      display: none;
      margin-top: 20px;
    }

    .result-container.active {
      display: block;
    }

    .status-badge {
      display: inline-block;
      padding: 10px 20px;
      border-radius: 24px;
      font-weight: 600;
      font-size: 14px;
      margin-bottom: 20px;
      letter-spacing: 0.3px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    }

    .status-badge.pass {
      background: linear-gradient(135deg, #2e7d32 0%, #43a047 100%);
      color: white;
    }

    .status-badge.fail {
      background: linear-gradient(135deg, #c62828 0%, #e53935 100%);
      color: white;
    }

    .status-badge.warning,
    .status-badge.pass_with_warnings {
      background: linear-gradient(135deg, #e65100 0%, var(--netsertive-orange) 100%);
      color: white;
    }

    /* Run Results Summary (Bucket 5) */
    .run-results-summary { margin-bottom: 24px; }
    .run-results-summary-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
    .run-results-title { font-family: var(--font-header); font-size: 1.5rem; margin: 0 0 8px 0; color: var(--netsertive-black); }
    .run-results-meta { font-size: 14px; color: var(--netsertive-dark-gray); line-height: 1.6; }
    .run-results-summary-actions { flex-shrink: 0; }
    .run-results-overall-badge { margin-bottom: 24px; }
    .run-results-notice { margin: 0 0 16px 0; padding: 12px 16px; border-radius: 8px; font-size: 14px; line-height: 1.5; border: 1px solid #90caf9; background: #e3f2fd; color: #1565c0; }
    .run-results-notice.run-results-notice--warn { border-color: #ffb74d; background: #fff8e1; color: #e65100; }
    .run-results-overall-badge .badge { display: inline-block; padding: 12px 24px; border-radius: 10px; font-weight: 700; font-size: 1rem; letter-spacing: 0.3px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); }
    .run-results-overall-badge .badge.fail { background: linear-gradient(135deg, #c62828 0%, #e53935 100%); color: white; }
    .run-results-overall-badge .badge.pass-warnings { background: linear-gradient(135deg, #e65100 0%, var(--netsertive-orange) 100%); color: white; }
    .run-results-overall-badge .badge.pass { background: linear-gradient(135deg, #2e7d32 0%, #43a047 100%); color: white; }
    .run-results-unit-list { display: flex; flex-direction: column; gap: 16px; }
    .run-results-unit-card { border: 1px solid rgba(27, 115, 209, 0.12); border-radius: 12px; padding: 20px; background: white; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04); transition: box-shadow 0.2s ease, border-color 0.2s ease; }
    .run-results-unit-card:hover { box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06); border-color: rgba(27, 115, 209, 0.2); }
    .run-results-unit-card .unit-url { font-family: var(--font-body); font-size: 14px; color: var(--netsertive-black); word-break: break-all; flex: 1 1 200px; }
    .run-results-unit-card .unit-url a { color: var(--netsertive-blue); }
    .run-results-unit-card .unit-badges { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
    .run-results-unit-card .unit-badge { padding: 6px 12px; border-radius: 6px; font-weight: 600; font-size: 13px; }
    .run-results-unit-card .unit-badge.fail { background: #ffebee; color: #c62828; }
    .run-results-unit-card .unit-badge.pass-warnings { background: #fff3e0; color: #e65100; }
    .run-results-unit-card .unit-badge.pass { background: #e8f5e9; color: #2e7d32; }
    .run-results-unit-card .unit-counts { font-size: 13px; color: var(--netsertive-dark-gray); }
    .run-results-read-more-wrap { margin-top: 16px; }
    .run-results-read-more-btn { font-size: 14px; }
    .unit-report-view .btn-back { margin-bottom: 16px; }
    .unit-report-header { margin-bottom: 24px; }
    .unit-report-meta { font-size: 14px; color: var(--netsertive-dark-gray); margin-bottom: 12px; line-height: 1.6; }
    .unit-report-status-badge { margin-bottom: 20px; }
    .unit-report-section { margin-bottom: 24px; }
    .unit-report-section h4 { font-family: var(--font-header); font-size: 1rem; margin: 0 0 12px 0; padding: 12px 16px; background: rgba(27, 115, 209, 0.06); border: 1px solid rgba(27, 115, 209, 0.12); border-radius: 8px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: background 0.2s ease, border-color 0.2s ease; }
    .unit-report-section h4:hover { background: rgba(27, 115, 209, 0.1); border-color: rgba(27, 115, 209, 0.2); }
    .unit-report-section h4.expanded { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
    .past-reports-table { border-radius: 12px; overflow: hidden; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04); }
    .past-reports-table thead tr { background: rgba(27, 115, 209, 0.08); }
    .past-reports-table th { padding: 14px 16px; font-family: var(--font-header); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.6px; color: var(--netsertive-dark-gray); }
    .past-reports-table tbody tr.past-report-row { transition: background 0.2s ease; }
    .past-report-row:hover { background: rgba(27, 115, 209, 0.06); }
    .unit-report-section .section-content { padding: 14px; border: 1px solid #e0e0e0; border-top: none; border-radius: 0 0 8px 8px; }

    /* Responsive: mobile and tablet */
    @media (max-width: 768px) {
      .nav-container {
        flex-wrap: wrap;
        height: auto;
        min-height: 56px;
        padding: 12px 16px;
        gap: 12px;
      }
      .nav-logo-text { font-size: 1rem; }
      .nav-links {
        flex-wrap: wrap;
        gap: 6px;
        width: 100%;
        justify-content: flex-start;
      }
      .nav-link {
        padding: 8px 12px;
        font-size: 13px;
      }
      .container { padding: 0 16px; }
      .page-section { padding: 24px 0; }
      .section-header h1 { font-size: 1.5rem; }
      .section-subtitle { font-size: 14px; }
      .card { padding: 24px 20px; }
      .past-reports-controls {
        flex-direction: column;
        align-items: stretch;
      }
      .past-reports-controls input,
      .past-reports-controls select { min-width: 0; width: 100%; }
      .past-reports-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
      .past-reports-table { font-size: 13px; }
      .past-reports-table th,
      .past-reports-table td { padding: 10px 6px; }
      .past-reports-table .past-report-view-btn { white-space: nowrap; padding: 8px 12px; font-size: 13px; }
      #run-test-form .url-input-group input,
      #run-test-form .url-input-group select,
      #run-test-form .url-input-group textarea { box-sizing: border-box; }
      #start-test-btn,
      #cancel-test-btn { flex: 1 1 auto; min-width: 0; }
      .run-results-summary-header { flex-direction: column; align-items: flex-start; gap: 12px; }
      .run-results-unit-card { flex-direction: column; align-items: flex-start; }
      .modal-content { max-width: 95vw; max-height: 90vh; overflow-y: auto; }
    }

    @media (max-width: 600px) {
      .past-reports-table thead { display: none; }
      .past-reports-table tbody tr.past-report-row {
        display: block;
        border: 1px solid var(--netsertive-light-gray);
        border-radius: 8px;
        margin-bottom: 12px;
        padding: 12px;
        box-shadow: 0 1px 4px rgba(0,0,0,0.06);
      }
      .past-reports-table tbody tr.past-report-row td {
        display: block;
        padding: 6px 0;
        border: none;
      }
      .past-reports-table tbody tr.past-report-row td:before {
        content: attr(data-label);
        font-weight: 600;
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: var(--netsertive-dark-gray);
        display: block;
        margin-bottom: 2px;
      }
      .past-reports-table tbody tr.past-report-row td:last-child {
        padding-top: 12px;
        border-top: 1px solid #eee;
        margin-top: 8px;
      }
      .past-reports-table tbody tr.past-report-row td:last-child:before { display: none; }
      .past-reports-pagination { flex-direction: column; align-items: stretch; text-align: center; }
    }

    @media (max-width: 480px) {
      .container { padding: 0 12px; }
      .card { padding: 20px 16px; }
      .nav-link { padding: 6px 10px; font-size: 12px; }
      .section-header h1 { font-size: 1.35rem; }
      .run-test-actions { flex-direction: column; }
      .run-test-actions .btn { width: 100%; }
      .run-results-unit-card .unit-badges { flex-direction: column; align-items: flex-start; }
    }
    .unit-report-blockers h4 { color: #c62828; background: #ffebee; }
    .unit-report-warnings h4 { color: #e65100; background: #fff3e0; }
    .unit-report-passed h4 { color: #2e7d32; background: #e8f5e9; }

    .result-stats {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      gap: 15px;
      margin-bottom: 20px;
    }

    .stat-item {
      background: var(--netsertive-light-gray);
      padding: 20px;
      border-radius: 10px;
      text-align: center;
      border: 1px solid rgba(27, 115, 209, 0.1);
      transition: all 0.3s ease;
    }

    .stat-item:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(27, 115, 209, 0.1);
    }

    .stat-value {
      font-family: var(--font-header);
      font-size: 2.25rem;
      font-weight: 700;
      color: var(--netsertive-blue);
      letter-spacing: 0.5px;
    }

    .stat-label {
      font-family: var(--font-body);
      color: var(--netsertive-dark-gray);
      font-size: 14px;
      margin-top: 8px;
      letter-spacing: 0.5px;
      font-weight: 400;
    }

    /* Screenshots Gallery */
    .screenshots-section {
      margin: 30px 0;
      padding: 20px;
      background: var(--white);
      border-radius: 12px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }

    .screenshots-section h3 {
      font-family: var(--font-header);
      font-size: 1.5rem;
      color: var(--netsertive-black);
      margin-bottom: 20px;
      font-weight: 600;
    }

    .screenshots-gallery {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
      gap: 20px;
    }

    .screenshot-item {
      background: var(--netsertive-light-gray);
      border-radius: 8px;
      overflow: hidden;
      border: 2px solid rgba(27, 115, 209, 0.1);
      transition: all 0.3s ease;
    }

    .screenshot-item:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(27, 115, 209, 0.15);
      border-color: var(--netsertive-aqua);
    }

    .screenshot-image {
      width: 100%;
      height: auto;
      display: block;
      cursor: pointer;
      background: var(--white);
    }

    .screenshot-info {
      padding: 12px;
      font-family: var(--font-body);
      font-size: 13px;
      color: var(--netsertive-dark-gray);
    }

    .screenshot-label {
      font-weight: 600;
      color: var(--netsertive-black);
      margin-bottom: 4px;
    }

    .screenshot-details {
      font-size: 12px;
      color: var(--netsertive-dark-gray);
    }

    /* Test Results Table */
    .test-results-table-section {
      margin: 30px 0;
      padding: 0;
      background: transparent;
    }

    .test-results-table-section h3 {
      font-family: var(--font-header);
      font-size: 1.5rem;
      color: var(--netsertive-black);
      margin-bottom: 24px;
      font-weight: 600;
    }

    /* Collapsible Test Section */
    .test-section {
      margin-bottom: 16px;
      background: var(--white);
      border-radius: 12px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
      overflow: hidden;
      transition: all 0.3s ease;
    }

    .test-section:hover {
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    }

    .test-section-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px 24px;
      cursor: pointer;
      background: linear-gradient(135deg, rgba(27, 115, 209, 0.05) 0%, rgba(36, 155, 210, 0.05) 100%);
      border-bottom: 2px solid transparent;
      transition: all 0.3s ease;
      user-select: none;
    }

    .test-section-header:hover {
      background: linear-gradient(135deg, rgba(27, 115, 209, 0.08) 0%, rgba(36, 155, 210, 0.08) 100%);
    }

    .test-section-header.active {
      border-bottom-color: var(--netsertive-blue);
    }

    .test-section-title {
      display: flex;
      align-items: center;
      gap: 12px;
      flex: 1;
    }

    .test-section-icon {
      font-size: 24px;
      flex-shrink: 0;
    }

    .test-section-name {
      font-family: var(--font-header);
      font-size: 18px;
      font-weight: 600;
      color: var(--netsertive-black);
      letter-spacing: 0.3px;
    }

    .test-section-badge {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-left: 16px;
    }

    .test-section-count {
      background: var(--netsertive-light-gray);
      color: var(--netsertive-dark-gray);
      padding: 4px 12px;
      border-radius: 12px;
      font-size: 13px;
      font-weight: 600;
      font-family: var(--font-body);
    }

    .test-section-status {
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .test-section-toggle {
      font-size: 20px;
      color: var(--netsertive-dark-gray);
      transition: transform 0.3s ease;
      flex-shrink: 0;
      margin-left: 16px;
    }

    .test-section-header.active .test-section-toggle {
      transform: rotate(180deg);
    }

    .test-section-content {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease, padding 0.3s ease;
      padding: 0 24px;
    }

    .test-section-content.expanded {
      max-height: 10000px;
      padding: 24px;
    }

    .test-section-table {
      width: 100%;
      border-collapse: collapse;
      font-family: var(--font-body);
      font-size: 14px;
      table-layout: fixed;
    }

    .test-section-table thead {
      background: var(--netsertive-blue);
      color: white;
    }

    .test-section-table th {
      padding: 12px;
      text-align: left;
      font-weight: 600;
      font-family: var(--font-header);
      border: 1px solid rgba(255, 255, 255, 0.2);
      font-size: 13px;
      letter-spacing: 0.5px;
    }

    .test-section-table td {
      padding: 12px;
      border: 1px solid rgba(27, 115, 209, 0.1);
      vertical-align: top;
      overflow-wrap: anywhere;
      word-break: break-word;
    }

    .test-section-table tbody tr:nth-child(even) {
      background: rgba(27, 115, 209, 0.02);
    }

    .test-section-table tbody tr:hover {
      background: rgba(27, 115, 209, 0.05);
    }

    .test-results-table {
      width: 100%;
      border-collapse: collapse;
      font-family: var(--font-body);
      font-size: 14px;
    }

    .test-results-table thead {
      background: var(--netsertive-blue);
      color: white;
    }

    .test-results-table th {
      padding: 12px;
      text-align: left;
      font-weight: 600;
      font-family: var(--font-header);
      border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .test-results-table td {
      padding: 12px;
      border: 1px solid rgba(27, 115, 209, 0.1);
      vertical-align: top;
    }
    
    .test-results-table td:last-child {
      max-width: 100%;
      min-width: 0;
      overflow-wrap: anywhere;
      word-break: break-word;
      white-space: pre-wrap;
    }

    .test-results-table tbody tr:nth-child(even) {
      background: var(--netsertive-light-gray);
    }

    .test-results-table tbody tr:hover {
      background: rgba(27, 115, 209, 0.05);
    }

    .test-status {
      display: inline-block;
      padding: 4px 12px;
      border-radius: 12px;
      font-size: 12px;
      font-weight: 600;
      text-transform: uppercase;
    }

    .test-status.pass {
      background: #4caf50;
      color: white;
    }

    .test-status.fail {
      background: #f44336;
      color: white;
    }

    .test-status.warning {
      background: var(--netsertive-orange);
      color: white;
    }

    .test-status.no_data {
      background: #607d8b;
      color: white;
    }

    .test-status.not_tested {
      background: #9e9e9e;
      color: white;
    }

    /* Guidelines Grid Display */
    .guidelines-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
      gap: 24px;
      margin-top: 24px;
      margin-bottom: 24px;
    }

    .guideline-card {
      background: var(--white);
      border: 2px solid var(--netsertive-light-gray);
      border-radius: 12px;
      padding: 24px;
      transition: all 0.3s ease;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }

    .guideline-card:hover {
      border-color: var(--netsertive-aqua);
      box-shadow: 0 4px 16px rgba(27, 115, 209, 0.1);
      transform: translateY(-2px);
    }

    .guideline-card-header {
      margin-bottom: 20px;
      padding-bottom: 16px;
      border-bottom: 2px solid var(--netsertive-light-gray);
    }

    .guideline-card-header h3 {
      font-family: var(--font-header);
      font-size: 18px;
      font-weight: 600;
      color: var(--netsertive-black);
      margin: 0;
      letter-spacing: 0.5px;
    }

    .guideline-items {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .guideline-item {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      font-family: var(--font-body);
      font-size: 14px;
      color: var(--netsertive-black);
      line-height: 1.6;
      letter-spacing: 0.3px;
    }

    .guideline-item .checkmark {
      font-size: 16px;
      flex-shrink: 0;
      margin-top: 2px;
    }

    /* Admin Panel Container */
    #admin-panel {
      background: var(--white);
      padding: 0;
    }

    #admin-panel .section-header {
      background: linear-gradient(135deg, var(--netsertive-blue) 0%, var(--netsertive-aqua) 100%);
      color: white;
      padding: 48px 40px;
      margin: 0 0 40px 0;
      border-radius: 12px 12px 0 0;
      box-shadow: 0 4px 12px rgba(27, 115, 209, 0.15);
    }

    #admin-panel .section-header h1 {
      color: white;
      margin-bottom: 12px;
      font-size: 2.25rem;
      font-weight: 700;
      text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    #admin-panel .section-subtitle {
      color: rgba(255, 255, 255, 0.95);
      font-size: 16px;
      line-height: 1.7;
      font-weight: 400;
    }

    /* Admin Panel Styles */
    .admin-toggle-card {
      background: linear-gradient(135deg, rgba(27, 115, 209, 0.03) 0%, rgba(36, 155, 210, 0.03) 100%);
      border: 1px solid rgba(27, 115, 209, 0.15);
      border-radius: 12px;
      padding: 24px;
      margin-bottom: 24px;
    }

    .admin-toggle-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 24px;
    }

    .admin-toggle-info {
      display: flex;
      align-items: center;
      gap: 16px;
      flex: 1;
    }

    .admin-toggle-icon-wrapper {
      width: 48px;
      height: 48px;
      background: var(--netsertive-blue);
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      flex-shrink: 0;
    }

    .admin-toggle-btn {
      white-space: nowrap;
    }

    .admin-panel {
      background: linear-gradient(135deg, rgba(27, 115, 209, 0.02) 0%, rgba(36, 155, 210, 0.02) 100%);
      border: 2px solid var(--netsertive-aqua);
      border-radius: 0 0 12px 12px;
      padding: 40px;
      position: relative;
      margin-bottom: 24px;
    }

    .admin-panel-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      margin-bottom: 32px;
      gap: 24px;
    }

    .admin-panel-header h2 {
      margin-bottom: 8px;
    }

    .admin-panel-subtitle {
      color: var(--netsertive-dark-gray);
      font-size: 14px;
      margin: 0;
      line-height: 1.5;
    }

    .admin-status-indicator {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 8px 16px;
      background: rgba(76, 175, 80, 0.1);
      border: 1px solid rgba(76, 175, 80, 0.3);
      border-radius: 20px;
      font-size: 13px;
      color: #4caf50;
    }

    .status-dot {
      width: 8px;
      height: 8px;
      background: #4caf50;
      border-radius: 50%;
      animation: pulse 2s infinite;
    }

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

    /* Admin Navigation Tabs */
    .admin-nav-tabs {
      display: flex;
      gap: 12px;
      margin-bottom: 32px;
      padding: 8px;
      background: rgba(27, 115, 209, 0.03);
      border-radius: 16px;
      border: 1px solid rgba(27, 115, 209, 0.1);
    }

    .admin-nav-tab {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 16px 24px;
      background: var(--white);
      border: 2px solid rgba(27, 115, 209, 0.15);
      border-radius: 12px;
      cursor: pointer;
      transition: all 0.3s ease;
      font-family: var(--font-body);
      font-size: 15px;
      font-weight: 600;
      color: var(--netsertive-dark-gray);
      letter-spacing: 0.3px;
      flex: 1;
      position: relative;
      overflow: hidden;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    }

    .admin-nav-tab::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 3px;
      background: var(--netsertive-blue);
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.3s ease;
    }

    .admin-nav-tab:hover {
      background: linear-gradient(135deg, rgba(27, 115, 209, 0.05) 0%, rgba(36, 155, 210, 0.05) 100%);
      border-color: var(--netsertive-aqua);
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(27, 115, 209, 0.15);
    }

    .admin-nav-tab.active {
      background: linear-gradient(135deg, var(--netsertive-blue) 0%, var(--netsertive-aqua) 100%);
      border-color: var(--netsertive-blue);
      color: white;
      box-shadow: 0 4px 16px rgba(27, 115, 209, 0.3);
      transform: translateY(-2px);
    }

    .admin-nav-tab.active::before {
      transform: scaleX(1);
      background: rgba(255, 255, 255, 0.3);
    }

    .admin-nav-tab.active .tab-icon {
      transform: scale(1.1);
      filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    }

    .admin-nav-tab.active .tab-text {
      color: white;
      font-weight: 700;
    }

    .admin-nav-tab.active .tab-badge {
      background: rgba(255, 255, 255, 0.25);
      color: white;
      border-color: rgba(255, 255, 255, 0.3);
    }

    .tab-icon {
      font-size: 14px;
      font-weight: 600;
      font-family: var(--font-header);
      color: var(--netsertive-dark-gray);
      line-height: 1;
      transition: all 0.2s ease;
      flex-shrink: 0;
      opacity: 0.7;
    }
    
    .admin-nav-tab.active .tab-icon {
      color: white;
      opacity: 1;
    }
    
    .admin-nav-tab:hover .tab-icon {
      opacity: 1;
    }

    .tab-text {
      flex: 1;
      text-align: left;
      transition: color 0.3s ease, font-weight 0.3s ease;
    }

    .tab-badge {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 28px;
      height: 28px;
      padding: 0 10px;
      background: rgba(27, 115, 209, 0.1);
      border: 1px solid rgba(27, 115, 209, 0.2);
      border-radius: 14px;
      font-size: 13px;
      font-weight: 700;
      color: var(--netsertive-blue);
      transition: all 0.3s ease;
      font-family: var(--font-body);
    }

    .admin-nav-tab:hover .tab-badge:not(.admin-nav-tab.active .tab-badge) {
      background: rgba(27, 115, 209, 0.15);
      border-color: var(--netsertive-aqua);
    }

    .admin-tab-content {
      display: none;
    }

    .admin-tab-content.active {
      display: block;
    }

    .admin-tab-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      margin-bottom: 36px;
      gap: 32px;
      flex-wrap: wrap;
      padding: 32px;
      background: linear-gradient(135deg, rgba(27, 115, 209, 0.04) 0%, rgba(36, 155, 210, 0.04) 100%);
      border-radius: 12px;
      border-left: 5px solid var(--netsertive-blue);
      box-shadow: 0 2px 8px rgba(27, 115, 209, 0.08);
    }

    .admin-tab-header h3 {
      font-family: var(--font-header);
      font-size: 1.5rem;
      font-weight: 600;
      color: var(--netsertive-black);
      margin: 0 0 8px 0;
      letter-spacing: 0.5px;
    }

    .admin-tab-description {
      color: var(--netsertive-dark-gray);
      font-size: 15px;
      margin: 0;
      line-height: 1.7;
    }

    .admin-search-box {
      position: relative;
      min-width: 280px;
      flex-shrink: 0;
    }

    .search-input {
      width: 100%;
      padding: 12px 16px 12px 44px;
      border: 2px solid var(--netsertive-light-gray);
      border-radius: 8px;
      font-family: var(--font-body);
      font-size: 15px;
      transition: all 0.3s ease;
      background: var(--white);
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    }

    .search-input:focus {
      outline: none;
      border-color: var(--netsertive-blue);
      box-shadow: 0 0 0 4px rgba(27, 115, 209, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
      transform: translateY(-1px);
    }

    .search-icon {
      position: absolute;
      left: 12px;
      top: 50%;
      transform: translateY(-50%);
      color: var(--netsertive-dark-gray);
      pointer-events: none;
    }

    .config-item {
      background: var(--white);
      border: 1px solid var(--netsertive-light-gray);
      border-radius: 12px;
      padding: 28px;
      margin-bottom: 24px;
      transition: all 0.3s ease;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
      position: relative;
    }

    .config-item::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 4px;
      background: linear-gradient(90deg, var(--netsertive-blue), var(--netsertive-aqua));
      border-radius: 12px 12px 0 0;
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .config-item:hover {
      border-color: var(--netsertive-aqua);
      box-shadow: 0 6px 20px rgba(27, 115, 209, 0.12);
      transform: translateY(-2px);
    }

    .config-item:hover::before {
      opacity: 1;
    }

    .config-item.hidden {
      display: none;
    }

    .config-item-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 24px;
      padding-bottom: 16px;
      border-bottom: 2px solid var(--netsertive-light-gray);
    }

    .config-item-header h4 {
      font-family: var(--font-header);
      font-size: 20px;
      font-weight: 700;
      color: var(--netsertive-black);
      margin: 0;
      letter-spacing: 0.5px;
      display: flex;
      align-items: center;
      gap: 8px;
    }


    .config-item-header button {
      background: var(--netsertive-orange);
      color: white;
      border: none;
      padding: 8px 16px;
      border-radius: 6px;
      cursor: pointer;
      font-size: 13px;
      font-weight: 600;
      transition: all 0.2s ease;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .config-item-header button:hover {
      background: #d66a00;
      transform: translateY(-1px);
      box-shadow: 0 2px 8px rgba(244, 124, 2, 0.3);
    }

    .config-item-header button:active {
      transform: translateY(0);
    }

    .config-form-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 20px;
    }

    .config-form-group {
      display: flex;
      flex-direction: column;
    }

    .config-form-group label {
      font-family: var(--font-body);
      font-size: 14px;
      font-weight: 600;
      color: var(--netsertive-black);
      margin-bottom: 8px;
      letter-spacing: 0.3px;
      letter-spacing: 0.3px;
    }

    .config-form-group input,
    .config-form-group select {
      padding: 12px 16px;
      border: 2px solid var(--netsertive-light-gray);
      border-radius: 8px;
      font-family: var(--font-body);
      font-size: 15px;
      transition: all 0.3s ease;
      background: var(--white);
      transition: border-color 0.3s ease;
    }

    .config-form-group input:focus,
    .config-form-group select:focus {
      outline: none;
      border-color: var(--netsertive-blue);
      box-shadow: 0 0 0 3px rgba(27, 115, 209, 0.1);
    }

    .config-form-group small {
      font-size: 12px;
      color: var(--netsertive-dark-gray);
      margin-top: 4px;
    }

    .required-asterisk {
      color: #f44336;
      margin-left: 2px;
    }

    .checkbox-group {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-top: 8px;
    }

    .checkbox-group input[type="checkbox"] {
      width: 18px;
      height: 18px;
      cursor: pointer;
      accent-color: var(--netsertive-blue);
    }

    .empty-state {
      text-align: center;
      padding: 64px 32px;
      color: var(--netsertive-dark-gray);
      background: rgba(27, 115, 209, 0.02);
      border-radius: 12px;
      border: 2px dashed var(--netsertive-light-gray);
      margin: 24px 0;
    }

    .empty-state-icon {
      font-size: 24px;
      font-weight: 600;
      font-family: var(--font-header);
      color: var(--netsertive-blue);
      margin-bottom: 16px;
      display: block;
      letter-spacing: 2px;
      opacity: 0.6;
    }

    .empty-state h4 {
      font-family: var(--font-header);
      font-size: 20px;
      font-weight: 600;
      color: var(--netsertive-black);
      margin-bottom: 12px;
      letter-spacing: 0.5px;
    }

    .empty-state p {
      font-size: 15px;
      color: var(--netsertive-dark-gray);
      line-height: 1.6;
    }

    .admin-add-btn {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-top: 20px;
    }

    .admin-add-btn span {
      font-size: 20px;
      font-weight: 600;
    }

    .admin-panel-footer {
      margin-top: 48px;
      padding: 32px;
      background: rgba(27, 115, 209, 0.02);
      border-radius: 12px;
      border-top: 2px solid var(--netsertive-light-gray);
    }

    .admin-actions {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
      margin-bottom: 16px;
    }

    .admin-save-btn {
      position: relative;
    }

    .btn-icon {
      display: inline-block;
      margin-right: 6px;
    }

    /* Modal Styles */
    .modal {
      display: none;
      position: fixed;
      z-index: 2000;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5);
      backdrop-filter: blur(4px);
      animation: fadeIn 0.2s ease;
    }

    .modal.active {
      display: flex;
      align-items: center;
      justify-content: center;
    }

    @keyframes fadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }

    .modal-content {
      background: var(--white);
      border-radius: 12px;
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
      animation: slideUp 0.3s ease;
      max-width: 600px;
      width: 90%;
      max-height: 90vh;
      overflow: hidden;
      display: flex;
      flex-direction: column;
    }

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

    .modal-header {
      padding: 24px 32px;
      border-bottom: 2px solid var(--netsertive-light-gray);
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .modal-header h2 {
      margin: 0;
      font-family: var(--font-header);
      font-size: 1.5rem;
      font-weight: 600;
      color: var(--netsertive-black);
    }

    .modal-close {
      background: none;
      border: none;
      font-size: 32px;
      color: var(--netsertive-dark-gray);
      cursor: pointer;
      padding: 0;
      width: 32px;
      height: 32px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 4px;
      transition: all 0.2s ease;
    }

    .modal-close:hover {
      background: var(--netsertive-light-gray);
      color: var(--netsertive-black);
    }

    .modal-body {
      padding: 32px;
      overflow-y: auto;
      flex: 1;
    }

    .modal-footer {
      padding: 24px 32px;
      border-top: 2px solid var(--netsertive-light-gray);
      display: flex;
      justify-content: flex-end;
      gap: 12px;
      background: rgba(27, 115, 209, 0.02);
    }

    /* Form Styles */
    .form-group {
      margin-bottom: 20px;
    }

    .form-group label {
      display: block;
      font-family: var(--font-body);
      font-size: 14px;
      font-weight: 600;
      color: var(--netsertive-black);
      margin-bottom: 8px;
      letter-spacing: 0.3px;
    }

    .form-group input[type="text"],
    .form-group input[type="number"] {
      width: 100%;
      padding: 12px 16px;
      border: 2px solid var(--netsertive-light-gray);
      border-radius: 8px;
      font-family: var(--font-body);
      font-size: 15px;
      transition: all 0.3s ease;
    }

    .form-group input:focus {
      outline: none;
      border-color: var(--netsertive-blue);
      box-shadow: 0 0 0 3px rgba(27, 115, 209, 0.1);
    }

    .form-group small {
      display: block;
      font-size: 12px;
      color: var(--netsertive-dark-gray);
      margin-top: 4px;
    }

    .form-section-header {
      margin-top: 32px;
      margin-bottom: 16px;
      padding-bottom: 12px;
      border-bottom: 2px solid var(--netsertive-light-gray);
    }

    .form-section-header h4 {
      margin: 0;
      font-family: var(--font-header);
      font-size: 16px;
      font-weight: 600;
      color: var(--netsertive-black);
    }

    .form-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 20px;
    }

    .checkbox-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 12px;
    }

    .checkbox-label {
      display: flex;
      align-items: center;
      gap: 8px;
      cursor: pointer;
      padding: 12px;
      border: 2px solid var(--netsertive-light-gray);
      border-radius: 8px;
      transition: all 0.2s ease;
    }

    .checkbox-label:hover {
      border-color: var(--netsertive-aqua);
      background: rgba(36, 155, 210, 0.05);
    }

    .checkbox-label input[type="checkbox"] {
      width: 18px;
      height: 18px;
      cursor: pointer;
      accent-color: var(--netsertive-blue);
    }

    /* Brand Card Styles */
    .brand-card {
      background: var(--white);
      border: 2px solid var(--netsertive-light-gray);
      border-radius: 12px;
      padding: 24px;
      margin-bottom: 16px;
      transition: all 0.3s ease;
    }

    .brand-card:hover {
      border-color: var(--netsertive-aqua);
      box-shadow: 0 4px 16px rgba(27, 115, 209, 0.1);
      transform: translateY(-2px);
    }

    .brand-card-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      margin-bottom: 16px;
    }

    .brand-card-title {
      font-family: var(--font-header);
      font-size: 18px;
      font-weight: 600;
      color: var(--netsertive-black);
      margin: 0 0 4px 0;
    }

    .brand-card-id {
      font-family: monospace;
      font-size: 13px;
      color: var(--netsertive-dark-gray);
      background: rgba(27, 115, 209, 0.05);
      padding: 4px 8px;
      border-radius: 4px;
      display: inline-block;
    }

    .brand-card-actions {
      display: flex;
      gap: 8px;
    }

    .brand-card-body {
      font-family: var(--font-body);
      font-size: 14px;
      color: var(--netsertive-black);
      line-height: 1.8;
    }

    .brand-rule-item {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 8px;
    }

    .brand-rule-label {
      font-weight: 600;
      min-width: 150px;
    }

    /* Dashboard Styles */
    .stats-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 20px;
      margin-bottom: 32px;
    }

    .stat-card {
      background: linear-gradient(135deg, rgba(27, 115, 209, 0.05) 0%, rgba(36, 155, 210, 0.05) 100%);
      border: 2px solid var(--netsertive-aqua);
      border-radius: 12px;
      padding: 24px;
      text-align: center;
      transition: all 0.3s ease;
    }

    .stat-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 8px 24px rgba(27, 115, 209, 0.15);
    }

    .stat-icon {
      font-size: 20px;
      font-weight: 600;
      font-family: var(--font-header);
      color: var(--netsertive-blue);
      margin-bottom: 8px;
      display: block;
      letter-spacing: 2px;
      opacity: 0.7;
    }

    .stat-value {
      font-family: var(--font-header);
      font-size: 2.5rem;
      font-weight: 700;
      color: var(--netsertive-blue);
      margin-bottom: 8px;
    }

    .stat-label {
      font-family: var(--font-body);
      font-size: 14px;
      color: var(--netsertive-dark-gray);
      font-weight: 600;
      letter-spacing: 0.5px;
    }

    .chart-container {
      position: relative;
      height: 300px;
      width: 100%;
    }

    .chart-bar {
      display: flex;
      align-items: flex-end;
      height: 250px;
      gap: 8px;
      padding: 20px;
    }

    .chart-bar-item {
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
    }

    .chart-bar-fill {
      width: 100%;
      background: linear-gradient(180deg, var(--netsertive-blue) 0%, var(--netsertive-aqua) 100%);
      border-radius: 4px 4px 0 0;
      min-height: 20px;
      transition: all 0.3s ease;
      position: relative;
    }

    .chart-bar-fill:hover {
      opacity: 0.8;
      transform: scaleY(1.05);
    }

    .chart-bar-label {
      font-size: 12px;
      color: var(--netsertive-dark-gray);
      text-align: center;
      font-weight: 600;
    }

    .chart-bar-value {
      position: absolute;
      top: -20px;
      left: 50%;
      transform: translateX(-50%);
      font-size: 11px;
      font-weight: 600;
      color: var(--netsertive-blue);
      white-space: nowrap;
    }

    .activity-item {
      display: flex;
      align-items: flex-start;
      gap: 16px;
      padding: 16px;
      border-bottom: 1px solid var(--netsertive-light-gray);
      transition: all 0.2s ease;
    }

    .activity-item:hover {
      background: rgba(27, 115, 209, 0.03);
    }

    .activity-item:last-child {
      border-bottom: none;
    }

    .activity-icon {
      font-size: 24px;
      flex-shrink: 0;
    }

    .activity-content {
      flex: 1;
    }

    .activity-title {
      font-family: var(--font-body);
      font-size: 14px;
      font-weight: 600;
      color: var(--netsertive-black);
      margin-bottom: 4px;
    }

    .activity-details {
      font-family: var(--font-body);
      font-size: 12px;
      color: var(--netsertive-dark-gray);
    }

    .activity-time {
      font-family: var(--font-body);
      font-size: 11px;
      color: var(--netsertive-dark-gray);
      white-space: nowrap;
    }

    .brand-performance-table {
      width: 100%;
      border-collapse: collapse;
    }

    .brand-performance-table th,
    .brand-performance-table td {
      padding: 12px 16px;
      text-align: left;
      border-bottom: 1px solid var(--netsertive-light-gray);
    }

    .brand-performance-table th {
      font-family: var(--font-header);
      font-weight: 600;
      color: var(--netsertive-black);
      background: rgba(27, 115, 209, 0.05);
    }

    .brand-performance-table tr:hover {
      background: rgba(27, 115, 209, 0.02);
    }

    .status-badge {
      display: inline-block;
      padding: 4px 12px;
      border-radius: 12px;
      font-size: 12px;
      font-weight: 600;
    }

    .status-badge.pass {
      background: rgba(76, 175, 80, 0.1);
      color: #4caf50;
    }

    .status-badge.fail {
      background: rgba(244, 67, 54, 0.1);
      color: #f44336;
    }

    .status-badge.warning {
      background: rgba(255, 152, 0, 0.1);
      color: #ff9800;
    }

    .btn-loading {
      display: inline-flex;
      align-items: center;
      margin-left: 8px;
      animation: spin 1s linear infinite;
    }

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

    .admin-danger-btn {
      background: #f44336;
      color: white;
    }

    .admin-danger-btn:hover {
      background: #d32f2f;
    }

    .admin-footer-info {
      display: flex;
      justify-content: flex-end;
      padding-top: 12px;
      border-top: 1px solid var(--netsertive-light-gray);
    }

    .last-saved-text {
      font-size: 12px;
      color: var(--netsertive-dark-gray);
    }

    .admin-message {
      position: fixed;
      top: 20px;
      right: 20px;
      padding: 16px 24px;
      border-radius: 8px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
      z-index: 10000;
      max-width: 400px;
      animation: slideIn 0.3s ease;
    }

    @keyframes slideIn {
      from {
        transform: translateX(400px);
        opacity: 0;
      }
      to {
        transform: translateX(0);
        opacity: 1;
      }
    }

    .admin-message.success {
      background: #4caf50;
      color: white;
    }

    .admin-message.error {
      background: #f44336;
      color: white;
    }

    .admin-message.info {
      background: var(--netsertive-blue);
      color: white;
    }

    .result-actions {
      display: flex;
      gap: 10px;
      margin-top: 20px;
    }

    .result-actions .btn {
      margin: 0;
      flex: 1;
    }

    .btn-secondary {
      background: var(--netsertive-light-gray);
      color: var(--netsertive-black);
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .btn-secondary:hover:not(:disabled) {
      background: var(--netsertive-dark-gray);
      color: var(--white);
    }

    .error-message {
      background: #fff5f5;
      border: 2px solid #f44336;
      color: #c33;
      padding: 16px 20px;
      border-radius: 8px;
      margin-top: 24px;
      display: none;
      font-family: var(--font-body);
      font-size: 14px;
      letter-spacing: 0.3px;
    }

    .error-message.active {
      display: block;
    }

    .test-history {
      margin-top: 30px;
    }

    .history-item {
      padding: 18px 20px;
      border: 1px solid var(--netsertive-light-gray);
      border-radius: 10px;
      margin-bottom: 12px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      transition: all 0.3s ease;
      font-family: var(--font-body);
    }

    .history-item:hover {
      background: rgba(27, 115, 209, 0.05);
      border-color: var(--netsertive-aqua);
      transform: translateX(4px);
    }

    .history-item strong {
      font-family: var(--font-header);
      font-weight: 600;
      color: var(--netsertive-black);
      letter-spacing: 0.5px;
    }

    .history-item span {
      font-size: 13px;
      color: var(--netsertive-dark-gray);
      letter-spacing: 0.3px;
    }

    @media (max-width: 768px) {
      .header-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
      }

      .header-text h1 {
        font-size: 1.75rem;
      }

      .card {
        padding: 24px;
      }

      .result-stats {
        grid-template-columns: repeat(2, 1fr);
      }

      .tabs {
        overflow-x: auto;
      }

      .tab {
        padding: 12px 20px;
        white-space: nowrap;
      }
    }

    /* Try Sample Button (Integrated) */
    .btn-try-sample {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: rgba(27, 115, 209, 0.1);
      color: var(--netsertive-blue);
      border: 1px solid rgba(27, 115, 209, 0.3);
      font-weight: 600;
      transition: all 0.3s ease;
      white-space: nowrap;
    }

    .btn-try-sample:hover {
      background: rgba(27, 115, 209, 0.15);
      border-color: var(--netsertive-blue);
      transform: translateY(-1px);
    }

    .btn-try-sample span {
      font-size: 14px;
    }

    /* Tooltip Styles */
    [data-tooltip] {
      position: relative;
      cursor: help;
    }

    [data-tooltip]:hover::after {
      content: attr(data-tooltip);
      position: absolute;
      bottom: 100%;
      left: 50%;
      transform: translateX(-50%);
      padding: 8px 12px;
      background: var(--netsertive-black);
      color: var(--white);
      font-size: 13px;
      font-family: var(--font-body);
      border-radius: 6px;
      white-space: nowrap;
      z-index: 1000;
      margin-bottom: 8px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
      max-width: 300px;
      white-space: normal;
      line-height: 1.4;
      font-weight: 400;
      pointer-events: none;
    }

    [data-tooltip]:hover::before {
      content: '';
      position: absolute;
      bottom: 100%;
      left: 50%;
      transform: translateX(-50%);
      border: 6px solid transparent;
      border-top-color: var(--netsertive-black);
      margin-bottom: 2px;
      z-index: 1001;
      pointer-events: none;
    }

    [data-tooltip-top]:hover::after {
      bottom: auto;
      top: 100%;
      margin-bottom: 0;
      margin-top: 8px;
    }

    [data-tooltip-top]:hover::before {
      bottom: auto;
      top: 100%;
      margin-bottom: 0;
      margin-top: 2px;
      border-top-color: transparent;
      border-bottom-color: var(--netsertive-black);
    }

    /* Help Section Styles */
    .help-section {
      max-width: 1200px;
      margin: 0 auto;
    }

    .help-card {
      background: var(--white);
      border-radius: 12px;
      padding: 32px;
      margin-bottom: 24px;
      box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
      border: 1px solid rgba(27, 115, 209, 0.1);
    }

    .help-card h2 {
      font-family: var(--font-header);
      color: var(--netsertive-black);
      margin-bottom: 24px;
      font-size: 1.75rem;
      font-weight: 600;
      letter-spacing: 0.5px;
      border-bottom: 3px solid var(--netsertive-blue);
      padding-bottom: 12px;
    }

    .help-card h3 {
      font-family: var(--font-header);
      color: var(--netsertive-blue);
      margin-top: 32px;
      margin-bottom: 16px;
      font-size: 1.3rem;
      font-weight: 600;
      letter-spacing: 0.5px;
    }

    .definition-item {
      margin-bottom: 24px;
      padding: 16px;
      background: rgba(27, 115, 209, 0.03);
      border-left: 4px solid var(--netsertive-blue);
      border-radius: 6px;
    }

    .definition-term {
      font-family: var(--font-header);
      font-weight: 700;
      color: var(--netsertive-black);
      font-size: 16px;
      margin-bottom: 8px;
    }

    .definition-description {
      font-family: var(--font-body);
      color: var(--netsertive-dark-gray);
      line-height: 1.6;
      font-size: 14px;
    }

    .help-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 20px;
      margin-top: 24px;
    }

    .help-link {
      color: var(--netsertive-blue);
      text-decoration: none;
      border-bottom: 1px dotted var(--netsertive-blue);
      transition: all 0.2s ease;
    }

    .help-link:hover {
      color: var(--netsertive-aqua);
      border-bottom-color: var(--netsertive-aqua);
    }

    /* Improved Error Messages */
    .error-message {
      background: #fee;
      border: 2px solid #f44336;
      color: #c62828;
      padding: 16px;
      border-radius: 8px;
      margin: 16px 0;
      display: none;
      font-family: var(--font-body);
      font-size: 14px;
      line-height: 1.6;
    }

    .error-message.active {
      display: block;
      animation: slideIn 0.3s ease;
    }

    .error-message strong {
      display: block;
      margin-bottom: 8px;
      font-weight: 700;
    }

    /* Success Messages */
    .success-message {
      background: #e8f5e9;
      border: 2px solid #4caf50;
      color: #2e7d32;
      padding: 16px;
      border-radius: 8px;
      margin: 16px 0;
      display: none;
      font-family: var(--font-body);
      font-size: 14px;
      line-height: 1.6;
    }

    .success-message.active {
      display: block;
      animation: slideIn 0.3s ease;
    }

    /* Validation Feedback */
    .validation-error {
      border-color: #f44336 !important;
      box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.1) !important;
    }

    .validation-success {
      border-color: #4caf50 !important;
      box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1) !important;
    }

    /* Loading States */
    .loading-spinner {
      display: inline-block;
      width: 16px;
      height: 16px;
      border: 2px solid rgba(255, 255, 255, 0.3);
      border-top-color: white;
      border-radius: 50%;
      animation: spin 0.6s linear infinite;
      margin-right: 8px;
    }

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

    .btn.loading {
      pointer-events: none;
      opacity: 0.7;
    }

    /* Info Icons */
    .info-icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 18px;
      height: 18px;
      background: var(--netsertive-blue);
      color: white;
      border-radius: 50%;
      font-size: 12px;
      font-weight: 700;
      margin-left: 6px;
      cursor: help;
      vertical-align: middle;
    }

    /* Splash / Home – minimal hero */
    #splash-page {
      padding: 0;
    }

    .splash-hero {
      position: relative;
      background: linear-gradient(160deg, #0f4d8a 0%, #1B73D1 50%, #249BD2 100%);
      padding: 72px 24px 64px;
      margin: -40px -24px 0 -24px;
      text-align: center;
      color: white;
      overflow: hidden;
    }

    .splash-hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(255,255,255,0.12) 0%, transparent 60%);
      pointer-events: none;
    }

    .splash-hero-content {
      max-width: 560px;
      margin: 0 auto;
      position: relative;
      z-index: 1;
    }

    .splash-title {
      font-family: var(--font-header);
      font-size: 2.25rem;
      font-weight: 700;
      margin: 0 0 16px 0;
      letter-spacing: -0.02em;
      line-height: 1.2;
    }

    .splash-subtitle {
      font-family: var(--font-body);
      font-size: 1.05rem;
      line-height: 1.6;
      margin-bottom: 20px;
      opacity: 0.92;
      font-weight: 400;
    }

    .splash-steps {
      font-family: var(--font-body);
      font-size: 0.9rem;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      opacity: 0.75;
      margin-bottom: 32px;
    }

    .splash-cta {
      display: flex;
      justify-content: center;
    }

    .btn-large {
      padding: 14px 28px;
      font-size: 15px;
      font-weight: 600;
      border-radius: 8px;
      transition: transform 0.15s ease, box-shadow 0.15s ease;
    }

    .btn.btn-large {
      background: white;
      color: var(--netsertive-blue);
      border: none;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    }

    .btn.btn-large:hover {
      transform: translateY(-1px);
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
      background: #f8fafc;
      color: #0f4d8a;
    }

    .btn-secondary.btn-large {
      background: transparent;
      color: white;
      border: 2px solid rgba(255,255,255,0.8);
      font-weight: 600;
    }

    .btn-secondary.btn-large:hover {
      background: rgba(255,255,255,0.1);
      color: white;
      transform: translateY(-1px);
    }

    .section-title {
      font-family: var(--font-header);
      font-size: 1.5rem;
      font-weight: 700;
      color: var(--netsertive-black);
      margin-bottom: 24px;
      letter-spacing: 0.02em;
      text-align: center;
    }

    .how-it-works-section {
      margin-bottom: 48px;
      padding: 32px 24px;
      background: var(--white);
      border-radius: 12px;
      border: 1px solid rgba(27, 115, 209, 0.1);
      box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    }

    .steps-container {
      display: flex;
      align-items: flex-start;
      justify-content: center;
      gap: 20px;
      flex-wrap: wrap;
    }

    .step-card {
      flex: 1;
      min-width: 160px;
      max-width: 220px;
      background: var(--white);
      border-radius: 10px;
      padding: 24px 20px;
      text-align: center;
      border: 1px solid var(--netsertive-light-gray);
      transition: box-shadow 0.2s ease;
    }

    .step-card:hover {
      box-shadow: 0 4px 12px rgba(27, 115, 209, 0.1);
    }

    .step-number {
      width: 40px;
      height: 40px;
      background: var(--netsertive-blue);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: var(--font-header);
      font-size: 1.1rem;
      font-weight: 700;
      color: white;
      margin: 0 auto 14px;
    }

    .step-title {
      font-family: var(--font-header);
      font-size: 1rem;
      font-weight: 600;
      color: var(--netsertive-black);
      margin-bottom: 8px;
      line-height: 1.3;
    }

    .step-description {
      font-family: var(--font-body);
      font-size: 13px;
      color: var(--netsertive-dark-gray);
      line-height: 1.5;
    }

    .step-arrow {
      font-size: 18px;
      color: var(--netsertive-aqua);
      margin-top: 20px;
      flex-shrink: 0;
      opacity: 0.5;
    }

    .app-footer {
      margin-top: 48px;
      padding: 24px;
      text-align: center;
      border-top: 1px solid rgba(27, 115, 209, 0.12);
      background: rgba(255, 255, 255, 0.6);
    }

    .app-footer-copy {
      margin: 0;
      font-family: var(--font-body);
      font-size: 13px;
      color: var(--netsertive-dark-gray);
      letter-spacing: 0.02em;
    }

    @media (max-width: 768px) {
      .splash-hero {
        padding: 56px 20px 48px;
      }
      .splash-title {
        font-size: 1.75rem;
      }
      .splash-subtitle {
        font-size: 0.95rem;
      }
      .splash-steps {
        font-size: 0.8rem;
      }
      .step-arrow {
        transform: rotate(90deg);
        margin: 12px 0;
      }
      .steps-container {
        flex-direction: column;
        align-items: center;
      }
      .step-card {
        max-width: 100%;
      }
    }
