body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
      background-color: #f0f2f5;
      color: #1c1e21;
      margin: 0;
      padding: 2rem;
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      background-color: #fff;
      padding: 2rem;
      border-radius: 8px;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    h1 {
      text-align: center;
      color: #1877f2;
      margin-bottom: 2rem;
    }

    .input-container {
      display: flex;
      gap: 2rem;
      margin-bottom: 1rem;
    }

    .input-group {
      flex: 1;
      display: flex;
      flex-direction: column;
    }

    textarea {
      width: 100%;
      height: 250px;
      border-radius: 6px;
      border: 1px solid #dddfe2;
      padding: 0.5rem;
      font-size: 1rem;
      resize: vertical;
      box-sizing: border-box;
    }

    label {
      margin-bottom: 0.5rem;
      font-weight: 600;
    }
    
    .list-name-input {
        width: 100%;
        padding: 0.5rem;
        border: 1px solid #dddfe2;
        border-radius: 6px;
        margin-bottom: 1rem;
        box-sizing: border-box;
    }

    .button-group {
        display: flex;
        gap: 1rem;
        margin-top: 1rem;
    }

    button {
      display: block;
      width: 100%;
      padding: 0.75rem;
      background-color: #1877f2;
      color: #fff;
      border: none;
      border-radius: 6px;
      font-size: 1.1rem;
      font-weight: 600;
      cursor: pointer;
      transition: background-color 0.3s;
    }

    button:hover {
      background-color: #166fe5;
    }
    
    button.secondary {
        background-color: #e4e6eb;
        color: #4b4f56;
    }
    
    button.secondary:hover {
        background-color: #d8dade;
    }

    .results-container {
      margin-top: 2rem;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 2rem;
    }

    .result-box {
      background-color: #f0f2f5;
      padding: 1.5rem;
      border-radius: 8px;
      display: flex;
      flex-direction: column;
    }

    .result-box h2 {
      margin-top: 0;
      color: #1877f2;
      border-bottom: 2px solid #1877f2;
      padding-bottom: 0.5rem;
    }
    
    .result-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1rem;
    }

    .result-header-buttons {
        display: flex;
        gap: 0.5rem;
    }

    .result-header-buttons button {
        padding: 0.25rem 0.5rem;
        font-size: 0.8rem;
        width: auto;
    }
    
    .result-content {
        flex-grow: 1;
    }

    .result-box ul {
        padding-left: 0;
        list-style-type: none;
        max-height: 300px;
        overflow-y: auto;
        margin: 0;
    }

    .result-box li {
        padding: 0.25rem 0;
        word-break: break-all;
    }

    #summary {
      text-align: center;
      margin-bottom: 2rem;
      font-size: 1.1rem;
      font-weight: 600;
    }