 * { box-sizing: border-box; }

  body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: #eef4f8;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
  }

  article[data-testid="test-todo-card"] {
    width: 100%;
    max-width: 460px;
    background: #ffffff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  }

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

  [data-testid="test-todo-status"] {
    font-size: 12px;
    font-weight: 600;
    background: #f0f3f6;
    padding: 6px 10px;
    border-radius: 999px;
  }

  .priority {
    font-size: 12px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 999px;
    background: #ffe6e6;
    color: #c0392b;
  }

  h2[data-testid="test-todo-title"] {
    margin: 10px 0;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
  }

  h2.done {
    text-decoration: line-through;
    opacity: 0.6;
  }

  p[data-testid="test-todo-description"] {
    font-size: 14px;
    color: #555;
    margin-bottom: 14px;
  }

  .meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
  }

  .chip {
    background: #f5f7fa;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
  }

  .time-left {
    font-weight: 600;
    color: #e74c3c;
  }

  ul[data-testid="test-todo-tags"] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
  }

  ul li {
    font-size: 12px;
    background: #eaf2ff;
    padding: 5px 10px;
    border-radius: 999px;
  }

  .actions {
    display: flex;
    gap: 10px;
  }

  button {
    flex: 1;
    padding: 10px;
    border-radius: 10px;
    border: none;
    font-weight: 600;
    cursor: pointer;
  }

  button:focus {
    outline: 2px solid #333;
  }

  [data-testid="test-todo-edit-button"] {
    background: #f0f3f6;
  }

  [data-testid="test-todo-delete-button"] {
    background: #ffe6e6;
    color: #c0392b;
  }

  .check-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
  }

  @media (max-width: 480px) {
    article[data-testid="test-todo-card"] {
      padding: 16px;
    }
  }