body {
    font-family: system-ui, -apple-system, Roboto, 'Segoe UI', sans-serif;
    background: #f9fafb;
    display: flex;
    justify-content: center;
    padding: 40px;
    margin: 0;
  }
  
  .container {
    width: 100%;
    max-width: 1400px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .controls {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    margin: 12px;
    width: 100%;
    justify-content: center;
    align-items: center;
  }
  
  h3 {
    margin: 0 8px 0 0;
  }
  
  button, select, input {
    padding: 10px 12px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s ease;
  }
  
  button:hover, select:hover, input:hover {
    background: #1e40af;
    color: white;
  }
  
  button {
    background: #2563eb;
    color: white;
  }
  
  select {
    background: #374151;
    color: white;
  }
  
  .number-box {
    position: relative;
    display: inline-flex;
    align-items: center;
    background: #e5e7eb;
    border-radius: 8px;
    padding: 4px 8px;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
    transition: box-shadow 0.2s ease;
  }
  
  .number-box:hover {
    box-shadow: 0 0 0 2px #2563eb inset;
  }
  
  .number-box input {
    width: 100px;
    font-size: 1rem;
    border: none;
    background: transparent;
    text-align: right;
    outline: none;
    color: #111827;
  }
  
  .number-box .suffix {
    margin-left: 4px;
    font-weight: bold;
    color: #374151;
  }
  
  /* Table styling */
  table {
    border-collapse: collapse;
    width: 90%;
    max-width: 1000px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 24px;
  }
  
  thead {
    background: #2563eb;
    color: white;
  }
  
  thead th {
    padding: 12px 15px;
    text-align: center;
    font-size: 14px;
  }
  
  tbody tr:nth-child(even) {
    background: #f1f5f9;
  }
  
  tbody tr:hover {
    background: #e0f2fe;
  }
  
  td {
    padding: 12px 15px;
    text-align: center;
    font-size: 14px;
    color: #333;
  }
  
  tbody td:first-child {
    font-weight: bold;
    background: #f8fafc;
    text-align: left;
  }
  
  /* Plot container */
  #plot {
    width: 100%;
    height: calc(100vh - 220px);
    margin-top: 8px;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .controls {
      flex-direction: column;
      align-items: stretch;
    }
  
    button, select, input {
      width: 100%;
      font-size: 16px;
    }
  }
  