
  body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
  }

  .container {
    width: 100%;
    max-width: 480px;
  }

  /* Header */
  .app-header {
    text-align: center;
    padding: 1.5rem 0 1rem;
  }
  .app-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.3px;
  }
  .app-sub {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
  }


  /* Sélecteur classe + thème */
  .theme-section { margin-bottom: .8rem; }
  .theme-label {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: .5px;
  }
  .class-bar { display: flex; gap: 6px; margin-bottom: 8px; }
  .class-btn {
    flex: 1;
    padding: 8px 6px;
    border-radius: var(--radius);
    border: 1px solid var(--border-strong);
    background: transparent;
    color: var(--text-sec);
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    transition: all .15s;
    text-align: center;
  }
  .class-btn.active { background: var(--accent-bg); color: var(--accent-text); border-color: var(--accent); }
  .class-btn:hover:not(.active) { background: var(--surface2); }
  .theme-select {
    width: 100%;
    padding: 9px 32px 9px 12px;
    border-radius: var(--radius);
    border: 1px solid var(--border-strong);
    background: var(--surface);
    color: var(--text);
    font-family: inherit;
    font-size: 13px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
  }
  .theme-select:focus { outline: none; border-color: var(--accent); }
  .theme-select option[data-pd="1"] { font-weight: 700; }

